Fix more tests for 32 and 64-wide execution.

This commit is contained in:
Matt Pharr
2012-05-30 13:06:07 -07:00
parent 8fd9b84a80
commit fe8b109ca5
6 changed files with 11 additions and 9 deletions

View File

@@ -3,10 +3,10 @@ export uniform int width() { return programCount; }
export void f_f(uniform float RET[], uniform float aFOO[]) {
int32 i = (1 << programIndex);
int32 i = (1 << (programIndex % 28));
RET[programIndex] = count_leading_zeros(i);
}
export void result(uniform float RET[]) {
RET[programIndex] = 31-programIndex;
RET[programIndex] = 31-(programIndex%28);
}