diff options
author | Michal Krol <[email protected]> | 2009-04-01 16:05:29 +0200 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-04-01 16:06:22 +0200 |
commit | 4900545bbaff238c75130cf14dd399505a1cde71 (patch) | |
tree | 7c4da5fb939b0d8333823e551b9071162a074bac | |
parent | 16c281dfb537ccad02ab205298e94353c5bb1a2a (diff) |
python/regress: Add vertex shader LRP test.
-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 00000000000..8c262580e23 --- /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 4f7878ee8dc..97f6240dec5 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', |