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 | 0f422c2f83fdb40dc34cee160d757f208f4c20dc (patch) | |
tree | 295f98f31fff34b10d4afa382b8de60658991446 /tests/shaders | |
parent | 03727d3dc542aa851d20ad8b18b673d8d383374c (diff) |
Port vp-arl-constant-array-huge-overwritten.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-overwritten.vpfp | 142 |
1 files changed, 0 insertions, 142 deletions
diff --git a/tests/shaders/generic/vp-arl-constant-array-huge-overwritten.vpfp b/tests/shaders/generic/vp-arl-constant-array-huge-overwritten.vpfp deleted file mode 100644 index caa38e90f..000000000 --- a/tests/shaders/generic/vp-arl-constant-array-huge-overwritten.vpfp +++ /dev/null @@ -1,142 +0,0 @@ -; Tests loading of a constant entry in a large constant array after loading -; its index as an offset from an address register. Catches a bug in the 965 -; driver. - -!!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.8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-ADDRESS A0; - -ARL A0.x, program.local[0].x; -; loading index 1 of the array -MOV result.color, vals[A0.x+0]; -MOV result.color, vals[0]; -END - -!!ARBfp1.0 -MOV result.color, fragment.color; -END - -!!test -vertex.local[0] 1.0 0.0 0.0 0.0 -expected 0.5 1.0 1.0 0.0 - |