diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2015-06-18 21:50:05 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2015-06-18 22:16:24 -0700 |
commit | 210a8848544165c8bfe13d24f80388c88b055ac7 (patch) | |
tree | 5b1e057c9812aff57f97439cae404da0d0275f34 /tests/shaders | |
parent | c80c7563bc15a89e51dd3aa0dbf4f0361ae7e29a (diff) |
Port vp-arl-constant-array-huge.vpfp to shader_runner
This commit was autogenerated by Python and Bash scripting.
Diffstat (limited to 'tests/shaders')
-rw-r--r-- | tests/shaders/generic/vp-arl-constant-array-huge.vpfp | 149 |
1 files changed, 0 insertions, 149 deletions
diff --git a/tests/shaders/generic/vp-arl-constant-array-huge.vpfp b/tests/shaders/generic/vp-arl-constant-array-huge.vpfp deleted file mode 100644 index d12fa10df..000000000 --- a/tests/shaders/generic/vp-arl-constant-array-huge.vpfp +++ /dev/null @@ -1,149 +0,0 @@ -; Tests loading of an entry in a large constant array. Caught failure in the -; 965 driver where only the first entry of the constant array was necessarily -; correct, and the state containing the transformation matrix wasn't set up. - -!!ARBvp1.0 -OPTION ARB_position_invariant; -PARAM vals[] = { - {0.5, 1.0, 2.0, 0.0}, - {1.0, 0.0, 0.8, 0.0}, - {1.0, 0.0, 0.5, 0.0}, - {0.8, 1.0, 0.0, 0.0}, - {0.5, 1.0, 2.0, 0.0}, - {1.0, 0.0, 0.8, 0.0}, - {1.0, 0.0, 0.5, 0.0}, - {0.8, 1.0, 0.0, 0.0}, - {0.5, 1.0, 2.0, 0.0}, - {1.0, 0.0, 0.8, 0.0}, - {1.0, 0.0, 0.5, 0.0}, - {0.8, 1.0, 0.0, 0.0}, - {0.5, 1.0, 2.0, 0.0}, - {1.0, 0.0, 0.8, 0.0}, - {1.0, 0.0, 0.5, 0.0}, - {0.8, 1.0, 0.0, 0.0}, - - {0.5, 1.0, 2.0, 0.0}, - {1.0, 0.0, 0.8, 0.0}, - {1.0, 0.0, 0.5, 0.0}, - {0.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; -ADDRESS A0; - -ARL A0.x, program.local[0].x; -MOV result.color, vals[A0.x+0]; -END - -!!ARBfp1.0 -MOV result.color, fragment.color; -END - -!!test -vertex.local[0] 0.0 0.0 0.0 0.0 -expected 0.5 1.0 1.0 0.0 -!!test -vertex.local[0] 1.0 0.0 0.0 0.0 -expected 1.0 0.0 0.8 0.0 -!!test -vertex.local[0] 2.0 0.0 0.0 0.0 -expected 1.0 0.0 0.5 0.0 -!!test -vertex.local[0] 3.0 0.0 0.0 0.0 -expected 0.8 1.0 0.0 0.0 - |