Skip to content
Commit 83c85b28 authored by Eric Engestrom's avatar Eric Engestrom Committed by Emil Velikov
Browse files

compiler: use NDEBUG to guard asserts



nir_validate.c's #endif already had the correct NDEBUG comment

Fixes: dcb1acde "nir/validate: Only build in debug mode"
Fixes: 9ff71b64 "i965/nir: Validate that NIR passes call nir_metadata_preserve()"
Signed-off-by: default avatarEric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: default avatarMatt Turner <mattst88@gmail.com>
(cherry picked from commit 7b85b9b8)
Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>

Conflicts:
	src/compiler/nir/nir.h
parent 6a698f7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment