python/regress: Add vertex shader LRP test.
authorMichal Krol <michal@vmware.com>
Wed, 1 Apr 2009 14:05:29 +0000 (16:05 +0200)
committerMichal Krol <michal@vmware.com>
Wed, 1 Apr 2009 14:06:22 +0000 (16:06 +0200)
src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-lrp.sh [new file with mode: 0644]
src/gallium/state_trackers/python/tests/regress/vertex-shader/vertex-shader.py

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 (file)
index 0000000..8c26258
--- /dev/null
@@ -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
index 4f7878ee8dcd7284d1a3b012edd00f04d68af769..97f6240dec5a467ea487251c8f252e79e32e5a9c 100644 (file)
@@ -218,6 +218,7 @@ def main():
         'dst',
         'ex2',
         'frc',
+        'lrp',
         'mov',
         'mul',
         'sub',