HLSL uses a variety of named IR metadata and attributes to convey
additional information from the frontend to the backend. This document
tries to capture and document the named annotations to provide a
reference for future contributors.
Details
Details
- Reviewers
pow2clk python3kgae - Commits
- rGd20f9f8d2177: [Docs] [HLSL] Add IR reference for HLSL
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| clang/docs/HLSL/HLSLIRReference.rst | ||
|---|---|---|
| 13 | Once we document a metadata attribute, is it OK to update the format later? | |
| clang/docs/HLSL/HLSLIRReference.rst | ||
|---|---|---|
| 13 | Absolutely, none of this is a binding ABI, this document is just intended to be a reference. | |
| clang/docs/HLSL/HLSLIRReference.rst | ||
|---|---|---|
| 21 | Maybe only external global variables? | |
| clang/docs/HLSL/HLSLIRReference.rst | ||
|---|---|---|
| 21 | Do they have to be external? static RWBuffer<int> Buf is valid right? | |
| clang/docs/HLSL/HLSLIRReference.rst | ||
|---|---|---|
| 21 | static ones don't need to be in the table. | |
Once we document a metadata attribute, is it OK to update the format later?