diff options
author | Michal Krol <michal@vmware.com> | 2009-04-01 16:05:29 +0200 |
---|---|---|
committer | Michal Krol <michal@vmware.com> | 2009-04-01 16:06:22 +0200 |
commit | 4900545bbaff238c75130cf14dd399505a1cde71 (patch) | |
tree | 7c4da5fb939b0d8333823e551b9071162a074bac /src/gallium/state_trackers/python | |
parent | 16c281dfb537ccad02ab205298e94353c5bb1a2a (diff) | |
download | external_mesa3d-4900545bbaff238c75130cf14dd399505a1cde71.zip external_mesa3d-4900545bbaff238c75130cf14dd399505a1cde71.tar.gz external_mesa3d-4900545bbaff238c75130cf14dd399505a1cde71.tar.bz2 |
python/regress: Add vertex shader LRP test.
Diffstat (limited to 'src/gallium/state_trackers/python')
-rw-r--r-- | src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-lrp.sh | 14 | ||||
-rw-r--r-- | src/gallium/state_trackers/python/tests/regress/vertex-shader/vertex-shader.py | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-lrp.sh b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-lrp.sh new file mode 100644 index 0000000..8c26258 --- /dev/null +++ b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-lrp.sh @@ -0,0 +1,14 @@ +VERT1.1 + +DCL IN[0], POSITION +DCL IN[1], COLOR +DCL OUT[0], POSITION +DCL OUT[1], COLOR + +DCL TEMP[0] + +ABS TEMP[0], IN[0] +MOV OUT[0], IN[0] +LRP OUT[1], TEMP[0], IN[1].xxxx, IN[1].yyyy + +END diff --git a/src/gallium/state_trackers/python/tests/regress/vertex-shader/vertex-shader.py b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vertex-shader.py index 4f7878e..97f6240 100644 --- a/src/gallium/state_trackers/python/tests/regress/vertex-shader/vertex-shader.py +++ b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vertex-shader.py @@ -218,6 +218,7 @@ def main(): 'dst', 'ex2', 'frc', + 'lrp', 'mov', 'mul', 'sub', |