diff options
author | Ilia Mirkin <[email protected]> | 2014-06-06 23:32:29 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-06-06 23:32:29 -0400 |
commit | 4a3a71a183eba60539ca3c556938344bcf180d70 (patch) | |
tree | aa0dca96894e17612a70be59282970e1e3ecf7d9 /src/gallium/drivers/nouveau/codegen | |
parent | 9fef8b3d811000146b989a101ad0e26ae6530fe4 (diff) |
gk110/ir: emit saturate flag on fadd when needed
Signed-off-by: Ilia Mirkin <[email protected]>
Cc: "10.2" <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/codegen')
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp index 6788750dd73..caf42c1f78b 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp @@ -555,6 +555,7 @@ CodeEmitterGK110::emitFADD(const Instruction *i) RND_(2a, F); ABS_(31, 0); NEG_(33, 0); + SAT_(35); if (code[0] & 0x1) { modNegAbsF32_3b(i, 1); |