10 lines
277 B
Plaintext
10 lines
277 B
Plaintext
#include "../test_static.isph"
|
|
task void f_f(uniform float RET[], uniform float aFOO[]) {
|
|
float a = programIndex;
|
|
RET[programIndex] = extract(a, min(programCount-1, 3));
|
|
}
|
|
|
|
task void result(uniform float RET[]) {
|
|
RET[programIndex] = (programCount == 1) ? 0 : 3;
|
|
}
|