Searched refs:sampler_src_idx (Results 1 – 1 of 1) sorted by relevance
541 int sampler_src_idx = nir_tex_instr_src_index(tex, nir_tex_src_sampler_deref); in lower_tex() local542 if (sampler_src_idx >= 0) { in lower_tex()543 nir_deref_instr *deref = nir_src_as_deref(tex->src[sampler_src_idx].src); in lower_tex()545 nir_instr_rewrite_src(&tex->instr, &tex->src[sampler_src_idx].src, in lower_tex()547 tex->src[sampler_src_idx].src_type = nir_tex_src_sampler_handle; in lower_tex()