Fix a number of tests to work correctly with 32/64-wide targets.
Still to be reviewed/fixed: tests/test-*, tests/[cfrs]*
This commit is contained in:
@@ -18,9 +18,11 @@ export void f_f(uniform float RET[], uniform float aFOO[]) {
|
||||
RET[programIndex] = popcnt(int4(0xf0f0f0f0, 0xff, 0x10, 0));
|
||||
}
|
||||
|
||||
export void result(uniform float RET[]) {
|
||||
RET[0] = RET[4] = RET[8] = RET[12] = 16;
|
||||
RET[1] = RET[5] = RET[9] = RET[13] = 8;
|
||||
RET[2] = RET[6] = RET[10] = RET[14] = 1;
|
||||
RET[3] = RET[7] = RET[11] = RET[15] = 0;
|
||||
export void result(uniform float RET[]) {
|
||||
for (uniform int i = 0; i < programCount; i += 4) {
|
||||
RET[i] = 16;
|
||||
RET[i+1] = 8;
|
||||
RET[i+2] = 1;
|
||||
RET[i+3] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user