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

17 lines
402 B
Plaintext

#include "../test_static.isph"
void inc(varying int * uniform v) {
++*v;
}
task void f_f(uniform float RET[], uniform float aFOO[]) {
int a = aFOO[programIndex];
varying int * uniform b = &a;
void * uniform vp = b;
varying int * uniform c = (varying int * uniform)vp;
RET[programIndex] = *c;
}
task void result(uniform float RET[]) {
RET[programIndex] = 1+programIndex;
}