Skip to content

VK_KHR_dynamic_rendering_local_read and maxColorAttachments limit #2755

@kegorov0793

Description

@kegorov0793

Traditional render pass model allowed different attachment subsets per subpass, so total distinct attachments could exceed maxColorAttachments.
With dynamic rendering local read, all attachments must be bound in vkCmdBeginRendering, constrained by maxColorAttachments. Splitting into separate rendering blocks avoids the limit but loses local‑read tile‑memory advantages.

Example: two logical subpasses each render to 8 distinct color attachments, then a third logical subpass reads one attachment from each of the prior subpasses. The total distinct attachments exceeds maxColorAttachments.

What is the recommended pattern when the total distinct color attachments across logical subpasses exceed maxColorAttachments?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions