On Tuesday 17 May 2016 13:10:52 Dylan Baker wrote:
> Signed-off-by: Dylan Baker <[email protected]>

Reviewed-by: Serge Martin <[email protected]>

> ---
> 
> v3 - Use OpenCL deprecation macros (EdB)
> 
>  tests/util/piglit-util-cl-enum.h | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/tests/util/piglit-util-cl-enum.h
> b/tests/util/piglit-util-cl-enum.h index 51336ce..e08d3c3 100644
> --- a/tests/util/piglit-util-cl-enum.h
> +++ b/tests/util/piglit-util-cl-enum.h
> @@ -25,6 +25,11 @@
>  #ifndef PIGLIT_UTIL_CL_ENUM_H
>  #define PIGLIT_UTIL_CL_ENUM_H
> 
> +#define CL_USE_DEPRECATED_OPENCL_1_0_APIS
> +#define CL_USE_DEPRECATED_OPENCL_1_1_APIS
> +#define CL_USE_DEPRECATED_OPENCL_1_2_APIS
> +#define CL_USE_DEPRECATED_OPENCL_2_0_APIS
> +
>  #ifdef __APPLE__
>  #include <OpenCL/opencl.h>
>  #else

_______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to