From 13950e1f5de3af5ef479b932545889545f565696 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Thu, 23 Apr 2026 11:29:30 +0200 Subject: [PATCH] mesa/main: remove low-value verbose-switch This toggles a single, low-value print. Let's drop it to simplify things a bit. --- src/mesa/main/debug.c | 1 - src/mesa/main/light.c | 3 --- src/mesa/main/mtypes.h | 5 ++--- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/mesa/main/debug.c b/src/mesa/main/debug.c index d15614e055b..83733a1879f 100644 --- a/src/mesa/main/debug.c +++ b/src/mesa/main/debug.c @@ -101,7 +101,6 @@ set_verbose_flags(const char *str) GLbitfield flag; }; static const struct option opts[] = { - { "mat", VERBOSE_MATERIAL }, { "state", VERBOSE_STATE }, { "list", VERBOSE_DISPLAY_LIST }, }; diff --git a/src/mesa/main/light.c b/src/mesa/main/light.c index 7ebf28014d3..ea040cc9401 100644 --- a/src/mesa/main/light.c +++ b/src/mesa/main/light.c @@ -663,9 +663,6 @@ _mesa_update_material( struct gl_context *ctx, GLuint bitmask ) { GLfloat (*mat)[4] = ctx->Light.Material.Attrib; - if (MESA_VERBOSE & VERBOSE_MATERIAL) - _mesa_debug(ctx, "_mesa_update_material, mask 0x%x\n", bitmask); - if (!bitmask) return; diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 8d172b2523e..575603b6fcb 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -3670,9 +3670,8 @@ extern int MESA_DEBUG_FLAGS; /** The MESA_VERBOSE var is a bitmask of these flags */ enum _verbose { - VERBOSE_MATERIAL = 0x0001, - VERBOSE_STATE = 0x0002, - VERBOSE_DISPLAY_LIST = 0x0004, + VERBOSE_STATE = 0x0001, + VERBOSE_DISPLAY_LIST = 0x0002, };