nvc0/ir: fix up an assertion in emitUADD()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sat, 23 Jul 2016 01:08:34 +0000 (03:08 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sat, 23 Jul 2016 22:42:47 +0000 (00:42 +0200)
commit3a2e67bf781d88253d81b20de72ce22acf75916d
treead0fdbff798f596c0e732e04e8fa6210d2184757
parenta159a3d5cb0afc7f8a160c62fa82cd906a309930
nvc0/ir: fix up an assertion in emitUADD()

It's illegal to have neg modifiers on both sources for OP_ADD,
and it's illegal to have OP_SUB with just src0 neg.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp