15 lines
321 B
Plaintext
15 lines
321 B
Plaintext
#include "../test_static.isph"
|
|
void foo(varying float * uniform 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;
|
|
}
|