File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -381,13 +381,13 @@ std::optional<StaticSampler> RootSignatureParser::parseStaticSampler() {
381381 Sampler.MipLODBias = Params->MipLODBias .value ();
382382
383383 if (Params->MaxAnisotropy .has_value ())
384- Sampler.MaxAnisotropy = Params->MaxAnisotropy .value ();
384+ Sampler.MaxAnisotropy = Params->MaxAnisotropy .value ();
385385
386386 if (Params->MinLOD .has_value ())
387- Sampler.MinLOD = Params->MinLOD .value ();
387+ Sampler.MinLOD = Params->MinLOD .value ();
388388
389389 if (Params->MaxLOD .has_value ())
390- Sampler.MaxLOD = Params->MaxLOD .value ();
390+ Sampler.MaxLOD = Params->MaxLOD .value ();
391391
392392 if (consumeExpectedToken (TokenKind::pu_r_paren,
393393 diag::err_hlsl_unexpected_end_of_params,
@@ -720,7 +720,7 @@ RootSignatureParser::parseStaticSamplerParams() {
720720 if (consumeExpectedToken (TokenKind::pu_equal))
721721 return std::nullopt ;
722722
723- auto MinLOD= parseFloatParam ();
723+ auto MinLOD = parseFloatParam ();
724724 if (!MinLOD.has_value ())
725725 return std::nullopt ;
726726 Params.MinLOD = MinLOD;
@@ -737,7 +737,7 @@ RootSignatureParser::parseStaticSamplerParams() {
737737 if (consumeExpectedToken (TokenKind::pu_equal))
738738 return std::nullopt ;
739739
740- auto MaxLOD= parseFloatParam ();
740+ auto MaxLOD = parseFloatParam ();
741741 if (!MaxLOD.has_value ())
742742 return std::nullopt ;
743743 Params.MaxLOD = MaxLOD;
You can’t perform that action at this time.
0 commit comments