Searched refs:coord_index (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_instruction_tex.cpp | 147 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_coord_shift_normalized() local 150 tex->src[coord_index].src.ssa); in lower_coord_shift_normalized() 151 nir_instr_rewrite_src(&tex->instr, &tex->src[coord_index].src, in lower_coord_shift_normalized() 159 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_coord_shift_unnormalized() local 160 nir_ssa_def *corr = nir_fadd(&b, tex->src[coord_index].src.ssa, in lower_coord_shift_unnormalized() 162 nir_instr_rewrite_src(&tex->instr, &tex->src[coord_index].src, in lower_coord_shift_unnormalized()
|
/external/mesa3d/src/broadcom/compiler/ |
D | v3d_nir_lower_txf_ms.c | 44 int coord_index = nir_tex_instr_src_index(instr, nir_tex_src_coord); in v3d_nir_lower_txf_ms_instr() local 46 nir_ssa_def *coord = instr->src[coord_index].src.ssa; in v3d_nir_lower_txf_ms_instr()
|
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_tex.c | 140 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_offset() local 141 assert(coord_index >= 0); in lower_offset() 144 assert(tex->src[coord_index].src.is_ssa); in lower_offset() 146 nir_ssa_def *coord = tex->src[coord_index].src.ssa; in lower_offset() 151 if (nir_tex_instr_src_type(tex, coord_index) == nir_type_float) { in lower_offset() 181 nir_instr_rewrite_src(&tex->instr, &tex->src[coord_index].src, in lower_offset()
|