Lines Matching defs:key
740 uint64_t key = 0;
743 key |= rt_idx;
746 key |= ((uint64_t) format) << bit_offset;
749 key |= ((uint64_t) samples) << bit_offset;
752 key |= ((uint64_t) components) << bit_offset;
755 key |= (is_layered ? 1ull : 0ull) << bit_offset;
759 return key;
768 uint64_t key = 0;
771 key |= format;
774 key |= ((uint64_t) samples) << bit_offset;
778 key |= ((uint64_t) has_depth) << bit_offset;
782 key |= ((uint64_t) has_stencil) << bit_offset;
785 key |= (is_layered ? 1ull : 0ull) << bit_offset;
789 return key;
816 * provided by the application and include it in the pipeline key setup
823 uint64_t key;
825 key = get_color_clear_pipeline_cache_key(rt_idx, format, samples,
829 _mesa_hash_table_search(device->meta.color_clear.cache, &key);
873 (*pipeline)->key = key;
876 &(*pipeline)->key, *pipeline);
919 const uint64_t key =
923 _mesa_hash_table_search(device->meta.depth_clear.cache, &key);
949 (*pipeline)->key = key;
951 &(*pipeline)->key, *pipeline);