Skip to content

Commit

Permalink
nv2a/vk: Fix create_pipeline debug marker inbalance
Browse files Browse the repository at this point in the history
  • Loading branch information
mborgerson committed Aug 1, 2024
1 parent dedef74 commit 0c15e7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hw/xbox/nv2a/pgraph/vk/draw.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ void pgraph_vk_draw_begin(NV2AState *d)

if (is_nop_draw) {
NV2A_VK_DPRINTF("nop!");
NV2A_VK_DGROUP_END();
return;
}
}
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit 0c15e7d

Please sign in to comment.