i965: Note when we drop saturate mode on the floor in a VP.
authorEric Anholt <eric@anholt.net>
Wed, 7 Jan 2009 20:38:34 +0000 (12:38 -0800)
committerAlan Hourihane <alanh@vmware.com>
Fri, 9 Jan 2009 11:16:37 +0000 (11:16 +0000)
src/mesa/drivers/dri/i965/brw_vs_emit.c

index 2730162968484ae6ba64de9858e1c7c1a7adfbf4..2084480e8987200b3b3d32c33c87b27dc1a552a4 100644 (file)
@@ -1064,6 +1064,11 @@ void brw_vs_emit(struct brw_vs_compile *c )
       else
          dst = get_dst(c, inst->DstReg);
 
+      if (inst->SaturateMode != SATURATE_OFF) {
+        _mesa_problem(NULL, "Unsupported saturate %d in vertex shader",
+                       inst->SaturateMode);
+      }
+
       switch (inst->Opcode) {
       case OPCODE_ABS:
         brw_MOV(p, dst, brw_abs(args[0]));