[clang] [HLSL] Split out the ROV attribute from the resource attribute, make it a new spellable attribute. (PR #102414)
Helena Kotas via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 13 12:30:21 PDT 2024
================
@@ -296,12 +296,13 @@ void CGHLSLRuntime::annotateHLSLResource(const VarDecl *D, GlobalVariable *GV) {
for (auto *FD : RD->fields()) {
const auto *HLSLResAttr = FD->getAttr<HLSLResourceAttr>();
const auto *HLSLResClassAttr = FD->getAttr<HLSLResourceClassAttr>();
+ const auto *ROVAttr = FD->getAttr<HLSLROVAttr>();
----------------
hekota wrote:
`ROVAttr` is not used
https://github.com/llvm/llvm-project/pull/102414
More information about the cfe-commits
mailing list