Home
last modified time | relevance | path

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

/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_vX_nir_lower_descriptors.c442 int tex_src_idx = nir_tex_instr_src_index(tex, nir_tex_src_texture_deref); in lower_tex() local
443 assert(tex_src_idx >= 0); in lower_tex()
444 nir_deref_instr *deref = nir_src_as_deref(tex->src[tex_src_idx].src); in lower_tex()
494 int tex_src_idx = nir_tex_instr_src_index(tex, nir_tex_src_texture_deref); in lower_tex() local
495 if (tex_src_idx >= 0) { in lower_tex()
496 nir_deref_instr *deref = nir_src_as_deref(tex->src[tex_src_idx].src); in lower_tex()
497 nir_tex_instr_remove_src(tex, tex_src_idx); in lower_tex()
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_shader.c544 int tex_src_idx = nir_tex_instr_src_index(tex, nir_tex_src_texture_deref); in lower_tex() local
545 if (tex_src_idx >= 0) { in lower_tex()
546 nir_deref_instr *deref = nir_src_as_deref(tex->src[tex_src_idx].src); in lower_tex()
548 nir_instr_rewrite_src(&tex->instr, &tex->src[tex_src_idx].src, in lower_tex()
550 tex->src[tex_src_idx].src_type = nir_tex_src_texture_handle; in lower_tex()
554 tex->src[tex_src_idx].src_type = nir_tex_src_texture_offset; in lower_tex()

Completed in 3 milliseconds