Re: [Mesa-dev] [PATCH] clover: fix clCreateContext Piglit test crash

2014-11-12 Thread Francisco Jerez
EdB writes: > clCreateContext no longer crash when CL_CONTEXT_PLATFORM is invalid NAK. That piglit test is rather dubious, can we please get rid of it? Passing pointers to inaccessible memory is likely to cause a segfault on other implementations too, like nVidia's, Intel's or any implementati

[Mesa-dev] [PATCH] clover: fix clCreateContext Piglit test crash

2014-11-12 Thread EdB
clCreateContext no longer crash when CL_CONTEXT_PLATFORM is invalid --- src/gallium/state_trackers/clover/api/context.cpp | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/gallium/state_trackers/clover/api/context.cpp b/src/gallium/state_trackers/clover/api/conte