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

Finn Plummer via All-commits all-commits at lists.llvm.org
Wed Feb 12 15:31:47 PST 2025


  Branch: refs/heads/users/inbelic/pr-123985
  Home:   https://github.com/llvm/llvm-project
  Commit: d9b0d8ee0f8420c56a6c2c5e0c2234fbc2a22d7e
      https://github.com/llvm/llvm-project/commit/d9b0d8ee0f8420c56a6c2c5e0c2234fbc2a22d7e
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-02-12 (Wed, 12 Feb 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: 340a97f606e3041fe305609fce67ed358dc1cd83
      https://github.com/llvm/llvm-project/commit/340a97f606e3041fe305609fce67ed358dc1cd83
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-02-12 (Wed, 12 Feb 2025)

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

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


  Commit: 68cc33bc2aad5bcf546357a51d773c92573d3a89
      https://github.com/llvm/llvm-project/commit/68cc33bc2aad5bcf546357a51d773c92573d3a89
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-02-12 (Wed, 12 Feb 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: bc9f4b4c984bf149de1dbfc1e3c2d63fe5465534
      https://github.com/llvm/llvm-project/commit/bc9f4b4c984bf149de1dbfc1e3c2d63fe5465534
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-02-12 (Wed, 12 Feb 2025)

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

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


  Commit: 007fc5b767ee9f33d17e1d3f5a32e3d5a16ad9db
      https://github.com/llvm/llvm-project/commit/007fc5b767ee9f33d17e1d3f5a32e3d5a16ad9db
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-02-12 (Wed, 12 Feb 2025)

  Changed paths:
    M clang/lib/Sema/SemaHLSL.cpp
    M clang/test/AST/HLSL/RootSignatures-AST.hlsl

  Log Message:
  -----------
  review comments:

- remove bad use of namespaces
- simplify test case checking


  Commit: c0e5fe16b22f00313359eb10f05bd7f6bf5ca0b1
      https://github.com/llvm/llvm-project/commit/c0e5fe16b22f00313359eb10f05bd7f6bf5ca0b1
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-02-12 (Wed, 12 Feb 2025)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/lib/Sema/SemaHLSL.cpp

  Log Message:
  -----------
  rebase changes


  Commit: bde15d0367d5b69dbfecb2ac0ba964040fd4178f
      https://github.com/llvm/llvm-project/commit/bde15d0367d5b69dbfecb2ac0ba964040fd4178f
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-02-12 (Wed, 12 Feb 2025)

  Changed paths:
    M clang/lib/Sema/SemaHLSL.cpp
    M clang/test/SemaHLSL/RootSignature-err.hlsl

  Log Message:
  -----------
  rebase onto parser review changes


  Commit: 1abd7acafb0f344e00555658444ce164286190bb
      https://github.com/llvm/llvm-project/commit/1abd7acafb0f344e00555658444ce164286190bb
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-02-12 (Wed, 12 Feb 2025)

  Changed paths:
    M clang/lib/Sema/SemaHLSL.cpp
    M clang/test/SemaHLSL/RootSignature-err.hlsl

  Log Message:
  -----------
  review: add wrong number of arguments diagnostic


  Commit: 4180ab7168093a9f8f8bec32233dd3f9d10dc0bb
      https://github.com/llvm/llvm-project/commit/4180ab7168093a9f8f8bec32233dd3f9d10dc0bb
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-02-12 (Wed, 12 Feb 2025)

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

  Log Message:
  -----------
  review: track update to adding float support issue


Compare: https://github.com/llvm/llvm-project/compare/14e7253752dd...4180ab716809

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