12 lines
326 B
Plaintext
12 lines
326 B
Plaintext
export void f_f(uniform float RET[], uniform float aFOO[]) {
|
|
RET[programIndex] = -1;
|
|
int32 a = (1ul << (min(programIndex, 30)));
|
|
RET[programIndex] = exclusive_scan_or(a);
|
|
}
|
|
|
|
|
|
export void result(uniform float RET[]) {
|
|
#pragma ignore warning(perf)
|
|
RET[programIndex] = (1ul << (min(programIndex, 31))) - 1;
|
|
}
|