Skip to content

glsl: hide assert code behind NDEBUG instead of DEBUG

Eric Engestrom requested to merge eric/mesa:glsl-assert-ndebug into master

This was effectively hidden behind both, as assert() are no-ops on NDEBUG builds.

Instead of compiling an empty loop on debug builds with assert disabled, let's just make that conditional on having asserts enabled.

Merge request reports