mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 06:30:10 +01:00
better looking tests
This commit is contained in:
parent
2ea6b800c0
commit
3a09ea919c
2 changed files with 7 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue