[all-commits] [llvm/llvm-project] 9cdd33: [HLSL][RootSignature] Metadata generation of RootF...
Finn Plummer via All-commits
all-commits at lists.llvm.org
Fri May 30 16:52:40 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9cdd33db169d0ba9853f2c9538cb15ec4b506793
https://github.com/llvm/llvm-project/commit/9cdd33db169d0ba9853f2c9538cb15ec4b506793
Author: Finn Plummer <finn.c.plum at gmail.com>
Date: 2025-05-30 (Fri, 30 May 2025)
Changed paths:
M clang/test/CodeGenHLSL/RootSignature.hlsl
M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h
M llvm/lib/Frontend/HLSL/HLSLRootSignature.cpp
Log Message:
-----------
[HLSL][RootSignature] Metadata generation of RootFlags, RootConstants, RootDescriptors (#142010)
Implements metadata generation of a Root Signature from its in-memory
representation. It follows the same style as:
https://github.com/llvm/llvm-project/pull/139633.
This pr handles RootFlags, RootConstants and RootDescriptors.
The metadata follows the format described
[here](https://github.com/llvm/wg-hlsl/blob/main/proposals/0002-root-signature-in-clang.md#metadata-schema).
- Implement `BuildRoot[Flags|Constants|Descriptors]` into
`HLSLRootSignature.h`
- Add sample testcases demonstrating functionality
Note: there is no validation of metadata nodes as the
`llvm::hlsl::rootsig::RootElement` that generates it will have already
been validated.
First part of https://github.com/llvm/llvm-project/issues/126586.
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