Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/vulkan/
Dradv_nir_lower_ycbcr_textures.c111 nir_tex_instr *old_tex = state->origin_tex; in create_plane_tex_instr_implicit() local
112 nir_tex_instr *tex = nir_tex_instr_create(b->shader, old_tex->num_srcs+ 1); in create_plane_tex_instr_implicit()
113 for (uint32_t i = 0; i < old_tex->num_srcs; i++) { in create_plane_tex_instr_implicit()
114 tex->src[i].src_type = old_tex->src[i].src_type; in create_plane_tex_instr_implicit()
116 switch (old_tex->src[i].src_type) { in create_plane_tex_instr_implicit()
119 assert(old_tex->src[i].src.is_ssa); in create_plane_tex_instr_implicit()
122 old_tex->src[i].src.ssa)); in create_plane_tex_instr_implicit()
127 nir_src_copy(&tex->src[i].src, &old_tex->src[i].src, tex); in create_plane_tex_instr_implicit()
135 tex->sampler_dim = old_tex->sampler_dim; in create_plane_tex_instr_implicit()
136 tex->dest_type = old_tex->dest_type; in create_plane_tex_instr_implicit()
[all …]
/external/mesa3d/src/intel/vulkan/
Danv_nir_lower_ycbcr_textures.c120 nir_tex_instr *old_tex = state->origin_tex; in create_plane_tex_instr_implicit() local
121 nir_tex_instr *tex = nir_tex_instr_create(b->shader, old_tex->num_srcs + 1); in create_plane_tex_instr_implicit()
123 for (uint32_t i = 0; i < old_tex->num_srcs; i++) { in create_plane_tex_instr_implicit()
124 tex->src[i].src_type = old_tex->src[i].src_type; in create_plane_tex_instr_implicit()
126 switch (old_tex->src[i].src_type) { in create_plane_tex_instr_implicit()
129 assert(old_tex->src[i].src.is_ssa); in create_plane_tex_instr_implicit()
132 old_tex->src[i].src.ssa, in create_plane_tex_instr_implicit()
138 nir_src_copy(&tex->src[i].src, &old_tex->src[i].src, tex); in create_plane_tex_instr_implicit()
145 tex->sampler_dim = old_tex->sampler_dim; in create_plane_tex_instr_implicit()
146 tex->dest_type = old_tex->dest_type; in create_plane_tex_instr_implicit()
[all …]
/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.h412 struct vrend_resource *old_tex = *ptr; in vrend_resource_reference() local
415 vrend_renderer_resource_destroy(old_tex); in vrend_resource_reference()
Dvrend_renderer.c7598 GLint old_tex = 0; in vrend_renderer_transfer_write_iov() local
7599 get_current_texture(res->target, &old_tex); in vrend_renderer_transfer_write_iov()
7687 glBindTexture(res->target, old_tex); in vrend_renderer_transfer_write_iov()
7759 GLint old_tex = 0; in vrend_transfer_send_getteximage() local
7760 get_current_texture(res->target, &old_tex); in vrend_transfer_send_getteximage()
7791 glBindTexture(res->target, old_tex); in vrend_transfer_send_getteximage()