nvc0/ir/opt: INTERP does not support JOIN

This commit is contained in:
Christoph Bumiller 2012-04-29 17:43:46 +02:00
parent 1f4c154f02
commit d46f969b84

View 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());