Skip to content

Commit 64e13df

Browse files
committed
self-review: remove lingering cast
1 parent 001ea4d commit 64e13df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Parse/ParseHLSLRootSignature.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ RootSignatureParser::parseStaticSamplerParams() {
682682
auto MipLODBias = parseFloatParam();
683683
if (!MipLODBias.has_value())
684684
return std::nullopt;
685-
Params.MipLODBias = (float)*MipLODBias;
685+
Params.MipLODBias = MipLODBias;
686686
}
687687
} while (tryConsumeExpectedToken(TokenKind::pu_comma));
688688

0 commit comments

Comments
 (0)