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() {
381
381
Sampler.MipLODBias = Params->MipLODBias .value ();
382
382
383
383
if (Params->MaxAnisotropy .has_value ())
384
- Sampler.MaxAnisotropy = Params->MaxAnisotropy .value ();
384
+ Sampler.MaxAnisotropy = Params->MaxAnisotropy .value ();
385
385
386
386
if (Params->MinLOD .has_value ())
387
- Sampler.MinLOD = Params->MinLOD .value ();
387
+ Sampler.MinLOD = Params->MinLOD .value ();
388
388
389
389
if (Params->MaxLOD .has_value ())
390
- Sampler.MaxLOD = Params->MaxLOD .value ();
390
+ Sampler.MaxLOD = Params->MaxLOD .value ();
391
391
392
392
if (consumeExpectedToken (TokenKind::pu_r_paren,
393
393
diag::err_hlsl_unexpected_end_of_params,
@@ -720,7 +720,7 @@ RootSignatureParser::parseStaticSamplerParams() {
720
720
if (consumeExpectedToken (TokenKind::pu_equal))
721
721
return std::nullopt;
722
722
723
- auto MinLOD= parseFloatParam ();
723
+ auto MinLOD = parseFloatParam ();
724
724
if (!MinLOD.has_value ())
725
725
return std::nullopt;
726
726
Params.MinLOD = MinLOD;
@@ -737,7 +737,7 @@ RootSignatureParser::parseStaticSamplerParams() {
737
737
if (consumeExpectedToken (TokenKind::pu_equal))
738
738
return std::nullopt;
739
739
740
- auto MaxLOD= parseFloatParam ();
740
+ auto MaxLOD = parseFloatParam ();
741
741
if (!MaxLOD.has_value ())
742
742
return std::nullopt;
743
743
Params.MaxLOD = MaxLOD;
You can’t perform that action at this time.
0 commit comments