llvmpipe: add debug bit for mesh shaders
authorDave Airlie <airlied@redhat.com>
Wed, 17 May 2023 01:54:57 +0000 (11:54 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 5 Jun 2023 19:01:47 +0000 (05:01 +1000)
Reviewed-by: Roland Scheidegger <sroland@vmware.com>#
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23066>

src/gallium/drivers/llvmpipe/lp_debug.h
src/gallium/drivers/llvmpipe/lp_screen.c

index d552aa9..9bea35c 100644 (file)
@@ -52,6 +52,7 @@
 #define DEBUG_LINEAR2       0x200000
 #define DEBUG_SHOW_DEPTH    0x400000
 #define DEBUG_ACCURATE_A0   0x800000 /* verbose */
+#define DEBUG_MESH         0x1000000
 
 /* Performance flags.  These are active even on release builds.
  */
index facec7b..dd28bdc 100644 (file)
@@ -81,6 +81,7 @@ static const struct debug_named_value lp_debug_flags[] = {
    { "cs", DEBUG_CS, NULL },
    { "tgsi_ir", DEBUG_TGSI_IR, NULL },
    { "accurate_a0", DEBUG_ACCURATE_A0 },
+   { "mesh", DEBUG_MESH },
    DEBUG_NAMED_VALUE_END
 };