From 3a09ea919c59cbaab59648570249a46bba00acfd Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Fri, 21 Oct 2005 10:27:37 +0000 Subject: [PATCH] better looking tests --- progs/fp/tri-cos.c | 3 ++- progs/fp/tri-sin.c | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/progs/fp/tri-cos.c b/progs/fp/tri-cos.c index ec83804a68f..620db8dfa92 100644 --- a/progs/fp/tri-cos.c +++ b/progs/fp/tri-cos.c @@ -42,8 +42,9 @@ static void Init( void ) "!!ARBfp1.0\n" "TEMP R0; \n" "MUL R0, fragment.color, {3.14}.x; \n" - "SIN result.color.x, R0.x; \n" + "COS result.color.x, R0.x; \n" "COS result.color.y, R0.y; \n" + "COS result.color.z, R0.z; \n" "END" ; GLuint modulateProg; 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; -- 2.30.2