Home
last modified time | relevance | path

Searched refs:tex_cache (Results 1 – 7 of 7) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_context.c89 for (sh = 0; sh < ARRAY_SIZE(softpipe->tex_cache); sh++) { in softpipe_destroy()
90 for (i = 0; i < ARRAY_SIZE(softpipe->tex_cache[0]); i++) { in softpipe_destroy()
91 sp_destroy_tex_tile_cache(softpipe->tex_cache[sh][i]); in softpipe_destroy()
154 for (sh = 0; sh < ARRAY_SIZE(softpipe->tex_cache); sh++) { in softpipe_is_resource_referenced()
155 for (i = 0; i < ARRAY_SIZE(softpipe->tex_cache[0]); i++) { in softpipe_is_resource_referenced()
156 if (softpipe->tex_cache[sh][i] && in softpipe_is_resource_referenced()
157 softpipe->tex_cache[sh][i]->texture == texture) in softpipe_is_resource_referenced()
255 for (sh = 0; sh < ARRAY_SIZE(softpipe->tex_cache); sh++) { in softpipe_create_context()
256 for (i = 0; i < ARRAY_SIZE(softpipe->tex_cache[0]); i++) { in softpipe_create_context()
257 softpipe->tex_cache[sh][i] = sp_create_tex_tile_cache(&softpipe->pipe); in softpipe_create_context()
[all …]
Dsp_flush.c59 for (sh = 0; sh < ARRAY_SIZE(softpipe->tex_cache); sh++) { in softpipe_flush()
61 sp_flush_tex_tile_cache(softpipe->tex_cache[sh][i]); in softpipe_flush()
177 for (sh = 0; sh < ARRAY_SIZE(softpipe->tex_cache); sh++) { in softpipe_texture_barrier()
179 sp_flush_tex_tile_cache(softpipe->tex_cache[sh][i]); in softpipe_texture_barrier()
Dsp_state_sampler.c128 sp_tex_tile_cache_set_sampler_view(softpipe->tex_cache[shader][start + i], in softpipe_set_sampler_views()
139 sp_sviewdst->cache = softpipe->tex_cache[shader][start + i]; in softpipe_set_sampler_views()
148 sp_tex_tile_cache_set_sampler_view(softpipe->tex_cache[shader][start + i], in softpipe_set_sampler_views()
Dsp_state_derived.c315 for (sh = 0; sh < ARRAY_SIZE(softpipe->tex_cache); sh++) { in update_tgsi_samplers()
317 struct softpipe_tex_tile_cache *tc = softpipe->tex_cache[sh][i]; in update_tgsi_samplers()
Dsp_context.h190 struct softpipe_tex_tile_cache *tex_cache[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_SAMPLER_VIEWS]; member
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_texture.c44 _mesa_hash_table_remove(fd6_ctx->tex_cache, entry); in remove_tex_entry()
142 hash_table_foreach (fd6_ctx->tex_cache, entry) { in fd6_sampler_state_delete()
296 hash_table_foreach (fd6_ctx->tex_cache, entry) { in fd6_sampler_view_destroy()
374 _mesa_hash_table_search_pre_hashed(fd6_ctx->tex_cache, hash, &key); in fd6_texture_state()
394 _mesa_hash_table_insert_pre_hashed(fd6_ctx->tex_cache, hash, &state->key, in fd6_texture_state()
425 hash_table_foreach (fd6_ctx->tex_cache, entry) { in fd6_rebind_resource()
453 fd6_ctx->tex_cache = _mesa_hash_table_create(NULL, key_hash, key_equals); in fd6_texture_init()
464 hash_table_foreach (fd6_ctx->tex_cache, entry) { in fd6_texture_fini()
470 ralloc_free(fd6_ctx->tex_cache); in fd6_texture_fini()
Dfd6_context.h89 struct hash_table *tex_cache; member