mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 18:53:28 +01:00
vk: Ensure MSAA surfaces are in RW state before attempting to transfer data.
This commit is contained in:
parent
1a73b0a0da
commit
675c9a7945
@ -530,6 +530,18 @@ namespace vk
|
||||
resolve(cmd);
|
||||
}
|
||||
|
||||
if (samples() > 1)
|
||||
{
|
||||
// Ensure a writable surface exists for this surface
|
||||
get_resolve_target_safe(cmd);
|
||||
}
|
||||
|
||||
if (src_texture->samples() > 1)
|
||||
{
|
||||
// Ensure a readable surface exists for the source
|
||||
src_texture->get_resolve_target_safe(cmd);
|
||||
}
|
||||
|
||||
hw_blitter.scale_image(
|
||||
cmd,
|
||||
src_texture->get_surface(rsx::surface_access::transfer_read),
|
||||
|
Loading…
Reference in New Issue
Block a user