mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-23 04:55:22 +00:00
vk: Fixup
- Scaling is not needed for a direct typeless transfer!
This commit is contained in:
parent
ca5bc512ae
commit
0a2b6a290d
1 changed files with 1 additions and 3 deletions
|
@ -890,9 +890,7 @@ namespace vk
|
|||
// Final dimensions are a match
|
||||
if (xfer_info.src_is_typeless || xfer_info.dst_is_typeless)
|
||||
{
|
||||
const areai src_rect = src_area * size2f{ xfer_info.src_scaling_hint, 1.f };
|
||||
const areai dst_rect = dst_area * size2f{ xfer_info.dst_scaling_hint, 1.f };
|
||||
vk::copy_image_typeless(cmd, src, dst, src_rect, dst_rect, 1, src->aspect(), dst->aspect());
|
||||
vk::copy_image_typeless(cmd, src, dst, src_area, dst_area, 1, src->aspect(), dst->aspect());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue