diff options
author | Samuel Pitoiset <[email protected]> | 2016-07-19 14:47:56 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2016-07-19 18:07:10 +0200 |
commit | 0904a2ba9717e5706f8869dc9244e2c742fadd12 (patch) | |
tree | e4a864a4be9da6967b1da63d8e29e39d9d1550e5 /src/gallium/drivers/nouveau | |
parent | c482decd4d81651c30fffa9cdf159b1b38cdd1d6 (diff) |
gm107/ir: add missing NEG modifier for IADD32I
Like FADD32I, the NEG modifier of src0 is at position 56.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Cc: [email protected]
Diffstat (limited to 'src/gallium/drivers/nouveau')
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp index f1ba27a1927..5ae189873ad 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp @@ -1707,6 +1707,7 @@ CodeEmitterGM107::emitIADD() emitX (0x2b); } else { emitInsn(0x1c000000); + emitNEG (0x38, insn->src(0)); emitSAT (0x36); emitX (0x35); emitCC (0x34); |