[PATCH] D122699: [HLSL] Add Semantic syntax, and SV_GroupIndex

Xiang Li via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 31 22:33:12 PDT 2022


python3kgae added inline comments.


================
Comment at: clang/lib/Sema/SemaDeclAttr.cpp:6916
+  Triple Target = S.Context.getTargetInfo().getTriple();
+  if (Target.getEnvironment() != Triple::Compute) {
+    uint32_t Pipeline =
----------------
It is OK to have SV_GroupIndex on a compute shader entry for library profile.



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122699/new/

https://reviews.llvm.org/D122699



More information about the cfe-commits mailing list