From: Dave Airlie Date: Tue, 27 Aug 2019 04:35:56 +0000 (+1000) Subject: llvmpipe: add compute debug option X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a792c5ae3ef47e92b5d24d3b1cce3463508fbc0c;p=mesa.git llvmpipe: add compute debug option Reviewed-by: Roland Scheidegger --- diff --git a/src/gallium/drivers/llvmpipe/lp_debug.h b/src/gallium/drivers/llvmpipe/lp_debug.h index 1038c5fe151..d6443ba6e86 100644 --- a/src/gallium/drivers/llvmpipe/lp_debug.h +++ b/src/gallium/drivers/llvmpipe/lp_debug.h @@ -48,6 +48,7 @@ st_print_current(void); #define DEBUG_FENCE 0x2000 #define DEBUG_MEM 0x4000 #define DEBUG_FS 0x8000 +#define DEBUG_CS 0x10000 /* Performance flags. These are active even on release builds. */ diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index e2c098549f9..758960514fc 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -69,6 +69,7 @@ static const struct debug_named_value lp_debug_flags[] = { { "fence", DEBUG_FENCE, NULL }, { "mem", DEBUG_MEM, NULL }, { "fs", DEBUG_FS, NULL }, + { "cs", DEBUG_CS, NULL }, DEBUG_NAMED_VALUE_END }; #endif