nv2a: Add note about downloading dirty surfaces during flush

This commit is contained in:
Matt Borgerson 2024-07-26 17:21:01 -07:00 committed by mborgerson
parent 6fd0f175b4
commit 98fa394f84
2 changed files with 6 additions and 0 deletions

View File

@ -1396,6 +1396,9 @@ static void flush_surfaces(NV2AState *d)
SurfaceBinding *s, *next;
QTAILQ_FOREACH_SAFE(s, &r->surfaces, entry, next) {
// FIXME: We should download all surfaces to ram, but need to
// investigate corruption issue
// pgraph_gl_surface_download_if_dirty(d, s);
pgraph_gl_surface_invalidate(d, s);
}
}

View File

@ -1477,6 +1477,9 @@ void pgraph_vk_surface_flush(NV2AState *d)
SurfaceBinding *s, *next;
QTAILQ_FOREACH_SAFE(s, &r->surfaces, entry, next) {
// FIXME: We should download all surfaces to ram, but need to
// investigate corruption issue
pgraph_vk_surface_download_if_dirty(d, s);
invalidate_surface(d, s);
}
prune_invalid_surfaces(r, 0);