summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2012-04-29 17:43:46 +0200
committerChristoph Bumiller <[email protected]>2012-04-29 18:03:15 +0200
commitd46f969b84a405dff6bbc647a7addd0902adc1e4 (patch)
tree512e5c147803ae885602a1f9f6c092b11f838731
parent1f4c154f0253ed8fb448402532cfa670f74e69cd (diff)
nvc0/ir/opt: INTERP does not support JOIN
-rw-r--r--src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp b/src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp
index 8613d7f2efd..db5195cd582 100644
--- a/src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp
+++ b/src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp
@@ -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());