Re: [Piglit] [PATCH] cl: fix invalid platform test in create-context

2015-08-17 Thread Tom Stellard
On Fri, Aug 14, 2015 at 09:05:48PM +0200, Serge Martin (EdB) wrote: OpenCL objects are just pointers in the end, using random pointer value is likely to make an application crash. Also, all others tests use NULL as an invalid object. Reviewed-by: Tom Stellard thomas.stell...@amd.com See

[Piglit] [PATCH] cl: fix invalid platform test in create-context

2015-08-14 Thread Serge Martin (EdB)
OpenCL objects are just pointers in the end, using random pointer value is likely to make an application crash. Also, all others tests use NULL as an invalid object. See also Francisco Jerez comments: http://lists.freedesktop.org/archives/mesa-dev/2014-November/070520.html