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

Proposal for how resource attributes will map to DXIL and SPIR-V #68

Open
Tracked by #101557
bogner opened this issue Sep 12, 2024 · 1 comment
Open
Tracked by #101557

Proposal for how resource attributes will map to DXIL and SPIR-V #68

bogner opened this issue Sep 12, 2024 · 1 comment
Assignees

Comments

@bogner
Copy link
Collaborator

bogner commented Sep 12, 2024

Information on the current plan for how we're using attributes on the resource type in the clang AST to translate to DXIL is scattered about several different issues and various meeting notes, which can make it hard to find. Furthermore, discussion on the SPIR-V side of things has been fairly hand-wavy so far even though it does affect the design.

We need to write a proposal that encapsulates the decisions so far, and that discusses how the attributes will be used to drive code generation in both DXIL and SPIR-V. This work has some overlap with #42, but with a slightly different scope and focus. Once we've written this proposal we should take a look to see if it makes sense to combine the two documents.

@bogner
Copy link
Collaborator Author

bogner commented Sep 26, 2024

Playground for how dxc represents various resource types in dxil and spir-v: https://hlsl.godbolt.org/z/8MsGMvq7c

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

No branches or pull requests

1 participant