projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8dd659
)
python/regress: Add vertex shader FRC test.
author
Michal Krol
<michal@vmware.com>
Wed, 1 Apr 2009 13:41:36 +0000
(15:41 +0200)
committer
Michal Krol
<michal@vmware.com>
Wed, 1 Apr 2009 14:06:20 +0000
(16:06 +0200)
src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-frc.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-frc.sh
b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-frc.sh
new file mode 100644
(file)
index 0000000..
91c0f9c
--- /dev/null
+++ b/
src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-frc.sh
@@ -0,0
+1,16
@@
+VERT1.1
+
+DCL IN[0], POSITION
+DCL IN[1], COLOR
+DCL OUT[0], POSITION
+DCL OUT[1], COLOR
+
+DCL TEMP[0]
+
+IMM FLT32 { 2.7, 3.1, 4.5, 1.0 }
+
+MUL TEMP[0], IN[0].xyxw, IMM[0]
+MOV OUT[0], IN[0]
+FRC OUT[1], TEMP[0]
+
+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 72ea88b186049adfe4fcfaea13f3b0d4aed876bb..4f7878ee8dcd7284d1a3b012edd00f04d68af769 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
@@
-217,6
+217,7
@@
def main():
'dp4',
'dst',
'ex2',
+ 'frc',
'mov',
'mul',
'sub',