mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-26 00:04:17 +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) &&
|
ranges::equal(lastSubpassColorAttachments, colorAttachments) &&
|
||||||
lastSubpassDepthStencilAttachment == depthStencilAttachment};
|
lastSubpassDepthStencilAttachment == depthStencilAttachment};
|
||||||
|
|
||||||
bool splitRenderPass{renderPass == nullptr || renderPass->renderArea != renderArea ||
|
bool splitRenderPass{renderPass == nullptr || renderPass->renderArea != renderArea || !attachmentsMatch ||
|
||||||
((noSubpassCreation || subpassCount >= gpu.traits.quirks.maxSubpassCount) && !attachmentsMatch) ||
|
|
||||||
!ranges::all_of(outputAttachmentViews, [this] (auto view) { return !view || view->texture->ValidateRenderPassUsage(renderPassIndex, texture::RenderPassUsage::RenderTarget); }) ||
|
!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); })};
|
!ranges::all_of(sampledImages, [this] (auto view) { return view->texture->ValidateRenderPassUsage(renderPassIndex, texture::RenderPassUsage::Sampled); })};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user