Mesa (master): nvc0/ir/opt: INTERP does not support JOIN

Christoph Bumiller chrisbmr at kemper.freedesktop.org
Sun Apr 29 16:06:52 UTC 2012


Module: Mesa
Branch: master
Commit: d46f969b84a405dff6bbc647a7addd0902adc1e4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d46f969b84a405dff6bbc647a7addd0902adc1e4

Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sun Apr 29 17:43:46 2012 +0200

nvc0/ir/opt: INTERP does not support JOIN

---

 .../drivers/nv50/codegen/nv50_ir_peephole.cpp      |    2 ++
 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 8613d7f..db5195c 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());




More information about the mesa-commit mailing list