12 lines
297 B
Plaintext
12 lines
297 B
Plaintext
#include "../test_static.isph"
|
|
task void f_f(uniform float RET[], uniform float aFOO[]) {
|
|
RET[programIndex] = aFOO[programIndex];
|
|
|
|
foreach_unique (p in programIndex & 1)
|
|
RET[programIndex] = p;
|
|
}
|
|
|
|
task void result(uniform float RET[]) {
|
|
RET[programIndex] = programIndex & 1;
|
|
}
|