From 4a3a71a183eba60539ca3c556938344bcf180d70 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Fri, 6 Jun 2014 23:32:29 -0400 Subject: [PATCH] gk110/ir: emit saturate flag on fadd when needed Signed-off-by: Ilia Mirkin Cc: "10.2" --- src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp | 1 + 1 file changed, 1 insertion(+) 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); -- 2.30.2