mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-10 06:44:34 +00:00
facepalm
This commit is contained in:
parent
3b8eab87dd
commit
278cb52f19
@ -275,7 +275,7 @@ namespace vk
|
|||||||
if (dstLayout != preferred_dst_format)
|
if (dstLayout != preferred_dst_format)
|
||||||
change_image_layout(cmd, dst, dstLayout, preferred_dst_format, vk::get_image_subresource_range(0, 0, 1, 1, aspect));
|
change_image_layout(cmd, dst, dstLayout, preferred_dst_format, vk::get_image_subresource_range(0, 0, 1, 1, aspect));
|
||||||
|
|
||||||
if (compatible_formats && src_width == dst_width && src_height != dst_height)
|
if (compatible_formats && src_width == dst_width && src_height == dst_height)
|
||||||
{
|
{
|
||||||
VkImageCopy copy_rgn;
|
VkImageCopy copy_rgn;
|
||||||
copy_rgn.srcOffset = { (int32_t)src_x_offset, (int32_t)src_y_offset, 0 };
|
copy_rgn.srcOffset = { (int32_t)src_x_offset, (int32_t)src_y_offset, 0 };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user