llvmpipe: add compute debug option
authorDave Airlie <airlied@redhat.com>
Tue, 27 Aug 2019 04:35:56 +0000 (14:35 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 4 Sep 2019 05:22:20 +0000 (15:22 +1000)
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/llvmpipe/lp_debug.h
src/gallium/drivers/llvmpipe/lp_screen.c

index 1038c5fe151b0d530ae1f16041ca4af7dfd783d8..d6443ba6e863658027a201edfcda6d909657b473 100644 (file)
@@ -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.
  */
index e2c098549f910f43e897f82ec8221e0844d75c64..758960514fc4934b82280fa30a559194f851304e 100644 (file)
@@ -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