mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-03 21:25:04 -06:00
rsx: Select correct image aspect for blit engine targets.
This commit is contained in:
parent
fd751e3e7b
commit
41e7d2aa0a
@ -2441,7 +2441,9 @@ namespace rsx
|
|||||||
typeless_info.src_context = texture_upload_context::framebuffer_storage;
|
typeless_info.src_context = texture_upload_context::framebuffer_storage;
|
||||||
}
|
}
|
||||||
|
|
||||||
const auto preferred_dst_format = helpers::get_sized_blit_format(dst_is_argb8, dst_is_depth_surface);
|
const auto src_is_depth_format = helpers::is_gcm_depth_format(typeless_info.src_gcm_format);
|
||||||
|
const auto preferred_dst_format = helpers::get_sized_blit_format(dst_is_argb8, src_is_depth_format);
|
||||||
|
|
||||||
if (cached_dest && !use_null_region)
|
if (cached_dest && !use_null_region)
|
||||||
{
|
{
|
||||||
// Prep surface
|
// Prep surface
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user