summaryrefslogtreecommitdiff
path: root/tests/shaders
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shaders')
-rw-r--r--tests/shaders/generic/vp-arl-constant-array-huge-offset.vpfp147
1 files changed, 0 insertions, 147 deletions
diff --git a/tests/shaders/generic/vp-arl-constant-array-huge-offset.vpfp b/tests/shaders/generic/vp-arl-constant-array-huge-offset.vpfp
deleted file mode 100644
index f7255e20f..000000000
--- a/tests/shaders/generic/vp-arl-constant-array-huge-offset.vpfp
+++ /dev/null
@@ -1,147 +0,0 @@
-; Tests loading of a variable entry in a large constant array with an offset.
-
-!!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, 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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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, 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, 1.0, 0.0, 0.0}
- };
-ADDRESS A0;
-
-ARL A0.x, program.local[0].x;
-MOV result.color, vals[A0.x+1];
-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
-!!test
-vertex.local[0] 0.0 0.0 0.0 0.0
-expected 1.0 0.0 0.8 0.0
-!!test
-vertex.local[0] 1.0 0.0 0.0 0.0
-expected 1.0 0.0 0.5 0.0
-!!test
-vertex.local[0] 2.0 0.0 0.0 0.0
-expected 0.8 1.0 0.0 0.0
-