Mesa (master): nvc0/ir: TEX doesn't support JOIN modifier either

Christoph Bumiller chrisbmr at kemper.freedesktop.org
Tue May 29 15:02:07 UTC 2012


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

Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Mon May 28 22:38:10 2012 +0200

nvc0/ir: TEX doesn't support JOIN modifier either

---

 .../drivers/nv50/codegen/nv50_ir_peephole.cpp      |    1 +
 1 files changed, 1 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 10382d9..cfbe3ec 100644
--- a/src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp
+++ b/src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp
@@ -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()) {




More information about the mesa-commit mailing list