Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_lower_vulkan_resource.c108 int deref_src_idx = nir_tex_instr_src_index(tex, deref_src_type); in lower_vri_instr_tex_deref() local
110 if (deref_src_idx < 0) in lower_vri_instr_tex_deref()
113 nir_deref_instr *deref_instr = nir_src_as_deref(tex->src[deref_src_idx].src); in lower_vri_instr_tex_deref()
119 nir_tex_instr_remove_src(tex, deref_src_idx); in lower_vri_instr_tex_deref()
/external/mesa3d/src/intel/vulkan/
Danv_nir_apply_pipeline_layout.c93 int deref_src_idx = nir_tex_instr_src_index(tex, deref_src_type); in add_tex_src_binding() local
94 if (deref_src_idx < 0) in add_tex_src_binding()
97 add_deref_src_binding(state, tex->src[deref_src_idx].src); in add_tex_src_binding()
870 int deref_src_idx = nir_tex_instr_src_index(tex, deref_src_type); in lower_tex_deref() local
871 if (deref_src_idx < 0) in lower_tex_deref()
874 nir_deref_instr *deref = nir_src_as_deref(tex->src[deref_src_idx].src); in lower_tex_deref()
957 nir_instr_rewrite_src(&tex->instr, &tex->src[deref_src_idx].src, in lower_tex_deref()
959 tex->src[deref_src_idx].src_type = offset_src_type; in lower_tex_deref()
961 nir_tex_instr_remove_src(tex, deref_src_idx); in lower_tex_deref()
1004 int deref_src_idx = nir_tex_instr_src_index(tex, nir_tex_src_texture_deref); in lower_gen7_tex_swizzle() local
[all …]
Danv_nir_lower_ycbcr_textures.c206 int deref_src_idx = nir_tex_instr_src_index(tex, nir_tex_src_texture_deref); in try_lower_tex_ycbcr() local
207 assert(deref_src_idx >= 0); in try_lower_tex_ycbcr()
208 nir_deref_instr *deref = nir_src_as_deref(tex->src[deref_src_idx].src); in try_lower_tex_ycbcr()
/external/mesa3d/src/amd/vulkan/
Dradv_nir_lower_ycbcr_textures.c231 int deref_src_idx = nir_tex_instr_src_index(tex, nir_tex_src_texture_deref); in try_lower_tex_ycbcr() local
232 assert(deref_src_idx >= 0); in try_lower_tex_ycbcr()
233 nir_deref_instr *deref = nir_src_as_deref(tex->src[deref_src_idx].src); in try_lower_tex_ycbcr()
/external/mesa3d/src/freedreno/vulkan/
Dtu_shader.c483 int deref_src_idx = nir_tex_instr_src_index(tex, nir_tex_src_texture_deref); in lower_tex_ycbcr() local
484 assert(deref_src_idx >= 0); in lower_tex_ycbcr()
485 nir_deref_instr *deref = nir_src_as_deref(tex->src[deref_src_idx].src); in lower_tex_ycbcr()