Signed-off-by: Zhigang Gong <zhigang.g...@linux.intel.com> --- backend/src/ocl_stdlib.tmpl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/src/ocl_stdlib.tmpl.h b/backend/src/ocl_stdlib.tmpl.h index 170ec70..1e3639a 100644 --- a/backend/src/ocl_stdlib.tmpl.h +++ b/backend/src/ocl_stdlib.tmpl.h @@ -85,7 +85,7 @@ struct _image2d_t; typedef __texture struct _image2d_t* __image2d_t; struct _image3d_t; typedef __texture struct _image3d_t* __image3d_t; -typedef uint __sampler_t; +typedef const uint __sampler_t; typedef size_t __event_t; #define image2d_t __image2d_t #define image3d_t __image3d_t -- 1.7.9.5 _______________________________________________ Beignet mailing list Beignet@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/beignet