Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/nir/
Dnir_lower_tex.c111 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_offset() local
112 assert(coord_index >= 0); in lower_offset()
115 assert(tex->src[coord_index].src.is_ssa); in lower_offset()
117 nir_ssa_def *coord = tex->src[coord_index].src.ssa; in lower_offset()
122 if (nir_tex_instr_src_type(tex, coord_index) == nir_type_float) { in lower_offset()
143 nir_instr_rewrite_src(&tex->instr, &tex->src[coord_index].src, in lower_offset()