Home
last modified time | relevance | path

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

/external/mesa3d/src/freedreno/vulkan/
Dtu_shader.c550 int tex_src_idx = nir_tex_instr_src_index(tex, nir_tex_src_texture_deref); in lower_tex() local
551 if (tex_src_idx >= 0) { in lower_tex()
552 nir_deref_instr *deref = nir_src_as_deref(tex->src[tex_src_idx].src); in lower_tex()
554 nir_instr_rewrite_src(&tex->instr, &tex->src[tex_src_idx].src, in lower_tex()
556 tex->src[tex_src_idx].src_type = nir_tex_src_texture_handle; in lower_tex()
560 tex->src[tex_src_idx].src_type = nir_tex_src_texture_offset; in lower_tex()