From a792c5ae3ef47e92b5d24d3b1cce3463508fbc0c Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 27 Aug 2019 14:35:56 +1000 Subject: [PATCH] llvmpipe: add compute debug option Reviewed-by: Roland Scheidegger --- src/gallium/drivers/llvmpipe/lp_debug.h | 1 + src/gallium/drivers/llvmpipe/lp_screen.c | 1 + 2 files changed, 2 insertions(+) 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 -- 2.30.2