File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -296,18 +296,16 @@ Error DirectX::RootSignature::parse(StringRef Data) {
296
296
NewParam.ParameterType =
297
297
support::endian::read<dxbc::RootParameterType,
298
298
llvm::endianness::little>(Current);
299
- if (!dxbc::RootSignatureValidations::isValidParameterType (
300
- NewParam.ParameterType ))
299
+ if (!dxbc::RootSignatureValidations::isValidParameterType (NewParam.ParameterType ))
301
300
return validationFailed (" unsupported parameter type value read: " +
302
301
llvm::Twine ((uint32_t )NewParam.ParameterType ));
303
302
304
303
Current += sizeof (dxbc::RootParameterType);
305
304
306
305
NewParam.ShaderVisibility =
307
- support::endian::read<dxbc::ShaderVisibility, llvm::endianness::little>(
308
- Current);
309
- if (!dxbc::RootSignatureValidations::isValidShaderVisibility (
310
- NewParam.ShaderVisibility ))
306
+ support::endian::read<dxbc::ShaderVisibility,
307
+ llvm::endianness::little>(Current);
308
+ if (!dxbc::RootSignatureValidations::isValidShaderVisibility (NewParam.ShaderVisibility ))
311
309
return validationFailed (" unsupported shader visility flag value read: " +
312
310
llvm::Twine ((uint32_t )NewParam.ShaderVisibility ));
313
311
Original file line number Diff line number Diff line change @@ -272,7 +272,6 @@ void DXContainerWriter::writeParts(raw_ostream &OS) {
272
272
RS.Parameters = std::move (P.RootSignature ->Parameters );
273
273
274
274
RS.write (OS);
275
-
276
275
break ;
277
276
}
278
277
uint64_t BytesWritten = OS.tell () - DataStart;
You can’t perform that action at this time.
0 commit comments