mojoshader.c
branchtrunk
changeset 149 07c73dfc1475
parent 148 645003ec6623
child 150 eafaa587dbde
--- a/mojoshader.c	Sat Apr 19 03:58:57 2008 -0400
+++ b/mojoshader.c	Sat Apr 19 04:59:27 2008 -0400
@@ -2951,11 +2951,15 @@
             return fail(ctx, "Result shift scale isn't 1 to 3, or 13 to 15.");
     } // if
 
+    // !!! FIXME: these are definitely showing up in valid pixel shaders.
+    // !!! FIXME:  go re-read the spec on this one.
+    #if 0
     if (info->result_mod & MOD_SATURATE)  // Saturate (vertex shaders only)
     {
         if (ctx->shader_type != MOJOSHADER_TYPE_VERTEX)
             return fail(ctx, "Saturate result mod in non-vertex shader");
     } // if
+    #endif
 
     if (info->result_mod & MOD_PP)  // Partial precision (pixel shaders only)
     {