File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -275,14 +275,14 @@ void DXContainerWriter::writeParts(raw_ostream &OS) {
275
275
276
276
for (DXContainerYAML::RootParameterLocationYaml &L :
277
277
P.RootSignature ->Parameters .Locations ) {
278
- dxbc::RootParameterHeader Header{L.Header .Type , L.Header .Visibility ,
278
+ dxbc::RTS0::v1:: RootParameterHeader Header{L.Header .Type , L.Header .Visibility ,
279
279
L.Header .Offset };
280
280
281
281
switch (L.Header .Type ) {
282
282
case llvm::to_underlying (dxbc::RootParameterType::Constants32Bit): {
283
283
const DXContainerYAML::RootConstantsYaml &ConstantYaml =
284
284
P.RootSignature ->Parameters .getOrInsertConstants (L);
285
- dxbc::RootConstants Constants;
285
+ dxbc::RTS0::v1:: RootConstants Constants;
286
286
Constants.Num32BitValues = ConstantYaml.Num32BitValues ;
287
287
Constants.RegisterSpace = ConstantYaml.RegisterSpace ;
288
288
Constants.ShaderRegister = ConstantYaml.ShaderRegister ;
Original file line number Diff line number Diff line change @@ -105,7 +105,6 @@ DXContainerYAML::RootSignatureYamlDesc::create(
105
105
llvm::to_underlying (dxbc::RootDescriptorFlag::Val)) > 0 ;
106
106
#include " llvm/BinaryFormat/DXContainerConstants.def"
107
107
}
108
- NewP.Data = YamlDescriptor;
109
108
}
110
109
}
111
110
#define ROOT_ELEMENT_FLAG (Num, Val ) \
You can’t perform that action at this time.
0 commit comments