mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-04 23:55:08 +01:00
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:
parent
a60f238479
commit
dc3f7f1ab4
@ -52,7 +52,7 @@ namespace skyline::gpu::interconnect {
|
||||
.colorAttachment = 0,
|
||||
.clearValue = value,
|
||||
}, vk::ClearRect{
|
||||
.rect = scissor,
|
||||
.rect = vk::Rect2D{.extent = scissor},
|
||||
.baseArrayLayer = 0,
|
||||
.layerCount = 1,
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user