[Mesa-dev] [PATCH 2/2] st/mesa: enable the ST_DEBUG env var in release and debugoptimized builds

Kenneth Graunke kenneth at whitecape.org
Sat May 11 16:50:51 UTC 2019


On Thursday, May 9, 2019 10:21:16 PM PDT Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>
> 
> Useful for dumping shaders.
> ---
>  src/mesa/state_tracker/st_debug.c | 4 ----
>  src/mesa/state_tracker/st_debug.h | 6 ------
>  2 files changed, 10 deletions(-)
> 
> diff --git a/src/mesa/state_tracker/st_debug.c b/src/mesa/state_tracker/st_debug.c
> index 27d50a17e5e..7faffb581ef 100644
> --- a/src/mesa/state_tracker/st_debug.c
> +++ b/src/mesa/state_tracker/st_debug.c
> @@ -35,21 +35,20 @@
>  #include "tgsi/tgsi_dump.h"
>  
>  #include "cso_cache/cso_cache.h"
>  
>  #include "st_context.h"
>  #include "st_debug.h"
>  #include "st_program.h"
>  
>  
>  
> -#ifdef DEBUG
>  int ST_DEBUG = 0;

Yes, please!

Patch 2 is:
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190511/5118c7e2/attachment.sig>


More information about the mesa-dev mailing list