Re: [Mesa-dev] [PATCH] clover: Refuse to create context with invalid properties

2013-10-24 Thread Jan Vesely
On Tue, 2013-10-22 at 13:38 -0700, Francisco Jerez wrote: > Jan Vesely writes: > > > On Mon, 2013-10-21 at 22:20 -0700, Francisco Jerez wrote: > >> Jan Vesely writes: > >> > >> > the specs say that clCreateContext reutrns error > >> > "if platform value specified in properties is not a valid pl

Re: [Mesa-dev] [PATCH] clover: Refuse to create context with invalid properties

2013-10-22 Thread Francisco Jerez
Jan Vesely writes: > On Mon, 2013-10-21 at 22:20 -0700, Francisco Jerez wrote: >> Jan Vesely writes: >> >> > the specs say that clCreateContext reutrns error >> > "if platform value specified in properties is not a valid platform" >> > >> > The orignal approach fials if invalid valu other than

Re: [Mesa-dev] [PATCH] clover: Refuse to create context with invalid properties

2013-10-22 Thread Jan Vesely
On Mon, 2013-10-21 at 22:20 -0700, Francisco Jerez wrote: > Jan Vesely writes: > > > the specs say that clCreateContext reutrns error > > "if platform value specified in properties is not a valid platform" > > > > The orignal approach fials if invalid valu other than NULL pointer is > > provided

Re: [Mesa-dev] [PATCH] clover: Refuse to create context with invalid properties

2013-10-21 Thread Francisco Jerez
Jan Vesely writes: > the specs say that clCreateContext reutrns error > "if platform value specified in properties is not a valid platform" > > The orignal approach fials if invalid valu other than NULL pointer is > provided. > > Fixes piglit cl-api-create-context. > Honestly, I don't think this

[Mesa-dev] [PATCH] clover: Refuse to create context with invalid properties

2013-10-21 Thread Jan Vesely
the specs say that clCreateContext reutrns error "if platform value specified in properties is not a valid platform" The orignal approach fials if invalid valu other than NULL pointer is provided. Fixes piglit cl-api-create-context. Signed-off-by: Jan Vesely --- src/gallium/state_trackers/clov