OSDN Git Service

nvc0/ir/opt: INTERP does not support JOIN
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sun, 29 Apr 2012 15:43:46 +0000 (17:43 +0200)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sun, 29 Apr 2012 16:03:15 +0000 (18:03 +0200)
src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp

index 8613d7f..db5195c 100644 (file)
@@ -1935,6 +1935,8 @@ FlatteningPass::visit(BasicBlock *bb)
       if (insn && !insn->getPredicate() &&
           !insn->asFlow() &&
           insn->op != OP_TEXBAR &&
+          insn->op != OP_LINTERP && // probably just nve4
+          insn->op != OP_PINTERP && // probably just nve4
           !insn->isNop()) {
          insn->join = 1;
          bb->remove(bb->getExit());