Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (13 sloc) 0.453 kb
export uniform int width() { return programCount; }
struct Foo {
float f;
export void f_fu(uniform float RET[], uniform float aFOO[], uniform float b) {
float a = aFOO[programIndex];
Foo foo[programCount+1];
uniform int i;
for (i = 0; i < programCount+1; ++i)
foo[i].f = i*a;
RET[programIndex] = foo[(int)a].f;
export void result(uniform float RET[]) { RET[programIndex] = (programIndex+1)*(programIndex+1); }
Jump to Line
Something went wrong with that request. Please try again.