nv2a/vk: Fix create_pipeline debug marker inbalance

This commit is contained in:
Matt Borgerson 2024-08-01 01:01:25 -07:00 committed by mborgerson
parent 9ab1f96911
commit 69b5318cb5
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}