bool handlePOW(Instruction *);
bool handleTEX(TexInstruction *);
bool handleTXD(TexInstruction *);
+ bool handleTXQ(TexInstruction *);
bool handleManualTXD(TexInstruction *);
void checkPredicate(Instruction *);
return true;
}
+bool
+NVC0LoweringPass::handleTXQ(TexInstruction *txq)
+{
+ // TODO: indirect resource/sampler index
+ return true;
+}
+
bool
NVC0LoweringPass::handleWRSV(Instruction *i)
{
case OP_TXB:
case OP_TXL:
case OP_TXF:
- case OP_TXQ:
case OP_TXG:
return handleTEX(i->asTex());
case OP_TXD:
return handleTXD(i->asTex());
+ case OP_TXQ:
+ return handleTXQ(i->asTex());
case OP_EX2:
bld.mkOp1(OP_PREEX2, TYPE_F32, i->getDef(0), i->getSrc(0));
i->setSrc(0, i->getDef(0));