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

Finn Plummer via All-commits all-commits at lists.llvm.org
Thu Jan 30 14:21:47 PST 2025


  Branch: refs/heads/users/inbelic/pr-123985
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ecb03776b24247e7c68e12d2d9aea8f26e2e0cc
      https://github.com/llvm/llvm-project/commit/8ecb03776b24247e7c68e12d2d9aea8f26e2e0cc
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-01-30 (Thu, 30 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: 18c0f31e231137ae8cdf7c3f2651c603a4fe47bf
      https://github.com/llvm/llvm-project/commit/18c0f31e231137ae8cdf7c3f2651c603a4fe47bf
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-01-30 (Thu, 30 Jan 2025)

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

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


  Commit: b44e8a8c4cbd16473536d8dd5e5129e151df002d
      https://github.com/llvm/llvm-project/commit/b44e8a8c4cbd16473536d8dd5e5129e151df002d
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-01-30 (Thu, 30 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: 14e7253752ddf98e953061dfbf28a008b18f10ed
      https://github.com/llvm/llvm-project/commit/14e7253752ddf98e953061dfbf28a008b18f10ed
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-01-30 (Thu, 30 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/e07958a70dd5...14e7253752dd

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