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) {
275275
276276 for (DXContainerYAML::RootParameterLocationYaml &L :
277277 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 ,
279279 L.Header .Offset };
280280
281281 switch (L.Header .Type ) {
282282 case llvm::to_underlying (dxbc::RootParameterType::Constants32Bit): {
283283 const DXContainerYAML::RootConstantsYaml &ConstantYaml =
284284 P.RootSignature ->Parameters .getOrInsertConstants (L);
285- dxbc::RootConstants Constants;
285+ dxbc::RTS0::v1:: RootConstants Constants;
286286 Constants.Num32BitValues = ConstantYaml.Num32BitValues ;
287287 Constants.RegisterSpace = ConstantYaml.RegisterSpace ;
288288 Constants.ShaderRegister = ConstantYaml.ShaderRegister ;
Original file line number Diff line number Diff line change @@ -105,7 +105,6 @@ DXContainerYAML::RootSignatureYamlDesc::create(
105105 llvm::to_underlying (dxbc::RootDescriptorFlag::Val)) > 0 ;
106106#include " llvm/BinaryFormat/DXContainerConstants.def"
107107 }
108- NewP.Data = YamlDescriptor;
109108 }
110109 }
111110#define ROOT_ELEMENT_FLAG (Num, Val ) \
You can’t perform that action at this time.
0 commit comments