Lines Matching refs:src_idx
85 unsigned src_idx, in handle_tex_src() argument
97 switch (instr->src[src_idx].src_type) { in handle_tex_src()
100 s = ntq_get_src(c, instr->src[src_idx].src, 0); in handle_tex_src()
108 ntq_get_src(c, instr->src[src_idx].src, 1); in handle_tex_src()
115 ntq_get_src(c, instr->src[src_idx].src, 2); in handle_tex_src()
122 ntq_get_src(c, instr->src[src_idx].src, in handle_tex_src()
130 struct qreg src = ntq_get_src(c, instr->src[src_idx].src, 0); in handle_tex_src()
136 struct qreg src = ntq_get_src(c, instr->src[src_idx].src, 0); in handle_tex_src()
154 struct qreg src = ntq_get_src(c, instr->src[src_idx].src, 0); in handle_tex_src()
160 bool is_const_offset = nir_src_is_const(instr->src[src_idx].src); in handle_tex_src()
164 nir_src_comp_as_int(instr->src[src_idx].src, 0); in handle_tex_src()
167 nir_src_comp_as_int(instr->src[src_idx].src, 1); in handle_tex_src()
170 nir_src_comp_as_int(instr->src[src_idx].src, 2); in handle_tex_src()
174 ntq_get_src(c, instr->src[src_idx].src, 0); in handle_tex_src()
176 ntq_get_src(c, instr->src[src_idx].src, 1); in handle_tex_src()