Make test visible
authorKeith Whitwell <keith@tungstengraphics.com>
Fri, 21 Oct 2005 10:07:52 +0000 (10:07 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Fri, 21 Oct 2005 10:07:52 +0000 (10:07 +0000)
progs/fp/tri-rcp.c

index 41a0033566f28f517a639bf5dd9d5798628dbd35..1698f37f3654563457ecefff9741f91f7c3d3acc 100644 (file)
@@ -40,7 +40,8 @@ static void Init( void )
    static const char *modulate2D =
       "!!ARBfp1.0\n"
       "TEMP R0;\n"
-      "RCP result.color, fragment.color.x; \n"
+      "ADD R0, fragment.color.x, fragment.color.x; \n"
+      "RCP result.color, R0.x; \n"
       "END"
       ;
    GLuint modulateProg;