Skip to content

Document support of resources inside user-defined structs #175

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

Open
Tracked by #8
hekota opened this issue Feb 18, 2025 · 0 comments
Open
Tracked by #8

Document support of resources inside user-defined structs #175

hekota opened this issue Feb 18, 2025 · 0 comments

Comments

@hekota
Copy link
Member

hekota commented Feb 18, 2025

Resources and arrays of resources can be declared inside user defined structs in constant buffers.

https://godbolt.org/z/afTe1eTzx

It looks like DXC only allows access to resources arrays using a constant expression and not dynamically.
Document supported cases and add test(s) to offload-test-suite.

Related to #127.

@hekota hekota moved this to Designing in HLSL Support Feb 18, 2025
@hekota hekota changed the title Support resources inside user defined structs in constant buffers Document support of resources inside user defined structs Apr 1, 2025
@hekota hekota changed the title Document support of resources inside user defined structs Document support of resources inside user-defined structs Apr 1, 2025
@damyanp damyanp moved this from Designing to Ready in HLSL Support Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready
Development

No branches or pull requests

1 participant