mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-29 22:20:48 +00: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);
|
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(
|
hw_blitter.scale_image(
|
||||||
cmd,
|
cmd,
|
||||||
src_texture->get_surface(rsx::surface_access::transfer_read),
|
src_texture->get_surface(rsx::surface_access::transfer_read),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user