16 lines
297 B
Plaintext
16 lines
297 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 += 3;
|
|
b -= 1;
|
|
RET[programIndex] = *b;
|
|
}
|
|
|
|
task void result(uniform float RET[]) {
|
|
RET[programIndex] = 3;
|
|
}
|