[Mesa-dev] [PATCH] nvc0/ir: remove wrong assert in emitUADD()
Samuel Pitoiset
samuel.pitoiset at gmail.com
Fri Jul 22 23:47:49 UTC 2016
It's actually legal to have neg modifiers on both sources.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp
index 1c3e519..2eb5851 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp
@@ -698,7 +698,6 @@ CodeEmitterNVC0::emitUADD(const Instruction *i)
uint32_t addOp = 0;
assert(!i->src(0).mod.abs() && !i->src(1).mod.abs());
- assert(!i->src(0).mod.neg() || !i->src(1).mod.neg());
if (i->src(0).mod.neg())
addOp |= 0x200;
--
2.8.0
More information about the mesa-dev
mailing list