gk110/ir: emit saturate flag on fadd when needed
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 7 Jun 2014 03:32:29 +0000 (23:32 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 7 Jun 2014 03:32:29 +0000 (23:32 -0400)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.2" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp

index 6788750dd73f42207008eb4ea390bfd3eb18c831..caf42c1f78b9e3cc1e51d79b1237f1e007a09776 100644 (file)
@@ -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);