A new EnumArgument ResourceKind is added for HLSLResourceAttr.
This will be use to get resource kind instead of parse it from the type name.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D135335  
[HLSL] Add Resource kind for HLSLResourceAttr. ClosedPublic Authored by python3kgae on Oct 5 2022, 5:35 PM. 
Details Summary A new EnumArgument ResourceKind is added for HLSLResourceAttr. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Oct 11 2022, 5:37 AM Closed by commit rGb267ac49e764: [HLSL] Add Resource kind for HLSLResourceAttr. (authored by python3kgae).  ·  Explain WhyOct 11 2022, 9:41 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 466842 clang/include/clang/Basic/Attr.td
 clang/lib/Sema/HLSLExternalSemaSource.cpp
 clang/test/AST/HLSL/RWBuffer-AST.hlsl
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||