mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
nv2a/vk: Report dirty if no pipeline is bound
This commit is contained in:
committed by
mborgerson
parent
8dc3b646a3
commit
58c1daf594
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user