Fix RNG state initialization for 16-wide targets Fix a number of bugs in reduce_add builtin implementations for AVX. Fix some tests that had incorrect expected results for the 16-wide case.
16 lines
327 B
Plaintext
16 lines
327 B
Plaintext
|
|
export uniform int width() { return programCount; }
|
|
|
|
|
|
export void f_fu(uniform float RET[], uniform float aFOO[], uniform float b) {
|
|
float a = aFOO[programIndex];
|
|
cwhile (a < 10)
|
|
++a;
|
|
RET[programIndex] = a;
|
|
}
|
|
|
|
|
|
export void result(uniform float RET[]) {
|
|
RET[programIndex] = max(10, 1 + programIndex);
|
|
}
|