13 lines
293 B
Plaintext
13 lines
293 B
Plaintext
#include "../test_static.isph"
|
|
float foo(uniform float &a) {
|
|
a = 0;
|
|
}
|
|
|
|
task void f_fu(uniform float RET[], uniform float aFOO[], uniform float b) {
|
|
float a = aFOO[programIndex];
|
|
foo(b);
|
|
RET[programIndex] = b;
|
|
}
|
|
|
|
task void result(uniform float RET[]) { RET[programIndex] = 0; }
|