mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-29 00:35:29 +03:00
Fix draws when no colour RTs and only depth is bound
This commit is contained in:
parent
d137051833
commit
d033ff2478
@ -2626,7 +2626,7 @@ namespace skyline::gpu::interconnect {
|
|||||||
|
|
||||||
cycle->AttachObject(fenceStorage);
|
cycle->AttachObject(fenceStorage);
|
||||||
}, vk::Rect2D{
|
}, vk::Rect2D{
|
||||||
.extent = activeColorRenderTargets.front()->texture->dimensions,
|
.extent = activeColorRenderTargets.empty() ? depthRenderTarget.guest.dimensions : activeColorRenderTargets.front()->texture->dimensions,
|
||||||
}, {}, activeColorRenderTargets, depthRenderTargetView);
|
}, {}, activeColorRenderTargets, depthRenderTargetView);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user