Home
last modified time | relevance | path

Searched refs:TexInstruction (Results 1 – 25 of 29) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_lowering_nvc0.h68 void handleTEXLOD(TexInstruction *);
137 bool handleTEX(TexInstruction *);
138 bool handleTXD(TexInstruction *);
139 bool handleTXQ(TexInstruction *);
140 virtual bool handleManualTXD(TexInstruction *);
141 bool handleTXLQ(TexInstruction *);
142 bool handleSUQ(TexInstruction *);
145 void handleSurfaceOpGM107(TexInstruction *);
146 void handleSurfaceOpNVE4(TexInstruction *);
147 void handleSurfaceOpNVC0(TexInstruction *);
[all …]
Dnv50_ir_lowering_gm107.h12 virtual bool handleManualTXD(TexInstruction *);
16 bool handleSUQ(TexInstruction *);
Dnv50_ir_inlines.h274 Value *TexInstruction::getIndirectR() const in getIndirectR()
279 Value *TexInstruction::getIndirectS() const in getIndirectS()
312 TexInstruction *Instruction::asTex() in asTex()
315 return static_cast<TexInstruction *>(this); in asTex()
319 const TexInstruction *Instruction::asTex() const in asTex()
322 return static_cast<const TexInstruction *>(this); in asTex()
Dnv50_ir.cpp700 TexInstruction *tex = asTex(); in moveSources()
907 TexInstruction::TexInstruction(Function *fn, operation op) in TexInstruction() function in nv50_ir::TexInstruction
917 TexInstruction::~TexInstruction() in ~TexInstruction()
928 TexInstruction *
929 TexInstruction::clone(ClonePolicy<Function>& pol, Instruction *i) const in clone()
931 TexInstruction *tex = (i ? static_cast<TexInstruction *>(i) : in clone()
952 const struct TexInstruction::Target::Desc TexInstruction::Target::descTable[] =
974 const struct TexInstruction::ImgFormatDesc TexInstruction::formatTable[] =
1025 const struct TexInstruction::ImgFormatDesc *
1026 TexInstruction::translateImgFormat(enum pipe_format format) in translateImgFormat()
[all …]
Dnv50_ir_emit_gv100.cpp1158 const TexInstruction *insn = this->insn->asTex(); in emitTEX()
1202 const TexInstruction *insn = this->insn->asTex(); in emitTLD()
1230 const TexInstruction *insn = this->insn->asTex(); in emitTLD4()
1267 const TexInstruction *insn = this->insn->asTex(); in emitTMML()
1292 const TexInstruction *insn = this->insn->asTex(); in emitTXD()
1318 const TexInstruction *insn = this->insn->asTex(); in emitTXQ()
1353 const TexInstruction *insn = this->insn->asTex(); in emitSUHandle()
1372 const TexInstruction *insn = this->insn->asTex(); in emitSUTarget()
1399 const TexInstruction *insn = this->insn->asTex(); in emitSUATOM()
1444 const TexInstruction *insn = this->insn->asTex(); in emitSULD()
[all …]
Dnv50_ir_emit_nvc0.cpp67 void emitSUAddr(const TexInstruction *);
68 void emitSUDim(const TexInstruction *);
130 void emitTEX(const TexInstruction *);
131 void emitTEXCSAA(const TexInstruction *);
132 void emitTXQ(const TexInstruction *);
141 void emitSULDGB(const TexInstruction *);
142 void emitSUSTGx(const TexInstruction *);
144 void emitSULDB(const TexInstruction *);
145 void emitSUSTx(const TexInstruction *);
146 void emitSULEA(const TexInstruction *);
[all …]
Dnv50_ir.h543 class TexInstruction; variable
907 inline TexInstruction *asTex();
909 inline const TexInstruction *asTex() const;
980 class TexInstruction : public Instruction
1049 TexInstruction(Function *, operation);
1050 virtual ~TexInstruction();
1052 virtual TexInstruction *clone(ClonePolicy<Function>&,
Dnv50_ir_lowering_nv50.cpp635 bool handleTEX(TexInstruction *);
636 bool handleTXB(TexInstruction *); // I really
637 bool handleTXL(TexInstruction *); // hate
638 bool handleTXD(TexInstruction *); // these 3
639 bool handleTXLQ(TexInstruction *);
640 bool handleTXQ(TexInstruction *);
722 NV50LoweringPreSSA::handleTEX(TexInstruction *i) in handleTEX()
837 NV50LoweringPreSSA::handleTXB(TexInstruction *i) in handleTXB()
903 NV50LoweringPreSSA::handleTXL(TexInstruction *i) in handleTXL()
937 NV50LoweringPreSSA::handleTXD(TexInstruction *i) in handleTXD()
[all …]
Dnv50_ir_lowering_nvc0.cpp173 NVC0LegalizeSSA::handleTEXLOD(TexInstruction *i) in handleTEXLOD()
930 NVC0LoweringPass::handleTEX(TexInstruction *i) in handleTEX()
1184 NVC0LoweringPass::handleManualTXD(TexInstruction *i) in handleManualTXD()
1300 NVC0LoweringPass::handleTXD(TexInstruction *txd) in handleTXD()
1358 NVC0LoweringPass::handleTXQ(TexInstruction *txq) in handleTXQ()
1401 NVC0LoweringPass::handleTXLQ(TexInstruction *i) in handleTXLQ()
1841 NVC0LoweringPass::loadMsAdjInfo32(TexInstruction::Target target, uint32_t index, int slot, Value *i… in loadMsAdjInfo32()
1850 TexInstruction *tex = new_TexInstruction(func, OP_TXQ); in loadMsAdjInfo32()
1879 static inline uint16_t getSuClampSubOp(const TexInstruction *su, int c) in getSuClampSubOp()
1902 NVC0LoweringPass::handleSUQ(TexInstruction *suq) in handleSUQ()
[all …]
Dnv50_ir_lowering_gm107.cpp96 GM107LoweringPass::handleManualTXD(TexInstruction *i) in handleManualTXD()
265 GM107LoweringPass::handleSUQ(TexInstruction *suq) in handleSUQ()
301 TexInstruction *samples = suq; in handleSUQ()
Dnv50_ir_ra.cpp266 void textureMask(TexInstruction *);
271 void texConstraintNV50(TexInstruction *);
272 void texConstraintNVC0(TexInstruction *);
273 void texConstraintNVE0(TexInstruction *);
274 void texConstraintGM107(TexInstruction *);
276 bool isScalarTexGM107(TexInstruction *);
277 void handleScalarTexGM107(TexInstruction *);
2022 RegAlloc::InsertConstraintsPass::textureMask(TexInstruction *tex) in textureMask()
2188 RegAlloc::InsertConstraintsPass::isScalarTexGM107(TexInstruction *tex) in isScalarTexGM107()
2311 RegAlloc::InsertConstraintsPass::handleScalarTexGM107(TexInstruction *tex) in handleScalarTexGM107()
[all …]
Dnv50_ir_emit_gk110.cpp125 void emitTEX(const TexInstruction *);
126 void emitTEXCSAA(const TexInstruction *);
127 void emitTXQ(const TexInstruction *);
142 void emitSULDGB(const TexInstruction *);
143 void emitSUSTGx(const TexInstruction *);
1242 void CodeEmitterGK110::emitTEXCSAA(const TexInstruction *i) in emitTEXCSAA()
1258 isNextIndependentTex(const TexInstruction *i) in isNextIndependentTex()
1268 CodeEmitterGK110::emitTEX(const TexInstruction *i) in emitTEX()
1388 CodeEmitterGK110::emitTXQ(const TexInstruction *i) in emitTXQ()
1731 CodeEmitterGK110::emitSULDGB(const TexInstruction *i) in emitSULDGB()
[all …]
Dnv50_ir_emit_gm107.cpp2802 getTEXSTarget(const TexInstruction *tex) in getTEXSTarget()
2848 getTLDSTarget(const TexInstruction *tex) in getTLDSTarget()
2879 const TexInstruction *insn = this->insn->asTex(); in emitTEX()
2921 const TexInstruction *insn = this->insn->asTex(); in emitTEXS()
2965 const TexInstruction *insn = this->insn->asTex(); in emitTLD()
2990 const TexInstruction *insn = this->insn->asTex(); in emitTLD4()
3020 const TexInstruction *insn = this->insn->asTex(); in emitTXD()
3043 const TexInstruction *insn = this->insn->asTex(); in emitTMML()
3066 const TexInstruction *insn = this->insn->asTex(); in emitTXQ()
3254 const TexInstruction *insn = this->insn->asTex(); in emitSUTarget()
[all …]
Dnv50_ir_from_tgsi.cpp223 nv50_ir::TexInstruction::Target getTexture(const Source *, int s) const;
225 const nv50_ir::TexInstruction::ImgFormatDesc *getImageFormat() const { in getImageFormat()
226 return nv50_ir::TexInstruction::translateImgFormat((enum pipe_format)insn->Memory.Format); in getImageFormat()
1606 nv50_ir::TexInstruction::Target
1670 void setTexRS(TexInstruction *, unsigned int& s, int R, int S);
2204 Converter::setTexRS(TexInstruction *tex, unsigned int& s, int R, int S) in setTexRS()
2238 TexInstruction *tex = new_TexInstruction(func, OP_TXQ); in handleTXQ()
2305 TexInstruction *texi = new_TexInstruction(func, tgsi.getOP()); in handleTEX()
2307 TexInstruction::Target tgt = tgsi.getTexture(code, R); in handleTEX()
2395 TexInstruction *texi = new_TexInstruction(func, tgsi.getOP()); in handleTXF()
[all …]
Dnv50_ir_emit_nv50.cpp121 void emitTEX(const TexInstruction *);
122 void emitTXQ(const TexInstruction *);
123 void emitTEXPREP(const TexInstruction *);
1610 CodeEmitterNV50::emitTEX(const TexInstruction *i) in emitTEX()
1673 CodeEmitterNV50::emitTXQ(const TexInstruction *i) in emitTXQ()
1692 CodeEmitterNV50::emitTEXPREP(const TexInstruction *i) in emitTEXPREP()
Dnv50_ir_build_util.cpp244 TexInstruction *
250 TexInstruction *tex = new_TexInstruction(func, op); in mkTex()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_emittexinstruction.cpp123 auto tex_op = TexInstruction::sample_g; in emit_cube_txd()
146 tex_op = TexInstruction::sample_c_g; in emit_cube_txd()
163 TexInstruction *irgh = new TexInstruction(TexInstruction::set_gradient_h, empty_dst, tex_src.ddx, in emit_cube_txd()
167 TexInstruction *irgv = new TexInstruction(TexInstruction::set_gradient_v, empty_dst, tex_src.ddy, in emit_cube_txd()
173 TexInstruction *ir = new TexInstruction(tex_op, dst, src, instr->sampler_index, in emit_cube_txd()
223 auto tir = new TexInstruction(TexInstruction::sample_l, dst, src, in emit_cube_txl()
228 tir->set_flag(TexInstruction::z_unnormalized); in emit_cube_txl()
236 auto tex_op = TexInstruction::get_tex_lod; in emit_cube_lod()
249 auto irt = new TexInstruction(tex_op, dst, cubed, sampler.id, in emit_cube_lod()
286 auto tex_op = TexInstruction::sample_lb; in emit_cube_txb()
[all …]
Dsfn_shader_fragment.cpp470 auto tex = new TexInstruction(TexInstruction::get_gradient_h, grad, src, 0, 0, PValue()); in emit_interp_deref_at_sample()
471 tex->set_flag(TexInstruction::grad_fine); in emit_interp_deref_at_sample()
472 tex->set_flag(TexInstruction::x_unnormalized); in emit_interp_deref_at_sample()
473 tex->set_flag(TexInstruction::y_unnormalized); in emit_interp_deref_at_sample()
474 tex->set_flag(TexInstruction::z_unnormalized); in emit_interp_deref_at_sample()
475 tex->set_flag(TexInstruction::w_unnormalized); in emit_interp_deref_at_sample()
479 tex = new TexInstruction(TexInstruction::get_gradient_v, grad, src, 0, 0, PValue()); in emit_interp_deref_at_sample()
480 tex->set_flag(TexInstruction::x_unnormalized); in emit_interp_deref_at_sample()
481 tex->set_flag(TexInstruction::y_unnormalized); in emit_interp_deref_at_sample()
482 tex->set_flag(TexInstruction::z_unnormalized); in emit_interp_deref_at_sample()
[all …]
Dsfn_instruction_tex.cpp33 TexInstruction::TexInstruction(Opcode op, const GPRVector &dest, const GPRVector &src, in TexInstruction() function in r600::TexInstruction
54 void TexInstruction::set_gather_comp(int cmp) in set_gather_comp()
59 void TexInstruction::replace_values(const ValueSet& candiates, PValue new_value) in replace_values()
70 void TexInstruction::set_offset(unsigned index, int32_t val) in set_offset()
76 int TexInstruction::get_offset(unsigned index) const in get_offset()
82 bool TexInstruction::is_equal_to(const Instruction& rhs) const in is_equal_to()
85 const auto& r = static_cast<const TexInstruction&>(rhs); in is_equal_to()
93 void TexInstruction::do_print(std::ostream& os) const in do_print()
105 const char *TexInstruction::opname(Opcode op) in opname()
Dsfn_emittexinstruction.h85 void set_rect_coordinate_flags(nir_tex_instr* instr, TexInstruction* ir) const;
92 void set_offsets(TexInstruction* ir, nir_src *offset);
93 void handle_array_index(const nir_tex_instr& instr, const GPRVector &src, TexInstruction* ir);
Dsfn_instruction_tex.h34 class TexInstruction : public Instruction {
75 TexInstruction(Opcode op, const GPRVector& dest, const GPRVector& src, unsigned sid,
Dsfn_ir_to_assembly.cpp53 bool emit_tex(const TexInstruction & tex_instr);
169 return emit_tex(static_cast<const TexInstruction&>(*i)); in emit()
645 bool AssemblyFromShaderLegacyImpl::emit_tex(const TexInstruction & tex_instr) in emit_tex()
696 tex.coord_type_x = !tex_instr.has_flag(TexInstruction::x_unnormalized); in emit_tex()
697 tex.coord_type_y = !tex_instr.has_flag(TexInstruction::y_unnormalized); in emit_tex()
698 tex.coord_type_z = !tex_instr.has_flag(TexInstruction::z_unnormalized); in emit_tex()
699 tex.coord_type_w = !tex_instr.has_flag(TexInstruction::w_unnormalized); in emit_tex()
706 if (tex_instr.opcode() == TexInstruction::get_gradient_h || in emit_tex()
707 tex_instr.opcode() == TexInstruction::get_gradient_v) in emit_tex()
708 tex.inst_mod = tex_instr.has_flag(TexInstruction::grad_fine) ? 1 : 0; in emit_tex()
Dsfn_emitaluinstruction.h95 bool emit_tex_fdd(const nir_alu_instr& instr, TexInstruction::Opcode op, bool fine);
Dsfn_emitaluinstruction.cpp189 case nir_op_fddx_fine: return emit_tex_fdd(instr, TexInstruction::get_gradient_h, true); in do_emit()
191 case nir_op_fddx: return emit_tex_fdd(instr, TexInstruction::get_gradient_h, false); in do_emit()
193 case nir_op_fddy_fine: return emit_tex_fdd(instr, TexInstruction::get_gradient_v, true); in do_emit()
195 case nir_op_fddy: return emit_tex_fdd(instr,TexInstruction::get_gradient_v, false); in do_emit()
1275 bool EmitAluInstruction::emit_tex_fdd(const nir_alu_instr& instr, TexInstruction::Opcode op, in emit_tex_fdd()
1307 auto tex = new TexInstruction(op, dst, src, 0, R600_MAX_CONST_BUFFERS, PValue()); in emit_tex_fdd()
1312 tex->set_flag(TexInstruction::grad_fine); in emit_tex_fdd()
Dsfn_emitssboinstruction.cpp596 emit_instruction(new TexInstruction(TexInstruction::get_resinfo, dest, src, in emit_image_size()

12