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 resources inside user defined structs in constant buffers #175

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

Support resources inside user defined structs in constant buffers #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.

Related to #127.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Designing
Development

No branches or pull requests

1 participant