Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_emittexinstruction.cpp114 bool EmitTexInstruction::emit_cube_txd(nir_tex_instr* instr, TexInputs& tex_src) in emit_cube_txd() argument
130 emit_cube_prep(tex_src.coord, cubed, instr->is_array); in emit_cube_txd()
144 emit_instruction(new AluInstruction(op1_mov, src_elms[3], tex_src.comperator, in emit_cube_txd()
152 …emit_instruction(new AluInstruction(op2_mul_ieee, tex_src.ddx.reg_i(i), {tex_src.ddx.reg_i(i), hal… in emit_cube_txd()
156 …emit_instruction(new AluInstruction(op2_mul_ieee, tex_src.ddy.reg_i(i), {tex_src.ddy.reg_i(i), hal… in emit_cube_txd()
160 auto sampler = get_samplerr_id(instr->sampler_index, tex_src.sampler_deref); in emit_cube_txd()
163 TexInstruction *irgh = new TexInstruction(TexInstruction::set_gradient_h, empty_dst, tex_src.ddx, in emit_cube_txd()
164 … sampler.id, sampler.id + R600_MAX_CONST_BUFFERS, tex_src.sampler_offset); in emit_cube_txd()
167 TexInstruction *irgv = new TexInstruction(TexInstruction::set_gradient_v, empty_dst, tex_src.ddy, in emit_cube_txd()
168 sampler.id, sampler.id + R600_MAX_CONST_BUFFERS, tex_src.sampler_offset); in emit_cube_txd()
[all …]
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi.c1710 int tex_src = nir_tex_instr_src_index(instr, tex_src_type); in ntt_push_tex_arg() local
1711 if (tex_src < 0) in ntt_push_tex_arg()
1714 struct ureg_src src = ntt_get_src(c, instr->src[tex_src].src); in ntt_push_tex_arg()
1715 int num_components = nir_tex_instr_src_size(instr, tex_src); in ntt_push_tex_arg()