mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-26 12:54:14 +01:00
Fix Vulkan framebuffer dimensions calculations
The framebuffer needs to be large enough to contain both the render area extent and offset
This commit is contained in:
parent
0e1aa765fc
commit
048c2fdd29
@ -234,8 +234,8 @@ namespace skyline::gpu::interconnect::node {
|
||||
.renderPass = renderPass,
|
||||
.attachmentCount = static_cast<u32>(attachments.size()),
|
||||
.pAttachments = attachments.data(),
|
||||
.width = renderArea.extent.width,
|
||||
.height = renderArea.extent.height,
|
||||
.width = renderArea.extent.width + static_cast<u32>(renderArea.offset.x),
|
||||
.height = renderArea.extent.height + static_cast<u32>(renderArea.offset.y),
|
||||
.layers = 1,
|
||||
},
|
||||
vk::FramebufferAttachmentsCreateInfo{
|
||||
|
Loading…
Reference in New Issue
Block a user