Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (9 sloc) 0.369 kb
export uniform int width() { return programCount; }
export void f_fu(uniform float RET[], uniform float aFOO[], uniform float b) {
float v = aFOO[programIndex];
uniform float m = 42;
if (v >= 3)
m = reduce_max(-(int)v);
RET[programIndex] = m;
}
export void result(uniform float RET[]) { RET[programIndex] = (programCount == 1) ? 42 : -3; }
Jump to Line
Something went wrong with that request. Please try again.