================ @@ -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:
I think we should generate this values using tablegen, like we do in `llvm/BinaryFormat/DXContainerConstants.def`. In obj2yaml/yaml2obj this file is reused to provide a nicer interface to set flags, see the example here: https://github.com/llvm/llvm-project/blob/ca4dfca5c7b417048e074a3c4341ea9297f7086a/llvm/lib/ObjectYAML/DXContainerYAML.cpp#L364 https://github.com/llvm/llvm-project/pull/143041 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits