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

[SPIRV][HLSL] Handle arrays of resources #111564

Merged
merged 6 commits into from
Oct 30, 2024

Commits on Oct 30, 2024

  1. [SPIRV][HLSL] Handle arrays of resources

    This commit adds the ability to get a particular resource from an array
    of resources using the handle_fromBinding intrinsic.
    
    The main changes are:
    
    1. Create an array when generating the type.
    2. Add capabilities from
    [SPV_EXT_descriptor_indexing](https://htmlpreview.github.io/?https://github.com/KhronosGroup/SPIRV-Registry/blob/main/extensions/EXT/SPV_EXT_descriptor_indexing.html).
    
    We are still missing the ability to declare a runtime array. That will
    be done in a follow up PR.
    s-perron committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    0b7953c View commit details
    Browse the repository at this point in the history
  2. Fix array size

    s-perron committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    3a265ee View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    16d6498 View commit details
    Browse the repository at this point in the history
  4. Changes from code review.

    s-perron committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    3d5050a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5681628 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    eb5cf14 View commit details
    Browse the repository at this point in the history