[all-commits] [llvm/llvm-project] 14ae5d: [HLSL] Add SV_DispatchThreadID

Xiang Li via All-commits all-commits at lists.llvm.org
Tue Oct 18 16:17:33 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 14ae5d2b745f76018a963b395fc9d7ad987f1c5c
      https://github.com/llvm/llvm-project/commit/14ae5d2b745f76018a963b395fc9d7ad987f1c5c
  Author: Xiang Li <python3kgae at outlook.com>
  Date:   2022-10-18 (Tue, 18 Oct 2022)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/CodeGen/CGHLSLRuntime.cpp
    M clang/lib/CodeGen/CGHLSLRuntime.h
    M clang/lib/Parse/ParseHLSL.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    A clang/test/CodeGenHLSL/semantics/DispatchThreadID.hlsl
    A clang/test/CodeGenHLSL/sret_output.hlsl
    M clang/test/SemaHLSL/Semantics/entry_parameter.hlsl
    A clang/test/SemaHLSL/Semantics/invalid_entry_parameter.hlsl
    A clang/test/SemaHLSL/Semantics/valid_entry_parameter.hlsl

  Log Message:
  -----------
  [HLSL] Add SV_DispatchThreadID

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

Reviewed By: beanz, aaron.ballman

Differential Revision: https://reviews.llvm.org/D133983




More information about the All-commits mailing list