13 lines
299 B
Plaintext
13 lines
299 B
Plaintext
|
|
export uniform int width() { return programCount; }
|
|
|
|
|
|
export void f_f(uniform float RET[], uniform float aFOO[]) {
|
|
int32 i = (1 << (programIndex % 28));
|
|
RET[programIndex] = count_leading_zeros(i);
|
|
}
|
|
|
|
export void result(uniform float RET[]) {
|
|
RET[programIndex] = 31-(programIndex%28);
|
|
}
|