aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_gm107.h
blob: 71e5ea6417a33aad8dd717dc80e4f8fa61feedf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#include "codegen/nv50_ir_lowering_nvc0.h"

namespace nv50_ir {

class GM107LoweringPass : public NVC0LoweringPass
{
public:
   GM107LoweringPass(Program *p) : NVC0LoweringPass(p) {}
private:
   virtual bool visit(Instruction *);

   virtual bool handleManualTXD(TexInstruction *);
   bool handleDFDX(Instruction *);
   bool handlePFETCH(Instruction *);
   bool handlePOPCNT(Instruction *);
   bool handleSUQ(TexInstruction *);
};

class GM107LegalizeSSA : public NVC0LegalizeSSA
{
private:
   virtual bool visit(Instruction *);

   void handlePFETCH(Instruction *);
   void handleLOAD(Instruction *);
};

} // namespace nv50_ir