Home
last modified time | relevance | path

Searched refs:hash_key (Results 1 – 11 of 11) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_cache.c82 unsigned hash_key; in create_key() local
86 hash_key = cso_construct_key(key, size); in create_key()
87 return hash_key; in create_key()
93 unsigned hash_key = create_key(key); in translate_cache_find() local
96 hash_key, in translate_cache_find()
102 cso_hash_insert(&cache->hash, hash_key, translate); in translate_cache_find()
/third_party/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_cache.c107 unsigned hash_key, enum cso_cache_type type, in cso_insert_state() argument
113 return cso_hash_insert(hash, hash_key, state); in cso_insert_state()
118 unsigned hash_key, enum cso_cache_type type) in cso_find_state() argument
122 return cso_hash_find(hash, hash_key); in cso_find_state()
127 unsigned hash_key, in cso_hash_find_data_from_template() argument
131 struct cso_hash_iter iter = cso_hash_find(hash, hash_key); in cso_hash_find_data_from_template()
146 unsigned hash_key, enum cso_cache_type type, in cso_find_state_template() argument
149 struct cso_hash_iter iter = cso_find_state(sc, hash_key, type); in cso_find_state_template()
Dcso_cache.h136 unsigned hash_key; member
160 unsigned hash_key, enum cso_cache_type type,
163 unsigned hash_key, enum cso_cache_type type);
165 unsigned hash_key, enum cso_cache_type type,
Dcso_context.c195 if (sampler && cso_hash_take(hash, sampler->hash_key)) in sanitize_hash()
222 cso_hash_insert(hash, sampler->hash_key, sampler); in sanitize_hash()
441 unsigned key_size, hash_key; in cso_set_blend() local
448 hash_key = cso_construct_key((void*)templ, key_size); in cso_set_blend()
449 iter = cso_find_state_template(&ctx->cache, hash_key, CSO_BLEND, in cso_set_blend()
461 iter = cso_insert_state(&ctx->cache, hash_key, CSO_BLEND, cso); in cso_set_blend()
504 unsigned hash_key = cso_construct_key((void*)templ, key_size); in cso_set_depth_stencil_alpha() local
506 hash_key, in cso_set_depth_stencil_alpha()
521 iter = cso_insert_state(&ctx->cache, hash_key, in cso_set_depth_stencil_alpha()
566 unsigned hash_key = cso_construct_key((void*)templ, key_size); in cso_set_rasterizer() local
[all …]
Dcso_hash.h120 unsigned hash_key,
/third_party/mesa3d/src/mesa/program/
Dprog_cache.c60 hash_key(const void *key, GLuint key_size) in hash_key() function
185 const GLuint hash = hash_key(key, keysize); in _mesa_search_program_cache()
209 const GLuint hash = hash_key(key, keysize); in _mesa_program_cache_insert()
238 const GLuint hash = hash_key(key, keysize); in _mesa_shader_cache_insert()
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_nir.h151 const uint32_t hash_key; member
Ddzn_meta.c482 _mesa_hash_table_search(meta->fs, (void *)(uintptr_t)info->hash_key); in dzn_meta_blits_get_fs()
507 _mesa_hash_table_insert(meta->fs, &info->hash_key, out); in dzn_meta_blits_get_fs()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_pbo_compute.c817 uint32_t hash_key = compute_shader_key(view_target, num_components); in download_texture_compute() local
818 assert(hash_key != 0); in download_texture_compute()
820 struct hash_entry *he = _mesa_hash_table_search(st->pbo.shaders, (void*)(uintptr_t)hash_key); in download_texture_compute()
824 he = _mesa_hash_table_insert(st->pbo.shaders, (void*)(uintptr_t)hash_key, cs); in download_texture_compute()
/third_party/mesa3d/src/util/
Dhash_table.c908 struct hash_key *_key = (struct hash_key *)entry->key; in _mesa_hash_table_u64_remove()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_vbuf.c389 unsigned key_size, hash_key; in u_vbuf_set_vertex_elements_internal() local
396 hash_key = cso_construct_key((void*)velems, key_size); in u_vbuf_set_vertex_elements_internal()
397 iter = cso_find_state_template(&mgr->cso_cache, hash_key, CSO_VELEMENTS, in u_vbuf_set_vertex_elements_internal()
406 iter = cso_insert_state(&mgr->cso_cache, hash_key, CSO_VELEMENTS, cso); in u_vbuf_set_vertex_elements_internal()