From 4900545bbaff238c75130cf14dd399505a1cde71 Mon Sep 17 00:00:00 2001 From: Michal Krol Date: Wed, 1 Apr 2009 16:05:29 +0200 Subject: [PATCH] python/regress: Add vertex shader LRP test. --- .../python/tests/regress/vertex-shader/vert-lrp.sh | 14 ++++++++++++++ .../tests/regress/vertex-shader/vertex-shader.py | 1 + 2 files changed, 15 insertions(+) create mode 100644 src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-lrp.sh 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', -- 2.30.2