KhronosGroup / KhronosGroup/Vulkan-Docs

maxColorAttachments and maxFragmentOutputAttachments restrictions

Open
#913 2 comments 1 reaction 1 assignee Claimed by @jeffbolznv View on GitHub
Dominant language
JavaScript
Stars
3.3k
Forks
549
Avg merge
5d 5h
Merged PRs (30d)
2

Description

ad #899

As we established, it doesnt relly matter at the moment, but:

1) For sanity, shouldn't `maxColorAttachments` be guaranteed to be greater or equal to `maxFragmentOutputAttachments`? It feels weird the shaders could use more outputs than the renderpass can ever load (though I can imagine the opposite).

2) `maxPerStageResources` footnote says it must be at least sum of stuff including `maxColorAttachments`. Shouldn't that conceptually say `maxFragmentOutputAttachments` instead?
All of the other limits in the sum are limits on Locations in shader interfaces, except the `maxColorAttachments`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.