File tree Expand file tree Collapse file tree
src/libANGLE/renderer/vulkan Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1449,10 +1449,6 @@ void Renderer::ensureCapsInitialized() const
14491449 mNativePLSOptions .type == ShPixelLocalStorageType::FramebufferFetch;
14501450 if (hasMRTFramebufferFetch)
14511451 {
1452- mNativeCaps .maxColorAttachments = std::min<uint32_t >(
1453- mNativeCaps .maxColorAttachments , limitsVk.maxPerStageDescriptorInputAttachments );
1454- mNativeCaps .maxDrawBuffers = std::min<uint32_t >(
1455- mNativeCaps .maxDrawBuffers , limitsVk.maxPerStageDescriptorInputAttachments );
14561452
14571453 // Make sure no more than the allowed input attachments bindings are used by descriptor set
14581454 // layouts. This number matches the number of color attachments because of framebuffer
@@ -1488,10 +1484,6 @@ void Renderer::ensureCapsInitialized() const
14881484 maxDrawBuffersWithDepthStencilInput >= 4 )
14891485 {
14901486 mNativeExtensions .shaderFramebufferFetchDepthStencilARM = true ;
1491- mNativeCaps .maxColorAttachments = maxColorAttachmentsWithDepthStencilInput;
1492- mNativeCaps .maxDrawBuffers = maxDrawBuffersWithDepthStencilInput;
1493- mMaxColorInputAttachmentCount =
1494- std::min<uint32_t >(mMaxColorInputAttachmentCount , mNativeCaps .maxColorAttachments );
14951487 }
14961488 }
14971489
You can’t perform that action at this time.
0 commit comments