Fix Incorrect Scissor Extent

The decomposition from `texture::Dimension` to `vk::Rect2D` was somehow implicit and completely incorrect resulting in wrong conversion with undefined values. It's now been fixed by explicitly setting `vk::Rect2D::extent` to `scissor` specifically.
This commit is contained in:
PixelyIon 2021-10-26 20:07:13 +05:30
parent a60f238479
commit dc3f7f1ab4

View File

@ -52,7 +52,7 @@ namespace skyline::gpu::interconnect {
.colorAttachment = 0, .colorAttachment = 0,
.clearValue = value, .clearValue = value,
}, vk::ClearRect{ }, vk::ClearRect{
.rect = scissor, .rect = vk::Rect2D{.extent = scissor},
.baseArrayLayer = 0, .baseArrayLayer = 0,
.layerCount = 1, .layerCount = 1,
}); });