Re: [Mesa-dev] [PATCH 1/2] Change a few frequented uses of DEBUG to !NDEBUG

2019-05-27 Thread Mathias Fröhlich
Marek, sure, for that part: Reviewed-by: Mathias Fröhlich Well, there are really magnitudes of DEBUG defines that are inactive since meson. Either let meson builds also define DEBUG or lets sed -i 's,#ifdef DEBUG,#ifndef NDEBUG,g' them now? best Mathias On Friday, 10 May 2019 07:21:15

Re: [Mesa-dev] [PATCH 1/2] Change a few frequented uses of DEBUG to !NDEBUG

2019-05-27 Thread Marek Olšák
Ping On Fri, May 10, 2019 at 1:21 AM Marek Olšák wrote: > From: Marek Olšák > > 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. > --- >

[Mesa-dev] [PATCH 1/2] Change a few frequented uses of DEBUG to !NDEBUG

2019-05-09 Thread Marek Olšák
From: Marek Olšák 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 +-