[clang] [llvm] [NFC][HLSL][DXIL] Move D3D12.h enums and flags to DXILABI (PR #143041)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 9 10:14:23 PDT 2025
================
@@ -99,6 +99,128 @@ enum class SamplerFeedbackType : uint32_t {
const unsigned MinWaveSize = 4;
const unsigned MaxWaveSize = 128;
+// Definition of the various d3d12.h enumerations and flags. The definitions of
+// all values here correspond to their description in the d3d12.h header and
+// are carried over from their values in DXC. For reference:
+// https://learn.microsoft.com/en-us/windows/win32/api/d3d12/
+
+// D3D12_ROOT_SIGNATURE_FLAGS
+enum class RootFlags : uint32_t {
----------------
joaosaffran wrote:
Yeah, there are scenarios in the binary format and testing that such table gen simplifies the code quite a bit.
https://github.com/llvm/llvm-project/pull/143041
More information about the llvm-commits
mailing list