mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-29 12:24:14 +01:00
R.I.P. Subpasses
This commit is contained in:
parent
a47f010653
commit
a02e1a2536
@ -304,8 +304,7 @@ namespace skyline::gpu::interconnect {
|
||||
ranges::equal(lastSubpassColorAttachments, colorAttachments) &&
|
||||
lastSubpassDepthStencilAttachment == depthStencilAttachment};
|
||||
|
||||
bool splitRenderPass{renderPass == nullptr || renderPass->renderArea != renderArea ||
|
||||
((noSubpassCreation || subpassCount >= gpu.traits.quirks.maxSubpassCount) && !attachmentsMatch) ||
|
||||
bool splitRenderPass{renderPass == nullptr || renderPass->renderArea != renderArea || !attachmentsMatch ||
|
||||
!ranges::all_of(outputAttachmentViews, [this] (auto view) { return !view || view->texture->ValidateRenderPassUsage(renderPassIndex, texture::RenderPassUsage::RenderTarget); }) ||
|
||||
!ranges::all_of(sampledImages, [this] (auto view) { return view->texture->ValidateRenderPassUsage(renderPassIndex, texture::RenderPassUsage::Sampled); })};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user