File tree Expand file tree Collapse file tree 2 files changed +0
-30
lines changed Expand file tree Collapse file tree 2 files changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -63,40 +63,12 @@ struct ShaderHash {
6363 void swapBytes () { sys::swapByteOrder (Flags); }
6464};
6565
66- #define ROOT_PARAMETER (RootParameter ) RootParameter,
67- enum class RootParameterType {
68- #include " DXContainerConstants.def"
69- };
70-
71- #define SHADER_VISIBILITY (ShaderVisibility ) ShaderVisibility,
72- enum class ShaderVisibilityFlag {
73- #include " DXContainerConstants.def"
74- };
75-
76- struct RootConstants {
77- uint32_t ShaderRegister;
78- uint32_t RegisterSpace;
79- uint32_t Num32BitValues;
80- };
81-
82- struct RootParameter {
83- RootParameterType ParameterType;
84- union {
85- RootConstants Constants;
86- };
87- ShaderVisibilityFlag ShaderVisibility;
88- };
89-
9066struct RootSignatureDesc {
9167 uint32_t Size;
92- uint32_t Version;
9368 uint32_t Flags;
94- uint32_t NumParameters;
95- RootParameter *Parameters;
9669
9770 void swapBytes () {
9871 sys::swapByteOrder (Size);
99- sys::swapByteOrder (Version);
10072 sys::swapByteOrder (Flags);
10173 }
10274};
Original file line number Diff line number Diff line change @@ -80,8 +80,6 @@ struct RootSignatureDesc {
8080
8181 uint32_t getEncodedFlags ();
8282 uint32_t Size;
83- uint32_t NumParameters;
84- SmallVector<dxbc::RootParameter> Parameters;
8583
8684#include " llvm/BinaryFormat/DXContainerConstants.def"
8785};
You can’t perform that action at this time.
0 commit comments