[all-commits] [llvm/llvm-project] 9efdfc: [HLSL] Define the HLSLRootSignature Attr

Finn Plummer via All-commits all-commits at lists.llvm.org
Wed Jan 29 09:28:09 PST 2025


  Branch: refs/heads/users/inbelic/pr-123985
  Home:   https://github.com/llvm/llvm-project
  Commit: 9efdfc1ca3d6c02e441715061ed04b52504bc179
      https://github.com/llvm/llvm-project/commit/9efdfc1ca3d6c02e441715061ed04b52504bc179
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-01-28 (Tue, 28 Jan 2025)

  Changed paths:
    M clang/include/clang/AST/Attr.h
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td
    M clang/include/clang/Sema/SemaHLSL.h
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/lib/Sema/SemaHLSL.cpp
    A clang/test/AST/HLSL/RootSignatures-AST.hlsl

  Log Message:
  -----------
  [HLSL] Define the HLSLRootSignature Attr

- Defines HLSLRootSignature Attr in `Attr.td`
- Define and implement handleHLSLRootSignature in `SemaHLSL`
- Adds sample test case to show AST Node is generated in
`RootSignatures-AST.hlsl`

This commit will "hook-up" the seperately defined RootSignature parser
and invoke it to create the RootElements, then store them on the
ASTContext and finally store the reference to the Elements in
RootSignatureAttr


  Commit: 8d500b5d49a2a77089c32ea76631f8c835384656
      https://github.com/llvm/llvm-project/commit/8d500b5d49a2a77089c32ea76631f8c835384656
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-01-28 (Tue, 28 Jan 2025)

  Changed paths:
    M clang/lib/Sema/SemaHLSL.cpp

  Log Message:
  -----------
  clang format


  Commit: 32d121bc6780408d5e07a5605acef9117f3fe0a1
      https://github.com/llvm/llvm-project/commit/32d121bc6780408d5e07a5605acef9117f3fe0a1
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-01-28 (Tue, 28 Jan 2025)

  Changed paths:
    M clang/include/clang/Basic/AttrDocs.td

  Log Message:
  -----------
  add docs


  Commit: e6373e0e5752fc0cb46d63265b1bee6cbb759729
      https://github.com/llvm/llvm-project/commit/e6373e0e5752fc0cb46d63265b1bee6cbb759729
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-01-28 (Tue, 28 Jan 2025)

  Changed paths:
    M clang/lib/Sema/SemaHLSL.cpp

  Log Message:
  -----------
  rebase onto updated lex/parser prs

- we can now pass down the diagnostics for reporting
- update the namespace


  Commit: e07958a70dd58834f7240e85fe9931e90f4c23b5
      https://github.com/llvm/llvm-project/commit/e07958a70dd58834f7240e85fe9931e90f4c23b5
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-01-29 (Wed, 29 Jan 2025)

  Changed paths:
    A clang/test/SemaHLSL/RootSignature-err.hlsl

  Log Message:
  -----------
  add some additional error testing


Compare: https://github.com/llvm/llvm-project/compare/9efdfc1ca3d6%5E...e07958a70dd5

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list