Skip to content

Commit 628937c

Browse files
author
joaosaffran
committed
fix pr
1 parent 932062e commit 628937c

File tree

2 files changed

+0
-30
lines changed

2 files changed

+0
-30
lines changed

llvm/include/llvm/BinaryFormat/DXContainer.h

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff 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-
9066
struct 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
};

llvm/include/llvm/ObjectYAML/DXContainerYAML.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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
};

0 commit comments

Comments
 (0)