nv50,nvc0: avoid doing work inside of an assert
authorIlia Mirkin <imirkin@alum.mit.edu>
Mon, 5 Jan 2015 05:17:26 +0000 (00:17 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 5 Jan 2015 05:34:33 +0000 (00:34 -0500)
commitec3e1e61948d40927ebfe1fbd8efcab525647af0
treeee88e468ed3320b96159a4b53a8ded626820065a
parentfb1afd1ea5fd25d82c75c5c3a2aba0bcb53b6d47
nv50,nvc0: avoid doing work inside of an assert

assert is compiled out in release builds - don't put logic into it. Note
that this particular instance is only used for vp debugging and is
normally compiled out.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv50/nv98_video_vp.c
src/gallium/drivers/nouveau/nvc0/nvc0_video_vp.c