diff options
author | Keith Whitwell <[email protected]> | 2010-09-18 09:15:14 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2010-09-18 09:15:14 +0100 |
commit | 7ef3d171a0e535ba720d9c7a6cdc6bb165416a3c (patch) | |
tree | 8fcf44ca24e4fafd5cff400d779752be0eaf7d54 /src | |
parent | 5b4c43d98556c5a4806757513bcb196a724518c5 (diff) |
graw: add frag-face shader
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/tests/python/tests/regress/fragment-shader/frag-face.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gallium/tests/python/tests/regress/fragment-shader/frag-face.sh b/src/gallium/tests/python/tests/regress/fragment-shader/frag-face.sh new file mode 100644 index 00000000000..5745b6a5aba --- /dev/null +++ b/src/gallium/tests/python/tests/regress/fragment-shader/frag-face.sh @@ -0,0 +1,14 @@ +FRAG + +DCL IN[0], COLOR, LINEAR +DCL IN[1], FACE, CONSTANT +DCL OUT[0], COLOR +DCL TEMP[0] +IMM FLT32 { 0.5, 1.0, 0.0, 0.0 } + +MUL TEMP[0], IN[1].xxxx, IMM[0].xxxx +ADD TEMP[0], TEMP[0], IMM[0].yyyy + +MOV OUT[0], TEMP[0] + +END |