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) {
296296 NewParam.ParameterType =
297297 support::endian::read<dxbc::RootParameterType,
298298 llvm::endianness::little>(Current);
299- if (!dxbc::RootSignatureValidations::isValidParameterType (
300- NewParam.ParameterType ))
299+ if (!dxbc::RootSignatureValidations::isValidParameterType (NewParam.ParameterType ))
301300 return validationFailed (" unsupported parameter type value read: " +
302301 llvm::Twine ((uint32_t )NewParam.ParameterType ));
303302
304303 Current += sizeof (dxbc::RootParameterType);
305304
306305 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 ))
311309 return validationFailed (" unsupported shader visility flag value read: " +
312310 llvm::Twine ((uint32_t )NewParam.ShaderVisibility ));
313311
Original file line number Diff line number Diff line change @@ -272,7 +272,6 @@ void DXContainerWriter::writeParts(raw_ostream &OS) {
272272 RS.Parameters = std::move (P.RootSignature ->Parameters );
273273
274274 RS.write (OS);
275-
276275 break ;
277276 }
278277 uint64_t BytesWritten = OS.tell () - DataStart;
You can’t perform that action at this time.
0 commit comments