[Mesa-dev] radeonsi: glmark2 - regression (GL_INVALID_OPERATION in glFramebufferTexture2D) - bisected

Michel Dänzer michel at daenzer.net
Thu Jul 4 07:57:40 UTC 2019

On 2019-07-03 8:49 p.m., Marek Olšák wrote:
> NDEBUG is set = release
> NDEBUG is not set = debugoptimized
> NDEBUG is not set and DEBUG is set = debug
> NDEBUG is not set ---> enable assertions and cheap debug code, NIR enables
> expensive validations
> DEBUG is set ---> enable possibly very expensive debug code, may be
> replaced by !NDEBUG in the future

There is no such connection between DEBUG and NDEBUG.

DEBUG is controlled by the meson buildtype configuration item, release
and debugoptimized being two out of more possible values.

NDEBUG is controlled by meson's b_ndebug configuration item. While its
default value depends on the build type, it can be freely enabled or
disabled with any build type.

Earthling Michel Dänzer               |              https://www.amd.com
Libre software enthusiast             |             Mesa and X developer

More information about the mesa-dev mailing list