Re: [Mesa-dev] [PATCH v3 1/1] clover: Don't crash on NULL global buffer objects.

2014-01-22 Thread Francisco Jerez
Jan Vesely writes: > On Sat, 2014-01-18 at 13:34 +0100, Francisco Jerez wrote: >> Jan Vesely writes: >> >> > Specs say "If the argument is a buffer object, the arg_value >> > pointer can be NULL or point to a NULL value in which case a NULL >> > value will be used as the value for the argument

Re: [Mesa-dev] [PATCH v3 1/1] clover: Don't crash on NULL global buffer objects.

2014-01-20 Thread Jan Vesely
On Sat, 2014-01-18 at 13:34 +0100, Francisco Jerez wrote: > Jan Vesely writes: > > > Specs say "If the argument is a buffer object, the arg_value > > pointer can be NULL or point to a NULL value in which case a NULL > > value will be used as the value for the argument declared as a > > pointer t

Re: [Mesa-dev] [PATCH v3 1/1] clover: Don't crash on NULL global buffer objects.

2014-01-18 Thread Francisco Jerez
Jan Vesely writes: > Specs say "If the argument is a buffer object, the arg_value > pointer can be NULL or point to a NULL value in which case a NULL > value will be used as the value for the argument declared as a > pointer to __global or __constant memory in the kernel." > > So don't crash when

[Mesa-dev] [PATCH v3 1/1] clover: Don't crash on NULL global buffer objects.

2014-01-16 Thread Jan Vesely
Specs say "If the argument is a buffer object, the arg_value pointer can be NULL or point to a NULL value in which case a NULL value will be used as the value for the argument declared as a pointer to __global or __constant memory in the kernel." So don't crash when somebody does that. v2: Insert