From 6f5821296926ca24f31a330f9ee7e583b3b6b558 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Thu, 23 Apr 2026 10:34:17 +0200 Subject: [PATCH] mesa/main: remove incorrect debug-output MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This message was incorrect from the time it was introduced; the function can return other error messages. If that happened in reality or not was a bit more unsure, but that's not a good reason to make a blanket statement like this. In either case, we do track properly now, and we have for a long time. The other, similar message in this function is correct. Fixes: 916bc4491a2 ("mesa: Implement proper tracking logic for glGetGraphicsResetStatusARB") Reviewed-by: Christian Gmeiner Reviewed-by: Marek Olšák Reviewed-by: Eric R. Smith (cherry picked from commit afe3f2801370fbd8cc9a0eb90baae26488741bd2) Part-of: --- .pick_status.json | 2 +- src/mesa/main/robustness.c | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index 428aa7c9351..1131a80a87e 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -864,7 +864,7 @@ "description": "mesa/main: remove incorrect debug-output", "nominated": true, "nomination_type": 2, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "916bc4491a2a7607bf2bd22aa1a5a537285c89c9", "notes": null diff --git a/src/mesa/main/robustness.c b/src/mesa/main/robustness.c index 2b998448f53..3a7e50098e2 100644 --- a/src/mesa/main/robustness.c +++ b/src/mesa/main/robustness.c @@ -140,10 +140,5 @@ _mesa_GetGraphicsResetStatusARB( void ) if (status != GL_NO_ERROR) _mesa_set_context_lost_dispatch(ctx); - if (!ctx->Driver.GetGraphicsResetStatus && (MESA_VERBOSE & VERBOSE_API)) - _mesa_debug(ctx, - "glGetGraphicsResetStatusARB always returns GL_NO_ERROR " - "because the driver doesn't track reset status.\n"); - return status; }