================
@@ -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 {
----------------
bogner wrote:

Thinking about this some more, I think we're putting this in the wrong place 
here. These values are all part of the DXContainer, and we have definitions of 
them in `BinaryFormat/DXContainer.h`. It should be reasonable to depend on 
BinaryFormat anywhere we're using these, so we should probably just get them 
from there directly.



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

Reply via email to