Unverified Commit 9b3baf98 by Geoffrey Martin-Noble Committed by GitHub

Add missing braces to if condition

The indentation implies this was the intention. Noticed the issue while trying to compile our code with -Werror -Wall
parent 8e26c5f5
...@@ -8983,9 +8983,10 @@ void TBuiltIns::identifyBuiltIns(int version, EProfile profile, const SpvVersion ...@@ -8983,9 +8983,10 @@ void TBuiltIns::identifyBuiltIns(int version, EProfile profile, const SpvVersion
} }
break; break;
case EShLangIntersect: case EShLangIntersect:
if (profile != EEsProfile && version >= 460) if (profile != EEsProfile && version >= 460) {
symbolTable.relateToOperator("reportIntersectionNV", EOpReportIntersection); symbolTable.relateToOperator("reportIntersectionNV", EOpReportIntersection);
symbolTable.relateToOperator("reportIntersectionEXT", EOpReportIntersection); symbolTable.relateToOperator("reportIntersectionEXT", EOpReportIntersection);
}
break; break;
case EShLangAnyHit: case EShLangAnyHit:
if (profile != EEsProfile && version >= 460) { if (profile != EEsProfile && version >= 460) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment