diff options
author | Michal Krol <michal@vmware.com> | 2010-01-25 12:42:17 +0100 |
---|---|---|
committer | Michal Krol <michal@vmware.com> | 2010-01-28 14:07:58 +0100 |
commit | 333c035a519a36efd19d2ab227924feb8b0f4c25 (patch) | |
tree | e1320c790429ad9f308f4c520ef949f1c11475fd /src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-cb-1d.sh | |
parent | 9851644435f991a1a1bbb145333a97601627b37d (diff) |
regress: Add vertex shaders tests for constant buffers.
Diffstat (limited to 'src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-cb-1d.sh')
-rw-r--r-- | src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-cb-1d.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-cb-1d.sh b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-cb-1d.sh new file mode 100644 index 0000000000..b41fe5dd38 --- /dev/null +++ b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-cb-1d.sh @@ -0,0 +1,16 @@ +VERT + +DCL IN[0], POSITION +DCL IN[1], COLOR +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 |