15 lines
288 B
Plaintext
15 lines
288 B
Plaintext
#include "../test_static.isph"
|
|
void inc(int * uniform v) {
|
|
++*v;
|
|
}
|
|
|
|
task void f_f(uniform float RET[], uniform float aFOO[]) {
|
|
uniform float * uniform b = &aFOO[0];
|
|
b = b + 3;
|
|
RET[programIndex] = *b;
|
|
}
|
|
|
|
task void result(uniform float RET[]) {
|
|
RET[programIndex] = 4;
|
|
}
|