File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -1142,10 +1142,10 @@ bool SemaHLSL::handleRootSignatureDecl(HLSLRootSignatureDecl *D,
11421142 RangeInfo Info;
11431143 Info.LowerBound = Clause->Reg .Number ;
11441144 assert (0 < Clause->NumDescriptors && " Verified as part of TODO(#129940)" );
1145- Info.UpperBound =
1146- Clause-> NumDescriptors == RangeInfo::Unbounded
1147- ? RangeInfo::Unbounded
1148- : Info. LowerBound + Clause-> NumDescriptors - 1 ; // use inclusive ranges []
1145+ Info.UpperBound = Clause-> NumDescriptors == RangeInfo::Unbounded
1146+ ? RangeInfo::Unbounded
1147+ : Info. LowerBound + Clause-> NumDescriptors -
1148+ 1 ; // use inclusive ranges []
11491149
11501150 Info.Class = Clause->Type ;
11511151 Info.Space = Clause->Space ;
@@ -1158,7 +1158,8 @@ bool SemaHLSL::handleRootSignatureDecl(HLSLRootSignatureDecl *D,
11581158 assert (Table->NumClauses <= Infos.size () && " RootElement" );
11591159 // The last Table->NumClauses elements of Infos are the owned Clauses
11601160 // generated RangeInfo
1161- auto TableInfos = MutableArrayRef<RangeInfo>(Infos).take_back (Table->NumClauses );
1161+ auto TableInfos =
1162+ MutableArrayRef<RangeInfo>(Infos).take_back (Table->NumClauses );
11621163 for (RangeInfo &Info : TableInfos)
11631164 Info.Visibility = Table->Visibility ;
11641165 }
You can’t perform that action at this time.
0 commit comments