aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2019-08-27 14:35:56 +1000
committerDave Airlie <[email protected]>2019-09-04 15:22:20 +1000
commita792c5ae3ef47e92b5d24d3b1cce3463508fbc0c (patch)
tree043bc40db3fef1978ccd1204daa3d137c6eadf08
parent25f46ae9aa3b8f114082a1957b5a3f3759d7c123 (diff)
llvmpipe: add compute debug option
Reviewed-by: Roland Scheidegger <[email protected]>
-rw-r--r--src/gallium/drivers/llvmpipe/lp_debug.h1
-rw-r--r--src/gallium/drivers/llvmpipe/lp_screen.c1
2 files changed, 2 insertions, 0 deletions
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