nvc0/ir: fix emission of IMAD with NEG modifiers
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 26 Oct 2016 21:10:53 +0000 (23:10 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 27 Oct 2016 17:29:56 +0000 (19:29 +0200)
commit84e946380b2d5ddc62a107b667be39abf1932704
tree5d4abbc9340155a6a84f40d113d989a00456b90f
parent5d83820a1d4f6b2390520d2335848d351db13fd7
nvc0/ir: fix emission of IMAD with NEG modifiers

The emitter tried to emit sub instead of subr when src0 has
actually a NEG modifier.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "11.0 12.0 13.0" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp