13 lines
299 B
Plaintext
13 lines
299 B
Plaintext
#include "../test_static.isph"
|
|
float foo(float &) { return 1; }
|
|
float bar(uniform float []) { return 2; }
|
|
|
|
task void f_f(uniform float RET[], uniform float aFOO[]) {
|
|
float x = 0;
|
|
RET[programIndex] = foo(x) + bar(aFOO);
|
|
}
|
|
|
|
task void result(uniform float RET[]) {
|
|
RET[programIndex] = 3;
|
|
}
|