Re: [Mesa-dev] [PATCH mesa] compiler: use proper guard for asserts

2017-11-24 Thread Eric Engestrom
I ended up looking at all the uses of DEBUG in Mesa, and will send a whole series next week, including more changes in nir & compiler, so you can disregard this patch for now. On Thursday, 2017-11-23 13:24:25 +, Eric Engestrom wrote: > nir_validate.c's #endif already had the correct NDEBUG com

[Mesa-dev] [PATCH mesa] compiler: use proper guard for asserts

2017-11-23 Thread Eric Engestrom
nir_validate.c's #endif already had the correct NDEBUG comment Fixes: dcb1acdea00a8f2c29777 "nir/validate: Only build in debug mode" Fixes: 9ff71b649b4b3808a9e17 "i965/nir: Validate that NIR passes call nir_metadata_preserve()" Signed-off-by: Eric Engestrom --- src/compiler/nir/nir.h |