diff options
Diffstat (limited to 'src/gallium/tests/graw/vertex-shader/vert-cb-1d.sh')
-rw-r--r-- | src/gallium/tests/graw/vertex-shader/vert-cb-1d.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gallium/tests/graw/vertex-shader/vert-cb-1d.sh b/src/gallium/tests/graw/vertex-shader/vert-cb-1d.sh new file mode 100644 index 0000000..e227917 --- /dev/null +++ b/src/gallium/tests/graw/vertex-shader/vert-cb-1d.sh @@ -0,0 +1,16 @@ +VERT + +DCL IN[0] +DCL IN[1] +DCL OUT[0], POSITION +DCL OUT[1], COLOR +DCL CONST[1] +DCL CONST[3] +DCL TEMP[0..1] + +MOV OUT[0], IN[0] +ADD TEMP[0], IN[1], CONST[1] +RCP TEMP[1], CONST[3].xxxx +MUL OUT[1], TEMP[0], TEMP[1] + +END |