mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-04 23:55:08 +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