From 5d8677469b369d2b6a89519be7e379abdf4015d3 Mon Sep 17 00:00:00 2001 From: Michal Krol Date: Wed, 1 Apr 2009 10:56:53 +0200 Subject: [PATCH] python/regress: Add vertex shader test for XPD. --- .../python/tests/regress/vertex-shader/vert-xpd.sh | 8 ++++++++ .../python/tests/regress/vertex-shader/vertex-shader.py | 1 + 2 files changed, 9 insertions(+) create mode 100644 src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-xpd.sh diff --git a/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-xpd.sh b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-xpd.sh new file mode 100644 index 00000000000..6c767cc017f --- /dev/null +++ b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-xpd.sh @@ -0,0 +1,8 @@ +VERT1.1 +DCL IN[0], POSITION +DCL IN[1], COLOR +DCL OUT[0], POSITION +DCL OUT[1], COLOR +XPD OUT[0], IN[0], IN[1] +MOV OUT[1], IN[1] +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 7e0b561d79a..c207a46ec35 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(): 'mov', 'mul', 'sub', + 'xpd', ] html = ''' -- 2.30.2