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
This commit is contained in:
parent
8e26c5f50e
commit
9b3baf9881
@ -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) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user