Home
last modified time | relevance | path

Searched refs:old_tex (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/intel/vulkan/
Danv_nir_lower_ycbcr_textures.c234 nir_tex_instr *old_tex = state->origin_tex; in create_plane_tex_instr_implicit() local
235 nir_tex_instr *tex = nir_tex_instr_create(b->shader, old_tex->num_srcs + 1); in create_plane_tex_instr_implicit()
237 for (uint32_t i = 0; i < old_tex->num_srcs; i++) { in create_plane_tex_instr_implicit()
238 tex->src[i].src_type = old_tex->src[i].src_type; in create_plane_tex_instr_implicit()
240 switch (old_tex->src[i].src_type) { in create_plane_tex_instr_implicit()
243 assert(old_tex->src[i].src.is_ssa); in create_plane_tex_instr_implicit()
246 old_tex->src[i].src.ssa, in create_plane_tex_instr_implicit()
252 nir_src_copy(&tex->src[i].src, &old_tex->src[i].src, tex); in create_plane_tex_instr_implicit()
259 tex->sampler_dim = old_tex->sampler_dim; in create_plane_tex_instr_implicit()
260 tex->dest_type = old_tex->dest_type; in create_plane_tex_instr_implicit()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_inlines.h136 struct pipe_resource *old_tex = *ptr; in pipe_resource_reference() local
142 struct pipe_resource *next = old_tex->next; in pipe_resource_reference()
144 old_tex->screen->resource_destroy(old_tex->screen, old_tex); in pipe_resource_reference()
145 old_tex = next; in pipe_resource_reference()
146 } while (pipe_reference_described(&old_tex->reference, NULL, in pipe_resource_reference()
/external/virglrenderer/src/gallium/auxiliary/util/
Du_inlines.h136 struct pipe_resource *old_tex = *ptr; in pipe_resource_reference() local
140 old_tex->screen->resource_destroy(old_tex->screen, old_tex); in pipe_resource_reference()
/external/virglrenderer/src/
Dvrend_renderer.h349 struct vrend_resource *old_tex = *ptr; in vrend_resource_reference() local
352 vrend_renderer_resource_destroy(old_tex, true); in vrend_resource_reference()