We were declaring variable 'd' twice on subsequent lines. Noticed and tested on windows catalyst (pitcairn) w/ CL 1.2.
Signed-off-by: Aaron Watry <[email protected]> --- tests/cl/program/build/scalar-data-types.cl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 tests/cl/program/build/scalar-data-types.cl diff --git a/tests/cl/program/build/scalar-data-types.cl b/tests/cl/program/build/scalar-data-types.cl old mode 100644 new mode 100755 index d3c5061..00693f5 --- a/tests/cl/program/build/scalar-data-types.cl +++ b/tests/cl/program/build/scalar-data-types.cl @@ -24,6 +24,6 @@ kernel void test(global int* out) { // Needs cl_khr_fp64 or OpenCL C 1.2 #if __OPENCL_C_VERSION__ >= 120 double d; - double* d; + double* d1; #endif } -- 1.8.1.2 _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
