nvc0: fix program dumping, use _debug_printf
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 7 Aug 2019 03:00:06 +0000 (23:00 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 8 Aug 2019 02:32:02 +0000 (22:32 -0400)
commit9ff8da0e5044c0a831c7022c98e193dbbaf8a74c
tree7114a7978b365756fd63fd2af8031935a9b27ffb
parentf6af10434087397428d5b2f6d39ff559f70c7c0f
nvc0: fix program dumping, use _debug_printf

This debug situation is unforunate. debug_printf only does something
with DEBUG set, but in practice all that needs to be moved to !NDEBUG.
For now, use _debug_printf which always prints. However the whole
function is guarded by !NDEBUG.

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