nouveau: flip DEBUG -> !NDEBUG
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 26 Jul 2019 03:23:08 +0000 (23:23 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 27 Jul 2019 22:24:11 +0000 (18:24 -0400)
commit23dfff0669ef351372379b517b455cee2f9bb9c7
treec610076e92c7d3622cb104b668df5f17da3defac
parent9f8ed5aa6783a3dabefa96fe68d0367703dec91c
nouveau: flip DEBUG -> !NDEBUG

The meson conversion chose to change the meaning of DEBUG to "used for
debugging" to be "used for expensive things for debugging", primarily
for nir_validate. Flip things over so that we get nice things with
optimizations enabled.

While we're at it, also kill off nouveau_statebuf.h which is unused (and
has a mention of DEBUG which is how I found it).

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
src/gallium/drivers/nouveau/Makefile.sources
src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h
src/gallium/drivers/nouveau/codegen/nv50_ir_inlines.h
src/gallium/drivers/nouveau/codegen/nv50_ir_util.h
src/gallium/drivers/nouveau/meson.build
src/gallium/drivers/nouveau/nouveau_screen.h
src/gallium/drivers/nouveau/nouveau_statebuf.h [deleted file]
src/gallium/drivers/nouveau/nv50/nv50_program.c
src/gallium/drivers/nouveau/nvc0/nvc0_program.c
src/gallium/drivers/nouveau/nvc0/nve4_compute.c