diff options
author | Michal Krol <michal@vmware.com> | 2009-04-01 15:41:36 +0200 |
---|---|---|
committer | Michal Krol <michal@vmware.com> | 2009-04-01 16:06:20 +0200 |
commit | 16c281dfb537ccad02ab205298e94353c5bb1a2a (patch) | |
tree | 9f93b52b3f7990164abef76f63f93b04d79a3015 /src/gallium/state_trackers/python | |
parent | f8dd6594bf1d597b883af44e5d724a181c1e2b53 (diff) | |
download | external_mesa3d-16c281dfb537ccad02ab205298e94353c5bb1a2a.zip external_mesa3d-16c281dfb537ccad02ab205298e94353c5bb1a2a.tar.gz external_mesa3d-16c281dfb537ccad02ab205298e94353c5bb1a2a.tar.bz2 |
python/regress: Add vertex shader FRC test.
Diffstat (limited to 'src/gallium/state_trackers/python')
-rw-r--r-- | src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-frc.sh | 16 | ||||
-rw-r--r-- | src/gallium/state_trackers/python/tests/regress/vertex-shader/vertex-shader.py | 1 |
2 files changed, 17 insertions, 0 deletions
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 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 72ea88b..4f7878e 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 @@ -217,6 +217,7 @@ def main(): 'dp4', 'dst', 'ex2', + 'frc', 'mov', 'mul', 'sub', |