15 lines
303 B
Plaintext
15 lines
303 B
Plaintext
#include "../test_static.isph"
|
|
void foo(float & x, float y) {
|
|
x = y;
|
|
}
|
|
|
|
task void f_fu(uniform float ret[], uniform float a[], uniform float b) {
|
|
float aa = a[programIndex], bb = b;
|
|
foo(aa, bb);
|
|
ret[programIndex] = aa;
|
|
}
|
|
|
|
task void result(uniform float r[]) {
|
|
r[programIndex] = 5;
|
|
}
|