Files
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

18 lines
410 B
Plaintext

// rule: skip on arch=genx32
// rule: skip on arch=genx64
static float array[6];
task void x(uniform int i, float f) {
array[i] = f;
}
export void f_fu(uniform float RET[], uniform float fFOO[], uniform float fu) {
float f = fFOO[programIndex];
launch[1] x(fu, f);
sync;
RET[programIndex] = array[5];
}
export void result(uniform float RET[]) {
RET[programIndex] = 1+programIndex;
}