diff --git a/tests/padds_i8.ispc b/tests/padds_i8.ispc index 81da8a21..d7bdc8b6 100644 --- a/tests/padds_i8.ispc +++ b/tests/padds_i8.ispc @@ -3,7 +3,7 @@ export uniform int width() { return programCount; } export void f_f(uniform float RET[], uniform float aFOO[]) { uniform int8 a = 127, b = 127; // max signed int8 - RET[programIndex] = padds(a1, b1); + RET[programIndex] = padds(a, b); } export void result(uniform float RET[]) { diff --git a/tests/paddus_i8.ispc b/tests/paddus_i8.ispc index 23de8c21..1c585369 100644 --- a/tests/paddus_i8.ispc +++ b/tests/paddus_i8.ispc @@ -2,7 +2,7 @@ export uniform int width() { return programCount; } export void f_f(uniform float RET[], uniform float aFOO[]) { - uniform int8 a = 255, b = 255; // max unsigned int8 + uniform unsigned int8 a = 255, b = 255; // max unsigned int8 RET[programIndex] = paddus(a, b); } diff --git a/tests/paddus_vi8.ispc b/tests/paddus_vi8.ispc index 3d7d3509..c9d7a115 100644 --- a/tests/paddus_vi8.ispc +++ b/tests/paddus_vi8.ispc @@ -2,7 +2,7 @@ export uniform int width() { return programCount; } export void f_f(uniform float RET[], uniform float aFOO[]) { - varying int8 a = 255, b = 255; // max unsigned int8 + varying unsigned int8 a = 255, b = 255; // max unsigned int8 RET[programIndex] = paddus(a, b); } diff --git a/tests/psubs_i16.ispc b/tests/psubs_i16.ispc index 9038215e..d66f51ad 100644 --- a/tests/psubs_i16.ispc +++ b/tests/psubs_i16.ispc @@ -2,7 +2,7 @@ export uniform int width() { return programCount; } export void f_f(uniform float RET[], uniform float aFOO[]) { - uniform int8 a = -32768, b = 32767; // min and max signed int16 + uniform int16 a = -32768, b = 32767; // min and max signed int16 RET[programIndex] = psubs(a, b); } diff --git a/tests/psubus_i16.ispc b/tests/psubus_i16.ispc index b31b250e..c02922d2 100644 --- a/tests/psubus_i16.ispc +++ b/tests/psubus_i16.ispc @@ -2,7 +2,7 @@ export uniform int width() { return programCount; } export void f_f(uniform float RET[], uniform float aFOO[]) { - uniform int8 a = 0, b = 32767; // min and max unsigned int16 + uniform unsigned int8 a = 0, b = 32767; // min and max unsigned int16 RET[programIndex] = psubus(a, b); } diff --git a/tests/psubus_i8.ispc b/tests/psubus_i8.ispc index c073d306..a45e9f6e 100644 --- a/tests/psubus_i8.ispc +++ b/tests/psubus_i8.ispc @@ -2,7 +2,7 @@ export uniform int width() { return programCount; } export void f_f(uniform float RET[], uniform float aFOO[]) { - uniform int8 a = 0, b = 255; // min and max unsigned int8 + uniform unsigned int8 a = 0, b = 255; // min and max unsigned int8 RET[programIndex] = psubus(a, b); } diff --git a/tests/psubus_vi8.ispc b/tests/psubus_vi8.ispc index 3c00308f..46005204 100644 --- a/tests/psubus_vi8.ispc +++ b/tests/psubus_vi8.ispc @@ -2,7 +2,7 @@ export uniform int width() { return programCount; } export void f_f(uniform float RET[], uniform float aFOO[]) { - varying int8 a = 0, b = 255; // min and max unsigned int8 + varying unsigned int8 a = 0, b = 255; // min and max unsigned int8 RET[programIndex] = psubus(a, b); }