Searched refs:old_tex (Results 1 – 4 of 4) sorted by relevance
111 nir_tex_instr *old_tex = state->origin_tex; in create_plane_tex_instr_implicit() local112 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 …]
120 nir_tex_instr *old_tex = state->origin_tex; in create_plane_tex_instr_implicit() local121 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 …]
136 struct pipe_resource *old_tex = *ptr; in pipe_resource_reference() local140 old_tex->screen->resource_destroy(old_tex->screen, old_tex); in pipe_resource_reference()
349 struct vrend_resource *old_tex = *ptr; in vrend_resource_reference() local352 vrend_renderer_resource_destroy(old_tex, true); in vrend_resource_reference()