mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 10:18:40 +12: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
|
// Final dimensions are a match
|
||||||
if (xfer_info.src_is_typeless || xfer_info.dst_is_typeless)
|
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 };
|
vk::copy_image_typeless(cmd, src, dst, src_area, dst_area, 1, src->aspect(), dst->aspect());
|
||||||
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());
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue