nvc0: minor cleanups in stream output handling
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 12 Mar 2014 17:09:38 +0000 (17:09 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 14 Mar 2014 13:00:01 +0000 (13:00 +0000)
commitf064bcdfbf489e0e54feade860ba6193a46efaad
tree8943ccc5b90efd07dd06d837235993ac7335377f
parentad4a44ebfc9f72d34bf3523e455822896a788507
nvc0: minor cleanups in stream output handling

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 <emil.l.velikov@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nvc0/nvc0_state.c