summaryrefslogtreecommitdiffstats
path: root/progs/fp/tri-sin.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2005-10-21 10:27:37 +0000
committerKeith Whitwell <[email protected]>2005-10-21 10:27:37 +0000
commit3a09ea919c59cbaab59648570249a46bba00acfd (patch)
tree4fbc119ed3bb36b7e0b26b7d7bbfaba82fbbbe2e /progs/fp/tri-sin.c
parent2ea6b800c0371a75ef4f6d22c7a83110c2eeaa43 (diff)
better looking tests
Diffstat (limited to 'progs/fp/tri-sin.c')
-rw-r--r--progs/fp/tri-sin.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/progs/fp/tri-sin.c b/progs/fp/tri-sin.c
index d9c5c44c307..f98bfdd25eb 100644
--- a/progs/fp/tri-sin.c
+++ b/progs/fp/tri-sin.c
@@ -40,8 +40,12 @@ static void Init( void )
{
static const char *modulate2D =
"!!ARBfp1.0\n"
+ "TEMP R0; \n"
+ "MUL R0, fragment.color, {3.14}.x; \n"
"MOV result.color, {0.0}.x; \n"
- "COS result.color.y, fragment.color.y; \n"
+ "SIN result.color.x, R0.x; \n"
+ "SIN result.color.y, R0.y; \n"
+ "SIN result.color.z, R0.z; \n"
"END"
;
GLuint modulateProg;