Fix more tests for 32 and 64-wide execution.
This commit is contained in:
@@ -3,10 +3,10 @@ export uniform int width() { return programCount; }
|
||||
|
||||
|
||||
export void f_f(uniform float RET[], uniform float aFOO[]) {
|
||||
unsigned int64 i = ((unsigned int64)1 << (40+programIndex));
|
||||
unsigned int64 i = ((unsigned int64)1 << min(63, 40+programIndex));
|
||||
RET[programIndex] = count_trailing_zeros(i);
|
||||
}
|
||||
|
||||
export void result(uniform float RET[]) {
|
||||
RET[programIndex] = 40+programIndex;
|
||||
RET[programIndex] = min(63, 40+programIndex);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user