projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16c281d
)
python/regress: Add vertex shader LRP test.
author
Michal Krol
<michal@vmware.com>
Wed, 1 Apr 2009 14:05:29 +0000
(16:05 +0200)
committer
Michal 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]
patch
|
blob
src/gallium/state_trackers/python/tests/regress/vertex-shader/vertex-shader.py
patch
|
blob
|
history
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
+++ 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 4f7878ee8dcd7284d1a3b012edd00f04d68af769..97f6240dec5a467ea487251c8f252e79e32e5a9c 100644
(file)
--- 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',