[Mesa-dev] [PATCH 1/2] Change a few frequented uses of DEBUG to !NDEBUG
Marek Olšák
maraeo at gmail.com
Mon May 27 19:27:17 UTC 2019
Ping
On Fri, May 10, 2019 at 1:21 AM Marek Olšák <maraeo at gmail.com> wrote:
> From: Marek Olšák <marek.olsak at amd.com>
>
> debugoptimized builds don't define NDEBUG, but they also don't define
> DEBUG. We want to enable cheap debug code for these builds.
> I only chose those occurences that I care about.
> ---
> src/gallium/auxiliary/tgsi/tgsi_ureg.c | 2 +-
> src/gallium/drivers/radeonsi/si_descriptors.c | 2 +-
> src/gallium/drivers/radeonsi/si_pipe.h | 2 +-
> src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c | 6 +++---
> src/gallium/drivers/radeonsi/si_state.c | 4 ++--
> src/mesa/main/context.c | 2 +-
> src/mesa/main/debug.c | 4 ++--
> src/mesa/main/errors.c | 6 +++---
> src/mesa/main/feedback.c | 2 +-
> src/mesa/main/formats.c | 2 --
> src/mesa/main/imports.c | 4 ++--
> src/mesa/main/mtypes.h | 2 +-
> src/mesa/main/shaderapi.c | 2 +-
> src/mesa/state_tracker/st_atom_framebuffer.c | 2 +-
> src/mesa/state_tracker/st_format.c | 2 +-
> src/mesa/vbo/vbo_exec.h | 2 +-
> src/mesa/vbo/vbo_exec_api.c | 6 +++---
> src/util/slab.c | 4 ++--
> 18 files changed, 27 insertions(+), 29 deletions(-)
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190527/17e530fa/attachment-0001.html>
More information about the mesa-dev
mailing list