summaryrefslogtreecommitdiffstats
path: root/progs/fp
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2005-10-21 10:07:52 +0000
committerKeith Whitwell <[email protected]>2005-10-21 10:07:52 +0000
commit2ea6b800c0371a75ef4f6d22c7a83110c2eeaa43 (patch)
tree77d820c10e6cecc061adf4e9ac1d96210b6a238b /progs/fp
parent8975cbb36b972f10f2360ad2957d1973f6fd9110 (diff)
Make test visible
Diffstat (limited to 'progs/fp')
-rw-r--r--progs/fp/tri-rcp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/fp/tri-rcp.c b/progs/fp/tri-rcp.c
index 41a0033566f..1698f37f365 100644
--- a/progs/fp/tri-rcp.c
+++ b/progs/fp/tri-rcp.c
@@ -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;