HLSL: Implement ?: grammar productions.

Missing are implicit conversions between int/bool/etc.
This commit is contained in:
John Kessenich
2016-07-27 10:39:57 -06:00
parent b783d712ab
commit 00957f8110
5 changed files with 423 additions and 7 deletions

View File

@@ -83,6 +83,7 @@ namespace glslang {
bool acceptExpression(TIntermTyped*&);
bool acceptInitializer(TIntermTyped*&);
bool acceptAssignmentExpression(TIntermTyped*&);
bool acceptConditionalExpression(TIntermTyped*&);
bool acceptBinaryExpression(TIntermTyped*&, PrecedenceLevel);
bool acceptUnaryExpression(TIntermTyped*&);
bool acceptPostfixExpression(TIntermTyped*&);