Re: [Mesa-dev] [PATCH 4/4] nvc0: minor cleanups in stream output handling

2014-03-12 Thread Ilia Mirkin
On Wed, Mar 12, 2014 at 1:24 PM, Emil Velikov wrote: > Constify the offsets parameter to silence gcc warning 'assignment > from incompatible pointer type' due to function prototype miss-match. > > Use a boolean changed as a shorthand for target != current_target. > > Signed-off-by: Emil Velikov

[Mesa-dev] [PATCH 4/4] nvc0: minor cleanups in stream output handling

2014-03-12 Thread Emil Velikov
Constify the offsets parameter to silence gcc warning 'assignment from incompatible pointer type' due to function prototype miss-match. Use a boolean changed as a shorthand for target != current_target. Signed-off-by: Emil Velikov --- src/gallium/drivers/nouveau/nvc0/nvc0_state.c | 9 +