From c05f2746f4827c26e776481913f912bce6498a05 Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Sat, 28 Jun 2025 00:08:46 -0700 Subject: [PATCH] nv2a/gl: Fix DGROUP_BEGIN in pgraph_gl_bind_shaders --- hw/xbox/nv2a/pgraph/gl/shaders.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hw/xbox/nv2a/pgraph/gl/shaders.c b/hw/xbox/nv2a/pgraph/gl/shaders.c index c716ce7f6a..08ca09e29e 100644 --- a/hw/xbox/nv2a/pgraph/gl/shaders.c +++ b/hw/xbox/nv2a/pgraph/gl/shaders.c @@ -710,9 +710,8 @@ void pgraph_gl_bind_shaders(PGRAPHState *pg) ShaderBinding *old_binding = r->shader_binding; ShaderState state = pgraph_get_shader_state(pg); - NV2A_GL_DGROUP_BEGIN("%s (VP: %s FFP: %s)", __func__, - state.vertex_program ? "yes" : "no", - state.fixed_function ? "yes" : "no"); + NV2A_GL_DGROUP_BEGIN("%s (%s)", __func__, + state.vsh.is_fixed_function ? "FF" : "PROG"); qemu_mutex_lock(&r->shader_cache_lock);