[PATCH] D133983: [HLSL] Add SV_DispatchThreadID

Xiang Li via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 15 15:51:18 PDT 2022


python3kgae created this revision.
python3kgae added reviewers: beanz, pow2clk, bogner.
Herald added a reviewer: aaron.ballman.
Herald added a subscriber: Anastasia.
Herald added a project: All.
python3kgae requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Support SV_DispatchThreadID attribute.
Translate it into dx.thread.id in clang codeGen.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D133983

Files:
  clang/include/clang/Basic/Attr.td
  clang/include/clang/Basic/AttrDocs.td
  clang/lib/CodeGen/CGHLSLRuntime.cpp
  clang/lib/CodeGen/CGHLSLRuntime.h
  clang/lib/Sema/SemaDeclAttr.cpp
  clang/test/CodeGenHLSL/semantics/DispatchThreadID.hlsl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133983.460523.patch
Type: text/x-patch
Size: 6859 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220915/d337f99a/attachment.bin>


More information about the cfe-commits mailing list