From 69b5318cb5ab617dd7c9ea3f763819329cb1571d Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Thu, 1 Aug 2024 01:01:25 -0700 Subject: [PATCH] nv2a/vk: Fix create_pipeline debug marker inbalance --- hw/xbox/nv2a/pgraph/vk/draw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/xbox/nv2a/pgraph/vk/draw.c b/hw/xbox/nv2a/pgraph/vk/draw.c index 148bfd6082..5de1169041 100644 --- a/hw/xbox/nv2a/pgraph/vk/draw.c +++ b/hw/xbox/nv2a/pgraph/vk/draw.c @@ -42,7 +42,6 @@ void pgraph_vk_draw_begin(NV2AState *d) if (is_nop_draw) { NV2A_VK_DPRINTF("nop!"); - NV2A_VK_DGROUP_END(); return; } } @@ -709,6 +708,8 @@ static void create_pipeline(PGRAPHState *pg) // FIXME: If nothing was dirty, don't even try creating the key or hashing. // Just use the same pipeline. if (r->pipeline_binding && !check_pipeline_dirty(pg)) { + NV2A_VK_DPRINTF("Cache hit"); + NV2A_VK_DGROUP_END(); return; }