Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple unbounded arrays within a single SRG #25

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Commits on Mar 27, 2022

  1. Spill DX12 unbounded array space assignments

    DX12 binding semantics assign a register to each binding in an array and
    do not permit overlap. Spaces act as a "namespace" to permit multiple
    unbounded arrays to be present in a shader. Instead of restricting
    unbounded array use within an SRG, this change modifies the space
    assignment strategy. Unbounded arrays (on platforms that require it,
    DX12 in this case) are designated a unique space, starting from 1000 and
    counting up. This "spill space" is orthogonal to the space assignment
    corresponding with the SRG frequency.
    
    Signed-off-by: Jeremy Ong <[email protected]>
    jeremyong-az committed Mar 27, 2022
    Configuration menu
    Copy the full SHA
    c703adb View commit details
    Browse the repository at this point in the history