nv2a/vk: Report dirty if no pipeline is bound

This commit is contained in:
Matt Borgerson
2024-12-31 01:37:05 -07:00
committed by mborgerson
parent 8dc3b646a3
commit 58c1daf594
+2 -3
View File
@@ -628,10 +628,9 @@ static bool check_render_pass_dirty(PGRAPHState *pg)
static bool check_pipeline_dirty(PGRAPHState *pg)
{
PGRAPHVkState *r = pg->vk_renderer_state;
assert(r->pipeline_binding);
if (r->shader_bindings_changed || r->texture_bindings_changed ||
check_render_pass_dirty(pg)) {
if (!r->pipeline_binding || r->shader_bindings_changed ||
r->texture_bindings_changed || check_render_pass_dirty(pg)) {
return true;
}