compiler: use NDEBUG to guard asserts
nir_validate.c's #endif already had the correct NDEBUG comment Fixes:dcb1acdea0
"nir/validate: Only build in debug mode" Fixes:9ff71b649b
"i965/nir: Validate that NIR passes call nir_metadata_preserve()" Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
/* Since this file is just a pile of asserts, don't bother compiling it if
|
||||
* we're not building a debug build.
|
||||
*/
|
||||
#ifdef DEBUG
|
||||
#ifndef NDEBUG
|
||||
|
||||
/*
|
||||
* Per-register validation state.
|
||||
|
Reference in New Issue
Block a user