[all-commits] [llvm/llvm-project] a4eb0d: [HLSL][RootSignature] Add metadata generation for ...

Finn Plummer via All-commits all-commits at lists.llvm.org
Thu May 15 14:54:21 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a4eb0db062b646907a2c19d54f8240fe4bdd98ce
      https://github.com/llvm/llvm-project/commit/a4eb0db062b646907a2c19d54f8240fe4bdd98ce
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-05-15 (Thu, 15 May 2025)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/lib/CodeGen/CGHLSLRuntime.cpp
    M clang/lib/Sema/SemaHLSL.cpp
    A clang/test/CodeGenHLSL/RootSignature.hlsl
    M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h
    M llvm/lib/Frontend/HLSL/HLSLRootSignature.cpp

  Log Message:
  -----------
  [HLSL][RootSignature] Add metadata generation for descriptor tables (#139633)

- prereq: Modify `RootSignatureAttr` to hold a reference to the owned
declaration
- Define and implement `MetadataBuilder` in `HLSLRootSignature`
- Integrate and invoke the builder in `CGHLSLRuntime.cpp` to generate
the Root Signature for any associated entry functions
- Add tests to demonstrate functionality in `RootSignature.hlsl`

Resolves https://github.com/llvm/llvm-project/issues/126584

Note: this is essentially just
https://github.com/llvm/llvm-project/pull/125131 rebased onto the new
approach of constructing a root signature decl, instead of holding the
elements in `AdditionalMembers`.



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