Files
2025-05-18 13:04:45 +08:00

18 lines
327 B
Plaintext

export void f_v(uniform float RET[]) {
int errs = 0;
if (programIndex < 2) {
// if all() doesn't return 'true', we have an error.
if (!all(programIndex < 2)) {
++errs;
}
}
RET[programIndex] = errs;
}
export void result(uniform float RET[]) {
RET[programIndex] = 0;
}