Skip to content

Commit

Permalink
remove extra var redecl
Browse files Browse the repository at this point in the history
  • Loading branch information
bob80905 committed Dec 18, 2023
1 parent fca8d75 commit 6a52940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/HLSL/DxilValidation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2163,7 +2163,7 @@ static void ValidateDxilOperationCallInProfile(CallInst *CI,
if (ValCtx.DxilMod.HasDxilFunctionProps(F)) {
DxilModule &DM = ValCtx.DxilMod;
DxilEntryProps &entryProps = DM.GetDxilEntryProps(F);
DXIL::NodeLaunchType nodeLaunchType = entryProps.props.Node.LaunchType;
nodeLaunchType = entryProps.props.Node.LaunchType;
shaderKind = ValCtx.DxilMod.GetDxilFunctionProps(F).shaderKind;
} else if (ValCtx.DxilMod.IsPatchConstantShader(F))
shaderKind = DXIL::ShaderKind::Hull;
Expand Down

0 comments on commit 6a52940

Please sign in to comment.