Merge pull request #2154 from GMNGeoffrey/patch-1
Add missing braces to if condition
This commit is contained in:
commit
2df8c71258
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue