From: Michal Krol Date: Wed, 1 Apr 2009 14:05:29 +0000 (+0200) Subject: python/regress: Add vertex shader LRP test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4900545bbaff238c75130cf14dd399505a1cde71;p=mesa.git python/regress: Add vertex shader LRP test. --- 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',