mirror of https://github.com/xemu-project/xemu.git
nv2a: Add note about downloading dirty surfaces during flush
This commit is contained in:
parent
6fd0f175b4
commit
98fa394f84
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue