We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6abbf7 commit 2971f5fCopy full SHA for 2971f5f
llvm/lib/Frontend/HLSL/RootSignatureValidations.cpp
@@ -181,9 +181,7 @@ bool verifyBorderColor(uint32_t BorderColor) {
181
bool verifyLOD(float LOD) { return !std::isnan(LOD); }
182
183
bool verifyOffsetOverflow(uint64_t Register) {
184
- if (Register > ~0U)
185
- return true;
186
- return false;
+ return Register > ~0U;
187
}
188
189
bool verifyRegisterOverflow(uint64_t Register, uint32_t NumDescriptors) {
0 commit comments