Re: [Mesa-dev] [PATCH v2 1/2] nvc0: handle NULL pointer in nvc0_get_compute_param()

2015-11-03 Thread Ilia Mirkin
Series is: Reviewed-by: Ilia Mirkin On Tue, Nov 3, 2015 at 4:04 PM, Samuel Pitoiset wrote: > To get the size (in bytes) of a compute parameter, clover first calls > get_compute_param() with a NULL data pointer. The RET() macro is based > on nv50. > > Changes since v2: > - get rid of ul suffixes

[Mesa-dev] [PATCH v2 1/2] nvc0: handle NULL pointer in nvc0_get_compute_param()

2015-11-03 Thread Samuel Pitoiset
To get the size (in bytes) of a compute parameter, clover first calls get_compute_param() with a NULL data pointer. The RET() macro is based on nv50. Changes since v2: - get rid of ul suffixes when they are unnecessary Signed-off-by: Samuel Pitoiset --- src/gallium/drivers/nouveau/nvc0/nvc0_scr