Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
mesa3d
/
e4f4489e3fc0b36d72821b55794fb843b2b7fa5f
/
.
/
progs
/
vp
/
arl-static.txt
blob: 83aebf689ea20e2202edf0ed66f6b4d74dfeb014 [
file
] [
log
] [
blame
]
!!ARBvp1.0
PARAM arr[7] = { {.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