13 lines
279 B
Plaintext
13 lines
279 B
Plaintext
#include "../test_static.isph"
|
|
task void f_f(uniform float RET[], uniform float aFOO[]) {
|
|
float x = aFOO[programIndex];
|
|
float a;
|
|
a = (x *= 2.);
|
|
RET[programIndex] = a + x;
|
|
}
|
|
|
|
|
|
task void result(uniform float RET[]) {
|
|
RET[programIndex] = 4 * (1+programIndex);
|
|
}
|