Add extra break statements to quiet clang warnings.

Clang complains about code that falls through into an empty default
case, so add some breaks to placate it.
This commit is contained in:
Arcady Goldmints-Orlov 2024-02-19 18:45:25 -05:00 committed by arcady-lunarg
parent 606209e07d
commit 7ffa289495
6 changed files with 8 additions and 0 deletions

View file

@ -391,6 +391,7 @@ bool HlslGrammar::acceptDeclaration(TIntermNode*& nodeList)
case EvqOut:
case EvqInOut:
parseContext.error(token.loc, "in/out qualifiers are only valid on parameters", token.string->c_str(), "");
break;
default:
break;
}