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,
1142
1142
RangeInfo Info;
1143
1143
Info.LowerBound = Clause->Reg .Number ;
1144
1144
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 []
1149
1149
1150
1150
Info.Class = Clause->Type ;
1151
1151
Info.Space = Clause->Space ;
@@ -1158,7 +1158,8 @@ bool SemaHLSL::handleRootSignatureDecl(HLSLRootSignatureDecl *D,
1158
1158
assert (Table->NumClauses <= Infos.size () && " RootElement" );
1159
1159
// The last Table->NumClauses elements of Infos are the owned Clauses
1160
1160
// generated RangeInfo
1161
- auto TableInfos = MutableArrayRef<RangeInfo>(Infos).take_back (Table->NumClauses );
1161
+ auto TableInfos =
1162
+ MutableArrayRef<RangeInfo>(Infos).take_back (Table->NumClauses );
1162
1163
for (RangeInfo &Info : TableInfos)
1163
1164
Info.Visibility = Table->Visibility ;
1164
1165
}
You can’t perform that action at this time.
0 commit comments