nvc0/ir: TEX doesn't support JOIN modifier either
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Mon, 28 May 2012 20:38:10 +0000 (22:38 +0200)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Tue, 29 May 2012 13:01:41 +0000 (15:01 +0200)
src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp

index 10382d9..cfbe3ec 100644 (file)
@@ -1936,6 +1936,7 @@ FlatteningPass::visit(BasicBlock *bb)
       if (insn && !insn->getPredicate() &&
           !insn->asFlow() &&
           insn->op != OP_TEXBAR &&
+          !isTextureOp(insn->op) && // probably just nve4
           insn->op != OP_LINTERP && // probably just nve4
           insn->op != OP_PINTERP && // probably just nve4
           !insn->isNop()) {