summaryrefslogtreecommitdiffstats
path: root/progs/vp/arl-static.txt
diff options
context:
space:
mode:
Diffstat (limited to 'progs/vp/arl-static.txt')
-rw-r--r--progs/vp/arl-static.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/progs/vp/arl-static.txt b/progs/vp/arl-static.txt
new file mode 100644
index 00000000000..aea87b79a49
--- /dev/null
+++ b/progs/vp/arl-static.txt
@@ -0,0 +1,7 @@
+!!ARBvp1.0
+PARAM arr[5] = { {.0,.1,.2,.3}, {.4,.5,.6,.7}, {.8,.9,.10,.1}, {.12,.3,.4,.14}, {.5,.8,.1,.9}, {.2,0,.4,.1}, {.6,.1,.8,.9}};
+ADDRESS addr;
+ARL addr.x, {3}.x;
+MOV result.color, arr[addr.x];
+MOV result.position, vertex.position;
+END