File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -180,20 +180,15 @@ bool verifyBorderColor(uint32_t BorderColor) {
180
180
181
181
bool verifyLOD (float LOD) { return !std::isnan (LOD); }
182
182
183
- bool verifyOffsetOverflow (uint64_t Register) {
184
- return Register > ~0U ;
185
- }
183
+ bool verifyOffsetOverflow (uint64_t Register) { return Register > ~0U ; }
186
184
187
185
bool verifyRegisterOverflow (uint64_t Register, uint32_t NumDescriptors) {
188
186
if (NumDescriptors == ~0U )
189
187
return false ;
190
188
191
189
uint64_t UpperBound =
192
190
(uint64_t )Register + (uint64_t )NumDescriptors - (uint64_t )1U ;
193
- if (UpperBound > ~0U )
194
- return true ;
195
-
196
- return false ;
191
+ return UpperBound > ~0U ;
197
192
}
198
193
199
194
uint64_t updateAppendingRegister (uint64_t AppendingRegister,
You can’t perform that action at this time.
0 commit comments