Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_emittexinstruction.cpp292 GPRVector tex_src(src.coord, in_swizzle); in emit_tex_txb() local
298 auto irt = new TexInstruction(tex_op, dst, tex_src, sampler.id, in emit_tex_txb()
301 handle_array_index(*instr, tex_src, irt); in emit_tex_txb()
310 bool EmitTexInstruction::emit_tex_txs(nir_tex_instr* instr, TexInputs& tex_src, in emit_tex_txs() argument
328 src_elms[i] = tex_src.lod; in emit_tex_txs()
331 auto sampler = get_sampler_id(instr->sampler_index, tex_src.sampler_deref); in emit_tex_txs()
336 sampler.id + R600_MAX_CONST_BUFFERS, tex_src.sampler_offset); in emit_tex_txs()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi.c2085 int tex_src = nir_tex_instr_src_index(instr, tex_src_type); in ntt_push_tex_arg() local
2086 if (tex_src < 0) in ntt_push_tex_arg()
2089 s->srcs[s->i++] = ntt_get_src(c, instr->src[tex_src].src); in ntt_push_tex_arg()
2809 int tex_src = nir_tex_instr_src_index(instr, tex_src_type); in nir_to_tgsi_lower_tex_instr_arg() local
2810 if (tex_src < 0) in nir_to_tgsi_lower_tex_instr_arg()
2813 assert(instr->src[tex_src].src.is_ssa); in nir_to_tgsi_lower_tex_instr_arg()
2815 nir_ssa_def *def = instr->src[tex_src].src.ssa; in nir_to_tgsi_lower_tex_instr_arg()
2820 nir_tex_instr_remove_src(instr, tex_src); in nir_to_tgsi_lower_tex_instr_arg()