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

Document the plan for how resource attributes map to DXIL and SPIR-V #68

Open
Tracked by #8 ...
bogner opened this issue Sep 12, 2024 · 1 comment · May be fixed by #76
Open
Tracked by #8 ...

Document the plan for how resource attributes map to DXIL and SPIR-V #68

bogner opened this issue Sep 12, 2024 · 1 comment · May be fixed by #76
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

@damyanp damyanp moved this to Active in HLSL Support Oct 7, 2024
@bogner bogner moved this from Active to Reviewing in HLSL Support Oct 10, 2024
@bogner bogner linked a pull request Jan 28, 2025 that will close this issue
@bogner bogner changed the title Proposal for how resource attributes will map to DXIL and SPIR-V Document the plan for how resource attributes map to DXIL and SPIR-V Feb 7, 2025
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

Successfully merging a pull request may close this issue.

1 participant