LLVMFuzzerTestOneInput:
   16|     58|extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
   17|     58|  glslang::InitializeProcess();
   18|     58|  EShMessages controls;
   19|     58|  glslang::TShader shader(EShLangVertex);
   20|       |
   21|     58|  const char *dataPtr = (const char*)data;
   22|     58|  const int dataSize = (const int)size;
   23|       |
   24|     58|  shader.setStringsWithLengths(&dataPtr, &dataSize, 1);
   25|     58|  shader.setEntryPoint("ep");
   26|       |
   27|       |  // Parse the shader
   28|     58|  shader.parse(GetDefaultResources(), 100, false, controls);
   29|       |
   30|     58|  glslang::FinalizeProcess();
   31|     58|  return 0;
   32|     58|}

_ZN7glslang19TFunctionDeclaratorC2Ev:
   50|  88.0k|        TFunctionDeclarator() : function(nullptr), body(nullptr) { }

_ZN7glslang11HlslGrammar5parseEv:
   65|     44|{
   66|     44|    advanceToken();
   67|     44|    return acceptCompilationUnit();
   68|     44|}
_ZN7glslang11HlslGrammar8expectedEPKc:
   71|      1|{
   72|      1|    parseContext.error(token.loc, "Expected", syntax, "");
   73|      1|}
_ZN7glslang11HlslGrammar16acceptIdentifierERNS_9HlslTokenE:
   87|   374k|{
   88|       |    // IDENTIFIER
   89|   374k|    if (peekTokenClass(EHTokIdentifier)) {
  ------------------
  |  Branch (89:9): [True: 88.0k, False: 285k]
  ------------------
   90|  88.0k|        idToken = token;
   91|  88.0k|        advanceToken();
   92|  88.0k|        return true;
   93|  88.0k|    }
   94|       |
   95|       |    // THIS
   96|       |    // -> maps to the IDENTIFIER spelled with the internal special name for 'this'
   97|   285k|    if (peekTokenClass(EHTokThis)) {
  ------------------
  |  Branch (97:9): [True: 0, False: 285k]
  ------------------
   98|      0|        idToken = token;
   99|      0|        advanceToken();
  100|      0|        idToken.tokenClass = EHTokIdentifier;
  101|      0|        idToken.string = NewPoolTString(intermediate.implicitThisName);
  102|      0|        return true;
  103|      0|    }
  104|       |
  105|       |    // type that can be used as IDENTIFIER
  106|       |
  107|       |    // Even though "sample", "bool", "float", etc keywords (for types, interpolation modifiers),
  108|       |    // they ARE still accepted as identifiers.  This is not a dense space: e.g, "void" is not a
  109|       |    // valid identifier, nor is "linear".  This code special cases the known instances of this, so
  110|       |    // e.g, "int sample;" or "float float;" is accepted.  Other cases can be added here if needed.
  111|       |
  112|   285k|    const char* idString = getTypeString(peek());
  113|   285k|    if (idString == nullptr)
  ------------------
  |  Branch (113:9): [True: 285k, False: 0]
  ------------------
  114|   285k|        return false;
  115|       |
  116|      0|    token.string     = NewPoolTString(idString);
  117|      0|    token.tokenClass = EHTokIdentifier;
  118|      0|    idToken = token;
  119|      0|    typeIdentifiers = true;
  120|       |
  121|      0|    advanceToken();
  122|       |
  123|      0|    return true;
  124|   285k|}
_ZN7glslang11HlslGrammar21acceptCompilationUnitEv:
  130|     44|{
  131|     44|    if (! acceptDeclarationList(unitNode))
  ------------------
  |  Branch (131:9): [True: 1, False: 43]
  ------------------
  132|      1|        return false;
  133|       |
  134|     43|    if (! peekTokenClass(EHTokNone))
  ------------------
  |  Branch (134:9): [True: 0, False: 43]
  ------------------
  135|      0|        return false;
  136|       |
  137|       |    // set root of AST
  138|     43|    if (unitNode && !unitNode->getAsAggregate())
  ------------------
  |  Branch (138:9): [True: 0, False: 43]
  |  Branch (138:21): [True: 0, False: 0]
  ------------------
  139|      0|        unitNode = intermediate.growAggregate(nullptr, unitNode);
  140|     43|    intermediate.setTreeRoot(unitNode);
  141|       |
  142|     43|    return true;
  143|     43|}
_ZN7glslang11HlslGrammar21acceptDeclarationListERP11TIntermNode:
  156|     44|{
  157|  88.1k|    do {
  158|       |        // HLSL allows extra semicolons between global declarations
  159|  88.1k|        do { } while (acceptTokenClass(EHTokSemicolon));
  ------------------
  |  Branch (159:23): [True: 4, False: 88.1k]
  ------------------
  160|       |
  161|       |        // EOF or RIGHT_BRACE
  162|  88.1k|        if (peekTokenClass(EHTokNone) || peekTokenClass(EHTokRightBrace))
  ------------------
  |  Branch (162:13): [True: 43, False: 88.0k]
  |  Branch (162:42): [True: 0, False: 88.0k]
  ------------------
  163|     43|            return true;
  164|       |
  165|       |        // declaration
  166|  88.0k|        if (! acceptDeclaration(nodeList)) {
  ------------------
  |  Branch (166:13): [True: 1, False: 88.0k]
  ------------------
  167|      1|            expected("declaration");
  168|      1|            return false;
  169|      1|        }
  170|  88.0k|    } while (true);
  ------------------
  |  Branch (170:14): [True: 88.0k, Folded]
  ------------------
  171|       |
  172|      0|    return true;
  173|     44|}
_ZN7glslang11HlslGrammar17acceptDeclarationERP11TIntermNode:
  334|  88.0k|{
  335|       |    // NAMESPACE IDENTIFIER LEFT_BRACE declaration_list RIGHT_BRACE
  336|  88.0k|    if (acceptTokenClass(EHTokNamespace)) {
  ------------------
  |  Branch (336:9): [True: 0, False: 88.0k]
  ------------------
  337|      0|        HlslToken namespaceToken;
  338|      0|        if (!acceptIdentifier(namespaceToken)) {
  ------------------
  |  Branch (338:13): [True: 0, False: 0]
  ------------------
  339|      0|            expected("namespace name");
  340|      0|            return false;
  341|      0|        }
  342|      0|        parseContext.pushNamespace(*namespaceToken.string);
  343|      0|        if (!acceptTokenClass(EHTokLeftBrace)) {
  ------------------
  |  Branch (343:13): [True: 0, False: 0]
  ------------------
  344|      0|            expected("{");
  345|      0|            return false;
  346|      0|        }
  347|      0|        if (!acceptDeclarationList(nodeList)) {
  ------------------
  |  Branch (347:13): [True: 0, False: 0]
  ------------------
  348|      0|            expected("declaration list");
  349|      0|            return false;
  350|      0|        }
  351|      0|        if (!acceptTokenClass(EHTokRightBrace)) {
  ------------------
  |  Branch (351:13): [True: 0, False: 0]
  ------------------
  352|      0|            expected("}");
  353|      0|            return false;
  354|      0|        }
  355|      0|        parseContext.popNamespace();
  356|      0|        return true;
  357|      0|    }
  358|       |
  359|  88.0k|    bool declarator_list = false; // true when processing comma separation
  360|       |
  361|       |    // attributes
  362|  88.0k|    TFunctionDeclarator declarator;
  363|  88.0k|    acceptAttributes(declarator.attributes);
  364|       |
  365|       |    // typedef
  366|  88.0k|    bool typedefDecl = acceptTokenClass(EHTokTypedef);
  367|       |
  368|  88.0k|    TType declaredType;
  369|       |
  370|       |    // DX9 sampler declaration use a different syntax
  371|       |    // DX9 shaders need to run through HLSL compiler (fxc) via a back compat mode, it isn't going to
  372|       |    // be possible to simultaneously compile D3D10+ style shaders and DX9 shaders. If we want to compile DX9
  373|       |    // HLSL shaders, this will have to be a master level switch
  374|       |    // As such, the sampler keyword in D3D10+ turns into an automatic sampler type, and is commonly used
  375|       |    // For that reason, this line is commented out
  376|       |    // if (acceptSamplerDeclarationDX9(declaredType))
  377|       |    //     return true;
  378|       |
  379|  88.0k|    bool forbidDeclarators = (peekTokenClass(EHTokCBuffer) || peekTokenClass(EHTokTBuffer));
  ------------------
  |  Branch (379:31): [True: 0, False: 88.0k]
  |  Branch (379:63): [True: 0, False: 88.0k]
  ------------------
  380|       |    // fully_specified_type
  381|  88.0k|    if (! acceptFullySpecifiedType(declaredType, nodeList, declarator.attributes, forbidDeclarators))
  ------------------
  |  Branch (381:9): [True: 1, False: 88.0k]
  ------------------
  382|      1|        return false;
  383|       |
  384|       |    // cbuffer and tbuffer end with the closing '}'.
  385|       |    // No semicolon is included.
  386|  88.0k|    if (forbidDeclarators)
  ------------------
  |  Branch (386:9): [True: 0, False: 88.0k]
  ------------------
  387|      0|        return true;
  388|       |
  389|       |    // Check if there are invalid in/out qualifiers
  390|  88.0k|    switch (declaredType.getQualifier().storage) {
  391|      0|    case EvqIn:
  ------------------
  |  Branch (391:5): [True: 0, False: 88.0k]
  ------------------
  392|      0|    case EvqOut:
  ------------------
  |  Branch (392:5): [True: 0, False: 88.0k]
  ------------------
  393|      0|    case EvqInOut:
  ------------------
  |  Branch (393:5): [True: 0, False: 88.0k]
  ------------------
  394|      0|        parseContext.error(token.loc, "in/out qualifiers are only valid on parameters", token.getCStrOrEmpty(), "");
  395|      0|        break;
  396|  88.0k|    default:
  ------------------
  |  Branch (396:5): [True: 88.0k, False: 0]
  ------------------
  397|  88.0k|        break;
  398|  88.0k|    }
  399|       |
  400|       |    // declarator_list
  401|       |    //    : declarator
  402|       |    //         : identifier
  403|  88.0k|    HlslToken idToken;
  404|  88.0k|    TIntermAggregate* initializers = nullptr;
  405|   176k|    while (acceptIdentifier(idToken)) {
  ------------------
  |  Branch (405:12): [True: 88.0k, False: 88.0k]
  ------------------
  406|  88.0k|        TString *fullName = idToken.string;
  407|  88.0k|        if (parseContext.symbolTable.atGlobalLevel())
  ------------------
  |  Branch (407:13): [True: 88.0k, False: 0]
  ------------------
  408|  88.0k|            parseContext.getFullNamespaceName(fullName);
  409|  88.0k|        if (peekTokenClass(EHTokLeftParen)) {
  ------------------
  |  Branch (409:13): [True: 88.0k, False: 0]
  ------------------
  410|       |            // looks like function parameters
  411|       |
  412|       |            // merge in the attributes into the return type
  413|  88.0k|            parseContext.transferTypeAttributes(token.loc, declarator.attributes, declaredType, true);
  414|       |
  415|       |            // Potentially rename shader entry point function.  No-op most of the time.
  416|  88.0k|            parseContext.renameShaderFunction(fullName);
  417|       |
  418|       |            // function_parameters
  419|  88.0k|            declarator.function = new TFunction(fullName, declaredType);
  420|  88.0k|            if (!acceptFunctionParameters(*declarator.function)) {
  ------------------
  |  Branch (420:17): [True: 0, False: 88.0k]
  ------------------
  421|      0|                expected("function parameter list");
  422|      0|                return false;
  423|      0|            }
  424|       |
  425|       |            // post_decls
  426|  88.0k|            acceptPostDecls(declarator.function->getWritableType().getQualifier());
  427|       |
  428|       |            // compound_statement (function body definition) or just a prototype?
  429|  88.0k|            declarator.loc = token.loc;
  430|  88.0k|            if (peekTokenClass(EHTokLeftBrace)) {
  ------------------
  |  Branch (430:17): [True: 0, False: 88.0k]
  ------------------
  431|      0|                if (declarator_list)
  ------------------
  |  Branch (431:21): [True: 0, False: 0]
  ------------------
  432|      0|                    parseContext.error(idToken.loc, "function body can't be in a declarator list", "{", "");
  433|      0|                if (typedefDecl)
  ------------------
  |  Branch (433:21): [True: 0, False: 0]
  ------------------
  434|      0|                    parseContext.error(idToken.loc, "function body can't be in a typedef", "{", "");
  435|      0|                return acceptFunctionDefinition(declarator, nodeList, nullptr);
  436|  88.0k|            } else {
  437|  88.0k|                if (typedefDecl)
  ------------------
  |  Branch (437:21): [True: 0, False: 88.0k]
  ------------------
  438|      0|                    parseContext.error(idToken.loc, "function typedefs not implemented", "{", "");
  439|  88.0k|                parseContext.handleFunctionDeclarator(declarator.loc, *declarator.function, true);
  440|  88.0k|            }
  441|  88.0k|        } else {
  442|       |            // A variable declaration.
  443|       |
  444|       |            // merge in the attributes, the first time around, into the shared type
  445|      0|            if (! declarator_list)
  ------------------
  |  Branch (445:17): [True: 0, False: 0]
  ------------------
  446|      0|                parseContext.transferTypeAttributes(token.loc, declarator.attributes, declaredType);
  447|       |
  448|       |            // Fix the storage qualifier if it's a global.
  449|      0|            if (declaredType.getQualifier().storage == EvqTemporary && parseContext.symbolTable.atGlobalLevel())
  ------------------
  |  Branch (449:17): [True: 0, False: 0]
  |  Branch (449:72): [True: 0, False: 0]
  ------------------
  450|      0|                declaredType.getQualifier().storage = EvqUniform;
  451|       |
  452|       |            // recognize array_specifier
  453|      0|            TArraySizes* arraySizes = nullptr;
  454|      0|            acceptArraySpecifier(arraySizes);
  455|       |
  456|       |            // We can handle multiple variables per type declaration, so
  457|       |            // the number of types can expand when arrayness is different.
  458|      0|            TType variableType;
  459|      0|            variableType.shallowCopy(declaredType);
  460|       |
  461|       |            // In the most general case, arrayness is potentially coming both from the
  462|       |            // declared type and from the variable: "int[] a[];" or just one or the other.
  463|       |            // Merge it all to the variableType, so all arrayness is part of the variableType.
  464|      0|            variableType.transferArraySizes(arraySizes);
  465|      0|            variableType.copyArrayInnerSizes(declaredType.getArraySizes());
  466|       |
  467|       |            // samplers accept immediate sampler state
  468|      0|            if (variableType.getBasicType() == EbtSampler) {
  ------------------
  |  Branch (468:17): [True: 0, False: 0]
  ------------------
  469|      0|                if (! acceptSamplerState())
  ------------------
  |  Branch (469:21): [True: 0, False: 0]
  ------------------
  470|      0|                    return false;
  471|      0|            }
  472|       |
  473|       |            // post_decls
  474|      0|            acceptPostDecls(variableType.getQualifier());
  475|       |
  476|       |            // EQUAL assignment_expression
  477|      0|            TIntermTyped* expressionNode = nullptr;
  478|      0|            if (acceptTokenClass(EHTokAssign)) {
  ------------------
  |  Branch (478:17): [True: 0, False: 0]
  ------------------
  479|      0|                if (typedefDecl)
  ------------------
  |  Branch (479:21): [True: 0, False: 0]
  ------------------
  480|      0|                    parseContext.error(idToken.loc, "can't have an initializer", "typedef", "");
  481|      0|                if (! acceptAssignmentExpression(expressionNode)) {
  ------------------
  |  Branch (481:21): [True: 0, False: 0]
  ------------------
  482|      0|                    expected("initializer");
  483|      0|                    return false;
  484|      0|                }
  485|      0|            }
  486|       |
  487|       |            // TODO: things scoped within an annotation need their own name space;
  488|       |            // TODO: non-constant strings are not yet handled.
  489|      0|            if (!(variableType.getBasicType() == EbtString && !variableType.getQualifier().isConstant()) &&
  ------------------
  |  Branch (489:19): [True: 0, False: 0]
  |  Branch (489:63): [True: 0, False: 0]
  ------------------
  490|      0|                parseContext.getAnnotationNestingLevel() == 0) {
  ------------------
  |  Branch (490:17): [True: 0, False: 0]
  ------------------
  491|      0|                if (typedefDecl)
  ------------------
  |  Branch (491:21): [True: 0, False: 0]
  ------------------
  492|      0|                    parseContext.declareTypedef(idToken.loc, *fullName, variableType);
  493|      0|                else if (variableType.getBasicType() == EbtBlock) {
  ------------------
  |  Branch (493:26): [True: 0, False: 0]
  ------------------
  494|      0|                    if (expressionNode)
  ------------------
  |  Branch (494:25): [True: 0, False: 0]
  ------------------
  495|      0|                        parseContext.error(idToken.loc, "buffer aliasing not yet supported", "block initializer", "");
  496|      0|                    parseContext.declareBlock(idToken.loc, variableType, fullName);
  497|      0|                    parseContext.declareStructBufferCounter(idToken.loc, variableType, *fullName);
  498|      0|                } else {
  499|      0|                    if (variableType.getQualifier().storage == EvqUniform && ! variableType.containsOpaque()) {
  ------------------
  |  Branch (499:25): [True: 0, False: 0]
  |  Branch (499:78): [True: 0, False: 0]
  ------------------
  500|       |                        // this isn't really an individual variable, but a member of the $Global buffer
  501|      0|                        parseContext.growGlobalUniformBlock(idToken.loc, variableType, *fullName);
  502|      0|                    } else {
  503|       |                        // Declare the variable and add any initializer code to the AST.
  504|       |                        // The top-level node is always made into an aggregate, as that's
  505|       |                        // historically how the AST has been.
  506|      0|                        initializers = intermediate.growAggregate(initializers, 
  507|      0|                            parseContext.declareVariable(idToken.loc, *fullName, variableType, expressionNode),
  508|      0|                            idToken.loc);
  509|      0|                    }
  510|      0|                }
  511|      0|            }
  512|      0|        }
  513|       |
  514|       |        // COMMA
  515|  88.0k|        if (acceptTokenClass(EHTokComma))
  ------------------
  |  Branch (515:13): [True: 0, False: 88.0k]
  ------------------
  516|      0|            declarator_list = true;
  517|  88.0k|    }
  518|       |
  519|       |    // The top-level initializer node is a sequence.
  520|  88.0k|    if (initializers != nullptr)
  ------------------
  |  Branch (520:9): [True: 0, False: 88.0k]
  ------------------
  521|      0|        initializers->setOperator(EOpSequence);
  522|       |
  523|       |    // if we have a locally scoped static, it needs a globally scoped initializer
  524|  88.0k|    if (declaredType.getQualifier().storage == EvqGlobal && !parseContext.symbolTable.atGlobalLevel()) {
  ------------------
  |  Branch (524:9): [True: 0, False: 88.0k]
  |  Branch (524:61): [True: 0, False: 0]
  ------------------
  525|      0|        unitNode = intermediate.growAggregate(unitNode, initializers, idToken.loc);
  526|  88.0k|    } else {
  527|       |        // Add the initializers' aggregate to the nodeList we were handed.
  528|  88.0k|        if (nodeList)
  ------------------
  |  Branch (528:13): [True: 0, False: 88.0k]
  ------------------
  529|      0|            nodeList = intermediate.growAggregate(nodeList, initializers);
  530|  88.0k|        else
  531|  88.0k|            nodeList = initializers;
  532|  88.0k|    }
  533|       |
  534|       |    // SEMICOLON
  535|  88.0k|    if (! acceptTokenClass(EHTokSemicolon)) {
  ------------------
  |  Branch (535:9): [True: 0, False: 88.0k]
  ------------------
  536|       |        // This may have been a false detection of what appeared to be a declaration, but
  537|       |        // was actually an assignment such as "float = 4", where "float" is an identifier.
  538|       |        // We put the token back to let further parsing happen for cases where that may
  539|       |        // happen.  This errors on the side of caution, and mostly triggers the error.
  540|      0|        if (peek() == EHTokAssign || peek() == EHTokLeftBracket || peek() == EHTokDot || peek() == EHTokComma)
  ------------------
  |  Branch (540:13): [True: 0, False: 0]
  |  Branch (540:38): [True: 0, False: 0]
  |  Branch (540:68): [True: 0, False: 0]
  |  Branch (540:90): [True: 0, False: 0]
  ------------------
  541|      0|            recedeToken();
  542|      0|        else
  543|      0|            expected(";");
  544|      0|        return false;
  545|      0|    }
  546|       |
  547|  88.0k|    return true;
  548|  88.0k|}
_ZN7glslang11HlslGrammar24acceptFullySpecifiedTypeERNS_5TTypeERKNS_5TListINS_14TAttributeArgsEEE:
  603|   197k|{
  604|   197k|    TIntermNode* nodeList = nullptr;
  605|   197k|    return acceptFullySpecifiedType(type, nodeList, attributes);
  606|   197k|}
_ZN7glslang11HlslGrammar24acceptFullySpecifiedTypeERNS_5TTypeERP11TIntermNodeRKNS_5TListINS_14TAttributeArgsEEEb:
  608|   285k|{
  609|       |    // type_qualifier
  610|   285k|    TQualifier qualifier;
  611|   285k|    qualifier.clear();
  612|   285k|    if (! acceptPreQualifier(qualifier))
  ------------------
  |  Branch (612:9): [True: 0, False: 285k]
  ------------------
  613|      0|        return false;
  614|   285k|    TSourceLoc loc = token.loc;
  615|       |
  616|       |    // type_specifier
  617|   285k|    if (! acceptType(type, nodeList)) {
  ------------------
  |  Branch (617:9): [True: 1, False: 285k]
  ------------------
  618|       |        // If this is not a type, we may have inadvertently gone down a wrong path
  619|       |        // by parsing "sample", which can be treated like either an identifier or a
  620|       |        // qualifier.  Back it out, if we did.
  621|      1|        if (qualifier.sample)
  ------------------
  |  Branch (621:13): [True: 0, False: 1]
  ------------------
  622|      0|            recedeToken();
  623|       |
  624|      1|        return false;
  625|      1|    }
  626|       |
  627|       |    // type_qualifier
  628|   285k|    if (! acceptPostQualifier(qualifier))
  ------------------
  |  Branch (628:9): [True: 0, False: 285k]
  ------------------
  629|      0|       return false;
  630|       |
  631|   285k|    if (type.getBasicType() == EbtBlock) {
  ------------------
  |  Branch (631:9): [True: 0, False: 285k]
  ------------------
  632|       |        // the type was a block, which set some parts of the qualifier
  633|      0|        parseContext.mergeQualifiers(type.getQualifier(), qualifier);
  634|       |    
  635|       |        // merge in the attributes
  636|      0|        parseContext.transferTypeAttributes(token.loc, attributes, type);
  637|       |
  638|       |        // further, it can create an anonymous instance of the block
  639|       |        // (cbuffer and tbuffer don't consume the next identifier, and
  640|       |        // should set forbidDeclarators)
  641|      0|        if (forbidDeclarators || peek() != EHTokIdentifier)
  ------------------
  |  Branch (641:13): [True: 0, False: 0]
  |  Branch (641:34): [True: 0, False: 0]
  ------------------
  642|      0|            parseContext.declareBlock(loc, type);
  643|   285k|    } else {
  644|       |        // Some qualifiers are set when parsing the type.  Merge those with
  645|       |        // whatever comes from acceptPreQualifier and acceptPostQualifier.
  646|   285k|        assert(qualifier.layoutFormat == ElfNone);
  647|       |
  648|   285k|        qualifier.layoutFormat = type.getQualifier().layoutFormat;
  649|   285k|        qualifier.precision    = type.getQualifier().precision;
  650|       |
  651|   285k|        if (type.getQualifier().storage == EvqOut ||
  ------------------
  |  Branch (651:13): [True: 0, False: 285k]
  ------------------
  652|   285k|            type.getQualifier().storage == EvqBuffer) {
  ------------------
  |  Branch (652:13): [True: 0, False: 285k]
  ------------------
  653|      0|            qualifier.storage      = type.getQualifier().storage;
  654|      0|            qualifier.readonly     = type.getQualifier().readonly;
  655|      0|        }
  656|       |
  657|   285k|        if (type.isBuiltIn())
  ------------------
  |  Branch (657:13): [True: 0, False: 285k]
  ------------------
  658|      0|            qualifier.builtIn = type.getQualifier().builtIn;
  659|       |
  660|   285k|        type.getQualifier() = qualifier;
  661|   285k|    }
  662|       |
  663|   285k|    return true;
  664|   285k|}
_ZN7glslang11HlslGrammar18acceptPreQualifierERNS_10TQualifierE:
  672|   285k|{
  673|   305k|    do {
  674|   305k|        switch (peek()) {
  675|      0|        case EHTokStatic:
  ------------------
  |  Branch (675:9): [True: 0, False: 305k]
  ------------------
  676|      0|            qualifier.storage = EvqGlobal;
  677|      0|            break;
  678|      0|        case EHTokExtern:
  ------------------
  |  Branch (678:9): [True: 0, False: 305k]
  ------------------
  679|       |            // TODO: no meaning in glslang?
  680|      0|            break;
  681|      0|        case EHTokShared:
  ------------------
  |  Branch (681:9): [True: 0, False: 305k]
  ------------------
  682|       |            // TODO: hint
  683|      0|            break;
  684|      0|        case EHTokGroupShared:
  ------------------
  |  Branch (684:9): [True: 0, False: 305k]
  ------------------
  685|      0|            qualifier.storage = EvqShared;
  686|      0|            break;
  687|      0|        case EHTokUniform:
  ------------------
  |  Branch (687:9): [True: 0, False: 305k]
  ------------------
  688|      0|            qualifier.storage = EvqUniform;
  689|      0|            break;
  690|      0|        case EHTokConst:
  ------------------
  |  Branch (690:9): [True: 0, False: 305k]
  ------------------
  691|      0|            qualifier.storage = EvqConst;
  692|      0|            break;
  693|      0|        case EHTokVolatile:
  ------------------
  |  Branch (693:9): [True: 0, False: 305k]
  ------------------
  694|      0|            qualifier.volatil = true;
  695|      0|            break;
  696|      0|        case EHTokLinear:
  ------------------
  |  Branch (696:9): [True: 0, False: 305k]
  ------------------
  697|      0|            qualifier.smooth = true;
  698|      0|            break;
  699|      0|        case EHTokCentroid:
  ------------------
  |  Branch (699:9): [True: 0, False: 305k]
  ------------------
  700|      0|            qualifier.centroid = true;
  701|      0|            break;
  702|      0|        case EHTokNointerpolation:
  ------------------
  |  Branch (702:9): [True: 0, False: 305k]
  ------------------
  703|      0|            qualifier.flat = true;
  704|      0|            break;
  705|      0|        case EHTokNoperspective:
  ------------------
  |  Branch (705:9): [True: 0, False: 305k]
  ------------------
  706|      0|            qualifier.nopersp = true;
  707|      0|            break;
  708|      0|        case EHTokSample:
  ------------------
  |  Branch (708:9): [True: 0, False: 305k]
  ------------------
  709|      0|            qualifier.sample = true;
  710|      0|            break;
  711|      0|        case EHTokRowMajor:
  ------------------
  |  Branch (711:9): [True: 0, False: 305k]
  ------------------
  712|      0|            qualifier.layoutMatrix = ElmColumnMajor;
  713|      0|            break;
  714|      0|        case EHTokColumnMajor:
  ------------------
  |  Branch (714:9): [True: 0, False: 305k]
  ------------------
  715|      0|            qualifier.layoutMatrix = ElmRowMajor;
  716|      0|            break;
  717|      0|        case EHTokPrecise:
  ------------------
  |  Branch (717:9): [True: 0, False: 305k]
  ------------------
  718|      0|            qualifier.noContraction = true;
  719|      0|            break;
  720|      0|        case EHTokIn:
  ------------------
  |  Branch (720:9): [True: 0, False: 305k]
  ------------------
  721|      0|            if (qualifier.storage != EvqUniform) {
  ------------------
  |  Branch (721:17): [True: 0, False: 0]
  ------------------
  722|      0|                qualifier.storage = (qualifier.storage == EvqOut) ? EvqInOut : EvqIn;
  ------------------
  |  Branch (722:37): [True: 0, False: 0]
  ------------------
  723|      0|            }
  724|      0|            break;
  725|  19.1k|        case EHTokOut:
  ------------------
  |  Branch (725:9): [True: 19.1k, False: 285k]
  ------------------
  726|  19.1k|            qualifier.storage = (qualifier.storage == EvqIn) ? EvqInOut : EvqOut;
  ------------------
  |  Branch (726:33): [True: 0, False: 19.1k]
  ------------------
  727|  19.1k|            break;
  728|      0|        case EHTokInOut:
  ------------------
  |  Branch (728:9): [True: 0, False: 305k]
  ------------------
  729|      0|            qualifier.storage = EvqInOut;
  730|      0|            break;
  731|      0|        case EHTokLayout:
  ------------------
  |  Branch (731:9): [True: 0, False: 305k]
  ------------------
  732|      0|            if (! acceptLayoutQualifierList(qualifier))
  ------------------
  |  Branch (732:17): [True: 0, False: 0]
  ------------------
  733|      0|                return false;
  734|      0|            continue;
  735|      0|        case EHTokGloballyCoherent:
  ------------------
  |  Branch (735:9): [True: 0, False: 305k]
  ------------------
  736|      0|            qualifier.coherent = true;
  737|      0|            break;
  738|      0|        case EHTokInline:
  ------------------
  |  Branch (738:9): [True: 0, False: 305k]
  ------------------
  739|       |            // TODO: map this to SPIR-V function control
  740|      0|            break;
  741|       |
  742|       |        // GS geometries: these are specified on stage input variables, and are an error (not verified here)
  743|       |        // for output variables.
  744|      0|        case EHTokPoint:
  ------------------
  |  Branch (744:9): [True: 0, False: 305k]
  ------------------
  745|      0|            qualifier.storage = EvqIn;
  746|      0|            if (!parseContext.handleInputGeometry(token.loc, ElgPoints))
  ------------------
  |  Branch (746:17): [True: 0, False: 0]
  ------------------
  747|      0|                return false;
  748|      0|            break;
  749|      0|        case EHTokLine:
  ------------------
  |  Branch (749:9): [True: 0, False: 305k]
  ------------------
  750|      0|            qualifier.storage = EvqIn;
  751|      0|            if (!parseContext.handleInputGeometry(token.loc, ElgLines))
  ------------------
  |  Branch (751:17): [True: 0, False: 0]
  ------------------
  752|      0|                return false;
  753|      0|            break;
  754|      0|        case EHTokTriangle:
  ------------------
  |  Branch (754:9): [True: 0, False: 305k]
  ------------------
  755|      0|            qualifier.storage = EvqIn;
  756|      0|            if (!parseContext.handleInputGeometry(token.loc, ElgTriangles))
  ------------------
  |  Branch (756:17): [True: 0, False: 0]
  ------------------
  757|      0|                return false;
  758|      0|            break;
  759|      0|        case EHTokLineAdj:
  ------------------
  |  Branch (759:9): [True: 0, False: 305k]
  ------------------
  760|      0|            qualifier.storage = EvqIn;
  761|      0|            if (!parseContext.handleInputGeometry(token.loc, ElgLinesAdjacency))
  ------------------
  |  Branch (761:17): [True: 0, False: 0]
  ------------------
  762|      0|                return false;
  763|      0|            break;
  764|      0|        case EHTokTriangleAdj:
  ------------------
  |  Branch (764:9): [True: 0, False: 305k]
  ------------------
  765|      0|            qualifier.storage = EvqIn;
  766|      0|            if (!parseContext.handleInputGeometry(token.loc, ElgTrianglesAdjacency))
  ------------------
  |  Branch (766:17): [True: 0, False: 0]
  ------------------
  767|      0|                return false;
  768|      0|            break;
  769|       |
  770|   285k|        default:
  ------------------
  |  Branch (770:9): [True: 285k, False: 19.1k]
  ------------------
  771|   285k|            return true;
  772|   305k|        }
  773|  19.1k|        advanceToken();
  774|  19.1k|    } while (true);
  ------------------
  |  Branch (774:14): [True: 19.1k, Folded]
  ------------------
  775|   285k|}
_ZN7glslang11HlslGrammar19acceptPostQualifierERNS_10TQualifierE:
  783|   285k|{
  784|   285k|    do {
  785|   285k|        switch (peek()) {
  786|      0|        case EHTokConst:
  ------------------
  |  Branch (786:9): [True: 0, False: 285k]
  ------------------
  787|      0|            qualifier.storage = EvqConst;
  788|      0|            break;
  789|   285k|        default:
  ------------------
  |  Branch (789:9): [True: 285k, False: 0]
  ------------------
  790|   285k|            return true;
  791|   285k|        }
  792|      0|        advanceToken();
  793|      0|    } while (true);
  ------------------
  |  Branch (793:14): [True: 0, Folded]
  ------------------
  794|   285k|}
_ZN7glslang11HlslGrammar22acceptSubpassInputTypeERNS_5TTypeE:
 1172|    528|{
 1173|       |    // read subpass type
 1174|    528|    const EHlslTokenClass subpassInputType = peek();
 1175|       |
 1176|    528|    bool multisample;
 1177|       |
 1178|    528|    switch (subpassInputType) {
 1179|    264|    case EHTokSubpassInput:   multisample = false; break;
  ------------------
  |  Branch (1179:5): [True: 264, False: 264]
  ------------------
 1180|    264|    case EHTokSubpassInputMS: multisample = true;  break;
  ------------------
  |  Branch (1180:5): [True: 264, False: 264]
  ------------------
 1181|      0|    default:
  ------------------
  |  Branch (1181:5): [True: 0, False: 528]
  ------------------
 1182|      0|        return false;  // not a subpass input declaration
 1183|    528|    }
 1184|       |
 1185|    528|    advanceToken();  // consume the sampler type keyword
 1186|       |
 1187|    528|    TType subpassType(EbtFloat, EvqUniform, 4); // default type is float4
 1188|       |
 1189|    528|    if (acceptTokenClass(EHTokLeftAngle)) {
  ------------------
  |  Branch (1189:9): [True: 528, False: 0]
  ------------------
 1190|    528|        if (! acceptType(subpassType)) {
  ------------------
  |  Branch (1190:13): [True: 0, False: 528]
  ------------------
 1191|      0|            expected("scalar or vector type");
 1192|      0|            return false;
 1193|      0|        }
 1194|       |
 1195|    528|        const TBasicType basicRetType = subpassType.getBasicType() ;
 1196|       |
 1197|    528|        switch (basicRetType) {
 1198|    176|        case EbtFloat:
  ------------------
  |  Branch (1198:9): [True: 176, False: 352]
  ------------------
 1199|    352|        case EbtUint:
  ------------------
  |  Branch (1199:9): [True: 176, False: 352]
  ------------------
 1200|    528|        case EbtInt:
  ------------------
  |  Branch (1200:9): [True: 176, False: 352]
  ------------------
 1201|    528|        case EbtStruct:
  ------------------
  |  Branch (1201:9): [True: 0, False: 528]
  ------------------
 1202|    528|            break;
 1203|      0|        default:
  ------------------
  |  Branch (1203:9): [True: 0, False: 528]
  ------------------
 1204|      0|            unimplemented("basic type in subpass input");
 1205|      0|            return false;
 1206|    528|        }
 1207|       |
 1208|    528|        if (! acceptTokenClass(EHTokRightAngle)) {
  ------------------
  |  Branch (1208:13): [True: 0, False: 528]
  ------------------
 1209|      0|            expected("right angle bracket");
 1210|      0|            return false;
 1211|      0|        }
 1212|    528|    }
 1213|       |
 1214|    528|    const TBasicType subpassBasicType = (subpassType.isStruct() && !subpassType.getStruct()->empty())
  ------------------
  |  Branch (1214:42): [True: 0, False: 528]
  |  Branch (1214:68): [True: 0, False: 0]
  ------------------
 1215|    528|        ? (*subpassType.getStruct())[0].type->getBasicType()
 1216|    528|        : subpassType.getBasicType();
 1217|       |
 1218|    528|    TSampler sampler;
 1219|    528|    sampler.setSubpass(subpassBasicType, multisample);
 1220|       |
 1221|       |    // Remember the declared return type.  Function returns false on error.
 1222|    528|    if (!parseContext.setTextureReturnType(sampler, subpassType, token.loc))
  ------------------
  |  Branch (1222:9): [True: 0, False: 528]
  ------------------
 1223|      0|        return false;
 1224|       |
 1225|    528|    type.shallowCopy(TType(sampler, EvqUniform));
 1226|       |
 1227|    528|    return true;
 1228|    528|}
_ZN7glslang11HlslGrammar17acceptSamplerTypeERNS_5TTypeE:
 1282|  13.7k|{
 1283|       |    // read sampler type
 1284|  13.7k|    const EHlslTokenClass samplerType = peek();
 1285|       |
 1286|       |    // TODO: for DX9
 1287|       |    // TSamplerDim dim = EsdNone;
 1288|       |
 1289|  13.7k|    bool isShadow = false;
 1290|       |
 1291|  13.7k|    switch (samplerType) {
 1292|  8.05k|    case EHTokSampler:      break;
  ------------------
  |  Branch (1292:5): [True: 8.05k, False: 5.67k]
  ------------------
 1293|      0|    case EHTokSampler1d:    /*dim = Esd1D*/; break;
  ------------------
  |  Branch (1293:5): [True: 0, False: 13.7k]
  ------------------
 1294|    132|    case EHTokSampler2d:    /*dim = Esd2D*/; break;
  ------------------
  |  Branch (1294:5): [True: 132, False: 13.5k]
  ------------------
 1295|    132|    case EHTokSampler3d:    /*dim = Esd3D*/; break;
  ------------------
  |  Branch (1295:5): [True: 132, False: 13.5k]
  ------------------
 1296|    132|    case EHTokSamplerCube:  /*dim = EsdCube*/; break;
  ------------------
  |  Branch (1296:5): [True: 132, False: 13.5k]
  ------------------
 1297|      0|    case EHTokSamplerState: break;
  ------------------
  |  Branch (1297:5): [True: 0, False: 13.7k]
  ------------------
 1298|  5.28k|    case EHTokSamplerComparisonState: isShadow = true; break;
  ------------------
  |  Branch (1298:5): [True: 5.28k, False: 8.44k]
  ------------------
 1299|      0|    default:
  ------------------
  |  Branch (1299:5): [True: 0, False: 13.7k]
  ------------------
 1300|      0|        return false;  // not a sampler declaration
 1301|  13.7k|    }
 1302|       |
 1303|  13.7k|    advanceToken();  // consume the sampler type keyword
 1304|       |
 1305|  13.7k|    TArraySizes* arraySizes = nullptr; // TODO: array
 1306|       |
 1307|  13.7k|    TSampler sampler;
 1308|  13.7k|    sampler.setPureSampler(isShadow);
 1309|       |
 1310|  13.7k|    type.shallowCopy(TType(sampler, EvqUniform, arraySizes));
 1311|       |
 1312|  13.7k|    return true;
 1313|  13.7k|}
_ZN7glslang11HlslGrammar17acceptTextureTypeERNS_5TTypeE:
 1334|  17.3k|{
 1335|  17.3k|    const EHlslTokenClass textureType = peek();
 1336|       |
 1337|  17.3k|    TSamplerDim dim = EsdNone;
 1338|  17.3k|    bool array = false;
 1339|  17.3k|    bool ms    = false;
 1340|  17.3k|    bool image = false;
 1341|  17.3k|    bool combined = true;
 1342|       |
 1343|  17.3k|    switch (textureType) {
 1344|     66|    case EHTokBuffer:            dim = EsdBuffer; combined = false;    break;
  ------------------
  |  Branch (1344:5): [True: 66, False: 17.2k]
  ------------------
 1345|  1.32k|    case EHTokTexture1d:         dim = Esd1D;                          break;
  ------------------
  |  Branch (1345:5): [True: 1.32k, False: 16.0k]
  ------------------
 1346|  1.32k|    case EHTokTexture1darray:    dim = Esd1D; array = true;            break;
  ------------------
  |  Branch (1346:5): [True: 1.32k, False: 16.0k]
  ------------------
 1347|  4.42k|    case EHTokTexture2d:         dim = Esd2D;                          break;
  ------------------
  |  Branch (1347:5): [True: 4.42k, False: 12.9k]
  ------------------
 1348|  4.42k|    case EHTokTexture2darray:    dim = Esd2D; array = true;            break;
  ------------------
  |  Branch (1348:5): [True: 4.42k, False: 12.9k]
  ------------------
 1349|  1.05k|    case EHTokTexture3d:         dim = Esd3D;                          break;
  ------------------
  |  Branch (1349:5): [True: 1.05k, False: 16.3k]
  ------------------
 1350|  1.45k|    case EHTokTextureCube:       dim = EsdCube;                        break;
  ------------------
  |  Branch (1350:5): [True: 1.45k, False: 15.9k]
  ------------------
 1351|  1.45k|    case EHTokTextureCubearray:  dim = EsdCube; array = true;          break;
  ------------------
  |  Branch (1351:5): [True: 1.45k, False: 15.9k]
  ------------------
 1352|    330|    case EHTokTexture2DMS:       dim = Esd2D; ms = true;               break;
  ------------------
  |  Branch (1352:5): [True: 330, False: 17.0k]
  ------------------
 1353|    330|    case EHTokTexture2DMSarray:  dim = Esd2D; array = true; ms = true; break;
  ------------------
  |  Branch (1353:5): [True: 330, False: 17.0k]
  ------------------
 1354|    198|    case EHTokRWBuffer:          dim = EsdBuffer; image=true;          break;
  ------------------
  |  Branch (1354:5): [True: 198, False: 17.1k]
  ------------------
 1355|    198|    case EHTokRWTexture1d:       dim = Esd1D; array=false; image=true; break;
  ------------------
  |  Branch (1355:5): [True: 198, False: 17.1k]
  ------------------
 1356|    198|    case EHTokRWTexture1darray:  dim = Esd1D; array=true;  image=true; break;
  ------------------
  |  Branch (1356:5): [True: 198, False: 17.1k]
  ------------------
 1357|    198|    case EHTokRWTexture2d:       dim = Esd2D; array=false; image=true; break;
  ------------------
  |  Branch (1357:5): [True: 198, False: 17.1k]
  ------------------
 1358|    198|    case EHTokRWTexture2darray:  dim = Esd2D; array=true;  image=true; break;
  ------------------
  |  Branch (1358:5): [True: 198, False: 17.1k]
  ------------------
 1359|    198|    case EHTokRWTexture3d:       dim = Esd3D; array=false; image=true; break;
  ------------------
  |  Branch (1359:5): [True: 198, False: 17.1k]
  ------------------
 1360|      0|    default:
  ------------------
  |  Branch (1360:5): [True: 0, False: 17.3k]
  ------------------
 1361|      0|        return false;  // not a texture declaration
 1362|  17.3k|    }
 1363|       |
 1364|  17.3k|    advanceToken();  // consume the texture object keyword
 1365|       |
 1366|  17.3k|    TType txType(EbtFloat, EvqUniform, 4); // default type is float4
 1367|       |
 1368|  17.3k|    TIntermTyped* msCount = nullptr;
 1369|       |
 1370|       |    // texture type: required for multisample types and RWBuffer/RWTextures!
 1371|  17.3k|    if (acceptTokenClass(EHTokLeftAngle)) {
  ------------------
  |  Branch (1371:9): [True: 17.3k, False: 0]
  ------------------
 1372|  17.3k|        if (! acceptType(txType)) {
  ------------------
  |  Branch (1372:13): [True: 0, False: 17.3k]
  ------------------
 1373|      0|            expected("scalar or vector type");
 1374|      0|            return false;
 1375|      0|        }
 1376|       |
 1377|  17.3k|        const TBasicType basicRetType = txType.getBasicType() ;
 1378|       |
 1379|  17.3k|        switch (basicRetType) {
 1380|  5.78k|        case EbtFloat:
  ------------------
  |  Branch (1380:9): [True: 5.78k, False: 11.5k]
  ------------------
 1381|  11.5k|        case EbtUint:
  ------------------
  |  Branch (1381:9): [True: 5.78k, False: 11.5k]
  ------------------
 1382|  17.3k|        case EbtInt:
  ------------------
  |  Branch (1382:9): [True: 5.78k, False: 11.5k]
  ------------------
 1383|  17.3k|        case EbtStruct:
  ------------------
  |  Branch (1383:9): [True: 0, False: 17.3k]
  ------------------
 1384|  17.3k|            break;
 1385|      0|        default:
  ------------------
  |  Branch (1385:9): [True: 0, False: 17.3k]
  ------------------
 1386|      0|            unimplemented("basic type in texture");
 1387|      0|            return false;
 1388|  17.3k|        }
 1389|       |
 1390|       |        // Buffers can handle small mats if they fit in 4 components
 1391|  17.3k|        if (dim == EsdBuffer && txType.isMatrix()) {
  ------------------
  |  Branch (1391:13): [True: 264, False: 17.0k]
  |  Branch (1391:33): [True: 0, False: 264]
  ------------------
 1392|      0|            if ((txType.getMatrixCols() * txType.getMatrixRows()) > 4) {
  ------------------
  |  Branch (1392:17): [True: 0, False: 0]
  ------------------
 1393|      0|                expected("components < 4 in matrix buffer type");
 1394|      0|                return false;
 1395|      0|            }
 1396|       |
 1397|       |            // TODO: except we don't handle it yet...
 1398|      0|            unimplemented("matrix type in buffer");
 1399|      0|            return false;
 1400|      0|        }
 1401|       |
 1402|  17.3k|        if (!txType.isScalar() && !txType.isVector() && !txType.isStruct()) {
  ------------------
  |  Branch (1402:13): [True: 17.3k, False: 0]
  |  Branch (1402:35): [True: 0, False: 17.3k]
  |  Branch (1402:57): [True: 0, False: 0]
  ------------------
 1403|      0|            expected("scalar, vector, or struct type");
 1404|      0|            return false;
 1405|      0|        }
 1406|       |
 1407|  17.3k|        if (ms && acceptTokenClass(EHTokComma)) {
  ------------------
  |  Branch (1407:13): [True: 660, False: 16.6k]
  |  Branch (1407:19): [True: 0, False: 660]
  ------------------
 1408|       |            // read sample count for multisample types, if given
 1409|      0|            if (! peekTokenClass(EHTokIntConstant)) {
  ------------------
  |  Branch (1409:17): [True: 0, False: 0]
  ------------------
 1410|      0|                expected("multisample count");
 1411|      0|                return false;
 1412|      0|            }
 1413|       |
 1414|      0|            if (! acceptLiteral(msCount))  // should never fail, since we just found an integer
  ------------------
  |  Branch (1414:17): [True: 0, False: 0]
  ------------------
 1415|      0|                return false;
 1416|      0|        }
 1417|       |
 1418|  17.3k|        if (! acceptTokenClass(EHTokRightAngle)) {
  ------------------
  |  Branch (1418:13): [True: 0, False: 17.3k]
  ------------------
 1419|      0|            expected("right angle bracket");
 1420|      0|            return false;
 1421|      0|        }
 1422|  17.3k|    } else if (ms) {
  ------------------
  |  Branch (1422:16): [True: 0, False: 0]
  ------------------
 1423|      0|        expected("texture type for multisample");
 1424|      0|        return false;
 1425|      0|    } else if (image) {
  ------------------
  |  Branch (1425:16): [True: 0, False: 0]
  ------------------
 1426|      0|        expected("type for RWTexture/RWBuffer");
 1427|      0|        return false;
 1428|      0|    }
 1429|       |
 1430|  17.3k|    TArraySizes* arraySizes = nullptr;
 1431|  17.3k|    const bool shadow = false; // declared on the sampler
 1432|       |
 1433|  17.3k|    TSampler sampler;
 1434|  17.3k|    TLayoutFormat format = ElfNone;
 1435|       |
 1436|       |    // Buffer, RWBuffer and RWTexture (images) require a TLayoutFormat.  We handle only a limit set.
 1437|  17.3k|    if (image || dim == EsdBuffer)
  ------------------
  |  Branch (1437:9): [True: 1.18k, False: 16.1k]
  |  Branch (1437:18): [True: 66, False: 16.1k]
  ------------------
 1438|  1.25k|        format = parseContext.getLayoutFromTxType(token.loc, txType);
 1439|       |
 1440|  17.3k|    const TBasicType txBasicType = (txType.isStruct() && !txType.getStruct()->empty())
  ------------------
  |  Branch (1440:37): [True: 0, False: 17.3k]
  |  Branch (1440:58): [True: 0, False: 0]
  ------------------
 1441|  17.3k|        ? (*txType.getStruct())[0].type->getBasicType()
 1442|  17.3k|        : txType.getBasicType();
 1443|       |
 1444|       |    // Non-image Buffers are combined
 1445|  17.3k|    if (dim == EsdBuffer && !image) {
  ------------------
  |  Branch (1445:9): [True: 264, False: 17.0k]
  |  Branch (1445:29): [True: 66, False: 198]
  ------------------
 1446|     66|        sampler.set(txType.getBasicType(), dim, array);
 1447|  17.2k|    } else {
 1448|       |        // DX10 textures are separated.  TODO: DX9.
 1449|  17.2k|        if (image) {
  ------------------
  |  Branch (1449:13): [True: 1.18k, False: 16.1k]
  ------------------
 1450|  1.18k|            sampler.setImage(txBasicType, dim, array, shadow, ms);
 1451|  16.1k|        } else {
 1452|  16.1k|            sampler.setTexture(txBasicType, dim, array, shadow, ms);
 1453|  16.1k|        }
 1454|  17.2k|    }
 1455|       |
 1456|       |    // Remember the declared return type.  Function returns false on error.
 1457|  17.3k|    if (!parseContext.setTextureReturnType(sampler, txType, token.loc))
  ------------------
  |  Branch (1457:9): [True: 0, False: 17.3k]
  ------------------
 1458|      0|        return false;
 1459|       |
 1460|       |    // Force uncombined, if necessary
 1461|  17.3k|    if (!combined)
  ------------------
  |  Branch (1461:9): [True: 66, False: 17.2k]
  ------------------
 1462|     66|        sampler.combined = false;
 1463|       |
 1464|  17.3k|    type.shallowCopy(TType(sampler, EvqUniform, arraySizes));
 1465|  17.3k|    type.getQualifier().layoutFormat = format;
 1466|       |
 1467|  17.3k|    return true;
 1468|  17.3k|}
_ZN7glslang11HlslGrammar10acceptTypeERNS_5TTypeE:
 1474|  17.8k|{
 1475|  17.8k|    TIntermNode* nodeList = nullptr;
 1476|  17.8k|    return acceptType(type, nodeList);
 1477|  17.8k|}
_ZN7glslang11HlslGrammar10acceptTypeERNS_5TTypeERP11TIntermNode:
 1479|   303k|{
 1480|       |    // Basic types for min* types, use native halfs if the option allows them.
 1481|   303k|    bool enable16BitTypes = parseContext.hlslEnable16BitTypes();
 1482|       |
 1483|   303k|    const TBasicType min16float_bt = enable16BitTypes ? EbtFloat16 : EbtFloat;
  ------------------
  |  Branch (1483:38): [True: 1, False: 303k]
  ------------------
 1484|   303k|    const TBasicType min10float_bt = enable16BitTypes ? EbtFloat16 : EbtFloat;
  ------------------
  |  Branch (1484:38): [True: 1, False: 303k]
  ------------------
 1485|   303k|    const TBasicType half_bt       = enable16BitTypes ? EbtFloat16 : EbtFloat;
  ------------------
  |  Branch (1485:38): [True: 1, False: 303k]
  ------------------
 1486|   303k|    const TBasicType min16int_bt   = enable16BitTypes ? EbtInt16   : EbtInt;
  ------------------
  |  Branch (1486:38): [True: 1, False: 303k]
  ------------------
 1487|   303k|    const TBasicType min12int_bt   = enable16BitTypes ? EbtInt16   : EbtInt;
  ------------------
  |  Branch (1487:38): [True: 1, False: 303k]
  ------------------
 1488|   303k|    const TBasicType min16uint_bt  = enable16BitTypes ? EbtUint16  : EbtUint;
  ------------------
  |  Branch (1488:38): [True: 1, False: 303k]
  ------------------
 1489|       |
 1490|       |    // Some types might have turned into identifiers. Take the hit for checking
 1491|       |    // when this has happened.
 1492|   303k|    if (typeIdentifiers) {
  ------------------
  |  Branch (1492:9): [True: 0, False: 303k]
  ------------------
 1493|      0|        const char* identifierString = getTypeString(peek());
 1494|      0|        if (identifierString != nullptr) {
  ------------------
  |  Branch (1494:13): [True: 0, False: 0]
  ------------------
 1495|      0|            TString name = identifierString;
 1496|       |            // if it's an identifier, it's not a type
 1497|      0|            if (parseContext.symbolTable.find(name) != nullptr)
  ------------------
  |  Branch (1497:17): [True: 0, False: 0]
  ------------------
 1498|      0|                return false;
 1499|      0|        }
 1500|      0|    }
 1501|       |
 1502|   303k|    bool isUnorm = false;
 1503|   303k|    bool isSnorm = false;
 1504|       |
 1505|       |    // Accept snorm and unorm.  Presently, this is ignored, save for an error check below.
 1506|   303k|    switch (peek()) {
 1507|      0|    case EHTokUnorm:
  ------------------
  |  Branch (1507:5): [True: 0, False: 303k]
  ------------------
 1508|      0|        isUnorm = true;
 1509|      0|        advanceToken();  // eat the token
 1510|      0|        break;
 1511|      0|    case EHTokSNorm:
  ------------------
  |  Branch (1511:5): [True: 0, False: 303k]
  ------------------
 1512|      0|        isSnorm = true;
 1513|      0|        advanceToken();  // eat the token
 1514|      0|        break;
 1515|   303k|    default:
  ------------------
  |  Branch (1515:5): [True: 303k, False: 0]
  ------------------
 1516|   303k|        break;
 1517|   303k|    }
 1518|       |
 1519|   303k|    switch (peek()) {
 1520|      0|    case EHTokVector:
  ------------------
  |  Branch (1520:5): [True: 0, False: 303k]
  ------------------
 1521|      0|        return acceptVectorTemplateType(type);
 1522|      0|        break;
 1523|       |
 1524|      0|    case EHTokMatrix:
  ------------------
  |  Branch (1524:5): [True: 0, False: 303k]
  ------------------
 1525|      0|        return acceptMatrixTemplateType(type);
 1526|      0|        break;
 1527|       |
 1528|      0|    case EHTokPointStream:            // fall through
  ------------------
  |  Branch (1528:5): [True: 0, False: 303k]
  ------------------
 1529|      0|    case EHTokLineStream:             // ...
  ------------------
  |  Branch (1529:5): [True: 0, False: 303k]
  ------------------
 1530|      0|    case EHTokTriangleStream:         // ...
  ------------------
  |  Branch (1530:5): [True: 0, False: 303k]
  ------------------
 1531|      0|        {
 1532|      0|            TLayoutGeometry geometry;
 1533|      0|            if (! acceptStreamOutTemplateType(type, geometry))
  ------------------
  |  Branch (1533:17): [True: 0, False: 0]
  ------------------
 1534|      0|                return false;
 1535|       |
 1536|      0|            if (! parseContext.handleOutputGeometry(token.loc, geometry))
  ------------------
  |  Branch (1536:17): [True: 0, False: 0]
  ------------------
 1537|      0|                return false;
 1538|       |
 1539|      0|            return true;
 1540|      0|        }
 1541|       |
 1542|      0|    case EHTokInputPatch:             // fall through
  ------------------
  |  Branch (1542:5): [True: 0, False: 303k]
  ------------------
 1543|      0|    case EHTokOutputPatch:            // ...
  ------------------
  |  Branch (1543:5): [True: 0, False: 303k]
  ------------------
 1544|      0|        {
 1545|      0|            if (! acceptTessellationPatchTemplateType(type))
  ------------------
  |  Branch (1545:17): [True: 0, False: 0]
  ------------------
 1546|      0|                return false;
 1547|       |
 1548|      0|            return true;
 1549|      0|        }
 1550|       |
 1551|  8.05k|    case EHTokSampler:                // fall through
  ------------------
  |  Branch (1551:5): [True: 8.05k, False: 295k]
  ------------------
 1552|  8.05k|    case EHTokSampler1d:              // ...
  ------------------
  |  Branch (1552:5): [True: 0, False: 303k]
  ------------------
 1553|  8.18k|    case EHTokSampler2d:              // ...
  ------------------
  |  Branch (1553:5): [True: 132, False: 303k]
  ------------------
 1554|  8.31k|    case EHTokSampler3d:              // ...
  ------------------
  |  Branch (1554:5): [True: 132, False: 303k]
  ------------------
 1555|  8.44k|    case EHTokSamplerCube:            // ...
  ------------------
  |  Branch (1555:5): [True: 132, False: 303k]
  ------------------
 1556|  8.44k|        if (parseContext.hlslDX9Compatible())
  ------------------
  |  Branch (1556:13): [True: 0, False: 8.44k]
  ------------------
 1557|      0|            return acceptSamplerTypeDX9(type);
 1558|  8.44k|        else
 1559|  8.44k|            return acceptSamplerType(type);
 1560|      0|        break;
 1561|       |
 1562|      0|    case EHTokSamplerState:           // fall through
  ------------------
  |  Branch (1562:5): [True: 0, False: 303k]
  ------------------
 1563|  5.28k|    case EHTokSamplerComparisonState: // ...
  ------------------
  |  Branch (1563:5): [True: 5.28k, False: 298k]
  ------------------
 1564|  5.28k|        return acceptSamplerType(type);
 1565|      0|        break;
 1566|       |
 1567|    264|    case EHTokSubpassInput:           // fall through
  ------------------
  |  Branch (1567:5): [True: 264, False: 303k]
  ------------------
 1568|    528|    case EHTokSubpassInputMS:         // ...
  ------------------
  |  Branch (1568:5): [True: 264, False: 303k]
  ------------------
 1569|    528|        return acceptSubpassInputType(type);
 1570|      0|        break;
 1571|       |
 1572|     66|    case EHTokBuffer:                 // fall through
  ------------------
  |  Branch (1572:5): [True: 66, False: 303k]
  ------------------
 1573|  1.38k|    case EHTokTexture1d:              // ...
  ------------------
  |  Branch (1573:5): [True: 1.32k, False: 302k]
  ------------------
 1574|  2.70k|    case EHTokTexture1darray:         // ...
  ------------------
  |  Branch (1574:5): [True: 1.32k, False: 302k]
  ------------------
 1575|  7.12k|    case EHTokTexture2d:              // ...
  ------------------
  |  Branch (1575:5): [True: 4.42k, False: 299k]
  ------------------
 1576|  11.5k|    case EHTokTexture2darray:         // ...
  ------------------
  |  Branch (1576:5): [True: 4.42k, False: 299k]
  ------------------
 1577|  12.6k|    case EHTokTexture3d:              // ...
  ------------------
  |  Branch (1577:5): [True: 1.05k, False: 302k]
  ------------------
 1578|  14.0k|    case EHTokTextureCube:            // ...
  ------------------
  |  Branch (1578:5): [True: 1.45k, False: 302k]
  ------------------
 1579|  15.5k|    case EHTokTextureCubearray:       // ...
  ------------------
  |  Branch (1579:5): [True: 1.45k, False: 302k]
  ------------------
 1580|  15.8k|    case EHTokTexture2DMS:            // ...
  ------------------
  |  Branch (1580:5): [True: 330, False: 303k]
  ------------------
 1581|  16.1k|    case EHTokTexture2DMSarray:       // ...
  ------------------
  |  Branch (1581:5): [True: 330, False: 303k]
  ------------------
 1582|  16.3k|    case EHTokRWTexture1d:            // ...
  ------------------
  |  Branch (1582:5): [True: 198, False: 303k]
  ------------------
 1583|  16.5k|    case EHTokRWTexture1darray:       // ...
  ------------------
  |  Branch (1583:5): [True: 198, False: 303k]
  ------------------
 1584|  16.7k|    case EHTokRWTexture2d:            // ...
  ------------------
  |  Branch (1584:5): [True: 198, False: 303k]
  ------------------
 1585|  16.9k|    case EHTokRWTexture2darray:       // ...
  ------------------
  |  Branch (1585:5): [True: 198, False: 303k]
  ------------------
 1586|  17.1k|    case EHTokRWTexture3d:            // ...
  ------------------
  |  Branch (1586:5): [True: 198, False: 303k]
  ------------------
 1587|  17.3k|    case EHTokRWBuffer:               // ...
  ------------------
  |  Branch (1587:5): [True: 198, False: 303k]
  ------------------
 1588|  17.3k|        return acceptTextureType(type);
 1589|      0|        break;
 1590|       |
 1591|      0|    case EHTokAppendStructuredBuffer:
  ------------------
  |  Branch (1591:5): [True: 0, False: 303k]
  ------------------
 1592|      0|    case EHTokByteAddressBuffer:
  ------------------
  |  Branch (1592:5): [True: 0, False: 303k]
  ------------------
 1593|      0|    case EHTokConsumeStructuredBuffer:
  ------------------
  |  Branch (1593:5): [True: 0, False: 303k]
  ------------------
 1594|      0|    case EHTokRWByteAddressBuffer:
  ------------------
  |  Branch (1594:5): [True: 0, False: 303k]
  ------------------
 1595|      0|    case EHTokRWStructuredBuffer:
  ------------------
  |  Branch (1595:5): [True: 0, False: 303k]
  ------------------
 1596|      0|    case EHTokStructuredBuffer:
  ------------------
  |  Branch (1596:5): [True: 0, False: 303k]
  ------------------
 1597|      0|        return acceptStructBufferType(type);
 1598|      0|        break;
 1599|       |
 1600|      0|    case EHTokTextureBuffer:
  ------------------
  |  Branch (1600:5): [True: 0, False: 303k]
  ------------------
 1601|      0|        return acceptTextureBufferType(type);
 1602|      0|        break;
 1603|       |
 1604|      0|    case EHTokConstantBuffer:
  ------------------
  |  Branch (1604:5): [True: 0, False: 303k]
  ------------------
 1605|      0|        return acceptConstantBufferType(type);
 1606|       |
 1607|      0|    case EHTokClass:
  ------------------
  |  Branch (1607:5): [True: 0, False: 303k]
  ------------------
 1608|      0|    case EHTokStruct:
  ------------------
  |  Branch (1608:5): [True: 0, False: 303k]
  ------------------
 1609|      0|    case EHTokCBuffer:
  ------------------
  |  Branch (1609:5): [True: 0, False: 303k]
  ------------------
 1610|      0|    case EHTokTBuffer:
  ------------------
  |  Branch (1610:5): [True: 0, False: 303k]
  ------------------
 1611|      0|        return acceptStruct(type, nodeList);
 1612|       |
 1613|      1|    case EHTokIdentifier:
  ------------------
  |  Branch (1613:5): [True: 1, False: 303k]
  ------------------
 1614|       |        // An identifier could be for a user-defined type.
 1615|       |        // Note we cache the symbol table lookup, to save for a later rule
 1616|       |        // when this is not a type.
 1617|      1|        if (parseContext.lookupUserType(*token.string, type) != nullptr) {
  ------------------
  |  Branch (1617:13): [True: 0, False: 1]
  ------------------
 1618|      0|            advanceToken();
 1619|      0|            return true;
 1620|      0|        } else
 1621|      1|            return false;
 1622|       |
 1623|  19.6k|    case EHTokVoid:
  ------------------
  |  Branch (1623:5): [True: 19.6k, False: 284k]
  ------------------
 1624|  19.6k|        new(&type) TType(EbtVoid);
 1625|  19.6k|        break;
 1626|       |
 1627|      0|    case EHTokString:
  ------------------
  |  Branch (1627:5): [True: 0, False: 303k]
  ------------------
 1628|      0|        new(&type) TType(EbtString);
 1629|      0|        break;
 1630|       |
 1631|  20.8k|    case EHTokFloat:
  ------------------
  |  Branch (1631:5): [True: 20.8k, False: 283k]
  ------------------
 1632|  20.8k|        new(&type) TType(EbtFloat);
 1633|  20.8k|        break;
 1634|  1.71k|    case EHTokFloat1:
  ------------------
  |  Branch (1634:5): [True: 1.71k, False: 302k]
  ------------------
 1635|  1.71k|        new(&type) TType(EbtFloat);
 1636|  1.71k|        type.makeVector();
 1637|  1.71k|        break;
 1638|  14.1k|    case EHTokFloat2:
  ------------------
  |  Branch (1638:5): [True: 14.1k, False: 289k]
  ------------------
 1639|  14.1k|        new(&type) TType(EbtFloat, EvqTemporary, 2);
 1640|  14.1k|        break;
 1641|  12.0k|    case EHTokFloat3:
  ------------------
  |  Branch (1641:5): [True: 12.0k, False: 291k]
  ------------------
 1642|  12.0k|        new(&type) TType(EbtFloat, EvqTemporary, 3);
 1643|  12.0k|        break;
 1644|  12.6k|    case EHTokFloat4:
  ------------------
  |  Branch (1644:5): [True: 12.6k, False: 291k]
  ------------------
 1645|  12.6k|        new(&type) TType(EbtFloat, EvqTemporary, 4);
 1646|  12.6k|        break;
 1647|       |
 1648|    990|    case EHTokDouble:
  ------------------
  |  Branch (1648:5): [True: 990, False: 302k]
  ------------------
 1649|    990|        new(&type) TType(EbtDouble);
 1650|    990|        break;
 1651|      0|    case EHTokDouble1:
  ------------------
  |  Branch (1651:5): [True: 0, False: 303k]
  ------------------
 1652|      0|        new(&type) TType(EbtDouble);
 1653|      0|        type.makeVector();
 1654|      0|        break;
 1655|    990|    case EHTokDouble2:
  ------------------
  |  Branch (1655:5): [True: 990, False: 302k]
  ------------------
 1656|    990|        new(&type) TType(EbtDouble, EvqTemporary, 2);
 1657|    990|        break;
 1658|    946|    case EHTokDouble3:
  ------------------
  |  Branch (1658:5): [True: 946, False: 302k]
  ------------------
 1659|    946|        new(&type) TType(EbtDouble, EvqTemporary, 3);
 1660|    946|        break;
 1661|    946|    case EHTokDouble4:
  ------------------
  |  Branch (1661:5): [True: 946, False: 302k]
  ------------------
 1662|    946|        new(&type) TType(EbtDouble, EvqTemporary, 4);
 1663|    946|        break;
 1664|       |
 1665|  5.61k|    case EHTokInt:
  ------------------
  |  Branch (1665:5): [True: 5.61k, False: 298k]
  ------------------
 1666|  5.61k|    case EHTokDword:
  ------------------
  |  Branch (1666:5): [True: 0, False: 303k]
  ------------------
 1667|  5.61k|        new(&type) TType(EbtInt);
 1668|  5.61k|        break;
 1669|  1.18k|    case EHTokInt1:
  ------------------
  |  Branch (1669:5): [True: 1.18k, False: 302k]
  ------------------
 1670|  1.18k|        new(&type) TType(EbtInt);
 1671|  1.18k|        type.makeVector();
 1672|  1.18k|        break;
 1673|  19.6k|    case EHTokInt2:
  ------------------
  |  Branch (1673:5): [True: 19.6k, False: 284k]
  ------------------
 1674|  19.6k|        new(&type) TType(EbtInt, EvqTemporary, 2);
 1675|  19.6k|        break;
 1676|  3.89k|    case EHTokInt3:
  ------------------
  |  Branch (1676:5): [True: 3.89k, False: 299k]
  ------------------
 1677|  3.89k|        new(&type) TType(EbtInt, EvqTemporary, 3);
 1678|  3.89k|        break;
 1679|  8.07k|    case EHTokInt4:
  ------------------
  |  Branch (1679:5): [True: 8.07k, False: 295k]
  ------------------
 1680|  8.07k|        new(&type) TType(EbtInt, EvqTemporary, 4);
 1681|  8.07k|        break;
 1682|       |
 1683|  11.1k|    case EHTokUint:
  ------------------
  |  Branch (1683:5): [True: 11.1k, False: 292k]
  ------------------
 1684|  11.1k|        new(&type) TType(EbtUint);
 1685|  11.1k|        break;
 1686|  1.14k|    case EHTokUint1:
  ------------------
  |  Branch (1686:5): [True: 1.14k, False: 302k]
  ------------------
 1687|  1.14k|        new(&type) TType(EbtUint);
 1688|  1.14k|        type.makeVector();
 1689|  1.14k|        break;
 1690|  5.87k|    case EHTokUint2:
  ------------------
  |  Branch (1690:5): [True: 5.87k, False: 297k]
  ------------------
 1691|  5.87k|        new(&type) TType(EbtUint, EvqTemporary, 2);
 1692|  5.87k|        break;
 1693|  2.86k|    case EHTokUint3:
  ------------------
  |  Branch (1693:5): [True: 2.86k, False: 300k]
  ------------------
 1694|  2.86k|        new(&type) TType(EbtUint, EvqTemporary, 3);
 1695|  2.86k|        break;
 1696|  7.81k|    case EHTokUint4:
  ------------------
  |  Branch (1696:5): [True: 7.81k, False: 296k]
  ------------------
 1697|  7.81k|        new(&type) TType(EbtUint, EvqTemporary, 4);
 1698|  7.81k|        break;
 1699|       |
 1700|      0|    case EHTokUint64:
  ------------------
  |  Branch (1700:5): [True: 0, False: 303k]
  ------------------
 1701|      0|        new(&type) TType(EbtUint64);
 1702|      0|        break;
 1703|       |
 1704|  4.24k|    case EHTokBool:
  ------------------
  |  Branch (1704:5): [True: 4.24k, False: 299k]
  ------------------
 1705|  4.24k|        new(&type) TType(EbtBool);
 1706|  4.24k|        break;
 1707|      0|    case EHTokBool1:
  ------------------
  |  Branch (1707:5): [True: 0, False: 303k]
  ------------------
 1708|      0|        new(&type) TType(EbtBool);
 1709|      0|        type.makeVector();
 1710|      0|        break;
 1711|    132|    case EHTokBool2:
  ------------------
  |  Branch (1711:5): [True: 132, False: 303k]
  ------------------
 1712|    132|        new(&type) TType(EbtBool, EvqTemporary, 2);
 1713|    132|        break;
 1714|    132|    case EHTokBool3:
  ------------------
  |  Branch (1714:5): [True: 132, False: 303k]
  ------------------
 1715|    132|        new(&type) TType(EbtBool, EvqTemporary, 3);
 1716|    132|        break;
 1717|    132|    case EHTokBool4:
  ------------------
  |  Branch (1717:5): [True: 132, False: 303k]
  ------------------
 1718|    132|        new(&type) TType(EbtBool, EvqTemporary, 4);
 1719|    132|        break;
 1720|       |
 1721|      0|    case EHTokHalf:
  ------------------
  |  Branch (1721:5): [True: 0, False: 303k]
  ------------------
 1722|      0|        new(&type) TType(half_bt, EvqTemporary);
 1723|      0|        break;
 1724|      0|    case EHTokHalf1:
  ------------------
  |  Branch (1724:5): [True: 0, False: 303k]
  ------------------
 1725|      0|        new(&type) TType(half_bt, EvqTemporary);
 1726|      0|        type.makeVector();
 1727|      0|        break;
 1728|      0|    case EHTokHalf2:
  ------------------
  |  Branch (1728:5): [True: 0, False: 303k]
  ------------------
 1729|      0|        new(&type) TType(half_bt, EvqTemporary, 2);
 1730|      0|        break;
 1731|      0|    case EHTokHalf3:
  ------------------
  |  Branch (1731:5): [True: 0, False: 303k]
  ------------------
 1732|      0|        new(&type) TType(half_bt, EvqTemporary, 3);
 1733|      0|        break;
 1734|      0|    case EHTokHalf4:
  ------------------
  |  Branch (1734:5): [True: 0, False: 303k]
  ------------------
 1735|      0|        new(&type) TType(half_bt, EvqTemporary, 4);
 1736|      0|        break;
 1737|       |
 1738|      0|    case EHTokMin16float:
  ------------------
  |  Branch (1738:5): [True: 0, False: 303k]
  ------------------
 1739|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium);
 1740|      0|        break;
 1741|      0|    case EHTokMin16float1:
  ------------------
  |  Branch (1741:5): [True: 0, False: 303k]
  ------------------
 1742|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium);
 1743|      0|        type.makeVector();
 1744|      0|        break;
 1745|      0|    case EHTokMin16float2:
  ------------------
  |  Branch (1745:5): [True: 0, False: 303k]
  ------------------
 1746|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 2);
 1747|      0|        break;
 1748|      0|    case EHTokMin16float3:
  ------------------
  |  Branch (1748:5): [True: 0, False: 303k]
  ------------------
 1749|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 3);
 1750|      0|        break;
 1751|      0|    case EHTokMin16float4:
  ------------------
  |  Branch (1751:5): [True: 0, False: 303k]
  ------------------
 1752|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 4);
 1753|      0|        break;
 1754|       |
 1755|      0|    case EHTokMin10float:
  ------------------
  |  Branch (1755:5): [True: 0, False: 303k]
  ------------------
 1756|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium);
 1757|      0|        break;
 1758|      0|    case EHTokMin10float1:
  ------------------
  |  Branch (1758:5): [True: 0, False: 303k]
  ------------------
 1759|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium);
 1760|      0|        type.makeVector();
 1761|      0|        break;
 1762|      0|    case EHTokMin10float2:
  ------------------
  |  Branch (1762:5): [True: 0, False: 303k]
  ------------------
 1763|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 2);
 1764|      0|        break;
 1765|      0|    case EHTokMin10float3:
  ------------------
  |  Branch (1765:5): [True: 0, False: 303k]
  ------------------
 1766|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 3);
 1767|      0|        break;
 1768|      0|    case EHTokMin10float4:
  ------------------
  |  Branch (1768:5): [True: 0, False: 303k]
  ------------------
 1769|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 4);
 1770|      0|        break;
 1771|       |
 1772|      0|    case EHTokMin16int:
  ------------------
  |  Branch (1772:5): [True: 0, False: 303k]
  ------------------
 1773|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium);
 1774|      0|        break;
 1775|      0|    case EHTokMin16int1:
  ------------------
  |  Branch (1775:5): [True: 0, False: 303k]
  ------------------
 1776|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium);
 1777|      0|        type.makeVector();
 1778|      0|        break;
 1779|      0|    case EHTokMin16int2:
  ------------------
  |  Branch (1779:5): [True: 0, False: 303k]
  ------------------
 1780|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 2);
 1781|      0|        break;
 1782|      0|    case EHTokMin16int3:
  ------------------
  |  Branch (1782:5): [True: 0, False: 303k]
  ------------------
 1783|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 3);
 1784|      0|        break;
 1785|      0|    case EHTokMin16int4:
  ------------------
  |  Branch (1785:5): [True: 0, False: 303k]
  ------------------
 1786|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 4);
 1787|      0|        break;
 1788|       |
 1789|      0|    case EHTokMin12int:
  ------------------
  |  Branch (1789:5): [True: 0, False: 303k]
  ------------------
 1790|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium);
 1791|      0|        break;
 1792|      0|    case EHTokMin12int1:
  ------------------
  |  Branch (1792:5): [True: 0, False: 303k]
  ------------------
 1793|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium);
 1794|      0|        type.makeVector();
 1795|      0|        break;
 1796|      0|    case EHTokMin12int2:
  ------------------
  |  Branch (1796:5): [True: 0, False: 303k]
  ------------------
 1797|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 2);
 1798|      0|        break;
 1799|      0|    case EHTokMin12int3:
  ------------------
  |  Branch (1799:5): [True: 0, False: 303k]
  ------------------
 1800|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 3);
 1801|      0|        break;
 1802|      0|    case EHTokMin12int4:
  ------------------
  |  Branch (1802:5): [True: 0, False: 303k]
  ------------------
 1803|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 4);
 1804|      0|        break;
 1805|       |
 1806|      0|    case EHTokMin16uint:
  ------------------
  |  Branch (1806:5): [True: 0, False: 303k]
  ------------------
 1807|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium);
 1808|      0|        break;
 1809|      0|    case EHTokMin16uint1:
  ------------------
  |  Branch (1809:5): [True: 0, False: 303k]
  ------------------
 1810|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium);
 1811|      0|        type.makeVector();
 1812|      0|        break;
 1813|      0|    case EHTokMin16uint2:
  ------------------
  |  Branch (1813:5): [True: 0, False: 303k]
  ------------------
 1814|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 2);
 1815|      0|        break;
 1816|      0|    case EHTokMin16uint3:
  ------------------
  |  Branch (1816:5): [True: 0, False: 303k]
  ------------------
 1817|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 3);
 1818|      0|        break;
 1819|      0|    case EHTokMin16uint4:
  ------------------
  |  Branch (1819:5): [True: 0, False: 303k]
  ------------------
 1820|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 4);
 1821|      0|        break;
 1822|       |
 1823|  1.67k|    case EHTokInt1x1:
  ------------------
  |  Branch (1823:5): [True: 1.67k, False: 302k]
  ------------------
 1824|  1.67k|        new(&type) TType(EbtInt, EvqTemporary, 0, 1, 1);
 1825|  1.67k|        break;
 1826|  1.67k|    case EHTokInt1x2:
  ------------------
  |  Branch (1826:5): [True: 1.67k, False: 302k]
  ------------------
 1827|  1.67k|        new(&type) TType(EbtInt, EvqTemporary, 0, 1, 2);
 1828|  1.67k|        break;
 1829|  1.67k|    case EHTokInt1x3:
  ------------------
  |  Branch (1829:5): [True: 1.67k, False: 302k]
  ------------------
 1830|  1.67k|        new(&type) TType(EbtInt, EvqTemporary, 0, 1, 3);
 1831|  1.67k|        break;
 1832|  1.67k|    case EHTokInt1x4:
  ------------------
  |  Branch (1832:5): [True: 1.67k, False: 302k]
  ------------------
 1833|  1.67k|        new(&type) TType(EbtInt, EvqTemporary, 0, 1, 4);
 1834|  1.67k|        break;
 1835|  1.67k|    case EHTokInt2x1:
  ------------------
  |  Branch (1835:5): [True: 1.67k, False: 302k]
  ------------------
 1836|  1.67k|        new(&type) TType(EbtInt, EvqTemporary, 0, 2, 1);
 1837|  1.67k|        break;
 1838|  1.67k|    case EHTokInt2x2:
  ------------------
  |  Branch (1838:5): [True: 1.67k, False: 302k]
  ------------------
 1839|  1.67k|        new(&type) TType(EbtInt, EvqTemporary, 0, 2, 2);
 1840|  1.67k|        break;
 1841|  1.67k|    case EHTokInt2x3:
  ------------------
  |  Branch (1841:5): [True: 1.67k, False: 302k]
  ------------------
 1842|  1.67k|        new(&type) TType(EbtInt, EvqTemporary, 0, 2, 3);
 1843|  1.67k|        break;
 1844|  1.67k|    case EHTokInt2x4:
  ------------------
  |  Branch (1844:5): [True: 1.67k, False: 302k]
  ------------------
 1845|  1.67k|        new(&type) TType(EbtInt, EvqTemporary, 0, 2, 4);
 1846|  1.67k|        break;
 1847|  1.67k|    case EHTokInt3x1:
  ------------------
  |  Branch (1847:5): [True: 1.67k, False: 302k]
  ------------------
 1848|  1.67k|        new(&type) TType(EbtInt, EvqTemporary, 0, 3, 1);
 1849|  1.67k|        break;
 1850|  1.67k|    case EHTokInt3x2:
  ------------------
  |  Branch (1850:5): [True: 1.67k, False: 302k]
  ------------------
 1851|  1.67k|        new(&type) TType(EbtInt, EvqTemporary, 0, 3, 2);
 1852|  1.67k|        break;
 1853|  1.67k|    case EHTokInt3x3:
  ------------------
  |  Branch (1853:5): [True: 1.67k, False: 302k]
  ------------------
 1854|  1.67k|        new(&type) TType(EbtInt, EvqTemporary, 0, 3, 3);
 1855|  1.67k|        break;
 1856|  1.67k|    case EHTokInt3x4:
  ------------------
  |  Branch (1856:5): [True: 1.67k, False: 302k]
  ------------------
 1857|  1.67k|        new(&type) TType(EbtInt, EvqTemporary, 0, 3, 4);
 1858|  1.67k|        break;
 1859|  1.67k|    case EHTokInt4x1:
  ------------------
  |  Branch (1859:5): [True: 1.67k, False: 302k]
  ------------------
 1860|  1.67k|        new(&type) TType(EbtInt, EvqTemporary, 0, 4, 1);
 1861|  1.67k|        break;
 1862|  1.67k|    case EHTokInt4x2:
  ------------------
  |  Branch (1862:5): [True: 1.67k, False: 302k]
  ------------------
 1863|  1.67k|        new(&type) TType(EbtInt, EvqTemporary, 0, 4, 2);
 1864|  1.67k|        break;
 1865|  1.67k|    case EHTokInt4x3:
  ------------------
  |  Branch (1865:5): [True: 1.67k, False: 302k]
  ------------------
 1866|  1.67k|        new(&type) TType(EbtInt, EvqTemporary, 0, 4, 3);
 1867|  1.67k|        break;
 1868|  1.67k|    case EHTokInt4x4:
  ------------------
  |  Branch (1868:5): [True: 1.67k, False: 302k]
  ------------------
 1869|  1.67k|        new(&type) TType(EbtInt, EvqTemporary, 0, 4, 4);
 1870|  1.67k|        break;
 1871|       |
 1872|  1.54k|    case EHTokUint1x1:
  ------------------
  |  Branch (1872:5): [True: 1.54k, False: 302k]
  ------------------
 1873|  1.54k|        new(&type) TType(EbtUint, EvqTemporary, 0, 1, 1);
 1874|  1.54k|        break;
 1875|  1.54k|    case EHTokUint1x2:
  ------------------
  |  Branch (1875:5): [True: 1.54k, False: 302k]
  ------------------
 1876|  1.54k|        new(&type) TType(EbtUint, EvqTemporary, 0, 1, 2);
 1877|  1.54k|        break;
 1878|  1.54k|    case EHTokUint1x3:
  ------------------
  |  Branch (1878:5): [True: 1.54k, False: 302k]
  ------------------
 1879|  1.54k|        new(&type) TType(EbtUint, EvqTemporary, 0, 1, 3);
 1880|  1.54k|        break;
 1881|  1.54k|    case EHTokUint1x4:
  ------------------
  |  Branch (1881:5): [True: 1.54k, False: 302k]
  ------------------
 1882|  1.54k|        new(&type) TType(EbtUint, EvqTemporary, 0, 1, 4);
 1883|  1.54k|        break;
 1884|  1.54k|    case EHTokUint2x1:
  ------------------
  |  Branch (1884:5): [True: 1.54k, False: 302k]
  ------------------
 1885|  1.54k|        new(&type) TType(EbtUint, EvqTemporary, 0, 2, 1);
 1886|  1.54k|        break;
 1887|  1.54k|    case EHTokUint2x2:
  ------------------
  |  Branch (1887:5): [True: 1.54k, False: 302k]
  ------------------
 1888|  1.54k|        new(&type) TType(EbtUint, EvqTemporary, 0, 2, 2);
 1889|  1.54k|        break;
 1890|  1.54k|    case EHTokUint2x3:
  ------------------
  |  Branch (1890:5): [True: 1.54k, False: 302k]
  ------------------
 1891|  1.54k|        new(&type) TType(EbtUint, EvqTemporary, 0, 2, 3);
 1892|  1.54k|        break;
 1893|  1.54k|    case EHTokUint2x4:
  ------------------
  |  Branch (1893:5): [True: 1.54k, False: 302k]
  ------------------
 1894|  1.54k|        new(&type) TType(EbtUint, EvqTemporary, 0, 2, 4);
 1895|  1.54k|        break;
 1896|  1.54k|    case EHTokUint3x1:
  ------------------
  |  Branch (1896:5): [True: 1.54k, False: 302k]
  ------------------
 1897|  1.54k|        new(&type) TType(EbtUint, EvqTemporary, 0, 3, 1);
 1898|  1.54k|        break;
 1899|  1.54k|    case EHTokUint3x2:
  ------------------
  |  Branch (1899:5): [True: 1.54k, False: 302k]
  ------------------
 1900|  1.54k|        new(&type) TType(EbtUint, EvqTemporary, 0, 3, 2);
 1901|  1.54k|        break;
 1902|  1.54k|    case EHTokUint3x3:
  ------------------
  |  Branch (1902:5): [True: 1.54k, False: 302k]
  ------------------
 1903|  1.54k|        new(&type) TType(EbtUint, EvqTemporary, 0, 3, 3);
 1904|  1.54k|        break;
 1905|  1.54k|    case EHTokUint3x4:
  ------------------
  |  Branch (1905:5): [True: 1.54k, False: 302k]
  ------------------
 1906|  1.54k|        new(&type) TType(EbtUint, EvqTemporary, 0, 3, 4);
 1907|  1.54k|        break;
 1908|  1.54k|    case EHTokUint4x1:
  ------------------
  |  Branch (1908:5): [True: 1.54k, False: 302k]
  ------------------
 1909|  1.54k|        new(&type) TType(EbtUint, EvqTemporary, 0, 4, 1);
 1910|  1.54k|        break;
 1911|  1.54k|    case EHTokUint4x2:
  ------------------
  |  Branch (1911:5): [True: 1.54k, False: 302k]
  ------------------
 1912|  1.54k|        new(&type) TType(EbtUint, EvqTemporary, 0, 4, 2);
 1913|  1.54k|        break;
 1914|  1.54k|    case EHTokUint4x3:
  ------------------
  |  Branch (1914:5): [True: 1.54k, False: 302k]
  ------------------
 1915|  1.54k|        new(&type) TType(EbtUint, EvqTemporary, 0, 4, 3);
 1916|  1.54k|        break;
 1917|  1.54k|    case EHTokUint4x4:
  ------------------
  |  Branch (1917:5): [True: 1.54k, False: 302k]
  ------------------
 1918|  1.54k|        new(&type) TType(EbtUint, EvqTemporary, 0, 4, 4);
 1919|  1.54k|        break;
 1920|       |
 1921|    176|    case EHTokBool1x1:
  ------------------
  |  Branch (1921:5): [True: 176, False: 303k]
  ------------------
 1922|    176|        new(&type) TType(EbtBool, EvqTemporary, 0, 1, 1);
 1923|    176|        break;
 1924|    176|    case EHTokBool1x2:
  ------------------
  |  Branch (1924:5): [True: 176, False: 303k]
  ------------------
 1925|    176|        new(&type) TType(EbtBool, EvqTemporary, 0, 1, 2);
 1926|    176|        break;
 1927|    176|    case EHTokBool1x3:
  ------------------
  |  Branch (1927:5): [True: 176, False: 303k]
  ------------------
 1928|    176|        new(&type) TType(EbtBool, EvqTemporary, 0, 1, 3);
 1929|    176|        break;
 1930|    176|    case EHTokBool1x4:
  ------------------
  |  Branch (1930:5): [True: 176, False: 303k]
  ------------------
 1931|    176|        new(&type) TType(EbtBool, EvqTemporary, 0, 1, 4);
 1932|    176|        break;
 1933|    176|    case EHTokBool2x1:
  ------------------
  |  Branch (1933:5): [True: 176, False: 303k]
  ------------------
 1934|    176|        new(&type) TType(EbtBool, EvqTemporary, 0, 2, 1);
 1935|    176|        break;
 1936|    176|    case EHTokBool2x2:
  ------------------
  |  Branch (1936:5): [True: 176, False: 303k]
  ------------------
 1937|    176|        new(&type) TType(EbtBool, EvqTemporary, 0, 2, 2);
 1938|    176|        break;
 1939|    176|    case EHTokBool2x3:
  ------------------
  |  Branch (1939:5): [True: 176, False: 303k]
  ------------------
 1940|    176|        new(&type) TType(EbtBool, EvqTemporary, 0, 2, 3);
 1941|    176|        break;
 1942|    176|    case EHTokBool2x4:
  ------------------
  |  Branch (1942:5): [True: 176, False: 303k]
  ------------------
 1943|    176|        new(&type) TType(EbtBool, EvqTemporary, 0, 2, 4);
 1944|    176|        break;
 1945|    176|    case EHTokBool3x1:
  ------------------
  |  Branch (1945:5): [True: 176, False: 303k]
  ------------------
 1946|    176|        new(&type) TType(EbtBool, EvqTemporary, 0, 3, 1);
 1947|    176|        break;
 1948|    176|    case EHTokBool3x2:
  ------------------
  |  Branch (1948:5): [True: 176, False: 303k]
  ------------------
 1949|    176|        new(&type) TType(EbtBool, EvqTemporary, 0, 3, 2);
 1950|    176|        break;
 1951|    176|    case EHTokBool3x3:
  ------------------
  |  Branch (1951:5): [True: 176, False: 303k]
  ------------------
 1952|    176|        new(&type) TType(EbtBool, EvqTemporary, 0, 3, 3);
 1953|    176|        break;
 1954|    176|    case EHTokBool3x4:
  ------------------
  |  Branch (1954:5): [True: 176, False: 303k]
  ------------------
 1955|    176|        new(&type) TType(EbtBool, EvqTemporary, 0, 3, 4);
 1956|    176|        break;
 1957|    176|    case EHTokBool4x1:
  ------------------
  |  Branch (1957:5): [True: 176, False: 303k]
  ------------------
 1958|    176|        new(&type) TType(EbtBool, EvqTemporary, 0, 4, 1);
 1959|    176|        break;
 1960|    176|    case EHTokBool4x2:
  ------------------
  |  Branch (1960:5): [True: 176, False: 303k]
  ------------------
 1961|    176|        new(&type) TType(EbtBool, EvqTemporary, 0, 4, 2);
 1962|    176|        break;
 1963|    176|    case EHTokBool4x3:
  ------------------
  |  Branch (1963:5): [True: 176, False: 303k]
  ------------------
 1964|    176|        new(&type) TType(EbtBool, EvqTemporary, 0, 4, 3);
 1965|    176|        break;
 1966|    176|    case EHTokBool4x4:
  ------------------
  |  Branch (1966:5): [True: 176, False: 303k]
  ------------------
 1967|    176|        new(&type) TType(EbtBool, EvqTemporary, 0, 4, 4);
 1968|    176|        break;
 1969|       |
 1970|  3.56k|    case EHTokFloat1x1:
  ------------------
  |  Branch (1970:5): [True: 3.56k, False: 300k]
  ------------------
 1971|  3.56k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 1, 1);
 1972|  3.56k|        break;
 1973|  3.56k|    case EHTokFloat1x2:
  ------------------
  |  Branch (1973:5): [True: 3.56k, False: 300k]
  ------------------
 1974|  3.56k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 1, 2);
 1975|  3.56k|        break;
 1976|  3.56k|    case EHTokFloat1x3:
  ------------------
  |  Branch (1976:5): [True: 3.56k, False: 300k]
  ------------------
 1977|  3.56k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 1, 3);
 1978|  3.56k|        break;
 1979|  3.56k|    case EHTokFloat1x4:
  ------------------
  |  Branch (1979:5): [True: 3.56k, False: 300k]
  ------------------
 1980|  3.56k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 1, 4);
 1981|  3.56k|        break;
 1982|  3.56k|    case EHTokFloat2x1:
  ------------------
  |  Branch (1982:5): [True: 3.56k, False: 300k]
  ------------------
 1983|  3.56k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 2, 1);
 1984|  3.56k|        break;
 1985|  3.56k|    case EHTokFloat2x2:
  ------------------
  |  Branch (1985:5): [True: 3.56k, False: 300k]
  ------------------
 1986|  3.56k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 2, 2);
 1987|  3.56k|        break;
 1988|  3.56k|    case EHTokFloat2x3:
  ------------------
  |  Branch (1988:5): [True: 3.56k, False: 300k]
  ------------------
 1989|  3.56k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 2, 3);
 1990|  3.56k|        break;
 1991|  3.56k|    case EHTokFloat2x4:
  ------------------
  |  Branch (1991:5): [True: 3.56k, False: 300k]
  ------------------
 1992|  3.56k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 2, 4);
 1993|  3.56k|        break;
 1994|  3.56k|    case EHTokFloat3x1:
  ------------------
  |  Branch (1994:5): [True: 3.56k, False: 300k]
  ------------------
 1995|  3.56k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 3, 1);
 1996|  3.56k|        break;
 1997|  3.56k|    case EHTokFloat3x2:
  ------------------
  |  Branch (1997:5): [True: 3.56k, False: 300k]
  ------------------
 1998|  3.56k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 3, 2);
 1999|  3.56k|        break;
 2000|  3.56k|    case EHTokFloat3x3:
  ------------------
  |  Branch (2000:5): [True: 3.56k, False: 300k]
  ------------------
 2001|  3.56k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 3, 3);
 2002|  3.56k|        break;
 2003|  3.56k|    case EHTokFloat3x4:
  ------------------
  |  Branch (2003:5): [True: 3.56k, False: 300k]
  ------------------
 2004|  3.56k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 3, 4);
 2005|  3.56k|        break;
 2006|  3.56k|    case EHTokFloat4x1:
  ------------------
  |  Branch (2006:5): [True: 3.56k, False: 300k]
  ------------------
 2007|  3.56k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 4, 1);
 2008|  3.56k|        break;
 2009|  3.56k|    case EHTokFloat4x2:
  ------------------
  |  Branch (2009:5): [True: 3.56k, False: 300k]
  ------------------
 2010|  3.56k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 4, 2);
 2011|  3.56k|        break;
 2012|  3.56k|    case EHTokFloat4x3:
  ------------------
  |  Branch (2012:5): [True: 3.56k, False: 300k]
  ------------------
 2013|  3.56k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 4, 3);
 2014|  3.56k|        break;
 2015|  3.56k|    case EHTokFloat4x4:
  ------------------
  |  Branch (2015:5): [True: 3.56k, False: 300k]
  ------------------
 2016|  3.56k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 4, 4);
 2017|  3.56k|        break;
 2018|       |
 2019|      0|    case EHTokHalf1x1:
  ------------------
  |  Branch (2019:5): [True: 0, False: 303k]
  ------------------
 2020|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 1, 1);
 2021|      0|        break;
 2022|      0|    case EHTokHalf1x2:
  ------------------
  |  Branch (2022:5): [True: 0, False: 303k]
  ------------------
 2023|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 1, 2);
 2024|      0|        break;
 2025|      0|    case EHTokHalf1x3:
  ------------------
  |  Branch (2025:5): [True: 0, False: 303k]
  ------------------
 2026|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 1, 3);
 2027|      0|        break;
 2028|      0|    case EHTokHalf1x4:
  ------------------
  |  Branch (2028:5): [True: 0, False: 303k]
  ------------------
 2029|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 1, 4);
 2030|      0|        break;
 2031|      0|    case EHTokHalf2x1:
  ------------------
  |  Branch (2031:5): [True: 0, False: 303k]
  ------------------
 2032|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 2, 1);
 2033|      0|        break;
 2034|      0|    case EHTokHalf2x2:
  ------------------
  |  Branch (2034:5): [True: 0, False: 303k]
  ------------------
 2035|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 2, 2);
 2036|      0|        break;
 2037|      0|    case EHTokHalf2x3:
  ------------------
  |  Branch (2037:5): [True: 0, False: 303k]
  ------------------
 2038|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 2, 3);
 2039|      0|        break;
 2040|      0|    case EHTokHalf2x4:
  ------------------
  |  Branch (2040:5): [True: 0, False: 303k]
  ------------------
 2041|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 2, 4);
 2042|      0|        break;
 2043|      0|    case EHTokHalf3x1:
  ------------------
  |  Branch (2043:5): [True: 0, False: 303k]
  ------------------
 2044|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 3, 1);
 2045|      0|        break;
 2046|      0|    case EHTokHalf3x2:
  ------------------
  |  Branch (2046:5): [True: 0, False: 303k]
  ------------------
 2047|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 3, 2);
 2048|      0|        break;
 2049|      0|    case EHTokHalf3x3:
  ------------------
  |  Branch (2049:5): [True: 0, False: 303k]
  ------------------
 2050|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 3, 3);
 2051|      0|        break;
 2052|      0|    case EHTokHalf3x4:
  ------------------
  |  Branch (2052:5): [True: 0, False: 303k]
  ------------------
 2053|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 3, 4);
 2054|      0|        break;
 2055|      0|    case EHTokHalf4x1:
  ------------------
  |  Branch (2055:5): [True: 0, False: 303k]
  ------------------
 2056|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 4, 1);
 2057|      0|        break;
 2058|      0|    case EHTokHalf4x2:
  ------------------
  |  Branch (2058:5): [True: 0, False: 303k]
  ------------------
 2059|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 4, 2);
 2060|      0|        break;
 2061|      0|    case EHTokHalf4x3:
  ------------------
  |  Branch (2061:5): [True: 0, False: 303k]
  ------------------
 2062|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 4, 3);
 2063|      0|        break;
 2064|      0|    case EHTokHalf4x4:
  ------------------
  |  Branch (2064:5): [True: 0, False: 303k]
  ------------------
 2065|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 4, 4);
 2066|      0|        break;
 2067|       |
 2068|    264|    case EHTokDouble1x1:
  ------------------
  |  Branch (2068:5): [True: 264, False: 303k]
  ------------------
 2069|    264|        new(&type) TType(EbtDouble, EvqTemporary, 0, 1, 1);
 2070|    264|        break;
 2071|    264|    case EHTokDouble1x2:
  ------------------
  |  Branch (2071:5): [True: 264, False: 303k]
  ------------------
 2072|    264|        new(&type) TType(EbtDouble, EvqTemporary, 0, 1, 2);
 2073|    264|        break;
 2074|    264|    case EHTokDouble1x3:
  ------------------
  |  Branch (2074:5): [True: 264, False: 303k]
  ------------------
 2075|    264|        new(&type) TType(EbtDouble, EvqTemporary, 0, 1, 3);
 2076|    264|        break;
 2077|    264|    case EHTokDouble1x4:
  ------------------
  |  Branch (2077:5): [True: 264, False: 303k]
  ------------------
 2078|    264|        new(&type) TType(EbtDouble, EvqTemporary, 0, 1, 4);
 2079|    264|        break;
 2080|    264|    case EHTokDouble2x1:
  ------------------
  |  Branch (2080:5): [True: 264, False: 303k]
  ------------------
 2081|    264|        new(&type) TType(EbtDouble, EvqTemporary, 0, 2, 1);
 2082|    264|        break;
 2083|    264|    case EHTokDouble2x2:
  ------------------
  |  Branch (2083:5): [True: 264, False: 303k]
  ------------------
 2084|    264|        new(&type) TType(EbtDouble, EvqTemporary, 0, 2, 2);
 2085|    264|        break;
 2086|    264|    case EHTokDouble2x3:
  ------------------
  |  Branch (2086:5): [True: 264, False: 303k]
  ------------------
 2087|    264|        new(&type) TType(EbtDouble, EvqTemporary, 0, 2, 3);
 2088|    264|        break;
 2089|    264|    case EHTokDouble2x4:
  ------------------
  |  Branch (2089:5): [True: 264, False: 303k]
  ------------------
 2090|    264|        new(&type) TType(EbtDouble, EvqTemporary, 0, 2, 4);
 2091|    264|        break;
 2092|    264|    case EHTokDouble3x1:
  ------------------
  |  Branch (2092:5): [True: 264, False: 303k]
  ------------------
 2093|    264|        new(&type) TType(EbtDouble, EvqTemporary, 0, 3, 1);
 2094|    264|        break;
 2095|    264|    case EHTokDouble3x2:
  ------------------
  |  Branch (2095:5): [True: 264, False: 303k]
  ------------------
 2096|    264|        new(&type) TType(EbtDouble, EvqTemporary, 0, 3, 2);
 2097|    264|        break;
 2098|    264|    case EHTokDouble3x3:
  ------------------
  |  Branch (2098:5): [True: 264, False: 303k]
  ------------------
 2099|    264|        new(&type) TType(EbtDouble, EvqTemporary, 0, 3, 3);
 2100|    264|        break;
 2101|    264|    case EHTokDouble3x4:
  ------------------
  |  Branch (2101:5): [True: 264, False: 303k]
  ------------------
 2102|    264|        new(&type) TType(EbtDouble, EvqTemporary, 0, 3, 4);
 2103|    264|        break;
 2104|    264|    case EHTokDouble4x1:
  ------------------
  |  Branch (2104:5): [True: 264, False: 303k]
  ------------------
 2105|    264|        new(&type) TType(EbtDouble, EvqTemporary, 0, 4, 1);
 2106|    264|        break;
 2107|    264|    case EHTokDouble4x2:
  ------------------
  |  Branch (2107:5): [True: 264, False: 303k]
  ------------------
 2108|    264|        new(&type) TType(EbtDouble, EvqTemporary, 0, 4, 2);
 2109|    264|        break;
 2110|    264|    case EHTokDouble4x3:
  ------------------
  |  Branch (2110:5): [True: 264, False: 303k]
  ------------------
 2111|    264|        new(&type) TType(EbtDouble, EvqTemporary, 0, 4, 3);
 2112|    264|        break;
 2113|    264|    case EHTokDouble4x4:
  ------------------
  |  Branch (2113:5): [True: 264, False: 303k]
  ------------------
 2114|    264|        new(&type) TType(EbtDouble, EvqTemporary, 0, 4, 4);
 2115|    264|        break;
 2116|       |
 2117|      0|    case EHTokMin16float1x1:
  ------------------
  |  Branch (2117:5): [True: 0, False: 303k]
  ------------------
 2118|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 1, 1);
 2119|      0|        break;
 2120|      0|    case EHTokMin16float1x2:
  ------------------
  |  Branch (2120:5): [True: 0, False: 303k]
  ------------------
 2121|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 1, 2);
 2122|      0|        break;
 2123|      0|    case EHTokMin16float1x3:
  ------------------
  |  Branch (2123:5): [True: 0, False: 303k]
  ------------------
 2124|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 1, 3);
 2125|      0|        break;
 2126|      0|    case EHTokMin16float1x4:
  ------------------
  |  Branch (2126:5): [True: 0, False: 303k]
  ------------------
 2127|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 1, 4);
 2128|      0|        break;
 2129|      0|    case EHTokMin16float2x1:
  ------------------
  |  Branch (2129:5): [True: 0, False: 303k]
  ------------------
 2130|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 2, 1);
 2131|      0|        break;
 2132|      0|    case EHTokMin16float2x2:
  ------------------
  |  Branch (2132:5): [True: 0, False: 303k]
  ------------------
 2133|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 2, 2);
 2134|      0|        break;
 2135|      0|    case EHTokMin16float2x3:
  ------------------
  |  Branch (2135:5): [True: 0, False: 303k]
  ------------------
 2136|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 2, 3);
 2137|      0|        break;
 2138|      0|    case EHTokMin16float2x4:
  ------------------
  |  Branch (2138:5): [True: 0, False: 303k]
  ------------------
 2139|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 2, 4);
 2140|      0|        break;
 2141|      0|    case EHTokMin16float3x1:
  ------------------
  |  Branch (2141:5): [True: 0, False: 303k]
  ------------------
 2142|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 3, 1);
 2143|      0|        break;
 2144|      0|    case EHTokMin16float3x2:
  ------------------
  |  Branch (2144:5): [True: 0, False: 303k]
  ------------------
 2145|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 3, 2);
 2146|      0|        break;
 2147|      0|    case EHTokMin16float3x3:
  ------------------
  |  Branch (2147:5): [True: 0, False: 303k]
  ------------------
 2148|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 3, 3);
 2149|      0|        break;
 2150|      0|    case EHTokMin16float3x4:
  ------------------
  |  Branch (2150:5): [True: 0, False: 303k]
  ------------------
 2151|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 3, 4);
 2152|      0|        break;
 2153|      0|    case EHTokMin16float4x1:
  ------------------
  |  Branch (2153:5): [True: 0, False: 303k]
  ------------------
 2154|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 4, 1);
 2155|      0|        break;
 2156|      0|    case EHTokMin16float4x2:
  ------------------
  |  Branch (2156:5): [True: 0, False: 303k]
  ------------------
 2157|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 4, 2);
 2158|      0|        break;
 2159|      0|    case EHTokMin16float4x3:
  ------------------
  |  Branch (2159:5): [True: 0, False: 303k]
  ------------------
 2160|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 4, 3);
 2161|      0|        break;
 2162|      0|    case EHTokMin16float4x4:
  ------------------
  |  Branch (2162:5): [True: 0, False: 303k]
  ------------------
 2163|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 4, 4);
 2164|      0|        break;
 2165|       |
 2166|      0|    case EHTokMin10float1x1:
  ------------------
  |  Branch (2166:5): [True: 0, False: 303k]
  ------------------
 2167|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 1, 1);
 2168|      0|        break;
 2169|      0|    case EHTokMin10float1x2:
  ------------------
  |  Branch (2169:5): [True: 0, False: 303k]
  ------------------
 2170|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 1, 2);
 2171|      0|        break;
 2172|      0|    case EHTokMin10float1x3:
  ------------------
  |  Branch (2172:5): [True: 0, False: 303k]
  ------------------
 2173|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 1, 3);
 2174|      0|        break;
 2175|      0|    case EHTokMin10float1x4:
  ------------------
  |  Branch (2175:5): [True: 0, False: 303k]
  ------------------
 2176|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 1, 4);
 2177|      0|        break;
 2178|      0|    case EHTokMin10float2x1:
  ------------------
  |  Branch (2178:5): [True: 0, False: 303k]
  ------------------
 2179|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 2, 1);
 2180|      0|        break;
 2181|      0|    case EHTokMin10float2x2:
  ------------------
  |  Branch (2181:5): [True: 0, False: 303k]
  ------------------
 2182|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 2, 2);
 2183|      0|        break;
 2184|      0|    case EHTokMin10float2x3:
  ------------------
  |  Branch (2184:5): [True: 0, False: 303k]
  ------------------
 2185|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 2, 3);
 2186|      0|        break;
 2187|      0|    case EHTokMin10float2x4:
  ------------------
  |  Branch (2187:5): [True: 0, False: 303k]
  ------------------
 2188|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 2, 4);
 2189|      0|        break;
 2190|      0|    case EHTokMin10float3x1:
  ------------------
  |  Branch (2190:5): [True: 0, False: 303k]
  ------------------
 2191|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 3, 1);
 2192|      0|        break;
 2193|      0|    case EHTokMin10float3x2:
  ------------------
  |  Branch (2193:5): [True: 0, False: 303k]
  ------------------
 2194|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 3, 2);
 2195|      0|        break;
 2196|      0|    case EHTokMin10float3x3:
  ------------------
  |  Branch (2196:5): [True: 0, False: 303k]
  ------------------
 2197|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 3, 3);
 2198|      0|        break;
 2199|      0|    case EHTokMin10float3x4:
  ------------------
  |  Branch (2199:5): [True: 0, False: 303k]
  ------------------
 2200|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 3, 4);
 2201|      0|        break;
 2202|      0|    case EHTokMin10float4x1:
  ------------------
  |  Branch (2202:5): [True: 0, False: 303k]
  ------------------
 2203|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 4, 1);
 2204|      0|        break;
 2205|      0|    case EHTokMin10float4x2:
  ------------------
  |  Branch (2205:5): [True: 0, False: 303k]
  ------------------
 2206|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 4, 2);
 2207|      0|        break;
 2208|      0|    case EHTokMin10float4x3:
  ------------------
  |  Branch (2208:5): [True: 0, False: 303k]
  ------------------
 2209|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 4, 3);
 2210|      0|        break;
 2211|      0|    case EHTokMin10float4x4:
  ------------------
  |  Branch (2211:5): [True: 0, False: 303k]
  ------------------
 2212|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 4, 4);
 2213|      0|        break;
 2214|       |
 2215|      0|    case EHTokMin16int1x1:
  ------------------
  |  Branch (2215:5): [True: 0, False: 303k]
  ------------------
 2216|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 1, 1);
 2217|      0|        break;
 2218|      0|    case EHTokMin16int1x2:
  ------------------
  |  Branch (2218:5): [True: 0, False: 303k]
  ------------------
 2219|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 1, 2);
 2220|      0|        break;
 2221|      0|    case EHTokMin16int1x3:
  ------------------
  |  Branch (2221:5): [True: 0, False: 303k]
  ------------------
 2222|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 1, 3);
 2223|      0|        break;
 2224|      0|    case EHTokMin16int1x4:
  ------------------
  |  Branch (2224:5): [True: 0, False: 303k]
  ------------------
 2225|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 1, 4);
 2226|      0|        break;
 2227|      0|    case EHTokMin16int2x1:
  ------------------
  |  Branch (2227:5): [True: 0, False: 303k]
  ------------------
 2228|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 2, 1);
 2229|      0|        break;
 2230|      0|    case EHTokMin16int2x2:
  ------------------
  |  Branch (2230:5): [True: 0, False: 303k]
  ------------------
 2231|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 2, 2);
 2232|      0|        break;
 2233|      0|    case EHTokMin16int2x3:
  ------------------
  |  Branch (2233:5): [True: 0, False: 303k]
  ------------------
 2234|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 2, 3);
 2235|      0|        break;
 2236|      0|    case EHTokMin16int2x4:
  ------------------
  |  Branch (2236:5): [True: 0, False: 303k]
  ------------------
 2237|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 2, 4);
 2238|      0|        break;
 2239|      0|    case EHTokMin16int3x1:
  ------------------
  |  Branch (2239:5): [True: 0, False: 303k]
  ------------------
 2240|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 3, 1);
 2241|      0|        break;
 2242|      0|    case EHTokMin16int3x2:
  ------------------
  |  Branch (2242:5): [True: 0, False: 303k]
  ------------------
 2243|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 3, 2);
 2244|      0|        break;
 2245|      0|    case EHTokMin16int3x3:
  ------------------
  |  Branch (2245:5): [True: 0, False: 303k]
  ------------------
 2246|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 3, 3);
 2247|      0|        break;
 2248|      0|    case EHTokMin16int3x4:
  ------------------
  |  Branch (2248:5): [True: 0, False: 303k]
  ------------------
 2249|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 3, 4);
 2250|      0|        break;
 2251|      0|    case EHTokMin16int4x1:
  ------------------
  |  Branch (2251:5): [True: 0, False: 303k]
  ------------------
 2252|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 4, 1);
 2253|      0|        break;
 2254|      0|    case EHTokMin16int4x2:
  ------------------
  |  Branch (2254:5): [True: 0, False: 303k]
  ------------------
 2255|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 4, 2);
 2256|      0|        break;
 2257|      0|    case EHTokMin16int4x3:
  ------------------
  |  Branch (2257:5): [True: 0, False: 303k]
  ------------------
 2258|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 4, 3);
 2259|      0|        break;
 2260|      0|    case EHTokMin16int4x4:
  ------------------
  |  Branch (2260:5): [True: 0, False: 303k]
  ------------------
 2261|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 4, 4);
 2262|      0|        break;
 2263|       |
 2264|      0|    case EHTokMin12int1x1:
  ------------------
  |  Branch (2264:5): [True: 0, False: 303k]
  ------------------
 2265|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 1, 1);
 2266|      0|        break;
 2267|      0|    case EHTokMin12int1x2:
  ------------------
  |  Branch (2267:5): [True: 0, False: 303k]
  ------------------
 2268|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 1, 2);
 2269|      0|        break;
 2270|      0|    case EHTokMin12int1x3:
  ------------------
  |  Branch (2270:5): [True: 0, False: 303k]
  ------------------
 2271|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 1, 3);
 2272|      0|        break;
 2273|      0|    case EHTokMin12int1x4:
  ------------------
  |  Branch (2273:5): [True: 0, False: 303k]
  ------------------
 2274|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 1, 4);
 2275|      0|        break;
 2276|      0|    case EHTokMin12int2x1:
  ------------------
  |  Branch (2276:5): [True: 0, False: 303k]
  ------------------
 2277|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 2, 1);
 2278|      0|        break;
 2279|      0|    case EHTokMin12int2x2:
  ------------------
  |  Branch (2279:5): [True: 0, False: 303k]
  ------------------
 2280|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 2, 2);
 2281|      0|        break;
 2282|      0|    case EHTokMin12int2x3:
  ------------------
  |  Branch (2282:5): [True: 0, False: 303k]
  ------------------
 2283|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 2, 3);
 2284|      0|        break;
 2285|      0|    case EHTokMin12int2x4:
  ------------------
  |  Branch (2285:5): [True: 0, False: 303k]
  ------------------
 2286|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 2, 4);
 2287|      0|        break;
 2288|      0|    case EHTokMin12int3x1:
  ------------------
  |  Branch (2288:5): [True: 0, False: 303k]
  ------------------
 2289|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 3, 1);
 2290|      0|        break;
 2291|      0|    case EHTokMin12int3x2:
  ------------------
  |  Branch (2291:5): [True: 0, False: 303k]
  ------------------
 2292|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 3, 2);
 2293|      0|        break;
 2294|      0|    case EHTokMin12int3x3:
  ------------------
  |  Branch (2294:5): [True: 0, False: 303k]
  ------------------
 2295|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 3, 3);
 2296|      0|        break;
 2297|      0|    case EHTokMin12int3x4:
  ------------------
  |  Branch (2297:5): [True: 0, False: 303k]
  ------------------
 2298|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 3, 4);
 2299|      0|        break;
 2300|      0|    case EHTokMin12int4x1:
  ------------------
  |  Branch (2300:5): [True: 0, False: 303k]
  ------------------
 2301|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 4, 1);
 2302|      0|        break;
 2303|      0|    case EHTokMin12int4x2:
  ------------------
  |  Branch (2303:5): [True: 0, False: 303k]
  ------------------
 2304|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 4, 2);
 2305|      0|        break;
 2306|      0|    case EHTokMin12int4x3:
  ------------------
  |  Branch (2306:5): [True: 0, False: 303k]
  ------------------
 2307|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 4, 3);
 2308|      0|        break;
 2309|      0|    case EHTokMin12int4x4:
  ------------------
  |  Branch (2309:5): [True: 0, False: 303k]
  ------------------
 2310|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 4, 4);
 2311|      0|        break;
 2312|       |
 2313|      0|    case EHTokMin16uint1x1:
  ------------------
  |  Branch (2313:5): [True: 0, False: 303k]
  ------------------
 2314|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 1, 1);
 2315|      0|        break;
 2316|      0|    case EHTokMin16uint1x2:
  ------------------
  |  Branch (2316:5): [True: 0, False: 303k]
  ------------------
 2317|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 1, 2);
 2318|      0|        break;
 2319|      0|    case EHTokMin16uint1x3:
  ------------------
  |  Branch (2319:5): [True: 0, False: 303k]
  ------------------
 2320|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 1, 3);
 2321|      0|        break;
 2322|      0|    case EHTokMin16uint1x4:
  ------------------
  |  Branch (2322:5): [True: 0, False: 303k]
  ------------------
 2323|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 1, 4);
 2324|      0|        break;
 2325|      0|    case EHTokMin16uint2x1:
  ------------------
  |  Branch (2325:5): [True: 0, False: 303k]
  ------------------
 2326|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 2, 1);
 2327|      0|        break;
 2328|      0|    case EHTokMin16uint2x2:
  ------------------
  |  Branch (2328:5): [True: 0, False: 303k]
  ------------------
 2329|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 2, 2);
 2330|      0|        break;
 2331|      0|    case EHTokMin16uint2x3:
  ------------------
  |  Branch (2331:5): [True: 0, False: 303k]
  ------------------
 2332|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 2, 3);
 2333|      0|        break;
 2334|      0|    case EHTokMin16uint2x4:
  ------------------
  |  Branch (2334:5): [True: 0, False: 303k]
  ------------------
 2335|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 2, 4);
 2336|      0|        break;
 2337|      0|    case EHTokMin16uint3x1:
  ------------------
  |  Branch (2337:5): [True: 0, False: 303k]
  ------------------
 2338|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 3, 1);
 2339|      0|        break;
 2340|      0|    case EHTokMin16uint3x2:
  ------------------
  |  Branch (2340:5): [True: 0, False: 303k]
  ------------------
 2341|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 3, 2);
 2342|      0|        break;
 2343|      0|    case EHTokMin16uint3x3:
  ------------------
  |  Branch (2343:5): [True: 0, False: 303k]
  ------------------
 2344|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 3, 3);
 2345|      0|        break;
 2346|      0|    case EHTokMin16uint3x4:
  ------------------
  |  Branch (2346:5): [True: 0, False: 303k]
  ------------------
 2347|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 3, 4);
 2348|      0|        break;
 2349|      0|    case EHTokMin16uint4x1:
  ------------------
  |  Branch (2349:5): [True: 0, False: 303k]
  ------------------
 2350|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 4, 1);
 2351|      0|        break;
 2352|      0|    case EHTokMin16uint4x2:
  ------------------
  |  Branch (2352:5): [True: 0, False: 303k]
  ------------------
 2353|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 4, 2);
 2354|      0|        break;
 2355|      0|    case EHTokMin16uint4x3:
  ------------------
  |  Branch (2355:5): [True: 0, False: 303k]
  ------------------
 2356|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 4, 3);
 2357|      0|        break;
 2358|      0|    case EHTokMin16uint4x4:
  ------------------
  |  Branch (2358:5): [True: 0, False: 303k]
  ------------------
 2359|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 4, 4);
 2360|      0|        break;
 2361|       |
 2362|      0|    default:
  ------------------
  |  Branch (2362:5): [True: 0, False: 303k]
  ------------------
 2363|      0|        return false;
 2364|   303k|    }
 2365|       |
 2366|   272k|    advanceToken();
 2367|       |
 2368|   272k|    if ((isUnorm || isSnorm) && !type.isFloatingDomain()) {
  ------------------
  |  Branch (2368:10): [True: 0, False: 272k]
  |  Branch (2368:21): [True: 0, False: 272k]
  |  Branch (2368:33): [True: 0, False: 0]
  ------------------
 2369|      0|        parseContext.error(token.loc, "unorm and snorm only valid in floating point domain", "", "");
 2370|      0|        return false;
 2371|      0|    }
 2372|       |
 2373|   272k|    return true;
 2374|   272k|}
_ZN7glslang11HlslGrammar24acceptFunctionParametersERNS_9TFunctionE:
 2828|  88.0k|{
 2829|  88.0k|    parseContext.beginParameterParsing(function);
 2830|       |
 2831|       |    // LEFT_PAREN
 2832|  88.0k|    if (! acceptTokenClass(EHTokLeftParen))
  ------------------
  |  Branch (2832:9): [True: 0, False: 88.0k]
  ------------------
 2833|      0|        return false;
 2834|       |
 2835|       |    // VOID RIGHT_PAREN
 2836|  88.0k|    if (! acceptTokenClass(EHTokVoid)) {
  ------------------
  |  Branch (2836:9): [True: 87.3k, False: 770]
  ------------------
 2837|   197k|        do {
 2838|       |            // parameter_declaration
 2839|   197k|            if (! acceptParameterDeclaration(function))
  ------------------
  |  Branch (2839:17): [True: 0, False: 197k]
  ------------------
 2840|      0|                break;
 2841|       |
 2842|       |            // COMMA
 2843|   197k|            if (! acceptTokenClass(EHTokComma))
  ------------------
  |  Branch (2843:17): [True: 87.3k, False: 110k]
  ------------------
 2844|  87.3k|                break;
 2845|   197k|        } while (true);
  ------------------
  |  Branch (2845:18): [True: 110k, Folded]
  ------------------
 2846|  87.3k|    }
 2847|       |
 2848|       |    // RIGHT_PAREN
 2849|  88.0k|    if (! acceptTokenClass(EHTokRightParen)) {
  ------------------
  |  Branch (2849:9): [True: 0, False: 88.0k]
  ------------------
 2850|      0|        expected(")");
 2851|      0|        return false;
 2852|      0|    }
 2853|       |
 2854|  88.0k|    return true;
 2855|  88.0k|}
_ZN7glslang11HlslGrammar33acceptDefaultParameterDeclarationERKNS_5TTypeERPNS_12TIntermTypedE:
 2861|   197k|{
 2862|   197k|    node = nullptr;
 2863|       |
 2864|       |    // Valid not to have a default_parameter_declaration
 2865|   197k|    if (!acceptTokenClass(EHTokAssign))
  ------------------
  |  Branch (2865:9): [True: 197k, False: 0]
  ------------------
 2866|   197k|        return true;
 2867|       |
 2868|      0|    if (!acceptConditionalExpression(node)) {
  ------------------
  |  Branch (2868:9): [True: 0, False: 0]
  ------------------
 2869|      0|        if (!acceptInitializer(node))
  ------------------
  |  Branch (2869:13): [True: 0, False: 0]
  ------------------
 2870|      0|            return false;
 2871|       |
 2872|       |        // For initializer lists, we have to const-fold into a constructor for the type, so build
 2873|       |        // that.
 2874|      0|        TFunction* constructor = parseContext.makeConstructorCall(token.loc, type);
 2875|      0|        if (constructor == nullptr)  // cannot construct
  ------------------
  |  Branch (2875:13): [True: 0, False: 0]
  ------------------
 2876|      0|            return false;
 2877|       |
 2878|      0|        TIntermTyped* arguments = nullptr;
 2879|      0|        for (int i = 0; i < int(node->getAsAggregate()->getSequence().size()); i++)
  ------------------
  |  Branch (2879:25): [True: 0, False: 0]
  ------------------
 2880|      0|            parseContext.handleFunctionArgument(constructor, arguments, node->getAsAggregate()->getSequence()[i]->getAsTyped());
 2881|       |
 2882|      0|        node = parseContext.handleFunctionCall(token.loc, constructor, node);
 2883|      0|    }
 2884|       |
 2885|      0|    if (node == nullptr)
  ------------------
  |  Branch (2885:9): [True: 0, False: 0]
  ------------------
 2886|      0|        return false;
 2887|       |
 2888|       |    // If this is simply a constant, we can use it directly.
 2889|      0|    if (node->getAsConstantUnion())
  ------------------
  |  Branch (2889:9): [True: 0, False: 0]
  ------------------
 2890|      0|        return true;
 2891|       |
 2892|       |    // Otherwise, it has to be const-foldable.
 2893|      0|    TIntermTyped* origNode = node;
 2894|       |
 2895|      0|    node = intermediate.fold(node->getAsAggregate());
 2896|       |
 2897|      0|    if (node != nullptr && origNode != node)
  ------------------
  |  Branch (2897:9): [True: 0, False: 0]
  |  Branch (2897:28): [True: 0, False: 0]
  ------------------
 2898|      0|        return true;
 2899|       |
 2900|      0|    parseContext.error(token.loc, "invalid default parameter value", "", "");
 2901|       |
 2902|      0|    return false;
 2903|      0|}
_ZN7glslang11HlslGrammar26acceptParameterDeclarationERNS_9TFunctionE:
 2913|   197k|{
 2914|       |    // attributes
 2915|   197k|    TAttributes attributes;
 2916|   197k|    acceptAttributes(attributes);
 2917|       |
 2918|       |    // fully_specified_type
 2919|   197k|    TType* type = new TType;
 2920|   197k|    if (! acceptFullySpecifiedType(*type, attributes))
  ------------------
  |  Branch (2920:9): [True: 0, False: 197k]
  ------------------
 2921|      0|        return false;
 2922|       |
 2923|       |    // merge in the attributes
 2924|   197k|    parseContext.transferTypeAttributes(token.loc, attributes, *type);
 2925|       |
 2926|       |    // identifier
 2927|   197k|    HlslToken idToken;
 2928|   197k|    acceptIdentifier(idToken);
 2929|       |
 2930|       |    // array_specifier
 2931|   197k|    TArraySizes* arraySizes = nullptr;
 2932|   197k|    acceptArraySpecifier(arraySizes);
 2933|   197k|    if (arraySizes) {
  ------------------
  |  Branch (2933:9): [True: 0, False: 197k]
  ------------------
 2934|      0|        if (arraySizes->hasUnsized()) {
  ------------------
  |  Branch (2934:13): [True: 0, False: 0]
  ------------------
 2935|      0|            parseContext.error(token.loc, "function parameter requires array size", "[]", "");
 2936|      0|            return false;
 2937|      0|        }
 2938|       |
 2939|      0|        type->transferArraySizes(arraySizes);
 2940|      0|    }
 2941|       |
 2942|       |    // post_decls
 2943|   197k|    acceptPostDecls(type->getQualifier());
 2944|       |
 2945|   197k|    TIntermTyped* defaultValue;
 2946|   197k|    if (!acceptDefaultParameterDeclaration(*type, defaultValue))
  ------------------
  |  Branch (2946:9): [True: 0, False: 197k]
  ------------------
 2947|      0|        return false;
 2948|       |
 2949|   197k|    parseContext.paramFix(*type);
 2950|       |
 2951|       |    // If any prior parameters have default values, all the parameters after that must as well.
 2952|   197k|    if (defaultValue == nullptr && function.getDefaultParamCount() > 0) {
  ------------------
  |  Branch (2952:9): [True: 197k, False: 0]
  |  Branch (2952:36): [True: 0, False: 197k]
  ------------------
 2953|      0|        parseContext.error(idToken.loc, "invalid parameter after default value parameters", idToken.getCStrOrEmpty(), "");
 2954|      0|        return false;
 2955|      0|    }
 2956|       |
 2957|   197k|    TParameter param = { idToken.string, type, defaultValue };
 2958|   197k|    function.addParameter(param);
 2959|       |
 2960|   197k|    return true;
 2961|   197k|}
_ZN7glslang11HlslGrammar16acceptAttributesERNS_5TListINS_14TAttributeArgsEEE:
 3849|   285k|{
 3850|       |    // For now, accept the [ XXX(X) ] syntax, but drop all but
 3851|       |    // numthreads, which is used to set the CS local size.
 3852|       |    // TODO: subset to correct set?  Pass on?
 3853|   285k|    do {
 3854|   285k|        HlslToken attributeToken;
 3855|       |
 3856|       |        // LEFT_BRACKET?
 3857|   285k|        if (! acceptTokenClass(EHTokLeftBracket))
  ------------------
  |  Branch (3857:13): [True: 285k, False: 0]
  ------------------
 3858|   285k|            return;
 3859|       |        // another LEFT_BRACKET?
 3860|      0|        bool doubleBrackets = false;
 3861|      0|        if (acceptTokenClass(EHTokLeftBracket))
  ------------------
  |  Branch (3861:13): [True: 0, False: 0]
  ------------------
 3862|      0|            doubleBrackets = true;
 3863|       |
 3864|       |        // attribute? (could be namespace; will adjust later)
 3865|      0|        if (!acceptIdentifier(attributeToken)) {
  ------------------
  |  Branch (3865:13): [True: 0, False: 0]
  ------------------
 3866|      0|            if (!peekTokenClass(EHTokRightBracket)) {
  ------------------
  |  Branch (3866:17): [True: 0, False: 0]
  ------------------
 3867|      0|                expected("namespace or attribute identifier");
 3868|      0|                advanceToken();
 3869|      0|            }
 3870|      0|        }
 3871|       |
 3872|      0|        TString nameSpace;
 3873|      0|        if (acceptTokenClass(EHTokColonColon)) {
  ------------------
  |  Branch (3873:13): [True: 0, False: 0]
  ------------------
 3874|       |            // namespace COLON COLON
 3875|      0|            nameSpace = *attributeToken.string;
 3876|       |            // attribute
 3877|      0|            if (!acceptIdentifier(attributeToken)) {
  ------------------
  |  Branch (3877:17): [True: 0, False: 0]
  ------------------
 3878|      0|                expected("attribute identifier");
 3879|      0|                return;
 3880|      0|            }
 3881|      0|        }
 3882|       |
 3883|      0|        TIntermAggregate* expressions = nullptr;
 3884|       |
 3885|       |        // (x, ...)
 3886|      0|        if (acceptTokenClass(EHTokLeftParen)) {
  ------------------
  |  Branch (3886:13): [True: 0, False: 0]
  ------------------
 3887|      0|            expressions = new TIntermAggregate;
 3888|       |
 3889|      0|            TIntermTyped* node;
 3890|      0|            bool expectingExpression = false;
 3891|       |
 3892|      0|            while (acceptAssignmentExpression(node)) {
  ------------------
  |  Branch (3892:20): [True: 0, False: 0]
  ------------------
 3893|      0|                expectingExpression = false;
 3894|      0|                expressions->getSequence().push_back(node);
 3895|      0|                if (acceptTokenClass(EHTokComma))
  ------------------
  |  Branch (3895:21): [True: 0, False: 0]
  ------------------
 3896|      0|                    expectingExpression = true;
 3897|      0|            }
 3898|       |
 3899|       |            // 'expressions' is an aggregate with the expressions in it
 3900|      0|            if (! acceptTokenClass(EHTokRightParen))
  ------------------
  |  Branch (3900:17): [True: 0, False: 0]
  ------------------
 3901|      0|                expected(")");
 3902|       |
 3903|       |            // Error for partial or missing expression
 3904|      0|            if (expectingExpression || expressions->getSequence().empty())
  ------------------
  |  Branch (3904:17): [True: 0, False: 0]
  |  Branch (3904:40): [True: 0, False: 0]
  ------------------
 3905|      0|                expected("expression");
 3906|      0|        }
 3907|       |
 3908|       |        // RIGHT_BRACKET
 3909|      0|        if (!acceptTokenClass(EHTokRightBracket)) {
  ------------------
  |  Branch (3909:13): [True: 0, False: 0]
  ------------------
 3910|      0|            expected("]");
 3911|      0|            return;
 3912|      0|        }
 3913|       |        // another RIGHT_BRACKET?
 3914|      0|        if (doubleBrackets && !acceptTokenClass(EHTokRightBracket)) {
  ------------------
  |  Branch (3914:13): [True: 0, False: 0]
  |  Branch (3914:31): [True: 0, False: 0]
  ------------------
 3915|      0|            expected("]]");
 3916|      0|            return;
 3917|      0|        }
 3918|       |
 3919|       |        // Add any values we found into the attribute map.
 3920|      0|        if (attributeToken.string != nullptr) {
  ------------------
  |  Branch (3920:13): [True: 0, False: 0]
  ------------------
 3921|      0|            TAttributeType attributeType = parseContext.attributeFromName(nameSpace, *attributeToken.string);
 3922|      0|            if (attributeType == EatNone)
  ------------------
  |  Branch (3922:17): [True: 0, False: 0]
  ------------------
 3923|      0|                parseContext.warn(attributeToken.loc, "unrecognized attribute", attributeToken.getCStrOrEmpty(), "");
 3924|      0|            else {
 3925|      0|                TAttributeArgs attributeArgs = { attributeType, expressions };
 3926|      0|                attributes.push_back(attributeArgs);
 3927|      0|            }
 3928|      0|        }
 3929|      0|    } while (true);
  ------------------
  |  Branch (3929:14): [True: 0, Folded]
  ------------------
 3930|   285k|}
_ZN7glslang11HlslGrammar20acceptArraySpecifierERPNS_11TArraySizesE:
 4280|   197k|{
 4281|   197k|    arraySizes = nullptr;
 4282|       |
 4283|       |    // Early-out if there aren't any array dimensions
 4284|   197k|    if (!peekTokenClass(EHTokLeftBracket))
  ------------------
  |  Branch (4284:9): [True: 197k, False: 0]
  ------------------
 4285|   197k|        return;
 4286|       |
 4287|       |    // If we get here, we have at least one array dimension.  This will track the sizes we find.
 4288|      0|    arraySizes = new TArraySizes;
 4289|       |
 4290|       |    // Collect each array dimension.
 4291|      0|    while (acceptTokenClass(EHTokLeftBracket)) {
  ------------------
  |  Branch (4291:12): [True: 0, False: 0]
  ------------------
 4292|      0|        TSourceLoc loc = token.loc;
 4293|      0|        TIntermTyped* sizeExpr = nullptr;
 4294|       |
 4295|       |        // Array sizing expression is optional.  If omitted, array will be later sized by initializer list.
 4296|      0|        const bool hasArraySize = acceptAssignmentExpression(sizeExpr);
 4297|       |
 4298|      0|        if (! acceptTokenClass(EHTokRightBracket)) {
  ------------------
  |  Branch (4298:13): [True: 0, False: 0]
  ------------------
 4299|      0|            expected("]");
 4300|      0|            return;
 4301|      0|        }
 4302|       |
 4303|      0|        if (hasArraySize) {
  ------------------
  |  Branch (4303:13): [True: 0, False: 0]
  ------------------
 4304|      0|            TArraySize arraySize;
 4305|      0|            parseContext.arraySizeCheck(loc, sizeExpr, arraySize);
 4306|      0|            arraySizes->addInnerSize(arraySize);
 4307|      0|        } else {
 4308|      0|            arraySizes->addInnerSize(0);  // sized by initializers.
 4309|      0|        }
 4310|      0|    }
 4311|      0|}
_ZN7glslang11HlslGrammar15acceptPostDeclsERNS_10TQualifierE:
 4325|   285k|{
 4326|   285k|    bool found = false;
 4327|       |
 4328|   285k|    do {
 4329|       |        // COLON
 4330|   285k|        if (acceptTokenClass(EHTokColon)) {
  ------------------
  |  Branch (4330:13): [True: 0, False: 285k]
  ------------------
 4331|      0|            found = true;
 4332|      0|            HlslToken idToken;
 4333|      0|            if (peekTokenClass(EHTokLayout))
  ------------------
  |  Branch (4333:17): [True: 0, False: 0]
  ------------------
 4334|      0|                acceptLayoutQualifierList(qualifier);
 4335|      0|            else if (acceptTokenClass(EHTokPackOffset)) {
  ------------------
  |  Branch (4335:22): [True: 0, False: 0]
  ------------------
 4336|       |                // PACKOFFSET LEFT_PAREN c[Subcomponent][.component] RIGHT_PAREN
 4337|      0|                if (! acceptTokenClass(EHTokLeftParen)) {
  ------------------
  |  Branch (4337:21): [True: 0, False: 0]
  ------------------
 4338|      0|                    expected("(");
 4339|      0|                    return false;
 4340|      0|                }
 4341|      0|                HlslToken locationToken;
 4342|      0|                if (! acceptIdentifier(locationToken)) {
  ------------------
  |  Branch (4342:21): [True: 0, False: 0]
  ------------------
 4343|      0|                    expected("c[subcomponent][.component]");
 4344|      0|                    return false;
 4345|      0|                }
 4346|      0|                HlslToken componentToken;
 4347|      0|                if (acceptTokenClass(EHTokDot)) {
  ------------------
  |  Branch (4347:21): [True: 0, False: 0]
  ------------------
 4348|      0|                    if (! acceptIdentifier(componentToken)) {
  ------------------
  |  Branch (4348:25): [True: 0, False: 0]
  ------------------
 4349|      0|                        expected("component");
 4350|      0|                        return false;
 4351|      0|                    }
 4352|      0|                }
 4353|      0|                if (! acceptTokenClass(EHTokRightParen)) {
  ------------------
  |  Branch (4353:21): [True: 0, False: 0]
  ------------------
 4354|      0|                    expected(")");
 4355|      0|                    break;
 4356|      0|                }
 4357|      0|                parseContext.handlePackOffset(locationToken.loc, qualifier, *locationToken.string, componentToken.string);
 4358|      0|            } else if (! acceptIdentifier(idToken)) {
  ------------------
  |  Branch (4358:24): [True: 0, False: 0]
  ------------------
 4359|      0|                expected("layout, semantic, packoffset, or register");
 4360|      0|                return false;
 4361|      0|            } else if (*idToken.string == "register") {
  ------------------
  |  Branch (4361:24): [True: 0, False: 0]
  ------------------
 4362|       |                // REGISTER LEFT_PAREN [shader_profile,] Type#[subcomp]opt (COMMA SPACEN)opt RIGHT_PAREN
 4363|       |                // LEFT_PAREN
 4364|      0|                if (! acceptTokenClass(EHTokLeftParen)) {
  ------------------
  |  Branch (4364:21): [True: 0, False: 0]
  ------------------
 4365|      0|                    expected("(");
 4366|      0|                    return false;
 4367|      0|                }
 4368|      0|                HlslToken registerDesc;  // for Type#
 4369|      0|                HlslToken profile;
 4370|      0|                if (! acceptIdentifier(registerDesc)) {
  ------------------
  |  Branch (4370:21): [True: 0, False: 0]
  ------------------
 4371|      0|                    expected("register number description");
 4372|      0|                    return false;
 4373|      0|                }
 4374|      0|                if (registerDesc.string->size() > 1 && !isdigit((*registerDesc.string)[1]) &&
  ------------------
  |  Branch (4374:21): [True: 0, False: 0]
  |  Branch (4374:56): [True: 0, False: 0]
  ------------------
 4375|      0|                                                       acceptTokenClass(EHTokComma)) {
  ------------------
  |  Branch (4375:56): [True: 0, False: 0]
  ------------------
 4376|       |                    // Then we didn't really see the registerDesc yet, it was
 4377|       |                    // actually the profile.  Adjust...
 4378|      0|                    profile = registerDesc;
 4379|      0|                    if (! acceptIdentifier(registerDesc)) {
  ------------------
  |  Branch (4379:25): [True: 0, False: 0]
  ------------------
 4380|      0|                        expected("register number description");
 4381|      0|                        return false;
 4382|      0|                    }
 4383|      0|                }
 4384|      0|                int subComponent = 0;
 4385|      0|                if (acceptTokenClass(EHTokLeftBracket)) {
  ------------------
  |  Branch (4385:21): [True: 0, False: 0]
  ------------------
 4386|       |                    // LEFT_BRACKET subcomponent RIGHT_BRACKET
 4387|      0|                    if (! peekTokenClass(EHTokIntConstant)) {
  ------------------
  |  Branch (4387:25): [True: 0, False: 0]
  ------------------
 4388|      0|                        expected("literal integer");
 4389|      0|                        return false;
 4390|      0|                    }
 4391|      0|                    subComponent = token.i;
 4392|      0|                    advanceToken();
 4393|      0|                    if (! acceptTokenClass(EHTokRightBracket)) {
  ------------------
  |  Branch (4393:25): [True: 0, False: 0]
  ------------------
 4394|      0|                        expected("]");
 4395|      0|                        break;
 4396|      0|                    }
 4397|      0|                }
 4398|       |                // (COMMA SPACEN)opt
 4399|      0|                HlslToken spaceDesc;
 4400|      0|                if (acceptTokenClass(EHTokComma)) {
  ------------------
  |  Branch (4400:21): [True: 0, False: 0]
  ------------------
 4401|      0|                    if (! acceptIdentifier(spaceDesc)) {
  ------------------
  |  Branch (4401:25): [True: 0, False: 0]
  ------------------
 4402|      0|                        expected ("space identifier");
 4403|      0|                        return false;
 4404|      0|                    }
 4405|      0|                }
 4406|       |                // RIGHT_PAREN
 4407|      0|                if (! acceptTokenClass(EHTokRightParen)) {
  ------------------
  |  Branch (4407:21): [True: 0, False: 0]
  ------------------
 4408|      0|                    expected(")");
 4409|      0|                    break;
 4410|      0|                }
 4411|      0|                parseContext.handleRegister(registerDesc.loc, qualifier, profile.string, *registerDesc.string, subComponent, spaceDesc.string);
 4412|      0|            } else {
 4413|       |                // semantic, in idToken.string
 4414|      0|                TString semanticUpperCase = *idToken.string;
 4415|      0|                std::transform(semanticUpperCase.begin(), semanticUpperCase.end(), semanticUpperCase.begin(), ::toupper);
 4416|      0|                parseContext.handleSemantic(idToken.loc, qualifier, mapSemantic(semanticUpperCase.c_str()), semanticUpperCase);
 4417|      0|            }
 4418|   285k|        } else if (peekTokenClass(EHTokLeftAngle)) {
  ------------------
  |  Branch (4418:20): [True: 0, False: 285k]
  ------------------
 4419|      0|            found = true;
 4420|      0|            acceptAnnotations(qualifier);
 4421|      0|        } else
 4422|   285k|            break;
 4423|       |
 4424|   285k|    } while (true);
  ------------------
  |  Branch (4424:14): [True: 0, Folded]
  ------------------
 4425|       |
 4426|   285k|    return found;
 4427|   285k|}
_ZNK7glslang11HlslGrammar13getTypeStringENS_15EHlslTokenClassE:
 4464|   285k|{
 4465|   285k|    switch (tokenClass) {
 4466|      0|    case EHTokSample:     return "sample";
  ------------------
  |  Branch (4466:5): [True: 0, False: 285k]
  ------------------
 4467|      0|    case EHTokHalf:       return "half";
  ------------------
  |  Branch (4467:5): [True: 0, False: 285k]
  ------------------
 4468|      0|    case EHTokHalf1x1:    return "half1x1";
  ------------------
  |  Branch (4468:5): [True: 0, False: 285k]
  ------------------
 4469|      0|    case EHTokHalf1x2:    return "half1x2";
  ------------------
  |  Branch (4469:5): [True: 0, False: 285k]
  ------------------
 4470|      0|    case EHTokHalf1x3:    return "half1x3";
  ------------------
  |  Branch (4470:5): [True: 0, False: 285k]
  ------------------
 4471|      0|    case EHTokHalf1x4:    return "half1x4";
  ------------------
  |  Branch (4471:5): [True: 0, False: 285k]
  ------------------
 4472|      0|    case EHTokHalf2x1:    return "half2x1";
  ------------------
  |  Branch (4472:5): [True: 0, False: 285k]
  ------------------
 4473|      0|    case EHTokHalf2x2:    return "half2x2";
  ------------------
  |  Branch (4473:5): [True: 0, False: 285k]
  ------------------
 4474|      0|    case EHTokHalf2x3:    return "half2x3";
  ------------------
  |  Branch (4474:5): [True: 0, False: 285k]
  ------------------
 4475|      0|    case EHTokHalf2x4:    return "half2x4";
  ------------------
  |  Branch (4475:5): [True: 0, False: 285k]
  ------------------
 4476|      0|    case EHTokHalf3x1:    return "half3x1";
  ------------------
  |  Branch (4476:5): [True: 0, False: 285k]
  ------------------
 4477|      0|    case EHTokHalf3x2:    return "half3x2";
  ------------------
  |  Branch (4477:5): [True: 0, False: 285k]
  ------------------
 4478|      0|    case EHTokHalf3x3:    return "half3x3";
  ------------------
  |  Branch (4478:5): [True: 0, False: 285k]
  ------------------
 4479|      0|    case EHTokHalf3x4:    return "half3x4";
  ------------------
  |  Branch (4479:5): [True: 0, False: 285k]
  ------------------
 4480|      0|    case EHTokHalf4x1:    return "half4x1";
  ------------------
  |  Branch (4480:5): [True: 0, False: 285k]
  ------------------
 4481|      0|    case EHTokHalf4x2:    return "half4x2";
  ------------------
  |  Branch (4481:5): [True: 0, False: 285k]
  ------------------
 4482|      0|    case EHTokHalf4x3:    return "half4x3";
  ------------------
  |  Branch (4482:5): [True: 0, False: 285k]
  ------------------
 4483|      0|    case EHTokHalf4x4:    return "half4x4";
  ------------------
  |  Branch (4483:5): [True: 0, False: 285k]
  ------------------
 4484|      0|    case EHTokBool:       return "bool";
  ------------------
  |  Branch (4484:5): [True: 0, False: 285k]
  ------------------
 4485|      0|    case EHTokFloat:      return "float";
  ------------------
  |  Branch (4485:5): [True: 0, False: 285k]
  ------------------
 4486|      0|    case EHTokDouble:     return "double";
  ------------------
  |  Branch (4486:5): [True: 0, False: 285k]
  ------------------
 4487|      0|    case EHTokInt:        return "int";
  ------------------
  |  Branch (4487:5): [True: 0, False: 285k]
  ------------------
 4488|      0|    case EHTokUint:       return "uint";
  ------------------
  |  Branch (4488:5): [True: 0, False: 285k]
  ------------------
 4489|      0|    case EHTokMin16float: return "min16float";
  ------------------
  |  Branch (4489:5): [True: 0, False: 285k]
  ------------------
 4490|      0|    case EHTokMin10float: return "min10float";
  ------------------
  |  Branch (4490:5): [True: 0, False: 285k]
  ------------------
 4491|      0|    case EHTokMin16int:   return "min16int";
  ------------------
  |  Branch (4491:5): [True: 0, False: 285k]
  ------------------
 4492|      0|    case EHTokMin12int:   return "min12int";
  ------------------
  |  Branch (4492:5): [True: 0, False: 285k]
  ------------------
 4493|      0|    case EHTokConstantBuffer: return "ConstantBuffer";
  ------------------
  |  Branch (4493:5): [True: 0, False: 285k]
  ------------------
 4494|      0|    case EHTokLayout:     return "layout";
  ------------------
  |  Branch (4494:5): [True: 0, False: 285k]
  ------------------
 4495|   285k|    default:
  ------------------
  |  Branch (4495:5): [True: 285k, False: 0]
  ------------------
 4496|   285k|        return nullptr;
 4497|   285k|    }
 4498|   285k|}

_ZN7glslang11HlslGrammarC2ERNS_15HlslScanContextERNS_16HlslParseContextE:
   55|     44|            : HlslTokenStream(scanner), parseContext(parseContext), intermediate(parseContext.intermediate),
   56|     44|              typeIdentifiers(false), unitNode(nullptr) { }

_ZN7glslang16HlslParseContextC2ERNS_12TSymbolTableERNS_13TIntermediateEbi8EProfileRKNS_10SpvVersionE11EShLanguageR9TInfoSinkNSt3__112basic_stringIcNSC_11char_traitsIcEENS_14pool_allocatorIcEEEEb11EShMessages:
   69|    374|    TParseContextBase(symbolTable, interm, parsingBuiltins, version, profile, spvVersion, language, infoSink,
   70|    374|                      forwardCompatible, messages, &sourceEntryPointName),
   71|    374|    annotationNestingLevel(0),
   72|    374|    inputPatch(nullptr),
   73|    374|    nextInLocation(0), nextOutLocation(0),
   74|    374|    entryPointFunction(nullptr),
   75|    374|    entryPointFunctionBody(nullptr),
   76|    374|    gsStreamOutput(nullptr),
   77|    374|    clipDistanceOutput(nullptr),
   78|    374|    cullDistanceOutput(nullptr),
   79|    374|    clipDistanceInput(nullptr),
   80|    374|    cullDistanceInput(nullptr),
   81|    374|    parsingEntrypointParameters(false)
   82|    374|{
   83|    374|    globalUniformDefaults.clear();
   84|    374|    globalUniformDefaults.layoutMatrix = ElmRowMajor;
   85|    374|    globalUniformDefaults.layoutPacking = ElpStd140;
   86|       |
   87|    374|    globalBufferDefaults.clear();
   88|    374|    globalBufferDefaults.layoutMatrix = ElmRowMajor;
   89|    374|    globalBufferDefaults.layoutPacking = ElpStd430;
   90|       |
   91|    374|    globalInputDefaults.clear();
   92|    374|    globalOutputDefaults.clear();
   93|       |
   94|    374|    clipSemanticNSizeIn.fill(0);
   95|    374|    cullSemanticNSizeIn.fill(0);
   96|    374|    clipSemanticNSizeOut.fill(0);
   97|    374|    cullSemanticNSizeOut.fill(0);
   98|       |
   99|       |    // "Shaders in the transform
  100|       |    // feedback capturing mode have an initial global default of
  101|       |    //     layout(xfb_buffer = 0) out;"
  102|    374|    if (language == EShLangVertex ||
  ------------------
  |  Branch (102:9): [True: 88, False: 286]
  ------------------
  103|    286|        language == EShLangTessControl ||
  ------------------
  |  Branch (103:9): [True: 22, False: 264]
  ------------------
  104|    264|        language == EShLangTessEvaluation ||
  ------------------
  |  Branch (104:9): [True: 22, False: 242]
  ------------------
  105|    242|        language == EShLangGeometry)
  ------------------
  |  Branch (105:9): [True: 22, False: 220]
  ------------------
  106|    154|        globalOutputDefaults.layoutXfbBuffer = 0;
  107|       |
  108|    374|    if (language == EShLangGeometry)
  ------------------
  |  Branch (108:9): [True: 22, False: 352]
  ------------------
  109|     22|        globalOutputDefaults.layoutStream = 0;
  110|    374|}
_ZN7glslang16HlslParseContextD2Ev:
  113|    374|{
  114|    374|}
_ZN7glslang16HlslParseContext27initializeExtensionBehaviorEv:
  117|     22|{
  118|     22|    TParseContextBase::initializeExtensionBehavior();
  119|       |
  120|       |    // HLSL allows #line by default.
  121|     22|    extensionBehavior[E_GL_GOOGLE_cpp_style_line_directive] = EBhEnable;
  122|     22|}
_ZN7glslang16HlslParseContext9setLimitsERK16TBuiltInResource:
  125|     22|{
  126|     22|    resources = r;
  127|     22|    intermediate.setLimits(resources);
  128|     22|}
_ZN7glslang16HlslParseContext18parseShaderStringsERNS_10TPpContextERNS_13TInputScannerEb:
  136|     44|{
  137|     44|    currentScanner = &input;
  138|     44|    ppContext.setInput(input, versionWillBeError);
  139|       |
  140|     44|    HlslScanContext scanContext(*this, ppContext);
  141|     44|    HlslGrammar grammar(scanContext, *this);
  142|     44|    if (!grammar.parse()) {
  ------------------
  |  Branch (142:9): [True: 1, False: 43]
  ------------------
  143|       |        // Print a message formated such that if you click on the message it will take you right to
  144|       |        // the line through most UIs.
  145|      1|        const glslang::TSourceLoc& sourceLoc = input.getSourceLoc();
  146|      1|        infoSink.info << sourceLoc.getFilenameStr() << "(" << sourceLoc.line << "): error at column " << sourceLoc.column
  147|      1|                      << ", HLSL parsing failed.\n";
  148|      1|        ++numErrors;
  149|      1|        return false;
  150|      1|    }
  151|       |
  152|     43|    finish();
  153|       |
  154|     43|    return numErrors == 0;
  155|     44|}
_ZN7glslang16HlslParseContext19getLayoutFromTxTypeERKNS_10TSourceLocERKNS_5TTypeE:
  196|  1.25k|{
  197|  1.25k|    if (txType.isStruct()) {
  ------------------
  |  Branch (197:9): [True: 0, False: 1.25k]
  ------------------
  198|       |        // TODO: implement.
  199|      0|        error(loc, "unimplemented: structure type in image or buffer", "", "");
  200|      0|        return ElfNone;
  201|      0|    }
  202|       |
  203|  1.25k|    const int components = txType.getVectorSize();
  204|  1.25k|    const TBasicType txBasicType = txType.getBasicType();
  205|       |
  206|  1.25k|    const auto selectFormat = [this,&components](TLayoutFormat v1, TLayoutFormat v2, TLayoutFormat v4) -> TLayoutFormat {
  207|  1.25k|        if (intermediate.getNoStorageFormat())
  208|  1.25k|            return ElfNone;
  209|       |
  210|  1.25k|        return components == 1 ? v1 :
  211|  1.25k|               components == 2 ? v2 : v4;
  212|  1.25k|    };
  213|       |
  214|  1.25k|    switch (txBasicType) {
  215|    418|    case EbtFloat: return selectFormat(ElfR32f,  ElfRg32f,  ElfRgba32f);
  ------------------
  |  Branch (215:5): [True: 418, False: 836]
  ------------------
  216|    418|    case EbtInt:   return selectFormat(ElfR32i,  ElfRg32i,  ElfRgba32i);
  ------------------
  |  Branch (216:5): [True: 418, False: 836]
  ------------------
  217|    418|    case EbtUint:  return selectFormat(ElfR32ui, ElfRg32ui, ElfRgba32ui);
  ------------------
  |  Branch (217:5): [True: 418, False: 836]
  ------------------
  218|      0|    default:
  ------------------
  |  Branch (218:5): [True: 0, False: 1.25k]
  ------------------
  219|      0|        error(loc, "unknown basic type in image format", "", "");
  220|      0|        return ElfNone;
  221|  1.25k|    }
  222|  1.25k|}
_ZN7glslang16HlslParseContext24handleFunctionDeclaratorERKNS_10TSourceLocERNS_9TFunctionEb:
 1605|  88.0k|{
 1606|       |    //
 1607|       |    // Multiple declarations of the same function name are allowed.
 1608|       |    //
 1609|       |    // If this is a definition, the definition production code will check for redefinitions
 1610|       |    // (we don't know at this point if it's a definition or not).
 1611|       |    //
 1612|  88.0k|    bool builtIn;
 1613|  88.0k|    TSymbol* symbol = symbolTable.find(function.getMangledName(), &builtIn);
 1614|  88.0k|    const TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr;
  ------------------
  |  Branch (1614:32): [True: 528, False: 87.5k]
  ------------------
 1615|       |
 1616|  88.0k|    if (prototype) {
  ------------------
  |  Branch (1616:9): [True: 88.0k, False: 0]
  ------------------
 1617|       |        // All built-in functions are defined, even though they don't have a body.
 1618|       |        // Count their prototype as a definition instead.
 1619|  88.0k|        if (symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (1619:13): [True: 88.0k, False: 0]
  ------------------
 1620|  88.0k|            function.setDefined();
 1621|      0|        else {
 1622|      0|            if (prevDec && ! builtIn)
  ------------------
  |  Branch (1622:17): [True: 0, False: 0]
  |  Branch (1622:28): [True: 0, False: 0]
  ------------------
 1623|      0|                symbol->getAsFunction()->setPrototyped();  // need a writable one, but like having prevDec as a const
 1624|      0|            function.setPrototyped();
 1625|      0|        }
 1626|  88.0k|    }
 1627|       |
 1628|       |    // This insert won't actually insert it if it's a duplicate signature, but it will still check for
 1629|       |    // other forms of name collisions.
 1630|  88.0k|    if (! symbolTable.insert(function))
  ------------------
  |  Branch (1630:9): [True: 0, False: 88.0k]
  ------------------
 1631|      0|        error(loc, "function name is redeclaration of existing name", function.getName().c_str(), "");
 1632|  88.0k|}
_ZN7glslang16HlslParseContext22transferTypeAttributesERKNS_10TSourceLocERKNS_5TListINS_14TAttributeArgsEEERNS_5TTypeEb:
 1933|   285k|{
 1934|   285k|    if (attributes.size() == 0)
  ------------------
  |  Branch (1934:9): [True: 285k, False: 0]
  ------------------
 1935|   285k|        return;
 1936|       |
 1937|      0|    int value;
 1938|      0|    TString builtInString;
 1939|      0|    for (auto it = attributes.begin(); it != attributes.end(); ++it) {
  ------------------
  |  Branch (1939:40): [True: 0, False: 0]
  ------------------
 1940|      0|        switch (it->name) {
 1941|      0|        case EatLocation:
  ------------------
  |  Branch (1941:9): [True: 0, False: 0]
  ------------------
 1942|       |            // location
 1943|      0|            if (it->getInt(value))
  ------------------
  |  Branch (1943:17): [True: 0, False: 0]
  ------------------
 1944|      0|                type.getQualifier().layoutLocation = value;
 1945|      0|            else
 1946|      0|                error(loc, "needs a literal integer", "location", "");
 1947|      0|            break;
 1948|      0|        case EatBinding:
  ------------------
  |  Branch (1948:9): [True: 0, False: 0]
  ------------------
 1949|       |            // binding
 1950|      0|            if (it->getInt(value)) {
  ------------------
  |  Branch (1950:17): [True: 0, False: 0]
  ------------------
 1951|      0|                type.getQualifier().layoutBinding = value;
 1952|      0|                type.getQualifier().layoutSet = 0;
 1953|      0|            } else
 1954|      0|                error(loc, "needs a literal integer", "binding", "");
 1955|       |            // set
 1956|      0|            if (it->getInt(value, 1))
  ------------------
  |  Branch (1956:17): [True: 0, False: 0]
  ------------------
 1957|      0|                type.getQualifier().layoutSet = value;
 1958|      0|            break;
 1959|      0|        case EatGlobalBinding:
  ------------------
  |  Branch (1959:9): [True: 0, False: 0]
  ------------------
 1960|       |            // global cbuffer binding
 1961|      0|            if (it->getInt(value))
  ------------------
  |  Branch (1961:17): [True: 0, False: 0]
  ------------------
 1962|      0|                globalUniformBinding = value;
 1963|      0|            else
 1964|      0|                error(loc, "needs a literal integer", "global binding", "");
 1965|       |            // global cbuffer set
 1966|      0|            if (it->getInt(value, 1))
  ------------------
  |  Branch (1966:17): [True: 0, False: 0]
  ------------------
 1967|      0|                globalUniformSet = value;
 1968|      0|            break;
 1969|      0|        case EatInputAttachment:
  ------------------
  |  Branch (1969:9): [True: 0, False: 0]
  ------------------
 1970|       |            // input attachment
 1971|      0|            if (it->getInt(value))
  ------------------
  |  Branch (1971:17): [True: 0, False: 0]
  ------------------
 1972|      0|                type.getQualifier().layoutAttachment = value;
 1973|      0|            else
 1974|      0|                error(loc, "needs a literal integer", "input attachment", "");
 1975|      0|            break;
 1976|      0|        case EatBuiltIn:
  ------------------
  |  Branch (1976:9): [True: 0, False: 0]
  ------------------
 1977|       |            // PointSize built-in
 1978|      0|            if (it->getString(builtInString, 0, false)) {
  ------------------
  |  Branch (1978:17): [True: 0, False: 0]
  ------------------
 1979|      0|                if (builtInString == "PointSize")
  ------------------
  |  Branch (1979:21): [True: 0, False: 0]
  ------------------
 1980|      0|                    type.getQualifier().builtIn = EbvPointSize;
 1981|      0|            }
 1982|      0|            break;
 1983|      0|        case EatPushConstant:
  ------------------
  |  Branch (1983:9): [True: 0, False: 0]
  ------------------
 1984|       |            // push_constant
 1985|      0|            type.getQualifier().layoutPushConstant = true;
 1986|      0|            break;
 1987|      0|        case EatConstantId:
  ------------------
  |  Branch (1987:9): [True: 0, False: 0]
  ------------------
 1988|       |            // specialization constant
 1989|      0|            if (type.getQualifier().storage != EvqConst) {
  ------------------
  |  Branch (1989:17): [True: 0, False: 0]
  ------------------
 1990|      0|                error(loc, "needs a const type", "constant_id", "");
 1991|      0|                break;
 1992|      0|            }
 1993|      0|            if (it->getInt(value)) {
  ------------------
  |  Branch (1993:17): [True: 0, False: 0]
  ------------------
 1994|      0|                TSourceLoc loc;
 1995|      0|                loc.init();
 1996|      0|                setSpecConstantId(loc, type.getQualifier(), (unsigned)value);
 1997|      0|            }
 1998|      0|            break;
 1999|       |
 2000|       |        // image formats
 2001|      0|        case EatFormatRgba32f:      type.getQualifier().layoutFormat = ElfRgba32f;      break;
  ------------------
  |  Branch (2001:9): [True: 0, False: 0]
  ------------------
 2002|      0|        case EatFormatRgba16f:      type.getQualifier().layoutFormat = ElfRgba16f;      break;
  ------------------
  |  Branch (2002:9): [True: 0, False: 0]
  ------------------
 2003|      0|        case EatFormatR32f:         type.getQualifier().layoutFormat = ElfR32f;         break;
  ------------------
  |  Branch (2003:9): [True: 0, False: 0]
  ------------------
 2004|      0|        case EatFormatRgba8:        type.getQualifier().layoutFormat = ElfRgba8;        break;
  ------------------
  |  Branch (2004:9): [True: 0, False: 0]
  ------------------
 2005|      0|        case EatFormatRgba8Snorm:   type.getQualifier().layoutFormat = ElfRgba8Snorm;   break;
  ------------------
  |  Branch (2005:9): [True: 0, False: 0]
  ------------------
 2006|      0|        case EatFormatRg32f:        type.getQualifier().layoutFormat = ElfRg32f;        break;
  ------------------
  |  Branch (2006:9): [True: 0, False: 0]
  ------------------
 2007|      0|        case EatFormatRg16f:        type.getQualifier().layoutFormat = ElfRg16f;        break;
  ------------------
  |  Branch (2007:9): [True: 0, False: 0]
  ------------------
 2008|      0|        case EatFormatR11fG11fB10f: type.getQualifier().layoutFormat = ElfR11fG11fB10f; break;
  ------------------
  |  Branch (2008:9): [True: 0, False: 0]
  ------------------
 2009|      0|        case EatFormatR16f:         type.getQualifier().layoutFormat = ElfR16f;         break;
  ------------------
  |  Branch (2009:9): [True: 0, False: 0]
  ------------------
 2010|      0|        case EatFormatRgba16:       type.getQualifier().layoutFormat = ElfRgba16;       break;
  ------------------
  |  Branch (2010:9): [True: 0, False: 0]
  ------------------
 2011|      0|        case EatFormatRgb10A2:      type.getQualifier().layoutFormat = ElfRgb10A2;      break;
  ------------------
  |  Branch (2011:9): [True: 0, False: 0]
  ------------------
 2012|      0|        case EatFormatRg16:         type.getQualifier().layoutFormat = ElfRg16;         break;
  ------------------
  |  Branch (2012:9): [True: 0, False: 0]
  ------------------
 2013|      0|        case EatFormatRg8:          type.getQualifier().layoutFormat = ElfRg8;          break;
  ------------------
  |  Branch (2013:9): [True: 0, False: 0]
  ------------------
 2014|      0|        case EatFormatR16:          type.getQualifier().layoutFormat = ElfR16;          break;
  ------------------
  |  Branch (2014:9): [True: 0, False: 0]
  ------------------
 2015|      0|        case EatFormatR8:           type.getQualifier().layoutFormat = ElfR8;           break;
  ------------------
  |  Branch (2015:9): [True: 0, False: 0]
  ------------------
 2016|      0|        case EatFormatRgba16Snorm:  type.getQualifier().layoutFormat = ElfRgba16Snorm;  break;
  ------------------
  |  Branch (2016:9): [True: 0, False: 0]
  ------------------
 2017|      0|        case EatFormatRg16Snorm:    type.getQualifier().layoutFormat = ElfRg16Snorm;    break;
  ------------------
  |  Branch (2017:9): [True: 0, False: 0]
  ------------------
 2018|      0|        case EatFormatRg8Snorm:     type.getQualifier().layoutFormat = ElfRg8Snorm;     break;
  ------------------
  |  Branch (2018:9): [True: 0, False: 0]
  ------------------
 2019|      0|        case EatFormatR16Snorm:     type.getQualifier().layoutFormat = ElfR16Snorm;     break;
  ------------------
  |  Branch (2019:9): [True: 0, False: 0]
  ------------------
 2020|      0|        case EatFormatR8Snorm:      type.getQualifier().layoutFormat = ElfR8Snorm;      break;
  ------------------
  |  Branch (2020:9): [True: 0, False: 0]
  ------------------
 2021|      0|        case EatFormatRgba32i:      type.getQualifier().layoutFormat = ElfRgba32i;      break;
  ------------------
  |  Branch (2021:9): [True: 0, False: 0]
  ------------------
 2022|      0|        case EatFormatRgba16i:      type.getQualifier().layoutFormat = ElfRgba16i;      break;
  ------------------
  |  Branch (2022:9): [True: 0, False: 0]
  ------------------
 2023|      0|        case EatFormatRgba8i:       type.getQualifier().layoutFormat = ElfRgba8i;       break;
  ------------------
  |  Branch (2023:9): [True: 0, False: 0]
  ------------------
 2024|      0|        case EatFormatR32i:         type.getQualifier().layoutFormat = ElfR32i;         break;
  ------------------
  |  Branch (2024:9): [True: 0, False: 0]
  ------------------
 2025|      0|        case EatFormatRg32i:        type.getQualifier().layoutFormat = ElfRg32i;        break;
  ------------------
  |  Branch (2025:9): [True: 0, False: 0]
  ------------------
 2026|      0|        case EatFormatRg16i:        type.getQualifier().layoutFormat = ElfRg16i;        break;
  ------------------
  |  Branch (2026:9): [True: 0, False: 0]
  ------------------
 2027|      0|        case EatFormatRg8i:         type.getQualifier().layoutFormat = ElfRg8i;         break;
  ------------------
  |  Branch (2027:9): [True: 0, False: 0]
  ------------------
 2028|      0|        case EatFormatR16i:         type.getQualifier().layoutFormat = ElfR16i;         break;
  ------------------
  |  Branch (2028:9): [True: 0, False: 0]
  ------------------
 2029|      0|        case EatFormatR8i:          type.getQualifier().layoutFormat = ElfR8i;          break;
  ------------------
  |  Branch (2029:9): [True: 0, False: 0]
  ------------------
 2030|      0|        case EatFormatRgba32ui:     type.getQualifier().layoutFormat = ElfRgba32ui;     break;
  ------------------
  |  Branch (2030:9): [True: 0, False: 0]
  ------------------
 2031|      0|        case EatFormatRgba16ui:     type.getQualifier().layoutFormat = ElfRgba16ui;     break;
  ------------------
  |  Branch (2031:9): [True: 0, False: 0]
  ------------------
 2032|      0|        case EatFormatRgba8ui:      type.getQualifier().layoutFormat = ElfRgba8ui;      break;
  ------------------
  |  Branch (2032:9): [True: 0, False: 0]
  ------------------
 2033|      0|        case EatFormatR32ui:        type.getQualifier().layoutFormat = ElfR32ui;        break;
  ------------------
  |  Branch (2033:9): [True: 0, False: 0]
  ------------------
 2034|      0|        case EatFormatRgb10a2ui:    type.getQualifier().layoutFormat = ElfRgb10a2ui;    break;
  ------------------
  |  Branch (2034:9): [True: 0, False: 0]
  ------------------
 2035|      0|        case EatFormatRg32ui:       type.getQualifier().layoutFormat = ElfRg32ui;       break;
  ------------------
  |  Branch (2035:9): [True: 0, False: 0]
  ------------------
 2036|      0|        case EatFormatRg16ui:       type.getQualifier().layoutFormat = ElfRg16ui;       break;
  ------------------
  |  Branch (2036:9): [True: 0, False: 0]
  ------------------
 2037|      0|        case EatFormatRg8ui:        type.getQualifier().layoutFormat = ElfRg8ui;        break;
  ------------------
  |  Branch (2037:9): [True: 0, False: 0]
  ------------------
 2038|      0|        case EatFormatR16ui:        type.getQualifier().layoutFormat = ElfR16ui;        break;
  ------------------
  |  Branch (2038:9): [True: 0, False: 0]
  ------------------
 2039|      0|        case EatFormatR8ui:         type.getQualifier().layoutFormat = ElfR8ui;         break;
  ------------------
  |  Branch (2039:9): [True: 0, False: 0]
  ------------------
 2040|      0|        case EatFormatUnknown:      type.getQualifier().layoutFormat = ElfNone;         break;
  ------------------
  |  Branch (2040:9): [True: 0, False: 0]
  ------------------
 2041|       |
 2042|      0|        case EatNonWritable:  type.getQualifier().readonly = true;   break;
  ------------------
  |  Branch (2042:9): [True: 0, False: 0]
  ------------------
 2043|      0|        case EatNonReadable:  type.getQualifier().writeonly = true;  break;
  ------------------
  |  Branch (2043:9): [True: 0, False: 0]
  ------------------
 2044|       |
 2045|      0|        default:
  ------------------
  |  Branch (2045:9): [True: 0, False: 0]
  ------------------
 2046|      0|            if (! allowEntry)
  ------------------
  |  Branch (2046:17): [True: 0, False: 0]
  ------------------
 2047|      0|                warn(loc, "attribute does not apply to a type", "", "");
 2048|      0|            break;
 2049|      0|        }
 2050|      0|    }
 2051|      0|}
_ZN7glslang16HlslParseContext8paramFixERNS_5TTypeE:
 7148|   197k|{
 7149|   197k|    switch (type.getQualifier().storage) {
 7150|      0|    case EvqConst:
  ------------------
  |  Branch (7150:5): [True: 0, False: 197k]
  ------------------
 7151|      0|        type.getQualifier().storage = EvqConstReadOnly;
 7152|      0|        break;
 7153|      0|    case EvqGlobal:
  ------------------
  |  Branch (7153:5): [True: 0, False: 197k]
  ------------------
 7154|   178k|    case EvqTemporary:
  ------------------
  |  Branch (7154:5): [True: 178k, False: 19.1k]
  ------------------
 7155|   178k|        type.getQualifier().storage = EvqIn;
 7156|   178k|        break;
 7157|      0|    case EvqBuffer:
  ------------------
  |  Branch (7157:5): [True: 0, False: 197k]
  ------------------
 7158|      0|        {
 7159|       |            // SSBO parameter.  These do not go through the declareBlock path since they are fn parameters.
 7160|      0|            correctUniform(type.getQualifier());
 7161|      0|            TQualifier bufferQualifier = globalBufferDefaults;
 7162|      0|            mergeObjectLayoutQualifiers(bufferQualifier, type.getQualifier(), true);
 7163|      0|            bufferQualifier.storage = type.getQualifier().storage;
 7164|      0|            bufferQualifier.readonly = type.getQualifier().readonly;
 7165|      0|            bufferQualifier.coherent = type.getQualifier().coherent;
 7166|      0|            bufferQualifier.declaredBuiltIn = type.getQualifier().declaredBuiltIn;
 7167|      0|            type.getQualifier() = bufferQualifier;
 7168|      0|            break;
 7169|      0|        }
 7170|  19.1k|    default:
  ------------------
  |  Branch (7170:5): [True: 19.1k, False: 178k]
  ------------------
 7171|  19.1k|        break;
 7172|   197k|    }
 7173|   197k|}
_ZN7glslang16HlslParseContext14lookupUserTypeERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERNS_5TTypeE:
 8031|      1|{
 8032|      1|    TSymbol* symbol = symbolTable.find(typeName);
 8033|      1|    if (symbol && symbol->getAsVariable() && symbol->getAsVariable()->isUserType()) {
  ------------------
  |  Branch (8033:9): [True: 0, False: 1]
  |  Branch (8033:19): [True: 0, False: 0]
  |  Branch (8033:46): [True: 0, False: 0]
  ------------------
 8034|      0|        type.shallowCopy(symbol->getType());
 8035|      0|        return symbol;
 8036|      0|    } else
 8037|      1|        return nullptr;
 8038|      1|}
_ZNK7glslang16HlslParseContext20getFullNamespaceNameERPNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 9555|  88.0k|{
 9556|  88.0k|    if (currentTypePrefix.size() == 0)
  ------------------
  |  Branch (9556:9): [True: 88.0k, False: 0]
  ------------------
 9557|  88.0k|        return;
 9558|       |
 9559|      0|    TString* fullName = NewPoolTString(currentTypePrefix.back().c_str());
 9560|      0|    fullName->append(*name);
 9561|      0|    name = fullName;
 9562|      0|}
_ZN7glslang16HlslParseContext20setTextureReturnTypeERNS_8TSamplerERKNS_5TTypeERKNS_10TSourceLocE:
 9784|  17.8k|{
 9785|       |    // Seed the output with an invalid index.  We will set it to a valid one if we can.
 9786|  17.8k|    sampler.structReturnIndex = TSampler::noReturnStruct;
 9787|       |
 9788|       |    // Arrays aren't supported.
 9789|  17.8k|    if (retType.isArray()) {
  ------------------
  |  Branch (9789:9): [True: 0, False: 17.8k]
  ------------------
 9790|      0|        error(loc, "Arrays not supported in texture template types", "", "");
 9791|      0|        return false;
 9792|      0|    }
 9793|       |
 9794|       |    // If return type is a vector, remember the vector size in the sampler, and return.
 9795|  17.8k|    if (retType.isVector() || retType.isScalar()) {
  ------------------
  |  Branch (9795:9): [True: 17.8k, False: 0]
  |  Branch (9795:31): [True: 0, False: 0]
  ------------------
 9796|  17.8k|        sampler.vectorSize = retType.getVectorSize();
 9797|  17.8k|        return true;
 9798|  17.8k|    }
 9799|       |
 9800|       |    // If it wasn't a vector, it must be a struct meeting certain requirements.  The requirements
 9801|       |    // are checked below: just check for struct-ness here.
 9802|      0|    if (!retType.isStruct()) {
  ------------------
  |  Branch (9802:9): [True: 0, False: 0]
  ------------------
 9803|      0|        error(loc, "Invalid texture template type", "", "");
 9804|      0|        return false;
 9805|      0|    }
 9806|       |
 9807|       |    // TODO: Subpass doesn't handle struct returns, due to some oddities with fn overloading.
 9808|      0|    if (sampler.isSubpass()) {
  ------------------
  |  Branch (9808:9): [True: 0, False: 0]
  ------------------
 9809|      0|        error(loc, "Unimplemented: structure template type in subpass input", "", "");
 9810|      0|        return false;
 9811|      0|    }
 9812|       |
 9813|      0|    TTypeList* members = retType.getWritableStruct();
 9814|       |
 9815|       |    // Check for too many or not enough structure members.
 9816|      0|    if (members->size() > 4 || members->size() == 0) {
  ------------------
  |  Branch (9816:9): [True: 0, False: 0]
  |  Branch (9816:32): [True: 0, False: 0]
  ------------------
 9817|      0|        error(loc, "Invalid member count in texture template structure", "", "");
 9818|      0|        return false;
 9819|      0|    }
 9820|       |
 9821|       |    // Error checking: We must have <= 4 total components, all of the same basic type.
 9822|      0|    unsigned totalComponents = 0;
 9823|      0|    for (unsigned m = 0; m < members->size(); ++m) {
  ------------------
  |  Branch (9823:26): [True: 0, False: 0]
  ------------------
 9824|       |        // Check for bad member types
 9825|      0|        if (!(*members)[m].type->isScalar() && !(*members)[m].type->isVector()) {
  ------------------
  |  Branch (9825:13): [True: 0, False: 0]
  |  Branch (9825:48): [True: 0, False: 0]
  ------------------
 9826|      0|            error(loc, "Invalid texture template struct member type", "", "");
 9827|      0|            return false;
 9828|      0|        }
 9829|       |
 9830|      0|        const unsigned memberVectorSize = (*members)[m].type->getVectorSize();
 9831|      0|        totalComponents += memberVectorSize;
 9832|       |
 9833|       |        // too many total member components
 9834|      0|        if (totalComponents > 4) {
  ------------------
  |  Branch (9834:13): [True: 0, False: 0]
  ------------------
 9835|      0|            error(loc, "Too many components in texture template structure type", "", "");
 9836|      0|            return false;
 9837|      0|        }
 9838|       |
 9839|       |        // All members must be of a common basic type
 9840|      0|        if ((*members)[m].type->getBasicType() != (*members)[0].type->getBasicType()) {
  ------------------
  |  Branch (9840:13): [True: 0, False: 0]
  ------------------
 9841|      0|            error(loc, "Texture template structure members must same basic type", "", "");
 9842|      0|            return false;
 9843|      0|        }
 9844|      0|    }
 9845|       |
 9846|       |    // If the structure in the return type already exists in the table, we'll use it.  Otherwise, we'll make
 9847|       |    // a new entry.  This is a linear search, but it hardly ever happens, and the list cannot be very large.
 9848|      0|    for (unsigned int idx = 0; idx < textureReturnStruct.size(); ++idx) {
  ------------------
  |  Branch (9848:32): [True: 0, False: 0]
  ------------------
 9849|      0|        if (textureReturnStruct[idx] == members) {
  ------------------
  |  Branch (9849:13): [True: 0, False: 0]
  ------------------
 9850|      0|            sampler.structReturnIndex = idx;
 9851|      0|            return true;
 9852|      0|        }
 9853|      0|    }
 9854|       |
 9855|       |    // It wasn't found as an existing entry.  See if we have room for a new one.
 9856|      0|    if (textureReturnStruct.size() >= TSampler::structReturnSlots) {
  ------------------
  |  Branch (9856:9): [True: 0, False: 0]
  ------------------
 9857|      0|        error(loc, "Texture template struct return slots exceeded", "", "");
 9858|      0|        return false;
 9859|      0|    }
 9860|       |
 9861|       |    // Insert it in the vector that tracks struct return types.
 9862|      0|    sampler.structReturnIndex = unsigned(textureReturnStruct.size());
 9863|      0|    textureReturnStruct.push_back(members);
 9864|       |
 9865|       |    // Success!
 9866|      0|    return true;
 9867|      0|}
_ZN7glslang16HlslParseContext26addPatchConstantInvocationEv:
 9933|     43|{
 9934|     43|    TSourceLoc loc;
 9935|     43|    loc.init();
 9936|       |
 9937|       |    // If there's no patch constant function, or we're not a HS, do nothing.
 9938|     43|    if (patchConstantFunctionName.empty() || language != EShLangTessControl)
  ------------------
  |  Branch (9938:9): [True: 43, False: 0]
  |  Branch (9938:46): [True: 0, False: 0]
  ------------------
 9939|     43|        return;
 9940|       |
 9941|       |    // Look for built-in variables in a function's parameter list.
 9942|      0|    const auto findBuiltIns = [&](const TFunction& function, std::set<tInterstageIoData>& builtIns) {
 9943|      0|        for (int p=0; p<function.getParamCount(); ++p) {
 9944|      0|            TStorageQualifier storage = function[p].type->getQualifier().storage;
 9945|       |
 9946|      0|            if (storage == EvqConstReadOnly) // treated identically to input
 9947|      0|                storage = EvqIn;
 9948|       |
 9949|      0|            if (function[p].getDeclaredBuiltIn() != EbvNone)
 9950|      0|                builtIns.insert(HlslParseContext::tInterstageIoData(function[p].getDeclaredBuiltIn(), storage));
 9951|      0|            else
 9952|      0|                builtIns.insert(HlslParseContext::tInterstageIoData(function[p].type->getQualifier().builtIn, storage));
 9953|      0|        }
 9954|      0|    };
 9955|       |
 9956|       |    // If we synthesize a built-in interface variable, we must add it to the linkage.
 9957|      0|    const auto addToLinkage = [&](const TType& type, const TString* name, TIntermSymbol** symbolNode) {
 9958|      0|        if (name == nullptr) {
 9959|      0|            error(loc, "unable to locate patch function parameter name", "", "");
 9960|      0|            return;
 9961|      0|        } else {
 9962|      0|            TVariable& variable = *new TVariable(name, type);
 9963|      0|            if (! symbolTable.insert(variable)) {
 9964|      0|                error(loc, "unable to declare patch constant function interface variable", name->c_str(), "");
 9965|      0|                return;
 9966|      0|            }
 9967|       |
 9968|      0|            globalQualifierFix(loc, variable.getWritableType().getQualifier());
 9969|       |
 9970|      0|            if (symbolNode != nullptr)
 9971|      0|                *symbolNode = intermediate.addSymbol(variable);
 9972|       |
 9973|      0|            trackLinkage(variable);
 9974|      0|        }
 9975|      0|    };
 9976|       |
 9977|      0|    const auto isOutputPatch = [](TFunction& patchConstantFunction, int param) {
 9978|      0|        const TType& type = *patchConstantFunction[param].type;
 9979|      0|        const TBuiltInVariable biType = patchConstantFunction[param].getDeclaredBuiltIn();
 9980|       |
 9981|      0|        return type.isSizedArray() && biType == EbvOutputPatch;
 9982|      0|    };
 9983|       |
 9984|       |    // We will perform these steps.  Each is in a scoped block for separation: they could
 9985|       |    // become separate functions to make addPatchConstantInvocation shorter.
 9986|       |    //
 9987|       |    // 1. Union the interfaces, and create built-ins for anything present in the PCF and
 9988|       |    //    declared as a built-in variable that isn't present in the entry point's signature.
 9989|       |    //
 9990|       |    // 2. Synthesizes a call to the patchconstfunction using built-in variables from either main,
 9991|       |    //    or the ones we created.  Matching is based on built-in type.  We may use synthesized
 9992|       |    //    variables from (1) above.
 9993|       |    //
 9994|       |    // 2B: Synthesize per control point invocations of wrapped entry point if the PCF requires them.
 9995|       |    //
 9996|       |    // 3. Create a return sequence: copy the return value (if any) from the PCF to a
 9997|       |    //    (non-sanitized) output variable.  In case this may involve multiple copies, such as for
 9998|       |    //    an arrayed variable, a temporary copy of the PCF output is created to avoid multiple
 9999|       |    //    indirections into a complex R-value coming from the call to the PCF.
10000|       |    //
10001|       |    // 4. Create a barrier.
10002|       |    //
10003|       |    // 5/5B. Call the PCF inside an if test for (invocation id == 0).
10004|       |
10005|      0|    TFunction* patchConstantFunctionPtr = const_cast<TFunction*>(findPatchConstantFunction(loc));
10006|       |
10007|      0|    if (patchConstantFunctionPtr == nullptr)
  ------------------
  |  Branch (10007:9): [True: 0, False: 0]
  ------------------
10008|      0|        return;
10009|       |
10010|      0|    TFunction& patchConstantFunction = *patchConstantFunctionPtr;
10011|       |
10012|      0|    const int pcfParamCount = patchConstantFunction.getParamCount();
10013|      0|    TIntermSymbol* invocationIdSym = findTessLinkageSymbol(EbvInvocationId);
10014|      0|    TIntermSequence& epBodySeq = entryPointFunctionBody->getAsAggregate()->getSequence();
10015|       |
10016|      0|    int outPatchParam = -1; // -1 means there isn't one.
10017|       |
10018|       |    // ================ Step 1A: Union Interfaces ================
10019|       |    // Our patch constant function.
10020|      0|    {
10021|      0|        std::set<tInterstageIoData> pcfBuiltIns;  // patch constant function built-ins
10022|      0|        std::set<tInterstageIoData> epfBuiltIns;  // entry point function built-ins
10023|       |
10024|      0|        assert(entryPointFunction);
10025|      0|        assert(entryPointFunctionBody);
10026|       |
10027|      0|        findBuiltIns(patchConstantFunction, pcfBuiltIns);
10028|      0|        findBuiltIns(*entryPointFunction,   epfBuiltIns);
10029|       |
10030|       |        // Find the set of built-ins in the PCF that are not present in the entry point.
10031|      0|        std::set<tInterstageIoData> notInEntryPoint;
10032|       |
10033|      0|        notInEntryPoint = pcfBuiltIns;
10034|       |
10035|       |        // std::set_difference not usable on unordered containers
10036|      0|        for (auto bi = epfBuiltIns.begin(); bi != epfBuiltIns.end(); ++bi)
  ------------------
  |  Branch (10036:45): [True: 0, False: 0]
  ------------------
10037|      0|            notInEntryPoint.erase(*bi);
10038|       |
10039|       |        // Now we'll add those to the entry and to the linkage.
10040|      0|        for (int p=0; p<pcfParamCount; ++p) {
  ------------------
  |  Branch (10040:23): [True: 0, False: 0]
  ------------------
10041|      0|            const TBuiltInVariable biType   = patchConstantFunction[p].getDeclaredBuiltIn();
10042|      0|            TStorageQualifier storage = patchConstantFunction[p].type->getQualifier().storage;
10043|       |
10044|       |            // Track whether there is an output patch param
10045|      0|            if (isOutputPatch(patchConstantFunction, p)) {
  ------------------
  |  Branch (10045:17): [True: 0, False: 0]
  ------------------
10046|      0|                if (outPatchParam >= 0) {
  ------------------
  |  Branch (10046:21): [True: 0, False: 0]
  ------------------
10047|       |                    // Presently we only support one per ctrl pt input.
10048|      0|                    error(loc, "unimplemented: multiple output patches in patch constant function", "", "");
10049|      0|                    return;
10050|      0|                }
10051|      0|                outPatchParam = p;
10052|      0|            }
10053|       |
10054|      0|            if (biType != EbvNone) {
  ------------------
  |  Branch (10054:17): [True: 0, False: 0]
  ------------------
10055|      0|                TType* paramType = patchConstantFunction[p].type->clone();
10056|       |
10057|      0|                if (storage == EvqConstReadOnly) // treated identically to input
  ------------------
  |  Branch (10057:21): [True: 0, False: 0]
  ------------------
10058|      0|                    storage = EvqIn;
10059|       |
10060|       |                // Presently, the only non-built-in we support is InputPatch, which is treated as
10061|       |                // a pseudo-built-in.
10062|      0|                if (biType == EbvInputPatch) {
  ------------------
  |  Branch (10062:21): [True: 0, False: 0]
  ------------------
10063|      0|                    builtInTessLinkageSymbols[biType] = inputPatch;
10064|      0|                } else if (biType == EbvOutputPatch) {
  ------------------
  |  Branch (10064:28): [True: 0, False: 0]
  ------------------
10065|       |                    // Nothing...
10066|      0|                } else {
10067|       |                    // Use the original declaration type for the linkage
10068|      0|                    paramType->getQualifier().builtIn = biType;
10069|      0|                    if (biType == EbvTessLevelInner || biType == EbvTessLevelOuter)
  ------------------
  |  Branch (10069:25): [True: 0, False: 0]
  |  Branch (10069:56): [True: 0, False: 0]
  ------------------
10070|      0|                        paramType->getQualifier().patch = true;
10071|       |
10072|      0|                    if (notInEntryPoint.count(tInterstageIoData(biType, storage)) == 1)
  ------------------
  |  Branch (10072:25): [True: 0, False: 0]
  ------------------
10073|      0|                        addToLinkage(*paramType, patchConstantFunction[p].name, nullptr);
10074|      0|                }
10075|      0|            }
10076|      0|        }
10077|       |
10078|       |        // If we didn't find it because the shader made one, add our own.
10079|      0|        if (invocationIdSym == nullptr) {
  ------------------
  |  Branch (10079:13): [True: 0, False: 0]
  ------------------
10080|      0|            TType invocationIdType(EbtUint, EvqIn, 1);
10081|      0|            TString* invocationIdName = NewPoolTString("InvocationId");
10082|      0|            invocationIdType.getQualifier().builtIn = EbvInvocationId;
10083|      0|            addToLinkage(invocationIdType, invocationIdName, &invocationIdSym);
10084|      0|        }
10085|       |
10086|      0|        assert(invocationIdSym);
10087|      0|    }
10088|       |
10089|      0|    TIntermTyped* pcfArguments = nullptr;
10090|      0|    TVariable* perCtrlPtVar = nullptr;
10091|       |
10092|       |    // ================ Step 1B: Argument synthesis ================
10093|       |    // Create pcfArguments for synthesis of patchconstantfunction invocation
10094|      0|    {
10095|      0|        for (int p=0; p<pcfParamCount; ++p) {
  ------------------
  |  Branch (10095:23): [True: 0, False: 0]
  ------------------
10096|      0|            TIntermTyped* inputArg = nullptr;
10097|       |
10098|      0|            if (p == outPatchParam) {
  ------------------
  |  Branch (10098:17): [True: 0, False: 0]
  ------------------
10099|      0|                if (perCtrlPtVar == nullptr) {
  ------------------
  |  Branch (10099:21): [True: 0, False: 0]
  ------------------
10100|      0|                    perCtrlPtVar = makeInternalVariable(*patchConstantFunction[outPatchParam].name,
10101|      0|                                                        *patchConstantFunction[outPatchParam].type);
10102|       |
10103|      0|                    perCtrlPtVar->getWritableType().getQualifier().makeTemporary();
10104|      0|                }
10105|      0|                inputArg = intermediate.addSymbol(*perCtrlPtVar, loc);
10106|      0|            } else {
10107|       |                // find which built-in it is
10108|      0|                const TBuiltInVariable biType = patchConstantFunction[p].getDeclaredBuiltIn();
10109|       |
10110|      0|                if (biType == EbvInputPatch && inputPatch == nullptr) {
  ------------------
  |  Branch (10110:21): [True: 0, False: 0]
  |  Branch (10110:48): [True: 0, False: 0]
  ------------------
10111|      0|                    error(loc, "unimplemented: PCF input patch without entry point input patch parameter", "", "");
10112|      0|                    return;
10113|      0|                }
10114|       |
10115|      0|                inputArg = findTessLinkageSymbol(biType);
10116|       |
10117|      0|                if (inputArg == nullptr) {
  ------------------
  |  Branch (10117:21): [True: 0, False: 0]
  ------------------
10118|      0|                    error(loc, "unable to find patch constant function built-in variable", "", "");
10119|      0|                    return;
10120|      0|                }
10121|      0|            }
10122|       |
10123|      0|            if (pcfParamCount == 1)
  ------------------
  |  Branch (10123:17): [True: 0, False: 0]
  ------------------
10124|      0|                pcfArguments = inputArg;
10125|      0|            else
10126|      0|                pcfArguments = intermediate.growAggregate(pcfArguments, inputArg);
10127|      0|        }
10128|      0|    }
10129|       |
10130|       |    // ================ Step 2: Synthesize call to PCF ================
10131|      0|    TIntermAggregate* pcfCallSequence = nullptr;
10132|      0|    TIntermTyped* pcfCall = nullptr;
10133|       |
10134|      0|    {
10135|       |        // Create a function call to the patchconstantfunction
10136|      0|        if (pcfArguments)
  ------------------
  |  Branch (10136:13): [True: 0, False: 0]
  ------------------
10137|      0|            addInputArgumentConversions(patchConstantFunction, pcfArguments);
10138|       |
10139|       |        // Synthetic call.
10140|      0|        pcfCall = intermediate.setAggregateOperator(pcfArguments, EOpFunctionCall, patchConstantFunction.getType(), loc);
10141|      0|        pcfCall->getAsAggregate()->setUserDefined();
10142|      0|        pcfCall->getAsAggregate()->setName(patchConstantFunction.getMangledName());
10143|      0|        intermediate.addToCallGraph(infoSink, intermediate.getEntryPointMangledName().c_str(),
10144|      0|                                    patchConstantFunction.getMangledName());
10145|       |
10146|      0|        if (pcfCall->getAsAggregate()) {
  ------------------
  |  Branch (10146:13): [True: 0, False: 0]
  ------------------
10147|      0|            TQualifierList& qualifierList = pcfCall->getAsAggregate()->getQualifierList();
10148|      0|            for (int i = 0; i < patchConstantFunction.getParamCount(); ++i) {
  ------------------
  |  Branch (10148:29): [True: 0, False: 0]
  ------------------
10149|      0|                TStorageQualifier qual = patchConstantFunction[i].type->getQualifier().storage;
10150|      0|                qualifierList.push_back(qual);
10151|      0|            }
10152|      0|            pcfCall = addOutputArgumentConversions(patchConstantFunction, *pcfCall->getAsOperator());
10153|      0|        }
10154|      0|    }
10155|       |
10156|       |    // ================ Step 2B: Per Control Point synthesis ================
10157|       |    // If there is per control point data, we must either emulate that with multiple
10158|       |    // invocations of the entry point to build up an array, or (TODO:) use a yet
10159|       |    // unavailable extension to look across the SIMD lanes.  This is the former
10160|       |    // as a placeholder for the latter.
10161|      0|    if (outPatchParam >= 0) {
  ------------------
  |  Branch (10161:9): [True: 0, False: 0]
  ------------------
10162|       |        // We must introduce a local temp variable of the type wanted by the PCF input.
10163|      0|        const int arraySize = patchConstantFunction[outPatchParam].type->getOuterArraySize();
10164|       |
10165|      0|        if (entryPointFunction->getType().getBasicType() == EbtVoid) {
  ------------------
  |  Branch (10165:13): [True: 0, False: 0]
  ------------------
10166|      0|            error(loc, "entry point must return a value for use with patch constant function", "", "");
10167|      0|            return;
10168|      0|        }
10169|       |
10170|       |        // Create calls to wrapped main to fill in the array.  We will substitute fixed values
10171|       |        // of invocation ID when calling the wrapped main.
10172|       |
10173|       |        // This is the type of the each member of the per ctrl point array.
10174|      0|        const TType derefType(perCtrlPtVar->getType(), 0);
10175|       |
10176|      0|        for (int cpt = 0; cpt < arraySize; ++cpt) {
  ------------------
  |  Branch (10176:27): [True: 0, False: 0]
  ------------------
10177|       |            // TODO: improve.  substr(1) here is to avoid the '@' that was grafted on but isn't in the symtab
10178|       |            // for this function.
10179|      0|            const TString origName = entryPointFunction->getName().substr(1);
10180|      0|            TFunction callee(&origName, TType(EbtVoid));
10181|      0|            TIntermTyped* callingArgs = nullptr;
10182|       |
10183|      0|            for (int i = 0; i < entryPointFunction->getParamCount(); i++) {
  ------------------
  |  Branch (10183:29): [True: 0, False: 0]
  ------------------
10184|      0|                TParameter& param = (*entryPointFunction)[i];
10185|      0|                TType& paramType = *param.type;
10186|       |
10187|      0|                if (paramType.getQualifier().isParamOutput()) {
  ------------------
  |  Branch (10187:21): [True: 0, False: 0]
  ------------------
10188|      0|                    error(loc, "unimplemented: entry point outputs in patch constant function invocation", "", "");
10189|      0|                    return;
10190|      0|                }
10191|       |
10192|      0|                if (paramType.getQualifier().isParamInput())  {
  ------------------
  |  Branch (10192:21): [True: 0, False: 0]
  ------------------
10193|      0|                    TIntermTyped* arg = nullptr;
10194|      0|                    if ((*entryPointFunction)[i].getDeclaredBuiltIn() == EbvInvocationId) {
  ------------------
  |  Branch (10194:25): [True: 0, False: 0]
  ------------------
10195|       |                        // substitute invocation ID with the array element ID
10196|      0|                        arg = intermediate.addConstantUnion(cpt, loc);
10197|      0|                    } else {
10198|      0|                        TVariable* argVar = makeInternalVariable(*param.name, *param.type);
10199|      0|                        argVar->getWritableType().getQualifier().makeTemporary();
10200|      0|                        arg = intermediate.addSymbol(*argVar);
10201|      0|                    }
10202|       |
10203|      0|                    handleFunctionArgument(&callee, callingArgs, arg);
10204|      0|                }
10205|      0|            }
10206|       |
10207|       |            // Call and assign to per ctrl point variable
10208|      0|            currentCaller = intermediate.getEntryPointMangledName().c_str();
10209|      0|            TIntermTyped* callReturn = handleFunctionCall(loc, &callee, callingArgs);
10210|      0|            TIntermTyped* index = intermediate.addConstantUnion(cpt, loc);
10211|      0|            TIntermSymbol* perCtrlPtSym = intermediate.addSymbol(*perCtrlPtVar, loc);
10212|      0|            TIntermTyped* element = intermediate.addIndex(EOpIndexDirect, perCtrlPtSym, index, loc);
10213|      0|            element->setType(derefType);
10214|      0|            element->setLoc(loc);
10215|       |
10216|      0|            pcfCallSequence = intermediate.growAggregate(pcfCallSequence,
10217|      0|                                                         handleAssign(loc, EOpAssign, element, callReturn));
10218|      0|        }
10219|      0|    }
10220|       |
10221|       |    // ================ Step 3: Create return Sequence ================
10222|       |    // Return sequence: copy PCF result to a temporary, then to shader output variable.
10223|      0|    if (pcfCall->getBasicType() != EbtVoid) {
  ------------------
  |  Branch (10223:9): [True: 0, False: 0]
  ------------------
10224|      0|        const TType* retType = &patchConstantFunction.getType();  // return type from the PCF
10225|      0|        TType outType; // output type that goes with the return type.
10226|      0|        outType.shallowCopy(*retType);
10227|       |
10228|       |        // substitute the output type
10229|      0|        const auto newLists = ioTypeMap.find(retType->getStruct());
10230|      0|        if (newLists != ioTypeMap.end())
  ------------------
  |  Branch (10230:13): [True: 0, False: 0]
  ------------------
10231|      0|            outType.setStruct(newLists->second.output);
10232|       |
10233|       |        // Substitute the top level type's built-in type
10234|      0|        if (patchConstantFunction.getDeclaredBuiltInType() != EbvNone)
  ------------------
  |  Branch (10234:13): [True: 0, False: 0]
  ------------------
10235|      0|            outType.getQualifier().builtIn = patchConstantFunction.getDeclaredBuiltInType();
10236|       |
10237|      0|        outType.getQualifier().patch = true; // make it a per-patch variable
10238|       |
10239|      0|        TVariable* pcfOutput = makeInternalVariable("@patchConstantOutput", outType);
10240|      0|        pcfOutput->getWritableType().getQualifier().storage = EvqVaryingOut;
10241|       |
10242|      0|        if (pcfOutput->getType().isStruct())
  ------------------
  |  Branch (10242:13): [True: 0, False: 0]
  ------------------
10243|      0|            flatten(*pcfOutput, false);
10244|       |
10245|      0|        assignToInterface(*pcfOutput);
10246|       |
10247|      0|        TIntermSymbol* pcfOutputSym = intermediate.addSymbol(*pcfOutput, loc);
10248|       |
10249|       |        // The call to the PCF is a complex R-value: we want to store it in a temp to avoid
10250|       |        // repeated calls to the PCF:
10251|      0|        TVariable* pcfCallResult = makeInternalVariable("@patchConstantResult", *retType);
10252|      0|        pcfCallResult->getWritableType().getQualifier().makeTemporary();
10253|       |
10254|      0|        TIntermSymbol* pcfResultVar = intermediate.addSymbol(*pcfCallResult, loc);
10255|      0|        TIntermNode* pcfResultAssign = handleAssign(loc, EOpAssign, pcfResultVar, pcfCall);
10256|      0|        TIntermNode* pcfResultToOut = handleAssign(loc, EOpAssign, pcfOutputSym,
10257|      0|                                                   intermediate.addSymbol(*pcfCallResult, loc));
10258|       |
10259|      0|        pcfCallSequence = intermediate.growAggregate(pcfCallSequence, pcfResultAssign);
10260|      0|        pcfCallSequence = intermediate.growAggregate(pcfCallSequence, pcfResultToOut);
10261|      0|    } else {
10262|      0|        pcfCallSequence = intermediate.growAggregate(pcfCallSequence, pcfCall);
10263|      0|    }
10264|       |
10265|       |    // ================ Step 4: Barrier ================
10266|      0|    TIntermTyped* barrier = new TIntermAggregate(EOpBarrier);
10267|      0|    barrier->setLoc(loc);
10268|      0|    barrier->setType(TType(EbtVoid));
10269|      0|    epBodySeq.insert(epBodySeq.end(), barrier);
10270|       |
10271|       |    // ================ Step 5: Test on invocation ID ================
10272|      0|    TIntermTyped* zero = intermediate.addConstantUnion(0, loc, true);
10273|      0|    TIntermTyped* cmp =  intermediate.addBinaryNode(EOpEqual, invocationIdSym, zero, loc, TType(EbtBool));
10274|       |
10275|       |
10276|       |    // ================ Step 5B: Create if statement on Invocation ID == 0 ================
10277|      0|    intermediate.setAggregateOperator(pcfCallSequence, EOpSequence, TType(EbtVoid), loc);
10278|      0|    TIntermTyped* invocationIdTest = new TIntermSelection(cmp, pcfCallSequence, nullptr);
10279|      0|    invocationIdTest->setLoc(loc);
10280|       |
10281|       |    // add our test sequence before the return.
10282|      0|    epBodySeq.insert(epBodySeq.end(), invocationIdTest);
10283|      0|}
_ZN7glslang16HlslParseContext32removeUnusedStructBufferCountersEv:
10289|     43|{
10290|     43|    const auto endIt = std::remove_if(linkageSymbols.begin(), linkageSymbols.end(),
10291|     43|                                      [this](const TSymbol* sym) {
10292|     43|                                          const auto sbcIt = structBufferCounter.find(sym->getName());
10293|     43|                                          return sbcIt != structBufferCounter.end() && !sbcIt->second;
10294|     43|                                      });
10295|       |
10296|     43|    linkageSymbols.erase(endIt, linkageSymbols.end());
10297|     43|}
_ZN7glslang16HlslParseContext21fixTextureShadowModesEv:
10301|     43|{
10302|     43|    for (auto symbol = linkageSymbols.begin(); symbol != linkageSymbols.end(); ++symbol) {
  ------------------
  |  Branch (10302:48): [True: 0, False: 43]
  ------------------
10303|      0|        TSampler& sampler = (*symbol)->getWritableType().getSampler();
10304|       |
10305|      0|        if (sampler.isTexture()) {
  ------------------
  |  Branch (10305:13): [True: 0, False: 0]
  ------------------
10306|      0|            const auto shadowMode = textureShadowVariant.find((*symbol)->getUniqueId());
10307|      0|            if (shadowMode != textureShadowVariant.end()) {
  ------------------
  |  Branch (10307:17): [True: 0, False: 0]
  ------------------
10308|       |
10309|      0|                if (shadowMode->second->overloaded())
  ------------------
  |  Branch (10309:21): [True: 0, False: 0]
  ------------------
10310|       |                    // Texture needs legalization if it's been seen with both shadow and non-shadow modes.
10311|      0|                    intermediate.setNeedsLegalization();
10312|       |
10313|      0|                sampler.shadow = shadowMode->second->isShadowId((*symbol)->getUniqueId());
10314|      0|            }
10315|      0|        }
10316|      0|    }
10317|     43|}
_ZN7glslang16HlslParseContext21finalizeAppendMethodsEv:
10322|     43|{
10323|     43|    TSourceLoc loc;
10324|     43|    loc.init();
10325|       |
10326|       |    // Nothing to do: bypass test for valid stream output.
10327|     43|    if (gsAppends.empty())
  ------------------
  |  Branch (10327:9): [True: 43, False: 0]
  ------------------
10328|     43|        return;
10329|       |
10330|      0|    if (gsStreamOutput == nullptr) {
  ------------------
  |  Branch (10330:9): [True: 0, False: 0]
  ------------------
10331|      0|        error(loc, "unable to find output symbol for Append()", "", "");
10332|      0|        return;
10333|      0|    }
10334|       |
10335|       |    // Patch append sequences, now that we know the stream output symbol.
10336|      0|    for (auto append = gsAppends.begin(); append != gsAppends.end(); ++append) {
  ------------------
  |  Branch (10336:43): [True: 0, False: 0]
  ------------------
10337|      0|        append->node->getSequence()[0] =
10338|      0|            handleAssign(append->loc, EOpAssign,
10339|      0|                         intermediate.addSymbol(*gsStreamOutput, append->loc),
10340|      0|                         append->node->getSequence()[0]->getAsTyped());
10341|      0|    }
10342|      0|}
_ZN7glslang16HlslParseContext6finishEv:
10346|     43|{
10347|       |    // Error check: There was a dangling .mips operator.  These are not nested constructs in the grammar, so
10348|       |    // cannot be detected there.  This is not strictly needed in a non-validating parser; it's just helpful.
10349|     43|    if (! mipsOperatorMipArg.empty()) {
  ------------------
  |  Branch (10349:9): [True: 0, False: 43]
  ------------------
10350|      0|        error(mipsOperatorMipArg.back().loc, "unterminated mips operator:", "", "");
10351|      0|    }
10352|       |
10353|     43|    removeUnusedStructBufferCounters();
10354|     43|    addPatchConstantInvocation();
10355|     43|    fixTextureShadowModes();
10356|     43|    finalizeAppendMethods();
10357|       |
10358|       |    // Communicate out (esp. for command line) that we formed AST that will make
10359|       |    // illegal AST SPIR-V and it needs transforms to legalize it.
10360|     43|    if (intermediate.needsLegalization() && (messages & EShMsgHlslLegalization))
  ------------------
  |  Branch (10360:9): [True: 0, False: 43]
  |  Branch (10360:45): [True: 0, False: 0]
  ------------------
10361|      0|        infoSink.info << "WARNING: AST will form illegal SPIR-V; need to transform to legalize";
10362|       |
10363|     43|    TParseContextBase::finish();
10364|     43|}
hlslParseHelper.cpp:_ZZN7glslang16HlslParseContext19getLayoutFromTxTypeERKNS_10TSourceLocERKNS_5TTypeEENK3$_0clENS_13TLayoutFormatES8_S8_:
  206|  1.25k|    const auto selectFormat = [this,&components](TLayoutFormat v1, TLayoutFormat v2, TLayoutFormat v4) -> TLayoutFormat {
  207|  1.25k|        if (intermediate.getNoStorageFormat())
  ------------------
  |  Branch (207:13): [True: 0, False: 1.25k]
  ------------------
  208|      0|            return ElfNone;
  209|       |
  210|  1.25k|        return components == 1 ? v1 :
  ------------------
  |  Branch (210:16): [True: 660, False: 594]
  ------------------
  211|  1.25k|               components == 2 ? v2 : v4;
  ------------------
  |  Branch (211:16): [True: 396, False: 198]
  ------------------
  212|  1.25k|    };

_ZN7glslang16HlslParseContext21lineContinuationCheckERKNS_10TSourceLocEb:
   68|  3.25k|    bool lineContinuationCheck(const TSourceLoc&, bool /*endOfComment*/) override { return true; }
_ZN7glslang16HlslParseContext21beginParameterParsingERNS_9TFunctionE:
  189|  88.0k|    {
  190|  88.0k|        parsingEntrypointParameters = isEntrypointName(function.getName());
  191|  88.0k|    }
_ZN7glslang16HlslParseContext16isEntrypointNameERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  252|  88.0k|    bool isEntrypointName(const TString& name) { return name.compare(intermediate.getEntryPointName().c_str()) == 0; }

_ZN7glslang22TBuiltInParseablesHlslC2Ev:
  390|     44|{
  391|     44|}
_ZN7glslang22TBuiltInParseablesHlsl17createMatTimesMatEv:
  398|     22|{
  399|     22|    TString& s = commonBuiltins;
  400|       |
  401|    110|    for (int xRows = 1; xRows <=4; xRows++) {
  ------------------
  |  Branch (401:25): [True: 88, False: 22]
  ------------------
  402|    440|        for (int xCols = 1; xCols <=4; xCols++) {
  ------------------
  |  Branch (402:29): [True: 352, False: 88]
  ------------------
  403|    352|            const int yRows = xCols;
  404|  1.76k|            for (int yCols = 1; yCols <=4; yCols++) {
  ------------------
  |  Branch (404:33): [True: 1.40k, False: 352]
  ------------------
  405|  1.40k|                const int retRows = xRows;
  406|  1.40k|                const int retCols = yCols;
  407|       |
  408|       |                // Create a mat * mat of the appropriate dimensions
  409|  1.40k|                AppendTypeName(s, "M", "F", retRows, retCols);  // add return type
  410|  1.40k|                s.append(" ");                                  // space between type and name
  411|  1.40k|                s.append("mul");                                // intrinsic name
  412|  1.40k|                s.append("(");                                  // open paren
  413|       |
  414|  1.40k|                AppendTypeName(s, "M", "F", xRows, xCols);      // add X input
  415|  1.40k|                s.append(", ");
  416|  1.40k|                AppendTypeName(s, "M", "F", yRows, yCols);      // add Y input
  417|       |
  418|  1.40k|                s.append(");\n");                               // close paren
  419|  1.40k|            }
  420|       |
  421|       |            // Create M*V
  422|    352|            AppendTypeName(s, "V", "F", xRows, 1);          // add return type
  423|    352|            s.append(" ");                                  // space between type and name
  424|    352|            s.append("mul");                                // intrinsic name
  425|    352|            s.append("(");                                  // open paren
  426|       |
  427|    352|            AppendTypeName(s, "M", "F", xRows, xCols);      // add X input
  428|    352|            s.append(", ");
  429|    352|            AppendTypeName(s, "V", "F", xCols, 1);          // add Y input
  430|       |
  431|    352|            s.append(");\n");                               // close paren
  432|       |
  433|       |            // Create V*M
  434|    352|            AppendTypeName(s, "V", "F", xCols, 1);          // add return type
  435|    352|            s.append(" ");                                  // space between type and name
  436|    352|            s.append("mul");                                // intrinsic name
  437|    352|            s.append("(");                                  // open paren
  438|       |
  439|    352|            AppendTypeName(s, "V", "F", xRows, 1);          // add Y input
  440|    352|            s.append(", ");
  441|    352|            AppendTypeName(s, "M", "F", xRows, xCols);      // add X input
  442|       |
  443|    352|            s.append(");\n");                               // close paren
  444|    352|        }
  445|     88|    }
  446|     22|}
_ZN7glslang22TBuiltInParseablesHlsl10initializeEi8EProfileRKNS_10SpvVersionE:
  457|     22|{
  458|     22|    static const EShLanguageMask EShLangAll    = EShLanguageMask(EShLangCount - 1);
  459|       |
  460|       |    // These are the actual stage masks defined in the documentation, in case they are
  461|       |    // needed for future validation.  For now, they are commented out, and set below
  462|       |    // to EShLangAll, to allow any intrinsic to be used in any shader, which is legal
  463|       |    // if it is not called.
  464|       |    //
  465|       |    // static const EShLanguageMask EShLangPSCS   = EShLanguageMask(EShLangFragmentMask | EShLangComputeMask);
  466|       |    // static const EShLanguageMask EShLangVSPSGS = EShLanguageMask(EShLangVertexMask | EShLangFragmentMask | EShLangGeometryMask);
  467|       |    // static const EShLanguageMask EShLangCS     = EShLangComputeMask;
  468|       |    // static const EShLanguageMask EShLangPS     = EShLangFragmentMask;
  469|       |    // static const EShLanguageMask EShLangHS     = EShLangTessControlMask;
  470|       |
  471|       |    // This set uses EShLangAll for everything.
  472|     22|    static const EShLanguageMask EShLangPSCS   = EShLangAll;
  473|     22|    static const EShLanguageMask EShLangVSPSGS = EShLangAll;
  474|     22|    static const EShLanguageMask EShLangCS     = EShLangAll;
  475|     22|    static const EShLanguageMask EShLangPS     = EShLangAll;
  476|     22|    static const EShLanguageMask EShLangHS     = EShLangAll;
  477|     22|    static const EShLanguageMask EShLangGS     = EShLangAll;
  478|       |
  479|       |    // This structure encodes the prototype information for each HLSL intrinsic.
  480|       |    // Because explicit enumeration would be cumbersome, it's procedurally generated.
  481|       |    // orderKey can be:
  482|       |    //   S = scalar, V = vector, M = matrix, - = void
  483|       |    // typekey can be:
  484|       |    //   D = double, F = float, U = uint, I = int, B = bool, S = sampler, s = shadowSampler, M = uint64_t, L = int64_t
  485|       |    // An empty order or type key repeats the first one.  E.g: SVM,, means 3 args each of SVM.
  486|       |    // '>' as first letter of order creates an output parameter
  487|       |    // '<' as first letter of order creates an input parameter
  488|       |    // '^' as first letter of order takes transpose dimensions
  489|       |    // '%' as first letter of order creates texture of given F/I/U type (texture, itexture, etc)
  490|       |    // '@' as first letter of order creates arrayed texture of given type
  491|       |    // '$' / '&' as first letter of order creates 2DMS / 2DMSArray textures
  492|       |    // '*' as first letter of order creates buffer object
  493|       |    // '!' as first letter of order creates image object
  494|       |    // '#' as first letter of order creates arrayed image object
  495|       |    // '~' as first letter of order creates an image buffer object
  496|       |    // '[' / ']' as first letter of order creates a SubpassInput/SubpassInputMS object
  497|       |
  498|     22|    static const struct {
  499|     22|        const char*   name;      // intrinsic name
  500|     22|        const char*   retOrder;  // return type key: empty matches order of 1st argument
  501|     22|        const char*   retType;   // return type key: empty matches type of 1st argument
  502|     22|        const char*   argOrder;  // argument order key
  503|     22|        const char*   argType;   // argument type key
  504|     22|        unsigned int  stage;     // stage mask
  505|     22|        bool          method;    // true if it's a method.
  506|     22|    } hlslIntrinsics[] = {
  507|       |        // name                               retOrd   retType    argOrder          argType          stage mask     method
  508|       |        // ----------------------------------------------------------------------------------------------------------------
  509|     22|        { "abort",                            nullptr, nullptr,   "-",              "-",             EShLangAll,    false },
  510|     22|        { "abs",                              nullptr, nullptr,   "SVM",            "DFUI",          EShLangAll,    false },
  511|     22|        { "acos",                             nullptr, nullptr,   "SVM",            "F",             EShLangAll,    false },
  512|     22|        { "all",                              "S",    "B",        "SVM",            "BFIU",          EShLangAll,    false },
  513|     22|        { "AllMemoryBarrier",                 nullptr, nullptr,   "-",              "-",             EShLangCS,     false },
  514|     22|        { "AllMemoryBarrierWithGroupSync",    nullptr, nullptr,   "-",              "-",             EShLangCS,     false },
  515|     22|        { "any",                              "S",     "B",       "SVM",            "BFIU",          EShLangAll,    false },
  516|     22|        { "asdouble",                         "S",     "D",       "S,",             "UI,",           EShLangAll,    false },
  517|     22|        { "asdouble",                         "V2",    "D",       "V2,",            "UI,",           EShLangAll,    false },
  518|     22|        { "asfloat",                          nullptr, "F",       "SVM",            "BFIU",          EShLangAll,    false },
  519|     22|        { "asin",                             nullptr, nullptr,   "SVM",            "F",             EShLangAll,    false },
  520|     22|        { "asint",                            nullptr, "I",       "SVM",            "FIU",           EShLangAll,    false },
  521|     22|        { "asuint",                           nullptr, "U",       "SVM",            "FIU",           EShLangAll,    false },
  522|     22|        { "atan",                             nullptr, nullptr,   "SVM",            "F",             EShLangAll,    false },
  523|     22|        { "atan2",                            nullptr, nullptr,   "SVM,",           "F,",            EShLangAll,    false },
  524|     22|        { "ceil",                             nullptr, nullptr,   "SVM",            "F",             EShLangAll,    false },
  525|     22|        { "CheckAccessFullyMapped",           "S",     "B" ,      "S",              "U",             EShLangPSCS,   false },
  526|     22|        { "clamp",                            nullptr, nullptr,   "SVM,,",          "FUI,,",         EShLangAll,    false },
  527|     22|        { "clip",                             "-",     "-",       "SVM",            "FUI",           EShLangPS,     false },
  528|     22|        { "cos",                              nullptr, nullptr,   "SVM",            "F",             EShLangAll,    false },
  529|     22|        { "cosh",                             nullptr, nullptr,   "SVM",            "F",             EShLangAll,    false },
  530|     22|        { "countbits",                        nullptr, nullptr,   "SV",             "UI",            EShLangAll,    false },
  531|     22|        { "cross",                            nullptr, nullptr,   "V3,",            "F,",            EShLangAll,    false },
  532|     22|        { "D3DCOLORtoUBYTE4",                 "V4",    "I",       "V4",             "F",             EShLangAll,    false },
  533|     22|        { "ddx",                              nullptr, nullptr,   "SVM",            "F",             EShLangPS,     false },
  534|     22|        { "ddx_coarse",                       nullptr, nullptr,   "SVM",            "F",             EShLangPS,     false },
  535|     22|        { "ddx_fine",                         nullptr, nullptr,   "SVM",            "F",             EShLangPS,     false },
  536|     22|        { "ddy",                              nullptr, nullptr,   "SVM",            "F",             EShLangPS,     false },
  537|     22|        { "ddy_coarse",                       nullptr, nullptr,   "SVM",            "F",             EShLangPS,     false },
  538|     22|        { "ddy_fine",                         nullptr, nullptr,   "SVM",            "F",             EShLangPS,     false },
  539|     22|        { "degrees",                          nullptr, nullptr,   "SVM",            "F",             EShLangAll,    false },
  540|     22|        { "determinant",                      "S",     "F",       "M",              "F",             EShLangAll,    false },
  541|     22|        { "DeviceMemoryBarrier",              nullptr, nullptr,   "-",              "-",             EShLangPSCS,   false },
  542|     22|        { "DeviceMemoryBarrierWithGroupSync", nullptr, nullptr,   "-",              "-",             EShLangCS,     false },
  543|     22|        { "distance",                         "S",     "F",       "SV,",            "F,",            EShLangAll,    false },
  544|     22|        { "dot",                              "S",     nullptr,   "SV,",            "FI,",           EShLangAll,    false },
  545|     22|        { "dst",                              nullptr, nullptr,   "V4,",            "F,",            EShLangAll,    false },
  546|       |        // { "errorf",                           "-",     "-",       "",             "",             EShLangAll,    false }, TODO: varargs
  547|     22|        { "EvaluateAttributeAtCentroid",      nullptr, nullptr,   "SVM",            "F",             EShLangPS,     false },
  548|     22|        { "EvaluateAttributeAtSample",        nullptr, nullptr,   "SVM,S",          "F,U",           EShLangPS,     false },
  549|     22|        { "EvaluateAttributeSnapped",         nullptr, nullptr,   "SVM,V2",         "F,I",           EShLangPS,     false },
  550|     22|        { "exp",                              nullptr, nullptr,   "SVM",            "F",             EShLangAll,    false },
  551|     22|        { "exp2",                             nullptr, nullptr,   "SVM",            "F",             EShLangAll,    false },
  552|     22|        { "f16tof32",                         nullptr, "F",       "SV",             "U",             EShLangAll,    false },
  553|     22|        { "f32tof16",                         nullptr, "U",       "SV",             "F",             EShLangAll,    false },
  554|     22|        { "faceforward",                      nullptr, nullptr,   "V,,",            "F,,",           EShLangAll,    false },
  555|     22|        { "firstbithigh",                     nullptr, nullptr,   "SV",             "UI",            EShLangAll,    false },
  556|     22|        { "firstbitlow",                      nullptr, nullptr,   "SV",             "UI",            EShLangAll,    false },
  557|     22|        { "floor",                            nullptr, nullptr,   "SVM",            "F",             EShLangAll,    false },
  558|     22|        { "fma",                              nullptr, nullptr,   "SVM,,",          "D,,",           EShLangAll,    false },
  559|     22|        { "fmod",                             nullptr, nullptr,   "SVM,",           "F,",            EShLangAll,    false },
  560|     22|        { "frac",                             nullptr, nullptr,   "SVM",            "F",             EShLangAll,    false },
  561|     22|        { "frexp",                            nullptr, nullptr,   "SVM,",           "F,",            EShLangAll,    false },
  562|     22|        { "fwidth",                           nullptr, nullptr,   "SVM",            "F",             EShLangPS,     false },
  563|     22|        { "GetRenderTargetSampleCount",       "S",     "U",       "-",              "-",             EShLangAll,    false },
  564|     22|        { "GetRenderTargetSamplePosition",    "V2",    "F",       "V1",             "I",             EShLangAll,    false },
  565|     22|        { "GroupMemoryBarrier",               nullptr, nullptr,   "-",              "-",             EShLangCS,     false },
  566|     22|        { "GroupMemoryBarrierWithGroupSync",  nullptr, nullptr,   "-",              "-",             EShLangCS,     false },
  567|     22|        { "InterlockedAdd",                   "-",     "-",       "SVM,,>",         "FUI,,",          EShLangPSCS,   false },
  568|     22|        { "InterlockedAdd",                   "-",     "-",       "SVM,",           "FUI,",           EShLangPSCS,   false },
  569|     22|        { "InterlockedAnd",                   "-",     "-",       "SVM,,>",         "UI,,",          EShLangPSCS,   false },
  570|     22|        { "InterlockedAnd",                   "-",     "-",       "SVM,",           "UI,",           EShLangPSCS,   false },
  571|     22|        { "InterlockedCompareExchange",       "-",     "-",       "SVM,,,>",        "UI,,,",         EShLangPSCS,   false },
  572|     22|        { "InterlockedCompareStore",          "-",     "-",       "SVM,,",          "UI,,",          EShLangPSCS,   false },
  573|     22|        { "InterlockedExchange",              "-",     "-",       "SVM,,>",         "UI,,",          EShLangPSCS,   false },
  574|     22|        { "InterlockedMax",                   "-",     "-",       "SVM,,>",         "UI,,",          EShLangPSCS,   false },
  575|     22|        { "InterlockedMax",                   "-",     "-",       "SVM,",           "UI,",           EShLangPSCS,   false },
  576|     22|        { "InterlockedMin",                   "-",     "-",       "SVM,,>",         "UI,,",          EShLangPSCS,   false },
  577|     22|        { "InterlockedMin",                   "-",     "-",       "SVM,",           "UI,",           EShLangPSCS,   false },
  578|     22|        { "InterlockedOr",                    "-",     "-",       "SVM,,>",         "UI,,",          EShLangPSCS,   false },
  579|     22|        { "InterlockedOr",                    "-",     "-",       "SVM,",           "UI,",           EShLangPSCS,   false },
  580|     22|        { "InterlockedXor",                   "-",     "-",       "SVM,,>",         "UI,,",          EShLangPSCS,   false },
  581|     22|        { "InterlockedXor",                   "-",     "-",       "SVM,",           "UI,",           EShLangPSCS,   false },
  582|     22|        { "isfinite",                         nullptr, "B" ,      "SVM",            "F",             EShLangAll,    false },
  583|     22|        { "isinf",                            nullptr, "B" ,      "SVM",            "F",             EShLangAll,    false },
  584|     22|        { "isnan",                            nullptr, "B" ,      "SVM",            "F",             EShLangAll,    false },
  585|     22|        { "ldexp",                            nullptr, nullptr,   "SVM,",           "F,",            EShLangAll,    false },
  586|     22|        { "length",                           "S",     "F",       "SV",             "F",             EShLangAll,    false },
  587|     22|        { "lerp",                             nullptr, nullptr,   "VM,,",           "F,,",           EShLangAll,    false },
  588|     22|        { "lerp",                             nullptr, nullptr,   "SVM,,S",         "F,,",           EShLangAll,    false },
  589|     22|        { "lit",                              "V4",    "F",       "S,,",            "F,,",           EShLangAll,    false },
  590|     22|        { "log",                              nullptr, nullptr,   "SVM",            "F",             EShLangAll,    false },
  591|     22|        { "log10",                            nullptr, nullptr,   "SVM",            "F",             EShLangAll,    false },
  592|     22|        { "log2",                             nullptr, nullptr,   "SVM",            "F",             EShLangAll,    false },
  593|     22|        { "mad",                              nullptr, nullptr,   "SVM,,",          "DFUI,,",        EShLangAll,    false },
  594|     22|        { "max",                              nullptr, nullptr,   "SVM,",           "FIU,",          EShLangAll,    false },
  595|     22|        { "min",                              nullptr, nullptr,   "SVM,",           "FIU,",          EShLangAll,    false },
  596|     22|        { "modf",                             nullptr, nullptr,   "SVM,>",          "FIU,",          EShLangAll,    false },
  597|     22|        { "msad4",                            "V4",    "U",       "S,V2,V4",        "U,,",           EShLangAll,    false },
  598|     22|        { "mul",                              "S",     nullptr,   "S,S",            "FI,",           EShLangAll,    false },
  599|     22|        { "mul",                              "V",     nullptr,   "S,V",            "FI,",           EShLangAll,    false },
  600|     22|        { "mul",                              "M",     nullptr,   "S,M",            "FI,",           EShLangAll,    false },
  601|     22|        { "mul",                              "V",     nullptr,   "V,S",            "FI,",           EShLangAll,    false },
  602|     22|        { "mul",                              "S",     nullptr,   "V,V",            "FI,",           EShLangAll,    false },
  603|     22|        { "mul",                              "M",     nullptr,   "M,S",            "FI,",           EShLangAll,    false },
  604|       |        // mat*mat form of mul is handled in createMatTimesMat()
  605|     22|        { "noise",                            "S",     "F",       "V",              "F",             EShLangPS,     false },
  606|     22|        { "normalize",                        nullptr, nullptr,   "V",              "F",             EShLangAll,    false },
  607|     22|        { "pow",                              nullptr, nullptr,   "SVM,",           "F,",            EShLangAll,    false },
  608|     22|        { "printf",                           nullptr, nullptr,   "-",              "-",             EShLangAll,    false },
  609|     22|        { "Process2DQuadTessFactorsAvg",      "-",     "-",       "V4,V2,>V4,>V2,", "F,,,,",         EShLangHS,     false },
  610|     22|        { "Process2DQuadTessFactorsMax",      "-",     "-",       "V4,V2,>V4,>V2,", "F,,,,",         EShLangHS,     false },
  611|     22|        { "Process2DQuadTessFactorsMin",      "-",     "-",       "V4,V2,>V4,>V2,", "F,,,,",         EShLangHS,     false },
  612|     22|        { "ProcessIsolineTessFactors",        "-",     "-",       "S,,>,>",         "F,,,",          EShLangHS,     false },
  613|     22|        { "ProcessQuadTessFactorsAvg",        "-",     "-",       "V4,S,>V4,>V2,",  "F,,,,",         EShLangHS,     false },
  614|     22|        { "ProcessQuadTessFactorsMax",        "-",     "-",       "V4,S,>V4,>V2,",  "F,,,,",         EShLangHS,     false },
  615|     22|        { "ProcessQuadTessFactorsMin",        "-",     "-",       "V4,S,>V4,>V2,",  "F,,,,",         EShLangHS,     false },
  616|     22|        { "ProcessTriTessFactorsAvg",         "-",     "-",       "V3,S,>V3,>S,",   "F,,,,",         EShLangHS,     false },
  617|     22|        { "ProcessTriTessFactorsMax",         "-",     "-",       "V3,S,>V3,>S,",   "F,,,,",         EShLangHS,     false },
  618|     22|        { "ProcessTriTessFactorsMin",         "-",     "-",       "V3,S,>V3,>S,",   "F,,,,",         EShLangHS,     false },
  619|     22|        { "radians",                          nullptr, nullptr,   "SVM",            "F",             EShLangAll,    false },
  620|     22|        { "rcp",                              nullptr, nullptr,   "SVM",            "FD",            EShLangAll,    false },
  621|     22|        { "reflect",                          nullptr, nullptr,   "V,",             "F,",            EShLangAll,    false },
  622|     22|        { "refract",                          nullptr, nullptr,   "V,V,S",          "F,,",           EShLangAll,    false },
  623|     22|        { "reversebits",                      nullptr, nullptr,   "SV",             "UI",            EShLangAll,    false },
  624|     22|        { "round",                            nullptr, nullptr,   "SVM",            "F",             EShLangAll,    false },
  625|     22|        { "rsqrt",                            nullptr, nullptr,   "SVM",            "F",             EShLangAll,    false },
  626|     22|        { "saturate",                         nullptr, nullptr ,  "SVM",            "F",             EShLangAll,    false },
  627|     22|        { "sign",                             nullptr, nullptr,   "SVM",            "FI",            EShLangAll,    false },
  628|     22|        { "sin",                              nullptr, nullptr,   "SVM",            "F",             EShLangAll,    false },
  629|     22|        { "sincos",                           "-",     "-",       "SVM,>,>",        "F,,",           EShLangAll,    false },
  630|     22|        { "sinh",                             nullptr, nullptr,   "SVM",            "F",             EShLangAll,    false },
  631|     22|        { "smoothstep",                       nullptr, nullptr,   "SVM,,",          "F,,",           EShLangAll,    false },
  632|     22|        { "sqrt",                             nullptr, nullptr,   "SVM",            "F",             EShLangAll,    false },
  633|     22|        { "step",                             nullptr, nullptr,   "SVM,",           "F,",            EShLangAll,    false },
  634|     22|        { "tan",                              nullptr, nullptr,   "SVM",            "F",             EShLangAll,    false },
  635|     22|        { "tanh",                             nullptr, nullptr,   "SVM",            "F",             EShLangAll,    false },
  636|     22|        { "tex1D",                            "V4",    "F",       "S,S",            "S,F",           EShLangPS,     false },
  637|     22|        { "tex1D",                            "V4",    "F",       "S,S,V1,",        "S,F,,",         EShLangPS,     false },
  638|     22|        { "tex1Dbias",                        "V4",    "F",       "S,V4",           "S,F",           EShLangPS,     false },
  639|     22|        { "tex1Dgrad",                        "V4",    "F",       "S,,,",           "S,F,,",         EShLangPS,     false },
  640|     22|        { "tex1Dlod",                         "V4",    "F",       "S,V4",           "S,F",           EShLangPS,     false },
  641|     22|        { "tex1Dproj",                        "V4",    "F",       "S,V4",           "S,F",           EShLangPS,     false },
  642|     22|        { "tex2D",                            "V4",    "F",       "V2,",            "S,F",           EShLangPS,     false },
  643|     22|        { "tex2D",                            "V4",    "F",       "V2,,,",          "S,F,,",         EShLangPS,     false },
  644|     22|        { "tex2Dbias",                        "V4",    "F",       "V2,V4",          "S,F",           EShLangPS,     false },
  645|     22|        { "tex2Dgrad",                        "V4",    "F",       "V2,,,",          "S,F,,",         EShLangPS,     false },
  646|     22|        { "tex2Dlod",                         "V4",    "F",       "V2,V4",          "S,F",           EShLangAll,    false },
  647|     22|        { "tex2Dproj",                        "V4",    "F",       "V2,V4",          "S,F",           EShLangPS,     false },
  648|     22|        { "tex3D",                            "V4",    "F",       "V3,",            "S,F",           EShLangPS,     false },
  649|     22|        { "tex3D",                            "V4",    "F",       "V3,,,",          "S,F,,",         EShLangPS,     false },
  650|     22|        { "tex3Dbias",                        "V4",    "F",       "V3,V4",          "S,F",           EShLangPS,     false },
  651|     22|        { "tex3Dgrad",                        "V4",    "F",       "V3,,,",          "S,F,,",         EShLangPS,     false },
  652|     22|        { "tex3Dlod",                         "V4",    "F",       "V3,V4",          "S,F",           EShLangPS,     false },
  653|     22|        { "tex3Dproj",                        "V4",    "F",       "V3,V4",          "S,F",           EShLangPS,     false },
  654|     22|        { "texCUBE",                          "V4",    "F",       "V4,V3",          "S,F",           EShLangPS,     false },
  655|     22|        { "texCUBE",                          "V4",    "F",       "V4,V3,,",        "S,F,,",         EShLangPS,     false },
  656|     22|        { "texCUBEbias",                      "V4",    "F",       "V4,",            "S,F",           EShLangPS,     false },
  657|     22|        { "texCUBEgrad",                      "V4",    "F",       "V4,V3,,",        "S,F,,",         EShLangPS,     false },
  658|     22|        { "texCUBElod",                       "V4",    "F",       "V4,",            "S,F",           EShLangPS,     false },
  659|     22|        { "texCUBEproj",                      "V4",    "F",       "V4,",            "S,F",           EShLangPS,     false },
  660|     22|        { "transpose",                        "^M",    nullptr,   "M",              "FUIB",          EShLangAll,    false },
  661|     22|        { "trunc",                            nullptr, nullptr,   "SVM",            "F",             EShLangAll,    false },
  662|       |
  663|       |        // Texture object methods.  Return type can be overridden by shader declaration.
  664|       |        // !O = no offset, O = offset
  665|     22|        { "Sample",             /*!O*/        "V4",    nullptr,   "%@,S,V",         "FIU,S,F",        EShLangPS,    true },
  666|     22|        { "Sample",             /* O*/        "V4",    nullptr,   "%@,S,V,",        "FIU,S,F,I",      EShLangPS,    true },
  667|       |
  668|     22|        { "SampleBias",         /*!O*/        "V4",    nullptr,   "%@,S,V,S",       "FIU,S,F,F",      EShLangPS,    true },
  669|     22|        { "SampleBias",         /* O*/        "V4",    nullptr,   "%@,S,V,S,V",     "FIU,S,F,F,I",    EShLangPS,    true },
  670|       |
  671|       |        // TODO: FXC accepts int/uint samplers here.  unclear what that means.
  672|     22|        { "SampleCmp",          /*!O*/        "S",     "F",       "%@,S,V,S",       "FIU,s,F,",       EShLangPS,    true },
  673|     22|        { "SampleCmp",          /* O*/        "S",     "F",       "%@,S,V,S,V",     "FIU,s,F,,I",     EShLangPS,    true },
  674|       |
  675|       |        // TODO: FXC accepts int/uint samplers here.  unclear what that means.
  676|     22|        { "SampleCmpLevelZero", /*!O*/        "S",     "F",       "%@,S,V,S",       "FIU,s,F,F",      EShLangPS,    true },
  677|     22|        { "SampleCmpLevelZero", /* O*/        "S",     "F",       "%@,S,V,S,V",     "FIU,s,F,F,I",    EShLangPS,    true },
  678|       |
  679|     22|        { "SampleGrad",         /*!O*/        "V4",    nullptr,   "%@,S,V,,",       "FIU,S,F,,",      EShLangAll,   true },
  680|     22|        { "SampleGrad",         /* O*/        "V4",    nullptr,   "%@,S,V,,,",      "FIU,S,F,,,I",    EShLangAll,   true },
  681|       |
  682|     22|        { "SampleLevel",        /*!O*/        "V4",    nullptr,   "%@,S,V,S",       "FIU,S,F,",       EShLangAll,   true },
  683|     22|        { "SampleLevel",        /* O*/        "V4",    nullptr,   "%@,S,V,S,V",     "FIU,S,F,,I",     EShLangAll,   true },
  684|       |
  685|     22|        { "Load",               /*!O*/        "V4",    nullptr,   "%@,V",           "FIU,I",          EShLangAll,   true },
  686|     22|        { "Load",               /* O*/        "V4",    nullptr,   "%@,V,V",         "FIU,I,I",        EShLangAll,   true },
  687|     22|        { "Load", /* +sampleidex*/            "V4",    nullptr,   "$&,V,S",         "FIU,I,I",        EShLangAll,   true },
  688|     22|        { "Load", /* +samplindex, offset*/    "V4",    nullptr,   "$&,V,S,V",       "FIU,I,I,I",      EShLangAll,   true },
  689|       |
  690|       |        // RWTexture loads
  691|     22|        { "Load",                             "V4",    nullptr,   "!#,V",           "FIU,I",          EShLangAll,   true },
  692|       |        // (RW)Buffer loads
  693|     22|        { "Load",                             "V4",    nullptr,   "~*1,V",          "FIU,I",          EShLangAll,   true },
  694|       |
  695|     22|        { "Gather",             /*!O*/        "V4",    nullptr,   "%@,S,V",         "FIU,S,F",        EShLangAll,   true },
  696|     22|        { "Gather",             /* O*/        "V4",    nullptr,   "%@,S,V,V",       "FIU,S,F,I",      EShLangAll,   true },
  697|       |
  698|     22|        { "CalculateLevelOfDetail",           "S",     "F",       "%@,S,V",         "FUI,S,F",        EShLangPS,    true },
  699|     22|        { "CalculateLevelOfDetailUnclamped",  "S",     "F",       "%@,S,V",         "FUI,S,F",        EShLangPS,    true },
  700|       |
  701|     22|        { "GetSamplePosition",                "V2",    "F",       "$&2,S",          "FUI,I",          EShLangVSPSGS,true },
  702|       |
  703|       |        //
  704|       |        // UINT Width
  705|       |        // UINT MipLevel, UINT Width, UINT NumberOfLevels
  706|     22|        { "GetDimensions",   /* 1D */         "-",     "-",       "%!~1,>S",        "FUI,U",          EShLangAll,   true },
  707|     22|        { "GetDimensions",   /* 1D */         "-",     "-",       "%!~1,>S",        "FUI,F",          EShLangAll,   true },
  708|     22|        { "GetDimensions",   /* 1D */         "-",     "-",       "%1,S,>S,",       "FUI,U,,",        EShLangAll,   true },
  709|     22|        { "GetDimensions",   /* 1D */         "-",     "-",       "%1,S,>S,",       "FUI,U,F,",       EShLangAll,   true },
  710|       |
  711|       |        // UINT Width, UINT Elements
  712|       |        // UINT MipLevel, UINT Width, UINT Elements, UINT NumberOfLevels
  713|     22|        { "GetDimensions",   /* 1DArray */    "-",     "-",       "@#1,>S,",        "FUI,U,",         EShLangAll,   true },
  714|     22|        { "GetDimensions",   /* 1DArray */    "-",     "-",       "@#1,>S,",        "FUI,F,",         EShLangAll,   true },
  715|     22|        { "GetDimensions",   /* 1DArray */    "-",     "-",       "@1,S,>S,,",      "FUI,U,,,",       EShLangAll,   true },
  716|     22|        { "GetDimensions",   /* 1DArray */    "-",     "-",       "@1,S,>S,,",      "FUI,U,F,,",      EShLangAll,   true },
  717|       |
  718|       |        // UINT Width, UINT Height
  719|       |        // UINT MipLevel, UINT Width, UINT Height, UINT NumberOfLevels
  720|     22|        { "GetDimensions",   /* 2D */         "-",     "-",       "%!2,>S,",        "FUI,U,",         EShLangAll,   true },
  721|     22|        { "GetDimensions",   /* 2D */         "-",     "-",       "%!2,>S,",        "FUI,F,",         EShLangAll,   true },
  722|     22|        { "GetDimensions",   /* 2D */         "-",     "-",       "%2,S,>S,,",      "FUI,U,,,",       EShLangAll,   true },
  723|     22|        { "GetDimensions",   /* 2D */         "-",     "-",       "%2,S,>S,,",      "FUI,U,F,,",      EShLangAll,   true },
  724|       |
  725|       |        // UINT Width, UINT Height, UINT Elements
  726|       |        // UINT MipLevel, UINT Width, UINT Height, UINT Elements, UINT NumberOfLevels
  727|     22|        { "GetDimensions",   /* 2DArray */    "-",     "-",       "@#2,>S,,",       "FUI,U,,",        EShLangAll,   true },
  728|     22|        { "GetDimensions",   /* 2DArray */    "-",     "-",       "@#2,>S,,",       "FUI,F,F,F",      EShLangAll,   true },
  729|     22|        { "GetDimensions",   /* 2DArray */    "-",     "-",       "@2,S,>S,,,",     "FUI,U,,,,",      EShLangAll,   true },
  730|     22|        { "GetDimensions",   /* 2DArray */    "-",     "-",       "@2,S,>S,,,",     "FUI,U,F,,,",     EShLangAll,   true },
  731|       |
  732|       |        // UINT Width, UINT Height, UINT Depth
  733|       |        // UINT MipLevel, UINT Width, UINT Height, UINT Depth, UINT NumberOfLevels
  734|     22|        { "GetDimensions",   /* 3D */         "-",     "-",       "%!3,>S,,",       "FUI,U,,",        EShLangAll,   true },
  735|     22|        { "GetDimensions",   /* 3D */         "-",     "-",       "%!3,>S,,",       "FUI,F,,",        EShLangAll,   true },
  736|     22|        { "GetDimensions",   /* 3D */         "-",     "-",       "%3,S,>S,,,",     "FUI,U,,,,",      EShLangAll,   true },
  737|     22|        { "GetDimensions",   /* 3D */         "-",     "-",       "%3,S,>S,,,",     "FUI,U,F,,,",     EShLangAll,   true },
  738|       |
  739|       |        // UINT Width, UINT Height
  740|       |        // UINT MipLevel, UINT Width, UINT Height, UINT NumberOfLevels
  741|     22|        { "GetDimensions",   /* Cube */       "-",     "-",       "%4,>S,",         "FUI,U,",         EShLangAll,   true },
  742|     22|        { "GetDimensions",   /* Cube */       "-",     "-",       "%4,>S,",         "FUI,F,",         EShLangAll,   true },
  743|     22|        { "GetDimensions",   /* Cube */       "-",     "-",       "%4,S,>S,,",      "FUI,U,,,",       EShLangAll,   true },
  744|     22|        { "GetDimensions",   /* Cube */       "-",     "-",       "%4,S,>S,,",      "FUI,U,F,,",      EShLangAll,   true },
  745|       |
  746|       |        // UINT Width, UINT Height, UINT Elements
  747|       |        // UINT MipLevel, UINT Width, UINT Height, UINT Elements, UINT NumberOfLevels
  748|     22|        { "GetDimensions",   /* CubeArray */  "-",     "-",       "@4,>S,,",        "FUI,U,,",        EShLangAll,   true },
  749|     22|        { "GetDimensions",   /* CubeArray */  "-",     "-",       "@4,>S,,",        "FUI,F,,",        EShLangAll,   true },
  750|     22|        { "GetDimensions",   /* CubeArray */  "-",     "-",       "@4,S,>S,,,",     "FUI,U,,,,",      EShLangAll,   true },
  751|     22|        { "GetDimensions",   /* CubeArray */  "-",     "-",       "@4,S,>S,,,",     "FUI,U,F,,,",     EShLangAll,   true },
  752|       |
  753|       |        // UINT Width, UINT Height, UINT Samples
  754|       |        // UINT Width, UINT Height, UINT Elements, UINT Samples
  755|     22|        { "GetDimensions",   /* 2DMS */       "-",     "-",       "$2,>S,,",        "FUI,U,,",        EShLangAll,   true },
  756|     22|        { "GetDimensions",   /* 2DMS */       "-",     "-",       "$2,>S,,",        "FUI,U,,",        EShLangAll,   true },
  757|     22|        { "GetDimensions",   /* 2DMSArray */  "-",     "-",       "&2,>S,,,",       "FUI,U,,,",       EShLangAll,   true },
  758|     22|        { "GetDimensions",   /* 2DMSArray */  "-",     "-",       "&2,>S,,,",       "FUI,U,,,",       EShLangAll,   true },
  759|       |
  760|       |        // SM5 texture methods
  761|     22|        { "GatherRed",       /*!O*/           "V4",    nullptr,   "%@,S,V",         "FIU,S,F",        EShLangAll,   true },
  762|     22|        { "GatherRed",       /* O*/           "V4",    nullptr,   "%@,S,V,",        "FIU,S,F,I",      EShLangAll,   true },
  763|     22|        { "GatherRed",       /* O, status*/   "V4",    nullptr,   "%@,S,V,,>S",     "FIU,S,F,I,U",    EShLangAll,   true },
  764|     22|        { "GatherRed",       /* O-4 */        "V4",    nullptr,   "%@,S,V,,,,",     "FIU,S,F,I,,,",   EShLangAll,   true },
  765|     22|        { "GatherRed",       /* O-4, status */"V4",    nullptr,   "%@,S,V,,,,,S",   "FIU,S,F,I,,,,U", EShLangAll,   true },
  766|       |
  767|     22|        { "GatherGreen",     /*!O*/           "V4",    nullptr,   "%@,S,V",         "FIU,S,F",        EShLangAll,   true },
  768|     22|        { "GatherGreen",     /* O*/           "V4",    nullptr,   "%@,S,V,",        "FIU,S,F,I",      EShLangAll,   true },
  769|     22|        { "GatherGreen",     /* O, status*/   "V4",    nullptr,   "%@,S,V,,>S",     "FIU,S,F,I,U",    EShLangAll,   true },
  770|     22|        { "GatherGreen",     /* O-4 */        "V4",    nullptr,   "%@,S,V,,,,",     "FIU,S,F,I,,,",   EShLangAll,   true },
  771|     22|        { "GatherGreen",     /* O-4, status */"V4",    nullptr,   "%@,S,V,,,,,S",   "FIU,S,F,I,,,,U", EShLangAll,   true },
  772|       |
  773|     22|        { "GatherBlue",      /*!O*/           "V4",    nullptr,   "%@,S,V",         "FIU,S,F",        EShLangAll,   true },
  774|     22|        { "GatherBlue",      /* O*/           "V4",    nullptr,   "%@,S,V,",        "FIU,S,F,I",      EShLangAll,   true },
  775|     22|        { "GatherBlue",      /* O, status*/   "V4",    nullptr,   "%@,S,V,,>S",     "FIU,S,F,I,U",    EShLangAll,   true },
  776|     22|        { "GatherBlue",      /* O-4 */        "V4",    nullptr,   "%@,S,V,,,,",     "FIU,S,F,I,,,",   EShLangAll,   true },
  777|     22|        { "GatherBlue",      /* O-4, status */"V4",    nullptr,   "%@,S,V,,,,,S",   "FIU,S,F,I,,,,U", EShLangAll,   true },
  778|       |
  779|     22|        { "GatherAlpha",     /*!O*/           "V4",    nullptr,   "%@,S,V",         "FIU,S,F",        EShLangAll,   true },
  780|     22|        { "GatherAlpha",     /* O*/           "V4",    nullptr,   "%@,S,V,",        "FIU,S,F,I",      EShLangAll,   true },
  781|     22|        { "GatherAlpha",     /* O, status*/   "V4",    nullptr,   "%@,S,V,,>S",     "FIU,S,F,I,U",    EShLangAll,   true },
  782|     22|        { "GatherAlpha",     /* O-4 */        "V4",    nullptr,   "%@,S,V,,,,",     "FIU,S,F,I,,,",   EShLangAll,   true },
  783|     22|        { "GatherAlpha",     /* O-4, status */"V4",    nullptr,   "%@,S,V,,,,,S",   "FIU,S,F,I,,,,U", EShLangAll,   true },
  784|       |
  785|     22|        { "GatherCmp",       /*!O*/           "V4",    nullptr,   "%@,S,V,S",       "FIU,s,F,",       EShLangAll,   true },
  786|     22|        { "GatherCmp",       /* O*/           "V4",    nullptr,   "%@,S,V,S,V",     "FIU,s,F,,I",     EShLangAll,   true },
  787|     22|        { "GatherCmp",       /* O, status*/   "V4",    nullptr,   "%@,S,V,S,V,>S",  "FIU,s,F,,I,U",   EShLangAll,   true },
  788|     22|        { "GatherCmp",       /* O-4 */        "V4",    nullptr,   "%@,S,V,S,V,,,",  "FIU,s,F,,I,,,",  EShLangAll,   true },
  789|     22|        { "GatherCmp",       /* O-4, status */"V4",    nullptr,   "%@,S,V,S,V,,V,S","FIU,s,F,,I,,,,U",EShLangAll,   true },
  790|       |
  791|     22|        { "GatherCmpRed",    /*!O*/           "V4",    nullptr,   "%@,S,V,S",       "FIU,s,F,",       EShLangAll,   true },
  792|     22|        { "GatherCmpRed",    /* O*/           "V4",    nullptr,   "%@,S,V,S,V",     "FIU,s,F,,I",     EShLangAll,   true },
  793|     22|        { "GatherCmpRed",    /* O, status*/   "V4",    nullptr,   "%@,S,V,S,V,>S",  "FIU,s,F,,I,U",   EShLangAll,   true },
  794|     22|        { "GatherCmpRed",    /* O-4 */        "V4",    nullptr,   "%@,S,V,S,V,,,",  "FIU,s,F,,I,,,",  EShLangAll,   true },
  795|     22|        { "GatherCmpRed",    /* O-4, status */"V4",    nullptr,   "%@,S,V,S,V,,V,S","FIU,s,F,,I,,,,U",EShLangAll,   true },
  796|       |
  797|     22|        { "GatherCmpGreen",  /*!O*/           "V4",    nullptr,   "%@,S,V,S",       "FIU,s,F,",       EShLangAll,   true },
  798|     22|        { "GatherCmpGreen",  /* O*/           "V4",    nullptr,   "%@,S,V,S,V",     "FIU,s,F,,I",     EShLangAll,   true },
  799|     22|        { "GatherCmpGreen",  /* O, status*/   "V4",    nullptr,   "%@,S,V,S,V,>S",  "FIU,s,F,,I,U",   EShLangAll,   true },
  800|     22|        { "GatherCmpGreen",  /* O-4 */        "V4",    nullptr,   "%@,S,V,S,V,,,",  "FIU,s,F,,I,,,",  EShLangAll,   true },
  801|     22|        { "GatherCmpGreen",  /* O-4, status */"V4",    nullptr,   "%@,S,V,S,V,,,,S","FIU,s,F,,I,,,,U",EShLangAll,   true },
  802|       |
  803|     22|        { "GatherCmpBlue",   /*!O*/           "V4",    nullptr,   "%@,S,V,S",       "FIU,s,F,",       EShLangAll,   true },
  804|     22|        { "GatherCmpBlue",   /* O*/           "V4",    nullptr,   "%@,S,V,S,V",     "FIU,s,F,,I",     EShLangAll,   true },
  805|     22|        { "GatherCmpBlue",   /* O, status*/   "V4",    nullptr,   "%@,S,V,S,V,>S",  "FIU,s,F,,I,U",   EShLangAll,   true },
  806|     22|        { "GatherCmpBlue",   /* O-4 */        "V4",    nullptr,   "%@,S,V,S,V,,,",  "FIU,s,F,,I,,,",  EShLangAll,   true },
  807|     22|        { "GatherCmpBlue",   /* O-4, status */"V4",    nullptr,   "%@,S,V,S,V,,,,S","FIU,s,F,,I,,,,U",EShLangAll,   true },
  808|       |
  809|     22|        { "GatherCmpAlpha",  /*!O*/           "V4",    nullptr,   "%@,S,V,S",       "FIU,s,F,",       EShLangAll,   true },
  810|     22|        { "GatherCmpAlpha",  /* O*/           "V4",    nullptr,   "%@,S,V,S,V",     "FIU,s,F,,I",     EShLangAll,   true },
  811|     22|        { "GatherCmpAlpha",  /* O, status*/   "V4",    nullptr,   "%@,S,V,S,V,>S",  "FIU,s,F,,I,U",   EShLangAll,   true },
  812|     22|        { "GatherCmpAlpha",  /* O-4 */        "V4",    nullptr,   "%@,S,V,S,V,,,",  "FIU,s,F,,I,,,",  EShLangAll,   true },
  813|     22|        { "GatherCmpAlpha",  /* O-4, status */"V4",    nullptr,   "%@,S,V,S,V,,,,S","FIU,s,F,,I,,,,U",EShLangAll,   true },
  814|       |
  815|       |        // geometry methods
  816|     22|        { "Append",                           "-",     "-",       "-",              "-",              EShLangGS ,   true },
  817|     22|        { "RestartStrip",                     "-",     "-",       "-",              "-",              EShLangGS ,   true },
  818|       |
  819|       |        // Methods for structurebuffers.  TODO: wildcard type matching.
  820|     22|        { "Load",                             nullptr, nullptr,   "-",              "-",              EShLangAll,   true },
  821|     22|        { "Load2",                            nullptr, nullptr,   "-",              "-",              EShLangAll,   true },
  822|     22|        { "Load3",                            nullptr, nullptr,   "-",              "-",              EShLangAll,   true },
  823|     22|        { "Load4",                            nullptr, nullptr,   "-",              "-",              EShLangAll,   true },
  824|     22|        { "Store",                            nullptr, nullptr,   "-",              "-",              EShLangAll,   true },
  825|     22|        { "Store2",                           nullptr, nullptr,   "-",              "-",              EShLangAll,   true },
  826|     22|        { "Store3",                           nullptr, nullptr,   "-",              "-",              EShLangAll,   true },
  827|     22|        { "Store4",                           nullptr, nullptr,   "-",              "-",              EShLangAll,   true },
  828|     22|        { "GetDimensions",                    nullptr, nullptr,   "-",              "-",              EShLangAll,   true },
  829|     22|        { "InterlockedAdd",                   nullptr, nullptr,   "-",              "-",              EShLangAll,   true },
  830|     22|        { "InterlockedAnd",                   nullptr, nullptr,   "-",              "-",              EShLangAll,   true },
  831|     22|        { "InterlockedCompareExchange",       nullptr, nullptr,   "-",              "-",              EShLangAll,   true },
  832|     22|        { "InterlockedCompareStore",          nullptr, nullptr,   "-",              "-",              EShLangAll,   true },
  833|     22|        { "InterlockedExchange",              nullptr, nullptr,   "-",              "-",              EShLangAll,   true },
  834|     22|        { "InterlockedMax",                   nullptr, nullptr,   "-",              "-",              EShLangAll,   true },
  835|     22|        { "InterlockedMin",                   nullptr, nullptr,   "-",              "-",              EShLangAll,   true },
  836|     22|        { "InterlockedOr",                    nullptr, nullptr,   "-",              "-",              EShLangAll,   true },
  837|     22|        { "InterlockedXor",                   nullptr, nullptr,   "-",              "-",              EShLangAll,   true },
  838|     22|        { "IncrementCounter",                 nullptr, nullptr,   "-",              "-",              EShLangAll,   true },
  839|     22|        { "DecrementCounter",                 nullptr, nullptr,   "-",              "-",              EShLangAll,   true },
  840|     22|        { "Consume",                          nullptr, nullptr,   "-",              "-",              EShLangAll,   true },
  841|       |
  842|       |        // SM 6.0
  843|       |
  844|     22|        { "WaveIsFirstLane",                  "S",     "B",       "-",              "-",              EShLangPSCS,  false},
  845|     22|        { "WaveGetLaneCount",                 "S",     "U",       "-",              "-",              EShLangPSCS,  false},
  846|     22|        { "WaveGetLaneIndex",                 "S",     "U",       "-",              "-",              EShLangPSCS,  false},
  847|     22|        { "WaveActiveAnyTrue",                "S",     "B",       "S",              "B",              EShLangPSCS,  false},
  848|     22|        { "WaveActiveAllTrue",                "S",     "B",       "S",              "B",              EShLangPSCS,  false},
  849|     22|        { "WaveActiveBallot",                 "V4",    "U",       "S",              "B",              EShLangPSCS,  false},
  850|     22|        { "WaveReadLaneAt",                   nullptr, nullptr,   "SV,S",           "DFUI,U",         EShLangPSCS,  false},
  851|     22|        { "WaveReadLaneFirst",                nullptr, nullptr,   "SV",             "DFUI",           EShLangPSCS,  false},
  852|     22|        { "WaveActiveAllEqual",               "S",     "B",       "SV",             "DFUI",           EShLangPSCS,  false},
  853|     22|        { "WaveActiveAllEqualBool",           "S",     "B",       "S",              "B",              EShLangPSCS,  false},
  854|     22|        { "WaveActiveCountBits",              "S",     "U",       "S",              "B",              EShLangPSCS,  false},
  855|       |
  856|     22|        { "WaveActiveSum",                    nullptr, nullptr,   "SV",             "DFUI",           EShLangPSCS,  false},
  857|     22|        { "WaveActiveProduct",                nullptr, nullptr,   "SV",             "DFUI",           EShLangPSCS,  false},
  858|     22|        { "WaveActiveBitAnd",                 nullptr, nullptr,   "SV",             "DFUI",           EShLangPSCS,  false},
  859|     22|        { "WaveActiveBitOr",                  nullptr, nullptr,   "SV",             "DFUI",           EShLangPSCS,  false},
  860|     22|        { "WaveActiveBitXor",                 nullptr, nullptr,   "SV",             "DFUI",           EShLangPSCS,  false},
  861|     22|        { "WaveActiveMin",                    nullptr, nullptr,   "SV",             "DFUI",           EShLangPSCS,  false},
  862|     22|        { "WaveActiveMax",                    nullptr, nullptr,   "SV",             "DFUI",           EShLangPSCS,  false},
  863|     22|        { "WavePrefixSum",                    nullptr, nullptr,   "SV",             "DFUI",           EShLangPSCS,  false},
  864|     22|        { "WavePrefixProduct",                nullptr, nullptr,   "SV",             "DFUI",           EShLangPSCS,  false},
  865|     22|        { "WavePrefixCountBits",              "S",     "U",       "S",              "B",              EShLangPSCS,  false},
  866|     22|        { "QuadReadAcrossX",                  nullptr, nullptr,   "SV",             "DFUI",           EShLangPSCS,  false},
  867|     22|        { "QuadReadAcrossY",                  nullptr, nullptr,   "SV",             "DFUI",           EShLangPSCS,  false},
  868|     22|        { "QuadReadAcrossDiagonal",           nullptr, nullptr,   "SV",             "DFUI",           EShLangPSCS,  false},
  869|     22|        { "QuadReadLaneAt",                   nullptr, nullptr,   "SV,S",           "DFUI,U",         EShLangPSCS,  false},
  870|       |
  871|       |        // Methods for subpass input objects
  872|     22|        { "SubpassLoad",                      "V4",    nullptr,   "[",              "FIU",            EShLangPS,    true },
  873|     22|        { "SubpassLoad",                      "V4",    nullptr,   "],S",            "FIU,I",          EShLangPS,    true },
  874|       |
  875|       |        // Mark end of list, since we want to avoid a range-based for, as some compilers don't handle it yet.
  876|     22|        { nullptr,                            nullptr, nullptr,   nullptr,      nullptr,  0, false },
  877|     22|    };
  878|       |
  879|       |    // Create prototypes for the intrinsics.  TODO: Avoid ranged based for until all compilers can handle it.
  880|  6.64k|    for (int icount = 0; hlslIntrinsics[icount].name; ++icount) {
  ------------------
  |  Branch (880:26): [True: 6.62k, False: 22]
  ------------------
  881|  6.62k|        const auto& intrinsic = hlslIntrinsics[icount];
  882|       |
  883|  6.62k|        for (int stage = 0; stage < EShLangCount; ++stage) {                                // for each stage...
  ------------------
  |  Branch (883:29): [True: 6.62k, False: 0]
  ------------------
  884|  6.62k|            if ((intrinsic.stage & (1<<stage)) == 0) // skip inapplicable stages
  ------------------
  |  Branch (884:17): [True: 0, False: 6.62k]
  ------------------
  885|      0|                continue;
  886|       |
  887|       |            // reference to either the common builtins, or stage specific builtins.
  888|  6.62k|            TString& s = (intrinsic.stage == EShLangAll) ? commonBuiltins : stageBuiltins[stage];
  ------------------
  |  Branch (888:26): [True: 6.62k, False: 0]
  ------------------
  889|       |
  890|  18.9k|            for (const char* argOrder = intrinsic.argOrder; !IsEndOfArg(argOrder); ++argOrder) { // for each order...
  ------------------
  |  Branch (890:61): [True: 12.2k, False: 6.62k]
  ------------------
  891|  12.2k|                const bool isTexture   = IsTextureType(*argOrder);
  892|  12.2k|                const bool isArrayed   = IsArrayed(*argOrder);
  893|  12.2k|                const bool isMS        = IsTextureMS(*argOrder);
  894|  12.2k|                const bool isBuffer    = IsBuffer(*argOrder);
  895|  12.2k|                const bool isImage     = IsImage(*argOrder);
  896|  12.2k|                const bool mipInCoord  = HasMipInCoord(intrinsic.name, isMS, isBuffer, isImage);
  897|  12.2k|                const int fixedVecSize = FixedVecSize(argOrder);
  898|  12.2k|                const int coordArg     = CoordinateArgPos(intrinsic.name, isTexture);
  899|       |
  900|       |                // calculate min and max vector and matrix dimensions
  901|  12.2k|                int dim0Min = 1;
  902|  12.2k|                int dim0Max = 1;
  903|  12.2k|                int dim1Min = 1;
  904|  12.2k|                int dim1Max = 1;
  905|       |
  906|  12.2k|                FindVectorMatrixBounds(argOrder, fixedVecSize, dim0Min, dim0Max, dim1Min, dim1Max);
  907|       |
  908|  38.3k|                for (const char* argType = intrinsic.argType; !IsEndOfArg(argType); ++argType) { // for each type...
  ------------------
  |  Branch (908:63): [True: 26.0k, False: 12.2k]
  ------------------
  909|   101k|                    for (int dim0 = dim0Min; dim0 <= dim0Max; ++dim0) {          // for each dim 0...
  ------------------
  |  Branch (909:46): [True: 75.9k, False: 26.0k]
  ------------------
  910|   187k|                        for (int dim1 = dim1Min; dim1 <= dim1Max; ++dim1) {      // for each dim 1...
  ------------------
  |  Branch (910:50): [True: 111k, False: 75.9k]
  ------------------
  911|   111k|                            const char* retOrder = intrinsic.retOrder ? intrinsic.retOrder : argOrder;
  ------------------
  |  Branch (911:52): [True: 65.1k, False: 46.2k]
  ------------------
  912|   111k|                            const char* retType  = intrinsic.retType  ? intrinsic.retType  : argType;
  ------------------
  |  Branch (912:52): [True: 35.3k, False: 75.9k]
  ------------------
  913|       |
  914|   111k|                            if (!IsValid(intrinsic.name, *retOrder, *retType, *argOrder, *argType, dim0, dim1))
  ------------------
  |  Branch (914:33): [True: 4.68k, False: 106k]
  ------------------
  915|  4.68k|                                continue;
  916|       |
  917|       |                            // Reject some forms of sample methods that don't exist.
  918|   106k|                            if (isTexture && IsIllegalSample(intrinsic.name, argOrder, dim0))
  ------------------
  |  Branch (918:33): [True: 38.0k, False: 68.6k]
  |  Branch (918:33): [True: 20.6k, False: 85.9k]
  |  Branch (918:46): [True: 20.6k, False: 17.3k]
  ------------------
  919|  20.6k|                                continue;
  920|       |
  921|  85.9k|                            AppendTypeName(s, retOrder, retType, dim0, dim1);  // add return type
  922|  85.9k|                            s.append(" ");                                     // space between type and name
  923|       |
  924|       |                            // methods have a prefix.  TODO: it would be better as an invalid identifier character,
  925|       |                            // but that requires a scanner change.
  926|  85.9k|                            if (intrinsic.method)
  ------------------
  |  Branch (926:33): [True: 18.3k, False: 67.5k]
  ------------------
  927|  18.3k|                                s.append(BUILTIN_PREFIX);
  ------------------
  |  |  513|  18.3k|#define BUILTIN_PREFIX "__BI_"
  ------------------
  928|       |
  929|  85.9k|                            s.append(intrinsic.name);                          // intrinsic name
  930|  85.9k|                            s.append("(");                                     // open paren
  931|       |
  932|  85.9k|                            const char* prevArgOrder = nullptr;
  933|  85.9k|                            const char* prevArgType = nullptr;
  934|       |
  935|       |                            // Append argument types, if any.
  936|   280k|                            for (int arg = 0; ; ++arg) {
  937|   280k|                                const char* nthArgOrder(NthArg(argOrder, arg));
  938|   280k|                                const char* nthArgType(NthArg(argType, arg));
  939|       |
  940|   280k|                                if (nthArgOrder == nullptr || nthArgType == nullptr)
  ------------------
  |  Branch (940:37): [True: 85.9k, False: 194k]
  |  Branch (940:63): [True: 0, False: 194k]
  ------------------
  941|  85.9k|                                    break;
  942|       |
  943|       |                                // cube textures use vec3 coordinates
  944|   194k|                                int argDim0 = isTexture && arg > 0 ? std::min(dim0, 3) : dim0;
  ------------------
  |  Branch (944:47): [True: 78.4k, False: 115k]
  |  Branch (944:60): [True: 61.1k, False: 17.3k]
  ------------------
  945|       |
  946|   194k|                                s.append(arg > 0 ? ", ": "");  // comma separator if needed
  ------------------
  |  Branch (946:42): [True: 108k, False: 85.9k]
  ------------------
  947|       |
  948|   194k|                                const char* orderBegin = nthArgOrder;
  949|   194k|                                nthArgOrder = IoParam(s, nthArgOrder);
  950|       |
  951|       |                                // Comma means use the previous argument order and type.
  952|   194k|                                HandleRepeatArg(nthArgOrder, prevArgOrder, orderBegin);
  953|   194k|                                HandleRepeatArg(nthArgType,  prevArgType, nthArgType);
  954|       |
  955|       |                                // In case the repeated arg has its own I/O marker
  956|   194k|                                nthArgOrder = IoParam(s, nthArgOrder);
  957|       |
  958|       |                                // arrayed textures have one extra coordinate dimension, except for
  959|       |                                // the CalculateLevelOfDetail family.
  960|   194k|                                if (isArrayed && arg == coordArg && !NoArrayCoord(intrinsic.name))
  ------------------
  |  Branch (960:37): [True: 37.0k, False: 157k]
  |  Branch (960:37): [True: 6.27k, False: 188k]
  |  Branch (960:50): [True: 6.66k, False: 30.3k]
  |  Branch (960:69): [True: 6.27k, False: 396]
  ------------------
  961|  6.27k|                                    argDim0++;
  962|       |
  963|       |                                // Some texture methods use an addition arg dimension to hold mip
  964|   194k|                                if (arg == coordArg && mipInCoord)
  ------------------
  |  Branch (964:37): [True: 14.3k, False: 180k]
  |  Branch (964:56): [True: 660, False: 13.6k]
  ------------------
  965|    660|                                    argDim0++;
  966|       |
  967|       |                                // For textures, the 1D case isn't a 1-vector, but a scalar.
  968|   194k|                                if (isTexture && argDim0 == 1 && arg > 0 && *nthArgOrder == 'V')
  ------------------
  |  Branch (968:37): [True: 78.4k, False: 115k]
  |  Branch (968:50): [True: 10.7k, False: 67.7k]
  |  Branch (968:66): [True: 7.45k, False: 3.30k]
  |  Branch (968:77): [True: 2.70k, False: 4.75k]
  ------------------
  969|  2.70k|                                    nthArgOrder = "S";
  970|       |
  971|   194k|                                AppendTypeName(s, nthArgOrder, nthArgType, argDim0, dim1); // Add arguments
  972|   194k|                            }
  973|       |
  974|  85.9k|                            s.append(");\n");            // close paren and trailing semicolon
  975|  85.9k|                        } // dim 1 loop
  976|  75.9k|                    } // dim 0 loop
  977|  26.0k|                } // arg type loop
  978|       |
  979|       |                // skip over special characters
  980|  12.2k|                if (isTexture && isalpha(argOrder[1]))
  ------------------
  |  Branch (980:21): [True: 3.96k, False: 8.33k]
  |  Branch (980:34): [True: 0, False: 3.96k]
  ------------------
  981|      0|                    ++argOrder;
  982|  12.2k|                if (isdigit(argOrder[1]))
  ------------------
  |  Branch (982:21): [True: 1.45k, False: 10.8k]
  ------------------
  983|  1.45k|                    ++argOrder;
  984|  12.2k|            } // arg order loop
  985|       |
  986|  6.62k|            if (intrinsic.stage == EShLangAll) // common builtins are only added once.
  ------------------
  |  Branch (986:17): [True: 6.62k, False: 0]
  ------------------
  987|  6.62k|                break;
  988|  6.62k|        }
  989|  6.62k|    }
  990|       |
  991|     22|    createMatTimesMat(); // handle this case separately, for convenience
  992|       |
  993|       |    // printf("Common:\n%s\n",   getCommonString().c_str());
  994|       |    // printf("Frag:\n%s\n",     getStageString(EShLangFragment).c_str());
  995|       |    // printf("Vertex:\n%s\n",   getStageString(EShLangVertex).c_str());
  996|       |    // printf("Geo:\n%s\n",      getStageString(EShLangGeometry).c_str());
  997|       |    // printf("TessCtrl:\n%s\n", getStageString(EShLangTessControl).c_str());
  998|       |    // printf("TessEval:\n%s\n", getStageString(EShLangTessEvaluation).c_str());
  999|       |    // printf("Compute:\n%s\n",  getStageString(EShLangCompute).c_str());
 1000|     22|}
_ZN7glslang22TBuiltInParseablesHlsl10initializeERK16TBuiltInResourcei8EProfileRKNS_10SpvVersionE11EShLanguage:
 1011|     22|{
 1012|     22|}
_ZN7glslang22TBuiltInParseablesHlsl16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableE:
 1024|    308|{
 1025|       |    // symbolTable.relateToOperator("abort",                       EOpAbort);
 1026|    308|    symbolTable.relateToOperator("abs",                         EOpAbs);
 1027|    308|    symbolTable.relateToOperator("acos",                        EOpAcos);
 1028|    308|    symbolTable.relateToOperator("all",                         EOpAll);
 1029|    308|    symbolTable.relateToOperator("AllMemoryBarrier",            EOpMemoryBarrier);
 1030|    308|    symbolTable.relateToOperator("AllMemoryBarrierWithGroupSync", EOpAllMemoryBarrierWithGroupSync);
 1031|    308|    symbolTable.relateToOperator("any",                         EOpAny);
 1032|    308|    symbolTable.relateToOperator("asdouble",                    EOpAsDouble);
 1033|    308|    symbolTable.relateToOperator("asfloat",                     EOpIntBitsToFloat);
 1034|    308|    symbolTable.relateToOperator("asin",                        EOpAsin);
 1035|    308|    symbolTable.relateToOperator("asint",                       EOpFloatBitsToInt);
 1036|    308|    symbolTable.relateToOperator("asuint",                      EOpFloatBitsToUint);
 1037|    308|    symbolTable.relateToOperator("atan",                        EOpAtan);
 1038|    308|    symbolTable.relateToOperator("atan2",                       EOpAtan);
 1039|    308|    symbolTable.relateToOperator("ceil",                        EOpCeil);
 1040|       |    // symbolTable.relateToOperator("CheckAccessFullyMapped");
 1041|    308|    symbolTable.relateToOperator("clamp",                       EOpClamp);
 1042|    308|    symbolTable.relateToOperator("clip",                        EOpClip);
 1043|    308|    symbolTable.relateToOperator("cos",                         EOpCos);
 1044|    308|    symbolTable.relateToOperator("cosh",                        EOpCosh);
 1045|    308|    symbolTable.relateToOperator("countbits",                   EOpBitCount);
 1046|    308|    symbolTable.relateToOperator("cross",                       EOpCross);
 1047|    308|    symbolTable.relateToOperator("D3DCOLORtoUBYTE4",            EOpD3DCOLORtoUBYTE4);
 1048|    308|    symbolTable.relateToOperator("ddx",                         EOpDPdx);
 1049|    308|    symbolTable.relateToOperator("ddx_coarse",                  EOpDPdxCoarse);
 1050|    308|    symbolTable.relateToOperator("ddx_fine",                    EOpDPdxFine);
 1051|    308|    symbolTable.relateToOperator("ddy",                         EOpDPdy);
 1052|    308|    symbolTable.relateToOperator("ddy_coarse",                  EOpDPdyCoarse);
 1053|    308|    symbolTable.relateToOperator("ddy_fine",                    EOpDPdyFine);
 1054|    308|    symbolTable.relateToOperator("degrees",                     EOpDegrees);
 1055|    308|    symbolTable.relateToOperator("determinant",                 EOpDeterminant);
 1056|    308|    symbolTable.relateToOperator("DeviceMemoryBarrier",         EOpDeviceMemoryBarrier);
 1057|    308|    symbolTable.relateToOperator("DeviceMemoryBarrierWithGroupSync", EOpDeviceMemoryBarrierWithGroupSync);
 1058|    308|    symbolTable.relateToOperator("distance",                    EOpDistance);
 1059|    308|    symbolTable.relateToOperator("dot",                         EOpDot);
 1060|    308|    symbolTable.relateToOperator("dst",                         EOpDst);
 1061|       |    // symbolTable.relateToOperator("errorf",                      EOpErrorf);
 1062|    308|    symbolTable.relateToOperator("EvaluateAttributeAtCentroid", EOpInterpolateAtCentroid);
 1063|    308|    symbolTable.relateToOperator("EvaluateAttributeAtSample",   EOpInterpolateAtSample);
 1064|    308|    symbolTable.relateToOperator("EvaluateAttributeSnapped",    EOpEvaluateAttributeSnapped);
 1065|    308|    symbolTable.relateToOperator("exp",                         EOpExp);
 1066|    308|    symbolTable.relateToOperator("exp2",                        EOpExp2);
 1067|    308|    symbolTable.relateToOperator("f16tof32",                    EOpF16tof32);
 1068|    308|    symbolTable.relateToOperator("f32tof16",                    EOpF32tof16);
 1069|    308|    symbolTable.relateToOperator("faceforward",                 EOpFaceForward);
 1070|    308|    symbolTable.relateToOperator("firstbithigh",                EOpFindMSB);
 1071|    308|    symbolTable.relateToOperator("firstbitlow",                 EOpFindLSB);
 1072|    308|    symbolTable.relateToOperator("floor",                       EOpFloor);
 1073|    308|    symbolTable.relateToOperator("fma",                         EOpFma);
 1074|    308|    symbolTable.relateToOperator("fmod",                        EOpMod);
 1075|    308|    symbolTable.relateToOperator("frac",                        EOpFract);
 1076|    308|    symbolTable.relateToOperator("frexp",                       EOpFrexp);
 1077|    308|    symbolTable.relateToOperator("fwidth",                      EOpFwidth);
 1078|       |    // symbolTable.relateToOperator("GetRenderTargetSampleCount");
 1079|       |    // symbolTable.relateToOperator("GetRenderTargetSamplePosition");
 1080|    308|    symbolTable.relateToOperator("GroupMemoryBarrier",          EOpWorkgroupMemoryBarrier);
 1081|    308|    symbolTable.relateToOperator("GroupMemoryBarrierWithGroupSync", EOpWorkgroupMemoryBarrierWithGroupSync);
 1082|    308|    symbolTable.relateToOperator("InterlockedAdd",              EOpInterlockedAdd);
 1083|    308|    symbolTable.relateToOperator("InterlockedAnd",              EOpInterlockedAnd);
 1084|    308|    symbolTable.relateToOperator("InterlockedCompareExchange",  EOpInterlockedCompareExchange);
 1085|    308|    symbolTable.relateToOperator("InterlockedCompareStore",     EOpInterlockedCompareStore);
 1086|    308|    symbolTable.relateToOperator("InterlockedExchange",         EOpInterlockedExchange);
 1087|    308|    symbolTable.relateToOperator("InterlockedMax",              EOpInterlockedMax);
 1088|    308|    symbolTable.relateToOperator("InterlockedMin",              EOpInterlockedMin);
 1089|    308|    symbolTable.relateToOperator("InterlockedOr",               EOpInterlockedOr);
 1090|    308|    symbolTable.relateToOperator("InterlockedXor",              EOpInterlockedXor);
 1091|    308|    symbolTable.relateToOperator("isfinite",                    EOpIsFinite);
 1092|    308|    symbolTable.relateToOperator("isinf",                       EOpIsInf);
 1093|    308|    symbolTable.relateToOperator("isnan",                       EOpIsNan);
 1094|    308|    symbolTable.relateToOperator("ldexp",                       EOpLdexp);
 1095|    308|    symbolTable.relateToOperator("length",                      EOpLength);
 1096|    308|    symbolTable.relateToOperator("lerp",                        EOpMix);
 1097|    308|    symbolTable.relateToOperator("lit",                         EOpLit);
 1098|    308|    symbolTable.relateToOperator("log",                         EOpLog);
 1099|    308|    symbolTable.relateToOperator("log10",                       EOpLog10);
 1100|    308|    symbolTable.relateToOperator("log2",                        EOpLog2);
 1101|    308|    symbolTable.relateToOperator("mad",                         EOpFma);
 1102|    308|    symbolTable.relateToOperator("max",                         EOpMax);
 1103|    308|    symbolTable.relateToOperator("min",                         EOpMin);
 1104|    308|    symbolTable.relateToOperator("modf",                        EOpModf);
 1105|       |    // symbolTable.relateToOperator("msad4",                       EOpMsad4);
 1106|    308|    symbolTable.relateToOperator("mul",                         EOpGenMul);
 1107|       |    // symbolTable.relateToOperator("noise",                    EOpNoise); // TODO: check return type
 1108|    308|    symbolTable.relateToOperator("normalize",                   EOpNormalize);
 1109|    308|    symbolTable.relateToOperator("pow",                         EOpPow);
 1110|    308|    symbolTable.relateToOperator("printf",                      EOpDebugPrintf);
 1111|       |    // symbolTable.relateToOperator("Process2DQuadTessFactorsAvg");
 1112|       |    // symbolTable.relateToOperator("Process2DQuadTessFactorsMax");
 1113|       |    // symbolTable.relateToOperator("Process2DQuadTessFactorsMin");
 1114|       |    // symbolTable.relateToOperator("ProcessIsolineTessFactors");
 1115|       |    // symbolTable.relateToOperator("ProcessQuadTessFactorsAvg");
 1116|       |    // symbolTable.relateToOperator("ProcessQuadTessFactorsMax");
 1117|       |    // symbolTable.relateToOperator("ProcessQuadTessFactorsMin");
 1118|       |    // symbolTable.relateToOperator("ProcessTriTessFactorsAvg");
 1119|       |    // symbolTable.relateToOperator("ProcessTriTessFactorsMax");
 1120|       |    // symbolTable.relateToOperator("ProcessTriTessFactorsMin");
 1121|    308|    symbolTable.relateToOperator("radians",                     EOpRadians);
 1122|    308|    symbolTable.relateToOperator("rcp",                         EOpRcp);
 1123|    308|    symbolTable.relateToOperator("reflect",                     EOpReflect);
 1124|    308|    symbolTable.relateToOperator("refract",                     EOpRefract);
 1125|    308|    symbolTable.relateToOperator("reversebits",                 EOpBitFieldReverse);
 1126|    308|    symbolTable.relateToOperator("round",                       EOpRound);
 1127|    308|    symbolTable.relateToOperator("rsqrt",                       EOpInverseSqrt);
 1128|    308|    symbolTable.relateToOperator("saturate",                    EOpSaturate);
 1129|    308|    symbolTable.relateToOperator("sign",                        EOpSign);
 1130|    308|    symbolTable.relateToOperator("sin",                         EOpSin);
 1131|    308|    symbolTable.relateToOperator("sincos",                      EOpSinCos);
 1132|    308|    symbolTable.relateToOperator("sinh",                        EOpSinh);
 1133|    308|    symbolTable.relateToOperator("smoothstep",                  EOpSmoothStep);
 1134|    308|    symbolTable.relateToOperator("sqrt",                        EOpSqrt);
 1135|    308|    symbolTable.relateToOperator("step",                        EOpStep);
 1136|    308|    symbolTable.relateToOperator("tan",                         EOpTan);
 1137|    308|    symbolTable.relateToOperator("tanh",                        EOpTanh);
 1138|    308|    symbolTable.relateToOperator("tex1D",                       EOpTexture);
 1139|    308|    symbolTable.relateToOperator("tex1Dbias",                   EOpTextureBias);
 1140|    308|    symbolTable.relateToOperator("tex1Dgrad",                   EOpTextureGrad);
 1141|    308|    symbolTable.relateToOperator("tex1Dlod",                    EOpTextureLod);
 1142|    308|    symbolTable.relateToOperator("tex1Dproj",                   EOpTextureProj);
 1143|    308|    symbolTable.relateToOperator("tex2D",                       EOpTexture);
 1144|    308|    symbolTable.relateToOperator("tex2Dbias",                   EOpTextureBias);
 1145|    308|    symbolTable.relateToOperator("tex2Dgrad",                   EOpTextureGrad);
 1146|    308|    symbolTable.relateToOperator("tex2Dlod",                    EOpTextureLod);
 1147|    308|    symbolTable.relateToOperator("tex2Dproj",                   EOpTextureProj);
 1148|    308|    symbolTable.relateToOperator("tex3D",                       EOpTexture);
 1149|    308|    symbolTable.relateToOperator("tex3Dbias",                   EOpTextureBias);
 1150|    308|    symbolTable.relateToOperator("tex3Dgrad",                   EOpTextureGrad);
 1151|    308|    symbolTable.relateToOperator("tex3Dlod",                    EOpTextureLod);
 1152|    308|    symbolTable.relateToOperator("tex3Dproj",                   EOpTextureProj);
 1153|    308|    symbolTable.relateToOperator("texCUBE",                     EOpTexture);
 1154|    308|    symbolTable.relateToOperator("texCUBEbias",                 EOpTextureBias);
 1155|    308|    symbolTable.relateToOperator("texCUBEgrad",                 EOpTextureGrad);
 1156|    308|    symbolTable.relateToOperator("texCUBElod",                  EOpTextureLod);
 1157|    308|    symbolTable.relateToOperator("texCUBEproj",                 EOpTextureProj);
 1158|    308|    symbolTable.relateToOperator("transpose",                   EOpTranspose);
 1159|    308|    symbolTable.relateToOperator("trunc",                       EOpTrunc);
 1160|       |
 1161|       |    // Texture methods
 1162|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "Sample",                      EOpMethodSample);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1163|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "SampleBias",                  EOpMethodSampleBias);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1164|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "SampleCmp",                   EOpMethodSampleCmp);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1165|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "SampleCmpLevelZero",          EOpMethodSampleCmpLevelZero);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1166|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "SampleGrad",                  EOpMethodSampleGrad);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1167|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "SampleLevel",                 EOpMethodSampleLevel);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1168|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "Load",                        EOpMethodLoad);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1169|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "GetDimensions",               EOpMethodGetDimensions);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1170|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "GetSamplePosition",           EOpMethodGetSamplePosition);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1171|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "Gather",                      EOpMethodGather);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1172|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "CalculateLevelOfDetail",      EOpMethodCalculateLevelOfDetail);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1173|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "CalculateLevelOfDetailUnclamped", EOpMethodCalculateLevelOfDetailUnclamped);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1174|       |
 1175|       |    // Structure buffer methods (excluding associations already made above for texture methods w/ same name)
 1176|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "Load2",                       EOpMethodLoad2);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1177|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "Load3",                       EOpMethodLoad3);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1178|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "Load4",                       EOpMethodLoad4);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1179|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "Store",                       EOpMethodStore);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1180|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "Store2",                      EOpMethodStore2);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1181|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "Store3",                      EOpMethodStore3);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1182|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "Store4",                      EOpMethodStore4);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1183|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "IncrementCounter",            EOpMethodIncrementCounter);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1184|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "DecrementCounter",            EOpMethodDecrementCounter);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1185|       |    // Append is also a GS method: we don't add it twice
 1186|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "Consume",                     EOpMethodConsume);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1187|       |
 1188|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "InterlockedAdd",              EOpInterlockedAdd);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1189|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "InterlockedAnd",              EOpInterlockedAnd);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1190|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "InterlockedCompareExchange",  EOpInterlockedCompareExchange);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1191|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "InterlockedCompareStore",     EOpInterlockedCompareStore);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1192|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "InterlockedExchange",         EOpInterlockedExchange);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1193|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "InterlockedMax",              EOpInterlockedMax);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1194|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "InterlockedMin",              EOpInterlockedMin);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1195|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "InterlockedOr",               EOpInterlockedOr);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1196|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "InterlockedXor",              EOpInterlockedXor);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1197|       |
 1198|       |    // SM5 Texture methods
 1199|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "GatherRed",                   EOpMethodGatherRed);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1200|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "GatherGreen",                 EOpMethodGatherGreen);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1201|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "GatherBlue",                  EOpMethodGatherBlue);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1202|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "GatherAlpha",                 EOpMethodGatherAlpha);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1203|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "GatherCmp",                   EOpMethodGatherCmpRed); // alias
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1204|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "GatherCmpRed",                EOpMethodGatherCmpRed);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1205|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "GatherCmpGreen",              EOpMethodGatherCmpGreen);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1206|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "GatherCmpBlue",               EOpMethodGatherCmpBlue);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1207|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "GatherCmpAlpha",              EOpMethodGatherCmpAlpha);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1208|       |
 1209|       |    // GS methods
 1210|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "Append",                      EOpMethodAppend);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1211|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "RestartStrip",                EOpMethodRestartStrip);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1212|       |
 1213|       |    // Wave ops
 1214|    308|    symbolTable.relateToOperator("WaveIsFirstLane",                            EOpSubgroupElect);
 1215|    308|    symbolTable.relateToOperator("WaveGetLaneCount",                           EOpWaveGetLaneCount);
 1216|    308|    symbolTable.relateToOperator("WaveGetLaneIndex",                           EOpWaveGetLaneIndex);
 1217|    308|    symbolTable.relateToOperator("WaveActiveAnyTrue",                          EOpSubgroupAny);
 1218|    308|    symbolTable.relateToOperator("WaveActiveAllTrue",                          EOpSubgroupAll);
 1219|    308|    symbolTable.relateToOperator("WaveActiveBallot",                           EOpSubgroupBallot);
 1220|    308|    symbolTable.relateToOperator("WaveReadLaneFirst",                          EOpSubgroupBroadcastFirst);
 1221|    308|    symbolTable.relateToOperator("WaveReadLaneAt",                             EOpSubgroupShuffle);
 1222|    308|    symbolTable.relateToOperator("WaveActiveAllEqual",                         EOpSubgroupAllEqual);
 1223|    308|    symbolTable.relateToOperator("WaveActiveAllEqualBool",                     EOpSubgroupAllEqual);
 1224|    308|    symbolTable.relateToOperator("WaveActiveCountBits",                        EOpWaveActiveCountBits);
 1225|    308|    symbolTable.relateToOperator("WaveActiveSum",                              EOpSubgroupAdd);
 1226|    308|    symbolTable.relateToOperator("WaveActiveProduct",                          EOpSubgroupMul);
 1227|    308|    symbolTable.relateToOperator("WaveActiveBitAnd",                           EOpSubgroupAnd);
 1228|    308|    symbolTable.relateToOperator("WaveActiveBitOr",                            EOpSubgroupOr);
 1229|    308|    symbolTable.relateToOperator("WaveActiveBitXor",                           EOpSubgroupXor);
 1230|    308|    symbolTable.relateToOperator("WaveActiveMin",                              EOpSubgroupMin);
 1231|    308|    symbolTable.relateToOperator("WaveActiveMax",                              EOpSubgroupMax);
 1232|    308|    symbolTable.relateToOperator("WavePrefixSum",                              EOpSubgroupInclusiveAdd);
 1233|    308|    symbolTable.relateToOperator("WavePrefixProduct",                          EOpSubgroupInclusiveMul);
 1234|    308|    symbolTable.relateToOperator("WavePrefixCountBits",                        EOpWavePrefixCountBits);
 1235|    308|    symbolTable.relateToOperator("QuadReadAcrossX",                            EOpSubgroupQuadSwapHorizontal);
 1236|    308|    symbolTable.relateToOperator("QuadReadAcrossY",                            EOpSubgroupQuadSwapVertical);
 1237|    308|    symbolTable.relateToOperator("QuadReadAcrossDiagonal",                     EOpSubgroupQuadSwapDiagonal);
 1238|    308|    symbolTable.relateToOperator("QuadReadLaneAt",                             EOpSubgroupQuadBroadcast);
 1239|       |
 1240|       |    // Subpass input methods
 1241|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "SubpassLoad",                 EOpSubpassLoad);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1242|    308|    symbolTable.relateToOperator(BUILTIN_PREFIX "SubpassLoadMS",               EOpSubpassLoadMS);
  ------------------
  |  |  513|    308|#define BUILTIN_PREFIX "__BI_"
  ------------------
 1243|    308|}
_ZN7glslang22TBuiltInParseablesHlsl16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableERK16TBuiltInResource:
 1256|     22|{
 1257|     22|}
hlslParseables.cpp:_ZN12_GLOBAL__N_114AppendTypeNameERNSt3__112basic_stringIcNS0_11char_traitsIcEEN7glslang14pool_allocatorIcEEEEPKcSA_ii:
  214|   286k|{
  215|   286k|    const bool isTranspose = (argOrder[0] == '^');
  216|   286k|    const bool isTexture   = IsTextureType(argOrder[0]);
  217|   286k|    const bool isArrayed   = IsArrayed(argOrder[0]);
  218|   286k|    const bool isSampler   = IsSamplerType(argType[0]);
  219|   286k|    const bool isMS        = IsMS(argOrder[0]);
  220|   286k|    const bool isBuffer    = IsBuffer(argOrder[0]);
  221|   286k|    const bool isImage     = IsImage(argOrder[0]);
  222|   286k|    const bool isSubpass   = IsSubpassInput(argOrder[0]);
  223|       |
  224|   286k|    char type  = *argType;
  225|       |
  226|   286k|    if (isTranspose) {  // Take transpose of matrix dimensions
  ------------------
  |  Branch (226:9): [True: 1.40k, False: 285k]
  ------------------
  227|  1.40k|        std::swap(dim0, dim1);
  228|   285k|    } else if (isTexture || isSubpass) {
  ------------------
  |  Branch (228:16): [True: 17.3k, False: 267k]
  |  Branch (228:29): [True: 528, False: 267k]
  ------------------
  229|  17.8k|        if (type == 'F')       // map base type to texture of that type.
  ------------------
  |  Branch (229:13): [True: 5.96k, False: 11.9k]
  ------------------
  230|  5.96k|            type = 'T';        // e.g, int -> itexture, uint -> utexture, etc.
  231|  11.9k|        else if (type == 'I')
  ------------------
  |  Branch (231:18): [True: 5.96k, False: 5.96k]
  ------------------
  232|  5.96k|            type = 'i';
  233|  5.96k|        else if (type == 'U')
  ------------------
  |  Branch (233:18): [True: 5.96k, False: 0]
  ------------------
  234|  5.96k|            type = 'u';
  235|  17.8k|    }
  236|       |
  237|   286k|    if (isTranspose)
  ------------------
  |  Branch (237:9): [True: 1.40k, False: 285k]
  ------------------
  238|  1.40k|        ++argOrder;
  239|       |
  240|   286k|    char order = *argOrder;
  241|       |
  242|   286k|    switch (type) {
  243|  20.4k|    case '-': s += "void";                                break;
  ------------------
  |  Branch (243:5): [True: 20.4k, False: 266k]
  ------------------
  244|   112k|    case 'F': s += "float";                               break;
  ------------------
  |  Branch (244:5): [True: 112k, False: 174k]
  ------------------
  245|  8.09k|    case 'D': s += "double";                              break;
  ------------------
  |  Branch (245:5): [True: 8.09k, False: 278k]
  ------------------
  246|  59.2k|    case 'I': s += "int";                                 break;
  ------------------
  |  Branch (246:5): [True: 59.2k, False: 227k]
  ------------------
  247|  47.4k|    case 'U': s += "uint";                                break;
  ------------------
  |  Branch (247:5): [True: 47.4k, False: 239k]
  ------------------
  248|      0|    case 'L': s += "int64_t";                             break;
  ------------------
  |  Branch (248:5): [True: 0, False: 286k]
  ------------------
  249|      0|    case 'M': s += "uint64_t";                            break;
  ------------------
  |  Branch (249:5): [True: 0, False: 286k]
  ------------------
  250|  7.45k|    case 'B': s += "bool";                                break;
  ------------------
  |  Branch (250:5): [True: 7.45k, False: 279k]
  ------------------
  251|  8.44k|    case 'S': s += "sampler";                             break;
  ------------------
  |  Branch (251:5): [True: 8.44k, False: 278k]
  ------------------
  252|  5.28k|    case 's': s += "SamplerComparisonState";              break;
  ------------------
  |  Branch (252:5): [True: 5.28k, False: 281k]
  ------------------
  253|  5.96k|    case 'T': s += ((isBuffer && isImage) ? "RWBuffer" :
  ------------------
  |  Branch (253:5): [True: 5.96k, False: 280k]
  |  Branch (253:22): [True: 88, False: 5.87k]
  |  Branch (253:34): [True: 66, False: 22]
  ------------------
  254|  5.96k|                    isSubpass ? "SubpassInput" :
  ------------------
  |  Branch (254:21): [True: 176, False: 5.72k]
  ------------------
  255|  5.89k|                    isBuffer ? "Buffer" :
  ------------------
  |  Branch (255:21): [True: 22, False: 5.69k]
  ------------------
  256|  5.72k|                    isImage  ? "RWTexture" : "Texture");  break;
  ------------------
  |  Branch (256:21): [True: 330, False: 5.36k]
  ------------------
  257|  5.96k|    case 'i': s += ((isBuffer && isImage) ? "RWBuffer" :
  ------------------
  |  Branch (257:5): [True: 5.96k, False: 280k]
  |  Branch (257:22): [True: 88, False: 5.87k]
  |  Branch (257:34): [True: 66, False: 22]
  ------------------
  258|  5.96k|                    isSubpass ? "SubpassInput" :
  ------------------
  |  Branch (258:21): [True: 176, False: 5.72k]
  ------------------
  259|  5.89k|                    isBuffer ? "Buffer" :
  ------------------
  |  Branch (259:21): [True: 22, False: 5.69k]
  ------------------
  260|  5.72k|                    isImage ? "RWTexture" : "Texture");   break;
  ------------------
  |  Branch (260:21): [True: 330, False: 5.36k]
  ------------------
  261|  5.96k|    case 'u': s += ((isBuffer && isImage) ? "RWBuffer" :
  ------------------
  |  Branch (261:5): [True: 5.96k, False: 280k]
  |  Branch (261:22): [True: 88, False: 5.87k]
  |  Branch (261:34): [True: 66, False: 22]
  ------------------
  262|  5.96k|                    isSubpass ? "SubpassInput" :
  ------------------
  |  Branch (262:21): [True: 176, False: 5.72k]
  ------------------
  263|  5.89k|                    isBuffer ? "Buffer" :
  ------------------
  |  Branch (263:21): [True: 22, False: 5.69k]
  ------------------
  264|  5.72k|                    isImage ? "RWTexture" : "Texture");   break;
  ------------------
  |  Branch (264:21): [True: 330, False: 5.36k]
  ------------------
  265|      0|    default:  s += "UNKNOWN_TYPE";                        break;
  ------------------
  |  Branch (265:5): [True: 0, False: 286k]
  ------------------
  266|   286k|    }
  267|       |
  268|   286k|    if (isSubpass && isMS)
  ------------------
  |  Branch (268:9): [True: 528, False: 286k]
  |  Branch (268:22): [True: 264, False: 264]
  ------------------
  269|    264|        s += "MS";
  270|       |
  271|       |    // handle fixed vector sizes, such as float3, and only ever 3.
  272|   286k|    const int fixedVecSize = FixedVecSize(argOrder);
  273|   286k|    if (fixedVecSize != 0)
  ------------------
  |  Branch (273:9): [True: 20.0k, False: 266k]
  ------------------
  274|  20.0k|        dim0 = dim1 = fixedVecSize;
  275|       |
  276|   286k|    const char dim0Char = ('0' + char(dim0));
  277|   286k|    const char dim1Char = ('0' + char(dim1));
  278|       |
  279|       |    // Add sampler dimensions
  280|   286k|    if (isSampler || isTexture) {
  ------------------
  |  Branch (280:9): [True: 13.7k, False: 272k]
  |  Branch (280:22): [True: 17.3k, False: 255k]
  ------------------
  281|  31.0k|        if ((order == 'V' || isTexture) && !isBuffer) {
  ------------------
  |  Branch (281:14): [True: 396, False: 30.6k]
  |  Branch (281:30): [True: 17.3k, False: 13.3k]
  |  Branch (281:44): [True: 17.4k, False: 264]
  ------------------
  282|  17.4k|            switch (dim0) {
  283|  3.03k|            case 1: s += "1D";                   break;
  ------------------
  |  Branch (283:13): [True: 3.03k, False: 14.4k]
  ------------------
  284|  10.0k|            case 2: s += (isMS ? "2DMS" : "2D"); break;
  ------------------
  |  Branch (284:13): [True: 10.0k, False: 7.45k]
  |  Branch (284:27): [True: 660, False: 9.37k]
  ------------------
  285|  1.38k|            case 3: s += "3D";                   break;
  ------------------
  |  Branch (285:13): [True: 1.38k, False: 16.1k]
  ------------------
  286|  3.03k|            case 4: s += (type == 'S'? "CUBE" : "Cube"); break;
  ------------------
  |  Branch (286:13): [True: 3.03k, False: 14.4k]
  |  Branch (286:27): [True: 132, False: 2.90k]
  ------------------
  287|      0|            default: s += "UNKNOWN_SAMPLER";     break;
  ------------------
  |  Branch (287:13): [True: 0, False: 17.4k]
  ------------------
  288|  17.4k|            }
  289|  17.4k|        }
  290|   255k|    } else {
  291|       |        // Non-sampler type:
  292|       |        // verify dimensions
  293|   255k|        if (((order == 'V' || order == 'M') && (dim0 < 1 || dim0 > 4)) ||
  ------------------
  |  Branch (293:15): [True: 76.4k, False: 179k]
  |  Branch (293:31): [True: 115k, False: 63.7k]
  |  Branch (293:49): [True: 0, False: 191k]
  |  Branch (293:61): [True: 0, False: 191k]
  ------------------
  294|   255k|            (order == 'M' && (dim1 < 1 || dim1 > 4))) {
  ------------------
  |  Branch (294:14): [True: 115k, False: 140k]
  |  Branch (294:31): [True: 0, False: 115k]
  |  Branch (294:43): [True: 0, False: 115k]
  ------------------
  295|      0|            s += "UNKNOWN_DIMENSION";
  296|      0|            return s;
  297|      0|        }
  298|       |
  299|   255k|        switch (order) {
  300|  20.4k|        case '-': break;  // no dimensions for voids
  ------------------
  |  Branch (300:9): [True: 20.4k, False: 235k]
  ------------------
  301|  42.7k|        case 'S': break;  // no dimensions on scalars
  ------------------
  |  Branch (301:9): [True: 42.7k, False: 212k]
  ------------------
  302|  76.4k|        case 'V':
  ------------------
  |  Branch (302:9): [True: 76.4k, False: 179k]
  ------------------
  303|  76.4k|            s += dim0Char;
  304|  76.4k|            break;
  305|   115k|        case 'M':
  ------------------
  |  Branch (305:9): [True: 115k, False: 140k]
  ------------------
  306|   115k|            s += dim0Char;
  307|   115k|            s += 'x';
  308|   115k|            s += dim1Char;
  309|   115k|            break;
  310|    528|        default:
  ------------------
  |  Branch (310:9): [True: 528, False: 255k]
  ------------------
  311|    528|            break;
  312|   255k|        }
  313|   255k|    }
  314|       |
  315|       |    // handle arrayed textures
  316|   286k|    if (isArrayed)
  ------------------
  |  Branch (316:9): [True: 7.92k, False: 278k]
  ------------------
  317|  7.92k|        s += "Array";
  318|       |
  319|   286k|    switch (type) {
  320|  5.96k|    case 'i': s += "<int";   s += dim0Char; s += ">"; break;
  ------------------
  |  Branch (320:5): [True: 5.96k, False: 280k]
  ------------------
  321|  5.96k|    case 'u': s += "<uint";  s += dim0Char; s += ">"; break;
  ------------------
  |  Branch (321:5): [True: 5.96k, False: 280k]
  ------------------
  322|  5.96k|    case 'T': s += "<float"; s += dim0Char; s += ">"; break;
  ------------------
  |  Branch (322:5): [True: 5.96k, False: 280k]
  ------------------
  323|   268k|    default: break;
  ------------------
  |  Branch (323:5): [True: 268k, False: 17.8k]
  ------------------
  324|   286k|    }
  325|       |
  326|   286k|    return s;
  327|   286k|}
hlslParseables.cpp:_ZN12_GLOBAL__N_113IsSamplerTypeEc:
   60|   286k|bool IsSamplerType(const char argType)     { return argType == 'S' || argType == 's'; }
  ------------------
  |  Branch (60:53): [True: 8.44k, False: 278k]
  |  Branch (60:71): [True: 5.28k, False: 272k]
  ------------------
hlslParseables.cpp:_ZN12_GLOBAL__N_14IsMSEc:
   66|   286k|bool IsMS(const char argOrder)             { return IsTextureMS(argOrder) || argOrder == ']'; }
  ------------------
  |  Branch (66:53): [True: 660, False: 286k]
  |  Branch (66:78): [True: 264, False: 285k]
  ------------------
hlslParseables.cpp:_ZN12_GLOBAL__N_114IsSubpassInputEc:
   63|   312k|bool IsSubpassInput(const char argOrder)   { return argOrder == '[' || argOrder == ']'; }
  ------------------
  |  Branch (63:53): [True: 286, False: 311k]
  |  Branch (63:72): [True: 286, False: 311k]
  ------------------
hlslParseables.cpp:_ZN12_GLOBAL__N_110IsEndOfArgEPKc:
  191|  2.64M|{
  192|  2.64M|    return arg == nullptr || *arg == '\0' || *arg == ',';
  ------------------
  |  Branch (192:12): [True: 0, False: 2.64M]
  |  Branch (192:30): [True: 316k, False: 2.32M]
  |  Branch (192:46): [True: 912k, False: 1.41M]
  ------------------
  193|  2.64M|}
hlslParseables.cpp:_ZN12_GLOBAL__N_113IsTextureTypeEc:
   71|   410k|{
   72|   410k|    return IsTextureNonMS(argOrder) || IsArrayedTexture(argOrder) ||
  ------------------
  |  Branch (72:12): [True: 27.6k, False: 382k]
  |  Branch (72:40): [True: 26.2k, False: 356k]
  ------------------
   73|   356k|           IsTextureMS(argOrder) || IsBuffer(argOrder) || IsImage(argOrder);
  ------------------
  |  Branch (73:12): [True: 2.33k, False: 354k]
  |  Branch (73:37): [True: 616, False: 353k]
  |  Branch (73:59): [True: 2.44k, False: 350k]
  ------------------
   74|   410k|}
hlslParseables.cpp:_ZN12_GLOBAL__N_114IsTextureNonMSEc:
   62|   410k|bool IsTextureNonMS(const char argOrder)   { return argOrder == '%'; }
hlslParseables.cpp:_ZN12_GLOBAL__N_116IsArrayedTextureEc:
   64|   382k|bool IsArrayedTexture(const char argOrder) { return argOrder == '@'; }
hlslParseables.cpp:_ZN12_GLOBAL__N_19IsArrayedEc:
   61|   337k|bool IsArrayed(const char argOrder)        { return argOrder == '@' || argOrder == '&' || argOrder == '#'; }
  ------------------
  |  Branch (61:53): [True: 26.2k, False: 310k]
  |  Branch (61:72): [True: 1.16k, False: 309k]
  |  Branch (61:91): [True: 1.03k, False: 308k]
  ------------------
hlslParseables.cpp:_ZN12_GLOBAL__N_111IsTextureMSEc:
   65|   693k|bool IsTextureMS(const char argOrder)      { return argOrder == '$' || argOrder == '&'; }
  ------------------
  |  Branch (65:53): [True: 2.33k, False: 691k]
  |  Branch (65:72): [True: 2.33k, False: 688k]
  ------------------
hlslParseables.cpp:_ZN12_GLOBAL__N_18IsBufferEc:
   67|   691k|bool IsBuffer(const char argOrder)         { return argOrder == '*' || argOrder == '~'; }
  ------------------
  |  Branch (67:53): [True: 308, False: 690k]
  |  Branch (67:72): [True: 924, False: 689k]
  ------------------
hlslParseables.cpp:_ZN12_GLOBAL__N_17IsImageEc:
   68|   652k|bool IsImage(const char argOrder)          { return argOrder == '!' || argOrder == '#' || argOrder == '~'; }
  ------------------
  |  Branch (68:53): [True: 2.15k, False: 650k]
  |  Branch (68:72): [True: 1.54k, False: 648k]
  |  Branch (68:91): [True: 264, False: 648k]
  ------------------
hlslParseables.cpp:_ZN12_GLOBAL__N_113HasMipInCoordERKNSt3__112basic_stringIcNS0_11char_traitsIcEEN7glslang14pool_allocatorIcEEEEbbb:
  155|  12.2k|{
  156|  12.2k|    return name == "Load" && !isMS && !isBuffer && !isImage;
  ------------------
  |  Branch (156:12): [True: 286, False: 12.0k]
  |  Branch (156:30): [True: 198, False: 88]
  |  Branch (156:39): [True: 154, False: 44]
  |  Branch (156:52): [True: 110, False: 44]
  ------------------
  157|  12.2k|}
hlslParseables.cpp:_ZN12_GLOBAL__N_112FixedVecSizeEPKc:
  197|   299k|{
  198|   650k|    while (!IsEndOfArg(arg)) {
  ------------------
  |  Branch (198:12): [True: 372k, False: 277k]
  ------------------
  199|   372k|        if (isdigit(*arg))
  ------------------
  |  Branch (199:13): [True: 21.8k, False: 351k]
  ------------------
  200|  21.8k|            return *arg - '0';
  201|   351k|        ++arg;
  202|   351k|    }
  203|       |
  204|   277k|    return 0; // none found.
  205|   299k|}
hlslParseables.cpp:_ZN12_GLOBAL__N_116CoordinateArgPosERKNSt3__112basic_stringIcNS0_11char_traitsIcEEN7glslang14pool_allocatorIcEEEEb:
  144|  12.2k|{
  145|  12.2k|    if (!isTexture || (name == "GetDimensions"))
  ------------------
  |  Branch (145:9): [True: 8.33k, False: 3.96k]
  |  Branch (145:23): [True: 968, False: 2.99k]
  ------------------
  146|  9.30k|        return -1;  // has none
  147|  2.99k|    else if (name == "Load")
  ------------------
  |  Branch (147:14): [True: 264, False: 2.72k]
  ------------------
  148|    264|        return 1;
  149|  2.72k|    else
  150|  2.72k|        return 2;  // other texture methods are 2
  151|  12.2k|}
hlslParseables.cpp:_ZN12_GLOBAL__N_122FindVectorMatrixBoundsEPKciRiS2_S2_S2_:
  370|  12.2k|{
  371|  45.5k|    for (int arg = 0; ; ++arg) {
  372|  45.5k|        const char* nthArgOrder(NthArg(argOrder, arg));
  373|  45.5k|        if (nthArgOrder == nullptr)
  ------------------
  |  Branch (373:13): [True: 12.2k, False: 33.2k]
  ------------------
  374|  12.2k|            break;
  375|  33.2k|        else if (*nthArgOrder == 'V' || IsSubpassInput(*nthArgOrder))
  ------------------
  |  Branch (375:18): [True: 7.85k, False: 25.3k]
  |  Branch (375:41): [True: 44, False: 25.3k]
  ------------------
  376|  7.89k|            dim0Max = 4;
  377|  25.3k|        else if (*nthArgOrder == 'M')
  ------------------
  |  Branch (377:18): [True: 1.78k, False: 23.5k]
  ------------------
  378|  1.78k|            dim0Max = dim1Max = 4;
  379|  45.5k|    }
  380|       |
  381|  12.2k|    if (fixedVecSize > 0) // handle fixed sized vectors
  ------------------
  |  Branch (381:9): [True: 1.76k, False: 10.5k]
  ------------------
  382|  1.76k|        dim0Min = dim0Max = fixedVecSize;
  383|  12.2k|}
hlslParseables.cpp:_ZN12_GLOBAL__N_17IsValidEPKcccccii:
  335|   111k|{
  336|   111k|    const bool isVec = (argOrder == 'V');
  337|       |
  338|   111k|    const std::string name(cname);
  339|       |
  340|       |    // these do not have vec1 versions
  341|   111k|    if (dim0 == 1 && (name == "normalize" || name == "reflect" || name == "refract"))
  ------------------
  |  Branch (341:9): [True: 32.0k, False: 79.2k]
  |  Branch (341:23): [True: 22, False: 32.0k]
  |  Branch (341:46): [True: 22, False: 32.0k]
  |  Branch (341:67): [True: 22, False: 32.0k]
  ------------------
  342|     66|        return false;
  343|       |
  344|   111k|    if (!IsTextureType(argOrder) && (isVec && dim0 == 1)) // avoid vec1
  ------------------
  |  Branch (344:9): [True: 73.2k, False: 38.0k]
  |  Branch (344:38): [True: 19.3k, False: 53.9k]
  |  Branch (344:47): [True: 4.62k, False: 14.6k]
  ------------------
  345|  4.62k|        return false;
  346|       |
  347|   106k|    return true;
  348|   111k|}
hlslParseables.cpp:_ZN12_GLOBAL__N_115IsIllegalSampleERKNSt3__112basic_stringIcNS0_11char_traitsIcEEN7glslang14pool_allocatorIcEEEEPKci:
   79|  38.0k|{
   80|  38.0k|    const bool isArrayed = IsArrayed(*argOrder);
   81|  38.0k|    const bool isMS      = IsTextureMS(*argOrder);
   82|  38.0k|    const bool isBuffer  = IsBuffer(*argOrder);
   83|       |
   84|       |    // there are no 3D arrayed textures, or 3D SampleCmp(LevelZero)
   85|  38.0k|    if (dim0 == 3 && (isArrayed || name == "SampleCmp" || name == "SampleCmpLevelZero"))
  ------------------
  |  Branch (85:9): [True: 9.10k, False: 28.9k]
  |  Branch (85:23): [True: 4.35k, False: 4.75k]
  |  Branch (85:36): [True: 132, False: 4.62k]
  |  Branch (85:59): [True: 132, False: 4.48k]
  ------------------
   86|  4.62k|        return true;
   87|       |
   88|  33.3k|    const int numArgs = int(std::count(argOrder, argOrder + strlen(argOrder), ',')) + 1;
   89|       |
   90|       |    // Reject invalid offset forms with cubemaps
   91|  33.3k|    if (dim0 == 4) {
  ------------------
  |  Branch (91:9): [True: 9.24k, False: 24.1k]
  ------------------
   92|  9.24k|        if ((name == "Sample"             && numArgs >= 4) ||
  ------------------
  |  Branch (92:14): [True: 264, False: 8.97k]
  |  Branch (92:46): [True: 132, False: 132]
  ------------------
   93|  9.10k|            (name == "SampleBias"         && numArgs >= 5) ||
  ------------------
  |  Branch (93:14): [True: 264, False: 8.84k]
  |  Branch (93:46): [True: 132, False: 132]
  ------------------
   94|  8.97k|            (name == "SampleCmp"          && numArgs >= 5) ||
  ------------------
  |  Branch (94:14): [True: 264, False: 8.71k]
  |  Branch (94:46): [True: 132, False: 132]
  ------------------
   95|  8.84k|            (name == "SampleCmpLevelZero" && numArgs >= 5) ||
  ------------------
  |  Branch (95:14): [True: 264, False: 8.58k]
  |  Branch (95:46): [True: 132, False: 132]
  ------------------
   96|  8.71k|            (name == "SampleGrad"         && numArgs >= 6) ||
  ------------------
  |  Branch (96:14): [True: 264, False: 8.44k]
  |  Branch (96:46): [True: 132, False: 132]
  ------------------
   97|  8.58k|            (name == "SampleLevel"        && numArgs >= 5))
  ------------------
  |  Branch (97:14): [True: 264, False: 8.31k]
  |  Branch (97:46): [True: 132, False: 132]
  ------------------
   98|    792|            return true;
   99|  9.24k|    }
  100|       |
  101|  32.6k|    const bool isGather =
  102|  32.6k|        (name == "Gather" ||
  ------------------
  |  Branch (102:10): [True: 924, False: 31.6k]
  ------------------
  103|  31.6k|         name == "GatherRed" ||
  ------------------
  |  Branch (103:10): [True: 2.31k, False: 29.3k]
  ------------------
  104|  29.3k|         name == "GatherGreen" ||
  ------------------
  |  Branch (104:10): [True: 2.31k, False: 27.0k]
  ------------------
  105|  27.0k|         name == "GatherBlue"  ||
  ------------------
  |  Branch (105:10): [True: 2.31k, False: 24.7k]
  ------------------
  106|  24.7k|         name == "GatherAlpha");
  ------------------
  |  Branch (106:10): [True: 2.31k, False: 22.4k]
  ------------------
  107|       |
  108|  32.6k|    const bool isGatherCmp =
  109|  32.6k|        (name == "GatherCmp"      ||
  ------------------
  |  Branch (109:10): [True: 2.31k, False: 30.2k]
  ------------------
  110|  30.2k|         name == "GatherCmpRed"   ||
  ------------------
  |  Branch (110:10): [True: 2.31k, False: 27.9k]
  ------------------
  111|  27.9k|         name == "GatherCmpGreen" ||
  ------------------
  |  Branch (111:10): [True: 2.31k, False: 25.6k]
  ------------------
  112|  25.6k|         name == "GatherCmpBlue"  ||
  ------------------
  |  Branch (112:10): [True: 2.31k, False: 23.3k]
  ------------------
  113|  23.3k|         name == "GatherCmpAlpha");
  ------------------
  |  Branch (113:10): [True: 2.31k, False: 21.0k]
  ------------------
  114|       |
  115|       |    // Reject invalid Gathers
  116|  32.6k|    if (isGather || isGatherCmp) {
  ------------------
  |  Branch (116:9): [True: 10.1k, False: 22.4k]
  |  Branch (116:21): [True: 11.5k, False: 10.8k]
  ------------------
  117|  21.7k|        if (dim0 == 1 || dim0 == 3)   // there are no 1D or 3D gathers
  ------------------
  |  Branch (117:13): [True: 6.20k, False: 15.5k]
  |  Branch (117:26): [True: 3.10k, False: 12.4k]
  ------------------
  118|  9.30k|            return true;
  119|       |
  120|       |        // no offset on cube or cube array gathers
  121|  12.4k|        if (dim0 == 4) {
  ------------------
  |  Branch (121:13): [True: 6.20k, False: 6.20k]
  ------------------
  122|  6.20k|            if ((isGather && numArgs > 3) || (isGatherCmp && numArgs > 4))
  ------------------
  |  Branch (122:18): [True: 2.90k, False: 3.30k]
  |  Branch (122:30): [True: 2.24k, False: 660]
  |  Branch (122:47): [True: 3.30k, False: 660]
  |  Branch (122:62): [True: 2.64k, False: 660]
  ------------------
  123|  4.88k|                return true;
  124|  6.20k|        }
  125|  12.4k|    }
  126|       |
  127|       |    // Reject invalid Loads
  128|  18.4k|    if (name == "Load" && dim0 == 4)
  ------------------
  |  Branch (128:9): [True: 2.44k, False: 15.9k]
  |  Branch (128:27): [True: 660, False: 1.78k]
  ------------------
  129|    660|        return true; // Load does not support any cubemaps, arrayed or not.
  130|       |
  131|       |    // Multisample formats are only 2D and 2Darray
  132|  17.7k|    if (isMS && dim0 != 2)
  ------------------
  |  Branch (132:9): [True: 1.05k, False: 16.6k]
  |  Branch (132:17): [True: 396, False: 660]
  ------------------
  133|    396|        return true;
  134|       |
  135|       |    // Buffer are only 1D
  136|  17.3k|    if (isBuffer && dim0 != 1)
  ------------------
  |  Branch (136:9): [True: 264, False: 17.0k]
  |  Branch (136:21): [True: 0, False: 264]
  ------------------
  137|      0|        return true;
  138|       |
  139|  17.3k|    return false;
  140|  17.3k|}
hlslParseables.cpp:_ZN12_GLOBAL__N_16NthArgEPKci:
  361|   606k|{
  362|  1.53M|    for (int x=0; x<n && arg; ++x)
  ------------------
  |  Branch (362:19): [True: 932k, False: 606k]
  |  Branch (362:26): [True: 932k, False: 0]
  ------------------
  363|   932k|        if ((arg = FindEndOfArg(arg)) != nullptr)
  ------------------
  |  Branch (363:13): [True: 748k, False: 183k]
  ------------------
  364|   748k|            ++arg;  // skip arg separator
  365|       |
  366|   606k|    return arg;
  367|   606k|}
hlslParseables.cpp:_ZN12_GLOBAL__N_112FindEndOfArgEPKc:
  352|   932k|{
  353|  1.93M|    while (!IsEndOfArg(arg))
  ------------------
  |  Branch (353:12): [True: 1.00M, False: 932k]
  ------------------
  354|  1.00M|        ++arg;
  355|       |
  356|   932k|    return *arg == '\0' ? nullptr : arg;
  ------------------
  |  Branch (356:12): [True: 183k, False: 748k]
  ------------------
  357|   932k|}
hlslParseables.cpp:_ZN12_GLOBAL__N_17IoParamERNSt3__112basic_stringIcNS0_11char_traitsIcEEN7glslang14pool_allocatorIcEEEEPKc:
  167|   388k|{
  168|   388k|    if (*nthArgOrder == '>') {           // output params
  ------------------
  |  Branch (168:9): [True: 19.1k, False: 369k]
  ------------------
  169|  19.1k|        ++nthArgOrder;
  170|  19.1k|        s.append("out ");
  171|   369k|    } else if (*nthArgOrder == '<') {    // input params
  ------------------
  |  Branch (171:16): [True: 0, False: 369k]
  ------------------
  172|      0|        ++nthArgOrder;
  173|      0|        s.append("in ");
  174|      0|    }
  175|       |
  176|   388k|    return nthArgOrder;
  177|   388k|}
hlslParseables.cpp:_ZN12_GLOBAL__N_115HandleRepeatArgERPKcS2_S1_:
  181|   388k|{
  182|   388k|    if (*arg == ',' || *arg == '\0')
  ------------------
  |  Branch (182:9): [True: 53.7k, False: 335k]
  |  Branch (182:24): [True: 67.1k, False: 267k]
  ------------------
  183|   120k|        arg = prev;
  184|   267k|    else
  185|   267k|        prev = current;
  186|   388k|}
hlslParseables.cpp:_ZN12_GLOBAL__N_112NoArrayCoordERKNSt3__112basic_stringIcNS0_11char_traitsIcEEN7glslang14pool_allocatorIcEEEE:
  161|  6.66k|{
  162|  6.66k|    return name == "CalculateLevelOfDetail" || name == "CalculateLevelOfDetailUnclamped";
  ------------------
  |  Branch (162:12): [True: 198, False: 6.46k]
  |  Branch (162:48): [True: 198, False: 6.27k]
  ------------------
  163|  6.66k|}

_ZN7glslang15HlslScanContext8tokenizeERNS_9HlslTokenE:
  517|   822k|{
  518|   822k|    EHlslTokenClass tokenClass = tokenizeClass(token);
  519|   822k|    token.tokenClass = tokenClass;
  520|   822k|}
_ZN7glslang15HlslScanContext13tokenizeClassERNS_9HlslTokenE:
  537|   822k|{
  538|   822k|    do {
  539|   822k|        parserToken = &token;
  540|   822k|        TPpToken ppToken;
  541|   822k|        int token = ppContext.tokenize(ppToken);
  542|   822k|        if (token == EndOfInput)
  ------------------
  |  Branch (542:13): [True: 43, False: 822k]
  ------------------
  543|     43|            return EHTokNone;
  544|       |
  545|   822k|        tokenText = ppToken.name;
  546|   822k|        loc = ppToken.loc;
  547|   822k|        parserToken->loc = loc;
  548|   822k|        switch (token) {
  549|  88.0k|        case ';':                       return EHTokSemicolon;
  ------------------
  |  Branch (549:9): [True: 88.0k, False: 734k]
  ------------------
  550|   110k|        case ',':                       return EHTokComma;
  ------------------
  |  Branch (550:9): [True: 110k, False: 711k]
  ------------------
  551|      0|        case ':':                       return EHTokColon;
  ------------------
  |  Branch (551:9): [True: 0, False: 822k]
  ------------------
  552|      0|        case '=':                       return EHTokAssign;
  ------------------
  |  Branch (552:9): [True: 0, False: 822k]
  ------------------
  553|  88.0k|        case '(':                       return EHTokLeftParen;
  ------------------
  |  Branch (553:9): [True: 88.0k, False: 734k]
  ------------------
  554|  88.0k|        case ')':                       return EHTokRightParen;
  ------------------
  |  Branch (554:9): [True: 88.0k, False: 734k]
  ------------------
  555|      0|        case '.':                       return EHTokDot;
  ------------------
  |  Branch (555:9): [True: 0, False: 822k]
  ------------------
  556|      0|        case '!':                       return EHTokBang;
  ------------------
  |  Branch (556:9): [True: 0, False: 822k]
  ------------------
  557|      0|        case '-':                       return EHTokDash;
  ------------------
  |  Branch (557:9): [True: 0, False: 822k]
  ------------------
  558|      0|        case '~':                       return EHTokTilde;
  ------------------
  |  Branch (558:9): [True: 0, False: 822k]
  ------------------
  559|      0|        case '+':                       return EHTokPlus;
  ------------------
  |  Branch (559:9): [True: 0, False: 822k]
  ------------------
  560|      0|        case '*':                       return EHTokStar;
  ------------------
  |  Branch (560:9): [True: 0, False: 822k]
  ------------------
  561|      0|        case '/':                       return EHTokSlash;
  ------------------
  |  Branch (561:9): [True: 0, False: 822k]
  ------------------
  562|      0|        case '%':                       return EHTokPercent;
  ------------------
  |  Branch (562:9): [True: 0, False: 822k]
  ------------------
  563|  17.8k|        case '<':                       return EHTokLeftAngle;
  ------------------
  |  Branch (563:9): [True: 17.8k, False: 804k]
  ------------------
  564|  17.8k|        case '>':                       return EHTokRightAngle;
  ------------------
  |  Branch (564:9): [True: 17.8k, False: 804k]
  ------------------
  565|      0|        case '|':                       return EHTokVerticalBar;
  ------------------
  |  Branch (565:9): [True: 0, False: 822k]
  ------------------
  566|      0|        case '^':                       return EHTokCaret;
  ------------------
  |  Branch (566:9): [True: 0, False: 822k]
  ------------------
  567|      0|        case '&':                       return EHTokAmpersand;
  ------------------
  |  Branch (567:9): [True: 0, False: 822k]
  ------------------
  568|      0|        case '?':                       return EHTokQuestion;
  ------------------
  |  Branch (568:9): [True: 0, False: 822k]
  ------------------
  569|      0|        case '[':                       return EHTokLeftBracket;
  ------------------
  |  Branch (569:9): [True: 0, False: 822k]
  ------------------
  570|      0|        case ']':                       return EHTokRightBracket;
  ------------------
  |  Branch (570:9): [True: 0, False: 822k]
  ------------------
  571|      0|        case '{':                       return EHTokLeftBrace;
  ------------------
  |  Branch (571:9): [True: 0, False: 822k]
  ------------------
  572|      0|        case '}':                       return EHTokRightBrace;
  ------------------
  |  Branch (572:9): [True: 0, False: 822k]
  ------------------
  573|      0|        case '\\':
  ------------------
  |  Branch (573:9): [True: 0, False: 822k]
  ------------------
  574|      0|            parseContext.error(loc, "illegal use of escape character", "\\", "");
  575|      0|            break;
  576|       |
  577|      0|        case PPAtomAddAssign:          return EHTokAddAssign;
  ------------------
  |  Branch (577:9): [True: 0, False: 822k]
  ------------------
  578|      0|        case PPAtomSubAssign:          return EHTokSubAssign;
  ------------------
  |  Branch (578:9): [True: 0, False: 822k]
  ------------------
  579|      0|        case PPAtomMulAssign:          return EHTokMulAssign;
  ------------------
  |  Branch (579:9): [True: 0, False: 822k]
  ------------------
  580|      0|        case PPAtomDivAssign:          return EHTokDivAssign;
  ------------------
  |  Branch (580:9): [True: 0, False: 822k]
  ------------------
  581|      0|        case PPAtomModAssign:          return EHTokModAssign;
  ------------------
  |  Branch (581:9): [True: 0, False: 822k]
  ------------------
  582|       |
  583|      0|        case PpAtomRight:              return EHTokRightOp;
  ------------------
  |  Branch (583:9): [True: 0, False: 822k]
  ------------------
  584|      0|        case PpAtomLeft:               return EHTokLeftOp;
  ------------------
  |  Branch (584:9): [True: 0, False: 822k]
  ------------------
  585|       |
  586|      0|        case PpAtomRightAssign:        return EHTokRightAssign;
  ------------------
  |  Branch (586:9): [True: 0, False: 822k]
  ------------------
  587|      0|        case PpAtomLeftAssign:         return EHTokLeftAssign;
  ------------------
  |  Branch (587:9): [True: 0, False: 822k]
  ------------------
  588|      0|        case PpAtomAndAssign:          return EHTokAndAssign;
  ------------------
  |  Branch (588:9): [True: 0, False: 822k]
  ------------------
  589|      0|        case PpAtomOrAssign:           return EHTokOrAssign;
  ------------------
  |  Branch (589:9): [True: 0, False: 822k]
  ------------------
  590|      0|        case PpAtomXorAssign:          return EHTokXorAssign;
  ------------------
  |  Branch (590:9): [True: 0, False: 822k]
  ------------------
  591|       |
  592|      0|        case PpAtomAnd:                return EHTokAndOp;
  ------------------
  |  Branch (592:9): [True: 0, False: 822k]
  ------------------
  593|      0|        case PpAtomOr:                 return EHTokOrOp;
  ------------------
  |  Branch (593:9): [True: 0, False: 822k]
  ------------------
  594|      0|        case PpAtomXor:                return EHTokXorOp;
  ------------------
  |  Branch (594:9): [True: 0, False: 822k]
  ------------------
  595|       |
  596|      0|        case PpAtomEQ:                 return EHTokEqOp;
  ------------------
  |  Branch (596:9): [True: 0, False: 822k]
  ------------------
  597|      0|        case PpAtomGE:                 return EHTokGeOp;
  ------------------
  |  Branch (597:9): [True: 0, False: 822k]
  ------------------
  598|      0|        case PpAtomNE:                 return EHTokNeOp;
  ------------------
  |  Branch (598:9): [True: 0, False: 822k]
  ------------------
  599|      0|        case PpAtomLE:                 return EHTokLeOp;
  ------------------
  |  Branch (599:9): [True: 0, False: 822k]
  ------------------
  600|       |
  601|      0|        case PpAtomDecrement:          return EHTokDecOp;
  ------------------
  |  Branch (601:9): [True: 0, False: 822k]
  ------------------
  602|      0|        case PpAtomIncrement:          return EHTokIncOp;
  ------------------
  |  Branch (602:9): [True: 0, False: 822k]
  ------------------
  603|       |
  604|      0|        case PpAtomColonColon:         return EHTokColonColon;
  ------------------
  |  Branch (604:9): [True: 0, False: 822k]
  ------------------
  605|       |
  606|      0|        case PpAtomConstInt:           parserToken->i = ppToken.ival;       return EHTokIntConstant;
  ------------------
  |  Branch (606:9): [True: 0, False: 822k]
  ------------------
  607|      0|        case PpAtomConstUint:          parserToken->i = ppToken.ival;       return EHTokUintConstant;
  ------------------
  |  Branch (607:9): [True: 0, False: 822k]
  ------------------
  608|      0|        case PpAtomConstFloat16:       parserToken->d = ppToken.dval;       return EHTokFloat16Constant;
  ------------------
  |  Branch (608:9): [True: 0, False: 822k]
  ------------------
  609|      0|        case PpAtomConstFloat:         parserToken->d = ppToken.dval;       return EHTokFloatConstant;
  ------------------
  |  Branch (609:9): [True: 0, False: 822k]
  ------------------
  610|      0|        case PpAtomConstDouble:        parserToken->d = ppToken.dval;       return EHTokDoubleConstant;
  ------------------
  |  Branch (610:9): [True: 0, False: 822k]
  ------------------
  611|   411k|        case PpAtomIdentifier:
  ------------------
  |  Branch (611:9): [True: 411k, False: 410k]
  ------------------
  612|   411k|        {
  613|   411k|            EHlslTokenClass token = tokenizeIdentifier();
  614|   411k|            return token;
  615|      0|        }
  616|       |
  617|      0|        case PpAtomConstString: {
  ------------------
  |  Branch (617:9): [True: 0, False: 822k]
  ------------------
  618|      0|            parserToken->string = NewPoolTString(tokenText);
  619|      0|            return EHTokStringConstant;
  620|      0|        }
  621|       |
  622|      0|        case EndOfInput:               return EHTokNone;
  ------------------
  |  Branch (622:9): [True: 0, False: 822k]
  ------------------
  623|       |
  624|      0|        default:
  ------------------
  |  Branch (624:9): [True: 0, False: 822k]
  ------------------
  625|      0|            if (token < PpAtomMaxSingle) {
  ------------------
  |  Branch (625:17): [True: 0, False: 0]
  ------------------
  626|      0|                char buf[2];
  627|      0|                buf[0] = (char)token;
  628|      0|                buf[1] = 0;
  629|      0|                parseContext.error(loc, "unexpected token", buf, "");
  630|      0|            } else if (tokenText[0] != 0)
  ------------------
  |  Branch (630:24): [True: 0, False: 0]
  ------------------
  631|      0|                parseContext.error(loc, "unexpected token", tokenText, "");
  632|      0|            else
  633|      0|                parseContext.error(loc, "unexpected token", "", "");
  634|      0|            break;
  635|   822k|        }
  636|   822k|    } while (true);
  ------------------
  |  Branch (636:14): [True: 0, Folded]
  ------------------
  637|   822k|}
_ZN7glslang15HlslScanContext18tokenizeIdentifierEv:
  640|   411k|{
  641|   411k|    if (ReservedSet.find(tokenText) != ReservedSet.end())
  ------------------
  |  Branch (641:9): [True: 0, False: 411k]
  ------------------
  642|      0|        return reservedWord();
  643|       |
  644|   411k|    auto it = KeywordMap.find(tokenText);
  645|   411k|    if (it == KeywordMap.end()) {
  ------------------
  |  Branch (645:9): [True: 88.0k, False: 323k]
  ------------------
  646|       |        // Should have an identifier of some sort
  647|  88.0k|        return identifierOrType();
  648|  88.0k|    }
  649|   323k|    keyword = it->second;
  650|       |
  651|   323k|    switch (keyword) {
  652|       |
  653|       |    // qualifiers
  654|      0|    case EHTokStatic:
  ------------------
  |  Branch (654:5): [True: 0, False: 323k]
  ------------------
  655|      0|    case EHTokConst:
  ------------------
  |  Branch (655:5): [True: 0, False: 323k]
  ------------------
  656|      0|    case EHTokSNorm:
  ------------------
  |  Branch (656:5): [True: 0, False: 323k]
  ------------------
  657|      0|    case EHTokUnorm:
  ------------------
  |  Branch (657:5): [True: 0, False: 323k]
  ------------------
  658|      0|    case EHTokExtern:
  ------------------
  |  Branch (658:5): [True: 0, False: 323k]
  ------------------
  659|      0|    case EHTokUniform:
  ------------------
  |  Branch (659:5): [True: 0, False: 323k]
  ------------------
  660|      0|    case EHTokVolatile:
  ------------------
  |  Branch (660:5): [True: 0, False: 323k]
  ------------------
  661|      0|    case EHTokShared:
  ------------------
  |  Branch (661:5): [True: 0, False: 323k]
  ------------------
  662|      0|    case EHTokGroupShared:
  ------------------
  |  Branch (662:5): [True: 0, False: 323k]
  ------------------
  663|      0|    case EHTokLinear:
  ------------------
  |  Branch (663:5): [True: 0, False: 323k]
  ------------------
  664|      0|    case EHTokCentroid:
  ------------------
  |  Branch (664:5): [True: 0, False: 323k]
  ------------------
  665|      0|    case EHTokNointerpolation:
  ------------------
  |  Branch (665:5): [True: 0, False: 323k]
  ------------------
  666|      0|    case EHTokNoperspective:
  ------------------
  |  Branch (666:5): [True: 0, False: 323k]
  ------------------
  667|      0|    case EHTokSample:
  ------------------
  |  Branch (667:5): [True: 0, False: 323k]
  ------------------
  668|      0|    case EHTokRowMajor:
  ------------------
  |  Branch (668:5): [True: 0, False: 323k]
  ------------------
  669|      0|    case EHTokColumnMajor:
  ------------------
  |  Branch (669:5): [True: 0, False: 323k]
  ------------------
  670|      0|    case EHTokPackOffset:
  ------------------
  |  Branch (670:5): [True: 0, False: 323k]
  ------------------
  671|      0|    case EHTokIn:
  ------------------
  |  Branch (671:5): [True: 0, False: 323k]
  ------------------
  672|  19.1k|    case EHTokOut:
  ------------------
  |  Branch (672:5): [True: 19.1k, False: 304k]
  ------------------
  673|  19.1k|    case EHTokInOut:
  ------------------
  |  Branch (673:5): [True: 0, False: 323k]
  ------------------
  674|  19.1k|    case EHTokPrecise:
  ------------------
  |  Branch (674:5): [True: 0, False: 323k]
  ------------------
  675|  19.1k|    case EHTokLayout:
  ------------------
  |  Branch (675:5): [True: 0, False: 323k]
  ------------------
  676|  19.1k|    case EHTokGloballyCoherent:
  ------------------
  |  Branch (676:5): [True: 0, False: 323k]
  ------------------
  677|  19.1k|    case EHTokInline:
  ------------------
  |  Branch (677:5): [True: 0, False: 323k]
  ------------------
  678|  19.1k|        return keyword;
  679|       |
  680|       |    // primitive types
  681|      0|    case EHTokPoint:
  ------------------
  |  Branch (681:5): [True: 0, False: 323k]
  ------------------
  682|      0|    case EHTokLine:
  ------------------
  |  Branch (682:5): [True: 0, False: 323k]
  ------------------
  683|      0|    case EHTokTriangle:
  ------------------
  |  Branch (683:5): [True: 0, False: 323k]
  ------------------
  684|      0|    case EHTokLineAdj:
  ------------------
  |  Branch (684:5): [True: 0, False: 323k]
  ------------------
  685|      0|    case EHTokTriangleAdj:
  ------------------
  |  Branch (685:5): [True: 0, False: 323k]
  ------------------
  686|      0|        return keyword;
  687|       |
  688|       |    // stream out types
  689|      0|    case EHTokPointStream:
  ------------------
  |  Branch (689:5): [True: 0, False: 323k]
  ------------------
  690|      0|    case EHTokLineStream:
  ------------------
  |  Branch (690:5): [True: 0, False: 323k]
  ------------------
  691|      0|    case EHTokTriangleStream:
  ------------------
  |  Branch (691:5): [True: 0, False: 323k]
  ------------------
  692|      0|        return keyword;
  693|       |
  694|       |    // Tessellation patches
  695|      0|    case EHTokInputPatch:
  ------------------
  |  Branch (695:5): [True: 0, False: 323k]
  ------------------
  696|      0|    case EHTokOutputPatch:
  ------------------
  |  Branch (696:5): [True: 0, False: 323k]
  ------------------
  697|      0|        return keyword;
  698|       |
  699|     66|    case EHTokBuffer:
  ------------------
  |  Branch (699:5): [True: 66, False: 323k]
  ------------------
  700|     66|    case EHTokVector:
  ------------------
  |  Branch (700:5): [True: 0, False: 323k]
  ------------------
  701|     66|    case EHTokMatrix:
  ------------------
  |  Branch (701:5): [True: 0, False: 323k]
  ------------------
  702|     66|        return keyword;
  703|       |
  704|       |    // scalar types
  705|  20.4k|    case EHTokVoid:
  ------------------
  |  Branch (705:5): [True: 20.4k, False: 303k]
  ------------------
  706|  20.4k|    case EHTokString:
  ------------------
  |  Branch (706:5): [True: 0, False: 323k]
  ------------------
  707|  24.6k|    case EHTokBool:
  ------------------
  |  Branch (707:5): [True: 4.24k, False: 319k]
  ------------------
  708|  30.2k|    case EHTokInt:
  ------------------
  |  Branch (708:5): [True: 5.61k, False: 318k]
  ------------------
  709|  41.4k|    case EHTokUint:
  ------------------
  |  Branch (709:5): [True: 11.1k, False: 312k]
  ------------------
  710|  41.4k|    case EHTokUint64:
  ------------------
  |  Branch (710:5): [True: 0, False: 323k]
  ------------------
  711|  41.4k|    case EHTokDword:
  ------------------
  |  Branch (711:5): [True: 0, False: 323k]
  ------------------
  712|  41.4k|    case EHTokHalf:
  ------------------
  |  Branch (712:5): [True: 0, False: 323k]
  ------------------
  713|  62.2k|    case EHTokFloat:
  ------------------
  |  Branch (713:5): [True: 20.8k, False: 302k]
  ------------------
  714|  63.2k|    case EHTokDouble:
  ------------------
  |  Branch (714:5): [True: 990, False: 322k]
  ------------------
  715|  63.2k|    case EHTokMin16float:
  ------------------
  |  Branch (715:5): [True: 0, False: 323k]
  ------------------
  716|  63.2k|    case EHTokMin10float:
  ------------------
  |  Branch (716:5): [True: 0, False: 323k]
  ------------------
  717|  63.2k|    case EHTokMin16int:
  ------------------
  |  Branch (717:5): [True: 0, False: 323k]
  ------------------
  718|  63.2k|    case EHTokMin12int:
  ------------------
  |  Branch (718:5): [True: 0, False: 323k]
  ------------------
  719|  63.2k|    case EHTokMin16uint:
  ------------------
  |  Branch (719:5): [True: 0, False: 323k]
  ------------------
  720|       |
  721|       |    // vector types
  722|  63.2k|    case EHTokBool1:
  ------------------
  |  Branch (722:5): [True: 0, False: 323k]
  ------------------
  723|  63.3k|    case EHTokBool2:
  ------------------
  |  Branch (723:5): [True: 132, False: 323k]
  ------------------
  724|  63.4k|    case EHTokBool3:
  ------------------
  |  Branch (724:5): [True: 132, False: 323k]
  ------------------
  725|  63.6k|    case EHTokBool4:
  ------------------
  |  Branch (725:5): [True: 132, False: 323k]
  ------------------
  726|  65.3k|    case EHTokFloat1:
  ------------------
  |  Branch (726:5): [True: 1.71k, False: 322k]
  ------------------
  727|  79.4k|    case EHTokFloat2:
  ------------------
  |  Branch (727:5): [True: 14.1k, False: 309k]
  ------------------
  728|  91.5k|    case EHTokFloat3:
  ------------------
  |  Branch (728:5): [True: 12.0k, False: 311k]
  ------------------
  729|   104k|    case EHTokFloat4:
  ------------------
  |  Branch (729:5): [True: 12.6k, False: 311k]
  ------------------
  730|   105k|    case EHTokInt1:
  ------------------
  |  Branch (730:5): [True: 1.18k, False: 322k]
  ------------------
  731|   125k|    case EHTokInt2:
  ------------------
  |  Branch (731:5): [True: 19.6k, False: 304k]
  ------------------
  732|   128k|    case EHTokInt3:
  ------------------
  |  Branch (732:5): [True: 3.89k, False: 319k]
  ------------------
  733|   136k|    case EHTokInt4:
  ------------------
  |  Branch (733:5): [True: 8.07k, False: 315k]
  ------------------
  734|   136k|    case EHTokDouble1:
  ------------------
  |  Branch (734:5): [True: 0, False: 323k]
  ------------------
  735|   137k|    case EHTokDouble2:
  ------------------
  |  Branch (735:5): [True: 990, False: 322k]
  ------------------
  736|   138k|    case EHTokDouble3:
  ------------------
  |  Branch (736:5): [True: 946, False: 322k]
  ------------------
  737|   139k|    case EHTokDouble4:
  ------------------
  |  Branch (737:5): [True: 946, False: 322k]
  ------------------
  738|   140k|    case EHTokUint1:
  ------------------
  |  Branch (738:5): [True: 1.14k, False: 322k]
  ------------------
  739|   146k|    case EHTokUint2:
  ------------------
  |  Branch (739:5): [True: 5.87k, False: 317k]
  ------------------
  740|   149k|    case EHTokUint3:
  ------------------
  |  Branch (740:5): [True: 2.86k, False: 320k]
  ------------------
  741|   157k|    case EHTokUint4:
  ------------------
  |  Branch (741:5): [True: 7.81k, False: 315k]
  ------------------
  742|   157k|    case EHTokHalf1:
  ------------------
  |  Branch (742:5): [True: 0, False: 323k]
  ------------------
  743|   157k|    case EHTokHalf2:
  ------------------
  |  Branch (743:5): [True: 0, False: 323k]
  ------------------
  744|   157k|    case EHTokHalf3:
  ------------------
  |  Branch (744:5): [True: 0, False: 323k]
  ------------------
  745|   157k|    case EHTokHalf4:
  ------------------
  |  Branch (745:5): [True: 0, False: 323k]
  ------------------
  746|   157k|    case EHTokMin16float1:
  ------------------
  |  Branch (746:5): [True: 0, False: 323k]
  ------------------
  747|   157k|    case EHTokMin16float2:
  ------------------
  |  Branch (747:5): [True: 0, False: 323k]
  ------------------
  748|   157k|    case EHTokMin16float3:
  ------------------
  |  Branch (748:5): [True: 0, False: 323k]
  ------------------
  749|   157k|    case EHTokMin16float4:
  ------------------
  |  Branch (749:5): [True: 0, False: 323k]
  ------------------
  750|   157k|    case EHTokMin10float1:
  ------------------
  |  Branch (750:5): [True: 0, False: 323k]
  ------------------
  751|   157k|    case EHTokMin10float2:
  ------------------
  |  Branch (751:5): [True: 0, False: 323k]
  ------------------
  752|   157k|    case EHTokMin10float3:
  ------------------
  |  Branch (752:5): [True: 0, False: 323k]
  ------------------
  753|   157k|    case EHTokMin10float4:
  ------------------
  |  Branch (753:5): [True: 0, False: 323k]
  ------------------
  754|   157k|    case EHTokMin16int1:
  ------------------
  |  Branch (754:5): [True: 0, False: 323k]
  ------------------
  755|   157k|    case EHTokMin16int2:
  ------------------
  |  Branch (755:5): [True: 0, False: 323k]
  ------------------
  756|   157k|    case EHTokMin16int3:
  ------------------
  |  Branch (756:5): [True: 0, False: 323k]
  ------------------
  757|   157k|    case EHTokMin16int4:
  ------------------
  |  Branch (757:5): [True: 0, False: 323k]
  ------------------
  758|   157k|    case EHTokMin12int1:
  ------------------
  |  Branch (758:5): [True: 0, False: 323k]
  ------------------
  759|   157k|    case EHTokMin12int2:
  ------------------
  |  Branch (759:5): [True: 0, False: 323k]
  ------------------
  760|   157k|    case EHTokMin12int3:
  ------------------
  |  Branch (760:5): [True: 0, False: 323k]
  ------------------
  761|   157k|    case EHTokMin12int4:
  ------------------
  |  Branch (761:5): [True: 0, False: 323k]
  ------------------
  762|   157k|    case EHTokMin16uint1:
  ------------------
  |  Branch (762:5): [True: 0, False: 323k]
  ------------------
  763|   157k|    case EHTokMin16uint2:
  ------------------
  |  Branch (763:5): [True: 0, False: 323k]
  ------------------
  764|   157k|    case EHTokMin16uint3:
  ------------------
  |  Branch (764:5): [True: 0, False: 323k]
  ------------------
  765|   157k|    case EHTokMin16uint4:
  ------------------
  |  Branch (765:5): [True: 0, False: 323k]
  ------------------
  766|       |
  767|       |    // matrix types
  768|   157k|    case EHTokBool1x1:
  ------------------
  |  Branch (768:5): [True: 176, False: 323k]
  ------------------
  769|   157k|    case EHTokBool1x2:
  ------------------
  |  Branch (769:5): [True: 176, False: 323k]
  ------------------
  770|   158k|    case EHTokBool1x3:
  ------------------
  |  Branch (770:5): [True: 176, False: 323k]
  ------------------
  771|   158k|    case EHTokBool1x4:
  ------------------
  |  Branch (771:5): [True: 176, False: 323k]
  ------------------
  772|   158k|    case EHTokBool2x1:
  ------------------
  |  Branch (772:5): [True: 176, False: 323k]
  ------------------
  773|   158k|    case EHTokBool2x2:
  ------------------
  |  Branch (773:5): [True: 176, False: 323k]
  ------------------
  774|   158k|    case EHTokBool2x3:
  ------------------
  |  Branch (774:5): [True: 176, False: 323k]
  ------------------
  775|   158k|    case EHTokBool2x4:
  ------------------
  |  Branch (775:5): [True: 176, False: 323k]
  ------------------
  776|   159k|    case EHTokBool3x1:
  ------------------
  |  Branch (776:5): [True: 176, False: 323k]
  ------------------
  777|   159k|    case EHTokBool3x2:
  ------------------
  |  Branch (777:5): [True: 176, False: 323k]
  ------------------
  778|   159k|    case EHTokBool3x3:
  ------------------
  |  Branch (778:5): [True: 176, False: 323k]
  ------------------
  779|   159k|    case EHTokBool3x4:
  ------------------
  |  Branch (779:5): [True: 176, False: 323k]
  ------------------
  780|   159k|    case EHTokBool4x1:
  ------------------
  |  Branch (780:5): [True: 176, False: 323k]
  ------------------
  781|   160k|    case EHTokBool4x2:
  ------------------
  |  Branch (781:5): [True: 176, False: 323k]
  ------------------
  782|   160k|    case EHTokBool4x3:
  ------------------
  |  Branch (782:5): [True: 176, False: 323k]
  ------------------
  783|   160k|    case EHTokBool4x4:
  ------------------
  |  Branch (783:5): [True: 176, False: 323k]
  ------------------
  784|   162k|    case EHTokInt1x1:
  ------------------
  |  Branch (784:5): [True: 1.67k, False: 322k]
  ------------------
  785|   163k|    case EHTokInt1x2:
  ------------------
  |  Branch (785:5): [True: 1.67k, False: 322k]
  ------------------
  786|   165k|    case EHTokInt1x3:
  ------------------
  |  Branch (786:5): [True: 1.67k, False: 322k]
  ------------------
  787|   167k|    case EHTokInt1x4:
  ------------------
  |  Branch (787:5): [True: 1.67k, False: 322k]
  ------------------
  788|   168k|    case EHTokInt2x1:
  ------------------
  |  Branch (788:5): [True: 1.67k, False: 322k]
  ------------------
  789|   170k|    case EHTokInt2x2:
  ------------------
  |  Branch (789:5): [True: 1.67k, False: 322k]
  ------------------
  790|   172k|    case EHTokInt2x3:
  ------------------
  |  Branch (790:5): [True: 1.67k, False: 322k]
  ------------------
  791|   173k|    case EHTokInt2x4:
  ------------------
  |  Branch (791:5): [True: 1.67k, False: 322k]
  ------------------
  792|   175k|    case EHTokInt3x1:
  ------------------
  |  Branch (792:5): [True: 1.67k, False: 322k]
  ------------------
  793|   177k|    case EHTokInt3x2:
  ------------------
  |  Branch (793:5): [True: 1.67k, False: 322k]
  ------------------
  794|   178k|    case EHTokInt3x3:
  ------------------
  |  Branch (794:5): [True: 1.67k, False: 322k]
  ------------------
  795|   180k|    case EHTokInt3x4:
  ------------------
  |  Branch (795:5): [True: 1.67k, False: 322k]
  ------------------
  796|   182k|    case EHTokInt4x1:
  ------------------
  |  Branch (796:5): [True: 1.67k, False: 322k]
  ------------------
  797|   183k|    case EHTokInt4x2:
  ------------------
  |  Branch (797:5): [True: 1.67k, False: 322k]
  ------------------
  798|   185k|    case EHTokInt4x3:
  ------------------
  |  Branch (798:5): [True: 1.67k, False: 322k]
  ------------------
  799|   187k|    case EHTokInt4x4:
  ------------------
  |  Branch (799:5): [True: 1.67k, False: 322k]
  ------------------
  800|   188k|    case EHTokUint1x1:
  ------------------
  |  Branch (800:5): [True: 1.54k, False: 322k]
  ------------------
  801|   190k|    case EHTokUint1x2:
  ------------------
  |  Branch (801:5): [True: 1.54k, False: 322k]
  ------------------
  802|   191k|    case EHTokUint1x3:
  ------------------
  |  Branch (802:5): [True: 1.54k, False: 322k]
  ------------------
  803|   193k|    case EHTokUint1x4:
  ------------------
  |  Branch (803:5): [True: 1.54k, False: 322k]
  ------------------
  804|   194k|    case EHTokUint2x1:
  ------------------
  |  Branch (804:5): [True: 1.54k, False: 322k]
  ------------------
  805|   196k|    case EHTokUint2x2:
  ------------------
  |  Branch (805:5): [True: 1.54k, False: 322k]
  ------------------
  806|   197k|    case EHTokUint2x3:
  ------------------
  |  Branch (806:5): [True: 1.54k, False: 322k]
  ------------------
  807|   199k|    case EHTokUint2x4:
  ------------------
  |  Branch (807:5): [True: 1.54k, False: 322k]
  ------------------
  808|   200k|    case EHTokUint3x1:
  ------------------
  |  Branch (808:5): [True: 1.54k, False: 322k]
  ------------------
  809|   202k|    case EHTokUint3x2:
  ------------------
  |  Branch (809:5): [True: 1.54k, False: 322k]
  ------------------
  810|   204k|    case EHTokUint3x3:
  ------------------
  |  Branch (810:5): [True: 1.54k, False: 322k]
  ------------------
  811|   205k|    case EHTokUint3x4:
  ------------------
  |  Branch (811:5): [True: 1.54k, False: 322k]
  ------------------
  812|   207k|    case EHTokUint4x1:
  ------------------
  |  Branch (812:5): [True: 1.54k, False: 322k]
  ------------------
  813|   208k|    case EHTokUint4x2:
  ------------------
  |  Branch (813:5): [True: 1.54k, False: 322k]
  ------------------
  814|   210k|    case EHTokUint4x3:
  ------------------
  |  Branch (814:5): [True: 1.54k, False: 322k]
  ------------------
  815|   211k|    case EHTokUint4x4:
  ------------------
  |  Branch (815:5): [True: 1.54k, False: 322k]
  ------------------
  816|   215k|    case EHTokFloat1x1:
  ------------------
  |  Branch (816:5): [True: 3.56k, False: 320k]
  ------------------
  817|   218k|    case EHTokFloat1x2:
  ------------------
  |  Branch (817:5): [True: 3.56k, False: 320k]
  ------------------
  818|   222k|    case EHTokFloat1x3:
  ------------------
  |  Branch (818:5): [True: 3.56k, False: 320k]
  ------------------
  819|   226k|    case EHTokFloat1x4:
  ------------------
  |  Branch (819:5): [True: 3.56k, False: 320k]
  ------------------
  820|   229k|    case EHTokFloat2x1:
  ------------------
  |  Branch (820:5): [True: 3.56k, False: 320k]
  ------------------
  821|   233k|    case EHTokFloat2x2:
  ------------------
  |  Branch (821:5): [True: 3.56k, False: 320k]
  ------------------
  822|   236k|    case EHTokFloat2x3:
  ------------------
  |  Branch (822:5): [True: 3.56k, False: 320k]
  ------------------
  823|   240k|    case EHTokFloat2x4:
  ------------------
  |  Branch (823:5): [True: 3.56k, False: 320k]
  ------------------
  824|   243k|    case EHTokFloat3x1:
  ------------------
  |  Branch (824:5): [True: 3.56k, False: 320k]
  ------------------
  825|   247k|    case EHTokFloat3x2:
  ------------------
  |  Branch (825:5): [True: 3.56k, False: 320k]
  ------------------
  826|   250k|    case EHTokFloat3x3:
  ------------------
  |  Branch (826:5): [True: 3.56k, False: 320k]
  ------------------
  827|   254k|    case EHTokFloat3x4:
  ------------------
  |  Branch (827:5): [True: 3.56k, False: 320k]
  ------------------
  828|   258k|    case EHTokFloat4x1:
  ------------------
  |  Branch (828:5): [True: 3.56k, False: 320k]
  ------------------
  829|   261k|    case EHTokFloat4x2:
  ------------------
  |  Branch (829:5): [True: 3.56k, False: 320k]
  ------------------
  830|   265k|    case EHTokFloat4x3:
  ------------------
  |  Branch (830:5): [True: 3.56k, False: 320k]
  ------------------
  831|   268k|    case EHTokFloat4x4:
  ------------------
  |  Branch (831:5): [True: 3.56k, False: 320k]
  ------------------
  832|   268k|    case EHTokHalf1x1:
  ------------------
  |  Branch (832:5): [True: 0, False: 323k]
  ------------------
  833|   268k|    case EHTokHalf1x2:
  ------------------
  |  Branch (833:5): [True: 0, False: 323k]
  ------------------
  834|   268k|    case EHTokHalf1x3:
  ------------------
  |  Branch (834:5): [True: 0, False: 323k]
  ------------------
  835|   268k|    case EHTokHalf1x4:
  ------------------
  |  Branch (835:5): [True: 0, False: 323k]
  ------------------
  836|   268k|    case EHTokHalf2x1:
  ------------------
  |  Branch (836:5): [True: 0, False: 323k]
  ------------------
  837|   268k|    case EHTokHalf2x2:
  ------------------
  |  Branch (837:5): [True: 0, False: 323k]
  ------------------
  838|   268k|    case EHTokHalf2x3:
  ------------------
  |  Branch (838:5): [True: 0, False: 323k]
  ------------------
  839|   268k|    case EHTokHalf2x4:
  ------------------
  |  Branch (839:5): [True: 0, False: 323k]
  ------------------
  840|   268k|    case EHTokHalf3x1:
  ------------------
  |  Branch (840:5): [True: 0, False: 323k]
  ------------------
  841|   268k|    case EHTokHalf3x2:
  ------------------
  |  Branch (841:5): [True: 0, False: 323k]
  ------------------
  842|   268k|    case EHTokHalf3x3:
  ------------------
  |  Branch (842:5): [True: 0, False: 323k]
  ------------------
  843|   268k|    case EHTokHalf3x4:
  ------------------
  |  Branch (843:5): [True: 0, False: 323k]
  ------------------
  844|   268k|    case EHTokHalf4x1:
  ------------------
  |  Branch (844:5): [True: 0, False: 323k]
  ------------------
  845|   268k|    case EHTokHalf4x2:
  ------------------
  |  Branch (845:5): [True: 0, False: 323k]
  ------------------
  846|   268k|    case EHTokHalf4x3:
  ------------------
  |  Branch (846:5): [True: 0, False: 323k]
  ------------------
  847|   268k|    case EHTokHalf4x4:
  ------------------
  |  Branch (847:5): [True: 0, False: 323k]
  ------------------
  848|   269k|    case EHTokDouble1x1:
  ------------------
  |  Branch (848:5): [True: 264, False: 323k]
  ------------------
  849|   269k|    case EHTokDouble1x2:
  ------------------
  |  Branch (849:5): [True: 264, False: 323k]
  ------------------
  850|   269k|    case EHTokDouble1x3:
  ------------------
  |  Branch (850:5): [True: 264, False: 323k]
  ------------------
  851|   269k|    case EHTokDouble1x4:
  ------------------
  |  Branch (851:5): [True: 264, False: 323k]
  ------------------
  852|   270k|    case EHTokDouble2x1:
  ------------------
  |  Branch (852:5): [True: 264, False: 323k]
  ------------------
  853|   270k|    case EHTokDouble2x2:
  ------------------
  |  Branch (853:5): [True: 264, False: 323k]
  ------------------
  854|   270k|    case EHTokDouble2x3:
  ------------------
  |  Branch (854:5): [True: 264, False: 323k]
  ------------------
  855|   270k|    case EHTokDouble2x4:
  ------------------
  |  Branch (855:5): [True: 264, False: 323k]
  ------------------
  856|   271k|    case EHTokDouble3x1:
  ------------------
  |  Branch (856:5): [True: 264, False: 323k]
  ------------------
  857|   271k|    case EHTokDouble3x2:
  ------------------
  |  Branch (857:5): [True: 264, False: 323k]
  ------------------
  858|   271k|    case EHTokDouble3x3:
  ------------------
  |  Branch (858:5): [True: 264, False: 323k]
  ------------------
  859|   271k|    case EHTokDouble3x4:
  ------------------
  |  Branch (859:5): [True: 264, False: 323k]
  ------------------
  860|   272k|    case EHTokDouble4x1:
  ------------------
  |  Branch (860:5): [True: 264, False: 323k]
  ------------------
  861|   272k|    case EHTokDouble4x2:
  ------------------
  |  Branch (861:5): [True: 264, False: 323k]
  ------------------
  862|   272k|    case EHTokDouble4x3:
  ------------------
  |  Branch (862:5): [True: 264, False: 323k]
  ------------------
  863|   272k|    case EHTokDouble4x4:
  ------------------
  |  Branch (863:5): [True: 264, False: 323k]
  ------------------
  864|   272k|    case EHTokMin16float1x1:
  ------------------
  |  Branch (864:5): [True: 0, False: 323k]
  ------------------
  865|   272k|    case EHTokMin16float1x2:
  ------------------
  |  Branch (865:5): [True: 0, False: 323k]
  ------------------
  866|   272k|    case EHTokMin16float1x3:
  ------------------
  |  Branch (866:5): [True: 0, False: 323k]
  ------------------
  867|   272k|    case EHTokMin16float1x4:
  ------------------
  |  Branch (867:5): [True: 0, False: 323k]
  ------------------
  868|   272k|    case EHTokMin16float2x1:
  ------------------
  |  Branch (868:5): [True: 0, False: 323k]
  ------------------
  869|   272k|    case EHTokMin16float2x2:
  ------------------
  |  Branch (869:5): [True: 0, False: 323k]
  ------------------
  870|   272k|    case EHTokMin16float2x3:
  ------------------
  |  Branch (870:5): [True: 0, False: 323k]
  ------------------
  871|   272k|    case EHTokMin16float2x4:
  ------------------
  |  Branch (871:5): [True: 0, False: 323k]
  ------------------
  872|   272k|    case EHTokMin16float3x1:
  ------------------
  |  Branch (872:5): [True: 0, False: 323k]
  ------------------
  873|   272k|    case EHTokMin16float3x2:
  ------------------
  |  Branch (873:5): [True: 0, False: 323k]
  ------------------
  874|   272k|    case EHTokMin16float3x3:
  ------------------
  |  Branch (874:5): [True: 0, False: 323k]
  ------------------
  875|   272k|    case EHTokMin16float3x4:
  ------------------
  |  Branch (875:5): [True: 0, False: 323k]
  ------------------
  876|   272k|    case EHTokMin16float4x1:
  ------------------
  |  Branch (876:5): [True: 0, False: 323k]
  ------------------
  877|   272k|    case EHTokMin16float4x2:
  ------------------
  |  Branch (877:5): [True: 0, False: 323k]
  ------------------
  878|   272k|    case EHTokMin16float4x3:
  ------------------
  |  Branch (878:5): [True: 0, False: 323k]
  ------------------
  879|   272k|    case EHTokMin16float4x4:
  ------------------
  |  Branch (879:5): [True: 0, False: 323k]
  ------------------
  880|   272k|    case EHTokMin10float1x1:
  ------------------
  |  Branch (880:5): [True: 0, False: 323k]
  ------------------
  881|   272k|    case EHTokMin10float1x2:
  ------------------
  |  Branch (881:5): [True: 0, False: 323k]
  ------------------
  882|   272k|    case EHTokMin10float1x3:
  ------------------
  |  Branch (882:5): [True: 0, False: 323k]
  ------------------
  883|   272k|    case EHTokMin10float1x4:
  ------------------
  |  Branch (883:5): [True: 0, False: 323k]
  ------------------
  884|   272k|    case EHTokMin10float2x1:
  ------------------
  |  Branch (884:5): [True: 0, False: 323k]
  ------------------
  885|   272k|    case EHTokMin10float2x2:
  ------------------
  |  Branch (885:5): [True: 0, False: 323k]
  ------------------
  886|   272k|    case EHTokMin10float2x3:
  ------------------
  |  Branch (886:5): [True: 0, False: 323k]
  ------------------
  887|   272k|    case EHTokMin10float2x4:
  ------------------
  |  Branch (887:5): [True: 0, False: 323k]
  ------------------
  888|   272k|    case EHTokMin10float3x1:
  ------------------
  |  Branch (888:5): [True: 0, False: 323k]
  ------------------
  889|   272k|    case EHTokMin10float3x2:
  ------------------
  |  Branch (889:5): [True: 0, False: 323k]
  ------------------
  890|   272k|    case EHTokMin10float3x3:
  ------------------
  |  Branch (890:5): [True: 0, False: 323k]
  ------------------
  891|   272k|    case EHTokMin10float3x4:
  ------------------
  |  Branch (891:5): [True: 0, False: 323k]
  ------------------
  892|   272k|    case EHTokMin10float4x1:
  ------------------
  |  Branch (892:5): [True: 0, False: 323k]
  ------------------
  893|   272k|    case EHTokMin10float4x2:
  ------------------
  |  Branch (893:5): [True: 0, False: 323k]
  ------------------
  894|   272k|    case EHTokMin10float4x3:
  ------------------
  |  Branch (894:5): [True: 0, False: 323k]
  ------------------
  895|   272k|    case EHTokMin10float4x4:
  ------------------
  |  Branch (895:5): [True: 0, False: 323k]
  ------------------
  896|   272k|    case EHTokMin16int1x1:
  ------------------
  |  Branch (896:5): [True: 0, False: 323k]
  ------------------
  897|   272k|    case EHTokMin16int1x2:
  ------------------
  |  Branch (897:5): [True: 0, False: 323k]
  ------------------
  898|   272k|    case EHTokMin16int1x3:
  ------------------
  |  Branch (898:5): [True: 0, False: 323k]
  ------------------
  899|   272k|    case EHTokMin16int1x4:
  ------------------
  |  Branch (899:5): [True: 0, False: 323k]
  ------------------
  900|   272k|    case EHTokMin16int2x1:
  ------------------
  |  Branch (900:5): [True: 0, False: 323k]
  ------------------
  901|   272k|    case EHTokMin16int2x2:
  ------------------
  |  Branch (901:5): [True: 0, False: 323k]
  ------------------
  902|   272k|    case EHTokMin16int2x3:
  ------------------
  |  Branch (902:5): [True: 0, False: 323k]
  ------------------
  903|   272k|    case EHTokMin16int2x4:
  ------------------
  |  Branch (903:5): [True: 0, False: 323k]
  ------------------
  904|   272k|    case EHTokMin16int3x1:
  ------------------
  |  Branch (904:5): [True: 0, False: 323k]
  ------------------
  905|   272k|    case EHTokMin16int3x2:
  ------------------
  |  Branch (905:5): [True: 0, False: 323k]
  ------------------
  906|   272k|    case EHTokMin16int3x3:
  ------------------
  |  Branch (906:5): [True: 0, False: 323k]
  ------------------
  907|   272k|    case EHTokMin16int3x4:
  ------------------
  |  Branch (907:5): [True: 0, False: 323k]
  ------------------
  908|   272k|    case EHTokMin16int4x1:
  ------------------
  |  Branch (908:5): [True: 0, False: 323k]
  ------------------
  909|   272k|    case EHTokMin16int4x2:
  ------------------
  |  Branch (909:5): [True: 0, False: 323k]
  ------------------
  910|   272k|    case EHTokMin16int4x3:
  ------------------
  |  Branch (910:5): [True: 0, False: 323k]
  ------------------
  911|   272k|    case EHTokMin16int4x4:
  ------------------
  |  Branch (911:5): [True: 0, False: 323k]
  ------------------
  912|   272k|    case EHTokMin12int1x1:
  ------------------
  |  Branch (912:5): [True: 0, False: 323k]
  ------------------
  913|   272k|    case EHTokMin12int1x2:
  ------------------
  |  Branch (913:5): [True: 0, False: 323k]
  ------------------
  914|   272k|    case EHTokMin12int1x3:
  ------------------
  |  Branch (914:5): [True: 0, False: 323k]
  ------------------
  915|   272k|    case EHTokMin12int1x4:
  ------------------
  |  Branch (915:5): [True: 0, False: 323k]
  ------------------
  916|   272k|    case EHTokMin12int2x1:
  ------------------
  |  Branch (916:5): [True: 0, False: 323k]
  ------------------
  917|   272k|    case EHTokMin12int2x2:
  ------------------
  |  Branch (917:5): [True: 0, False: 323k]
  ------------------
  918|   272k|    case EHTokMin12int2x3:
  ------------------
  |  Branch (918:5): [True: 0, False: 323k]
  ------------------
  919|   272k|    case EHTokMin12int2x4:
  ------------------
  |  Branch (919:5): [True: 0, False: 323k]
  ------------------
  920|   272k|    case EHTokMin12int3x1:
  ------------------
  |  Branch (920:5): [True: 0, False: 323k]
  ------------------
  921|   272k|    case EHTokMin12int3x2:
  ------------------
  |  Branch (921:5): [True: 0, False: 323k]
  ------------------
  922|   272k|    case EHTokMin12int3x3:
  ------------------
  |  Branch (922:5): [True: 0, False: 323k]
  ------------------
  923|   272k|    case EHTokMin12int3x4:
  ------------------
  |  Branch (923:5): [True: 0, False: 323k]
  ------------------
  924|   272k|    case EHTokMin12int4x1:
  ------------------
  |  Branch (924:5): [True: 0, False: 323k]
  ------------------
  925|   272k|    case EHTokMin12int4x2:
  ------------------
  |  Branch (925:5): [True: 0, False: 323k]
  ------------------
  926|   272k|    case EHTokMin12int4x3:
  ------------------
  |  Branch (926:5): [True: 0, False: 323k]
  ------------------
  927|   272k|    case EHTokMin12int4x4:
  ------------------
  |  Branch (927:5): [True: 0, False: 323k]
  ------------------
  928|   272k|    case EHTokMin16uint1x1:
  ------------------
  |  Branch (928:5): [True: 0, False: 323k]
  ------------------
  929|   272k|    case EHTokMin16uint1x2:
  ------------------
  |  Branch (929:5): [True: 0, False: 323k]
  ------------------
  930|   272k|    case EHTokMin16uint1x3:
  ------------------
  |  Branch (930:5): [True: 0, False: 323k]
  ------------------
  931|   272k|    case EHTokMin16uint1x4:
  ------------------
  |  Branch (931:5): [True: 0, False: 323k]
  ------------------
  932|   272k|    case EHTokMin16uint2x1:
  ------------------
  |  Branch (932:5): [True: 0, False: 323k]
  ------------------
  933|   272k|    case EHTokMin16uint2x2:
  ------------------
  |  Branch (933:5): [True: 0, False: 323k]
  ------------------
  934|   272k|    case EHTokMin16uint2x3:
  ------------------
  |  Branch (934:5): [True: 0, False: 323k]
  ------------------
  935|   272k|    case EHTokMin16uint2x4:
  ------------------
  |  Branch (935:5): [True: 0, False: 323k]
  ------------------
  936|   272k|    case EHTokMin16uint3x1:
  ------------------
  |  Branch (936:5): [True: 0, False: 323k]
  ------------------
  937|   272k|    case EHTokMin16uint3x2:
  ------------------
  |  Branch (937:5): [True: 0, False: 323k]
  ------------------
  938|   272k|    case EHTokMin16uint3x3:
  ------------------
  |  Branch (938:5): [True: 0, False: 323k]
  ------------------
  939|   272k|    case EHTokMin16uint3x4:
  ------------------
  |  Branch (939:5): [True: 0, False: 323k]
  ------------------
  940|   272k|    case EHTokMin16uint4x1:
  ------------------
  |  Branch (940:5): [True: 0, False: 323k]
  ------------------
  941|   272k|    case EHTokMin16uint4x2:
  ------------------
  |  Branch (941:5): [True: 0, False: 323k]
  ------------------
  942|   272k|    case EHTokMin16uint4x3:
  ------------------
  |  Branch (942:5): [True: 0, False: 323k]
  ------------------
  943|   272k|    case EHTokMin16uint4x4:
  ------------------
  |  Branch (943:5): [True: 0, False: 323k]
  ------------------
  944|   272k|        return keyword;
  945|       |
  946|       |    // texturing types
  947|  8.05k|    case EHTokSampler:
  ------------------
  |  Branch (947:5): [True: 8.05k, False: 315k]
  ------------------
  948|  8.05k|    case EHTokSampler1d:
  ------------------
  |  Branch (948:5): [True: 0, False: 323k]
  ------------------
  949|  8.18k|    case EHTokSampler2d:
  ------------------
  |  Branch (949:5): [True: 132, False: 323k]
  ------------------
  950|  8.31k|    case EHTokSampler3d:
  ------------------
  |  Branch (950:5): [True: 132, False: 323k]
  ------------------
  951|  8.44k|    case EHTokSamplerCube:
  ------------------
  |  Branch (951:5): [True: 132, False: 323k]
  ------------------
  952|  8.44k|    case EHTokSamplerState:
  ------------------
  |  Branch (952:5): [True: 0, False: 323k]
  ------------------
  953|  13.7k|    case EHTokSamplerComparisonState:
  ------------------
  |  Branch (953:5): [True: 5.28k, False: 318k]
  ------------------
  954|  13.7k|    case EHTokTexture:
  ------------------
  |  Branch (954:5): [True: 0, False: 323k]
  ------------------
  955|  15.0k|    case EHTokTexture1d:
  ------------------
  |  Branch (955:5): [True: 1.32k, False: 322k]
  ------------------
  956|  16.3k|    case EHTokTexture1darray:
  ------------------
  |  Branch (956:5): [True: 1.32k, False: 322k]
  ------------------
  957|  20.7k|    case EHTokTexture2d:
  ------------------
  |  Branch (957:5): [True: 4.42k, False: 319k]
  ------------------
  958|  25.2k|    case EHTokTexture2darray:
  ------------------
  |  Branch (958:5): [True: 4.42k, False: 319k]
  ------------------
  959|  26.2k|    case EHTokTexture3d:
  ------------------
  |  Branch (959:5): [True: 1.05k, False: 322k]
  ------------------
  960|  27.7k|    case EHTokTextureCube:
  ------------------
  |  Branch (960:5): [True: 1.45k, False: 322k]
  ------------------
  961|  29.1k|    case EHTokTextureCubearray:
  ------------------
  |  Branch (961:5): [True: 1.45k, False: 322k]
  ------------------
  962|  29.5k|    case EHTokTexture2DMS:
  ------------------
  |  Branch (962:5): [True: 330, False: 323k]
  ------------------
  963|  29.8k|    case EHTokTexture2DMSarray:
  ------------------
  |  Branch (963:5): [True: 330, False: 323k]
  ------------------
  964|  30.0k|    case EHTokRWTexture1d:
  ------------------
  |  Branch (964:5): [True: 198, False: 323k]
  ------------------
  965|  30.2k|    case EHTokRWTexture1darray:
  ------------------
  |  Branch (965:5): [True: 198, False: 323k]
  ------------------
  966|  30.4k|    case EHTokRWTexture2d:
  ------------------
  |  Branch (966:5): [True: 198, False: 323k]
  ------------------
  967|  30.6k|    case EHTokRWTexture2darray:
  ------------------
  |  Branch (967:5): [True: 198, False: 323k]
  ------------------
  968|  30.8k|    case EHTokRWTexture3d:
  ------------------
  |  Branch (968:5): [True: 198, False: 323k]
  ------------------
  969|  31.0k|    case EHTokRWBuffer:
  ------------------
  |  Branch (969:5): [True: 198, False: 323k]
  ------------------
  970|  31.0k|    case EHTokAppendStructuredBuffer:
  ------------------
  |  Branch (970:5): [True: 0, False: 323k]
  ------------------
  971|  31.0k|    case EHTokByteAddressBuffer:
  ------------------
  |  Branch (971:5): [True: 0, False: 323k]
  ------------------
  972|  31.0k|    case EHTokConsumeStructuredBuffer:
  ------------------
  |  Branch (972:5): [True: 0, False: 323k]
  ------------------
  973|  31.0k|    case EHTokRWByteAddressBuffer:
  ------------------
  |  Branch (973:5): [True: 0, False: 323k]
  ------------------
  974|  31.0k|    case EHTokRWStructuredBuffer:
  ------------------
  |  Branch (974:5): [True: 0, False: 323k]
  ------------------
  975|  31.0k|    case EHTokStructuredBuffer:
  ------------------
  |  Branch (975:5): [True: 0, False: 323k]
  ------------------
  976|  31.0k|    case EHTokTextureBuffer:
  ------------------
  |  Branch (976:5): [True: 0, False: 323k]
  ------------------
  977|  31.2k|    case EHTokSubpassInput:
  ------------------
  |  Branch (977:5): [True: 264, False: 323k]
  ------------------
  978|  31.5k|    case EHTokSubpassInputMS:
  ------------------
  |  Branch (978:5): [True: 264, False: 323k]
  ------------------
  979|  31.5k|        return keyword;
  980|       |
  981|       |    // variable, user type, ...
  982|      0|    case EHTokClass:
  ------------------
  |  Branch (982:5): [True: 0, False: 323k]
  ------------------
  983|      0|    case EHTokStruct:
  ------------------
  |  Branch (983:5): [True: 0, False: 323k]
  ------------------
  984|      0|    case EHTokTypedef:
  ------------------
  |  Branch (984:5): [True: 0, False: 323k]
  ------------------
  985|      0|    case EHTokCBuffer:
  ------------------
  |  Branch (985:5): [True: 0, False: 323k]
  ------------------
  986|      0|    case EHTokConstantBuffer:
  ------------------
  |  Branch (986:5): [True: 0, False: 323k]
  ------------------
  987|      0|    case EHTokTBuffer:
  ------------------
  |  Branch (987:5): [True: 0, False: 323k]
  ------------------
  988|      0|    case EHTokThis:
  ------------------
  |  Branch (988:5): [True: 0, False: 323k]
  ------------------
  989|      0|    case EHTokNamespace:
  ------------------
  |  Branch (989:5): [True: 0, False: 323k]
  ------------------
  990|      0|        return keyword;
  991|       |
  992|      0|    case EHTokBoolConstant:
  ------------------
  |  Branch (992:5): [True: 0, False: 323k]
  ------------------
  993|      0|        if (strcmp("true", tokenText) == 0)
  ------------------
  |  Branch (993:13): [True: 0, False: 0]
  ------------------
  994|      0|            parserToken->b = true;
  995|      0|        else
  996|      0|            parserToken->b = false;
  997|      0|        return keyword;
  998|       |
  999|       |    // control flow
 1000|      0|    case EHTokFor:
  ------------------
  |  Branch (1000:5): [True: 0, False: 323k]
  ------------------
 1001|      0|    case EHTokDo:
  ------------------
  |  Branch (1001:5): [True: 0, False: 323k]
  ------------------
 1002|      0|    case EHTokWhile:
  ------------------
  |  Branch (1002:5): [True: 0, False: 323k]
  ------------------
 1003|      0|    case EHTokBreak:
  ------------------
  |  Branch (1003:5): [True: 0, False: 323k]
  ------------------
 1004|      0|    case EHTokContinue:
  ------------------
  |  Branch (1004:5): [True: 0, False: 323k]
  ------------------
 1005|      0|    case EHTokIf:
  ------------------
  |  Branch (1005:5): [True: 0, False: 323k]
  ------------------
 1006|      0|    case EHTokElse:
  ------------------
  |  Branch (1006:5): [True: 0, False: 323k]
  ------------------
 1007|      0|    case EHTokDiscard:
  ------------------
  |  Branch (1007:5): [True: 0, False: 323k]
  ------------------
 1008|      0|    case EHTokReturn:
  ------------------
  |  Branch (1008:5): [True: 0, False: 323k]
  ------------------
 1009|      0|    case EHTokCase:
  ------------------
  |  Branch (1009:5): [True: 0, False: 323k]
  ------------------
 1010|      0|    case EHTokSwitch:
  ------------------
  |  Branch (1010:5): [True: 0, False: 323k]
  ------------------
 1011|      0|    case EHTokDefault:
  ------------------
  |  Branch (1011:5): [True: 0, False: 323k]
  ------------------
 1012|      0|        return keyword;
 1013|       |
 1014|      0|    default:
  ------------------
  |  Branch (1014:5): [True: 0, False: 323k]
  ------------------
 1015|      0|        parseContext.infoSink.info.message(EPrefixInternalError, "Unknown glslang keyword", loc);
 1016|      0|        return EHTokNone;
 1017|   323k|    }
 1018|   323k|}
_ZN7glslang15HlslScanContext16identifierOrTypeEv:
 1021|  88.0k|{
 1022|  88.0k|    parserToken->string = NewPoolTString(tokenText);
 1023|       |
 1024|  88.0k|    return EHTokIdentifier;
 1025|  88.0k|}
hlslScanContext.cpp:_ZNK12_GLOBAL__N_18str_hashclEPKc:
   68|   824k|    {
   69|       |        // djb2
   70|   824k|        unsigned long hash = 5381;
   71|   824k|        int c;
   72|       |
   73|  6.69M|        while ((c = *str++) != 0)
  ------------------
  |  Branch (73:16): [True: 5.87M, False: 824k]
  ------------------
   74|  5.87M|            hash = ((hash << 5) + hash) + c;
   75|       |
   76|   824k|        return hash;
   77|   824k|    }
hlslScanContext.cpp:_ZNK12_GLOBAL__N_16str_eqclEPKcS2_:
   60|   323k|    {
   61|   323k|        return strcmp(lhs, rhs) == 0;
   62|   323k|    }

_ZN7glslang9HlslTokenC2Ev:
   57|   572k|    HlslToken() : string(nullptr) { loc.init(); }
_ZN7glslang15HlslScanContextC2ERNS_17TParseContextBaseERNS_10TPpContextE:
   85|     44|        : parseContext(parseContext), ppContext(ppContext) { }
_ZN7glslang15HlslScanContextD2Ev:
   86|     44|    virtual ~HlslScanContext() { }

_ZN7glslang15HlslTokenStream15pushTokenBufferERKNS_9HlslTokenE:
   54|   822k|{
   55|   822k|    tokenBuffer[tokenBufferPos] = tok;
   56|   822k|    tokenBufferPos = (tokenBufferPos+1) % tokenBufferSize;
   57|   822k|}
_ZN7glslang15HlslTokenStream12advanceTokenEv:
  102|   822k|{
  103|   822k|    pushTokenBuffer(token);
  104|   822k|    if (preTokenStackSize > 0)
  ------------------
  |  Branch (104:9): [True: 0, False: 822k]
  ------------------
  105|      0|        token = popPreToken();
  106|   822k|    else {
  107|   822k|        if (tokenStreamStack.size() == 0)
  ------------------
  |  Branch (107:13): [True: 822k, False: 0]
  ------------------
  108|   822k|            scanner.tokenize(token);
  109|      0|        else {
  110|      0|            ++tokenPosition.back();
  111|      0|            if (tokenPosition.back() >= (int)tokenStreamStack.back()->size())
  ------------------
  |  Branch (111:17): [True: 0, False: 0]
  ------------------
  112|      0|                token.tokenClass = EHTokNone;
  113|      0|            else
  114|      0|                token = (*tokenStreamStack.back())[tokenPosition.back()];
  115|      0|        }
  116|   822k|    }
  117|   822k|}
_ZNK7glslang15HlslTokenStream4peekEv:
  127|  4.89M|{
  128|  4.89M|    return token.tokenClass;
  129|  4.89M|}
_ZNK7glslang15HlslTokenStream14peekTokenClassENS_15EHlslTokenClassE:
  134|  3.38M|{
  135|  3.38M|    return peek() == tokenClass;
  136|  3.38M|}
_ZN7glslang15HlslTokenStream16acceptTokenClassENS_15EHlslTokenClassE:
  141|  1.70M|{
  142|  1.70M|    if (peekTokenClass(tokenClass)) {
  ------------------
  |  Branch (142:9): [True: 411k, False: 1.29M]
  ------------------
  143|   411k|        advanceToken();
  144|   411k|        return true;
  145|   411k|    }
  146|       |
  147|  1.29M|    return false;
  148|  1.70M|}

_ZN7glslang15HlslTokenStreamC2ERNS_15HlslScanContextE:
   46|     44|            : scanner(scanner), preTokenStackSize(0), tokenBufferPos(0) { }
_ZN7glslang15HlslTokenStreamD2Ev:
   47|     44|        virtual ~HlslTokenStream() { }

_ZNK7glslang20TIntermConstantUnion4foldENS_9TOperatorERKNS_5TTypeE:
  389|      2|{
  390|       |    // First, size the result, which is mostly the same as the argument's size,
  391|       |    // but not always, and classify what is componentwise.
  392|       |    // Also, eliminate cases that can't be compile-time constant.
  393|      2|    int resultSize;
  394|      2|    bool componentWise = true;
  395|       |
  396|      2|    int objectSize = getType().computeNumComponents();
  397|      2|    switch (op) {
  398|      0|    case EOpDeterminant:
  ------------------
  |  Branch (398:5): [True: 0, False: 2]
  ------------------
  399|      0|    case EOpAny:
  ------------------
  |  Branch (399:5): [True: 0, False: 2]
  ------------------
  400|      0|    case EOpAll:
  ------------------
  |  Branch (400:5): [True: 0, False: 2]
  ------------------
  401|      0|    case EOpLength:
  ------------------
  |  Branch (401:5): [True: 0, False: 2]
  ------------------
  402|      0|        componentWise = false;
  403|      0|        resultSize = 1;
  404|      0|        break;
  405|       |
  406|      0|    case EOpEmitStreamVertex:
  ------------------
  |  Branch (406:5): [True: 0, False: 2]
  ------------------
  407|      0|    case EOpEndStreamPrimitive:
  ------------------
  |  Branch (407:5): [True: 0, False: 2]
  ------------------
  408|       |        // These don't fold
  409|      0|        return nullptr;
  410|       |
  411|      0|    case EOpPackSnorm2x16:
  ------------------
  |  Branch (411:5): [True: 0, False: 2]
  ------------------
  412|      0|    case EOpPackUnorm2x16:
  ------------------
  |  Branch (412:5): [True: 0, False: 2]
  ------------------
  413|      0|    case EOpPackHalf2x16:
  ------------------
  |  Branch (413:5): [True: 0, False: 2]
  ------------------
  414|      0|        componentWise = false;
  415|      0|        resultSize = 1;
  416|      0|        break;
  417|       |
  418|      0|    case EOpUnpackSnorm2x16:
  ------------------
  |  Branch (418:5): [True: 0, False: 2]
  ------------------
  419|      0|    case EOpUnpackUnorm2x16:
  ------------------
  |  Branch (419:5): [True: 0, False: 2]
  ------------------
  420|      0|    case EOpUnpackHalf2x16:
  ------------------
  |  Branch (420:5): [True: 0, False: 2]
  ------------------
  421|      0|        componentWise = false;
  422|      0|        resultSize = 2;
  423|      0|        break;
  424|       |
  425|      0|    case EOpPack16:
  ------------------
  |  Branch (425:5): [True: 0, False: 2]
  ------------------
  426|      0|    case EOpPack32:
  ------------------
  |  Branch (426:5): [True: 0, False: 2]
  ------------------
  427|      0|    case EOpPack64:
  ------------------
  |  Branch (427:5): [True: 0, False: 2]
  ------------------
  428|      0|    case EOpUnpack32:
  ------------------
  |  Branch (428:5): [True: 0, False: 2]
  ------------------
  429|      0|    case EOpUnpack16:
  ------------------
  |  Branch (429:5): [True: 0, False: 2]
  ------------------
  430|      0|    case EOpUnpack8:
  ------------------
  |  Branch (430:5): [True: 0, False: 2]
  ------------------
  431|      0|    case EOpNormalize:
  ------------------
  |  Branch (431:5): [True: 0, False: 2]
  ------------------
  432|      0|        componentWise = false;
  433|      0|        resultSize = objectSize;
  434|      0|        break;
  435|       |
  436|      2|    default:
  ------------------
  |  Branch (436:5): [True: 2, False: 0]
  ------------------
  437|      2|        resultSize = objectSize;
  438|      2|        break;
  439|      2|    }
  440|       |
  441|       |    // Set up for processing
  442|      2|    TConstUnionArray newConstArray(resultSize);
  443|      2|    const TConstUnionArray& unionArray = getConstArray();
  444|       |
  445|       |    // Process non-component-wise operations
  446|      2|    switch (op) {
  447|      0|    case EOpLength:
  ------------------
  |  Branch (447:5): [True: 0, False: 2]
  ------------------
  448|      0|    case EOpNormalize:
  ------------------
  |  Branch (448:5): [True: 0, False: 2]
  ------------------
  449|      0|    {
  450|      0|        double sum = 0;
  451|      0|        for (int i = 0; i < objectSize; i++)
  ------------------
  |  Branch (451:25): [True: 0, False: 0]
  ------------------
  452|      0|            sum += unionArray[i].getDConst() * unionArray[i].getDConst();
  453|      0|        double length = sqrt(sum);
  454|      0|        if (op == EOpLength)
  ------------------
  |  Branch (454:13): [True: 0, False: 0]
  ------------------
  455|      0|            newConstArray[0].setDConst(length);
  456|      0|        else {
  457|      0|            for (int i = 0; i < objectSize; i++)
  ------------------
  |  Branch (457:29): [True: 0, False: 0]
  ------------------
  458|      0|                newConstArray[i].setDConst(unionArray[i].getDConst() / length);
  459|      0|        }
  460|      0|        break;
  461|      0|    }
  462|       |
  463|      0|    case EOpAny:
  ------------------
  |  Branch (463:5): [True: 0, False: 2]
  ------------------
  464|      0|    {
  465|      0|        bool result = false;
  466|      0|        for (int i = 0; i < objectSize; i++) {
  ------------------
  |  Branch (466:25): [True: 0, False: 0]
  ------------------
  467|      0|            if (unionArray[i].getBConst())
  ------------------
  |  Branch (467:17): [True: 0, False: 0]
  ------------------
  468|      0|                result = true;
  469|      0|        }
  470|      0|        newConstArray[0].setBConst(result);
  471|      0|        break;
  472|      0|    }
  473|      0|    case EOpAll:
  ------------------
  |  Branch (473:5): [True: 0, False: 2]
  ------------------
  474|      0|    {
  475|      0|        bool result = true;
  476|      0|        for (int i = 0; i < objectSize; i++) {
  ------------------
  |  Branch (476:25): [True: 0, False: 0]
  ------------------
  477|      0|            if (! unionArray[i].getBConst())
  ------------------
  |  Branch (477:17): [True: 0, False: 0]
  ------------------
  478|      0|                result = false;
  479|      0|        }
  480|      0|        newConstArray[0].setBConst(result);
  481|      0|        break;
  482|      0|    }
  483|       |
  484|      0|    case EOpPackSnorm2x16:
  ------------------
  |  Branch (484:5): [True: 0, False: 2]
  ------------------
  485|      0|    case EOpPackUnorm2x16:
  ------------------
  |  Branch (485:5): [True: 0, False: 2]
  ------------------
  486|      0|    case EOpPackHalf2x16:
  ------------------
  |  Branch (486:5): [True: 0, False: 2]
  ------------------
  487|      0|    case EOpPack16:
  ------------------
  |  Branch (487:5): [True: 0, False: 2]
  ------------------
  488|      0|    case EOpPack32:
  ------------------
  |  Branch (488:5): [True: 0, False: 2]
  ------------------
  489|      0|    case EOpPack64:
  ------------------
  |  Branch (489:5): [True: 0, False: 2]
  ------------------
  490|      0|    case EOpUnpack32:
  ------------------
  |  Branch (490:5): [True: 0, False: 2]
  ------------------
  491|      0|    case EOpUnpack16:
  ------------------
  |  Branch (491:5): [True: 0, False: 2]
  ------------------
  492|      0|    case EOpUnpack8:
  ------------------
  |  Branch (492:5): [True: 0, False: 2]
  ------------------
  493|       |
  494|      0|    case EOpUnpackSnorm2x16:
  ------------------
  |  Branch (494:5): [True: 0, False: 2]
  ------------------
  495|      0|    case EOpUnpackUnorm2x16:
  ------------------
  |  Branch (495:5): [True: 0, False: 2]
  ------------------
  496|      0|    case EOpUnpackHalf2x16:
  ------------------
  |  Branch (496:5): [True: 0, False: 2]
  ------------------
  497|       |
  498|      0|    case EOpDeterminant:
  ------------------
  |  Branch (498:5): [True: 0, False: 2]
  ------------------
  499|      0|    case EOpMatrixInverse:
  ------------------
  |  Branch (499:5): [True: 0, False: 2]
  ------------------
  500|      0|    case EOpTranspose:
  ------------------
  |  Branch (500:5): [True: 0, False: 2]
  ------------------
  501|      0|        return nullptr;
  502|       |
  503|      2|    default:
  ------------------
  |  Branch (503:5): [True: 2, False: 0]
  ------------------
  504|      2|        assert(componentWise);
  505|      2|        break;
  506|      2|    }
  507|       |
  508|       |    // Turn off the componentwise loop
  509|      2|    if (! componentWise)
  ------------------
  |  Branch (509:9): [True: 0, False: 2]
  ------------------
  510|      0|        objectSize = 0;
  511|       |
  512|       |    // Process component-wise operations
  513|      4|    for (int i = 0; i < objectSize; i++) {
  ------------------
  |  Branch (513:21): [True: 2, False: 2]
  ------------------
  514|       |        // First read the value and convert to i64/u64/f64/bool, then convert
  515|       |        // to the destination type (still 64b), then convert down to the
  516|       |        // destination size.
  517|      2|        if (IsOpNumericConv(op)) {
  ------------------
  |  Branch (517:13): [True: 0, False: 2]
  ------------------
  518|      0|            enum ConvType { CONV_FLOAT, CONV_INT, CONV_UINT, CONV_BOOL };
  519|      0|            ConvType srcType = CONV_UINT, dstType = CONV_UINT;
  520|      0|            double valf = 0.0;
  521|      0|            uint64_t valu = 0;
  522|      0|            int64_t vali = 0;
  523|      0|            bool valb = false;
  524|      0|            switch (getType().getBasicType()) {
  525|      0|            case EbtDouble:
  ------------------
  |  Branch (525:13): [True: 0, False: 0]
  ------------------
  526|      0|            case EbtFloat16:
  ------------------
  |  Branch (526:13): [True: 0, False: 0]
  ------------------
  527|      0|            case EbtBFloat16:
  ------------------
  |  Branch (527:13): [True: 0, False: 0]
  ------------------
  528|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (528:13): [True: 0, False: 0]
  ------------------
  529|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (529:13): [True: 0, False: 0]
  ------------------
  530|      0|            case EbtFloatE2M1:
  ------------------
  |  Branch (530:13): [True: 0, False: 0]
  ------------------
  531|      0|            case EbtFloatE3M2:
  ------------------
  |  Branch (531:13): [True: 0, False: 0]
  ------------------
  532|      0|            case EbtFloatE2M3:
  ------------------
  |  Branch (532:13): [True: 0, False: 0]
  ------------------
  533|      0|            case EbtFloatUE8M0:
  ------------------
  |  Branch (533:13): [True: 0, False: 0]
  ------------------
  534|      0|            case EbtFloatMXINT8:
  ------------------
  |  Branch (534:13): [True: 0, False: 0]
  ------------------
  535|      0|            case EbtFloat:
  ------------------
  |  Branch (535:13): [True: 0, False: 0]
  ------------------
  536|      0|                valf = unionArray[i].getDConst();
  537|      0|                srcType = CONV_FLOAT;
  538|      0|                break;
  539|      0|            case EbtInt8:
  ------------------
  |  Branch (539:13): [True: 0, False: 0]
  ------------------
  540|      0|                vali = unionArray[i].getI8Const();
  541|      0|                srcType = CONV_INT;
  542|      0|                break;
  543|      0|            case EbtInt16:
  ------------------
  |  Branch (543:13): [True: 0, False: 0]
  ------------------
  544|      0|                vali = unionArray[i].getI16Const();
  545|      0|                srcType = CONV_INT;
  546|      0|                break;
  547|      0|            case EbtInt:
  ------------------
  |  Branch (547:13): [True: 0, False: 0]
  ------------------
  548|      0|                vali = unionArray[i].getIConst();
  549|      0|                srcType = CONV_INT;
  550|      0|                break;
  551|      0|            case EbtInt64:
  ------------------
  |  Branch (551:13): [True: 0, False: 0]
  ------------------
  552|      0|                vali = unionArray[i].getI64Const();
  553|      0|                srcType = CONV_INT;
  554|      0|                break;
  555|      0|            case EbtUint8:
  ------------------
  |  Branch (555:13): [True: 0, False: 0]
  ------------------
  556|      0|                valu = unionArray[i].getU8Const();
  557|      0|                srcType = CONV_UINT;
  558|      0|                break;
  559|      0|            case EbtUint16:
  ------------------
  |  Branch (559:13): [True: 0, False: 0]
  ------------------
  560|      0|                valu = unionArray[i].getU16Const();
  561|      0|                srcType = CONV_UINT;
  562|      0|                break;
  563|      0|            case EbtUint:
  ------------------
  |  Branch (563:13): [True: 0, False: 0]
  ------------------
  564|      0|                valu = unionArray[i].getUConst();
  565|      0|                srcType = CONV_UINT;
  566|      0|                break;
  567|      0|            case EbtUint64:
  ------------------
  |  Branch (567:13): [True: 0, False: 0]
  ------------------
  568|      0|                valu = unionArray[i].getU64Const();
  569|      0|                srcType = CONV_UINT;
  570|      0|                break;
  571|      0|            case EbtBool:
  ------------------
  |  Branch (571:13): [True: 0, False: 0]
  ------------------
  572|      0|                valb = unionArray[i].getBConst();
  573|      0|                srcType = CONV_BOOL;
  574|      0|                break;
  575|      0|            default:
  ------------------
  |  Branch (575:13): [True: 0, False: 0]
  ------------------
  576|      0|                assert(0);
  577|      0|                break;
  578|      0|            }
  579|       |
  580|      0|            switch (returnType.getBasicType()) {
  581|      0|            case EbtDouble:
  ------------------
  |  Branch (581:13): [True: 0, False: 0]
  ------------------
  582|      0|            case EbtFloat16:
  ------------------
  |  Branch (582:13): [True: 0, False: 0]
  ------------------
  583|      0|            case EbtBFloat16:
  ------------------
  |  Branch (583:13): [True: 0, False: 0]
  ------------------
  584|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (584:13): [True: 0, False: 0]
  ------------------
  585|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (585:13): [True: 0, False: 0]
  ------------------
  586|      0|            case EbtFloatE2M1:
  ------------------
  |  Branch (586:13): [True: 0, False: 0]
  ------------------
  587|      0|            case EbtFloatE3M2:
  ------------------
  |  Branch (587:13): [True: 0, False: 0]
  ------------------
  588|      0|            case EbtFloatE2M3:
  ------------------
  |  Branch (588:13): [True: 0, False: 0]
  ------------------
  589|      0|            case EbtFloatUE8M0:
  ------------------
  |  Branch (589:13): [True: 0, False: 0]
  ------------------
  590|      0|            case EbtFloatMXINT8:
  ------------------
  |  Branch (590:13): [True: 0, False: 0]
  ------------------
  591|      0|            case EbtFloat:
  ------------------
  |  Branch (591:13): [True: 0, False: 0]
  ------------------
  592|      0|                dstType = CONV_FLOAT;
  593|      0|                break;
  594|      0|            case EbtInt8:
  ------------------
  |  Branch (594:13): [True: 0, False: 0]
  ------------------
  595|      0|            case EbtInt16:
  ------------------
  |  Branch (595:13): [True: 0, False: 0]
  ------------------
  596|      0|            case EbtInt:
  ------------------
  |  Branch (596:13): [True: 0, False: 0]
  ------------------
  597|      0|            case EbtInt64:
  ------------------
  |  Branch (597:13): [True: 0, False: 0]
  ------------------
  598|      0|                dstType = CONV_INT;
  599|      0|                break;
  600|      0|            case EbtUint8:
  ------------------
  |  Branch (600:13): [True: 0, False: 0]
  ------------------
  601|      0|            case EbtUint16:
  ------------------
  |  Branch (601:13): [True: 0, False: 0]
  ------------------
  602|      0|            case EbtUint:
  ------------------
  |  Branch (602:13): [True: 0, False: 0]
  ------------------
  603|      0|            case EbtUint64:
  ------------------
  |  Branch (603:13): [True: 0, False: 0]
  ------------------
  604|      0|                dstType = CONV_UINT;
  605|      0|                break;
  606|      0|            case EbtBool:
  ------------------
  |  Branch (606:13): [True: 0, False: 0]
  ------------------
  607|      0|                dstType = CONV_BOOL;
  608|      0|                break;
  609|      0|            default:
  ------------------
  |  Branch (609:13): [True: 0, False: 0]
  ------------------
  610|      0|                assert(0);
  611|      0|                break;
  612|      0|            }
  613|      0|            if (dstType == CONV_BOOL) {
  ------------------
  |  Branch (613:17): [True: 0, False: 0]
  ------------------
  614|      0|                switch (srcType) {
  615|      0|                case CONV_FLOAT:
  ------------------
  |  Branch (615:17): [True: 0, False: 0]
  ------------------
  616|      0|                    valb = (valf != 0.0); break;
  617|      0|                case CONV_INT:
  ------------------
  |  Branch (617:17): [True: 0, False: 0]
  ------------------
  618|      0|                    valb = (vali != 0.0); break;
  619|      0|                case CONV_UINT:
  ------------------
  |  Branch (619:17): [True: 0, False: 0]
  ------------------
  620|      0|                    valb = (valu != 0.0); break;
  621|      0|                default:
  ------------------
  |  Branch (621:17): [True: 0, False: 0]
  ------------------
  622|      0|                    break;
  623|      0|                }
  624|      0|            } else if (dstType == CONV_FLOAT) {
  ------------------
  |  Branch (624:24): [True: 0, False: 0]
  ------------------
  625|      0|                switch (srcType) {
  626|      0|                case CONV_BOOL:
  ------------------
  |  Branch (626:17): [True: 0, False: 0]
  ------------------
  627|      0|                    valf = (double)valb; break;
  628|      0|                case CONV_INT:
  ------------------
  |  Branch (628:17): [True: 0, False: 0]
  ------------------
  629|      0|                    valf = (double)vali; break;
  630|      0|                case CONV_UINT:
  ------------------
  |  Branch (630:17): [True: 0, False: 0]
  ------------------
  631|      0|                    valf = (double)valu; break;
  632|      0|                default:
  ------------------
  |  Branch (632:17): [True: 0, False: 0]
  ------------------
  633|      0|                    break;
  634|      0|                }
  635|      0|            } else if (dstType == CONV_INT) {
  ------------------
  |  Branch (635:24): [True: 0, False: 0]
  ------------------
  636|      0|                switch (srcType) {
  637|      0|                case CONV_BOOL:
  ------------------
  |  Branch (637:17): [True: 0, False: 0]
  ------------------
  638|      0|                    vali = (int64_t)valb; break;
  639|      0|                case CONV_FLOAT:
  ------------------
  |  Branch (639:17): [True: 0, False: 0]
  ------------------
  640|      0|                    vali = (int64_t)valf; break;
  641|      0|                case CONV_UINT:
  ------------------
  |  Branch (641:17): [True: 0, False: 0]
  ------------------
  642|      0|                    vali = (int64_t)valu; break;
  643|      0|                default:
  ------------------
  |  Branch (643:17): [True: 0, False: 0]
  ------------------
  644|      0|                    break;
  645|      0|                }
  646|      0|            } else if (dstType == CONV_UINT) {
  ------------------
  |  Branch (646:24): [True: 0, False: 0]
  ------------------
  647|      0|                switch (srcType) {
  648|      0|                case CONV_BOOL:
  ------------------
  |  Branch (648:17): [True: 0, False: 0]
  ------------------
  649|      0|                    valu = (uint64_t)valb; break;
  650|      0|                case CONV_FLOAT:
  ------------------
  |  Branch (650:17): [True: 0, False: 0]
  ------------------
  651|      0|                    valu = (uint64_t)valf; break;
  652|      0|                case CONV_INT:
  ------------------
  |  Branch (652:17): [True: 0, False: 0]
  ------------------
  653|      0|                    valu = (uint64_t)vali; break;
  654|      0|                default:
  ------------------
  |  Branch (654:17): [True: 0, False: 0]
  ------------------
  655|      0|                    break;
  656|      0|                }
  657|      0|            }
  658|      0|            switch (returnType.getBasicType()) {
  659|      0|            case EbtDouble:
  ------------------
  |  Branch (659:13): [True: 0, False: 0]
  ------------------
  660|      0|            case EbtFloat16:
  ------------------
  |  Branch (660:13): [True: 0, False: 0]
  ------------------
  661|      0|            case EbtBFloat16:
  ------------------
  |  Branch (661:13): [True: 0, False: 0]
  ------------------
  662|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (662:13): [True: 0, False: 0]
  ------------------
  663|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (663:13): [True: 0, False: 0]
  ------------------
  664|      0|            case EbtFloatE2M1:
  ------------------
  |  Branch (664:13): [True: 0, False: 0]
  ------------------
  665|      0|            case EbtFloatE3M2:
  ------------------
  |  Branch (665:13): [True: 0, False: 0]
  ------------------
  666|      0|            case EbtFloatE2M3:
  ------------------
  |  Branch (666:13): [True: 0, False: 0]
  ------------------
  667|      0|            case EbtFloatUE8M0:
  ------------------
  |  Branch (667:13): [True: 0, False: 0]
  ------------------
  668|      0|            case EbtFloatMXINT8:
  ------------------
  |  Branch (668:13): [True: 0, False: 0]
  ------------------
  669|      0|            case EbtFloat:
  ------------------
  |  Branch (669:13): [True: 0, False: 0]
  ------------------
  670|      0|                newConstArray[i].setDConst(valf); break;
  671|      0|            case EbtInt8:
  ------------------
  |  Branch (671:13): [True: 0, False: 0]
  ------------------
  672|      0|                newConstArray[i].setI8Const(static_cast<int8_t>(vali)); break;
  673|      0|            case EbtInt16:
  ------------------
  |  Branch (673:13): [True: 0, False: 0]
  ------------------
  674|      0|                newConstArray[i].setI16Const(static_cast<int16_t>(vali)); break;
  675|      0|            case EbtInt:
  ------------------
  |  Branch (675:13): [True: 0, False: 0]
  ------------------
  676|      0|                newConstArray[i].setIConst(static_cast<int32_t>(vali)); break;
  677|      0|            case EbtInt64:
  ------------------
  |  Branch (677:13): [True: 0, False: 0]
  ------------------
  678|      0|                newConstArray[i].setI64Const(vali); break;
  679|      0|            case EbtUint8:
  ------------------
  |  Branch (679:13): [True: 0, False: 0]
  ------------------
  680|      0|                newConstArray[i].setU8Const(static_cast<uint8_t>(valu)); break;
  681|      0|            case EbtUint16:
  ------------------
  |  Branch (681:13): [True: 0, False: 0]
  ------------------
  682|      0|                newConstArray[i].setU16Const(static_cast<uint16_t>(valu)); break;
  683|      0|            case EbtUint:
  ------------------
  |  Branch (683:13): [True: 0, False: 0]
  ------------------
  684|      0|                newConstArray[i].setUConst(static_cast<uint32_t>(valu)); break;
  685|      0|            case EbtUint64:
  ------------------
  |  Branch (685:13): [True: 0, False: 0]
  ------------------
  686|      0|                newConstArray[i].setU64Const(valu); break;
  687|      0|            case EbtBool:
  ------------------
  |  Branch (687:13): [True: 0, False: 0]
  ------------------
  688|      0|                newConstArray[i].setBConst(valb); break;
  689|      0|            default:
  ------------------
  |  Branch (689:13): [True: 0, False: 0]
  ------------------
  690|      0|                assert(0);
  691|      0|                break;
  692|      0|            }
  693|      0|            continue;
  694|      0|        }
  695|      2|        switch (op) {
  696|      2|        case EOpNegative:
  ------------------
  |  Branch (696:9): [True: 2, False: 0]
  ------------------
  697|      2|            switch (getType().getBasicType()) {
  698|      0|            case EbtDouble:
  ------------------
  |  Branch (698:13): [True: 0, False: 2]
  ------------------
  699|      0|            case EbtFloat16:
  ------------------
  |  Branch (699:13): [True: 0, False: 2]
  ------------------
  700|      0|            case EbtBFloat16:
  ------------------
  |  Branch (700:13): [True: 0, False: 2]
  ------------------
  701|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (701:13): [True: 0, False: 2]
  ------------------
  702|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (702:13): [True: 0, False: 2]
  ------------------
  703|      0|            case EbtFloatE2M1:
  ------------------
  |  Branch (703:13): [True: 0, False: 2]
  ------------------
  704|      0|            case EbtFloatE3M2:
  ------------------
  |  Branch (704:13): [True: 0, False: 2]
  ------------------
  705|      0|            case EbtFloatE2M3:
  ------------------
  |  Branch (705:13): [True: 0, False: 2]
  ------------------
  706|      0|            case EbtFloatUE8M0:
  ------------------
  |  Branch (706:13): [True: 0, False: 2]
  ------------------
  707|      0|            case EbtFloatMXINT8:
  ------------------
  |  Branch (707:13): [True: 0, False: 2]
  ------------------
  708|      0|            case EbtFloat: newConstArray[i].setDConst(-unionArray[i].getDConst()); break;
  ------------------
  |  Branch (708:13): [True: 0, False: 2]
  ------------------
  709|       |            // Note: avoid UBSAN error regarding negating 0x80000000
  710|      2|            case EbtInt:   newConstArray[i].setIConst(
  ------------------
  |  Branch (710:13): [True: 2, False: 0]
  ------------------
  711|      2|                                static_cast<unsigned int>(unionArray[i].getIConst()) == 0x80000000
  ------------------
  |  Branch (711:33): [True: 0, False: 2]
  ------------------
  712|      2|                                    ? -0x7FFFFFFF - 1
  713|      2|                                    : -unionArray[i].getIConst());
  714|      2|                           break;
  715|      0|            case EbtUint:  newConstArray[i].setUConst(static_cast<unsigned int>(-static_cast<int>(unionArray[i].getUConst())));  break;
  ------------------
  |  Branch (715:13): [True: 0, False: 2]
  ------------------
  716|      0|            case EbtInt8:  newConstArray[i].setI8Const(-unionArray[i].getI8Const()); break;
  ------------------
  |  Branch (716:13): [True: 0, False: 2]
  ------------------
  717|      0|            case EbtUint8: newConstArray[i].setU8Const(static_cast<unsigned int>(-static_cast<signed int>(unionArray[i].getU8Const())));  break;
  ------------------
  |  Branch (717:13): [True: 0, False: 2]
  ------------------
  718|      0|            case EbtInt16: newConstArray[i].setI16Const(-unionArray[i].getI16Const()); break;
  ------------------
  |  Branch (718:13): [True: 0, False: 2]
  ------------------
  719|      0|            case EbtUint16:newConstArray[i].setU16Const(static_cast<unsigned int>(-static_cast<signed int>(unionArray[i].getU16Const())));  break;
  ------------------
  |  Branch (719:13): [True: 0, False: 2]
  ------------------
  720|      0|            case EbtInt64: {
  ------------------
  |  Branch (720:13): [True: 0, False: 2]
  ------------------
  721|      0|                int64_t i64val = unionArray[i].getI64Const();
  722|      0|                newConstArray[i].setI64Const(i64val == INT64_MIN ? INT64_MIN : -i64val);
  ------------------
  |  Branch (722:46): [True: 0, False: 0]
  ------------------
  723|      0|                break;
  724|      0|            }
  725|      0|            case EbtUint64: newConstArray[i].setU64Const(static_cast<unsigned long long>(-static_cast<long long>(unionArray[i].getU64Const())));  break;
  ------------------
  |  Branch (725:13): [True: 0, False: 2]
  ------------------
  726|      0|            default:
  ------------------
  |  Branch (726:13): [True: 0, False: 2]
  ------------------
  727|      0|                return nullptr;
  728|      2|            }
  729|      2|            break;
  730|      2|        case EOpLogicalNot:
  ------------------
  |  Branch (730:9): [True: 0, False: 2]
  ------------------
  731|      0|        case EOpVectorLogicalNot:
  ------------------
  |  Branch (731:9): [True: 0, False: 2]
  ------------------
  732|      0|            switch (getType().getBasicType()) {
  733|      0|            case EbtBool:  newConstArray[i].setBConst(!unionArray[i].getBConst()); break;
  ------------------
  |  Branch (733:13): [True: 0, False: 0]
  ------------------
  734|      0|            default:
  ------------------
  |  Branch (734:13): [True: 0, False: 0]
  ------------------
  735|      0|                return nullptr;
  736|      0|            }
  737|      0|            break;
  738|      0|        case EOpBitwiseNot:
  ------------------
  |  Branch (738:9): [True: 0, False: 2]
  ------------------
  739|      0|            newConstArray[i] = ~unionArray[i];
  740|      0|            break;
  741|      0|        case EOpRadians:
  ------------------
  |  Branch (741:9): [True: 0, False: 2]
  ------------------
  742|      0|            newConstArray[i].setDConst(unionArray[i].getDConst() * pi / 180.0);
  743|      0|            break;
  744|      0|        case EOpDegrees:
  ------------------
  |  Branch (744:9): [True: 0, False: 2]
  ------------------
  745|      0|            newConstArray[i].setDConst(unionArray[i].getDConst() * 180.0 / pi);
  746|      0|            break;
  747|      0|        case EOpSin:
  ------------------
  |  Branch (747:9): [True: 0, False: 2]
  ------------------
  748|      0|            newConstArray[i].setDConst(sin(unionArray[i].getDConst()));
  749|      0|            break;
  750|      0|        case EOpCos:
  ------------------
  |  Branch (750:9): [True: 0, False: 2]
  ------------------
  751|      0|            newConstArray[i].setDConst(cos(unionArray[i].getDConst()));
  752|      0|            break;
  753|      0|        case EOpTan:
  ------------------
  |  Branch (753:9): [True: 0, False: 2]
  ------------------
  754|      0|            newConstArray[i].setDConst(tan(unionArray[i].getDConst()));
  755|      0|            break;
  756|      0|        case EOpAsin:
  ------------------
  |  Branch (756:9): [True: 0, False: 2]
  ------------------
  757|      0|            newConstArray[i].setDConst(asin(unionArray[i].getDConst()));
  758|      0|            break;
  759|      0|        case EOpAcos:
  ------------------
  |  Branch (759:9): [True: 0, False: 2]
  ------------------
  760|      0|            newConstArray[i].setDConst(acos(unionArray[i].getDConst()));
  761|      0|            break;
  762|      0|        case EOpAtan:
  ------------------
  |  Branch (762:9): [True: 0, False: 2]
  ------------------
  763|      0|            newConstArray[i].setDConst(atan(unionArray[i].getDConst()));
  764|      0|            break;
  765|      0|        case EOpSinh:
  ------------------
  |  Branch (765:9): [True: 0, False: 2]
  ------------------
  766|      0|            newConstArray[i].setDConst(sinh(unionArray[i].getDConst()));
  767|      0|            break;
  768|      0|        case EOpCosh:
  ------------------
  |  Branch (768:9): [True: 0, False: 2]
  ------------------
  769|      0|            newConstArray[i].setDConst(cosh(unionArray[i].getDConst()));
  770|      0|            break;
  771|      0|        case EOpTanh:
  ------------------
  |  Branch (771:9): [True: 0, False: 2]
  ------------------
  772|      0|            newConstArray[i].setDConst(tanh(unionArray[i].getDConst()));
  773|      0|            break;
  774|      0|        case EOpAsinh:
  ------------------
  |  Branch (774:9): [True: 0, False: 2]
  ------------------
  775|      0|            newConstArray[i].setDConst(asinh(unionArray[i].getDConst()));
  776|      0|            break;
  777|      0|        case EOpAcosh:
  ------------------
  |  Branch (777:9): [True: 0, False: 2]
  ------------------
  778|      0|            newConstArray[i].setDConst(acosh(unionArray[i].getDConst()));
  779|      0|            break;
  780|      0|        case EOpAtanh:
  ------------------
  |  Branch (780:9): [True: 0, False: 2]
  ------------------
  781|      0|            newConstArray[i].setDConst(atanh(unionArray[i].getDConst()));
  782|      0|            break;
  783|       |
  784|      0|        case EOpDPdx:
  ------------------
  |  Branch (784:9): [True: 0, False: 2]
  ------------------
  785|      0|        case EOpDPdy:
  ------------------
  |  Branch (785:9): [True: 0, False: 2]
  ------------------
  786|      0|        case EOpFwidth:
  ------------------
  |  Branch (786:9): [True: 0, False: 2]
  ------------------
  787|      0|        case EOpDPdxFine:
  ------------------
  |  Branch (787:9): [True: 0, False: 2]
  ------------------
  788|      0|        case EOpDPdyFine:
  ------------------
  |  Branch (788:9): [True: 0, False: 2]
  ------------------
  789|      0|        case EOpFwidthFine:
  ------------------
  |  Branch (789:9): [True: 0, False: 2]
  ------------------
  790|      0|        case EOpDPdxCoarse:
  ------------------
  |  Branch (790:9): [True: 0, False: 2]
  ------------------
  791|      0|        case EOpDPdyCoarse:
  ------------------
  |  Branch (791:9): [True: 0, False: 2]
  ------------------
  792|      0|        case EOpFwidthCoarse:
  ------------------
  |  Branch (792:9): [True: 0, False: 2]
  ------------------
  793|       |            // The derivatives are all mandated to create a constant 0.
  794|      0|            newConstArray[i].setDConst(0.0);
  795|      0|            break;
  796|       |
  797|      0|        case EOpExp:
  ------------------
  |  Branch (797:9): [True: 0, False: 2]
  ------------------
  798|      0|            newConstArray[i].setDConst(exp(unionArray[i].getDConst()));
  799|      0|            break;
  800|      0|        case EOpLog:
  ------------------
  |  Branch (800:9): [True: 0, False: 2]
  ------------------
  801|      0|            newConstArray[i].setDConst(log(unionArray[i].getDConst()));
  802|      0|            break;
  803|      0|        case EOpExp2:
  ------------------
  |  Branch (803:9): [True: 0, False: 2]
  ------------------
  804|      0|            newConstArray[i].setDConst(exp2(unionArray[i].getDConst()));
  805|      0|            break;
  806|      0|        case EOpLog2:
  ------------------
  |  Branch (806:9): [True: 0, False: 2]
  ------------------
  807|      0|            newConstArray[i].setDConst(log2(unionArray[i].getDConst()));
  808|      0|            break;
  809|      0|        case EOpSqrt:
  ------------------
  |  Branch (809:9): [True: 0, False: 2]
  ------------------
  810|      0|            newConstArray[i].setDConst(sqrt(unionArray[i].getDConst()));
  811|      0|            break;
  812|      0|        case EOpInverseSqrt:
  ------------------
  |  Branch (812:9): [True: 0, False: 2]
  ------------------
  813|      0|            newConstArray[i].setDConst(1.0 / sqrt(unionArray[i].getDConst()));
  814|      0|            break;
  815|       |
  816|      0|        case EOpAbs:
  ------------------
  |  Branch (816:9): [True: 0, False: 2]
  ------------------
  817|      0|            if (unionArray[i].getType() == EbtDouble)
  ------------------
  |  Branch (817:17): [True: 0, False: 0]
  ------------------
  818|      0|                newConstArray[i].setDConst(fabs(unionArray[i].getDConst()));
  819|      0|            else if (unionArray[i].getType() == EbtInt)
  ------------------
  |  Branch (819:22): [True: 0, False: 0]
  ------------------
  820|      0|                newConstArray[i].setIConst(abs(unionArray[i].getIConst()));
  821|      0|            else
  822|      0|                newConstArray[i] = unionArray[i];
  823|      0|            break;
  824|      0|        case EOpSign:
  ------------------
  |  Branch (824:9): [True: 0, False: 2]
  ------------------
  825|      0|            #define SIGN(X) (X == 0 ? 0 : (X < 0 ? -1 : 1))
  826|      0|            if (unionArray[i].getType() == EbtDouble)
  ------------------
  |  Branch (826:17): [True: 0, False: 0]
  ------------------
  827|      0|                newConstArray[i].setDConst(SIGN(unionArray[i].getDConst()));
  ------------------
  |  |  825|      0|            #define SIGN(X) (X == 0 ? 0 : (X < 0 ? -1 : 1))
  |  |  ------------------
  |  |  |  Branch (825:30): [True: 0, False: 0]
  |  |  |  Branch (825:44): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  828|      0|            else
  829|      0|                newConstArray[i].setIConst(SIGN(unionArray[i].getIConst()));
  ------------------
  |  |  825|      0|            #define SIGN(X) (X == 0 ? 0 : (X < 0 ? -1 : 1))
  |  |  ------------------
  |  |  |  Branch (825:30): [True: 0, False: 0]
  |  |  |  Branch (825:44): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  830|      0|            break;
  831|      0|        case EOpFloor:
  ------------------
  |  Branch (831:9): [True: 0, False: 2]
  ------------------
  832|      0|            newConstArray[i].setDConst(floor(unionArray[i].getDConst()));
  833|      0|            break;
  834|      0|        case EOpTrunc:
  ------------------
  |  Branch (834:9): [True: 0, False: 2]
  ------------------
  835|      0|            if (unionArray[i].getDConst() > 0)
  ------------------
  |  Branch (835:17): [True: 0, False: 0]
  ------------------
  836|      0|                newConstArray[i].setDConst(floor(unionArray[i].getDConst()));
  837|      0|            else
  838|      0|                newConstArray[i].setDConst(ceil(unionArray[i].getDConst()));
  839|      0|            break;
  840|      0|        case EOpRound:
  ------------------
  |  Branch (840:9): [True: 0, False: 2]
  ------------------
  841|      0|            newConstArray[i].setDConst(floor(0.5 + unionArray[i].getDConst()));
  842|      0|            break;
  843|      0|        case EOpRoundEven:
  ------------------
  |  Branch (843:9): [True: 0, False: 2]
  ------------------
  844|      0|        {
  845|      0|            double flr = floor(unionArray[i].getDConst());
  846|      0|            bool even = flr / 2.0 == floor(flr / 2.0);
  847|      0|            double rounded = even ? ceil(unionArray[i].getDConst() - 0.5) : floor(unionArray[i].getDConst() + 0.5);
  ------------------
  |  Branch (847:30): [True: 0, False: 0]
  ------------------
  848|      0|            newConstArray[i].setDConst(rounded);
  849|      0|            break;
  850|      0|        }
  851|      0|        case EOpCeil:
  ------------------
  |  Branch (851:9): [True: 0, False: 2]
  ------------------
  852|      0|            newConstArray[i].setDConst(ceil(unionArray[i].getDConst()));
  853|      0|            break;
  854|      0|        case EOpFract:
  ------------------
  |  Branch (854:9): [True: 0, False: 2]
  ------------------
  855|      0|        {
  856|      0|            double x = unionArray[i].getDConst();
  857|      0|            newConstArray[i].setDConst(x - floor(x));
  858|      0|            break;
  859|      0|        }
  860|       |
  861|      0|        case EOpIsNan:
  ------------------
  |  Branch (861:9): [True: 0, False: 2]
  ------------------
  862|      0|        {
  863|      0|            newConstArray[i].setBConst(std::isnan(unionArray[i].getDConst()));
  864|      0|            break;
  865|      0|        }
  866|      0|        case EOpIsInf:
  ------------------
  |  Branch (866:9): [True: 0, False: 2]
  ------------------
  867|      0|        {
  868|      0|            newConstArray[i].setBConst(std::isinf(unionArray[i].getDConst()));
  869|      0|            break;
  870|      0|        }
  871|       |
  872|      0|        case EOpConvPtrToUint64:
  ------------------
  |  Branch (872:9): [True: 0, False: 2]
  ------------------
  873|      0|        case EOpConvUint64ToPtr:
  ------------------
  |  Branch (873:9): [True: 0, False: 2]
  ------------------
  874|      0|        case EOpConstructReference:
  ------------------
  |  Branch (874:9): [True: 0, False: 2]
  ------------------
  875|      0|            newConstArray[i].setU64Const(unionArray[i].getU64Const()); break;
  876|       |
  877|       |        // The constant is held as a double, so narrow it back to the declared
  878|       |        // width before reinterpreting its bits.
  879|      0|        case EOpFloatBitsToInt:
  ------------------
  |  Branch (879:9): [True: 0, False: 2]
  ------------------
  880|      0|            newConstArray[i].setIConst(bitCast<int>(static_cast<float>(unionArray[i].getDConst())));
  881|      0|            break;
  882|      0|        case EOpFloatBitsToUint:
  ------------------
  |  Branch (882:9): [True: 0, False: 2]
  ------------------
  883|      0|            newConstArray[i].setUConst(bitCast<unsigned int>(static_cast<float>(unionArray[i].getDConst())));
  884|      0|            break;
  885|      0|        case EOpIntBitsToFloat:
  ------------------
  |  Branch (885:9): [True: 0, False: 2]
  ------------------
  886|      0|            newConstArray[i].setDConst(bitCast<float>(unionArray[i].getIConst()));
  887|      0|            break;
  888|      0|        case EOpUintBitsToFloat:
  ------------------
  |  Branch (888:9): [True: 0, False: 2]
  ------------------
  889|      0|            newConstArray[i].setDConst(bitCast<float>(unionArray[i].getUConst()));
  890|      0|            break;
  891|      0|        case EOpDoubleBitsToInt64:
  ------------------
  |  Branch (891:9): [True: 0, False: 2]
  ------------------
  892|      0|            newConstArray[i].setI64Const(bitCast<long long>(unionArray[i].getDConst()));
  893|      0|            break;
  894|      0|        case EOpDoubleBitsToUint64:
  ------------------
  |  Branch (894:9): [True: 0, False: 2]
  ------------------
  895|      0|            newConstArray[i].setU64Const(bitCast<unsigned long long>(unionArray[i].getDConst()));
  896|      0|            break;
  897|      0|        case EOpInt64BitsToDouble:
  ------------------
  |  Branch (897:9): [True: 0, False: 2]
  ------------------
  898|      0|            newConstArray[i].setDConst(bitCast<double>(unionArray[i].getI64Const()));
  899|      0|            break;
  900|      0|        case EOpUint64BitsToDouble:
  ------------------
  |  Branch (900:9): [True: 0, False: 2]
  ------------------
  901|      0|            newConstArray[i].setDConst(bitCast<double>(unionArray[i].getU64Const()));
  902|      0|            break;
  903|       |
  904|       |        // TODO: 3.0 Functionality: unary constant folding: the rest of the ops have to be fleshed out
  905|       |
  906|      0|        case EOpFloat16BitsToInt16:
  ------------------
  |  Branch (906:9): [True: 0, False: 2]
  ------------------
  907|      0|        case EOpFloat16BitsToUint16:
  ------------------
  |  Branch (907:9): [True: 0, False: 2]
  ------------------
  908|      0|        case EOpInt16BitsToFloat16:
  ------------------
  |  Branch (908:9): [True: 0, False: 2]
  ------------------
  909|      0|        case EOpUint16BitsToFloat16:
  ------------------
  |  Branch (909:9): [True: 0, False: 2]
  ------------------
  910|      0|        default:
  ------------------
  |  Branch (910:9): [True: 0, False: 2]
  ------------------
  911|      0|            return nullptr;
  912|      2|        }
  913|      2|    }
  914|       |
  915|      2|    TIntermConstantUnion *newNode = new TIntermConstantUnion(newConstArray, returnType);
  916|      2|    newNode->getWritableType().getQualifier().storage = EvqConst;
  917|      2|    newNode->setLoc(getLoc());
  918|       |
  919|      2|    return newNode;
  920|      2|}
_ZN7glslang13TIntermediate4foldEPNS_16TIntermAggregateE:
  927|     14|{
  928|     14|    if (aggrNode == nullptr)
  ------------------
  |  Branch (928:9): [True: 0, False: 14]
  ------------------
  929|      0|        return aggrNode;
  930|       |
  931|     14|    if (! areAllChildConst(aggrNode))
  ------------------
  |  Branch (931:9): [True: 0, False: 14]
  ------------------
  932|      0|        return aggrNode;
  933|       |
  934|     14|    if (aggrNode->isConstructor())
  ------------------
  |  Branch (934:9): [True: 14, False: 0]
  ------------------
  935|     14|        return foldConstructor(aggrNode);
  936|       |
  937|      0|    TIntermSequence& children = aggrNode->getSequence();
  938|       |
  939|       |    // First, see if this is an operation to constant fold, kick out if not,
  940|       |    // see what size the result is if so.
  941|       |
  942|      0|    bool componentwise = false;  // will also say componentwise if a scalar argument gets repeated to make per-component results
  943|      0|    int objectSize;
  944|      0|    switch (aggrNode->getOp()) {
  945|      0|    case EOpAtan:
  ------------------
  |  Branch (945:5): [True: 0, False: 0]
  ------------------
  946|      0|    case EOpPow:
  ------------------
  |  Branch (946:5): [True: 0, False: 0]
  ------------------
  947|      0|    case EOpMin:
  ------------------
  |  Branch (947:5): [True: 0, False: 0]
  ------------------
  948|      0|    case EOpMax:
  ------------------
  |  Branch (948:5): [True: 0, False: 0]
  ------------------
  949|      0|    case EOpMix:
  ------------------
  |  Branch (949:5): [True: 0, False: 0]
  ------------------
  950|      0|    case EOpMod:
  ------------------
  |  Branch (950:5): [True: 0, False: 0]
  ------------------
  951|      0|    case EOpClamp:
  ------------------
  |  Branch (951:5): [True: 0, False: 0]
  ------------------
  952|      0|    case EOpLessThan:
  ------------------
  |  Branch (952:5): [True: 0, False: 0]
  ------------------
  953|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (953:5): [True: 0, False: 0]
  ------------------
  954|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (954:5): [True: 0, False: 0]
  ------------------
  955|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (955:5): [True: 0, False: 0]
  ------------------
  956|      0|    case EOpVectorEqual:
  ------------------
  |  Branch (956:5): [True: 0, False: 0]
  ------------------
  957|      0|    case EOpVectorNotEqual:
  ------------------
  |  Branch (957:5): [True: 0, False: 0]
  ------------------
  958|      0|        componentwise = true;
  959|      0|        objectSize = children[0]->getAsConstantUnion()->getType().computeNumComponents();
  960|      0|        break;
  961|      0|    case EOpCross:
  ------------------
  |  Branch (961:5): [True: 0, False: 0]
  ------------------
  962|      0|    case EOpReflect:
  ------------------
  |  Branch (962:5): [True: 0, False: 0]
  ------------------
  963|      0|    case EOpRefract:
  ------------------
  |  Branch (963:5): [True: 0, False: 0]
  ------------------
  964|      0|    case EOpFaceForward:
  ------------------
  |  Branch (964:5): [True: 0, False: 0]
  ------------------
  965|      0|        objectSize = children[0]->getAsConstantUnion()->getType().computeNumComponents();
  966|      0|        break;
  967|      0|    case EOpDistance:
  ------------------
  |  Branch (967:5): [True: 0, False: 0]
  ------------------
  968|      0|    case EOpDot:
  ------------------
  |  Branch (968:5): [True: 0, False: 0]
  ------------------
  969|      0|        objectSize = 1;
  970|      0|        break;
  971|      0|    case EOpOuterProduct:
  ------------------
  |  Branch (971:5): [True: 0, False: 0]
  ------------------
  972|      0|        objectSize = children[0]->getAsTyped()->getType().getVectorSize() *
  973|      0|                     children[1]->getAsTyped()->getType().getVectorSize();
  974|      0|        break;
  975|      0|    case EOpStep:
  ------------------
  |  Branch (975:5): [True: 0, False: 0]
  ------------------
  976|      0|        componentwise = true;
  977|      0|        objectSize = std::max(children[0]->getAsTyped()->getType().computeNumComponents(),
  978|      0|                              children[1]->getAsTyped()->getType().computeNumComponents());
  979|      0|        break;
  980|      0|    case EOpSmoothStep:
  ------------------
  |  Branch (980:5): [True: 0, False: 0]
  ------------------
  981|      0|        componentwise = true;
  982|      0|        objectSize = std::max(children[0]->getAsTyped()->getType().computeNumComponents(),
  983|      0|                              children[2]->getAsTyped()->getType().computeNumComponents());
  984|      0|        break;
  985|      0|    case EOpMul:
  ------------------
  |  Branch (985:5): [True: 0, False: 0]
  ------------------
  986|      0|        {
  987|      0|        TIntermConstantUnion* left = children[0]->getAsConstantUnion();
  988|      0|        TIntermConstantUnion* right = children[1]->getAsConstantUnion();
  989|      0|        return left->fold(EOpMul, right);
  990|      0|        }
  991|      0|    default:
  ------------------
  |  Branch (991:5): [True: 0, False: 0]
  ------------------
  992|      0|        return aggrNode;
  993|      0|    }
  994|      0|    TConstUnionArray newConstArray(objectSize);
  995|       |
  996|      0|    TVector<TConstUnionArray> childConstUnions;
  997|      0|    for (unsigned int arg = 0; arg < children.size(); ++arg)
  ------------------
  |  Branch (997:32): [True: 0, False: 0]
  ------------------
  998|      0|        childConstUnions.push_back(children[arg]->getAsConstantUnion()->getConstArray());
  999|       |
 1000|      0|    if (componentwise) {
  ------------------
  |  Branch (1000:9): [True: 0, False: 0]
  ------------------
 1001|      0|        for (int comp = 0; comp < objectSize; comp++) {
  ------------------
  |  Branch (1001:28): [True: 0, False: 0]
  ------------------
 1002|       |
 1003|       |            // some arguments are scalars instead of matching vectors; simulate a smear
 1004|      0|            int arg0comp = std::min(comp, children[0]->getAsTyped()->getType().computeNumComponents() - 1);
 1005|      0|            int arg1comp = 0;
 1006|      0|            if (children.size() > 1)
  ------------------
  |  Branch (1006:17): [True: 0, False: 0]
  ------------------
 1007|      0|                arg1comp = std::min(comp, children[1]->getAsTyped()->getType().computeNumComponents() - 1);
 1008|      0|            int arg2comp = 0;
 1009|      0|            if (children.size() > 2)
  ------------------
  |  Branch (1009:17): [True: 0, False: 0]
  ------------------
 1010|      0|                arg2comp = std::min(comp, children[2]->getAsTyped()->getType().computeNumComponents() - 1);
 1011|       |
 1012|      0|            switch (aggrNode->getOp()) {
 1013|      0|            case EOpAtan:
  ------------------
  |  Branch (1013:13): [True: 0, False: 0]
  ------------------
 1014|      0|                newConstArray[comp].setDConst(atan2(childConstUnions[0][arg0comp].getDConst(), childConstUnions[1][arg1comp].getDConst()));
 1015|      0|                break;
 1016|      0|            case EOpPow:
  ------------------
  |  Branch (1016:13): [True: 0, False: 0]
  ------------------
 1017|      0|                newConstArray[comp].setDConst(pow(childConstUnions[0][arg0comp].getDConst(), childConstUnions[1][arg1comp].getDConst()));
 1018|      0|                break;
 1019|      0|            case EOpMod:
  ------------------
  |  Branch (1019:13): [True: 0, False: 0]
  ------------------
 1020|      0|            {
 1021|      0|                double arg0 = childConstUnions[0][arg0comp].getDConst();
 1022|      0|                double arg1 = childConstUnions[1][arg1comp].getDConst();
 1023|      0|                double result = arg0 - arg1 * floor(arg0 / arg1);
 1024|      0|                newConstArray[comp].setDConst(result);
 1025|      0|                break;
 1026|      0|            }
 1027|      0|            case EOpMin:
  ------------------
  |  Branch (1027:13): [True: 0, False: 0]
  ------------------
 1028|      0|                switch(children[0]->getAsTyped()->getBasicType()) {
 1029|      0|                case EbtFloat16:
  ------------------
  |  Branch (1029:17): [True: 0, False: 0]
  ------------------
 1030|      0|                case EbtBFloat16:
  ------------------
  |  Branch (1030:17): [True: 0, False: 0]
  ------------------
 1031|      0|                case EbtFloatE5M2:
  ------------------
  |  Branch (1031:17): [True: 0, False: 0]
  ------------------
 1032|      0|                case EbtFloatE4M3:
  ------------------
  |  Branch (1032:17): [True: 0, False: 0]
  ------------------
 1033|      0|                case EbtFloatE2M1:
  ------------------
  |  Branch (1033:17): [True: 0, False: 0]
  ------------------
 1034|      0|                case EbtFloatE3M2:
  ------------------
  |  Branch (1034:17): [True: 0, False: 0]
  ------------------
 1035|      0|                case EbtFloatE2M3:
  ------------------
  |  Branch (1035:17): [True: 0, False: 0]
  ------------------
 1036|      0|                case EbtFloatUE8M0:
  ------------------
  |  Branch (1036:17): [True: 0, False: 0]
  ------------------
 1037|      0|                case EbtFloatMXINT8:
  ------------------
  |  Branch (1037:17): [True: 0, False: 0]
  ------------------
 1038|      0|                case EbtFloat:
  ------------------
  |  Branch (1038:17): [True: 0, False: 0]
  ------------------
 1039|      0|                case EbtDouble:
  ------------------
  |  Branch (1039:17): [True: 0, False: 0]
  ------------------
 1040|      0|                    newConstArray[comp].setDConst(std::min(childConstUnions[0][arg0comp].getDConst(), childConstUnions[1][arg1comp].getDConst()));
 1041|      0|                    break;
 1042|      0|                case EbtInt:
  ------------------
  |  Branch (1042:17): [True: 0, False: 0]
  ------------------
 1043|      0|                    newConstArray[comp].setIConst(std::min(childConstUnions[0][arg0comp].getIConst(), childConstUnions[1][arg1comp].getIConst()));
 1044|      0|                    break;
 1045|      0|                case EbtUint:
  ------------------
  |  Branch (1045:17): [True: 0, False: 0]
  ------------------
 1046|      0|                    newConstArray[comp].setUConst(std::min(childConstUnions[0][arg0comp].getUConst(), childConstUnions[1][arg1comp].getUConst()));
 1047|      0|                    break;
 1048|      0|                case EbtInt8:
  ------------------
  |  Branch (1048:17): [True: 0, False: 0]
  ------------------
 1049|      0|                    newConstArray[comp].setI8Const(std::min(childConstUnions[0][arg0comp].getI8Const(), childConstUnions[1][arg1comp].getI8Const()));
 1050|      0|                    break;
 1051|      0|                case EbtUint8:
  ------------------
  |  Branch (1051:17): [True: 0, False: 0]
  ------------------
 1052|      0|                    newConstArray[comp].setU8Const(std::min(childConstUnions[0][arg0comp].getU8Const(), childConstUnions[1][arg1comp].getU8Const()));
 1053|      0|                    break;
 1054|      0|                case EbtInt16:
  ------------------
  |  Branch (1054:17): [True: 0, False: 0]
  ------------------
 1055|      0|                    newConstArray[comp].setI16Const(std::min(childConstUnions[0][arg0comp].getI16Const(), childConstUnions[1][arg1comp].getI16Const()));
 1056|      0|                    break;
 1057|      0|                case EbtUint16:
  ------------------
  |  Branch (1057:17): [True: 0, False: 0]
  ------------------
 1058|      0|                    newConstArray[comp].setU16Const(std::min(childConstUnions[0][arg0comp].getU16Const(), childConstUnions[1][arg1comp].getU16Const()));
 1059|      0|                    break;
 1060|      0|                case EbtInt64:
  ------------------
  |  Branch (1060:17): [True: 0, False: 0]
  ------------------
 1061|      0|                    newConstArray[comp].setI64Const(std::min(childConstUnions[0][arg0comp].getI64Const(), childConstUnions[1][arg1comp].getI64Const()));
 1062|      0|                    break;
 1063|      0|                case EbtUint64:
  ------------------
  |  Branch (1063:17): [True: 0, False: 0]
  ------------------
 1064|      0|                    newConstArray[comp].setU64Const(std::min(childConstUnions[0][arg0comp].getU64Const(), childConstUnions[1][arg1comp].getU64Const()));
 1065|      0|                    break;
 1066|      0|                default: assert(false && "Default missing");
  ------------------
  |  Branch (1066:17): [True: 0, False: 0]
  ------------------
 1067|      0|                }
 1068|      0|                break;
 1069|      0|            case EOpMax:
  ------------------
  |  Branch (1069:13): [True: 0, False: 0]
  ------------------
 1070|      0|                switch(children[0]->getAsTyped()->getBasicType()) {
 1071|      0|                case EbtFloat16:
  ------------------
  |  Branch (1071:17): [True: 0, False: 0]
  ------------------
 1072|      0|                case EbtBFloat16:
  ------------------
  |  Branch (1072:17): [True: 0, False: 0]
  ------------------
 1073|      0|                case EbtFloatE5M2:
  ------------------
  |  Branch (1073:17): [True: 0, False: 0]
  ------------------
 1074|      0|                case EbtFloatE4M3:
  ------------------
  |  Branch (1074:17): [True: 0, False: 0]
  ------------------
 1075|      0|                case EbtFloatE2M1:
  ------------------
  |  Branch (1075:17): [True: 0, False: 0]
  ------------------
 1076|      0|                case EbtFloatE3M2:
  ------------------
  |  Branch (1076:17): [True: 0, False: 0]
  ------------------
 1077|      0|                case EbtFloatE2M3:
  ------------------
  |  Branch (1077:17): [True: 0, False: 0]
  ------------------
 1078|      0|                case EbtFloatUE8M0:
  ------------------
  |  Branch (1078:17): [True: 0, False: 0]
  ------------------
 1079|      0|                case EbtFloatMXINT8:
  ------------------
  |  Branch (1079:17): [True: 0, False: 0]
  ------------------
 1080|      0|                case EbtFloat:
  ------------------
  |  Branch (1080:17): [True: 0, False: 0]
  ------------------
 1081|      0|                case EbtDouble:
  ------------------
  |  Branch (1081:17): [True: 0, False: 0]
  ------------------
 1082|      0|                    newConstArray[comp].setDConst(std::max(childConstUnions[0][arg0comp].getDConst(), childConstUnions[1][arg1comp].getDConst()));
 1083|      0|                    break;
 1084|      0|                case EbtInt:
  ------------------
  |  Branch (1084:17): [True: 0, False: 0]
  ------------------
 1085|      0|                    newConstArray[comp].setIConst(std::max(childConstUnions[0][arg0comp].getIConst(), childConstUnions[1][arg1comp].getIConst()));
 1086|      0|                    break;
 1087|      0|                case EbtUint:
  ------------------
  |  Branch (1087:17): [True: 0, False: 0]
  ------------------
 1088|      0|                    newConstArray[comp].setUConst(std::max(childConstUnions[0][arg0comp].getUConst(), childConstUnions[1][arg1comp].getUConst()));
 1089|      0|                    break;
 1090|      0|                case EbtInt8:
  ------------------
  |  Branch (1090:17): [True: 0, False: 0]
  ------------------
 1091|      0|                    newConstArray[comp].setI8Const(std::max(childConstUnions[0][arg0comp].getI8Const(), childConstUnions[1][arg1comp].getI8Const()));
 1092|      0|                    break;
 1093|      0|                case EbtUint8:
  ------------------
  |  Branch (1093:17): [True: 0, False: 0]
  ------------------
 1094|      0|                    newConstArray[comp].setU8Const(std::max(childConstUnions[0][arg0comp].getU8Const(), childConstUnions[1][arg1comp].getU8Const()));
 1095|      0|                    break;
 1096|      0|                case EbtInt16:
  ------------------
  |  Branch (1096:17): [True: 0, False: 0]
  ------------------
 1097|      0|                    newConstArray[comp].setI16Const(std::max(childConstUnions[0][arg0comp].getI16Const(), childConstUnions[1][arg1comp].getI16Const()));
 1098|      0|                    break;
 1099|      0|                case EbtUint16:
  ------------------
  |  Branch (1099:17): [True: 0, False: 0]
  ------------------
 1100|      0|                    newConstArray[comp].setU16Const(std::max(childConstUnions[0][arg0comp].getU16Const(), childConstUnions[1][arg1comp].getU16Const()));
 1101|      0|                    break;
 1102|      0|                case EbtInt64:
  ------------------
  |  Branch (1102:17): [True: 0, False: 0]
  ------------------
 1103|      0|                    newConstArray[comp].setI64Const(std::max(childConstUnions[0][arg0comp].getI64Const(), childConstUnions[1][arg1comp].getI64Const()));
 1104|      0|                    break;
 1105|      0|                case EbtUint64:
  ------------------
  |  Branch (1105:17): [True: 0, False: 0]
  ------------------
 1106|      0|                    newConstArray[comp].setU64Const(std::max(childConstUnions[0][arg0comp].getU64Const(), childConstUnions[1][arg1comp].getU64Const()));
 1107|      0|                    break;
 1108|      0|                default: assert(false && "Default missing");
  ------------------
  |  Branch (1108:17): [True: 0, False: 0]
  ------------------
 1109|      0|                }
 1110|      0|                break;
 1111|      0|            case EOpClamp:
  ------------------
  |  Branch (1111:13): [True: 0, False: 0]
  ------------------
 1112|      0|                switch(children[0]->getAsTyped()->getBasicType()) {
 1113|      0|                case EbtFloat16:
  ------------------
  |  Branch (1113:17): [True: 0, False: 0]
  ------------------
 1114|      0|                case EbtBFloat16:
  ------------------
  |  Branch (1114:17): [True: 0, False: 0]
  ------------------
 1115|      0|                case EbtFloatE5M2:
  ------------------
  |  Branch (1115:17): [True: 0, False: 0]
  ------------------
 1116|      0|                case EbtFloatE4M3:
  ------------------
  |  Branch (1116:17): [True: 0, False: 0]
  ------------------
 1117|      0|                case EbtFloatE2M1:
  ------------------
  |  Branch (1117:17): [True: 0, False: 0]
  ------------------
 1118|      0|                case EbtFloatE3M2:
  ------------------
  |  Branch (1118:17): [True: 0, False: 0]
  ------------------
 1119|      0|                case EbtFloatE2M3:
  ------------------
  |  Branch (1119:17): [True: 0, False: 0]
  ------------------
 1120|      0|                case EbtFloatUE8M0:
  ------------------
  |  Branch (1120:17): [True: 0, False: 0]
  ------------------
 1121|      0|                case EbtFloatMXINT8:
  ------------------
  |  Branch (1121:17): [True: 0, False: 0]
  ------------------
 1122|      0|                case EbtFloat:
  ------------------
  |  Branch (1122:17): [True: 0, False: 0]
  ------------------
 1123|      0|                case EbtDouble:
  ------------------
  |  Branch (1123:17): [True: 0, False: 0]
  ------------------
 1124|      0|                    newConstArray[comp].setDConst(std::min(std::max(childConstUnions[0][arg0comp].getDConst(), childConstUnions[1][arg1comp].getDConst()),
 1125|      0|                                                                                                               childConstUnions[2][arg2comp].getDConst()));
 1126|      0|                    break;
 1127|      0|                case EbtUint:
  ------------------
  |  Branch (1127:17): [True: 0, False: 0]
  ------------------
 1128|      0|                    newConstArray[comp].setUConst(std::min(std::max(childConstUnions[0][arg0comp].getUConst(), childConstUnions[1][arg1comp].getUConst()),
 1129|      0|                                                                                                                   childConstUnions[2][arg2comp].getUConst()));
 1130|      0|                    break;
 1131|      0|                case EbtInt8:
  ------------------
  |  Branch (1131:17): [True: 0, False: 0]
  ------------------
 1132|      0|                    newConstArray[comp].setI8Const(std::min(std::max(childConstUnions[0][arg0comp].getI8Const(), childConstUnions[1][arg1comp].getI8Const()),
 1133|      0|                                                                                                                   childConstUnions[2][arg2comp].getI8Const()));
 1134|      0|                    break;
 1135|      0|                case EbtUint8:
  ------------------
  |  Branch (1135:17): [True: 0, False: 0]
  ------------------
 1136|      0|                     newConstArray[comp].setU8Const(std::min(std::max(childConstUnions[0][arg0comp].getU8Const(), childConstUnions[1][arg1comp].getU8Const()),
 1137|      0|                                                                                                                   childConstUnions[2][arg2comp].getU8Const()));
 1138|      0|                    break;
 1139|      0|                case EbtInt16:
  ------------------
  |  Branch (1139:17): [True: 0, False: 0]
  ------------------
 1140|      0|                    newConstArray[comp].setI16Const(std::min(std::max(childConstUnions[0][arg0comp].getI16Const(), childConstUnions[1][arg1comp].getI16Const()),
 1141|      0|                                                                                                                   childConstUnions[2][arg2comp].getI16Const()));
 1142|      0|                    break;
 1143|      0|                case EbtUint16:
  ------------------
  |  Branch (1143:17): [True: 0, False: 0]
  ------------------
 1144|      0|                    newConstArray[comp].setU16Const(std::min(std::max(childConstUnions[0][arg0comp].getU16Const(), childConstUnions[1][arg1comp].getU16Const()),
 1145|      0|                                                                                                                   childConstUnions[2][arg2comp].getU16Const()));
 1146|      0|                    break;
 1147|      0|                case EbtInt:
  ------------------
  |  Branch (1147:17): [True: 0, False: 0]
  ------------------
 1148|      0|                    newConstArray[comp].setIConst(std::min(std::max(childConstUnions[0][arg0comp].getIConst(), childConstUnions[1][arg1comp].getIConst()),
 1149|      0|                                                                                                                   childConstUnions[2][arg2comp].getIConst()));
 1150|      0|                    break;
 1151|      0|                case EbtInt64:
  ------------------
  |  Branch (1151:17): [True: 0, False: 0]
  ------------------
 1152|      0|                    newConstArray[comp].setI64Const(std::min(std::max(childConstUnions[0][arg0comp].getI64Const(), childConstUnions[1][arg1comp].getI64Const()),
 1153|      0|                                                                                                                       childConstUnions[2][arg2comp].getI64Const()));
 1154|      0|                    break;
 1155|      0|                case EbtUint64:
  ------------------
  |  Branch (1155:17): [True: 0, False: 0]
  ------------------
 1156|      0|                    newConstArray[comp].setU64Const(std::min(std::max(childConstUnions[0][arg0comp].getU64Const(), childConstUnions[1][arg1comp].getU64Const()),
 1157|      0|                                                                                                                       childConstUnions[2][arg2comp].getU64Const()));
 1158|      0|                    break;
 1159|      0|                default: assert(false && "Default missing");
  ------------------
  |  Branch (1159:17): [True: 0, False: 0]
  ------------------
 1160|      0|                }
 1161|      0|                break;
 1162|      0|            case EOpLessThan:
  ------------------
  |  Branch (1162:13): [True: 0, False: 0]
  ------------------
 1163|      0|                newConstArray[comp].setBConst(childConstUnions[0][arg0comp] < childConstUnions[1][arg1comp]);
 1164|      0|                break;
 1165|      0|            case EOpGreaterThan:
  ------------------
  |  Branch (1165:13): [True: 0, False: 0]
  ------------------
 1166|      0|                newConstArray[comp].setBConst(childConstUnions[0][arg0comp] > childConstUnions[1][arg1comp]);
 1167|      0|                break;
 1168|      0|            case EOpLessThanEqual:
  ------------------
  |  Branch (1168:13): [True: 0, False: 0]
  ------------------
 1169|      0|                newConstArray[comp].setBConst(! (childConstUnions[0][arg0comp] > childConstUnions[1][arg1comp]));
 1170|      0|                break;
 1171|      0|            case EOpGreaterThanEqual:
  ------------------
  |  Branch (1171:13): [True: 0, False: 0]
  ------------------
 1172|      0|                newConstArray[comp].setBConst(! (childConstUnions[0][arg0comp] < childConstUnions[1][arg1comp]));
 1173|      0|                break;
 1174|      0|            case EOpVectorEqual:
  ------------------
  |  Branch (1174:13): [True: 0, False: 0]
  ------------------
 1175|      0|                newConstArray[comp].setBConst(childConstUnions[0][arg0comp] == childConstUnions[1][arg1comp]);
 1176|      0|                break;
 1177|      0|            case EOpVectorNotEqual:
  ------------------
  |  Branch (1177:13): [True: 0, False: 0]
  ------------------
 1178|      0|                newConstArray[comp].setBConst(childConstUnions[0][arg0comp] != childConstUnions[1][arg1comp]);
 1179|      0|                break;
 1180|      0|            case EOpMix:
  ------------------
  |  Branch (1180:13): [True: 0, False: 0]
  ------------------
 1181|      0|                if (!children[0]->getAsTyped()->isFloatingDomain())
  ------------------
  |  Branch (1181:21): [True: 0, False: 0]
  ------------------
 1182|      0|                    return aggrNode;
 1183|      0|                if (children[2]->getAsTyped()->getBasicType() == EbtBool) {
  ------------------
  |  Branch (1183:21): [True: 0, False: 0]
  ------------------
 1184|      0|                    newConstArray[comp].setDConst(childConstUnions[2][arg2comp].getBConst()
  ------------------
  |  Branch (1184:51): [True: 0, False: 0]
  ------------------
 1185|      0|                        ? childConstUnions[1][arg1comp].getDConst()
 1186|      0|                        : childConstUnions[0][arg0comp].getDConst());
 1187|      0|                } else {
 1188|      0|                    newConstArray[comp].setDConst(
 1189|      0|                        childConstUnions[0][arg0comp].getDConst() * (1.0 - childConstUnions[2][arg2comp].getDConst()) +
 1190|      0|                        childConstUnions[1][arg1comp].getDConst() *        childConstUnions[2][arg2comp].getDConst());
 1191|      0|                }
 1192|      0|                break;
 1193|      0|            case EOpStep:
  ------------------
  |  Branch (1193:13): [True: 0, False: 0]
  ------------------
 1194|      0|                newConstArray[comp].setDConst(childConstUnions[1][arg1comp].getDConst() < childConstUnions[0][arg0comp].getDConst() ? 0.0 : 1.0);
  ------------------
  |  Branch (1194:47): [True: 0, False: 0]
  ------------------
 1195|      0|                break;
 1196|      0|            case EOpSmoothStep:
  ------------------
  |  Branch (1196:13): [True: 0, False: 0]
  ------------------
 1197|      0|            {
 1198|      0|                double t = (childConstUnions[2][arg2comp].getDConst() - childConstUnions[0][arg0comp].getDConst()) /
 1199|      0|                           (childConstUnions[1][arg1comp].getDConst() - childConstUnions[0][arg0comp].getDConst());
 1200|      0|                if (t < 0.0)
  ------------------
  |  Branch (1200:21): [True: 0, False: 0]
  ------------------
 1201|      0|                    t = 0.0;
 1202|      0|                if (t > 1.0)
  ------------------
  |  Branch (1202:21): [True: 0, False: 0]
  ------------------
 1203|      0|                    t = 1.0;
 1204|      0|                newConstArray[comp].setDConst(t * t * (3.0 - 2.0 * t));
 1205|      0|                break;
 1206|      0|            }
 1207|      0|            default:
  ------------------
  |  Branch (1207:13): [True: 0, False: 0]
  ------------------
 1208|      0|                return aggrNode;
 1209|      0|            }
 1210|      0|        }
 1211|      0|    } else {
 1212|       |        // Non-componentwise...
 1213|       |
 1214|      0|        int numComps = children[0]->getAsConstantUnion()->getType().computeNumComponents();
 1215|      0|        double dot;
 1216|       |
 1217|      0|        switch (aggrNode->getOp()) {
 1218|      0|        case EOpDistance:
  ------------------
  |  Branch (1218:9): [True: 0, False: 0]
  ------------------
 1219|      0|        {
 1220|      0|            double sum = 0.0;
 1221|      0|            for (int comp = 0; comp < numComps; ++comp) {
  ------------------
  |  Branch (1221:32): [True: 0, False: 0]
  ------------------
 1222|      0|                double diff = childConstUnions[1][comp].getDConst() - childConstUnions[0][comp].getDConst();
 1223|      0|                sum += diff * diff;
 1224|      0|            }
 1225|      0|            newConstArray[0].setDConst(sqrt(sum));
 1226|      0|            break;
 1227|      0|        }
 1228|      0|        case EOpDot:
  ------------------
  |  Branch (1228:9): [True: 0, False: 0]
  ------------------
 1229|      0|            if (!children[0]->getAsTyped()->isFloatingDomain()) {
  ------------------
  |  Branch (1229:17): [True: 0, False: 0]
  ------------------
 1230|      0|                return aggrNode;
 1231|      0|            }
 1232|      0|            newConstArray[0].setDConst(childConstUnions[0].dot(childConstUnions[1]));
 1233|      0|            break;
 1234|      0|        case EOpCross:
  ------------------
  |  Branch (1234:9): [True: 0, False: 0]
  ------------------
 1235|      0|            newConstArray[0] = childConstUnions[0][1] * childConstUnions[1][2] - childConstUnions[0][2] * childConstUnions[1][1];
 1236|      0|            newConstArray[1] = childConstUnions[0][2] * childConstUnions[1][0] - childConstUnions[0][0] * childConstUnions[1][2];
 1237|      0|            newConstArray[2] = childConstUnions[0][0] * childConstUnions[1][1] - childConstUnions[0][1] * childConstUnions[1][0];
 1238|      0|            break;
 1239|      0|        case EOpFaceForward:
  ------------------
  |  Branch (1239:9): [True: 0, False: 0]
  ------------------
 1240|       |            // If dot(Nref, I) < 0 return N, otherwise return -N:  Arguments are (N, I, Nref).
 1241|      0|            dot = childConstUnions[1].dot(childConstUnions[2]);
 1242|      0|            for (int comp = 0; comp < numComps; ++comp) {
  ------------------
  |  Branch (1242:32): [True: 0, False: 0]
  ------------------
 1243|      0|                if (dot < 0.0)
  ------------------
  |  Branch (1243:21): [True: 0, False: 0]
  ------------------
 1244|      0|                    newConstArray[comp] = childConstUnions[0][comp];
 1245|      0|                else
 1246|      0|                    newConstArray[comp].setDConst(-childConstUnions[0][comp].getDConst());
 1247|      0|            }
 1248|      0|            break;
 1249|      0|        case EOpReflect:
  ------------------
  |  Branch (1249:9): [True: 0, False: 0]
  ------------------
 1250|       |            // I - 2 * dot(N, I) * N:  Arguments are (I, N).
 1251|      0|            dot = childConstUnions[0].dot(childConstUnions[1]);
 1252|      0|            dot *= 2.0;
 1253|      0|            for (int comp = 0; comp < numComps; ++comp)
  ------------------
  |  Branch (1253:32): [True: 0, False: 0]
  ------------------
 1254|      0|                newConstArray[comp].setDConst(childConstUnions[0][comp].getDConst() - dot * childConstUnions[1][comp].getDConst());
 1255|      0|            break;
 1256|      0|        case EOpRefract:
  ------------------
  |  Branch (1256:9): [True: 0, False: 0]
  ------------------
 1257|      0|        {
 1258|       |            // Arguments are (I, N, eta).
 1259|       |            // k = 1.0 - eta * eta * (1.0 - dot(N, I) * dot(N, I))
 1260|       |            // if (k < 0.0)
 1261|       |            //     return dvec(0.0)
 1262|       |            // else
 1263|       |            //     return eta * I - (eta * dot(N, I) + sqrt(k)) * N
 1264|      0|            dot = childConstUnions[0].dot(childConstUnions[1]);
 1265|      0|            double eta = childConstUnions[2][0].getDConst();
 1266|      0|            double k = 1.0 - eta * eta * (1.0 - dot * dot);
 1267|      0|            if (k < 0.0) {
  ------------------
  |  Branch (1267:17): [True: 0, False: 0]
  ------------------
 1268|      0|                for (int comp = 0; comp < numComps; ++comp)
  ------------------
  |  Branch (1268:36): [True: 0, False: 0]
  ------------------
 1269|      0|                    newConstArray[comp].setDConst(0.0);
 1270|      0|            } else {
 1271|      0|                for (int comp = 0; comp < numComps; ++comp)
  ------------------
  |  Branch (1271:36): [True: 0, False: 0]
  ------------------
 1272|      0|                    newConstArray[comp].setDConst(eta * childConstUnions[0][comp].getDConst() - (eta * dot + sqrt(k)) * childConstUnions[1][comp].getDConst());
 1273|      0|            }
 1274|      0|            break;
 1275|      0|        }
 1276|      0|        case EOpOuterProduct:
  ------------------
  |  Branch (1276:9): [True: 0, False: 0]
  ------------------
 1277|      0|        {
 1278|      0|            int numRows = numComps;
 1279|      0|            int numCols = children[1]->getAsConstantUnion()->getType().computeNumComponents();
 1280|      0|            for (int row = 0; row < numRows; ++row)
  ------------------
  |  Branch (1280:31): [True: 0, False: 0]
  ------------------
 1281|      0|                for (int col = 0; col < numCols; ++col)
  ------------------
  |  Branch (1281:35): [True: 0, False: 0]
  ------------------
 1282|      0|                    newConstArray[col * numRows + row] = childConstUnions[0][row] * childConstUnions[1][col];
 1283|      0|            break;
 1284|      0|        }
 1285|      0|        default:
  ------------------
  |  Branch (1285:9): [True: 0, False: 0]
  ------------------
 1286|      0|            return aggrNode;
 1287|      0|        }
 1288|      0|    }
 1289|       |
 1290|      0|    TIntermConstantUnion *newNode = new TIntermConstantUnion(newConstArray, aggrNode->getType());
 1291|      0|    newNode->getWritableType().getQualifier().storage = EvqConst;
 1292|      0|    newNode->setLoc(aggrNode->getLoc());
 1293|       |
 1294|      0|    return newNode;
 1295|      0|}
_ZN7glslang13TIntermediate16areAllChildConstEPNS_16TIntermAggregateE:
 1298|     14|{
 1299|     14|    bool allConstant = true;
 1300|       |
 1301|       |    // check if all the child nodes are constants so that they can be inserted into
 1302|       |    // the parent node
 1303|     14|    if (aggrNode) {
  ------------------
  |  Branch (1303:9): [True: 14, False: 0]
  ------------------
 1304|     14|        TIntermSequence& childSequenceVector = aggrNode->getSequence();
 1305|     14|        for (TIntermSequence::iterator p  = childSequenceVector.begin();
 1306|     56|                                       p != childSequenceVector.end(); p++) {
  ------------------
  |  Branch (1306:40): [True: 42, False: 14]
  ------------------
 1307|     42|            if (!(*p)->getAsTyped()->getAsConstantUnion())
  ------------------
  |  Branch (1307:17): [True: 0, False: 42]
  ------------------
 1308|      0|                return false;
 1309|     42|        }
 1310|     14|    }
 1311|       |
 1312|     14|    return allConstant;
 1313|     14|}
_ZN7glslang13TIntermediate15foldConstructorEPNS_16TIntermAggregateE:
 1316|     14|{
 1317|     14|    bool error = false;
 1318|       |
 1319|     14|    TConstUnionArray unionArray(aggrNode->getType().computeNumComponents());
 1320|     14|    if (aggrNode->getSequence().size() == 1)
  ------------------
  |  Branch (1320:9): [True: 0, False: 14]
  ------------------
 1321|      0|        error = parseConstTree(aggrNode, unionArray, aggrNode->getOp(), aggrNode->getType(), true);
 1322|     14|    else
 1323|     14|        error = parseConstTree(aggrNode, unionArray, aggrNode->getOp(), aggrNode->getType());
 1324|       |
 1325|     14|    if (error)
  ------------------
  |  Branch (1325:9): [True: 0, False: 14]
  ------------------
 1326|      0|        return aggrNode;
 1327|       |
 1328|     14|    return addConstantUnion(unionArray, aggrNode->getType(), aggrNode->getLoc());
 1329|     14|}

_ZN7glslang13TInfoSinkBase6appendEPKc:
   42|   847k|{
   43|   847k|    if (outputStream & EString) {
  ------------------
  |  Branch (43:9): [True: 847k, False: 0]
  ------------------
   44|   847k|        if (s == nullptr)
  ------------------
  |  Branch (44:13): [True: 0, False: 847k]
  ------------------
   45|      0|            sink.append("(null)");
   46|   847k|        else {
   47|   847k|            checkMem(strlen(s));
   48|   847k|            sink.append(s);
   49|   847k|        }
   50|   847k|    }
   51|       |
   52|       |//#ifdef _WIN32
   53|       |//    if (outputStream & EDebugger)
   54|       |//        OutputDebugString(s);
   55|       |//#endif
   56|       |
   57|   847k|    if (outputStream & EStdOut)
  ------------------
  |  Branch (57:9): [True: 0, False: 847k]
  ------------------
   58|      0|        fprintf(stdout, "%s", s);
   59|   847k|}
_ZN7glslang13TInfoSinkBase6appendERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
   82|  16.1k|{
   83|  16.1k|    if (outputStream & EString) {
  ------------------
  |  Branch (83:9): [True: 16.1k, False: 0]
  ------------------
   84|  16.1k|        checkMem(t.size());
   85|  16.1k|        sink.append(t);
   86|  16.1k|    }
   87|       |
   88|       |//#ifdef _WIN32
   89|       |//    if (outputStream & EDebugger)
   90|       |//        OutputDebugString(t.c_str());
   91|       |//#endif
   92|       |
   93|  16.1k|    if (outputStream & EStdOut)
  ------------------
  |  Branch (93:9): [True: 0, False: 16.1k]
  ------------------
   94|      0|        fprintf(stdout, "%s", t.c_str());
   95|  16.1k|}
_ZN7glslang13TInfoSinkBase6appendERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
   98|   461k|{
   99|   461k|    if (outputStream & EString) {
  ------------------
  |  Branch (99:9): [True: 461k, False: 0]
  ------------------
  100|   461k|        checkMem(t.size());
  101|   461k|        sink.append(t.c_str());
  102|   461k|    }
  103|       |
  104|       |//#ifdef _WIN32
  105|       |//    if (outputStream & EDebugger)
  106|       |//        OutputDebugString(t.c_str());
  107|       |//#endif
  108|       |
  109|   461k|    if (outputStream & EStdOut)
  ------------------
  |  Branch (109:9): [True: 0, False: 461k]
  ------------------
  110|      0|        fprintf(stdout, "%s", t.c_str());
  111|   461k|}

_ZN7glslang9TBuiltIns17addTabledBuiltinsEi8EProfileRKNS_10SpvVersionE:
  509|     36|{
  510|     36|    const auto forEachFunction = [&](TString& decls, const span<const BuiltInFunction>& functions) {
  511|     36|        for (const auto& fn : functions) {
  512|     36|            if (ValidVersion(fn, version, profile, spvVersion)) {
  513|     36|                AddTabledBuiltin(decls, fn);
  514|     36|                if (profile != EEsProfile) {
  515|     36|                    AddLongVectorBuiltin(decls, fn);
  516|     36|                }
  517|     36|            }
  518|     36|        }
  519|     36|    };
  520|       |
  521|     36|    forEachFunction(commonBuiltins, BaseFunctions);
  522|     36|    forEachFunction(stageBuiltins[EShLangFragment], DerivativeFunctions);
  523|       |
  524|     36|    if ((profile == EEsProfile && version >= 320) || (profile != EEsProfile && version >= 450))
  ------------------
  |  Branch (524:10): [True: 34, False: 2]
  |  Branch (524:35): [True: 0, False: 34]
  |  Branch (524:55): [True: 2, False: 34]
  |  Branch (524:80): [True: 2, False: 0]
  ------------------
  525|      2|        forEachFunction(stageBuiltins[EShLangCompute], DerivativeFunctions);
  526|     36|}
_ZN7glslang9TBuiltIns20relateTabledBuiltinsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableE:
  530|     96|{
  531|     96|    RelateTabledBuiltins(BaseFunctions, symbolTable);
  532|     96|    RelateTabledBuiltins(DerivativeFunctions, symbolTable);
  533|     96|    RelateTabledBuiltins(CustomFunctions, symbolTable);
  534|     96|}
_ZN7glslang18TBuiltInParseablesC2Ev:
  544|    116|{
  545|    116|}
_ZN7glslang18TBuiltInParseablesD2Ev:
  549|    116|{
  550|    116|}
_ZN7glslang9TBuiltInsC2Ev:
  553|     72|{
  554|       |    // Set up textual representations for making all the permutations
  555|       |    // of texturing/imaging functions.
  556|     72|    prefixes[EbtFloat] =  "";
  557|     72|    prefixes[EbtInt]   = "i";
  558|     72|    prefixes[EbtUint]  = "u";
  559|     72|    prefixes[EbtFloat16] = "f16";
  560|     72|    prefixes[EbtInt8]  = "i8";
  561|     72|    prefixes[EbtUint8] = "u8";
  562|     72|    prefixes[EbtInt16]  = "i16";
  563|     72|    prefixes[EbtUint16] = "u16";
  564|     72|    prefixes[EbtInt64]  = "i64";
  565|     72|    prefixes[EbtUint64] = "u64";
  566|       |
  567|     72|    postfixes[2] = "2";
  568|     72|    postfixes[3] = "3";
  569|     72|    postfixes[4] = "4";
  570|       |
  571|       |    // Map from symbolic class of texturing dimension to numeric dimensions.
  572|     72|    dimMap[Esd2D] = 2;
  573|     72|    dimMap[Esd3D] = 3;
  574|     72|    dimMap[EsdCube] = 3;
  575|     72|    dimMap[Esd1D] = 1;
  576|     72|    dimMap[EsdRect] = 2;
  577|     72|    dimMap[EsdBuffer] = 1;
  578|     72|    dimMap[EsdSubpass] = 2;  // potentially unused for now
  579|     72|    dimMap[EsdAttachmentEXT] = 2;  // potentially unused for now
  580|     72|}
_ZN7glslang9TBuiltIns10initializeEi8EProfileRKNS_10SpvVersionE:
  596|     36|{
  597|     36|    addTabledBuiltins(version, profile, spvVersion);
  598|       |
  599|       |    //============================================================================
  600|       |    //
  601|       |    // Prototypes for built-in functions used repeatly by different shaders
  602|       |    //
  603|       |    //============================================================================
  604|       |
  605|       |    //
  606|       |    // Derivatives Functions.
  607|       |    //
  608|     36|    TString derivatives (
  609|     36|        "float dFdx(float p);"
  610|     36|        "vec2  dFdx(vec2  p);"
  611|     36|        "vec3  dFdx(vec3  p);"
  612|     36|        "vec4  dFdx(vec4  p);"
  613|       |
  614|     36|        "float dFdy(float p);"
  615|     36|        "vec2  dFdy(vec2  p);"
  616|     36|        "vec3  dFdy(vec3  p);"
  617|     36|        "vec4  dFdy(vec4  p);"
  618|       |
  619|     36|        "float fwidth(float p);"
  620|     36|        "vec2  fwidth(vec2  p);"
  621|     36|        "vec3  fwidth(vec3  p);"
  622|     36|        "vec4  fwidth(vec4  p);"
  623|     36|    );
  624|       |
  625|     36|    TString derivativeControls (
  626|     36|        "float dFdxFine(float p);"
  627|     36|        "vec2  dFdxFine(vec2  p);"
  628|     36|        "vec3  dFdxFine(vec3  p);"
  629|     36|        "vec4  dFdxFine(vec4  p);"
  630|       |
  631|     36|        "float dFdyFine(float p);"
  632|     36|        "vec2  dFdyFine(vec2  p);"
  633|     36|        "vec3  dFdyFine(vec3  p);"
  634|     36|        "vec4  dFdyFine(vec4  p);"
  635|       |
  636|     36|        "float fwidthFine(float p);"
  637|     36|        "vec2  fwidthFine(vec2  p);"
  638|     36|        "vec3  fwidthFine(vec3  p);"
  639|     36|        "vec4  fwidthFine(vec4  p);"
  640|       |
  641|     36|        "float dFdxCoarse(float p);"
  642|     36|        "vec2  dFdxCoarse(vec2  p);"
  643|     36|        "vec3  dFdxCoarse(vec3  p);"
  644|     36|        "vec4  dFdxCoarse(vec4  p);"
  645|       |
  646|     36|        "float dFdyCoarse(float p);"
  647|     36|        "vec2  dFdyCoarse(vec2  p);"
  648|     36|        "vec3  dFdyCoarse(vec3  p);"
  649|     36|        "vec4  dFdyCoarse(vec4  p);"
  650|       |
  651|     36|        "float fwidthCoarse(float p);"
  652|     36|        "vec2  fwidthCoarse(vec2  p);"
  653|     36|        "vec3  fwidthCoarse(vec3  p);"
  654|     36|        "vec4  fwidthCoarse(vec4  p);"
  655|     36|    );
  656|       |
  657|     36|    TString derivativesAndControl16bits (
  658|     36|        "float16_t dFdx(float16_t);"
  659|     36|        "f16vec2   dFdx(f16vec2);"
  660|     36|        "f16vec3   dFdx(f16vec3);"
  661|     36|        "f16vec4   dFdx(f16vec4);"
  662|       |
  663|     36|        "float16_t dFdy(float16_t);"
  664|     36|        "f16vec2   dFdy(f16vec2);"
  665|     36|        "f16vec3   dFdy(f16vec3);"
  666|     36|        "f16vec4   dFdy(f16vec4);"
  667|       |
  668|     36|        "float16_t dFdxFine(float16_t);"
  669|     36|        "f16vec2   dFdxFine(f16vec2);"
  670|     36|        "f16vec3   dFdxFine(f16vec3);"
  671|     36|        "f16vec4   dFdxFine(f16vec4);"
  672|       |
  673|     36|        "float16_t dFdyFine(float16_t);"
  674|     36|        "f16vec2   dFdyFine(f16vec2);"
  675|     36|        "f16vec3   dFdyFine(f16vec3);"
  676|     36|        "f16vec4   dFdyFine(f16vec4);"
  677|       |
  678|     36|        "float16_t dFdxCoarse(float16_t);"
  679|     36|        "f16vec2   dFdxCoarse(f16vec2);"
  680|     36|        "f16vec3   dFdxCoarse(f16vec3);"
  681|     36|        "f16vec4   dFdxCoarse(f16vec4);"
  682|       |
  683|     36|        "float16_t dFdyCoarse(float16_t);"
  684|     36|        "f16vec2   dFdyCoarse(f16vec2);"
  685|     36|        "f16vec3   dFdyCoarse(f16vec3);"
  686|     36|        "f16vec4   dFdyCoarse(f16vec4);"
  687|       |
  688|     36|        "float16_t fwidth(float16_t);"
  689|     36|        "f16vec2   fwidth(f16vec2);"
  690|     36|        "f16vec3   fwidth(f16vec3);"
  691|     36|        "f16vec4   fwidth(f16vec4);"
  692|       |
  693|     36|        "float16_t fwidthFine(float16_t);"
  694|     36|        "f16vec2   fwidthFine(f16vec2);"
  695|     36|        "f16vec3   fwidthFine(f16vec3);"
  696|     36|        "f16vec4   fwidthFine(f16vec4);"
  697|       |
  698|     36|        "float16_t fwidthCoarse(float16_t);"
  699|     36|        "f16vec2   fwidthCoarse(f16vec2);"
  700|     36|        "f16vec3   fwidthCoarse(f16vec3);"
  701|     36|        "f16vec4   fwidthCoarse(f16vec4);"
  702|     36|    );
  703|       |
  704|     36|    TString derivativesAndControl64bits (
  705|     36|        "float64_t dFdx(float64_t);"
  706|     36|        "f64vec2   dFdx(f64vec2);"
  707|     36|        "f64vec3   dFdx(f64vec3);"
  708|     36|        "f64vec4   dFdx(f64vec4);"
  709|       |
  710|     36|        "float64_t dFdy(float64_t);"
  711|     36|        "f64vec2   dFdy(f64vec2);"
  712|     36|        "f64vec3   dFdy(f64vec3);"
  713|     36|        "f64vec4   dFdy(f64vec4);"
  714|       |
  715|     36|        "float64_t dFdxFine(float64_t);"
  716|     36|        "f64vec2   dFdxFine(f64vec2);"
  717|     36|        "f64vec3   dFdxFine(f64vec3);"
  718|     36|        "f64vec4   dFdxFine(f64vec4);"
  719|       |
  720|     36|        "float64_t dFdyFine(float64_t);"
  721|     36|        "f64vec2   dFdyFine(f64vec2);"
  722|     36|        "f64vec3   dFdyFine(f64vec3);"
  723|     36|        "f64vec4   dFdyFine(f64vec4);"
  724|       |
  725|     36|        "float64_t dFdxCoarse(float64_t);"
  726|     36|        "f64vec2   dFdxCoarse(f64vec2);"
  727|     36|        "f64vec3   dFdxCoarse(f64vec3);"
  728|     36|        "f64vec4   dFdxCoarse(f64vec4);"
  729|       |
  730|     36|        "float64_t dFdyCoarse(float64_t);"
  731|     36|        "f64vec2   dFdyCoarse(f64vec2);"
  732|     36|        "f64vec3   dFdyCoarse(f64vec3);"
  733|     36|        "f64vec4   dFdyCoarse(f64vec4);"
  734|       |
  735|     36|        "float64_t fwidth(float64_t);"
  736|     36|        "f64vec2   fwidth(f64vec2);"
  737|     36|        "f64vec3   fwidth(f64vec3);"
  738|     36|        "f64vec4   fwidth(f64vec4);"
  739|       |
  740|     36|        "float64_t fwidthFine(float64_t);"
  741|     36|        "f64vec2   fwidthFine(f64vec2);"
  742|     36|        "f64vec3   fwidthFine(f64vec3);"
  743|     36|        "f64vec4   fwidthFine(f64vec4);"
  744|       |
  745|     36|        "float64_t fwidthCoarse(float64_t);"
  746|     36|        "f64vec2   fwidthCoarse(f64vec2);"
  747|     36|        "f64vec3   fwidthCoarse(f64vec3);"
  748|     36|        "f64vec4   fwidthCoarse(f64vec4);"
  749|     36|    );
  750|       |
  751|       |    //============================================================================
  752|       |    //
  753|       |    // Prototypes for built-in functions seen by both vertex and fragment shaders.
  754|       |    //
  755|       |    //============================================================================
  756|       |
  757|       |    //
  758|       |    // double functions added to desktop 4.00, but not fma, frexp, ldexp, or pack/unpack
  759|       |    //
  760|     36|    if (profile != EEsProfile && version >= 150) {  // ARB_gpu_shader_fp64
  ------------------
  |  Branch (760:9): [True: 2, False: 34]
  |  Branch (760:34): [True: 2, False: 0]
  ------------------
  761|      2|        commonBuiltins.append(
  762|       |
  763|      2|            "double sqrt(double);"
  764|      2|            "dvec2  sqrt(dvec2);"
  765|      2|            "dvec3  sqrt(dvec3);"
  766|      2|            "dvec4  sqrt(dvec4);"
  767|       |
  768|      2|            "double inversesqrt(double);"
  769|      2|            "dvec2  inversesqrt(dvec2);"
  770|      2|            "dvec3  inversesqrt(dvec3);"
  771|      2|            "dvec4  inversesqrt(dvec4);"
  772|       |
  773|      2|            "double abs(double);"
  774|      2|            "dvec2  abs(dvec2);"
  775|      2|            "dvec3  abs(dvec3);"
  776|      2|            "dvec4  abs(dvec4);"
  777|       |
  778|      2|            "double sign(double);"
  779|      2|            "dvec2  sign(dvec2);"
  780|      2|            "dvec3  sign(dvec3);"
  781|      2|            "dvec4  sign(dvec4);"
  782|       |
  783|      2|            "double floor(double);"
  784|      2|            "dvec2  floor(dvec2);"
  785|      2|            "dvec3  floor(dvec3);"
  786|      2|            "dvec4  floor(dvec4);"
  787|       |
  788|      2|            "double trunc(double);"
  789|      2|            "dvec2  trunc(dvec2);"
  790|      2|            "dvec3  trunc(dvec3);"
  791|      2|            "dvec4  trunc(dvec4);"
  792|       |
  793|      2|            "double round(double);"
  794|      2|            "dvec2  round(dvec2);"
  795|      2|            "dvec3  round(dvec3);"
  796|      2|            "dvec4  round(dvec4);"
  797|       |
  798|      2|            "double roundEven(double);"
  799|      2|            "dvec2  roundEven(dvec2);"
  800|      2|            "dvec3  roundEven(dvec3);"
  801|      2|            "dvec4  roundEven(dvec4);"
  802|       |
  803|      2|            "double ceil(double);"
  804|      2|            "dvec2  ceil(dvec2);"
  805|      2|            "dvec3  ceil(dvec3);"
  806|      2|            "dvec4  ceil(dvec4);"
  807|       |
  808|      2|            "double fract(double);"
  809|      2|            "dvec2  fract(dvec2);"
  810|      2|            "dvec3  fract(dvec3);"
  811|      2|            "dvec4  fract(dvec4);"
  812|       |
  813|      2|            "double mod(double, double);"
  814|      2|            "dvec2  mod(dvec2 , double);"
  815|      2|            "dvec3  mod(dvec3 , double);"
  816|      2|            "dvec4  mod(dvec4 , double);"
  817|      2|            "dvec2  mod(dvec2 , dvec2);"
  818|      2|            "dvec3  mod(dvec3 , dvec3);"
  819|      2|            "dvec4  mod(dvec4 , dvec4);"
  820|       |
  821|      2|            "double modf(double, out double);"
  822|      2|            "dvec2  modf(dvec2,  out dvec2);"
  823|      2|            "dvec3  modf(dvec3,  out dvec3);"
  824|      2|            "dvec4  modf(dvec4,  out dvec4);"
  825|       |
  826|      2|            "double min(double, double);"
  827|      2|            "dvec2  min(dvec2,  double);"
  828|      2|            "dvec3  min(dvec3,  double);"
  829|      2|            "dvec4  min(dvec4,  double);"
  830|      2|            "dvec2  min(dvec2,  dvec2);"
  831|      2|            "dvec3  min(dvec3,  dvec3);"
  832|      2|            "dvec4  min(dvec4,  dvec4);"
  833|       |
  834|      2|            "double max(double, double);"
  835|      2|            "dvec2  max(dvec2 , double);"
  836|      2|            "dvec3  max(dvec3 , double);"
  837|      2|            "dvec4  max(dvec4 , double);"
  838|      2|            "dvec2  max(dvec2 , dvec2);"
  839|      2|            "dvec3  max(dvec3 , dvec3);"
  840|      2|            "dvec4  max(dvec4 , dvec4);"
  841|       |
  842|      2|            "double clamp(double, double, double);"
  843|      2|            "dvec2  clamp(dvec2 , double, double);"
  844|      2|            "dvec3  clamp(dvec3 , double, double);"
  845|      2|            "dvec4  clamp(dvec4 , double, double);"
  846|      2|            "dvec2  clamp(dvec2 , dvec2 , dvec2);"
  847|      2|            "dvec3  clamp(dvec3 , dvec3 , dvec3);"
  848|      2|            "dvec4  clamp(dvec4 , dvec4 , dvec4);"
  849|       |
  850|      2|            "double mix(double, double, double);"
  851|      2|            "dvec2  mix(dvec2,  dvec2,  double);"
  852|      2|            "dvec3  mix(dvec3,  dvec3,  double);"
  853|      2|            "dvec4  mix(dvec4,  dvec4,  double);"
  854|      2|            "dvec2  mix(dvec2,  dvec2,  dvec2);"
  855|      2|            "dvec3  mix(dvec3,  dvec3,  dvec3);"
  856|      2|            "dvec4  mix(dvec4,  dvec4,  dvec4);"
  857|      2|            "double mix(double, double, bool);"
  858|      2|            "dvec2  mix(dvec2,  dvec2,  bvec2);"
  859|      2|            "dvec3  mix(dvec3,  dvec3,  bvec3);"
  860|      2|            "dvec4  mix(dvec4,  dvec4,  bvec4);"
  861|       |
  862|      2|            "double step(double, double);"
  863|      2|            "dvec2  step(dvec2 , dvec2);"
  864|      2|            "dvec3  step(dvec3 , dvec3);"
  865|      2|            "dvec4  step(dvec4 , dvec4);"
  866|      2|            "dvec2  step(double, dvec2);"
  867|      2|            "dvec3  step(double, dvec3);"
  868|      2|            "dvec4  step(double, dvec4);"
  869|       |
  870|      2|            "double smoothstep(double, double, double);"
  871|      2|            "dvec2  smoothstep(dvec2 , dvec2 , dvec2);"
  872|      2|            "dvec3  smoothstep(dvec3 , dvec3 , dvec3);"
  873|      2|            "dvec4  smoothstep(dvec4 , dvec4 , dvec4);"
  874|      2|            "dvec2  smoothstep(double, double, dvec2);"
  875|      2|            "dvec3  smoothstep(double, double, dvec3);"
  876|      2|            "dvec4  smoothstep(double, double, dvec4);"
  877|       |
  878|      2|            "bool  isnan(double);"
  879|      2|            "bvec2 isnan(dvec2);"
  880|      2|            "bvec3 isnan(dvec3);"
  881|      2|            "bvec4 isnan(dvec4);"
  882|       |
  883|      2|            "bool  isinf(double);"
  884|      2|            "bvec2 isinf(dvec2);"
  885|      2|            "bvec3 isinf(dvec3);"
  886|      2|            "bvec4 isinf(dvec4);"
  887|       |
  888|      2|            "double length(double);"
  889|      2|            "double length(dvec2);"
  890|      2|            "double length(dvec3);"
  891|      2|            "double length(dvec4);"
  892|       |
  893|      2|            "double distance(double, double);"
  894|      2|            "double distance(dvec2 , dvec2);"
  895|      2|            "double distance(dvec3 , dvec3);"
  896|      2|            "double distance(dvec4 , dvec4);"
  897|       |
  898|      2|            "double dot(double, double);"
  899|      2|            "double dot(dvec2 , dvec2);"
  900|      2|            "double dot(dvec3 , dvec3);"
  901|      2|            "double dot(dvec4 , dvec4);"
  902|       |
  903|      2|            "dvec3 cross(dvec3, dvec3);"
  904|       |
  905|      2|            "double normalize(double);"
  906|      2|            "dvec2  normalize(dvec2);"
  907|      2|            "dvec3  normalize(dvec3);"
  908|      2|            "dvec4  normalize(dvec4);"
  909|       |
  910|      2|            "double faceforward(double, double, double);"
  911|      2|            "dvec2  faceforward(dvec2,  dvec2,  dvec2);"
  912|      2|            "dvec3  faceforward(dvec3,  dvec3,  dvec3);"
  913|      2|            "dvec4  faceforward(dvec4,  dvec4,  dvec4);"
  914|       |
  915|      2|            "double reflect(double, double);"
  916|      2|            "dvec2  reflect(dvec2 , dvec2 );"
  917|      2|            "dvec3  reflect(dvec3 , dvec3 );"
  918|      2|            "dvec4  reflect(dvec4 , dvec4 );"
  919|       |
  920|      2|            "double refract(double, double, double);"
  921|      2|            "dvec2  refract(dvec2 , dvec2 , double);"
  922|      2|            "dvec3  refract(dvec3 , dvec3 , double);"
  923|      2|            "dvec4  refract(dvec4 , dvec4 , double);"
  924|       |
  925|      2|            "dmat2 matrixCompMult(dmat2, dmat2);"
  926|      2|            "dmat3 matrixCompMult(dmat3, dmat3);"
  927|      2|            "dmat4 matrixCompMult(dmat4, dmat4);"
  928|      2|            "dmat2x3 matrixCompMult(dmat2x3, dmat2x3);"
  929|      2|            "dmat2x4 matrixCompMult(dmat2x4, dmat2x4);"
  930|      2|            "dmat3x2 matrixCompMult(dmat3x2, dmat3x2);"
  931|      2|            "dmat3x4 matrixCompMult(dmat3x4, dmat3x4);"
  932|      2|            "dmat4x2 matrixCompMult(dmat4x2, dmat4x2);"
  933|      2|            "dmat4x3 matrixCompMult(dmat4x3, dmat4x3);"
  934|       |
  935|      2|            "dmat2   outerProduct(dvec2, dvec2);"
  936|      2|            "dmat3   outerProduct(dvec3, dvec3);"
  937|      2|            "dmat4   outerProduct(dvec4, dvec4);"
  938|      2|            "dmat2x3 outerProduct(dvec3, dvec2);"
  939|      2|            "dmat3x2 outerProduct(dvec2, dvec3);"
  940|      2|            "dmat2x4 outerProduct(dvec4, dvec2);"
  941|      2|            "dmat4x2 outerProduct(dvec2, dvec4);"
  942|      2|            "dmat3x4 outerProduct(dvec4, dvec3);"
  943|      2|            "dmat4x3 outerProduct(dvec3, dvec4);"
  944|       |
  945|      2|            "dmat2   transpose(dmat2);"
  946|      2|            "dmat3   transpose(dmat3);"
  947|      2|            "dmat4   transpose(dmat4);"
  948|      2|            "dmat2x3 transpose(dmat3x2);"
  949|      2|            "dmat3x2 transpose(dmat2x3);"
  950|      2|            "dmat2x4 transpose(dmat4x2);"
  951|      2|            "dmat4x2 transpose(dmat2x4);"
  952|      2|            "dmat3x4 transpose(dmat4x3);"
  953|      2|            "dmat4x3 transpose(dmat3x4);"
  954|       |
  955|      2|            "double determinant(dmat2);"
  956|      2|            "double determinant(dmat3);"
  957|      2|            "double determinant(dmat4);"
  958|       |
  959|      2|            "dmat2 inverse(dmat2);"
  960|      2|            "dmat3 inverse(dmat3);"
  961|      2|            "dmat4 inverse(dmat4);"
  962|       |
  963|      2|            "bvec2 lessThan(dvec2, dvec2);"
  964|      2|            "bvec3 lessThan(dvec3, dvec3);"
  965|      2|            "bvec4 lessThan(dvec4, dvec4);"
  966|       |
  967|      2|            "bvec2 lessThanEqual(dvec2, dvec2);"
  968|      2|            "bvec3 lessThanEqual(dvec3, dvec3);"
  969|      2|            "bvec4 lessThanEqual(dvec4, dvec4);"
  970|       |
  971|      2|            "bvec2 greaterThan(dvec2, dvec2);"
  972|      2|            "bvec3 greaterThan(dvec3, dvec3);"
  973|      2|            "bvec4 greaterThan(dvec4, dvec4);"
  974|       |
  975|      2|            "bvec2 greaterThanEqual(dvec2, dvec2);"
  976|      2|            "bvec3 greaterThanEqual(dvec3, dvec3);"
  977|      2|            "bvec4 greaterThanEqual(dvec4, dvec4);"
  978|       |
  979|      2|            "bvec2 equal(dvec2, dvec2);"
  980|      2|            "bvec3 equal(dvec3, dvec3);"
  981|      2|            "bvec4 equal(dvec4, dvec4);"
  982|       |
  983|      2|            "bvec2 notEqual(dvec2, dvec2);"
  984|      2|            "bvec3 notEqual(dvec3, dvec3);"
  985|      2|            "bvec4 notEqual(dvec4, dvec4);"
  986|       |
  987|      2|            "\n");
  988|      2|    }
  989|       |
  990|     36|    if (profile == EEsProfile && version >= 310) {  // Explicit Types
  ------------------
  |  Branch (990:9): [True: 34, False: 2]
  |  Branch (990:34): [True: 0, False: 34]
  ------------------
  991|      0|      commonBuiltins.append(
  992|       |
  993|      0|        "float64_t sqrt(float64_t);"
  994|      0|        "f64vec2  sqrt(f64vec2);"
  995|      0|        "f64vec3  sqrt(f64vec3);"
  996|      0|        "f64vec4  sqrt(f64vec4);"
  997|       |
  998|      0|        "float64_t inversesqrt(float64_t);"
  999|      0|        "f64vec2  inversesqrt(f64vec2);"
 1000|      0|        "f64vec3  inversesqrt(f64vec3);"
 1001|      0|        "f64vec4  inversesqrt(f64vec4);"
 1002|       |
 1003|      0|        "float64_t abs(float64_t);"
 1004|      0|        "f64vec2  abs(f64vec2);"
 1005|      0|        "f64vec3  abs(f64vec3);"
 1006|      0|        "f64vec4  abs(f64vec4);"
 1007|       |
 1008|      0|        "float64_t sign(float64_t);"
 1009|      0|        "f64vec2  sign(f64vec2);"
 1010|      0|        "f64vec3  sign(f64vec3);"
 1011|      0|        "f64vec4  sign(f64vec4);"
 1012|       |
 1013|      0|        "float64_t floor(float64_t);"
 1014|      0|        "f64vec2  floor(f64vec2);"
 1015|      0|        "f64vec3  floor(f64vec3);"
 1016|      0|        "f64vec4  floor(f64vec4);"
 1017|       |
 1018|      0|        "float64_t trunc(float64_t);"
 1019|      0|        "f64vec2  trunc(f64vec2);"
 1020|      0|        "f64vec3  trunc(f64vec3);"
 1021|      0|        "f64vec4  trunc(f64vec4);"
 1022|       |
 1023|      0|        "float64_t round(float64_t);"
 1024|      0|        "f64vec2  round(f64vec2);"
 1025|      0|        "f64vec3  round(f64vec3);"
 1026|      0|        "f64vec4  round(f64vec4);"
 1027|       |
 1028|      0|        "float64_t roundEven(float64_t);"
 1029|      0|        "f64vec2  roundEven(f64vec2);"
 1030|      0|        "f64vec3  roundEven(f64vec3);"
 1031|      0|        "f64vec4  roundEven(f64vec4);"
 1032|       |
 1033|      0|        "float64_t ceil(float64_t);"
 1034|      0|        "f64vec2  ceil(f64vec2);"
 1035|      0|        "f64vec3  ceil(f64vec3);"
 1036|      0|        "f64vec4  ceil(f64vec4);"
 1037|       |
 1038|      0|        "float64_t fract(float64_t);"
 1039|      0|        "f64vec2  fract(f64vec2);"
 1040|      0|        "f64vec3  fract(f64vec3);"
 1041|      0|        "f64vec4  fract(f64vec4);"
 1042|       |
 1043|      0|        "float64_t mod(float64_t, float64_t);"
 1044|      0|        "f64vec2  mod(f64vec2 , float64_t);"
 1045|      0|        "f64vec3  mod(f64vec3 , float64_t);"
 1046|      0|        "f64vec4  mod(f64vec4 , float64_t);"
 1047|      0|        "f64vec2  mod(f64vec2 , f64vec2);"
 1048|      0|        "f64vec3  mod(f64vec3 , f64vec3);"
 1049|      0|        "f64vec4  mod(f64vec4 , f64vec4);"
 1050|       |
 1051|      0|        "float64_t modf(float64_t, out float64_t);"
 1052|      0|        "f64vec2  modf(f64vec2,  out f64vec2);"
 1053|      0|        "f64vec3  modf(f64vec3,  out f64vec3);"
 1054|      0|        "f64vec4  modf(f64vec4,  out f64vec4);"
 1055|       |
 1056|      0|        "float64_t min(float64_t, float64_t);"
 1057|      0|        "f64vec2  min(f64vec2,  float64_t);"
 1058|      0|        "f64vec3  min(f64vec3,  float64_t);"
 1059|      0|        "f64vec4  min(f64vec4,  float64_t);"
 1060|      0|        "f64vec2  min(f64vec2,  f64vec2);"
 1061|      0|        "f64vec3  min(f64vec3,  f64vec3);"
 1062|      0|        "f64vec4  min(f64vec4,  f64vec4);"
 1063|       |
 1064|      0|        "float64_t max(float64_t, float64_t);"
 1065|      0|        "f64vec2  max(f64vec2 , float64_t);"
 1066|      0|        "f64vec3  max(f64vec3 , float64_t);"
 1067|      0|        "f64vec4  max(f64vec4 , float64_t);"
 1068|      0|        "f64vec2  max(f64vec2 , f64vec2);"
 1069|      0|        "f64vec3  max(f64vec3 , f64vec3);"
 1070|      0|        "f64vec4  max(f64vec4 , f64vec4);"
 1071|       |
 1072|      0|        "float64_t clamp(float64_t, float64_t, float64_t);"
 1073|      0|        "f64vec2  clamp(f64vec2 , float64_t, float64_t);"
 1074|      0|        "f64vec3  clamp(f64vec3 , float64_t, float64_t);"
 1075|      0|        "f64vec4  clamp(f64vec4 , float64_t, float64_t);"
 1076|      0|        "f64vec2  clamp(f64vec2 , f64vec2 , f64vec2);"
 1077|      0|        "f64vec3  clamp(f64vec3 , f64vec3 , f64vec3);"
 1078|      0|        "f64vec4  clamp(f64vec4 , f64vec4 , f64vec4);"
 1079|       |
 1080|      0|        "float64_t mix(float64_t, float64_t, float64_t);"
 1081|      0|        "f64vec2  mix(f64vec2,  f64vec2,  float64_t);"
 1082|      0|        "f64vec3  mix(f64vec3,  f64vec3,  float64_t);"
 1083|      0|        "f64vec4  mix(f64vec4,  f64vec4,  float64_t);"
 1084|      0|        "f64vec2  mix(f64vec2,  f64vec2,  f64vec2);"
 1085|      0|        "f64vec3  mix(f64vec3,  f64vec3,  f64vec3);"
 1086|      0|        "f64vec4  mix(f64vec4,  f64vec4,  f64vec4);"
 1087|      0|        "float64_t mix(float64_t, float64_t, bool);"
 1088|      0|        "f64vec2  mix(f64vec2,  f64vec2,  bvec2);"
 1089|      0|        "f64vec3  mix(f64vec3,  f64vec3,  bvec3);"
 1090|      0|        "f64vec4  mix(f64vec4,  f64vec4,  bvec4);"
 1091|       |
 1092|      0|        "float64_t step(float64_t, float64_t);"
 1093|      0|        "f64vec2  step(f64vec2 , f64vec2);"
 1094|      0|        "f64vec3  step(f64vec3 , f64vec3);"
 1095|      0|        "f64vec4  step(f64vec4 , f64vec4);"
 1096|      0|        "f64vec2  step(float64_t, f64vec2);"
 1097|      0|        "f64vec3  step(float64_t, f64vec3);"
 1098|      0|        "f64vec4  step(float64_t, f64vec4);"
 1099|       |
 1100|      0|        "float64_t smoothstep(float64_t, float64_t, float64_t);"
 1101|      0|        "f64vec2  smoothstep(f64vec2 , f64vec2 , f64vec2);"
 1102|      0|        "f64vec3  smoothstep(f64vec3 , f64vec3 , f64vec3);"
 1103|      0|        "f64vec4  smoothstep(f64vec4 , f64vec4 , f64vec4);"
 1104|      0|        "f64vec2  smoothstep(float64_t, float64_t, f64vec2);"
 1105|      0|        "f64vec3  smoothstep(float64_t, float64_t, f64vec3);"
 1106|      0|        "f64vec4  smoothstep(float64_t, float64_t, f64vec4);"
 1107|       |
 1108|      0|        "float64_t length(float64_t);"
 1109|      0|        "float64_t length(f64vec2);"
 1110|      0|        "float64_t length(f64vec3);"
 1111|      0|        "float64_t length(f64vec4);"
 1112|       |
 1113|      0|        "float64_t distance(float64_t, float64_t);"
 1114|      0|        "float64_t distance(f64vec2 , f64vec2);"
 1115|      0|        "float64_t distance(f64vec3 , f64vec3);"
 1116|      0|        "float64_t distance(f64vec4 , f64vec4);"
 1117|       |
 1118|      0|        "float64_t dot(float64_t, float64_t);"
 1119|      0|        "float64_t dot(f64vec2 , f64vec2);"
 1120|      0|        "float64_t dot(f64vec3 , f64vec3);"
 1121|      0|        "float64_t dot(f64vec4 , f64vec4);"
 1122|       |
 1123|      0|        "f64vec3 cross(f64vec3, f64vec3);"
 1124|       |
 1125|      0|        "float64_t normalize(float64_t);"
 1126|      0|        "f64vec2  normalize(f64vec2);"
 1127|      0|        "f64vec3  normalize(f64vec3);"
 1128|      0|        "f64vec4  normalize(f64vec4);"
 1129|       |
 1130|      0|        "float64_t faceforward(float64_t, float64_t, float64_t);"
 1131|      0|        "f64vec2  faceforward(f64vec2,  f64vec2,  f64vec2);"
 1132|      0|        "f64vec3  faceforward(f64vec3,  f64vec3,  f64vec3);"
 1133|      0|        "f64vec4  faceforward(f64vec4,  f64vec4,  f64vec4);"
 1134|       |
 1135|      0|        "float64_t reflect(float64_t, float64_t);"
 1136|      0|        "f64vec2  reflect(f64vec2 , f64vec2 );"
 1137|      0|        "f64vec3  reflect(f64vec3 , f64vec3 );"
 1138|      0|        "f64vec4  reflect(f64vec4 , f64vec4 );"
 1139|       |
 1140|      0|        "float64_t refract(float64_t, float64_t, float64_t);"
 1141|      0|        "f64vec2  refract(f64vec2 , f64vec2 , float64_t);"
 1142|      0|        "f64vec3  refract(f64vec3 , f64vec3 , float64_t);"
 1143|      0|        "f64vec4  refract(f64vec4 , f64vec4 , float64_t);"
 1144|       |
 1145|      0|        "f64mat2 matrixCompMult(f64mat2, f64mat2);"
 1146|      0|        "f64mat3 matrixCompMult(f64mat3, f64mat3);"
 1147|      0|        "f64mat4 matrixCompMult(f64mat4, f64mat4);"
 1148|      0|        "f64mat2x3 matrixCompMult(f64mat2x3, f64mat2x3);"
 1149|      0|        "f64mat2x4 matrixCompMult(f64mat2x4, f64mat2x4);"
 1150|      0|        "f64mat3x2 matrixCompMult(f64mat3x2, f64mat3x2);"
 1151|      0|        "f64mat3x4 matrixCompMult(f64mat3x4, f64mat3x4);"
 1152|      0|        "f64mat4x2 matrixCompMult(f64mat4x2, f64mat4x2);"
 1153|      0|        "f64mat4x3 matrixCompMult(f64mat4x3, f64mat4x3);"
 1154|       |
 1155|      0|        "f64mat2   outerProduct(f64vec2, f64vec2);"
 1156|      0|        "f64mat3   outerProduct(f64vec3, f64vec3);"
 1157|      0|        "f64mat4   outerProduct(f64vec4, f64vec4);"
 1158|      0|        "f64mat2x3 outerProduct(f64vec3, f64vec2);"
 1159|      0|        "f64mat3x2 outerProduct(f64vec2, f64vec3);"
 1160|      0|        "f64mat2x4 outerProduct(f64vec4, f64vec2);"
 1161|      0|        "f64mat4x2 outerProduct(f64vec2, f64vec4);"
 1162|      0|        "f64mat3x4 outerProduct(f64vec4, f64vec3);"
 1163|      0|        "f64mat4x3 outerProduct(f64vec3, f64vec4);"
 1164|       |
 1165|      0|        "f64mat2   transpose(f64mat2);"
 1166|      0|        "f64mat3   transpose(f64mat3);"
 1167|      0|        "f64mat4   transpose(f64mat4);"
 1168|      0|        "f64mat2x3 transpose(f64mat3x2);"
 1169|      0|        "f64mat3x2 transpose(f64mat2x3);"
 1170|      0|        "f64mat2x4 transpose(f64mat4x2);"
 1171|      0|        "f64mat4x2 transpose(f64mat2x4);"
 1172|      0|        "f64mat3x4 transpose(f64mat4x3);"
 1173|      0|        "f64mat4x3 transpose(f64mat3x4);"
 1174|       |
 1175|      0|        "float64_t determinant(f64mat2);"
 1176|      0|        "float64_t determinant(f64mat3);"
 1177|      0|        "float64_t determinant(f64mat4);"
 1178|       |
 1179|      0|        "f64mat2 inverse(f64mat2);"
 1180|      0|        "f64mat3 inverse(f64mat3);"
 1181|      0|        "f64mat4 inverse(f64mat4);"
 1182|       |
 1183|      0|        "\n");
 1184|      0|    }
 1185|       |
 1186|     36|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (1186:10): [True: 2, False: 34]
  |  Branch (1186:35): [True: 2, False: 0]
  |  Branch (1186:55): [True: 34, False: 0]
  |  Branch (1186:80): [True: 0, False: 34]
  ------------------
 1187|      2|        commonBuiltins.append(
 1188|       |
 1189|      2|            "int64_t abs(int64_t);"
 1190|      2|            "i64vec2 abs(i64vec2);"
 1191|      2|            "i64vec3 abs(i64vec3);"
 1192|      2|            "i64vec4 abs(i64vec4);"
 1193|       |
 1194|      2|            "int64_t sign(int64_t);"
 1195|      2|            "i64vec2 sign(i64vec2);"
 1196|      2|            "i64vec3 sign(i64vec3);"
 1197|      2|            "i64vec4 sign(i64vec4);"
 1198|       |
 1199|      2|            "int64_t  min(int64_t,  int64_t);"
 1200|      2|            "i64vec2  min(i64vec2,  int64_t);"
 1201|      2|            "i64vec3  min(i64vec3,  int64_t);"
 1202|      2|            "i64vec4  min(i64vec4,  int64_t);"
 1203|      2|            "i64vec2  min(i64vec2,  i64vec2);"
 1204|      2|            "i64vec3  min(i64vec3,  i64vec3);"
 1205|      2|            "i64vec4  min(i64vec4,  i64vec4);"
 1206|      2|            "uint64_t min(uint64_t, uint64_t);"
 1207|      2|            "u64vec2  min(u64vec2,  uint64_t);"
 1208|      2|            "u64vec3  min(u64vec3,  uint64_t);"
 1209|      2|            "u64vec4  min(u64vec4,  uint64_t);"
 1210|      2|            "u64vec2  min(u64vec2,  u64vec2);"
 1211|      2|            "u64vec3  min(u64vec3,  u64vec3);"
 1212|      2|            "u64vec4  min(u64vec4,  u64vec4);"
 1213|       |
 1214|      2|            "int64_t  max(int64_t,  int64_t);"
 1215|      2|            "i64vec2  max(i64vec2,  int64_t);"
 1216|      2|            "i64vec3  max(i64vec3,  int64_t);"
 1217|      2|            "i64vec4  max(i64vec4,  int64_t);"
 1218|      2|            "i64vec2  max(i64vec2,  i64vec2);"
 1219|      2|            "i64vec3  max(i64vec3,  i64vec3);"
 1220|      2|            "i64vec4  max(i64vec4,  i64vec4);"
 1221|      2|            "uint64_t max(uint64_t, uint64_t);"
 1222|      2|            "u64vec2  max(u64vec2,  uint64_t);"
 1223|      2|            "u64vec3  max(u64vec3,  uint64_t);"
 1224|      2|            "u64vec4  max(u64vec4,  uint64_t);"
 1225|      2|            "u64vec2  max(u64vec2,  u64vec2);"
 1226|      2|            "u64vec3  max(u64vec3,  u64vec3);"
 1227|      2|            "u64vec4  max(u64vec4,  u64vec4);"
 1228|       |
 1229|      2|            "int64_t  clamp(int64_t,  int64_t,  int64_t);"
 1230|      2|            "i64vec2  clamp(i64vec2,  int64_t,  int64_t);"
 1231|      2|            "i64vec3  clamp(i64vec3,  int64_t,  int64_t);"
 1232|      2|            "i64vec4  clamp(i64vec4,  int64_t,  int64_t);"
 1233|      2|            "i64vec2  clamp(i64vec2,  i64vec2,  i64vec2);"
 1234|      2|            "i64vec3  clamp(i64vec3,  i64vec3,  i64vec3);"
 1235|      2|            "i64vec4  clamp(i64vec4,  i64vec4,  i64vec4);"
 1236|      2|            "uint64_t clamp(uint64_t, uint64_t, uint64_t);"
 1237|      2|            "u64vec2  clamp(u64vec2,  uint64_t, uint64_t);"
 1238|      2|            "u64vec3  clamp(u64vec3,  uint64_t, uint64_t);"
 1239|      2|            "u64vec4  clamp(u64vec4,  uint64_t, uint64_t);"
 1240|      2|            "u64vec2  clamp(u64vec2,  u64vec2,  u64vec2);"
 1241|      2|            "u64vec3  clamp(u64vec3,  u64vec3,  u64vec3);"
 1242|      2|            "u64vec4  clamp(u64vec4,  u64vec4,  u64vec4);"
 1243|       |
 1244|      2|            "int64_t  mix(int64_t,  int64_t,  bool);"
 1245|      2|            "i64vec2  mix(i64vec2,  i64vec2,  bvec2);"
 1246|      2|            "i64vec3  mix(i64vec3,  i64vec3,  bvec3);"
 1247|      2|            "i64vec4  mix(i64vec4,  i64vec4,  bvec4);"
 1248|      2|            "uint64_t mix(uint64_t, uint64_t, bool);"
 1249|      2|            "u64vec2  mix(u64vec2,  u64vec2,  bvec2);"
 1250|      2|            "u64vec3  mix(u64vec3,  u64vec3,  bvec3);"
 1251|      2|            "u64vec4  mix(u64vec4,  u64vec4,  bvec4);"
 1252|       |
 1253|      2|            "int64_t doubleBitsToInt64(float64_t);"
 1254|      2|            "i64vec2 doubleBitsToInt64(f64vec2);"
 1255|      2|            "i64vec3 doubleBitsToInt64(f64vec3);"
 1256|      2|            "i64vec4 doubleBitsToInt64(f64vec4);"
 1257|       |
 1258|      2|            "uint64_t doubleBitsToUint64(float64_t);"
 1259|      2|            "u64vec2  doubleBitsToUint64(f64vec2);"
 1260|      2|            "u64vec3  doubleBitsToUint64(f64vec3);"
 1261|      2|            "u64vec4  doubleBitsToUint64(f64vec4);"
 1262|       |
 1263|      2|            "float64_t int64BitsToDouble(int64_t);"
 1264|      2|            "f64vec2  int64BitsToDouble(i64vec2);"
 1265|      2|            "f64vec3  int64BitsToDouble(i64vec3);"
 1266|      2|            "f64vec4  int64BitsToDouble(i64vec4);"
 1267|       |
 1268|      2|            "float64_t uint64BitsToDouble(uint64_t);"
 1269|      2|            "f64vec2  uint64BitsToDouble(u64vec2);"
 1270|      2|            "f64vec3  uint64BitsToDouble(u64vec3);"
 1271|      2|            "f64vec4  uint64BitsToDouble(u64vec4);"
 1272|       |
 1273|      2|            "int64_t  packInt2x32(ivec2);"
 1274|      2|            "uint64_t packUint2x32(uvec2);"
 1275|      2|            "ivec2    unpackInt2x32(int64_t);"
 1276|      2|            "uvec2    unpackUint2x32(uint64_t);"
 1277|       |
 1278|      2|            "bvec2 lessThan(i64vec2, i64vec2);"
 1279|      2|            "bvec3 lessThan(i64vec3, i64vec3);"
 1280|      2|            "bvec4 lessThan(i64vec4, i64vec4);"
 1281|      2|            "bvec2 lessThan(u64vec2, u64vec2);"
 1282|      2|            "bvec3 lessThan(u64vec3, u64vec3);"
 1283|      2|            "bvec4 lessThan(u64vec4, u64vec4);"
 1284|       |
 1285|      2|            "bvec2 lessThanEqual(i64vec2, i64vec2);"
 1286|      2|            "bvec3 lessThanEqual(i64vec3, i64vec3);"
 1287|      2|            "bvec4 lessThanEqual(i64vec4, i64vec4);"
 1288|      2|            "bvec2 lessThanEqual(u64vec2, u64vec2);"
 1289|      2|            "bvec3 lessThanEqual(u64vec3, u64vec3);"
 1290|      2|            "bvec4 lessThanEqual(u64vec4, u64vec4);"
 1291|       |
 1292|      2|            "bvec2 greaterThan(i64vec2, i64vec2);"
 1293|      2|            "bvec3 greaterThan(i64vec3, i64vec3);"
 1294|      2|            "bvec4 greaterThan(i64vec4, i64vec4);"
 1295|      2|            "bvec2 greaterThan(u64vec2, u64vec2);"
 1296|      2|            "bvec3 greaterThan(u64vec3, u64vec3);"
 1297|      2|            "bvec4 greaterThan(u64vec4, u64vec4);"
 1298|       |
 1299|      2|            "bvec2 greaterThanEqual(i64vec2, i64vec2);"
 1300|      2|            "bvec3 greaterThanEqual(i64vec3, i64vec3);"
 1301|      2|            "bvec4 greaterThanEqual(i64vec4, i64vec4);"
 1302|      2|            "bvec2 greaterThanEqual(u64vec2, u64vec2);"
 1303|      2|            "bvec3 greaterThanEqual(u64vec3, u64vec3);"
 1304|      2|            "bvec4 greaterThanEqual(u64vec4, u64vec4);"
 1305|       |
 1306|      2|            "bvec2 equal(i64vec2, i64vec2);"
 1307|      2|            "bvec3 equal(i64vec3, i64vec3);"
 1308|      2|            "bvec4 equal(i64vec4, i64vec4);"
 1309|      2|            "bvec2 equal(u64vec2, u64vec2);"
 1310|      2|            "bvec3 equal(u64vec3, u64vec3);"
 1311|      2|            "bvec4 equal(u64vec4, u64vec4);"
 1312|       |
 1313|      2|            "bvec2 notEqual(i64vec2, i64vec2);"
 1314|      2|            "bvec3 notEqual(i64vec3, i64vec3);"
 1315|      2|            "bvec4 notEqual(i64vec4, i64vec4);"
 1316|      2|            "bvec2 notEqual(u64vec2, u64vec2);"
 1317|      2|            "bvec3 notEqual(u64vec3, u64vec3);"
 1318|      2|            "bvec4 notEqual(u64vec4, u64vec4);"
 1319|       |
 1320|      2|            "int64_t bitCount(int64_t);"
 1321|      2|            "i64vec2 bitCount(i64vec2);"
 1322|      2|            "i64vec3 bitCount(i64vec3);"
 1323|      2|            "i64vec4 bitCount(i64vec4);"
 1324|       |
 1325|      2|            "int64_t bitCount(uint64_t);"
 1326|      2|            "i64vec2 bitCount(u64vec2);"
 1327|      2|            "i64vec3 bitCount(u64vec3);"
 1328|      2|            "i64vec4 bitCount(u64vec4);"
 1329|       |
 1330|      2|            "int64_t findLSB(int64_t);"
 1331|      2|            "i64vec2 findLSB(i64vec2);"
 1332|      2|            "i64vec3 findLSB(i64vec3);"
 1333|      2|            "i64vec4 findLSB(i64vec4);"
 1334|       |
 1335|      2|            "int64_t findLSB(uint64_t);"
 1336|      2|            "i64vec2 findLSB(u64vec2);"
 1337|      2|            "i64vec3 findLSB(u64vec3);"
 1338|      2|            "i64vec4 findLSB(u64vec4);"
 1339|       |
 1340|      2|            "int64_t findMSB(int64_t);"
 1341|      2|            "i64vec2 findMSB(i64vec2);"
 1342|      2|            "i64vec3 findMSB(i64vec3);"
 1343|      2|            "i64vec4 findMSB(i64vec4);"
 1344|       |
 1345|      2|            "int64_t findMSB(uint64_t);"
 1346|      2|            "i64vec2 findMSB(u64vec2);"
 1347|      2|            "i64vec3 findMSB(u64vec3);"
 1348|      2|            "i64vec4 findMSB(u64vec4);"
 1349|       |
 1350|      2|            "\n"
 1351|      2|        );
 1352|      2|    }
 1353|       |
 1354|       |    // GL_AMD_shader_trinary_minmax
 1355|     36|    if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (1355:9): [True: 2, False: 34]
  |  Branch (1355:34): [True: 2, False: 0]
  ------------------
 1356|      2|        commonBuiltins.append(
 1357|      2|            "float min3(float, float, float);"
 1358|      2|            "vec2  min3(vec2,  vec2,  vec2);"
 1359|      2|            "vec3  min3(vec3,  vec3,  vec3);"
 1360|      2|            "vec4  min3(vec4,  vec4,  vec4);"
 1361|       |
 1362|      2|            "int   min3(int,   int,   int);"
 1363|      2|            "ivec2 min3(ivec2, ivec2, ivec2);"
 1364|      2|            "ivec3 min3(ivec3, ivec3, ivec3);"
 1365|      2|            "ivec4 min3(ivec4, ivec4, ivec4);"
 1366|       |
 1367|      2|            "uint  min3(uint,  uint,  uint);"
 1368|      2|            "uvec2 min3(uvec2, uvec2, uvec2);"
 1369|      2|            "uvec3 min3(uvec3, uvec3, uvec3);"
 1370|      2|            "uvec4 min3(uvec4, uvec4, uvec4);"
 1371|       |
 1372|      2|            "float max3(float, float, float);"
 1373|      2|            "vec2  max3(vec2,  vec2,  vec2);"
 1374|      2|            "vec3  max3(vec3,  vec3,  vec3);"
 1375|      2|            "vec4  max3(vec4,  vec4,  vec4);"
 1376|       |
 1377|      2|            "int   max3(int,   int,   int);"
 1378|      2|            "ivec2 max3(ivec2, ivec2, ivec2);"
 1379|      2|            "ivec3 max3(ivec3, ivec3, ivec3);"
 1380|      2|            "ivec4 max3(ivec4, ivec4, ivec4);"
 1381|       |
 1382|      2|            "uint  max3(uint,  uint,  uint);"
 1383|      2|            "uvec2 max3(uvec2, uvec2, uvec2);"
 1384|      2|            "uvec3 max3(uvec3, uvec3, uvec3);"
 1385|      2|            "uvec4 max3(uvec4, uvec4, uvec4);"
 1386|       |
 1387|      2|            "float mid3(float, float, float);"
 1388|      2|            "vec2  mid3(vec2,  vec2,  vec2);"
 1389|      2|            "vec3  mid3(vec3,  vec3,  vec3);"
 1390|      2|            "vec4  mid3(vec4,  vec4,  vec4);"
 1391|       |
 1392|      2|            "int   mid3(int,   int,   int);"
 1393|      2|            "ivec2 mid3(ivec2, ivec2, ivec2);"
 1394|      2|            "ivec3 mid3(ivec3, ivec3, ivec3);"
 1395|      2|            "ivec4 mid3(ivec4, ivec4, ivec4);"
 1396|       |
 1397|      2|            "uint  mid3(uint,  uint,  uint);"
 1398|      2|            "uvec2 mid3(uvec2, uvec2, uvec2);"
 1399|      2|            "uvec3 mid3(uvec3, uvec3, uvec3);"
 1400|      2|            "uvec4 mid3(uvec4, uvec4, uvec4);"
 1401|       |
 1402|      2|            "float16_t min3(float16_t, float16_t, float16_t);"
 1403|      2|            "f16vec2   min3(f16vec2,   f16vec2,   f16vec2);"
 1404|      2|            "f16vec3   min3(f16vec3,   f16vec3,   f16vec3);"
 1405|      2|            "f16vec4   min3(f16vec4,   f16vec4,   f16vec4);"
 1406|       |
 1407|      2|            "float16_t max3(float16_t, float16_t, float16_t);"
 1408|      2|            "f16vec2   max3(f16vec2,   f16vec2,   f16vec2);"
 1409|      2|            "f16vec3   max3(f16vec3,   f16vec3,   f16vec3);"
 1410|      2|            "f16vec4   max3(f16vec4,   f16vec4,   f16vec4);"
 1411|       |
 1412|      2|            "float16_t mid3(float16_t, float16_t, float16_t);"
 1413|      2|            "f16vec2   mid3(f16vec2,   f16vec2,   f16vec2);"
 1414|      2|            "f16vec3   mid3(f16vec3,   f16vec3,   f16vec3);"
 1415|      2|            "f16vec4   mid3(f16vec4,   f16vec4,   f16vec4);"
 1416|       |
 1417|      2|            "int16_t   min3(int16_t,   int16_t,   int16_t);"
 1418|      2|            "i16vec2   min3(i16vec2,   i16vec2,   i16vec2);"
 1419|      2|            "i16vec3   min3(i16vec3,   i16vec3,   i16vec3);"
 1420|      2|            "i16vec4   min3(i16vec4,   i16vec4,   i16vec4);"
 1421|       |
 1422|      2|            "int16_t   max3(int16_t,   int16_t,   int16_t);"
 1423|      2|            "i16vec2   max3(i16vec2,   i16vec2,   i16vec2);"
 1424|      2|            "i16vec3   max3(i16vec3,   i16vec3,   i16vec3);"
 1425|      2|            "i16vec4   max3(i16vec4,   i16vec4,   i16vec4);"
 1426|       |
 1427|      2|            "int16_t   mid3(int16_t,   int16_t,   int16_t);"
 1428|      2|            "i16vec2   mid3(i16vec2,   i16vec2,   i16vec2);"
 1429|      2|            "i16vec3   mid3(i16vec3,   i16vec3,   i16vec3);"
 1430|      2|            "i16vec4   mid3(i16vec4,   i16vec4,   i16vec4);"
 1431|       |
 1432|      2|            "uint16_t  min3(uint16_t,  uint16_t,  uint16_t);"
 1433|      2|            "u16vec2   min3(u16vec2,   u16vec2,   u16vec2);"
 1434|      2|            "u16vec3   min3(u16vec3,   u16vec3,   u16vec3);"
 1435|      2|            "u16vec4   min3(u16vec4,   u16vec4,   u16vec4);"
 1436|       |
 1437|      2|            "uint16_t  max3(uint16_t,  uint16_t,  uint16_t);"
 1438|      2|            "u16vec2   max3(u16vec2,   u16vec2,   u16vec2);"
 1439|      2|            "u16vec3   max3(u16vec3,   u16vec3,   u16vec3);"
 1440|      2|            "u16vec4   max3(u16vec4,   u16vec4,   u16vec4);"
 1441|       |
 1442|      2|            "uint16_t  mid3(uint16_t,  uint16_t,  uint16_t);"
 1443|      2|            "u16vec2   mid3(u16vec2,   u16vec2,   u16vec2);"
 1444|      2|            "u16vec3   mid3(u16vec3,   u16vec3,   u16vec3);"
 1445|      2|            "u16vec4   mid3(u16vec4,   u16vec4,   u16vec4);"
 1446|       |
 1447|      2|            "\n"
 1448|      2|        );
 1449|      2|    }
 1450|       |
 1451|     36|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1451:10): [True: 34, False: 2]
  |  Branch (1451:35): [True: 0, False: 34]
  ------------------
 1452|     36|        (profile != EEsProfile && version >= 430)) {
  ------------------
  |  Branch (1452:10): [True: 2, False: 34]
  |  Branch (1452:35): [True: 2, False: 0]
  ------------------
 1453|      2|        commonBuiltins.append(
 1454|      2|            "uint atomicAdd(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1455|      2|            " int atomicAdd(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1456|       |
 1457|      2|            "uint atomicMin(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1458|      2|            " int atomicMin(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1459|       |
 1460|      2|            "uint atomicMax(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1461|      2|            " int atomicMax(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1462|       |
 1463|      2|            "uint atomicAnd(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1464|      2|            " int atomicAnd(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1465|       |
 1466|      2|            "uint atomicOr (coherent volatile nontemporal inout uint, uint, int, int, int);"
 1467|      2|            " int atomicOr (coherent volatile nontemporal inout  int,  int, int, int, int);"
 1468|       |
 1469|      2|            "uint atomicXor(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1470|      2|            " int atomicXor(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1471|       |
 1472|      2|            "uint atomicExchange(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1473|      2|            " int atomicExchange(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1474|       |
 1475|      2|            "uint atomicCompSwap(coherent volatile nontemporal inout uint, uint, uint, int, int, int, int, int);"
 1476|      2|            " int atomicCompSwap(coherent volatile nontemporal inout  int,  int,  int, int, int, int, int, int);"
 1477|       |
 1478|      2|            "uint atomicLoad(coherent volatile nontemporal in uint, int, int, int);"
 1479|      2|            " int atomicLoad(coherent volatile nontemporal in  int, int, int, int);"
 1480|       |
 1481|      2|            "void atomicStore(coherent volatile nontemporal out uint, uint, int, int, int);"
 1482|      2|            "void atomicStore(coherent volatile nontemporal out  int,  int, int, int, int);"
 1483|       |
 1484|      2|            "\n");
 1485|      2|    }
 1486|       |
 1487|     36|    if (profile != EEsProfile && version >= 440) {
  ------------------
  |  Branch (1487:9): [True: 2, False: 34]
  |  Branch (1487:34): [True: 2, False: 0]
  ------------------
 1488|      2|        commonBuiltins.append(
 1489|      2|            "uint64_t atomicMin(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1490|      2|            " int64_t atomicMin(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1491|      2|            "uint64_t atomicMin(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1492|      2|            " int64_t atomicMin(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1493|      2|            "float16_t atomicMin(coherent volatile nontemporal inout float16_t, float16_t);"
 1494|      2|            "float16_t atomicMin(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1495|      2|            "   float atomicMin(coherent volatile nontemporal inout float, float);"
 1496|      2|            "   float atomicMin(coherent volatile nontemporal inout float, float, int, int, int);"
 1497|      2|            "  double atomicMin(coherent volatile nontemporal inout double, double);"
 1498|      2|            "  double atomicMin(coherent volatile nontemporal inout double, double, int, int, int);"
 1499|       |
 1500|      2|            "uint64_t atomicMax(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1501|      2|            " int64_t atomicMax(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1502|      2|            "uint64_t atomicMax(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1503|      2|            " int64_t atomicMax(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1504|      2|            "float16_t atomicMax(coherent volatile nontemporal inout float16_t, float16_t);"
 1505|      2|            "float16_t atomicMax(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1506|      2|            "   float atomicMax(coherent volatile nontemporal inout float, float);"
 1507|      2|            "   float atomicMax(coherent volatile nontemporal inout float, float, int, int, int);"
 1508|      2|            "  double atomicMax(coherent volatile nontemporal inout double, double);"
 1509|      2|            "  double atomicMax(coherent volatile nontemporal inout double, double, int, int, int);"
 1510|       |
 1511|      2|            "uint64_t atomicAnd(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1512|      2|            " int64_t atomicAnd(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1513|      2|            "uint64_t atomicAnd(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1514|      2|            " int64_t atomicAnd(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1515|       |
 1516|      2|            "uint64_t atomicOr (coherent volatile nontemporal inout uint64_t, uint64_t);"
 1517|      2|            " int64_t atomicOr (coherent volatile nontemporal inout  int64_t,  int64_t);"
 1518|      2|            "uint64_t atomicOr (coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1519|      2|            " int64_t atomicOr (coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1520|       |
 1521|      2|            "uint64_t atomicXor(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1522|      2|            " int64_t atomicXor(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1523|      2|            "uint64_t atomicXor(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1524|      2|            " int64_t atomicXor(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1525|       |
 1526|      2|            "uint64_t atomicAdd(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1527|      2|            " int64_t atomicAdd(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1528|      2|            "uint64_t atomicAdd(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1529|      2|            " int64_t atomicAdd(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1530|      2|            "float16_t atomicAdd(coherent volatile nontemporal inout float16_t, float16_t);"
 1531|      2|            "float16_t atomicAdd(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1532|      2|            "   float atomicAdd(coherent volatile nontemporal inout float, float);"
 1533|      2|            "   float atomicAdd(coherent volatile nontemporal inout float, float, int, int, int);"
 1534|      2|            "  double atomicAdd(coherent volatile nontemporal inout double, double);"
 1535|      2|            "  double atomicAdd(coherent volatile nontemporal inout double, double, int, int, int);"
 1536|       |
 1537|      2|            "uint64_t atomicExchange(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1538|      2|            " int64_t atomicExchange(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1539|      2|            "uint64_t atomicExchange(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1540|      2|            " int64_t atomicExchange(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1541|      2|            "float16_t atomicExchange(coherent volatile nontemporal inout float16_t, float16_t);"
 1542|      2|            "float16_t atomicExchange(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1543|      2|            "   float atomicExchange(coherent volatile nontemporal inout float, float);"
 1544|      2|            "   float atomicExchange(coherent volatile nontemporal inout float, float, int, int, int);"
 1545|      2|            "  double atomicExchange(coherent volatile nontemporal inout double, double);"
 1546|      2|            "  double atomicExchange(coherent volatile nontemporal inout double, double, int, int, int);"
 1547|       |
 1548|      2|            "uint64_t atomicCompSwap(coherent volatile nontemporal inout uint64_t, uint64_t, uint64_t);"
 1549|      2|            " int64_t atomicCompSwap(coherent volatile nontemporal inout  int64_t,  int64_t,  int64_t);"
 1550|      2|            "uint64_t atomicCompSwap(coherent volatile nontemporal inout uint64_t, uint64_t, uint64_t, int, int, int, int, int);"
 1551|      2|            " int64_t atomicCompSwap(coherent volatile nontemporal inout  int64_t,  int64_t,  int64_t, int, int, int, int, int);"
 1552|       |
 1553|      2|            "uint64_t atomicLoad(coherent volatile nontemporal in uint64_t, int, int, int);"
 1554|      2|            " int64_t atomicLoad(coherent volatile nontemporal in  int64_t, int, int, int);"
 1555|      2|            "float16_t atomicLoad(coherent volatile nontemporal in float16_t, int, int, int);"
 1556|      2|            "   float atomicLoad(coherent volatile nontemporal in float, int, int, int);"
 1557|      2|            "  double atomicLoad(coherent volatile nontemporal in double, int, int, int);"
 1558|       |
 1559|      2|            "void atomicStore(coherent volatile nontemporal out uint64_t, uint64_t, int, int, int);"
 1560|      2|            "void atomicStore(coherent volatile nontemporal out  int64_t,  int64_t, int, int, int);"
 1561|      2|            "void atomicStore(coherent volatile nontemporal out float16_t, float16_t, int, int, int);"
 1562|      2|            "void atomicStore(coherent volatile nontemporal out float, float, int, int, int);"
 1563|      2|            "void atomicStore(coherent volatile nontemporal out double, double, int, int, int);"
 1564|      2|            "\n");
 1565|      2|    }
 1566|       |
 1567|       |    // NV_shader_atomic_fp16_vector
 1568|     36|    if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (1568:9): [True: 2, False: 34]
  |  Branch (1568:34): [True: 2, False: 0]
  ------------------
 1569|      2|        commonBuiltins.append(
 1570|      2|            "f16vec2 atomicAdd(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1571|      2|            "f16vec4 atomicAdd(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1572|      2|            "f16vec2 atomicMin(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1573|      2|            "f16vec4 atomicMin(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1574|      2|            "f16vec2 atomicMax(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1575|      2|            "f16vec4 atomicMax(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1576|      2|            "f16vec2 atomicExchange(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1577|      2|            "f16vec4 atomicExchange(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1578|      2|            "\n");
 1579|      2|    }
 1580|       |
 1581|     36|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1581:10): [True: 34, False: 2]
  |  Branch (1581:35): [True: 0, False: 34]
  ------------------
 1582|     36|        (profile != EEsProfile && version >= 150)) { // GL_ARB_shader_bit_encoding
  ------------------
  |  Branch (1582:10): [True: 2, False: 34]
  |  Branch (1582:35): [True: 2, False: 0]
  ------------------
 1583|      2|        commonBuiltins.append(
 1584|      2|            "int   floatBitsToInt(highp float value);"
 1585|      2|            "ivec2 floatBitsToInt(highp vec2  value);"
 1586|      2|            "ivec3 floatBitsToInt(highp vec3  value);"
 1587|      2|            "ivec4 floatBitsToInt(highp vec4  value);"
 1588|       |
 1589|      2|            "uint  floatBitsToUint(highp float value);"
 1590|      2|            "uvec2 floatBitsToUint(highp vec2  value);"
 1591|      2|            "uvec3 floatBitsToUint(highp vec3  value);"
 1592|      2|            "uvec4 floatBitsToUint(highp vec4  value);"
 1593|       |
 1594|      2|            "float intBitsToFloat(highp int   value);"
 1595|      2|            "vec2  intBitsToFloat(highp ivec2 value);"
 1596|      2|            "vec3  intBitsToFloat(highp ivec3 value);"
 1597|      2|            "vec4  intBitsToFloat(highp ivec4 value);"
 1598|       |
 1599|      2|            "float uintBitsToFloat(highp uint  value);"
 1600|      2|            "vec2  uintBitsToFloat(highp uvec2 value);"
 1601|      2|            "vec3  uintBitsToFloat(highp uvec3 value);"
 1602|      2|            "vec4  uintBitsToFloat(highp uvec4 value);"
 1603|       |
 1604|      2|            "\n");
 1605|      2|    }
 1606|       |
 1607|     36|    if ((profile != EEsProfile && version >= 150) || // GL_NV_gpu_shader5
  ------------------
  |  Branch (1607:10): [True: 2, False: 34]
  |  Branch (1607:35): [True: 2, False: 0]
  ------------------
 1608|     34|        (profile == EEsProfile && version >= 310)) {    // GL_OES_gpu_shader5
  ------------------
  |  Branch (1608:10): [True: 34, False: 0]
  |  Branch (1608:35): [True: 0, False: 34]
  ------------------
 1609|       |
 1610|      2|        commonBuiltins.append(
 1611|      2|            "float  fma(float,  float,  float );"
 1612|      2|            "vec2   fma(vec2,   vec2,   vec2  );"
 1613|      2|            "vec3   fma(vec3,   vec3,   vec3  );"
 1614|      2|            "vec4   fma(vec4,   vec4,   vec4  );"
 1615|      2|            "\n");
 1616|      2|    }
 1617|       |
 1618|     36|    if (profile != EEsProfile && version >= 150) {  // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1618:9): [True: 2, False: 34]
  |  Branch (1618:34): [True: 2, False: 0]
  ------------------
 1619|      2|            commonBuiltins.append(
 1620|      2|                "double fma(double, double, double);"
 1621|      2|                "dvec2  fma(dvec2,  dvec2,  dvec2 );"
 1622|      2|                "dvec3  fma(dvec3,  dvec3,  dvec3 );"
 1623|      2|                "dvec4  fma(dvec4,  dvec4,  dvec4 );"
 1624|      2|                "\n");
 1625|      2|    }
 1626|       |
 1627|     36|    if (profile == EEsProfile && version >= 310) {  // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1627:9): [True: 34, False: 2]
  |  Branch (1627:34): [True: 0, False: 34]
  ------------------
 1628|      0|            commonBuiltins.append(
 1629|      0|                "float64_t fma(float64_t, float64_t, float64_t);"
 1630|      0|                "f64vec2  fma(f64vec2,  f64vec2,  f64vec2 );"
 1631|      0|                "f64vec3  fma(f64vec3,  f64vec3,  f64vec3 );"
 1632|      0|                "f64vec4  fma(f64vec4,  f64vec4,  f64vec4 );"
 1633|      0|                "\n");
 1634|      0|    }
 1635|       |
 1636|     36|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1636:10): [True: 34, False: 2]
  |  Branch (1636:35): [True: 0, False: 34]
  ------------------
 1637|     36|        (profile != EEsProfile && version >= 150)) { // GL_NV_gpu_shader5
  ------------------
  |  Branch (1637:10): [True: 2, False: 34]
  |  Branch (1637:35): [True: 2, False: 0]
  ------------------
 1638|      2|        commonBuiltins.append(
 1639|      2|            "float frexp(highp float, out highp int);"
 1640|      2|            "vec2  frexp(highp vec2,  out highp ivec2);"
 1641|      2|            "vec3  frexp(highp vec3,  out highp ivec3);"
 1642|      2|            "vec4  frexp(highp vec4,  out highp ivec4);"
 1643|       |
 1644|      2|            "float ldexp(highp float, highp int);"
 1645|      2|            "vec2  ldexp(highp vec2,  highp ivec2);"
 1646|      2|            "vec3  ldexp(highp vec3,  highp ivec3);"
 1647|      2|            "vec4  ldexp(highp vec4,  highp ivec4);"
 1648|       |
 1649|      2|            "\n");
 1650|      2|    }
 1651|       |
 1652|     36|    if (profile != EEsProfile && version >= 150) { // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1652:9): [True: 2, False: 34]
  |  Branch (1652:34): [True: 2, False: 0]
  ------------------
 1653|      2|        commonBuiltins.append(
 1654|      2|            "double frexp(double, out int);"
 1655|      2|            "dvec2  frexp( dvec2, out ivec2);"
 1656|      2|            "dvec3  frexp( dvec3, out ivec3);"
 1657|      2|            "dvec4  frexp( dvec4, out ivec4);"
 1658|       |
 1659|      2|            "double ldexp(double, int);"
 1660|      2|            "dvec2  ldexp( dvec2, ivec2);"
 1661|      2|            "dvec3  ldexp( dvec3, ivec3);"
 1662|      2|            "dvec4  ldexp( dvec4, ivec4);"
 1663|       |
 1664|      2|            "double packDouble2x32(uvec2);"
 1665|      2|            "uvec2 unpackDouble2x32(double);"
 1666|       |
 1667|      2|            "\n");
 1668|      2|    }
 1669|       |
 1670|     36|    if (profile == EEsProfile && version >= 310) { // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1670:9): [True: 34, False: 2]
  |  Branch (1670:34): [True: 0, False: 34]
  ------------------
 1671|      0|        commonBuiltins.append(
 1672|      0|            "float64_t frexp(float64_t, out int);"
 1673|      0|            "f64vec2  frexp( f64vec2, out ivec2);"
 1674|      0|            "f64vec3  frexp( f64vec3, out ivec3);"
 1675|      0|            "f64vec4  frexp( f64vec4, out ivec4);"
 1676|       |
 1677|      0|            "float64_t ldexp(float64_t, int);"
 1678|      0|            "f64vec2  ldexp( f64vec2, ivec2);"
 1679|      0|            "f64vec3  ldexp( f64vec3, ivec3);"
 1680|      0|            "f64vec4  ldexp( f64vec4, ivec4);"
 1681|       |
 1682|      0|            "\n");
 1683|      0|    }
 1684|       |
 1685|     36|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1685:10): [True: 34, False: 2]
  |  Branch (1685:35): [True: 0, False: 34]
  ------------------
 1686|     36|        (profile != EEsProfile && version >= 150)) {
  ------------------
  |  Branch (1686:10): [True: 2, False: 34]
  |  Branch (1686:35): [True: 2, False: 0]
  ------------------
 1687|      2|        commonBuiltins.append(
 1688|      2|            "highp uint packUnorm2x16(vec2);"
 1689|      2|                  "vec2 unpackUnorm2x16(highp uint);"
 1690|      2|            "\n");
 1691|      2|    }
 1692|       |
 1693|     36|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1693:10): [True: 34, False: 2]
  |  Branch (1693:35): [True: 0, False: 34]
  ------------------
 1694|     36|        (profile != EEsProfile && version >= 150)) {
  ------------------
  |  Branch (1694:10): [True: 2, False: 34]
  |  Branch (1694:35): [True: 2, False: 0]
  ------------------
 1695|      2|        commonBuiltins.append(
 1696|      2|            "highp uint packSnorm2x16(vec2);"
 1697|      2|            "      vec2 unpackSnorm2x16(highp uint);"
 1698|      2|            "highp uint packHalf2x16(vec2);"
 1699|      2|            "\n");
 1700|      2|    }
 1701|       |
 1702|     36|    if (profile == EEsProfile && version >= 300) {
  ------------------
  |  Branch (1702:9): [True: 34, False: 2]
  |  Branch (1702:34): [True: 0, False: 34]
  ------------------
 1703|      0|        commonBuiltins.append(
 1704|      0|            "mediump vec2 unpackHalf2x16(highp uint);"
 1705|      0|            "\n");
 1706|     36|    } else if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (1706:16): [True: 2, False: 34]
  |  Branch (1706:41): [True: 2, False: 0]
  ------------------
 1707|      2|        commonBuiltins.append(
 1708|      2|            "        vec2 unpackHalf2x16(highp uint);"
 1709|      2|            "\n");
 1710|      2|    }
 1711|       |
 1712|     36|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1712:10): [True: 34, False: 2]
  |  Branch (1712:35): [True: 0, False: 34]
  ------------------
 1713|     36|        (profile != EEsProfile && version >= 150)) {
  ------------------
  |  Branch (1713:10): [True: 2, False: 34]
  |  Branch (1713:35): [True: 2, False: 0]
  ------------------
 1714|      2|        commonBuiltins.append(
 1715|      2|            "highp uint packSnorm4x8(vec4);"
 1716|      2|            "highp uint packUnorm4x8(vec4);"
 1717|      2|            "\n");
 1718|      2|    }
 1719|       |
 1720|     36|    if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (1720:9): [True: 34, False: 2]
  |  Branch (1720:34): [True: 0, False: 34]
  ------------------
 1721|      0|        commonBuiltins.append(
 1722|      0|            "mediump vec4 unpackSnorm4x8(highp uint);"
 1723|      0|            "mediump vec4 unpackUnorm4x8(highp uint);"
 1724|      0|            "\n");
 1725|     36|    } else if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (1725:16): [True: 2, False: 34]
  |  Branch (1725:41): [True: 2, False: 0]
  ------------------
 1726|      2|        commonBuiltins.append(
 1727|      2|                    "vec4 unpackSnorm4x8(highp uint);"
 1728|      2|                    "vec4 unpackUnorm4x8(highp uint);"
 1729|      2|            "\n");
 1730|      2|    }
 1731|       |
 1732|       |    //
 1733|       |    // Matrix Functions.
 1734|       |    //
 1735|     36|    commonBuiltins.append(
 1736|     36|        "mat2 matrixCompMult(mat2 x, mat2 y);"
 1737|     36|        "mat3 matrixCompMult(mat3 x, mat3 y);"
 1738|     36|        "mat4 matrixCompMult(mat4 x, mat4 y);"
 1739|       |
 1740|     36|        "\n");
 1741|       |
 1742|       |    // 120 is correct for both ES and desktop
 1743|     36|    if (version >= 120) {
  ------------------
  |  Branch (1743:9): [True: 2, False: 34]
  ------------------
 1744|      2|        commonBuiltins.append(
 1745|      2|            "mat2   outerProduct(vec2 c, vec2 r);"
 1746|      2|            "mat3   outerProduct(vec3 c, vec3 r);"
 1747|      2|            "mat4   outerProduct(vec4 c, vec4 r);"
 1748|      2|            "mat2x3 outerProduct(vec3 c, vec2 r);"
 1749|      2|            "mat3x2 outerProduct(vec2 c, vec3 r);"
 1750|      2|            "mat2x4 outerProduct(vec4 c, vec2 r);"
 1751|      2|            "mat4x2 outerProduct(vec2 c, vec4 r);"
 1752|      2|            "mat3x4 outerProduct(vec4 c, vec3 r);"
 1753|      2|            "mat4x3 outerProduct(vec3 c, vec4 r);"
 1754|       |
 1755|      2|            "mat2   transpose(mat2   m);"
 1756|      2|            "mat3   transpose(mat3   m);"
 1757|      2|            "mat4   transpose(mat4   m);"
 1758|      2|            "mat2x3 transpose(mat3x2 m);"
 1759|      2|            "mat3x2 transpose(mat2x3 m);"
 1760|      2|            "mat2x4 transpose(mat4x2 m);"
 1761|      2|            "mat4x2 transpose(mat2x4 m);"
 1762|      2|            "mat3x4 transpose(mat4x3 m);"
 1763|      2|            "mat4x3 transpose(mat3x4 m);"
 1764|       |
 1765|      2|            "mat2x3 matrixCompMult(mat2x3, mat2x3);"
 1766|      2|            "mat2x4 matrixCompMult(mat2x4, mat2x4);"
 1767|      2|            "mat3x2 matrixCompMult(mat3x2, mat3x2);"
 1768|      2|            "mat3x4 matrixCompMult(mat3x4, mat3x4);"
 1769|      2|            "mat4x2 matrixCompMult(mat4x2, mat4x2);"
 1770|      2|            "mat4x3 matrixCompMult(mat4x3, mat4x3);"
 1771|       |
 1772|      2|            "\n");
 1773|       |
 1774|       |        // 150 is correct for both ES and desktop
 1775|      2|        if (version >= 150) {
  ------------------
  |  Branch (1775:13): [True: 2, False: 0]
  ------------------
 1776|      2|            commonBuiltins.append(
 1777|      2|                "float determinant(mat2 m);"
 1778|      2|                "float determinant(mat3 m);"
 1779|      2|                "float determinant(mat4 m);"
 1780|       |
 1781|      2|                "mat2 inverse(mat2 m);"
 1782|      2|                "mat3 inverse(mat3 m);"
 1783|      2|                "mat4 inverse(mat4 m);"
 1784|       |
 1785|      2|                "\n");
 1786|      2|        }
 1787|      2|    }
 1788|       |
 1789|       |    //
 1790|       |    // Original-style texture functions existing in all stages.
 1791|       |    // (Per-stage functions below.)
 1792|       |    //
 1793|     36|    if ((profile == EEsProfile && version == 100) ||
  ------------------
  |  Branch (1793:10): [True: 34, False: 2]
  |  Branch (1793:35): [True: 34, False: 0]
  ------------------
 1794|      2|         profile == ECompatibilityProfile ||
  ------------------
  |  Branch (1794:10): [True: 0, False: 2]
  ------------------
 1795|      2|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (1795:10): [True: 2, False: 0]
  |  Branch (1795:37): [True: 0, False: 2]
  ------------------
 1796|     34|         profile == ENoProfile) {
  ------------------
  |  Branch (1796:10): [True: 0, False: 2]
  ------------------
 1797|     34|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (1797:13): [True: 34, False: 0]
  ------------------
 1798|     34|            commonBuiltins.append(
 1799|     34|                "vec4 texture2D(sampler2D, vec2);"
 1800|       |
 1801|     34|                "vec4 texture2DProj(sampler2D, vec3);"
 1802|     34|                "vec4 texture2DProj(sampler2D, vec4);"
 1803|       |
 1804|     34|                "vec4 texture3D(sampler3D, vec3);"     // OES_texture_3D, but caught by keyword check
 1805|     34|                "vec4 texture3DProj(sampler3D, vec4);" // OES_texture_3D, but caught by keyword check
 1806|       |
 1807|     34|                "vec4 textureCube(samplerCube, vec3);"
 1808|       |
 1809|     34|                "\n");
 1810|     34|        }
 1811|     34|    }
 1812|       |
 1813|     36|    if ( profile == ECompatibilityProfile ||
  ------------------
  |  Branch (1813:10): [True: 0, False: 36]
  ------------------
 1814|     36|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (1814:10): [True: 2, False: 34]
  |  Branch (1814:37): [True: 0, False: 2]
  ------------------
 1815|     36|         profile == ENoProfile) {
  ------------------
  |  Branch (1815:10): [True: 0, False: 36]
  ------------------
 1816|      0|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (1816:13): [True: 0, False: 0]
  ------------------
 1817|      0|            commonBuiltins.append(
 1818|      0|                "vec4 texture1D(sampler1D, float);"
 1819|       |
 1820|      0|                "vec4 texture1DProj(sampler1D, vec2);"
 1821|      0|                "vec4 texture1DProj(sampler1D, vec4);"
 1822|       |
 1823|      0|                "vec4 shadow1D(sampler1DShadow, vec3);"
 1824|      0|                "vec4 shadow2D(sampler2DShadow, vec3);"
 1825|      0|                "vec4 shadow1DProj(sampler1DShadow, vec4);"
 1826|      0|                "vec4 shadow2DProj(sampler2DShadow, vec4);"
 1827|       |
 1828|      0|                "vec4 texture2DRect(sampler2DRect, vec2);"          // GL_ARB_texture_rectangle, caught by keyword check
 1829|      0|                "vec4 texture2DRectProj(sampler2DRect, vec3);"      // GL_ARB_texture_rectangle, caught by keyword check
 1830|      0|                "vec4 texture2DRectProj(sampler2DRect, vec4);"      // GL_ARB_texture_rectangle, caught by keyword check
 1831|      0|                "vec4 shadow2DRect(sampler2DRectShadow, vec3);"     // GL_ARB_texture_rectangle, caught by keyword check
 1832|      0|                "vec4 shadow2DRectProj(sampler2DRectShadow, vec4);" // GL_ARB_texture_rectangle, caught by keyword check
 1833|       |
 1834|      0|                "vec4 texture1DArray(sampler1DArray, vec2);"      // GL_EXT_texture_array
 1835|      0|                "vec4 texture2DArray(sampler2DArray, vec3);"      // GL_EXT_texture_array
 1836|      0|                "vec4 shadow1DArray(sampler1DArrayShadow, vec3);" // GL_EXT_texture_array
 1837|      0|                "vec4 shadow2DArray(sampler2DArrayShadow, vec4);" // GL_EXT_texture_array
 1838|      0|                "vec4 texture1DArray(sampler1DArray, vec2, float);"                // GL_EXT_texture_array
 1839|      0|                "vec4 texture2DArray(sampler2DArray, vec3, float);"                // GL_EXT_texture_array
 1840|      0|                "vec4 shadow1DArray(sampler1DArrayShadow, vec3, float);"           // GL_EXT_texture_array
 1841|      0|                "vec4 texture1DArrayLod(sampler1DArray, vec2, float);"      // GL_EXT_texture_array
 1842|      0|                "vec4 texture2DArrayLod(sampler2DArray, vec3, float);"      // GL_EXT_texture_array
 1843|      0|                "vec4 shadow1DArrayLod(sampler1DArrayShadow, vec3, float);" // GL_EXT_texture_array
 1844|      0|                "\n");
 1845|      0|        }
 1846|      0|    }
 1847|       |
 1848|     36|    if (profile == EEsProfile) {
  ------------------
  |  Branch (1848:9): [True: 34, False: 2]
  ------------------
 1849|     34|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (1849:13): [True: 34, False: 0]
  ------------------
 1850|     34|            if (version < 300) {
  ------------------
  |  Branch (1850:17): [True: 34, False: 0]
  ------------------
 1851|     34|                commonBuiltins.append(
 1852|     34|                    "vec4 texture2D(samplerExternalOES, vec2 coord);" // GL_OES_EGL_image_external
 1853|     34|                    "vec4 texture2DProj(samplerExternalOES, vec3);"   // GL_OES_EGL_image_external
 1854|     34|                    "vec4 texture2DProj(samplerExternalOES, vec4);"   // GL_OES_EGL_image_external
 1855|     34|                "\n");
 1856|     34|            } else {
 1857|      0|                commonBuiltins.append(
 1858|      0|                    "highp ivec2 textureSize(samplerExternalOES, int lod);"   // GL_OES_EGL_image_external_essl3
 1859|      0|                    "vec4 texture(samplerExternalOES, vec2);"                 // GL_OES_EGL_image_external_essl3
 1860|      0|                    "vec4 texture(samplerExternalOES, vec2, float bias);"     // GL_OES_EGL_image_external_essl3
 1861|      0|                    "vec4 textureProj(samplerExternalOES, vec3);"             // GL_OES_EGL_image_external_essl3
 1862|      0|                    "vec4 textureProj(samplerExternalOES, vec3, float bias);" // GL_OES_EGL_image_external_essl3
 1863|      0|                    "vec4 textureProj(samplerExternalOES, vec4);"             // GL_OES_EGL_image_external_essl3
 1864|      0|                    "vec4 textureProj(samplerExternalOES, vec4, float bias);" // GL_OES_EGL_image_external_essl3
 1865|      0|                    "vec4 texelFetch(samplerExternalOES, ivec2, int lod);"    // GL_OES_EGL_image_external_essl3
 1866|      0|                "\n");
 1867|      0|            }
 1868|     34|            commonBuiltins.append(
 1869|     34|                "highp ivec2 textureSize(__samplerExternal2DY2YEXT, int lod);" // GL_EXT_YUV_target
 1870|     34|                "vec4 texture(__samplerExternal2DY2YEXT, vec2);"               // GL_EXT_YUV_target
 1871|     34|                "vec4 texture(__samplerExternal2DY2YEXT, vec2, float bias);"   // GL_EXT_YUV_target
 1872|     34|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec3);"           // GL_EXT_YUV_target
 1873|     34|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec3, float bias);" // GL_EXT_YUV_target
 1874|     34|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec4);"           // GL_EXT_YUV_target
 1875|     34|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec4, float bias);" // GL_EXT_YUV_target
 1876|     34|                "vec4 texelFetch(__samplerExternal2DY2YEXT sampler, ivec2, int lod);" // GL_EXT_YUV_target
 1877|     34|                "\n");
 1878|     34|            commonBuiltins.append(
 1879|     34|                "vec4 texture2DGradEXT(sampler2D, vec2, vec2, vec2);"      // GL_EXT_shader_texture_lod
 1880|     34|                "vec4 texture2DProjGradEXT(sampler2D, vec3, vec2, vec2);"  // GL_EXT_shader_texture_lod
 1881|     34|                "vec4 texture2DProjGradEXT(sampler2D, vec4, vec2, vec2);"  // GL_EXT_shader_texture_lod
 1882|     34|                "vec4 textureCubeGradEXT(samplerCube, vec3, vec3, vec3);"  // GL_EXT_shader_texture_lod
 1883|       |
 1884|     34|                "float shadow2DEXT(sampler2DShadow, vec3);"     // GL_EXT_shadow_samplers
 1885|     34|                "float shadow2DProjEXT(sampler2DShadow, vec4);" // GL_EXT_shadow_samplers
 1886|       |
 1887|     34|                "\n");
 1888|     34|        }
 1889|     34|    }
 1890|       |
 1891|       |    //
 1892|       |    // Noise functions.
 1893|       |    //
 1894|     36|    if (spvVersion.spv == 0 && profile != EEsProfile) {
  ------------------
  |  Branch (1894:9): [True: 36, False: 0]
  |  Branch (1894:32): [True: 2, False: 34]
  ------------------
 1895|      2|        commonBuiltins.append(
 1896|      2|            "float noise1(float x);"
 1897|      2|            "float noise1(vec2  x);"
 1898|      2|            "float noise1(vec3  x);"
 1899|      2|            "float noise1(vec4  x);"
 1900|       |
 1901|      2|            "vec2 noise2(float x);"
 1902|      2|            "vec2 noise2(vec2  x);"
 1903|      2|            "vec2 noise2(vec3  x);"
 1904|      2|            "vec2 noise2(vec4  x);"
 1905|       |
 1906|      2|            "vec3 noise3(float x);"
 1907|      2|            "vec3 noise3(vec2  x);"
 1908|      2|            "vec3 noise3(vec3  x);"
 1909|      2|            "vec3 noise3(vec4  x);"
 1910|       |
 1911|      2|            "vec4 noise4(float x);"
 1912|      2|            "vec4 noise4(vec2  x);"
 1913|      2|            "vec4 noise4(vec3  x);"
 1914|      2|            "vec4 noise4(vec4  x);"
 1915|       |
 1916|      2|            "\n");
 1917|      2|    }
 1918|       |
 1919|     36|    if (spvVersion.vulkan == 0) {
  ------------------
  |  Branch (1919:9): [True: 36, False: 0]
  ------------------
 1920|       |        //
 1921|       |        // Atomic counter functions.
 1922|       |        //
 1923|     36|        if ((profile != EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1923:14): [True: 2, False: 34]
  |  Branch (1923:39): [True: 2, False: 0]
  ------------------
 1924|     34|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (1924:14): [True: 34, False: 0]
  |  Branch (1924:39): [True: 0, False: 34]
  ------------------
 1925|      2|            commonBuiltins.append(
 1926|      2|                "uint atomicCounterIncrement(atomic_uint);"
 1927|      2|                "uint atomicCounterDecrement(atomic_uint);"
 1928|      2|                "uint atomicCounter(atomic_uint);"
 1929|       |
 1930|      2|                "\n");
 1931|      2|        }
 1932|     36|        if (profile != EEsProfile && version == 450) {
  ------------------
  |  Branch (1932:13): [True: 2, False: 34]
  |  Branch (1932:38): [True: 2, False: 0]
  ------------------
 1933|      2|            commonBuiltins.append(
 1934|      2|                "uint atomicCounterAddARB(atomic_uint, uint);"
 1935|      2|                "uint atomicCounterSubtractARB(atomic_uint, uint);"
 1936|      2|                "uint atomicCounterMinARB(atomic_uint, uint);"
 1937|      2|                "uint atomicCounterMaxARB(atomic_uint, uint);"
 1938|      2|                "uint atomicCounterAndARB(atomic_uint, uint);"
 1939|      2|                "uint atomicCounterOrARB(atomic_uint, uint);"
 1940|      2|                "uint atomicCounterXorARB(atomic_uint, uint);"
 1941|      2|                "uint atomicCounterExchangeARB(atomic_uint, uint);"
 1942|      2|                "uint atomicCounterCompSwapARB(atomic_uint, uint, uint);"
 1943|       |
 1944|      2|                "\n");
 1945|      2|        }
 1946|       |
 1947|       |
 1948|     36|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (1948:13): [True: 2, False: 34]
  |  Branch (1948:38): [True: 0, False: 2]
  ------------------
 1949|      0|            commonBuiltins.append(
 1950|      0|                "uint atomicCounterAdd(atomic_uint, uint);"
 1951|      0|                "uint atomicCounterSubtract(atomic_uint, uint);"
 1952|      0|                "uint atomicCounterMin(atomic_uint, uint);"
 1953|      0|                "uint atomicCounterMax(atomic_uint, uint);"
 1954|      0|                "uint atomicCounterAnd(atomic_uint, uint);"
 1955|      0|                "uint atomicCounterOr(atomic_uint, uint);"
 1956|      0|                "uint atomicCounterXor(atomic_uint, uint);"
 1957|      0|                "uint atomicCounterExchange(atomic_uint, uint);"
 1958|      0|                "uint atomicCounterCompSwap(atomic_uint, uint, uint);"
 1959|       |
 1960|      0|                "\n");
 1961|      0|        }
 1962|     36|    }
 1963|      0|    else if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (1963:14): [True: 0, False: 0]
  ------------------
 1964|       |        //
 1965|       |        // Atomic counter functions act as aliases to normal atomic functions.
 1966|       |        // replace definitions to take 'volatile coherent nontemporal uint' instead of 'atomic_uint'
 1967|       |        // and map to equivalent non-counter atomic op
 1968|       |        //
 1969|      0|        if ((profile != EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1969:14): [True: 0, False: 0]
  |  Branch (1969:39): [True: 0, False: 0]
  ------------------
 1970|      0|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (1970:14): [True: 0, False: 0]
  |  Branch (1970:39): [True: 0, False: 0]
  ------------------
 1971|      0|            commonBuiltins.append(
 1972|      0|                "uint atomicCounterIncrement(volatile coherent nontemporal uint);"
 1973|      0|                "uint atomicCounterDecrement(volatile coherent nontemporal uint);"
 1974|      0|                "uint atomicCounter(volatile coherent nontemporal uint);"
 1975|       |
 1976|      0|                "\n");
 1977|      0|        }
 1978|      0|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (1978:13): [True: 0, False: 0]
  |  Branch (1978:38): [True: 0, False: 0]
  ------------------
 1979|      0|            commonBuiltins.append(
 1980|      0|                "uint atomicCounterAdd(volatile coherent nontemporal uint, uint);"
 1981|      0|                "uint atomicCounterSubtract(volatile coherent nontemporal uint, uint);"
 1982|      0|                "uint atomicCounterMin(volatile coherent nontemporal uint, uint);"
 1983|      0|                "uint atomicCounterMax(volatile coherent nontemporal uint, uint);"
 1984|      0|                "uint atomicCounterAnd(volatile coherent nontemporal uint, uint);"
 1985|      0|                "uint atomicCounterOr(volatile coherent nontemporal uint, uint);"
 1986|      0|                "uint atomicCounterXor(volatile coherent nontemporal uint, uint);"
 1987|      0|                "uint atomicCounterExchange(volatile coherent nontemporal uint, uint);"
 1988|      0|                "uint atomicCounterCompSwap(volatile coherent nontemporal uint, uint, uint);"
 1989|       |
 1990|      0|                "\n");
 1991|      0|        }
 1992|      0|    }
 1993|       |
 1994|       |    // Bitfield
 1995|     36|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1995:10): [True: 34, False: 2]
  |  Branch (1995:35): [True: 0, False: 34]
  ------------------
 1996|     36|        (profile != EEsProfile && version >= 150)) { // ARB_gpu_shader5/NV_gpu_shader5
  ------------------
  |  Branch (1996:10): [True: 2, False: 34]
  |  Branch (1996:35): [True: 2, False: 0]
  ------------------
 1997|      2|        commonBuiltins.append(
 1998|      2|            "  int bitfieldExtract(  int, int, int);"
 1999|      2|            "ivec2 bitfieldExtract(ivec2, int, int);"
 2000|      2|            "ivec3 bitfieldExtract(ivec3, int, int);"
 2001|      2|            "ivec4 bitfieldExtract(ivec4, int, int);"
 2002|       |
 2003|      2|            " uint bitfieldExtract( uint, int, int);"
 2004|      2|            "uvec2 bitfieldExtract(uvec2, int, int);"
 2005|      2|            "uvec3 bitfieldExtract(uvec3, int, int);"
 2006|      2|            "uvec4 bitfieldExtract(uvec4, int, int);"
 2007|       |
 2008|      2|            "  int bitfieldInsert(  int base,   int, int, int);"
 2009|      2|            "ivec2 bitfieldInsert(ivec2 base, ivec2, int, int);"
 2010|      2|            "ivec3 bitfieldInsert(ivec3 base, ivec3, int, int);"
 2011|      2|            "ivec4 bitfieldInsert(ivec4 base, ivec4, int, int);"
 2012|       |
 2013|      2|            " uint bitfieldInsert( uint base,  uint, int, int);"
 2014|      2|            "uvec2 bitfieldInsert(uvec2 base, uvec2, int, int);"
 2015|      2|            "uvec3 bitfieldInsert(uvec3 base, uvec3, int, int);"
 2016|      2|            "uvec4 bitfieldInsert(uvec4 base, uvec4, int, int);"
 2017|       |
 2018|      2|            "\n");
 2019|      2|    }
 2020|       |
 2021|     36|    if (profile != EEsProfile && version >= 150) { //GL_ARB_gpu_shader5/GL_NV_gpu_shader5
  ------------------
  |  Branch (2021:9): [True: 2, False: 34]
  |  Branch (2021:34): [True: 2, False: 0]
  ------------------
 2022|      2|        commonBuiltins.append(
 2023|      2|            "  int findLSB(  int);"
 2024|      2|            "ivec2 findLSB(ivec2);"
 2025|      2|            "ivec3 findLSB(ivec3);"
 2026|      2|            "ivec4 findLSB(ivec4);"
 2027|       |
 2028|      2|            "  int findLSB( uint);"
 2029|      2|            "ivec2 findLSB(uvec2);"
 2030|      2|            "ivec3 findLSB(uvec3);"
 2031|      2|            "ivec4 findLSB(uvec4);"
 2032|       |
 2033|      2|            "\n");
 2034|     34|    } else if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (2034:16): [True: 34, False: 0]
  |  Branch (2034:41): [True: 0, False: 34]
  ------------------
 2035|      0|        commonBuiltins.append(
 2036|      0|            "lowp   int findLSB(  int);"
 2037|      0|            "lowp ivec2 findLSB(ivec2);"
 2038|      0|            "lowp ivec3 findLSB(ivec3);"
 2039|      0|            "lowp ivec4 findLSB(ivec4);"
 2040|       |
 2041|      0|            "lowp   int findLSB( uint);"
 2042|      0|            "lowp ivec2 findLSB(uvec2);"
 2043|      0|            "lowp ivec3 findLSB(uvec3);"
 2044|      0|            "lowp ivec4 findLSB(uvec4);"
 2045|       |
 2046|      0|            "\n");
 2047|      0|    }
 2048|       |
 2049|     36|    if (profile != EEsProfile && version >= 150) { //GL_ARB_gpu_shader5/GL_NV_gpu_shader5
  ------------------
  |  Branch (2049:9): [True: 2, False: 34]
  |  Branch (2049:34): [True: 2, False: 0]
  ------------------
 2050|      2|        commonBuiltins.append(
 2051|      2|            "  int bitCount(  int);"
 2052|      2|            "ivec2 bitCount(ivec2);"
 2053|      2|            "ivec3 bitCount(ivec3);"
 2054|      2|            "ivec4 bitCount(ivec4);"
 2055|       |
 2056|      2|            "  int bitCount( uint);"
 2057|      2|            "ivec2 bitCount(uvec2);"
 2058|      2|            "ivec3 bitCount(uvec3);"
 2059|      2|            "ivec4 bitCount(uvec4);"
 2060|       |
 2061|      2|            "  int findMSB(highp   int);"
 2062|      2|            "ivec2 findMSB(highp ivec2);"
 2063|      2|            "ivec3 findMSB(highp ivec3);"
 2064|      2|            "ivec4 findMSB(highp ivec4);"
 2065|       |
 2066|      2|            "  int findMSB(highp  uint);"
 2067|      2|            "ivec2 findMSB(highp uvec2);"
 2068|      2|            "ivec3 findMSB(highp uvec3);"
 2069|      2|            "ivec4 findMSB(highp uvec4);"
 2070|      2|            "\n");
 2071|      2|    }
 2072|       |
 2073|     36|    if (profile != EEsProfile && version >= 150 && version < 450) { //GL_NV_gpu_shader5
  ------------------
  |  Branch (2073:9): [True: 2, False: 34]
  |  Branch (2073:34): [True: 2, False: 0]
  |  Branch (2073:52): [True: 0, False: 2]
  ------------------
 2074|      0|        commonBuiltins.append(
 2075|      0|            "int64_t  packInt2x32(ivec2);"
 2076|      0|            "uint64_t packUint2x32(uvec2);"
 2077|      0|            "ivec2    unpackInt2x32(int64_t);"
 2078|      0|            "uvec2    unpackUint2x32(uint64_t);"
 2079|       |
 2080|      0|            "uint     packFloat2x16(f16vec2);"
 2081|      0|            "f16vec2  unpackFloat2x16(uint);"
 2082|       |
 2083|      0|            "int64_t doubleBitsToInt64(double);"
 2084|      0|            "i64vec2 doubleBitsToInt64(dvec2);"
 2085|      0|            "i64vec3 doubleBitsToInt64(dvec3);"
 2086|      0|            "i64vec4 doubleBitsToInt64(dvec4);"
 2087|       |
 2088|      0|            "uint64_t doubleBitsToUint64(double);"
 2089|      0|            "u64vec2  doubleBitsToUint64(dvec2);"
 2090|      0|            "u64vec3  doubleBitsToUint64(dvec3);"
 2091|      0|            "u64vec4  doubleBitsToUint64(dvec4);"
 2092|       |
 2093|      0|            "double int64BitsToDouble(int64_t);"
 2094|      0|            "dvec2  int64BitsToDouble(i64vec2);"
 2095|      0|            "dvec3  int64BitsToDouble(i64vec3);"
 2096|      0|            "dvec4  int64BitsToDouble(i64vec4);"
 2097|       |
 2098|      0|            "double uint64BitsToDouble(uint64_t);"
 2099|      0|            "dvec2  uint64BitsToDouble(u64vec2);"
 2100|      0|            "dvec3  uint64BitsToDouble(u64vec3);"
 2101|      0|            "dvec4  uint64BitsToDouble(u64vec4);"
 2102|       |            // Modifications to Vector Relational Functions
 2103|       |            // Introduction of explicitly sized types
 2104|      0|            "bvec2 lessThan(i64vec2, i64vec2);"
 2105|      0|            "bvec3 lessThan(i64vec3, i64vec3);"
 2106|      0|            "bvec4 lessThan(i64vec4, i64vec4);"
 2107|      0|            "bvec2 lessThan(u64vec2, u64vec2);"
 2108|      0|            "bvec3 lessThan(u64vec3, u64vec3);"
 2109|      0|            "bvec4 lessThan(u64vec4, u64vec4);"
 2110|       |
 2111|      0|            "bvec2 lessThanEqual(i64vec2, i64vec2);"
 2112|      0|            "bvec3 lessThanEqual(i64vec3, i64vec3);"
 2113|      0|            "bvec4 lessThanEqual(i64vec4, i64vec4);"
 2114|      0|            "bvec2 lessThanEqual(u64vec2, u64vec2);"
 2115|      0|            "bvec3 lessThanEqual(u64vec3, u64vec3);"
 2116|      0|            "bvec4 lessThanEqual(u64vec4, u64vec4);"
 2117|       |
 2118|      0|            "bvec2 greaterThan(i64vec2, i64vec2);"
 2119|      0|            "bvec3 greaterThan(i64vec3, i64vec3);"
 2120|      0|            "bvec4 greaterThan(i64vec4, i64vec4);"
 2121|      0|            "bvec2 greaterThan(u64vec2, u64vec2);"
 2122|      0|            "bvec3 greaterThan(u64vec3, u64vec3);"
 2123|      0|            "bvec4 greaterThan(u64vec4, u64vec4);"
 2124|       |
 2125|      0|            "bvec2 greaterThanEqual(i64vec2, i64vec2);"
 2126|      0|            "bvec3 greaterThanEqual(i64vec3, i64vec3);"
 2127|      0|            "bvec4 greaterThanEqual(i64vec4, i64vec4);"
 2128|      0|            "bvec2 greaterThanEqual(u64vec2, u64vec2);"
 2129|      0|            "bvec3 greaterThanEqual(u64vec3, u64vec3);"
 2130|      0|            "bvec4 greaterThanEqual(u64vec4, u64vec4);"
 2131|       |
 2132|      0|            "bvec2 equal(i64vec2, i64vec2);"
 2133|      0|            "bvec3 equal(i64vec3, i64vec3);"
 2134|      0|            "bvec4 equal(i64vec4, i64vec4);"
 2135|      0|            "bvec2 equal(u64vec2, u64vec2);"
 2136|      0|            "bvec3 equal(u64vec3, u64vec3);"
 2137|      0|            "bvec4 equal(u64vec4, u64vec4);"
 2138|       |
 2139|      0|            "bvec2 notEqual(i64vec2, i64vec2);"
 2140|      0|            "bvec3 notEqual(i64vec3, i64vec3);"
 2141|      0|            "bvec4 notEqual(i64vec4, i64vec4);"
 2142|      0|            "bvec2 notEqual(u64vec2, u64vec2);"
 2143|      0|            "bvec3 notEqual(u64vec3, u64vec3);"
 2144|      0|            "bvec4 notEqual(u64vec4, u64vec4);"
 2145|       |
 2146|      0|            "bvec2 lessThan(f16vec2, f16vec2);"
 2147|      0|            "bvec3 lessThan(f16vec3, f16vec3);"
 2148|      0|            "bvec4 lessThan(f16vec4, f16vec4);"
 2149|       |
 2150|      0|            "bvec2 lessThanEqual(f16vec2, f16vec2);"
 2151|      0|            "bvec3 lessThanEqual(f16vec3, f16vec3);"
 2152|      0|            "bvec4 lessThanEqual(f16vec4, f16vec4);"
 2153|       |
 2154|      0|            "bvec2 greaterThan(f16vec2, f16vec2);"
 2155|      0|            "bvec3 greaterThan(f16vec3, f16vec3);"
 2156|      0|            "bvec4 greaterThan(f16vec4, f16vec4);"
 2157|       |
 2158|      0|            "bvec2 greaterThanEqual(f16vec2, f16vec2);"
 2159|      0|            "bvec3 greaterThanEqual(f16vec3, f16vec3);"
 2160|      0|            "bvec4 greaterThanEqual(f16vec4, f16vec4);"
 2161|       |
 2162|      0|            "bvec2 equal(f16vec2, f16vec2);"
 2163|      0|            "bvec3 equal(f16vec3, f16vec3);"
 2164|      0|            "bvec4 equal(f16vec4, f16vec4);"
 2165|       |
 2166|      0|            "bvec2 notEqual(f16vec2, f16vec2);"
 2167|      0|            "bvec3 notEqual(f16vec3, f16vec3);"
 2168|      0|            "bvec4 notEqual(f16vec4, f16vec4);"
 2169|       |
 2170|       |            // Dependency on GL_ARB_gpu_shader_fp64
 2171|      0|            "bvec2 lessThan(dvec2, dvec2);"
 2172|      0|            "bvec3 lessThan(dvec3, dvec3);"
 2173|      0|            "bvec4 lessThan(dvec4, dvec4);"
 2174|       |
 2175|      0|            "bvec2 lessThanEqual(dvec2, dvec2);"
 2176|      0|            "bvec3 lessThanEqual(dvec3, dvec3);"
 2177|      0|            "bvec4 lessThanEqual(dvec4, dvec4);"
 2178|       |
 2179|      0|            "bvec2 greaterThan(dvec2, dvec2);"
 2180|      0|            "bvec3 greaterThan(dvec3, dvec3);"
 2181|      0|            "bvec4 greaterThan(dvec4, dvec4);"
 2182|       |
 2183|      0|            "bvec2 greaterThanEqual(dvec2, dvec2);"
 2184|      0|            "bvec3 greaterThanEqual(dvec3, dvec3);"
 2185|      0|            "bvec4 greaterThanEqual(dvec4, dvec4);"
 2186|       |
 2187|      0|            "bvec2 equal(dvec2, dvec2);"
 2188|      0|            "bvec3 equal(dvec3, dvec3);"
 2189|      0|            "bvec4 equal(dvec4, dvec4);"
 2190|       |
 2191|      0|            "bvec2 notEqual(dvec2, dvec2);"
 2192|      0|            "bvec3 notEqual(dvec3, dvec3);"
 2193|      0|            "bvec4 notEqual(dvec4, dvec4);"
 2194|       |
 2195|      0|            "\n");
 2196|      0|    }
 2197|       |
 2198|       |
 2199|     36|    if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (2199:9): [True: 2, False: 34]
  |  Branch (2199:34): [True: 2, False: 0]
  ------------------
 2200|      2|        commonBuiltins.append(
 2201|      2|            "bool anyThreadNV(bool);"
 2202|      2|            "bool allThreadsNV(bool);"
 2203|      2|            "bool allThreadsEqualNV(bool);"
 2204|       |
 2205|      2|            "\n");
 2206|      2|    }
 2207|       |
 2208|     36|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (2208:10): [True: 34, False: 2]
  |  Branch (2208:35): [True: 0, False: 34]
  ------------------
 2209|     36|        (profile != EEsProfile && version >= 150)) { // NV_gpu_shader5
  ------------------
  |  Branch (2209:10): [True: 2, False: 34]
  |  Branch (2209:35): [True: 2, False: 0]
  ------------------
 2210|      2|        commonBuiltins.append(
 2211|      2|            " uint uaddCarry(highp  uint, highp  uint, out lowp  uint carry);"
 2212|      2|            "uvec2 uaddCarry(highp uvec2, highp uvec2, out lowp uvec2 carry);"
 2213|      2|            "uvec3 uaddCarry(highp uvec3, highp uvec3, out lowp uvec3 carry);"
 2214|      2|            "uvec4 uaddCarry(highp uvec4, highp uvec4, out lowp uvec4 carry);"
 2215|       |
 2216|      2|            " uint usubBorrow(highp  uint, highp  uint, out lowp  uint borrow);"
 2217|      2|            "uvec2 usubBorrow(highp uvec2, highp uvec2, out lowp uvec2 borrow);"
 2218|      2|            "uvec3 usubBorrow(highp uvec3, highp uvec3, out lowp uvec3 borrow);"
 2219|      2|            "uvec4 usubBorrow(highp uvec4, highp uvec4, out lowp uvec4 borrow);"
 2220|       |
 2221|      2|            "void umulExtended(highp  uint, highp  uint, out highp  uint, out highp  uint lsb);"
 2222|      2|            "void umulExtended(highp uvec2, highp uvec2, out highp uvec2, out highp uvec2 lsb);"
 2223|      2|            "void umulExtended(highp uvec3, highp uvec3, out highp uvec3, out highp uvec3 lsb);"
 2224|      2|            "void umulExtended(highp uvec4, highp uvec4, out highp uvec4, out highp uvec4 lsb);"
 2225|       |
 2226|      2|            "void imulExtended(highp   int, highp   int, out highp   int, out highp   int lsb);"
 2227|      2|            "void imulExtended(highp ivec2, highp ivec2, out highp ivec2, out highp ivec2 lsb);"
 2228|      2|            "void imulExtended(highp ivec3, highp ivec3, out highp ivec3, out highp ivec3 lsb);"
 2229|      2|            "void imulExtended(highp ivec4, highp ivec4, out highp ivec4, out highp ivec4 lsb);"
 2230|       |
 2231|      2|            "  int bitfieldReverse(highp   int);"
 2232|      2|            "ivec2 bitfieldReverse(highp ivec2);"
 2233|      2|            "ivec3 bitfieldReverse(highp ivec3);"
 2234|      2|            "ivec4 bitfieldReverse(highp ivec4);"
 2235|       |
 2236|      2|            " uint bitfieldReverse(highp  uint);"
 2237|      2|            "uvec2 bitfieldReverse(highp uvec2);"
 2238|      2|            "uvec3 bitfieldReverse(highp uvec3);"
 2239|      2|            "uvec4 bitfieldReverse(highp uvec4);"
 2240|       |
 2241|      2|            "\n");
 2242|      2|    }
 2243|       |
 2244|     36|    if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (2244:9): [True: 34, False: 2]
  |  Branch (2244:34): [True: 0, False: 34]
  ------------------
 2245|      0|        commonBuiltins.append(
 2246|      0|            "lowp   int bitCount(  int);"
 2247|      0|            "lowp ivec2 bitCount(ivec2);"
 2248|      0|            "lowp ivec3 bitCount(ivec3);"
 2249|      0|            "lowp ivec4 bitCount(ivec4);"
 2250|       |
 2251|      0|            "lowp   int bitCount( uint);"
 2252|      0|            "lowp ivec2 bitCount(uvec2);"
 2253|      0|            "lowp ivec3 bitCount(uvec3);"
 2254|      0|            "lowp ivec4 bitCount(uvec4);"
 2255|       |
 2256|      0|            "lowp   int findMSB(highp   int);"
 2257|      0|            "lowp ivec2 findMSB(highp ivec2);"
 2258|      0|            "lowp ivec3 findMSB(highp ivec3);"
 2259|      0|            "lowp ivec4 findMSB(highp ivec4);"
 2260|       |
 2261|      0|            "lowp   int findMSB(highp  uint);"
 2262|      0|            "lowp ivec2 findMSB(highp uvec2);"
 2263|      0|            "lowp ivec3 findMSB(highp uvec3);"
 2264|      0|            "lowp ivec4 findMSB(highp uvec4);"
 2265|       |
 2266|      0|            "\n");
 2267|      0|    }
 2268|       |
 2269|       |    // GL_ARB_shader_ballot
 2270|     36|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (2270:9): [True: 2, False: 34]
  |  Branch (2270:34): [True: 2, False: 0]
  ------------------
 2271|      2|        commonBuiltins.append(
 2272|      2|            "uint64_t ballotARB(bool);"
 2273|       |
 2274|      2|            "float readInvocationARB(float, uint);"
 2275|      2|            "vec2  readInvocationARB(vec2,  uint);"
 2276|      2|            "vec3  readInvocationARB(vec3,  uint);"
 2277|      2|            "vec4  readInvocationARB(vec4,  uint);"
 2278|       |
 2279|      2|            "int   readInvocationARB(int,   uint);"
 2280|      2|            "ivec2 readInvocationARB(ivec2, uint);"
 2281|      2|            "ivec3 readInvocationARB(ivec3, uint);"
 2282|      2|            "ivec4 readInvocationARB(ivec4, uint);"
 2283|       |
 2284|      2|            "uint  readInvocationARB(uint,  uint);"
 2285|      2|            "uvec2 readInvocationARB(uvec2, uint);"
 2286|      2|            "uvec3 readInvocationARB(uvec3, uint);"
 2287|      2|            "uvec4 readInvocationARB(uvec4, uint);"
 2288|       |
 2289|      2|            "float readFirstInvocationARB(float);"
 2290|      2|            "vec2  readFirstInvocationARB(vec2);"
 2291|      2|            "vec3  readFirstInvocationARB(vec3);"
 2292|      2|            "vec4  readFirstInvocationARB(vec4);"
 2293|       |
 2294|      2|            "int   readFirstInvocationARB(int);"
 2295|      2|            "ivec2 readFirstInvocationARB(ivec2);"
 2296|      2|            "ivec3 readFirstInvocationARB(ivec3);"
 2297|      2|            "ivec4 readFirstInvocationARB(ivec4);"
 2298|       |
 2299|      2|            "uint  readFirstInvocationARB(uint);"
 2300|      2|            "uvec2 readFirstInvocationARB(uvec2);"
 2301|      2|            "uvec3 readFirstInvocationARB(uvec3);"
 2302|      2|            "uvec4 readFirstInvocationARB(uvec4);"
 2303|       |
 2304|      2|            "\n");
 2305|      2|    }
 2306|       |
 2307|       |    // GL_ARB_shader_group_vote
 2308|     36|    if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (2308:9): [True: 2, False: 34]
  |  Branch (2308:34): [True: 2, False: 0]
  ------------------
 2309|      2|        commonBuiltins.append(
 2310|      2|            "bool anyInvocationARB(bool);"
 2311|      2|            "bool allInvocationsARB(bool);"
 2312|      2|            "bool allInvocationsEqualARB(bool);"
 2313|       |
 2314|      2|            "\n");
 2315|      2|    }
 2316|       |
 2317|       |    // GL_EXT_integer_dot_product
 2318|     36|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (2318:10): [True: 34, False: 2]
  |  Branch (2318:35): [True: 0, False: 34]
  ------------------
 2319|     36|        (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (2319:10): [True: 2, False: 34]
  |  Branch (2319:35): [True: 2, False: 0]
  ------------------
 2320|      2|        commonBuiltins.append(
 2321|       |
 2322|      2|            "uint dotEXT(uvec2 a, uvec2 b);"
 2323|      2|            "int dotEXT(ivec2 a, ivec2 b);"
 2324|      2|            "int dotEXT(ivec2 a, uvec2 b);"
 2325|      2|            "int dotEXT(uvec2 a, ivec2 b);"
 2326|       |
 2327|      2|            "uint dotEXT(uvec3 a, uvec3 b);"
 2328|      2|            "int dotEXT(ivec3 a, ivec3 b);"
 2329|      2|            "int dotEXT(ivec3 a, uvec3 b);"
 2330|      2|            "int dotEXT(uvec3 a, ivec3 b);"
 2331|       |
 2332|      2|            "uint dotEXT(uvec4 a, uvec4 b);"
 2333|      2|            "int dotEXT(ivec4 a, ivec4 b);"
 2334|      2|            "int dotEXT(ivec4 a, uvec4 b);"
 2335|      2|            "int dotEXT(uvec4 a, ivec4 b);"
 2336|       |
 2337|      2|            "uint dotPacked4x8EXT(uint a, uint b);"
 2338|      2|            "int dotPacked4x8EXT(int a, uint b);"
 2339|      2|            "int dotPacked4x8EXT(uint a, int b);"
 2340|      2|            "int dotPacked4x8EXT(int a, int b);"
 2341|       |
 2342|      2|            "uint dotEXT(u8vec2 a, u8vec2 b);"
 2343|      2|            "int dotEXT(i8vec2 a, u8vec2 b);"
 2344|      2|            "int dotEXT(u8vec2 a, i8vec2 b);"
 2345|      2|            "int dotEXT(i8vec2 a, i8vec2 b);"
 2346|       |
 2347|      2|            "uint dotEXT(u8vec3 a, u8vec3 b);"
 2348|      2|            "int dotEXT(i8vec3 a, u8vec3 b);"
 2349|      2|            "int dotEXT(u8vec3 a, i8vec3 b);"
 2350|      2|            "int dotEXT(i8vec3 a, i8vec3 b);"
 2351|       |
 2352|      2|            "uint dotEXT(u8vec4 a, u8vec4 b);"
 2353|      2|            "int dotEXT(i8vec4 a, u8vec4 b);"
 2354|      2|            "int dotEXT(u8vec4 a, i8vec4 b);"
 2355|      2|            "int dotEXT(i8vec4 a, i8vec4 b);"
 2356|       |
 2357|      2|            "uint dotEXT(u16vec2 a, u16vec2 b);"
 2358|      2|            "int dotEXT(i16vec2 a, u16vec2 b);"
 2359|      2|            "int dotEXT(u16vec2 a, i16vec2 b);"
 2360|      2|            "int dotEXT(i16vec2 a, i16vec2 b);"
 2361|       |
 2362|      2|            "uint dotEXT(u16vec3 a, u16vec3 b);"
 2363|      2|            "int dotEXT(i16vec3 a, u16vec3 b);"
 2364|      2|            "int dotEXT(u16vec3 a, i16vec3 b);"
 2365|      2|            "int dotEXT(i16vec3 a, i16vec3 b);"
 2366|       |
 2367|      2|            "uint dotEXT(u16vec4 a, u16vec4 b);"
 2368|      2|            "int dotEXT(i16vec4 a, u16vec4 b);"
 2369|      2|            "int dotEXT(u16vec4 a, i16vec4 b);"
 2370|      2|            "int dotEXT(i16vec4 a, i16vec4 b);"
 2371|       |
 2372|      2|            "uint64_t dotEXT(u64vec2 a, u64vec2 b);"
 2373|      2|            "int64_t dotEXT(i64vec2 a, u64vec2 b);"
 2374|      2|            "int64_t dotEXT(u64vec2 a, i64vec2 b);"
 2375|      2|            "int64_t dotEXT(i64vec2 a, i64vec2 b);"
 2376|       |
 2377|      2|            "uint64_t dotEXT(u64vec3 a, u64vec3 b);"
 2378|      2|            "int64_t dotEXT(i64vec3 a, u64vec3 b);"
 2379|      2|            "int64_t dotEXT(u64vec3 a, i64vec3 b);"
 2380|      2|            "int64_t dotEXT(i64vec3 a, i64vec3 b);"
 2381|       |
 2382|      2|            "uint64_t dotEXT(u64vec4 a, u64vec4 b);"
 2383|      2|            "int64_t dotEXT(i64vec4 a, u64vec4 b);"
 2384|      2|            "int64_t dotEXT(u64vec4 a, i64vec4 b);"
 2385|      2|            "int64_t dotEXT(i64vec4 a, i64vec4 b);"
 2386|       |
 2387|      2|            "uint dotAccSatEXT(uvec2 a, uvec2 b, uint c);"
 2388|      2|            "int dotAccSatEXT(ivec2 a, uvec2 b, int c);"
 2389|      2|            "int dotAccSatEXT(uvec2 a, ivec2 b, int c);"
 2390|      2|            "int dotAccSatEXT(ivec2 a, ivec2 b, int c);"
 2391|       |
 2392|      2|            "uint dotAccSatEXT(uvec3 a, uvec3 b, uint c);"
 2393|      2|            "int dotAccSatEXT(ivec3 a, uvec3 b, int c);"
 2394|      2|            "int dotAccSatEXT(uvec3 a, ivec3 b, int c);"
 2395|      2|            "int dotAccSatEXT(ivec3 a, ivec3 b, int c);"
 2396|       |
 2397|      2|            "uint dotAccSatEXT(uvec4 a, uvec4 b, uint c);"
 2398|      2|            "int dotAccSatEXT(ivec4 a, uvec4 b, int c);"
 2399|      2|            "int dotAccSatEXT(uvec4 a, ivec4 b, int c);"
 2400|      2|            "int dotAccSatEXT(ivec4 a, ivec4 b, int c);"
 2401|       |
 2402|      2|            "uint dotPacked4x8AccSatEXT(uint a, uint b, uint c);"
 2403|      2|            "int dotPacked4x8AccSatEXT(int a, uint b, int c);"
 2404|      2|            "int dotPacked4x8AccSatEXT(uint a, int b, int c);"
 2405|      2|            "int dotPacked4x8AccSatEXT(int a, int b, int c);"
 2406|       |
 2407|      2|            "uint dotAccSatEXT(u8vec2 a, u8vec2 b, uint c);"
 2408|      2|            "int dotAccSatEXT(i8vec2 a, u8vec2 b, int c);"
 2409|      2|            "int dotAccSatEXT(u8vec2 a, i8vec2 b, int c);"
 2410|      2|            "int dotAccSatEXT(i8vec2 a, i8vec2 b, int c);"
 2411|       |
 2412|      2|            "uint dotAccSatEXT(u8vec3 a, u8vec3 b, uint c);"
 2413|      2|            "int dotAccSatEXT(i8vec3 a, u8vec3 b, int c);"
 2414|      2|            "int dotAccSatEXT(u8vec3 a, i8vec3 b, int c);"
 2415|      2|            "int dotAccSatEXT(i8vec3 a, i8vec3 b, int c);"
 2416|       |
 2417|      2|            "uint dotAccSatEXT(u8vec4 a, u8vec4 b, uint c);"
 2418|      2|            "int dotAccSatEXT(i8vec4 a, u8vec4 b, int c);"
 2419|      2|            "int dotAccSatEXT(u8vec4 a, i8vec4 b, int c);"
 2420|      2|            "int dotAccSatEXT(i8vec4 a, i8vec4 b, int c);"
 2421|       |
 2422|      2|            "uint dotAccSatEXT(u16vec2 a, u16vec2 b, uint c);"
 2423|      2|            "int dotAccSatEXT(i16vec2 a, u16vec2 b, int c);"
 2424|      2|            "int dotAccSatEXT(u16vec2 a, i16vec2 b, int c);"
 2425|      2|            "int dotAccSatEXT(i16vec2 a, i16vec2 b, int c);"
 2426|       |
 2427|      2|            "uint dotAccSatEXT(u16vec3 a, u16vec3 b, uint c);"
 2428|      2|            "int dotAccSatEXT(i16vec3 a, u16vec3 b, int c);"
 2429|      2|            "int dotAccSatEXT(u16vec3 a, i16vec3 b, int c);"
 2430|      2|            "int dotAccSatEXT(i16vec3 a, i16vec3 b, int c);"
 2431|       |
 2432|      2|            "uint dotAccSatEXT(u16vec4 a, u16vec4 b, uint c);"
 2433|      2|            "int dotAccSatEXT(i16vec4 a, u16vec4 b, int c);"
 2434|      2|            "int dotAccSatEXT(u16vec4 a, i16vec4 b, int c);"
 2435|      2|            "int dotAccSatEXT(i16vec4 a, i16vec4 b, int c);"
 2436|       |
 2437|      2|            "uint64_t dotAccSatEXT(u64vec2 a, u64vec2 b, uint64_t c);"
 2438|      2|            "int64_t dotAccSatEXT(i64vec2 a, u64vec2 b, int64_t c);"
 2439|      2|            "int64_t dotAccSatEXT(u64vec2 a, i64vec2 b, int64_t c);"
 2440|      2|            "int64_t dotAccSatEXT(i64vec2 a, i64vec2 b, int64_t c);"
 2441|       |
 2442|      2|            "uint64_t dotAccSatEXT(u64vec3 a, u64vec3 b, uint64_t c);"
 2443|      2|            "int64_t dotAccSatEXT(i64vec3 a, u64vec3 b, int64_t c);"
 2444|      2|            "int64_t dotAccSatEXT(u64vec3 a, i64vec3 b, int64_t c);"
 2445|      2|            "int64_t dotAccSatEXT(i64vec3 a, i64vec3 b, int64_t c);"
 2446|       |
 2447|      2|            "uint64_t dotAccSatEXT(u64vec4 a, u64vec4 b, uint64_t c);"
 2448|      2|            "int64_t dotAccSatEXT(i64vec4 a, u64vec4 b, int64_t c);"
 2449|      2|            "int64_t dotAccSatEXT(u64vec4 a, i64vec4 b, int64_t c);"
 2450|      2|            "int64_t dotAccSatEXT(i64vec4 a, i64vec4 b, int64_t c);"
 2451|      2|            "\n");
 2452|      2|    }
 2453|       |
 2454|       |    // GL_KHR_shader_subgroup
 2455|     36|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (2455:10): [True: 34, False: 2]
  |  Branch (2455:35): [True: 0, False: 34]
  ------------------
 2456|     36|        (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (2456:10): [True: 2, False: 34]
  |  Branch (2456:35): [True: 2, False: 0]
  ------------------
 2457|      2|        commonBuiltins.append(
 2458|      2|            "void subgroupBarrier();"
 2459|      2|            "void subgroupMemoryBarrier();"
 2460|      2|            "void subgroupMemoryBarrierBuffer();"
 2461|      2|            "void subgroupMemoryBarrierImage();"
 2462|      2|            "bool subgroupElect();"
 2463|       |
 2464|      2|            "bool   subgroupAll(bool);\n"
 2465|      2|            "bool   subgroupAny(bool);\n"
 2466|      2|            "uvec4  subgroupBallot(bool);\n"
 2467|      2|            "bool   subgroupInverseBallot(uvec4);\n"
 2468|      2|            "bool   subgroupBallotBitExtract(uvec4, uint);\n"
 2469|      2|            "uint   subgroupBallotBitCount(uvec4);\n"
 2470|      2|            "uint   subgroupBallotInclusiveBitCount(uvec4);\n"
 2471|      2|            "uint   subgroupBallotExclusiveBitCount(uvec4);\n"
 2472|      2|            "uint   subgroupBallotFindLSB(uvec4);\n"
 2473|      2|            "uint   subgroupBallotFindMSB(uvec4);\n"
 2474|      2|            );
 2475|       |
 2476|       |        // Generate all flavors of subgroup ops.
 2477|      2|        static const char *subgroupOps[] = 
 2478|      2|        {
 2479|      2|            "bool   subgroupAllEqual(%s);\n",
 2480|      2|            "%s     subgroupBroadcast(%s, uint);\n",
 2481|      2|            "%s     subgroupBroadcastFirst(%s);\n",
 2482|      2|            "%s     subgroupShuffle(%s, uint);\n",
 2483|      2|            "%s     subgroupShuffleXor(%s, uint);\n",
 2484|      2|            "%s     subgroupShuffleUp(%s, uint delta);\n",
 2485|      2|            "%s     subgroupShuffleDown(%s, uint delta);\n",
 2486|      2|            "%s     subgroupRotate(%s, uint);\n",
 2487|      2|            "%s     subgroupClusteredRotate(%s, uint, uint);\n",
 2488|      2|            "%s     subgroupAdd(%s);\n",
 2489|      2|            "%s     subgroupMul(%s);\n",
 2490|      2|            "%s     subgroupMin(%s);\n",
 2491|      2|            "%s     subgroupMax(%s);\n",
 2492|      2|            "%s     subgroupAnd(%s);\n",
 2493|      2|            "%s     subgroupOr(%s);\n",
 2494|      2|            "%s     subgroupXor(%s);\n",
 2495|      2|            "%s     subgroupInclusiveAdd(%s);\n",
 2496|      2|            "%s     subgroupInclusiveMul(%s);\n",
 2497|      2|            "%s     subgroupInclusiveMin(%s);\n",
 2498|      2|            "%s     subgroupInclusiveMax(%s);\n",
 2499|      2|            "%s     subgroupInclusiveAnd(%s);\n",
 2500|      2|            "%s     subgroupInclusiveOr(%s);\n",
 2501|      2|            "%s     subgroupInclusiveXor(%s);\n",
 2502|      2|            "%s     subgroupExclusiveAdd(%s);\n",
 2503|      2|            "%s     subgroupExclusiveMul(%s);\n",
 2504|      2|            "%s     subgroupExclusiveMin(%s);\n",
 2505|      2|            "%s     subgroupExclusiveMax(%s);\n",
 2506|      2|            "%s     subgroupExclusiveAnd(%s);\n",
 2507|      2|            "%s     subgroupExclusiveOr(%s);\n",
 2508|      2|            "%s     subgroupExclusiveXor(%s);\n",
 2509|      2|            "%s     subgroupClusteredAdd(%s, uint);\n",
 2510|      2|            "%s     subgroupClusteredMul(%s, uint);\n",
 2511|      2|            "%s     subgroupClusteredMin(%s, uint);\n",
 2512|      2|            "%s     subgroupClusteredMax(%s, uint);\n",
 2513|      2|            "%s     subgroupClusteredAnd(%s, uint);\n",
 2514|      2|            "%s     subgroupClusteredOr(%s, uint);\n",
 2515|      2|            "%s     subgroupClusteredXor(%s, uint);\n",
 2516|      2|            "%s     subgroupQuadBroadcast(%s, uint);\n",
 2517|      2|            "%s     subgroupQuadSwapHorizontal(%s);\n",
 2518|      2|            "%s     subgroupQuadSwapVertical(%s);\n",
 2519|      2|            "%s     subgroupQuadSwapDiagonal(%s);\n",
 2520|      2|            "uvec4  subgroupPartitionNV(%s);\n",
 2521|      2|            "%s     subgroupPartitionedAddNV(%s, uvec4 ballot);\n",
 2522|      2|            "%s     subgroupPartitionedMulNV(%s, uvec4 ballot);\n",
 2523|      2|            "%s     subgroupPartitionedMinNV(%s, uvec4 ballot);\n",
 2524|      2|            "%s     subgroupPartitionedMaxNV(%s, uvec4 ballot);\n",
 2525|      2|            "%s     subgroupPartitionedAndNV(%s, uvec4 ballot);\n",
 2526|      2|            "%s     subgroupPartitionedOrNV(%s, uvec4 ballot);\n",
 2527|      2|            "%s     subgroupPartitionedXorNV(%s, uvec4 ballot);\n",
 2528|      2|            "%s     subgroupPartitionedInclusiveAddNV(%s, uvec4 ballot);\n",
 2529|      2|            "%s     subgroupPartitionedInclusiveMulNV(%s, uvec4 ballot);\n",
 2530|      2|            "%s     subgroupPartitionedInclusiveMinNV(%s, uvec4 ballot);\n",
 2531|      2|            "%s     subgroupPartitionedInclusiveMaxNV(%s, uvec4 ballot);\n",
 2532|      2|            "%s     subgroupPartitionedInclusiveAndNV(%s, uvec4 ballot);\n",
 2533|      2|            "%s     subgroupPartitionedInclusiveOrNV(%s, uvec4 ballot);\n",
 2534|      2|            "%s     subgroupPartitionedInclusiveXorNV(%s, uvec4 ballot);\n",
 2535|      2|            "%s     subgroupPartitionedExclusiveAddNV(%s, uvec4 ballot);\n",
 2536|      2|            "%s     subgroupPartitionedExclusiveMulNV(%s, uvec4 ballot);\n",
 2537|      2|            "%s     subgroupPartitionedExclusiveMinNV(%s, uvec4 ballot);\n",
 2538|      2|            "%s     subgroupPartitionedExclusiveMaxNV(%s, uvec4 ballot);\n",
 2539|      2|            "%s     subgroupPartitionedExclusiveAndNV(%s, uvec4 ballot);\n",
 2540|      2|            "%s     subgroupPartitionedExclusiveOrNV(%s, uvec4 ballot);\n",
 2541|      2|            "%s     subgroupPartitionedExclusiveXorNV(%s, uvec4 ballot);\n",
 2542|      2|        };
 2543|       |
 2544|      2|        static const char *floatTypes[] = { 
 2545|      2|            "float", "vec2", "vec3", "vec4", 
 2546|      2|            "float16_t", "f16vec2", "f16vec3", "f16vec4", 
 2547|      2|        };
 2548|      2|        static const char *doubleTypes[] = { 
 2549|      2|            "double", "dvec2", "dvec3", "dvec4", 
 2550|      2|        };
 2551|      2|        static const char *intTypes[] = { 
 2552|      2|            "int8_t", "i8vec2", "i8vec3", "i8vec4", 
 2553|      2|            "int16_t", "i16vec2", "i16vec3", "i16vec4", 
 2554|      2|            "int", "ivec2", "ivec3", "ivec4", 
 2555|      2|            "int64_t", "i64vec2", "i64vec3", "i64vec4", 
 2556|      2|            "uint8_t", "u8vec2", "u8vec3", "u8vec4", 
 2557|      2|            "uint16_t", "u16vec2", "u16vec3", "u16vec4", 
 2558|      2|            "uint", "uvec2", "uvec3", "uvec4", 
 2559|      2|            "uint64_t", "u64vec2", "u64vec3", "u64vec4", 
 2560|      2|        };
 2561|      2|        static const char *boolTypes[] = { 
 2562|      2|            "bool", "bvec2", "bvec3", "bvec4", 
 2563|      2|        };
 2564|       |
 2565|    128|        for (size_t i = 0; i < sizeof(subgroupOps)/sizeof(subgroupOps[0]); ++i) {
  ------------------
  |  Branch (2565:28): [True: 126, False: 2]
  ------------------
 2566|    126|            const char *op = subgroupOps[i];
 2567|       |
 2568|       |            // Logical operations don't support float
 2569|    126|            bool logicalOp = strstr(op, "Or") || strstr(op, "And") ||
  ------------------
  |  Branch (2569:30): [True: 14, False: 112]
  |  Branch (2569:50): [True: 14, False: 98]
  ------------------
 2570|     98|                             (strstr(op, "Xor") && !strstr(op, "ShuffleXor"));
  ------------------
  |  Branch (2570:31): [True: 16, False: 82]
  |  Branch (2570:52): [True: 14, False: 2]
  ------------------
 2571|       |            // Math operations don't support bool
 2572|    126|            bool mathOp = strstr(op, "Add") || strstr(op, "Mul") || strstr(op, "Min") || strstr(op, "Max");
  ------------------
  |  Branch (2572:27): [True: 14, False: 112]
  |  Branch (2572:48): [True: 14, False: 98]
  |  Branch (2572:69): [True: 14, False: 84]
  |  Branch (2572:90): [True: 14, False: 70]
  ------------------
 2573|       |
 2574|    126|            const int bufSize = 256;
 2575|    126|            char buf[bufSize];
 2576|       |
 2577|    126|            if (!logicalOp) {
  ------------------
  |  Branch (2577:17): [True: 84, False: 42]
  ------------------
 2578|    756|                for (size_t j = 0; j < sizeof(floatTypes)/sizeof(floatTypes[0]); ++j) {
  ------------------
  |  Branch (2578:36): [True: 672, False: 84]
  ------------------
 2579|    672|                    snprintf(buf, bufSize, op, floatTypes[j], floatTypes[j]);
 2580|    672|                    commonBuiltins.append(buf);
 2581|    672|                }
 2582|     84|                if (profile != EEsProfile && version >= 400) {
  ------------------
  |  Branch (2582:21): [True: 84, False: 0]
  |  Branch (2582:46): [True: 84, False: 0]
  ------------------
 2583|    420|                    for (size_t j = 0; j < sizeof(doubleTypes)/sizeof(doubleTypes[0]); ++j) {
  ------------------
  |  Branch (2583:40): [True: 336, False: 84]
  ------------------
 2584|    336|                        snprintf(buf, bufSize, op, doubleTypes[j], doubleTypes[j]);
 2585|    336|                        commonBuiltins.append(buf);
 2586|    336|                    }
 2587|     84|                }
 2588|     84|            }
 2589|    126|            if (!mathOp) {
  ------------------
  |  Branch (2589:17): [True: 70, False: 56]
  ------------------
 2590|    350|                for (size_t j = 0; j < sizeof(boolTypes)/sizeof(boolTypes[0]); ++j) {
  ------------------
  |  Branch (2590:36): [True: 280, False: 70]
  ------------------
 2591|    280|                    snprintf(buf, bufSize, op, boolTypes[j], boolTypes[j]);
 2592|    280|                    commonBuiltins.append(buf);
 2593|    280|                }
 2594|     70|            }
 2595|  4.15k|            for (size_t j = 0; j < sizeof(intTypes)/sizeof(intTypes[0]); ++j) {
  ------------------
  |  Branch (2595:32): [True: 4.03k, False: 126]
  ------------------
 2596|  4.03k|                snprintf(buf, bufSize, op, intTypes[j], intTypes[j]);
 2597|  4.03k|                commonBuiltins.append(buf);
 2598|  4.03k|            }
 2599|    126|            snprintf(buf, bufSize, op, "vector", "vector");
 2600|    126|            commonBuiltins.append(buf);
 2601|    126|        }
 2602|       |
 2603|      2|        stageBuiltins[EShLangCompute].append(
 2604|      2|            "void subgroupMemoryBarrierShared();"
 2605|       |
 2606|      2|            "\n"
 2607|      2|            );
 2608|      2|        stageBuiltins[EShLangMesh].append(
 2609|      2|            "void subgroupMemoryBarrierShared();"
 2610|      2|            "\n"
 2611|      2|            );
 2612|      2|        stageBuiltins[EShLangTask].append(
 2613|      2|            "void subgroupMemoryBarrierShared();"
 2614|      2|            "\n"
 2615|      2|            );
 2616|      2|    }
 2617|       |
 2618|       |    // GL_EXT_shader_quad_control
 2619|     36|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (2619:10): [True: 34, False: 2]
  |  Branch (2619:35): [True: 0, False: 34]
  ------------------
 2620|     36|        (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (2620:10): [True: 2, False: 34]
  |  Branch (2620:35): [True: 2, False: 0]
  ------------------
 2621|      2|        commonBuiltins.append(
 2622|      2|            "bool subgroupQuadAll(bool);\n"
 2623|      2|            "bool subgroupQuadAny(bool);\n"
 2624|      2|            );
 2625|      2|    }
 2626|       |
 2627|     36|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (2627:9): [True: 2, False: 34]
  |  Branch (2627:34): [True: 0, False: 2]
  ------------------
 2628|      0|        commonBuiltins.append(
 2629|      0|            "bool anyInvocation(bool);"
 2630|      0|            "bool allInvocations(bool);"
 2631|      0|            "bool allInvocationsEqual(bool);"
 2632|       |
 2633|      0|            "\n");
 2634|      0|    }
 2635|       |
 2636|       |    // GL_AMD_shader_ballot
 2637|     36|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (2637:9): [True: 2, False: 34]
  |  Branch (2637:34): [True: 2, False: 0]
  ------------------
 2638|      2|        commonBuiltins.append(
 2639|      2|            "float minInvocationsAMD(float);"
 2640|      2|            "vec2  minInvocationsAMD(vec2);"
 2641|      2|            "vec3  minInvocationsAMD(vec3);"
 2642|      2|            "vec4  minInvocationsAMD(vec4);"
 2643|       |
 2644|      2|            "int   minInvocationsAMD(int);"
 2645|      2|            "ivec2 minInvocationsAMD(ivec2);"
 2646|      2|            "ivec3 minInvocationsAMD(ivec3);"
 2647|      2|            "ivec4 minInvocationsAMD(ivec4);"
 2648|       |
 2649|      2|            "uint  minInvocationsAMD(uint);"
 2650|      2|            "uvec2 minInvocationsAMD(uvec2);"
 2651|      2|            "uvec3 minInvocationsAMD(uvec3);"
 2652|      2|            "uvec4 minInvocationsAMD(uvec4);"
 2653|       |
 2654|      2|            "double minInvocationsAMD(double);"
 2655|      2|            "dvec2  minInvocationsAMD(dvec2);"
 2656|      2|            "dvec3  minInvocationsAMD(dvec3);"
 2657|      2|            "dvec4  minInvocationsAMD(dvec4);"
 2658|       |
 2659|      2|            "int64_t minInvocationsAMD(int64_t);"
 2660|      2|            "i64vec2 minInvocationsAMD(i64vec2);"
 2661|      2|            "i64vec3 minInvocationsAMD(i64vec3);"
 2662|      2|            "i64vec4 minInvocationsAMD(i64vec4);"
 2663|       |
 2664|      2|            "uint64_t minInvocationsAMD(uint64_t);"
 2665|      2|            "u64vec2  minInvocationsAMD(u64vec2);"
 2666|      2|            "u64vec3  minInvocationsAMD(u64vec3);"
 2667|      2|            "u64vec4  minInvocationsAMD(u64vec4);"
 2668|       |
 2669|      2|            "float16_t minInvocationsAMD(float16_t);"
 2670|      2|            "f16vec2   minInvocationsAMD(f16vec2);"
 2671|      2|            "f16vec3   minInvocationsAMD(f16vec3);"
 2672|      2|            "f16vec4   minInvocationsAMD(f16vec4);"
 2673|       |
 2674|      2|            "int16_t minInvocationsAMD(int16_t);"
 2675|      2|            "i16vec2 minInvocationsAMD(i16vec2);"
 2676|      2|            "i16vec3 minInvocationsAMD(i16vec3);"
 2677|      2|            "i16vec4 minInvocationsAMD(i16vec4);"
 2678|       |
 2679|      2|            "uint16_t minInvocationsAMD(uint16_t);"
 2680|      2|            "u16vec2  minInvocationsAMD(u16vec2);"
 2681|      2|            "u16vec3  minInvocationsAMD(u16vec3);"
 2682|      2|            "u16vec4  minInvocationsAMD(u16vec4);"
 2683|       |
 2684|      2|            "float minInvocationsInclusiveScanAMD(float);"
 2685|      2|            "vec2  minInvocationsInclusiveScanAMD(vec2);"
 2686|      2|            "vec3  minInvocationsInclusiveScanAMD(vec3);"
 2687|      2|            "vec4  minInvocationsInclusiveScanAMD(vec4);"
 2688|       |
 2689|      2|            "int   minInvocationsInclusiveScanAMD(int);"
 2690|      2|            "ivec2 minInvocationsInclusiveScanAMD(ivec2);"
 2691|      2|            "ivec3 minInvocationsInclusiveScanAMD(ivec3);"
 2692|      2|            "ivec4 minInvocationsInclusiveScanAMD(ivec4);"
 2693|       |
 2694|      2|            "uint  minInvocationsInclusiveScanAMD(uint);"
 2695|      2|            "uvec2 minInvocationsInclusiveScanAMD(uvec2);"
 2696|      2|            "uvec3 minInvocationsInclusiveScanAMD(uvec3);"
 2697|      2|            "uvec4 minInvocationsInclusiveScanAMD(uvec4);"
 2698|       |
 2699|      2|            "double minInvocationsInclusiveScanAMD(double);"
 2700|      2|            "dvec2  minInvocationsInclusiveScanAMD(dvec2);"
 2701|      2|            "dvec3  minInvocationsInclusiveScanAMD(dvec3);"
 2702|      2|            "dvec4  minInvocationsInclusiveScanAMD(dvec4);"
 2703|       |
 2704|      2|            "int64_t minInvocationsInclusiveScanAMD(int64_t);"
 2705|      2|            "i64vec2 minInvocationsInclusiveScanAMD(i64vec2);"
 2706|      2|            "i64vec3 minInvocationsInclusiveScanAMD(i64vec3);"
 2707|      2|            "i64vec4 minInvocationsInclusiveScanAMD(i64vec4);"
 2708|       |
 2709|      2|            "uint64_t minInvocationsInclusiveScanAMD(uint64_t);"
 2710|      2|            "u64vec2  minInvocationsInclusiveScanAMD(u64vec2);"
 2711|      2|            "u64vec3  minInvocationsInclusiveScanAMD(u64vec3);"
 2712|      2|            "u64vec4  minInvocationsInclusiveScanAMD(u64vec4);"
 2713|       |
 2714|      2|            "float16_t minInvocationsInclusiveScanAMD(float16_t);"
 2715|      2|            "f16vec2   minInvocationsInclusiveScanAMD(f16vec2);"
 2716|      2|            "f16vec3   minInvocationsInclusiveScanAMD(f16vec3);"
 2717|      2|            "f16vec4   minInvocationsInclusiveScanAMD(f16vec4);"
 2718|       |
 2719|      2|            "int16_t minInvocationsInclusiveScanAMD(int16_t);"
 2720|      2|            "i16vec2 minInvocationsInclusiveScanAMD(i16vec2);"
 2721|      2|            "i16vec3 minInvocationsInclusiveScanAMD(i16vec3);"
 2722|      2|            "i16vec4 minInvocationsInclusiveScanAMD(i16vec4);"
 2723|       |
 2724|      2|            "uint16_t minInvocationsInclusiveScanAMD(uint16_t);"
 2725|      2|            "u16vec2  minInvocationsInclusiveScanAMD(u16vec2);"
 2726|      2|            "u16vec3  minInvocationsInclusiveScanAMD(u16vec3);"
 2727|      2|            "u16vec4  minInvocationsInclusiveScanAMD(u16vec4);"
 2728|       |
 2729|      2|            "float minInvocationsExclusiveScanAMD(float);"
 2730|      2|            "vec2  minInvocationsExclusiveScanAMD(vec2);"
 2731|      2|            "vec3  minInvocationsExclusiveScanAMD(vec3);"
 2732|      2|            "vec4  minInvocationsExclusiveScanAMD(vec4);"
 2733|       |
 2734|      2|            "int   minInvocationsExclusiveScanAMD(int);"
 2735|      2|            "ivec2 minInvocationsExclusiveScanAMD(ivec2);"
 2736|      2|            "ivec3 minInvocationsExclusiveScanAMD(ivec3);"
 2737|      2|            "ivec4 minInvocationsExclusiveScanAMD(ivec4);"
 2738|       |
 2739|      2|            "uint  minInvocationsExclusiveScanAMD(uint);"
 2740|      2|            "uvec2 minInvocationsExclusiveScanAMD(uvec2);"
 2741|      2|            "uvec3 minInvocationsExclusiveScanAMD(uvec3);"
 2742|      2|            "uvec4 minInvocationsExclusiveScanAMD(uvec4);"
 2743|       |
 2744|      2|            "double minInvocationsExclusiveScanAMD(double);"
 2745|      2|            "dvec2  minInvocationsExclusiveScanAMD(dvec2);"
 2746|      2|            "dvec3  minInvocationsExclusiveScanAMD(dvec3);"
 2747|      2|            "dvec4  minInvocationsExclusiveScanAMD(dvec4);"
 2748|       |
 2749|      2|            "int64_t minInvocationsExclusiveScanAMD(int64_t);"
 2750|      2|            "i64vec2 minInvocationsExclusiveScanAMD(i64vec2);"
 2751|      2|            "i64vec3 minInvocationsExclusiveScanAMD(i64vec3);"
 2752|      2|            "i64vec4 minInvocationsExclusiveScanAMD(i64vec4);"
 2753|       |
 2754|      2|            "uint64_t minInvocationsExclusiveScanAMD(uint64_t);"
 2755|      2|            "u64vec2  minInvocationsExclusiveScanAMD(u64vec2);"
 2756|      2|            "u64vec3  minInvocationsExclusiveScanAMD(u64vec3);"
 2757|      2|            "u64vec4  minInvocationsExclusiveScanAMD(u64vec4);"
 2758|       |
 2759|      2|            "float16_t minInvocationsExclusiveScanAMD(float16_t);"
 2760|      2|            "f16vec2   minInvocationsExclusiveScanAMD(f16vec2);"
 2761|      2|            "f16vec3   minInvocationsExclusiveScanAMD(f16vec3);"
 2762|      2|            "f16vec4   minInvocationsExclusiveScanAMD(f16vec4);"
 2763|       |
 2764|      2|            "int16_t minInvocationsExclusiveScanAMD(int16_t);"
 2765|      2|            "i16vec2 minInvocationsExclusiveScanAMD(i16vec2);"
 2766|      2|            "i16vec3 minInvocationsExclusiveScanAMD(i16vec3);"
 2767|      2|            "i16vec4 minInvocationsExclusiveScanAMD(i16vec4);"
 2768|       |
 2769|      2|            "uint16_t minInvocationsExclusiveScanAMD(uint16_t);"
 2770|      2|            "u16vec2  minInvocationsExclusiveScanAMD(u16vec2);"
 2771|      2|            "u16vec3  minInvocationsExclusiveScanAMD(u16vec3);"
 2772|      2|            "u16vec4  minInvocationsExclusiveScanAMD(u16vec4);"
 2773|       |
 2774|      2|            "float maxInvocationsAMD(float);"
 2775|      2|            "vec2  maxInvocationsAMD(vec2);"
 2776|      2|            "vec3  maxInvocationsAMD(vec3);"
 2777|      2|            "vec4  maxInvocationsAMD(vec4);"
 2778|       |
 2779|      2|            "int   maxInvocationsAMD(int);"
 2780|      2|            "ivec2 maxInvocationsAMD(ivec2);"
 2781|      2|            "ivec3 maxInvocationsAMD(ivec3);"
 2782|      2|            "ivec4 maxInvocationsAMD(ivec4);"
 2783|       |
 2784|      2|            "uint  maxInvocationsAMD(uint);"
 2785|      2|            "uvec2 maxInvocationsAMD(uvec2);"
 2786|      2|            "uvec3 maxInvocationsAMD(uvec3);"
 2787|      2|            "uvec4 maxInvocationsAMD(uvec4);"
 2788|       |
 2789|      2|            "double maxInvocationsAMD(double);"
 2790|      2|            "dvec2  maxInvocationsAMD(dvec2);"
 2791|      2|            "dvec3  maxInvocationsAMD(dvec3);"
 2792|      2|            "dvec4  maxInvocationsAMD(dvec4);"
 2793|       |
 2794|      2|            "int64_t maxInvocationsAMD(int64_t);"
 2795|      2|            "i64vec2 maxInvocationsAMD(i64vec2);"
 2796|      2|            "i64vec3 maxInvocationsAMD(i64vec3);"
 2797|      2|            "i64vec4 maxInvocationsAMD(i64vec4);"
 2798|       |
 2799|      2|            "uint64_t maxInvocationsAMD(uint64_t);"
 2800|      2|            "u64vec2  maxInvocationsAMD(u64vec2);"
 2801|      2|            "u64vec3  maxInvocationsAMD(u64vec3);"
 2802|      2|            "u64vec4  maxInvocationsAMD(u64vec4);"
 2803|       |
 2804|      2|            "float16_t maxInvocationsAMD(float16_t);"
 2805|      2|            "f16vec2   maxInvocationsAMD(f16vec2);"
 2806|      2|            "f16vec3   maxInvocationsAMD(f16vec3);"
 2807|      2|            "f16vec4   maxInvocationsAMD(f16vec4);"
 2808|       |
 2809|      2|            "int16_t maxInvocationsAMD(int16_t);"
 2810|      2|            "i16vec2 maxInvocationsAMD(i16vec2);"
 2811|      2|            "i16vec3 maxInvocationsAMD(i16vec3);"
 2812|      2|            "i16vec4 maxInvocationsAMD(i16vec4);"
 2813|       |
 2814|      2|            "uint16_t maxInvocationsAMD(uint16_t);"
 2815|      2|            "u16vec2  maxInvocationsAMD(u16vec2);"
 2816|      2|            "u16vec3  maxInvocationsAMD(u16vec3);"
 2817|      2|            "u16vec4  maxInvocationsAMD(u16vec4);"
 2818|       |
 2819|      2|            "float maxInvocationsInclusiveScanAMD(float);"
 2820|      2|            "vec2  maxInvocationsInclusiveScanAMD(vec2);"
 2821|      2|            "vec3  maxInvocationsInclusiveScanAMD(vec3);"
 2822|      2|            "vec4  maxInvocationsInclusiveScanAMD(vec4);"
 2823|       |
 2824|      2|            "int   maxInvocationsInclusiveScanAMD(int);"
 2825|      2|            "ivec2 maxInvocationsInclusiveScanAMD(ivec2);"
 2826|      2|            "ivec3 maxInvocationsInclusiveScanAMD(ivec3);"
 2827|      2|            "ivec4 maxInvocationsInclusiveScanAMD(ivec4);"
 2828|       |
 2829|      2|            "uint  maxInvocationsInclusiveScanAMD(uint);"
 2830|      2|            "uvec2 maxInvocationsInclusiveScanAMD(uvec2);"
 2831|      2|            "uvec3 maxInvocationsInclusiveScanAMD(uvec3);"
 2832|      2|            "uvec4 maxInvocationsInclusiveScanAMD(uvec4);"
 2833|       |
 2834|      2|            "double maxInvocationsInclusiveScanAMD(double);"
 2835|      2|            "dvec2  maxInvocationsInclusiveScanAMD(dvec2);"
 2836|      2|            "dvec3  maxInvocationsInclusiveScanAMD(dvec3);"
 2837|      2|            "dvec4  maxInvocationsInclusiveScanAMD(dvec4);"
 2838|       |
 2839|      2|            "int64_t maxInvocationsInclusiveScanAMD(int64_t);"
 2840|      2|            "i64vec2 maxInvocationsInclusiveScanAMD(i64vec2);"
 2841|      2|            "i64vec3 maxInvocationsInclusiveScanAMD(i64vec3);"
 2842|      2|            "i64vec4 maxInvocationsInclusiveScanAMD(i64vec4);"
 2843|       |
 2844|      2|            "uint64_t maxInvocationsInclusiveScanAMD(uint64_t);"
 2845|      2|            "u64vec2  maxInvocationsInclusiveScanAMD(u64vec2);"
 2846|      2|            "u64vec3  maxInvocationsInclusiveScanAMD(u64vec3);"
 2847|      2|            "u64vec4  maxInvocationsInclusiveScanAMD(u64vec4);"
 2848|       |
 2849|      2|            "float16_t maxInvocationsInclusiveScanAMD(float16_t);"
 2850|      2|            "f16vec2   maxInvocationsInclusiveScanAMD(f16vec2);"
 2851|      2|            "f16vec3   maxInvocationsInclusiveScanAMD(f16vec3);"
 2852|      2|            "f16vec4   maxInvocationsInclusiveScanAMD(f16vec4);"
 2853|       |
 2854|      2|            "int16_t maxInvocationsInclusiveScanAMD(int16_t);"
 2855|      2|            "i16vec2 maxInvocationsInclusiveScanAMD(i16vec2);"
 2856|      2|            "i16vec3 maxInvocationsInclusiveScanAMD(i16vec3);"
 2857|      2|            "i16vec4 maxInvocationsInclusiveScanAMD(i16vec4);"
 2858|       |
 2859|      2|            "uint16_t maxInvocationsInclusiveScanAMD(uint16_t);"
 2860|      2|            "u16vec2  maxInvocationsInclusiveScanAMD(u16vec2);"
 2861|      2|            "u16vec3  maxInvocationsInclusiveScanAMD(u16vec3);"
 2862|      2|            "u16vec4  maxInvocationsInclusiveScanAMD(u16vec4);"
 2863|       |
 2864|      2|            "float maxInvocationsExclusiveScanAMD(float);"
 2865|      2|            "vec2  maxInvocationsExclusiveScanAMD(vec2);"
 2866|      2|            "vec3  maxInvocationsExclusiveScanAMD(vec3);"
 2867|      2|            "vec4  maxInvocationsExclusiveScanAMD(vec4);"
 2868|       |
 2869|      2|            "int   maxInvocationsExclusiveScanAMD(int);"
 2870|      2|            "ivec2 maxInvocationsExclusiveScanAMD(ivec2);"
 2871|      2|            "ivec3 maxInvocationsExclusiveScanAMD(ivec3);"
 2872|      2|            "ivec4 maxInvocationsExclusiveScanAMD(ivec4);"
 2873|       |
 2874|      2|            "uint  maxInvocationsExclusiveScanAMD(uint);"
 2875|      2|            "uvec2 maxInvocationsExclusiveScanAMD(uvec2);"
 2876|      2|            "uvec3 maxInvocationsExclusiveScanAMD(uvec3);"
 2877|      2|            "uvec4 maxInvocationsExclusiveScanAMD(uvec4);"
 2878|       |
 2879|      2|            "double maxInvocationsExclusiveScanAMD(double);"
 2880|      2|            "dvec2  maxInvocationsExclusiveScanAMD(dvec2);"
 2881|      2|            "dvec3  maxInvocationsExclusiveScanAMD(dvec3);"
 2882|      2|            "dvec4  maxInvocationsExclusiveScanAMD(dvec4);"
 2883|       |
 2884|      2|            "int64_t maxInvocationsExclusiveScanAMD(int64_t);"
 2885|      2|            "i64vec2 maxInvocationsExclusiveScanAMD(i64vec2);"
 2886|      2|            "i64vec3 maxInvocationsExclusiveScanAMD(i64vec3);"
 2887|      2|            "i64vec4 maxInvocationsExclusiveScanAMD(i64vec4);"
 2888|       |
 2889|      2|            "uint64_t maxInvocationsExclusiveScanAMD(uint64_t);"
 2890|      2|            "u64vec2  maxInvocationsExclusiveScanAMD(u64vec2);"
 2891|      2|            "u64vec3  maxInvocationsExclusiveScanAMD(u64vec3);"
 2892|      2|            "u64vec4  maxInvocationsExclusiveScanAMD(u64vec4);"
 2893|       |
 2894|      2|            "float16_t maxInvocationsExclusiveScanAMD(float16_t);"
 2895|      2|            "f16vec2   maxInvocationsExclusiveScanAMD(f16vec2);"
 2896|      2|            "f16vec3   maxInvocationsExclusiveScanAMD(f16vec3);"
 2897|      2|            "f16vec4   maxInvocationsExclusiveScanAMD(f16vec4);"
 2898|       |
 2899|      2|            "int16_t maxInvocationsExclusiveScanAMD(int16_t);"
 2900|      2|            "i16vec2 maxInvocationsExclusiveScanAMD(i16vec2);"
 2901|      2|            "i16vec3 maxInvocationsExclusiveScanAMD(i16vec3);"
 2902|      2|            "i16vec4 maxInvocationsExclusiveScanAMD(i16vec4);"
 2903|       |
 2904|      2|            "uint16_t maxInvocationsExclusiveScanAMD(uint16_t);"
 2905|      2|            "u16vec2  maxInvocationsExclusiveScanAMD(u16vec2);"
 2906|      2|            "u16vec3  maxInvocationsExclusiveScanAMD(u16vec3);"
 2907|      2|            "u16vec4  maxInvocationsExclusiveScanAMD(u16vec4);"
 2908|       |
 2909|      2|            "float addInvocationsAMD(float);"
 2910|      2|            "vec2  addInvocationsAMD(vec2);"
 2911|      2|            "vec3  addInvocationsAMD(vec3);"
 2912|      2|            "vec4  addInvocationsAMD(vec4);"
 2913|       |
 2914|      2|            "int   addInvocationsAMD(int);"
 2915|      2|            "ivec2 addInvocationsAMD(ivec2);"
 2916|      2|            "ivec3 addInvocationsAMD(ivec3);"
 2917|      2|            "ivec4 addInvocationsAMD(ivec4);"
 2918|       |
 2919|      2|            "uint  addInvocationsAMD(uint);"
 2920|      2|            "uvec2 addInvocationsAMD(uvec2);"
 2921|      2|            "uvec3 addInvocationsAMD(uvec3);"
 2922|      2|            "uvec4 addInvocationsAMD(uvec4);"
 2923|       |
 2924|      2|            "double  addInvocationsAMD(double);"
 2925|      2|            "dvec2   addInvocationsAMD(dvec2);"
 2926|      2|            "dvec3   addInvocationsAMD(dvec3);"
 2927|      2|            "dvec4   addInvocationsAMD(dvec4);"
 2928|       |
 2929|      2|            "int64_t addInvocationsAMD(int64_t);"
 2930|      2|            "i64vec2 addInvocationsAMD(i64vec2);"
 2931|      2|            "i64vec3 addInvocationsAMD(i64vec3);"
 2932|      2|            "i64vec4 addInvocationsAMD(i64vec4);"
 2933|       |
 2934|      2|            "uint64_t addInvocationsAMD(uint64_t);"
 2935|      2|            "u64vec2  addInvocationsAMD(u64vec2);"
 2936|      2|            "u64vec3  addInvocationsAMD(u64vec3);"
 2937|      2|            "u64vec4  addInvocationsAMD(u64vec4);"
 2938|       |
 2939|      2|            "float16_t addInvocationsAMD(float16_t);"
 2940|      2|            "f16vec2   addInvocationsAMD(f16vec2);"
 2941|      2|            "f16vec3   addInvocationsAMD(f16vec3);"
 2942|      2|            "f16vec4   addInvocationsAMD(f16vec4);"
 2943|       |
 2944|      2|            "int16_t addInvocationsAMD(int16_t);"
 2945|      2|            "i16vec2 addInvocationsAMD(i16vec2);"
 2946|      2|            "i16vec3 addInvocationsAMD(i16vec3);"
 2947|      2|            "i16vec4 addInvocationsAMD(i16vec4);"
 2948|       |
 2949|      2|            "uint16_t addInvocationsAMD(uint16_t);"
 2950|      2|            "u16vec2  addInvocationsAMD(u16vec2);"
 2951|      2|            "u16vec3  addInvocationsAMD(u16vec3);"
 2952|      2|            "u16vec4  addInvocationsAMD(u16vec4);"
 2953|       |
 2954|      2|            "float addInvocationsInclusiveScanAMD(float);"
 2955|      2|            "vec2  addInvocationsInclusiveScanAMD(vec2);"
 2956|      2|            "vec3  addInvocationsInclusiveScanAMD(vec3);"
 2957|      2|            "vec4  addInvocationsInclusiveScanAMD(vec4);"
 2958|       |
 2959|      2|            "int   addInvocationsInclusiveScanAMD(int);"
 2960|      2|            "ivec2 addInvocationsInclusiveScanAMD(ivec2);"
 2961|      2|            "ivec3 addInvocationsInclusiveScanAMD(ivec3);"
 2962|      2|            "ivec4 addInvocationsInclusiveScanAMD(ivec4);"
 2963|       |
 2964|      2|            "uint  addInvocationsInclusiveScanAMD(uint);"
 2965|      2|            "uvec2 addInvocationsInclusiveScanAMD(uvec2);"
 2966|      2|            "uvec3 addInvocationsInclusiveScanAMD(uvec3);"
 2967|      2|            "uvec4 addInvocationsInclusiveScanAMD(uvec4);"
 2968|       |
 2969|      2|            "double  addInvocationsInclusiveScanAMD(double);"
 2970|      2|            "dvec2   addInvocationsInclusiveScanAMD(dvec2);"
 2971|      2|            "dvec3   addInvocationsInclusiveScanAMD(dvec3);"
 2972|      2|            "dvec4   addInvocationsInclusiveScanAMD(dvec4);"
 2973|       |
 2974|      2|            "int64_t addInvocationsInclusiveScanAMD(int64_t);"
 2975|      2|            "i64vec2 addInvocationsInclusiveScanAMD(i64vec2);"
 2976|      2|            "i64vec3 addInvocationsInclusiveScanAMD(i64vec3);"
 2977|      2|            "i64vec4 addInvocationsInclusiveScanAMD(i64vec4);"
 2978|       |
 2979|      2|            "uint64_t addInvocationsInclusiveScanAMD(uint64_t);"
 2980|      2|            "u64vec2  addInvocationsInclusiveScanAMD(u64vec2);"
 2981|      2|            "u64vec3  addInvocationsInclusiveScanAMD(u64vec3);"
 2982|      2|            "u64vec4  addInvocationsInclusiveScanAMD(u64vec4);"
 2983|       |
 2984|      2|            "float16_t addInvocationsInclusiveScanAMD(float16_t);"
 2985|      2|            "f16vec2   addInvocationsInclusiveScanAMD(f16vec2);"
 2986|      2|            "f16vec3   addInvocationsInclusiveScanAMD(f16vec3);"
 2987|      2|            "f16vec4   addInvocationsInclusiveScanAMD(f16vec4);"
 2988|       |
 2989|      2|            "int16_t addInvocationsInclusiveScanAMD(int16_t);"
 2990|      2|            "i16vec2 addInvocationsInclusiveScanAMD(i16vec2);"
 2991|      2|            "i16vec3 addInvocationsInclusiveScanAMD(i16vec3);"
 2992|      2|            "i16vec4 addInvocationsInclusiveScanAMD(i16vec4);"
 2993|       |
 2994|      2|            "uint16_t addInvocationsInclusiveScanAMD(uint16_t);"
 2995|      2|            "u16vec2  addInvocationsInclusiveScanAMD(u16vec2);"
 2996|      2|            "u16vec3  addInvocationsInclusiveScanAMD(u16vec3);"
 2997|      2|            "u16vec4  addInvocationsInclusiveScanAMD(u16vec4);"
 2998|       |
 2999|      2|            "float addInvocationsExclusiveScanAMD(float);"
 3000|      2|            "vec2  addInvocationsExclusiveScanAMD(vec2);"
 3001|      2|            "vec3  addInvocationsExclusiveScanAMD(vec3);"
 3002|      2|            "vec4  addInvocationsExclusiveScanAMD(vec4);"
 3003|       |
 3004|      2|            "int   addInvocationsExclusiveScanAMD(int);"
 3005|      2|            "ivec2 addInvocationsExclusiveScanAMD(ivec2);"
 3006|      2|            "ivec3 addInvocationsExclusiveScanAMD(ivec3);"
 3007|      2|            "ivec4 addInvocationsExclusiveScanAMD(ivec4);"
 3008|       |
 3009|      2|            "uint  addInvocationsExclusiveScanAMD(uint);"
 3010|      2|            "uvec2 addInvocationsExclusiveScanAMD(uvec2);"
 3011|      2|            "uvec3 addInvocationsExclusiveScanAMD(uvec3);"
 3012|      2|            "uvec4 addInvocationsExclusiveScanAMD(uvec4);"
 3013|       |
 3014|      2|            "double  addInvocationsExclusiveScanAMD(double);"
 3015|      2|            "dvec2   addInvocationsExclusiveScanAMD(dvec2);"
 3016|      2|            "dvec3   addInvocationsExclusiveScanAMD(dvec3);"
 3017|      2|            "dvec4   addInvocationsExclusiveScanAMD(dvec4);"
 3018|       |
 3019|      2|            "int64_t addInvocationsExclusiveScanAMD(int64_t);"
 3020|      2|            "i64vec2 addInvocationsExclusiveScanAMD(i64vec2);"
 3021|      2|            "i64vec3 addInvocationsExclusiveScanAMD(i64vec3);"
 3022|      2|            "i64vec4 addInvocationsExclusiveScanAMD(i64vec4);"
 3023|       |
 3024|      2|            "uint64_t addInvocationsExclusiveScanAMD(uint64_t);"
 3025|      2|            "u64vec2  addInvocationsExclusiveScanAMD(u64vec2);"
 3026|      2|            "u64vec3  addInvocationsExclusiveScanAMD(u64vec3);"
 3027|      2|            "u64vec4  addInvocationsExclusiveScanAMD(u64vec4);"
 3028|       |
 3029|      2|            "float16_t addInvocationsExclusiveScanAMD(float16_t);"
 3030|      2|            "f16vec2   addInvocationsExclusiveScanAMD(f16vec2);"
 3031|      2|            "f16vec3   addInvocationsExclusiveScanAMD(f16vec3);"
 3032|      2|            "f16vec4   addInvocationsExclusiveScanAMD(f16vec4);"
 3033|       |
 3034|      2|            "int16_t addInvocationsExclusiveScanAMD(int16_t);"
 3035|      2|            "i16vec2 addInvocationsExclusiveScanAMD(i16vec2);"
 3036|      2|            "i16vec3 addInvocationsExclusiveScanAMD(i16vec3);"
 3037|      2|            "i16vec4 addInvocationsExclusiveScanAMD(i16vec4);"
 3038|       |
 3039|      2|            "uint16_t addInvocationsExclusiveScanAMD(uint16_t);"
 3040|      2|            "u16vec2  addInvocationsExclusiveScanAMD(u16vec2);"
 3041|      2|            "u16vec3  addInvocationsExclusiveScanAMD(u16vec3);"
 3042|      2|            "u16vec4  addInvocationsExclusiveScanAMD(u16vec4);"
 3043|       |
 3044|      2|            "float minInvocationsNonUniformAMD(float);"
 3045|      2|            "vec2  minInvocationsNonUniformAMD(vec2);"
 3046|      2|            "vec3  minInvocationsNonUniformAMD(vec3);"
 3047|      2|            "vec4  minInvocationsNonUniformAMD(vec4);"
 3048|       |
 3049|      2|            "int   minInvocationsNonUniformAMD(int);"
 3050|      2|            "ivec2 minInvocationsNonUniformAMD(ivec2);"
 3051|      2|            "ivec3 minInvocationsNonUniformAMD(ivec3);"
 3052|      2|            "ivec4 minInvocationsNonUniformAMD(ivec4);"
 3053|       |
 3054|      2|            "uint  minInvocationsNonUniformAMD(uint);"
 3055|      2|            "uvec2 minInvocationsNonUniformAMD(uvec2);"
 3056|      2|            "uvec3 minInvocationsNonUniformAMD(uvec3);"
 3057|      2|            "uvec4 minInvocationsNonUniformAMD(uvec4);"
 3058|       |
 3059|      2|            "double minInvocationsNonUniformAMD(double);"
 3060|      2|            "dvec2  minInvocationsNonUniformAMD(dvec2);"
 3061|      2|            "dvec3  minInvocationsNonUniformAMD(dvec3);"
 3062|      2|            "dvec4  minInvocationsNonUniformAMD(dvec4);"
 3063|       |
 3064|      2|            "int64_t minInvocationsNonUniformAMD(int64_t);"
 3065|      2|            "i64vec2 minInvocationsNonUniformAMD(i64vec2);"
 3066|      2|            "i64vec3 minInvocationsNonUniformAMD(i64vec3);"
 3067|      2|            "i64vec4 minInvocationsNonUniformAMD(i64vec4);"
 3068|       |
 3069|      2|            "uint64_t minInvocationsNonUniformAMD(uint64_t);"
 3070|      2|            "u64vec2  minInvocationsNonUniformAMD(u64vec2);"
 3071|      2|            "u64vec3  minInvocationsNonUniformAMD(u64vec3);"
 3072|      2|            "u64vec4  minInvocationsNonUniformAMD(u64vec4);"
 3073|       |
 3074|      2|            "float16_t minInvocationsNonUniformAMD(float16_t);"
 3075|      2|            "f16vec2   minInvocationsNonUniformAMD(f16vec2);"
 3076|      2|            "f16vec3   minInvocationsNonUniformAMD(f16vec3);"
 3077|      2|            "f16vec4   minInvocationsNonUniformAMD(f16vec4);"
 3078|       |
 3079|      2|            "int16_t minInvocationsNonUniformAMD(int16_t);"
 3080|      2|            "i16vec2 minInvocationsNonUniformAMD(i16vec2);"
 3081|      2|            "i16vec3 minInvocationsNonUniformAMD(i16vec3);"
 3082|      2|            "i16vec4 minInvocationsNonUniformAMD(i16vec4);"
 3083|       |
 3084|      2|            "uint16_t minInvocationsNonUniformAMD(uint16_t);"
 3085|      2|            "u16vec2  minInvocationsNonUniformAMD(u16vec2);"
 3086|      2|            "u16vec3  minInvocationsNonUniformAMD(u16vec3);"
 3087|      2|            "u16vec4  minInvocationsNonUniformAMD(u16vec4);"
 3088|       |
 3089|      2|            "float minInvocationsInclusiveScanNonUniformAMD(float);"
 3090|      2|            "vec2  minInvocationsInclusiveScanNonUniformAMD(vec2);"
 3091|      2|            "vec3  minInvocationsInclusiveScanNonUniformAMD(vec3);"
 3092|      2|            "vec4  minInvocationsInclusiveScanNonUniformAMD(vec4);"
 3093|       |
 3094|      2|            "int   minInvocationsInclusiveScanNonUniformAMD(int);"
 3095|      2|            "ivec2 minInvocationsInclusiveScanNonUniformAMD(ivec2);"
 3096|      2|            "ivec3 minInvocationsInclusiveScanNonUniformAMD(ivec3);"
 3097|      2|            "ivec4 minInvocationsInclusiveScanNonUniformAMD(ivec4);"
 3098|       |
 3099|      2|            "uint  minInvocationsInclusiveScanNonUniformAMD(uint);"
 3100|      2|            "uvec2 minInvocationsInclusiveScanNonUniformAMD(uvec2);"
 3101|      2|            "uvec3 minInvocationsInclusiveScanNonUniformAMD(uvec3);"
 3102|      2|            "uvec4 minInvocationsInclusiveScanNonUniformAMD(uvec4);"
 3103|       |
 3104|      2|            "double minInvocationsInclusiveScanNonUniformAMD(double);"
 3105|      2|            "dvec2  minInvocationsInclusiveScanNonUniformAMD(dvec2);"
 3106|      2|            "dvec3  minInvocationsInclusiveScanNonUniformAMD(dvec3);"
 3107|      2|            "dvec4  minInvocationsInclusiveScanNonUniformAMD(dvec4);"
 3108|       |
 3109|      2|            "int64_t minInvocationsInclusiveScanNonUniformAMD(int64_t);"
 3110|      2|            "i64vec2 minInvocationsInclusiveScanNonUniformAMD(i64vec2);"
 3111|      2|            "i64vec3 minInvocationsInclusiveScanNonUniformAMD(i64vec3);"
 3112|      2|            "i64vec4 minInvocationsInclusiveScanNonUniformAMD(i64vec4);"
 3113|       |
 3114|      2|            "uint64_t minInvocationsInclusiveScanNonUniformAMD(uint64_t);"
 3115|      2|            "u64vec2  minInvocationsInclusiveScanNonUniformAMD(u64vec2);"
 3116|      2|            "u64vec3  minInvocationsInclusiveScanNonUniformAMD(u64vec3);"
 3117|      2|            "u64vec4  minInvocationsInclusiveScanNonUniformAMD(u64vec4);"
 3118|       |
 3119|      2|            "float16_t minInvocationsInclusiveScanNonUniformAMD(float16_t);"
 3120|      2|            "f16vec2   minInvocationsInclusiveScanNonUniformAMD(f16vec2);"
 3121|      2|            "f16vec3   minInvocationsInclusiveScanNonUniformAMD(f16vec3);"
 3122|      2|            "f16vec4   minInvocationsInclusiveScanNonUniformAMD(f16vec4);"
 3123|       |
 3124|      2|            "int16_t minInvocationsInclusiveScanNonUniformAMD(int16_t);"
 3125|      2|            "i16vec2 minInvocationsInclusiveScanNonUniformAMD(i16vec2);"
 3126|      2|            "i16vec3 minInvocationsInclusiveScanNonUniformAMD(i16vec3);"
 3127|      2|            "i16vec4 minInvocationsInclusiveScanNonUniformAMD(i16vec4);"
 3128|       |
 3129|      2|            "uint16_t minInvocationsInclusiveScanNonUniformAMD(uint16_t);"
 3130|      2|            "u16vec2  minInvocationsInclusiveScanNonUniformAMD(u16vec2);"
 3131|      2|            "u16vec3  minInvocationsInclusiveScanNonUniformAMD(u16vec3);"
 3132|      2|            "u16vec4  minInvocationsInclusiveScanNonUniformAMD(u16vec4);"
 3133|       |
 3134|      2|            "float minInvocationsExclusiveScanNonUniformAMD(float);"
 3135|      2|            "vec2  minInvocationsExclusiveScanNonUniformAMD(vec2);"
 3136|      2|            "vec3  minInvocationsExclusiveScanNonUniformAMD(vec3);"
 3137|      2|            "vec4  minInvocationsExclusiveScanNonUniformAMD(vec4);"
 3138|       |
 3139|      2|            "int   minInvocationsExclusiveScanNonUniformAMD(int);"
 3140|      2|            "ivec2 minInvocationsExclusiveScanNonUniformAMD(ivec2);"
 3141|      2|            "ivec3 minInvocationsExclusiveScanNonUniformAMD(ivec3);"
 3142|      2|            "ivec4 minInvocationsExclusiveScanNonUniformAMD(ivec4);"
 3143|       |
 3144|      2|            "uint  minInvocationsExclusiveScanNonUniformAMD(uint);"
 3145|      2|            "uvec2 minInvocationsExclusiveScanNonUniformAMD(uvec2);"
 3146|      2|            "uvec3 minInvocationsExclusiveScanNonUniformAMD(uvec3);"
 3147|      2|            "uvec4 minInvocationsExclusiveScanNonUniformAMD(uvec4);"
 3148|       |
 3149|      2|            "double minInvocationsExclusiveScanNonUniformAMD(double);"
 3150|      2|            "dvec2  minInvocationsExclusiveScanNonUniformAMD(dvec2);"
 3151|      2|            "dvec3  minInvocationsExclusiveScanNonUniformAMD(dvec3);"
 3152|      2|            "dvec4  minInvocationsExclusiveScanNonUniformAMD(dvec4);"
 3153|       |
 3154|      2|            "int64_t minInvocationsExclusiveScanNonUniformAMD(int64_t);"
 3155|      2|            "i64vec2 minInvocationsExclusiveScanNonUniformAMD(i64vec2);"
 3156|      2|            "i64vec3 minInvocationsExclusiveScanNonUniformAMD(i64vec3);"
 3157|      2|            "i64vec4 minInvocationsExclusiveScanNonUniformAMD(i64vec4);"
 3158|       |
 3159|      2|            "uint64_t minInvocationsExclusiveScanNonUniformAMD(uint64_t);"
 3160|      2|            "u64vec2  minInvocationsExclusiveScanNonUniformAMD(u64vec2);"
 3161|      2|            "u64vec3  minInvocationsExclusiveScanNonUniformAMD(u64vec3);"
 3162|      2|            "u64vec4  minInvocationsExclusiveScanNonUniformAMD(u64vec4);"
 3163|       |
 3164|      2|            "float16_t minInvocationsExclusiveScanNonUniformAMD(float16_t);"
 3165|      2|            "f16vec2   minInvocationsExclusiveScanNonUniformAMD(f16vec2);"
 3166|      2|            "f16vec3   minInvocationsExclusiveScanNonUniformAMD(f16vec3);"
 3167|      2|            "f16vec4   minInvocationsExclusiveScanNonUniformAMD(f16vec4);"
 3168|       |
 3169|      2|            "int16_t minInvocationsExclusiveScanNonUniformAMD(int16_t);"
 3170|      2|            "i16vec2 minInvocationsExclusiveScanNonUniformAMD(i16vec2);"
 3171|      2|            "i16vec3 minInvocationsExclusiveScanNonUniformAMD(i16vec3);"
 3172|      2|            "i16vec4 minInvocationsExclusiveScanNonUniformAMD(i16vec4);"
 3173|       |
 3174|      2|            "uint16_t minInvocationsExclusiveScanNonUniformAMD(uint16_t);"
 3175|      2|            "u16vec2  minInvocationsExclusiveScanNonUniformAMD(u16vec2);"
 3176|      2|            "u16vec3  minInvocationsExclusiveScanNonUniformAMD(u16vec3);"
 3177|      2|            "u16vec4  minInvocationsExclusiveScanNonUniformAMD(u16vec4);"
 3178|       |
 3179|      2|            "float maxInvocationsNonUniformAMD(float);"
 3180|      2|            "vec2  maxInvocationsNonUniformAMD(vec2);"
 3181|      2|            "vec3  maxInvocationsNonUniformAMD(vec3);"
 3182|      2|            "vec4  maxInvocationsNonUniformAMD(vec4);"
 3183|       |
 3184|      2|            "int   maxInvocationsNonUniformAMD(int);"
 3185|      2|            "ivec2 maxInvocationsNonUniformAMD(ivec2);"
 3186|      2|            "ivec3 maxInvocationsNonUniformAMD(ivec3);"
 3187|      2|            "ivec4 maxInvocationsNonUniformAMD(ivec4);"
 3188|       |
 3189|      2|            "uint  maxInvocationsNonUniformAMD(uint);"
 3190|      2|            "uvec2 maxInvocationsNonUniformAMD(uvec2);"
 3191|      2|            "uvec3 maxInvocationsNonUniformAMD(uvec3);"
 3192|      2|            "uvec4 maxInvocationsNonUniformAMD(uvec4);"
 3193|       |
 3194|      2|            "double maxInvocationsNonUniformAMD(double);"
 3195|      2|            "dvec2  maxInvocationsNonUniformAMD(dvec2);"
 3196|      2|            "dvec3  maxInvocationsNonUniformAMD(dvec3);"
 3197|      2|            "dvec4  maxInvocationsNonUniformAMD(dvec4);"
 3198|       |
 3199|      2|            "int64_t maxInvocationsNonUniformAMD(int64_t);"
 3200|      2|            "i64vec2 maxInvocationsNonUniformAMD(i64vec2);"
 3201|      2|            "i64vec3 maxInvocationsNonUniformAMD(i64vec3);"
 3202|      2|            "i64vec4 maxInvocationsNonUniformAMD(i64vec4);"
 3203|       |
 3204|      2|            "uint64_t maxInvocationsNonUniformAMD(uint64_t);"
 3205|      2|            "u64vec2  maxInvocationsNonUniformAMD(u64vec2);"
 3206|      2|            "u64vec3  maxInvocationsNonUniformAMD(u64vec3);"
 3207|      2|            "u64vec4  maxInvocationsNonUniformAMD(u64vec4);"
 3208|       |
 3209|      2|            "float16_t maxInvocationsNonUniformAMD(float16_t);"
 3210|      2|            "f16vec2   maxInvocationsNonUniformAMD(f16vec2);"
 3211|      2|            "f16vec3   maxInvocationsNonUniformAMD(f16vec3);"
 3212|      2|            "f16vec4   maxInvocationsNonUniformAMD(f16vec4);"
 3213|       |
 3214|      2|            "int16_t maxInvocationsNonUniformAMD(int16_t);"
 3215|      2|            "i16vec2 maxInvocationsNonUniformAMD(i16vec2);"
 3216|      2|            "i16vec3 maxInvocationsNonUniformAMD(i16vec3);"
 3217|      2|            "i16vec4 maxInvocationsNonUniformAMD(i16vec4);"
 3218|       |
 3219|      2|            "uint16_t maxInvocationsNonUniformAMD(uint16_t);"
 3220|      2|            "u16vec2  maxInvocationsNonUniformAMD(u16vec2);"
 3221|      2|            "u16vec3  maxInvocationsNonUniformAMD(u16vec3);"
 3222|      2|            "u16vec4  maxInvocationsNonUniformAMD(u16vec4);"
 3223|       |
 3224|      2|            "float maxInvocationsInclusiveScanNonUniformAMD(float);"
 3225|      2|            "vec2  maxInvocationsInclusiveScanNonUniformAMD(vec2);"
 3226|      2|            "vec3  maxInvocationsInclusiveScanNonUniformAMD(vec3);"
 3227|      2|            "vec4  maxInvocationsInclusiveScanNonUniformAMD(vec4);"
 3228|       |
 3229|      2|            "int   maxInvocationsInclusiveScanNonUniformAMD(int);"
 3230|      2|            "ivec2 maxInvocationsInclusiveScanNonUniformAMD(ivec2);"
 3231|      2|            "ivec3 maxInvocationsInclusiveScanNonUniformAMD(ivec3);"
 3232|      2|            "ivec4 maxInvocationsInclusiveScanNonUniformAMD(ivec4);"
 3233|       |
 3234|      2|            "uint  maxInvocationsInclusiveScanNonUniformAMD(uint);"
 3235|      2|            "uvec2 maxInvocationsInclusiveScanNonUniformAMD(uvec2);"
 3236|      2|            "uvec3 maxInvocationsInclusiveScanNonUniformAMD(uvec3);"
 3237|      2|            "uvec4 maxInvocationsInclusiveScanNonUniformAMD(uvec4);"
 3238|       |
 3239|      2|            "double maxInvocationsInclusiveScanNonUniformAMD(double);"
 3240|      2|            "dvec2  maxInvocationsInclusiveScanNonUniformAMD(dvec2);"
 3241|      2|            "dvec3  maxInvocationsInclusiveScanNonUniformAMD(dvec3);"
 3242|      2|            "dvec4  maxInvocationsInclusiveScanNonUniformAMD(dvec4);"
 3243|       |
 3244|      2|            "int64_t maxInvocationsInclusiveScanNonUniformAMD(int64_t);"
 3245|      2|            "i64vec2 maxInvocationsInclusiveScanNonUniformAMD(i64vec2);"
 3246|      2|            "i64vec3 maxInvocationsInclusiveScanNonUniformAMD(i64vec3);"
 3247|      2|            "i64vec4 maxInvocationsInclusiveScanNonUniformAMD(i64vec4);"
 3248|       |
 3249|      2|            "uint64_t maxInvocationsInclusiveScanNonUniformAMD(uint64_t);"
 3250|      2|            "u64vec2  maxInvocationsInclusiveScanNonUniformAMD(u64vec2);"
 3251|      2|            "u64vec3  maxInvocationsInclusiveScanNonUniformAMD(u64vec3);"
 3252|      2|            "u64vec4  maxInvocationsInclusiveScanNonUniformAMD(u64vec4);"
 3253|       |
 3254|      2|            "float16_t maxInvocationsInclusiveScanNonUniformAMD(float16_t);"
 3255|      2|            "f16vec2   maxInvocationsInclusiveScanNonUniformAMD(f16vec2);"
 3256|      2|            "f16vec3   maxInvocationsInclusiveScanNonUniformAMD(f16vec3);"
 3257|      2|            "f16vec4   maxInvocationsInclusiveScanNonUniformAMD(f16vec4);"
 3258|       |
 3259|      2|            "int16_t maxInvocationsInclusiveScanNonUniformAMD(int16_t);"
 3260|      2|            "i16vec2 maxInvocationsInclusiveScanNonUniformAMD(i16vec2);"
 3261|      2|            "i16vec3 maxInvocationsInclusiveScanNonUniformAMD(i16vec3);"
 3262|      2|            "i16vec4 maxInvocationsInclusiveScanNonUniformAMD(i16vec4);"
 3263|       |
 3264|      2|            "uint16_t maxInvocationsInclusiveScanNonUniformAMD(uint16_t);"
 3265|      2|            "u16vec2  maxInvocationsInclusiveScanNonUniformAMD(u16vec2);"
 3266|      2|            "u16vec3  maxInvocationsInclusiveScanNonUniformAMD(u16vec3);"
 3267|      2|            "u16vec4  maxInvocationsInclusiveScanNonUniformAMD(u16vec4);"
 3268|       |
 3269|      2|            "float maxInvocationsExclusiveScanNonUniformAMD(float);"
 3270|      2|            "vec2  maxInvocationsExclusiveScanNonUniformAMD(vec2);"
 3271|      2|            "vec3  maxInvocationsExclusiveScanNonUniformAMD(vec3);"
 3272|      2|            "vec4  maxInvocationsExclusiveScanNonUniformAMD(vec4);"
 3273|       |
 3274|      2|            "int   maxInvocationsExclusiveScanNonUniformAMD(int);"
 3275|      2|            "ivec2 maxInvocationsExclusiveScanNonUniformAMD(ivec2);"
 3276|      2|            "ivec3 maxInvocationsExclusiveScanNonUniformAMD(ivec3);"
 3277|      2|            "ivec4 maxInvocationsExclusiveScanNonUniformAMD(ivec4);"
 3278|       |
 3279|      2|            "uint  maxInvocationsExclusiveScanNonUniformAMD(uint);"
 3280|      2|            "uvec2 maxInvocationsExclusiveScanNonUniformAMD(uvec2);"
 3281|      2|            "uvec3 maxInvocationsExclusiveScanNonUniformAMD(uvec3);"
 3282|      2|            "uvec4 maxInvocationsExclusiveScanNonUniformAMD(uvec4);"
 3283|       |
 3284|      2|            "double maxInvocationsExclusiveScanNonUniformAMD(double);"
 3285|      2|            "dvec2  maxInvocationsExclusiveScanNonUniformAMD(dvec2);"
 3286|      2|            "dvec3  maxInvocationsExclusiveScanNonUniformAMD(dvec3);"
 3287|      2|            "dvec4  maxInvocationsExclusiveScanNonUniformAMD(dvec4);"
 3288|       |
 3289|      2|            "int64_t maxInvocationsExclusiveScanNonUniformAMD(int64_t);"
 3290|      2|            "i64vec2 maxInvocationsExclusiveScanNonUniformAMD(i64vec2);"
 3291|      2|            "i64vec3 maxInvocationsExclusiveScanNonUniformAMD(i64vec3);"
 3292|      2|            "i64vec4 maxInvocationsExclusiveScanNonUniformAMD(i64vec4);"
 3293|       |
 3294|      2|            "uint64_t maxInvocationsExclusiveScanNonUniformAMD(uint64_t);"
 3295|      2|            "u64vec2  maxInvocationsExclusiveScanNonUniformAMD(u64vec2);"
 3296|      2|            "u64vec3  maxInvocationsExclusiveScanNonUniformAMD(u64vec3);"
 3297|      2|            "u64vec4  maxInvocationsExclusiveScanNonUniformAMD(u64vec4);"
 3298|       |
 3299|      2|            "float16_t maxInvocationsExclusiveScanNonUniformAMD(float16_t);"
 3300|      2|            "f16vec2   maxInvocationsExclusiveScanNonUniformAMD(f16vec2);"
 3301|      2|            "f16vec3   maxInvocationsExclusiveScanNonUniformAMD(f16vec3);"
 3302|      2|            "f16vec4   maxInvocationsExclusiveScanNonUniformAMD(f16vec4);"
 3303|       |
 3304|      2|            "int16_t maxInvocationsExclusiveScanNonUniformAMD(int16_t);"
 3305|      2|            "i16vec2 maxInvocationsExclusiveScanNonUniformAMD(i16vec2);"
 3306|      2|            "i16vec3 maxInvocationsExclusiveScanNonUniformAMD(i16vec3);"
 3307|      2|            "i16vec4 maxInvocationsExclusiveScanNonUniformAMD(i16vec4);"
 3308|       |
 3309|      2|            "uint16_t maxInvocationsExclusiveScanNonUniformAMD(uint16_t);"
 3310|      2|            "u16vec2  maxInvocationsExclusiveScanNonUniformAMD(u16vec2);"
 3311|      2|            "u16vec3  maxInvocationsExclusiveScanNonUniformAMD(u16vec3);"
 3312|      2|            "u16vec4  maxInvocationsExclusiveScanNonUniformAMD(u16vec4);"
 3313|       |
 3314|      2|            "float addInvocationsNonUniformAMD(float);"
 3315|      2|            "vec2  addInvocationsNonUniformAMD(vec2);"
 3316|      2|            "vec3  addInvocationsNonUniformAMD(vec3);"
 3317|      2|            "vec4  addInvocationsNonUniformAMD(vec4);"
 3318|       |
 3319|      2|            "int   addInvocationsNonUniformAMD(int);"
 3320|      2|            "ivec2 addInvocationsNonUniformAMD(ivec2);"
 3321|      2|            "ivec3 addInvocationsNonUniformAMD(ivec3);"
 3322|      2|            "ivec4 addInvocationsNonUniformAMD(ivec4);"
 3323|       |
 3324|      2|            "uint  addInvocationsNonUniformAMD(uint);"
 3325|      2|            "uvec2 addInvocationsNonUniformAMD(uvec2);"
 3326|      2|            "uvec3 addInvocationsNonUniformAMD(uvec3);"
 3327|      2|            "uvec4 addInvocationsNonUniformAMD(uvec4);"
 3328|       |
 3329|      2|            "double addInvocationsNonUniformAMD(double);"
 3330|      2|            "dvec2  addInvocationsNonUniformAMD(dvec2);"
 3331|      2|            "dvec3  addInvocationsNonUniformAMD(dvec3);"
 3332|      2|            "dvec4  addInvocationsNonUniformAMD(dvec4);"
 3333|       |
 3334|      2|            "int64_t addInvocationsNonUniformAMD(int64_t);"
 3335|      2|            "i64vec2 addInvocationsNonUniformAMD(i64vec2);"
 3336|      2|            "i64vec3 addInvocationsNonUniformAMD(i64vec3);"
 3337|      2|            "i64vec4 addInvocationsNonUniformAMD(i64vec4);"
 3338|       |
 3339|      2|            "uint64_t addInvocationsNonUniformAMD(uint64_t);"
 3340|      2|            "u64vec2  addInvocationsNonUniformAMD(u64vec2);"
 3341|      2|            "u64vec3  addInvocationsNonUniformAMD(u64vec3);"
 3342|      2|            "u64vec4  addInvocationsNonUniformAMD(u64vec4);"
 3343|       |
 3344|      2|            "float16_t addInvocationsNonUniformAMD(float16_t);"
 3345|      2|            "f16vec2   addInvocationsNonUniformAMD(f16vec2);"
 3346|      2|            "f16vec3   addInvocationsNonUniformAMD(f16vec3);"
 3347|      2|            "f16vec4   addInvocationsNonUniformAMD(f16vec4);"
 3348|       |
 3349|      2|            "int16_t addInvocationsNonUniformAMD(int16_t);"
 3350|      2|            "i16vec2 addInvocationsNonUniformAMD(i16vec2);"
 3351|      2|            "i16vec3 addInvocationsNonUniformAMD(i16vec3);"
 3352|      2|            "i16vec4 addInvocationsNonUniformAMD(i16vec4);"
 3353|       |
 3354|      2|            "uint16_t addInvocationsNonUniformAMD(uint16_t);"
 3355|      2|            "u16vec2  addInvocationsNonUniformAMD(u16vec2);"
 3356|      2|            "u16vec3  addInvocationsNonUniformAMD(u16vec3);"
 3357|      2|            "u16vec4  addInvocationsNonUniformAMD(u16vec4);"
 3358|       |
 3359|      2|            "float addInvocationsInclusiveScanNonUniformAMD(float);"
 3360|      2|            "vec2  addInvocationsInclusiveScanNonUniformAMD(vec2);"
 3361|      2|            "vec3  addInvocationsInclusiveScanNonUniformAMD(vec3);"
 3362|      2|            "vec4  addInvocationsInclusiveScanNonUniformAMD(vec4);"
 3363|       |
 3364|      2|            "int   addInvocationsInclusiveScanNonUniformAMD(int);"
 3365|      2|            "ivec2 addInvocationsInclusiveScanNonUniformAMD(ivec2);"
 3366|      2|            "ivec3 addInvocationsInclusiveScanNonUniformAMD(ivec3);"
 3367|      2|            "ivec4 addInvocationsInclusiveScanNonUniformAMD(ivec4);"
 3368|       |
 3369|      2|            "uint  addInvocationsInclusiveScanNonUniformAMD(uint);"
 3370|      2|            "uvec2 addInvocationsInclusiveScanNonUniformAMD(uvec2);"
 3371|      2|            "uvec3 addInvocationsInclusiveScanNonUniformAMD(uvec3);"
 3372|      2|            "uvec4 addInvocationsInclusiveScanNonUniformAMD(uvec4);"
 3373|       |
 3374|      2|            "double addInvocationsInclusiveScanNonUniformAMD(double);"
 3375|      2|            "dvec2  addInvocationsInclusiveScanNonUniformAMD(dvec2);"
 3376|      2|            "dvec3  addInvocationsInclusiveScanNonUniformAMD(dvec3);"
 3377|      2|            "dvec4  addInvocationsInclusiveScanNonUniformAMD(dvec4);"
 3378|       |
 3379|      2|            "int64_t addInvocationsInclusiveScanNonUniformAMD(int64_t);"
 3380|      2|            "i64vec2 addInvocationsInclusiveScanNonUniformAMD(i64vec2);"
 3381|      2|            "i64vec3 addInvocationsInclusiveScanNonUniformAMD(i64vec3);"
 3382|      2|            "i64vec4 addInvocationsInclusiveScanNonUniformAMD(i64vec4);"
 3383|       |
 3384|      2|            "uint64_t addInvocationsInclusiveScanNonUniformAMD(uint64_t);"
 3385|      2|            "u64vec2  addInvocationsInclusiveScanNonUniformAMD(u64vec2);"
 3386|      2|            "u64vec3  addInvocationsInclusiveScanNonUniformAMD(u64vec3);"
 3387|      2|            "u64vec4  addInvocationsInclusiveScanNonUniformAMD(u64vec4);"
 3388|       |
 3389|      2|            "float16_t addInvocationsInclusiveScanNonUniformAMD(float16_t);"
 3390|      2|            "f16vec2   addInvocationsInclusiveScanNonUniformAMD(f16vec2);"
 3391|      2|            "f16vec3   addInvocationsInclusiveScanNonUniformAMD(f16vec3);"
 3392|      2|            "f16vec4   addInvocationsInclusiveScanNonUniformAMD(f16vec4);"
 3393|       |
 3394|      2|            "int16_t addInvocationsInclusiveScanNonUniformAMD(int16_t);"
 3395|      2|            "i16vec2 addInvocationsInclusiveScanNonUniformAMD(i16vec2);"
 3396|      2|            "i16vec3 addInvocationsInclusiveScanNonUniformAMD(i16vec3);"
 3397|      2|            "i16vec4 addInvocationsInclusiveScanNonUniformAMD(i16vec4);"
 3398|       |
 3399|      2|            "uint16_t addInvocationsInclusiveScanNonUniformAMD(uint16_t);"
 3400|      2|            "u16vec2  addInvocationsInclusiveScanNonUniformAMD(u16vec2);"
 3401|      2|            "u16vec3  addInvocationsInclusiveScanNonUniformAMD(u16vec3);"
 3402|      2|            "u16vec4  addInvocationsInclusiveScanNonUniformAMD(u16vec4);"
 3403|       |
 3404|      2|            "float addInvocationsExclusiveScanNonUniformAMD(float);"
 3405|      2|            "vec2  addInvocationsExclusiveScanNonUniformAMD(vec2);"
 3406|      2|            "vec3  addInvocationsExclusiveScanNonUniformAMD(vec3);"
 3407|      2|            "vec4  addInvocationsExclusiveScanNonUniformAMD(vec4);"
 3408|       |
 3409|      2|            "int   addInvocationsExclusiveScanNonUniformAMD(int);"
 3410|      2|            "ivec2 addInvocationsExclusiveScanNonUniformAMD(ivec2);"
 3411|      2|            "ivec3 addInvocationsExclusiveScanNonUniformAMD(ivec3);"
 3412|      2|            "ivec4 addInvocationsExclusiveScanNonUniformAMD(ivec4);"
 3413|       |
 3414|      2|            "uint  addInvocationsExclusiveScanNonUniformAMD(uint);"
 3415|      2|            "uvec2 addInvocationsExclusiveScanNonUniformAMD(uvec2);"
 3416|      2|            "uvec3 addInvocationsExclusiveScanNonUniformAMD(uvec3);"
 3417|      2|            "uvec4 addInvocationsExclusiveScanNonUniformAMD(uvec4);"
 3418|       |
 3419|      2|            "double addInvocationsExclusiveScanNonUniformAMD(double);"
 3420|      2|            "dvec2  addInvocationsExclusiveScanNonUniformAMD(dvec2);"
 3421|      2|            "dvec3  addInvocationsExclusiveScanNonUniformAMD(dvec3);"
 3422|      2|            "dvec4  addInvocationsExclusiveScanNonUniformAMD(dvec4);"
 3423|       |
 3424|      2|            "int64_t addInvocationsExclusiveScanNonUniformAMD(int64_t);"
 3425|      2|            "i64vec2 addInvocationsExclusiveScanNonUniformAMD(i64vec2);"
 3426|      2|            "i64vec3 addInvocationsExclusiveScanNonUniformAMD(i64vec3);"
 3427|      2|            "i64vec4 addInvocationsExclusiveScanNonUniformAMD(i64vec4);"
 3428|       |
 3429|      2|            "uint64_t addInvocationsExclusiveScanNonUniformAMD(uint64_t);"
 3430|      2|            "u64vec2  addInvocationsExclusiveScanNonUniformAMD(u64vec2);"
 3431|      2|            "u64vec3  addInvocationsExclusiveScanNonUniformAMD(u64vec3);"
 3432|      2|            "u64vec4  addInvocationsExclusiveScanNonUniformAMD(u64vec4);"
 3433|       |
 3434|      2|            "float16_t addInvocationsExclusiveScanNonUniformAMD(float16_t);"
 3435|      2|            "f16vec2   addInvocationsExclusiveScanNonUniformAMD(f16vec2);"
 3436|      2|            "f16vec3   addInvocationsExclusiveScanNonUniformAMD(f16vec3);"
 3437|      2|            "f16vec4   addInvocationsExclusiveScanNonUniformAMD(f16vec4);"
 3438|       |
 3439|      2|            "int16_t addInvocationsExclusiveScanNonUniformAMD(int16_t);"
 3440|      2|            "i16vec2 addInvocationsExclusiveScanNonUniformAMD(i16vec2);"
 3441|      2|            "i16vec3 addInvocationsExclusiveScanNonUniformAMD(i16vec3);"
 3442|      2|            "i16vec4 addInvocationsExclusiveScanNonUniformAMD(i16vec4);"
 3443|       |
 3444|      2|            "uint16_t addInvocationsExclusiveScanNonUniformAMD(uint16_t);"
 3445|      2|            "u16vec2  addInvocationsExclusiveScanNonUniformAMD(u16vec2);"
 3446|      2|            "u16vec3  addInvocationsExclusiveScanNonUniformAMD(u16vec3);"
 3447|      2|            "u16vec4  addInvocationsExclusiveScanNonUniformAMD(u16vec4);"
 3448|       |
 3449|      2|            "float swizzleInvocationsAMD(float, uvec4);"
 3450|      2|            "vec2  swizzleInvocationsAMD(vec2,  uvec4);"
 3451|      2|            "vec3  swizzleInvocationsAMD(vec3,  uvec4);"
 3452|      2|            "vec4  swizzleInvocationsAMD(vec4,  uvec4);"
 3453|       |
 3454|      2|            "int   swizzleInvocationsAMD(int,   uvec4);"
 3455|      2|            "ivec2 swizzleInvocationsAMD(ivec2, uvec4);"
 3456|      2|            "ivec3 swizzleInvocationsAMD(ivec3, uvec4);"
 3457|      2|            "ivec4 swizzleInvocationsAMD(ivec4, uvec4);"
 3458|       |
 3459|      2|            "uint  swizzleInvocationsAMD(uint,  uvec4);"
 3460|      2|            "uvec2 swizzleInvocationsAMD(uvec2, uvec4);"
 3461|      2|            "uvec3 swizzleInvocationsAMD(uvec3, uvec4);"
 3462|      2|            "uvec4 swizzleInvocationsAMD(uvec4, uvec4);"
 3463|       |
 3464|      2|            "float swizzleInvocationsMaskedAMD(float, uvec3);"
 3465|      2|            "vec2  swizzleInvocationsMaskedAMD(vec2,  uvec3);"
 3466|      2|            "vec3  swizzleInvocationsMaskedAMD(vec3,  uvec3);"
 3467|      2|            "vec4  swizzleInvocationsMaskedAMD(vec4,  uvec3);"
 3468|       |
 3469|      2|            "int   swizzleInvocationsMaskedAMD(int,   uvec3);"
 3470|      2|            "ivec2 swizzleInvocationsMaskedAMD(ivec2, uvec3);"
 3471|      2|            "ivec3 swizzleInvocationsMaskedAMD(ivec3, uvec3);"
 3472|      2|            "ivec4 swizzleInvocationsMaskedAMD(ivec4, uvec3);"
 3473|       |
 3474|      2|            "uint  swizzleInvocationsMaskedAMD(uint,  uvec3);"
 3475|      2|            "uvec2 swizzleInvocationsMaskedAMD(uvec2, uvec3);"
 3476|      2|            "uvec3 swizzleInvocationsMaskedAMD(uvec3, uvec3);"
 3477|      2|            "uvec4 swizzleInvocationsMaskedAMD(uvec4, uvec3);"
 3478|       |
 3479|      2|            "float writeInvocationAMD(float, float, uint);"
 3480|      2|            "vec2  writeInvocationAMD(vec2,  vec2,  uint);"
 3481|      2|            "vec3  writeInvocationAMD(vec3,  vec3,  uint);"
 3482|      2|            "vec4  writeInvocationAMD(vec4,  vec4,  uint);"
 3483|       |
 3484|      2|            "int   writeInvocationAMD(int,   int,   uint);"
 3485|      2|            "ivec2 writeInvocationAMD(ivec2, ivec2, uint);"
 3486|      2|            "ivec3 writeInvocationAMD(ivec3, ivec3, uint);"
 3487|      2|            "ivec4 writeInvocationAMD(ivec4, ivec4, uint);"
 3488|       |
 3489|      2|            "uint  writeInvocationAMD(uint,  uint,  uint);"
 3490|      2|            "uvec2 writeInvocationAMD(uvec2, uvec2, uint);"
 3491|      2|            "uvec3 writeInvocationAMD(uvec3, uvec3, uint);"
 3492|      2|            "uvec4 writeInvocationAMD(uvec4, uvec4, uint);"
 3493|       |
 3494|      2|            "uint mbcntAMD(uint64_t);"
 3495|       |
 3496|      2|            "\n");
 3497|      2|    }
 3498|       |
 3499|       |    // GL_AMD_gcn_shader
 3500|     36|    if (profile != EEsProfile && version >= 440) {
  ------------------
  |  Branch (3500:9): [True: 2, False: 34]
  |  Branch (3500:34): [True: 2, False: 0]
  ------------------
 3501|      2|        commonBuiltins.append(
 3502|      2|            "float cubeFaceIndexAMD(vec3);"
 3503|      2|            "vec2  cubeFaceCoordAMD(vec3);"
 3504|      2|            "uint64_t timeAMD();"
 3505|       |
 3506|      2|            "in int gl_SIMDGroupSizeAMD;"
 3507|      2|            "\n");
 3508|      2|    }
 3509|       |
 3510|       |    // GL_AMD_shader_fragment_mask
 3511|     36|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (3511:9): [True: 2, False: 34]
  |  Branch (3511:34): [True: 2, False: 0]
  ------------------
 3512|      2|        commonBuiltins.append(
 3513|      2|            "uint fragmentMaskFetchAMD(sampler2DMS,       ivec2);"
 3514|      2|            "uint fragmentMaskFetchAMD(isampler2DMS,      ivec2);"
 3515|      2|            "uint fragmentMaskFetchAMD(usampler2DMS,      ivec2);"
 3516|       |
 3517|      2|            "uint fragmentMaskFetchAMD(sampler2DMSArray,  ivec3);"
 3518|      2|            "uint fragmentMaskFetchAMD(isampler2DMSArray, ivec3);"
 3519|      2|            "uint fragmentMaskFetchAMD(usampler2DMSArray, ivec3);"
 3520|       |
 3521|      2|            "vec4  fragmentFetchAMD(sampler2DMS,       ivec2, uint);"
 3522|      2|            "ivec4 fragmentFetchAMD(isampler2DMS,      ivec2, uint);"
 3523|      2|            "uvec4 fragmentFetchAMD(usampler2DMS,      ivec2, uint);"
 3524|       |
 3525|      2|            "vec4  fragmentFetchAMD(sampler2DMSArray,  ivec3, uint);"
 3526|      2|            "ivec4 fragmentFetchAMD(isampler2DMSArray, ivec3, uint);"
 3527|      2|            "uvec4 fragmentFetchAMD(usampler2DMSArray, ivec3, uint);"
 3528|       |
 3529|      2|            "\n");
 3530|      2|    }
 3531|       |
 3532|     36|    if ((profile != EEsProfile && version >= 130) ||
  ------------------
  |  Branch (3532:10): [True: 2, False: 34]
  |  Branch (3532:35): [True: 2, False: 0]
  ------------------
 3533|     34|        (profile == EEsProfile && version >= 300)) {
  ------------------
  |  Branch (3533:10): [True: 34, False: 0]
  |  Branch (3533:35): [True: 0, False: 34]
  ------------------
 3534|      2|        commonBuiltins.append(
 3535|      2|            "uint countLeadingZeros(uint);"
 3536|      2|            "uvec2 countLeadingZeros(uvec2);"
 3537|      2|            "uvec3 countLeadingZeros(uvec3);"
 3538|      2|            "uvec4 countLeadingZeros(uvec4);"
 3539|       |
 3540|      2|            "uint countTrailingZeros(uint);"
 3541|      2|            "uvec2 countTrailingZeros(uvec2);"
 3542|      2|            "uvec3 countTrailingZeros(uvec3);"
 3543|      2|            "uvec4 countTrailingZeros(uvec4);"
 3544|       |
 3545|      2|            "uint absoluteDifference(int, int);"
 3546|      2|            "uvec2 absoluteDifference(ivec2, ivec2);"
 3547|      2|            "uvec3 absoluteDifference(ivec3, ivec3);"
 3548|      2|            "uvec4 absoluteDifference(ivec4, ivec4);"
 3549|       |
 3550|      2|            "uint16_t absoluteDifference(int16_t, int16_t);"
 3551|      2|            "u16vec2 absoluteDifference(i16vec2, i16vec2);"
 3552|      2|            "u16vec3 absoluteDifference(i16vec3, i16vec3);"
 3553|      2|            "u16vec4 absoluteDifference(i16vec4, i16vec4);"
 3554|       |
 3555|      2|            "uint64_t absoluteDifference(int64_t, int64_t);"
 3556|      2|            "u64vec2 absoluteDifference(i64vec2, i64vec2);"
 3557|      2|            "u64vec3 absoluteDifference(i64vec3, i64vec3);"
 3558|      2|            "u64vec4 absoluteDifference(i64vec4, i64vec4);"
 3559|       |
 3560|      2|            "uint absoluteDifference(uint, uint);"
 3561|      2|            "uvec2 absoluteDifference(uvec2, uvec2);"
 3562|      2|            "uvec3 absoluteDifference(uvec3, uvec3);"
 3563|      2|            "uvec4 absoluteDifference(uvec4, uvec4);"
 3564|       |
 3565|      2|            "uint16_t absoluteDifference(uint16_t, uint16_t);"
 3566|      2|            "u16vec2 absoluteDifference(u16vec2, u16vec2);"
 3567|      2|            "u16vec3 absoluteDifference(u16vec3, u16vec3);"
 3568|      2|            "u16vec4 absoluteDifference(u16vec4, u16vec4);"
 3569|       |
 3570|      2|            "uint64_t absoluteDifference(uint64_t, uint64_t);"
 3571|      2|            "u64vec2 absoluteDifference(u64vec2, u64vec2);"
 3572|      2|            "u64vec3 absoluteDifference(u64vec3, u64vec3);"
 3573|      2|            "u64vec4 absoluteDifference(u64vec4, u64vec4);"
 3574|       |
 3575|      2|            "int addSaturate(int, int);"
 3576|      2|            "ivec2 addSaturate(ivec2, ivec2);"
 3577|      2|            "ivec3 addSaturate(ivec3, ivec3);"
 3578|      2|            "ivec4 addSaturate(ivec4, ivec4);"
 3579|       |
 3580|      2|            "int16_t addSaturate(int16_t, int16_t);"
 3581|      2|            "i16vec2 addSaturate(i16vec2, i16vec2);"
 3582|      2|            "i16vec3 addSaturate(i16vec3, i16vec3);"
 3583|      2|            "i16vec4 addSaturate(i16vec4, i16vec4);"
 3584|       |
 3585|      2|            "int64_t addSaturate(int64_t, int64_t);"
 3586|      2|            "i64vec2 addSaturate(i64vec2, i64vec2);"
 3587|      2|            "i64vec3 addSaturate(i64vec3, i64vec3);"
 3588|      2|            "i64vec4 addSaturate(i64vec4, i64vec4);"
 3589|       |
 3590|      2|            "uint addSaturate(uint, uint);"
 3591|      2|            "uvec2 addSaturate(uvec2, uvec2);"
 3592|      2|            "uvec3 addSaturate(uvec3, uvec3);"
 3593|      2|            "uvec4 addSaturate(uvec4, uvec4);"
 3594|       |
 3595|      2|            "uint16_t addSaturate(uint16_t, uint16_t);"
 3596|      2|            "u16vec2 addSaturate(u16vec2, u16vec2);"
 3597|      2|            "u16vec3 addSaturate(u16vec3, u16vec3);"
 3598|      2|            "u16vec4 addSaturate(u16vec4, u16vec4);"
 3599|       |
 3600|      2|            "uint64_t addSaturate(uint64_t, uint64_t);"
 3601|      2|            "u64vec2 addSaturate(u64vec2, u64vec2);"
 3602|      2|            "u64vec3 addSaturate(u64vec3, u64vec3);"
 3603|      2|            "u64vec4 addSaturate(u64vec4, u64vec4);"
 3604|       |
 3605|      2|            "int subtractSaturate(int, int);"
 3606|      2|            "ivec2 subtractSaturate(ivec2, ivec2);"
 3607|      2|            "ivec3 subtractSaturate(ivec3, ivec3);"
 3608|      2|            "ivec4 subtractSaturate(ivec4, ivec4);"
 3609|       |
 3610|      2|            "int16_t subtractSaturate(int16_t, int16_t);"
 3611|      2|            "i16vec2 subtractSaturate(i16vec2, i16vec2);"
 3612|      2|            "i16vec3 subtractSaturate(i16vec3, i16vec3);"
 3613|      2|            "i16vec4 subtractSaturate(i16vec4, i16vec4);"
 3614|       |
 3615|      2|            "int64_t subtractSaturate(int64_t, int64_t);"
 3616|      2|            "i64vec2 subtractSaturate(i64vec2, i64vec2);"
 3617|      2|            "i64vec3 subtractSaturate(i64vec3, i64vec3);"
 3618|      2|            "i64vec4 subtractSaturate(i64vec4, i64vec4);"
 3619|       |
 3620|      2|            "uint subtractSaturate(uint, uint);"
 3621|      2|            "uvec2 subtractSaturate(uvec2, uvec2);"
 3622|      2|            "uvec3 subtractSaturate(uvec3, uvec3);"
 3623|      2|            "uvec4 subtractSaturate(uvec4, uvec4);"
 3624|       |
 3625|      2|            "uint16_t subtractSaturate(uint16_t, uint16_t);"
 3626|      2|            "u16vec2 subtractSaturate(u16vec2, u16vec2);"
 3627|      2|            "u16vec3 subtractSaturate(u16vec3, u16vec3);"
 3628|      2|            "u16vec4 subtractSaturate(u16vec4, u16vec4);"
 3629|       |
 3630|      2|            "uint64_t subtractSaturate(uint64_t, uint64_t);"
 3631|      2|            "u64vec2 subtractSaturate(u64vec2, u64vec2);"
 3632|      2|            "u64vec3 subtractSaturate(u64vec3, u64vec3);"
 3633|      2|            "u64vec4 subtractSaturate(u64vec4, u64vec4);"
 3634|       |
 3635|      2|            "int average(int, int);"
 3636|      2|            "ivec2 average(ivec2, ivec2);"
 3637|      2|            "ivec3 average(ivec3, ivec3);"
 3638|      2|            "ivec4 average(ivec4, ivec4);"
 3639|       |
 3640|      2|            "int16_t average(int16_t, int16_t);"
 3641|      2|            "i16vec2 average(i16vec2, i16vec2);"
 3642|      2|            "i16vec3 average(i16vec3, i16vec3);"
 3643|      2|            "i16vec4 average(i16vec4, i16vec4);"
 3644|       |
 3645|      2|            "int64_t average(int64_t, int64_t);"
 3646|      2|            "i64vec2 average(i64vec2, i64vec2);"
 3647|      2|            "i64vec3 average(i64vec3, i64vec3);"
 3648|      2|            "i64vec4 average(i64vec4, i64vec4);"
 3649|       |
 3650|      2|            "uint average(uint, uint);"
 3651|      2|            "uvec2 average(uvec2, uvec2);"
 3652|      2|            "uvec3 average(uvec3, uvec3);"
 3653|      2|            "uvec4 average(uvec4, uvec4);"
 3654|       |
 3655|      2|            "uint16_t average(uint16_t, uint16_t);"
 3656|      2|            "u16vec2 average(u16vec2, u16vec2);"
 3657|      2|            "u16vec3 average(u16vec3, u16vec3);"
 3658|      2|            "u16vec4 average(u16vec4, u16vec4);"
 3659|       |
 3660|      2|            "uint64_t average(uint64_t, uint64_t);"
 3661|      2|            "u64vec2 average(u64vec2, u64vec2);"
 3662|      2|            "u64vec3 average(u64vec3, u64vec3);"
 3663|      2|            "u64vec4 average(u64vec4, u64vec4);"
 3664|       |
 3665|      2|            "int averageRounded(int, int);"
 3666|      2|            "ivec2 averageRounded(ivec2, ivec2);"
 3667|      2|            "ivec3 averageRounded(ivec3, ivec3);"
 3668|      2|            "ivec4 averageRounded(ivec4, ivec4);"
 3669|       |
 3670|      2|            "int16_t averageRounded(int16_t, int16_t);"
 3671|      2|            "i16vec2 averageRounded(i16vec2, i16vec2);"
 3672|      2|            "i16vec3 averageRounded(i16vec3, i16vec3);"
 3673|      2|            "i16vec4 averageRounded(i16vec4, i16vec4);"
 3674|       |
 3675|      2|            "int64_t averageRounded(int64_t, int64_t);"
 3676|      2|            "i64vec2 averageRounded(i64vec2, i64vec2);"
 3677|      2|            "i64vec3 averageRounded(i64vec3, i64vec3);"
 3678|      2|            "i64vec4 averageRounded(i64vec4, i64vec4);"
 3679|       |
 3680|      2|            "uint averageRounded(uint, uint);"
 3681|      2|            "uvec2 averageRounded(uvec2, uvec2);"
 3682|      2|            "uvec3 averageRounded(uvec3, uvec3);"
 3683|      2|            "uvec4 averageRounded(uvec4, uvec4);"
 3684|       |
 3685|      2|            "uint16_t averageRounded(uint16_t, uint16_t);"
 3686|      2|            "u16vec2 averageRounded(u16vec2, u16vec2);"
 3687|      2|            "u16vec3 averageRounded(u16vec3, u16vec3);"
 3688|      2|            "u16vec4 averageRounded(u16vec4, u16vec4);"
 3689|       |
 3690|      2|            "uint64_t averageRounded(uint64_t, uint64_t);"
 3691|      2|            "u64vec2 averageRounded(u64vec2, u64vec2);"
 3692|      2|            "u64vec3 averageRounded(u64vec3, u64vec3);"
 3693|      2|            "u64vec4 averageRounded(u64vec4, u64vec4);"
 3694|       |
 3695|      2|            "int multiply32x16(int, int);"
 3696|      2|            "ivec2 multiply32x16(ivec2, ivec2);"
 3697|      2|            "ivec3 multiply32x16(ivec3, ivec3);"
 3698|      2|            "ivec4 multiply32x16(ivec4, ivec4);"
 3699|       |
 3700|      2|            "uint multiply32x16(uint, uint);"
 3701|      2|            "uvec2 multiply32x16(uvec2, uvec2);"
 3702|      2|            "uvec3 multiply32x16(uvec3, uvec3);"
 3703|      2|            "uvec4 multiply32x16(uvec4, uvec4);"
 3704|      2|            "\n");
 3705|      2|    }
 3706|       |
 3707|     36|    if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (3707:10): [True: 2, False: 34]
  |  Branch (3707:35): [True: 2, False: 0]
  ------------------
 3708|     34|        (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (3708:10): [True: 34, False: 0]
  |  Branch (3708:35): [True: 0, False: 34]
  ------------------
 3709|      2|        commonBuiltins.append(
 3710|      2|            "struct gl_TextureFootprint2DNV {"
 3711|      2|                "uvec2 anchor;"
 3712|      2|                "uvec2 offset;"
 3713|      2|                "uvec2 mask;"
 3714|      2|                "uint lod;"
 3715|      2|                "uint granularity;"
 3716|      2|            "};"
 3717|       |
 3718|      2|            "struct gl_TextureFootprint3DNV {"
 3719|      2|                "uvec3 anchor;"
 3720|      2|                "uvec3 offset;"
 3721|      2|                "uvec2 mask;"
 3722|      2|                "uint lod;"
 3723|      2|                "uint granularity;"
 3724|      2|            "};"
 3725|      2|            "bool textureFootprintNV(sampler2D, vec2, int, bool, out gl_TextureFootprint2DNV);"
 3726|      2|            "bool textureFootprintNV(sampler3D, vec3, int, bool, out gl_TextureFootprint3DNV);"
 3727|      2|            "bool textureFootprintNV(sampler2D, vec2, int, bool, out gl_TextureFootprint2DNV, float);"
 3728|      2|            "bool textureFootprintNV(sampler3D, vec3, int, bool, out gl_TextureFootprint3DNV, float);"
 3729|      2|            "bool textureFootprintClampNV(sampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3730|      2|            "bool textureFootprintClampNV(sampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV);"
 3731|      2|            "bool textureFootprintClampNV(sampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV, float);"
 3732|      2|            "bool textureFootprintClampNV(sampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV, float);"
 3733|      2|            "bool textureFootprintLodNV(sampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3734|      2|            "bool textureFootprintLodNV(sampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV);"
 3735|      2|            "bool textureFootprintGradNV(sampler2D, vec2, vec2, vec2, int, bool, out gl_TextureFootprint2DNV);"
 3736|      2|            "bool textureFootprintGradClampNV(sampler2D, vec2, vec2, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3737|      2|            "\n");
 3738|      2|    }
 3739|       |
 3740|     36|    if ((profile == EEsProfile && version >= 300 && version < 310) ||
  ------------------
  |  Branch (3740:10): [True: 34, False: 2]
  |  Branch (3740:35): [True: 0, False: 34]
  |  Branch (3740:53): [True: 0, False: 0]
  ------------------
 3741|     36|        (profile != EEsProfile && version >= 150 && version < 450)) { // GL_EXT_shader_integer_mix
  ------------------
  |  Branch (3741:10): [True: 2, False: 34]
  |  Branch (3741:35): [True: 2, False: 0]
  |  Branch (3741:53): [True: 0, False: 2]
  ------------------
 3742|      0|        commonBuiltins.append("int mix(int, int, bool);"
 3743|      0|                              "ivec2 mix(ivec2, ivec2, bvec2);"
 3744|      0|                              "ivec3 mix(ivec3, ivec3, bvec3);"
 3745|      0|                              "ivec4 mix(ivec4, ivec4, bvec4);"
 3746|      0|                              "uint  mix(uint,  uint,  bool );"
 3747|      0|                              "uvec2 mix(uvec2, uvec2, bvec2);"
 3748|      0|                              "uvec3 mix(uvec3, uvec3, bvec3);"
 3749|      0|                              "uvec4 mix(uvec4, uvec4, bvec4);"
 3750|      0|                              "bool  mix(bool,  bool,  bool );"
 3751|      0|                              "bvec2 mix(bvec2, bvec2, bvec2);"
 3752|      0|                              "bvec3 mix(bvec3, bvec3, bvec3);"
 3753|      0|                              "bvec4 mix(bvec4, bvec4, bvec4);"
 3754|       |
 3755|      0|                              "\n");
 3756|      0|    }
 3757|       |
 3758|       |    // GL_AMD_gpu_shader_half_float/Explicit types
 3759|     36|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (3759:10): [True: 2, False: 34]
  |  Branch (3759:35): [True: 2, False: 0]
  |  Branch (3759:55): [True: 34, False: 0]
  |  Branch (3759:80): [True: 0, False: 34]
  ------------------
 3760|      2|        commonBuiltins.append(
 3761|      2|            "float16_t radians(float16_t);"
 3762|      2|            "f16vec2   radians(f16vec2);"
 3763|      2|            "f16vec3   radians(f16vec3);"
 3764|      2|            "f16vec4   radians(f16vec4);"
 3765|       |
 3766|      2|            "float16_t degrees(float16_t);"
 3767|      2|            "f16vec2   degrees(f16vec2);"
 3768|      2|            "f16vec3   degrees(f16vec3);"
 3769|      2|            "f16vec4   degrees(f16vec4);"
 3770|       |
 3771|      2|            "float16_t sin(float16_t);"
 3772|      2|            "f16vec2   sin(f16vec2);"
 3773|      2|            "f16vec3   sin(f16vec3);"
 3774|      2|            "f16vec4   sin(f16vec4);"
 3775|       |
 3776|      2|            "float16_t cos(float16_t);"
 3777|      2|            "f16vec2   cos(f16vec2);"
 3778|      2|            "f16vec3   cos(f16vec3);"
 3779|      2|            "f16vec4   cos(f16vec4);"
 3780|       |
 3781|      2|            "float16_t tan(float16_t);"
 3782|      2|            "f16vec2   tan(f16vec2);"
 3783|      2|            "f16vec3   tan(f16vec3);"
 3784|      2|            "f16vec4   tan(f16vec4);"
 3785|       |
 3786|      2|            "float16_t asin(float16_t);"
 3787|      2|            "f16vec2   asin(f16vec2);"
 3788|      2|            "f16vec3   asin(f16vec3);"
 3789|      2|            "f16vec4   asin(f16vec4);"
 3790|       |
 3791|      2|            "float16_t acos(float16_t);"
 3792|      2|            "f16vec2   acos(f16vec2);"
 3793|      2|            "f16vec3   acos(f16vec3);"
 3794|      2|            "f16vec4   acos(f16vec4);"
 3795|       |
 3796|      2|            "float16_t atan(float16_t, float16_t);"
 3797|      2|            "f16vec2   atan(f16vec2,   f16vec2);"
 3798|      2|            "f16vec3   atan(f16vec3,   f16vec3);"
 3799|      2|            "f16vec4   atan(f16vec4,   f16vec4);"
 3800|       |
 3801|      2|            "float16_t atan(float16_t);"
 3802|      2|            "f16vec2   atan(f16vec2);"
 3803|      2|            "f16vec3   atan(f16vec3);"
 3804|      2|            "f16vec4   atan(f16vec4);"
 3805|       |
 3806|      2|            "float16_t sinh(float16_t);"
 3807|      2|            "f16vec2   sinh(f16vec2);"
 3808|      2|            "f16vec3   sinh(f16vec3);"
 3809|      2|            "f16vec4   sinh(f16vec4);"
 3810|       |
 3811|      2|            "float16_t cosh(float16_t);"
 3812|      2|            "f16vec2   cosh(f16vec2);"
 3813|      2|            "f16vec3   cosh(f16vec3);"
 3814|      2|            "f16vec4   cosh(f16vec4);"
 3815|       |
 3816|      2|            "float16_t tanh(float16_t);"
 3817|      2|            "f16vec2   tanh(f16vec2);"
 3818|      2|            "f16vec3   tanh(f16vec3);"
 3819|      2|            "f16vec4   tanh(f16vec4);"
 3820|       |
 3821|      2|            "float16_t asinh(float16_t);"
 3822|      2|            "f16vec2   asinh(f16vec2);"
 3823|      2|            "f16vec3   asinh(f16vec3);"
 3824|      2|            "f16vec4   asinh(f16vec4);"
 3825|       |
 3826|      2|            "float16_t acosh(float16_t);"
 3827|      2|            "f16vec2   acosh(f16vec2);"
 3828|      2|            "f16vec3   acosh(f16vec3);"
 3829|      2|            "f16vec4   acosh(f16vec4);"
 3830|       |
 3831|      2|            "float16_t atanh(float16_t);"
 3832|      2|            "f16vec2   atanh(f16vec2);"
 3833|      2|            "f16vec3   atanh(f16vec3);"
 3834|      2|            "f16vec4   atanh(f16vec4);"
 3835|       |
 3836|      2|            "float16_t pow(float16_t, float16_t);"
 3837|      2|            "f16vec2   pow(f16vec2,   f16vec2);"
 3838|      2|            "f16vec3   pow(f16vec3,   f16vec3);"
 3839|      2|            "f16vec4   pow(f16vec4,   f16vec4);"
 3840|       |
 3841|      2|            "float16_t exp(float16_t);"
 3842|      2|            "f16vec2   exp(f16vec2);"
 3843|      2|            "f16vec3   exp(f16vec3);"
 3844|      2|            "f16vec4   exp(f16vec4);"
 3845|       |
 3846|      2|            "float16_t log(float16_t);"
 3847|      2|            "f16vec2   log(f16vec2);"
 3848|      2|            "f16vec3   log(f16vec3);"
 3849|      2|            "f16vec4   log(f16vec4);"
 3850|       |
 3851|      2|            "float16_t exp2(float16_t);"
 3852|      2|            "f16vec2   exp2(f16vec2);"
 3853|      2|            "f16vec3   exp2(f16vec3);"
 3854|      2|            "f16vec4   exp2(f16vec4);"
 3855|       |
 3856|      2|            "float16_t log2(float16_t);"
 3857|      2|            "f16vec2   log2(f16vec2);"
 3858|      2|            "f16vec3   log2(f16vec3);"
 3859|      2|            "f16vec4   log2(f16vec4);"
 3860|       |
 3861|      2|            "float16_t sqrt(float16_t);"
 3862|      2|            "f16vec2   sqrt(f16vec2);"
 3863|      2|            "f16vec3   sqrt(f16vec3);"
 3864|      2|            "f16vec4   sqrt(f16vec4);"
 3865|       |
 3866|      2|            "float16_t inversesqrt(float16_t);"
 3867|      2|            "f16vec2   inversesqrt(f16vec2);"
 3868|      2|            "f16vec3   inversesqrt(f16vec3);"
 3869|      2|            "f16vec4   inversesqrt(f16vec4);"
 3870|       |
 3871|      2|            "float16_t abs(float16_t);"
 3872|      2|            "f16vec2   abs(f16vec2);"
 3873|      2|            "f16vec3   abs(f16vec3);"
 3874|      2|            "f16vec4   abs(f16vec4);"
 3875|       |
 3876|      2|            "float16_t sign(float16_t);"
 3877|      2|            "f16vec2   sign(f16vec2);"
 3878|      2|            "f16vec3   sign(f16vec3);"
 3879|      2|            "f16vec4   sign(f16vec4);"
 3880|       |
 3881|      2|            "float16_t floor(float16_t);"
 3882|      2|            "f16vec2   floor(f16vec2);"
 3883|      2|            "f16vec3   floor(f16vec3);"
 3884|      2|            "f16vec4   floor(f16vec4);"
 3885|       |
 3886|      2|            "float16_t trunc(float16_t);"
 3887|      2|            "f16vec2   trunc(f16vec2);"
 3888|      2|            "f16vec3   trunc(f16vec3);"
 3889|      2|            "f16vec4   trunc(f16vec4);"
 3890|       |
 3891|      2|            "float16_t round(float16_t);"
 3892|      2|            "f16vec2   round(f16vec2);"
 3893|      2|            "f16vec3   round(f16vec3);"
 3894|      2|            "f16vec4   round(f16vec4);"
 3895|       |
 3896|      2|            "float16_t roundEven(float16_t);"
 3897|      2|            "f16vec2   roundEven(f16vec2);"
 3898|      2|            "f16vec3   roundEven(f16vec3);"
 3899|      2|            "f16vec4   roundEven(f16vec4);"
 3900|       |
 3901|      2|            "float16_t ceil(float16_t);"
 3902|      2|            "f16vec2   ceil(f16vec2);"
 3903|      2|            "f16vec3   ceil(f16vec3);"
 3904|      2|            "f16vec4   ceil(f16vec4);"
 3905|       |
 3906|      2|            "float16_t fract(float16_t);"
 3907|      2|            "f16vec2   fract(f16vec2);"
 3908|      2|            "f16vec3   fract(f16vec3);"
 3909|      2|            "f16vec4   fract(f16vec4);"
 3910|       |
 3911|      2|            "float16_t mod(float16_t, float16_t);"
 3912|      2|            "f16vec2   mod(f16vec2,   float16_t);"
 3913|      2|            "f16vec3   mod(f16vec3,   float16_t);"
 3914|      2|            "f16vec4   mod(f16vec4,   float16_t);"
 3915|      2|            "f16vec2   mod(f16vec2,   f16vec2);"
 3916|      2|            "f16vec3   mod(f16vec3,   f16vec3);"
 3917|      2|            "f16vec4   mod(f16vec4,   f16vec4);"
 3918|       |
 3919|      2|            "float16_t modf(float16_t, out float16_t);"
 3920|      2|            "f16vec2   modf(f16vec2,   out f16vec2);"
 3921|      2|            "f16vec3   modf(f16vec3,   out f16vec3);"
 3922|      2|            "f16vec4   modf(f16vec4,   out f16vec4);"
 3923|       |
 3924|      2|            "float16_t min(float16_t, float16_t);"
 3925|      2|            "f16vec2   min(f16vec2,   float16_t);"
 3926|      2|            "f16vec3   min(f16vec3,   float16_t);"
 3927|      2|            "f16vec4   min(f16vec4,   float16_t);"
 3928|      2|            "f16vec2   min(f16vec2,   f16vec2);"
 3929|      2|            "f16vec3   min(f16vec3,   f16vec3);"
 3930|      2|            "f16vec4   min(f16vec4,   f16vec4);"
 3931|       |
 3932|      2|            "float16_t max(float16_t, float16_t);"
 3933|      2|            "f16vec2   max(f16vec2,   float16_t);"
 3934|      2|            "f16vec3   max(f16vec3,   float16_t);"
 3935|      2|            "f16vec4   max(f16vec4,   float16_t);"
 3936|      2|            "f16vec2   max(f16vec2,   f16vec2);"
 3937|      2|            "f16vec3   max(f16vec3,   f16vec3);"
 3938|      2|            "f16vec4   max(f16vec4,   f16vec4);"
 3939|       |
 3940|      2|            "float16_t clamp(float16_t, float16_t, float16_t);"
 3941|      2|            "f16vec2   clamp(f16vec2,   float16_t, float16_t);"
 3942|      2|            "f16vec3   clamp(f16vec3,   float16_t, float16_t);"
 3943|      2|            "f16vec4   clamp(f16vec4,   float16_t, float16_t);"
 3944|      2|            "f16vec2   clamp(f16vec2,   f16vec2,   f16vec2);"
 3945|      2|            "f16vec3   clamp(f16vec3,   f16vec3,   f16vec3);"
 3946|      2|            "f16vec4   clamp(f16vec4,   f16vec4,   f16vec4);"
 3947|       |
 3948|      2|            "float16_t mix(float16_t, float16_t, float16_t);"
 3949|      2|            "f16vec2   mix(f16vec2,   f16vec2,   float16_t);"
 3950|      2|            "f16vec3   mix(f16vec3,   f16vec3,   float16_t);"
 3951|      2|            "f16vec4   mix(f16vec4,   f16vec4,   float16_t);"
 3952|      2|            "f16vec2   mix(f16vec2,   f16vec2,   f16vec2);"
 3953|      2|            "f16vec3   mix(f16vec3,   f16vec3,   f16vec3);"
 3954|      2|            "f16vec4   mix(f16vec4,   f16vec4,   f16vec4);"
 3955|      2|            "float16_t mix(float16_t, float16_t, bool);"
 3956|      2|            "f16vec2   mix(f16vec2,   f16vec2,   bvec2);"
 3957|      2|            "f16vec3   mix(f16vec3,   f16vec3,   bvec3);"
 3958|      2|            "f16vec4   mix(f16vec4,   f16vec4,   bvec4);"
 3959|       |
 3960|      2|            "float16_t step(float16_t, float16_t);"
 3961|      2|            "f16vec2   step(f16vec2,   f16vec2);"
 3962|      2|            "f16vec3   step(f16vec3,   f16vec3);"
 3963|      2|            "f16vec4   step(f16vec4,   f16vec4);"
 3964|      2|            "f16vec2   step(float16_t, f16vec2);"
 3965|      2|            "f16vec3   step(float16_t, f16vec3);"
 3966|      2|            "f16vec4   step(float16_t, f16vec4);"
 3967|       |
 3968|      2|            "float16_t smoothstep(float16_t, float16_t, float16_t);"
 3969|      2|            "f16vec2   smoothstep(f16vec2,   f16vec2,   f16vec2);"
 3970|      2|            "f16vec3   smoothstep(f16vec3,   f16vec3,   f16vec3);"
 3971|      2|            "f16vec4   smoothstep(f16vec4,   f16vec4,   f16vec4);"
 3972|      2|            "f16vec2   smoothstep(float16_t, float16_t, f16vec2);"
 3973|      2|            "f16vec3   smoothstep(float16_t, float16_t, f16vec3);"
 3974|      2|            "f16vec4   smoothstep(float16_t, float16_t, f16vec4);"
 3975|       |
 3976|      2|            "bool  isnan(float16_t);"
 3977|      2|            "bvec2 isnan(f16vec2);"
 3978|      2|            "bvec3 isnan(f16vec3);"
 3979|      2|            "bvec4 isnan(f16vec4);"
 3980|       |
 3981|      2|            "bool  isinf(float16_t);"
 3982|      2|            "bvec2 isinf(f16vec2);"
 3983|      2|            "bvec3 isinf(f16vec3);"
 3984|      2|            "bvec4 isinf(f16vec4);"
 3985|       |
 3986|      2|            "float16_t fma(float16_t, float16_t, float16_t);"
 3987|      2|            "f16vec2   fma(f16vec2,   f16vec2,   f16vec2);"
 3988|      2|            "f16vec3   fma(f16vec3,   f16vec3,   f16vec3);"
 3989|      2|            "f16vec4   fma(f16vec4,   f16vec4,   f16vec4);"
 3990|       |
 3991|      2|            "float16_t frexp(float16_t, out int);"
 3992|      2|            "f16vec2   frexp(f16vec2,   out ivec2);"
 3993|      2|            "f16vec3   frexp(f16vec3,   out ivec3);"
 3994|      2|            "f16vec4   frexp(f16vec4,   out ivec4);"
 3995|       |
 3996|      2|            "float16_t ldexp(float16_t, in int);"
 3997|      2|            "f16vec2   ldexp(f16vec2,   in ivec2);"
 3998|      2|            "f16vec3   ldexp(f16vec3,   in ivec3);"
 3999|      2|            "f16vec4   ldexp(f16vec4,   in ivec4);"
 4000|       |
 4001|      2|            "uint    packFloat2x16(f16vec2);"
 4002|      2|            "f16vec2 unpackFloat2x16(uint);"
 4003|       |
 4004|      2|            "float16_t length(float16_t);"
 4005|      2|            "float16_t length(f16vec2);"
 4006|      2|            "float16_t length(f16vec3);"
 4007|      2|            "float16_t length(f16vec4);"
 4008|       |
 4009|      2|            "float16_t distance(float16_t, float16_t);"
 4010|      2|            "float16_t distance(f16vec2,   f16vec2);"
 4011|      2|            "float16_t distance(f16vec3,   f16vec3);"
 4012|      2|            "float16_t distance(f16vec4,   f16vec4);"
 4013|       |
 4014|      2|            "float16_t dot(float16_t, float16_t);"
 4015|      2|            "float16_t dot(f16vec2,   f16vec2);"
 4016|      2|            "float16_t dot(f16vec3,   f16vec3);"
 4017|      2|            "float16_t dot(f16vec4,   f16vec4);"
 4018|       |
 4019|      2|            "f16vec3 cross(f16vec3, f16vec3);"
 4020|       |
 4021|      2|            "float16_t normalize(float16_t);"
 4022|      2|            "f16vec2   normalize(f16vec2);"
 4023|      2|            "f16vec3   normalize(f16vec3);"
 4024|      2|            "f16vec4   normalize(f16vec4);"
 4025|       |
 4026|      2|            "float16_t faceforward(float16_t, float16_t, float16_t);"
 4027|      2|            "f16vec2   faceforward(f16vec2,   f16vec2,   f16vec2);"
 4028|      2|            "f16vec3   faceforward(f16vec3,   f16vec3,   f16vec3);"
 4029|      2|            "f16vec4   faceforward(f16vec4,   f16vec4,   f16vec4);"
 4030|       |
 4031|      2|            "float16_t reflect(float16_t, float16_t);"
 4032|      2|            "f16vec2   reflect(f16vec2,   f16vec2);"
 4033|      2|            "f16vec3   reflect(f16vec3,   f16vec3);"
 4034|      2|            "f16vec4   reflect(f16vec4,   f16vec4);"
 4035|       |
 4036|      2|            "float16_t refract(float16_t, float16_t, float16_t);"
 4037|      2|            "f16vec2   refract(f16vec2,   f16vec2,   float16_t);"
 4038|      2|            "f16vec3   refract(f16vec3,   f16vec3,   float16_t);"
 4039|      2|            "f16vec4   refract(f16vec4,   f16vec4,   float16_t);"
 4040|       |
 4041|      2|            "f16mat2   matrixCompMult(f16mat2,   f16mat2);"
 4042|      2|            "f16mat3   matrixCompMult(f16mat3,   f16mat3);"
 4043|      2|            "f16mat4   matrixCompMult(f16mat4,   f16mat4);"
 4044|      2|            "f16mat2x3 matrixCompMult(f16mat2x3, f16mat2x3);"
 4045|      2|            "f16mat2x4 matrixCompMult(f16mat2x4, f16mat2x4);"
 4046|      2|            "f16mat3x2 matrixCompMult(f16mat3x2, f16mat3x2);"
 4047|      2|            "f16mat3x4 matrixCompMult(f16mat3x4, f16mat3x4);"
 4048|      2|            "f16mat4x2 matrixCompMult(f16mat4x2, f16mat4x2);"
 4049|      2|            "f16mat4x3 matrixCompMult(f16mat4x3, f16mat4x3);"
 4050|       |
 4051|      2|            "f16mat2   outerProduct(f16vec2, f16vec2);"
 4052|      2|            "f16mat3   outerProduct(f16vec3, f16vec3);"
 4053|      2|            "f16mat4   outerProduct(f16vec4, f16vec4);"
 4054|      2|            "f16mat2x3 outerProduct(f16vec3, f16vec2);"
 4055|      2|            "f16mat3x2 outerProduct(f16vec2, f16vec3);"
 4056|      2|            "f16mat2x4 outerProduct(f16vec4, f16vec2);"
 4057|      2|            "f16mat4x2 outerProduct(f16vec2, f16vec4);"
 4058|      2|            "f16mat3x4 outerProduct(f16vec4, f16vec3);"
 4059|      2|            "f16mat4x3 outerProduct(f16vec3, f16vec4);"
 4060|       |
 4061|      2|            "f16mat2   transpose(f16mat2);"
 4062|      2|            "f16mat3   transpose(f16mat3);"
 4063|      2|            "f16mat4   transpose(f16mat4);"
 4064|      2|            "f16mat2x3 transpose(f16mat3x2);"
 4065|      2|            "f16mat3x2 transpose(f16mat2x3);"
 4066|      2|            "f16mat2x4 transpose(f16mat4x2);"
 4067|      2|            "f16mat4x2 transpose(f16mat2x4);"
 4068|      2|            "f16mat3x4 transpose(f16mat4x3);"
 4069|      2|            "f16mat4x3 transpose(f16mat3x4);"
 4070|       |
 4071|      2|            "float16_t determinant(f16mat2);"
 4072|      2|            "float16_t determinant(f16mat3);"
 4073|      2|            "float16_t determinant(f16mat4);"
 4074|       |
 4075|      2|            "f16mat2 inverse(f16mat2);"
 4076|      2|            "f16mat3 inverse(f16mat3);"
 4077|      2|            "f16mat4 inverse(f16mat4);"
 4078|       |
 4079|      2|            "bvec2 lessThan(f16vec2, f16vec2);"
 4080|      2|            "bvec3 lessThan(f16vec3, f16vec3);"
 4081|      2|            "bvec4 lessThan(f16vec4, f16vec4);"
 4082|       |
 4083|      2|            "bvec2 lessThanEqual(f16vec2, f16vec2);"
 4084|      2|            "bvec3 lessThanEqual(f16vec3, f16vec3);"
 4085|      2|            "bvec4 lessThanEqual(f16vec4, f16vec4);"
 4086|       |
 4087|      2|            "bvec2 greaterThan(f16vec2, f16vec2);"
 4088|      2|            "bvec3 greaterThan(f16vec3, f16vec3);"
 4089|      2|            "bvec4 greaterThan(f16vec4, f16vec4);"
 4090|       |
 4091|      2|            "bvec2 greaterThanEqual(f16vec2, f16vec2);"
 4092|      2|            "bvec3 greaterThanEqual(f16vec3, f16vec3);"
 4093|      2|            "bvec4 greaterThanEqual(f16vec4, f16vec4);"
 4094|       |
 4095|      2|            "bvec2 equal(f16vec2, f16vec2);"
 4096|      2|            "bvec3 equal(f16vec3, f16vec3);"
 4097|      2|            "bvec4 equal(f16vec4, f16vec4);"
 4098|       |
 4099|      2|            "bvec2 notEqual(f16vec2, f16vec2);"
 4100|      2|            "bvec3 notEqual(f16vec3, f16vec3);"
 4101|      2|            "bvec4 notEqual(f16vec4, f16vec4);"
 4102|       |
 4103|      2|            "bfloat16_t dot(bfloat16_t, bfloat16_t);"
 4104|      2|            "bfloat16_t dot(bf16vec2,   bf16vec2);"
 4105|      2|            "bfloat16_t dot(bf16vec3,   bf16vec3);"
 4106|      2|            "bfloat16_t dot(bf16vec4,   bf16vec4);"
 4107|       |
 4108|      2|            "int16_t  bfloat16BitsToIntEXT(bfloat16_t value);"
 4109|      2|            "i16vec2  bfloat16BitsToIntEXT(bf16vec2 value);"
 4110|      2|            "i16vec3  bfloat16BitsToIntEXT(bf16vec3 value);"
 4111|      2|            "i16vec4  bfloat16BitsToIntEXT(bf16vec4 value);"
 4112|       |
 4113|      2|            "uint16_t bfloat16BitsToUintEXT(bfloat16_t value);"
 4114|      2|            "u16vec2  bfloat16BitsToUintEXT(bf16vec2 value);"
 4115|      2|            "u16vec3  bfloat16BitsToUintEXT(bf16vec3 value);"
 4116|      2|            "u16vec4  bfloat16BitsToUintEXT(bf16vec4 value);"
 4117|       |
 4118|      2|            "bfloat16_t intBitsToBFloat16EXT(int16_t value);"
 4119|      2|            "bf16vec2   intBitsToBFloat16EXT(i16vec2 value);"
 4120|      2|            "bf16vec3   intBitsToBFloat16EXT(i16vec3 value);"
 4121|      2|            "bf16vec4   intBitsToBFloat16EXT(i16vec4 value);"
 4122|       |
 4123|      2|            "bfloat16_t uintBitsToBFloat16EXT(uint16_t value);"
 4124|      2|            "bf16vec2   uintBitsToBFloat16EXT(u16vec2 value);"
 4125|      2|            "bf16vec3   uintBitsToBFloat16EXT(u16vec3 value);"
 4126|      2|            "bf16vec4   uintBitsToBFloat16EXT(u16vec4 value);"
 4127|       |
 4128|      2|            "int8_t  floate5m2BitsToIntEXT(floate5m2_t value);"
 4129|      2|            "i8vec2  floate5m2BitsToIntEXT(fe5m2vec2 value);"
 4130|      2|            "i8vec3  floate5m2BitsToIntEXT(fe5m2vec3 value);"
 4131|      2|            "i8vec4  floate5m2BitsToIntEXT(fe5m2vec4 value);"
 4132|       |
 4133|      2|            "uint8_t floate5m2BitsToUintEXT(floate5m2_t value);"
 4134|      2|            "u8vec2  floate5m2BitsToUintEXT(fe5m2vec2 value);"
 4135|      2|            "u8vec3  floate5m2BitsToUintEXT(fe5m2vec3 value);"
 4136|      2|            "u8vec4  floate5m2BitsToUintEXT(fe5m2vec4 value);"
 4137|       |
 4138|      2|            "floate5m2_t intBitsToFloate5m2EXT(int8_t value);"
 4139|      2|            "fe5m2vec2   intBitsToFloate5m2EXT(i8vec2 value);"
 4140|      2|            "fe5m2vec3   intBitsToFloate5m2EXT(i8vec3 value);"
 4141|      2|            "fe5m2vec4   intBitsToFloate5m2EXT(i8vec4 value);"
 4142|       |
 4143|      2|            "floate5m2_t uintBitsToFloate5m2EXT(uint8_t value);"
 4144|      2|            "fe5m2vec2   uintBitsToFloate5m2EXT(u8vec2 value);"
 4145|      2|            "fe5m2vec3   uintBitsToFloate5m2EXT(u8vec3 value);"
 4146|      2|            "fe5m2vec4   uintBitsToFloate5m2EXT(u8vec4 value);"
 4147|       |
 4148|      2|            "int8_t  floate4m3BitsToIntEXT(floate4m3_t value);"
 4149|      2|            "i8vec2  floate4m3BitsToIntEXT(fe4m3vec2 value);"
 4150|      2|            "i8vec3  floate4m3BitsToIntEXT(fe4m3vec3 value);"
 4151|      2|            "i8vec4  floate4m3BitsToIntEXT(fe4m3vec4 value);"
 4152|       |
 4153|      2|            "uint8_t floate4m3BitsToUintEXT(floate4m3_t value);"
 4154|      2|            "u8vec2  floate4m3BitsToUintEXT(fe4m3vec2 value);"
 4155|      2|            "u8vec3  floate4m3BitsToUintEXT(fe4m3vec3 value);"
 4156|      2|            "u8vec4  floate4m3BitsToUintEXT(fe4m3vec4 value);"
 4157|       |
 4158|      2|            "floate4m3_t intBitsToFloate4m3EXT(int8_t value);"
 4159|      2|            "fe4m3vec2   intBitsToFloate4m3EXT(i8vec2 value);"
 4160|      2|            "fe4m3vec3   intBitsToFloate4m3EXT(i8vec3 value);"
 4161|      2|            "fe4m3vec4   intBitsToFloate4m3EXT(i8vec4 value);"
 4162|       |
 4163|      2|            "floate4m3_t uintBitsToFloate4m3EXT(uint8_t value);"
 4164|      2|            "fe4m3vec2   uintBitsToFloate4m3EXT(u8vec2 value);"
 4165|      2|            "fe4m3vec3   uintBitsToFloate4m3EXT(u8vec3 value);"
 4166|      2|            "fe4m3vec4   uintBitsToFloate4m3EXT(u8vec4 value);"
 4167|       |
 4168|      2|            "void saturatedConvertEXT();"
 4169|       |
 4170|      2|            "int8_t  floatue8m0BitsToIntEXT(floatue8m0_t value);"
 4171|      2|            "i8vec2  floatue8m0BitsToIntEXT(fue8m0vec2 value);"
 4172|      2|            "i8vec3  floatue8m0BitsToIntEXT(fue8m0vec3 value);"
 4173|      2|            "i8vec4  floatue8m0BitsToIntEXT(fue8m0vec4 value);"
 4174|       |
 4175|      2|            "uint8_t floatue8m0BitsToUintEXT(floatue8m0_t value);"
 4176|      2|            "u8vec2  floatue8m0BitsToUintEXT(fue8m0vec2 value);"
 4177|      2|            "u8vec3  floatue8m0BitsToUintEXT(fue8m0vec3 value);"
 4178|      2|            "u8vec4  floatue8m0BitsToUintEXT(fue8m0vec4 value);"
 4179|       |
 4180|      2|            "floatue8m0_t intBitsToFloatue8m0EXT(int8_t value);"
 4181|      2|            "fue8m0vec2   intBitsToFloatue8m0EXT(i8vec2 value);"
 4182|      2|            "fue8m0vec3   intBitsToFloatue8m0EXT(i8vec3 value);"
 4183|      2|            "fue8m0vec4   intBitsToFloatue8m0EXT(i8vec4 value);"
 4184|       |
 4185|      2|            "floatue8m0_t uintBitsToFloatue8m0EXT(uint8_t value);"
 4186|      2|            "fue8m0vec2   uintBitsToFloatue8m0EXT(u8vec2 value);"
 4187|      2|            "fue8m0vec3   uintBitsToFloatue8m0EXT(u8vec3 value);"
 4188|      2|            "fue8m0vec4   uintBitsToFloatue8m0EXT(u8vec4 value);"
 4189|       |
 4190|      2|            "int8_t  floatmxint8BitsToIntEXT(floatmxint8_t value);"
 4191|      2|            "i8vec2  floatmxint8BitsToIntEXT(fmxint8vec2 value);"
 4192|      2|            "i8vec3  floatmxint8BitsToIntEXT(fmxint8vec3 value);"
 4193|      2|            "i8vec4  floatmxint8BitsToIntEXT(fmxint8vec4 value);"
 4194|       |
 4195|      2|            "uint8_t floatmxint8BitsToUintEXT(floatmxint8_t value);"
 4196|      2|            "u8vec2  floatmxint8BitsToUintEXT(fmxint8vec2 value);"
 4197|      2|            "u8vec3  floatmxint8BitsToUintEXT(fmxint8vec3 value);"
 4198|      2|            "u8vec4  floatmxint8BitsToUintEXT(fmxint8vec4 value);"
 4199|       |
 4200|      2|            "floatmxint8_t intBitsToFloatmxint8EXT(int8_t value);"
 4201|      2|            "fmxint8vec2   intBitsToFloatmxint8EXT(i8vec2 value);"
 4202|      2|            "fmxint8vec3   intBitsToFloatmxint8EXT(i8vec3 value);"
 4203|      2|            "fmxint8vec4   intBitsToFloatmxint8EXT(i8vec4 value);"
 4204|       |
 4205|      2|            "floatmxint8_t uintBitsToFloatmxint8EXT(uint8_t value);"
 4206|      2|            "fmxint8vec2   uintBitsToFloatmxint8EXT(u8vec2 value);"
 4207|      2|            "fmxint8vec3   uintBitsToFloatmxint8EXT(u8vec3 value);"
 4208|      2|            "fmxint8vec4   uintBitsToFloatmxint8EXT(u8vec4 value);"
 4209|       |
 4210|      2|            "fe2m1vec2               unpackFloat2xfe2m1EXT(uint8_t value);"
 4211|      2|            "fe2m1vec4               unpackFloat4xfe2m1EXT(uint16_t value);"
 4212|      2|            "vector<floate2m1_t, 8>  unpackFloat8xfe2m1EXT(uint32_t value);"
 4213|      2|            "vector<floate2m1_t, 16> unpackFloat16xfe2m1EXT(u32vec2 value);"
 4214|       |
 4215|      2|            "uint8_t                 packFloat2xfe2m1EXT(fe2m1vec2 value);"
 4216|      2|            "uint16_t                packFloat4xfe2m1EXT(fe2m1vec4 value);"
 4217|      2|            "uint32_t                packFloat8xfe2m1EXT(vector<floate2m1_t, 8> value);"
 4218|      2|            "u32vec2                 packFloat16xfe2m1EXT(vector<floate2m1_t, 16> value);"
 4219|       |
 4220|      2|            "fe3m2vec4               unpackFloat4xfe3m2EXT(u8vec3 value);"
 4221|      2|            "vector<floate3m2_t, 8>  unpackFloat8xfe3m2EXT(u16vec3 value);"
 4222|      2|            "vector<floate3m2_t, 16> unpackFloat16xfe3m2EXT(u32vec3 value);"
 4223|       |
 4224|      2|            "u8vec3                  packFloat4xfe3m2EXT(fe3m2vec4 value);"
 4225|      2|            "u16vec3                 packFloat8xfe3m2EXT(vector<floate3m2_t, 8> value);"
 4226|      2|            "u32vec3                 packFloat16xfe3m2EXT(vector<floate3m2_t, 16> value);"
 4227|       |
 4228|      2|            "fe2m3vec4               unpackFloat4xfe2m3EXT(u8vec3 value);"
 4229|      2|            "vector<floate2m3_t, 8>  unpackFloat8xfe2m3EXT(u16vec3 value);"
 4230|      2|            "vector<floate2m3_t, 16> unpackFloat16xfe2m3EXT(u32vec3 value);"
 4231|       |
 4232|      2|            "u8vec3                  packFloat4xfe2m3EXT(fe2m3vec4 value);"
 4233|      2|            "u16vec3                 packFloat8xfe2m3EXT(vector<floate2m3_t, 8> value);"
 4234|      2|            "u32vec3                 packFloat16xfe2m3EXT(vector<floate2m3_t, 16> value);"
 4235|       |
 4236|      2|            "floate2m1_t             bitcastExtractfe2m1EXT(uint8_t, uint);"
 4237|      2|            "fe2m1vec2               bitcastExtractfe2m1EXT(u8vec2, uint);"
 4238|      2|            "fe2m1vec3               bitcastExtractfe2m1EXT(u8vec3, uint);"
 4239|      2|            "fe2m1vec4               bitcastExtractfe2m1EXT(u8vec4, uint);"
 4240|       |
 4241|      2|            "floate3m2_t             bitcastExtractfe3m2EXT(uint8_t, uint);"
 4242|      2|            "fe3m2vec2               bitcastExtractfe3m2EXT(u8vec2, uint);"
 4243|      2|            "fe3m2vec3               bitcastExtractfe3m2EXT(u8vec3, uint);"
 4244|      2|            "fe3m2vec4               bitcastExtractfe3m2EXT(u8vec4, uint);"
 4245|       |
 4246|      2|            "floate2m3_t             bitcastExtractfe2m3EXT(uint8_t, uint);"
 4247|      2|            "fe2m3vec2               bitcastExtractfe2m3EXT(u8vec2, uint);"
 4248|      2|            "fe2m3vec3               bitcastExtractfe2m3EXT(u8vec3, uint);"
 4249|      2|            "fe2m3vec4               bitcastExtractfe2m3EXT(u8vec4, uint);"
 4250|       |
 4251|      2|            "\n");
 4252|      2|    }
 4253|       |
 4254|       |    // Explicit types
 4255|     36|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (4255:10): [True: 2, False: 34]
  |  Branch (4255:35): [True: 2, False: 0]
  |  Branch (4255:55): [True: 34, False: 0]
  |  Branch (4255:80): [True: 0, False: 34]
  ------------------
 4256|      2|        commonBuiltins.append(
 4257|      2|            "int8_t abs(int8_t);"
 4258|      2|            "i8vec2 abs(i8vec2);"
 4259|      2|            "i8vec3 abs(i8vec3);"
 4260|      2|            "i8vec4 abs(i8vec4);"
 4261|       |
 4262|      2|            "int8_t sign(int8_t);"
 4263|      2|            "i8vec2 sign(i8vec2);"
 4264|      2|            "i8vec3 sign(i8vec3);"
 4265|      2|            "i8vec4 sign(i8vec4);"
 4266|       |
 4267|      2|            "int8_t min(int8_t x, int8_t y);"
 4268|      2|            "i8vec2 min(i8vec2 x, int8_t y);"
 4269|      2|            "i8vec3 min(i8vec3 x, int8_t y);"
 4270|      2|            "i8vec4 min(i8vec4 x, int8_t y);"
 4271|      2|            "i8vec2 min(i8vec2 x, i8vec2 y);"
 4272|      2|            "i8vec3 min(i8vec3 x, i8vec3 y);"
 4273|      2|            "i8vec4 min(i8vec4 x, i8vec4 y);"
 4274|       |
 4275|      2|            "uint8_t min(uint8_t x, uint8_t y);"
 4276|      2|            "u8vec2 min(u8vec2 x, uint8_t y);"
 4277|      2|            "u8vec3 min(u8vec3 x, uint8_t y);"
 4278|      2|            "u8vec4 min(u8vec4 x, uint8_t y);"
 4279|      2|            "u8vec2 min(u8vec2 x, u8vec2 y);"
 4280|      2|            "u8vec3 min(u8vec3 x, u8vec3 y);"
 4281|      2|            "u8vec4 min(u8vec4 x, u8vec4 y);"
 4282|       |
 4283|      2|            "int8_t max(int8_t x, int8_t y);"
 4284|      2|            "i8vec2 max(i8vec2 x, int8_t y);"
 4285|      2|            "i8vec3 max(i8vec3 x, int8_t y);"
 4286|      2|            "i8vec4 max(i8vec4 x, int8_t y);"
 4287|      2|            "i8vec2 max(i8vec2 x, i8vec2 y);"
 4288|      2|            "i8vec3 max(i8vec3 x, i8vec3 y);"
 4289|      2|            "i8vec4 max(i8vec4 x, i8vec4 y);"
 4290|       |
 4291|      2|            "uint8_t max(uint8_t x, uint8_t y);"
 4292|      2|            "u8vec2 max(u8vec2 x, uint8_t y);"
 4293|      2|            "u8vec3 max(u8vec3 x, uint8_t y);"
 4294|      2|            "u8vec4 max(u8vec4 x, uint8_t y);"
 4295|      2|            "u8vec2 max(u8vec2 x, u8vec2 y);"
 4296|      2|            "u8vec3 max(u8vec3 x, u8vec3 y);"
 4297|      2|            "u8vec4 max(u8vec4 x, u8vec4 y);"
 4298|       |
 4299|      2|            "int8_t    clamp(int8_t x, int8_t minVal, int8_t maxVal);"
 4300|      2|            "i8vec2  clamp(i8vec2  x, int8_t minVal, int8_t maxVal);"
 4301|      2|            "i8vec3  clamp(i8vec3  x, int8_t minVal, int8_t maxVal);"
 4302|      2|            "i8vec4  clamp(i8vec4  x, int8_t minVal, int8_t maxVal);"
 4303|      2|            "i8vec2  clamp(i8vec2  x, i8vec2  minVal, i8vec2  maxVal);"
 4304|      2|            "i8vec3  clamp(i8vec3  x, i8vec3  minVal, i8vec3  maxVal);"
 4305|      2|            "i8vec4  clamp(i8vec4  x, i8vec4  minVal, i8vec4  maxVal);"
 4306|       |
 4307|      2|            "uint8_t   clamp(uint8_t x, uint8_t minVal, uint8_t maxVal);"
 4308|      2|            "u8vec2  clamp(u8vec2  x, uint8_t minVal, uint8_t maxVal);"
 4309|      2|            "u8vec3  clamp(u8vec3  x, uint8_t minVal, uint8_t maxVal);"
 4310|      2|            "u8vec4  clamp(u8vec4  x, uint8_t minVal, uint8_t maxVal);"
 4311|      2|            "u8vec2  clamp(u8vec2  x, u8vec2  minVal, u8vec2  maxVal);"
 4312|      2|            "u8vec3  clamp(u8vec3  x, u8vec3  minVal, u8vec3  maxVal);"
 4313|      2|            "u8vec4  clamp(u8vec4  x, u8vec4  minVal, u8vec4  maxVal);"
 4314|       |
 4315|      2|            "int8_t  mix(int8_t,  int8_t,  bool);"
 4316|      2|            "i8vec2  mix(i8vec2,  i8vec2,  bvec2);"
 4317|      2|            "i8vec3  mix(i8vec3,  i8vec3,  bvec3);"
 4318|      2|            "i8vec4  mix(i8vec4,  i8vec4,  bvec4);"
 4319|      2|            "uint8_t mix(uint8_t, uint8_t, bool);"
 4320|      2|            "u8vec2  mix(u8vec2,  u8vec2,  bvec2);"
 4321|      2|            "u8vec3  mix(u8vec3,  u8vec3,  bvec3);"
 4322|      2|            "u8vec4  mix(u8vec4,  u8vec4,  bvec4);"
 4323|       |
 4324|      2|            "bvec2 lessThan(i8vec2, i8vec2);"
 4325|      2|            "bvec3 lessThan(i8vec3, i8vec3);"
 4326|      2|            "bvec4 lessThan(i8vec4, i8vec4);"
 4327|      2|            "bvec2 lessThan(u8vec2, u8vec2);"
 4328|      2|            "bvec3 lessThan(u8vec3, u8vec3);"
 4329|      2|            "bvec4 lessThan(u8vec4, u8vec4);"
 4330|       |
 4331|      2|            "bvec2 lessThanEqual(i8vec2, i8vec2);"
 4332|      2|            "bvec3 lessThanEqual(i8vec3, i8vec3);"
 4333|      2|            "bvec4 lessThanEqual(i8vec4, i8vec4);"
 4334|      2|            "bvec2 lessThanEqual(u8vec2, u8vec2);"
 4335|      2|            "bvec3 lessThanEqual(u8vec3, u8vec3);"
 4336|      2|            "bvec4 lessThanEqual(u8vec4, u8vec4);"
 4337|       |
 4338|      2|            "bvec2 greaterThan(i8vec2, i8vec2);"
 4339|      2|            "bvec3 greaterThan(i8vec3, i8vec3);"
 4340|      2|            "bvec4 greaterThan(i8vec4, i8vec4);"
 4341|      2|            "bvec2 greaterThan(u8vec2, u8vec2);"
 4342|      2|            "bvec3 greaterThan(u8vec3, u8vec3);"
 4343|      2|            "bvec4 greaterThan(u8vec4, u8vec4);"
 4344|       |
 4345|      2|            "bvec2 greaterThanEqual(i8vec2, i8vec2);"
 4346|      2|            "bvec3 greaterThanEqual(i8vec3, i8vec3);"
 4347|      2|            "bvec4 greaterThanEqual(i8vec4, i8vec4);"
 4348|      2|            "bvec2 greaterThanEqual(u8vec2, u8vec2);"
 4349|      2|            "bvec3 greaterThanEqual(u8vec3, u8vec3);"
 4350|      2|            "bvec4 greaterThanEqual(u8vec4, u8vec4);"
 4351|       |
 4352|      2|            "bvec2 equal(i8vec2, i8vec2);"
 4353|      2|            "bvec3 equal(i8vec3, i8vec3);"
 4354|      2|            "bvec4 equal(i8vec4, i8vec4);"
 4355|      2|            "bvec2 equal(u8vec2, u8vec2);"
 4356|      2|            "bvec3 equal(u8vec3, u8vec3);"
 4357|      2|            "bvec4 equal(u8vec4, u8vec4);"
 4358|       |
 4359|      2|            "bvec2 notEqual(i8vec2, i8vec2);"
 4360|      2|            "bvec3 notEqual(i8vec3, i8vec3);"
 4361|      2|            "bvec4 notEqual(i8vec4, i8vec4);"
 4362|      2|            "bvec2 notEqual(u8vec2, u8vec2);"
 4363|      2|            "bvec3 notEqual(u8vec3, u8vec3);"
 4364|      2|            "bvec4 notEqual(u8vec4, u8vec4);"
 4365|       |
 4366|      2|            "  int8_t bitfieldExtract(  int8_t, int8_t, int8_t);"
 4367|      2|            "i8vec2 bitfieldExtract(i8vec2, int8_t, int8_t);"
 4368|      2|            "i8vec3 bitfieldExtract(i8vec3, int8_t, int8_t);"
 4369|      2|            "i8vec4 bitfieldExtract(i8vec4, int8_t, int8_t);"
 4370|       |
 4371|      2|            " uint8_t bitfieldExtract( uint8_t, int8_t, int8_t);"
 4372|      2|            "u8vec2 bitfieldExtract(u8vec2, int8_t, int8_t);"
 4373|      2|            "u8vec3 bitfieldExtract(u8vec3, int8_t, int8_t);"
 4374|      2|            "u8vec4 bitfieldExtract(u8vec4, int8_t, int8_t);"
 4375|       |
 4376|      2|            "  int8_t bitfieldInsert(  int8_t base,   int8_t, int8_t, int8_t);"
 4377|      2|            "i8vec2 bitfieldInsert(i8vec2 base, i8vec2, int8_t, int8_t);"
 4378|      2|            "i8vec3 bitfieldInsert(i8vec3 base, i8vec3, int8_t, int8_t);"
 4379|      2|            "i8vec4 bitfieldInsert(i8vec4 base, i8vec4, int8_t, int8_t);"
 4380|       |
 4381|      2|            " uint8_t bitfieldInsert( uint8_t base,  uint8_t, int8_t, int8_t);"
 4382|      2|            "u8vec2 bitfieldInsert(u8vec2 base, u8vec2, int8_t, int8_t);"
 4383|      2|            "u8vec3 bitfieldInsert(u8vec3 base, u8vec3, int8_t, int8_t);"
 4384|      2|            "u8vec4 bitfieldInsert(u8vec4 base, u8vec4, int8_t, int8_t);"
 4385|       |
 4386|      2|            "  int8_t bitCount(  int8_t);"
 4387|      2|            "i8vec2 bitCount(i8vec2);"
 4388|      2|            "i8vec3 bitCount(i8vec3);"
 4389|      2|            "i8vec4 bitCount(i8vec4);"
 4390|       |
 4391|      2|            "  int8_t bitCount( uint8_t);"
 4392|      2|            "i8vec2 bitCount(u8vec2);"
 4393|      2|            "i8vec3 bitCount(u8vec3);"
 4394|      2|            "i8vec4 bitCount(u8vec4);"
 4395|       |
 4396|      2|            "int8_t bitfieldReverse(highp int8_t);"
 4397|      2|            "i8vec2 bitfieldReverse(highp i8vec2);"
 4398|      2|            "i8vec3 bitfieldReverse(highp i8vec3);"
 4399|      2|            "i8vec4 bitfieldReverse(highp i8vec4);"
 4400|       |
 4401|      2|            "uint8_t bitfieldReverse(highp uint8_t);"
 4402|      2|            "u8vec2  bitfieldReverse(highp u8vec2);"
 4403|      2|            "u8vec3  bitfieldReverse(highp u8vec3);"
 4404|      2|            "u8vec4  bitfieldReverse(highp u8vec4);"
 4405|       |
 4406|      2|            "  int8_t findLSB(  int8_t);"
 4407|      2|            "i8vec2 findLSB(i8vec2);"
 4408|      2|            "i8vec3 findLSB(i8vec3);"
 4409|      2|            "i8vec4 findLSB(i8vec4);"
 4410|       |
 4411|      2|            "  int8_t findLSB( uint8_t);"
 4412|      2|            "i8vec2 findLSB(u8vec2);"
 4413|      2|            "i8vec3 findLSB(u8vec3);"
 4414|      2|            "i8vec4 findLSB(u8vec4);"
 4415|       |
 4416|      2|            "  int8_t findMSB(  int8_t);"
 4417|      2|            "i8vec2 findMSB(i8vec2);"
 4418|      2|            "i8vec3 findMSB(i8vec3);"
 4419|      2|            "i8vec4 findMSB(i8vec4);"
 4420|       |
 4421|      2|            "  int8_t findMSB( uint8_t);"
 4422|      2|            "i8vec2 findMSB(u8vec2);"
 4423|      2|            "i8vec3 findMSB(u8vec3);"
 4424|      2|            "i8vec4 findMSB(u8vec4);"
 4425|       |
 4426|      2|            "int16_t abs(int16_t);"
 4427|      2|            "i16vec2 abs(i16vec2);"
 4428|      2|            "i16vec3 abs(i16vec3);"
 4429|      2|            "i16vec4 abs(i16vec4);"
 4430|       |
 4431|      2|            "int16_t sign(int16_t);"
 4432|      2|            "i16vec2 sign(i16vec2);"
 4433|      2|            "i16vec3 sign(i16vec3);"
 4434|      2|            "i16vec4 sign(i16vec4);"
 4435|       |
 4436|      2|            "int16_t min(int16_t x, int16_t y);"
 4437|      2|            "i16vec2 min(i16vec2 x, int16_t y);"
 4438|      2|            "i16vec3 min(i16vec3 x, int16_t y);"
 4439|      2|            "i16vec4 min(i16vec4 x, int16_t y);"
 4440|      2|            "i16vec2 min(i16vec2 x, i16vec2 y);"
 4441|      2|            "i16vec3 min(i16vec3 x, i16vec3 y);"
 4442|      2|            "i16vec4 min(i16vec4 x, i16vec4 y);"
 4443|       |
 4444|      2|            "uint16_t min(uint16_t x, uint16_t y);"
 4445|      2|            "u16vec2 min(u16vec2 x, uint16_t y);"
 4446|      2|            "u16vec3 min(u16vec3 x, uint16_t y);"
 4447|      2|            "u16vec4 min(u16vec4 x, uint16_t y);"
 4448|      2|            "u16vec2 min(u16vec2 x, u16vec2 y);"
 4449|      2|            "u16vec3 min(u16vec3 x, u16vec3 y);"
 4450|      2|            "u16vec4 min(u16vec4 x, u16vec4 y);"
 4451|       |
 4452|      2|            "int16_t max(int16_t x, int16_t y);"
 4453|      2|            "i16vec2 max(i16vec2 x, int16_t y);"
 4454|      2|            "i16vec3 max(i16vec3 x, int16_t y);"
 4455|      2|            "i16vec4 max(i16vec4 x, int16_t y);"
 4456|      2|            "i16vec2 max(i16vec2 x, i16vec2 y);"
 4457|      2|            "i16vec3 max(i16vec3 x, i16vec3 y);"
 4458|      2|            "i16vec4 max(i16vec4 x, i16vec4 y);"
 4459|       |
 4460|      2|            "uint16_t max(uint16_t x, uint16_t y);"
 4461|      2|            "u16vec2 max(u16vec2 x, uint16_t y);"
 4462|      2|            "u16vec3 max(u16vec3 x, uint16_t y);"
 4463|      2|            "u16vec4 max(u16vec4 x, uint16_t y);"
 4464|      2|            "u16vec2 max(u16vec2 x, u16vec2 y);"
 4465|      2|            "u16vec3 max(u16vec3 x, u16vec3 y);"
 4466|      2|            "u16vec4 max(u16vec4 x, u16vec4 y);"
 4467|       |
 4468|      2|            "int16_t    clamp(int16_t x, int16_t minVal, int16_t maxVal);"
 4469|      2|            "i16vec2  clamp(i16vec2  x, int16_t minVal, int16_t maxVal);"
 4470|      2|            "i16vec3  clamp(i16vec3  x, int16_t minVal, int16_t maxVal);"
 4471|      2|            "i16vec4  clamp(i16vec4  x, int16_t minVal, int16_t maxVal);"
 4472|      2|            "i16vec2  clamp(i16vec2  x, i16vec2  minVal, i16vec2  maxVal);"
 4473|      2|            "i16vec3  clamp(i16vec3  x, i16vec3  minVal, i16vec3  maxVal);"
 4474|      2|            "i16vec4  clamp(i16vec4  x, i16vec4  minVal, i16vec4  maxVal);"
 4475|       |
 4476|      2|            "uint16_t   clamp(uint16_t x, uint16_t minVal, uint16_t maxVal);"
 4477|      2|            "u16vec2  clamp(u16vec2  x, uint16_t minVal, uint16_t maxVal);"
 4478|      2|            "u16vec3  clamp(u16vec3  x, uint16_t minVal, uint16_t maxVal);"
 4479|      2|            "u16vec4  clamp(u16vec4  x, uint16_t minVal, uint16_t maxVal);"
 4480|      2|            "u16vec2  clamp(u16vec2  x, u16vec2  minVal, u16vec2  maxVal);"
 4481|      2|            "u16vec3  clamp(u16vec3  x, u16vec3  minVal, u16vec3  maxVal);"
 4482|      2|            "u16vec4  clamp(u16vec4  x, u16vec4  minVal, u16vec4  maxVal);"
 4483|       |
 4484|      2|            "int16_t  mix(int16_t,  int16_t,  bool);"
 4485|      2|            "i16vec2  mix(i16vec2,  i16vec2,  bvec2);"
 4486|      2|            "i16vec3  mix(i16vec3,  i16vec3,  bvec3);"
 4487|      2|            "i16vec4  mix(i16vec4,  i16vec4,  bvec4);"
 4488|      2|            "uint16_t mix(uint16_t, uint16_t, bool);"
 4489|      2|            "u16vec2  mix(u16vec2,  u16vec2,  bvec2);"
 4490|      2|            "u16vec3  mix(u16vec3,  u16vec3,  bvec3);"
 4491|      2|            "u16vec4  mix(u16vec4,  u16vec4,  bvec4);"
 4492|       |
 4493|      2|            "float16_t frexp(float16_t, out int16_t);"
 4494|      2|            "f16vec2   frexp(f16vec2,   out i16vec2);"
 4495|      2|            "f16vec3   frexp(f16vec3,   out i16vec3);"
 4496|      2|            "f16vec4   frexp(f16vec4,   out i16vec4);"
 4497|       |
 4498|      2|            "float16_t ldexp(float16_t, int16_t);"
 4499|      2|            "f16vec2   ldexp(f16vec2,   i16vec2);"
 4500|      2|            "f16vec3   ldexp(f16vec3,   i16vec3);"
 4501|      2|            "f16vec4   ldexp(f16vec4,   i16vec4);"
 4502|       |
 4503|      2|            "int16_t halfBitsToInt16(float16_t);"
 4504|      2|            "i16vec2 halfBitsToInt16(f16vec2);"
 4505|      2|            "i16vec3 halhBitsToInt16(f16vec3);"
 4506|      2|            "i16vec4 halfBitsToInt16(f16vec4);"
 4507|       |
 4508|      2|            "uint16_t halfBitsToUint16(float16_t);"
 4509|      2|            "u16vec2  halfBitsToUint16(f16vec2);"
 4510|      2|            "u16vec3  halfBitsToUint16(f16vec3);"
 4511|      2|            "u16vec4  halfBitsToUint16(f16vec4);"
 4512|       |
 4513|      2|            "int16_t float16BitsToInt16(float16_t);"
 4514|      2|            "i16vec2 float16BitsToInt16(f16vec2);"
 4515|      2|            "i16vec3 float16BitsToInt16(f16vec3);"
 4516|      2|            "i16vec4 float16BitsToInt16(f16vec4);"
 4517|       |
 4518|      2|            "uint16_t float16BitsToUint16(float16_t);"
 4519|      2|            "u16vec2  float16BitsToUint16(f16vec2);"
 4520|      2|            "u16vec3  float16BitsToUint16(f16vec3);"
 4521|      2|            "u16vec4  float16BitsToUint16(f16vec4);"
 4522|       |
 4523|      2|            "float16_t int16BitsToFloat16(int16_t);"
 4524|      2|            "f16vec2   int16BitsToFloat16(i16vec2);"
 4525|      2|            "f16vec3   int16BitsToFloat16(i16vec3);"
 4526|      2|            "f16vec4   int16BitsToFloat16(i16vec4);"
 4527|       |
 4528|      2|            "float16_t uint16BitsToFloat16(uint16_t);"
 4529|      2|            "f16vec2   uint16BitsToFloat16(u16vec2);"
 4530|      2|            "f16vec3   uint16BitsToFloat16(u16vec3);"
 4531|      2|            "f16vec4   uint16BitsToFloat16(u16vec4);"
 4532|       |
 4533|      2|            "float16_t int16BitsToHalf(int16_t);"
 4534|      2|            "f16vec2   int16BitsToHalf(i16vec2);"
 4535|      2|            "f16vec3   int16BitsToHalf(i16vec3);"
 4536|      2|            "f16vec4   int16BitsToHalf(i16vec4);"
 4537|       |
 4538|      2|            "float16_t uint16BitsToHalf(uint16_t);"
 4539|      2|            "f16vec2   uint16BitsToHalf(u16vec2);"
 4540|      2|            "f16vec3   uint16BitsToHalf(u16vec3);"
 4541|      2|            "f16vec4   uint16BitsToHalf(u16vec4);"
 4542|       |
 4543|      2|            "int      packInt2x16(i16vec2);"
 4544|      2|            "uint     packUint2x16(u16vec2);"
 4545|      2|            "int64_t  packInt4x16(i16vec4);"
 4546|      2|            "uint64_t packUint4x16(u16vec4);"
 4547|      2|            "i16vec2  unpackInt2x16(int);"
 4548|      2|            "u16vec2  unpackUint2x16(uint);"
 4549|      2|            "i16vec4  unpackInt4x16(int64_t);"
 4550|      2|            "u16vec4  unpackUint4x16(uint64_t);"
 4551|       |
 4552|      2|            "bvec2 lessThan(i16vec2, i16vec2);"
 4553|      2|            "bvec3 lessThan(i16vec3, i16vec3);"
 4554|      2|            "bvec4 lessThan(i16vec4, i16vec4);"
 4555|      2|            "bvec2 lessThan(u16vec2, u16vec2);"
 4556|      2|            "bvec3 lessThan(u16vec3, u16vec3);"
 4557|      2|            "bvec4 lessThan(u16vec4, u16vec4);"
 4558|       |
 4559|      2|            "bvec2 lessThanEqual(i16vec2, i16vec2);"
 4560|      2|            "bvec3 lessThanEqual(i16vec3, i16vec3);"
 4561|      2|            "bvec4 lessThanEqual(i16vec4, i16vec4);"
 4562|      2|            "bvec2 lessThanEqual(u16vec2, u16vec2);"
 4563|      2|            "bvec3 lessThanEqual(u16vec3, u16vec3);"
 4564|      2|            "bvec4 lessThanEqual(u16vec4, u16vec4);"
 4565|       |
 4566|      2|            "bvec2 greaterThan(i16vec2, i16vec2);"
 4567|      2|            "bvec3 greaterThan(i16vec3, i16vec3);"
 4568|      2|            "bvec4 greaterThan(i16vec4, i16vec4);"
 4569|      2|            "bvec2 greaterThan(u16vec2, u16vec2);"
 4570|      2|            "bvec3 greaterThan(u16vec3, u16vec3);"
 4571|      2|            "bvec4 greaterThan(u16vec4, u16vec4);"
 4572|       |
 4573|      2|            "bvec2 greaterThanEqual(i16vec2, i16vec2);"
 4574|      2|            "bvec3 greaterThanEqual(i16vec3, i16vec3);"
 4575|      2|            "bvec4 greaterThanEqual(i16vec4, i16vec4);"
 4576|      2|            "bvec2 greaterThanEqual(u16vec2, u16vec2);"
 4577|      2|            "bvec3 greaterThanEqual(u16vec3, u16vec3);"
 4578|      2|            "bvec4 greaterThanEqual(u16vec4, u16vec4);"
 4579|       |
 4580|      2|            "bvec2 equal(i16vec2, i16vec2);"
 4581|      2|            "bvec3 equal(i16vec3, i16vec3);"
 4582|      2|            "bvec4 equal(i16vec4, i16vec4);"
 4583|      2|            "bvec2 equal(u16vec2, u16vec2);"
 4584|      2|            "bvec3 equal(u16vec3, u16vec3);"
 4585|      2|            "bvec4 equal(u16vec4, u16vec4);"
 4586|       |
 4587|      2|            "bvec2 notEqual(i16vec2, i16vec2);"
 4588|      2|            "bvec3 notEqual(i16vec3, i16vec3);"
 4589|      2|            "bvec4 notEqual(i16vec4, i16vec4);"
 4590|      2|            "bvec2 notEqual(u16vec2, u16vec2);"
 4591|      2|            "bvec3 notEqual(u16vec3, u16vec3);"
 4592|      2|            "bvec4 notEqual(u16vec4, u16vec4);"
 4593|       |
 4594|      2|            "  int16_t bitfieldExtract(  int16_t, int16_t, int16_t);"
 4595|      2|            "i16vec2 bitfieldExtract(i16vec2, int16_t, int16_t);"
 4596|      2|            "i16vec3 bitfieldExtract(i16vec3, int16_t, int16_t);"
 4597|      2|            "i16vec4 bitfieldExtract(i16vec4, int16_t, int16_t);"
 4598|       |
 4599|      2|            " uint16_t bitfieldExtract( uint16_t, int16_t, int16_t);"
 4600|      2|            "u16vec2 bitfieldExtract(u16vec2, int16_t, int16_t);"
 4601|      2|            "u16vec3 bitfieldExtract(u16vec3, int16_t, int16_t);"
 4602|      2|            "u16vec4 bitfieldExtract(u16vec4, int16_t, int16_t);"
 4603|       |
 4604|      2|            "  int16_t bitfieldInsert(  int16_t base,   int16_t, int16_t, int16_t);"
 4605|      2|            "i16vec2 bitfieldInsert(i16vec2 base, i16vec2, int16_t, int16_t);"
 4606|      2|            "i16vec3 bitfieldInsert(i16vec3 base, i16vec3, int16_t, int16_t);"
 4607|      2|            "i16vec4 bitfieldInsert(i16vec4 base, i16vec4, int16_t, int16_t);"
 4608|       |
 4609|      2|            " uint16_t bitfieldInsert( uint16_t base,  uint16_t, int16_t, int16_t);"
 4610|      2|            "u16vec2 bitfieldInsert(u16vec2 base, u16vec2, int16_t, int16_t);"
 4611|      2|            "u16vec3 bitfieldInsert(u16vec3 base, u16vec3, int16_t, int16_t);"
 4612|      2|            "u16vec4 bitfieldInsert(u16vec4 base, u16vec4, int16_t, int16_t);"
 4613|       |
 4614|      2|            "  int16_t bitCount(  int16_t);"
 4615|      2|            "i16vec2 bitCount(i16vec2);"
 4616|      2|            "i16vec3 bitCount(i16vec3);"
 4617|      2|            "i16vec4 bitCount(i16vec4);"
 4618|       |
 4619|      2|            "  int16_t bitCount( uint16_t);"
 4620|      2|            "i16vec2 bitCount(u16vec2);"
 4621|      2|            "i16vec3 bitCount(u16vec3);"
 4622|      2|            "i16vec4 bitCount(u16vec4);"
 4623|       |
 4624|      2|            "int16_t bitfieldReverse(highp int16_t);"
 4625|      2|            "i16vec2 bitfieldReverse(highp i16vec2);"
 4626|      2|            "i16vec3 bitfieldReverse(highp i16vec3);"
 4627|      2|            "i16vec4 bitfieldReverse(highp i16vec4);"
 4628|       |
 4629|      2|            "uint16_t bitfieldReverse(highp uint16_t);"
 4630|      2|            "u16vec2  bitfieldReverse(highp u16vec2);"
 4631|      2|            "u16vec3  bitfieldReverse(highp u16vec3);"
 4632|      2|            "u16vec4  bitfieldReverse(highp u16vec4);"
 4633|       |
 4634|      2|            "  int16_t findLSB(  int16_t);"
 4635|      2|            "i16vec2 findLSB(i16vec2);"
 4636|      2|            "i16vec3 findLSB(i16vec3);"
 4637|      2|            "i16vec4 findLSB(i16vec4);"
 4638|       |
 4639|      2|            "  int16_t findLSB( uint16_t);"
 4640|      2|            "i16vec2 findLSB(u16vec2);"
 4641|      2|            "i16vec3 findLSB(u16vec3);"
 4642|      2|            "i16vec4 findLSB(u16vec4);"
 4643|       |
 4644|      2|            "  int16_t findMSB(  int16_t);"
 4645|      2|            "i16vec2 findMSB(i16vec2);"
 4646|      2|            "i16vec3 findMSB(i16vec3);"
 4647|      2|            "i16vec4 findMSB(i16vec4);"
 4648|       |
 4649|      2|            "  int16_t findMSB( uint16_t);"
 4650|      2|            "i16vec2 findMSB(u16vec2);"
 4651|      2|            "i16vec3 findMSB(u16vec3);"
 4652|      2|            "i16vec4 findMSB(u16vec4);"
 4653|       |
 4654|      2|            "int16_t  pack16(i8vec2);"
 4655|      2|            "uint16_t pack16(u8vec2);"
 4656|      2|            "int32_t  pack32(i8vec4);"
 4657|      2|            "uint32_t pack32(u8vec4);"
 4658|      2|            "int32_t  pack32(i16vec2);"
 4659|      2|            "uint32_t pack32(u16vec2);"
 4660|      2|            "int64_t  pack64(i16vec4);"
 4661|      2|            "uint64_t pack64(u16vec4);"
 4662|      2|            "int64_t  pack64(i32vec2);"
 4663|      2|            "uint64_t pack64(u32vec2);"
 4664|       |
 4665|      2|            "i8vec2   unpack8(int16_t);"
 4666|      2|            "u8vec2   unpack8(uint16_t);"
 4667|      2|            "i8vec4   unpack8(int32_t);"
 4668|      2|            "u8vec4   unpack8(uint32_t);"
 4669|      2|            "i16vec2  unpack16(int32_t);"
 4670|      2|            "u16vec2  unpack16(uint32_t);"
 4671|      2|            "i16vec4  unpack16(int64_t);"
 4672|      2|            "u16vec4  unpack16(uint64_t);"
 4673|      2|            "i32vec2  unpack32(int64_t);"
 4674|      2|            "u32vec2  unpack32(uint64_t);"
 4675|       |
 4676|       |            // GL_EXT_expect_assume
 4677|      2|            "int8_t expectEXT(int8_t, int8_t);"
 4678|      2|            "i8vec2 expectEXT(i8vec2, i8vec2);"
 4679|      2|            "i8vec3 expectEXT(i8vec3, i8vec3);"
 4680|      2|            "i8vec4 expectEXT(i8vec4, i8vec4);"
 4681|       |
 4682|      2|            "uint8_t expectEXT(uint8_t, uint8_t);"
 4683|      2|            "u8vec2 expectEXT(u8vec2, u8vec2);"
 4684|      2|            "u8vec3 expectEXT(u8vec3, u8vec3);"
 4685|      2|            "u8vec4 expectEXT(u8vec4, u8vec4);"
 4686|       |
 4687|      2|            "int16_t expectEXT(int16_t, int16_t);"
 4688|      2|            "i16vec2 expectEXT(i16vec2, i16vec2);"
 4689|      2|            "i16vec3 expectEXT(i16vec3, i16vec3);"
 4690|      2|            "i16vec4 expectEXT(i16vec4, i16vec4);"
 4691|       |
 4692|      2|            "uint16_t expectEXT(uint16_t, uint16_t);"
 4693|      2|            "u16vec2 expectEXT(u16vec2, u16vec2);"
 4694|      2|            "u16vec3 expectEXT(u16vec3, u16vec3);"
 4695|      2|            "u16vec4 expectEXT(u16vec4, u16vec4);"
 4696|       |
 4697|      2|            "int64_t expectEXT(int64_t, int64_t);"
 4698|      2|            "i64vec2 expectEXT(i64vec2, i64vec2);"
 4699|      2|            "i64vec3 expectEXT(i64vec3, i64vec3);"
 4700|      2|            "i64vec4 expectEXT(i64vec4, i64vec4);"
 4701|       |
 4702|      2|            "uint64_t expectEXT(uint64_t, uint64_t);"
 4703|      2|            "u64vec2 expectEXT(u64vec2, u64vec2);"
 4704|      2|            "u64vec3 expectEXT(u64vec3, u64vec3);"
 4705|      2|            "u64vec4 expectEXT(u64vec4, u64vec4);"
 4706|      2|            "\n");
 4707|      2|    }
 4708|       |
 4709|       |    // Builtins for GL_EXT_texture_shadow_lod
 4710|     36|    if ((profile == EEsProfile && version >= 300) || ((profile != EEsProfile && version >= 130))) { 
  ------------------
  |  Branch (4710:10): [True: 34, False: 2]
  |  Branch (4710:35): [True: 0, False: 34]
  |  Branch (4710:56): [True: 2, False: 34]
  |  Branch (4710:81): [True: 2, False: 0]
  ------------------
 4711|      2|        commonBuiltins.append(
 4712|      2|            "float texture(sampler2DArrayShadow, vec4, float);"
 4713|      2|            "float texture(samplerCubeArrayShadow, vec4, float, float);"
 4714|      2|            "float textureLod(sampler2DArrayShadow, vec4, float);"
 4715|      2|            "float textureLod(samplerCubeShadow, vec4, float);"
 4716|      2|            "float textureLod(samplerCubeArrayShadow, vec4, float, float);"
 4717|      2|            "float textureLodOffset(sampler2DArrayShadow, vec4, float, ivec2);"
 4718|      2|            "float textureOffset(sampler2DArrayShadow, vec4 , ivec2, float);"
 4719|      2|            "\n");
 4720|      2|    }
 4721|       |
 4722|     36|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (4722:9): [True: 2, False: 34]
  |  Branch (4722:34): [True: 2, False: 0]
  ------------------
 4723|      2|        stageBuiltins[EShLangFragment].append(derivativesAndControl64bits);
 4724|      2|        stageBuiltins[EShLangFragment].append(
 4725|      2|            "float64_t interpolateAtCentroid(float64_t);"
 4726|      2|            "f64vec2   interpolateAtCentroid(f64vec2);"
 4727|      2|            "f64vec3   interpolateAtCentroid(f64vec3);"
 4728|      2|            "f64vec4   interpolateAtCentroid(f64vec4);"
 4729|       |
 4730|      2|            "float64_t interpolateAtSample(float64_t, int);"
 4731|      2|            "f64vec2   interpolateAtSample(f64vec2,   int);"
 4732|      2|            "f64vec3   interpolateAtSample(f64vec3,   int);"
 4733|      2|            "f64vec4   interpolateAtSample(f64vec4,   int);"
 4734|       |
 4735|      2|            "float64_t interpolateAtOffset(float64_t, f64vec2);"
 4736|      2|            "f64vec2   interpolateAtOffset(f64vec2,   f64vec2);"
 4737|      2|            "f64vec3   interpolateAtOffset(f64vec3,   f64vec2);"
 4738|      2|            "f64vec4   interpolateAtOffset(f64vec4,   f64vec2);"
 4739|       |
 4740|      2|            "\n");
 4741|       |
 4742|      2|    }
 4743|       |
 4744|       |    // GL_EXT_expect_assume
 4745|     36|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (4745:10): [True: 34, False: 2]
  |  Branch (4745:35): [True: 0, False: 34]
  ------------------
 4746|     36|         ((profile != EEsProfile && version >= 140))) {
  ------------------
  |  Branch (4746:12): [True: 2, False: 34]
  |  Branch (4746:37): [True: 2, False: 0]
  ------------------
 4747|      2|        commonBuiltins.append(
 4748|      2|            "void assumeEXT(bool);"
 4749|       |
 4750|      2|            "bool expectEXT(bool, bool);"
 4751|      2|            "bvec2 expectEXT(bvec2, bvec2);"
 4752|      2|            "bvec3 expectEXT(bvec3, bvec3);"
 4753|      2|            "bvec4 expectEXT(bvec4, bvec4);"
 4754|       |
 4755|      2|            "int expectEXT(int, int);"
 4756|      2|            "ivec2 expectEXT(ivec2, ivec2);"
 4757|      2|            "ivec3 expectEXT(ivec3, ivec3);"
 4758|      2|            "ivec4 expectEXT(ivec4, ivec4);"
 4759|       |
 4760|      2|            "uint expectEXT(uint, uint);"
 4761|      2|            "uvec2 expectEXT(uvec2, uvec2);"
 4762|      2|            "uvec3 expectEXT(uvec3, uvec3);"
 4763|      2|            "uvec4 expectEXT(uvec4, uvec4);"
 4764|      2|            "\n");
 4765|      2|    }
 4766|       |
 4767|       |    // QCOM_image_processing
 4768|     36|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (4768:10): [True: 34, False: 2]
  |  Branch (4768:35): [True: 0, False: 34]
  ------------------
 4769|     36|         (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (4769:11): [True: 2, False: 34]
  |  Branch (4769:36): [True: 2, False: 0]
  ------------------
 4770|      2|        commonBuiltins.append(
 4771|      2|           "vec4 textureWeightedQCOM(sampler2D, vec2, sampler2DArray);"
 4772|      2|           "vec4 textureWeightedQCOM(sampler2D, vec2, sampler1DArray);"
 4773|      2|           "vec4 textureBoxFilterQCOM(sampler2D, vec2, vec2);"
 4774|      2|           "vec4 textureBlockMatchSADQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4775|      2|           "vec4 textureBlockMatchSSDQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4776|       |
 4777|      2|           "vec4 textureBlockMatchWindowSSDQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4778|      2|           "vec4 textureBlockMatchWindowSADQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4779|      2|           "vec4 textureBlockMatchGatherSSDQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4780|      2|           "vec4 textureBlockMatchGatherSADQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4781|      2|           "\n");
 4782|      2|    }
 4783|       |
 4784|       |    //============================================================================
 4785|       |    //
 4786|       |    // Prototypes for built-in functions seen by vertex shaders only.
 4787|       |    // (Except legacy lod functions, where it depends which release they are
 4788|       |    // vertex only.)
 4789|       |    //
 4790|       |    //============================================================================
 4791|       |
 4792|       |    //
 4793|       |    // Geometric Functions.
 4794|       |    //
 4795|     36|    if (spvVersion.vulkan == 0 && IncludeLegacy(version, profile, spvVersion))
  ------------------
  |  Branch (4795:9): [True: 36, False: 0]
  |  Branch (4795:35): [True: 0, False: 36]
  ------------------
 4796|      0|        stageBuiltins[EShLangVertex].append("vec4 ftransform();");
 4797|       |
 4798|       |    //
 4799|       |    // Original-style texture Functions with lod.
 4800|       |    //
 4801|     36|    TString* s;
 4802|     36|    if (version == 100)
  ------------------
  |  Branch (4802:9): [True: 34, False: 2]
  ------------------
 4803|     34|        s = &stageBuiltins[EShLangVertex];
 4804|      2|    else
 4805|      2|        s = &commonBuiltins;
 4806|     36|    if ((profile == EEsProfile && version == 100) ||
  ------------------
  |  Branch (4806:10): [True: 34, False: 2]
  |  Branch (4806:35): [True: 34, False: 0]
  ------------------
 4807|      2|         profile == ECompatibilityProfile ||
  ------------------
  |  Branch (4807:10): [True: 0, False: 2]
  ------------------
 4808|      2|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (4808:10): [True: 2, False: 0]
  |  Branch (4808:37): [True: 0, False: 2]
  ------------------
 4809|     34|         profile == ENoProfile) {
  ------------------
  |  Branch (4809:10): [True: 0, False: 2]
  ------------------
 4810|     34|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (4810:13): [True: 34, False: 0]
  ------------------
 4811|     34|            s->append(
 4812|     34|                "vec4 texture2DLod(sampler2D, vec2, float);"         // GL_ARB_shader_texture_lod
 4813|     34|                "vec4 texture2DProjLod(sampler2D, vec3, float);"     // GL_ARB_shader_texture_lod
 4814|     34|                "vec4 texture2DProjLod(sampler2D, vec4, float);"     // GL_ARB_shader_texture_lod
 4815|     34|                "vec4 texture3DLod(sampler3D, vec3, float);"         // GL_ARB_shader_texture_lod  // OES_texture_3D, but caught by keyword check
 4816|     34|                "vec4 texture3DProjLod(sampler3D, vec4, float);"     // GL_ARB_shader_texture_lod  // OES_texture_3D, but caught by keyword check
 4817|     34|                "vec4 textureCubeLod(samplerCube, vec3, float);"     // GL_ARB_shader_texture_lod
 4818|       |
 4819|     34|                "\n");
 4820|     34|        }
 4821|     34|    }
 4822|     36|    if ( profile == ECompatibilityProfile ||
  ------------------
  |  Branch (4822:10): [True: 0, False: 36]
  ------------------
 4823|     36|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (4823:10): [True: 2, False: 34]
  |  Branch (4823:37): [True: 0, False: 2]
  ------------------
 4824|     36|         profile == ENoProfile) {
  ------------------
  |  Branch (4824:10): [True: 0, False: 36]
  ------------------
 4825|      0|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (4825:13): [True: 0, False: 0]
  ------------------
 4826|      0|            s->append(
 4827|      0|                "vec4 texture1DLod(sampler1D, float, float);"                          // GL_ARB_shader_texture_lod
 4828|      0|                "vec4 texture1DProjLod(sampler1D, vec2, float);"                       // GL_ARB_shader_texture_lod
 4829|      0|                "vec4 texture1DProjLod(sampler1D, vec4, float);"                       // GL_ARB_shader_texture_lod
 4830|      0|                "vec4 shadow1DLod(sampler1DShadow, vec3, float);"                      // GL_ARB_shader_texture_lod
 4831|      0|                "vec4 shadow2DLod(sampler2DShadow, vec3, float);"                      // GL_ARB_shader_texture_lod
 4832|      0|                "vec4 shadow1DProjLod(sampler1DShadow, vec4, float);"                  // GL_ARB_shader_texture_lod
 4833|      0|                "vec4 shadow2DProjLod(sampler2DShadow, vec4, float);"                  // GL_ARB_shader_texture_lod
 4834|       |
 4835|      0|                "vec4 texture1DGradARB(sampler1D, float, float, float);"               // GL_ARB_shader_texture_lod
 4836|      0|                "vec4 texture1DProjGradARB(sampler1D, vec2, float, float);"            // GL_ARB_shader_texture_lod
 4837|      0|                "vec4 texture1DProjGradARB(sampler1D, vec4, float, float);"            // GL_ARB_shader_texture_lod
 4838|      0|                "vec4 texture2DGradARB(sampler2D, vec2, vec2, vec2);"                  // GL_ARB_shader_texture_lod
 4839|      0|                "vec4 texture2DProjGradARB(sampler2D, vec3, vec2, vec2);"              // GL_ARB_shader_texture_lod
 4840|      0|                "vec4 texture2DProjGradARB(sampler2D, vec4, vec2, vec2);"              // GL_ARB_shader_texture_lod
 4841|      0|                "vec4 texture3DGradARB(sampler3D, vec3, vec3, vec3);"                  // GL_ARB_shader_texture_lod
 4842|      0|                "vec4 texture3DProjGradARB(sampler3D, vec4, vec3, vec3);"              // GL_ARB_shader_texture_lod
 4843|      0|                "vec4 textureCubeGradARB(samplerCube, vec3, vec3, vec3);"              // GL_ARB_shader_texture_lod
 4844|      0|                "vec4 shadow1DGradARB(sampler1DShadow, vec3, float, float);"           // GL_ARB_shader_texture_lod
 4845|      0|                "vec4 shadow1DProjGradARB( sampler1DShadow, vec4, float, float);"      // GL_ARB_shader_texture_lod
 4846|      0|                "vec4 shadow2DGradARB(sampler2DShadow, vec3, vec2, vec2);"             // GL_ARB_shader_texture_lod
 4847|      0|                "vec4 shadow2DProjGradARB( sampler2DShadow, vec4, vec2, vec2);"        // GL_ARB_shader_texture_lod
 4848|      0|                "vec4 texture2DRectGradARB(sampler2DRect, vec2, vec2, vec2);"          // GL_ARB_shader_texture_lod
 4849|      0|                "vec4 texture2DRectProjGradARB( sampler2DRect, vec3, vec2, vec2);"     // GL_ARB_shader_texture_lod
 4850|      0|                "vec4 texture2DRectProjGradARB( sampler2DRect, vec4, vec2, vec2);"     // GL_ARB_shader_texture_lod
 4851|      0|                "vec4 shadow2DRectGradARB( sampler2DRectShadow, vec3, vec2, vec2);"    // GL_ARB_shader_texture_lod
 4852|      0|                "vec4 shadow2DRectProjGradARB(sampler2DRectShadow, vec4, vec2, vec2);" // GL_ARB_shader_texture_lod
 4853|       |
 4854|      0|                "\n");
 4855|      0|        }
 4856|      0|    }
 4857|       |
 4858|     36|    if ((profile != EEsProfile && version >= 150) ||
  ------------------
  |  Branch (4858:10): [True: 2, False: 34]
  |  Branch (4858:35): [True: 2, False: 0]
  ------------------
 4859|     34|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (4859:10): [True: 34, False: 0]
  |  Branch (4859:35): [True: 0, False: 34]
  ------------------
 4860|       |        //============================================================================
 4861|       |        //
 4862|       |        // Prototypes for built-in functions seen by geometry shaders only.
 4863|       |        //
 4864|       |        //============================================================================
 4865|      2|        if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (4865:13): [True: 2, False: 0]
  |  Branch (4865:38): [True: 2, False: 0]
  ------------------
 4866|      2|            stageBuiltins[EShLangGeometry].append(
 4867|      2|                "void EmitStreamVertex(int);"
 4868|      2|                "void EndStreamPrimitive(int);"
 4869|      2|                );
 4870|      2|        }
 4871|      2|        stageBuiltins[EShLangGeometry].append(
 4872|      2|            "void EmitVertex();"
 4873|      2|            "void EndPrimitive();"
 4874|      2|            "\n");
 4875|      2|    }
 4876|       |
 4877|       |    //============================================================================
 4878|       |    //
 4879|       |    // Prototypes for all control functions.
 4880|       |    //
 4881|       |    //============================================================================
 4882|     36|    bool esBarrier = (profile == EEsProfile && version >= 310);
  ------------------
  |  Branch (4882:23): [True: 34, False: 2]
  |  Branch (4882:48): [True: 0, False: 34]
  ------------------
 4883|     36|    if ((profile != EEsProfile && version >= 150) || esBarrier)
  ------------------
  |  Branch (4883:10): [True: 2, False: 34]
  |  Branch (4883:35): [True: 2, False: 0]
  |  Branch (4883:54): [True: 0, False: 34]
  ------------------
 4884|      2|        stageBuiltins[EShLangTessControl].append(
 4885|      2|            "void barrier();"
 4886|      2|            );
 4887|     36|    if ((profile != EEsProfile && version >= 420) || esBarrier)
  ------------------
  |  Branch (4887:10): [True: 2, False: 34]
  |  Branch (4887:35): [True: 2, False: 0]
  |  Branch (4887:54): [True: 0, False: 34]
  ------------------
 4888|      2|        stageBuiltins[EShLangCompute].append(
 4889|      2|            "void barrier();"
 4890|      2|            );
 4891|     36|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (4891:10): [True: 2, False: 34]
  |  Branch (4891:35): [True: 2, False: 0]
  |  Branch (4891:55): [True: 34, False: 0]
  |  Branch (4891:80): [True: 0, False: 34]
  ------------------
 4892|      2|        stageBuiltins[EShLangMesh].append(
 4893|      2|            "void barrier();"
 4894|      2|            );
 4895|      2|        stageBuiltins[EShLangTask].append(
 4896|      2|            "void barrier();"
 4897|      2|            );
 4898|      2|    }
 4899|     36|    if ((profile != EEsProfile && version >= 420) || esBarrier)
  ------------------
  |  Branch (4899:10): [True: 2, False: 34]
  |  Branch (4899:35): [True: 2, False: 0]
  |  Branch (4899:54): [True: 0, False: 34]
  ------------------
 4900|      2|        stageBuiltins[EShLangCompute].append(
 4901|      2|            "void controlBarrierArrive();"
 4902|      2|            "void controlBarrierWait();"
 4903|      2|            );
 4904|     36|    if ((profile != EEsProfile && version >= 130) || esBarrier)
  ------------------
  |  Branch (4904:10): [True: 2, False: 34]
  |  Branch (4904:35): [True: 2, False: 0]
  |  Branch (4904:54): [True: 0, False: 34]
  ------------------
 4905|      2|        commonBuiltins.append(
 4906|      2|            "void memoryBarrier();"
 4907|      2|            );
 4908|     36|    if ((profile != EEsProfile && version >= 420) || esBarrier) {
  ------------------
  |  Branch (4908:10): [True: 2, False: 34]
  |  Branch (4908:35): [True: 2, False: 0]
  |  Branch (4908:54): [True: 0, False: 34]
  ------------------
 4909|      2|        commonBuiltins.append(
 4910|      2|            "void memoryBarrierBuffer();"
 4911|      2|            );
 4912|      2|        stageBuiltins[EShLangCompute].append(
 4913|      2|            "void memoryBarrierShared();"
 4914|      2|            "void groupMemoryBarrier();"
 4915|      2|            );
 4916|      2|    }
 4917|     36|    if ((profile != EEsProfile && version >= 420) || esBarrier) {
  ------------------
  |  Branch (4917:10): [True: 2, False: 34]
  |  Branch (4917:35): [True: 2, False: 0]
  |  Branch (4917:54): [True: 0, False: 34]
  ------------------
 4918|      2|        if (spvVersion.vulkan == 0 || spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (4918:13): [True: 2, False: 0]
  |  Branch (4918:39): [True: 0, False: 0]
  ------------------
 4919|      2|            commonBuiltins.append("void memoryBarrierAtomicCounter();");
 4920|      2|        }
 4921|      2|        commonBuiltins.append("void memoryBarrierImage();");
 4922|      2|    }
 4923|     36|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (4923:10): [True: 2, False: 34]
  |  Branch (4923:35): [True: 2, False: 0]
  |  Branch (4923:55): [True: 34, False: 0]
  |  Branch (4923:80): [True: 0, False: 34]
  ------------------
 4924|      2|        stageBuiltins[EShLangMesh].append(
 4925|      2|            "void memoryBarrierShared();"
 4926|      2|            "void groupMemoryBarrier();"
 4927|      2|        );
 4928|      2|        stageBuiltins[EShLangTask].append(
 4929|      2|            "void memoryBarrierShared();"
 4930|      2|            "void groupMemoryBarrier();"
 4931|      2|        );
 4932|      2|    }
 4933|       |
 4934|     36|    commonBuiltins.append("void controlBarrier(int, int, int, int);\n"
 4935|     36|                          "void memoryBarrier(int, int, int);\n");
 4936|       |
 4937|     36|    commonBuiltins.append("void controlBarrierArrive(int, int, int, int);\n"
 4938|     36|                          "void controlBarrierWait(int, int, int, int);\n");
 4939|       |
 4940|     36|    commonBuiltins.append("void debugPrintfEXT();\n");
 4941|       |
 4942|     36|    commonBuiltins.append("void abortEXT();\n");
 4943|       |
 4944|     36|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (4944:9): [True: 2, False: 34]
  |  Branch (4944:34): [True: 2, False: 0]
  ------------------
 4945|       |        // coopMatStoreNV perhaps ought to have "out" on the buf parameter, but
 4946|       |        // adding it introduces undesirable tempArgs on the stack. What we want
 4947|       |        // is more like "buf" thought of as a pointer value being an in parameter.
 4948|      2|        stageBuiltins[EShLangCompute].append(
 4949|      2|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal float16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4950|      2|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal float[] buf, uint element, uint stride, bool colMajor);\n"
 4951|      2|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4952|      2|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4953|      2|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4954|      2|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4955|      2|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4956|      2|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4957|       |
 4958|      2|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal float16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4959|      2|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal float[] buf, uint element, uint stride, bool colMajor);\n"
 4960|      2|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal float64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4961|      2|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4962|      2|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4963|      2|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4964|      2|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4965|      2|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4966|      2|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4967|       |
 4968|      2|            "fcoopmatNV coopMatMulAddNV(fcoopmatNV A, fcoopmatNV B, fcoopmatNV C);\n"
 4969|      2|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4970|      2|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4971|      2|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 4972|      2|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4973|      2|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 4974|      2|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 4975|      2|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4976|      2|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4977|      2|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4978|      2|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4979|      2|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4980|      2|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4981|       |
 4982|      2|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4983|      2|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4984|      2|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 4985|      2|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4986|      2|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 4987|      2|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 4988|      2|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4989|      2|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4990|      2|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4991|      2|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4992|      2|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4993|      2|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4994|       |
 4995|      2|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4996|      2|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4997|      2|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 4998|      2|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4999|      2|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 5000|      2|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 5001|      2|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 5002|      2|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 5003|      2|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 5004|      2|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 5005|      2|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 5006|      2|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 5007|       |
 5008|      2|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 5009|      2|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 5010|      2|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 5011|      2|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 5012|      2|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 5013|      2|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 5014|      2|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 5015|      2|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 5016|      2|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 5017|      2|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 5018|      2|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 5019|      2|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 5020|       |
 5021|      2|            "icoopmatNV coopMatMulAddNV(icoopmatNV A, icoopmatNV B, icoopmatNV C);\n"
 5022|      2|            "ucoopmatNV coopMatMulAddNV(ucoopmatNV A, ucoopmatNV B, ucoopmatNV C);\n"
 5023|      2|            );
 5024|       |
 5025|      2|        std::stringstream cooperativeMatrixFuncs;
 5026|       |
 5027|      2|        {
 5028|      2|            static const char *allTypes[] =
 5029|      2|            {
 5030|      2|                "float", "vec2", "vec4",
 5031|      2|                "float16_t", "f16vec2", "f16vec4",
 5032|      2|                "bfloat16_t", "bf16vec2", "bf16vec4",
 5033|      2|                "floate5m2_t", "fe5m2vec2", "fe5m2vec4",
 5034|      2|                "floate4m3_t", "fe4m3vec2", "fe4m3vec4",
 5035|      2|                "double", "dvec2", "dvec4",
 5036|      2|                "int8_t", "i8vec2", "i8vec4",
 5037|      2|                "int16_t", "i16vec2", "i16vec4",
 5038|      2|                "int", "ivec2", "ivec4",
 5039|      2|                "int64_t", "i64vec2", "i64vec4",
 5040|      2|                "uint8_t", "u8vec2", "u8vec4",
 5041|      2|                "uint16_t", "u16vec2", "u16vec4",
 5042|      2|                "uint", "uvec2", "uvec4",
 5043|      2|                "uint64_t", "u64vec2", "u64vec4",
 5044|      2|            };
 5045|      4|            for (auto elemTy : {"uint", "uint64_t"}) {
  ------------------
  |  Branch (5045:30): [True: 4, False: 2]
  ------------------
 5046|    168|                for (auto t : allTypes) {
  ------------------
  |  Branch (5046:29): [True: 168, False: 4]
  ------------------
 5047|    168|                    cooperativeMatrixFuncs << "void coopMatLoad(out coopmat m, volatile coherent nontemporal " << t << "[] buf, " << elemTy << " element, uint stride, int matrixLayout);\n";
 5048|    168|                    cooperativeMatrixFuncs << "void coopMatStore(coopmat m, volatile coherent nontemporal " << t << "[] buf, " << elemTy << " element, uint stride, int matrixLayout);\n";
 5049|    168|                }
 5050|       |                // Just use uint8_t for buffer type, we have special matching rules to allow any conversion
 5051|      4|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t);\n";
 5052|      4|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v);\n";
 5053|      4|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, __function f);\n";
 5054|      4|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v, __function f);\n";
 5055|      4|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, __function f, __function g);\n";
 5056|      4|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v, __function f, __function g);\n";
 5057|      4|                cooperativeMatrixFuncs << "void coopMatStoreTensorNV(coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t);\n";
 5058|      4|                cooperativeMatrixFuncs << "void coopMatStoreTensorNV(coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v);\n";
 5059|      4|            }
 5060|      2|        }
 5061|       |
 5062|      2|        cooperativeMatrixFuncs <<
 5063|      2|            "coopmat coopMatMulAdd(coopmat A, coopmat B, coopmat C);\n"
 5064|      2|            "coopmat coopMatMulAdd(coopmat A, coopmat B, coopmat C, int matrixOperands);\n";
 5065|       |
 5066|      2|        commonBuiltins.append(cooperativeMatrixFuncs.str().c_str());
 5067|       |
 5068|      2|        commonBuiltins.append(
 5069|      2|            "const int gl_MatrixUseA = 0;\n"
 5070|      2|            "const int gl_MatrixUseB = 1;\n"
 5071|      2|            "const int gl_MatrixUseAccumulator = 2;\n"
 5072|      2|            "const int gl_MatrixOperandsSaturatingAccumulation = 0x10;\n"
 5073|      2|            "const int gl_CooperativeMatrixLayoutRowMajor = 0;\n"
 5074|      2|            "const int gl_CooperativeMatrixLayoutColumnMajor = 1;\n"
 5075|      2|            "const int gl_CooperativeMatrixLayoutRowBlockedInterleavedARM = 4202;\n"
 5076|      2|            "const int gl_CooperativeMatrixLayoutColumnBlockedInterleavedARM = 4203;\n"
 5077|      2|            "\n"
 5078|      2|            );
 5079|       |
 5080|      2|        commonBuiltins.append(
 5081|      2|            "void coopMatTransposeNV(out coopmat, coopmat);"
 5082|      2|            "void coopMatReduceNV(out coopmat, coopmat, int, __function);"
 5083|      2|            "void coopMatPerElementNV();"
 5084|      2|        );
 5085|       |
 5086|      2|        commonBuiltins.append(
 5087|      2|            "void coopMatTransposeEXT(out coopmat, coopmat);"
 5088|      2|            "void coopMatReduceEXT(out coopmat, coopmat, int, __function);"
 5089|      2|            "void coopMatPerElementEXT();"
 5090|      2|            "uvec2 coopMatGetCoordinateEXT(coopmat, uint index);"
 5091|      2|        );
 5092|       |
 5093|      2|        commonBuiltins.append(
 5094|      2|            "const int gl_CooperativeMatrixReduceRowNV = 0x1;\n"
 5095|      2|            "const int gl_CooperativeMatrixReduceColumnNV = 0x2;\n"
 5096|      2|            "const int gl_CooperativeMatrixReduceRowAndColumnNV = 0x3;\n"
 5097|      2|            "const int gl_CooperativeMatrixReduce2x2NV = 0x4;\n"
 5098|       |
 5099|      2|            "const int gl_CooperativeMatrixReduceRowEXT = 0x1;\n"
 5100|      2|            "const int gl_CooperativeMatrixReduceColumnEXT = 0x2;\n"
 5101|      2|            "const int gl_CooperativeMatrixReduceRowAndColumnEXT = 0x3;\n"
 5102|      2|            "const int gl_CooperativeMatrixReduce2x2EXT = 0x4;\n"
 5103|      2|            "\n"
 5104|      2|            );
 5105|       |
 5106|      2|        commonBuiltins.append(
 5107|      2|            "const int gl_CooperativeMatrixClampModeUndefinedNV = 0x0;\n"
 5108|      2|            "const int gl_CooperativeMatrixClampModeConstantNV = 0x1;\n"
 5109|      2|            "const int gl_CooperativeMatrixClampModeClampToEdgeNV = 0x2;\n"
 5110|      2|            "const int gl_CooperativeMatrixClampModeRepeatNV = 0x3;\n"
 5111|      2|            "const int gl_CooperativeMatrixClampModeMirrorRepeatNV = 0x4;\n"
 5112|      2|            "\n"
 5113|      2|            );
 5114|       |
 5115|      2|        {
 5116|      2|          std::stringstream coopMatConvFuncs;
 5117|       |
 5118|      2|          const std::string eltTypes[] = {"uint32_t", "uint", "int32_t", "int", "float32_t", "float", "float16_t"};
 5119|       |
 5120|     14|          for (auto srcEltTy : eltTypes) {
  ------------------
  |  Branch (5120:30): [True: 14, False: 2]
  ------------------
 5121|     98|            for (auto dstEltTy : eltTypes) {
  ------------------
  |  Branch (5121:32): [True: 98, False: 14]
  ------------------
 5122|     98|              coopMatConvFuncs << "void bitcastQCOM(" << srcEltTy.c_str() << " SrcArr[], " << dstEltTy.c_str()
 5123|     98|                << " DstArr[]);\n";
 5124|     98|            }
 5125|     14|          }
 5126|      2|          coopMatConvFuncs << "\n";
 5127|       |
 5128|     16|          for (auto eltTy : {"float32_t", "float16_t", "int8_t", "uint8_t", "uint32_t", "uint", "int32_t", "int"}) {
  ------------------
  |  Branch (5128:27): [True: 16, False: 2]
  ------------------
 5129|     16|            coopMatConvFuncs << "void vectorToCoopmatQCOM(" << eltTy << " SrcVec[], coopmat CM);\n";
 5130|     16|            coopMatConvFuncs << "void coopmatToVectorQCOM(coopmat CM, " << eltTy << " Dstvec[]);\n";
 5131|     16|          }
 5132|       |
 5133|     14|          for (auto eltTy : {"uint32_t", "uint", "int32_t", "int", "float32_t", "float", "float16_t"}) {
  ------------------
  |  Branch (5133:27): [True: 14, False: 2]
  ------------------
 5134|     14|            coopMatConvFuncs << "void extractSubArrayQCOM(" << eltTy << " arr[], uint index, " << eltTy << " subarr[]);\n";
 5135|     14|          }
 5136|       |
 5137|      2|          commonBuiltins.append(coopMatConvFuncs.str().c_str());
 5138|      2|        }
 5139|       |
 5140|      2|        commonBuiltins.append(
 5141|      2|            "tensorLayoutNV createTensorLayoutNV(uint Dim);\n"
 5142|      2|            "tensorLayoutNV createTensorLayoutNV(uint Dim, uint Mode);\n"
 5143|       |
 5144|      2|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0);\n"
 5145|      2|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1);\n"
 5146|      2|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1, uint blockSize2);\n"
 5147|      2|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1, uint blockSize2, uint blockSize3);\n"
 5148|      2|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1, uint blockSize2, uint blockSize3, uint blockSize4);\n"
 5149|       |
 5150|      2|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0);\n"
 5151|      2|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1);\n"
 5152|      2|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1, uint dim2);\n"
 5153|      2|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1, uint dim2, uint dim3);\n"
 5154|      2|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1, uint dim2, uint dim3, uint dim4);\n"
 5155|       |
 5156|      2|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0);\n"
 5157|      2|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1);\n"
 5158|      2|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1, uint stride2);\n"
 5159|      2|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1, uint stride2, uint stride3);\n"
 5160|      2|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1, uint stride2, uint stride3, uint stride4);\n"
 5161|       |
 5162|      2|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0);\n"
 5163|      2|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1);\n"
 5164|      2|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1, uint offset2, uint span2);\n"
 5165|      2|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1, uint offset2, uint span2, uint offset3, uint span3);\n"
 5166|      2|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1, uint offset2, uint span2, uint offset3, uint span3, uint offset4, uint span4);\n"
 5167|       |
 5168|      2|            "tensorLayoutNV setTensorLayoutClampValueNV(tensorLayoutNV t, uint value);\n"
 5169|       |
 5170|      2|            "tensorViewNV createTensorViewNV(uint Dim);\n"
 5171|      2|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions);\n"
 5172|      2|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0);\n"
 5173|      2|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1);\n"
 5174|      2|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1, uint p2);\n"
 5175|      2|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1, uint p2, uint p3);\n"
 5176|      2|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1, uint p2, uint p3, uint p4);\n"
 5177|       |
 5178|      2|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0);\n"
 5179|      2|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1);\n"
 5180|      2|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1, uint dim2);\n"
 5181|      2|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1, uint dim2, uint dim3);\n"
 5182|      2|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1, uint dim2, uint dim3, uint dim4);\n"
 5183|       |
 5184|      2|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0);\n"
 5185|      2|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1);\n"
 5186|      2|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1, uint stride2);\n"
 5187|      2|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1, uint stride2, uint stride3);\n"
 5188|      2|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1, uint stride2, uint stride3, uint stride4);\n"
 5189|       |
 5190|      2|            "tensorViewNV setTensorViewClipNV(tensorViewNV v, uint clipRowOffset, uint clipRowSpan, uint clipColOffset, uint clipColSpan);\n"
 5191|      2|            "\n"
 5192|      2|        );
 5193|       |
 5194|       |        // GL_ARM_tensors builtins.
 5195|      2|        static const char *tensorDataTypesARM[] = {
 5196|      2|            "bool",
 5197|      2|            "int8_t", "int16_t", "int32_t", "int64_t",
 5198|      2|            "uint8_t", "uint16_t", "uint32_t", "uint64_t",
 5199|      2|            "float16_t", "float32_t", "float64_t",
 5200|      2|            "bfloat16_t", "floate5m2_t", "floate4m3_t",
 5201|      2|        };
 5202|      2|        std::ostringstream ostream;
 5203|     30|        for (auto t : tensorDataTypesARM) {
  ------------------
  |  Branch (5203:21): [True: 30, False: 2]
  ------------------
 5204|       |            // Scalar
 5205|     30|            ostream << "void tensorReadARM(readonly tensorARM t, uint coords[], out "
 5206|     30|                    << t << " data, uint tensorOperands = 0U, ...);\n";
 5207|     30|            ostream << "void tensorWriteARM(writeonly tensorARM t, uint coords[], "
 5208|     30|                    << t << " data, uint tensorOperands = 0U, ...);\n";
 5209|       |            // Array
 5210|     30|            ostream << "void tensorReadARM(readonly tensorARM t, uint coords[], "
 5211|     30|                    << t << " data[], uint tensorOperands = 0U, ...);\n";
 5212|     30|            ostream << "void tensorWriteARM(writeonly tensorARM t, uint coords[], "
 5213|     30|                    << t << " data[], uint tensorOperands = 0U, ...);\n";
 5214|     30|        }
 5215|      2|        ostream << "uint tensorSizeARM(readonly writeonly tensorARM t, uint dim);\n";
 5216|      2|        commonBuiltins.append(ostream.str());
 5217|      2|    }
 5218|       |
 5219|     36|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5219:9): [True: 2, False: 34]
  |  Branch (5219:34): [True: 2, False: 0]
  ------------------
 5220|      2|        const char *basicTypes[] = {
 5221|      2|            "int8_t",
 5222|      2|            "int16_t",
 5223|      2|            "int32_t",
 5224|      2|            "int64_t",
 5225|      2|            "uint8_t",
 5226|      2|            "uint16_t",
 5227|      2|            "uint32_t",
 5228|      2|            "uint64_t",
 5229|      2|            "float16_t",
 5230|      2|            "float32_t",
 5231|      2|            "float64_t",
 5232|      2|        };
 5233|      2|        std::string coopVecOffsetTypes[] = {
 5234|      2|            "uint",
 5235|      2|            "uint64_t",
 5236|      2|        };
 5237|      4|        for (auto offsetTy : coopVecOffsetTypes) {
  ------------------
  |  Branch (5237:28): [True: 4, False: 2]
  ------------------
 5238|     48|            for (uint32_t i = 0; i < sizeof(basicTypes)/sizeof(basicTypes[0]); ++i) {
  ------------------
  |  Branch (5238:34): [True: 44, False: 4]
  ------------------
 5239|     44|                std::string func = std::string("void coopVecMatMulNV(out coopvecNV result, ") +
 5240|     44|                                   std::string("coopvecNV v, ") +
 5241|     44|                                   std::string("int inputInterpretation, ") +
 5242|     44|                                   std::string(basicTypes[i]) + std::string("[] matrix, ") +
 5243|     44|                                   offsetTy + std::string(" matrixOffset, ") +
 5244|     44|                                   std::string("int matrixInterpretation, ") +
 5245|     44|                                   std::string("uint M, ") +
 5246|     44|                                   std::string("uint K, ") +
 5247|     44|                                   std::string("int matrixLayout, ") +
 5248|     44|                                   std::string("bool transpose, ") +
 5249|     44|                                   std::string("uint matrixStride);\n");
 5250|     44|                commonBuiltins.append(func.c_str());
 5251|       |
 5252|    528|                for (uint32_t j = 0; j < sizeof(basicTypes)/sizeof(basicTypes[0]); ++j) {
  ------------------
  |  Branch (5252:38): [True: 484, False: 44]
  ------------------
 5253|    484|                    func = std::string("void coopVecMatMulAddNV(out coopvecNV result, ") +
 5254|    484|                           std::string("coopvecNV v, ") +
 5255|    484|                           std::string("int inputInterpretation, ") +
 5256|    484|                           std::string(basicTypes[i]) + std::string("[] matrix, ") +
 5257|    484|                           offsetTy + std::string(" matrixOffset, ") +
 5258|    484|                           std::string("int matrixInterpretation, ") +
 5259|    484|                           std::string(basicTypes[j]) + std::string("[] bias, ") +
 5260|    484|                           offsetTy + std::string(" biasOffset, ") +
 5261|    484|                           std::string("int biasInterpretation, ") +
 5262|    484|                           std::string("uint M, ") +
 5263|    484|                           std::string("uint K, ") +
 5264|    484|                           std::string("int matrixLayout, ") +
 5265|    484|                           std::string("bool transpose, ") +
 5266|    484|                           std::string("uint matrixStride);\n");
 5267|    484|                    commonBuiltins.append(func.c_str());
 5268|    484|                }
 5269|       |
 5270|     44|                func = std::string("void coopVecOuterProductAccumulateNV(coopvecNV v1, coopvecNV v2, ") +
 5271|     44|                       std::string(basicTypes[i]) +
 5272|     44|                       std::string("[] buf, ") + offsetTy + std::string(" offset, uint stride, int matrixLayout, int matrixInterpretation);\n");
 5273|     44|                commonBuiltins.append(func.c_str());
 5274|       |            
 5275|     44|                func = std::string("void coopVecReduceSumAccumulateNV(coopvecNV v, ") +
 5276|     44|                       std::string(basicTypes[i]) +
 5277|     44|                       std::string("[] buf, ") + offsetTy + std::string(" offset);\n");
 5278|     44|                commonBuiltins.append(func.c_str());
 5279|     44|            }
 5280|      4|        }
 5281|      2|        std::string cooperativeVectorFuncs =
 5282|      2|            "coopvecNV fma(coopvecNV, coopvecNV, coopvecNV);\n"
 5283|      2|            "coopvecNV min(coopvecNV, coopvecNV);\n"
 5284|      2|            "coopvecNV max(coopvecNV, coopvecNV);\n"
 5285|      2|            "coopvecNV step(coopvecNV, coopvecNV);\n"
 5286|      2|            "coopvecNV exp(coopvecNV);\n"            
 5287|      2|            "coopvecNV log(coopvecNV);\n"            
 5288|      2|            "coopvecNV tanh(coopvecNV);\n"            
 5289|      2|            "coopvecNV atan(coopvecNV);\n"            
 5290|      2|            "coopvecNV clamp(coopvecNV, coopvecNV, coopvecNV);\n";
 5291|       |
 5292|      2|        commonBuiltins.append(cooperativeVectorFuncs.c_str());
 5293|       |
 5294|      2|        if (profile != EEsProfile) {
  ------------------
  |  Branch (5294:13): [True: 2, False: 0]
  ------------------
 5295|      2|            std::string longVectorFuncs =
 5296|       |
 5297|       |                // manually add long vector prototypes for functions not in BaseFunctions/etc
 5298|      2|                "vector frexp(vector, vector);\n"
 5299|      2|                "vector ldexp(vector, vector);\n"
 5300|      2|                "vector fma(vector, vector, vector);\n"
 5301|       |
 5302|      2|                "vector floatBitsToInt(vector);\n"
 5303|      2|                "vector floatBitsToUint(vector);\n"
 5304|      2|                "vector intBitsToFloat(vector);\n"
 5305|      2|                "vector uintBitsToFloat(vector);\n"
 5306|      2|                "vector doubleBitsToInt64(vector);"
 5307|      2|                "vector doubleBitsToUint64(vector);"
 5308|      2|                "vector int64BitsToDouble(vector);"
 5309|      2|                "vector uint64BitsToDouble(vector);"
 5310|      2|                "vector bfloat16BitsToIntEXT(vector);"
 5311|      2|                "vector bfloat16BitsToUintEXT(vector);"
 5312|      2|                "vector intBitsToBFloat16EXT(vector);"
 5313|      2|                "vector uintBitsToBFloat16EXT(vector);"
 5314|      2|                "vector halfBitsToInt16(vector);"
 5315|      2|                "vector halfBitsToUint16(vector);"
 5316|      2|                "vector float16BitsToInt16(vector);"
 5317|      2|                "vector float16BitsToUint16(vector);"
 5318|      2|                "vector int16BitsToFloat16(vector);"
 5319|      2|                "vector uint16BitsToFloat16(vector);"
 5320|      2|                "vector int16BitsToHalf(vector);"
 5321|      2|                "vector uint16BitsToHalf(vector);"
 5322|      2|                "vector floate5m2BitsToIntEXT(vector);"
 5323|      2|                "vector floate5m2BitsToUintEXT(vector);"
 5324|      2|                "vector intBitsToFloate5m2EXT(vector);"
 5325|      2|                "vector uintBitsToFloate5m2EXT(vector);"
 5326|      2|                "vector floate4m3BitsToIntEXT(vector);"
 5327|      2|                "vector floate4m3BitsToUintEXT(vector);"
 5328|      2|                "vector intBitsToFloate4m3EXT(vector);"
 5329|      2|                "vector uintBitsToFloate4m3EXT(vector);"
 5330|       |
 5331|      2|                "vector floatue8m0BitsToIntEXT(vector);"
 5332|      2|                "vector floatue8m0BitsToUintEXT(vector);"
 5333|      2|                "vector intBitsToFloatue8m0EXT(vector);"
 5334|      2|                "vector uintBitsToFloatue8m0EXT(vector);"
 5335|      2|                "vector floatmxint8BitsToIntEXT(vector);"
 5336|      2|                "vector floatmxint8BitsToUintEXT(vector);"
 5337|      2|                "vector intBitsToFloatmxint8EXT(vector);"
 5338|      2|                "vector uintBitsToFloatmxint8EXT(vector);"
 5339|       |
 5340|      2|                "vector uaddCarry(highp vector, highp vector, out lowp vector carry);"
 5341|      2|                "vector usubBorrow(highp vector, highp vector, out lowp vector borrow);"
 5342|      2|                "void umulExtended(highp vector, highp vector, out highp vector, out highp vector);"
 5343|      2|                "void imulExtended(highp vector, highp vector, out highp vector, out highp vector);"
 5344|      2|                "vector bitfieldExtract(vector, int, int);"
 5345|      2|                "vector bitfieldInsert(vector, vector, int, int);"
 5346|      2|                "vector bitfieldReverse(highp vector);"
 5347|      2|                "vector bitCount(vector);"
 5348|      2|                "vector findLSB(vector);"
 5349|      2|                "vector findMSB(vector);"
 5350|       |
 5351|       |                // BaseFunctions overloads with a scalar parameter don't get generated in AddLongVectorBuiltin
 5352|      2|                "vector mod(vector, double);\n"
 5353|      2|                "vector min(vector, double);\n"
 5354|      2|                "vector max(vector, double);\n"
 5355|      2|                "vector clamp(vector, double, double);"
 5356|      2|                "vector mix(vector, vector,  double);"
 5357|      2|                "vector step(double, vector);"
 5358|      2|                "vector smoothstep(double, double, vector);"
 5359|      2|                "vector refract(vector, vector, double);"
 5360|       |
 5361|      2|                "vector mod(vector, float16_t);\n"
 5362|      2|                "vector min(vector, float16_t);\n"
 5363|      2|                "vector max(vector, float16_t);\n"
 5364|      2|                "vector clamp(vector, float16_t, float16_t);"
 5365|      2|                "vector mix(vector, vector,  float16_t);"
 5366|      2|                "vector step(float16_t, vector);"
 5367|      2|                "vector smoothstep(float16_t, float16_t, vector);"
 5368|      2|                "vector refract(vector, vector, float16_t);"
 5369|       |
 5370|      2|                "vector min(vector, uint64_t);\n"
 5371|      2|                "vector max(vector, uint64_t);\n"
 5372|      2|                "vector clamp(vector, uint64_t, uint64_t);"
 5373|      2|                "vector mix(vector, vector,  uint64_t);"
 5374|       |
 5375|      2|                "vector min(vector, int64_t);\n"
 5376|      2|                "vector max(vector, int64_t);\n"
 5377|      2|                "vector clamp(vector, int64_t, int64_t);"
 5378|      2|                "vector mix(vector, vector,  int64_t);"
 5379|       |
 5380|      2|                "vector min(vector, uint16_t);\n"
 5381|      2|                "vector max(vector, uint16_t);\n"
 5382|      2|                "vector clamp(vector, uint16_t, uint16_t);"
 5383|      2|                "vector mix(vector, vector,  uint16_t);"
 5384|       |
 5385|      2|                "vector min(vector, int16_t);\n"
 5386|      2|                "vector max(vector, int16_t);\n"
 5387|      2|                "vector clamp(vector, int16_t, int16_t);"
 5388|      2|                "vector mix(vector, vector,  int16_t);"
 5389|       |
 5390|      2|                "vector min(vector, uint8_t);\n"
 5391|      2|                "vector max(vector, uint8_t);\n"
 5392|      2|                "vector clamp(vector, uint8_t, uint8_t);"
 5393|      2|                "vector mix(vector, vector,  uint8_t);"
 5394|       |
 5395|      2|                "vector min(vector, int8_t);\n"
 5396|      2|                "vector max(vector, int8_t);\n"
 5397|      2|                "vector clamp(vector, int8_t, int8_t);"
 5398|      2|                "vector mix(vector, vector,  int8_t);"
 5399|       |
 5400|      2|                "vector expectEXT(vector, vector);"
 5401|       |
 5402|      2|                "vector bitcastExtractfe2m1EXT(vector, uint);"
 5403|      2|                "vector bitcastExtractfe3m2EXT(vector, uint);"
 5404|      2|                "vector bitcastExtractfe2m3EXT(vector, uint);"
 5405|      2|                ;
 5406|       |
 5407|      2|            std::string longVectorDerivativeFuncs =
 5408|      2|                "vector dFdxFine(vector);"
 5409|      2|                "vector dFdyFine(vector);"
 5410|      2|                "vector fwidthFine(vector);"
 5411|      2|                "vector dFdxCoarse(vector);"
 5412|      2|                "vector dFdyCoarse(vector);"
 5413|      2|                "vector fwidthCoarse(vector);"
 5414|       |
 5415|      2|                ;
 5416|      2|            commonBuiltins.append(longVectorFuncs.c_str());
 5417|      2|            stageBuiltins[EShLangFragment].append(longVectorDerivativeFuncs.c_str());
 5418|      2|            stageBuiltins[EShLangCompute].append(longVectorDerivativeFuncs.c_str());
 5419|      2|        }
 5420|       |
 5421|      2|        const char *scalarAndVectorTypes[] = {
 5422|      2|            "int8_t",
 5423|      2|            "int16_t",
 5424|      2|            "int32_t",
 5425|      2|            "int64_t",
 5426|      2|            "uint8_t",
 5427|      2|            "uint16_t",
 5428|      2|            "uint32_t",
 5429|      2|            "uint64_t",
 5430|      2|            "float16_t",
 5431|      2|            "float32_t",
 5432|      2|            "float64_t",
 5433|      2|            "i8vec2",
 5434|      2|            "i16vec2",
 5435|      2|            "i32vec2",
 5436|      2|            "i64vec2",
 5437|      2|            "u8vec2",
 5438|      2|            "u16vec2",
 5439|      2|            "u32vec2",
 5440|      2|            "u64vec2",
 5441|      2|            "f16vec2",
 5442|      2|            "f32vec2",
 5443|      2|            "f64vec2",
 5444|      2|            "i8vec3",
 5445|      2|            "i16vec3",
 5446|      2|            "i32vec3",
 5447|      2|            "i64vec3",
 5448|      2|            "u8vec3",
 5449|      2|            "u16vec3",
 5450|      2|            "u32vec3",
 5451|      2|            "u64vec3",
 5452|      2|            "f16vec3",
 5453|      2|            "f32vec3",
 5454|      2|            "f64vec3",
 5455|      2|            "i8vec4",
 5456|      2|            "i16vec4",
 5457|      2|            "i32vec4",
 5458|      2|            "i64vec4",
 5459|      2|            "u8vec4",
 5460|      2|            "u16vec4",
 5461|      2|            "u32vec4",
 5462|      2|            "u64vec4",
 5463|      2|            "f16vec4",
 5464|      2|            "f32vec4",
 5465|      2|            "f64vec4",
 5466|      2|        };
 5467|       |
 5468|      4|        for (auto offsetTy : coopVecOffsetTypes) {
  ------------------
  |  Branch (5468:28): [True: 4, False: 2]
  ------------------
 5469|    180|            for (uint32_t i = 0; i < sizeof(scalarAndVectorTypes)/sizeof(scalarAndVectorTypes[0]); ++i) {
  ------------------
  |  Branch (5469:34): [True: 176, False: 4]
  ------------------
 5470|    176|                std::string load = std::string("void coopVecLoadNV(out coopvecNV v, volatile coherent ") +
 5471|    176|                                   std::string(scalarAndVectorTypes[i]) + std::string("[] buf, ") + offsetTy + std::string(" offset);");
 5472|    176|                std::string store = std::string("void coopVecStoreNV(coopvecNV v, volatile coherent ") +
 5473|    176|                                   std::string(scalarAndVectorTypes[i]) + std::string("[] buf, ") + offsetTy + std::string(" offset);");
 5474|    176|                commonBuiltins.append(load.c_str());
 5475|    176|                commonBuiltins.append(store.c_str());
 5476|    176|            }
 5477|      4|        }
 5478|       |
 5479|      2|        commonBuiltins.append(
 5480|      2|            "const int gl_CooperativeVectorMatrixLayoutRowMajorNV = 0;\n"
 5481|      2|            "const int gl_CooperativeVectorMatrixLayoutColumnMajorNV = 1;\n"
 5482|      2|            "const int gl_CooperativeVectorMatrixLayoutInferencingOptimalNV = 2;\n"
 5483|      2|            "const int gl_CooperativeVectorMatrixLayoutTrainingOptimalNV = 3;\n"
 5484|      2|            "\n"
 5485|      2|            );
 5486|       |
 5487|      2|        commonBuiltins.append(
 5488|      2|            "const int gl_ComponentTypeFloat16NV                = 0;\n"
 5489|      2|            "const int gl_ComponentTypeFloat32NV                = 1;\n"
 5490|      2|            "const int gl_ComponentTypeFloat64NV                = 2;\n"
 5491|      2|            "const int gl_ComponentTypeSignedInt8NV             = 3;\n"
 5492|      2|            "const int gl_ComponentTypeSignedInt16NV            = 4;\n"
 5493|      2|            "const int gl_ComponentTypeSignedInt32NV            = 5;\n"
 5494|      2|            "const int gl_ComponentTypeSignedInt64NV            = 6;\n"
 5495|      2|            "const int gl_ComponentTypeUnsignedInt8NV           = 7;\n"
 5496|      2|            "const int gl_ComponentTypeUnsignedInt16NV          = 8;\n"
 5497|      2|            "const int gl_ComponentTypeUnsignedInt32NV          = 9;\n"
 5498|      2|            "const int gl_ComponentTypeUnsignedInt64NV          = 10;\n"
 5499|      2|            "const int gl_ComponentTypeSignedInt8PackedNV       = 1000491000;\n"
 5500|      2|            "const int gl_ComponentTypeUnsignedInt8PackedNV     = 1000491001;\n"
 5501|      2|            "const int gl_ComponentTypeFloatE4M3NV              = 1000491002;\n"
 5502|      2|            "const int gl_ComponentTypeFloatE5M2NV              = 1000491003;\n"
 5503|      2|            "\n"
 5504|      2|            );
 5505|      2|    }
 5506|       |
 5507|       |    //============================================================================
 5508|       |    //
 5509|       |    // Prototypes for built-in functions seen by fragment shaders only.
 5510|       |    //
 5511|       |    //============================================================================
 5512|       |
 5513|       |    //
 5514|       |    // Original-style texture Functions with bias.
 5515|       |    //
 5516|     36|    if (spvVersion.spv == 0 && (profile != EEsProfile || version == 100)) {
  ------------------
  |  Branch (5516:9): [True: 36, False: 0]
  |  Branch (5516:33): [True: 2, False: 34]
  |  Branch (5516:58): [True: 34, False: 0]
  ------------------
 5517|     36|        stageBuiltins[EShLangFragment].append(
 5518|     36|            "vec4 texture2D(sampler2D, vec2, float);"
 5519|     36|            "vec4 texture2DProj(sampler2D, vec3, float);"
 5520|     36|            "vec4 texture2DProj(sampler2D, vec4, float);"
 5521|     36|            "vec4 texture3D(sampler3D, vec3, float);"        // OES_texture_3D
 5522|     36|            "vec4 texture3DProj(sampler3D, vec4, float);"    // OES_texture_3D
 5523|     36|            "vec4 textureCube(samplerCube, vec3, float);"
 5524|       |
 5525|     36|            "\n");
 5526|     36|    }
 5527|     36|    if (spvVersion.spv == 0 && (profile != EEsProfile && version > 100)) {
  ------------------
  |  Branch (5527:9): [True: 36, False: 0]
  |  Branch (5527:33): [True: 2, False: 34]
  |  Branch (5527:58): [True: 2, False: 0]
  ------------------
 5528|      2|        stageBuiltins[EShLangFragment].append(
 5529|      2|            "vec4 texture1D(sampler1D, float, float);"
 5530|      2|            "vec4 texture1DProj(sampler1D, vec2, float);"
 5531|      2|            "vec4 texture1DProj(sampler1D, vec4, float);"
 5532|      2|            "vec4 shadow1D(sampler1DShadow, vec3, float);"
 5533|      2|            "vec4 shadow2D(sampler2DShadow, vec3, float);"
 5534|      2|            "vec4 shadow1DProj(sampler1DShadow, vec4, float);"
 5535|      2|            "vec4 shadow2DProj(sampler2DShadow, vec4, float);"
 5536|       |
 5537|      2|            "\n");
 5538|      2|    }
 5539|     36|    if (spvVersion.spv == 0 && profile == EEsProfile) {
  ------------------
  |  Branch (5539:9): [True: 36, False: 0]
  |  Branch (5539:32): [True: 34, False: 2]
  ------------------
 5540|     34|        stageBuiltins[EShLangFragment].append(
 5541|     34|            "vec4 texture2DLodEXT(sampler2D, vec2, float);"      // GL_EXT_shader_texture_lod
 5542|     34|            "vec4 texture2DProjLodEXT(sampler2D, vec3, float);"  // GL_EXT_shader_texture_lod
 5543|     34|            "vec4 texture2DProjLodEXT(sampler2D, vec4, float);"  // GL_EXT_shader_texture_lod
 5544|     34|            "vec4 textureCubeLodEXT(samplerCube, vec3, float);"  // GL_EXT_shader_texture_lod
 5545|       |
 5546|     34|            "\n");
 5547|     34|    }
 5548|       |
 5549|       |    // GL_EXT_shader_tile_image
 5550|     36|    if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (5550:9): [True: 0, False: 36]
  ------------------
 5551|      0|        stageBuiltins[EShLangFragment].append(
 5552|      0|            "lowp uint stencilAttachmentReadEXT();"
 5553|      0|            "lowp uint stencilAttachmentReadEXT(int);"
 5554|      0|            "highp float depthAttachmentReadEXT();"
 5555|      0|            "highp float depthAttachmentReadEXT(int);"
 5556|      0|            "\n");
 5557|      0|        stageBuiltins[EShLangFragment].append(
 5558|      0|            "vec4 colorAttachmentReadEXT(attachmentEXT);"
 5559|      0|            "vec4 colorAttachmentReadEXT(attachmentEXT, int);"
 5560|      0|            "ivec4 colorAttachmentReadEXT(iattachmentEXT);"
 5561|      0|            "ivec4 colorAttachmentReadEXT(iattachmentEXT, int);"
 5562|      0|            "uvec4 colorAttachmentReadEXT(uattachmentEXT);"
 5563|      0|            "uvec4 colorAttachmentReadEXT(uattachmentEXT, int);"
 5564|      0|            "\n");
 5565|      0|    }
 5566|       |
 5567|       |    // GL_ARB_derivative_control
 5568|     36|    if (profile != EEsProfile && version >= 400) {
  ------------------
  |  Branch (5568:9): [True: 2, False: 34]
  |  Branch (5568:34): [True: 2, False: 0]
  ------------------
 5569|      2|        stageBuiltins[EShLangFragment].append(derivativeControls);
 5570|      2|        stageBuiltins[EShLangFragment].append("\n");
 5571|      2|    }
 5572|       |
 5573|       |    // GL_OES_shader_multisample_interpolation
 5574|     36|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (5574:10): [True: 34, False: 2]
  |  Branch (5574:35): [True: 0, False: 34]
  ------------------
 5575|     36|        (profile != EEsProfile && version >= 150)) { // NV_gpu_shader5
  ------------------
  |  Branch (5575:10): [True: 2, False: 34]
  |  Branch (5575:35): [True: 2, False: 0]
  ------------------
 5576|      2|        stageBuiltins[EShLangFragment].append(
 5577|      2|            "float interpolateAtCentroid(float);"
 5578|      2|            "vec2  interpolateAtCentroid(vec2);"
 5579|      2|            "vec3  interpolateAtCentroid(vec3);"
 5580|      2|            "vec4  interpolateAtCentroid(vec4);"
 5581|       |
 5582|      2|            "float interpolateAtSample(float, int);"
 5583|      2|            "vec2  interpolateAtSample(vec2,  int);"
 5584|      2|            "vec3  interpolateAtSample(vec3,  int);"
 5585|      2|            "vec4  interpolateAtSample(vec4,  int);"
 5586|       |
 5587|      2|            "float interpolateAtOffset(float, vec2);"
 5588|      2|            "vec2  interpolateAtOffset(vec2,  vec2);"
 5589|      2|            "vec3  interpolateAtOffset(vec3,  vec2);"
 5590|      2|            "vec4  interpolateAtOffset(vec4,  vec2);"
 5591|       |
 5592|      2|            "\n");
 5593|      2|    }
 5594|       |
 5595|     36|    stageBuiltins[EShLangFragment].append(
 5596|     36|        "void beginInvocationInterlockARB(void);"
 5597|     36|        "void endInvocationInterlockARB(void);");
 5598|       |
 5599|     36|    stageBuiltins[EShLangFragment].append(
 5600|     36|        "bool helperInvocationEXT();"
 5601|     36|        "\n");
 5602|       |
 5603|       |    // GL_AMD_shader_explicit_vertex_parameter
 5604|     36|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5604:9): [True: 2, False: 34]
  |  Branch (5604:34): [True: 2, False: 0]
  ------------------
 5605|      2|        stageBuiltins[EShLangFragment].append(
 5606|      2|            "float interpolateAtVertexAMD(float, uint);"
 5607|      2|            "vec2  interpolateAtVertexAMD(vec2,  uint);"
 5608|      2|            "vec3  interpolateAtVertexAMD(vec3,  uint);"
 5609|      2|            "vec4  interpolateAtVertexAMD(vec4,  uint);"
 5610|       |
 5611|      2|            "int   interpolateAtVertexAMD(int,   uint);"
 5612|      2|            "ivec2 interpolateAtVertexAMD(ivec2, uint);"
 5613|      2|            "ivec3 interpolateAtVertexAMD(ivec3, uint);"
 5614|      2|            "ivec4 interpolateAtVertexAMD(ivec4, uint);"
 5615|       |
 5616|      2|            "uint  interpolateAtVertexAMD(uint,  uint);"
 5617|      2|            "uvec2 interpolateAtVertexAMD(uvec2, uint);"
 5618|      2|            "uvec3 interpolateAtVertexAMD(uvec3, uint);"
 5619|      2|            "uvec4 interpolateAtVertexAMD(uvec4, uint);"
 5620|       |
 5621|      2|            "float16_t interpolateAtVertexAMD(float16_t, uint);"
 5622|      2|            "f16vec2   interpolateAtVertexAMD(f16vec2,   uint);"
 5623|      2|            "f16vec3   interpolateAtVertexAMD(f16vec3,   uint);"
 5624|      2|            "f16vec4   interpolateAtVertexAMD(f16vec4,   uint);"
 5625|       |
 5626|      2|            "\n");
 5627|      2|    }
 5628|       |
 5629|       |    // GL_AMD_gpu_shader_half_float
 5630|     36|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5630:9): [True: 2, False: 34]
  |  Branch (5630:34): [True: 2, False: 0]
  ------------------
 5631|      2|        stageBuiltins[EShLangFragment].append(derivativesAndControl16bits);
 5632|      2|        stageBuiltins[EShLangFragment].append("\n");
 5633|       |
 5634|      2|        stageBuiltins[EShLangFragment].append(
 5635|      2|            "float16_t interpolateAtCentroid(float16_t);"
 5636|      2|            "f16vec2   interpolateAtCentroid(f16vec2);"
 5637|      2|            "f16vec3   interpolateAtCentroid(f16vec3);"
 5638|      2|            "f16vec4   interpolateAtCentroid(f16vec4);"
 5639|       |
 5640|      2|            "float16_t interpolateAtSample(float16_t, int);"
 5641|      2|            "f16vec2   interpolateAtSample(f16vec2,   int);"
 5642|      2|            "f16vec3   interpolateAtSample(f16vec3,   int);"
 5643|      2|            "f16vec4   interpolateAtSample(f16vec4,   int);"
 5644|       |
 5645|      2|            "float16_t interpolateAtOffset(float16_t, f16vec2);"
 5646|      2|            "f16vec2   interpolateAtOffset(f16vec2,   f16vec2);"
 5647|      2|            "f16vec3   interpolateAtOffset(f16vec3,   f16vec2);"
 5648|      2|            "f16vec4   interpolateAtOffset(f16vec4,   f16vec2);"
 5649|       |
 5650|      2|            "\n");
 5651|      2|    }
 5652|       |
 5653|       |    // GL_ARB_shader_clock& GL_EXT_shader_realtime_clock
 5654|     36|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5654:9): [True: 2, False: 34]
  |  Branch (5654:34): [True: 2, False: 0]
  ------------------
 5655|      2|        commonBuiltins.append(
 5656|      2|            "uvec2 clock2x32ARB();"
 5657|      2|            "uint64_t clockARB();"
 5658|      2|            "uvec2 clockRealtime2x32EXT();"
 5659|      2|            "uint64_t clockRealtimeEXT();"
 5660|      2|            "\n");
 5661|      2|    }
 5662|       |
 5663|       |    // GL_AMD_shader_fragment_mask
 5664|     36|    if (profile != EEsProfile && version >= 450 && spvVersion.vulkan > 0) {
  ------------------
  |  Branch (5664:9): [True: 2, False: 34]
  |  Branch (5664:34): [True: 2, False: 0]
  |  Branch (5664:52): [True: 0, False: 2]
  ------------------
 5665|      0|        stageBuiltins[EShLangFragment].append(
 5666|      0|            "uint fragmentMaskFetchAMD(subpassInputMS);"
 5667|      0|            "uint fragmentMaskFetchAMD(isubpassInputMS);"
 5668|      0|            "uint fragmentMaskFetchAMD(usubpassInputMS);"
 5669|       |
 5670|      0|            "vec4  fragmentFetchAMD(subpassInputMS,  uint);"
 5671|      0|            "ivec4 fragmentFetchAMD(isubpassInputMS, uint);"
 5672|      0|            "uvec4 fragmentFetchAMD(usubpassInputMS, uint);"
 5673|       |
 5674|      0|            "\n");
 5675|      0|    }
 5676|       |
 5677|       |    // Builtins for GL_NV_ray_tracing/GL_NV_ray_tracing_motion_blur/GL_EXT_ray_tracing/GL_EXT_ray_query/
 5678|       |    // GL_NV_shader_invocation_reorder/GL_KHR_ray_tracing_position_Fetch
 5679|     36|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (5679:9): [True: 2, False: 34]
  |  Branch (5679:34): [True: 0, False: 2]
  ------------------
 5680|      0|         commonBuiltins.append("void rayQueryInitializeEXT(rayQueryEXT, accelerationStructureEXT, uint, uint, vec3, float, vec3, float);"
 5681|      0|            "void rayQueryTerminateEXT(rayQueryEXT);"
 5682|      0|            "void rayQueryGenerateIntersectionEXT(rayQueryEXT, float);"
 5683|      0|            "void rayQueryConfirmIntersectionEXT(rayQueryEXT);"
 5684|      0|            "bool rayQueryProceedEXT(rayQueryEXT);"
 5685|      0|            "uint rayQueryGetIntersectionTypeEXT(rayQueryEXT, bool);"
 5686|      0|            "float rayQueryGetRayTMinEXT(rayQueryEXT);"
 5687|      0|            "uint rayQueryGetRayFlagsEXT(rayQueryEXT);"
 5688|      0|            "vec3 rayQueryGetWorldRayOriginEXT(rayQueryEXT);"
 5689|      0|            "vec3 rayQueryGetWorldRayDirectionEXT(rayQueryEXT);"
 5690|      0|            "float rayQueryGetIntersectionTEXT(rayQueryEXT, bool);"
 5691|      0|            "int rayQueryGetIntersectionInstanceCustomIndexEXT(rayQueryEXT, bool);"
 5692|      0|            "int rayQueryGetIntersectionInstanceIdEXT(rayQueryEXT, bool);"
 5693|      0|            "uint rayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetEXT(rayQueryEXT, bool);"
 5694|      0|            "int rayQueryGetIntersectionGeometryIndexEXT(rayQueryEXT, bool);"
 5695|      0|            "int rayQueryGetIntersectionPrimitiveIndexEXT(rayQueryEXT, bool);"
 5696|      0|            "vec2 rayQueryGetIntersectionBarycentricsEXT(rayQueryEXT, bool);"
 5697|      0|            "bool rayQueryGetIntersectionFrontFaceEXT(rayQueryEXT, bool);"
 5698|      0|            "bool rayQueryGetIntersectionCandidateAABBOpaqueEXT(rayQueryEXT);"
 5699|      0|            "vec3 rayQueryGetIntersectionObjectRayDirectionEXT(rayQueryEXT, bool);"
 5700|      0|            "vec3 rayQueryGetIntersectionObjectRayOriginEXT(rayQueryEXT, bool);"
 5701|      0|            "mat4x3 rayQueryGetIntersectionObjectToWorldEXT(rayQueryEXT, bool);"
 5702|      0|            "mat4x3 rayQueryGetIntersectionWorldToObjectEXT(rayQueryEXT, bool);"
 5703|      0|            "void rayQueryGetIntersectionTriangleVertexPositionsEXT(rayQueryEXT, bool, out vec3[3]);"
 5704|      0|            "int rayQueryGetIntersectionClusterIdNV(rayQueryEXT, bool);"
 5705|      0|            "vec3 rayQueryGetIntersectionSpherePositionNV(rayQueryEXT, bool);"
 5706|      0|            "float rayQueryGetIntersectionSphereRadiusNV(rayQueryEXT, bool);"
 5707|      0|            "float rayQueryGetIntersectionLSSHitValueNV(rayQueryEXT, bool);"
 5708|      0|            "void rayQueryGetIntersectionLSSPositionsNV(rayQueryEXT, bool, out vec3[2]);"
 5709|      0|            "void rayQueryGetIntersectionLSSRadiiNV(rayQueryEXT, bool, out float[2]);"
 5710|      0|            "bool rayQueryIsSphereHitNV(rayQueryEXT, bool);"
 5711|      0|            "bool rayQueryIsLSSHitNV(rayQueryEXT, bool);"
 5712|      0|            "\n");
 5713|       |
 5714|      0|        stageBuiltins[EShLangRayGen].append(
 5715|      0|            "void traceNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5716|      0|            "void traceRayMotionNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5717|      0|            "void traceRayEXT(accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5718|      0|            "void executeCallableNV(uint, int);"
 5719|      0|            "void executeCallableEXT(uint, int);"
 5720|      0|            "void hitObjectTraceRayNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5721|      0|            "void hitObjectTraceRayMotionNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5722|      0|            "void hitObjectRecordHitNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,int);"
 5723|      0|            "void hitObjectRecordHitMotionNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5724|      0|            "void hitObjectRecordHitWithIndexNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,int);"
 5725|      0|            "void hitObjectRecordHitWithIndexMotionNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,float,int);"
 5726|      0|            "void hitObjectRecordMissNV(hitObjectNV,uint,vec3,float,vec3,float);"
 5727|      0|            "void hitObjectRecordMissMotionNV(hitObjectNV,uint,vec3,float,vec3,float,float);"
 5728|      0|            "void hitObjectRecordEmptyNV(hitObjectNV);"
 5729|      0|            "void hitObjectExecuteShaderNV(hitObjectNV,int);"
 5730|      0|            "bool hitObjectIsEmptyNV(hitObjectNV);"
 5731|      0|            "bool hitObjectIsMissNV(hitObjectNV);"
 5732|      0|            "bool hitObjectIsHitNV(hitObjectNV);"
 5733|      0|            "float hitObjectGetRayTMinNV(hitObjectNV);"
 5734|      0|            "float hitObjectGetRayTMaxNV(hitObjectNV);"
 5735|      0|            "vec3 hitObjectGetWorldRayOriginNV(hitObjectNV);"
 5736|      0|            "vec3 hitObjectGetWorldRayDirectionNV(hitObjectNV);"
 5737|      0|            "vec3 hitObjectGetObjectRayOriginNV(hitObjectNV);"
 5738|      0|            "vec3 hitObjectGetObjectRayDirectionNV(hitObjectNV);"
 5739|      0|            "mat4x3 hitObjectGetWorldToObjectNV(hitObjectNV);"
 5740|      0|            "mat4x3 hitObjectGetObjectToWorldNV(hitObjectNV);"
 5741|      0|            "int hitObjectGetInstanceCustomIndexNV(hitObjectNV);"
 5742|      0|            "int hitObjectGetInstanceIdNV(hitObjectNV);"
 5743|      0|            "int hitObjectGetGeometryIndexNV(hitObjectNV);"
 5744|      0|            "int hitObjectGetPrimitiveIndexNV(hitObjectNV);"
 5745|      0|            "uint hitObjectGetHitKindNV(hitObjectNV);"
 5746|      0|            "void hitObjectGetAttributesNV(hitObjectNV,int);"
 5747|      0|            "float hitObjectGetCurrentTimeNV(hitObjectNV);"
 5748|      0|            "uint hitObjectGetShaderBindingTableRecordIndexNV(hitObjectNV);"
 5749|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleNV(hitObjectNV);"
 5750|      0|            "int hitObjectGetClusterIdNV(hitObjectNV);"
 5751|      0|            "void reorderThreadNV(uint, uint);"
 5752|      0|            "void reorderThreadNV(hitObjectNV);"
 5753|      0|            "void reorderThreadNV(hitObjectNV, uint, uint);"
 5754|      0|            "vec3 fetchMicroTriangleVertexPositionNV(accelerationStructureEXT, int, int, int, ivec2);"
 5755|      0|            "vec2 fetchMicroTriangleVertexBarycentricNV(accelerationStructureEXT, int, int, int, ivec2);"
 5756|      0|            "vec3 hitObjectGetSpherePositionNV(hitObjectNV);"
 5757|      0|            "float hitObjectGetSphereRadiusNV(hitObjectNV);"
 5758|      0|            "void hitObjectGetLSSPositionsNV(hitObjectNV, out vec3[2]);"
 5759|      0|            "void hitObjectGetLSSRadiiNV(hitObjectNV, out float[2]);"
 5760|      0|            "bool hitObjectIsSphereHitNV(hitObjectNV);"
 5761|      0|            "bool hitObjectIsLSSHitNV(hitObjectNV);"
 5762|      0|            "void hitObjectTraceRayEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5763|      0|            "void hitObjectTraceRayMotionEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5764|      0|            "void hitObjectRecordMissEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float);"
 5765|      0|            "void hitObjectRecordMissMotionEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float,float);"
 5766|      0|            "void hitObjectRecordEmptyEXT(hitObjectEXT);"
 5767|      0|            "void hitObjectExecuteShaderEXT(hitObjectEXT,int);"
 5768|      0|            "bool hitObjectIsEmptyEXT(hitObjectEXT);"
 5769|      0|            "bool hitObjectIsMissEXT(hitObjectEXT);"
 5770|      0|            "bool hitObjectIsHitEXT(hitObjectEXT);"
 5771|      0|            "float hitObjectGetRayTMinEXT(hitObjectEXT);"
 5772|      0|            "float hitObjectGetRayTMaxEXT(hitObjectEXT);"
 5773|      0|            "uint hitObjectGetRayFlagsEXT(hitObjectEXT);"
 5774|      0|            "vec3 hitObjectGetWorldRayOriginEXT(hitObjectEXT);"
 5775|      0|            "vec3 hitObjectGetWorldRayDirectionEXT(hitObjectEXT);"
 5776|      0|            "vec3 hitObjectGetObjectRayOriginEXT(hitObjectEXT);"
 5777|      0|            "vec3 hitObjectGetObjectRayDirectionEXT(hitObjectEXT);"
 5778|      0|            "mat4x3 hitObjectGetWorldToObjectEXT(hitObjectEXT);"
 5779|      0|            "mat4x3 hitObjectGetObjectToWorldEXT(hitObjectEXT);"
 5780|      0|            "int hitObjectGetInstanceCustomIndexEXT(hitObjectEXT);"
 5781|      0|            "int hitObjectGetInstanceIdEXT(hitObjectEXT);"
 5782|      0|            "int hitObjectGetGeometryIndexEXT(hitObjectEXT);"
 5783|      0|            "int hitObjectGetPrimitiveIndexEXT(hitObjectEXT);"
 5784|      0|            "uint hitObjectGetHitKindEXT(hitObjectEXT);"
 5785|      0|            "void hitObjectGetAttributesEXT(hitObjectEXT,int);"
 5786|      0|            "float hitObjectGetCurrentTimeEXT(hitObjectEXT);"
 5787|      0|            "uint hitObjectGetShaderBindingTableRecordIndexEXT(hitObjectEXT);"
 5788|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleEXT(hitObjectEXT);"
 5789|      0|            "void hitObjectSetShaderBindingTableRecordIndexEXT(hitObjectEXT, uint);"
 5790|      0|            "void hitObjectReorderExecuteEXT(hitObjectEXT,int);"
 5791|      0|            "void hitObjectReorderExecuteEXT(hitObjectEXT,uint,uint,int);"
 5792|      0|            "void hitObjectTraceReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5793|      0|            "void hitObjectTraceReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,uint,uint,int);"
 5794|      0|            "void hitObjectTraceMotionReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5795|      0|            "void hitObjectTraceMotionReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,uint,uint,int);"
 5796|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int);"
 5797|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int, uint);"
 5798|      0|            "void hitObjectGetIntersectionTriangleVertexPositionsEXT(hitObjectEXT, out vec3[3]);"
 5799|      0|            "void reorderThreadEXT(uint, uint);"
 5800|      0|            "void reorderThreadEXT(hitObjectEXT);"
 5801|      0|            "void reorderThreadEXT(hitObjectEXT, uint, uint);"
 5802|      0|            "\n");
 5803|      0|        stageBuiltins[EShLangIntersect].append(
 5804|      0|            "bool reportIntersectionNV(float, uint);"
 5805|      0|            "bool reportIntersectionEXT(float, uint);"
 5806|      0|            "\n");
 5807|      0|        stageBuiltins[EShLangAnyHit].append(
 5808|      0|            "void ignoreIntersectionNV();"
 5809|      0|            "void terminateRayNV();"
 5810|      0|            "\n");
 5811|      0|        stageBuiltins[EShLangClosestHit].append(
 5812|      0|            "void traceNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5813|      0|            "void traceRayMotionNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5814|      0|            "void traceRayEXT(accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5815|      0|            "void executeCallableNV(uint, int);"
 5816|      0|            "void executeCallableEXT(uint, int);"
 5817|      0|            "void hitObjectTraceRayNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5818|      0|            "void hitObjectTraceRayMotionNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5819|      0|            "void hitObjectRecordHitNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,int);"
 5820|      0|            "void hitObjectRecordHitMotionNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5821|      0|            "void hitObjectRecordHitWithIndexNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,int);"
 5822|      0|            "void hitObjectRecordHitWithIndexMotionNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,float,int);"
 5823|      0|            "void hitObjectRecordMissNV(hitObjectNV, uint, vec3, float, vec3, float);"
 5824|      0|            "void hitObjectRecordMissMotionNV(hitObjectNV,uint,vec3,float,vec3,float,float);"
 5825|      0|            "void hitObjectRecordEmptyNV(hitObjectNV);"
 5826|      0|            "void hitObjectExecuteShaderNV(hitObjectNV, int);"
 5827|      0|            "bool hitObjectIsEmptyNV(hitObjectNV);"
 5828|      0|            "bool hitObjectIsMissNV(hitObjectNV);"
 5829|      0|            "bool hitObjectIsHitNV(hitObjectNV);"
 5830|      0|            "float hitObjectGetRayTMinNV(hitObjectNV);"
 5831|      0|            "float hitObjectGetRayTMaxNV(hitObjectNV);"
 5832|      0|            "vec3 hitObjectGetWorldRayOriginNV(hitObjectNV);"
 5833|      0|            "vec3 hitObjectGetWorldRayDirectionNV(hitObjectNV);"
 5834|      0|            "vec3 hitObjectGetObjectRayOriginNV(hitObjectNV);"
 5835|      0|            "vec3 hitObjectGetObjectRayDirectionNV(hitObjectNV);"
 5836|      0|            "mat4x3 hitObjectGetWorldToObjectNV(hitObjectNV);"
 5837|      0|            "mat4x3 hitObjectGetObjectToWorldNV(hitObjectNV);"
 5838|      0|            "int hitObjectGetInstanceCustomIndexNV(hitObjectNV);"
 5839|      0|            "int hitObjectGetInstanceIdNV(hitObjectNV);"
 5840|      0|            "int hitObjectGetGeometryIndexNV(hitObjectNV);"
 5841|      0|            "int hitObjectGetPrimitiveIndexNV(hitObjectNV);"
 5842|      0|            "uint hitObjectGetHitKindNV(hitObjectNV);"
 5843|      0|            "void hitObjectGetAttributesNV(hitObjectNV,int);"
 5844|      0|            "float hitObjectGetCurrentTimeNV(hitObjectNV);"
 5845|      0|            "uint hitObjectGetShaderBindingTableRecordIndexNV(hitObjectNV);"
 5846|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleNV(hitObjectNV);"
 5847|      0|            "int hitObjectGetClusterIdNV(hitObjectNV);"
 5848|      0|            "vec3 hitObjectGetSpherePositionNV(hitObjectNV);"
 5849|      0|            "float hitObjectGetSphereRadiusNV(hitObjectNV);"
 5850|      0|            "void hitObjectGetLSSPositionsNV(hitObjectNV, out vec3[2]);"
 5851|      0|            "void hitObjectGetLSSRadiiNV(hitObjectNV, out float[2]);"
 5852|      0|            "bool hitObjectIsSphereHitNV(hitObjectNV);"
 5853|      0|            "bool hitObjectIsLSSHitNV(hitObjectNV);"
 5854|      0|            "void hitObjectTraceRayEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5855|      0|            "void hitObjectTraceRayMotionEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5856|      0|            "void hitObjectRecordMissEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float);"
 5857|      0|            "void hitObjectRecordMissMotionEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float,float);"
 5858|      0|            "void hitObjectRecordEmptyEXT(hitObjectEXT);"
 5859|      0|            "void hitObjectExecuteShaderEXT(hitObjectEXT,int);"
 5860|      0|            "bool hitObjectIsEmptyEXT(hitObjectEXT);"
 5861|      0|            "bool hitObjectIsMissEXT(hitObjectEXT);"
 5862|      0|            "bool hitObjectIsHitEXT(hitObjectEXT);"
 5863|      0|            "float hitObjectGetRayTMinEXT(hitObjectEXT);"
 5864|      0|            "float hitObjectGetRayTMaxEXT(hitObjectEXT);"
 5865|      0|            "uint hitObjectGetRayFlagsEXT(hitObjectEXT);"
 5866|      0|            "vec3 hitObjectGetWorldRayOriginEXT(hitObjectEXT);"
 5867|      0|            "vec3 hitObjectGetWorldRayDirectionEXT(hitObjectEXT);"
 5868|      0|            "vec3 hitObjectGetObjectRayOriginEXT(hitObjectEXT);"
 5869|      0|            "vec3 hitObjectGetObjectRayDirectionEXT(hitObjectEXT);"
 5870|      0|            "mat4x3 hitObjectGetWorldToObjectEXT(hitObjectEXT);"
 5871|      0|            "mat4x3 hitObjectGetObjectToWorldEXT(hitObjectEXT);"
 5872|      0|            "int hitObjectGetInstanceCustomIndexEXT(hitObjectEXT);"
 5873|      0|            "int hitObjectGetInstanceIdEXT(hitObjectEXT);"
 5874|      0|            "int hitObjectGetGeometryIndexEXT(hitObjectEXT);"
 5875|      0|            "int hitObjectGetPrimitiveIndexEXT(hitObjectEXT);"
 5876|      0|            "uint hitObjectGetHitKindEXT(hitObjectEXT);"
 5877|      0|            "void hitObjectGetAttributesEXT(hitObjectEXT,int);"
 5878|      0|            "float hitObjectGetCurrentTimeEXT(hitObjectEXT);"
 5879|      0|            "uint hitObjectGetShaderBindingTableRecordIndexEXT(hitObjectEXT);"
 5880|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleEXT(hitObjectEXT);"
 5881|      0|            "void hitObjectSetShaderBindingTableRecordIndexEXT(hitObjectEXT, uint);"
 5882|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT,uint, int);"
 5883|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT,uint, int, uint);"
 5884|      0|            "void hitObjectGetIntersectionTriangleVertexPositionsEXT(hitObjectEXT, out vec3[3]);"
 5885|      0|            "\n");
 5886|      0|        stageBuiltins[EShLangMiss].append(
 5887|      0|            "void traceNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5888|      0|            "void traceRayMotionNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5889|      0|            "void traceRayEXT(accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5890|      0|            "void executeCallableNV(uint, int);"
 5891|      0|            "void executeCallableEXT(uint, int);"
 5892|      0|            "void hitObjectTraceRayNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5893|      0|            "void hitObjectTraceRayMotionNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5894|      0|            "void hitObjectRecordHitNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,int);"
 5895|      0|            "void hitObjectRecordHitMotionNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5896|      0|            "void hitObjectRecordHitWithIndexNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,int);"
 5897|      0|            "void hitObjectRecordHitWithIndexMotionNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,float,int);"
 5898|      0|            "void hitObjectRecordMissNV(hitObjectNV, uint, vec3, float, vec3, float);"
 5899|      0|            "void hitObjectRecordMissMotionNV(hitObjectNV,uint,vec3,float,vec3,float,float);"
 5900|      0|            "void hitObjectRecordEmptyNV(hitObjectNV);"
 5901|      0|            "void hitObjectExecuteShaderNV(hitObjectNV, int);"
 5902|      0|            "bool hitObjectIsEmptyNV(hitObjectNV);"
 5903|      0|            "bool hitObjectIsMissNV(hitObjectNV);"
 5904|      0|            "bool hitObjectIsHitNV(hitObjectNV);"
 5905|      0|            "float hitObjectGetRayTMinNV(hitObjectNV);"
 5906|      0|            "float hitObjectGetRayTMaxNV(hitObjectNV);"
 5907|      0|            "vec3 hitObjectGetWorldRayOriginNV(hitObjectNV);"
 5908|      0|            "vec3 hitObjectGetWorldRayDirectionNV(hitObjectNV);"
 5909|      0|            "vec3 hitObjectGetObjectRayOriginNV(hitObjectNV);"
 5910|      0|            "vec3 hitObjectGetObjectRayDirectionNV(hitObjectNV);"
 5911|      0|            "mat4x3 hitObjectGetWorldToObjectNV(hitObjectNV);"
 5912|      0|            "mat4x3 hitObjectGetObjectToWorldNV(hitObjectNV);"
 5913|      0|            "int hitObjectGetInstanceCustomIndexNV(hitObjectNV);"
 5914|      0|            "int hitObjectGetInstanceIdNV(hitObjectNV);"
 5915|      0|            "int hitObjectGetGeometryIndexNV(hitObjectNV);"
 5916|      0|            "int hitObjectGetPrimitiveIndexNV(hitObjectNV);"
 5917|      0|            "uint hitObjectGetHitKindNV(hitObjectNV);"
 5918|      0|            "void hitObjectGetAttributesNV(hitObjectNV,int);"
 5919|      0|            "float hitObjectGetCurrentTimeNV(hitObjectNV);"
 5920|      0|            "uint hitObjectGetShaderBindingTableRecordIndexNV(hitObjectNV);"
 5921|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleNV(hitObjectNV);"
 5922|      0|            "int hitObjectGetClusterIdNV(hitObjectNV);"
 5923|      0|            "vec3 hitObjectGetSpherePositionNV(hitObjectNV);"
 5924|      0|            "float hitObjectGetSphereRadiusNV(hitObjectNV);"
 5925|      0|            "void hitObjectGetLSSPositionsNV(hitObjectNV, out vec3[2]);"
 5926|      0|            "void hitObjectGetLSSRadiiNV(hitObjectNV, out float[2]);"
 5927|      0|            "bool hitObjectIsSphereHitNV(hitObjectNV);"
 5928|      0|            "bool hitObjectIsLSSHitNV(hitObjectNV);"
 5929|      0|            "void hitObjectTraceRayEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5930|      0|            "void hitObjectTraceRayMotionEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5931|      0|            "void hitObjectRecordMissEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float);"
 5932|      0|            "void hitObjectRecordMissMotionEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float,float);"
 5933|      0|            "void hitObjectRecordEmptyEXT(hitObjectEXT);"
 5934|      0|            "void hitObjectExecuteShaderEXT(hitObjectEXT,int);"
 5935|      0|            "bool hitObjectIsEmptyEXT(hitObjectEXT);"
 5936|      0|            "bool hitObjectIsMissEXT(hitObjectEXT);"
 5937|      0|            "bool hitObjectIsHitEXT(hitObjectEXT);"
 5938|      0|            "float hitObjectGetRayTMinEXT(hitObjectEXT);"
 5939|      0|            "float hitObjectGetRayTMaxEXT(hitObjectEXT);"
 5940|      0|            "uint hitObjectGetRayFlagsEXT(hitObjectEXT);"
 5941|      0|            "vec3 hitObjectGetWorldRayOriginEXT(hitObjectEXT);"
 5942|      0|            "vec3 hitObjectGetWorldRayDirectionEXT(hitObjectEXT);"
 5943|      0|            "vec3 hitObjectGetObjectRayOriginEXT(hitObjectEXT);"
 5944|      0|            "vec3 hitObjectGetObjectRayDirectionEXT(hitObjectEXT);"
 5945|      0|            "mat4x3 hitObjectGetWorldToObjectEXT(hitObjectEXT);"
 5946|      0|            "mat4x3 hitObjectGetObjectToWorldEXT(hitObjectEXT);"
 5947|      0|            "int hitObjectGetInstanceCustomIndexEXT(hitObjectEXT);"
 5948|      0|            "int hitObjectGetInstanceIdEXT(hitObjectEXT);"
 5949|      0|            "int hitObjectGetGeometryIndexEXT(hitObjectEXT);"
 5950|      0|            "int hitObjectGetPrimitiveIndexEXT(hitObjectEXT);"
 5951|      0|            "uint hitObjectGetHitKindEXT(hitObjectEXT);"
 5952|      0|            "void hitObjectGetAttributesEXT(hitObjectEXT,int);"
 5953|      0|            "float hitObjectGetCurrentTimeEXT(hitObjectEXT);"
 5954|      0|            "uint hitObjectGetShaderBindingTableRecordIndexEXT(hitObjectEXT);"
 5955|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleEXT(hitObjectEXT);"
 5956|      0|            "void hitObjectSetShaderBindingTableRecordIndexEXT(hitObjectEXT, uint);"
 5957|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int);"
 5958|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int, uint);"
 5959|      0|            "void hitObjectGetIntersectionTriangleVertexPositionsEXT(hitObjectEXT, out vec3[3]);"
 5960|      0|            "\n");
 5961|      0|        stageBuiltins[EShLangCallable].append(
 5962|      0|            "void executeCallableNV(uint, int);"
 5963|      0|            "void executeCallableEXT(uint, int);"
 5964|      0|            "\n");
 5965|      0|    }
 5966|       |
 5967|       |    // GL_KHR_compute_shader_derivatives / SPV_NV_compute_shader_derivatives
 5968|     36|    if ((profile == EEsProfile && version >= 320) || (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (5968:10): [True: 34, False: 2]
  |  Branch (5968:35): [True: 0, False: 34]
  |  Branch (5968:55): [True: 2, False: 34]
  |  Branch (5968:80): [True: 2, False: 0]
  ------------------
 5969|      2|        if (profile != EEsProfile) {
  ------------------
  |  Branch (5969:13): [True: 2, False: 0]
  ------------------
 5970|      2|            stageBuiltins[EShLangCompute].append(derivatives);
 5971|      2|            stageBuiltins[EShLangTask].append(derivatives);
 5972|      2|            stageBuiltins[EShLangMesh].append(derivatives);
 5973|      2|        }
 5974|       |
 5975|      2|        stageBuiltins[EShLangCompute].append(derivativeControls);
 5976|      2|        stageBuiltins[EShLangCompute].append("\n");
 5977|       |
 5978|      2|        if (profile != EEsProfile) {
  ------------------
  |  Branch (5978:13): [True: 2, False: 0]
  ------------------
 5979|      2|            stageBuiltins[EShLangTask].append(derivativeControls);
 5980|      2|            stageBuiltins[EShLangTask].append("\n");
 5981|      2|            stageBuiltins[EShLangMesh].append(derivativeControls);
 5982|      2|            stageBuiltins[EShLangMesh].append("\n");
 5983|      2|        }
 5984|      2|    }
 5985|     36|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5985:9): [True: 2, False: 34]
  |  Branch (5985:34): [True: 2, False: 0]
  ------------------
 5986|      2|        stageBuiltins[EShLangCompute].append(derivativesAndControl16bits);
 5987|      2|        stageBuiltins[EShLangCompute].append(derivativesAndControl64bits);
 5988|      2|        stageBuiltins[EShLangCompute].append("\n");
 5989|      2|        stageBuiltins[EShLangTask].append(derivativesAndControl16bits);
 5990|      2|        stageBuiltins[EShLangTask].append(derivativesAndControl64bits);
 5991|      2|        stageBuiltins[EShLangTask].append("\n");
 5992|      2|        stageBuiltins[EShLangMesh].append(derivativesAndControl16bits);
 5993|      2|        stageBuiltins[EShLangMesh].append(derivativesAndControl64bits);
 5994|      2|        stageBuiltins[EShLangMesh].append("\n");
 5995|      2|    }
 5996|       |
 5997|       |    // Builtins for GL_NV_mesh_shader
 5998|     36|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (5998:10): [True: 2, False: 34]
  |  Branch (5998:35): [True: 2, False: 0]
  |  Branch (5998:55): [True: 34, False: 0]
  |  Branch (5998:80): [True: 0, False: 34]
  ------------------
 5999|      2|        stageBuiltins[EShLangMesh].append(
 6000|      2|            "void writePackedPrimitiveIndices4x8NV(uint, uint);"
 6001|      2|            "\n");
 6002|      2|    }
 6003|       |    // Builtins for GL_EXT_mesh_shader
 6004|     36|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (6004:10): [True: 2, False: 34]
  |  Branch (6004:35): [True: 2, False: 0]
  |  Branch (6004:55): [True: 34, False: 0]
  |  Branch (6004:80): [True: 0, False: 34]
  ------------------
 6005|       |        // Builtins for GL_EXT_mesh_shader
 6006|      2|        stageBuiltins[EShLangTask].append(
 6007|      2|            "void EmitMeshTasksEXT(uint, uint, uint);"
 6008|      2|            "\n");
 6009|       |
 6010|      2|        stageBuiltins[EShLangMesh].append(
 6011|      2|            "void SetMeshOutputsEXT(uint, uint);"
 6012|      2|            "\n");
 6013|      2|    }
 6014|       |    // Builtins for GL_NV_displacement_micromap
 6015|     36|    if ((profile != EEsProfile && version >= 460) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (6015:10): [True: 2, False: 34]
  |  Branch (6015:35): [True: 0, False: 2]
  |  Branch (6015:55): [True: 34, False: 2]
  |  Branch (6015:80): [True: 0, False: 34]
  ------------------
 6016|      0|        stageBuiltins[EShLangMesh].append(
 6017|      0|            "vec3 fetchMicroTriangleVertexPositionNV(accelerationStructureEXT, int, int, int, ivec2);"
 6018|      0|            "vec2 fetchMicroTriangleVertexBarycentricNV(accelerationStructureEXT, int, int, int, ivec2);"
 6019|      0|            "\n");
 6020|       |
 6021|      0|        stageBuiltins[EShLangCompute].append(
 6022|      0|            "vec3 fetchMicroTriangleVertexPositionNV(accelerationStructureEXT, int, int, int, ivec2);"
 6023|      0|            "vec2 fetchMicroTriangleVertexBarycentricNV(accelerationStructureEXT, int, int, int, ivec2);"
 6024|      0|            "\n");
 6025|       |
 6026|      0|    }
 6027|       |
 6028|       |
 6029|       |    //============================================================================
 6030|       |    //
 6031|       |    // Standard Uniforms
 6032|       |    //
 6033|       |    //============================================================================
 6034|       |
 6035|       |    //
 6036|       |    // Depth range in window coordinates, p. 33
 6037|       |    //
 6038|     36|    if (spvVersion.spv == 0) {
  ------------------
  |  Branch (6038:9): [True: 36, False: 0]
  ------------------
 6039|     36|        commonBuiltins.append(
 6040|     36|            "struct gl_DepthRangeParameters {"
 6041|     36|            );
 6042|     36|        if (profile == EEsProfile) {
  ------------------
  |  Branch (6042:13): [True: 34, False: 2]
  ------------------
 6043|     34|            commonBuiltins.append(
 6044|     34|                "highp float near;"   // n
 6045|     34|                "highp float far;"    // f
 6046|     34|                "highp float diff;"   // f - n
 6047|     34|                );
 6048|     34|        } else {
 6049|      2|            commonBuiltins.append(
 6050|      2|                "float near;"  // n
 6051|      2|                "float far;"   // f
 6052|      2|                "float diff;"  // f - n
 6053|      2|                );
 6054|      2|        }
 6055|       |
 6056|     36|        commonBuiltins.append(
 6057|     36|            "};"
 6058|     36|            "uniform gl_DepthRangeParameters gl_DepthRange;"
 6059|     36|            "\n");
 6060|     36|    }
 6061|       |
 6062|     36|    if (spvVersion.spv == 0 && IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6062:9): [True: 36, False: 0]
  |  Branch (6062:32): [True: 0, False: 36]
  ------------------
 6063|       |        //
 6064|       |        // Matrix state. p. 31, 32, 37, 39, 40.
 6065|       |        //
 6066|      0|        commonBuiltins.append(
 6067|      0|            "uniform mat4  gl_ModelViewMatrix;"
 6068|      0|            "uniform mat4  gl_ProjectionMatrix;"
 6069|      0|            "uniform mat4  gl_ModelViewProjectionMatrix;"
 6070|       |
 6071|       |            //
 6072|       |            // Derived matrix state that provides inverse and transposed versions
 6073|       |            // of the matrices above.
 6074|       |            //
 6075|      0|            "uniform mat3  gl_NormalMatrix;"
 6076|       |
 6077|      0|            "uniform mat4  gl_ModelViewMatrixInverse;"
 6078|      0|            "uniform mat4  gl_ProjectionMatrixInverse;"
 6079|      0|            "uniform mat4  gl_ModelViewProjectionMatrixInverse;"
 6080|       |
 6081|      0|            "uniform mat4  gl_ModelViewMatrixTranspose;"
 6082|      0|            "uniform mat4  gl_ProjectionMatrixTranspose;"
 6083|      0|            "uniform mat4  gl_ModelViewProjectionMatrixTranspose;"
 6084|       |
 6085|      0|            "uniform mat4  gl_ModelViewMatrixInverseTranspose;"
 6086|      0|            "uniform mat4  gl_ProjectionMatrixInverseTranspose;"
 6087|      0|            "uniform mat4  gl_ModelViewProjectionMatrixInverseTranspose;"
 6088|       |
 6089|       |            //
 6090|       |            // Normal scaling p. 39.
 6091|       |            //
 6092|      0|            "uniform float gl_NormalScale;"
 6093|       |
 6094|       |            //
 6095|       |            // Point Size, p. 66, 67.
 6096|       |            //
 6097|      0|            "struct gl_PointParameters {"
 6098|      0|                "float size;"
 6099|      0|                "float sizeMin;"
 6100|      0|                "float sizeMax;"
 6101|      0|                "float fadeThresholdSize;"
 6102|      0|                "float distanceConstantAttenuation;"
 6103|      0|                "float distanceLinearAttenuation;"
 6104|      0|                "float distanceQuadraticAttenuation;"
 6105|      0|            "};"
 6106|       |
 6107|      0|            "uniform gl_PointParameters gl_Point;"
 6108|       |
 6109|       |            //
 6110|       |            // Material State p. 50, 55.
 6111|       |            //
 6112|      0|            "struct gl_MaterialParameters {"
 6113|      0|                "vec4  emission;"    // Ecm
 6114|      0|                "vec4  ambient;"     // Acm
 6115|      0|                "vec4  diffuse;"     // Dcm
 6116|      0|                "vec4  specular;"    // Scm
 6117|      0|                "float shininess;"   // Srm
 6118|      0|            "};"
 6119|      0|            "uniform gl_MaterialParameters  gl_FrontMaterial;"
 6120|      0|            "uniform gl_MaterialParameters  gl_BackMaterial;"
 6121|       |
 6122|       |            //
 6123|       |            // Light State p 50, 53, 55.
 6124|       |            //
 6125|      0|            "struct gl_LightSourceParameters {"
 6126|      0|                "vec4  ambient;"             // Acli
 6127|      0|                "vec4  diffuse;"             // Dcli
 6128|      0|                "vec4  specular;"            // Scli
 6129|      0|                "vec4  position;"            // Ppli
 6130|      0|                "vec4  halfVector;"          // Derived: Hi
 6131|      0|                "vec3  spotDirection;"       // Sdli
 6132|      0|                "float spotExponent;"        // Srli
 6133|      0|                "float spotCutoff;"          // Crli
 6134|       |                                                        // (range: [0.0,90.0], 180.0)
 6135|      0|                "float spotCosCutoff;"       // Derived: cos(Crli)
 6136|       |                                                        // (range: [1.0,0.0],-1.0)
 6137|      0|                "float constantAttenuation;" // K0
 6138|      0|                "float linearAttenuation;"   // K1
 6139|      0|                "float quadraticAttenuation;"// K2
 6140|      0|            "};"
 6141|       |
 6142|      0|            "struct gl_LightModelParameters {"
 6143|      0|                "vec4  ambient;"       // Acs
 6144|      0|            "};"
 6145|       |
 6146|      0|            "uniform gl_LightModelParameters  gl_LightModel;"
 6147|       |
 6148|       |            //
 6149|       |            // Derived state from products of light and material.
 6150|       |            //
 6151|      0|            "struct gl_LightModelProducts {"
 6152|      0|                "vec4  sceneColor;"     // Derived. Ecm + Acm * Acs
 6153|      0|            "};"
 6154|       |
 6155|      0|            "uniform gl_LightModelProducts gl_FrontLightModelProduct;"
 6156|      0|            "uniform gl_LightModelProducts gl_BackLightModelProduct;"
 6157|       |
 6158|      0|            "struct gl_LightProducts {"
 6159|      0|                "vec4  ambient;"        // Acm * Acli
 6160|      0|                "vec4  diffuse;"        // Dcm * Dcli
 6161|      0|                "vec4  specular;"       // Scm * Scli
 6162|      0|            "};"
 6163|       |
 6164|       |            //
 6165|       |            // Fog p. 161
 6166|       |            //
 6167|      0|            "struct gl_FogParameters {"
 6168|      0|                "vec4  color;"
 6169|      0|                "float density;"
 6170|      0|                "float start;"
 6171|      0|                "float end;"
 6172|      0|                "float scale;"   //  1 / (gl_FogEnd - gl_FogStart)
 6173|      0|            "};"
 6174|       |
 6175|      0|            "uniform gl_FogParameters gl_Fog;"
 6176|       |
 6177|      0|            "\n");
 6178|      0|    }
 6179|       |
 6180|       |    //============================================================================
 6181|       |    //
 6182|       |    // Define the interface to the compute shader.
 6183|       |    //
 6184|       |    //============================================================================
 6185|       |
 6186|     36|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (6186:10): [True: 2, False: 34]
  |  Branch (6186:35): [True: 2, False: 0]
  ------------------
 6187|     34|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6187:10): [True: 34, False: 0]
  |  Branch (6187:35): [True: 0, False: 34]
  ------------------
 6188|      2|        stageBuiltins[EShLangCompute].append(
 6189|      2|            "in    highp uvec3 gl_NumWorkGroups;"
 6190|      2|            "const highp uvec3 gl_WorkGroupSize = uvec3(1,1,1);"
 6191|       |
 6192|      2|            "in highp uvec3 gl_WorkGroupID;"
 6193|      2|            "in highp uvec3 gl_LocalInvocationID;"
 6194|       |
 6195|      2|            "in highp uvec3 gl_GlobalInvocationID;"
 6196|      2|            "in highp uint gl_LocalInvocationIndex;"
 6197|       |
 6198|      2|            "\n");
 6199|      2|    }
 6200|       |
 6201|     36|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6201:10): [True: 2, False: 34]
  |  Branch (6201:35): [True: 2, False: 0]
  ------------------
 6202|     34|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6202:10): [True: 34, False: 0]
  |  Branch (6202:35): [True: 0, False: 34]
  ------------------
 6203|      2|        stageBuiltins[EShLangCompute].append(
 6204|      2|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6205|      2|            "\n");
 6206|      2|    }
 6207|       |
 6208|       |    // GL_QCOM_tile_shading
 6209|     36|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (6209:10): [True: 34, False: 2]
  |  Branch (6209:35): [True: 0, False: 34]
  ------------------
 6210|     36|        (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (6210:10): [True: 2, False: 34]
  |  Branch (6210:35): [True: 0, False: 2]
  ------------------
 6211|      0|        stageBuiltins[EShLangCompute].append(
 6212|      0|            "in highp uvec2 gl_TileOffsetQCOM;"     // GL_QCOM_tile_shading
 6213|      0|            "in highp uvec3 gl_TileDimensionQCOM;"  // GL_QCOM_tile_shading
 6214|      0|            "in highp uvec2 gl_TileApronSizeQCOM;"  // GL_QCOM_tile_shading
 6215|      0|            "\n");
 6216|      0|    }
 6217|       |
 6218|       |    //============================================================================
 6219|       |    //
 6220|       |    // Define the interface to the mesh/task shader.
 6221|       |    //
 6222|       |    //============================================================================
 6223|       |
 6224|     36|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (6224:10): [True: 2, False: 34]
  |  Branch (6224:35): [True: 2, False: 0]
  |  Branch (6224:55): [True: 34, False: 0]
  |  Branch (6224:80): [True: 0, False: 34]
  ------------------
 6225|       |        // per-vertex attributes
 6226|      2|        stageBuiltins[EShLangMesh].append(
 6227|      2|            "out gl_MeshPerVertexNV {"
 6228|      2|                "vec4 gl_Position;"
 6229|      2|                "float gl_PointSize;"
 6230|      2|                "float gl_ClipDistance[];"
 6231|      2|                "float gl_CullDistance[];"
 6232|      2|                "perviewNV vec4 gl_PositionPerViewNV[];"
 6233|      2|                "perviewNV float gl_ClipDistancePerViewNV[][];"
 6234|      2|                "perviewNV float gl_CullDistancePerViewNV[][];"
 6235|      2|            "} gl_MeshVerticesNV[];"
 6236|      2|        );
 6237|       |
 6238|       |        // per-primitive attributes
 6239|      2|        stageBuiltins[EShLangMesh].append(
 6240|      2|            "perprimitiveNV out gl_MeshPerPrimitiveNV {"
 6241|      2|                "int gl_PrimitiveID;"
 6242|      2|                "int gl_Layer;"
 6243|      2|                "int gl_ViewportIndex;"
 6244|      2|                "int gl_ViewportMask[];"
 6245|      2|                "perviewNV int gl_LayerPerViewNV[];"
 6246|      2|                "perviewNV int gl_ViewportMaskPerViewNV[][];"
 6247|      2|            "} gl_MeshPrimitivesNV[];"
 6248|      2|        );
 6249|       |
 6250|      2|        stageBuiltins[EShLangMesh].append(
 6251|      2|            "out uint gl_PrimitiveCountNV;"
 6252|      2|            "out uint gl_PrimitiveIndicesNV[];"
 6253|       |
 6254|      2|            "in uint gl_MeshViewCountNV;"
 6255|      2|            "in uint gl_MeshViewIndicesNV[4];"
 6256|       |
 6257|      2|            "const highp uvec3 gl_WorkGroupSize = uvec3(1,1,1);"
 6258|       |
 6259|      2|            "in highp uvec3 gl_WorkGroupID;"
 6260|      2|            "in highp uvec3 gl_LocalInvocationID;"
 6261|       |
 6262|      2|            "in highp uvec3 gl_GlobalInvocationID;"
 6263|      2|            "in highp uint gl_LocalInvocationIndex;"
 6264|      2|            "\n");
 6265|       |
 6266|       |        // GL_EXT_mesh_shader
 6267|      2|        stageBuiltins[EShLangMesh].append(
 6268|      2|            "out uint gl_PrimitivePointIndicesEXT[];"
 6269|      2|            "out uvec2 gl_PrimitiveLineIndicesEXT[];"
 6270|      2|            "out uvec3 gl_PrimitiveTriangleIndicesEXT[];"
 6271|      2|            "in    highp uvec3 gl_NumWorkGroups;"
 6272|      2|            "\n");
 6273|       |
 6274|       |        // per-vertex attributes
 6275|      2|        stageBuiltins[EShLangMesh].append(
 6276|      2|            "out gl_MeshPerVertexEXT {"
 6277|      2|                "vec4 gl_Position;"
 6278|      2|                "float gl_PointSize;"
 6279|      2|                "float gl_ClipDistance[];"
 6280|      2|                "float gl_CullDistance[];"
 6281|      2|            "} gl_MeshVerticesEXT[];"
 6282|      2|        );
 6283|       |
 6284|       |        // per-primitive attributes
 6285|      2|        stageBuiltins[EShLangMesh].append(
 6286|      2|            "perprimitiveEXT out gl_MeshPerPrimitiveEXT {"
 6287|      2|                "int gl_PrimitiveID;"
 6288|      2|                "int gl_Layer;"
 6289|      2|                "int gl_ViewportIndex;"
 6290|      2|                "bool gl_CullPrimitiveEXT;"
 6291|      2|                "int  gl_PrimitiveShadingRateEXT;"
 6292|      2|            "} gl_MeshPrimitivesEXT[];"
 6293|      2|        );
 6294|       |
 6295|      2|        stageBuiltins[EShLangTask].append(
 6296|      2|            "out uint gl_TaskCountNV;"
 6297|       |
 6298|      2|            "const highp uvec3 gl_WorkGroupSize = uvec3(1,1,1);"
 6299|       |
 6300|      2|            "in highp uvec3 gl_WorkGroupID;"
 6301|      2|            "in highp uvec3 gl_LocalInvocationID;"
 6302|       |
 6303|      2|            "in highp uvec3 gl_GlobalInvocationID;"
 6304|      2|            "in highp uint gl_LocalInvocationIndex;"
 6305|       |
 6306|      2|            "in uint gl_MeshViewCountNV;"
 6307|      2|            "in uint gl_MeshViewIndicesNV[4];"
 6308|      2|            "in    highp uvec3 gl_NumWorkGroups;"
 6309|      2|            "\n");
 6310|      2|    }
 6311|       |
 6312|     36|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (6312:9): [True: 2, False: 34]
  |  Branch (6312:34): [True: 2, False: 0]
  ------------------
 6313|      2|        stageBuiltins[EShLangMesh].append(
 6314|      2|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6315|      2|            "in int gl_DrawIDARB;"             // GL_ARB_shader_draw_parameters
 6316|      2|            "in int gl_ViewIndex;"             // GL_EXT_multiview
 6317|      2|            "\n");
 6318|       |
 6319|      2|        stageBuiltins[EShLangTask].append(
 6320|      2|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6321|      2|            "in int gl_DrawIDARB;"             // GL_ARB_shader_draw_parameters
 6322|      2|            "\n");
 6323|       |
 6324|      2|        if (version >= 460) {
  ------------------
  |  Branch (6324:13): [True: 0, False: 2]
  ------------------
 6325|      0|            stageBuiltins[EShLangMesh].append(
 6326|      0|                "in int gl_DrawID;"
 6327|      0|                "\n");
 6328|       |
 6329|      0|            stageBuiltins[EShLangTask].append(
 6330|      0|                "in int gl_DrawID;"
 6331|      0|                "\n");
 6332|      0|        }
 6333|      2|    }
 6334|       |
 6335|       |    //============================================================================
 6336|       |    //
 6337|       |    // Define the interface to the vertex shader.
 6338|       |    //
 6339|       |    //============================================================================
 6340|       |
 6341|     36|    if (profile != EEsProfile) {
  ------------------
  |  Branch (6341:9): [True: 2, False: 34]
  ------------------
 6342|      2|        if (version < 130) {
  ------------------
  |  Branch (6342:13): [True: 0, False: 2]
  ------------------
 6343|      0|            stageBuiltins[EShLangVertex].append(
 6344|      0|                "attribute vec4  gl_Color;"
 6345|      0|                "attribute vec4  gl_SecondaryColor;"
 6346|      0|                "attribute vec3  gl_Normal;"
 6347|      0|                "attribute vec4  gl_Vertex;"
 6348|      0|                "attribute vec4  gl_MultiTexCoord0;"
 6349|      0|                "attribute vec4  gl_MultiTexCoord1;"
 6350|      0|                "attribute vec4  gl_MultiTexCoord2;"
 6351|      0|                "attribute vec4  gl_MultiTexCoord3;"
 6352|      0|                "attribute vec4  gl_MultiTexCoord4;"
 6353|      0|                "attribute vec4  gl_MultiTexCoord5;"
 6354|      0|                "attribute vec4  gl_MultiTexCoord6;"
 6355|      0|                "attribute vec4  gl_MultiTexCoord7;"
 6356|      0|                "attribute float gl_FogCoord;"
 6357|      0|                "\n");
 6358|      2|        } else if (IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6358:20): [True: 0, False: 2]
  ------------------
 6359|      0|            stageBuiltins[EShLangVertex].append(
 6360|      0|                "in vec4  gl_Color;"
 6361|      0|                "in vec4  gl_SecondaryColor;"
 6362|      0|                "in vec3  gl_Normal;"
 6363|      0|                "in vec4  gl_Vertex;"
 6364|      0|                "in vec4  gl_MultiTexCoord0;"
 6365|      0|                "in vec4  gl_MultiTexCoord1;"
 6366|      0|                "in vec4  gl_MultiTexCoord2;"
 6367|      0|                "in vec4  gl_MultiTexCoord3;"
 6368|      0|                "in vec4  gl_MultiTexCoord4;"
 6369|      0|                "in vec4  gl_MultiTexCoord5;"
 6370|      0|                "in vec4  gl_MultiTexCoord6;"
 6371|      0|                "in vec4  gl_MultiTexCoord7;"
 6372|      0|                "in float gl_FogCoord;"
 6373|      0|                "\n");
 6374|      0|        }
 6375|       |
 6376|      2|        if (version < 150) {
  ------------------
  |  Branch (6376:13): [True: 0, False: 2]
  ------------------
 6377|      0|            if (version < 130) {
  ------------------
  |  Branch (6377:17): [True: 0, False: 0]
  ------------------
 6378|      0|                stageBuiltins[EShLangVertex].append(
 6379|      0|                    "        vec4  gl_ClipVertex;"       // needs qualifier fixed later
 6380|      0|                    "varying vec4  gl_FrontColor;"
 6381|      0|                    "varying vec4  gl_BackColor;"
 6382|      0|                    "varying vec4  gl_FrontSecondaryColor;"
 6383|      0|                    "varying vec4  gl_BackSecondaryColor;"
 6384|      0|                    "varying vec4  gl_TexCoord[];"
 6385|      0|                    "varying float gl_FogFragCoord;"
 6386|      0|                    "\n");
 6387|      0|            } else if (IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6387:24): [True: 0, False: 0]
  ------------------
 6388|      0|                stageBuiltins[EShLangVertex].append(
 6389|      0|                    "    vec4  gl_ClipVertex;"       // needs qualifier fixed later
 6390|      0|                    "out vec4  gl_FrontColor;"
 6391|      0|                    "out vec4  gl_BackColor;"
 6392|      0|                    "out vec4  gl_FrontSecondaryColor;"
 6393|      0|                    "out vec4  gl_BackSecondaryColor;"
 6394|      0|                    "out vec4  gl_TexCoord[];"
 6395|      0|                    "out float gl_FogFragCoord;"
 6396|      0|                    "\n");
 6397|      0|            }
 6398|      0|            stageBuiltins[EShLangVertex].append(
 6399|      0|                "vec4 gl_Position;"   // needs qualifier fixed later
 6400|      0|                "float gl_PointSize;" // needs qualifier fixed later
 6401|      0|                );
 6402|       |
 6403|      0|            if (version == 130 || version == 140)
  ------------------
  |  Branch (6403:17): [True: 0, False: 0]
  |  Branch (6403:35): [True: 0, False: 0]
  ------------------
 6404|      0|                stageBuiltins[EShLangVertex].append(
 6405|      0|                    "out float gl_ClipDistance[];"
 6406|      0|                    );
 6407|      2|        } else {
 6408|       |            // version >= 150
 6409|      2|            stageBuiltins[EShLangVertex].append(
 6410|      2|                "out gl_PerVertex {"
 6411|      2|                    "vec4 gl_Position;"     // needs qualifier fixed later
 6412|      2|                    "float gl_PointSize;"   // needs qualifier fixed later
 6413|      2|                    "float gl_ClipDistance[];"
 6414|      2|                    );
 6415|      2|            if (IncludeLegacy(version, profile, spvVersion))
  ------------------
  |  Branch (6415:17): [True: 0, False: 2]
  ------------------
 6416|      0|                stageBuiltins[EShLangVertex].append(
 6417|      0|                    "vec4 gl_ClipVertex;"   // needs qualifier fixed later
 6418|      0|                    "vec4 gl_FrontColor;"
 6419|      0|                    "vec4 gl_BackColor;"
 6420|      0|                    "vec4 gl_FrontSecondaryColor;"
 6421|      0|                    "vec4 gl_BackSecondaryColor;"
 6422|      0|                    "vec4 gl_TexCoord[];"
 6423|      0|                    "float gl_FogFragCoord;"
 6424|      0|                    );
 6425|      2|            if (version >= 450)
  ------------------
  |  Branch (6425:17): [True: 2, False: 0]
  ------------------
 6426|      2|                stageBuiltins[EShLangVertex].append(
 6427|      2|                    "float gl_CullDistance[];"
 6428|      2|                    );
 6429|      2|            stageBuiltins[EShLangVertex].append(
 6430|      2|                "};"
 6431|      2|                "\n");
 6432|      2|        }
 6433|      2|        if (version >= 130 && spvVersion.vulkan == 0)
  ------------------
  |  Branch (6433:13): [True: 2, False: 0]
  |  Branch (6433:31): [True: 2, False: 0]
  ------------------
 6434|      2|            stageBuiltins[EShLangVertex].append(
 6435|      2|                "int gl_VertexID;"            // needs qualifier fixed later
 6436|      2|                );
 6437|      2|        if (spvVersion.vulkan == 0)
  ------------------
  |  Branch (6437:13): [True: 2, False: 0]
  ------------------
 6438|      2|            stageBuiltins[EShLangVertex].append(
 6439|      2|                "int gl_InstanceID;"          // needs qualifier fixed later
 6440|      2|                );
 6441|      2|        if (spvVersion.vulkan > 0 && version >= 140)
  ------------------
  |  Branch (6441:13): [True: 0, False: 2]
  |  Branch (6441:38): [True: 0, False: 0]
  ------------------
 6442|      0|            stageBuiltins[EShLangVertex].append(
 6443|      0|                "in int gl_VertexIndex;"
 6444|      0|                "in int gl_InstanceIndex;"
 6445|      0|                );
 6446|       |
 6447|      2|        if (spvVersion.vulkan > 0 && version >= 140 && spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (6447:13): [True: 0, False: 2]
  |  Branch (6447:38): [True: 0, False: 0]
  |  Branch (6447:56): [True: 0, False: 0]
  ------------------
 6448|      0|            stageBuiltins[EShLangVertex].append(
 6449|      0|                "in int gl_VertexID;"         // declare with 'in' qualifier
 6450|      0|                "in int gl_InstanceID;"
 6451|      0|                );
 6452|       |
 6453|      2|        if (version >= 440) {
  ------------------
  |  Branch (6453:13): [True: 2, False: 0]
  ------------------
 6454|      2|            stageBuiltins[EShLangVertex].append(
 6455|      2|                "in int gl_BaseVertexARB;"
 6456|      2|                "in int gl_BaseInstanceARB;"
 6457|      2|                "in int gl_DrawIDARB;"
 6458|      2|                );
 6459|      2|        }
 6460|      2|        if (version >= 410) {
  ------------------
  |  Branch (6460:13): [True: 2, False: 0]
  ------------------
 6461|      2|            stageBuiltins[EShLangVertex].append(
 6462|      2|                "out int gl_ViewportIndex;"
 6463|      2|                "out int gl_Layer;"
 6464|      2|                );
 6465|      2|        }
 6466|      2|        if (version >= 460) {
  ------------------
  |  Branch (6466:13): [True: 0, False: 2]
  ------------------
 6467|      0|            stageBuiltins[EShLangVertex].append(
 6468|      0|                "in int gl_BaseVertex;"
 6469|      0|                "in int gl_BaseInstance;"
 6470|      0|                "in int gl_DrawID;"
 6471|      0|                );
 6472|      0|        }
 6473|       |
 6474|      2|        if (version >= 430)
  ------------------
  |  Branch (6474:13): [True: 2, False: 0]
  ------------------
 6475|      2|            stageBuiltins[EShLangVertex].append(
 6476|      2|                "out int gl_ViewportMask[];"             // GL_NV_viewport_array2
 6477|      2|                );
 6478|       |
 6479|      2|        if (version >= 450)
  ------------------
  |  Branch (6479:13): [True: 2, False: 0]
  ------------------
 6480|      2|            stageBuiltins[EShLangVertex].append(
 6481|      2|                "out int gl_SecondaryViewportMaskNV[];"  // GL_NV_stereo_view_rendering
 6482|      2|                "out vec4 gl_SecondaryPositionNV;"       // GL_NV_stereo_view_rendering
 6483|      2|                "out vec4 gl_PositionPerViewNV[];"       // GL_NVX_multiview_per_view_attributes
 6484|      2|                "out int  gl_ViewportMaskPerViewNV[];"   // GL_NVX_multiview_per_view_attributes
 6485|      2|                );
 6486|     34|    } else {
 6487|       |        // ES profile
 6488|     34|        if (version == 100) {
  ------------------
  |  Branch (6488:13): [True: 34, False: 0]
  ------------------
 6489|     34|            stageBuiltins[EShLangVertex].append(
 6490|     34|                "highp   vec4  gl_Position;"  // needs qualifier fixed later
 6491|     34|                "mediump float gl_PointSize;" // needs qualifier fixed later
 6492|     34|                "highp int gl_InstanceID;" // needs qualifier fixed later
 6493|     34|                );
 6494|     34|        } else {
 6495|      0|            if (spvVersion.vulkan == 0 || spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (6495:17): [True: 0, False: 0]
  |  Branch (6495:43): [True: 0, False: 0]
  ------------------
 6496|      0|                stageBuiltins[EShLangVertex].append(
 6497|      0|                    "in highp int gl_VertexID;"      // needs qualifier fixed later
 6498|      0|                    "in highp int gl_InstanceID;"    // needs qualifier fixed later
 6499|      0|                    );
 6500|      0|            if (spvVersion.vulkan > 0)
  ------------------
  |  Branch (6500:17): [True: 0, False: 0]
  ------------------
 6501|      0|                stageBuiltins[EShLangVertex].append(
 6502|      0|                    "in highp int gl_VertexIndex;"
 6503|      0|                    "in highp int gl_InstanceIndex;"
 6504|      0|                    );
 6505|      0|            if (version < 310)
  ------------------
  |  Branch (6505:17): [True: 0, False: 0]
  ------------------
 6506|      0|                stageBuiltins[EShLangVertex].append(
 6507|      0|                    "highp vec4  gl_Position;"    // needs qualifier fixed later
 6508|      0|                    "highp float gl_PointSize;"   // needs qualifier fixed later
 6509|      0|                    );
 6510|      0|            else
 6511|      0|                stageBuiltins[EShLangVertex].append(
 6512|      0|                    "out gl_PerVertex {"
 6513|      0|                        "highp vec4  gl_Position;"    // needs qualifier fixed later
 6514|      0|                        "highp float gl_PointSize;"   // needs qualifier fixed later
 6515|      0|                    "};"
 6516|      0|                    );
 6517|      0|        }
 6518|     34|    }
 6519|       |
 6520|     36|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6520:10): [True: 2, False: 34]
  |  Branch (6520:35): [True: 2, False: 0]
  ------------------
 6521|     34|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6521:10): [True: 34, False: 0]
  |  Branch (6521:35): [True: 0, False: 34]
  ------------------
 6522|      2|        stageBuiltins[EShLangVertex].append(
 6523|      2|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6524|      2|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6525|      2|            "\n");
 6526|      2|    }
 6527|       |
 6528|     36|    if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (6528:9): [True: 2, False: 34]
  ------------------
 6529|      2|        stageBuiltins[EShLangVertex].append(
 6530|      2|            "in highp uint gl_ViewID_OVR;"     // GL_OVR_multiview, GL_OVR_multiview2
 6531|      2|            "\n");
 6532|      2|    }
 6533|       |
 6534|     36|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6534:10): [True: 2, False: 34]
  |  Branch (6534:35): [True: 2, False: 0]
  |  Branch (6534:55): [True: 34, False: 0]
  |  Branch (6534:80): [True: 0, False: 34]
  ------------------
 6535|      2|        stageBuiltins[EShLangVertex].append(
 6536|      2|            "out highp int gl_PrimitiveShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6537|      2|            "\n");
 6538|      2|    }
 6539|       |
 6540|       |    //============================================================================
 6541|       |    //
 6542|       |    // Define the interface to the geometry shader.
 6543|       |    //
 6544|       |    //============================================================================
 6545|       |
 6546|     36|    if (profile == ECoreProfile || profile == ECompatibilityProfile) {
  ------------------
  |  Branch (6546:9): [True: 2, False: 34]
  |  Branch (6546:36): [True: 0, False: 34]
  ------------------
 6547|      2|        stageBuiltins[EShLangGeometry].append(
 6548|      2|            "in gl_PerVertex {"
 6549|      2|                "vec4 gl_Position;"
 6550|      2|                "float gl_PointSize;"
 6551|      2|                "float gl_ClipDistance[];"
 6552|      2|                );
 6553|      2|        if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (6553:13): [True: 0, False: 2]
  ------------------
 6554|      0|            stageBuiltins[EShLangGeometry].append(
 6555|      0|                "vec4 gl_ClipVertex;"
 6556|      0|                "vec4 gl_FrontColor;"
 6557|      0|                "vec4 gl_BackColor;"
 6558|      0|                "vec4 gl_FrontSecondaryColor;"
 6559|      0|                "vec4 gl_BackSecondaryColor;"
 6560|      0|                "vec4 gl_TexCoord[];"
 6561|      0|                "float gl_FogFragCoord;"
 6562|      0|                );
 6563|      2|        if (version >= 450)
  ------------------
  |  Branch (6563:13): [True: 2, False: 0]
  ------------------
 6564|      2|            stageBuiltins[EShLangGeometry].append(
 6565|      2|                "float gl_CullDistance[];"
 6566|      2|                "vec4 gl_SecondaryPositionNV;"   // GL_NV_stereo_view_rendering
 6567|      2|                "vec4 gl_PositionPerViewNV[];"   // GL_NVX_multiview_per_view_attributes
 6568|      2|                );
 6569|      2|        stageBuiltins[EShLangGeometry].append(
 6570|      2|            "} gl_in[];"
 6571|       |
 6572|      2|            "in int gl_PrimitiveIDIn;"
 6573|      2|            "out gl_PerVertex {"
 6574|      2|                "vec4 gl_Position;"
 6575|      2|                "float gl_PointSize;"
 6576|      2|                "float gl_ClipDistance[];"
 6577|      2|                "\n");
 6578|      2|        if (profile == ECompatibilityProfile && version >= 400)
  ------------------
  |  Branch (6578:13): [True: 0, False: 2]
  |  Branch (6578:49): [True: 0, False: 0]
  ------------------
 6579|      0|            stageBuiltins[EShLangGeometry].append(
 6580|      0|                "vec4 gl_ClipVertex;"
 6581|      0|                "vec4 gl_FrontColor;"
 6582|      0|                "vec4 gl_BackColor;"
 6583|      0|                "vec4 gl_FrontSecondaryColor;"
 6584|      0|                "vec4 gl_BackSecondaryColor;"
 6585|      0|                "vec4 gl_TexCoord[];"
 6586|      0|                "float gl_FogFragCoord;"
 6587|      0|                );
 6588|      2|        if (version >= 450)
  ------------------
  |  Branch (6588:13): [True: 2, False: 0]
  ------------------
 6589|      2|            stageBuiltins[EShLangGeometry].append(
 6590|      2|                "float gl_CullDistance[];"
 6591|      2|                );
 6592|      2|        stageBuiltins[EShLangGeometry].append(
 6593|      2|            "};"
 6594|       |
 6595|      2|            "out int gl_PrimitiveID;"
 6596|      2|            "out int gl_Layer;");
 6597|       |
 6598|      2|        if (version >= 150)
  ------------------
  |  Branch (6598:13): [True: 2, False: 0]
  ------------------
 6599|      2|            stageBuiltins[EShLangGeometry].append(
 6600|      2|            "out int gl_ViewportIndex;"
 6601|      2|            );
 6602|       |
 6603|      2|        if (profile == ECompatibilityProfile && version < 400)
  ------------------
  |  Branch (6603:13): [True: 0, False: 2]
  |  Branch (6603:49): [True: 0, False: 0]
  ------------------
 6604|      0|            stageBuiltins[EShLangGeometry].append(
 6605|      0|            "out vec4 gl_ClipVertex;"
 6606|      0|            );
 6607|       |
 6608|      2|        if (version >= 150)
  ------------------
  |  Branch (6608:13): [True: 2, False: 0]
  ------------------
 6609|      2|            stageBuiltins[EShLangGeometry].append(
 6610|      2|            "in int gl_InvocationID;"
 6611|      2|            );
 6612|       |
 6613|      2|        if (version >= 430)
  ------------------
  |  Branch (6613:13): [True: 2, False: 0]
  ------------------
 6614|      2|            stageBuiltins[EShLangGeometry].append(
 6615|      2|                "out int gl_ViewportMask[];"               // GL_NV_viewport_array2
 6616|      2|            );
 6617|       |
 6618|      2|        if (version >= 450)
  ------------------
  |  Branch (6618:13): [True: 2, False: 0]
  ------------------
 6619|      2|            stageBuiltins[EShLangGeometry].append(
 6620|      2|                "out int gl_SecondaryViewportMaskNV[];"    // GL_NV_stereo_view_rendering
 6621|      2|                "out vec4 gl_SecondaryPositionNV;"         // GL_NV_stereo_view_rendering
 6622|      2|                "out vec4 gl_PositionPerViewNV[];"         // GL_NVX_multiview_per_view_attributes
 6623|      2|                "out int  gl_ViewportMaskPerViewNV[];"     // GL_NVX_multiview_per_view_attributes
 6624|      2|            );
 6625|       |
 6626|      2|        stageBuiltins[EShLangGeometry].append("\n");
 6627|     34|    } else if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (6627:16): [True: 34, False: 0]
  |  Branch (6627:41): [True: 0, False: 34]
  ------------------
 6628|      0|        stageBuiltins[EShLangGeometry].append(
 6629|      0|            "in gl_PerVertex {"
 6630|      0|                "highp vec4 gl_Position;"
 6631|      0|                "highp float gl_PointSize;"
 6632|      0|            "} gl_in[];"
 6633|      0|            "\n"
 6634|      0|            "in highp int gl_PrimitiveIDIn;"
 6635|      0|            "in highp int gl_InvocationID;"
 6636|      0|            "\n"
 6637|      0|            "out gl_PerVertex {"
 6638|      0|                "highp vec4 gl_Position;"
 6639|      0|                "highp float gl_PointSize;"
 6640|      0|            "};"
 6641|      0|            "\n"
 6642|      0|            "out highp int gl_PrimitiveID;"
 6643|      0|            "out highp int gl_Layer;"
 6644|      0|            "\n"
 6645|      0|            );
 6646|      0|    }
 6647|       |
 6648|     36|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6648:10): [True: 2, False: 34]
  |  Branch (6648:35): [True: 2, False: 0]
  ------------------
 6649|     34|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6649:10): [True: 34, False: 0]
  |  Branch (6649:35): [True: 0, False: 34]
  ------------------
 6650|      2|        stageBuiltins[EShLangGeometry].append(
 6651|      2|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6652|      2|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6653|      2|            "\n");
 6654|      2|    }
 6655|       |
 6656|     36|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6656:10): [True: 2, False: 34]
  |  Branch (6656:35): [True: 2, False: 0]
  |  Branch (6656:55): [True: 34, False: 0]
  |  Branch (6656:80): [True: 0, False: 34]
  ------------------
 6657|      2|        stageBuiltins[EShLangGeometry].append(
 6658|      2|            "out highp int gl_PrimitiveShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6659|      2|            "\n");
 6660|      2|    }
 6661|       |
 6662|       |    //============================================================================
 6663|       |    //
 6664|       |    // Define the interface to the tessellation control shader.
 6665|       |    //
 6666|       |    //============================================================================
 6667|       |
 6668|     36|    if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (6668:9): [True: 2, False: 34]
  |  Branch (6668:34): [True: 2, False: 0]
  ------------------
 6669|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6670|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6671|       |
 6672|      2|        stageBuiltins[EShLangTessControl].append(
 6673|      2|            "in int gl_PatchVerticesIn;"
 6674|      2|            "in int gl_PrimitiveID;"
 6675|      2|            "in int gl_InvocationID;"
 6676|       |
 6677|      2|            "out gl_PerVertex {"
 6678|      2|                "vec4 gl_Position;"
 6679|      2|                "float gl_PointSize;"
 6680|      2|                "float gl_ClipDistance[];"
 6681|      2|                );
 6682|      2|        if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (6682:13): [True: 0, False: 2]
  ------------------
 6683|      0|            stageBuiltins[EShLangTessControl].append(
 6684|      0|                "vec4 gl_ClipVertex;"
 6685|      0|                "vec4 gl_FrontColor;"
 6686|      0|                "vec4 gl_BackColor;"
 6687|      0|                "vec4 gl_FrontSecondaryColor;"
 6688|      0|                "vec4 gl_BackSecondaryColor;"
 6689|      0|                "vec4 gl_TexCoord[];"
 6690|      0|                "float gl_FogFragCoord;"
 6691|      0|                );
 6692|      2|        if (version >= 450)
  ------------------
  |  Branch (6692:13): [True: 2, False: 0]
  ------------------
 6693|      2|            stageBuiltins[EShLangTessControl].append(
 6694|      2|                "float gl_CullDistance[];"
 6695|      2|            );
 6696|      2|        if (version >= 430)
  ------------------
  |  Branch (6696:13): [True: 2, False: 0]
  ------------------
 6697|      2|            stageBuiltins[EShLangTessControl].append(
 6698|      2|                "int  gl_ViewportMask[];"             // GL_NV_viewport_array2
 6699|      2|            );
 6700|      2|        if (version >= 450)
  ------------------
  |  Branch (6700:13): [True: 2, False: 0]
  ------------------
 6701|      2|            stageBuiltins[EShLangTessControl].append(
 6702|      2|                "vec4 gl_SecondaryPositionNV;"        // GL_NV_stereo_view_rendering
 6703|      2|                "int  gl_SecondaryViewportMaskNV[];"  // GL_NV_stereo_view_rendering
 6704|      2|                "vec4 gl_PositionPerViewNV[];"        // GL_NVX_multiview_per_view_attributes
 6705|      2|                "int  gl_ViewportMaskPerViewNV[];"    // GL_NVX_multiview_per_view_attributes
 6706|      2|                );
 6707|      2|        stageBuiltins[EShLangTessControl].append(
 6708|      2|            "} gl_out[];"
 6709|       |
 6710|      2|            "patch out float gl_TessLevelOuter[4];"
 6711|      2|            "patch out float gl_TessLevelInner[2];"
 6712|      2|            "\n");
 6713|       |
 6714|      2|        if (version >= 410)
  ------------------
  |  Branch (6714:13): [True: 2, False: 0]
  ------------------
 6715|      2|            stageBuiltins[EShLangTessControl].append(
 6716|      2|                "out int gl_ViewportIndex;"
 6717|      2|                "out int gl_Layer;"
 6718|      2|                "\n");
 6719|       |
 6720|     34|    } else {
 6721|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6722|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6723|       |
 6724|     34|        stageBuiltins[EShLangTessControl].append(
 6725|     34|            "in highp int gl_PatchVerticesIn;"
 6726|     34|            "in highp int gl_PrimitiveID;"
 6727|     34|            "in highp int gl_InvocationID;"
 6728|       |
 6729|     34|            "out gl_PerVertex {"
 6730|     34|                "highp vec4 gl_Position;"
 6731|     34|                "highp float gl_PointSize;"
 6732|     34|                );
 6733|     34|        stageBuiltins[EShLangTessControl].append(
 6734|     34|            "} gl_out[];"
 6735|       |
 6736|     34|            "patch out highp float gl_TessLevelOuter[4];"
 6737|     34|            "patch out highp float gl_TessLevelInner[2];"
 6738|     34|            "patch out highp vec4 gl_BoundingBoxOES[2];"
 6739|     34|            "patch out highp vec4 gl_BoundingBoxEXT[2];"
 6740|     34|            "\n");
 6741|     34|        if (profile == EEsProfile && version >= 320) {
  ------------------
  |  Branch (6741:13): [True: 34, False: 0]
  |  Branch (6741:38): [True: 0, False: 34]
  ------------------
 6742|      0|            stageBuiltins[EShLangTessControl].append(
 6743|      0|                "patch out highp vec4 gl_BoundingBox[2];"
 6744|      0|                "\n"
 6745|      0|            );
 6746|      0|        }
 6747|     34|    }
 6748|       |
 6749|     36|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6749:10): [True: 2, False: 34]
  |  Branch (6749:35): [True: 2, False: 0]
  ------------------
 6750|     34|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6750:10): [True: 34, False: 0]
  |  Branch (6750:35): [True: 0, False: 34]
  ------------------
 6751|      2|        stageBuiltins[EShLangTessControl].append(
 6752|      2|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6753|      2|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6754|      2|            "\n");
 6755|      2|    }
 6756|       |
 6757|       |    //============================================================================
 6758|       |    //
 6759|       |    // Define the interface to the tessellation evaluation shader.
 6760|       |    //
 6761|       |    //============================================================================
 6762|       |
 6763|     36|    if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (6763:9): [True: 2, False: 34]
  |  Branch (6763:34): [True: 2, False: 0]
  ------------------
 6764|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6765|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6766|       |
 6767|      2|        stageBuiltins[EShLangTessEvaluation].append(
 6768|      2|            "in int gl_PatchVerticesIn;"
 6769|      2|            "in int gl_PrimitiveID;"
 6770|      2|            "in vec3 gl_TessCoord;"
 6771|       |
 6772|      2|            "patch in float gl_TessLevelOuter[4];"
 6773|      2|            "patch in float gl_TessLevelInner[2];"
 6774|       |
 6775|      2|            "out gl_PerVertex {"
 6776|      2|                "vec4 gl_Position;"
 6777|      2|                "float gl_PointSize;"
 6778|      2|                "float gl_ClipDistance[];"
 6779|      2|            );
 6780|      2|        if (version >= 400 && profile == ECompatibilityProfile)
  ------------------
  |  Branch (6780:13): [True: 2, False: 0]
  |  Branch (6780:31): [True: 0, False: 2]
  ------------------
 6781|      0|            stageBuiltins[EShLangTessEvaluation].append(
 6782|      0|                "vec4 gl_ClipVertex;"
 6783|      0|                "vec4 gl_FrontColor;"
 6784|      0|                "vec4 gl_BackColor;"
 6785|      0|                "vec4 gl_FrontSecondaryColor;"
 6786|      0|                "vec4 gl_BackSecondaryColor;"
 6787|      0|                "vec4 gl_TexCoord[];"
 6788|      0|                "float gl_FogFragCoord;"
 6789|      0|                );
 6790|      2|        if (version >= 450)
  ------------------
  |  Branch (6790:13): [True: 2, False: 0]
  ------------------
 6791|      2|            stageBuiltins[EShLangTessEvaluation].append(
 6792|      2|                "float gl_CullDistance[];"
 6793|      2|                );
 6794|      2|        stageBuiltins[EShLangTessEvaluation].append(
 6795|      2|            "};"
 6796|      2|            "\n");
 6797|       |
 6798|      2|        if (version >= 410)
  ------------------
  |  Branch (6798:13): [True: 2, False: 0]
  ------------------
 6799|      2|            stageBuiltins[EShLangTessEvaluation].append(
 6800|      2|                "out int gl_ViewportIndex;"
 6801|      2|                "out int gl_Layer;"
 6802|      2|                "\n");
 6803|       |
 6804|      2|        if (version >= 430)
  ------------------
  |  Branch (6804:13): [True: 2, False: 0]
  ------------------
 6805|      2|            stageBuiltins[EShLangTessEvaluation].append(
 6806|      2|                "out int  gl_ViewportMask[];"             // GL_NV_viewport_array2
 6807|      2|            );
 6808|       |
 6809|      2|        if (version >= 450)
  ------------------
  |  Branch (6809:13): [True: 2, False: 0]
  ------------------
 6810|      2|            stageBuiltins[EShLangTessEvaluation].append(
 6811|      2|                "out vec4 gl_SecondaryPositionNV;"        // GL_NV_stereo_view_rendering
 6812|      2|                "out int  gl_SecondaryViewportMaskNV[];"  // GL_NV_stereo_view_rendering
 6813|      2|                "out vec4 gl_PositionPerViewNV[];"        // GL_NVX_multiview_per_view_attributes
 6814|      2|                "out int  gl_ViewportMaskPerViewNV[];"    // GL_NVX_multiview_per_view_attributes
 6815|      2|                );
 6816|       |
 6817|     34|    } else if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (6817:16): [True: 34, False: 0]
  |  Branch (6817:41): [True: 0, False: 34]
  ------------------
 6818|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6819|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6820|       |
 6821|      0|        stageBuiltins[EShLangTessEvaluation].append(
 6822|      0|            "in highp int gl_PatchVerticesIn;"
 6823|      0|            "in highp int gl_PrimitiveID;"
 6824|      0|            "in highp vec3 gl_TessCoord;"
 6825|       |
 6826|      0|            "patch in highp float gl_TessLevelOuter[4];"
 6827|      0|            "patch in highp float gl_TessLevelInner[2];"
 6828|       |
 6829|      0|            "out gl_PerVertex {"
 6830|      0|                "highp vec4 gl_Position;"
 6831|      0|                "highp float gl_PointSize;"
 6832|      0|            );
 6833|      0|        stageBuiltins[EShLangTessEvaluation].append(
 6834|      0|            "};"
 6835|      0|            "\n");
 6836|      0|    }
 6837|       |
 6838|     36|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6838:10): [True: 2, False: 34]
  |  Branch (6838:35): [True: 2, False: 0]
  ------------------
 6839|     34|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6839:10): [True: 34, False: 0]
  |  Branch (6839:35): [True: 0, False: 34]
  ------------------
 6840|      2|        stageBuiltins[EShLangTessEvaluation].append(
 6841|      2|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6842|      2|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6843|      2|            "\n");
 6844|      2|    }
 6845|       |
 6846|       |    //============================================================================
 6847|       |    //
 6848|       |    // Define the interface to the fragment shader.
 6849|       |    //
 6850|       |    //============================================================================
 6851|       |
 6852|     36|    if (profile != EEsProfile) {
  ------------------
  |  Branch (6852:9): [True: 2, False: 34]
  ------------------
 6853|       |
 6854|      2|        stageBuiltins[EShLangFragment].append(
 6855|      2|            "vec4  gl_FragCoord;"   // needs qualifier fixed later
 6856|      2|            "bool  gl_FrontFacing;" // needs qualifier fixed later
 6857|      2|            "float gl_FragDepth;"   // needs qualifier fixed later
 6858|      2|            );
 6859|      2|        if (version >= 120)
  ------------------
  |  Branch (6859:13): [True: 2, False: 0]
  ------------------
 6860|      2|            stageBuiltins[EShLangFragment].append(
 6861|      2|                "vec2 gl_PointCoord;"  // needs qualifier fixed later
 6862|      2|                );
 6863|      2|        if (version >= 140)
  ------------------
  |  Branch (6863:13): [True: 2, False: 0]
  ------------------
 6864|      2|            stageBuiltins[EShLangFragment].append(
 6865|      2|                "out int gl_FragStencilRefARB;"
 6866|      2|                );
 6867|      2|        if (IncludeLegacy(version, profile, spvVersion) || (! ForwardCompatibility && version < 420))
  ------------------
  |  Branch (6867:13): [True: 0, False: 2]
  |  Branch (6867:61): [True: 2, Folded]
  |  Branch (6867:87): [True: 0, False: 2]
  ------------------
 6868|      0|            stageBuiltins[EShLangFragment].append(
 6869|      0|                "vec4 gl_FragColor;"   // needs qualifier fixed later
 6870|      0|                );
 6871|       |
 6872|      2|        if (version < 130) {
  ------------------
  |  Branch (6872:13): [True: 0, False: 2]
  ------------------
 6873|      0|            stageBuiltins[EShLangFragment].append(
 6874|      0|                "varying vec4  gl_Color;"
 6875|      0|                "varying vec4  gl_SecondaryColor;"
 6876|      0|                "varying vec4  gl_TexCoord[];"
 6877|      0|                "varying float gl_FogFragCoord;"
 6878|      0|                );
 6879|      2|        } else {
 6880|      2|            stageBuiltins[EShLangFragment].append(
 6881|      2|                "in float gl_ClipDistance[];"
 6882|      2|                );
 6883|       |
 6884|      2|            if (IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6884:17): [True: 0, False: 2]
  ------------------
 6885|      0|                if (version < 150)
  ------------------
  |  Branch (6885:21): [True: 0, False: 0]
  ------------------
 6886|      0|                    stageBuiltins[EShLangFragment].append(
 6887|      0|                        "in float gl_FogFragCoord;"
 6888|      0|                        "in vec4  gl_TexCoord[];"
 6889|      0|                        "in vec4  gl_Color;"
 6890|      0|                        "in vec4  gl_SecondaryColor;"
 6891|      0|                        );
 6892|      0|                else
 6893|      0|                    stageBuiltins[EShLangFragment].append(
 6894|      0|                        "in gl_PerFragment {"
 6895|      0|                            "in float gl_FogFragCoord;"
 6896|      0|                            "in vec4  gl_TexCoord[];"
 6897|      0|                            "in vec4  gl_Color;"
 6898|      0|                            "in vec4  gl_SecondaryColor;"
 6899|      0|                        "};"
 6900|      0|                        );
 6901|      0|            }
 6902|      2|        }
 6903|       |
 6904|      2|        if (version >= 150)
  ------------------
  |  Branch (6904:13): [True: 2, False: 0]
  ------------------
 6905|      2|            stageBuiltins[EShLangFragment].append(
 6906|      2|                "flat in int gl_PrimitiveID;"
 6907|      2|                );
 6908|       |
 6909|      2|        if (version >= 130) { // ARB_sample_shading
  ------------------
  |  Branch (6909:13): [True: 2, False: 0]
  ------------------
 6910|      2|            stageBuiltins[EShLangFragment].append(
 6911|      2|                "flat in  int  gl_SampleID;"
 6912|      2|                "     in  vec2 gl_SamplePosition;"
 6913|      2|                "     out int  gl_SampleMask[];"
 6914|      2|                );
 6915|       |
 6916|      2|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (6916:17): [True: 2, False: 0]
  ------------------
 6917|      2|                stageBuiltins[EShLangFragment].append(
 6918|      2|                    "uniform int gl_NumSamples;"
 6919|      2|                );
 6920|      2|            }
 6921|      2|        }
 6922|       |
 6923|      2|        if (version >= 150)
  ------------------
  |  Branch (6923:13): [True: 2, False: 0]
  ------------------
 6924|      2|            stageBuiltins[EShLangFragment].append(
 6925|      2|                "flat in  int  gl_SampleMaskIn[];"
 6926|      2|            );
 6927|       |
 6928|      2|        if (version >= 430)
  ------------------
  |  Branch (6928:13): [True: 2, False: 0]
  ------------------
 6929|      2|            stageBuiltins[EShLangFragment].append(
 6930|      2|                "flat in int gl_Layer;"
 6931|      2|                "flat in int gl_ViewportIndex;"
 6932|      2|                );
 6933|       |
 6934|      2|        if (version >= 450)
  ------------------
  |  Branch (6934:13): [True: 2, False: 0]
  ------------------
 6935|      2|            stageBuiltins[EShLangFragment].append(
 6936|      2|                "in float gl_CullDistance[];"
 6937|      2|                "bool gl_HelperInvocation;"     // needs qualifier fixed later
 6938|      2|                );
 6939|       |
 6940|      2|        if (version >= 450)
  ------------------
  |  Branch (6940:13): [True: 2, False: 0]
  ------------------
 6941|      2|            stageBuiltins[EShLangFragment].append( // GL_EXT_fragment_invocation_density
 6942|      2|                "flat in ivec2 gl_FragSizeEXT;"
 6943|      2|                "flat in int   gl_FragInvocationCountEXT;"
 6944|      2|                );
 6945|       |
 6946|      2|        if (version >= 450)
  ------------------
  |  Branch (6946:13): [True: 2, False: 0]
  ------------------
 6947|      2|            stageBuiltins[EShLangFragment].append(
 6948|      2|                "in vec2 gl_BaryCoordNoPerspAMD;"
 6949|      2|                "in vec2 gl_BaryCoordNoPerspCentroidAMD;"
 6950|      2|                "in vec2 gl_BaryCoordNoPerspSampleAMD;"
 6951|      2|                "in vec2 gl_BaryCoordSmoothAMD;"
 6952|      2|                "in vec2 gl_BaryCoordSmoothCentroidAMD;"
 6953|      2|                "in vec2 gl_BaryCoordSmoothSampleAMD;"
 6954|      2|                "in vec3 gl_BaryCoordPullModelAMD;"
 6955|      2|                );
 6956|       |
 6957|      2|        if (version >= 430)
  ------------------
  |  Branch (6957:13): [True: 2, False: 0]
  ------------------
 6958|      2|            stageBuiltins[EShLangFragment].append(
 6959|      2|                "in bool gl_FragFullyCoveredNV;"
 6960|      2|                );
 6961|      2|        if (version >= 450)
  ------------------
  |  Branch (6961:13): [True: 2, False: 0]
  ------------------
 6962|      2|            stageBuiltins[EShLangFragment].append(
 6963|      2|                "flat in ivec2 gl_FragmentSizeNV;"          // GL_NV_shading_rate_image
 6964|      2|                "flat in int   gl_InvocationsPerPixelNV;"
 6965|      2|                "in vec3 gl_BaryCoordNV;"                   // GL_NV_fragment_shader_barycentric
 6966|      2|                "in vec3 gl_BaryCoordNoPerspNV;"
 6967|      2|                "in vec3 gl_BaryCoordEXT;"                  // GL_EXT_fragment_shader_barycentric
 6968|      2|                "in vec3 gl_BaryCoordNoPerspEXT;"
 6969|      2|                );
 6970|       |
 6971|      2|        if (version >= 450)
  ------------------
  |  Branch (6971:13): [True: 2, False: 0]
  ------------------
 6972|      2|            stageBuiltins[EShLangFragment].append(
 6973|      2|                "flat in int gl_ShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6974|      2|            );
 6975|       |
 6976|     34|    } else {
 6977|       |        // ES profile
 6978|       |
 6979|     34|        if (version == 100) {
  ------------------
  |  Branch (6979:13): [True: 34, False: 0]
  ------------------
 6980|     34|            stageBuiltins[EShLangFragment].append(
 6981|     34|                "mediump vec4 gl_FragCoord;"    // needs qualifier fixed later
 6982|     34|                "        bool gl_FrontFacing;"  // needs qualifier fixed later
 6983|     34|                "mediump vec4 gl_FragColor;"    // needs qualifier fixed later
 6984|     34|                "mediump vec2 gl_PointCoord;"   // needs qualifier fixed later
 6985|     34|                );
 6986|     34|        }
 6987|     34|        if (version >= 300) {
  ------------------
  |  Branch (6987:13): [True: 0, False: 34]
  ------------------
 6988|      0|            stageBuiltins[EShLangFragment].append(
 6989|      0|                "highp   vec4  gl_FragCoord;"    // needs qualifier fixed later
 6990|      0|                "        bool  gl_FrontFacing;"  // needs qualifier fixed later
 6991|      0|                "mediump vec2  gl_PointCoord;"   // needs qualifier fixed later
 6992|      0|                "highp   float gl_FragDepth;"    // needs qualifier fixed later
 6993|      0|                );
 6994|      0|        }
 6995|     34|        if (version >= 310) {
  ------------------
  |  Branch (6995:13): [True: 0, False: 34]
  ------------------
 6996|      0|            stageBuiltins[EShLangFragment].append(
 6997|      0|                "bool gl_HelperInvocation;"          // needs qualifier fixed later
 6998|      0|                "flat in highp int gl_PrimitiveID;"  // needs qualifier fixed later
 6999|      0|                "flat in highp int gl_Layer;"        // needs qualifier fixed later
 7000|      0|                );
 7001|       |
 7002|      0|            stageBuiltins[EShLangFragment].append(  // GL_OES_sample_variables
 7003|      0|                "flat  in lowp     int gl_SampleID;"
 7004|      0|                "      in mediump vec2 gl_SamplePosition;"
 7005|      0|                "flat  in highp    int gl_SampleMaskIn[];"
 7006|      0|                "     out highp    int gl_SampleMask[];"
 7007|      0|                );
 7008|      0|            if (spvVersion.spv == 0)
  ------------------
  |  Branch (7008:17): [True: 0, False: 0]
  ------------------
 7009|      0|                stageBuiltins[EShLangFragment].append(  // GL_OES_sample_variables
 7010|      0|                    "uniform lowp int gl_NumSamples;"
 7011|      0|                    );
 7012|      0|        }
 7013|     34|        stageBuiltins[EShLangFragment].append(
 7014|     34|            "highp float gl_FragDepthEXT;"       // GL_EXT_frag_depth
 7015|     34|            );
 7016|       |
 7017|     34|        if (version >= 310)
  ------------------
  |  Branch (7017:13): [True: 0, False: 34]
  ------------------
 7018|      0|            stageBuiltins[EShLangFragment].append( // GL_EXT_fragment_invocation_density
 7019|      0|                "flat in ivec2 gl_FragSizeEXT;"
 7020|      0|                "flat in int   gl_FragInvocationCountEXT;"
 7021|      0|            );
 7022|     34|        if (version >= 320)
  ------------------
  |  Branch (7022:13): [True: 0, False: 34]
  ------------------
 7023|      0|            stageBuiltins[EShLangFragment].append( // GL_NV_shading_rate_image
 7024|      0|                "flat in ivec2 gl_FragmentSizeNV;"
 7025|      0|                "flat in int   gl_InvocationsPerPixelNV;"
 7026|      0|            );
 7027|     34|        if (version >= 320)
  ------------------
  |  Branch (7027:13): [True: 0, False: 34]
  ------------------
 7028|      0|            stageBuiltins[EShLangFragment].append(
 7029|      0|                "in vec3 gl_BaryCoordNV;"
 7030|      0|                "in vec3 gl_BaryCoordNoPerspNV;"
 7031|      0|                "in vec3 gl_BaryCoordEXT;"
 7032|      0|                "in vec3 gl_BaryCoordNoPerspEXT;"
 7033|      0|            );
 7034|     34|        if (version >= 310)
  ------------------
  |  Branch (7034:13): [True: 0, False: 34]
  ------------------
 7035|      0|            stageBuiltins[EShLangFragment].append(
 7036|      0|                "flat in highp int gl_ShadingRateEXT;" // GL_EXT_fragment_shading_rate
 7037|      0|            );
 7038|     34|    }
 7039|       |
 7040|     36|    stageBuiltins[EShLangFragment].append("\n");
 7041|       |
 7042|     36|    if (version >= 130)
  ------------------
  |  Branch (7042:9): [True: 2, False: 34]
  ------------------
 7043|      2|        add2ndGenerationSamplingImaging(version, profile, spvVersion);
 7044|       |
 7045|     36|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (7045:10): [True: 2, False: 34]
  |  Branch (7045:35): [True: 2, False: 0]
  ------------------
 7046|     34|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7046:10): [True: 34, False: 0]
  |  Branch (7046:35): [True: 0, False: 34]
  ------------------
 7047|      2|        stageBuiltins[EShLangFragment].append(
 7048|      2|            "flat in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 7049|      2|            "flat in highp int gl_ViewIndex;"       // GL_EXT_multiview
 7050|      2|            "\n");
 7051|      2|    }
 7052|       |
 7053|     36|    if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (7053:9): [True: 2, False: 34]
  ------------------
 7054|      2|        stageBuiltins[EShLangFragment].append(
 7055|      2|            "flat in highp uint gl_ViewID_OVR;"     // GL_OVR_multiview, GL_OVR_multiview2
 7056|      2|            "\n");
 7057|      2|    }
 7058|       |    
 7059|       |    // GL_QCOM_tile_shading
 7060|     36|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (7060:10): [True: 34, False: 2]
  |  Branch (7060:35): [True: 0, False: 34]
  ------------------
 7061|     36|        (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (7061:10): [True: 2, False: 34]
  |  Branch (7061:35): [True: 0, False: 2]
  ------------------
 7062|      0|        stageBuiltins[EShLangFragment].append(
 7063|      0|            "flat in highp uvec2 gl_TileOffsetQCOM;"     // GL_QCOM_tile_shading
 7064|      0|            "flat in highp uvec3 gl_TileDimensionQCOM;"  // GL_QCOM_tile_shading
 7065|      0|            "flat in highp uvec2 gl_TileApronSizeQCOM;"  // GL_QCOM_tile_shading
 7066|      0|            "\n");
 7067|      0|    }
 7068|       |
 7069|     36|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (7069:10): [True: 34, False: 2]
  |  Branch (7069:35): [True: 0, False: 34]
  ------------------
 7070|     36|        (profile != EEsProfile && version >= 130)) {
  ------------------
  |  Branch (7070:10): [True: 2, False: 34]
  |  Branch (7070:35): [True: 2, False: 0]
  ------------------
 7071|      2|        addGatherFunctionsQCOM();
 7072|      2|    }
 7073|       |
 7074|       |    // GL_ARB_shader_ballot
 7075|     36|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7075:9): [True: 2, False: 34]
  |  Branch (7075:34): [True: 2, False: 0]
  ------------------
 7076|      2|        const char* ballotDecls =
 7077|      2|            "uniform uint gl_SubGroupSizeARB;"
 7078|      2|            "in uint     gl_SubGroupInvocationARB;"
 7079|      2|            "in uint64_t gl_SubGroupEqMaskARB;"
 7080|      2|            "in uint64_t gl_SubGroupGeMaskARB;"
 7081|      2|            "in uint64_t gl_SubGroupGtMaskARB;"
 7082|      2|            "in uint64_t gl_SubGroupLeMaskARB;"
 7083|      2|            "in uint64_t gl_SubGroupLtMaskARB;"
 7084|      2|            "\n";
 7085|      2|        const char* rtBallotDecls =
 7086|      2|            "uniform volatile uint gl_SubGroupSizeARB;"
 7087|      2|            "in volatile uint     gl_SubGroupInvocationARB;"
 7088|      2|            "in volatile uint64_t gl_SubGroupEqMaskARB;"
 7089|      2|            "in volatile uint64_t gl_SubGroupGeMaskARB;"
 7090|      2|            "in volatile uint64_t gl_SubGroupGtMaskARB;"
 7091|      2|            "in volatile uint64_t gl_SubGroupLeMaskARB;"
 7092|      2|            "in volatile uint64_t gl_SubGroupLtMaskARB;"
 7093|      2|            "\n";
 7094|      2|        const char* fragmentBallotDecls =
 7095|      2|            "uniform uint gl_SubGroupSizeARB;"
 7096|      2|            "flat in uint     gl_SubGroupInvocationARB;"
 7097|      2|            "flat in uint64_t gl_SubGroupEqMaskARB;"
 7098|      2|            "flat in uint64_t gl_SubGroupGeMaskARB;"
 7099|      2|            "flat in uint64_t gl_SubGroupGtMaskARB;"
 7100|      2|            "flat in uint64_t gl_SubGroupLeMaskARB;"
 7101|      2|            "flat in uint64_t gl_SubGroupLtMaskARB;"
 7102|      2|            "\n";
 7103|      2|        stageBuiltins[EShLangVertex]        .append(ballotDecls);
 7104|      2|        stageBuiltins[EShLangTessControl]   .append(ballotDecls);
 7105|      2|        stageBuiltins[EShLangTessEvaluation].append(ballotDecls);
 7106|      2|        stageBuiltins[EShLangGeometry]      .append(ballotDecls);
 7107|      2|        stageBuiltins[EShLangCompute]       .append(ballotDecls);
 7108|      2|        stageBuiltins[EShLangFragment]      .append(fragmentBallotDecls);
 7109|      2|        stageBuiltins[EShLangMesh]        .append(ballotDecls);
 7110|      2|        stageBuiltins[EShLangTask]        .append(ballotDecls);
 7111|      2|        stageBuiltins[EShLangRayGen]        .append(rtBallotDecls);
 7112|      2|        stageBuiltins[EShLangIntersect]     .append(rtBallotDecls);
 7113|       |        // No volatile qualifier on these builtins in any-hit
 7114|      2|        stageBuiltins[EShLangAnyHit]        .append(ballotDecls);
 7115|      2|        stageBuiltins[EShLangClosestHit]    .append(rtBallotDecls);
 7116|      2|        stageBuiltins[EShLangMiss]          .append(rtBallotDecls);
 7117|      2|        stageBuiltins[EShLangCallable]      .append(rtBallotDecls);
 7118|      2|    }
 7119|       |
 7120|       |    // GL_KHR_shader_subgroup
 7121|     36|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (7121:10): [True: 34, False: 2]
  |  Branch (7121:35): [True: 0, False: 34]
  ------------------
 7122|     36|        (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (7122:10): [True: 2, False: 34]
  |  Branch (7122:35): [True: 2, False: 0]
  ------------------
 7123|      2|        const char* subgroupDecls =
 7124|      2|            "in mediump uint  gl_SubgroupSize;"
 7125|      2|            "in mediump uint  gl_SubgroupInvocationID;"
 7126|      2|            "in highp   uvec4 gl_SubgroupEqMask;"
 7127|      2|            "in highp   uvec4 gl_SubgroupGeMask;"
 7128|      2|            "in highp   uvec4 gl_SubgroupGtMask;"
 7129|      2|            "in highp   uvec4 gl_SubgroupLeMask;"
 7130|      2|            "in highp   uvec4 gl_SubgroupLtMask;"
 7131|       |            // GL_NV_shader_sm_builtins
 7132|      2|            "in highp   uint  gl_WarpsPerSMNV;"
 7133|      2|            "in highp   uint  gl_SMCountNV;"
 7134|      2|            "in highp   uint  gl_WarpIDNV;"
 7135|      2|            "in highp   uint  gl_SMIDNV;"
 7136|       |            // GL_ARM_shader_core_builtins
 7137|      2|            "in highp   uint  gl_CoreIDARM;"
 7138|      2|            "in highp   uint  gl_CoreCountARM;"
 7139|      2|            "in highp   uint  gl_CoreMaxIDARM;"
 7140|      2|            "in highp   uint  gl_WarpIDARM;"
 7141|      2|            "in highp   uint  gl_WarpMaxIDARM;"
 7142|      2|            "\n";
 7143|      2|        const char* fragmentSubgroupDecls =
 7144|      2|            "flat in mediump uint  gl_SubgroupSize;"
 7145|      2|            "flat in mediump uint  gl_SubgroupInvocationID;"
 7146|      2|            "flat in highp   uvec4 gl_SubgroupEqMask;"
 7147|      2|            "flat in highp   uvec4 gl_SubgroupGeMask;"
 7148|      2|            "flat in highp   uvec4 gl_SubgroupGtMask;"
 7149|      2|            "flat in highp   uvec4 gl_SubgroupLeMask;"
 7150|      2|            "flat in highp   uvec4 gl_SubgroupLtMask;"
 7151|       |            // GL_NV_shader_sm_builtins
 7152|      2|            "flat in highp   uint  gl_WarpsPerSMNV;"
 7153|      2|            "flat in highp   uint  gl_SMCountNV;"
 7154|      2|            "flat in highp   uint  gl_WarpIDNV;"
 7155|      2|            "flat in highp   uint  gl_SMIDNV;"
 7156|       |            // GL_ARM_shader_core_builtins
 7157|      2|            "flat in highp   uint  gl_CoreIDARM;"
 7158|      2|            "flat in highp   uint  gl_CoreCountARM;"
 7159|      2|            "flat in highp   uint  gl_CoreMaxIDARM;"
 7160|      2|            "flat in highp   uint  gl_WarpIDARM;"
 7161|      2|            "flat in highp   uint  gl_WarpMaxIDARM;"
 7162|      2|            "\n";
 7163|      2|        const char* computeSubgroupDecls =
 7164|      2|            "in highp   uint  gl_NumSubgroups;"
 7165|      2|            "in highp   uint  gl_SubgroupID;"
 7166|      2|            "\n";
 7167|       |        // These builtins are volatile for RT stages
 7168|      2|        const char* rtSubgroupDecls =
 7169|      2|            "in mediump volatile uint  gl_SubgroupSize;"
 7170|      2|            "in mediump volatile uint  gl_SubgroupInvocationID;"
 7171|      2|            "in highp   volatile uvec4 gl_SubgroupEqMask;"
 7172|      2|            "in highp   volatile uvec4 gl_SubgroupGeMask;"
 7173|      2|            "in highp   volatile uvec4 gl_SubgroupGtMask;"
 7174|      2|            "in highp   volatile uvec4 gl_SubgroupLeMask;"
 7175|      2|            "in highp   volatile uvec4 gl_SubgroupLtMask;"
 7176|       |            // GL_NV_shader_sm_builtins
 7177|      2|            "in highp    uint  gl_WarpsPerSMNV;"
 7178|      2|            "in highp    uint  gl_SMCountNV;"
 7179|      2|            "in highp volatile uint  gl_WarpIDNV;"
 7180|      2|            "in highp volatile uint  gl_SMIDNV;"
 7181|       |            // GL_ARM_shader_core_builtins
 7182|      2|            "in highp   uint  gl_CoreIDARM;"
 7183|      2|            "in highp   uint  gl_CoreCountARM;"
 7184|      2|            "in highp   uint  gl_CoreMaxIDARM;"
 7185|      2|            "in highp   uint  gl_WarpIDARM;"
 7186|      2|            "in highp   uint  gl_WarpMaxIDARM;"
 7187|      2|            "\n";
 7188|       |
 7189|      2|        stageBuiltins[EShLangVertex]        .append(subgroupDecls);
 7190|      2|        stageBuiltins[EShLangTessControl]   .append(subgroupDecls);
 7191|      2|        stageBuiltins[EShLangTessEvaluation].append(subgroupDecls);
 7192|      2|        stageBuiltins[EShLangGeometry]      .append(subgroupDecls);
 7193|      2|        stageBuiltins[EShLangCompute]       .append(subgroupDecls);
 7194|      2|        stageBuiltins[EShLangCompute]       .append(computeSubgroupDecls);
 7195|      2|        stageBuiltins[EShLangFragment]      .append(fragmentSubgroupDecls);
 7196|      2|        stageBuiltins[EShLangMesh]        .append(subgroupDecls);
 7197|      2|        stageBuiltins[EShLangMesh]        .append(computeSubgroupDecls);
 7198|      2|        stageBuiltins[EShLangTask]        .append(subgroupDecls);
 7199|      2|        stageBuiltins[EShLangTask]        .append(computeSubgroupDecls);
 7200|      2|        stageBuiltins[EShLangRayGen]        .append(rtSubgroupDecls);
 7201|      2|        stageBuiltins[EShLangIntersect]     .append(rtSubgroupDecls);
 7202|       |        // No volatile qualifier on these builtins in any-hit
 7203|      2|        stageBuiltins[EShLangAnyHit]        .append(subgroupDecls);
 7204|      2|        stageBuiltins[EShLangClosestHit]    .append(rtSubgroupDecls);
 7205|      2|        stageBuiltins[EShLangMiss]          .append(rtSubgroupDecls);
 7206|      2|        stageBuiltins[EShLangCallable]      .append(rtSubgroupDecls);
 7207|      2|    }
 7208|       |
 7209|       |    // GL_NV_ray_tracing/GL_EXT_ray_tracing
 7210|     36|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (7210:9): [True: 2, False: 34]
  |  Branch (7210:34): [True: 0, False: 2]
  ------------------
 7211|       |
 7212|      0|        const char *constRayFlags =
 7213|      0|            "const uint gl_RayFlagsNoneNV = 0U;"
 7214|      0|            "const uint gl_RayFlagsNoneEXT = 0U;"
 7215|      0|            "const uint gl_RayFlagsOpaqueNV = 1U;"
 7216|      0|            "const uint gl_RayFlagsOpaqueEXT = 1U;"
 7217|      0|            "const uint gl_RayFlagsNoOpaqueNV = 2U;"
 7218|      0|            "const uint gl_RayFlagsNoOpaqueEXT = 2U;"
 7219|      0|            "const uint gl_RayFlagsTerminateOnFirstHitNV = 4U;"
 7220|      0|            "const uint gl_RayFlagsTerminateOnFirstHitEXT = 4U;"
 7221|      0|            "const uint gl_RayFlagsSkipClosestHitShaderNV = 8U;"
 7222|      0|            "const uint gl_RayFlagsSkipClosestHitShaderEXT = 8U;"
 7223|      0|            "const uint gl_RayFlagsCullBackFacingTrianglesNV = 16U;"
 7224|      0|            "const uint gl_RayFlagsCullBackFacingTrianglesEXT = 16U;"
 7225|      0|            "const uint gl_RayFlagsCullFrontFacingTrianglesNV = 32U;"
 7226|      0|            "const uint gl_RayFlagsCullFrontFacingTrianglesEXT = 32U;"
 7227|      0|            "const uint gl_RayFlagsCullOpaqueNV = 64U;"
 7228|      0|            "const uint gl_RayFlagsCullOpaqueEXT = 64U;"
 7229|      0|            "const uint gl_RayFlagsCullNoOpaqueNV = 128U;"
 7230|      0|            "const uint gl_RayFlagsCullNoOpaqueEXT = 128U;"
 7231|      0|            "const uint gl_RayFlagsSkipTrianglesEXT = 256U;"
 7232|      0|            "const uint gl_RayFlagsSkipBuiltinPrimitivesNV = 256U;"
 7233|      0|            "const uint gl_RayFlagsSkipAABBEXT = 512U;"
 7234|      0|            "const uint gl_RayFlagsForceOpacityMicromap2StateEXT = 1024U;"
 7235|      0|            "const bool gl_EnableOpacityMicromapEXT = false;"
 7236|      0|            "const uint gl_HitKindFrontFacingTriangleEXT = 254U;"
 7237|      0|            "const uint gl_HitKindBackFacingTriangleEXT = 255U;"
 7238|      0|            "in    uint gl_HitKindFrontFacingMicroTriangleNV;"
 7239|      0|            "in    uint gl_HitKindBackFacingMicroTriangleNV;"
 7240|      0|            "const int  gl_ClusterIDNoneNV = -1;"
 7241|      0|            "\n";
 7242|       |
 7243|      0|        const char *constRayQueryIntersection =
 7244|      0|            "const uint gl_RayQueryCandidateIntersectionEXT = 0U;"
 7245|      0|            "const uint gl_RayQueryCommittedIntersectionEXT = 1U;"
 7246|      0|            "const uint gl_RayQueryCommittedIntersectionNoneEXT = 0U;"
 7247|      0|            "const uint gl_RayQueryCommittedIntersectionTriangleEXT = 1U;"
 7248|      0|            "const uint gl_RayQueryCommittedIntersectionGeneratedEXT = 2U;"
 7249|      0|            "const uint gl_RayQueryCandidateIntersectionTriangleEXT = 0U;"
 7250|      0|            "const uint gl_RayQueryCandidateIntersectionAABBEXT = 1U;"
 7251|      0|            "\n";
 7252|       |
 7253|      0|        const char *rayGenDecls =
 7254|      0|            "in    uvec3  gl_LaunchIDNV;"
 7255|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7256|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7257|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7258|      0|            "\n";
 7259|      0|        const char *intersectDecls =
 7260|      0|            "in    uvec3  gl_LaunchIDNV;"
 7261|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7262|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7263|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7264|      0|            "in     int   gl_PrimitiveID;"
 7265|      0|            "in     int   gl_InstanceID;"
 7266|      0|            "in     int   gl_InstanceCustomIndexNV;"
 7267|      0|            "in     int   gl_InstanceCustomIndexEXT;"
 7268|      0|            "in     int   gl_GeometryIndexEXT;"
 7269|      0|            "in    vec3   gl_WorldRayOriginNV;"
 7270|      0|            "in    vec3   gl_WorldRayOriginEXT;"
 7271|      0|            "in    vec3   gl_WorldRayDirectionNV;"
 7272|      0|            "in    vec3   gl_WorldRayDirectionEXT;"
 7273|      0|            "in    vec3   gl_ObjectRayOriginNV;"
 7274|      0|            "in    vec3   gl_ObjectRayOriginEXT;"
 7275|      0|            "in    vec3   gl_ObjectRayDirectionNV;"
 7276|      0|            "in    vec3   gl_ObjectRayDirectionEXT;"
 7277|      0|            "in    float  gl_RayTminNV;"
 7278|      0|            "in    float  gl_RayTminEXT;"
 7279|      0|            "in    float  gl_RayTmaxNV;"
 7280|      0|            "in volatile float gl_RayTmaxEXT;"
 7281|      0|            "in    mat4x3 gl_ObjectToWorldNV;"
 7282|      0|            "in    mat4x3 gl_ObjectToWorldEXT;"
 7283|      0|            "in    mat3x4 gl_ObjectToWorld3x4EXT;"
 7284|      0|            "in    mat4x3 gl_WorldToObjectNV;"
 7285|      0|            "in    mat4x3 gl_WorldToObjectEXT;"
 7286|      0|            "in    mat3x4 gl_WorldToObject3x4EXT;"
 7287|      0|            "in    uint   gl_IncomingRayFlagsNV;"
 7288|      0|            "in    uint   gl_IncomingRayFlagsEXT;"
 7289|      0|            "in    float  gl_CurrentRayTimeNV;"
 7290|      0|            "in    uint   gl_CullMaskEXT;"
 7291|      0|            "\n";
 7292|      0|        const char *hitDecls =
 7293|      0|            "in    uvec3  gl_LaunchIDNV;"
 7294|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7295|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7296|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7297|      0|            "in     int   gl_PrimitiveID;"
 7298|      0|            "in     int   gl_InstanceID;"
 7299|      0|            "in     int   gl_InstanceCustomIndexNV;"
 7300|      0|            "in     int   gl_InstanceCustomIndexEXT;"
 7301|      0|            "in     int   gl_GeometryIndexEXT;"
 7302|      0|            "in    vec3   gl_WorldRayOriginNV;"
 7303|      0|            "in    vec3   gl_WorldRayOriginEXT;"
 7304|      0|            "in    vec3   gl_WorldRayDirectionNV;"
 7305|      0|            "in    vec3   gl_WorldRayDirectionEXT;"
 7306|      0|            "in    vec3   gl_ObjectRayOriginNV;"
 7307|      0|            "in    vec3   gl_ObjectRayOriginEXT;"
 7308|      0|            "in    vec3   gl_ObjectRayDirectionNV;"
 7309|      0|            "in    vec3   gl_ObjectRayDirectionEXT;"
 7310|      0|            "in    float  gl_RayTminNV;"
 7311|      0|            "in    float  gl_RayTminEXT;"
 7312|      0|            "in    float  gl_RayTmaxNV;"
 7313|      0|            "in    float  gl_RayTmaxEXT;"
 7314|      0|            "in    float  gl_HitTNV;"
 7315|      0|            "in    float  gl_HitTEXT;"
 7316|      0|            "in    uint   gl_HitKindNV;"
 7317|      0|            "in    uint   gl_HitKindEXT;"
 7318|      0|            "in    mat4x3 gl_ObjectToWorldNV;"
 7319|      0|            "in    mat4x3 gl_ObjectToWorldEXT;"
 7320|      0|            "in    mat3x4 gl_ObjectToWorld3x4EXT;"
 7321|      0|            "in    mat4x3 gl_WorldToObjectNV;"
 7322|      0|            "in    mat4x3 gl_WorldToObjectEXT;"
 7323|      0|            "in    mat3x4 gl_WorldToObject3x4EXT;"
 7324|      0|            "in    uint   gl_IncomingRayFlagsNV;"
 7325|      0|            "in    uint   gl_IncomingRayFlagsEXT;"
 7326|      0|            "in    float  gl_CurrentRayTimeNV;"
 7327|      0|            "in    uint   gl_CullMaskEXT;"
 7328|      0|            "in    vec3   gl_HitTriangleVertexPositionsEXT[3];"
 7329|      0|            "in    vec3   gl_HitMicroTriangleVertexPositionsNV[3];"
 7330|      0|            "in    vec2   gl_HitMicroTriangleVertexBarycentricsNV[3];"
 7331|      0|            "in    int    gl_ClusterIDNV;"
 7332|      0|            "in    bool   gl_HitIsSphereNV;"
 7333|      0|            "in    bool   gl_HitIsLSSNV;"
 7334|      0|            "in    vec3   gl_HitSpherePositionNV;"
 7335|      0|            "in    float  gl_HitSphereRadiusNV;"
 7336|      0|            "in    vec3   gl_HitLSSPositionsNV[2];"
 7337|      0|            "in    float  gl_HitLSSRadiiNV[2];"
 7338|      0|            "\n";
 7339|       |
 7340|      0|        const char *missDecls =
 7341|      0|            "in    uvec3  gl_LaunchIDNV;"
 7342|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7343|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7344|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7345|      0|            "in    vec3   gl_WorldRayOriginNV;"
 7346|      0|            "in    vec3   gl_WorldRayOriginEXT;"
 7347|      0|            "in    vec3   gl_WorldRayDirectionNV;"
 7348|      0|            "in    vec3   gl_WorldRayDirectionEXT;"
 7349|      0|            "in    vec3   gl_ObjectRayOriginNV;"
 7350|      0|            "in    vec3   gl_ObjectRayDirectionNV;"
 7351|      0|            "in    float  gl_RayTminNV;"
 7352|      0|            "in    float  gl_RayTminEXT;"
 7353|      0|            "in    float  gl_RayTmaxNV;"
 7354|      0|            "in    float  gl_RayTmaxEXT;"
 7355|      0|            "in    uint   gl_IncomingRayFlagsNV;"
 7356|      0|            "in    uint   gl_IncomingRayFlagsEXT;"
 7357|      0|            "in    float  gl_CurrentRayTimeNV;"
 7358|      0|            "in    uint   gl_CullMaskEXT;"
 7359|      0|            "\n";
 7360|       |
 7361|      0|        const char *callableDecls =
 7362|      0|            "in    uvec3  gl_LaunchIDNV;"
 7363|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7364|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7365|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7366|      0|            "\n";
 7367|       |
 7368|       |
 7369|      0|        commonBuiltins.append(constRayQueryIntersection);
 7370|      0|        commonBuiltins.append(constRayFlags);
 7371|       |
 7372|      0|        stageBuiltins[EShLangRayGen].append(rayGenDecls);
 7373|      0|        stageBuiltins[EShLangIntersect].append(intersectDecls);
 7374|      0|        stageBuiltins[EShLangAnyHit].append(hitDecls);
 7375|      0|        stageBuiltins[EShLangClosestHit].append(hitDecls);
 7376|      0|        stageBuiltins[EShLangMiss].append(missDecls);
 7377|      0|        stageBuiltins[EShLangCallable].append(callableDecls);
 7378|       |
 7379|      0|    }
 7380|       |
 7381|     36|    if ((profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (7381:10): [True: 2, False: 34]
  |  Branch (7381:35): [True: 2, False: 0]
  ------------------
 7382|      2|        const char *deviceIndex =
 7383|      2|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 7384|      2|            "\n";
 7385|       |
 7386|      2|        stageBuiltins[EShLangRayGen].append(deviceIndex);
 7387|      2|        stageBuiltins[EShLangIntersect].append(deviceIndex);
 7388|      2|        stageBuiltins[EShLangAnyHit].append(deviceIndex);
 7389|      2|        stageBuiltins[EShLangClosestHit].append(deviceIndex);
 7390|      2|        stageBuiltins[EShLangMiss].append(deviceIndex);
 7391|      2|    }
 7392|       |
 7393|     36|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (7393:10): [True: 2, False: 34]
  |  Branch (7393:35): [True: 2, False: 0]
  ------------------
 7394|     34|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7394:10): [True: 34, False: 0]
  |  Branch (7394:35): [True: 0, False: 34]
  ------------------
 7395|      2|        commonBuiltins.append("const int gl_ScopeDevice      = 1;\n");
 7396|      2|        commonBuiltins.append("const int gl_ScopeWorkgroup   = 2;\n");
 7397|      2|        commonBuiltins.append("const int gl_ScopeSubgroup    = 3;\n");
 7398|      2|        commonBuiltins.append("const int gl_ScopeInvocation  = 4;\n");
 7399|      2|        commonBuiltins.append("const int gl_ScopeQueueFamily = 5;\n");
 7400|      2|        commonBuiltins.append("const int gl_ScopeShaderCallEXT = 6;\n");
 7401|       |
 7402|      2|        commonBuiltins.append("const int gl_SemanticsRelaxed         = 0x0;\n");
 7403|      2|        commonBuiltins.append("const int gl_SemanticsAcquire         = 0x2;\n");
 7404|      2|        commonBuiltins.append("const int gl_SemanticsRelease         = 0x4;\n");
 7405|      2|        commonBuiltins.append("const int gl_SemanticsAcquireRelease  = 0x8;\n");
 7406|      2|        commonBuiltins.append("const int gl_SemanticsMakeAvailable   = 0x2000;\n");
 7407|      2|        commonBuiltins.append("const int gl_SemanticsMakeVisible     = 0x4000;\n");
 7408|      2|        commonBuiltins.append("const int gl_SemanticsVolatile        = 0x8000;\n");
 7409|       |
 7410|      2|        commonBuiltins.append("const int gl_StorageSemanticsNone     = 0x0;\n");
 7411|      2|        commonBuiltins.append("const int gl_StorageSemanticsBuffer   = 0x40;\n");
 7412|      2|        commonBuiltins.append("const int gl_StorageSemanticsShared   = 0x100;\n");
 7413|      2|        commonBuiltins.append("const int gl_StorageSemanticsImage    = 0x800;\n");
 7414|      2|        commonBuiltins.append("const int gl_StorageSemanticsOutput   = 0x1000;\n");
 7415|      2|    }
 7416|       |
 7417|       |    // Adding these to common built-ins triggers an assert due to a memory corruption in related code when testing
 7418|       |    // So instead add to each stage individually, avoiding the GLSLang bug
 7419|     36|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7419:10): [True: 2, False: 34]
  |  Branch (7419:35): [True: 2, False: 0]
  |  Branch (7419:55): [True: 34, False: 0]
  |  Branch (7419:80): [True: 0, False: 34]
  ------------------
 7420|     30|        for (int stage=EShLangVertex; stage<EShLangCount; stage++)
  ------------------
  |  Branch (7420:39): [True: 28, False: 2]
  ------------------
 7421|     28|        {
 7422|     28|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag2VerticalPixelsEXT       = 1;\n");
 7423|     28|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag4VerticalPixelsEXT       = 2;\n");
 7424|     28|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag2HorizontalPixelsEXT     = 4;\n");
 7425|     28|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag4HorizontalPixelsEXT     = 8;\n");
 7426|     28|        }
 7427|      2|    }
 7428|       |    
 7429|       |    // GL_EXT_shader_image_int64
 7430|     36|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (7430:10): [True: 2, False: 34]
  |  Branch (7430:35): [True: 2, False: 0]
  ------------------
 7431|     34|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7431:10): [True: 34, False: 0]
  |  Branch (7431:35): [True: 0, False: 34]
  ------------------
 7432|       |            
 7433|      2|        const TBasicType bTypes[] = { EbtInt64, EbtUint64 };
 7434|      6|        for (int ms = 0; ms <= 1; ++ms) { // loop over "bool" multisample or not
  ------------------
  |  Branch (7434:26): [True: 4, False: 2]
  ------------------
 7435|     12|            for (int arrayed = 0; arrayed <= 1; ++arrayed) { // loop over "bool" arrayed or not
  ------------------
  |  Branch (7435:35): [True: 8, False: 4]
  ------------------
 7436|     56|                for (int dim = Esd1D; dim < EsdSubpass; ++dim) { // 1D, ..., buffer
  ------------------
  |  Branch (7436:39): [True: 48, False: 8]
  ------------------
 7437|     48|                    if ((dim == Esd1D || dim == EsdRect) && profile == EEsProfile)
  ------------------
  |  Branch (7437:26): [True: 8, False: 40]
  |  Branch (7437:42): [True: 8, False: 32]
  |  Branch (7437:61): [True: 0, False: 16]
  ------------------
 7438|      0|                        continue;
 7439|       |                    
 7440|     48|                    if ((dim == Esd3D || dim == EsdRect || dim == EsdBuffer) && arrayed)
  ------------------
  |  Branch (7440:26): [True: 8, False: 40]
  |  Branch (7440:42): [True: 8, False: 32]
  |  Branch (7440:60): [True: 8, False: 24]
  |  Branch (7440:81): [True: 12, False: 12]
  ------------------
 7441|     12|                        continue;
 7442|       |                    
 7443|     36|                    if (dim != Esd2D && ms)
  ------------------
  |  Branch (7443:25): [True: 28, False: 8]
  |  Branch (7443:41): [True: 14, False: 14]
  ------------------
 7444|     14|                        continue;
 7445|       |                    
 7446|       |                    // Loop over the bTypes
 7447|     66|                    for (size_t bType = 0; bType < sizeof(bTypes)/sizeof(TBasicType); ++bType) {
  ------------------
  |  Branch (7447:44): [True: 44, False: 22]
  ------------------
 7448|       |                        //
 7449|       |                        // Now, make all the function prototypes for the type we just built...
 7450|       |                        //
 7451|     44|                        TSampler sampler;
 7452|       |                    
 7453|     44|                        sampler.setImage(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false,
  ------------------
  |  Branch (7453:75): [True: 16, False: 28]
  ------------------
 7454|     44|                                                                          false,
 7455|     44|                                                                          ms      ? true : false);
  ------------------
  |  Branch (7455:75): [True: 8, False: 36]
  ------------------
 7456|       |
 7457|     44|                        TString typeName = TString{sampler.getString()};
 7458|       |
 7459|     44|                        addQueryFunctions(sampler, typeName, version, profile);
 7460|     44|                        addImageFunctions(sampler, typeName, version, profile);
 7461|     44|                    }
 7462|     22|                }
 7463|      8|            }
 7464|      4|        }
 7465|      2|    }
 7466|       |
 7467|       |    // printf("%s\n", commonBuiltins.c_str());
 7468|       |    // printf("%s\n", stageBuiltins[EShLangFragment].c_str());
 7469|     36|}
_ZN7glslang9TBuiltIns31add2ndGenerationSamplingImagingEi8EProfileRKNS_10SpvVersionE:
 7476|      2|{
 7477|       |    //
 7478|       |    // In this function proper, enumerate the types, then calls the next set of functions
 7479|       |    // to enumerate all the uses for that type.
 7480|       |    //
 7481|       |
 7482|       |    // enumerate all the types
 7483|      2|    const TBasicType bTypes[] = { EbtFloat, EbtInt, EbtUint,
 7484|      2|         EbtFloat16
 7485|      2|    };
 7486|      2|    bool skipBuffer = (profile == EEsProfile && version < 310) || (profile != EEsProfile && version < 140);
  ------------------
  |  Branch (7486:24): [True: 0, False: 2]
  |  Branch (7486:49): [True: 0, False: 0]
  |  Branch (7486:68): [True: 2, False: 0]
  |  Branch (7486:93): [True: 0, False: 2]
  ------------------
 7487|      2|    bool skipCubeArrayed = (profile == EEsProfile && version < 310) || (profile != EEsProfile && version < 130);
  ------------------
  |  Branch (7487:29): [True: 0, False: 2]
  |  Branch (7487:54): [True: 0, False: 0]
  |  Branch (7487:73): [True: 2, False: 0]
  |  Branch (7487:98): [True: 0, False: 2]
  ------------------
 7488|      6|    for (int image = 0; image <= 1; ++image) // loop over "bool" image vs sampler
  ------------------
  |  Branch (7488:25): [True: 4, False: 2]
  ------------------
 7489|      4|    {
 7490|     12|        for (int shadow = 0; shadow <= 1; ++shadow) { // loop over "bool" shadow or not
  ------------------
  |  Branch (7490:30): [True: 8, False: 4]
  ------------------
 7491|     24|            for (int ms = 0; ms <= 1; ++ms) // loop over "bool" multisample or not
  ------------------
  |  Branch (7491:30): [True: 16, False: 8]
  ------------------
 7492|     16|            {
 7493|     16|                if ((ms || image) && shadow)
  ------------------
  |  Branch (7493:22): [True: 8, False: 8]
  |  Branch (7493:28): [True: 4, False: 4]
  |  Branch (7493:38): [True: 6, False: 6]
  ------------------
 7494|      6|                    continue;
 7495|     10|                if (ms && profile != EEsProfile && version < 140)
  ------------------
  |  Branch (7495:21): [True: 4, False: 6]
  |  Branch (7495:27): [True: 4, False: 0]
  |  Branch (7495:52): [True: 0, False: 4]
  ------------------
 7496|      0|                    continue;
 7497|     10|                if (ms && image && profile == EEsProfile)
  ------------------
  |  Branch (7497:21): [True: 4, False: 6]
  |  Branch (7497:27): [True: 2, False: 2]
  |  Branch (7497:36): [True: 0, False: 2]
  ------------------
 7498|      0|                    continue;
 7499|     10|                if (ms && profile == EEsProfile && version < 310)
  ------------------
  |  Branch (7499:21): [True: 4, False: 6]
  |  Branch (7499:27): [True: 0, False: 4]
  |  Branch (7499:52): [True: 0, False: 0]
  ------------------
 7500|      0|                    continue;
 7501|       |
 7502|     30|                for (int arrayed = 0; arrayed <= 1; ++arrayed) { // loop over "bool" arrayed or not
  ------------------
  |  Branch (7502:39): [True: 20, False: 10]
  ------------------
 7503|    180|                    for (int dim = Esd1D; dim < EsdNumDims; ++dim) { // 1D, ..., buffer, subpass
  ------------------
  |  Branch (7503:43): [True: 160, False: 20]
  ------------------
 7504|    160|                        if (dim == EsdAttachmentEXT)
  ------------------
  |  Branch (7504:29): [True: 20, False: 140]
  ------------------
 7505|     20|                            continue;
 7506|    140|                        if (dim == EsdSubpass && spvVersion.vulkan == 0)
  ------------------
  |  Branch (7506:29): [True: 20, False: 120]
  |  Branch (7506:50): [True: 20, False: 0]
  ------------------
 7507|     20|                            continue;
 7508|    120|                        if (dim == EsdSubpass && (image || shadow || arrayed))
  ------------------
  |  Branch (7508:29): [True: 0, False: 120]
  |  Branch (7508:51): [True: 0, False: 0]
  |  Branch (7508:60): [True: 0, False: 0]
  |  Branch (7508:70): [True: 0, False: 0]
  ------------------
 7509|      0|                            continue;
 7510|    120|                        if ((dim == Esd1D || dim == EsdRect) && profile == EEsProfile)
  ------------------
  |  Branch (7510:30): [True: 20, False: 100]
  |  Branch (7510:46): [True: 20, False: 80]
  |  Branch (7510:65): [True: 0, False: 40]
  ------------------
 7511|      0|                            continue;
 7512|    120|                        if (dim == EsdSubpass && spvVersion.vulkan == 0)
  ------------------
  |  Branch (7512:29): [True: 0, False: 120]
  |  Branch (7512:50): [True: 0, False: 0]
  ------------------
 7513|      0|                            continue;
 7514|    120|                        if (dim == EsdSubpass && (image || shadow || arrayed))
  ------------------
  |  Branch (7514:29): [True: 0, False: 120]
  |  Branch (7514:51): [True: 0, False: 0]
  |  Branch (7514:60): [True: 0, False: 0]
  |  Branch (7514:70): [True: 0, False: 0]
  ------------------
 7515|      0|                            continue;
 7516|    120|                        if ((dim == Esd1D || dim == EsdRect) && profile == EEsProfile)
  ------------------
  |  Branch (7516:30): [True: 20, False: 100]
  |  Branch (7516:46): [True: 20, False: 80]
  |  Branch (7516:65): [True: 0, False: 40]
  ------------------
 7517|      0|                            continue;
 7518|    120|                        if (dim != Esd2D && dim != EsdSubpass && ms)
  ------------------
  |  Branch (7518:29): [True: 100, False: 20]
  |  Branch (7518:45): [True: 100, False: 0]
  |  Branch (7518:66): [True: 40, False: 60]
  ------------------
 7519|     40|                            continue;
 7520|     80|                        if (dim == EsdBuffer && skipBuffer)
  ------------------
  |  Branch (7520:29): [True: 12, False: 68]
  |  Branch (7520:49): [True: 0, False: 12]
  ------------------
 7521|      0|                            continue;
 7522|     80|                        if (dim == EsdBuffer && (shadow || arrayed || ms))
  ------------------
  |  Branch (7522:29): [True: 12, False: 68]
  |  Branch (7522:50): [True: 4, False: 8]
  |  Branch (7522:60): [True: 4, False: 4]
  |  Branch (7522:71): [True: 0, False: 4]
  ------------------
 7523|      8|                            continue;
 7524|     72|                        if (ms && arrayed && profile == EEsProfile && version < 310)
  ------------------
  |  Branch (7524:29): [True: 8, False: 64]
  |  Branch (7524:35): [True: 4, False: 4]
  |  Branch (7524:46): [True: 0, False: 4]
  |  Branch (7524:71): [True: 0, False: 0]
  ------------------
 7525|      0|                            continue;
 7526|     72|                        if (dim == Esd3D && shadow)
  ------------------
  |  Branch (7526:29): [True: 12, False: 60]
  |  Branch (7526:45): [True: 4, False: 8]
  ------------------
 7527|      4|                            continue;
 7528|     68|                        if (dim == EsdCube && arrayed && skipCubeArrayed)
  ------------------
  |  Branch (7528:29): [True: 12, False: 56]
  |  Branch (7528:47): [True: 6, False: 6]
  |  Branch (7528:58): [True: 0, False: 6]
  ------------------
 7529|      0|                            continue;
 7530|     68|                        if ((dim == Esd3D || dim == EsdRect) && arrayed)
  ------------------
  |  Branch (7530:30): [True: 8, False: 60]
  |  Branch (7530:46): [True: 12, False: 48]
  |  Branch (7530:65): [True: 10, False: 10]
  ------------------
 7531|     10|                            continue;
 7532|       |
 7533|       |                        // Loop over the bTypes
 7534|    290|                        for (size_t bType = 0; bType < sizeof(bTypes)/sizeof(TBasicType); ++bType) {
  ------------------
  |  Branch (7534:48): [True: 232, False: 58]
  ------------------
 7535|    232|                            if (bTypes[bType] == EbtFloat16 && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (7535:33): [True: 58, False: 174]
  |  Branch (7535:65): [True: 0, False: 58]
  |  Branch (7535:90): [True: 0, False: 58]
  ------------------
 7536|      0|                                continue;
 7537|    232|                            if (dim == EsdRect && version < 140 && bType > 0)
  ------------------
  |  Branch (7537:33): [True: 24, False: 208]
  |  Branch (7537:51): [True: 0, False: 24]
  |  Branch (7537:68): [True: 0, False: 0]
  ------------------
 7538|      0|                                continue;
 7539|    232|                            if (shadow && (bTypes[bType] == EbtInt || bTypes[bType] == EbtUint))
  ------------------
  |  Branch (7539:33): [True: 56, False: 176]
  |  Branch (7539:44): [True: 14, False: 42]
  |  Branch (7539:71): [True: 14, False: 28]
  ------------------
 7540|     28|                                continue;
 7541|       |                            //
 7542|       |                            // Now, make all the function prototypes for the type we just built...
 7543|       |                            //
 7544|    204|                            TSampler sampler;
 7545|    204|                            if (dim == EsdSubpass) {
  ------------------
  |  Branch (7545:33): [True: 0, False: 204]
  ------------------
 7546|      0|                                sampler.setSubpass(bTypes[bType], ms ? true : false);
  ------------------
  |  Branch (7546:67): [True: 0, False: 0]
  ------------------
 7547|    204|                            } else if (dim == EsdAttachmentEXT) {
  ------------------
  |  Branch (7547:40): [True: 0, False: 204]
  ------------------
 7548|      0|                                sampler.setAttachmentEXT(bTypes[bType]);
 7549|      0|                            } else
 7550|    204|                            if (image) {
  ------------------
  |  Branch (7550:33): [True: 88, False: 116]
  ------------------
 7551|     88|                                sampler.setImage(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false,
  ------------------
  |  Branch (7551:83): [True: 32, False: 56]
  ------------------
 7552|     88|                                                                                  shadow  ? true : false,
  ------------------
  |  Branch (7552:83): [True: 0, False: 88]
  ------------------
 7553|     88|                                                                                  ms      ? true : false);
  ------------------
  |  Branch (7553:83): [True: 16, False: 72]
  ------------------
 7554|    116|                            } else {
 7555|    116|                                sampler.set(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false,
  ------------------
  |  Branch (7555:78): [True: 44, False: 72]
  ------------------
 7556|    116|                                                                             shadow  ? true : false,
  ------------------
  |  Branch (7556:78): [True: 28, False: 88]
  ------------------
 7557|    116|                                                                             ms      ? true : false);
  ------------------
  |  Branch (7557:78): [True: 16, False: 100]
  ------------------
 7558|    116|                            }
 7559|       |
 7560|    204|                            TString typeName = TString{sampler.getString()};
 7561|       |
 7562|    204|                            if (dim == EsdSubpass) {
  ------------------
  |  Branch (7562:33): [True: 0, False: 204]
  ------------------
 7563|      0|                                addSubpassSampling(sampler, typeName, version, profile);
 7564|      0|                                continue;
 7565|      0|                            }
 7566|       |
 7567|    204|                            addQueryFunctions(sampler, typeName, version, profile);
 7568|       |
 7569|    204|                            if (image)
  ------------------
  |  Branch (7569:33): [True: 88, False: 116]
  ------------------
 7570|     88|                                addImageFunctions(sampler, typeName, version, profile);
 7571|    116|                            else {
 7572|    116|                                addSamplingFunctions(sampler, typeName, version, profile);
 7573|    116|                                addGatherFunctions(sampler, typeName, version, profile);
 7574|    116|                                if (spvVersion.vulkan > 0 && sampler.isCombined() && !sampler.shadow) {
  ------------------
  |  Branch (7574:37): [True: 0, False: 116]
  |  Branch (7574:62): [True: 0, False: 0]
  |  Branch (7574:86): [True: 0, False: 0]
  ------------------
 7575|       |                                    // Base Vulkan allows texelFetch() for
 7576|       |                                    // textureBuffer (i.e. without sampler).
 7577|       |                                    //
 7578|       |                                    // GL_EXT_samplerless_texture_functions
 7579|       |                                    // allows texelFetch() and query functions
 7580|       |                                    // (other than textureQueryLod()) for all
 7581|       |                                    // texture types.
 7582|      0|                                    sampler.setTexture(sampler.type, sampler.dim, sampler.arrayed, sampler.shadow,
 7583|      0|                                                       sampler.ms);
 7584|      0|                                    TString textureTypeName = TString{sampler.getString()};
 7585|      0|                                    addSamplingFunctions(sampler, textureTypeName, version, profile);
 7586|      0|                                    addQueryFunctions(sampler, textureTypeName, version, profile);
 7587|      0|                                }
 7588|    116|                            }
 7589|    204|                        }
 7590|     58|                    }
 7591|     20|                }
 7592|     10|            }
 7593|      8|        }
 7594|      4|    }
 7595|       |
 7596|       |    //
 7597|       |    // sparseTexelsResidentARB()
 7598|       |    //
 7599|      2|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7599:9): [True: 2, False: 0]
  |  Branch (7599:34): [True: 2, False: 0]
  ------------------
 7600|      2|        commonBuiltins.append("bool sparseTexelsResidentARB(int code);\n");
 7601|      2|    }
 7602|      2|}
_ZN7glslang9TBuiltIns17addQueryFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7611|    248|{
 7612|       |    //
 7613|       |    // textureSize() and imageSize()
 7614|       |    //
 7615|       |
 7616|    248|    int sizeDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0) - (sampler.dim == EsdCube ? 1 : 0);
  ------------------
  |  Branch (7616:43): [True: 92, False: 156]
  |  Branch (7616:71): [True: 48, False: 200]
  ------------------
 7617|       |
 7618|    248|    if (sampler.isImage() && ((profile == EEsProfile && version < 310) || (profile != EEsProfile && version < 420)))
  ------------------
  |  Branch (7618:9): [True: 132, False: 116]
  |  Branch (7618:32): [True: 0, False: 132]
  |  Branch (7618:57): [True: 0, False: 0]
  |  Branch (7618:76): [True: 132, False: 0]
  |  Branch (7618:101): [True: 0, False: 132]
  ------------------
 7619|      0|        return;
 7620|       |
 7621|    248|    if (profile == EEsProfile)
  ------------------
  |  Branch (7621:9): [True: 0, False: 248]
  ------------------
 7622|      0|        commonBuiltins.append("highp ");
 7623|    248|    if (sizeDims == 1)
  ------------------
  |  Branch (7623:9): [True: 44, False: 204]
  ------------------
 7624|     44|        commonBuiltins.append("int");
 7625|    204|    else {
 7626|    204|        commonBuiltins.append("ivec");
 7627|    204|        commonBuiltins.append(postfixes[sizeDims]);
 7628|    204|    }
 7629|    248|    if (sampler.isImage())
  ------------------
  |  Branch (7629:9): [True: 132, False: 116]
  ------------------
 7630|    132|        commonBuiltins.append(" imageSize(readonly writeonly volatile coherent nontemporal ");
 7631|    116|    else
 7632|    116|        commonBuiltins.append(" textureSize(");
 7633|    248|    commonBuiltins.append(typeName);
 7634|    248|    if (! sampler.isImage() && ! sampler.isRect() && ! sampler.isBuffer() && ! sampler.isMultiSample())
  ------------------
  |  Branch (7634:9): [True: 116, False: 132]
  |  Branch (7634:32): [True: 104, False: 12]
  |  Branch (7634:54): [True: 96, False: 8]
  |  Branch (7634:78): [True: 80, False: 16]
  ------------------
 7635|     80|        commonBuiltins.append(",int);\n");
 7636|    168|    else
 7637|    168|        commonBuiltins.append(");\n");
 7638|       |
 7639|       |    //
 7640|       |    // textureSamples() and imageSamples()
 7641|       |    //
 7642|       |
 7643|       |    // GL_ARB_shader_texture_image_samples
 7644|       |    // TODO: spec issue? there are no memory qualifiers; how to query a writeonly/readonly image, etc?
 7645|    248|    if (profile != EEsProfile && version >= 430 && sampler.isMultiSample()) {
  ------------------
  |  Branch (7645:9): [True: 248, False: 0]
  |  Branch (7645:34): [True: 248, False: 0]
  |  Branch (7645:52): [True: 40, False: 208]
  ------------------
 7646|     40|        commonBuiltins.append("int ");
 7647|     40|        if (sampler.isImage())
  ------------------
  |  Branch (7647:13): [True: 24, False: 16]
  ------------------
 7648|     24|            commonBuiltins.append("imageSamples(readonly writeonly volatile coherent nontemporal ");
 7649|     16|        else
 7650|     16|            commonBuiltins.append("textureSamples(");
 7651|     40|        commonBuiltins.append(typeName);
 7652|     40|        commonBuiltins.append(");\n");
 7653|     40|    }
 7654|       |
 7655|       |    //
 7656|       |    // textureQueryLod()
 7657|       |    // Also enabled with extension GL_ARB_texture_query_lod
 7658|       |    // Extension GL_ARB_texture_query_lod says that textureQueryLOD() also exist at extension.
 7659|       |
 7660|    248|    if (profile != EEsProfile && version >= 150 && sampler.isCombined() && sampler.dim != EsdRect &&
  ------------------
  |  Branch (7660:9): [True: 248, False: 0]
  |  Branch (7660:34): [True: 248, False: 0]
  |  Branch (7660:52): [True: 116, False: 132]
  |  Branch (7660:76): [True: 104, False: 12]
  ------------------
 7661|    104|        ! sampler.isMultiSample() && ! sampler.isBuffer()) {
  ------------------
  |  Branch (7661:9): [True: 88, False: 16]
  |  Branch (7661:38): [True: 80, False: 8]
  ------------------
 7662|       |
 7663|     80|        const TString funcName[2] = {"vec2 textureQueryLod(", "vec2 textureQueryLOD("};
 7664|       |
 7665|    240|        for (int i = 0; i < 2; ++i){
  ------------------
  |  Branch (7665:25): [True: 160, False: 80]
  ------------------
 7666|    480|            for (int f16TexAddr = 0; f16TexAddr < 2; ++f16TexAddr) {
  ------------------
  |  Branch (7666:38): [True: 320, False: 160]
  ------------------
 7667|    320|                if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (7667:21): [True: 160, False: 160]
  |  Branch (7667:35): [True: 108, False: 52]
  ------------------
 7668|    108|                    continue;
 7669|    212|                stageBuiltins[EShLangFragment].append(funcName[i]);
 7670|    212|                stageBuiltins[EShLangFragment].append(typeName);
 7671|    212|                if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7671:21): [True: 64, False: 148]
  ------------------
 7672|     64|                    if (f16TexAddr)
  ------------------
  |  Branch (7672:25): [True: 16, False: 48]
  ------------------
 7673|     16|                        stageBuiltins[EShLangFragment].append(", float16_t");
 7674|     48|                    else
 7675|     48|                        stageBuiltins[EShLangFragment].append(", float");
 7676|    148|                else {
 7677|    148|                    if (f16TexAddr)
  ------------------
  |  Branch (7677:25): [True: 36, False: 112]
  ------------------
 7678|     36|                        stageBuiltins[EShLangFragment].append(", f16vec");
 7679|    112|                    else
 7680|    112|                        stageBuiltins[EShLangFragment].append(", vec");
 7681|    148|                    stageBuiltins[EShLangFragment].append(postfixes[dimMap[sampler.dim]]);
 7682|    148|                }
 7683|    212|                stageBuiltins[EShLangFragment].append(");\n");
 7684|    212|            }
 7685|       |
 7686|    160|            stageBuiltins[EShLangCompute].append(funcName[i]);
 7687|    160|            stageBuiltins[EShLangCompute].append(typeName);
 7688|    160|            if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7688:17): [True: 48, False: 112]
  ------------------
 7689|     48|                stageBuiltins[EShLangCompute].append(", float");
 7690|    112|            else {
 7691|    112|                stageBuiltins[EShLangCompute].append(", vec");
 7692|    112|                stageBuiltins[EShLangCompute].append(postfixes[dimMap[sampler.dim]]);
 7693|    112|            }
 7694|    160|            stageBuiltins[EShLangCompute].append(");\n");
 7695|       |
 7696|    160|            stageBuiltins[EShLangTask].append(funcName[i]);
 7697|    160|            stageBuiltins[EShLangTask].append(typeName);
 7698|    160|            if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7698:17): [True: 48, False: 112]
  ------------------
 7699|     48|                stageBuiltins[EShLangTask].append(", float");
 7700|    112|            else {
 7701|    112|                stageBuiltins[EShLangTask].append(", vec");
 7702|    112|                stageBuiltins[EShLangTask].append(postfixes[dimMap[sampler.dim]]);
 7703|    112|            }
 7704|    160|            stageBuiltins[EShLangTask].append(");\n");
 7705|       |
 7706|    160|            stageBuiltins[EShLangMesh].append(funcName[i]);
 7707|    160|            stageBuiltins[EShLangMesh].append(typeName);
 7708|    160|            if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7708:17): [True: 48, False: 112]
  ------------------
 7709|     48|                stageBuiltins[EShLangMesh].append(", float");
 7710|    112|            else {
 7711|    112|                stageBuiltins[EShLangMesh].append(", vec");
 7712|    112|                stageBuiltins[EShLangMesh].append(postfixes[dimMap[sampler.dim]]);
 7713|    112|            }
 7714|    160|            stageBuiltins[EShLangMesh].append(");\n");
 7715|    160|        }
 7716|     80|    }
 7717|       |
 7718|       |    //
 7719|       |    // textureQueryLevels()
 7720|       |    //
 7721|       |
 7722|    248|    if (profile != EEsProfile && version >= 430 && ! sampler.isImage() && sampler.dim != EsdRect &&
  ------------------
  |  Branch (7722:9): [True: 248, False: 0]
  |  Branch (7722:34): [True: 248, False: 0]
  |  Branch (7722:52): [True: 116, False: 132]
  |  Branch (7722:75): [True: 104, False: 12]
  ------------------
 7723|    104|        ! sampler.isMultiSample() && ! sampler.isBuffer()) {
  ------------------
  |  Branch (7723:9): [True: 88, False: 16]
  |  Branch (7723:38): [True: 80, False: 8]
  ------------------
 7724|     80|        commonBuiltins.append("int textureQueryLevels(");
 7725|     80|        commonBuiltins.append(typeName);
 7726|     80|        commonBuiltins.append(");\n");
 7727|     80|    }
 7728|    248|}
_ZN7glslang9TBuiltIns17addImageFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7737|    132|{
 7738|    132|    int dims = dimMap[sampler.dim];
 7739|       |    // most things with an array add a dimension, except for cubemaps
 7740|    132|    if (sampler.arrayed && sampler.dim != EsdCube)
  ------------------
  |  Branch (7740:9): [True: 48, False: 84]
  |  Branch (7740:28): [True: 36, False: 12]
  ------------------
 7741|     36|        ++dims;
 7742|       |
 7743|    132|    TString imageParams = typeName;
 7744|    132|    if (dims == 1)
  ------------------
  |  Branch (7744:9): [True: 24, False: 108]
  ------------------
 7745|     24|        imageParams.append(", int");
 7746|    108|    else {
 7747|    108|        imageParams.append(", ivec");
 7748|    108|        imageParams.append(postfixes[dims]);
 7749|    108|    }
 7750|    132|    if (sampler.isMultiSample())
  ------------------
  |  Branch (7750:9): [True: 24, False: 108]
  ------------------
 7751|     24|        imageParams.append(", int");
 7752|       |
 7753|    132|    if (profile == EEsProfile)
  ------------------
  |  Branch (7753:9): [True: 0, False: 132]
  ------------------
 7754|      0|        commonBuiltins.append("highp ");
 7755|    132|    commonBuiltins.append(prefixes[sampler.type]);
 7756|    132|    commonBuiltins.append("vec4 imageLoad(readonly volatile coherent nontemporal ");
 7757|    132|    commonBuiltins.append(imageParams);
 7758|    132|    commonBuiltins.append(");\n");
 7759|       |
 7760|    132|    commonBuiltins.append("void imageStore(writeonly volatile coherent nontemporal ");
 7761|    132|    commonBuiltins.append(imageParams);
 7762|    132|    commonBuiltins.append(", ");
 7763|    132|    commonBuiltins.append(prefixes[sampler.type]);
 7764|    132|    commonBuiltins.append("vec4);\n");
 7765|       |
 7766|    132|    if (! sampler.is1D() && ! sampler.isBuffer() && profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7766:9): [True: 108, False: 24]
  |  Branch (7766:29): [True: 96, False: 12]
  |  Branch (7766:53): [True: 96, False: 0]
  |  Branch (7766:78): [True: 96, False: 0]
  ------------------
 7767|     96|        commonBuiltins.append("int sparseImageLoadARB(readonly volatile coherent nontemporal ");
 7768|     96|        commonBuiltins.append(imageParams);
 7769|     96|        commonBuiltins.append(", out ");
 7770|     96|        commonBuiltins.append(prefixes[sampler.type]);
 7771|     96|        commonBuiltins.append("vec4");
 7772|     96|        commonBuiltins.append(");\n");
 7773|     96|    }
 7774|       |
 7775|    132|    if ( profile != EEsProfile ||
  ------------------
  |  Branch (7775:10): [True: 132, False: 0]
  ------------------
 7776|    132|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7776:10): [True: 0, False: 0]
  |  Branch (7776:35): [True: 0, False: 0]
  ------------------
 7777|    132|        if (sampler.type == EbtInt || sampler.type == EbtUint || sampler.type == EbtInt64 || sampler.type == EbtUint64 ) {
  ------------------
  |  Branch (7777:13): [True: 22, False: 110]
  |  Branch (7777:39): [True: 22, False: 88]
  |  Branch (7777:66): [True: 22, False: 66]
  |  Branch (7777:94): [True: 22, False: 44]
  ------------------
 7778|       |            
 7779|     88|            const char* dataType;
 7780|     88|            switch (sampler.type) {
 7781|     22|                case(EbtInt): dataType = "highp int"; break;
  ------------------
  |  Branch (7781:17): [True: 22, False: 66]
  ------------------
 7782|     22|                case(EbtUint): dataType = "highp uint"; break;
  ------------------
  |  Branch (7782:17): [True: 22, False: 66]
  ------------------
 7783|     22|                case(EbtInt64): dataType = "highp int64_t"; break;
  ------------------
  |  Branch (7783:17): [True: 22, False: 66]
  ------------------
 7784|     22|                case(EbtUint64): dataType = "highp uint64_t"; break;
  ------------------
  |  Branch (7784:17): [True: 22, False: 66]
  ------------------
 7785|      0|                default: dataType = "";
  ------------------
  |  Branch (7785:17): [True: 0, False: 88]
  ------------------
 7786|     88|            }
 7787|       |
 7788|     88|            const int numBuiltins = 7;
 7789|       |
 7790|     88|            static const char* atomicFunc[numBuiltins] = {
 7791|     88|                " imageAtomicAdd(volatile coherent nontemporal ",
 7792|     88|                " imageAtomicMin(volatile coherent nontemporal ",
 7793|     88|                " imageAtomicMax(volatile coherent nontemporal ",
 7794|     88|                " imageAtomicAnd(volatile coherent nontemporal ",
 7795|     88|                " imageAtomicOr(volatile coherent nontemporal ",
 7796|     88|                " imageAtomicXor(volatile coherent nontemporal ",
 7797|     88|                " imageAtomicExchange(volatile coherent nontemporal "
 7798|     88|            };
 7799|       |
 7800|       |            // Loop twice to add prototypes with/without scope/semantics
 7801|    264|            for (int j = 0; j < 2; ++j) {
  ------------------
  |  Branch (7801:29): [True: 176, False: 88]
  ------------------
 7802|  1.40k|                for (size_t i = 0; i < numBuiltins; ++i) {
  ------------------
  |  Branch (7802:36): [True: 1.23k, False: 176]
  ------------------
 7803|  1.23k|                    commonBuiltins.append(dataType);
 7804|  1.23k|                    commonBuiltins.append(atomicFunc[i]);
 7805|  1.23k|                    commonBuiltins.append(imageParams);
 7806|  1.23k|                    commonBuiltins.append(", ");
 7807|  1.23k|                    commonBuiltins.append(dataType);
 7808|  1.23k|                    if (j == 1) {
  ------------------
  |  Branch (7808:25): [True: 616, False: 616]
  ------------------
 7809|    616|                        commonBuiltins.append(", int, int, int");
 7810|    616|                    }
 7811|  1.23k|                    commonBuiltins.append(");\n");
 7812|  1.23k|                }
 7813|       |
 7814|    176|                commonBuiltins.append(dataType);
 7815|    176|                commonBuiltins.append(" imageAtomicCompSwap(volatile coherent nontemporal ");
 7816|    176|                commonBuiltins.append(imageParams);
 7817|    176|                commonBuiltins.append(", ");
 7818|    176|                commonBuiltins.append(dataType);
 7819|    176|                commonBuiltins.append(", ");
 7820|    176|                commonBuiltins.append(dataType);
 7821|    176|                if (j == 1) {
  ------------------
  |  Branch (7821:21): [True: 88, False: 88]
  ------------------
 7822|     88|                    commonBuiltins.append(", int, int, int, int, int");
 7823|     88|                }
 7824|    176|                commonBuiltins.append(");\n");
 7825|    176|            }
 7826|       |
 7827|     88|            commonBuiltins.append(dataType);
 7828|     88|            commonBuiltins.append(" imageAtomicLoad(volatile coherent nontemporal ");
 7829|     88|            commonBuiltins.append(imageParams);
 7830|     88|            commonBuiltins.append(", int, int, int);\n");
 7831|       |
 7832|     88|            commonBuiltins.append("void imageAtomicStore(volatile coherent nontemporal ");
 7833|     88|            commonBuiltins.append(imageParams);
 7834|     88|            commonBuiltins.append(", ");
 7835|     88|            commonBuiltins.append(dataType);
 7836|     88|            commonBuiltins.append(", int, int, int);\n");
 7837|       |
 7838|     88|        } else {
 7839|       |            // not int or uint
 7840|       |            // GL_ARB_ES3_1_compatibility
 7841|       |            // TODO: spec issue: are there restrictions on the kind of layout() that can be used?  what about dropping memory qualifiers?
 7842|     44|            if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (7842:17): [True: 0, False: 44]
  |  Branch (7842:42): [True: 0, False: 0]
  ------------------
 7843|      0|                commonBuiltins.append("float imageAtomicExchange(volatile coherent nontemporal ");
 7844|      0|                commonBuiltins.append(imageParams);
 7845|      0|                commonBuiltins.append(", float);\n");
 7846|      0|            }
 7847|       |
 7848|       |            // GL_NV_shader_atomic_fp16_vector
 7849|     44|            if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (7849:17): [True: 44, False: 0]
  |  Branch (7849:42): [True: 44, False: 0]
  ------------------
 7850|     44|                const int numFp16Builtins = 4;
 7851|     44|                const char* atomicFp16Func[numFp16Builtins] = {
 7852|     44|                    " imageAtomicAdd(volatile coherent nontemporal ",
 7853|     44|                    " imageAtomicMin(volatile coherent nontemporal ",
 7854|     44|                    " imageAtomicMax(volatile coherent nontemporal ",
 7855|     44|                    " imageAtomicExchange(volatile coherent nontemporal "
 7856|     44|                };
 7857|     44|                const int numFp16DataTypes = 2;
 7858|     44|                const char* atomicFp16DataTypes[numFp16DataTypes] = {
 7859|     44|                    "f16vec2",
 7860|     44|                    "f16vec4"
 7861|     44|                };
 7862|       |                // Loop twice to add prototypes with/without scope/semantics
 7863|    132|                for (int j = 0; j < numFp16DataTypes; ++j) {
  ------------------
  |  Branch (7863:33): [True: 88, False: 44]
  ------------------
 7864|    440|                    for (int i = 0; i < numFp16Builtins; ++i) {
  ------------------
  |  Branch (7864:37): [True: 352, False: 88]
  ------------------
 7865|    352|                        commonBuiltins.append(atomicFp16DataTypes[j]);
 7866|    352|                        commonBuiltins.append(atomicFp16Func[i]);
 7867|    352|                        commonBuiltins.append(imageParams);
 7868|    352|                        commonBuiltins.append(", ");
 7869|    352|                        commonBuiltins.append(atomicFp16DataTypes[j]);
 7870|    352|                        commonBuiltins.append(");\n");
 7871|    352|                    }
 7872|     88|                }
 7873|     44|            }
 7874|       |
 7875|     44|            if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7875:17): [True: 44, False: 0]
  |  Branch (7875:42): [True: 44, False: 0]
  ------------------
 7876|     44|                commonBuiltins.append("float imageAtomicAdd(volatile coherent nontemporal ");
 7877|     44|                commonBuiltins.append(imageParams);
 7878|     44|                commonBuiltins.append(", float);\n");
 7879|       |
 7880|     44|                commonBuiltins.append("float imageAtomicAdd(volatile coherent nontemporal ");
 7881|     44|                commonBuiltins.append(imageParams);
 7882|     44|                commonBuiltins.append(", float");
 7883|     44|                commonBuiltins.append(", int, int, int);\n");
 7884|       |
 7885|     44|                commonBuiltins.append("float imageAtomicExchange(volatile coherent nontemporal ");
 7886|     44|                commonBuiltins.append(imageParams);
 7887|     44|                commonBuiltins.append(", float);\n");
 7888|       |
 7889|     44|                commonBuiltins.append("float imageAtomicExchange(volatile coherent nontemporal ");
 7890|     44|                commonBuiltins.append(imageParams);
 7891|     44|                commonBuiltins.append(", float");
 7892|     44|                commonBuiltins.append(", int, int, int);\n");
 7893|       |
 7894|     44|                commonBuiltins.append("float imageAtomicLoad(readonly volatile coherent nontemporal ");
 7895|     44|                commonBuiltins.append(imageParams);
 7896|     44|                commonBuiltins.append(", int, int, int);\n");
 7897|       |
 7898|     44|                commonBuiltins.append("void imageAtomicStore(writeonly volatile coherent nontemporal ");
 7899|     44|                commonBuiltins.append(imageParams);
 7900|     44|                commonBuiltins.append(", float");
 7901|     44|                commonBuiltins.append(", int, int, int);\n");
 7902|       |
 7903|     44|                commonBuiltins.append("float imageAtomicMin(volatile coherent nontemporal ");
 7904|     44|                commonBuiltins.append(imageParams);
 7905|     44|                commonBuiltins.append(", float);\n");
 7906|       |
 7907|     44|                commonBuiltins.append("float imageAtomicMin(volatile coherent nontemporal ");
 7908|     44|                commonBuiltins.append(imageParams);
 7909|     44|                commonBuiltins.append(", float");
 7910|     44|                commonBuiltins.append(", int, int, int);\n");
 7911|       |
 7912|     44|                commonBuiltins.append("float imageAtomicMax(volatile coherent nontemporal ");
 7913|     44|                commonBuiltins.append(imageParams);
 7914|     44|                commonBuiltins.append(", float);\n");
 7915|       |
 7916|     44|                commonBuiltins.append("float imageAtomicMax(volatile coherent nontemporal ");
 7917|     44|                commonBuiltins.append(imageParams);
 7918|     44|                commonBuiltins.append(", float");
 7919|     44|                commonBuiltins.append(", int, int, int);\n");
 7920|     44|            }
 7921|     44|        }
 7922|    132|    }
 7923|       |
 7924|    132|    if (sampler.dim == EsdRect || sampler.dim == EsdBuffer || sampler.shadow || sampler.isMultiSample())
  ------------------
  |  Branch (7924:9): [True: 12, False: 120]
  |  Branch (7924:35): [True: 12, False: 108]
  |  Branch (7924:63): [True: 0, False: 108]
  |  Branch (7924:81): [True: 24, False: 84]
  ------------------
 7925|     48|        return;
 7926|       |
 7927|     84|    if (profile == EEsProfile || version < 450)
  ------------------
  |  Branch (7927:9): [True: 0, False: 84]
  |  Branch (7927:34): [True: 0, False: 84]
  ------------------
 7928|      0|        return;
 7929|       |
 7930|     84|    TString imageLodParams = typeName;
 7931|     84|    if (dims == 1)
  ------------------
  |  Branch (7931:9): [True: 12, False: 72]
  ------------------
 7932|     12|        imageLodParams.append(", int");
 7933|     72|    else {
 7934|     72|        imageLodParams.append(", ivec");
 7935|     72|        imageLodParams.append(postfixes[dims]);
 7936|     72|    }
 7937|     84|    imageLodParams.append(", int");
 7938|       |
 7939|     84|    commonBuiltins.append(prefixes[sampler.type]);
 7940|     84|    commonBuiltins.append("vec4 imageLoadLodAMD(readonly volatile coherent nontemporal ");
 7941|     84|    commonBuiltins.append(imageLodParams);
 7942|     84|    commonBuiltins.append(");\n");
 7943|       |
 7944|     84|    commonBuiltins.append("void imageStoreLodAMD(writeonly volatile coherent nontemporal ");
 7945|     84|    commonBuiltins.append(imageLodParams);
 7946|     84|    commonBuiltins.append(", ");
 7947|     84|    commonBuiltins.append(prefixes[sampler.type]);
 7948|     84|    commonBuiltins.append("vec4);\n");
 7949|       |
 7950|     84|    if (! sampler.is1D()) {
  ------------------
  |  Branch (7950:9): [True: 60, False: 24]
  ------------------
 7951|     60|        commonBuiltins.append("int sparseImageLoadLodAMD(readonly volatile coherent nontemporal ");
 7952|     60|        commonBuiltins.append(imageLodParams);
 7953|     60|        commonBuiltins.append(", out ");
 7954|     60|        commonBuiltins.append(prefixes[sampler.type]);
 7955|     60|        commonBuiltins.append("vec4");
 7956|     60|        commonBuiltins.append(");\n");
 7957|     60|    }
 7958|     84|}
_ZN7glslang9TBuiltIns20addSamplingFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7984|    116|{
 7985|       |    //
 7986|       |    // texturing
 7987|       |    //
 7988|    348|    for (int proj = 0; proj <= 1; ++proj) { // loop over "bool" projective or not
  ------------------
  |  Branch (7988:24): [True: 232, False: 116]
  ------------------
 7989|       |
 7990|    232|        if (proj && (sampler.dim == EsdCube || sampler.isBuffer() || sampler.arrayed || sampler.isMultiSample()
  ------------------
  |  Branch (7990:13): [True: 116, False: 116]
  |  Branch (7990:22): [True: 24, False: 92]
  |  Branch (7990:48): [True: 8, False: 84]
  |  Branch (7990:70): [True: 32, False: 52]
  |  Branch (7990:89): [True: 8, False: 44]
  ------------------
 7991|     44|            || !sampler.isCombined()))
  ------------------
  |  Branch (7991:16): [True: 0, False: 44]
  ------------------
 7992|     72|            continue;
 7993|       |
 7994|    480|        for (int lod = 0; lod <= 1; ++lod) {
  ------------------
  |  Branch (7994:27): [True: 320, False: 160]
  ------------------
 7995|       |
 7996|    320|            if (lod && (sampler.isBuffer() || sampler.isRect() || sampler.isMultiSample() || !sampler.isCombined()))
  ------------------
  |  Branch (7996:17): [True: 160, False: 160]
  |  Branch (7996:25): [True: 8, False: 152]
  |  Branch (7996:47): [True: 24, False: 128]
  |  Branch (7996:67): [True: 16, False: 112]
  |  Branch (7996:94): [True: 0, False: 112]
  ------------------
 7997|     48|                continue;
 7998|    272|            if (lod && sampler.dim == Esd2D && sampler.arrayed && sampler.shadow)
  ------------------
  |  Branch (7998:17): [True: 112, False: 160]
  |  Branch (7998:24): [True: 36, False: 76]
  |  Branch (7998:48): [True: 12, False: 24]
  |  Branch (7998:67): [True: 4, False: 8]
  ------------------
 7999|      4|                continue;
 8000|    268|            if (lod && sampler.dim == EsdCube && sampler.shadow)
  ------------------
  |  Branch (8000:17): [True: 108, False: 160]
  |  Branch (8000:24): [True: 24, False: 84]
  |  Branch (8000:50): [True: 8, False: 16]
  ------------------
 8001|      8|                continue;
 8002|       |
 8003|    780|            for (int bias = 0; bias <= 1; ++bias) {
  ------------------
  |  Branch (8003:32): [True: 520, False: 260]
  ------------------
 8004|       |
 8005|    520|                if (bias && (lod || sampler.isMultiSample() || !sampler.isCombined()))
  ------------------
  |  Branch (8005:21): [True: 260, False: 260]
  |  Branch (8005:30): [True: 100, False: 160]
  |  Branch (8005:37): [True: 16, False: 144]
  |  Branch (8005:64): [True: 0, False: 144]
  ------------------
 8006|    116|                    continue;
 8007|    404|                if (bias && (sampler.dim == Esd2D || sampler.dim == EsdCube) && sampler.shadow && sampler.arrayed)
  ------------------
  |  Branch (8007:21): [True: 144, False: 260]
  |  Branch (8007:30): [True: 36, False: 108]
  |  Branch (8007:54): [True: 24, False: 84]
  |  Branch (8007:81): [True: 20, False: 40]
  |  Branch (8007:99): [True: 8, False: 12]
  ------------------
 8008|      8|                    continue;
 8009|    396|                if (bias && (sampler.isRect() || sampler.isBuffer()))
  ------------------
  |  Branch (8009:21): [True: 136, False: 260]
  |  Branch (8009:30): [True: 24, False: 112]
  |  Branch (8009:50): [True: 8, False: 104]
  ------------------
 8010|     32|                    continue;
 8011|       |
 8012|  1.09k|                for (int offset = 0; offset <= 1; ++offset) { // loop over "bool" offset or not
  ------------------
  |  Branch (8012:38): [True: 728, False: 364]
  ------------------
 8013|       |
 8014|    728|                    if (proj + offset + bias + lod > 3)
  ------------------
  |  Branch (8014:25): [True: 0, False: 728]
  ------------------
 8015|      0|                        continue;
 8016|    728|                    if (offset && (sampler.dim == EsdCube || sampler.isBuffer() || sampler.isMultiSample()))
  ------------------
  |  Branch (8016:25): [True: 364, False: 364]
  |  Branch (8016:36): [True: 60, False: 304]
  |  Branch (8016:62): [True: 8, False: 296]
  |  Branch (8016:84): [True: 16, False: 280]
  ------------------
 8017|     84|                        continue;
 8018|       |
 8019|  1.93k|                    for (int fetch = 0; fetch <= 1; ++fetch) { // loop over "bool" fetch or not
  ------------------
  |  Branch (8019:41): [True: 1.28k, False: 644]
  ------------------
 8020|       |
 8021|  1.28k|                        if (proj + offset + fetch + bias + lod > 3)
  ------------------
  |  Branch (8021:29): [True: 64, False: 1.22k]
  ------------------
 8022|     64|                            continue;
 8023|  1.22k|                        if (fetch && (lod || bias))
  ------------------
  |  Branch (8023:29): [True: 580, False: 644]
  |  Branch (8023:39): [True: 152, False: 428]
  |  Branch (8023:46): [True: 156, False: 272]
  ------------------
 8024|    308|                            continue;
 8025|    916|                        if (fetch && (sampler.shadow || sampler.dim == EsdCube))
  ------------------
  |  Branch (8025:29): [True: 272, False: 644]
  |  Branch (8025:39): [True: 72, False: 200]
  |  Branch (8025:57): [True: 16, False: 184]
  ------------------
 8026|     88|                            continue;
 8027|    828|                        if (fetch == 0 && (sampler.isMultiSample() || sampler.isBuffer()
  ------------------
  |  Branch (8027:29): [True: 644, False: 184]
  |  Branch (8027:44): [True: 16, False: 628]
  |  Branch (8027:71): [True: 8, False: 620]
  ------------------
 8028|    620|                            || !sampler.isCombined()))
  ------------------
  |  Branch (8028:32): [True: 0, False: 620]
  ------------------
 8029|     24|                            continue;
 8030|       |
 8031|  2.41k|                        for (int grad = 0; grad <= 1; ++grad) { // loop over "bool" grad or not
  ------------------
  |  Branch (8031:44): [True: 1.60k, False: 804]
  ------------------
 8032|       |
 8033|  1.60k|                            if (grad && (lod || bias || sampler.isMultiSample() || !sampler.isCombined()))
  ------------------
  |  Branch (8033:33): [True: 804, False: 804]
  |  Branch (8033:42): [True: 184, False: 620]
  |  Branch (8033:49): [True: 188, False: 432]
  |  Branch (8033:57): [True: 16, False: 416]
  |  Branch (8033:84): [True: 0, False: 416]
  ------------------
 8034|    388|                                continue;
 8035|  1.22k|                            if (grad && sampler.isBuffer())
  ------------------
  |  Branch (8035:33): [True: 416, False: 804]
  |  Branch (8035:41): [True: 8, False: 408]
  ------------------
 8036|      8|                                continue;
 8037|  1.21k|                            if (proj + offset + fetch + grad + bias + lod > 3)
  ------------------
  |  Branch (8037:33): [True: 32, False: 1.18k]
  ------------------
 8038|     32|                                continue;
 8039|       |
 8040|  3.54k|                            for (int extraProj = 0; extraProj <= 1; ++extraProj) {
  ------------------
  |  Branch (8040:53): [True: 2.36k, False: 1.18k]
  ------------------
 8041|  2.36k|                                bool compare = false;
 8042|  2.36k|                                int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8042:72): [True: 576, False: 1.78k]
  ------------------
 8043|       |                                // skip dummy unused second component for 1D non-array shadows
 8044|  2.36k|                                if (sampler.shadow && totalDims < 2)
  ------------------
  |  Branch (8044:37): [True: 456, False: 1.90k]
  |  Branch (8044:55): [True: 128, False: 328]
  ------------------
 8045|    128|                                    totalDims = 2;
 8046|  2.36k|                                totalDims += (sampler.shadow ? 1 : 0) + proj;
  ------------------
  |  Branch (8046:47): [True: 456, False: 1.90k]
  ------------------
 8047|  2.36k|                                if (totalDims > 4 && sampler.shadow) {
  ------------------
  |  Branch (8047:37): [True: 16, False: 2.34k]
  |  Branch (8047:54): [True: 16, False: 0]
  ------------------
 8048|     16|                                    compare = true;
 8049|     16|                                    totalDims = 4;
 8050|     16|                                }
 8051|  2.36k|                                assert(totalDims <= 4);
 8052|       |
 8053|  2.36k|                                if (extraProj && ! proj)
  ------------------
  |  Branch (8053:37): [True: 1.18k, False: 1.18k]
  |  Branch (8053:50): [True: 780, False: 400]
  ------------------
 8054|    780|                                    continue;
 8055|  1.58k|                                if (extraProj && (sampler.dim == Esd3D || sampler.shadow || !sampler.isCombined()))
  ------------------
  |  Branch (8055:37): [True: 400, False: 1.18k]
  |  Branch (8055:51): [True: 88, False: 312]
  |  Branch (8055:75): [True: 80, False: 232]
  |  Branch (8055:93): [True: 0, False: 232]
  ------------------
 8056|    168|                                    continue;
 8057|       |
 8058|       |                                // loop over 16-bit floating-point texel addressing
 8059|  4.23k|                                for (int f16TexAddr = 0; f16TexAddr <= 1; ++f16TexAddr)
  ------------------
  |  Branch (8059:58): [True: 2.82k, False: 1.41k]
  ------------------
 8060|  2.82k|                                {
 8061|  2.82k|                                    if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (8061:41): [True: 1.41k, False: 1.41k]
  |  Branch (8061:55): [True: 1.00k, False: 410]
  ------------------
 8062|  1.00k|                                        continue;
 8063|  1.82k|                                    if (f16TexAddr && sampler.shadow && ! compare) {
  ------------------
  |  Branch (8063:41): [True: 410, False: 1.41k]
  |  Branch (8063:55): [True: 114, False: 296]
  |  Branch (8063:73): [True: 110, False: 4]
  ------------------
 8064|    110|                                        compare = true; // compare argument is always present
 8065|    110|                                        totalDims--;
 8066|    110|                                    }
 8067|       |                                    // loop over "bool" lod clamp
 8068|  5.46k|                                    for (int lodClamp = 0; lodClamp <= 1 ;++lodClamp)
  ------------------
  |  Branch (8068:60): [True: 3.64k, False: 1.82k]
  ------------------
 8069|  3.64k|                                    {
 8070|  3.64k|                                        if (lodClamp && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8070:45): [True: 1.82k, False: 1.82k]
  |  Branch (8070:58): [True: 0, False: 1.82k]
  |  Branch (8070:83): [True: 0, False: 1.82k]
  ------------------
 8071|      0|                                            continue;
 8072|  3.64k|                                        if (lodClamp && (proj || lod || fetch))
  ------------------
  |  Branch (8072:45): [True: 1.82k, False: 1.82k]
  |  Branch (8072:58): [True: 810, False: 1.01k]
  |  Branch (8072:66): [True: 156, False: 856]
  |  Branch (8072:73): [True: 270, False: 586]
  ------------------
 8073|  1.23k|                                            continue;
 8074|       |
 8075|       |                                        // loop over "bool" sparse or not
 8076|  7.22k|                                        for (int sparse = 0; sparse <= 1; ++sparse)
  ------------------
  |  Branch (8076:62): [True: 4.81k, False: 2.40k]
  ------------------
 8077|  4.81k|                                        {
 8078|  4.81k|                                            if (sparse && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8078:49): [True: 2.40k, False: 2.40k]
  |  Branch (8078:60): [True: 0, False: 2.40k]
  |  Branch (8078:85): [True: 0, False: 2.40k]
  ------------------
 8079|      0|                                                continue;
 8080|       |                                            // Sparse sampling is not for 1D/1D array texture, buffer texture, and
 8081|       |                                            // projective texture
 8082|  4.81k|                                            if (sparse && (sampler.is1D() || sampler.isBuffer() || proj))
  ------------------
  |  Branch (8082:49): [True: 2.40k, False: 2.40k]
  |  Branch (8082:60): [True: 796, False: 1.61k]
  |  Branch (8082:78): [True: 10, False: 1.60k]
  |  Branch (8082:100): [True: 542, False: 1.06k]
  ------------------
 8083|  1.34k|                                                continue;
 8084|       |
 8085|  3.46k|                                            TString s;
 8086|       |
 8087|       |                                            // return type
 8088|  3.46k|                                            if (sparse)
  ------------------
  |  Branch (8088:49): [True: 1.06k, False: 2.40k]
  ------------------
 8089|  1.06k|                                                s.append("int ");
 8090|  2.40k|                                            else {
 8091|  2.40k|                                                if (sampler.shadow)
  ------------------
  |  Branch (8091:53): [True: 528, False: 1.88k]
  ------------------
 8092|    528|                                                    if (sampler.type == EbtFloat16)
  ------------------
  |  Branch (8092:57): [True: 352, False: 176]
  ------------------
 8093|    352|                                                        s.append("float16_t ");
 8094|    176|                                                    else
 8095|    176|                                                        s.append("float ");
 8096|  1.88k|                                                else {
 8097|  1.88k|                                                    s.append(prefixes[sampler.type]);
 8098|  1.88k|                                                    s.append("vec4 ");
 8099|  1.88k|                                                }
 8100|  2.40k|                                            }
 8101|       |
 8102|       |                                            // name
 8103|  3.46k|                                            if (sparse) {
  ------------------
  |  Branch (8103:49): [True: 1.06k, False: 2.40k]
  ------------------
 8104|  1.06k|                                                if (fetch)
  ------------------
  |  Branch (8104:53): [True: 180, False: 880]
  ------------------
 8105|    180|                                                    s.append("sparseTexel");
 8106|    880|                                                else
 8107|    880|                                                    s.append("sparseTexture");
 8108|  1.06k|                                            }
 8109|  2.40k|                                            else {
 8110|  2.40k|                                                if (fetch)
  ------------------
  |  Branch (8110:53): [True: 480, False: 1.92k]
  ------------------
 8111|    480|                                                    s.append("texel");
 8112|  1.92k|                                                else
 8113|  1.92k|                                                    s.append("texture");
 8114|  2.40k|                                            }
 8115|  3.46k|                                            if (proj)
  ------------------
  |  Branch (8115:49): [True: 810, False: 2.65k]
  ------------------
 8116|    810|                                                s.append("Proj");
 8117|  3.46k|                                            if (lod)
  ------------------
  |  Branch (8117:49): [True: 372, False: 3.09k]
  ------------------
 8118|    372|                                                s.append("Lod");
 8119|  3.46k|                                            if (grad)
  ------------------
  |  Branch (8119:49): [True: 1.16k, False: 2.30k]
  ------------------
 8120|  1.16k|                                                s.append("Grad");
 8121|  3.46k|                                            if (fetch)
  ------------------
  |  Branch (8121:49): [True: 660, False: 2.80k]
  ------------------
 8122|    660|                                                s.append("Fetch");
 8123|  3.46k|                                            if (offset)
  ------------------
  |  Branch (8123:49): [True: 1.47k, False: 1.99k]
  ------------------
 8124|  1.47k|                                                s.append("Offset");
 8125|  3.46k|                                            if (lodClamp)
  ------------------
  |  Branch (8125:49): [True: 980, False: 2.48k]
  ------------------
 8126|    980|                                                s.append("Clamp");
 8127|  3.46k|                                            if (lodClamp != 0 || sparse)
  ------------------
  |  Branch (8127:49): [True: 980, False: 2.48k]
  |  Branch (8127:66): [True: 666, False: 1.82k]
  ------------------
 8128|  1.64k|                                                s.append("ARB");
 8129|  3.46k|                                            s.append("(");
 8130|       |
 8131|       |                                            // sampler type
 8132|  3.46k|                                            s.append(typeName);
 8133|       |                                            // P coordinate
 8134|  3.46k|                                            if (extraProj) {
  ------------------
  |  Branch (8134:49): [True: 290, False: 3.17k]
  ------------------
 8135|    290|                                                if (f16TexAddr)
  ------------------
  |  Branch (8135:53): [True: 58, False: 232]
  ------------------
 8136|     58|                                                    s.append(",f16vec4");
 8137|    232|                                                else
 8138|    232|                                                    s.append(",vec4");
 8139|  3.17k|                                            } else {
 8140|  3.17k|                                                s.append(",");
 8141|  3.17k|                                                TBasicType t = fetch ? EbtInt : (f16TexAddr ? EbtFloat16 : EbtFloat);
  ------------------
  |  Branch (8141:64): [True: 570, False: 2.60k]
  |  Branch (8141:82): [True: 624, False: 1.98k]
  ------------------
 8142|  3.17k|                                                if (totalDims == 1)
  ------------------
  |  Branch (8142:53): [True: 190, False: 2.98k]
  ------------------
 8143|    190|                                                    s.append(TType::getBasicString(t));
 8144|  2.98k|                                                else {
 8145|  2.98k|                                                    s.append(prefixes[t]);
 8146|  2.98k|                                                    s.append("vec");
 8147|  2.98k|                                                    s.append(postfixes[totalDims]);
 8148|  2.98k|                                                }
 8149|  3.17k|                                            }
 8150|       |                                            // non-optional compare
 8151|  3.46k|                                            if (compare)
  ------------------
  |  Branch (8151:49): [True: 288, False: 3.18k]
  ------------------
 8152|    288|                                                s.append(",float");
 8153|       |
 8154|       |                                            // non-optional lod argument (lod that's not driven by lod loop) or sample
 8155|  3.46k|                                            if ((fetch && !sampler.isBuffer() &&
  ------------------
  |  Branch (8155:50): [True: 660, False: 2.80k]
  |  Branch (8155:59): [True: 650, False: 10]
  ------------------
 8156|    650|                                                 !sampler.isRect() && !sampler.isMultiSample())
  ------------------
  |  Branch (8156:50): [True: 510, False: 140]
  |  Branch (8156:71): [True: 470, False: 40]
  ------------------
 8157|  2.99k|                                                 || (sampler.isMultiSample() && fetch))
  ------------------
  |  Branch (8157:54): [True: 40, False: 2.95k]
  |  Branch (8157:81): [True: 40, False: 0]
  ------------------
 8158|    510|                                                s.append(",int");
 8159|       |                                            // non-optional lod
 8160|  3.46k|                                            if (lod) {
  ------------------
  |  Branch (8160:49): [True: 372, False: 3.09k]
  ------------------
 8161|    372|                                                if (f16TexAddr)
  ------------------
  |  Branch (8161:53): [True: 84, False: 288]
  ------------------
 8162|     84|                                                    s.append(",float16_t");
 8163|    288|                                                else
 8164|    288|                                                    s.append(",float");
 8165|    372|                                            }
 8166|       |
 8167|       |                                            // gradient arguments
 8168|  3.46k|                                            if (grad) {
  ------------------
  |  Branch (8168:49): [True: 1.16k, False: 2.30k]
  ------------------
 8169|  1.16k|                                                if (dimMap[sampler.dim] == 1) {
  ------------------
  |  Branch (8169:53): [True: 240, False: 926]
  ------------------
 8170|    240|                                                    if (f16TexAddr)
  ------------------
  |  Branch (8170:57): [True: 56, False: 184]
  ------------------
 8171|     56|                                                        s.append(",float16_t,float16_t");
 8172|    184|                                                    else
 8173|    184|                                                        s.append(",float,float");
 8174|    926|                                                } else {
 8175|    926|                                                    if (f16TexAddr)
  ------------------
  |  Branch (8175:57): [True: 214, False: 712]
  ------------------
 8176|    214|                                                        s.append(",f16vec");
 8177|    712|                                                    else
 8178|    712|                                                        s.append(",vec");
 8179|    926|                                                    s.append(postfixes[dimMap[sampler.dim]]);
 8180|    926|                                                    if (f16TexAddr)
  ------------------
  |  Branch (8180:57): [True: 214, False: 712]
  ------------------
 8181|    214|                                                        s.append(",f16vec");
 8182|    712|                                                    else
 8183|    712|                                                        s.append(",vec");
 8184|    926|                                                    s.append(postfixes[dimMap[sampler.dim]]);
 8185|    926|                                                }
 8186|  1.16k|                                            }
 8187|       |                                            // offset
 8188|  3.46k|                                            if (offset) {
  ------------------
  |  Branch (8188:49): [True: 1.47k, False: 1.99k]
  ------------------
 8189|  1.47k|                                                if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (8189:53): [True: 388, False: 1.08k]
  ------------------
 8190|    388|                                                    s.append(",int");
 8191|  1.08k|                                                else {
 8192|  1.08k|                                                    s.append(",ivec");
 8193|  1.08k|                                                    s.append(postfixes[dimMap[sampler.dim]]);
 8194|  1.08k|                                                }
 8195|  1.47k|                                            }
 8196|       |
 8197|       |                                            // lod clamp
 8198|  3.46k|                                            if (lodClamp) {
  ------------------
  |  Branch (8198:49): [True: 980, False: 2.48k]
  ------------------
 8199|    980|                                                if (f16TexAddr)
  ------------------
  |  Branch (8199:53): [True: 236, False: 744]
  ------------------
 8200|    236|                                                    s.append(",float16_t");
 8201|    744|                                                else
 8202|    744|                                                    s.append(",float");
 8203|    980|                                            }
 8204|       |                                            // texel out (for sparse texture)
 8205|  3.46k|                                            if (sparse) {
  ------------------
  |  Branch (8205:49): [True: 1.06k, False: 2.40k]
  ------------------
 8206|  1.06k|                                                s.append(",out ");
 8207|  1.06k|                                                if (sampler.shadow)
  ------------------
  |  Branch (8207:53): [True: 240, False: 820]
  ------------------
 8208|    240|                                                    if (sampler.type == EbtFloat16)
  ------------------
  |  Branch (8208:57): [True: 160, False: 80]
  ------------------
 8209|    160|                                                        s.append("float16_t");
 8210|     80|                                                    else
 8211|     80|                                                        s.append("float");
 8212|    820|                                                else {
 8213|    820|                                                    s.append(prefixes[sampler.type]);
 8214|    820|                                                    s.append("vec4");
 8215|    820|                                                }
 8216|  1.06k|                                            }
 8217|       |                                            // optional bias
 8218|  3.46k|                                            if (bias) {
  ------------------
  |  Branch (8218:49): [True: 644, False: 2.82k]
  ------------------
 8219|    644|                                                if (f16TexAddr)
  ------------------
  |  Branch (8219:53): [True: 148, False: 496]
  ------------------
 8220|    148|                                                    s.append(",float16_t");
 8221|    496|                                                else
 8222|    496|                                                    s.append(",float");
 8223|    644|                                            }
 8224|  3.46k|                                            s.append(");\n");
 8225|       |
 8226|       |                                            // Add to the per-language set of built-ins
 8227|  3.46k|                                            if (!grad && (bias || lodClamp != 0)) {
  ------------------
  |  Branch (8227:49): [True: 2.30k, False: 1.16k]
  |  Branch (8227:59): [True: 644, False: 1.65k]
  |  Branch (8227:67): [True: 360, False: 1.29k]
  ------------------
 8228|  1.00k|                                                stageBuiltins[EShLangFragment].append(s);
 8229|  1.00k|                                                stageBuiltins[EShLangCompute].append(s);
 8230|  1.00k|                                            } else
 8231|  2.46k|                                                commonBuiltins.append(s);
 8232|       |
 8233|  3.46k|                                        }
 8234|  2.40k|                                    }
 8235|  1.82k|                                }
 8236|  1.41k|                            }
 8237|  1.18k|                        }
 8238|    804|                    }
 8239|    644|                }
 8240|    364|            }
 8241|    260|        }
 8242|    160|    }
 8243|    116|}
_ZN7glslang9TBuiltIns18addGatherFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 8252|    116|{
 8253|    116|    switch (sampler.dim) {
 8254|     40|    case Esd2D:
  ------------------
  |  Branch (8254:5): [True: 40, False: 76]
  ------------------
 8255|     52|    case EsdRect:
  ------------------
  |  Branch (8255:5): [True: 12, False: 104]
  ------------------
 8256|     76|    case EsdCube:
  ------------------
  |  Branch (8256:5): [True: 24, False: 92]
  ------------------
 8257|     76|        break;
 8258|     40|    default:
  ------------------
  |  Branch (8258:5): [True: 40, False: 76]
  ------------------
 8259|     40|        return;
 8260|    116|    }
 8261|       |
 8262|     76|    if (sampler.isMultiSample())
  ------------------
  |  Branch (8262:9): [True: 16, False: 60]
  ------------------
 8263|     16|        return;
 8264|       |
 8265|     60|    if (version < 140 && sampler.dim == EsdRect && sampler.type != EbtFloat)
  ------------------
  |  Branch (8265:9): [True: 0, False: 60]
  |  Branch (8265:26): [True: 0, False: 0]
  |  Branch (8265:52): [True: 0, False: 0]
  ------------------
 8266|      0|        return;
 8267|       |
 8268|    180|    for (int f16TexAddr = 0; f16TexAddr <= 1; ++f16TexAddr) { // loop over 16-bit floating-point texel addressing
  ------------------
  |  Branch (8268:30): [True: 120, False: 60]
  ------------------
 8269|       |
 8270|    120|        if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (8270:13): [True: 60, False: 60]
  |  Branch (8270:27): [True: 40, False: 20]
  ------------------
 8271|     40|            continue;
 8272|    320|        for (int offset = 0; offset < 3; ++offset) { // loop over three forms of offset in the call name:  none, Offset, and Offsets
  ------------------
  |  Branch (8272:30): [True: 240, False: 80]
  ------------------
 8273|       |
 8274|    720|            for (int comp = 0; comp < 2; ++comp) { // loop over presence of comp argument
  ------------------
  |  Branch (8274:32): [True: 480, False: 240]
  ------------------
 8275|       |
 8276|    480|                if (comp > 0 && sampler.shadow)
  ------------------
  |  Branch (8276:21): [True: 240, False: 240]
  |  Branch (8276:33): [True: 90, False: 150]
  ------------------
 8277|     90|                    continue;
 8278|       |
 8279|    390|                if (offset > 0 && sampler.dim == EsdCube)
  ------------------
  |  Branch (8279:21): [True: 260, False: 130]
  |  Branch (8279:35): [True: 104, False: 156]
  ------------------
 8280|    104|                    continue;
 8281|       |
 8282|    858|                for (int sparse = 0; sparse <= 1; ++sparse) { // loop over "bool" sparse or not
  ------------------
  |  Branch (8282:38): [True: 572, False: 286]
  ------------------
 8283|    572|                    if (sparse && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8283:25): [True: 286, False: 286]
  |  Branch (8283:36): [True: 0, False: 286]
  |  Branch (8283:61): [True: 0, False: 286]
  ------------------
 8284|      0|                        continue;
 8285|       |
 8286|    572|                    TString s;
 8287|       |
 8288|       |                    // return type
 8289|    572|                    if (sparse)
  ------------------
  |  Branch (8289:25): [True: 286, False: 286]
  ------------------
 8290|    286|                        s.append("int ");
 8291|    286|                    else {
 8292|    286|                        s.append(prefixes[sampler.type]);
 8293|    286|                        s.append("vec4 ");
 8294|    286|                    }
 8295|       |
 8296|       |                    // name
 8297|    572|                    if (sparse)
  ------------------
  |  Branch (8297:25): [True: 286, False: 286]
  ------------------
 8298|    286|                        s.append("sparseTextureGather");
 8299|    286|                    else
 8300|    286|                        s.append("textureGather");
 8301|    572|                    switch (offset) {
 8302|    156|                    case 1:
  ------------------
  |  Branch (8302:21): [True: 156, False: 416]
  ------------------
 8303|    156|                        s.append("Offset");
 8304|    156|                        break;
 8305|    156|                    case 2:
  ------------------
  |  Branch (8305:21): [True: 156, False: 416]
  ------------------
 8306|    156|                        s.append("Offsets");
 8307|    156|                        break;
 8308|    260|                    default:
  ------------------
  |  Branch (8308:21): [True: 260, False: 312]
  ------------------
 8309|    260|                        break;
 8310|    572|                    }
 8311|    572|                    if (sparse)
  ------------------
  |  Branch (8311:25): [True: 286, False: 286]
  ------------------
 8312|    286|                        s.append("ARB");
 8313|    572|                    s.append("(");
 8314|       |
 8315|       |                    // sampler type argument
 8316|    572|                    s.append(typeName);
 8317|       |
 8318|       |                    // P coordinate argument
 8319|    572|                    if (f16TexAddr)
  ------------------
  |  Branch (8319:25): [True: 132, False: 440]
  ------------------
 8320|    132|                        s.append(",f16vec");
 8321|    440|                    else
 8322|    440|                        s.append(",vec");
 8323|    572|                    int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8323:60): [True: 208, False: 364]
  ------------------
 8324|    572|                    s.append(postfixes[totalDims]);
 8325|       |
 8326|       |                    // refZ argument
 8327|    572|                    if (sampler.shadow)
  ------------------
  |  Branch (8327:25): [True: 132, False: 440]
  ------------------
 8328|    132|                        s.append(",float");
 8329|       |
 8330|       |                    // offset argument
 8331|    572|                    if (offset > 0) {
  ------------------
  |  Branch (8331:25): [True: 312, False: 260]
  ------------------
 8332|    312|                        s.append(",ivec2");
 8333|    312|                        if (offset == 2)
  ------------------
  |  Branch (8333:29): [True: 156, False: 156]
  ------------------
 8334|    156|                            s.append("[4]");
 8335|    312|                    }
 8336|       |
 8337|       |                    // texel out (for sparse texture)
 8338|    572|                    if (sparse) {
  ------------------
  |  Branch (8338:25): [True: 286, False: 286]
  ------------------
 8339|    286|                        s.append(",out ");
 8340|    286|                        s.append(prefixes[sampler.type]);
 8341|    286|                        s.append("vec4 ");
 8342|    286|                    }
 8343|       |
 8344|       |                    // comp argument
 8345|    572|                    if (comp)
  ------------------
  |  Branch (8345:25): [True: 220, False: 352]
  ------------------
 8346|    220|                        s.append(",int");
 8347|       |
 8348|    572|                    s.append(");\n");
 8349|    572|                    commonBuiltins.append(s);
 8350|    572|                }
 8351|    286|            }
 8352|    240|        }
 8353|     80|    }
 8354|       |
 8355|     60|    if (sampler.dim == EsdRect || sampler.shadow)
  ------------------
  |  Branch (8355:9): [True: 12, False: 48]
  |  Branch (8355:35): [True: 16, False: 32]
  ------------------
 8356|     28|        return;
 8357|       |
 8358|     32|    if (profile == EEsProfile || version < 450)
  ------------------
  |  Branch (8358:9): [True: 0, False: 32]
  |  Branch (8358:34): [True: 0, False: 32]
  ------------------
 8359|      0|        return;
 8360|       |
 8361|     96|    for (int bias = 0; bias < 2; ++bias) { // loop over presence of bias argument
  ------------------
  |  Branch (8361:24): [True: 64, False: 32]
  ------------------
 8362|       |
 8363|    192|        for (int lod = 0; lod < 2; ++lod) { // loop over presence of lod argument
  ------------------
  |  Branch (8363:27): [True: 128, False: 64]
  ------------------
 8364|       |
 8365|    128|            if ((lod && bias) || (lod == 0 && bias == 0))
  ------------------
  |  Branch (8365:18): [True: 64, False: 64]
  |  Branch (8365:25): [True: 32, False: 32]
  |  Branch (8365:35): [True: 64, False: 32]
  |  Branch (8365:47): [True: 32, False: 32]
  ------------------
 8366|     64|                continue;
 8367|       |
 8368|    192|            for (int f16TexAddr = 0; f16TexAddr <= 1; ++f16TexAddr) { // loop over 16-bit floating-point texel addressing
  ------------------
  |  Branch (8368:38): [True: 128, False: 64]
  ------------------
 8369|       |
 8370|    128|                if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (8370:21): [True: 64, False: 64]
  |  Branch (8370:35): [True: 48, False: 16]
  ------------------
 8371|     48|                    continue;
 8372|       |
 8373|    320|                for (int offset = 0; offset < 3; ++offset) { // loop over three forms of offset in the call name:  none, Offset, and Offsets
  ------------------
  |  Branch (8373:38): [True: 240, False: 80]
  ------------------
 8374|       |
 8375|    720|                    for (int comp = 0; comp < 2; ++comp) { // loop over presence of comp argument
  ------------------
  |  Branch (8375:40): [True: 480, False: 240]
  ------------------
 8376|       |
 8377|    480|                        if (comp == 0 && bias)
  ------------------
  |  Branch (8377:29): [True: 240, False: 240]
  |  Branch (8377:42): [True: 120, False: 120]
  ------------------
 8378|    120|                            continue;
 8379|       |
 8380|    360|                        if (offset > 0 && sampler.dim == EsdCube)
  ------------------
  |  Branch (8380:29): [True: 240, False: 120]
  |  Branch (8380:43): [True: 120, False: 120]
  ------------------
 8381|    120|                            continue;
 8382|       |
 8383|    720|                        for (int sparse = 0; sparse <= 1; ++sparse) { // loop over "bool" sparse or not
  ------------------
  |  Branch (8383:46): [True: 480, False: 240]
  ------------------
 8384|    480|                            if (sparse && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8384:33): [True: 240, False: 240]
  |  Branch (8384:44): [True: 0, False: 240]
  |  Branch (8384:69): [True: 0, False: 240]
  ------------------
 8385|      0|                                continue;
 8386|       |
 8387|    480|                            TString s;
 8388|       |
 8389|       |                            // return type
 8390|    480|                            if (sparse)
  ------------------
  |  Branch (8390:33): [True: 240, False: 240]
  ------------------
 8391|    240|                                s.append("int ");
 8392|    240|                            else {
 8393|    240|                                s.append(prefixes[sampler.type]);
 8394|    240|                                s.append("vec4 ");
 8395|    240|                            }
 8396|       |
 8397|       |                            // name
 8398|    480|                            if (sparse)
  ------------------
  |  Branch (8398:33): [True: 240, False: 240]
  ------------------
 8399|    240|                                s.append("sparseTextureGather");
 8400|    240|                            else
 8401|    240|                                s.append("textureGather");
 8402|       |
 8403|    480|                            if (lod)
  ------------------
  |  Branch (8403:33): [True: 320, False: 160]
  ------------------
 8404|    320|                                s.append("Lod");
 8405|       |
 8406|    480|                            switch (offset) {
 8407|    120|                            case 1:
  ------------------
  |  Branch (8407:29): [True: 120, False: 360]
  ------------------
 8408|    120|                                s.append("Offset");
 8409|    120|                                break;
 8410|    120|                            case 2:
  ------------------
  |  Branch (8410:29): [True: 120, False: 360]
  ------------------
 8411|    120|                                s.append("Offsets");
 8412|    120|                                break;
 8413|    240|                            default:
  ------------------
  |  Branch (8413:29): [True: 240, False: 240]
  ------------------
 8414|    240|                                break;
 8415|    480|                            }
 8416|       |
 8417|    480|                            if (lod)
  ------------------
  |  Branch (8417:33): [True: 320, False: 160]
  ------------------
 8418|    320|                                s.append("AMD");
 8419|    160|                            else if (sparse)
  ------------------
  |  Branch (8419:38): [True: 80, False: 80]
  ------------------
 8420|     80|                                s.append("ARB");
 8421|       |
 8422|    480|                            s.append("(");
 8423|       |
 8424|       |                            // sampler type argument
 8425|    480|                            s.append(typeName);
 8426|       |
 8427|       |                            // P coordinate argument
 8428|    480|                            if (f16TexAddr)
  ------------------
  |  Branch (8428:33): [True: 96, False: 384]
  ------------------
 8429|     96|                                s.append(",f16vec");
 8430|    384|                            else
 8431|    384|                                s.append(",vec");
 8432|    480|                            int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8432:68): [True: 240, False: 240]
  ------------------
 8433|    480|                            s.append(postfixes[totalDims]);
 8434|       |
 8435|       |                            // lod argument
 8436|    480|                            if (lod) {
  ------------------
  |  Branch (8436:33): [True: 320, False: 160]
  ------------------
 8437|    320|                                if (f16TexAddr)
  ------------------
  |  Branch (8437:37): [True: 64, False: 256]
  ------------------
 8438|     64|                                    s.append(",float16_t");
 8439|    256|                                else
 8440|    256|                                    s.append(",float");
 8441|    320|                            }
 8442|       |
 8443|       |                            // offset argument
 8444|    480|                            if (offset > 0) {
  ------------------
  |  Branch (8444:33): [True: 240, False: 240]
  ------------------
 8445|    240|                                s.append(",ivec2");
 8446|    240|                                if (offset == 2)
  ------------------
  |  Branch (8446:37): [True: 120, False: 120]
  ------------------
 8447|    120|                                    s.append("[4]");
 8448|    240|                            }
 8449|       |
 8450|       |                            // texel out (for sparse texture)
 8451|    480|                            if (sparse) {
  ------------------
  |  Branch (8451:33): [True: 240, False: 240]
  ------------------
 8452|    240|                                s.append(",out ");
 8453|    240|                                s.append(prefixes[sampler.type]);
 8454|    240|                                s.append("vec4 ");
 8455|    240|                            }
 8456|       |
 8457|       |                            // comp argument
 8458|    480|                            if (comp)
  ------------------
  |  Branch (8458:33): [True: 320, False: 160]
  ------------------
 8459|    320|                                s.append(",int");
 8460|       |
 8461|       |                            // bias argument
 8462|    480|                            if (bias) {
  ------------------
  |  Branch (8462:33): [True: 160, False: 320]
  ------------------
 8463|    160|                                if (f16TexAddr)
  ------------------
  |  Branch (8463:37): [True: 32, False: 128]
  ------------------
 8464|     32|                                    s.append(",float16_t");
 8465|    128|                                else
 8466|    128|                                    s.append(",float");
 8467|    160|                            }
 8468|       |
 8469|    480|                            s.append(");\n");
 8470|    480|                            if (bias) {
  ------------------
  |  Branch (8470:33): [True: 160, False: 320]
  ------------------
 8471|    160|                                stageBuiltins[EShLangFragment].append(s);
 8472|    160|                                stageBuiltins[EShLangCompute].append(s);
 8473|    160|                                stageBuiltins[EShLangTask].append(s);
 8474|    160|                                stageBuiltins[EShLangMesh].append(s);
 8475|    160|                            } else
 8476|    320|                                commonBuiltins.append(s);
 8477|    480|                        }
 8478|    240|                    }
 8479|    240|                }
 8480|     80|            }
 8481|     64|        }
 8482|     64|    }
 8483|     32|}
_ZN7glslang9TBuiltIns22addGatherFunctionsQCOMEv:
 8486|      2|{
 8487|      2|    const TBasicType bTypes[] = { EbtFloat, EbtInt, EbtUint };
 8488|      2|    const TSamplerDim sDims[] = { Esd2D };
 8489|      2|    const TString modes[] = { "4x1", "V2", "H2", "D" };
 8490|      6|    for (size_t arrayed = 0; arrayed <= 1; ++arrayed) { // loop over "bool" arrayed or not
  ------------------
  |  Branch (8490:30): [True: 4, False: 2]
  ------------------
 8491|      8|        for (size_t dimIdx = 0; dimIdx < std::size(sDims); ++dimIdx) {
  ------------------
  |  Branch (8491:33): [True: 4, False: 4]
  ------------------
 8492|      4|            int dim = sDims[dimIdx];
 8493|       |            // Loop over the bTypes
 8494|     16|            for (size_t bType = 0; bType < std::size(bTypes); ++bType) {
  ------------------
  |  Branch (8494:36): [True: 12, False: 4]
  ------------------
 8495|     60|                for (size_t mode = 0; mode < std::size(modes); ++mode) {
  ------------------
  |  Branch (8495:39): [True: 48, False: 12]
  ------------------
 8496|       |                    // loop over two forms of offset in the call name:  none, and Offset
 8497|    144|                    for (int offset = 0; offset < 2; ++offset) {
  ------------------
  |  Branch (8497:42): [True: 96, False: 48]
  ------------------
 8498|    288|                        for (int comp = 0; comp < 2; ++comp) {
  ------------------
  |  Branch (8498:44): [True: 192, False: 96]
  ------------------
 8499|       |                            //
 8500|       |                            // Now, make all the function prototypes for the type we just built...
 8501|       |                            //
 8502|    192|                            TSampler sampler;
 8503|    192|                            sampler.set(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false, false, false);
  ------------------
  |  Branch (8503:74): [True: 96, False: 96]
  ------------------
 8504|    192|                            TString typeName = sampler.getString().c_str();
 8505|       |
 8506|    192|                            TString s;
 8507|    192|                            s.append(prefixes[sampler.type]);
 8508|    192|                            s.append("vec4 textureGather");
 8509|    192|                            s.append(modes[mode]);
 8510|       |
 8511|    192|                            if (offset == 1)
  ------------------
  |  Branch (8511:33): [True: 96, False: 96]
  ------------------
 8512|     96|                                s.append("Offset");
 8513|       |
 8514|    192|                            s.append("QCOM(");
 8515|    192|                            s.append(typeName);
 8516|    192|                            s.append(", vec");
 8517|    192|                            int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8517:68): [True: 96, False: 96]
  ------------------
 8518|    192|                            s.append(postfixes[totalDims]);
 8519|       |
 8520|       |                            // offset argument
 8521|    192|                            if (offset == 1)
  ------------------
  |  Branch (8521:33): [True: 96, False: 96]
  ------------------
 8522|     96|                                s.append(", ivec2");
 8523|       |
 8524|    192|                            if (comp)
  ------------------
  |  Branch (8524:33): [True: 96, False: 96]
  ------------------
 8525|     96|                                s.append(", int");
 8526|    192|                            s.append(");\n");
 8527|    192|                            commonBuiltins.append(s);
 8528|    192|                        }
 8529|     96|                    }
 8530|     48|                }
 8531|     12|            }
 8532|      4|        }
 8533|      4|    }
 8534|      2|}
_ZN7glslang9TBuiltIns10initializeERK16TBuiltInResourcei8EProfileRKNS_10SpvVersionE11EShLanguage:
 8544|     36|{
 8545|       |    //
 8546|       |    // Initialize the context-dependent (resource-dependent) built-in strings for parsing.
 8547|       |    //
 8548|       |
 8549|       |    //============================================================================
 8550|       |    //
 8551|       |    // Standard Uniforms
 8552|       |    //
 8553|       |    //============================================================================
 8554|       |
 8555|     36|    TString& s = commonBuiltins;
 8556|     36|    const int maxSize = 200;
 8557|     36|    char builtInConstant[maxSize];
 8558|       |
 8559|       |    //
 8560|       |    // Build string of implementation dependent constants.
 8561|       |    //
 8562|       |
 8563|     36|    if (profile == EEsProfile) {
  ------------------
  |  Branch (8563:9): [True: 34, False: 2]
  ------------------
 8564|     34|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexAttribs = %d;", resources.maxVertexAttribs);
 8565|     34|        s.append(builtInConstant);
 8566|       |
 8567|     34|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexUniformVectors = %d;", resources.maxVertexUniformVectors);
 8568|     34|        s.append(builtInConstant);
 8569|       |
 8570|     34|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexTextureImageUnits = %d;", resources.maxVertexTextureImageUnits);
 8571|     34|        s.append(builtInConstant);
 8572|       |
 8573|     34|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxCombinedTextureImageUnits = %d;", resources.maxCombinedTextureImageUnits);
 8574|     34|        s.append(builtInConstant);
 8575|       |
 8576|     34|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxTextureImageUnits = %d;", resources.maxTextureImageUnits);
 8577|     34|        s.append(builtInConstant);
 8578|       |
 8579|     34|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxFragmentUniformVectors = %d;", resources.maxFragmentUniformVectors);
 8580|     34|        s.append(builtInConstant);
 8581|       |
 8582|     34|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxDrawBuffers = %d;", resources.maxDrawBuffers);
 8583|     34|        s.append(builtInConstant);
 8584|       |
 8585|     34|        if (version == 100) {
  ------------------
  |  Branch (8585:13): [True: 34, False: 0]
  ------------------
 8586|     34|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVaryingVectors = %d;", resources.maxVaryingVectors);
 8587|     34|            s.append(builtInConstant);
 8588|     34|        } else {
 8589|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexOutputVectors = %d;", resources.maxVertexOutputVectors);
 8590|      0|            s.append(builtInConstant);
 8591|       |
 8592|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxFragmentInputVectors = %d;", resources.maxFragmentInputVectors);
 8593|      0|            s.append(builtInConstant);
 8594|       |
 8595|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MinProgramTexelOffset = %d;", resources.minProgramTexelOffset);
 8596|      0|            s.append(builtInConstant);
 8597|       |
 8598|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxProgramTexelOffset = %d;", resources.maxProgramTexelOffset);
 8599|      0|            s.append(builtInConstant);
 8600|      0|        }
 8601|       |
 8602|     34|        if (version >= 310) {
  ------------------
  |  Branch (8602:13): [True: 0, False: 34]
  ------------------
 8603|       |            // geometry
 8604|       |
 8605|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryInputComponents = %d;", resources.maxGeometryInputComponents);
 8606|      0|            s.append(builtInConstant);
 8607|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputComponents = %d;", resources.maxGeometryOutputComponents);
 8608|      0|            s.append(builtInConstant);
 8609|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryImageUniforms = %d;", resources.maxGeometryImageUniforms);
 8610|      0|            s.append(builtInConstant);
 8611|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTextureImageUnits = %d;", resources.maxGeometryTextureImageUnits);
 8612|      0|            s.append(builtInConstant);
 8613|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputVertices = %d;", resources.maxGeometryOutputVertices);
 8614|      0|            s.append(builtInConstant);
 8615|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTotalOutputComponents = %d;", resources.maxGeometryTotalOutputComponents);
 8616|      0|            s.append(builtInConstant);
 8617|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryUniformComponents = %d;", resources.maxGeometryUniformComponents);
 8618|      0|            s.append(builtInConstant);
 8619|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounters = %d;", resources.maxGeometryAtomicCounters);
 8620|      0|            s.append(builtInConstant);
 8621|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounterBuffers = %d;", resources.maxGeometryAtomicCounterBuffers);
 8622|      0|            s.append(builtInConstant);
 8623|       |
 8624|       |            // tessellation
 8625|       |
 8626|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlInputComponents = %d;", resources.maxTessControlInputComponents);
 8627|      0|            s.append(builtInConstant);
 8628|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlOutputComponents = %d;", resources.maxTessControlOutputComponents);
 8629|      0|            s.append(builtInConstant);
 8630|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTextureImageUnits = %d;", resources.maxTessControlTextureImageUnits);
 8631|      0|            s.append(builtInConstant);
 8632|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlUniformComponents = %d;", resources.maxTessControlUniformComponents);
 8633|      0|            s.append(builtInConstant);
 8634|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTotalOutputComponents = %d;", resources.maxTessControlTotalOutputComponents);
 8635|      0|            s.append(builtInConstant);
 8636|       |
 8637|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationInputComponents = %d;", resources.maxTessEvaluationInputComponents);
 8638|      0|            s.append(builtInConstant);
 8639|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationOutputComponents = %d;", resources.maxTessEvaluationOutputComponents);
 8640|      0|            s.append(builtInConstant);
 8641|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationTextureImageUnits = %d;", resources.maxTessEvaluationTextureImageUnits);
 8642|      0|            s.append(builtInConstant);
 8643|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationUniformComponents = %d;", resources.maxTessEvaluationUniformComponents);
 8644|      0|            s.append(builtInConstant);
 8645|       |
 8646|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessPatchComponents = %d;", resources.maxTessPatchComponents);
 8647|      0|            s.append(builtInConstant);
 8648|       |
 8649|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxPatchVertices = %d;", resources.maxPatchVertices);
 8650|      0|            s.append(builtInConstant);
 8651|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessGenLevel = %d;", resources.maxTessGenLevel);
 8652|      0|            s.append(builtInConstant);
 8653|       |
 8654|       |            // this is here instead of with the others in initialize(version, profile) due to the dependence on gl_MaxPatchVertices
 8655|      0|            if (language == EShLangTessControl || language == EShLangTessEvaluation) {
  ------------------
  |  Branch (8655:17): [True: 0, False: 0]
  |  Branch (8655:51): [True: 0, False: 0]
  ------------------
 8656|      0|                s.append(
 8657|      0|                    "in gl_PerVertex {"
 8658|      0|                        "highp vec4 gl_Position;"
 8659|      0|                        "highp float gl_PointSize;"
 8660|      0|                        "highp vec4 gl_SecondaryPositionNV;"  // GL_NV_stereo_view_rendering
 8661|      0|                        "highp vec4 gl_PositionPerViewNV[];"  // GL_NVX_multiview_per_view_attributes
 8662|      0|                    "} gl_in[gl_MaxPatchVertices];"
 8663|      0|                    "\n");
 8664|      0|            }
 8665|      0|        }
 8666|       |
 8667|     34|        if (version >= 320) {
  ------------------
  |  Branch (8667:13): [True: 0, False: 34]
  ------------------
 8668|       |            // tessellation
 8669|       |
 8670|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlImageUniforms = %d;", resources.maxTessControlImageUniforms);
 8671|      0|            s.append(builtInConstant);
 8672|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationImageUniforms = %d;", resources.maxTessEvaluationImageUniforms);
 8673|      0|            s.append(builtInConstant);
 8674|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounters = %d;", resources.maxTessControlAtomicCounters);
 8675|      0|            s.append(builtInConstant);
 8676|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounters = %d;", resources.maxTessEvaluationAtomicCounters);
 8677|      0|            s.append(builtInConstant);
 8678|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounterBuffers = %d;", resources.maxTessControlAtomicCounterBuffers);
 8679|      0|            s.append(builtInConstant);
 8680|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounterBuffers = %d;", resources.maxTessEvaluationAtomicCounterBuffers);
 8681|      0|            s.append(builtInConstant);
 8682|      0|        }
 8683|       |
 8684|     34|        if (version >= 100) {
  ------------------
  |  Branch (8684:13): [True: 34, False: 0]
  ------------------
 8685|       |            // GL_EXT_blend_func_extended
 8686|     34|            snprintf(builtInConstant, maxSize, "const mediump int gl_MaxDualSourceDrawBuffersEXT = %d;", resources.maxDualSourceDrawBuffersEXT);
 8687|     34|            s.append(builtInConstant);
 8688|       |            // this is here instead of with the others in initialize(version, profile) due to the dependence on gl_MaxDualSourceDrawBuffersEXT
 8689|     34|            if (language == EShLangFragment) {
  ------------------
  |  Branch (8689:17): [True: 0, False: 34]
  ------------------
 8690|      0|                s.append(
 8691|      0|                    "mediump vec4 gl_SecondaryFragColorEXT;"
 8692|      0|                    "mediump vec4 gl_SecondaryFragDataEXT[gl_MaxDualSourceDrawBuffersEXT];"
 8693|      0|                    "\n");
 8694|      0|            }
 8695|     34|        }
 8696|     34|    } else {
 8697|       |        // non-ES profile
 8698|       |
 8699|      2|        if (version > 400) {
  ------------------
  |  Branch (8699:13): [True: 2, False: 0]
  ------------------
 8700|      2|            snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexUniformVectors = %d;", resources.maxVertexUniformVectors);
 8701|      2|            s.append(builtInConstant);
 8702|       |
 8703|      2|            snprintf(builtInConstant, maxSize, "const int  gl_MaxFragmentUniformVectors = %d;", resources.maxFragmentUniformVectors);
 8704|      2|            s.append(builtInConstant);
 8705|       |
 8706|      2|            snprintf(builtInConstant, maxSize, "const int  gl_MaxVaryingVectors = %d;", resources.maxVaryingVectors);
 8707|      2|            s.append(builtInConstant);
 8708|      2|        }
 8709|       |
 8710|      2|        snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexAttribs = %d;", resources.maxVertexAttribs);
 8711|      2|        s.append(builtInConstant);
 8712|       |
 8713|      2|        snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexTextureImageUnits = %d;", resources.maxVertexTextureImageUnits);
 8714|      2|        s.append(builtInConstant);
 8715|       |
 8716|      2|        snprintf(builtInConstant, maxSize, "const int  gl_MaxCombinedTextureImageUnits = %d;", resources.maxCombinedTextureImageUnits);
 8717|      2|        s.append(builtInConstant);
 8718|       |
 8719|      2|        snprintf(builtInConstant, maxSize, "const int  gl_MaxTextureImageUnits = %d;", resources.maxTextureImageUnits);
 8720|      2|        s.append(builtInConstant);
 8721|       |
 8722|      2|        snprintf(builtInConstant, maxSize, "const int  gl_MaxDrawBuffers = %d;", resources.maxDrawBuffers);
 8723|      2|        s.append(builtInConstant);
 8724|       |
 8725|      2|        snprintf(builtInConstant, maxSize, "const int  gl_MaxLights = %d;", resources.maxLights);
 8726|      2|        s.append(builtInConstant);
 8727|       |
 8728|      2|        snprintf(builtInConstant, maxSize, "const int  gl_MaxClipPlanes = %d;", resources.maxClipPlanes);
 8729|      2|        s.append(builtInConstant);
 8730|       |
 8731|      2|        snprintf(builtInConstant, maxSize, "const int  gl_MaxTextureUnits = %d;", resources.maxTextureUnits);
 8732|      2|        s.append(builtInConstant);
 8733|       |
 8734|      2|        snprintf(builtInConstant, maxSize, "const int  gl_MaxTextureCoords = %d;", resources.maxTextureCoords);
 8735|      2|        s.append(builtInConstant);
 8736|       |
 8737|      2|        snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexUniformComponents = %d;", resources.maxVertexUniformComponents);
 8738|      2|        s.append(builtInConstant);
 8739|       |
 8740|       |        // Moved from just being deprecated into compatibility profile only as of 4.20
 8741|      2|        if (version < 420 || profile == ECompatibilityProfile) {
  ------------------
  |  Branch (8741:13): [True: 0, False: 2]
  |  Branch (8741:30): [True: 0, False: 2]
  ------------------
 8742|      0|            snprintf(builtInConstant, maxSize, "const int  gl_MaxVaryingFloats = %d;", resources.maxVaryingFloats);
 8743|      0|            s.append(builtInConstant);
 8744|      0|        }
 8745|       |
 8746|      2|        snprintf(builtInConstant, maxSize, "const int  gl_MaxFragmentUniformComponents = %d;", resources.maxFragmentUniformComponents);
 8747|      2|        s.append(builtInConstant);
 8748|       |
 8749|      2|        if (spvVersion.spv == 0 && IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (8749:13): [True: 2, False: 0]
  |  Branch (8749:36): [True: 0, False: 2]
  ------------------
 8750|       |            //
 8751|       |            // OpenGL'uniform' state.  Page numbers are in reference to version
 8752|       |            // 1.4 of the OpenGL specification.
 8753|       |            //
 8754|       |
 8755|       |            //
 8756|       |            // Matrix state. p. 31, 32, 37, 39, 40.
 8757|       |            //
 8758|      0|            s.append("uniform mat4  gl_TextureMatrix[gl_MaxTextureCoords];"
 8759|       |
 8760|       |            //
 8761|       |            // Derived matrix state that provides inverse and transposed versions
 8762|       |            // of the matrices above.
 8763|       |            //
 8764|      0|                        "uniform mat4  gl_TextureMatrixInverse[gl_MaxTextureCoords];"
 8765|       |
 8766|      0|                        "uniform mat4  gl_TextureMatrixTranspose[gl_MaxTextureCoords];"
 8767|       |
 8768|      0|                        "uniform mat4  gl_TextureMatrixInverseTranspose[gl_MaxTextureCoords];"
 8769|       |
 8770|       |            //
 8771|       |            // Clip planes p. 42.
 8772|       |            //
 8773|      0|                        "uniform vec4  gl_ClipPlane[gl_MaxClipPlanes];"
 8774|       |
 8775|       |            //
 8776|       |            // Light State p 50, 53, 55.
 8777|       |            //
 8778|      0|                        "uniform gl_LightSourceParameters  gl_LightSource[gl_MaxLights];"
 8779|       |
 8780|       |            //
 8781|       |            // Derived state from products of light.
 8782|       |            //
 8783|      0|                        "uniform gl_LightProducts gl_FrontLightProduct[gl_MaxLights];"
 8784|      0|                        "uniform gl_LightProducts gl_BackLightProduct[gl_MaxLights];"
 8785|       |
 8786|       |            //
 8787|       |            // Texture Environment and Generation, p. 152, p. 40-42.
 8788|       |            //
 8789|      0|                        "uniform vec4  gl_TextureEnvColor[gl_MaxTextureImageUnits];"
 8790|      0|                        "uniform vec4  gl_EyePlaneS[gl_MaxTextureCoords];"
 8791|      0|                        "uniform vec4  gl_EyePlaneT[gl_MaxTextureCoords];"
 8792|      0|                        "uniform vec4  gl_EyePlaneR[gl_MaxTextureCoords];"
 8793|      0|                        "uniform vec4  gl_EyePlaneQ[gl_MaxTextureCoords];"
 8794|      0|                        "uniform vec4  gl_ObjectPlaneS[gl_MaxTextureCoords];"
 8795|      0|                        "uniform vec4  gl_ObjectPlaneT[gl_MaxTextureCoords];"
 8796|      0|                        "uniform vec4  gl_ObjectPlaneR[gl_MaxTextureCoords];"
 8797|      0|                        "uniform vec4  gl_ObjectPlaneQ[gl_MaxTextureCoords];");
 8798|      0|        }
 8799|       |
 8800|      2|        if (version >= 130) {
  ------------------
  |  Branch (8800:13): [True: 2, False: 0]
  ------------------
 8801|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxClipDistances = %d;", resources.maxClipDistances);
 8802|      2|            s.append(builtInConstant);
 8803|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxVaryingComponents = %d;", resources.maxVaryingComponents);
 8804|      2|            s.append(builtInConstant);
 8805|       |
 8806|       |            // GL_ARB_shading_language_420pack
 8807|      2|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MinProgramTexelOffset = %d;", resources.minProgramTexelOffset);
 8808|      2|            s.append(builtInConstant);
 8809|      2|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxProgramTexelOffset = %d;", resources.maxProgramTexelOffset);
 8810|      2|            s.append(builtInConstant);
 8811|      2|        }
 8812|       |
 8813|       |        // geometry
 8814|      2|        if (version >= 150) {
  ------------------
  |  Branch (8814:13): [True: 2, False: 0]
  ------------------
 8815|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryInputComponents = %d;", resources.maxGeometryInputComponents);
 8816|      2|            s.append(builtInConstant);
 8817|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputComponents = %d;", resources.maxGeometryOutputComponents);
 8818|      2|            s.append(builtInConstant);
 8819|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTextureImageUnits = %d;", resources.maxGeometryTextureImageUnits);
 8820|      2|            s.append(builtInConstant);
 8821|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputVertices = %d;", resources.maxGeometryOutputVertices);
 8822|      2|            s.append(builtInConstant);
 8823|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTotalOutputComponents = %d;", resources.maxGeometryTotalOutputComponents);
 8824|      2|            s.append(builtInConstant);
 8825|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryUniformComponents = %d;", resources.maxGeometryUniformComponents);
 8826|      2|            s.append(builtInConstant);
 8827|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryVaryingComponents = %d;", resources.maxGeometryVaryingComponents);
 8828|      2|            s.append(builtInConstant);
 8829|       |
 8830|      2|        }
 8831|       |
 8832|      2|        if (version >= 150) {
  ------------------
  |  Branch (8832:13): [True: 2, False: 0]
  ------------------
 8833|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxVertexOutputComponents = %d;", resources.maxVertexOutputComponents);
 8834|      2|            s.append(builtInConstant);
 8835|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentInputComponents = %d;", resources.maxFragmentInputComponents);
 8836|      2|            s.append(builtInConstant);
 8837|      2|        }
 8838|       |
 8839|       |        // tessellation
 8840|      2|        if (version >= 150) {
  ------------------
  |  Branch (8840:13): [True: 2, False: 0]
  ------------------
 8841|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlInputComponents = %d;", resources.maxTessControlInputComponents);
 8842|      2|            s.append(builtInConstant);
 8843|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlOutputComponents = %d;", resources.maxTessControlOutputComponents);
 8844|      2|            s.append(builtInConstant);
 8845|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTextureImageUnits = %d;", resources.maxTessControlTextureImageUnits);
 8846|      2|            s.append(builtInConstant);
 8847|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlUniformComponents = %d;", resources.maxTessControlUniformComponents);
 8848|      2|            s.append(builtInConstant);
 8849|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTotalOutputComponents = %d;", resources.maxTessControlTotalOutputComponents);
 8850|      2|            s.append(builtInConstant);
 8851|       |
 8852|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationInputComponents = %d;", resources.maxTessEvaluationInputComponents);
 8853|      2|            s.append(builtInConstant);
 8854|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationOutputComponents = %d;", resources.maxTessEvaluationOutputComponents);
 8855|      2|            s.append(builtInConstant);
 8856|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationTextureImageUnits = %d;", resources.maxTessEvaluationTextureImageUnits);
 8857|      2|            s.append(builtInConstant);
 8858|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationUniformComponents = %d;", resources.maxTessEvaluationUniformComponents);
 8859|      2|            s.append(builtInConstant);
 8860|       |
 8861|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessPatchComponents = %d;", resources.maxTessPatchComponents);
 8862|      2|            s.append(builtInConstant);
 8863|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessGenLevel = %d;", resources.maxTessGenLevel);
 8864|      2|            s.append(builtInConstant);
 8865|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxPatchVertices = %d;", resources.maxPatchVertices);
 8866|      2|            s.append(builtInConstant);
 8867|       |
 8868|       |            // this is here instead of with the others in initialize(version, profile) due to the dependence on gl_MaxPatchVertices
 8869|      2|            if (language == EShLangTessControl || language == EShLangTessEvaluation) {
  ------------------
  |  Branch (8869:17): [True: 0, False: 2]
  |  Branch (8869:51): [True: 0, False: 2]
  ------------------
 8870|      0|                s.append(
 8871|      0|                    "in gl_PerVertex {"
 8872|      0|                        "vec4 gl_Position;"
 8873|      0|                        "float gl_PointSize;"
 8874|      0|                        "float gl_ClipDistance[];"
 8875|      0|                    );
 8876|      0|                if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (8876:21): [True: 0, False: 0]
  ------------------
 8877|      0|                    s.append(
 8878|      0|                        "vec4 gl_ClipVertex;"
 8879|      0|                        "vec4 gl_FrontColor;"
 8880|      0|                        "vec4 gl_BackColor;"
 8881|      0|                        "vec4 gl_FrontSecondaryColor;"
 8882|      0|                        "vec4 gl_BackSecondaryColor;"
 8883|      0|                        "vec4 gl_TexCoord[];"
 8884|      0|                        "float gl_FogFragCoord;"
 8885|      0|                        );
 8886|      0|                if (profile != EEsProfile && version >= 450)
  ------------------
  |  Branch (8886:21): [True: 0, False: 0]
  |  Branch (8886:46): [True: 0, False: 0]
  ------------------
 8887|      0|                    s.append(
 8888|      0|                        "float gl_CullDistance[];"
 8889|      0|                        "vec4 gl_SecondaryPositionNV;"  // GL_NV_stereo_view_rendering
 8890|      0|                        "vec4 gl_PositionPerViewNV[];"  // GL_NVX_multiview_per_view_attributes
 8891|      0|                       );
 8892|      0|                s.append(
 8893|      0|                    "} gl_in[gl_MaxPatchVertices];"
 8894|      0|                    "\n");
 8895|      0|            }
 8896|      2|        }
 8897|       |
 8898|      2|        if (version >= 150) {
  ------------------
  |  Branch (8898:13): [True: 2, False: 0]
  ------------------
 8899|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxViewports = %d;", resources.maxViewports);
 8900|      2|            s.append(builtInConstant);
 8901|      2|        }
 8902|       |
 8903|       |        // images
 8904|      2|        if (version >= 130) {
  ------------------
  |  Branch (8904:13): [True: 2, False: 0]
  ------------------
 8905|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedImageUnitsAndFragmentOutputs = %d;", resources.maxCombinedImageUnitsAndFragmentOutputs);
 8906|      2|            s.append(builtInConstant);
 8907|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxImageSamples = %d;", resources.maxImageSamples);
 8908|      2|            s.append(builtInConstant);
 8909|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlImageUniforms = %d;", resources.maxTessControlImageUniforms);
 8910|      2|            s.append(builtInConstant);
 8911|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationImageUniforms = %d;", resources.maxTessEvaluationImageUniforms);
 8912|      2|            s.append(builtInConstant);
 8913|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryImageUniforms = %d;", resources.maxGeometryImageUniforms);
 8914|      2|            s.append(builtInConstant);
 8915|      2|        }
 8916|       |
 8917|       |        // enhanced layouts
 8918|      2|        if (version >= 430) {
  ------------------
  |  Branch (8918:13): [True: 2, False: 0]
  ------------------
 8919|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTransformFeedbackBuffers = %d;", resources.maxTransformFeedbackBuffers);
 8920|      2|            s.append(builtInConstant);
 8921|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTransformFeedbackInterleavedComponents = %d;", resources.maxTransformFeedbackInterleavedComponents);
 8922|      2|            s.append(builtInConstant);
 8923|      2|        }
 8924|      2|    }
 8925|       |
 8926|       |    // compute
 8927|     36|    if ((profile == EEsProfile && version >= 310) || (profile != EEsProfile && version >= 420)) {
  ------------------
  |  Branch (8927:10): [True: 34, False: 2]
  |  Branch (8927:35): [True: 0, False: 34]
  |  Branch (8927:55): [True: 2, False: 34]
  |  Branch (8927:80): [True: 2, False: 0]
  ------------------
 8928|      2|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxComputeWorkGroupCount = ivec3(%d,%d,%d);", resources.maxComputeWorkGroupCountX,
 8929|      2|                                                                                                         resources.maxComputeWorkGroupCountY,
 8930|      2|                                                                                                         resources.maxComputeWorkGroupCountZ);
 8931|      2|        s.append(builtInConstant);
 8932|      2|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxComputeWorkGroupSize = ivec3(%d,%d,%d);", resources.maxComputeWorkGroupSizeX,
 8933|      2|                                                                                                        resources.maxComputeWorkGroupSizeY,
 8934|      2|                                                                                                        resources.maxComputeWorkGroupSizeZ);
 8935|      2|        s.append(builtInConstant);
 8936|       |
 8937|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeUniformComponents = %d;", resources.maxComputeUniformComponents);
 8938|      2|        s.append(builtInConstant);
 8939|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeTextureImageUnits = %d;", resources.maxComputeTextureImageUnits);
 8940|      2|        s.append(builtInConstant);
 8941|       |
 8942|       |        // GL_ARM_tensors operands.
 8943|      2|        snprintf(builtInConstant, maxSize, "const uint gl_TensorOperandsNonTemporalARM = 0x1U;");
 8944|      2|        s.append(builtInConstant);
 8945|      2|        snprintf(builtInConstant, maxSize, "const uint gl_TensorOperandsOutOfBoundsValueARM = 0x2U;");
 8946|      2|        s.append(builtInConstant);
 8947|       |
 8948|      2|        s.append("\n");
 8949|      2|    }
 8950|       |
 8951|       |    // images (some in compute below)
 8952|     36|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (8952:10): [True: 34, False: 2]
  |  Branch (8952:35): [True: 0, False: 34]
  ------------------
 8953|     36|        (profile != EEsProfile && version >= 130)) {
  ------------------
  |  Branch (8953:10): [True: 2, False: 34]
  |  Branch (8953:35): [True: 2, False: 0]
  ------------------
 8954|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxImageUnits = %d;", resources.maxImageUnits);
 8955|      2|        s.append(builtInConstant);
 8956|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedShaderOutputResources = %d;", resources.maxCombinedShaderOutputResources);
 8957|      2|        s.append(builtInConstant);
 8958|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxVertexImageUniforms = %d;", resources.maxVertexImageUniforms);
 8959|      2|        s.append(builtInConstant);
 8960|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentImageUniforms = %d;", resources.maxFragmentImageUniforms);
 8961|      2|        s.append(builtInConstant);
 8962|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedImageUniforms = %d;", resources.maxCombinedImageUniforms);
 8963|      2|        s.append(builtInConstant);
 8964|      2|    }
 8965|       |
 8966|       |    // compute
 8967|     36|    if ((profile == EEsProfile && version >= 310) || (profile != EEsProfile && version >= 420)) {
  ------------------
  |  Branch (8967:10): [True: 34, False: 2]
  |  Branch (8967:35): [True: 0, False: 34]
  |  Branch (8967:55): [True: 2, False: 34]
  |  Branch (8967:80): [True: 2, False: 0]
  ------------------
 8968|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeImageUniforms = %d;", resources.maxComputeImageUniforms);
 8969|      2|        s.append(builtInConstant);
 8970|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeAtomicCounters = %d;", resources.maxComputeAtomicCounters);
 8971|      2|        s.append(builtInConstant);
 8972|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeAtomicCounterBuffers = %d;", resources.maxComputeAtomicCounterBuffers);
 8973|      2|        s.append(builtInConstant);
 8974|       |
 8975|      2|        s.append("\n");
 8976|      2|    }
 8977|       |
 8978|       |    // atomic counters (some in compute below)
 8979|     36|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (8979:10): [True: 34, False: 2]
  |  Branch (8979:35): [True: 0, False: 34]
  ------------------
 8980|     36|        (profile != EEsProfile && version >= 420)) {
  ------------------
  |  Branch (8980:10): [True: 2, False: 34]
  |  Branch (8980:35): [True: 2, False: 0]
  ------------------
 8981|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxVertexAtomicCounters = %d;", resources.               maxVertexAtomicCounters);
 8982|      2|        s.append(builtInConstant);
 8983|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentAtomicCounters = %d;", resources.             maxFragmentAtomicCounters);
 8984|      2|        s.append(builtInConstant);
 8985|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedAtomicCounters = %d;", resources.             maxCombinedAtomicCounters);
 8986|      2|        s.append(builtInConstant);
 8987|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxAtomicCounterBindings = %d;", resources.              maxAtomicCounterBindings);
 8988|      2|        s.append(builtInConstant);
 8989|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxVertexAtomicCounterBuffers = %d;", resources.         maxVertexAtomicCounterBuffers);
 8990|      2|        s.append(builtInConstant);
 8991|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentAtomicCounterBuffers = %d;", resources.       maxFragmentAtomicCounterBuffers);
 8992|      2|        s.append(builtInConstant);
 8993|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedAtomicCounterBuffers = %d;", resources.       maxCombinedAtomicCounterBuffers);
 8994|      2|        s.append(builtInConstant);
 8995|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxAtomicCounterBufferSize = %d;", resources.            maxAtomicCounterBufferSize);
 8996|      2|        s.append(builtInConstant);
 8997|      2|    }
 8998|     36|    if (profile != EEsProfile && version >= 420) {
  ------------------
  |  Branch (8998:9): [True: 2, False: 34]
  |  Branch (8998:34): [True: 2, False: 0]
  ------------------
 8999|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounters = %d;", resources.          maxTessControlAtomicCounters);
 9000|      2|        s.append(builtInConstant);
 9001|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounters = %d;", resources.       maxTessEvaluationAtomicCounters);
 9002|      2|        s.append(builtInConstant);
 9003|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounters = %d;", resources.             maxGeometryAtomicCounters);
 9004|      2|        s.append(builtInConstant);
 9005|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounterBuffers = %d;", resources.    maxTessControlAtomicCounterBuffers);
 9006|      2|        s.append(builtInConstant);
 9007|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounterBuffers = %d;", resources. maxTessEvaluationAtomicCounterBuffers);
 9008|      2|        s.append(builtInConstant);
 9009|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounterBuffers = %d;", resources.       maxGeometryAtomicCounterBuffers);
 9010|      2|        s.append(builtInConstant);
 9011|       |
 9012|      2|        s.append("\n");
 9013|      2|    }
 9014|       |
 9015|       |    // GL_ARB_cull_distance
 9016|     36|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (9016:9): [True: 2, False: 34]
  |  Branch (9016:34): [True: 2, False: 0]
  ------------------
 9017|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxCullDistances = %d;",                resources.maxCullDistances);
 9018|      2|        s.append(builtInConstant);
 9019|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedClipAndCullDistances = %d;", resources.maxCombinedClipAndCullDistances);
 9020|      2|        s.append(builtInConstant);
 9021|      2|    }
 9022|       |
 9023|       |    // GL_ARB_ES3_1_compatibility
 9024|     36|    if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (9024:10): [True: 2, False: 34]
  |  Branch (9024:35): [True: 2, False: 0]
  ------------------
 9025|     34|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9025:10): [True: 34, False: 0]
  |  Branch (9025:35): [True: 0, False: 34]
  ------------------
 9026|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxSamples = %d;", resources.maxSamples);
 9027|      2|        s.append(builtInConstant);
 9028|      2|    }
 9029|       |
 9030|       |    // SPV_NV_mesh_shader
 9031|     36|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (9031:10): [True: 2, False: 34]
  |  Branch (9031:35): [True: 2, False: 0]
  |  Branch (9031:55): [True: 34, False: 0]
  |  Branch (9031:80): [True: 0, False: 34]
  ------------------
 9032|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxMeshOutputVerticesNV = %d;", resources.maxMeshOutputVerticesNV);
 9033|      2|        s.append(builtInConstant);
 9034|       |
 9035|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxMeshOutputPrimitivesNV = %d;", resources.maxMeshOutputPrimitivesNV);
 9036|      2|        s.append(builtInConstant);
 9037|       |
 9038|      2|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxMeshWorkGroupSizeNV = ivec3(%d,%d,%d);", resources.maxMeshWorkGroupSizeX_NV,
 9039|      2|                                                                                                       resources.maxMeshWorkGroupSizeY_NV,
 9040|      2|                                                                                                       resources.maxMeshWorkGroupSizeZ_NV);
 9041|      2|        s.append(builtInConstant);
 9042|      2|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxTaskWorkGroupSizeNV = ivec3(%d,%d,%d);", resources.maxTaskWorkGroupSizeX_NV,
 9043|      2|                                                                                                       resources.maxTaskWorkGroupSizeY_NV,
 9044|      2|                                                                                                       resources.maxTaskWorkGroupSizeZ_NV);
 9045|      2|        s.append(builtInConstant);
 9046|       |
 9047|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxMeshViewCountNV = %d;", resources.maxMeshViewCountNV);
 9048|      2|        s.append(builtInConstant);
 9049|       |
 9050|      2|        s.append("\n");
 9051|      2|    }
 9052|       |
 9053|     36|    s.append("\n");
 9054|     36|}
_ZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableE:
 9153|     96|{
 9154|       |    //
 9155|       |    // Tag built-in variables and functions with additional qualifier and extension information
 9156|       |    // that cannot be declared with the text strings.
 9157|       |    //
 9158|       |
 9159|       |    // N.B.: a symbol should only be tagged once, and this function is called multiple times, once
 9160|       |    // per stage that's used for this profile.  So
 9161|       |    //  - generally, stick common ones in the fragment stage to ensure they are tagged exactly once
 9162|       |    //  - for ES, which has different precisions for different stages, the coarsest-grained tagging
 9163|       |    //    for a built-in used in many stages needs to be once for the fragment stage and once for
 9164|       |    //    the vertex stage
 9165|       |
 9166|     96|    switch(language) {
 9167|     36|    case EShLangVertex:
  ------------------
  |  Branch (9167:5): [True: 36, False: 60]
  ------------------
 9168|     36|        if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (9168:13): [True: 0, False: 36]
  ------------------
 9169|      0|            BuiltInVariable("gl_VertexIndex",   EbvVertexIndex,   symbolTable);
 9170|      0|            BuiltInVariable("gl_InstanceIndex", EbvInstanceIndex, symbolTable);
 9171|      0|        }
 9172|       |
 9173|     36|        if (spvVersion.vulkan == 0) {
  ------------------
  |  Branch (9173:13): [True: 36, False: 0]
  ------------------
 9174|     36|            SpecialQualifier("gl_VertexID",   EvqVertexId,   EbvVertexId,   symbolTable);
 9175|     36|            SpecialQualifier("gl_InstanceID", EvqInstanceId, EbvInstanceId, symbolTable);
 9176|     36|            if (version < 140)
  ------------------
  |  Branch (9176:17): [True: 34, False: 2]
  ------------------
 9177|     34|                symbolTable.setVariableExtensions("gl_InstanceID", 1, &E_GL_EXT_draw_instanced);
 9178|     36|        }
 9179|       |
 9180|     36|        if (spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (9180:13): [True: 0, False: 36]
  |  Branch (9180:38): [True: 0, False: 0]
  ------------------
 9181|       |            // treat these built-ins as aliases of VertexIndex and InstanceIndex
 9182|      0|            RetargetVariable("gl_InstanceID", "gl_InstanceIndex", symbolTable);
 9183|      0|            RetargetVariable("gl_VertexID", "gl_VertexIndex", symbolTable);
 9184|      0|        }
 9185|       |
 9186|     36|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9186:13): [True: 2, False: 34]
  ------------------
 9187|      2|            if (version >= 440) {
  ------------------
  |  Branch (9187:17): [True: 2, False: 0]
  ------------------
 9188|      2|                symbolTable.setVariableExtensions("gl_BaseVertexARB",   1, &E_GL_ARB_shader_draw_parameters);
 9189|      2|                symbolTable.setVariableExtensions("gl_BaseInstanceARB", 1, &E_GL_ARB_shader_draw_parameters);
 9190|      2|                symbolTable.setVariableExtensions("gl_DrawIDARB",       1, &E_GL_ARB_shader_draw_parameters);
 9191|      2|                BuiltInVariable("gl_BaseVertexARB",   EbvBaseVertex,   symbolTable);
 9192|      2|                BuiltInVariable("gl_BaseInstanceARB", EbvBaseInstance, symbolTable);
 9193|      2|                BuiltInVariable("gl_DrawIDARB",       EbvDrawId,       symbolTable);
 9194|      2|            }
 9195|      2|            if (version >= 460) {
  ------------------
  |  Branch (9195:17): [True: 0, False: 2]
  ------------------
 9196|      0|                BuiltInVariable("gl_BaseVertex",   EbvBaseVertex,   symbolTable);
 9197|      0|                BuiltInVariable("gl_BaseInstance", EbvBaseInstance, symbolTable);
 9198|      0|                BuiltInVariable("gl_DrawID",       EbvDrawId,       symbolTable);
 9199|      0|            }
 9200|      2|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
 9201|      2|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
 9202|      2|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
 9203|      2|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9204|      2|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9205|      2|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9206|      2|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9207|       |
 9208|      2|            symbolTable.setFunctionExtensions("ballotARB",              1, &E_GL_ARB_shader_ballot);
 9209|      2|            symbolTable.setFunctionExtensions("readInvocationARB",      1, &E_GL_ARB_shader_ballot);
 9210|      2|            symbolTable.setFunctionExtensions("readFirstInvocationARB", 1, &E_GL_ARB_shader_ballot);
 9211|       |
 9212|      2|            if (version >= 430) {
  ------------------
  |  Branch (9212:17): [True: 2, False: 0]
  ------------------
 9213|      2|                symbolTable.setFunctionExtensions("anyInvocationARB",       1, &E_GL_ARB_shader_group_vote);
 9214|      2|                symbolTable.setFunctionExtensions("allInvocationsARB",      1, &E_GL_ARB_shader_group_vote);
 9215|      2|                symbolTable.setFunctionExtensions("allInvocationsEqualARB", 1, &E_GL_ARB_shader_group_vote);
 9216|      2|            }
 9217|      2|            if (version >= 150) {
  ------------------
  |  Branch (9217:17): [True: 2, False: 0]
  ------------------
 9218|      2|                symbolTable.setFunctionExtensions("anyThreadNV",       1, &E_GL_NV_gpu_shader5);
 9219|      2|                symbolTable.setFunctionExtensions("allThreadsNV",      1, &E_GL_NV_gpu_shader5);
 9220|      2|                symbolTable.setFunctionExtensions("allThreadsEqualNV", 1, &E_GL_NV_gpu_shader5);
 9221|      2|            }
 9222|      2|        }
 9223|       |
 9224|       |
 9225|     36|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9225:13): [True: 2, False: 34]
  ------------------
 9226|      2|            symbolTable.setFunctionExtensions("minInvocationsAMD",                1, &E_GL_AMD_shader_ballot);
 9227|      2|            symbolTable.setFunctionExtensions("maxInvocationsAMD",                1, &E_GL_AMD_shader_ballot);
 9228|      2|            symbolTable.setFunctionExtensions("addInvocationsAMD",                1, &E_GL_AMD_shader_ballot);
 9229|      2|            symbolTable.setFunctionExtensions("minInvocationsNonUniformAMD",      1, &E_GL_AMD_shader_ballot);
 9230|      2|            symbolTable.setFunctionExtensions("maxInvocationsNonUniformAMD",      1, &E_GL_AMD_shader_ballot);
 9231|      2|            symbolTable.setFunctionExtensions("addInvocationsNonUniformAMD",      1, &E_GL_AMD_shader_ballot);
 9232|      2|            symbolTable.setFunctionExtensions("swizzleInvocationsAMD",            1, &E_GL_AMD_shader_ballot);
 9233|      2|            symbolTable.setFunctionExtensions("swizzleInvocationsWithPatternAMD", 1, &E_GL_AMD_shader_ballot);
 9234|      2|            symbolTable.setFunctionExtensions("writeInvocationAMD",               1, &E_GL_AMD_shader_ballot);
 9235|      2|            symbolTable.setFunctionExtensions("mbcntAMD",                         1, &E_GL_AMD_shader_ballot);
 9236|       |
 9237|      2|            symbolTable.setFunctionExtensions("minInvocationsInclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9238|      2|            symbolTable.setFunctionExtensions("maxInvocationsInclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9239|      2|            symbolTable.setFunctionExtensions("addInvocationsInclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9240|      2|            symbolTable.setFunctionExtensions("minInvocationsInclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9241|      2|            symbolTable.setFunctionExtensions("maxInvocationsInclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9242|      2|            symbolTable.setFunctionExtensions("addInvocationsInclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9243|      2|            symbolTable.setFunctionExtensions("minInvocationsExclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9244|      2|            symbolTable.setFunctionExtensions("maxInvocationsExclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9245|      2|            symbolTable.setFunctionExtensions("addInvocationsExclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9246|      2|            symbolTable.setFunctionExtensions("minInvocationsExclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9247|      2|            symbolTable.setFunctionExtensions("maxInvocationsExclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9248|      2|            symbolTable.setFunctionExtensions("addInvocationsExclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9249|      2|        }
 9250|       |
 9251|     36|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9251:13): [True: 2, False: 34]
  ------------------
 9252|      2|            symbolTable.setFunctionExtensions("min3", 1, &E_GL_AMD_shader_trinary_minmax);
 9253|      2|            symbolTable.setFunctionExtensions("max3", 1, &E_GL_AMD_shader_trinary_minmax);
 9254|      2|            symbolTable.setFunctionExtensions("mid3", 1, &E_GL_AMD_shader_trinary_minmax);
 9255|      2|        }
 9256|       |
 9257|     36|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9257:13): [True: 2, False: 34]
  ------------------
 9258|      2|            symbolTable.setVariableExtensions("gl_SIMDGroupSizeAMD", 1, &E_GL_AMD_gcn_shader);
 9259|      2|            SpecialQualifier("gl_SIMDGroupSizeAMD", EvqVaryingIn, EbvSubGroupSize, symbolTable);
 9260|       |
 9261|      2|            symbolTable.setFunctionExtensions("cubeFaceIndexAMD", 1, &E_GL_AMD_gcn_shader);
 9262|      2|            symbolTable.setFunctionExtensions("cubeFaceCoordAMD", 1, &E_GL_AMD_gcn_shader);
 9263|      2|            symbolTable.setFunctionExtensions("timeAMD",          1, &E_GL_AMD_gcn_shader);
 9264|      2|        }
 9265|       |
 9266|     36|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9266:13): [True: 2, False: 34]
  ------------------
 9267|      2|            symbolTable.setFunctionExtensions("fragmentMaskFetchAMD", 1, &E_GL_AMD_shader_fragment_mask);
 9268|      2|            symbolTable.setFunctionExtensions("fragmentFetchAMD",     1, &E_GL_AMD_shader_fragment_mask);
 9269|      2|        }
 9270|       |
 9271|     36|        symbolTable.setFunctionExtensions("countLeadingZeros",  1, &E_GL_INTEL_shader_integer_functions2);
 9272|     36|        symbolTable.setFunctionExtensions("countTrailingZeros", 1, &E_GL_INTEL_shader_integer_functions2);
 9273|     36|        symbolTable.setFunctionExtensions("absoluteDifference", 1, &E_GL_INTEL_shader_integer_functions2);
 9274|     36|        symbolTable.setFunctionExtensions("addSaturate",        1, &E_GL_INTEL_shader_integer_functions2);
 9275|     36|        symbolTable.setFunctionExtensions("subtractSaturate",   1, &E_GL_INTEL_shader_integer_functions2);
 9276|     36|        symbolTable.setFunctionExtensions("average",            1, &E_GL_INTEL_shader_integer_functions2);
 9277|     36|        symbolTable.setFunctionExtensions("averageRounded",     1, &E_GL_INTEL_shader_integer_functions2);
 9278|     36|        symbolTable.setFunctionExtensions("multiply32x16",      1, &E_GL_INTEL_shader_integer_functions2);
 9279|       |
 9280|     36|        symbolTable.setFunctionExtensions("textureFootprintNV",          1, &E_GL_NV_shader_texture_footprint);
 9281|     36|        symbolTable.setFunctionExtensions("textureFootprintClampNV",     1, &E_GL_NV_shader_texture_footprint);
 9282|     36|        symbolTable.setFunctionExtensions("textureFootprintLodNV",       1, &E_GL_NV_shader_texture_footprint);
 9283|     36|        symbolTable.setFunctionExtensions("textureFootprintGradNV",      1, &E_GL_NV_shader_texture_footprint);
 9284|     36|        symbolTable.setFunctionExtensions("textureFootprintGradClampNV", 1, &E_GL_NV_shader_texture_footprint);
 9285|       |        // Compatibility variables, vertex only
 9286|     36|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9286:13): [True: 36, False: 0]
  ------------------
 9287|     36|            BuiltInVariable("gl_Color",          EbvColor,          symbolTable);
 9288|     36|            BuiltInVariable("gl_SecondaryColor", EbvSecondaryColor, symbolTable);
 9289|     36|            BuiltInVariable("gl_Normal",         EbvNormal,         symbolTable);
 9290|     36|            BuiltInVariable("gl_Vertex",         EbvVertex,         symbolTable);
 9291|     36|            BuiltInVariable("gl_MultiTexCoord0", EbvMultiTexCoord0, symbolTable);
 9292|     36|            BuiltInVariable("gl_MultiTexCoord1", EbvMultiTexCoord1, symbolTable);
 9293|     36|            BuiltInVariable("gl_MultiTexCoord2", EbvMultiTexCoord2, symbolTable);
 9294|     36|            BuiltInVariable("gl_MultiTexCoord3", EbvMultiTexCoord3, symbolTable);
 9295|     36|            BuiltInVariable("gl_MultiTexCoord4", EbvMultiTexCoord4, symbolTable);
 9296|     36|            BuiltInVariable("gl_MultiTexCoord5", EbvMultiTexCoord5, symbolTable);
 9297|     36|            BuiltInVariable("gl_MultiTexCoord6", EbvMultiTexCoord6, symbolTable);
 9298|     36|            BuiltInVariable("gl_MultiTexCoord7", EbvMultiTexCoord7, symbolTable);
 9299|     36|            BuiltInVariable("gl_FogCoord",       EbvFogFragCoord,   symbolTable);
 9300|     36|        }
 9301|       |
 9302|     36|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9302:13): [True: 34, False: 2]
  ------------------
 9303|     34|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9303:17): [True: 34, False: 0]
  ------------------
 9304|     34|                symbolTable.setFunctionExtensions("texture2DGradEXT",     1, &E_GL_EXT_shader_texture_lod);
 9305|     34|                symbolTable.setFunctionExtensions("texture2DProjGradEXT", 1, &E_GL_EXT_shader_texture_lod);
 9306|     34|                symbolTable.setFunctionExtensions("textureCubeGradEXT",   1, &E_GL_EXT_shader_texture_lod);
 9307|     34|                if (version == 310)
  ------------------
  |  Branch (9307:21): [True: 0, False: 34]
  ------------------
 9308|      0|                    symbolTable.setFunctionExtensions("textureGatherOffsets", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9309|     34|            }
 9310|     34|            if (version == 310) {
  ------------------
  |  Branch (9310:17): [True: 0, False: 34]
  ------------------
 9311|      0|                symbolTable.setFunctionExtensions("fma", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9312|     34|            } else if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (9312:24): [True: 0, False: 34]
  |  Branch (9312:49): [True: 0, False: 0]
  ------------------
 9313|      0|                symbolTable.setFunctionExtensions("fma", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9314|      0|            }
 9315|     34|        }
 9316|       |
 9317|     36|        if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9317:13): [True: 34, False: 2]
  |  Branch (9317:38): [True: 34, False: 0]
  ------------------
 9318|     34|            symbolTable.setFunctionExtensions("imageAtomicAdd",      1, &E_GL_OES_shader_image_atomic);
 9319|     34|            symbolTable.setFunctionExtensions("imageAtomicMin",      1, &E_GL_OES_shader_image_atomic);
 9320|     34|            symbolTable.setFunctionExtensions("imageAtomicMax",      1, &E_GL_OES_shader_image_atomic);
 9321|     34|            symbolTable.setFunctionExtensions("imageAtomicAnd",      1, &E_GL_OES_shader_image_atomic);
 9322|     34|            symbolTable.setFunctionExtensions("imageAtomicOr",       1, &E_GL_OES_shader_image_atomic);
 9323|     34|            symbolTable.setFunctionExtensions("imageAtomicXor",      1, &E_GL_OES_shader_image_atomic);
 9324|     34|            symbolTable.setFunctionExtensions("imageAtomicExchange", 1, &E_GL_OES_shader_image_atomic);
 9325|     34|            symbolTable.setFunctionExtensions("imageAtomicCompSwap", 1, &E_GL_OES_shader_image_atomic);
 9326|     34|        }
 9327|       |
 9328|     36|        if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (9328:13): [True: 2, False: 34]
  ------------------
 9329|      2|            symbolTable.setVariableExtensions("gl_ViewID_OVR", Num_OVR_multiview_EXTs, OVR_multiview_EXTs);
 9330|      2|            BuiltInVariable("gl_ViewID_OVR", EbvViewIndex, symbolTable);
 9331|      2|        }
 9332|       |
 9333|     36|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9333:13): [True: 34, False: 2]
  ------------------
 9334|     34|            symbolTable.setFunctionExtensions("shadow2DEXT",        1, &E_GL_EXT_shadow_samplers);
 9335|     34|            symbolTable.setFunctionExtensions("shadow2DProjEXT",    1, &E_GL_EXT_shadow_samplers);
 9336|     34|        }
 9337|       |
 9338|       |        // E_GL_EXT_texture_array
 9339|     36|        if (profile != EEsProfile && spvVersion.spv == 0) {
  ------------------
  |  Branch (9339:13): [True: 2, False: 34]
  |  Branch (9339:38): [True: 2, False: 0]
  ------------------
 9340|      2|            symbolTable.setFunctionExtensions("texture1DArray", 1, &E_GL_EXT_texture_array);
 9341|      2|            symbolTable.setFunctionExtensions("texture2DArray", 1, &E_GL_EXT_texture_array);
 9342|      2|            symbolTable.setFunctionExtensions("shadow1DArray", 1, &E_GL_EXT_texture_array);
 9343|      2|            symbolTable.setFunctionExtensions("shadow2DArray", 1, &E_GL_EXT_texture_array);
 9344|       |
 9345|      2|            symbolTable.setFunctionExtensions("texture1DArrayLod", 1, &E_GL_EXT_texture_array);
 9346|      2|            symbolTable.setFunctionExtensions("texture2DArrayLod", 1, &E_GL_EXT_texture_array);
 9347|      2|            symbolTable.setFunctionExtensions("shadow1DArrayLod", 1, &E_GL_EXT_texture_array);
 9348|      2|        }
 9349|     36|        [[fallthrough]];
 9350|       |
 9351|     38|    case EShLangTessControl:
  ------------------
  |  Branch (9351:5): [True: 2, False: 94]
  ------------------
 9352|     38|        if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (9352:13): [True: 34, False: 4]
  |  Branch (9352:38): [True: 0, False: 34]
  ------------------
 9353|      0|            BuiltInVariable("gl_BoundingBoxEXT", EbvBoundingBox, symbolTable);
 9354|      0|            symbolTable.setVariableExtensions("gl_BoundingBoxEXT", 1,
 9355|      0|                                              &E_GL_EXT_primitive_bounding_box);
 9356|      0|            BuiltInVariable("gl_BoundingBoxOES", EbvBoundingBox, symbolTable);
 9357|      0|            symbolTable.setVariableExtensions("gl_BoundingBoxOES", 1,
 9358|      0|                                              &E_GL_OES_primitive_bounding_box);
 9359|       |
 9360|      0|            if (version >= 320) {
  ------------------
  |  Branch (9360:17): [True: 0, False: 0]
  ------------------
 9361|      0|                BuiltInVariable("gl_BoundingBox", EbvBoundingBox, symbolTable);
 9362|      0|            }
 9363|      0|        }
 9364|     38|        [[fallthrough]];
 9365|       |
 9366|     40|    case EShLangTessEvaluation:
  ------------------
  |  Branch (9366:5): [True: 2, False: 94]
  ------------------
 9367|     42|    case EShLangGeometry:
  ------------------
  |  Branch (9367:5): [True: 2, False: 94]
  ------------------
 9368|     42|        SpecialQualifier("gl_Position",   EvqPosition,   EbvPosition,   symbolTable);
 9369|     42|        SpecialQualifier("gl_PointSize",  EvqPointSize,  EbvPointSize,  symbolTable);
 9370|       |
 9371|     42|        BuiltInVariable("gl_in",  "gl_Position",     EbvPosition,     symbolTable);
 9372|     42|        BuiltInVariable("gl_in",  "gl_PointSize",    EbvPointSize,    symbolTable);
 9373|       |
 9374|     42|        BuiltInVariable("gl_out", "gl_Position",     EbvPosition,     symbolTable);
 9375|     42|        BuiltInVariable("gl_out", "gl_PointSize",    EbvPointSize,    symbolTable);
 9376|       |
 9377|     42|        SpecialQualifier("gl_ClipVertex", EvqClipVertex, EbvClipVertex, symbolTable);
 9378|       |
 9379|     42|        BuiltInVariable("gl_in",  "gl_ClipDistance", EbvClipDistance, symbolTable);
 9380|     42|        BuiltInVariable("gl_in",  "gl_CullDistance", EbvCullDistance, symbolTable);
 9381|       |
 9382|     42|        BuiltInVariable("gl_out", "gl_ClipDistance", EbvClipDistance, symbolTable);
 9383|     42|        BuiltInVariable("gl_out", "gl_CullDistance", EbvCullDistance, symbolTable);
 9384|       |
 9385|     42|        BuiltInVariable("gl_ClipDistance",    EbvClipDistance,   symbolTable);
 9386|     42|        BuiltInVariable("gl_CullDistance",    EbvCullDistance,   symbolTable);
 9387|     42|        BuiltInVariable("gl_PrimitiveIDIn",   EbvPrimitiveId,    symbolTable);
 9388|     42|        BuiltInVariable("gl_PrimitiveID",     EbvPrimitiveId,    symbolTable);
 9389|     42|        BuiltInVariable("gl_InvocationID",    EbvInvocationId,   symbolTable);
 9390|     42|        BuiltInVariable("gl_Layer",           EbvLayer,          symbolTable);
 9391|     42|        BuiltInVariable("gl_ViewportIndex",   EbvViewportIndex,  symbolTable);
 9392|       |
 9393|     42|        if (language != EShLangGeometry) {
  ------------------
  |  Branch (9393:13): [True: 40, False: 2]
  ------------------
 9394|     40|            symbolTable.setVariableExtensions("gl_Layer",         Num_viewportEXTs, viewportEXTs);
 9395|     40|            symbolTable.setVariableExtensions("gl_ViewportIndex", Num_viewportEXTs, viewportEXTs);
 9396|     40|        }
 9397|     42|        symbolTable.setVariableExtensions("gl_ViewportMask",            1, &E_GL_NV_viewport_array2);
 9398|     42|        symbolTable.setVariableExtensions("gl_SecondaryPositionNV",     1, &E_GL_NV_stereo_view_rendering);
 9399|     42|        symbolTable.setVariableExtensions("gl_SecondaryViewportMaskNV", 1, &E_GL_NV_stereo_view_rendering);
 9400|     42|        symbolTable.setVariableExtensions("gl_PositionPerViewNV",       1, &E_GL_NVX_multiview_per_view_attributes);
 9401|     42|        symbolTable.setVariableExtensions("gl_ViewportMaskPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
 9402|       |
 9403|     42|        if (profile != EEsProfile && language == EShLangGeometry && version < 400) {
  ------------------
  |  Branch (9403:13): [True: 8, False: 34]
  |  Branch (9403:38): [True: 2, False: 6]
  |  Branch (9403:69): [True: 0, False: 2]
  ------------------
 9404|      0|            symbolTable.setVariableExtensions("gl_InvocationID", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9405|      0|        }
 9406|     42|        BuiltInVariable("gl_ViewportMask",              EbvViewportMaskNV,          symbolTable);
 9407|     42|        BuiltInVariable("gl_SecondaryPositionNV",       EbvSecondaryPositionNV,     symbolTable);
 9408|     42|        BuiltInVariable("gl_SecondaryViewportMaskNV",   EbvSecondaryViewportMaskNV, symbolTable);
 9409|     42|        BuiltInVariable("gl_PositionPerViewNV",         EbvPositionPerViewNV,       symbolTable);
 9410|     42|        BuiltInVariable("gl_ViewportMaskPerViewNV",     EbvViewportMaskPerViewNV,   symbolTable);
 9411|       |
 9412|     42|        if (language == EShLangVertex || language == EShLangGeometry) {
  ------------------
  |  Branch (9412:13): [True: 36, False: 6]
  |  Branch (9412:42): [True: 2, False: 4]
  ------------------
 9413|     38|            symbolTable.setVariableExtensions("gl_in", "gl_SecondaryPositionNV", 1, &E_GL_NV_stereo_view_rendering);
 9414|     38|            symbolTable.setVariableExtensions("gl_in", "gl_PositionPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
 9415|       |
 9416|     38|            BuiltInVariable("gl_in", "gl_SecondaryPositionNV", EbvSecondaryPositionNV, symbolTable);
 9417|     38|            BuiltInVariable("gl_in", "gl_PositionPerViewNV",   EbvPositionPerViewNV,   symbolTable);
 9418|     38|        }
 9419|     42|        symbolTable.setVariableExtensions("gl_out", "gl_ViewportMask",            1, &E_GL_NV_viewport_array2);
 9420|     42|        symbolTable.setVariableExtensions("gl_out", "gl_SecondaryPositionNV",     1, &E_GL_NV_stereo_view_rendering);
 9421|     42|        symbolTable.setVariableExtensions("gl_out", "gl_SecondaryViewportMaskNV", 1, &E_GL_NV_stereo_view_rendering);
 9422|     42|        symbolTable.setVariableExtensions("gl_out", "gl_PositionPerViewNV",       1, &E_GL_NVX_multiview_per_view_attributes);
 9423|     42|        symbolTable.setVariableExtensions("gl_out", "gl_ViewportMaskPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
 9424|       |
 9425|     42|        BuiltInVariable("gl_out", "gl_ViewportMask",            EbvViewportMaskNV,          symbolTable);
 9426|     42|        BuiltInVariable("gl_out", "gl_SecondaryPositionNV",     EbvSecondaryPositionNV,     symbolTable);
 9427|     42|        BuiltInVariable("gl_out", "gl_SecondaryViewportMaskNV", EbvSecondaryViewportMaskNV, symbolTable);
 9428|     42|        BuiltInVariable("gl_out", "gl_PositionPerViewNV",       EbvPositionPerViewNV,       symbolTable);
 9429|     42|        BuiltInVariable("gl_out", "gl_ViewportMaskPerViewNV",   EbvViewportMaskPerViewNV,   symbolTable);
 9430|       |
 9431|     42|        BuiltInVariable("gl_PatchVerticesIn", EbvPatchVertices,  symbolTable);
 9432|     42|        BuiltInVariable("gl_TessLevelOuter",  EbvTessLevelOuter, symbolTable);
 9433|     42|        BuiltInVariable("gl_TessLevelInner",  EbvTessLevelInner, symbolTable);
 9434|     42|        BuiltInVariable("gl_TessCoord",       EbvTessCoord,      symbolTable);
 9435|       |
 9436|     42|        if (version < 410)
  ------------------
  |  Branch (9436:13): [True: 34, False: 8]
  ------------------
 9437|     34|            symbolTable.setVariableExtensions("gl_ViewportIndex", 1, &E_GL_ARB_viewport_array);
 9438|       |
 9439|       |        // Compatibility variables
 9440|       |
 9441|     42|        BuiltInVariable("gl_in", "gl_ClipVertex",          EbvClipVertex,          symbolTable);
 9442|     42|        BuiltInVariable("gl_in", "gl_FrontColor",          EbvFrontColor,          symbolTable);
 9443|     42|        BuiltInVariable("gl_in", "gl_BackColor",           EbvBackColor,           symbolTable);
 9444|     42|        BuiltInVariable("gl_in", "gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
 9445|     42|        BuiltInVariable("gl_in", "gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
 9446|     42|        BuiltInVariable("gl_in", "gl_TexCoord",            EbvTexCoord,            symbolTable);
 9447|     42|        BuiltInVariable("gl_in", "gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
 9448|       |
 9449|     42|        BuiltInVariable("gl_out", "gl_ClipVertex",          EbvClipVertex,          symbolTable);
 9450|     42|        BuiltInVariable("gl_out", "gl_FrontColor",          EbvFrontColor,          symbolTable);
 9451|     42|        BuiltInVariable("gl_out", "gl_BackColor",           EbvBackColor,           symbolTable);
 9452|     42|        BuiltInVariable("gl_out", "gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
 9453|     42|        BuiltInVariable("gl_out", "gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
 9454|     42|        BuiltInVariable("gl_out", "gl_TexCoord",            EbvTexCoord,            symbolTable);
 9455|     42|        BuiltInVariable("gl_out", "gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
 9456|       |
 9457|     42|        BuiltInVariable("gl_ClipVertex",          EbvClipVertex,          symbolTable);
 9458|     42|        BuiltInVariable("gl_FrontColor",          EbvFrontColor,          symbolTable);
 9459|     42|        BuiltInVariable("gl_BackColor",           EbvBackColor,           symbolTable);
 9460|     42|        BuiltInVariable("gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
 9461|     42|        BuiltInVariable("gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
 9462|     42|        BuiltInVariable("gl_TexCoord",            EbvTexCoord,            symbolTable);
 9463|     42|        BuiltInVariable("gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
 9464|       |
 9465|       |        // gl_PointSize, when it needs to be tied to an extension, is always a member of a block.
 9466|       |        // (Sometimes with an instance name, sometimes anonymous).
 9467|     42|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9467:13): [True: 34, False: 8]
  ------------------
 9468|     34|            if (language == EShLangGeometry) {
  ------------------
  |  Branch (9468:17): [True: 0, False: 34]
  ------------------
 9469|      0|                symbolTable.setVariableExtensions("gl_PointSize", Num_AEP_geometry_point_size, AEP_geometry_point_size);
 9470|      0|                symbolTable.setVariableExtensions("gl_in", "gl_PointSize", Num_AEP_geometry_point_size, AEP_geometry_point_size);
 9471|     34|            } else if (language == EShLangTessEvaluation || language == EShLangTessControl) {
  ------------------
  |  Branch (9471:24): [True: 0, False: 34]
  |  Branch (9471:61): [True: 0, False: 34]
  ------------------
 9472|       |                // gl_in tessellation settings of gl_PointSize are in the context-dependent paths
 9473|      0|                symbolTable.setVariableExtensions("gl_PointSize", Num_AEP_tessellation_point_size, AEP_tessellation_point_size);
 9474|      0|                symbolTable.setVariableExtensions("gl_out", "gl_PointSize", Num_AEP_tessellation_point_size, AEP_tessellation_point_size);
 9475|      0|            }
 9476|     34|        }
 9477|       |
 9478|     42|        if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (9478:14): [True: 8, False: 34]
  |  Branch (9478:39): [True: 8, False: 0]
  ------------------
 9479|     34|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9479:14): [True: 34, False: 0]
  |  Branch (9479:39): [True: 0, False: 34]
  ------------------
 9480|      8|            symbolTable.setVariableExtensions("gl_DeviceIndex",  1, &E_GL_EXT_device_group);
 9481|      8|            BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
 9482|      8|            symbolTable.setVariableExtensions("gl_ViewIndex", 1, &E_GL_EXT_multiview);
 9483|      8|            BuiltInVariable("gl_ViewIndex", EbvViewIndex, symbolTable);
 9484|      8|        }
 9485|       |
 9486|     42|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9486:13): [True: 8, False: 34]
  ------------------
 9487|      8|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
 9488|      8|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
 9489|      8|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
 9490|      8|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
 9491|      8|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
 9492|      8|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
 9493|       |
 9494|      8|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (9494:17): [True: 0, False: 8]
  ------------------
 9495|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
 9496|      0|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
 9497|      0|                if (language == EShLangFragment)
  ------------------
  |  Branch (9497:21): [True: 0, False: 0]
  ------------------
 9498|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
 9499|      0|            }
 9500|      8|            else
 9501|      8|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
 9502|      8|        }
 9503|       |
 9504|       |        // GL_ARB_gpu_shader5/GL_NV_gpu_shader5
 9505|     42|        if (profile != EEsProfile && version < 400 && language == EShLangGeometry) {
  ------------------
  |  Branch (9505:13): [True: 8, False: 34]
  |  Branch (9505:38): [True: 0, False: 8]
  |  Branch (9505:55): [True: 0, False: 0]
  ------------------
 9506|      0|            symbolTable.setFunctionExtensions("EmitStreamVertex", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9507|      0|            symbolTable.setFunctionExtensions("EndStreamPrimitive", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9508|      0|        }
 9509|       |        // GL_KHR_shader_subgroup
 9510|     42|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9510:14): [True: 34, False: 8]
  |  Branch (9510:39): [True: 0, False: 34]
  ------------------
 9511|     42|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (9511:14): [True: 8, False: 34]
  |  Branch (9511:39): [True: 8, False: 0]
  ------------------
 9512|      8|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
 9513|      8|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
 9514|      8|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9515|      8|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9516|      8|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9517|      8|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9518|      8|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9519|       |
 9520|      8|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
 9521|      8|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
 9522|      8|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
 9523|      8|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
 9524|      8|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
 9525|      8|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
 9526|      8|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
 9527|       |
 9528|       |            // GL_NV_shader_sm_builtins
 9529|      8|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
 9530|      8|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
 9531|      8|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
 9532|      8|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
 9533|      8|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
 9534|      8|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
 9535|      8|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
 9536|      8|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
 9537|       |
 9538|       |            // GL_ARM_shader_core_builtins
 9539|      8|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
 9540|      8|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
 9541|      8|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
 9542|      8|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
 9543|      8|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
 9544|       |
 9545|      8|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
 9546|      8|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
 9547|      8|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
 9548|      8|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
 9549|      8|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
 9550|      8|        }
 9551|       |
 9552|     42|        if (language == EShLangGeometry || language == EShLangVertex) {
  ------------------
  |  Branch (9552:13): [True: 2, False: 40]
  |  Branch (9552:44): [True: 36, False: 4]
  ------------------
 9553|     38|            if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9553:18): [True: 34, False: 4]
  |  Branch (9553:43): [True: 0, False: 34]
  ------------------
 9554|     38|                (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (9554:18): [True: 4, False: 34]
  |  Branch (9554:43): [True: 4, False: 0]
  ------------------
 9555|      4|                symbolTable.setVariableExtensions("gl_PrimitiveShadingRateEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9556|      4|                BuiltInVariable("gl_PrimitiveShadingRateEXT", EbvPrimitiveShadingRateKHR, symbolTable);
 9557|       |
 9558|      4|                symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9559|      4|                symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9560|      4|                symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9561|      4|                symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9562|      4|            }
 9563|     38|        }
 9564|     42|        break;
 9565|       |
 9566|     36|    case EShLangFragment:
  ------------------
  |  Branch (9566:5): [True: 36, False: 60]
  ------------------
 9567|     36|        SpecialQualifier("gl_FrontFacing",      EvqFace,       EbvFace,             symbolTable);
 9568|     36|        SpecialQualifier("gl_FragCoord",        EvqFragCoord,  EbvFragCoord,        symbolTable);
 9569|     36|        SpecialQualifier("gl_PointCoord",       EvqPointCoord, EbvPointCoord,       symbolTable);
 9570|     36|        if (spvVersion.spv == 0)
  ------------------
  |  Branch (9570:13): [True: 36, False: 0]
  ------------------
 9571|     36|            SpecialQualifier("gl_FragColor",    EvqFragColor,  EbvFragColor,        symbolTable);
 9572|      0|        else {
 9573|      0|            TSymbol* symbol = symbolTable.find("gl_FragColor");
 9574|      0|            if (symbol) {
  ------------------
  |  Branch (9574:17): [True: 0, False: 0]
  ------------------
 9575|      0|                symbol->getWritableType().getQualifier().storage = EvqVaryingOut;
 9576|      0|                symbol->getWritableType().getQualifier().layoutLocation = 0;
 9577|      0|            }
 9578|      0|        }
 9579|     36|        SpecialQualifier("gl_FragDepth",        EvqFragDepth,  EbvFragDepth,        symbolTable);
 9580|     36|        SpecialQualifier("gl_FragDepthEXT",     EvqFragDepth,  EbvFragDepth,        symbolTable);
 9581|     36|        SpecialQualifier("gl_FragStencilRefARB", EvqFragStencil, EbvFragStencilRef, symbolTable);
 9582|     36|        SpecialQualifier("gl_HelperInvocation", EvqVaryingIn,  EbvHelperInvocation, symbolTable);
 9583|       |
 9584|     36|        BuiltInVariable("gl_ClipDistance",    EbvClipDistance,   symbolTable);
 9585|     36|        BuiltInVariable("gl_CullDistance",    EbvCullDistance,   symbolTable);
 9586|     36|        BuiltInVariable("gl_PrimitiveID",     EbvPrimitiveId,    symbolTable);
 9587|       |
 9588|     36|        if (profile != EEsProfile && version >= 140) {
  ------------------
  |  Branch (9588:13): [True: 2, False: 34]
  |  Branch (9588:38): [True: 2, False: 0]
  ------------------
 9589|      2|            symbolTable.setVariableExtensions("gl_FragStencilRefARB", 1, &E_GL_ARB_shader_stencil_export);
 9590|      2|            BuiltInVariable("gl_FragStencilRefARB", EbvFragStencilRef, symbolTable);
 9591|      2|        }
 9592|       |
 9593|     36|        if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (9593:13): [True: 2, False: 34]
  |  Branch (9593:38): [True: 0, False: 2]
  ------------------
 9594|      0|            symbolTable.setFunctionExtensions("textureQueryLOD", 1, &E_GL_ARB_texture_query_lod);
 9595|      0|        }
 9596|       |
 9597|     36|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (9597:13): [True: 2, False: 34]
  |  Branch (9597:38): [True: 0, False: 2]
  ------------------
 9598|      0|            symbolTable.setFunctionExtensions("rayQueryInitializeEXT",                                            1, &E_GL_EXT_ray_query);
 9599|      0|            symbolTable.setFunctionExtensions("rayQueryTerminateEXT",                                             1, &E_GL_EXT_ray_query);
 9600|      0|            symbolTable.setFunctionExtensions("rayQueryGenerateIntersectionEXT",                                  1, &E_GL_EXT_ray_query);
 9601|      0|            symbolTable.setFunctionExtensions("rayQueryConfirmIntersectionEXT",                                   1, &E_GL_EXT_ray_query);
 9602|      0|            symbolTable.setFunctionExtensions("rayQueryProceedEXT",                                               1, &E_GL_EXT_ray_query);
 9603|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionTypeEXT",                                   1, &E_GL_EXT_ray_query);
 9604|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionTEXT",                                      1, &E_GL_EXT_ray_query);
 9605|      0|            symbolTable.setFunctionExtensions("rayQueryGetRayFlagsEXT",                                           1, &E_GL_EXT_ray_query);
 9606|      0|            symbolTable.setFunctionExtensions("rayQueryGetRayTMinEXT",                                            1, &E_GL_EXT_ray_query);
 9607|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionInstanceCustomIndexEXT",                    1, &E_GL_EXT_ray_query);
 9608|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionInstanceIdEXT",                             1, &E_GL_EXT_ray_query);
 9609|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetEXT", 1, &E_GL_EXT_ray_query);
 9610|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionGeometryIndexEXT",                          1, &E_GL_EXT_ray_query);
 9611|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionPrimitiveIndexEXT",                         1, &E_GL_EXT_ray_query);
 9612|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionBarycentricsEXT",                           1, &E_GL_EXT_ray_query);
 9613|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionFrontFaceEXT",                              1, &E_GL_EXT_ray_query);
 9614|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionCandidateAABBOpaqueEXT",                    1, &E_GL_EXT_ray_query);
 9615|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionObjectRayDirectionEXT",                     1, &E_GL_EXT_ray_query);
 9616|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionObjectRayOriginEXT",                        1, &E_GL_EXT_ray_query);
 9617|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionObjectToWorldEXT",                          1, &E_GL_EXT_ray_query);
 9618|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionWorldToObjectEXT",                          1, &E_GL_EXT_ray_query);
 9619|      0|            symbolTable.setFunctionExtensions("rayQueryGetWorldRayOriginEXT",                                     1, &E_GL_EXT_ray_query);
 9620|      0|            symbolTable.setFunctionExtensions("rayQueryGetWorldRayDirectionEXT",                                  1, &E_GL_EXT_ray_query);
 9621|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionTriangleVertexPositionsEXT",                1, &E_GL_EXT_ray_tracing_position_fetch);
 9622|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionClusterIdNV",                               1, &E_GL_NV_cluster_acceleration_structure);
 9623|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionSpherePositionNV",                          1, &E_GL_NV_linear_swept_spheres);
 9624|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionSphereRadiusNV",                            1, &E_GL_NV_linear_swept_spheres);
 9625|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionLSSHitValueNV",                             1, &E_GL_NV_linear_swept_spheres);
 9626|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionLSSPositionsNV",                            1, &E_GL_NV_linear_swept_spheres);
 9627|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionLSSRadiiNV",                                1, &E_GL_NV_linear_swept_spheres);
 9628|      0|            symbolTable.setFunctionExtensions("rayQueryIsSphereHitNV",                                            1, &E_GL_NV_linear_swept_spheres);
 9629|      0|            symbolTable.setFunctionExtensions("rayQueryIsLSSHitNV",                                               1, &E_GL_NV_linear_swept_spheres);
 9630|      0|            symbolTable.setVariableExtensions("gl_RayFlagsSkipAABBEXT",                         1, &E_GL_EXT_ray_flags_primitive_culling);
 9631|      0|            symbolTable.setVariableExtensions("gl_RayFlagsSkipTrianglesEXT",                    1, &E_GL_EXT_ray_flags_primitive_culling);
 9632|      0|            symbolTable.setVariableExtensions("gl_RayFlagsForceOpacityMicromap2StateEXT",                  1, &E_GL_EXT_opacity_micromap);
 9633|      0|            symbolTable.setVariableExtensions("gl_EnableOpacityMicromapEXT",                    1, &E_GL_EXT_opacity_micromap_ray_query_mode);
 9634|      0|        }
 9635|       |
 9636|     36|        if ((profile != EEsProfile && version >= 130) ||
  ------------------
  |  Branch (9636:14): [True: 2, False: 34]
  |  Branch (9636:39): [True: 2, False: 0]
  ------------------
 9637|     34|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9637:14): [True: 34, False: 0]
  |  Branch (9637:39): [True: 0, False: 34]
  ------------------
 9638|      2|            BuiltInVariable("gl_SampleID",           EbvSampleId,       symbolTable);
 9639|      2|            BuiltInVariable("gl_SamplePosition",     EbvSamplePosition, symbolTable);
 9640|      2|            BuiltInVariable("gl_SampleMask",         EbvSampleMask,     symbolTable);
 9641|       |
 9642|      2|            if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (9642:17): [True: 2, False: 0]
  |  Branch (9642:42): [True: 0, False: 2]
  ------------------
 9643|      0|                BuiltInVariable("gl_SampleMaskIn",    EbvSampleMask,     symbolTable);
 9644|      0|                symbolTable.setVariableExtensions("gl_SampleMaskIn", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9645|       |
 9646|      0|                BuiltInVariable("gl_NumSamples",     EbvSampleMask,     symbolTable);
 9647|       |
 9648|      0|                symbolTable.setVariableExtensions("gl_SampleMask",     1, &E_GL_ARB_sample_shading);
 9649|      0|                symbolTable.setVariableExtensions("gl_SampleID",       1, &E_GL_ARB_sample_shading);
 9650|      0|                symbolTable.setVariableExtensions("gl_SamplePosition", 1, &E_GL_ARB_sample_shading);
 9651|      0|                symbolTable.setVariableExtensions("gl_NumSamples",     1, &E_GL_ARB_sample_shading);
 9652|      2|            } else {
 9653|      2|                BuiltInVariable("gl_SampleMaskIn",    EbvSampleMask,     symbolTable);
 9654|       |
 9655|      2|                if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9655:21): [True: 0, False: 2]
  |  Branch (9655:46): [True: 0, False: 0]
  ------------------
 9656|      0|                    symbolTable.setVariableExtensions("gl_SampleID", 1, &E_GL_OES_sample_variables);
 9657|      0|                    symbolTable.setVariableExtensions("gl_SamplePosition", 1, &E_GL_OES_sample_variables);
 9658|      0|                    symbolTable.setVariableExtensions("gl_SampleMaskIn", 1, &E_GL_OES_sample_variables);
 9659|      0|                    symbolTable.setVariableExtensions("gl_SampleMask", 1, &E_GL_OES_sample_variables);
 9660|      0|                    symbolTable.setVariableExtensions("gl_NumSamples", 1, &E_GL_OES_sample_variables);
 9661|      0|                }
 9662|      2|            }
 9663|      2|        }
 9664|       |
 9665|     36|        BuiltInVariable("gl_Layer",           EbvLayer,          symbolTable);
 9666|     36|        BuiltInVariable("gl_ViewportIndex",   EbvViewportIndex,  symbolTable);
 9667|       |
 9668|       |        // Compatibility variables
 9669|       |
 9670|     36|        BuiltInVariable("gl_in", "gl_FogFragCoord",   EbvFogFragCoord,   symbolTable);
 9671|     36|        BuiltInVariable("gl_in", "gl_TexCoord",       EbvTexCoord,       symbolTable);
 9672|     36|        BuiltInVariable("gl_in", "gl_Color",          EbvColor,          symbolTable);
 9673|     36|        BuiltInVariable("gl_in", "gl_SecondaryColor", EbvSecondaryColor, symbolTable);
 9674|       |
 9675|     36|        BuiltInVariable("gl_FogFragCoord",   EbvFogFragCoord,   symbolTable);
 9676|     36|        BuiltInVariable("gl_TexCoord",       EbvTexCoord,       symbolTable);
 9677|     36|        BuiltInVariable("gl_Color",          EbvColor,          symbolTable);
 9678|     36|        BuiltInVariable("gl_SecondaryColor", EbvSecondaryColor, symbolTable);
 9679|       |
 9680|       |        // built-in functions
 9681|       |
 9682|     36|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9682:13): [True: 34, False: 2]
  ------------------
 9683|     34|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9683:17): [True: 34, False: 0]
  ------------------
 9684|     34|                symbolTable.setFunctionExtensions("texture2DLodEXT",      1, &E_GL_EXT_shader_texture_lod);
 9685|     34|                symbolTable.setFunctionExtensions("texture2DProjLodEXT",  1, &E_GL_EXT_shader_texture_lod);
 9686|     34|                symbolTable.setFunctionExtensions("textureCubeLodEXT",    1, &E_GL_EXT_shader_texture_lod);
 9687|     34|                symbolTable.setFunctionExtensions("texture2DGradEXT",     1, &E_GL_EXT_shader_texture_lod);
 9688|     34|                symbolTable.setFunctionExtensions("texture2DProjGradEXT", 1, &E_GL_EXT_shader_texture_lod);
 9689|     34|                symbolTable.setFunctionExtensions("textureCubeGradEXT",   1, &E_GL_EXT_shader_texture_lod);
 9690|     34|                if (version < 320)
  ------------------
  |  Branch (9690:21): [True: 34, False: 0]
  ------------------
 9691|     34|                    symbolTable.setFunctionExtensions("textureGatherOffsets", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9692|     34|            }
 9693|     34|            if (version == 100) {
  ------------------
  |  Branch (9693:17): [True: 34, False: 0]
  ------------------
 9694|     34|                symbolTable.setFunctionExtensions("dFdx",   1, &E_GL_OES_standard_derivatives);
 9695|     34|                symbolTable.setFunctionExtensions("dFdy",   1, &E_GL_OES_standard_derivatives);
 9696|     34|                symbolTable.setFunctionExtensions("fwidth", 1, &E_GL_OES_standard_derivatives);
 9697|     34|            }
 9698|     34|            if (version == 310) {
  ------------------
  |  Branch (9698:17): [True: 0, False: 34]
  ------------------
 9699|      0|                symbolTable.setFunctionExtensions("fma", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9700|      0|                symbolTable.setFunctionExtensions("interpolateAtCentroid", 1, &E_GL_OES_shader_multisample_interpolation);
 9701|      0|                symbolTable.setFunctionExtensions("interpolateAtSample",   1, &E_GL_OES_shader_multisample_interpolation);
 9702|      0|                symbolTable.setFunctionExtensions("interpolateAtOffset",   1, &E_GL_OES_shader_multisample_interpolation);
 9703|      0|            }
 9704|     34|        } else if (version < 130) {
  ------------------
  |  Branch (9704:20): [True: 0, False: 2]
  ------------------
 9705|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9705:17): [True: 0, False: 0]
  ------------------
 9706|      0|                symbolTable.setFunctionExtensions("texture1DLod",        1, &E_GL_ARB_shader_texture_lod);
 9707|      0|                symbolTable.setFunctionExtensions("texture2DLod",        1, &E_GL_ARB_shader_texture_lod);
 9708|      0|                symbolTable.setFunctionExtensions("texture3DLod",        1, &E_GL_ARB_shader_texture_lod);
 9709|      0|                symbolTable.setFunctionExtensions("textureCubeLod",      1, &E_GL_ARB_shader_texture_lod);
 9710|      0|                symbolTable.setFunctionExtensions("texture1DProjLod",    1, &E_GL_ARB_shader_texture_lod);
 9711|      0|                symbolTable.setFunctionExtensions("texture2DProjLod",    1, &E_GL_ARB_shader_texture_lod);
 9712|      0|                symbolTable.setFunctionExtensions("texture3DProjLod",    1, &E_GL_ARB_shader_texture_lod);
 9713|      0|                symbolTable.setFunctionExtensions("shadow1DLod",         1, &E_GL_ARB_shader_texture_lod);
 9714|      0|                symbolTable.setFunctionExtensions("shadow2DLod",         1, &E_GL_ARB_shader_texture_lod);
 9715|      0|                symbolTable.setFunctionExtensions("shadow1DProjLod",     1, &E_GL_ARB_shader_texture_lod);
 9716|      0|                symbolTable.setFunctionExtensions("shadow2DProjLod",     1, &E_GL_ARB_shader_texture_lod);
 9717|      0|            }
 9718|      0|        }
 9719|       |
 9720|       |        // E_GL_ARB_shader_texture_lod functions usable only with the extension enabled
 9721|     36|        if (profile != EEsProfile && spvVersion.spv == 0) {
  ------------------
  |  Branch (9721:13): [True: 2, False: 34]
  |  Branch (9721:38): [True: 2, False: 0]
  ------------------
 9722|      2|            symbolTable.setFunctionExtensions("texture1DGradARB",         1, &E_GL_ARB_shader_texture_lod);
 9723|      2|            symbolTable.setFunctionExtensions("texture1DProjGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9724|      2|            symbolTable.setFunctionExtensions("texture2DGradARB",         1, &E_GL_ARB_shader_texture_lod);
 9725|      2|            symbolTable.setFunctionExtensions("texture2DProjGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9726|      2|            symbolTable.setFunctionExtensions("texture3DGradARB",         1, &E_GL_ARB_shader_texture_lod);
 9727|      2|            symbolTable.setFunctionExtensions("texture3DProjGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9728|      2|            symbolTable.setFunctionExtensions("textureCubeGradARB",       1, &E_GL_ARB_shader_texture_lod);
 9729|      2|            symbolTable.setFunctionExtensions("shadow1DGradARB",          1, &E_GL_ARB_shader_texture_lod);
 9730|      2|            symbolTable.setFunctionExtensions("shadow1DProjGradARB",      1, &E_GL_ARB_shader_texture_lod);
 9731|      2|            symbolTable.setFunctionExtensions("shadow2DGradARB",          1, &E_GL_ARB_shader_texture_lod);
 9732|      2|            symbolTable.setFunctionExtensions("shadow2DProjGradARB",      1, &E_GL_ARB_shader_texture_lod);
 9733|      2|            symbolTable.setFunctionExtensions("texture2DRectGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9734|      2|            symbolTable.setFunctionExtensions("texture2DRectProjGradARB", 1, &E_GL_ARB_shader_texture_lod);
 9735|      2|            symbolTable.setFunctionExtensions("shadow2DRectGradARB",      1, &E_GL_ARB_shader_texture_lod);
 9736|      2|            symbolTable.setFunctionExtensions("shadow2DRectProjGradARB",  1, &E_GL_ARB_shader_texture_lod);
 9737|      2|        }
 9738|       |
 9739|       |        // E_GL_ARB_shader_image_load_store
 9740|     36|        if (profile != EEsProfile && version < 420)
  ------------------
  |  Branch (9740:13): [True: 2, False: 34]
  |  Branch (9740:38): [True: 0, False: 2]
  ------------------
 9741|      0|            symbolTable.setFunctionExtensions("memoryBarrier", 1, &E_GL_ARB_shader_image_load_store);
 9742|       |        // All the image access functions are protected by checks on the type of the first argument.
 9743|       |
 9744|       |        // E_GL_ARB_shader_atomic_counters
 9745|     36|        if (profile != EEsProfile && version < 420) {
  ------------------
  |  Branch (9745:13): [True: 2, False: 34]
  |  Branch (9745:38): [True: 0, False: 2]
  ------------------
 9746|      0|            symbolTable.setFunctionExtensions("atomicCounterIncrement", 1, &E_GL_ARB_shader_atomic_counters);
 9747|      0|            symbolTable.setFunctionExtensions("atomicCounterDecrement", 1, &E_GL_ARB_shader_atomic_counters);
 9748|      0|            symbolTable.setFunctionExtensions("atomicCounter"         , 1, &E_GL_ARB_shader_atomic_counters);
 9749|      0|        }
 9750|       |
 9751|       |        // E_GL_ARB_gpu_shader5/E_GL_NV_gpu_shader5 
 9752|     36|        if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (9752:13): [True: 2, False: 34]
  |  Branch (9752:38): [True: 0, False: 2]
  ------------------
 9753|      0|            symbolTable.setFunctionExtensions("bitfieldExtract", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9754|      0|            symbolTable.setFunctionExtensions("bitfieldInsert", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9755|      0|            symbolTable.setFunctionExtensions("bitfieldReverse", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9756|      0|            symbolTable.setFunctionExtensions("bitCount", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9757|      0|            symbolTable.setFunctionExtensions("findLSB", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9758|      0|            symbolTable.setFunctionExtensions("findMSB", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9759|      0|            symbolTable.setFunctionExtensions("uaddCarry", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9760|      0|            symbolTable.setFunctionExtensions("usubBorrow", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9761|      0|            symbolTable.setFunctionExtensions("umulExtended", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9762|      0|            symbolTable.setFunctionExtensions("imulExtended", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9763|      0|            symbolTable.setFunctionExtensions("interpolateAtCentroid", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9764|      0|            symbolTable.setFunctionExtensions("interpolateAtSample", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9765|      0|            symbolTable.setFunctionExtensions("interpolateAtOffset", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9766|      0|        }
 9767|       |
 9768|       |        // E_GL_NV_gpu_shader5
 9769|     36|        if (profile != EEsProfile && version < 450) {
  ------------------
  |  Branch (9769:13): [True: 2, False: 34]
  |  Branch (9769:38): [True: 0, False: 2]
  ------------------
 9770|      0|            symbolTable.setFunctionExtensions("packInt2x32",     1, &E_GL_NV_gpu_shader5);
 9771|      0|            symbolTable.setFunctionExtensions("packUint2x32",     1, &E_GL_NV_gpu_shader5);
 9772|      0|            symbolTable.setFunctionExtensions("unpackInt2x32",     1, &E_GL_NV_gpu_shader5);
 9773|      0|            symbolTable.setFunctionExtensions("unpackUint2x32",     1, &E_GL_NV_gpu_shader5);
 9774|      0|            symbolTable.setFunctionExtensions("packFloat2x16",     1, &E_GL_NV_gpu_shader5);
 9775|      0|            symbolTable.setFunctionExtensions("unpackFloat2x16",     1, &E_GL_NV_gpu_shader5);
 9776|      0|            symbolTable.setFunctionExtensions("doubleBitsToInt64",     1, &E_GL_NV_gpu_shader5);
 9777|      0|            symbolTable.setFunctionExtensions("doubleBitsToUint64",     1, &E_GL_NV_gpu_shader5);
 9778|      0|            symbolTable.setFunctionExtensions("int64BitsToDouble",     1, &E_GL_NV_gpu_shader5);
 9779|      0|            symbolTable.setFunctionExtensions("uint64BitsToDouble",     1, &E_GL_NV_gpu_shader5);
 9780|      0|        }
 9781|       |
 9782|       |        // E_GL_ARB_shader_atomic_counter_ops
 9783|     36|        if (profile != EEsProfile && version == 450) {
  ------------------
  |  Branch (9783:13): [True: 2, False: 34]
  |  Branch (9783:38): [True: 2, False: 0]
  ------------------
 9784|      2|            symbolTable.setFunctionExtensions("atomicCounterAddARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9785|      2|            symbolTable.setFunctionExtensions("atomicCounterSubtractARB", 1, &E_GL_ARB_shader_atomic_counter_ops);
 9786|      2|            symbolTable.setFunctionExtensions("atomicCounterMinARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9787|      2|            symbolTable.setFunctionExtensions("atomicCounterMaxARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9788|      2|            symbolTable.setFunctionExtensions("atomicCounterAndARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9789|      2|            symbolTable.setFunctionExtensions("atomicCounterOrARB"      , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9790|      2|            symbolTable.setFunctionExtensions("atomicCounterXorARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9791|      2|            symbolTable.setFunctionExtensions("atomicCounterExchangeARB", 1, &E_GL_ARB_shader_atomic_counter_ops);
 9792|      2|            symbolTable.setFunctionExtensions("atomicCounterCompSwapARB", 1, &E_GL_ARB_shader_atomic_counter_ops);
 9793|      2|        }
 9794|       |
 9795|       |        // E_GL_ARB_derivative_control
 9796|     36|        if (profile != EEsProfile && version < 450) {
  ------------------
  |  Branch (9796:13): [True: 2, False: 34]
  |  Branch (9796:38): [True: 0, False: 2]
  ------------------
 9797|      0|            symbolTable.setFunctionExtensions("dFdxFine",     1, &E_GL_ARB_derivative_control);
 9798|      0|            symbolTable.setFunctionExtensions("dFdyFine",     1, &E_GL_ARB_derivative_control);
 9799|      0|            symbolTable.setFunctionExtensions("fwidthFine",   1, &E_GL_ARB_derivative_control);
 9800|      0|            symbolTable.setFunctionExtensions("dFdxCoarse",   1, &E_GL_ARB_derivative_control);
 9801|      0|            symbolTable.setFunctionExtensions("dFdyCoarse",   1, &E_GL_ARB_derivative_control);
 9802|      0|            symbolTable.setFunctionExtensions("fwidthCoarse", 1, &E_GL_ARB_derivative_control);
 9803|      0|        }
 9804|       |
 9805|       |        // E_GL_ARB_sparse_texture2
 9806|     36|        if (profile != EEsProfile)
  ------------------
  |  Branch (9806:13): [True: 2, False: 34]
  ------------------
 9807|      2|        {
 9808|      2|            symbolTable.setFunctionExtensions("sparseTextureARB",              1, &E_GL_ARB_sparse_texture2);
 9809|      2|            symbolTable.setFunctionExtensions("sparseTextureLodARB",           1, &E_GL_ARB_sparse_texture2);
 9810|      2|            symbolTable.setFunctionExtensions("sparseTextureOffsetARB",        1, &E_GL_ARB_sparse_texture2);
 9811|      2|            symbolTable.setFunctionExtensions("sparseTexelFetchARB",           1, &E_GL_ARB_sparse_texture2);
 9812|      2|            symbolTable.setFunctionExtensions("sparseTexelFetchOffsetARB",     1, &E_GL_ARB_sparse_texture2);
 9813|      2|            symbolTable.setFunctionExtensions("sparseTextureLodOffsetARB",     1, &E_GL_ARB_sparse_texture2);
 9814|      2|            symbolTable.setFunctionExtensions("sparseTextureGradARB",          1, &E_GL_ARB_sparse_texture2);
 9815|      2|            symbolTable.setFunctionExtensions("sparseTextureGradOffsetARB",    1, &E_GL_ARB_sparse_texture2);
 9816|      2|            symbolTable.setFunctionExtensions("sparseTextureGatherARB",        1, &E_GL_ARB_sparse_texture2);
 9817|      2|            symbolTable.setFunctionExtensions("sparseTextureGatherOffsetARB",  1, &E_GL_ARB_sparse_texture2);
 9818|      2|            symbolTable.setFunctionExtensions("sparseTextureGatherOffsetsARB", 1, &E_GL_ARB_sparse_texture2);
 9819|      2|            symbolTable.setFunctionExtensions("sparseImageLoadARB",            1, &E_GL_ARB_sparse_texture2);
 9820|      2|            symbolTable.setFunctionExtensions("sparseTexelsResident",          1, &E_GL_ARB_sparse_texture2);
 9821|      2|        }
 9822|       |
 9823|       |        // E_GL_ARB_sparse_texture_clamp
 9824|     36|        if (profile != EEsProfile)
  ------------------
  |  Branch (9824:13): [True: 2, False: 34]
  ------------------
 9825|      2|        {
 9826|      2|            symbolTable.setFunctionExtensions("sparseTextureClampARB",              1, &E_GL_ARB_sparse_texture_clamp);
 9827|      2|            symbolTable.setFunctionExtensions("sparseTextureOffsetClampARB",        1, &E_GL_ARB_sparse_texture_clamp);
 9828|      2|            symbolTable.setFunctionExtensions("sparseTextureGradClampARB",          1, &E_GL_ARB_sparse_texture_clamp);
 9829|      2|            symbolTable.setFunctionExtensions("sparseTextureGradOffsetClampARB",    1, &E_GL_ARB_sparse_texture_clamp);
 9830|      2|            symbolTable.setFunctionExtensions("textureClampARB",                    1, &E_GL_ARB_sparse_texture_clamp);
 9831|      2|            symbolTable.setFunctionExtensions("textureOffsetClampARB",              1, &E_GL_ARB_sparse_texture_clamp);
 9832|      2|            symbolTable.setFunctionExtensions("textureGradClampARB",                1, &E_GL_ARB_sparse_texture_clamp);
 9833|      2|            symbolTable.setFunctionExtensions("textureGradOffsetClampARB",          1, &E_GL_ARB_sparse_texture_clamp);
 9834|      2|        }
 9835|       |
 9836|       |        // E_GL_AMD_shader_explicit_vertex_parameter
 9837|     36|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9837:13): [True: 2, False: 34]
  ------------------
 9838|      2|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspAMD",         1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9839|      2|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspCentroidAMD", 1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9840|      2|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspSampleAMD",   1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9841|      2|            symbolTable.setVariableExtensions("gl_BaryCoordSmoothAMD",          1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9842|      2|            symbolTable.setVariableExtensions("gl_BaryCoordSmoothCentroidAMD",  1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9843|      2|            symbolTable.setVariableExtensions("gl_BaryCoordSmoothSampleAMD",    1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9844|      2|            symbolTable.setVariableExtensions("gl_BaryCoordPullModelAMD",       1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9845|       |
 9846|      2|            symbolTable.setFunctionExtensions("interpolateAtVertexAMD",         1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9847|       |
 9848|      2|            BuiltInVariable("gl_BaryCoordNoPerspAMD",           EbvBaryCoordNoPersp,         symbolTable);
 9849|      2|            BuiltInVariable("gl_BaryCoordNoPerspCentroidAMD",   EbvBaryCoordNoPerspCentroid, symbolTable);
 9850|      2|            BuiltInVariable("gl_BaryCoordNoPerspSampleAMD",     EbvBaryCoordNoPerspSample,   symbolTable);
 9851|      2|            BuiltInVariable("gl_BaryCoordSmoothAMD",            EbvBaryCoordSmooth,          symbolTable);
 9852|      2|            BuiltInVariable("gl_BaryCoordSmoothCentroidAMD",    EbvBaryCoordSmoothCentroid,  symbolTable);
 9853|      2|            BuiltInVariable("gl_BaryCoordSmoothSampleAMD",      EbvBaryCoordSmoothSample,    symbolTable);
 9854|      2|            BuiltInVariable("gl_BaryCoordPullModelAMD",         EbvBaryCoordPullModel,       symbolTable);
 9855|      2|        }
 9856|       |
 9857|       |        // E_GL_AMD_texture_gather_bias_lod
 9858|     36|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9858:13): [True: 2, False: 34]
  ------------------
 9859|      2|            symbolTable.setFunctionExtensions("textureGatherLodAMD",                1, &E_GL_AMD_texture_gather_bias_lod);
 9860|      2|            symbolTable.setFunctionExtensions("textureGatherLodOffsetAMD",          1, &E_GL_AMD_texture_gather_bias_lod);
 9861|      2|            symbolTable.setFunctionExtensions("textureGatherLodOffsetsAMD",         1, &E_GL_AMD_texture_gather_bias_lod);
 9862|      2|            symbolTable.setFunctionExtensions("sparseTextureGatherLodAMD",          1, &E_GL_AMD_texture_gather_bias_lod);
 9863|      2|            symbolTable.setFunctionExtensions("sparseTextureGatherLodOffsetAMD",    1, &E_GL_AMD_texture_gather_bias_lod);
 9864|      2|            symbolTable.setFunctionExtensions("sparseTextureGatherLodOffsetsAMD",   1, &E_GL_AMD_texture_gather_bias_lod);
 9865|      2|        }
 9866|       |
 9867|       |        // E_GL_AMD_shader_image_load_store_lod
 9868|     36|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9868:13): [True: 2, False: 34]
  ------------------
 9869|      2|            symbolTable.setFunctionExtensions("imageLoadLodAMD",        1, &E_GL_AMD_shader_image_load_store_lod);
 9870|      2|            symbolTable.setFunctionExtensions("imageStoreLodAMD",       1, &E_GL_AMD_shader_image_load_store_lod);
 9871|      2|            symbolTable.setFunctionExtensions("sparseImageLoadLodAMD",  1, &E_GL_AMD_shader_image_load_store_lod);
 9872|      2|        }
 9873|     36|        if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (9873:13): [True: 2, False: 34]
  |  Branch (9873:38): [True: 2, False: 0]
  ------------------
 9874|      2|            symbolTable.setVariableExtensions("gl_FragFullyCoveredNV", 1, &E_GL_NV_conservative_raster_underestimation);
 9875|      2|            BuiltInVariable("gl_FragFullyCoveredNV", EbvFragFullyCoveredNV, symbolTable);
 9876|      2|        }
 9877|     36|        if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (9877:14): [True: 2, False: 34]
  |  Branch (9877:39): [True: 2, False: 0]
  ------------------
 9878|     34|            (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (9878:14): [True: 34, False: 0]
  |  Branch (9878:39): [True: 0, False: 34]
  ------------------
 9879|      2|            symbolTable.setVariableExtensions("gl_FragmentSizeNV",        1, &E_GL_NV_shading_rate_image);
 9880|      2|            symbolTable.setVariableExtensions("gl_InvocationsPerPixelNV", 1, &E_GL_NV_shading_rate_image);
 9881|      2|            BuiltInVariable("gl_FragmentSizeNV",        EbvFragmentSizeNV, symbolTable);
 9882|      2|            BuiltInVariable("gl_InvocationsPerPixelNV", EbvInvocationsPerPixelNV, symbolTable);
 9883|      2|            symbolTable.setVariableExtensions("gl_BaryCoordNV",        1, &E_GL_NV_fragment_shader_barycentric);
 9884|      2|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspNV", 1, &E_GL_NV_fragment_shader_barycentric);
 9885|      2|            BuiltInVariable("gl_BaryCoordNV",        EbvBaryCoordNV,        symbolTable);
 9886|      2|            BuiltInVariable("gl_BaryCoordNoPerspNV", EbvBaryCoordNoPerspNV, symbolTable);
 9887|      2|            symbolTable.setVariableExtensions("gl_BaryCoordEXT",        1, &E_GL_EXT_fragment_shader_barycentric);
 9888|      2|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspEXT", 1, &E_GL_EXT_fragment_shader_barycentric);
 9889|      2|            BuiltInVariable("gl_BaryCoordEXT",        EbvBaryCoordEXT,        symbolTable);
 9890|      2|            BuiltInVariable("gl_BaryCoordNoPerspEXT", EbvBaryCoordNoPerspEXT, symbolTable);
 9891|      2|        }
 9892|       |
 9893|     36|        if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (9893:14): [True: 2, False: 34]
  |  Branch (9893:39): [True: 2, False: 0]
  ------------------
 9894|     34|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9894:14): [True: 34, False: 0]
  |  Branch (9894:39): [True: 0, False: 34]
  ------------------
 9895|      2|            symbolTable.setVariableExtensions("gl_FragSizeEXT",            1, &E_GL_EXT_fragment_invocation_density);
 9896|      2|            symbolTable.setVariableExtensions("gl_FragInvocationCountEXT", 1, &E_GL_EXT_fragment_invocation_density);
 9897|      2|            BuiltInVariable("gl_FragSizeEXT",            EbvFragSizeEXT, symbolTable);
 9898|      2|            BuiltInVariable("gl_FragInvocationCountEXT", EbvFragInvocationCountEXT, symbolTable);
 9899|      2|        }
 9900|       |
 9901|     36|        symbolTable.setVariableExtensions("gl_FragDepthEXT", 1, &E_GL_EXT_frag_depth);
 9902|       |
 9903|     36|        symbolTable.setFunctionExtensions("clockARB",     1, &E_GL_ARB_shader_clock);
 9904|     36|        symbolTable.setFunctionExtensions("clock2x32ARB", 1, &E_GL_ARB_shader_clock);
 9905|       |
 9906|     36|        symbolTable.setFunctionExtensions("clockRealtimeEXT", 1, &E_GL_EXT_shader_realtime_clock);
 9907|     36|        symbolTable.setFunctionExtensions("clockRealtime2x32EXT", 1, &E_GL_EXT_shader_realtime_clock);
 9908|       |
 9909|     36|        if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9909:13): [True: 34, False: 2]
  |  Branch (9909:38): [True: 34, False: 0]
  ------------------
 9910|     34|            symbolTable.setVariableExtensions("gl_PrimitiveID",  Num_AEP_geometry_shader, AEP_geometry_shader);
 9911|     34|            symbolTable.setVariableExtensions("gl_Layer",        Num_AEP_geometry_shader, AEP_geometry_shader);
 9912|     34|        }
 9913|       |
 9914|     36|        if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9914:13): [True: 34, False: 2]
  |  Branch (9914:38): [True: 34, False: 0]
  ------------------
 9915|     34|            symbolTable.setFunctionExtensions("imageAtomicAdd",      1, &E_GL_OES_shader_image_atomic);
 9916|     34|            symbolTable.setFunctionExtensions("imageAtomicMin",      1, &E_GL_OES_shader_image_atomic);
 9917|     34|            symbolTable.setFunctionExtensions("imageAtomicMax",      1, &E_GL_OES_shader_image_atomic);
 9918|     34|            symbolTable.setFunctionExtensions("imageAtomicAnd",      1, &E_GL_OES_shader_image_atomic);
 9919|     34|            symbolTable.setFunctionExtensions("imageAtomicOr",       1, &E_GL_OES_shader_image_atomic);
 9920|     34|            symbolTable.setFunctionExtensions("imageAtomicXor",      1, &E_GL_OES_shader_image_atomic);
 9921|     34|            symbolTable.setFunctionExtensions("imageAtomicExchange", 1, &E_GL_OES_shader_image_atomic);
 9922|     34|            symbolTable.setFunctionExtensions("imageAtomicCompSwap", 1, &E_GL_OES_shader_image_atomic);
 9923|     34|        }
 9924|       |
 9925|     36|        if (profile != EEsProfile && version < 330 ) {
  ------------------
  |  Branch (9925:13): [True: 2, False: 34]
  |  Branch (9925:38): [True: 0, False: 2]
  ------------------
 9926|      0|            const int numBitEncodingExts = 3;
 9927|      0|            const char* bitEncodingExts[numBitEncodingExts] = { E_GL_ARB_shader_bit_encoding,
 9928|      0|                                                                E_GL_ARB_gpu_shader5,
 9929|      0|                                                                E_GL_NV_gpu_shader5};
 9930|      0|            symbolTable.setFunctionExtensions("floatBitsToInt", numBitEncodingExts, bitEncodingExts);
 9931|      0|            symbolTable.setFunctionExtensions("floatBitsToUint", numBitEncodingExts, bitEncodingExts);
 9932|      0|            symbolTable.setFunctionExtensions("intBitsToFloat", numBitEncodingExts, bitEncodingExts);
 9933|      0|            symbolTable.setFunctionExtensions("uintBitsToFloat", numBitEncodingExts, bitEncodingExts);
 9934|       |
 9935|      0|        }
 9936|       |
 9937|     36|        if (profile != EEsProfile && version < 430 ) {
  ------------------
  |  Branch (9937:13): [True: 2, False: 34]
  |  Branch (9937:38): [True: 0, False: 2]
  ------------------
 9938|      0|            symbolTable.setFunctionExtensions("imageSize", 1, &E_GL_ARB_shader_image_size);
 9939|      0|        }
 9940|       |
 9941|       |        // GL_ARB_shader_storage_buffer_object
 9942|     36|        if (profile != EEsProfile && version < 430 ) {
  ------------------
  |  Branch (9942:13): [True: 2, False: 34]
  |  Branch (9942:38): [True: 0, False: 2]
  ------------------
 9943|      0|            symbolTable.setFunctionExtensions("atomicAdd", 1, &E_GL_ARB_shader_storage_buffer_object);
 9944|      0|            symbolTable.setFunctionExtensions("atomicMin", 1, &E_GL_ARB_shader_storage_buffer_object);
 9945|      0|            symbolTable.setFunctionExtensions("atomicMax", 1, &E_GL_ARB_shader_storage_buffer_object);
 9946|      0|            symbolTable.setFunctionExtensions("atomicAnd", 1, &E_GL_ARB_shader_storage_buffer_object);
 9947|      0|            symbolTable.setFunctionExtensions("atomicOr", 1, &E_GL_ARB_shader_storage_buffer_object);
 9948|      0|            symbolTable.setFunctionExtensions("atomicXor", 1, &E_GL_ARB_shader_storage_buffer_object);
 9949|      0|            symbolTable.setFunctionExtensions("atomicExchange", 1, &E_GL_ARB_shader_storage_buffer_object);
 9950|      0|            symbolTable.setFunctionExtensions("atomicCompSwap", 1, &E_GL_ARB_shader_storage_buffer_object);
 9951|      0|        }
 9952|       |
 9953|       |        // GL_ARB_shading_language_packing
 9954|     36|        if (profile != EEsProfile && version < 400 ) {
  ------------------
  |  Branch (9954:13): [True: 2, False: 34]
  |  Branch (9954:38): [True: 0, False: 2]
  ------------------
 9955|      0|            const int numPackingExts = 3;
 9956|      0|            const char* packingExts[numPackingExts] = { E_GL_ARB_shading_language_packing,
 9957|      0|                                                                E_GL_ARB_gpu_shader5,
 9958|      0|                                                                E_GL_NV_gpu_shader5};
 9959|      0|            symbolTable.setFunctionExtensions("packUnorm2x16", numPackingExts, packingExts);
 9960|      0|            symbolTable.setFunctionExtensions("unpackUnorm2x16", numPackingExts, packingExts);
 9961|      0|            symbolTable.setFunctionExtensions("packSnorm4x8", numPackingExts, packingExts);
 9962|      0|            symbolTable.setFunctionExtensions("packUnorm4x8", numPackingExts, packingExts);
 9963|      0|            symbolTable.setFunctionExtensions("unpackSnorm4x8", numPackingExts, packingExts);
 9964|      0|            symbolTable.setFunctionExtensions("unpackUnorm4x8", numPackingExts, packingExts);
 9965|      0|        }
 9966|     36|        if (profile != EEsProfile && version < 420 ) {
  ------------------
  |  Branch (9966:13): [True: 2, False: 34]
  |  Branch (9966:38): [True: 0, False: 2]
  ------------------
 9967|      0|            symbolTable.setFunctionExtensions("packSnorm2x16", 1, &E_GL_ARB_shading_language_packing);
 9968|      0|            symbolTable.setFunctionExtensions("unpackSnorm2x16", 1, &E_GL_ARB_shading_language_packing);
 9969|      0|            symbolTable.setFunctionExtensions("unpackHalf2x16", 1, &E_GL_ARB_shading_language_packing);
 9970|      0|            symbolTable.setFunctionExtensions("packHalf2x16", 1, &E_GL_ARB_shading_language_packing);
 9971|      0|        }
 9972|       |
 9973|     36|        symbolTable.setVariableExtensions("gl_DeviceIndex",  1, &E_GL_EXT_device_group);
 9974|     36|        BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
 9975|     36|        symbolTable.setVariableExtensions("gl_ViewIndex", 1, &E_GL_EXT_multiview);
 9976|     36|        BuiltInVariable("gl_ViewIndex", EbvViewIndex, symbolTable);
 9977|     36|        if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (9977:13): [True: 2, False: 34]
  ------------------
 9978|      2|            symbolTable.setVariableExtensions("gl_ViewID_OVR", Num_OVR_multiview_EXTs, OVR_multiview_EXTs);
 9979|      2|            BuiltInVariable("gl_ViewID_OVR", EbvViewIndex, symbolTable);
 9980|      2|        }
 9981|       |
 9982|       |        // GL_ARB_shader_ballot
 9983|     36|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9983:13): [True: 2, False: 34]
  ------------------
 9984|      2|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
 9985|      2|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
 9986|      2|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
 9987|      2|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9988|      2|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9989|      2|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9990|      2|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9991|       |
 9992|      2|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
 9993|      2|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
 9994|      2|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
 9995|      2|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
 9996|      2|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
 9997|      2|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
 9998|       |
 9999|      2|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (9999:17): [True: 0, False: 2]
  ------------------
10000|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10001|      0|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10002|      0|                if (language == EShLangFragment)
  ------------------
  |  Branch (10002:21): [True: 0, False: 0]
  ------------------
10003|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10004|      0|            }
10005|      2|            else
10006|      2|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10007|      2|        }
10008|       |
10009|       |        // GL_EXT_expect_assume
10010|     36|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10010:14): [True: 34, False: 2]
  |  Branch (10010:39): [True: 0, False: 34]
  ------------------
10011|     36|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10011:14): [True: 2, False: 34]
  |  Branch (10011:39): [True: 2, False: 0]
  ------------------
10012|      2|            symbolTable.setFunctionExtensions("assumeEXT", 1, &E_GL_EXT_expect_assume);
10013|      2|            symbolTable.setFunctionExtensions("expectEXT", 1, &E_GL_EXT_expect_assume);
10014|      2|        }
10015|       |
10016|       |        // GL_KHR_shader_subgroup
10017|     36|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10017:14): [True: 34, False: 2]
  |  Branch (10017:39): [True: 0, False: 34]
  ------------------
10018|     36|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10018:14): [True: 2, False: 34]
  |  Branch (10018:39): [True: 2, False: 0]
  ------------------
10019|      2|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10020|      2|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10021|      2|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10022|      2|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10023|      2|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10024|      2|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10025|      2|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10026|       |
10027|      2|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10028|      2|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10029|      2|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10030|      2|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10031|      2|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10032|      2|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10033|      2|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10034|       |
10035|      2|            symbolTable.setFunctionExtensions("subgroupBarrier",                 1, &E_GL_KHR_shader_subgroup_basic);
10036|      2|            symbolTable.setFunctionExtensions("subgroupMemoryBarrier",           1, &E_GL_KHR_shader_subgroup_basic);
10037|      2|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierBuffer",     1, &E_GL_KHR_shader_subgroup_basic);
10038|      2|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierImage",      1, &E_GL_KHR_shader_subgroup_basic);
10039|      2|            symbolTable.setFunctionExtensions("subgroupElect",                   1, &E_GL_KHR_shader_subgroup_basic);
10040|      2|            symbolTable.setFunctionExtensions("subgroupAll",                     1, &E_GL_KHR_shader_subgroup_vote);
10041|      2|            symbolTable.setFunctionExtensions("subgroupAny",                     1, &E_GL_KHR_shader_subgroup_vote);
10042|      2|            symbolTable.setFunctionExtensions("subgroupAllEqual",                1, &E_GL_KHR_shader_subgroup_vote);
10043|      2|            symbolTable.setFunctionExtensions("subgroupBroadcast",               1, &E_GL_KHR_shader_subgroup_ballot);
10044|      2|            symbolTable.setFunctionExtensions("subgroupBroadcastFirst",          1, &E_GL_KHR_shader_subgroup_ballot);
10045|      2|            symbolTable.setFunctionExtensions("subgroupBallot",                  1, &E_GL_KHR_shader_subgroup_ballot);
10046|      2|            symbolTable.setFunctionExtensions("subgroupInverseBallot",           1, &E_GL_KHR_shader_subgroup_ballot);
10047|      2|            symbolTable.setFunctionExtensions("subgroupBallotBitExtract",        1, &E_GL_KHR_shader_subgroup_ballot);
10048|      2|            symbolTable.setFunctionExtensions("subgroupBallotBitCount",          1, &E_GL_KHR_shader_subgroup_ballot);
10049|      2|            symbolTable.setFunctionExtensions("subgroupBallotInclusiveBitCount", 1, &E_GL_KHR_shader_subgroup_ballot);
10050|      2|            symbolTable.setFunctionExtensions("subgroupBallotExclusiveBitCount", 1, &E_GL_KHR_shader_subgroup_ballot);
10051|      2|            symbolTable.setFunctionExtensions("subgroupBallotFindLSB",           1, &E_GL_KHR_shader_subgroup_ballot);
10052|      2|            symbolTable.setFunctionExtensions("subgroupBallotFindMSB",           1, &E_GL_KHR_shader_subgroup_ballot);
10053|      2|            symbolTable.setFunctionExtensions("subgroupShuffle",                 1, &E_GL_KHR_shader_subgroup_shuffle);
10054|      2|            symbolTable.setFunctionExtensions("subgroupShuffleXor",              1, &E_GL_KHR_shader_subgroup_shuffle);
10055|      2|            symbolTable.setFunctionExtensions("subgroupShuffleUp",               1, &E_GL_KHR_shader_subgroup_shuffle_relative);
10056|      2|            symbolTable.setFunctionExtensions("subgroupShuffleDown",             1, &E_GL_KHR_shader_subgroup_shuffle_relative);
10057|      2|            symbolTable.setFunctionExtensions("subgroupRotate",                  1, &E_GL_KHR_shader_subgroup_rotate);
10058|      2|            symbolTable.setFunctionExtensions("subgroupClusteredRotate",         1, &E_GL_KHR_shader_subgroup_rotate);
10059|      2|            symbolTable.setFunctionExtensions("subgroupAdd",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10060|      2|            symbolTable.setFunctionExtensions("subgroupMul",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10061|      2|            symbolTable.setFunctionExtensions("subgroupMin",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10062|      2|            symbolTable.setFunctionExtensions("subgroupMax",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10063|      2|            symbolTable.setFunctionExtensions("subgroupAnd",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10064|      2|            symbolTable.setFunctionExtensions("subgroupOr",                      1, &E_GL_KHR_shader_subgroup_arithmetic);
10065|      2|            symbolTable.setFunctionExtensions("subgroupXor",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10066|      2|            symbolTable.setFunctionExtensions("subgroupInclusiveAdd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10067|      2|            symbolTable.setFunctionExtensions("subgroupInclusiveMul",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10068|      2|            symbolTable.setFunctionExtensions("subgroupInclusiveMin",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10069|      2|            symbolTable.setFunctionExtensions("subgroupInclusiveMax",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10070|      2|            symbolTable.setFunctionExtensions("subgroupInclusiveAnd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10071|      2|            symbolTable.setFunctionExtensions("subgroupInclusiveOr",             1, &E_GL_KHR_shader_subgroup_arithmetic);
10072|      2|            symbolTable.setFunctionExtensions("subgroupInclusiveXor",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10073|      2|            symbolTable.setFunctionExtensions("subgroupExclusiveAdd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10074|      2|            symbolTable.setFunctionExtensions("subgroupExclusiveMul",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10075|      2|            symbolTable.setFunctionExtensions("subgroupExclusiveMin",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10076|      2|            symbolTable.setFunctionExtensions("subgroupExclusiveMax",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10077|      2|            symbolTable.setFunctionExtensions("subgroupExclusiveAnd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10078|      2|            symbolTable.setFunctionExtensions("subgroupExclusiveOr",             1, &E_GL_KHR_shader_subgroup_arithmetic);
10079|      2|            symbolTable.setFunctionExtensions("subgroupExclusiveXor",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10080|      2|            symbolTable.setFunctionExtensions("subgroupClusteredAdd",            1, &E_GL_KHR_shader_subgroup_clustered);
10081|      2|            symbolTable.setFunctionExtensions("subgroupClusteredMul",            1, &E_GL_KHR_shader_subgroup_clustered);
10082|      2|            symbolTable.setFunctionExtensions("subgroupClusteredMin",            1, &E_GL_KHR_shader_subgroup_clustered);
10083|      2|            symbolTable.setFunctionExtensions("subgroupClusteredMax",            1, &E_GL_KHR_shader_subgroup_clustered);
10084|      2|            symbolTable.setFunctionExtensions("subgroupClusteredAnd",            1, &E_GL_KHR_shader_subgroup_clustered);
10085|      2|            symbolTable.setFunctionExtensions("subgroupClusteredOr",             1, &E_GL_KHR_shader_subgroup_clustered);
10086|      2|            symbolTable.setFunctionExtensions("subgroupClusteredXor",            1, &E_GL_KHR_shader_subgroup_clustered);
10087|      2|            symbolTable.setFunctionExtensions("subgroupQuadBroadcast",           1, &E_GL_KHR_shader_subgroup_quad);
10088|      2|            symbolTable.setFunctionExtensions("subgroupQuadSwapHorizontal",      1, &E_GL_KHR_shader_subgroup_quad);
10089|      2|            symbolTable.setFunctionExtensions("subgroupQuadSwapVertical",        1, &E_GL_KHR_shader_subgroup_quad);
10090|      2|            symbolTable.setFunctionExtensions("subgroupQuadSwapDiagonal",        1, &E_GL_KHR_shader_subgroup_quad);
10091|      2|            symbolTable.setFunctionExtensions("subgroupPartitionNV",                          1, &E_GL_NV_shader_subgroup_partitioned);
10092|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedAddNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10093|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedMulNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10094|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedMinNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10095|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedMaxNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10096|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedAndNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10097|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedOrNV",                      1, &E_GL_NV_shader_subgroup_partitioned);
10098|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedXorNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10099|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveAddNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10100|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveMulNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10101|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveMinNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10102|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveMaxNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10103|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveAndNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10104|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveOrNV",             1, &E_GL_NV_shader_subgroup_partitioned);
10105|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveXorNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10106|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveAddNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10107|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveMulNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10108|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveMinNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10109|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveMaxNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10110|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveAndNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10111|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveOrNV",             1, &E_GL_NV_shader_subgroup_partitioned);
10112|      2|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveXorNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10113|       |
10114|       |            // GL_NV_shader_sm_builtins
10115|      2|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10116|      2|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10117|      2|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10118|      2|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10119|      2|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10120|      2|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10121|      2|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10122|      2|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10123|       |
10124|       |            // GL_ARM_shader_core_builtins
10125|      2|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10126|      2|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10127|      2|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10128|      2|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10129|      2|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10130|       |
10131|      2|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10132|      2|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10133|      2|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10134|      2|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10135|      2|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10136|      2|        }
10137|       |
10138|     36|        if (profile == EEsProfile) {
  ------------------
  |  Branch (10138:13): [True: 34, False: 2]
  ------------------
10139|     34|            symbolTable.setFunctionExtensions("shadow2DEXT",        1, &E_GL_EXT_shadow_samplers);
10140|     34|            symbolTable.setFunctionExtensions("shadow2DProjEXT",    1, &E_GL_EXT_shadow_samplers);
10141|     34|        }
10142|       |
10143|     36|        if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10143:13): [True: 0, False: 36]
  ------------------
10144|      0|            symbolTable.setVariableExtensions("gl_ScopeDevice",             1, &E_GL_KHR_memory_scope_semantics);
10145|      0|            symbolTable.setVariableExtensions("gl_ScopeWorkgroup",          1, &E_GL_KHR_memory_scope_semantics);
10146|      0|            symbolTable.setVariableExtensions("gl_ScopeSubgroup",           1, &E_GL_KHR_memory_scope_semantics);
10147|      0|            symbolTable.setVariableExtensions("gl_ScopeInvocation",         1, &E_GL_KHR_memory_scope_semantics);
10148|       |
10149|      0|            symbolTable.setVariableExtensions("gl_SemanticsRelaxed",        1, &E_GL_KHR_memory_scope_semantics);
10150|      0|            symbolTable.setVariableExtensions("gl_SemanticsAcquire",        1, &E_GL_KHR_memory_scope_semantics);
10151|      0|            symbolTable.setVariableExtensions("gl_SemanticsRelease",        1, &E_GL_KHR_memory_scope_semantics);
10152|      0|            symbolTable.setVariableExtensions("gl_SemanticsAcquireRelease", 1, &E_GL_KHR_memory_scope_semantics);
10153|      0|            symbolTable.setVariableExtensions("gl_SemanticsMakeAvailable",  1, &E_GL_KHR_memory_scope_semantics);
10154|      0|            symbolTable.setVariableExtensions("gl_SemanticsMakeVisible",    1, &E_GL_KHR_memory_scope_semantics);
10155|      0|            symbolTable.setVariableExtensions("gl_SemanticsVolatile",       1, &E_GL_KHR_memory_scope_semantics);
10156|       |
10157|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsNone",    1, &E_GL_KHR_memory_scope_semantics);
10158|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsBuffer",  1, &E_GL_KHR_memory_scope_semantics);
10159|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsShared",  1, &E_GL_KHR_memory_scope_semantics);
10160|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsImage",   1, &E_GL_KHR_memory_scope_semantics);
10161|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsOutput",  1, &E_GL_KHR_memory_scope_semantics);
10162|      0|        }
10163|       |
10164|     36|        symbolTable.setFunctionExtensions("helperInvocationEXT",            1, &E_GL_EXT_demote_to_helper_invocation);
10165|       |
10166|     36|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10166:14): [True: 34, False: 2]
  |  Branch (10166:39): [True: 0, False: 34]
  ------------------
10167|     36|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10167:14): [True: 2, False: 34]
  |  Branch (10167:39): [True: 2, False: 0]
  ------------------
10168|      2|            symbolTable.setVariableExtensions("gl_ShadingRateEXT", 1, &E_GL_EXT_fragment_shading_rate);
10169|      2|            BuiltInVariable("gl_ShadingRateEXT", EbvShadingRateKHR, symbolTable);
10170|       |
10171|      2|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10172|      2|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10173|      2|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10174|      2|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10175|      2|        }
10176|       |
10177|       |        // GL_EXT_shader_quad_control
10178|     36|        if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (10178:14): [True: 2, False: 34]
  |  Branch (10178:39): [True: 2, False: 0]
  ------------------
10179|     34|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (10179:14): [True: 34, False: 0]
  |  Branch (10179:39): [True: 0, False: 34]
  ------------------
10180|      2|            symbolTable.setFunctionExtensions("subgroupQuadAll",                     1,  &E_GL_KHR_shader_subgroup_vote);
10181|      2|            symbolTable.setFunctionExtensions("subgroupQuadAny",                     1,  &E_GL_KHR_shader_subgroup_vote);
10182|      2|        }
10183|       |
10184|       |        // GL_EXT_shader_tile_image
10185|     36|        symbolTable.setFunctionExtensions("stencilAttachmentReadEXT", 1, &E_GL_EXT_shader_tile_image);
10186|     36|        symbolTable.setFunctionExtensions("depthAttachmentReadEXT", 1, &E_GL_EXT_shader_tile_image);
10187|     36|        symbolTable.setFunctionExtensions("colorAttachmentReadEXT", 1, &E_GL_EXT_shader_tile_image);
10188|       |
10189|     36|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10189:14): [True: 34, False: 2]
  |  Branch (10189:39): [True: 0, False: 34]
  ------------------
10190|     36|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10190:14): [True: 2, False: 34]
  |  Branch (10190:39): [True: 2, False: 0]
  ------------------
10191|       |
10192|      2|            symbolTable.setFunctionExtensions("textureWeightedQCOM",      1, &E_GL_QCOM_image_processing);
10193|      2|            symbolTable.setFunctionExtensions("textureBoxFilterQCOM",     1, &E_GL_QCOM_image_processing);
10194|      2|            symbolTable.setFunctionExtensions("textureBlockMatchSADQCOM", 1, &E_GL_QCOM_image_processing);
10195|      2|            symbolTable.setFunctionExtensions("textureBlockMatchSSDQCOM", 1, &E_GL_QCOM_image_processing);
10196|       |
10197|      2|            symbolTable.setFunctionExtensions("textureBlockMatchWindowSSDQCOM", 1, &E_GL_QCOM_image_processing2);
10198|      2|            symbolTable.setFunctionExtensions("textureBlockMatchWindowSADQCOM", 1, &E_GL_QCOM_image_processing2);
10199|      2|            symbolTable.setFunctionExtensions("textureBlockMatchGatherSSDQCOM", 1, &E_GL_QCOM_image_processing2);
10200|      2|            symbolTable.setFunctionExtensions("textureBlockMatchGatherSADQCOM", 1, &E_GL_QCOM_image_processing2);
10201|      2|        }
10202|       |
10203|     36|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10203:14): [True: 34, False: 2]
  |  Branch (10203:39): [True: 0, False: 34]
  ------------------
10204|     36|            (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10204:14): [True: 2, False: 34]
  |  Branch (10204:39): [True: 0, False: 2]
  ------------------
10205|      0|            BuiltInVariable("gl_TileOffsetQCOM",    EbvTileOffsetQCOM,      symbolTable);
10206|      0|            BuiltInVariable("gl_TileDimensionQCOM", EbvTileDimensionQCOM,   symbolTable);
10207|      0|            BuiltInVariable("gl_TileApronSizeQCOM", EbvTileApronSizeQCOM,   symbolTable);
10208|       |
10209|      0|            symbolTable.setVariableExtensions("gl_TileOffsetQCOM",        1, &E_GL_QCOM_tile_shading);
10210|      0|            symbolTable.setVariableExtensions("gl_TileDimensionQCOM",     1, &E_GL_QCOM_tile_shading);
10211|      0|            symbolTable.setVariableExtensions("gl_TileApronSizeQCOM",     1, &E_GL_QCOM_tile_shading);
10212|      0|        }
10213|       |
10214|     36|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10214:14): [True: 34, False: 2]
  |  Branch (10214:39): [True: 0, False: 34]
  ------------------
10215|     36|            (profile != EEsProfile && version >= 130)) {
  ------------------
  |  Branch (10215:14): [True: 2, False: 34]
  |  Branch (10215:39): [True: 2, False: 0]
  ------------------
10216|      2|            symbolTable.setFunctionExtensions("textureGather4x1QCOM", 1, &E_GL_QCOM_image_processing3);
10217|      2|            symbolTable.setFunctionExtensions("textureGatherV2QCOM", 1, &E_GL_QCOM_image_processing3);
10218|      2|            symbolTable.setFunctionExtensions("textureGatherH2QCOM", 1, &E_GL_QCOM_image_processing3);
10219|      2|            symbolTable.setFunctionExtensions("textureGatherDQCOM", 1, &E_GL_QCOM_image_processing3);
10220|      2|            symbolTable.setFunctionExtensions("textureGather4x1OffsetQCOM", 1, &E_GL_QCOM_image_processing3);
10221|      2|            symbolTable.setFunctionExtensions("textureGatherV2OffsetQCOM", 1, &E_GL_QCOM_image_processing3);
10222|      2|            symbolTable.setFunctionExtensions("textureGatherH2OffsetQCOM", 1, &E_GL_QCOM_image_processing3);
10223|      2|            symbolTable.setFunctionExtensions("textureGatherDOffsetQCOM", 1, &E_GL_QCOM_image_processing3);
10224|      2|        }
10225|       |
10226|     36|        break;
10227|       |
10228|      2|    case EShLangCompute:
  ------------------
  |  Branch (10228:5): [True: 2, False: 94]
  ------------------
10229|      2|        BuiltInVariable("gl_NumWorkGroups",         EbvNumWorkGroups,        symbolTable);
10230|      2|        BuiltInVariable("gl_WorkGroupSize",         EbvWorkGroupSize,        symbolTable);
10231|      2|        BuiltInVariable("gl_WorkGroupID",           EbvWorkGroupId,          symbolTable);
10232|      2|        BuiltInVariable("gl_LocalInvocationID",     EbvLocalInvocationId,    symbolTable);
10233|      2|        BuiltInVariable("gl_GlobalInvocationID",    EbvGlobalInvocationId,   symbolTable);
10234|      2|        BuiltInVariable("gl_LocalInvocationIndex",  EbvLocalInvocationIndex, symbolTable);
10235|      2|        BuiltInVariable("gl_DeviceIndex",           EbvDeviceIndex,          symbolTable);
10236|      2|        BuiltInVariable("gl_ViewIndex",             EbvViewIndex,            symbolTable);
10237|       |
10238|      2|        if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (10238:14): [True: 2, False: 0]
  |  Branch (10238:39): [True: 2, False: 0]
  ------------------
10239|      2|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (10239:14): [True: 0, False: 0]
  |  Branch (10239:39): [True: 0, False: 0]
  ------------------
10240|      2|            symbolTable.setVariableExtensions("gl_DeviceIndex",  1, &E_GL_EXT_device_group);
10241|      2|            symbolTable.setVariableExtensions("gl_ViewIndex",    1, &E_GL_EXT_multiview);
10242|      2|        }
10243|       |
10244|      2|        if (profile != EEsProfile && version < 430) {
  ------------------
  |  Branch (10244:13): [True: 2, False: 0]
  |  Branch (10244:38): [True: 0, False: 2]
  ------------------
10245|      0|            symbolTable.setVariableExtensions("gl_NumWorkGroups",        1, &E_GL_ARB_compute_shader);
10246|      0|            symbolTable.setVariableExtensions("gl_WorkGroupSize",        1, &E_GL_ARB_compute_shader);
10247|      0|            symbolTable.setVariableExtensions("gl_WorkGroupID",          1, &E_GL_ARB_compute_shader);
10248|      0|            symbolTable.setVariableExtensions("gl_LocalInvocationID",    1, &E_GL_ARB_compute_shader);
10249|      0|            symbolTable.setVariableExtensions("gl_GlobalInvocationID",   1, &E_GL_ARB_compute_shader);
10250|      0|            symbolTable.setVariableExtensions("gl_LocalInvocationIndex", 1, &E_GL_ARB_compute_shader);
10251|       |
10252|      0|            symbolTable.setVariableExtensions("gl_MaxComputeWorkGroupCount",       1, &E_GL_ARB_compute_shader);
10253|      0|            symbolTable.setVariableExtensions("gl_MaxComputeWorkGroupSize",        1, &E_GL_ARB_compute_shader);
10254|      0|            symbolTable.setVariableExtensions("gl_MaxComputeUniformComponents",    1, &E_GL_ARB_compute_shader);
10255|      0|            symbolTable.setVariableExtensions("gl_MaxComputeTextureImageUnits",    1, &E_GL_ARB_compute_shader);
10256|      0|            symbolTable.setVariableExtensions("gl_MaxComputeImageUniforms",        1, &E_GL_ARB_compute_shader);
10257|      0|            symbolTable.setVariableExtensions("gl_MaxComputeAtomicCounters",       1, &E_GL_ARB_compute_shader);
10258|      0|            symbolTable.setVariableExtensions("gl_MaxComputeAtomicCounterBuffers", 1, &E_GL_ARB_compute_shader);
10259|       |
10260|      0|            symbolTable.setFunctionExtensions("barrier",                    1, &E_GL_ARB_compute_shader);
10261|      0|            symbolTable.setFunctionExtensions("memoryBarrierAtomicCounter", 1, &E_GL_ARB_compute_shader);
10262|      0|            symbolTable.setFunctionExtensions("memoryBarrierBuffer",        1, &E_GL_ARB_compute_shader);
10263|      0|            symbolTable.setFunctionExtensions("memoryBarrierImage",         1, &E_GL_ARB_compute_shader);
10264|      0|            symbolTable.setFunctionExtensions("memoryBarrierShared",        1, &E_GL_ARB_compute_shader);
10265|      0|            symbolTable.setFunctionExtensions("groupMemoryBarrier",         1, &E_GL_ARB_compute_shader);
10266|      0|        }
10267|       |
10268|      2|        symbolTable.setFunctionExtensions("controlBarrier",                 1, &E_GL_KHR_memory_scope_semantics);
10269|      2|        symbolTable.setFunctionExtensions("debugPrintfEXT",                 1, &E_GL_EXT_debug_printf);
10270|      2|        symbolTable.setFunctionExtensions("abortEXT",                       1, &E_GL_EXT_abort);
10271|      2|        symbolTable.setFunctionExtensions("controlBarrierArrive",           1, &E_GL_EXT_split_barrier);
10272|      2|        symbolTable.setFunctionExtensions("controlBarrierWait",             1, &E_GL_EXT_split_barrier);
10273|       |
10274|       |        // GL_ARB_shader_ballot
10275|      2|        if (profile != EEsProfile) {
  ------------------
  |  Branch (10275:13): [True: 2, False: 0]
  ------------------
10276|      2|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10277|      2|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10278|      2|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10279|      2|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10280|      2|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10281|      2|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10282|      2|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10283|       |
10284|      2|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10285|      2|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10286|      2|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10287|      2|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10288|      2|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10289|      2|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10290|       |
10291|      2|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10291:17): [True: 0, False: 2]
  ------------------
10292|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10293|      0|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10294|      0|                if (language == EShLangFragment)
  ------------------
  |  Branch (10294:21): [True: 0, False: 0]
  ------------------
10295|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10296|      0|            }
10297|      2|            else
10298|      2|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10299|      2|        }
10300|       |
10301|       |        // GL_KHR_shader_subgroup
10302|      2|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10302:14): [True: 0, False: 2]
  |  Branch (10302:39): [True: 0, False: 0]
  ------------------
10303|      2|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10303:14): [True: 2, False: 0]
  |  Branch (10303:39): [True: 2, False: 0]
  ------------------
10304|      2|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10305|      2|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10306|      2|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10307|      2|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10308|      2|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10309|      2|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10310|      2|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10311|       |
10312|      2|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10313|      2|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10314|      2|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10315|      2|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10316|      2|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10317|      2|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10318|      2|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10319|       |
10320|       |            // GL_NV_shader_sm_builtins
10321|      2|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10322|      2|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10323|      2|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10324|      2|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10325|      2|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10326|      2|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10327|      2|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10328|      2|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10329|       |
10330|       |            // GL_ARM_shader_core_builtins
10331|      2|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10332|      2|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10333|      2|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10334|      2|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10335|      2|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10336|       |
10337|      2|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10338|      2|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10339|      2|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10340|      2|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10341|      2|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10342|      2|        }
10343|       |
10344|       |        // GL_KHR_shader_subgroup
10345|      2|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10345:14): [True: 0, False: 2]
  |  Branch (10345:39): [True: 0, False: 0]
  ------------------
10346|      2|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10346:14): [True: 2, False: 0]
  |  Branch (10346:39): [True: 2, False: 0]
  ------------------
10347|      2|            symbolTable.setVariableExtensions("gl_NumSubgroups", 1, &E_GL_KHR_shader_subgroup_basic);
10348|      2|            symbolTable.setVariableExtensions("gl_SubgroupID",   1, &E_GL_KHR_shader_subgroup_basic);
10349|       |
10350|      2|            BuiltInVariable("gl_NumSubgroups", EbvNumSubgroups, symbolTable);
10351|      2|            BuiltInVariable("gl_SubgroupID",   EbvSubgroupID,   symbolTable);
10352|       |
10353|      2|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierShared", 1, &E_GL_KHR_shader_subgroup_basic);
10354|      2|        }
10355|       |
10356|      2|        {
10357|      2|            const char *coopExt[2] = { E_GL_NV_cooperative_matrix, E_GL_NV_integer_cooperative_matrix };
10358|      2|            symbolTable.setFunctionExtensions("coopMatLoadNV",   2, coopExt);
10359|      2|            symbolTable.setFunctionExtensions("coopMatStoreNV",  2, coopExt);
10360|      2|            symbolTable.setFunctionExtensions("coopMatMulAddNV", 2, coopExt);
10361|      2|        }
10362|       |
10363|      2|        {
10364|      2|            auto coopMatKHRCallback = [](const char *name) -> std::vector<const char *> {
10365|      2|                std::vector<const char *> ret;
10366|      2|                if (strstr(name, "u64") != nullptr) {
10367|      2|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10368|      2|                } else {
10369|      2|                    ret.push_back(E_GL_KHR_cooperative_matrix);
10370|      2|                }
10371|      2|                return ret;
10372|      2|            };
10373|      2|            auto coopMat2NVCallback = [](const char *name) -> std::vector<const char *> {
10374|      2|                std::vector<const char *> ret;
10375|      2|                if (strstr(name, "u64") != nullptr) {
10376|      2|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10377|      2|                } else {
10378|      2|                    ret.push_back(E_GL_NV_cooperative_matrix2);
10379|      2|                }
10380|      2|                return ret;
10381|      2|            };
10382|       |
10383|      2|            symbolTable.setFunctionExtensionsCallback("coopMatLoad",   coopMatKHRCallback);
10384|      2|            symbolTable.setFunctionExtensionsCallback("coopMatStore",  coopMatKHRCallback);
10385|      2|            symbolTable.setFunctionExtensions("coopMatMulAdd", 1, &E_GL_KHR_cooperative_matrix);
10386|       |
10387|      2|            symbolTable.setFunctionExtensionsCallback("coopMatLoadTensorNV",   coopMat2NVCallback);
10388|      2|            symbolTable.setFunctionExtensionsCallback("coopMatStoreTensorNV",   coopMat2NVCallback);
10389|       |
10390|      2|            symbolTable.setFunctionExtensions("coopMatReduceNV",   1, &E_GL_NV_cooperative_matrix2);
10391|      2|            symbolTable.setFunctionExtensions("coopMatPerElementNV",  1, &E_GL_NV_cooperative_matrix2);
10392|      2|            symbolTable.setFunctionExtensions("coopMatTransposeNV",   1, &E_GL_NV_cooperative_matrix2);
10393|       |            
10394|      2|            symbolTable.setFunctionExtensions("createTensorLayoutNV",           1, &E_GL_NV_cooperative_matrix2);
10395|      2|            symbolTable.setFunctionExtensions("setTensorLayoutBlockSizeNV",     1, &E_GL_NV_cooperative_matrix2);
10396|      2|            symbolTable.setFunctionExtensions("setTensorLayoutDimensionNV",     1, &E_GL_NV_cooperative_matrix2);
10397|      2|            symbolTable.setFunctionExtensions("setTensorLayoutStrideNV",        1, &E_GL_NV_cooperative_matrix2);
10398|      2|            symbolTable.setFunctionExtensions("sliceTensorLayoutNV",            1, &E_GL_NV_cooperative_matrix2);
10399|      2|            symbolTable.setFunctionExtensions("setTensorLayoutClampValueNV",    1, &E_GL_NV_cooperative_matrix2);
10400|       |
10401|      2|            symbolTable.setFunctionExtensions("createTensorViewNV",             1, &E_GL_NV_cooperative_matrix2);
10402|      2|            symbolTable.setFunctionExtensions("setTensorViewDimensionsNV",      1, &E_GL_NV_cooperative_matrix2);
10403|      2|            symbolTable.setFunctionExtensions("setTensorViewStrideNV",          1, &E_GL_NV_cooperative_matrix2);
10404|      2|            symbolTable.setFunctionExtensions("setTensorViewClipNV",            1, &E_GL_NV_cooperative_matrix2);
10405|      2|        }
10406|       |
10407|      2|        {
10408|      2|            symbolTable.setFunctionExtensions("coopMatReduceEXT",           1, &E_GL_EXT_cooperative_matrix_maintenance1);
10409|      2|            symbolTable.setFunctionExtensions("coopMatPerElementEXT",       1, &E_GL_EXT_cooperative_matrix_maintenance1);
10410|      2|            symbolTable.setFunctionExtensions("coopMatTransposeEXT",        1, &E_GL_EXT_cooperative_matrix_maintenance1);
10411|      2|            symbolTable.setFunctionExtensions("coopMatGetCoordinateEXT",    1, &E_GL_EXT_cooperative_matrix_maintenance1);
10412|      2|        }
10413|       |
10414|      2|        {
10415|      2|            symbolTable.setFunctionExtensions("tensorReadARM",   1, &E_GL_ARM_tensors);
10416|      2|            symbolTable.setFunctionExtensions("tensorWriteARM",  1, &E_GL_ARM_tensors);
10417|      2|            symbolTable.setFunctionExtensions("tensorSizeARM",   1, &E_GL_ARM_tensors);
10418|      2|        }
10419|      2|        {
10420|      2|            auto coopVecCallback = [](const char *name) -> std::vector<const char *> {
10421|      2|                std::vector<const char *> ret;
10422|       |                // This looks for u64 as the last parameter (the offset)
10423|      2|                if (strstr(name, "u641;") != nullptr) {
10424|      2|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10425|      2|                } else {
10426|      2|                    ret.push_back(E_GL_NV_cooperative_vector);
10427|      2|                }
10428|      2|                return ret;
10429|      2|            };
10430|      2|            symbolTable.setFunctionExtensionsCallback("coopVecMatMulNV", coopVecCallback);
10431|      2|            symbolTable.setFunctionExtensionsCallback("coopVecMatMulAddNV", coopVecCallback);
10432|      2|            symbolTable.setFunctionExtensionsCallback("coopVecLoadNV", coopVecCallback);
10433|      2|            symbolTable.setFunctionExtensionsCallback("coopVecStoreNV", coopVecCallback);
10434|      2|            symbolTable.setFunctionExtensionsCallback("coopVecOuterProductAccumulateNV", coopVecCallback);
10435|      2|            symbolTable.setFunctionExtensionsCallback("coopVecReduceSumAccumulateNV", coopVecCallback);
10436|      2|        }
10437|       |
10438|      2|        {
10439|      2|          symbolTable.setFunctionExtensions("bitcastQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10440|      2|          symbolTable.setFunctionExtensions("extractSubArrayQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10441|      2|          symbolTable.setFunctionExtensions("vectorToCoopmatQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10442|      2|          symbolTable.setFunctionExtensions("coopmatToVectorQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10443|      2|        }
10444|       |
10445|      2|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (10445:14): [True: 2, False: 0]
  |  Branch (10445:39): [True: 2, False: 0]
  |  Branch (10445:59): [True: 0, False: 0]
  |  Branch (10445:84): [True: 0, False: 0]
  ------------------
10446|      2|            const char* const derivativeExts[] = { E_GL_NV_compute_shader_derivatives, E_GL_KHR_compute_shader_derivatives };
10447|      2|            if (language == EShLangCompute) {
  ------------------
  |  Branch (10447:17): [True: 2, False: 0]
  ------------------
10448|      2|                symbolTable.setFunctionExtensions("dFdx",                   2, derivativeExts);
10449|      2|                symbolTable.setFunctionExtensions("dFdy",                   2, derivativeExts);
10450|      2|                symbolTable.setFunctionExtensions("fwidth",                 2, derivativeExts);
10451|      2|                symbolTable.setFunctionExtensions("dFdxFine",               2, derivativeExts);
10452|      2|                symbolTable.setFunctionExtensions("dFdyFine",               2, derivativeExts);
10453|      2|                symbolTable.setFunctionExtensions("fwidthFine",             2, derivativeExts);
10454|      2|                symbolTable.setFunctionExtensions("dFdxCoarse",             2, derivativeExts);
10455|      2|                symbolTable.setFunctionExtensions("dFdyCoarse",             2, derivativeExts);
10456|      2|                symbolTable.setFunctionExtensions("fwidthCoarse",           2, derivativeExts);
10457|      2|            } else if (language == EShLangTask || language == EShLangMesh) {
  ------------------
  |  Branch (10457:24): [True: 0, False: 0]
  |  Branch (10457:51): [True: 0, False: 0]
  ------------------
10458|      0|                symbolTable.setFunctionExtensions("dFdx",                   1, &E_GL_KHR_compute_shader_derivatives);
10459|      0|                symbolTable.setFunctionExtensions("dFdy",                   1, &E_GL_KHR_compute_shader_derivatives);
10460|      0|                symbolTable.setFunctionExtensions("fwidth",                 1, &E_GL_KHR_compute_shader_derivatives);
10461|      0|                symbolTable.setFunctionExtensions("dFdxFine",               1, &E_GL_KHR_compute_shader_derivatives);
10462|      0|                symbolTable.setFunctionExtensions("dFdyFine",               1, &E_GL_KHR_compute_shader_derivatives);
10463|      0|                symbolTable.setFunctionExtensions("fwidthFine",             1, &E_GL_KHR_compute_shader_derivatives);
10464|      0|                symbolTable.setFunctionExtensions("dFdxCoarse",             1, &E_GL_KHR_compute_shader_derivatives);
10465|      0|                symbolTable.setFunctionExtensions("dFdyCoarse",             1, &E_GL_KHR_compute_shader_derivatives);
10466|      0|                symbolTable.setFunctionExtensions("fwidthCoarse",           1, &E_GL_KHR_compute_shader_derivatives);
10467|      0|            }
10468|      2|        }
10469|       |
10470|      2|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10470:14): [True: 0, False: 2]
  |  Branch (10470:39): [True: 0, False: 0]
  ------------------
10471|      2|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10471:14): [True: 2, False: 0]
  |  Branch (10471:39): [True: 2, False: 0]
  ------------------
10472|      2|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10473|      2|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10474|      2|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10475|      2|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10476|      2|        }
10477|       |
10478|      2|        if ((profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10478:14): [True: 2, False: 0]
  |  Branch (10478:39): [True: 0, False: 2]
  ------------------
10479|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexPositionNV", 1, &E_GL_NV_displacement_micromap);
10480|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexBarycentricNV", 1, &E_GL_NV_displacement_micromap);
10481|      0|        }
10482|       |
10483|       |        // GL_EXT_integer_dot_product
10484|      2|        if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (10484:14): [True: 0, False: 2]
  |  Branch (10484:39): [True: 0, False: 0]
  ------------------
10485|      2|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10485:14): [True: 2, False: 0]
  |  Branch (10485:39): [True: 2, False: 0]
  ------------------
10486|      2|            symbolTable.setFunctionExtensions("dotEXT", 1, &E_GL_EXT_integer_dot_product);
10487|      2|            symbolTable.setFunctionExtensions("dotPacked4x8EXT", 1, &E_GL_EXT_integer_dot_product);
10488|      2|            symbolTable.setFunctionExtensions("dotAccSatEXT", 1, &E_GL_EXT_integer_dot_product);
10489|      2|            symbolTable.setFunctionExtensions("dotPacked4x8AccSatEXT", 1, &E_GL_EXT_integer_dot_product);
10490|      2|        }
10491|       |
10492|      2|        {
10493|      2|            symbolTable.setFunctionExtensions("bfloat16BitsToIntEXT", 1, &E_GL_EXT_bfloat16);
10494|      2|            symbolTable.setFunctionExtensions("bfloat16BitsToUintEXT", 1, &E_GL_EXT_bfloat16);
10495|      2|            symbolTable.setFunctionExtensions("intBitsToBFloat16EXT", 1, &E_GL_EXT_bfloat16);
10496|      2|            symbolTable.setFunctionExtensions("uintBitsToBFloat16EXT", 1, &E_GL_EXT_bfloat16);
10497|       |
10498|      2|            symbolTable.setFunctionExtensions("floate5m2BitsToIntEXT", 1, &E_GL_EXT_float_e5m2);
10499|      2|            symbolTable.setFunctionExtensions("floate5m2BitsToUintEXT", 1, &E_GL_EXT_float_e5m2);
10500|      2|            symbolTable.setFunctionExtensions("intBitsToFloate5m2EXT", 1, &E_GL_EXT_float_e5m2);
10501|      2|            symbolTable.setFunctionExtensions("uintBitsToFloate5m2EXT", 1, &E_GL_EXT_float_e5m2);
10502|       |
10503|      2|            symbolTable.setFunctionExtensions("floate4m3BitsToIntEXT", 1, &E_GL_EXT_float_e4m3);
10504|      2|            symbolTable.setFunctionExtensions("floate4m3BitsToUintEXT", 1, &E_GL_EXT_float_e4m3);
10505|      2|            symbolTable.setFunctionExtensions("intBitsToFloate4m3EXT", 1, &E_GL_EXT_float_e4m3);
10506|      2|            symbolTable.setFunctionExtensions("uintBitsToFloate4m3EXT", 1, &E_GL_EXT_float_e4m3);
10507|       |
10508|      2|            const char *float8exts[] = {E_GL_EXT_float_e5m2, E_GL_EXT_float_e4m3};
10509|      2|            symbolTable.setFunctionExtensions("saturatedConvertEXT", 2, float8exts);
10510|       |
10511|      2|            symbolTable.setFunctionExtensions("floatue8m0BitsToIntEXT", 1, &E_GL_EXT_float_ue8m0);
10512|      2|            symbolTable.setFunctionExtensions("floatue8m0BitsToUintEXT", 1, &E_GL_EXT_float_ue8m0);
10513|      2|            symbolTable.setFunctionExtensions("intBitsToFloatue8m0EXT", 1, &E_GL_EXT_float_ue8m0);
10514|      2|            symbolTable.setFunctionExtensions("uintBitsToFloatue8m0EXT", 1, &E_GL_EXT_float_ue8m0);
10515|       |
10516|      2|            symbolTable.setFunctionExtensions("floatmxint8BitsToIntEXT", 1, &E_GL_EXT_float_mxint8);
10517|      2|            symbolTable.setFunctionExtensions("floatmxint8BitsToUintEXT", 1, &E_GL_EXT_float_mxint8);
10518|      2|            symbolTable.setFunctionExtensions("intBitsToFloatmxint8EXT", 1, &E_GL_EXT_float_mxint8);
10519|      2|            symbolTable.setFunctionExtensions("uintBitsToFloatmxint8EXT", 1, &E_GL_EXT_float_mxint8);
10520|       |
10521|      2|            symbolTable.setFunctionExtensions("unpackFloat2xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10522|      2|            symbolTable.setFunctionExtensions("unpackFloat4xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10523|      2|            symbolTable.setFunctionExtensions("unpackFloat8xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10524|      2|            symbolTable.setFunctionExtensions("unpackFloat16xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10525|      2|            symbolTable.setFunctionExtensions("packFloat2xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10526|      2|            symbolTable.setFunctionExtensions("packFloat4xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10527|      2|            symbolTable.setFunctionExtensions("packFloat8xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10528|      2|            symbolTable.setFunctionExtensions("packFloat16xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10529|       |
10530|      2|            symbolTable.setFunctionExtensions("unpackFloat4xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10531|      2|            symbolTable.setFunctionExtensions("unpackFloat8xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10532|      2|            symbolTable.setFunctionExtensions("unpackFloat16xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10533|      2|            symbolTable.setFunctionExtensions("packFloat4xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10534|      2|            symbolTable.setFunctionExtensions("packFloat8xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10535|      2|            symbolTable.setFunctionExtensions("packFloat16xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10536|       |
10537|      2|            symbolTable.setFunctionExtensions("unpackFloat4xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10538|      2|            symbolTable.setFunctionExtensions("unpackFloat8xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10539|      2|            symbolTable.setFunctionExtensions("unpackFloat16xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10540|      2|            symbolTable.setFunctionExtensions("packFloat4xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10541|      2|            symbolTable.setFunctionExtensions("packFloat8xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10542|      2|            symbolTable.setFunctionExtensions("packFloat16xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10543|       |
10544|      2|            symbolTable.setFunctionExtensions("bitcastExtractfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10545|      2|            symbolTable.setFunctionExtensions("bitcastExtractfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10546|      2|            symbolTable.setFunctionExtensions("bitcastExtractfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10547|      2|        }
10548|       |
10549|       |        // E_SPV_QCOM_tile_shading
10550|      2|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10550:14): [True: 0, False: 2]
  |  Branch (10550:39): [True: 0, False: 0]
  ------------------
10551|      2|            (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10551:14): [True: 2, False: 0]
  |  Branch (10551:39): [True: 0, False: 2]
  ------------------
10552|      0|            BuiltInVariable("gl_TileOffsetQCOM",        EbvTileOffsetQCOM,      symbolTable);
10553|      0|            BuiltInVariable("gl_TileDimensionQCOM",     EbvTileDimensionQCOM,   symbolTable);
10554|      0|            BuiltInVariable("gl_TileApronSizeQCOM",     EbvTileApronSizeQCOM,   symbolTable);
10555|       |
10556|      0|            symbolTable.setVariableExtensions("gl_TileOffsetQCOM",        1, &E_GL_QCOM_tile_shading);
10557|      0|            symbolTable.setVariableExtensions("gl_TileDimensionQCOM",     1, &E_GL_QCOM_tile_shading);
10558|      0|            symbolTable.setVariableExtensions("gl_TileApronSizeQCOM",     1, &E_GL_QCOM_tile_shading);
10559|      0|        }
10560|      2|        break;
10561|       |
10562|      2|    case EShLangRayGen:
  ------------------
  |  Branch (10562:5): [True: 2, False: 94]
  ------------------
10563|      4|    case EShLangIntersect:
  ------------------
  |  Branch (10563:5): [True: 2, False: 94]
  ------------------
10564|      6|    case EShLangAnyHit:
  ------------------
  |  Branch (10564:5): [True: 2, False: 94]
  ------------------
10565|      8|    case EShLangClosestHit:
  ------------------
  |  Branch (10565:5): [True: 2, False: 94]
  ------------------
10566|     10|    case EShLangMiss:
  ------------------
  |  Branch (10566:5): [True: 2, False: 94]
  ------------------
10567|     12|    case EShLangCallable:
  ------------------
  |  Branch (10567:5): [True: 2, False: 94]
  ------------------
10568|     12|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (10568:13): [True: 12, False: 0]
  |  Branch (10568:38): [True: 0, False: 12]
  ------------------
10569|      0|            const char *rtexts[] = { E_GL_NV_ray_tracing, E_GL_EXT_ray_tracing };
10570|      0|            symbolTable.setVariableExtensions("gl_LaunchIDNV", 1, &E_GL_NV_ray_tracing);
10571|      0|            symbolTable.setVariableExtensions("gl_LaunchIDEXT", 1, &E_GL_EXT_ray_tracing);
10572|      0|            symbolTable.setVariableExtensions("gl_LaunchSizeNV", 1, &E_GL_NV_ray_tracing);
10573|      0|            symbolTable.setVariableExtensions("gl_LaunchSizeEXT", 1, &E_GL_EXT_ray_tracing);
10574|      0|            symbolTable.setVariableExtensions("gl_PrimitiveID", 2, rtexts);
10575|      0|            symbolTable.setVariableExtensions("gl_InstanceID", 2, rtexts);
10576|      0|            symbolTable.setVariableExtensions("gl_InstanceCustomIndexNV", 1, &E_GL_NV_ray_tracing);
10577|      0|            symbolTable.setVariableExtensions("gl_InstanceCustomIndexEXT", 1, &E_GL_EXT_ray_tracing);
10578|      0|            symbolTable.setVariableExtensions("gl_GeometryIndexEXT", 1, &E_GL_EXT_ray_tracing);
10579|      0|            symbolTable.setVariableExtensions("gl_WorldRayOriginNV", 1, &E_GL_NV_ray_tracing);
10580|      0|            symbolTable.setVariableExtensions("gl_WorldRayOriginEXT", 1, &E_GL_EXT_ray_tracing);
10581|      0|            symbolTable.setVariableExtensions("gl_WorldRayDirectionNV", 1, &E_GL_NV_ray_tracing);
10582|      0|            symbolTable.setVariableExtensions("gl_WorldRayDirectionEXT", 1, &E_GL_EXT_ray_tracing);
10583|      0|            symbolTable.setVariableExtensions("gl_ObjectRayOriginNV", 1, &E_GL_NV_ray_tracing);
10584|      0|            symbolTable.setVariableExtensions("gl_ObjectRayOriginEXT", 1, &E_GL_EXT_ray_tracing);
10585|      0|            symbolTable.setVariableExtensions("gl_ObjectRayDirectionNV", 1, &E_GL_NV_ray_tracing);
10586|      0|            symbolTable.setVariableExtensions("gl_ObjectRayDirectionEXT", 1, &E_GL_EXT_ray_tracing);
10587|      0|            symbolTable.setVariableExtensions("gl_RayTminNV", 1, &E_GL_NV_ray_tracing);
10588|      0|            symbolTable.setVariableExtensions("gl_RayTminEXT", 1, &E_GL_EXT_ray_tracing);
10589|      0|            symbolTable.setVariableExtensions("gl_RayTmaxNV", 1, &E_GL_NV_ray_tracing);
10590|      0|            symbolTable.setVariableExtensions("gl_RayTmaxEXT", 1, &E_GL_EXT_ray_tracing);
10591|      0|            symbolTable.setVariableExtensions("gl_CullMaskEXT", 1, &E_GL_EXT_ray_cull_mask);
10592|      0|            symbolTable.setVariableExtensions("gl_HitTNV", 1, &E_GL_NV_ray_tracing);
10593|      0|            symbolTable.setVariableExtensions("gl_HitTEXT", 1, &E_GL_EXT_ray_tracing);
10594|      0|            symbolTable.setVariableExtensions("gl_HitKindNV", 1, &E_GL_NV_ray_tracing);
10595|      0|            symbolTable.setVariableExtensions("gl_HitKindEXT", 1, &E_GL_EXT_ray_tracing);
10596|      0|            symbolTable.setVariableExtensions("gl_ObjectToWorldNV", 1, &E_GL_NV_ray_tracing);
10597|      0|            symbolTable.setVariableExtensions("gl_ObjectToWorldEXT", 1, &E_GL_EXT_ray_tracing);
10598|      0|            symbolTable.setVariableExtensions("gl_ObjectToWorld3x4EXT", 1, &E_GL_EXT_ray_tracing);
10599|      0|            symbolTable.setVariableExtensions("gl_WorldToObjectNV", 1, &E_GL_NV_ray_tracing);
10600|      0|            symbolTable.setVariableExtensions("gl_WorldToObjectEXT", 1, &E_GL_EXT_ray_tracing);
10601|      0|            symbolTable.setVariableExtensions("gl_WorldToObject3x4EXT", 1, &E_GL_EXT_ray_tracing);
10602|      0|            symbolTable.setVariableExtensions("gl_IncomingRayFlagsNV", 1, &E_GL_NV_ray_tracing);
10603|      0|            symbolTable.setVariableExtensions("gl_IncomingRayFlagsEXT", 1, &E_GL_EXT_ray_tracing);
10604|      0|            symbolTable.setVariableExtensions("gl_CurrentRayTimeNV", 1, &E_GL_NV_ray_tracing_motion_blur);
10605|      0|            symbolTable.setVariableExtensions("gl_HitTriangleVertexPositionsEXT", 1, &E_GL_EXT_ray_tracing_position_fetch);
10606|      0|            symbolTable.setVariableExtensions("gl_HitMicroTriangleVertexPositionsNV", 1, &E_GL_NV_displacement_micromap);
10607|      0|            symbolTable.setVariableExtensions("gl_HitMicroTriangleVertexBarycentricsNV", 1, &E_GL_NV_displacement_micromap);
10608|      0|            symbolTable.setVariableExtensions("gl_ClusterIDNV", 1, &E_GL_NV_cluster_acceleration_structure);
10609|      0|            symbolTable.setVariableExtensions("gl_HitKindSphereNV", 1, &E_GL_NV_linear_swept_spheres);
10610|      0|            symbolTable.setVariableExtensions("gl_HitKindLSSNV", 1, &E_GL_NV_linear_swept_spheres);
10611|      0|            symbolTable.setVariableExtensions("gl_HitSpherePositionNV", 1, &E_GL_NV_linear_swept_spheres);
10612|      0|            symbolTable.setVariableExtensions("gl_HitSphereRadiusNV", 1, &E_GL_NV_linear_swept_spheres);
10613|      0|            symbolTable.setVariableExtensions("gl_HitLSSPositionNV", 1, &E_GL_NV_linear_swept_spheres);
10614|      0|            symbolTable.setVariableExtensions("gl_HitLSSRadiiNV", 1, &E_GL_NV_linear_swept_spheres);
10615|       |
10616|      0|            symbolTable.setVariableExtensions("gl_DeviceIndex", 1, &E_GL_EXT_device_group);
10617|       |
10618|       |
10619|      0|            symbolTable.setFunctionExtensions("traceNV", 1, &E_GL_NV_ray_tracing);
10620|      0|            symbolTable.setFunctionExtensions("traceRayMotionNV", 1, &E_GL_NV_ray_tracing_motion_blur);
10621|      0|            symbolTable.setFunctionExtensions("traceRayEXT", 1, &E_GL_EXT_ray_tracing);
10622|      0|            symbolTable.setFunctionExtensions("reportIntersectionNV", 1, &E_GL_NV_ray_tracing);
10623|      0|            symbolTable.setFunctionExtensions("reportIntersectionEXT", 1, &E_GL_EXT_ray_tracing);
10624|      0|            symbolTable.setFunctionExtensions("ignoreIntersectionNV", 1, &E_GL_NV_ray_tracing);
10625|      0|            symbolTable.setFunctionExtensions("terminateRayNV", 1, &E_GL_NV_ray_tracing);
10626|      0|            symbolTable.setFunctionExtensions("executeCallableNV", 1, &E_GL_NV_ray_tracing);
10627|      0|            symbolTable.setFunctionExtensions("executeCallableEXT", 1, &E_GL_EXT_ray_tracing);
10628|       |
10629|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayNV", 1, &E_GL_NV_shader_invocation_reorder);
10630|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10631|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitNV", 1, &E_GL_NV_shader_invocation_reorder);
10632|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10633|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitWithIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10634|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitWithIndexMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10635|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissNV", 1, &E_GL_NV_shader_invocation_reorder);
10636|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10637|      0|            symbolTable.setFunctionExtensions("hitObjectRecordEmptyNV", 1, &E_GL_NV_shader_invocation_reorder);
10638|      0|            symbolTable.setFunctionExtensions("hitObjectExecuteShaderNV", 1, &E_GL_NV_shader_invocation_reorder);
10639|      0|            symbolTable.setFunctionExtensions("hitObjectIsEmptyNV", 1, &E_GL_NV_shader_invocation_reorder);
10640|      0|            symbolTable.setFunctionExtensions("hitObjectIsMissNV", 1, &E_GL_NV_shader_invocation_reorder);
10641|      0|            symbolTable.setFunctionExtensions("hitObjectIsHitNV", 1, &E_GL_NV_shader_invocation_reorder);
10642|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMinNV", 1, &E_GL_NV_shader_invocation_reorder);
10643|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMaxNV", 1, &E_GL_NV_shader_invocation_reorder);
10644|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayOriginNV", 1, &E_GL_NV_shader_invocation_reorder);
10645|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayDirectionNV", 1, &E_GL_NV_shader_invocation_reorder);
10646|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayOriginNV", 1, &E_GL_NV_shader_invocation_reorder);
10647|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayDirectionNV", 1, &E_GL_NV_shader_invocation_reorder);
10648|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldToObjectNV", 1, &E_GL_NV_shader_invocation_reorder);
10649|      0|            symbolTable.setFunctionExtensions("hitObjectGetbjectToWorldNV", 1, &E_GL_NV_shader_invocation_reorder);
10650|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceCustomIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10651|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceIdNV", 1, &E_GL_NV_shader_invocation_reorder);
10652|      0|            symbolTable.setFunctionExtensions("hitObjectGetGeometryIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10653|      0|            symbolTable.setFunctionExtensions("hitObjectGetPrimitiveIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10654|      0|            symbolTable.setFunctionExtensions("hitObjectGetHitKindNV", 1, &E_GL_NV_shader_invocation_reorder);
10655|      0|            symbolTable.setFunctionExtensions("hitObjectGetAttributesNV", 1, &E_GL_NV_shader_invocation_reorder);
10656|      0|            symbolTable.setFunctionExtensions("hitObjectGetCurrentTimeNV", 1, &E_GL_NV_shader_invocation_reorder);
10657|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderBindingTableRecordIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10658|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderRecordBufferHandleNV", 1, &E_GL_NV_shader_invocation_reorder);
10659|      0|            symbolTable.setFunctionExtensions("hitObjectGetClusterIdNV", 1, &E_GL_NV_cluster_acceleration_structure);
10660|      0|            symbolTable.setFunctionExtensions("reorderThreadNV", 1, &E_GL_NV_shader_invocation_reorder);
10661|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexPositionNV", 1, &E_GL_NV_displacement_micromap);
10662|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexBarycentricNV", 1, &E_GL_NV_displacement_micromap);
10663|      0|            symbolTable.setFunctionExtensions("hitObjectGetSpherePositionNV", 1, &E_GL_NV_linear_swept_spheres);
10664|      0|            symbolTable.setFunctionExtensions("hitObjectGetSphereRadiusNV", 1, &E_GL_NV_linear_swept_spheres);
10665|      0|            symbolTable.setFunctionExtensions("hitObjectGetLSSPositionsNV", 1, &E_GL_NV_linear_swept_spheres);
10666|      0|            symbolTable.setFunctionExtensions("hitObjectGetLSSRadiiNV", 1, &E_GL_NV_linear_swept_spheres);
10667|      0|            symbolTable.setFunctionExtensions("hitObjectIsSphereHitNV", 1, &E_GL_NV_linear_swept_spheres);
10668|      0|            symbolTable.setFunctionExtensions("hitObjectIsLSSHitNV", 1, &E_GL_NV_linear_swept_spheres);
10669|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10670|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayMotionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10671|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10672|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissMotionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10673|      0|            symbolTable.setFunctionExtensions("hitObjectRecordEmptyEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10674|      0|            symbolTable.setFunctionExtensions("hitObjectExecuteShaderEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10675|      0|            symbolTable.setFunctionExtensions("hitObjectIsEmptyEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10676|      0|            symbolTable.setFunctionExtensions("hitObjectIsMissEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10677|      0|            symbolTable.setFunctionExtensions("hitObjectIsHitEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10678|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMinEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10679|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMaxEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10680|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayFlagsEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10681|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayOriginEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10682|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayDirectionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10683|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayOriginEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10684|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayDirectionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10685|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldToObjectEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10686|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectToWorldEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10687|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceCustomIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10688|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceIdEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10689|      0|            symbolTable.setFunctionExtensions("hitObjectGetGeometryIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10690|      0|            symbolTable.setFunctionExtensions("hitObjectGetPrimitiveIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10691|      0|            symbolTable.setFunctionExtensions("hitObjectGetHitKindEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10692|      0|            symbolTable.setFunctionExtensions("hitObjectGetAttributesEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10693|      0|            symbolTable.setFunctionExtensions("hitObjectGetCurrentTimeEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10694|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderBindingTableRecordIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10695|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderRecordBufferHandleEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10696|      0|            symbolTable.setFunctionExtensions("hitObjectSetShaderBindingTableRecordIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10697|      0|            symbolTable.setFunctionExtensions("reorderThreadEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10698|      0|            symbolTable.setFunctionExtensions("hitObjectReorderExecuteEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10699|      0|            symbolTable.setFunctionExtensions("hitObjectTraceReorderExecuteEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10700|      0|            symbolTable.setFunctionExtensions("hitObjectTraceMotionReorderExecuteEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10701|      0|            symbolTable.setFunctionExtensions("hitObjectRecordFromQueryEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10702|      0|            symbolTable.setFunctionExtensions("hitObjectGetIntersectionTriangleVertexPositionsEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10703|       |
10704|       |
10705|      0|            BuiltInVariable("gl_LaunchIDNV",             EbvLaunchId,           symbolTable);
10706|      0|            BuiltInVariable("gl_LaunchIDEXT",            EbvLaunchId,           symbolTable);
10707|      0|            BuiltInVariable("gl_LaunchSizeNV",           EbvLaunchSize,         symbolTable);
10708|      0|            BuiltInVariable("gl_LaunchSizeEXT",          EbvLaunchSize,         symbolTable);
10709|      0|            BuiltInVariable("gl_PrimitiveID",            EbvPrimitiveId,        symbolTable);
10710|      0|            BuiltInVariable("gl_InstanceID",             EbvInstanceId,         symbolTable);
10711|      0|            BuiltInVariable("gl_InstanceCustomIndexNV",  EbvInstanceCustomIndex,symbolTable);
10712|      0|            BuiltInVariable("gl_InstanceCustomIndexEXT", EbvInstanceCustomIndex,symbolTable);
10713|      0|            BuiltInVariable("gl_GeometryIndexEXT",       EbvGeometryIndex,      symbolTable);
10714|      0|            BuiltInVariable("gl_WorldRayOriginNV",       EbvWorldRayOrigin,     symbolTable);
10715|      0|            BuiltInVariable("gl_WorldRayOriginEXT",      EbvWorldRayOrigin,     symbolTable);
10716|      0|            BuiltInVariable("gl_WorldRayDirectionNV",    EbvWorldRayDirection,  symbolTable);
10717|      0|            BuiltInVariable("gl_WorldRayDirectionEXT",   EbvWorldRayDirection,  symbolTable);
10718|      0|            BuiltInVariable("gl_ObjectRayOriginNV",      EbvObjectRayOrigin,    symbolTable);
10719|      0|            BuiltInVariable("gl_ObjectRayOriginEXT",     EbvObjectRayOrigin,    symbolTable);
10720|      0|            BuiltInVariable("gl_ObjectRayDirectionNV",   EbvObjectRayDirection, symbolTable);
10721|      0|            BuiltInVariable("gl_ObjectRayDirectionEXT",  EbvObjectRayDirection, symbolTable);
10722|      0|            BuiltInVariable("gl_RayTminNV",              EbvRayTmin,            symbolTable);
10723|      0|            BuiltInVariable("gl_RayTminEXT",             EbvRayTmin,            symbolTable);
10724|      0|            BuiltInVariable("gl_RayTmaxNV",              EbvRayTmax,            symbolTable);
10725|      0|            BuiltInVariable("gl_RayTmaxEXT",             EbvRayTmax,            symbolTable);
10726|      0|            BuiltInVariable("gl_CullMaskEXT",            EbvCullMask,           symbolTable);
10727|      0|            BuiltInVariable("gl_HitKindNV",              EbvHitKind,            symbolTable);
10728|      0|            BuiltInVariable("gl_HitKindEXT",             EbvHitKind,            symbolTable);
10729|      0|            BuiltInVariable("gl_ObjectToWorldNV",        EbvObjectToWorld,      symbolTable);
10730|      0|            BuiltInVariable("gl_ObjectToWorldEXT",       EbvObjectToWorld,      symbolTable);
10731|      0|            BuiltInVariable("gl_ObjectToWorld3x4EXT",    EbvObjectToWorld3x4,   symbolTable);
10732|      0|            BuiltInVariable("gl_WorldToObjectNV",        EbvWorldToObject,      symbolTable);
10733|      0|            BuiltInVariable("gl_WorldToObjectEXT",       EbvWorldToObject,      symbolTable);
10734|      0|            BuiltInVariable("gl_WorldToObject3x4EXT",    EbvWorldToObject3x4,   symbolTable);
10735|      0|            BuiltInVariable("gl_IncomingRayFlagsNV",     EbvIncomingRayFlags,   symbolTable);
10736|      0|            BuiltInVariable("gl_IncomingRayFlagsEXT",    EbvIncomingRayFlags,   symbolTable);
10737|      0|            BuiltInVariable("gl_DeviceIndex",            EbvDeviceIndex,        symbolTable);
10738|      0|            BuiltInVariable("gl_CurrentRayTimeNV",       EbvCurrentRayTimeNV,   symbolTable);
10739|      0|            BuiltInVariable("gl_HitTriangleVertexPositionsEXT", EbvPositionFetch, symbolTable);
10740|      0|            BuiltInVariable("gl_HitMicroTriangleVertexPositionsNV", EbvMicroTrianglePositionNV, symbolTable);
10741|      0|            BuiltInVariable("gl_HitMicroTriangleVertexBarycentricsNV", EbvMicroTriangleBaryNV, symbolTable);
10742|      0|            BuiltInVariable("gl_HitKindFrontFacingMicroTriangleNV", EbvHitKindFrontFacingMicroTriangleNV, symbolTable);
10743|      0|            BuiltInVariable("gl_HitKindBackFacingMicroTriangleNV", EbvHitKindBackFacingMicroTriangleNV, symbolTable);
10744|      0|            BuiltInVariable("gl_ClusterIDNV",            EbvClusterIDNV,         symbolTable);
10745|      0|            BuiltInVariable("gl_HitIsSphereNV", EbvHitIsSphereNV, symbolTable);
10746|      0|            BuiltInVariable("gl_HitIsLSSNV", EbvHitIsLSSNV, symbolTable);
10747|      0|            BuiltInVariable("gl_HitSpherePositionNV", EbvHitSpherePositionNV, symbolTable);
10748|      0|            BuiltInVariable("gl_HitSphereRadiusNV", EbvHitSphereRadiusNV, symbolTable);
10749|      0|            BuiltInVariable("gl_HitLSSPositionsNV", EbvHitLSSPositionsNV, symbolTable);
10750|      0|            BuiltInVariable("gl_HitLSSRadiiNV", EbvHitLSSRadiiNV, symbolTable);
10751|       |
10752|       |            // gl_HitT variables are aliases of their gl_RayTmax counterparts.
10753|      0|            RetargetVariable("gl_HitTNV",                "gl_RayTmaxNV",        symbolTable);
10754|      0|            RetargetVariable("gl_HitTEXT",               "gl_RayTmaxEXT",       symbolTable);
10755|       |
10756|       |            // GL_ARB_shader_ballot
10757|      0|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10758|      0|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10759|      0|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10760|      0|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10761|      0|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10762|      0|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10763|      0|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10764|       |
10765|      0|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10766|      0|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10767|      0|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10768|      0|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10769|      0|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10770|      0|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10771|       |
10772|      0|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10772:17): [True: 0, False: 0]
  ------------------
10773|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10774|      0|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10775|      0|                if (language == EShLangFragment)
  ------------------
  |  Branch (10775:21): [True: 0, False: 0]
  ------------------
10776|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10777|      0|            }
10778|      0|            else
10779|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10780|       |
10781|       |            // GL_KHR_shader_subgroup
10782|      0|            symbolTable.setVariableExtensions("gl_NumSubgroups",         1, &E_GL_KHR_shader_subgroup_basic);
10783|      0|            symbolTable.setVariableExtensions("gl_SubgroupID",           1, &E_GL_KHR_shader_subgroup_basic);
10784|      0|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10785|      0|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10786|      0|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10787|      0|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10788|      0|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10789|      0|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10790|      0|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10791|       |
10792|      0|            BuiltInVariable("gl_NumSubgroups",         EbvNumSubgroups,        symbolTable);
10793|      0|            BuiltInVariable("gl_SubgroupID",           EbvSubgroupID,          symbolTable);
10794|      0|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10795|      0|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10796|      0|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10797|      0|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10798|      0|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10799|      0|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10800|      0|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10801|       |
10802|       |            // GL_NV_shader_sm_builtins
10803|      0|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10804|      0|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10805|      0|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10806|      0|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10807|      0|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10808|      0|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10809|      0|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10810|      0|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10811|       |
10812|       |            // GL_ARM_shader_core_builtins
10813|      0|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10814|      0|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10815|      0|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10816|      0|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10817|      0|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10818|       |
10819|      0|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10820|      0|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10821|      0|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10822|      0|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10823|      0|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10824|      0|        }
10825|     12|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10825:14): [True: 0, False: 12]
  |  Branch (10825:39): [True: 0, False: 0]
  ------------------
10826|     12|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10826:14): [True: 12, False: 0]
  |  Branch (10826:39): [True: 12, False: 0]
  ------------------
10827|     12|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10828|     12|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10829|     12|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10830|     12|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10831|     12|        }
10832|     12|        break;
10833|       |
10834|      2|    case EShLangMesh:
  ------------------
  |  Branch (10834:5): [True: 2, False: 94]
  ------------------
10835|      2|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (10835:14): [True: 2, False: 0]
  |  Branch (10835:39): [True: 2, False: 0]
  |  Branch (10835:59): [True: 0, False: 0]
  |  Branch (10835:84): [True: 0, False: 0]
  ------------------
10836|       |            // per-vertex builtins
10837|      2|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_Position",     1, &E_GL_NV_mesh_shader);
10838|      2|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_PointSize",    1, &E_GL_NV_mesh_shader);
10839|      2|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_ClipDistance", 1, &E_GL_NV_mesh_shader);
10840|      2|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_CullDistance", 1, &E_GL_NV_mesh_shader);
10841|       |
10842|      2|            BuiltInVariable("gl_MeshVerticesNV", "gl_Position",     EbvPosition,     symbolTable);
10843|      2|            BuiltInVariable("gl_MeshVerticesNV", "gl_PointSize",    EbvPointSize,    symbolTable);
10844|      2|            BuiltInVariable("gl_MeshVerticesNV", "gl_ClipDistance", EbvClipDistance, symbolTable);
10845|      2|            BuiltInVariable("gl_MeshVerticesNV", "gl_CullDistance", EbvCullDistance, symbolTable);
10846|       |
10847|      2|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_PositionPerViewNV",     1, &E_GL_NV_mesh_shader);
10848|      2|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_ClipDistancePerViewNV", 1, &E_GL_NV_mesh_shader);
10849|      2|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_CullDistancePerViewNV", 1, &E_GL_NV_mesh_shader);
10850|       |
10851|      2|            BuiltInVariable("gl_MeshVerticesNV", "gl_PositionPerViewNV",     EbvPositionPerViewNV,     symbolTable);
10852|      2|            BuiltInVariable("gl_MeshVerticesNV", "gl_ClipDistancePerViewNV", EbvClipDistancePerViewNV, symbolTable);
10853|      2|            BuiltInVariable("gl_MeshVerticesNV", "gl_CullDistancePerViewNV", EbvCullDistancePerViewNV, symbolTable);
10854|       |
10855|       |            // per-primitive builtins
10856|      2|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_PrimitiveID",   1, &E_GL_NV_mesh_shader);
10857|      2|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_Layer",         1, &E_GL_NV_mesh_shader);
10858|      2|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_ViewportIndex", 1, &E_GL_NV_mesh_shader);
10859|      2|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_ViewportMask",  1, &E_GL_NV_mesh_shader);
10860|       |
10861|      2|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_PrimitiveID",   EbvPrimitiveId,    symbolTable);
10862|      2|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_Layer",         EbvLayer,          symbolTable);
10863|      2|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_ViewportIndex", EbvViewportIndex,  symbolTable);
10864|      2|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_ViewportMask",  EbvViewportMaskNV, symbolTable);
10865|       |
10866|       |            // per-view per-primitive builtins
10867|      2|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_LayerPerViewNV",        1, &E_GL_NV_mesh_shader);
10868|      2|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_ViewportMaskPerViewNV", 1, &E_GL_NV_mesh_shader);
10869|       |
10870|      2|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_LayerPerViewNV",        EbvLayerPerViewNV,        symbolTable);
10871|      2|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_ViewportMaskPerViewNV", EbvViewportMaskPerViewNV, symbolTable);
10872|       |
10873|       |            // other builtins
10874|      2|            symbolTable.setVariableExtensions("gl_PrimitiveCountNV",     1, &E_GL_NV_mesh_shader);
10875|      2|            symbolTable.setVariableExtensions("gl_PrimitiveIndicesNV",   1, &E_GL_NV_mesh_shader);
10876|      2|            symbolTable.setVariableExtensions("gl_MeshViewCountNV",      1, &E_GL_NV_mesh_shader);
10877|      2|            symbolTable.setVariableExtensions("gl_MeshViewIndicesNV",    1, &E_GL_NV_mesh_shader);
10878|      2|            if (profile != EEsProfile) {
  ------------------
  |  Branch (10878:17): [True: 2, False: 0]
  ------------------
10879|      2|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        Num_AEP_mesh_shader, AEP_mesh_shader);
10880|      2|                symbolTable.setVariableExtensions("gl_WorkGroupID",          Num_AEP_mesh_shader, AEP_mesh_shader);
10881|      2|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    Num_AEP_mesh_shader, AEP_mesh_shader);
10882|      2|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   Num_AEP_mesh_shader, AEP_mesh_shader);
10883|      2|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", Num_AEP_mesh_shader, AEP_mesh_shader);
10884|      2|            } else {
10885|      0|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        1, &E_GL_NV_mesh_shader);
10886|      0|                symbolTable.setVariableExtensions("gl_WorkGroupID",          1, &E_GL_NV_mesh_shader);
10887|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    1, &E_GL_NV_mesh_shader);
10888|      0|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   1, &E_GL_NV_mesh_shader);
10889|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", 1, &E_GL_NV_mesh_shader);
10890|      0|            }
10891|      2|            BuiltInVariable("gl_PrimitiveCountNV",     EbvPrimitiveCountNV,     symbolTable);
10892|      2|            BuiltInVariable("gl_PrimitiveIndicesNV",   EbvPrimitiveIndicesNV,   symbolTable);
10893|      2|            BuiltInVariable("gl_MeshViewCountNV",      EbvMeshViewCountNV,      symbolTable);
10894|      2|            BuiltInVariable("gl_MeshViewIndicesNV",    EbvMeshViewIndicesNV,    symbolTable);
10895|      2|            BuiltInVariable("gl_WorkGroupSize",        EbvWorkGroupSize,        symbolTable);
10896|      2|            BuiltInVariable("gl_WorkGroupID",          EbvWorkGroupId,          symbolTable);
10897|      2|            BuiltInVariable("gl_LocalInvocationID",    EbvLocalInvocationId,    symbolTable);
10898|      2|            BuiltInVariable("gl_GlobalInvocationID",   EbvGlobalInvocationId,   symbolTable);
10899|      2|            BuiltInVariable("gl_LocalInvocationIndex", EbvLocalInvocationIndex, symbolTable);
10900|       |
10901|       |            // builtin constants
10902|      2|            symbolTable.setVariableExtensions("gl_MaxMeshOutputVerticesNV",   1, &E_GL_NV_mesh_shader);
10903|      2|            symbolTable.setVariableExtensions("gl_MaxMeshOutputPrimitivesNV", 1, &E_GL_NV_mesh_shader);
10904|      2|            symbolTable.setVariableExtensions("gl_MaxMeshWorkGroupSizeNV",    1, &E_GL_NV_mesh_shader);
10905|      2|            symbolTable.setVariableExtensions("gl_MaxMeshViewCountNV",        1, &E_GL_NV_mesh_shader);
10906|       |
10907|       |            // builtin functions
10908|      2|            if (profile != EEsProfile) {
  ------------------
  |  Branch (10908:17): [True: 2, False: 0]
  ------------------
10909|      2|                symbolTable.setFunctionExtensions("barrier",                      Num_AEP_mesh_shader, AEP_mesh_shader);
10910|      2|                symbolTable.setFunctionExtensions("memoryBarrierShared",          Num_AEP_mesh_shader, AEP_mesh_shader);
10911|      2|                symbolTable.setFunctionExtensions("groupMemoryBarrier",           Num_AEP_mesh_shader, AEP_mesh_shader);
10912|      2|            } else {
10913|      0|                symbolTable.setFunctionExtensions("barrier",                      1, &E_GL_NV_mesh_shader);
10914|      0|                symbolTable.setFunctionExtensions("memoryBarrierShared",          1, &E_GL_NV_mesh_shader);
10915|      0|                symbolTable.setFunctionExtensions("groupMemoryBarrier",           1, &E_GL_NV_mesh_shader);
10916|      0|            }
10917|      2|            symbolTable.setFunctionExtensions("writePackedPrimitiveIndices4x8NV",  1, &E_GL_NV_mesh_shader);
10918|      2|        }
10919|       |
10920|      2|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (10920:13): [True: 2, False: 0]
  |  Branch (10920:38): [True: 2, False: 0]
  ------------------
10921|       |            // GL_EXT_Mesh_shader
10922|      2|            symbolTable.setVariableExtensions("gl_PrimitivePointIndicesEXT",    1, &E_GL_EXT_mesh_shader);
10923|      2|            symbolTable.setVariableExtensions("gl_PrimitiveLineIndicesEXT",     1, &E_GL_EXT_mesh_shader);
10924|      2|            symbolTable.setVariableExtensions("gl_PrimitiveTriangleIndicesEXT", 1, &E_GL_EXT_mesh_shader);
10925|      2|            symbolTable.setVariableExtensions("gl_NumWorkGroups",               1, &E_GL_EXT_mesh_shader);
10926|       |
10927|      2|            BuiltInVariable("gl_PrimitivePointIndicesEXT",    EbvPrimitivePointIndicesEXT,    symbolTable);
10928|      2|            BuiltInVariable("gl_PrimitiveLineIndicesEXT",     EbvPrimitiveLineIndicesEXT,     symbolTable);
10929|      2|            BuiltInVariable("gl_PrimitiveTriangleIndicesEXT", EbvPrimitiveTriangleIndicesEXT, symbolTable);
10930|      2|            BuiltInVariable("gl_NumWorkGroups",        EbvNumWorkGroups,        symbolTable);
10931|       |
10932|      2|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_Position",     1, &E_GL_EXT_mesh_shader);
10933|      2|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_PointSize",    1, &E_GL_EXT_mesh_shader);
10934|      2|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_ClipDistance", 1, &E_GL_EXT_mesh_shader);
10935|      2|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_CullDistance", 1, &E_GL_EXT_mesh_shader);
10936|       |            
10937|      2|            BuiltInVariable("gl_MeshVerticesEXT", "gl_Position",     EbvPosition,     symbolTable);
10938|      2|            BuiltInVariable("gl_MeshVerticesEXT", "gl_PointSize",    EbvPointSize,    symbolTable);
10939|      2|            BuiltInVariable("gl_MeshVerticesEXT", "gl_ClipDistance", EbvClipDistance, symbolTable);
10940|      2|            BuiltInVariable("gl_MeshVerticesEXT", "gl_CullDistance", EbvCullDistance, symbolTable);
10941|       |            
10942|      2|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_PrimitiveID",             1, &E_GL_EXT_mesh_shader);
10943|      2|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_Layer",                   1, &E_GL_EXT_mesh_shader);
10944|      2|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_ViewportIndex",           1, &E_GL_EXT_mesh_shader);
10945|      2|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_CullPrimitiveEXT",        1, &E_GL_EXT_mesh_shader);
10946|       |
10947|       |            // note: technically this member requires both GL_EXT_mesh_shader and GL_EXT_fragment_shading_rate
10948|       |            // since setVariableExtensions only needs *one of* the extensions to validate, it's more useful to specify EXT_fragment_shading_rate
10949|       |            // GL_EXT_mesh_shader will be required in practice by use of other fields of gl_MeshPrimitivesEXT
10950|      2|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_PrimitiveShadingRateEXT", 1, &E_GL_EXT_fragment_shading_rate);
10951|       |
10952|      2|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_PrimitiveID",              EbvPrimitiveId,    symbolTable);
10953|      2|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_Layer",                    EbvLayer,          symbolTable);
10954|      2|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_ViewportIndex",            EbvViewportIndex,  symbolTable);
10955|      2|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_CullPrimitiveEXT",         EbvCullPrimitiveEXT, symbolTable);
10956|      2|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_PrimitiveShadingRateEXT",  EbvPrimitiveShadingRateKHR, symbolTable);
10957|       |
10958|      2|            symbolTable.setFunctionExtensions("SetMeshOutputsEXT",  1, &E_GL_EXT_mesh_shader);
10959|       |
10960|       |            // GL_EXT_device_group
10961|      2|            symbolTable.setVariableExtensions("gl_DeviceIndex", 1, &E_GL_EXT_device_group);
10962|      2|            BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
10963|       |
10964|       |            // GL_ARB_shader_draw_parameters
10965|      2|            symbolTable.setVariableExtensions("gl_DrawIDARB", 1, &E_GL_ARB_shader_draw_parameters);
10966|      2|            BuiltInVariable("gl_DrawIDARB", EbvDrawId, symbolTable);
10967|      2|            if (version >= 460) {
  ------------------
  |  Branch (10967:17): [True: 0, False: 2]
  ------------------
10968|      0|                BuiltInVariable("gl_DrawID", EbvDrawId, symbolTable);
10969|      0|            }
10970|       |            // GL_EXT_multiview
10971|      2|            BuiltInVariable("gl_ViewIndex", EbvViewIndex, symbolTable);
10972|      2|            symbolTable.setVariableExtensions("gl_ViewIndex", 1, &E_GL_EXT_multiview);
10973|       |
10974|       |            // GL_ARB_shader_ballot
10975|      2|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10976|      2|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10977|      2|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10978|      2|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10979|      2|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10980|      2|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10981|      2|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10982|       |
10983|      2|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10984|      2|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10985|      2|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10986|      2|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10987|      2|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10988|      2|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10989|       |
10990|      2|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10990:17): [True: 0, False: 2]
  ------------------
10991|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10992|      0|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10993|      0|                if (language == EShLangFragment)
  ------------------
  |  Branch (10993:21): [True: 0, False: 0]
  ------------------
10994|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10995|      0|            }
10996|      2|            else
10997|      2|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10998|      2|        }
10999|       |
11000|       |        // GL_KHR_shader_subgroup
11001|      2|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11001:14): [True: 0, False: 2]
  |  Branch (11001:39): [True: 0, False: 0]
  ------------------
11002|      2|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11002:14): [True: 2, False: 0]
  |  Branch (11002:39): [True: 2, False: 0]
  ------------------
11003|      2|            symbolTable.setVariableExtensions("gl_NumSubgroups",         1, &E_GL_KHR_shader_subgroup_basic);
11004|      2|            symbolTable.setVariableExtensions("gl_SubgroupID",           1, &E_GL_KHR_shader_subgroup_basic);
11005|      2|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
11006|      2|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
11007|      2|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11008|      2|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11009|      2|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11010|      2|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11011|      2|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11012|       |
11013|      2|            BuiltInVariable("gl_NumSubgroups",         EbvNumSubgroups,        symbolTable);
11014|      2|            BuiltInVariable("gl_SubgroupID",           EbvSubgroupID,          symbolTable);
11015|      2|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
11016|      2|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
11017|      2|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
11018|      2|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
11019|      2|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
11020|      2|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
11021|      2|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
11022|       |
11023|      2|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierShared", 1, &E_GL_KHR_shader_subgroup_basic);
11024|       |
11025|       |            // GL_NV_shader_sm_builtins
11026|      2|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
11027|      2|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
11028|      2|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
11029|      2|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
11030|      2|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
11031|      2|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
11032|      2|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
11033|      2|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
11034|       |
11035|       |            // GL_ARM_shader_core_builtins
11036|      2|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
11037|      2|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
11038|      2|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
11039|      2|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
11040|      2|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
11041|       |
11042|      2|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
11043|      2|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
11044|      2|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
11045|      2|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
11046|      2|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
11047|      2|        }
11048|       |
11049|      2|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11049:14): [True: 0, False: 2]
  |  Branch (11049:39): [True: 0, False: 0]
  ------------------
11050|      2|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11050:14): [True: 2, False: 0]
  |  Branch (11050:39): [True: 2, False: 0]
  ------------------
11051|      2|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11052|      2|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11053|      2|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11054|      2|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11055|      2|        }
11056|       |
11057|       |        // Builtins for GL_NV_displacment_micromap
11058|      2|        if ((profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (11058:14): [True: 2, False: 0]
  |  Branch (11058:39): [True: 0, False: 2]
  ------------------
11059|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexPositionNV", 1, &E_GL_NV_displacement_micromap);
11060|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexBarycentricNV", 1, &E_GL_NV_displacement_micromap);
11061|      0|        }
11062|       |
11063|      2|        break;
11064|       |
11065|      2|    case EShLangTask:
  ------------------
  |  Branch (11065:5): [True: 2, False: 94]
  ------------------
11066|      2|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (11066:14): [True: 2, False: 0]
  |  Branch (11066:39): [True: 2, False: 0]
  |  Branch (11066:59): [True: 0, False: 0]
  |  Branch (11066:84): [True: 0, False: 0]
  ------------------
11067|      2|            symbolTable.setVariableExtensions("gl_TaskCountNV",          1, &E_GL_NV_mesh_shader);
11068|      2|            symbolTable.setVariableExtensions("gl_MeshViewCountNV",      1, &E_GL_NV_mesh_shader);
11069|      2|            symbolTable.setVariableExtensions("gl_MeshViewIndicesNV",    1, &E_GL_NV_mesh_shader);
11070|      2|            if (profile != EEsProfile) {
  ------------------
  |  Branch (11070:17): [True: 2, False: 0]
  ------------------
11071|      2|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        Num_AEP_mesh_shader, AEP_mesh_shader);
11072|      2|                symbolTable.setVariableExtensions("gl_WorkGroupID",          Num_AEP_mesh_shader, AEP_mesh_shader);
11073|      2|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    Num_AEP_mesh_shader, AEP_mesh_shader);
11074|      2|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   Num_AEP_mesh_shader, AEP_mesh_shader);
11075|      2|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", Num_AEP_mesh_shader, AEP_mesh_shader);
11076|      2|            } else {
11077|      0|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        1, &E_GL_NV_mesh_shader);
11078|      0|                symbolTable.setVariableExtensions("gl_WorkGroupID",          1, &E_GL_NV_mesh_shader);
11079|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    1, &E_GL_NV_mesh_shader);
11080|      0|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   1, &E_GL_NV_mesh_shader);
11081|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", 1, &E_GL_NV_mesh_shader);
11082|      0|            }
11083|       |
11084|      2|            BuiltInVariable("gl_TaskCountNV",          EbvTaskCountNV,          symbolTable);
11085|      2|            BuiltInVariable("gl_WorkGroupSize",        EbvWorkGroupSize,        symbolTable);
11086|      2|            BuiltInVariable("gl_WorkGroupID",          EbvWorkGroupId,          symbolTable);
11087|      2|            BuiltInVariable("gl_LocalInvocationID",    EbvLocalInvocationId,    symbolTable);
11088|      2|            BuiltInVariable("gl_GlobalInvocationID",   EbvGlobalInvocationId,   symbolTable);
11089|      2|            BuiltInVariable("gl_LocalInvocationIndex", EbvLocalInvocationIndex, symbolTable);
11090|      2|            BuiltInVariable("gl_MeshViewCountNV",      EbvMeshViewCountNV,      symbolTable);
11091|      2|            BuiltInVariable("gl_MeshViewIndicesNV",    EbvMeshViewIndicesNV,    symbolTable);
11092|       |
11093|      2|            symbolTable.setVariableExtensions("gl_MaxTaskWorkGroupSizeNV", 1, &E_GL_NV_mesh_shader);
11094|      2|            symbolTable.setVariableExtensions("gl_MaxMeshViewCountNV",     1, &E_GL_NV_mesh_shader);
11095|       |
11096|      2|            if (profile != EEsProfile) {
  ------------------
  |  Branch (11096:17): [True: 2, False: 0]
  ------------------
11097|      2|                symbolTable.setFunctionExtensions("barrier",                   Num_AEP_mesh_shader, AEP_mesh_shader);
11098|      2|                symbolTable.setFunctionExtensions("memoryBarrierShared",       Num_AEP_mesh_shader, AEP_mesh_shader);
11099|      2|                symbolTable.setFunctionExtensions("groupMemoryBarrier",        Num_AEP_mesh_shader, AEP_mesh_shader);
11100|      2|            } else {
11101|      0|                symbolTable.setFunctionExtensions("barrier",                   1, &E_GL_NV_mesh_shader);
11102|      0|                symbolTable.setFunctionExtensions("memoryBarrierShared",       1, &E_GL_NV_mesh_shader);
11103|      0|                symbolTable.setFunctionExtensions("groupMemoryBarrier",        1, &E_GL_NV_mesh_shader);
11104|      0|            }
11105|      2|        }
11106|       |
11107|      2|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (11107:13): [True: 2, False: 0]
  |  Branch (11107:38): [True: 2, False: 0]
  ------------------
11108|       |            // GL_EXT_mesh_shader
11109|      2|            symbolTable.setFunctionExtensions("EmitMeshTasksEXT",          1, &E_GL_EXT_mesh_shader);
11110|      2|            symbolTable.setVariableExtensions("gl_NumWorkGroups",        1, &E_GL_EXT_mesh_shader);
11111|      2|            BuiltInVariable("gl_NumWorkGroups",        EbvNumWorkGroups,        symbolTable);
11112|       |
11113|       |            // GL_EXT_device_group
11114|      2|            symbolTable.setVariableExtensions("gl_DeviceIndex", 1, &E_GL_EXT_device_group);
11115|      2|            BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
11116|       |
11117|       |            // GL_ARB_shader_draw_parameters
11118|      2|            symbolTable.setVariableExtensions("gl_DrawIDARB", 1, &E_GL_ARB_shader_draw_parameters);
11119|      2|            BuiltInVariable("gl_DrawIDARB", EbvDrawId, symbolTable);
11120|      2|            if (version >= 460) {
  ------------------
  |  Branch (11120:17): [True: 0, False: 2]
  ------------------
11121|      0|                BuiltInVariable("gl_DrawID", EbvDrawId, symbolTable);
11122|      0|            }
11123|       |
11124|       |            // GL_ARB_shader_ballot
11125|      2|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
11126|      2|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
11127|      2|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
11128|      2|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
11129|      2|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
11130|      2|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
11131|      2|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
11132|       |
11133|      2|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
11134|      2|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
11135|      2|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
11136|      2|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
11137|      2|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
11138|      2|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
11139|       |
11140|      2|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (11140:17): [True: 0, False: 2]
  ------------------
11141|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
11142|      0|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
11143|      0|                if (language == EShLangFragment)
  ------------------
  |  Branch (11143:21): [True: 0, False: 0]
  ------------------
11144|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
11145|      0|            }
11146|      2|            else
11147|      2|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
11148|      2|        }
11149|       |
11150|       |        // GL_KHR_shader_subgroup
11151|      2|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11151:14): [True: 0, False: 2]
  |  Branch (11151:39): [True: 0, False: 0]
  ------------------
11152|      2|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11152:14): [True: 2, False: 0]
  |  Branch (11152:39): [True: 2, False: 0]
  ------------------
11153|      2|            symbolTable.setVariableExtensions("gl_NumSubgroups",         1, &E_GL_KHR_shader_subgroup_basic);
11154|      2|            symbolTable.setVariableExtensions("gl_SubgroupID",           1, &E_GL_KHR_shader_subgroup_basic);
11155|      2|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
11156|      2|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
11157|      2|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11158|      2|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11159|      2|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11160|      2|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11161|      2|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11162|       |
11163|      2|            BuiltInVariable("gl_NumSubgroups",         EbvNumSubgroups,        symbolTable);
11164|      2|            BuiltInVariable("gl_SubgroupID",           EbvSubgroupID,          symbolTable);
11165|      2|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
11166|      2|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
11167|      2|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
11168|      2|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
11169|      2|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
11170|      2|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
11171|      2|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
11172|       |
11173|      2|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierShared", 1, &E_GL_KHR_shader_subgroup_basic);
11174|       |
11175|       |            // GL_NV_shader_sm_builtins
11176|      2|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
11177|      2|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
11178|      2|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
11179|      2|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
11180|      2|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
11181|      2|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
11182|      2|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
11183|      2|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
11184|       |
11185|       |            // GL_ARM_shader_core_builtins
11186|      2|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
11187|      2|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
11188|      2|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
11189|      2|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
11190|      2|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
11191|       |
11192|      2|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
11193|      2|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
11194|      2|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
11195|      2|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
11196|      2|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
11197|      2|        }
11198|      2|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11198:14): [True: 0, False: 2]
  |  Branch (11198:39): [True: 0, False: 0]
  ------------------
11199|      2|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11199:14): [True: 2, False: 0]
  |  Branch (11199:39): [True: 2, False: 0]
  ------------------
11200|      2|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11201|      2|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11202|      2|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11203|      2|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11204|      2|        }
11205|      2|        break;
11206|       |
11207|      0|    default:
  ------------------
  |  Branch (11207:5): [True: 0, False: 96]
  ------------------
11208|      0|        assert(false && "Language not supported");
11209|      0|        break;
11210|     96|    }
11211|       |
11212|       |    //
11213|       |    // Next, identify which built-ins have a mapping to an operator.
11214|       |    // If PureOperatorBuiltins is false, those that are not identified as such are
11215|       |    // expected to be resolved through a library of functions, versus as
11216|       |    // operations.
11217|       |    //
11218|       |
11219|     96|    relateTabledBuiltins(version, profile, spvVersion, language, symbolTable);
11220|       |
11221|     96|    symbolTable.relateToOperator("doubleBitsToInt64",  EOpDoubleBitsToInt64);
11222|     96|    symbolTable.relateToOperator("doubleBitsToUint64", EOpDoubleBitsToUint64);
11223|     96|    symbolTable.relateToOperator("int64BitsToDouble",  EOpInt64BitsToDouble);
11224|     96|    symbolTable.relateToOperator("uint64BitsToDouble", EOpUint64BitsToDouble);
11225|     96|    symbolTable.relateToOperator("halfBitsToInt16",  EOpFloat16BitsToInt16);
11226|     96|    symbolTable.relateToOperator("halfBitsToUint16", EOpFloat16BitsToUint16);
11227|     96|    symbolTable.relateToOperator("float16BitsToInt16",  EOpFloat16BitsToInt16);
11228|     96|    symbolTable.relateToOperator("float16BitsToUint16", EOpFloat16BitsToUint16);
11229|     96|    symbolTable.relateToOperator("int16BitsToFloat16",  EOpInt16BitsToFloat16);
11230|     96|    symbolTable.relateToOperator("uint16BitsToFloat16", EOpUint16BitsToFloat16);
11231|       |
11232|     96|    symbolTable.relateToOperator("int16BitsToHalf",  EOpInt16BitsToFloat16);
11233|     96|    symbolTable.relateToOperator("uint16BitsToHalf", EOpUint16BitsToFloat16);
11234|       |
11235|     96|    symbolTable.relateToOperator("packSnorm4x8",    EOpPackSnorm4x8);
11236|     96|    symbolTable.relateToOperator("unpackSnorm4x8",  EOpUnpackSnorm4x8);
11237|     96|    symbolTable.relateToOperator("packUnorm4x8",    EOpPackUnorm4x8);
11238|     96|    symbolTable.relateToOperator("unpackUnorm4x8",  EOpUnpackUnorm4x8);
11239|       |
11240|     96|    symbolTable.relateToOperator("packDouble2x32",    EOpPackDouble2x32);
11241|     96|    symbolTable.relateToOperator("unpackDouble2x32",  EOpUnpackDouble2x32);
11242|       |
11243|     96|    symbolTable.relateToOperator("packInt2x32",     EOpPackInt2x32);
11244|     96|    symbolTable.relateToOperator("unpackInt2x32",   EOpUnpackInt2x32);
11245|     96|    symbolTable.relateToOperator("packUint2x32",    EOpPackUint2x32);
11246|     96|    symbolTable.relateToOperator("unpackUint2x32",  EOpUnpackUint2x32);
11247|       |
11248|     96|    symbolTable.relateToOperator("packInt2x16",     EOpPackInt2x16);
11249|     96|    symbolTable.relateToOperator("unpackInt2x16",   EOpUnpackInt2x16);
11250|     96|    symbolTable.relateToOperator("packUint2x16",    EOpPackUint2x16);
11251|     96|    symbolTable.relateToOperator("unpackUint2x16",  EOpUnpackUint2x16);
11252|       |
11253|     96|    symbolTable.relateToOperator("packInt4x16",     EOpPackInt4x16);
11254|     96|    symbolTable.relateToOperator("unpackInt4x16",   EOpUnpackInt4x16);
11255|     96|    symbolTable.relateToOperator("packUint4x16",    EOpPackUint4x16);
11256|     96|    symbolTable.relateToOperator("unpackUint4x16",  EOpUnpackUint4x16);
11257|     96|    symbolTable.relateToOperator("packFloat2x16",   EOpPackFloat2x16);
11258|     96|    symbolTable.relateToOperator("unpackFloat2x16", EOpUnpackFloat2x16);
11259|       |
11260|     96|    symbolTable.relateToOperator("pack16",          EOpPack16);
11261|     96|    symbolTable.relateToOperator("pack32",          EOpPack32);
11262|     96|    symbolTable.relateToOperator("pack64",          EOpPack64);
11263|       |
11264|     96|    symbolTable.relateToOperator("unpack32",        EOpUnpack32);
11265|     96|    symbolTable.relateToOperator("unpack16",        EOpUnpack16);
11266|     96|    symbolTable.relateToOperator("unpack8",         EOpUnpack8);
11267|       |
11268|     96|    symbolTable.relateToOperator("controlBarrier",             EOpBarrier);
11269|     96|    symbolTable.relateToOperator("memoryBarrierAtomicCounter", EOpMemoryBarrierAtomicCounter);
11270|     96|    symbolTable.relateToOperator("memoryBarrierImage",         EOpMemoryBarrierImage);
11271|       |
11272|     96|    symbolTable.relateToOperator("controlBarrierArrive",  EOpControlBarrierArriveEXT);
11273|     96|    symbolTable.relateToOperator("controlBarrierWait",    EOpControlBarrierWaitEXT);
11274|       |
11275|     96|    if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (11275:9): [True: 0, False: 96]
  ------------------
11276|       |        //
11277|       |        // functions signature have been replaced to take uint operations on buffer variables
11278|       |        // remap atomic counter functions to atomic operations
11279|       |        //
11280|      0|        symbolTable.relateToOperator("memoryBarrierAtomicCounter", EOpMemoryBarrierBuffer);
11281|      0|    }
11282|       |
11283|     96|    symbolTable.relateToOperator("atomicLoad",     EOpAtomicLoad);
11284|     96|    symbolTable.relateToOperator("atomicStore",    EOpAtomicStore);
11285|       |
11286|     96|    symbolTable.relateToOperator("atomicCounterIncrement", EOpAtomicCounterIncrement);
11287|     96|    symbolTable.relateToOperator("atomicCounterDecrement", EOpAtomicCounterDecrement);
11288|     96|    symbolTable.relateToOperator("atomicCounter",          EOpAtomicCounter);
11289|       |
11290|     96|    if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (11290:9): [True: 0, False: 96]
  ------------------
11291|       |        //
11292|       |        // functions signature have been replaced to take uint operations
11293|       |        // remap atomic counter functions to atomic operations
11294|       |        //
11295|       |        // these atomic counter functions do not match signatures of glsl
11296|       |        // atomic functions, so they will be remapped to semantically
11297|       |        // equivalent functions in the parser
11298|       |        //
11299|      0|        symbolTable.relateToOperator("atomicCounterIncrement", EOpNull);
11300|      0|        symbolTable.relateToOperator("atomicCounterDecrement", EOpNull);
11301|      0|        symbolTable.relateToOperator("atomicCounter", EOpNull);
11302|      0|    }
11303|       |
11304|     96|    symbolTable.relateToOperator("clockARB",     EOpReadClockSubgroupKHR);
11305|     96|    symbolTable.relateToOperator("clock2x32ARB", EOpReadClockSubgroupKHR);
11306|       |
11307|     96|    symbolTable.relateToOperator("clockRealtimeEXT",     EOpReadClockDeviceKHR);
11308|     96|    symbolTable.relateToOperator("clockRealtime2x32EXT", EOpReadClockDeviceKHR);
11309|       |
11310|     96|    if (profile != EEsProfile && version == 450) {
  ------------------
  |  Branch (11310:9): [True: 28, False: 68]
  |  Branch (11310:34): [True: 28, False: 0]
  ------------------
11311|     28|        symbolTable.relateToOperator("atomicCounterAddARB",      EOpAtomicCounterAdd);
11312|     28|        symbolTable.relateToOperator("atomicCounterSubtractARB", EOpAtomicCounterSubtract);
11313|     28|        symbolTable.relateToOperator("atomicCounterMinARB",      EOpAtomicCounterMin);
11314|     28|        symbolTable.relateToOperator("atomicCounterMaxARB",      EOpAtomicCounterMax);
11315|     28|        symbolTable.relateToOperator("atomicCounterAndARB",      EOpAtomicCounterAnd);
11316|     28|        symbolTable.relateToOperator("atomicCounterOrARB",       EOpAtomicCounterOr);
11317|     28|        symbolTable.relateToOperator("atomicCounterXorARB",      EOpAtomicCounterXor);
11318|     28|        symbolTable.relateToOperator("atomicCounterExchangeARB", EOpAtomicCounterExchange);
11319|     28|        symbolTable.relateToOperator("atomicCounterCompSwapARB", EOpAtomicCounterCompSwap);
11320|     28|    }
11321|       |
11322|     96|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11322:9): [True: 28, False: 68]
  |  Branch (11322:34): [True: 0, False: 28]
  ------------------
11323|      0|        symbolTable.relateToOperator("atomicCounterAdd",      EOpAtomicCounterAdd);
11324|      0|        symbolTable.relateToOperator("atomicCounterSubtract", EOpAtomicCounterSubtract);
11325|      0|        symbolTable.relateToOperator("atomicCounterMin",      EOpAtomicCounterMin);
11326|      0|        symbolTable.relateToOperator("atomicCounterMax",      EOpAtomicCounterMax);
11327|      0|        symbolTable.relateToOperator("atomicCounterAnd",      EOpAtomicCounterAnd);
11328|      0|        symbolTable.relateToOperator("atomicCounterOr",       EOpAtomicCounterOr);
11329|      0|        symbolTable.relateToOperator("atomicCounterXor",      EOpAtomicCounterXor);
11330|      0|        symbolTable.relateToOperator("atomicCounterExchange", EOpAtomicCounterExchange);
11331|      0|        symbolTable.relateToOperator("atomicCounterCompSwap", EOpAtomicCounterCompSwap);
11332|      0|    }
11333|       |
11334|     96|    if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (11334:9): [True: 0, False: 96]
  ------------------
11335|       |        //
11336|       |        // functions signature have been replaced to take 'uint' instead of 'atomic_uint'
11337|       |        // remap atomic counter functions to non-counter atomic ops so
11338|       |        // functions act as aliases to non-counter atomic ops
11339|       |        //
11340|      0|        symbolTable.relateToOperator("atomicCounterAdd", EOpAtomicAdd);
11341|      0|        symbolTable.relateToOperator("atomicCounterSubtract", EOpAtomicSubtract);
11342|      0|        symbolTable.relateToOperator("atomicCounterMin", EOpAtomicMin);
11343|      0|        symbolTable.relateToOperator("atomicCounterMax", EOpAtomicMax);
11344|      0|        symbolTable.relateToOperator("atomicCounterAnd", EOpAtomicAnd);
11345|      0|        symbolTable.relateToOperator("atomicCounterOr", EOpAtomicOr);
11346|      0|        symbolTable.relateToOperator("atomicCounterXor", EOpAtomicXor);
11347|      0|        symbolTable.relateToOperator("atomicCounterExchange", EOpAtomicExchange);
11348|      0|        symbolTable.relateToOperator("atomicCounterCompSwap", EOpAtomicCompSwap);
11349|      0|    }
11350|       |
11351|     96|    symbolTable.relateToOperator("fma",               EOpFma);
11352|     96|    symbolTable.relateToOperator("frexp",             EOpFrexp);
11353|     96|    symbolTable.relateToOperator("ldexp",             EOpLdexp);
11354|     96|    symbolTable.relateToOperator("uaddCarry",         EOpAddCarry);
11355|     96|    symbolTable.relateToOperator("usubBorrow",        EOpSubBorrow);
11356|     96|    symbolTable.relateToOperator("umulExtended",      EOpUMulExtended);
11357|     96|    symbolTable.relateToOperator("imulExtended",      EOpIMulExtended);
11358|     96|    symbolTable.relateToOperator("bitfieldExtract",   EOpBitfieldExtract);
11359|     96|    symbolTable.relateToOperator("bitfieldInsert",    EOpBitfieldInsert);
11360|     96|    symbolTable.relateToOperator("bitfieldReverse",   EOpBitFieldReverse);
11361|     96|    symbolTable.relateToOperator("bitCount",          EOpBitCount);
11362|     96|    symbolTable.relateToOperator("findLSB",           EOpFindLSB);
11363|     96|    symbolTable.relateToOperator("findMSB",           EOpFindMSB);
11364|       |
11365|     96|    symbolTable.relateToOperator("helperInvocationEXT",  EOpIsHelperInvocation);
11366|       |
11367|     96|    symbolTable.relateToOperator("countLeadingZeros",  EOpCountLeadingZeros);
11368|     96|    symbolTable.relateToOperator("countTrailingZeros", EOpCountTrailingZeros);
11369|     96|    symbolTable.relateToOperator("absoluteDifference", EOpAbsDifference);
11370|     96|    symbolTable.relateToOperator("addSaturate",        EOpAddSaturate);
11371|     96|    symbolTable.relateToOperator("subtractSaturate",   EOpSubSaturate);
11372|     96|    symbolTable.relateToOperator("average",            EOpAverage);
11373|     96|    symbolTable.relateToOperator("averageRounded",     EOpAverageRounded);
11374|     96|    symbolTable.relateToOperator("multiply32x16",      EOpMul32x16);
11375|     96|    symbolTable.relateToOperator("debugPrintfEXT",     EOpDebugPrintf);
11376|     96|    symbolTable.relateToOperator("assumeEXT",          EOpAssumeEXT);
11377|     96|    symbolTable.relateToOperator("expectEXT",          EOpExpectEXT);
11378|     96|    symbolTable.relateToOperator("abortEXT",           EOpAbortEXT);
11379|       |
11380|       |
11381|     96|    if (PureOperatorBuiltins) {
  ------------------
  |  Branch (11381:9): [True: 96, Folded]
  ------------------
11382|     96|        symbolTable.relateToOperator("imageSize",               EOpImageQuerySize);
11383|     96|        symbolTable.relateToOperator("imageSamples",            EOpImageQuerySamples);
11384|     96|        symbolTable.relateToOperator("imageLoad",               EOpImageLoad);
11385|     96|        symbolTable.relateToOperator("imageStore",              EOpImageStore);
11386|     96|        symbolTable.relateToOperator("imageAtomicAdd",          EOpImageAtomicAdd);
11387|     96|        symbolTable.relateToOperator("imageAtomicMin",          EOpImageAtomicMin);
11388|     96|        symbolTable.relateToOperator("imageAtomicMax",          EOpImageAtomicMax);
11389|     96|        symbolTable.relateToOperator("imageAtomicAnd",          EOpImageAtomicAnd);
11390|     96|        symbolTable.relateToOperator("imageAtomicOr",           EOpImageAtomicOr);
11391|     96|        symbolTable.relateToOperator("imageAtomicXor",          EOpImageAtomicXor);
11392|     96|        symbolTable.relateToOperator("imageAtomicExchange",     EOpImageAtomicExchange);
11393|     96|        symbolTable.relateToOperator("imageAtomicCompSwap",     EOpImageAtomicCompSwap);
11394|     96|        symbolTable.relateToOperator("imageAtomicLoad",         EOpImageAtomicLoad);
11395|     96|        symbolTable.relateToOperator("imageAtomicStore",        EOpImageAtomicStore);
11396|       |
11397|     96|        symbolTable.relateToOperator("subpassLoad",             EOpSubpassLoad);
11398|     96|        symbolTable.relateToOperator("subpassLoadMS",           EOpSubpassLoadMS);
11399|       |
11400|     96|        symbolTable.relateToOperator("textureGather",           EOpTextureGather);
11401|     96|        symbolTable.relateToOperator("textureGatherOffset",     EOpTextureGatherOffset);
11402|     96|        symbolTable.relateToOperator("textureGatherOffsets",    EOpTextureGatherOffsets);
11403|       |
11404|     96|        symbolTable.relateToOperator("noise1", EOpNoise);
11405|     96|        symbolTable.relateToOperator("noise2", EOpNoise);
11406|     96|        symbolTable.relateToOperator("noise3", EOpNoise);
11407|     96|        symbolTable.relateToOperator("noise4", EOpNoise);
11408|       |
11409|     96|        symbolTable.relateToOperator("textureFootprintNV",          EOpImageSampleFootprintNV);
11410|     96|        symbolTable.relateToOperator("textureFootprintClampNV",     EOpImageSampleFootprintClampNV);
11411|     96|        symbolTable.relateToOperator("textureFootprintLodNV",       EOpImageSampleFootprintLodNV);
11412|     96|        symbolTable.relateToOperator("textureFootprintGradNV",      EOpImageSampleFootprintGradNV);
11413|     96|        symbolTable.relateToOperator("textureFootprintGradClampNV", EOpImageSampleFootprintGradClampNV);
11414|       |
11415|     96|        if (spvVersion.spv == 0 && IncludeLegacy(version, profile, spvVersion))
  ------------------
  |  Branch (11415:13): [True: 96, False: 0]
  |  Branch (11415:36): [True: 0, False: 96]
  ------------------
11416|      0|            symbolTable.relateToOperator("ftransform", EOpFtransform);
11417|       |
11418|     96|        if (spvVersion.spv == 0 && (IncludeLegacy(version, profile, spvVersion) ||
  ------------------
  |  Branch (11418:13): [True: 96, False: 0]
  |  Branch (11418:37): [True: 0, False: 96]
  ------------------
11419|     96|            (profile == EEsProfile && version == 100))) {
  ------------------
  |  Branch (11419:14): [True: 68, False: 28]
  |  Branch (11419:39): [True: 68, False: 0]
  ------------------
11420|       |
11421|     68|            symbolTable.relateToOperator("texture1D",                EOpTexture);
11422|     68|            symbolTable.relateToOperator("texture1DGradARB",         EOpTextureGrad);
11423|     68|            symbolTable.relateToOperator("texture1DProj",            EOpTextureProj);
11424|     68|            symbolTable.relateToOperator("texture1DProjGradARB",     EOpTextureProjGrad);
11425|     68|            symbolTable.relateToOperator("texture1DLod",             EOpTextureLod);
11426|     68|            symbolTable.relateToOperator("texture1DProjLod",         EOpTextureProjLod);
11427|       |
11428|     68|            symbolTable.relateToOperator("texture2DRect",            EOpTexture);
11429|     68|            symbolTable.relateToOperator("texture2DRectProj",        EOpTextureProj);
11430|     68|            symbolTable.relateToOperator("texture2DRectGradARB",     EOpTextureGrad);
11431|     68|            symbolTable.relateToOperator("texture2DRectProjGradARB", EOpTextureProjGrad);
11432|     68|            symbolTable.relateToOperator("shadow2DRect",             EOpTexture);
11433|     68|            symbolTable.relateToOperator("shadow2DRectProj",         EOpTextureProj);
11434|     68|            symbolTable.relateToOperator("shadow2DRectGradARB",      EOpTextureGrad);
11435|     68|            symbolTable.relateToOperator("shadow2DRectProjGradARB",  EOpTextureProjGrad);
11436|       |
11437|     68|            symbolTable.relateToOperator("texture2D",                EOpTexture);
11438|     68|            symbolTable.relateToOperator("texture2DProj",            EOpTextureProj);
11439|     68|            symbolTable.relateToOperator("texture2DGradEXT",         EOpTextureGrad);
11440|     68|            symbolTable.relateToOperator("texture2DGradARB",         EOpTextureGrad);
11441|     68|            symbolTable.relateToOperator("texture2DProjGradEXT",     EOpTextureProjGrad);
11442|     68|            symbolTable.relateToOperator("texture2DProjGradARB",     EOpTextureProjGrad);
11443|     68|            symbolTable.relateToOperator("texture2DLod",             EOpTextureLod);
11444|     68|            symbolTable.relateToOperator("texture2DLodEXT",          EOpTextureLod);
11445|     68|            symbolTable.relateToOperator("texture2DProjLod",         EOpTextureProjLod);
11446|     68|            symbolTable.relateToOperator("texture2DProjLodEXT",      EOpTextureProjLod);
11447|       |
11448|     68|            symbolTable.relateToOperator("texture3D",                EOpTexture);
11449|     68|            symbolTable.relateToOperator("texture3DGradARB",         EOpTextureGrad);
11450|     68|            symbolTable.relateToOperator("texture3DProj",            EOpTextureProj);
11451|     68|            symbolTable.relateToOperator("texture3DProjGradARB",     EOpTextureProjGrad);
11452|     68|            symbolTable.relateToOperator("texture3DLod",             EOpTextureLod);
11453|     68|            symbolTable.relateToOperator("texture3DProjLod",         EOpTextureProjLod);
11454|     68|            symbolTable.relateToOperator("textureCube",              EOpTexture);
11455|     68|            symbolTable.relateToOperator("textureCubeGradEXT",       EOpTextureGrad);
11456|     68|            symbolTable.relateToOperator("textureCubeGradARB",       EOpTextureGrad);
11457|     68|            symbolTable.relateToOperator("textureCubeLod",           EOpTextureLod);
11458|     68|            symbolTable.relateToOperator("textureCubeLodEXT",        EOpTextureLod);
11459|     68|            symbolTable.relateToOperator("shadow1D",                 EOpTexture);
11460|     68|            symbolTable.relateToOperator("shadow1DGradARB",          EOpTextureGrad);
11461|     68|            symbolTable.relateToOperator("shadow2D",                 EOpTexture);
11462|     68|            symbolTable.relateToOperator("shadow2DGradARB",          EOpTextureGrad);
11463|     68|            symbolTable.relateToOperator("shadow1DProj",             EOpTextureProj);
11464|     68|            symbolTable.relateToOperator("shadow2DProj",             EOpTextureProj);
11465|     68|            symbolTable.relateToOperator("shadow1DProjGradARB",      EOpTextureProjGrad);
11466|     68|            symbolTable.relateToOperator("shadow2DProjGradARB",      EOpTextureProjGrad);
11467|     68|            symbolTable.relateToOperator("shadow1DLod",              EOpTextureLod);
11468|     68|            symbolTable.relateToOperator("shadow2DLod",              EOpTextureLod);
11469|     68|            symbolTable.relateToOperator("shadow1DProjLod",          EOpTextureProjLod);
11470|     68|            symbolTable.relateToOperator("shadow2DProjLod",          EOpTextureProjLod);
11471|     68|        }
11472|       |
11473|     96|        if (profile != EEsProfile) {
  ------------------
  |  Branch (11473:13): [True: 28, False: 68]
  ------------------
11474|     28|            symbolTable.relateToOperator("sparseTextureARB",                EOpSparseTexture);
11475|     28|            symbolTable.relateToOperator("sparseTextureLodARB",             EOpSparseTextureLod);
11476|     28|            symbolTable.relateToOperator("sparseTextureOffsetARB",          EOpSparseTextureOffset);
11477|     28|            symbolTable.relateToOperator("sparseTexelFetchARB",             EOpSparseTextureFetch);
11478|     28|            symbolTable.relateToOperator("sparseTexelFetchOffsetARB",       EOpSparseTextureFetchOffset);
11479|     28|            symbolTable.relateToOperator("sparseTextureLodOffsetARB",       EOpSparseTextureLodOffset);
11480|     28|            symbolTable.relateToOperator("sparseTextureGradARB",            EOpSparseTextureGrad);
11481|     28|            symbolTable.relateToOperator("sparseTextureGradOffsetARB",      EOpSparseTextureGradOffset);
11482|     28|            symbolTable.relateToOperator("sparseTextureGatherARB",          EOpSparseTextureGather);
11483|     28|            symbolTable.relateToOperator("sparseTextureGatherOffsetARB",    EOpSparseTextureGatherOffset);
11484|     28|            symbolTable.relateToOperator("sparseTextureGatherOffsetsARB",   EOpSparseTextureGatherOffsets);
11485|     28|            symbolTable.relateToOperator("sparseImageLoadARB",              EOpSparseImageLoad);
11486|     28|            symbolTable.relateToOperator("sparseTexelsResidentARB",         EOpSparseTexelsResident);
11487|       |
11488|     28|            symbolTable.relateToOperator("sparseTextureClampARB",           EOpSparseTextureClamp);
11489|     28|            symbolTable.relateToOperator("sparseTextureOffsetClampARB",     EOpSparseTextureOffsetClamp);
11490|     28|            symbolTable.relateToOperator("sparseTextureGradClampARB",       EOpSparseTextureGradClamp);
11491|     28|            symbolTable.relateToOperator("sparseTextureGradOffsetClampARB", EOpSparseTextureGradOffsetClamp);
11492|     28|            symbolTable.relateToOperator("textureClampARB",                 EOpTextureClamp);
11493|     28|            symbolTable.relateToOperator("textureOffsetClampARB",           EOpTextureOffsetClamp);
11494|     28|            symbolTable.relateToOperator("textureGradClampARB",             EOpTextureGradClamp);
11495|     28|            symbolTable.relateToOperator("textureGradOffsetClampARB",       EOpTextureGradOffsetClamp);
11496|       |
11497|     28|            symbolTable.relateToOperator("ballotARB",                       EOpBallot);
11498|     28|            symbolTable.relateToOperator("readInvocationARB",               EOpReadInvocation);
11499|     28|            symbolTable.relateToOperator("readFirstInvocationARB",          EOpReadFirstInvocation);
11500|       |
11501|     28|            if (version >= 430) {
  ------------------
  |  Branch (11501:17): [True: 28, False: 0]
  ------------------
11502|     28|                symbolTable.relateToOperator("anyInvocationARB",            EOpAnyInvocation);
11503|     28|                symbolTable.relateToOperator("allInvocationsARB",           EOpAllInvocations);
11504|     28|                symbolTable.relateToOperator("allInvocationsEqualARB",      EOpAllInvocationsEqual);
11505|     28|            }
11506|     28|            if (version >= 460) {
  ------------------
  |  Branch (11506:17): [True: 0, False: 28]
  ------------------
11507|      0|                symbolTable.relateToOperator("anyInvocation",               EOpAnyInvocation);
11508|      0|                symbolTable.relateToOperator("allInvocations",              EOpAllInvocations);
11509|      0|                symbolTable.relateToOperator("allInvocationsEqual",         EOpAllInvocationsEqual);
11510|      0|            }
11511|       |            // As per dependency between NV_gpu_shader5 and ARB_shader_group_vote
11512|       |            // anyInvocationARB = anyThreadNV
11513|       |            // allInvocationsARB = allThreadsNV
11514|       |            // allInvocationsEqualARB = allThreadsEqualNV
11515|       |            // Thus we reuse the Op's
11516|     28|            if (version >= 150) {
  ------------------
  |  Branch (11516:17): [True: 28, False: 0]
  ------------------
11517|     28|                symbolTable.relateToOperator("anyThreadNV",            EOpAnyInvocation);
11518|     28|                symbolTable.relateToOperator("allThreadsNV",           EOpAllInvocations);
11519|     28|                symbolTable.relateToOperator("allThreadsEqualNV",      EOpAllInvocationsEqual);
11520|     28|            }
11521|     28|            symbolTable.relateToOperator("minInvocationsAMD",                           EOpMinInvocations);
11522|     28|            symbolTable.relateToOperator("maxInvocationsAMD",                           EOpMaxInvocations);
11523|     28|            symbolTable.relateToOperator("addInvocationsAMD",                           EOpAddInvocations);
11524|     28|            symbolTable.relateToOperator("minInvocationsNonUniformAMD",                 EOpMinInvocationsNonUniform);
11525|     28|            symbolTable.relateToOperator("maxInvocationsNonUniformAMD",                 EOpMaxInvocationsNonUniform);
11526|     28|            symbolTable.relateToOperator("addInvocationsNonUniformAMD",                 EOpAddInvocationsNonUniform);
11527|     28|            symbolTable.relateToOperator("minInvocationsInclusiveScanAMD",              EOpMinInvocationsInclusiveScan);
11528|     28|            symbolTable.relateToOperator("maxInvocationsInclusiveScanAMD",              EOpMaxInvocationsInclusiveScan);
11529|     28|            symbolTable.relateToOperator("addInvocationsInclusiveScanAMD",              EOpAddInvocationsInclusiveScan);
11530|     28|            symbolTable.relateToOperator("minInvocationsInclusiveScanNonUniformAMD",    EOpMinInvocationsInclusiveScanNonUniform);
11531|     28|            symbolTable.relateToOperator("maxInvocationsInclusiveScanNonUniformAMD",    EOpMaxInvocationsInclusiveScanNonUniform);
11532|     28|            symbolTable.relateToOperator("addInvocationsInclusiveScanNonUniformAMD",    EOpAddInvocationsInclusiveScanNonUniform);
11533|     28|            symbolTable.relateToOperator("minInvocationsExclusiveScanAMD",              EOpMinInvocationsExclusiveScan);
11534|     28|            symbolTable.relateToOperator("maxInvocationsExclusiveScanAMD",              EOpMaxInvocationsExclusiveScan);
11535|     28|            symbolTable.relateToOperator("addInvocationsExclusiveScanAMD",              EOpAddInvocationsExclusiveScan);
11536|     28|            symbolTable.relateToOperator("minInvocationsExclusiveScanNonUniformAMD",    EOpMinInvocationsExclusiveScanNonUniform);
11537|     28|            symbolTable.relateToOperator("maxInvocationsExclusiveScanNonUniformAMD",    EOpMaxInvocationsExclusiveScanNonUniform);
11538|     28|            symbolTable.relateToOperator("addInvocationsExclusiveScanNonUniformAMD",    EOpAddInvocationsExclusiveScanNonUniform);
11539|     28|            symbolTable.relateToOperator("swizzleInvocationsAMD",                       EOpSwizzleInvocations);
11540|     28|            symbolTable.relateToOperator("swizzleInvocationsMaskedAMD",                 EOpSwizzleInvocationsMasked);
11541|     28|            symbolTable.relateToOperator("writeInvocationAMD",                          EOpWriteInvocation);
11542|     28|            symbolTable.relateToOperator("mbcntAMD",                                    EOpMbcnt);
11543|       |
11544|     28|            symbolTable.relateToOperator("min3",    EOpMin3);
11545|     28|            symbolTable.relateToOperator("max3",    EOpMax3);
11546|     28|            symbolTable.relateToOperator("mid3",    EOpMid3);
11547|       |
11548|     28|            symbolTable.relateToOperator("cubeFaceIndexAMD",    EOpCubeFaceIndex);
11549|     28|            symbolTable.relateToOperator("cubeFaceCoordAMD",    EOpCubeFaceCoord);
11550|     28|            symbolTable.relateToOperator("timeAMD",             EOpTime);
11551|       |
11552|     28|            symbolTable.relateToOperator("textureGatherLodAMD",                 EOpTextureGatherLod);
11553|     28|            symbolTable.relateToOperator("textureGatherLodOffsetAMD",           EOpTextureGatherLodOffset);
11554|     28|            symbolTable.relateToOperator("textureGatherLodOffsetsAMD",          EOpTextureGatherLodOffsets);
11555|     28|            symbolTable.relateToOperator("sparseTextureGatherLodAMD",           EOpSparseTextureGatherLod);
11556|     28|            symbolTable.relateToOperator("sparseTextureGatherLodOffsetAMD",     EOpSparseTextureGatherLodOffset);
11557|     28|            symbolTable.relateToOperator("sparseTextureGatherLodOffsetsAMD",    EOpSparseTextureGatherLodOffsets);
11558|       |
11559|     28|            symbolTable.relateToOperator("imageLoadLodAMD",                     EOpImageLoadLod);
11560|     28|            symbolTable.relateToOperator("imageStoreLodAMD",                    EOpImageStoreLod);
11561|     28|            symbolTable.relateToOperator("sparseImageLoadLodAMD",               EOpSparseImageLoadLod);
11562|       |
11563|     28|            symbolTable.relateToOperator("fragmentMaskFetchAMD",                EOpFragmentMaskFetch);
11564|     28|            symbolTable.relateToOperator("fragmentFetchAMD",                    EOpFragmentFetch);
11565|     28|        }
11566|       |
11567|       |        // GL_EXT_integer_dot_product
11568|     96|        if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (11568:14): [True: 68, False: 28]
  |  Branch (11568:39): [True: 0, False: 68]
  ------------------
11569|     96|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11569:14): [True: 28, False: 68]
  |  Branch (11569:39): [True: 28, False: 0]
  ------------------
11570|     28|            symbolTable.relateToOperator("dotEXT", EOpDot);
11571|     28|            symbolTable.relateToOperator("dotPacked4x8EXT", EOpDotPackedEXT);
11572|     28|            symbolTable.relateToOperator("dotAccSatEXT", EOpDotAccSatEXT);
11573|     28|            symbolTable.relateToOperator("dotPacked4x8AccSatEXT", EOpDotPackedAccSatEXT);
11574|     28|        }
11575|       |
11576|       |        // GL_EXT_bfloat16
11577|     96|        if ((profile == EEsProfile && version >= 320) ||
  ------------------
  |  Branch (11577:14): [True: 68, False: 28]
  |  Branch (11577:39): [True: 0, False: 68]
  ------------------
11578|     96|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11578:14): [True: 28, False: 68]
  |  Branch (11578:39): [True: 28, False: 0]
  ------------------
11579|     28|            symbolTable.relateToOperator("bfloat16BitsToIntEXT",  EOpFloatBitsToInt);
11580|     28|            symbolTable.relateToOperator("bfloat16BitsToUintEXT", EOpFloatBitsToUint);
11581|     28|            symbolTable.relateToOperator("intBitsToBFloat16EXT",  EOpIntBitsToFloat);
11582|     28|            symbolTable.relateToOperator("uintBitsToBFloat16EXT", EOpUintBitsToFloat);
11583|       |
11584|     28|            symbolTable.relateToOperator("floate5m2BitsToIntEXT",  EOpFloatBitsToInt);
11585|     28|            symbolTable.relateToOperator("floate5m2BitsToUintEXT", EOpFloatBitsToUint);
11586|     28|            symbolTable.relateToOperator("intBitsToFloate5m2EXT",  EOpIntBitsToFloat);
11587|     28|            symbolTable.relateToOperator("uintBitsToFloate5m2EXT", EOpUintBitsToFloat);
11588|       |
11589|     28|            symbolTable.relateToOperator("floate4m3BitsToIntEXT",  EOpFloatBitsToInt);
11590|     28|            symbolTable.relateToOperator("floate4m3BitsToUintEXT", EOpFloatBitsToUint);
11591|     28|            symbolTable.relateToOperator("intBitsToFloate4m3EXT",  EOpIntBitsToFloat);
11592|     28|            symbolTable.relateToOperator("uintBitsToFloate4m3EXT", EOpUintBitsToFloat);
11593|       |
11594|     28|            symbolTable.relateToOperator("saturatedConvertEXT", EOpConstructSaturated);
11595|       |
11596|     28|            symbolTable.relateToOperator("floatue8m0BitsToIntEXT",  EOpFloatBitsToInt);
11597|     28|            symbolTable.relateToOperator("floatue8m0BitsToUintEXT", EOpFloatBitsToUint);
11598|     28|            symbolTable.relateToOperator("intBitsToFloatue8m0EXT",  EOpIntBitsToFloat);
11599|     28|            symbolTable.relateToOperator("uintBitsToFloatue8m0EXT", EOpUintBitsToFloat);
11600|       |
11601|     28|            symbolTable.relateToOperator("floatmxint8BitsToIntEXT",  EOpFloatBitsToInt);
11602|     28|            symbolTable.relateToOperator("floatmxint8BitsToUintEXT", EOpFloatBitsToUint);
11603|     28|            symbolTable.relateToOperator("intBitsToFloatmxint8EXT",  EOpIntBitsToFloat);
11604|     28|            symbolTable.relateToOperator("uintBitsToFloatmxint8EXT", EOpUintBitsToFloat);
11605|       |
11606|     28|            symbolTable.relateToOperator("unpackFloat2xfe2m1EXT", EOpUnpackFloat2xE2M1);
11607|     28|            symbolTable.relateToOperator("unpackFloat4xfe2m1EXT", EOpUnpackFloat4xE2M1);
11608|     28|            symbolTable.relateToOperator("unpackFloat8xfe2m1EXT", EOpUnpackFloat8xE2M1);
11609|     28|            symbolTable.relateToOperator("unpackFloat16xfe2m1EXT", EOpUnpackFloat16xE2M1);
11610|     28|            symbolTable.relateToOperator("packFloat2xfe2m1EXT", EOpPackFloat2xE2M1);
11611|     28|            symbolTable.relateToOperator("packFloat4xfe2m1EXT", EOpPackFloat4xE2M1);
11612|     28|            symbolTable.relateToOperator("packFloat8xfe2m1EXT", EOpPackFloat8xE2M1);
11613|     28|            symbolTable.relateToOperator("packFloat16xfe2m1EXT", EOpPackFloat16xE2M1);
11614|       |
11615|     28|            symbolTable.relateToOperator("unpackFloat4xfe3m2EXT", EOpUnpackFloat4xE3M2);
11616|     28|            symbolTable.relateToOperator("unpackFloat8xfe3m2EXT", EOpUnpackFloat8xE3M2);
11617|     28|            symbolTable.relateToOperator("unpackFloat16xfe3m2EXT", EOpUnpackFloat16xE3M2);
11618|     28|            symbolTable.relateToOperator("packFloat4xfe3m2EXT", EOpPackFloat4xE3M2);
11619|     28|            symbolTable.relateToOperator("packFloat8xfe3m2EXT", EOpPackFloat8xE3M2);
11620|     28|            symbolTable.relateToOperator("packFloat16xfe3m2EXT", EOpPackFloat16xE3M2);
11621|       |
11622|     28|            symbolTable.relateToOperator("unpackFloat4xfe2m3EXT", EOpUnpackFloat4xE2M3);
11623|     28|            symbolTable.relateToOperator("unpackFloat8xfe2m3EXT", EOpUnpackFloat8xE2M3);
11624|     28|            symbolTable.relateToOperator("unpackFloat16xfe2m3EXT", EOpUnpackFloat16xE2M3);
11625|     28|            symbolTable.relateToOperator("packFloat4xfe2m3EXT", EOpPackFloat4xE2M3);
11626|     28|            symbolTable.relateToOperator("packFloat8xfe2m3EXT", EOpPackFloat8xE2M3);
11627|     28|            symbolTable.relateToOperator("packFloat16xfe2m3EXT", EOpPackFloat16xE2M3);
11628|       |
11629|     28|            symbolTable.relateToOperator("bitcastExtractfe2m1EXT", EOpBitcastExtractE2M1);
11630|     28|            symbolTable.relateToOperator("bitcastExtractfe3m2EXT", EOpBitcastExtractE3M2);
11631|     28|            symbolTable.relateToOperator("bitcastExtractfe2m3EXT", EOpBitcastExtractE2M3);
11632|     28|        }
11633|       |
11634|       |        // GL_KHR_shader_subgroup
11635|     96|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11635:14): [True: 68, False: 28]
  |  Branch (11635:39): [True: 0, False: 68]
  ------------------
11636|     96|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11636:14): [True: 28, False: 68]
  |  Branch (11636:39): [True: 28, False: 0]
  ------------------
11637|     28|            symbolTable.relateToOperator("subgroupBarrier",                 EOpSubgroupBarrier);
11638|     28|            symbolTable.relateToOperator("subgroupMemoryBarrier",           EOpSubgroupMemoryBarrier);
11639|     28|            symbolTable.relateToOperator("subgroupMemoryBarrierBuffer",     EOpSubgroupMemoryBarrierBuffer);
11640|     28|            symbolTable.relateToOperator("subgroupMemoryBarrierImage",      EOpSubgroupMemoryBarrierImage);
11641|     28|            symbolTable.relateToOperator("subgroupElect",                   EOpSubgroupElect);
11642|     28|            symbolTable.relateToOperator("subgroupAll",                     EOpSubgroupAll);
11643|     28|            symbolTable.relateToOperator("subgroupAny",                     EOpSubgroupAny);
11644|     28|            symbolTable.relateToOperator("subgroupAllEqual",                EOpSubgroupAllEqual);
11645|     28|            symbolTable.relateToOperator("subgroupBroadcast",               EOpSubgroupBroadcast);
11646|     28|            symbolTable.relateToOperator("subgroupBroadcastFirst",          EOpSubgroupBroadcastFirst);
11647|     28|            symbolTable.relateToOperator("subgroupBallot",                  EOpSubgroupBallot);
11648|     28|            symbolTable.relateToOperator("subgroupInverseBallot",           EOpSubgroupInverseBallot);
11649|     28|            symbolTable.relateToOperator("subgroupBallotBitExtract",        EOpSubgroupBallotBitExtract);
11650|     28|            symbolTable.relateToOperator("subgroupBallotBitCount",          EOpSubgroupBallotBitCount);
11651|     28|            symbolTable.relateToOperator("subgroupBallotInclusiveBitCount", EOpSubgroupBallotInclusiveBitCount);
11652|     28|            symbolTable.relateToOperator("subgroupBallotExclusiveBitCount", EOpSubgroupBallotExclusiveBitCount);
11653|     28|            symbolTable.relateToOperator("subgroupBallotFindLSB",           EOpSubgroupBallotFindLSB);
11654|     28|            symbolTable.relateToOperator("subgroupBallotFindMSB",           EOpSubgroupBallotFindMSB);
11655|     28|            symbolTable.relateToOperator("subgroupShuffle",                 EOpSubgroupShuffle);
11656|     28|            symbolTable.relateToOperator("subgroupShuffleXor",              EOpSubgroupShuffleXor);
11657|     28|            symbolTable.relateToOperator("subgroupShuffleUp",               EOpSubgroupShuffleUp);
11658|     28|            symbolTable.relateToOperator("subgroupShuffleDown",             EOpSubgroupShuffleDown);
11659|     28|            symbolTable.relateToOperator("subgroupRotate",                  EOpSubgroupRotate);
11660|     28|            symbolTable.relateToOperator("subgroupClusteredRotate",         EOpSubgroupClusteredRotate);
11661|     28|            symbolTable.relateToOperator("subgroupAdd",                     EOpSubgroupAdd);
11662|     28|            symbolTable.relateToOperator("subgroupMul",                     EOpSubgroupMul);
11663|     28|            symbolTable.relateToOperator("subgroupMin",                     EOpSubgroupMin);
11664|     28|            symbolTable.relateToOperator("subgroupMax",                     EOpSubgroupMax);
11665|     28|            symbolTable.relateToOperator("subgroupAnd",                     EOpSubgroupAnd);
11666|     28|            symbolTable.relateToOperator("subgroupOr",                      EOpSubgroupOr);
11667|     28|            symbolTable.relateToOperator("subgroupXor",                     EOpSubgroupXor);
11668|     28|            symbolTable.relateToOperator("subgroupInclusiveAdd",            EOpSubgroupInclusiveAdd);
11669|     28|            symbolTable.relateToOperator("subgroupInclusiveMul",            EOpSubgroupInclusiveMul);
11670|     28|            symbolTable.relateToOperator("subgroupInclusiveMin",            EOpSubgroupInclusiveMin);
11671|     28|            symbolTable.relateToOperator("subgroupInclusiveMax",            EOpSubgroupInclusiveMax);
11672|     28|            symbolTable.relateToOperator("subgroupInclusiveAnd",            EOpSubgroupInclusiveAnd);
11673|     28|            symbolTable.relateToOperator("subgroupInclusiveOr",             EOpSubgroupInclusiveOr);
11674|     28|            symbolTable.relateToOperator("subgroupInclusiveXor",            EOpSubgroupInclusiveXor);
11675|     28|            symbolTable.relateToOperator("subgroupExclusiveAdd",            EOpSubgroupExclusiveAdd);
11676|     28|            symbolTable.relateToOperator("subgroupExclusiveMul",            EOpSubgroupExclusiveMul);
11677|     28|            symbolTable.relateToOperator("subgroupExclusiveMin",            EOpSubgroupExclusiveMin);
11678|     28|            symbolTable.relateToOperator("subgroupExclusiveMax",            EOpSubgroupExclusiveMax);
11679|     28|            symbolTable.relateToOperator("subgroupExclusiveAnd",            EOpSubgroupExclusiveAnd);
11680|     28|            symbolTable.relateToOperator("subgroupExclusiveOr",             EOpSubgroupExclusiveOr);
11681|     28|            symbolTable.relateToOperator("subgroupExclusiveXor",            EOpSubgroupExclusiveXor);
11682|     28|            symbolTable.relateToOperator("subgroupClusteredAdd",            EOpSubgroupClusteredAdd);
11683|     28|            symbolTable.relateToOperator("subgroupClusteredMul",            EOpSubgroupClusteredMul);
11684|     28|            symbolTable.relateToOperator("subgroupClusteredMin",            EOpSubgroupClusteredMin);
11685|     28|            symbolTable.relateToOperator("subgroupClusteredMax",            EOpSubgroupClusteredMax);
11686|     28|            symbolTable.relateToOperator("subgroupClusteredAnd",            EOpSubgroupClusteredAnd);
11687|     28|            symbolTable.relateToOperator("subgroupClusteredOr",             EOpSubgroupClusteredOr);
11688|     28|            symbolTable.relateToOperator("subgroupClusteredXor",            EOpSubgroupClusteredXor);
11689|     28|            symbolTable.relateToOperator("subgroupQuadBroadcast",           EOpSubgroupQuadBroadcast);
11690|     28|            symbolTable.relateToOperator("subgroupQuadSwapHorizontal",      EOpSubgroupQuadSwapHorizontal);
11691|     28|            symbolTable.relateToOperator("subgroupQuadSwapVertical",        EOpSubgroupQuadSwapVertical);
11692|     28|            symbolTable.relateToOperator("subgroupQuadSwapDiagonal",        EOpSubgroupQuadSwapDiagonal);
11693|       |
11694|     28|            symbolTable.relateToOperator("subgroupPartitionNV",                          EOpSubgroupPartition);
11695|     28|            symbolTable.relateToOperator("subgroupPartitionedAddNV",                     EOpSubgroupPartitionedAdd);
11696|     28|            symbolTable.relateToOperator("subgroupPartitionedMulNV",                     EOpSubgroupPartitionedMul);
11697|     28|            symbolTable.relateToOperator("subgroupPartitionedMinNV",                     EOpSubgroupPartitionedMin);
11698|     28|            symbolTable.relateToOperator("subgroupPartitionedMaxNV",                     EOpSubgroupPartitionedMax);
11699|     28|            symbolTable.relateToOperator("subgroupPartitionedAndNV",                     EOpSubgroupPartitionedAnd);
11700|     28|            symbolTable.relateToOperator("subgroupPartitionedOrNV",                      EOpSubgroupPartitionedOr);
11701|     28|            symbolTable.relateToOperator("subgroupPartitionedXorNV",                     EOpSubgroupPartitionedXor);
11702|     28|            symbolTable.relateToOperator("subgroupPartitionedInclusiveAddNV",            EOpSubgroupPartitionedInclusiveAdd);
11703|     28|            symbolTable.relateToOperator("subgroupPartitionedInclusiveMulNV",            EOpSubgroupPartitionedInclusiveMul);
11704|     28|            symbolTable.relateToOperator("subgroupPartitionedInclusiveMinNV",            EOpSubgroupPartitionedInclusiveMin);
11705|     28|            symbolTable.relateToOperator("subgroupPartitionedInclusiveMaxNV",            EOpSubgroupPartitionedInclusiveMax);
11706|     28|            symbolTable.relateToOperator("subgroupPartitionedInclusiveAndNV",            EOpSubgroupPartitionedInclusiveAnd);
11707|     28|            symbolTable.relateToOperator("subgroupPartitionedInclusiveOrNV",             EOpSubgroupPartitionedInclusiveOr);
11708|     28|            symbolTable.relateToOperator("subgroupPartitionedInclusiveXorNV",            EOpSubgroupPartitionedInclusiveXor);
11709|     28|            symbolTable.relateToOperator("subgroupPartitionedExclusiveAddNV",            EOpSubgroupPartitionedExclusiveAdd);
11710|     28|            symbolTable.relateToOperator("subgroupPartitionedExclusiveMulNV",            EOpSubgroupPartitionedExclusiveMul);
11711|     28|            symbolTable.relateToOperator("subgroupPartitionedExclusiveMinNV",            EOpSubgroupPartitionedExclusiveMin);
11712|     28|            symbolTable.relateToOperator("subgroupPartitionedExclusiveMaxNV",            EOpSubgroupPartitionedExclusiveMax);
11713|     28|            symbolTable.relateToOperator("subgroupPartitionedExclusiveAndNV",            EOpSubgroupPartitionedExclusiveAnd);
11714|     28|            symbolTable.relateToOperator("subgroupPartitionedExclusiveOrNV",             EOpSubgroupPartitionedExclusiveOr);
11715|     28|            symbolTable.relateToOperator("subgroupPartitionedExclusiveXorNV",            EOpSubgroupPartitionedExclusiveXor);
11716|     28|        }
11717|       |
11718|     96|        if (profile == EEsProfile) {
  ------------------
  |  Branch (11718:13): [True: 68, False: 28]
  ------------------
11719|     68|            symbolTable.relateToOperator("shadow2DEXT",              EOpTexture);
11720|     68|            symbolTable.relateToOperator("shadow2DProjEXT",          EOpTextureProj);
11721|     68|        }
11722|       |
11723|       |        // GL_EXT_shader_quad_control
11724|     96|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11724:14): [True: 68, False: 28]
  |  Branch (11724:39): [True: 0, False: 68]
  ------------------
11725|     96|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11725:14): [True: 28, False: 68]
  |  Branch (11725:39): [True: 28, False: 0]
  ------------------
11726|     28|            symbolTable.relateToOperator("subgroupQuadAll",                     EOpSubgroupQuadAll);
11727|     28|            symbolTable.relateToOperator("subgroupQuadAny",                     EOpSubgroupQuadAny);
11728|     28|        }
11729|       |
11730|     96|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11730:14): [True: 68, False: 28]
  |  Branch (11730:39): [True: 0, False: 68]
  ------------------
11731|     96|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11731:14): [True: 28, False: 68]
  |  Branch (11731:39): [True: 28, False: 0]
  ------------------
11732|     28|            symbolTable.relateToOperator("textureWeightedQCOM",      EOpImageSampleWeightedQCOM);
11733|     28|            symbolTable.relateToOperator("textureBoxFilterQCOM",     EOpImageBoxFilterQCOM);
11734|     28|            symbolTable.relateToOperator("textureBlockMatchSADQCOM", EOpImageBlockMatchSADQCOM);
11735|     28|            symbolTable.relateToOperator("textureBlockMatchSSDQCOM", EOpImageBlockMatchSSDQCOM);
11736|       |
11737|     28|            symbolTable.relateToOperator("textureBlockMatchWindowSSDQCOM", EOpImageBlockMatchWindowSSDQCOM);
11738|     28|            symbolTable.relateToOperator("textureBlockMatchWindowSADQCOM", EOpImageBlockMatchWindowSADQCOM);
11739|     28|            symbolTable.relateToOperator("textureBlockMatchGatherSSDQCOM", EOpImageBlockMatchGatherSSDQCOM);
11740|     28|            symbolTable.relateToOperator("textureBlockMatchGatherSADQCOM", EOpImageBlockMatchGatherSADQCOM);
11741|     28|        }
11742|       |
11743|     96|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11743:14): [True: 68, False: 28]
  |  Branch (11743:39): [True: 0, False: 68]
  ------------------
11744|     96|            (profile != EEsProfile && version >= 130)) {
  ------------------
  |  Branch (11744:14): [True: 28, False: 68]
  |  Branch (11744:39): [True: 28, False: 0]
  ------------------
11745|     28|            symbolTable.relateToOperator("textureGather4x1QCOM", EOpTextureGather4x1QCOM);
11746|     28|            symbolTable.relateToOperator("textureGatherV2QCOM",  EOpTextureGatherV2QCOM);
11747|     28|            symbolTable.relateToOperator("textureGatherH2QCOM",  EOpTextureGatherH2QCOM);
11748|     28|            symbolTable.relateToOperator("textureGatherDQCOM",   EOpTextureGatherDQCOM);
11749|     28|            symbolTable.relateToOperator("textureGather4x1OffsetQCOM", EOpTextureGather4x1OffsetQCOM);
11750|     28|            symbolTable.relateToOperator("textureGatherV2OffsetQCOM",  EOpTextureGatherV2OffsetQCOM);
11751|     28|            symbolTable.relateToOperator("textureGatherH2OffsetQCOM",  EOpTextureGatherH2OffsetQCOM);
11752|     28|            symbolTable.relateToOperator("textureGatherDOffsetQCOM",   EOpTextureGatherDOffsetQCOM);
11753|     28|        }
11754|       |
11755|     96|        if (profile != EEsProfile && spvVersion.spv == 0) {
  ------------------
  |  Branch (11755:13): [True: 28, False: 68]
  |  Branch (11755:38): [True: 28, False: 0]
  ------------------
11756|     28|            symbolTable.relateToOperator("texture1DArray", EOpTexture);
11757|     28|            symbolTable.relateToOperator("texture2DArray", EOpTexture);
11758|     28|            symbolTable.relateToOperator("shadow1DArray", EOpTexture);
11759|     28|            symbolTable.relateToOperator("shadow2DArray", EOpTexture);
11760|       |
11761|     28|            symbolTable.relateToOperator("texture1DArrayLod", EOpTextureLod);
11762|     28|            symbolTable.relateToOperator("texture2DArrayLod", EOpTextureLod);
11763|     28|            symbolTable.relateToOperator("shadow1DArrayLod", EOpTextureLod);
11764|     28|        }
11765|       |
11766|     96|        symbolTable.relateToOperator("coopVecMatMulNV",              EOpCooperativeVectorMatMulNV);
11767|     96|        symbolTable.relateToOperator("coopVecMatMulAddNV",           EOpCooperativeVectorMatMulAddNV);
11768|     96|        symbolTable.relateToOperator("coopVecLoadNV",                EOpCooperativeVectorLoadNV);
11769|     96|        symbolTable.relateToOperator("coopVecStoreNV",               EOpCooperativeVectorStoreNV);
11770|     96|        symbolTable.relateToOperator("coopVecOuterProductAccumulateNV", EOpCooperativeVectorOuterProductAccumulateNV);
11771|     96|        symbolTable.relateToOperator("coopVecReduceSumAccumulateNV",    EOpCooperativeVectorReduceSumAccumulateNV);
11772|     96|    }
11773|       |
11774|     96|    switch(language) {
11775|     36|    case EShLangVertex:
  ------------------
  |  Branch (11775:5): [True: 36, False: 60]
  ------------------
11776|     36|        break;
11777|       |
11778|      2|    case EShLangTessControl:
  ------------------
  |  Branch (11778:5): [True: 2, False: 94]
  ------------------
11779|      4|    case EShLangTessEvaluation:
  ------------------
  |  Branch (11779:5): [True: 2, False: 94]
  ------------------
11780|      4|        break;
11781|       |
11782|      2|    case EShLangGeometry:
  ------------------
  |  Branch (11782:5): [True: 2, False: 94]
  ------------------
11783|      2|        symbolTable.relateToOperator("EmitStreamVertex",   EOpEmitStreamVertex);
11784|      2|        symbolTable.relateToOperator("EndStreamPrimitive", EOpEndStreamPrimitive);
11785|      2|        symbolTable.relateToOperator("EmitVertex",         EOpEmitVertex);
11786|      2|        symbolTable.relateToOperator("EndPrimitive",       EOpEndPrimitive);
11787|      2|        break;
11788|       |
11789|     36|    case EShLangFragment:
  ------------------
  |  Branch (11789:5): [True: 36, False: 60]
  ------------------
11790|     36|        if (profile != EEsProfile && version >= 400) {
  ------------------
  |  Branch (11790:13): [True: 2, False: 34]
  |  Branch (11790:38): [True: 2, False: 0]
  ------------------
11791|      2|            symbolTable.relateToOperator("dFdxFine",     EOpDPdxFine);
11792|      2|            symbolTable.relateToOperator("dFdyFine",     EOpDPdyFine);
11793|      2|            symbolTable.relateToOperator("fwidthFine",   EOpFwidthFine);
11794|      2|            symbolTable.relateToOperator("dFdxCoarse",   EOpDPdxCoarse);
11795|      2|            symbolTable.relateToOperator("dFdyCoarse",   EOpDPdyCoarse);
11796|      2|            symbolTable.relateToOperator("fwidthCoarse", EOpFwidthCoarse);
11797|      2|        }
11798|       |
11799|     36|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11799:13): [True: 2, False: 34]
  |  Branch (11799:38): [True: 0, False: 2]
  ------------------
11800|      0|            symbolTable.relateToOperator("rayQueryInitializeEXT",                                             EOpRayQueryInitialize);
11801|      0|            symbolTable.relateToOperator("rayQueryTerminateEXT",                                              EOpRayQueryTerminate);
11802|      0|            symbolTable.relateToOperator("rayQueryGenerateIntersectionEXT",                                   EOpRayQueryGenerateIntersection);
11803|      0|            symbolTable.relateToOperator("rayQueryConfirmIntersectionEXT",                                    EOpRayQueryConfirmIntersection);
11804|      0|            symbolTable.relateToOperator("rayQueryProceedEXT",                                                EOpRayQueryProceed);
11805|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionTypeEXT",                                    EOpRayQueryGetIntersectionType);
11806|      0|            symbolTable.relateToOperator("rayQueryGetRayTMinEXT",                                             EOpRayQueryGetRayTMin);
11807|      0|            symbolTable.relateToOperator("rayQueryGetRayFlagsEXT",                                            EOpRayQueryGetRayFlags);
11808|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionTEXT",                                       EOpRayQueryGetIntersectionT);
11809|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionInstanceCustomIndexEXT",                     EOpRayQueryGetIntersectionInstanceCustomIndex);
11810|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionInstanceIdEXT",                              EOpRayQueryGetIntersectionInstanceId);
11811|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetEXT",  EOpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffset);
11812|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionGeometryIndexEXT",                           EOpRayQueryGetIntersectionGeometryIndex);
11813|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionPrimitiveIndexEXT",                          EOpRayQueryGetIntersectionPrimitiveIndex);
11814|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionBarycentricsEXT",                            EOpRayQueryGetIntersectionBarycentrics);
11815|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionFrontFaceEXT",                               EOpRayQueryGetIntersectionFrontFace);
11816|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionCandidateAABBOpaqueEXT",                     EOpRayQueryGetIntersectionCandidateAABBOpaque);
11817|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionObjectRayDirectionEXT",                      EOpRayQueryGetIntersectionObjectRayDirection);
11818|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionObjectRayOriginEXT",                         EOpRayQueryGetIntersectionObjectRayOrigin);
11819|      0|            symbolTable.relateToOperator("rayQueryGetWorldRayDirectionEXT",                                   EOpRayQueryGetWorldRayDirection);
11820|      0|            symbolTable.relateToOperator("rayQueryGetWorldRayOriginEXT",                                      EOpRayQueryGetWorldRayOrigin);
11821|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionObjectToWorldEXT",                           EOpRayQueryGetIntersectionObjectToWorld);
11822|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionWorldToObjectEXT",                           EOpRayQueryGetIntersectionWorldToObject);
11823|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionTriangleVertexPositionsEXT",                 EOpRayQueryGetIntersectionTriangleVertexPositionsEXT);
11824|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionClusterIdNV",                                EOpRayQueryGetIntersectionClusterIdNV);
11825|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionSpherePositionNV",                           EOpRayQueryGetIntersectionSpherePositionNV);
11826|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionSphereRadiusNV",                             EOpRayQueryGetIntersectionSphereRadiusNV);
11827|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionLSSHitValueNV",                              EOpRayQueryGetIntersectionLSSHitValueNV);
11828|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionLSSPositionsNV",                             EOpRayQueryGetIntersectionLSSPositionsNV);
11829|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionLSSRadiiNV",                                 EOpRayQueryGetIntersectionLSSRadiiNV);
11830|      0|            symbolTable.relateToOperator("rayQueryIsSphereHitNV",                                             EOpRayQueryIsSphereHitNV);
11831|      0|            symbolTable.relateToOperator("rayQueryIsLSSHitNV",                                                EOpRayQueryIsLSSHitNV);
11832|      0|        }
11833|       |
11834|     36|        symbolTable.relateToOperator("interpolateAtCentroid", EOpInterpolateAtCentroid);
11835|     36|        symbolTable.relateToOperator("interpolateAtSample",   EOpInterpolateAtSample);
11836|     36|        symbolTable.relateToOperator("interpolateAtOffset",   EOpInterpolateAtOffset);
11837|       |
11838|     36|        if (profile != EEsProfile)
  ------------------
  |  Branch (11838:13): [True: 2, False: 34]
  ------------------
11839|      2|            symbolTable.relateToOperator("interpolateAtVertexAMD", EOpInterpolateAtVertex);
11840|       |
11841|     36|        symbolTable.relateToOperator("beginInvocationInterlockARB", EOpBeginInvocationInterlock);
11842|     36|        symbolTable.relateToOperator("endInvocationInterlockARB",   EOpEndInvocationInterlock);
11843|       |
11844|     36|        symbolTable.relateToOperator("stencilAttachmentReadEXT", EOpStencilAttachmentReadEXT);
11845|     36|        symbolTable.relateToOperator("depthAttachmentReadEXT",   EOpDepthAttachmentReadEXT);
11846|     36|        symbolTable.relateToOperator("colorAttachmentReadEXT",   EOpColorAttachmentReadEXT);
11847|       |
11848|     36|        break;
11849|       |
11850|      2|    case EShLangCompute:
  ------------------
  |  Branch (11850:5): [True: 2, False: 94]
  ------------------
11851|      2|        symbolTable.relateToOperator("subgroupMemoryBarrierShared", EOpSubgroupMemoryBarrierShared);
11852|      2|        if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (11852:14): [True: 2, False: 0]
  |  Branch (11852:39): [True: 2, False: 0]
  ------------------
11853|      2|            (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (11853:14): [True: 0, False: 0]
  |  Branch (11853:39): [True: 0, False: 0]
  ------------------
11854|      2|            symbolTable.relateToOperator("dFdx",        EOpDPdx);
11855|      2|            symbolTable.relateToOperator("dFdy",        EOpDPdy);
11856|      2|            symbolTable.relateToOperator("fwidth",      EOpFwidth);
11857|      2|            symbolTable.relateToOperator("dFdxFine",    EOpDPdxFine);
11858|      2|            symbolTable.relateToOperator("dFdyFine",    EOpDPdyFine);
11859|      2|            symbolTable.relateToOperator("fwidthFine",  EOpFwidthFine);
11860|      2|            symbolTable.relateToOperator("dFdxCoarse",  EOpDPdxCoarse);
11861|      2|            symbolTable.relateToOperator("dFdyCoarse",  EOpDPdyCoarse);
11862|      2|            symbolTable.relateToOperator("fwidthCoarse",EOpFwidthCoarse);
11863|      2|        }
11864|      2|        symbolTable.relateToOperator("coopMatLoadNV",              EOpCooperativeMatrixLoadNV);
11865|      2|        symbolTable.relateToOperator("coopMatStoreNV",             EOpCooperativeMatrixStoreNV);
11866|      2|        symbolTable.relateToOperator("coopMatMulAddNV",            EOpCooperativeMatrixMulAddNV);
11867|       |
11868|      2|        symbolTable.relateToOperator("coopMatLoad",                EOpCooperativeMatrixLoad);
11869|      2|        symbolTable.relateToOperator("coopMatStore",               EOpCooperativeMatrixStore);
11870|      2|        symbolTable.relateToOperator("coopMatMulAdd",              EOpCooperativeMatrixMulAdd);
11871|       |
11872|      2|        symbolTable.relateToOperator("coopMatLoadTensorNV",        EOpCooperativeMatrixLoadTensorNV);
11873|      2|        symbolTable.relateToOperator("coopMatStoreTensorNV",       EOpCooperativeMatrixStoreTensorNV);
11874|       |
11875|      2|        symbolTable.relateToOperator("coopMatReduceNV",            EOpCooperativeMatrixReduceNV);
11876|      2|        symbolTable.relateToOperator("coopMatPerElementNV",        EOpCooperativeMatrixPerElementOpNV);
11877|      2|        symbolTable.relateToOperator("coopMatTransposeNV",         EOpCooperativeMatrixTransposeNV);
11878|       |
11879|      2|        symbolTable.relateToOperator("coopMatReduceEXT",           EOpCooperativeMatrixReduceNV);
11880|      2|        symbolTable.relateToOperator("coopMatPerElementEXT",       EOpCooperativeMatrixPerElementOpNV);
11881|      2|        symbolTable.relateToOperator("coopMatTransposeEXT",        EOpCooperativeMatrixTransposeNV);
11882|      2|        symbolTable.relateToOperator("coopMatGetCoordinateEXT",    EOpCooperativeMatrixGetCoordinateEXT);
11883|       |
11884|      2|        symbolTable.relateToOperator("createTensorLayoutNV",         EOpCreateTensorLayoutNV);
11885|      2|        symbolTable.relateToOperator("setTensorLayoutBlockSizeNV",   EOpTensorLayoutSetBlockSizeNV);
11886|      2|        symbolTable.relateToOperator("setTensorLayoutDimensionNV",   EOpTensorLayoutSetDimensionNV);
11887|      2|        symbolTable.relateToOperator("setTensorLayoutStrideNV",      EOpTensorLayoutSetStrideNV);
11888|      2|        symbolTable.relateToOperator("sliceTensorLayoutNV",          EOpTensorLayoutSliceNV);
11889|      2|        symbolTable.relateToOperator("setTensorLayoutClampValueNV",  EOpTensorLayoutSetClampValueNV);
11890|       |
11891|      2|        symbolTable.relateToOperator("createTensorViewNV",           EOpCreateTensorViewNV);
11892|      2|        symbolTable.relateToOperator("setTensorViewDimensionsNV",    EOpTensorViewSetDimensionNV);
11893|      2|        symbolTable.relateToOperator("setTensorViewStrideNV",        EOpTensorViewSetStrideNV);
11894|      2|        symbolTable.relateToOperator("setTensorViewClipNV",          EOpTensorViewSetClipNV);
11895|       |
11896|      2|        symbolTable.relateToOperator("tensorReadARM",                EOpTensorReadARM);
11897|      2|        symbolTable.relateToOperator("tensorWriteARM",               EOpTensorWriteARM);
11898|      2|        symbolTable.relateToOperator("tensorSizeARM",                EOpTensorSizeARM);
11899|       |
11900|      2|        symbolTable.relateToOperator("bitcastQCOM", EOpBitCastArrayQCOM);
11901|      2|        symbolTable.relateToOperator("extractSubArrayQCOM", EOpExtractSubArrayQCOM);
11902|      2|        symbolTable.relateToOperator("vectorToCoopmatQCOM", EOpCompositeConstructCoopMatQCOM);
11903|      2|        symbolTable.relateToOperator("coopmatToVectorQCOM", EOpCompositeExtractCoopMatQCOM);
11904|       |
11905|      2|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11905:13): [True: 2, False: 0]
  |  Branch (11905:38): [True: 0, False: 2]
  ------------------
11906|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexPositionNV", EOpFetchMicroTriangleVertexPositionNV);
11907|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexBarycentricNV", EOpFetchMicroTriangleVertexBarycentricNV);
11908|      0|        }
11909|      2|        break;
11910|       |
11911|      2|    case EShLangRayGen:
  ------------------
  |  Branch (11911:5): [True: 2, False: 94]
  ------------------
11912|      2|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11912:13): [True: 2, False: 0]
  |  Branch (11912:38): [True: 0, False: 2]
  ------------------
11913|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexPositionNV", EOpFetchMicroTriangleVertexPositionNV);
11914|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexBarycentricNV", EOpFetchMicroTriangleVertexBarycentricNV);
11915|      0|        }
11916|      2|        [[fallthrough]];
11917|      4|    case EShLangClosestHit:
  ------------------
  |  Branch (11917:5): [True: 2, False: 94]
  ------------------
11918|      6|    case EShLangMiss:
  ------------------
  |  Branch (11918:5): [True: 2, False: 94]
  ------------------
11919|      6|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11919:13): [True: 6, False: 0]
  |  Branch (11919:38): [True: 0, False: 6]
  ------------------
11920|      0|            symbolTable.relateToOperator("traceNV", EOpTraceNV);
11921|      0|            symbolTable.relateToOperator("traceRayMotionNV", EOpTraceRayMotionNV);
11922|      0|            symbolTable.relateToOperator("traceRayEXT", EOpTraceKHR);
11923|      0|            symbolTable.relateToOperator("executeCallableNV", EOpExecuteCallableNV);
11924|      0|            symbolTable.relateToOperator("executeCallableEXT", EOpExecuteCallableKHR);
11925|       |
11926|      0|            symbolTable.relateToOperator("hitObjectTraceRayNV", EOpHitObjectTraceRayNV);
11927|      0|            symbolTable.relateToOperator("hitObjectTraceRayMotionNV", EOpHitObjectTraceRayMotionNV);
11928|      0|            symbolTable.relateToOperator("hitObjectRecordHitNV", EOpHitObjectRecordHitNV);
11929|      0|            symbolTable.relateToOperator("hitObjectRecordHitMotionNV", EOpHitObjectRecordHitMotionNV);
11930|      0|            symbolTable.relateToOperator("hitObjectRecordHitWithIndexNV", EOpHitObjectRecordHitWithIndexNV);
11931|      0|            symbolTable.relateToOperator("hitObjectRecordHitWithIndexMotionNV", EOpHitObjectRecordHitWithIndexMotionNV);
11932|      0|            symbolTable.relateToOperator("hitObjectRecordMissNV", EOpHitObjectRecordMissNV);
11933|      0|            symbolTable.relateToOperator("hitObjectRecordMissMotionNV", EOpHitObjectRecordMissMotionNV);
11934|      0|            symbolTable.relateToOperator("hitObjectRecordEmptyNV", EOpHitObjectRecordEmptyNV);
11935|      0|            symbolTable.relateToOperator("hitObjectExecuteShaderNV", EOpHitObjectExecuteShaderNV);
11936|      0|            symbolTable.relateToOperator("hitObjectIsEmptyNV", EOpHitObjectIsEmptyNV);
11937|      0|            symbolTable.relateToOperator("hitObjectIsMissNV", EOpHitObjectIsMissNV);
11938|      0|            symbolTable.relateToOperator("hitObjectIsHitNV", EOpHitObjectIsHitNV);
11939|      0|            symbolTable.relateToOperator("hitObjectGetRayTMinNV", EOpHitObjectGetRayTMinNV);
11940|      0|            symbolTable.relateToOperator("hitObjectGetRayTMaxNV", EOpHitObjectGetRayTMaxNV);
11941|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayOriginNV", EOpHitObjectGetObjectRayOriginNV);
11942|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayDirectionNV", EOpHitObjectGetObjectRayDirectionNV);
11943|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayOriginNV", EOpHitObjectGetWorldRayOriginNV);
11944|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayDirectionNV", EOpHitObjectGetWorldRayDirectionNV);
11945|      0|            symbolTable.relateToOperator("hitObjectGetWorldToObjectNV", EOpHitObjectGetWorldToObjectNV);
11946|      0|            symbolTable.relateToOperator("hitObjectGetObjectToWorldNV", EOpHitObjectGetObjectToWorldNV);
11947|      0|            symbolTable.relateToOperator("hitObjectGetInstanceCustomIndexNV", EOpHitObjectGetInstanceCustomIndexNV);
11948|      0|            symbolTable.relateToOperator("hitObjectGetInstanceIdNV", EOpHitObjectGetInstanceIdNV);
11949|      0|            symbolTable.relateToOperator("hitObjectGetGeometryIndexNV", EOpHitObjectGetGeometryIndexNV);
11950|      0|            symbolTable.relateToOperator("hitObjectGetPrimitiveIndexNV", EOpHitObjectGetPrimitiveIndexNV);
11951|      0|            symbolTable.relateToOperator("hitObjectGetHitKindNV", EOpHitObjectGetHitKindNV);
11952|      0|            symbolTable.relateToOperator("hitObjectGetAttributesNV", EOpHitObjectGetAttributesNV);
11953|      0|            symbolTable.relateToOperator("hitObjectGetCurrentTimeNV", EOpHitObjectGetCurrentTimeNV);
11954|      0|            symbolTable.relateToOperator("hitObjectGetShaderBindingTableRecordIndexNV", EOpHitObjectGetShaderBindingTableRecordIndexNV);
11955|      0|            symbolTable.relateToOperator("hitObjectGetShaderRecordBufferHandleNV", EOpHitObjectGetShaderRecordBufferHandleNV);
11956|      0|            symbolTable.relateToOperator("hitObjectGetClusterIdNV", EOpHitObjectGetClusterIdNV);
11957|      0|            symbolTable.relateToOperator("reorderThreadNV", EOpReorderThreadNV);
11958|      0|            symbolTable.relateToOperator("hitObjectGetSpherePositionNV", EOpHitObjectGetSpherePositionNV);
11959|      0|            symbolTable.relateToOperator("hitObjectGetSphereRadiusNV", EOpHitObjectGetSphereRadiusNV);
11960|      0|            symbolTable.relateToOperator("hitObjectGetLSSPositionsNV", EOpHitObjectGetLSSPositionsNV);
11961|      0|            symbolTable.relateToOperator("hitObjectGetLSSRadiiNV", EOpHitObjectGetLSSRadiiNV);
11962|      0|            symbolTable.relateToOperator("hitObjectIsSphereHitNV", EOpHitObjectIsSphereHitNV);
11963|      0|            symbolTable.relateToOperator("hitObjectIsLSSHitNV", EOpHitObjectIsLSSHitNV);
11964|      0|            symbolTable.relateToOperator("hitObjectTraceRayEXT", EOpHitObjectTraceRayEXT);
11965|      0|            symbolTable.relateToOperator("hitObjectTraceRayMotionEXT", EOpHitObjectTraceRayMotionEXT);
11966|      0|            symbolTable.relateToOperator("hitObjectRecordMissEXT", EOpHitObjectRecordMissEXT);
11967|      0|            symbolTable.relateToOperator("hitObjectRecordMissMotionEXT", EOpHitObjectRecordMissMotionEXT);
11968|      0|            symbolTable.relateToOperator("hitObjectRecordEmptyEXT", EOpHitObjectRecordEmptyEXT);
11969|      0|            symbolTable.relateToOperator("hitObjectExecuteShaderEXT", EOpHitObjectExecuteShaderEXT);
11970|      0|            symbolTable.relateToOperator("hitObjectIsEmptyEXT", EOpHitObjectIsEmptyEXT);
11971|      0|            symbolTable.relateToOperator("hitObjectIsMissEXT", EOpHitObjectIsMissEXT);
11972|      0|            symbolTable.relateToOperator("hitObjectIsHitEXT", EOpHitObjectIsHitEXT);
11973|      0|            symbolTable.relateToOperator("hitObjectGetRayTMinEXT", EOpHitObjectGetRayTMinEXT);
11974|      0|            symbolTable.relateToOperator("hitObjectGetRayTMaxEXT", EOpHitObjectGetRayTMaxEXT);
11975|      0|            symbolTable.relateToOperator("hitObjectGetRayFlagsEXT", EOpHitObjectGetRayFlagsEXT);
11976|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayOriginEXT", EOpHitObjectGetObjectRayOriginEXT);
11977|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayDirectionEXT", EOpHitObjectGetObjectRayDirectionEXT);
11978|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayOriginEXT", EOpHitObjectGetWorldRayOriginEXT);
11979|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayDirectionEXT", EOpHitObjectGetWorldRayDirectionEXT);
11980|      0|            symbolTable.relateToOperator("hitObjectGetWorldToObjectEXT", EOpHitObjectGetWorldToObjectEXT);
11981|      0|            symbolTable.relateToOperator("hitObjectGetObjectToWorldEXT", EOpHitObjectGetObjectToWorldEXT);
11982|      0|            symbolTable.relateToOperator("hitObjectGetInstanceCustomIndexEXT", EOpHitObjectGetInstanceCustomIndexEXT);
11983|      0|            symbolTable.relateToOperator("hitObjectGetInstanceIdEXT", EOpHitObjectGetInstanceIdEXT);
11984|      0|            symbolTable.relateToOperator("hitObjectGetGeometryIndexEXT", EOpHitObjectGetGeometryIndexEXT);
11985|      0|            symbolTable.relateToOperator("hitObjectGetPrimitiveIndexEXT", EOpHitObjectGetPrimitiveIndexEXT);
11986|      0|            symbolTable.relateToOperator("hitObjectGetHitKindEXT", EOpHitObjectGetHitKindEXT);
11987|      0|            symbolTable.relateToOperator("hitObjectGetAttributesEXT", EOpHitObjectGetAttributesEXT);
11988|      0|            symbolTable.relateToOperator("hitObjectGetCurrentTimeEXT", EOpHitObjectGetCurrentTimeEXT);
11989|      0|            symbolTable.relateToOperator("hitObjectGetShaderBindingTableRecordIndexEXT", EOpHitObjectGetShaderBindingTableRecordIndexEXT);
11990|      0|            symbolTable.relateToOperator("hitObjectGetShaderRecordBufferHandleEXT", EOpHitObjectGetShaderRecordBufferHandleEXT);
11991|      0|            symbolTable.relateToOperator("hitObjectSetShaderBindingTableRecordIndexEXT", EOpHitObjectSetShaderBindingTableRecordIndexEXT);
11992|      0|            symbolTable.relateToOperator("reorderThreadEXT", EOpReorderThreadEXT);
11993|      0|            symbolTable.relateToOperator("hitObjectReorderExecuteEXT", EOpHitObjectReorderExecuteEXT);
11994|      0|            symbolTable.relateToOperator("hitObjectTraceReorderExecuteEXT", EOpHitObjectTraceReorderExecuteEXT);
11995|      0|            symbolTable.relateToOperator("hitObjectTraceMotionReorderExecuteEXT", EOpHitObjectTraceMotionReorderExecuteEXT);
11996|      0|            symbolTable.relateToOperator("hitObjectRecordFromQueryEXT", EOpHitObjectRecordFromQueryEXT);
11997|      0|            symbolTable.relateToOperator("hitObjectGetIntersectionTriangleVertexPositionsEXT", EOpHitObjectGetIntersectionTriangleVertexPositionsEXT);
11998|      0|        }
11999|      6|        break;
12000|      2|    case EShLangIntersect:
  ------------------
  |  Branch (12000:5): [True: 2, False: 94]
  ------------------
12001|      2|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (12001:13): [True: 2, False: 0]
  |  Branch (12001:38): [True: 0, False: 2]
  ------------------
12002|      0|            symbolTable.relateToOperator("reportIntersectionNV", EOpReportIntersection);
12003|      0|            symbolTable.relateToOperator("reportIntersectionEXT", EOpReportIntersection);
12004|      0|        }
12005|      2|        break;
12006|      2|    case EShLangAnyHit:
  ------------------
  |  Branch (12006:5): [True: 2, False: 94]
  ------------------
12007|      2|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (12007:13): [True: 2, False: 0]
  |  Branch (12007:38): [True: 0, False: 2]
  ------------------
12008|      0|            symbolTable.relateToOperator("ignoreIntersectionNV", EOpIgnoreIntersectionNV);
12009|      0|            symbolTable.relateToOperator("terminateRayNV", EOpTerminateRayNV);
12010|      0|        }
12011|      2|        break;
12012|      2|    case EShLangCallable:
  ------------------
  |  Branch (12012:5): [True: 2, False: 94]
  ------------------
12013|      2|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (12013:13): [True: 2, False: 0]
  |  Branch (12013:38): [True: 0, False: 2]
  ------------------
12014|      0|            symbolTable.relateToOperator("executeCallableNV", EOpExecuteCallableNV);
12015|      0|            symbolTable.relateToOperator("executeCallableEXT", EOpExecuteCallableKHR);
12016|      0|        }
12017|      2|        break;
12018|      2|    case EShLangMesh:
  ------------------
  |  Branch (12018:5): [True: 2, False: 94]
  ------------------
12019|      2|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (12019:14): [True: 2, False: 0]
  |  Branch (12019:39): [True: 2, False: 0]
  |  Branch (12019:59): [True: 0, False: 0]
  |  Branch (12019:84): [True: 0, False: 0]
  ------------------
12020|      2|            symbolTable.relateToOperator("writePackedPrimitiveIndices4x8NV", EOpWritePackedPrimitiveIndices4x8NV);
12021|      2|            symbolTable.relateToOperator("memoryBarrierShared", EOpMemoryBarrierShared);
12022|      2|            symbolTable.relateToOperator("groupMemoryBarrier", EOpGroupMemoryBarrier);
12023|      2|            symbolTable.relateToOperator("subgroupMemoryBarrierShared", EOpSubgroupMemoryBarrierShared);
12024|      2|        }
12025|       |
12026|      2|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (12026:13): [True: 2, False: 0]
  |  Branch (12026:38): [True: 2, False: 0]
  ------------------
12027|      2|            symbolTable.relateToOperator("SetMeshOutputsEXT", EOpSetMeshOutputsEXT);
12028|      2|        }
12029|       |
12030|      2|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (12030:13): [True: 2, False: 0]
  |  Branch (12030:38): [True: 0, False: 2]
  ------------------
12031|       |            // Builtins for GL_NV_displacement_micromap.
12032|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexPositionNV", EOpFetchMicroTriangleVertexPositionNV);
12033|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexBarycentricNV", EOpFetchMicroTriangleVertexBarycentricNV);
12034|      0|        }
12035|      2|        break;
12036|      2|    case EShLangTask:
  ------------------
  |  Branch (12036:5): [True: 2, False: 94]
  ------------------
12037|      2|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (12037:14): [True: 2, False: 0]
  |  Branch (12037:39): [True: 2, False: 0]
  |  Branch (12037:59): [True: 0, False: 0]
  |  Branch (12037:84): [True: 0, False: 0]
  ------------------
12038|      2|            symbolTable.relateToOperator("memoryBarrierShared", EOpMemoryBarrierShared);
12039|      2|            symbolTable.relateToOperator("groupMemoryBarrier", EOpGroupMemoryBarrier);
12040|      2|            symbolTable.relateToOperator("subgroupMemoryBarrierShared", EOpSubgroupMemoryBarrierShared);
12041|      2|        }
12042|      2|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (12042:13): [True: 2, False: 0]
  |  Branch (12042:38): [True: 2, False: 0]
  ------------------
12043|      2|            symbolTable.relateToOperator("EmitMeshTasksEXT", EOpEmitMeshTasksEXT);
12044|      2|        }
12045|      2|        break;
12046|       |
12047|      0|    default:
  ------------------
  |  Branch (12047:5): [True: 0, False: 96]
  ------------------
12048|       |        assert(false && "Language not supported");
12049|     96|    }
12050|     96|}
_ZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableERK16TBuiltInResource:
12062|     36|{
12063|     36|    if (profile != EEsProfile && version >= 430 && version < 440) {
  ------------------
  |  Branch (12063:9): [True: 2, False: 34]
  |  Branch (12063:34): [True: 2, False: 0]
  |  Branch (12063:52): [True: 0, False: 2]
  ------------------
12064|      0|        symbolTable.setVariableExtensions("gl_MaxTransformFeedbackBuffers", 1, &E_GL_ARB_enhanced_layouts);
12065|      0|        symbolTable.setVariableExtensions("gl_MaxTransformFeedbackInterleavedComponents", 1, &E_GL_ARB_enhanced_layouts);
12066|      0|    }
12067|     36|    if (profile != EEsProfile && version >= 130 && version < 420) {
  ------------------
  |  Branch (12067:9): [True: 2, False: 34]
  |  Branch (12067:34): [True: 2, False: 0]
  |  Branch (12067:52): [True: 0, False: 2]
  ------------------
12068|      0|        symbolTable.setVariableExtensions("gl_MinProgramTexelOffset", 1, &E_GL_ARB_shading_language_420pack);
12069|      0|        symbolTable.setVariableExtensions("gl_MaxProgramTexelOffset", 1, &E_GL_ARB_shading_language_420pack);
12070|      0|    }
12071|     36|    if (profile != EEsProfile && version >= 150 && version < 410)
  ------------------
  |  Branch (12071:9): [True: 2, False: 34]
  |  Branch (12071:34): [True: 2, False: 0]
  |  Branch (12071:52): [True: 0, False: 2]
  ------------------
12072|      0|        symbolTable.setVariableExtensions("gl_MaxViewports", 1, &E_GL_ARB_viewport_array);
12073|       |
12074|     36|    switch(language) {
12075|      0|    case EShLangFragment:
  ------------------
  |  Branch (12075:5): [True: 0, False: 36]
  ------------------
12076|       |        // Set up gl_FragData based on current array size.
12077|      0|        if (version == 100 || IncludeLegacy(version, profile, spvVersion) || (! ForwardCompatibility && profile != EEsProfile && version < 420)) {
  ------------------
  |  Branch (12077:13): [True: 0, False: 0]
  |  Branch (12077:31): [True: 0, False: 0]
  |  Branch (12077:79): [True: 0, Folded]
  |  Branch (12077:105): [True: 0, False: 0]
  |  Branch (12077:130): [True: 0, False: 0]
  ------------------
12078|      0|            TPrecisionQualifier pq = profile == EEsProfile ? EpqMedium : EpqNone;
  ------------------
  |  Branch (12078:38): [True: 0, False: 0]
  ------------------
12079|      0|            TType fragData(EbtFloat, EvqFragColor, pq, 4);
12080|      0|            TArraySizes* arraySizes = new TArraySizes;
12081|      0|            arraySizes->addInnerSize(resources.maxDrawBuffers);
12082|      0|            fragData.transferArraySizes(arraySizes);
12083|      0|            symbolTable.insert(*new TVariable(NewPoolTString("gl_FragData"), fragData));
12084|      0|            SpecialQualifier("gl_FragData", EvqFragColor, EbvFragData, symbolTable);
12085|      0|        }
12086|       |
12087|       |        // GL_EXT_blend_func_extended
12088|      0|        if (profile == EEsProfile && version >= 100) {
  ------------------
  |  Branch (12088:13): [True: 0, False: 0]
  |  Branch (12088:38): [True: 0, False: 0]
  ------------------
12089|      0|           symbolTable.setVariableExtensions("gl_MaxDualSourceDrawBuffersEXT",    1, &E_GL_EXT_blend_func_extended);
12090|      0|           symbolTable.setVariableExtensions("gl_SecondaryFragColorEXT",    1, &E_GL_EXT_blend_func_extended);
12091|      0|           symbolTable.setVariableExtensions("gl_SecondaryFragDataEXT",    1, &E_GL_EXT_blend_func_extended);
12092|      0|           SpecialQualifier("gl_SecondaryFragColorEXT", EvqVaryingOut, EbvSecondaryFragColorEXT, symbolTable);
12093|      0|           SpecialQualifier("gl_SecondaryFragDataEXT", EvqVaryingOut, EbvSecondaryFragDataEXT, symbolTable);
12094|      0|        }
12095|       |
12096|      0|        break;
12097|       |
12098|      0|    case EShLangTessControl:
  ------------------
  |  Branch (12098:5): [True: 0, False: 36]
  ------------------
12099|      0|    case EShLangTessEvaluation:
  ------------------
  |  Branch (12099:5): [True: 0, False: 36]
  ------------------
12100|       |        // Because of the context-dependent array size (gl_MaxPatchVertices),
12101|       |        // these variables were added later than the others and need to be mapped now.
12102|       |
12103|       |        // standard members
12104|      0|        BuiltInVariable("gl_in", "gl_Position",     EbvPosition,     symbolTable);
12105|      0|        BuiltInVariable("gl_in", "gl_PointSize",    EbvPointSize,    symbolTable);
12106|      0|        BuiltInVariable("gl_in", "gl_ClipDistance", EbvClipDistance, symbolTable);
12107|      0|        BuiltInVariable("gl_in", "gl_CullDistance", EbvCullDistance, symbolTable);
12108|       |
12109|       |        // compatibility members
12110|      0|        BuiltInVariable("gl_in", "gl_ClipVertex",          EbvClipVertex,          symbolTable);
12111|      0|        BuiltInVariable("gl_in", "gl_FrontColor",          EbvFrontColor,          symbolTable);
12112|      0|        BuiltInVariable("gl_in", "gl_BackColor",           EbvBackColor,           symbolTable);
12113|      0|        BuiltInVariable("gl_in", "gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
12114|      0|        BuiltInVariable("gl_in", "gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
12115|      0|        BuiltInVariable("gl_in", "gl_TexCoord",            EbvTexCoord,            symbolTable);
12116|      0|        BuiltInVariable("gl_in", "gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
12117|       |
12118|      0|        symbolTable.setVariableExtensions("gl_in", "gl_SecondaryPositionNV", 1, &E_GL_NV_stereo_view_rendering);
12119|      0|        symbolTable.setVariableExtensions("gl_in", "gl_PositionPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
12120|       |
12121|      0|        BuiltInVariable("gl_in", "gl_SecondaryPositionNV", EbvSecondaryPositionNV, symbolTable);
12122|      0|        BuiltInVariable("gl_in", "gl_PositionPerViewNV",   EbvPositionPerViewNV,   symbolTable);
12123|       |
12124|       |        // extension requirements
12125|      0|        if (profile == EEsProfile) {
  ------------------
  |  Branch (12125:13): [True: 0, False: 0]
  ------------------
12126|      0|            symbolTable.setVariableExtensions("gl_in", "gl_PointSize", Num_AEP_tessellation_point_size, AEP_tessellation_point_size);
12127|      0|        }
12128|       |
12129|      0|        break;
12130|       |
12131|     36|    default:
  ------------------
  |  Branch (12131:5): [True: 36, False: 0]
  ------------------
12132|     36|        break;
12133|     36|    }
12134|     36|}
Initialize.cpp:_ZZN7glslang9TBuiltIns17addTabledBuiltinsEi8EProfileRKNS_10SpvVersionEENK3$_0clERNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEERK4spanIKNS_12_GLOBAL__N_115BuiltInFunctionEE:
  510|     74|    const auto forEachFunction = [&](TString& decls, const span<const BuiltInFunction>& functions) {
  511|  2.95k|        for (const auto& fn : functions) {
  ------------------
  |  Branch (511:29): [True: 2.95k, False: 74]
  ------------------
  512|  2.95k|            if (ValidVersion(fn, version, profile, spvVersion)) {
  ------------------
  |  Branch (512:17): [True: 1.80k, False: 1.15k]
  ------------------
  513|  1.80k|                AddTabledBuiltin(decls, fn);
  514|  1.80k|                if (profile != EEsProfile) {
  ------------------
  |  Branch (514:21): [True: 170, False: 1.63k]
  ------------------
  515|    170|                    AddLongVectorBuiltin(decls, fn);
  516|    170|                }
  517|  1.80k|            }
  518|  2.95k|        }
  519|     74|    };
Initialize.cpp:_ZN7glslang12_GLOBAL__N_112ValidVersionERKNS0_15BuiltInFunctionEi8EProfileRKNS_10SpvVersionE:
  476|  2.95k|{
  477|       |    // nullptr means always valid
  478|  2.95k|    if (function.versioning.empty())
  ------------------
  |  Branch (478:9): [True: 1.73k, False: 1.22k]
  ------------------
  479|  1.73k|        return true;
  480|       |
  481|       |    // check for what is said about our current profile
  482|  2.44k|    for (const auto& v : function.versioning) {
  ------------------
  |  Branch (482:24): [True: 2.44k, False: 1.15k]
  ------------------
  483|  2.44k|        if ((v.profiles & profile) != 0) {
  ------------------
  |  Branch (483:13): [True: 1.22k, False: 1.22k]
  ------------------
  484|  1.22k|            if (v.minCoreVersion <= version || (v.numExtensions > 0 && v.minExtendedVersion <= version))
  ------------------
  |  Branch (484:17): [True: 68, False: 1.15k]
  |  Branch (484:49): [True: 0, False: 1.15k]
  |  Branch (484:72): [True: 0, False: 0]
  ------------------
  485|     68|                return true;
  486|  1.22k|        }
  487|  2.44k|    }
  488|       |
  489|  1.15k|    return false;
  490|  1.22k|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_116AddTabledBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionE:
  322|  1.80k|{
  323|  1.80k|    const auto isScalarType = [](int type) { return (type & TypeStringColumnMask) == 0; };
  324|       |
  325|       |    // loop across these two:
  326|       |    //  0: the varying arg set, and
  327|       |    //  1: the fixed scalar args
  328|  1.80k|    const ArgClass ClassFixed = (ArgClass)(ClassLS | ClassXLS | ClassLS2 | ClassFS | ClassFS2);
  329|  3.89k|    for (int fixed = 0; fixed < ((function.classes & ClassFixed) > 0 ? 2 : 1); ++fixed) {
  ------------------
  |  Branch (329:25): [True: 2.09k, False: 1.80k]
  |  Branch (329:34): [True: 882, False: 3.01k]
  ------------------
  330|       |
  331|  2.09k|        if (fixed == 0 && (function.classes & ClassXLS))
  ------------------
  |  Branch (331:13): [True: 1.80k, False: 294]
  |  Branch (331:27): [True: 36, False: 1.76k]
  ------------------
  332|     36|            continue;
  333|       |
  334|       |        // walk the type strings in TypeString[]
  335|  35.0k|        for (int type = 0; type < TypeStringCount; ++type) {
  ------------------
  |  Branch (335:28): [True: 32.9k, False: 2.06k]
  ------------------
  336|       |            // skip types not selected: go from type to row number to type bit
  337|  32.9k|            if ((function.types & (1 << (type >> TypeStringRowShift))) == 0)
  ------------------
  |  Branch (337:17): [True: 23.4k, False: 9.51k]
  ------------------
  338|  23.4k|                continue;
  339|       |
  340|       |            // if we aren't on a scalar, and should be, skip
  341|  9.51k|            if ((function.classes & ClassV1) && !isScalarType(type))
  ------------------
  |  Branch (341:17): [True: 128, False: 9.38k]
  |  Branch (341:49): [True: 96, False: 32]
  ------------------
  342|     96|                continue;
  343|       |
  344|       |            // if we aren't on a 3-vector, and should be, skip
  345|  9.41k|            if ((function.classes & ClassV3) && (type & TypeStringColumnMask) != 2)
  ------------------
  |  Branch (345:17): [True: 144, False: 9.27k]
  |  Branch (345:49): [True: 108, False: 36]
  ------------------
  346|    108|                continue;
  347|       |
  348|       |            // skip replication of all arg scalars between the varying arg set and the fixed args
  349|  9.30k|            if (fixed == 1 && type == (type & TypeStringScalarMask) && (function.classes & ClassXLS) == 0)
  ------------------
  |  Branch (349:17): [True: 1.20k, False: 8.10k]
  |  Branch (349:31): [True: 300, False: 900]
  |  Branch (349:72): [True: 264, False: 36]
  ------------------
  350|    264|                continue;
  351|       |
  352|       |            // skip scalars when we are told to
  353|  9.04k|            if ((function.classes & ClassNS) && isScalarType(type))
  ------------------
  |  Branch (353:17): [True: 2.49k, False: 6.54k]
  |  Branch (353:49): [True: 624, False: 1.87k]
  ------------------
  354|    624|                continue;
  355|       |
  356|       |            // return type
  357|  8.42k|            if (function.classes & ClassB)
  ------------------
  |  Branch (357:17): [True: 1.56k, False: 6.85k]
  ------------------
  358|  1.56k|                decls.append(TypeString[type & TypeStringColumnMask]);
  359|  6.85k|            else if (function.classes & ClassRS)
  ------------------
  |  Branch (359:22): [True: 648, False: 6.20k]
  ------------------
  360|    648|                decls.append(TypeString[type & TypeStringScalarMask]);
  361|  6.20k|            else
  362|  6.20k|                decls.append(TypeString[type]);
  363|  8.42k|            decls.append(" ");
  364|  8.42k|            decls.append(function.name);
  365|  8.42k|            decls.append("(");
  366|       |
  367|       |            // arguments
  368|  22.4k|            for (int arg = 0; arg < function.numArguments; ++arg) {
  ------------------
  |  Branch (368:31): [True: 14.0k, False: 8.42k]
  ------------------
  369|  14.0k|                if (arg == function.numArguments - 1 && (function.classes & ClassLO))
  ------------------
  |  Branch (369:21): [True: 8.42k, False: 5.62k]
  |  Branch (369:57): [True: 8, False: 8.41k]
  ------------------
  370|      8|                    decls.append("out ");
  371|  14.0k|                if (arg == 0) {
  ------------------
  |  Branch (371:21): [True: 8.42k, False: 5.62k]
  ------------------
  372|  8.42k|                    if (function.classes & ClassCVN)
  ------------------
  |  Branch (372:25): [True: 32, False: 8.38k]
  ------------------
  373|     32|                        decls.append("coherent volatile nontemporal ");
  374|  8.42k|                    if (function.classes & ClassFIO)
  ------------------
  |  Branch (374:25): [True: 32, False: 8.38k]
  ------------------
  375|     32|                        decls.append("inout ");
  376|  8.42k|                    if (function.classes & ClassFO)
  ------------------
  |  Branch (376:25): [True: 0, False: 8.42k]
  ------------------
  377|      0|                        decls.append("out ");
  378|  8.42k|                }
  379|  14.0k|                if ((function.classes & ClassLB) && arg == function.numArguments - 1)
  ------------------
  |  Branch (379:21): [True: 72, False: 13.9k]
  |  Branch (379:53): [True: 24, False: 48]
  ------------------
  380|     24|                    decls.append(TypeString[type & TypeStringColumnMask]);
  381|  14.0k|                else if (fixed && ((arg == function.numArguments - 1 && (function.classes & (ClassLS | ClassXLS |
  ------------------
  |  Branch (381:26): [True: 2.35k, False: 11.6k]
  |  Branch (381:37): [True: 936, False: 1.41k]
  |  Branch (381:73): [True: 720, False: 216]
  ------------------
  382|    936|                                                                                                       ClassLS2))) ||
  383|  1.63k|                                   (arg == function.numArguments - 2 && (function.classes & ClassLS2))             ||
  ------------------
  |  Branch (383:37): [True: 936, False: 696]
  |  Branch (383:73): [True: 120, False: 816]
  ------------------
  384|  1.51k|                                   (arg == 0                         && (function.classes & (ClassFS | ClassFS2))) ||
  ------------------
  |  Branch (384:37): [True: 936, False: 576]
  |  Branch (384:73): [True: 216, False: 720]
  ------------------
  385|  1.29k|                                   (arg == 1                         && (function.classes & ClassFS2))))
  ------------------
  |  Branch (385:37): [True: 468, False: 828]
  |  Branch (385:73): [True: 108, False: 360]
  ------------------
  386|  1.16k|                    decls.append(TypeString[type & TypeStringScalarMask]);
  387|  12.8k|                else
  388|  12.8k|                    decls.append(TypeString[type]);
  389|  14.0k|                if (arg < function.numArguments - 1)
  ------------------
  |  Branch (389:21): [True: 5.62k, False: 8.42k]
  ------------------
  390|  5.62k|                    decls.append(",");
  391|  14.0k|            }
  392|  8.42k|            decls.append(");\n");
  393|  8.42k|        }
  394|  2.06k|    }
  395|  1.80k|}
Initialize.cpp:_ZZN7glslang12_GLOBAL__N_116AddTabledBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionEENK3$_0clEi:
  323|  2.62k|    const auto isScalarType = [](int type) { return (type & TypeStringColumnMask) == 0; };
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120AddLongVectorBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionE:
  401|    170|{
  402|    170|    const auto isScalarType = [](int type) { return (type & TypeStringColumnMask) == 0; };
  403|       |
  404|       |    // loop across these two:
  405|       |    //  0: the varying arg set, and
  406|       |    //  1: the fixed scalar args
  407|    170|    const ArgClass ClassFixed = (ArgClass)(ClassLS | ClassXLS | ClassLS2 | ClassFS | ClassFS2);
  408|    362|    for (int fixed = 0; fixed < ((function.classes & ClassFixed) > 0 ? 2 : 1); ++fixed) {
  ------------------
  |  Branch (408:25): [True: 192, False: 170]
  |  Branch (408:34): [True: 66, False: 296]
  ------------------
  409|       |
  410|    192|        if (fixed == 0 && (function.classes & ClassXLS))
  ------------------
  |  Branch (410:13): [True: 170, False: 22]
  |  Branch (410:27): [True: 2, False: 168]
  ------------------
  411|      2|            continue;
  412|       |
  413|       |        // Iterate over the different scalar types (needed for ClassRS)
  414|  3.23k|        for (int type = 0; type < TypeStringCount; ++type) {
  ------------------
  |  Branch (414:28): [True: 3.04k, False: 190]
  ------------------
  415|  3.04k|            if (!isScalarType(type))
  ------------------
  |  Branch (415:17): [True: 2.28k, False: 760]
  ------------------
  416|  2.28k|                continue;
  417|       |
  418|       |            // skip types not selected: go from type to row number to type bit
  419|    760|            if ((function.types & (1 << (type >> TypeStringRowShift))) == 0)
  ------------------
  |  Branch (419:17): [True: 524, False: 236]
  ------------------
  420|    524|                continue;
  421|       |
  422|       |            // skip scalar-only
  423|    236|            if (function.classes & ClassV1)
  ------------------
  |  Branch (423:17): [True: 32, False: 204]
  ------------------
  424|     32|                continue;
  425|       |
  426|       |            // skip 3-vector
  427|    204|            if (function.classes & ClassV3)
  ------------------
  |  Branch (427:17): [True: 2, False: 202]
  ------------------
  428|      2|                continue;
  429|       |
  430|    202|            TString decl;
  431|       |            // return type
  432|    202|            if (function.classes & ClassB)
  ------------------
  |  Branch (432:17): [True: 44, False: 158]
  ------------------
  433|     44|                decl.append("vector");
  434|    158|            else if (function.classes & ClassRS)
  ------------------
  |  Branch (434:22): [True: 10, False: 148]
  ------------------
  435|     10|                decl.append(TypeString[type & TypeStringScalarMask]);
  436|    148|            else
  437|    148|                decl.append("vector");
  438|    202|            decl.append(" ");
  439|    202|            decl.append(function.name);
  440|    202|            decl.append("(");
  441|       |
  442|       |            // arguments
  443|    552|            for (int arg = 0; arg < function.numArguments; ++arg) {
  ------------------
  |  Branch (443:31): [True: 350, False: 202]
  ------------------
  444|    350|                if (arg == function.numArguments - 1 && (function.classes & ClassLO))
  ------------------
  |  Branch (444:21): [True: 202, False: 148]
  |  Branch (444:57): [True: 2, False: 200]
  ------------------
  445|      2|                    decl.append("out ");
  446|    350|                if (arg == 0) {
  ------------------
  |  Branch (446:21): [True: 202, False: 148]
  ------------------
  447|    202|                    if (function.classes & ClassCVN)
  ------------------
  |  Branch (447:25): [True: 0, False: 202]
  ------------------
  448|      0|                        decl.append("coherent volatile nontemporal ");
  449|    202|                    if (function.classes & ClassFIO)
  ------------------
  |  Branch (449:25): [True: 0, False: 202]
  ------------------
  450|      0|                        decl.append("inout ");
  451|    202|                    if (function.classes & ClassFO)
  ------------------
  |  Branch (451:25): [True: 0, False: 202]
  ------------------
  452|      0|                        decl.append("out ");
  453|    202|                }
  454|    350|                if ((function.classes & ClassLB) && arg == function.numArguments - 1)
  ------------------
  |  Branch (454:21): [True: 18, False: 332]
  |  Branch (454:53): [True: 6, False: 12]
  ------------------
  455|      6|                    decl.append("vector");
  456|    344|                else if (fixed && ((arg == function.numArguments - 1 && (function.classes & (ClassLS | ClassXLS |
  ------------------
  |  Branch (456:26): [True: 68, False: 276]
  |  Branch (456:37): [True: 28, False: 40]
  |  Branch (456:73): [True: 24, False: 4]
  ------------------
  457|     28|                                                                                                       ClassLS2))) ||
  458|     44|                                   (arg == function.numArguments - 2 && (function.classes & ClassLS2))             ||
  ------------------
  |  Branch (458:37): [True: 28, False: 16]
  |  Branch (458:73): [True: 6, False: 22]
  ------------------
  459|     38|                                   (arg == 0                         && (function.classes & (ClassFS | ClassFS2))) ||
  ------------------
  |  Branch (459:37): [True: 28, False: 10]
  |  Branch (459:73): [True: 4, False: 24]
  ------------------
  460|     34|                                   (arg == 1                         && (function.classes & ClassFS2))))
  ------------------
  |  Branch (460:37): [True: 8, False: 26]
  |  Branch (460:73): [True: 2, False: 6]
  ------------------
  461|     36|                    decl.append(TypeString[type & TypeStringScalarMask]);
  462|    308|                else
  463|    308|                    decl.append("vector");
  464|    350|                if (arg < function.numArguments - 1)
  ------------------
  |  Branch (464:21): [True: 148, False: 202]
  ------------------
  465|    148|                    decl.append(",");
  466|    350|            }
  467|    202|            decl.append(");\n");
  468|       |
  469|    202|            decls.append(decl);
  470|    202|        }
  471|    190|    }
  472|    170|}
Initialize.cpp:_ZZN7glslang12_GLOBAL__N_120AddLongVectorBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionEENK3$_0clEi:
  402|  3.04k|    const auto isScalarType = [](int type) { return (type & TypeStringColumnMask) == 0; };
_ZN7glslang13IncludeLegacyEi8EProfileRKNS_10SpvVersionE:
  537|    274|{
  538|    274|    return profile != EEsProfile && (version <= 130 || (spvVersion.spv == 0 && version == 140 && ARBCompatibility) ||
  ------------------
  |  Branch (538:12): [True: 70, False: 204]
  |  Branch (538:38): [True: 0, False: 70]
  |  Branch (538:57): [True: 70, False: 0]
  |  Branch (538:80): [True: 0, False: 70]
  |  Branch (538:98): [True: 0, Folded]
  ------------------
  539|     70|           profile == ECompatibilityProfile);
  ------------------
  |  Branch (539:12): [True: 0, False: 70]
  ------------------
  540|    274|}
Initialize.cpp:_ZN7glslangL15BuiltInVariableEPKcNS_16TBuiltInVariableERNS_12TSymbolTableE:
 9108|  2.35k|{
 9109|  2.35k|    TSymbol* symbol = symbolTable.find(name);
 9110|  2.35k|    if (symbol == nullptr)
  ------------------
  |  Branch (9110:9): [True: 1.73k, False: 620]
  ------------------
 9111|  1.73k|        return;
 9112|       |
 9113|    620|    TQualifier& symQualifier = symbol->getWritableType().getQualifier();
 9114|    620|    symQualifier.builtIn = builtIn;
 9115|    620|}
Initialize.cpp:_ZN7glslangL16SpecialQualifierEPKcNS_17TStorageQualifierENS_16TBuiltInVariableERNS_12TSymbolTableE:
 9070|    488|{
 9071|    488|    TSymbol* symbol = symbolTable.find(name);
 9072|    488|    if (symbol == nullptr)
  ------------------
  |  Branch (9072:9): [True: 186, False: 302]
  ------------------
 9073|    186|        return;
 9074|       |
 9075|    302|    TQualifier& symQualifier = symbol->getWritableType().getQualifier();
 9076|    302|    symQualifier.storage = qualifier;
 9077|    302|    symQualifier.builtIn = builtIn;
 9078|    302|}
Initialize.cpp:_ZN7glslangL15BuiltInVariableEPKcS1_NS_16TBuiltInVariableERNS_12TSymbolTableE:
 9130|  1.39k|{
 9131|  1.39k|    TSymbol* symbol = symbolTable.find(blockName);
 9132|  1.39k|    if (symbol == nullptr)
  ------------------
  |  Branch (9132:9): [True: 1.29k, False: 102]
  ------------------
 9133|  1.29k|        return;
 9134|       |
 9135|    102|    TTypeList& structure = *symbol->getWritableType().getWritableStruct();
 9136|    518|    for (int i = 0; i < (int)structure.size(); ++i) {
  ------------------
  |  Branch (9136:21): [True: 490, False: 28]
  ------------------
 9137|    490|        if (structure[i].type->getFieldName().compare(name) == 0) {
  ------------------
  |  Branch (9137:13): [True: 74, False: 416]
  ------------------
 9138|     74|            structure[i].type->getQualifier().builtIn = builtIn;
 9139|     74|            return;
 9140|     74|        }
 9141|    490|    }
 9142|    102|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120RelateTabledBuiltinsINSt3__15arrayINS0_15BuiltInFunctionELm79EEEEEvRKT_RNS_12TSymbolTableE:
  499|     96|{
  500|  7.58k|    for (const auto& fn : functions) {
  ------------------
  |  Branch (500:25): [True: 7.58k, False: 96]
  ------------------
  501|  7.58k|        symbolTable.relateToOperator(fn.name, fn.op);
  502|  7.58k|    }
  503|     96|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120RelateTabledBuiltinsINSt3__15arrayINS0_15BuiltInFunctionELm3EEEEEvRKT_RNS_12TSymbolTableE:
  499|     96|{
  500|    288|    for (const auto& fn : functions) {
  ------------------
  |  Branch (500:25): [True: 288, False: 96]
  ------------------
  501|    288|        symbolTable.relateToOperator(fn.name, fn.op);
  502|    288|    }
  503|     96|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120RelateTabledBuiltinsIA39_NS0_14CustomFunctionEEEvRKT_RNS_12TSymbolTableE:
  499|     96|{
  500|  3.74k|    for (const auto& fn : functions) {
  ------------------
  |  Branch (500:25): [True: 3.74k, False: 96]
  ------------------
  501|  3.74k|        symbolTable.relateToOperator(fn.name, fn.op);
  502|  3.74k|    }
  503|     96|}
Initialize.cpp:_ZZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableEENK3$_0clEPKc:
10364|    336|            auto coopMatKHRCallback = [](const char *name) -> std::vector<const char *> {
10365|    336|                std::vector<const char *> ret;
10366|    336|                if (strstr(name, "u64") != nullptr) {
  ------------------
  |  Branch (10366:21): [True: 180, False: 156]
  ------------------
10367|    180|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10368|    180|                } else {
10369|    156|                    ret.push_back(E_GL_KHR_cooperative_matrix);
10370|    156|                }
10371|    336|                return ret;
10372|    336|            };
Initialize.cpp:_ZZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableEENK3$_1clEPKc:
10373|     32|            auto coopMat2NVCallback = [](const char *name) -> std::vector<const char *> {
10374|     32|                std::vector<const char *> ret;
10375|     32|                if (strstr(name, "u64") != nullptr) {
  ------------------
  |  Branch (10375:21): [True: 16, False: 16]
  ------------------
10376|     16|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10377|     16|                } else {
10378|     16|                    ret.push_back(E_GL_NV_cooperative_matrix2);
10379|     16|                }
10380|     32|                return ret;
10381|     32|            };
Initialize.cpp:_ZZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableEENK3$_2clEPKc:
10420|    968|            auto coopVecCallback = [](const char *name) -> std::vector<const char *> {
10421|    968|                std::vector<const char *> ret;
10422|       |                // This looks for u64 as the last parameter (the offset)
10423|    968|                if (strstr(name, "u641;") != nullptr) {
  ------------------
  |  Branch (10423:21): [True: 484, False: 484]
  ------------------
10424|    484|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10425|    484|                } else {
10426|    484|                    ret.push_back(E_GL_NV_cooperative_vector);
10427|    484|                }
10428|    968|                return ret;
10429|    968|            };

_ZNK7glslang18TBuiltInParseables15getCommonStringEv:
   66|    150|    virtual const TString& getCommonString() const { return commonBuiltins; }
_ZNK7glslang18TBuiltInParseables14getStageStringE11EShLanguage:
   67|    404|    virtual const TString& getStageString(EShLanguage language) const { return stageBuiltins[language]; }

_ZN7glslang20TIntermConstantUnion8traverseEPNS_16TIntermTraverserE:
   70|     42|{
   71|     42|    it->visitConstantUnion(this);
   72|     42|}
_ZN7glslang16TIntermAggregate8traverseEPNS_16TIntermTraverserE:
  155|     14|{
  156|     14|    bool visit = true;
  157|       |
  158|     14|    if (it->preVisit)
  ------------------
  |  Branch (158:9): [True: 14, False: 0]
  ------------------
  159|     14|        visit = it->visitAggregate(EvPreVisit, this);
  160|       |
  161|     14|    if (visit) {
  ------------------
  |  Branch (161:9): [True: 0, False: 14]
  ------------------
  162|      0|        it->incrementDepth(this);
  163|       |
  164|      0|        if (it->rightToLeft) {
  ------------------
  |  Branch (164:13): [True: 0, False: 0]
  ------------------
  165|      0|            for (TIntermSequence::reverse_iterator sit = sequence.rbegin(); sit != sequence.rend(); sit++) {
  ------------------
  |  Branch (165:77): [True: 0, False: 0]
  ------------------
  166|      0|                (*sit)->traverse(it);
  167|       |
  168|      0|                if (visit && it->inVisit) {
  ------------------
  |  Branch (168:21): [True: 0, False: 0]
  |  Branch (168:30): [True: 0, False: 0]
  ------------------
  169|      0|                    if (*sit != sequence.front())
  ------------------
  |  Branch (169:25): [True: 0, False: 0]
  ------------------
  170|      0|                        visit = it->visitAggregate(EvInVisit, this);
  171|      0|                }
  172|      0|            }
  173|      0|        } else {
  174|      0|            for (TIntermSequence::iterator sit = sequence.begin(); sit != sequence.end(); sit++) {
  ------------------
  |  Branch (174:68): [True: 0, False: 0]
  ------------------
  175|      0|                (*sit)->traverse(it);
  176|       |
  177|      0|                if (visit && it->inVisit) {
  ------------------
  |  Branch (177:21): [True: 0, False: 0]
  |  Branch (177:30): [True: 0, False: 0]
  ------------------
  178|      0|                    if (*sit != sequence.back())
  ------------------
  |  Branch (178:25): [True: 0, False: 0]
  ------------------
  179|      0|                        visit = it->visitAggregate(EvInVisit, this);
  180|      0|                }
  181|      0|            }
  182|      0|        }
  183|       |
  184|      0|        it->decrementDepth();
  185|      0|    }
  186|       |
  187|     14|    if (visit && it->postVisit)
  ------------------
  |  Branch (187:9): [True: 0, False: 14]
  |  Branch (187:18): [True: 0, False: 0]
  ------------------
  188|      0|        it->visitAggregate(EvPostVisit, this);
  189|     14|}

_ZN7glslang13TIntermediate9addSymbolExRKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEES9_RKNS_5TTypeERKNS_16TConstUnionArrayEPNS_12TIntermTypedERKNS_10TSourceLocE:
   71|      4|{
   72|      4|    TIntermSymbol* node = new TIntermSymbol(id, name, getStage(), type, &mangledName);
   73|      4|    node->setLoc(loc);
   74|      4|    node->setConstArray(constArray);
   75|      4|    node->setConstSubtree(constSubtree);
   76|       |
   77|      4|    return node;
   78|      4|}
_ZN7glslang13TIntermediate9addSymbolERKNS_9TVariableE:
   92|      4|{
   93|      4|    glslang::TSourceLoc loc; // just a null location
   94|      4|    loc.init();
   95|       |
   96|      4|    return addSymbol(variable, loc);
   97|      4|}
_ZN7glslang13TIntermediate9addSymbolERKNS_9TVariableERKNS_10TSourceLocE:
  100|      4|{
  101|      4|    return addSymbol(variable.getUniqueId(), variable.getName(), variable.getMangledName(), variable.getType(), variable.getConstArray(), variable.getConstSubtree(), loc);
  102|      4|}
_ZNK7glslang13TIntermediate12addUnaryNodeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocE:
  260|      2|{
  261|      2|    TIntermUnary* node = new TIntermUnary(op);
  262|      2|    node->setLoc(loc.line != 0 ? loc : child->getLoc());
  ------------------
  |  Branch (262:18): [True: 2, False: 0]
  ------------------
  263|      2|    node->setOperand(child);
  264|       |
  265|      2|    return node;
  266|      2|}
_ZN7glslang13TIntermediate12addUnaryMathENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocE:
  357|     44|{
  358|     44|    if (child == nullptr)
  ------------------
  |  Branch (358:9): [True: 0, False: 44]
  ------------------
  359|      0|        return nullptr;
  360|       |
  361|     44|    if (child->getType().getBasicType() == EbtBlock)
  ------------------
  |  Branch (361:9): [True: 0, False: 44]
  ------------------
  362|      0|        return nullptr;
  363|       |
  364|     44|    switch (op) {
  365|      0|    case EOpLogicalNot:
  ------------------
  |  Branch (365:5): [True: 0, False: 44]
  ------------------
  366|      0|        if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (366:13): [True: 0, False: 0]
  ------------------
  367|      0|            break; // HLSL can promote logical not
  368|      0|        }
  369|       |
  370|      0|        if (child->getType().getBasicType() != EbtBool || child->getType().isMatrix() || child->getType().isArray() || child->getType().isVector()) {
  ------------------
  |  Branch (370:13): [True: 0, False: 0]
  |  Branch (370:59): [True: 0, False: 0]
  |  Branch (370:90): [True: 0, False: 0]
  |  Branch (370:120): [True: 0, False: 0]
  ------------------
  371|      0|            return nullptr;
  372|      0|        }
  373|      0|        break;
  374|       |
  375|      0|    case EOpPostIncrement:
  ------------------
  |  Branch (375:5): [True: 0, False: 44]
  ------------------
  376|      0|    case EOpPreIncrement:
  ------------------
  |  Branch (376:5): [True: 0, False: 44]
  ------------------
  377|      0|    case EOpPostDecrement:
  ------------------
  |  Branch (377:5): [True: 0, False: 44]
  ------------------
  378|      0|    case EOpPreDecrement:
  ------------------
  |  Branch (378:5): [True: 0, False: 44]
  ------------------
  379|      2|    case EOpNegative:
  ------------------
  |  Branch (379:5): [True: 2, False: 42]
  ------------------
  380|      2|        if (child->getType().getBasicType() == EbtStruct || child->getType().isArray())
  ------------------
  |  Branch (380:13): [True: 0, False: 2]
  |  Branch (380:61): [True: 0, False: 2]
  ------------------
  381|      0|            return nullptr;
  382|      2|        break;
  383|     42|    default: break; // some compilers want this
  ------------------
  |  Branch (383:5): [True: 42, False: 2]
  ------------------
  384|     44|    }
  385|       |
  386|       |    //
  387|       |    // Do we need to promote the operand?
  388|       |    //
  389|     44|    TBasicType newType = EbtVoid;
  390|     44|    switch (op) {
  391|      0|    case EOpConstructBool:   newType = EbtBool;   break;
  ------------------
  |  Branch (391:5): [True: 0, False: 44]
  ------------------
  392|      0|    case EOpConstructFloat:  newType = EbtFloat;  break;
  ------------------
  |  Branch (392:5): [True: 0, False: 44]
  ------------------
  393|     24|    case EOpConstructInt:    newType = EbtInt;    break;
  ------------------
  |  Branch (393:5): [True: 24, False: 20]
  ------------------
  394|     18|    case EOpConstructUint:   newType = EbtUint;   break;
  ------------------
  |  Branch (394:5): [True: 18, False: 26]
  ------------------
  395|      0|    case EOpConstructInt8:   newType = EbtInt8;   break;
  ------------------
  |  Branch (395:5): [True: 0, False: 44]
  ------------------
  396|      0|    case EOpConstructUint8:  newType = EbtUint8;  break;
  ------------------
  |  Branch (396:5): [True: 0, False: 44]
  ------------------
  397|      0|    case EOpConstructInt16:  newType = EbtInt16;  break;
  ------------------
  |  Branch (397:5): [True: 0, False: 44]
  ------------------
  398|      0|    case EOpConstructUint16: newType = EbtUint16; break;
  ------------------
  |  Branch (398:5): [True: 0, False: 44]
  ------------------
  399|      0|    case EOpConstructInt64:  newType = EbtInt64;  break;
  ------------------
  |  Branch (399:5): [True: 0, False: 44]
  ------------------
  400|      0|    case EOpConstructUint64: newType = EbtUint64; break;
  ------------------
  |  Branch (400:5): [True: 0, False: 44]
  ------------------
  401|      0|    case EOpConstructDouble: newType = EbtDouble; break;
  ------------------
  |  Branch (401:5): [True: 0, False: 44]
  ------------------
  402|      0|    case EOpConstructFloat16: newType = EbtFloat16; break;
  ------------------
  |  Branch (402:5): [True: 0, False: 44]
  ------------------
  403|      0|    case EOpConstructBFloat16: newType = EbtBFloat16; break;
  ------------------
  |  Branch (403:5): [True: 0, False: 44]
  ------------------
  404|      0|    case EOpConstructFloatE4M3: newType = EbtFloatE4M3; break;
  ------------------
  |  Branch (404:5): [True: 0, False: 44]
  ------------------
  405|      0|    case EOpConstructFloatE5M2: newType = EbtFloatE5M2; break;
  ------------------
  |  Branch (405:5): [True: 0, False: 44]
  ------------------
  406|      0|    case EOpConstructFloatE2M1: newType = EbtFloatE2M1; break;
  ------------------
  |  Branch (406:5): [True: 0, False: 44]
  ------------------
  407|      0|    case EOpConstructFloatE3M2: newType = EbtFloatE3M2; break;
  ------------------
  |  Branch (407:5): [True: 0, False: 44]
  ------------------
  408|      0|    case EOpConstructFloatE2M3: newType = EbtFloatE2M3; break;
  ------------------
  |  Branch (408:5): [True: 0, False: 44]
  ------------------
  409|      0|    case EOpConstructFloatUE8M0: newType = EbtFloatUE8M0; break;
  ------------------
  |  Branch (409:5): [True: 0, False: 44]
  ------------------
  410|      0|    case EOpConstructFloatMXINT8: newType = EbtFloatMXINT8; break;
  ------------------
  |  Branch (410:5): [True: 0, False: 44]
  ------------------
  411|      2|    default: break; // some compilers want this
  ------------------
  |  Branch (411:5): [True: 2, False: 42]
  ------------------
  412|     44|    }
  413|       |
  414|     44|    if (newType != EbtVoid) {
  ------------------
  |  Branch (414:9): [True: 42, False: 2]
  ------------------
  415|     42|        TType newTType(newType, EvqTemporary, child->getVectorSize(), child->getMatrixCols(), child->getMatrixRows(), child->isVector());
  416|     42|        if (child->getType().isLongVector()) {
  ------------------
  |  Branch (416:13): [True: 0, False: 42]
  ------------------
  417|      0|            newTType.shallowCopy(child->getType());
  418|      0|            newTType.setBasicType(newType);
  419|      0|            newTType.makeTemporary();
  420|      0|            newTType.getQualifier().clear();
  421|      0|        }
  422|       |
  423|     42|        child = addConversion(op, newTType, child);
  424|     42|        if (child == nullptr)
  ------------------
  |  Branch (424:13): [True: 0, False: 42]
  ------------------
  425|      0|            return nullptr;
  426|     42|    }
  427|       |
  428|       |    //
  429|       |    // For constructors, we are now done, it was all in the conversion.
  430|       |    // TODO: but, did this bypass constant folding?
  431|       |    //
  432|     44|    switch (op) {
  433|      0|        case EOpConstructInt8:
  ------------------
  |  Branch (433:9): [True: 0, False: 44]
  ------------------
  434|      0|        case EOpConstructUint8:
  ------------------
  |  Branch (434:9): [True: 0, False: 44]
  ------------------
  435|      0|        case EOpConstructInt16:
  ------------------
  |  Branch (435:9): [True: 0, False: 44]
  ------------------
  436|      0|        case EOpConstructUint16:
  ------------------
  |  Branch (436:9): [True: 0, False: 44]
  ------------------
  437|     24|        case EOpConstructInt:
  ------------------
  |  Branch (437:9): [True: 24, False: 20]
  ------------------
  438|     42|        case EOpConstructUint:
  ------------------
  |  Branch (438:9): [True: 18, False: 26]
  ------------------
  439|     42|        case EOpConstructInt64:
  ------------------
  |  Branch (439:9): [True: 0, False: 44]
  ------------------
  440|     42|        case EOpConstructUint64:
  ------------------
  |  Branch (440:9): [True: 0, False: 44]
  ------------------
  441|     42|        case EOpConstructBool:
  ------------------
  |  Branch (441:9): [True: 0, False: 44]
  ------------------
  442|     42|        case EOpConstructFloat:
  ------------------
  |  Branch (442:9): [True: 0, False: 44]
  ------------------
  443|     42|        case EOpConstructDouble:
  ------------------
  |  Branch (443:9): [True: 0, False: 44]
  ------------------
  444|     42|        case EOpConstructFloat16:
  ------------------
  |  Branch (444:9): [True: 0, False: 44]
  ------------------
  445|     42|        case EOpConstructBFloat16:
  ------------------
  |  Branch (445:9): [True: 0, False: 44]
  ------------------
  446|     42|        case EOpConstructFloatE5M2:
  ------------------
  |  Branch (446:9): [True: 0, False: 44]
  ------------------
  447|     42|        case EOpConstructFloatE4M3:
  ------------------
  |  Branch (447:9): [True: 0, False: 44]
  ------------------
  448|     42|        case EOpConstructFloatE2M1:
  ------------------
  |  Branch (448:9): [True: 0, False: 44]
  ------------------
  449|     42|        case EOpConstructFloatE3M2:
  ------------------
  |  Branch (449:9): [True: 0, False: 44]
  ------------------
  450|     42|        case EOpConstructFloatE2M3:
  ------------------
  |  Branch (450:9): [True: 0, False: 44]
  ------------------
  451|     42|        case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (451:9): [True: 0, False: 44]
  ------------------
  452|     42|        case EOpConstructFloatMXINT8: {
  ------------------
  |  Branch (452:9): [True: 0, False: 44]
  ------------------
  453|     42|            TIntermUnary* unary_node = child->getAsUnaryNode();
  454|     42|            if (unary_node != nullptr)
  ------------------
  |  Branch (454:17): [True: 0, False: 42]
  ------------------
  455|      0|                unary_node->updatePrecision();
  456|     42|            return child;
  457|     42|        }
  458|      2|        default: break; // some compilers want this
  ------------------
  |  Branch (458:9): [True: 2, False: 42]
  ------------------
  459|     44|    }
  460|       |
  461|       |    //
  462|       |    // Make a new node for the operator.
  463|       |    //
  464|      2|    TIntermUnary* node = addUnaryNode(op, child, loc);
  465|       |
  466|      2|    if (! promote(node))
  ------------------
  |  Branch (466:9): [True: 0, False: 2]
  ------------------
  467|      0|        return nullptr;
  468|       |
  469|      2|    node->updatePrecision();
  470|       |
  471|       |    // If it's a (non-specialization) constant, it must be folded.
  472|      2|    if (node->getOperand()->getAsConstantUnion())
  ------------------
  |  Branch (472:9): [True: 2, False: 0]
  ------------------
  473|      2|        return node->getOperand()->getAsConstantUnion()->fold(op, node->getType());
  474|       |
  475|       |    // If it's a specialization constant, the result is too,
  476|       |    // if the operation is allowed for specialization constants.
  477|      0|    if (node->getOperand()->getType().getQualifier().isSpecConstant() && isSpecializationOperation(*node))
  ------------------
  |  Branch (477:9): [True: 0, False: 0]
  |  Branch (477:74): [True: 0, False: 0]
  ------------------
  478|      0|        node->getWritableType().getQualifier().makeSpecConstant();
  479|       |
  480|       |    // If must propagate nonuniform, make a nonuniform.
  481|      0|    if (node->getOperand()->getQualifier().isNonUniform() && isNonuniformPropagating(node->getOp()))
  ------------------
  |  Branch (481:9): [True: 0, False: 0]
  |  Branch (481:62): [True: 0, False: 0]
  ------------------
  482|      0|        node->getWritableType().getQualifier().nonUniform = true;
  483|       |
  484|      0|    return node;
  485|      2|}
_ZN7glslang13TIntermediate20setAggregateOperatorEP11TIntermNodeNS_9TOperatorERKNS_5TTypeERKNS_10TSourceLocE:
  527|     14|{
  528|     14|    TIntermAggregate* aggNode;
  529|       |
  530|       |    //
  531|       |    // Make sure we have an aggregate.  If not turn it into one.
  532|       |    //
  533|     14|    if (node != nullptr) {
  ------------------
  |  Branch (533:9): [True: 14, False: 0]
  ------------------
  534|     14|        aggNode = node->getAsAggregate();
  535|     14|        if (aggNode == nullptr || aggNode->getOp() != EOpNull) {
  ------------------
  |  Branch (535:13): [True: 0, False: 14]
  |  Branch (535:35): [True: 0, False: 14]
  ------------------
  536|       |            //
  537|       |            // Make an aggregate containing this node.
  538|       |            //
  539|      0|            aggNode = new TIntermAggregate();
  540|      0|            aggNode->getSequence().push_back(node);
  541|      0|        }
  542|     14|    } else
  543|      0|        aggNode = new TIntermAggregate();
  544|       |
  545|       |    //
  546|       |    // Set the operator.
  547|       |    //
  548|     14|    aggNode->setOperator(op);
  549|     14|    if (loc.line != 0 || node != nullptr)
  ------------------
  |  Branch (549:9): [True: 14, False: 0]
  |  Branch (549:26): [True: 0, False: 0]
  ------------------
  550|     14|        aggNode->setLoc(loc.line != 0 ? loc : node->getLoc());
  ------------------
  |  Branch (550:25): [True: 14, False: 0]
  ------------------
  551|       |
  552|     14|    aggNode->setType(type);
  553|       |
  554|     14|    return fold(aggNode);
  555|     14|}
_ZNK7glslang13TIntermediate19isConversionAllowedENS_9TOperatorEPNS_12TIntermTypedE:
  558|    748|{
  559|       |    //
  560|       |    // Does the base type even allow the operation?
  561|       |    //
  562|    748|    switch (node->getBasicType()) {
  563|      0|    case EbtVoid:
  ------------------
  |  Branch (563:5): [True: 0, False: 748]
  ------------------
  564|      0|        return false;
  565|      0|    case EbtAtomicUint:
  ------------------
  |  Branch (565:5): [True: 0, False: 748]
  ------------------
  566|      0|    case EbtSampler:
  ------------------
  |  Branch (566:5): [True: 0, False: 748]
  ------------------
  567|      0|    case EbtAccStruct:
  ------------------
  |  Branch (567:5): [True: 0, False: 748]
  ------------------
  568|       |        // opaque types can be passed to functions
  569|      0|        if (op == EOpFunction)
  ------------------
  |  Branch (569:13): [True: 0, False: 0]
  ------------------
  570|      0|            break;
  571|       |
  572|       |        // HLSL can assign samplers directly (no constructor)
  573|      0|        if (getSource() == EShSourceHlsl && node->getBasicType() == EbtSampler)
  ------------------
  |  Branch (573:13): [True: 0, False: 0]
  |  Branch (573:45): [True: 0, False: 0]
  ------------------
  574|      0|            break;
  575|       |
  576|       |        // samplers can get assigned via a sampler constructor
  577|       |        // (well, not yet, but code in the rest of this function is ready for it)
  578|      0|        if (node->getBasicType() == EbtSampler && op == EOpAssign &&
  ------------------
  |  Branch (578:13): [True: 0, False: 0]
  |  Branch (578:51): [True: 0, False: 0]
  ------------------
  579|      0|            node->getAsOperator() != nullptr && node->getAsOperator()->getOp() == EOpConstructTextureSampler)
  ------------------
  |  Branch (579:13): [True: 0, False: 0]
  |  Branch (579:49): [True: 0, False: 0]
  ------------------
  580|      0|            break;
  581|       |
  582|       |        // otherwise, opaque types can't even be operated on, let alone converted
  583|      0|        return false;
  584|    748|    default:
  ------------------
  |  Branch (584:5): [True: 748, False: 0]
  ------------------
  585|    748|        break;
  586|    748|    }
  587|       |
  588|    748|    return true;
  589|    748|}
_ZN7glslang13TIntermediate13addConversionENS_9TOperatorERKNS_5TTypeEPNS_12TIntermTypedE:
  850|    748|{
  851|    748|    if (!isConversionAllowed(op, node))
  ------------------
  |  Branch (851:9): [True: 0, False: 748]
  ------------------
  852|      0|        return nullptr;
  853|       |
  854|       |    // Otherwise, if types are identical, no problem
  855|    748|    if (type == node->getType())
  ------------------
  |  Branch (855:9): [True: 730, False: 18]
  ------------------
  856|    730|        return node;
  857|       |
  858|       |    // If one's a structure, then no conversions.
  859|     18|    if (type.isStruct() || node->isStruct())
  ------------------
  |  Branch (859:9): [True: 0, False: 18]
  |  Branch (859:28): [True: 0, False: 18]
  ------------------
  860|      0|        return nullptr;
  861|       |
  862|       |    // If one's an array, then no conversions.
  863|     18|    if (type.isArray() || node->getType().isArray())
  ------------------
  |  Branch (863:9): [True: 0, False: 18]
  |  Branch (863:27): [True: 0, False: 18]
  ------------------
  864|      0|        return nullptr;
  865|       |
  866|       |    // Reject implicit conversions to cooperative matrix types
  867|     18|    if (node->getType().isCoopMat() &&
  ------------------
  |  Branch (867:9): [True: 0, False: 18]
  ------------------
  868|      0|        op != EOpConstructCooperativeMatrixNV &&
  ------------------
  |  Branch (868:9): [True: 0, False: 0]
  ------------------
  869|      0|        op != EOpConstructCooperativeMatrixKHR &&
  ------------------
  |  Branch (869:9): [True: 0, False: 0]
  ------------------
  870|      0|        op != glslang::EOpCompositeConstructCoopMatQCOM)
  ------------------
  |  Branch (870:9): [True: 0, False: 0]
  ------------------
  871|      0|        return nullptr;
  872|       |
  873|     18|    if (node->getType().isTensorLayoutNV() ||
  ------------------
  |  Branch (873:9): [True: 0, False: 18]
  ------------------
  874|     18|        node->getType().isTensorViewNV())
  ------------------
  |  Branch (874:9): [True: 0, False: 18]
  ------------------
  875|      0|        return nullptr;
  876|       |
  877|       |    // Reject implicit conversions to cooperative vector types
  878|     18|    if (node->getType().isCoopVecNV() &&
  ------------------
  |  Branch (878:9): [True: 0, False: 18]
  ------------------
  879|      0|        op != EOpConstructCooperativeVectorNV)
  ------------------
  |  Branch (879:9): [True: 0, False: 0]
  ------------------
  880|      0|        return nullptr;
  881|       |
  882|       |    // Note: callers are responsible for other aspects of shape,
  883|       |    // like vector and matrix sizes.
  884|       |
  885|     18|    switch (op) {
  886|       |    //
  887|       |    // Explicit conversions (unary operations)
  888|       |    //
  889|      0|    case EOpConstructBool:
  ------------------
  |  Branch (889:5): [True: 0, False: 18]
  ------------------
  890|      0|    case EOpConstructFloat:
  ------------------
  |  Branch (890:5): [True: 0, False: 18]
  ------------------
  891|      0|    case EOpConstructInt:
  ------------------
  |  Branch (891:5): [True: 0, False: 18]
  ------------------
  892|     18|    case EOpConstructUint:
  ------------------
  |  Branch (892:5): [True: 18, False: 0]
  ------------------
  893|     18|    case EOpConstructDouble:
  ------------------
  |  Branch (893:5): [True: 0, False: 18]
  ------------------
  894|     18|    case EOpConstructFloat16:
  ------------------
  |  Branch (894:5): [True: 0, False: 18]
  ------------------
  895|     18|    case EOpConstructBFloat16:
  ------------------
  |  Branch (895:5): [True: 0, False: 18]
  ------------------
  896|     18|    case EOpConstructFloatE5M2:
  ------------------
  |  Branch (896:5): [True: 0, False: 18]
  ------------------
  897|     18|    case EOpConstructFloatE4M3:
  ------------------
  |  Branch (897:5): [True: 0, False: 18]
  ------------------
  898|     18|    case EOpConstructFloatE2M1:
  ------------------
  |  Branch (898:5): [True: 0, False: 18]
  ------------------
  899|     18|    case EOpConstructFloatE3M2:
  ------------------
  |  Branch (899:5): [True: 0, False: 18]
  ------------------
  900|     18|    case EOpConstructFloatE2M3:
  ------------------
  |  Branch (900:5): [True: 0, False: 18]
  ------------------
  901|     18|    case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (901:5): [True: 0, False: 18]
  ------------------
  902|     18|    case EOpConstructFloatMXINT8:
  ------------------
  |  Branch (902:5): [True: 0, False: 18]
  ------------------
  903|     18|    case EOpConstructInt8:
  ------------------
  |  Branch (903:5): [True: 0, False: 18]
  ------------------
  904|     18|    case EOpConstructUint8:
  ------------------
  |  Branch (904:5): [True: 0, False: 18]
  ------------------
  905|     18|    case EOpConstructInt16:
  ------------------
  |  Branch (905:5): [True: 0, False: 18]
  ------------------
  906|     18|    case EOpConstructUint16:
  ------------------
  |  Branch (906:5): [True: 0, False: 18]
  ------------------
  907|     18|    case EOpConstructInt64:
  ------------------
  |  Branch (907:5): [True: 0, False: 18]
  ------------------
  908|     18|    case EOpConstructUint64:
  ------------------
  |  Branch (908:5): [True: 0, False: 18]
  ------------------
  909|     18|    case EOpConstructSaturated:
  ------------------
  |  Branch (909:5): [True: 0, False: 18]
  ------------------
  910|     18|        break;
  911|       |
  912|       |    //
  913|       |    // Implicit conversions
  914|       |    //
  915|      0|    case EOpLogicalNot:
  ------------------
  |  Branch (915:5): [True: 0, False: 18]
  ------------------
  916|       |
  917|      0|    case EOpFunctionCall:
  ------------------
  |  Branch (917:5): [True: 0, False: 18]
  ------------------
  918|       |
  919|      0|    case EOpReturn:
  ------------------
  |  Branch (919:5): [True: 0, False: 18]
  ------------------
  920|      0|    case EOpAssign:
  ------------------
  |  Branch (920:5): [True: 0, False: 18]
  ------------------
  921|      0|    case EOpAddAssign:
  ------------------
  |  Branch (921:5): [True: 0, False: 18]
  ------------------
  922|      0|    case EOpSubAssign:
  ------------------
  |  Branch (922:5): [True: 0, False: 18]
  ------------------
  923|      0|    case EOpMulAssign:
  ------------------
  |  Branch (923:5): [True: 0, False: 18]
  ------------------
  924|      0|    case EOpVectorTimesScalarAssign:
  ------------------
  |  Branch (924:5): [True: 0, False: 18]
  ------------------
  925|      0|    case EOpMatrixTimesScalarAssign:
  ------------------
  |  Branch (925:5): [True: 0, False: 18]
  ------------------
  926|      0|    case EOpDivAssign:
  ------------------
  |  Branch (926:5): [True: 0, False: 18]
  ------------------
  927|      0|    case EOpModAssign:
  ------------------
  |  Branch (927:5): [True: 0, False: 18]
  ------------------
  928|      0|    case EOpAndAssign:
  ------------------
  |  Branch (928:5): [True: 0, False: 18]
  ------------------
  929|      0|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (929:5): [True: 0, False: 18]
  ------------------
  930|      0|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (930:5): [True: 0, False: 18]
  ------------------
  931|       |
  932|      0|    case EOpAtan:
  ------------------
  |  Branch (932:5): [True: 0, False: 18]
  ------------------
  933|      0|    case EOpClamp:
  ------------------
  |  Branch (933:5): [True: 0, False: 18]
  ------------------
  934|      0|    case EOpCross:
  ------------------
  |  Branch (934:5): [True: 0, False: 18]
  ------------------
  935|      0|    case EOpDistance:
  ------------------
  |  Branch (935:5): [True: 0, False: 18]
  ------------------
  936|      0|    case EOpDot:
  ------------------
  |  Branch (936:5): [True: 0, False: 18]
  ------------------
  937|      0|    case EOpDst:
  ------------------
  |  Branch (937:5): [True: 0, False: 18]
  ------------------
  938|      0|    case EOpFaceForward:
  ------------------
  |  Branch (938:5): [True: 0, False: 18]
  ------------------
  939|      0|    case EOpFma:
  ------------------
  |  Branch (939:5): [True: 0, False: 18]
  ------------------
  940|      0|    case EOpFrexp:
  ------------------
  |  Branch (940:5): [True: 0, False: 18]
  ------------------
  941|      0|    case EOpLdexp:
  ------------------
  |  Branch (941:5): [True: 0, False: 18]
  ------------------
  942|      0|    case EOpMix:
  ------------------
  |  Branch (942:5): [True: 0, False: 18]
  ------------------
  943|      0|    case EOpLit:
  ------------------
  |  Branch (943:5): [True: 0, False: 18]
  ------------------
  944|      0|    case EOpMax:
  ------------------
  |  Branch (944:5): [True: 0, False: 18]
  ------------------
  945|      0|    case EOpMin:
  ------------------
  |  Branch (945:5): [True: 0, False: 18]
  ------------------
  946|      0|    case EOpMod:
  ------------------
  |  Branch (946:5): [True: 0, False: 18]
  ------------------
  947|      0|    case EOpModf:
  ------------------
  |  Branch (947:5): [True: 0, False: 18]
  ------------------
  948|      0|    case EOpPow:
  ------------------
  |  Branch (948:5): [True: 0, False: 18]
  ------------------
  949|      0|    case EOpReflect:
  ------------------
  |  Branch (949:5): [True: 0, False: 18]
  ------------------
  950|      0|    case EOpRefract:
  ------------------
  |  Branch (950:5): [True: 0, False: 18]
  ------------------
  951|      0|    case EOpSmoothStep:
  ------------------
  |  Branch (951:5): [True: 0, False: 18]
  ------------------
  952|      0|    case EOpStep:
  ------------------
  |  Branch (952:5): [True: 0, False: 18]
  ------------------
  953|       |
  954|      0|    case EOpSequence:
  ------------------
  |  Branch (954:5): [True: 0, False: 18]
  ------------------
  955|      0|    case EOpConstructStruct:
  ------------------
  |  Branch (955:5): [True: 0, False: 18]
  ------------------
  956|      0|    case EOpConstructCooperativeMatrixNV:
  ------------------
  |  Branch (956:5): [True: 0, False: 18]
  ------------------
  957|      0|    case EOpConstructCooperativeMatrixKHR:
  ------------------
  |  Branch (957:5): [True: 0, False: 18]
  ------------------
  958|      0|    case EOpConstructCooperativeVectorNV:
  ------------------
  |  Branch (958:5): [True: 0, False: 18]
  ------------------
  959|       |
  960|      0|        if (type.isReference() || node->getType().isReference()) {
  ------------------
  |  Branch (960:13): [True: 0, False: 0]
  |  Branch (960:35): [True: 0, False: 0]
  ------------------
  961|       |            // types must match to assign a reference
  962|      0|            if (type == node->getType())
  ------------------
  |  Branch (962:17): [True: 0, False: 0]
  ------------------
  963|      0|                return node;
  964|      0|            else
  965|      0|                return nullptr;
  966|      0|        }
  967|       |
  968|      0|        if (type.getBasicType() == node->getType().getBasicType())
  ------------------
  |  Branch (968:13): [True: 0, False: 0]
  ------------------
  969|      0|            return node;
  970|       |
  971|      0|        if (! canImplicitlyPromote(node->getBasicType(), type.getBasicType(), op))
  ------------------
  |  Branch (971:13): [True: 0, False: 0]
  ------------------
  972|      0|            return nullptr;
  973|      0|        break;
  974|       |
  975|       |    // For GLSL, there are no conversions needed; the shift amount just needs to be an
  976|       |    // integer type, as do the base/result.
  977|       |    // HLSL can convert the shift from a bool to an int.
  978|      0|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (978:5): [True: 0, False: 18]
  ------------------
  979|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (979:5): [True: 0, False: 18]
  ------------------
  980|      0|    {
  981|      0|        if (!(getSource() == EShSourceHlsl && node->getType().getBasicType() == EbtBool)) {
  ------------------
  |  Branch (981:15): [True: 0, False: 0]
  |  Branch (981:47): [True: 0, False: 0]
  ------------------
  982|      0|            if (isTypeInt(type.getBasicType()) && isTypeInt(node->getBasicType()))
  ------------------
  |  Branch (982:17): [True: 0, False: 0]
  |  Branch (982:51): [True: 0, False: 0]
  ------------------
  983|      0|                return node;
  984|      0|            else
  985|      0|                return nullptr;
  986|      0|        }
  987|      0|        break;
  988|      0|    }
  989|       |
  990|      0|    default:
  ------------------
  |  Branch (990:5): [True: 0, False: 18]
  ------------------
  991|       |        // default is to require a match; all exceptions should have case statements above
  992|       |
  993|      0|        if (type.getBasicType() == node->getType().getBasicType())
  ------------------
  |  Branch (993:13): [True: 0, False: 0]
  ------------------
  994|      0|            return node;
  995|      0|        else
  996|      0|            return nullptr;
  997|     18|    }
  998|       |
  999|     18|    bool canPromoteConstant = true;
 1000|       |    // GL_EXT_shader_16bit_storage can't do OpConstantComposite with
 1001|       |    // 16-bit types, so disable promotion for those types.
 1002|       |    // Many issues with this, from JohnK:
 1003|       |    //  - this isn't really right to discuss SPIR-V here
 1004|       |    //  - this could easily be entirely about scalars, so is overstepping
 1005|       |    //  - we should be looking at what the shader asked for, and saying whether or
 1006|       |    //    not it can be done, in the parser, by calling requireExtensions(), not
 1007|       |    //    changing language sementics on the fly by asking what extensions are in use
 1008|       |    //  - at the time of this writing (14-Aug-2020), no test results are changed by this.
 1009|     18|    switch (op) {
 1010|      0|    case EOpConstructBFloat16:
  ------------------
  |  Branch (1010:5): [True: 0, False: 18]
  ------------------
 1011|      0|    case EOpConstructFloatE5M2:
  ------------------
  |  Branch (1011:5): [True: 0, False: 18]
  ------------------
 1012|      0|    case EOpConstructFloatE4M3:
  ------------------
  |  Branch (1012:5): [True: 0, False: 18]
  ------------------
 1013|      0|    case EOpConstructFloatE2M1:
  ------------------
  |  Branch (1013:5): [True: 0, False: 18]
  ------------------
 1014|      0|    case EOpConstructFloatE3M2:
  ------------------
  |  Branch (1014:5): [True: 0, False: 18]
  ------------------
 1015|      0|    case EOpConstructFloatE2M3:
  ------------------
  |  Branch (1015:5): [True: 0, False: 18]
  ------------------
 1016|      0|    case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (1016:5): [True: 0, False: 18]
  ------------------
 1017|      0|    case EOpConstructFloatMXINT8:
  ------------------
  |  Branch (1017:5): [True: 0, False: 18]
  ------------------
 1018|      0|        canPromoteConstant = true;
 1019|      0|        break;
 1020|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (1020:5): [True: 0, False: 18]
  ------------------
 1021|      0|        canPromoteConstant = numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1021:30): [True: 0, False: 0]
  ------------------
 1022|      0|                             numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_float16);
  ------------------
  |  Branch (1022:30): [True: 0, False: 0]
  ------------------
 1023|      0|        break;
 1024|      0|    case EOpConstructInt8:
  ------------------
  |  Branch (1024:5): [True: 0, False: 18]
  ------------------
 1025|      0|    case EOpConstructUint8:
  ------------------
  |  Branch (1025:5): [True: 0, False: 18]
  ------------------
 1026|      0|        canPromoteConstant = numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1026:30): [True: 0, False: 0]
  ------------------
 1027|      0|                             numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int8);
  ------------------
  |  Branch (1027:30): [True: 0, False: 0]
  ------------------
 1028|      0|        break;
 1029|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (1029:5): [True: 0, False: 18]
  ------------------
 1030|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (1030:5): [True: 0, False: 18]
  ------------------
 1031|      0|        canPromoteConstant = numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1031:30): [True: 0, False: 0]
  ------------------
 1032|      0|                             numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int16);
  ------------------
  |  Branch (1032:30): [True: 0, False: 0]
  ------------------
 1033|      0|        break;
 1034|     18|    default:
  ------------------
  |  Branch (1034:5): [True: 18, False: 0]
  ------------------
 1035|     18|        break;
 1036|     18|    }
 1037|       |
 1038|     18|    if (canPromoteConstant && node->getAsConstantUnion())
  ------------------
  |  Branch (1038:9): [True: 18, False: 0]
  |  Branch (1038:31): [True: 18, False: 0]
  ------------------
 1039|     18|        return promoteConstantUnion(type.getBasicType(), node->getAsConstantUnion());
 1040|       |
 1041|       |    //
 1042|       |    // Add a new newNode for the conversion.
 1043|       |    //
 1044|      0|    TIntermTyped* newNode = createConversion(type.getBasicType(), node);
 1045|       |
 1046|      0|    return newNode;
 1047|     18|}
_ZNK7glslang13TIntermediate22mapTypeToConstructorOpERKNS_5TTypeE:
 1916|     28|{
 1917|     28|    TOperator op = EOpNull;
 1918|       |
 1919|     28|    if (type.getQualifier().isNonUniform())
  ------------------
  |  Branch (1919:9): [True: 0, False: 28]
  ------------------
 1920|      0|        return EOpConstructNonuniform;
 1921|       |
 1922|     28|    if (type.isCoopMatNV())
  ------------------
  |  Branch (1922:9): [True: 0, False: 28]
  ------------------
 1923|      0|        return EOpConstructCooperativeMatrixNV;
 1924|       |
 1925|     28|    if (type.isCoopMatKHR())
  ------------------
  |  Branch (1925:9): [True: 0, False: 28]
  ------------------
 1926|      0|        return EOpConstructCooperativeMatrixKHR;
 1927|       |
 1928|     28|    if (type.isCoopVecOrLongVector())
  ------------------
  |  Branch (1928:9): [True: 0, False: 28]
  ------------------
 1929|      0|        return EOpConstructCooperativeVectorNV;
 1930|       |
 1931|     28|    switch (type.getBasicType()) {
 1932|      0|    case EbtStruct:
  ------------------
  |  Branch (1932:5): [True: 0, False: 28]
  ------------------
 1933|      0|        op = EOpConstructStruct;
 1934|      0|        break;
 1935|      0|    case EbtSampler:
  ------------------
  |  Branch (1935:5): [True: 0, False: 28]
  ------------------
 1936|      0|        if (type.getSampler().isCombined())
  ------------------
  |  Branch (1936:13): [True: 0, False: 0]
  ------------------
 1937|      0|            op = EOpConstructTextureSampler;
 1938|      0|        break;
 1939|      0|    case EbtFloat:
  ------------------
  |  Branch (1939:5): [True: 0, False: 28]
  ------------------
 1940|      0|        if (type.isMatrix()) {
  ------------------
  |  Branch (1940:13): [True: 0, False: 0]
  ------------------
 1941|      0|            switch (type.getMatrixCols()) {
 1942|      0|            case 2:
  ------------------
  |  Branch (1942:13): [True: 0, False: 0]
  ------------------
 1943|      0|                switch (type.getMatrixRows()) {
 1944|      0|                case 2: op = EOpConstructMat2x2; break;
  ------------------
  |  Branch (1944:17): [True: 0, False: 0]
  ------------------
 1945|      0|                case 3: op = EOpConstructMat2x3; break;
  ------------------
  |  Branch (1945:17): [True: 0, False: 0]
  ------------------
 1946|      0|                case 4: op = EOpConstructMat2x4; break;
  ------------------
  |  Branch (1946:17): [True: 0, False: 0]
  ------------------
 1947|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1947:17): [True: 0, False: 0]
  ------------------
 1948|      0|                }
 1949|      0|                break;
 1950|      0|            case 3:
  ------------------
  |  Branch (1950:13): [True: 0, False: 0]
  ------------------
 1951|      0|                switch (type.getMatrixRows()) {
 1952|      0|                case 2: op = EOpConstructMat3x2; break;
  ------------------
  |  Branch (1952:17): [True: 0, False: 0]
  ------------------
 1953|      0|                case 3: op = EOpConstructMat3x3; break;
  ------------------
  |  Branch (1953:17): [True: 0, False: 0]
  ------------------
 1954|      0|                case 4: op = EOpConstructMat3x4; break;
  ------------------
  |  Branch (1954:17): [True: 0, False: 0]
  ------------------
 1955|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1955:17): [True: 0, False: 0]
  ------------------
 1956|      0|                }
 1957|      0|                break;
 1958|      0|            case 4:
  ------------------
  |  Branch (1958:13): [True: 0, False: 0]
  ------------------
 1959|      0|                switch (type.getMatrixRows()) {
 1960|      0|                case 2: op = EOpConstructMat4x2; break;
  ------------------
  |  Branch (1960:17): [True: 0, False: 0]
  ------------------
 1961|      0|                case 3: op = EOpConstructMat4x3; break;
  ------------------
  |  Branch (1961:17): [True: 0, False: 0]
  ------------------
 1962|      0|                case 4: op = EOpConstructMat4x4; break;
  ------------------
  |  Branch (1962:17): [True: 0, False: 0]
  ------------------
 1963|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1963:17): [True: 0, False: 0]
  ------------------
 1964|      0|                }
 1965|      0|                break;
 1966|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (1966:13): [True: 0, False: 0]
  ------------------
 1967|      0|            }
 1968|      0|        } else {
 1969|      0|            switch(type.getVectorSize()) {
 1970|      0|            case 1: op = EOpConstructFloat; break;
  ------------------
  |  Branch (1970:13): [True: 0, False: 0]
  ------------------
 1971|      0|            case 2: op = EOpConstructVec2;  break;
  ------------------
  |  Branch (1971:13): [True: 0, False: 0]
  ------------------
 1972|      0|            case 3: op = EOpConstructVec3;  break;
  ------------------
  |  Branch (1972:13): [True: 0, False: 0]
  ------------------
 1973|      0|            case 4: op = EOpConstructVec4;  break;
  ------------------
  |  Branch (1973:13): [True: 0, False: 0]
  ------------------
 1974|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (1974:13): [True: 0, False: 0]
  ------------------
 1975|      0|            }
 1976|      0|        }
 1977|      0|        break;
 1978|     16|    case EbtInt:
  ------------------
  |  Branch (1978:5): [True: 16, False: 12]
  ------------------
 1979|     16|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (1979:13): [True: 0, False: 16]
  ------------------
 1980|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (1980:21): [True: 0, False: 0]
  ------------------
 1981|      0|            case 2:
  ------------------
  |  Branch (1981:13): [True: 0, False: 0]
  ------------------
 1982|      0|                switch (type.getMatrixRows()) {
 1983|      0|                case 2: op = EOpConstructIMat2x2; break;
  ------------------
  |  Branch (1983:17): [True: 0, False: 0]
  ------------------
 1984|      0|                case 3: op = EOpConstructIMat2x3; break;
  ------------------
  |  Branch (1984:17): [True: 0, False: 0]
  ------------------
 1985|      0|                case 4: op = EOpConstructIMat2x4; break;
  ------------------
  |  Branch (1985:17): [True: 0, False: 0]
  ------------------
 1986|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1986:17): [True: 0, False: 0]
  ------------------
 1987|      0|                }
 1988|      0|                break;
 1989|      0|            case 3:
  ------------------
  |  Branch (1989:13): [True: 0, False: 0]
  ------------------
 1990|      0|                switch (type.getMatrixRows()) {
 1991|      0|                case 2: op = EOpConstructIMat3x2; break;
  ------------------
  |  Branch (1991:17): [True: 0, False: 0]
  ------------------
 1992|      0|                case 3: op = EOpConstructIMat3x3; break;
  ------------------
  |  Branch (1992:17): [True: 0, False: 0]
  ------------------
 1993|      0|                case 4: op = EOpConstructIMat3x4; break;
  ------------------
  |  Branch (1993:17): [True: 0, False: 0]
  ------------------
 1994|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1994:17): [True: 0, False: 0]
  ------------------
 1995|      0|                }
 1996|      0|                break;
 1997|      0|            case 4:
  ------------------
  |  Branch (1997:13): [True: 0, False: 0]
  ------------------
 1998|      0|                switch (type.getMatrixRows()) {
 1999|      0|                case 2: op = EOpConstructIMat4x2; break;
  ------------------
  |  Branch (1999:17): [True: 0, False: 0]
  ------------------
 2000|      0|                case 3: op = EOpConstructIMat4x3; break;
  ------------------
  |  Branch (2000:17): [True: 0, False: 0]
  ------------------
 2001|      0|                case 4: op = EOpConstructIMat4x4; break;
  ------------------
  |  Branch (2001:17): [True: 0, False: 0]
  ------------------
 2002|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2002:17): [True: 0, False: 0]
  ------------------
 2003|      0|                }
 2004|      0|                break;
 2005|      0|            }
 2006|     16|        } else {
 2007|     16|            switch(type.getVectorSize()) {
 2008|      0|            case 1: op = EOpConstructInt;   break;
  ------------------
  |  Branch (2008:13): [True: 0, False: 16]
  ------------------
 2009|      0|            case 2: op = EOpConstructIVec2; break;
  ------------------
  |  Branch (2009:13): [True: 0, False: 16]
  ------------------
 2010|     16|            case 3: op = EOpConstructIVec3; break;
  ------------------
  |  Branch (2010:13): [True: 16, False: 0]
  ------------------
 2011|      0|            case 4: op = EOpConstructIVec4; break;
  ------------------
  |  Branch (2011:13): [True: 0, False: 16]
  ------------------
 2012|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2012:13): [True: 0, False: 16]
  ------------------
 2013|     16|            }
 2014|     16|        }
 2015|     16|        break;
 2016|     16|    case EbtUint:
  ------------------
  |  Branch (2016:5): [True: 12, False: 16]
  ------------------
 2017|     12|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (2017:13): [True: 0, False: 12]
  ------------------
 2018|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (2018:21): [True: 0, False: 0]
  ------------------
 2019|      0|            case 2:
  ------------------
  |  Branch (2019:13): [True: 0, False: 0]
  ------------------
 2020|      0|                switch (type.getMatrixRows()) {
 2021|      0|                case 2: op = EOpConstructUMat2x2; break;
  ------------------
  |  Branch (2021:17): [True: 0, False: 0]
  ------------------
 2022|      0|                case 3: op = EOpConstructUMat2x3; break;
  ------------------
  |  Branch (2022:17): [True: 0, False: 0]
  ------------------
 2023|      0|                case 4: op = EOpConstructUMat2x4; break;
  ------------------
  |  Branch (2023:17): [True: 0, False: 0]
  ------------------
 2024|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2024:17): [True: 0, False: 0]
  ------------------
 2025|      0|                }
 2026|      0|                break;
 2027|      0|            case 3:
  ------------------
  |  Branch (2027:13): [True: 0, False: 0]
  ------------------
 2028|      0|                switch (type.getMatrixRows()) {
 2029|      0|                case 2: op = EOpConstructUMat3x2; break;
  ------------------
  |  Branch (2029:17): [True: 0, False: 0]
  ------------------
 2030|      0|                case 3: op = EOpConstructUMat3x3; break;
  ------------------
  |  Branch (2030:17): [True: 0, False: 0]
  ------------------
 2031|      0|                case 4: op = EOpConstructUMat3x4; break;
  ------------------
  |  Branch (2031:17): [True: 0, False: 0]
  ------------------
 2032|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2032:17): [True: 0, False: 0]
  ------------------
 2033|      0|                }
 2034|      0|                break;
 2035|      0|            case 4:
  ------------------
  |  Branch (2035:13): [True: 0, False: 0]
  ------------------
 2036|      0|                switch (type.getMatrixRows()) {
 2037|      0|                case 2: op = EOpConstructUMat4x2; break;
  ------------------
  |  Branch (2037:17): [True: 0, False: 0]
  ------------------
 2038|      0|                case 3: op = EOpConstructUMat4x3; break;
  ------------------
  |  Branch (2038:17): [True: 0, False: 0]
  ------------------
 2039|      0|                case 4: op = EOpConstructUMat4x4; break;
  ------------------
  |  Branch (2039:17): [True: 0, False: 0]
  ------------------
 2040|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2040:17): [True: 0, False: 0]
  ------------------
 2041|      0|                }
 2042|      0|                break;
 2043|      0|            }
 2044|     12|        } else {
 2045|     12|            switch(type.getVectorSize()) {
 2046|      0|            case 1: op = EOpConstructUint;  break;
  ------------------
  |  Branch (2046:13): [True: 0, False: 12]
  ------------------
 2047|      0|            case 2: op = EOpConstructUVec2; break;
  ------------------
  |  Branch (2047:13): [True: 0, False: 12]
  ------------------
 2048|     12|            case 3: op = EOpConstructUVec3; break;
  ------------------
  |  Branch (2048:13): [True: 12, False: 0]
  ------------------
 2049|      0|            case 4: op = EOpConstructUVec4; break;
  ------------------
  |  Branch (2049:13): [True: 0, False: 12]
  ------------------
 2050|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2050:13): [True: 0, False: 12]
  ------------------
 2051|     12|            }
 2052|     12|        }
 2053|     12|        break;
 2054|     12|    case EbtBool:
  ------------------
  |  Branch (2054:5): [True: 0, False: 28]
  ------------------
 2055|      0|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (2055:13): [True: 0, False: 0]
  ------------------
 2056|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (2056:21): [True: 0, False: 0]
  ------------------
 2057|      0|            case 2:
  ------------------
  |  Branch (2057:13): [True: 0, False: 0]
  ------------------
 2058|      0|                switch (type.getMatrixRows()) {
 2059|      0|                case 2: op = EOpConstructBMat2x2; break;
  ------------------
  |  Branch (2059:17): [True: 0, False: 0]
  ------------------
 2060|      0|                case 3: op = EOpConstructBMat2x3; break;
  ------------------
  |  Branch (2060:17): [True: 0, False: 0]
  ------------------
 2061|      0|                case 4: op = EOpConstructBMat2x4; break;
  ------------------
  |  Branch (2061:17): [True: 0, False: 0]
  ------------------
 2062|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2062:17): [True: 0, False: 0]
  ------------------
 2063|      0|                }
 2064|      0|                break;
 2065|      0|            case 3:
  ------------------
  |  Branch (2065:13): [True: 0, False: 0]
  ------------------
 2066|      0|                switch (type.getMatrixRows()) {
 2067|      0|                case 2: op = EOpConstructBMat3x2; break;
  ------------------
  |  Branch (2067:17): [True: 0, False: 0]
  ------------------
 2068|      0|                case 3: op = EOpConstructBMat3x3; break;
  ------------------
  |  Branch (2068:17): [True: 0, False: 0]
  ------------------
 2069|      0|                case 4: op = EOpConstructBMat3x4; break;
  ------------------
  |  Branch (2069:17): [True: 0, False: 0]
  ------------------
 2070|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2070:17): [True: 0, False: 0]
  ------------------
 2071|      0|                }
 2072|      0|                break;
 2073|      0|            case 4:
  ------------------
  |  Branch (2073:13): [True: 0, False: 0]
  ------------------
 2074|      0|                switch (type.getMatrixRows()) {
 2075|      0|                case 2: op = EOpConstructBMat4x2; break;
  ------------------
  |  Branch (2075:17): [True: 0, False: 0]
  ------------------
 2076|      0|                case 3: op = EOpConstructBMat4x3; break;
  ------------------
  |  Branch (2076:17): [True: 0, False: 0]
  ------------------
 2077|      0|                case 4: op = EOpConstructBMat4x4; break;
  ------------------
  |  Branch (2077:17): [True: 0, False: 0]
  ------------------
 2078|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2078:17): [True: 0, False: 0]
  ------------------
 2079|      0|                }
 2080|      0|                break;
 2081|      0|            }
 2082|      0|        } else {
 2083|      0|            switch(type.getVectorSize()) {
 2084|      0|            case 1:  op = EOpConstructBool;  break;
  ------------------
  |  Branch (2084:13): [True: 0, False: 0]
  ------------------
 2085|      0|            case 2:  op = EOpConstructBVec2; break;
  ------------------
  |  Branch (2085:13): [True: 0, False: 0]
  ------------------
 2086|      0|            case 3:  op = EOpConstructBVec3; break;
  ------------------
  |  Branch (2086:13): [True: 0, False: 0]
  ------------------
 2087|      0|            case 4:  op = EOpConstructBVec4; break;
  ------------------
  |  Branch (2087:13): [True: 0, False: 0]
  ------------------
 2088|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2088:13): [True: 0, False: 0]
  ------------------
 2089|      0|            }
 2090|      0|        }
 2091|      0|        break;
 2092|      0|    case EbtDouble:
  ------------------
  |  Branch (2092:5): [True: 0, False: 28]
  ------------------
 2093|      0|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (2093:13): [True: 0, False: 0]
  ------------------
 2094|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (2094:21): [True: 0, False: 0]
  ------------------
 2095|      0|            case 2:
  ------------------
  |  Branch (2095:13): [True: 0, False: 0]
  ------------------
 2096|      0|                switch (type.getMatrixRows()) {
 2097|      0|                case 2: op = EOpConstructDMat2x2; break;
  ------------------
  |  Branch (2097:17): [True: 0, False: 0]
  ------------------
 2098|      0|                case 3: op = EOpConstructDMat2x3; break;
  ------------------
  |  Branch (2098:17): [True: 0, False: 0]
  ------------------
 2099|      0|                case 4: op = EOpConstructDMat2x4; break;
  ------------------
  |  Branch (2099:17): [True: 0, False: 0]
  ------------------
 2100|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2100:17): [True: 0, False: 0]
  ------------------
 2101|      0|                }
 2102|      0|                break;
 2103|      0|            case 3:
  ------------------
  |  Branch (2103:13): [True: 0, False: 0]
  ------------------
 2104|      0|                switch (type.getMatrixRows()) {
 2105|      0|                case 2: op = EOpConstructDMat3x2; break;
  ------------------
  |  Branch (2105:17): [True: 0, False: 0]
  ------------------
 2106|      0|                case 3: op = EOpConstructDMat3x3; break;
  ------------------
  |  Branch (2106:17): [True: 0, False: 0]
  ------------------
 2107|      0|                case 4: op = EOpConstructDMat3x4; break;
  ------------------
  |  Branch (2107:17): [True: 0, False: 0]
  ------------------
 2108|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2108:17): [True: 0, False: 0]
  ------------------
 2109|      0|                }
 2110|      0|                break;
 2111|      0|            case 4:
  ------------------
  |  Branch (2111:13): [True: 0, False: 0]
  ------------------
 2112|      0|                switch (type.getMatrixRows()) {
 2113|      0|                case 2: op = EOpConstructDMat4x2; break;
  ------------------
  |  Branch (2113:17): [True: 0, False: 0]
  ------------------
 2114|      0|                case 3: op = EOpConstructDMat4x3; break;
  ------------------
  |  Branch (2114:17): [True: 0, False: 0]
  ------------------
 2115|      0|                case 4: op = EOpConstructDMat4x4; break;
  ------------------
  |  Branch (2115:17): [True: 0, False: 0]
  ------------------
 2116|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2116:17): [True: 0, False: 0]
  ------------------
 2117|      0|                }
 2118|      0|                break;
 2119|      0|            }
 2120|      0|        } else {
 2121|      0|            switch(type.getVectorSize()) {
 2122|      0|            case 1: op = EOpConstructDouble; break;
  ------------------
  |  Branch (2122:13): [True: 0, False: 0]
  ------------------
 2123|      0|            case 2: op = EOpConstructDVec2;  break;
  ------------------
  |  Branch (2123:13): [True: 0, False: 0]
  ------------------
 2124|      0|            case 3: op = EOpConstructDVec3;  break;
  ------------------
  |  Branch (2124:13): [True: 0, False: 0]
  ------------------
 2125|      0|            case 4: op = EOpConstructDVec4;  break;
  ------------------
  |  Branch (2125:13): [True: 0, False: 0]
  ------------------
 2126|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2126:13): [True: 0, False: 0]
  ------------------
 2127|      0|            }
 2128|      0|        }
 2129|      0|        break;
 2130|      0|    case EbtFloat16:
  ------------------
  |  Branch (2130:5): [True: 0, False: 28]
  ------------------
 2131|      0|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (2131:13): [True: 0, False: 0]
  ------------------
 2132|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (2132:21): [True: 0, False: 0]
  ------------------
 2133|      0|            case 2:
  ------------------
  |  Branch (2133:13): [True: 0, False: 0]
  ------------------
 2134|      0|                switch (type.getMatrixRows()) {
 2135|      0|                case 2: op = EOpConstructF16Mat2x2; break;
  ------------------
  |  Branch (2135:17): [True: 0, False: 0]
  ------------------
 2136|      0|                case 3: op = EOpConstructF16Mat2x3; break;
  ------------------
  |  Branch (2136:17): [True: 0, False: 0]
  ------------------
 2137|      0|                case 4: op = EOpConstructF16Mat2x4; break;
  ------------------
  |  Branch (2137:17): [True: 0, False: 0]
  ------------------
 2138|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2138:17): [True: 0, False: 0]
  ------------------
 2139|      0|                }
 2140|      0|                break;
 2141|      0|            case 3:
  ------------------
  |  Branch (2141:13): [True: 0, False: 0]
  ------------------
 2142|      0|                switch (type.getMatrixRows()) {
 2143|      0|                case 2: op = EOpConstructF16Mat3x2; break;
  ------------------
  |  Branch (2143:17): [True: 0, False: 0]
  ------------------
 2144|      0|                case 3: op = EOpConstructF16Mat3x3; break;
  ------------------
  |  Branch (2144:17): [True: 0, False: 0]
  ------------------
 2145|      0|                case 4: op = EOpConstructF16Mat3x4; break;
  ------------------
  |  Branch (2145:17): [True: 0, False: 0]
  ------------------
 2146|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2146:17): [True: 0, False: 0]
  ------------------
 2147|      0|                }
 2148|      0|                break;
 2149|      0|            case 4:
  ------------------
  |  Branch (2149:13): [True: 0, False: 0]
  ------------------
 2150|      0|                switch (type.getMatrixRows()) {
 2151|      0|                case 2: op = EOpConstructF16Mat4x2; break;
  ------------------
  |  Branch (2151:17): [True: 0, False: 0]
  ------------------
 2152|      0|                case 3: op = EOpConstructF16Mat4x3; break;
  ------------------
  |  Branch (2152:17): [True: 0, False: 0]
  ------------------
 2153|      0|                case 4: op = EOpConstructF16Mat4x4; break;
  ------------------
  |  Branch (2153:17): [True: 0, False: 0]
  ------------------
 2154|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2154:17): [True: 0, False: 0]
  ------------------
 2155|      0|                }
 2156|      0|                break;
 2157|      0|            }
 2158|      0|        }
 2159|      0|        else {
 2160|      0|            switch (type.getVectorSize()) {
 2161|      0|            case 1: op = EOpConstructFloat16;  break;
  ------------------
  |  Branch (2161:13): [True: 0, False: 0]
  ------------------
 2162|      0|            case 2: op = EOpConstructF16Vec2;  break;
  ------------------
  |  Branch (2162:13): [True: 0, False: 0]
  ------------------
 2163|      0|            case 3: op = EOpConstructF16Vec3;  break;
  ------------------
  |  Branch (2163:13): [True: 0, False: 0]
  ------------------
 2164|      0|            case 4: op = EOpConstructF16Vec4;  break;
  ------------------
  |  Branch (2164:13): [True: 0, False: 0]
  ------------------
 2165|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2165:13): [True: 0, False: 0]
  ------------------
 2166|      0|            }
 2167|      0|        }
 2168|      0|        break;
 2169|      0|    case EbtBFloat16:
  ------------------
  |  Branch (2169:5): [True: 0, False: 28]
  ------------------
 2170|      0|        switch (type.getVectorSize()) {
 2171|      0|        case 1: op = EOpConstructBFloat16;  break;
  ------------------
  |  Branch (2171:9): [True: 0, False: 0]
  ------------------
 2172|      0|        case 2: op = EOpConstructBF16Vec2;  break;
  ------------------
  |  Branch (2172:9): [True: 0, False: 0]
  ------------------
 2173|      0|        case 3: op = EOpConstructBF16Vec3;  break;
  ------------------
  |  Branch (2173:9): [True: 0, False: 0]
  ------------------
 2174|      0|        case 4: op = EOpConstructBF16Vec4;  break;
  ------------------
  |  Branch (2174:9): [True: 0, False: 0]
  ------------------
 2175|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2175:9): [True: 0, False: 0]
  ------------------
 2176|      0|        }
 2177|      0|        break;
 2178|      0|    case EbtFloatE5M2:
  ------------------
  |  Branch (2178:5): [True: 0, False: 28]
  ------------------
 2179|      0|        switch (type.getVectorSize()) {
 2180|      0|        case 1: op = EOpConstructFloatE5M2;  break;
  ------------------
  |  Branch (2180:9): [True: 0, False: 0]
  ------------------
 2181|      0|        case 2: op = EOpConstructFloatE5M2Vec2;  break;
  ------------------
  |  Branch (2181:9): [True: 0, False: 0]
  ------------------
 2182|      0|        case 3: op = EOpConstructFloatE5M2Vec3;  break;
  ------------------
  |  Branch (2182:9): [True: 0, False: 0]
  ------------------
 2183|      0|        case 4: op = EOpConstructFloatE5M2Vec4;  break;
  ------------------
  |  Branch (2183:9): [True: 0, False: 0]
  ------------------
 2184|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2184:9): [True: 0, False: 0]
  ------------------
 2185|      0|        }
 2186|      0|        break;
 2187|      0|    case EbtFloatE4M3:
  ------------------
  |  Branch (2187:5): [True: 0, False: 28]
  ------------------
 2188|      0|        switch (type.getVectorSize()) {
 2189|      0|        case 1: op = EOpConstructFloatE4M3;  break;
  ------------------
  |  Branch (2189:9): [True: 0, False: 0]
  ------------------
 2190|      0|        case 2: op = EOpConstructFloatE4M3Vec2;  break;
  ------------------
  |  Branch (2190:9): [True: 0, False: 0]
  ------------------
 2191|      0|        case 3: op = EOpConstructFloatE4M3Vec3;  break;
  ------------------
  |  Branch (2191:9): [True: 0, False: 0]
  ------------------
 2192|      0|        case 4: op = EOpConstructFloatE4M3Vec4;  break;
  ------------------
  |  Branch (2192:9): [True: 0, False: 0]
  ------------------
 2193|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2193:9): [True: 0, False: 0]
  ------------------
 2194|      0|        }
 2195|      0|        break;
 2196|      0|    case EbtFloatE2M1:
  ------------------
  |  Branch (2196:5): [True: 0, False: 28]
  ------------------
 2197|      0|        switch (type.getVectorSize()) {
 2198|      0|        case 1: op = EOpConstructFloatE2M1;  break;
  ------------------
  |  Branch (2198:9): [True: 0, False: 0]
  ------------------
 2199|      0|        case 2: op = EOpConstructFloatE2M1Vec2;  break;
  ------------------
  |  Branch (2199:9): [True: 0, False: 0]
  ------------------
 2200|      0|        case 3: op = EOpConstructFloatE2M1Vec3;  break;
  ------------------
  |  Branch (2200:9): [True: 0, False: 0]
  ------------------
 2201|      0|        case 4: op = EOpConstructFloatE2M1Vec4;  break;
  ------------------
  |  Branch (2201:9): [True: 0, False: 0]
  ------------------
 2202|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2202:9): [True: 0, False: 0]
  ------------------
 2203|      0|        }
 2204|      0|        break;
 2205|      0|    case EbtFloatE3M2:
  ------------------
  |  Branch (2205:5): [True: 0, False: 28]
  ------------------
 2206|      0|        switch (type.getVectorSize()) {
 2207|      0|        case 1: op = EOpConstructFloatE3M2;  break;
  ------------------
  |  Branch (2207:9): [True: 0, False: 0]
  ------------------
 2208|      0|        case 2: op = EOpConstructFloatE3M2Vec2;  break;
  ------------------
  |  Branch (2208:9): [True: 0, False: 0]
  ------------------
 2209|      0|        case 3: op = EOpConstructFloatE3M2Vec3;  break;
  ------------------
  |  Branch (2209:9): [True: 0, False: 0]
  ------------------
 2210|      0|        case 4: op = EOpConstructFloatE3M2Vec4;  break;
  ------------------
  |  Branch (2210:9): [True: 0, False: 0]
  ------------------
 2211|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2211:9): [True: 0, False: 0]
  ------------------
 2212|      0|        }
 2213|      0|        break;
 2214|      0|    case EbtFloatE2M3:
  ------------------
  |  Branch (2214:5): [True: 0, False: 28]
  ------------------
 2215|      0|        switch (type.getVectorSize()) {
 2216|      0|        case 1: op = EOpConstructFloatE2M3;  break;
  ------------------
  |  Branch (2216:9): [True: 0, False: 0]
  ------------------
 2217|      0|        case 2: op = EOpConstructFloatE2M3Vec2;  break;
  ------------------
  |  Branch (2217:9): [True: 0, False: 0]
  ------------------
 2218|      0|        case 3: op = EOpConstructFloatE2M3Vec3;  break;
  ------------------
  |  Branch (2218:9): [True: 0, False: 0]
  ------------------
 2219|      0|        case 4: op = EOpConstructFloatE2M3Vec4;  break;
  ------------------
  |  Branch (2219:9): [True: 0, False: 0]
  ------------------
 2220|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2220:9): [True: 0, False: 0]
  ------------------
 2221|      0|        }
 2222|      0|        break;
 2223|      0|    case EbtFloatUE8M0:
  ------------------
  |  Branch (2223:5): [True: 0, False: 28]
  ------------------
 2224|      0|        switch (type.getVectorSize()) {
 2225|      0|        case 1: op = EOpConstructFloatUE8M0;  break;
  ------------------
  |  Branch (2225:9): [True: 0, False: 0]
  ------------------
 2226|      0|        case 2: op = EOpConstructFloatUE8M0Vec2;  break;
  ------------------
  |  Branch (2226:9): [True: 0, False: 0]
  ------------------
 2227|      0|        case 3: op = EOpConstructFloatUE8M0Vec3;  break;
  ------------------
  |  Branch (2227:9): [True: 0, False: 0]
  ------------------
 2228|      0|        case 4: op = EOpConstructFloatUE8M0Vec4;  break;
  ------------------
  |  Branch (2228:9): [True: 0, False: 0]
  ------------------
 2229|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2229:9): [True: 0, False: 0]
  ------------------
 2230|      0|        }
 2231|      0|        break;
 2232|      0|    case EbtFloatMXINT8:
  ------------------
  |  Branch (2232:5): [True: 0, False: 28]
  ------------------
 2233|      0|        switch (type.getVectorSize()) {
 2234|      0|        case 1: op = EOpConstructFloatMXINT8;  break;
  ------------------
  |  Branch (2234:9): [True: 0, False: 0]
  ------------------
 2235|      0|        case 2: op = EOpConstructFloatMXINT8Vec2;  break;
  ------------------
  |  Branch (2235:9): [True: 0, False: 0]
  ------------------
 2236|      0|        case 3: op = EOpConstructFloatMXINT8Vec3;  break;
  ------------------
  |  Branch (2236:9): [True: 0, False: 0]
  ------------------
 2237|      0|        case 4: op = EOpConstructFloatMXINT8Vec4;  break;
  ------------------
  |  Branch (2237:9): [True: 0, False: 0]
  ------------------
 2238|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2238:9): [True: 0, False: 0]
  ------------------
 2239|      0|        }
 2240|      0|        break;
 2241|      0|    case EbtInt8:
  ------------------
  |  Branch (2241:5): [True: 0, False: 28]
  ------------------
 2242|      0|        switch(type.getVectorSize()) {
 2243|      0|        case 1: op = EOpConstructInt8;   break;
  ------------------
  |  Branch (2243:9): [True: 0, False: 0]
  ------------------
 2244|      0|        case 2: op = EOpConstructI8Vec2; break;
  ------------------
  |  Branch (2244:9): [True: 0, False: 0]
  ------------------
 2245|      0|        case 3: op = EOpConstructI8Vec3; break;
  ------------------
  |  Branch (2245:9): [True: 0, False: 0]
  ------------------
 2246|      0|        case 4: op = EOpConstructI8Vec4; break;
  ------------------
  |  Branch (2246:9): [True: 0, False: 0]
  ------------------
 2247|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2247:9): [True: 0, False: 0]
  ------------------
 2248|      0|        }
 2249|      0|        break;
 2250|      0|    case EbtUint8:
  ------------------
  |  Branch (2250:5): [True: 0, False: 28]
  ------------------
 2251|      0|        switch(type.getVectorSize()) {
 2252|      0|        case 1: op = EOpConstructUint8;  break;
  ------------------
  |  Branch (2252:9): [True: 0, False: 0]
  ------------------
 2253|      0|        case 2: op = EOpConstructU8Vec2; break;
  ------------------
  |  Branch (2253:9): [True: 0, False: 0]
  ------------------
 2254|      0|        case 3: op = EOpConstructU8Vec3; break;
  ------------------
  |  Branch (2254:9): [True: 0, False: 0]
  ------------------
 2255|      0|        case 4: op = EOpConstructU8Vec4; break;
  ------------------
  |  Branch (2255:9): [True: 0, False: 0]
  ------------------
 2256|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2256:9): [True: 0, False: 0]
  ------------------
 2257|      0|        }
 2258|      0|        break;
 2259|      0|    case EbtInt16:
  ------------------
  |  Branch (2259:5): [True: 0, False: 28]
  ------------------
 2260|      0|        switch(type.getVectorSize()) {
 2261|      0|        case 1: op = EOpConstructInt16;   break;
  ------------------
  |  Branch (2261:9): [True: 0, False: 0]
  ------------------
 2262|      0|        case 2: op = EOpConstructI16Vec2; break;
  ------------------
  |  Branch (2262:9): [True: 0, False: 0]
  ------------------
 2263|      0|        case 3: op = EOpConstructI16Vec3; break;
  ------------------
  |  Branch (2263:9): [True: 0, False: 0]
  ------------------
 2264|      0|        case 4: op = EOpConstructI16Vec4; break;
  ------------------
  |  Branch (2264:9): [True: 0, False: 0]
  ------------------
 2265|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2265:9): [True: 0, False: 0]
  ------------------
 2266|      0|        }
 2267|      0|        break;
 2268|      0|    case EbtUint16:
  ------------------
  |  Branch (2268:5): [True: 0, False: 28]
  ------------------
 2269|      0|        switch(type.getVectorSize()) {
 2270|      0|        case 1: op = EOpConstructUint16;  break;
  ------------------
  |  Branch (2270:9): [True: 0, False: 0]
  ------------------
 2271|      0|        case 2: op = EOpConstructU16Vec2; break;
  ------------------
  |  Branch (2271:9): [True: 0, False: 0]
  ------------------
 2272|      0|        case 3: op = EOpConstructU16Vec3; break;
  ------------------
  |  Branch (2272:9): [True: 0, False: 0]
  ------------------
 2273|      0|        case 4: op = EOpConstructU16Vec4; break;
  ------------------
  |  Branch (2273:9): [True: 0, False: 0]
  ------------------
 2274|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2274:9): [True: 0, False: 0]
  ------------------
 2275|      0|        }
 2276|      0|        break;
 2277|      0|    case EbtInt64:
  ------------------
  |  Branch (2277:5): [True: 0, False: 28]
  ------------------
 2278|      0|        switch(type.getVectorSize()) {
 2279|      0|        case 1: op = EOpConstructInt64;   break;
  ------------------
  |  Branch (2279:9): [True: 0, False: 0]
  ------------------
 2280|      0|        case 2: op = EOpConstructI64Vec2; break;
  ------------------
  |  Branch (2280:9): [True: 0, False: 0]
  ------------------
 2281|      0|        case 3: op = EOpConstructI64Vec3; break;
  ------------------
  |  Branch (2281:9): [True: 0, False: 0]
  ------------------
 2282|      0|        case 4: op = EOpConstructI64Vec4; break;
  ------------------
  |  Branch (2282:9): [True: 0, False: 0]
  ------------------
 2283|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2283:9): [True: 0, False: 0]
  ------------------
 2284|      0|        }
 2285|      0|        break;
 2286|      0|    case EbtUint64:
  ------------------
  |  Branch (2286:5): [True: 0, False: 28]
  ------------------
 2287|      0|        switch(type.getVectorSize()) {
 2288|      0|        case 1: op = EOpConstructUint64;  break;
  ------------------
  |  Branch (2288:9): [True: 0, False: 0]
  ------------------
 2289|      0|        case 2: op = EOpConstructU64Vec2; break;
  ------------------
  |  Branch (2289:9): [True: 0, False: 0]
  ------------------
 2290|      0|        case 3: op = EOpConstructU64Vec3; break;
  ------------------
  |  Branch (2290:9): [True: 0, False: 0]
  ------------------
 2291|      0|        case 4: op = EOpConstructU64Vec4; break;
  ------------------
  |  Branch (2291:9): [True: 0, False: 0]
  ------------------
 2292|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2292:9): [True: 0, False: 0]
  ------------------
 2293|      0|        }
 2294|      0|        break;
 2295|      0|    case EbtReference:
  ------------------
  |  Branch (2295:5): [True: 0, False: 28]
  ------------------
 2296|      0|        op = EOpConstructReference;
 2297|      0|        break;
 2298|       |
 2299|      0|    case EbtAccStruct:
  ------------------
  |  Branch (2299:5): [True: 0, False: 28]
  ------------------
 2300|      0|        op = EOpConstructAccStruct;
 2301|      0|        break;
 2302|      0|    default:
  ------------------
  |  Branch (2302:5): [True: 0, False: 28]
  ------------------
 2303|      0|        break;
 2304|     28|    }
 2305|       |
 2306|     28|    return op;
 2307|     28|}
_ZN7glslang13TIntermediate13growAggregateEP11TIntermNodeS2_:
 2317|  2.04k|{
 2318|  2.04k|    if (left == nullptr && right == nullptr)
  ------------------
  |  Branch (2318:9): [True: 2.01k, False: 32]
  |  Branch (2318:28): [True: 1.95k, False: 57]
  ------------------
 2319|  1.95k|        return nullptr;
 2320|       |
 2321|     89|    TIntermAggregate* aggNode = nullptr;
 2322|     89|    if (left != nullptr)
  ------------------
  |  Branch (2322:9): [True: 32, False: 57]
  ------------------
 2323|     32|        aggNode = left->getAsAggregate();
 2324|     89|    if (aggNode == nullptr || aggNode->getOp() != EOpNull) {
  ------------------
  |  Branch (2324:9): [True: 71, False: 18]
  |  Branch (2324:31): [True: 0, False: 18]
  ------------------
 2325|     71|        aggNode = new TIntermAggregate;
 2326|     71|        if (left != nullptr)
  ------------------
  |  Branch (2326:13): [True: 14, False: 57]
  ------------------
 2327|     14|            aggNode->getSequence().push_back(left);
 2328|     71|    }
 2329|       |
 2330|     89|    if (right != nullptr)
  ------------------
  |  Branch (2330:9): [True: 89, False: 0]
  ------------------
 2331|     89|        aggNode->getSequence().push_back(right);
 2332|       |
 2333|     89|    return aggNode;
 2334|  2.04k|}
_ZN7glslang13TIntermediate13growAggregateEP11TIntermNodeS2_RKNS_10TSourceLocE:
 2337|  1.98k|{
 2338|  1.98k|    TIntermAggregate* aggNode = growAggregate(left, right);
 2339|  1.98k|    if (aggNode)
  ------------------
  |  Branch (2339:9): [True: 28, False: 1.95k]
  ------------------
 2340|     28|        aggNode->setLoc(loc);
 2341|       |
 2342|  1.98k|    return aggNode;
 2343|  1.98k|}
_ZNK7glslang13TIntermediate16addConstantUnionERKNS_16TConstUnionArrayERKNS_5TTypeERKNS_10TSourceLocEb:
 2568|  1.31k|{
 2569|  1.31k|    TIntermConstantUnion* node = new TIntermConstantUnion(unionArray, t);
 2570|  1.31k|    node->getQualifier().storage = EvqConst;
 2571|  1.31k|    node->setLoc(loc);
 2572|  1.31k|    if (literal)
  ------------------
  |  Branch (2572:9): [True: 1.28k, False: 32]
  ------------------
 2573|  1.28k|        node->setLiteral();
 2574|       |
 2575|  1.31k|    return node;
 2576|  1.31k|}
_ZNK7glslang13TIntermediate16addConstantUnionEiRKNS_10TSourceLocEb:
 2610|  1.16k|{
 2611|  1.16k|    TConstUnionArray unionArray(1);
 2612|  1.16k|    unionArray[0].setIConst(i);
 2613|       |
 2614|  1.16k|    return addConstantUnion(unionArray, TType(EbtInt, EvqConst), loc, literal);
 2615|  1.16k|}
_ZNK7glslang13TIntermediate16addConstantUnionEjRKNS_10TSourceLocEb:
 2618|    124|{
 2619|    124|    TConstUnionArray unionArray(1);
 2620|    124|    unionArray[0].setUConst(u);
 2621|       |
 2622|    124|    return addConstantUnion(unionArray, TType(EbtUint, EvqConst), loc, literal);
 2623|    124|}
_ZN7glslang13TIntermediate21addSymbolLinkageNodesERPNS_16TIntermAggregateE11EShLanguageRNS_12TSymbolTableE:
 2949|     57|{
 2950|       |    // Add top-level nodes for declarations that must be checked cross
 2951|       |    // compilation unit by a linker, yet might not have been referenced
 2952|       |    // by the AST.
 2953|       |    //
 2954|       |    // Almost entirely, translation of symbols is driven by what's present
 2955|       |    // in the AST traversal, not by translating the symbol table.
 2956|       |    //
 2957|       |    // However, there are some special cases:
 2958|       |    //  - From the specification: "Special built-in inputs gl_VertexID and
 2959|       |    //    gl_InstanceID are also considered active vertex attributes."
 2960|       |    //  - Linker-based type mismatch error reporting needs to see all
 2961|       |    //    uniforms/ins/outs variables and blocks.
 2962|       |    //  - ftransform() can make gl_Vertex and gl_ModelViewProjectionMatrix active.
 2963|       |    //
 2964|       |
 2965|       |    // if (ftransformUsed) {
 2966|       |        // TODO: 1.1 lowering functionality: track ftransform() usage
 2967|       |    //    addSymbolLinkageNode(root, symbolTable, "gl_Vertex");
 2968|       |    //    addSymbolLinkageNode(root, symbolTable, "gl_ModelViewProjectionMatrix");
 2969|       |    //}
 2970|       |
 2971|     57|    if (language == EShLangVertex) {
  ------------------
  |  Branch (2971:9): [True: 57, False: 0]
  ------------------
 2972|     57|        addSymbolLinkageNode(linkage, symbolTable, "gl_VertexID");
 2973|     57|        if ((version < 140 && requestedExtensions.find(E_GL_EXT_draw_instanced) != requestedExtensions.end()) || version >= 140)
  ------------------
  |  Branch (2973:13): [True: 23, False: 34]
  |  Branch (2973:14): [True: 34, False: 23]
  |  Branch (2973:31): [True: 0, False: 34]
  |  Branch (2973:114): [True: 23, False: 34]
  ------------------
 2974|     23|            addSymbolLinkageNode(linkage, symbolTable, "gl_InstanceID");
 2975|     57|    }
 2976|       |
 2977|       |    // Add a child to the root node for the linker objects
 2978|     57|    linkage->setOperator(EOpLinkerObjects);
 2979|     57|    treeRoot = growAggregate(treeRoot, linkage);
 2980|     57|}
_ZN7glslang13TIntermediate20addSymbolLinkageNodeERPNS_16TIntermAggregateERNS_12TSymbolTableERKNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 2988|     80|{
 2989|     80|    TSymbol* symbol = symbolTable.find(name);
 2990|     80|    if (symbol)
  ------------------
  |  Branch (2990:9): [True: 4, False: 76]
  ------------------
 2991|      4|        addSymbolLinkageNode(linkage, *symbol->getAsVariable());
 2992|     80|}
_ZN7glslang13TIntermediate20addSymbolLinkageNodeERPNS_16TIntermAggregateERKNS_7TSymbolE:
 2995|      4|{
 2996|      4|    const TVariable* variable = symbol.getAsVariable();
 2997|      4|    if (! variable) {
  ------------------
  |  Branch (2997:9): [True: 0, False: 4]
  ------------------
 2998|       |        // This must be a member of an anonymous block, and we need to add the whole block
 2999|      0|        const TAnonMember* anon = symbol.getAsAnonMember();
 3000|      0|        variable = &anon->getAnonContainer();
 3001|      0|    }
 3002|      4|    TIntermSymbol* node = addSymbol(*variable);
 3003|      4|    linkage = growAggregate(linkage, node);
 3004|      4|}
_ZNK7glslang15TIntermOperator13isConstructorEv:
 3252|     28|{
 3253|     28|    return op > EOpConstructGuardStart && op < EOpConstructGuardEnd;
  ------------------
  |  Branch (3253:12): [True: 28, False: 0]
  |  Branch (3253:43): [True: 28, False: 0]
  ------------------
 3254|     28|}
_ZN7glslang13TIntermediate7promoteEPNS_15TIntermOperatorE:
 3264|      2|{
 3265|      2|    if (node == nullptr)
  ------------------
  |  Branch (3265:9): [True: 0, False: 2]
  ------------------
 3266|      0|        return false;
 3267|       |
 3268|      2|    if (node->getAsUnaryNode())
  ------------------
  |  Branch (3268:9): [True: 2, False: 0]
  ------------------
 3269|      2|        return promoteUnary(*node->getAsUnaryNode());
 3270|       |
 3271|      0|    if (node->getAsBinaryNode())
  ------------------
  |  Branch (3271:9): [True: 0, False: 0]
  ------------------
 3272|      0|        return promoteBinary(*node->getAsBinaryNode());
 3273|       |
 3274|      0|    if (node->getAsAggregate())
  ------------------
  |  Branch (3274:9): [True: 0, False: 0]
  ------------------
 3275|      0|        return promoteAggregate(*node->getAsAggregate());
 3276|       |
 3277|      0|    return false;
 3278|      0|}
_ZN7glslang13TIntermediate12promoteUnaryERNS_12TIntermUnaryE:
 3284|      2|{
 3285|      2|    const TOperator op    = node.getOp();
 3286|      2|    TIntermTyped* operand = node.getOperand();
 3287|       |
 3288|      2|    switch (op) {
 3289|      0|    case EOpLogicalNot:
  ------------------
  |  Branch (3289:5): [True: 0, False: 2]
  ------------------
 3290|       |        // Convert operand to a boolean type
 3291|      0|        if (operand->getBasicType() != EbtBool) {
  ------------------
  |  Branch (3291:13): [True: 0, False: 0]
  ------------------
 3292|       |            // Add constructor to boolean type. If that fails, we can't do it, so return false.
 3293|      0|            TIntermTyped* converted = addConversion(op, TType(EbtBool), operand);
 3294|      0|            if (converted == nullptr)
  ------------------
  |  Branch (3294:17): [True: 0, False: 0]
  ------------------
 3295|      0|                return false;
 3296|       |
 3297|       |            // Use the result of converting the node to a bool.
 3298|      0|            node.setOperand(operand = converted); // also updates stack variable
 3299|      0|        }
 3300|      0|        break;
 3301|      0|    case EOpBitwiseNot:
  ------------------
  |  Branch (3301:5): [True: 0, False: 2]
  ------------------
 3302|      0|        if (!isTypeInt(operand->getBasicType()))
  ------------------
  |  Branch (3302:13): [True: 0, False: 0]
  ------------------
 3303|      0|            return false;
 3304|      0|        break;
 3305|      2|    case EOpNegative:
  ------------------
  |  Branch (3305:5): [True: 2, False: 0]
  ------------------
 3306|      2|    case EOpPostIncrement:
  ------------------
  |  Branch (3306:5): [True: 0, False: 2]
  ------------------
 3307|      2|    case EOpPostDecrement:
  ------------------
  |  Branch (3307:5): [True: 0, False: 2]
  ------------------
 3308|      2|    case EOpPreIncrement:
  ------------------
  |  Branch (3308:5): [True: 0, False: 2]
  ------------------
 3309|      2|    case EOpPreDecrement:
  ------------------
  |  Branch (3309:5): [True: 0, False: 2]
  ------------------
 3310|      2|        if (!isTypeInt(operand->getBasicType()) &&
  ------------------
  |  Branch (3310:13): [True: 0, False: 2]
  ------------------
 3311|      0|            operand->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (3311:13): [True: 0, False: 0]
  ------------------
 3312|      0|            operand->getBasicType() != EbtFloat16 &&
  ------------------
  |  Branch (3312:13): [True: 0, False: 0]
  ------------------
 3313|      0|            operand->getBasicType() != EbtDouble)
  ------------------
  |  Branch (3313:13): [True: 0, False: 0]
  ------------------
 3314|       |
 3315|      0|            return false;
 3316|      2|        break;
 3317|      2|    default:
  ------------------
  |  Branch (3317:5): [True: 0, False: 2]
  ------------------
 3318|       |        // HLSL uses this path for initial function signature finding for built-ins
 3319|       |        // taking a single argument, which generally don't participate in
 3320|       |        // operator-based type promotion (type conversion will occur later).
 3321|       |        // For now, scalar argument cases are relying on the setType() call below.
 3322|      0|        if (getSource() == EShSourceHlsl)
  ------------------
  |  Branch (3322:13): [True: 0, False: 0]
  ------------------
 3323|      0|            break;
 3324|       |
 3325|       |        // GLSL only allows integer arguments for the cases identified above in the
 3326|       |        // case statements.
 3327|      0|        if (operand->getBasicType() != EbtFloat)
  ------------------
  |  Branch (3327:13): [True: 0, False: 0]
  ------------------
 3328|      0|            return false;
 3329|      2|    }
 3330|       |
 3331|      2|    node.setType(operand->getType());
 3332|      2|    node.getWritableType().getQualifier().makeTemporary();
 3333|       |
 3334|      2|    return true;
 3335|      2|}
_ZN7glslang12TIntermUnary15updatePrecisionEv:
 3339|      2|{
 3340|      2|    if (getBasicType() == EbtInt || getBasicType() == EbtUint ||
  ------------------
  |  Branch (3340:9): [True: 2, False: 0]
  |  Branch (3340:37): [True: 0, False: 0]
  ------------------
 3341|      2|        getBasicType() == EbtFloat) {
  ------------------
  |  Branch (3341:9): [True: 0, False: 0]
  ------------------
 3342|      2|        if (operand->getQualifier().precision > getQualifier().precision)
  ------------------
  |  Branch (3342:13): [True: 0, False: 2]
  ------------------
 3343|      0|            getQualifier().precision = operand->getQualifier().precision;
 3344|      2|    }
 3345|      2|}
_ZNK7glslang13TIntermediate20promoteConstantUnionENS_10TBasicTypeEPNS_20TIntermConstantUnionE:
 3997|     18|{
 3998|     18|    const TConstUnionArray& rightUnionArray = node->getConstArray();
 3999|     18|    int size = node->getType().computeNumComponents();
 4000|       |
 4001|     18|    TConstUnionArray leftUnionArray(size);
 4002|       |
 4003|     36|    for (int i=0; i < size; i++) {
  ------------------
  |  Branch (4003:19): [True: 18, False: 18]
  ------------------
 4004|       |
 4005|     18|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
 4006|     18|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
 4007|       |
 4008|     18|#define TO_ALL(Get)   \
 4009|     18|        switch (promoteTo) { \
 4010|     18|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
 4011|     18|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
 4012|     18|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
 4013|     18|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
 4014|     18|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
 4015|     18|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
 4016|     18|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
 4017|     18|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
 4018|     18|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
 4019|     18|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
 4020|     18|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
 4021|     18|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
 4022|     18|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
 4023|     18|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
 4024|     18|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
 4025|     18|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
 4026|     18|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
 4027|     18|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
 4028|     18|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
 4029|     18|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
 4030|     18|        default: return node; \
 4031|     18|        }
 4032|       |
 4033|     18|        switch (node->getType().getBasicType()) {
 4034|      0|        case EbtFloat: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4034:9): [True: 0, False: 18]
  ------------------
 4035|     18|        case EbtInt: TO_ALL(getIConst); break;
  ------------------
  |  | 4009|     18|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 18]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 18]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 18]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 18]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 18]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 18]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 18]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 18]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 18]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 18]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 18]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 18]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 18]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 18]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 18]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 18]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 18]
  |  |  ------------------
  |  | 4027|     18|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|     18|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 18, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 18]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 18]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 18]
  |  |  ------------------
  |  | 4031|     18|        }
  ------------------
  |  Branch (4035:9): [True: 18, False: 0]
  ------------------
 4036|      0|        case EbtUint: TO_ALL(getUConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4036:9): [True: 0, False: 18]
  ------------------
 4037|      0|        case EbtBool: TO_ALL(getBConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4037:9): [True: 0, False: 18]
  ------------------
 4038|      0|        case EbtFloat16: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4038:9): [True: 0, False: 18]
  ------------------
 4039|      0|        case EbtBFloat16: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4039:9): [True: 0, False: 18]
  ------------------
 4040|      0|        case EbtFloatE5M2: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4040:9): [True: 0, False: 18]
  ------------------
 4041|      0|        case EbtFloatE4M3: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4041:9): [True: 0, False: 18]
  ------------------
 4042|      0|        case EbtFloatE2M1: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4042:9): [True: 0, False: 18]
  ------------------
 4043|      0|        case EbtFloatE3M2: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4043:9): [True: 0, False: 18]
  ------------------
 4044|      0|        case EbtFloatE2M3: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4044:9): [True: 0, False: 18]
  ------------------
 4045|      0|        case EbtFloatUE8M0: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4045:9): [True: 0, False: 18]
  ------------------
 4046|      0|        case EbtFloatMXINT8: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4046:9): [True: 0, False: 18]
  ------------------
 4047|      0|        case EbtDouble: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4047:9): [True: 0, False: 18]
  ------------------
 4048|      0|        case EbtInt8: TO_ALL(getI8Const); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4048:9): [True: 0, False: 18]
  ------------------
 4049|      0|        case EbtInt16: TO_ALL(getI16Const); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4049:9): [True: 0, False: 18]
  ------------------
 4050|      0|        case EbtInt64: TO_ALL(getI64Const); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4050:9): [True: 0, False: 18]
  ------------------
 4051|      0|        case EbtUint8: TO_ALL(getU8Const); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4051:9): [True: 0, False: 18]
  ------------------
 4052|      0|        case EbtUint16: TO_ALL(getU16Const); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4052:9): [True: 0, False: 18]
  ------------------
 4053|      0|        case EbtUint64: TO_ALL(getU64Const); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4053:9): [True: 0, False: 18]
  ------------------
 4054|      0|        default: return node;
  ------------------
  |  Branch (4054:9): [True: 0, False: 18]
  ------------------
 4055|     18|        }
 4056|     18|    }
 4057|       |
 4058|     18|    const TType& t = node->getType();
 4059|       |
 4060|     18|    return addConstantUnion(leftUnionArray, TType(promoteTo, t.getQualifier().storage, t.getVectorSize(), t.getMatrixCols(), t.getMatrixRows()),
 4061|     18|                            node->getLoc());
 4062|     18|}

_ZN7glslang17TParseContextBase13outputMessageERKNS_10TSourceLocEPKcS5_S5_NS_11TPrefixTypeEP13__va_list_tag:
   55|  16.1k|{
   56|  16.1k|    const int maxSize = MaxTokenLength + 200;
   57|  16.1k|    char szExtraInfo[maxSize];
   58|       |
   59|  16.1k|    safe_vsprintf(szExtraInfo, maxSize, szExtraInfoFormat, args);
   60|       |
   61|  16.1k|    infoSink.info.prefix(prefix);
   62|  16.1k|    infoSink.info.location(loc, messages & EShMsgAbsolutePath, messages & EShMsgDisplayErrorColumn);
   63|  16.1k|    infoSink.info << "'" << szToken <<  "' : " << szReason << " " << szExtraInfo << "\n";
   64|       |
   65|  16.1k|    if (prefix == EPrefixError) {
  ------------------
  |  Branch (65:9): [True: 110, False: 16.0k]
  ------------------
   66|    110|        ++numErrors;
   67|    110|    }
   68|  16.1k|}
_ZN7glslang17TParseContextBase5errorERKNS_10TSourceLocEPKcS5_S5_z:
   72|     39|{
   73|     39|    if (messages & EShMsgOnlyPreprocessor)
  ------------------
  |  Branch (73:9): [True: 2, False: 37]
  ------------------
   74|      2|        return;
   75|       |    // If enhanced msg readability, only print one error
   76|     37|    if (messages & EShMsgEnhanced && numErrors > 0)
  ------------------
  |  Branch (76:9): [True: 0, False: 37]
  |  Branch (76:38): [True: 0, False: 0]
  ------------------
   77|      0|        return;
   78|     37|    va_list args;
   79|     37|    va_start(args, szExtraInfoFormat);
   80|     37|    outputMessage(loc, szReason, szToken, szExtraInfoFormat, EPrefixError, args);
   81|     37|    va_end(args);
   82|       |
   83|     37|    if ((messages & EShMsgCascadingErrors) == 0)
  ------------------
  |  Branch (83:9): [True: 37, False: 0]
  ------------------
   84|     37|        currentScanner->setEndOfInput();
   85|     37|}
_ZN7glslang17TParseContextBase4warnERKNS_10TSourceLocEPKcS5_S5_z:
   89|  16.0k|{
   90|  16.0k|    if (suppressWarnings())
  ------------------
  |  Branch (90:9): [True: 0, False: 16.0k]
  ------------------
   91|      0|        return;
   92|  16.0k|    va_list args;
   93|  16.0k|    va_start(args, szExtraInfoFormat);
   94|  16.0k|    outputMessage(loc, szReason, szToken, szExtraInfoFormat, EPrefixWarning, args);
   95|       |    va_end(args);
   96|  16.0k|}
_ZN7glslang17TParseContextBase7ppErrorERKNS_10TSourceLocEPKcS5_S5_z:
  100|     73|{
  101|     73|    va_list args;
  102|     73|    va_start(args, szExtraInfoFormat);
  103|     73|    outputMessage(loc, szReason, szToken, szExtraInfoFormat, EPrefixError, args);
  104|     73|    va_end(args);
  105|       |
  106|     73|    if ((messages & EShMsgCascadingErrors) == 0)
  ------------------
  |  Branch (106:9): [True: 47, False: 26]
  ------------------
  107|     47|        currentScanner->setEndOfInput();
  108|     73|}
_ZN7glslang17TParseContextBase16rValueErrorCheckERKNS_10TSourceLocEPKcPNS_12TIntermTypedE:
  232|    722|{
  233|    722|    if (! node)
  ------------------
  |  Branch (233:9): [True: 0, False: 722]
  ------------------
  234|      0|        return;
  235|       |
  236|    722|    TIntermBinary* binaryNode = node->getAsBinaryNode();
  237|    722|    const TIntermSymbol* symNode = node->getAsSymbolNode();
  238|       |
  239|    722|    if (node->getQualifier().isWriteOnly()) {
  ------------------
  |  Branch (239:9): [True: 0, False: 722]
  ------------------
  240|      0|        const TIntermTyped* leftMostTypeNode = TIntermediate::traverseLValueBase(node, true);
  241|       |
  242|      0|        if (symNode != nullptr)
  ------------------
  |  Branch (242:13): [True: 0, False: 0]
  ------------------
  243|      0|            error(loc, "can't read from writeonly object: ", op, symNode->getName().c_str());
  244|      0|        else if (binaryNode &&
  ------------------
  |  Branch (244:18): [True: 0, False: 0]
  ------------------
  245|      0|                (binaryNode->getAsOperator()->getOp() == EOpIndexDirectStruct ||
  ------------------
  |  Branch (245:18): [True: 0, False: 0]
  ------------------
  246|      0|                 binaryNode->getAsOperator()->getOp() == EOpIndexDirect))
  ------------------
  |  Branch (246:18): [True: 0, False: 0]
  ------------------
  247|      0|            if(IsAnonymous(leftMostTypeNode->getAsSymbolNode()->getName()))
  ------------------
  |  Branch (247:16): [True: 0, False: 0]
  ------------------
  248|      0|                error(loc, "can't read from writeonly object: ", op, leftMostTypeNode->getAsSymbolNode()->getAccessName().c_str());
  249|      0|            else
  250|      0|                error(loc, "can't read from writeonly object: ", op, leftMostTypeNode->getAsSymbolNode()->getName().c_str());
  251|      0|        else
  252|      0|            error(loc, "can't read from writeonly object: ", op, "");
  253|       |
  254|    722|    } else {
  255|    722|        if (binaryNode) {
  ------------------
  |  Branch (255:13): [True: 0, False: 722]
  ------------------
  256|      0|            switch (binaryNode->getOp()) {
  257|      0|            case EOpIndexDirect:
  ------------------
  |  Branch (257:13): [True: 0, False: 0]
  ------------------
  258|      0|            case EOpIndexIndirect:
  ------------------
  |  Branch (258:13): [True: 0, False: 0]
  ------------------
  259|      0|            case EOpIndexDirectStruct:
  ------------------
  |  Branch (259:13): [True: 0, False: 0]
  ------------------
  260|      0|            case EOpVectorSwizzle:
  ------------------
  |  Branch (260:13): [True: 0, False: 0]
  ------------------
  261|      0|            case EOpMatrixSwizzle:
  ------------------
  |  Branch (261:13): [True: 0, False: 0]
  ------------------
  262|      0|                rValueErrorCheck(loc, op, binaryNode->getLeft());
  263|      0|                break;
  264|      0|            default:
  ------------------
  |  Branch (264:13): [True: 0, False: 0]
  ------------------
  265|      0|                break;
  266|      0|            }
  267|      0|        }
  268|    722|    }
  269|    722|}
_ZN7glslang17TParseContextBase12trackLinkageERNS_7TSymbolE:
  278|  1.97k|{
  279|  1.97k|    if (!parsingBuiltins)
  ------------------
  |  Branch (279:9): [True: 0, False: 1.97k]
  ------------------
  280|      0|        linkageSymbols.push_back(&symbol);
  281|  1.97k|}
_ZN7glslang17TParseContextBase6finishEv:
  754|    281|{
  755|    281|    if (parsingBuiltins)
  ------------------
  |  Branch (755:9): [True: 224, False: 57]
  ------------------
  756|    224|        return;
  757|       |
  758|     57|    for (const TString& relaxedSymbol : relaxedSymbols)
  ------------------
  |  Branch (758:39): [True: 0, False: 57]
  ------------------
  759|      0|    {
  760|      0|        TSymbol* symbol = symbolTable.find(relaxedSymbol);
  761|      0|        TType& type = symbol->getWritableType();
  762|      0|        for (const TTypeLoc& typeLoc : *type.getStruct())
  ------------------
  |  Branch (762:38): [True: 0, False: 0]
  ------------------
  763|      0|        {
  764|      0|            if (typeLoc.type->isOpaque())
  ------------------
  |  Branch (764:17): [True: 0, False: 0]
  ------------------
  765|      0|            {
  766|      0|                typeLoc.type->getSampler() = TSampler{};
  767|      0|                typeLoc.type->setBasicType(EbtInt);
  768|      0|                TString fieldName("/*");
  769|      0|                fieldName.append(typeLoc.type->getFieldName());
  770|      0|                fieldName.append("*/");
  771|      0|                typeLoc.type->setFieldName(fieldName);
  772|      0|            }
  773|      0|        }
  774|      0|    }
  775|       |
  776|       |    // Transfer the linkage symbols to AST nodes, preserving order.
  777|     57|    TIntermAggregate* linkage = new TIntermAggregate;
  778|     57|    for (auto i = linkageSymbols.begin(); i != linkageSymbols.end(); ++i)
  ------------------
  |  Branch (778:43): [True: 0, False: 57]
  ------------------
  779|      0|        intermediate.addSymbolLinkageNode(linkage, **i);
  780|     57|    intermediate.addSymbolLinkageNodes(linkage, getLanguage(), symbolTable);
  781|     57|}

_ZN7glslang13TParseContextC2ERNS_12TSymbolTableERNS_13TIntermediateEbi8EProfileRKNS_10SpvVersionE11EShLanguageR9TInfoSinkb11EShMessagesPKNSt3__112basic_stringIcNSD_11char_traitsIcEENS_14pool_allocatorIcEEEE:
   60|    238|            TParseContextBase(symbolTable, interm, parsingBuiltins, version, profile, spvVersion, language,
   61|    238|                              infoSink, forwardCompatible, messages, entryPoint),
   62|    238|            inMain(false),
   63|    238|            blockName(nullptr),
   64|    238|            limits(resources.limits),
   65|    238|            atomicUintOffsets(nullptr), anyIndexLimits(false),
   66|    238|            khrDerivativeLayoutQualifierSpecified(false)
   67|    238|{
   68|       |    // decide whether precision qualifiers should be ignored or respected
   69|    238|    if (isEsProfile() || spvVersion.vulkan > 0) {
  ------------------
  |  Branch (69:9): [True: 204, False: 34]
  |  Branch (69:26): [True: 0, False: 34]
  ------------------
   70|    204|        precisionManager.respectPrecisionQualifiers();
   71|    204|        if (! parsingBuiltins && language == EShLangFragment && !isEsProfile() && spvVersion.vulkan > 0)
  ------------------
  |  Branch (71:13): [True: 34, False: 170]
  |  Branch (71:34): [True: 0, False: 34]
  |  Branch (71:65): [True: 0, False: 0]
  |  Branch (71:83): [True: 0, False: 0]
  ------------------
   72|      0|            precisionManager.warnAboutDefaults();
   73|    204|    }
   74|       |
   75|    238|    setPrecisionDefaults();
   76|       |
   77|    238|    globalUniformDefaults.clear();
   78|    238|    globalUniformDefaults.layoutMatrix = ElmColumnMajor;
   79|    238|    globalUniformDefaults.layoutPacking = spvVersion.spv != 0 ? ElpStd140 : ElpShared;
  ------------------
  |  Branch (79:43): [True: 0, False: 238]
  ------------------
   80|       |
   81|    238|    globalBufferDefaults.clear();
   82|    238|    globalBufferDefaults.layoutMatrix = ElmColumnMajor;
   83|    238|    globalBufferDefaults.layoutPacking = spvVersion.spv != 0 ? ElpStd430 : ElpShared;
  ------------------
  |  Branch (83:42): [True: 0, False: 238]
  ------------------
   84|       |
   85|    238|    globalInputDefaults.clear();
   86|    238|    globalOutputDefaults.clear();
   87|       |
   88|    238|    globalSharedDefaults.clear();
   89|    238|    globalSharedDefaults.layoutMatrix = ElmColumnMajor;
   90|    238|    globalSharedDefaults.layoutPacking = ElpStd430;
   91|       |
   92|       |    // "Shaders in the transform
   93|       |    // feedback capturing mode have an initial global default of
   94|       |    //     layout(xfb_buffer = 0) out;"
   95|    238|    if (language == EShLangVertex ||
  ------------------
  |  Branch (95:9): [True: 144, False: 94]
  ------------------
   96|     94|        language == EShLangTessControl ||
  ------------------
  |  Branch (96:9): [True: 2, False: 92]
  ------------------
   97|     92|        language == EShLangTessEvaluation ||
  ------------------
  |  Branch (97:9): [True: 2, False: 90]
  ------------------
   98|     90|        language == EShLangGeometry)
  ------------------
  |  Branch (98:9): [True: 2, False: 88]
  ------------------
   99|    150|        globalOutputDefaults.layoutXfbBuffer = 0;
  100|       |
  101|    238|    if (language == EShLangGeometry)
  ------------------
  |  Branch (101:9): [True: 2, False: 236]
  ------------------
  102|      2|        globalOutputDefaults.layoutStream = 0;
  103|       |
  104|    238|    if (entryPoint != nullptr && entryPoint->size() > 0 && *entryPoint != "main")
  ------------------
  |  Branch (104:9): [True: 238, False: 0]
  |  Branch (104:34): [True: 0, False: 238]
  |  Branch (104:60): [True: 0, False: 0]
  ------------------
  105|      0|        infoSink.info.message(EPrefixError, "Source entry point must be \"main\"");
  106|    238|}
_ZN7glslang13TParseContextD2Ev:
  109|    238|{
  110|    238|    delete [] atomicUintOffsets;
  111|    238|}
_ZN7glslang13TParseContext20setPrecisionDefaultsEv:
  116|    238|{
  117|       |    // Set all precision defaults to EpqNone, which is correct for all types
  118|       |    // when not obeying precision qualifiers, and correct for types that don't
  119|       |    // have defaults (thus getting an error on use) when obeying precision
  120|       |    // qualifiers.
  121|       |
  122|  9.52k|    for (int type = 0; type < EbtNumTypes; ++type)
  ------------------
  |  Branch (122:24): [True: 9.28k, False: 238]
  ------------------
  123|  9.28k|        defaultPrecision[type] = EpqNone;
  124|       |
  125|  2.67M|    for (int type = 0; type < maxSamplerIndex; ++type)
  ------------------
  |  Branch (125:24): [True: 2.67M, False: 238]
  ------------------
  126|  2.67M|        defaultSamplerPrecision[type] = EpqNone;
  127|       |
  128|       |    // replace with real precision defaults for those that have them
  129|    238|    if (obeyPrecisionQualifiers()) {
  ------------------
  |  Branch (129:9): [True: 204, False: 34]
  ------------------
  130|    204|        if (isEsProfile()) {
  ------------------
  |  Branch (130:13): [True: 204, False: 0]
  ------------------
  131|       |            // Most don't have defaults, a few default to lowp.
  132|    204|            TSampler sampler;
  133|    204|            sampler.set(EbtFloat, Esd2D);
  134|    204|            defaultSamplerPrecision[computeSamplerTypeIndex(sampler)] = EpqLow;
  135|    204|            sampler.set(EbtFloat, EsdCube);
  136|    204|            defaultSamplerPrecision[computeSamplerTypeIndex(sampler)] = EpqLow;
  137|    204|            sampler.set(EbtFloat, Esd2D);
  138|    204|            sampler.setExternal(true);
  139|    204|            defaultSamplerPrecision[computeSamplerTypeIndex(sampler)] = EpqLow;
  140|    204|        }
  141|       |
  142|       |        // If we are parsing built-in computational variables/functions, it is meaningful to record
  143|       |        // whether the built-in has no precision qualifier, as that ambiguity
  144|       |        // is used to resolve the precision from the supplied arguments/operands instead.
  145|       |        // So, we don't actually want to replace EpqNone with a default precision for built-ins.
  146|    204|        if (! parsingBuiltins) {
  ------------------
  |  Branch (146:13): [True: 34, False: 170]
  ------------------
  147|     34|            if (isEsProfile() && language == EShLangFragment) {
  ------------------
  |  Branch (147:17): [True: 34, False: 0]
  |  Branch (147:34): [True: 0, False: 34]
  ------------------
  148|      0|                defaultPrecision[EbtInt] = EpqMedium;
  149|      0|                defaultPrecision[EbtUint] = EpqMedium;
  150|     34|            } else {
  151|     34|                defaultPrecision[EbtInt] = EpqHigh;
  152|     34|                defaultPrecision[EbtUint] = EpqHigh;
  153|     34|                defaultPrecision[EbtFloat] = EpqHigh;
  154|     34|            }
  155|       |
  156|     34|            if (!isEsProfile()) {
  ------------------
  |  Branch (156:17): [True: 0, False: 34]
  ------------------
  157|       |                // Non-ES profile
  158|       |                // All sampler precisions default to highp.
  159|      0|                for (int type = 0; type < maxSamplerIndex; ++type)
  ------------------
  |  Branch (159:36): [True: 0, False: 0]
  ------------------
  160|      0|                    defaultSamplerPrecision[type] = EpqHigh;
  161|      0|            }
  162|     34|        }
  163|       |
  164|    204|        defaultPrecision[EbtSampler] = EpqLow;
  165|    204|        defaultPrecision[EbtAtomicUint] = EpqHigh;
  166|    204|    }
  167|    238|}
_ZN7glslang13TParseContext9setLimitsERK16TBuiltInResource:
  170|     36|{
  171|     36|    resources = r;
  172|     36|    intermediate.setLimits(r);
  173|       |
  174|     36|    anyIndexLimits = ! limits.generalAttributeMatrixVectorIndexing ||
  ------------------
  |  Branch (174:22): [True: 0, False: 36]
  ------------------
  175|     36|                     ! limits.generalConstantMatrixVectorIndexing ||
  ------------------
  |  Branch (175:22): [True: 0, False: 36]
  ------------------
  176|     36|                     ! limits.generalSamplerIndexing ||
  ------------------
  |  Branch (176:22): [True: 0, False: 36]
  ------------------
  177|     36|                     ! limits.generalUniformIndexing ||
  ------------------
  |  Branch (177:22): [True: 0, False: 36]
  ------------------
  178|     36|                     ! limits.generalVariableIndexing ||
  ------------------
  |  Branch (178:22): [True: 0, False: 36]
  ------------------
  179|     36|                     ! limits.generalVaryingIndexing;
  ------------------
  |  Branch (179:22): [True: 0, False: 36]
  ------------------
  180|       |
  181|       |
  182|       |    // "Each binding point tracks its own current default offset for
  183|       |    // inheritance of subsequent variables using the same binding. The initial state of compilation is that all
  184|       |    // binding points have an offset of 0."
  185|     36|    atomicUintOffsets = new int[resources.maxAtomicCounterBindings];
  186|     72|    for (int b = 0; b < resources.maxAtomicCounterBindings; ++b)
  ------------------
  |  Branch (186:21): [True: 36, False: 36]
  ------------------
  187|     36|        atomicUintOffsets[b] = 0;
  188|     36|}
_ZN7glslang13TParseContext18parseShaderStringsERNS_10TPpContextERNS_13TInputScannerEb:
  198|    238|{
  199|    238|    currentScanner = &input;
  200|    238|    ppContext.setInput(input, versionWillBeError);
  201|    238|    yyparse(this);
  202|       |
  203|    238|    finish();
  204|       |
  205|    238|    return numErrors == 0;
  206|    238|}
_ZN7glslang13TParseContext11parserErrorEPKc:
  213|     36|{
  214|     36|    if (! getScanner()->atEndOfInput() || numErrors == 0)
  ------------------
  |  Branch (214:9): [True: 4, False: 32]
  |  Branch (214:43): [True: 0, False: 32]
  ------------------
  215|      4|        error(getCurrentLoc(), "", "", s, "");
  216|     32|    else
  217|     32|        error(getCurrentLoc(), "compilation terminated", "", "");
  218|     36|}
_ZNK7glslang13TParseContext15isIoResizeArrayERKNS_5TTypeE:
  773|     18|{
  774|     18|    return type.isArray() &&
  ------------------
  |  Branch (774:12): [True: 12, False: 6]
  ------------------
  775|     12|           ((language == EShLangGeometry    && type.getQualifier().storage == EvqVaryingIn) ||
  ------------------
  |  Branch (775:14): [True: 2, False: 10]
  |  Branch (775:48): [True: 2, False: 0]
  ------------------
  776|     10|            (language == EShLangTessControl && type.getQualifier().storage == EvqVaryingOut &&
  ------------------
  |  Branch (776:14): [True: 2, False: 8]
  |  Branch (776:48): [True: 2, False: 0]
  ------------------
  777|      2|                ! type.getQualifier().patch) ||
  ------------------
  |  Branch (777:17): [True: 2, False: 0]
  ------------------
  778|      8|            (language == EShLangFragment && type.getQualifier().storage == EvqVaryingIn &&
  ------------------
  |  Branch (778:14): [True: 0, False: 8]
  |  Branch (778:45): [True: 0, False: 0]
  ------------------
  779|      0|                (type.getQualifier().pervertexNV || type.getQualifier().pervertexEXT)) ||
  ------------------
  |  Branch (779:18): [True: 0, False: 0]
  |  Branch (779:53): [True: 0, False: 0]
  ------------------
  780|      8|            (language == EShLangMesh && type.getQualifier().storage == EvqVaryingOut &&
  ------------------
  |  Branch (780:14): [True: 8, False: 0]
  |  Branch (780:41): [True: 8, False: 0]
  ------------------
  781|      8|                !type.getQualifier().perTaskNV));
  ------------------
  |  Branch (781:17): [True: 8, False: 0]
  ------------------
  782|     18|}
_ZN7glslang13TParseContext14fixIoArraySizeERKNS_10TSourceLocERNS_5TTypeE:
  786|      6|{
  787|      6|    if (! type.isArray() || type.getQualifier().patch || symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (787:9): [True: 6, False: 0]
  |  Branch (787:29): [True: 0, False: 0]
  |  Branch (787:58): [True: 0, False: 0]
  ------------------
  788|      6|        return;
  789|       |
  790|      6|    assert(! isIoResizeArray(type));
  791|       |
  792|      0|    if (type.getQualifier().storage != EvqVaryingIn || type.getQualifier().patch)
  ------------------
  |  Branch (792:9): [True: 0, False: 0]
  |  Branch (792:56): [True: 0, False: 0]
  ------------------
  793|      0|        return;
  794|       |
  795|      0|    if (language == EShLangTessControl || language == EShLangTessEvaluation) {
  ------------------
  |  Branch (795:9): [True: 0, False: 0]
  |  Branch (795:43): [True: 0, False: 0]
  ------------------
  796|      0|        if (type.getOuterArraySize() != resources.maxPatchVertices) {
  ------------------
  |  Branch (796:13): [True: 0, False: 0]
  ------------------
  797|      0|            if (type.isSizedArray())
  ------------------
  |  Branch (797:17): [True: 0, False: 0]
  ------------------
  798|      0|                error(loc, "tessellation input array size must be gl_MaxPatchVertices or implicitly sized", "[]", "");
  799|      0|            type.changeOuterArraySize(resources.maxPatchVertices);
  800|      0|        }
  801|      0|    }
  802|      0|}
_ZN7glslang13TParseContext12ioArrayCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  808|  1.90k|{
  809|  1.90k|    if (! type.isArray() && ! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (809:9): [True: 1.90k, False: 0]
  |  Branch (809:29): [True: 0, False: 1.90k]
  ------------------
  810|      0|        if (type.getQualifier().isArrayedIo(language) && !type.getQualifier().layoutPassthrough)
  ------------------
  |  Branch (810:13): [True: 0, False: 0]
  |  Branch (810:58): [True: 0, False: 0]
  ------------------
  811|      0|            error(loc, "type must be an array:", type.getStorageQualifierString(), identifier.c_str());
  812|      0|    }
  813|  1.90k|}
_ZN7glslang13TParseContext24checkIoArraysConsistencyERKNS_10TSourceLocEb:
  842|     12|{
  843|     12|    int requiredSize = 0;
  844|     12|    TString featureString;
  845|     12|    size_t listSize = ioArraySymbolResizeList.size();
  846|     12|    size_t i = 0;
  847|       |
  848|       |    // If tailOnly = true, only check the last array symbol in the list.
  849|     12|    if (tailOnly) {
  ------------------
  |  Branch (849:9): [True: 12, False: 0]
  ------------------
  850|     12|        i = listSize - 1;
  851|     12|    }
  852|     12|    for (bool firstIteration = true; i < listSize; ++i) {
  ------------------
  |  Branch (852:38): [True: 12, False: 0]
  ------------------
  853|     12|        TType &type = ioArraySymbolResizeList[i]->getWritableType();
  854|       |
  855|       |        // As I/O array sizes don't change, fetch requiredSize only once,
  856|       |        // except for mesh shaders which could have different I/O array sizes based on type qualifiers.
  857|     12|        if (firstIteration || (language == EShLangMesh)) {
  ------------------
  |  Branch (857:13): [True: 12, False: 0]
  |  Branch (857:31): [True: 0, False: 0]
  ------------------
  858|     12|            requiredSize = getIoArrayImplicitSize(type.getQualifier(), &featureString);
  859|     12|            if (requiredSize == 0)
  ------------------
  |  Branch (859:17): [True: 12, False: 0]
  ------------------
  860|     12|                break;
  861|      0|            firstIteration = false;
  862|      0|        }
  863|       |
  864|      0|        checkIoArrayConsistency(loc, requiredSize, featureString.c_str(), type,
  865|      0|                                ioArraySymbolResizeList[i]->getName());
  866|      0|    }
  867|     12|}
_ZNK7glslang13TParseContext22getIoArrayImplicitSizeERKNS_10TQualifierEPNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  870|     12|{
  871|     12|    int expectedSize = 0;
  872|     12|    TString str = "unknown";
  873|     12|    unsigned int maxVertices = intermediate.getVertices() != TQualifier::layoutNotSet ? intermediate.getVertices() : 0;
  ------------------
  |  Branch (873:32): [True: 0, False: 12]
  ------------------
  874|       |
  875|     12|    if (language == EShLangGeometry) {
  ------------------
  |  Branch (875:9): [True: 2, False: 10]
  ------------------
  876|      2|        expectedSize = TQualifier::mapGeometryToSize(intermediate.getInputPrimitive());
  877|      2|        str = TQualifier::getGeometryString(intermediate.getInputPrimitive());
  878|      2|    }
  879|     10|    else if (language == EShLangTessControl) {
  ------------------
  |  Branch (879:14): [True: 2, False: 8]
  ------------------
  880|      2|        expectedSize = maxVertices;
  881|      2|        str = "vertices";
  882|      8|    } else if (language == EShLangFragment) {
  ------------------
  |  Branch (882:16): [True: 0, False: 8]
  ------------------
  883|       |        // Number of vertices for Fragment shader is always three.
  884|      0|        expectedSize = 3;
  885|      0|        str = "vertices";
  886|      8|    } else if (language == EShLangMesh) {
  ------------------
  |  Branch (886:16): [True: 8, False: 0]
  ------------------
  887|      8|        unsigned int maxPrimitives =
  888|      8|            intermediate.getPrimitives() != TQualifier::layoutNotSet ? intermediate.getPrimitives() : 0;
  ------------------
  |  Branch (888:13): [True: 0, False: 8]
  ------------------
  889|      8|        if (qualifier.builtIn == EbvPrimitiveIndicesNV) {
  ------------------
  |  Branch (889:13): [True: 0, False: 8]
  ------------------
  890|      0|            expectedSize = maxPrimitives * TQualifier::mapGeometryToSize(intermediate.getOutputPrimitive());
  891|      0|            str = "max_primitives*";
  892|      0|            str += TQualifier::getGeometryString(intermediate.getOutputPrimitive());
  893|      0|        }
  894|      8|        else if (qualifier.builtIn == EbvPrimitiveTriangleIndicesEXT || qualifier.builtIn == EbvPrimitiveLineIndicesEXT ||
  ------------------
  |  Branch (894:18): [True: 0, False: 8]
  |  Branch (894:73): [True: 0, False: 8]
  ------------------
  895|      8|                 qualifier.builtIn == EbvPrimitivePointIndicesEXT) {
  ------------------
  |  Branch (895:18): [True: 0, False: 8]
  ------------------
  896|      0|            expectedSize = maxPrimitives;
  897|      0|            str = "max_primitives";
  898|      0|        }
  899|      8|        else if (qualifier.isPerPrimitive()) {
  ------------------
  |  Branch (899:18): [True: 4, False: 4]
  ------------------
  900|      4|            expectedSize = maxPrimitives;
  901|      4|            str = "max_primitives";
  902|      4|        }
  903|      4|        else {
  904|      4|            expectedSize = maxVertices;
  905|      4|            str = "max_vertices";
  906|      4|        }
  907|      8|    }
  908|     12|    if (featureString)
  ------------------
  |  Branch (908:9): [True: 12, False: 0]
  ------------------
  909|     12|        *featureString = str;
  910|     12|    return expectedSize;
  911|     12|}
_ZN7glslang13TParseContext15handleUnaryMathERKNS_10TSourceLocEPKcNS_9TOperatorEPNS_12TIntermTypedE:
  981|      2|{
  982|      2|    rValueErrorCheck(loc, str, childNode);
  983|       |
  984|      2|    bool allowed = true;
  985|      2|    if ((childNode->getType().contains16BitFloat() && !float16Arithmetic()) ||
  ------------------
  |  Branch (985:10): [True: 0, False: 2]
  |  Branch (985:55): [True: 0, False: 0]
  ------------------
  986|      2|        (childNode->getType().contains16BitInt() && !int16Arithmetic()) ||
  ------------------
  |  Branch (986:10): [True: 0, False: 2]
  |  Branch (986:53): [True: 0, False: 0]
  ------------------
  987|      2|        (childNode->getType().contains8BitInt() && !int8Arithmetic()) ||
  ------------------
  |  Branch (987:10): [True: 0, False: 2]
  |  Branch (987:52): [True: 0, False: 0]
  ------------------
  988|      2|        (childNode->getType().containsBFloat16()) ||
  ------------------
  |  Branch (988:9): [True: 0, False: 2]
  ------------------
  989|      2|        (childNode->getType().contains8BitFloat()) ||
  ------------------
  |  Branch (989:9): [True: 0, False: 2]
  ------------------
  990|      2|        (childNode->getType().containsOcpMicroscalingFloat())) {
  ------------------
  |  Branch (990:9): [True: 0, False: 2]
  ------------------
  991|      0|        allowed = false;
  992|      0|    }
  993|       |
  994|      2|    TIntermTyped* result = nullptr;
  995|      2|    if (allowed)
  ------------------
  |  Branch (995:9): [True: 2, False: 0]
  ------------------
  996|      2|        result = intermediate.addUnaryMath(op, childNode, loc);
  997|       |
  998|      2|    if (result)
  ------------------
  |  Branch (998:9): [True: 2, False: 0]
  ------------------
  999|      2|        return result;
 1000|      0|    else {
 1001|      0|        bool enhanced = intermediate.getEnhancedMsgs();
 1002|      0|        unaryOpError(loc, str, childNode->getCompleteString(enhanced));
 1003|      0|    }
 1004|       |
 1005|      0|    return childNode;
 1006|      2|}
_ZN7glslang13TParseContext24handleFunctionDeclaratorERKNS_10TSourceLocERNS_9TFunctionEb:
 1226|  42.4k|{
 1227|       |    // ES can't declare prototypes inside functions
 1228|  42.4k|    if (! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (1228:9): [True: 0, False: 42.4k]
  ------------------
 1229|      0|        requireProfile(loc, ~EEsProfile, "local function declaration");
 1230|       |
 1231|       |    //
 1232|       |    // Multiple declarations of the same function name are allowed.
 1233|       |    //
 1234|       |    // If this is a definition, the definition production code will check for redefinitions
 1235|       |    // (we don't know at this point if it's a definition or not).
 1236|       |    //
 1237|       |    // Redeclarations (full signature match) are allowed.  But, return types and parameter qualifiers must also match.
 1238|       |    //  - except ES 100, which only allows a single prototype
 1239|       |    //
 1240|       |    // ES 100 does not allow redefining, but does allow overloading of built-in functions.
 1241|       |    // ES 300 does not allow redefining or overloading of built-in functions.
 1242|       |    //
 1243|  42.4k|    bool builtIn;
 1244|  42.4k|    TSymbol* symbol = symbolTable.find(function.getMangledName(), &builtIn);
 1245|  42.4k|    if (symbol && symbol->getAsFunction() && builtIn)
  ------------------
  |  Branch (1245:9): [True: 222, False: 42.1k]
  |  Branch (1245:19): [True: 222, False: 0]
  |  Branch (1245:46): [True: 222, False: 0]
  ------------------
 1246|    222|        requireProfile(loc, ~EEsProfile, "redefinition of built-in function");
 1247|       |    // Check the validity of using spirv_literal qualifier
 1248|   148k|    for (int i = 0; i < function.getParamCount(); ++i) {
  ------------------
  |  Branch (1248:21): [True: 105k, False: 42.4k]
  ------------------
 1249|   105k|        if (function[i].type->getQualifier().isSpirvLiteral() && function.getBuiltInOp() != EOpSpirvInst)
  ------------------
  |  Branch (1249:13): [True: 0, False: 105k]
  |  Branch (1249:66): [True: 0, False: 0]
  ------------------
 1250|      0|            error(loc, "'spirv_literal' can only be used on functions defined with 'spirv_instruction' for argument",
 1251|      0|                  function.getName().c_str(), "%d", i + 1);
 1252|   105k|    }
 1253|       |
 1254|       |    // For function declaration with SPIR-V instruction qualifier, always ignore the built-in function and
 1255|       |    // respect this redeclared one.
 1256|  42.4k|    if (symbol && builtIn && function.getBuiltInOp() == EOpSpirvInst)
  ------------------
  |  Branch (1256:9): [True: 222, False: 42.1k]
  |  Branch (1256:19): [True: 222, False: 0]
  |  Branch (1256:30): [True: 0, False: 222]
  ------------------
 1257|      0|        symbol = nullptr;
 1258|  42.4k|    const TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr;
  ------------------
  |  Branch (1258:32): [True: 222, False: 42.1k]
  ------------------
 1259|  42.4k|    if (prevDec) {
  ------------------
  |  Branch (1259:9): [True: 222, False: 42.1k]
  ------------------
 1260|    222|        if (prevDec->isPrototyped() && prototype)
  ------------------
  |  Branch (1260:13): [True: 0, False: 222]
  |  Branch (1260:40): [True: 0, False: 0]
  ------------------
 1261|      0|            profileRequires(loc, EEsProfile, 300, nullptr, "multiple prototypes for same function");
 1262|    222|        if (prevDec->getSpirvInstruction() != function.getSpirvInstruction()) {
  ------------------
  |  Branch (1262:13): [True: 0, False: 222]
  ------------------
 1263|      0|            error(loc, "overloaded functions must have the same qualifiers", function.getName().c_str(),
 1264|      0|                  "spirv_instruction");
 1265|      0|        }
 1266|    222|        bool parameterTypesDiffer = false;
 1267|    756|        for (int i = 0; i < prevDec->getParamCount(); ++i) {
  ------------------
  |  Branch (1267:25): [True: 534, False: 222]
  ------------------
 1268|    534|            if ((*prevDec)[i].type->getQualifier().storage != function[i].type->getQualifier().storage)
  ------------------
  |  Branch (1268:17): [True: 0, False: 534]
  ------------------
 1269|      0|                error(loc, "overloaded functions must have the same parameter storage qualifiers for argument", function[i].type->getStorageQualifierString(), "%d", i+1);
 1270|       |
 1271|    534|            if ((*prevDec)[i].type->getQualifier().precision != function[i].type->getQualifier().precision)
  ------------------
  |  Branch (1271:17): [True: 0, False: 534]
  ------------------
 1272|      0|                error(loc, "overloaded functions must have the same parameter precision qualifiers for argument", function[i].type->getPrecisionQualifierString(), "%d", i+1);
 1273|       |
 1274|    534|            if (*(*prevDec)[i].type != *function[i].type)
  ------------------
  |  Branch (1274:17): [True: 0, False: 534]
  ------------------
 1275|      0|                parameterTypesDiffer = true;
 1276|    534|        }
 1277|    222|        if (!parameterTypesDiffer && prevDec->getType() != function.getType())
  ------------------
  |  Branch (1277:13): [True: 222, False: 0]
  |  Branch (1277:38): [True: 0, False: 222]
  ------------------
 1278|      0|            error(loc, "overloaded functions must have the same return type", function.getName().c_str(), "");
 1279|       |
 1280|    222|        function.addFunctionControl(prevDec->getFunctionControl());
 1281|    222|        unsigned functionControl = function.getFunctionControl();
 1282|    222|        if (function.hasIncompatibleFunctionControl())
  ------------------
  |  Branch (1282:13): [True: 0, False: 222]
  ------------------
 1283|      0|            error(loc, "function attributes are incompatible", function.getName().c_str(), "");
 1284|    222|        if (!builtIn)
  ------------------
  |  Branch (1284:13): [True: 0, False: 222]
  ------------------
 1285|      0|            symbol->getAsFunction()->setFunctionControl(functionControl);
 1286|    222|    }
 1287|       |
 1288|  42.4k|    arrayObjectCheck(loc, function.getType(), "array in function return type");
 1289|       |
 1290|  42.4k|    if (prototype) {
  ------------------
  |  Branch (1290:9): [True: 42.4k, False: 0]
  ------------------
 1291|       |        // All built-in functions are defined, even though they don't have a body.
 1292|       |        // Count their prototype as a definition instead.
 1293|  42.4k|        if (symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (1293:13): [True: 42.4k, False: 0]
  ------------------
 1294|  42.4k|            function.setDefined();
 1295|      0|        else {
 1296|      0|            if (prevDec && ! builtIn)
  ------------------
  |  Branch (1296:17): [True: 0, False: 0]
  |  Branch (1296:28): [True: 0, False: 0]
  ------------------
 1297|      0|                symbol->getAsFunction()->setPrototyped();  // need a writable one, but like having prevDec as a const
 1298|      0|            function.setPrototyped();
 1299|      0|        }
 1300|  42.4k|    }
 1301|       |
 1302|       |    // This insert won't actually insert it if it's a duplicate signature, but it will still check for
 1303|       |    // other forms of name collisions.
 1304|  42.4k|    if (! symbolTable.insert(function))
  ------------------
  |  Branch (1304:9): [True: 0, False: 42.4k]
  ------------------
 1305|      0|        error(loc, "function name is redeclaration of existing name", function.getName().c_str(), "");
 1306|       |
 1307|       |    //
 1308|       |    // If this is a redeclaration, it could also be a definition,
 1309|       |    // in which case, we need to use the parameter names from this one, and not the one that's
 1310|       |    // being redeclared.  So, pass back this declaration, not the one in the symbol table.
 1311|       |    //
 1312|  42.4k|    return &function;
 1313|  42.4k|}
_ZN7glslang13TParseContext18handleFunctionCallERKNS_10TSourceLocEPNS_9TFunctionEP11TIntermNode:
 1418|     14|{
 1419|     14|    TIntermTyped* result = nullptr;
 1420|       |
 1421|     14|    if (spvVersion.vulkan != 0 && spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (1421:9): [True: 0, False: 14]
  |  Branch (1421:35): [True: 0, False: 0]
  ------------------
 1422|       |        // allow calls that are invalid in Vulkan Semantics to be invisibily
 1423|       |        // remapped to equivalent valid functions
 1424|      0|        result = vkRelaxedRemapFunctionCall(loc, function, arguments);
 1425|      0|        if (result)
  ------------------
  |  Branch (1425:13): [True: 0, False: 0]
  ------------------
 1426|      0|            return result;
 1427|      0|    }
 1428|       |
 1429|     14|    if (function->getBuiltInOp() == EOpArrayLength)
  ------------------
  |  Branch (1429:9): [True: 0, False: 14]
  ------------------
 1430|      0|        result = handleLengthMethod(loc, function, arguments);
 1431|     14|    else if (function->getBuiltInOp() != EOpNull) {
  ------------------
  |  Branch (1431:14): [True: 14, False: 0]
  ------------------
 1432|       |        //
 1433|       |        // Then this should be a constructor.
 1434|       |        // Don't go through the symbol table for constructors.
 1435|       |        // Their parameters will be verified algorithmically.
 1436|       |        //
 1437|     14|        TType type(EbtVoid);  // use this to get the type back
 1438|     14|        if (! constructorError(loc, arguments, *function, function->getBuiltInOp(), type)) {
  ------------------
  |  Branch (1438:13): [True: 14, False: 0]
  ------------------
 1439|       |            //
 1440|       |            // It's a constructor, of type 'type'.
 1441|       |            //
 1442|     14|            result = addConstructor(loc, arguments, type);
 1443|     14|            if (result == nullptr)
  ------------------
  |  Branch (1443:17): [True: 0, False: 14]
  ------------------
 1444|      0|                error(loc, "cannot construct with these arguments", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str(), "");
 1445|     14|        }
 1446|     14|    } else {
 1447|       |        //
 1448|       |        // Find it in the symbol table.
 1449|       |        //
 1450|      0|        const TFunction* fnCandidate;
 1451|      0|        bool builtIn {false};
 1452|      0|        fnCandidate = findFunction(loc, *function, builtIn);
 1453|      0|        if (fnCandidate) {
  ------------------
  |  Branch (1453:13): [True: 0, False: 0]
  ------------------
 1454|       |            // This is a declared function that might map to
 1455|       |            //  - a built-in operator,
 1456|       |            //  - a built-in function not mapped to an operator, or
 1457|       |            //  - a user function.
 1458|       |
 1459|       |            // Error check for a function requiring specific extensions present.
 1460|      0|            if (builtIn &&
  ------------------
  |  Branch (1460:17): [True: 0, False: 0]
  ------------------
 1461|      0|                (fnCandidate->getBuiltInOp() == EOpSubgroupQuadAll || fnCandidate->getBuiltInOp() == EOpSubgroupQuadAny))
  ------------------
  |  Branch (1461:18): [True: 0, False: 0]
  |  Branch (1461:71): [True: 0, False: 0]
  ------------------
 1462|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_quad_control, fnCandidate->getName().c_str());
 1463|       |
 1464|      0|            if (builtIn && fnCandidate->getNumExtensions())
  ------------------
  |  Branch (1464:17): [True: 0, False: 0]
  |  Branch (1464:28): [True: 0, False: 0]
  ------------------
 1465|      0|                requireExtensions(loc, fnCandidate->getNumExtensions(), fnCandidate->getExtensions(), fnCandidate->getName().c_str());
 1466|       |
 1467|      0|            if (builtIn && fnCandidate->getType().contains16BitFloat())
  ------------------
  |  Branch (1467:17): [True: 0, False: 0]
  |  Branch (1467:28): [True: 0, False: 0]
  ------------------
 1468|      0|                requireFloat16Arithmetic(loc, "built-in function", "float16 types can only be in uniform block or buffer storage");
 1469|      0|            if (builtIn && fnCandidate->getType().contains16BitInt())
  ------------------
  |  Branch (1469:17): [True: 0, False: 0]
  |  Branch (1469:28): [True: 0, False: 0]
  ------------------
 1470|      0|                requireInt16Arithmetic(loc, "built-in function", "(u)int16 types can only be in uniform block or buffer storage");
 1471|      0|            if (builtIn && fnCandidate->getType().contains8BitInt())
  ------------------
  |  Branch (1471:17): [True: 0, False: 0]
  |  Branch (1471:28): [True: 0, False: 0]
  ------------------
 1472|      0|                requireInt8Arithmetic(loc, "built-in function", "(u)int8 types can only be in uniform block or buffer storage");
 1473|      0|            if (builtIn && (fnCandidate->getBuiltInOp() == EOpTextureFetch || fnCandidate->getBuiltInOp() == EOpTextureQuerySize)) {
  ------------------
  |  Branch (1473:17): [True: 0, False: 0]
  |  Branch (1473:29): [True: 0, False: 0]
  |  Branch (1473:79): [True: 0, False: 0]
  ------------------
 1474|      0|                if ((*fnCandidate)[0].type->getSampler().isMultiSample() && version <= 140)
  ------------------
  |  Branch (1474:21): [True: 0, False: 0]
  |  Branch (1474:77): [True: 0, False: 0]
  ------------------
 1475|      0|                    requireExtensions(loc, 1, &E_GL_ARB_texture_multisample, fnCandidate->getName().c_str());
 1476|      0|            }
 1477|      0|            bool hasLongVectorArg = false;
 1478|      0|            if (arguments != nullptr) {
  ------------------
  |  Branch (1478:17): [True: 0, False: 0]
  ------------------
 1479|       |                // Make sure qualifications work for these arguments.
 1480|      0|                TIntermAggregate* aggregate = arguments->getAsAggregate();
 1481|      0|                for (int i = 0; i < fnCandidate->getParamCount(); ++i) {
  ------------------
  |  Branch (1481:33): [True: 0, False: 0]
  ------------------
 1482|       |                    // At this early point there is a slight ambiguity between whether an aggregate 'arguments'
 1483|       |                    // is the single argument itself or its children are the arguments.  Only one argument
 1484|       |                    // means take 'arguments' itself as the one argument.
 1485|      0|                    if ((*fnCandidate)[i].defaultValue) {
  ------------------
  |  Branch (1485:25): [True: 0, False: 0]
  ------------------
 1486|      0|                        if (!aggregate) {
  ------------------
  |  Branch (1486:29): [True: 0, False: 0]
  ------------------
 1487|       |                            // Only one argument was passed (rest are default arguments) so arguments isn't a TIntermAggregate.
 1488|       |                            // But the function takes at least one more argument, so a TIntermAggregate is needed.
 1489|      0|                            aggregate = new TIntermAggregate;
 1490|      0|                            aggregate->getSequence().push_back(arguments);
 1491|      0|                            arguments = aggregate;
 1492|      0|                        }
 1493|      0|                        if (i >= static_cast<int>(aggregate->getSequence().size())) {
  ------------------
  |  Branch (1493:29): [True: 0, False: 0]
  ------------------
 1494|       |                            // Append the default value if there are no more arguments left in the aggregate.
 1495|      0|                            TIntermConstantUnion *defaultValue = nullptr;
 1496|      0|                            if (const auto *constUnion = (*fnCandidate)[i].defaultValue->getAsConstantUnion()) {
  ------------------
  |  Branch (1496:45): [True: 0, False: 0]
  ------------------
 1497|      0|                                defaultValue = new TIntermConstantUnion(constUnion->getConstArray(), constUnion->getType());
 1498|      0|                            }
 1499|      0|                            assert(defaultValue && "unsupported default value construct");
 1500|      0|                            aggregate->getSequence().push_back(defaultValue);
 1501|      0|                        }
 1502|      0|                    }
 1503|      0|                    TIntermNode* arg = fnCandidate->getParamCount() == 1 ? arguments : (aggregate ? aggregate->getSequence()[i] : arguments);
  ------------------
  |  Branch (1503:40): [True: 0, False: 0]
  |  Branch (1503:89): [True: 0, False: 0]
  ------------------
 1504|      0|                    TQualifier& formalQualifier = (*fnCandidate)[i].type->getQualifier();
 1505|      0|                    if (formalQualifier.isParamOutput()) {
  ------------------
  |  Branch (1505:25): [True: 0, False: 0]
  ------------------
 1506|      0|                        if (lValueErrorCheck(arguments->getLoc(), "assign", arg->getAsTyped()))
  ------------------
  |  Branch (1506:29): [True: 0, False: 0]
  ------------------
 1507|      0|                            error(arguments->getLoc(), "Non-L-value cannot be passed for 'out' or 'inout' parameters.", "out", "");
 1508|      0|                    }
 1509|      0|                    if (formalQualifier.isSpirvLiteral()) {
  ------------------
  |  Branch (1509:25): [True: 0, False: 0]
  ------------------
 1510|      0|                        if (!arg->getAsTyped()->getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (1510:29): [True: 0, False: 0]
  ------------------
 1511|      0|                            error(arguments->getLoc(),
 1512|      0|                                  "Non front-end constant expressions cannot be passed for 'spirv_literal' parameters.",
 1513|      0|                                  "spirv_literal", "");
 1514|      0|                        }
 1515|      0|                    }
 1516|      0|                    const TType& argType = arg->getAsTyped()->getType();
 1517|      0|                    const TQualifier& argQualifier = argType.getQualifier();
 1518|      0|                    bool containsBindlessSampler = intermediate.getBindlessMode() && argType.containsSampler();
  ------------------
  |  Branch (1518:52): [True: 0, False: 0]
  |  Branch (1518:86): [True: 0, False: 0]
  ------------------
 1519|      0|                    if (argQualifier.isMemory() && !containsBindlessSampler && (argType.containsOpaque() || argType.isReference())) {
  ------------------
  |  Branch (1519:25): [True: 0, False: 0]
  |  Branch (1519:52): [True: 0, False: 0]
  |  Branch (1519:81): [True: 0, False: 0]
  |  Branch (1519:109): [True: 0, False: 0]
  ------------------
 1520|      0|                        const char* message = "argument cannot drop memory qualifier when passed to formal parameter";
 1521|      0|                        if (argQualifier.volatil && ! formalQualifier.volatil)
  ------------------
  |  Branch (1521:29): [True: 0, False: 0]
  |  Branch (1521:53): [True: 0, False: 0]
  ------------------
 1522|      0|                            error(arguments->getLoc(), message, "volatile", "");
 1523|      0|                        if (argQualifier.coherent && ! (formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1523:29): [True: 0, False: 0]
  |  Branch (1523:57): [True: 0, False: 0]
  |  Branch (1523:91): [True: 0, False: 0]
  ------------------
 1524|      0|                            error(arguments->getLoc(), message, "coherent", "");
 1525|      0|                        if (argQualifier.devicecoherent && ! (formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1525:29): [True: 0, False: 0]
  |  Branch (1525:63): [True: 0, False: 0]
  |  Branch (1525:97): [True: 0, False: 0]
  ------------------
 1526|      0|                            error(arguments->getLoc(), message, "devicecoherent", "");
 1527|      0|                        if (argQualifier.queuefamilycoherent && ! (formalQualifier.queuefamilycoherent || formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1527:29): [True: 0, False: 0]
  |  Branch (1527:68): [True: 0, False: 0]
  |  Branch (1527:107): [True: 0, False: 0]
  |  Branch (1527:141): [True: 0, False: 0]
  ------------------
 1528|      0|                            error(arguments->getLoc(), message, "queuefamilycoherent", "");
 1529|      0|                        if (argQualifier.workgroupcoherent && ! (formalQualifier.workgroupcoherent || formalQualifier.queuefamilycoherent || formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1529:29): [True: 0, False: 0]
  |  Branch (1529:66): [True: 0, False: 0]
  |  Branch (1529:103): [True: 0, False: 0]
  |  Branch (1529:142): [True: 0, False: 0]
  |  Branch (1529:176): [True: 0, False: 0]
  ------------------
 1530|      0|                            error(arguments->getLoc(), message, "workgroupcoherent", "");
 1531|      0|                        if (argQualifier.subgroupcoherent && ! (formalQualifier.subgroupcoherent || formalQualifier.workgroupcoherent || formalQualifier.queuefamilycoherent || formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1531:29): [True: 0, False: 0]
  |  Branch (1531:65): [True: 0, False: 0]
  |  Branch (1531:101): [True: 0, False: 0]
  |  Branch (1531:138): [True: 0, False: 0]
  |  Branch (1531:177): [True: 0, False: 0]
  |  Branch (1531:211): [True: 0, False: 0]
  ------------------
 1532|      0|                            error(arguments->getLoc(), message, "subgroupcoherent", "");
 1533|      0|                        if (argQualifier.readonly && ! formalQualifier.readonly)
  ------------------
  |  Branch (1533:29): [True: 0, False: 0]
  |  Branch (1533:54): [True: 0, False: 0]
  ------------------
 1534|      0|                            error(arguments->getLoc(), message, "readonly", "");
 1535|      0|                        if (argQualifier.writeonly && ! formalQualifier.writeonly)
  ------------------
  |  Branch (1535:29): [True: 0, False: 0]
  |  Branch (1535:55): [True: 0, False: 0]
  ------------------
 1536|      0|                            error(arguments->getLoc(), message, "writeonly", "");
 1537|      0|                        if (argQualifier.nontemporal && ! formalQualifier.nontemporal)
  ------------------
  |  Branch (1537:29): [True: 0, False: 0]
  |  Branch (1537:57): [True: 0, False: 0]
  ------------------
 1538|      0|                            error(arguments->getLoc(), message, "nontemporal", "");
 1539|       |                        // Don't check 'restrict', it is different than the rest:
 1540|       |                        // "...but only restrict can be taken away from a calling argument, by a formal parameter that
 1541|       |                        // lacks the restrict qualifier..."
 1542|      0|                    }
 1543|      0|                    if (!builtIn && argQualifier.getFormat() != formalQualifier.getFormat()) {
  ------------------
  |  Branch (1543:25): [True: 0, False: 0]
  |  Branch (1543:37): [True: 0, False: 0]
  ------------------
 1544|       |                        // we have mismatched formats, which should only be allowed if writeonly
 1545|       |                        // and at least one format is unknown
 1546|      0|                        if (!formalQualifier.isWriteOnly() || (formalQualifier.getFormat() != ElfNone &&
  ------------------
  |  Branch (1546:29): [True: 0, False: 0]
  |  Branch (1546:64): [True: 0, False: 0]
  ------------------
 1547|      0|                                                                  argQualifier.getFormat() != ElfNone))
  ------------------
  |  Branch (1547:67): [True: 0, False: 0]
  ------------------
 1548|      0|                            error(arguments->getLoc(), "image formats must match", "format", "");
 1549|      0|                    }
 1550|      0|                    if (builtIn && arg->getAsTyped()->getType().contains16BitFloat())
  ------------------
  |  Branch (1550:25): [True: 0, False: 0]
  |  Branch (1550:36): [True: 0, False: 0]
  ------------------
 1551|      0|                        requireFloat16Arithmetic(arguments->getLoc(), "built-in function", "float16 types can only be in uniform block or buffer storage");
 1552|      0|                    if (builtIn && arg->getAsTyped()->getType().contains16BitInt())
  ------------------
  |  Branch (1552:25): [True: 0, False: 0]
  |  Branch (1552:36): [True: 0, False: 0]
  ------------------
 1553|      0|                        requireInt16Arithmetic(arguments->getLoc(), "built-in function", "(u)int16 types can only be in uniform block or buffer storage");
 1554|      0|                    if (builtIn && arg->getAsTyped()->getType().contains8BitInt())
  ------------------
  |  Branch (1554:25): [True: 0, False: 0]
  |  Branch (1554:36): [True: 0, False: 0]
  ------------------
 1555|      0|                        requireInt8Arithmetic(arguments->getLoc(), "built-in function", "(u)int8 types can only be in uniform block or buffer storage");
 1556|       |
 1557|       |                    // Check that coopVecOuterProductAccumulateNV vector component types match
 1558|      0|                    if (builtIn && fnCandidate->getBuiltInOp() == EOpCooperativeVectorOuterProductAccumulateNV &&
  ------------------
  |  Branch (1558:25): [True: 0, False: 0]
  |  Branch (1558:36): [True: 0, False: 0]
  ------------------
 1559|      0|                        i == 1 && arg->getAsTyped()->getType().getBasicType() != aggregate->getSequence()[0]->getAsTyped()->getType().getBasicType())
  ------------------
  |  Branch (1559:25): [True: 0, False: 0]
  |  Branch (1559:35): [True: 0, False: 0]
  ------------------
 1560|      0|                        error(arguments->getLoc(), "cooperative vector basic types must match", fnCandidate->getName().c_str(), "");
 1561|       |
 1562|       |                    // Check that coopVecLoadNV and coopVecStoreNV buffer parameter is in buffer or shared storage
 1563|      0|                    if (builtIn && (fnCandidate->getBuiltInOp() == EOpCooperativeVectorLoadNV ||
  ------------------
  |  Branch (1563:25): [True: 0, False: 0]
  |  Branch (1563:37): [True: 0, False: 0]
  ------------------
 1564|      0|                                    fnCandidate->getBuiltInOp() == EOpCooperativeVectorStoreNV) &&
  ------------------
  |  Branch (1564:37): [True: 0, False: 0]
  ------------------
 1565|      0|                        i == 1) {
  ------------------
  |  Branch (1565:25): [True: 0, False: 0]
  ------------------
 1566|      0|                        TStorageQualifier storage = arg->getAsTyped()->getType().getQualifier().storage;
 1567|      0|                        if (storage != EvqBuffer && storage != EvqShared) {
  ------------------
  |  Branch (1567:29): [True: 0, False: 0]
  |  Branch (1567:53): [True: 0, False: 0]
  ------------------
 1568|      0|                            error(arguments->getLoc(), "buffer argument must be in buffer or shared storage", 
 1569|      0|                                  fnCandidate->getName().c_str(), "");
 1570|      0|                        }
 1571|      0|                    }
 1572|       |
 1573|      0|                    if (argType.isLongVector()) {
  ------------------
  |  Branch (1573:25): [True: 0, False: 0]
  ------------------
 1574|      0|                        hasLongVectorArg = true;
 1575|      0|                    }
 1576|       |
 1577|       |                    // TODO 4.5 functionality:  A shader will fail to compile
 1578|       |                    // if the value passed to the memargument of an atomic memory function does not correspond to a buffer or
 1579|       |                    // shared variable. It is acceptable to pass an element of an array or a single component of a vector to the
 1580|       |                    // memargument of an atomic memory function, as long as the underlying array or vector is a buffer or
 1581|       |                    // shared variable.
 1582|      0|                }
 1583|       |
 1584|       |                // Convert 'in' arguments
 1585|      0|                addInputArgumentConversions(*fnCandidate, arguments);  // arguments may be modified if it's just a single argument node
 1586|      0|            }
 1587|       |
 1588|      0|            if (builtIn && fnCandidate->getBuiltInOp() != EOpNull) {
  ------------------
  |  Branch (1588:17): [True: 0, False: 0]
  |  Branch (1588:28): [True: 0, False: 0]
  ------------------
 1589|       |                // A function call mapped to a built-in operation.
 1590|      0|                result = handleBuiltInFunctionCall(loc, arguments, *fnCandidate);
 1591|      0|            } else if (fnCandidate->getBuiltInOp() == EOpSpirvInst) {
  ------------------
  |  Branch (1591:24): [True: 0, False: 0]
  ------------------
 1592|       |                // When SPIR-V instruction qualifier is specified, the function call is still mapped to a built-in operation.
 1593|      0|                result = handleBuiltInFunctionCall(loc, arguments, *fnCandidate);
 1594|      0|            } else {
 1595|       |                // This is a function call not mapped to built-in operator.
 1596|       |                // It could still be a built-in function, but only if PureOperatorBuiltins == false.
 1597|      0|                result = intermediate.setAggregateOperator(arguments, EOpFunctionCall, fnCandidate->getType(), loc);
 1598|      0|                TIntermAggregate* call = result->getAsAggregate();
 1599|      0|                call->setName(fnCandidate->getMangledName());
 1600|       |
 1601|       |                // this is how we know whether the given function is a built-in function or a user-defined function
 1602|       |                // if builtIn == false, it's a userDefined -> could be an overloaded built-in function also
 1603|       |                // if builtIn == true, it's definitely a built-in function with EOpNull
 1604|      0|                if (! builtIn) {
  ------------------
  |  Branch (1604:21): [True: 0, False: 0]
  ------------------
 1605|      0|                    call->setUserDefined();
 1606|      0|                    if (symbolTable.atGlobalLevel()) {
  ------------------
  |  Branch (1606:25): [True: 0, False: 0]
  ------------------
 1607|      0|                        requireProfile(loc, ~EEsProfile, "calling user function from global scope");
 1608|      0|                        intermediate.addToCallGraph(infoSink, "main(", fnCandidate->getMangledName());
 1609|      0|                    } else
 1610|      0|                        intermediate.addToCallGraph(infoSink, currentCaller, fnCandidate->getMangledName());
 1611|      0|                }
 1612|       |
 1613|      0|                if (builtIn)
  ------------------
  |  Branch (1613:21): [True: 0, False: 0]
  ------------------
 1614|      0|                    nonOpBuiltInCheck(loc, *fnCandidate, *call);
 1615|      0|                else
 1616|      0|                    userFunctionCallCheck(loc, *call);
 1617|      0|            }
 1618|       |
 1619|      0|            if (hasLongVectorArg && fnCandidate->getBuiltInOp() != EOpNull) {
  ------------------
  |  Branch (1619:17): [True: 0, False: 0]
  |  Branch (1619:37): [True: 0, False: 0]
  ------------------
 1620|      0|                TType longVectorResultType(EbtVoid);
 1621|      0|                handleLongVectorBuiltin(loc, fnCandidate, &longVectorResultType, arguments);
 1622|      0|                result->setType(longVectorResultType);
 1623|      0|            }
 1624|       |
 1625|       |            // Convert 'out' arguments.  If it was a constant folded built-in, it won't be an aggregate anymore.
 1626|       |            // Built-ins with a single argument aren't called with an aggregate, but they also don't have an output.
 1627|       |            // Also, build the qualifier list for user function calls, which are always called with an aggregate.
 1628|      0|            if (result->getAsAggregate()) {
  ------------------
  |  Branch (1628:17): [True: 0, False: 0]
  ------------------
 1629|      0|                TQualifierList& qualifierList = result->getAsAggregate()->getQualifierList();
 1630|      0|                for (int i = 0; i < fnCandidate->getParamCount(); ++i) {
  ------------------
  |  Branch (1630:33): [True: 0, False: 0]
  ------------------
 1631|      0|                    TStorageQualifier qual = (*fnCandidate)[i].type->getQualifier().storage;
 1632|      0|                    qualifierList.push_back(qual);
 1633|      0|                }
 1634|      0|                result = addOutputArgumentConversions(*fnCandidate, *result->getAsAggregate());
 1635|      0|            }
 1636|       |
 1637|      0|            handleCoopMat2FunctionCall(loc, fnCandidate, result, arguments);
 1638|       |
 1639|      0|            handleVector2CoopMatConversionCall(loc, fnCandidate, result, arguments);
 1640|       |
 1641|      0|            if (result->getAsTyped()->getType().isCoopVecOrLongVector() &&
  ------------------
  |  Branch (1641:17): [True: 0, False: 0]
  ------------------
 1642|      0|               !result->getAsTyped()->getType().isParameterized()) {
  ------------------
  |  Branch (1642:16): [True: 0, False: 0]
  ------------------
 1643|      0|                if (auto unaryNode = result->getAsUnaryNode())
  ------------------
  |  Branch (1643:26): [True: 0, False: 0]
  ------------------
 1644|      0|                    result->setType(unaryNode->getOperand()->getAsTyped()->getType());
 1645|      0|                else
 1646|      0|                    result->setType(result->getAsAggregate()->getSequence()[0]->getAsTyped()->getType());
 1647|      0|            }
 1648|       |
 1649|      0|            if (fnCandidate->getBuiltInOp() == EOpConstructSaturated) {
  ------------------
  |  Branch (1649:17): [True: 0, False: 0]
  ------------------
 1650|       |                // result type is taken from the first parameter
 1651|      0|                result->setType(result->getAsAggregate()->getSequence()[0]->getAsTyped()->getType());
 1652|      0|            }
 1653|      0|        }
 1654|      0|    }
 1655|       |
 1656|       |    // generic error recovery
 1657|       |    // TODO: simplification: localize all the error recoveries that look like this, and taking type into account to reduce cascades
 1658|     14|    if (result == nullptr)
  ------------------
  |  Branch (1658:9): [True: 0, False: 14]
  ------------------
 1659|      0|        result = intermediate.addConstantUnion(0.0, EbtFloat, loc);
 1660|       |
 1661|     14|    return result;
 1662|     14|}
_ZN7glslang13TParseContext21handleConstructorCallERKNS_10TSourceLocERKNS_11TPublicTypeE:
 4304|     14|{
 4305|     14|    TType type(publicType);
 4306|     14|    type.getQualifier().precision = EpqNone;
 4307|       |
 4308|     14|    if (type.isArray()) {
  ------------------
  |  Branch (4308:9): [True: 0, False: 14]
  ------------------
 4309|      0|        profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed constructor");
 4310|      0|        profileRequires(loc, EEsProfile, 300, nullptr, "arrayed constructor");
 4311|      0|    }
 4312|       |
 4313|       |    // Reuse EOpConstructTextureSampler for bindless image constructor
 4314|       |    // uvec2 imgHandle;
 4315|       |    // imageLoad(image1D(imgHandle), 0);
 4316|     14|    if (type.isImage() && extensionTurnedOn(E_GL_ARB_bindless_texture))
  ------------------
  |  Branch (4316:9): [True: 0, False: 14]
  |  Branch (4316:27): [True: 0, False: 0]
  ------------------
 4317|      0|    {
 4318|      0|        intermediate.setBindlessImageMode(currentCaller, AstRefTypeFunc);
 4319|      0|    }
 4320|       |
 4321|     14|    TOperator op = intermediate.mapTypeToConstructorOp(type);
 4322|       |
 4323|     14|    if (op == EOpNull) {
  ------------------
  |  Branch (4323:9): [True: 0, False: 14]
  ------------------
 4324|      0|      if (intermediate.getEnhancedMsgs() && type.getBasicType() == EbtSampler)
  ------------------
  |  Branch (4324:11): [True: 0, False: 0]
  |  Branch (4324:45): [True: 0, False: 0]
  ------------------
 4325|      0|            error(loc, "function not supported in this version; use texture() instead", "texture*D*", "");
 4326|      0|        else
 4327|      0|            error(loc, "cannot construct this type", type.getBasicString(), "");
 4328|      0|        op = EOpConstructFloat;
 4329|      0|        TType errorType(EbtFloat);
 4330|      0|        type.shallowCopy(errorType);
 4331|      0|    }
 4332|       |
 4333|     14|    TString empty("");
 4334|       |
 4335|     14|    return new TFunction(&empty, type, op);
 4336|     14|}
_ZN7glslang13TParseContext24handlePrecisionQualifierERKNS_10TSourceLocERNS_10TQualifierENS_19TPrecisionQualifierE:
 4340|  4.93k|{
 4341|  4.93k|    if (obeyPrecisionQualifiers())
  ------------------
  |  Branch (4341:9): [True: 816, False: 4.11k]
  ------------------
 4342|    816|        qualifier.precision = precision;
 4343|  4.93k|}
_ZN7glslang13TParseContext23checkPrecisionQualifierERKNS_10TSourceLocENS_19TPrecisionQualifierE:
 4348|  4.93k|{
 4349|  4.93k|    if (precisionManager.shouldWarnAboutDefaults()) {
  ------------------
  |  Branch (4349:9): [True: 0, False: 4.93k]
  ------------------
 4350|      0|        warn(loc, "all default precisions are highp; use precision statements to quiet warning, e.g.:\n"
 4351|      0|                  "         \"precision mediump int; precision highp float;\"", "", "");
 4352|      0|        precisionManager.defaultWarningGiven();
 4353|      0|    }
 4354|  4.93k|}
_ZN7glslang13TParseContext13variableCheckERPNS_12TIntermTypedE:
 4392|  1.30k|{
 4393|  1.30k|    TIntermSymbol* symbol = nodePtr->getAsSymbolNode();
 4394|  1.30k|    if (! symbol)
  ------------------
  |  Branch (4394:9): [True: 1.30k, False: 0]
  ------------------
 4395|  1.30k|        return;
 4396|       |
 4397|      0|    if (symbol->getType().getBasicType() == EbtVoid) {
  ------------------
  |  Branch (4397:9): [True: 0, False: 0]
  ------------------
 4398|      0|        const char *extraInfoFormat = "";
 4399|      0|        if (spvVersion.vulkan != 0 && symbol->getName() == "gl_VertexID") {
  ------------------
  |  Branch (4399:13): [True: 0, False: 0]
  |  Branch (4399:39): [True: 0, False: 0]
  ------------------
 4400|      0|          extraInfoFormat = "(Did you mean gl_VertexIndex?)";
 4401|      0|        } else if (spvVersion.vulkan != 0 && symbol->getName() == "gl_InstanceID") {
  ------------------
  |  Branch (4401:20): [True: 0, False: 0]
  |  Branch (4401:46): [True: 0, False: 0]
  ------------------
 4402|      0|          extraInfoFormat = "(Did you mean gl_InstanceIndex?)";
 4403|      0|        }
 4404|      0|        error(symbol->getLoc(), "undeclared identifier", symbol->getName().c_str(), extraInfoFormat);
 4405|       |
 4406|       |        // Add to symbol table to prevent future error messages on the same name
 4407|      0|        if (symbol->getName().size() > 0) {
  ------------------
  |  Branch (4407:13): [True: 0, False: 0]
  ------------------
 4408|      0|            TVariable* fakeVariable = new TVariable(&symbol->getName(), TType(EbtFloat));
 4409|      0|            symbolTable.insert(*fakeVariable);
 4410|       |
 4411|       |            // substitute a symbol node for this new variable
 4412|      0|            nodePtr = intermediate.addSymbol(*fakeVariable, symbol->getLoc());
 4413|      0|        }
 4414|      0|    } else {
 4415|      0|        switch (symbol->getQualifier().storage) {
 4416|      0|        case EvqPointCoord:
  ------------------
  |  Branch (4416:9): [True: 0, False: 0]
  ------------------
 4417|      0|            profileRequires(symbol->getLoc(), ENoProfile, 120, nullptr, "gl_PointCoord");
 4418|      0|            break;
 4419|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (4419:9): [True: 0, False: 0]
  ------------------
 4420|      0|        }
 4421|      0|    }
 4422|      0|}
_ZN7glslang13TParseContext16rValueErrorCheckERKNS_10TSourceLocEPKcPNS_12TIntermTypedE:
 4551|    722|{
 4552|       |    // Let the base class check errors
 4553|    722|    TParseContextBase::rValueErrorCheck(loc, op, node);
 4554|       |
 4555|    722|    TIntermSymbol* symNode = node->getAsSymbolNode();
 4556|    722|    if (!(symNode && symNode->getQualifier().isWriteOnly())) // base class checks
  ------------------
  |  Branch (4556:11): [True: 0, False: 722]
  |  Branch (4556:22): [True: 0, False: 0]
  ------------------
 4557|    722|        if (symNode && symNode->getQualifier().isExplicitInterpolation())
  ------------------
  |  Branch (4557:13): [True: 0, False: 722]
  |  Branch (4557:24): [True: 0, False: 0]
  ------------------
 4558|      0|            error(loc, "can't read from explicitly-interpolated object: ", op, symNode->getName().c_str());
 4559|       |
 4560|       |    // local_size_{xyz} must be assigned or specialized before gl_WorkGroupSize can be assigned.
 4561|    722|    if(node->getQualifier().builtIn == EbvWorkGroupSize &&
  ------------------
  |  Branch (4561:8): [True: 0, False: 722]
  ------------------
 4562|      0|       !(intermediate.isLocalSizeSet() || intermediate.isLocalSizeSpecialized()))
  ------------------
  |  Branch (4562:10): [True: 0, False: 0]
  |  Branch (4562:43): [True: 0, False: 0]
  ------------------
 4563|      0|        error(loc, "can't read from gl_WorkGroupSize before a fixed workgroup size has been declared", op, "");
 4564|    722|}
_ZN7glslang13TParseContext11globalCheckERKNS_10TSourceLocEPKc:
 4611|  4.76k|{
 4612|  4.76k|    if (! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (4612:9): [True: 0, False: 4.76k]
  ------------------
 4613|      0|        error(loc, "not allowed in nested scope", token, "");
 4614|  4.76k|}
_ZN7glslang13TParseContext18reservedErrorCheckERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 4620|  18.9k|{
 4621|       |    // "Identifiers starting with "gl_" are reserved for use by OpenGL, and may not be
 4622|       |    // declared in a shader; this results in a compile-time error."
 4623|  18.9k|    if (! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (4623:9): [True: 0, False: 18.9k]
  ------------------
 4624|       |        // The extension GL_EXT_conservative_depth allows us to declare "gl_FragDepth".
 4625|      0|        if (identifier == "gl_FragDepth" && extensionTurnedOn(E_GL_EXT_conservative_depth))
  ------------------
  |  Branch (4625:13): [True: 0, False: 0]
  |  Branch (4625:45): [True: 0, False: 0]
  ------------------
 4626|      0|            return;
 4627|       |
 4628|      0|        if (builtInName(identifier) && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics))
  ------------------
  |  Branch (4628:13): [True: 0, False: 0]
  |  Branch (4628:40): [True: 0, False: 0]
  ------------------
 4629|       |            // The extension GL_EXT_spirv_intrinsics allows us to declare identifiers starting with "gl_".
 4630|      0|            error(loc, "identifiers starting with \"gl_\" are reserved", identifier.c_str(), "");
 4631|       |
 4632|       |        // "__" are not supposed to be an error.  ES 300 (and desktop) added the clarification:
 4633|       |        // "In addition, all identifiers containing two consecutive underscores (__) are
 4634|       |        // reserved; using such a name does not itself result in an error, but may result
 4635|       |        // in undefined behavior."
 4636|       |        // however, before that, ES tests required an error.
 4637|      0|        if (identifier.find("__") != TString::npos && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics)) {
  ------------------
  |  Branch (4637:13): [True: 0, False: 0]
  |  Branch (4637:55): [True: 0, False: 0]
  ------------------
 4638|       |            // The extension GL_EXT_spirv_intrinsics allows us to declare identifiers starting with "__".
 4639|      0|            if (isEsProfile() && version < 300)
  ------------------
  |  Branch (4639:17): [True: 0, False: 0]
  |  Branch (4639:34): [True: 0, False: 0]
  ------------------
 4640|      0|                error(loc, "identifiers containing consecutive underscores (\"__\") are reserved, and an error if version < 300", identifier.c_str(), "");
 4641|      0|            else
 4642|      0|                warn(loc, "identifiers containing consecutive underscores (\"__\") are reserved", identifier.c_str(), "");
 4643|      0|        }
 4644|      0|    }
 4645|  18.9k|}
_ZN7glslang13TParseContext20reservedPpErrorCheckERKNS_10TSourceLocEPKcS5_:
 4651|      2|{
 4652|       |    // "__" are not supposed to be an error.  ES 300 (and desktop) added the clarification:
 4653|       |    // "All macro names containing two consecutive underscores ( __ ) are reserved;
 4654|       |    // defining such a name does not itself result in an error, but may result in
 4655|       |    // undefined behavior.  All macro names prefixed with "GL_" ("GL" followed by a
 4656|       |    // single underscore) are also reserved, and defining such a name results in a
 4657|       |    // compile-time error."
 4658|       |    // however, before that, ES tests required an error.
 4659|      2|    if (strncmp(identifier, "GL_", 3) == 0 && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics))
  ------------------
  |  Branch (4659:9): [True: 0, False: 2]
  |  Branch (4659:47): [True: 0, False: 0]
  ------------------
 4660|       |        // The extension GL_EXT_spirv_intrinsics allows us to declare macros prefixed with "GL_".
 4661|      0|        ppError(loc, "names beginning with \"GL_\" can't be (un)defined:", op,  identifier);
 4662|      2|    else if (strncmp(identifier, "defined", 8) == 0)
  ------------------
  |  Branch (4662:14): [True: 0, False: 2]
  ------------------
 4663|      0|        if (relaxedErrors())
  ------------------
  |  Branch (4663:13): [True: 0, False: 0]
  ------------------
 4664|      0|            ppWarn(loc, "\"defined\" is (un)defined:", op,  identifier);
 4665|      0|        else
 4666|      0|            ppError(loc, "\"defined\" can't be (un)defined:", op,  identifier);
 4667|      2|    else if (strstr(identifier, "__") != nullptr && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics)) {
  ------------------
  |  Branch (4667:14): [True: 0, False: 2]
  |  Branch (4667:53): [True: 0, False: 0]
  ------------------
 4668|       |        // The extension GL_EXT_spirv_intrinsics allows us to declare macros prefixed with "__".
 4669|      0|        if (isEsProfile() && version >= 300 &&
  ------------------
  |  Branch (4669:13): [True: 0, False: 0]
  |  Branch (4669:30): [True: 0, False: 0]
  ------------------
 4670|      0|            (strcmp(identifier, "__LINE__") == 0 ||
  ------------------
  |  Branch (4670:14): [True: 0, False: 0]
  ------------------
 4671|      0|             strcmp(identifier, "__FILE__") == 0 ||
  ------------------
  |  Branch (4671:14): [True: 0, False: 0]
  ------------------
 4672|      0|             strcmp(identifier, "__VERSION__") == 0))
  ------------------
  |  Branch (4672:14): [True: 0, False: 0]
  ------------------
 4673|      0|            ppError(loc, "predefined names can't be (un)defined:", op,  identifier);
 4674|      0|        else {
 4675|      0|            if (isEsProfile() && version < 300 && !relaxedErrors())
  ------------------
  |  Branch (4675:17): [True: 0, False: 0]
  |  Branch (4675:34): [True: 0, False: 0]
  |  Branch (4675:51): [True: 0, False: 0]
  ------------------
 4676|      0|                ppError(loc, "names containing consecutive underscores are reserved, and an error if version < 300:", op, identifier);
 4677|      0|            else
 4678|      0|                ppWarn(loc, "names containing consecutive underscores are reserved:", op, identifier);
 4679|      0|        }
 4680|      0|    }
 4681|      2|}
_ZN7glslang13TParseContext21lineContinuationCheckERKNS_10TSourceLocEb:
 4689|  16.1k|{
 4690|  16.1k|    const char* message = "line continuation";
 4691|       |
 4692|  16.1k|    bool lineContinuationAllowed = (isEsProfile() && version >= 300) ||
  ------------------
  |  Branch (4692:37): [True: 15.8k, False: 237]
  |  Branch (4692:54): [True: 0, False: 15.8k]
  ------------------
 4693|  16.1k|                                   (!isEsProfile() && (version >= 420 || extensionTurnedOn(E_GL_ARB_shading_language_420pack)));
  ------------------
  |  Branch (4693:37): [True: 237, False: 15.8k]
  |  Branch (4693:56): [True: 237, False: 0]
  |  Branch (4693:74): [True: 0, False: 0]
  ------------------
 4694|       |
 4695|  16.1k|    if (endOfComment) {
  ------------------
  |  Branch (4695:9): [True: 11.9k, False: 4.17k]
  ------------------
 4696|  11.9k|        if (lineContinuationAllowed)
  ------------------
  |  Branch (4696:13): [True: 200, False: 11.7k]
  ------------------
 4697|    200|            warn(loc, "used at end of comment; the following line is still part of the comment", message, "");
 4698|  11.7k|        else
 4699|  11.7k|            warn(loc, "used at end of comment, but this version does not provide line continuation", message, "");
 4700|       |
 4701|  11.9k|        return lineContinuationAllowed;
 4702|  11.9k|    }
 4703|       |
 4704|  4.17k|    if (relaxedErrors()) {
  ------------------
  |  Branch (4704:9): [True: 4.17k, False: 7]
  ------------------
 4705|  4.17k|        if (! lineContinuationAllowed)
  ------------------
  |  Branch (4705:13): [True: 4.14k, False: 30]
  ------------------
 4706|  4.14k|            warn(loc, "not allowed in this version", message, "");
 4707|  4.17k|        return true;
 4708|  4.17k|    } else {
 4709|      7|        profileRequires(loc, EEsProfile, 300, nullptr, message);
 4710|      7|        profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, message);
 4711|      7|    }
 4712|       |
 4713|      7|    return lineContinuationAllowed;
 4714|  4.17k|}
_ZN7glslang13TParseContext11builtInNameERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 4717|  1.95k|{
 4718|  1.95k|    return identifier.compare(0, 3, "gl_") == 0;
 4719|  1.95k|}
_ZN7glslang13TParseContext16constructorErrorERKNS_10TSourceLocEP11TIntermNodeRNS_9TFunctionENS_9TOperatorERNS_5TTypeE:
 4741|     14|{
 4742|       |    // See if the constructor does not establish the main type, only requalifies
 4743|       |    // it, in which case the type comes from the argument instead of from the
 4744|       |    // constructor function.
 4745|     14|    switch (op) {
 4746|      0|    case EOpConstructNonuniform:
  ------------------
  |  Branch (4746:5): [True: 0, False: 14]
  ------------------
 4747|      0|        if (node != nullptr && node->getAsTyped() != nullptr) {
  ------------------
  |  Branch (4747:13): [True: 0, False: 0]
  |  Branch (4747:32): [True: 0, False: 0]
  ------------------
 4748|      0|            type.shallowCopy(node->getAsTyped()->getType());
 4749|      0|            type.getQualifier().makeTemporary();
 4750|      0|            type.getQualifier().nonUniform = true;
 4751|      0|        }
 4752|      0|        break;
 4753|     14|    default:
  ------------------
  |  Branch (4753:5): [True: 14, False: 0]
  ------------------
 4754|     14|        type.shallowCopy(function.getType());
 4755|     14|        break;
 4756|     14|    }
 4757|       |
 4758|     14|    TString constructorString;
 4759|     14|    if (intermediate.getEnhancedMsgs())
  ------------------
  |  Branch (4759:9): [True: 0, False: 14]
  ------------------
 4760|      0|        constructorString.append(type.getCompleteString(true, false, false, true)).append(" constructor");
 4761|     14|    else
 4762|     14|        constructorString.append("constructor");
 4763|       |
 4764|       |    // See if it's a matrix
 4765|     14|    bool constructingMatrix = false;
 4766|     14|    switch (op) {
 4767|      0|    case EOpConstructTextureSampler:
  ------------------
  |  Branch (4767:5): [True: 0, False: 14]
  ------------------
 4768|      0|        return constructorTextureSamplerError(loc, function);
 4769|      0|    case EOpConstructMat2x2:
  ------------------
  |  Branch (4769:5): [True: 0, False: 14]
  ------------------
 4770|      0|    case EOpConstructMat2x3:
  ------------------
  |  Branch (4770:5): [True: 0, False: 14]
  ------------------
 4771|      0|    case EOpConstructMat2x4:
  ------------------
  |  Branch (4771:5): [True: 0, False: 14]
  ------------------
 4772|      0|    case EOpConstructMat3x2:
  ------------------
  |  Branch (4772:5): [True: 0, False: 14]
  ------------------
 4773|      0|    case EOpConstructMat3x3:
  ------------------
  |  Branch (4773:5): [True: 0, False: 14]
  ------------------
 4774|      0|    case EOpConstructMat3x4:
  ------------------
  |  Branch (4774:5): [True: 0, False: 14]
  ------------------
 4775|      0|    case EOpConstructMat4x2:
  ------------------
  |  Branch (4775:5): [True: 0, False: 14]
  ------------------
 4776|      0|    case EOpConstructMat4x3:
  ------------------
  |  Branch (4776:5): [True: 0, False: 14]
  ------------------
 4777|      0|    case EOpConstructMat4x4:
  ------------------
  |  Branch (4777:5): [True: 0, False: 14]
  ------------------
 4778|      0|    case EOpConstructDMat2x2:
  ------------------
  |  Branch (4778:5): [True: 0, False: 14]
  ------------------
 4779|      0|    case EOpConstructDMat2x3:
  ------------------
  |  Branch (4779:5): [True: 0, False: 14]
  ------------------
 4780|      0|    case EOpConstructDMat2x4:
  ------------------
  |  Branch (4780:5): [True: 0, False: 14]
  ------------------
 4781|      0|    case EOpConstructDMat3x2:
  ------------------
  |  Branch (4781:5): [True: 0, False: 14]
  ------------------
 4782|      0|    case EOpConstructDMat3x3:
  ------------------
  |  Branch (4782:5): [True: 0, False: 14]
  ------------------
 4783|      0|    case EOpConstructDMat3x4:
  ------------------
  |  Branch (4783:5): [True: 0, False: 14]
  ------------------
 4784|      0|    case EOpConstructDMat4x2:
  ------------------
  |  Branch (4784:5): [True: 0, False: 14]
  ------------------
 4785|      0|    case EOpConstructDMat4x3:
  ------------------
  |  Branch (4785:5): [True: 0, False: 14]
  ------------------
 4786|      0|    case EOpConstructDMat4x4:
  ------------------
  |  Branch (4786:5): [True: 0, False: 14]
  ------------------
 4787|      0|    case EOpConstructF16Mat2x2:
  ------------------
  |  Branch (4787:5): [True: 0, False: 14]
  ------------------
 4788|      0|    case EOpConstructF16Mat2x3:
  ------------------
  |  Branch (4788:5): [True: 0, False: 14]
  ------------------
 4789|      0|    case EOpConstructF16Mat2x4:
  ------------------
  |  Branch (4789:5): [True: 0, False: 14]
  ------------------
 4790|      0|    case EOpConstructF16Mat3x2:
  ------------------
  |  Branch (4790:5): [True: 0, False: 14]
  ------------------
 4791|      0|    case EOpConstructF16Mat3x3:
  ------------------
  |  Branch (4791:5): [True: 0, False: 14]
  ------------------
 4792|      0|    case EOpConstructF16Mat3x4:
  ------------------
  |  Branch (4792:5): [True: 0, False: 14]
  ------------------
 4793|      0|    case EOpConstructF16Mat4x2:
  ------------------
  |  Branch (4793:5): [True: 0, False: 14]
  ------------------
 4794|      0|    case EOpConstructF16Mat4x3:
  ------------------
  |  Branch (4794:5): [True: 0, False: 14]
  ------------------
 4795|      0|    case EOpConstructF16Mat4x4:
  ------------------
  |  Branch (4795:5): [True: 0, False: 14]
  ------------------
 4796|      0|        constructingMatrix = true;
 4797|      0|        break;
 4798|     14|    default:
  ------------------
  |  Branch (4798:5): [True: 14, False: 0]
  ------------------
 4799|     14|        break;
 4800|     14|    }
 4801|       |
 4802|       |    //
 4803|       |    // Walk the arguments for first-pass checks and collection of information.
 4804|       |    //
 4805|       |
 4806|     14|    int size = 0;
 4807|     14|    bool constType = true;
 4808|     14|    bool specConstType = false;   // value is only valid if constType is true
 4809|     14|    bool full = false;
 4810|     14|    bool overFull = false;
 4811|     14|    bool matrixInMatrix = false;
 4812|     14|    bool arrayArg = false;
 4813|     14|    bool floatArgument = false;
 4814|     14|    bool intArgument = false;
 4815|     56|    for (int arg = 0; arg < function.getParamCount(); ++arg) {
  ------------------
  |  Branch (4815:23): [True: 42, False: 14]
  ------------------
 4816|     42|        if (function[arg].type->isArray()) {
  ------------------
  |  Branch (4816:13): [True: 0, False: 42]
  ------------------
 4817|      0|            if (function[arg].type->isUnsizedArray()) {
  ------------------
  |  Branch (4817:17): [True: 0, False: 0]
  ------------------
 4818|       |                // Can't construct from an unsized array.
 4819|      0|                error(loc, "array argument must be sized", constructorString.c_str(), "");
 4820|      0|                return true;
 4821|      0|            }
 4822|      0|            arrayArg = true;
 4823|      0|        }
 4824|     42|        if (function[arg].type->getBasicType() == EbtString) {
  ------------------
  |  Branch (4824:13): [True: 0, False: 42]
  ------------------
 4825|      0|            error(loc, "cannot convert a string", constructorString.c_str(), "");
 4826|      0|            return true;
 4827|      0|        }
 4828|     42|        if (constructingMatrix && function[arg].type->isMatrix())
  ------------------
  |  Branch (4828:13): [True: 0, False: 42]
  |  Branch (4828:35): [True: 0, False: 0]
  ------------------
 4829|      0|            matrixInMatrix = true;
 4830|       |
 4831|       |        // 'full' will go to true when enough args have been seen.  If we loop
 4832|       |        // again, there is an extra argument.
 4833|     42|        if (full) {
  ------------------
  |  Branch (4833:13): [True: 0, False: 42]
  ------------------
 4834|       |            // For vectors and matrices, it's okay to have too many components
 4835|       |            // available, but not okay to have unused arguments.
 4836|      0|            overFull = true;
 4837|      0|        }
 4838|       |
 4839|     42|        size += function[arg].type->computeNumComponents();
 4840|     42|        if (op != EOpConstructStruct && ! type.isArray() && size >= type.computeNumComponents())
  ------------------
  |  Branch (4840:13): [True: 42, False: 0]
  |  Branch (4840:41): [True: 42, False: 0]
  |  Branch (4840:61): [True: 14, False: 28]
  ------------------
 4841|     14|            full = true;
 4842|       |
 4843|     42|        if (! function[arg].type->getQualifier().isConstant())
  ------------------
  |  Branch (4843:13): [True: 0, False: 42]
  ------------------
 4844|      0|            constType = false;
 4845|     42|        if (function[arg].type->getQualifier().isSpecConstant())
  ------------------
  |  Branch (4845:13): [True: 0, False: 42]
  ------------------
 4846|      0|            specConstType = true;
 4847|     42|        if (function[arg].type->isFloatingDomain())
  ------------------
  |  Branch (4847:13): [True: 0, False: 42]
  ------------------
 4848|      0|            floatArgument = true;
 4849|     42|        if (function[arg].type->isIntegerDomain())
  ------------------
  |  Branch (4849:13): [True: 42, False: 0]
  ------------------
 4850|     42|            intArgument = true;
 4851|     42|        if (type.isStruct()) {
  ------------------
  |  Branch (4851:13): [True: 0, False: 42]
  ------------------
 4852|      0|            if (function[arg].type->contains16BitFloat()) {
  ------------------
  |  Branch (4852:17): [True: 0, False: 0]
  ------------------
 4853|      0|                requireFloat16Arithmetic(loc, constructorString.c_str(), "can't construct structure containing 16-bit type");
 4854|      0|            }
 4855|      0|            if (function[arg].type->contains16BitInt()) {
  ------------------
  |  Branch (4855:17): [True: 0, False: 0]
  ------------------
 4856|      0|                requireInt16Arithmetic(loc, constructorString.c_str(), "can't construct structure containing 16-bit type");
 4857|      0|            }
 4858|      0|            if (function[arg].type->contains8BitInt()) {
  ------------------
  |  Branch (4858:17): [True: 0, False: 0]
  ------------------
 4859|      0|                requireInt8Arithmetic(loc, constructorString.c_str(), "can't construct structure containing 8-bit type");
 4860|      0|            }
 4861|      0|        }
 4862|     42|    }
 4863|     14|    if (op == EOpConstructNonuniform)
  ------------------
  |  Branch (4863:9): [True: 0, False: 14]
  ------------------
 4864|      0|        constType = false;
 4865|       |
 4866|     14|    switch (op) {
 4867|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (4867:5): [True: 0, False: 14]
  ------------------
 4868|      0|    case EOpConstructF16Vec2:
  ------------------
  |  Branch (4868:5): [True: 0, False: 14]
  ------------------
 4869|      0|    case EOpConstructF16Vec3:
  ------------------
  |  Branch (4869:5): [True: 0, False: 14]
  ------------------
 4870|      0|    case EOpConstructF16Vec4:
  ------------------
  |  Branch (4870:5): [True: 0, False: 14]
  ------------------
 4871|      0|        if (type.isArray())
  ------------------
  |  Branch (4871:13): [True: 0, False: 0]
  ------------------
 4872|      0|            requireFloat16Arithmetic(loc, constructorString.c_str(), "16-bit arrays not supported");
 4873|      0|        if (type.isVector() && function.getParamCount() != 1)
  ------------------
  |  Branch (4873:13): [True: 0, False: 0]
  |  Branch (4873:32): [True: 0, False: 0]
  ------------------
 4874|      0|            requireFloat16Arithmetic(loc, constructorString.c_str(), "16-bit vectors only take vector types");
 4875|      0|        break;
 4876|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (4876:5): [True: 0, False: 14]
  ------------------
 4877|      0|    case EOpConstructU16Vec2:
  ------------------
  |  Branch (4877:5): [True: 0, False: 14]
  ------------------
 4878|      0|    case EOpConstructU16Vec3:
  ------------------
  |  Branch (4878:5): [True: 0, False: 14]
  ------------------
 4879|      0|    case EOpConstructU16Vec4:
  ------------------
  |  Branch (4879:5): [True: 0, False: 14]
  ------------------
 4880|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (4880:5): [True: 0, False: 14]
  ------------------
 4881|      0|    case EOpConstructI16Vec2:
  ------------------
  |  Branch (4881:5): [True: 0, False: 14]
  ------------------
 4882|      0|    case EOpConstructI16Vec3:
  ------------------
  |  Branch (4882:5): [True: 0, False: 14]
  ------------------
 4883|      0|    case EOpConstructI16Vec4:
  ------------------
  |  Branch (4883:5): [True: 0, False: 14]
  ------------------
 4884|      0|        if (type.isArray())
  ------------------
  |  Branch (4884:13): [True: 0, False: 0]
  ------------------
 4885|      0|            requireInt16Arithmetic(loc, constructorString.c_str(), "16-bit arrays not supported");
 4886|      0|        if (type.isVector() && function.getParamCount() != 1)
  ------------------
  |  Branch (4886:13): [True: 0, False: 0]
  |  Branch (4886:32): [True: 0, False: 0]
  ------------------
 4887|      0|            requireInt16Arithmetic(loc, constructorString.c_str(), "16-bit vectors only take vector types");
 4888|      0|        break;
 4889|      0|    case EOpConstructUint8:
  ------------------
  |  Branch (4889:5): [True: 0, False: 14]
  ------------------
 4890|      0|    case EOpConstructU8Vec2:
  ------------------
  |  Branch (4890:5): [True: 0, False: 14]
  ------------------
 4891|      0|    case EOpConstructU8Vec3:
  ------------------
  |  Branch (4891:5): [True: 0, False: 14]
  ------------------
 4892|      0|    case EOpConstructU8Vec4:
  ------------------
  |  Branch (4892:5): [True: 0, False: 14]
  ------------------
 4893|      0|    case EOpConstructInt8:
  ------------------
  |  Branch (4893:5): [True: 0, False: 14]
  ------------------
 4894|      0|    case EOpConstructI8Vec2:
  ------------------
  |  Branch (4894:5): [True: 0, False: 14]
  ------------------
 4895|      0|    case EOpConstructI8Vec3:
  ------------------
  |  Branch (4895:5): [True: 0, False: 14]
  ------------------
 4896|      0|    case EOpConstructI8Vec4:
  ------------------
  |  Branch (4896:5): [True: 0, False: 14]
  ------------------
 4897|      0|        if (type.isArray())
  ------------------
  |  Branch (4897:13): [True: 0, False: 0]
  ------------------
 4898|      0|            requireInt8Arithmetic(loc, constructorString.c_str(), "8-bit arrays not supported");
 4899|      0|        if (type.isVector() && function.getParamCount() != 1)
  ------------------
  |  Branch (4899:13): [True: 0, False: 0]
  |  Branch (4899:32): [True: 0, False: 0]
  ------------------
 4900|      0|            requireInt8Arithmetic(loc, constructorString.c_str(), "8-bit vectors only take vector types");
 4901|      0|        break;
 4902|      0|    case EOpConstructFloatE2M1:
  ------------------
  |  Branch (4902:5): [True: 0, False: 14]
  ------------------
 4903|      0|    case EOpConstructFloatE2M1Vec2:
  ------------------
  |  Branch (4903:5): [True: 0, False: 14]
  ------------------
 4904|      0|    case EOpConstructFloatE2M1Vec3:
  ------------------
  |  Branch (4904:5): [True: 0, False: 14]
  ------------------
 4905|      0|    case EOpConstructFloatE2M1Vec4:
  ------------------
  |  Branch (4905:5): [True: 0, False: 14]
  ------------------
 4906|      0|    case EOpConstructFloatE3M2:
  ------------------
  |  Branch (4906:5): [True: 0, False: 14]
  ------------------
 4907|      0|    case EOpConstructFloatE3M2Vec2:
  ------------------
  |  Branch (4907:5): [True: 0, False: 14]
  ------------------
 4908|      0|    case EOpConstructFloatE3M2Vec3:
  ------------------
  |  Branch (4908:5): [True: 0, False: 14]
  ------------------
 4909|      0|    case EOpConstructFloatE3M2Vec4:
  ------------------
  |  Branch (4909:5): [True: 0, False: 14]
  ------------------
 4910|      0|    case EOpConstructFloatE2M3:
  ------------------
  |  Branch (4910:5): [True: 0, False: 14]
  ------------------
 4911|      0|    case EOpConstructFloatE2M3Vec2:
  ------------------
  |  Branch (4911:5): [True: 0, False: 14]
  ------------------
 4912|      0|    case EOpConstructFloatE2M3Vec3:
  ------------------
  |  Branch (4912:5): [True: 0, False: 14]
  ------------------
 4913|      0|    case EOpConstructFloatE2M3Vec4:
  ------------------
  |  Branch (4913:5): [True: 0, False: 14]
  ------------------
 4914|      0|    case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (4914:5): [True: 0, False: 14]
  ------------------
 4915|      0|    case EOpConstructFloatUE8M0Vec2:
  ------------------
  |  Branch (4915:5): [True: 0, False: 14]
  ------------------
 4916|      0|    case EOpConstructFloatUE8M0Vec3:
  ------------------
  |  Branch (4916:5): [True: 0, False: 14]
  ------------------
 4917|      0|    case EOpConstructFloatUE8M0Vec4:
  ------------------
  |  Branch (4917:5): [True: 0, False: 14]
  ------------------
 4918|      0|    case EOpConstructFloatMXINT8:
  ------------------
  |  Branch (4918:5): [True: 0, False: 14]
  ------------------
 4919|      0|    case EOpConstructFloatMXINT8Vec2:
  ------------------
  |  Branch (4919:5): [True: 0, False: 14]
  ------------------
 4920|      0|    case EOpConstructFloatMXINT8Vec3:
  ------------------
  |  Branch (4920:5): [True: 0, False: 14]
  ------------------
 4921|      0|    case EOpConstructFloatMXINT8Vec4:
  ------------------
  |  Branch (4921:5): [True: 0, False: 14]
  ------------------
 4922|      0|        if (!constType || specConstType) {
  ------------------
  |  Branch (4922:13): [True: 0, False: 0]
  |  Branch (4922:27): [True: 0, False: 0]
  ------------------
 4923|      0|            for (int i = 0; i < function.getParamCount(); ++i) {
  ------------------
  |  Branch (4923:29): [True: 0, False: 0]
  ------------------
 4924|      0|                TIntermNode* arg = function.getParamCount() == 1 ? node : node->getAsAggregate()->getSequence()[i];
  ------------------
  |  Branch (4924:36): [True: 0, False: 0]
  ------------------
 4925|      0|                if (arg->getAsTyped()->getBasicType() != type.getBasicType()) {
  ------------------
  |  Branch (4925:21): [True: 0, False: 0]
  ------------------
 4926|      0|                    error(loc, "constructor argument must be a non-spec constant", constructorString.c_str(), "");
 4927|      0|                    return true;
 4928|      0|                }
 4929|      0|            }
 4930|      0|        }
 4931|      0|        break;
 4932|     14|    default:
  ------------------
  |  Branch (4932:5): [True: 14, False: 0]
  ------------------
 4933|     14|        break;
 4934|     14|    }
 4935|       |
 4936|       |    // inherit constness from children
 4937|     14|    if (constType) {
  ------------------
  |  Branch (4937:9): [True: 14, False: 0]
  ------------------
 4938|     14|        bool makeSpecConst;
 4939|       |        // Finish pinning down spec-const semantics
 4940|     14|        if (specConstType) {
  ------------------
  |  Branch (4940:13): [True: 0, False: 14]
  ------------------
 4941|      0|            switch (op) {
 4942|      0|            case EOpConstructInt8:
  ------------------
  |  Branch (4942:13): [True: 0, False: 0]
  ------------------
 4943|      0|            case EOpConstructInt:
  ------------------
  |  Branch (4943:13): [True: 0, False: 0]
  ------------------
 4944|      0|            case EOpConstructUint:
  ------------------
  |  Branch (4944:13): [True: 0, False: 0]
  ------------------
 4945|      0|            case EOpConstructBool:
  ------------------
  |  Branch (4945:13): [True: 0, False: 0]
  ------------------
 4946|      0|            case EOpConstructBVec2:
  ------------------
  |  Branch (4946:13): [True: 0, False: 0]
  ------------------
 4947|      0|            case EOpConstructBVec3:
  ------------------
  |  Branch (4947:13): [True: 0, False: 0]
  ------------------
 4948|      0|            case EOpConstructBVec4:
  ------------------
  |  Branch (4948:13): [True: 0, False: 0]
  ------------------
 4949|      0|            case EOpConstructIVec2:
  ------------------
  |  Branch (4949:13): [True: 0, False: 0]
  ------------------
 4950|      0|            case EOpConstructIVec3:
  ------------------
  |  Branch (4950:13): [True: 0, False: 0]
  ------------------
 4951|      0|            case EOpConstructIVec4:
  ------------------
  |  Branch (4951:13): [True: 0, False: 0]
  ------------------
 4952|      0|            case EOpConstructUVec2:
  ------------------
  |  Branch (4952:13): [True: 0, False: 0]
  ------------------
 4953|      0|            case EOpConstructUVec3:
  ------------------
  |  Branch (4953:13): [True: 0, False: 0]
  ------------------
 4954|      0|            case EOpConstructUVec4:
  ------------------
  |  Branch (4954:13): [True: 0, False: 0]
  ------------------
 4955|      0|            case EOpConstructUint8:
  ------------------
  |  Branch (4955:13): [True: 0, False: 0]
  ------------------
 4956|      0|            case EOpConstructInt16:
  ------------------
  |  Branch (4956:13): [True: 0, False: 0]
  ------------------
 4957|      0|            case EOpConstructUint16:
  ------------------
  |  Branch (4957:13): [True: 0, False: 0]
  ------------------
 4958|      0|            case EOpConstructInt64:
  ------------------
  |  Branch (4958:13): [True: 0, False: 0]
  ------------------
 4959|      0|            case EOpConstructUint64:
  ------------------
  |  Branch (4959:13): [True: 0, False: 0]
  ------------------
 4960|      0|            case EOpConstructI8Vec2:
  ------------------
  |  Branch (4960:13): [True: 0, False: 0]
  ------------------
 4961|      0|            case EOpConstructI8Vec3:
  ------------------
  |  Branch (4961:13): [True: 0, False: 0]
  ------------------
 4962|      0|            case EOpConstructI8Vec4:
  ------------------
  |  Branch (4962:13): [True: 0, False: 0]
  ------------------
 4963|      0|            case EOpConstructU8Vec2:
  ------------------
  |  Branch (4963:13): [True: 0, False: 0]
  ------------------
 4964|      0|            case EOpConstructU8Vec3:
  ------------------
  |  Branch (4964:13): [True: 0, False: 0]
  ------------------
 4965|      0|            case EOpConstructU8Vec4:
  ------------------
  |  Branch (4965:13): [True: 0, False: 0]
  ------------------
 4966|      0|            case EOpConstructI16Vec2:
  ------------------
  |  Branch (4966:13): [True: 0, False: 0]
  ------------------
 4967|      0|            case EOpConstructI16Vec3:
  ------------------
  |  Branch (4967:13): [True: 0, False: 0]
  ------------------
 4968|      0|            case EOpConstructI16Vec4:
  ------------------
  |  Branch (4968:13): [True: 0, False: 0]
  ------------------
 4969|      0|            case EOpConstructU16Vec2:
  ------------------
  |  Branch (4969:13): [True: 0, False: 0]
  ------------------
 4970|      0|            case EOpConstructU16Vec3:
  ------------------
  |  Branch (4970:13): [True: 0, False: 0]
  ------------------
 4971|      0|            case EOpConstructU16Vec4:
  ------------------
  |  Branch (4971:13): [True: 0, False: 0]
  ------------------
 4972|      0|            case EOpConstructI64Vec2:
  ------------------
  |  Branch (4972:13): [True: 0, False: 0]
  ------------------
 4973|      0|            case EOpConstructI64Vec3:
  ------------------
  |  Branch (4973:13): [True: 0, False: 0]
  ------------------
 4974|      0|            case EOpConstructI64Vec4:
  ------------------
  |  Branch (4974:13): [True: 0, False: 0]
  ------------------
 4975|      0|            case EOpConstructU64Vec2:
  ------------------
  |  Branch (4975:13): [True: 0, False: 0]
  ------------------
 4976|      0|            case EOpConstructU64Vec3:
  ------------------
  |  Branch (4976:13): [True: 0, False: 0]
  ------------------
 4977|      0|            case EOpConstructU64Vec4:
  ------------------
  |  Branch (4977:13): [True: 0, False: 0]
  ------------------
 4978|       |                // This was the list of valid ones, if they aren't converting from float
 4979|       |                // and aren't making an array.
 4980|      0|                makeSpecConst = ! floatArgument && ! type.isArray();
  ------------------
  |  Branch (4980:33): [True: 0, False: 0]
  |  Branch (4980:52): [True: 0, False: 0]
  ------------------
 4981|      0|                break;
 4982|       |
 4983|      0|            case EOpConstructVec2:
  ------------------
  |  Branch (4983:13): [True: 0, False: 0]
  ------------------
 4984|      0|            case EOpConstructVec3:
  ------------------
  |  Branch (4984:13): [True: 0, False: 0]
  ------------------
 4985|      0|            case EOpConstructVec4:
  ------------------
  |  Branch (4985:13): [True: 0, False: 0]
  ------------------
 4986|       |                // This was the list of valid ones, if they aren't converting from int
 4987|       |                // and aren't making an array.
 4988|      0|                makeSpecConst = ! intArgument && !type.isArray();
  ------------------
  |  Branch (4988:33): [True: 0, False: 0]
  |  Branch (4988:50): [True: 0, False: 0]
  ------------------
 4989|      0|                break;
 4990|       |
 4991|      0|            case EOpConstructCooperativeMatrixNV:
  ------------------
  |  Branch (4991:13): [True: 0, False: 0]
  ------------------
 4992|      0|            case EOpConstructCooperativeMatrixKHR:
  ------------------
  |  Branch (4992:13): [True: 0, False: 0]
  ------------------
 4993|      0|            case EOpConstructStruct:
  ------------------
  |  Branch (4993:13): [True: 0, False: 0]
  ------------------
 4994|      0|                {
 4995|      0|                    const char *specConstantCompositeExt[] = { E_GL_EXT_spec_constant_composites };
 4996|      0|                    if (checkExtensionsRequested(loc, 1, specConstantCompositeExt, "spec constant aggregate constructor")) {
  ------------------
  |  Branch (4996:25): [True: 0, False: 0]
  ------------------
 4997|      0|                        makeSpecConst = true;
 4998|      0|                    } else {
 4999|      0|                        makeSpecConst = false;
 5000|      0|                    }
 5001|      0|                }
 5002|      0|                break;
 5003|       |
 5004|      0|            default:
  ------------------
  |  Branch (5004:13): [True: 0, False: 0]
  ------------------
 5005|       |                // anything else wasn't white-listed in the spec as a conversion
 5006|      0|                makeSpecConst = false;
 5007|      0|                break;
 5008|      0|            }
 5009|      0|        } else
 5010|     14|            makeSpecConst = false;
 5011|       |
 5012|     14|        if (makeSpecConst)
  ------------------
  |  Branch (5012:13): [True: 0, False: 14]
  ------------------
 5013|      0|            type.getQualifier().makeSpecConstant();
 5014|     14|        else if (specConstType)
  ------------------
  |  Branch (5014:18): [True: 0, False: 14]
  ------------------
 5015|      0|            type.getQualifier().makeTemporary();
 5016|     14|        else
 5017|     14|            type.getQualifier().storage = EvqConst;
 5018|     14|    }
 5019|       |
 5020|     14|    if (type.isArray()) {
  ------------------
  |  Branch (5020:9): [True: 0, False: 14]
  ------------------
 5021|      0|        if (function.getParamCount() == 0) {
  ------------------
  |  Branch (5021:13): [True: 0, False: 0]
  ------------------
 5022|      0|            error(loc, "array constructor must have at least one argument", constructorString.c_str(), "");
 5023|      0|            return true;
 5024|      0|        }
 5025|       |
 5026|      0|        if (type.isUnsizedArray()) {
  ------------------
  |  Branch (5026:13): [True: 0, False: 0]
  ------------------
 5027|       |            // auto adapt the constructor type to the number of arguments
 5028|      0|            type.changeOuterArraySize(function.getParamCount());
 5029|      0|        } else if (type.getOuterArraySize() != function.getParamCount()) {
  ------------------
  |  Branch (5029:20): [True: 0, False: 0]
  ------------------
 5030|      0|            error(loc, "array constructor needs one argument per array element", constructorString.c_str(), "");
 5031|      0|            return true;
 5032|      0|        }
 5033|       |
 5034|      0|        if (type.isArrayOfArrays()) {
  ------------------
  |  Branch (5034:13): [True: 0, False: 0]
  ------------------
 5035|       |            // Types have to match, but we're still making the type.
 5036|       |            // Finish making the type, and the comparison is done later
 5037|       |            // when checking for conversion.
 5038|      0|            TArraySizes& arraySizes = *type.getArraySizes();
 5039|       |
 5040|       |            // At least the dimensionalities have to match.
 5041|      0|            if (! function[0].type->isArray() ||
  ------------------
  |  Branch (5041:17): [True: 0, False: 0]
  ------------------
 5042|      0|                    arraySizes.getNumDims() != function[0].type->getArraySizes()->getNumDims() + 1) {
  ------------------
  |  Branch (5042:21): [True: 0, False: 0]
  ------------------
 5043|      0|                error(loc, "array constructor argument not correct type to construct array element", constructorString.c_str(), "");
 5044|      0|                return true;
 5045|      0|            }
 5046|       |
 5047|      0|            if (arraySizes.isInnerUnsized()) {
  ------------------
  |  Branch (5047:17): [True: 0, False: 0]
  ------------------
 5048|       |                // "Arrays of arrays ..., and the size for any dimension is optional"
 5049|       |                // That means we need to adopt (from the first argument) the other array sizes into the type.
 5050|      0|                for (int d = 1; d < arraySizes.getNumDims(); ++d) {
  ------------------
  |  Branch (5050:33): [True: 0, False: 0]
  ------------------
 5051|      0|                    if (arraySizes.getDimSize(d) == UnsizedArraySize) {
  ------------------
  |  Branch (5051:25): [True: 0, False: 0]
  ------------------
 5052|      0|                        arraySizes.setDimSize(d, function[0].type->getArraySizes()->getDimSize(d - 1));
 5053|      0|                    }
 5054|      0|                }
 5055|      0|            }
 5056|      0|        }
 5057|      0|    }
 5058|       |
 5059|     14|    if (arrayArg && op != EOpConstructStruct && ! type.isArrayOfArrays()) {
  ------------------
  |  Branch (5059:9): [True: 0, False: 14]
  |  Branch (5059:21): [True: 0, False: 0]
  |  Branch (5059:49): [True: 0, False: 0]
  ------------------
 5060|      0|        error(loc, "constructing non-array constituent from array argument", constructorString.c_str(), "");
 5061|      0|        return true;
 5062|      0|    }
 5063|       |
 5064|     14|    if (matrixInMatrix && ! type.isArray()) {
  ------------------
  |  Branch (5064:9): [True: 0, False: 14]
  |  Branch (5064:27): [True: 0, False: 0]
  ------------------
 5065|      0|        profileRequires(loc, ENoProfile, 120, nullptr, "constructing matrix from matrix");
 5066|       |
 5067|       |        // "If a matrix argument is given to a matrix constructor,
 5068|       |        // it is a compile-time error to have any other arguments."
 5069|      0|        if (function.getParamCount() != 1)
  ------------------
  |  Branch (5069:13): [True: 0, False: 0]
  ------------------
 5070|      0|            error(loc, "matrix constructed from matrix can only have one argument", constructorString.c_str(), "");
 5071|      0|        return false;
 5072|      0|    }
 5073|       |
 5074|     14|    if (overFull) {
  ------------------
  |  Branch (5074:9): [True: 0, False: 14]
  ------------------
 5075|      0|        error(loc, "too many arguments", constructorString.c_str(), "");
 5076|      0|        return true;
 5077|      0|    }
 5078|       |
 5079|     14|    if (op == EOpConstructStruct && ! type.isArray() && (int)type.getStruct()->size() != function.getParamCount()) {
  ------------------
  |  Branch (5079:9): [True: 0, False: 14]
  |  Branch (5079:37): [True: 0, False: 0]
  |  Branch (5079:57): [True: 0, False: 0]
  ------------------
 5080|      0|        error(loc, "Number of constructor parameters does not match the number of structure fields", constructorString.c_str(), "");
 5081|      0|        return true;
 5082|      0|    }
 5083|       |
 5084|     14|    if (type.isLongVector() && !isValidLongVectorElseError(loc, type)) {
  ------------------
  |  Branch (5084:9): [True: 0, False: 14]
  |  Branch (5084:32): [True: 0, False: 0]
  ------------------
 5085|      0|        return true;
 5086|      0|    }
 5087|       |
 5088|     14|    if ((op != EOpConstructStruct && size != 1 && size < type.computeNumComponents()) ||
  ------------------
  |  Branch (5088:10): [True: 14, False: 0]
  |  Branch (5088:38): [True: 14, False: 0]
  |  Branch (5088:51): [True: 0, False: 14]
  ------------------
 5089|     14|        (op == EOpConstructStruct && size < type.computeNumComponents())) {
  ------------------
  |  Branch (5089:10): [True: 0, False: 14]
  |  Branch (5089:38): [True: 0, False: 0]
  ------------------
 5090|      0|        error(loc, "not enough data provided for construction", constructorString.c_str(), "");
 5091|      0|        return true;
 5092|      0|    }
 5093|       |
 5094|     14|    if (type.isCoopMat() && function.getParamCount() != 1) {
  ------------------
  |  Branch (5094:9): [True: 0, False: 14]
  |  Branch (5094:29): [True: 0, False: 0]
  ------------------
 5095|      0|        error(loc, "wrong number of arguments", constructorString.c_str(), "");
 5096|      0|        return true;
 5097|      0|    }
 5098|     14|    if (type.isCoopMat() &&
  ------------------
  |  Branch (5098:9): [True: 0, False: 14]
  ------------------
 5099|      0|        !(function[0].type->isScalar() || function[0].type->isCoopMat())) {
  ------------------
  |  Branch (5099:11): [True: 0, False: 0]
  |  Branch (5099:43): [True: 0, False: 0]
  ------------------
 5100|      0|        error(loc, "Cooperative matrix constructor argument must be scalar or cooperative matrix", constructorString.c_str(), "");
 5101|      0|        return true;
 5102|      0|    }
 5103|       |
 5104|     14|    TIntermTyped* typed = node->getAsTyped();
 5105|     14|    if (typed == nullptr) {
  ------------------
  |  Branch (5105:9): [True: 0, False: 14]
  ------------------
 5106|      0|        error(loc, "constructor argument does not have a type", constructorString.c_str(), "");
 5107|      0|        return true;
 5108|      0|    }
 5109|       |
 5110|     14|    if (type.isCoopMat() && typed->getType().isCoopMat()) {
  ------------------
  |  Branch (5110:9): [True: 0, False: 14]
  |  Branch (5110:29): [True: 0, False: 0]
  ------------------
 5111|      0|        static constexpr int CM_UseA = 0;   // == gl_MatrixUseA
 5112|      0|        static constexpr int CM_UseB = 1;   // == gl_MatrixUseB
 5113|      0|        static constexpr int CM_UseAcc = 2; // == gl_MatrixUseAccumulator
 5114|       |
 5115|      0|        int dstUse = type.getCoopMatKHRuse();
 5116|      0|        int srcUse = typed->getType().getCoopMatKHRuse();
 5117|       |
 5118|      0|        if (extensionTurnedOn(E_GL_EXT_cooperative_matrix_maintenance1)) {
  ------------------
  |  Branch (5118:13): [True: 0, False: 0]
  ------------------
 5119|      0|            bool allowedConversion = srcUse == dstUse ||
  ------------------
  |  Branch (5119:38): [True: 0, False: 0]
  ------------------
 5120|      0|                                    (srcUse == CM_UseAcc && (dstUse == CM_UseA || dstUse == CM_UseB)) ||
  ------------------
  |  Branch (5120:38): [True: 0, False: 0]
  |  Branch (5120:62): [True: 0, False: 0]
  |  Branch (5120:83): [True: 0, False: 0]
  ------------------
 5121|      0|                                    (dstUse == CM_UseAcc && (srcUse == CM_UseA || srcUse == CM_UseB));
  ------------------
  |  Branch (5121:38): [True: 0, False: 0]
  |  Branch (5121:62): [True: 0, False: 0]
  |  Branch (5121:83): [True: 0, False: 0]
  ------------------
 5122|      0|            if (!type.sameCoopMatShape(typed->getType()) || !allowedConversion) {
  ------------------
  |  Branch (5122:17): [True: 0, False: 0]
  |  Branch (5122:61): [True: 0, False: 0]
  ------------------
 5123|      0|                error(loc, "Cooperative matrix type parameters mismatch", constructorString.c_str(), "");
 5124|      0|                return true;
 5125|      0|            }
 5126|      0|        } else if (extensionTurnedOn(E_GL_NV_cooperative_matrix2)) {
  ------------------
  |  Branch (5126:20): [True: 0, False: 0]
  ------------------
 5127|      0|            bool allowedConversion = srcUse == dstUse ||
  ------------------
  |  Branch (5127:38): [True: 0, False: 0]
  ------------------
 5128|      0|                                    (srcUse == CM_UseAcc && (dstUse == CM_UseA || dstUse == CM_UseB));
  ------------------
  |  Branch (5128:38): [True: 0, False: 0]
  |  Branch (5128:62): [True: 0, False: 0]
  |  Branch (5128:83): [True: 0, False: 0]
  ------------------
 5129|      0|            if (!type.sameCoopMatShape(typed->getType()) || !allowedConversion) {
  ------------------
  |  Branch (5129:17): [True: 0, False: 0]
  |  Branch (5129:61): [True: 0, False: 0]
  ------------------
 5130|      0|                error(loc, "Cooperative matrix type parameters mismatch", constructorString.c_str(), "");
 5131|      0|                return true;
 5132|      0|            }
 5133|      0|        } else {
 5134|      0|            if (!type.sameCoopMatShapeAndUse(typed->getType())) {
  ------------------
  |  Branch (5134:17): [True: 0, False: 0]
  ------------------
 5135|      0|                error(loc, "Cooperative matrix type parameters mismatch", constructorString.c_str(), "");
 5136|      0|                return true;
 5137|      0|            }
 5138|      0|        }
 5139|      0|    }
 5140|       |
 5141|     14|    if (op != EOpConstructStruct && op != EOpConstructNonuniform && typed->getBasicType() == EbtSampler) {
  ------------------
  |  Branch (5141:9): [True: 14, False: 0]
  |  Branch (5141:37): [True: 14, False: 0]
  |  Branch (5141:69): [True: 0, False: 14]
  ------------------
 5142|      0|        if (op == EOpConstructUVec2 && extensionTurnedOn(E_GL_ARB_bindless_texture)) {
  ------------------
  |  Branch (5142:13): [True: 0, False: 0]
  |  Branch (5142:40): [True: 0, False: 0]
  ------------------
 5143|      0|            intermediate.setBindlessTextureMode(currentCaller, AstRefTypeFunc);
 5144|      0|        }
 5145|      0|        else {
 5146|      0|            error(loc, "cannot convert a sampler", constructorString.c_str(), "");
 5147|      0|            return true;
 5148|      0|        }
 5149|      0|    }
 5150|     14|    if (op != EOpConstructStruct && typed->isAtomic()) {
  ------------------
  |  Branch (5150:9): [True: 14, False: 0]
  |  Branch (5150:37): [True: 0, False: 14]
  ------------------
 5151|      0|        error(loc, "cannot convert an atomic_uint", constructorString.c_str(), "");
 5152|      0|        return true;
 5153|      0|    }
 5154|     14|    if (typed->getBasicType() == EbtVoid) {
  ------------------
  |  Branch (5154:9): [True: 0, False: 14]
  ------------------
 5155|      0|        error(loc, "cannot convert a void", constructorString.c_str(), "");
 5156|      0|        return true;
 5157|      0|    }
 5158|       |
 5159|     14|    return false;
 5160|     14|}
_ZN7glslang13TParseContext14voidErrorCheckERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEENS_10TBasicTypeE:
 5248|  2.28k|{
 5249|  2.28k|    if (basicType == EbtVoid) {
  ------------------
  |  Branch (5249:9): [True: 0, False: 2.28k]
  ------------------
 5250|      0|        error(loc, "illegal use of type 'void'", identifier.c_str(), "");
 5251|      0|        return true;
 5252|      0|    }
 5253|       |
 5254|  2.28k|    return false;
 5255|  2.28k|}
_ZN7glslang13TParseContext12samplerCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEEPNS_12TIntermTypedE:
 5272|  1.95k|{
 5273|       |    // Check that the appropriate extension is enabled if external sampler is used.
 5274|       |    // There are two extensions. The correct one must be used based on GLSL version.
 5275|  1.95k|    if (type.getBasicType() == EbtSampler && type.getSampler().isExternal()) {
  ------------------
  |  Branch (5275:9): [True: 0, False: 1.95k]
  |  Branch (5275:46): [True: 0, False: 0]
  ------------------
 5276|      0|        if (version < 300) {
  ------------------
  |  Branch (5276:13): [True: 0, False: 0]
  ------------------
 5277|      0|            requireExtensions(loc, 1, &E_GL_OES_EGL_image_external, "samplerExternalOES");
 5278|      0|        } else {
 5279|      0|            requireExtensions(loc, 1, &E_GL_OES_EGL_image_external_essl3, "samplerExternalOES");
 5280|      0|        }
 5281|      0|    }
 5282|  1.95k|    if (type.getSampler().isYuv()) {
  ------------------
  |  Branch (5282:9): [True: 0, False: 1.95k]
  ------------------
 5283|      0|        requireExtensions(loc, 1, &E_GL_EXT_YUV_target, "__samplerExternal2DY2YEXT");
 5284|      0|    }
 5285|       |
 5286|  1.95k|    if (type.getQualifier().storage == EvqUniform)
  ------------------
  |  Branch (5286:9): [True: 100, False: 1.85k]
  ------------------
 5287|    100|        return;
 5288|       |
 5289|  1.85k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtSampler)) {
  ------------------
  |  Branch (5289:9): [True: 0, False: 1.85k]
  |  Branch (5289:45): [True: 0, False: 0]
  ------------------
 5290|       |        // For bindless texture, sampler can be declared as an struct member
 5291|      0|        if (extensionTurnedOn(E_GL_ARB_bindless_texture)) {
  ------------------
  |  Branch (5291:13): [True: 0, False: 0]
  ------------------
 5292|      0|            if (type.getSampler().isImage())
  ------------------
  |  Branch (5292:17): [True: 0, False: 0]
  ------------------
 5293|      0|                intermediate.setBindlessImageMode(currentCaller, AstRefTypeVar);
 5294|      0|            else
 5295|      0|                intermediate.setBindlessTextureMode(currentCaller, AstRefTypeVar);
 5296|      0|        }
 5297|      0|        else {
 5298|      0|            error(loc, "non-uniform struct contains a sampler or image:", type.getBasicTypeString().c_str(), identifier.c_str());
 5299|      0|        }
 5300|      0|    }
 5301|  1.85k|    else if (type.getBasicType() == EbtSampler && type.getQualifier().storage != EvqUniform) {
  ------------------
  |  Branch (5301:14): [True: 0, False: 1.85k]
  |  Branch (5301:51): [True: 0, False: 0]
  ------------------
 5302|       |        // For bindless texture, sampler can be declared as an input/output/block member
 5303|      0|        if (extensionTurnedOn(E_GL_ARB_bindless_texture)) {
  ------------------
  |  Branch (5303:13): [True: 0, False: 0]
  ------------------
 5304|      0|            if (type.getSampler().isImage())
  ------------------
  |  Branch (5304:17): [True: 0, False: 0]
  ------------------
 5305|      0|                intermediate.setBindlessImageMode(currentCaller, AstRefTypeVar);
 5306|      0|            else
 5307|      0|                intermediate.setBindlessTextureMode(currentCaller, AstRefTypeVar);
 5308|      0|        }
 5309|      0|        else {
 5310|       |            // non-uniform sampler
 5311|       |            // not yet:  okay if it has an initializer
 5312|       |            // if (! initializer)
 5313|      0|            if (type.getSampler().isAttachmentEXT() && type.getQualifier().storage != EvqTileImageEXT)
  ------------------
  |  Branch (5313:17): [True: 0, False: 0]
  |  Branch (5313:56): [True: 0, False: 0]
  ------------------
 5314|      0|                 error(loc, "can only be used in tileImageEXT variables or function parameters:", type.getBasicTypeString().c_str(), identifier.c_str());
 5315|      0|            else if (type.getQualifier().storage != EvqTileImageEXT)
  ------------------
  |  Branch (5315:22): [True: 0, False: 0]
  ------------------
 5316|      0|                 error(loc, "sampler/image types can only be used in uniform variables or function parameters:", type.getBasicTypeString().c_str(), identifier.c_str());
 5317|      0|        }
 5318|      0|    }
 5319|  1.85k|    else if (type.isTensorARM() && type.getQualifier().storage != EvqUniform) {
  ------------------
  |  Branch (5319:14): [True: 0, False: 1.85k]
  |  Branch (5319:36): [True: 0, False: 0]
  ------------------
 5320|      0|        error(loc, "tensorARM types can only be used in uniform variables or function parameters:", "tensorARM", identifier.c_str());
 5321|      0|    }
 5322|  1.85k|}
_ZN7glslang13TParseContext15atomicUintCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5325|  1.95k|{
 5326|  1.95k|    if (type.getQualifier().storage == EvqUniform)
  ------------------
  |  Branch (5326:9): [True: 100, False: 1.85k]
  ------------------
 5327|    100|        return;
 5328|       |
 5329|  1.85k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtAtomicUint))
  ------------------
  |  Branch (5329:9): [True: 0, False: 1.85k]
  |  Branch (5329:45): [True: 0, False: 0]
  ------------------
 5330|      0|        error(loc, "non-uniform struct contains an atomic_uint:", type.getBasicTypeString().c_str(), identifier.c_str());
 5331|  1.85k|    else if (type.getBasicType() == EbtAtomicUint && type.getQualifier().storage != EvqUniform)
  ------------------
  |  Branch (5331:14): [True: 0, False: 1.85k]
  |  Branch (5331:54): [True: 0, False: 0]
  ------------------
 5332|      0|        error(loc, "atomic_uints can only be used in uniform variables or function parameters:", type.getBasicTypeString().c_str(), identifier.c_str());
 5333|  1.85k|}
_ZN7glslang13TParseContext14accStructCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5336|  1.95k|{
 5337|  1.95k|    if (type.getQualifier().storage == EvqUniform)
  ------------------
  |  Branch (5337:9): [True: 100, False: 1.85k]
  ------------------
 5338|    100|        return;
 5339|       |
 5340|  1.85k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtAccStruct))
  ------------------
  |  Branch (5340:9): [True: 0, False: 1.85k]
  |  Branch (5340:45): [True: 0, False: 0]
  ------------------
 5341|      0|        error(loc, "non-uniform struct contains an accelerationStructureNV:", type.getBasicTypeString().c_str(), identifier.c_str());
 5342|  1.85k|    else if (type.getBasicType() == EbtAccStruct && type.getQualifier().storage != EvqUniform)
  ------------------
  |  Branch (5342:14): [True: 0, False: 1.85k]
  |  Branch (5342:53): [True: 0, False: 0]
  ------------------
 5343|      0|        error(loc, "accelerationStructureNV can only be used in uniform variables or function parameters:",
 5344|      0|            type.getBasicTypeString().c_str(), identifier.c_str());
 5345|       |
 5346|  1.85k|}
_ZN7glslang13TParseContext17hitObjectEXTCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5349|  1.95k|{
 5350|  1.95k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtHitObjectEXT)) {
  ------------------
  |  Branch (5350:9): [True: 70, False: 1.88k]
  |  Branch (5350:45): [True: 0, False: 70]
  ------------------
 5351|      0|        error(loc, "struct is not allowed to contain hitObjectEXT:", type.getTypeName().c_str(), identifier.c_str());
 5352|  1.95k|    } else if (type.getBasicType() == EbtHitObjectEXT) {
  ------------------
  |  Branch (5352:16): [True: 0, False: 1.95k]
  ------------------
 5353|      0|        TStorageQualifier qualifier = type.getQualifier().storage;
 5354|      0|        if (qualifier != EvqGlobal && qualifier != EvqTemporary) {
  ------------------
  |  Branch (5354:13): [True: 0, False: 0]
  |  Branch (5354:39): [True: 0, False: 0]
  ------------------
 5355|      0|            error(loc, "hitObjectEXT can only be declared in global or function scope with no storage qualifier:", "hitObjectEXT", identifier.c_str());
 5356|      0|        }
 5357|      0|    }
 5358|  1.95k|}
_ZN7glslang13TParseContext16hitObjectNVCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5360|  1.95k|{
 5361|  1.95k|    if (type.getBasicType() == EbtStruct && ( containsFieldWithBasicType(type, EbtHitObjectNV))) {
  ------------------
  |  Branch (5361:9): [True: 70, False: 1.88k]
  |  Branch (5361:45): [True: 0, False: 70]
  ------------------
 5362|      0|        error(loc, "struct is not allowed to contain hitObjectNV:", type.getTypeName().c_str(), identifier.c_str());
 5363|  1.95k|    } else if ((type.getBasicType() == EbtHitObjectNV)) {
  ------------------
  |  Branch (5363:16): [True: 0, False: 1.95k]
  ------------------
 5364|      0|        TStorageQualifier qualifier = type.getQualifier().storage;
 5365|      0|        if (qualifier != EvqGlobal && qualifier != EvqTemporary) {
  ------------------
  |  Branch (5365:13): [True: 0, False: 0]
  |  Branch (5365:39): [True: 0, False: 0]
  ------------------
 5366|      0|            error(loc, "hitObjectNV can only be declared in global or function scope with no storage qualifier:", "hitObjectNV", identifier.c_str());
 5367|      0|        }
 5368|      0|    }
 5369|  1.95k|}
_ZN7glslang13TParseContext22transparentOpaqueCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5372|  1.95k|{
 5373|  1.95k|    if (parsingBuiltins)
  ------------------
  |  Branch (5373:9): [True: 1.95k, False: 0]
  ------------------
 5374|  1.95k|        return;
 5375|       |
 5376|      0|    if (type.getQualifier().storage != EvqUniform)
  ------------------
  |  Branch (5376:9): [True: 0, False: 0]
  ------------------
 5377|      0|        return;
 5378|       |
 5379|      0|    if (type.containsNonOpaque()) {
  ------------------
  |  Branch (5379:9): [True: 0, False: 0]
  ------------------
 5380|       |        // Vulkan doesn't allow transparent uniforms outside of blocks
 5381|      0|        if (spvVersion.vulkan > 0 && !spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (5381:13): [True: 0, False: 0]
  |  Branch (5381:38): [True: 0, False: 0]
  ------------------
 5382|      0|            vulkanRemoved(loc, "non-opaque uniforms outside a block");
 5383|       |        // OpenGL wants locations on these (unless they are getting automapped)
 5384|      0|        if (spvVersion.openGl > 0 && !type.getQualifier().hasLocation() && !intermediate.getAutoMapLocations())
  ------------------
  |  Branch (5384:13): [True: 0, False: 0]
  |  Branch (5384:38): [True: 0, False: 0]
  |  Branch (5384:76): [True: 0, False: 0]
  ------------------
 5385|      0|            error(loc, "non-opaque uniform variables need a layout(location=L)", identifier.c_str(), "");
 5386|      0|    }
 5387|      0|}
_ZN7glslang13TParseContext20memberQualifierCheckERNS_11TPublicTypeE:
 5393|    214|{
 5394|    214|    globalQualifierFixCheck(publicType.loc, publicType.qualifier, true);
 5395|    214|    checkNoShaderLayouts(publicType.loc, publicType.shaderQualifiers);
 5396|    214|    if (publicType.qualifier.isNonUniform()) {
  ------------------
  |  Branch (5396:9): [True: 0, False: 214]
  ------------------
 5397|      0|        error(publicType.loc, "not allowed on block or structure members", "nonuniformEXT", "");
 5398|      0|        publicType.qualifier.nonUniform = false;
 5399|      0|    }
 5400|    214|    if (publicType.qualifier.isPatch()) {
  ------------------
  |  Branch (5400:9): [True: 0, False: 214]
  ------------------
 5401|      0|        error(publicType.loc, "not allowed on block or structure members",
 5402|      0|              "patch", "");
 5403|      0|    }
 5404|    214|}
_ZN7glslang13TParseContext23globalQualifierFixCheckERKNS_10TSourceLocERNS_10TQualifierEbPKNS_11TPublicTypeE:
 5410|  3.81k|{
 5411|  3.81k|    bool nonuniformOkay = false;
 5412|       |
 5413|       |    // move from parameter/unknown qualifiers to pipeline in/out qualifiers
 5414|  3.81k|    switch (qualifier.storage) {
 5415|    792|    case EvqIn:
  ------------------
  |  Branch (5415:5): [True: 792, False: 3.01k]
  ------------------
 5416|    792|        profileRequires(loc, ENoProfile, 130, nullptr, "in for stage inputs");
 5417|    792|        profileRequires(loc, EEsProfile, 300, nullptr, "in for stage inputs");
 5418|    792|        qualifier.storage = EvqVaryingIn;
 5419|    792|        nonuniformOkay = true;
 5420|    792|        break;
 5421|     88|    case EvqOut:
  ------------------
  |  Branch (5421:5): [True: 88, False: 3.72k]
  ------------------
 5422|     88|        profileRequires(loc, ENoProfile, 130, nullptr, "out for stage outputs");
 5423|     88|        profileRequires(loc, EEsProfile, 300, nullptr, "out for stage outputs");
 5424|     88|        qualifier.storage = EvqVaryingOut;
 5425|     88|        if (intermediate.isInvariantAll())
  ------------------
  |  Branch (5425:13): [True: 0, False: 88]
  ------------------
 5426|      0|            qualifier.invariant = true;
 5427|     88|        break;
 5428|      0|    case EvqInOut:
  ------------------
  |  Branch (5428:5): [True: 0, False: 3.81k]
  ------------------
 5429|      0|        qualifier.storage = EvqVaryingIn;
 5430|      0|        error(loc, "cannot use 'inout' at global scope", "", "");
 5431|      0|        break;
 5432|  2.01k|    case EvqGlobal:
  ------------------
  |  Branch (5432:5): [True: 2.01k, False: 1.79k]
  ------------------
 5433|  2.02k|    case EvqTemporary:
  ------------------
  |  Branch (5433:5): [True: 10, False: 3.80k]
  ------------------
 5434|  2.02k|        nonuniformOkay = true;
 5435|  2.02k|        break;
 5436|    100|    case EvqUniform:
  ------------------
  |  Branch (5436:5): [True: 100, False: 3.71k]
  ------------------
 5437|       |        // According to GLSL spec: The std430 qualifier is supported only for shader storage blocks; a shader using
 5438|       |        // the std430 qualifier on a uniform block will fail to compile.
 5439|       |        // Only check the global declaration: layout(std430) uniform;
 5440|    100|        if (blockName == nullptr &&
  ------------------
  |  Branch (5440:13): [True: 90, False: 10]
  ------------------
 5441|     90|            qualifier.layoutPacking == ElpStd430)
  ------------------
  |  Branch (5441:13): [True: 0, False: 90]
  ------------------
 5442|      0|        {
 5443|      0|            requireExtensions(loc, 1, &E_GL_EXT_scalar_block_layout, "default std430 layout for uniform");
 5444|      0|        }
 5445|       |
 5446|    100|        if (publicType != nullptr && publicType->isImage() &&
  ------------------
  |  Branch (5446:13): [True: 100, False: 0]
  |  Branch (5446:38): [True: 0, False: 100]
  ------------------
 5447|      0|            (qualifier.layoutFormat > ElfExtSizeGuard && qualifier.layoutFormat < ElfCount))
  ------------------
  |  Branch (5447:14): [True: 0, False: 0]
  |  Branch (5447:58): [True: 0, False: 0]
  ------------------
 5448|      0|            qualifier.layoutFormat = mapLegacyLayoutFormat(qualifier.layoutFormat, publicType->sampler.getBasicType());
 5449|       |
 5450|    100|        break;
 5451|    804|    default:
  ------------------
  |  Branch (5451:5): [True: 804, False: 3.00k]
  ------------------
 5452|    804|        break;
 5453|  3.81k|    }
 5454|       |
 5455|  3.81k|    if (!nonuniformOkay && qualifier.isNonUniform())
  ------------------
  |  Branch (5455:9): [True: 992, False: 2.81k]
  |  Branch (5455:28): [True: 0, False: 992]
  ------------------
 5456|      0|        error(loc, "for non-parameter, can only apply to 'in' or no storage qualifier", "nonuniformEXT", "");
 5457|       |
 5458|  3.81k|    if (qualifier.isSpirvByReference())
  ------------------
  |  Branch (5458:9): [True: 0, False: 3.81k]
  ------------------
 5459|      0|        error(loc, "can only apply to parameter", "spirv_by_reference", "");
 5460|       |
 5461|  3.81k|    if (qualifier.isSpirvLiteral())
  ------------------
  |  Branch (5461:9): [True: 0, False: 3.81k]
  ------------------
 5462|      0|        error(loc, "can only apply to parameter", "spirv_literal", "");
 5463|       |
 5464|       |    // Storage qualifier isn't ready for memberQualifierCheck, we should skip invariantCheck for it.
 5465|  3.81k|    if (!isMemberCheck || structNestingLevel > 0)
  ------------------
  |  Branch (5465:9): [True: 3.59k, False: 214]
  |  Branch (5465:27): [True: 204, False: 10]
  ------------------
 5466|  3.80k|        invariantCheck(loc, qualifier);
 5467|       |
 5468|  3.81k|    if (qualifier.isFullQuads()) {
  ------------------
  |  Branch (5468:9): [True: 0, False: 3.81k]
  ------------------
 5469|      0|        if (qualifier.storage != EvqVaryingIn)
  ------------------
  |  Branch (5469:13): [True: 0, False: 0]
  ------------------
 5470|      0|            error(loc, "can only apply to input layout", "full_quads ", "");
 5471|      0|        intermediate.setReqFullQuadsMode();
 5472|      0|    }
 5473|       |
 5474|  3.81k|    if (qualifier.isQuadDeriv()) {
  ------------------
  |  Branch (5474:9): [True: 0, False: 3.81k]
  ------------------
 5475|      0|        if (qualifier.storage != EvqVaryingIn)
  ------------------
  |  Branch (5475:13): [True: 0, False: 0]
  ------------------
 5476|      0|            error(loc, "can only apply to input layout", "quad_derivatives", "");
 5477|      0|        intermediate.setQuadDerivMode();
 5478|      0|    }
 5479|  3.81k|}
_ZN7glslang13TParseContext24globalQualifierTypeCheckERKNS_10TSourceLocERKNS_10TQualifierERKNS_11TPublicTypeE:
 5485|  44.4k|{
 5486|  44.4k|    if (! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (5486:9): [True: 0, False: 44.4k]
  ------------------
 5487|      0|        return;
 5488|       |
 5489|  44.4k|    if (!(publicType.userDef && publicType.userDef->isReference()) && !publicType.isTensorARM() && !parsingBuiltins) {
  ------------------
  |  Branch (5489:11): [True: 144, False: 44.2k]
  |  Branch (5489:33): [True: 0, False: 144]
  |  Branch (5489:71): [True: 44.4k, False: 0]
  |  Branch (5489:100): [True: 0, False: 44.4k]
  ------------------
 5490|      0|        if (qualifier.isMemoryQualifierImageAndSSBOOnly() && ! publicType.isImage() && publicType.qualifier.storage != EvqBuffer) {
  ------------------
  |  Branch (5490:13): [True: 0, False: 0]
  |  Branch (5490:62): [True: 0, False: 0]
  |  Branch (5490:88): [True: 0, False: 0]
  ------------------
 5491|      0|            error(loc, "memory qualifiers cannot be used on this type", "", "");
 5492|      0|        } else if (qualifier.isMemory() && (publicType.basicType != EbtSampler) && !publicType.qualifier.isUniformOrBuffer()) {
  ------------------
  |  Branch (5492:20): [True: 0, False: 0]
  |  Branch (5492:44): [True: 0, False: 0]
  |  Branch (5492:84): [True: 0, False: 0]
  ------------------
 5493|      0|            error(loc, "memory qualifiers cannot be used on this type", "", "");
 5494|      0|        }
 5495|      0|    }
 5496|       |
 5497|  44.4k|    if (qualifier.storage == EvqBuffer &&
  ------------------
  |  Branch (5497:9): [True: 0, False: 44.4k]
  ------------------
 5498|      0|        publicType.basicType != EbtBlock &&
  ------------------
  |  Branch (5498:9): [True: 0, False: 0]
  ------------------
 5499|      0|        !qualifier.hasBufferReference() &&
  ------------------
  |  Branch (5499:9): [True: 0, False: 0]
  ------------------
 5500|      0|        !qualifier.isBufferType())
  ------------------
  |  Branch (5500:9): [True: 0, False: 0]
  ------------------
 5501|      0|        error(loc, "buffers can be declared only as blocks", "buffer", "");
 5502|       |
 5503|  44.4k|    if (qualifier.storage != EvqVaryingIn && publicType.basicType == EbtDouble &&
  ------------------
  |  Branch (5503:9): [True: 43.6k, False: 790]
  |  Branch (5503:46): [True: 1.15k, False: 42.4k]
  ------------------
 5504|  1.15k|        extensionTurnedOn(E_GL_ARB_vertex_attrib_64bit) && language == EShLangVertex &&
  ------------------
  |  Branch (5504:9): [True: 0, False: 1.15k]
  |  Branch (5504:60): [True: 0, False: 0]
  ------------------
 5505|      0|        version < 400) {
  ------------------
  |  Branch (5505:9): [True: 0, False: 0]
  ------------------
 5506|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 410, E_GL_ARB_gpu_shader_fp64, "vertex-shader `double` type");
 5507|      0|    }
 5508|  44.4k|    if (qualifier.storage != EvqVaryingIn && qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (5508:9): [True: 43.6k, False: 790]
  |  Branch (5508:46): [True: 43.5k, False: 72]
  ------------------
 5509|  43.5k|        return;
 5510|       |
 5511|    862|    if (publicType.shaderQualifiers.hasBlendEquation())
  ------------------
  |  Branch (5511:9): [True: 0, False: 862]
  ------------------
 5512|      0|        error(loc, "can only be applied to a standalone 'out'", "blend equation", "");
 5513|       |
 5514|       |    // now, knowing it is a shader in/out, do all the in/out semantic checks
 5515|       |
 5516|    862|    if (isTypeInt(publicType.basicType) || publicType.basicType == EbtDouble) {
  ------------------
  |  Branch (5516:9): [True: 810, False: 52]
  |  Branch (5516:44): [True: 0, False: 52]
  ------------------
 5517|    810|        profileRequires(loc, EEsProfile, 300, nullptr, "non-float shader input/output");
 5518|    810|        profileRequires(loc, ~EEsProfile, 130, nullptr, "non-float shader input/output");
 5519|    810|    }
 5520|       |
 5521|    862|    if (!qualifier.flat && !qualifier.isExplicitInterpolation() && !qualifier.isPervertexNV() && !qualifier.isPervertexEXT()) {
  ------------------
  |  Branch (5521:9): [True: 792, False: 70]
  |  Branch (5521:28): [True: 792, False: 0]
  |  Branch (5521:68): [True: 792, False: 0]
  |  Branch (5521:98): [True: 792, False: 0]
  ------------------
 5522|    792|        if (isTypeInt(publicType.basicType) ||
  ------------------
  |  Branch (5522:13): [True: 740, False: 52]
  ------------------
 5523|     52|            publicType.basicType == EbtDouble ||
  ------------------
  |  Branch (5523:13): [True: 0, False: 52]
  ------------------
 5524|     52|            (publicType.userDef && (   publicType.userDef->containsBasicType(EbtInt)
  ------------------
  |  Branch (5524:14): [True: 0, False: 52]
  |  Branch (5524:40): [True: 0, False: 0]
  ------------------
 5525|      0|                                    || publicType.userDef->containsBasicType(EbtUint)
  ------------------
  |  Branch (5525:40): [True: 0, False: 0]
  ------------------
 5526|      0|                                    || publicType.userDef->contains16BitInt()
  ------------------
  |  Branch (5526:40): [True: 0, False: 0]
  ------------------
 5527|      0|                                    || publicType.userDef->contains8BitInt()
  ------------------
  |  Branch (5527:40): [True: 0, False: 0]
  ------------------
 5528|      0|                                    || publicType.userDef->contains64BitInt()
  ------------------
  |  Branch (5528:40): [True: 0, False: 0]
  ------------------
 5529|    740|                                    || publicType.userDef->containsDouble()))) {
  ------------------
  |  Branch (5529:40): [True: 0, False: 0]
  ------------------
 5530|    740|            if (qualifier.storage == EvqVaryingIn && language == EShLangFragment)
  ------------------
  |  Branch (5530:17): [True: 684, False: 56]
  |  Branch (5530:54): [True: 0, False: 684]
  ------------------
 5531|      0|                error(loc, "must be qualified as flat", TType::getBasicString(publicType.basicType), GetStorageQualifierString(qualifier.storage));
 5532|    740|            else if (qualifier.storage == EvqVaryingOut && language == EShLangVertex && version == 300)
  ------------------
  |  Branch (5532:22): [True: 56, False: 684]
  |  Branch (5532:60): [True: 12, False: 44]
  |  Branch (5532:89): [True: 0, False: 12]
  ------------------
 5533|      0|                error(loc, "must be qualified as flat", TType::getBasicString(publicType.basicType), GetStorageQualifierString(qualifier.storage));
 5534|    740|        }
 5535|    792|    }
 5536|       |
 5537|    862|    if (qualifier.isPatch() && qualifier.isInterpolation())
  ------------------
  |  Branch (5537:9): [True: 8, False: 854]
  |  Branch (5537:32): [True: 0, False: 8]
  ------------------
 5538|      0|        error(loc, "cannot use interpolation qualifiers with patch", "patch", "");
 5539|       |
 5540|       |    // Only "patch in" is supported via GL_NV_gpu_shader5
 5541|    862|    if (! symbolTable.atBuiltInLevel() && qualifier.isPatch() && 
  ------------------
  |  Branch (5541:9): [True: 0, False: 862]
  |  Branch (5541:43): [True: 0, False: 0]
  ------------------
 5542|      0|        (language == EShLangGeometry) && qualifier.storage != EvqVaryingIn &&
  ------------------
  |  Branch (5542:9): [True: 0, False: 0]
  |  Branch (5542:42): [True: 0, False: 0]
  ------------------
 5543|      0|        extensionTurnedOn(E_GL_NV_gpu_shader5))
  ------------------
  |  Branch (5543:9): [True: 0, False: 0]
  ------------------
 5544|      0|            error(loc, "only 'patch in' is supported in this stage:", "patch", "geometry");
 5545|       |
 5546|    862|    if (qualifier.isTaskPayload() && publicType.basicType == EbtBlock)
  ------------------
  |  Branch (5546:9): [True: 0, False: 862]
  |  Branch (5546:38): [True: 0, False: 0]
  ------------------
 5547|      0|        error(loc, "taskPayloadSharedEXT variables should not be declared as interface blocks", "taskPayloadSharedEXT", "");
 5548|       |
 5549|    862|    if (qualifier.isTaskMemory() && publicType.basicType != EbtBlock)
  ------------------
  |  Branch (5549:9): [True: 0, False: 862]
  |  Branch (5549:37): [True: 0, False: 0]
  ------------------
 5550|      0|        error(loc, "taskNV variables can be declared only as blocks", "taskNV", "");
 5551|       |
 5552|    862|    if (qualifier.storage == EvqVaryingIn) {
  ------------------
  |  Branch (5552:9): [True: 790, False: 72]
  ------------------
 5553|    790|        switch (language) {
 5554|     58|        case EShLangVertex:
  ------------------
  |  Branch (5554:9): [True: 58, False: 732]
  ------------------
 5555|     58|            if (publicType.basicType == EbtStruct) {
  ------------------
  |  Branch (5555:17): [True: 0, False: 58]
  ------------------
 5556|      0|                error(loc, "cannot be a structure", GetStorageQualifierString(qualifier.storage), "");
 5557|      0|                return;
 5558|      0|            }
 5559|     58|            if (publicType.arraySizes) {
  ------------------
  |  Branch (5559:17): [True: 0, False: 58]
  ------------------
 5560|      0|                requireProfile(loc, ~EEsProfile, "vertex input arrays");
 5561|      0|                profileRequires(loc, ENoProfile, 150, nullptr, "vertex input arrays");
 5562|      0|            }
 5563|     58|            if (publicType.basicType == EbtDouble) {
  ------------------
  |  Branch (5563:17): [True: 0, False: 58]
  ------------------
 5564|      0|            	const char* const float64_attrib[] = {E_GL_NV_gpu_shader5, E_GL_ARB_vertex_attrib_64bit};
 5565|      0|                const int Num_float64_attrib = sizeof(float64_attrib) / sizeof(float64_attrib[0]);        
 5566|      0|                profileRequires(loc, ~EEsProfile, 410, Num_float64_attrib, float64_attrib, "vertex-shader `double` type input");
 5567|      0|			}
 5568|     58|            if (qualifier.isAuxiliary() || qualifier.isInterpolation() || qualifier.isMemory() || qualifier.invariant)
  ------------------
  |  Branch (5568:17): [True: 0, False: 58]
  |  Branch (5568:44): [True: 0, False: 58]
  |  Branch (5568:75): [True: 0, False: 58]
  |  Branch (5568:99): [True: 0, False: 58]
  ------------------
 5569|      0|                error(loc, "vertex input cannot be further qualified", "", "");
 5570|     58|            break;
 5571|    100|        case EShLangFragment:
  ------------------
  |  Branch (5571:9): [True: 100, False: 690]
  ------------------
 5572|    100|            if (publicType.userDef) {
  ------------------
  |  Branch (5572:17): [True: 0, False: 100]
  ------------------
 5573|      0|                profileRequires(loc, EEsProfile, 300, nullptr, "fragment-shader struct input");
 5574|      0|                profileRequires(loc, ~EEsProfile, 150, nullptr, "fragment-shader struct input");
 5575|      0|                if (publicType.userDef->containsStructure())
  ------------------
  |  Branch (5575:21): [True: 0, False: 0]
  ------------------
 5576|      0|                    requireProfile(loc, ~EEsProfile, "fragment-shader struct input containing structure");
 5577|      0|                if (publicType.userDef->containsArray())
  ------------------
  |  Branch (5577:21): [True: 0, False: 0]
  ------------------
 5578|      0|                    requireProfile(loc, ~EEsProfile, "fragment-shader struct input containing an array");
 5579|      0|            }
 5580|    100|            break;
 5581|     60|       case EShLangCompute:
  ------------------
  |  Branch (5581:8): [True: 60, False: 730]
  ------------------
 5582|     60|            if (! symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (5582:17): [True: 0, False: 60]
  ------------------
 5583|      0|                error(loc, "global storage input qualifier cannot be used in a compute shader", "in", "");
 5584|     60|            break;
 5585|     54|       case EShLangTessControl:
  ------------------
  |  Branch (5585:8): [True: 54, False: 736]
  ------------------
 5586|     54|            if (qualifier.patch)
  ------------------
  |  Branch (5586:17): [True: 0, False: 54]
  ------------------
 5587|      0|                error(loc, "can only use on output in tessellation-control shader", "patch", "");
 5588|     54|            break;
 5589|    518|        default:
  ------------------
  |  Branch (5589:9): [True: 518, False: 272]
  ------------------
 5590|    518|            break;
 5591|    790|        }
 5592|    790|    } else {
 5593|       |        // qualifier.storage == EvqVaryingOut
 5594|     72|        switch (language) {
 5595|     16|        case EShLangVertex:
  ------------------
  |  Branch (5595:9): [True: 16, False: 56]
  ------------------
 5596|     16|            if (publicType.userDef) {
  ------------------
  |  Branch (5596:17): [True: 0, False: 16]
  ------------------
 5597|      0|                profileRequires(loc, EEsProfile, 300, nullptr, "vertex-shader struct output");
 5598|      0|                profileRequires(loc, ~EEsProfile, 150, nullptr, "vertex-shader struct output");
 5599|      0|                if (publicType.userDef->containsStructure())
  ------------------
  |  Branch (5599:21): [True: 0, False: 0]
  ------------------
 5600|      0|                    requireProfile(loc, ~EEsProfile, "vertex-shader struct output containing structure");
 5601|      0|                if (publicType.userDef->containsArray())
  ------------------
  |  Branch (5601:21): [True: 0, False: 0]
  ------------------
 5602|      0|                    requireProfile(loc, ~EEsProfile, "vertex-shader struct output containing an array");
 5603|      0|            }
 5604|       |
 5605|     16|            break;
 5606|      4|        case EShLangFragment:
  ------------------
  |  Branch (5606:9): [True: 4, False: 68]
  ------------------
 5607|      4|            profileRequires(loc, EEsProfile, 300, nullptr, "fragment shader output");
 5608|      4|            if (publicType.basicType == EbtStruct) {
  ------------------
  |  Branch (5608:17): [True: 0, False: 4]
  ------------------
 5609|      0|                error(loc, "cannot be a structure", GetStorageQualifierString(qualifier.storage), "");
 5610|      0|                return;
 5611|      0|            }
 5612|      4|            if (publicType.matrixRows > 0) {
  ------------------
  |  Branch (5612:17): [True: 0, False: 4]
  ------------------
 5613|      0|                error(loc, "cannot be a matrix", GetStorageQualifierString(qualifier.storage), "");
 5614|      0|                return;
 5615|      0|            }
 5616|      4|            if (qualifier.isAuxiliary())
  ------------------
  |  Branch (5616:17): [True: 0, False: 4]
  ------------------
 5617|      0|                error(loc, "can't use auxiliary qualifier on a fragment output", "centroid/sample/patch", "");
 5618|      4|            if (qualifier.isInterpolation())
  ------------------
  |  Branch (5618:17): [True: 0, False: 4]
  ------------------
 5619|      0|                error(loc, "can't use interpolation qualifier on a fragment output", "flat/smooth/noperspective", "");
 5620|      4|            if (publicType.basicType == EbtDouble || publicType.basicType == EbtInt64 || publicType.basicType == EbtUint64)
  ------------------
  |  Branch (5620:17): [True: 0, False: 4]
  |  Branch (5620:54): [True: 0, False: 4]
  |  Branch (5620:90): [True: 0, False: 4]
  ------------------
 5621|      0|                error(loc, "cannot contain a double, int64, or uint64", GetStorageQualifierString(qualifier.storage), "");
 5622|      4|        break;
 5623|       |
 5624|      0|        case EShLangCompute:
  ------------------
  |  Branch (5624:9): [True: 0, False: 72]
  ------------------
 5625|      0|            error(loc, "global storage output qualifier cannot be used in a compute shader", "out", "");
 5626|      0|            break;
 5627|     14|        case EShLangTessEvaluation:
  ------------------
  |  Branch (5627:9): [True: 14, False: 58]
  ------------------
 5628|     14|            if (qualifier.patch)
  ------------------
  |  Branch (5628:17): [True: 0, False: 14]
  ------------------
 5629|      0|                error(loc, "can only use on input in tessellation-evaluation shader", "patch", "");
 5630|     14|            break;
 5631|     38|        default:
  ------------------
  |  Branch (5631:9): [True: 38, False: 34]
  ------------------
 5632|     38|            break;
 5633|     72|        }
 5634|     72|    }
 5635|    862|}
_ZN7glslang13TParseContext15mergeQualifiersERKNS_10TSourceLocERNS_10TQualifierERKS4_b:
 5647|  14.3k|{
 5648|       |    // Multiple auxiliary qualifiers (mostly done later by 'individual qualifiers')
 5649|  14.3k|    if (src.isAuxiliary() && dst.isAuxiliary())
  ------------------
  |  Branch (5649:9): [True: 8, False: 14.2k]
  |  Branch (5649:30): [True: 0, False: 8]
  ------------------
 5650|      0|        error(loc, "can only have one auxiliary qualifier (centroid, patch, and sample)", "", "");
 5651|       |
 5652|       |    // Multiple interpolation qualifiers (mostly done later by 'individual qualifiers')
 5653|  14.3k|    if (src.isInterpolation() && dst.isInterpolation())
  ------------------
  |  Branch (5653:9): [True: 70, False: 14.2k]
  |  Branch (5653:34): [True: 0, False: 70]
  ------------------
 5654|      0|        error(loc, "can only have one interpolation qualifier (flat, smooth, noperspective, __explicitInterpAMD)", "", "");
 5655|       |
 5656|       |    // Ordering
 5657|  14.3k|    if (! force && ((!isEsProfile() && version < 420) ||
  ------------------
  |  Branch (5657:9): [True: 10.6k, False: 3.69k]
  |  Branch (5657:22): [True: 10.3k, False: 306]
  |  Branch (5657:40): [True: 0, False: 10.3k]
  ------------------
 5658|  10.6k|                    (isEsProfile() && version < 310))
  ------------------
  |  Branch (5658:22): [True: 306, False: 10.3k]
  |  Branch (5658:39): [True: 306, False: 0]
  ------------------
 5659|    306|                && ! extensionTurnedOn(E_GL_ARB_shading_language_420pack)) {
  ------------------
  |  Branch (5659:20): [True: 306, False: 0]
  ------------------
 5660|       |        // non-function parameters
 5661|    306|        if (src.isNoContraction() && (dst.invariant || dst.isInterpolation() || dst.isAuxiliary() || dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5661:13): [True: 0, False: 306]
  |  Branch (5661:39): [True: 0, False: 0]
  |  Branch (5661:56): [True: 0, False: 0]
  |  Branch (5661:81): [True: 0, False: 0]
  |  Branch (5661:102): [True: 0, False: 0]
  |  Branch (5661:133): [True: 0, False: 0]
  ------------------
 5662|      0|            error(loc, "precise qualifier must appear first", "", "");
 5663|    306|        if (src.invariant && (dst.isInterpolation() || dst.isAuxiliary() || dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5663:13): [True: 0, False: 306]
  |  Branch (5663:31): [True: 0, False: 0]
  |  Branch (5663:56): [True: 0, False: 0]
  |  Branch (5663:77): [True: 0, False: 0]
  |  Branch (5663:108): [True: 0, False: 0]
  ------------------
 5664|      0|            error(loc, "invariant qualifier must appear before interpolation, storage, and precision qualifiers ", "", "");
 5665|    306|        else if (src.isInterpolation() && (dst.isAuxiliary() || dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5665:18): [True: 0, False: 306]
  |  Branch (5665:44): [True: 0, False: 0]
  |  Branch (5665:65): [True: 0, False: 0]
  |  Branch (5665:96): [True: 0, False: 0]
  ------------------
 5666|      0|            error(loc, "interpolation qualifiers must appear before storage and precision qualifiers", "", "");
 5667|    306|        else if (src.isAuxiliary() && (dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5667:18): [True: 0, False: 306]
  |  Branch (5667:40): [True: 0, False: 0]
  |  Branch (5667:71): [True: 0, False: 0]
  ------------------
 5668|      0|            error(loc, "Auxiliary qualifiers (centroid, patch, and sample) must appear before storage and precision qualifiers", "", "");
 5669|    306|        else if (src.storage != EvqTemporary && (dst.precision != EpqNone))
  ------------------
  |  Branch (5669:18): [True: 306, False: 0]
  |  Branch (5669:49): [True: 0, False: 306]
  ------------------
 5670|      0|            error(loc, "precision qualifier must appear as last qualifier", "", "");
 5671|       |
 5672|       |        // function parameters
 5673|    306|        if (src.isNoContraction() && (dst.storage == EvqConst || dst.storage == EvqIn || dst.storage == EvqOut))
  ------------------
  |  Branch (5673:13): [True: 0, False: 306]
  |  Branch (5673:39): [True: 0, False: 0]
  |  Branch (5673:66): [True: 0, False: 0]
  |  Branch (5673:90): [True: 0, False: 0]
  ------------------
 5674|      0|            error(loc, "precise qualifier must appear first", "", "");
 5675|    306|        if (src.storage == EvqConst && (dst.storage == EvqIn || dst.storage == EvqOut))
  ------------------
  |  Branch (5675:13): [True: 0, False: 306]
  |  Branch (5675:41): [True: 0, False: 0]
  |  Branch (5675:65): [True: 0, False: 0]
  ------------------
 5676|      0|            error(loc, "in/out must appear before const", "", "");
 5677|    306|    }
 5678|       |
 5679|       |    // Storage qualification
 5680|  14.3k|    if (dst.storage == EvqTemporary || dst.storage == EvqGlobal)
  ------------------
  |  Branch (5680:9): [True: 9.41k, False: 4.88k]
  |  Branch (5680:40): [True: 3.69k, False: 1.19k]
  ------------------
 5681|  13.1k|        dst.storage = src.storage;
 5682|  1.19k|    else if ((dst.storage == EvqIn  && src.storage == EvqOut) ||
  ------------------
  |  Branch (5682:15): [True: 680, False: 510]
  |  Branch (5682:40): [True: 0, False: 680]
  ------------------
 5683|  1.19k|             (dst.storage == EvqOut && src.storage == EvqIn))
  ------------------
  |  Branch (5683:15): [True: 72, False: 1.11k]
  |  Branch (5683:40): [True: 0, False: 72]
  ------------------
 5684|      0|        dst.storage = EvqInOut;
 5685|  1.19k|    else if ((dst.storage == EvqIn    && src.storage == EvqConst) ||
  ------------------
  |  Branch (5685:15): [True: 680, False: 510]
  |  Branch (5685:42): [True: 0, False: 680]
  ------------------
 5686|  1.19k|             (dst.storage == EvqConst && src.storage == EvqIn))
  ------------------
  |  Branch (5686:15): [True: 428, False: 762]
  |  Branch (5686:42): [True: 0, False: 428]
  ------------------
 5687|      0|        dst.storage = EvqConstReadOnly;
 5688|  1.19k|    else if (src.storage != EvqTemporary &&
  ------------------
  |  Branch (5688:14): [True: 1.03k, False: 160]
  ------------------
 5689|  1.03k|             src.storage != EvqGlobal)
  ------------------
  |  Branch (5689:14): [True: 0, False: 1.03k]
  ------------------
 5690|      0|        error(loc, "too many storage qualifiers", GetStorageQualifierString(src.storage), "");
 5691|       |
 5692|       |    // Precision qualifiers
 5693|  14.3k|    if (! force && src.precision != EpqNone && dst.precision != EpqNone)
  ------------------
  |  Branch (5693:9): [True: 10.6k, False: 3.69k]
  |  Branch (5693:20): [True: 306, False: 10.3k]
  |  Branch (5693:48): [True: 0, False: 306]
  ------------------
 5694|      0|        error(loc, "only one precision qualifier allowed", GetPrecisionQualifierString(src.precision), "");
 5695|  14.3k|    if (dst.precision == EpqNone || (force && src.precision != EpqNone))
  ------------------
  |  Branch (5695:9): [True: 14.3k, False: 0]
  |  Branch (5695:38): [True: 0, False: 0]
  |  Branch (5695:47): [True: 0, False: 0]
  ------------------
 5696|  14.3k|        dst.precision = src.precision;
 5697|       |
 5698|  14.3k|    if (!force && ((src.coherent && (dst.devicecoherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5698:9): [True: 10.6k, False: 3.69k]
  |  Branch (5698:21): [True: 3.97k, False: 6.63k]
  |  Branch (5698:38): [True: 0, False: 3.97k]
  |  Branch (5698:60): [True: 0, False: 3.97k]
  |  Branch (5698:87): [True: 0, False: 3.97k]
  |  Branch (5698:112): [True: 0, False: 3.97k]
  |  Branch (5698:136): [True: 0, False: 3.97k]
  ------------------
 5699|  10.6k|                   (src.devicecoherent && (dst.coherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5699:21): [True: 0, False: 10.6k]
  |  Branch (5699:44): [True: 0, False: 0]
  |  Branch (5699:60): [True: 0, False: 0]
  |  Branch (5699:87): [True: 0, False: 0]
  |  Branch (5699:112): [True: 0, False: 0]
  |  Branch (5699:136): [True: 0, False: 0]
  ------------------
 5700|  10.6k|                   (src.queuefamilycoherent && (dst.coherent || dst.devicecoherent || dst.workgroupcoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5700:21): [True: 0, False: 10.6k]
  |  Branch (5700:49): [True: 0, False: 0]
  |  Branch (5700:65): [True: 0, False: 0]
  |  Branch (5700:87): [True: 0, False: 0]
  |  Branch (5700:112): [True: 0, False: 0]
  |  Branch (5700:136): [True: 0, False: 0]
  ------------------
 5701|  10.6k|                   (src.workgroupcoherent && (dst.coherent || dst.devicecoherent || dst.queuefamilycoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5701:21): [True: 0, False: 10.6k]
  |  Branch (5701:47): [True: 0, False: 0]
  |  Branch (5701:63): [True: 0, False: 0]
  |  Branch (5701:85): [True: 0, False: 0]
  |  Branch (5701:112): [True: 0, False: 0]
  |  Branch (5701:136): [True: 0, False: 0]
  ------------------
 5702|  10.6k|                   (src.subgroupcoherent  && (dst.coherent || dst.devicecoherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5702:21): [True: 0, False: 10.6k]
  |  Branch (5702:47): [True: 0, False: 0]
  |  Branch (5702:63): [True: 0, False: 0]
  |  Branch (5702:85): [True: 0, False: 0]
  |  Branch (5702:112): [True: 0, False: 0]
  |  Branch (5702:137): [True: 0, False: 0]
  ------------------
 5703|  10.6k|                   (src.shadercallcoherent && (dst.coherent || dst.devicecoherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.subgroupcoherent)))) {
  ------------------
  |  Branch (5703:21): [True: 0, False: 10.6k]
  |  Branch (5703:48): [True: 0, False: 0]
  |  Branch (5703:64): [True: 0, False: 0]
  |  Branch (5703:86): [True: 0, False: 0]
  |  Branch (5703:113): [True: 0, False: 0]
  |  Branch (5703:138): [True: 0, False: 0]
  ------------------
 5704|      0|        error(loc, "only one coherent/devicecoherent/queuefamilycoherent/workgroupcoherent/subgroupcoherent/shadercallcoherent qualifier allowed",
 5705|      0|            GetPrecisionQualifierString(src.precision), "");
 5706|      0|    }
 5707|       |
 5708|       |    // Layout qualifiers
 5709|  14.3k|    mergeObjectLayoutQualifiers(dst, src, false);
 5710|       |
 5711|       |    // individual qualifiers
 5712|  14.3k|    bool repeated = false;
 5713|  14.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
 5714|  14.3k|    MERGE_SINGLETON(invariant);
  ------------------
  |  | 5713|  14.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 14.3k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5715|  14.3k|    MERGE_SINGLETON(centroid);
  ------------------
  |  | 5713|  14.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 14.3k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5716|  14.3k|    MERGE_SINGLETON(smooth);
  ------------------
  |  | 5713|  14.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 14.3k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5717|  14.3k|    MERGE_SINGLETON(flat);
  ------------------
  |  | 5713|  14.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 108, False: 14.1k]
  |  |  |  Branch (5713:61): [True: 0, False: 108]
  |  |  ------------------
  ------------------
 5718|  14.3k|    MERGE_SINGLETON(specConstant);
  ------------------
  |  | 5713|  14.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 14.3k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5719|  14.3k|    MERGE_SINGLETON(noContraction);
  ------------------
  |  | 5713|  14.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 14.3k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5720|  14.3k|    MERGE_SINGLETON(nopersp);
  ------------------
  |  | 5713|  14.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 14.3k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5721|  14.3k|    MERGE_SINGLETON(explicitInterp);
  ------------------
  |  | 5713|  14.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 14.3k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5722|  14.3k|    MERGE_SINGLETON(perPrimitiveNV);
  ------------------
  |  | 5713|  14.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 4, False: 14.2k]
  |  |  |  Branch (5713:61): [True: 0, False: 4]
  |  |  ------------------
  ------------------
 5723|  14.3k|    MERGE_SINGLETON(perViewNV);
  ------------------
  |  | 5713|  14.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 14.3k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5724|  14.3k|    MERGE_SINGLETON(perTaskNV);
  ------------------
  |  | 5713|  14.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 14.3k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5725|  14.3k|    MERGE_SINGLETON(patch);
  ------------------
  |  | 5713|  14.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 8, False: 14.2k]
  |  |  |  Branch (5713:61): [True: 0, False: 8]
  |  |  ------------------
  ------------------
 5726|  14.3k|    MERGE_SINGLETON(sample);
  ------------------
  |  | 5713|  14.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 14.3k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5727|  14.3k|    MERGE_SINGLETON(coherent);
  ------------------
  |  | 5713|  14.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 4.27k, False: 10.0k]
  |  |  |  Branch (5713:61): [True: 0, False: 4.27k]
  |  |  ------------------
  ------------------
 5728|  14.3k|    MERGE_SINGLETON(devicecoherent);
  ------------------
  |  | 5713|  14.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 14.3k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5729|  14.3k|    MERGE_SINGLETON(queuefamilycoherent);
  ------------------
  |  | 5713|  14.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 14.3k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5730|  14.3k|    MERGE_SINGLETON(workgroupcoherent);
  ------------------
  |  | 5713|  14.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 14.3k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5731|  14.3k|    MERGE_SINGLETON(subgroupcoherent);
  ------------------
  |  | 5713|  14.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 14.3k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5732|  14.3k|    MERGE_SINGLETON(shadercallcoherent);
  ------------------
  |  | 5713|  14.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 14.3k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5733|  14.3k|    MERGE_SINGLETON(nonprivate);
  ------------------
  |  | 5713|  14.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 14.3k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5734|  14.3k|    MERGE_SINGLETON(volatil);
  ------------------
  |  | 5713|  14.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 8.02k, False: 6.27k]
  |  |  |  Branch (5713:61): [True: 0, False: 8.02k]
  |  |  ------------------
  ------------------
 5735|  14.3k|    MERGE_SINGLETON(nontemporal);
  ------------------
  |  | 5713|  14.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 220, False: 14.0k]
  |  |  |  Branch (5713:61): [True: 0, False: 220]
  |  |  ------------------
  ------------------
 5736|  14.3k|    MERGE_SINGLETON(restrict);
  ------------------
  |  | 5713|  14.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 14.3k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5737|  14.3k|    MERGE_SINGLETON(readonly);
  ------------------
  |  | 5713|  14.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 1.87k, False: 12.4k]
  |  |  |  Branch (5713:61): [True: 0, False: 1.87k]
  |  |  ------------------
  ------------------
 5738|  14.3k|    MERGE_SINGLETON(writeonly);
  ------------------
  |  | 5713|  14.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 1.24k, False: 13.0k]
  |  |  |  Branch (5713:61): [True: 0, False: 1.24k]
  |  |  ------------------
  ------------------
 5739|  14.3k|    MERGE_SINGLETON(nonUniform);
  ------------------
  |  | 5713|  14.3k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 14.3k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5740|       |
 5741|       |    // SPIR-V storage class qualifier (GL_EXT_spirv_intrinsics)
 5742|  14.3k|    dst.spirvStorageClass = src.spirvStorageClass;
 5743|       |
 5744|       |    // SPIR-V decorate qualifiers (GL_EXT_spirv_intrinsics)
 5745|  14.3k|    if (src.hasSpirvDecorate()) {
  ------------------
  |  Branch (5745:9): [True: 0, False: 14.3k]
  ------------------
 5746|      0|        if (dst.hasSpirvDecorate()) {
  ------------------
  |  Branch (5746:13): [True: 0, False: 0]
  ------------------
 5747|      0|            const TSpirvDecorate& srcSpirvDecorate = src.getSpirvDecorate();
 5748|      0|            TSpirvDecorate& dstSpirvDecorate = dst.getSpirvDecorate();
 5749|      0|            for (auto& decorate : srcSpirvDecorate.decorates) {
  ------------------
  |  Branch (5749:33): [True: 0, False: 0]
  ------------------
 5750|      0|                if (dstSpirvDecorate.decorates.find(decorate.first) != dstSpirvDecorate.decorates.end())
  ------------------
  |  Branch (5750:21): [True: 0, False: 0]
  ------------------
 5751|      0|                    error(loc, "too many SPIR-V decorate qualifiers", "spirv_decorate", "(decoration=%u)", decorate.first);
 5752|      0|                else
 5753|      0|                    dstSpirvDecorate.decorates.insert(decorate);
 5754|      0|            }
 5755|       |
 5756|      0|            for (auto& decorateId : srcSpirvDecorate.decorateIds) {
  ------------------
  |  Branch (5756:35): [True: 0, False: 0]
  ------------------
 5757|      0|                if (dstSpirvDecorate.decorateIds.find(decorateId.first) != dstSpirvDecorate.decorateIds.end())
  ------------------
  |  Branch (5757:21): [True: 0, False: 0]
  ------------------
 5758|      0|                    error(loc, "too many SPIR-V decorate qualifiers", "spirv_decorate_id", "(decoration=%u)", decorateId.first);
 5759|      0|                else
 5760|      0|                    dstSpirvDecorate.decorateIds.insert(decorateId);
 5761|      0|            }
 5762|       |
 5763|      0|            for (auto& decorateString : srcSpirvDecorate.decorateStrings) {
  ------------------
  |  Branch (5763:39): [True: 0, False: 0]
  ------------------
 5764|      0|                if (dstSpirvDecorate.decorates.find(decorateString.first) != dstSpirvDecorate.decorates.end())
  ------------------
  |  Branch (5764:21): [True: 0, False: 0]
  ------------------
 5765|      0|                    error(loc, "too many SPIR-V decorate qualifiers", "spirv_decorate_string", "(decoration=%u)", decorateString.first);
 5766|      0|                else
 5767|      0|                    dstSpirvDecorate.decorateStrings.insert(decorateString);
 5768|      0|            }
 5769|      0|        } else {
 5770|      0|            dst.spirvDecorate = src.spirvDecorate;
 5771|      0|        }
 5772|      0|    }
 5773|       |
 5774|  14.3k|    if (repeated)
  ------------------
  |  Branch (5774:9): [True: 0, False: 14.3k]
  ------------------
 5775|      0|        error(loc, "replicated qualifiers", "", "");
 5776|  14.3k|}
_ZN7glslang13TParseContext23computeSamplerTypeIndexERNS_8TSamplerE:
 5814|  13.0k|{
 5815|  13.0k|    int arrayIndex    = sampler.arrayed         ? 1 : 0;
  ------------------
  |  Branch (5815:25): [True: 3.60k, False: 9.45k]
  ------------------
 5816|  13.0k|    int shadowIndex   = sampler.shadow          ? 1 : 0;
  ------------------
  |  Branch (5816:25): [True: 1.59k, False: 11.4k]
  ------------------
 5817|  13.0k|    int externalIndex = sampler.isExternal()    ? 1 : 0;
  ------------------
  |  Branch (5817:25): [True: 408, False: 12.6k]
  ------------------
 5818|  13.0k|    int imageIndex    = sampler.isImageClass()  ? 1 : 0;
  ------------------
  |  Branch (5818:25): [True: 3.12k, False: 9.94k]
  ------------------
 5819|  13.0k|    int msIndex       = sampler.isMultiSample() ? 1 : 0;
  ------------------
  |  Branch (5819:25): [True: 648, False: 12.4k]
  ------------------
 5820|       |
 5821|  13.0k|    int flattened = EsdNumDims * (EbtNumTypes * (2 * (2 * (2 * (2 * arrayIndex + msIndex) + imageIndex) + shadowIndex) +
 5822|  13.0k|                                                 externalIndex) + sampler.type) + sampler.dim;
 5823|  13.0k|    assert(flattened < maxSamplerIndex);
 5824|       |
 5825|  13.0k|    return flattened;
 5826|  13.0k|}
_ZN7glslang13TParseContext19getDefaultPrecisionERNS_11TPublicTypeE:
 5829|   150k|{
 5830|   150k|    if (publicType.basicType == EbtSampler)
  ------------------
  |  Branch (5830:9): [True: 12.4k, False: 138k]
  ------------------
 5831|  12.4k|        return defaultSamplerPrecision[computeSamplerTypeIndex(publicType.sampler)];
 5832|   138k|    else
 5833|   138k|        return defaultPrecision[publicType.basicType];
 5834|   150k|}
_ZN7glslang13TParseContext23precisionQualifierCheckERKNS_10TSourceLocENS_10TBasicTypeERNS_10TQualifierEb:
 5837|   150k|{
 5838|       |    // Built-in symbols are allowed some ambiguous precisions, to be pinned down
 5839|       |    // later by context.
 5840|   150k|    if (! obeyPrecisionQualifiers() || parsingBuiltins)
  ------------------
  |  Branch (5840:9): [True: 99.9k, False: 50.7k]
  |  Branch (5840:40): [True: 50.7k, False: 0]
  ------------------
 5841|   150k|        return;
 5842|       |
 5843|      0|    if (baseType == EbtAtomicUint && qualifier.precision != EpqNone && qualifier.precision != EpqHigh)
  ------------------
  |  Branch (5843:9): [True: 0, False: 0]
  |  Branch (5843:38): [True: 0, False: 0]
  |  Branch (5843:72): [True: 0, False: 0]
  ------------------
 5844|      0|        error(loc, "atomic counters can only be highp", "atomic_uint", "");
 5845|       |
 5846|      0|    if (hasTypeParameter)
  ------------------
  |  Branch (5846:9): [True: 0, False: 0]
  ------------------
 5847|      0|        return;
 5848|       |
 5849|      0|    if (baseType == EbtFloat || baseType == EbtUint || baseType == EbtInt || baseType == EbtSampler || baseType == EbtAtomicUint) {
  ------------------
  |  Branch (5849:9): [True: 0, False: 0]
  |  Branch (5849:33): [True: 0, False: 0]
  |  Branch (5849:56): [True: 0, False: 0]
  |  Branch (5849:78): [True: 0, False: 0]
  |  Branch (5849:104): [True: 0, False: 0]
  ------------------
 5850|      0|        if (qualifier.precision == EpqNone) {
  ------------------
  |  Branch (5850:13): [True: 0, False: 0]
  ------------------
 5851|      0|            if (relaxedErrors())
  ------------------
  |  Branch (5851:17): [True: 0, False: 0]
  ------------------
 5852|      0|                warn(loc, "type requires declaration of default precision qualifier", TType::getBasicString(baseType), "substituting 'mediump'");
 5853|      0|            else
 5854|      0|                error(loc, "type requires declaration of default precision qualifier", TType::getBasicString(baseType), "");
 5855|      0|            qualifier.precision = EpqMedium;
 5856|      0|            defaultPrecision[baseType] = EpqMedium;
 5857|      0|        }
 5858|      0|    } else if (qualifier.precision != EpqNone)
  ------------------
  |  Branch (5858:16): [True: 0, False: 0]
  ------------------
 5859|      0|        error(loc, "type cannot have precision qualifier", TType::getBasicString(baseType), "");
 5860|      0|}
_ZN7glslang13TParseContext18parameterTypeCheckERKNS_10TSourceLocENS_17TStorageQualifierERKNS_5TTypeE:
 5863|   105k|{
 5864|   105k|    if ((qualifier == EvqOut || qualifier == EvqInOut) && type.isOpaque() && !intermediate.getBindlessMode())
  ------------------
  |  Branch (5864:10): [True: 3.45k, False: 102k]
  |  Branch (5864:33): [True: 216, False: 102k]
  |  Branch (5864:59): [True: 0, False: 3.67k]
  |  Branch (5864:78): [True: 0, False: 0]
  ------------------
 5865|      0|        error(loc, "samplers and atomic_uints cannot be output parameters", type.getBasicTypeString().c_str(), "");
 5866|   105k|    if (!parsingBuiltins && type.contains16BitFloat())
  ------------------
  |  Branch (5866:9): [True: 0, False: 105k]
  |  Branch (5866:29): [True: 0, False: 0]
  ------------------
 5867|      0|        requireFloat16Arithmetic(loc, type.getBasicTypeString().c_str(), "float16 types can only be in uniform block or buffer storage");
 5868|   105k|    if (!parsingBuiltins && type.contains16BitInt())
  ------------------
  |  Branch (5868:9): [True: 0, False: 105k]
  |  Branch (5868:29): [True: 0, False: 0]
  ------------------
 5869|      0|        requireInt16Arithmetic(loc, type.getBasicTypeString().c_str(), "(u)int16 types can only be in uniform block or buffer storage");
 5870|   105k|    if (!parsingBuiltins && type.contains8BitInt())
  ------------------
  |  Branch (5870:9): [True: 0, False: 105k]
  |  Branch (5870:29): [True: 0, False: 0]
  ------------------
 5871|      0|        requireInt8Arithmetic(loc, type.getBasicTypeString().c_str(), "(u)int8 types can only be in uniform block or buffer storage");
 5872|   105k|}
_ZN7glslang13TParseContext26containsFieldWithBasicTypeERKNS_5TTypeENS_10TBasicTypeE:
 5875|    560|{
 5876|    560|    if (type.getBasicType() == basicType)
  ------------------
  |  Branch (5876:9): [True: 0, False: 560]
  ------------------
 5877|      0|        return true;
 5878|       |
 5879|    560|    if (type.getBasicType() == EbtStruct) {
  ------------------
  |  Branch (5879:9): [True: 140, False: 420]
  ------------------
 5880|    140|        const TTypeList& structure = *type.getStruct();
 5881|    560|        for (unsigned int i = 0; i < structure.size(); ++i) {
  ------------------
  |  Branch (5881:34): [True: 420, False: 140]
  ------------------
 5882|    420|            if (containsFieldWithBasicType(*structure[i].type, basicType))
  ------------------
  |  Branch (5882:17): [True: 0, False: 420]
  ------------------
 5883|      0|                return true;
 5884|    420|        }
 5885|    140|    }
 5886|       |
 5887|    560|    return false;
 5888|    560|}
_ZN7glslang13TParseContext14arraySizeCheckERKNS_10TSourceLocEPNS_12TIntermTypedERNS_10TArraySizeEPKcb:
 5895|    432|{
 5896|    432|    bool isConst = false;
 5897|    432|    sizePair.node = nullptr;
 5898|       |
 5899|    432|    int size = 1;
 5900|       |
 5901|    432|    TIntermConstantUnion* constant = expr->getAsConstantUnion();
 5902|    432|    if (constant) {
  ------------------
  |  Branch (5902:9): [True: 432, False: 0]
  ------------------
 5903|       |        // handle true (non-specialization) constant
 5904|    432|        size = constant->getConstArray()[0].getIConst();
 5905|    432|        isConst = true;
 5906|    432|    } else {
 5907|       |        // see if it's a specialization constant instead
 5908|      0|        if (expr->getQualifier().isSpecConstant()) {
  ------------------
  |  Branch (5908:13): [True: 0, False: 0]
  ------------------
 5909|      0|            isConst = true;
 5910|      0|            sizePair.node = expr;
 5911|      0|            TIntermSymbol* symbol = expr->getAsSymbolNode();
 5912|      0|            if (symbol && symbol->getConstArray().size() > 0)
  ------------------
  |  Branch (5912:17): [True: 0, False: 0]
  |  Branch (5912:27): [True: 0, False: 0]
  ------------------
 5913|      0|                size = symbol->getConstArray()[0].getIConst();
 5914|      0|        } else if (expr->getAsUnaryNode() && expr->getAsUnaryNode()->getOp() == glslang::EOpArrayLength &&
  ------------------
  |  Branch (5914:20): [True: 0, False: 0]
  |  Branch (5914:46): [True: 0, False: 0]
  ------------------
 5915|      0|                   expr->getAsUnaryNode()->getOperand()->getType().isCoopMatNV()) {
  ------------------
  |  Branch (5915:20): [True: 0, False: 0]
  ------------------
 5916|      0|            isConst = true;
 5917|      0|            size = 1;
 5918|      0|            sizePair.node = expr->getAsUnaryNode();
 5919|      0|        }
 5920|      0|    }
 5921|       |
 5922|    432|    sizePair.size = size;
 5923|       |
 5924|    432|    if (isTypeParameter) {
  ------------------
  |  Branch (5924:9): [True: 24, False: 408]
  ------------------
 5925|     24|        if (extensionTurnedOn(E_GL_NV_cooperative_matrix2)) {
  ------------------
  |  Branch (5925:13): [True: 0, False: 24]
  ------------------
 5926|      0|            if (! isConst || (expr->getBasicType() != EbtInt && expr->getBasicType() != EbtUint && expr->getBasicType() != EbtBool)) {
  ------------------
  |  Branch (5926:17): [True: 0, False: 0]
  |  Branch (5926:31): [True: 0, False: 0]
  |  Branch (5926:65): [True: 0, False: 0]
  |  Branch (5926:100): [True: 0, False: 0]
  ------------------
 5927|      0|                error(loc, sizeType, "", "must be a constant integer or boolean expression");
 5928|      0|                return;
 5929|      0|            }
 5930|     24|        } else {
 5931|     24|            if (! isConst || (expr->getBasicType() != EbtInt && expr->getBasicType() != EbtUint)) {
  ------------------
  |  Branch (5931:17): [True: 0, False: 24]
  |  Branch (5931:31): [True: 0, False: 24]
  |  Branch (5931:65): [True: 0, False: 0]
  ------------------
 5932|      0|                error(loc, sizeType, "", "must be a constant integer expression");
 5933|      0|                return;
 5934|      0|            }
 5935|     24|        }
 5936|     24|        if (size < 0) {
  ------------------
  |  Branch (5936:13): [True: 0, False: 24]
  ------------------
 5937|      0|            error(loc, sizeType, "", "must be a non-negative integer");
 5938|      0|            return;
 5939|      0|        }
 5940|    408|    } else {
 5941|    408|        if (! isConst || (expr->getBasicType() != EbtInt && expr->getBasicType() != EbtUint)) {
  ------------------
  |  Branch (5941:13): [True: 0, False: 408]
  |  Branch (5941:27): [True: 0, False: 408]
  |  Branch (5941:61): [True: 0, False: 0]
  ------------------
 5942|      0|            error(loc, sizeType, "", "must be a constant integer expression");
 5943|      0|            return;
 5944|      0|        }
 5945|    408|        if (size <= 0) {
  ------------------
  |  Branch (5945:13): [True: 0, False: 408]
  ------------------
 5946|      0|            error(loc, sizeType, "", "must be a positive integer");
 5947|      0|            return;
 5948|      0|        }
 5949|    408|    }
 5950|    432|}
_ZN7glslang13TParseContext19arrayQualifierErrorERKNS_10TSourceLocERKNS_10TQualifierE:
 5958|     52|{
 5959|     52|    if (qualifier.storage == EvqConst) {
  ------------------
  |  Branch (5959:9): [True: 0, False: 52]
  ------------------
 5960|      0|        profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, "const array");
 5961|      0|        profileRequires(loc, EEsProfile, 300, nullptr, "const array");
 5962|      0|    }
 5963|       |
 5964|     52|    if (qualifier.storage == EvqVaryingIn && language == EShLangVertex) {
  ------------------
  |  Branch (5964:9): [True: 14, False: 38]
  |  Branch (5964:46): [True: 0, False: 14]
  ------------------
 5965|      0|        requireProfile(loc, ~EEsProfile, "vertex input arrays");
 5966|      0|        profileRequires(loc, ENoProfile, 150, nullptr, "vertex input arrays");
 5967|      0|    }
 5968|       |
 5969|     52|    return false;
 5970|     52|}
_ZN7glslang13TParseContext10arrayErrorERKNS_10TSourceLocERKNS_5TTypeE:
 5979|     52|{
 5980|     52|    if (type.getQualifier().storage == EvqVaryingOut && language == EShLangVertex) {
  ------------------
  |  Branch (5980:9): [True: 38, False: 14]
  |  Branch (5980:57): [True: 8, False: 30]
  ------------------
 5981|      8|        if (type.isArrayOfArrays())
  ------------------
  |  Branch (5981:13): [True: 0, False: 8]
  ------------------
 5982|      0|            requireProfile(loc, ~EEsProfile, "vertex-shader array-of-array output");
 5983|      8|        else if (type.isStruct())
  ------------------
  |  Branch (5983:18): [True: 0, False: 8]
  ------------------
 5984|      0|            requireProfile(loc, ~EEsProfile, "vertex-shader array-of-struct output");
 5985|      8|    }
 5986|     52|    if (type.getQualifier().storage == EvqVaryingIn && language == EShLangFragment) {
  ------------------
  |  Branch (5986:9): [True: 14, False: 38]
  |  Branch (5986:56): [True: 6, False: 8]
  ------------------
 5987|      6|        if (type.isArrayOfArrays())
  ------------------
  |  Branch (5987:13): [True: 0, False: 6]
  ------------------
 5988|      0|            requireProfile(loc, ~EEsProfile, "fragment-shader array-of-array input");
 5989|      6|        else if (type.isStruct())
  ------------------
  |  Branch (5989:18): [True: 0, False: 6]
  ------------------
 5990|      0|            requireProfile(loc, ~EEsProfile, "fragment-shader array-of-struct input");
 5991|      6|    }
 5992|     52|    if (type.getQualifier().storage == EvqVaryingOut && language == EShLangFragment) {
  ------------------
  |  Branch (5992:9): [True: 38, False: 14]
  |  Branch (5992:57): [True: 2, False: 36]
  ------------------
 5993|      2|        if (type.isArrayOfArrays())
  ------------------
  |  Branch (5993:13): [True: 0, False: 2]
  ------------------
 5994|      0|            requireProfile(loc, ~EEsProfile, "fragment-shader array-of-array output");
 5995|      2|    }
 5996|       |
 5997|     52|    return false;
 5998|     52|}
_ZN7glslang13TParseContext22arraySizeRequiredCheckERKNS_10TSourceLocERKNS_11TArraySizesE:
 6004|  2.78k|{
 6005|  2.78k|    if (!parsingBuiltins && arraySizes.hasUnsized())
  ------------------
  |  Branch (6005:9): [True: 0, False: 2.78k]
  |  Branch (6005:29): [True: 0, False: 0]
  ------------------
 6006|      0|        error(loc, "array size required", "", "");
 6007|  2.78k|}
_ZN7glslang13TParseContext16structArrayCheckERKNS_10TSourceLocERKNS_5TTypeE:
 6010|     74|{
 6011|     74|    const TTypeList& structure = *type.getStruct();
 6012|    304|    for (int m = 0; m < (int)structure.size(); ++m) {
  ------------------
  |  Branch (6012:21): [True: 230, False: 74]
  ------------------
 6013|    230|        const TType& member = *structure[m].type;
 6014|    230|        if (member.isArray())
  ------------------
  |  Branch (6014:13): [True: 0, False: 230]
  ------------------
 6015|      0|            arraySizeRequiredCheck(structure[m].loc, *member.getArraySizes());
 6016|    230|    }
 6017|     74|}
_ZN7glslang13TParseContext15arraySizesCheckERKNS_10TSourceLocERKNS_10TQualifierEPNS_11TArraySizesEPKNS_12TIntermTypedEb:
 6021|    114|{
 6022|    114|    assert(arraySizes);
 6023|       |
 6024|       |    // always allow special built-in ins/outs sized to topologies
 6025|    114|    if (parsingBuiltins)
  ------------------
  |  Branch (6025:9): [True: 114, False: 0]
  ------------------
 6026|    114|        return;
 6027|       |
 6028|       |    // initializer must be a sized array, in which case
 6029|       |    // allow the initializer to set any unknown array sizes
 6030|      0|    if (initializer != nullptr) {
  ------------------
  |  Branch (6030:9): [True: 0, False: 0]
  ------------------
 6031|      0|        if (initializer->getType().isUnsizedArray())
  ------------------
  |  Branch (6031:13): [True: 0, False: 0]
  ------------------
 6032|      0|            error(loc, "array initializer must be sized", "[]", "");
 6033|      0|        return;
 6034|      0|    }
 6035|       |
 6036|       |    // No environment allows any non-outer-dimension to be implicitly sized
 6037|      0|    if (arraySizes->isInnerUnsized()) {
  ------------------
  |  Branch (6037:9): [True: 0, False: 0]
  ------------------
 6038|      0|        error(loc, "only outermost dimension of an array of arrays can be implicitly sized", "[]", "");
 6039|      0|        arraySizes->clearInnerUnsized();
 6040|      0|    }
 6041|       |
 6042|      0|    if (arraySizes->isInnerSpecialization() &&
  ------------------
  |  Branch (6042:9): [True: 0, False: 0]
  ------------------
 6043|      0|        (qualifier.storage != EvqTemporary && qualifier.storage != EvqGlobal && qualifier.storage != EvqShared && qualifier.storage != EvqConst))
  ------------------
  |  Branch (6043:10): [True: 0, False: 0]
  |  Branch (6043:47): [True: 0, False: 0]
  |  Branch (6043:81): [True: 0, False: 0]
  |  Branch (6043:115): [True: 0, False: 0]
  ------------------
 6044|      0|        error(loc, "only outermost dimension of an array of arrays can be a specialization constant", "[]", "");
 6045|       |
 6046|       |    // desktop always allows outer-dimension-unsized variable arrays,
 6047|      0|    if (!isEsProfile())
  ------------------
  |  Branch (6047:9): [True: 0, False: 0]
  ------------------
 6048|      0|        return;
 6049|       |
 6050|       |    // for ES, if size isn't coming from an initializer, it has to be explicitly declared now,
 6051|       |    // with very few exceptions
 6052|       |
 6053|       |    // implicitly-sized io exceptions:
 6054|      0|    switch (language) {
 6055|      0|    case EShLangGeometry:
  ------------------
  |  Branch (6055:5): [True: 0, False: 0]
  ------------------
 6056|      0|        if (qualifier.storage == EvqVaryingIn)
  ------------------
  |  Branch (6056:13): [True: 0, False: 0]
  ------------------
 6057|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (6057:18): [True: 0, False: 0]
  |  Branch (6057:35): [True: 0, False: 0]
  ------------------
 6058|      0|                extensionsTurnedOn(Num_AEP_geometry_shader, AEP_geometry_shader))
  ------------------
  |  Branch (6058:17): [True: 0, False: 0]
  ------------------
 6059|      0|                return;
 6060|      0|        break;
 6061|      0|    case EShLangTessControl:
  ------------------
  |  Branch (6061:5): [True: 0, False: 0]
  ------------------
 6062|      0|        if ( qualifier.storage == EvqVaryingIn ||
  ------------------
  |  Branch (6062:14): [True: 0, False: 0]
  ------------------
 6063|      0|            (qualifier.storage == EvqVaryingOut && ! qualifier.isPatch()))
  ------------------
  |  Branch (6063:14): [True: 0, False: 0]
  |  Branch (6063:52): [True: 0, False: 0]
  ------------------
 6064|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (6064:18): [True: 0, False: 0]
  |  Branch (6064:35): [True: 0, False: 0]
  ------------------
 6065|      0|                extensionsTurnedOn(Num_AEP_tessellation_shader, AEP_tessellation_shader))
  ------------------
  |  Branch (6065:17): [True: 0, False: 0]
  ------------------
 6066|      0|                return;
 6067|      0|        break;
 6068|      0|    case EShLangTessEvaluation:
  ------------------
  |  Branch (6068:5): [True: 0, False: 0]
  ------------------
 6069|      0|        if ((qualifier.storage == EvqVaryingIn && ! qualifier.isPatch()) ||
  ------------------
  |  Branch (6069:14): [True: 0, False: 0]
  |  Branch (6069:51): [True: 0, False: 0]
  ------------------
 6070|      0|             qualifier.storage == EvqVaryingOut)
  ------------------
  |  Branch (6070:14): [True: 0, False: 0]
  ------------------
 6071|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (6071:18): [True: 0, False: 0]
  |  Branch (6071:35): [True: 0, False: 0]
  ------------------
 6072|      0|                extensionsTurnedOn(Num_AEP_tessellation_shader, AEP_tessellation_shader))
  ------------------
  |  Branch (6072:17): [True: 0, False: 0]
  ------------------
 6073|      0|                return;
 6074|      0|        break;
 6075|      0|    case EShLangMesh:
  ------------------
  |  Branch (6075:5): [True: 0, False: 0]
  ------------------
 6076|      0|        if (qualifier.storage == EvqVaryingOut)
  ------------------
  |  Branch (6076:13): [True: 0, False: 0]
  ------------------
 6077|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (6077:18): [True: 0, False: 0]
  |  Branch (6077:35): [True: 0, False: 0]
  ------------------
 6078|      0|                extensionsTurnedOn(Num_AEP_mesh_shader, AEP_mesh_shader))
  ------------------
  |  Branch (6078:17): [True: 0, False: 0]
  ------------------
 6079|      0|                return;
 6080|      0|        break;
 6081|      0|    default:
  ------------------
  |  Branch (6081:5): [True: 0, False: 0]
  ------------------
 6082|      0|        break;
 6083|      0|    }
 6084|       |
 6085|       |    // last member of ssbo block exception:
 6086|      0|    if (qualifier.storage == EvqBuffer && lastMember)
  ------------------
  |  Branch (6086:9): [True: 0, False: 0]
  |  Branch (6086:43): [True: 0, False: 0]
  ------------------
 6087|      0|        return;
 6088|       |
 6089|      0|    if (qualifier.storage == EvqUniform && lastMember && extensionTurnedOn(E_GL_EXT_uniform_buffer_unsized_array))
  ------------------
  |  Branch (6089:9): [True: 0, False: 0]
  |  Branch (6089:44): [True: 0, False: 0]
  |  Branch (6089:58): [True: 0, False: 0]
  ------------------
 6090|      0|        return;
 6091|       |
 6092|      0|    arraySizeRequiredCheck(loc, *arraySizes);
 6093|      0|}
_ZN7glslang13TParseContext24arrayOfArrayVersionCheckERKNS_10TSourceLocEPKNS_11TArraySizesE:
 6096|  5.12k|{
 6097|  5.12k|    if (sizes == nullptr || sizes->getNumDims() == 1)
  ------------------
  |  Branch (6097:9): [True: 2.18k, False: 2.94k]
  |  Branch (6097:29): [True: 2.93k, False: 12]
  ------------------
 6098|  5.11k|        return;
 6099|       |
 6100|     12|    const char* feature = "arrays of arrays";
 6101|       |
 6102|     12|    requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, feature);
 6103|     12|    profileRequires(loc, EEsProfile, 310, nullptr, feature);
 6104|     12|    profileRequires(loc, ECoreProfile | ECompatibilityProfile, 430, nullptr, feature);
 6105|     12|}
_ZN7glslang13TParseContext12declareArrayERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_5TTypeERPNS_7TSymbolE:
 6112|     52|{
 6113|     52|    if (symbol == nullptr) {
  ------------------
  |  Branch (6113:9): [True: 52, False: 0]
  ------------------
 6114|     52|        bool currentScope;
 6115|     52|        symbol = symbolTable.find(identifier, nullptr, &currentScope);
 6116|       |
 6117|     52|        if (symbol && builtInName(identifier) && ! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (6117:13): [True: 0, False: 52]
  |  Branch (6117:23): [True: 0, False: 0]
  |  Branch (6117:50): [True: 0, False: 0]
  ------------------
 6118|       |            // bad shader (errors already reported) trying to redeclare a built-in name as an array
 6119|      0|            symbol = nullptr;
 6120|      0|            return;
 6121|      0|        }
 6122|     52|        if (symbol == nullptr || ! currentScope) {
  ------------------
  |  Branch (6122:13): [True: 52, False: 0]
  |  Branch (6122:34): [True: 0, False: 0]
  ------------------
 6123|       |            //
 6124|       |            // Successfully process a new definition.
 6125|       |            // (Redeclarations have to take place at the same scope; otherwise they are hiding declarations)
 6126|       |            //
 6127|     52|            symbol = new TVariable(&identifier, type);
 6128|     52|            symbolTable.insert(*symbol);
 6129|     52|            if (symbolTable.atGlobalLevel())
  ------------------
  |  Branch (6129:17): [True: 52, False: 0]
  ------------------
 6130|     52|                trackLinkage(*symbol);
 6131|       |
 6132|     52|            if (! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (6132:17): [True: 0, False: 52]
  ------------------
 6133|      0|                if (isIoResizeArray(type)) {
  ------------------
  |  Branch (6133:21): [True: 0, False: 0]
  ------------------
 6134|      0|                    ioArraySymbolResizeList.push_back(symbol);
 6135|      0|                    checkIoArraysConsistency(loc, true);
 6136|      0|                } else
 6137|      0|                    fixIoArraySize(loc, symbol->getWritableType());
 6138|      0|            }
 6139|       |
 6140|     52|            return;
 6141|     52|        }
 6142|      0|        if (symbol->getAsAnonMember()) {
  ------------------
  |  Branch (6142:13): [True: 0, False: 0]
  ------------------
 6143|      0|            error(loc, "cannot redeclare a user-block member array", identifier.c_str(), "");
 6144|      0|            symbol = nullptr;
 6145|      0|            return;
 6146|      0|        }
 6147|      0|    }
 6148|       |
 6149|       |    //
 6150|       |    // Process a redeclaration.
 6151|       |    //
 6152|       |
 6153|      0|    if (symbol == nullptr) {
  ------------------
  |  Branch (6153:9): [True: 0, False: 0]
  ------------------
 6154|      0|        error(loc, "array variable name expected", identifier.c_str(), "");
 6155|      0|        return;
 6156|      0|    }
 6157|       |
 6158|       |    // redeclareBuiltinVariable() should have already done the copyUp()
 6159|      0|    TType& existingType = symbol->getWritableType();
 6160|       |
 6161|      0|    if (! existingType.isArray()) {
  ------------------
  |  Branch (6161:9): [True: 0, False: 0]
  ------------------
 6162|      0|        error(loc, "redeclaring non-array as array", identifier.c_str(), "");
 6163|      0|        return;
 6164|      0|    }
 6165|       |
 6166|      0|    if (! existingType.sameElementType(type)) {
  ------------------
  |  Branch (6166:9): [True: 0, False: 0]
  ------------------
 6167|      0|        error(loc, "redeclaration of array with a different element type", identifier.c_str(), "");
 6168|      0|        return;
 6169|      0|    }
 6170|       |
 6171|      0|    if (! existingType.sameInnerArrayness(type)) {
  ------------------
  |  Branch (6171:9): [True: 0, False: 0]
  ------------------
 6172|      0|        error(loc, "redeclaration of array with a different array dimensions or sizes", identifier.c_str(), "");
 6173|      0|        return;
 6174|      0|    }
 6175|       |
 6176|      0|    if (existingType.isSizedArray()) {
  ------------------
  |  Branch (6176:9): [True: 0, False: 0]
  ------------------
 6177|       |        // be more leniant for input arrays to geometry shaders and tessellation control outputs, where the redeclaration is the same size
 6178|      0|        if (! (isIoResizeArray(type) && existingType.getOuterArraySize() == type.getOuterArraySize()))
  ------------------
  |  Branch (6178:16): [True: 0, False: 0]
  |  Branch (6178:41): [True: 0, False: 0]
  ------------------
 6179|      0|            error(loc, "redeclaration of array with size", identifier.c_str(), "");
 6180|      0|        return;
 6181|      0|    }
 6182|       |
 6183|      0|    arrayLimitCheck(loc, identifier, type.getOuterArraySize());
 6184|       |
 6185|      0|    existingType.updateArraySizes(type);
 6186|       |
 6187|      0|    if (isIoResizeArray(type))
  ------------------
  |  Branch (6187:9): [True: 0, False: 0]
  ------------------
 6188|      0|        checkIoArraysConsistency(loc);
 6189|      0|}
_ZN7glslang13TParseContext25checkAndResizeMeshViewDimERKNS_10TSourceLocERNS_5TTypeEb:
 6263|  1.98k|{
 6264|       |    // see if member is a per-view attribute
 6265|  1.98k|    if (!type.getQualifier().isPerView())
  ------------------
  |  Branch (6265:9): [True: 1.97k, False: 10]
  ------------------
 6266|  1.97k|        return;
 6267|       |
 6268|     10|    if ((isBlockMember && type.isArray()) || (!isBlockMember && type.isArrayOfArrays())) {
  ------------------
  |  Branch (6268:10): [True: 10, False: 0]
  |  Branch (6268:27): [True: 10, False: 0]
  |  Branch (6268:47): [True: 0, False: 0]
  |  Branch (6268:65): [True: 0, False: 0]
  ------------------
 6269|       |        // since we don't have the maxMeshViewCountNV set during parsing builtins, we hardcode the value.
 6270|     10|        int maxViewCount = parsingBuiltins ? 4 : resources.maxMeshViewCountNV;
  ------------------
  |  Branch (6270:28): [True: 10, False: 0]
  ------------------
 6271|       |        // For block members, outermost array dimension is the view dimension.
 6272|       |        // For non-block members, outermost array dimension is the vertex/primitive dimension
 6273|       |        // and 2nd outermost is the view dimension.
 6274|     10|        int viewDim = isBlockMember ? 0 : 1;
  ------------------
  |  Branch (6274:23): [True: 10, False: 0]
  ------------------
 6275|     10|        int viewDimSize = type.getArraySizes()->getDimSize(viewDim);
 6276|       |
 6277|     10|        if (viewDimSize != UnsizedArraySize && viewDimSize != maxViewCount)
  ------------------
  |  Branch (6277:13): [True: 0, False: 10]
  |  Branch (6277:48): [True: 0, False: 0]
  ------------------
 6278|      0|            error(loc, "mesh view output array size must be gl_MaxMeshViewCountNV or implicitly sized", "[]", "");
 6279|     10|        else if (viewDimSize == UnsizedArraySize)
  ------------------
  |  Branch (6279:18): [True: 10, False: 0]
  ------------------
 6280|     10|            type.getArraySizes()->setDimSize(viewDim, maxViewCount);
 6281|     10|    }
 6282|      0|    else {
 6283|      0|        error(loc, "requires a view array dimension", "perviewNV", "");
 6284|      0|    }
 6285|     10|}
_ZN7glslang13TParseContext17nonInitConstCheckERKNS_10TSourceLocERNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERNS_5TTypeE:
 6305|  1.24k|{
 6306|       |    //
 6307|       |    // Make the qualifier make sense, given that there is not an initializer.
 6308|       |    //
 6309|  1.24k|    if (type.getQualifier().storage == EvqConst ||
  ------------------
  |  Branch (6309:9): [True: 0, False: 1.24k]
  ------------------
 6310|  1.24k|        type.getQualifier().storage == EvqConstReadOnly) {
  ------------------
  |  Branch (6310:9): [True: 0, False: 1.24k]
  ------------------
 6311|      0|        type.getQualifier().makeTemporary();
 6312|      0|        error(loc, "variables with qualifier 'const' must be initialized", identifier.c_str(), "");
 6313|      0|    }
 6314|  1.24k|}
_ZN7glslang13TParseContext24redeclareBuiltinVariableERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_10TQualifierERKNS_17TShaderQualifiersE:
 6328|  1.95k|{
 6329|  1.95k|    if (! builtInName(identifier) || symbolTable.atBuiltInLevel() || ! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (6329:9): [True: 0, False: 1.95k]
  |  Branch (6329:38): [True: 1.95k, False: 0]
  |  Branch (6329:70): [True: 0, False: 0]
  ------------------
 6330|  1.95k|        return nullptr;
 6331|       |
 6332|      0|    bool nonEsRedecls = (!isEsProfile() && (version >= 130 || identifier == "gl_TexCoord"));
  ------------------
  |  Branch (6332:26): [True: 0, False: 0]
  |  Branch (6332:45): [True: 0, False: 0]
  |  Branch (6332:63): [True: 0, False: 0]
  ------------------
 6333|      0|    bool    esRedecls = (isEsProfile() &&
  ------------------
  |  Branch (6333:26): [True: 0, False: 0]
  ------------------
 6334|      0|                         (version >= 320 || extensionsTurnedOn(Num_AEP_shader_io_blocks, AEP_shader_io_blocks) ||
  ------------------
  |  Branch (6334:27): [True: 0, False: 0]
  |  Branch (6334:45): [True: 0, False: 0]
  ------------------
 6335|      0|                          (identifier == "gl_FragDepth" && extensionTurnedOn(E_GL_EXT_conservative_depth))));
  ------------------
  |  Branch (6335:28): [True: 0, False: 0]
  |  Branch (6335:60): [True: 0, False: 0]
  ------------------
 6336|      0|    if (! esRedecls && ! nonEsRedecls)
  ------------------
  |  Branch (6336:9): [True: 0, False: 0]
  |  Branch (6336:24): [True: 0, False: 0]
  ------------------
 6337|      0|        return nullptr;
 6338|       |
 6339|       |    // Special case when using GL_ARB_separate_shader_objects
 6340|      0|    bool ssoPre150 = false;  // means the only reason this variable is redeclared is due to this combination
 6341|      0|    if (!isEsProfile() && version <= 140 && extensionTurnedOn(E_GL_ARB_separate_shader_objects)) {
  ------------------
  |  Branch (6341:9): [True: 0, False: 0]
  |  Branch (6341:27): [True: 0, False: 0]
  |  Branch (6341:45): [True: 0, False: 0]
  ------------------
 6342|      0|        if (identifier == "gl_Position"     ||
  ------------------
  |  Branch (6342:13): [True: 0, False: 0]
  ------------------
 6343|      0|            identifier == "gl_PointSize"    ||
  ------------------
  |  Branch (6343:13): [True: 0, False: 0]
  ------------------
 6344|      0|            identifier == "gl_ClipVertex"   ||
  ------------------
  |  Branch (6344:13): [True: 0, False: 0]
  ------------------
 6345|      0|            identifier == "gl_FogFragCoord")
  ------------------
  |  Branch (6345:13): [True: 0, False: 0]
  ------------------
 6346|      0|            ssoPre150 = true;
 6347|      0|    }
 6348|       |
 6349|       |    // Potentially redeclaring a built-in variable...
 6350|       |
 6351|      0|    if (ssoPre150 ||
  ------------------
  |  Branch (6351:9): [True: 0, False: 0]
  ------------------
 6352|      0|        (identifier == "gl_FragDepth"           && ((nonEsRedecls && version >= 420) || esRedecls)) ||
  ------------------
  |  Branch (6352:10): [True: 0, False: 0]
  |  Branch (6352:54): [True: 0, False: 0]
  |  Branch (6352:70): [True: 0, False: 0]
  |  Branch (6352:89): [True: 0, False: 0]
  ------------------
 6353|      0|        (identifier == "gl_FragCoord"           && ((nonEsRedecls && version >= 140) || esRedecls)) ||
  ------------------
  |  Branch (6353:10): [True: 0, False: 0]
  |  Branch (6353:54): [True: 0, False: 0]
  |  Branch (6353:70): [True: 0, False: 0]
  |  Branch (6353:89): [True: 0, False: 0]
  ------------------
 6354|      0|         identifier == "gl_ClipDistance"                                                            ||
  ------------------
  |  Branch (6354:10): [True: 0, False: 0]
  ------------------
 6355|      0|         identifier == "gl_CullDistance"                                                            ||
  ------------------
  |  Branch (6355:10): [True: 0, False: 0]
  ------------------
 6356|      0|         identifier == "gl_ShadingRateEXT"                                                          ||
  ------------------
  |  Branch (6356:10): [True: 0, False: 0]
  ------------------
 6357|      0|         identifier == "gl_PrimitiveShadingRateEXT"                                                 ||
  ------------------
  |  Branch (6357:10): [True: 0, False: 0]
  ------------------
 6358|      0|         identifier == "gl_FrontColor"                                                              ||
  ------------------
  |  Branch (6358:10): [True: 0, False: 0]
  ------------------
 6359|      0|         identifier == "gl_BackColor"                                                               ||
  ------------------
  |  Branch (6359:10): [True: 0, False: 0]
  ------------------
 6360|      0|         identifier == "gl_FrontSecondaryColor"                                                     ||
  ------------------
  |  Branch (6360:10): [True: 0, False: 0]
  ------------------
 6361|      0|         identifier == "gl_BackSecondaryColor"                                                      ||
  ------------------
  |  Branch (6361:10): [True: 0, False: 0]
  ------------------
 6362|      0|         identifier == "gl_SecondaryColor"                                                          ||
  ------------------
  |  Branch (6362:10): [True: 0, False: 0]
  ------------------
 6363|      0|        (identifier == "gl_Color"               && language == EShLangFragment)                     ||
  ------------------
  |  Branch (6363:10): [True: 0, False: 0]
  |  Branch (6363:52): [True: 0, False: 0]
  ------------------
 6364|      0|        (identifier == "gl_FragStencilRefARB"   && (nonEsRedecls && version >= 140)
  ------------------
  |  Branch (6364:10): [True: 0, False: 0]
  |  Branch (6364:53): [True: 0, False: 0]
  |  Branch (6364:69): [True: 0, False: 0]
  ------------------
 6365|      0|                                                && language == EShLangFragment)                     ||
  ------------------
  |  Branch (6365:52): [True: 0, False: 0]
  ------------------
 6366|      0|         identifier == "gl_SampleMask"                                                              ||
  ------------------
  |  Branch (6366:10): [True: 0, False: 0]
  ------------------
 6367|      0|         identifier == "gl_EnableOpacityMicromapEXT"                                                ||
  ------------------
  |  Branch (6367:10): [True: 0, False: 0]
  ------------------
 6368|      0|         identifier == "gl_Layer"                                                                   ||
  ------------------
  |  Branch (6368:10): [True: 0, False: 0]
  ------------------
 6369|      0|         identifier == "gl_PrimitiveIndicesNV"                                                      ||
  ------------------
  |  Branch (6369:10): [True: 0, False: 0]
  ------------------
 6370|      0|         identifier == "gl_PrimitivePointIndicesEXT"                                                ||
  ------------------
  |  Branch (6370:10): [True: 0, False: 0]
  ------------------
 6371|      0|         identifier == "gl_PrimitiveLineIndicesEXT"                                                 ||
  ------------------
  |  Branch (6371:10): [True: 0, False: 0]
  ------------------
 6372|      0|         identifier == "gl_PrimitiveTriangleIndicesEXT"                                             ||
  ------------------
  |  Branch (6372:10): [True: 0, False: 0]
  ------------------
 6373|      0|         identifier == "gl_TexCoord") {
  ------------------
  |  Branch (6373:10): [True: 0, False: 0]
  ------------------
 6374|       |
 6375|       |        // Find the existing symbol, if any.
 6376|      0|        bool builtIn;
 6377|      0|        TSymbol* symbol = symbolTable.find(identifier, &builtIn);
 6378|       |
 6379|       |        // If the symbol was not found, this must be a version/profile/stage
 6380|       |        // that doesn't have it.
 6381|      0|        if (! symbol)
  ------------------
  |  Branch (6381:13): [True: 0, False: 0]
  ------------------
 6382|      0|            return nullptr;
 6383|       |
 6384|       |        // If it wasn't at a built-in level, then it's already been redeclared;
 6385|       |        // that is, this is a redeclaration of a redeclaration; reuse that initial
 6386|       |        // redeclaration.  Otherwise, make the new one.
 6387|      0|        if (builtIn) {
  ------------------
  |  Branch (6387:13): [True: 0, False: 0]
  ------------------
 6388|      0|            makeEditable(symbol);
 6389|      0|            symbolTable.amendSymbolIdLevel(*symbol);
 6390|      0|        }
 6391|       |
 6392|       |        // Now, modify the type of the copy, as per the type of the current redeclaration.
 6393|       |
 6394|      0|        TQualifier& symbolQualifier = symbol->getWritableType().getQualifier();
 6395|      0|        if (ssoPre150) {
  ------------------
  |  Branch (6395:13): [True: 0, False: 0]
  ------------------
 6396|      0|            if (intermediate.inIoAccessed(identifier))
  ------------------
  |  Branch (6396:17): [True: 0, False: 0]
  ------------------
 6397|      0|                error(loc, "cannot redeclare after use", identifier.c_str(), "");
 6398|      0|            if (qualifier.hasLayout())
  ------------------
  |  Branch (6398:17): [True: 0, False: 0]
  ------------------
 6399|      0|                error(loc, "cannot apply layout qualifier to", "redeclaration", symbol->getName().c_str());
 6400|      0|            if (qualifier.isMemory() || qualifier.isAuxiliary() || (language == EShLangVertex   && qualifier.storage != EvqVaryingOut) ||
  ------------------
  |  Branch (6400:17): [True: 0, False: 0]
  |  Branch (6400:41): [True: 0, False: 0]
  |  Branch (6400:69): [True: 0, False: 0]
  |  Branch (6400:100): [True: 0, False: 0]
  ------------------
 6401|      0|                                                                   (language == EShLangFragment && qualifier.storage != EvqVaryingIn))
  ------------------
  |  Branch (6401:69): [True: 0, False: 0]
  |  Branch (6401:100): [True: 0, False: 0]
  ------------------
 6402|      0|                error(loc, "cannot change storage, memory, or auxiliary qualification of", "redeclaration", symbol->getName().c_str());
 6403|      0|            if (! qualifier.smooth)
  ------------------
  |  Branch (6403:17): [True: 0, False: 0]
  ------------------
 6404|      0|                error(loc, "cannot change interpolation qualification of", "redeclaration", symbol->getName().c_str());
 6405|      0|        } else if (identifier == "gl_FrontColor"          ||
  ------------------
  |  Branch (6405:20): [True: 0, False: 0]
  ------------------
 6406|      0|                   identifier == "gl_BackColor"           ||
  ------------------
  |  Branch (6406:20): [True: 0, False: 0]
  ------------------
 6407|      0|                   identifier == "gl_FrontSecondaryColor" ||
  ------------------
  |  Branch (6407:20): [True: 0, False: 0]
  ------------------
 6408|      0|                   identifier == "gl_BackSecondaryColor"  ||
  ------------------
  |  Branch (6408:20): [True: 0, False: 0]
  ------------------
 6409|      0|                   identifier == "gl_SecondaryColor"      ||
  ------------------
  |  Branch (6409:20): [True: 0, False: 0]
  ------------------
 6410|      0|                   identifier == "gl_Color") {
  ------------------
  |  Branch (6410:20): [True: 0, False: 0]
  ------------------
 6411|      0|            symbolQualifier.flat = qualifier.flat;
 6412|      0|            symbolQualifier.smooth = qualifier.smooth;
 6413|      0|            symbolQualifier.nopersp = qualifier.nopersp;
 6414|      0|            if (qualifier.hasLayout())
  ------------------
  |  Branch (6414:17): [True: 0, False: 0]
  ------------------
 6415|      0|                error(loc, "cannot apply layout qualifier to", "redeclaration", symbol->getName().c_str());
 6416|      0|            if (qualifier.isMemory() || qualifier.isAuxiliary() || symbol->getType().getQualifier().storage != qualifier.storage)
  ------------------
  |  Branch (6416:17): [True: 0, False: 0]
  |  Branch (6416:41): [True: 0, False: 0]
  |  Branch (6416:68): [True: 0, False: 0]
  ------------------
 6417|      0|                error(loc, "cannot change storage, memory, or auxiliary qualification of", "redeclaration", symbol->getName().c_str());
 6418|      0|        } else if (identifier == "gl_TexCoord"     ||
  ------------------
  |  Branch (6418:20): [True: 0, False: 0]
  ------------------
 6419|      0|                   identifier == "gl_ClipDistance" ||
  ------------------
  |  Branch (6419:20): [True: 0, False: 0]
  ------------------
 6420|      0|                   identifier == "gl_CullDistance") {
  ------------------
  |  Branch (6420:20): [True: 0, False: 0]
  ------------------
 6421|      0|            if (qualifier.hasLayout() || qualifier.isMemory() || qualifier.isAuxiliary() ||
  ------------------
  |  Branch (6421:17): [True: 0, False: 0]
  |  Branch (6421:42): [True: 0, False: 0]
  |  Branch (6421:66): [True: 0, False: 0]
  ------------------
 6422|      0|                qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6422:17): [True: 0, False: 0]
  |  Branch (6422:65): [True: 0, False: 0]
  ------------------
 6423|      0|                symbolQualifier.storage != qualifier.storage)
  ------------------
  |  Branch (6423:17): [True: 0, False: 0]
  ------------------
 6424|      0|                error(loc, "cannot change qualification of", "redeclaration", symbol->getName().c_str());
 6425|      0|        } else if (identifier == "gl_FragCoord") {
  ------------------
  |  Branch (6425:20): [True: 0, False: 0]
  ------------------
 6426|      0|            if (!intermediate.getTexCoordRedeclared() && intermediate.inIoAccessed("gl_FragCoord"))
  ------------------
  |  Branch (6426:17): [True: 0, False: 0]
  |  Branch (6426:17): [True: 0, False: 0]
  |  Branch (6426:58): [True: 0, False: 0]
  ------------------
 6427|      0|                error(loc, "cannot redeclare after use", "gl_FragCoord", "");
 6428|      0|            if (qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6428:17): [True: 0, False: 0]
  |  Branch (6428:65): [True: 0, False: 0]
  ------------------
 6429|      0|                qualifier.isMemory() || qualifier.isAuxiliary())
  ------------------
  |  Branch (6429:17): [True: 0, False: 0]
  |  Branch (6429:41): [True: 0, False: 0]
  ------------------
 6430|      0|                error(loc, "can only change layout qualification of", "redeclaration", symbol->getName().c_str());
 6431|      0|            if (qualifier.storage != EvqVaryingIn)
  ------------------
  |  Branch (6431:17): [True: 0, False: 0]
  ------------------
 6432|      0|                error(loc, "cannot change input storage qualification of", "redeclaration", symbol->getName().c_str());
 6433|      0|            if (! builtIn && (publicType.pixelCenterInteger != intermediate.getPixelCenterInteger() ||
  ------------------
  |  Branch (6433:17): [True: 0, False: 0]
  |  Branch (6433:31): [True: 0, False: 0]
  ------------------
 6434|      0|                              publicType.originUpperLeft != intermediate.getOriginUpperLeft()))
  ------------------
  |  Branch (6434:31): [True: 0, False: 0]
  ------------------
 6435|      0|                error(loc, "cannot redeclare with different qualification:", "redeclaration", symbol->getName().c_str());
 6436|       |
 6437|       |
 6438|      0|            intermediate.setTexCoordRedeclared();
 6439|      0|            if (publicType.pixelCenterInteger)
  ------------------
  |  Branch (6439:17): [True: 0, False: 0]
  ------------------
 6440|      0|                intermediate.setPixelCenterInteger();
 6441|      0|            if (publicType.originUpperLeft)
  ------------------
  |  Branch (6441:17): [True: 0, False: 0]
  ------------------
 6442|      0|                intermediate.setOriginUpperLeft();
 6443|      0|        } else if (identifier == "gl_FragDepth") {
  ------------------
  |  Branch (6443:20): [True: 0, False: 0]
  ------------------
 6444|      0|            if (qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6444:17): [True: 0, False: 0]
  |  Branch (6444:65): [True: 0, False: 0]
  ------------------
 6445|      0|                qualifier.isMemory() || qualifier.isAuxiliary())
  ------------------
  |  Branch (6445:17): [True: 0, False: 0]
  |  Branch (6445:41): [True: 0, False: 0]
  ------------------
 6446|      0|                error(loc, "can only change layout qualification of", "redeclaration", symbol->getName().c_str());
 6447|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (6447:17): [True: 0, False: 0]
  ------------------
 6448|      0|                error(loc, "cannot change output storage qualification of", "redeclaration", symbol->getName().c_str());
 6449|      0|            if (publicType.layoutDepth != EldNone) {
  ------------------
  |  Branch (6449:17): [True: 0, False: 0]
  ------------------
 6450|      0|                if (intermediate.inIoAccessed("gl_FragDepth"))
  ------------------
  |  Branch (6450:21): [True: 0, False: 0]
  ------------------
 6451|      0|                    error(loc, "cannot redeclare after use", "gl_FragDepth", "");
 6452|      0|                if (! intermediate.setDepth(publicType.layoutDepth))
  ------------------
  |  Branch (6452:21): [True: 0, False: 0]
  ------------------
 6453|      0|                    error(loc, "all redeclarations must use the same depth layout on", "redeclaration", symbol->getName().c_str());
 6454|      0|            }
 6455|      0|        } else if (identifier == "gl_FragStencilRefARB") {
  ------------------
  |  Branch (6455:20): [True: 0, False: 0]
  ------------------
 6456|      0|            if (qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6456:17): [True: 0, False: 0]
  |  Branch (6456:65): [True: 0, False: 0]
  ------------------
 6457|      0|                qualifier.isMemory() || qualifier.isAuxiliary())
  ------------------
  |  Branch (6457:17): [True: 0, False: 0]
  |  Branch (6457:41): [True: 0, False: 0]
  ------------------
 6458|      0|                error(loc, "can only change layout qualification of", "redeclaration", symbol->getName().c_str());
 6459|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (6459:17): [True: 0, False: 0]
  ------------------
 6460|      0|                error(loc, "cannot change output storage qualification of", "redeclaration", symbol->getName().c_str());
 6461|      0|            if (publicType.layoutStencil != ElsNone) {
  ------------------
  |  Branch (6461:17): [True: 0, False: 0]
  ------------------
 6462|      0|                if (intermediate.inIoAccessed("gl_FragStencilRefARB"))
  ------------------
  |  Branch (6462:21): [True: 0, False: 0]
  ------------------
 6463|      0|                    error(loc, "cannot redeclare after use", "gl_FragStencilRefARB", "");
 6464|      0|                if (!intermediate.setStencil(publicType.layoutStencil))
  ------------------
  |  Branch (6464:21): [True: 0, False: 0]
  ------------------
 6465|      0|                    error(loc, "all redeclarations must use the same stencil layout on", "redeclaration",
 6466|      0|                          symbol->getName().c_str());
 6467|      0|            }
 6468|      0|        }
 6469|      0|        else if (
 6470|      0|            identifier == "gl_PrimitiveIndicesNV") {
  ------------------
  |  Branch (6470:13): [True: 0, False: 0]
  ------------------
 6471|      0|            if (qualifier.hasLayout())
  ------------------
  |  Branch (6471:17): [True: 0, False: 0]
  ------------------
 6472|      0|                error(loc, "cannot apply layout qualifier to", "redeclaration", symbol->getName().c_str());
 6473|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (6473:17): [True: 0, False: 0]
  ------------------
 6474|      0|                error(loc, "cannot change output storage qualification of", "redeclaration", symbol->getName().c_str());
 6475|      0|        }
 6476|      0|        else if (identifier == "gl_SampleMask") {
  ------------------
  |  Branch (6476:18): [True: 0, False: 0]
  ------------------
 6477|      0|            if (!publicType.layoutOverrideCoverage) {
  ------------------
  |  Branch (6477:17): [True: 0, False: 0]
  ------------------
 6478|      0|                error(loc, "redeclaration only allowed for override_coverage layout", "redeclaration", symbol->getName().c_str());
 6479|      0|            }
 6480|      0|            intermediate.setLayoutOverrideCoverage();
 6481|      0|        }
 6482|      0|        else if (identifier == "gl_Layer") {
  ------------------
  |  Branch (6482:18): [True: 0, False: 0]
  ------------------
 6483|      0|            if (!qualifier.layoutViewportRelative && qualifier.layoutSecondaryViewportRelativeOffset == -2048)
  ------------------
  |  Branch (6483:17): [True: 0, False: 0]
  |  Branch (6483:54): [True: 0, False: 0]
  ------------------
 6484|      0|                error(loc, "redeclaration only allowed for viewport_relative or secondary_view_offset layout", "redeclaration", symbol->getName().c_str());
 6485|      0|            symbolQualifier.layoutViewportRelative = qualifier.layoutViewportRelative;
 6486|      0|            symbolQualifier.layoutSecondaryViewportRelativeOffset = qualifier.layoutSecondaryViewportRelativeOffset;
 6487|      0|        }
 6488|      0|        else if (identifier == "gl_EnableOpacityMicromapEXT") {
  ------------------
  |  Branch (6488:18): [True: 0, False: 0]
  ------------------
 6489|       |            // GL_EXT_opacity_micromap_ray_query_mode. This branch handles the full-redeclaration form
 6490|       |            //   const bool gl_EnableOpacityMicromapEXT = <true|false>;
 6491|       |            // which sets the built-in's value (emitted as OpConstantTrue/OpConstantFalse). The
 6492|       |            // specialization-constant form is the bare "layout(constant_id = N) gl_EnableOpacityMicromapEXT;"
 6493|       |            // (handled in addQualifierToExisting); per the extension it is not valid to restate the type
 6494|       |            // or specify a value together with constant_id.
 6495|      0|            requireExtensions(loc, 1, &E_GL_EXT_opacity_micromap_ray_query_mode, "gl_EnableOpacityMicromapEXT redeclaration");
 6496|      0|            if (qualifier.hasSpecConstantId())
  ------------------
  |  Branch (6496:17): [True: 0, False: 0]
  ------------------
 6497|      0|                error(loc, "cannot restate the type or specify a value with constant_id; use "
 6498|      0|                           "'layout(constant_id = N) gl_EnableOpacityMicromapEXT;'", "redeclaration",
 6499|      0|                      symbol->getName().c_str());
 6500|      0|            else if (qualifier.storage != EvqConst)
  ------------------
  |  Branch (6500:22): [True: 0, False: 0]
  ------------------
 6501|      0|                error(loc, "can only be redeclared as 'const bool gl_EnableOpacityMicromapEXT = <true|false>;' "
 6502|      0|                           "or 'layout(constant_id = N) gl_EnableOpacityMicromapEXT;'", "redeclaration",
 6503|      0|                      symbol->getName().c_str());
 6504|       |            // For the valid 'const bool = <true|false>;' form the value is captured from the initializer
 6505|       |            // after it is processed (see declareVariable); nothing else to do to the symbol's qualifier here.
 6506|      0|        }
 6507|       |
 6508|       |        // TODO: semantics quality: separate smooth from nothing declared, then use IsInterpolation for several tests above
 6509|       |
 6510|      0|        return symbol;
 6511|      0|    }
 6512|       |
 6513|      0|    return nullptr;
 6514|      0|}
_ZN7glslang13TParseContext20paramCheckFixStorageERKNS_10TSourceLocERKNS_17TStorageQualifierERNS_5TTypeE:
 6741|   105k|{
 6742|   105k|    switch (qualifier) {
 6743|      0|    case EvqConst:
  ------------------
  |  Branch (6743:5): [True: 0, False: 105k]
  ------------------
 6744|      0|    case EvqConstReadOnly:
  ------------------
  |  Branch (6744:5): [True: 0, False: 105k]
  ------------------
 6745|      0|        type.getQualifier().storage = EvqConstReadOnly;
 6746|      0|        break;
 6747|     22|    case EvqIn:
  ------------------
  |  Branch (6747:5): [True: 22, False: 105k]
  ------------------
 6748|  3.47k|    case EvqOut:
  ------------------
  |  Branch (6748:5): [True: 3.45k, False: 102k]
  ------------------
 6749|  3.69k|    case EvqInOut:
  ------------------
  |  Branch (6749:5): [True: 216, False: 105k]
  ------------------
 6750|  3.69k|    case EvqTileImageEXT:
  ------------------
  |  Branch (6750:5): [True: 0, False: 105k]
  ------------------
 6751|  3.69k|        type.getQualifier().storage = qualifier;
 6752|  3.69k|        break;
 6753|  1.88k|    case EvqGlobal:
  ------------------
  |  Branch (6753:5): [True: 1.88k, False: 104k]
  ------------------
 6754|   102k|    case EvqTemporary:
  ------------------
  |  Branch (6754:5): [True: 100k, False: 5.57k]
  ------------------
 6755|   102k|        type.getQualifier().storage = EvqIn;
 6756|   102k|        break;
 6757|      0|    default:
  ------------------
  |  Branch (6757:5): [True: 0, False: 105k]
  ------------------
 6758|      0|        type.getQualifier().storage = EvqIn;
 6759|      0|        error(loc, "storage qualifier not allowed on function parameter", GetStorageQualifierString(qualifier), "");
 6760|      0|        break;
 6761|   105k|    }
 6762|   105k|}
_ZN7glslang13TParseContext13paramCheckFixERKNS_10TSourceLocERKNS_10TQualifierERNS_5TTypeE:
 6765|  9.67k|{
 6766|  9.67k|    if (qualifier.isMemory()) {
  ------------------
  |  Branch (6766:9): [True: 4.31k, False: 5.35k]
  ------------------
 6767|  4.31k|        type.getQualifier().volatil   = qualifier.volatil;
 6768|  4.31k|        type.getQualifier().nontemporal   = qualifier.nontemporal;
 6769|  4.31k|        type.getQualifier().coherent  = qualifier.coherent;
 6770|  4.31k|        type.getQualifier().devicecoherent  = qualifier.devicecoherent ;
 6771|  4.31k|        type.getQualifier().queuefamilycoherent  = qualifier.queuefamilycoherent;
 6772|  4.31k|        type.getQualifier().workgroupcoherent  = qualifier.workgroupcoherent;
 6773|  4.31k|        type.getQualifier().subgroupcoherent  = qualifier.subgroupcoherent;
 6774|  4.31k|        type.getQualifier().shadercallcoherent = qualifier.shadercallcoherent;
 6775|  4.31k|        type.getQualifier().nonprivate = qualifier.nonprivate;
 6776|  4.31k|        type.getQualifier().readonly  = qualifier.readonly;
 6777|  4.31k|        type.getQualifier().writeonly = qualifier.writeonly;
 6778|  4.31k|        type.getQualifier().restrict  = qualifier.restrict;
 6779|  4.31k|    }
 6780|       |
 6781|  9.67k|    if (qualifier.isAuxiliary() ||
  ------------------
  |  Branch (6781:9): [True: 0, False: 9.67k]
  ------------------
 6782|  9.67k|        qualifier.isInterpolation())
  ------------------
  |  Branch (6782:9): [True: 0, False: 9.67k]
  ------------------
 6783|      0|        error(loc, "cannot use auxiliary or interpolation qualifiers on a function parameter", "", "");
 6784|  9.67k|    if (qualifier.hasLayout())
  ------------------
  |  Branch (6784:9): [True: 0, False: 9.67k]
  ------------------
 6785|      0|        error(loc, "cannot use layout qualifiers on a function parameter", "", "");
 6786|  9.67k|    if (qualifier.invariant)
  ------------------
  |  Branch (6786:9): [True: 0, False: 9.67k]
  ------------------
 6787|      0|        error(loc, "cannot use invariant qualifier on a function parameter", "", "");
 6788|  9.67k|    if (qualifier.isNoContraction()) {
  ------------------
  |  Branch (6788:9): [True: 0, False: 9.67k]
  ------------------
 6789|      0|        if (qualifier.isParamOutput())
  ------------------
  |  Branch (6789:13): [True: 0, False: 0]
  ------------------
 6790|      0|            type.getQualifier().setNoContraction();
 6791|      0|        else
 6792|      0|            warn(loc, "qualifier has no effect on non-output parameters", "precise", "");
 6793|      0|    }
 6794|  9.67k|    if (qualifier.isNonUniform())
  ------------------
  |  Branch (6794:9): [True: 0, False: 9.67k]
  ------------------
 6795|      0|        type.getQualifier().nonUniform = qualifier.nonUniform;
 6796|  9.67k|    if (qualifier.isSpirvByReference())
  ------------------
  |  Branch (6796:9): [True: 0, False: 9.67k]
  ------------------
 6797|      0|        type.getQualifier().setSpirvByReference();
 6798|  9.67k|    if (qualifier.isSpirvLiteral()) {
  ------------------
  |  Branch (6798:9): [True: 0, False: 9.67k]
  ------------------
 6799|      0|        if (type.getBasicType() == EbtFloat || type.getBasicType() == EbtInt || type.getBasicType() == EbtUint ||
  ------------------
  |  Branch (6799:13): [True: 0, False: 0]
  |  Branch (6799:48): [True: 0, False: 0]
  |  Branch (6799:81): [True: 0, False: 0]
  ------------------
 6800|      0|            type.getBasicType() == EbtBool)
  ------------------
  |  Branch (6800:13): [True: 0, False: 0]
  ------------------
 6801|      0|            type.getQualifier().setSpirvLiteral();
 6802|      0|        else
 6803|      0|            error(loc, "cannot use spirv_literal qualifier", type.getBasicTypeString().c_str(), "");
 6804|      0|    }
 6805|       |
 6806|  9.67k|    paramCheckFixStorage(loc, qualifier.storage, type);
 6807|  9.67k|}
_ZN7glslang13TParseContext16nestedBlockCheckERKNS_10TSourceLocEb:
 6810|     18|{
 6811|     18|    if (allowedInnerStruct) {
  ------------------
  |  Branch (6811:9): [True: 0, False: 18]
  ------------------
 6812|      0|        if ((structNestingLevel <= 0 && blockNestingLevel <= 0) ||
  ------------------
  |  Branch (6812:14): [True: 0, False: 0]
  |  Branch (6812:41): [True: 0, False: 0]
  ------------------
 6813|      0|            (structNestingLevel > 0 && blockNestingLevel > 0) ||
  ------------------
  |  Branch (6813:14): [True: 0, False: 0]
  |  Branch (6813:40): [True: 0, False: 0]
  ------------------
 6814|      0|            blockNestingLevel > 1)
  ------------------
  |  Branch (6814:13): [True: 0, False: 0]
  ------------------
 6815|      0|            error(loc, "cannot nest a block definition inside a structure or block", "", "");
 6816|     18|    } else if (structNestingLevel > 0 || blockNestingLevel > 0)
  ------------------
  |  Branch (6816:16): [True: 0, False: 18]
  |  Branch (6816:42): [True: 0, False: 18]
  ------------------
 6817|      0|        error(loc, "cannot nest a block definition inside a structure or block", "", "");
 6818|     18|    ++blockNestingLevel;
 6819|     18|}
_ZN7glslang13TParseContext17nestedStructCheckERKNS_10TSourceLocE:
 6822|     74|{
 6823|     74|    if (structNestingLevel > 0 || blockNestingLevel > 0)
  ------------------
  |  Branch (6823:9): [True: 0, False: 74]
  |  Branch (6823:35): [True: 0, False: 74]
  ------------------
 6824|      0|        error(loc, "cannot nest a structure definition inside a structure or block", "", "");
 6825|     74|    ++structNestingLevel;
 6826|     74|}
_ZN7glslang13TParseContext16arrayObjectCheckERKNS_10TSourceLocERKNS_5TTypeEPKc:
 6829|  43.1k|{
 6830|       |    // Some versions don't allow comparing arrays or structures containing arrays
 6831|  43.1k|    if (type.containsArray()) {
  ------------------
  |  Branch (6831:9): [True: 0, False: 43.1k]
  ------------------
 6832|      0|        profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, op);
 6833|      0|        profileRequires(loc, EEsProfile, 300, nullptr, op);
 6834|      0|    }
 6835|  43.1k|}
_ZN7glslang13TParseContext15structTypeCheckERKNS_10TSourceLocERNS_11TPublicTypeE:
 6889|     74|{
 6890|     74|    const TTypeList& typeList = *publicType.userDef->getStruct();
 6891|       |
 6892|       |    // fix and check for member storage qualifiers and types that don't belong within a structure
 6893|    304|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (6893:35): [True: 230, False: 74]
  ------------------
 6894|    230|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
 6895|    230|        const TSourceLoc& memberLoc = typeList[member].loc;
 6896|    230|        if (memberQualifier.isAuxiliary() ||
  ------------------
  |  Branch (6896:13): [True: 0, False: 230]
  ------------------
 6897|    230|            memberQualifier.isInterpolation() ||
  ------------------
  |  Branch (6897:13): [True: 0, False: 230]
  ------------------
 6898|    230|            (memberQualifier.storage != EvqTemporary && memberQualifier.storage != EvqGlobal &&
  ------------------
  |  Branch (6898:14): [True: 230, False: 0]
  |  Branch (6898:57): [True: 0, False: 230]
  ------------------
 6899|      0|             !memberQualifier.layoutDescriptorHeap && !memberQualifier.isBufferType()))
  ------------------
  |  Branch (6899:14): [True: 0, False: 0]
  |  Branch (6899:55): [True: 0, False: 0]
  ------------------
 6900|      0|            error(memberLoc, "cannot use storage or interpolation qualifiers on structure members", typeList[member].type->getFieldName().c_str(), "");
 6901|    230|        if (memberQualifier.isMemory())
  ------------------
  |  Branch (6901:13): [True: 0, False: 230]
  ------------------
 6902|      0|            error(memberLoc, "cannot use memory qualifiers on structure members", typeList[member].type->getFieldName().c_str(), "");
 6903|    230|        if (memberQualifier.hasLayout() && !memberQualifier.isBufferType()) {
  ------------------
  |  Branch (6903:13): [True: 0, False: 230]
  |  Branch (6903:44): [True: 0, False: 0]
  ------------------
 6904|      0|            error(memberLoc, "cannot use layout qualifiers on structure members", typeList[member].type->getFieldName().c_str(), "");
 6905|      0|            memberQualifier.clearLayout();
 6906|      0|        }
 6907|    230|        if (memberQualifier.invariant)
  ------------------
  |  Branch (6907:13): [True: 0, False: 230]
  ------------------
 6908|      0|            error(memberLoc, "cannot use invariant qualifier on structure members", typeList[member].type->getFieldName().c_str(), "");
 6909|    230|    }
 6910|     74|}
_ZN7glslang13TParseContext6finishEv:
 7060|    238|{
 7061|    238|    TParseContextBase::finish();
 7062|       |
 7063|    238|    if (parsingBuiltins)
  ------------------
  |  Branch (7063:9): [True: 202, False: 36]
  ------------------
 7064|    202|        return;
 7065|       |
 7066|       |    // Forward builtin alias to AST for later use
 7067|     36|    intermediate.setBuiltinAliasLookup(symbolTable.collectBuiltinAlias());
 7068|       |
 7069|       |    // Check on array indexes for ES 2.0 (version 100) limitations.
 7070|     36|    for (size_t i = 0; i < needsIndexLimitationChecking.size(); ++i)
  ------------------
  |  Branch (7070:24): [True: 0, False: 36]
  ------------------
 7071|      0|        constantIndexExpressionCheck(needsIndexLimitationChecking[i]);
 7072|       |
 7073|       |    // Check for stages that are enabled by extension.
 7074|       |    // Can't do this at the beginning, it is chicken and egg to add a stage by
 7075|       |    // extension.
 7076|       |    // Stage-specific features were correctly tested for already, this is just
 7077|       |    // about the stage itself.
 7078|     36|    switch (language) {
 7079|      0|    case EShLangGeometry:
  ------------------
  |  Branch (7079:5): [True: 0, False: 36]
  ------------------
 7080|      0|        if (isEsProfile() && version == 310)
  ------------------
  |  Branch (7080:13): [True: 0, False: 0]
  |  Branch (7080:30): [True: 0, False: 0]
  ------------------
 7081|      0|            requireExtensions(getCurrentLoc(), Num_AEP_geometry_shader, AEP_geometry_shader, "geometry shaders");
 7082|      0|        break;
 7083|      0|    case EShLangTessControl:
  ------------------
  |  Branch (7083:5): [True: 0, False: 36]
  ------------------
 7084|      0|    case EShLangTessEvaluation:
  ------------------
  |  Branch (7084:5): [True: 0, False: 36]
  ------------------
 7085|      0|        if (isEsProfile() && version == 310)
  ------------------
  |  Branch (7085:13): [True: 0, False: 0]
  |  Branch (7085:30): [True: 0, False: 0]
  ------------------
 7086|      0|            requireExtensions(getCurrentLoc(), Num_AEP_tessellation_shader, AEP_tessellation_shader, "tessellation shaders");
 7087|      0|        else if (!isEsProfile() && version < 400)
  ------------------
  |  Branch (7087:18): [True: 0, False: 0]
  |  Branch (7087:36): [True: 0, False: 0]
  ------------------
 7088|      0|            requireExtensions(getCurrentLoc(), 1, &E_GL_ARB_tessellation_shader, "tessellation shaders");
 7089|      0|        break;
 7090|      0|    case EShLangCompute:
  ------------------
  |  Branch (7090:5): [True: 0, False: 36]
  ------------------
 7091|      0|        if (!isEsProfile() && version < 430)
  ------------------
  |  Branch (7091:13): [True: 0, False: 0]
  |  Branch (7091:31): [True: 0, False: 0]
  ------------------
 7092|      0|            requireExtensions(getCurrentLoc(), 1, &E_GL_ARB_compute_shader, "compute shaders");
 7093|      0|        break;
 7094|      0|    case EShLangTask:
  ------------------
  |  Branch (7094:5): [True: 0, False: 36]
  ------------------
 7095|      0|        requireExtensions(getCurrentLoc(), Num_AEP_mesh_shader, AEP_mesh_shader, "task shaders");
 7096|      0|        break;
 7097|      0|    case EShLangMesh:
  ------------------
  |  Branch (7097:5): [True: 0, False: 36]
  ------------------
 7098|      0|        requireExtensions(getCurrentLoc(), Num_AEP_mesh_shader, AEP_mesh_shader, "mesh shaders");
 7099|      0|        break;
 7100|     36|    default:
  ------------------
  |  Branch (7100:5): [True: 36, False: 0]
  ------------------
 7101|     36|        break;
 7102|     36|    }
 7103|       |
 7104|     36|    if (intermediate.IsRequestedExtension(E_GL_KHR_compute_shader_derivatives) &&
  ------------------
  |  Branch (7104:9): [True: 0, False: 36]
  ------------------
 7105|      0|        !khrDerivativeLayoutQualifierSpecified) {
  ------------------
  |  Branch (7105:9): [True: 0, False: 0]
  ------------------
 7106|      0|        error(getCurrentLoc(), "requires one of derivative_group_quadsKHR or derivative_group_linearKHR layout qualifiers",
 7107|      0|              E_GL_KHR_compute_shader_derivatives, "");
 7108|      0|    }
 7109|       |
 7110|     36|    if (intermediate.getLayoutDerivativeModeNone() == LayoutDerivativeGroupQuads) {
  ------------------
  |  Branch (7110:9): [True: 0, False: 36]
  ------------------
 7111|      0|        if ((intermediate.getLocalSizeSpecId(0) == TQualifier::layoutNotSet && (intermediate.getLocalSize(0) & 1)) ||
  ------------------
  |  Branch (7111:14): [True: 0, False: 0]
  |  Branch (7111:80): [True: 0, False: 0]
  ------------------
 7112|      0|            (intermediate.getLocalSizeSpecId(1) == TQualifier::layoutNotSet && (intermediate.getLocalSize(1) & 1)))
  ------------------
  |  Branch (7112:14): [True: 0, False: 0]
  |  Branch (7112:80): [True: 0, False: 0]
  ------------------
 7113|      0|            error(getCurrentLoc(), "requires local_size_x and local_size_y to be multiple of two", "derivative_group_quads", "");
 7114|     36|    } else if (intermediate.getLayoutDerivativeModeNone() == LayoutDerivativeGroupLinear) {
  ------------------
  |  Branch (7114:16): [True: 0, False: 36]
  ------------------
 7115|      0|        if (intermediate.getLocalSizeSpecId(0) == TQualifier::layoutNotSet &&
  ------------------
  |  Branch (7115:13): [True: 0, False: 0]
  ------------------
 7116|      0|            intermediate.getLocalSizeSpecId(1) == TQualifier::layoutNotSet &&
  ------------------
  |  Branch (7116:13): [True: 0, False: 0]
  ------------------
 7117|      0|            intermediate.getLocalSizeSpecId(2) == TQualifier::layoutNotSet &&
  ------------------
  |  Branch (7117:13): [True: 0, False: 0]
  ------------------
 7118|      0|            (intermediate.getLocalSize(0) *
  ------------------
  |  Branch (7118:13): [True: 0, False: 0]
  ------------------
 7119|      0|             intermediate.getLocalSize(1) *
 7120|      0|             intermediate.getLocalSize(2)) % 4 != 0)
 7121|      0|            error(getCurrentLoc(), "requires total group size to be multiple of four", "derivative_group_linear", "");
 7122|      0|    }
 7123|       |
 7124|       |    // Set default outputs for GL_NV_geometry_shader_passthrough
 7125|     36|    if (language == EShLangGeometry && extensionTurnedOn(E_SPV_NV_geometry_shader_passthrough)) {
  ------------------
  |  Branch (7125:9): [True: 0, False: 36]
  |  Branch (7125:40): [True: 0, False: 0]
  ------------------
 7126|      0|        if (intermediate.getOutputPrimitive() == ElgNone) {
  ------------------
  |  Branch (7126:13): [True: 0, False: 0]
  ------------------
 7127|      0|            switch (intermediate.getInputPrimitive()) {
 7128|      0|            case ElgPoints:      intermediate.setOutputPrimitive(ElgPoints);    break;
  ------------------
  |  Branch (7128:13): [True: 0, False: 0]
  ------------------
 7129|      0|            case ElgLines:       intermediate.setOutputPrimitive(ElgLineStrip); break;
  ------------------
  |  Branch (7129:13): [True: 0, False: 0]
  ------------------
 7130|      0|            case ElgTriangles:   intermediate.setOutputPrimitive(ElgTriangleStrip); break;
  ------------------
  |  Branch (7130:13): [True: 0, False: 0]
  ------------------
 7131|      0|            default: break;
  ------------------
  |  Branch (7131:13): [True: 0, False: 0]
  ------------------
 7132|      0|            }
 7133|      0|        }
 7134|      0|        if (intermediate.getVertices() == TQualifier::layoutNotSet) {
  ------------------
  |  Branch (7134:13): [True: 0, False: 0]
  ------------------
 7135|      0|            switch (intermediate.getInputPrimitive()) {
 7136|      0|            case ElgPoints:      intermediate.setVertices(1); break;
  ------------------
  |  Branch (7136:13): [True: 0, False: 0]
  ------------------
 7137|      0|            case ElgLines:       intermediate.setVertices(2); break;
  ------------------
  |  Branch (7137:13): [True: 0, False: 0]
  ------------------
 7138|      0|            case ElgTriangles:   intermediate.setVertices(3); break;
  ------------------
  |  Branch (7138:13): [True: 0, False: 0]
  ------------------
 7139|      0|            default: break;
  ------------------
  |  Branch (7139:13): [True: 0, False: 0]
  ------------------
 7140|      0|            }
 7141|      0|        }
 7142|      0|    }
 7143|     36|}
_ZN7glslang13TParseContext27mergeObjectLayoutQualifiersERNS_10TQualifierERKS1_b:
 8025|  14.3k|{
 8026|  14.3k|    if (src.hasMatrix())
  ------------------
  |  Branch (8026:9): [True: 0, False: 14.3k]
  ------------------
 8027|      0|        dst.layoutMatrix = src.layoutMatrix;
 8028|  14.3k|    if (src.hasPacking())
  ------------------
  |  Branch (8028:9): [True: 0, False: 14.3k]
  ------------------
 8029|      0|        dst.layoutPacking = src.layoutPacking;
 8030|       |
 8031|  14.3k|    if (src.hasStream())
  ------------------
  |  Branch (8031:9): [True: 2, False: 14.3k]
  ------------------
 8032|      2|        dst.layoutStream = src.layoutStream;
 8033|  14.3k|    if (src.hasFormat())
  ------------------
  |  Branch (8033:9): [True: 0, False: 14.3k]
  ------------------
 8034|      0|        dst.layoutFormat = src.layoutFormat;
 8035|  14.3k|    if (src.hasXfbBuffer())
  ------------------
  |  Branch (8035:9): [True: 8, False: 14.3k]
  ------------------
 8036|      8|        dst.layoutXfbBuffer = src.layoutXfbBuffer;
 8037|  14.3k|    if (src.hasBufferReferenceAlign())
  ------------------
  |  Branch (8037:9): [True: 0, False: 14.3k]
  ------------------
 8038|      0|        dst.layoutBufferReferenceAlign = src.layoutBufferReferenceAlign;
 8039|       |
 8040|  14.3k|    if (src.hasAlign())
  ------------------
  |  Branch (8040:9): [True: 0, False: 14.3k]
  ------------------
 8041|      0|        dst.layoutAlign = src.layoutAlign;
 8042|       |
 8043|  14.3k|    if (! inheritOnly) {
  ------------------
  |  Branch (8043:9): [True: 14.3k, False: 36]
  ------------------
 8044|  14.3k|        if (src.hasLocation())
  ------------------
  |  Branch (8044:13): [True: 0, False: 14.3k]
  ------------------
 8045|      0|            dst.layoutLocation = src.layoutLocation;
 8046|  14.3k|        if (src.hasOffset())
  ------------------
  |  Branch (8046:13): [True: 0, False: 14.3k]
  ------------------
 8047|      0|            dst.layoutOffset = src.layoutOffset;
 8048|  14.3k|        if (src.hasSet())
  ------------------
  |  Branch (8048:13): [True: 0, False: 14.3k]
  ------------------
 8049|      0|            dst.layoutSet = src.layoutSet;
 8050|  14.3k|        if (src.hasBinding())
  ------------------
  |  Branch (8050:13): [True: 0, False: 14.3k]
  ------------------
 8051|      0|            dst.layoutBinding = src.layoutBinding;
 8052|       |
 8053|  14.3k|        if (src.hasSpecConstantId())
  ------------------
  |  Branch (8053:13): [True: 0, False: 14.3k]
  ------------------
 8054|      0|            dst.layoutSpecConstantId = src.layoutSpecConstantId;
 8055|       |
 8056|  14.3k|        if (src.hasComponent())
  ------------------
  |  Branch (8056:13): [True: 0, False: 14.3k]
  ------------------
 8057|      0|            dst.layoutComponent = src.layoutComponent;
 8058|  14.3k|        if (src.hasIndex())
  ------------------
  |  Branch (8058:13): [True: 0, False: 14.3k]
  ------------------
 8059|      0|            dst.layoutIndex = src.layoutIndex;
 8060|  14.3k|        if (src.hasXfbStride())
  ------------------
  |  Branch (8060:13): [True: 0, False: 14.3k]
  ------------------
 8061|      0|            dst.layoutXfbStride = src.layoutXfbStride;
 8062|  14.3k|        if (src.hasXfbOffset())
  ------------------
  |  Branch (8062:13): [True: 0, False: 14.3k]
  ------------------
 8063|      0|            dst.layoutXfbOffset = src.layoutXfbOffset;
 8064|  14.3k|        if (src.hasAttachment())
  ------------------
  |  Branch (8064:13): [True: 0, False: 14.3k]
  ------------------
 8065|      0|            dst.layoutAttachment = src.layoutAttachment;
 8066|  14.3k|        if (src.layoutDescriptorHeap)
  ------------------
  |  Branch (8066:13): [True: 0, False: 14.3k]
  ------------------
 8067|      0|            dst.layoutDescriptorHeap = true;
 8068|  14.3k|        if (src.descriptorHeapDescriptorNode)
  ------------------
  |  Branch (8068:13): [True: 0, False: 14.3k]
  ------------------
 8069|      0|            dst.descriptorHeapDescriptorNode = true;
 8070|  14.3k|        if (src.layoutDescriptorStride != TQualifier::layoutDescriptorStrideEnd)
  ------------------
  |  Branch (8070:13): [True: 0, False: 14.3k]
  ------------------
 8071|      0|            dst.layoutDescriptorStride = src.layoutDescriptorStride;
 8072|  14.3k|        if (src.layoutDescriptorSize != TQualifier::layoutDescriptorSizeEnd)
  ------------------
  |  Branch (8072:13): [True: 0, False: 14.3k]
  ------------------
 8073|      0|            dst.layoutDescriptorSize = src.layoutDescriptorSize;
 8074|  14.3k|        if (src.layoutHeapOffset != 0)
  ------------------
  |  Branch (8074:13): [True: 0, False: 14.3k]
  ------------------
 8075|      0|            dst.layoutHeapOffset = src.layoutHeapOffset;
 8076|  14.3k|        if (src.layoutHeapOffsetNode != nullptr)
  ------------------
  |  Branch (8076:13): [True: 0, False: 14.3k]
  ------------------
 8077|      0|            dst.layoutHeapOffsetNode = src.layoutHeapOffsetNode;
 8078|  14.3k|        if (src.layoutPushConstant)
  ------------------
  |  Branch (8078:13): [True: 0, False: 14.3k]
  ------------------
 8079|      0|            dst.layoutPushConstant = true;
 8080|       |
 8081|  14.3k|        if (src.layoutBufferReference)
  ------------------
  |  Branch (8081:13): [True: 0, False: 14.3k]
  ------------------
 8082|      0|            dst.layoutBufferReference = true;
 8083|  14.3k|        if (src.layoutDescriptorBufferType)
  ------------------
  |  Branch (8083:13): [True: 0, False: 14.3k]
  ------------------
 8084|      0|            dst.layoutDescriptorBufferType = true;
 8085|       |
 8086|  14.3k|        if (src.layoutPassthrough)
  ------------------
  |  Branch (8086:13): [True: 0, False: 14.3k]
  ------------------
 8087|      0|            dst.layoutPassthrough = true;
 8088|  14.3k|        if (src.layoutViewportRelative)
  ------------------
  |  Branch (8088:13): [True: 0, False: 14.3k]
  ------------------
 8089|      0|            dst.layoutViewportRelative = true;
 8090|  14.3k|        if (src.layoutSecondaryViewportRelativeOffset != -2048)
  ------------------
  |  Branch (8090:13): [True: 0, False: 14.3k]
  ------------------
 8091|      0|            dst.layoutSecondaryViewportRelativeOffset = src.layoutSecondaryViewportRelativeOffset;
 8092|  14.3k|        if (src.layoutShaderRecord)
  ------------------
  |  Branch (8092:13): [True: 0, False: 14.3k]
  ------------------
 8093|      0|            dst.layoutShaderRecord = true;
 8094|  14.3k|        if (src.layoutFullQuads)
  ------------------
  |  Branch (8094:13): [True: 0, False: 14.3k]
  ------------------
 8095|      0|            dst.layoutFullQuads = true;
 8096|  14.3k|        if (src.layoutQuadDeriv)
  ------------------
  |  Branch (8096:13): [True: 0, False: 14.3k]
  ------------------
 8097|      0|            dst.layoutQuadDeriv = true;
 8098|  14.3k|        if (src.layoutBindlessSampler)
  ------------------
  |  Branch (8098:13): [True: 0, False: 14.3k]
  ------------------
 8099|      0|            dst.layoutBindlessSampler = true;
 8100|  14.3k|        if (src.layoutBindlessImage)
  ------------------
  |  Branch (8100:13): [True: 0, False: 14.3k]
  ------------------
 8101|      0|            dst.layoutBindlessImage = true;
 8102|  14.3k|        if (src.pervertexNV)
  ------------------
  |  Branch (8102:13): [True: 0, False: 14.3k]
  ------------------
 8103|      0|            dst.pervertexNV = true;
 8104|  14.3k|        if (src.pervertexEXT)
  ------------------
  |  Branch (8104:13): [True: 0, False: 14.3k]
  ------------------
 8105|      0|            dst.pervertexEXT = true;
 8106|  14.3k|        if (src.layoutHitObjectShaderRecordNV)
  ------------------
  |  Branch (8106:13): [True: 0, False: 14.3k]
  ------------------
 8107|      0|            dst.layoutHitObjectShaderRecordNV = true;
 8108|  14.3k|        dst.layoutTileAttachmentQCOM |= src.layoutTileAttachmentQCOM;
 8109|  14.3k|        if (src.layoutHitObjectShaderRecordEXT)
  ------------------
  |  Branch (8109:13): [True: 0, False: 14.3k]
  ------------------
 8110|      0|            dst.layoutHitObjectShaderRecordEXT = true;
 8111|  14.3k|        if (src.hasBank())
  ------------------
  |  Branch (8111:13): [True: 0, False: 14.3k]
  ------------------
 8112|      0|            dst.layoutBank = src.layoutBank;
 8113|  14.3k|        if (src.hasMemberOffset())
  ------------------
  |  Branch (8113:13): [True: 0, False: 14.3k]
  ------------------
 8114|      0|            dst.layoutMemberOffset = src.layoutMemberOffset;
 8115|  14.3k|    }
 8116|  14.3k|}
_ZN7glslang13TParseContext17layoutObjectCheckERKNS_10TSourceLocERKNS_7TSymbolE:
 8120|  1.97k|{
 8121|  1.97k|    const TType& type = symbol.getType();
 8122|  1.97k|    const TQualifier& qualifier = type.getQualifier();
 8123|       |
 8124|       |    // first, cross check WRT to just the type
 8125|  1.97k|    layoutTypeCheck(loc, type);
 8126|       |
 8127|       |    // now, any remaining error checking based on the object itself
 8128|       |
 8129|  1.97k|    if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (8129:9): [True: 0, False: 1.97k]
  ------------------
 8130|      0|        switch (qualifier.storage) {
 8131|      0|        case EvqUniform:
  ------------------
  |  Branch (8131:9): [True: 0, False: 0]
  ------------------
 8132|      0|        case EvqBuffer:
  ------------------
  |  Branch (8132:9): [True: 0, False: 0]
  ------------------
 8133|      0|            if (symbol.getAsVariable() == nullptr)
  ------------------
  |  Branch (8133:17): [True: 0, False: 0]
  ------------------
 8134|      0|                error(loc, "can only be used on variable declaration", "location", "");
 8135|      0|            break;
 8136|      0|        default:
  ------------------
  |  Branch (8136:9): [True: 0, False: 0]
  ------------------
 8137|      0|            break;
 8138|      0|        }
 8139|      0|    }
 8140|       |
 8141|       |    // user-variable location check, which are required for SPIR-V in/out:
 8142|       |    //  - variables have it directly,
 8143|       |    //  - blocks have it on each member (already enforced), so check first one
 8144|  1.97k|    if (spvVersion.spv > 0 && !parsingBuiltins && qualifier.builtIn == EbvNone &&
  ------------------
  |  Branch (8144:9): [True: 0, False: 1.97k]
  |  Branch (8144:31): [True: 0, False: 0]
  |  Branch (8144:51): [True: 0, False: 0]
  ------------------
 8145|      0|        !qualifier.hasLocation() && !intermediate.getAutoMapLocations()) {
  ------------------
  |  Branch (8145:9): [True: 0, False: 0]
  |  Branch (8145:37): [True: 0, False: 0]
  ------------------
 8146|       |
 8147|      0|        switch (qualifier.storage) {
 8148|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (8148:9): [True: 0, False: 0]
  ------------------
 8149|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (8149:9): [True: 0, False: 0]
  ------------------
 8150|      0|            if (!type.getQualifier().isTaskMemory() && !type.getQualifier().hasSpirvDecorate() &&
  ------------------
  |  Branch (8150:17): [True: 0, False: 0]
  |  Branch (8150:56): [True: 0, False: 0]
  ------------------
 8151|      0|                (type.getBasicType() != EbtBlock ||
  ------------------
  |  Branch (8151:18): [True: 0, False: 0]
  ------------------
 8152|      0|                 (type.getStruct()->size() > 0 &&
  ------------------
  |  Branch (8152:19): [True: 0, False: 0]
  ------------------
 8153|      0|                  !(*type.getStruct())[0].type->getQualifier().hasLocation() &&
  ------------------
  |  Branch (8153:19): [True: 0, False: 0]
  ------------------
 8154|      0|                   (*type.getStruct())[0].type->getQualifier().builtIn == EbvNone)))
  ------------------
  |  Branch (8154:20): [True: 0, False: 0]
  ------------------
 8155|      0|                error(loc, "SPIR-V requires location for user input/output", "location", "");
 8156|      0|            break;
 8157|      0|        default:
  ------------------
  |  Branch (8157:9): [True: 0, False: 0]
  ------------------
 8158|      0|            break;
 8159|      0|        }
 8160|      0|    }
 8161|       |
 8162|       |    // Check packing and matrix
 8163|  1.97k|    if (qualifier.hasUniformLayout()) {
  ------------------
  |  Branch (8163:9): [True: 0, False: 1.97k]
  ------------------
 8164|      0|        switch (qualifier.storage) {
 8165|      0|        case EvqUniform:
  ------------------
  |  Branch (8165:9): [True: 0, False: 0]
  ------------------
 8166|      0|        case EvqBuffer:
  ------------------
  |  Branch (8166:9): [True: 0, False: 0]
  ------------------
 8167|      0|            if (type.getBasicType() != EbtBlock) {
  ------------------
  |  Branch (8167:17): [True: 0, False: 0]
  ------------------
 8168|      0|                if (qualifier.hasMatrix())
  ------------------
  |  Branch (8168:21): [True: 0, False: 0]
  ------------------
 8169|      0|                    error(loc, "cannot specify matrix layout on a variable declaration", "layout", "");
 8170|      0|                if (qualifier.hasPacking())
  ------------------
  |  Branch (8170:21): [True: 0, False: 0]
  ------------------
 8171|      0|                    error(loc, "cannot specify packing on a variable declaration", "layout", "");
 8172|       |                // "The offset qualifier can only be used on block members of blocks..."
 8173|      0|                if (qualifier.hasOffset() && !type.isAtomic())
  ------------------
  |  Branch (8173:21): [True: 0, False: 0]
  |  Branch (8173:46): [True: 0, False: 0]
  ------------------
 8174|      0|                    error(loc, "cannot specify on a variable declaration", "offset", "");
 8175|       |                // "The align qualifier can only be used on blocks or block members..."
 8176|      0|                if (qualifier.hasAlign())
  ------------------
  |  Branch (8176:21): [True: 0, False: 0]
  ------------------
 8177|      0|                    error(loc, "cannot specify on a variable declaration", "align", "");
 8178|      0|                if (qualifier.isPushConstant())
  ------------------
  |  Branch (8178:21): [True: 0, False: 0]
  ------------------
 8179|      0|                    error(loc, "can only specify on a uniform block", "push_constant", "");
 8180|      0|                if (qualifier.isShaderRecord())
  ------------------
  |  Branch (8180:21): [True: 0, False: 0]
  ------------------
 8181|      0|                    error(loc, "can only specify on a buffer block", "shaderRecordNV", "");
 8182|      0|                if (qualifier.hasLocation() && type.isAtomic())
  ------------------
  |  Branch (8182:21): [True: 0, False: 0]
  |  Branch (8182:48): [True: 0, False: 0]
  ------------------
 8183|      0|                    error(loc, "cannot specify on atomic counter", "location", "");
 8184|      0|            }
 8185|      0|            break;
 8186|      0|        default:
  ------------------
  |  Branch (8186:9): [True: 0, False: 0]
  ------------------
 8187|       |            // these were already filtered by layoutTypeCheck() (or its callees)
 8188|      0|            break;
 8189|      0|        }
 8190|      0|    }
 8191|       |
 8192|       |    // Check that an in/out variable or block doesn't contain a boolean member
 8193|       |    // Don't enforce if redeclaring a builtin, which are allowed to contain bool
 8194|  1.97k|    if (!parsingBuiltins && type.containsBasicType(EbtBool) && !builtInName(symbol.getName())) {
  ------------------
  |  Branch (8194:9): [True: 0, False: 1.97k]
  |  Branch (8194:29): [True: 0, False: 0]
  |  Branch (8194:64): [True: 0, False: 0]
  ------------------
 8195|      0|        switch(qualifier.storage) {
 8196|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (8196:9): [True: 0, False: 0]
  ------------------
 8197|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (8197:9): [True: 0, False: 0]
  ------------------
 8198|      0|        {
 8199|      0|            const char *reason = type.getBasicType() == EbtBool ? "cannot be bool" : "cannot contain bool";
  ------------------
  |  Branch (8199:34): [True: 0, False: 0]
  ------------------
 8200|      0|            error(loc, reason, GetStorageQualifierString(qualifier.storage), "");
 8201|      0|            break;
 8202|      0|        }
 8203|      0|        default:
  ------------------
  |  Branch (8203:9): [True: 0, False: 0]
  ------------------
 8204|      0|            break;
 8205|      0|        }
 8206|      0|    }
 8207|  1.97k|}
_ZN7glslang13TParseContext30layoutMemberLocationArrayCheckERKNS_10TSourceLocEbPNS_11TArraySizesE:
 8218|     18|{
 8219|     18|    if (memberWithLocation && arraySizes != nullptr) {
  ------------------
  |  Branch (8219:9): [True: 0, False: 18]
  |  Branch (8219:31): [True: 0, False: 0]
  ------------------
 8220|      0|        if (arraySizes->getNumDims() > (currentBlockQualifier.isArrayedIo(language) ? 1 : 0))
  ------------------
  |  Branch (8220:13): [True: 0, False: 0]
  |  Branch (8220:41): [True: 0, False: 0]
  ------------------
 8221|      0|            error(loc, "cannot use in a block array where new locations are needed for each block element",
 8222|      0|                       "location", "");
 8223|      0|    }
 8224|     18|}
_ZN7glslang13TParseContext15layoutTypeCheckERKNS_10TSourceLocERKNS_5TTypeE:
 8228|  2.07k|{
 8229|  2.07k|    const TQualifier& qualifier = type.getQualifier();
 8230|       |
 8231|       |    // first, intra-layout qualifier-only error checking
 8232|  2.07k|    layoutQualifierCheck(loc, qualifier);
 8233|       |
 8234|       |    // now, error checking combining type and qualifier
 8235|       |
 8236|  2.07k|    if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (8236:9): [True: 0, False: 2.07k]
  ------------------
 8237|      0|        if (qualifier.hasLocation()) {
  ------------------
  |  Branch (8237:13): [True: 0, False: 0]
  ------------------
 8238|      0|            if (qualifier.storage == EvqVaryingOut && language == EShLangFragment) {
  ------------------
  |  Branch (8238:17): [True: 0, False: 0]
  |  Branch (8238:55): [True: 0, False: 0]
  ------------------
 8239|      0|                if (qualifier.layoutLocation >= (unsigned int)resources.maxDrawBuffers)
  ------------------
  |  Branch (8239:21): [True: 0, False: 0]
  ------------------
 8240|      0|                    error(loc, "too large for fragment output", "location", "");
 8241|      0|            }
 8242|      0|        }
 8243|      0|        if (qualifier.hasComponent()) {
  ------------------
  |  Branch (8243:13): [True: 0, False: 0]
  ------------------
 8244|       |            // "It is a compile-time error if this sequence of components gets larger than 3."
 8245|      0|            if (qualifier.layoutComponent + type.getVectorSize() * (type.getBasicType() == EbtDouble ? 2 : 1) > 4)
  ------------------
  |  Branch (8245:17): [True: 0, False: 0]
  |  Branch (8245:69): [True: 0, False: 0]
  ------------------
 8246|      0|                error(loc, "type overflows the available 4 components", "component", "");
 8247|       |
 8248|       |            // "It is a compile-time error to apply the component qualifier to a matrix, a structure, a block, or an array containing any of these."
 8249|      0|            if (type.isMatrix() || type.getBasicType() == EbtBlock || type.getBasicType() == EbtStruct)
  ------------------
  |  Branch (8249:17): [True: 0, False: 0]
  |  Branch (8249:36): [True: 0, False: 0]
  |  Branch (8249:71): [True: 0, False: 0]
  ------------------
 8250|      0|                error(loc, "cannot apply to a matrix, structure, or block", "component", "");
 8251|       |
 8252|       |            // " It is a compile-time error to use component 1 or 3 as the beginning of a double or dvec2."
 8253|      0|            if (type.getBasicType() == EbtDouble)
  ------------------
  |  Branch (8253:17): [True: 0, False: 0]
  ------------------
 8254|      0|                if (qualifier.layoutComponent & 1)
  ------------------
  |  Branch (8254:21): [True: 0, False: 0]
  ------------------
 8255|      0|                    error(loc, "doubles cannot start on an odd-numbered component", "component", "");
 8256|      0|        }
 8257|       |
 8258|      0|        switch (qualifier.storage) {
 8259|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (8259:9): [True: 0, False: 0]
  ------------------
 8260|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (8260:9): [True: 0, False: 0]
  ------------------
 8261|      0|            if (type.getBasicType() == EbtBlock)
  ------------------
  |  Branch (8261:17): [True: 0, False: 0]
  ------------------
 8262|      0|                profileRequires(loc, ECoreProfile | ECompatibilityProfile, 440, E_GL_ARB_enhanced_layouts, "location qualifier on in/out block");
 8263|      0|            if (type.getQualifier().isTaskMemory())
  ------------------
  |  Branch (8263:17): [True: 0, False: 0]
  ------------------
 8264|      0|                error(loc, "cannot apply to taskNV in/out blocks", "location", "");
 8265|      0|            break;
 8266|      0|        case EvqUniform:
  ------------------
  |  Branch (8266:9): [True: 0, False: 0]
  ------------------
 8267|      0|        case EvqBuffer:
  ------------------
  |  Branch (8267:9): [True: 0, False: 0]
  ------------------
 8268|      0|            if (type.getBasicType() == EbtBlock)
  ------------------
  |  Branch (8268:17): [True: 0, False: 0]
  ------------------
 8269|      0|                error(loc, "cannot apply to uniform or buffer block", "location", "");
 8270|      0|            else if (type.getBasicType() == EbtSampler && type.getSampler().isAttachmentEXT())
  ------------------
  |  Branch (8270:22): [True: 0, False: 0]
  |  Branch (8270:59): [True: 0, False: 0]
  ------------------
 8271|      0|                error(loc, "only applies to", "location", "%s with storage tileImageEXT", type.getBasicTypeString().c_str());
 8272|      0|            break;
 8273|      0|        case EvqtaskPayloadSharedEXT:
  ------------------
  |  Branch (8273:9): [True: 0, False: 0]
  ------------------
 8274|      0|            error(loc, "cannot apply to taskPayloadSharedEXT", "location", "");
 8275|      0|            break;
 8276|      0|        case EvqPayload:
  ------------------
  |  Branch (8276:9): [True: 0, False: 0]
  ------------------
 8277|      0|        case EvqPayloadIn:
  ------------------
  |  Branch (8277:9): [True: 0, False: 0]
  ------------------
 8278|      0|        case EvqHitAttr:
  ------------------
  |  Branch (8278:9): [True: 0, False: 0]
  ------------------
 8279|      0|        case EvqCallableData:
  ------------------
  |  Branch (8279:9): [True: 0, False: 0]
  ------------------
 8280|      0|        case EvqCallableDataIn:
  ------------------
  |  Branch (8280:9): [True: 0, False: 0]
  ------------------
 8281|      0|        case EvqHitObjectAttrNV:
  ------------------
  |  Branch (8281:9): [True: 0, False: 0]
  ------------------
 8282|      0|        case EvqHitObjectAttrEXT:
  ------------------
  |  Branch (8282:9): [True: 0, False: 0]
  ------------------
 8283|      0|        case EvqSpirvStorageClass:
  ------------------
  |  Branch (8283:9): [True: 0, False: 0]
  ------------------
 8284|      0|            break;
 8285|      0|        case EvqTileImageEXT:
  ------------------
  |  Branch (8285:9): [True: 0, False: 0]
  ------------------
 8286|      0|            break;
 8287|      0|        default:
  ------------------
  |  Branch (8287:9): [True: 0, False: 0]
  ------------------
 8288|      0|            error(loc, "can only apply to uniform, buffer, in, or out storage qualifiers", "location", "");
 8289|      0|            break;
 8290|      0|        }
 8291|       |
 8292|      0|        bool typeCollision;
 8293|      0|        int repeated = intermediate.addUsedLocation(qualifier, type, typeCollision);
 8294|      0|        if (repeated >= 0 && ! typeCollision)
  ------------------
  |  Branch (8294:13): [True: 0, False: 0]
  |  Branch (8294:30): [True: 0, False: 0]
  ------------------
 8295|      0|            error(loc, "overlapping use of location", "location", "%d", repeated);
 8296|       |        // When location aliasing, the aliases sharing the location must have the same underlying numerical type and bit width(
 8297|       |        // floating - point or integer, 32 - bit versus 64 - bit,etc.)
 8298|      0|        if (typeCollision && (qualifier.isPipeInput() || qualifier.isPipeOutput() || qualifier.storage == EvqTileImageEXT))
  ------------------
  |  Branch (8298:13): [True: 0, False: 0]
  |  Branch (8298:31): [True: 0, False: 0]
  |  Branch (8298:58): [True: 0, False: 0]
  |  Branch (8298:86): [True: 0, False: 0]
  ------------------
 8299|      0|            error(loc, "the aliases sharing the location", "location", "%d must be the same basic type and interpolation qualification", repeated);
 8300|      0|    }
 8301|       |
 8302|  2.07k|    if (qualifier.hasXfbOffset() && qualifier.hasXfbBuffer()) {
  ------------------
  |  Branch (8302:9): [True: 0, False: 2.07k]
  |  Branch (8302:37): [True: 0, False: 0]
  ------------------
 8303|      0|        if (type.isUnsizedArray()) {
  ------------------
  |  Branch (8303:13): [True: 0, False: 0]
  ------------------
 8304|      0|            error(loc, "unsized array", "xfb_offset", "in buffer %d", qualifier.layoutXfbBuffer);
 8305|      0|        } else {
 8306|      0|            int repeated = intermediate.addXfbBufferOffset(type);
 8307|      0|            if (repeated >= 0)
  ------------------
  |  Branch (8307:17): [True: 0, False: 0]
  ------------------
 8308|      0|                error(loc, "overlapping offsets at", "xfb_offset", "offset %d in buffer %d", repeated, qualifier.layoutXfbBuffer);
 8309|      0|        }
 8310|       |
 8311|       |        // "The offset must be a multiple of the size of the first component of the first
 8312|       |        // qualified variable or block member, or a compile-time error results. Further, if applied to an aggregate
 8313|       |        // containing a double or 64-bit integer, the offset must also be a multiple of 8..."
 8314|      0|        if ((type.containsBasicType(EbtDouble) || type.containsBasicType(EbtInt64) || type.containsBasicType(EbtUint64)) &&
  ------------------
  |  Branch (8314:14): [True: 0, False: 0]
  |  Branch (8314:51): [True: 0, False: 0]
  |  Branch (8314:87): [True: 0, False: 0]
  ------------------
 8315|      0|            ! IsMultipleOfPow2(qualifier.layoutXfbOffset, 8))
  ------------------
  |  Branch (8315:13): [True: 0, False: 0]
  ------------------
 8316|      0|            error(loc, "type contains double or 64-bit integer; xfb_offset must be a multiple of 8", "xfb_offset", "");
 8317|      0|        else if ((type.containsBasicType(EbtBool) || type.containsBasicType(EbtFloat) ||
  ------------------
  |  Branch (8317:19): [True: 0, False: 0]
  |  Branch (8317:54): [True: 0, False: 0]
  ------------------
 8318|      0|                  type.containsBasicType(EbtInt) || type.containsBasicType(EbtUint)) &&
  ------------------
  |  Branch (8318:19): [True: 0, False: 0]
  |  Branch (8318:53): [True: 0, False: 0]
  ------------------
 8319|      0|                 ! IsMultipleOfPow2(qualifier.layoutXfbOffset, 4))
  ------------------
  |  Branch (8319:18): [True: 0, False: 0]
  ------------------
 8320|      0|            error(loc, "must be a multiple of size of first component", "xfb_offset", "");
 8321|       |        // ..., if applied to an aggregate containing a half float or 16-bit integer, the offset must also be a multiple of 2..."
 8322|      0|        else if ((type.contains16BitFloat() || type.containsBasicType(EbtInt16) || type.containsBasicType(EbtUint16)) &&
  ------------------
  |  Branch (8322:19): [True: 0, False: 0]
  |  Branch (8322:48): [True: 0, False: 0]
  |  Branch (8322:84): [True: 0, False: 0]
  ------------------
 8323|      0|                 !IsMultipleOfPow2(qualifier.layoutXfbOffset, 2))
  ------------------
  |  Branch (8323:18): [True: 0, False: 0]
  ------------------
 8324|      0|            error(loc, "type contains half float or 16-bit integer; xfb_offset must be a multiple of 2", "xfb_offset", "");
 8325|      0|    }
 8326|  2.07k|    if (qualifier.hasXfbStride() && qualifier.hasXfbBuffer()) {
  ------------------
  |  Branch (8326:9): [True: 0, False: 2.07k]
  |  Branch (8326:37): [True: 0, False: 0]
  ------------------
 8327|      0|        if (! intermediate.setXfbBufferStride(qualifier.layoutXfbBuffer, qualifier.layoutXfbStride))
  ------------------
  |  Branch (8327:13): [True: 0, False: 0]
  ------------------
 8328|      0|            error(loc, "all stride settings must match for xfb buffer", "xfb_stride", "%d", qualifier.layoutXfbBuffer);
 8329|      0|    }
 8330|       |
 8331|  2.07k|    if (qualifier.hasBinding()) {
  ------------------
  |  Branch (8331:9): [True: 0, False: 2.07k]
  ------------------
 8332|       |        // Binding checking, from the spec:
 8333|       |        //
 8334|       |        // "If the binding point for any uniform or shader storage block instance is less than zero, or greater than or
 8335|       |        // equal to the implementation-dependent maximum number of uniform buffer bindings, a compile-time
 8336|       |        // error will occur. When the binding identifier is used with a uniform or shader storage block instanced as
 8337|       |        // an array of size N, all elements of the array from binding through binding + N - 1 must be within this
 8338|       |        // range."
 8339|       |        //
 8340|      0|        if (!type.isOpaque() && type.getBasicType() != EbtBlock && type.getBasicType() != EbtSpirvType)
  ------------------
  |  Branch (8340:13): [True: 0, False: 0]
  |  Branch (8340:33): [True: 0, False: 0]
  |  Branch (8340:68): [True: 0, False: 0]
  ------------------
 8341|      0|            error(loc, "requires block, or sampler/image, or atomic-counter type", "binding", "");
 8342|      0|        if (type.getBasicType() == EbtSampler) {
  ------------------
  |  Branch (8342:13): [True: 0, False: 0]
  ------------------
 8343|      0|            int lastBinding = qualifier.layoutBinding;
 8344|      0|            if (type.isArray()) {
  ------------------
  |  Branch (8344:17): [True: 0, False: 0]
  ------------------
 8345|      0|                if (spvVersion.vulkan == 0) {
  ------------------
  |  Branch (8345:21): [True: 0, False: 0]
  ------------------
 8346|      0|                    if (type.isSizedArray())
  ------------------
  |  Branch (8346:25): [True: 0, False: 0]
  ------------------
 8347|      0|                        lastBinding += (type.getCumulativeArraySize() - 1);
 8348|      0|                    else {
 8349|      0|                        warn(loc, "assuming binding count of one for compile-time checking of binding numbers for unsized array", "[]", "");
 8350|      0|                    }
 8351|      0|                }
 8352|      0|            }
 8353|      0|            if (spvVersion.vulkan == 0 && lastBinding >= resources.maxCombinedTextureImageUnits)
  ------------------
  |  Branch (8353:17): [True: 0, False: 0]
  |  Branch (8353:43): [True: 0, False: 0]
  ------------------
 8354|      0|                error(loc, "sampler binding not less than gl_MaxCombinedTextureImageUnits", "binding", type.isArray() ? "(using array)" : "");
  ------------------
  |  Branch (8354:104): [True: 0, False: 0]
  ------------------
 8355|      0|        }
 8356|      0|        if (type.isAtomic() && !spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (8356:13): [True: 0, False: 0]
  |  Branch (8356:32): [True: 0, False: 0]
  ------------------
 8357|      0|            if (qualifier.layoutBinding >= resources.maxAtomicCounterBindings) {
  ------------------
  |  Branch (8357:17): [True: 0, False: 0]
  ------------------
 8358|      0|                error(loc, "atomic_uint binding is too large; see gl_MaxAtomicCounterBindings", "binding", "");
 8359|      0|                return;
 8360|      0|            }
 8361|      0|        }
 8362|  2.07k|    } else if (!intermediate.getAutoMapBindings()) {
  ------------------
  |  Branch (8362:16): [True: 2.07k, False: 0]
  ------------------
 8363|       |        // some types require bindings
 8364|       |
 8365|       |        // atomic_uint
 8366|  2.07k|        if (type.isAtomic())
  ------------------
  |  Branch (8366:13): [True: 0, False: 2.07k]
  ------------------
 8367|      0|            error(loc, "layout(binding=X) is required", "atomic_uint", "");
 8368|       |
 8369|       |        // SPIR-V
 8370|  2.07k|        if (spvVersion.spv > 0) {
  ------------------
  |  Branch (8370:13): [True: 0, False: 2.07k]
  ------------------
 8371|      0|            if (qualifier.isUniformOrBuffer() && !intermediate.IsRequestedExtension(E_GL_EXT_descriptor_heap)) {
  ------------------
  |  Branch (8371:17): [True: 0, False: 0]
  |  Branch (8371:50): [True: 0, False: 0]
  ------------------
 8372|      0|                if (type.getBasicType() == EbtBlock && !qualifier.isPushConstant() &&
  ------------------
  |  Branch (8372:21): [True: 0, False: 0]
  |  Branch (8372:56): [True: 0, False: 0]
  ------------------
 8373|      0|                       !qualifier.isShaderRecord() &&
  ------------------
  |  Branch (8373:24): [True: 0, False: 0]
  ------------------
 8374|      0|                       !qualifier.hasAttachment() &&
  ------------------
  |  Branch (8374:24): [True: 0, False: 0]
  ------------------
 8375|      0|                       !qualifier.hasBufferReference())
  ------------------
  |  Branch (8375:24): [True: 0, False: 0]
  ------------------
 8376|      0|                    error(loc, "uniform/buffer blocks require layout(binding=X)", "binding", "");
 8377|      0|                else if (spvVersion.vulkan > 0 && type.getBasicType() == EbtSampler && !type.getSampler().isAttachmentEXT())
  ------------------
  |  Branch (8377:26): [True: 0, False: 0]
  |  Branch (8377:51): [True: 0, False: 0]
  |  Branch (8377:88): [True: 0, False: 0]
  ------------------
 8378|      0|                    error(loc, "sampler/texture/image requires layout(binding=X)", "binding", "");
 8379|      0|            }
 8380|      0|        }
 8381|  2.07k|    }
 8382|       |
 8383|       |    // some things can't have arrays of arrays
 8384|  2.07k|    if (type.isArrayOfArrays()) {
  ------------------
  |  Branch (8384:9): [True: 6, False: 2.06k]
  ------------------
 8385|      6|        if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (8385:13): [True: 0, False: 6]
  ------------------
 8386|      0|            if (type.isOpaque() || (type.getQualifier().isUniformOrBuffer() && type.getBasicType() == EbtBlock))
  ------------------
  |  Branch (8386:17): [True: 0, False: 0]
  |  Branch (8386:37): [True: 0, False: 0]
  |  Branch (8386:80): [True: 0, False: 0]
  ------------------
 8387|      0|                warn(loc, "Generating SPIR-V array-of-arrays, but Vulkan only supports single array level for this resource", "[][]", "");
 8388|      0|        }
 8389|      6|    }
 8390|       |
 8391|       |    // "The offset qualifier can only be used on block members of blocks..."
 8392|  2.07k|    if (qualifier.hasOffset()) {
  ------------------
  |  Branch (8392:9): [True: 0, False: 2.07k]
  ------------------
 8393|      0|        if (type.getBasicType() == EbtBlock)
  ------------------
  |  Branch (8393:13): [True: 0, False: 0]
  ------------------
 8394|      0|            error(loc, "only applies to block members, not blocks", "offset", "");
 8395|      0|    }
 8396|       |
 8397|       |    // Image format
 8398|  2.07k|    if (qualifier.hasFormat()) {
  ------------------
  |  Branch (8398:9): [True: 0, False: 2.07k]
  ------------------
 8399|      0|        if (! type.isImage() && !intermediate.getBindlessImageMode())
  ------------------
  |  Branch (8399:13): [True: 0, False: 0]
  |  Branch (8399:33): [True: 0, False: 0]
  ------------------
 8400|      0|            error(loc, "only apply to images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8401|      0|        else {
 8402|      0|            if (type.getSampler().type == EbtFloat && qualifier.getFormat() > ElfFloatGuard)
  ------------------
  |  Branch (8402:17): [True: 0, False: 0]
  |  Branch (8402:55): [True: 0, False: 0]
  ------------------
 8403|      0|                error(loc, "does not apply to floating point images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8404|      0|            if (type.getSampler().type == EbtInt && (qualifier.getFormat() < ElfFloatGuard || qualifier.getFormat() > ElfIntGuard))
  ------------------
  |  Branch (8404:17): [True: 0, False: 0]
  |  Branch (8404:54): [True: 0, False: 0]
  |  Branch (8404:95): [True: 0, False: 0]
  ------------------
 8405|      0|                error(loc, "does not apply to signed integer images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8406|      0|            if (type.getSampler().type == EbtUint && qualifier.getFormat() < ElfIntGuard)
  ------------------
  |  Branch (8406:17): [True: 0, False: 0]
  |  Branch (8406:54): [True: 0, False: 0]
  ------------------
 8407|      0|                error(loc, "does not apply to unsigned integer images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8408|       |
 8409|      0|            if (isEsProfile()) {
  ------------------
  |  Branch (8409:17): [True: 0, False: 0]
  ------------------
 8410|       |                // "Except for image variables qualified with the format qualifiers r32f, r32i, and r32ui, image variables must
 8411|       |                // specify either memory qualifier readonly or the memory qualifier writeonly."
 8412|      0|                if (! (qualifier.getFormat() == ElfR32f || qualifier.getFormat() == ElfR32i || qualifier.getFormat() == ElfR32ui)) {
  ------------------
  |  Branch (8412:24): [True: 0, False: 0]
  |  Branch (8412:60): [True: 0, False: 0]
  |  Branch (8412:96): [True: 0, False: 0]
  ------------------
 8413|      0|                    if (! qualifier.isReadOnly() && ! qualifier.isWriteOnly())
  ------------------
  |  Branch (8413:25): [True: 0, False: 0]
  |  Branch (8413:53): [True: 0, False: 0]
  ------------------
 8414|      0|                        error(loc, "format requires readonly or writeonly memory qualifier", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8415|      0|                }
 8416|      0|            }
 8417|      0|        }
 8418|  2.07k|    } else if (type.isImage() && ! qualifier.isWriteOnly() && !intermediate.getBindlessImageMode()) {
  ------------------
  |  Branch (8418:16): [True: 0, False: 2.07k]
  |  Branch (8418:34): [True: 0, False: 0]
  |  Branch (8418:63): [True: 0, False: 0]
  ------------------
 8419|      0|        const char *explanation = "image variables not declared 'writeonly' and without a format layout qualifier";
 8420|      0|        requireProfile(loc, ECoreProfile | ECompatibilityProfile, explanation);
 8421|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 0, E_GL_EXT_shader_image_load_formatted, explanation);
 8422|      0|    }
 8423|       |
 8424|  2.07k|    if (qualifier.isPushConstant()) {
  ------------------
  |  Branch (8424:9): [True: 0, False: 2.07k]
  ------------------
 8425|      0|        if (type.getBasicType() != EbtBlock)
  ------------------
  |  Branch (8425:13): [True: 0, False: 0]
  ------------------
 8426|      0|            error(loc, "can only be used with a block", "push_constant", "");
 8427|      0|        if (type.isArray())
  ------------------
  |  Branch (8427:13): [True: 0, False: 0]
  ------------------
 8428|      0|            error(loc, "Push constants blocks can't be an array", "push_constant", "");
 8429|      0|    }
 8430|       |
 8431|  2.07k|    if (type.getBasicType() == EbtReference) {
  ------------------
  |  Branch (8431:9): [True: 0, False: 2.07k]
  ------------------
 8432|      0|        if (qualifier.isPipeInput())
  ------------------
  |  Branch (8432:13): [True: 0, False: 0]
  ------------------
 8433|      0|            error(loc, "cannot contain any structs with buffer_reference.", "in",
 8434|      0|                  "If you want to interface shader stages with a buffer_reference cast to a uint64 or uvec2 instead.");
 8435|      0|        if (qualifier.isPipeOutput())
  ------------------
  |  Branch (8435:13): [True: 0, False: 0]
  ------------------
 8436|      0|            error(loc, "cannot contain any structs with buffer_reference.", "out",
 8437|      0|                  "If you want to interface shader stages with a buffer_reference cast to a uint64 or uvec2 instead.");
 8438|      0|    }
 8439|       |
 8440|  2.07k|    if (qualifier.hasBufferReference() && type.getBasicType() != EbtBlock)
  ------------------
  |  Branch (8440:9): [True: 0, False: 2.07k]
  |  Branch (8440:43): [True: 0, False: 0]
  ------------------
 8441|      0|        error(loc, "can only be used with a block", "buffer_reference", "");
 8442|       |
 8443|  2.07k|    if (qualifier.isShaderRecord() && type.getBasicType() != EbtBlock)
  ------------------
  |  Branch (8443:9): [True: 0, False: 2.07k]
  |  Branch (8443:39): [True: 0, False: 0]
  ------------------
 8444|      0|        error(loc, "can only be used with a block", "shaderRecordNV", "");
 8445|       |
 8446|       |    // input attachment
 8447|  2.07k|    if (type.isSubpass()) {
  ------------------
  |  Branch (8447:9): [True: 0, False: 2.07k]
  ------------------
 8448|      0|        if (extensionTurnedOn(E_GL_EXT_shader_tile_image))
  ------------------
  |  Branch (8448:13): [True: 0, False: 0]
  ------------------
 8449|      0|            error(loc, "cannot be used with GL_EXT_shader_tile_image enabled", type.getSampler().getString().c_str(),
 8450|      0|                  "");
 8451|      0|        if (!qualifier.hasAttachment() && (type.isArray() || !extensionTurnedOn(E_GL_EXT_optional_input_attachment_index)))
  ------------------
  |  Branch (8451:13): [True: 0, False: 0]
  |  Branch (8451:44): [True: 0, False: 0]
  |  Branch (8451:62): [True: 0, False: 0]
  ------------------
 8452|      0|            error(loc, "requires an input_attachment_index layout qualifier", "subpass", "");
 8453|  2.07k|    } else {
 8454|  2.07k|        if (qualifier.hasAttachment())
  ------------------
  |  Branch (8454:13): [True: 0, False: 2.07k]
  ------------------
 8455|      0|            error(loc, "can only be used with a subpass", "input_attachment_index", "");
 8456|  2.07k|    }
 8457|       |
 8458|       |    // specialization-constant id
 8459|  2.07k|    if (qualifier.hasSpecConstantId()) {
  ------------------
  |  Branch (8459:9): [True: 0, False: 2.07k]
  ------------------
 8460|      0|        if (type.getQualifier().storage != EvqConst)
  ------------------
  |  Branch (8460:13): [True: 0, False: 0]
  ------------------
 8461|      0|            error(loc, "can only be applied to 'const'-qualified scalar", "constant_id", "");
 8462|      0|        if (! type.isScalar())
  ------------------
  |  Branch (8462:13): [True: 0, False: 0]
  ------------------
 8463|      0|            error(loc, "can only be applied to a scalar", "constant_id", "");
 8464|      0|        switch (type.getBasicType())
 8465|      0|        {
 8466|      0|        case EbtInt8:
  ------------------
  |  Branch (8466:9): [True: 0, False: 0]
  ------------------
 8467|      0|        case EbtUint8:
  ------------------
  |  Branch (8467:9): [True: 0, False: 0]
  ------------------
 8468|      0|        case EbtInt16:
  ------------------
  |  Branch (8468:9): [True: 0, False: 0]
  ------------------
 8469|      0|        case EbtUint16:
  ------------------
  |  Branch (8469:9): [True: 0, False: 0]
  ------------------
 8470|      0|        case EbtInt:
  ------------------
  |  Branch (8470:9): [True: 0, False: 0]
  ------------------
 8471|      0|        case EbtUint:
  ------------------
  |  Branch (8471:9): [True: 0, False: 0]
  ------------------
 8472|      0|        case EbtInt64:
  ------------------
  |  Branch (8472:9): [True: 0, False: 0]
  ------------------
 8473|      0|        case EbtUint64:
  ------------------
  |  Branch (8473:9): [True: 0, False: 0]
  ------------------
 8474|      0|        case EbtBool:
  ------------------
  |  Branch (8474:9): [True: 0, False: 0]
  ------------------
 8475|      0|        case EbtFloat:
  ------------------
  |  Branch (8475:9): [True: 0, False: 0]
  ------------------
 8476|      0|        case EbtDouble:
  ------------------
  |  Branch (8476:9): [True: 0, False: 0]
  ------------------
 8477|      0|        case EbtFloat16:
  ------------------
  |  Branch (8477:9): [True: 0, False: 0]
  ------------------
 8478|      0|        case EbtBFloat16:
  ------------------
  |  Branch (8478:9): [True: 0, False: 0]
  ------------------
 8479|      0|        case EbtFloatE5M2:
  ------------------
  |  Branch (8479:9): [True: 0, False: 0]
  ------------------
 8480|      0|        case EbtFloatE4M3:
  ------------------
  |  Branch (8480:9): [True: 0, False: 0]
  ------------------
 8481|      0|        case EbtFloatE2M1:
  ------------------
  |  Branch (8481:9): [True: 0, False: 0]
  ------------------
 8482|      0|        case EbtFloatE3M2:
  ------------------
  |  Branch (8482:9): [True: 0, False: 0]
  ------------------
 8483|      0|        case EbtFloatE2M3:
  ------------------
  |  Branch (8483:9): [True: 0, False: 0]
  ------------------
 8484|      0|        case EbtFloatUE8M0:
  ------------------
  |  Branch (8484:9): [True: 0, False: 0]
  ------------------
 8485|      0|        case EbtFloatMXINT8:
  ------------------
  |  Branch (8485:9): [True: 0, False: 0]
  ------------------
 8486|      0|            break;
 8487|      0|        default:
  ------------------
  |  Branch (8487:9): [True: 0, False: 0]
  ------------------
 8488|      0|            error(loc, "cannot be applied to this type", "constant_id", "");
 8489|      0|            break;
 8490|      0|        }
 8491|      0|    }
 8492|  2.07k|}
_ZN7glslang13TParseContext20layoutQualifierCheckERKNS_10TSourceLocERKNS_10TQualifierE:
 8511|  2.07k|{
 8512|  2.07k|    if (qualifier.storage == EvqShared && qualifier.hasLayout()) {
  ------------------
  |  Branch (8512:9): [True: 0, False: 2.07k]
  |  Branch (8512:43): [True: 0, False: 0]
  ------------------
 8513|      0|        if (spvVersion.spv > 0 && spvVersion.spv < EShTargetSpv_1_4) {
  ------------------
  |  Branch (8513:13): [True: 0, False: 0]
  |  Branch (8513:35): [True: 0, False: 0]
  ------------------
 8514|      0|            error(loc, "shared block requires at least SPIR-V 1.4", "shared block", "");
 8515|      0|        }
 8516|      0|        profileRequires(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, 0, E_GL_EXT_shared_memory_block, "shared block");
 8517|      0|    }
 8518|       |
 8519|       |    // "It is a compile-time error to use *component* without also specifying the location qualifier (order does not matter)."
 8520|  2.07k|    if (qualifier.hasComponent() && ! qualifier.hasLocation())
  ------------------
  |  Branch (8520:9): [True: 0, False: 2.07k]
  |  Branch (8520:37): [True: 0, False: 0]
  ------------------
 8521|      0|        error(loc, "must specify 'location' to use 'component'", "component", "");
 8522|       |
 8523|  2.07k|    if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (8523:9): [True: 0, False: 2.07k]
  ------------------
 8524|       |
 8525|       |        // "As with input layout qualifiers, all shaders except compute shaders
 8526|       |        // allow *location* layout qualifiers on output variable declarations,
 8527|       |        // output block declarations, and output block member declarations."
 8528|       |
 8529|      0|        switch (qualifier.storage) {
 8530|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (8530:9): [True: 0, False: 0]
  ------------------
 8531|      0|        {
 8532|      0|            const char* feature = "location qualifier on input";
 8533|      0|            if (isEsProfile() && version < 310)
  ------------------
  |  Branch (8533:17): [True: 0, False: 0]
  |  Branch (8533:34): [True: 0, False: 0]
  ------------------
 8534|      0|                requireStage(loc, EShLangVertex, feature);
 8535|      0|            else
 8536|      0|                requireStage(loc, (EShLanguageMask)~EShLangComputeMask, feature);
 8537|      0|            if (language == EShLangVertex) {
  ------------------
  |  Branch (8537:17): [True: 0, False: 0]
  ------------------
 8538|      0|                const char* exts[2] = { E_GL_ARB_separate_shader_objects, E_GL_ARB_explicit_attrib_location };
 8539|      0|                profileRequires(loc, ~EEsProfile, 330, 2, exts, feature);
 8540|      0|                profileRequires(loc, EEsProfile, 300, nullptr, feature);
 8541|      0|            } else {
 8542|      0|                profileRequires(loc, ~EEsProfile, 410, E_GL_ARB_separate_shader_objects, feature);
 8543|      0|                profileRequires(loc, EEsProfile, 310, nullptr, feature);
 8544|      0|            }
 8545|      0|            break;
 8546|      0|        }
 8547|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (8547:9): [True: 0, False: 0]
  ------------------
 8548|      0|        {
 8549|      0|            const char* feature = "location qualifier on output";
 8550|      0|            if (isEsProfile() && version < 310)
  ------------------
  |  Branch (8550:17): [True: 0, False: 0]
  |  Branch (8550:34): [True: 0, False: 0]
  ------------------
 8551|      0|                requireStage(loc, EShLangFragment, feature);
 8552|      0|            else
 8553|      0|                requireStage(loc, (EShLanguageMask)~EShLangComputeMask, feature);
 8554|      0|            if (language == EShLangFragment) {
  ------------------
  |  Branch (8554:17): [True: 0, False: 0]
  ------------------
 8555|      0|                const char* exts[2] = { E_GL_ARB_separate_shader_objects, E_GL_ARB_explicit_attrib_location };
 8556|      0|                profileRequires(loc, ~EEsProfile, 330, 2, exts, feature);
 8557|      0|                profileRequires(loc, EEsProfile, 300, nullptr, feature);
 8558|      0|            } else {
 8559|      0|                profileRequires(loc, ~EEsProfile, 410, E_GL_ARB_separate_shader_objects, feature);
 8560|      0|                profileRequires(loc, EEsProfile, 310, nullptr, feature);
 8561|      0|            }
 8562|      0|            break;
 8563|      0|        }
 8564|      0|        case EvqUniform:
  ------------------
  |  Branch (8564:9): [True: 0, False: 0]
  ------------------
 8565|      0|        case EvqBuffer:
  ------------------
  |  Branch (8565:9): [True: 0, False: 0]
  ------------------
 8566|      0|        {
 8567|      0|            const char* feature = "location qualifier on uniform or buffer";
 8568|      0|            requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile | ENoProfile, feature);
 8569|      0|            profileRequires(loc, ~EEsProfile, 330, E_GL_ARB_explicit_attrib_location, feature);
 8570|      0|            profileRequires(loc, ~EEsProfile, 430, E_GL_ARB_explicit_uniform_location, feature);
 8571|      0|            profileRequires(loc, EEsProfile, 310, nullptr, feature);
 8572|      0|            break;
 8573|      0|        }
 8574|      0|        default:
  ------------------
  |  Branch (8574:9): [True: 0, False: 0]
  ------------------
 8575|      0|            break;
 8576|      0|        }
 8577|      0|        if (qualifier.hasIndex()) {
  ------------------
  |  Branch (8577:13): [True: 0, False: 0]
  ------------------
 8578|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (8578:17): [True: 0, False: 0]
  ------------------
 8579|      0|                error(loc, "can only be used on an output", "index", "");
 8580|      0|            if (! qualifier.hasLocation())
  ------------------
  |  Branch (8580:17): [True: 0, False: 0]
  ------------------
 8581|      0|                error(loc, "can only be used with an explicit location", "index", "");
 8582|      0|        }
 8583|      0|    }
 8584|       |
 8585|  2.07k|    if (qualifier.hasBinding()) {
  ------------------
  |  Branch (8585:9): [True: 0, False: 2.07k]
  ------------------
 8586|      0|        if (! qualifier.isUniformOrBuffer() && !qualifier.isTaskMemory() && !qualifier.isTileAttachmentQCOM())
  ------------------
  |  Branch (8586:13): [True: 0, False: 0]
  |  Branch (8586:48): [True: 0, False: 0]
  |  Branch (8586:77): [True: 0, False: 0]
  ------------------
 8587|      0|            error(loc, "requires uniform or buffer or tile image storage qualifier", "binding", "");
 8588|      0|    }
 8589|  2.07k|    if (qualifier.hasStream()) {
  ------------------
  |  Branch (8589:9): [True: 28, False: 2.04k]
  ------------------
 8590|     28|        if (!qualifier.isPipeOutput())
  ------------------
  |  Branch (8590:13): [True: 0, False: 28]
  ------------------
 8591|      0|            error(loc, "can only be used on an output", "stream", "");
 8592|     28|    }
 8593|  2.07k|    if (qualifier.hasXfb()) {
  ------------------
  |  Branch (8593:9): [True: 106, False: 1.96k]
  ------------------
 8594|    106|        if (!qualifier.isPipeOutput())
  ------------------
  |  Branch (8594:13): [True: 0, False: 106]
  ------------------
 8595|      0|            error(loc, "can only be used on an output", "xfb layout qualifier", "");
 8596|    106|    }
 8597|  2.07k|    if (qualifier.hasUniformLayout()) {
  ------------------
  |  Branch (8597:9): [True: 0, False: 2.07k]
  ------------------
 8598|      0|        if (!storageCanHaveLayoutInBlock(qualifier.storage) && !qualifier.isTaskMemory()) {
  ------------------
  |  Branch (8598:13): [True: 0, False: 0]
  |  Branch (8598:64): [True: 0, False: 0]
  ------------------
 8599|      0|            if (qualifier.hasMatrix() || qualifier.hasPacking())
  ------------------
  |  Branch (8599:17): [True: 0, False: 0]
  |  Branch (8599:42): [True: 0, False: 0]
  ------------------
 8600|      0|                error(loc, "matrix or packing qualifiers can only be used on a uniform or buffer", "layout", "");
 8601|      0|            if (qualifier.hasOffset() || qualifier.hasAlign())
  ------------------
  |  Branch (8601:17): [True: 0, False: 0]
  |  Branch (8601:42): [True: 0, False: 0]
  ------------------
 8602|      0|                error(loc, "offset/align can only be used on a uniform or buffer", "layout", "");
 8603|      0|        }
 8604|      0|    }
 8605|  2.07k|    if (qualifier.isPushConstant()) {
  ------------------
  |  Branch (8605:9): [True: 0, False: 2.07k]
  ------------------
 8606|      0|        if (qualifier.storage != EvqUniform)
  ------------------
  |  Branch (8606:13): [True: 0, False: 0]
  ------------------
 8607|      0|            error(loc, "can only be used with a uniform", "push_constant", "");
 8608|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (8608:13): [True: 0, False: 0]
  ------------------
 8609|      0|            error(loc, "cannot be used with push_constant", "set", "");
 8610|      0|        if (qualifier.hasBinding())
  ------------------
  |  Branch (8610:13): [True: 0, False: 0]
  ------------------
 8611|      0|            error(loc, "cannot be used with push_constant", "binding", "");
 8612|      0|    }
 8613|  2.07k|    if (qualifier.hasBufferReference()) {
  ------------------
  |  Branch (8613:9): [True: 0, False: 2.07k]
  ------------------
 8614|      0|        if (qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (8614:13): [True: 0, False: 0]
  ------------------
 8615|      0|            error(loc, "can only be used with buffer", "buffer_reference", "");
 8616|      0|    }
 8617|  2.07k|    if (qualifier.isBufferType()) {
  ------------------
  |  Branch (8617:9): [True: 0, False: 2.07k]
  ------------------
 8618|      0|        if (qualifier.storage != EvqUniform && qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (8618:13): [True: 0, False: 0]
  |  Branch (8618:48): [True: 0, False: 0]
  ------------------
 8619|      0|            error(loc, "can only be used with uniform or buffer", "buffer_type", "");
 8620|      0|    }
 8621|  2.07k|    if (qualifier.isShaderRecord()) {
  ------------------
  |  Branch (8621:9): [True: 0, False: 2.07k]
  ------------------
 8622|      0|        if (qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (8622:13): [True: 0, False: 0]
  ------------------
 8623|      0|            error(loc, "can only be used with a buffer", "shaderRecordNV", "");
 8624|      0|        if (qualifier.hasBinding())
  ------------------
  |  Branch (8624:13): [True: 0, False: 0]
  ------------------
 8625|      0|            error(loc, "cannot be used with shaderRecordNV", "binding", "");
 8626|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (8626:13): [True: 0, False: 0]
  ------------------
 8627|      0|            error(loc, "cannot be used with shaderRecordNV", "set", "");
 8628|       |
 8629|      0|    }
 8630|       |
 8631|  2.07k|    if (qualifier.storage == EvqTileImageEXT) {
  ------------------
  |  Branch (8631:9): [True: 0, False: 2.07k]
  ------------------
 8632|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (8632:13): [True: 0, False: 0]
  ------------------
 8633|      0|            error(loc, "cannot be used with tileImageEXT", "set", "");
 8634|      0|        if (!qualifier.hasLocation())
  ------------------
  |  Branch (8634:13): [True: 0, False: 0]
  ------------------
 8635|      0|            error(loc, "can only be used with an explicit location", "tileImageEXT", "");
 8636|      0|    }
 8637|       |
 8638|  2.07k|    if (qualifier.storage == EvqHitAttr && qualifier.hasLayout()) {
  ------------------
  |  Branch (8638:9): [True: 0, False: 2.07k]
  |  Branch (8638:44): [True: 0, False: 0]
  ------------------
 8639|      0|        error(loc, "cannot apply layout qualifiers to hitAttributeNV variable", "hitAttributeNV", "");
 8640|      0|    }
 8641|  2.07k|    if (qualifier.hasBank()) {
  ------------------
  |  Branch (8641:9): [True: 0, False: 2.07k]
  ------------------
 8642|      0|        if (!qualifier.isPushConstant())
  ------------------
  |  Branch (8642:13): [True: 0, False: 0]
  ------------------
 8643|      0|            error(loc, "can only be used with push_constant", "bank", "");
 8644|      0|    }
 8645|  2.07k|    if (qualifier.hasMemberOffset()) {
  ------------------
  |  Branch (8645:9): [True: 0, False: 2.07k]
  ------------------
 8646|      0|        if (!qualifier.isPushConstant())
  ------------------
  |  Branch (8646:13): [True: 0, False: 0]
  ------------------
 8647|      0|            error(loc, "can only be used with push_constant", "member_offset", "");
 8648|      0|    }
 8649|       |
 8650|  2.07k|    if (qualifier.layoutDescriptorStride != TQualifier::layoutDescriptorStrideEnd &&
  ------------------
  |  Branch (8650:9): [True: 0, False: 2.07k]
  ------------------
 8651|      0|        !qualifier.layoutDescriptorHeap)
  ------------------
  |  Branch (8651:9): [True: 0, False: 0]
  ------------------
 8652|      0|        error(loc, "must specify 'descriptor_heap' to use 'descriptor_stride'", "descriptor_stride", "");
 8653|  2.07k|    if ((qualifier.layoutHeapOffset != 0 || qualifier.layoutHeapOffsetNode != nullptr) && !qualifier.layoutDescriptorHeap &&
  ------------------
  |  Branch (8653:10): [True: 0, False: 2.07k]
  |  Branch (8653:45): [True: 0, False: 2.07k]
  |  Branch (8653:91): [True: 0, False: 0]
  ------------------
 8654|      0|        qualifier.storage != EvqSamplerHeap && qualifier.storage != EvqResourceHeap)
  ------------------
  |  Branch (8654:9): [True: 0, False: 0]
  |  Branch (8654:48): [True: 0, False: 0]
  ------------------
 8655|      0|        error(loc, "must specify 'descriptor_heap' to use 'heap_offset'", "heap_offset", "");
 8656|  2.07k|}
_ZN7glslang13TParseContext20checkNoShaderLayoutsERKNS_10TSourceLocERKNS_17TShaderQualifiersE:
 8660|  13.3k|{
 8661|  13.3k|    const char* message = "can only apply to a standalone qualifier";
 8662|       |
 8663|  13.3k|    if (shaderQualifiers.geometry != ElgNone)
  ------------------
  |  Branch (8663:9): [True: 0, False: 13.3k]
  ------------------
 8664|      0|        error(loc, message, TQualifier::getGeometryString(shaderQualifiers.geometry), "");
 8665|  13.3k|    if (shaderQualifiers.spacing != EvsNone)
  ------------------
  |  Branch (8665:9): [True: 0, False: 13.3k]
  ------------------
 8666|      0|        error(loc, message, TQualifier::getVertexSpacingString(shaderQualifiers.spacing), "");
 8667|  13.3k|    if (shaderQualifiers.order != EvoNone)
  ------------------
  |  Branch (8667:9): [True: 0, False: 13.3k]
  ------------------
 8668|      0|        error(loc, message, TQualifier::getVertexOrderString(shaderQualifiers.order), "");
 8669|  13.3k|    if (shaderQualifiers.pointMode)
  ------------------
  |  Branch (8669:9): [True: 0, False: 13.3k]
  ------------------
 8670|      0|        error(loc, message, "point_mode", "");
 8671|  13.3k|    if (shaderQualifiers.invocations != TQualifier::layoutNotSet)
  ------------------
  |  Branch (8671:9): [True: 0, False: 13.3k]
  ------------------
 8672|      0|        error(loc, message, "invocations", "");
 8673|  53.5k|    for (int i = 0; i < 3; ++i) {
  ------------------
  |  Branch (8673:21): [True: 40.1k, False: 13.3k]
  ------------------
 8674|  40.1k|        if (shaderQualifiers.localSize[i] > 1)
  ------------------
  |  Branch (8674:13): [True: 0, False: 40.1k]
  ------------------
 8675|      0|            error(loc, message, "local_size", "");
 8676|  40.1k|        if (shaderQualifiers.localSizeSpecId[i] != TQualifier::layoutNotSet)
  ------------------
  |  Branch (8676:13): [True: 0, False: 40.1k]
  ------------------
 8677|      0|            error(loc, message, "local_size id", "");
 8678|  40.1k|    }
 8679|  13.3k|    if (shaderQualifiers.vertices != TQualifier::layoutNotSet) {
  ------------------
  |  Branch (8679:9): [True: 0, False: 13.3k]
  ------------------
 8680|      0|        if (language == EShLangGeometry || language == EShLangMesh)
  ------------------
  |  Branch (8680:13): [True: 0, False: 0]
  |  Branch (8680:44): [True: 0, False: 0]
  ------------------
 8681|      0|            error(loc, message, "max_vertices", "");
 8682|      0|        else if (language == EShLangTessControl)
  ------------------
  |  Branch (8682:18): [True: 0, False: 0]
  ------------------
 8683|      0|            error(loc, message, "vertices", "");
 8684|      0|        else
 8685|      0|            assert(0);
 8686|      0|    }
 8687|  13.3k|    if (shaderQualifiers.earlyFragmentTests)
  ------------------
  |  Branch (8687:9): [True: 0, False: 13.3k]
  ------------------
 8688|      0|        error(loc, message, "early_fragment_tests", "");
 8689|  13.3k|    if (shaderQualifiers.postDepthCoverage)
  ------------------
  |  Branch (8689:9): [True: 0, False: 13.3k]
  ------------------
 8690|      0|        error(loc, message, "post_depth_coverage", "");
 8691|  13.3k|    if (shaderQualifiers.nonCoherentColorAttachmentReadEXT)
  ------------------
  |  Branch (8691:9): [True: 0, False: 13.3k]
  ------------------
 8692|      0|        error(loc, message, "non_coherent_color_attachment_readEXT", "");
 8693|  13.3k|    if (shaderQualifiers.nonCoherentDepthAttachmentReadEXT)
  ------------------
  |  Branch (8693:9): [True: 0, False: 13.3k]
  ------------------
 8694|      0|        error(loc, message, "non_coherent_depth_attachment_readEXT", "");
 8695|  13.3k|    if (shaderQualifiers.nonCoherentStencilAttachmentReadEXT)
  ------------------
  |  Branch (8695:9): [True: 0, False: 13.3k]
  ------------------
 8696|      0|        error(loc, message, "non_coherent_stencil_attachment_readEXT", "");
 8697|  13.3k|    if (shaderQualifiers.primitives != TQualifier::layoutNotSet) {
  ------------------
  |  Branch (8697:9): [True: 0, False: 13.3k]
  ------------------
 8698|      0|        if (language == EShLangMesh)
  ------------------
  |  Branch (8698:13): [True: 0, False: 0]
  ------------------
 8699|      0|            error(loc, message, "max_primitives", "");
 8700|      0|        else
 8701|      0|            assert(0);
 8702|      0|    }
 8703|  13.3k|    if (shaderQualifiers.hasBlendEquation())
  ------------------
  |  Branch (8703:9): [True: 0, False: 13.3k]
  ------------------
 8704|      0|        error(loc, message, "blend equation", "");
 8705|  13.3k|    if (shaderQualifiers.numViews != TQualifier::layoutNotSet)
  ------------------
  |  Branch (8705:9): [True: 0, False: 13.3k]
  ------------------
 8706|      0|        error(loc, message, "num_views", "");
 8707|  13.3k|    if (shaderQualifiers.interlockOrdering != EioNone)
  ------------------
  |  Branch (8707:9): [True: 0, False: 13.3k]
  ------------------
 8708|      0|        error(loc, message, TQualifier::getInterlockOrderingString(shaderQualifiers.interlockOrdering), "");
 8709|  13.3k|    if (shaderQualifiers.layoutPrimitiveCulling)
  ------------------
  |  Branch (8709:9): [True: 0, False: 13.3k]
  ------------------
 8710|      0|        error(loc, "can only be applied as standalone", "primitive_culling", "");
 8711|       |
 8712|  13.3k|    if (shaderQualifiers.layoutNonCoherentTileAttachmentReadQCOM)
  ------------------
  |  Branch (8712:9): [True: 0, False: 13.3k]
  ------------------
 8713|      0|        error(loc, message, "non_coherent_attachment_readQCOM", "");
 8714|  13.3k|    if (shaderQualifiers.layoutTileShadingRateQCOM[0] >= 1)
  ------------------
  |  Branch (8714:9): [True: 0, False: 13.3k]
  ------------------
 8715|      0|        error(loc, message, "shading_rate_xQCOM", "");
 8716|  13.3k|    if (shaderQualifiers.layoutTileShadingRateQCOM[1] >= 1)
  ------------------
  |  Branch (8716:9): [True: 0, False: 13.3k]
  ------------------
 8717|      0|        error(loc, message, "shading_rate_yQCOM", "");
 8718|  13.3k|    if (shaderQualifiers.layoutTileShadingRateQCOM[2] >= 1)
  ------------------
  |  Branch (8718:9): [True: 0, False: 13.3k]
  ------------------
 8719|      0|        error(loc, message, "shading_rate_zQCOM", "");
 8720|  13.3k|}
_ZN7glslang13TParseContext9fixOffsetERKNS_10TSourceLocERNS_7TSymbolE:
 8724|  1.95k|{
 8725|  1.95k|    const TQualifier& qualifier = symbol.getType().getQualifier();
 8726|  1.95k|    if (symbol.getType().isAtomic()) {
  ------------------
  |  Branch (8726:9): [True: 0, False: 1.95k]
  ------------------
 8727|      0|        if (qualifier.hasBinding() && (int)qualifier.layoutBinding < resources.maxAtomicCounterBindings) {
  ------------------
  |  Branch (8727:13): [True: 0, False: 0]
  |  Branch (8727:39): [True: 0, False: 0]
  ------------------
 8728|       |
 8729|       |            // Set the offset
 8730|      0|            int offset;
 8731|      0|            if (qualifier.hasOffset())
  ------------------
  |  Branch (8731:17): [True: 0, False: 0]
  ------------------
 8732|      0|                offset = qualifier.layoutOffset;
 8733|      0|            else
 8734|      0|                offset = atomicUintOffsets[qualifier.layoutBinding];
 8735|       |
 8736|      0|            if (offset % 4 != 0)
  ------------------
  |  Branch (8736:17): [True: 0, False: 0]
  ------------------
 8737|      0|                error(loc, "atomic counters offset should align based on 4:", "offset", "%d", offset);
 8738|       |
 8739|      0|            symbol.getWritableType().getQualifier().layoutOffset = offset;
 8740|       |
 8741|       |            // Check for overlap
 8742|      0|            int numOffsets = 4;
 8743|      0|            if (symbol.getType().isArray()) {
  ------------------
  |  Branch (8743:17): [True: 0, False: 0]
  ------------------
 8744|      0|                if (symbol.getType().isSizedArray() && !symbol.getType().getArraySizes()->isInnerUnsized())
  ------------------
  |  Branch (8744:21): [True: 0, False: 0]
  |  Branch (8744:56): [True: 0, False: 0]
  ------------------
 8745|      0|                    numOffsets *= symbol.getType().getCumulativeArraySize();
 8746|      0|                else {
 8747|       |                    // "It is a compile-time error to declare an unsized array of atomic_uint."
 8748|      0|                    error(loc, "array must be explicitly sized", "atomic_uint", "");
 8749|      0|                }
 8750|      0|            }
 8751|      0|            int repeated = intermediate.addUsedOffsets(qualifier.layoutBinding, offset, numOffsets);
 8752|      0|            if (repeated >= 0)
  ------------------
  |  Branch (8752:17): [True: 0, False: 0]
  ------------------
 8753|      0|                error(loc, "atomic counters sharing the same offset:", "offset", "%d", repeated);
 8754|       |
 8755|       |            // Bump the default offset
 8756|      0|            atomicUintOffsets[qualifier.layoutBinding] = offset + numOffsets;
 8757|      0|        }
 8758|      0|    }
 8759|  1.95k|}
_ZN7glslang13TParseContext19declareTypeDefaultsERKNS_10TSourceLocERKNS_11TPublicTypeE:
 9247|     74|{
 9248|     74|    if (publicType.basicType == EbtAtomicUint && publicType.qualifier.hasBinding()) {
  ------------------
  |  Branch (9248:9): [True: 0, False: 74]
  |  Branch (9248:50): [True: 0, False: 0]
  ------------------
 9249|      0|        if (publicType.qualifier.layoutBinding >= resources.maxAtomicCounterBindings) {
  ------------------
  |  Branch (9249:13): [True: 0, False: 0]
  ------------------
 9250|      0|            error(loc, "atomic_uint binding is too large", "binding", "");
 9251|      0|            return;
 9252|      0|        }
 9253|      0|        if (publicType.qualifier.hasOffset())
  ------------------
  |  Branch (9253:13): [True: 0, False: 0]
  ------------------
 9254|      0|            atomicUintOffsets[publicType.qualifier.layoutBinding] = publicType.qualifier.layoutOffset;
 9255|      0|        return;
 9256|      0|    }
 9257|       |
 9258|     74|    if (publicType.arraySizes) {
  ------------------
  |  Branch (9258:9): [True: 0, False: 74]
  ------------------
 9259|      0|        error(loc, "expect an array name", "", "");
 9260|      0|    }
 9261|       |
 9262|     74|    if (publicType.qualifier.hasLayout() && !publicType.qualifier.hasBufferReference())
  ------------------
  |  Branch (9262:9): [True: 0, False: 74]
  |  Branch (9262:45): [True: 0, False: 0]
  ------------------
 9263|      0|        warn(loc, "useless application of layout qualifier", "layout", "");
 9264|     74|}
_ZN7glslang13TParseContext19typeParametersCheckERKNS_10TSourceLocERKNS_11TPublicTypeE:
 9267|   150k|{
 9268|   150k|    if (parsingBuiltins)
  ------------------
  |  Branch (9268:9): [True: 150k, False: 0]
  ------------------
 9269|   150k|        return;
 9270|      0|    if (publicType.isCoopmatKHR()) {
  ------------------
  |  Branch (9270:9): [True: 0, False: 0]
  ------------------
 9271|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (9271:13): [True: 0, False: 0]
  ------------------
 9272|      0|            error(loc, "coopmat missing type parameters", "", "");
 9273|      0|            return;
 9274|      0|        }
 9275|      0|        switch (publicType.typeParameters->basicType) {
 9276|      0|        case EbtFloat:
  ------------------
  |  Branch (9276:9): [True: 0, False: 0]
  ------------------
 9277|      0|        case EbtFloat16:
  ------------------
  |  Branch (9277:9): [True: 0, False: 0]
  ------------------
 9278|      0|        case EbtBFloat16:
  ------------------
  |  Branch (9278:9): [True: 0, False: 0]
  ------------------
 9279|      0|        case EbtFloatE5M2:
  ------------------
  |  Branch (9279:9): [True: 0, False: 0]
  ------------------
 9280|      0|        case EbtFloatE4M3:
  ------------------
  |  Branch (9280:9): [True: 0, False: 0]
  ------------------
 9281|      0|        case EbtInt:
  ------------------
  |  Branch (9281:9): [True: 0, False: 0]
  ------------------
 9282|      0|        case EbtInt8:
  ------------------
  |  Branch (9282:9): [True: 0, False: 0]
  ------------------
 9283|      0|        case EbtInt16:
  ------------------
  |  Branch (9283:9): [True: 0, False: 0]
  ------------------
 9284|      0|        case EbtUint:
  ------------------
  |  Branch (9284:9): [True: 0, False: 0]
  ------------------
 9285|      0|        case EbtUint8:
  ------------------
  |  Branch (9285:9): [True: 0, False: 0]
  ------------------
 9286|      0|        case EbtUint16:
  ------------------
  |  Branch (9286:9): [True: 0, False: 0]
  ------------------
 9287|      0|        case EbtSpirvType:
  ------------------
  |  Branch (9287:9): [True: 0, False: 0]
  ------------------
 9288|      0|            break;
 9289|      0|        default:
  ------------------
  |  Branch (9289:9): [True: 0, False: 0]
  ------------------
 9290|      0|            error(loc, "coopmat invalid basic type", TType::getBasicString(publicType.typeParameters->basicType), "");
 9291|      0|            break;
 9292|      0|        }
 9293|      0|        if (publicType.typeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (9293:13): [True: 0, False: 0]
  ------------------
 9294|      0|            error(loc, "coopmat incorrect number of type parameters", "", "");
 9295|      0|            return;
 9296|      0|        }
 9297|      0|        int use = publicType.typeParameters->arraySizes->getDimSize(3);
 9298|      0|        if (use < 0 || use > 2) {
  ------------------
  |  Branch (9298:13): [True: 0, False: 0]
  |  Branch (9298:24): [True: 0, False: 0]
  ------------------
 9299|      0|            error(loc, "coopmat invalid matrix Use", "", "");
 9300|      0|            return;
 9301|      0|        }
 9302|      0|    }
 9303|      0|    if (publicType.isTensorLayoutNV()) {
  ------------------
  |  Branch (9303:9): [True: 0, False: 0]
  ------------------
 9304|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (9304:13): [True: 0, False: 0]
  ------------------
 9305|      0|            error(loc, "tensorLayout missing type parameters", "", "");
 9306|      0|            return;
 9307|      0|        }
 9308|      0|        if (publicType.typeParameters->arraySizes->getNumDims() > 2) {
  ------------------
  |  Branch (9308:13): [True: 0, False: 0]
  ------------------
 9309|      0|            error(loc, "tensorLayout incorrect number of type parameters", "", "");
 9310|      0|            return;
 9311|      0|        }
 9312|      0|        if (publicType.typeParameters && publicType.typeParameters->arraySizes->getNumDims() < 2) {
  ------------------
  |  Branch (9312:13): [True: 0, False: 0]
  |  Branch (9312:42): [True: 0, False: 0]
  ------------------
 9313|      0|            while (publicType.typeParameters->arraySizes->getNumDims() < 2) {
  ------------------
  |  Branch (9313:20): [True: 0, False: 0]
  ------------------
 9314|      0|                publicType.typeParameters->arraySizes->addInnerSize(0);
 9315|      0|            }
 9316|      0|        }
 9317|      0|    }
 9318|      0|    if (publicType.isTensorViewNV()) {
  ------------------
  |  Branch (9318:9): [True: 0, False: 0]
  ------------------
 9319|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (9319:13): [True: 0, False: 0]
  ------------------
 9320|      0|            error(loc, "tensorView missing type parameters", "", "");
 9321|      0|            return;
 9322|      0|        }
 9323|      0|        if (publicType.typeParameters->arraySizes->getNumDims() < 1 ||
  ------------------
  |  Branch (9323:13): [True: 0, False: 0]
  ------------------
 9324|      0|            publicType.typeParameters->arraySizes->getNumDims() > 7) {
  ------------------
  |  Branch (9324:13): [True: 0, False: 0]
  ------------------
 9325|      0|            error(loc, "tensorView incorrect number of type parameters", "", "");
 9326|      0|            return;
 9327|      0|        }
 9328|      0|        if (publicType.typeParameters && publicType.typeParameters->arraySizes->getNumDims() < 7) {
  ------------------
  |  Branch (9328:13): [True: 0, False: 0]
  |  Branch (9328:42): [True: 0, False: 0]
  ------------------
 9329|      0|            uint32_t numDims = publicType.typeParameters->arraySizes->getNumDims();
 9330|      0|            while (numDims < 7) {
  ------------------
  |  Branch (9330:20): [True: 0, False: 0]
  ------------------
 9331|      0|                uint32_t dim = (numDims == 1) ? 0 : (numDims - 2);
  ------------------
  |  Branch (9331:32): [True: 0, False: 0]
  ------------------
 9332|      0|                publicType.typeParameters->arraySizes->addInnerSize(dim);
 9333|      0|                numDims++;
 9334|      0|            }
 9335|      0|        }
 9336|      0|    }
 9337|      0|    if (publicType.isTensorARM()) {
  ------------------
  |  Branch (9337:9): [True: 0, False: 0]
  ------------------
 9338|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (9338:13): [True: 0, False: 0]
  ------------------
 9339|      0|            error(loc, "tensor type is missing type parameters", "", "");
 9340|      0|            return;
 9341|      0|        }
 9342|      0|        if (publicType.typeParameters->arraySizes == nullptr) {
  ------------------
  |  Branch (9342:13): [True: 0, False: 0]
  ------------------
 9343|      0|            error(loc, "tensor type is missing rank information", "", "");
 9344|      0|            return;
 9345|      0|        }
 9346|      0|        if (publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9346:13): [True: 0, False: 0]
  ------------------
 9347|      0|            error(loc, "tensor type requires exactly 1 rank specifier", "", "");
 9348|      0|            return;
 9349|      0|        }
 9350|      0|        if (publicType.typeParameters->arraySizes->getDimSize(0) < 1) {
  ------------------
  |  Branch (9350:13): [True: 0, False: 0]
  ------------------
 9351|      0|            error(loc, "tensor rank must be greater than or equal to 1", "", "");
 9352|      0|            return;
 9353|      0|        }
 9354|      0|    }
 9355|      0|    if (publicType.isLongVector() && !isValidLongVectorElseError(loc, publicType)) {
  ------------------
  |  Branch (9355:9): [True: 0, False: 0]
  |  Branch (9355:38): [True: 0, False: 0]
  ------------------
 9356|      0|        return;
 9357|      0|    }
 9358|      0|}
_ZN7glslang13TParseContext15declareVariableERKNS_10TSourceLocERNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_11TPublicTypeEPNS_11TArraySizesEPNS_12TIntermTypedE:
 9726|  1.95k|{
 9727|       |    // Make a fresh type that combines the characteristics from the individual
 9728|       |    // identifier syntax and the declaration-type syntax.
 9729|  1.95k|    TType type(publicType);
 9730|  1.95k|    type.transferArraySizes(arraySizes);
 9731|  1.95k|    type.copyArrayInnerSizes(publicType.arraySizes);
 9732|  1.95k|    arrayOfArrayVersionCheck(loc, type.getArraySizes());
 9733|       |
 9734|  1.95k|    if (initializer) {
  ------------------
  |  Branch (9734:9): [True: 706, False: 1.24k]
  ------------------
 9735|    706|        if (type.getBasicType() == EbtRayQuery) {
  ------------------
  |  Branch (9735:13): [True: 0, False: 706]
  ------------------
 9736|      0|            error(loc, "ray queries can only be initialized by using the rayQueryInitializeEXT intrinsic:", "=", identifier.c_str());
 9737|    706|        } else if ((type.getBasicType() == EbtHitObjectNV) || (type.getBasicType() == EbtHitObjectEXT)) {
  ------------------
  |  Branch (9737:20): [True: 0, False: 706]
  |  Branch (9737:63): [True: 0, False: 706]
  ------------------
 9738|      0|            error(loc, "hit objects cannot be initialized using initializers", "=", identifier.c_str());
 9739|      0|        }
 9740|       |
 9741|    706|    }
 9742|       |
 9743|  1.95k|    if (type.isCoopMatKHR()) {
  ------------------
  |  Branch (9743:9): [True: 0, False: 1.95k]
  ------------------
 9744|      0|        intermediate.setUseVulkanMemoryModel();
 9745|      0|        intermediate.setUseStorageBuffer();
 9746|       |
 9747|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes ||
  ------------------
  |  Branch (9747:13): [True: 0, False: 0]
  |  Branch (9747:43): [True: 0, False: 0]
  ------------------
 9748|      0|            publicType.typeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (9748:13): [True: 0, False: 0]
  ------------------
 9749|      0|            error(loc, "unexpected number type parameters", identifier.c_str(), "");
 9750|      0|        }
 9751|      0|        if (publicType.typeParameters) {
  ------------------
  |  Branch (9751:13): [True: 0, False: 0]
  ------------------
 9752|      0|            if (!isTypeFloat(publicType.typeParameters->basicType) &&
  ------------------
  |  Branch (9752:17): [True: 0, False: 0]
  ------------------
 9753|      0|                !isTypeInt(publicType.typeParameters->basicType) && publicType.typeParameters->basicType != EbtSpirvType) {
  ------------------
  |  Branch (9753:17): [True: 0, False: 0]
  |  Branch (9753:69): [True: 0, False: 0]
  ------------------
 9754|      0|                error(loc, "expected 8, 16, 32, or 64 bit signed or unsigned integer or 16, 32, or 64 bit float type", identifier.c_str(), "");
 9755|      0|            }
 9756|      0|        }
 9757|      0|    }
 9758|  1.95k|    else if (type.isCoopMatNV()) {
  ------------------
  |  Branch (9758:14): [True: 0, False: 1.95k]
  ------------------
 9759|      0|        intermediate.setUseVulkanMemoryModel();
 9760|      0|        intermediate.setUseStorageBuffer();
 9761|       |
 9762|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes || publicType.typeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (9762:13): [True: 0, False: 0]
  |  Branch (9762:43): [True: 0, False: 0]
  |  Branch (9762:85): [True: 0, False: 0]
  ------------------
 9763|      0|            error(loc, "expected four type parameters", identifier.c_str(), "");
 9764|      0|        } else {
 9765|      0|            if (isTypeFloat(publicType.basicType) &&
  ------------------
  |  Branch (9765:17): [True: 0, False: 0]
  ------------------
 9766|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 16 &&
  ------------------
  |  Branch (9766:17): [True: 0, False: 0]
  ------------------
 9767|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 32 &&
  ------------------
  |  Branch (9767:17): [True: 0, False: 0]
  ------------------
 9768|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 64) {
  ------------------
  |  Branch (9768:17): [True: 0, False: 0]
  ------------------
 9769|      0|                error(loc, "expected 16, 32, or 64 bits for first type parameter", identifier.c_str(), "");
 9770|      0|            }
 9771|      0|            if (isTypeInt(publicType.basicType) &&
  ------------------
  |  Branch (9771:17): [True: 0, False: 0]
  ------------------
 9772|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 8 &&
  ------------------
  |  Branch (9772:17): [True: 0, False: 0]
  ------------------
 9773|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 16 &&
  ------------------
  |  Branch (9773:17): [True: 0, False: 0]
  ------------------
 9774|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 32) {
  ------------------
  |  Branch (9774:17): [True: 0, False: 0]
  ------------------
 9775|      0|                error(loc, "expected 8, 16, or 32 bits for first type parameter", identifier.c_str(), "");
 9776|      0|            }
 9777|      0|        }
 9778|  1.95k|    } else if (type.isTensorLayoutNV()) {
  ------------------
  |  Branch (9778:16): [True: 0, False: 1.95k]
  ------------------
 9779|      0|        if (!publicType.typeParameters || publicType.typeParameters->arraySizes->getNumDims() > 2) {
  ------------------
  |  Branch (9779:13): [True: 0, False: 0]
  |  Branch (9779:43): [True: 0, False: 0]
  ------------------
 9780|      0|            error(loc, "expected 1-2 type parameters", identifier.c_str(), "");
 9781|      0|        }
 9782|  1.95k|    } else if (type.isTensorViewNV()) {
  ------------------
  |  Branch (9782:16): [True: 0, False: 1.95k]
  ------------------
 9783|      0|        if (!publicType.typeParameters || publicType.typeParameters->arraySizes->getNumDims() > 7) {
  ------------------
  |  Branch (9783:13): [True: 0, False: 0]
  |  Branch (9783:43): [True: 0, False: 0]
  ------------------
 9784|      0|            error(loc, "expected 1-7 type parameters", identifier.c_str(), "");
 9785|      0|        }
 9786|  1.95k|    } else if (type.isCoopVecNV()) {
  ------------------
  |  Branch (9786:16): [True: 0, False: 1.95k]
  ------------------
 9787|      0|        intermediate.setUseVulkanMemoryModel();
 9788|      0|        intermediate.setUseStorageBuffer();
 9789|       |
 9790|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes || publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9790:13): [True: 0, False: 0]
  |  Branch (9790:43): [True: 0, False: 0]
  |  Branch (9790:85): [True: 0, False: 0]
  ------------------
 9791|      0|            error(loc, "expected two type parameters", identifier.c_str(), "");
 9792|      0|        } else if (publicType.typeParameters->arraySizes->getDimNode(0) == nullptr && publicType.typeParameters->arraySizes->getDimSize(0) <= 0) {
  ------------------
  |  Branch (9792:20): [True: 0, False: 0]
  |  Branch (9792:87): [True: 0, False: 0]
  ------------------
 9793|      0|            error(loc, "expected positive number of components", identifier.c_str(), "");
 9794|      0|        }
 9795|  1.95k|    } else if (type.isLongVector()) {
  ------------------
  |  Branch (9795:16): [True: 0, False: 1.95k]
  ------------------
 9796|      0|        intermediate.setUseStorageBuffer();
 9797|       |
 9798|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes || publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9798:13): [True: 0, False: 0]
  |  Branch (9798:43): [True: 0, False: 0]
  |  Branch (9798:85): [True: 0, False: 0]
  ------------------
 9799|      0|            error(loc, "expected two type parameters", identifier.c_str(), "");
 9800|      0|        } else if (publicType.typeParameters->arraySizes->getDimNode(0) == nullptr && publicType.typeParameters->arraySizes->getDimSize(0) <= 0) {
  ------------------
  |  Branch (9800:20): [True: 0, False: 0]
  |  Branch (9800:87): [True: 0, False: 0]
  ------------------
 9801|      0|            error(loc, "expected positive number of components", identifier.c_str(), "");
 9802|      0|        }
 9803|  1.95k|    } else if (type.isTensorARM()) {
  ------------------
  |  Branch (9803:16): [True: 0, False: 1.95k]
  ------------------
 9804|      0|        intermediate.setUseStorageBuffer();
 9805|       |
 9806|      0|        if (!publicType.typeParameters || publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9806:13): [True: 0, False: 0]
  |  Branch (9806:43): [True: 0, False: 0]
  ------------------
 9807|      0|            error(loc, "expected two type parameters", identifier.c_str(), "");
 9808|      0|        }
 9809|      0|        if (publicType.typeParameters) {
  ------------------
  |  Branch (9809:13): [True: 0, False: 0]
  ------------------
 9810|      0|            if (publicType.typeParameters->basicType != EbtBool &&
  ------------------
  |  Branch (9810:17): [True: 0, False: 0]
  ------------------
 9811|      0|                publicType.typeParameters->basicType != EbtInt8 &&
  ------------------
  |  Branch (9811:17): [True: 0, False: 0]
  ------------------
 9812|      0|                publicType.typeParameters->basicType != EbtInt16 &&
  ------------------
  |  Branch (9812:17): [True: 0, False: 0]
  ------------------
 9813|      0|                publicType.typeParameters->basicType != EbtInt &&
  ------------------
  |  Branch (9813:17): [True: 0, False: 0]
  ------------------
 9814|      0|                publicType.typeParameters->basicType != EbtInt64 &&
  ------------------
  |  Branch (9814:17): [True: 0, False: 0]
  ------------------
 9815|      0|                publicType.typeParameters->basicType != EbtUint8 &&
  ------------------
  |  Branch (9815:17): [True: 0, False: 0]
  ------------------
 9816|      0|                publicType.typeParameters->basicType != EbtUint16 &&
  ------------------
  |  Branch (9816:17): [True: 0, False: 0]
  ------------------
 9817|      0|                publicType.typeParameters->basicType != EbtUint &&
  ------------------
  |  Branch (9817:17): [True: 0, False: 0]
  ------------------
 9818|      0|                publicType.typeParameters->basicType != EbtUint64 &&
  ------------------
  |  Branch (9818:17): [True: 0, False: 0]
  ------------------
 9819|      0|                publicType.typeParameters->basicType != EbtFloat16 &&
  ------------------
  |  Branch (9819:17): [True: 0, False: 0]
  ------------------
 9820|      0|                publicType.typeParameters->basicType != EbtFloat &&
  ------------------
  |  Branch (9820:17): [True: 0, False: 0]
  ------------------
 9821|      0|                publicType.typeParameters->basicType != EbtDouble &&
  ------------------
  |  Branch (9821:17): [True: 0, False: 0]
  ------------------
 9822|      0|                publicType.typeParameters->basicType != EbtBFloat16 &&
  ------------------
  |  Branch (9822:17): [True: 0, False: 0]
  ------------------
 9823|      0|                publicType.typeParameters->basicType != EbtFloatE5M2 &&
  ------------------
  |  Branch (9823:17): [True: 0, False: 0]
  ------------------
 9824|      0|                publicType.typeParameters->basicType != EbtFloatE4M3) {
  ------------------
  |  Branch (9824:17): [True: 0, False: 0]
  ------------------
 9825|      0|                error(loc, "expected bool, integer or floating point type parameter", identifier.c_str(), "");
 9826|      0|            }
 9827|       |
 9828|      0|            if (publicType.typeParameters->basicType == EbtBFloat16) {
  ------------------
  |  Branch (9828:17): [True: 0, False: 0]
  ------------------
 9829|      0|                requireExtensions(loc, 1, &E_GL_ARM_tensors_bfloat16, "tensor with bfloat16_t type");
 9830|      0|            }
 9831|       |
 9832|      0|            if (publicType.typeParameters->basicType == EbtFloatE5M2) {
  ------------------
  |  Branch (9832:17): [True: 0, False: 0]
  ------------------
 9833|      0|                requireExtensions(loc, 1, &E_GL_ARM_tensors_float_e5m2, "tensor with floate5m2_t type");
 9834|      0|            }
 9835|       |
 9836|      0|            if (publicType.typeParameters->basicType == EbtFloatE4M3) {
  ------------------
  |  Branch (9836:17): [True: 0, False: 0]
  ------------------
 9837|      0|                requireExtensions(loc, 1, &E_GL_ARM_tensors_float_e4m3, "tensor with floate4m3_t type");
 9838|      0|            }
 9839|      0|        }
 9840|  1.95k|    } else {
 9841|  1.95k|        if (publicType.typeParameters && publicType.typeParameters->arraySizes->getNumDims() != 0) {
  ------------------
  |  Branch (9841:13): [True: 0, False: 1.95k]
  |  Branch (9841:42): [True: 0, False: 0]
  ------------------
 9842|      0|            error(loc, "unexpected type parameters", identifier.c_str(), "");
 9843|      0|        }
 9844|  1.95k|    }
 9845|       |
 9846|  1.95k|    if (voidErrorCheck(loc, identifier, type.getBasicType()))
  ------------------
  |  Branch (9846:9): [True: 0, False: 1.95k]
  ------------------
 9847|      0|        return nullptr;
 9848|       |
 9849|  1.95k|    if (initializer)
  ------------------
  |  Branch (9849:9): [True: 706, False: 1.24k]
  ------------------
 9850|    706|        rValueErrorCheck(loc, "initializer", initializer);
 9851|  1.24k|    else
 9852|  1.24k|        nonInitConstCheck(loc, identifier, type);
 9853|       |
 9854|  1.95k|    samplerCheck(loc, type, identifier, initializer);
 9855|  1.95k|    transparentOpaqueCheck(loc, type, identifier);
 9856|  1.95k|    atomicUintCheck(loc, type, identifier);
 9857|  1.95k|    accStructCheck(loc, type, identifier);
 9858|  1.95k|    hitObjectNVCheck(loc, type, identifier);
 9859|  1.95k|    hitObjectEXTCheck(loc, type, identifier);
 9860|  1.95k|    checkAndResizeMeshViewDim(loc, type, /*isBlockMember*/ false);
 9861|  1.95k|    if (type.getQualifier().storage == EvqConst && type.containsReference()) {
  ------------------
  |  Branch (9861:9): [True: 706, False: 1.24k]
  |  Branch (9861:52): [True: 0, False: 706]
  ------------------
 9862|      0|        error(loc, "variables with reference type can't have qualifier 'const'", "qualifier", "");
 9863|      0|    }
 9864|       |
 9865|  1.95k|    if (type.getQualifier().storage != EvqUniform && type.getQualifier().storage != EvqBuffer) {
  ------------------
  |  Branch (9865:9): [True: 1.85k, False: 100]
  |  Branch (9865:54): [True: 1.85k, False: 0]
  ------------------
 9866|  1.85k|        if (type.contains16BitFloat())
  ------------------
  |  Branch (9866:13): [True: 0, False: 1.85k]
  ------------------
 9867|      0|            requireFloat16Arithmetic(loc, "qualifier", "float16 types can only be in uniform block or buffer storage");
 9868|  1.85k|        if (type.contains16BitInt())
  ------------------
  |  Branch (9868:13): [True: 0, False: 1.85k]
  ------------------
 9869|      0|            requireInt16Arithmetic(loc, "qualifier", "(u)int16 types can only be in uniform block or buffer storage");
 9870|  1.85k|        if (type.contains8BitInt())
  ------------------
  |  Branch (9870:13): [True: 0, False: 1.85k]
  ------------------
 9871|      0|            requireInt8Arithmetic(loc, "qualifier", "(u)int8 types can only be in uniform block or buffer storage");
 9872|  1.85k|    }
 9873|  1.95k|    if (type.getBasicType() == EbtBFloat16 &&
  ------------------
  |  Branch (9873:9): [True: 0, False: 1.95k]
  ------------------
 9874|      0|        (type.getQualifier().storage == EvqVaryingIn || type.getQualifier().storage == EvqVaryingOut))
  ------------------
  |  Branch (9874:10): [True: 0, False: 0]
  |  Branch (9874:57): [True: 0, False: 0]
  ------------------
 9875|      0|        error(loc, "qualifier", "bfloat16 types not allowed as input/output", "");
 9876|       |
 9877|  1.95k|    if ((type.getBasicType() == EbtFloatE5M2 || type.getBasicType() == EbtFloatE4M3) &&
  ------------------
  |  Branch (9877:10): [True: 0, False: 1.95k]
  |  Branch (9877:49): [True: 0, False: 1.95k]
  ------------------
 9878|      0|        (type.getQualifier().storage == EvqVaryingIn || type.getQualifier().storage == EvqVaryingOut))
  ------------------
  |  Branch (9878:10): [True: 0, False: 0]
  |  Branch (9878:57): [True: 0, False: 0]
  ------------------
 9879|      0|        error(loc, "qualifier", "fp8 types not allowed as input/output", "");
 9880|       |
 9881|  1.95k|    if (type.containsOcpMicroscalingFloat() &&
  ------------------
  |  Branch (9881:9): [True: 0, False: 1.95k]
  ------------------
 9882|      0|        (type.getQualifier().storage == EvqVaryingIn || type.getQualifier().storage == EvqVaryingOut))
  ------------------
  |  Branch (9882:10): [True: 0, False: 0]
  |  Branch (9882:57): [True: 0, False: 0]
  ------------------
 9883|      0|        error(loc, "qualifier", "microscaling types not allowed as input/output", "");
 9884|       |
 9885|  1.95k|    if (type.containsOcpMicroscalingNonByteFloat() &&
  ------------------
  |  Branch (9885:9): [True: 0, False: 1.95k]
  ------------------
 9886|      0|        (type.getQualifier().storage == EvqUniform || type.getQualifier().storage == EvqBuffer || type.getQualifier().storage == EvqShared))
  ------------------
  |  Branch (9886:10): [True: 0, False: 0]
  |  Branch (9886:55): [True: 0, False: 0]
  |  Branch (9886:99): [True: 0, False: 0]
  ------------------
 9887|      0|        error(loc, "qualifier", "sub-byte sized types not allowed in storage class", "");
 9888|       |
 9889|  1.95k|    if (type.getQualifier().storage == EvqtaskPayloadSharedEXT)
  ------------------
  |  Branch (9889:9): [True: 0, False: 1.95k]
  ------------------
 9890|      0|        intermediate.addTaskPayloadEXTCount();
 9891|  1.95k|    if (type.getQualifier().storage == EvqShared && type.containsCoopMat())
  ------------------
  |  Branch (9891:9): [True: 0, False: 1.95k]
  |  Branch (9891:53): [True: 0, False: 0]
  ------------------
 9892|      0|        error(loc, "qualifier", "Cooperative matrix types must not be used in shared memory", "");
 9893|       |
 9894|  1.95k|    if (profile == EEsProfile) {
  ------------------
  |  Branch (9894:9): [True: 646, False: 1.30k]
  ------------------
 9895|    646|        if (type.getQualifier().isPipeInput() && type.getBasicType() == EbtStruct) {
  ------------------
  |  Branch (9895:13): [True: 0, False: 646]
  |  Branch (9895:50): [True: 0, False: 0]
  ------------------
 9896|      0|            if (type.getQualifier().isArrayedIo(language)) {
  ------------------
  |  Branch (9896:17): [True: 0, False: 0]
  ------------------
 9897|      0|                TType perVertexType(type, 0);
 9898|      0|                if (perVertexType.containsArray() && perVertexType.containsBuiltIn() == false) {
  ------------------
  |  Branch (9898:21): [True: 0, False: 0]
  |  Branch (9898:54): [True: 0, False: 0]
  ------------------
 9899|      0|                    error(loc, "A per vertex structure containing an array is not allowed as input in ES", type.getTypeName().c_str(), "");
 9900|      0|                }
 9901|      0|            }
 9902|      0|            else if (type.containsArray() && type.containsBuiltIn() == false) {
  ------------------
  |  Branch (9902:22): [True: 0, False: 0]
  |  Branch (9902:46): [True: 0, False: 0]
  ------------------
 9903|      0|                error(loc, "A structure containing an array is not allowed as input in ES", type.getTypeName().c_str(), "");
 9904|      0|            }
 9905|      0|            if (type.containsStructure())
  ------------------
  |  Branch (9905:17): [True: 0, False: 0]
  ------------------
 9906|      0|                error(loc, "A structure containing an struct is not allowed as input in ES", type.getTypeName().c_str(), "");
 9907|      0|        }
 9908|    646|    }
 9909|       |
 9910|  1.95k|    if (identifier != "gl_FragCoord" && (publicType.shaderQualifiers.originUpperLeft || publicType.shaderQualifiers.pixelCenterInteger))
  ------------------
  |  Branch (9910:9): [True: 1.91k, False: 36]
  |  Branch (9910:42): [True: 0, False: 1.91k]
  |  Branch (9910:89): [True: 0, False: 1.91k]
  ------------------
 9911|      0|        error(loc, "can only apply origin_upper_left and pixel_center_origin to gl_FragCoord", "layout qualifier", "");
 9912|  1.95k|    if (identifier != "gl_FragDepth" && publicType.shaderQualifiers.getDepth() != EldNone)
  ------------------
  |  Branch (9912:9): [True: 1.95k, False: 2]
  |  Branch (9912:41): [True: 0, False: 1.95k]
  ------------------
 9913|      0|        error(loc, "can only apply depth layout to gl_FragDepth", "layout qualifier", "");
 9914|  1.95k|    if (identifier != "gl_FragStencilRefARB" && publicType.shaderQualifiers.getStencil() != ElsNone)
  ------------------
  |  Branch (9914:9): [True: 1.95k, False: 2]
  |  Branch (9914:49): [True: 0, False: 1.95k]
  ------------------
 9915|      0|        error(loc, "can only apply depth layout to gl_FragStencilRefARB", "layout qualifier", "");
 9916|       |
 9917|       |    // Check for redeclaration of built-ins and/or attempting to declare a reserved name
 9918|  1.95k|    TSymbol* symbol = redeclareBuiltinVariable(loc, identifier, type.getQualifier(), publicType.shaderQualifiers);
 9919|  1.95k|    if (symbol == nullptr)
  ------------------
  |  Branch (9919:9): [True: 1.95k, False: 0]
  ------------------
 9920|  1.95k|        reservedErrorCheck(loc, identifier);
 9921|       |
 9922|  1.95k|    if (symbol == nullptr && spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (9922:9): [True: 1.95k, False: 0]
  |  Branch (9922:30): [True: 0, False: 1.95k]
  |  Branch (9922:55): [True: 0, False: 0]
  ------------------
 9923|      0|        bool remapped = vkRelaxedRemapUniformVariable(loc, identifier, publicType, arraySizes, initializer, type);
 9924|       |
 9925|      0|        if (remapped) {
  ------------------
  |  Branch (9925:13): [True: 0, False: 0]
  ------------------
 9926|      0|            return nullptr;
 9927|      0|        }
 9928|      0|    }
 9929|       |
 9930|  1.95k|    inheritGlobalDefaults(type.getQualifier());
 9931|       |
 9932|       |    // Declare the variable
 9933|  1.95k|    if (type.isArray()) {
  ------------------
  |  Branch (9933:9): [True: 52, False: 1.90k]
  ------------------
 9934|       |        // Check that implicit sizing is only where allowed.
 9935|     52|        arraySizesCheck(loc, type.getQualifier(), type.getArraySizes(), initializer, false);
 9936|       |
 9937|     52|        if (! arrayQualifierError(loc, type.getQualifier()) && ! arrayError(loc, type))
  ------------------
  |  Branch (9937:13): [True: 52, False: 0]
  |  Branch (9937:64): [True: 52, False: 0]
  ------------------
 9938|     52|            declareArray(loc, identifier, type, symbol);
 9939|       |
 9940|     52|        if (initializer) {
  ------------------
  |  Branch (9940:13): [True: 0, False: 52]
  ------------------
 9941|      0|            profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, "initializer");
 9942|      0|            profileRequires(loc, EEsProfile, 300, nullptr, "initializer");
 9943|      0|        }
 9944|  1.90k|    } else {
 9945|       |        // non-array case
 9946|  1.90k|        if (symbol == nullptr)
  ------------------
  |  Branch (9946:13): [True: 1.90k, False: 0]
  ------------------
 9947|  1.90k|            symbol = declareNonArray(loc, identifier, type);
 9948|      0|        else if (type != symbol->getType())
  ------------------
  |  Branch (9948:18): [True: 0, False: 0]
  ------------------
 9949|      0|            error(loc, "cannot change the type of", "redeclaration", symbol->getName().c_str());
 9950|  1.90k|    }
 9951|       |
 9952|  1.95k|    if (symbol == nullptr)
  ------------------
  |  Branch (9952:9): [True: 0, False: 1.95k]
  ------------------
 9953|      0|        return nullptr;
 9954|       |
 9955|       |    // Deal with initializer
 9956|  1.95k|    TIntermNode* initNode = nullptr;
 9957|  1.95k|    if (symbol != nullptr && initializer) {
  ------------------
  |  Branch (9957:9): [True: 1.95k, False: 0]
  |  Branch (9957:30): [True: 706, False: 1.24k]
  ------------------
 9958|    706|        TVariable* variable = symbol->getAsVariable();
 9959|    706|        if (! variable) {
  ------------------
  |  Branch (9959:13): [True: 0, False: 706]
  ------------------
 9960|      0|            error(loc, "initializer requires a variable, not a member", identifier.c_str(), "");
 9961|      0|            return nullptr;
 9962|      0|        }
 9963|    706|        initNode = executeInitializer(loc, initializer, variable);
 9964|       |
 9965|       |        // GL_EXT_opacity_micromap_ray_query_mode: capture the value of a
 9966|       |        // 'const bool gl_EnableOpacityMicromapEXT = <true|false>;' redeclaration so the back end can emit
 9967|       |        // the OpacityMicromapIdKHR execution mode operand as OpConstantTrue/OpConstantFalse. The
 9968|       |        // specialization-constant form goes through addQualifierToExisting instead.
 9969|    706|        if (identifier == "gl_EnableOpacityMicromapEXT" && !variable->getType().getQualifier().hasSpecConstantId()) {
  ------------------
  |  Branch (9969:13): [True: 0, False: 706]
  |  Branch (9969:60): [True: 0, False: 0]
  ------------------
 9970|      0|            const TConstUnionArray& constArray = variable->getConstArray();
 9971|      0|            if (constArray.size() > 0)
  ------------------
  |  Branch (9971:17): [True: 0, False: 0]
  ------------------
 9972|      0|                intermediate.setEnableOpacityMicromapDefault(constArray[0].getBConst());
 9973|      0|        }
 9974|    706|    }
 9975|       |
 9976|       |    // EXT_descriptor_heap
 9977|  1.95k|    if (!untypedHeapCheck(symbol, type, loc, identifier.c_str())) {
  ------------------
  |  Branch (9977:9): [True: 0, False: 1.95k]
  ------------------
 9978|      0|        return nullptr;
 9979|      0|    }
 9980|       |
 9981|       |    // look for errors in layout qualifier use
 9982|  1.95k|    layoutObjectCheck(loc, *symbol);
 9983|       |
 9984|       |    // fix up
 9985|  1.95k|    fixOffset(loc, *symbol);
 9986|       |
 9987|       |    // TODO: The decl AST is turned on based on debug info right now. We should expose it as an explicit option.
 9988|  1.95k|    if (intermediate.getDebugInfo()) {
  ------------------
  |  Branch (9988:9): [True: 0, False: 1.95k]
  ------------------
 9989|      0|        TVariable* variable = symbol->getAsVariable();
 9990|      0|        if (variable) {
  ------------------
  |  Branch (9990:13): [True: 0, False: 0]
  ------------------
 9991|      0|            auto decl = new TIntermVariableDecl(intermediate.addSymbol(*variable, loc), initNode);
 9992|      0|            decl->setLoc(loc);
 9993|      0|            return decl;
 9994|      0|        }
 9995|      0|        else {
 9996|       |            // We ignore builtins redeclarations
 9997|      0|            return nullptr;
 9998|      0|        }
 9999|      0|    }
10000|  1.95k|    else {
10001|  1.95k|        return initNode;
10002|  1.95k|    }
10003|  1.95k|}
_ZNK7glslang13TParseContext21inheritGlobalDefaultsERNS_10TQualifierE:
10007|  1.95k|{
10008|  1.95k|    if (dst.storage == EvqVaryingOut) {
  ------------------
  |  Branch (10008:9): [True: 72, False: 1.88k]
  ------------------
10009|     72|        if (! dst.hasStream() && language == EShLangGeometry)
  ------------------
  |  Branch (10009:13): [True: 72, False: 0]
  |  Branch (10009:34): [True: 18, False: 54]
  ------------------
10010|     18|            dst.layoutStream = globalOutputDefaults.layoutStream;
10011|     72|        if (! dst.hasXfbBuffer())
  ------------------
  |  Branch (10011:13): [True: 72, False: 0]
  ------------------
10012|     72|            dst.layoutXfbBuffer = globalOutputDefaults.layoutXfbBuffer;
10013|     72|    }
10014|  1.95k|}
_ZN7glslang13TParseContext15declareNonArrayERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_5TTypeE:
10038|  1.90k|{
10039|       |    // make a new variable
10040|  1.90k|    TVariable* variable = new TVariable(&identifier, type);
10041|       |
10042|  1.90k|    ioArrayCheck(loc, type, identifier);
10043|       |
10044|       |    // add variable to symbol table
10045|  1.90k|    if (symbolTable.insert(*variable)) {
  ------------------
  |  Branch (10045:9): [True: 1.90k, False: 0]
  ------------------
10046|  1.90k|        if (symbolTable.atGlobalLevel())
  ------------------
  |  Branch (10046:13): [True: 1.90k, False: 0]
  ------------------
10047|  1.90k|            trackLinkage(*variable);
10048|  1.90k|        return variable;
10049|  1.90k|    }
10050|       |
10051|      0|    error(loc, "redefinition", variable->getName().c_str(), "");
10052|      0|    return nullptr;
10053|  1.90k|}
_ZN7glslang13TParseContext18executeInitializerERKNS_10TSourceLocEPNS_12TIntermTypedEPNS_9TVariableE:
10062|    706|{
10063|       |    // A null initializer is an aggregate that hasn't had an op assigned yet
10064|       |    // (still EOpNull, no relation to nullInit), and has no children.
10065|    706|    bool nullInit = initializer->getAsAggregate() && initializer->getAsAggregate()->getOp() == EOpNull &&
  ------------------
  |  Branch (10065:21): [True: 0, False: 706]
  |  Branch (10065:54): [True: 0, False: 0]
  ------------------
10066|      0|        initializer->getAsAggregate()->getSequence().size() == 0;
  ------------------
  |  Branch (10066:9): [True: 0, False: 0]
  ------------------
10067|       |
10068|       |    //
10069|       |    // Identifier must be of type constant, a global, or a temporary, and
10070|       |    // starting at version 120, desktop allows uniforms to have initializers.
10071|       |    //
10072|    706|    TStorageQualifier qualifier = variable->getType().getQualifier().storage;
10073|    706|    if (! (qualifier == EvqTemporary || qualifier == EvqGlobal || qualifier == EvqConst ||
  ------------------
  |  Branch (10073:12): [True: 0, False: 706]
  |  Branch (10073:41): [True: 0, False: 706]
  |  Branch (10073:67): [True: 706, False: 0]
  ------------------
10074|      0|           (qualifier == EvqUniform && !isEsProfile() && version >= 120))) {
  ------------------
  |  Branch (10074:13): [True: 0, False: 0]
  |  Branch (10074:40): [True: 0, False: 0]
  |  Branch (10074:58): [True: 0, False: 0]
  ------------------
10075|      0|        if (qualifier == EvqShared) {
  ------------------
  |  Branch (10075:13): [True: 0, False: 0]
  ------------------
10076|       |            // GL_EXT_null_initializer allows this for shared, if it's a null initializer
10077|      0|            if (nullInit) {
  ------------------
  |  Branch (10077:17): [True: 0, False: 0]
  ------------------
10078|      0|                const char* feature = "initialization with shared qualifier";
10079|      0|                profileRequires(loc, EEsProfile, 0, E_GL_EXT_null_initializer, feature);
10080|      0|                profileRequires(loc, ~EEsProfile, 0, E_GL_EXT_null_initializer, feature);
10081|      0|            } else {
10082|      0|                error(loc, "initializer can only be a null initializer ('{}')", "shared", "");
10083|      0|            }
10084|      0|        } else {
10085|      0|            error(loc, " cannot initialize this type of qualifier ",
10086|      0|                  variable->getType().getStorageQualifierString(), "");
10087|      0|            return nullptr;
10088|      0|        }
10089|      0|    }
10090|       |
10091|    706|    if (nullInit) {
  ------------------
  |  Branch (10091:9): [True: 0, False: 706]
  ------------------
10092|       |        // only some types can be null initialized
10093|      0|        if (variable->getType().containsUnsizedArray()) {
  ------------------
  |  Branch (10093:13): [True: 0, False: 0]
  ------------------
10094|      0|            error(loc, "null initializers can't size unsized arrays", "{}", "");
10095|      0|            return nullptr;
10096|      0|        }
10097|      0|        if (variable->getType().containsOpaque()) {
  ------------------
  |  Branch (10097:13): [True: 0, False: 0]
  ------------------
10098|      0|            error(loc, "null initializers can't be used on opaque values", "{}", "");
10099|      0|            return nullptr;
10100|      0|        }
10101|      0|        variable->getWritableType().getQualifier().setNullInit();
10102|      0|        return nullptr;
10103|      0|    }
10104|       |
10105|    706|    arrayObjectCheck(loc, variable->getType(), "array initializer");
10106|       |
10107|       |    //
10108|       |    // If the initializer was from braces { ... }, we convert the whole subtree to a
10109|       |    // constructor-style subtree, allowing the rest of the code to operate
10110|       |    // identically for both kinds of initializers.
10111|       |    //
10112|       |    // Type can't be deduced from the initializer list, so a skeletal type to
10113|       |    // follow has to be passed in.  Constness and specialization-constness
10114|       |    // should be deduced bottom up, not dictated by the skeletal type.
10115|       |    //
10116|    706|    TType skeletalType;
10117|    706|    skeletalType.shallowCopy(variable->getType());
10118|    706|    skeletalType.getQualifier().makeTemporary();
10119|    706|    initializer = convertInitializerList(loc, skeletalType, initializer);
10120|    706|    if (! initializer) {
  ------------------
  |  Branch (10120:9): [True: 0, False: 706]
  ------------------
10121|       |        // error recovery; don't leave const without constant values
10122|      0|        if (qualifier == EvqConst)
  ------------------
  |  Branch (10122:13): [True: 0, False: 0]
  ------------------
10123|      0|            variable->getWritableType().getQualifier().makeTemporary();
10124|      0|        return nullptr;
10125|      0|    }
10126|       |
10127|       |    // Fix outer arrayness if variable is unsized, getting size from the initializer
10128|    706|    if (initializer->getType().isSizedArray() && variable->getType().isUnsizedArray())
  ------------------
  |  Branch (10128:9): [True: 0, False: 706]
  |  Branch (10128:50): [True: 0, False: 0]
  ------------------
10129|      0|        variable->getWritableType().changeOuterArraySize(initializer->getType().getOuterArraySize());
10130|       |
10131|       |    // Inner arrayness can also get set by an initializer
10132|    706|    if (initializer->getType().isArrayOfArrays() && variable->getType().isArrayOfArrays() &&
  ------------------
  |  Branch (10132:9): [True: 0, False: 706]
  |  Branch (10132:53): [True: 0, False: 0]
  ------------------
10133|      0|        initializer->getType().getArraySizes()->getNumDims() ==
  ------------------
  |  Branch (10133:9): [True: 0, False: 0]
  ------------------
10134|      0|           variable->getType().getArraySizes()->getNumDims()) {
10135|       |        // adopt unsized sizes from the initializer's sizes
10136|      0|        for (int d = 1; d < variable->getType().getArraySizes()->getNumDims(); ++d) {
  ------------------
  |  Branch (10136:25): [True: 0, False: 0]
  ------------------
10137|      0|            if (variable->getType().getArraySizes()->getDimSize(d) == UnsizedArraySize) {
  ------------------
  |  Branch (10137:17): [True: 0, False: 0]
  ------------------
10138|      0|                variable->getWritableType().getArraySizes()->setDimSize(d,
10139|      0|                    initializer->getType().getArraySizes()->getDimSize(d));
10140|      0|            }
10141|      0|        }
10142|      0|    }
10143|       |
10144|       |    // Uniforms require a compile-time constant initializer
10145|    706|    if (qualifier == EvqUniform && ! initializer->getType().getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (10145:9): [True: 0, False: 706]
  |  Branch (10145:36): [True: 0, False: 0]
  ------------------
10146|      0|        error(loc, "uniform initializers must be constant", "=", "'%s'",
10147|      0|              variable->getType().getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10148|      0|        variable->getWritableType().getQualifier().makeTemporary();
10149|      0|        return nullptr;
10150|      0|    }
10151|       |    // Global consts require a constant initializer (specialization constant is okay)
10152|    706|    if (qualifier == EvqConst && symbolTable.atGlobalLevel() && ! initializer->getType().getQualifier().isConstant()) {
  ------------------
  |  Branch (10152:9): [True: 706, False: 0]
  |  Branch (10152:34): [True: 706, False: 0]
  |  Branch (10152:65): [True: 0, False: 706]
  ------------------
10153|      0|        error(loc, "global const initializers must be constant", "=", "'%s'",
10154|      0|              variable->getType().getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10155|      0|        variable->getWritableType().getQualifier().makeTemporary();
10156|      0|        return nullptr;
10157|      0|    }
10158|       |
10159|       |    // Const variables require a constant initializer, depending on version
10160|    706|    if (qualifier == EvqConst) {
  ------------------
  |  Branch (10160:9): [True: 706, False: 0]
  ------------------
10161|    706|        if (! initializer->getType().getQualifier().isConstant()) {
  ------------------
  |  Branch (10161:13): [True: 0, False: 706]
  ------------------
10162|      0|            const char* initFeature = "non-constant initializer";
10163|      0|            requireProfile(loc, ~EEsProfile, initFeature);
10164|      0|            profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, initFeature);
10165|      0|            variable->getWritableType().getQualifier().storage = EvqConstReadOnly;
10166|      0|            qualifier = EvqConstReadOnly;
10167|      0|        }
10168|    706|    } else {
10169|       |        // Non-const global variables in ES need a const initializer.
10170|       |        //
10171|       |        // "In declarations of global variables with no storage qualifier or with a const
10172|       |        // qualifier any initializer must be a constant expression."
10173|      0|        if (symbolTable.atGlobalLevel() && ! initializer->getType().getQualifier().isConstant()) {
  ------------------
  |  Branch (10173:13): [True: 0, False: 0]
  |  Branch (10173:44): [True: 0, False: 0]
  ------------------
10174|      0|            const char* initFeature =
10175|      0|                "non-constant global initializer (needs GL_EXT_shader_non_constant_global_initializers)";
10176|      0|            if (isEsProfile()) {
  ------------------
  |  Branch (10176:17): [True: 0, False: 0]
  ------------------
10177|      0|                if (relaxedErrors() && ! extensionTurnedOn(E_GL_EXT_shader_non_constant_global_initializers))
  ------------------
  |  Branch (10177:21): [True: 0, False: 0]
  |  Branch (10177:40): [True: 0, False: 0]
  ------------------
10178|      0|                    warn(loc, "not allowed in this version", initFeature, "");
10179|      0|                else
10180|      0|                    profileRequires(loc, EEsProfile, 0, E_GL_EXT_shader_non_constant_global_initializers, initFeature);
10181|      0|            }
10182|      0|        }
10183|      0|    }
10184|       |
10185|    706|    if (qualifier == EvqConst || qualifier == EvqUniform) {
  ------------------
  |  Branch (10185:9): [True: 706, False: 0]
  |  Branch (10185:34): [True: 0, False: 0]
  ------------------
10186|       |        // Compile-time tagging of the variable with its constant value...
10187|       |
10188|    706|        initializer = intermediate.addConversion(EOpAssign, variable->getType(), initializer);
10189|    706|        if (! initializer || ! initializer->getType().getQualifier().isConstant() ||
  ------------------
  |  Branch (10189:13): [True: 0, False: 706]
  |  Branch (10189:30): [True: 0, False: 706]
  ------------------
10190|    706|            variable->getType() != initializer->getType()) {
  ------------------
  |  Branch (10190:13): [True: 0, False: 706]
  ------------------
10191|      0|            error(loc, "non-matching or non-convertible constant type for const initializer",
10192|      0|                  variable->getType().getStorageQualifierString(), "");
10193|      0|            variable->getWritableType().getQualifier().makeTemporary();
10194|      0|            return nullptr;
10195|      0|        }
10196|       |
10197|       |        // We either have a folded constant in getAsConstantUnion, or we have to use
10198|       |        // the initializer's subtree in the AST to represent the computation of a
10199|       |        // specialization constant.
10200|    706|        assert(initializer->getAsConstantUnion() || initializer->getType().getQualifier().isSpecConstant());
10201|    706|        if (initializer->getAsConstantUnion())
  ------------------
  |  Branch (10201:13): [True: 706, False: 0]
  ------------------
10202|    706|            variable->setConstArray(initializer->getAsConstantUnion()->getConstArray());
10203|      0|        else {
10204|       |            // It's a specialization constant.
10205|      0|            variable->getWritableType().getQualifier().makeSpecConstant();
10206|       |
10207|       |            // Keep the subtree that computes the specialization constant with the variable.
10208|       |            // Later, a symbol node will adopt the subtree from the variable.
10209|      0|            variable->setConstSubtree(initializer);
10210|      0|        }
10211|    706|    } else {
10212|       |        // normal assigning of a value to a variable...
10213|      0|        specializationCheck(loc, initializer->getType(), "initializer");
10214|      0|        TIntermSymbol* intermSymbol = intermediate.addSymbol(*variable, loc);
10215|      0|        TIntermTyped* initNode = intermediate.addAssign(EOpAssign, intermSymbol, initializer, loc);
10216|      0|        if (! initNode)
  ------------------
  |  Branch (10216:13): [True: 0, False: 0]
  ------------------
10217|      0|            assignError(loc, "=", intermSymbol->getCompleteString(intermediate.getEnhancedMsgs()), initializer->getCompleteString(intermediate.getEnhancedMsgs()));
10218|       |
10219|      0|        return initNode;
10220|      0|    }
10221|       |
10222|    706|    return nullptr;
10223|    706|}
_ZN7glslang13TParseContext22convertInitializerListERKNS_10TSourceLocERKNS_5TTypeEPNS_12TIntermTypedE:
10236|    706|{
10237|       |    // Will operate recursively.  Once a subtree is found that is constructor style,
10238|       |    // everything below it is already good: Only the "top part" of the initializer
10239|       |    // can be an initializer list, where "top part" can extend for several (or all) levels.
10240|       |
10241|       |    // see if we have bottomed out in the tree within the initializer-list part
10242|    706|    TIntermAggregate* initList = initializer->getAsAggregate();
10243|    706|    if (! initList || initList->getOp() != EOpNull)
  ------------------
  |  Branch (10243:9): [True: 706, False: 0]
  |  Branch (10243:23): [True: 0, False: 0]
  ------------------
10244|    706|        return initializer;
10245|       |
10246|       |    // Of the initializer-list set of nodes, need to process bottom up,
10247|       |    // so recurse deep, then process on the way up.
10248|       |
10249|       |    // Go down the tree here...
10250|      0|    if (type.isArray()) {
  ------------------
  |  Branch (10250:9): [True: 0, False: 0]
  ------------------
10251|       |        // The type's array might be unsized, which could be okay, so base sizes on the size of the aggregate.
10252|       |        // Later on, initializer execution code will deal with array size logic.
10253|      0|        TType arrayType;
10254|      0|        arrayType.shallowCopy(type);                     // sharing struct stuff is fine
10255|      0|        arrayType.copyArraySizes(*type.getArraySizes());  // but get a fresh copy of the array information, to edit below
10256|       |
10257|       |        // a nested empty initializer list ({}) has no elements to size the array or
10258|       |        // derive its element type from, so reject it before the getSequence()[0] read below
10259|      0|        if (initList->getSequence().empty()) {
  ------------------
  |  Branch (10259:13): [True: 0, False: 0]
  ------------------
10260|      0|            error(loc, "array initializer must be non-empty", "initializer list", "");
10261|      0|            return nullptr;
10262|      0|        }
10263|       |
10264|       |        // edit array sizes to fill in unsized dimensions
10265|      0|        arrayType.changeOuterArraySize((int)initList->getSequence().size());
10266|      0|        TIntermTyped* firstInit = initList->getSequence()[0]->getAsTyped();
10267|      0|        if (arrayType.isArrayOfArrays() && firstInit->getType().isArray() &&
  ------------------
  |  Branch (10267:13): [True: 0, False: 0]
  |  Branch (10267:44): [True: 0, False: 0]
  ------------------
10268|      0|            arrayType.getArraySizes()->getNumDims() == firstInit->getType().getArraySizes()->getNumDims() + 1) {
  ------------------
  |  Branch (10268:13): [True: 0, False: 0]
  ------------------
10269|      0|            for (int d = 1; d < arrayType.getArraySizes()->getNumDims(); ++d) {
  ------------------
  |  Branch (10269:29): [True: 0, False: 0]
  ------------------
10270|      0|                if (arrayType.getArraySizes()->getDimSize(d) == UnsizedArraySize)
  ------------------
  |  Branch (10270:21): [True: 0, False: 0]
  ------------------
10271|      0|                    arrayType.getArraySizes()->setDimSize(d, firstInit->getType().getArraySizes()->getDimSize(d - 1));
10272|      0|            }
10273|      0|        }
10274|       |
10275|      0|        TType elementType(arrayType, 0); // dereferenced type
10276|      0|        for (size_t i = 0; i < initList->getSequence().size(); ++i) {
  ------------------
  |  Branch (10276:28): [True: 0, False: 0]
  ------------------
10277|      0|            initList->getSequence()[i] = convertInitializerList(loc, elementType, initList->getSequence()[i]->getAsTyped());
10278|      0|            if (initList->getSequence()[i] == nullptr)
  ------------------
  |  Branch (10278:17): [True: 0, False: 0]
  ------------------
10279|      0|                return nullptr;
10280|      0|        }
10281|       |
10282|      0|        return addConstructor(loc, initList, arrayType);
10283|      0|    } else if (type.isStruct()) {
  ------------------
  |  Branch (10283:16): [True: 0, False: 0]
  ------------------
10284|      0|        if (type.getStruct()->size() != initList->getSequence().size()) {
  ------------------
  |  Branch (10284:13): [True: 0, False: 0]
  ------------------
10285|      0|            error(loc, "wrong number of structure members", "initializer list", "");
10286|      0|            return nullptr;
10287|      0|        }
10288|      0|        for (size_t i = 0; i < type.getStruct()->size(); ++i) {
  ------------------
  |  Branch (10288:28): [True: 0, False: 0]
  ------------------
10289|      0|            initList->getSequence()[i] = convertInitializerList(loc, *(*type.getStruct())[i].type, initList->getSequence()[i]->getAsTyped());
10290|      0|            if (initList->getSequence()[i] == nullptr)
  ------------------
  |  Branch (10290:17): [True: 0, False: 0]
  ------------------
10291|      0|                return nullptr;
10292|      0|        }
10293|      0|    } else if (type.isMatrix()) {
  ------------------
  |  Branch (10293:16): [True: 0, False: 0]
  ------------------
10294|      0|        if (type.getMatrixCols() != (int)initList->getSequence().size()) {
  ------------------
  |  Branch (10294:13): [True: 0, False: 0]
  ------------------
10295|      0|            error(loc, "wrong number of matrix columns:", "initializer list", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10296|      0|            return nullptr;
10297|      0|        }
10298|      0|        TType vectorType(type, 0); // dereferenced type
10299|      0|        for (int i = 0; i < type.getMatrixCols(); ++i) {
  ------------------
  |  Branch (10299:25): [True: 0, False: 0]
  ------------------
10300|      0|            initList->getSequence()[i] = convertInitializerList(loc, vectorType, initList->getSequence()[i]->getAsTyped());
10301|      0|            if (initList->getSequence()[i] == nullptr)
  ------------------
  |  Branch (10301:17): [True: 0, False: 0]
  ------------------
10302|      0|                return nullptr;
10303|      0|        }
10304|      0|    } else if (type.isVector()) {
  ------------------
  |  Branch (10304:16): [True: 0, False: 0]
  ------------------
10305|      0|        if (type.getVectorSize() != (int)initList->getSequence().size()) {
  ------------------
  |  Branch (10305:13): [True: 0, False: 0]
  ------------------
10306|      0|            error(loc, "wrong vector size (or rows in a matrix column):", "initializer list", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10307|      0|            return nullptr;
10308|      0|        }
10309|      0|        TBasicType destType = type.getBasicType();
10310|      0|        for (int i = 0; i < type.getVectorSize(); ++i) {
  ------------------
  |  Branch (10310:25): [True: 0, False: 0]
  ------------------
10311|      0|            TBasicType initType = initList->getSequence()[i]->getAsTyped()->getBasicType();
10312|      0|            if (destType != initType && !intermediate.canImplicitlyPromote(initType, destType)) {
  ------------------
  |  Branch (10312:17): [True: 0, False: 0]
  |  Branch (10312:41): [True: 0, False: 0]
  ------------------
10313|      0|                error(loc, "type mismatch in initializer list", "initializer list", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10314|      0|                return nullptr;
10315|      0|            }
10316|       |
10317|      0|        }
10318|      0|    } else {
10319|      0|        error(loc, "unexpected initializer-list type:", "initializer list", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10320|      0|        return nullptr;
10321|      0|    }
10322|       |
10323|       |    // Now that the subtree is processed, process this node as if the
10324|       |    // initializer list is a set of arguments to a constructor.
10325|      0|    TIntermNode* emulatedConstructorArguments;
10326|      0|    if (initList->getSequence().size() == 1)
  ------------------
  |  Branch (10326:9): [True: 0, False: 0]
  ------------------
10327|      0|        emulatedConstructorArguments = initList->getSequence()[0];
10328|      0|    else
10329|      0|        emulatedConstructorArguments = initList;
10330|      0|    return addConstructor(loc, emulatedConstructorArguments, type);
10331|      0|}
_ZN7glslang13TParseContext14addConstructorERKNS_10TSourceLocEP11TIntermNodeRKNS_5TTypeE:
10343|     14|{
10344|     14|    if (node == nullptr || node->getAsTyped() == nullptr)
  ------------------
  |  Branch (10344:9): [True: 0, False: 14]
  |  Branch (10344:28): [True: 0, False: 14]
  ------------------
10345|      0|        return nullptr;
10346|     14|    rValueErrorCheck(loc, "constructor", node->getAsTyped());
10347|       |
10348|     14|    TIntermAggregate* aggrNode = node->getAsAggregate();
10349|     14|    TOperator op = intermediate.mapTypeToConstructorOp(type);
10350|       |
10351|       |    // Combined texture-sampler constructors are completely semantic checked
10352|       |    // in constructorTextureSamplerError()
10353|     14|    if (op == EOpConstructTextureSampler) {
  ------------------
  |  Branch (10353:9): [True: 0, False: 14]
  ------------------
10354|      0|        if (aggrNode != nullptr) {
  ------------------
  |  Branch (10354:13): [True: 0, False: 0]
  ------------------
10355|      0|            if (aggrNode->getSequence()[1]->getAsTyped()->getType().getSampler().shadow) {
  ------------------
  |  Branch (10355:17): [True: 0, False: 0]
  ------------------
10356|       |                // Transfer depth into the texture (SPIR-V image) type, as a hint
10357|       |                // for tools to know this texture/image is a depth image.
10358|      0|                aggrNode->getSequence()[0]->getAsTyped()->getWritableType().getSampler().shadow = true;
10359|      0|            }
10360|      0|            return intermediate.setAggregateOperator(aggrNode, op, type, loc);
10361|      0|        }
10362|      0|    }
10363|       |
10364|     14|    TTypeList::const_iterator memberTypes;
10365|     14|    if (op == EOpConstructStruct)
  ------------------
  |  Branch (10365:9): [True: 0, False: 14]
  ------------------
10366|      0|        memberTypes = type.getStruct()->begin();
10367|       |
10368|     14|    TType elementType;
10369|     14|    if (type.isArray()) {
  ------------------
  |  Branch (10369:9): [True: 0, False: 14]
  ------------------
10370|      0|        TType dereferenced(type, 0);
10371|      0|        elementType.shallowCopy(dereferenced);
10372|      0|    } else
10373|     14|        elementType.shallowCopy(type);
10374|       |
10375|     14|    bool singleArg;
10376|     14|    if (aggrNode) {
  ------------------
  |  Branch (10376:9): [True: 14, False: 0]
  ------------------
10377|     14|        if (aggrNode->getOp() != EOpNull)
  ------------------
  |  Branch (10377:13): [True: 0, False: 14]
  ------------------
10378|      0|            singleArg = true;
10379|     14|        else
10380|     14|            singleArg = false;
10381|     14|    } else
10382|      0|        singleArg = true;
10383|       |
10384|     14|    TIntermTyped *newNode;
10385|     14|    if (singleArg) {
  ------------------
  |  Branch (10385:9): [True: 0, False: 14]
  ------------------
10386|       |        // If structure constructor or array constructor is being called
10387|       |        // for only one parameter inside the structure, we need to call constructAggregate function once.
10388|      0|        if (type.isArray())
  ------------------
  |  Branch (10388:13): [True: 0, False: 0]
  ------------------
10389|      0|            newNode = constructAggregate(node, elementType, 1, node->getLoc());
10390|      0|        else if (op == EOpConstructStruct)
  ------------------
  |  Branch (10390:18): [True: 0, False: 0]
  ------------------
10391|      0|            newNode = constructAggregate(node, *(*memberTypes).type, 1, node->getLoc());
10392|      0|        else
10393|      0|            newNode = constructBuiltIn(type, op, node->getAsTyped(), node->getLoc(), false);
10394|       |
10395|      0|        if (newNode && (type.isArray() || op == EOpConstructStruct))
  ------------------
  |  Branch (10395:13): [True: 0, False: 0]
  |  Branch (10395:25): [True: 0, False: 0]
  |  Branch (10395:43): [True: 0, False: 0]
  ------------------
10396|      0|            newNode = intermediate.setAggregateOperator(newNode, EOpConstructStruct, type, loc);
10397|       |
10398|      0|        return newNode;
10399|      0|    }
10400|       |
10401|       |    //
10402|       |    // Handle list of arguments.
10403|       |    //
10404|     14|    TIntermSequence &sequenceVector = aggrNode->getSequence();    // Stores the information about the parameter to the constructor
10405|       |    // if the structure constructor contains more than one parameter, then construct
10406|       |    // each parameter
10407|       |
10408|     14|    int paramCount = 0;  // keeps track of the constructor parameter number being checked
10409|       |
10410|       |    // We don't know "top down" whether type is a specialization constant,
10411|       |    // but a const becomes a specialization constant if any of its children are.
10412|     14|    bool hasSpecConst = false;
10413|     14|    bool isConstConstructor = true;
10414|       |
10415|       |    // for each parameter to the constructor call, check to see if the right type is passed or convert them
10416|       |    // to the right type if possible (and allowed).
10417|       |    // for structure constructors, just check if the right type is passed, no conversion is allowed.
10418|     14|    for (TIntermSequence::iterator p = sequenceVector.begin();
10419|     56|                                   p != sequenceVector.end(); p++, paramCount++) {
  ------------------
  |  Branch (10419:36): [True: 42, False: 14]
  ------------------
10420|     42|        if (type.isArray())
  ------------------
  |  Branch (10420:13): [True: 0, False: 42]
  ------------------
10421|      0|            newNode = constructAggregate(*p, elementType, paramCount+1, node->getLoc());
10422|     42|        else if (op == EOpConstructStruct)
  ------------------
  |  Branch (10422:18): [True: 0, False: 42]
  ------------------
10423|      0|            newNode = constructAggregate(*p, *(memberTypes[paramCount]).type, paramCount+1, node->getLoc());
10424|     42|        else
10425|     42|            newNode = constructBuiltIn(type, op, (*p)->getAsTyped(), node->getLoc(), true);
10426|       |
10427|     42|        if (newNode) {
  ------------------
  |  Branch (10427:13): [True: 42, False: 0]
  ------------------
10428|     42|            *p = newNode;
10429|     42|            if (!newNode->getType().getQualifier().isConstant())
  ------------------
  |  Branch (10429:17): [True: 0, False: 42]
  ------------------
10430|      0|                isConstConstructor = false;
10431|     42|            if (newNode->getType().getQualifier().isSpecConstant())
  ------------------
  |  Branch (10431:17): [True: 0, False: 42]
  ------------------
10432|      0|                hasSpecConst = true;
10433|     42|        } else
10434|      0|            return nullptr;
10435|     42|    }
10436|       |
10437|     14|    TIntermTyped* ret_node = intermediate.setAggregateOperator(aggrNode, op, type, loc);
10438|       |
10439|     14|    const char *specConstantCompositeExt[] = { E_GL_EXT_spec_constant_composites };
10440|     14|    if (checkExtensionsRequested(loc, 1, specConstantCompositeExt, "spec constant aggregate constructor")) {
  ------------------
  |  Branch (10440:9): [True: 0, False: 14]
  ------------------
10441|      0|        if (isConstConstructor && hasSpecConst) {
  ------------------
  |  Branch (10441:13): [True: 0, False: 0]
  |  Branch (10441:35): [True: 0, False: 0]
  ------------------
10442|      0|            ret_node->getWritableType().getQualifier().makeSpecConstant();
10443|      0|        }
10444|      0|    }
10445|       |
10446|     14|    TIntermAggregate *agg_node = ret_node->getAsAggregate();
10447|     14|    if (agg_node && (agg_node->isVector() || agg_node->isArray() || agg_node->isMatrix()))
  ------------------
  |  Branch (10447:9): [True: 0, False: 14]
  |  Branch (10447:22): [True: 0, False: 0]
  |  Branch (10447:46): [True: 0, False: 0]
  |  Branch (10447:69): [True: 0, False: 0]
  ------------------
10448|      0|        agg_node->updatePrecision();
10449|       |
10450|     14|    return ret_node;
10451|     14|}
_ZN7glslang13TParseContext16constructBuiltInERKNS_5TTypeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocEb:
10462|     42|{
10463|       |    // If we are changing a matrix in both domain of basic type and to a non matrix,
10464|       |    // do the shape change first (by default, below, basic type is changed before shape).
10465|       |    // This avoids requesting a matrix of a new type that is going to be discarded anyway.
10466|       |    // TODO: This could be generalized to more type combinations, but that would require
10467|       |    // more extensive testing and full algorithm rework. For now, the need to do two changes makes
10468|       |    // the recursive call work, and avoids the most egregious case of creating integer matrices.
10469|     42|    if (node->getType().isMatrix() && (type.isScalar() || type.isVector()) &&
  ------------------
  |  Branch (10469:9): [True: 0, False: 42]
  |  Branch (10469:40): [True: 0, False: 0]
  |  Branch (10469:59): [True: 0, False: 0]
  ------------------
10470|      0|            type.isFloatingDomain() != node->getType().isFloatingDomain()) {
  ------------------
  |  Branch (10470:13): [True: 0, False: 0]
  ------------------
10471|      0|        TType transitionType(node->getBasicType(), glslang::EvqTemporary, type.getVectorSize(), 0, 0, node->isVector());
10472|      0|        TOperator transitionOp = intermediate.mapTypeToConstructorOp(transitionType);
10473|      0|        node = constructBuiltIn(transitionType, transitionOp, node, loc, false);
10474|      0|    }
10475|       |
10476|     42|    TIntermTyped* newNode;
10477|     42|    TOperator basicOp;
10478|       |
10479|       |    //
10480|       |    // First, convert types as needed.
10481|       |    //
10482|     42|    switch (op) {
10483|      0|    case EOpConstructVec2:
  ------------------
  |  Branch (10483:5): [True: 0, False: 42]
  ------------------
10484|      0|    case EOpConstructVec3:
  ------------------
  |  Branch (10484:5): [True: 0, False: 42]
  ------------------
10485|      0|    case EOpConstructVec4:
  ------------------
  |  Branch (10485:5): [True: 0, False: 42]
  ------------------
10486|      0|    case EOpConstructMat2x2:
  ------------------
  |  Branch (10486:5): [True: 0, False: 42]
  ------------------
10487|      0|    case EOpConstructMat2x3:
  ------------------
  |  Branch (10487:5): [True: 0, False: 42]
  ------------------
10488|      0|    case EOpConstructMat2x4:
  ------------------
  |  Branch (10488:5): [True: 0, False: 42]
  ------------------
10489|      0|    case EOpConstructMat3x2:
  ------------------
  |  Branch (10489:5): [True: 0, False: 42]
  ------------------
10490|      0|    case EOpConstructMat3x3:
  ------------------
  |  Branch (10490:5): [True: 0, False: 42]
  ------------------
10491|      0|    case EOpConstructMat3x4:
  ------------------
  |  Branch (10491:5): [True: 0, False: 42]
  ------------------
10492|      0|    case EOpConstructMat4x2:
  ------------------
  |  Branch (10492:5): [True: 0, False: 42]
  ------------------
10493|      0|    case EOpConstructMat4x3:
  ------------------
  |  Branch (10493:5): [True: 0, False: 42]
  ------------------
10494|      0|    case EOpConstructMat4x4:
  ------------------
  |  Branch (10494:5): [True: 0, False: 42]
  ------------------
10495|      0|    case EOpConstructFloat:
  ------------------
  |  Branch (10495:5): [True: 0, False: 42]
  ------------------
10496|      0|        basicOp = EOpConstructFloat;
10497|      0|        break;
10498|       |
10499|      0|    case EOpConstructIVec2:
  ------------------
  |  Branch (10499:5): [True: 0, False: 42]
  ------------------
10500|     24|    case EOpConstructIVec3:
  ------------------
  |  Branch (10500:5): [True: 24, False: 18]
  ------------------
10501|     24|    case EOpConstructIVec4:
  ------------------
  |  Branch (10501:5): [True: 0, False: 42]
  ------------------
10502|     24|    case EOpConstructInt:
  ------------------
  |  Branch (10502:5): [True: 0, False: 42]
  ------------------
10503|     24|        basicOp = EOpConstructInt;
10504|     24|        break;
10505|       |
10506|      0|    case EOpConstructUVec2:
  ------------------
  |  Branch (10506:5): [True: 0, False: 42]
  ------------------
10507|      0|        if (node->getType().getBasicType() == EbtReference) {
  ------------------
  |  Branch (10507:13): [True: 0, False: 0]
  ------------------
10508|      0|            requireExtensions(loc, 1, &E_GL_EXT_buffer_reference_uvec2, "reference conversion to uvec2");
10509|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvPtrToUvec2, true, node,
10510|      0|                type);
10511|      0|            return newNode;
10512|      0|        } else if (node->getType().getBasicType() == EbtSampler) {
  ------------------
  |  Branch (10512:20): [True: 0, False: 0]
  ------------------
10513|      0|            requireExtensions(loc, 1, &E_GL_ARB_bindless_texture, "sampler conversion to uvec2");
10514|       |            // force the basic type of the constructor param to uvec2, otherwise spv builder will
10515|       |            // report some errors
10516|      0|            TIntermTyped* newSrcNode = intermediate.createConversion(EbtUint, node);
10517|      0|            newSrcNode->getAsTyped()->getWritableType().setVectorSize(2);
10518|       |
10519|      0|            TIntermTyped* newNode =
10520|      0|                intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConstructUVec2, false, newSrcNode, type);
10521|      0|            return newNode;
10522|      0|        }
10523|      0|        [[fallthrough]];
10524|     18|    case EOpConstructUVec3:
  ------------------
  |  Branch (10524:5): [True: 18, False: 24]
  ------------------
10525|     18|    case EOpConstructUVec4:
  ------------------
  |  Branch (10525:5): [True: 0, False: 42]
  ------------------
10526|     18|    case EOpConstructUint:
  ------------------
  |  Branch (10526:5): [True: 0, False: 42]
  ------------------
10527|     18|        basicOp = EOpConstructUint;
10528|     18|        break;
10529|       |
10530|      0|    case EOpConstructBVec2:
  ------------------
  |  Branch (10530:5): [True: 0, False: 42]
  ------------------
10531|      0|    case EOpConstructBVec3:
  ------------------
  |  Branch (10531:5): [True: 0, False: 42]
  ------------------
10532|      0|    case EOpConstructBVec4:
  ------------------
  |  Branch (10532:5): [True: 0, False: 42]
  ------------------
10533|      0|    case EOpConstructBool:
  ------------------
  |  Branch (10533:5): [True: 0, False: 42]
  ------------------
10534|      0|        basicOp = EOpConstructBool;
10535|      0|        break;
10536|      0|    case EOpConstructTextureSampler:
  ------------------
  |  Branch (10536:5): [True: 0, False: 42]
  ------------------
10537|      0|        if ((node->getType().getBasicType() == EbtUint || node->getType().getBasicType() == EbtInt) &&
  ------------------
  |  Branch (10537:14): [True: 0, False: 0]
  |  Branch (10537:59): [True: 0, False: 0]
  ------------------
10538|      0|            node->getType().getVectorSize() == 2) {
  ------------------
  |  Branch (10538:13): [True: 0, False: 0]
  ------------------
10539|      0|            requireExtensions(loc, 1, &E_GL_ARB_bindless_texture, "ivec2/uvec2 convert to texture handle");
10540|       |            // No matter ivec2 or uvec2, Set EOpPackUint2x32 just to generate an opBitcast op code
10541|      0|            TIntermTyped* newNode =
10542|      0|                intermediate.addBuiltInFunctionCall(node->getLoc(), EOpPackUint2x32, true, node, type);
10543|      0|            return newNode;
10544|      0|        }
10545|      0|        [[fallthrough]];
10546|      0|    case EOpConstructDVec2:
  ------------------
  |  Branch (10546:5): [True: 0, False: 42]
  ------------------
10547|      0|    case EOpConstructDVec3:
  ------------------
  |  Branch (10547:5): [True: 0, False: 42]
  ------------------
10548|      0|    case EOpConstructDVec4:
  ------------------
  |  Branch (10548:5): [True: 0, False: 42]
  ------------------
10549|      0|    case EOpConstructDMat2x2:
  ------------------
  |  Branch (10549:5): [True: 0, False: 42]
  ------------------
10550|      0|    case EOpConstructDMat2x3:
  ------------------
  |  Branch (10550:5): [True: 0, False: 42]
  ------------------
10551|      0|    case EOpConstructDMat2x4:
  ------------------
  |  Branch (10551:5): [True: 0, False: 42]
  ------------------
10552|      0|    case EOpConstructDMat3x2:
  ------------------
  |  Branch (10552:5): [True: 0, False: 42]
  ------------------
10553|      0|    case EOpConstructDMat3x3:
  ------------------
  |  Branch (10553:5): [True: 0, False: 42]
  ------------------
10554|      0|    case EOpConstructDMat3x4:
  ------------------
  |  Branch (10554:5): [True: 0, False: 42]
  ------------------
10555|      0|    case EOpConstructDMat4x2:
  ------------------
  |  Branch (10555:5): [True: 0, False: 42]
  ------------------
10556|      0|    case EOpConstructDMat4x3:
  ------------------
  |  Branch (10556:5): [True: 0, False: 42]
  ------------------
10557|      0|    case EOpConstructDMat4x4:
  ------------------
  |  Branch (10557:5): [True: 0, False: 42]
  ------------------
10558|      0|    case EOpConstructDouble:
  ------------------
  |  Branch (10558:5): [True: 0, False: 42]
  ------------------
10559|      0|        basicOp = EOpConstructDouble;
10560|      0|        break;
10561|       |
10562|      0|    case EOpConstructF16Vec2:
  ------------------
  |  Branch (10562:5): [True: 0, False: 42]
  ------------------
10563|      0|    case EOpConstructF16Vec3:
  ------------------
  |  Branch (10563:5): [True: 0, False: 42]
  ------------------
10564|      0|    case EOpConstructF16Vec4:
  ------------------
  |  Branch (10564:5): [True: 0, False: 42]
  ------------------
10565|      0|    case EOpConstructF16Mat2x2:
  ------------------
  |  Branch (10565:5): [True: 0, False: 42]
  ------------------
10566|      0|    case EOpConstructF16Mat2x3:
  ------------------
  |  Branch (10566:5): [True: 0, False: 42]
  ------------------
10567|      0|    case EOpConstructF16Mat2x4:
  ------------------
  |  Branch (10567:5): [True: 0, False: 42]
  ------------------
10568|      0|    case EOpConstructF16Mat3x2:
  ------------------
  |  Branch (10568:5): [True: 0, False: 42]
  ------------------
10569|      0|    case EOpConstructF16Mat3x3:
  ------------------
  |  Branch (10569:5): [True: 0, False: 42]
  ------------------
10570|      0|    case EOpConstructF16Mat3x4:
  ------------------
  |  Branch (10570:5): [True: 0, False: 42]
  ------------------
10571|      0|    case EOpConstructF16Mat4x2:
  ------------------
  |  Branch (10571:5): [True: 0, False: 42]
  ------------------
10572|      0|    case EOpConstructF16Mat4x3:
  ------------------
  |  Branch (10572:5): [True: 0, False: 42]
  ------------------
10573|      0|    case EOpConstructF16Mat4x4:
  ------------------
  |  Branch (10573:5): [True: 0, False: 42]
  ------------------
10574|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (10574:5): [True: 0, False: 42]
  ------------------
10575|      0|        basicOp = EOpConstructFloat16;
10576|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10577|       |        // so construct a 32-bit type and convert
10578|       |        // and do not generate any conversion if it is an identity conversion, i.e. float16_t(<float16_t> var)
10579|      0|        if (!intermediate.getArithemeticFloat16Enabled() && (node->getBasicType() != EbtFloat16)) {
  ------------------
  |  Branch (10579:13): [True: 0, False: 0]
  |  Branch (10579:61): [True: 0, False: 0]
  ------------------
10580|      0|            TType tempType(EbtFloat, EvqTemporary, type.getVectorSize());
10581|      0|            newNode = node;
10582|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10582:17): [True: 0, False: 0]
  ------------------
10583|      0|                TOperator aggregateOp;
10584|      0|                if (op == EOpConstructFloat16)
  ------------------
  |  Branch (10584:21): [True: 0, False: 0]
  ------------------
10585|      0|                    aggregateOp = EOpConstructFloat;
10586|      0|                else
10587|      0|                    aggregateOp = (TOperator)(EOpConstructVec2 + op - EOpConstructF16Vec2);
10588|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10589|      0|            }
10590|      0|            newNode = intermediate.addConversion(EbtFloat16, newNode);
10591|      0|            return newNode;
10592|      0|        }
10593|      0|        break;
10594|       |
10595|      0|    case EOpConstructBF16Vec2:
  ------------------
  |  Branch (10595:5): [True: 0, False: 42]
  ------------------
10596|      0|    case EOpConstructBF16Vec3:
  ------------------
  |  Branch (10596:5): [True: 0, False: 42]
  ------------------
10597|      0|    case EOpConstructBF16Vec4:
  ------------------
  |  Branch (10597:5): [True: 0, False: 42]
  ------------------
10598|      0|    case EOpConstructBFloat16:
  ------------------
  |  Branch (10598:5): [True: 0, False: 42]
  ------------------
10599|      0|        basicOp = EOpConstructBFloat16;
10600|      0|        break;
10601|       |
10602|      0|    case EOpConstructFloatE5M2Vec2:
  ------------------
  |  Branch (10602:5): [True: 0, False: 42]
  ------------------
10603|      0|    case EOpConstructFloatE5M2Vec3:
  ------------------
  |  Branch (10603:5): [True: 0, False: 42]
  ------------------
10604|      0|    case EOpConstructFloatE5M2Vec4:
  ------------------
  |  Branch (10604:5): [True: 0, False: 42]
  ------------------
10605|      0|    case EOpConstructFloatE5M2:
  ------------------
  |  Branch (10605:5): [True: 0, False: 42]
  ------------------
10606|      0|        basicOp = EOpConstructFloatE5M2;
10607|      0|        break;
10608|       |
10609|      0|    case EOpConstructFloatE4M3Vec2:
  ------------------
  |  Branch (10609:5): [True: 0, False: 42]
  ------------------
10610|      0|    case EOpConstructFloatE4M3Vec3:
  ------------------
  |  Branch (10610:5): [True: 0, False: 42]
  ------------------
10611|      0|    case EOpConstructFloatE4M3Vec4:
  ------------------
  |  Branch (10611:5): [True: 0, False: 42]
  ------------------
10612|      0|    case EOpConstructFloatE4M3:
  ------------------
  |  Branch (10612:5): [True: 0, False: 42]
  ------------------
10613|      0|        basicOp = EOpConstructFloatE4M3;
10614|      0|        break;
10615|       |
10616|      0|    case EOpConstructFloatE2M1Vec2:
  ------------------
  |  Branch (10616:5): [True: 0, False: 42]
  ------------------
10617|      0|    case EOpConstructFloatE2M1Vec3:
  ------------------
  |  Branch (10617:5): [True: 0, False: 42]
  ------------------
10618|      0|    case EOpConstructFloatE2M1Vec4:
  ------------------
  |  Branch (10618:5): [True: 0, False: 42]
  ------------------
10619|      0|    case EOpConstructFloatE2M1:
  ------------------
  |  Branch (10619:5): [True: 0, False: 42]
  ------------------
10620|      0|        basicOp = EOpConstructFloatE2M1;
10621|      0|        break;
10622|       |
10623|      0|    case EOpConstructFloatE3M2Vec2:
  ------------------
  |  Branch (10623:5): [True: 0, False: 42]
  ------------------
10624|      0|    case EOpConstructFloatE3M2Vec3:
  ------------------
  |  Branch (10624:5): [True: 0, False: 42]
  ------------------
10625|      0|    case EOpConstructFloatE3M2Vec4:
  ------------------
  |  Branch (10625:5): [True: 0, False: 42]
  ------------------
10626|      0|    case EOpConstructFloatE3M2:
  ------------------
  |  Branch (10626:5): [True: 0, False: 42]
  ------------------
10627|      0|        basicOp = EOpConstructFloatE3M2;
10628|      0|        break;
10629|       |
10630|      0|    case EOpConstructFloatE2M3Vec2:
  ------------------
  |  Branch (10630:5): [True: 0, False: 42]
  ------------------
10631|      0|    case EOpConstructFloatE2M3Vec3:
  ------------------
  |  Branch (10631:5): [True: 0, False: 42]
  ------------------
10632|      0|    case EOpConstructFloatE2M3Vec4:
  ------------------
  |  Branch (10632:5): [True: 0, False: 42]
  ------------------
10633|      0|    case EOpConstructFloatE2M3:
  ------------------
  |  Branch (10633:5): [True: 0, False: 42]
  ------------------
10634|      0|        basicOp = EOpConstructFloatE2M3;
10635|      0|        break;
10636|       |
10637|      0|    case EOpConstructFloatUE8M0Vec2:
  ------------------
  |  Branch (10637:5): [True: 0, False: 42]
  ------------------
10638|      0|    case EOpConstructFloatUE8M0Vec3:
  ------------------
  |  Branch (10638:5): [True: 0, False: 42]
  ------------------
10639|      0|    case EOpConstructFloatUE8M0Vec4:
  ------------------
  |  Branch (10639:5): [True: 0, False: 42]
  ------------------
10640|      0|    case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (10640:5): [True: 0, False: 42]
  ------------------
10641|      0|        basicOp = EOpConstructFloatUE8M0;
10642|      0|        break;
10643|       |
10644|      0|    case EOpConstructFloatMXINT8Vec2:
  ------------------
  |  Branch (10644:5): [True: 0, False: 42]
  ------------------
10645|      0|    case EOpConstructFloatMXINT8Vec3:
  ------------------
  |  Branch (10645:5): [True: 0, False: 42]
  ------------------
10646|      0|    case EOpConstructFloatMXINT8Vec4:
  ------------------
  |  Branch (10646:5): [True: 0, False: 42]
  ------------------
10647|      0|    case EOpConstructFloatMXINT8:
  ------------------
  |  Branch (10647:5): [True: 0, False: 42]
  ------------------
10648|      0|        basicOp = EOpConstructFloatMXINT8;
10649|      0|        break;
10650|       |
10651|      0|    case EOpConstructI8Vec2:
  ------------------
  |  Branch (10651:5): [True: 0, False: 42]
  ------------------
10652|      0|    case EOpConstructI8Vec3:
  ------------------
  |  Branch (10652:5): [True: 0, False: 42]
  ------------------
10653|      0|    case EOpConstructI8Vec4:
  ------------------
  |  Branch (10653:5): [True: 0, False: 42]
  ------------------
10654|      0|    case EOpConstructInt8:
  ------------------
  |  Branch (10654:5): [True: 0, False: 42]
  ------------------
10655|      0|        basicOp = EOpConstructInt8;
10656|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10657|       |        // so construct a 32-bit type and convert
10658|       |        // and do not generate any conversion if it is an identity conversion, i.e. int8_t(<int8_t> var)
10659|      0|        if (!intermediate.getArithemeticInt8Enabled() && (node->getBasicType() != EbtInt8)) {
  ------------------
  |  Branch (10659:13): [True: 0, False: 0]
  |  Branch (10659:58): [True: 0, False: 0]
  ------------------
10660|      0|            TType tempType(EbtInt, EvqTemporary, type.getVectorSize());
10661|      0|            newNode = node;
10662|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10662:17): [True: 0, False: 0]
  ------------------
10663|      0|                TOperator aggregateOp;
10664|      0|                if (op == EOpConstructInt8)
  ------------------
  |  Branch (10664:21): [True: 0, False: 0]
  ------------------
10665|      0|                    aggregateOp = EOpConstructInt;
10666|      0|                else
10667|      0|                    aggregateOp = (TOperator)(EOpConstructIVec2 + op - EOpConstructI8Vec2);
10668|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10669|      0|            }
10670|      0|            newNode = intermediate.addConversion(EbtInt8, newNode);
10671|      0|            return newNode;
10672|      0|        }
10673|      0|        break;
10674|       |
10675|      0|    case EOpConstructU8Vec2:
  ------------------
  |  Branch (10675:5): [True: 0, False: 42]
  ------------------
10676|      0|    case EOpConstructU8Vec3:
  ------------------
  |  Branch (10676:5): [True: 0, False: 42]
  ------------------
10677|      0|    case EOpConstructU8Vec4:
  ------------------
  |  Branch (10677:5): [True: 0, False: 42]
  ------------------
10678|      0|    case EOpConstructUint8:
  ------------------
  |  Branch (10678:5): [True: 0, False: 42]
  ------------------
10679|      0|        basicOp = EOpConstructUint8;
10680|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10681|       |        // so construct a 32-bit type and convert
10682|       |        // and do not generate any conversion if it is an identity conversion, i.e. uint8_t(<uint8_t> var)
10683|      0|        if (!intermediate.getArithemeticInt8Enabled() && (node->getBasicType() != EbtUint8)) {
  ------------------
  |  Branch (10683:13): [True: 0, False: 0]
  |  Branch (10683:58): [True: 0, False: 0]
  ------------------
10684|      0|            TType tempType(EbtUint, EvqTemporary, type.getVectorSize());
10685|      0|            newNode = node;
10686|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10686:17): [True: 0, False: 0]
  ------------------
10687|      0|                TOperator aggregateOp;
10688|      0|                if (op == EOpConstructUint8)
  ------------------
  |  Branch (10688:21): [True: 0, False: 0]
  ------------------
10689|      0|                    aggregateOp = EOpConstructUint;
10690|      0|                else
10691|      0|                    aggregateOp = (TOperator)(EOpConstructUVec2 + op - EOpConstructU8Vec2);
10692|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10693|      0|            }
10694|      0|            newNode = intermediate.addConversion(EbtUint8, newNode);
10695|      0|            return newNode;
10696|      0|        }
10697|      0|        break;
10698|       |
10699|      0|    case EOpConstructI16Vec2:
  ------------------
  |  Branch (10699:5): [True: 0, False: 42]
  ------------------
10700|      0|    case EOpConstructI16Vec3:
  ------------------
  |  Branch (10700:5): [True: 0, False: 42]
  ------------------
10701|      0|    case EOpConstructI16Vec4:
  ------------------
  |  Branch (10701:5): [True: 0, False: 42]
  ------------------
10702|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (10702:5): [True: 0, False: 42]
  ------------------
10703|      0|        basicOp = EOpConstructInt16;
10704|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10705|       |        // so construct a 32-bit type and convert
10706|       |        // and do not generate any conversion if it is an identity conversion, i.e. int16_t(<int16_t> var)
10707|      0|        if (!intermediate.getArithemeticInt16Enabled() && (node->getBasicType() != EbtInt16)) {
  ------------------
  |  Branch (10707:13): [True: 0, False: 0]
  |  Branch (10707:59): [True: 0, False: 0]
  ------------------
10708|      0|            TType tempType(EbtInt, EvqTemporary, type.getVectorSize());
10709|      0|            newNode = node;
10710|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10710:17): [True: 0, False: 0]
  ------------------
10711|      0|                TOperator aggregateOp;
10712|      0|                if (op == EOpConstructInt16)
  ------------------
  |  Branch (10712:21): [True: 0, False: 0]
  ------------------
10713|      0|                    aggregateOp = EOpConstructInt;
10714|      0|                else
10715|      0|                    aggregateOp = (TOperator)(EOpConstructIVec2 + op - EOpConstructI16Vec2);
10716|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10717|      0|            }
10718|      0|            newNode = intermediate.addConversion(EbtInt16, newNode);
10719|      0|            return newNode;
10720|      0|        }
10721|      0|        break;
10722|       |
10723|      0|    case EOpConstructU16Vec2:
  ------------------
  |  Branch (10723:5): [True: 0, False: 42]
  ------------------
10724|      0|    case EOpConstructU16Vec3:
  ------------------
  |  Branch (10724:5): [True: 0, False: 42]
  ------------------
10725|      0|    case EOpConstructU16Vec4:
  ------------------
  |  Branch (10725:5): [True: 0, False: 42]
  ------------------
10726|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (10726:5): [True: 0, False: 42]
  ------------------
10727|      0|        basicOp = EOpConstructUint16;
10728|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10729|       |        // so construct a 32-bit type and convert
10730|       |        // and do not generate any conversion if it is an identity conversion, i.e. uint16_t(<uint16_t> var)
10731|      0|        if (!intermediate.getArithemeticInt16Enabled() && (node->getBasicType() != EbtUint16)) {
  ------------------
  |  Branch (10731:13): [True: 0, False: 0]
  |  Branch (10731:59): [True: 0, False: 0]
  ------------------
10732|      0|            TType tempType(EbtUint, EvqTemporary, type.getVectorSize());
10733|      0|            newNode = node;
10734|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10734:17): [True: 0, False: 0]
  ------------------
10735|      0|                TOperator aggregateOp;
10736|      0|                if (op == EOpConstructUint16)
  ------------------
  |  Branch (10736:21): [True: 0, False: 0]
  ------------------
10737|      0|                    aggregateOp = EOpConstructUint;
10738|      0|                else
10739|      0|                    aggregateOp = (TOperator)(EOpConstructUVec2 + op - EOpConstructU16Vec2);
10740|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10741|      0|            }
10742|      0|            newNode = intermediate.addConversion(EbtUint16, newNode);
10743|      0|            return newNode;
10744|      0|        }
10745|      0|        break;
10746|       |
10747|      0|    case EOpConstructI64Vec2:
  ------------------
  |  Branch (10747:5): [True: 0, False: 42]
  ------------------
10748|      0|    case EOpConstructI64Vec3:
  ------------------
  |  Branch (10748:5): [True: 0, False: 42]
  ------------------
10749|      0|    case EOpConstructI64Vec4:
  ------------------
  |  Branch (10749:5): [True: 0, False: 42]
  ------------------
10750|      0|    case EOpConstructInt64:
  ------------------
  |  Branch (10750:5): [True: 0, False: 42]
  ------------------
10751|      0|        basicOp = EOpConstructInt64;
10752|      0|        break;
10753|       |
10754|      0|    case EOpConstructUint64:
  ------------------
  |  Branch (10754:5): [True: 0, False: 42]
  ------------------
10755|      0|        if (type.isScalar() && node->getType().isReference()) {
  ------------------
  |  Branch (10755:13): [True: 0, False: 0]
  |  Branch (10755:32): [True: 0, False: 0]
  ------------------
10756|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvPtrToUint64, true, node, type);
10757|      0|            return newNode;
10758|      0|        }
10759|      0|        [[fallthrough]];
10760|      0|    case EOpConstructU64Vec2:
  ------------------
  |  Branch (10760:5): [True: 0, False: 42]
  ------------------
10761|      0|    case EOpConstructU64Vec3:
  ------------------
  |  Branch (10761:5): [True: 0, False: 42]
  ------------------
10762|      0|    case EOpConstructU64Vec4:
  ------------------
  |  Branch (10762:5): [True: 0, False: 42]
  ------------------
10763|      0|        basicOp = EOpConstructUint64;
10764|      0|        break;
10765|       |
10766|      0|    case EOpConstructNonuniform:
  ------------------
  |  Branch (10766:5): [True: 0, False: 42]
  ------------------
10767|       |        // Make a nonuniform copy of node
10768|      0|        newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpCopyObject, true, node, type);
10769|      0|        return newNode;
10770|       |
10771|      0|    case EOpConstructReference:
  ------------------
  |  Branch (10771:5): [True: 0, False: 42]
  ------------------
10772|       |        // construct reference from reference
10773|      0|        if (node->getType().isReference()) {
  ------------------
  |  Branch (10773:13): [True: 0, False: 0]
  ------------------
10774|      0|            newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConstructReference, true, node, type);
10775|      0|            return newNode;
10776|       |        // construct reference from uint64
10777|      0|        } else if (node->getType().isScalar() && node->getType().getBasicType() == EbtUint64) {
  ------------------
  |  Branch (10777:20): [True: 0, False: 0]
  |  Branch (10777:50): [True: 0, False: 0]
  ------------------
10778|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUint64ToPtr, true, node,
10779|      0|                type);
10780|      0|            return newNode;
10781|       |        // construct reference from uvec2
10782|      0|        } else if (node->getType().isVector() && node->getType().getBasicType() == EbtUint &&
  ------------------
  |  Branch (10782:20): [True: 0, False: 0]
  |  Branch (10782:50): [True: 0, False: 0]
  ------------------
10783|      0|                   node->getVectorSize() == 2) {
  ------------------
  |  Branch (10783:20): [True: 0, False: 0]
  ------------------
10784|      0|            requireExtensions(loc, 1, &E_GL_EXT_buffer_reference_uvec2, "uvec2 conversion to reference");
10785|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUvec2ToPtr, true, node,
10786|      0|                type);
10787|      0|            return newNode;
10788|      0|        } else {
10789|      0|            return nullptr;
10790|      0|        }
10791|       |
10792|      0|    case EOpConstructCooperativeVectorNV:
  ------------------
  |  Branch (10792:5): [True: 0, False: 42]
  ------------------
10793|      0|        if (!node->getType().isCoopVecNV()) {
  ------------------
  |  Branch (10793:13): [True: 0, False: 0]
  ------------------
10794|      0|            if (type.getBasicType() != node->getType().getBasicType()) {
  ------------------
  |  Branch (10794:17): [True: 0, False: 0]
  ------------------
10795|      0|                node = intermediate.addConversion(type.getBasicType(), node);
10796|      0|                if (node == nullptr)
  ------------------
  |  Branch (10796:21): [True: 0, False: 0]
  ------------------
10797|      0|                    return nullptr;
10798|      0|            }
10799|      0|        }
10800|      0|        if (type.getBasicType() != node->getType().getBasicType()) {
  ------------------
  |  Branch (10800:13): [True: 0, False: 0]
  ------------------
10801|      0|            intermediate.buildConvertOp(type.getBasicType(), node->getType().getBasicType(), op);
10802|      0|            node = intermediate.addUnaryNode(op, node, node->getLoc(), type);
10803|      0|            return node;
10804|      0|        }
10805|      0|        if (subset) {
  ------------------
  |  Branch (10805:13): [True: 0, False: 0]
  ------------------
10806|      0|            return node;
10807|      0|        }
10808|       |
10809|      0|        node = intermediate.setAggregateOperator(node, op, type, node->getLoc());
10810|       |
10811|      0|        return node;
10812|       |
10813|      0|    case EOpConstructCooperativeMatrixNV:
  ------------------
  |  Branch (10813:5): [True: 0, False: 42]
  ------------------
10814|      0|    case EOpConstructCooperativeMatrixKHR:
  ------------------
  |  Branch (10814:5): [True: 0, False: 42]
  ------------------
10815|      0|        if (node->getType() == type) {
  ------------------
  |  Branch (10815:13): [True: 0, False: 0]
  ------------------
10816|      0|            return node;
10817|      0|        }
10818|      0|        if (!node->getType().isCoopMat()) {
  ------------------
  |  Branch (10818:13): [True: 0, False: 0]
  ------------------
10819|      0|            if (type.getBasicType() != node->getType().getBasicType()) {
  ------------------
  |  Branch (10819:17): [True: 0, False: 0]
  ------------------
10820|      0|                node = intermediate.addConversion(type.getBasicType(), node);
10821|      0|                if (node == nullptr)
  ------------------
  |  Branch (10821:21): [True: 0, False: 0]
  ------------------
10822|      0|                    return nullptr;
10823|      0|            }
10824|      0|            node = intermediate.setAggregateOperator(node, op, type, node->getLoc());
10825|      0|        } else if (type.sameCoopMatShape(node->getType()) && !type.sameCoopMatUse(node->getType()) &&
  ------------------
  |  Branch (10825:20): [True: 0, False: 0]
  |  Branch (10825:62): [True: 0, False: 0]
  ------------------
10826|      0|                   type.getBasicType() == node->getType().getBasicType()) {
  ------------------
  |  Branch (10826:20): [True: 0, False: 0]
  ------------------
10827|      0|            node = intermediate.setAggregateOperator(node, op, type, node->getLoc());
10828|      0|        } else {
10829|      0|            TOperator op = EOpConvNumeric;
10830|       |
10831|      0|            node = intermediate.addUnaryNode(op, node, node->getLoc(), type);
10832|       |            // If it's a (non-specialization) constant, it must be folded.
10833|      0|            if (node->getAsUnaryNode()->getOperand()->getAsConstantUnion())
  ------------------
  |  Branch (10833:17): [True: 0, False: 0]
  ------------------
10834|      0|                return node->getAsUnaryNode()->getOperand()->getAsConstantUnion()->fold(op, node->getType());
10835|      0|        }
10836|       |
10837|      0|        return node;
10838|       |
10839|      0|    case EOpConstructAccStruct:
  ------------------
  |  Branch (10839:5): [True: 0, False: 42]
  ------------------
10840|      0|        if ((node->getType().isScalar() && node->getType().getBasicType() == EbtUint64)) {
  ------------------
  |  Branch (10840:14): [True: 0, False: 0]
  |  Branch (10840:44): [True: 0, False: 0]
  ------------------
10841|       |            // construct acceleration structure from uint64
10842|      0|            requireExtensions(loc, Num_ray_tracing_EXTs, ray_tracing_EXTs, "uint64_t conversion to acclerationStructureEXT");
10843|      0|            return intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUint64ToAccStruct, true, node,
10844|      0|                type);
10845|      0|        } else if (node->getType().isVector() && node->getType().getBasicType() == EbtUint && node->getVectorSize() == 2) {
  ------------------
  |  Branch (10845:20): [True: 0, False: 0]
  |  Branch (10845:50): [True: 0, False: 0]
  |  Branch (10845:95): [True: 0, False: 0]
  ------------------
10846|       |            // construct acceleration structure from uint64
10847|      0|            requireExtensions(loc, Num_ray_tracing_EXTs, ray_tracing_EXTs, "uvec2 conversion to accelerationStructureEXT");
10848|      0|            return intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUvec2ToAccStruct, true, node,
10849|      0|                type);
10850|      0|        } else
10851|      0|            return nullptr;
10852|       |
10853|      0|    default:
  ------------------
  |  Branch (10853:5): [True: 0, False: 42]
  ------------------
10854|      0|        error(loc, "unsupported construction", "", "");
10855|       |
10856|      0|        return nullptr;
10857|     42|    }
10858|     42|    newNode = intermediate.addUnaryMath(basicOp, node, node->getLoc());
10859|     42|    if (newNode == nullptr) {
  ------------------
  |  Branch (10859:9): [True: 0, False: 42]
  ------------------
10860|      0|        error(loc, "can't convert", "constructor", "");
10861|      0|        return nullptr;
10862|      0|    }
10863|       |
10864|       |    //
10865|       |    // Now, if there still isn't an operation to do the construction, and we need one, add one.
10866|       |    //
10867|       |
10868|       |    // Otherwise, skip out early.
10869|     42|    if (subset || (newNode != node && newNode->getType() == type))
  ------------------
  |  Branch (10869:9): [True: 42, False: 0]
  |  Branch (10869:20): [True: 0, False: 0]
  |  Branch (10869:39): [True: 0, False: 0]
  ------------------
10870|     42|        return newNode;
10871|       |
10872|       |    // setAggregateOperator will insert a new node for the constructor, as needed.
10873|      0|    return intermediate.setAggregateOperator(newNode, op, type, loc);
10874|     42|}
_ZN7glslang13TParseContext12makeVariadicEPNS_9TFunctionERKNS_10TSourceLocE:
10876|    120|void TParseContext::makeVariadic(TFunction *F, const TSourceLoc &loc) {
10877|    120|    if (parsingBuiltins) {
  ------------------
  |  Branch (10877:9): [True: 120, False: 0]
  ------------------
10878|    120|        F->setVariadic();
10879|    120|    } else {
10880|      0|        error(loc, "variadic argument specifier is only available for builtins", "...", "");
10881|      0|    }
10882|    120|}
_ZN7glslang13TParseContext19getParamWithDefaultERKNS_11TPublicTypeEPNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEEPNS_12TIntermTypedERKNS_10TSourceLocE:
10886|    120|{
10887|    120|    if (!parsingBuiltins) {
  ------------------
  |  Branch (10887:9): [True: 0, False: 120]
  ------------------
10888|      0|        error(loc, "default argument values are only available for builtins", "=", "");
10889|      0|        initializer = nullptr;
10890|      0|    }
10891|    120|    if (ty.arraySizes) {
  ------------------
  |  Branch (10891:9): [True: 0, False: 120]
  ------------------
10892|      0|        error(loc, "array arguments cannot be default-initialized", identifier->c_str(), "");
10893|      0|        initializer = nullptr;
10894|      0|    }
10895|    120|    if (ty.basicType == EbtVoid) {
  ------------------
  |  Branch (10895:9): [True: 0, False: 120]
  ------------------
10896|      0|        error(loc, "illegal use of type 'void'", identifier->c_str(), "");
10897|      0|        initializer = nullptr;
10898|      0|    }
10899|    120|    reservedErrorCheck(loc, *identifier);
10900|    120|    TParameter param = {identifier, new TType(ty), initializer};
10901|    120|    return param;
10902|    120|}
_ZN7glslang13TParseContext23inheritMemoryQualifiersERKNS_10TQualifierERS1_:
10925|     98|{
10926|     98|    if (from.isReadOnly())
  ------------------
  |  Branch (10926:9): [True: 0, False: 98]
  ------------------
10927|      0|        to.readonly = from.readonly;
10928|     98|    if (from.isWriteOnly())
  ------------------
  |  Branch (10928:9): [True: 0, False: 98]
  ------------------
10929|      0|        to.writeonly = from.writeonly;
10930|     98|    if (from.coherent)
  ------------------
  |  Branch (10930:9): [True: 0, False: 98]
  ------------------
10931|      0|        to.coherent = from.coherent;
10932|     98|    if (from.volatil)
  ------------------
  |  Branch (10932:9): [True: 0, False: 98]
  ------------------
10933|      0|        to.volatil = from.volatil;
10934|     98|    if (from.nontemporal)
  ------------------
  |  Branch (10934:9): [True: 0, False: 98]
  ------------------
10935|      0|        to.nontemporal = from.nontemporal;
10936|     98|    if (from.restrict)
  ------------------
  |  Branch (10936:9): [True: 0, False: 98]
  ------------------
10937|      0|        to.restrict = from.restrict;
10938|     98|}
_ZN7glslang13TParseContext16untypedHeapCheckEPNS_7TSymbolERKNS_5TTypeERKNS_10TSourceLocEPKc:
11013|  1.97k|{
11014|       |    // EXT_descriptor_heap
11015|  1.97k|    bool isHeapStruct =
11016|  1.97k|        (type.getQualifier().storage == EvqSamplerHeap || type.getQualifier().storage == EvqResourceHeap);
  ------------------
  |  Branch (11016:10): [True: 0, False: 1.97k]
  |  Branch (11016:59): [True: 0, False: 1.97k]
  ------------------
11017|       |
11018|  1.97k|    if (intermediate.IsRequestedExtension(E_GL_EXT_descriptor_heap) && spvVersion.vulkan > 0 &&
  ------------------
  |  Branch (11018:9): [True: 0, False: 1.97k]
  |  Branch (11018:72): [True: 0, False: 0]
  ------------------
11019|      0|        !type.getQualifier().hasSet() && !type.getQualifier().hasBinding()) {
  ------------------
  |  Branch (11019:9): [True: 0, False: 0]
  |  Branch (11019:42): [True: 0, False: 0]
  ------------------
11020|      0|        if (type.getQualifier().layoutDescriptorHeap || isHeapStruct) {
  ------------------
  |  Branch (11020:13): [True: 0, False: 0]
  |  Branch (11020:57): [True: 0, False: 0]
  ------------------
11021|      0|            if ((intermediate.isEsProfile() && intermediate.getVersion() < 310) ||
  ------------------
  |  Branch (11021:18): [True: 0, False: 0]
  |  Branch (11021:48): [True: 0, False: 0]
  ------------------
11022|      0|                (!intermediate.isEsProfile() && intermediate.getVersion() < 420)) {
  ------------------
  |  Branch (11022:18): [True: 0, False: 0]
  |  Branch (11022:49): [True: 0, False: 0]
  ------------------
11023|      0|                TString warnMsg = "layout(descriptor_heap) is turned on beyond version/profile limits.";
11024|      0|                infoSink.info.message(EPrefixWarning, warnMsg.c_str());
11025|      0|            }
11026|      0|            if (IsAnonymous(symbol->getName()) &&
  ------------------
  |  Branch (11026:17): [True: 0, False: 0]
  ------------------
11027|      0|                (type.getQualifier().isUniformOrBuffer() || type.getBasicType() == EbtBlock)) {
  ------------------
  |  Branch (11027:18): [True: 0, False: 0]
  |  Branch (11027:61): [True: 0, False: 0]
  ------------------
11028|      0|                error(loc, "layout(descriptor_heap) decorated block should be explicitly "
11029|      0|                    "declared with a run-time sized array type.", name, "");
11030|      0|                return false;
11031|      0|            }
11032|      0|            if (type.getBasicType() == EbtSampler && type.getSampler().isCombined()) {
  ------------------
  |  Branch (11032:17): [True: 0, False: 0]
  |  Branch (11032:54): [True: 0, False: 0]
  ------------------
11033|      0|                error(loc, "layout(descriptor_heap) cannot be used with combined image samplers.",
11034|      0|                      name, "");
11035|      0|                return false;
11036|      0|            }
11037|      0|            if (!type.containsHeapArray() && !isHeapStruct) {
  ------------------
  |  Branch (11037:17): [True: 0, False: 0]
  |  Branch (11037:46): [True: 0, False: 0]
  ------------------
11038|      0|                error(loc, "layout(descriptor_heap) decorated variable could only be declared as an array.",
11039|      0|                      name, "");
11040|      0|                return false;
11041|      0|            }
11042|       |
11043|      0|            if (isHeapStruct && type.isArray()) {
  ------------------
  |  Branch (11043:17): [True: 0, False: 0]
  |  Branch (11043:33): [True: 0, False: 0]
  ------------------
11044|      0|                error(loc, "resourceheap / samplerheap block cannot itself be an array.", name, "");
11045|      0|                return false;
11046|      0|            }
11047|       |
11048|      0|            descHeapBuiltinRemap(&symbol->getWritableType(), true);
11049|      0|        }
11050|      0|    }
11051|  1.97k|    return true;
11052|  1.97k|}
_ZN7glslang13TParseContext12declareBlockERKNS_10TSourceLocERNS_7TVectorINS_8TTypeLocEEEPKNSt3__112basic_stringIcNS8_11char_traitsIcEENS_14pool_allocatorIcEEEEPNS_11TArraySizesE:
11064|     18|{
11065|     18|    if (spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (11065:9): [True: 0, False: 18]
  |  Branch (11065:34): [True: 0, False: 0]
  ------------------
11066|      0|        blockStorageRemap(loc, blockName, currentBlockQualifier);
11067|     18|    blockStageIoCheck(loc, currentBlockQualifier);
11068|     18|    blockQualifierCheck(loc, currentBlockQualifier, instanceName != nullptr);
11069|     18|    if (arraySizes != nullptr) {
  ------------------
  |  Branch (11069:9): [True: 12, False: 6]
  ------------------
11070|     12|        arraySizesCheck(loc, currentBlockQualifier, arraySizes, nullptr, false);
11071|     12|        arrayOfArrayVersionCheck(loc, arraySizes);
11072|     12|        if (arraySizes->getNumDims() > 1)
  ------------------
  |  Branch (11072:13): [True: 0, False: 12]
  ------------------
11073|      0|            requireProfile(loc, ~EEsProfile, "array-of-array of block");
11074|     12|    }
11075|       |
11076|       |    // Inherit and check member storage qualifiers WRT to the block-level qualifier.
11077|    116|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11077:35): [True: 98, False: 18]
  ------------------
11078|     98|        TType& memberType = *typeList[member].type;
11079|     98|        TQualifier& memberQualifier = memberType.getQualifier();
11080|     98|        const TSourceLoc& memberLoc = typeList[member].loc;
11081|     98|        const bool heapBufferTypeMember =
11082|     98|            isResourceHeapBufferTypeMember(currentBlockQualifier, memberQualifier);
11083|     98|        const bool heapBlockMember =
11084|     98|            currentBlockQualifier.storage == EvqResourceHeap || currentBlockQualifier.storage == EvqSamplerHeap;
  ------------------
  |  Branch (11084:13): [True: 0, False: 98]
  |  Branch (11084:65): [True: 0, False: 98]
  ------------------
11085|     98|        if (memberQualifier.layoutDescriptorHeap && !heapBlockMember)
  ------------------
  |  Branch (11085:13): [True: 0, False: 98]
  |  Branch (11085:53): [True: 0, False: 0]
  ------------------
11086|      0|            error(memberLoc, "can only be used on resourceheap or samplerheap block members", "descriptor heap member", "");
11087|     98|        if (memberQualifier.storage != EvqTemporary && memberQualifier.storage != EvqGlobal &&
  ------------------
  |  Branch (11087:13): [True: 88, False: 10]
  |  Branch (11087:56): [True: 0, False: 88]
  ------------------
11088|      0|            memberQualifier.storage != currentBlockQualifier.storage && !heapBufferTypeMember)
  ------------------
  |  Branch (11088:13): [True: 0, False: 0]
  |  Branch (11088:73): [True: 0, False: 0]
  ------------------
11089|      0|            error(memberLoc, "member storage qualifier cannot contradict block storage qualifier", memberType.getFieldName().c_str(), "");
11090|     98|        if (!heapBufferTypeMember)
  ------------------
  |  Branch (11090:13): [True: 98, False: 0]
  ------------------
11091|     98|            memberQualifier.storage = currentBlockQualifier.storage;
11092|     98|        globalQualifierFixCheck(memberLoc, memberQualifier);
11093|     98|        inheritMemoryQualifiers(currentBlockQualifier, memberQualifier);
11094|     98|        if (currentBlockQualifier.perPrimitiveNV)
  ------------------
  |  Branch (11094:13): [True: 22, False: 76]
  ------------------
11095|     22|            memberQualifier.perPrimitiveNV = currentBlockQualifier.perPrimitiveNV;
11096|     98|        if (currentBlockQualifier.perViewNV)
  ------------------
  |  Branch (11096:13): [True: 0, False: 98]
  ------------------
11097|      0|            memberQualifier.perViewNV = currentBlockQualifier.perViewNV;
11098|     98|        if (currentBlockQualifier.perTaskNV)
  ------------------
  |  Branch (11098:13): [True: 0, False: 98]
  ------------------
11099|      0|            memberQualifier.perTaskNV = currentBlockQualifier.perTaskNV;
11100|     98|        if (currentBlockQualifier.storage == EvqtaskPayloadSharedEXT)
  ------------------
  |  Branch (11100:13): [True: 0, False: 98]
  ------------------
11101|      0|            memberQualifier.storage = EvqtaskPayloadSharedEXT;
11102|     98|        if (memberQualifier.storage == EvqSpirvStorageClass)
  ------------------
  |  Branch (11102:13): [True: 0, False: 98]
  ------------------
11103|      0|            error(memberLoc, "member cannot have a spirv_storage_class qualifier", memberType.getFieldName().c_str(), "");
11104|     98|        if (memberQualifier.hasSpirvDecorate() && !memberQualifier.getSpirvDecorate().decorateIds.empty())
  ------------------
  |  Branch (11104:13): [True: 0, False: 98]
  |  Branch (11104:51): [True: 0, False: 0]
  ------------------
11105|      0|            error(memberLoc, "member cannot have a spirv_decorate_id qualifier", memberType.getFieldName().c_str(), "");
11106|     98|        if ((currentBlockQualifier.storage == EvqUniform || currentBlockQualifier.storage == EvqBuffer) && (memberQualifier.isInterpolation() || memberQualifier.isAuxiliary()))
  ------------------
  |  Branch (11106:14): [True: 0, False: 98]
  |  Branch (11106:61): [True: 0, False: 98]
  |  Branch (11106:109): [True: 0, False: 0]
  |  Branch (11106:146): [True: 0, False: 0]
  ------------------
11107|      0|            error(memberLoc, "member of uniform or buffer block cannot have an auxiliary or interpolation qualifier", memberType.getFieldName().c_str(), "");
11108|     98|        if (memberType.isArray())
  ------------------
  |  Branch (11108:13): [True: 50, False: 48]
  ------------------
11109|     50|            arraySizesCheck(memberLoc, currentBlockQualifier, memberType.getArraySizes(), nullptr, member == typeList.size() - 1);
11110|     98|        if (memberQualifier.hasOffset()) {
  ------------------
  |  Branch (11110:13): [True: 0, False: 98]
  ------------------
11111|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (11111:17): [True: 0, False: 0]
  ------------------
11112|      0|                profileRequires(memberLoc, ~EEsProfile, 440, E_GL_ARB_enhanced_layouts, "\"offset\" on block member");
11113|      0|                profileRequires(memberLoc, EEsProfile, 300, E_GL_ARB_enhanced_layouts, "\"offset\" on block member");
11114|      0|            }
11115|      0|        }
11116|       |
11117|     98|        if (memberQualifier.layoutDescriptorSize != TQualifier::layoutDescriptorSizeEnd && !heapBlockMember)
  ------------------
  |  Branch (11117:13): [True: 0, False: 98]
  |  Branch (11117:92): [True: 0, False: 0]
  ------------------
11118|      0|            error(memberLoc, "can only be used on resourceheap or samplerheap block members", "descriptor_size", "");
11119|       |
11120|       |        // For bindless texture, sampler can be declared as uniform/storage block member,
11121|     98|        if (memberType.containsOpaque() && !extensionTurnedOn(E_GL_EXT_structured_descriptor_heap)) {
  ------------------
  |  Branch (11121:13): [True: 0, False: 98]
  |  Branch (11121:44): [True: 0, False: 0]
  ------------------
11122|      0|            if (memberType.containsSampler() && extensionTurnedOn(E_GL_ARB_bindless_texture))
  ------------------
  |  Branch (11122:17): [True: 0, False: 0]
  |  Branch (11122:49): [True: 0, False: 0]
  ------------------
11123|      0|                updateBindlessQualifier(memberType);
11124|      0|            else
11125|      0|                error(memberLoc, "member of block cannot be or contain a sampler, image, or atomic_uint type", typeList[member].type->getFieldName().c_str(), "");
11126|      0|        }
11127|       |
11128|     98|        if (memberType.containsCoopMat())
  ------------------
  |  Branch (11128:13): [True: 0, False: 98]
  ------------------
11129|      0|            error(memberLoc, "member of block cannot be or contain a cooperative matrix type", typeList[member].type->getFieldName().c_str(), "");
11130|       |
11131|     98|        if (memberType.containsCoopVec())
  ------------------
  |  Branch (11131:13): [True: 0, False: 98]
  ------------------
11132|      0|            error(memberLoc, "member of block cannot be or contain a cooperative vector type", typeList[member].type->getFieldName().c_str(), "");
11133|       |
11134|     98|        if (memberType.containsOcpMicroscalingNonByteFloat())
  ------------------
  |  Branch (11134:13): [True: 0, False: 98]
  ------------------
11135|      0|            error(memberLoc, "member of block cannot be or contain a sub-byte type", typeList[member].type->getFieldName().c_str(), "");
11136|     98|    }
11137|       |
11138|       |    // This might be a redeclaration of a built-in block.  If so, redeclareBuiltinBlock() will
11139|       |    // do all the rest.
11140|     18|    if (! symbolTable.atBuiltInLevel() && builtInName(*blockName)) {
  ------------------
  |  Branch (11140:9): [True: 0, False: 18]
  |  Branch (11140:43): [True: 0, False: 0]
  ------------------
11141|      0|        redeclareBuiltinBlock(loc, typeList, *blockName, instanceName, arraySizes);
11142|      0|        return nullptr;
11143|      0|    }
11144|       |
11145|       |    // Not a redeclaration of a built-in; check that all names are user names.
11146|     18|    reservedErrorCheck(loc, *blockName);
11147|     18|    if (instanceName)
  ------------------
  |  Branch (11147:9): [True: 12, False: 6]
  ------------------
11148|     12|        reservedErrorCheck(loc, *instanceName);
11149|    116|    for (unsigned int member = 0; member < typeList.size(); ++member)
  ------------------
  |  Branch (11149:35): [True: 98, False: 18]
  ------------------
11150|     98|        reservedErrorCheck(typeList[member].loc, typeList[member].type->getFieldName());
11151|       |
11152|       |    // Make default block qualification, and adjust the member qualifications
11153|       |
11154|     18|    TQualifier defaultQualification;
11155|     18|    switch (currentBlockQualifier.storage) {
11156|      0|    case EvqUniform:    defaultQualification = globalUniformDefaults;    break;
  ------------------
  |  Branch (11156:5): [True: 0, False: 18]
  ------------------
11157|      0|    case EvqBuffer:     defaultQualification = globalBufferDefaults;     break;
  ------------------
  |  Branch (11157:5): [True: 0, False: 18]
  ------------------
11158|      2|    case EvqVaryingIn:  defaultQualification = globalInputDefaults;      break;
  ------------------
  |  Branch (11158:5): [True: 2, False: 16]
  ------------------
11159|     16|    case EvqVaryingOut: defaultQualification = globalOutputDefaults;     break;
  ------------------
  |  Branch (11159:5): [True: 16, False: 2]
  ------------------
11160|      0|    case EvqShared:     defaultQualification = globalSharedDefaults;     break;
  ------------------
  |  Branch (11160:5): [True: 0, False: 18]
  ------------------
11161|      0|    default:            defaultQualification.clear();                    break;
  ------------------
  |  Branch (11161:5): [True: 0, False: 18]
  ------------------
11162|     18|    }
11163|       |
11164|       |    // Special case for "push_constant uniform", which has a default of std430,
11165|       |    // contrary to normal uniform defaults, and can't have a default tracked for it.
11166|     18|    if ((currentBlockQualifier.isPushConstant() && !currentBlockQualifier.hasPacking()) ||
  ------------------
  |  Branch (11166:10): [True: 0, False: 18]
  |  Branch (11166:52): [True: 0, False: 0]
  ------------------
11167|     18|        (currentBlockQualifier.isShaderRecord() && !currentBlockQualifier.hasPacking()))
  ------------------
  |  Branch (11167:10): [True: 0, False: 18]
  |  Branch (11167:52): [True: 0, False: 0]
  ------------------
11168|      0|        currentBlockQualifier.layoutPacking = ElpStd430;
11169|       |
11170|       |    // Special case for "taskNV in/out", which has a default of std430,
11171|     18|    if (currentBlockQualifier.isTaskMemory() && !currentBlockQualifier.hasPacking())
  ------------------
  |  Branch (11171:9): [True: 0, False: 18]
  |  Branch (11171:49): [True: 0, False: 0]
  ------------------
11172|      0|        currentBlockQualifier.layoutPacking = ElpStd430;
11173|       |
11174|       |    // fix and check for member layout qualifiers
11175|       |
11176|     18|    mergeObjectLayoutQualifiers(defaultQualification, currentBlockQualifier, true);
11177|       |
11178|       |    // "The align qualifier can only be used on blocks or block members, and only for blocks declared with std140 or std430 layouts."
11179|     18|    if (currentBlockQualifier.hasAlign()) {
  ------------------
  |  Branch (11179:9): [True: 0, False: 18]
  ------------------
11180|      0|        if (defaultQualification.layoutPacking != ElpStd140 &&
  ------------------
  |  Branch (11180:13): [True: 0, False: 0]
  ------------------
11181|      0|            defaultQualification.layoutPacking != ElpStd430 &&
  ------------------
  |  Branch (11181:13): [True: 0, False: 0]
  ------------------
11182|      0|            defaultQualification.layoutPacking != ElpScalar) {
  ------------------
  |  Branch (11182:13): [True: 0, False: 0]
  ------------------
11183|      0|            error(loc, "can only be used with std140, std430, or scalar layout packing", "align", "");
11184|      0|            defaultQualification.layoutAlign = -1;
11185|      0|        }
11186|      0|    }
11187|       |
11188|     18|    bool memberWithLocation = false;
11189|     18|    bool memberWithoutLocation = false;
11190|     18|    bool memberWithPerViewQualifier = false;
11191|    116|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11191:35): [True: 98, False: 18]
  ------------------
11192|     98|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
11193|     98|        const TSourceLoc& memberLoc = typeList[member].loc;
11194|     98|        const bool heapBufferTypeMember =
11195|     98|            isResourceHeapBufferTypeMember(currentBlockQualifier, memberQualifier);
11196|     98|        if (memberQualifier.hasStream()) {
  ------------------
  |  Branch (11196:13): [True: 0, False: 98]
  ------------------
11197|      0|            if (defaultQualification.layoutStream != memberQualifier.layoutStream)
  ------------------
  |  Branch (11197:17): [True: 0, False: 0]
  ------------------
11198|      0|                error(memberLoc, "member cannot contradict block", "stream", "");
11199|      0|        }
11200|       |
11201|       |        // "This includes a block's inheritance of the
11202|       |        // current global default buffer, a block member's inheritance of the block's
11203|       |        // buffer, and the requirement that any *xfb_buffer* declared on a block
11204|       |        // member must match the buffer inherited from the block."
11205|     98|        if (memberQualifier.hasXfbBuffer()) {
  ------------------
  |  Branch (11205:13): [True: 0, False: 98]
  ------------------
11206|      0|            if (defaultQualification.layoutXfbBuffer != memberQualifier.layoutXfbBuffer)
  ------------------
  |  Branch (11206:17): [True: 0, False: 0]
  ------------------
11207|      0|                error(memberLoc, "member cannot contradict block (or what block inherited from global)", "xfb_buffer", "");
11208|      0|        }
11209|       |
11210|     98|        if (memberQualifier.hasPacking() && !heapBufferTypeMember)
  ------------------
  |  Branch (11210:13): [True: 0, False: 98]
  |  Branch (11210:45): [True: 0, False: 0]
  ------------------
11211|      0|            error(memberLoc, "member of block cannot have a packing layout qualifier", typeList[member].type->getFieldName().c_str(), "");
11212|     98|        if (memberQualifier.hasLocation()) {
  ------------------
  |  Branch (11212:13): [True: 0, False: 98]
  ------------------
11213|      0|            const char* feature = "location on block member";
11214|      0|            switch (currentBlockQualifier.storage) {
11215|      0|            case EvqVaryingIn:
  ------------------
  |  Branch (11215:13): [True: 0, False: 0]
  ------------------
11216|      0|            case EvqVaryingOut:
  ------------------
  |  Branch (11216:13): [True: 0, False: 0]
  ------------------
11217|      0|                requireProfile(memberLoc, ECoreProfile | ECompatibilityProfile | EEsProfile, feature);
11218|      0|                profileRequires(memberLoc, ECoreProfile | ECompatibilityProfile, 440, E_GL_ARB_enhanced_layouts, feature);
11219|      0|                profileRequires(memberLoc, EEsProfile, 320, Num_AEP_shader_io_blocks, AEP_shader_io_blocks, feature);
11220|      0|                memberWithLocation = true;
11221|      0|                break;
11222|      0|            default:
  ------------------
  |  Branch (11222:13): [True: 0, False: 0]
  ------------------
11223|      0|                error(memberLoc, "can only use in an in/out block", feature, "");
11224|      0|                break;
11225|      0|            }
11226|      0|        } else
11227|     98|            memberWithoutLocation = true;
11228|       |
11229|       |        // "The offset qualifier can only be used on block members of blocks declared with std140 or std430 layouts."
11230|       |        // "The align qualifier can only be used on blocks or block members, and only for blocks declared with std140 or std430 layouts."
11231|     98|        if (memberQualifier.hasAlign() || memberQualifier.hasOffset()) {
  ------------------
  |  Branch (11231:13): [True: 0, False: 98]
  |  Branch (11231:43): [True: 0, False: 98]
  ------------------
11232|      0|            if (defaultQualification.layoutPacking != ElpStd140 &&
  ------------------
  |  Branch (11232:17): [True: 0, False: 0]
  ------------------
11233|      0|                defaultQualification.layoutPacking != ElpStd430 &&
  ------------------
  |  Branch (11233:17): [True: 0, False: 0]
  ------------------
11234|      0|                defaultQualification.layoutPacking != ElpScalar)
  ------------------
  |  Branch (11234:17): [True: 0, False: 0]
  ------------------
11235|      0|                error(memberLoc, "can only be used with std140, std430, or scalar layout packing", "offset/align", "");
11236|      0|        }
11237|       |
11238|     98|        if (memberQualifier.isPerView()) {
  ------------------
  |  Branch (11238:13): [True: 10, False: 88]
  ------------------
11239|     10|            memberWithPerViewQualifier = true;
11240|     10|        }
11241|       |
11242|     98|        TQualifier newMemberQualification = defaultQualification;
11243|     98|        mergeQualifiers(memberLoc, newMemberQualification, memberQualifier, false);
11244|     98|        memberQualifier = newMemberQualification;
11245|     98|    }
11246|       |
11247|     18|    layoutMemberLocationArrayCheck(loc, memberWithLocation, arraySizes);
11248|       |
11249|       |    // Ensure that the block has an XfbBuffer assigned. This is needed
11250|       |    // because if the block has a XfbOffset assigned, then it is
11251|       |    // assumed that it has implicitly assigned the current global
11252|       |    // XfbBuffer, and because it's members need to be assigned a
11253|       |    // XfbOffset if they lack it.
11254|     18|    if (currentBlockQualifier.storage == EvqVaryingOut && globalOutputDefaults.hasXfbBuffer()) {
  ------------------
  |  Branch (11254:9): [True: 16, False: 2]
  |  Branch (11254:59): [True: 8, False: 8]
  ------------------
11255|      8|       if (!currentBlockQualifier.hasXfbBuffer() && currentBlockQualifier.hasXfbOffset())
  ------------------
  |  Branch (11255:12): [True: 8, False: 0]
  |  Branch (11255:53): [True: 0, False: 8]
  ------------------
11256|      0|          currentBlockQualifier.layoutXfbBuffer = globalOutputDefaults.layoutXfbBuffer;
11257|      8|    }
11258|       |
11259|       |    // Process the members
11260|     18|    fixBlockLocations(loc, currentBlockQualifier, typeList, memberWithLocation, memberWithoutLocation);
11261|     18|    fixXfbOffsets(currentBlockQualifier, typeList);
11262|     18|    fixBlockUniformOffsets(currentBlockQualifier, typeList);
11263|     18|    fixBlockUniformLayoutMatrix(currentBlockQualifier, &typeList, nullptr);
11264|     18|    fixBlockUniformLayoutPacking(currentBlockQualifier, &typeList, nullptr);
11265|    116|    for (unsigned int member = 0; member < typeList.size(); ++member)
  ------------------
  |  Branch (11265:35): [True: 98, False: 18]
  ------------------
11266|     98|        layoutTypeCheck(typeList[member].loc, *typeList[member].type);
11267|       |
11268|     18|    if (memberWithPerViewQualifier) {
  ------------------
  |  Branch (11268:9): [True: 4, False: 14]
  ------------------
11269|     30|        for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11269:39): [True: 26, False: 4]
  ------------------
11270|     26|            checkAndResizeMeshViewDim(typeList[member].loc, *typeList[member].type, /*isBlockMember*/ true);
11271|     26|        }
11272|      4|    }
11273|       |
11274|       |    // reverse merge, so that currentBlockQualifier now has all layout information
11275|       |    // (can't use defaultQualification directly, it's missing other non-layout-default-class qualifiers)
11276|     18|    mergeObjectLayoutQualifiers(currentBlockQualifier, defaultQualification, true);
11277|       |
11278|       |    //
11279|       |    // Build and add the interface block as a new type named 'blockName'
11280|       |    //
11281|       |
11282|     18|    TType blockType(&typeList, *blockName, currentBlockQualifier);
11283|     18|    if (arraySizes != nullptr)
  ------------------
  |  Branch (11283:9): [True: 12, False: 6]
  ------------------
11284|     12|        blockType.transferArraySizes(arraySizes);
11285|       |
11286|     18|    if (arraySizes == nullptr)
  ------------------
  |  Branch (11286:9): [True: 6, False: 12]
  ------------------
11287|      6|        ioArrayCheck(loc, blockType, instanceName ? *instanceName : *blockName);
  ------------------
  |  Branch (11287:38): [True: 0, False: 6]
  ------------------
11288|     18|    if (currentBlockQualifier.hasBufferReference()) {
  ------------------
  |  Branch (11288:9): [True: 0, False: 18]
  ------------------
11289|       |
11290|      0|        if (currentBlockQualifier.storage != EvqBuffer)
  ------------------
  |  Branch (11290:13): [True: 0, False: 0]
  ------------------
11291|      0|            error(loc, "can only be used with buffer", "buffer_reference", "");
11292|       |
11293|       |        // Create the block reference type. If it was forward-declared, detect that
11294|       |        // as a referent struct type with no members. Replace the referent type with
11295|       |        // blockType.
11296|      0|        TType blockNameType(EbtReference, blockType, *blockName);
11297|      0|        TVariable* blockNameVar = new TVariable(blockName, blockNameType, true);
11298|      0|        if (! symbolTable.insert(*blockNameVar)) {
  ------------------
  |  Branch (11298:13): [True: 0, False: 0]
  ------------------
11299|      0|            TSymbol* existingName = symbolTable.find(*blockName);
11300|      0|            if (existingName->getType().isReference() &&
  ------------------
  |  Branch (11300:17): [True: 0, False: 0]
  ------------------
11301|      0|                existingName->getType().getReferentType()->getStruct() &&
  ------------------
  |  Branch (11301:17): [True: 0, False: 0]
  ------------------
11302|      0|                existingName->getType().getReferentType()->getStruct()->size() == 0 &&
  ------------------
  |  Branch (11302:17): [True: 0, False: 0]
  ------------------
11303|      0|                existingName->getType().getQualifier().storage == blockType.getQualifier().storage) {
  ------------------
  |  Branch (11303:17): [True: 0, False: 0]
  ------------------
11304|      0|                existingName->getType().getReferentType()->deepCopy(blockType);
11305|      0|            } else {
11306|      0|                error(loc, "block name cannot be redefined", blockName->c_str(), "");
11307|      0|            }
11308|      0|        }
11309|      0|        if (!instanceName) {
  ------------------
  |  Branch (11309:13): [True: 0, False: 0]
  ------------------
11310|      0|            return nullptr;
11311|      0|        }
11312|     18|    } else if (currentBlockQualifier.isBufferType()) {
  ------------------
  |  Branch (11312:16): [True: 0, False: 18]
  ------------------
11313|       |        // buffer_type creates an opaque type named by the block, not a global block instance.
11314|      0|        TVariable* blockNameVar = new TVariable(blockName, blockType, true);
11315|      0|        if (! symbolTable.insert(*blockNameVar)) {
  ------------------
  |  Branch (11315:13): [True: 0, False: 0]
  ------------------
11316|      0|            error(loc, "block name cannot be redefined", blockName->c_str(), "");
11317|      0|            return nullptr;
11318|      0|        }
11319|      0|        if (!instanceName)
  ------------------
  |  Branch (11319:13): [True: 0, False: 0]
  ------------------
11320|      0|            return nullptr;
11321|     18|    } else {
11322|       |        //
11323|       |        // Don't make a user-defined type out of block name; that will cause an error
11324|       |        // if the same block name gets reused in a different interface.
11325|       |        //
11326|       |        // "Block names have no other use within a shader
11327|       |        // beyond interface matching; it is a compile-time error to use a block name at global scope for anything
11328|       |        // other than as a block name (e.g., use of a block name for a global variable name or function name is
11329|       |        // currently reserved)."
11330|       |        //
11331|       |        // Use the symbol table to prevent normal reuse of the block's name, as a variable entry,
11332|       |        // whose type is EbtBlock, but without all the structure; that will come from the type
11333|       |        // the instances point to.
11334|       |        //
11335|     18|        TType blockNameType(EbtBlock, blockType.getQualifier().storage);
11336|     18|        TVariable* blockNameVar = new TVariable(blockName, blockNameType);
11337|     18|        if (! symbolTable.insert(*blockNameVar)) {
  ------------------
  |  Branch (11337:13): [True: 2, False: 16]
  ------------------
11338|      2|            TSymbol* existingName = symbolTable.find(*blockName);
11339|      2|            if (existingName->getType().getBasicType() == EbtBlock) {
  ------------------
  |  Branch (11339:17): [True: 2, False: 0]
  ------------------
11340|      2|                if (existingName->getType().getQualifier().storage == blockType.getQualifier().storage) {
  ------------------
  |  Branch (11340:21): [True: 0, False: 2]
  ------------------
11341|      0|                    error(loc, "Cannot reuse block name within the same interface:", blockName->c_str(), blockType.getStorageQualifierString());
11342|      0|                    return nullptr;
11343|      0|                }
11344|      2|            } else {
11345|      0|                error(loc, "block name cannot redefine a non-block name", blockName->c_str(), "");
11346|      0|                return nullptr;
11347|      0|            }
11348|      2|        }
11349|     18|    }
11350|       |
11351|       |    // Add the variable, as anonymous or named instanceName.
11352|       |    // Make an anonymous variable if no name was provided.
11353|     18|    if (! instanceName)
  ------------------
  |  Branch (11353:9): [True: 6, False: 12]
  ------------------
11354|      6|        instanceName = NewPoolTString("");
11355|       |
11356|     18|    TVariable& variable = *new TVariable(instanceName, blockType);
11357|     18|    if (! symbolTable.insert(variable)) {
  ------------------
  |  Branch (11357:9): [True: 0, False: 18]
  ------------------
11358|      0|        if (*instanceName == "")
  ------------------
  |  Branch (11358:13): [True: 0, False: 0]
  ------------------
11359|      0|            error(loc, "nameless block contains a member that already has a name at global scope", blockName->c_str(), "");
11360|      0|        else
11361|      0|            error(loc, "block instance name redefinition", variable.getName().c_str(), "");
11362|       |
11363|      0|        return nullptr;
11364|      0|    }
11365|       |
11366|       |    // EXT_descriptor_heap
11367|     18|    if (!untypedHeapCheck(&variable, blockType, loc, blockName->c_str())) {
  ------------------
  |  Branch (11367:9): [True: 0, False: 18]
  ------------------
11368|      0|        return nullptr;
11369|      0|    }
11370|       |
11371|       |    // Check for general layout qualifier errors
11372|     18|    layoutObjectCheck(loc, variable);
11373|       |
11374|       |    // fix up
11375|     18|    if (isIoResizeArray(blockType)) {
  ------------------
  |  Branch (11375:9): [True: 12, False: 6]
  ------------------
11376|     12|        ioArraySymbolResizeList.push_back(&variable);
11377|     12|        checkIoArraysConsistency(loc, true);
11378|     12|    } else
11379|      6|        fixIoArraySize(loc, variable.getWritableType());
11380|       |
11381|       |    // Save it in the AST for linker use.
11382|     18|    trackLinkage(variable);
11383|       |
11384|     18|    TIntermAggregate* declNode = nullptr;
11385|     18|    if (intermediate.getDebugInfo()) {
  ------------------
  |  Branch (11385:9): [True: 0, False: 18]
  ------------------
11386|      0|        auto blockDeclNode = new TIntermVariableDecl(intermediate.addSymbol(variable, loc), nullptr);
11387|      0|        blockDeclNode->setLoc(loc);
11388|       |
11389|       |        // We have to wrap the declaration with a sequence to fit the same processing logic with variables.
11390|      0|        declNode = new TIntermAggregate(EOpSequence);
11391|      0|        declNode->getSequence().push_back(blockDeclNode);
11392|      0|    }
11393|     18|    return declNode;
11394|     18|}
_ZN7glslang13TParseContext17blockStageIoCheckERKNS_10TSourceLocERKNS_10TQualifierE:
11410|     18|{
11411|     18|    const char *extsrt[2] = { E_GL_NV_ray_tracing, E_GL_EXT_ray_tracing };
11412|     18|    switch (qualifier.storage) {
11413|      0|    case EvqUniform:
  ------------------
  |  Branch (11413:5): [True: 0, False: 18]
  ------------------
11414|      0|        profileRequires(loc, EEsProfile, 300, nullptr, "uniform block");
11415|      0|        profileRequires(loc, ENoProfile, 140, E_GL_ARB_uniform_buffer_object, "uniform block");
11416|      0|        if (currentBlockQualifier.layoutPacking == ElpStd430 && ! currentBlockQualifier.isPushConstant())
  ------------------
  |  Branch (11416:13): [True: 0, False: 0]
  |  Branch (11416:65): [True: 0, False: 0]
  ------------------
11417|      0|            requireExtensions(loc, 1, &E_GL_EXT_scalar_block_layout, "std430 requires the buffer storage qualifier");
11418|      0|        break;
11419|      0|    case EvqBuffer:
  ------------------
  |  Branch (11419:5): [True: 0, False: 18]
  ------------------
11420|      0|        requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, "buffer block");
11421|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 430, E_GL_ARB_shader_storage_buffer_object, "buffer block");
11422|      0|        profileRequires(loc, EEsProfile, 310, nullptr, "buffer block");
11423|      0|        break;
11424|      2|    case EvqVaryingIn:
  ------------------
  |  Branch (11424:5): [True: 2, False: 16]
  ------------------
11425|      2|        profileRequires(loc, ~EEsProfile, 150, E_GL_ARB_separate_shader_objects, "input block");
11426|       |        // It is a compile-time error to have an input block in a vertex shader or an output block in a fragment shader
11427|       |        // "Compute shaders do not permit user-defined input variables..."
11428|      2|        requireStage(loc, (EShLanguageMask)(EShLangTessControlMask|EShLangTessEvaluationMask|EShLangGeometryMask|
11429|      2|            EShLangFragmentMask|EShLangMeshMask), "input block");
11430|      2|        if (language == EShLangFragment) {
  ------------------
  |  Branch (11430:13): [True: 0, False: 2]
  ------------------
11431|      0|            profileRequires(loc, EEsProfile, 320, Num_AEP_shader_io_blocks, AEP_shader_io_blocks, "fragment input block");
11432|      2|        } else if (language == EShLangMesh && ! qualifier.isTaskMemory()) {
  ------------------
  |  Branch (11432:20): [True: 0, False: 2]
  |  Branch (11432:47): [True: 0, False: 0]
  ------------------
11433|      0|            error(loc, "input blocks cannot be used in a mesh shader", "out", "");
11434|      0|        }
11435|      2|        break;
11436|     16|    case EvqVaryingOut:
  ------------------
  |  Branch (11436:5): [True: 16, False: 2]
  ------------------
11437|     16|        profileRequires(loc, ~EEsProfile, 150, E_GL_ARB_separate_shader_objects, "output block");
11438|     16|        requireStage(loc, (EShLanguageMask)(EShLangVertexMask|EShLangTessControlMask|EShLangTessEvaluationMask|
11439|     16|            EShLangGeometryMask|EShLangMeshMask|EShLangTaskMask), "output block");
11440|       |        // ES 310 can have a block before shader_io is turned on, so skip this test for built-ins
11441|     16|        if (language == EShLangVertex && ! parsingBuiltins) {
  ------------------
  |  Branch (11441:13): [True: 2, False: 14]
  |  Branch (11441:42): [True: 0, False: 2]
  ------------------
11442|      0|            profileRequires(loc, EEsProfile, 320, Num_AEP_shader_io_blocks, AEP_shader_io_blocks, "vertex output block");
11443|     16|        } else if (language == EShLangMesh && qualifier.isTaskMemory()) {
  ------------------
  |  Branch (11443:20): [True: 8, False: 8]
  |  Branch (11443:47): [True: 0, False: 8]
  ------------------
11444|      0|            error(loc, "can only use on input blocks in mesh shader", "taskNV", "");
11445|     16|        } else if (language == EShLangTask && ! qualifier.isTaskMemory()) {
  ------------------
  |  Branch (11445:20): [True: 0, False: 16]
  |  Branch (11445:47): [True: 0, False: 0]
  ------------------
11446|      0|            error(loc, "output blocks cannot be used in a task shader", "out", "");
11447|      0|        }
11448|     16|        break;
11449|      0|    case EvqShared:
  ------------------
  |  Branch (11449:5): [True: 0, False: 18]
  ------------------
11450|      0|        if (spvVersion.spv > 0 && spvVersion.spv < EShTargetSpv_1_4) {
  ------------------
  |  Branch (11450:13): [True: 0, False: 0]
  |  Branch (11450:35): [True: 0, False: 0]
  ------------------
11451|      0|            error(loc, "shared block requires at least SPIR-V 1.4", "shared block", "");
11452|      0|        }
11453|      0|        profileRequires(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, 0, E_GL_EXT_shared_memory_block, "shared block");
11454|      0|        break;
11455|      0|    case EvqPayload:
  ------------------
  |  Branch (11455:5): [True: 0, False: 18]
  ------------------
11456|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "rayPayloadNV block");
11457|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangAnyHitMask | EShLangClosestHitMask | EShLangMissMask),
11458|      0|            "rayPayloadNV block");
11459|      0|        break;
11460|      0|    case EvqPayloadIn:
  ------------------
  |  Branch (11460:5): [True: 0, False: 18]
  ------------------
11461|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "rayPayloadInNV block");
11462|      0|        requireStage(loc, (EShLanguageMask)(EShLangAnyHitMask | EShLangClosestHitMask | EShLangMissMask),
11463|      0|            "rayPayloadInNV block");
11464|      0|        break;
11465|      0|    case EvqHitAttr:
  ------------------
  |  Branch (11465:5): [True: 0, False: 18]
  ------------------
11466|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "hitAttributeNV block");
11467|      0|        requireStage(loc, (EShLanguageMask)(EShLangIntersectMask | EShLangAnyHitMask | EShLangClosestHitMask), "hitAttributeNV block");
11468|      0|        break;
11469|      0|    case EvqCallableData:
  ------------------
  |  Branch (11469:5): [True: 0, False: 18]
  ------------------
11470|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "callableDataNV block");
11471|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask | EShLangMissMask | EShLangCallableMask),
11472|      0|            "callableDataNV block");
11473|      0|        break;
11474|      0|    case EvqCallableDataIn:
  ------------------
  |  Branch (11474:5): [True: 0, False: 18]
  ------------------
11475|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "callableDataInNV block");
11476|      0|        requireStage(loc, (EShLanguageMask)(EShLangCallableMask), "callableDataInNV block");
11477|      0|        break;
11478|      0|    case EvqHitObjectAttrNV:
  ------------------
  |  Branch (11478:5): [True: 0, False: 18]
  ------------------
11479|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_NV_shader_invocation_reorder, "hitObjectAttributeNV block");
11480|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask | EShLangMissMask), "hitObjectAttributeNV block");
11481|      0|        break;
11482|      0|    case EvqHitObjectAttrEXT:
  ------------------
  |  Branch (11482:5): [True: 0, False: 18]
  ------------------
11483|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_shader_invocation_reorder, "hitObjectAttributeEXT block");
11484|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask | EShLangMissMask), "hitObjectAttributeEXT block");
11485|      0|        break;
11486|      0|    case EvqResourceHeap:
  ------------------
  |  Branch (11486:5): [True: 0, False: 18]
  ------------------
11487|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_structured_descriptor_heap, "resourceheap block");
11488|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_descriptor_heap, "resourceheap block");
11489|      0|        break;
11490|      0|    case EvqSamplerHeap:
  ------------------
  |  Branch (11490:5): [True: 0, False: 18]
  ------------------
11491|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_structured_descriptor_heap, "samplerheap block");
11492|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_descriptor_heap, "samplerheap block");
11493|      0|        break;
11494|      0|    default:
  ------------------
  |  Branch (11494:5): [True: 0, False: 18]
  ------------------
11495|      0|        error(loc, "only uniform, buffer, in, or out blocks are supported", blockName->c_str(), "");
11496|      0|        break;
11497|     18|    }
11498|     18|}
_ZN7glslang13TParseContext19blockQualifierCheckERKNS_10TSourceLocERKNS_10TQualifierEb:
11502|     18|{
11503|       |    // The 4.5 specification says:
11504|       |    //
11505|       |    // interface-block :
11506|       |    //    layout-qualifieropt interface-qualifier  block-name { member-list } instance-nameopt ;
11507|       |    //
11508|       |    // interface-qualifier :
11509|       |    //    in
11510|       |    //    out
11511|       |    //    patch in
11512|       |    //    patch out
11513|       |    //    uniform
11514|       |    //    buffer
11515|       |    //
11516|       |    // Note however memory qualifiers aren't included, yet the specification also says
11517|       |    //
11518|       |    // "...memory qualifiers may also be used in the declaration of shader storage blocks..."
11519|       |
11520|     18|    if (qualifier.isInterpolation())
  ------------------
  |  Branch (11520:9): [True: 0, False: 18]
  ------------------
11521|      0|        error(loc, "cannot use interpolation qualifiers on an interface block", "flat/smooth/noperspective", "");
11522|     18|    if (qualifier.centroid)
  ------------------
  |  Branch (11522:9): [True: 0, False: 18]
  ------------------
11523|      0|        error(loc, "cannot use centroid qualifier on an interface block", "centroid", "");
11524|     18|    if (qualifier.isSample())
  ------------------
  |  Branch (11524:9): [True: 0, False: 18]
  ------------------
11525|      0|        error(loc, "cannot use sample qualifier on an interface block", "sample", "");
11526|     18|    if (qualifier.invariant)
  ------------------
  |  Branch (11526:9): [True: 0, False: 18]
  ------------------
11527|      0|        error(loc, "cannot use invariant qualifier on an interface block", "invariant", "");
11528|     18|    if (qualifier.isPushConstant())
  ------------------
  |  Branch (11528:9): [True: 0, False: 18]
  ------------------
11529|      0|        intermediate.addPushConstantCount();
11530|     18|    if (qualifier.isShaderRecord())
  ------------------
  |  Branch (11530:9): [True: 0, False: 18]
  ------------------
11531|      0|        intermediate.addShaderRecordCount();
11532|     18|    if (qualifier.isTaskMemory())
  ------------------
  |  Branch (11532:9): [True: 0, False: 18]
  ------------------
11533|      0|        intermediate.addTaskNVCount();
11534|     18|    if (qualifier.isBufferType()) {
  ------------------
  |  Branch (11534:9): [True: 0, False: 18]
  ------------------
11535|      0|        if (qualifier.storage != EvqUniform && qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (11535:13): [True: 0, False: 0]
  |  Branch (11535:48): [True: 0, False: 0]
  ------------------
11536|      0|            error(loc, "can only be used with uniform or buffer", "buffer_type", "");
11537|      0|        if (instanceName)
  ------------------
  |  Branch (11537:13): [True: 0, False: 0]
  ------------------
11538|      0|            error(loc, "cannot have an instance name", "buffer_type", "");
11539|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (11539:13): [True: 0, False: 0]
  ------------------
11540|      0|            error(loc, "cannot be used with buffer_type", "set", "");
11541|      0|        if (qualifier.hasBinding())
  ------------------
  |  Branch (11541:13): [True: 0, False: 0]
  ------------------
11542|      0|            error(loc, "cannot be used with buffer_type", "binding", "");
11543|      0|    }
11544|     18|}
_ZN7glslang13TParseContext17fixBlockLocationsERKNS_10TSourceLocERNS_10TQualifierERNS_7TVectorINS_8TTypeLocEEEbb:
11554|     18|{
11555|       |    // "If a block has no block-level location layout qualifier, it is required that either all or none of its members
11556|       |    // have a location layout qualifier, or a compile-time error results."
11557|     18|    if (! qualifier.hasLocation() && memberWithLocation && memberWithoutLocation)
  ------------------
  |  Branch (11557:9): [True: 18, False: 0]
  |  Branch (11557:38): [True: 0, False: 18]
  |  Branch (11557:60): [True: 0, False: 0]
  ------------------
11558|      0|        error(loc, "either the block needs a location, or all members need a location, or no members have a location", "location", "");
11559|     18|    else {
11560|     18|        if (memberWithLocation) {
  ------------------
  |  Branch (11560:13): [True: 0, False: 18]
  ------------------
11561|       |            // remove any block-level location and make it per *every* member
11562|      0|            int nextLocation = 0;  // by the rule above, initial value is not relevant
11563|      0|            if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (11563:17): [True: 0, False: 0]
  ------------------
11564|      0|                nextLocation = qualifier.layoutLocation;
11565|      0|                qualifier.layoutLocation = TQualifier::layoutLocationEnd;
11566|      0|                if (qualifier.hasComponent()) {
  ------------------
  |  Branch (11566:21): [True: 0, False: 0]
  ------------------
11567|       |                    // "It is a compile-time error to apply the *component* qualifier to a ... block"
11568|      0|                    error(loc, "cannot apply to a block", "component", "");
11569|      0|                }
11570|      0|                if (qualifier.hasIndex()) {
  ------------------
  |  Branch (11570:21): [True: 0, False: 0]
  ------------------
11571|      0|                    error(loc, "cannot apply to a block", "index", "");
11572|      0|                }
11573|      0|            }
11574|      0|            for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11574:43): [True: 0, False: 0]
  ------------------
11575|      0|                TQualifier& memberQualifier = typeList[member].type->getQualifier();
11576|      0|                const TSourceLoc& memberLoc = typeList[member].loc;
11577|      0|                if (! memberQualifier.hasLocation()) {
  ------------------
  |  Branch (11577:21): [True: 0, False: 0]
  ------------------
11578|      0|                    if (nextLocation >= (int)TQualifier::layoutLocationEnd)
  ------------------
  |  Branch (11578:25): [True: 0, False: 0]
  ------------------
11579|      0|                        error(memberLoc, "location is too large", "location", "");
11580|      0|                    memberQualifier.layoutLocation = nextLocation;
11581|      0|                    memberQualifier.layoutComponent = TQualifier::layoutComponentEnd;
11582|      0|                }
11583|      0|                nextLocation = memberQualifier.layoutLocation + intermediate.computeTypeLocationSize(
11584|      0|                                    *typeList[member].type, language);
11585|      0|            }
11586|      0|        }
11587|     18|    }
11588|     18|}
_ZN7glslang13TParseContext13fixXfbOffsetsERNS_10TQualifierERNS_7TVectorINS_8TTypeLocEEE:
11591|     18|{
11592|       |    // "If a block is qualified with xfb_offset, all its
11593|       |    // members are assigned transform feedback buffer offsets. If a block is not qualified with xfb_offset, any
11594|       |    // members of that block not qualified with an xfb_offset will not be assigned transform feedback buffer
11595|       |    // offsets."
11596|       |
11597|     18|    if (! qualifier.hasXfbBuffer() || ! qualifier.hasXfbOffset())
  ------------------
  |  Branch (11597:9): [True: 18, False: 0]
  |  Branch (11597:39): [True: 0, False: 0]
  ------------------
11598|     18|        return;
11599|       |
11600|      0|    int nextOffset = qualifier.layoutXfbOffset;
11601|      0|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11601:35): [True: 0, False: 0]
  ------------------
11602|      0|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
11603|      0|        bool contains64BitType = false;
11604|      0|        bool contains32BitType = false;
11605|      0|        bool contains16BitType = false;
11606|      0|        int memberSize = intermediate.computeTypeXfbSize(*typeList[member].type, contains64BitType, contains32BitType, contains16BitType);
11607|       |        // see if we need to auto-assign an offset to this member
11608|      0|        if (! memberQualifier.hasXfbOffset()) {
  ------------------
  |  Branch (11608:13): [True: 0, False: 0]
  ------------------
11609|       |            // "if applied to an aggregate containing a double or 64-bit integer, the offset must also be a multiple of 8"
11610|      0|            if (contains64BitType)
  ------------------
  |  Branch (11610:17): [True: 0, False: 0]
  ------------------
11611|      0|                RoundToPow2(nextOffset, 8);
11612|      0|            else if (contains32BitType)
  ------------------
  |  Branch (11612:22): [True: 0, False: 0]
  ------------------
11613|      0|                RoundToPow2(nextOffset, 4);
11614|      0|            else if (contains16BitType)
  ------------------
  |  Branch (11614:22): [True: 0, False: 0]
  ------------------
11615|      0|                RoundToPow2(nextOffset, 2);
11616|      0|            memberQualifier.layoutXfbOffset = nextOffset;
11617|      0|        } else
11618|      0|            nextOffset = memberQualifier.layoutXfbOffset;
11619|      0|        nextOffset += memberSize;
11620|      0|    }
11621|       |
11622|       |    // The above gave all block members an offset, so we can take it off the block now,
11623|       |    // which will avoid double counting the offset usage.
11624|      0|    qualifier.layoutXfbOffset = TQualifier::layoutXfbOffsetEnd;
11625|      0|}
_ZN7glslang13TParseContext22fixBlockUniformOffsetsERNS_10TQualifierERNS_7TVectorINS_8TTypeLocEEE:
11634|     18|{
11635|     18|    if (!storageCanHaveLayoutInBlock(qualifier.storage) && !qualifier.isTaskMemory())
  ------------------
  |  Branch (11635:9): [True: 18, False: 0]
  |  Branch (11635:60): [True: 18, False: 0]
  ------------------
11636|     18|        return;
11637|      0|    if (qualifier.layoutPacking != ElpStd140 && qualifier.layoutPacking != ElpStd430 && qualifier.layoutPacking != ElpScalar)
  ------------------
  |  Branch (11637:9): [True: 0, False: 0]
  |  Branch (11637:49): [True: 0, False: 0]
  |  Branch (11637:89): [True: 0, False: 0]
  ------------------
11638|      0|        return;
11639|       |
11640|      0|    int offset = 0;
11641|      0|    int memberSize;
11642|      0|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11642:35): [True: 0, False: 0]
  ------------------
11643|      0|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
11644|      0|        const TSourceLoc& memberLoc = typeList[member].loc;
11645|       |
11646|       |        // "When align is applied to an array, it effects only the start of the array, not the array's internal stride."
11647|       |
11648|       |        // modify just the children's view of matrix layout, if there is one for this member
11649|      0|        TLayoutMatrix subMatrixLayout = typeList[member].type->getQualifier().layoutMatrix;
11650|      0|        int dummyStride;
11651|      0|        int memberAlignment = intermediate.getMemberAlignment(*typeList[member].type, memberSize, dummyStride, qualifier.layoutPacking,
11652|      0|                                                              subMatrixLayout != ElmNone ? subMatrixLayout == ElmRowMajor : qualifier.layoutMatrix == ElmRowMajor);
  ------------------
  |  Branch (11652:63): [True: 0, False: 0]
  ------------------
11653|      0|        if (memberQualifier.hasOffset()) {
  ------------------
  |  Branch (11653:13): [True: 0, False: 0]
  ------------------
11654|       |            // "The specified offset must be a multiple
11655|       |            // of the base alignment of the type of the block member it qualifies, or a compile-time error results."
11656|      0|            if (! IsMultipleOfPow2(memberQualifier.layoutOffset, memberAlignment))
  ------------------
  |  Branch (11656:17): [True: 0, False: 0]
  ------------------
11657|      0|                error(memberLoc, "must be a multiple of the member's alignment", "offset",
11658|      0|                    "(layout offset = %d | member alignment = %d)", memberQualifier.layoutOffset, memberAlignment);
11659|       |
11660|       |            // GLSL: "It is a compile-time error to specify an offset that is smaller than the offset of the previous
11661|       |            // member in the block or that lies within the previous member of the block"
11662|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (11662:17): [True: 0, False: 0]
  ------------------
11663|      0|                if (memberQualifier.layoutOffset < offset)
  ------------------
  |  Branch (11663:21): [True: 0, False: 0]
  ------------------
11664|      0|                    error(memberLoc, "cannot lie in previous members", "offset", "");
11665|       |
11666|       |                // "The offset qualifier forces the qualified member to start at or after the specified
11667|       |                // integral-constant expression, which will be its byte offset from the beginning of the buffer.
11668|       |                // "The actual offset of a member is computed as
11669|       |                // follows: If offset was declared, start with that offset, otherwise start with the next available offset."
11670|      0|                offset = std::max(offset, memberQualifier.layoutOffset);
11671|      0|            } else {
11672|       |                // TODO: Vulkan: "It is a compile-time error to have any offset, explicit or assigned,
11673|       |                // that lies within another member of the block."
11674|       |
11675|      0|                offset = memberQualifier.layoutOffset;
11676|      0|            }
11677|      0|        }
11678|       |
11679|       |        // "The actual alignment of a member will be the greater of the specified align alignment and the standard
11680|       |        // (e.g., std140) base alignment for the member's type."
11681|      0|        if (memberQualifier.hasAlign())
  ------------------
  |  Branch (11681:13): [True: 0, False: 0]
  ------------------
11682|      0|            memberAlignment = std::max(memberAlignment, memberQualifier.layoutAlign);
11683|       |
11684|       |        // "If the resulting offset is not a multiple of the actual alignment,
11685|       |        // increase it to the first offset that is a multiple of
11686|       |        // the actual alignment."
11687|      0|        RoundToPow2(offset, memberAlignment);
11688|      0|        typeList[member].type->getQualifier().layoutOffset = offset;
11689|      0|        offset += memberSize;
11690|      0|    }
11691|      0|}
_ZN7glslang13TParseContext27fixBlockUniformLayoutMatrixERNS_10TQualifierEPNS_7TVectorINS_8TTypeLocEEES6_:
11699|     18|{
11700|     18|    assert(tmpTypeList == nullptr || originTypeList->size() == tmpTypeList->size());
11701|    116|    for (unsigned int member = 0; member < originTypeList->size(); ++member) {
  ------------------
  |  Branch (11701:35): [True: 98, False: 18]
  ------------------
11702|     98|        if (qualifier.layoutPacking != ElpNone) {
  ------------------
  |  Branch (11702:13): [True: 0, False: 98]
  ------------------
11703|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11703:17): [True: 0, False: 0]
  ------------------
11704|      0|                if (((*originTypeList)[member].type->isMatrix() ||
  ------------------
  |  Branch (11704:22): [True: 0, False: 0]
  ------------------
11705|      0|                     (*originTypeList)[member].type->getBasicType() == EbtStruct) &&
  ------------------
  |  Branch (11705:22): [True: 0, False: 0]
  ------------------
11706|      0|                    (*originTypeList)[member].type->getQualifier().layoutMatrix == ElmNone) {
  ------------------
  |  Branch (11706:21): [True: 0, False: 0]
  ------------------
11707|      0|                    (*originTypeList)[member].type->getQualifier().layoutMatrix = qualifier.layoutMatrix;
11708|      0|                }
11709|      0|            } else {
11710|      0|                if (((*tmpTypeList)[member].type->isMatrix() ||
  ------------------
  |  Branch (11710:22): [True: 0, False: 0]
  ------------------
11711|      0|                     (*tmpTypeList)[member].type->getBasicType() == EbtStruct) &&
  ------------------
  |  Branch (11711:22): [True: 0, False: 0]
  ------------------
11712|      0|                    (*tmpTypeList)[member].type->getQualifier().layoutMatrix == ElmNone) {
  ------------------
  |  Branch (11712:21): [True: 0, False: 0]
  ------------------
11713|      0|                    (*tmpTypeList)[member].type->getQualifier().layoutMatrix = qualifier.layoutMatrix;
11714|      0|                }
11715|      0|            }
11716|      0|        }
11717|       |
11718|     98|        if ((*originTypeList)[member].type->getBasicType() == EbtStruct) {
  ------------------
  |  Branch (11718:13): [True: 0, False: 98]
  ------------------
11719|      0|            TQualifier* memberQualifier = nullptr;
11720|       |            // block member can be declare a matrix style, so it should be update to the member's style
11721|      0|            if ((*originTypeList)[member].type->getQualifier().layoutMatrix == ElmNone) {
  ------------------
  |  Branch (11721:17): [True: 0, False: 0]
  ------------------
11722|      0|                memberQualifier = &qualifier;
11723|      0|            } else {
11724|      0|                memberQualifier = &((*originTypeList)[member].type->getQualifier());
11725|      0|            }
11726|       |
11727|      0|            const TType* tmpType = tmpTypeList == nullptr ?
  ------------------
  |  Branch (11727:36): [True: 0, False: 0]
  ------------------
11728|      0|                (*originTypeList)[member].type->clone() : (*tmpTypeList)[member].type;
11729|       |
11730|      0|            fixBlockUniformLayoutMatrix(*memberQualifier, (*originTypeList)[member].type->getWritableStruct(),
11731|      0|                                        tmpType->getWritableStruct());
11732|       |
11733|      0|            const TTypeList* structure = recordStructCopy(matrixFixRecord, (*originTypeList)[member].type, tmpType);
11734|       |
11735|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11735:17): [True: 0, False: 0]
  ------------------
11736|      0|                (*originTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11737|      0|            }
11738|      0|            if (tmpTypeList != nullptr) {
  ------------------
  |  Branch (11738:17): [True: 0, False: 0]
  ------------------
11739|      0|                (*tmpTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11740|      0|            }
11741|      0|        }
11742|     98|    }
11743|     18|}
_ZN7glslang13TParseContext28fixBlockUniformLayoutPackingERNS_10TQualifierEPNS_7TVectorINS_8TTypeLocEEES6_:
11751|     18|{
11752|     18|    assert(tmpTypeList == nullptr || originTypeList->size() == tmpTypeList->size());
11753|    116|    for (unsigned int member = 0; member < originTypeList->size(); ++member) {
  ------------------
  |  Branch (11753:35): [True: 98, False: 18]
  ------------------
11754|     98|        if (qualifier.layoutPacking != ElpNone) {
  ------------------
  |  Branch (11754:13): [True: 0, False: 98]
  ------------------
11755|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11755:17): [True: 0, False: 0]
  ------------------
11756|      0|                if ((*originTypeList)[member].type->getQualifier().layoutPacking == ElpNone &&
  ------------------
  |  Branch (11756:21): [True: 0, False: 0]
  ------------------
11757|      0|                    !(*originTypeList)[member].type->isScalarOrVector()) {
  ------------------
  |  Branch (11757:21): [True: 0, False: 0]
  ------------------
11758|      0|                    (*originTypeList)[member].type->getQualifier().layoutPacking = qualifier.layoutPacking;
11759|      0|                }
11760|      0|            } else {
11761|      0|                if ((*tmpTypeList)[member].type->getQualifier().layoutPacking == ElpNone &&
  ------------------
  |  Branch (11761:21): [True: 0, False: 0]
  ------------------
11762|      0|                    !(*tmpTypeList)[member].type->isScalarOrVector()) {
  ------------------
  |  Branch (11762:21): [True: 0, False: 0]
  ------------------
11763|      0|                    (*tmpTypeList)[member].type->getQualifier().layoutPacking = qualifier.layoutPacking;
11764|      0|                }
11765|      0|            }
11766|      0|        }
11767|       |
11768|     98|        if ((*originTypeList)[member].type->getBasicType() == EbtStruct) {
  ------------------
  |  Branch (11768:13): [True: 0, False: 98]
  ------------------
11769|       |            // Deep copy the type in pool.
11770|       |            // Because, struct use in different block may have different layout qualifier.
11771|       |            // We have to new a object to distinguish between them.
11772|      0|            const TType* tmpType = tmpTypeList == nullptr ?
  ------------------
  |  Branch (11772:36): [True: 0, False: 0]
  ------------------
11773|      0|                (*originTypeList)[member].type->clone() : (*tmpTypeList)[member].type;
11774|       |
11775|      0|            fixBlockUniformLayoutPacking(qualifier, (*originTypeList)[member].type->getWritableStruct(),
11776|      0|                                         tmpType->getWritableStruct());
11777|       |
11778|      0|            const TTypeList* structure = recordStructCopy(packingFixRecord, (*originTypeList)[member].type, tmpType);
11779|       |
11780|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11780:17): [True: 0, False: 0]
  ------------------
11781|      0|                (*originTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11782|      0|            }
11783|      0|            if (tmpTypeList != nullptr) {
  ------------------
  |  Branch (11783:17): [True: 0, False: 0]
  ------------------
11784|      0|                (*tmpTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11785|      0|            }
11786|      0|        }
11787|     98|    }
11788|     18|}
_ZN7glslang13TParseContext14invariantCheckERKNS_10TSourceLocERKNS_10TQualifierE:
11877|  3.80k|{
11878|  3.80k|    if (! qualifier.invariant)
  ------------------
  |  Branch (11878:9): [True: 3.80k, False: 0]
  ------------------
11879|  3.80k|        return;
11880|       |
11881|      0|    bool pipeOut = qualifier.isPipeOutput();
11882|      0|    bool pipeIn = qualifier.isPipeInput();
11883|      0|    if ((version >= 300 && isEsProfile()) || (!isEsProfile() && version >= 420)) {
  ------------------
  |  Branch (11883:10): [True: 0, False: 0]
  |  Branch (11883:28): [True: 0, False: 0]
  |  Branch (11883:47): [True: 0, False: 0]
  |  Branch (11883:65): [True: 0, False: 0]
  ------------------
11884|      0|        if (! pipeOut)
  ------------------
  |  Branch (11884:13): [True: 0, False: 0]
  ------------------
11885|      0|            error(loc, "can only apply to an output", "invariant", "");
11886|      0|    } else {
11887|      0|        if ((language == EShLangVertex && pipeIn) || (! pipeOut && ! pipeIn))
  ------------------
  |  Branch (11887:14): [True: 0, False: 0]
  |  Branch (11887:43): [True: 0, False: 0]
  |  Branch (11887:55): [True: 0, False: 0]
  |  Branch (11887:68): [True: 0, False: 0]
  ------------------
11888|      0|            error(loc, "can only apply to an output, or to an input in a non-vertex stage\n", "invariant", "");
11889|      0|    }
11890|      0|}
ParseHelper.cpp:_ZN7glslangL27storageCanHaveLayoutInBlockENS_17TStorageQualifierE:
 8495|     18|{
 8496|     18|    switch (storage) {
 8497|      0|    case EvqUniform:
  ------------------
  |  Branch (8497:5): [True: 0, False: 18]
  ------------------
 8498|      0|    case EvqBuffer:
  ------------------
  |  Branch (8498:5): [True: 0, False: 18]
  ------------------
 8499|      0|    case EvqShared:
  ------------------
  |  Branch (8499:5): [True: 0, False: 18]
  ------------------
 8500|      0|    case EvqSamplerHeap:
  ------------------
  |  Branch (8500:5): [True: 0, False: 18]
  ------------------
 8501|      0|    case EvqResourceHeap:
  ------------------
  |  Branch (8501:5): [True: 0, False: 18]
  ------------------
 8502|      0|        return true;
 8503|     18|    default:
  ------------------
  |  Branch (8503:5): [True: 18, False: 0]
  ------------------
 8504|     18|        return false;
 8505|     18|    }
 8506|     18|}
ParseHelper.cpp:_ZN7glslangL30isResourceHeapBufferTypeMemberERKNS_10TQualifierES2_:
11055|    196|{
11056|    196|    return blockQualifier.storage == EvqResourceHeap && memberQualifier.isBufferType();
  ------------------
  |  Branch (11056:12): [True: 0, False: 196]
  |  Branch (11056:57): [True: 0, False: 0]
  ------------------
11057|    196|}

_ZN7glslang22GetThreadPoolAllocatorEv:
   59|  6.34M|{
   60|  6.34M|    return *(threadPoolAllocator ? threadPoolAllocator : GetDefaultThreadPoolAllocator());
  ------------------
  |  Branch (60:14): [True: 6.34M, False: 0]
  ------------------
   61|  6.34M|}
_ZN7glslang22SetThreadPoolAllocatorEPNS_14TPoolAllocatorE:
   65|    232|{
   66|    232|    threadPoolAllocator = poolAllocator;
   67|    232|}
_ZN7glslang14TPoolAllocatorC2Eii:
   74|    232|    pageSize(growthIncrement),
   75|    232|    alignment(allocationAlignment),
   76|    232|    freeList(nullptr),
   77|    232|    inUseList(nullptr),
   78|    232|    numCalls(0)
   79|    232|{
   80|       |    //
   81|       |    // Don't allow page sizes we know are smaller than all common
   82|       |    // OS page sizes.
   83|       |    //
   84|    232|    if (pageSize < 4*1024)
  ------------------
  |  Branch (84:9): [True: 0, False: 232]
  ------------------
   85|      0|        pageSize = 4*1024;
   86|       |
   87|       |    //
   88|       |    // A large currentPageOffset indicates a new page needs to
   89|       |    // be obtained to allocate memory.
   90|       |    //
   91|    232|    currentPageOffset = pageSize;
   92|       |
   93|       |    //
   94|       |    // Adjust alignment to be at least pointer aligned and
   95|       |    // power of 2.
   96|       |    //
   97|    232|    size_t minAlign = sizeof(void*);
   98|    232|    alignment &= ~(minAlign - 1);
   99|    232|    if (alignment < minAlign)
  ------------------
  |  Branch (99:9): [True: 0, False: 232]
  ------------------
  100|      0|        alignment = minAlign;
  101|    232|    size_t a = 1;
  102|  1.16k|    while (a < alignment)
  ------------------
  |  Branch (102:12): [True: 928, False: 232]
  ------------------
  103|    928|        a <<= 1;
  104|    232|    alignment = a;
  105|    232|    alignmentMask = a - 1;
  106|       |
  107|       |    //
  108|       |    // Align header skip
  109|       |    //
  110|    232|    headerSkip = minAlign;
  111|    232|    if (headerSkip < sizeof(tHeader)) {
  ------------------
  |  Branch (111:9): [True: 232, False: 0]
  ------------------
  112|    232|        headerSkip = (sizeof(tHeader) + alignmentMask) & ~alignmentMask;
  113|    232|    }
  114|       |
  115|    232|    push();
  116|    232|}
_ZN7glslang14TPoolAllocatorD2Ev:
  119|    232|{
  120|  41.2k|    while (inUseList) {
  ------------------
  |  Branch (120:12): [True: 41.0k, False: 232]
  ------------------
  121|  41.0k|        tHeader* next = inUseList->nextPage;
  122|  41.0k|        inUseList->~tHeader();
  123|  41.0k|        delete [] reinterpret_cast<char*>(inUseList);
  124|  41.0k|        inUseList = next;
  125|  41.0k|    }
  126|       |
  127|       |    //
  128|       |    // Always delete the free list memory - it can't be being
  129|       |    // (correctly) referenced, whether the pool allocator was
  130|       |    // global or not.  We should not check the guard blocks
  131|       |    // here, because we did it already when the block was
  132|       |    // placed into the free list.
  133|       |    //
  134|    232|    while (freeList) {
  ------------------
  |  Branch (134:12): [True: 0, False: 232]
  ------------------
  135|      0|        tHeader* next = freeList->nextPage;
  136|      0|        delete [] reinterpret_cast<char*>(freeList);
  137|      0|        freeList = next;
  138|      0|    }
  139|    232|}
_ZN7glslang14TPoolAllocator4pushEv:
  168|    290|{
  169|    290|    tAllocState state = { currentPageOffset, inUseList };
  170|       |
  171|    290|    stack.push_back(state);
  172|       |
  173|       |    //
  174|       |    // Indicate there is no current page to allocate from.
  175|       |    //
  176|    290|    currentPageOffset = pageSize;
  177|    290|}
_ZN7glslang14TPoolAllocator8allocateEm:
  225|  2.81M|{
  226|       |    // If we are using guard blocks, all allocations are bracketed by
  227|       |    // them: [guardblock][allocation][guardblock].  numBytes is how
  228|       |    // much memory the caller asked for.  allocationSize is the total
  229|       |    // size including guard blocks.  In release build,
  230|       |    // guardBlockSize=0 and this all gets optimized away.
  231|  2.81M|    size_t allocationSize = TAllocation::allocationSize(numBytes);
  232|       |
  233|       |    //
  234|       |    // Just keep some interesting statistics.
  235|       |    //
  236|  2.81M|    ++numCalls;
  237|  2.81M|    totalBytes += numBytes;
  238|       |
  239|       |    //
  240|       |    // Do the allocation, most likely case first, for efficiency.
  241|       |    // This step could be moved to be inline sometime.
  242|       |    //
  243|  2.81M|    if (currentPageOffset + allocationSize <= pageSize) {
  ------------------
  |  Branch (243:9): [True: 2.77M, False: 41.0k]
  ------------------
  244|       |        //
  245|       |        // Safe to allocate from currentPageOffset.
  246|       |        //
  247|  2.77M|        unsigned char* memory = reinterpret_cast<unsigned char*>(inUseList) + currentPageOffset;
  248|  2.77M|        currentPageOffset += allocationSize;
  249|  2.77M|        currentPageOffset = (currentPageOffset + alignmentMask) & ~alignmentMask;
  250|       |
  251|  2.77M|        return initializeAllocation(inUseList, memory, numBytes);
  252|  2.77M|    }
  253|       |
  254|  41.0k|    if (allocationSize + headerSkip > pageSize) {
  ------------------
  |  Branch (254:9): [True: 178, False: 40.8k]
  ------------------
  255|       |        //
  256|       |        // Do a multi-page allocation.  Don't mix these with the others.
  257|       |        // The OS is efficient and allocating and free-ing multiple pages.
  258|       |        //
  259|    178|        size_t numBytesToAlloc = allocationSize + headerSkip;
  260|    178|        tHeader* memory = reinterpret_cast<tHeader*>(::new char[numBytesToAlloc]);
  261|    178|        if (memory == nullptr)
  ------------------
  |  Branch (261:13): [True: 0, False: 178]
  ------------------
  262|      0|            return nullptr;
  263|       |
  264|       |        // Use placement-new to initialize header
  265|    178|        new(memory) tHeader(inUseList, (numBytesToAlloc + pageSize - 1) / pageSize);
  266|    178|        inUseList = memory;
  267|       |
  268|    178|        currentPageOffset = pageSize;  // make next allocation come from a new page
  269|       |
  270|       |        // No guard blocks for multi-page allocations (yet)
  271|    178|        return reinterpret_cast<void*>(reinterpret_cast<UINT_PTR>(memory) + headerSkip);
  272|    178|    }
  273|       |
  274|       |    //
  275|       |    // Need a simple page to allocate from.
  276|       |    //
  277|  40.8k|    tHeader* memory;
  278|  40.8k|    if (freeList) {
  ------------------
  |  Branch (278:9): [True: 0, False: 40.8k]
  ------------------
  279|      0|        memory = freeList;
  280|      0|        freeList = freeList->nextPage;
  281|  40.8k|    } else {
  282|  40.8k|        memory = reinterpret_cast<tHeader*>(::new char[pageSize]);
  283|  40.8k|        if (memory == nullptr)
  ------------------
  |  Branch (283:13): [True: 0, False: 40.8k]
  ------------------
  284|      0|            return nullptr;
  285|  40.8k|    }
  286|       |
  287|       |    // Use placement-new to initialize header
  288|  40.8k|    new(memory) tHeader(inUseList, 1);
  289|  40.8k|    inUseList = memory;
  290|       |
  291|  40.8k|    unsigned char* ret = reinterpret_cast<unsigned char*>(inUseList) + headerSkip;
  292|  40.8k|    currentPageOffset = (headerSkip + allocationSize + alignmentMask) & ~alignmentMask;
  293|       |
  294|  40.8k|    return initializeAllocation(inUseList, ret, numBytes);
  295|  40.8k|}

_ZN7glslang13TInputScanner17consumeWhiteSpaceERb:
   68|  1.08M|{
   69|  1.08M|    int c = peek();  // don't accidentally consume anything other than whitespace
   70|  1.60M|    while (c == ' ' || c == '\t' || c == '\r' || c == '\n') {
  ------------------
  |  Branch (70:12): [True: 512k, False: 1.09M]
  |  Branch (70:24): [True: 4.80k, False: 1.08M]
  |  Branch (70:37): [True: 945, False: 1.08M]
  |  Branch (70:50): [True: 3.21k, False: 1.08M]
  ------------------
   71|   521k|        if (c == '\r' || c == '\n')
  ------------------
  |  Branch (71:13): [True: 945, False: 520k]
  |  Branch (71:26): [True: 3.21k, False: 516k]
  ------------------
   72|  4.16k|            foundNonSpaceTab = true;
   73|   521k|        get();
   74|   521k|        c = peek();
   75|   521k|    }
   76|  1.08M|}
_ZN7glslang13TInputScanner14consumeCommentEv:
   80|   785k|{
   81|   785k|    if (peek() != '/')
  ------------------
  |  Branch (81:9): [True: 0, False: 785k]
  ------------------
   82|      0|        return false;
   83|       |
   84|   785k|    get();  // consume the '/'
   85|   785k|    int c = peek();
   86|   785k|    if (c == '/') {
  ------------------
  |  Branch (86:9): [True: 206k, False: 578k]
  ------------------
   87|       |
   88|       |        // a '//' style comment
   89|   206k|        get();  // consume the second '/'
   90|   206k|        c = get();
   91|   228k|        do {
   92|  1.00M|            while (c != EndOfInput && c != '\\' && c != '\r' && c != '\n')
  ------------------
  |  Branch (92:20): [True: 1.00M, False: 5]
  |  Branch (92:39): [True: 979k, False: 21.6k]
  |  Branch (92:52): [True: 802k, False: 177k]
  |  Branch (92:65): [True: 772k, False: 29.5k]
  ------------------
   93|   772k|                c = get();
   94|       |
   95|   228k|            if (c == EndOfInput || c == '\r' || c == '\n') {
  ------------------
  |  Branch (95:17): [True: 5, False: 228k]
  |  Branch (95:36): [True: 177k, False: 51.2k]
  |  Branch (95:49): [True: 29.5k, False: 21.6k]
  ------------------
   96|   426k|                while (c == '\r' || c == '\n')
  ------------------
  |  Branch (96:24): [True: 180k, False: 245k]
  |  Branch (96:37): [True: 39.0k, False: 206k]
  ------------------
   97|   219k|                    c = get();
   98|       |
   99|       |                // we reached the end of the comment
  100|   206k|                break;
  101|   206k|            } else {
  102|       |                // it's a '\', so we need to keep going, after skipping what's escaped
  103|       |
  104|       |                // read the skipped character
  105|  21.6k|                c = get();
  106|       |
  107|       |                // if it's a two-character newline, skip both characters
  108|  21.6k|                if (c == '\r' && peek() == '\n')
  ------------------
  |  Branch (108:21): [True: 12.6k, False: 8.95k]
  |  Branch (108:34): [True: 276, False: 12.4k]
  ------------------
  109|    276|                    get();
  110|  21.6k|                c = get();
  111|  21.6k|            }
  112|   228k|        } while (true);
  ------------------
  |  Branch (112:18): [True: 21.6k, Folded]
  ------------------
  113|       |
  114|       |        // put back the last non-comment character
  115|   206k|        if (c != EndOfInput)
  ------------------
  |  Branch (115:13): [True: 206k, False: 5]
  ------------------
  116|   206k|            unget();
  117|       |
  118|   206k|        return true;
  119|   578k|    } else if (c == '*') {
  ------------------
  |  Branch (119:16): [True: 2.91k, False: 575k]
  ------------------
  120|       |
  121|       |        // a '/*' style comment
  122|  2.91k|        get();  // consume the '*'
  123|  2.91k|        c = get();
  124|  6.64k|        do {
  125|  1.27M|            while (c != EndOfInput && c != '*')
  ------------------
  |  Branch (125:20): [True: 1.27M, False: 5]
  |  Branch (125:39): [True: 1.26M, False: 6.64k]
  ------------------
  126|  1.26M|                c = get();
  127|  6.64k|            if (c == '*') {
  ------------------
  |  Branch (127:17): [True: 6.64k, False: 5]
  ------------------
  128|  6.64k|                c = get();
  129|  6.64k|                if (c == '/')
  ------------------
  |  Branch (129:21): [True: 2.90k, False: 3.73k]
  ------------------
  130|  2.90k|                    break;  // end of comment
  131|       |                // not end of comment
  132|  6.64k|            } else // end of input
  133|      5|                break;
  134|  6.64k|        } while (true);
  ------------------
  |  Branch (134:18): [True: 3.73k, Folded]
  ------------------
  135|       |
  136|  2.91k|        return true;
  137|   575k|    } else {
  138|       |        // it's not a comment, put the '/' back
  139|   575k|        unget();
  140|       |
  141|   575k|        return false;
  142|   575k|    }
  143|   785k|}
_ZN7glslang13TInputScanner24consumeWhitespaceCommentERb:
  147|   872k|{
  148|  1.08M|    do {
  149|  1.08M|        consumeWhiteSpace(foundNonSpaceTab);
  150|       |
  151|       |        // if not starting a comment now, then done
  152|  1.08M|        int c = peek();
  153|  1.08M|        if (c != '/' || c == EndOfInput)
  ------------------
  |  Branch (153:13): [True: 296k, False: 785k]
  |  Branch (153:25): [True: 0, False: 785k]
  ------------------
  154|   296k|            return;
  155|       |
  156|       |        // skip potential comment
  157|   785k|        foundNonSpaceTab = true;
  158|   785k|        if (! consumeComment())
  ------------------
  |  Branch (158:13): [True: 575k, False: 209k]
  ------------------
  159|   575k|            return;
  160|       |
  161|   785k|    } while (true);
  ------------------
  |  Branch (161:14): [True: 209k, Folded]
  ------------------
  162|   872k|}
_ZN7glslang13TInputScanner11scanVersionERiR8EProfileRb:
  176|     36|{
  177|       |    // This function doesn't have to get all the semantics correct,
  178|       |    // just find the #version if there is a correct one present.
  179|       |    // The preprocessor will have the responsibility of getting all the semantics right.
  180|       |
  181|     36|    bool versionNotFirst = false;  // means not first WRT comments and white space, nothing more
  182|     36|    notFirstToken = false;         // means not first WRT to real tokens
  183|     36|    version = 0;                   // means not found
  184|     36|    profile = ENoProfile;
  185|       |
  186|     36|    bool foundNonSpaceTab = false;
  187|     36|    bool lookingInMiddle = false;
  188|     36|    int c;
  189|   872k|    do {
  190|   872k|        if (lookingInMiddle) {
  ------------------
  |  Branch (190:13): [True: 872k, False: 36]
  ------------------
  191|   872k|            notFirstToken = true;
  192|       |            // make forward progress by finishing off the current line plus extra new lines
  193|   872k|            if (peek() != '\n' && peek() != '\r') {
  ------------------
  |  Branch (193:17): [True: 811k, False: 60.8k]
  |  Branch (193:35): [True: 233k, False: 577k]
  ------------------
  194|  6.25M|                do {
  195|  6.25M|                    c = get();
  196|  6.25M|                } while (c != EndOfInput && c != '\n' && c != '\r');
  ------------------
  |  Branch (196:26): [True: 6.25M, False: 25]
  |  Branch (196:45): [True: 6.08M, False: 171k]
  |  Branch (196:58): [True: 6.01M, False: 62.1k]
  ------------------
  197|   233k|            }
  198|  1.56M|            while (peek() == '\n' || peek() == '\r')
  ------------------
  |  Branch (198:20): [True: 97.1k, False: 1.47M]
  |  Branch (198:38): [True: 599k, False: 872k]
  ------------------
  199|   697k|                get();
  200|   872k|            if (peek() == EndOfInput)
  ------------------
  |  Branch (200:17): [True: 35, False: 872k]
  ------------------
  201|     35|                return true;
  202|   872k|        }
  203|   872k|        lookingInMiddle = true;
  204|       |
  205|       |        // Nominal start, skipping the desktop allowed comments and white space, but tracking if
  206|       |        // something else was found for ES:
  207|   872k|        consumeWhitespaceComment(foundNonSpaceTab);
  208|   872k|        if (foundNonSpaceTab)
  ------------------
  |  Branch (208:13): [True: 842k, False: 29.5k]
  ------------------
  209|   842k|            versionNotFirst = true;
  210|       |
  211|       |        // "#"
  212|   872k|        if (get() != '#') {
  ------------------
  |  Branch (212:13): [True: 723k, False: 148k]
  ------------------
  213|   723k|            versionNotFirst = true;
  214|   723k|            continue;
  215|   723k|        }
  216|       |
  217|       |        // whitespace
  218|   150k|        do {
  219|   150k|            c = get();
  220|   150k|        } while (c == ' ' || c == '\t');
  ------------------
  |  Branch (220:18): [True: 1.07k, False: 149k]
  |  Branch (220:30): [True: 1.00k, False: 148k]
  ------------------
  221|       |
  222|       |        // "version"
  223|   148k|        if (    c != 'v' ||
  ------------------
  |  Branch (223:17): [True: 40.3k, False: 107k]
  ------------------
  224|   107k|            get() != 'e' ||
  ------------------
  |  Branch (224:13): [True: 55.8k, False: 52.1k]
  ------------------
  225|  52.1k|            get() != 'r' ||
  ------------------
  |  Branch (225:13): [True: 4.11k, False: 47.9k]
  ------------------
  226|  47.9k|            get() != 's' ||
  ------------------
  |  Branch (226:13): [True: 10.2k, False: 37.7k]
  ------------------
  227|  37.7k|            get() != 'i' ||
  ------------------
  |  Branch (227:13): [True: 25.5k, False: 12.2k]
  ------------------
  228|  12.2k|            get() != 'o' ||
  ------------------
  |  Branch (228:13): [True: 1.35k, False: 10.9k]
  ------------------
  229|   139k|            get() != 'n') {
  ------------------
  |  Branch (229:13): [True: 1.88k, False: 9.01k]
  ------------------
  230|   139k|            versionNotFirst = true;
  231|   139k|            continue;
  232|   139k|        }
  233|       |
  234|       |        // whitespace
  235|  17.6k|        do {
  236|  17.6k|            c = get();
  237|  17.6k|        } while (c == ' ' || c == '\t');
  ------------------
  |  Branch (237:18): [True: 8.67k, False: 9.01k]
  |  Branch (237:30): [True: 0, False: 9.01k]
  ------------------
  238|       |
  239|       |        // version number
  240|  9.19k|        while (c >= '0' && c <= '9') {
  ------------------
  |  Branch (240:16): [True: 478, False: 8.71k]
  |  Branch (240:28): [True: 174, False: 304]
  ------------------
  241|    174|            version = 10 * version + (c - '0');
  242|    174|            c = get();
  243|    174|        }
  244|  9.01k|        if (version == 0) {
  ------------------
  |  Branch (244:13): [True: 8.95k, False: 65]
  ------------------
  245|  8.95k|            versionNotFirst = true;
  246|  8.95k|            continue;
  247|  8.95k|        }
  248|       |
  249|       |        // whitespace
  250|    157|        while (c == ' ' || c == '\t')
  ------------------
  |  Branch (250:16): [True: 92, False: 65]
  |  Branch (250:28): [True: 0, False: 65]
  ------------------
  251|     92|            c = get();
  252|       |
  253|       |        // profile
  254|     65|        const int maxProfileLength = 13;  // not including any 0
  255|     65|        char profileString[maxProfileLength];
  256|     65|        int profileLength;
  257|    897|        for (profileLength = 0; profileLength < maxProfileLength; ++profileLength) {
  ------------------
  |  Branch (257:33): [True: 833, False: 64]
  ------------------
  258|    833|            if (c == EndOfInput || c == ' ' || c == '\t' || c == '\n' || c == '\r')
  ------------------
  |  Branch (258:17): [True: 0, False: 833]
  |  Branch (258:36): [True: 0, False: 833]
  |  Branch (258:48): [True: 0, False: 833]
  |  Branch (258:61): [True: 1, False: 832]
  |  Branch (258:74): [True: 0, False: 832]
  ------------------
  259|      1|                break;
  260|    832|            profileString[profileLength] = (char)c;
  261|    832|            c = get();
  262|    832|        }
  263|     65|        if (c != EndOfInput && c != ' ' && c != '\t' && c != '\n' && c != '\r') {
  ------------------
  |  Branch (263:13): [True: 65, False: 0]
  |  Branch (263:32): [True: 65, False: 0]
  |  Branch (263:44): [True: 65, False: 0]
  |  Branch (263:57): [True: 64, False: 1]
  |  Branch (263:70): [True: 64, False: 0]
  ------------------
  264|     64|            versionNotFirst = true;
  265|     64|            continue;
  266|     64|        }
  267|       |
  268|      1|        if (profileLength == 2 && strncmp(profileString, "es", profileLength) == 0)
  ------------------
  |  Branch (268:13): [True: 0, False: 1]
  |  Branch (268:35): [True: 0, False: 0]
  ------------------
  269|      0|            profile = EEsProfile;
  270|      1|        else if (profileLength == 4 && strncmp(profileString, "core", profileLength) == 0)
  ------------------
  |  Branch (270:18): [True: 0, False: 1]
  |  Branch (270:40): [True: 0, False: 0]
  ------------------
  271|      0|            profile = ECoreProfile;
  272|      1|        else if (profileLength == 13 && strncmp(profileString, "compatibility", profileLength) == 0)
  ------------------
  |  Branch (272:18): [True: 0, False: 1]
  |  Branch (272:41): [True: 0, False: 0]
  ------------------
  273|      0|            profile = ECompatibilityProfile;
  274|       |
  275|      1|        return versionNotFirst;
  276|   872k|    } while (true);
  ------------------
  |  Branch (276:14): [True: 872k, Folded]
  ------------------
  277|     36|}
_Z5yylexP7YYSTYPERN7glslang13TParseContextE:
  294|   438k|{
  295|   438k|    glslang::TParserToken token(*glslangTokenDesc);
  296|       |
  297|   438k|    return parseContext.getScanContext()->tokenize(parseContext.getPpContext(), token);
  298|   438k|}
_ZN7glslang12TScanContext8tokenizeEPNS_10TPpContextERNS_12TParserTokenE:
  859|   438k|{
  860|   438k|    do {
  861|   438k|        parserToken = &token;
  862|   438k|        TPpToken ppToken;
  863|   438k|        int token = pp->tokenize(ppToken);
  864|   438k|        if (token == EndOfInput)
  ------------------
  |  Branch (864:13): [True: 233, False: 438k]
  ------------------
  865|    233|            return 0;
  866|       |
  867|   438k|        tokenText = ppToken.name;
  868|   438k|        loc = ppToken.loc;
  869|   438k|        parserToken->sType.lex.loc = loc;
  870|   438k|        switch (token) {
  871|  44.7k|        case ';':  afterType = false; afterBuffer = false; inDeclaratorList = false; afterDeclarator = false; angleBracketDepth = 0; squareBracketDepth = 0; parenDepth = 0; return SEMICOLON;
  ------------------
  |  Branch (871:9): [True: 44.7k, False: 393k]
  ------------------
  872|  63.9k|        case ',':
  ------------------
  |  Branch (872:9): [True: 63.9k, False: 374k]
  ------------------
  873|       |            // If we just processed a declarator (identifier after a type), this comma
  874|       |            // indicates that we're in a declarator list. Note that 'afterDeclarator' is
  875|       |            // only set when we are not inside a template parameter list, array expression,
  876|       |            // or function parameter list.
  877|  63.9k|            if (afterDeclarator) {
  ------------------
  |  Branch (877:17): [True: 0, False: 63.9k]
  ------------------
  878|      0|                inDeclaratorList = true;
  879|      0|            }
  880|  63.9k|            afterType = false;
  881|  63.9k|            afterDeclarator = false;
  882|  63.9k|            return COMMA;
  883|      0|        case ':':                       return COLON;
  ------------------
  |  Branch (883:9): [True: 0, False: 438k]
  ------------------
  884|    826|        case '=':  afterType = false; inDeclaratorList = false; afterDeclarator = false; return EQUAL;
  ------------------
  |  Branch (884:9): [True: 826, False: 437k]
  ------------------
  885|  42.4k|        case '(':  afterType = false; inDeclaratorList = false; afterDeclarator = false; parenDepth++; return LEFT_PAREN;
  ------------------
  |  Branch (885:9): [True: 42.4k, False: 395k]
  ------------------
  886|  42.4k|        case ')':  afterType = false; inDeclaratorList = false; afterDeclarator = false; if (parenDepth > 0) parenDepth--; return RIGHT_PAREN;
  ------------------
  |  Branch (886:9): [True: 42.4k, False: 395k]
  |  Branch (886:94): [True: 42.4k, False: 0]
  ------------------
  887|    360|        case '.':  field = true;        return DOT;
  ------------------
  |  Branch (887:9): [True: 360, False: 437k]
  ------------------
  888|      0|        case '!':                       return BANG;
  ------------------
  |  Branch (888:9): [True: 0, False: 438k]
  ------------------
  889|      2|        case '-':                       return DASH;
  ------------------
  |  Branch (889:9): [True: 2, False: 438k]
  ------------------
  890|      0|        case '~':                       return TILDE;
  ------------------
  |  Branch (890:9): [True: 0, False: 438k]
  ------------------
  891|      0|        case '+':                       return PLUS;
  ------------------
  |  Branch (891:9): [True: 0, False: 438k]
  ------------------
  892|      0|        case '*':                       return STAR;
  ------------------
  |  Branch (892:9): [True: 0, False: 438k]
  ------------------
  893|      1|        case '/':                       return SLASH;
  ------------------
  |  Branch (893:9): [True: 1, False: 438k]
  ------------------
  894|      0|        case '%':                       return PERCENT;
  ------------------
  |  Branch (894:9): [True: 0, False: 438k]
  ------------------
  895|     24|        case '<':                       angleBracketDepth++; return LEFT_ANGLE;
  ------------------
  |  Branch (895:9): [True: 24, False: 438k]
  ------------------
  896|     24|        case '>':                       if (angleBracketDepth > 0) angleBracketDepth--; return RIGHT_ANGLE;
  ------------------
  |  Branch (896:9): [True: 24, False: 438k]
  |  Branch (896:45): [True: 24, False: 0]
  ------------------
  897|      0|        case '|':                       return VERTICAL_BAR;
  ------------------
  |  Branch (897:9): [True: 0, False: 438k]
  ------------------
  898|      0|        case '^':                       return CARET;
  ------------------
  |  Branch (898:9): [True: 0, False: 438k]
  ------------------
  899|      0|        case '&':                       return AMPERSAND;
  ------------------
  |  Branch (899:9): [True: 0, False: 438k]
  ------------------
  900|      0|        case '?':                       return QUESTION;
  ------------------
  |  Branch (900:9): [True: 0, False: 438k]
  ------------------
  901|  2.90k|        case '[':                       squareBracketDepth++; return LEFT_BRACKET;
  ------------------
  |  Branch (901:9): [True: 2.90k, False: 435k]
  ------------------
  902|  2.90k|        case ']':                       if (squareBracketDepth > 0) squareBracketDepth--; return RIGHT_BRACKET;
  ------------------
  |  Branch (902:9): [True: 2.90k, False: 435k]
  |  Branch (902:45): [True: 2.90k, False: 0]
  ------------------
  903|     92|        case '{':  afterStruct = false; afterBuffer = false; inDeclaratorList = false; afterDeclarator = false; angleBracketDepth = 0; squareBracketDepth = 0; parenDepth = 0; return LEFT_BRACE;
  ------------------
  |  Branch (903:9): [True: 92, False: 438k]
  ------------------
  904|     92|        case '}':  inDeclaratorList = false; afterDeclarator = false; angleBracketDepth = 0; squareBracketDepth = 0; parenDepth = 0; return RIGHT_BRACE;
  ------------------
  |  Branch (904:9): [True: 92, False: 438k]
  ------------------
  905|      1|        case '\\':
  ------------------
  |  Branch (905:9): [True: 1, False: 438k]
  ------------------
  906|      1|            parseContext.error(loc, "illegal use of escape character", "\\", "");
  907|      1|            break;
  908|       |
  909|      0|        case PPAtomAddAssign:          return ADD_ASSIGN;
  ------------------
  |  Branch (909:9): [True: 0, False: 438k]
  ------------------
  910|      0|        case PPAtomSubAssign:          return SUB_ASSIGN;
  ------------------
  |  Branch (910:9): [True: 0, False: 438k]
  ------------------
  911|      0|        case PPAtomMulAssign:          return MUL_ASSIGN;
  ------------------
  |  Branch (911:9): [True: 0, False: 438k]
  ------------------
  912|      0|        case PPAtomDivAssign:          return DIV_ASSIGN;
  ------------------
  |  Branch (912:9): [True: 0, False: 438k]
  ------------------
  913|      0|        case PPAtomModAssign:          return MOD_ASSIGN;
  ------------------
  |  Branch (913:9): [True: 0, False: 438k]
  ------------------
  914|       |
  915|      0|        case PpAtomRight:              return RIGHT_OP;
  ------------------
  |  Branch (915:9): [True: 0, False: 438k]
  ------------------
  916|      0|        case PpAtomLeft:               return LEFT_OP;
  ------------------
  |  Branch (916:9): [True: 0, False: 438k]
  ------------------
  917|       |
  918|      0|        case PpAtomRightAssign:        return RIGHT_ASSIGN;
  ------------------
  |  Branch (918:9): [True: 0, False: 438k]
  ------------------
  919|      0|        case PpAtomLeftAssign:         return LEFT_ASSIGN;
  ------------------
  |  Branch (919:9): [True: 0, False: 438k]
  ------------------
  920|      0|        case PpAtomAndAssign:          return AND_ASSIGN;
  ------------------
  |  Branch (920:9): [True: 0, False: 438k]
  ------------------
  921|      0|        case PpAtomOrAssign:           return OR_ASSIGN;
  ------------------
  |  Branch (921:9): [True: 0, False: 438k]
  ------------------
  922|      0|        case PpAtomXorAssign:          return XOR_ASSIGN;
  ------------------
  |  Branch (922:9): [True: 0, False: 438k]
  ------------------
  923|       |
  924|      0|        case PpAtomAnd:                return AND_OP;
  ------------------
  |  Branch (924:9): [True: 0, False: 438k]
  ------------------
  925|      0|        case PpAtomOr:                 return OR_OP;
  ------------------
  |  Branch (925:9): [True: 0, False: 438k]
  ------------------
  926|      0|        case PpAtomXor:                return XOR_OP;
  ------------------
  |  Branch (926:9): [True: 0, False: 438k]
  ------------------
  927|       |
  928|      0|        case PpAtomEQ:                 return EQ_OP;
  ------------------
  |  Branch (928:9): [True: 0, False: 438k]
  ------------------
  929|      0|        case PpAtomGE:                 return GE_OP;
  ------------------
  |  Branch (929:9): [True: 0, False: 438k]
  ------------------
  930|      0|        case PpAtomNE:                 return NE_OP;
  ------------------
  |  Branch (930:9): [True: 0, False: 438k]
  ------------------
  931|      0|        case PpAtomLE:                 return LE_OP;
  ------------------
  |  Branch (931:9): [True: 0, False: 438k]
  ------------------
  932|       |
  933|      0|        case PpAtomDecrement:          return DEC_OP;
  ------------------
  |  Branch (933:9): [True: 0, False: 438k]
  ------------------
  934|      0|        case PpAtomIncrement:          return INC_OP;
  ------------------
  |  Branch (934:9): [True: 0, False: 438k]
  ------------------
  935|       |
  936|      0|        case PpAtomColonColon:
  ------------------
  |  Branch (936:9): [True: 0, False: 438k]
  ------------------
  937|      0|            parseContext.error(loc, "not supported", "::", "");
  938|      0|            break;
  939|       |
  940|      0|        case PpAtomConstString:        parserToken->sType.lex.string = NewPoolTString(tokenText);     return STRING_LITERAL;
  ------------------
  |  Branch (940:9): [True: 0, False: 438k]
  ------------------
  941|  1.16k|        case PpAtomConstInt:           parserToken->sType.lex.i    = ppToken.ival;       return INTCONSTANT;
  ------------------
  |  Branch (941:9): [True: 1.16k, False: 437k]
  ------------------
  942|    124|        case PpAtomConstUint:          parserToken->sType.lex.i    = ppToken.ival;       return UINTCONSTANT;
  ------------------
  |  Branch (942:9): [True: 124, False: 438k]
  ------------------
  943|      0|        case PpAtomConstFloat:         parserToken->sType.lex.d    = ppToken.dval;       return FLOATCONSTANT;
  ------------------
  |  Branch (943:9): [True: 0, False: 438k]
  ------------------
  944|      0|        case PpAtomConstInt16:         parserToken->sType.lex.i    = ppToken.ival;       return INT16CONSTANT;
  ------------------
  |  Branch (944:9): [True: 0, False: 438k]
  ------------------
  945|      0|        case PpAtomConstUint16:        parserToken->sType.lex.i    = ppToken.ival;       return UINT16CONSTANT;
  ------------------
  |  Branch (945:9): [True: 0, False: 438k]
  ------------------
  946|      0|        case PpAtomConstInt64:         parserToken->sType.lex.i64  = ppToken.i64val;     return INT64CONSTANT;
  ------------------
  |  Branch (946:9): [True: 0, False: 438k]
  ------------------
  947|      0|        case PpAtomConstUint64:        parserToken->sType.lex.i64  = ppToken.i64val;     return UINT64CONSTANT;
  ------------------
  |  Branch (947:9): [True: 0, False: 438k]
  ------------------
  948|      0|        case PpAtomConstDouble:        parserToken->sType.lex.d    = ppToken.dval;       return DOUBLECONSTANT;
  ------------------
  |  Branch (948:9): [True: 0, False: 438k]
  ------------------
  949|      0|        case PpAtomConstFloat16:       parserToken->sType.lex.d    = ppToken.dval;       return FLOAT16CONSTANT;
  ------------------
  |  Branch (949:9): [True: 0, False: 438k]
  ------------------
  950|      0|        case PpAtomConstFloatE2M1:     parserToken->sType.lex.d    = ppToken.dval;       return FLOATE2M1CONSTANT;
  ------------------
  |  Branch (950:9): [True: 0, False: 438k]
  ------------------
  951|      0|        case PpAtomConstFloatE3M2:     parserToken->sType.lex.d    = ppToken.dval;       return FLOATE3M2CONSTANT;
  ------------------
  |  Branch (951:9): [True: 0, False: 438k]
  ------------------
  952|      0|        case PpAtomConstFloatE2M3:     parserToken->sType.lex.d    = ppToken.dval;       return FLOATE2M3CONSTANT;
  ------------------
  |  Branch (952:9): [True: 0, False: 438k]
  ------------------
  953|      0|        case PpAtomConstFloatUE8M0:    parserToken->sType.lex.d    = ppToken.dval;       return FLOATUE8M0CONSTANT;
  ------------------
  |  Branch (953:9): [True: 0, False: 438k]
  ------------------
  954|      0|        case PpAtomConstFloatMXINT8:   parserToken->sType.lex.d    = ppToken.dval;       return FLOATMXINT8CONSTANT;
  ------------------
  |  Branch (954:9): [True: 0, False: 438k]
  ------------------
  955|   236k|        case PpAtomIdentifier:
  ------------------
  |  Branch (955:9): [True: 236k, False: 202k]
  ------------------
  956|   236k|        {
  957|   236k|            int token = tokenizeIdentifier();
  958|   236k|            field = false;
  959|   236k|            return token;
  960|      0|        }
  961|       |
  962|      0|        case EndOfInput:               return 0;
  ------------------
  |  Branch (962:9): [True: 0, False: 438k]
  ------------------
  963|       |
  964|      0|        default:
  ------------------
  |  Branch (964:9): [True: 0, False: 438k]
  ------------------
  965|      0|            char buf[2];
  966|      0|            buf[0] = (char)token;
  967|      0|            buf[1] = 0;
  968|      0|            parseContext.error(loc, "unexpected token", buf, "");
  969|      0|            break;
  970|   438k|        }
  971|   438k|    } while (true);
  ------------------
  |  Branch (971:14): [True: 1, Folded]
  ------------------
  972|   438k|}
_ZN7glslang12TScanContext18tokenizeIdentifierEv:
  975|   236k|{
  976|   236k|    if (ReservedSet.find(tokenText) != ReservedSet.end())
  ------------------
  |  Branch (976:9): [True: 0, False: 236k]
  ------------------
  977|      0|        return reservedWord();
  978|       |
  979|   236k|    auto it = KeywordMap.find(tokenText);
  980|   236k|    if (it == KeywordMap.end()) {
  ------------------
  |  Branch (980:9): [True: 61.2k, False: 174k]
  ------------------
  981|       |        // Should have an identifier of some sort
  982|  61.2k|        return identifierOrType();
  983|  61.2k|    }
  984|   174k|    keyword = it->second;
  985|       |
  986|   174k|    switch (keyword) {
  987|    706|    case CONST:
  ------------------
  |  Branch (987:5): [True: 706, False: 174k]
  ------------------
  988|    806|    case UNIFORM:
  ------------------
  |  Branch (988:5): [True: 100, False: 174k]
  ------------------
  989|    806|    case TILEIMAGEEXT:
  ------------------
  |  Branch (989:5): [True: 0, False: 174k]
  ------------------
  990|  1.62k|    case IN:
  ------------------
  |  Branch (990:5): [True: 814, False: 174k]
  ------------------
  991|  5.16k|    case OUT:
  ------------------
  |  Branch (991:5): [True: 3.54k, False: 171k]
  ------------------
  992|  5.38k|    case INOUT:
  ------------------
  |  Branch (992:5): [True: 216, False: 174k]
  ------------------
  993|  5.38k|    case BREAK:
  ------------------
  |  Branch (993:5): [True: 0, False: 174k]
  ------------------
  994|  5.38k|    case CONTINUE:
  ------------------
  |  Branch (994:5): [True: 0, False: 174k]
  ------------------
  995|  5.38k|    case DO:
  ------------------
  |  Branch (995:5): [True: 0, False: 174k]
  ------------------
  996|  5.38k|    case FOR:
  ------------------
  |  Branch (996:5): [True: 0, False: 174k]
  ------------------
  997|  5.38k|    case WHILE:
  ------------------
  |  Branch (997:5): [True: 0, False: 174k]
  ------------------
  998|  5.38k|    case IF:
  ------------------
  |  Branch (998:5): [True: 0, False: 174k]
  ------------------
  999|  5.38k|    case ELSE:
  ------------------
  |  Branch (999:5): [True: 0, False: 174k]
  ------------------
 1000|  5.38k|    case DISCARD:
  ------------------
  |  Branch (1000:5): [True: 0, False: 174k]
  ------------------
 1001|  5.38k|    case RETURN:
  ------------------
  |  Branch (1001:5): [True: 0, False: 174k]
  ------------------
 1002|  5.38k|    case CASE:
  ------------------
  |  Branch (1002:5): [True: 0, False: 174k]
  ------------------
 1003|  5.38k|        return keyword;
 1004|       |
 1005|      0|    case TERMINATE_INVOCATION:
  ------------------
  |  Branch (1005:5): [True: 0, False: 174k]
  ------------------
 1006|      0|        if (!parseContext.extensionTurnedOn(E_GL_EXT_terminate_invocation))
  ------------------
  |  Branch (1006:13): [True: 0, False: 0]
  ------------------
 1007|      0|            return identifierOrType();
 1008|      0|        return keyword;
 1009|       |
 1010|      0|    case TERMINATE_RAY:
  ------------------
  |  Branch (1010:5): [True: 0, False: 174k]
  ------------------
 1011|      0|    case IGNORE_INTERSECTION:
  ------------------
  |  Branch (1011:5): [True: 0, False: 174k]
  ------------------
 1012|      0|        if (!parseContext.extensionTurnedOn(E_GL_EXT_ray_tracing))
  ------------------
  |  Branch (1012:13): [True: 0, False: 0]
  ------------------
 1013|      0|            return identifierOrType();
 1014|      0|        return keyword;
 1015|       |
 1016|      0|    case BUFFER:
  ------------------
  |  Branch (1016:5): [True: 0, False: 174k]
  ------------------
 1017|      0|        afterBuffer = true;
 1018|      0|        if ((parseContext.isEsProfile() && parseContext.version < 310) ||
  ------------------
  |  Branch (1018:14): [True: 0, False: 0]
  |  Branch (1018:44): [True: 0, False: 0]
  ------------------
 1019|      0|            (!parseContext.isEsProfile() && (parseContext.version < 430 &&
  ------------------
  |  Branch (1019:14): [True: 0, False: 0]
  |  Branch (1019:46): [True: 0, False: 0]
  ------------------
 1020|      0|            !parseContext.extensionTurnedOn(E_GL_ARB_shader_storage_buffer_object))))
  ------------------
  |  Branch (1020:13): [True: 0, False: 0]
  ------------------
 1021|      0|            return identifierOrType();
 1022|      0|        return keyword;
 1023|       |
 1024|     74|    case STRUCT:
  ------------------
  |  Branch (1024:5): [True: 74, False: 174k]
  ------------------
 1025|     74|        afterStruct = true;
 1026|     74|        return keyword;
 1027|       |
 1028|      0|    case SWITCH:
  ------------------
  |  Branch (1028:5): [True: 0, False: 174k]
  ------------------
 1029|      0|    case DEFAULT:
  ------------------
  |  Branch (1029:5): [True: 0, False: 174k]
  ------------------
 1030|      0|        if ((parseContext.isEsProfile() && parseContext.version < 300) ||
  ------------------
  |  Branch (1030:14): [True: 0, False: 0]
  |  Branch (1030:44): [True: 0, False: 0]
  ------------------
 1031|      0|            (!parseContext.isEsProfile() && parseContext.version < 130))
  ------------------
  |  Branch (1031:14): [True: 0, False: 0]
  |  Branch (1031:45): [True: 0, False: 0]
  ------------------
 1032|      0|            reservedWord();
 1033|      0|        return keyword;
 1034|       |
 1035|  2.75k|    case VOID:
  ------------------
  |  Branch (1035:5): [True: 2.75k, False: 172k]
  ------------------
 1036|  4.31k|    case BOOL:
  ------------------
  |  Branch (1036:5): [True: 1.56k, False: 173k]
  ------------------
 1037|  21.1k|    case FLOAT:
  ------------------
  |  Branch (1037:5): [True: 16.7k, False: 158k]
  ------------------
 1038|  37.4k|    case INT:
  ------------------
  |  Branch (1038:5): [True: 16.3k, False: 158k]
  ------------------
 1039|  39.2k|    case BVEC2:
  ------------------
  |  Branch (1039:5): [True: 1.83k, False: 173k]
  ------------------
 1040|  41.1k|    case BVEC3:
  ------------------
  |  Branch (1040:5): [True: 1.83k, False: 173k]
  ------------------
 1041|  42.9k|    case BVEC4:
  ------------------
  |  Branch (1041:5): [True: 1.83k, False: 173k]
  ------------------
 1042|  55.7k|    case VEC2:
  ------------------
  |  Branch (1042:5): [True: 12.7k, False: 162k]
  ------------------
 1043|  68.2k|    case VEC3:
  ------------------
  |  Branch (1043:5): [True: 12.5k, False: 162k]
  ------------------
 1044|  81.7k|    case VEC4:
  ------------------
  |  Branch (1044:5): [True: 13.4k, False: 161k]
  ------------------
 1045|  86.6k|    case IVEC2:
  ------------------
  |  Branch (1045:5): [True: 4.93k, False: 170k]
  ------------------
 1046|  90.0k|    case IVEC3:
  ------------------
  |  Branch (1046:5): [True: 3.42k, False: 171k]
  ------------------
 1047|  92.6k|    case IVEC4:
  ------------------
  |  Branch (1047:5): [True: 2.54k, False: 172k]
  ------------------
 1048|  92.8k|    case MAT2:
  ------------------
  |  Branch (1048:5): [True: 222, False: 174k]
  ------------------
 1049|  93.0k|    case MAT3:
  ------------------
  |  Branch (1049:5): [True: 222, False: 174k]
  ------------------
 1050|  93.2k|    case MAT4:
  ------------------
  |  Branch (1050:5): [True: 222, False: 174k]
  ------------------
 1051|  94.3k|    case SAMPLER2D:
  ------------------
  |  Branch (1051:5): [True: 1.06k, False: 173k]
  ------------------
 1052|  94.6k|    case SAMPLERCUBE:
  ------------------
  |  Branch (1052:5): [True: 332, False: 174k]
  ------------------
 1053|  94.6k|        afterType = true;
 1054|  94.6k|        return keyword;
 1055|       |
 1056|      0|    case BOOLCONSTANT:
  ------------------
  |  Branch (1056:5): [True: 0, False: 174k]
  ------------------
 1057|      0|        if (strcmp("true", tokenText) == 0)
  ------------------
  |  Branch (1057:13): [True: 0, False: 0]
  ------------------
 1058|      0|            parserToken->sType.lex.b = true;
 1059|      0|        else
 1060|      0|            parserToken->sType.lex.b = false;
 1061|      0|        return keyword;
 1062|       |
 1063|      0|    case SMOOTH:
  ------------------
  |  Branch (1063:5): [True: 0, False: 174k]
  ------------------
 1064|      0|        if ((parseContext.isEsProfile() && parseContext.version < 300) ||
  ------------------
  |  Branch (1064:14): [True: 0, False: 0]
  |  Branch (1064:44): [True: 0, False: 0]
  ------------------
 1065|      0|            (!parseContext.isEsProfile() && parseContext.version < 130))
  ------------------
  |  Branch (1065:14): [True: 0, False: 0]
  |  Branch (1065:45): [True: 0, False: 0]
  ------------------
 1066|      0|            return identifierOrType();
 1067|      0|        return keyword;
 1068|     70|    case FLAT:
  ------------------
  |  Branch (1068:5): [True: 70, False: 174k]
  ------------------
 1069|     70|        if (parseContext.isEsProfile() && parseContext.version < 300)
  ------------------
  |  Branch (1069:13): [True: 0, False: 70]
  |  Branch (1069:43): [True: 0, False: 0]
  ------------------
 1070|      0|            reservedWord();
 1071|     70|        else if (!parseContext.isEsProfile() && parseContext.version < 130)
  ------------------
  |  Branch (1071:18): [True: 70, False: 0]
  |  Branch (1071:49): [True: 0, False: 70]
  ------------------
 1072|      0|            return identifierOrType();
 1073|     70|        return keyword;
 1074|      0|    case CENTROID:
  ------------------
  |  Branch (1074:5): [True: 0, False: 174k]
  ------------------
 1075|      0|        if (parseContext.version < 120)
  ------------------
  |  Branch (1075:13): [True: 0, False: 0]
  ------------------
 1076|      0|            return identifierOrType();
 1077|      0|        return keyword;
 1078|      0|    case INVARIANT:
  ------------------
  |  Branch (1078:5): [True: 0, False: 174k]
  ------------------
 1079|      0|        if (!parseContext.isEsProfile() && parseContext.version < 120)
  ------------------
  |  Branch (1079:13): [True: 0, False: 0]
  |  Branch (1079:44): [True: 0, False: 0]
  ------------------
 1080|      0|            return identifierOrType();
 1081|      0|        return keyword;
 1082|      0|    case PACKED:
  ------------------
  |  Branch (1082:5): [True: 0, False: 174k]
  ------------------
 1083|      0|        if ((parseContext.isEsProfile() && parseContext.version < 300) ||
  ------------------
  |  Branch (1083:14): [True: 0, False: 0]
  |  Branch (1083:44): [True: 0, False: 0]
  ------------------
 1084|      0|            (!parseContext.isEsProfile() && parseContext.version < 140))
  ------------------
  |  Branch (1084:14): [True: 0, False: 0]
  |  Branch (1084:45): [True: 0, False: 0]
  ------------------
 1085|      0|            return reservedWord();
 1086|      0|        return identifierOrType();
 1087|       |
 1088|      0|    case RESOURCE:
  ------------------
  |  Branch (1088:5): [True: 0, False: 174k]
  ------------------
 1089|      0|    {
 1090|      0|        bool reserved = (parseContext.isEsProfile() && parseContext.version >= 300) ||
  ------------------
  |  Branch (1090:26): [True: 0, False: 0]
  |  Branch (1090:56): [True: 0, False: 0]
  ------------------
 1091|      0|                        (!parseContext.isEsProfile() && parseContext.version >= 420);
  ------------------
  |  Branch (1091:26): [True: 0, False: 0]
  |  Branch (1091:57): [True: 0, False: 0]
  ------------------
 1092|      0|        return identifierOrReserved(reserved);
 1093|      0|    }
 1094|      0|    case SUPERP:
  ------------------
  |  Branch (1094:5): [True: 0, False: 174k]
  ------------------
 1095|      0|    {
 1096|      0|        bool reserved = parseContext.isEsProfile() || parseContext.version >= 130;
  ------------------
  |  Branch (1096:25): [True: 0, False: 0]
  |  Branch (1096:55): [True: 0, False: 0]
  ------------------
 1097|      0|        return identifierOrReserved(reserved);
 1098|      0|    }
 1099|       |
 1100|      0|    case NOPERSPECTIVE:
  ------------------
  |  Branch (1100:5): [True: 0, False: 174k]
  ------------------
 1101|      0|        if (parseContext.extensionTurnedOn(E_GL_NV_shader_noperspective_interpolation))
  ------------------
  |  Branch (1101:13): [True: 0, False: 0]
  ------------------
 1102|      0|            return keyword;
 1103|      0|        return es30ReservedFromGLSL(130);
 1104|       |
 1105|      0|    case NONUNIFORM:
  ------------------
  |  Branch (1105:5): [True: 0, False: 174k]
  ------------------
 1106|      0|        if (parseContext.extensionTurnedOn(E_GL_EXT_nonuniform_qualifier))
  ------------------
  |  Branch (1106:13): [True: 0, False: 0]
  ------------------
 1107|      0|            return keyword;
 1108|      0|        else
 1109|      0|            return identifierOrType();
 1110|      0|    case ATTRIBUTE:
  ------------------
  |  Branch (1110:5): [True: 0, False: 174k]
  ------------------
 1111|      0|    case VARYING:
  ------------------
  |  Branch (1111:5): [True: 0, False: 174k]
  ------------------
 1112|      0|        if (parseContext.isEsProfile() && parseContext.version >= 300)
  ------------------
  |  Branch (1112:13): [True: 0, False: 0]
  |  Branch (1112:43): [True: 0, False: 0]
  ------------------
 1113|      0|            reservedWord();
 1114|      0|        return keyword;
 1115|      0|    case PAYLOADNV:
  ------------------
  |  Branch (1115:5): [True: 0, False: 174k]
  ------------------
 1116|      0|    case PAYLOADINNV:
  ------------------
  |  Branch (1116:5): [True: 0, False: 174k]
  ------------------
 1117|      0|    case HITATTRNV:
  ------------------
  |  Branch (1117:5): [True: 0, False: 174k]
  ------------------
 1118|      0|    case CALLDATANV:
  ------------------
  |  Branch (1118:5): [True: 0, False: 174k]
  ------------------
 1119|      0|    case CALLDATAINNV:
  ------------------
  |  Branch (1119:5): [True: 0, False: 174k]
  ------------------
 1120|      0|    case ACCSTRUCTNV:
  ------------------
  |  Branch (1120:5): [True: 0, False: 174k]
  ------------------
 1121|      0|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1121:13): [True: 0, False: 0]
  ------------------
 1122|      0|            parseContext.extensionTurnedOn(E_GL_NV_ray_tracing))
  ------------------
  |  Branch (1122:13): [True: 0, False: 0]
  ------------------
 1123|      0|            return keyword;
 1124|      0|        return identifierOrType();
 1125|      0|    case ACCSTRUCTEXT:
  ------------------
  |  Branch (1125:5): [True: 0, False: 174k]
  ------------------
 1126|      0|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1126:13): [True: 0, False: 0]
  ------------------
 1127|      0|            parseContext.extensionTurnedOn(E_GL_EXT_ray_tracing) ||
  ------------------
  |  Branch (1127:13): [True: 0, False: 0]
  ------------------
 1128|      0|            parseContext.extensionTurnedOn(E_GL_EXT_ray_query) ||
  ------------------
  |  Branch (1128:13): [True: 0, False: 0]
  ------------------
 1129|      0|            parseContext.extensionTurnedOn(E_GL_NV_displacement_micromap))
  ------------------
  |  Branch (1129:13): [True: 0, False: 0]
  ------------------
 1130|      0|            return keyword;
 1131|      0|        return identifierOrType();
 1132|      0|    case PAYLOADEXT:
  ------------------
  |  Branch (1132:5): [True: 0, False: 174k]
  ------------------
 1133|      0|    case PAYLOADINEXT:
  ------------------
  |  Branch (1133:5): [True: 0, False: 174k]
  ------------------
 1134|      0|    case HITATTREXT:
  ------------------
  |  Branch (1134:5): [True: 0, False: 174k]
  ------------------
 1135|      0|    case CALLDATAEXT:
  ------------------
  |  Branch (1135:5): [True: 0, False: 174k]
  ------------------
 1136|      0|    case CALLDATAINEXT:
  ------------------
  |  Branch (1136:5): [True: 0, False: 174k]
  ------------------
 1137|      0|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1137:13): [True: 0, False: 0]
  ------------------
 1138|      0|            parseContext.extensionTurnedOn(E_GL_EXT_ray_tracing) ||
  ------------------
  |  Branch (1138:13): [True: 0, False: 0]
  ------------------
 1139|      0|            parseContext.extensionTurnedOn(E_GL_EXT_ray_query))
  ------------------
  |  Branch (1139:13): [True: 0, False: 0]
  ------------------
 1140|      0|            return keyword;
 1141|      0|        return identifierOrType();
 1142|      0|    case RAYQUERYEXT:
  ------------------
  |  Branch (1142:5): [True: 0, False: 174k]
  ------------------
 1143|      0|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1143:13): [True: 0, False: 0]
  ------------------
 1144|      0|            (!parseContext.isEsProfile() && parseContext.version >= 460
  ------------------
  |  Branch (1144:14): [True: 0, False: 0]
  |  Branch (1144:45): [True: 0, False: 0]
  ------------------
 1145|      0|                 && parseContext.extensionTurnedOn(E_GL_EXT_ray_query)))
  ------------------
  |  Branch (1145:21): [True: 0, False: 0]
  ------------------
 1146|      0|            return keyword;
 1147|      0|        return identifierOrType();
 1148|     24|    case ATOMIC_UINT:
  ------------------
  |  Branch (1148:5): [True: 24, False: 174k]
  ------------------
 1149|     24|        if ((parseContext.isEsProfile() && parseContext.version >= 310) ||
  ------------------
  |  Branch (1149:14): [True: 0, False: 24]
  |  Branch (1149:44): [True: 0, False: 0]
  ------------------
 1150|     24|            parseContext.extensionTurnedOn(E_GL_ARB_shader_atomic_counters))
  ------------------
  |  Branch (1150:13): [True: 0, False: 24]
  ------------------
 1151|      0|            return keyword;
 1152|     24|        return es30ReservedFromGLSL(420);
 1153|       |
 1154|  4.19k|    case COHERENT:
  ------------------
  |  Branch (1154:5): [True: 4.19k, False: 170k]
  ------------------
 1155|  4.19k|    case DEVICECOHERENT:
  ------------------
  |  Branch (1155:5): [True: 0, False: 174k]
  ------------------
 1156|  4.19k|    case QUEUEFAMILYCOHERENT:
  ------------------
  |  Branch (1156:5): [True: 0, False: 174k]
  ------------------
 1157|  4.19k|    case WORKGROUPCOHERENT:
  ------------------
  |  Branch (1157:5): [True: 0, False: 174k]
  ------------------
 1158|  4.19k|    case SUBGROUPCOHERENT:
  ------------------
  |  Branch (1158:5): [True: 0, False: 174k]
  ------------------
 1159|  4.19k|    case SHADERCALLCOHERENT:
  ------------------
  |  Branch (1159:5): [True: 0, False: 174k]
  ------------------
 1160|  4.19k|    case NONPRIVATE:
  ------------------
  |  Branch (1160:5): [True: 0, False: 174k]
  ------------------
 1161|  4.19k|    case RESTRICT:
  ------------------
  |  Branch (1161:5): [True: 0, False: 174k]
  ------------------
 1162|  4.82k|    case READONLY:
  ------------------
  |  Branch (1162:5): [True: 634, False: 174k]
  ------------------
 1163|  5.30k|    case WRITEONLY:
  ------------------
  |  Branch (1163:5): [True: 478, False: 174k]
  ------------------
 1164|  5.30k|        if (parseContext.isEsProfile() && parseContext.version >= 310)
  ------------------
  |  Branch (1164:13): [True: 0, False: 5.30k]
  |  Branch (1164:43): [True: 0, False: 0]
  ------------------
 1165|      0|            return keyword;
 1166|  5.30k|        return es30ReservedFromGLSL(parseContext.extensionTurnedOn(E_GL_ARB_shader_image_load_store) ? 130 : 420);
  ------------------
  |  Branch (1166:37): [True: 0, False: 5.30k]
  ------------------
 1167|  4.35k|    case VOLATILE:
  ------------------
  |  Branch (1167:5): [True: 4.35k, False: 170k]
  ------------------
 1168|  4.35k|        if (parseContext.isEsProfile() && parseContext.version >= 310)
  ------------------
  |  Branch (1168:13): [True: 0, False: 4.35k]
  |  Branch (1168:43): [True: 0, False: 0]
  ------------------
 1169|      0|            return keyword;
 1170|  4.35k|        if (! parseContext.symbolTable.atBuiltInLevel() && (parseContext.isEsProfile() ||
  ------------------
  |  Branch (1170:13): [True: 0, False: 4.35k]
  |  Branch (1170:61): [True: 0, False: 0]
  ------------------
 1171|      0|            (parseContext.version < 420 && ! parseContext.extensionTurnedOn(E_GL_ARB_shader_image_load_store))))
  ------------------
  |  Branch (1171:14): [True: 0, False: 0]
  |  Branch (1171:44): [True: 0, False: 0]
  ------------------
 1172|      0|            reservedWord();
 1173|  4.35k|        return keyword;
 1174|  3.83k|    case NONTEMPORAL:
  ------------------
  |  Branch (1174:5): [True: 3.83k, False: 171k]
  ------------------
 1175|  3.83k|        if (parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (1175:13): [True: 3.83k, False: 0]
  ------------------
 1176|  3.83k|            return keyword;
 1177|      0|        if (parseContext.extensionTurnedOn(E_GL_EXT_nontemporal_keyword)) {
  ------------------
  |  Branch (1177:13): [True: 0, False: 0]
  ------------------
 1178|      0|            if (!parseContext.intermediate.usingVulkanMemoryModel())
  ------------------
  |  Branch (1178:17): [True: 0, False: 0]
  ------------------
 1179|      0|                parseContext.warn(loc, "Nontemporal without the Vulkan Memory Model is ignored", tokenText, "");
 1180|      0|            return keyword;
 1181|      0|        }
 1182|      0|        return identifierOrType();
 1183|      8|    case PATCH:
  ------------------
  |  Branch (1183:5): [True: 8, False: 174k]
  ------------------
 1184|      8|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1184:13): [True: 8, False: 0]
  ------------------
 1185|      0|            (parseContext.isEsProfile() &&
  ------------------
  |  Branch (1185:14): [True: 0, False: 0]
  ------------------
 1186|      0|             (parseContext.version >= 320 ||
  ------------------
  |  Branch (1186:15): [True: 0, False: 0]
  ------------------
 1187|      0|              parseContext.extensionsTurnedOn(Num_AEP_tessellation_shader, AEP_tessellation_shader))) ||
  ------------------
  |  Branch (1187:15): [True: 0, False: 0]
  ------------------
 1188|      0|            (!parseContext.isEsProfile() && parseContext.extensionTurnedOn(E_GL_ARB_tessellation_shader)))
  ------------------
  |  Branch (1188:14): [True: 0, False: 0]
  |  Branch (1188:45): [True: 0, False: 0]
  ------------------
 1189|      8|            return keyword;
 1190|       |
 1191|      0|        return es30ReservedFromGLSL(400);
 1192|       |
 1193|      0|    case SAMPLE: 
  ------------------
  |  Branch (1193:5): [True: 0, False: 174k]
  ------------------
 1194|      0|    {
 1195|      0|        const int numLayoutExts = 3;
 1196|      0|        const char* layoutExts[numLayoutExts] = {E_GL_OES_shader_multisample_interpolation, E_GL_ARB_gpu_shader5,
 1197|      0|                                                 E_GL_NV_gpu_shader5};
 1198|      0|        if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1198:14): [True: 0, False: 0]
  |  Branch (1198:44): [True: 0, False: 0]
  ------------------
 1199|      0|            parseContext.extensionsTurnedOn(numLayoutExts, layoutExts))
  ------------------
  |  Branch (1199:13): [True: 0, False: 0]
  ------------------
 1200|      0|            return keyword;
 1201|      0|        return es30ReservedFromGLSL(400);
 1202|      0|    }
 1203|      0|    case SUBROUTINE:
  ------------------
  |  Branch (1203:5): [True: 0, False: 174k]
  ------------------
 1204|      0|        return es30ReservedFromGLSL(400);
 1205|       |
 1206|      0|    case SHARED:
  ------------------
  |  Branch (1206:5): [True: 0, False: 174k]
  ------------------
 1207|      0|        if ((parseContext.isEsProfile() && parseContext.version < 300) ||
  ------------------
  |  Branch (1207:14): [True: 0, False: 0]
  |  Branch (1207:44): [True: 0, False: 0]
  ------------------
 1208|      0|            (!parseContext.isEsProfile() && parseContext.version < 140))
  ------------------
  |  Branch (1208:14): [True: 0, False: 0]
  |  Branch (1208:45): [True: 0, False: 0]
  ------------------
 1209|      0|            return identifierOrType();
 1210|      0|        return keyword;
 1211|      0|    case LAYOUT:
  ------------------
  |  Branch (1211:5): [True: 0, False: 174k]
  ------------------
 1212|      0|    {
 1213|      0|        const int numLayoutExts = 2;
 1214|      0|        const char* layoutExts[numLayoutExts] = { E_GL_ARB_shading_language_420pack,
 1215|      0|                                                  E_GL_ARB_explicit_attrib_location };
 1216|      0|        if ((parseContext.isEsProfile() && parseContext.version < 300) ||
  ------------------
  |  Branch (1216:14): [True: 0, False: 0]
  |  Branch (1216:44): [True: 0, False: 0]
  ------------------
 1217|      0|            (!parseContext.isEsProfile() && parseContext.version < 140 &&
  ------------------
  |  Branch (1217:14): [True: 0, False: 0]
  |  Branch (1217:45): [True: 0, False: 0]
  ------------------
 1218|      0|            ! parseContext.extensionsTurnedOn(numLayoutExts, layoutExts)))
  ------------------
  |  Branch (1218:13): [True: 0, False: 0]
  ------------------
 1219|      0|            return identifierOrType();
 1220|      0|        return keyword;
 1221|      0|    }
 1222|       |
 1223|  4.40k|    case HIGH_PRECISION:
  ------------------
  |  Branch (1223:5): [True: 4.40k, False: 170k]
  ------------------
 1224|  4.91k|    case MEDIUM_PRECISION:
  ------------------
  |  Branch (1224:5): [True: 502, False: 174k]
  ------------------
 1225|  4.93k|    case LOW_PRECISION:
  ------------------
  |  Branch (1225:5): [True: 20, False: 174k]
  ------------------
 1226|  4.93k|    case PRECISION:
  ------------------
  |  Branch (1226:5): [True: 0, False: 174k]
  ------------------
 1227|  4.93k|        return precisionKeyword();
 1228|       |
 1229|      0|    case MAT2X2:
  ------------------
  |  Branch (1229:5): [True: 0, False: 174k]
  ------------------
 1230|     12|    case MAT2X3:
  ------------------
  |  Branch (1230:5): [True: 12, False: 174k]
  ------------------
 1231|     24|    case MAT2X4:
  ------------------
  |  Branch (1231:5): [True: 12, False: 174k]
  ------------------
 1232|     36|    case MAT3X2:
  ------------------
  |  Branch (1232:5): [True: 12, False: 174k]
  ------------------
 1233|     36|    case MAT3X3:
  ------------------
  |  Branch (1233:5): [True: 0, False: 174k]
  ------------------
 1234|     48|    case MAT3X4:
  ------------------
  |  Branch (1234:5): [True: 12, False: 174k]
  ------------------
 1235|     60|    case MAT4X2:
  ------------------
  |  Branch (1235:5): [True: 12, False: 174k]
  ------------------
 1236|     72|    case MAT4X3:
  ------------------
  |  Branch (1236:5): [True: 12, False: 174k]
  ------------------
 1237|     72|    case MAT4X4:
  ------------------
  |  Branch (1237:5): [True: 0, False: 174k]
  ------------------
 1238|     72|        return matNxM();
 1239|       |
 1240|     18|    case DMAT2:
  ------------------
  |  Branch (1240:5): [True: 18, False: 174k]
  ------------------
 1241|     36|    case DMAT3:
  ------------------
  |  Branch (1241:5): [True: 18, False: 174k]
  ------------------
 1242|     54|    case DMAT4:
  ------------------
  |  Branch (1242:5): [True: 18, False: 174k]
  ------------------
 1243|     54|    case DMAT2X2:
  ------------------
  |  Branch (1243:5): [True: 0, False: 174k]
  ------------------
 1244|     66|    case DMAT2X3:
  ------------------
  |  Branch (1244:5): [True: 12, False: 174k]
  ------------------
 1245|     78|    case DMAT2X4:
  ------------------
  |  Branch (1245:5): [True: 12, False: 174k]
  ------------------
 1246|     90|    case DMAT3X2:
  ------------------
  |  Branch (1246:5): [True: 12, False: 174k]
  ------------------
 1247|     90|    case DMAT3X3:
  ------------------
  |  Branch (1247:5): [True: 0, False: 174k]
  ------------------
 1248|    102|    case DMAT3X4:
  ------------------
  |  Branch (1248:5): [True: 12, False: 174k]
  ------------------
 1249|    114|    case DMAT4X2:
  ------------------
  |  Branch (1249:5): [True: 12, False: 174k]
  ------------------
 1250|    126|    case DMAT4X3:
  ------------------
  |  Branch (1250:5): [True: 12, False: 174k]
  ------------------
 1251|    126|    case DMAT4X4:
  ------------------
  |  Branch (1251:5): [True: 0, False: 174k]
  ------------------
 1252|    126|        return dMat();
 1253|       |
 1254|     46|    case IMAGE1D:
  ------------------
  |  Branch (1254:5): [True: 46, False: 174k]
  ------------------
 1255|     92|    case IIMAGE1D:
  ------------------
  |  Branch (1255:5): [True: 46, False: 174k]
  ------------------
 1256|    138|    case UIMAGE1D:
  ------------------
  |  Branch (1256:5): [True: 46, False: 174k]
  ------------------
 1257|    184|    case IMAGE1DARRAY:
  ------------------
  |  Branch (1257:5): [True: 46, False: 174k]
  ------------------
 1258|    230|    case IIMAGE1DARRAY:
  ------------------
  |  Branch (1258:5): [True: 46, False: 174k]
  ------------------
 1259|    276|    case UIMAGE1DARRAY:
  ------------------
  |  Branch (1259:5): [True: 46, False: 174k]
  ------------------
 1260|    320|    case IMAGE2DRECT:
  ------------------
  |  Branch (1260:5): [True: 44, False: 174k]
  ------------------
 1261|    364|    case IIMAGE2DRECT:
  ------------------
  |  Branch (1261:5): [True: 44, False: 174k]
  ------------------
 1262|    408|    case UIMAGE2DRECT:
  ------------------
  |  Branch (1262:5): [True: 44, False: 174k]
  ------------------
 1263|    408|        afterType = true;
 1264|    408|        return firstGenerationImage(false);
 1265|       |
 1266|     46|    case I64IMAGE1D:
  ------------------
  |  Branch (1266:5): [True: 46, False: 174k]
  ------------------
 1267|     92|    case U64IMAGE1D:
  ------------------
  |  Branch (1267:5): [True: 46, False: 174k]
  ------------------
 1268|    138|    case I64IMAGE1DARRAY:
  ------------------
  |  Branch (1268:5): [True: 46, False: 174k]
  ------------------
 1269|    184|    case U64IMAGE1DARRAY:
  ------------------
  |  Branch (1269:5): [True: 46, False: 174k]
  ------------------
 1270|    228|    case I64IMAGE2DRECT:
  ------------------
  |  Branch (1270:5): [True: 44, False: 174k]
  ------------------
 1271|    272|    case U64IMAGE2DRECT:
  ------------------
  |  Branch (1271:5): [True: 44, False: 174k]
  ------------------
 1272|    272|        afterType = true;
 1273|    272|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1273:13): [True: 272, False: 0]
  ------------------
 1274|    272|            parseContext.extensionTurnedOn(E_GL_EXT_shader_image_int64)) {
  ------------------
  |  Branch (1274:13): [True: 0, False: 0]
  ------------------
 1275|    272|            return firstGenerationImage(false);
 1276|    272|        }
 1277|      0|        return identifierOrType();
 1278|       |
 1279|     42|    case IMAGEBUFFER:
  ------------------
  |  Branch (1279:5): [True: 42, False: 174k]
  ------------------
 1280|     84|    case IIMAGEBUFFER:
  ------------------
  |  Branch (1280:5): [True: 42, False: 174k]
  ------------------
 1281|    126|    case UIMAGEBUFFER:
  ------------------
  |  Branch (1281:5): [True: 42, False: 174k]
  ------------------
 1282|    126|        afterType = true;
 1283|    126|        if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1283:14): [True: 0, False: 126]
  |  Branch (1283:44): [True: 0, False: 0]
  ------------------
 1284|    126|            parseContext.extensionsTurnedOn(Num_AEP_texture_buffer, AEP_texture_buffer))
  ------------------
  |  Branch (1284:13): [True: 0, False: 126]
  ------------------
 1285|      0|            return keyword;
 1286|    126|        return firstGenerationImage(false);
 1287|       |        
 1288|     42|    case I64IMAGEBUFFER:
  ------------------
  |  Branch (1288:5): [True: 42, False: 174k]
  ------------------
 1289|     84|    case U64IMAGEBUFFER:
  ------------------
  |  Branch (1289:5): [True: 42, False: 174k]
  ------------------
 1290|     84|        afterType = true;        
 1291|     84|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1291:13): [True: 84, False: 0]
  ------------------
 1292|     84|            parseContext.extensionTurnedOn(E_GL_EXT_shader_image_int64)) {
  ------------------
  |  Branch (1292:13): [True: 0, False: 0]
  ------------------
 1293|     84|            if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1293:18): [True: 0, False: 84]
  |  Branch (1293:48): [True: 0, False: 0]
  ------------------
 1294|     84|                parseContext.extensionsTurnedOn(Num_AEP_texture_buffer, AEP_texture_buffer))
  ------------------
  |  Branch (1294:17): [True: 0, False: 84]
  ------------------
 1295|      0|                return keyword;
 1296|     84|            return firstGenerationImage(false);
 1297|     84|        }
 1298|      0|        return identifierOrType();
 1299|       |
 1300|     50|    case IMAGE2D:
  ------------------
  |  Branch (1300:5): [True: 50, False: 174k]
  ------------------
 1301|    100|    case IIMAGE2D:
  ------------------
  |  Branch (1301:5): [True: 50, False: 174k]
  ------------------
 1302|    150|    case UIMAGE2D:
  ------------------
  |  Branch (1302:5): [True: 50, False: 174k]
  ------------------
 1303|    200|    case IMAGE3D:
  ------------------
  |  Branch (1303:5): [True: 50, False: 174k]
  ------------------
 1304|    250|    case IIMAGE3D:
  ------------------
  |  Branch (1304:5): [True: 50, False: 174k]
  ------------------
 1305|    300|    case UIMAGE3D:
  ------------------
  |  Branch (1305:5): [True: 50, False: 174k]
  ------------------
 1306|    350|    case IMAGECUBE:
  ------------------
  |  Branch (1306:5): [True: 50, False: 174k]
  ------------------
 1307|    400|    case IIMAGECUBE:
  ------------------
  |  Branch (1307:5): [True: 50, False: 174k]
  ------------------
 1308|    450|    case UIMAGECUBE:
  ------------------
  |  Branch (1308:5): [True: 50, False: 174k]
  ------------------
 1309|    500|    case IMAGE2DARRAY:
  ------------------
  |  Branch (1309:5): [True: 50, False: 174k]
  ------------------
 1310|    550|    case IIMAGE2DARRAY:
  ------------------
  |  Branch (1310:5): [True: 50, False: 174k]
  ------------------
 1311|    600|    case UIMAGE2DARRAY:
  ------------------
  |  Branch (1311:5): [True: 50, False: 174k]
  ------------------
 1312|    600|        afterType = true;
 1313|    600|        return firstGenerationImage(true);
 1314|       |
 1315|     50|    case I64IMAGE2D:
  ------------------
  |  Branch (1315:5): [True: 50, False: 174k]
  ------------------
 1316|    100|    case U64IMAGE2D:
  ------------------
  |  Branch (1316:5): [True: 50, False: 174k]
  ------------------
 1317|    150|    case I64IMAGE3D:
  ------------------
  |  Branch (1317:5): [True: 50, False: 174k]
  ------------------
 1318|    200|    case U64IMAGE3D:
  ------------------
  |  Branch (1318:5): [True: 50, False: 174k]
  ------------------
 1319|    250|    case I64IMAGECUBE:
  ------------------
  |  Branch (1319:5): [True: 50, False: 174k]
  ------------------
 1320|    300|    case U64IMAGECUBE:
  ------------------
  |  Branch (1320:5): [True: 50, False: 174k]
  ------------------
 1321|    350|    case I64IMAGE2DARRAY:
  ------------------
  |  Branch (1321:5): [True: 50, False: 174k]
  ------------------
 1322|    400|    case U64IMAGE2DARRAY:
  ------------------
  |  Branch (1322:5): [True: 50, False: 174k]
  ------------------
 1323|    400|        afterType = true;
 1324|    400|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1324:13): [True: 400, False: 0]
  ------------------
 1325|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_image_int64))
  ------------------
  |  Branch (1325:13): [True: 0, False: 0]
  ------------------
 1326|    400|            return firstGenerationImage(true);
 1327|      0|        return identifierOrType();
 1328|       |        
 1329|     50|    case IMAGECUBEARRAY:
  ------------------
  |  Branch (1329:5): [True: 50, False: 174k]
  ------------------
 1330|    100|    case IIMAGECUBEARRAY:
  ------------------
  |  Branch (1330:5): [True: 50, False: 174k]
  ------------------
 1331|    150|    case UIMAGECUBEARRAY:
  ------------------
  |  Branch (1331:5): [True: 50, False: 174k]
  ------------------
 1332|    150|        afterType = true;
 1333|    150|        if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1333:14): [True: 0, False: 150]
  |  Branch (1333:44): [True: 0, False: 0]
  ------------------
 1334|    150|            parseContext.extensionsTurnedOn(Num_AEP_texture_cube_map_array, AEP_texture_cube_map_array))
  ------------------
  |  Branch (1334:13): [True: 0, False: 150]
  ------------------
 1335|      0|            return keyword;
 1336|    150|        return secondGenerationImage();
 1337|       |        
 1338|     50|    case I64IMAGECUBEARRAY:
  ------------------
  |  Branch (1338:5): [True: 50, False: 174k]
  ------------------
 1339|    100|    case U64IMAGECUBEARRAY:
  ------------------
  |  Branch (1339:5): [True: 50, False: 174k]
  ------------------
 1340|    100|        afterType = true;
 1341|    100|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1341:13): [True: 100, False: 0]
  ------------------
 1342|    100|            parseContext.extensionTurnedOn(E_GL_EXT_shader_image_int64)) {
  ------------------
  |  Branch (1342:13): [True: 0, False: 0]
  ------------------
 1343|    100|            if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1343:18): [True: 0, False: 100]
  |  Branch (1343:48): [True: 0, False: 0]
  ------------------
 1344|    100|                parseContext.extensionsTurnedOn(Num_AEP_texture_cube_map_array, AEP_texture_cube_map_array))
  ------------------
  |  Branch (1344:17): [True: 0, False: 100]
  ------------------
 1345|      0|                return keyword;
 1346|    100|            return secondGenerationImage();
 1347|    100|        }
 1348|      0|        return identifierOrType();
 1349|       |
 1350|     46|    case IMAGE2DMS:
  ------------------
  |  Branch (1350:5): [True: 46, False: 174k]
  ------------------
 1351|     92|    case IIMAGE2DMS:
  ------------------
  |  Branch (1351:5): [True: 46, False: 174k]
  ------------------
 1352|    138|    case UIMAGE2DMS:
  ------------------
  |  Branch (1352:5): [True: 46, False: 174k]
  ------------------
 1353|    184|    case IMAGE2DMSARRAY:
  ------------------
  |  Branch (1353:5): [True: 46, False: 174k]
  ------------------
 1354|    230|    case IIMAGE2DMSARRAY:
  ------------------
  |  Branch (1354:5): [True: 46, False: 174k]
  ------------------
 1355|    276|    case UIMAGE2DMSARRAY:
  ------------------
  |  Branch (1355:5): [True: 46, False: 174k]
  ------------------
 1356|    276|        afterType = true;
 1357|    276|        return secondGenerationImage();
 1358|       |        
 1359|     46|    case I64IMAGE2DMS:
  ------------------
  |  Branch (1359:5): [True: 46, False: 174k]
  ------------------
 1360|     92|    case U64IMAGE2DMS:
  ------------------
  |  Branch (1360:5): [True: 46, False: 174k]
  ------------------
 1361|    138|    case I64IMAGE2DMSARRAY:
  ------------------
  |  Branch (1361:5): [True: 46, False: 174k]
  ------------------
 1362|    184|    case U64IMAGE2DMSARRAY:
  ------------------
  |  Branch (1362:5): [True: 46, False: 174k]
  ------------------
 1363|    184|        afterType = true;
 1364|    184|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1364:13): [True: 184, False: 0]
  ------------------
 1365|    184|            parseContext.extensionTurnedOn(E_GL_EXT_shader_image_int64)) {
  ------------------
  |  Branch (1365:13): [True: 0, False: 0]
  ------------------
 1366|    184|            return secondGenerationImage();
 1367|    184|        }
 1368|      0|        return identifierOrType();
 1369|       |
 1370|    570|    case DOUBLE:
  ------------------
  |  Branch (1370:5): [True: 570, False: 174k]
  ------------------
 1371|  1.03k|    case DVEC2:
  ------------------
  |  Branch (1371:5): [True: 464, False: 174k]
  ------------------
 1372|  1.49k|    case DVEC3:
  ------------------
  |  Branch (1372:5): [True: 462, False: 174k]
  ------------------
 1373|  1.96k|    case DVEC4:
  ------------------
  |  Branch (1373:5): [True: 464, False: 174k]
  ------------------
 1374|  1.96k|        afterType = true;
 1375|  1.96k|        if (parseContext.isEsProfile() || parseContext.version < 150 ||
  ------------------
  |  Branch (1375:13): [True: 0, False: 1.96k]
  |  Branch (1375:43): [True: 0, False: 1.96k]
  ------------------
 1376|  1.96k|            (!parseContext.symbolTable.atBuiltInLevel() &&
  ------------------
  |  Branch (1376:14): [True: 0, False: 1.96k]
  ------------------
 1377|      0|              (parseContext.version < 400 && !parseContext.extensionTurnedOn(E_GL_ARB_gpu_shader_fp64) &&
  ------------------
  |  Branch (1377:16): [True: 0, False: 0]
  |  Branch (1377:46): [True: 0, False: 0]
  ------------------
 1378|      0|              (parseContext.version < 410 && !parseContext.extensionTurnedOn(E_GL_ARB_vertex_attrib_64bit)))))
  ------------------
  |  Branch (1378:16): [True: 0, False: 0]
  |  Branch (1378:46): [True: 0, False: 0]
  ------------------
 1379|      0|            reservedWord();
 1380|  1.96k|        return keyword;
 1381|       |
 1382|  1.54k|    case INT64_T:
  ------------------
  |  Branch (1382:5): [True: 1.54k, False: 173k]
  ------------------
 1383|  4.10k|    case UINT64_T:
  ------------------
  |  Branch (1383:5): [True: 2.55k, False: 172k]
  ------------------
 1384|  4.58k|    case I64VEC2:
  ------------------
  |  Branch (1384:5): [True: 478, False: 174k]
  ------------------
 1385|  5.05k|    case I64VEC3:
  ------------------
  |  Branch (1385:5): [True: 470, False: 174k]
  ------------------
 1386|  5.62k|    case I64VEC4:
  ------------------
  |  Branch (1386:5): [True: 576, False: 174k]
  ------------------
 1387|  6.09k|    case U64VEC2:
  ------------------
  |  Branch (1387:5): [True: 462, False: 174k]
  ------------------
 1388|  6.54k|    case U64VEC3:
  ------------------
  |  Branch (1388:5): [True: 454, False: 174k]
  ------------------
 1389|  7.10k|    case U64VEC4:
  ------------------
  |  Branch (1389:5): [True: 560, False: 174k]
  ------------------
 1390|  7.10k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1390:13): [True: 7.10k, False: 0]
  ------------------
 1391|      0|            parseContext.extensionTurnedOn(E_GL_ARB_gpu_shader_int64) ||
  ------------------
  |  Branch (1391:13): [True: 0, False: 0]
  ------------------
 1392|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1392:13): [True: 0, False: 0]
  ------------------
 1393|      0|            parseContext.extensionTurnedOn(E_GL_NV_gpu_shader5) ||
  ------------------
  |  Branch (1393:13): [True: 0, False: 0]
  ------------------
 1394|  7.10k|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int64)) {
  ------------------
  |  Branch (1394:13): [True: 0, False: 0]
  ------------------
 1395|  7.10k|            afterType = true;
 1396|  7.10k|            return keyword;
 1397|  7.10k|        }
 1398|      0|        return identifierOrType();
 1399|       |
 1400|    570|    case INT8_T:
  ------------------
  |  Branch (1400:5): [True: 570, False: 174k]
  ------------------
 1401|  1.10k|    case UINT8_T:
  ------------------
  |  Branch (1401:5): [True: 532, False: 174k]
  ------------------
 1402|  1.51k|    case I8VEC2:
  ------------------
  |  Branch (1402:5): [True: 408, False: 174k]
  ------------------
 1403|  1.90k|    case I8VEC3:
  ------------------
  |  Branch (1403:5): [True: 396, False: 174k]
  ------------------
 1404|  2.31k|    case I8VEC4:
  ------------------
  |  Branch (1404:5): [True: 408, False: 174k]
  ------------------
 1405|  2.70k|    case U8VEC2:
  ------------------
  |  Branch (1405:5): [True: 394, False: 174k]
  ------------------
 1406|  3.09k|    case U8VEC3:
  ------------------
  |  Branch (1406:5): [True: 390, False: 174k]
  ------------------
 1407|  3.49k|    case U8VEC4:
  ------------------
  |  Branch (1407:5): [True: 394, False: 174k]
  ------------------
 1408|  3.49k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1408:13): [True: 3.49k, False: 0]
  ------------------
 1409|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1409:13): [True: 0, False: 0]
  ------------------
 1410|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_8bit_storage) ||
  ------------------
  |  Branch (1410:13): [True: 0, False: 0]
  ------------------
 1411|      0|            parseContext.extensionTurnedOn(E_GL_NV_gpu_shader5) ||
  ------------------
  |  Branch (1411:13): [True: 0, False: 0]
  ------------------
 1412|  3.49k|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int8)) {
  ------------------
  |  Branch (1412:13): [True: 0, False: 0]
  ------------------
 1413|  3.49k|            afterType = true;
 1414|  3.49k|            return keyword;
 1415|  3.49k|        }
 1416|      0|        return identifierOrType();
 1417|       |
 1418|    694|    case INT16_T:
  ------------------
  |  Branch (1418:5): [True: 694, False: 174k]
  ------------------
 1419|  1.31k|    case UINT16_T:
  ------------------
  |  Branch (1419:5): [True: 618, False: 174k]
  ------------------
 1420|  1.84k|    case I16VEC2:
  ------------------
  |  Branch (1420:5): [True: 536, False: 174k]
  ------------------
 1421|  2.36k|    case I16VEC3:
  ------------------
  |  Branch (1421:5): [True: 520, False: 174k]
  ------------------
 1422|  2.90k|    case I16VEC4:
  ------------------
  |  Branch (1422:5): [True: 536, False: 174k]
  ------------------
 1423|  3.42k|    case U16VEC2:
  ------------------
  |  Branch (1423:5): [True: 516, False: 174k]
  ------------------
 1424|  3.92k|    case U16VEC3:
  ------------------
  |  Branch (1424:5): [True: 508, False: 174k]
  ------------------
 1425|  4.44k|    case U16VEC4:
  ------------------
  |  Branch (1425:5): [True: 516, False: 174k]
  ------------------
 1426|  4.44k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1426:13): [True: 4.44k, False: 0]
  ------------------
 1427|      0|            parseContext.extensionTurnedOn(E_GL_AMD_gpu_shader_int16) ||
  ------------------
  |  Branch (1427:13): [True: 0, False: 0]
  ------------------
 1428|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_16bit_storage) ||
  ------------------
  |  Branch (1428:13): [True: 0, False: 0]
  ------------------
 1429|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1429:13): [True: 0, False: 0]
  ------------------
 1430|      0|            parseContext.extensionTurnedOn(E_GL_NV_gpu_shader5) ||
  ------------------
  |  Branch (1430:13): [True: 0, False: 0]
  ------------------
 1431|  4.44k|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int16)) {
  ------------------
  |  Branch (1431:13): [True: 0, False: 0]
  ------------------
 1432|  4.44k|            afterType = true;
 1433|  4.44k|            return keyword;
 1434|  4.44k|        }
 1435|      0|        return identifierOrType();
 1436|    160|    case INT32_T:
  ------------------
  |  Branch (1436:5): [True: 160, False: 174k]
  ------------------
 1437|    324|    case UINT32_T:
  ------------------
  |  Branch (1437:5): [True: 164, False: 174k]
  ------------------
 1438|    336|    case I32VEC2:
  ------------------
  |  Branch (1438:5): [True: 12, False: 174k]
  ------------------
 1439|    344|    case I32VEC3:
  ------------------
  |  Branch (1439:5): [True: 8, False: 174k]
  ------------------
 1440|    352|    case I32VEC4:
  ------------------
  |  Branch (1440:5): [True: 8, False: 174k]
  ------------------
 1441|    368|    case U32VEC2:
  ------------------
  |  Branch (1441:5): [True: 16, False: 174k]
  ------------------
 1442|    384|    case U32VEC3:
  ------------------
  |  Branch (1442:5): [True: 16, False: 174k]
  ------------------
 1443|    392|    case U32VEC4:
  ------------------
  |  Branch (1443:5): [True: 8, False: 174k]
  ------------------
 1444|    392|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1444:13): [True: 392, False: 0]
  ------------------
 1445|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1445:13): [True: 0, False: 0]
  ------------------
 1446|      0|            parseContext.extensionTurnedOn(E_GL_NV_gpu_shader5) ||
  ------------------
  |  Branch (1446:13): [True: 0, False: 0]
  ------------------
 1447|    392|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int32)) {
  ------------------
  |  Branch (1447:13): [True: 0, False: 0]
  ------------------
 1448|    392|            afterType = true;
 1449|    392|            return keyword;
 1450|    392|        }
 1451|      0|        return identifierOrType();
 1452|    152|    case FLOAT32_T:
  ------------------
  |  Branch (1452:5): [True: 152, False: 174k]
  ------------------
 1453|    160|    case F32VEC2:
  ------------------
  |  Branch (1453:5): [True: 8, False: 174k]
  ------------------
 1454|    168|    case F32VEC3:
  ------------------
  |  Branch (1454:5): [True: 8, False: 174k]
  ------------------
 1455|    176|    case F32VEC4:
  ------------------
  |  Branch (1455:5): [True: 8, False: 174k]
  ------------------
 1456|    176|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1456:13): [True: 176, False: 0]
  ------------------
 1457|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1457:13): [True: 0, False: 0]
  ------------------
 1458|      0|            parseContext.extensionTurnedOn(E_GL_NV_gpu_shader5) ||
  ------------------
  |  Branch (1458:13): [True: 0, False: 0]
  ------------------
 1459|    176|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float32)) {
  ------------------
  |  Branch (1459:13): [True: 0, False: 0]
  ------------------
 1460|    176|            afterType = true;
 1461|    176|            return keyword;
 1462|    176|        }
 1463|      0|        return identifierOrType();
 1464|      0|    case F32MAT2:
  ------------------
  |  Branch (1464:5): [True: 0, False: 174k]
  ------------------
 1465|      0|    case F32MAT3:
  ------------------
  |  Branch (1465:5): [True: 0, False: 174k]
  ------------------
 1466|      0|    case F32MAT4:
  ------------------
  |  Branch (1466:5): [True: 0, False: 174k]
  ------------------
 1467|      0|    case F32MAT2X2:
  ------------------
  |  Branch (1467:5): [True: 0, False: 174k]
  ------------------
 1468|      0|    case F32MAT2X3:
  ------------------
  |  Branch (1468:5): [True: 0, False: 174k]
  ------------------
 1469|      0|    case F32MAT2X4:
  ------------------
  |  Branch (1469:5): [True: 0, False: 174k]
  ------------------
 1470|      0|    case F32MAT3X2:
  ------------------
  |  Branch (1470:5): [True: 0, False: 174k]
  ------------------
 1471|      0|    case F32MAT3X3:
  ------------------
  |  Branch (1471:5): [True: 0, False: 174k]
  ------------------
 1472|      0|    case F32MAT3X4:
  ------------------
  |  Branch (1472:5): [True: 0, False: 174k]
  ------------------
 1473|      0|    case F32MAT4X2:
  ------------------
  |  Branch (1473:5): [True: 0, False: 174k]
  ------------------
 1474|      0|    case F32MAT4X3:
  ------------------
  |  Branch (1474:5): [True: 0, False: 174k]
  ------------------
 1475|      0|    case F32MAT4X4:
  ------------------
  |  Branch (1475:5): [True: 0, False: 174k]
  ------------------
 1476|      0|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1476:13): [True: 0, False: 0]
  ------------------
 1477|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1477:13): [True: 0, False: 0]
  ------------------
 1478|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float32)) {
  ------------------
  |  Branch (1478:13): [True: 0, False: 0]
  ------------------
 1479|      0|            afterType = true;
 1480|      0|            return keyword;
 1481|      0|        }
 1482|      0|        return identifierOrType();
 1483|       |
 1484|    282|    case FLOAT64_T:
  ------------------
  |  Branch (1484:5): [True: 282, False: 174k]
  ------------------
 1485|    462|    case F64VEC2:
  ------------------
  |  Branch (1485:5): [True: 180, False: 174k]
  ------------------
 1486|    634|    case F64VEC3:
  ------------------
  |  Branch (1486:5): [True: 172, False: 174k]
  ------------------
 1487|    806|    case F64VEC4:
  ------------------
  |  Branch (1487:5): [True: 172, False: 174k]
  ------------------
 1488|    806|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1488:13): [True: 806, False: 0]
  ------------------
 1489|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1489:13): [True: 0, False: 0]
  ------------------
 1490|      0|            (parseContext.extensionTurnedOn(E_GL_NV_gpu_shader5) && 
  ------------------
  |  Branch (1490:14): [True: 0, False: 0]
  ------------------
 1491|      0|             parseContext.extensionTurnedOn(E_GL_ARB_gpu_shader_fp64)) ||
  ------------------
  |  Branch (1491:14): [True: 0, False: 0]
  ------------------
 1492|    806|             parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float64)) {
  ------------------
  |  Branch (1492:14): [True: 0, False: 0]
  ------------------
 1493|    806|            afterType = true;
 1494|    806|            return keyword;
 1495|    806|        }
 1496|      0|        return identifierOrType();
 1497|      0|    case F64MAT2:
  ------------------
  |  Branch (1497:5): [True: 0, False: 174k]
  ------------------
 1498|      0|    case F64MAT3:
  ------------------
  |  Branch (1498:5): [True: 0, False: 174k]
  ------------------
 1499|      0|    case F64MAT4:
  ------------------
  |  Branch (1499:5): [True: 0, False: 174k]
  ------------------
 1500|      0|    case F64MAT2X2:
  ------------------
  |  Branch (1500:5): [True: 0, False: 174k]
  ------------------
 1501|      0|    case F64MAT2X3:
  ------------------
  |  Branch (1501:5): [True: 0, False: 174k]
  ------------------
 1502|      0|    case F64MAT2X4:
  ------------------
  |  Branch (1502:5): [True: 0, False: 174k]
  ------------------
 1503|      0|    case F64MAT3X2:
  ------------------
  |  Branch (1503:5): [True: 0, False: 174k]
  ------------------
 1504|      0|    case F64MAT3X3:
  ------------------
  |  Branch (1504:5): [True: 0, False: 174k]
  ------------------
 1505|      0|    case F64MAT3X4:
  ------------------
  |  Branch (1505:5): [True: 0, False: 174k]
  ------------------
 1506|      0|    case F64MAT4X2:
  ------------------
  |  Branch (1506:5): [True: 0, False: 174k]
  ------------------
 1507|      0|    case F64MAT4X3:
  ------------------
  |  Branch (1507:5): [True: 0, False: 174k]
  ------------------
 1508|      0|    case F64MAT4X4:
  ------------------
  |  Branch (1508:5): [True: 0, False: 174k]
  ------------------
 1509|      0|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1509:13): [True: 0, False: 0]
  ------------------
 1510|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1510:13): [True: 0, False: 0]
  ------------------
 1511|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float64)) {
  ------------------
  |  Branch (1511:13): [True: 0, False: 0]
  ------------------
 1512|      0|            afterType = true;
 1513|      0|            return keyword;
 1514|      0|        }
 1515|      0|        return identifierOrType();
 1516|       |
 1517|  2.82k|    case FLOAT16_T:
  ------------------
  |  Branch (1517:5): [True: 2.82k, False: 172k]
  ------------------
 1518|  4.82k|    case F16VEC2:
  ------------------
  |  Branch (1518:5): [True: 1.99k, False: 172k]
  ------------------
 1519|  6.22k|    case F16VEC3:
  ------------------
  |  Branch (1519:5): [True: 1.40k, False: 173k]
  ------------------
 1520|  9.66k|    case F16VEC4:
  ------------------
  |  Branch (1520:5): [True: 3.44k, False: 171k]
  ------------------
 1521|  9.66k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1521:13): [True: 9.66k, False: 0]
  ------------------
 1522|      0|            parseContext.extensionTurnedOn(E_GL_AMD_gpu_shader_half_float) ||
  ------------------
  |  Branch (1522:13): [True: 0, False: 0]
  ------------------
 1523|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_16bit_storage) ||
  ------------------
  |  Branch (1523:13): [True: 0, False: 0]
  ------------------
 1524|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1524:13): [True: 0, False: 0]
  ------------------
 1525|      0|            parseContext.extensionTurnedOn(E_GL_NV_gpu_shader5) ||
  ------------------
  |  Branch (1525:13): [True: 0, False: 0]
  ------------------
 1526|  9.66k|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float16)) {
  ------------------
  |  Branch (1526:13): [True: 0, False: 0]
  ------------------
 1527|  9.66k|            afterType = true;
 1528|  9.66k|            return keyword;
 1529|  9.66k|        }
 1530|      0|        return identifierOrType();
 1531|       |
 1532|     18|    case F16MAT2:
  ------------------
  |  Branch (1532:5): [True: 18, False: 174k]
  ------------------
 1533|     36|    case F16MAT3:
  ------------------
  |  Branch (1533:5): [True: 18, False: 174k]
  ------------------
 1534|     54|    case F16MAT4:
  ------------------
  |  Branch (1534:5): [True: 18, False: 174k]
  ------------------
 1535|     54|    case F16MAT2X2:
  ------------------
  |  Branch (1535:5): [True: 0, False: 174k]
  ------------------
 1536|     66|    case F16MAT2X3:
  ------------------
  |  Branch (1536:5): [True: 12, False: 174k]
  ------------------
 1537|     78|    case F16MAT2X4:
  ------------------
  |  Branch (1537:5): [True: 12, False: 174k]
  ------------------
 1538|     90|    case F16MAT3X2:
  ------------------
  |  Branch (1538:5): [True: 12, False: 174k]
  ------------------
 1539|     90|    case F16MAT3X3:
  ------------------
  |  Branch (1539:5): [True: 0, False: 174k]
  ------------------
 1540|    102|    case F16MAT3X4:
  ------------------
  |  Branch (1540:5): [True: 12, False: 174k]
  ------------------
 1541|    114|    case F16MAT4X2:
  ------------------
  |  Branch (1541:5): [True: 12, False: 174k]
  ------------------
 1542|    126|    case F16MAT4X3:
  ------------------
  |  Branch (1542:5): [True: 12, False: 174k]
  ------------------
 1543|    126|    case F16MAT4X4:
  ------------------
  |  Branch (1543:5): [True: 0, False: 174k]
  ------------------
 1544|    126|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1544:13): [True: 126, False: 0]
  ------------------
 1545|      0|            parseContext.extensionTurnedOn(E_GL_AMD_gpu_shader_half_float) ||
  ------------------
  |  Branch (1545:13): [True: 0, False: 0]
  ------------------
 1546|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1546:13): [True: 0, False: 0]
  ------------------
 1547|    126|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float16)) {
  ------------------
  |  Branch (1547:13): [True: 0, False: 0]
  ------------------
 1548|    126|            afterType = true;
 1549|    126|            return keyword;
 1550|    126|        }
 1551|       |
 1552|      0|        return identifierOrType();
 1553|       |
 1554|     36|    case BFLOAT16_T:
  ------------------
  |  Branch (1554:5): [True: 36, False: 174k]
  ------------------
 1555|     56|    case BF16VEC2:
  ------------------
  |  Branch (1555:5): [True: 20, False: 174k]
  ------------------
 1556|     68|    case BF16VEC3:
  ------------------
  |  Branch (1556:5): [True: 12, False: 174k]
  ------------------
 1557|     88|    case BF16VEC4:
  ------------------
  |  Branch (1557:5): [True: 20, False: 174k]
  ------------------
 1558|     88|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1558:13): [True: 88, False: 0]
  ------------------
 1559|     88|            parseContext.extensionTurnedOn(E_GL_EXT_bfloat16)) {
  ------------------
  |  Branch (1559:13): [True: 0, False: 0]
  ------------------
 1560|     88|            afterType = true;
 1561|     88|            return keyword;
 1562|     88|        }
 1563|       |
 1564|      0|        return identifierOrType();
 1565|       |
 1566|     24|    case FLOATE5M2_T:
  ------------------
  |  Branch (1566:5): [True: 24, False: 174k]
  ------------------
 1567|     40|    case FE5M2VEC2:
  ------------------
  |  Branch (1567:5): [True: 16, False: 174k]
  ------------------
 1568|     48|    case FE5M2VEC3:
  ------------------
  |  Branch (1568:5): [True: 8, False: 174k]
  ------------------
 1569|     64|    case FE5M2VEC4:
  ------------------
  |  Branch (1569:5): [True: 16, False: 174k]
  ------------------
 1570|     64|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1570:13): [True: 64, False: 0]
  ------------------
 1571|     64|            parseContext.extensionTurnedOn(E_GL_EXT_float_e5m2)) {
  ------------------
  |  Branch (1571:13): [True: 0, False: 0]
  ------------------
 1572|     64|            afterType = true;
 1573|     64|            return keyword;
 1574|     64|        }
 1575|       |
 1576|      0|        return identifierOrType();
 1577|       |
 1578|     24|    case FLOATE4M3_T:
  ------------------
  |  Branch (1578:5): [True: 24, False: 174k]
  ------------------
 1579|     40|    case FE4M3VEC2:
  ------------------
  |  Branch (1579:5): [True: 16, False: 174k]
  ------------------
 1580|     48|    case FE4M3VEC3:
  ------------------
  |  Branch (1580:5): [True: 8, False: 174k]
  ------------------
 1581|     64|    case FE4M3VEC4:
  ------------------
  |  Branch (1581:5): [True: 16, False: 174k]
  ------------------
 1582|     64|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1582:13): [True: 64, False: 0]
  ------------------
 1583|     64|            parseContext.extensionTurnedOn(E_GL_EXT_float_e4m3)) {
  ------------------
  |  Branch (1583:13): [True: 0, False: 0]
  ------------------
 1584|     64|            afterType = true;
 1585|     64|            return keyword;
 1586|     64|        }
 1587|       |
 1588|      0|        return identifierOrType();
 1589|       |
 1590|     10|    case FLOATE2M1_T:
  ------------------
  |  Branch (1590:5): [True: 10, False: 174k]
  ------------------
 1591|     16|    case FE2M1VEC2:
  ------------------
  |  Branch (1591:5): [True: 6, False: 174k]
  ------------------
 1592|     18|    case FE2M1VEC3:
  ------------------
  |  Branch (1592:5): [True: 2, False: 174k]
  ------------------
 1593|     24|    case FE2M1VEC4:
  ------------------
  |  Branch (1593:5): [True: 6, False: 174k]
  ------------------
 1594|     24|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1594:13): [True: 24, False: 0]
  ------------------
 1595|     24|            parseContext.extensionTurnedOn(E_GL_EXT_float_e2m1)) {
  ------------------
  |  Branch (1595:13): [True: 0, False: 0]
  ------------------
 1596|     24|            afterType = true;
 1597|     24|            return keyword;
 1598|     24|        }
 1599|       |
 1600|      0|        return identifierOrType();
 1601|       |
 1602|     10|    case FLOATE3M2_T:
  ------------------
  |  Branch (1602:5): [True: 10, False: 174k]
  ------------------
 1603|     12|    case FE3M2VEC2:
  ------------------
  |  Branch (1603:5): [True: 2, False: 174k]
  ------------------
 1604|     14|    case FE3M2VEC3:
  ------------------
  |  Branch (1604:5): [True: 2, False: 174k]
  ------------------
 1605|     20|    case FE3M2VEC4:
  ------------------
  |  Branch (1605:5): [True: 6, False: 174k]
  ------------------
 1606|     20|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1606:13): [True: 20, False: 0]
  ------------------
 1607|     20|            parseContext.extensionTurnedOn(E_GL_EXT_float_e3m2)) {
  ------------------
  |  Branch (1607:13): [True: 0, False: 0]
  ------------------
 1608|     20|            afterType = true;
 1609|     20|            return keyword;
 1610|     20|        }
 1611|       |
 1612|      0|        return identifierOrType();
 1613|       |
 1614|     10|    case FLOATE2M3_T:
  ------------------
  |  Branch (1614:5): [True: 10, False: 174k]
  ------------------
 1615|     12|    case FE2M3VEC2:
  ------------------
  |  Branch (1615:5): [True: 2, False: 174k]
  ------------------
 1616|     14|    case FE2M3VEC3:
  ------------------
  |  Branch (1616:5): [True: 2, False: 174k]
  ------------------
 1617|     20|    case FE2M3VEC4:
  ------------------
  |  Branch (1617:5): [True: 6, False: 174k]
  ------------------
 1618|     20|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1618:13): [True: 20, False: 0]
  ------------------
 1619|     20|            parseContext.extensionTurnedOn(E_GL_EXT_float_e2m3)) {
  ------------------
  |  Branch (1619:13): [True: 0, False: 0]
  ------------------
 1620|     20|            afterType = true;
 1621|     20|            return keyword;
 1622|     20|        }
 1623|       |
 1624|      0|        return identifierOrType();
 1625|       |
 1626|      8|    case FLOATUE8M0_T:
  ------------------
  |  Branch (1626:5): [True: 8, False: 174k]
  ------------------
 1627|     16|    case FUE8M0VEC2:
  ------------------
  |  Branch (1627:5): [True: 8, False: 174k]
  ------------------
 1628|     24|    case FUE8M0VEC3:
  ------------------
  |  Branch (1628:5): [True: 8, False: 174k]
  ------------------
 1629|     32|    case FUE8M0VEC4:
  ------------------
  |  Branch (1629:5): [True: 8, False: 174k]
  ------------------
 1630|     32|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1630:13): [True: 32, False: 0]
  ------------------
 1631|     32|            parseContext.extensionTurnedOn(E_GL_EXT_float_ue8m0)) {
  ------------------
  |  Branch (1631:13): [True: 0, False: 0]
  ------------------
 1632|     32|            afterType = true;
 1633|     32|            return keyword;
 1634|     32|        }
 1635|       |
 1636|      0|        return identifierOrType();
 1637|       |
 1638|      8|    case FLOATMXINT8_T:
  ------------------
  |  Branch (1638:5): [True: 8, False: 174k]
  ------------------
 1639|     16|    case FMXINT8VEC2:
  ------------------
  |  Branch (1639:5): [True: 8, False: 174k]
  ------------------
 1640|     24|    case FMXINT8VEC3:
  ------------------
  |  Branch (1640:5): [True: 8, False: 174k]
  ------------------
 1641|     32|    case FMXINT8VEC4:
  ------------------
  |  Branch (1641:5): [True: 8, False: 174k]
  ------------------
 1642|     32|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1642:13): [True: 32, False: 0]
  ------------------
 1643|     32|            parseContext.extensionTurnedOn(E_GL_EXT_float_mxint8)) {
  ------------------
  |  Branch (1643:13): [True: 0, False: 0]
  ------------------
 1644|     32|            afterType = true;
 1645|     32|            return keyword;
 1646|     32|        }
 1647|       |
 1648|      0|        return identifierOrType();
 1649|       |
 1650|     92|    case SAMPLERCUBEARRAY:
  ------------------
  |  Branch (1650:5): [True: 92, False: 174k]
  ------------------
 1651|    140|    case SAMPLERCUBEARRAYSHADOW:
  ------------------
  |  Branch (1651:5): [True: 48, False: 174k]
  ------------------
 1652|    232|    case ISAMPLERCUBEARRAY:
  ------------------
  |  Branch (1652:5): [True: 92, False: 174k]
  ------------------
 1653|    324|    case USAMPLERCUBEARRAY:
  ------------------
  |  Branch (1653:5): [True: 92, False: 174k]
  ------------------
 1654|    324|        afterType = true;
 1655|    324|        if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1655:14): [True: 0, False: 324]
  |  Branch (1655:44): [True: 0, False: 0]
  ------------------
 1656|    324|            parseContext.extensionsTurnedOn(Num_AEP_texture_cube_map_array, AEP_texture_cube_map_array))
  ------------------
  |  Branch (1656:13): [True: 0, False: 324]
  ------------------
 1657|      0|            return keyword;
 1658|    324|        if (parseContext.isEsProfile() || (parseContext.version < 400 &&
  ------------------
  |  Branch (1658:13): [True: 0, False: 324]
  |  Branch (1658:44): [True: 0, False: 324]
  ------------------
 1659|      0|            ! parseContext.extensionTurnedOn(E_GL_ARB_texture_cube_map_array)
  ------------------
  |  Branch (1659:13): [True: 0, False: 0]
  ------------------
 1660|      0|            && ! parseContext.extensionsTurnedOn(Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5)))
  ------------------
  |  Branch (1660:16): [True: 0, False: 0]
  ------------------
 1661|      0|            reservedWord();
 1662|    324|        return keyword;
 1663|       |
 1664|      0|    case TEXTURECUBEARRAY:
  ------------------
  |  Branch (1664:5): [True: 0, False: 174k]
  ------------------
 1665|      0|    case ITEXTURECUBEARRAY:
  ------------------
  |  Branch (1665:5): [True: 0, False: 174k]
  ------------------
 1666|      0|    case UTEXTURECUBEARRAY:
  ------------------
  |  Branch (1666:5): [True: 0, False: 174k]
  ------------------
 1667|      0|        if (parseContext.spvVersion.vulkan > 0)
  ------------------
  |  Branch (1667:13): [True: 0, False: 0]
  ------------------
 1668|      0|            return keyword;
 1669|      0|        else
 1670|      0|            return identifierOrType();
 1671|       |
 1672|  7.33k|    case UINT:
  ------------------
  |  Branch (1672:5): [True: 7.33k, False: 167k]
  ------------------
 1673|  7.96k|    case UVEC2:
  ------------------
  |  Branch (1673:5): [True: 628, False: 174k]
  ------------------
 1674|  8.57k|    case UVEC3:
  ------------------
  |  Branch (1674:5): [True: 614, False: 174k]
  ------------------
 1675|  12.3k|    case UVEC4:
  ------------------
  |  Branch (1675:5): [True: 3.72k, False: 171k]
  ------------------
 1676|  12.3k|    case SAMPLERCUBESHADOW:
  ------------------
  |  Branch (1676:5): [True: 62, False: 174k]
  ------------------
 1677|  12.6k|    case SAMPLER2DARRAY:
  ------------------
  |  Branch (1677:5): [True: 246, False: 174k]
  ------------------
 1678|  12.6k|    case SAMPLER2DARRAYSHADOW:
  ------------------
  |  Branch (1678:5): [True: 80, False: 174k]
  ------------------
 1679|  12.9k|    case ISAMPLER2D:
  ------------------
  |  Branch (1679:5): [True: 296, False: 174k]
  ------------------
 1680|  13.1k|    case ISAMPLER3D:
  ------------------
  |  Branch (1680:5): [True: 142, False: 174k]
  ------------------
 1681|  13.2k|    case ISAMPLERCUBE:
  ------------------
  |  Branch (1681:5): [True: 92, False: 174k]
  ------------------
 1682|  13.4k|    case ISAMPLER2DARRAY:
  ------------------
  |  Branch (1682:5): [True: 244, False: 174k]
  ------------------
 1683|  13.7k|    case USAMPLER2D:
  ------------------
  |  Branch (1683:5): [True: 296, False: 174k]
  ------------------
 1684|  13.9k|    case USAMPLER3D:
  ------------------
  |  Branch (1684:5): [True: 142, False: 174k]
  ------------------
 1685|  13.9k|    case USAMPLERCUBE:
  ------------------
  |  Branch (1685:5): [True: 92, False: 174k]
  ------------------
 1686|  14.2k|    case USAMPLER2DARRAY:
  ------------------
  |  Branch (1686:5): [True: 244, False: 174k]
  ------------------
 1687|  14.2k|        afterType = true;
 1688|  14.2k|        if (keyword == SAMPLER2DARRAY || keyword == SAMPLER2DARRAYSHADOW) {
  ------------------
  |  Branch (1688:13): [True: 246, False: 13.9k]
  |  Branch (1688:42): [True: 80, False: 13.9k]
  ------------------
 1689|    326|            if (!parseContext.isEsProfile() &&
  ------------------
  |  Branch (1689:17): [True: 326, False: 0]
  ------------------
 1690|    326|                (parseContext.extensionTurnedOn(E_GL_EXT_texture_array) || parseContext.symbolTable.atBuiltInLevel())) {
  ------------------
  |  Branch (1690:18): [True: 0, False: 326]
  |  Branch (1690:76): [True: 326, False: 0]
  ------------------
 1691|    326|                return keyword;
 1692|    326|            }
 1693|    326|        }
 1694|  13.9k|        return nonreservedKeyword(300, 130);
 1695|       |
 1696|    428|    case SAMPLER3D:
  ------------------
  |  Branch (1696:5): [True: 428, False: 174k]
  ------------------
 1697|    428|        afterType = true;
 1698|    428|        if (parseContext.isEsProfile() && parseContext.version < 300) {
  ------------------
  |  Branch (1698:13): [True: 272, False: 156]
  |  Branch (1698:43): [True: 272, False: 0]
  ------------------
 1699|    272|            if (!parseContext.extensionTurnedOn(E_GL_OES_texture_3D))
  ------------------
  |  Branch (1699:17): [True: 272, False: 0]
  ------------------
 1700|    272|                reservedWord();
 1701|    272|        }
 1702|    428|        return keyword;
 1703|       |
 1704|    272|    case SAMPLER2DSHADOW:
  ------------------
  |  Branch (1704:5): [True: 272, False: 174k]
  ------------------
 1705|    272|        afterType = true;
 1706|    272|        if (parseContext.isEsProfile() && parseContext.version < 300) {
  ------------------
  |  Branch (1706:13): [True: 136, False: 136]
  |  Branch (1706:43): [True: 136, False: 0]
  ------------------
 1707|    136|            if (!parseContext.extensionTurnedOn(E_GL_EXT_shadow_samplers))
  ------------------
  |  Branch (1707:17): [True: 136, False: 0]
  ------------------
 1708|    136|                reservedWord();
 1709|    136|        }
 1710|    272|        return keyword;
 1711|       |
 1712|    172|    case TEXTURE2D:
  ------------------
  |  Branch (1712:5): [True: 172, False: 174k]
  ------------------
 1713|    276|    case TEXTURECUBE:
  ------------------
  |  Branch (1713:5): [True: 104, False: 174k]
  ------------------
 1714|    276|    case TEXTURE2DARRAY:
  ------------------
  |  Branch (1714:5): [True: 0, False: 174k]
  ------------------
 1715|    276|    case ITEXTURE2D:
  ------------------
  |  Branch (1715:5): [True: 0, False: 174k]
  ------------------
 1716|    276|    case ITEXTURE3D:
  ------------------
  |  Branch (1716:5): [True: 0, False: 174k]
  ------------------
 1717|    276|    case ITEXTURECUBE:
  ------------------
  |  Branch (1717:5): [True: 0, False: 174k]
  ------------------
 1718|    276|    case ITEXTURE2DARRAY:
  ------------------
  |  Branch (1718:5): [True: 0, False: 174k]
  ------------------
 1719|    276|    case UTEXTURE2D:
  ------------------
  |  Branch (1719:5): [True: 0, False: 174k]
  ------------------
 1720|    276|    case UTEXTURE3D:
  ------------------
  |  Branch (1720:5): [True: 0, False: 174k]
  ------------------
 1721|    276|    case UTEXTURECUBE:
  ------------------
  |  Branch (1721:5): [True: 0, False: 174k]
  ------------------
 1722|    276|    case UTEXTURE2DARRAY:
  ------------------
  |  Branch (1722:5): [True: 0, False: 174k]
  ------------------
 1723|    380|    case TEXTURE3D:
  ------------------
  |  Branch (1723:5): [True: 104, False: 174k]
  ------------------
 1724|    448|    case SAMPLER:
  ------------------
  |  Branch (1724:5): [True: 68, False: 174k]
  ------------------
 1725|    448|    case SAMPLERSHADOW:
  ------------------
  |  Branch (1725:5): [True: 0, False: 174k]
  ------------------
 1726|    448|        if (parseContext.spvVersion.vulkan > 0)
  ------------------
  |  Branch (1726:13): [True: 0, False: 448]
  ------------------
 1727|      0|            return keyword;
 1728|    448|        else
 1729|    448|            return identifierOrType();
 1730|       |
 1731|    120|    case ISAMPLER1D:
  ------------------
  |  Branch (1731:5): [True: 120, False: 174k]
  ------------------
 1732|    188|    case ISAMPLER1DARRAY:
  ------------------
  |  Branch (1732:5): [True: 68, False: 174k]
  ------------------
 1733|    248|    case SAMPLER1DARRAYSHADOW:
  ------------------
  |  Branch (1733:5): [True: 60, False: 174k]
  ------------------
 1734|    368|    case USAMPLER1D:
  ------------------
  |  Branch (1734:5): [True: 120, False: 174k]
  ------------------
 1735|    436|    case USAMPLER1DARRAY:
  ------------------
  |  Branch (1735:5): [True: 68, False: 174k]
  ------------------
 1736|    436|        afterType = true;
 1737|    436|        if (keyword == SAMPLER1DARRAYSHADOW) {
  ------------------
  |  Branch (1737:13): [True: 60, False: 376]
  ------------------
 1738|     60|            if (!parseContext.isEsProfile() &&
  ------------------
  |  Branch (1738:17): [True: 60, False: 0]
  ------------------
 1739|     60|                (parseContext.extensionTurnedOn(E_GL_EXT_texture_array) || parseContext.symbolTable.atBuiltInLevel())) {
  ------------------
  |  Branch (1739:18): [True: 0, False: 60]
  |  Branch (1739:76): [True: 60, False: 0]
  ------------------
 1740|     60|                return keyword;
 1741|     60|            }
 1742|     60|        }
 1743|    376|        return es30ReservedFromGLSL(130);
 1744|    110|    case ISAMPLER2DRECT:
  ------------------
  |  Branch (1744:5): [True: 110, False: 174k]
  ------------------
 1745|    220|    case USAMPLER2DRECT:
  ------------------
  |  Branch (1745:5): [True: 110, False: 174k]
  ------------------
 1746|    220|        afterType = true;
 1747|    220|        return es30ReservedFromGLSL(140);
 1748|       |
 1749|      4|    case SAMPLERBUFFER:
  ------------------
  |  Branch (1749:5): [True: 4, False: 174k]
  ------------------
 1750|      4|        afterType = true;
 1751|      4|        if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1751:14): [True: 0, False: 4]
  |  Branch (1751:44): [True: 0, False: 0]
  ------------------
 1752|      4|            parseContext.extensionsTurnedOn(Num_AEP_texture_buffer, AEP_texture_buffer))
  ------------------
  |  Branch (1752:13): [True: 0, False: 4]
  ------------------
 1753|      0|            return keyword;
 1754|      4|        return es30ReservedFromGLSL(130);
 1755|       |
 1756|      4|    case ISAMPLERBUFFER:
  ------------------
  |  Branch (1756:5): [True: 4, False: 174k]
  ------------------
 1757|      8|    case USAMPLERBUFFER:
  ------------------
  |  Branch (1757:5): [True: 4, False: 174k]
  ------------------
 1758|      8|        afterType = true;
 1759|      8|        if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1759:14): [True: 0, False: 8]
  |  Branch (1759:44): [True: 0, False: 0]
  ------------------
 1760|      8|            parseContext.extensionsTurnedOn(Num_AEP_texture_buffer, AEP_texture_buffer))
  ------------------
  |  Branch (1760:13): [True: 0, False: 8]
  ------------------
 1761|      0|            return keyword;
 1762|      8|        return es30ReservedFromGLSL(140);
 1763|       |
 1764|     12|    case SAMPLER2DMS:
  ------------------
  |  Branch (1764:5): [True: 12, False: 174k]
  ------------------
 1765|     24|    case ISAMPLER2DMS:
  ------------------
  |  Branch (1765:5): [True: 12, False: 174k]
  ------------------
 1766|     36|    case USAMPLER2DMS:
  ------------------
  |  Branch (1766:5): [True: 12, False: 174k]
  ------------------
 1767|     36|        afterType = true;
 1768|     36|        if (parseContext.isEsProfile() && parseContext.version >= 310)
  ------------------
  |  Branch (1768:13): [True: 0, False: 36]
  |  Branch (1768:43): [True: 0, False: 0]
  ------------------
 1769|      0|            return keyword;
 1770|     36|        if (!parseContext.isEsProfile() && (parseContext.version > 140 ||
  ------------------
  |  Branch (1770:13): [True: 36, False: 0]
  |  Branch (1770:45): [True: 36, False: 0]
  ------------------
 1771|      0|            (parseContext.version == 140 && parseContext.extensionsTurnedOn(1, &E_GL_ARB_texture_multisample))))
  ------------------
  |  Branch (1771:14): [True: 0, False: 0]
  |  Branch (1771:45): [True: 0, False: 0]
  ------------------
 1772|     36|            return keyword;
 1773|      0|        return es30ReservedFromGLSL(150);
 1774|       |
 1775|     12|    case SAMPLER2DMSARRAY:
  ------------------
  |  Branch (1775:5): [True: 12, False: 174k]
  ------------------
 1776|     24|    case ISAMPLER2DMSARRAY:
  ------------------
  |  Branch (1776:5): [True: 12, False: 174k]
  ------------------
 1777|     36|    case USAMPLER2DMSARRAY:
  ------------------
  |  Branch (1777:5): [True: 12, False: 174k]
  ------------------
 1778|     36|        afterType = true;
 1779|     36|        if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1779:14): [True: 0, False: 36]
  |  Branch (1779:44): [True: 0, False: 0]
  ------------------
 1780|     36|            parseContext.extensionsTurnedOn(1, &E_GL_OES_texture_storage_multisample_2d_array))
  ------------------
  |  Branch (1780:13): [True: 0, False: 36]
  ------------------
 1781|      0|            return keyword;
 1782|     36|        if (!parseContext.isEsProfile() && (parseContext.version > 140 ||
  ------------------
  |  Branch (1782:13): [True: 36, False: 0]
  |  Branch (1782:45): [True: 36, False: 0]
  ------------------
 1783|      0|            (parseContext.version == 140 && parseContext.extensionsTurnedOn(1, &E_GL_ARB_texture_multisample))))
  ------------------
  |  Branch (1783:14): [True: 0, False: 0]
  |  Branch (1783:45): [True: 0, False: 0]
  ------------------
 1784|     36|            return keyword;
 1785|      0|        return es30ReservedFromGLSL(150);
 1786|       |
 1787|    126|    case SAMPLER1D:
  ------------------
  |  Branch (1787:5): [True: 126, False: 174k]
  ------------------
 1788|    210|    case SAMPLER1DSHADOW:
  ------------------
  |  Branch (1788:5): [True: 84, False: 174k]
  ------------------
 1789|    210|        afterType = true;
 1790|    210|        if (parseContext.isEsProfile())
  ------------------
  |  Branch (1790:13): [True: 0, False: 210]
  ------------------
 1791|      0|            reservedWord();
 1792|    210|        return keyword;
 1793|       |
 1794|    110|    case SAMPLER2DRECT:
  ------------------
  |  Branch (1794:5): [True: 110, False: 174k]
  ------------------
 1795|    172|    case SAMPLER2DRECTSHADOW:
  ------------------
  |  Branch (1795:5): [True: 62, False: 174k]
  ------------------
 1796|    172|        afterType = true;
 1797|    172|        if (parseContext.isEsProfile())
  ------------------
  |  Branch (1797:13): [True: 0, False: 172]
  ------------------
 1798|      0|            reservedWord();
 1799|    172|        else if (parseContext.version < 140 && ! parseContext.symbolTable.atBuiltInLevel() && ! parseContext.extensionTurnedOn(E_GL_ARB_texture_rectangle)) {
  ------------------
  |  Branch (1799:18): [True: 0, False: 172]
  |  Branch (1799:48): [True: 0, False: 0]
  |  Branch (1799:95): [True: 0, False: 0]
  ------------------
 1800|      0|            if (parseContext.relaxedErrors())
  ------------------
  |  Branch (1800:17): [True: 0, False: 0]
  ------------------
 1801|      0|                parseContext.requireExtensions(loc, 1, &E_GL_ARB_texture_rectangle, "texture-rectangle sampler keyword");
 1802|      0|            else
 1803|      0|                reservedWord();
 1804|      0|        }
 1805|    172|        return keyword;
 1806|       |
 1807|     70|    case SAMPLER1DARRAY:
  ------------------
  |  Branch (1807:5): [True: 70, False: 174k]
  ------------------
 1808|     70|        afterType = true;
 1809|     70|        if (parseContext.isEsProfile() && parseContext.version == 300)
  ------------------
  |  Branch (1809:13): [True: 0, False: 70]
  |  Branch (1809:43): [True: 0, False: 0]
  ------------------
 1810|      0|            reservedWord();
 1811|     70|        else if ((parseContext.isEsProfile() && parseContext.version < 300) ||
  ------------------
  |  Branch (1811:19): [True: 0, False: 70]
  |  Branch (1811:49): [True: 0, False: 0]
  ------------------
 1812|     70|                 ((!parseContext.isEsProfile() && parseContext.version < 130) &&
  ------------------
  |  Branch (1812:20): [True: 70, False: 0]
  |  Branch (1812:51): [True: 0, False: 70]
  ------------------
 1813|      0|                   !parseContext.symbolTable.atBuiltInLevel() &&
  ------------------
  |  Branch (1813:20): [True: 0, False: 0]
  ------------------
 1814|      0|                   !parseContext.extensionTurnedOn(E_GL_EXT_texture_array)))
  ------------------
  |  Branch (1814:20): [True: 0, False: 0]
  ------------------
 1815|      0|            return identifierOrType();
 1816|     70|        return keyword;
 1817|       |
 1818|    204|    case SAMPLEREXTERNALOES:
  ------------------
  |  Branch (1818:5): [True: 204, False: 174k]
  ------------------
 1819|    204|        afterType = true;
 1820|    204|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1820:13): [True: 204, False: 0]
  ------------------
 1821|      0|            parseContext.extensionTurnedOn(E_GL_OES_EGL_image_external) ||
  ------------------
  |  Branch (1821:13): [True: 0, False: 0]
  ------------------
 1822|      0|            parseContext.extensionTurnedOn(E_GL_OES_EGL_image_external_essl3))
  ------------------
  |  Branch (1822:13): [True: 0, False: 0]
  ------------------
 1823|    204|            return keyword;
 1824|      0|        return identifierOrType();
 1825|       |
 1826|    544|    case SAMPLEREXTERNAL2DY2YEXT:
  ------------------
  |  Branch (1826:5): [True: 544, False: 174k]
  ------------------
 1827|    544|        afterType = true;
 1828|    544|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1828:13): [True: 544, False: 0]
  ------------------
 1829|      0|            parseContext.extensionTurnedOn(E_GL_EXT_YUV_target))
  ------------------
  |  Branch (1829:13): [True: 0, False: 0]
  ------------------
 1830|    544|            return keyword;
 1831|      0|        return identifierOrType();
 1832|       |
 1833|      0|    case ITEXTURE1DARRAY:
  ------------------
  |  Branch (1833:5): [True: 0, False: 174k]
  ------------------
 1834|      0|    case UTEXTURE1D:
  ------------------
  |  Branch (1834:5): [True: 0, False: 174k]
  ------------------
 1835|      0|    case ITEXTURE1D:
  ------------------
  |  Branch (1835:5): [True: 0, False: 174k]
  ------------------
 1836|      0|    case UTEXTURE1DARRAY:
  ------------------
  |  Branch (1836:5): [True: 0, False: 174k]
  ------------------
 1837|      0|    case TEXTUREBUFFER:
  ------------------
  |  Branch (1837:5): [True: 0, False: 174k]
  ------------------
 1838|      0|    case ITEXTURE2DRECT:
  ------------------
  |  Branch (1838:5): [True: 0, False: 174k]
  ------------------
 1839|      0|    case UTEXTURE2DRECT:
  ------------------
  |  Branch (1839:5): [True: 0, False: 174k]
  ------------------
 1840|      0|    case ITEXTUREBUFFER:
  ------------------
  |  Branch (1840:5): [True: 0, False: 174k]
  ------------------
 1841|      0|    case UTEXTUREBUFFER:
  ------------------
  |  Branch (1841:5): [True: 0, False: 174k]
  ------------------
 1842|      0|    case TEXTURE2DMS:
  ------------------
  |  Branch (1842:5): [True: 0, False: 174k]
  ------------------
 1843|      0|    case ITEXTURE2DMS:
  ------------------
  |  Branch (1843:5): [True: 0, False: 174k]
  ------------------
 1844|      0|    case UTEXTURE2DMS:
  ------------------
  |  Branch (1844:5): [True: 0, False: 174k]
  ------------------
 1845|      0|    case TEXTURE2DMSARRAY:
  ------------------
  |  Branch (1845:5): [True: 0, False: 174k]
  ------------------
 1846|      0|    case ITEXTURE2DMSARRAY:
  ------------------
  |  Branch (1846:5): [True: 0, False: 174k]
  ------------------
 1847|      0|    case UTEXTURE2DMSARRAY:
  ------------------
  |  Branch (1847:5): [True: 0, False: 174k]
  ------------------
 1848|      2|    case TEXTURE1D:
  ------------------
  |  Branch (1848:5): [True: 2, False: 174k]
  ------------------
 1849|      2|    case TEXTURE2DRECT:
  ------------------
  |  Branch (1849:5): [True: 0, False: 174k]
  ------------------
 1850|      2|    case TEXTURE1DARRAY:
  ------------------
  |  Branch (1850:5): [True: 0, False: 174k]
  ------------------
 1851|      2|        if (parseContext.spvVersion.vulkan > 0)
  ------------------
  |  Branch (1851:13): [True: 0, False: 2]
  ------------------
 1852|      0|            return keyword;
 1853|      2|        else
 1854|      2|            return identifierOrType();
 1855|       |
 1856|      0|    case SUBPASSINPUT:
  ------------------
  |  Branch (1856:5): [True: 0, False: 174k]
  ------------------
 1857|      0|    case SUBPASSINPUTMS:
  ------------------
  |  Branch (1857:5): [True: 0, False: 174k]
  ------------------
 1858|      0|    case ISUBPASSINPUT:
  ------------------
  |  Branch (1858:5): [True: 0, False: 174k]
  ------------------
 1859|      0|    case ISUBPASSINPUTMS:
  ------------------
  |  Branch (1859:5): [True: 0, False: 174k]
  ------------------
 1860|      0|    case USUBPASSINPUT:
  ------------------
  |  Branch (1860:5): [True: 0, False: 174k]
  ------------------
 1861|      0|    case USUBPASSINPUTMS:
  ------------------
  |  Branch (1861:5): [True: 0, False: 174k]
  ------------------
 1862|      0|    case ATTACHMENTEXT:
  ------------------
  |  Branch (1862:5): [True: 0, False: 174k]
  ------------------
 1863|      0|    case IATTACHMENTEXT:
  ------------------
  |  Branch (1863:5): [True: 0, False: 174k]
  ------------------
 1864|      0|    case UATTACHMENTEXT:
  ------------------
  |  Branch (1864:5): [True: 0, False: 174k]
  ------------------
 1865|      0|        if (parseContext.spvVersion.vulkan > 0)
  ------------------
  |  Branch (1865:13): [True: 0, False: 0]
  ------------------
 1866|      0|            return keyword;
 1867|      0|        else
 1868|      0|            return identifierOrType();
 1869|       |
 1870|    224|    case F16SAMPLER1D:
  ------------------
  |  Branch (1870:5): [True: 224, False: 174k]
  ------------------
 1871|    736|    case F16SAMPLER2D:
  ------------------
  |  Branch (1871:5): [True: 512, False: 174k]
  ------------------
 1872|  1.00k|    case F16SAMPLER3D:
  ------------------
  |  Branch (1872:5): [True: 268, False: 174k]
  ------------------
 1873|  1.22k|    case F16SAMPLER2DRECT:
  ------------------
  |  Branch (1873:5): [True: 218, False: 174k]
  ------------------
 1874|  1.39k|    case F16SAMPLERCUBE:
  ------------------
  |  Branch (1874:5): [True: 168, False: 174k]
  ------------------
 1875|  1.51k|    case F16SAMPLER1DARRAY:
  ------------------
  |  Branch (1875:5): [True: 120, False: 174k]
  ------------------
 1876|  1.91k|    case F16SAMPLER2DARRAY:
  ------------------
  |  Branch (1876:5): [True: 408, False: 174k]
  ------------------
 1877|  2.08k|    case F16SAMPLERCUBEARRAY:
  ------------------
  |  Branch (1877:5): [True: 168, False: 174k]
  ------------------
 1878|  2.09k|    case F16SAMPLERBUFFER:
  ------------------
  |  Branch (1878:5): [True: 6, False: 174k]
  ------------------
 1879|  2.10k|    case F16SAMPLER2DMS:
  ------------------
  |  Branch (1879:5): [True: 12, False: 174k]
  ------------------
 1880|  2.11k|    case F16SAMPLER2DMSARRAY:
  ------------------
  |  Branch (1880:5): [True: 12, False: 174k]
  ------------------
 1881|  2.26k|    case F16SAMPLER1DSHADOW:
  ------------------
  |  Branch (1881:5): [True: 144, False: 174k]
  ------------------
 1882|  2.50k|    case F16SAMPLER2DSHADOW:
  ------------------
  |  Branch (1882:5): [True: 248, False: 174k]
  ------------------
 1883|  2.61k|    case F16SAMPLER1DARRAYSHADOW:
  ------------------
  |  Branch (1883:5): [True: 104, False: 174k]
  ------------------
 1884|  2.74k|    case F16SAMPLER2DARRAYSHADOW:
  ------------------
  |  Branch (1884:5): [True: 128, False: 174k]
  ------------------
 1885|  2.86k|    case F16SAMPLER2DRECTSHADOW:
  ------------------
  |  Branch (1885:5): [True: 122, False: 174k]
  ------------------
 1886|  2.96k|    case F16SAMPLERCUBESHADOW:
  ------------------
  |  Branch (1886:5): [True: 104, False: 174k]
  ------------------
 1887|  3.03k|    case F16SAMPLERCUBEARRAYSHADOW:
  ------------------
  |  Branch (1887:5): [True: 72, False: 174k]
  ------------------
 1888|       |
 1889|  3.08k|    case F16IMAGE1D:
  ------------------
  |  Branch (1889:5): [True: 46, False: 174k]
  ------------------
 1890|  3.13k|    case F16IMAGE2D:
  ------------------
  |  Branch (1890:5): [True: 50, False: 174k]
  ------------------
 1891|  3.18k|    case F16IMAGE3D:
  ------------------
  |  Branch (1891:5): [True: 50, False: 174k]
  ------------------
 1892|  3.22k|    case F16IMAGE2DRECT:
  ------------------
  |  Branch (1892:5): [True: 44, False: 174k]
  ------------------
 1893|  3.27k|    case F16IMAGECUBE:
  ------------------
  |  Branch (1893:5): [True: 50, False: 174k]
  ------------------
 1894|  3.32k|    case F16IMAGE1DARRAY:
  ------------------
  |  Branch (1894:5): [True: 46, False: 174k]
  ------------------
 1895|  3.37k|    case F16IMAGE2DARRAY:
  ------------------
  |  Branch (1895:5): [True: 50, False: 174k]
  ------------------
 1896|  3.42k|    case F16IMAGECUBEARRAY:
  ------------------
  |  Branch (1896:5): [True: 50, False: 174k]
  ------------------
 1897|  3.46k|    case F16IMAGEBUFFER:
  ------------------
  |  Branch (1897:5): [True: 42, False: 174k]
  ------------------
 1898|  3.51k|    case F16IMAGE2DMS:
  ------------------
  |  Branch (1898:5): [True: 46, False: 174k]
  ------------------
 1899|  3.55k|    case F16IMAGE2DMSARRAY:
  ------------------
  |  Branch (1899:5): [True: 46, False: 174k]
  ------------------
 1900|       |
 1901|  3.55k|    case F16TEXTURE1D:
  ------------------
  |  Branch (1901:5): [True: 0, False: 174k]
  ------------------
 1902|  3.55k|    case F16TEXTURE2D:
  ------------------
  |  Branch (1902:5): [True: 0, False: 174k]
  ------------------
 1903|  3.55k|    case F16TEXTURE3D:
  ------------------
  |  Branch (1903:5): [True: 0, False: 174k]
  ------------------
 1904|  3.55k|    case F16TEXTURE2DRECT:
  ------------------
  |  Branch (1904:5): [True: 0, False: 174k]
  ------------------
 1905|  3.55k|    case F16TEXTURECUBE:
  ------------------
  |  Branch (1905:5): [True: 0, False: 174k]
  ------------------
 1906|  3.55k|    case F16TEXTURE1DARRAY:
  ------------------
  |  Branch (1906:5): [True: 0, False: 174k]
  ------------------
 1907|  3.55k|    case F16TEXTURE2DARRAY:
  ------------------
  |  Branch (1907:5): [True: 0, False: 174k]
  ------------------
 1908|  3.55k|    case F16TEXTURECUBEARRAY:
  ------------------
  |  Branch (1908:5): [True: 0, False: 174k]
  ------------------
 1909|  3.55k|    case F16TEXTUREBUFFER:
  ------------------
  |  Branch (1909:5): [True: 0, False: 174k]
  ------------------
 1910|  3.55k|    case F16TEXTURE2DMS:
  ------------------
  |  Branch (1910:5): [True: 0, False: 174k]
  ------------------
 1911|  3.55k|    case F16TEXTURE2DMSARRAY:
  ------------------
  |  Branch (1911:5): [True: 0, False: 174k]
  ------------------
 1912|       |
 1913|  3.55k|    case F16SUBPASSINPUT:
  ------------------
  |  Branch (1913:5): [True: 0, False: 174k]
  ------------------
 1914|  3.55k|    case F16SUBPASSINPUTMS:
  ------------------
  |  Branch (1914:5): [True: 0, False: 174k]
  ------------------
 1915|  3.55k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1915:13): [True: 3.55k, False: 0]
  ------------------
 1916|  3.55k|            parseContext.extensionTurnedOn(E_GL_AMD_gpu_shader_half_float_fetch)) {
  ------------------
  |  Branch (1916:13): [True: 0, False: 0]
  ------------------
 1917|  3.55k|            afterType = true;
 1918|  3.55k|            return keyword;
 1919|  3.55k|        }
 1920|      0|        return identifierOrType();
 1921|       |
 1922|      0|    case EXPLICITINTERPAMD:
  ------------------
  |  Branch (1922:5): [True: 0, False: 174k]
  ------------------
 1923|      0|        if (parseContext.extensionTurnedOn(E_GL_AMD_shader_explicit_vertex_parameter))
  ------------------
  |  Branch (1923:13): [True: 0, False: 0]
  ------------------
 1924|      0|            return keyword;
 1925|      0|        return identifierOrType();
 1926|       |
 1927|      0|    case PERVERTEXNV:
  ------------------
  |  Branch (1927:5): [True: 0, False: 174k]
  ------------------
 1928|      0|        if ((!parseContext.isEsProfile() && parseContext.version >= 450) ||
  ------------------
  |  Branch (1928:14): [True: 0, False: 0]
  |  Branch (1928:45): [True: 0, False: 0]
  ------------------
 1929|      0|            parseContext.extensionTurnedOn(E_GL_NV_fragment_shader_barycentric))
  ------------------
  |  Branch (1929:13): [True: 0, False: 0]
  ------------------
 1930|      0|            return keyword;
 1931|      0|        return identifierOrType();
 1932|       |
 1933|      0|    case PERVERTEXEXT:
  ------------------
  |  Branch (1933:5): [True: 0, False: 174k]
  ------------------
 1934|      0|        if ((!parseContext.isEsProfile() && parseContext.version >= 450) ||
  ------------------
  |  Branch (1934:14): [True: 0, False: 0]
  |  Branch (1934:45): [True: 0, False: 0]
  ------------------
 1935|      0|            parseContext.extensionTurnedOn(E_GL_EXT_fragment_shader_barycentric))
  ------------------
  |  Branch (1935:13): [True: 0, False: 0]
  ------------------
 1936|      0|            return keyword;
 1937|      0|        return identifierOrType();
 1938|       |
 1939|      0|    case PRECISE:
  ------------------
  |  Branch (1939:5): [True: 0, False: 174k]
  ------------------
 1940|      0|        if ((parseContext.isEsProfile() &&
  ------------------
  |  Branch (1940:14): [True: 0, False: 0]
  ------------------
 1941|      0|             (parseContext.version >= 320 || parseContext.extensionsTurnedOn(Num_AEP_gpu_shader5, AEP_gpu_shader5))) ||
  ------------------
  |  Branch (1941:15): [True: 0, False: 0]
  |  Branch (1941:46): [True: 0, False: 0]
  ------------------
 1942|      0|            (!parseContext.isEsProfile() &&
  ------------------
  |  Branch (1942:14): [True: 0, False: 0]
  ------------------
 1943|      0|             (parseContext.version >= 400 
  ------------------
  |  Branch (1943:15): [True: 0, False: 0]
  ------------------
 1944|      0|             || parseContext.extensionsTurnedOn(Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5))))
  ------------------
  |  Branch (1944:17): [True: 0, False: 0]
  ------------------
 1945|      0|            return keyword;
 1946|      0|        if (parseContext.isEsProfile() && parseContext.version == 310) {
  ------------------
  |  Branch (1946:13): [True: 0, False: 0]
  |  Branch (1946:43): [True: 0, False: 0]
  ------------------
 1947|      0|            reservedWord();
 1948|      0|            return keyword;
 1949|      0|        }
 1950|      0|        return identifierOrType();
 1951|       |
 1952|      2|    case PERPRIMITIVENV:
  ------------------
  |  Branch (1952:5): [True: 2, False: 174k]
  ------------------
 1953|     12|    case PERVIEWNV:
  ------------------
  |  Branch (1953:5): [True: 10, False: 174k]
  ------------------
 1954|     12|    case PERTASKNV:
  ------------------
  |  Branch (1954:5): [True: 0, False: 174k]
  ------------------
 1955|     12|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1955:13): [True: 12, False: 0]
  ------------------
 1956|      0|            parseContext.extensionTurnedOn(E_GL_NV_mesh_shader))
  ------------------
  |  Branch (1956:13): [True: 0, False: 0]
  ------------------
 1957|     12|            return keyword;
 1958|      0|        return identifierOrType();
 1959|       |
 1960|      2|    case PERPRIMITIVEEXT:
  ------------------
  |  Branch (1960:5): [True: 2, False: 174k]
  ------------------
 1961|      2|    case TASKPAYLOADWORKGROUPEXT:
  ------------------
  |  Branch (1961:5): [True: 0, False: 174k]
  ------------------
 1962|      2|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1962:13): [True: 2, False: 0]
  ------------------
 1963|      0|            parseContext.extensionTurnedOn(E_GL_EXT_mesh_shader))
  ------------------
  |  Branch (1963:13): [True: 0, False: 0]
  ------------------
 1964|      2|            return keyword;
 1965|      0|        return identifierOrType();
 1966|       |
 1967|     42|    case FCOOPMATNV:
  ------------------
  |  Branch (1967:5): [True: 42, False: 174k]
  ------------------
 1968|     42|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1968:13): [True: 42, False: 0]
  ------------------
 1969|     42|            parseContext.extensionTurnedOn(E_GL_NV_cooperative_matrix)) {
  ------------------
  |  Branch (1969:13): [True: 0, False: 0]
  ------------------
 1970|     42|            afterType = true;
 1971|     42|            return keyword;
 1972|     42|        }
 1973|      0|        return identifierOrType();
 1974|       |
 1975|     56|    case UCOOPMATNV:
  ------------------
  |  Branch (1975:5): [True: 56, False: 174k]
  ------------------
 1976|    112|    case ICOOPMATNV:
  ------------------
  |  Branch (1976:5): [True: 56, False: 174k]
  ------------------
 1977|    112|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1977:13): [True: 112, False: 0]
  ------------------
 1978|    112|            parseContext.extensionTurnedOn(E_GL_NV_integer_cooperative_matrix)) {
  ------------------
  |  Branch (1978:13): [True: 0, False: 0]
  ------------------
 1979|    112|            afterType = true;
 1980|    112|            return keyword;
 1981|    112|        }
 1982|      0|        return identifierOrType();
 1983|    122|    case TENSORARM:
  ------------------
  |  Branch (1983:5): [True: 122, False: 174k]
  ------------------
 1984|    122|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1984:13): [True: 122, False: 0]
  ------------------
 1985|    122|            parseContext.extensionTurnedOn(E_GL_ARM_tensors)) {
  ------------------
  |  Branch (1985:13): [True: 0, False: 0]
  ------------------
 1986|    122|            afterType = true;
 1987|    122|            return keyword;
 1988|    122|        }
 1989|      0|        return identifierOrType();
 1990|       |
 1991|    434|    case COOPMAT:
  ------------------
  |  Branch (1991:5): [True: 434, False: 174k]
  ------------------
 1992|    434|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1992:13): [True: 434, False: 0]
  ------------------
 1993|    434|            parseContext.extensionTurnedOn(E_GL_KHR_cooperative_matrix)) {
  ------------------
  |  Branch (1993:13): [True: 0, False: 0]
  ------------------
 1994|    434|            afterType = true;
 1995|    434|            return keyword;
 1996|    434|        }
 1997|      0|        return identifierOrType();
 1998|       |
 1999|  1.59k|    case COOPVECNV:
  ------------------
  |  Branch (1999:5): [True: 1.59k, False: 173k]
  ------------------
 2000|  1.59k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (2000:13): [True: 1.59k, False: 0]
  ------------------
 2001|  1.59k|            parseContext.extensionTurnedOn(E_GL_NV_cooperative_vector)) {
  ------------------
  |  Branch (2001:13): [True: 0, False: 0]
  ------------------
 2002|  1.59k|            afterType = true;
 2003|  1.59k|            return keyword;
 2004|  1.59k|        }
 2005|      0|        return identifierOrType();
 2006|       |
 2007|  1.24k|    case VECTOR:
  ------------------
  |  Branch (2007:5): [True: 1.24k, False: 173k]
  ------------------
 2008|  1.24k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (2008:13): [True: 1.24k, False: 0]
  ------------------
 2009|  1.24k|            parseContext.extensionTurnedOn(E_GL_EXT_long_vector)) {
  ------------------
  |  Branch (2009:13): [True: 0, False: 0]
  ------------------
 2010|  1.24k|            afterType = true;
 2011|  1.24k|            return keyword;
 2012|  1.24k|        }
 2013|      0|        return identifierOrType();
 2014|       |
 2015|      0|    case DEMOTE:
  ------------------
  |  Branch (2015:5): [True: 0, False: 174k]
  ------------------
 2016|      0|        if (parseContext.extensionTurnedOn(E_GL_EXT_demote_to_helper_invocation))
  ------------------
  |  Branch (2016:13): [True: 0, False: 0]
  ------------------
 2017|      0|            return keyword;
 2018|      0|        else
 2019|      0|            return identifierOrType();
 2020|       |
 2021|      0|    case SPIRV_INSTRUCTION:
  ------------------
  |  Branch (2021:5): [True: 0, False: 174k]
  ------------------
 2022|      0|    case SPIRV_EXECUTION_MODE:
  ------------------
  |  Branch (2022:5): [True: 0, False: 174k]
  ------------------
 2023|      0|    case SPIRV_EXECUTION_MODE_ID:
  ------------------
  |  Branch (2023:5): [True: 0, False: 174k]
  ------------------
 2024|      0|    case SPIRV_DECORATE:
  ------------------
  |  Branch (2024:5): [True: 0, False: 174k]
  ------------------
 2025|      0|    case SPIRV_DECORATE_ID:
  ------------------
  |  Branch (2025:5): [True: 0, False: 174k]
  ------------------
 2026|      0|    case SPIRV_DECORATE_STRING:
  ------------------
  |  Branch (2026:5): [True: 0, False: 174k]
  ------------------
 2027|      0|    case SPIRV_TYPE:
  ------------------
  |  Branch (2027:5): [True: 0, False: 174k]
  ------------------
 2028|      0|    case SPIRV_STORAGE_CLASS:
  ------------------
  |  Branch (2028:5): [True: 0, False: 174k]
  ------------------
 2029|      0|    case SPIRV_BY_REFERENCE:
  ------------------
  |  Branch (2029:5): [True: 0, False: 174k]
  ------------------
 2030|      0|    case SPIRV_LITERAL:
  ------------------
  |  Branch (2030:5): [True: 0, False: 174k]
  ------------------
 2031|      0|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (2031:13): [True: 0, False: 0]
  ------------------
 2032|      0|            parseContext.extensionTurnedOn(E_GL_EXT_spirv_intrinsics))
  ------------------
  |  Branch (2032:13): [True: 0, False: 0]
  ------------------
 2033|      0|            return keyword;
 2034|      0|        return identifierOrType();
 2035|       |
 2036|      0|    case HITOBJECTNV:
  ------------------
  |  Branch (2036:5): [True: 0, False: 174k]
  ------------------
 2037|      0|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (2037:13): [True: 0, False: 0]
  ------------------
 2038|      0|            (!parseContext.isEsProfile() && parseContext.version >= 460
  ------------------
  |  Branch (2038:14): [True: 0, False: 0]
  |  Branch (2038:45): [True: 0, False: 0]
  ------------------
 2039|      0|                 && parseContext.extensionTurnedOn(E_GL_NV_shader_invocation_reorder)))
  ------------------
  |  Branch (2039:21): [True: 0, False: 0]
  ------------------
 2040|      0|            return keyword;
 2041|      0|        return identifierOrType();
 2042|       |
 2043|      0|    case HITOBJECTEXT:
  ------------------
  |  Branch (2043:5): [True: 0, False: 174k]
  ------------------
 2044|      0|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (2044:13): [True: 0, False: 0]
  ------------------
 2045|      0|            (!parseContext.isEsProfile() && parseContext.version >= 460
  ------------------
  |  Branch (2045:14): [True: 0, False: 0]
  |  Branch (2045:45): [True: 0, False: 0]
  ------------------
 2046|      0|                 && parseContext.extensionTurnedOn(E_GL_EXT_shader_invocation_reorder)))
  ------------------
  |  Branch (2046:21): [True: 0, False: 0]
  ------------------
 2047|      0|            return keyword;
 2048|      0|        return identifierOrType();
 2049|       |
 2050|      0|    case HITOBJECTATTRNV:
  ------------------
  |  Branch (2050:5): [True: 0, False: 174k]
  ------------------
 2051|      0|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (2051:13): [True: 0, False: 0]
  ------------------
 2052|      0|            (!parseContext.isEsProfile() && parseContext.version >= 460
  ------------------
  |  Branch (2052:14): [True: 0, False: 0]
  |  Branch (2052:45): [True: 0, False: 0]
  ------------------
 2053|      0|                 && parseContext.extensionTurnedOn(E_GL_NV_shader_invocation_reorder)))
  ------------------
  |  Branch (2053:21): [True: 0, False: 0]
  ------------------
 2054|      0|            return keyword;
 2055|      0|        return identifierOrType();
 2056|       |
 2057|      0|    case HITOBJECTATTREXT:
  ------------------
  |  Branch (2057:5): [True: 0, False: 174k]
  ------------------
 2058|      0|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (2058:13): [True: 0, False: 0]
  ------------------
 2059|      0|            (!parseContext.isEsProfile() && parseContext.version >= 460
  ------------------
  |  Branch (2059:14): [True: 0, False: 0]
  |  Branch (2059:45): [True: 0, False: 0]
  ------------------
 2060|      0|                 && parseContext.extensionTurnedOn(E_GL_EXT_shader_invocation_reorder)))
  ------------------
  |  Branch (2060:21): [True: 0, False: 0]
  ------------------
 2061|      0|            return keyword;
 2062|      0|        return identifierOrType();
 2063|       |
 2064|     28|    case FUNCTION:
  ------------------
  |  Branch (2064:5): [True: 28, False: 174k]
  ------------------
 2065|    148|    case TENSORLAYOUTNV:
  ------------------
  |  Branch (2065:5): [True: 120, False: 174k]
  ------------------
 2066|    222|    case TENSORVIEWNV:
  ------------------
  |  Branch (2066:5): [True: 74, False: 174k]
  ------------------
 2067|    222|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (2067:13): [True: 222, False: 0]
  ------------------
 2068|    222|            parseContext.extensionTurnedOn(E_GL_NV_cooperative_matrix2)) {
  ------------------
  |  Branch (2068:13): [True: 0, False: 0]
  ------------------
 2069|    222|            afterType = true;
 2070|    222|            return keyword;
 2071|    222|        }
 2072|      0|        return identifierOrType();
 2073|       |
 2074|      0|    case RESOURCEHEAP:
  ------------------
  |  Branch (2074:5): [True: 0, False: 174k]
  ------------------
 2075|      0|    case SAMPLERHEAP:
  ------------------
  |  Branch (2075:5): [True: 0, False: 174k]
  ------------------
 2076|      0|        if (parseContext.extensionTurnedOn(E_GL_EXT_structured_descriptor_heap) &&
  ------------------
  |  Branch (2076:13): [True: 0, False: 0]
  ------------------
 2077|      0|            parseContext.extensionTurnedOn(E_GL_EXT_descriptor_heap))
  ------------------
  |  Branch (2077:13): [True: 0, False: 0]
  ------------------
 2078|      0|            return keyword;
 2079|      0|        return identifierOrType();
 2080|       |
 2081|      0|    case INLINE:
  ------------------
  |  Branch (2081:5): [True: 0, False: 174k]
  ------------------
 2082|      0|    case NOINLINE:
  ------------------
  |  Branch (2082:5): [True: 0, False: 174k]
  ------------------
 2083|      0|        if (!parseContext.extensionTurnedOn(E_GL_EXT_function_control_attributes))
  ------------------
  |  Branch (2083:13): [True: 0, False: 0]
  ------------------
 2084|      0|            return reservedWord();
 2085|      0|        return keyword;
 2086|       |
 2087|      0|    default:
  ------------------
  |  Branch (2087:5): [True: 0, False: 174k]
  ------------------
 2088|      0|        parseContext.infoSink.info.message(EPrefixInternalError, "Unknown glslang keyword", loc);
 2089|      0|        return 0;
 2090|   174k|    }
 2091|   174k|}
_ZN7glslang12TScanContext16identifierOrTypeEv:
 2094|  61.7k|{
 2095|  61.7k|    parserToken->sType.lex.string = NewPoolTString(tokenText);
 2096|  61.7k|    if (field)
  ------------------
  |  Branch (2096:9): [True: 0, False: 61.7k]
  ------------------
 2097|      0|        return IDENTIFIER;
 2098|       |
 2099|       |    // If we see an identifier right after a type, this might be a declarator.
 2100|       |    // But not in template parameters (inside angle brackets), array expressions (inside square brackets),
 2101|       |    // or function parameters (inside parentheses)
 2102|  61.7k|    if (afterType && angleBracketDepth == 0 && squareBracketDepth == 0 && parenDepth == 0) {
  ------------------
  |  Branch (2102:9): [True: 61.5k, False: 225]
  |  Branch (2102:22): [True: 61.5k, False: 0]
  |  Branch (2102:48): [True: 61.5k, False: 0]
  |  Branch (2102:75): [True: 44.6k, False: 16.8k]
  ------------------
 2103|  44.6k|        afterDeclarator = true;
 2104|  44.6k|        afterType = false;
 2105|  44.6k|        return IDENTIFIER;
 2106|  44.6k|    }
 2107|       |
 2108|  17.0k|    parserToken->sType.lex.symbol = parseContext.symbolTable.find(*parserToken->sType.lex.string);
 2109|  17.0k|    if ((afterType == false && afterStruct == false) && parserToken->sType.lex.symbol != nullptr) {
  ------------------
  |  Branch (2109:10): [True: 225, False: 16.8k]
  |  Branch (2109:32): [True: 151, False: 74]
  |  Branch (2109:57): [True: 96, False: 55]
  ------------------
 2110|     96|        if (const TVariable* variable = parserToken->sType.lex.symbol->getAsVariable()) {
  ------------------
  |  Branch (2110:30): [True: 96, False: 0]
  ------------------
 2111|     96|            if (variable->isUserType() &&
  ------------------
  |  Branch (2111:17): [True: 94, False: 2]
  ------------------
 2112|       |                // treat redeclaration of forward-declared buffer/uniform reference as an identifier
 2113|     94|                !(variable->getType().isReference() && afterBuffer)) {
  ------------------
  |  Branch (2113:19): [True: 0, False: 94]
  |  Branch (2113:56): [True: 0, False: 0]
  ------------------
 2114|       |
 2115|       |                // If we're in a declarator list (like "float a, B;"), treat struct names as IDENTIFIER
 2116|       |                // to fix GitHub issue #3931
 2117|     94|                if (inDeclaratorList) {
  ------------------
  |  Branch (2117:21): [True: 0, False: 94]
  ------------------
 2118|      0|                    return IDENTIFIER;
 2119|      0|                }
 2120|       |                
 2121|     94|                afterType = true;
 2122|     94|                return TYPE_NAME;
 2123|     94|            }
 2124|     96|        }
 2125|     96|    }
 2126|       |
 2127|  16.9k|    return IDENTIFIER;
 2128|  17.0k|}
_ZN7glslang12TScanContext12reservedWordEv:
 2134|    408|{
 2135|    408|    if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (2135:9): [True: 0, False: 408]
  ------------------
 2136|      0|        parseContext.error(loc, "Reserved word.", tokenText, "", "");
 2137|       |
 2138|    408|    return 0;
 2139|    408|}
_ZN7glslang12TScanContext20es30ReservedFromGLSLEi:
 2158|  5.93k|{
 2159|  5.93k|    if (parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (2159:9): [True: 5.93k, False: 0]
  ------------------
 2160|  5.93k|        return keyword;
 2161|       |
 2162|      0|    if ((parseContext.isEsProfile() && parseContext.version < 300) ||
  ------------------
  |  Branch (2162:10): [True: 0, False: 0]
  |  Branch (2162:40): [True: 0, False: 0]
  ------------------
 2163|      0|        (!parseContext.isEsProfile() && parseContext.version < version)) {
  ------------------
  |  Branch (2163:10): [True: 0, False: 0]
  |  Branch (2163:41): [True: 0, False: 0]
  ------------------
 2164|      0|            if (parseContext.isForwardCompatible())
  ------------------
  |  Branch (2164:17): [True: 0, False: 0]
  ------------------
 2165|      0|                parseContext.warn(loc, "future reserved word in ES 300 and keyword in GLSL", tokenText, "");
 2166|       |
 2167|      0|            return identifierOrType();
 2168|      0|    } else if (parseContext.isEsProfile() && parseContext.version >= 300)
  ------------------
  |  Branch (2168:16): [True: 0, False: 0]
  |  Branch (2168:46): [True: 0, False: 0]
  ------------------
 2169|      0|        reservedWord();
 2170|       |
 2171|      0|    return keyword;
 2172|      0|}
_ZN7glslang12TScanContext18nonreservedKeywordEii:
 2177|  13.9k|{
 2178|  13.9k|    if ((parseContext.isEsProfile() && parseContext.version < esVersion) ||
  ------------------
  |  Branch (2178:10): [True: 0, False: 13.9k]
  |  Branch (2178:40): [True: 0, False: 0]
  ------------------
 2179|  13.9k|        (!parseContext.isEsProfile() && parseContext.version < nonEsVersion)) {
  ------------------
  |  Branch (2179:10): [True: 13.9k, False: 0]
  |  Branch (2179:41): [True: 0, False: 13.9k]
  ------------------
 2180|      0|        if (parseContext.isForwardCompatible())
  ------------------
  |  Branch (2180:13): [True: 0, False: 0]
  ------------------
 2181|      0|            parseContext.warn(loc, "using future keyword", tokenText, "");
 2182|       |
 2183|      0|        return identifierOrType();
 2184|      0|    }
 2185|       |
 2186|  13.9k|    return keyword;
 2187|  13.9k|}
_ZN7glslang12TScanContext16precisionKeywordEv:
 2190|  4.93k|{
 2191|  4.93k|    if (parseContext.isEsProfile() || parseContext.version >= 130)
  ------------------
  |  Branch (2191:9): [True: 816, False: 4.11k]
  |  Branch (2191:39): [True: 4.11k, False: 0]
  ------------------
 2192|  4.93k|        return keyword;
 2193|       |
 2194|      0|    if (parseContext.isForwardCompatible())
  ------------------
  |  Branch (2194:9): [True: 0, False: 0]
  ------------------
 2195|      0|        parseContext.warn(loc, "using ES precision qualifier keyword", tokenText, "");
 2196|       |
 2197|      0|    return identifierOrType();
 2198|  4.93k|}
_ZN7glslang12TScanContext6matNxMEv:
 2201|     72|{
 2202|     72|    afterType = true;
 2203|       |
 2204|     72|    if (parseContext.version > 110)
  ------------------
  |  Branch (2204:9): [True: 72, False: 0]
  ------------------
 2205|     72|        return keyword;
 2206|       |
 2207|      0|    if (parseContext.isForwardCompatible())
  ------------------
  |  Branch (2207:9): [True: 0, False: 0]
  ------------------
 2208|      0|        parseContext.warn(loc, "using future non-square matrix type keyword", tokenText, "");
 2209|       |
 2210|      0|    return identifierOrType();
 2211|     72|}
_ZN7glslang12TScanContext4dMatEv:
 2214|    126|{
 2215|    126|    afterType = true;
 2216|       |
 2217|    126|    if (parseContext.isEsProfile() && parseContext.version >= 300) {
  ------------------
  |  Branch (2217:9): [True: 0, False: 126]
  |  Branch (2217:39): [True: 0, False: 0]
  ------------------
 2218|      0|        reservedWord();
 2219|       |
 2220|      0|        return keyword;
 2221|      0|    }
 2222|       |
 2223|    126|    if (!parseContext.isEsProfile() && (parseContext.version >= 400 ||
  ------------------
  |  Branch (2223:9): [True: 126, False: 0]
  |  Branch (2223:41): [True: 126, False: 0]
  ------------------
 2224|      0|        parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (2224:9): [True: 0, False: 0]
  ------------------
 2225|      0|        (parseContext.version >= 150 && parseContext.extensionTurnedOn(E_GL_ARB_gpu_shader_fp64)) ||
  ------------------
  |  Branch (2225:10): [True: 0, False: 0]
  |  Branch (2225:41): [True: 0, False: 0]
  ------------------
 2226|      0|        (parseContext.version >= 150 && parseContext.extensionTurnedOn(E_GL_ARB_vertex_attrib_64bit)
  ------------------
  |  Branch (2226:10): [True: 0, False: 0]
  |  Branch (2226:41): [True: 0, False: 0]
  ------------------
 2227|      0|         && parseContext.language == EShLangVertex)))
  ------------------
  |  Branch (2227:13): [True: 0, False: 0]
  ------------------
 2228|    126|        return keyword;
 2229|       |
 2230|      0|    if (parseContext.isForwardCompatible())
  ------------------
  |  Branch (2230:9): [True: 0, False: 0]
  ------------------
 2231|      0|        parseContext.warn(loc, "using future type keyword", tokenText, "");
 2232|       |
 2233|      0|    return identifierOrType();
 2234|    126|}
_ZN7glslang12TScanContext20firstGenerationImageEb:
 2237|  1.89k|{
 2238|  1.89k|    if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (2238:9): [True: 1.89k, False: 0]
  ------------------
 2239|      0|        (!parseContext.isEsProfile() && (parseContext.version >= 420 ||
  ------------------
  |  Branch (2239:10): [True: 0, False: 0]
  |  Branch (2239:42): [True: 0, False: 0]
  ------------------
 2240|      0|         parseContext.extensionTurnedOn(E_GL_ARB_shader_image_load_store))) ||
  ------------------
  |  Branch (2240:10): [True: 0, False: 0]
  ------------------
 2241|      0|        (inEs310 && parseContext.isEsProfile() && parseContext.version >= 310))
  ------------------
  |  Branch (2241:10): [True: 0, False: 0]
  |  Branch (2241:21): [True: 0, False: 0]
  |  Branch (2241:51): [True: 0, False: 0]
  ------------------
 2242|  1.89k|        return keyword;
 2243|       |
 2244|      0|    if ((parseContext.isEsProfile() && parseContext.version >= 300) ||
  ------------------
  |  Branch (2244:10): [True: 0, False: 0]
  |  Branch (2244:40): [True: 0, False: 0]
  ------------------
 2245|      0|        (!parseContext.isEsProfile() && parseContext.version >= 130)) {
  ------------------
  |  Branch (2245:10): [True: 0, False: 0]
  |  Branch (2245:41): [True: 0, False: 0]
  ------------------
 2246|      0|        reservedWord();
 2247|       |
 2248|      0|        return keyword;
 2249|      0|    }
 2250|       |
 2251|      0|    if (parseContext.isForwardCompatible())
  ------------------
  |  Branch (2251:9): [True: 0, False: 0]
  ------------------
 2252|      0|        parseContext.warn(loc, "using future type keyword", tokenText, "");
 2253|       |
 2254|      0|    return identifierOrType();
 2255|      0|}
_ZN7glslang12TScanContext21secondGenerationImageEv:
 2258|    710|{
 2259|    710|    if (parseContext.isEsProfile() && parseContext.version >= 310) {
  ------------------
  |  Branch (2259:9): [True: 0, False: 710]
  |  Branch (2259:39): [True: 0, False: 0]
  ------------------
 2260|      0|        reservedWord();
 2261|      0|        return keyword;
 2262|      0|    }
 2263|       |
 2264|    710|    if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (2264:9): [True: 710, False: 0]
  ------------------
 2265|      0|        (!parseContext.isEsProfile() &&
  ------------------
  |  Branch (2265:10): [True: 0, False: 0]
  ------------------
 2266|      0|         (parseContext.version >= 420 || parseContext.extensionTurnedOn(E_GL_ARB_shader_image_load_store))))
  ------------------
  |  Branch (2266:11): [True: 0, False: 0]
  |  Branch (2266:42): [True: 0, False: 0]
  ------------------
 2267|    710|        return keyword;
 2268|       |
 2269|      0|    if (parseContext.isForwardCompatible())
  ------------------
  |  Branch (2269:9): [True: 0, False: 0]
  ------------------
 2270|      0|        parseContext.warn(loc, "using future type keyword", tokenText, "");
 2271|       |
 2272|      0|    return identifierOrType();
 2273|    710|}
_ZN7glslang12TParserTokenC2ER7YYSTYPE:
  282|   438k|    explicit TParserToken(YYSTYPE& b) : sType(b) { }
Scan.cpp:_ZNK12_GLOBAL__N_18str_hashclEPKc:
  313|   473k|    {
  314|       |        // djb2
  315|   473k|        unsigned long hash = 5381;
  316|   473k|        int c;
  317|       |
  318|  3.91M|        while ((c = *str++) != 0)
  ------------------
  |  Branch (318:16): [True: 3.43M, False: 473k]
  ------------------
  319|  3.43M|            hash = ((hash << 5) + hash) + c;
  320|       |
  321|   473k|        return hash;
  322|   473k|    }
Scan.cpp:_ZNK12_GLOBAL__N_16str_eqclEPKcS2_:
  305|   174k|    {
  306|   174k|        return strcmp(lhs, rhs) == 0;
  307|   174k|    }

ShInitialize:
 1361|     58|{
 1362|     58|#ifndef DISABLE_THREAD_SUPPORT
 1363|     58|    const std::lock_guard<std::mutex> lock(init_lock);
 1364|     58|#endif
 1365|     58|    ++NumberOfClients;
 1366|       |
 1367|     58|    if (PerProcessGPA == nullptr)
  ------------------
  |  Branch (1367:9): [True: 58, False: 0]
  ------------------
 1368|     58|        PerProcessGPA = new TPoolAllocator();
 1369|       |
 1370|     58|    return 1;
 1371|     58|}
ShFinalize:
 1418|     58|{
 1419|     58|#ifndef DISABLE_THREAD_SUPPORT
 1420|     58|    const std::lock_guard<std::mutex> lock(init_lock);
 1421|     58|#endif
 1422|     58|    --NumberOfClients;
 1423|     58|    assert(NumberOfClients >= 0);
 1424|     58|    if (NumberOfClients > 0)
  ------------------
  |  Branch (1424:9): [True: 0, False: 58]
  ------------------
 1425|      0|        return 1;
 1426|       |
 1427|  1.04k|    for (int version = 0; version < VersionCount; ++version) {
  ------------------
  |  Branch (1427:27): [True: 986, False: 58]
  ------------------
 1428|  4.93k|        for (int spvVersion = 0; spvVersion < SpvVersionCount; ++spvVersion) {
  ------------------
  |  Branch (1428:34): [True: 3.94k, False: 986]
  ------------------
 1429|  19.7k|            for (int p = 0; p < ProfileCount; ++p) {
  ------------------
  |  Branch (1429:29): [True: 15.7k, False: 3.94k]
  ------------------
 1430|  47.3k|                for (int source = 0; source < SourceCount; ++source) {
  ------------------
  |  Branch (1430:38): [True: 31.5k, False: 15.7k]
  ------------------
 1431|   473k|                    for (int stage = 0; stage < EShLangCount; ++stage) {
  ------------------
  |  Branch (1431:41): [True: 441k, False: 31.5k]
  ------------------
 1432|   441k|                        delete SharedSymbolTables[version][spvVersion][p][source][stage];
 1433|   441k|                        SharedSymbolTables[version][spvVersion][p][source][stage] = nullptr;
 1434|   441k|                    }
 1435|  31.5k|                }
 1436|  15.7k|            }
 1437|  3.94k|        }
 1438|    986|    }
 1439|       |
 1440|  1.04k|    for (int version = 0; version < VersionCount; ++version) {
  ------------------
  |  Branch (1440:27): [True: 986, False: 58]
  ------------------
 1441|  4.93k|        for (int spvVersion = 0; spvVersion < SpvVersionCount; ++spvVersion) {
  ------------------
  |  Branch (1441:34): [True: 3.94k, False: 986]
  ------------------
 1442|  19.7k|            for (int p = 0; p < ProfileCount; ++p) {
  ------------------
  |  Branch (1442:29): [True: 15.7k, False: 3.94k]
  ------------------
 1443|  47.3k|                for (int source = 0; source < SourceCount; ++source) {
  ------------------
  |  Branch (1443:38): [True: 31.5k, False: 15.7k]
  ------------------
 1444|  94.6k|                    for (int pc = 0; pc < EPcCount; ++pc) {
  ------------------
  |  Branch (1444:38): [True: 63.1k, False: 31.5k]
  ------------------
 1445|  63.1k|                        delete CommonSymbolTable[version][spvVersion][p][source][pc];
 1446|  63.1k|                        CommonSymbolTable[version][spvVersion][p][source][pc] = nullptr;
 1447|  63.1k|                    }
 1448|  31.5k|                }
 1449|  15.7k|            }
 1450|  3.94k|        }
 1451|    986|    }
 1452|       |
 1453|     58|    if (PerProcessGPA != nullptr) {
  ------------------
  |  Branch (1453:9): [True: 58, False: 0]
  ------------------
 1454|     58|        delete PerProcessGPA;
 1455|     58|        PerProcessGPA = nullptr;
 1456|     58|    }
 1457|       |
 1458|     58|    return 1;
 1459|     58|}
_ZN7glslang17InitializeProcessEv:
 1747|     58|{
 1748|     58|    return ShInitialize() != 0;
 1749|     58|}
_ZN7glslang15FinalizeProcessEv:
 1752|     58|{
 1753|     58|    ShFinalize();
 1754|     58|}
_ZN7glslang7TShaderC2E11EShLanguage:
 1767|     58|    : stage(s), lengths(nullptr), stringNames(nullptr), preamble(""), overrideVersion(0)
 1768|     58|{
 1769|     58|    pool = new TPoolAllocator;
 1770|     58|    infoSink = new TInfoSink;
 1771|     58|    compiler = new TDeferredCompiler(stage, *infoSink);
 1772|     58|    intermediate = new TIntermediate(s);
 1773|       |
 1774|       |    // clear environment (avoid constructors in them for use in a C interface)
 1775|     58|    environment.input.languageFamily = EShSourceNone;
 1776|     58|    environment.input.dialect = EShClientNone;
 1777|     58|    environment.input.vulkanRulesRelaxed = false;
 1778|     58|    environment.client.client = EShClientNone;
 1779|     58|    environment.target.language = EShTargetNone;
 1780|     58|    environment.target.hlslFunctionality1 = false;
 1781|     58|}
_ZN7glslang7TShaderD2Ev:
 1784|     58|{
 1785|     58|    delete infoSink;
 1786|     58|    delete compiler;
 1787|     58|    delete intermediate;
 1788|     58|    delete pool;
 1789|     58|}
_ZN7glslang7TShader21setStringsWithLengthsEPKPKcPKii:
 1799|     58|{
 1800|     58|    strings = s;
 1801|     58|    numStrings = n;
 1802|     58|    lengths = l;
 1803|     58|}
_ZN7glslang7TShader13setEntryPointEPKc:
 1815|     58|{
 1816|     58|    intermediate->setEntryPointName(entryPoint);
 1817|     58|}
_ZN7glslang7TShader5parseEPK16TBuiltInResourcei8EProfilebb11EShMessagesRNS0_8IncluderE:
 1916|     58|{
 1917|     58|    SetThreadPoolAllocator(pool);
 1918|       |
 1919|     58|    if (! preamble)
  ------------------
  |  Branch (1919:9): [True: 0, False: 58]
  ------------------
 1920|      0|        preamble = "";
 1921|       |
 1922|     58|    return CompileDeferred(compiler, strings, numStrings, lengths, stringNames,
 1923|     58|                           preamble, EShOptNone, builtInResources, defaultVersion,
 1924|     58|                           defaultProfile, forceDefaultVersionAndProfile, overrideVersion,
 1925|     58|                           forwardCompatible, messages, *intermediate, includer, sourceEntryPointName,
 1926|     58|                           &environment, compileOnly);
 1927|     58|}
ShaderLang.cpp:_ZN12_GLOBAL__N_115CompileDeferredEP9TCompilerPKPKciPKiS5_S3_20EShOptimizationLevelPK16TBuiltInResourcei8EProfilebib11EShMessagesRN7glslang13TIntermediateERNSE_7TShader8IncluderENSt3__112basic_stringIcNSK_11char_traitsIcEENSK_9allocatorIcEEEEPNSE_12TEnvironmentEb:
 1346|     58|{
 1347|     58|    DoFullParse parser;
 1348|     58|    return ProcessDeferred(compiler, shaderStrings, numStrings, inputLengths, stringNames,
 1349|     58|                           preamble, optLevel, resources, defaultVersion,
 1350|     58|                           defaultProfile, forceDefaultVersionAndProfile, overrideVersion,
 1351|     58|                           forwardCompatible, messages, intermediate, parser,
 1352|     58|                           true, includer, sourceEntryPointName, environment, compileOnly);
 1353|     58|}
ShaderLang.cpp:_ZN12_GLOBAL__N_115ProcessDeferredINS_11DoFullParseEEEbP9TCompilerPKPKciPKiS7_S5_20EShOptimizationLevelPK16TBuiltInResourcei8EProfilebib11EShMessagesRN7glslang13TIntermediateERT_bRNSG_7TShader8IncluderENSt3__112basic_stringIcNSO_11char_traitsIcEENSO_9allocatorIcEEEEPKNSG_12TEnvironmentEb:
  822|     58|{
  823|       |    // This must be undone (.pop()) by the caller, after it finishes consuming the created tree.
  824|     58|    GetThreadPoolAllocator().push();
  825|       |
  826|     58|    if (numStrings == 0)
  ------------------
  |  Branch (826:9): [True: 0, False: 58]
  ------------------
  827|      0|        return true;
  828|       |
  829|       |    // Move to length-based strings, rather than null-terminated strings.
  830|       |    // Also, add strings to include the preamble and to ensure the shader is not null,
  831|       |    // which lets the grammar accept what was a null (post preprocessing) shader.
  832|       |    //
  833|       |    // Shader will look like
  834|       |    //   string 0:                system preamble
  835|       |    //   string 1:                custom preamble
  836|       |    //   string 2...numStrings+1: user's shader
  837|       |    //   string numStrings+2:     "int;"
  838|     58|    const int numPre = 2;
  839|     58|    const int numPost = requireNonempty? 1 : 0;
  ------------------
  |  Branch (839:25): [True: 58, False: 0]
  ------------------
  840|     58|    const int numTotal = numPre + numStrings + numPost;
  841|     58|    std::unique_ptr<size_t[]> lengths(new size_t[numTotal]);
  842|     58|    std::unique_ptr<const char*[]> strings(new const char*[numTotal]);
  843|     58|    std::unique_ptr<const char*[]> names(new const char*[numTotal]);
  844|    116|    for (int s = 0; s < numStrings; ++s) {
  ------------------
  |  Branch (844:21): [True: 58, False: 58]
  ------------------
  845|     58|        strings[s + numPre] = shaderStrings[s];
  846|     58|        if (inputLengths == nullptr || inputLengths[s] < 0)
  ------------------
  |  Branch (846:13): [True: 0, False: 58]
  |  Branch (846:40): [True: 0, False: 58]
  ------------------
  847|      0|            lengths[s + numPre] = strlen(shaderStrings[s]);
  848|     58|        else
  849|     58|            lengths[s + numPre] = inputLengths[s];
  850|     58|    }
  851|     58|    if (stringNames != nullptr) {
  ------------------
  |  Branch (851:9): [True: 0, False: 58]
  ------------------
  852|      0|        for (int s = 0; s < numStrings; ++s)
  ------------------
  |  Branch (852:25): [True: 0, False: 0]
  ------------------
  853|      0|            names[s + numPre] = stringNames[s];
  854|     58|    } else {
  855|    116|        for (int s = 0; s < numStrings; ++s)
  ------------------
  |  Branch (855:25): [True: 58, False: 58]
  ------------------
  856|     58|            names[s + numPre] = nullptr;
  857|     58|    }
  858|       |
  859|       |    // Get all the stages, languages, clients, and other environment
  860|       |    // stuff sorted out.
  861|     58|    EShSource sourceGuess = (messages & EShMsgReadHlsl) != 0 ? EShSourceHlsl : EShSourceGlsl;
  ------------------
  |  Branch (861:29): [True: 22, False: 36]
  ------------------
  862|     58|    SpvVersion spvVersion;
  863|     58|    EShLanguage stage = compiler->getLanguage();
  864|     58|    TranslateEnvironment(environment, messages, sourceGuess, stage, spvVersion);
  865|     58|#ifdef ENABLE_HLSL
  866|     58|    EShSource source = sourceGuess;
  867|     58|    if (environment != nullptr && environment->target.hlslFunctionality1)
  ------------------
  |  Branch (867:9): [True: 58, False: 0]
  |  Branch (867:35): [True: 0, False: 58]
  ------------------
  868|      0|        intermediate.setHlslFunctionality1();
  869|       |#else
  870|       |    const EShSource source = EShSourceGlsl;
  871|       |#endif
  872|       |    // First, without using the preprocessor or parser, find the #version, so we know what
  873|       |    // symbol tables, processing rules, etc. to set up.  This does not need the extra strings
  874|       |    // outlined above, just the user shader, after the system and user preambles.
  875|     58|    glslang::TInputScanner userInput(numStrings, &strings[numPre], &lengths[numPre]);
  876|     58|    int version = 0;
  877|     58|    EProfile profile = ENoProfile;
  878|     58|    bool versionNotFirstToken = false;
  879|     58|    bool versionNotFirst = (source == EShSourceHlsl)
  ------------------
  |  Branch (879:28): [True: 22, False: 36]
  ------------------
  880|     58|                                ? true
  881|     58|                                : userInput.scanVersion(version, profile, versionNotFirstToken);
  882|     58|    bool versionNotFound = version == 0;
  883|     58|    if (forceDefaultVersionAndProfile && source == EShSourceGlsl) {
  ------------------
  |  Branch (883:9): [True: 0, False: 58]
  |  Branch (883:42): [True: 0, False: 0]
  ------------------
  884|      0|        if (! (messages & EShMsgSuppressWarnings) && ! versionNotFound &&
  ------------------
  |  Branch (884:13): [True: 0, False: 0]
  |  Branch (884:54): [True: 0, False: 0]
  ------------------
  885|      0|            (version != defaultVersion || profile != defaultProfile)) {
  ------------------
  |  Branch (885:14): [True: 0, False: 0]
  |  Branch (885:43): [True: 0, False: 0]
  ------------------
  886|      0|            compiler->infoSink.info << "Warning, (version, profile) forced to be ("
  887|      0|                                    << defaultVersion << ", " << ProfileName(defaultProfile)
  888|      0|                                    << "), while in source code it is ("
  889|      0|                                    << version << ", " << ProfileName(profile) << ")\n";
  890|      0|        }
  891|       |
  892|      0|        if (versionNotFound) {
  ------------------
  |  Branch (892:13): [True: 0, False: 0]
  ------------------
  893|      0|            versionNotFirstToken = false;
  894|      0|            versionNotFirst = false;
  895|      0|            versionNotFound = false;
  896|      0|        }
  897|      0|        version = defaultVersion;
  898|      0|        profile = defaultProfile;
  899|      0|    }
  900|     58|    if (source == EShSourceGlsl && overrideVersion != 0) {
  ------------------
  |  Branch (900:9): [True: 36, False: 22]
  |  Branch (900:36): [True: 0, False: 36]
  ------------------
  901|      0|        version = overrideVersion;
  902|      0|    }
  903|       |
  904|     58|    bool goodVersion = DeduceVersionProfile(compiler->infoSink, stage,
  905|     58|                                            versionNotFirst, defaultVersion, source, version, profile, spvVersion);
  906|     58|    bool versionWillBeError = (versionNotFound || (profile == EEsProfile && version >= 300 && versionNotFirst));
  ------------------
  |  Branch (906:32): [True: 56, False: 2]
  |  Branch (906:52): [True: 0, False: 2]
  |  Branch (906:77): [True: 0, False: 0]
  |  Branch (906:95): [True: 0, False: 0]
  ------------------
  907|     58|    bool warnVersionNotFirst = false;
  908|     58|    if (! versionWillBeError && versionNotFirstToken) {
  ------------------
  |  Branch (908:9): [True: 2, False: 56]
  |  Branch (908:33): [True: 2, False: 0]
  ------------------
  909|      2|        if (messages & EShMsgRelaxedErrors)
  ------------------
  |  Branch (909:13): [True: 1, False: 1]
  ------------------
  910|      1|            warnVersionNotFirst = true;
  911|      1|        else
  912|      1|            versionWillBeError = true;
  913|      2|    }
  914|       |
  915|     58|    intermediate.setSource(source);
  916|     58|    intermediate.setVersion(version);
  917|     58|    intermediate.setProfile(profile);
  918|     58|    intermediate.setSpv(spvVersion);
  919|     58|    RecordProcesses(intermediate, messages, sourceEntryPointName);
  920|     58|    if (spvVersion.vulkan > 0)
  ------------------
  |  Branch (920:9): [True: 10, False: 48]
  ------------------
  921|     10|        intermediate.setOriginUpperLeft();
  922|     58|#ifdef ENABLE_HLSL
  923|     58|    if ((messages & EShMsgHlslOffsets) || source == EShSourceHlsl)
  ------------------
  |  Branch (923:9): [True: 15, False: 43]
  |  Branch (923:43): [True: 7, False: 36]
  ------------------
  924|     22|        intermediate.setHlslOffsets();
  925|     58|#endif
  926|     58|    if (messages & EShMsgDebugInfo) {
  ------------------
  |  Branch (926:9): [True: 7, False: 51]
  ------------------
  927|      7|        intermediate.setSourceFile(names[numPre]);
  928|     14|        for (int s = 0; s < numStrings; ++s) {
  ------------------
  |  Branch (928:25): [True: 7, False: 7]
  ------------------
  929|       |            // The string may not be null-terminated, so make sure we provide
  930|       |            // the length along with the string.
  931|      7|            intermediate.addSourceText(strings[numPre + s], lengths[numPre + s]);
  932|      7|        }
  933|      7|    }
  934|     58|    if (!SetupBuiltinSymbolTable(version, profile, spvVersion, source)) {
  ------------------
  |  Branch (934:9): [True: 0, False: 58]
  ------------------
  935|      0|        return false;
  936|      0|    }
  937|       |
  938|     58|    TSymbolTable* cachedTable = SharedSymbolTables[MapVersionToIndex(version)]
  939|     58|                                                  [MapSpvVersionToIndex(spvVersion)]
  940|     58|                                                  [MapProfileToIndex(profile)]
  941|     58|                                                  [MapSourceToIndex(source)]
  942|     58|                                                  [stage];
  943|       |
  944|       |    // Dynamically allocate the symbol table so we can control when it is deallocated WRT the pool.
  945|     58|    std::unique_ptr<TSymbolTable> symbolTable(new TSymbolTable);
  946|     58|    if (cachedTable)
  ------------------
  |  Branch (946:9): [True: 58, False: 0]
  ------------------
  947|     58|        symbolTable->adoptLevels(*cachedTable);
  948|       |
  949|     58|    if (intermediate.getUniqueId() != 0)
  ------------------
  |  Branch (949:9): [True: 0, False: 58]
  ------------------
  950|      0|        symbolTable->overwriteUniqueId(intermediate.getUniqueId());
  951|       |
  952|       |    // Add built-in symbols that are potentially context dependent;
  953|       |    // they get popped again further down.
  954|     58|    if (! AddContextSpecificSymbols(resources, compiler->infoSink, *symbolTable, version, profile, spvVersion,
  ------------------
  |  Branch (954:9): [True: 0, False: 58]
  ------------------
  955|     58|                                    stage, source)) {
  956|      0|        return false;
  957|      0|    }
  958|       |
  959|     58|    if (messages & EShMsgBuiltinSymbolTable)
  ------------------
  |  Branch (959:9): [True: 15, False: 43]
  ------------------
  960|     15|        DumpBuiltinSymbolTable(compiler->infoSink, *symbolTable);
  961|       |
  962|       |    //
  963|       |    // Now we can process the full shader under proper symbols and rules.
  964|       |    //
  965|       |
  966|     58|    std::unique_ptr<TParseContextBase> parseContext(CreateParseContext(*symbolTable, intermediate, version, profile, source,
  967|     58|                                                    stage, compiler->infoSink,
  968|     58|                                                    spvVersion, forwardCompatible, messages, false, sourceEntryPointName));
  969|     58|    parseContext->compileOnly = compileOnly;
  970|     58|    TPpContext ppContext(*parseContext, names[numPre] ? names[numPre] : "", includer);
  ------------------
  |  Branch (970:41): [True: 0, False: 58]
  ------------------
  971|       |
  972|       |    // only GLSL (bison triggered, really) needs an externally set scan context
  973|     58|    glslang::TScanContext scanContext(*parseContext);
  974|     58|    if (source == EShSourceGlsl)
  ------------------
  |  Branch (974:9): [True: 36, False: 22]
  ------------------
  975|     36|        parseContext->setScanContext(&scanContext);
  976|       |
  977|     58|    parseContext->setPpContext(&ppContext);
  978|     58|    parseContext->setLimits(*resources);
  979|     58|    if (! goodVersion)
  ------------------
  |  Branch (979:9): [True: 2, False: 56]
  ------------------
  980|      2|        parseContext->addError();
  981|     58|    if (warnVersionNotFirst) {
  ------------------
  |  Branch (981:9): [True: 1, False: 57]
  ------------------
  982|      1|        TSourceLoc loc;
  983|      1|        loc.init();
  984|      1|        parseContext->warn(loc, "Illegal to have non-comment, non-whitespace tokens before #version", "#version", "");
  985|      1|    }
  986|       |
  987|     58|    parseContext->initializeExtensionBehavior();
  988|       |
  989|       |    // Fill in the strings as outlined above.
  990|     58|    std::string preamble;
  991|     58|    parseContext->getPreamble(preamble);
  992|     58|    strings[0] = preamble.c_str();
  993|     58|    lengths[0] = strlen(strings[0]);
  994|     58|    names[0] = nullptr;
  995|     58|    strings[1] = customPreamble;
  996|     58|    lengths[1] = strlen(strings[1]);
  997|     58|    names[1] = nullptr;
  998|     58|    assert(2 == numPre);
  999|     58|    if (requireNonempty) {
  ------------------
  |  Branch (999:9): [True: 58, False: 0]
  ------------------
 1000|     58|        const int postIndex = numStrings + numPre;
 1001|     58|        strings[postIndex] = "\n int;";
 1002|     58|        lengths[postIndex] = strlen(strings[numStrings + numPre]);
 1003|     58|        names[postIndex] = nullptr;
 1004|     58|    }
 1005|     58|    TInputScanner fullInput(numStrings + numPre + numPost, strings.get(), lengths.get(), names.get(), numPre, numPost);
 1006|       |
 1007|       |    // Push a new symbol allocation scope that will get used for the shader's globals.
 1008|     58|    symbolTable->push();
 1009|       |
 1010|     58|    bool success = processingContext(*parseContext, ppContext, fullInput,
 1011|     58|                                     versionWillBeError, *symbolTable,
 1012|     58|                                     intermediate, optLevel, messages);
 1013|     58|    intermediate.setUniqueId(symbolTable->getMaxSymbolId());
 1014|     58|    return success;
 1015|     58|}
ShaderLang.cpp:_ZN12_GLOBAL__N_120TranslateEnvironmentEPKN7glslang12TEnvironmentER11EShMessagesRNS0_9EShSourceER11EShLanguageRNS0_10SpvVersionE:
  702|     58|{
  703|       |    // Set up environmental defaults, first ignoring 'environment'.
  704|     58|    if (messages & EShMsgSpvRules)
  ------------------
  |  Branch (704:9): [True: 0, False: 58]
  ------------------
  705|      0|        spvVersion.spv = EShTargetSpv_1_0;
  706|     58|    if (messages & EShMsgVulkanRules) {
  ------------------
  |  Branch (706:9): [True: 10, False: 48]
  ------------------
  707|     10|        spvVersion.vulkan = EShTargetVulkan_1_0;
  708|     10|        spvVersion.vulkanGlsl = 100;
  709|     48|    } else if (spvVersion.spv != 0)
  ------------------
  |  Branch (709:16): [True: 0, False: 48]
  ------------------
  710|      0|        spvVersion.openGl = 100;
  711|       |
  712|       |    // Now, override, based on any content set in 'environment'.
  713|       |    // 'environment' must be cleared to ESh*None settings when items
  714|       |    // are not being set.
  715|     58|    if (environment != nullptr) {
  ------------------
  |  Branch (715:9): [True: 58, False: 0]
  ------------------
  716|       |        // input language
  717|     58|        if (environment->input.languageFamily != EShSourceNone) {
  ------------------
  |  Branch (717:13): [True: 0, False: 58]
  ------------------
  718|      0|            stage = environment->input.stage;
  719|      0|            switch (environment->input.dialect) {
  ------------------
  |  Branch (719:21): [True: 0, False: 0]
  ------------------
  720|      0|            case EShClientNone:
  ------------------
  |  Branch (720:13): [True: 0, False: 0]
  ------------------
  721|      0|                break;
  722|      0|            case EShClientVulkan:
  ------------------
  |  Branch (722:13): [True: 0, False: 0]
  ------------------
  723|      0|                spvVersion.vulkanGlsl = environment->input.dialectVersion;
  724|      0|                spvVersion.vulkanRelaxed = environment->input.vulkanRulesRelaxed;
  725|      0|                break;
  726|      0|            case EShClientOpenGL:
  ------------------
  |  Branch (726:13): [True: 0, False: 0]
  ------------------
  727|      0|                spvVersion.openGl = environment->input.dialectVersion;
  728|      0|                break;
  729|      0|            case EShClientCount:
  ------------------
  |  Branch (729:13): [True: 0, False: 0]
  ------------------
  730|      0|                assert(0);
  731|      0|                break;
  732|      0|            }
  733|      0|            switch (environment->input.languageFamily) {
  ------------------
  |  Branch (733:21): [True: 0, False: 0]
  ------------------
  734|      0|            case EShSourceNone:
  ------------------
  |  Branch (734:13): [True: 0, False: 0]
  ------------------
  735|      0|                break;
  736|      0|            case EShSourceGlsl:
  ------------------
  |  Branch (736:13): [True: 0, False: 0]
  ------------------
  737|      0|                source = EShSourceGlsl;
  738|      0|                messages = static_cast<EShMessages>(messages & ~EShMsgReadHlsl);
  739|      0|                break;
  740|      0|            case EShSourceHlsl:
  ------------------
  |  Branch (740:13): [True: 0, False: 0]
  ------------------
  741|      0|                source = EShSourceHlsl;
  742|      0|                messages = static_cast<EShMessages>(messages | EShMsgReadHlsl);
  743|      0|                break;
  744|      0|            case EShSourceCount:
  ------------------
  |  Branch (744:13): [True: 0, False: 0]
  ------------------
  745|      0|                assert(0);
  746|      0|                break;
  747|      0|            }
  748|      0|        }
  749|       |
  750|       |        // client
  751|     58|        switch (environment->client.client) {
  752|      0|        case EShClientVulkan:
  ------------------
  |  Branch (752:9): [True: 0, False: 58]
  ------------------
  753|      0|            spvVersion.vulkan = environment->client.version;
  754|      0|            break;
  755|     58|        default:
  ------------------
  |  Branch (755:9): [True: 58, False: 0]
  ------------------
  756|     58|            break;
  757|     58|        }
  758|       |
  759|       |        // generated code
  760|     58|        switch (environment->target.language) {
  761|      0|        case EshTargetSpv:
  ------------------
  |  Branch (761:9): [True: 0, False: 58]
  ------------------
  762|      0|            spvVersion.spv = environment->target.version;
  763|      0|            break;
  764|     58|        default:
  ------------------
  |  Branch (764:9): [True: 58, False: 0]
  ------------------
  765|     58|            break;
  766|     58|        }
  767|     58|    }
  768|     58|}
ShaderLang.cpp:_ZN12_GLOBAL__N_120DeduceVersionProfileER9TInfoSink11EShLanguagebiN7glslang9EShSourceERiR8EProfileRKNS3_10SpvVersionE:
  512|     58|{
  513|     58|    const int FirstProfileVersion = 150;
  514|     58|    bool correct = true;
  515|       |
  516|     58|    if (source == EShSourceHlsl) {
  ------------------
  |  Branch (516:9): [True: 22, False: 36]
  ------------------
  517|     22|        version = 500;          // shader model; currently a characteristic of glslang, not the input
  518|     22|        profile = ECoreProfile; // allow doubles in prototype parsing
  519|     22|        return correct;
  520|     22|    }
  521|       |
  522|       |    // Get a version...
  523|     36|    if (version == 0) {
  ------------------
  |  Branch (523:9): [True: 34, False: 2]
  ------------------
  524|     34|        version = defaultVersion;
  525|       |        // infoSink.info.message(EPrefixWarning, "#version: statement missing; use #version on first line of shader");
  526|     34|    }
  527|       |
  528|       |    // Get a good profile...
  529|     36|    if (profile == ENoProfile) {
  ------------------
  |  Branch (529:9): [True: 36, False: 0]
  ------------------
  530|     36|        if (version == 300 || version == 310 || version == 320) {
  ------------------
  |  Branch (530:13): [True: 0, False: 36]
  |  Branch (530:31): [True: 0, False: 36]
  |  Branch (530:49): [True: 0, False: 36]
  ------------------
  531|      0|            correct = false;
  532|      0|            infoSink.info.message(EPrefixError, "#version: versions 300, 310, and 320 require specifying the 'es' profile");
  533|      0|            profile = EEsProfile;
  534|     36|        } else if (version == 100)
  ------------------
  |  Branch (534:20): [True: 34, False: 2]
  ------------------
  535|     34|            profile = EEsProfile;
  536|      2|        else if (version >= FirstProfileVersion)
  ------------------
  |  Branch (536:18): [True: 1, False: 1]
  ------------------
  537|      1|            profile = ECoreProfile;
  538|      1|        else
  539|      1|            profile = ENoProfile;
  540|     36|    } else {
  541|       |        // a profile was provided...
  542|      0|        if (version < 150) {
  ------------------
  |  Branch (542:13): [True: 0, False: 0]
  ------------------
  543|      0|            correct = false;
  544|      0|            infoSink.info.message(EPrefixError, "#version: versions before 150 do not allow a profile token");
  545|      0|            if (version == 100)
  ------------------
  |  Branch (545:17): [True: 0, False: 0]
  ------------------
  546|      0|                profile = EEsProfile;
  547|      0|            else
  548|      0|                profile = ENoProfile;
  549|      0|        } else if (version == 300 || version == 310 || version == 320) {
  ------------------
  |  Branch (549:20): [True: 0, False: 0]
  |  Branch (549:38): [True: 0, False: 0]
  |  Branch (549:56): [True: 0, False: 0]
  ------------------
  550|      0|            if (profile != EEsProfile) {
  ------------------
  |  Branch (550:17): [True: 0, False: 0]
  ------------------
  551|      0|                correct = false;
  552|      0|                infoSink.info.message(EPrefixError, "#version: versions 300, 310, and 320 support only the es profile");
  553|      0|            }
  554|      0|            profile = EEsProfile;
  555|      0|        } else {
  556|      0|            if (profile == EEsProfile) {
  ------------------
  |  Branch (556:17): [True: 0, False: 0]
  ------------------
  557|      0|                correct = false;
  558|      0|                infoSink.info.message(EPrefixError, "#version: only version 300, 310, and 320 support the es profile");
  559|      0|                if (version >= FirstProfileVersion)
  ------------------
  |  Branch (559:21): [True: 0, False: 0]
  ------------------
  560|      0|                    profile = ECoreProfile;
  561|      0|                else
  562|      0|                    profile = ENoProfile;
  563|      0|            }
  564|       |            // else: typical desktop case... e.g., "#version 410 core"
  565|      0|        }
  566|      0|    }
  567|       |
  568|       |    // Fix version...
  569|     36|    switch (version) {
  570|       |    // ES versions
  571|     34|    case 100: break;
  ------------------
  |  Branch (571:5): [True: 34, False: 2]
  ------------------
  572|      0|    case 300: break;
  ------------------
  |  Branch (572:5): [True: 0, False: 36]
  ------------------
  573|      0|    case 310: break;
  ------------------
  |  Branch (573:5): [True: 0, False: 36]
  ------------------
  574|      0|    case 320: break;
  ------------------
  |  Branch (574:5): [True: 0, False: 36]
  ------------------
  575|       |
  576|       |    // desktop versions
  577|      0|    case 110: break;
  ------------------
  |  Branch (577:5): [True: 0, False: 36]
  ------------------
  578|      0|    case 120: break;
  ------------------
  |  Branch (578:5): [True: 0, False: 36]
  ------------------
  579|      0|    case 130: break;
  ------------------
  |  Branch (579:5): [True: 0, False: 36]
  ------------------
  580|      0|    case 140: break;
  ------------------
  |  Branch (580:5): [True: 0, False: 36]
  ------------------
  581|      0|    case 150: break;
  ------------------
  |  Branch (581:5): [True: 0, False: 36]
  ------------------
  582|      0|    case 330: break;
  ------------------
  |  Branch (582:5): [True: 0, False: 36]
  ------------------
  583|      0|    case 400: break;
  ------------------
  |  Branch (583:5): [True: 0, False: 36]
  ------------------
  584|      0|    case 410: break;
  ------------------
  |  Branch (584:5): [True: 0, False: 36]
  ------------------
  585|      0|    case 420: break;
  ------------------
  |  Branch (585:5): [True: 0, False: 36]
  ------------------
  586|      0|    case 430: break;
  ------------------
  |  Branch (586:5): [True: 0, False: 36]
  ------------------
  587|      0|    case 440: break;
  ------------------
  |  Branch (587:5): [True: 0, False: 36]
  ------------------
  588|      0|    case 450: break;
  ------------------
  |  Branch (588:5): [True: 0, False: 36]
  ------------------
  589|      0|    case 460: break;
  ------------------
  |  Branch (589:5): [True: 0, False: 36]
  ------------------
  590|       |
  591|       |    // unknown version
  592|      2|    default:
  ------------------
  |  Branch (592:5): [True: 2, False: 34]
  ------------------
  593|      2|        correct = false;
  594|      2|        infoSink.info.message(EPrefixError, "version not supported");
  595|      2|        if (profile == EEsProfile)
  ------------------
  |  Branch (595:13): [True: 0, False: 2]
  ------------------
  596|      0|            version = 310;
  597|      2|        else {
  598|      2|            version = 450;
  599|      2|            profile = ECoreProfile;
  600|      2|        }
  601|      2|        break;
  602|     36|    }
  603|       |
  604|       |    // Correct for stage type...
  605|     36|    switch (stage) {
  606|      0|    case EShLangGeometry:
  ------------------
  |  Branch (606:5): [True: 0, False: 36]
  ------------------
  607|      0|        if ((profile == EEsProfile && version < 310) ||
  ------------------
  |  Branch (607:14): [True: 0, False: 0]
  |  Branch (607:39): [True: 0, False: 0]
  ------------------
  608|      0|            (profile != EEsProfile && version < 150)) {
  ------------------
  |  Branch (608:14): [True: 0, False: 0]
  |  Branch (608:39): [True: 0, False: 0]
  ------------------
  609|      0|            correct = false;
  610|      0|            infoSink.info.message(EPrefixError, "#version: geometry shaders require es profile with version 310 or non-es profile with version 150 or above");
  611|      0|            version = (profile == EEsProfile) ? 310 : 150;
  ------------------
  |  Branch (611:23): [True: 0, False: 0]
  ------------------
  612|      0|            if (profile == EEsProfile || profile == ENoProfile)
  ------------------
  |  Branch (612:17): [True: 0, False: 0]
  |  Branch (612:42): [True: 0, False: 0]
  ------------------
  613|      0|                profile = ECoreProfile;
  614|      0|        }
  615|      0|        break;
  616|      0|    case EShLangTessControl:
  ------------------
  |  Branch (616:5): [True: 0, False: 36]
  ------------------
  617|      0|    case EShLangTessEvaluation:
  ------------------
  |  Branch (617:5): [True: 0, False: 36]
  ------------------
  618|      0|        if ((profile == EEsProfile && version < 310) ||
  ------------------
  |  Branch (618:14): [True: 0, False: 0]
  |  Branch (618:39): [True: 0, False: 0]
  ------------------
  619|      0|            (profile != EEsProfile && version < 150)) {
  ------------------
  |  Branch (619:14): [True: 0, False: 0]
  |  Branch (619:39): [True: 0, False: 0]
  ------------------
  620|      0|            correct = false;
  621|      0|            infoSink.info.message(EPrefixError, "#version: tessellation shaders require es profile with version 310 or non-es profile with version 150 or above");
  622|      0|            version = (profile == EEsProfile) ? 310 : 400; // 150 supports the extension, correction is to 400 which does not
  ------------------
  |  Branch (622:23): [True: 0, False: 0]
  ------------------
  623|      0|            if (profile == EEsProfile || profile == ENoProfile)
  ------------------
  |  Branch (623:17): [True: 0, False: 0]
  |  Branch (623:42): [True: 0, False: 0]
  ------------------
  624|      0|                profile = ECoreProfile;
  625|      0|        }
  626|      0|        break;
  627|      0|    case EShLangCompute:
  ------------------
  |  Branch (627:5): [True: 0, False: 36]
  ------------------
  628|      0|        if ((profile == EEsProfile && version < 310) ||
  ------------------
  |  Branch (628:14): [True: 0, False: 0]
  |  Branch (628:39): [True: 0, False: 0]
  ------------------
  629|      0|            (profile != EEsProfile && version < 420)) {
  ------------------
  |  Branch (629:14): [True: 0, False: 0]
  |  Branch (629:39): [True: 0, False: 0]
  ------------------
  630|      0|            correct = false;
  631|      0|            infoSink.info.message(EPrefixError, "#version: compute shaders require es profile with version 310 or above, or non-es profile with version 420 or above");
  632|      0|            version = profile == EEsProfile ? 310 : 420;
  ------------------
  |  Branch (632:23): [True: 0, False: 0]
  ------------------
  633|      0|        }
  634|      0|        break;
  635|      0|    case EShLangRayGen:
  ------------------
  |  Branch (635:5): [True: 0, False: 36]
  ------------------
  636|      0|    case EShLangIntersect:
  ------------------
  |  Branch (636:5): [True: 0, False: 36]
  ------------------
  637|      0|    case EShLangAnyHit:
  ------------------
  |  Branch (637:5): [True: 0, False: 36]
  ------------------
  638|      0|    case EShLangClosestHit:
  ------------------
  |  Branch (638:5): [True: 0, False: 36]
  ------------------
  639|      0|    case EShLangMiss:
  ------------------
  |  Branch (639:5): [True: 0, False: 36]
  ------------------
  640|      0|    case EShLangCallable:
  ------------------
  |  Branch (640:5): [True: 0, False: 36]
  ------------------
  641|      0|        if (profile == EEsProfile || version < 460) {
  ------------------
  |  Branch (641:13): [True: 0, False: 0]
  |  Branch (641:38): [True: 0, False: 0]
  ------------------
  642|      0|            correct = false;
  643|      0|            infoSink.info.message(EPrefixError, "#version: ray tracing shaders require non-es profile with version 460 or above");
  644|      0|            version = 460;
  645|      0|        }
  646|      0|        break;
  647|      0|    case EShLangMesh:
  ------------------
  |  Branch (647:5): [True: 0, False: 36]
  ------------------
  648|      0|    case EShLangTask:
  ------------------
  |  Branch (648:5): [True: 0, False: 36]
  ------------------
  649|      0|        if ((profile == EEsProfile && version < 320) ||
  ------------------
  |  Branch (649:14): [True: 0, False: 0]
  |  Branch (649:39): [True: 0, False: 0]
  ------------------
  650|      0|            (profile != EEsProfile && version < 450)) {
  ------------------
  |  Branch (650:14): [True: 0, False: 0]
  |  Branch (650:39): [True: 0, False: 0]
  ------------------
  651|      0|            correct = false;
  652|      0|            infoSink.info.message(EPrefixError, "#version: mesh/task shaders require es profile with version 320 or above, or non-es profile with version 450 or above");
  653|      0|            version = profile == EEsProfile ? 320 : 450;
  ------------------
  |  Branch (653:23): [True: 0, False: 0]
  ------------------
  654|      0|        }
  655|      0|        break;
  656|     36|    default:
  ------------------
  |  Branch (656:5): [True: 36, False: 0]
  ------------------
  657|     36|        break;
  658|     36|    }
  659|       |
  660|     36|    if (profile == EEsProfile && version >= 300 && versionNotFirst) {
  ------------------
  |  Branch (660:9): [True: 34, False: 2]
  |  Branch (660:34): [True: 0, False: 34]
  |  Branch (660:52): [True: 0, False: 0]
  ------------------
  661|      0|        correct = false;
  662|      0|        infoSink.info.message(EPrefixError, "#version: statement must appear first in es-profile shader; before comments or newlines");
  663|      0|    }
  664|       |
  665|       |    // Check for SPIR-V compatibility
  666|     36|    if (spvVersion.spv != 0) {
  ------------------
  |  Branch (666:9): [True: 0, False: 36]
  ------------------
  667|      0|        switch (profile) {
  668|      0|        case EEsProfile:
  ------------------
  |  Branch (668:9): [True: 0, False: 0]
  ------------------
  669|      0|            if (version < 310) {
  ------------------
  |  Branch (669:17): [True: 0, False: 0]
  ------------------
  670|      0|                correct = false;
  671|      0|                infoSink.info.message(EPrefixError, "#version: ES shaders for SPIR-V require version 310 or higher");
  672|      0|                version = 310;
  673|      0|            }
  674|      0|            break;
  675|      0|        case ECompatibilityProfile:
  ------------------
  |  Branch (675:9): [True: 0, False: 0]
  ------------------
  676|      0|            infoSink.info.message(EPrefixError, "#version: compilation for SPIR-V does not support the compatibility profile");
  677|      0|            break;
  678|      0|        default:
  ------------------
  |  Branch (678:9): [True: 0, False: 0]
  ------------------
  679|      0|            if (spvVersion.vulkan > 0 && version < 140) {
  ------------------
  |  Branch (679:17): [True: 0, False: 0]
  |  Branch (679:42): [True: 0, False: 0]
  ------------------
  680|      0|                correct = false;
  681|      0|                infoSink.info.message(EPrefixError, "#version: Desktop shaders for Vulkan SPIR-V require version 140 or higher");
  682|      0|                version = 140;
  683|      0|            }
  684|      0|            if (spvVersion.openGl >= 100 && version < 330) {
  ------------------
  |  Branch (684:17): [True: 0, False: 0]
  |  Branch (684:45): [True: 0, False: 0]
  ------------------
  685|      0|                correct = false;
  686|      0|                infoSink.info.message(EPrefixError, "#version: Desktop shaders for OpenGL SPIR-V require version 330 or higher");
  687|      0|                version = 330;
  688|      0|            }
  689|      0|            break;
  690|      0|        }
  691|      0|    }
  692|       |
  693|     36|    return correct;
  694|     36|}
ShaderLang.cpp:_ZN12_GLOBAL__N_115RecordProcessesERN7glslang13TIntermediateE11EShMessagesRKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE:
  773|     58|{
  774|     58|    if ((messages & EShMsgRelaxedErrors) != 0)
  ------------------
  |  Branch (774:9): [True: 34, False: 24]
  ------------------
  775|     34|        intermediate.addProcess("relaxed-errors");
  776|     58|    if ((messages & EShMsgSuppressWarnings) != 0)
  ------------------
  |  Branch (776:9): [True: 0, False: 58]
  ------------------
  777|      0|        intermediate.addProcess("suppress-warnings");
  778|     58|    if ((messages & EShMsgKeepUncalled) != 0)
  ------------------
  |  Branch (778:9): [True: 9, False: 49]
  ------------------
  779|      9|        intermediate.addProcess("keep-uncalled");
  780|     58|    if ((messages & EShMsgRelaxSetBindingLimits) != 0)
  ------------------
  |  Branch (780:9): [True: 9, False: 49]
  ------------------
  781|      9|        intermediate.setRelaxSetBindingLimits(true);
  782|     58|    if (sourceEntryPointName.size() > 0) {
  ------------------
  |  Branch (782:9): [True: 0, False: 58]
  ------------------
  783|      0|        intermediate.addProcess("source-entrypoint");
  784|      0|        intermediate.addProcessArgument(sourceEntryPointName);
  785|      0|    }
  786|     58|}
ShaderLang.cpp:_ZN12_GLOBAL__N_123SetupBuiltinSymbolTableEi8EProfileRKN7glslang10SpvVersionENS1_9EShSourceE:
  427|     58|{
  428|     58|    TInfoSink infoSink;
  429|     58|    bool success;
  430|       |
  431|       |    // Make sure only one thread tries to do this at a time
  432|     58|#ifndef DISABLE_THREAD_SUPPORT
  433|     58|    const std::lock_guard<std::mutex> lock(init_lock);
  434|     58|#endif
  435|       |
  436|       |    // See if it's already been done for this version/profile combination
  437|     58|    int versionIndex = MapVersionToIndex(version);
  438|     58|    int spvVersionIndex = MapSpvVersionToIndex(spvVersion);
  439|     58|    int profileIndex = MapProfileToIndex(profile);
  440|     58|    int sourceIndex = MapSourceToIndex(source);
  441|     58|    if (CommonSymbolTable[versionIndex][spvVersionIndex][profileIndex][sourceIndex][EPcGeneral]) {
  ------------------
  |  Branch (441:9): [True: 0, False: 58]
  ------------------
  442|      0|        return true;
  443|      0|    }
  444|       |
  445|       |    // Switch to a new pool
  446|     58|    TPoolAllocator& previousAllocator = GetThreadPoolAllocator();
  447|     58|    TPoolAllocator* builtInPoolAllocator = new TPoolAllocator;
  448|     58|    SetThreadPoolAllocator(builtInPoolAllocator);
  449|       |
  450|       |    // Dynamically allocate the local symbol tables so we can control when they are deallocated WRT when the pool is popped.
  451|     58|    TSymbolTable* commonTable[EPcCount];
  452|     58|    TSymbolTable* stageTables[EShLangCount];
  453|    174|    for (int precClass = 0; precClass < EPcCount; ++precClass)
  ------------------
  |  Branch (453:29): [True: 116, False: 58]
  ------------------
  454|    116|        commonTable[precClass] = new TSymbolTable;
  455|    870|    for (int stage = 0; stage < EShLangCount; ++stage)
  ------------------
  |  Branch (455:25): [True: 812, False: 58]
  ------------------
  456|    812|        stageTables[stage] = new TSymbolTable;
  457|       |
  458|       |    // Generate the local symbol tables using the new pool
  459|     58|    if (!InitializeSymbolTables(infoSink, commonTable, stageTables, version, profile, spvVersion, source)) {
  ------------------
  |  Branch (459:9): [True: 0, False: 58]
  ------------------
  460|      0|        success = false;
  461|      0|        goto cleanup;
  462|      0|    }
  463|       |
  464|       |    // Switch to the process-global pool
  465|     58|    SetThreadPoolAllocator(PerProcessGPA);
  466|       |
  467|       |    // Copy the local symbol tables from the new pool to the global tables using the process-global pool
  468|    174|    for (int precClass = 0; precClass < EPcCount; ++precClass) {
  ------------------
  |  Branch (468:29): [True: 116, False: 58]
  ------------------
  469|    116|        if (! commonTable[precClass]->isEmpty()) {
  ------------------
  |  Branch (469:13): [True: 92, False: 24]
  ------------------
  470|     92|            CommonSymbolTable[versionIndex][spvVersionIndex][profileIndex][sourceIndex][precClass] = new TSymbolTable;
  471|     92|            CommonSymbolTable[versionIndex][spvVersionIndex][profileIndex][sourceIndex][precClass]->copyTable(*commonTable[precClass]);
  472|     92|            CommonSymbolTable[versionIndex][spvVersionIndex][profileIndex][sourceIndex][precClass]->readOnly();
  473|     92|        }
  474|    116|    }
  475|    870|    for (int stage = 0; stage < EShLangCount; ++stage) {
  ------------------
  |  Branch (475:25): [True: 812, False: 58]
  ------------------
  476|    812|        if (! stageTables[stage]->isEmpty()) {
  ------------------
  |  Branch (476:13): [True: 404, False: 408]
  ------------------
  477|    404|            SharedSymbolTables[versionIndex][spvVersionIndex][profileIndex][sourceIndex][stage] = new TSymbolTable;
  478|    404|            SharedSymbolTables[versionIndex][spvVersionIndex][profileIndex][sourceIndex][stage]->adoptLevels(*CommonSymbolTable
  479|    404|                              [versionIndex][spvVersionIndex][profileIndex][sourceIndex][CommonIndex(profile, (EShLanguage)stage)]);
  480|    404|            SharedSymbolTables[versionIndex][spvVersionIndex][profileIndex][sourceIndex][stage]->copyTable(*stageTables[stage]);
  481|    404|            SharedSymbolTables[versionIndex][spvVersionIndex][profileIndex][sourceIndex][stage]->readOnly();
  482|    404|        }
  483|    812|    }
  484|     58|    success = true;
  485|       |
  486|     58|cleanup:
  487|       |    // Clean up the local tables before deleting the pool they used.
  488|    174|    for (int precClass = 0; precClass < EPcCount; ++precClass)
  ------------------
  |  Branch (488:29): [True: 116, False: 58]
  ------------------
  489|    116|        delete commonTable[precClass];
  490|    870|    for (int stage = 0; stage < EShLangCount; ++stage)
  ------------------
  |  Branch (490:25): [True: 812, False: 58]
  ------------------
  491|    812|        delete stageTables[stage];
  492|       |
  493|     58|    delete builtInPoolAllocator;
  494|     58|    SetThreadPoolAllocator(&previousAllocator);
  495|       |
  496|     58|    return success;
  497|     58|}
ShaderLang.cpp:_ZN12_GLOBAL__N_122InitializeSymbolTablesER9TInfoSinkPPN7glslang12TSymbolTableES5_i8EProfileRKNS2_10SpvVersionENS2_9EShSourceE:
  322|     58|{
  323|     58|    bool success = true;
  324|     58|    std::unique_ptr<TBuiltInParseables> builtInParseables(CreateBuiltInParseables(infoSink, source));
  325|       |
  326|     58|    if (builtInParseables == nullptr)
  ------------------
  |  Branch (326:9): [True: 0, False: 58]
  ------------------
  327|      0|        return false;
  328|       |
  329|     58|    builtInParseables->initialize(version, profile, spvVersion);
  330|       |
  331|       |    // do the common tables
  332|     58|    success &= InitializeSymbolTable(builtInParseables->getCommonString(), version, profile, spvVersion, EShLangVertex, source,
  333|     58|                          infoSink, *commonTable[EPcGeneral]);
  334|     58|    if (profile == EEsProfile)
  ------------------
  |  Branch (334:9): [True: 34, False: 24]
  ------------------
  335|     34|        success &= InitializeSymbolTable(builtInParseables->getCommonString(), version, profile, spvVersion, EShLangFragment, source,
  336|     34|                              infoSink, *commonTable[EPcFragment]);
  337|       |
  338|       |    // do the per-stage tables
  339|       |
  340|       |    // always have vertex and fragment
  341|     58|    success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangVertex, source,
  342|     58|                               infoSink, commonTable, symbolTables);
  343|     58|    success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangFragment, source,
  344|     58|                               infoSink, commonTable, symbolTables);
  345|       |
  346|       |    // check for tessellation
  347|     58|    if ((profile != EEsProfile && version >= 150) ||
  ------------------
  |  Branch (347:10): [True: 24, False: 34]
  |  Branch (347:35): [True: 24, False: 0]
  ------------------
  348|     34|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (348:10): [True: 34, False: 0]
  |  Branch (348:35): [True: 0, False: 34]
  ------------------
  349|     24|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangTessControl, source,
  350|     24|                                   infoSink, commonTable, symbolTables);
  351|     24|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangTessEvaluation, source,
  352|     24|                                   infoSink, commonTable, symbolTables);
  353|     24|    }
  354|       |
  355|       |    // check for geometry
  356|     58|    if ((profile != EEsProfile && version >= 150) ||
  ------------------
  |  Branch (356:10): [True: 24, False: 34]
  |  Branch (356:35): [True: 24, False: 0]
  ------------------
  357|     34|        (profile == EEsProfile && version >= 310))
  ------------------
  |  Branch (357:10): [True: 34, False: 0]
  |  Branch (357:35): [True: 0, False: 34]
  ------------------
  358|     24|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangGeometry, source,
  359|     24|                                   infoSink, commonTable, symbolTables);
  360|       |
  361|       |    // check for compute
  362|     58|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (362:10): [True: 24, False: 34]
  |  Branch (362:35): [True: 24, False: 0]
  ------------------
  363|     34|        (profile == EEsProfile && version >= 310))
  ------------------
  |  Branch (363:10): [True: 34, False: 0]
  |  Branch (363:35): [True: 0, False: 34]
  ------------------
  364|     24|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangCompute, source,
  365|     24|                                   infoSink, commonTable, symbolTables);
  366|       |
  367|       |    // check for ray tracing stages
  368|     58|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (368:9): [True: 24, False: 34]
  |  Branch (368:34): [True: 24, False: 0]
  ------------------
  369|     24|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangRayGen, source,
  370|     24|            infoSink, commonTable, symbolTables);
  371|     24|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangIntersect, source,
  372|     24|            infoSink, commonTable, symbolTables);
  373|     24|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangAnyHit, source,
  374|     24|            infoSink, commonTable, symbolTables);
  375|     24|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangClosestHit, source,
  376|     24|            infoSink, commonTable, symbolTables);
  377|     24|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangMiss, source,
  378|     24|            infoSink, commonTable, symbolTables);
  379|     24|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangCallable, source,
  380|     24|            infoSink, commonTable, symbolTables);
  381|     24|    }
  382|       |
  383|       |    // check for mesh
  384|     58|    if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (384:10): [True: 24, False: 34]
  |  Branch (384:35): [True: 24, False: 0]
  ------------------
  385|     34|        (profile == EEsProfile && version >= 320))
  ------------------
  |  Branch (385:10): [True: 34, False: 0]
  |  Branch (385:35): [True: 0, False: 34]
  ------------------
  386|     24|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangMesh, source,
  387|     24|                                   infoSink, commonTable, symbolTables);
  388|       |
  389|       |    // check for task
  390|     58|    if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (390:10): [True: 24, False: 34]
  |  Branch (390:35): [True: 24, False: 0]
  ------------------
  391|     34|        (profile == EEsProfile && version >= 320))
  ------------------
  |  Branch (391:10): [True: 34, False: 0]
  |  Branch (391:35): [True: 0, False: 34]
  ------------------
  392|     24|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangTask, source,
  393|     24|                                   infoSink, commonTable, symbolTables);
  394|       |
  395|     58|    return success;
  396|     58|}
ShaderLang.cpp:_ZN12_GLOBAL__N_123CreateBuiltInParseablesER9TInfoSinkN7glslang9EShSourceE:
   94|    116|{
   95|    116|    switch (source) {
   96|     72|    case EShSourceGlsl: return new TBuiltIns();              // GLSL builtIns
  ------------------
  |  Branch (96:5): [True: 72, False: 44]
  ------------------
   97|      0|#ifdef ENABLE_HLSL
   98|     44|    case EShSourceHlsl: return new TBuiltInParseablesHlsl(); // HLSL intrinsics
  ------------------
  |  Branch (98:5): [True: 44, False: 72]
  ------------------
   99|      0|#endif
  100|       |
  101|      0|    default:
  ------------------
  |  Branch (101:5): [True: 0, False: 116]
  ------------------
  102|      0|        infoSink.info.message(EPrefixInternalError, "Unable to determine source language");
  103|      0|        return nullptr;
  104|    116|    }
  105|    116|}
ShaderLang.cpp:_ZN12_GLOBAL__N_121InitializeSymbolTableERKNSt3__112basic_stringIcNS0_11char_traitsIcEEN7glslang14pool_allocatorIcEEEEi8EProfileRKNS4_10SpvVersionE11EShLanguageNS4_9EShSourceER9TInfoSinkRNS4_12TSymbolTableE:
  249|    554|{
  250|    554|    TIntermediate intermediate(language, version, profile);
  251|       |
  252|    554|    intermediate.setSource(source);
  253|       |
  254|    554|    std::unique_ptr<TParseContextBase> parseContext(CreateParseContext(symbolTable, intermediate, version, profile, source,
  255|    554|                                                                       language, infoSink, spvVersion, true, EShMsgDefault,
  256|    554|                                                                       true));
  257|       |
  258|    554|    TShader::ForbidIncluder includer;
  259|    554|    TPpContext ppContext(*parseContext, "", includer);
  260|    554|    TScanContext scanContext(*parseContext);
  261|    554|    parseContext->setScanContext(&scanContext);
  262|    554|    parseContext->setPpContext(&ppContext);
  263|       |
  264|       |    //
  265|       |    // Push the symbol table to give it an initial scope.  This
  266|       |    // push should not have a corresponding pop, so that built-ins
  267|       |    // are preserved, and the test for an empty table fails.
  268|       |    //
  269|       |
  270|    554|    symbolTable.push();
  271|       |
  272|    554|    const char* builtInShaders[2];
  273|    554|    size_t builtInLengths[2];
  274|    554|    builtInShaders[0] = builtIns.c_str();
  275|    554|    builtInLengths[0] = builtIns.size();
  276|       |
  277|    554|    if (builtInLengths[0] == 0)
  ------------------
  |  Branch (277:9): [True: 330, False: 224]
  ------------------
  278|    330|        return true;
  279|       |
  280|    224|    TInputScanner input(1, builtInShaders, builtInLengths);
  281|    224|    if (! parseContext->parseShaderStrings(ppContext, input) != 0) {
  ------------------
  |  Branch (281:9): [True: 0, False: 224]
  ------------------
  282|      0|        infoSink.info.message(EPrefixInternalError, "Unable to parse built-ins");
  283|      0|        printf("Unable to parse built-ins\n%s\n", infoSink.info.c_str());
  284|      0|        printf("%s\n", builtInShaders[0]);
  285|       |
  286|      0|        return false;
  287|      0|    }
  288|       |
  289|    224|    return true;
  290|    224|}
ShaderLang.cpp:_ZN12_GLOBAL__N_126InitializeStageSymbolTableERN7glslang18TBuiltInParseablesEi8EProfileRKNS0_10SpvVersionE11EShLanguageNS0_9EShSourceER9TInfoSinkPPNS0_12TSymbolTableESD_:
  303|    404|{
  304|    404|    (*symbolTables[language]).adoptLevels(*commonTable[CommonIndex(profile, language)]);
  305|    404|    if (!InitializeSymbolTable(builtInParseables.getStageString(language), version, profile, spvVersion, language, source,
  ------------------
  |  Branch (305:9): [True: 0, False: 404]
  ------------------
  306|    404|                          infoSink, *symbolTables[language]))
  307|      0|        return false;
  308|    404|    builtInParseables.identifyBuiltIns(version, profile, spvVersion, language, *symbolTables[language]);
  309|    404|    if (profile == EEsProfile && version >= 300)
  ------------------
  |  Branch (309:9): [True: 68, False: 336]
  |  Branch (309:34): [True: 0, False: 68]
  ------------------
  310|      0|        (*symbolTables[language]).setNoBuiltInRedeclarations();
  311|    404|    if (version == 110)
  ------------------
  |  Branch (311:9): [True: 0, False: 404]
  ------------------
  312|      0|        (*symbolTables[language]).setSeparateNameSpaces();
  313|       |
  314|    404|    return true;
  315|    404|}
ShaderLang.cpp:_ZN12_GLOBAL__N_111CommonIndexE8EProfile11EShLanguage:
  293|    808|{
  294|    808|    return (profile == EEsProfile && language == EShLangFragment) ? EPcFragment : EPcGeneral;
  ------------------
  |  Branch (294:13): [True: 136, False: 672]
  |  Branch (294:38): [True: 68, False: 68]
  ------------------
  295|    808|}
ShaderLang.cpp:_ZN12_GLOBAL__N_117MapVersionToIndexEi:
  138|    116|{
  139|    116|    int index = 0;
  140|       |
  141|    116|    switch (version) {
  142|     68|    case 100: index =  0; break;
  ------------------
  |  Branch (142:5): [True: 68, False: 48]
  ------------------
  143|      0|    case 110: index =  1; break;
  ------------------
  |  Branch (143:5): [True: 0, False: 116]
  ------------------
  144|      0|    case 120: index =  2; break;
  ------------------
  |  Branch (144:5): [True: 0, False: 116]
  ------------------
  145|      0|    case 130: index =  3; break;
  ------------------
  |  Branch (145:5): [True: 0, False: 116]
  ------------------
  146|      0|    case 140: index =  4; break;
  ------------------
  |  Branch (146:5): [True: 0, False: 116]
  ------------------
  147|      0|    case 150: index =  5; break;
  ------------------
  |  Branch (147:5): [True: 0, False: 116]
  ------------------
  148|      0|    case 300: index =  6; break;
  ------------------
  |  Branch (148:5): [True: 0, False: 116]
  ------------------
  149|      0|    case 330: index =  7; break;
  ------------------
  |  Branch (149:5): [True: 0, False: 116]
  ------------------
  150|      0|    case 400: index =  8; break;
  ------------------
  |  Branch (150:5): [True: 0, False: 116]
  ------------------
  151|      0|    case 410: index =  9; break;
  ------------------
  |  Branch (151:5): [True: 0, False: 116]
  ------------------
  152|      0|    case 420: index = 10; break;
  ------------------
  |  Branch (152:5): [True: 0, False: 116]
  ------------------
  153|      0|    case 430: index = 11; break;
  ------------------
  |  Branch (153:5): [True: 0, False: 116]
  ------------------
  154|      0|    case 440: index = 12; break;
  ------------------
  |  Branch (154:5): [True: 0, False: 116]
  ------------------
  155|      0|    case 310: index = 13; break;
  ------------------
  |  Branch (155:5): [True: 0, False: 116]
  ------------------
  156|      4|    case 450: index = 14; break;
  ------------------
  |  Branch (156:5): [True: 4, False: 112]
  ------------------
  157|     44|    case 500: index =  0; break; // HLSL
  ------------------
  |  Branch (157:5): [True: 44, False: 72]
  ------------------
  158|      0|    case 320: index = 15; break;
  ------------------
  |  Branch (158:5): [True: 0, False: 116]
  ------------------
  159|      0|    case 460: index = 16; break;
  ------------------
  |  Branch (159:5): [True: 0, False: 116]
  ------------------
  160|      0|    default:  assert(0);  break;
  ------------------
  |  Branch (160:5): [True: 0, False: 116]
  ------------------
  161|    116|    }
  162|       |
  163|    116|    assert(index < VersionCount);
  164|       |
  165|    116|    return index;
  166|    116|}
ShaderLang.cpp:_ZN12_GLOBAL__N_120MapSpvVersionToIndexERKN7glslang10SpvVersionE:
  171|    116|{
  172|    116|    int index = 0;
  173|       |
  174|    116|    if (spvVersion.openGl > 0)
  ------------------
  |  Branch (174:9): [True: 0, False: 116]
  ------------------
  175|      0|        index = 1;
  176|    116|    else if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (176:14): [True: 20, False: 96]
  ------------------
  177|     20|        if (!spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (177:13): [True: 20, False: 0]
  ------------------
  178|     20|            index = 2;
  179|      0|        else
  180|      0|            index = 3;
  181|     20|    }
  182|       |
  183|    116|    assert(index < SpvVersionCount);
  184|       |
  185|    116|    return index;
  186|    116|}
ShaderLang.cpp:_ZN12_GLOBAL__N_117MapProfileToIndexE8EProfile:
  191|    116|{
  192|    116|    int index = 0;
  193|       |
  194|    116|    switch (profile) {
  195|      0|    case ENoProfile:            index = 0; break;
  ------------------
  |  Branch (195:5): [True: 0, False: 116]
  ------------------
  196|     48|    case ECoreProfile:          index = 1; break;
  ------------------
  |  Branch (196:5): [True: 48, False: 68]
  ------------------
  197|      0|    case ECompatibilityProfile: index = 2; break;
  ------------------
  |  Branch (197:5): [True: 0, False: 116]
  ------------------
  198|     68|    case EEsProfile:            index = 3; break;
  ------------------
  |  Branch (198:5): [True: 68, False: 48]
  ------------------
  199|      0|    default:                               break;
  ------------------
  |  Branch (199:5): [True: 0, False: 116]
  ------------------
  200|    116|    }
  201|       |
  202|    116|    assert(index < ProfileCount);
  203|       |
  204|    116|    return index;
  205|    116|}
ShaderLang.cpp:_ZN12_GLOBAL__N_116MapSourceToIndexEN7glslang9EShSourceE:
  210|    116|{
  211|    116|    int index = 0;
  212|       |
  213|    116|    switch (source) {
  214|     72|    case EShSourceGlsl: index = 0; break;
  ------------------
  |  Branch (214:5): [True: 72, False: 44]
  ------------------
  215|     44|    case EShSourceHlsl: index = 1; break;
  ------------------
  |  Branch (215:5): [True: 44, False: 72]
  ------------------
  216|      0|    default:                       break;
  ------------------
  |  Branch (216:5): [True: 0, False: 116]
  ------------------
  217|    116|    }
  218|       |
  219|    116|    assert(index < SourceCount);
  220|       |
  221|    116|    return index;
  222|    116|}
ShaderLang.cpp:_ZN12_GLOBAL__N_125AddContextSpecificSymbolsEPK16TBuiltInResourceR9TInfoSinkRN7glslang12TSymbolTableEi8EProfileRKNS5_10SpvVersionE11EShLanguageNS5_9EShSourceE:
  400|     58|{
  401|     58|    std::unique_ptr<TBuiltInParseables> builtInParseables(CreateBuiltInParseables(infoSink, source));
  402|       |
  403|     58|    if (builtInParseables == nullptr)
  ------------------
  |  Branch (403:9): [True: 0, False: 58]
  ------------------
  404|      0|        return false;
  405|       |
  406|     58|    builtInParseables->initialize(*resources, version, profile, spvVersion, language);
  407|     58|    if (!InitializeSymbolTable(builtInParseables->getCommonString(), version, profile, spvVersion, language, source, infoSink, symbolTable))
  ------------------
  |  Branch (407:9): [True: 0, False: 58]
  ------------------
  408|      0|        return false;
  409|     58|    builtInParseables->identifyBuiltIns(version, profile, spvVersion, language, symbolTable, *resources);
  410|       |
  411|     58|    return true;
  412|     58|}
ShaderLang.cpp:_ZN12_GLOBAL__N_122DumpBuiltinSymbolTableER9TInfoSinkRKN7glslang12TSymbolTableE:
  501|     15|{
  502|     15|    infoSink.debug << "BuiltinSymbolTable {\n";
  503|       |
  504|     15|    symbolTable.dump(infoSink, true);
  505|       |
  506|     15|    infoSink.debug << "}\n";
  507|     15|}
ShaderLang.cpp:_ZN12_GLOBAL__N_118CreateParseContextERN7glslang12TSymbolTableERNS0_13TIntermediateEi8EProfileNS0_9EShSourceE11EShLanguageR9TInfoSinkNS0_10SpvVersionEb11EShMessagesbNSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEE:
  113|    612|{
  114|    612|    switch (source) {
  115|    238|    case EShSourceGlsl: {
  ------------------
  |  Branch (115:5): [True: 238, False: 374]
  ------------------
  116|    238|        if (sourceEntryPointName.size() == 0)
  ------------------
  |  Branch (116:13): [True: 238, False: 0]
  ------------------
  117|    238|            intermediate.setEntryPointName("main");
  118|    238|        TString entryPoint = sourceEntryPointName.c_str();
  119|    238|        return new TParseContext(symbolTable, intermediate, parsingBuiltIns, version, profile, spvVersion,
  120|    238|                                 language, infoSink, forwardCompatible, messages, &entryPoint);
  121|      0|    }
  122|      0|#ifdef ENABLE_HLSL
  123|    374|    case EShSourceHlsl:
  ------------------
  |  Branch (123:5): [True: 374, False: 238]
  ------------------
  124|    374|        return new HlslParseContext(symbolTable, intermediate, parsingBuiltIns, version, profile, spvVersion,
  125|    374|                                    language, infoSink, sourceEntryPointName.c_str(), forwardCompatible, messages);
  126|      0|#endif
  127|      0|    default:
  ------------------
  |  Branch (127:5): [True: 0, False: 612]
  ------------------
  128|      0|        infoSink.info.message(EPrefixInternalError, "Unable to determine source language");
  129|      0|        return nullptr;
  130|    612|    }
  131|    612|}
ShaderLang.cpp:_ZN12_GLOBAL__N_111DoFullParseclERN7glslang17TParseContextBaseERNS1_10TPpContextERNS1_13TInputScannerEbRNS1_12TSymbolTableERNS1_13TIntermediateE20EShOptimizationLevel11EShMessages:
 1257|     58|    {
 1258|     58|        bool success = true;
 1259|       |        // Parse the full shader.
 1260|     58|        if (! parseContext.parseShaderStrings(ppContext, fullInput, versionWillBeError))
  ------------------
  |  Branch (1260:13): [True: 58, False: 0]
  ------------------
 1261|     58|            success = false;
 1262|       |
 1263|     58|        if (success && intermediate.getTreeRoot()) {
  ------------------
  |  Branch (1263:13): [True: 0, False: 58]
  |  Branch (1263:24): [True: 0, False: 0]
  ------------------
 1264|      0|            if (optLevel == EShOptNoGeneration)
  ------------------
  |  Branch (1264:17): [True: 0, False: 0]
  ------------------
 1265|      0|                parseContext.infoSink.info.message(EPrefixNone, "No errors.  No code generation or linking was requested.");
 1266|      0|            else
 1267|      0|                success = intermediate.postProcess(intermediate.getTreeRoot(), parseContext.getLanguage());
 1268|     58|        } else if (! success) {
  ------------------
  |  Branch (1268:20): [True: 58, False: 0]
  ------------------
 1269|     58|            parseContext.infoSink.info.prefix(EPrefixError);
 1270|     58|            parseContext.infoSink.info << parseContext.getNumErrors() << " compilation errors.  No code generated.\n\n";
 1271|     58|        }
 1272|       |
 1273|     58|        if (messages & EShMsgAST)
  ------------------
  |  Branch (1273:13): [True: 0, False: 58]
  ------------------
 1274|      0|            intermediate.output(parseContext.infoSink, true);
 1275|       |
 1276|     58|        return success;
 1277|     58|    }
_ZN7glslang17TDeferredCompilerC2E11EShLanguageR9TInfoSink:
 1758|     58|    TDeferredCompiler(EShLanguage s, TInfoSink& i) : TCompiler(s, i) { }

_ZNK7glslang5TType16buildMangledNameERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
   57|   303k|{
   58|   303k|    if (isTensorARM())
  ------------------
  |  Branch (58:9): [True: 122, False: 303k]
  ------------------
   59|    122|        mangledName += 'T';
   60|   303k|    else if (isMatrix())
  ------------------
  |  Branch (60:14): [True: 83.3k, False: 220k]
  ------------------
   61|  83.3k|        mangledName += 'm';
   62|   220k|    else if (isVector())
  ------------------
  |  Branch (62:14): [True: 102k, False: 118k]
  ------------------
   63|   102k|        mangledName += 'v';
   64|       |
   65|   303k|    if (isCoopVecNV())
  ------------------
  |  Branch (65:9): [True: 1.57k, False: 302k]
  ------------------
   66|  1.57k|        mangledName += "coopvec";
   67|       |
   68|   303k|    switch (basicType) {
   69|   113k|    case EbtFloat:              mangledName += 'f';      break;
  ------------------
  |  Branch (69:5): [True: 113k, False: 190k]
  ------------------
   70|  69.2k|    case EbtInt:                mangledName += 'i';      break;
  ------------------
  |  Branch (70:5): [True: 69.2k, False: 234k]
  ------------------
   71|  46.8k|    case EbtUint:               mangledName += 'u';      break;
  ------------------
  |  Branch (71:5): [True: 46.8k, False: 257k]
  ------------------
   72|  4.41k|    case EbtBool:               mangledName += 'b';      break;
  ------------------
  |  Branch (72:5): [True: 4.41k, False: 299k]
  ------------------
   73|  6.66k|    case EbtDouble:             mangledName += 'd';      break;
  ------------------
  |  Branch (73:5): [True: 6.66k, False: 297k]
  ------------------
   74|  6.27k|    case EbtFloat16:            mangledName += "f16";    break;
  ------------------
  |  Branch (74:5): [True: 6.27k, False: 297k]
  ------------------
   75|     64|    case EbtBFloat16:           mangledName += "bf16";   break;
  ------------------
  |  Branch (75:5): [True: 64, False: 303k]
  ------------------
   76|     48|    case EbtFloatE5M2:          mangledName += "fe5m2";  break;
  ------------------
  |  Branch (76:5): [True: 48, False: 303k]
  ------------------
   77|     48|    case EbtFloatE4M3:          mangledName += "fe4m3";  break;
  ------------------
  |  Branch (77:5): [True: 48, False: 303k]
  ------------------
   78|      8|    case EbtFloatE2M1:          mangledName += "fe2m1";  break;
  ------------------
  |  Branch (78:5): [True: 8, False: 303k]
  ------------------
   79|      6|    case EbtFloatE3M2:          mangledName += "fe3m2";  break;
  ------------------
  |  Branch (79:5): [True: 6, False: 303k]
  ------------------
   80|      6|    case EbtFloatE2M3:          mangledName += "fe2m3";  break;
  ------------------
  |  Branch (80:5): [True: 6, False: 303k]
  ------------------
   81|     16|    case EbtFloatUE8M0:         mangledName += "fue8m0";  break;
  ------------------
  |  Branch (81:5): [True: 16, False: 303k]
  ------------------
   82|     16|    case EbtFloatMXINT8:        mangledName += "fmxint8";break;
  ------------------
  |  Branch (82:5): [True: 16, False: 303k]
  ------------------
   83|  1.11k|    case EbtInt8:               mangledName += "i8";     break;
  ------------------
  |  Branch (83:5): [True: 1.11k, False: 302k]
  ------------------
   84|  1.09k|    case EbtUint8:              mangledName += "u8";     break;
  ------------------
  |  Branch (84:5): [True: 1.09k, False: 302k]
  ------------------
   85|  1.41k|    case EbtInt16:              mangledName += "i16";    break;
  ------------------
  |  Branch (85:5): [True: 1.41k, False: 302k]
  ------------------
   86|  1.33k|    case EbtUint16:             mangledName += "u16";    break;
  ------------------
  |  Branch (86:5): [True: 1.33k, False: 302k]
  ------------------
   87|  1.78k|    case EbtInt64:              mangledName += "i64";    break;
  ------------------
  |  Branch (87:5): [True: 1.78k, False: 302k]
  ------------------
   88|  2.67k|    case EbtUint64:             mangledName += "u64";    break;
  ------------------
  |  Branch (88:5): [True: 2.67k, False: 301k]
  ------------------
   89|     24|    case EbtAtomicUint:         mangledName += "au";     break;
  ------------------
  |  Branch (89:5): [True: 24, False: 303k]
  ------------------
   90|      0|    case EbtAccStruct:          mangledName += "as";     break;
  ------------------
  |  Branch (90:5): [True: 0, False: 303k]
  ------------------
   91|      0|    case EbtRayQuery:           mangledName += "rq";     break;
  ------------------
  |  Branch (91:5): [True: 0, False: 303k]
  ------------------
   92|      0|    case EbtSpirvType:          mangledName += "spv-t";  break;
  ------------------
  |  Branch (92:5): [True: 0, False: 303k]
  ------------------
   93|      0|    case EbtHitObjectNV:        mangledName += "ho";     break;
  ------------------
  |  Branch (93:5): [True: 0, False: 303k]
  ------------------
   94|      0|    case EbtHitObjectEXT:       mangledName += "ho";     break;
  ------------------
  |  Branch (94:5): [True: 0, False: 303k]
  ------------------
   95|     74|    case EbtTensorLayoutNV:     mangledName += "tl";     break;
  ------------------
  |  Branch (95:5): [True: 74, False: 303k]
  ------------------
   96|     38|    case EbtTensorViewNV:       mangledName += "tv";     break;
  ------------------
  |  Branch (96:5): [True: 38, False: 303k]
  ------------------
   97|  44.0k|    case EbtSampler:
  ------------------
  |  Branch (97:5): [True: 44.0k, False: 259k]
  ------------------
   98|  44.0k|        switch (sampler.type) {
   99|  3.55k|        case EbtFloat16: mangledName += "f16"; break;
  ------------------
  |  Branch (99:9): [True: 3.55k, False: 40.5k]
  ------------------
  100|  7.67k|        case EbtInt:   mangledName += "i"; break;
  ------------------
  |  Branch (100:9): [True: 7.67k, False: 36.3k]
  ------------------
  101|  7.67k|        case EbtUint:  mangledName += "u"; break;
  ------------------
  |  Branch (101:9): [True: 7.67k, False: 36.3k]
  ------------------
  102|    520|        case EbtInt64:   mangledName += "i64"; break;
  ------------------
  |  Branch (102:9): [True: 520, False: 43.5k]
  ------------------
  103|    520|        case EbtUint64:  mangledName += "u64"; break;
  ------------------
  |  Branch (103:9): [True: 520, False: 43.5k]
  ------------------
  104|  24.1k|        default: break; // some compilers want this
  ------------------
  |  Branch (104:9): [True: 24.1k, False: 19.9k]
  ------------------
  105|  44.0k|        }
  106|  44.0k|        if (sampler.isImageClass())
  ------------------
  |  Branch (106:13): [True: 4.83k, False: 39.2k]
  ------------------
  107|  4.83k|            mangledName += "I";  // a normal image or subpass
  108|  39.2k|        else if (sampler.isPureSampler())
  ------------------
  |  Branch (108:18): [True: 13.7k, False: 25.5k]
  ------------------
  109|  13.7k|            mangledName += "p";  // a "pure" sampler
  110|  25.5k|        else if (!sampler.isCombined())
  ------------------
  |  Branch (110:18): [True: 16.1k, False: 9.33k]
  ------------------
  111|  16.1k|            mangledName += "t";  // a "pure" texture
  112|  9.33k|        else
  113|  9.33k|            mangledName += "s";  // traditional combined sampler
  114|  44.0k|        if (sampler.isArrayed())
  ------------------
  |  Branch (114:13): [True: 11.5k, False: 32.5k]
  ------------------
  115|  11.5k|            mangledName += "A";
  116|  44.0k|        if (sampler.isShadow())
  ------------------
  |  Branch (116:13): [True: 6.87k, False: 37.1k]
  ------------------
  117|  6.87k|            mangledName += "S";
  118|  44.0k|        if (sampler.isExternal())
  ------------------
  |  Branch (118:13): [True: 204, False: 43.8k]
  ------------------
  119|    204|            mangledName += "E";
  120|  44.0k|        if (sampler.isYuv())
  ------------------
  |  Branch (120:13): [True: 544, False: 43.5k]
  ------------------
  121|    544|            mangledName += "Y";
  122|  44.0k|        switch (sampler.dim) {
  123|  15.9k|        case Esd2D:       mangledName += "2";  break;
  ------------------
  |  Branch (123:9): [True: 15.9k, False: 28.1k]
  ------------------
  124|  2.53k|        case Esd3D:       mangledName += "3";  break;
  ------------------
  |  Branch (124:9): [True: 2.53k, False: 41.5k]
  ------------------
  125|  4.91k|        case EsdCube:     mangledName += "C";  break;
  ------------------
  |  Branch (125:9): [True: 4.91k, False: 39.1k]
  ------------------
  126|  4.89k|        case Esd1D:       mangledName += "1";  break;
  ------------------
  |  Branch (126:9): [True: 4.89k, False: 39.1k]
  ------------------
  127|    996|        case EsdRect:     mangledName += "R2"; break;
  ------------------
  |  Branch (127:9): [True: 996, False: 43.0k]
  ------------------
  128|    534|        case EsdBuffer:   mangledName += "B";  break;
  ------------------
  |  Branch (128:9): [True: 534, False: 43.5k]
  ------------------
  129|    528|        case EsdSubpass:  mangledName += "P";  break;
  ------------------
  |  Branch (129:9): [True: 528, False: 43.5k]
  ------------------
  130|  13.7k|        default: break; // some compilers want this
  ------------------
  |  Branch (130:9): [True: 13.7k, False: 30.3k]
  ------------------
  131|  44.0k|        }
  132|       |
  133|  44.0k|#ifdef ENABLE_HLSL
  134|  44.0k|        if (sampler.hasReturnStruct()) {
  ------------------
  |  Branch (134:13): [True: 0, False: 44.0k]
  ------------------
  135|       |            // Name mangle for sampler return struct uses struct table index.
  136|      0|            mangledName += "-tx-struct";
  137|       |
  138|      0|            char text[16]; // plenty enough space for the small integers.
  139|      0|            snprintf(text, sizeof(text), "%u-", sampler.getStructReturnIndex());
  140|      0|            mangledName += text;
  141|  44.0k|        } else {
  142|  44.0k|            switch (sampler.getVectorSize()) {
  ------------------
  |  Branch (142:21): [True: 44.0k, False: 0]
  ------------------
  143|  3.43k|            case 1: mangledName += "1"; break;
  ------------------
  |  Branch (143:13): [True: 3.43k, False: 40.6k]
  ------------------
  144|  10.0k|            case 2: mangledName += "2"; break;
  ------------------
  |  Branch (144:13): [True: 10.0k, False: 34.0k]
  ------------------
  145|  1.38k|            case 3: mangledName += "3"; break;
  ------------------
  |  Branch (145:13): [True: 1.38k, False: 42.6k]
  ------------------
  146|  29.2k|            case 4: break; // default to prior name mangle behavior
  ------------------
  |  Branch (146:13): [True: 29.2k, False: 14.8k]
  ------------------
  147|  44.0k|            }
  148|  44.0k|        }
  149|  44.0k|#endif
  150|       |
  151|  44.0k|        if (sampler.isMultiSample())
  ------------------
  |  Branch (151:13): [True: 1.57k, False: 42.4k]
  ------------------
  152|  1.57k|            mangledName += "M";
  153|  44.0k|        break;
  154|     24|    case EbtStruct:
  ------------------
  |  Branch (154:5): [True: 24, False: 303k]
  ------------------
  155|     24|    case EbtBlock:
  ------------------
  |  Branch (155:5): [True: 0, False: 303k]
  ------------------
  156|     24|        if (basicType == EbtStruct)
  ------------------
  |  Branch (156:13): [True: 24, False: 0]
  ------------------
  157|     24|            mangledName += "struct-";
  158|      0|        else
  159|      0|            mangledName += "block-";
  160|     24|        if (typeName)
  ------------------
  |  Branch (160:13): [True: 24, False: 0]
  ------------------
  161|     24|            mangledName += *typeName;
  162|    144|        for (unsigned int i = 0; i < structure->size(); ++i) {
  ------------------
  |  Branch (162:34): [True: 120, False: 24]
  ------------------
  163|    120|            if ((*structure)[i].type->getBasicType() == EbtVoid)
  ------------------
  |  Branch (163:17): [True: 0, False: 120]
  ------------------
  164|      0|                continue;
  165|    120|            mangledName += '-';
  166|    120|            (*structure)[i].type->buildMangledName(mangledName);
  167|    120|        }
  168|     24|        break;
  169|  2.85k|    default:
  ------------------
  |  Branch (169:5): [True: 2.85k, False: 301k]
  ------------------
  170|  2.85k|        break;
  171|   303k|    }
  172|       |
  173|   303k|    if (getVectorSize() > 0)
  ------------------
  |  Branch (173:9): [True: 220k, False: 83.3k]
  ------------------
  174|   220k|        mangledName += static_cast<char>('0' + getVectorSize());
  175|  83.3k|    else {
  176|  83.3k|        mangledName += static_cast<char>('0' + getMatrixCols());
  177|  83.3k|        mangledName += static_cast<char>('0' + getMatrixRows());
  178|  83.3k|    }
  179|       |
  180|   303k|    if (typeParameters) {
  ------------------
  |  Branch (180:9): [True: 12, False: 303k]
  ------------------
  181|     12|        const int maxSize = 11;
  182|     12|        char buf[maxSize];
  183|     24|        for (int i = 0; i < typeParameters->arraySizes->getNumDims(); ++i) {
  ------------------
  |  Branch (183:25): [True: 12, False: 12]
  ------------------
  184|     12|            if (typeParameters->arraySizes->getDimNode(i)) {
  ------------------
  |  Branch (184:17): [True: 0, False: 12]
  ------------------
  185|      0|                if (typeParameters->arraySizes->getDimNode(i)->getAsSymbolNode())
  ------------------
  |  Branch (185:21): [True: 0, False: 0]
  ------------------
  186|      0|                    snprintf(buf, maxSize, "s%lld", typeParameters->arraySizes->getDimNode(i)->getAsSymbolNode()->getId());
  187|      0|                else
  188|      0|                    snprintf(buf, maxSize, "s%p", typeParameters->arraySizes->getDimNode(i));
  189|      0|            } else
  190|     12|                snprintf(buf, maxSize, "%d", typeParameters->arraySizes->getDimSize(i));
  191|     12|            mangledName += '<';
  192|     12|            mangledName += buf;
  193|     12|            mangledName += '>';
  194|     12|        }
  195|     12|    }
  196|       |
  197|   303k|    if (arraySizes) {
  ------------------
  |  Branch (197:9): [True: 2.78k, False: 301k]
  ------------------
  198|  2.78k|        const int maxSize = 11;
  199|  2.78k|        char buf[maxSize];
  200|  5.56k|        for (int i = 0; i < arraySizes->getNumDims(); ++i) {
  ------------------
  |  Branch (200:25): [True: 2.78k, False: 2.78k]
  ------------------
  201|  2.78k|            if (arraySizes->getDimNode(i)) {
  ------------------
  |  Branch (201:17): [True: 0, False: 2.78k]
  ------------------
  202|      0|                if (arraySizes->getDimNode(i)->getAsSymbolNode())
  ------------------
  |  Branch (202:21): [True: 0, False: 0]
  ------------------
  203|      0|                    snprintf(buf, maxSize, "s%lld", arraySizes->getDimNode(i)->getAsSymbolNode()->getId());
  204|      0|                else
  205|      0|                    snprintf(buf, maxSize, "s%p", (void*)(arraySizes->getDimNode(i)));
  206|      0|            } else
  207|  2.78k|                snprintf(buf, maxSize, "%d", arraySizes->getDimSize(i));
  208|  2.78k|            mangledName += '[';
  209|  2.78k|            mangledName += buf;
  210|  2.78k|            mangledName += ']';
  211|  2.78k|        }
  212|  2.78k|    }
  213|   303k|}
_ZNK7glslang7TSymbol14dumpExtensionsER9TInfoSink:
  220|  59.7k|{
  221|  59.7k|    int numExtensions = getNumExtensions();
  222|  59.7k|    if (numExtensions) {
  ------------------
  |  Branch (222:9): [True: 0, False: 59.7k]
  ------------------
  223|      0|        infoSink.debug << " <";
  224|       |
  225|      0|        for (int i = 0; i < numExtensions; i++)
  ------------------
  |  Branch (225:25): [True: 0, False: 0]
  ------------------
  226|      0|            infoSink.debug << getExtensions()[i] << ",";
  227|       |
  228|      0|        infoSink.debug << ">";
  229|      0|    }
  230|  59.7k|}
_ZNK7glslang9TFunction4dumpER9TInfoSinkb:
  249|  59.7k|{
  250|  59.7k|    if (complete) {
  ------------------
  |  Branch (250:9): [True: 59.7k, False: 0]
  ------------------
  251|  59.7k|        infoSink.debug << getName().c_str() << ": " << returnType.getCompleteString() << " " << getName().c_str()
  252|  59.7k|                       << "(";
  253|       |
  254|  59.7k|        int numParams = getParamCount();
  255|   193k|        for (int i = 0; i < numParams; i++) {
  ------------------
  |  Branch (255:25): [True: 133k, False: 59.7k]
  ------------------
  256|   133k|            const TParameter &param = parameters[i];
  257|   133k|            infoSink.debug << param.type->getCompleteString() << " "
  258|   133k|                           << (param.type->isStruct() ? "of " + param.type->getTypeName() + " " : "")
  ------------------
  |  Branch (258:32): [True: 0, False: 133k]
  ------------------
  259|   133k|                           << (param.name ? *param.name : "") << (i < numParams - 1 ? "," : "");
  ------------------
  |  Branch (259:32): [True: 0, False: 133k]
  |  Branch (259:67): [True: 74.6k, False: 59.1k]
  ------------------
  260|   133k|        }
  261|       |
  262|  59.7k|        infoSink.debug << ")";
  263|  59.7k|        dumpExtensions(infoSink);
  264|  59.7k|    } else {
  265|      0|        infoSink.debug << getName().c_str() << ": " << returnType.getBasicTypeString() << " "
  266|      0|                       << getMangledName().c_str() << "n";
  267|      0|    }
  268|       |
  269|  59.7k|    infoSink.debug << "\n";
  270|  59.7k|}
_ZNK7glslang17TSymbolTableLevel4dumpER9TInfoSinkb:
  279|     45|{
  280|     45|    tLevel::const_iterator it;
  281|  59.7k|    for (it = level.begin(); it != level.end(); ++it)
  ------------------
  |  Branch (281:30): [True: 59.7k, False: 45]
  ------------------
  282|  59.7k|        (*it).second->dump(infoSink, complete);
  283|     45|}
_ZNK7glslang12TSymbolTable4dumpER9TInfoSinkb:
  286|     15|{
  287|     60|    for (int level = currentLevel(); level >= 0; --level) {
  ------------------
  |  Branch (287:38): [True: 45, False: 15]
  ------------------
  288|     45|        infoSink.debug << "LEVEL " << level << "\n";
  289|     45|        table[level]->dump(infoSink, complete);
  290|     45|    }
  291|     15|}
_ZN7glslang9TFunctionD2Ev:
  297|   259k|{
  298|   862k|    for (TParamList::iterator i = parameters.begin(); i != parameters.end(); ++i)
  ------------------
  |  Branch (298:55): [True: 603k, False: 259k]
  ------------------
  299|   603k|        delete (*i).type;
  300|   259k|}
_ZN7glslang17TSymbolTableLevelD2Ev:
  306|  1.10k|{
  307|   264k|    for (tLevel::iterator it = level.begin(); it != level.end(); ++it) {
  ------------------
  |  Branch (307:47): [True: 263k, False: 1.10k]
  ------------------
  308|   263k|        const TString& name = it->first;
  309|   263k|        auto retargetIter = std::find_if(retargetedSymbols.begin(), retargetedSymbols.end(),
  310|   263k|                                      [&name](const std::pair<TString, TString>& i) { return i.first == name; });
  311|   263k|        if (retargetIter == retargetedSymbols.end())
  ------------------
  |  Branch (311:13): [True: 263k, False: 0]
  ------------------
  312|   263k|            delete (*it).second;
  313|   263k|    }
  314|       |
  315|       |
  316|  1.10k|    delete [] defaultPrecision;
  317|  1.10k|}
_ZN7glslang17TSymbolTableLevel16relateToOperatorEPKcNS_9TOperatorE:
  324|   180k|{
  325|   180k|    tLevel::const_iterator candidate = level.lower_bound(name);
  326|  1.71M|    while (candidate != level.end()) {
  ------------------
  |  Branch (326:12): [True: 1.64M, False: 70.1k]
  ------------------
  327|  1.64M|        const TString& candidateName = (*candidate).first;
  328|  1.64M|        TString::size_type parenAt = candidateName.find_first_of('(');
  329|  1.64M|        if (parenAt != candidateName.npos && candidateName.compare(0, parenAt, name) == 0) {
  ------------------
  |  Branch (329:13): [True: 1.64M, False: 5.49k]
  |  Branch (329:46): [True: 1.53M, False: 104k]
  ------------------
  330|  1.53M|            TFunction* function = (*candidate).second->getAsFunction();
  331|  1.53M|            function->relateToOperator(op);
  332|  1.53M|        } else
  333|   110k|            break;
  334|  1.53M|        ++candidate;
  335|  1.53M|    }
  336|   180k|}
_ZN7glslang17TSymbolTableLevel21setFunctionExtensionsEPKciPKS2_:
  341|  4.96k|{
  342|  4.96k|    tLevel::const_iterator candidate = level.lower_bound(name);
  343|  17.3k|    while (candidate != level.end()) {
  ------------------
  |  Branch (343:12): [True: 17.0k, False: 350]
  ------------------
  344|  17.0k|        const TString& candidateName = (*candidate).first;
  345|  17.0k|        TString::size_type parenAt = candidateName.find_first_of('(');
  346|  17.0k|        if (parenAt != candidateName.npos && candidateName.compare(0, parenAt, name) == 0) {
  ------------------
  |  Branch (346:13): [True: 16.7k, False: 326]
  |  Branch (346:46): [True: 12.4k, False: 4.28k]
  ------------------
  347|  12.4k|            TSymbol* symbol = candidate->second;
  348|  12.4k|            symbol->setExtensions(num, extensions);
  349|  12.4k|        } else
  350|  4.61k|            break;
  351|  12.4k|        ++candidate;
  352|  12.4k|    }
  353|  4.96k|}
_ZN7glslang17TSymbolTableLevel29setFunctionExtensionsCallbackEPKcRKNSt3__18functionIFNS3_6vectorIS2_NS3_9allocatorIS2_EEEES2_EEE:
  357|     40|{
  358|     40|    tLevel::const_iterator candidate = level.lower_bound(name);
  359|  1.37k|    while (candidate != level.end()) {
  ------------------
  |  Branch (359:12): [True: 1.37k, False: 0]
  ------------------
  360|  1.37k|        const TString& candidateName = (*candidate).first;
  361|  1.37k|        TString::size_type parenAt = candidateName.find_first_of('(');
  362|  1.37k|        if (parenAt != candidateName.npos && candidateName.compare(0, parenAt, name) == 0) {
  ------------------
  |  Branch (362:13): [True: 1.37k, False: 0]
  |  Branch (362:46): [True: 1.33k, False: 40]
  ------------------
  363|  1.33k|            TSymbol* symbol = candidate->second;
  364|       |
  365|  1.33k|            auto exts = func(candidateName.c_str());
  366|  1.33k|            symbol->setExtensions(exts.size(), exts.data());
  367|  1.33k|        } else
  368|     40|            break;
  369|  1.33k|        ++candidate;
  370|  1.33k|    }
  371|     40|}
_ZN7glslang17TSymbolTableLevel8readOnlyEv:
  387|    900|{
  388|  1.65M|    for (tLevel::iterator it = level.begin(); it != level.end(); ++it)
  ------------------
  |  Branch (388:47): [True: 1.65M, False: 900]
  ------------------
  389|  1.65M|        (*it).second->makeReadOnly();
  390|    900|}
_ZN7glslang7TSymbolC2ERKS0_:
  396|   131k|{
  397|   131k|    name = NewPoolTString(copyOf.name->c_str());
  398|   131k|    mangledName = NewPoolTString(copyOf.mangledName->c_str());
  399|   131k|    uniqueId = copyOf.uniqueId;
  400|   131k|    writable = true;
  401|   131k|}
_ZN7glslang9TVariableC2ERKS0_:
  403|  1.59k|TVariable::TVariable(const TVariable& copyOf) : TSymbol(copyOf)
  404|  1.59k|{
  405|  1.59k|    type.deepCopy(copyOf.type);
  406|  1.59k|    userType = copyOf.userType;
  407|       |
  408|       |    // we don't support specialization-constant subtrees in cloned tables, only extensions
  409|  1.59k|    constSubtree = nullptr;
  410|  1.59k|    extensions = nullptr;
  411|  1.59k|    memberExtensions = nullptr;
  412|  1.59k|    if (copyOf.getNumExtensions() > 0)
  ------------------
  |  Branch (412:9): [True: 672, False: 918]
  ------------------
  413|    672|        setExtensions(copyOf.getNumExtensions(), copyOf.getExtensions());
  414|  1.59k|    if (copyOf.hasMemberExtensions()) {
  ------------------
  |  Branch (414:9): [True: 12, False: 1.57k]
  ------------------
  415|     86|        for (int m = 0; m < (int)copyOf.type.getStruct()->size(); ++m) {
  ------------------
  |  Branch (415:25): [True: 74, False: 12]
  ------------------
  416|     74|            if (copyOf.getNumMemberExtensions(m) > 0)
  ------------------
  |  Branch (416:17): [True: 58, False: 16]
  ------------------
  417|     58|                setMemberExtensions(m, copyOf.getNumMemberExtensions(m), copyOf.getMemberExtensions(m));
  418|     74|        }
  419|     12|    }
  420|       |
  421|  1.59k|    if (! copyOf.constArray.empty()) {
  ------------------
  |  Branch (421:9): [True: 234, False: 1.35k]
  ------------------
  422|       |        assert(! copyOf.type.isStruct());
  423|    234|        TConstUnionArray newArray(copyOf.constArray, 0, copyOf.constArray.size());
  424|    234|        constArray = newArray;
  425|    234|    }
  426|  1.59k|}
_ZNK7glslang9TVariable5cloneEv:
  429|  1.59k|{
  430|  1.59k|    TVariable *variable = new TVariable(*this);
  431|       |
  432|  1.59k|    return variable;
  433|  1.59k|}
_ZN7glslang9TFunctionC2ERKS0_:
  435|   129k|TFunction::TFunction(const TFunction& copyOf) : TSymbol(copyOf)
  436|   129k|{
  437|   431k|    for (unsigned int i = 0; i < copyOf.parameters.size(); ++i) {
  ------------------
  |  Branch (437:30): [True: 301k, False: 129k]
  ------------------
  438|   301k|        TParameter param{};
  439|   301k|        parameters.push_back(param);
  440|   301k|        (void)parameters.back().copyParam(copyOf.parameters[i]);
  441|   301k|    }
  442|       |
  443|   129k|    extensions = nullptr;
  444|   129k|    if (copyOf.getNumExtensions() > 0)
  ------------------
  |  Branch (444:9): [True: 13.7k, False: 115k]
  ------------------
  445|  13.7k|        setExtensions(copyOf.getNumExtensions(), copyOf.getExtensions());
  446|   129k|    returnType.deepCopy(copyOf.returnType);
  447|   129k|    mangledName = copyOf.mangledName;
  448|   129k|    op = copyOf.op;
  449|   129k|    defined = copyOf.defined;
  450|   129k|    prototyped = copyOf.prototyped;
  451|   129k|    implicitThis = copyOf.implicitThis;
  452|   129k|    variadic = copyOf.variadic;
  453|   129k|    illegalImplicitThis = copyOf.illegalImplicitThis;
  454|   129k|    defaultParamCount = copyOf.defaultParamCount;
  455|   129k|    spirvInst = copyOf.spirvInst;
  456|   129k|    functionControl = copyOf.functionControl;
  457|   129k|}
_ZNK7glslang9TFunction5cloneEv:
  460|   129k|{
  461|   129k|    TFunction *function = new TFunction(*this);
  462|       |
  463|   129k|    return function;
  464|   129k|}
_ZNK7glslang17TSymbolTableLevel5cloneEv:
  477|    496|{
  478|    496|    TSymbolTableLevel *symTableLevel = new TSymbolTableLevel();
  479|    496|    symTableLevel->anonId = anonId;
  480|    496|    symTableLevel->thisLevel = thisLevel;
  481|    496|    symTableLevel->retargetedSymbols.clear();
  482|    496|    for (auto &s : retargetedSymbols) {
  ------------------
  |  Branch (482:18): [True: 0, False: 496]
  ------------------
  483|      0|        symTableLevel->retargetedSymbols.push_back({s.first, s.second});
  484|      0|    }
  485|    496|    std::vector<bool> containerCopied(anonId, false);
  486|    496|    tLevel::const_iterator iter;
  487|   131k|    for (iter = level.begin(); iter != level.end(); ++iter) {
  ------------------
  |  Branch (487:32): [True: 131k, False: 496]
  ------------------
  488|   131k|        const TAnonMember* anon = iter->second->getAsAnonMember();
  489|   131k|        if (anon) {
  ------------------
  |  Branch (489:13): [True: 24, False: 131k]
  ------------------
  490|       |            // Insert all the anonymous members of this same container at once,
  491|       |            // avoid inserting the remaining members in the future, once this has been done,
  492|       |            // allowing them to all be part of the same new container.
  493|     24|            if (! containerCopied[anon->getAnonId()]) {
  ------------------
  |  Branch (493:17): [True: 6, False: 18]
  ------------------
  494|      6|                TVariable* container = anon->getAnonContainer().clone();
  495|      6|                container->changeName(NewPoolTString(""));
  496|       |                // insert the container and all its members
  497|      6|                symTableLevel->insert(*container, false);
  498|      6|                containerCopied[anon->getAnonId()] = true;
  499|      6|            }
  500|   131k|        } else {
  501|   131k|            const TString& name = iter->first;
  502|   131k|            auto retargetIter = std::find_if(retargetedSymbols.begin(), retargetedSymbols.end(),
  503|   131k|                                          [&name](const std::pair<TString, TString>& i) { return i.first == name; });
  504|   131k|            if (retargetIter != retargetedSymbols.end())
  ------------------
  |  Branch (504:17): [True: 0, False: 131k]
  ------------------
  505|      0|                continue;
  506|   131k|            symTableLevel->insert(*iter->second->clone(), false);
  507|   131k|        }
  508|   131k|    }
  509|       |    // Now point retargeted symbols to the newly created versions of them
  510|    496|    for (auto &s : retargetedSymbols) {
  ------------------
  |  Branch (510:18): [True: 0, False: 496]
  ------------------
  511|      0|        TSymbol* sym = symTableLevel->find(s.second);
  512|      0|        if (!sym)
  ------------------
  |  Branch (512:13): [True: 0, False: 0]
  ------------------
  513|      0|            continue;
  514|      0|        symTableLevel->insert(s.first, sym);
  515|      0|    }
  516|       |
  517|    496|    return symTableLevel;
  518|    496|}
_ZN7glslang12TSymbolTable9copyTableERKS0_:
  521|    496|{
  522|    496|    assert(adoptedLevels == copyOf.adoptedLevels);
  523|       |
  524|    496|    uniqueId = copyOf.uniqueId;
  525|    496|    noBuiltInRedeclarations = copyOf.noBuiltInRedeclarations;
  526|    496|    separateNameSpaces = copyOf.separateNameSpaces;
  527|    992|    for (unsigned int i = copyOf.adoptedLevels; i < copyOf.table.size(); ++i)
  ------------------
  |  Branch (527:49): [True: 496, False: 496]
  ------------------
  528|    496|        table.push_back(copyOf.table[i]->clone());
  529|    496|}

_ZN7glslang14TParseVersions27initializeExtensionBehaviorEv:
  163|     58|{
  164|     58|    typedef struct {
  165|     58|        const char *const extensionName;
  166|     58|        EShTargetLanguageVersion minSpvVersion;
  167|     58|    } extensionData;
  168|       |
  169|     58|    const extensionData exts[] = { {E_GL_EXT_ray_tracing, EShTargetSpv_1_4},
  170|     58|                                   {E_GL_NV_ray_tracing_motion_blur, EShTargetSpv_1_4},
  171|     58|                                   {E_GL_EXT_mesh_shader, EShTargetSpv_1_4},
  172|     58|                                   {E_GL_NV_cooperative_matrix2, EShTargetSpv_1_6},
  173|     58|                                   {E_GL_NV_cooperative_matrix_decode_vector, EShTargetSpv_1_6},
  174|     58|                                   {E_GL_EXT_cooperative_matrix_maintenance1, EShTargetSpv_1_3},
  175|     58|                                 };
  176|       |
  177|    406|    for (size_t ii = 0; ii < sizeof(exts) / sizeof(exts[0]); ii++) {
  ------------------
  |  Branch (177:25): [True: 348, False: 58]
  ------------------
  178|       |        // Add only extensions which require > spv1.0 to save space in map
  179|    348|        if (exts[ii].minSpvVersion > EShTargetSpv_1_0) {
  ------------------
  |  Branch (179:13): [True: 348, False: 0]
  ------------------
  180|    348|            extensionMinSpv[exts[ii].extensionName] = exts[ii].minSpvVersion;
  181|    348|        }
  182|    348|    }
  183|       |
  184|     58|    extensionBehavior[E_GL_OES_texture_3D]                   = EBhDisable;
  185|     58|    extensionBehavior[E_GL_OES_standard_derivatives]         = EBhDisable;
  186|     58|    extensionBehavior[E_GL_EXT_frag_depth]                   = EBhDisable;
  187|     58|    extensionBehavior[E_GL_OES_EGL_image_external]           = EBhDisable;
  188|     58|    extensionBehavior[E_GL_OES_EGL_image_external_essl3]     = EBhDisable;
  189|     58|    extensionBehavior[E_GL_EXT_YUV_target]                   = EBhDisable;
  190|     58|    extensionBehavior[E_GL_EXT_shader_texture_lod]           = EBhDisable;
  191|     58|    extensionBehavior[E_GL_EXT_shadow_samplers]              = EBhDisable;
  192|     58|    extensionBehavior[E_GL_ARB_texture_rectangle]            = EBhDisable;
  193|     58|    extensionBehavior[E_GL_3DL_array_objects]                = EBhDisable;
  194|     58|    extensionBehavior[E_GL_ARB_shading_language_420pack]     = EBhDisable;
  195|     58|    extensionBehavior[E_GL_ARB_texture_gather]               = EBhDisable;
  196|     58|    extensionBehavior[E_GL_ARB_gpu_shader5]                  = EBhDisable;
  197|     58|    extensionBehavior[E_GL_ARB_separate_shader_objects]      = EBhDisable;
  198|     58|    extensionBehavior[E_GL_ARB_compute_shader]               = EBhDisable;
  199|     58|    extensionBehavior[E_GL_ARB_tessellation_shader]          = EBhDisable;
  200|     58|    extensionBehavior[E_GL_ARB_enhanced_layouts]             = EBhDisable;
  201|     58|    extensionBehavior[E_GL_ARB_texture_cube_map_array]       = EBhDisable;
  202|     58|    extensionBehavior[E_GL_ARB_texture_multisample]          = EBhDisable;
  203|     58|    extensionBehavior[E_GL_ARB_shader_texture_lod]           = EBhDisable;
  204|     58|    extensionBehavior[E_GL_ARB_explicit_attrib_location]     = EBhDisable;
  205|     58|    extensionBehavior[E_GL_ARB_explicit_uniform_location]    = EBhDisable;
  206|     58|    extensionBehavior[E_GL_ARB_shader_image_load_store]      = EBhDisable;
  207|     58|    extensionBehavior[E_GL_ARB_shader_atomic_counters]       = EBhDisable;
  208|     58|    extensionBehavior[E_GL_ARB_shader_atomic_counter_ops]    = EBhDisable;
  209|     58|    extensionBehavior[E_GL_ARB_shader_draw_parameters]       = EBhDisable;
  210|     58|    extensionBehavior[E_GL_ARB_shader_group_vote]            = EBhDisable;
  211|     58|    extensionBehavior[E_GL_ARB_derivative_control]           = EBhDisable;
  212|     58|    extensionBehavior[E_GL_ARB_shader_texture_image_samples] = EBhDisable;
  213|     58|    extensionBehavior[E_GL_ARB_viewport_array]               = EBhDisable;
  214|     58|    extensionBehavior[E_GL_ARB_gpu_shader_int64]             = EBhDisable;
  215|     58|    extensionBehavior[E_GL_ARB_gpu_shader_fp64]              = EBhDisable;
  216|     58|    extensionBehavior[E_GL_ARB_shader_ballot]                = EBhDisable;
  217|     58|    extensionBehavior[E_GL_ARB_sparse_texture2]              = EBhDisable;
  218|     58|    extensionBehavior[E_GL_ARB_sparse_texture_clamp]         = EBhDisable;
  219|     58|    extensionBehavior[E_GL_ARB_shader_stencil_export]        = EBhDisable;
  220|       |//    extensionBehavior[E_GL_ARB_cull_distance]                = EBhDisable;    // present for 4.5, but need extension control over block members
  221|     58|    extensionBehavior[E_GL_ARB_post_depth_coverage]          = EBhDisable;
  222|     58|    extensionBehavior[E_GL_ARB_shader_viewport_layer_array]  = EBhDisable;
  223|     58|    extensionBehavior[E_GL_ARB_fragment_shader_interlock]    = EBhDisable;
  224|     58|    extensionBehavior[E_GL_ARB_shader_clock]                 = EBhDisable;
  225|     58|    extensionBehavior[E_GL_ARB_uniform_buffer_object]        = EBhDisable;
  226|     58|    extensionBehavior[E_GL_ARB_sample_shading]               = EBhDisable;
  227|     58|    extensionBehavior[E_GL_ARB_shader_bit_encoding]          = EBhDisable;
  228|     58|    extensionBehavior[E_GL_ARB_shader_image_size]            = EBhDisable;
  229|     58|    extensionBehavior[E_GL_ARB_shader_storage_buffer_object] = EBhDisable;
  230|     58|    extensionBehavior[E_GL_ARB_shading_language_packing]     = EBhDisable;
  231|     58|    extensionBehavior[E_GL_ARB_texture_query_lod]            = EBhDisable;
  232|     58|    extensionBehavior[E_GL_ARB_vertex_attrib_64bit]          = EBhDisable;
  233|     58|    extensionBehavior[E_GL_NV_gpu_shader5]                   = EBhDisable;
  234|     58|    extensionBehavior[E_GL_ARB_draw_instanced]               = EBhDisable;
  235|     58|    extensionBehavior[E_GL_ARB_bindless_texture]             = EBhDisable;
  236|     58|    extensionBehavior[E_GL_ARB_fragment_coord_conventions]   = EBhDisable;
  237|     58|    extensionBehavior[E_GL_ARB_conservative_depth]           = EBhDisable;
  238|       |
  239|       |
  240|     58|    extensionBehavior[E_GL_KHR_shader_subgroup_basic]            = EBhDisable;
  241|     58|    extensionBehavior[E_GL_KHR_shader_subgroup_vote]             = EBhDisable;
  242|     58|    extensionBehavior[E_GL_KHR_shader_subgroup_arithmetic]       = EBhDisable;
  243|     58|    extensionBehavior[E_GL_KHR_shader_subgroup_ballot]           = EBhDisable;
  244|     58|    extensionBehavior[E_GL_KHR_shader_subgroup_shuffle]          = EBhDisable;
  245|     58|    extensionBehavior[E_GL_KHR_shader_subgroup_shuffle_relative] = EBhDisable;
  246|     58|    extensionBehavior[E_GL_KHR_shader_subgroup_rotate]           = EBhDisable;
  247|     58|    extensionBehavior[E_GL_KHR_shader_subgroup_clustered]        = EBhDisable;
  248|     58|    extensionBehavior[E_GL_KHR_shader_subgroup_quad]             = EBhDisable;
  249|     58|    extensionBehavior[E_GL_KHR_memory_scope_semantics]           = EBhDisable;
  250|       |
  251|     58|    extensionBehavior[E_GL_EXT_shader_atomic_int64]              = EBhDisable;
  252|       |
  253|     58|    extensionBehavior[E_GL_EXT_shader_non_constant_global_initializers] = EBhDisable;
  254|     58|    extensionBehavior[E_GL_EXT_shader_image_load_formatted]             = EBhDisable;
  255|     58|    extensionBehavior[E_GL_EXT_post_depth_coverage]                     = EBhDisable;
  256|     58|    extensionBehavior[E_GL_EXT_control_flow_attributes]                 = EBhDisable;
  257|     58|    extensionBehavior[E_GL_EXT_nonuniform_qualifier]                    = EBhDisable;
  258|     58|    extensionBehavior[E_GL_EXT_samplerless_texture_functions]           = EBhDisable;
  259|     58|    extensionBehavior[E_GL_EXT_scalar_block_layout]                     = EBhDisable;
  260|     58|    extensionBehavior[E_GL_EXT_fragment_invocation_density]             = EBhDisable;
  261|     58|    extensionBehavior[E_GL_EXT_buffer_reference]                        = EBhDisable;
  262|     58|    extensionBehavior[E_GL_EXT_buffer_reference2]                       = EBhDisable;
  263|     58|    extensionBehavior[E_GL_EXT_buffer_reference_uvec2]                  = EBhDisable;
  264|     58|    extensionBehavior[E_GL_EXT_demote_to_helper_invocation]             = EBhDisable;
  265|     58|    extensionBehavior[E_GL_EXT_debug_printf]                            = EBhDisable;
  266|       |
  267|     58|    extensionBehavior[E_GL_EXT_shader_16bit_storage]                    = EBhDisable;
  268|     58|    extensionBehavior[E_GL_EXT_shader_8bit_storage]                     = EBhDisable;
  269|     58|    extensionBehavior[E_GL_EXT_subgroup_uniform_control_flow]           = EBhDisable;
  270|     58|    extensionBehavior[E_GL_EXT_maximal_reconvergence]                   = EBhDisable;
  271|       |
  272|     58|    extensionBehavior[E_GL_EXT_fragment_shader_barycentric]             = EBhDisable;
  273|     58|    extensionBehavior[E_GL_EXT_expect_assume]                           = EBhDisable;
  274|       |
  275|     58|    extensionBehavior[E_GL_EXT_control_flow_attributes2]                = EBhDisable;
  276|     58|    extensionBehavior[E_GL_EXT_function_control_attributes]             = EBhDisable;
  277|     58|    extensionBehavior[E_GL_EXT_spec_constant_composites]                = EBhDisable;
  278|     58|    extensionBehavior[E_GL_EXT_abort]                                   = EBhDisable;
  279|     58|    extensionBehavior[E_GL_EXT_split_barrier]                           = EBhDisable;
  280|       |
  281|     58|    extensionBehavior[E_GL_KHR_cooperative_matrix]                      = EBhDisable;
  282|     58|    extensionBehavior[E_GL_NV_cooperative_vector]                       = EBhDisable;
  283|       |
  284|       |    // #line and #include
  285|     58|    extensionBehavior[E_GL_GOOGLE_cpp_style_line_directive]          = EBhDisable;
  286|     58|    extensionBehavior[E_GL_GOOGLE_include_directive]                 = EBhDisable;
  287|     58|    extensionBehavior[E_GL_ARB_shading_language_include]             = EBhDisable;
  288|       |
  289|     58|    extensionBehavior[E_GL_AMD_shader_ballot]                        = EBhDisable;
  290|     58|    extensionBehavior[E_GL_AMD_shader_trinary_minmax]                = EBhDisable;
  291|     58|    extensionBehavior[E_GL_AMD_shader_explicit_vertex_parameter]     = EBhDisable;
  292|     58|    extensionBehavior[E_GL_AMD_gcn_shader]                           = EBhDisable;
  293|     58|    extensionBehavior[E_GL_AMD_gpu_shader_half_float]                = EBhDisable;
  294|     58|    extensionBehavior[E_GL_AMD_texture_gather_bias_lod]              = EBhDisable;
  295|     58|    extensionBehavior[E_GL_AMD_gpu_shader_int16]                     = EBhDisable;
  296|     58|    extensionBehavior[E_GL_AMD_shader_image_load_store_lod]          = EBhDisable;
  297|     58|    extensionBehavior[E_GL_AMD_shader_fragment_mask]                 = EBhDisable;
  298|     58|    extensionBehavior[E_GL_AMD_gpu_shader_half_float_fetch]          = EBhDisable;
  299|     58|    extensionBehavior[E_GL_AMD_shader_early_and_late_fragment_tests] = EBhDisable;
  300|       |
  301|     58|    extensionBehavior[E_GL_INTEL_shader_integer_functions2]          = EBhDisable;
  302|       |
  303|     58|    extensionBehavior[E_GL_NV_sample_mask_override_coverage]         = EBhDisable;
  304|     58|    extensionBehavior[E_SPV_NV_geometry_shader_passthrough]          = EBhDisable;
  305|     58|    extensionBehavior[E_GL_NV_viewport_array2]                       = EBhDisable;
  306|     58|    extensionBehavior[E_GL_NV_stereo_view_rendering]                 = EBhDisable;
  307|     58|    extensionBehavior[E_GL_NVX_multiview_per_view_attributes]        = EBhDisable;
  308|     58|    extensionBehavior[E_GL_NV_shader_atomic_int64]                   = EBhDisable;
  309|     58|    extensionBehavior[E_GL_NV_conservative_raster_underestimation]   = EBhDisable;
  310|     58|    extensionBehavior[E_GL_NV_shader_noperspective_interpolation]    = EBhDisable;
  311|     58|    extensionBehavior[E_GL_NV_shader_subgroup_partitioned]           = EBhDisable;
  312|     58|    extensionBehavior[E_GL_NV_shading_rate_image]                    = EBhDisable;
  313|     58|    extensionBehavior[E_GL_NV_ray_tracing]                           = EBhDisable;
  314|     58|    extensionBehavior[E_GL_NV_ray_tracing_motion_blur]               = EBhDisable;
  315|     58|    extensionBehavior[E_GL_NV_fragment_shader_barycentric]           = EBhDisable;
  316|     58|    extensionBehavior[E_GL_KHR_compute_shader_derivatives]           = EBhDisable;
  317|     58|    extensionBehavior[E_GL_NV_compute_shader_derivatives]            = EBhDisable;
  318|     58|    extensionBehavior[E_GL_NV_shader_texture_footprint]              = EBhDisable;
  319|     58|    extensionBehavior[E_GL_NV_mesh_shader]                           = EBhDisable;
  320|     58|    extensionBehavior[E_GL_NV_cooperative_matrix]                    = EBhDisable;
  321|     58|    extensionBehavior[E_GL_NV_shader_sm_builtins]                    = EBhDisable;
  322|     58|    extensionBehavior[E_GL_NV_integer_cooperative_matrix]            = EBhDisable;
  323|     58|    extensionBehavior[E_GL_NV_shader_invocation_reorder]             = EBhDisable;
  324|     58|    extensionBehavior[E_GL_NV_displacement_micromap]                 = EBhDisable;
  325|     58|    extensionBehavior[E_GL_NV_shader_atomic_fp16_vector]             = EBhDisable;
  326|     58|    extensionBehavior[E_GL_NV_cooperative_matrix2]                   = EBhDisable;
  327|     58|    extensionBehavior[E_GL_NV_cooperative_matrix_decode_vector]      = EBhDisable;
  328|     58|    extensionBehavior[E_GL_NV_cluster_acceleration_structure]        = EBhDisable;
  329|     58|    extensionBehavior[E_GL_NV_linear_swept_spheres]                  = EBhDisable;
  330|     58|    extensionBehavior[E_GL_NV_desktop_lowp_mediump]                  = EBhDisable;
  331|     58|    extensionBehavior[E_GL_NV_push_constant_bank]                    = EBhDisable;
  332|     58|    extensionBehavior[E_GL_NV_explicit_typecast]                     = EBhDisable;
  333|       |
  334|       |    // ARM
  335|     58|    extensionBehavior[E_GL_ARM_shader_core_builtins]                 = EBhDisable;
  336|     58|    extensionBehavior[E_GL_ARM_tensors]                              = EBhDisable;
  337|     58|    extensionBehavior[E_GL_ARM_tensors_bfloat16]                     = EBhDisable;
  338|     58|    extensionBehavior[E_GL_ARM_tensors_float_e5m2]                   = EBhDisable;
  339|     58|    extensionBehavior[E_GL_ARM_tensors_float_e4m3]                   = EBhDisable;
  340|       |
  341|       |    // QCOM
  342|     58|    extensionBehavior[E_GL_QCOM_image_processing]                    = EBhDisable;
  343|     58|    extensionBehavior[E_GL_QCOM_image_processing2]                   = EBhDisable;
  344|     58|    extensionBehavior[E_GL_QCOM_image_processing3]                   = EBhDisable;
  345|     58|    extensionBehavior[E_GL_QCOM_tile_shading]                        = EBhDisable;
  346|     58|    extensionBehavior[E_GL_QCOM_cooperative_matrix_conversion]       = EBhDisable;
  347|     58|    extensionBehavior[E_GL_QCOM_multiple_wait_queues]                = EBhDisable;
  348|       |
  349|       |    // AEP
  350|     58|    extensionBehavior[E_GL_ANDROID_extension_pack_es31a]             = EBhDisable;
  351|     58|    extensionBehavior[E_GL_KHR_blend_equation_advanced]              = EBhDisable;
  352|     58|    extensionBehavior[E_GL_OES_sample_variables]                     = EBhDisable;
  353|     58|    extensionBehavior[E_GL_OES_shader_image_atomic]                  = EBhDisable;
  354|     58|    extensionBehavior[E_GL_OES_shader_multisample_interpolation]     = EBhDisable;
  355|     58|    extensionBehavior[E_GL_OES_texture_storage_multisample_2d_array] = EBhDisable;
  356|     58|    extensionBehavior[E_GL_EXT_geometry_shader]                      = EBhDisable;
  357|     58|    extensionBehavior[E_GL_EXT_geometry_point_size]                  = EBhDisable;
  358|     58|    extensionBehavior[E_GL_EXT_gpu_shader5]                          = EBhDisable;
  359|     58|    extensionBehavior[E_GL_EXT_primitive_bounding_box]               = EBhDisable;
  360|     58|    extensionBehavior[E_GL_EXT_shader_io_blocks]                     = EBhDisable;
  361|     58|    extensionBehavior[E_GL_EXT_tessellation_shader]                  = EBhDisable;
  362|     58|    extensionBehavior[E_GL_EXT_tessellation_point_size]              = EBhDisable;
  363|     58|    extensionBehavior[E_GL_EXT_texture_buffer]                       = EBhDisable;
  364|     58|    extensionBehavior[E_GL_EXT_texture_cube_map_array]               = EBhDisable;
  365|     58|    extensionBehavior[E_GL_EXT_null_initializer]                     = EBhDisable;
  366|     58|    extensionBehavior[E_GL_EXT_descriptor_heap]                      = EBhDisable;
  367|     58|    extensionBehavior[E_GL_EXT_structured_descriptor_heap]           = EBhDisable;
  368|       |
  369|       |    // OES matching AEP
  370|     58|    extensionBehavior[E_GL_OES_geometry_shader]          = EBhDisable;
  371|     58|    extensionBehavior[E_GL_OES_geometry_point_size]      = EBhDisable;
  372|     58|    extensionBehavior[E_GL_OES_gpu_shader5]              = EBhDisable;
  373|     58|    extensionBehavior[E_GL_OES_primitive_bounding_box]   = EBhDisable;
  374|     58|    extensionBehavior[E_GL_OES_shader_io_blocks]         = EBhDisable;
  375|     58|    extensionBehavior[E_GL_OES_tessellation_shader]      = EBhDisable;
  376|     58|    extensionBehavior[E_GL_OES_tessellation_point_size]  = EBhDisable;
  377|     58|    extensionBehavior[E_GL_OES_texture_buffer]           = EBhDisable;
  378|     58|    extensionBehavior[E_GL_OES_texture_cube_map_array]   = EBhDisable;
  379|     58|    extensionBehavior[E_GL_EXT_shader_integer_mix]       = EBhDisable;
  380|       |
  381|       |    // EXT extensions
  382|     58|    extensionBehavior[E_GL_EXT_device_group]                = EBhDisable;
  383|     58|    extensionBehavior[E_GL_EXT_multiview]                   = EBhDisable;
  384|     58|    extensionBehavior[E_GL_EXT_shader_realtime_clock]       = EBhDisable;
  385|     58|    extensionBehavior[E_GL_EXT_ray_tracing]                 = EBhDisable;
  386|     58|    extensionBehavior[E_GL_EXT_ray_query]                   = EBhDisable;
  387|     58|    extensionBehavior[E_GL_EXT_ray_flags_primitive_culling] = EBhDisable;
  388|     58|    extensionBehavior[E_GL_EXT_ray_cull_mask]               = EBhDisable;
  389|     58|    extensionBehavior[E_GL_EXT_blend_func_extended]         = EBhDisable;
  390|     58|    extensionBehavior[E_GL_EXT_shader_implicit_conversions] = EBhDisable;
  391|     58|    extensionBehavior[E_GL_EXT_fragment_shading_rate]       = EBhDisable;
  392|     58|    extensionBehavior[E_GL_EXT_shader_image_int64]          = EBhDisable;
  393|     58|    extensionBehavior[E_GL_EXT_terminate_invocation]        = EBhDisable;
  394|     58|    extensionBehavior[E_GL_EXT_shared_memory_block]         = EBhDisable;
  395|     58|    extensionBehavior[E_GL_EXT_spirv_intrinsics]            = EBhDisable;
  396|     58|    extensionBehavior[E_GL_EXT_mesh_shader]                 = EBhDisable;
  397|     58|    extensionBehavior[E_GL_EXT_opacity_micromap]            = EBhDisable;
  398|     58|    extensionBehavior[E_GL_EXT_opacity_micromap_ray_query_mode] = EBhDisable;
  399|     58|    extensionBehavior[E_GL_EXT_shader_quad_control]         = EBhDisable;
  400|     58|    extensionBehavior[E_GL_EXT_ray_tracing_position_fetch]  = EBhDisable;
  401|     58|    extensionBehavior[E_GL_EXT_shader_tile_image]           = EBhDisable;
  402|     58|    extensionBehavior[E_GL_EXT_texture_shadow_lod]          = EBhDisable;
  403|     58|    extensionBehavior[E_GL_EXT_draw_instanced]              = EBhDisable;
  404|     58|    extensionBehavior[E_GL_EXT_texture_array]               = EBhDisable;
  405|     58|    extensionBehavior[E_GL_EXT_texture_offset_non_const]    = EBhDisable;
  406|     58|    extensionBehavior[E_GL_EXT_nontemporal_keyword]         = EBhDisable;
  407|     58|    extensionBehavior[E_GL_EXT_bfloat16]                    = EBhDisable;
  408|     58|    extensionBehavior[E_GL_EXT_float_e4m3]                  = EBhDisable;
  409|     58|    extensionBehavior[E_GL_EXT_float_e5m2]                  = EBhDisable;
  410|     58|    extensionBehavior[E_GL_EXT_uniform_buffer_unsized_array] = EBhDisable;
  411|     58|    extensionBehavior[E_GL_EXT_shader_64bit_indexing]       = EBhDisable;
  412|     58|    extensionBehavior[E_GL_EXT_conservative_depth]          = EBhDisable;
  413|     58|    extensionBehavior[E_GL_EXT_long_vector]                 = EBhDisable;
  414|     58|    extensionBehavior[E_GL_EXT_float_e2m1]                  = EBhDisable;
  415|     58|    extensionBehavior[E_GL_EXT_float_e3m2]                  = EBhDisable;
  416|     58|    extensionBehavior[E_GL_EXT_float_e2m3]                  = EBhDisable;
  417|     58|    extensionBehavior[E_GL_EXT_float_ue8m0]                 = EBhDisable;
  418|     58|    extensionBehavior[E_GL_EXT_float_mxint8]                = EBhDisable;
  419|     58|    extensionBehavior[E_GL_EXT_optional_input_attachment_index] = EBhDisable;
  420|     58|    extensionBehavior[E_GL_EXT_cooperative_matrix_maintenance1] = EBhDisable;
  421|       |
  422|       |    // OVR extensions
  423|     58|    extensionBehavior[E_GL_OVR_multiview]                = EBhDisable;
  424|     58|    extensionBehavior[E_GL_OVR_multiview2]               = EBhDisable;
  425|       |
  426|       |    // explicit types
  427|     58|    extensionBehavior[E_GL_EXT_shader_explicit_arithmetic_types]         = EBhDisable;
  428|     58|    extensionBehavior[E_GL_EXT_shader_explicit_arithmetic_types_int8]    = EBhDisable;
  429|     58|    extensionBehavior[E_GL_EXT_shader_explicit_arithmetic_types_int16]   = EBhDisable;
  430|     58|    extensionBehavior[E_GL_EXT_shader_explicit_arithmetic_types_int32]   = EBhDisable;
  431|     58|    extensionBehavior[E_GL_EXT_shader_explicit_arithmetic_types_int64]   = EBhDisable;
  432|     58|    extensionBehavior[E_GL_EXT_shader_explicit_arithmetic_types_float16] = EBhDisable;
  433|     58|    extensionBehavior[E_GL_EXT_shader_explicit_arithmetic_types_float32] = EBhDisable;
  434|     58|    extensionBehavior[E_GL_EXT_shader_explicit_arithmetic_types_float64] = EBhDisable;
  435|       |
  436|       |    // subgroup extended types
  437|     58|    extensionBehavior[E_GL_EXT_shader_subgroup_extended_types_int8]    = EBhDisable;
  438|     58|    extensionBehavior[E_GL_EXT_shader_subgroup_extended_types_int16]   = EBhDisable;
  439|     58|    extensionBehavior[E_GL_EXT_shader_subgroup_extended_types_int64]   = EBhDisable;
  440|     58|    extensionBehavior[E_GL_EXT_shader_subgroup_extended_types_float16] = EBhDisable;
  441|     58|    extensionBehavior[E_GL_EXT_shader_atomic_float]                    = EBhDisable;
  442|     58|    extensionBehavior[E_GL_EXT_shader_atomic_float2]                   = EBhDisable;
  443|       |
  444|     58|    extensionBehavior[E_GL_EXT_integer_dot_product]                    = EBhDisable;
  445|       |
  446|     58|    extensionBehavior[E_GL_EXT_shader_invocation_reorder]              = EBhDisable;
  447|       |
  448|       |    // Record extensions not for spv.
  449|     58|    spvUnsupportedExt.push_back(E_GL_ARB_bindless_texture);
  450|     58|}
_ZN7glslang14TParseVersions11getPreambleERNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
  455|     58|{
  456|     58|    if (isEsProfile()) {
  ------------------
  |  Branch (456:9): [True: 34, False: 24]
  ------------------
  457|     34|        preamble =
  458|     34|            "#define GL_ES 1\n"
  459|     34|            "#define GL_FRAGMENT_PRECISION_HIGH 1\n"
  460|     34|            "#define GL_OES_texture_3D 1\n"
  461|     34|            "#define GL_OES_standard_derivatives 1\n"
  462|     34|            "#define GL_EXT_frag_depth 1\n"
  463|     34|            "#define GL_OES_EGL_image_external 1\n"
  464|     34|            "#define GL_OES_EGL_image_external_essl3 1\n"
  465|     34|            "#define GL_EXT_YUV_target 1\n"
  466|     34|            "#define GL_EXT_shader_texture_lod 1\n"
  467|     34|            "#define GL_EXT_shadow_samplers 1\n"
  468|     34|            "#define GL_EXT_fragment_shading_rate 1\n"
  469|     34|            "#define GL_EXT_conservative_depth 1\n"
  470|       |
  471|       |            // AEP
  472|     34|            "#define GL_ANDROID_extension_pack_es31a 1\n"
  473|     34|            "#define GL_OES_sample_variables 1\n"
  474|     34|            "#define GL_OES_shader_image_atomic 1\n"
  475|     34|            "#define GL_OES_shader_multisample_interpolation 1\n"
  476|     34|            "#define GL_OES_texture_storage_multisample_2d_array 1\n"
  477|     34|            "#define GL_EXT_geometry_shader 1\n"
  478|     34|            "#define GL_EXT_geometry_point_size 1\n"
  479|     34|            "#define GL_EXT_gpu_shader5 1\n"
  480|     34|            "#define GL_EXT_primitive_bounding_box 1\n"
  481|     34|            "#define GL_EXT_shader_io_blocks 1\n"
  482|     34|            "#define GL_EXT_tessellation_shader 1\n"
  483|     34|            "#define GL_EXT_tessellation_point_size 1\n"
  484|     34|            "#define GL_EXT_texture_buffer 1\n"
  485|     34|            "#define GL_EXT_texture_cube_map_array 1\n"
  486|     34|            "#define GL_EXT_shader_implicit_conversions 1\n"
  487|     34|            "#define GL_EXT_shader_integer_mix 1\n"
  488|     34|            "#define GL_EXT_blend_func_extended 1\n"
  489|     34|            "#define GL_EXT_descriptor_heap 1\n"
  490|     34|            "#define GL_EXT_structured_descriptor_heap 1\n"
  491|     34|            "#define GL_EXT_split_barrier 1\n"
  492|       |
  493|       |            // OES matching AEP
  494|     34|            "#define GL_OES_geometry_shader 1\n"
  495|     34|            "#define GL_OES_geometry_point_size 1\n"
  496|     34|            "#define GL_OES_gpu_shader5 1\n"
  497|     34|            "#define GL_OES_primitive_bounding_box 1\n"
  498|     34|            "#define GL_OES_shader_io_blocks 1\n"
  499|     34|            "#define GL_OES_tessellation_shader 1\n"
  500|     34|            "#define GL_OES_tessellation_point_size 1\n"
  501|     34|            "#define GL_OES_texture_buffer 1\n"
  502|     34|            "#define GL_OES_texture_cube_map_array 1\n"
  503|     34|            "#define GL_EXT_shader_non_constant_global_initializers 1\n"
  504|       |
  505|     34|            "#define GL_QCOM_image_processing 1\n"
  506|     34|            "#define GL_QCOM_image_processing2 1\n"
  507|     34|            "#define GL_QCOM_image_processing3 1\n"
  508|     34|            "#define GL_QCOM_tile_shading 1\n"
  509|     34|            "#define GL_QCOM_cooperative_matrix_conversion 1\n"
  510|     34|            "#define GL_QCOM_multiple_wait_queues 1\n"
  511|     34|            ;
  512|       |
  513|     34|            if (version >= 300) {
  ------------------
  |  Branch (513:17): [True: 0, False: 34]
  ------------------
  514|      0|                preamble += "#define GL_NV_shader_noperspective_interpolation 1\n";
  515|      0|            }
  516|     34|            if (version >= 310) {
  ------------------
  |  Branch (516:17): [True: 0, False: 34]
  ------------------
  517|      0|                preamble += "#define GL_EXT_null_initializer 1\n";
  518|      0|                preamble += "#define GL_EXT_subgroup_uniform_control_flow 1\n";
  519|      0|                preamble += "#define GL_EXT_maximal_reconvergence 1\n";
  520|      0|            }
  521|       |
  522|     34|    } else { // !isEsProfile()
  523|     24|        preamble =
  524|     24|            "#define GL_ARB_texture_rectangle 1\n"
  525|     24|            "#define GL_ARB_shading_language_420pack 1\n"
  526|     24|            "#define GL_ARB_texture_gather 1\n"
  527|     24|            "#define GL_ARB_gpu_shader5 1\n"
  528|     24|            "#define GL_ARB_separate_shader_objects 1\n"
  529|     24|            "#define GL_ARB_compute_shader 1\n"
  530|     24|            "#define GL_ARB_tessellation_shader 1\n"
  531|     24|            "#define GL_ARB_enhanced_layouts 1\n"
  532|     24|            "#define GL_ARB_texture_cube_map_array 1\n"
  533|     24|            "#define GL_ARB_texture_multisample 1\n"
  534|     24|            "#define GL_ARB_shader_texture_lod 1\n"
  535|     24|            "#define GL_ARB_explicit_attrib_location 1\n"
  536|     24|            "#define GL_ARB_explicit_uniform_location 1\n"
  537|     24|            "#define GL_ARB_shader_image_load_store 1\n"
  538|     24|            "#define GL_ARB_shader_atomic_counters 1\n"
  539|     24|            "#define GL_ARB_shader_draw_parameters 1\n"
  540|     24|            "#define GL_ARB_shader_group_vote 1\n"
  541|     24|            "#define GL_ARB_derivative_control 1\n"
  542|     24|            "#define GL_ARB_shader_texture_image_samples 1\n"
  543|     24|            "#define GL_ARB_viewport_array 1\n"
  544|     24|            "#define GL_ARB_gpu_shader_int64 1\n"
  545|     24|            "#define GL_ARB_gpu_shader_fp64 1\n"
  546|     24|            "#define GL_ARB_shader_ballot 1\n"
  547|     24|            "#define GL_ARB_sparse_texture2 1\n"
  548|     24|            "#define GL_ARB_sparse_texture_clamp 1\n"
  549|     24|            "#define GL_ARB_shader_stencil_export 1\n"
  550|     24|            "#define GL_ARB_sample_shading 1\n"
  551|     24|            "#define GL_ARB_shader_image_size 1\n"
  552|     24|            "#define GL_ARB_shading_language_packing 1\n"
  553|       |//            "#define GL_ARB_cull_distance 1\n"    // present for 4.5, but need extension control over block members
  554|     24|            "#define GL_ARB_post_depth_coverage 1\n"
  555|     24|            "#define GL_ARB_fragment_shader_interlock 1\n"
  556|     24|            "#define GL_ARB_uniform_buffer_object 1\n"
  557|     24|            "#define GL_ARB_shader_bit_encoding 1\n"
  558|     24|            "#define GL_ARB_shader_storage_buffer_object 1\n"
  559|     24|            "#define GL_ARB_texture_query_lod 1\n"
  560|     24|            "#define GL_ARB_vertex_attrib_64bit 1\n"
  561|     24|            "#define GL_NV_gpu_shader5 1\n"
  562|     24|            "#define GL_ARB_draw_instanced 1\n"
  563|     24|            "#define GL_ARB_fragment_coord_conventions 1\n"
  564|     24|            "#define GL_ARB_conservative_depth 1\n"
  565|       |
  566|     24|            "#define GL_EXT_shader_non_constant_global_initializers 1\n"
  567|     24|            "#define GL_EXT_shader_image_load_formatted 1\n"
  568|     24|            "#define GL_EXT_post_depth_coverage 1\n"
  569|     24|            "#define GL_EXT_control_flow_attributes 1\n"
  570|     24|            "#define GL_EXT_nonuniform_qualifier 1\n"
  571|     24|            "#define GL_EXT_shader_16bit_storage 1\n"
  572|     24|            "#define GL_EXT_shader_8bit_storage 1\n"
  573|     24|            "#define GL_EXT_samplerless_texture_functions 1\n"
  574|     24|            "#define GL_EXT_scalar_block_layout 1\n"
  575|     24|            "#define GL_EXT_fragment_invocation_density 1\n"
  576|     24|            "#define GL_EXT_buffer_reference 1\n"
  577|     24|            "#define GL_EXT_buffer_reference2 1\n"
  578|     24|            "#define GL_EXT_buffer_reference_uvec2 1\n"
  579|     24|            "#define GL_EXT_demote_to_helper_invocation 1\n"
  580|     24|            "#define GL_EXT_debug_printf 1\n"
  581|     24|            "#define GL_EXT_fragment_shading_rate 1\n"
  582|     24|            "#define GL_EXT_shared_memory_block 1\n"
  583|     24|            "#define GL_EXT_shader_integer_mix 1\n"
  584|     24|            "#define GL_EXT_spec_constant_composites 1\n"
  585|     24|            "#define GL_EXT_abort 1\n"
  586|     24|            "#define GL_EXT_split_barrier 1\n"
  587|     24|            "#define GL_EXT_cooperative_matrix_maintenance1 1\n"
  588|       |
  589|       |            // GL_KHR_shader_subgroup
  590|     24|            "#define GL_KHR_shader_subgroup_basic 1\n"
  591|     24|            "#define GL_KHR_shader_subgroup_vote 1\n"
  592|     24|            "#define GL_KHR_shader_subgroup_arithmetic 1\n"
  593|     24|            "#define GL_KHR_shader_subgroup_ballot 1\n"
  594|     24|            "#define GL_KHR_shader_subgroup_shuffle 1\n"
  595|     24|            "#define GL_KHR_shader_subgroup_shuffle_relative 1\n"
  596|     24|            "#define GL_KHR_shader_subgroup_clustered 1\n"
  597|     24|            "#define GL_KHR_shader_subgroup_quad 1\n"
  598|       |
  599|     24|            "#define GL_KHR_cooperative_matrix 1\n"
  600|       |
  601|     24|            "#define GL_EXT_shader_image_int64 1\n"
  602|     24|            "#define GL_EXT_shader_atomic_int64 1\n"
  603|     24|            "#define GL_EXT_shader_realtime_clock 1\n"
  604|     24|            "#define GL_EXT_ray_tracing 1\n"
  605|     24|            "#define GL_EXT_ray_query 1\n"
  606|     24|            "#define GL_EXT_ray_flags_primitive_culling 1\n"
  607|     24|            "#define GL_EXT_ray_cull_mask 1\n"
  608|     24|            "#define GL_EXT_ray_tracing_position_fetch 1\n"
  609|     24|            "#define GL_EXT_spirv_intrinsics 1\n"
  610|     24|            "#define GL_EXT_mesh_shader 1\n"
  611|       |
  612|     24|            "#define GL_AMD_shader_ballot 1\n"
  613|     24|            "#define GL_AMD_shader_trinary_minmax 1\n"
  614|     24|            "#define GL_AMD_shader_explicit_vertex_parameter 1\n"
  615|     24|            "#define GL_AMD_gcn_shader 1\n"
  616|     24|            "#define GL_AMD_gpu_shader_half_float 1\n"
  617|     24|            "#define GL_AMD_texture_gather_bias_lod 1\n"
  618|     24|            "#define GL_AMD_gpu_shader_int16 1\n"
  619|     24|            "#define GL_AMD_shader_image_load_store_lod 1\n"
  620|     24|            "#define GL_AMD_shader_fragment_mask 1\n"
  621|     24|            "#define GL_AMD_gpu_shader_half_float_fetch 1\n"
  622|       |
  623|     24|            "#define GL_INTEL_shader_integer_functions2 1\n"
  624|       |
  625|     24|            "#define GL_NV_sample_mask_override_coverage 1\n"
  626|     24|            "#define GL_NV_geometry_shader_passthrough 1\n"
  627|     24|            "#define GL_NV_viewport_array2 1\n"
  628|     24|            "#define GL_NV_shader_atomic_int64 1\n"
  629|     24|            "#define GL_NV_conservative_raster_underestimation 1\n"
  630|     24|            "#define GL_NV_shader_subgroup_partitioned 1\n"
  631|     24|            "#define GL_NV_shading_rate_image 1\n"
  632|     24|            "#define GL_NV_ray_tracing 1\n"
  633|     24|            "#define GL_NV_ray_tracing_motion_blur 1\n"
  634|     24|            "#define GL_NV_fragment_shader_barycentric 1\n"
  635|     24|            "#define GL_KHR_compute_shader_derivatives 1\n"
  636|     24|            "#define GL_NV_compute_shader_derivatives 1\n"
  637|     24|            "#define GL_NV_shader_texture_footprint 1\n"
  638|     24|            "#define GL_NV_mesh_shader 1\n"
  639|     24|            "#define GL_NV_cooperative_matrix 1\n"
  640|     24|            "#define GL_NV_integer_cooperative_matrix 1\n"
  641|     24|            "#define GL_NV_shader_invocation_reorder 1\n"
  642|     24|            "#define GL_NV_cooperative_matrix2 1\n"
  643|     24|            "#define GL_NV_cooperative_matrix_decode_vector 1\n"
  644|     24|            "#define GL_NV_desktop_lowp_mediump 1\n"
  645|     24|            "#define GL_NV_explicit_typecast 1\n"
  646|       |
  647|     24|            "#define GL_QCOM_image_processing 1\n"
  648|     24|            "#define GL_QCOM_image_processing2 1\n"
  649|     24|            "#define GL_QCOM_image_processing3 1\n"
  650|     24|            "#define GL_QCOM_tile_shading 1\n"
  651|     24|            "#define GL_QCOM_cooperative_matrix_conversion 1\n"
  652|     24|            "#define GL_QCOM_multiple_wait_queues 1\n"
  653|       |
  654|     24|            "#define GL_EXT_shader_explicit_arithmetic_types 1\n"
  655|     24|            "#define GL_EXT_shader_explicit_arithmetic_types_int8 1\n"
  656|     24|            "#define GL_EXT_shader_explicit_arithmetic_types_int16 1\n"
  657|     24|            "#define GL_EXT_shader_explicit_arithmetic_types_int32 1\n"
  658|     24|            "#define GL_EXT_shader_explicit_arithmetic_types_int64 1\n"
  659|     24|            "#define GL_EXT_shader_explicit_arithmetic_types_float16 1\n"
  660|     24|            "#define GL_EXT_shader_explicit_arithmetic_types_float32 1\n"
  661|     24|            "#define GL_EXT_shader_explicit_arithmetic_types_float64 1\n"
  662|       |
  663|     24|            "#define GL_EXT_shader_subgroup_extended_types_int8 1\n"
  664|     24|            "#define GL_EXT_shader_subgroup_extended_types_int16 1\n"
  665|     24|            "#define GL_EXT_shader_subgroup_extended_types_int64 1\n"
  666|     24|            "#define GL_EXT_shader_subgroup_extended_types_float16 1\n"
  667|       |
  668|     24|            "#define GL_EXT_shader_atomic_float 1\n"
  669|     24|            "#define GL_EXT_shader_atomic_float2 1\n"
  670|       |
  671|     24|            "#define GL_EXT_fragment_shader_barycentric 1\n"
  672|     24|            "#define GL_EXT_shader_quad_control 1\n"
  673|     24|            "#define GL_EXT_texture_array 1\n"
  674|       |
  675|     24|            "#define GL_EXT_control_flow_attributes2 1\n"
  676|     24|            "#define GL_EXT_function_control_attributes 1\n"
  677|       |
  678|     24|            "#define GL_EXT_integer_dot_product 1\n"
  679|     24|            "#define GL_EXT_bfloat16 1\n"
  680|     24|            "#define GL_EXT_float_e5m2 1\n"
  681|     24|            "#define GL_EXT_float_e4m3 1\n"
  682|     24|            "#define GL_EXT_uniform_buffer_unsized_array 1\n"
  683|     24|            "#define GL_EXT_shader_64bit_indexing 1\n"
  684|     24|            "#define GL_EXT_float_e2m1 1\n"
  685|     24|            "#define GL_EXT_float_e3m2 1\n"
  686|     24|            "#define GL_EXT_float_e2m3 1\n"
  687|     24|            "#define GL_EXT_float_ue8m0 1\n"
  688|     24|            "#define GL_EXT_float_mxint8 1\n"
  689|       |
  690|     24|            "#define GL_EXT_shader_invocation_reorder 1\n"
  691|     24|            "#define GL_EXT_descriptor_heap 1\n"
  692|     24|            "#define GL_EXT_structured_descriptor_heap 1\n"
  693|     24|            ;
  694|       |
  695|     24|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (695:13): [True: 24, False: 0]
  ------------------
  696|     24|            preamble += "#define GL_ARB_bindless_texture 1\n";
  697|     24|        }
  698|       |
  699|     24|        if (version >= 150) {
  ------------------
  |  Branch (699:13): [True: 24, False: 0]
  ------------------
  700|       |            // define GL_core_profile and GL_compatibility_profile
  701|     24|            preamble += "#define GL_core_profile 1\n";
  702|       |
  703|     24|            if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (703:17): [True: 0, False: 24]
  ------------------
  704|      0|                preamble += "#define GL_compatibility_profile 1\n";
  705|     24|        }
  706|     24|        if (version >= 140) {
  ------------------
  |  Branch (706:13): [True: 24, False: 0]
  ------------------
  707|     24|            preamble += "#define GL_EXT_null_initializer 1\n";
  708|     24|            preamble += "#define GL_EXT_subgroup_uniform_control_flow 1\n";
  709|     24|            preamble += "#define GL_EXT_maximal_reconvergence 1\n";
  710|     24|        }
  711|     24|        if (version >= 130) {
  ------------------
  |  Branch (711:13): [True: 24, False: 0]
  ------------------
  712|     24|            preamble +="#define GL_FRAGMENT_PRECISION_HIGH 1\n";
  713|     24|        }
  714|       |
  715|     24|        if (version >= 460) {
  ------------------
  |  Branch (715:13): [True: 22, False: 2]
  ------------------
  716|     22|            preamble +=
  717|     22|                "#define GL_ARM_tensors 1\n"
  718|     22|                "#define GL_ARM_tensors_bfloat16 1\n"
  719|     22|                "#define GL_ARM_tensors_float_e5m2 1\n"
  720|     22|                "#define GL_ARM_tensors_float_e4m3 1\n"
  721|     22|                ;
  722|     22|        }
  723|     24|    }
  724|       |
  725|     58|    if ((!isEsProfile() && version >= 460) ||
  ------------------
  |  Branch (725:10): [True: 24, False: 34]
  |  Branch (725:28): [True: 22, False: 2]
  ------------------
  726|     36|        (isEsProfile() && version >= 320)) {
  ------------------
  |  Branch (726:10): [True: 34, False: 2]
  |  Branch (726:27): [True: 0, False: 34]
  ------------------
  727|     22|        preamble += "#define GL_EXT_nontemporal_keyword 1\n";
  728|     22|    }
  729|       |
  730|     58|    if ((!isEsProfile() && version >= 140) ||
  ------------------
  |  Branch (730:10): [True: 24, False: 34]
  |  Branch (730:28): [True: 24, False: 0]
  ------------------
  731|     34|        (isEsProfile() && version >= 310)) {
  ------------------
  |  Branch (731:10): [True: 34, False: 0]
  |  Branch (731:27): [True: 0, False: 34]
  ------------------
  732|     24|        preamble +=
  733|     24|            "#define GL_EXT_device_group 1\n"
  734|     24|            "#define GL_EXT_multiview 1\n"
  735|     24|            "#define GL_NV_shader_sm_builtins 1\n"
  736|     24|            ;
  737|     24|    }
  738|       |
  739|     58|    if ((!isEsProfile() && version >= 130) ||
  ------------------
  |  Branch (739:10): [True: 24, False: 34]
  |  Branch (739:28): [True: 24, False: 0]
  ------------------
  740|     34|        (isEsProfile() && version >= 300)) {
  ------------------
  |  Branch (740:10): [True: 34, False: 0]
  |  Branch (740:27): [True: 0, False: 34]
  ------------------
  741|     24|        preamble += "#define GL_EXT_texture_offset_non_const 1\n";
  742|     24|    }
  743|       |
  744|     58|    if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (744:9): [True: 24, False: 34]
  ------------------
  745|     24|        preamble +=
  746|     24|            "#define GL_OVR_multiview 1\n"
  747|     24|            "#define GL_OVR_multiview2 1\n"
  748|     24|            ;
  749|     24|    }
  750|       |
  751|     58|    if ((!isEsProfile() && version >= 140) ||
  ------------------
  |  Branch (751:10): [True: 24, False: 34]
  |  Branch (751:28): [True: 24, False: 0]
  ------------------
  752|     34|        (isEsProfile() && version >= 300)) {
  ------------------
  |  Branch (752:10): [True: 34, False: 0]
  |  Branch (752:27): [True: 0, False: 34]
  ------------------
  753|     24|        preamble += "#define GL_EXT_optional_input_attachment_index 1\n";
  754|     24|    }
  755|       |
  756|       |    // #line and #include
  757|     58|    preamble +=
  758|     58|            "#define GL_GOOGLE_cpp_style_line_directive 1\n"
  759|     58|            "#define GL_GOOGLE_include_directive 1\n"
  760|     58|            "#define GL_KHR_blend_equation_advanced 1\n"
  761|     58|            ;
  762|       |
  763|       |    // other general extensions
  764|     58|    preamble +=
  765|     58|            "#define GL_EXT_terminate_invocation 1\n"
  766|     58|            ;
  767|       |
  768|       |    // #define VULKAN XXXX
  769|     58|    const int numberBufSize = 12;
  770|     58|    char numberBuf[numberBufSize];
  771|     58|    if (spvVersion.vulkanGlsl > 0) {
  ------------------
  |  Branch (771:9): [True: 10, False: 48]
  ------------------
  772|     10|        preamble += "#define VULKAN ";
  773|     10|        snprintf(numberBuf, numberBufSize, "%d", spvVersion.vulkanGlsl);
  774|     10|        preamble += numberBuf;
  775|     10|        preamble += "\n";
  776|     10|    }
  777|       |
  778|       |    // #define GL_SPIRV XXXX
  779|     58|    if (spvVersion.openGl > 0) {
  ------------------
  |  Branch (779:9): [True: 0, False: 58]
  ------------------
  780|      0|        preamble += "#define GL_SPIRV ";
  781|      0|        snprintf(numberBuf, numberBufSize, "%d", spvVersion.openGl);
  782|      0|        preamble += numberBuf;
  783|      0|        preamble += "\n";
  784|      0|    }
  785|       |
  786|       |    // GL_EXT_spirv_intrinsics
  787|     58|    if (!isEsProfile()) {
  ------------------
  |  Branch (787:9): [True: 24, False: 34]
  ------------------
  788|     24|        switch (language) {
  789|     24|        case EShLangVertex:         preamble += "#define GL_VERTEX_SHADER 1 \n";                    break;
  ------------------
  |  Branch (789:9): [True: 24, False: 0]
  ------------------
  790|      0|        case EShLangTessControl:    preamble += "#define GL_TESSELLATION_CONTROL_SHADER 1 \n";      break;
  ------------------
  |  Branch (790:9): [True: 0, False: 24]
  ------------------
  791|      0|        case EShLangTessEvaluation: preamble += "#define GL_TESSELLATION_EVALUATION_SHADER 1 \n";   break;
  ------------------
  |  Branch (791:9): [True: 0, False: 24]
  ------------------
  792|      0|        case EShLangGeometry:       preamble += "#define GL_GEOMETRY_SHADER 1 \n";                  break;
  ------------------
  |  Branch (792:9): [True: 0, False: 24]
  ------------------
  793|      0|        case EShLangFragment:       preamble += "#define GL_FRAGMENT_SHADER 1 \n";                  break;
  ------------------
  |  Branch (793:9): [True: 0, False: 24]
  ------------------
  794|      0|        case EShLangCompute:        preamble += "#define GL_COMPUTE_SHADER 1 \n";                   break;
  ------------------
  |  Branch (794:9): [True: 0, False: 24]
  ------------------
  795|      0|        case EShLangRayGen:         preamble += "#define GL_RAY_GENERATION_SHADER_EXT 1 \n";        break;
  ------------------
  |  Branch (795:9): [True: 0, False: 24]
  ------------------
  796|      0|        case EShLangIntersect:      preamble += "#define GL_INTERSECTION_SHADER_EXT 1 \n";          break;
  ------------------
  |  Branch (796:9): [True: 0, False: 24]
  ------------------
  797|      0|        case EShLangAnyHit:         preamble += "#define GL_ANY_HIT_SHADER_EXT 1 \n";               break;
  ------------------
  |  Branch (797:9): [True: 0, False: 24]
  ------------------
  798|      0|        case EShLangClosestHit:     preamble += "#define GL_CLOSEST_HIT_SHADER_EXT 1 \n";           break;
  ------------------
  |  Branch (798:9): [True: 0, False: 24]
  ------------------
  799|      0|        case EShLangMiss:           preamble += "#define GL_MISS_SHADER_EXT 1 \n";                  break;
  ------------------
  |  Branch (799:9): [True: 0, False: 24]
  ------------------
  800|      0|        case EShLangCallable:       preamble += "#define GL_CALLABLE_SHADER_EXT 1 \n";              break;
  ------------------
  |  Branch (800:9): [True: 0, False: 24]
  ------------------
  801|      0|        case EShLangTask:           preamble += "#define GL_TASK_SHADER_EXT 1 \n";                  break;
  ------------------
  |  Branch (801:9): [True: 0, False: 24]
  ------------------
  802|      0|        case EShLangMesh:           preamble += "#define GL_MESH_SHADER_EXT 1 \n";                  break;
  ------------------
  |  Branch (802:9): [True: 0, False: 24]
  ------------------
  803|      0|        default:                                                                                    break;
  ------------------
  |  Branch (803:9): [True: 0, False: 24]
  ------------------
  804|     24|        }
  805|     24|    }
  806|     58|}
_ZN7glslang14TParseVersions12requireStageERKNS_10TSourceLocE15EShLanguageMaskPKc:
  840|     40|{
  841|     40|    if (((1 << language) & languageMask) == 0)
  ------------------
  |  Branch (841:9): [True: 0, False: 40]
  ------------------
  842|      0|        error(loc, "not supported in this stage:", featureDesc, StageName(language));
  843|     40|}
_ZN7glslang14TParseVersions12requireStageERKNS_10TSourceLocE11EShLanguagePKc:
  848|     10|{
  849|     10|    requireStage(loc, static_cast<EShLanguageMask>(1 << stage), featureDesc);
  850|     10|}
_ZN7glslang14TParseVersions14requireProfileERKNS_10TSourceLocEiPKc:
  862|  2.32k|{
  863|  2.32k|    if (! (profile & profileMask))
  ------------------
  |  Branch (863:9): [True: 1, False: 2.32k]
  ------------------
  864|      1|        error(loc, "not supported with this profile:", featureDesc, ProfileName(profile));
  865|  2.32k|}
_ZN7glslang14TParseVersions15profileRequiresERKNS_10TSourceLocEiiiPKPKcS5_:
  886|  37.2k|{
  887|  37.2k|    if (profile & profileMask) {
  ------------------
  |  Branch (887:9): [True: 847, False: 36.4k]
  ------------------
  888|    847|        bool okay = minVersion > 0 && version >= minVersion;
  ------------------
  |  Branch (888:21): [True: 847, False: 0]
  |  Branch (888:39): [True: 847, False: 0]
  ------------------
  889|    872|        for (int i = 0; i < numExtensions; ++i) {
  ------------------
  |  Branch (889:25): [True: 25, False: 847]
  ------------------
  890|     25|            switch (getExtensionBehavior(extensions[i])) {
  891|      0|            case EBhWarn:
  ------------------
  |  Branch (891:13): [True: 0, False: 25]
  ------------------
  892|      0|                infoSink.info.message(EPrefixWarning, ("extension " + TString(extensions[i]) + " is being used for " + featureDesc).c_str(), loc, messages & EShMsgAbsolutePath, messages & EShMsgDisplayErrorColumn);
  893|      0|                [[fallthrough]];
  894|      0|            case EBhRequire:
  ------------------
  |  Branch (894:13): [True: 0, False: 25]
  ------------------
  895|      0|            case EBhEnable:
  ------------------
  |  Branch (895:13): [True: 0, False: 25]
  ------------------
  896|      0|                okay = true;
  897|      0|                break;
  898|     25|            default: break; // some compilers want this
  ------------------
  |  Branch (898:13): [True: 25, False: 0]
  ------------------
  899|     25|            }
  900|     25|        }
  901|    847|        if (! okay)
  ------------------
  |  Branch (901:13): [True: 0, False: 847]
  ------------------
  902|      0|            error(loc, "not supported for this version or the enabled extensions", featureDesc, "");
  903|    847|    }
  904|  37.2k|}
_ZN7glslang14TParseVersions15profileRequiresERKNS_10TSourceLocEiiPKcS5_:
  909|  37.2k|{
  910|  37.2k|    profileRequires(loc, profileMask, minVersion, extension ? 1 : 0, &extension, featureDesc);
  ------------------
  |  Branch (910:51): [True: 1.97k, False: 35.2k]
  ------------------
  911|  37.2k|}
_ZN7glslang14TParseVersions24checkExtensionsRequestedERKNS_10TSourceLocEiPKPKcS5_:
  955|     14|{
  956|       |    // First, see if any of the extensions are enabled
  957|     28|    for (int i = 0; i < numExtensions; ++i) {
  ------------------
  |  Branch (957:21): [True: 14, False: 14]
  ------------------
  958|     14|        TExtensionBehavior behavior = getExtensionBehavior(extensions[i]);
  959|     14|        if (behavior == EBhEnable || behavior == EBhRequire)
  ------------------
  |  Branch (959:13): [True: 0, False: 14]
  |  Branch (959:38): [True: 0, False: 14]
  ------------------
  960|      0|            return true;
  961|     14|    }
  962|       |
  963|       |    // See if any extensions want to give a warning on use; give warnings for all such extensions
  964|     14|    bool warned = false;
  965|     28|    for (int i = 0; i < numExtensions; ++i) {
  ------------------
  |  Branch (965:21): [True: 14, False: 14]
  ------------------
  966|     14|        TExtensionBehavior behavior = getExtensionBehavior(extensions[i]);
  967|     14|        if (behavior == EBhDisable && relaxedErrors()) {
  ------------------
  |  Branch (967:13): [True: 0, False: 14]
  |  Branch (967:39): [True: 0, False: 0]
  ------------------
  968|      0|            infoSink.info.message(EPrefixWarning, "The following extension must be enabled to use this feature:", loc,
  969|      0|                                  messages & EShMsgAbsolutePath, messages & EShMsgDisplayErrorColumn);
  970|      0|            behavior = EBhWarn;
  971|      0|        }
  972|     14|        if (behavior == EBhWarn) {
  ------------------
  |  Branch (972:13): [True: 0, False: 14]
  ------------------
  973|      0|            infoSink.info.message(EPrefixWarning,
  974|      0|                                  ("extension " + TString(extensions[i]) + " is being used for " + featureDesc).c_str(),
  975|      0|                                  loc, messages & EShMsgAbsolutePath, messages & EShMsgDisplayErrorColumn);
  976|      0|            warned = true;
  977|      0|        }
  978|     14|    }
  979|     14|    if (warned)
  ------------------
  |  Branch (979:9): [True: 0, False: 14]
  ------------------
  980|      0|        return true;
  981|     14|    return false;
  982|     14|}
_ZN7glslang14TParseVersions20getExtensionBehaviorEPKc:
 1025|  9.28k|{
 1026|  9.28k|    auto iter = extensionBehavior.find(TString(extension));
 1027|  9.28k|    if (iter == extensionBehavior.end())
  ------------------
  |  Branch (1027:9): [True: 9.27k, False: 7]
  ------------------
 1028|  9.27k|        return EBhMissing;
 1029|      7|    else
 1030|      7|        return iter->second;
 1031|  9.28k|}
_ZN7glslang14TParseVersions17extensionTurnedOnEPKc:
 1035|  9.23k|{
 1036|  9.23k|      switch (getExtensionBehavior(extension)) {
 1037|      0|      case EBhEnable:
  ------------------
  |  Branch (1037:7): [True: 0, False: 9.23k]
  ------------------
 1038|      0|      case EBhRequire:
  ------------------
  |  Branch (1038:7): [True: 0, False: 9.23k]
  ------------------
 1039|      0|      case EBhWarn:
  ------------------
  |  Branch (1039:7): [True: 0, False: 9.23k]
  ------------------
 1040|      0|          return true;
 1041|  9.23k|      default:
  ------------------
  |  Branch (1041:7): [True: 9.23k, False: 0]
  ------------------
 1042|  9.23k|          break;
 1043|  9.23k|      }
 1044|  9.23k|      return false;
 1045|  9.23k|}
_ZN7glslang14TParseVersions18extensionsTurnedOnEiPKPKc:
 1048|    832|{
 1049|  2.46k|    for (int i = 0; i < numExtensions; ++i) {
  ------------------
  |  Branch (1049:21): [True: 1.62k, False: 832]
  ------------------
 1050|  1.62k|        if (extensionTurnedOn(extensions[i]))
  ------------------
  |  Branch (1050:13): [True: 0, False: 1.62k]
  ------------------
 1051|      0|            return true;
 1052|  1.62k|    }
 1053|    832|    return false;
 1054|    832|}
_ZN7glslang14TParseVersions16fullIntegerCheckERKNS_10TSourceLocEPKc:
 1271|  12.4k|{
 1272|  12.4k|    profileRequires(loc, ENoProfile, 130, nullptr, op);
 1273|  12.4k|    profileRequires(loc, EEsProfile, 300, nullptr, op);
 1274|  12.4k|}
_ZN7glslang14TParseVersions12float16CheckERKNS_10TSourceLocEPKcb:
 1290|    126|{
 1291|    126|    if (!builtIn) {
  ------------------
  |  Branch (1291:9): [True: 0, False: 126]
  ------------------
 1292|      0|        const char* const extensions[] = {
 1293|      0|                                           E_GL_AMD_gpu_shader_half_float,
 1294|      0|                                           E_GL_EXT_shader_explicit_arithmetic_types,
 1295|      0|                                           E_GL_EXT_shader_explicit_arithmetic_types_float16};
 1296|      0|        requireExtensions(loc, std::size(extensions), extensions, op);
 1297|      0|    }
 1298|    126|}
_ZN7glslang14TParseVersions24float16ScalarVectorCheckERKNS_10TSourceLocEPKcb:
 1374|  9.66k|{
 1375|  9.66k|    if (!builtIn) {
  ------------------
  |  Branch (1375:9): [True: 0, False: 9.66k]
  ------------------
 1376|      0|        const char* const extensions[] = {
 1377|      0|                                           E_GL_AMD_gpu_shader_half_float,
 1378|      0|                                           E_GL_EXT_shader_16bit_storage,
 1379|      0|                                           E_GL_EXT_shader_explicit_arithmetic_types,
 1380|      0|                                           E_GL_NV_gpu_shader5,
 1381|      0|                                           E_GL_EXT_shader_explicit_arithmetic_types_float16};
 1382|      0|        requireExtensions(loc, std::size(extensions), extensions, op);
 1383|      0|    }
 1384|  9.66k|}
_ZN7glslang14TParseVersions25bfloat16ScalarVectorCheckERKNS_10TSourceLocEPKcb:
 1387|     88|{
 1388|     88|    if (!builtIn) {
  ------------------
  |  Branch (1388:9): [True: 0, False: 88]
  ------------------
 1389|      0|        const char* const extensions[] = {
 1390|      0|                                           E_GL_EXT_bfloat16,
 1391|      0|                                         };
 1392|      0|        requireExtensions(loc, std::size(extensions), extensions, op);
 1393|      0|    }
 1394|     88|}
_ZN7glslang14TParseVersions26floate5m2ScalarVectorCheckERKNS_10TSourceLocEPKcb:
 1397|     64|{
 1398|     64|    if (!builtIn) {
  ------------------
  |  Branch (1398:9): [True: 0, False: 64]
  ------------------
 1399|      0|        const char* const extensions[] = {
 1400|      0|                                           E_GL_EXT_float_e5m2,
 1401|      0|                                         };
 1402|      0|        requireExtensions(loc, std::size(extensions), extensions, op);
 1403|      0|    }
 1404|     64|}
_ZN7glslang14TParseVersions26floate4m3ScalarVectorCheckERKNS_10TSourceLocEPKcb:
 1407|     64|{
 1408|     64|    if (!builtIn) {
  ------------------
  |  Branch (1408:9): [True: 0, False: 64]
  ------------------
 1409|      0|        const char* const extensions[] = {
 1410|      0|                                           E_GL_EXT_float_e4m3,
 1411|      0|                                         };
 1412|      0|        requireExtensions(loc, std::size(extensions), extensions, op);
 1413|      0|    }
 1414|     64|}
_ZN7glslang14TParseVersions26floate2m1ScalarVectorCheckERKNS_10TSourceLocEPKcb:
 1417|     24|{
 1418|     24|    if (!builtIn) {
  ------------------
  |  Branch (1418:9): [True: 0, False: 24]
  ------------------
 1419|      0|        const char* const extensions[] = {
 1420|      0|                                           E_GL_EXT_float_e2m1,
 1421|      0|                                         };
 1422|      0|        requireExtensions(loc, std::size(extensions), extensions, op);
 1423|      0|    }
 1424|     24|}
_ZN7glslang14TParseVersions26floate3m2ScalarVectorCheckERKNS_10TSourceLocEPKcb:
 1427|     20|{
 1428|     20|    if (!builtIn) {
  ------------------
  |  Branch (1428:9): [True: 0, False: 20]
  ------------------
 1429|      0|        const char* const extensions[] = {
 1430|      0|                                           E_GL_EXT_float_e3m2,
 1431|      0|                                         };
 1432|      0|        requireExtensions(loc, std::size(extensions), extensions, op);
 1433|      0|    }
 1434|     20|}
_ZN7glslang14TParseVersions26floate2m3ScalarVectorCheckERKNS_10TSourceLocEPKcb:
 1437|     20|{
 1438|     20|    if (!builtIn) {
  ------------------
  |  Branch (1438:9): [True: 0, False: 20]
  ------------------
 1439|      0|        const char* const extensions[] = {
 1440|      0|                                           E_GL_EXT_float_e2m3,
 1441|      0|                                         };
 1442|      0|        requireExtensions(loc, std::size(extensions), extensions, op);
 1443|      0|    }
 1444|     20|}
_ZN7glslang14TParseVersions27floatue8m0ScalarVectorCheckERKNS_10TSourceLocEPKcb:
 1447|     32|{
 1448|     32|    if (!builtIn) {
  ------------------
  |  Branch (1448:9): [True: 0, False: 32]
  ------------------
 1449|      0|        const char* const extensions[] = {
 1450|      0|                                           E_GL_EXT_float_ue8m0,
 1451|      0|                                         };
 1452|      0|        requireExtensions(loc, std::size(extensions), extensions, op);
 1453|      0|    }
 1454|     32|}
_ZN7glslang14TParseVersions28floatmxint8ScalarVectorCheckERKNS_10TSourceLocEPKcb:
 1457|     32|{
 1458|     32|    if (!builtIn) {
  ------------------
  |  Branch (1458:9): [True: 0, False: 32]
  ------------------
 1459|      0|        const char* const extensions[] = {
 1460|      0|                                           E_GL_EXT_float_mxint8,
 1461|      0|                                         };
 1462|      0|        requireExtensions(loc, std::size(extensions), extensions, op);
 1463|      0|    }
 1464|     32|}
_ZN7glslang14TParseVersions20explicitFloat32CheckERKNS_10TSourceLocEPKcb:
 1468|    176|{
 1469|    176|    if (!builtIn) {
  ------------------
  |  Branch (1469:9): [True: 0, False: 176]
  ------------------
 1470|      0|        const char* const extensions[] = {E_GL_EXT_shader_explicit_arithmetic_types,
 1471|      0|                                          E_GL_NV_gpu_shader5,
 1472|      0|                                           E_GL_EXT_shader_explicit_arithmetic_types_float32};
 1473|      0|        requireExtensions(loc, std::size(extensions), extensions, op);
 1474|      0|    }
 1475|    176|}
_ZN7glslang14TParseVersions20explicitFloat64CheckERKNS_10TSourceLocEPKcb:
 1479|    806|{
 1480|    806|    if (!builtIn) {
  ------------------
  |  Branch (1480:9): [True: 0, False: 806]
  ------------------
 1481|      0|        const char* const extensions[] = {E_GL_EXT_shader_explicit_arithmetic_types,
 1482|      0|                                           E_GL_NV_gpu_shader5,
 1483|      0|                                           E_GL_EXT_shader_explicit_arithmetic_types_float64};
 1484|      0|        requireExtensions(loc, std::size(extensions), extensions, op);
 1485|      0|        requireProfile(loc, ECoreProfile | ECompatibilityProfile, op);
 1486|      0|        if(extensionTurnedOn(E_GL_ARB_gpu_shader_fp64) && extensionTurnedOn(E_GL_NV_gpu_shader5))
  ------------------
  |  Branch (1486:12): [True: 0, False: 0]
  |  Branch (1486:59): [True: 0, False: 0]
  ------------------
 1487|      0|            profileRequires(loc, ECoreProfile | ECompatibilityProfile, 150, nullptr, op);
 1488|      0|        else
 1489|      0|            profileRequires(loc, ECoreProfile | ECompatibilityProfile, 400, nullptr, op);
 1490|      0|    }
 1491|    806|}
_ZN7glslang14TParseVersions18float16OpaqueCheckERKNS_10TSourceLocEPKcb:
 1505|  3.55k|{
 1506|  3.55k|    if (! builtIn) {
  ------------------
  |  Branch (1506:9): [True: 0, False: 3.55k]
  ------------------
 1507|      0|        requireExtensions(loc, 1, &E_GL_AMD_gpu_shader_half_float_fetch, op);
 1508|      0|        requireProfile(loc, ECoreProfile | ECompatibilityProfile, op);
 1509|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 400, nullptr, op);
 1510|      0|    }
 1511|  3.55k|}
_ZN7glslang14TParseVersions22int16ScalarVectorCheckERKNS_10TSourceLocEPKcb:
 1526|  4.44k|{
 1527|  4.44k|    if (! builtIn) {
  ------------------
  |  Branch (1527:9): [True: 0, False: 4.44k]
  ------------------
 1528|      0|    	const char* const extensions[] = {
 1529|      0|                                           E_GL_AMD_gpu_shader_int16,
 1530|      0|                                           E_GL_EXT_shader_16bit_storage,
 1531|      0|                                           E_GL_EXT_shader_explicit_arithmetic_types,
 1532|      0|                                           E_GL_NV_gpu_shader5,
 1533|      0|                                           E_GL_EXT_shader_explicit_arithmetic_types_int16};
 1534|      0|        requireExtensions(loc, std::size(extensions), extensions, op);
 1535|      0|    }
 1536|  4.44k|}
_ZN7glslang14TParseVersions21int8ScalarVectorCheckERKNS_10TSourceLocEPKcb:
 1539|  3.49k|{
 1540|  3.49k|    if (! builtIn) {
  ------------------
  |  Branch (1540:9): [True: 0, False: 3.49k]
  ------------------
 1541|      0|    	const char* const extensions[] = {
 1542|      0|                                           E_GL_EXT_shader_8bit_storage,
 1543|      0|                                           E_GL_EXT_shader_explicit_arithmetic_types,
 1544|      0|                                           E_GL_NV_gpu_shader5,
 1545|      0|                                           E_GL_EXT_shader_explicit_arithmetic_types_int8};
 1546|      0|        requireExtensions(loc, std::size(extensions), extensions, op);
 1547|      0|    }
 1548|  3.49k|}
_ZN7glslang14TParseVersions18explicitInt32CheckERKNS_10TSourceLocEPKcb:
 1552|    392|{
 1553|    392|    if (! builtIn) {
  ------------------
  |  Branch (1553:9): [True: 0, False: 392]
  ------------------
 1554|      0|        const char* const extensions[] = {E_GL_EXT_shader_explicit_arithmetic_types,
 1555|      0|                                           E_GL_NV_gpu_shader5,
 1556|      0|                                           E_GL_EXT_shader_explicit_arithmetic_types_int32};
 1557|      0|        requireExtensions(loc, std::size(extensions), extensions, op);
 1558|      0|    }
 1559|    392|}
_ZN7glslang14TParseVersions10int64CheckERKNS_10TSourceLocEPKcb:
 1563|  7.10k|{
 1564|  7.10k|    if (! builtIn) {
  ------------------
  |  Branch (1564:9): [True: 0, False: 7.10k]
  ------------------
 1565|      0|        const char* const extensions[] = {E_GL_ARB_gpu_shader_int64,
 1566|      0|                                           E_GL_EXT_shader_explicit_arithmetic_types,
 1567|      0|                                           E_GL_NV_gpu_shader5,
 1568|      0|                                           E_GL_EXT_shader_explicit_arithmetic_types_int64};
 1569|      0|        requireExtensions(loc, std::size(extensions), extensions, op);
 1570|      0|        requireProfile(loc, ECoreProfile | ECompatibilityProfile, op);
 1571|      0|        if (extensionTurnedOn(E_GL_NV_gpu_shader5))
  ------------------
  |  Branch (1571:13): [True: 0, False: 0]
  ------------------
 1572|      0|            profileRequires(loc, ECoreProfile | ECompatibilityProfile, 150, nullptr, op);
 1573|      0|        else
 1574|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 400, nullptr, op);
 1575|      0|    }
 1576|  7.10k|}
_ZN7glslang14TParseVersions15fcoopmatCheckNVERKNS_10TSourceLocEPKcb:
 1579|     42|{
 1580|     42|    if (!builtIn) {
  ------------------
  |  Branch (1580:9): [True: 0, False: 42]
  ------------------
 1581|      0|        const char* const extensions[] = {E_GL_NV_cooperative_matrix};
 1582|      0|        requireExtensions(loc, std::size(extensions), extensions, op);
 1583|      0|    }
 1584|     42|}
_ZN7glslang14TParseVersions17intcoopmatCheckNVERKNS_10TSourceLocEPKcb:
 1587|    112|{
 1588|    112|    if (!builtIn) {
  ------------------
  |  Branch (1588:9): [True: 0, False: 112]
  ------------------
 1589|      0|        const char* const extensions[] = {E_GL_NV_integer_cooperative_matrix};
 1590|      0|        requireExtensions(loc, std::size(extensions), extensions, op);
 1591|      0|    }
 1592|    112|}
_ZN7glslang14TParseVersions12coopmatCheckERKNS_10TSourceLocEPKcb:
 1595|    434|{
 1596|    434|    if (!builtIn) {
  ------------------
  |  Branch (1596:9): [True: 0, False: 434]
  ------------------
 1597|      0|        const char* const extensions[] = {E_GL_KHR_cooperative_matrix};
 1598|      0|        requireExtensions(loc, std::size(extensions), extensions, op);
 1599|      0|    }
 1600|    434|}
_ZN7glslang14TParseVersions21tensorLayoutViewCheckERKNS_10TSourceLocEPKcb:
 1611|    194|{
 1612|    194|    if (!builtIn) {
  ------------------
  |  Branch (1612:9): [True: 0, False: 194]
  ------------------
 1613|      0|        const char* const extensions[] = {E_GL_NV_cooperative_matrix2};
 1614|      0|        requireExtensions(loc, std::size(extensions), extensions, op);
 1615|      0|    }
 1616|    194|}
_ZN7glslang14TParseVersions12coopvecCheckERKNS_10TSourceLocEPKcb:
 1619|  1.59k|{
 1620|  1.59k|    if (!builtIn) {
  ------------------
  |  Branch (1620:9): [True: 0, False: 1.59k]
  ------------------
 1621|      0|        const char* const extensions[] = {E_GL_NV_cooperative_vector};
 1622|      0|        requireExtensions(loc, std::size(extensions), extensions, op);
 1623|      0|    }
 1624|  1.59k|}
_ZN7glslang14TParseVersions14tensorCheckARMERKNS_10TSourceLocEPKcb:
 1635|    122|{
 1636|    122|    if (!builtIn) {
  ------------------
  |  Branch (1636:9): [True: 0, False: 122]
  ------------------
 1637|      0|        const char* const extensions[] = {E_GL_ARM_tensors};
 1638|      0|        requireExtensions(loc, std::size(extensions), extensions, op);
 1639|      0|    }
 1640|    122|}
_ZN7glslang14TParseVersions15longVectorCheckERKNS_10TSourceLocEPKcb:
 1643|  1.24k|{
 1644|  1.24k|    if (!builtIn) {
  ------------------
  |  Branch (1644:9): [True: 0, False: 1.24k]
  ------------------
 1645|      0|        const char* const extensions[] = {E_GL_EXT_long_vector};
 1646|      0|        requireExtensions(loc, std::size(extensions), extensions, op);
 1647|      0|    }
 1648|  1.24k|}
_ZN7glslang14TParseVersions13vulkanRemovedERKNS_10TSourceLocEPKc:
 1659|     24|{
 1660|     24|    if (spvVersion.vulkan > 0 && !spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (1660:9): [True: 0, False: 24]
  |  Branch (1660:34): [True: 0, False: 0]
  ------------------
 1661|      0|        error(loc, "not allowed when using GLSL for Vulkan", op, "");
 1662|     24|}

_Z7yyparsePN7glslang13TParseContextE:
 5637|    238|{
 5638|       |/* Lookahead token kind.  */
 5639|    238|int yychar;
 5640|       |
 5641|       |
 5642|       |/* The semantic value of the lookahead symbol.  */
 5643|       |/* Default value used for initialization, for pacifying older GCCs
 5644|       |   or non-GCC compilers.  */
 5645|    238|YY_INITIAL_VALUE (static YYSTYPE yyval_default;)
  ------------------
  |  |  958|    238|# define YY_INITIAL_VALUE(Value) Value
  ------------------
 5646|    238|YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default);
  ------------------
  |  |  958|    238|# define YY_INITIAL_VALUE(Value) Value
  ------------------
 5647|       |
 5648|       |    /* Number of syntax errors so far.  */
 5649|    238|    int yynerrs = 0;
 5650|       |
 5651|    238|    yy_state_fast_t yystate = 0;
 5652|       |    /* Number of tokens to shift before error messages enabled.  */
 5653|    238|    int yyerrstatus = 0;
 5654|       |
 5655|       |    /* Refer to the stacks through separate pointers, to allow yyoverflow
 5656|       |       to reallocate them elsewhere.  */
 5657|       |
 5658|       |    /* Their size.  */
 5659|    238|    YYPTRDIFF_T yystacksize = YYINITDEPTH;
  ------------------
  |  |  865|    238|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
                  YYPTRDIFF_T yystacksize = YYINITDEPTH;
  ------------------
  |  | 5321|    238|# define YYINITDEPTH 200
  ------------------
 5660|       |
 5661|       |    /* The state stack: array, bottom, top.  */
 5662|    238|    yy_state_t yyssa[YYINITDEPTH];
 5663|    238|    yy_state_t *yyss = yyssa;
 5664|    238|    yy_state_t *yyssp = yyss;
 5665|       |
 5666|       |    /* The semantic value stack: array, bottom, top.  */
 5667|    238|    YYSTYPE yyvsa[YYINITDEPTH];
 5668|    238|    YYSTYPE *yyvs = yyvsa;
 5669|    238|    YYSTYPE *yyvsp = yyvs;
 5670|       |
 5671|    238|  int yyn;
 5672|       |  /* The return value of yyparse.  */
 5673|    238|  int yyresult;
 5674|       |  /* Lookahead symbol kind.  */
 5675|    238|  yysymbol_kind_t yytoken = YYSYMBOL_YYEMPTY;
 5676|       |  /* The variables used to return semantic value and location from the
 5677|       |     action routines.  */
 5678|    238|  YYSTYPE yyval;
 5679|       |
 5680|       |  /* Buffer for error messages, and its allocated size.  */
 5681|    238|  char yymsgbuf[128];
 5682|    238|  char *yymsg = yymsgbuf;
 5683|    238|  YYPTRDIFF_T yymsg_alloc = sizeof yymsgbuf;
  ------------------
  |  |  865|    238|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5684|       |
 5685|    238|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
 5686|       |
 5687|       |  /* The number of symbols on the RHS of the reduced rule.
 5688|       |     Keep to zero when no symbol should be popped.  */
 5689|    238|  int yylen = 0;
 5690|       |
 5691|    238|  YYDPRINTF ((stderr, "Starting parse\n"));
  ------------------
  |  | 5199|    238|# define YYDPRINTF(Args)                        \
  |  | 5200|    238|do {                                            \
  |  | 5201|    238|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5201:7): [True: 0, False: 238]
  |  |  ------------------
  |  | 5202|    238|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5203|    238|} while (0)
  |  |  ------------------
  |  |  |  Branch (5203:10): [Folded, False: 238]
  |  |  ------------------
  ------------------
 5692|       |
 5693|    238|  yychar = YYEMPTY; /* Cause a token to be read.  */
 5694|       |
 5695|    238|  goto yysetstate;
 5696|       |
 5697|       |
 5698|       |/*------------------------------------------------------------.
 5699|       || yynewstate -- push a new state, which is found in yystate.  |
 5700|       |`------------------------------------------------------------*/
 5701|  1.61M|yynewstate:
 5702|       |  /* In all cases, when you get here, the value and location stacks
 5703|       |     have just been pushed.  So pushing a state here evens the stacks.  */
 5704|  1.61M|  yyssp++;
 5705|       |
 5706|       |
 5707|       |/*--------------------------------------------------------------------.
 5708|       || yysetstate -- set current state (the top of the stack) to yystate.  |
 5709|       |`--------------------------------------------------------------------*/
 5710|  1.61M|yysetstate:
 5711|  1.61M|  YYDPRINTF ((stderr, "Entering state %d\n", yystate));
  ------------------
  |  | 5199|  1.61M|# define YYDPRINTF(Args)                        \
  |  | 5200|  1.61M|do {                                            \
  |  | 5201|  1.61M|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5201:7): [True: 0, False: 1.61M]
  |  |  ------------------
  |  | 5202|  1.61M|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5203|  1.61M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5203:10): [Folded, False: 1.61M]
  |  |  ------------------
  ------------------
 5712|  1.61M|  YY_ASSERT (0 <= yystate && yystate < YYNSTATES);
  ------------------
  |  |  981|  1.61M|#define YY_ASSERT(E) ((void) (0 && (E)))
  |  |  ------------------
  |  |  |  Branch (981:31): [Folded, False: 1.61M]
  |  |  |  Branch (981:37): [True: 0, False: 0]
  |  |  |  Branch (981:37): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5713|  1.61M|  YY_IGNORE_USELESS_CAST_BEGIN
 5714|  1.61M|  *yyssp = YY_CAST (yy_state_t, yystate);
  ------------------
  |  |  100|  1.61M|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
 5715|  1.61M|  YY_IGNORE_USELESS_CAST_END
 5716|  1.61M|  YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 5271|  1.61M|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 5272|  1.61M|do {                                                            \
  |  | 5273|  1.61M|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (5273:7): [True: 0, False: 1.61M]
  |  |  ------------------
  |  | 5274|  1.61M|    yy_stack_print ((Bottom), (Top));                           \
  |  | 5275|  1.61M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5275:10): [Folded, False: 1.61M]
  |  |  ------------------
  ------------------
 5717|       |
 5718|  1.61M|  if (yyss + yystacksize - 1 <= yyssp)
  ------------------
  |  Branch (5718:7): [True: 0, False: 1.61M]
  ------------------
 5719|       |#if !defined yyoverflow && !defined YYSTACK_RELOCATE
 5720|       |    YYNOMEM;
 5721|       |#else
 5722|      0|    {
 5723|       |      /* Get the current used size of the three stacks, in elements.  */
 5724|      0|      YYPTRDIFF_T yysize = yyssp - yyss + 1;
  ------------------
  |  |  865|      0|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5725|       |
 5726|       |# if defined yyoverflow
 5727|       |      {
 5728|       |        /* Give user a chance to reallocate the stack.  Use copies of
 5729|       |           these so that the &'s don't force the real ones into
 5730|       |           memory.  */
 5731|       |        yy_state_t *yyss1 = yyss;
 5732|       |        YYSTYPE *yyvs1 = yyvs;
 5733|       |
 5734|       |        /* Each stack pointer address is followed by the size of the
 5735|       |           data in use in that stack, in bytes.  This used to be a
 5736|       |           conditional around just the two extra args, but that might
 5737|       |           be undefined if yyoverflow is a macro.  */
 5738|       |        yyoverflow (YY_("memory exhausted"),
 5739|       |                    &yyss1, yysize * YYSIZEOF (*yyssp),
 5740|       |                    &yyvs1, yysize * YYSIZEOF (*yyvsp),
 5741|       |                    &yystacksize);
 5742|       |        yyss = yyss1;
 5743|       |        yyvs = yyvs1;
 5744|       |      }
 5745|       |# else /* defined YYSTACK_RELOCATE */
 5746|       |      /* Extend the stack our own way.  */
 5747|      0|      if (YYMAXDEPTH <= yystacksize)
  ------------------
  |  | 5332|      0|# define YYMAXDEPTH 10000
  ------------------
  |  Branch (5747:11): [True: 0, False: 0]
  ------------------
 5748|      0|        YYNOMEM;
  ------------------
  |  | 5164|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
 5749|      0|      yystacksize *= 2;
 5750|      0|      if (YYMAXDEPTH < yystacksize)
  ------------------
  |  | 5332|      0|# define YYMAXDEPTH 10000
  ------------------
  |  Branch (5750:11): [True: 0, False: 0]
  ------------------
 5751|      0|        yystacksize = YYMAXDEPTH;
  ------------------
  |  | 5332|      0|# define YYMAXDEPTH 10000
  ------------------
 5752|       |
 5753|      0|      {
 5754|      0|        yy_state_t *yyss1 = yyss;
 5755|      0|        union yyalloc *yyptr =
 5756|      0|          YY_CAST (union yyalloc *,
  ------------------
  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
 5757|      0|                   YYSTACK_ALLOC (YY_CAST (YYSIZE_T, YYSTACK_BYTES (yystacksize))));
 5758|      0|        if (! yyptr)
  ------------------
  |  Branch (5758:13): [True: 0, False: 0]
  ------------------
 5759|      0|          YYNOMEM;
  ------------------
  |  | 5164|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
 5760|      0|        YYSTACK_RELOCATE (yyss_alloc, yyss);
  ------------------
  |  | 1078|      0|    do                                                                  \
  |  | 1079|      0|      {                                                                 \
  |  | 1080|      0|        YYPTRDIFF_T yynewbytes;                                         \
  |  |  ------------------
  |  |  |  |  865|      0|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  |  |  ------------------
  |  | 1081|      0|        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
  |  |  ------------------
  |  |  |  | 1096|      0|      __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1082|      0|        Stack = &yyptr->Stack_alloc;                                    \
  |  | 1083|      0|        yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  898|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  | 1062|      0|# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  898|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1084|      0|        yyptr += yynewbytes / YYSIZEOF (*yyptr);                        \
  |  |  ------------------
  |  |  |  |  898|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1085|      0|      }                                                                 \
  |  | 1086|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (1086:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5761|      0|        YYSTACK_RELOCATE (yyvs_alloc, yyvs);
  ------------------
  |  | 1078|      0|    do                                                                  \
  |  | 1079|      0|      {                                                                 \
  |  | 1080|      0|        YYPTRDIFF_T yynewbytes;                                         \
  |  |  ------------------
  |  |  |  |  865|      0|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  |  |  ------------------
  |  | 1081|      0|        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
  |  |  ------------------
  |  |  |  | 1096|      0|      __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1082|      0|        Stack = &yyptr->Stack_alloc;                                    \
  |  | 1083|      0|        yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  898|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  | 1062|      0|# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  898|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1084|      0|        yyptr += yynewbytes / YYSIZEOF (*yyptr);                        \
  |  |  ------------------
  |  |  |  |  898|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1085|      0|      }                                                                 \
  |  | 1086|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (1086:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5762|      0|#  undef YYSTACK_RELOCATE
 5763|      0|        if (yyss1 != yyssa)
  ------------------
  |  Branch (5763:13): [True: 0, False: 0]
  ------------------
 5764|      0|          YYSTACK_FREE (yyss1);
  ------------------
  |  | 1023|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1042|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
 5765|      0|      }
 5766|      0|# endif
 5767|       |
 5768|      0|      yyssp = yyss + yysize - 1;
 5769|      0|      yyvsp = yyvs + yysize - 1;
 5770|       |
 5771|      0|      YY_IGNORE_USELESS_CAST_BEGIN
 5772|      0|      YYDPRINTF ((stderr, "Stack size increased to %ld\n",
  ------------------
  |  | 5199|      0|# define YYDPRINTF(Args)                        \
  |  | 5200|      0|do {                                            \
  |  | 5201|      0|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5201:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 5202|      0|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5203|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (5203:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5773|      0|                  YY_CAST (long, yystacksize)));
 5774|      0|      YY_IGNORE_USELESS_CAST_END
 5775|       |
 5776|      0|      if (yyss + yystacksize - 1 <= yyssp)
  ------------------
  |  Branch (5776:11): [True: 0, False: 0]
  ------------------
 5777|      0|        YYABORT;
  ------------------
  |  | 5162|      0|#define YYABORT         goto yyabortlab
  ------------------
 5778|      0|    }
 5779|  1.61M|#endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */
 5780|       |
 5781|       |
 5782|  1.61M|  if (yystate == YYFINAL)
  ------------------
  |  | 1111|  1.61M|#define YYFINAL  496
  ------------------
  |  Branch (5782:7): [True: 202, False: 1.61M]
  ------------------
 5783|    202|    YYACCEPT;
  ------------------
  |  | 5161|    202|#define YYACCEPT        goto yyacceptlab
  ------------------
 5784|       |
 5785|  1.61M|  goto yybackup;
 5786|       |
 5787|       |
 5788|       |/*-----------.
 5789|       || yybackup.  |
 5790|       |`-----------*/
 5791|  1.61M|yybackup:
 5792|       |  /* Do appropriate processing given the current state.  Read a
 5793|       |     lookahead token if we need one and don't already have one.  */
 5794|       |
 5795|       |  /* First try to decide what to do without reference to lookahead token.  */
 5796|  1.61M|  yyn = yypact[yystate];
 5797|  1.61M|  if (yypact_value_is_default (yyn))
  ------------------
  |  | 1490|  1.61M|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1487|  1.61M|#define YYPACT_NINF (-901)
  |  |  ------------------
  |  |  |  Branch (1490:3): [True: 666k, False: 948k]
  |  |  ------------------
  ------------------
 5798|   666k|    goto yydefault;
 5799|       |
 5800|       |  /* Not known => get a lookahead token if don't already have one.  */
 5801|       |
 5802|       |  /* YYCHAR is either empty, or end-of-input, or a valid lookahead.  */
 5803|   948k|  if (yychar == YYEMPTY)
  ------------------
  |  Branch (5803:7): [True: 438k, False: 509k]
  ------------------
 5804|   438k|    {
 5805|   438k|      YYDPRINTF ((stderr, "Reading a token\n"));
  ------------------
  |  | 5199|   438k|# define YYDPRINTF(Args)                        \
  |  | 5200|   438k|do {                                            \
  |  | 5201|   438k|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5201:7): [True: 0, False: 438k]
  |  |  ------------------
  |  | 5202|   438k|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5203|   438k|} while (0)
  |  |  ------------------
  |  |  |  Branch (5203:10): [Folded, False: 438k]
  |  |  ------------------
  ------------------
 5806|   438k|      yychar = yylex (&yylval, parseContext);
  ------------------
  |  |  783|   438k|#define parseContext (*pParseContext)
  ------------------
 5807|   438k|    }
 5808|       |
 5809|   948k|  if (yychar <= YYEOF)
  ------------------
  |  Branch (5809:7): [True: 233, False: 948k]
  ------------------
 5810|    233|    {
 5811|    233|      yychar = YYEOF;
 5812|    233|      yytoken = YYSYMBOL_YYEOF;
 5813|    233|      YYDPRINTF ((stderr, "Now at end of input.\n"));
  ------------------
  |  | 5199|    233|# define YYDPRINTF(Args)                        \
  |  | 5200|    233|do {                                            \
  |  | 5201|    233|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5201:7): [True: 0, False: 233]
  |  |  ------------------
  |  | 5202|    233|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5203|    233|} while (0)
  |  |  ------------------
  |  |  |  Branch (5203:10): [Folded, False: 233]
  |  |  ------------------
  ------------------
 5814|    233|    }
 5815|   948k|  else if (yychar == YYerror)
  ------------------
  |  Branch (5815:12): [True: 0, False: 948k]
  ------------------
 5816|      0|    {
 5817|       |      /* The scanner already issued an error message, process directly
 5818|       |         to error recovery.  But do not keep the error token as
 5819|       |         lookahead, it is too special and may lead us to an endless
 5820|       |         loop in error recovery. */
 5821|      0|      yychar = YYUNDEF;
 5822|      0|      yytoken = YYSYMBOL_YYerror;
 5823|      0|      goto yyerrlab1;
 5824|      0|    }
 5825|   948k|  else
 5826|   948k|    {
 5827|   948k|      yytoken = YYTRANSLATE (yychar);
  ------------------
  |  | 1131|   948k|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1125|   948k|#define YYMAXUTOK   769
  |  |  ------------------
  |  |  |  Branch (1131:4): [True: 948k, False: 0]
  |  |  |  Branch (1131:18): [True: 948k, False: 0]
  |  |  ------------------
  |  | 1132|   948k|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  100|   948k|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  |  | 1133|   948k|   : YYSYMBOL_YYUNDEF)
  ------------------
 5828|   948k|      YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
  ------------------
  |  | 5208|   948k|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5209|   948k|do {                                                                      \
  |  | 5210|   948k|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5210:7): [True: 0, False: 948k]
  |  |  ------------------
  |  | 5211|   948k|    {                                                                     \
  |  | 5212|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5213|      0|      yy_symbol_print (stderr,                                            \
  |  | 5214|      0|                  Kind, Value, pParseContext); \
  |  | 5215|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5216|      0|    }                                                                     \
  |  | 5217|   948k|} while (0)
  |  |  ------------------
  |  |  |  Branch (5217:10): [Folded, False: 948k]
  |  |  ------------------
  ------------------
 5829|   948k|    }
 5830|       |
 5831|       |  /* If the proper action on seeing token YYTOKEN is to reduce or to
 5832|       |     detect an error, take that action.  */
 5833|   948k|  yyn += yytoken;
 5834|   948k|  if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
  ------------------
  |  | 1113|   948k|#define YYLAST   15602
  ------------------
  |  Branch (5834:7): [True: 0, False: 948k]
  |  Branch (5834:18): [True: 0, False: 948k]
  |  Branch (5834:34): [True: 509k, False: 438k]
  ------------------
 5835|   509k|    goto yydefault;
 5836|   438k|  yyn = yytable[yyn];
 5837|   438k|  if (yyn <= 0)
  ------------------
  |  Branch (5837:7): [True: 0, False: 438k]
  ------------------
 5838|      0|    {
 5839|      0|      if (yytable_value_is_error (yyn))
  ------------------
  |  | 1495|      0|  0
  |  |  ------------------
  |  |  |  Branch (1495:3): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5840|      0|        goto yyerrlab;
 5841|      0|      yyn = -yyn;
 5842|      0|      goto yyreduce;
 5843|      0|    }
 5844|       |
 5845|       |  /* Count tokens shifted since error; after three, turn off error
 5846|       |     status.  */
 5847|   438k|  if (yyerrstatus)
  ------------------
  |  Branch (5847:7): [True: 0, False: 438k]
  ------------------
 5848|      0|    yyerrstatus--;
 5849|       |
 5850|       |  /* Shift the lookahead token.  */
 5851|   438k|  YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
  ------------------
  |  | 5208|   438k|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5209|   438k|do {                                                                      \
  |  | 5210|   438k|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5210:7): [True: 0, False: 438k]
  |  |  ------------------
  |  | 5211|   438k|    {                                                                     \
  |  | 5212|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5213|      0|      yy_symbol_print (stderr,                                            \
  |  | 5214|      0|                  Kind, Value, pParseContext); \
  |  | 5215|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5216|      0|    }                                                                     \
  |  | 5217|   438k|} while (0)
  |  |  ------------------
  |  |  |  Branch (5217:10): [Folded, False: 438k]
  |  |  ------------------
  ------------------
 5852|   438k|  yystate = yyn;
 5853|   438k|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 5854|   438k|  *++yyvsp = yylval;
 5855|   438k|  YY_IGNORE_MAYBE_UNINITIALIZED_END
 5856|       |
 5857|       |  /* Discard the shifted token.  */
 5858|   438k|  yychar = YYEMPTY;
 5859|   438k|  goto yynewstate;
 5860|       |
 5861|       |
 5862|       |/*-----------------------------------------------------------.
 5863|       || yydefault -- do the default action for the current state.  |
 5864|       |`-----------------------------------------------------------*/
 5865|  1.17M|yydefault:
 5866|  1.17M|  yyn = yydefact[yystate];
 5867|  1.17M|  if (yyn == 0)
  ------------------
  |  Branch (5867:7): [True: 36, False: 1.17M]
  ------------------
 5868|     36|    goto yyerrlab;
 5869|  1.17M|  goto yyreduce;
 5870|       |
 5871|       |
 5872|       |/*-----------------------------.
 5873|       || yyreduce -- do a reduction.  |
 5874|       |`-----------------------------*/
 5875|  1.17M|yyreduce:
 5876|       |  /* yyn is the number of a rule to reduce with.  */
 5877|  1.17M|  yylen = yyr2[yyn];
 5878|       |
 5879|       |  /* If YYLEN is nonzero, implement the default value of the action:
 5880|       |     '$$ = $1'.
 5881|       |
 5882|       |     Otherwise, the following line sets YYVAL to garbage.
 5883|       |     This behavior is undocumented and Bison
 5884|       |     users should not rely upon it.  Assigning to YYVAL
 5885|       |     unconditionally makes the parser a bit smaller, and it avoids a
 5886|       |     GCC warning that YYVAL may be used uninitialized.  */
 5887|  1.17M|  yyval = yyvsp[1-yylen];
 5888|       |
 5889|       |
 5890|  1.17M|  YY_REDUCE_PRINT (yyn);
  ------------------
  |  | 5302|  1.17M|# define YY_REDUCE_PRINT(Rule)          \
  |  | 5303|  1.17M|do {                                    \
  |  | 5304|  1.17M|  if (yydebug)                          \
  |  |  ------------------
  |  |  |  Branch (5304:7): [True: 0, False: 1.17M]
  |  |  ------------------
  |  | 5305|  1.17M|    yy_reduce_print (yyssp, yyvsp, Rule, pParseContext); \
  |  | 5306|  1.17M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5306:10): [Folded, False: 1.17M]
  |  |  ------------------
  ------------------
 5891|  1.17M|  switch (yyn)
 5892|  1.17M|    {
 5893|      0|  case 2: /* variable_identifier: IDENTIFIER  */
  ------------------
  |  Branch (5893:3): [True: 0, False: 1.17M]
  ------------------
 5894|      0|#line 371 "MachineIndependent/glslang.y"
 5895|      0|                 {
 5896|      0|        (yyval.interm.intermTypedNode) = parseContext.handleVariable((yyvsp[0].lex).loc, (yyvsp[0].lex).symbol, (yyvsp[0].lex).string);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5897|      0|    }
 5898|      0|#line 5899 "MachineIndependent/glslang_tab.cpp"
 5899|      0|    break;
 5900|       |
 5901|      0|  case 3: /* primary_expression: variable_identifier  */
  ------------------
  |  Branch (5901:3): [True: 0, False: 1.17M]
  ------------------
 5902|      0|#line 377 "MachineIndependent/glslang.y"
 5903|      0|                          {
 5904|      0|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 5905|      0|    }
 5906|      0|#line 5907 "MachineIndependent/glslang_tab.cpp"
 5907|      0|    break;
 5908|       |
 5909|      0|  case 4: /* primary_expression: LEFT_PAREN expression RIGHT_PAREN  */
  ------------------
  |  Branch (5909:3): [True: 0, False: 1.17M]
  ------------------
 5910|      0|#line 380 "MachineIndependent/glslang.y"
 5911|      0|                                        {
 5912|      0|        (yyval.interm.intermTypedNode) = (yyvsp[-1].interm.intermTypedNode);
 5913|      0|        if ((yyval.interm.intermTypedNode)->getAsConstantUnion())
  ------------------
  |  Branch (5913:13): [True: 0, False: 0]
  ------------------
 5914|      0|            (yyval.interm.intermTypedNode)->getAsConstantUnion()->setExpression();
 5915|      0|    }
 5916|      0|#line 5917 "MachineIndependent/glslang_tab.cpp"
 5917|      0|    break;
 5918|       |
 5919|      0|  case 5: /* primary_expression: FLOATCONSTANT  */
  ------------------
  |  Branch (5919:3): [True: 0, False: 1.17M]
  ------------------
 5920|      0|#line 385 "MachineIndependent/glslang.y"
 5921|      0|                    {
 5922|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5923|      0|    }
 5924|      0|#line 5925 "MachineIndependent/glslang_tab.cpp"
 5925|      0|    break;
 5926|       |
 5927|  1.16k|  case 6: /* primary_expression: INTCONSTANT  */
  ------------------
  |  Branch (5927:3): [True: 1.16k, False: 1.17M]
  ------------------
 5928|  1.16k|#line 388 "MachineIndependent/glslang.y"
 5929|  1.16k|                  {
 5930|  1.16k|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|  1.16k|#define parseContext (*pParseContext)
  ------------------
 5931|  1.16k|    }
 5932|  1.16k|#line 5933 "MachineIndependent/glslang_tab.cpp"
 5933|  1.16k|    break;
 5934|       |
 5935|    124|  case 7: /* primary_expression: UINTCONSTANT  */
  ------------------
  |  Branch (5935:3): [True: 124, False: 1.17M]
  ------------------
 5936|    124|#line 391 "MachineIndependent/glslang.y"
 5937|    124|                   {
 5938|    124|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned literal");
  ------------------
  |  |  783|    124|#define parseContext (*pParseContext)
  ------------------
 5939|    124|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|    124|#define parseContext (*pParseContext)
  ------------------
 5940|    124|    }
 5941|    124|#line 5942 "MachineIndependent/glslang_tab.cpp"
 5942|    124|    break;
 5943|       |
 5944|      0|  case 8: /* primary_expression: BOOLCONSTANT  */
  ------------------
  |  Branch (5944:3): [True: 0, False: 1.17M]
  ------------------
 5945|      0|#line 395 "MachineIndependent/glslang.y"
 5946|      0|                   {
 5947|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5948|      0|    }
 5949|      0|#line 5950 "MachineIndependent/glslang_tab.cpp"
 5950|      0|    break;
 5951|       |
 5952|      0|  case 9: /* primary_expression: STRING_LITERAL  */
  ------------------
  |  Branch (5952:3): [True: 0, False: 1.17M]
  ------------------
 5953|      0|#line 398 "MachineIndependent/glslang.y"
 5954|      0|                     {
 5955|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5956|      0|    }
 5957|      0|#line 5958 "MachineIndependent/glslang_tab.cpp"
 5958|      0|    break;
 5959|       |
 5960|      0|  case 10: /* primary_expression: INT32CONSTANT  */
  ------------------
  |  Branch (5960:3): [True: 0, False: 1.17M]
  ------------------
 5961|      0|#line 401 "MachineIndependent/glslang.y"
 5962|      0|                    {
 5963|      0|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5964|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5965|      0|    }
 5966|      0|#line 5967 "MachineIndependent/glslang_tab.cpp"
 5967|      0|    break;
 5968|       |
 5969|      0|  case 11: /* primary_expression: UINT32CONSTANT  */
  ------------------
  |  Branch (5969:3): [True: 0, False: 1.17M]
  ------------------
 5970|      0|#line 405 "MachineIndependent/glslang.y"
 5971|      0|                     {
 5972|      0|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5973|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5974|      0|    }
 5975|      0|#line 5976 "MachineIndependent/glslang_tab.cpp"
 5976|      0|    break;
 5977|       |
 5978|      0|  case 12: /* primary_expression: INT64CONSTANT  */
  ------------------
  |  Branch (5978:3): [True: 0, False: 1.17M]
  ------------------
 5979|      0|#line 409 "MachineIndependent/glslang.y"
 5980|      0|                    {
 5981|      0|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5982|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i64, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5983|      0|    }
 5984|      0|#line 5985 "MachineIndependent/glslang_tab.cpp"
 5985|      0|    break;
 5986|       |
 5987|      0|  case 13: /* primary_expression: UINT64CONSTANT  */
  ------------------
  |  Branch (5987:3): [True: 0, False: 1.17M]
  ------------------
 5988|      0|#line 413 "MachineIndependent/glslang.y"
 5989|      0|                     {
 5990|      0|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5991|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u64, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5992|      0|    }
 5993|      0|#line 5994 "MachineIndependent/glslang_tab.cpp"
 5994|      0|    break;
 5995|       |
 5996|      0|  case 14: /* primary_expression: INT16CONSTANT  */
  ------------------
  |  Branch (5996:3): [True: 0, False: 1.17M]
  ------------------
 5997|      0|#line 417 "MachineIndependent/glslang.y"
 5998|      0|                    {
 5999|      0|        parseContext.explicitInt16Check((yyvsp[0].lex).loc, "16-bit integer literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6000|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((short)(yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6001|      0|    }
 6002|      0|#line 6003 "MachineIndependent/glslang_tab.cpp"
 6003|      0|    break;
 6004|       |
 6005|      0|  case 15: /* primary_expression: UINT16CONSTANT  */
  ------------------
  |  Branch (6005:3): [True: 0, False: 1.17M]
  ------------------
 6006|      0|#line 421 "MachineIndependent/glslang.y"
 6007|      0|                     {
 6008|      0|        parseContext.explicitInt16Check((yyvsp[0].lex).loc, "16-bit unsigned integer literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6009|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((unsigned short)(yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6010|      0|    }
 6011|      0|#line 6012 "MachineIndependent/glslang_tab.cpp"
 6012|      0|    break;
 6013|       |
 6014|      0|  case 16: /* primary_expression: DOUBLECONSTANT  */
  ------------------
  |  Branch (6014:3): [True: 0, False: 1.17M]
  ------------------
 6015|      0|#line 425 "MachineIndependent/glslang.y"
 6016|      0|                     {
 6017|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6018|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6018:13): [True: 0, False: 0]
  ------------------
 6019|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6020|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtDouble, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6021|      0|    }
 6022|      0|#line 6023 "MachineIndependent/glslang_tab.cpp"
 6023|      0|    break;
 6024|       |
 6025|      0|  case 17: /* primary_expression: FLOAT16CONSTANT  */
  ------------------
  |  Branch (6025:3): [True: 0, False: 1.17M]
  ------------------
 6026|      0|#line 431 "MachineIndependent/glslang.y"
 6027|      0|                      {
 6028|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6029|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat16, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6030|      0|    }
 6031|      0|#line 6032 "MachineIndependent/glslang_tab.cpp"
 6032|      0|    break;
 6033|       |
 6034|      0|  case 18: /* primary_expression: FLOATE2M1CONSTANT  */
  ------------------
  |  Branch (6034:3): [True: 0, False: 1.17M]
  ------------------
 6035|      0|#line 435 "MachineIndependent/glslang.y"
 6036|      0|                        {
 6037|      0|        parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6038|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloatE2M1, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6039|      0|    }
 6040|      0|#line 6041 "MachineIndependent/glslang_tab.cpp"
 6041|      0|    break;
 6042|       |
 6043|      0|  case 19: /* primary_expression: FLOATE3M2CONSTANT  */
  ------------------
  |  Branch (6043:3): [True: 0, False: 1.17M]
  ------------------
 6044|      0|#line 439 "MachineIndependent/glslang.y"
 6045|      0|                        {
 6046|      0|        parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6047|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloatE3M2, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6048|      0|    }
 6049|      0|#line 6050 "MachineIndependent/glslang_tab.cpp"
 6050|      0|    break;
 6051|       |
 6052|      0|  case 20: /* primary_expression: FLOATE2M3CONSTANT  */
  ------------------
  |  Branch (6052:3): [True: 0, False: 1.17M]
  ------------------
 6053|      0|#line 443 "MachineIndependent/glslang.y"
 6054|      0|                        {
 6055|      0|        parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6056|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloatE2M3, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6057|      0|    }
 6058|      0|#line 6059 "MachineIndependent/glslang_tab.cpp"
 6059|      0|    break;
 6060|       |
 6061|      0|  case 21: /* primary_expression: FLOATUE8M0CONSTANT  */
  ------------------
  |  Branch (6061:3): [True: 0, False: 1.17M]
  ------------------
 6062|      0|#line 447 "MachineIndependent/glslang.y"
 6063|      0|                         {
 6064|      0|        parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6065|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloatUE8M0, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6066|      0|    }
 6067|      0|#line 6068 "MachineIndependent/glslang_tab.cpp"
 6068|      0|    break;
 6069|       |
 6070|      0|  case 22: /* primary_expression: FLOATMXINT8CONSTANT  */
  ------------------
  |  Branch (6070:3): [True: 0, False: 1.17M]
  ------------------
 6071|      0|#line 451 "MachineIndependent/glslang.y"
 6072|      0|                          {
 6073|      0|        parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6074|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloatMXINT8, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6075|      0|    }
 6076|      0|#line 6077 "MachineIndependent/glslang_tab.cpp"
 6077|      0|    break;
 6078|       |
 6079|  1.28k|  case 23: /* postfix_expression: primary_expression  */
  ------------------
  |  Branch (6079:3): [True: 1.28k, False: 1.17M]
  ------------------
 6080|  1.28k|#line 458 "MachineIndependent/glslang.y"
 6081|  1.28k|                         {
 6082|  1.28k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6083|  1.28k|    }
 6084|  1.28k|#line 6085 "MachineIndependent/glslang_tab.cpp"
 6085|  1.28k|    break;
 6086|       |
 6087|      0|  case 24: /* postfix_expression: postfix_expression LEFT_BRACKET integer_expression RIGHT_BRACKET  */
  ------------------
  |  Branch (6087:3): [True: 0, False: 1.17M]
  ------------------
 6088|      0|#line 461 "MachineIndependent/glslang.y"
 6089|      0|                                                                       {
 6090|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBracketDereference((yyvsp[-2].lex).loc, (yyvsp[-3].interm.intermTypedNode), (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6091|      0|    }
 6092|      0|#line 6093 "MachineIndependent/glslang_tab.cpp"
 6093|      0|    break;
 6094|       |
 6095|     14|  case 25: /* postfix_expression: function_call  */
  ------------------
  |  Branch (6095:3): [True: 14, False: 1.17M]
  ------------------
 6096|     14|#line 464 "MachineIndependent/glslang.y"
 6097|     14|                    {
 6098|     14|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6099|     14|    }
 6100|     14|#line 6101 "MachineIndependent/glslang_tab.cpp"
 6101|     14|    break;
 6102|       |
 6103|      0|  case 26: /* postfix_expression: postfix_expression DOT IDENTIFIER  */
  ------------------
  |  Branch (6103:3): [True: 0, False: 1.17M]
  ------------------
 6104|      0|#line 467 "MachineIndependent/glslang.y"
 6105|      0|                                        {
 6106|      0|        (yyval.interm.intermTypedNode) = parseContext.handleDotDereference((yyvsp[0].lex).loc, (yyvsp[-2].interm.intermTypedNode), *(yyvsp[0].lex).string);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6107|      0|    }
 6108|      0|#line 6109 "MachineIndependent/glslang_tab.cpp"
 6109|      0|    break;
 6110|       |
 6111|      0|  case 27: /* postfix_expression: postfix_expression INC_OP  */
  ------------------
  |  Branch (6111:3): [True: 0, False: 1.17M]
  ------------------
 6112|      0|#line 470 "MachineIndependent/glslang.y"
 6113|      0|                                {
 6114|      0|        parseContext.variableCheck((yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6115|      0|        parseContext.lValueErrorCheck((yyvsp[0].lex).loc, "++", (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6116|      0|        (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[0].lex).loc, "++", EOpPostIncrement, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6117|      0|    }
 6118|      0|#line 6119 "MachineIndependent/glslang_tab.cpp"
 6119|      0|    break;
 6120|       |
 6121|      0|  case 28: /* postfix_expression: postfix_expression DEC_OP  */
  ------------------
  |  Branch (6121:3): [True: 0, False: 1.17M]
  ------------------
 6122|      0|#line 475 "MachineIndependent/glslang.y"
 6123|      0|                                {
 6124|      0|        parseContext.variableCheck((yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6125|      0|        parseContext.lValueErrorCheck((yyvsp[0].lex).loc, "--", (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6126|      0|        (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[0].lex).loc, "--", EOpPostDecrement, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6127|      0|    }
 6128|      0|#line 6129 "MachineIndependent/glslang_tab.cpp"
 6129|      0|    break;
 6130|       |
 6131|      0|  case 29: /* integer_expression: expression  */
  ------------------
  |  Branch (6131:3): [True: 0, False: 1.17M]
  ------------------
 6132|      0|#line 483 "MachineIndependent/glslang.y"
 6133|      0|                 {
 6134|      0|        parseContext.arrayIndexCheck((yyvsp[0].interm.intermTypedNode), "[]");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6135|      0|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6136|      0|    }
 6137|      0|#line 6138 "MachineIndependent/glslang_tab.cpp"
 6138|      0|    break;
 6139|       |
 6140|     14|  case 30: /* function_call: function_call_or_method  */
  ------------------
  |  Branch (6140:3): [True: 14, False: 1.17M]
  ------------------
 6141|     14|#line 490 "MachineIndependent/glslang.y"
 6142|     14|                              {
 6143|     14|        (yyval.interm.intermTypedNode) = parseContext.handleFunctionCall((yyvsp[0].interm).loc, (yyvsp[0].interm).function, (yyvsp[0].interm).intermNode);
  ------------------
  |  |  783|     14|#define parseContext (*pParseContext)
  ------------------
 6144|     14|        delete (yyvsp[0].interm).function;
 6145|     14|    }
 6146|     14|#line 6147 "MachineIndependent/glslang_tab.cpp"
 6147|     14|    break;
 6148|       |
 6149|     14|  case 31: /* function_call_or_method: function_call_generic  */
  ------------------
  |  Branch (6149:3): [True: 14, False: 1.17M]
  ------------------
 6150|     14|#line 497 "MachineIndependent/glslang.y"
 6151|     14|                            {
 6152|     14|        (yyval.interm) = (yyvsp[0].interm);
 6153|     14|    }
 6154|     14|#line 6155 "MachineIndependent/glslang_tab.cpp"
 6155|     14|    break;
 6156|       |
 6157|     14|  case 32: /* function_call_generic: function_call_header_with_parameters RIGHT_PAREN  */
  ------------------
  |  Branch (6157:3): [True: 14, False: 1.17M]
  ------------------
 6158|     14|#line 503 "MachineIndependent/glslang.y"
 6159|     14|                                                       {
 6160|     14|        (yyval.interm) = (yyvsp[-1].interm);
 6161|     14|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6162|     14|    }
 6163|     14|#line 6164 "MachineIndependent/glslang_tab.cpp"
 6164|     14|    break;
 6165|       |
 6166|      0|  case 33: /* function_call_generic: function_call_header_no_parameters RIGHT_PAREN  */
  ------------------
  |  Branch (6166:3): [True: 0, False: 1.17M]
  ------------------
 6167|      0|#line 507 "MachineIndependent/glslang.y"
 6168|      0|                                                     {
 6169|      0|        (yyval.interm) = (yyvsp[-1].interm);
 6170|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6171|      0|    }
 6172|      0|#line 6173 "MachineIndependent/glslang_tab.cpp"
 6173|      0|    break;
 6174|       |
 6175|      0|  case 34: /* function_call_header_no_parameters: function_call_header VOID  */
  ------------------
  |  Branch (6175:3): [True: 0, False: 1.17M]
  ------------------
 6176|      0|#line 514 "MachineIndependent/glslang.y"
 6177|      0|                                {
 6178|      0|        (yyval.interm) = (yyvsp[-1].interm);
 6179|      0|    }
 6180|      0|#line 6181 "MachineIndependent/glslang_tab.cpp"
 6181|      0|    break;
 6182|       |
 6183|      0|  case 35: /* function_call_header_no_parameters: function_call_header  */
  ------------------
  |  Branch (6183:3): [True: 0, False: 1.17M]
  ------------------
 6184|      0|#line 517 "MachineIndependent/glslang.y"
 6185|      0|                           {
 6186|      0|        (yyval.interm) = (yyvsp[0].interm);
 6187|      0|    }
 6188|      0|#line 6189 "MachineIndependent/glslang_tab.cpp"
 6189|      0|    break;
 6190|       |
 6191|     14|  case 36: /* function_call_header_with_parameters: function_call_header assignment_expression  */
  ------------------
  |  Branch (6191:3): [True: 14, False: 1.17M]
  ------------------
 6192|     14|#line 523 "MachineIndependent/glslang.y"
 6193|     14|                                                 {
 6194|     14|        if (parseContext.spvVersion.vulkan > 0
  ------------------
  |  |  783|     14|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6194:13): [True: 0, False: 14]
  ------------------
 6195|      0|            && parseContext.spvVersion.vulkanRelaxed
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6195:16): [True: 0, False: 0]
  ------------------
 6196|      0|            && (yyvsp[0].interm.intermTypedNode)->getType().containsOpaque())
  ------------------
  |  Branch (6196:16): [True: 0, False: 0]
  ------------------
 6197|      0|        {
 6198|      0|            (yyval.interm).intermNode = parseContext.vkRelaxedRemapFunctionArgument((yyval.interm).loc, (yyvsp[-1].interm).function, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6199|      0|            (yyval.interm).function = (yyvsp[-1].interm).function;
 6200|      0|        }
 6201|     14|        else
 6202|     14|        {
 6203|     14|            TParameter param = { 0, new TType, {} };
 6204|     14|            param.type->shallowCopy((yyvsp[0].interm.intermTypedNode)->getType());
 6205|       |
 6206|     14|            (yyvsp[-1].interm).function->addParameter(param);
 6207|     14|            (yyval.interm).function = (yyvsp[-1].interm).function;
 6208|     14|            (yyval.interm).intermNode = (yyvsp[0].interm.intermTypedNode);
 6209|     14|        }
 6210|     14|    }
 6211|     14|#line 6212 "MachineIndependent/glslang_tab.cpp"
 6212|     14|    break;
 6213|       |
 6214|     28|  case 37: /* function_call_header_with_parameters: function_call_header_with_parameters COMMA assignment_expression  */
  ------------------
  |  Branch (6214:3): [True: 28, False: 1.17M]
  ------------------
 6215|     28|#line 541 "MachineIndependent/glslang.y"
 6216|     28|                                                                       {
 6217|     28|        if (parseContext.spvVersion.vulkan > 0
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6217:13): [True: 0, False: 28]
  ------------------
 6218|      0|            && parseContext.spvVersion.vulkanRelaxed
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6218:16): [True: 0, False: 0]
  ------------------
 6219|      0|            && (yyvsp[0].interm.intermTypedNode)->getType().containsOpaque())
  ------------------
  |  Branch (6219:16): [True: 0, False: 0]
  ------------------
 6220|      0|        {
 6221|      0|            TIntermNode* remappedNode = parseContext.vkRelaxedRemapFunctionArgument((yyvsp[-1].lex).loc, (yyvsp[-2].interm).function, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6222|      0|            if (remappedNode == (yyvsp[0].interm.intermTypedNode))
  ------------------
  |  Branch (6222:17): [True: 0, False: 0]
  ------------------
 6223|      0|                (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6224|      0|            else
 6225|      0|                (yyval.interm).intermNode = parseContext.intermediate.mergeAggregate((yyvsp[-2].interm).intermNode, remappedNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6226|      0|            (yyval.interm).function = (yyvsp[-2].interm).function;
 6227|      0|        }
 6228|     28|        else
 6229|     28|        {
 6230|     28|            TParameter param = { 0, new TType, {} };
 6231|     28|            param.type->shallowCopy((yyvsp[0].interm.intermTypedNode)->getType());
 6232|       |
 6233|     28|            (yyvsp[-2].interm).function->addParameter(param);
 6234|     28|            (yyval.interm).function = (yyvsp[-2].interm).function;
 6235|     28|            (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 6236|     28|        }
 6237|     28|    }
 6238|     28|#line 6239 "MachineIndependent/glslang_tab.cpp"
 6239|     28|    break;
 6240|       |
 6241|     14|  case 38: /* function_call_header: function_identifier LEFT_PAREN  */
  ------------------
  |  Branch (6241:3): [True: 14, False: 1.17M]
  ------------------
 6242|     14|#line 566 "MachineIndependent/glslang.y"
 6243|     14|                                     {
 6244|     14|        (yyval.interm) = (yyvsp[-1].interm);
 6245|     14|    }
 6246|     14|#line 6247 "MachineIndependent/glslang_tab.cpp"
 6247|     14|    break;
 6248|       |
 6249|     14|  case 39: /* function_identifier: type_specifier  */
  ------------------
  |  Branch (6249:3): [True: 14, False: 1.17M]
  ------------------
 6250|     14|#line 574 "MachineIndependent/glslang.y"
 6251|     14|                     {
 6252|       |        // Constructor
 6253|     14|        (yyval.interm).intermNode = 0;
 6254|     14|        (yyval.interm).function = parseContext.handleConstructorCall((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type));
  ------------------
  |  |  783|     14|#define parseContext (*pParseContext)
  ------------------
 6255|     14|    }
 6256|     14|#line 6257 "MachineIndependent/glslang_tab.cpp"
 6257|     14|    break;
 6258|       |
 6259|      0|  case 40: /* function_identifier: postfix_expression  */
  ------------------
  |  Branch (6259:3): [True: 0, False: 1.17M]
  ------------------
 6260|      0|#line 579 "MachineIndependent/glslang.y"
 6261|      0|                         {
 6262|       |        //
 6263|       |        // Should be a method or subroutine call, but we haven't recognized the arguments yet.
 6264|       |        //
 6265|      0|        (yyval.interm).function = 0;
 6266|      0|        (yyval.interm).intermNode = 0;
 6267|       |
 6268|      0|        TIntermMethod* method = (yyvsp[0].interm.intermTypedNode)->getAsMethodNode();
 6269|      0|        if (method) {
  ------------------
  |  Branch (6269:13): [True: 0, False: 0]
  ------------------
 6270|      0|            (yyval.interm).function = new TFunction(&method->getMethodName(), method->getType(), EOpArrayLength);
 6271|      0|            (yyval.interm).intermNode = method->getObject();
 6272|      0|        } else {
 6273|      0|            TIntermSymbol* symbol = (yyvsp[0].interm.intermTypedNode)->getAsSymbolNode();
 6274|      0|            if (symbol) {
  ------------------
  |  Branch (6274:17): [True: 0, False: 0]
  ------------------
 6275|      0|                parseContext.reservedErrorCheck(symbol->getLoc(), symbol->getName());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6276|      0|                TFunction *function = new TFunction(&symbol->getName(), TType(EbtVoid));
 6277|      0|                (yyval.interm).function = function;
 6278|      0|            } else
 6279|      0|                parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "function call, method, or subroutine call expected", "", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6280|      0|        }
 6281|       |
 6282|      0|        if ((yyval.interm).function == 0) {
  ------------------
  |  Branch (6282:13): [True: 0, False: 0]
  ------------------
 6283|       |            // error recover
 6284|      0|            TString* empty = NewPoolTString("");
 6285|      0|            (yyval.interm).function = new TFunction(empty, TType(EbtVoid), EOpNull);
 6286|      0|        }
 6287|      0|    }
 6288|      0|#line 6289 "MachineIndependent/glslang_tab.cpp"
 6289|      0|    break;
 6290|       |
 6291|      0|  case 41: /* function_identifier: non_uniform_qualifier  */
  ------------------
  |  Branch (6291:3): [True: 0, False: 1.17M]
  ------------------
 6292|      0|#line 606 "MachineIndependent/glslang.y"
 6293|      0|                            {
 6294|       |        // Constructor
 6295|      0|        (yyval.interm).intermNode = 0;
 6296|      0|        (yyval.interm).function = parseContext.handleConstructorCall((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6297|      0|    }
 6298|      0|#line 6299 "MachineIndependent/glslang_tab.cpp"
 6299|      0|    break;
 6300|       |
 6301|  1.30k|  case 42: /* unary_expression: postfix_expression  */
  ------------------
  |  Branch (6301:3): [True: 1.30k, False: 1.17M]
  ------------------
 6302|  1.30k|#line 614 "MachineIndependent/glslang.y"
 6303|  1.30k|                         {
 6304|  1.30k|        parseContext.variableCheck((yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|  1.30k|#define parseContext (*pParseContext)
  ------------------
 6305|  1.30k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6306|  1.30k|        if (TIntermMethod* method = (yyvsp[0].interm.intermTypedNode)->getAsMethodNode())
  ------------------
  |  Branch (6306:28): [True: 0, False: 1.30k]
  ------------------
 6307|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "incomplete method syntax", method->getMethodName().c_str(), "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6308|  1.30k|    }
 6309|  1.30k|#line 6310 "MachineIndependent/glslang_tab.cpp"
 6310|  1.30k|    break;
 6311|       |
 6312|      0|  case 43: /* unary_expression: INC_OP unary_expression  */
  ------------------
  |  Branch (6312:3): [True: 0, False: 1.17M]
  ------------------
 6313|      0|#line 620 "MachineIndependent/glslang.y"
 6314|      0|                              {
 6315|      0|        parseContext.lValueErrorCheck((yyvsp[-1].lex).loc, "++", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6316|      0|        (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[-1].lex).loc, "++", EOpPreIncrement, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6317|      0|    }
 6318|      0|#line 6319 "MachineIndependent/glslang_tab.cpp"
 6319|      0|    break;
 6320|       |
 6321|      0|  case 44: /* unary_expression: DEC_OP unary_expression  */
  ------------------
  |  Branch (6321:3): [True: 0, False: 1.17M]
  ------------------
 6322|      0|#line 624 "MachineIndependent/glslang.y"
 6323|      0|                              {
 6324|      0|        parseContext.lValueErrorCheck((yyvsp[-1].lex).loc, "--", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6325|      0|        (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[-1].lex).loc, "--", EOpPreDecrement, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6326|      0|    }
 6327|      0|#line 6328 "MachineIndependent/glslang_tab.cpp"
 6328|      0|    break;
 6329|       |
 6330|      2|  case 45: /* unary_expression: unary_operator unary_expression  */
  ------------------
  |  Branch (6330:3): [True: 2, False: 1.17M]
  ------------------
 6331|      2|#line 628 "MachineIndependent/glslang.y"
 6332|      2|                                      {
 6333|      2|        if ((yyvsp[-1].interm).op != EOpNull) {
  ------------------
  |  Branch (6333:13): [True: 2, False: 0]
  ------------------
 6334|      2|            char errorOp[2] = {0, 0};
 6335|      2|            switch((yyvsp[-1].interm).op) {
 6336|      2|            case EOpNegative:   errorOp[0] = '-'; break;
  ------------------
  |  Branch (6336:13): [True: 2, False: 0]
  ------------------
 6337|      0|            case EOpLogicalNot: errorOp[0] = '!'; break;
  ------------------
  |  Branch (6337:13): [True: 0, False: 2]
  ------------------
 6338|      0|            case EOpBitwiseNot: errorOp[0] = '~'; break;
  ------------------
  |  Branch (6338:13): [True: 0, False: 2]
  ------------------
 6339|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (6339:13): [True: 0, False: 2]
  ------------------
 6340|      2|            }
 6341|      2|            (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[-1].interm).loc, errorOp, (yyvsp[-1].interm).op, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
 6342|      2|        } else {
 6343|      0|            (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6344|      0|            if ((yyval.interm.intermTypedNode)->getAsConstantUnion())
  ------------------
  |  Branch (6344:17): [True: 0, False: 0]
  ------------------
 6345|      0|                (yyval.interm.intermTypedNode)->getAsConstantUnion()->setExpression();
 6346|      0|        }
 6347|      2|    }
 6348|      2|#line 6349 "MachineIndependent/glslang_tab.cpp"
 6349|      2|    break;
 6350|       |
 6351|      2|  case 46: /* unary_expression: LEFT_PAREN type_specifier_nonarray RIGHT_PAREN unary_expression  */
  ------------------
  |  Branch (6351:3): [True: 0, False: 1.17M]
  ------------------
 6352|      0|#line 644 "MachineIndependent/glslang.y"
 6353|      0|                                                                      {
 6354|      0|        (yyval.interm.intermTypedNode) = parseContext.handleTypeCast((yyvsp[-3].lex).loc, new TType((yyvsp[-2].interm.type)), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6355|      0|    }
 6356|      0|#line 6357 "MachineIndependent/glslang_tab.cpp"
 6357|      0|    break;
 6358|       |
 6359|      0|  case 47: /* unary_operator: PLUS  */
  ------------------
  |  Branch (6359:3): [True: 0, False: 1.17M]
  ------------------
 6360|      0|#line 651 "MachineIndependent/glslang.y"
 6361|      0|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpNull; }
 6362|      0|#line 6363 "MachineIndependent/glslang_tab.cpp"
 6363|      0|    break;
 6364|       |
 6365|      2|  case 48: /* unary_operator: DASH  */
  ------------------
  |  Branch (6365:3): [True: 2, False: 1.17M]
  ------------------
 6366|      2|#line 652 "MachineIndependent/glslang.y"
 6367|      2|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpNegative; }
 6368|      2|#line 6369 "MachineIndependent/glslang_tab.cpp"
 6369|      2|    break;
 6370|       |
 6371|      0|  case 49: /* unary_operator: BANG  */
  ------------------
  |  Branch (6371:3): [True: 0, False: 1.17M]
  ------------------
 6372|      0|#line 653 "MachineIndependent/glslang.y"
 6373|      0|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpLogicalNot; }
 6374|      0|#line 6375 "MachineIndependent/glslang_tab.cpp"
 6375|      0|    break;
 6376|       |
 6377|      0|  case 50: /* unary_operator: TILDE  */
  ------------------
  |  Branch (6377:3): [True: 0, False: 1.17M]
  ------------------
 6378|      0|#line 654 "MachineIndependent/glslang.y"
 6379|      0|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpBitwiseNot;
 6380|      0|              parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bitwise not"); }
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6381|      0|#line 6382 "MachineIndependent/glslang_tab.cpp"
 6382|      0|    break;
 6383|       |
 6384|  1.27k|  case 51: /* multiplicative_expression: unary_expression  */
  ------------------
  |  Branch (6384:3): [True: 1.27k, False: 1.17M]
  ------------------
 6385|  1.27k|#line 660 "MachineIndependent/glslang.y"
 6386|  1.27k|                       { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6387|  1.27k|#line 6388 "MachineIndependent/glslang_tab.cpp"
 6388|  1.27k|    break;
 6389|       |
 6390|      0|  case 52: /* multiplicative_expression: multiplicative_expression STAR unary_expression  */
  ------------------
  |  Branch (6390:3): [True: 0, False: 1.17M]
  ------------------
 6391|      0|#line 661 "MachineIndependent/glslang.y"
 6392|      0|                                                      {
 6393|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "*", EOpMul, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6394|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6394:13): [True: 0, False: 0]
  ------------------
 6395|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6396|      0|    }
 6397|      0|#line 6398 "MachineIndependent/glslang_tab.cpp"
 6398|      0|    break;
 6399|       |
 6400|      0|  case 53: /* multiplicative_expression: multiplicative_expression SLASH unary_expression  */
  ------------------
  |  Branch (6400:3): [True: 0, False: 1.17M]
  ------------------
 6401|      0|#line 666 "MachineIndependent/glslang.y"
 6402|      0|                                                       {
 6403|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "/", EOpDiv, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6404|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6404:13): [True: 0, False: 0]
  ------------------
 6405|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6406|      0|    }
 6407|      0|#line 6408 "MachineIndependent/glslang_tab.cpp"
 6408|      0|    break;
 6409|       |
 6410|      0|  case 54: /* multiplicative_expression: multiplicative_expression PERCENT unary_expression  */
  ------------------
  |  Branch (6410:3): [True: 0, False: 1.17M]
  ------------------
 6411|      0|#line 671 "MachineIndependent/glslang.y"
 6412|      0|                                                         {
 6413|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "%");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6414|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "%", EOpMod, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6415|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6415:13): [True: 0, False: 0]
  ------------------
 6416|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6417|      0|    }
 6418|      0|#line 6419 "MachineIndependent/glslang_tab.cpp"
 6419|      0|    break;
 6420|       |
 6421|  1.27k|  case 55: /* additive_expression: multiplicative_expression  */
  ------------------
  |  Branch (6421:3): [True: 1.27k, False: 1.17M]
  ------------------
 6422|  1.27k|#line 680 "MachineIndependent/glslang.y"
 6423|  1.27k|                                { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6424|  1.27k|#line 6425 "MachineIndependent/glslang_tab.cpp"
 6425|  1.27k|    break;
 6426|       |
 6427|      0|  case 56: /* additive_expression: additive_expression PLUS multiplicative_expression  */
  ------------------
  |  Branch (6427:3): [True: 0, False: 1.17M]
  ------------------
 6428|      0|#line 681 "MachineIndependent/glslang.y"
 6429|      0|                                                         {
 6430|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "+", EOpAdd, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6431|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6431:13): [True: 0, False: 0]
  ------------------
 6432|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6433|      0|    }
 6434|      0|#line 6435 "MachineIndependent/glslang_tab.cpp"
 6435|      0|    break;
 6436|       |
 6437|      0|  case 57: /* additive_expression: additive_expression DASH multiplicative_expression  */
  ------------------
  |  Branch (6437:3): [True: 0, False: 1.17M]
  ------------------
 6438|      0|#line 686 "MachineIndependent/glslang.y"
 6439|      0|                                                         {
 6440|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "-", EOpSub, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6441|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6441:13): [True: 0, False: 0]
  ------------------
 6442|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6443|      0|    }
 6444|      0|#line 6445 "MachineIndependent/glslang_tab.cpp"
 6445|      0|    break;
 6446|       |
 6447|  1.27k|  case 58: /* shift_expression: additive_expression  */
  ------------------
  |  Branch (6447:3): [True: 1.27k, False: 1.17M]
  ------------------
 6448|  1.27k|#line 694 "MachineIndependent/glslang.y"
 6449|  1.27k|                          { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6450|  1.27k|#line 6451 "MachineIndependent/glslang_tab.cpp"
 6451|  1.27k|    break;
 6452|       |
 6453|      0|  case 59: /* shift_expression: shift_expression LEFT_OP additive_expression  */
  ------------------
  |  Branch (6453:3): [True: 0, False: 1.17M]
  ------------------
 6454|      0|#line 695 "MachineIndependent/glslang.y"
 6455|      0|                                                   {
 6456|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bit shift left");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6457|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "<<", EOpLeftShift, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6458|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6458:13): [True: 0, False: 0]
  ------------------
 6459|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6460|      0|    }
 6461|      0|#line 6462 "MachineIndependent/glslang_tab.cpp"
 6462|      0|    break;
 6463|       |
 6464|      0|  case 60: /* shift_expression: shift_expression RIGHT_OP additive_expression  */
  ------------------
  |  Branch (6464:3): [True: 0, False: 1.17M]
  ------------------
 6465|      0|#line 701 "MachineIndependent/glslang.y"
 6466|      0|                                                    {
 6467|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bit shift right");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6468|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, ">>", EOpRightShift, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6469|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6469:13): [True: 0, False: 0]
  ------------------
 6470|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6471|      0|    }
 6472|      0|#line 6473 "MachineIndependent/glslang_tab.cpp"
 6473|      0|    break;
 6474|       |
 6475|  1.27k|  case 61: /* relational_expression: shift_expression  */
  ------------------
  |  Branch (6475:3): [True: 1.27k, False: 1.17M]
  ------------------
 6476|  1.27k|#line 710 "MachineIndependent/glslang.y"
 6477|  1.27k|                       { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6478|  1.27k|#line 6479 "MachineIndependent/glslang_tab.cpp"
 6479|  1.27k|    break;
 6480|       |
 6481|      0|  case 62: /* relational_expression: relational_expression LEFT_ANGLE shift_expression  */
  ------------------
  |  Branch (6481:3): [True: 0, False: 1.17M]
  ------------------
 6482|      0|#line 711 "MachineIndependent/glslang.y"
 6483|      0|                                                        {
 6484|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "<", EOpLessThan, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6485|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6485:13): [True: 0, False: 0]
  ------------------
 6486|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6487|      0|    }
 6488|      0|#line 6489 "MachineIndependent/glslang_tab.cpp"
 6489|      0|    break;
 6490|       |
 6491|      0|  case 63: /* relational_expression: relational_expression RIGHT_ANGLE shift_expression  */
  ------------------
  |  Branch (6491:3): [True: 0, False: 1.17M]
  ------------------
 6492|      0|#line 716 "MachineIndependent/glslang.y"
 6493|      0|                                                          {
 6494|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, ">", EOpGreaterThan, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6495|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6495:13): [True: 0, False: 0]
  ------------------
 6496|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6497|      0|    }
 6498|      0|#line 6499 "MachineIndependent/glslang_tab.cpp"
 6499|      0|    break;
 6500|       |
 6501|      0|  case 64: /* relational_expression: relational_expression LE_OP shift_expression  */
  ------------------
  |  Branch (6501:3): [True: 0, False: 1.17M]
  ------------------
 6502|      0|#line 721 "MachineIndependent/glslang.y"
 6503|      0|                                                    {
 6504|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "<=", EOpLessThanEqual, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6505|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6505:13): [True: 0, False: 0]
  ------------------
 6506|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6507|      0|    }
 6508|      0|#line 6509 "MachineIndependent/glslang_tab.cpp"
 6509|      0|    break;
 6510|       |
 6511|      0|  case 65: /* relational_expression: relational_expression GE_OP shift_expression  */
  ------------------
  |  Branch (6511:3): [True: 0, False: 1.17M]
  ------------------
 6512|      0|#line 726 "MachineIndependent/glslang.y"
 6513|      0|                                                    {
 6514|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, ">=", EOpGreaterThanEqual, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6515|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6515:13): [True: 0, False: 0]
  ------------------
 6516|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6517|      0|    }
 6518|      0|#line 6519 "MachineIndependent/glslang_tab.cpp"
 6519|      0|    break;
 6520|       |
 6521|  1.27k|  case 66: /* equality_expression: relational_expression  */
  ------------------
  |  Branch (6521:3): [True: 1.27k, False: 1.17M]
  ------------------
 6522|  1.27k|#line 734 "MachineIndependent/glslang.y"
 6523|  1.27k|                            { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6524|  1.27k|#line 6525 "MachineIndependent/glslang_tab.cpp"
 6525|  1.27k|    break;
 6526|       |
 6527|      0|  case 67: /* equality_expression: equality_expression EQ_OP relational_expression  */
  ------------------
  |  Branch (6527:3): [True: 0, False: 1.17M]
  ------------------
 6528|      0|#line 735 "MachineIndependent/glslang.y"
 6529|      0|                                                       {
 6530|      0|        parseContext.arrayObjectCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "array comparison");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6531|      0|        parseContext.opaqueCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "==");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6532|      0|        parseContext.specializationCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "==");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6533|      0|        parseContext.referenceCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "==");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6534|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "==", EOpEqual, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6535|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6535:13): [True: 0, False: 0]
  ------------------
 6536|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6537|      0|    }
 6538|      0|#line 6539 "MachineIndependent/glslang_tab.cpp"
 6539|      0|    break;
 6540|       |
 6541|      0|  case 68: /* equality_expression: equality_expression NE_OP relational_expression  */
  ------------------
  |  Branch (6541:3): [True: 0, False: 1.17M]
  ------------------
 6542|      0|#line 744 "MachineIndependent/glslang.y"
 6543|      0|                                                      {
 6544|      0|        parseContext.arrayObjectCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "array comparison");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6545|      0|        parseContext.opaqueCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "!=");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6546|      0|        parseContext.specializationCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "!=");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6547|      0|        parseContext.referenceCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "!=");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6548|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "!=", EOpNotEqual, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6549|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6549:13): [True: 0, False: 0]
  ------------------
 6550|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6551|      0|    }
 6552|      0|#line 6553 "MachineIndependent/glslang_tab.cpp"
 6553|      0|    break;
 6554|       |
 6555|  1.27k|  case 69: /* and_expression: equality_expression  */
  ------------------
  |  Branch (6555:3): [True: 1.27k, False: 1.17M]
  ------------------
 6556|  1.27k|#line 756 "MachineIndependent/glslang.y"
 6557|  1.27k|                          { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6558|  1.27k|#line 6559 "MachineIndependent/glslang_tab.cpp"
 6559|  1.27k|    break;
 6560|       |
 6561|      0|  case 70: /* and_expression: and_expression AMPERSAND equality_expression  */
  ------------------
  |  Branch (6561:3): [True: 0, False: 1.17M]
  ------------------
 6562|      0|#line 757 "MachineIndependent/glslang.y"
 6563|      0|                                                   {
 6564|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bitwise and");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6565|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "&", EOpAnd, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6566|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6566:13): [True: 0, False: 0]
  ------------------
 6567|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6568|      0|    }
 6569|      0|#line 6570 "MachineIndependent/glslang_tab.cpp"
 6570|      0|    break;
 6571|       |
 6572|  1.27k|  case 71: /* exclusive_or_expression: and_expression  */
  ------------------
  |  Branch (6572:3): [True: 1.27k, False: 1.17M]
  ------------------
 6573|  1.27k|#line 766 "MachineIndependent/glslang.y"
 6574|  1.27k|                     { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6575|  1.27k|#line 6576 "MachineIndependent/glslang_tab.cpp"
 6576|  1.27k|    break;
 6577|       |
 6578|      0|  case 72: /* exclusive_or_expression: exclusive_or_expression CARET and_expression  */
  ------------------
  |  Branch (6578:3): [True: 0, False: 1.17M]
  ------------------
 6579|      0|#line 767 "MachineIndependent/glslang.y"
 6580|      0|                                                   {
 6581|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bitwise exclusive or");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6582|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "^", EOpExclusiveOr, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6583|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6583:13): [True: 0, False: 0]
  ------------------
 6584|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6585|      0|    }
 6586|      0|#line 6587 "MachineIndependent/glslang_tab.cpp"
 6587|      0|    break;
 6588|       |
 6589|  1.27k|  case 73: /* inclusive_or_expression: exclusive_or_expression  */
  ------------------
  |  Branch (6589:3): [True: 1.27k, False: 1.17M]
  ------------------
 6590|  1.27k|#line 776 "MachineIndependent/glslang.y"
 6591|  1.27k|                              { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6592|  1.27k|#line 6593 "MachineIndependent/glslang_tab.cpp"
 6593|  1.27k|    break;
 6594|       |
 6595|      0|  case 74: /* inclusive_or_expression: inclusive_or_expression VERTICAL_BAR exclusive_or_expression  */
  ------------------
  |  Branch (6595:3): [True: 0, False: 1.17M]
  ------------------
 6596|      0|#line 777 "MachineIndependent/glslang.y"
 6597|      0|                                                                   {
 6598|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bitwise inclusive or");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6599|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "|", EOpInclusiveOr, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6600|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6600:13): [True: 0, False: 0]
  ------------------
 6601|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6602|      0|    }
 6603|      0|#line 6604 "MachineIndependent/glslang_tab.cpp"
 6604|      0|    break;
 6605|       |
 6606|  1.27k|  case 75: /* logical_and_expression: inclusive_or_expression  */
  ------------------
  |  Branch (6606:3): [True: 1.27k, False: 1.17M]
  ------------------
 6607|  1.27k|#line 786 "MachineIndependent/glslang.y"
 6608|  1.27k|                              { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6609|  1.27k|#line 6610 "MachineIndependent/glslang_tab.cpp"
 6610|  1.27k|    break;
 6611|       |
 6612|      0|  case 76: /* logical_and_expression: logical_and_expression AND_OP inclusive_or_expression  */
  ------------------
  |  Branch (6612:3): [True: 0, False: 1.17M]
  ------------------
 6613|      0|#line 787 "MachineIndependent/glslang.y"
 6614|      0|                                                            {
 6615|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "&&", EOpLogicalAnd, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6616|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6616:13): [True: 0, False: 0]
  ------------------
 6617|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6618|      0|    }
 6619|      0|#line 6620 "MachineIndependent/glslang_tab.cpp"
 6620|      0|    break;
 6621|       |
 6622|  1.27k|  case 77: /* logical_xor_expression: logical_and_expression  */
  ------------------
  |  Branch (6622:3): [True: 1.27k, False: 1.17M]
  ------------------
 6623|  1.27k|#line 795 "MachineIndependent/glslang.y"
 6624|  1.27k|                             { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6625|  1.27k|#line 6626 "MachineIndependent/glslang_tab.cpp"
 6626|  1.27k|    break;
 6627|       |
 6628|      0|  case 78: /* logical_xor_expression: logical_xor_expression XOR_OP logical_and_expression  */
  ------------------
  |  Branch (6628:3): [True: 0, False: 1.17M]
  ------------------
 6629|      0|#line 796 "MachineIndependent/glslang.y"
 6630|      0|                                                            {
 6631|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "^^", EOpLogicalXor, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6632|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6632:13): [True: 0, False: 0]
  ------------------
 6633|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6634|      0|    }
 6635|      0|#line 6636 "MachineIndependent/glslang_tab.cpp"
 6636|      0|    break;
 6637|       |
 6638|  1.27k|  case 79: /* logical_or_expression: logical_xor_expression  */
  ------------------
  |  Branch (6638:3): [True: 1.27k, False: 1.17M]
  ------------------
 6639|  1.27k|#line 804 "MachineIndependent/glslang.y"
 6640|  1.27k|                             { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6641|  1.27k|#line 6642 "MachineIndependent/glslang_tab.cpp"
 6642|  1.27k|    break;
 6643|       |
 6644|      0|  case 80: /* logical_or_expression: logical_or_expression OR_OP logical_xor_expression  */
  ------------------
  |  Branch (6644:3): [True: 0, False: 1.17M]
  ------------------
 6645|      0|#line 805 "MachineIndependent/glslang.y"
 6646|      0|                                                          {
 6647|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "||", EOpLogicalOr, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6648|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6648:13): [True: 0, False: 0]
  ------------------
 6649|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6650|      0|    }
 6651|      0|#line 6652 "MachineIndependent/glslang_tab.cpp"
 6652|      0|    break;
 6653|       |
 6654|  1.27k|  case 81: /* conditional_expression: logical_or_expression  */
  ------------------
  |  Branch (6654:3): [True: 1.27k, False: 1.17M]
  ------------------
 6655|  1.27k|#line 813 "MachineIndependent/glslang.y"
 6656|  1.27k|                            { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6657|  1.27k|#line 6658 "MachineIndependent/glslang_tab.cpp"
 6658|  1.27k|    break;
 6659|       |
 6660|      0|  case 82: /* $@1: %empty  */
  ------------------
  |  Branch (6660:3): [True: 0, False: 1.17M]
  ------------------
 6661|      0|#line 814 "MachineIndependent/glslang.y"
 6662|      0|                                     {
 6663|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6664|      0|    }
 6665|      0|#line 6666 "MachineIndependent/glslang_tab.cpp"
 6666|      0|    break;
 6667|       |
 6668|      0|  case 83: /* conditional_expression: logical_or_expression QUESTION $@1 expression COLON assignment_expression  */
  ------------------
  |  Branch (6668:3): [True: 0, False: 1.17M]
  ------------------
 6669|      0|#line 817 "MachineIndependent/glslang.y"
 6670|      0|                                             {
 6671|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6672|      0|        parseContext.boolCheck((yyvsp[-4].lex).loc, (yyvsp[-5].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6673|      0|        parseContext.rValueErrorCheck((yyvsp[-4].lex).loc, "?", (yyvsp[-5].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6674|      0|        parseContext.rValueErrorCheck((yyvsp[-1].lex).loc, ":", (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6675|      0|        parseContext.rValueErrorCheck((yyvsp[-1].lex).loc, ":", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6676|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addSelection((yyvsp[-5].interm.intermTypedNode), (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode), (yyvsp[-4].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6677|      0|        if ((yyval.interm.intermTypedNode) == 0) {
  ------------------
  |  Branch (6677:13): [True: 0, False: 0]
  ------------------
 6678|      0|            parseContext.binaryOpError((yyvsp[-4].lex).loc, ":", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.binaryOpError((yyvsp[-4].lex).loc, ":", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.binaryOpError((yyvsp[-4].lex).loc, ":", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6679|      0|            (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6680|      0|        }
 6681|      0|    }
 6682|      0|#line 6683 "MachineIndependent/glslang_tab.cpp"
 6683|      0|    break;
 6684|       |
 6685|    868|  case 84: /* assignment_expression: conditional_expression  */
  ------------------
  |  Branch (6685:3): [True: 868, False: 1.17M]
  ------------------
 6686|    868|#line 832 "MachineIndependent/glslang.y"
 6687|    868|                             { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6688|    868|#line 6689 "MachineIndependent/glslang_tab.cpp"
 6689|    868|    break;
 6690|       |
 6691|      0|  case 85: /* assignment_expression: unary_expression assignment_operator assignment_expression  */
  ------------------
  |  Branch (6691:3): [True: 0, False: 1.17M]
  ------------------
 6692|      0|#line 833 "MachineIndependent/glslang.y"
 6693|      0|                                                                 {
 6694|      0|        parseContext.arrayObjectCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "array assignment");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6695|      0|        parseContext.opaqueCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "=");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6696|      0|        parseContext.storage16BitAssignmentCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "=");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6697|      0|        parseContext.specializationCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "=");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6698|      0|        parseContext.lValueErrorCheck((yyvsp[-1].interm).loc, "assign", (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6699|      0|        parseContext.rValueErrorCheck((yyvsp[-1].interm).loc, "assign", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6700|      0|        (yyval.interm.intermTypedNode) = parseContext.addAssign((yyvsp[-1].interm).loc, (yyvsp[-1].interm).op, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6701|      0|        if ((yyval.interm.intermTypedNode) == 0) {
  ------------------
  |  Branch (6701:13): [True: 0, False: 0]
  ------------------
 6702|      0|            parseContext.assignError((yyvsp[-1].interm).loc, "assign", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.assignError((yyvsp[-1].interm).loc, "assign", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.assignError((yyvsp[-1].interm).loc, "assign", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6703|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6704|      0|        }
 6705|      0|    }
 6706|      0|#line 6707 "MachineIndependent/glslang_tab.cpp"
 6707|      0|    break;
 6708|       |
 6709|      0|  case 86: /* assignment_operator: EQUAL  */
  ------------------
  |  Branch (6709:3): [True: 0, False: 1.17M]
  ------------------
 6710|      0|#line 849 "MachineIndependent/glslang.y"
 6711|      0|            {
 6712|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6713|      0|        (yyval.interm).op = EOpAssign;
 6714|      0|    }
 6715|      0|#line 6716 "MachineIndependent/glslang_tab.cpp"
 6716|      0|    break;
 6717|       |
 6718|      0|  case 87: /* assignment_operator: MUL_ASSIGN  */
  ------------------
  |  Branch (6718:3): [True: 0, False: 1.17M]
  ------------------
 6719|      0|#line 853 "MachineIndependent/glslang.y"
 6720|      0|                 {
 6721|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6722|      0|        (yyval.interm).op = EOpMulAssign;
 6723|      0|    }
 6724|      0|#line 6725 "MachineIndependent/glslang_tab.cpp"
 6725|      0|    break;
 6726|       |
 6727|      0|  case 88: /* assignment_operator: DIV_ASSIGN  */
  ------------------
  |  Branch (6727:3): [True: 0, False: 1.17M]
  ------------------
 6728|      0|#line 857 "MachineIndependent/glslang.y"
 6729|      0|                 {
 6730|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6731|      0|        (yyval.interm).op = EOpDivAssign;
 6732|      0|    }
 6733|      0|#line 6734 "MachineIndependent/glslang_tab.cpp"
 6734|      0|    break;
 6735|       |
 6736|      0|  case 89: /* assignment_operator: MOD_ASSIGN  */
  ------------------
  |  Branch (6736:3): [True: 0, False: 1.17M]
  ------------------
 6737|      0|#line 861 "MachineIndependent/glslang.y"
 6738|      0|                 {
 6739|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "%=");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6740|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6741|      0|        (yyval.interm).op = EOpModAssign;
 6742|      0|    }
 6743|      0|#line 6744 "MachineIndependent/glslang_tab.cpp"
 6744|      0|    break;
 6745|       |
 6746|      0|  case 90: /* assignment_operator: ADD_ASSIGN  */
  ------------------
  |  Branch (6746:3): [True: 0, False: 1.17M]
  ------------------
 6747|      0|#line 866 "MachineIndependent/glslang.y"
 6748|      0|                 {
 6749|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6750|      0|        (yyval.interm).op = EOpAddAssign;
 6751|      0|    }
 6752|      0|#line 6753 "MachineIndependent/glslang_tab.cpp"
 6753|      0|    break;
 6754|       |
 6755|      0|  case 91: /* assignment_operator: SUB_ASSIGN  */
  ------------------
  |  Branch (6755:3): [True: 0, False: 1.17M]
  ------------------
 6756|      0|#line 870 "MachineIndependent/glslang.y"
 6757|      0|                 {
 6758|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6759|      0|        (yyval.interm).op = EOpSubAssign;
 6760|      0|    }
 6761|      0|#line 6762 "MachineIndependent/glslang_tab.cpp"
 6762|      0|    break;
 6763|       |
 6764|      0|  case 92: /* assignment_operator: LEFT_ASSIGN  */
  ------------------
  |  Branch (6764:3): [True: 0, False: 1.17M]
  ------------------
 6765|      0|#line 874 "MachineIndependent/glslang.y"
 6766|      0|                  {
 6767|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bit-shift left assign");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6768|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpLeftShiftAssign;
 6769|      0|    }
 6770|      0|#line 6771 "MachineIndependent/glslang_tab.cpp"
 6771|      0|    break;
 6772|       |
 6773|      0|  case 93: /* assignment_operator: RIGHT_ASSIGN  */
  ------------------
  |  Branch (6773:3): [True: 0, False: 1.17M]
  ------------------
 6774|      0|#line 878 "MachineIndependent/glslang.y"
 6775|      0|                   {
 6776|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bit-shift right assign");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6777|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpRightShiftAssign;
 6778|      0|    }
 6779|      0|#line 6780 "MachineIndependent/glslang_tab.cpp"
 6780|      0|    break;
 6781|       |
 6782|      0|  case 94: /* assignment_operator: AND_ASSIGN  */
  ------------------
  |  Branch (6782:3): [True: 0, False: 1.17M]
  ------------------
 6783|      0|#line 882 "MachineIndependent/glslang.y"
 6784|      0|                 {
 6785|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bitwise-and assign");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6786|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpAndAssign;
 6787|      0|    }
 6788|      0|#line 6789 "MachineIndependent/glslang_tab.cpp"
 6789|      0|    break;
 6790|       |
 6791|      0|  case 95: /* assignment_operator: XOR_ASSIGN  */
  ------------------
  |  Branch (6791:3): [True: 0, False: 1.17M]
  ------------------
 6792|      0|#line 886 "MachineIndependent/glslang.y"
 6793|      0|                 {
 6794|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bitwise-xor assign");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6795|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpExclusiveOrAssign;
 6796|      0|    }
 6797|      0|#line 6798 "MachineIndependent/glslang_tab.cpp"
 6798|      0|    break;
 6799|       |
 6800|      0|  case 96: /* assignment_operator: OR_ASSIGN  */
  ------------------
  |  Branch (6800:3): [True: 0, False: 1.17M]
  ------------------
 6801|      0|#line 890 "MachineIndependent/glslang.y"
 6802|      0|                {
 6803|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bitwise-or assign");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6804|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpInclusiveOrAssign;
 6805|      0|    }
 6806|      0|#line 6807 "MachineIndependent/glslang_tab.cpp"
 6807|      0|    break;
 6808|       |
 6809|      0|  case 97: /* expression: assignment_expression  */
  ------------------
  |  Branch (6809:3): [True: 0, False: 1.17M]
  ------------------
 6810|      0|#line 897 "MachineIndependent/glslang.y"
 6811|      0|                            {
 6812|      0|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6813|      0|    }
 6814|      0|#line 6815 "MachineIndependent/glslang_tab.cpp"
 6815|      0|    break;
 6816|       |
 6817|      0|  case 98: /* expression: expression COMMA assignment_expression  */
  ------------------
  |  Branch (6817:3): [True: 0, False: 1.17M]
  ------------------
 6818|      0|#line 900 "MachineIndependent/glslang.y"
 6819|      0|                                             {
 6820|      0|        parseContext.samplerConstructorLocationCheck((yyvsp[-1].lex).loc, ",", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6821|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addComma((yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6822|      0|        if ((yyval.interm.intermTypedNode) == 0) {
  ------------------
  |  Branch (6822:13): [True: 0, False: 0]
  ------------------
 6823|      0|            parseContext.binaryOpError((yyvsp[-1].lex).loc, ",", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.binaryOpError((yyvsp[-1].lex).loc, ",", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.binaryOpError((yyvsp[-1].lex).loc, ",", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6824|      0|            (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6825|      0|        }
 6826|      0|    }
 6827|      0|#line 6828 "MachineIndependent/glslang_tab.cpp"
 6828|      0|    break;
 6829|       |
 6830|      0|  case 99: /* constant_expression: conditional_expression  */
  ------------------
  |  Branch (6830:3): [True: 0, False: 1.17M]
  ------------------
 6831|      0|#line 911 "MachineIndependent/glslang.y"
 6832|      0|                             {
 6833|      0|        parseContext.constantValueCheck((yyvsp[0].interm.intermTypedNode), "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6834|      0|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6835|      0|    }
 6836|      0|#line 6837 "MachineIndependent/glslang_tab.cpp"
 6837|      0|    break;
 6838|       |
 6839|  42.4k|  case 100: /* declaration: function_prototype SEMICOLON  */
  ------------------
  |  Branch (6839:3): [True: 42.4k, False: 1.13M]
  ------------------
 6840|  42.4k|#line 918 "MachineIndependent/glslang.y"
 6841|  42.4k|                                   {
 6842|  42.4k|        parseContext.handleFunctionDeclarator((yyvsp[-1].interm).loc, *(yyvsp[-1].interm).function, true /* prototype */);
  ------------------
  |  |  783|  42.4k|#define parseContext (*pParseContext)
  ------------------
 6843|  42.4k|        (yyval.interm.intermNode) = 0;
 6844|       |        // TODO: 4.0 functionality: subroutines: make the identifier a user type for this signature
 6845|  42.4k|    }
 6846|  42.4k|#line 6847 "MachineIndependent/glslang_tab.cpp"
 6847|  42.4k|    break;
 6848|       |
 6849|      0|  case 101: /* declaration: spirv_instruction_qualifier function_prototype SEMICOLON  */
  ------------------
  |  Branch (6849:3): [True: 0, False: 1.17M]
  ------------------
 6850|      0|#line 923 "MachineIndependent/glslang.y"
 6851|      0|                                                               {
 6852|      0|        parseContext.requireExtensions((yyvsp[-1].interm).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V instruction qualifier");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6853|      0|        (yyvsp[-1].interm).function->setSpirvInstruction(*(yyvsp[-2].interm.spirvInst)); // Attach SPIR-V intruction qualifier
 6854|      0|        parseContext.handleFunctionDeclarator((yyvsp[-1].interm).loc, *(yyvsp[-1].interm).function, true /* prototype */);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6855|      0|        (yyval.interm.intermNode) = 0;
 6856|       |        // TODO: 4.0 functionality: subroutines: make the identifier a user type for this signature
 6857|      0|    }
 6858|      0|#line 6859 "MachineIndependent/glslang_tab.cpp"
 6859|      0|    break;
 6860|       |
 6861|      0|  case 102: /* declaration: spirv_execution_mode_qualifier SEMICOLON  */
  ------------------
  |  Branch (6861:3): [True: 0, False: 1.17M]
  ------------------
 6862|      0|#line 930 "MachineIndependent/glslang.y"
 6863|      0|                                               {
 6864|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "SPIR-V execution mode qualifier");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6865|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V execution mode qualifier");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6866|      0|        (yyval.interm.intermNode) = 0;
 6867|      0|    }
 6868|      0|#line 6869 "MachineIndependent/glslang_tab.cpp"
 6869|      0|    break;
 6870|       |
 6871|  2.02k|  case 103: /* declaration: init_declarator_list SEMICOLON  */
  ------------------
  |  Branch (6871:3): [True: 2.02k, False: 1.17M]
  ------------------
 6872|  2.02k|#line 935 "MachineIndependent/glslang.y"
 6873|  2.02k|                                     {
 6874|  2.02k|        if ((yyvsp[-1].interm).intermNode && (yyvsp[-1].interm).intermNode->getAsAggregate())
  ------------------
  |  Branch (6874:13): [True: 0, False: 2.02k]
  |  Branch (6874:46): [True: 0, False: 0]
  ------------------
 6875|      0|            (yyvsp[-1].interm).intermNode->getAsAggregate()->setOperator(EOpSequence);
 6876|  2.02k|        (yyval.interm.intermNode) = (yyvsp[-1].interm).intermNode;
 6877|  2.02k|    }
 6878|  2.02k|#line 6879 "MachineIndependent/glslang_tab.cpp"
 6879|  2.02k|    break;
 6880|       |
 6881|      0|  case 104: /* declaration: PRECISION precision_qualifier type_specifier SEMICOLON  */
  ------------------
  |  Branch (6881:3): [True: 0, False: 1.17M]
  ------------------
 6882|      0|#line 940 "MachineIndependent/glslang.y"
 6883|      0|                                                             {
 6884|      0|        parseContext.profileRequires((yyvsp[-3].lex).loc, ENoProfile, 130, 0, "precision statement");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6885|       |        // lazy setting of the previous scope's defaults, has effect only the first time it is called in a particular scope
 6886|      0|        parseContext.symbolTable.setPreviousDefaultPrecisions(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.setPreviousDefaultPrecisions(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6887|      0|        parseContext.setDefaultPrecision((yyvsp[-3].lex).loc, (yyvsp[-1].interm.type), (yyvsp[-2].interm.type).qualifier.precision);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6888|      0|        (yyval.interm.intermNode) = 0;
 6889|      0|    }
 6890|      0|#line 6891 "MachineIndependent/glslang_tab.cpp"
 6891|      0|    break;
 6892|       |
 6893|      6|  case 105: /* declaration: block_structure SEMICOLON  */
  ------------------
  |  Branch (6893:3): [True: 6, False: 1.17M]
  ------------------
 6894|      6|#line 947 "MachineIndependent/glslang.y"
 6895|      6|                                {
 6896|      6|        (yyval.interm.intermNode) = parseContext.declareBlock((yyvsp[-1].interm).loc, *(yyvsp[-1].interm).typeList);
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 6897|      6|    }
 6898|      6|#line 6899 "MachineIndependent/glslang_tab.cpp"
 6899|      6|    break;
 6900|       |
 6901|      0|  case 106: /* declaration: block_structure IDENTIFIER SEMICOLON  */
  ------------------
  |  Branch (6901:3): [True: 0, False: 1.17M]
  ------------------
 6902|      0|#line 950 "MachineIndependent/glslang.y"
 6903|      0|                                           {
 6904|      0|        (yyval.interm.intermNode) = parseContext.declareBlock((yyvsp[-2].interm).loc, *(yyvsp[-2].interm).typeList, (yyvsp[-1].lex).string);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6905|      0|    }
 6906|      0|#line 6907 "MachineIndependent/glslang_tab.cpp"
 6907|      0|    break;
 6908|       |
 6909|     12|  case 107: /* declaration: block_structure IDENTIFIER array_specifier SEMICOLON  */
  ------------------
  |  Branch (6909:3): [True: 12, False: 1.17M]
  ------------------
 6910|     12|#line 953 "MachineIndependent/glslang.y"
 6911|     12|                                                           {
 6912|     12|        (yyval.interm.intermNode) = parseContext.declareBlock((yyvsp[-3].interm).loc, *(yyvsp[-3].interm).typeList, (yyvsp[-2].lex).string, (yyvsp[-1].interm).arraySizes);
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 6913|     12|    }
 6914|     12|#line 6915 "MachineIndependent/glslang_tab.cpp"
 6915|     12|    break;
 6916|       |
 6917|      0|  case 108: /* declaration: type_qualifier SEMICOLON  */
  ------------------
  |  Branch (6917:3): [True: 0, False: 1.17M]
  ------------------
 6918|      0|#line 956 "MachineIndependent/glslang.y"
 6919|      0|                               {
 6920|      0|        parseContext.globalQualifierFixCheck((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6921|      0|        parseContext.updateStandaloneQualifierDefaults((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6922|      0|        (yyval.interm.intermNode) = 0;
 6923|      0|    }
 6924|      0|#line 6925 "MachineIndependent/glslang_tab.cpp"
 6925|      0|    break;
 6926|       |
 6927|      0|  case 109: /* declaration: type_qualifier identifier_list SEMICOLON  */
  ------------------
  |  Branch (6927:3): [True: 0, False: 1.17M]
  ------------------
 6928|      0|#line 961 "MachineIndependent/glslang.y"
 6929|      0|                                               {
 6930|      0|        parseContext.checkNoShaderLayouts((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).shaderQualifiers);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6931|      0|        parseContext.addQualifierToExisting((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).qualifier, *(yyvsp[-1].interm.identifierList));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6932|      0|        (yyval.interm.intermNode) = 0;
 6933|      0|    }
 6934|      0|#line 6935 "MachineIndependent/glslang_tab.cpp"
 6935|      0|    break;
 6936|       |
 6937|     18|  case 110: /* $@2: %empty  */
  ------------------
  |  Branch (6937:3): [True: 18, False: 1.17M]
  ------------------
 6938|     18|#line 969 "MachineIndependent/glslang.y"
 6939|     18|                                           { parseContext.nestedBlockCheck((yyvsp[-2].interm.type).loc); }
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
 6940|     18|#line 6941 "MachineIndependent/glslang_tab.cpp"
 6941|     18|    break;
 6942|       |
 6943|     18|  case 111: /* block_structure: type_qualifier IDENTIFIER LEFT_BRACE $@2 struct_declaration_list RIGHT_BRACE  */
  ------------------
  |  Branch (6943:3): [True: 18, False: 1.17M]
  ------------------
 6944|     18|#line 969 "MachineIndependent/glslang.y"
 6945|     18|                                                                                                                          {
 6946|     18|        --parseContext.blockNestingLevel;
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
 6947|     18|        parseContext.blockName = (yyvsp[-4].lex).string;
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
 6948|     18|        parseContext.globalQualifierFixCheck((yyvsp[-5].interm.type).loc, (yyvsp[-5].interm.type).qualifier);
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
 6949|     18|        parseContext.checkNoShaderLayouts((yyvsp[-5].interm.type).loc, (yyvsp[-5].interm.type).shaderQualifiers);
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
 6950|     18|        parseContext.currentBlockQualifier = (yyvsp[-5].interm.type).qualifier;
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
 6951|     18|        (yyval.interm).loc = (yyvsp[-5].interm.type).loc;
 6952|     18|        (yyval.interm).typeList = (yyvsp[-1].interm.typeList);
 6953|     18|    }
 6954|     18|#line 6955 "MachineIndependent/glslang_tab.cpp"
 6955|     18|    break;
 6956|       |
 6957|      0|  case 112: /* identifier_list: IDENTIFIER  */
  ------------------
  |  Branch (6957:3): [True: 0, False: 1.17M]
  ------------------
 6958|      0|#line 981 "MachineIndependent/glslang.y"
 6959|      0|                 {
 6960|      0|        (yyval.interm.identifierList) = new TIdentifierList;
 6961|      0|        (yyval.interm.identifierList)->push_back((yyvsp[0].lex).string);
 6962|      0|    }
 6963|      0|#line 6964 "MachineIndependent/glslang_tab.cpp"
 6964|      0|    break;
 6965|       |
 6966|      0|  case 113: /* identifier_list: identifier_list COMMA IDENTIFIER  */
  ------------------
  |  Branch (6966:3): [True: 0, False: 1.17M]
  ------------------
 6967|      0|#line 985 "MachineIndependent/glslang.y"
 6968|      0|                                       {
 6969|      0|        (yyval.interm.identifierList) = (yyvsp[-2].interm.identifierList);
 6970|      0|        (yyval.interm.identifierList)->push_back((yyvsp[0].lex).string);
 6971|      0|    }
 6972|      0|#line 6973 "MachineIndependent/glslang_tab.cpp"
 6973|      0|    break;
 6974|       |
 6975|  42.4k|  case 114: /* function_prototype: function_declarator RIGHT_PAREN  */
  ------------------
  |  Branch (6975:3): [True: 42.4k, False: 1.13M]
  ------------------
 6976|  42.4k|#line 992 "MachineIndependent/glslang.y"
 6977|  42.4k|                                       {
 6978|  42.4k|        (yyval.interm).function = (yyvsp[-1].interm.function);
 6979|  42.4k|        if (parseContext.compileOnly) (yyval.interm).function->setExport();
  ------------------
  |  |  783|  42.4k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6979:13): [True: 0, False: 42.4k]
  ------------------
 6980|  42.4k|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6981|  42.4k|    }
 6982|  42.4k|#line 6983 "MachineIndependent/glslang_tab.cpp"
 6983|  42.4k|    break;
 6984|       |
 6985|      0|  case 115: /* function_prototype: function_declarator RIGHT_PAREN attribute  */
  ------------------
  |  Branch (6985:3): [True: 0, False: 1.17M]
  ------------------
 6986|      0|#line 997 "MachineIndependent/glslang.y"
 6987|      0|                                                {
 6988|      0|        (yyval.interm).function = (yyvsp[-2].interm.function);
 6989|      0|        if (parseContext.compileOnly) (yyval.interm).function->setExport();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6989:13): [True: 0, False: 0]
  ------------------
 6990|      0|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 6991|      0|        const char * extensions[3] = { E_GL_EXT_subgroup_uniform_control_flow, E_GL_EXT_maximal_reconvergence, E_GL_EXT_function_control_attributes };
 6992|      0|        parseContext.requireExtensions((yyvsp[-1].lex).loc, 3, extensions, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6993|      0|        parseContext.handleFunctionAttributes((yyvsp[-1].lex).loc, *(yyval.interm).function, *(yyvsp[0].interm.attributes));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6994|      0|    }
 6995|      0|#line 6996 "MachineIndependent/glslang_tab.cpp"
 6996|      0|    break;
 6997|       |
 6998|      0|  case 116: /* function_prototype: attribute function_declarator RIGHT_PAREN  */
  ------------------
  |  Branch (6998:3): [True: 0, False: 1.17M]
  ------------------
 6999|      0|#line 1005 "MachineIndependent/glslang.y"
 7000|      0|                                                {
 7001|      0|        (yyval.interm).function = (yyvsp[-1].interm.function);
 7002|      0|        if (parseContext.compileOnly) (yyval.interm).function->setExport();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7002:13): [True: 0, False: 0]
  ------------------
 7003|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 7004|      0|        const char * extensions[3] = { E_GL_EXT_subgroup_uniform_control_flow, E_GL_EXT_maximal_reconvergence, E_GL_EXT_function_control_attributes };
 7005|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 3, extensions, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7006|      0|        parseContext.handleFunctionAttributes((yyvsp[0].lex).loc, *(yyval.interm).function, *(yyvsp[-2].interm.attributes));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7007|      0|    }
 7008|      0|#line 7009 "MachineIndependent/glslang_tab.cpp"
 7009|      0|    break;
 7010|       |
 7011|      0|  case 117: /* function_prototype: attribute function_declarator RIGHT_PAREN attribute  */
  ------------------
  |  Branch (7011:3): [True: 0, False: 1.17M]
  ------------------
 7012|      0|#line 1013 "MachineIndependent/glslang.y"
 7013|      0|                                                          {
 7014|      0|        (yyval.interm).function = (yyvsp[-2].interm.function);
 7015|      0|        if (parseContext.compileOnly) (yyval.interm).function->setExport();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7015:13): [True: 0, False: 0]
  ------------------
 7016|      0|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 7017|      0|        const char * extensions[3] = { E_GL_EXT_subgroup_uniform_control_flow, E_GL_EXT_maximal_reconvergence, E_GL_EXT_function_control_attributes };
 7018|      0|        parseContext.requireExtensions((yyvsp[-1].lex).loc, 3, extensions, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7019|      0|        parseContext.handleFunctionAttributes((yyvsp[-1].lex).loc, *(yyval.interm).function, *(yyvsp[-3].interm.attributes));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7020|      0|        parseContext.handleFunctionAttributes((yyvsp[-1].lex).loc, *(yyval.interm).function, *(yyvsp[0].interm.attributes));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7021|      0|    }
 7022|      0|#line 7023 "MachineIndependent/glslang_tab.cpp"
 7023|      0|    break;
 7024|       |
 7025|    244|  case 118: /* function_declarator: function_header  */
  ------------------
  |  Branch (7025:3): [True: 244, False: 1.17M]
  ------------------
 7026|    244|#line 1025 "MachineIndependent/glslang.y"
 7027|    244|                      {
 7028|    244|        (yyval.interm.function) = (yyvsp[0].interm.function);
 7029|    244|    }
 7030|    244|#line 7031 "MachineIndependent/glslang_tab.cpp"
 7031|    244|    break;
 7032|       |
 7033|  42.1k|  case 119: /* function_declarator: function_header_with_parameters  */
  ------------------
  |  Branch (7033:3): [True: 42.1k, False: 1.13M]
  ------------------
 7034|  42.1k|#line 1028 "MachineIndependent/glslang.y"
 7035|  42.1k|                                      {
 7036|  42.1k|        (yyval.interm.function) = (yyvsp[0].interm.function);
 7037|  42.1k|    }
 7038|  42.1k|#line 7039 "MachineIndependent/glslang_tab.cpp"
 7039|  42.1k|    break;
 7040|       |
 7041|  42.1k|  case 120: /* function_header_with_parameters: function_header parameter_declaration  */
  ------------------
  |  Branch (7041:3): [True: 42.1k, False: 1.13M]
  ------------------
 7042|  42.1k|#line 1035 "MachineIndependent/glslang.y"
 7043|  42.1k|                                            {
 7044|       |        // Add the parameter
 7045|  42.1k|        (yyval.interm.function) = (yyvsp[-1].interm.function);
 7046|  42.1k|        if ((yyvsp[0].interm).param.type->getBasicType() != EbtVoid)
  ------------------
  |  Branch (7046:13): [True: 42.0k, False: 72]
  ------------------
 7047|  42.0k|        {
 7048|  42.0k|            if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  783|  42.0k|#define parseContext (*pParseContext)
  ------------------
                          if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7048:19): [True: 0, False: 42.0k]
  |  Branch (7048:57): [True: 0, False: 0]
  ------------------
 7049|  42.0k|                (yyvsp[-1].interm.function)->addParameter((yyvsp[0].interm).param);
 7050|      0|            else
 7051|      0|                parseContext.vkRelaxedRemapFunctionParameter((yyvsp[-1].interm.function), (yyvsp[0].interm).param);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7052|  42.0k|        }
 7053|     72|        else
 7054|     72|            delete (yyvsp[0].interm).param.type;
 7055|  42.1k|    }
 7056|  42.1k|#line 7057 "MachineIndependent/glslang_tab.cpp"
 7057|  42.1k|    break;
 7058|       |
 7059|  63.7k|  case 121: /* function_header_with_parameters: function_header_with_parameters COMMA parameter_declaration  */
  ------------------
  |  Branch (7059:3): [True: 63.7k, False: 1.11M]
  ------------------
 7060|  63.7k|#line 1048 "MachineIndependent/glslang.y"
 7061|  63.7k|                                                                  {
 7062|       |        //
 7063|       |        // Only first parameter of one-parameter functions can be void
 7064|       |        // The check for named parameters not being void is done in parameter_declarator
 7065|       |        //
 7066|  63.7k|        if ((yyvsp[0].interm).param.type->getBasicType() == EbtVoid) {
  ------------------
  |  Branch (7066:13): [True: 0, False: 63.7k]
  ------------------
 7067|       |            //
 7068|       |            // This parameter > first is void
 7069|       |            //
 7070|      0|            parseContext.error((yyvsp[-1].lex).loc, "cannot be an argument type except for '(void)'", "void", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7071|      0|            delete (yyvsp[0].interm).param.type;
 7072|  63.7k|        } else {
 7073|       |            // Add the parameter
 7074|  63.7k|            (yyval.interm.function) = (yyvsp[-2].interm.function);
 7075|  63.7k|            if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  783|  63.7k|#define parseContext (*pParseContext)
  ------------------
                          if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7075:19): [True: 0, False: 63.7k]
  |  Branch (7075:57): [True: 0, False: 0]
  ------------------
 7076|  63.7k|                (yyvsp[-2].interm.function)->addParameter((yyvsp[0].interm).param);
 7077|      0|            else
 7078|      0|                parseContext.vkRelaxedRemapFunctionParameter((yyvsp[-2].interm.function), (yyvsp[0].interm).param);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7079|  63.7k|        }
 7080|  63.7k|    }
 7081|  63.7k|#line 7082 "MachineIndependent/glslang_tab.cpp"
 7082|  63.7k|    break;
 7083|       |
 7084|    120|  case 122: /* function_header_with_parameters: function_header_with_parameters COMMA DOT DOT DOT  */
  ------------------
  |  Branch (7084:3): [True: 120, False: 1.17M]
  ------------------
 7085|    120|#line 1068 "MachineIndependent/glslang.y"
 7086|    120|                                                        {
 7087|    120|        (yyval.interm.function) = (yyvsp[-4].interm.function);
 7088|    120|        parseContext.makeVariadic((yyvsp[-4].interm.function), (yyvsp[-2].lex).loc);
  ------------------
  |  |  783|    120|#define parseContext (*pParseContext)
  ------------------
 7089|    120|    }
 7090|    120|#line 7091 "MachineIndependent/glslang_tab.cpp"
 7091|    120|    break;
 7092|       |
 7093|  42.4k|  case 123: /* function_header: fully_specified_type IDENTIFIER LEFT_PAREN  */
  ------------------
  |  Branch (7093:3): [True: 42.4k, False: 1.13M]
  ------------------
 7094|  42.4k|#line 1075 "MachineIndependent/glslang.y"
 7095|  42.4k|                                                 {
 7096|  42.4k|        if ((yyvsp[-2].interm.type).qualifier.storage != EvqGlobal && (yyvsp[-2].interm.type).qualifier.storage != EvqTemporary) {
  ------------------
  |  Branch (7096:13): [True: 0, False: 42.4k]
  |  Branch (7096:71): [True: 0, False: 0]
  ------------------
 7097|      0|            parseContext.error((yyvsp[-1].lex).loc, "no qualifiers allowed for function return",
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7098|      0|                               GetStorageQualifierString((yyvsp[-2].interm.type).qualifier.storage), "");
 7099|      0|        }
 7100|  42.4k|        if ((yyvsp[-2].interm.type).arraySizes)
  ------------------
  |  Branch (7100:13): [True: 0, False: 42.4k]
  ------------------
 7101|      0|            parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7102|       |
 7103|       |        // Add the function as a prototype after parsing it (we do not support recursion)
 7104|  42.4k|        TFunction *function;
 7105|  42.4k|        TType type((yyvsp[-2].interm.type));
 7106|       |
 7107|       |        // Potentially rename shader entry point function.  No-op most of the time.
 7108|  42.4k|        parseContext.renameShaderFunction((yyvsp[-1].lex).string);
  ------------------
  |  |  783|  42.4k|#define parseContext (*pParseContext)
  ------------------
 7109|       |
 7110|       |        // Make the function
 7111|  42.4k|        function = new TFunction((yyvsp[-1].lex).string, type);
 7112|  42.4k|        (yyval.interm.function) = function;
 7113|  42.4k|    }
 7114|  42.4k|#line 7115 "MachineIndependent/glslang_tab.cpp"
 7115|  42.4k|    break;
 7116|       |
 7117|  16.2k|  case 124: /* parameter_declarator: type_specifier IDENTIFIER  */
  ------------------
  |  Branch (7117:3): [True: 16.2k, False: 1.16M]
  ------------------
 7118|  16.2k|#line 1098 "MachineIndependent/glslang.y"
 7119|  16.2k|                                {
 7120|  16.2k|        if ((yyvsp[-1].interm.type).arraySizes) {
  ------------------
  |  Branch (7120:13): [True: 1.95k, False: 14.3k]
  ------------------
 7121|  1.95k|            parseContext.profileRequires((yyvsp[-1].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  783|  1.95k|#define parseContext (*pParseContext)
  ------------------
 7122|  1.95k|            parseContext.profileRequires((yyvsp[-1].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  783|  1.95k|#define parseContext (*pParseContext)
  ------------------
 7123|  1.95k|            parseContext.arraySizeRequiredCheck((yyvsp[-1].interm.type).loc, *(yyvsp[-1].interm.type).arraySizes);
  ------------------
  |  |  783|  1.95k|#define parseContext (*pParseContext)
  ------------------
 7124|  1.95k|        }
 7125|  16.2k|        if ((yyvsp[-1].interm.type).basicType == EbtVoid) {
  ------------------
  |  Branch (7125:13): [True: 0, False: 16.2k]
  ------------------
 7126|      0|            parseContext.error((yyvsp[0].lex).loc, "illegal use of type 'void'", (yyvsp[0].lex).string->c_str(), "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7127|      0|        }
 7128|  16.2k|        parseContext.reservedErrorCheck((yyvsp[0].lex).loc, *(yyvsp[0].lex).string);
  ------------------
  |  |  783|  16.2k|#define parseContext (*pParseContext)
  ------------------
 7129|       |
 7130|  16.2k|        TParameter param = {(yyvsp[0].lex).string, new TType((yyvsp[-1].interm.type)), {}};
 7131|  16.2k|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 7132|  16.2k|        (yyval.interm).param = param;
 7133|  16.2k|    }
 7134|  16.2k|#line 7135 "MachineIndependent/glslang_tab.cpp"
 7135|  16.2k|    break;
 7136|       |
 7137|    436|  case 125: /* parameter_declarator: type_specifier IDENTIFIER array_specifier  */
  ------------------
  |  Branch (7137:3): [True: 436, False: 1.17M]
  ------------------
 7138|    436|#line 1113 "MachineIndependent/glslang.y"
 7139|    436|                                                {
 7140|    436|        if ((yyvsp[-2].interm.type).arraySizes) {
  ------------------
  |  Branch (7140:13): [True: 0, False: 436]
  ------------------
 7141|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7142|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7143|      0|            parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7144|      0|        }
 7145|    436|        TType* type = new TType((yyvsp[-2].interm.type));
 7146|    436|        type->transferArraySizes((yyvsp[0].interm).arraySizes);
 7147|    436|        type->copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
 7148|       |
 7149|    436|        parseContext.arrayOfArrayVersionCheck((yyvsp[-1].lex).loc, type->getArraySizes());
  ------------------
  |  |  783|    436|#define parseContext (*pParseContext)
  ------------------
 7150|    436|        parseContext.arraySizeRequiredCheck((yyvsp[0].interm).loc, *(yyvsp[0].interm).arraySizes);
  ------------------
  |  |  783|    436|#define parseContext (*pParseContext)
  ------------------
 7151|    436|        parseContext.reservedErrorCheck((yyvsp[-1].lex).loc, *(yyvsp[-1].lex).string);
  ------------------
  |  |  783|    436|#define parseContext (*pParseContext)
  ------------------
 7152|       |
 7153|    436|        TParameter param = { (yyvsp[-1].lex).string, type, {} };
 7154|       |
 7155|    436|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 7156|    436|        (yyval.interm).param = param;
 7157|    436|    }
 7158|    436|#line 7159 "MachineIndependent/glslang_tab.cpp"
 7159|    436|    break;
 7160|       |
 7161|    120|  case 126: /* parameter_declarator: type_specifier IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (7161:3): [True: 120, False: 1.17M]
  ------------------
 7162|    120|#line 1132 "MachineIndependent/glslang.y"
 7163|    120|                                                  {
 7164|    120|        TParameter param = parseContext.getParamWithDefault((yyvsp[-3].interm.type), (yyvsp[-2].lex).string, (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|    120|#define parseContext (*pParseContext)
  ------------------
 7165|    120|        (yyval.interm).loc = (yyvsp[-2].lex).loc;
 7166|    120|        (yyval.interm).param = param;
 7167|    120|    }
 7168|    120|#line 7169 "MachineIndependent/glslang_tab.cpp"
 7169|    120|    break;
 7170|       |
 7171|  2.03k|  case 127: /* parameter_declaration: type_qualifier parameter_declarator  */
  ------------------
  |  Branch (7171:3): [True: 2.03k, False: 1.17M]
  ------------------
 7172|  2.03k|#line 1143 "MachineIndependent/glslang.y"
 7173|  2.03k|                                          {
 7174|  2.03k|        (yyval.interm) = (yyvsp[0].interm);
 7175|  2.03k|        if ((yyvsp[-1].interm.type).qualifier.precision != EpqNone)
  ------------------
  |  Branch (7175:13): [True: 0, False: 2.03k]
  ------------------
 7176|      0|            (yyval.interm).param.type->getQualifier().precision = (yyvsp[-1].interm.type).qualifier.precision;
 7177|  2.03k|        parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  783|  2.03k|#define parseContext (*pParseContext)
  ------------------
 7178|       |
 7179|  2.03k|        parseContext.checkNoShaderLayouts((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
  ------------------
  |  |  783|  2.03k|#define parseContext (*pParseContext)
  ------------------
 7180|  2.03k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, (yyvsp[-1].interm.type).qualifier.storage, *(yyval.interm).param.type);
  ------------------
  |  |  783|  2.03k|#define parseContext (*pParseContext)
  ------------------
 7181|  2.03k|        parseContext.paramCheckFix((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, *(yyval.interm).param.type);
  ------------------
  |  |  783|  2.03k|#define parseContext (*pParseContext)
  ------------------
 7182|       |
 7183|  2.03k|    }
 7184|  2.03k|#line 7185 "MachineIndependent/glslang_tab.cpp"
 7185|  2.03k|    break;
 7186|       |
 7187|  14.8k|  case 128: /* parameter_declaration: parameter_declarator  */
  ------------------
  |  Branch (7187:3): [True: 14.8k, False: 1.16M]
  ------------------
 7188|  14.8k|#line 1154 "MachineIndependent/glslang.y"
 7189|  14.8k|                           {
 7190|  14.8k|        (yyval.interm) = (yyvsp[0].interm);
 7191|       |
 7192|  14.8k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, EvqIn, *(yyvsp[0].interm).param.type);
  ------------------
  |  |  783|  14.8k|#define parseContext (*pParseContext)
  ------------------
 7193|  14.8k|        parseContext.paramCheckFixStorage((yyvsp[0].interm).loc, EvqTemporary, *(yyval.interm).param.type);
  ------------------
  |  |  783|  14.8k|#define parseContext (*pParseContext)
  ------------------
 7194|  14.8k|        parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  783|  14.8k|#define parseContext (*pParseContext)
  ------------------
 7195|  14.8k|    }
 7196|  14.8k|#line 7197 "MachineIndependent/glslang_tab.cpp"
 7197|  14.8k|    break;
 7198|       |
 7199|  7.64k|  case 129: /* parameter_declaration: type_qualifier parameter_type_specifier  */
  ------------------
  |  Branch (7199:3): [True: 7.64k, False: 1.16M]
  ------------------
 7200|  7.64k|#line 1164 "MachineIndependent/glslang.y"
 7201|  7.64k|                                              {
 7202|  7.64k|        (yyval.interm) = (yyvsp[0].interm);
 7203|  7.64k|        if ((yyvsp[-1].interm.type).qualifier.precision != EpqNone)
  ------------------
  |  Branch (7203:13): [True: 0, False: 7.64k]
  ------------------
 7204|      0|            (yyval.interm).param.type->getQualifier().precision = (yyvsp[-1].interm.type).qualifier.precision;
 7205|  7.64k|        parseContext.precisionQualifierCheck((yyvsp[-1].interm.type).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  783|  7.64k|#define parseContext (*pParseContext)
  ------------------
 7206|       |
 7207|  7.64k|        parseContext.checkNoShaderLayouts((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
  ------------------
  |  |  783|  7.64k|#define parseContext (*pParseContext)
  ------------------
 7208|  7.64k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, (yyvsp[-1].interm.type).qualifier.storage, *(yyval.interm).param.type);
  ------------------
  |  |  783|  7.64k|#define parseContext (*pParseContext)
  ------------------
 7209|  7.64k|        parseContext.paramCheckFix((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, *(yyval.interm).param.type);
  ------------------
  |  |  783|  7.64k|#define parseContext (*pParseContext)
  ------------------
 7210|  7.64k|    }
 7211|  7.64k|#line 7212 "MachineIndependent/glslang_tab.cpp"
 7212|  7.64k|    break;
 7213|       |
 7214|  81.4k|  case 130: /* parameter_declaration: parameter_type_specifier  */
  ------------------
  |  Branch (7214:3): [True: 81.4k, False: 1.09M]
  ------------------
 7215|  81.4k|#line 1174 "MachineIndependent/glslang.y"
 7216|  81.4k|                               {
 7217|  81.4k|        (yyval.interm) = (yyvsp[0].interm);
 7218|       |
 7219|  81.4k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, EvqIn, *(yyvsp[0].interm).param.type);
  ------------------
  |  |  783|  81.4k|#define parseContext (*pParseContext)
  ------------------
 7220|  81.4k|        parseContext.paramCheckFixStorage((yyvsp[0].interm).loc, EvqTemporary, *(yyval.interm).param.type);
  ------------------
  |  |  783|  81.4k|#define parseContext (*pParseContext)
  ------------------
 7221|  81.4k|        parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  783|  81.4k|#define parseContext (*pParseContext)
  ------------------
 7222|  81.4k|    }
 7223|  81.4k|#line 7224 "MachineIndependent/glslang_tab.cpp"
 7224|  81.4k|    break;
 7225|       |
 7226|  89.0k|  case 131: /* parameter_type_specifier: type_specifier  */
  ------------------
  |  Branch (7226:3): [True: 89.0k, False: 1.08M]
  ------------------
 7227|  89.0k|#line 1184 "MachineIndependent/glslang.y"
 7228|  89.0k|                     {
 7229|  89.0k|        TParameter param = { 0, new TType((yyvsp[0].interm.type)), {} };
 7230|  89.0k|        (yyval.interm).param = param;
 7231|  89.0k|        if ((yyvsp[0].interm.type).arraySizes)
  ------------------
  |  Branch (7231:13): [True: 396, False: 88.6k]
  ------------------
 7232|    396|            parseContext.arraySizeRequiredCheck((yyvsp[0].interm.type).loc, *(yyvsp[0].interm.type).arraySizes);
  ------------------
  |  |  783|    396|#define parseContext (*pParseContext)
  ------------------
 7233|  89.0k|    }
 7234|  89.0k|#line 7235 "MachineIndependent/glslang_tab.cpp"
 7235|  89.0k|    break;
 7236|       |
 7237|  2.02k|  case 132: /* init_declarator_list: single_declaration  */
  ------------------
  |  Branch (7237:3): [True: 2.02k, False: 1.17M]
  ------------------
 7238|  2.02k|#line 1193 "MachineIndependent/glslang.y"
 7239|  2.02k|                         {
 7240|  2.02k|        (yyval.interm) = (yyvsp[0].interm);
 7241|  2.02k|    }
 7242|  2.02k|#line 7243 "MachineIndependent/glslang_tab.cpp"
 7243|  2.02k|    break;
 7244|       |
 7245|      0|  case 133: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER  */
  ------------------
  |  Branch (7245:3): [True: 0, False: 1.17M]
  ------------------
 7246|      0|#line 1196 "MachineIndependent/glslang.y"
 7247|      0|                                            {
 7248|      0|        (yyval.interm) = (yyvsp[-2].interm);
 7249|      0|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[0].lex).loc, *(yyvsp[0].lex).string, (yyvsp[-2].interm).type);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7250|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, declNode, (yyvsp[0].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7251|      0|    }
 7252|      0|#line 7253 "MachineIndependent/glslang_tab.cpp"
 7253|      0|    break;
 7254|       |
 7255|      0|  case 134: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER array_specifier  */
  ------------------
  |  Branch (7255:3): [True: 0, False: 1.17M]
  ------------------
 7256|      0|#line 1201 "MachineIndependent/glslang.y"
 7257|      0|                                                            {
 7258|      0|        (yyval.interm) = (yyvsp[-3].interm);
 7259|      0|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-1].lex).loc, *(yyvsp[-1].lex).string, (yyvsp[-3].interm).type, (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7260|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-3].interm).intermNode, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7261|      0|    }
 7262|      0|#line 7263 "MachineIndependent/glslang_tab.cpp"
 7263|      0|    break;
 7264|       |
 7265|      0|  case 135: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER array_specifier EQUAL initializer  */
  ------------------
  |  Branch (7265:3): [True: 0, False: 1.17M]
  ------------------
 7266|      0|#line 1206 "MachineIndependent/glslang.y"
 7267|      0|                                                                              {
 7268|      0|        (yyval.interm).type = (yyvsp[-5].interm).type;
 7269|      0|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-3].lex).loc, *(yyvsp[-3].lex).string, (yyvsp[-5].interm).type, (yyvsp[-2].interm).arraySizes, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7270|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-5].interm).intermNode, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7271|      0|    }
 7272|      0|#line 7273 "MachineIndependent/glslang_tab.cpp"
 7273|      0|    break;
 7274|       |
 7275|      0|  case 136: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (7275:3): [True: 0, False: 1.17M]
  ------------------
 7276|      0|#line 1211 "MachineIndependent/glslang.y"
 7277|      0|                                                              {
 7278|      0|        (yyval.interm).type = (yyvsp[-4].interm).type;
 7279|      0|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[-4].interm).type, 0, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7280|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-4].interm).intermNode, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7281|      0|    }
 7282|      0|#line 7283 "MachineIndependent/glslang_tab.cpp"
 7283|      0|    break;
 7284|       |
 7285|     74|  case 137: /* single_declaration: fully_specified_type  */
  ------------------
  |  Branch (7285:3): [True: 74, False: 1.17M]
  ------------------
 7286|     74|#line 1219 "MachineIndependent/glslang.y"
 7287|     74|                           {
 7288|     74|        (yyval.interm).type = (yyvsp[0].interm.type);
 7289|     74|        (yyval.interm).intermNode = 0;
 7290|     74|        parseContext.declareTypeDefaults((yyval.interm).loc, (yyval.interm).type);
  ------------------
  |  |  783|     74|#define parseContext (*pParseContext)
  ------------------
 7291|     74|    }
 7292|     74|#line 7293 "MachineIndependent/glslang_tab.cpp"
 7293|     74|    break;
 7294|       |
 7295|  1.19k|  case 138: /* single_declaration: fully_specified_type IDENTIFIER  */
  ------------------
  |  Branch (7295:3): [True: 1.19k, False: 1.17M]
  ------------------
 7296|  1.19k|#line 1224 "MachineIndependent/glslang.y"
 7297|  1.19k|                                      {
 7298|  1.19k|        (yyval.interm).type = (yyvsp[-1].interm.type);
 7299|  1.19k|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[0].lex).loc, *(yyvsp[0].lex).string, (yyvsp[-1].interm.type));
  ------------------
  |  |  783|  1.19k|#define parseContext (*pParseContext)
  ------------------
 7300|  1.19k|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[0].lex).loc);
  ------------------
  |  |  783|  1.19k|#define parseContext (*pParseContext)
  ------------------
 7301|       |
 7302|  1.19k|    }
 7303|  1.19k|#line 7304 "MachineIndependent/glslang_tab.cpp"
 7304|  1.19k|    break;
 7305|       |
 7306|     52|  case 139: /* single_declaration: fully_specified_type IDENTIFIER array_specifier  */
  ------------------
  |  Branch (7306:3): [True: 52, False: 1.17M]
  ------------------
 7307|     52|#line 1230 "MachineIndependent/glslang.y"
 7308|     52|                                                      {
 7309|     52|        (yyval.interm).type = (yyvsp[-2].interm.type);
 7310|     52|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-1].lex).loc, *(yyvsp[-1].lex).string, (yyvsp[-2].interm.type), (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  783|     52|#define parseContext (*pParseContext)
  ------------------
 7311|     52|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|     52|#define parseContext (*pParseContext)
  ------------------
 7312|     52|    }
 7313|     52|#line 7314 "MachineIndependent/glslang_tab.cpp"
 7314|     52|    break;
 7315|       |
 7316|      0|  case 140: /* single_declaration: fully_specified_type IDENTIFIER array_specifier EQUAL initializer  */
  ------------------
  |  Branch (7316:3): [True: 0, False: 1.17M]
  ------------------
 7317|      0|#line 1235 "MachineIndependent/glslang.y"
 7318|      0|                                                                        {
 7319|      0|        (yyval.interm).type = (yyvsp[-4].interm.type);
 7320|      0|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-3].lex).loc, *(yyvsp[-3].lex).string, (yyvsp[-4].interm.type), (yyvsp[-2].interm).arraySizes, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7321|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[-3].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7322|      0|    }
 7323|      0|#line 7324 "MachineIndependent/glslang_tab.cpp"
 7324|      0|    break;
 7325|       |
 7326|    706|  case 141: /* single_declaration: fully_specified_type IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (7326:3): [True: 706, False: 1.17M]
  ------------------
 7327|    706|#line 1240 "MachineIndependent/glslang.y"
 7328|    706|                                                        {
 7329|    706|        (yyval.interm).type = (yyvsp[-3].interm.type);
 7330|    706|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[-3].interm.type), 0, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|    706|#define parseContext (*pParseContext)
  ------------------
 7331|    706|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[-2].lex).loc);
  ------------------
  |  |  783|    706|#define parseContext (*pParseContext)
  ------------------
 7332|    706|    }
 7333|    706|#line 7334 "MachineIndependent/glslang_tab.cpp"
 7334|    706|    break;
 7335|       |
 7336|  40.9k|  case 142: /* fully_specified_type: type_specifier  */
  ------------------
  |  Branch (7336:3): [True: 40.9k, False: 1.13M]
  ------------------
 7337|  40.9k|#line 1249 "MachineIndependent/glslang.y"
 7338|  40.9k|                     {
 7339|  40.9k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7340|       |
 7341|  40.9k|        parseContext.globalQualifierTypeCheck((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier, (yyval.interm.type));
  ------------------
  |  |  783|  40.9k|#define parseContext (*pParseContext)
  ------------------
 7342|  40.9k|        if ((yyvsp[0].interm.type).arraySizes) {
  ------------------
  |  Branch (7342:13): [True: 0, False: 40.9k]
  ------------------
 7343|      0|            parseContext.profileRequires((yyvsp[0].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7344|      0|            parseContext.profileRequires((yyvsp[0].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7345|      0|        }
 7346|  40.9k|        parseContext.precisionQualifierCheck((yyval.interm.type).loc, (yyval.interm.type).basicType, (yyval.interm.type).qualifier, (yyval.interm.type).hasTypeParameter());
  ------------------
  |  |  783|  40.9k|#define parseContext (*pParseContext)
  ------------------
 7347|  40.9k|    }
 7348|  40.9k|#line 7349 "MachineIndependent/glslang_tab.cpp"
 7349|  40.9k|    break;
 7350|       |
 7351|  3.48k|  case 143: /* fully_specified_type: type_qualifier type_specifier  */
  ------------------
  |  Branch (7351:3): [True: 3.48k, False: 1.17M]
  ------------------
 7352|  3.48k|#line 1259 "MachineIndependent/glslang.y"
 7353|  3.48k|                                     {
 7354|  3.48k|        parseContext.globalQualifierFixCheck((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, false, &(yyvsp[0].interm.type));
  ------------------
  |  |  783|  3.48k|#define parseContext (*pParseContext)
  ------------------
 7355|  3.48k|        parseContext.globalQualifierTypeCheck((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, (yyvsp[0].interm.type));
  ------------------
  |  |  783|  3.48k|#define parseContext (*pParseContext)
  ------------------
 7356|       |
 7357|  3.48k|        if ((yyvsp[0].interm.type).arraySizes) {
  ------------------
  |  Branch (7357:13): [True: 0, False: 3.48k]
  ------------------
 7358|      0|            parseContext.profileRequires((yyvsp[0].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7359|      0|            parseContext.profileRequires((yyvsp[0].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7360|      0|        }
 7361|       |
 7362|  3.48k|        if ((yyvsp[0].interm.type).arraySizes && parseContext.arrayQualifierError((yyvsp[0].interm.type).loc, (yyvsp[-1].interm.type).qualifier))
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7362:13): [True: 0, False: 3.48k]
  |  Branch (7362:50): [True: 0, False: 0]
  ------------------
 7363|      0|            (yyvsp[0].interm.type).arraySizes = nullptr;
 7364|       |
 7365|  3.48k|        parseContext.checkNoShaderLayouts((yyvsp[0].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
  ------------------
  |  |  783|  3.48k|#define parseContext (*pParseContext)
  ------------------
 7366|  3.48k|        (yyvsp[0].interm.type).shaderQualifiers.merge((yyvsp[-1].interm.type).shaderQualifiers);
 7367|  3.48k|        parseContext.mergeQualifiers((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier, (yyvsp[-1].interm.type).qualifier, true);
  ------------------
  |  |  783|  3.48k|#define parseContext (*pParseContext)
  ------------------
 7368|  3.48k|        parseContext.precisionQualifierCheck((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).basicType, (yyvsp[0].interm.type).qualifier, (yyvsp[0].interm.type).hasTypeParameter());
  ------------------
  |  |  783|  3.48k|#define parseContext (*pParseContext)
  ------------------
 7369|       |
 7370|  3.48k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7371|       |
 7372|  3.48k|        if (! (yyval.interm.type).qualifier.isInterpolation() &&
  ------------------
  |  Branch (7372:13): [True: 3.41k, False: 70]
  ------------------
 7373|  3.41k|            ((parseContext.language == EShLangVertex   && (yyval.interm.type).qualifier.storage == EvqVaryingOut) ||
  ------------------
  |  |  783|  3.41k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7373:15): [True: 2.35k, False: 1.06k]
  |  Branch (7373:59): [True: 16, False: 2.33k]
  ------------------
 7374|  3.39k|             (parseContext.language == EShLangFragment && (yyval.interm.type).qualifier.storage == EvqVaryingIn)))
  ------------------
  |  |  783|  3.39k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7374:15): [True: 250, False: 3.14k]
  |  Branch (7374:59): [True: 30, False: 220]
  ------------------
 7375|     46|            (yyval.interm.type).qualifier.smooth = true;
 7376|  3.48k|    }
 7377|  3.48k|#line 7378 "MachineIndependent/glslang_tab.cpp"
 7378|  3.48k|    break;
 7379|       |
 7380|      0|  case 144: /* invariant_qualifier: INVARIANT  */
  ------------------
  |  Branch (7380:3): [True: 0, False: 1.17M]
  ------------------
 7381|      0|#line 1286 "MachineIndependent/glslang.y"
 7382|      0|                {
 7383|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "invariant");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7384|      0|        parseContext.profileRequires((yyval.interm.type).loc, ENoProfile, 120, 0, "invariant");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7385|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7386|      0|        (yyval.interm.type).qualifier.invariant = true;
 7387|      0|    }
 7388|      0|#line 7389 "MachineIndependent/glslang_tab.cpp"
 7389|      0|    break;
 7390|       |
 7391|      0|  case 145: /* interpolation_qualifier: SMOOTH  */
  ------------------
  |  Branch (7391:3): [True: 0, False: 1.17M]
  ------------------
 7392|      0|#line 1295 "MachineIndependent/glslang.y"
 7393|      0|             {
 7394|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "smooth");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7395|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "smooth");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7396|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "smooth");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7397|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7398|      0|        (yyval.interm.type).qualifier.smooth = true;
 7399|      0|    }
 7400|      0|#line 7401 "MachineIndependent/glslang_tab.cpp"
 7401|      0|    break;
 7402|       |
 7403|     70|  case 146: /* interpolation_qualifier: FLAT  */
  ------------------
  |  Branch (7403:3): [True: 70, False: 1.17M]
  ------------------
 7404|     70|#line 1302 "MachineIndependent/glslang.y"
 7405|     70|           {
 7406|     70|        parseContext.globalCheck((yyvsp[0].lex).loc, "flat");
  ------------------
  |  |  783|     70|#define parseContext (*pParseContext)
  ------------------
 7407|     70|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "flat");
  ------------------
  |  |  783|     70|#define parseContext (*pParseContext)
  ------------------
 7408|     70|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "flat");
  ------------------
  |  |  783|     70|#define parseContext (*pParseContext)
  ------------------
 7409|     70|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7410|     70|        (yyval.interm.type).qualifier.flat = true;
 7411|     70|    }
 7412|     70|#line 7413 "MachineIndependent/glslang_tab.cpp"
 7413|     70|    break;
 7414|       |
 7415|      0|  case 147: /* interpolation_qualifier: NOPERSPECTIVE  */
  ------------------
  |  Branch (7415:3): [True: 0, False: 1.17M]
  ------------------
 7416|      0|#line 1309 "MachineIndependent/glslang.y"
 7417|      0|                    {
 7418|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "noperspective");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7419|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 0, E_GL_NV_shader_noperspective_interpolation, "noperspective");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7420|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "noperspective");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7421|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7422|      0|        (yyval.interm.type).qualifier.nopersp = true;
 7423|      0|    }
 7424|      0|#line 7425 "MachineIndependent/glslang_tab.cpp"
 7425|      0|    break;
 7426|       |
 7427|      0|  case 148: /* interpolation_qualifier: EXPLICITINTERPAMD  */
  ------------------
  |  Branch (7427:3): [True: 0, False: 1.17M]
  ------------------
 7428|      0|#line 1316 "MachineIndependent/glslang.y"
 7429|      0|                        {
 7430|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "__explicitInterpAMD");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7431|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 450, E_GL_AMD_shader_explicit_vertex_parameter, "explicit interpolation");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7432|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECompatibilityProfile, 450, E_GL_AMD_shader_explicit_vertex_parameter, "explicit interpolation");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7433|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7434|      0|        (yyval.interm.type).qualifier.explicitInterp = true;
 7435|      0|    }
 7436|      0|#line 7437 "MachineIndependent/glslang_tab.cpp"
 7437|      0|    break;
 7438|       |
 7439|      0|  case 149: /* interpolation_qualifier: PERVERTEXNV  */
  ------------------
  |  Branch (7439:3): [True: 0, False: 1.17M]
  ------------------
 7440|      0|#line 1323 "MachineIndependent/glslang.y"
 7441|      0|                  {
 7442|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "pervertexNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7443|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 0, E_GL_NV_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7444|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECompatibilityProfile, 0, E_GL_NV_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7445|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 0, E_GL_NV_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7446|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7447|      0|        (yyval.interm.type).qualifier.pervertexNV = true;
 7448|      0|    }
 7449|      0|#line 7450 "MachineIndependent/glslang_tab.cpp"
 7450|      0|    break;
 7451|       |
 7452|      0|  case 150: /* interpolation_qualifier: PERVERTEXEXT  */
  ------------------
  |  Branch (7452:3): [True: 0, False: 1.17M]
  ------------------
 7453|      0|#line 1331 "MachineIndependent/glslang.y"
 7454|      0|                   {
 7455|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "pervertexEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7456|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 0, E_GL_EXT_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7457|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECompatibilityProfile, 0, E_GL_EXT_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7458|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 0, E_GL_EXT_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7459|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7460|      0|        (yyval.interm.type).qualifier.pervertexEXT = true;
 7461|      0|    }
 7462|      0|#line 7463 "MachineIndependent/glslang_tab.cpp"
 7463|      0|    break;
 7464|       |
 7465|      2|  case 151: /* interpolation_qualifier: PERPRIMITIVENV  */
  ------------------
  |  Branch (7465:3): [True: 2, False: 1.17M]
  ------------------
 7466|      2|#line 1339 "MachineIndependent/glslang.y"
 7467|      2|                     {
 7468|       |        // No need for profile version or extension check. Shader stage already checks both.
 7469|      2|        parseContext.globalCheck((yyvsp[0].lex).loc, "perprimitiveNV");
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
 7470|      2|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangFragmentMask | EShLangMeshMask), "perprimitiveNV");
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
 7471|       |        // Fragment shader stage doesn't check for extension. So we explicitly add below extension check.
 7472|      2|        if (parseContext.language == EShLangFragment)
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7472:13): [True: 0, False: 2]
  ------------------
 7473|      0|            parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_NV_mesh_shader, "perprimitiveNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7474|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7475|      2|        (yyval.interm.type).qualifier.perPrimitiveNV = true;
 7476|      2|    }
 7477|      2|#line 7478 "MachineIndependent/glslang_tab.cpp"
 7478|      2|    break;
 7479|       |
 7480|      2|  case 152: /* interpolation_qualifier: PERPRIMITIVEEXT  */
  ------------------
  |  Branch (7480:3): [True: 2, False: 1.17M]
  ------------------
 7481|      2|#line 1349 "MachineIndependent/glslang.y"
 7482|      2|                      {
 7483|       |        // No need for profile version or extension check. Shader stage already checks both.
 7484|      2|        parseContext.globalCheck((yyvsp[0].lex).loc, "perprimitiveEXT");
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
 7485|      2|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangFragmentMask | EShLangMeshMask), "perprimitiveEXT");
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
 7486|       |        // Fragment shader stage doesn't check for extension. So we explicitly add below extension check.
 7487|      2|        if (parseContext.language == EShLangFragment)
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7487:13): [True: 0, False: 2]
  ------------------
 7488|      0|            parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_mesh_shader, "perprimitiveEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7489|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7490|      2|        (yyval.interm.type).qualifier.perPrimitiveNV = true;
 7491|      2|    }
 7492|      2|#line 7493 "MachineIndependent/glslang_tab.cpp"
 7493|      2|    break;
 7494|       |
 7495|     10|  case 153: /* interpolation_qualifier: PERVIEWNV  */
  ------------------
  |  Branch (7495:3): [True: 10, False: 1.17M]
  ------------------
 7496|     10|#line 1359 "MachineIndependent/glslang.y"
 7497|     10|                {
 7498|       |        // No need for profile version or extension check. Shader stage already checks both.
 7499|     10|        parseContext.globalCheck((yyvsp[0].lex).loc, "perviewNV");
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
 7500|     10|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangMesh, "perviewNV");
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
 7501|     10|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7502|     10|        (yyval.interm.type).qualifier.perViewNV = true;
 7503|     10|    }
 7504|     10|#line 7505 "MachineIndependent/glslang_tab.cpp"
 7505|     10|    break;
 7506|       |
 7507|      0|  case 154: /* interpolation_qualifier: PERTASKNV  */
  ------------------
  |  Branch (7507:3): [True: 0, False: 1.17M]
  ------------------
 7508|      0|#line 1366 "MachineIndependent/glslang.y"
 7509|      0|                {
 7510|       |        // No need for profile version or extension check. Shader stage already checks both.
 7511|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "taskNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7512|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangTaskMask | EShLangMeshMask), "taskNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7513|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7514|      0|        (yyval.interm.type).qualifier.perTaskNV = true;
 7515|      0|    }
 7516|      0|#line 7517 "MachineIndependent/glslang_tab.cpp"
 7517|      0|    break;
 7518|       |
 7519|      0|  case 155: /* layout_qualifier: LAYOUT LEFT_PAREN layout_qualifier_id_list RIGHT_PAREN  */
  ------------------
  |  Branch (7519:3): [True: 0, False: 1.17M]
  ------------------
 7520|      0|#line 1376 "MachineIndependent/glslang.y"
 7521|      0|                                                             {
 7522|      0|        (yyval.interm.type) = (yyvsp[-1].interm.type);
 7523|      0|    }
 7524|      0|#line 7525 "MachineIndependent/glslang_tab.cpp"
 7525|      0|    break;
 7526|       |
 7527|      0|  case 156: /* layout_qualifier_id_list: layout_qualifier_id  */
  ------------------
  |  Branch (7527:3): [True: 0, False: 1.17M]
  ------------------
 7528|      0|#line 1382 "MachineIndependent/glslang.y"
 7529|      0|                          {
 7530|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7531|      0|    }
 7532|      0|#line 7533 "MachineIndependent/glslang_tab.cpp"
 7533|      0|    break;
 7534|       |
 7535|      0|  case 157: /* layout_qualifier_id_list: layout_qualifier_id_list COMMA layout_qualifier_id  */
  ------------------
  |  Branch (7535:3): [True: 0, False: 1.17M]
  ------------------
 7536|      0|#line 1385 "MachineIndependent/glslang.y"
 7537|      0|                                                         {
 7538|      0|        (yyval.interm.type) = (yyvsp[-2].interm.type);
 7539|      0|        (yyval.interm.type).shaderQualifiers.merge((yyvsp[0].interm.type).shaderQualifiers);
 7540|      0|        parseContext.mergeObjectLayoutQualifiers((yyval.interm.type).qualifier, (yyvsp[0].interm.type).qualifier, false);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7541|      0|    }
 7542|      0|#line 7543 "MachineIndependent/glslang_tab.cpp"
 7543|      0|    break;
 7544|       |
 7545|      0|  case 158: /* layout_qualifier_id: IDENTIFIER  */
  ------------------
  |  Branch (7545:3): [True: 0, False: 1.17M]
  ------------------
 7546|      0|#line 1392 "MachineIndependent/glslang.y"
 7547|      0|                 {
 7548|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7549|      0|        parseContext.setLayoutQualifier((yyvsp[0].lex).loc, (yyval.interm.type), *(yyvsp[0].lex).string);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7550|      0|    }
 7551|      0|#line 7552 "MachineIndependent/glslang_tab.cpp"
 7552|      0|    break;
 7553|       |
 7554|      0|  case 159: /* layout_qualifier_id: IDENTIFIER EQUAL assignment_expression  */
  ------------------
  |  Branch (7554:3): [True: 0, False: 1.17M]
  ------------------
 7555|      0|#line 1396 "MachineIndependent/glslang.y"
 7556|      0|                                             {
 7557|      0|        (yyval.interm.type).init((yyvsp[-2].lex).loc);
 7558|      0|        parseContext.setLayoutQualifier((yyvsp[-2].lex).loc, (yyval.interm.type), *(yyvsp[-2].lex).string, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7559|      0|    }
 7560|      0|#line 7561 "MachineIndependent/glslang_tab.cpp"
 7561|      0|    break;
 7562|       |
 7563|      0|  case 160: /* layout_qualifier_id: SHARED  */
  ------------------
  |  Branch (7563:3): [True: 0, False: 1.17M]
  ------------------
 7564|      0|#line 1400 "MachineIndependent/glslang.y"
 7565|      0|             { // because "shared" is both an identifier and a keyword
 7566|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7567|      0|        TString strShared("shared");
 7568|      0|        parseContext.setLayoutQualifier((yyvsp[0].lex).loc, (yyval.interm.type), strShared);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7569|      0|    }
 7570|      0|#line 7571 "MachineIndependent/glslang_tab.cpp"
 7571|      0|    break;
 7572|       |
 7573|      0|  case 161: /* precise_qualifier: PRECISE  */
  ------------------
  |  Branch (7573:3): [True: 0, False: 1.17M]
  ------------------
 7574|      0|#line 1408 "MachineIndependent/glslang.y"
 7575|      0|              {
 7576|      0|        parseContext.profileRequires((yyval.interm.type).loc, ECoreProfile | ECompatibilityProfile, 400, E_GL_ARB_gpu_shader5, "precise");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7577|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 320, Num_AEP_gpu_shader5, AEP_gpu_shader5, "precise");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7578|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7579|      0|        (yyval.interm.type).qualifier.noContraction = true;
 7580|      0|    }
 7581|      0|#line 7582 "MachineIndependent/glslang_tab.cpp"
 7582|      0|    break;
 7583|       |
 7584|  13.3k|  case 162: /* type_qualifier: single_type_qualifier  */
  ------------------
  |  Branch (7584:3): [True: 13.3k, False: 1.16M]
  ------------------
 7585|  13.3k|#line 1417 "MachineIndependent/glslang.y"
 7586|  13.3k|                            {
 7587|  13.3k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7588|  13.3k|    }
 7589|  13.3k|#line 7590 "MachineIndependent/glslang_tab.cpp"
 7590|  13.3k|    break;
 7591|       |
 7592|  10.5k|  case 163: /* type_qualifier: type_qualifier single_type_qualifier  */
  ------------------
  |  Branch (7592:3): [True: 10.5k, False: 1.16M]
  ------------------
 7593|  10.5k|#line 1420 "MachineIndependent/glslang.y"
 7594|  10.5k|                                           {
 7595|  10.5k|        (yyval.interm.type) = (yyvsp[-1].interm.type);
 7596|  10.5k|        if ((yyval.interm.type).basicType == EbtVoid)
  ------------------
  |  Branch (7596:13): [True: 10.5k, False: 0]
  ------------------
 7597|  10.5k|            (yyval.interm.type).basicType = (yyvsp[0].interm.type).basicType;
 7598|       |
 7599|  10.5k|        (yyval.interm.type).shaderQualifiers.merge((yyvsp[0].interm.type).shaderQualifiers);
 7600|  10.5k|        parseContext.mergeQualifiers((yyval.interm.type).loc, (yyval.interm.type).qualifier, (yyvsp[0].interm.type).qualifier, false);
  ------------------
  |  |  783|  10.5k|#define parseContext (*pParseContext)
  ------------------
 7601|  10.5k|    }
 7602|  10.5k|#line 7603 "MachineIndependent/glslang_tab.cpp"
 7603|  10.5k|    break;
 7604|       |
 7605|  18.8k|  case 164: /* single_type_qualifier: storage_qualifier  */
  ------------------
  |  Branch (7605:3): [True: 18.8k, False: 1.15M]
  ------------------
 7606|  18.8k|#line 1431 "MachineIndependent/glslang.y"
 7607|  18.8k|                        {
 7608|  18.8k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7609|  18.8k|    }
 7610|  18.8k|#line 7611 "MachineIndependent/glslang_tab.cpp"
 7611|  18.8k|    break;
 7612|       |
 7613|      0|  case 165: /* single_type_qualifier: layout_qualifier  */
  ------------------
  |  Branch (7613:3): [True: 0, False: 1.17M]
  ------------------
 7614|      0|#line 1434 "MachineIndependent/glslang.y"
 7615|      0|                       {
 7616|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7617|      0|    }
 7618|      0|#line 7619 "MachineIndependent/glslang_tab.cpp"
 7619|      0|    break;
 7620|       |
 7621|  4.93k|  case 166: /* single_type_qualifier: precision_qualifier  */
  ------------------
  |  Branch (7621:3): [True: 4.93k, False: 1.17M]
  ------------------
 7622|  4.93k|#line 1437 "MachineIndependent/glslang.y"
 7623|  4.93k|                          {
 7624|  4.93k|        parseContext.checkPrecisionQualifier((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier.precision);
  ------------------
  |  |  783|  4.93k|#define parseContext (*pParseContext)
  ------------------
 7625|  4.93k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7626|  4.93k|    }
 7627|  4.93k|#line 7628 "MachineIndependent/glslang_tab.cpp"
 7628|  4.93k|    break;
 7629|       |
 7630|     84|  case 167: /* single_type_qualifier: interpolation_qualifier  */
  ------------------
  |  Branch (7630:3): [True: 84, False: 1.17M]
  ------------------
 7631|     84|#line 1441 "MachineIndependent/glslang.y"
 7632|     84|                              {
 7633|       |        // allow inheritance of storage qualifier from block declaration
 7634|     84|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7635|     84|    }
 7636|     84|#line 7637 "MachineIndependent/glslang_tab.cpp"
 7637|     84|    break;
 7638|       |
 7639|      0|  case 168: /* single_type_qualifier: invariant_qualifier  */
  ------------------
  |  Branch (7639:3): [True: 0, False: 1.17M]
  ------------------
 7640|      0|#line 1445 "MachineIndependent/glslang.y"
 7641|      0|                          {
 7642|       |        // allow inheritance of storage qualifier from block declaration
 7643|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7644|      0|    }
 7645|      0|#line 7646 "MachineIndependent/glslang_tab.cpp"
 7646|      0|    break;
 7647|       |
 7648|      0|  case 169: /* single_type_qualifier: precise_qualifier  */
  ------------------
  |  Branch (7648:3): [True: 0, False: 1.17M]
  ------------------
 7649|      0|#line 1449 "MachineIndependent/glslang.y"
 7650|      0|                        {
 7651|       |        // allow inheritance of storage qualifier from block declaration
 7652|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7653|      0|    }
 7654|      0|#line 7655 "MachineIndependent/glslang_tab.cpp"
 7655|      0|    break;
 7656|       |
 7657|      0|  case 170: /* single_type_qualifier: non_uniform_qualifier  */
  ------------------
  |  Branch (7657:3): [True: 0, False: 1.17M]
  ------------------
 7658|      0|#line 1453 "MachineIndependent/glslang.y"
 7659|      0|                            {
 7660|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7661|      0|    }
 7662|      0|#line 7663 "MachineIndependent/glslang_tab.cpp"
 7663|      0|    break;
 7664|       |
 7665|      0|  case 171: /* single_type_qualifier: spirv_storage_class_qualifier  */
  ------------------
  |  Branch (7665:3): [True: 0, False: 1.17M]
  ------------------
 7666|      0|#line 1456 "MachineIndependent/glslang.y"
 7667|      0|                                    {
 7668|      0|        parseContext.globalCheck((yyvsp[0].interm.type).loc, "spirv_storage_class");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7669|      0|        parseContext.requireExtensions((yyvsp[0].interm.type).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V storage class qualifier");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7670|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7671|      0|    }
 7672|      0|#line 7673 "MachineIndependent/glslang_tab.cpp"
 7673|      0|    break;
 7674|       |
 7675|      0|  case 172: /* single_type_qualifier: spirv_decorate_qualifier  */
  ------------------
  |  Branch (7675:3): [True: 0, False: 1.17M]
  ------------------
 7676|      0|#line 1461 "MachineIndependent/glslang.y"
 7677|      0|                               {
 7678|      0|        parseContext.requireExtensions((yyvsp[0].interm.type).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V decorate qualifier");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7679|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7680|      0|    }
 7681|      0|#line 7682 "MachineIndependent/glslang_tab.cpp"
 7682|      0|    break;
 7683|       |
 7684|      0|  case 173: /* single_type_qualifier: SPIRV_BY_REFERENCE  */
  ------------------
  |  Branch (7684:3): [True: 0, False: 1.17M]
  ------------------
 7685|      0|#line 1465 "MachineIndependent/glslang.y"
 7686|      0|                         {
 7687|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_spirv_intrinsics, "spirv_by_reference");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7688|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7689|      0|        (yyval.interm.type).qualifier.setSpirvByReference();
 7690|      0|    }
 7691|      0|#line 7692 "MachineIndependent/glslang_tab.cpp"
 7692|      0|    break;
 7693|       |
 7694|      0|  case 174: /* single_type_qualifier: SPIRV_LITERAL  */
  ------------------
  |  Branch (7694:3): [True: 0, False: 1.17M]
  ------------------
 7695|      0|#line 1470 "MachineIndependent/glslang.y"
 7696|      0|                    {
 7697|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_spirv_intrinsics, "spirv_by_literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7698|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7699|      0|        (yyval.interm.type).qualifier.setSpirvLiteral();
 7700|      0|    }
 7701|      0|#line 7702 "MachineIndependent/glslang_tab.cpp"
 7702|      0|    break;
 7703|       |
 7704|    706|  case 175: /* storage_qualifier: CONST  */
  ------------------
  |  Branch (7704:3): [True: 706, False: 1.17M]
  ------------------
 7705|    706|#line 1478 "MachineIndependent/glslang.y"
 7706|    706|            {
 7707|    706|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7708|    706|        (yyval.interm.type).qualifier.storage = EvqConst;  // will later turn into EvqConstReadOnly, if the initializer is not constant
 7709|    706|    }
 7710|    706|#line 7711 "MachineIndependent/glslang_tab.cpp"
 7711|    706|    break;
 7712|       |
 7713|    216|  case 176: /* storage_qualifier: INOUT  */
  ------------------
  |  Branch (7713:3): [True: 216, False: 1.17M]
  ------------------
 7714|    216|#line 1482 "MachineIndependent/glslang.y"
 7715|    216|            {
 7716|    216|        parseContext.globalCheck((yyvsp[0].lex).loc, "inout");
  ------------------
  |  |  783|    216|#define parseContext (*pParseContext)
  ------------------
 7717|    216|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7718|    216|        (yyval.interm.type).qualifier.storage = EvqInOut;
 7719|    216|    }
 7720|    216|#line 7721 "MachineIndependent/glslang_tab.cpp"
 7721|    216|    break;
 7722|       |
 7723|    814|  case 177: /* storage_qualifier: IN  */
  ------------------
  |  Branch (7723:3): [True: 814, False: 1.17M]
  ------------------
 7724|    814|#line 1487 "MachineIndependent/glslang.y"
 7725|    814|         {
 7726|    814|        parseContext.globalCheck((yyvsp[0].lex).loc, "in");
  ------------------
  |  |  783|    814|#define parseContext (*pParseContext)
  ------------------
 7727|    814|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7728|       |        // whether this is a parameter "in" or a pipeline "in" will get sorted out a bit later
 7729|    814|        (yyval.interm.type).qualifier.storage = EvqIn;
 7730|    814|    }
 7731|    814|#line 7732 "MachineIndependent/glslang_tab.cpp"
 7732|    814|    break;
 7733|       |
 7734|  3.54k|  case 178: /* storage_qualifier: OUT  */
  ------------------
  |  Branch (7734:3): [True: 3.54k, False: 1.17M]
  ------------------
 7735|  3.54k|#line 1493 "MachineIndependent/glslang.y"
 7736|  3.54k|          {
 7737|  3.54k|        parseContext.globalCheck((yyvsp[0].lex).loc, "out");
  ------------------
  |  |  783|  3.54k|#define parseContext (*pParseContext)
  ------------------
 7738|  3.54k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7739|       |        // whether this is a parameter "out" or a pipeline "out" will get sorted out a bit later
 7740|  3.54k|        (yyval.interm.type).qualifier.storage = EvqOut;
 7741|  3.54k|    }
 7742|  3.54k|#line 7743 "MachineIndependent/glslang_tab.cpp"
 7743|  3.54k|    break;
 7744|       |
 7745|      0|  case 179: /* storage_qualifier: CENTROID  */
  ------------------
  |  Branch (7745:3): [True: 0, False: 1.17M]
  ------------------
 7746|      0|#line 1499 "MachineIndependent/glslang.y"
 7747|      0|               {
 7748|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 120, 0, "centroid");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7749|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "centroid");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7750|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "centroid");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7751|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7752|      0|        (yyval.interm.type).qualifier.centroid = true;
 7753|      0|    }
 7754|      0|#line 7755 "MachineIndependent/glslang_tab.cpp"
 7755|      0|    break;
 7756|       |
 7757|    100|  case 180: /* storage_qualifier: UNIFORM  */
  ------------------
  |  Branch (7757:3): [True: 100, False: 1.17M]
  ------------------
 7758|    100|#line 1506 "MachineIndependent/glslang.y"
 7759|    100|              {
 7760|    100|        parseContext.globalCheck((yyvsp[0].lex).loc, "uniform");
  ------------------
  |  |  783|    100|#define parseContext (*pParseContext)
  ------------------
 7761|    100|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7762|    100|        (yyval.interm.type).qualifier.storage = EvqUniform;
 7763|    100|    }
 7764|    100|#line 7765 "MachineIndependent/glslang_tab.cpp"
 7765|    100|    break;
 7766|       |
 7767|      0|  case 181: /* storage_qualifier: TILEIMAGEEXT  */
  ------------------
  |  Branch (7767:3): [True: 0, False: 1.17M]
  ------------------
 7768|      0|#line 1511 "MachineIndependent/glslang.y"
 7769|      0|                   {
 7770|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "tileImageEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7771|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7772|      0|        (yyval.interm.type).qualifier.storage = EvqTileImageEXT;
 7773|      0|    }
 7774|      0|#line 7775 "MachineIndependent/glslang_tab.cpp"
 7775|      0|    break;
 7776|       |
 7777|      0|  case 182: /* storage_qualifier: SHARED  */
  ------------------
  |  Branch (7777:3): [True: 0, False: 1.17M]
  ------------------
 7778|      0|#line 1516 "MachineIndependent/glslang.y"
 7779|      0|             {
 7780|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "shared");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7781|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, 430, E_GL_ARB_compute_shader, "shared");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7782|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 310, 0, "shared");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7783|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangComputeMask | EShLangMeshMask | EShLangTaskMask), "shared");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7784|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7785|      0|        (yyval.interm.type).qualifier.storage = EvqShared;
 7786|      0|    }
 7787|      0|#line 7788 "MachineIndependent/glslang_tab.cpp"
 7788|      0|    break;
 7789|       |
 7790|      0|  case 183: /* storage_qualifier: BUFFER  */
  ------------------
  |  Branch (7790:3): [True: 0, False: 1.17M]
  ------------------
 7791|      0|#line 1524 "MachineIndependent/glslang.y"
 7792|      0|             {
 7793|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "buffer");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7794|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7795|      0|        (yyval.interm.type).qualifier.storage = EvqBuffer;
 7796|      0|    }
 7797|      0|#line 7798 "MachineIndependent/glslang_tab.cpp"
 7798|      0|    break;
 7799|       |
 7800|      0|  case 184: /* storage_qualifier: ATTRIBUTE  */
  ------------------
  |  Branch (7800:3): [True: 0, False: 1.17M]
  ------------------
 7801|      0|#line 1529 "MachineIndependent/glslang.y"
 7802|      0|                {
 7803|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangVertex, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7804|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ECoreProfile, 130, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7805|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ENoProfile, 130, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7806|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, ECoreProfile, 420, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7807|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, EEsProfile, 300, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7808|       |
 7809|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7810|       |
 7811|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7812|      0|        (yyval.interm.type).qualifier.storage = EvqVaryingIn;
 7813|      0|    }
 7814|      0|#line 7815 "MachineIndependent/glslang_tab.cpp"
 7815|      0|    break;
 7816|       |
 7817|      0|  case 185: /* storage_qualifier: VARYING  */
  ------------------
  |  Branch (7817:3): [True: 0, False: 1.17M]
  ------------------
 7818|      0|#line 1541 "MachineIndependent/glslang.y"
 7819|      0|              {
 7820|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ENoProfile, 130, "varying");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7821|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ECoreProfile, 130, "varying");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7822|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, ECoreProfile, 420, "varying");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7823|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, EEsProfile, 300, "varying");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7824|       |
 7825|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "varying");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7826|       |
 7827|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7828|      0|        if (parseContext.language == EShLangVertex)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7828:13): [True: 0, False: 0]
  ------------------
 7829|      0|            (yyval.interm.type).qualifier.storage = EvqVaryingOut;
 7830|      0|        else
 7831|      0|            (yyval.interm.type).qualifier.storage = EvqVaryingIn;
 7832|      0|    }
 7833|      0|#line 7834 "MachineIndependent/glslang_tab.cpp"
 7834|      0|    break;
 7835|       |
 7836|      8|  case 186: /* storage_qualifier: PATCH  */
  ------------------
  |  Branch (7836:3): [True: 8, False: 1.17M]
  ------------------
 7837|      8|#line 1555 "MachineIndependent/glslang.y"
 7838|      8|            {
 7839|      8|        parseContext.globalCheck((yyvsp[0].lex).loc, "patch");
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 7840|      8|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangTessControlMask | EShLangTessEvaluationMask), "patch");
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 7841|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7842|      8|        (yyval.interm.type).qualifier.patch = true;
 7843|      8|    }
 7844|      8|#line 7845 "MachineIndependent/glslang_tab.cpp"
 7845|      8|    break;
 7846|       |
 7847|      0|  case 187: /* storage_qualifier: SAMPLE  */
  ------------------
  |  Branch (7847:3): [True: 0, False: 1.17M]
  ------------------
 7848|      0|#line 1561 "MachineIndependent/glslang.y"
 7849|      0|             {
 7850|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "sample");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7851|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7852|      0|        (yyval.interm.type).qualifier.sample = true;
 7853|      0|    }
 7854|      0|#line 7855 "MachineIndependent/glslang_tab.cpp"
 7855|      0|    break;
 7856|       |
 7857|      0|  case 188: /* storage_qualifier: RESOURCEHEAP  */
  ------------------
  |  Branch (7857:3): [True: 0, False: 1.17M]
  ------------------
 7858|      0|#line 1566 "MachineIndependent/glslang.y"
 7859|      0|                   {
 7860|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "resourceHeap");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7861|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7862|      0|        (yyval.interm.type).qualifier.storage = EvqResourceHeap;
 7863|      0|    }
 7864|      0|#line 7865 "MachineIndependent/glslang_tab.cpp"
 7865|      0|    break;
 7866|       |
 7867|      0|  case 189: /* storage_qualifier: SAMPLERHEAP  */
  ------------------
  |  Branch (7867:3): [True: 0, False: 1.17M]
  ------------------
 7868|      0|#line 1571 "MachineIndependent/glslang.y"
 7869|      0|                  {
 7870|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "samplerHeap");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7871|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7872|      0|        (yyval.interm.type).qualifier.storage = EvqSamplerHeap;
 7873|      0|    }
 7874|      0|#line 7875 "MachineIndependent/glslang_tab.cpp"
 7875|      0|    break;
 7876|       |
 7877|      0|  case 190: /* storage_qualifier: HITATTRNV  */
  ------------------
  |  Branch (7877:3): [True: 0, False: 1.17M]
  ------------------
 7878|      0|#line 1576 "MachineIndependent/glslang.y"
 7879|      0|                {
 7880|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7881|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangIntersectMask | EShLangClosestHitMask
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7882|      0|            | EShLangAnyHitMask), "hitAttributeNV");
 7883|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "hitAttributeNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7884|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7885|      0|        (yyval.interm.type).qualifier.storage = EvqHitAttr;
 7886|      0|    }
 7887|      0|#line 7888 "MachineIndependent/glslang_tab.cpp"
 7888|      0|    break;
 7889|       |
 7890|      0|  case 191: /* storage_qualifier: HITOBJECTATTRNV  */
  ------------------
  |  Branch (7890:3): [True: 0, False: 1.17M]
  ------------------
 7891|      0|#line 1584 "MachineIndependent/glslang.y"
 7892|      0|                      {
 7893|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7894|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7895|      0|            | EShLangMissMask), "hitObjectAttributeNV");
 7896|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_shader_invocation_reorder, "hitObjectAttributeNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7897|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7898|      0|        (yyval.interm.type).qualifier.storage = EvqHitObjectAttrNV;
 7899|      0|    }
 7900|      0|#line 7901 "MachineIndependent/glslang_tab.cpp"
 7901|      0|    break;
 7902|       |
 7903|      0|  case 192: /* storage_qualifier: HITOBJECTATTREXT  */
  ------------------
  |  Branch (7903:3): [True: 0, False: 1.17M]
  ------------------
 7904|      0|#line 1592 "MachineIndependent/glslang.y"
 7905|      0|                       {
 7906|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7907|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7908|      0|            | EShLangMissMask), "hitObjectAttributeEXT");
 7909|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_shader_invocation_reorder, "hitObjectAttributeEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7910|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7911|      0|        (yyval.interm.type).qualifier.storage = EvqHitObjectAttrEXT;
 7912|      0|    }
 7913|      0|#line 7914 "MachineIndependent/glslang_tab.cpp"
 7914|      0|    break;
 7915|       |
 7916|      0|  case 193: /* storage_qualifier: HITATTREXT  */
  ------------------
  |  Branch (7916:3): [True: 0, False: 1.17M]
  ------------------
 7917|      0|#line 1600 "MachineIndependent/glslang.y"
 7918|      0|                 {
 7919|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7920|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangIntersectMask | EShLangClosestHitMask
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7921|      0|            | EShLangAnyHitMask), "hitAttributeEXT");
 7922|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "hitAttributeNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7923|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7924|      0|        (yyval.interm.type).qualifier.storage = EvqHitAttr;
 7925|      0|    }
 7926|      0|#line 7927 "MachineIndependent/glslang_tab.cpp"
 7927|      0|    break;
 7928|       |
 7929|      0|  case 194: /* storage_qualifier: PAYLOADNV  */
  ------------------
  |  Branch (7929:3): [True: 0, False: 1.17M]
  ------------------
 7930|      0|#line 1608 "MachineIndependent/glslang.y"
 7931|      0|                {
 7932|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7933|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7934|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadNV");
 7935|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "rayPayloadNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7936|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7937|      0|        (yyval.interm.type).qualifier.storage = EvqPayload;
 7938|      0|    }
 7939|      0|#line 7940 "MachineIndependent/glslang_tab.cpp"
 7940|      0|    break;
 7941|       |
 7942|      0|  case 195: /* storage_qualifier: PAYLOADEXT  */
  ------------------
  |  Branch (7942:3): [True: 0, False: 1.17M]
  ------------------
 7943|      0|#line 1616 "MachineIndependent/glslang.y"
 7944|      0|                 {
 7945|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7946|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7947|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadEXT");
 7948|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "rayPayloadEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7949|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7950|      0|        (yyval.interm.type).qualifier.storage = EvqPayload;
 7951|      0|    }
 7952|      0|#line 7953 "MachineIndependent/glslang_tab.cpp"
 7953|      0|    break;
 7954|       |
 7955|      0|  case 196: /* storage_qualifier: PAYLOADINNV  */
  ------------------
  |  Branch (7955:3): [True: 0, False: 1.17M]
  ------------------
 7956|      0|#line 1624 "MachineIndependent/glslang.y"
 7957|      0|                  {
 7958|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadInNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7959|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangClosestHitMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7960|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadInNV");
 7961|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "rayPayloadInNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7962|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7963|      0|        (yyval.interm.type).qualifier.storage = EvqPayloadIn;
 7964|      0|    }
 7965|      0|#line 7966 "MachineIndependent/glslang_tab.cpp"
 7966|      0|    break;
 7967|       |
 7968|      0|  case 197: /* storage_qualifier: PAYLOADINEXT  */
  ------------------
  |  Branch (7968:3): [True: 0, False: 1.17M]
  ------------------
 7969|      0|#line 1632 "MachineIndependent/glslang.y"
 7970|      0|                   {
 7971|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadInEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7972|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangClosestHitMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7973|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadInEXT");
 7974|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "rayPayloadInEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7975|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7976|      0|        (yyval.interm.type).qualifier.storage = EvqPayloadIn;
 7977|      0|    }
 7978|      0|#line 7979 "MachineIndependent/glslang_tab.cpp"
 7979|      0|    break;
 7980|       |
 7981|      0|  case 198: /* storage_qualifier: CALLDATANV  */
  ------------------
  |  Branch (7981:3): [True: 0, False: 1.17M]
  ------------------
 7982|      0|#line 1640 "MachineIndependent/glslang.y"
 7983|      0|                 {
 7984|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7985|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7986|      0|            EShLangClosestHitMask | EShLangMissMask | EShLangCallableMask), "callableDataNV");
 7987|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "callableDataNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7988|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7989|      0|        (yyval.interm.type).qualifier.storage = EvqCallableData;
 7990|      0|    }
 7991|      0|#line 7992 "MachineIndependent/glslang_tab.cpp"
 7992|      0|    break;
 7993|       |
 7994|      0|  case 199: /* storage_qualifier: CALLDATAEXT  */
  ------------------
  |  Branch (7994:3): [True: 0, False: 1.17M]
  ------------------
 7995|      0|#line 1648 "MachineIndependent/glslang.y"
 7996|      0|                  {
 7997|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7998|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7999|      0|            EShLangClosestHitMask | EShLangMissMask | EShLangCallableMask), "callableDataEXT");
 8000|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "callableDataEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8001|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8002|      0|        (yyval.interm.type).qualifier.storage = EvqCallableData;
 8003|      0|    }
 8004|      0|#line 8005 "MachineIndependent/glslang_tab.cpp"
 8005|      0|    break;
 8006|       |
 8007|      0|  case 200: /* storage_qualifier: CALLDATAINNV  */
  ------------------
  |  Branch (8007:3): [True: 0, False: 1.17M]
  ------------------
 8008|      0|#line 1656 "MachineIndependent/glslang.y"
 8009|      0|                   {
 8010|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataInNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8011|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangCallableMask), "callableDataInNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8012|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "callableDataInNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8013|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8014|      0|        (yyval.interm.type).qualifier.storage = EvqCallableDataIn;
 8015|      0|    }
 8016|      0|#line 8017 "MachineIndependent/glslang_tab.cpp"
 8017|      0|    break;
 8018|       |
 8019|      0|  case 201: /* storage_qualifier: CALLDATAINEXT  */
  ------------------
  |  Branch (8019:3): [True: 0, False: 1.17M]
  ------------------
 8020|      0|#line 1663 "MachineIndependent/glslang.y"
 8021|      0|                    {
 8022|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataInEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8023|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangCallableMask), "callableDataInEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8024|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "callableDataInEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8025|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8026|      0|        (yyval.interm.type).qualifier.storage = EvqCallableDataIn;
 8027|      0|    }
 8028|      0|#line 8029 "MachineIndependent/glslang_tab.cpp"
 8029|      0|    break;
 8030|       |
 8031|  4.19k|  case 202: /* storage_qualifier: COHERENT  */
  ------------------
  |  Branch (8031:3): [True: 4.19k, False: 1.17M]
  ------------------
 8032|  4.19k|#line 1670 "MachineIndependent/glslang.y"
 8033|  4.19k|               {
 8034|  4.19k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8035|  4.19k|        (yyval.interm.type).qualifier.coherent = true;
 8036|  4.19k|    }
 8037|  4.19k|#line 8038 "MachineIndependent/glslang_tab.cpp"
 8038|  4.19k|    break;
 8039|       |
 8040|      0|  case 203: /* storage_qualifier: DEVICECOHERENT  */
  ------------------
  |  Branch (8040:3): [True: 0, False: 1.17M]
  ------------------
 8041|      0|#line 1674 "MachineIndependent/glslang.y"
 8042|      0|                     {
 8043|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8044|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "devicecoherent");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8045|      0|        (yyval.interm.type).qualifier.devicecoherent = true;
 8046|      0|    }
 8047|      0|#line 8048 "MachineIndependent/glslang_tab.cpp"
 8048|      0|    break;
 8049|       |
 8050|      0|  case 204: /* storage_qualifier: QUEUEFAMILYCOHERENT  */
  ------------------
  |  Branch (8050:3): [True: 0, False: 1.17M]
  ------------------
 8051|      0|#line 1679 "MachineIndependent/glslang.y"
 8052|      0|                          {
 8053|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8054|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "queuefamilycoherent");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8055|      0|        (yyval.interm.type).qualifier.queuefamilycoherent = true;
 8056|      0|    }
 8057|      0|#line 8058 "MachineIndependent/glslang_tab.cpp"
 8058|      0|    break;
 8059|       |
 8060|      0|  case 205: /* storage_qualifier: WORKGROUPCOHERENT  */
  ------------------
  |  Branch (8060:3): [True: 0, False: 1.17M]
  ------------------
 8061|      0|#line 1684 "MachineIndependent/glslang.y"
 8062|      0|                        {
 8063|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8064|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "workgroupcoherent");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8065|      0|        (yyval.interm.type).qualifier.workgroupcoherent = true;
 8066|      0|    }
 8067|      0|#line 8068 "MachineIndependent/glslang_tab.cpp"
 8068|      0|    break;
 8069|       |
 8070|      0|  case 206: /* storage_qualifier: SUBGROUPCOHERENT  */
  ------------------
  |  Branch (8070:3): [True: 0, False: 1.17M]
  ------------------
 8071|      0|#line 1689 "MachineIndependent/glslang.y"
 8072|      0|                       {
 8073|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8074|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "subgroupcoherent");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8075|      0|        (yyval.interm.type).qualifier.subgroupcoherent = true;
 8076|      0|    }
 8077|      0|#line 8078 "MachineIndependent/glslang_tab.cpp"
 8078|      0|    break;
 8079|       |
 8080|      0|  case 207: /* storage_qualifier: NONPRIVATE  */
  ------------------
  |  Branch (8080:3): [True: 0, False: 1.17M]
  ------------------
 8081|      0|#line 1694 "MachineIndependent/glslang.y"
 8082|      0|                 {
 8083|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8084|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "nonprivate");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8085|      0|        (yyval.interm.type).qualifier.nonprivate = true;
 8086|      0|    }
 8087|      0|#line 8088 "MachineIndependent/glslang_tab.cpp"
 8088|      0|    break;
 8089|       |
 8090|      0|  case 208: /* storage_qualifier: SHADERCALLCOHERENT  */
  ------------------
  |  Branch (8090:3): [True: 0, False: 1.17M]
  ------------------
 8091|      0|#line 1699 "MachineIndependent/glslang.y"
 8092|      0|                         {
 8093|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8094|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_ray_tracing, "shadercallcoherent");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8095|      0|        (yyval.interm.type).qualifier.shadercallcoherent = true;
 8096|      0|    }
 8097|      0|#line 8098 "MachineIndependent/glslang_tab.cpp"
 8098|      0|    break;
 8099|       |
 8100|  4.35k|  case 209: /* storage_qualifier: VOLATILE  */
  ------------------
  |  Branch (8100:3): [True: 4.35k, False: 1.17M]
  ------------------
 8101|  4.35k|#line 1704 "MachineIndependent/glslang.y"
 8102|  4.35k|               {
 8103|  4.35k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8104|  4.35k|        (yyval.interm.type).qualifier.volatil = true;
 8105|  4.35k|    }
 8106|  4.35k|#line 8107 "MachineIndependent/glslang_tab.cpp"
 8107|  4.35k|    break;
 8108|       |
 8109|      0|  case 210: /* storage_qualifier: RESTRICT  */
  ------------------
  |  Branch (8109:3): [True: 0, False: 1.17M]
  ------------------
 8110|      0|#line 1708 "MachineIndependent/glslang.y"
 8111|      0|               {
 8112|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8113|      0|        (yyval.interm.type).qualifier.restrict = true;
 8114|      0|    }
 8115|      0|#line 8116 "MachineIndependent/glslang_tab.cpp"
 8116|      0|    break;
 8117|       |
 8118|    634|  case 211: /* storage_qualifier: READONLY  */
  ------------------
  |  Branch (8118:3): [True: 634, False: 1.17M]
  ------------------
 8119|    634|#line 1712 "MachineIndependent/glslang.y"
 8120|    634|               {
 8121|    634|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8122|    634|        (yyval.interm.type).qualifier.readonly = true;
 8123|    634|    }
 8124|    634|#line 8125 "MachineIndependent/glslang_tab.cpp"
 8125|    634|    break;
 8126|       |
 8127|    478|  case 212: /* storage_qualifier: WRITEONLY  */
  ------------------
  |  Branch (8127:3): [True: 478, False: 1.17M]
  ------------------
 8128|    478|#line 1716 "MachineIndependent/glslang.y"
 8129|    478|                {
 8130|    478|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8131|    478|        (yyval.interm.type).qualifier.writeonly = true;
 8132|    478|    }
 8133|    478|#line 8134 "MachineIndependent/glslang_tab.cpp"
 8134|    478|    break;
 8135|       |
 8136|  3.83k|  case 213: /* storage_qualifier: NONTEMPORAL  */
  ------------------
  |  Branch (8136:3): [True: 3.83k, False: 1.17M]
  ------------------
 8137|  3.83k|#line 1720 "MachineIndependent/glslang.y"
 8138|  3.83k|                  {
 8139|  3.83k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8140|  3.83k|        (yyval.interm.type).qualifier.nontemporal  = true;
 8141|  3.83k|    }
 8142|  3.83k|#line 8143 "MachineIndependent/glslang_tab.cpp"
 8143|  3.83k|    break;
 8144|       |
 8145|      0|  case 214: /* storage_qualifier: SUBROUTINE  */
  ------------------
  |  Branch (8145:3): [True: 0, False: 1.17M]
  ------------------
 8146|      0|#line 1724 "MachineIndependent/glslang.y"
 8147|      0|                 {
 8148|      0|        parseContext.spvRemoved((yyvsp[0].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8149|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8150|      0|        parseContext.unimplemented((yyvsp[0].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8151|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8152|      0|    }
 8153|      0|#line 8154 "MachineIndependent/glslang_tab.cpp"
 8154|      0|    break;
 8155|       |
 8156|      0|  case 215: /* storage_qualifier: SUBROUTINE LEFT_PAREN type_name_list RIGHT_PAREN  */
  ------------------
  |  Branch (8156:3): [True: 0, False: 1.17M]
  ------------------
 8157|      0|#line 1730 "MachineIndependent/glslang.y"
 8158|      0|                                                       {
 8159|      0|        parseContext.spvRemoved((yyvsp[-3].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8160|      0|        parseContext.globalCheck((yyvsp[-3].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8161|      0|        parseContext.unimplemented((yyvsp[-3].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8162|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc);
 8163|      0|    }
 8164|      0|#line 8165 "MachineIndependent/glslang_tab.cpp"
 8165|      0|    break;
 8166|       |
 8167|      0|  case 216: /* storage_qualifier: TASKPAYLOADWORKGROUPEXT  */
  ------------------
  |  Branch (8167:3): [True: 0, False: 1.17M]
  ------------------
 8168|      0|#line 1736 "MachineIndependent/glslang.y"
 8169|      0|                              {
 8170|       |        // No need for profile version or extension check. Shader stage already checks both.
 8171|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "taskPayloadSharedEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8172|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangTaskMask | EShLangMeshMask), "taskPayloadSharedEXT  ");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8173|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8174|      0|        (yyval.interm.type).qualifier.storage = EvqtaskPayloadSharedEXT;
 8175|      0|    }
 8176|      0|#line 8177 "MachineIndependent/glslang_tab.cpp"
 8177|      0|    break;
 8178|       |
 8179|      0|  case 217: /* non_uniform_qualifier: NONUNIFORM  */
  ------------------
  |  Branch (8179:3): [True: 0, False: 1.17M]
  ------------------
 8180|      0|#line 1746 "MachineIndependent/glslang.y"
 8181|      0|                 {
 8182|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8183|      0|        (yyval.interm.type).qualifier.nonUniform = true;
 8184|      0|    }
 8185|      0|#line 8186 "MachineIndependent/glslang_tab.cpp"
 8186|      0|    break;
 8187|       |
 8188|      0|  case 218: /* type_name_list: IDENTIFIER  */
  ------------------
  |  Branch (8188:3): [True: 0, False: 1.17M]
  ------------------
 8189|      0|#line 1753 "MachineIndependent/glslang.y"
 8190|      0|                 {
 8191|       |        // TODO
 8192|      0|    }
 8193|      0|#line 8194 "MachineIndependent/glslang_tab.cpp"
 8194|      0|    break;
 8195|       |
 8196|      0|  case 219: /* type_name_list: type_name_list COMMA IDENTIFIER  */
  ------------------
  |  Branch (8196:3): [True: 0, False: 1.17M]
  ------------------
 8197|      0|#line 1756 "MachineIndependent/glslang.y"
 8198|      0|                                      {
 8199|       |        // TODO: 4.0 semantics: subroutines
 8200|       |        // 1) make sure each identifier is a type declared earlier with SUBROUTINE
 8201|       |        // 2) save all of the identifiers for future comparison with the declared function
 8202|      0|    }
 8203|      0|#line 8204 "MachineIndependent/glslang_tab.cpp"
 8204|      0|    break;
 8205|       |
 8206|   148k|  case 220: /* type_specifier: type_specifier_nonarray type_parameter_specifier_opt  */
  ------------------
  |  Branch (8206:3): [True: 148k, False: 1.02M]
  ------------------
 8207|   148k|#line 1764 "MachineIndependent/glslang.y"
 8208|   148k|                                                           {
 8209|   148k|        (yyval.interm.type) = (yyvsp[-1].interm.type);
 8210|   148k|        (yyval.interm.type).qualifier.precision = parseContext.getDefaultPrecision((yyval.interm.type));
  ------------------
  |  |  783|   148k|#define parseContext (*pParseContext)
  ------------------
 8211|   148k|        (yyval.interm.type).typeParameters = (yyvsp[0].interm.typeParameters);
 8212|   148k|        parseContext.typeParametersCheck((yyvsp[-1].interm.type).loc, (yyval.interm.type));
  ------------------
  |  |  783|   148k|#define parseContext (*pParseContext)
  ------------------
 8213|       |
 8214|   148k|    }
 8215|   148k|#line 8216 "MachineIndependent/glslang_tab.cpp"
 8216|   148k|    break;
 8217|       |
 8218|  2.34k|  case 221: /* type_specifier: type_specifier_nonarray type_parameter_specifier_opt array_specifier  */
  ------------------
  |  Branch (8218:3): [True: 2.34k, False: 1.17M]
  ------------------
 8219|  2.34k|#line 1771 "MachineIndependent/glslang.y"
 8220|  2.34k|                                                                           {
 8221|  2.34k|        parseContext.arrayOfArrayVersionCheck((yyvsp[0].interm).loc, (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  783|  2.34k|#define parseContext (*pParseContext)
  ------------------
 8222|  2.34k|        (yyval.interm.type) = (yyvsp[-2].interm.type);
 8223|  2.34k|        (yyval.interm.type).qualifier.precision = parseContext.getDefaultPrecision((yyval.interm.type));
  ------------------
  |  |  783|  2.34k|#define parseContext (*pParseContext)
  ------------------
 8224|  2.34k|        (yyval.interm.type).typeParameters = (yyvsp[-1].interm.typeParameters);
 8225|  2.34k|        (yyval.interm.type).arraySizes = (yyvsp[0].interm).arraySizes;
 8226|  2.34k|        parseContext.typeParametersCheck((yyvsp[-2].interm.type).loc, (yyval.interm.type));
  ------------------
  |  |  783|  2.34k|#define parseContext (*pParseContext)
  ------------------
 8227|  2.34k|    }
 8228|  2.34k|#line 8229 "MachineIndependent/glslang_tab.cpp"
 8229|  2.34k|    break;
 8230|       |
 8231|  2.48k|  case 222: /* array_specifier: LEFT_BRACKET RIGHT_BRACKET  */
  ------------------
  |  Branch (8231:3): [True: 2.48k, False: 1.17M]
  ------------------
 8232|  2.48k|#line 1782 "MachineIndependent/glslang.y"
 8233|  2.48k|                                 {
 8234|  2.48k|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 8235|  2.48k|        (yyval.interm).arraySizes = new TArraySizes;
 8236|  2.48k|        (yyval.interm).arraySizes->addInnerSize();
 8237|  2.48k|    }
 8238|  2.48k|#line 8239 "MachineIndependent/glslang_tab.cpp"
 8239|  2.48k|    break;
 8240|       |
 8241|    408|  case 223: /* array_specifier: LEFT_BRACKET conditional_expression RIGHT_BRACKET  */
  ------------------
  |  Branch (8241:3): [True: 408, False: 1.17M]
  ------------------
 8242|    408|#line 1787 "MachineIndependent/glslang.y"
 8243|    408|                                                        {
 8244|    408|        (yyval.interm).loc = (yyvsp[-2].lex).loc;
 8245|    408|        (yyval.interm).arraySizes = new TArraySizes;
 8246|       |
 8247|    408|        TArraySize size;
 8248|    408|        parseContext.arraySizeCheck((yyvsp[-1].interm.intermTypedNode)->getLoc(), (yyvsp[-1].interm.intermTypedNode), size, "array size");
  ------------------
  |  |  783|    408|#define parseContext (*pParseContext)
  ------------------
 8249|    408|        (yyval.interm).arraySizes->addInnerSize(size);
 8250|    408|    }
 8251|    408|#line 8252 "MachineIndependent/glslang_tab.cpp"
 8252|    408|    break;
 8253|       |
 8254|      6|  case 224: /* array_specifier: array_specifier LEFT_BRACKET RIGHT_BRACKET  */
  ------------------
  |  Branch (8254:3): [True: 6, False: 1.17M]
  ------------------
 8255|      6|#line 1795 "MachineIndependent/glslang.y"
 8256|      6|                                                 {
 8257|      6|        (yyval.interm) = (yyvsp[-2].interm);
 8258|      6|        (yyval.interm).arraySizes->addInnerSize();
 8259|      6|    }
 8260|      6|#line 8261 "MachineIndependent/glslang_tab.cpp"
 8261|      6|    break;
 8262|       |
 8263|      0|  case 225: /* array_specifier: array_specifier LEFT_BRACKET conditional_expression RIGHT_BRACKET  */
  ------------------
  |  Branch (8263:3): [True: 0, False: 1.17M]
  ------------------
 8264|      0|#line 1799 "MachineIndependent/glslang.y"
 8265|      0|                                                                        {
 8266|      0|        (yyval.interm) = (yyvsp[-3].interm);
 8267|       |
 8268|      0|        TArraySize size;
 8269|      0|        parseContext.arraySizeCheck((yyvsp[-1].interm.intermTypedNode)->getLoc(), (yyvsp[-1].interm.intermTypedNode), size, "array size");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8270|      0|        (yyval.interm).arraySizes->addInnerSize(size);
 8271|      0|    }
 8272|      0|#line 8273 "MachineIndependent/glslang_tab.cpp"
 8273|      0|    break;
 8274|       |
 8275|     24|  case 226: /* type_parameter_specifier_opt: type_parameter_specifier  */
  ------------------
  |  Branch (8275:3): [True: 24, False: 1.17M]
  ------------------
 8276|     24|#line 1809 "MachineIndependent/glslang.y"
 8277|     24|                               {
 8278|     24|        (yyval.interm.typeParameters) = (yyvsp[0].interm.typeParameters);
 8279|     24|    }
 8280|     24|#line 8281 "MachineIndependent/glslang_tab.cpp"
 8281|     24|    break;
 8282|       |
 8283|   150k|  case 227: /* type_parameter_specifier_opt: %empty  */
  ------------------
  |  Branch (8283:3): [True: 150k, False: 1.02M]
  ------------------
 8284|   150k|#line 1812 "MachineIndependent/glslang.y"
 8285|   150k|                        {
 8286|   150k|        (yyval.interm.typeParameters) = 0;
 8287|   150k|    }
 8288|   150k|#line 8289 "MachineIndependent/glslang_tab.cpp"
 8289|   150k|    break;
 8290|       |
 8291|     24|  case 228: /* type_parameter_specifier: LEFT_ANGLE type_parameter_specifier_list RIGHT_ANGLE  */
  ------------------
  |  Branch (8291:3): [True: 24, False: 1.17M]
  ------------------
 8292|     24|#line 1818 "MachineIndependent/glslang.y"
 8293|     24|                                                           {
 8294|     24|        (yyval.interm.typeParameters) = (yyvsp[-1].interm.typeParameters);
 8295|     24|    }
 8296|     24|#line 8297 "MachineIndependent/glslang_tab.cpp"
 8297|     24|    break;
 8298|       |
 8299|     24|  case 229: /* type_parameter_specifier_list: type_specifier  */
  ------------------
  |  Branch (8299:3): [True: 24, False: 1.17M]
  ------------------
 8300|     24|#line 1824 "MachineIndependent/glslang.y"
 8301|     24|                     {
 8302|     24|        (yyval.interm.typeParameters) = new TTypeParameters;
 8303|     24|        (yyval.interm.typeParameters)->arraySizes = new TArraySizes;
 8304|     24|        (yyval.interm.typeParameters)->spirvType = (yyvsp[0].interm.type).spirvType;
 8305|     24|        (yyval.interm.typeParameters)->basicType = (yyvsp[0].interm.type).basicType;
 8306|     24|    }
 8307|     24|#line 8308 "MachineIndependent/glslang_tab.cpp"
 8308|     24|    break;
 8309|       |
 8310|      0|  case 230: /* type_parameter_specifier_list: unary_expression  */
  ------------------
  |  Branch (8310:3): [True: 0, False: 1.17M]
  ------------------
 8311|      0|#line 1830 "MachineIndependent/glslang.y"
 8312|      0|                       {
 8313|      0|        (yyval.interm.typeParameters) = new TTypeParameters;
 8314|      0|        (yyval.interm.typeParameters)->arraySizes = new TArraySizes;
 8315|       |
 8316|      0|        TArraySize size;
 8317|      0|        parseContext.arraySizeCheck((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode), size, "type parameter", true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8318|      0|        (yyval.interm.typeParameters)->arraySizes->addInnerSize(size);
 8319|      0|    }
 8320|      0|#line 8321 "MachineIndependent/glslang_tab.cpp"
 8321|      0|    break;
 8322|       |
 8323|     24|  case 231: /* type_parameter_specifier_list: type_parameter_specifier_list COMMA unary_expression  */
  ------------------
  |  Branch (8323:3): [True: 24, False: 1.17M]
  ------------------
 8324|     24|#line 1838 "MachineIndependent/glslang.y"
 8325|     24|                                                           {
 8326|     24|        (yyval.interm.typeParameters) = (yyvsp[-2].interm.typeParameters);
 8327|       |
 8328|     24|        TArraySize size;
 8329|     24|        parseContext.arraySizeCheck((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode), size, "type parameter", true);
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 8330|     24|        (yyval.interm.typeParameters)->arraySizes->addInnerSize(size);
 8331|     24|    }
 8332|     24|#line 8333 "MachineIndependent/glslang_tab.cpp"
 8333|     24|    break;
 8334|       |
 8335|  2.75k|  case 232: /* type_specifier_nonarray: VOID  */
  ------------------
  |  Branch (8335:3): [True: 2.75k, False: 1.17M]
  ------------------
 8336|  2.75k|#line 1848 "MachineIndependent/glslang.y"
 8337|  2.75k|           {
 8338|  2.75k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.75k|#define parseContext (*pParseContext)
  ------------------
 8339|  2.75k|        (yyval.interm.type).basicType = EbtVoid;
 8340|  2.75k|    }
 8341|  2.75k|#line 8342 "MachineIndependent/glslang_tab.cpp"
 8342|  2.75k|    break;
 8343|       |
 8344|  16.7k|  case 233: /* type_specifier_nonarray: FLOAT  */
  ------------------
  |  Branch (8344:3): [True: 16.7k, False: 1.15M]
  ------------------
 8345|  16.7k|#line 1852 "MachineIndependent/glslang.y"
 8346|  16.7k|            {
 8347|  16.7k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  16.7k|#define parseContext (*pParseContext)
  ------------------
 8348|  16.7k|        (yyval.interm.type).basicType = EbtFloat;
 8349|  16.7k|    }
 8350|  16.7k|#line 8351 "MachineIndependent/glslang_tab.cpp"
 8351|  16.7k|    break;
 8352|       |
 8353|  16.3k|  case 234: /* type_specifier_nonarray: INT  */
  ------------------
  |  Branch (8353:3): [True: 16.3k, False: 1.16M]
  ------------------
 8354|  16.3k|#line 1856 "MachineIndependent/glslang.y"
 8355|  16.3k|          {
 8356|  16.3k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  16.3k|#define parseContext (*pParseContext)
  ------------------
 8357|  16.3k|        (yyval.interm.type).basicType = EbtInt;
 8358|  16.3k|    }
 8359|  16.3k|#line 8360 "MachineIndependent/glslang_tab.cpp"
 8360|  16.3k|    break;
 8361|       |
 8362|  7.33k|  case 235: /* type_specifier_nonarray: UINT  */
  ------------------
  |  Branch (8362:3): [True: 7.33k, False: 1.16M]
  ------------------
 8363|  7.33k|#line 1860 "MachineIndependent/glslang.y"
 8364|  7.33k|           {
 8365|  7.33k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer");
  ------------------
  |  |  783|  7.33k|#define parseContext (*pParseContext)
  ------------------
 8366|  7.33k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  7.33k|#define parseContext (*pParseContext)
  ------------------
 8367|  7.33k|        (yyval.interm.type).basicType = EbtUint;
 8368|  7.33k|    }
 8369|  7.33k|#line 8370 "MachineIndependent/glslang_tab.cpp"
 8370|  7.33k|    break;
 8371|       |
 8372|  1.56k|  case 236: /* type_specifier_nonarray: BOOL  */
  ------------------
  |  Branch (8372:3): [True: 1.56k, False: 1.17M]
  ------------------
 8373|  1.56k|#line 1865 "MachineIndependent/glslang.y"
 8374|  1.56k|           {
 8375|  1.56k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.56k|#define parseContext (*pParseContext)
  ------------------
 8376|  1.56k|        (yyval.interm.type).basicType = EbtBool;
 8377|  1.56k|    }
 8378|  1.56k|#line 8379 "MachineIndependent/glslang_tab.cpp"
 8379|  1.56k|    break;
 8380|       |
 8381|  12.7k|  case 237: /* type_specifier_nonarray: VEC2  */
  ------------------
  |  Branch (8381:3): [True: 12.7k, False: 1.16M]
  ------------------
 8382|  12.7k|#line 1869 "MachineIndependent/glslang.y"
 8383|  12.7k|           {
 8384|  12.7k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  12.7k|#define parseContext (*pParseContext)
  ------------------
 8385|  12.7k|        (yyval.interm.type).basicType = EbtFloat;
 8386|  12.7k|        (yyval.interm.type).setVector(2);
 8387|  12.7k|    }
 8388|  12.7k|#line 8389 "MachineIndependent/glslang_tab.cpp"
 8389|  12.7k|    break;
 8390|       |
 8391|  12.5k|  case 238: /* type_specifier_nonarray: VEC3  */
  ------------------
  |  Branch (8391:3): [True: 12.5k, False: 1.16M]
  ------------------
 8392|  12.5k|#line 1874 "MachineIndependent/glslang.y"
 8393|  12.5k|           {
 8394|  12.5k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  12.5k|#define parseContext (*pParseContext)
  ------------------
 8395|  12.5k|        (yyval.interm.type).basicType = EbtFloat;
 8396|  12.5k|        (yyval.interm.type).setVector(3);
 8397|  12.5k|    }
 8398|  12.5k|#line 8399 "MachineIndependent/glslang_tab.cpp"
 8399|  12.5k|    break;
 8400|       |
 8401|  13.4k|  case 239: /* type_specifier_nonarray: VEC4  */
  ------------------
  |  Branch (8401:3): [True: 13.4k, False: 1.16M]
  ------------------
 8402|  13.4k|#line 1879 "MachineIndependent/glslang.y"
 8403|  13.4k|           {
 8404|  13.4k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  13.4k|#define parseContext (*pParseContext)
  ------------------
 8405|  13.4k|        (yyval.interm.type).basicType = EbtFloat;
 8406|  13.4k|        (yyval.interm.type).setVector(4);
 8407|  13.4k|    }
 8408|  13.4k|#line 8409 "MachineIndependent/glslang_tab.cpp"
 8409|  13.4k|    break;
 8410|       |
 8411|  1.83k|  case 240: /* type_specifier_nonarray: BVEC2  */
  ------------------
  |  Branch (8411:3): [True: 1.83k, False: 1.17M]
  ------------------
 8412|  1.83k|#line 1884 "MachineIndependent/glslang.y"
 8413|  1.83k|            {
 8414|  1.83k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.83k|#define parseContext (*pParseContext)
  ------------------
 8415|  1.83k|        (yyval.interm.type).basicType = EbtBool;
 8416|  1.83k|        (yyval.interm.type).setVector(2);
 8417|  1.83k|    }
 8418|  1.83k|#line 8419 "MachineIndependent/glslang_tab.cpp"
 8419|  1.83k|    break;
 8420|       |
 8421|  1.83k|  case 241: /* type_specifier_nonarray: BVEC3  */
  ------------------
  |  Branch (8421:3): [True: 1.83k, False: 1.17M]
  ------------------
 8422|  1.83k|#line 1889 "MachineIndependent/glslang.y"
 8423|  1.83k|            {
 8424|  1.83k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.83k|#define parseContext (*pParseContext)
  ------------------
 8425|  1.83k|        (yyval.interm.type).basicType = EbtBool;
 8426|  1.83k|        (yyval.interm.type).setVector(3);
 8427|  1.83k|    }
 8428|  1.83k|#line 8429 "MachineIndependent/glslang_tab.cpp"
 8429|  1.83k|    break;
 8430|       |
 8431|  1.83k|  case 242: /* type_specifier_nonarray: BVEC4  */
  ------------------
  |  Branch (8431:3): [True: 1.83k, False: 1.17M]
  ------------------
 8432|  1.83k|#line 1894 "MachineIndependent/glslang.y"
 8433|  1.83k|            {
 8434|  1.83k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.83k|#define parseContext (*pParseContext)
  ------------------
 8435|  1.83k|        (yyval.interm.type).basicType = EbtBool;
 8436|  1.83k|        (yyval.interm.type).setVector(4);
 8437|  1.83k|    }
 8438|  1.83k|#line 8439 "MachineIndependent/glslang_tab.cpp"
 8439|  1.83k|    break;
 8440|       |
 8441|  4.93k|  case 243: /* type_specifier_nonarray: IVEC2  */
  ------------------
  |  Branch (8441:3): [True: 4.93k, False: 1.17M]
  ------------------
 8442|  4.93k|#line 1899 "MachineIndependent/glslang.y"
 8443|  4.93k|            {
 8444|  4.93k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  4.93k|#define parseContext (*pParseContext)
  ------------------
 8445|  4.93k|        (yyval.interm.type).basicType = EbtInt;
 8446|  4.93k|        (yyval.interm.type).setVector(2);
 8447|  4.93k|    }
 8448|  4.93k|#line 8449 "MachineIndependent/glslang_tab.cpp"
 8449|  4.93k|    break;
 8450|       |
 8451|  3.42k|  case 244: /* type_specifier_nonarray: IVEC3  */
  ------------------
  |  Branch (8451:3): [True: 3.42k, False: 1.17M]
  ------------------
 8452|  3.42k|#line 1904 "MachineIndependent/glslang.y"
 8453|  3.42k|            {
 8454|  3.42k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  3.42k|#define parseContext (*pParseContext)
  ------------------
 8455|  3.42k|        (yyval.interm.type).basicType = EbtInt;
 8456|  3.42k|        (yyval.interm.type).setVector(3);
 8457|  3.42k|    }
 8458|  3.42k|#line 8459 "MachineIndependent/glslang_tab.cpp"
 8459|  3.42k|    break;
 8460|       |
 8461|  2.54k|  case 245: /* type_specifier_nonarray: IVEC4  */
  ------------------
  |  Branch (8461:3): [True: 2.54k, False: 1.17M]
  ------------------
 8462|  2.54k|#line 1909 "MachineIndependent/glslang.y"
 8463|  2.54k|            {
 8464|  2.54k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.54k|#define parseContext (*pParseContext)
  ------------------
 8465|  2.54k|        (yyval.interm.type).basicType = EbtInt;
 8466|  2.54k|        (yyval.interm.type).setVector(4);
 8467|  2.54k|    }
 8468|  2.54k|#line 8469 "MachineIndependent/glslang_tab.cpp"
 8469|  2.54k|    break;
 8470|       |
 8471|    628|  case 246: /* type_specifier_nonarray: UVEC2  */
  ------------------
  |  Branch (8471:3): [True: 628, False: 1.17M]
  ------------------
 8472|    628|#line 1914 "MachineIndependent/glslang.y"
 8473|    628|            {
 8474|    628|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
  ------------------
  |  |  783|    628|#define parseContext (*pParseContext)
  ------------------
 8475|    628|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    628|#define parseContext (*pParseContext)
  ------------------
 8476|    628|        (yyval.interm.type).basicType = EbtUint;
 8477|    628|        (yyval.interm.type).setVector(2);
 8478|    628|    }
 8479|    628|#line 8480 "MachineIndependent/glslang_tab.cpp"
 8480|    628|    break;
 8481|       |
 8482|    614|  case 247: /* type_specifier_nonarray: UVEC3  */
  ------------------
  |  Branch (8482:3): [True: 614, False: 1.17M]
  ------------------
 8483|    614|#line 1920 "MachineIndependent/glslang.y"
 8484|    614|            {
 8485|    614|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
  ------------------
  |  |  783|    614|#define parseContext (*pParseContext)
  ------------------
 8486|    614|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    614|#define parseContext (*pParseContext)
  ------------------
 8487|    614|        (yyval.interm.type).basicType = EbtUint;
 8488|    614|        (yyval.interm.type).setVector(3);
 8489|    614|    }
 8490|    614|#line 8491 "MachineIndependent/glslang_tab.cpp"
 8491|    614|    break;
 8492|       |
 8493|  3.72k|  case 248: /* type_specifier_nonarray: UVEC4  */
  ------------------
  |  Branch (8493:3): [True: 3.72k, False: 1.17M]
  ------------------
 8494|  3.72k|#line 1926 "MachineIndependent/glslang.y"
 8495|  3.72k|            {
 8496|  3.72k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
  ------------------
  |  |  783|  3.72k|#define parseContext (*pParseContext)
  ------------------
 8497|  3.72k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  3.72k|#define parseContext (*pParseContext)
  ------------------
 8498|  3.72k|        (yyval.interm.type).basicType = EbtUint;
 8499|  3.72k|        (yyval.interm.type).setVector(4);
 8500|  3.72k|    }
 8501|  3.72k|#line 8502 "MachineIndependent/glslang_tab.cpp"
 8502|  3.72k|    break;
 8503|       |
 8504|    222|  case 249: /* type_specifier_nonarray: MAT2  */
  ------------------
  |  Branch (8504:3): [True: 222, False: 1.17M]
  ------------------
 8505|    222|#line 1932 "MachineIndependent/glslang.y"
 8506|    222|           {
 8507|    222|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    222|#define parseContext (*pParseContext)
  ------------------
 8508|    222|        (yyval.interm.type).basicType = EbtFloat;
 8509|    222|        (yyval.interm.type).setMatrix(2, 2);
 8510|    222|    }
 8511|    222|#line 8512 "MachineIndependent/glslang_tab.cpp"
 8512|    222|    break;
 8513|       |
 8514|    222|  case 250: /* type_specifier_nonarray: MAT3  */
  ------------------
  |  Branch (8514:3): [True: 222, False: 1.17M]
  ------------------
 8515|    222|#line 1937 "MachineIndependent/glslang.y"
 8516|    222|           {
 8517|    222|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    222|#define parseContext (*pParseContext)
  ------------------
 8518|    222|        (yyval.interm.type).basicType = EbtFloat;
 8519|    222|        (yyval.interm.type).setMatrix(3, 3);
 8520|    222|    }
 8521|    222|#line 8522 "MachineIndependent/glslang_tab.cpp"
 8522|    222|    break;
 8523|       |
 8524|    222|  case 251: /* type_specifier_nonarray: MAT4  */
  ------------------
  |  Branch (8524:3): [True: 222, False: 1.17M]
  ------------------
 8525|    222|#line 1942 "MachineIndependent/glslang.y"
 8526|    222|           {
 8527|    222|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    222|#define parseContext (*pParseContext)
  ------------------
 8528|    222|        (yyval.interm.type).basicType = EbtFloat;
 8529|    222|        (yyval.interm.type).setMatrix(4, 4);
 8530|    222|    }
 8531|    222|#line 8532 "MachineIndependent/glslang_tab.cpp"
 8532|    222|    break;
 8533|       |
 8534|      0|  case 252: /* type_specifier_nonarray: MAT2X2  */
  ------------------
  |  Branch (8534:3): [True: 0, False: 1.17M]
  ------------------
 8535|      0|#line 1947 "MachineIndependent/glslang.y"
 8536|      0|             {
 8537|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8538|      0|        (yyval.interm.type).basicType = EbtFloat;
 8539|      0|        (yyval.interm.type).setMatrix(2, 2);
 8540|      0|    }
 8541|      0|#line 8542 "MachineIndependent/glslang_tab.cpp"
 8542|      0|    break;
 8543|       |
 8544|     12|  case 253: /* type_specifier_nonarray: MAT2X3  */
  ------------------
  |  Branch (8544:3): [True: 12, False: 1.17M]
  ------------------
 8545|     12|#line 1952 "MachineIndependent/glslang.y"
 8546|     12|             {
 8547|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 8548|     12|        (yyval.interm.type).basicType = EbtFloat;
 8549|     12|        (yyval.interm.type).setMatrix(2, 3);
 8550|     12|    }
 8551|     12|#line 8552 "MachineIndependent/glslang_tab.cpp"
 8552|     12|    break;
 8553|       |
 8554|     12|  case 254: /* type_specifier_nonarray: MAT2X4  */
  ------------------
  |  Branch (8554:3): [True: 12, False: 1.17M]
  ------------------
 8555|     12|#line 1957 "MachineIndependent/glslang.y"
 8556|     12|             {
 8557|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 8558|     12|        (yyval.interm.type).basicType = EbtFloat;
 8559|     12|        (yyval.interm.type).setMatrix(2, 4);
 8560|     12|    }
 8561|     12|#line 8562 "MachineIndependent/glslang_tab.cpp"
 8562|     12|    break;
 8563|       |
 8564|     12|  case 255: /* type_specifier_nonarray: MAT3X2  */
  ------------------
  |  Branch (8564:3): [True: 12, False: 1.17M]
  ------------------
 8565|     12|#line 1962 "MachineIndependent/glslang.y"
 8566|     12|             {
 8567|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 8568|     12|        (yyval.interm.type).basicType = EbtFloat;
 8569|     12|        (yyval.interm.type).setMatrix(3, 2);
 8570|     12|    }
 8571|     12|#line 8572 "MachineIndependent/glslang_tab.cpp"
 8572|     12|    break;
 8573|       |
 8574|      0|  case 256: /* type_specifier_nonarray: MAT3X3  */
  ------------------
  |  Branch (8574:3): [True: 0, False: 1.17M]
  ------------------
 8575|      0|#line 1967 "MachineIndependent/glslang.y"
 8576|      0|             {
 8577|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8578|      0|        (yyval.interm.type).basicType = EbtFloat;
 8579|      0|        (yyval.interm.type).setMatrix(3, 3);
 8580|      0|    }
 8581|      0|#line 8582 "MachineIndependent/glslang_tab.cpp"
 8582|      0|    break;
 8583|       |
 8584|     12|  case 257: /* type_specifier_nonarray: MAT3X4  */
  ------------------
  |  Branch (8584:3): [True: 12, False: 1.17M]
  ------------------
 8585|     12|#line 1972 "MachineIndependent/glslang.y"
 8586|     12|             {
 8587|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 8588|     12|        (yyval.interm.type).basicType = EbtFloat;
 8589|     12|        (yyval.interm.type).setMatrix(3, 4);
 8590|     12|    }
 8591|     12|#line 8592 "MachineIndependent/glslang_tab.cpp"
 8592|     12|    break;
 8593|       |
 8594|     12|  case 258: /* type_specifier_nonarray: MAT4X2  */
  ------------------
  |  Branch (8594:3): [True: 12, False: 1.17M]
  ------------------
 8595|     12|#line 1977 "MachineIndependent/glslang.y"
 8596|     12|             {
 8597|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 8598|     12|        (yyval.interm.type).basicType = EbtFloat;
 8599|     12|        (yyval.interm.type).setMatrix(4, 2);
 8600|     12|    }
 8601|     12|#line 8602 "MachineIndependent/glslang_tab.cpp"
 8602|     12|    break;
 8603|       |
 8604|     12|  case 259: /* type_specifier_nonarray: MAT4X3  */
  ------------------
  |  Branch (8604:3): [True: 12, False: 1.17M]
  ------------------
 8605|     12|#line 1982 "MachineIndependent/glslang.y"
 8606|     12|             {
 8607|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 8608|     12|        (yyval.interm.type).basicType = EbtFloat;
 8609|     12|        (yyval.interm.type).setMatrix(4, 3);
 8610|     12|    }
 8611|     12|#line 8612 "MachineIndependent/glslang_tab.cpp"
 8612|     12|    break;
 8613|       |
 8614|      0|  case 260: /* type_specifier_nonarray: MAT4X4  */
  ------------------
  |  Branch (8614:3): [True: 0, False: 1.17M]
  ------------------
 8615|      0|#line 1987 "MachineIndependent/glslang.y"
 8616|      0|             {
 8617|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8618|      0|        (yyval.interm.type).basicType = EbtFloat;
 8619|      0|        (yyval.interm.type).setMatrix(4, 4);
 8620|      0|    }
 8621|      0|#line 8622 "MachineIndependent/glslang_tab.cpp"
 8622|      0|    break;
 8623|       |
 8624|    570|  case 261: /* type_specifier_nonarray: DOUBLE  */
  ------------------
  |  Branch (8624:3): [True: 570, False: 1.17M]
  ------------------
 8625|    570|#line 1992 "MachineIndependent/glslang.y"
 8626|    570|             {
 8627|    570|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double");
  ------------------
  |  |  783|    570|#define parseContext (*pParseContext)
  ------------------
 8628|    570|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|    570|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8628:13): [True: 0, False: 570]
  ------------------
 8629|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8630|    570|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    570|#define parseContext (*pParseContext)
  ------------------
 8631|    570|        (yyval.interm.type).basicType = EbtDouble;
 8632|    570|    }
 8633|    570|#line 8634 "MachineIndependent/glslang_tab.cpp"
 8634|    570|    break;
 8635|       |
 8636|     36|  case 262: /* type_specifier_nonarray: BFLOAT16_T  */
  ------------------
  |  Branch (8636:3): [True: 36, False: 1.17M]
  ------------------
 8637|     36|#line 1999 "MachineIndependent/glslang.y"
 8638|     36|                 {
 8639|     36|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "bfloat16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "bfloat16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
 8640|     36|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
 8641|     36|        (yyval.interm.type).basicType = EbtBFloat16;
 8642|     36|    }
 8643|     36|#line 8644 "MachineIndependent/glslang_tab.cpp"
 8644|     36|    break;
 8645|       |
 8646|     24|  case 263: /* type_specifier_nonarray: FLOATE5M2_T  */
  ------------------
  |  Branch (8646:3): [True: 24, False: 1.17M]
  ------------------
 8647|     24|#line 2004 "MachineIndependent/glslang.y"
 8648|     24|                  {
 8649|     24|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate5m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate5m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 8650|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 8651|     24|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8652|     24|    }
 8653|     24|#line 8654 "MachineIndependent/glslang_tab.cpp"
 8654|     24|    break;
 8655|       |
 8656|     24|  case 264: /* type_specifier_nonarray: FLOATE4M3_T  */
  ------------------
  |  Branch (8656:3): [True: 24, False: 1.17M]
  ------------------
 8657|     24|#line 2009 "MachineIndependent/glslang.y"
 8658|     24|                  {
 8659|     24|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate4m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate4m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 8660|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 8661|     24|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8662|     24|    }
 8663|     24|#line 8664 "MachineIndependent/glslang_tab.cpp"
 8664|     24|    break;
 8665|       |
 8666|     10|  case 265: /* type_specifier_nonarray: FLOATE2M1_T  */
  ------------------
  |  Branch (8666:3): [True: 10, False: 1.17M]
  ------------------
 8667|     10|#line 2014 "MachineIndependent/glslang.y"
 8668|     10|                  {
 8669|     10|        parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "floate2m1_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "floate2m1_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
 8670|     10|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
 8671|     10|        (yyval.interm.type).basicType = EbtFloatE2M1;
 8672|     10|    }
 8673|     10|#line 8674 "MachineIndependent/glslang_tab.cpp"
 8674|     10|    break;
 8675|       |
 8676|     10|  case 266: /* type_specifier_nonarray: FLOATE3M2_T  */
  ------------------
  |  Branch (8676:3): [True: 10, False: 1.17M]
  ------------------
 8677|     10|#line 2019 "MachineIndependent/glslang.y"
 8678|     10|                  {
 8679|     10|        parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate3m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate3m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
 8680|     10|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
 8681|     10|        (yyval.interm.type).basicType = EbtFloatE3M2;
 8682|     10|    }
 8683|     10|#line 8684 "MachineIndependent/glslang_tab.cpp"
 8684|     10|    break;
 8685|       |
 8686|     10|  case 267: /* type_specifier_nonarray: FLOATE2M3_T  */
  ------------------
  |  Branch (8686:3): [True: 10, False: 1.17M]
  ------------------
 8687|     10|#line 2024 "MachineIndependent/glslang.y"
 8688|     10|                  {
 8689|     10|        parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate2m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate2m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
 8690|     10|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
 8691|     10|        (yyval.interm.type).basicType = EbtFloatE2M3;
 8692|     10|    }
 8693|     10|#line 8694 "MachineIndependent/glslang_tab.cpp"
 8694|     10|    break;
 8695|       |
 8696|      8|  case 268: /* type_specifier_nonarray: FLOATUE8M0_T  */
  ------------------
  |  Branch (8696:3): [True: 8, False: 1.17M]
  ------------------
 8697|      8|#line 2029 "MachineIndependent/glslang.y"
 8698|      8|                   {
 8699|      8|        parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "floatue8m0_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "floatue8m0_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 8700|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 8701|      8|        (yyval.interm.type).basicType = EbtFloatUE8M0;
 8702|      8|    }
 8703|      8|#line 8704 "MachineIndependent/glslang_tab.cpp"
 8704|      8|    break;
 8705|       |
 8706|      8|  case 269: /* type_specifier_nonarray: FLOATMXINT8_T  */
  ------------------
  |  Branch (8706:3): [True: 8, False: 1.17M]
  ------------------
 8707|      8|#line 2034 "MachineIndependent/glslang.y"
 8708|      8|                    {
 8709|      8|        parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "floatmxint8_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "floatmxint8_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 8710|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 8711|      8|        (yyval.interm.type).basicType = EbtFloatMXINT8;
 8712|      8|    }
 8713|      8|#line 8714 "MachineIndependent/glslang_tab.cpp"
 8714|      8|    break;
 8715|       |
 8716|  2.82k|  case 270: /* type_specifier_nonarray: FLOAT16_T  */
  ------------------
  |  Branch (8716:3): [True: 2.82k, False: 1.17M]
  ------------------
 8717|  2.82k|#line 2039 "MachineIndependent/glslang.y"
 8718|  2.82k|                {
 8719|  2.82k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "float16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  2.82k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "float16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  2.82k|#define parseContext (*pParseContext)
  ------------------
 8720|  2.82k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.82k|#define parseContext (*pParseContext)
  ------------------
 8721|  2.82k|        (yyval.interm.type).basicType = EbtFloat16;
 8722|  2.82k|    }
 8723|  2.82k|#line 8724 "MachineIndependent/glslang_tab.cpp"
 8724|  2.82k|    break;
 8725|       |
 8726|    152|  case 271: /* type_specifier_nonarray: FLOAT32_T  */
  ------------------
  |  Branch (8726:3): [True: 152, False: 1.17M]
  ------------------
 8727|    152|#line 2044 "MachineIndependent/glslang.y"
 8728|    152|                {
 8729|    152|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    152|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    152|#define parseContext (*pParseContext)
  ------------------
 8730|    152|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    152|#define parseContext (*pParseContext)
  ------------------
 8731|    152|        (yyval.interm.type).basicType = EbtFloat;
 8732|    152|    }
 8733|    152|#line 8734 "MachineIndependent/glslang_tab.cpp"
 8734|    152|    break;
 8735|       |
 8736|    282|  case 272: /* type_specifier_nonarray: FLOAT64_T  */
  ------------------
  |  Branch (8736:3): [True: 282, False: 1.17M]
  ------------------
 8737|    282|#line 2049 "MachineIndependent/glslang.y"
 8738|    282|                {
 8739|    282|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    282|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    282|#define parseContext (*pParseContext)
  ------------------
 8740|    282|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    282|#define parseContext (*pParseContext)
  ------------------
 8741|    282|        (yyval.interm.type).basicType = EbtDouble;
 8742|    282|    }
 8743|    282|#line 8744 "MachineIndependent/glslang_tab.cpp"
 8744|    282|    break;
 8745|       |
 8746|    570|  case 273: /* type_specifier_nonarray: INT8_T  */
  ------------------
  |  Branch (8746:3): [True: 570, False: 1.17M]
  ------------------
 8747|    570|#line 2054 "MachineIndependent/glslang.y"
 8748|    570|             {
 8749|    570|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    570|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    570|#define parseContext (*pParseContext)
  ------------------
 8750|    570|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    570|#define parseContext (*pParseContext)
  ------------------
 8751|    570|        (yyval.interm.type).basicType = EbtInt8;
 8752|    570|    }
 8753|    570|#line 8754 "MachineIndependent/glslang_tab.cpp"
 8754|    570|    break;
 8755|       |
 8756|    532|  case 274: /* type_specifier_nonarray: UINT8_T  */
  ------------------
  |  Branch (8756:3): [True: 532, False: 1.17M]
  ------------------
 8757|    532|#line 2059 "MachineIndependent/glslang.y"
 8758|    532|              {
 8759|    532|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    532|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    532|#define parseContext (*pParseContext)
  ------------------
 8760|    532|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    532|#define parseContext (*pParseContext)
  ------------------
 8761|    532|        (yyval.interm.type).basicType = EbtUint8;
 8762|    532|    }
 8763|    532|#line 8764 "MachineIndependent/glslang_tab.cpp"
 8764|    532|    break;
 8765|       |
 8766|    694|  case 275: /* type_specifier_nonarray: INT16_T  */
  ------------------
  |  Branch (8766:3): [True: 694, False: 1.17M]
  ------------------
 8767|    694|#line 2064 "MachineIndependent/glslang.y"
 8768|    694|              {
 8769|    694|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    694|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    694|#define parseContext (*pParseContext)
  ------------------
 8770|    694|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    694|#define parseContext (*pParseContext)
  ------------------
 8771|    694|        (yyval.interm.type).basicType = EbtInt16;
 8772|    694|    }
 8773|    694|#line 8774 "MachineIndependent/glslang_tab.cpp"
 8774|    694|    break;
 8775|       |
 8776|    618|  case 276: /* type_specifier_nonarray: UINT16_T  */
  ------------------
  |  Branch (8776:3): [True: 618, False: 1.17M]
  ------------------
 8777|    618|#line 2069 "MachineIndependent/glslang.y"
 8778|    618|               {
 8779|    618|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    618|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    618|#define parseContext (*pParseContext)
  ------------------
 8780|    618|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    618|#define parseContext (*pParseContext)
  ------------------
 8781|    618|        (yyval.interm.type).basicType = EbtUint16;
 8782|    618|    }
 8783|    618|#line 8784 "MachineIndependent/glslang_tab.cpp"
 8784|    618|    break;
 8785|       |
 8786|    160|  case 277: /* type_specifier_nonarray: INT32_T  */
  ------------------
  |  Branch (8786:3): [True: 160, False: 1.17M]
  ------------------
 8787|    160|#line 2074 "MachineIndependent/glslang.y"
 8788|    160|              {
 8789|    160|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    160|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    160|#define parseContext (*pParseContext)
  ------------------
 8790|    160|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    160|#define parseContext (*pParseContext)
  ------------------
 8791|    160|        (yyval.interm.type).basicType = EbtInt;
 8792|    160|    }
 8793|    160|#line 8794 "MachineIndependent/glslang_tab.cpp"
 8794|    160|    break;
 8795|       |
 8796|    164|  case 278: /* type_specifier_nonarray: UINT32_T  */
  ------------------
  |  Branch (8796:3): [True: 164, False: 1.17M]
  ------------------
 8797|    164|#line 2079 "MachineIndependent/glslang.y"
 8798|    164|               {
 8799|    164|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    164|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    164|#define parseContext (*pParseContext)
  ------------------
 8800|    164|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    164|#define parseContext (*pParseContext)
  ------------------
 8801|    164|        (yyval.interm.type).basicType = EbtUint;
 8802|    164|    }
 8803|    164|#line 8804 "MachineIndependent/glslang_tab.cpp"
 8804|    164|    break;
 8805|       |
 8806|  1.54k|  case 279: /* type_specifier_nonarray: INT64_T  */
  ------------------
  |  Branch (8806:3): [True: 1.54k, False: 1.17M]
  ------------------
 8807|  1.54k|#line 2084 "MachineIndependent/glslang.y"
 8808|  1.54k|              {
 8809|  1.54k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.54k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.54k|#define parseContext (*pParseContext)
  ------------------
 8810|  1.54k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.54k|#define parseContext (*pParseContext)
  ------------------
 8811|  1.54k|        (yyval.interm.type).basicType = EbtInt64;
 8812|  1.54k|    }
 8813|  1.54k|#line 8814 "MachineIndependent/glslang_tab.cpp"
 8814|  1.54k|    break;
 8815|       |
 8816|  2.55k|  case 280: /* type_specifier_nonarray: UINT64_T  */
  ------------------
  |  Branch (8816:3): [True: 2.55k, False: 1.17M]
  ------------------
 8817|  2.55k|#line 2089 "MachineIndependent/glslang.y"
 8818|  2.55k|               {
 8819|  2.55k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  2.55k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  2.55k|#define parseContext (*pParseContext)
  ------------------
 8820|  2.55k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.55k|#define parseContext (*pParseContext)
  ------------------
 8821|  2.55k|        (yyval.interm.type).basicType = EbtUint64;
 8822|  2.55k|    }
 8823|  2.55k|#line 8824 "MachineIndependent/glslang_tab.cpp"
 8824|  2.55k|    break;
 8825|       |
 8826|    464|  case 281: /* type_specifier_nonarray: DVEC2  */
  ------------------
  |  Branch (8826:3): [True: 464, False: 1.17M]
  ------------------
 8827|    464|#line 2094 "MachineIndependent/glslang.y"
 8828|    464|            {
 8829|    464|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
  ------------------
  |  |  783|    464|#define parseContext (*pParseContext)
  ------------------
 8830|    464|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|    464|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8830:13): [True: 0, False: 464]
  ------------------
 8831|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8832|    464|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    464|#define parseContext (*pParseContext)
  ------------------
 8833|    464|        (yyval.interm.type).basicType = EbtDouble;
 8834|    464|        (yyval.interm.type).setVector(2);
 8835|    464|    }
 8836|    464|#line 8837 "MachineIndependent/glslang_tab.cpp"
 8837|    464|    break;
 8838|       |
 8839|    462|  case 282: /* type_specifier_nonarray: DVEC3  */
  ------------------
  |  Branch (8839:3): [True: 462, False: 1.17M]
  ------------------
 8840|    462|#line 2102 "MachineIndependent/glslang.y"
 8841|    462|            {
 8842|    462|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
  ------------------
  |  |  783|    462|#define parseContext (*pParseContext)
  ------------------
 8843|    462|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|    462|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8843:13): [True: 0, False: 462]
  ------------------
 8844|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8845|    462|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    462|#define parseContext (*pParseContext)
  ------------------
 8846|    462|        (yyval.interm.type).basicType = EbtDouble;
 8847|    462|        (yyval.interm.type).setVector(3);
 8848|    462|    }
 8849|    462|#line 8850 "MachineIndependent/glslang_tab.cpp"
 8850|    462|    break;
 8851|       |
 8852|    464|  case 283: /* type_specifier_nonarray: DVEC4  */
  ------------------
  |  Branch (8852:3): [True: 464, False: 1.17M]
  ------------------
 8853|    464|#line 2110 "MachineIndependent/glslang.y"
 8854|    464|            {
 8855|    464|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
  ------------------
  |  |  783|    464|#define parseContext (*pParseContext)
  ------------------
 8856|    464|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|    464|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8856:13): [True: 0, False: 464]
  ------------------
 8857|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8858|    464|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    464|#define parseContext (*pParseContext)
  ------------------
 8859|    464|        (yyval.interm.type).basicType = EbtDouble;
 8860|    464|        (yyval.interm.type).setVector(4);
 8861|    464|    }
 8862|    464|#line 8863 "MachineIndependent/glslang_tab.cpp"
 8863|    464|    break;
 8864|       |
 8865|     20|  case 284: /* type_specifier_nonarray: BF16VEC2  */
  ------------------
  |  Branch (8865:3): [True: 20, False: 1.17M]
  ------------------
 8866|     20|#line 2118 "MachineIndependent/glslang.y"
 8867|     20|               {
 8868|     20|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 8869|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 8870|     20|        (yyval.interm.type).basicType = EbtBFloat16;
 8871|     20|        (yyval.interm.type).setVector(2);
 8872|     20|    }
 8873|     20|#line 8874 "MachineIndependent/glslang_tab.cpp"
 8874|     20|    break;
 8875|       |
 8876|     12|  case 285: /* type_specifier_nonarray: BF16VEC3  */
  ------------------
  |  Branch (8876:3): [True: 12, False: 1.17M]
  ------------------
 8877|     12|#line 2124 "MachineIndependent/glslang.y"
 8878|     12|               {
 8879|     12|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 8880|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 8881|     12|        (yyval.interm.type).basicType = EbtBFloat16;
 8882|     12|        (yyval.interm.type).setVector(3);
 8883|     12|    }
 8884|     12|#line 8885 "MachineIndependent/glslang_tab.cpp"
 8885|     12|    break;
 8886|       |
 8887|     20|  case 286: /* type_specifier_nonarray: BF16VEC4  */
  ------------------
  |  Branch (8887:3): [True: 20, False: 1.17M]
  ------------------
 8888|     20|#line 2130 "MachineIndependent/glslang.y"
 8889|     20|               {
 8890|     20|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 8891|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 8892|     20|        (yyval.interm.type).basicType = EbtBFloat16;
 8893|     20|        (yyval.interm.type).setVector(4);
 8894|     20|    }
 8895|     20|#line 8896 "MachineIndependent/glslang_tab.cpp"
 8896|     20|    break;
 8897|       |
 8898|     16|  case 287: /* type_specifier_nonarray: FE5M2VEC2  */
  ------------------
  |  Branch (8898:3): [True: 16, False: 1.17M]
  ------------------
 8899|     16|#line 2136 "MachineIndependent/glslang.y"
 8900|     16|                {
 8901|     16|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
 8902|     16|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
 8903|     16|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8904|     16|        (yyval.interm.type).setVector(2);
 8905|     16|    }
 8906|     16|#line 8907 "MachineIndependent/glslang_tab.cpp"
 8907|     16|    break;
 8908|       |
 8909|      8|  case 288: /* type_specifier_nonarray: FE5M2VEC3  */
  ------------------
  |  Branch (8909:3): [True: 8, False: 1.17M]
  ------------------
 8910|      8|#line 2142 "MachineIndependent/glslang.y"
 8911|      8|                {
 8912|      8|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 8913|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 8914|      8|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8915|      8|        (yyval.interm.type).setVector(3);
 8916|      8|    }
 8917|      8|#line 8918 "MachineIndependent/glslang_tab.cpp"
 8918|      8|    break;
 8919|       |
 8920|     16|  case 289: /* type_specifier_nonarray: FE5M2VEC4  */
  ------------------
  |  Branch (8920:3): [True: 16, False: 1.17M]
  ------------------
 8921|     16|#line 2148 "MachineIndependent/glslang.y"
 8922|     16|                {
 8923|     16|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
 8924|     16|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
 8925|     16|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8926|     16|        (yyval.interm.type).setVector(4);
 8927|     16|    }
 8928|     16|#line 8929 "MachineIndependent/glslang_tab.cpp"
 8929|     16|    break;
 8930|       |
 8931|     16|  case 290: /* type_specifier_nonarray: FE4M3VEC2  */
  ------------------
  |  Branch (8931:3): [True: 16, False: 1.17M]
  ------------------
 8932|     16|#line 2154 "MachineIndependent/glslang.y"
 8933|     16|                {
 8934|     16|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
 8935|     16|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
 8936|     16|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8937|     16|        (yyval.interm.type).setVector(2);
 8938|     16|    }
 8939|     16|#line 8940 "MachineIndependent/glslang_tab.cpp"
 8940|     16|    break;
 8941|       |
 8942|      8|  case 291: /* type_specifier_nonarray: FE4M3VEC3  */
  ------------------
  |  Branch (8942:3): [True: 8, False: 1.17M]
  ------------------
 8943|      8|#line 2160 "MachineIndependent/glslang.y"
 8944|      8|                {
 8945|      8|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 8946|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 8947|      8|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8948|      8|        (yyval.interm.type).setVector(3);
 8949|      8|    }
 8950|      8|#line 8951 "MachineIndependent/glslang_tab.cpp"
 8951|      8|    break;
 8952|       |
 8953|     16|  case 292: /* type_specifier_nonarray: FE4M3VEC4  */
  ------------------
  |  Branch (8953:3): [True: 16, False: 1.17M]
  ------------------
 8954|     16|#line 2166 "MachineIndependent/glslang.y"
 8955|     16|                {
 8956|     16|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
 8957|     16|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
 8958|     16|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8959|     16|        (yyval.interm.type).setVector(4);
 8960|     16|    }
 8961|     16|#line 8962 "MachineIndependent/glslang_tab.cpp"
 8962|     16|    break;
 8963|       |
 8964|      6|  case 293: /* type_specifier_nonarray: FE2M1VEC2  */
  ------------------
  |  Branch (8964:3): [True: 6, False: 1.17M]
  ------------------
 8965|      6|#line 2172 "MachineIndependent/glslang.y"
 8966|      6|                {
 8967|      6|        parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 8968|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 8969|      6|        (yyval.interm.type).basicType = EbtFloatE2M1;
 8970|      6|        (yyval.interm.type).setVector(2);
 8971|      6|    }
 8972|      6|#line 8973 "MachineIndependent/glslang_tab.cpp"
 8973|      6|    break;
 8974|       |
 8975|      2|  case 294: /* type_specifier_nonarray: FE2M1VEC3  */
  ------------------
  |  Branch (8975:3): [True: 2, False: 1.17M]
  ------------------
 8976|      2|#line 2178 "MachineIndependent/glslang.y"
 8977|      2|                {
 8978|      2|        parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
 8979|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
 8980|      2|        (yyval.interm.type).basicType = EbtFloatE2M1;
 8981|      2|        (yyval.interm.type).setVector(3);
 8982|      2|    }
 8983|      2|#line 8984 "MachineIndependent/glslang_tab.cpp"
 8984|      2|    break;
 8985|       |
 8986|      6|  case 295: /* type_specifier_nonarray: FE2M1VEC4  */
  ------------------
  |  Branch (8986:3): [True: 6, False: 1.17M]
  ------------------
 8987|      6|#line 2184 "MachineIndependent/glslang.y"
 8988|      6|                {
 8989|      6|        parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 8990|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 8991|      6|        (yyval.interm.type).basicType = EbtFloatE2M1;
 8992|      6|        (yyval.interm.type).setVector(4);
 8993|      6|    }
 8994|      6|#line 8995 "MachineIndependent/glslang_tab.cpp"
 8995|      6|    break;
 8996|       |
 8997|      2|  case 296: /* type_specifier_nonarray: FE3M2VEC2  */
  ------------------
  |  Branch (8997:3): [True: 2, False: 1.17M]
  ------------------
 8998|      2|#line 2190 "MachineIndependent/glslang.y"
 8999|      2|                {
 9000|      2|        parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
 9001|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
 9002|      2|        (yyval.interm.type).basicType = EbtFloatE3M2;
 9003|      2|        (yyval.interm.type).setVector(2);
 9004|      2|    }
 9005|      2|#line 9006 "MachineIndependent/glslang_tab.cpp"
 9006|      2|    break;
 9007|       |
 9008|      2|  case 297: /* type_specifier_nonarray: FE3M2VEC3  */
  ------------------
  |  Branch (9008:3): [True: 2, False: 1.17M]
  ------------------
 9009|      2|#line 2196 "MachineIndependent/glslang.y"
 9010|      2|                {
 9011|      2|        parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
 9012|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
 9013|      2|        (yyval.interm.type).basicType = EbtFloatE3M2;
 9014|      2|        (yyval.interm.type).setVector(3);
 9015|      2|    }
 9016|      2|#line 9017 "MachineIndependent/glslang_tab.cpp"
 9017|      2|    break;
 9018|       |
 9019|      6|  case 298: /* type_specifier_nonarray: FE3M2VEC4  */
  ------------------
  |  Branch (9019:3): [True: 6, False: 1.17M]
  ------------------
 9020|      6|#line 2202 "MachineIndependent/glslang.y"
 9021|      6|                {
 9022|      6|        parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9023|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9024|      6|        (yyval.interm.type).basicType = EbtFloatE3M2;
 9025|      6|        (yyval.interm.type).setVector(4);
 9026|      6|    }
 9027|      6|#line 9028 "MachineIndependent/glslang_tab.cpp"
 9028|      6|    break;
 9029|       |
 9030|      2|  case 299: /* type_specifier_nonarray: FE2M3VEC2  */
  ------------------
  |  Branch (9030:3): [True: 2, False: 1.17M]
  ------------------
 9031|      2|#line 2208 "MachineIndependent/glslang.y"
 9032|      2|                {
 9033|      2|        parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
 9034|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
 9035|      2|        (yyval.interm.type).basicType = EbtFloatE2M3;
 9036|      2|        (yyval.interm.type).setVector(2);
 9037|      2|    }
 9038|      2|#line 9039 "MachineIndependent/glslang_tab.cpp"
 9039|      2|    break;
 9040|       |
 9041|      2|  case 300: /* type_specifier_nonarray: FE2M3VEC3  */
  ------------------
  |  Branch (9041:3): [True: 2, False: 1.17M]
  ------------------
 9042|      2|#line 2214 "MachineIndependent/glslang.y"
 9043|      2|                {
 9044|      2|        parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
 9045|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
 9046|      2|        (yyval.interm.type).basicType = EbtFloatE2M3;
 9047|      2|        (yyval.interm.type).setVector(3);
 9048|      2|    }
 9049|      2|#line 9050 "MachineIndependent/glslang_tab.cpp"
 9050|      2|    break;
 9051|       |
 9052|      6|  case 301: /* type_specifier_nonarray: FE2M3VEC4  */
  ------------------
  |  Branch (9052:3): [True: 6, False: 1.17M]
  ------------------
 9053|      6|#line 2220 "MachineIndependent/glslang.y"
 9054|      6|                {
 9055|      6|        parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9056|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9057|      6|        (yyval.interm.type).basicType = EbtFloatE2M3;
 9058|      6|        (yyval.interm.type).setVector(4);
 9059|      6|    }
 9060|      6|#line 9061 "MachineIndependent/glslang_tab.cpp"
 9061|      6|    break;
 9062|       |
 9063|      8|  case 302: /* type_specifier_nonarray: FUE8M0VEC2  */
  ------------------
  |  Branch (9063:3): [True: 8, False: 1.17M]
  ------------------
 9064|      8|#line 2226 "MachineIndependent/glslang.y"
 9065|      8|                 {
 9066|      8|        parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 9067|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 9068|      8|        (yyval.interm.type).basicType = EbtFloatUE8M0;
 9069|      8|        (yyval.interm.type).setVector(2);
 9070|      8|    }
 9071|      8|#line 9072 "MachineIndependent/glslang_tab.cpp"
 9072|      8|    break;
 9073|       |
 9074|      8|  case 303: /* type_specifier_nonarray: FUE8M0VEC3  */
  ------------------
  |  Branch (9074:3): [True: 8, False: 1.17M]
  ------------------
 9075|      8|#line 2232 "MachineIndependent/glslang.y"
 9076|      8|                 {
 9077|      8|        parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 9078|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 9079|      8|        (yyval.interm.type).basicType = EbtFloatUE8M0;
 9080|      8|        (yyval.interm.type).setVector(3);
 9081|      8|    }
 9082|      8|#line 9083 "MachineIndependent/glslang_tab.cpp"
 9083|      8|    break;
 9084|       |
 9085|      8|  case 304: /* type_specifier_nonarray: FUE8M0VEC4  */
  ------------------
  |  Branch (9085:3): [True: 8, False: 1.17M]
  ------------------
 9086|      8|#line 2238 "MachineIndependent/glslang.y"
 9087|      8|                 {
 9088|      8|        parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 9089|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 9090|      8|        (yyval.interm.type).basicType = EbtFloatUE8M0;
 9091|      8|        (yyval.interm.type).setVector(4);
 9092|      8|    }
 9093|      8|#line 9094 "MachineIndependent/glslang_tab.cpp"
 9094|      8|    break;
 9095|       |
 9096|      8|  case 305: /* type_specifier_nonarray: FMXINT8VEC2  */
  ------------------
  |  Branch (9096:3): [True: 8, False: 1.17M]
  ------------------
 9097|      8|#line 2244 "MachineIndependent/glslang.y"
 9098|      8|                  {
 9099|      8|        parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 9100|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 9101|      8|        (yyval.interm.type).basicType = EbtFloatMXINT8;
 9102|      8|        (yyval.interm.type).setVector(2);
 9103|      8|    }
 9104|      8|#line 9105 "MachineIndependent/glslang_tab.cpp"
 9105|      8|    break;
 9106|       |
 9107|      8|  case 306: /* type_specifier_nonarray: FMXINT8VEC3  */
  ------------------
  |  Branch (9107:3): [True: 8, False: 1.17M]
  ------------------
 9108|      8|#line 2250 "MachineIndependent/glslang.y"
 9109|      8|                  {
 9110|      8|        parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 9111|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 9112|      8|        (yyval.interm.type).basicType = EbtFloatMXINT8;
 9113|      8|        (yyval.interm.type).setVector(3);
 9114|      8|    }
 9115|      8|#line 9116 "MachineIndependent/glslang_tab.cpp"
 9116|      8|    break;
 9117|       |
 9118|      8|  case 307: /* type_specifier_nonarray: FMXINT8VEC4  */
  ------------------
  |  Branch (9118:3): [True: 8, False: 1.17M]
  ------------------
 9119|      8|#line 2256 "MachineIndependent/glslang.y"
 9120|      8|                  {
 9121|      8|        parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 9122|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 9123|      8|        (yyval.interm.type).basicType = EbtFloatMXINT8;
 9124|      8|        (yyval.interm.type).setVector(4);
 9125|      8|    }
 9126|      8|#line 9127 "MachineIndependent/glslang_tab.cpp"
 9127|      8|    break;
 9128|       |
 9129|  1.99k|  case 308: /* type_specifier_nonarray: F16VEC2  */
  ------------------
  |  Branch (9129:3): [True: 1.99k, False: 1.17M]
  ------------------
 9130|  1.99k|#line 2262 "MachineIndependent/glslang.y"
 9131|  1.99k|              {
 9132|  1.99k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.99k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.99k|#define parseContext (*pParseContext)
  ------------------
 9133|  1.99k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.99k|#define parseContext (*pParseContext)
  ------------------
 9134|  1.99k|        (yyval.interm.type).basicType = EbtFloat16;
 9135|  1.99k|        (yyval.interm.type).setVector(2);
 9136|  1.99k|    }
 9137|  1.99k|#line 9138 "MachineIndependent/glslang_tab.cpp"
 9138|  1.99k|    break;
 9139|       |
 9140|  1.40k|  case 309: /* type_specifier_nonarray: F16VEC3  */
  ------------------
  |  Branch (9140:3): [True: 1.40k, False: 1.17M]
  ------------------
 9141|  1.40k|#line 2268 "MachineIndependent/glslang.y"
 9142|  1.40k|              {
 9143|  1.40k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.40k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.40k|#define parseContext (*pParseContext)
  ------------------
 9144|  1.40k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.40k|#define parseContext (*pParseContext)
  ------------------
 9145|  1.40k|        (yyval.interm.type).basicType = EbtFloat16;
 9146|  1.40k|        (yyval.interm.type).setVector(3);
 9147|  1.40k|    }
 9148|  1.40k|#line 9149 "MachineIndependent/glslang_tab.cpp"
 9149|  1.40k|    break;
 9150|       |
 9151|  3.44k|  case 310: /* type_specifier_nonarray: F16VEC4  */
  ------------------
  |  Branch (9151:3): [True: 3.44k, False: 1.17M]
  ------------------
 9152|  3.44k|#line 2274 "MachineIndependent/glslang.y"
 9153|  3.44k|              {
 9154|  3.44k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  3.44k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  3.44k|#define parseContext (*pParseContext)
  ------------------
 9155|  3.44k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  3.44k|#define parseContext (*pParseContext)
  ------------------
 9156|  3.44k|        (yyval.interm.type).basicType = EbtFloat16;
 9157|  3.44k|        (yyval.interm.type).setVector(4);
 9158|  3.44k|    }
 9159|  3.44k|#line 9160 "MachineIndependent/glslang_tab.cpp"
 9160|  3.44k|    break;
 9161|       |
 9162|      8|  case 311: /* type_specifier_nonarray: F32VEC2  */
  ------------------
  |  Branch (9162:3): [True: 8, False: 1.17M]
  ------------------
 9163|      8|#line 2280 "MachineIndependent/glslang.y"
 9164|      8|              {
 9165|      8|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 9166|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 9167|      8|        (yyval.interm.type).basicType = EbtFloat;
 9168|      8|        (yyval.interm.type).setVector(2);
 9169|      8|    }
 9170|      8|#line 9171 "MachineIndependent/glslang_tab.cpp"
 9171|      8|    break;
 9172|       |
 9173|      8|  case 312: /* type_specifier_nonarray: F32VEC3  */
  ------------------
  |  Branch (9173:3): [True: 8, False: 1.17M]
  ------------------
 9174|      8|#line 2286 "MachineIndependent/glslang.y"
 9175|      8|              {
 9176|      8|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 9177|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 9178|      8|        (yyval.interm.type).basicType = EbtFloat;
 9179|      8|        (yyval.interm.type).setVector(3);
 9180|      8|    }
 9181|      8|#line 9182 "MachineIndependent/glslang_tab.cpp"
 9182|      8|    break;
 9183|       |
 9184|      8|  case 313: /* type_specifier_nonarray: F32VEC4  */
  ------------------
  |  Branch (9184:3): [True: 8, False: 1.17M]
  ------------------
 9185|      8|#line 2292 "MachineIndependent/glslang.y"
 9186|      8|              {
 9187|      8|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 9188|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 9189|      8|        (yyval.interm.type).basicType = EbtFloat;
 9190|      8|        (yyval.interm.type).setVector(4);
 9191|      8|    }
 9192|      8|#line 9193 "MachineIndependent/glslang_tab.cpp"
 9193|      8|    break;
 9194|       |
 9195|    180|  case 314: /* type_specifier_nonarray: F64VEC2  */
  ------------------
  |  Branch (9195:3): [True: 180, False: 1.17M]
  ------------------
 9196|    180|#line 2298 "MachineIndependent/glslang.y"
 9197|    180|              {
 9198|    180|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    180|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    180|#define parseContext (*pParseContext)
  ------------------
 9199|    180|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    180|#define parseContext (*pParseContext)
  ------------------
 9200|    180|        (yyval.interm.type).basicType = EbtDouble;
 9201|    180|        (yyval.interm.type).setVector(2);
 9202|    180|    }
 9203|    180|#line 9204 "MachineIndependent/glslang_tab.cpp"
 9204|    180|    break;
 9205|       |
 9206|    172|  case 315: /* type_specifier_nonarray: F64VEC3  */
  ------------------
  |  Branch (9206:3): [True: 172, False: 1.17M]
  ------------------
 9207|    172|#line 2304 "MachineIndependent/glslang.y"
 9208|    172|              {
 9209|    172|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    172|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    172|#define parseContext (*pParseContext)
  ------------------
 9210|    172|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    172|#define parseContext (*pParseContext)
  ------------------
 9211|    172|        (yyval.interm.type).basicType = EbtDouble;
 9212|    172|        (yyval.interm.type).setVector(3);
 9213|    172|    }
 9214|    172|#line 9215 "MachineIndependent/glslang_tab.cpp"
 9215|    172|    break;
 9216|       |
 9217|    172|  case 316: /* type_specifier_nonarray: F64VEC4  */
  ------------------
  |  Branch (9217:3): [True: 172, False: 1.17M]
  ------------------
 9218|    172|#line 2310 "MachineIndependent/glslang.y"
 9219|    172|              {
 9220|    172|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    172|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    172|#define parseContext (*pParseContext)
  ------------------
 9221|    172|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    172|#define parseContext (*pParseContext)
  ------------------
 9222|    172|        (yyval.interm.type).basicType = EbtDouble;
 9223|    172|        (yyval.interm.type).setVector(4);
 9224|    172|    }
 9225|    172|#line 9226 "MachineIndependent/glslang_tab.cpp"
 9226|    172|    break;
 9227|       |
 9228|    408|  case 317: /* type_specifier_nonarray: I8VEC2  */
  ------------------
  |  Branch (9228:3): [True: 408, False: 1.17M]
  ------------------
 9229|    408|#line 2316 "MachineIndependent/glslang.y"
 9230|    408|             {
 9231|    408|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    408|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    408|#define parseContext (*pParseContext)
  ------------------
 9232|    408|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    408|#define parseContext (*pParseContext)
  ------------------
 9233|    408|        (yyval.interm.type).basicType = EbtInt8;
 9234|    408|        (yyval.interm.type).setVector(2);
 9235|    408|    }
 9236|    408|#line 9237 "MachineIndependent/glslang_tab.cpp"
 9237|    408|    break;
 9238|       |
 9239|    396|  case 318: /* type_specifier_nonarray: I8VEC3  */
  ------------------
  |  Branch (9239:3): [True: 396, False: 1.17M]
  ------------------
 9240|    396|#line 2322 "MachineIndependent/glslang.y"
 9241|    396|             {
 9242|    396|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    396|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    396|#define parseContext (*pParseContext)
  ------------------
 9243|    396|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    396|#define parseContext (*pParseContext)
  ------------------
 9244|    396|        (yyval.interm.type).basicType = EbtInt8;
 9245|    396|        (yyval.interm.type).setVector(3);
 9246|    396|    }
 9247|    396|#line 9248 "MachineIndependent/glslang_tab.cpp"
 9248|    396|    break;
 9249|       |
 9250|    408|  case 319: /* type_specifier_nonarray: I8VEC4  */
  ------------------
  |  Branch (9250:3): [True: 408, False: 1.17M]
  ------------------
 9251|    408|#line 2328 "MachineIndependent/glslang.y"
 9252|    408|             {
 9253|    408|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    408|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    408|#define parseContext (*pParseContext)
  ------------------
 9254|    408|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    408|#define parseContext (*pParseContext)
  ------------------
 9255|    408|        (yyval.interm.type).basicType = EbtInt8;
 9256|    408|        (yyval.interm.type).setVector(4);
 9257|    408|    }
 9258|    408|#line 9259 "MachineIndependent/glslang_tab.cpp"
 9259|    408|    break;
 9260|       |
 9261|    536|  case 320: /* type_specifier_nonarray: I16VEC2  */
  ------------------
  |  Branch (9261:3): [True: 536, False: 1.17M]
  ------------------
 9262|    536|#line 2334 "MachineIndependent/glslang.y"
 9263|    536|              {
 9264|    536|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    536|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    536|#define parseContext (*pParseContext)
  ------------------
 9265|    536|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    536|#define parseContext (*pParseContext)
  ------------------
 9266|    536|        (yyval.interm.type).basicType = EbtInt16;
 9267|    536|        (yyval.interm.type).setVector(2);
 9268|    536|    }
 9269|    536|#line 9270 "MachineIndependent/glslang_tab.cpp"
 9270|    536|    break;
 9271|       |
 9272|    520|  case 321: /* type_specifier_nonarray: I16VEC3  */
  ------------------
  |  Branch (9272:3): [True: 520, False: 1.17M]
  ------------------
 9273|    520|#line 2340 "MachineIndependent/glslang.y"
 9274|    520|              {
 9275|    520|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    520|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    520|#define parseContext (*pParseContext)
  ------------------
 9276|    520|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    520|#define parseContext (*pParseContext)
  ------------------
 9277|    520|        (yyval.interm.type).basicType = EbtInt16;
 9278|    520|        (yyval.interm.type).setVector(3);
 9279|    520|    }
 9280|    520|#line 9281 "MachineIndependent/glslang_tab.cpp"
 9281|    520|    break;
 9282|       |
 9283|    536|  case 322: /* type_specifier_nonarray: I16VEC4  */
  ------------------
  |  Branch (9283:3): [True: 536, False: 1.17M]
  ------------------
 9284|    536|#line 2346 "MachineIndependent/glslang.y"
 9285|    536|              {
 9286|    536|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    536|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    536|#define parseContext (*pParseContext)
  ------------------
 9287|    536|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    536|#define parseContext (*pParseContext)
  ------------------
 9288|    536|        (yyval.interm.type).basicType = EbtInt16;
 9289|    536|        (yyval.interm.type).setVector(4);
 9290|    536|    }
 9291|    536|#line 9292 "MachineIndependent/glslang_tab.cpp"
 9292|    536|    break;
 9293|       |
 9294|     12|  case 323: /* type_specifier_nonarray: I32VEC2  */
  ------------------
  |  Branch (9294:3): [True: 12, False: 1.17M]
  ------------------
 9295|     12|#line 2352 "MachineIndependent/glslang.y"
 9296|     12|              {
 9297|     12|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 9298|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 9299|     12|        (yyval.interm.type).basicType = EbtInt;
 9300|     12|        (yyval.interm.type).setVector(2);
 9301|     12|    }
 9302|     12|#line 9303 "MachineIndependent/glslang_tab.cpp"
 9303|     12|    break;
 9304|       |
 9305|      8|  case 324: /* type_specifier_nonarray: I32VEC3  */
  ------------------
  |  Branch (9305:3): [True: 8, False: 1.17M]
  ------------------
 9306|      8|#line 2358 "MachineIndependent/glslang.y"
 9307|      8|              {
 9308|      8|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 9309|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 9310|      8|        (yyval.interm.type).basicType = EbtInt;
 9311|      8|        (yyval.interm.type).setVector(3);
 9312|      8|    }
 9313|      8|#line 9314 "MachineIndependent/glslang_tab.cpp"
 9314|      8|    break;
 9315|       |
 9316|      8|  case 325: /* type_specifier_nonarray: I32VEC4  */
  ------------------
  |  Branch (9316:3): [True: 8, False: 1.17M]
  ------------------
 9317|      8|#line 2364 "MachineIndependent/glslang.y"
 9318|      8|              {
 9319|      8|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 9320|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 9321|      8|        (yyval.interm.type).basicType = EbtInt;
 9322|      8|        (yyval.interm.type).setVector(4);
 9323|      8|    }
 9324|      8|#line 9325 "MachineIndependent/glslang_tab.cpp"
 9325|      8|    break;
 9326|       |
 9327|    478|  case 326: /* type_specifier_nonarray: I64VEC2  */
  ------------------
  |  Branch (9327:3): [True: 478, False: 1.17M]
  ------------------
 9328|    478|#line 2370 "MachineIndependent/glslang.y"
 9329|    478|              {
 9330|    478|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    478|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    478|#define parseContext (*pParseContext)
  ------------------
 9331|    478|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    478|#define parseContext (*pParseContext)
  ------------------
 9332|    478|        (yyval.interm.type).basicType = EbtInt64;
 9333|    478|        (yyval.interm.type).setVector(2);
 9334|    478|    }
 9335|    478|#line 9336 "MachineIndependent/glslang_tab.cpp"
 9336|    478|    break;
 9337|       |
 9338|    470|  case 327: /* type_specifier_nonarray: I64VEC3  */
  ------------------
  |  Branch (9338:3): [True: 470, False: 1.17M]
  ------------------
 9339|    470|#line 2376 "MachineIndependent/glslang.y"
 9340|    470|              {
 9341|    470|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    470|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    470|#define parseContext (*pParseContext)
  ------------------
 9342|    470|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    470|#define parseContext (*pParseContext)
  ------------------
 9343|    470|        (yyval.interm.type).basicType = EbtInt64;
 9344|    470|        (yyval.interm.type).setVector(3);
 9345|    470|    }
 9346|    470|#line 9347 "MachineIndependent/glslang_tab.cpp"
 9347|    470|    break;
 9348|       |
 9349|    576|  case 328: /* type_specifier_nonarray: I64VEC4  */
  ------------------
  |  Branch (9349:3): [True: 576, False: 1.17M]
  ------------------
 9350|    576|#line 2382 "MachineIndependent/glslang.y"
 9351|    576|              {
 9352|    576|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    576|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    576|#define parseContext (*pParseContext)
  ------------------
 9353|    576|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    576|#define parseContext (*pParseContext)
  ------------------
 9354|    576|        (yyval.interm.type).basicType = EbtInt64;
 9355|    576|        (yyval.interm.type).setVector(4);
 9356|    576|    }
 9357|    576|#line 9358 "MachineIndependent/glslang_tab.cpp"
 9358|    576|    break;
 9359|       |
 9360|    394|  case 329: /* type_specifier_nonarray: U8VEC2  */
  ------------------
  |  Branch (9360:3): [True: 394, False: 1.17M]
  ------------------
 9361|    394|#line 2388 "MachineIndependent/glslang.y"
 9362|    394|             {
 9363|    394|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    394|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    394|#define parseContext (*pParseContext)
  ------------------
 9364|    394|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    394|#define parseContext (*pParseContext)
  ------------------
 9365|    394|        (yyval.interm.type).basicType = EbtUint8;
 9366|    394|        (yyval.interm.type).setVector(2);
 9367|    394|    }
 9368|    394|#line 9369 "MachineIndependent/glslang_tab.cpp"
 9369|    394|    break;
 9370|       |
 9371|    390|  case 330: /* type_specifier_nonarray: U8VEC3  */
  ------------------
  |  Branch (9371:3): [True: 390, False: 1.17M]
  ------------------
 9372|    390|#line 2394 "MachineIndependent/glslang.y"
 9373|    390|             {
 9374|    390|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    390|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    390|#define parseContext (*pParseContext)
  ------------------
 9375|    390|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    390|#define parseContext (*pParseContext)
  ------------------
 9376|    390|        (yyval.interm.type).basicType = EbtUint8;
 9377|    390|        (yyval.interm.type).setVector(3);
 9378|    390|    }
 9379|    390|#line 9380 "MachineIndependent/glslang_tab.cpp"
 9380|    390|    break;
 9381|       |
 9382|    394|  case 331: /* type_specifier_nonarray: U8VEC4  */
  ------------------
  |  Branch (9382:3): [True: 394, False: 1.17M]
  ------------------
 9383|    394|#line 2400 "MachineIndependent/glslang.y"
 9384|    394|             {
 9385|    394|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    394|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    394|#define parseContext (*pParseContext)
  ------------------
 9386|    394|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    394|#define parseContext (*pParseContext)
  ------------------
 9387|    394|        (yyval.interm.type).basicType = EbtUint8;
 9388|    394|        (yyval.interm.type).setVector(4);
 9389|    394|    }
 9390|    394|#line 9391 "MachineIndependent/glslang_tab.cpp"
 9391|    394|    break;
 9392|       |
 9393|    516|  case 332: /* type_specifier_nonarray: U16VEC2  */
  ------------------
  |  Branch (9393:3): [True: 516, False: 1.17M]
  ------------------
 9394|    516|#line 2406 "MachineIndependent/glslang.y"
 9395|    516|              {
 9396|    516|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    516|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    516|#define parseContext (*pParseContext)
  ------------------
 9397|    516|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    516|#define parseContext (*pParseContext)
  ------------------
 9398|    516|        (yyval.interm.type).basicType = EbtUint16;
 9399|    516|        (yyval.interm.type).setVector(2);
 9400|    516|    }
 9401|    516|#line 9402 "MachineIndependent/glslang_tab.cpp"
 9402|    516|    break;
 9403|       |
 9404|    508|  case 333: /* type_specifier_nonarray: U16VEC3  */
  ------------------
  |  Branch (9404:3): [True: 508, False: 1.17M]
  ------------------
 9405|    508|#line 2412 "MachineIndependent/glslang.y"
 9406|    508|              {
 9407|    508|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    508|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    508|#define parseContext (*pParseContext)
  ------------------
 9408|    508|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    508|#define parseContext (*pParseContext)
  ------------------
 9409|    508|        (yyval.interm.type).basicType = EbtUint16;
 9410|    508|        (yyval.interm.type).setVector(3);
 9411|    508|    }
 9412|    508|#line 9413 "MachineIndependent/glslang_tab.cpp"
 9413|    508|    break;
 9414|       |
 9415|    516|  case 334: /* type_specifier_nonarray: U16VEC4  */
  ------------------
  |  Branch (9415:3): [True: 516, False: 1.17M]
  ------------------
 9416|    516|#line 2418 "MachineIndependent/glslang.y"
 9417|    516|              {
 9418|    516|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    516|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    516|#define parseContext (*pParseContext)
  ------------------
 9419|    516|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    516|#define parseContext (*pParseContext)
  ------------------
 9420|    516|        (yyval.interm.type).basicType = EbtUint16;
 9421|    516|        (yyval.interm.type).setVector(4);
 9422|    516|    }
 9423|    516|#line 9424 "MachineIndependent/glslang_tab.cpp"
 9424|    516|    break;
 9425|       |
 9426|     16|  case 335: /* type_specifier_nonarray: U32VEC2  */
  ------------------
  |  Branch (9426:3): [True: 16, False: 1.17M]
  ------------------
 9427|     16|#line 2424 "MachineIndependent/glslang.y"
 9428|     16|              {
 9429|     16|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
 9430|     16|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
 9431|     16|        (yyval.interm.type).basicType = EbtUint;
 9432|     16|        (yyval.interm.type).setVector(2);
 9433|     16|    }
 9434|     16|#line 9435 "MachineIndependent/glslang_tab.cpp"
 9435|     16|    break;
 9436|       |
 9437|     16|  case 336: /* type_specifier_nonarray: U32VEC3  */
  ------------------
  |  Branch (9437:3): [True: 16, False: 1.17M]
  ------------------
 9438|     16|#line 2430 "MachineIndependent/glslang.y"
 9439|     16|              {
 9440|     16|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
 9441|     16|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
 9442|     16|        (yyval.interm.type).basicType = EbtUint;
 9443|     16|        (yyval.interm.type).setVector(3);
 9444|     16|    }
 9445|     16|#line 9446 "MachineIndependent/glslang_tab.cpp"
 9446|     16|    break;
 9447|       |
 9448|      8|  case 337: /* type_specifier_nonarray: U32VEC4  */
  ------------------
  |  Branch (9448:3): [True: 8, False: 1.17M]
  ------------------
 9449|      8|#line 2436 "MachineIndependent/glslang.y"
 9450|      8|              {
 9451|      8|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 9452|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
 9453|      8|        (yyval.interm.type).basicType = EbtUint;
 9454|      8|        (yyval.interm.type).setVector(4);
 9455|      8|    }
 9456|      8|#line 9457 "MachineIndependent/glslang_tab.cpp"
 9457|      8|    break;
 9458|       |
 9459|    462|  case 338: /* type_specifier_nonarray: U64VEC2  */
  ------------------
  |  Branch (9459:3): [True: 462, False: 1.17M]
  ------------------
 9460|    462|#line 2442 "MachineIndependent/glslang.y"
 9461|    462|              {
 9462|    462|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    462|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    462|#define parseContext (*pParseContext)
  ------------------
 9463|    462|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    462|#define parseContext (*pParseContext)
  ------------------
 9464|    462|        (yyval.interm.type).basicType = EbtUint64;
 9465|    462|        (yyval.interm.type).setVector(2);
 9466|    462|    }
 9467|    462|#line 9468 "MachineIndependent/glslang_tab.cpp"
 9468|    462|    break;
 9469|       |
 9470|    454|  case 339: /* type_specifier_nonarray: U64VEC3  */
  ------------------
  |  Branch (9470:3): [True: 454, False: 1.17M]
  ------------------
 9471|    454|#line 2448 "MachineIndependent/glslang.y"
 9472|    454|              {
 9473|    454|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    454|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    454|#define parseContext (*pParseContext)
  ------------------
 9474|    454|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    454|#define parseContext (*pParseContext)
  ------------------
 9475|    454|        (yyval.interm.type).basicType = EbtUint64;
 9476|    454|        (yyval.interm.type).setVector(3);
 9477|    454|    }
 9478|    454|#line 9479 "MachineIndependent/glslang_tab.cpp"
 9479|    454|    break;
 9480|       |
 9481|    560|  case 340: /* type_specifier_nonarray: U64VEC4  */
  ------------------
  |  Branch (9481:3): [True: 560, False: 1.17M]
  ------------------
 9482|    560|#line 2454 "MachineIndependent/glslang.y"
 9483|    560|              {
 9484|    560|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    560|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    560|#define parseContext (*pParseContext)
  ------------------
 9485|    560|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    560|#define parseContext (*pParseContext)
  ------------------
 9486|    560|        (yyval.interm.type).basicType = EbtUint64;
 9487|    560|        (yyval.interm.type).setVector(4);
 9488|    560|    }
 9489|    560|#line 9490 "MachineIndependent/glslang_tab.cpp"
 9490|    560|    break;
 9491|       |
 9492|     18|  case 341: /* type_specifier_nonarray: DMAT2  */
  ------------------
  |  Branch (9492:3): [True: 18, False: 1.17M]
  ------------------
 9493|     18|#line 2460 "MachineIndependent/glslang.y"
 9494|     18|            {
 9495|     18|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
 9496|     18|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9496:13): [True: 0, False: 18]
  ------------------
 9497|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9498|     18|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
 9499|     18|        (yyval.interm.type).basicType = EbtDouble;
 9500|     18|        (yyval.interm.type).setMatrix(2, 2);
 9501|     18|    }
 9502|     18|#line 9503 "MachineIndependent/glslang_tab.cpp"
 9503|     18|    break;
 9504|       |
 9505|     18|  case 342: /* type_specifier_nonarray: DMAT3  */
  ------------------
  |  Branch (9505:3): [True: 18, False: 1.17M]
  ------------------
 9506|     18|#line 2468 "MachineIndependent/glslang.y"
 9507|     18|            {
 9508|     18|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
 9509|     18|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9509:13): [True: 0, False: 18]
  ------------------
 9510|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9511|     18|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
 9512|     18|        (yyval.interm.type).basicType = EbtDouble;
 9513|     18|        (yyval.interm.type).setMatrix(3, 3);
 9514|     18|    }
 9515|     18|#line 9516 "MachineIndependent/glslang_tab.cpp"
 9516|     18|    break;
 9517|       |
 9518|     18|  case 343: /* type_specifier_nonarray: DMAT4  */
  ------------------
  |  Branch (9518:3): [True: 18, False: 1.17M]
  ------------------
 9519|     18|#line 2476 "MachineIndependent/glslang.y"
 9520|     18|            {
 9521|     18|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
 9522|     18|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9522:13): [True: 0, False: 18]
  ------------------
 9523|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9524|     18|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
 9525|     18|        (yyval.interm.type).basicType = EbtDouble;
 9526|     18|        (yyval.interm.type).setMatrix(4, 4);
 9527|     18|    }
 9528|     18|#line 9529 "MachineIndependent/glslang_tab.cpp"
 9529|     18|    break;
 9530|       |
 9531|      0|  case 344: /* type_specifier_nonarray: DMAT2X2  */
  ------------------
  |  Branch (9531:3): [True: 0, False: 1.17M]
  ------------------
 9532|      0|#line 2484 "MachineIndependent/glslang.y"
 9533|      0|              {
 9534|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9535|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9535:13): [True: 0, False: 0]
  ------------------
 9536|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9537|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9538|      0|        (yyval.interm.type).basicType = EbtDouble;
 9539|      0|        (yyval.interm.type).setMatrix(2, 2);
 9540|      0|    }
 9541|      0|#line 9542 "MachineIndependent/glslang_tab.cpp"
 9542|      0|    break;
 9543|       |
 9544|     12|  case 345: /* type_specifier_nonarray: DMAT2X3  */
  ------------------
  |  Branch (9544:3): [True: 12, False: 1.17M]
  ------------------
 9545|     12|#line 2492 "MachineIndependent/glslang.y"
 9546|     12|              {
 9547|     12|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 9548|     12|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9548:13): [True: 0, False: 12]
  ------------------
 9549|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9550|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 9551|     12|        (yyval.interm.type).basicType = EbtDouble;
 9552|     12|        (yyval.interm.type).setMatrix(2, 3);
 9553|     12|    }
 9554|     12|#line 9555 "MachineIndependent/glslang_tab.cpp"
 9555|     12|    break;
 9556|       |
 9557|     12|  case 346: /* type_specifier_nonarray: DMAT2X4  */
  ------------------
  |  Branch (9557:3): [True: 12, False: 1.17M]
  ------------------
 9558|     12|#line 2500 "MachineIndependent/glslang.y"
 9559|     12|              {
 9560|     12|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 9561|     12|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9561:13): [True: 0, False: 12]
  ------------------
 9562|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9563|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 9564|     12|        (yyval.interm.type).basicType = EbtDouble;
 9565|     12|        (yyval.interm.type).setMatrix(2, 4);
 9566|     12|    }
 9567|     12|#line 9568 "MachineIndependent/glslang_tab.cpp"
 9568|     12|    break;
 9569|       |
 9570|     12|  case 347: /* type_specifier_nonarray: DMAT3X2  */
  ------------------
  |  Branch (9570:3): [True: 12, False: 1.17M]
  ------------------
 9571|     12|#line 2508 "MachineIndependent/glslang.y"
 9572|     12|              {
 9573|     12|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 9574|     12|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9574:13): [True: 0, False: 12]
  ------------------
 9575|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9576|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 9577|     12|        (yyval.interm.type).basicType = EbtDouble;
 9578|     12|        (yyval.interm.type).setMatrix(3, 2);
 9579|     12|    }
 9580|     12|#line 9581 "MachineIndependent/glslang_tab.cpp"
 9581|     12|    break;
 9582|       |
 9583|      0|  case 348: /* type_specifier_nonarray: DMAT3X3  */
  ------------------
  |  Branch (9583:3): [True: 0, False: 1.17M]
  ------------------
 9584|      0|#line 2516 "MachineIndependent/glslang.y"
 9585|      0|              {
 9586|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9587|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9587:13): [True: 0, False: 0]
  ------------------
 9588|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9589|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9590|      0|        (yyval.interm.type).basicType = EbtDouble;
 9591|      0|        (yyval.interm.type).setMatrix(3, 3);
 9592|      0|    }
 9593|      0|#line 9594 "MachineIndependent/glslang_tab.cpp"
 9594|      0|    break;
 9595|       |
 9596|     12|  case 349: /* type_specifier_nonarray: DMAT3X4  */
  ------------------
  |  Branch (9596:3): [True: 12, False: 1.17M]
  ------------------
 9597|     12|#line 2524 "MachineIndependent/glslang.y"
 9598|     12|              {
 9599|     12|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 9600|     12|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9600:13): [True: 0, False: 12]
  ------------------
 9601|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9602|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 9603|     12|        (yyval.interm.type).basicType = EbtDouble;
 9604|     12|        (yyval.interm.type).setMatrix(3, 4);
 9605|     12|    }
 9606|     12|#line 9607 "MachineIndependent/glslang_tab.cpp"
 9607|     12|    break;
 9608|       |
 9609|     12|  case 350: /* type_specifier_nonarray: DMAT4X2  */
  ------------------
  |  Branch (9609:3): [True: 12, False: 1.17M]
  ------------------
 9610|     12|#line 2532 "MachineIndependent/glslang.y"
 9611|     12|              {
 9612|     12|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 9613|     12|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9613:13): [True: 0, False: 12]
  ------------------
 9614|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9615|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 9616|     12|        (yyval.interm.type).basicType = EbtDouble;
 9617|     12|        (yyval.interm.type).setMatrix(4, 2);
 9618|     12|    }
 9619|     12|#line 9620 "MachineIndependent/glslang_tab.cpp"
 9620|     12|    break;
 9621|       |
 9622|     12|  case 351: /* type_specifier_nonarray: DMAT4X3  */
  ------------------
  |  Branch (9622:3): [True: 12, False: 1.17M]
  ------------------
 9623|     12|#line 2540 "MachineIndependent/glslang.y"
 9624|     12|              {
 9625|     12|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 9626|     12|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9626:13): [True: 0, False: 12]
  ------------------
 9627|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9628|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 9629|     12|        (yyval.interm.type).basicType = EbtDouble;
 9630|     12|        (yyval.interm.type).setMatrix(4, 3);
 9631|     12|    }
 9632|     12|#line 9633 "MachineIndependent/glslang_tab.cpp"
 9633|     12|    break;
 9634|       |
 9635|      0|  case 352: /* type_specifier_nonarray: DMAT4X4  */
  ------------------
  |  Branch (9635:3): [True: 0, False: 1.17M]
  ------------------
 9636|      0|#line 2548 "MachineIndependent/glslang.y"
 9637|      0|              {
 9638|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9639|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9639:13): [True: 0, False: 0]
  ------------------
 9640|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9641|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9642|      0|        (yyval.interm.type).basicType = EbtDouble;
 9643|      0|        (yyval.interm.type).setMatrix(4, 4);
 9644|      0|    }
 9645|      0|#line 9646 "MachineIndependent/glslang_tab.cpp"
 9646|      0|    break;
 9647|       |
 9648|     18|  case 353: /* type_specifier_nonarray: F16MAT2  */
  ------------------
  |  Branch (9648:3): [True: 18, False: 1.17M]
  ------------------
 9649|     18|#line 2556 "MachineIndependent/glslang.y"
 9650|     18|              {
 9651|     18|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
 9652|     18|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
 9653|     18|        (yyval.interm.type).basicType = EbtFloat16;
 9654|     18|        (yyval.interm.type).setMatrix(2, 2);
 9655|     18|    }
 9656|     18|#line 9657 "MachineIndependent/glslang_tab.cpp"
 9657|     18|    break;
 9658|       |
 9659|     18|  case 354: /* type_specifier_nonarray: F16MAT3  */
  ------------------
  |  Branch (9659:3): [True: 18, False: 1.17M]
  ------------------
 9660|     18|#line 2562 "MachineIndependent/glslang.y"
 9661|     18|              {
 9662|     18|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
 9663|     18|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
 9664|     18|        (yyval.interm.type).basicType = EbtFloat16;
 9665|     18|        (yyval.interm.type).setMatrix(3, 3);
 9666|     18|    }
 9667|     18|#line 9668 "MachineIndependent/glslang_tab.cpp"
 9668|     18|    break;
 9669|       |
 9670|     18|  case 355: /* type_specifier_nonarray: F16MAT4  */
  ------------------
  |  Branch (9670:3): [True: 18, False: 1.17M]
  ------------------
 9671|     18|#line 2568 "MachineIndependent/glslang.y"
 9672|     18|              {
 9673|     18|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
 9674|     18|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
 9675|     18|        (yyval.interm.type).basicType = EbtFloat16;
 9676|     18|        (yyval.interm.type).setMatrix(4, 4);
 9677|     18|    }
 9678|     18|#line 9679 "MachineIndependent/glslang_tab.cpp"
 9679|     18|    break;
 9680|       |
 9681|      0|  case 356: /* type_specifier_nonarray: F16MAT2X2  */
  ------------------
  |  Branch (9681:3): [True: 0, False: 1.17M]
  ------------------
 9682|      0|#line 2574 "MachineIndependent/glslang.y"
 9683|      0|                {
 9684|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9685|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9686|      0|        (yyval.interm.type).basicType = EbtFloat16;
 9687|      0|        (yyval.interm.type).setMatrix(2, 2);
 9688|      0|    }
 9689|      0|#line 9690 "MachineIndependent/glslang_tab.cpp"
 9690|      0|    break;
 9691|       |
 9692|     12|  case 357: /* type_specifier_nonarray: F16MAT2X3  */
  ------------------
  |  Branch (9692:3): [True: 12, False: 1.17M]
  ------------------
 9693|     12|#line 2580 "MachineIndependent/glslang.y"
 9694|     12|                {
 9695|     12|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 9696|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 9697|     12|        (yyval.interm.type).basicType = EbtFloat16;
 9698|     12|        (yyval.interm.type).setMatrix(2, 3);
 9699|     12|    }
 9700|     12|#line 9701 "MachineIndependent/glslang_tab.cpp"
 9701|     12|    break;
 9702|       |
 9703|     12|  case 358: /* type_specifier_nonarray: F16MAT2X4  */
  ------------------
  |  Branch (9703:3): [True: 12, False: 1.17M]
  ------------------
 9704|     12|#line 2586 "MachineIndependent/glslang.y"
 9705|     12|                {
 9706|     12|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 9707|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 9708|     12|        (yyval.interm.type).basicType = EbtFloat16;
 9709|     12|        (yyval.interm.type).setMatrix(2, 4);
 9710|     12|    }
 9711|     12|#line 9712 "MachineIndependent/glslang_tab.cpp"
 9712|     12|    break;
 9713|       |
 9714|     12|  case 359: /* type_specifier_nonarray: F16MAT3X2  */
  ------------------
  |  Branch (9714:3): [True: 12, False: 1.17M]
  ------------------
 9715|     12|#line 2592 "MachineIndependent/glslang.y"
 9716|     12|                {
 9717|     12|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 9718|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 9719|     12|        (yyval.interm.type).basicType = EbtFloat16;
 9720|     12|        (yyval.interm.type).setMatrix(3, 2);
 9721|     12|    }
 9722|     12|#line 9723 "MachineIndependent/glslang_tab.cpp"
 9723|     12|    break;
 9724|       |
 9725|      0|  case 360: /* type_specifier_nonarray: F16MAT3X3  */
  ------------------
  |  Branch (9725:3): [True: 0, False: 1.17M]
  ------------------
 9726|      0|#line 2598 "MachineIndependent/glslang.y"
 9727|      0|                {
 9728|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9729|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9730|      0|        (yyval.interm.type).basicType = EbtFloat16;
 9731|      0|        (yyval.interm.type).setMatrix(3, 3);
 9732|      0|    }
 9733|      0|#line 9734 "MachineIndependent/glslang_tab.cpp"
 9734|      0|    break;
 9735|       |
 9736|     12|  case 361: /* type_specifier_nonarray: F16MAT3X4  */
  ------------------
  |  Branch (9736:3): [True: 12, False: 1.17M]
  ------------------
 9737|     12|#line 2604 "MachineIndependent/glslang.y"
 9738|     12|                {
 9739|     12|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 9740|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 9741|     12|        (yyval.interm.type).basicType = EbtFloat16;
 9742|     12|        (yyval.interm.type).setMatrix(3, 4);
 9743|     12|    }
 9744|     12|#line 9745 "MachineIndependent/glslang_tab.cpp"
 9745|     12|    break;
 9746|       |
 9747|     12|  case 362: /* type_specifier_nonarray: F16MAT4X2  */
  ------------------
  |  Branch (9747:3): [True: 12, False: 1.17M]
  ------------------
 9748|     12|#line 2610 "MachineIndependent/glslang.y"
 9749|     12|                {
 9750|     12|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 9751|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 9752|     12|        (yyval.interm.type).basicType = EbtFloat16;
 9753|     12|        (yyval.interm.type).setMatrix(4, 2);
 9754|     12|    }
 9755|     12|#line 9756 "MachineIndependent/glslang_tab.cpp"
 9756|     12|    break;
 9757|       |
 9758|     12|  case 363: /* type_specifier_nonarray: F16MAT4X3  */
  ------------------
  |  Branch (9758:3): [True: 12, False: 1.17M]
  ------------------
 9759|     12|#line 2616 "MachineIndependent/glslang.y"
 9760|     12|                {
 9761|     12|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 9762|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
 9763|     12|        (yyval.interm.type).basicType = EbtFloat16;
 9764|     12|        (yyval.interm.type).setMatrix(4, 3);
 9765|     12|    }
 9766|     12|#line 9767 "MachineIndependent/glslang_tab.cpp"
 9767|     12|    break;
 9768|       |
 9769|      0|  case 364: /* type_specifier_nonarray: F16MAT4X4  */
  ------------------
  |  Branch (9769:3): [True: 0, False: 1.17M]
  ------------------
 9770|      0|#line 2622 "MachineIndependent/glslang.y"
 9771|      0|                {
 9772|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9773|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9774|      0|        (yyval.interm.type).basicType = EbtFloat16;
 9775|      0|        (yyval.interm.type).setMatrix(4, 4);
 9776|      0|    }
 9777|      0|#line 9778 "MachineIndependent/glslang_tab.cpp"
 9778|      0|    break;
 9779|       |
 9780|      0|  case 365: /* type_specifier_nonarray: F32MAT2  */
  ------------------
  |  Branch (9780:3): [True: 0, False: 1.17M]
  ------------------
 9781|      0|#line 2628 "MachineIndependent/glslang.y"
 9782|      0|              {
 9783|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9784|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9785|      0|        (yyval.interm.type).basicType = EbtFloat;
 9786|      0|        (yyval.interm.type).setMatrix(2, 2);
 9787|      0|    }
 9788|      0|#line 9789 "MachineIndependent/glslang_tab.cpp"
 9789|      0|    break;
 9790|       |
 9791|      0|  case 366: /* type_specifier_nonarray: F32MAT3  */
  ------------------
  |  Branch (9791:3): [True: 0, False: 1.17M]
  ------------------
 9792|      0|#line 2634 "MachineIndependent/glslang.y"
 9793|      0|              {
 9794|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9795|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9796|      0|        (yyval.interm.type).basicType = EbtFloat;
 9797|      0|        (yyval.interm.type).setMatrix(3, 3);
 9798|      0|    }
 9799|      0|#line 9800 "MachineIndependent/glslang_tab.cpp"
 9800|      0|    break;
 9801|       |
 9802|      0|  case 367: /* type_specifier_nonarray: F32MAT4  */
  ------------------
  |  Branch (9802:3): [True: 0, False: 1.17M]
  ------------------
 9803|      0|#line 2640 "MachineIndependent/glslang.y"
 9804|      0|              {
 9805|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9806|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9807|      0|        (yyval.interm.type).basicType = EbtFloat;
 9808|      0|        (yyval.interm.type).setMatrix(4, 4);
 9809|      0|    }
 9810|      0|#line 9811 "MachineIndependent/glslang_tab.cpp"
 9811|      0|    break;
 9812|       |
 9813|      0|  case 368: /* type_specifier_nonarray: F32MAT2X2  */
  ------------------
  |  Branch (9813:3): [True: 0, False: 1.17M]
  ------------------
 9814|      0|#line 2646 "MachineIndependent/glslang.y"
 9815|      0|                {
 9816|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9817|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9818|      0|        (yyval.interm.type).basicType = EbtFloat;
 9819|      0|        (yyval.interm.type).setMatrix(2, 2);
 9820|      0|    }
 9821|      0|#line 9822 "MachineIndependent/glslang_tab.cpp"
 9822|      0|    break;
 9823|       |
 9824|      0|  case 369: /* type_specifier_nonarray: F32MAT2X3  */
  ------------------
  |  Branch (9824:3): [True: 0, False: 1.17M]
  ------------------
 9825|      0|#line 2652 "MachineIndependent/glslang.y"
 9826|      0|                {
 9827|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9828|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9829|      0|        (yyval.interm.type).basicType = EbtFloat;
 9830|      0|        (yyval.interm.type).setMatrix(2, 3);
 9831|      0|    }
 9832|      0|#line 9833 "MachineIndependent/glslang_tab.cpp"
 9833|      0|    break;
 9834|       |
 9835|      0|  case 370: /* type_specifier_nonarray: F32MAT2X4  */
  ------------------
  |  Branch (9835:3): [True: 0, False: 1.17M]
  ------------------
 9836|      0|#line 2658 "MachineIndependent/glslang.y"
 9837|      0|                {
 9838|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9839|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9840|      0|        (yyval.interm.type).basicType = EbtFloat;
 9841|      0|        (yyval.interm.type).setMatrix(2, 4);
 9842|      0|    }
 9843|      0|#line 9844 "MachineIndependent/glslang_tab.cpp"
 9844|      0|    break;
 9845|       |
 9846|      0|  case 371: /* type_specifier_nonarray: F32MAT3X2  */
  ------------------
  |  Branch (9846:3): [True: 0, False: 1.17M]
  ------------------
 9847|      0|#line 2664 "MachineIndependent/glslang.y"
 9848|      0|                {
 9849|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9850|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9851|      0|        (yyval.interm.type).basicType = EbtFloat;
 9852|      0|        (yyval.interm.type).setMatrix(3, 2);
 9853|      0|    }
 9854|      0|#line 9855 "MachineIndependent/glslang_tab.cpp"
 9855|      0|    break;
 9856|       |
 9857|      0|  case 372: /* type_specifier_nonarray: F32MAT3X3  */
  ------------------
  |  Branch (9857:3): [True: 0, False: 1.17M]
  ------------------
 9858|      0|#line 2670 "MachineIndependent/glslang.y"
 9859|      0|                {
 9860|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9861|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9862|      0|        (yyval.interm.type).basicType = EbtFloat;
 9863|      0|        (yyval.interm.type).setMatrix(3, 3);
 9864|      0|    }
 9865|      0|#line 9866 "MachineIndependent/glslang_tab.cpp"
 9866|      0|    break;
 9867|       |
 9868|      0|  case 373: /* type_specifier_nonarray: F32MAT3X4  */
  ------------------
  |  Branch (9868:3): [True: 0, False: 1.17M]
  ------------------
 9869|      0|#line 2676 "MachineIndependent/glslang.y"
 9870|      0|                {
 9871|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9872|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9873|      0|        (yyval.interm.type).basicType = EbtFloat;
 9874|      0|        (yyval.interm.type).setMatrix(3, 4);
 9875|      0|    }
 9876|      0|#line 9877 "MachineIndependent/glslang_tab.cpp"
 9877|      0|    break;
 9878|       |
 9879|      0|  case 374: /* type_specifier_nonarray: F32MAT4X2  */
  ------------------
  |  Branch (9879:3): [True: 0, False: 1.17M]
  ------------------
 9880|      0|#line 2682 "MachineIndependent/glslang.y"
 9881|      0|                {
 9882|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9883|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9884|      0|        (yyval.interm.type).basicType = EbtFloat;
 9885|      0|        (yyval.interm.type).setMatrix(4, 2);
 9886|      0|    }
 9887|      0|#line 9888 "MachineIndependent/glslang_tab.cpp"
 9888|      0|    break;
 9889|       |
 9890|      0|  case 375: /* type_specifier_nonarray: F32MAT4X3  */
  ------------------
  |  Branch (9890:3): [True: 0, False: 1.17M]
  ------------------
 9891|      0|#line 2688 "MachineIndependent/glslang.y"
 9892|      0|                {
 9893|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9894|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9895|      0|        (yyval.interm.type).basicType = EbtFloat;
 9896|      0|        (yyval.interm.type).setMatrix(4, 3);
 9897|      0|    }
 9898|      0|#line 9899 "MachineIndependent/glslang_tab.cpp"
 9899|      0|    break;
 9900|       |
 9901|      0|  case 376: /* type_specifier_nonarray: F32MAT4X4  */
  ------------------
  |  Branch (9901:3): [True: 0, False: 1.17M]
  ------------------
 9902|      0|#line 2694 "MachineIndependent/glslang.y"
 9903|      0|                {
 9904|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9905|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9906|      0|        (yyval.interm.type).basicType = EbtFloat;
 9907|      0|        (yyval.interm.type).setMatrix(4, 4);
 9908|      0|    }
 9909|      0|#line 9910 "MachineIndependent/glslang_tab.cpp"
 9910|      0|    break;
 9911|       |
 9912|      0|  case 377: /* type_specifier_nonarray: F64MAT2  */
  ------------------
  |  Branch (9912:3): [True: 0, False: 1.17M]
  ------------------
 9913|      0|#line 2700 "MachineIndependent/glslang.y"
 9914|      0|              {
 9915|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9916|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9917|      0|        (yyval.interm.type).basicType = EbtDouble;
 9918|      0|        (yyval.interm.type).setMatrix(2, 2);
 9919|      0|    }
 9920|      0|#line 9921 "MachineIndependent/glslang_tab.cpp"
 9921|      0|    break;
 9922|       |
 9923|      0|  case 378: /* type_specifier_nonarray: F64MAT3  */
  ------------------
  |  Branch (9923:3): [True: 0, False: 1.17M]
  ------------------
 9924|      0|#line 2706 "MachineIndependent/glslang.y"
 9925|      0|              {
 9926|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9927|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9928|      0|        (yyval.interm.type).basicType = EbtDouble;
 9929|      0|        (yyval.interm.type).setMatrix(3, 3);
 9930|      0|    }
 9931|      0|#line 9932 "MachineIndependent/glslang_tab.cpp"
 9932|      0|    break;
 9933|       |
 9934|      0|  case 379: /* type_specifier_nonarray: F64MAT4  */
  ------------------
  |  Branch (9934:3): [True: 0, False: 1.17M]
  ------------------
 9935|      0|#line 2712 "MachineIndependent/glslang.y"
 9936|      0|              {
 9937|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9938|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9939|      0|        (yyval.interm.type).basicType = EbtDouble;
 9940|      0|        (yyval.interm.type).setMatrix(4, 4);
 9941|      0|    }
 9942|      0|#line 9943 "MachineIndependent/glslang_tab.cpp"
 9943|      0|    break;
 9944|       |
 9945|      0|  case 380: /* type_specifier_nonarray: F64MAT2X2  */
  ------------------
  |  Branch (9945:3): [True: 0, False: 1.17M]
  ------------------
 9946|      0|#line 2718 "MachineIndependent/glslang.y"
 9947|      0|                {
 9948|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9949|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9950|      0|        (yyval.interm.type).basicType = EbtDouble;
 9951|      0|        (yyval.interm.type).setMatrix(2, 2);
 9952|      0|    }
 9953|      0|#line 9954 "MachineIndependent/glslang_tab.cpp"
 9954|      0|    break;
 9955|       |
 9956|      0|  case 381: /* type_specifier_nonarray: F64MAT2X3  */
  ------------------
  |  Branch (9956:3): [True: 0, False: 1.17M]
  ------------------
 9957|      0|#line 2724 "MachineIndependent/glslang.y"
 9958|      0|                {
 9959|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9960|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9961|      0|        (yyval.interm.type).basicType = EbtDouble;
 9962|      0|        (yyval.interm.type).setMatrix(2, 3);
 9963|      0|    }
 9964|      0|#line 9965 "MachineIndependent/glslang_tab.cpp"
 9965|      0|    break;
 9966|       |
 9967|      0|  case 382: /* type_specifier_nonarray: F64MAT2X4  */
  ------------------
  |  Branch (9967:3): [True: 0, False: 1.17M]
  ------------------
 9968|      0|#line 2730 "MachineIndependent/glslang.y"
 9969|      0|                {
 9970|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9971|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9972|      0|        (yyval.interm.type).basicType = EbtDouble;
 9973|      0|        (yyval.interm.type).setMatrix(2, 4);
 9974|      0|    }
 9975|      0|#line 9976 "MachineIndependent/glslang_tab.cpp"
 9976|      0|    break;
 9977|       |
 9978|      0|  case 383: /* type_specifier_nonarray: F64MAT3X2  */
  ------------------
  |  Branch (9978:3): [True: 0, False: 1.17M]
  ------------------
 9979|      0|#line 2736 "MachineIndependent/glslang.y"
 9980|      0|                {
 9981|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9982|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9983|      0|        (yyval.interm.type).basicType = EbtDouble;
 9984|      0|        (yyval.interm.type).setMatrix(3, 2);
 9985|      0|    }
 9986|      0|#line 9987 "MachineIndependent/glslang_tab.cpp"
 9987|      0|    break;
 9988|       |
 9989|      0|  case 384: /* type_specifier_nonarray: F64MAT3X3  */
  ------------------
  |  Branch (9989:3): [True: 0, False: 1.17M]
  ------------------
 9990|      0|#line 2742 "MachineIndependent/glslang.y"
 9991|      0|                {
 9992|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9993|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9994|      0|        (yyval.interm.type).basicType = EbtDouble;
 9995|      0|        (yyval.interm.type).setMatrix(3, 3);
 9996|      0|    }
 9997|      0|#line 9998 "MachineIndependent/glslang_tab.cpp"
 9998|      0|    break;
 9999|       |
10000|      0|  case 385: /* type_specifier_nonarray: F64MAT3X4  */
  ------------------
  |  Branch (10000:3): [True: 0, False: 1.17M]
  ------------------
10001|      0|#line 2748 "MachineIndependent/glslang.y"
10002|      0|                {
10003|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10004|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10005|      0|        (yyval.interm.type).basicType = EbtDouble;
10006|      0|        (yyval.interm.type).setMatrix(3, 4);
10007|      0|    }
10008|      0|#line 10009 "MachineIndependent/glslang_tab.cpp"
10009|      0|    break;
10010|       |
10011|      0|  case 386: /* type_specifier_nonarray: F64MAT4X2  */
  ------------------
  |  Branch (10011:3): [True: 0, False: 1.17M]
  ------------------
10012|      0|#line 2754 "MachineIndependent/glslang.y"
10013|      0|                {
10014|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10015|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10016|      0|        (yyval.interm.type).basicType = EbtDouble;
10017|      0|        (yyval.interm.type).setMatrix(4, 2);
10018|      0|    }
10019|      0|#line 10020 "MachineIndependent/glslang_tab.cpp"
10020|      0|    break;
10021|       |
10022|      0|  case 387: /* type_specifier_nonarray: F64MAT4X3  */
  ------------------
  |  Branch (10022:3): [True: 0, False: 1.17M]
  ------------------
10023|      0|#line 2760 "MachineIndependent/glslang.y"
10024|      0|                {
10025|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10026|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10027|      0|        (yyval.interm.type).basicType = EbtDouble;
10028|      0|        (yyval.interm.type).setMatrix(4, 3);
10029|      0|    }
10030|      0|#line 10031 "MachineIndependent/glslang_tab.cpp"
10031|      0|    break;
10032|       |
10033|      0|  case 388: /* type_specifier_nonarray: F64MAT4X4  */
  ------------------
  |  Branch (10033:3): [True: 0, False: 1.17M]
  ------------------
10034|      0|#line 2766 "MachineIndependent/glslang.y"
10035|      0|                {
10036|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10037|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10038|      0|        (yyval.interm.type).basicType = EbtDouble;
10039|      0|        (yyval.interm.type).setMatrix(4, 4);
10040|      0|    }
10041|      0|#line 10042 "MachineIndependent/glslang_tab.cpp"
10042|      0|    break;
10043|       |
10044|      0|  case 389: /* type_specifier_nonarray: ACCSTRUCTNV  */
  ------------------
  |  Branch (10044:3): [True: 0, False: 1.17M]
  ------------------
10045|      0|#line 2772 "MachineIndependent/glslang.y"
10046|      0|                  {
10047|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10048|      0|       (yyval.interm.type).basicType = EbtAccStruct;
10049|      0|    }
10050|      0|#line 10051 "MachineIndependent/glslang_tab.cpp"
10051|      0|    break;
10052|       |
10053|      0|  case 390: /* type_specifier_nonarray: ACCSTRUCTEXT  */
  ------------------
  |  Branch (10053:3): [True: 0, False: 1.17M]
  ------------------
10054|      0|#line 2776 "MachineIndependent/glslang.y"
10055|      0|                   {
10056|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10057|      0|       (yyval.interm.type).basicType = EbtAccStruct;
10058|      0|    }
10059|      0|#line 10060 "MachineIndependent/glslang_tab.cpp"
10060|      0|    break;
10061|       |
10062|      0|  case 391: /* type_specifier_nonarray: RAYQUERYEXT  */
  ------------------
  |  Branch (10062:3): [True: 0, False: 1.17M]
  ------------------
10063|      0|#line 2780 "MachineIndependent/glslang.y"
10064|      0|                  {
10065|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10066|      0|       (yyval.interm.type).basicType = EbtRayQuery;
10067|      0|    }
10068|      0|#line 10069 "MachineIndependent/glslang_tab.cpp"
10069|      0|    break;
10070|       |
10071|     24|  case 392: /* type_specifier_nonarray: ATOMIC_UINT  */
  ------------------
  |  Branch (10071:3): [True: 24, False: 1.17M]
  ------------------
10072|     24|#line 2784 "MachineIndependent/glslang.y"
10073|     24|                  {
10074|     24|        parseContext.vulkanRemoved((yyvsp[0].lex).loc, "atomic counter types");
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
10075|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
10076|     24|        (yyval.interm.type).basicType = EbtAtomicUint;
10077|     24|    }
10078|     24|#line 10079 "MachineIndependent/glslang_tab.cpp"
10079|     24|    break;
10080|       |
10081|    126|  case 393: /* type_specifier_nonarray: SAMPLER1D  */
  ------------------
  |  Branch (10081:3): [True: 126, False: 1.17M]
  ------------------
10082|    126|#line 2789 "MachineIndependent/glslang.y"
10083|    126|                {
10084|    126|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    126|#define parseContext (*pParseContext)
  ------------------
10085|    126|        (yyval.interm.type).basicType = EbtSampler;
10086|    126|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D);
10087|    126|    }
10088|    126|#line 10089 "MachineIndependent/glslang_tab.cpp"
10089|    126|    break;
10090|       |
10091|  1.06k|  case 394: /* type_specifier_nonarray: SAMPLER2D  */
  ------------------
  |  Branch (10091:3): [True: 1.06k, False: 1.17M]
  ------------------
10092|  1.06k|#line 2794 "MachineIndependent/glslang.y"
10093|  1.06k|                {
10094|  1.06k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.06k|#define parseContext (*pParseContext)
  ------------------
10095|  1.06k|        (yyval.interm.type).basicType = EbtSampler;
10096|  1.06k|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D);
10097|  1.06k|    }
10098|  1.06k|#line 10099 "MachineIndependent/glslang_tab.cpp"
10099|  1.06k|    break;
10100|       |
10101|    428|  case 395: /* type_specifier_nonarray: SAMPLER3D  */
  ------------------
  |  Branch (10101:3): [True: 428, False: 1.17M]
  ------------------
10102|    428|#line 2799 "MachineIndependent/glslang.y"
10103|    428|                {
10104|    428|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    428|#define parseContext (*pParseContext)
  ------------------
10105|    428|        (yyval.interm.type).basicType = EbtSampler;
10106|    428|        (yyval.interm.type).sampler.set(EbtFloat, Esd3D);
10107|    428|    }
10108|    428|#line 10109 "MachineIndependent/glslang_tab.cpp"
10109|    428|    break;
10110|       |
10111|    332|  case 396: /* type_specifier_nonarray: SAMPLERCUBE  */
  ------------------
  |  Branch (10111:3): [True: 332, False: 1.17M]
  ------------------
10112|    332|#line 2804 "MachineIndependent/glslang.y"
10113|    332|                  {
10114|    332|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    332|#define parseContext (*pParseContext)
  ------------------
10115|    332|        (yyval.interm.type).basicType = EbtSampler;
10116|    332|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube);
10117|    332|    }
10118|    332|#line 10119 "MachineIndependent/glslang_tab.cpp"
10119|    332|    break;
10120|       |
10121|    272|  case 397: /* type_specifier_nonarray: SAMPLER2DSHADOW  */
  ------------------
  |  Branch (10121:3): [True: 272, False: 1.17M]
  ------------------
10122|    272|#line 2809 "MachineIndependent/glslang.y"
10123|    272|                      {
10124|    272|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    272|#define parseContext (*pParseContext)
  ------------------
10125|    272|        (yyval.interm.type).basicType = EbtSampler;
10126|    272|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, false, true);
10127|    272|    }
10128|    272|#line 10129 "MachineIndependent/glslang_tab.cpp"
10129|    272|    break;
10130|       |
10131|     62|  case 398: /* type_specifier_nonarray: SAMPLERCUBESHADOW  */
  ------------------
  |  Branch (10131:3): [True: 62, False: 1.17M]
  ------------------
10132|     62|#line 2814 "MachineIndependent/glslang.y"
10133|     62|                        {
10134|     62|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     62|#define parseContext (*pParseContext)
  ------------------
10135|     62|        (yyval.interm.type).basicType = EbtSampler;
10136|     62|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube, false, true);
10137|     62|    }
10138|     62|#line 10139 "MachineIndependent/glslang_tab.cpp"
10139|     62|    break;
10140|       |
10141|    246|  case 399: /* type_specifier_nonarray: SAMPLER2DARRAY  */
  ------------------
  |  Branch (10141:3): [True: 246, False: 1.17M]
  ------------------
10142|    246|#line 2819 "MachineIndependent/glslang.y"
10143|    246|                     {
10144|    246|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    246|#define parseContext (*pParseContext)
  ------------------
10145|    246|        (yyval.interm.type).basicType = EbtSampler;
10146|    246|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, true);
10147|    246|    }
10148|    246|#line 10149 "MachineIndependent/glslang_tab.cpp"
10149|    246|    break;
10150|       |
10151|     80|  case 400: /* type_specifier_nonarray: SAMPLER2DARRAYSHADOW  */
  ------------------
  |  Branch (10151:3): [True: 80, False: 1.17M]
  ------------------
10152|     80|#line 2824 "MachineIndependent/glslang.y"
10153|     80|                           {
10154|     80|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     80|#define parseContext (*pParseContext)
  ------------------
10155|     80|        (yyval.interm.type).basicType = EbtSampler;
10156|     80|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, true, true);
10157|     80|    }
10158|     80|#line 10159 "MachineIndependent/glslang_tab.cpp"
10159|     80|    break;
10160|       |
10161|     84|  case 401: /* type_specifier_nonarray: SAMPLER1DSHADOW  */
  ------------------
  |  Branch (10161:3): [True: 84, False: 1.17M]
  ------------------
10162|     84|#line 2829 "MachineIndependent/glslang.y"
10163|     84|                      {
10164|     84|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     84|#define parseContext (*pParseContext)
  ------------------
10165|     84|        (yyval.interm.type).basicType = EbtSampler;
10166|     84|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D, false, true);
10167|     84|    }
10168|     84|#line 10169 "MachineIndependent/glslang_tab.cpp"
10169|     84|    break;
10170|       |
10171|     70|  case 402: /* type_specifier_nonarray: SAMPLER1DARRAY  */
  ------------------
  |  Branch (10171:3): [True: 70, False: 1.17M]
  ------------------
10172|     70|#line 2834 "MachineIndependent/glslang.y"
10173|     70|                     {
10174|     70|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     70|#define parseContext (*pParseContext)
  ------------------
10175|     70|        (yyval.interm.type).basicType = EbtSampler;
10176|     70|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D, true);
10177|     70|    }
10178|     70|#line 10179 "MachineIndependent/glslang_tab.cpp"
10179|     70|    break;
10180|       |
10181|     60|  case 403: /* type_specifier_nonarray: SAMPLER1DARRAYSHADOW  */
  ------------------
  |  Branch (10181:3): [True: 60, False: 1.17M]
  ------------------
10182|     60|#line 2839 "MachineIndependent/glslang.y"
10183|     60|                           {
10184|     60|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
10185|     60|        (yyval.interm.type).basicType = EbtSampler;
10186|     60|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D, true, true);
10187|     60|    }
10188|     60|#line 10189 "MachineIndependent/glslang_tab.cpp"
10189|     60|    break;
10190|       |
10191|     92|  case 404: /* type_specifier_nonarray: SAMPLERCUBEARRAY  */
  ------------------
  |  Branch (10191:3): [True: 92, False: 1.17M]
  ------------------
10192|     92|#line 2844 "MachineIndependent/glslang.y"
10193|     92|                       {
10194|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     92|#define parseContext (*pParseContext)
  ------------------
10195|     92|        (yyval.interm.type).basicType = EbtSampler;
10196|     92|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube, true);
10197|     92|    }
10198|     92|#line 10199 "MachineIndependent/glslang_tab.cpp"
10199|     92|    break;
10200|       |
10201|     48|  case 405: /* type_specifier_nonarray: SAMPLERCUBEARRAYSHADOW  */
  ------------------
  |  Branch (10201:3): [True: 48, False: 1.17M]
  ------------------
10202|     48|#line 2849 "MachineIndependent/glslang.y"
10203|     48|                             {
10204|     48|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     48|#define parseContext (*pParseContext)
  ------------------
10205|     48|        (yyval.interm.type).basicType = EbtSampler;
10206|     48|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube, true, true);
10207|     48|    }
10208|     48|#line 10209 "MachineIndependent/glslang_tab.cpp"
10209|     48|    break;
10210|       |
10211|    224|  case 406: /* type_specifier_nonarray: F16SAMPLER1D  */
  ------------------
  |  Branch (10211:3): [True: 224, False: 1.17M]
  ------------------
10212|    224|#line 2854 "MachineIndependent/glslang.y"
10213|    224|                   {
10214|    224|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    224|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    224|#define parseContext (*pParseContext)
  ------------------
10215|    224|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    224|#define parseContext (*pParseContext)
  ------------------
10216|    224|        (yyval.interm.type).basicType = EbtSampler;
10217|    224|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D);
10218|    224|    }
10219|    224|#line 10220 "MachineIndependent/glslang_tab.cpp"
10220|    224|    break;
10221|       |
10222|    512|  case 407: /* type_specifier_nonarray: F16SAMPLER2D  */
  ------------------
  |  Branch (10222:3): [True: 512, False: 1.17M]
  ------------------
10223|    512|#line 2860 "MachineIndependent/glslang.y"
10224|    512|                   {
10225|    512|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    512|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    512|#define parseContext (*pParseContext)
  ------------------
10226|    512|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    512|#define parseContext (*pParseContext)
  ------------------
10227|    512|        (yyval.interm.type).basicType = EbtSampler;
10228|    512|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D);
10229|    512|    }
10230|    512|#line 10231 "MachineIndependent/glslang_tab.cpp"
10231|    512|    break;
10232|       |
10233|    268|  case 408: /* type_specifier_nonarray: F16SAMPLER3D  */
  ------------------
  |  Branch (10233:3): [True: 268, False: 1.17M]
  ------------------
10234|    268|#line 2866 "MachineIndependent/glslang.y"
10235|    268|                   {
10236|    268|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    268|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    268|#define parseContext (*pParseContext)
  ------------------
10237|    268|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    268|#define parseContext (*pParseContext)
  ------------------
10238|    268|        (yyval.interm.type).basicType = EbtSampler;
10239|    268|        (yyval.interm.type).sampler.set(EbtFloat16, Esd3D);
10240|    268|    }
10241|    268|#line 10242 "MachineIndependent/glslang_tab.cpp"
10242|    268|    break;
10243|       |
10244|    168|  case 409: /* type_specifier_nonarray: F16SAMPLERCUBE  */
  ------------------
  |  Branch (10244:3): [True: 168, False: 1.17M]
  ------------------
10245|    168|#line 2872 "MachineIndependent/glslang.y"
10246|    168|                     {
10247|    168|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    168|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    168|#define parseContext (*pParseContext)
  ------------------
10248|    168|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    168|#define parseContext (*pParseContext)
  ------------------
10249|    168|        (yyval.interm.type).basicType = EbtSampler;
10250|    168|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube);
10251|    168|    }
10252|    168|#line 10253 "MachineIndependent/glslang_tab.cpp"
10253|    168|    break;
10254|       |
10255|    144|  case 410: /* type_specifier_nonarray: F16SAMPLER1DSHADOW  */
  ------------------
  |  Branch (10255:3): [True: 144, False: 1.17M]
  ------------------
10256|    144|#line 2878 "MachineIndependent/glslang.y"
10257|    144|                         {
10258|    144|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    144|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    144|#define parseContext (*pParseContext)
  ------------------
10259|    144|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    144|#define parseContext (*pParseContext)
  ------------------
10260|    144|        (yyval.interm.type).basicType = EbtSampler;
10261|    144|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D, false, true);
10262|    144|    }
10263|    144|#line 10264 "MachineIndependent/glslang_tab.cpp"
10264|    144|    break;
10265|       |
10266|    248|  case 411: /* type_specifier_nonarray: F16SAMPLER2DSHADOW  */
  ------------------
  |  Branch (10266:3): [True: 248, False: 1.17M]
  ------------------
10267|    248|#line 2884 "MachineIndependent/glslang.y"
10268|    248|                         {
10269|    248|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    248|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    248|#define parseContext (*pParseContext)
  ------------------
10270|    248|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    248|#define parseContext (*pParseContext)
  ------------------
10271|    248|        (yyval.interm.type).basicType = EbtSampler;
10272|    248|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, false, true);
10273|    248|    }
10274|    248|#line 10275 "MachineIndependent/glslang_tab.cpp"
10275|    248|    break;
10276|       |
10277|    104|  case 412: /* type_specifier_nonarray: F16SAMPLERCUBESHADOW  */
  ------------------
  |  Branch (10277:3): [True: 104, False: 1.17M]
  ------------------
10278|    104|#line 2890 "MachineIndependent/glslang.y"
10279|    104|                           {
10280|    104|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    104|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    104|#define parseContext (*pParseContext)
  ------------------
10281|    104|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    104|#define parseContext (*pParseContext)
  ------------------
10282|    104|        (yyval.interm.type).basicType = EbtSampler;
10283|    104|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube, false, true);
10284|    104|    }
10285|    104|#line 10286 "MachineIndependent/glslang_tab.cpp"
10286|    104|    break;
10287|       |
10288|    120|  case 413: /* type_specifier_nonarray: F16SAMPLER1DARRAY  */
  ------------------
  |  Branch (10288:3): [True: 120, False: 1.17M]
  ------------------
10289|    120|#line 2896 "MachineIndependent/glslang.y"
10290|    120|                        {
10291|    120|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    120|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    120|#define parseContext (*pParseContext)
  ------------------
10292|    120|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    120|#define parseContext (*pParseContext)
  ------------------
10293|    120|        (yyval.interm.type).basicType = EbtSampler;
10294|    120|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D, true);
10295|    120|    }
10296|    120|#line 10297 "MachineIndependent/glslang_tab.cpp"
10297|    120|    break;
10298|       |
10299|    408|  case 414: /* type_specifier_nonarray: F16SAMPLER2DARRAY  */
  ------------------
  |  Branch (10299:3): [True: 408, False: 1.17M]
  ------------------
10300|    408|#line 2902 "MachineIndependent/glslang.y"
10301|    408|                        {
10302|    408|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    408|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    408|#define parseContext (*pParseContext)
  ------------------
10303|    408|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    408|#define parseContext (*pParseContext)
  ------------------
10304|    408|        (yyval.interm.type).basicType = EbtSampler;
10305|    408|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true);
10306|    408|    }
10307|    408|#line 10308 "MachineIndependent/glslang_tab.cpp"
10308|    408|    break;
10309|       |
10310|    104|  case 415: /* type_specifier_nonarray: F16SAMPLER1DARRAYSHADOW  */
  ------------------
  |  Branch (10310:3): [True: 104, False: 1.17M]
  ------------------
10311|    104|#line 2908 "MachineIndependent/glslang.y"
10312|    104|                              {
10313|    104|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    104|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    104|#define parseContext (*pParseContext)
  ------------------
10314|    104|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    104|#define parseContext (*pParseContext)
  ------------------
10315|    104|        (yyval.interm.type).basicType = EbtSampler;
10316|    104|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D, true, true);
10317|    104|    }
10318|    104|#line 10319 "MachineIndependent/glslang_tab.cpp"
10319|    104|    break;
10320|       |
10321|    128|  case 416: /* type_specifier_nonarray: F16SAMPLER2DARRAYSHADOW  */
  ------------------
  |  Branch (10321:3): [True: 128, False: 1.17M]
  ------------------
10322|    128|#line 2914 "MachineIndependent/glslang.y"
10323|    128|                              {
10324|    128|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    128|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    128|#define parseContext (*pParseContext)
  ------------------
10325|    128|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    128|#define parseContext (*pParseContext)
  ------------------
10326|    128|        (yyval.interm.type).basicType = EbtSampler;
10327|    128|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true, true);
10328|    128|    }
10329|    128|#line 10330 "MachineIndependent/glslang_tab.cpp"
10330|    128|    break;
10331|       |
10332|    168|  case 417: /* type_specifier_nonarray: F16SAMPLERCUBEARRAY  */
  ------------------
  |  Branch (10332:3): [True: 168, False: 1.17M]
  ------------------
10333|    168|#line 2920 "MachineIndependent/glslang.y"
10334|    168|                          {
10335|    168|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    168|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    168|#define parseContext (*pParseContext)
  ------------------
10336|    168|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    168|#define parseContext (*pParseContext)
  ------------------
10337|    168|        (yyval.interm.type).basicType = EbtSampler;
10338|    168|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube, true);
10339|    168|    }
10340|    168|#line 10341 "MachineIndependent/glslang_tab.cpp"
10341|    168|    break;
10342|       |
10343|     72|  case 418: /* type_specifier_nonarray: F16SAMPLERCUBEARRAYSHADOW  */
  ------------------
  |  Branch (10343:3): [True: 72, False: 1.17M]
  ------------------
10344|     72|#line 2926 "MachineIndependent/glslang.y"
10345|     72|                                {
10346|     72|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     72|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     72|#define parseContext (*pParseContext)
  ------------------
10347|     72|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     72|#define parseContext (*pParseContext)
  ------------------
10348|     72|        (yyval.interm.type).basicType = EbtSampler;
10349|     72|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube, true, true);
10350|     72|    }
10351|     72|#line 10352 "MachineIndependent/glslang_tab.cpp"
10352|     72|    break;
10353|       |
10354|    120|  case 419: /* type_specifier_nonarray: ISAMPLER1D  */
  ------------------
  |  Branch (10354:3): [True: 120, False: 1.17M]
  ------------------
10355|    120|#line 2932 "MachineIndependent/glslang.y"
10356|    120|                 {
10357|    120|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    120|#define parseContext (*pParseContext)
  ------------------
10358|    120|        (yyval.interm.type).basicType = EbtSampler;
10359|    120|        (yyval.interm.type).sampler.set(EbtInt, Esd1D);
10360|    120|    }
10361|    120|#line 10362 "MachineIndependent/glslang_tab.cpp"
10362|    120|    break;
10363|       |
10364|    296|  case 420: /* type_specifier_nonarray: ISAMPLER2D  */
  ------------------
  |  Branch (10364:3): [True: 296, False: 1.17M]
  ------------------
10365|    296|#line 2937 "MachineIndependent/glslang.y"
10366|    296|                 {
10367|    296|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    296|#define parseContext (*pParseContext)
  ------------------
10368|    296|        (yyval.interm.type).basicType = EbtSampler;
10369|    296|        (yyval.interm.type).sampler.set(EbtInt, Esd2D);
10370|    296|    }
10371|    296|#line 10372 "MachineIndependent/glslang_tab.cpp"
10372|    296|    break;
10373|       |
10374|    142|  case 421: /* type_specifier_nonarray: ISAMPLER3D  */
  ------------------
  |  Branch (10374:3): [True: 142, False: 1.17M]
  ------------------
10375|    142|#line 2942 "MachineIndependent/glslang.y"
10376|    142|                 {
10377|    142|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    142|#define parseContext (*pParseContext)
  ------------------
10378|    142|        (yyval.interm.type).basicType = EbtSampler;
10379|    142|        (yyval.interm.type).sampler.set(EbtInt, Esd3D);
10380|    142|    }
10381|    142|#line 10382 "MachineIndependent/glslang_tab.cpp"
10382|    142|    break;
10383|       |
10384|     92|  case 422: /* type_specifier_nonarray: ISAMPLERCUBE  */
  ------------------
  |  Branch (10384:3): [True: 92, False: 1.17M]
  ------------------
10385|     92|#line 2947 "MachineIndependent/glslang.y"
10386|     92|                   {
10387|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     92|#define parseContext (*pParseContext)
  ------------------
10388|     92|        (yyval.interm.type).basicType = EbtSampler;
10389|     92|        (yyval.interm.type).sampler.set(EbtInt, EsdCube);
10390|     92|    }
10391|     92|#line 10392 "MachineIndependent/glslang_tab.cpp"
10392|     92|    break;
10393|       |
10394|    244|  case 423: /* type_specifier_nonarray: ISAMPLER2DARRAY  */
  ------------------
  |  Branch (10394:3): [True: 244, False: 1.17M]
  ------------------
10395|    244|#line 2952 "MachineIndependent/glslang.y"
10396|    244|                      {
10397|    244|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    244|#define parseContext (*pParseContext)
  ------------------
10398|    244|        (yyval.interm.type).basicType = EbtSampler;
10399|    244|        (yyval.interm.type).sampler.set(EbtInt, Esd2D, true);
10400|    244|    }
10401|    244|#line 10402 "MachineIndependent/glslang_tab.cpp"
10402|    244|    break;
10403|       |
10404|    296|  case 424: /* type_specifier_nonarray: USAMPLER2D  */
  ------------------
  |  Branch (10404:3): [True: 296, False: 1.17M]
  ------------------
10405|    296|#line 2957 "MachineIndependent/glslang.y"
10406|    296|                 {
10407|    296|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    296|#define parseContext (*pParseContext)
  ------------------
10408|    296|        (yyval.interm.type).basicType = EbtSampler;
10409|    296|        (yyval.interm.type).sampler.set(EbtUint, Esd2D);
10410|    296|    }
10411|    296|#line 10412 "MachineIndependent/glslang_tab.cpp"
10412|    296|    break;
10413|       |
10414|    142|  case 425: /* type_specifier_nonarray: USAMPLER3D  */
  ------------------
  |  Branch (10414:3): [True: 142, False: 1.17M]
  ------------------
10415|    142|#line 2962 "MachineIndependent/glslang.y"
10416|    142|                 {
10417|    142|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    142|#define parseContext (*pParseContext)
  ------------------
10418|    142|        (yyval.interm.type).basicType = EbtSampler;
10419|    142|        (yyval.interm.type).sampler.set(EbtUint, Esd3D);
10420|    142|    }
10421|    142|#line 10422 "MachineIndependent/glslang_tab.cpp"
10422|    142|    break;
10423|       |
10424|     92|  case 426: /* type_specifier_nonarray: USAMPLERCUBE  */
  ------------------
  |  Branch (10424:3): [True: 92, False: 1.17M]
  ------------------
10425|     92|#line 2967 "MachineIndependent/glslang.y"
10426|     92|                   {
10427|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     92|#define parseContext (*pParseContext)
  ------------------
10428|     92|        (yyval.interm.type).basicType = EbtSampler;
10429|     92|        (yyval.interm.type).sampler.set(EbtUint, EsdCube);
10430|     92|    }
10431|     92|#line 10432 "MachineIndependent/glslang_tab.cpp"
10432|     92|    break;
10433|       |
10434|     68|  case 427: /* type_specifier_nonarray: ISAMPLER1DARRAY  */
  ------------------
  |  Branch (10434:3): [True: 68, False: 1.17M]
  ------------------
10435|     68|#line 2972 "MachineIndependent/glslang.y"
10436|     68|                      {
10437|     68|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     68|#define parseContext (*pParseContext)
  ------------------
10438|     68|        (yyval.interm.type).basicType = EbtSampler;
10439|     68|        (yyval.interm.type).sampler.set(EbtInt, Esd1D, true);
10440|     68|    }
10441|     68|#line 10442 "MachineIndependent/glslang_tab.cpp"
10442|     68|    break;
10443|       |
10444|     92|  case 428: /* type_specifier_nonarray: ISAMPLERCUBEARRAY  */
  ------------------
  |  Branch (10444:3): [True: 92, False: 1.17M]
  ------------------
10445|     92|#line 2977 "MachineIndependent/glslang.y"
10446|     92|                        {
10447|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     92|#define parseContext (*pParseContext)
  ------------------
10448|     92|        (yyval.interm.type).basicType = EbtSampler;
10449|     92|        (yyval.interm.type).sampler.set(EbtInt, EsdCube, true);
10450|     92|    }
10451|     92|#line 10452 "MachineIndependent/glslang_tab.cpp"
10452|     92|    break;
10453|       |
10454|    120|  case 429: /* type_specifier_nonarray: USAMPLER1D  */
  ------------------
  |  Branch (10454:3): [True: 120, False: 1.17M]
  ------------------
10455|    120|#line 2982 "MachineIndependent/glslang.y"
10456|    120|                 {
10457|    120|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    120|#define parseContext (*pParseContext)
  ------------------
10458|    120|        (yyval.interm.type).basicType = EbtSampler;
10459|    120|        (yyval.interm.type).sampler.set(EbtUint, Esd1D);
10460|    120|    }
10461|    120|#line 10462 "MachineIndependent/glslang_tab.cpp"
10462|    120|    break;
10463|       |
10464|     68|  case 430: /* type_specifier_nonarray: USAMPLER1DARRAY  */
  ------------------
  |  Branch (10464:3): [True: 68, False: 1.17M]
  ------------------
10465|     68|#line 2987 "MachineIndependent/glslang.y"
10466|     68|                      {
10467|     68|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     68|#define parseContext (*pParseContext)
  ------------------
10468|     68|        (yyval.interm.type).basicType = EbtSampler;
10469|     68|        (yyval.interm.type).sampler.set(EbtUint, Esd1D, true);
10470|     68|    }
10471|     68|#line 10472 "MachineIndependent/glslang_tab.cpp"
10472|     68|    break;
10473|       |
10474|     92|  case 431: /* type_specifier_nonarray: USAMPLERCUBEARRAY  */
  ------------------
  |  Branch (10474:3): [True: 92, False: 1.17M]
  ------------------
10475|     92|#line 2992 "MachineIndependent/glslang.y"
10476|     92|                        {
10477|     92|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     92|#define parseContext (*pParseContext)
  ------------------
10478|     92|        (yyval.interm.type).basicType = EbtSampler;
10479|     92|        (yyval.interm.type).sampler.set(EbtUint, EsdCube, true);
10480|     92|    }
10481|     92|#line 10482 "MachineIndependent/glslang_tab.cpp"
10482|     92|    break;
10483|       |
10484|      0|  case 432: /* type_specifier_nonarray: TEXTURECUBEARRAY  */
  ------------------
  |  Branch (10484:3): [True: 0, False: 1.17M]
  ------------------
10485|      0|#line 2997 "MachineIndependent/glslang.y"
10486|      0|                       {
10487|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10488|      0|        (yyval.interm.type).basicType = EbtSampler;
10489|      0|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdCube, true);
10490|      0|    }
10491|      0|#line 10492 "MachineIndependent/glslang_tab.cpp"
10492|      0|    break;
10493|       |
10494|      0|  case 433: /* type_specifier_nonarray: ITEXTURECUBEARRAY  */
  ------------------
  |  Branch (10494:3): [True: 0, False: 1.17M]
  ------------------
10495|      0|#line 3002 "MachineIndependent/glslang.y"
10496|      0|                        {
10497|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10498|      0|        (yyval.interm.type).basicType = EbtSampler;
10499|      0|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdCube, true);
10500|      0|    }
10501|      0|#line 10502 "MachineIndependent/glslang_tab.cpp"
10502|      0|    break;
10503|       |
10504|      0|  case 434: /* type_specifier_nonarray: UTEXTURECUBEARRAY  */
  ------------------
  |  Branch (10504:3): [True: 0, False: 1.17M]
  ------------------
10505|      0|#line 3007 "MachineIndependent/glslang.y"
10506|      0|                        {
10507|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10508|      0|        (yyval.interm.type).basicType = EbtSampler;
10509|      0|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdCube, true);
10510|      0|    }
10511|      0|#line 10512 "MachineIndependent/glslang_tab.cpp"
10512|      0|    break;
10513|       |
10514|    244|  case 435: /* type_specifier_nonarray: USAMPLER2DARRAY  */
  ------------------
  |  Branch (10514:3): [True: 244, False: 1.17M]
  ------------------
10515|    244|#line 3012 "MachineIndependent/glslang.y"
10516|    244|                      {
10517|    244|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    244|#define parseContext (*pParseContext)
  ------------------
10518|    244|        (yyval.interm.type).basicType = EbtSampler;
10519|    244|        (yyval.interm.type).sampler.set(EbtUint, Esd2D, true);
10520|    244|    }
10521|    244|#line 10522 "MachineIndependent/glslang_tab.cpp"
10522|    244|    break;
10523|       |
10524|      0|  case 436: /* type_specifier_nonarray: TEXTURE2D  */
  ------------------
  |  Branch (10524:3): [True: 0, False: 1.17M]
  ------------------
10525|      0|#line 3017 "MachineIndependent/glslang.y"
10526|      0|                {
10527|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10528|      0|        (yyval.interm.type).basicType = EbtSampler;
10529|      0|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D);
10530|      0|    }
10531|      0|#line 10532 "MachineIndependent/glslang_tab.cpp"
10532|      0|    break;
10533|       |
10534|      0|  case 437: /* type_specifier_nonarray: TEXTURE3D  */
  ------------------
  |  Branch (10534:3): [True: 0, False: 1.17M]
  ------------------
10535|      0|#line 3022 "MachineIndependent/glslang.y"
10536|      0|                {
10537|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10538|      0|        (yyval.interm.type).basicType = EbtSampler;
10539|      0|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd3D);
10540|      0|    }
10541|      0|#line 10542 "MachineIndependent/glslang_tab.cpp"
10542|      0|    break;
10543|       |
10544|      0|  case 438: /* type_specifier_nonarray: TEXTURE2DARRAY  */
  ------------------
  |  Branch (10544:3): [True: 0, False: 1.17M]
  ------------------
10545|      0|#line 3027 "MachineIndependent/glslang.y"
10546|      0|                     {
10547|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10548|      0|        (yyval.interm.type).basicType = EbtSampler;
10549|      0|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, true);
10550|      0|    }
10551|      0|#line 10552 "MachineIndependent/glslang_tab.cpp"
10552|      0|    break;
10553|       |
10554|      0|  case 439: /* type_specifier_nonarray: TEXTURECUBE  */
  ------------------
  |  Branch (10554:3): [True: 0, False: 1.17M]
  ------------------
10555|      0|#line 3032 "MachineIndependent/glslang.y"
10556|      0|                  {
10557|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10558|      0|        (yyval.interm.type).basicType = EbtSampler;
10559|      0|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdCube);
10560|      0|    }
10561|      0|#line 10562 "MachineIndependent/glslang_tab.cpp"
10562|      0|    break;
10563|       |
10564|      0|  case 440: /* type_specifier_nonarray: ITEXTURE2D  */
  ------------------
  |  Branch (10564:3): [True: 0, False: 1.17M]
  ------------------
10565|      0|#line 3037 "MachineIndependent/glslang.y"
10566|      0|                 {
10567|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10568|      0|        (yyval.interm.type).basicType = EbtSampler;
10569|      0|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D);
10570|      0|    }
10571|      0|#line 10572 "MachineIndependent/glslang_tab.cpp"
10572|      0|    break;
10573|       |
10574|      0|  case 441: /* type_specifier_nonarray: ITEXTURE3D  */
  ------------------
  |  Branch (10574:3): [True: 0, False: 1.17M]
  ------------------
10575|      0|#line 3042 "MachineIndependent/glslang.y"
10576|      0|                 {
10577|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10578|      0|        (yyval.interm.type).basicType = EbtSampler;
10579|      0|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd3D);
10580|      0|    }
10581|      0|#line 10582 "MachineIndependent/glslang_tab.cpp"
10582|      0|    break;
10583|       |
10584|      0|  case 442: /* type_specifier_nonarray: ITEXTURECUBE  */
  ------------------
  |  Branch (10584:3): [True: 0, False: 1.17M]
  ------------------
10585|      0|#line 3047 "MachineIndependent/glslang.y"
10586|      0|                   {
10587|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10588|      0|        (yyval.interm.type).basicType = EbtSampler;
10589|      0|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdCube);
10590|      0|    }
10591|      0|#line 10592 "MachineIndependent/glslang_tab.cpp"
10592|      0|    break;
10593|       |
10594|      0|  case 443: /* type_specifier_nonarray: ITEXTURE2DARRAY  */
  ------------------
  |  Branch (10594:3): [True: 0, False: 1.17M]
  ------------------
10595|      0|#line 3052 "MachineIndependent/glslang.y"
10596|      0|                      {
10597|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10598|      0|        (yyval.interm.type).basicType = EbtSampler;
10599|      0|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, true);
10600|      0|    }
10601|      0|#line 10602 "MachineIndependent/glslang_tab.cpp"
10602|      0|    break;
10603|       |
10604|      0|  case 444: /* type_specifier_nonarray: UTEXTURE2D  */
  ------------------
  |  Branch (10604:3): [True: 0, False: 1.17M]
  ------------------
10605|      0|#line 3057 "MachineIndependent/glslang.y"
10606|      0|                 {
10607|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10608|      0|        (yyval.interm.type).basicType = EbtSampler;
10609|      0|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D);
10610|      0|    }
10611|      0|#line 10612 "MachineIndependent/glslang_tab.cpp"
10612|      0|    break;
10613|       |
10614|      0|  case 445: /* type_specifier_nonarray: UTEXTURE3D  */
  ------------------
  |  Branch (10614:3): [True: 0, False: 1.17M]
  ------------------
10615|      0|#line 3062 "MachineIndependent/glslang.y"
10616|      0|                 {
10617|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10618|      0|        (yyval.interm.type).basicType = EbtSampler;
10619|      0|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd3D);
10620|      0|    }
10621|      0|#line 10622 "MachineIndependent/glslang_tab.cpp"
10622|      0|    break;
10623|       |
10624|      0|  case 446: /* type_specifier_nonarray: UTEXTURECUBE  */
  ------------------
  |  Branch (10624:3): [True: 0, False: 1.17M]
  ------------------
10625|      0|#line 3067 "MachineIndependent/glslang.y"
10626|      0|                   {
10627|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10628|      0|        (yyval.interm.type).basicType = EbtSampler;
10629|      0|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdCube);
10630|      0|    }
10631|      0|#line 10632 "MachineIndependent/glslang_tab.cpp"
10632|      0|    break;
10633|       |
10634|      0|  case 447: /* type_specifier_nonarray: UTEXTURE2DARRAY  */
  ------------------
  |  Branch (10634:3): [True: 0, False: 1.17M]
  ------------------
10635|      0|#line 3072 "MachineIndependent/glslang.y"
10636|      0|                      {
10637|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10638|      0|        (yyval.interm.type).basicType = EbtSampler;
10639|      0|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, true);
10640|      0|    }
10641|      0|#line 10642 "MachineIndependent/glslang_tab.cpp"
10642|      0|    break;
10643|       |
10644|      0|  case 448: /* type_specifier_nonarray: SAMPLER  */
  ------------------
  |  Branch (10644:3): [True: 0, False: 1.17M]
  ------------------
10645|      0|#line 3077 "MachineIndependent/glslang.y"
10646|      0|              {
10647|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10648|      0|        (yyval.interm.type).basicType = EbtSampler;
10649|      0|        (yyval.interm.type).sampler.setPureSampler(false);
10650|      0|    }
10651|      0|#line 10652 "MachineIndependent/glslang_tab.cpp"
10652|      0|    break;
10653|       |
10654|      0|  case 449: /* type_specifier_nonarray: SAMPLERSHADOW  */
  ------------------
  |  Branch (10654:3): [True: 0, False: 1.17M]
  ------------------
10655|      0|#line 3082 "MachineIndependent/glslang.y"
10656|      0|                    {
10657|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10658|      0|        (yyval.interm.type).basicType = EbtSampler;
10659|      0|        (yyval.interm.type).sampler.setPureSampler(true);
10660|      0|    }
10661|      0|#line 10662 "MachineIndependent/glslang_tab.cpp"
10662|      0|    break;
10663|       |
10664|    110|  case 450: /* type_specifier_nonarray: SAMPLER2DRECT  */
  ------------------
  |  Branch (10664:3): [True: 110, False: 1.17M]
  ------------------
10665|    110|#line 3087 "MachineIndependent/glslang.y"
10666|    110|                    {
10667|    110|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    110|#define parseContext (*pParseContext)
  ------------------
10668|    110|        (yyval.interm.type).basicType = EbtSampler;
10669|    110|        (yyval.interm.type).sampler.set(EbtFloat, EsdRect);
10670|    110|    }
10671|    110|#line 10672 "MachineIndependent/glslang_tab.cpp"
10672|    110|    break;
10673|       |
10674|     62|  case 451: /* type_specifier_nonarray: SAMPLER2DRECTSHADOW  */
  ------------------
  |  Branch (10674:3): [True: 62, False: 1.17M]
  ------------------
10675|     62|#line 3092 "MachineIndependent/glslang.y"
10676|     62|                          {
10677|     62|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     62|#define parseContext (*pParseContext)
  ------------------
10678|     62|        (yyval.interm.type).basicType = EbtSampler;
10679|     62|        (yyval.interm.type).sampler.set(EbtFloat, EsdRect, false, true);
10680|     62|    }
10681|     62|#line 10682 "MachineIndependent/glslang_tab.cpp"
10682|     62|    break;
10683|       |
10684|    218|  case 452: /* type_specifier_nonarray: F16SAMPLER2DRECT  */
  ------------------
  |  Branch (10684:3): [True: 218, False: 1.17M]
  ------------------
10685|    218|#line 3097 "MachineIndependent/glslang.y"
10686|    218|                       {
10687|    218|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    218|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    218|#define parseContext (*pParseContext)
  ------------------
10688|    218|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    218|#define parseContext (*pParseContext)
  ------------------
10689|    218|        (yyval.interm.type).basicType = EbtSampler;
10690|    218|        (yyval.interm.type).sampler.set(EbtFloat16, EsdRect);
10691|    218|    }
10692|    218|#line 10693 "MachineIndependent/glslang_tab.cpp"
10693|    218|    break;
10694|       |
10695|    122|  case 453: /* type_specifier_nonarray: F16SAMPLER2DRECTSHADOW  */
  ------------------
  |  Branch (10695:3): [True: 122, False: 1.17M]
  ------------------
10696|    122|#line 3103 "MachineIndependent/glslang.y"
10697|    122|                             {
10698|    122|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    122|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    122|#define parseContext (*pParseContext)
  ------------------
10699|    122|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    122|#define parseContext (*pParseContext)
  ------------------
10700|    122|        (yyval.interm.type).basicType = EbtSampler;
10701|    122|        (yyval.interm.type).sampler.set(EbtFloat16, EsdRect, false, true);
10702|    122|    }
10703|    122|#line 10704 "MachineIndependent/glslang_tab.cpp"
10704|    122|    break;
10705|       |
10706|    110|  case 454: /* type_specifier_nonarray: ISAMPLER2DRECT  */
  ------------------
  |  Branch (10706:3): [True: 110, False: 1.17M]
  ------------------
10707|    110|#line 3109 "MachineIndependent/glslang.y"
10708|    110|                     {
10709|    110|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    110|#define parseContext (*pParseContext)
  ------------------
10710|    110|        (yyval.interm.type).basicType = EbtSampler;
10711|    110|        (yyval.interm.type).sampler.set(EbtInt, EsdRect);
10712|    110|    }
10713|    110|#line 10714 "MachineIndependent/glslang_tab.cpp"
10714|    110|    break;
10715|       |
10716|    110|  case 455: /* type_specifier_nonarray: USAMPLER2DRECT  */
  ------------------
  |  Branch (10716:3): [True: 110, False: 1.17M]
  ------------------
10717|    110|#line 3114 "MachineIndependent/glslang.y"
10718|    110|                     {
10719|    110|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    110|#define parseContext (*pParseContext)
  ------------------
10720|    110|        (yyval.interm.type).basicType = EbtSampler;
10721|    110|        (yyval.interm.type).sampler.set(EbtUint, EsdRect);
10722|    110|    }
10723|    110|#line 10724 "MachineIndependent/glslang_tab.cpp"
10724|    110|    break;
10725|       |
10726|      4|  case 456: /* type_specifier_nonarray: SAMPLERBUFFER  */
  ------------------
  |  Branch (10726:3): [True: 4, False: 1.17M]
  ------------------
10727|      4|#line 3119 "MachineIndependent/glslang.y"
10728|      4|                    {
10729|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
10730|      4|        (yyval.interm.type).basicType = EbtSampler;
10731|      4|        (yyval.interm.type).sampler.set(EbtFloat, EsdBuffer);
10732|      4|    }
10733|      4|#line 10734 "MachineIndependent/glslang_tab.cpp"
10734|      4|    break;
10735|       |
10736|      6|  case 457: /* type_specifier_nonarray: F16SAMPLERBUFFER  */
  ------------------
  |  Branch (10736:3): [True: 6, False: 1.17M]
  ------------------
10737|      6|#line 3124 "MachineIndependent/glslang.y"
10738|      6|                       {
10739|      6|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
10740|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
10741|      6|        (yyval.interm.type).basicType = EbtSampler;
10742|      6|        (yyval.interm.type).sampler.set(EbtFloat16, EsdBuffer);
10743|      6|    }
10744|      6|#line 10745 "MachineIndependent/glslang_tab.cpp"
10745|      6|    break;
10746|       |
10747|      4|  case 458: /* type_specifier_nonarray: ISAMPLERBUFFER  */
  ------------------
  |  Branch (10747:3): [True: 4, False: 1.17M]
  ------------------
10748|      4|#line 3130 "MachineIndependent/glslang.y"
10749|      4|                     {
10750|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
10751|      4|        (yyval.interm.type).basicType = EbtSampler;
10752|      4|        (yyval.interm.type).sampler.set(EbtInt, EsdBuffer);
10753|      4|    }
10754|      4|#line 10755 "MachineIndependent/glslang_tab.cpp"
10755|      4|    break;
10756|       |
10757|      4|  case 459: /* type_specifier_nonarray: USAMPLERBUFFER  */
  ------------------
  |  Branch (10757:3): [True: 4, False: 1.17M]
  ------------------
10758|      4|#line 3135 "MachineIndependent/glslang.y"
10759|      4|                     {
10760|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
10761|      4|        (yyval.interm.type).basicType = EbtSampler;
10762|      4|        (yyval.interm.type).sampler.set(EbtUint, EsdBuffer);
10763|      4|    }
10764|      4|#line 10765 "MachineIndependent/glslang_tab.cpp"
10765|      4|    break;
10766|       |
10767|     12|  case 460: /* type_specifier_nonarray: SAMPLER2DMS  */
  ------------------
  |  Branch (10767:3): [True: 12, False: 1.17M]
  ------------------
10768|     12|#line 3140 "MachineIndependent/glslang.y"
10769|     12|                  {
10770|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
10771|     12|        (yyval.interm.type).basicType = EbtSampler;
10772|     12|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, false, false, true);
10773|     12|    }
10774|     12|#line 10775 "MachineIndependent/glslang_tab.cpp"
10775|     12|    break;
10776|       |
10777|     12|  case 461: /* type_specifier_nonarray: F16SAMPLER2DMS  */
  ------------------
  |  Branch (10777:3): [True: 12, False: 1.17M]
  ------------------
10778|     12|#line 3145 "MachineIndependent/glslang.y"
10779|     12|                     {
10780|     12|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
10781|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
10782|     12|        (yyval.interm.type).basicType = EbtSampler;
10783|     12|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, false, false, true);
10784|     12|    }
10785|     12|#line 10786 "MachineIndependent/glslang_tab.cpp"
10786|     12|    break;
10787|       |
10788|     12|  case 462: /* type_specifier_nonarray: ISAMPLER2DMS  */
  ------------------
  |  Branch (10788:3): [True: 12, False: 1.17M]
  ------------------
10789|     12|#line 3151 "MachineIndependent/glslang.y"
10790|     12|                   {
10791|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
10792|     12|        (yyval.interm.type).basicType = EbtSampler;
10793|     12|        (yyval.interm.type).sampler.set(EbtInt, Esd2D, false, false, true);
10794|     12|    }
10795|     12|#line 10796 "MachineIndependent/glslang_tab.cpp"
10796|     12|    break;
10797|       |
10798|     12|  case 463: /* type_specifier_nonarray: USAMPLER2DMS  */
  ------------------
  |  Branch (10798:3): [True: 12, False: 1.17M]
  ------------------
10799|     12|#line 3156 "MachineIndependent/glslang.y"
10800|     12|                   {
10801|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
10802|     12|        (yyval.interm.type).basicType = EbtSampler;
10803|     12|        (yyval.interm.type).sampler.set(EbtUint, Esd2D, false, false, true);
10804|     12|    }
10805|     12|#line 10806 "MachineIndependent/glslang_tab.cpp"
10806|     12|    break;
10807|       |
10808|     12|  case 464: /* type_specifier_nonarray: SAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10808:3): [True: 12, False: 1.17M]
  ------------------
10809|     12|#line 3161 "MachineIndependent/glslang.y"
10810|     12|                       {
10811|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
10812|     12|        (yyval.interm.type).basicType = EbtSampler;
10813|     12|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, true, false, true);
10814|     12|    }
10815|     12|#line 10816 "MachineIndependent/glslang_tab.cpp"
10816|     12|    break;
10817|       |
10818|     12|  case 465: /* type_specifier_nonarray: F16SAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10818:3): [True: 12, False: 1.17M]
  ------------------
10819|     12|#line 3166 "MachineIndependent/glslang.y"
10820|     12|                          {
10821|     12|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
10822|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
10823|     12|        (yyval.interm.type).basicType = EbtSampler;
10824|     12|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true, false, true);
10825|     12|    }
10826|     12|#line 10827 "MachineIndependent/glslang_tab.cpp"
10827|     12|    break;
10828|       |
10829|     12|  case 466: /* type_specifier_nonarray: ISAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10829:3): [True: 12, False: 1.17M]
  ------------------
10830|     12|#line 3172 "MachineIndependent/glslang.y"
10831|     12|                        {
10832|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
10833|     12|        (yyval.interm.type).basicType = EbtSampler;
10834|     12|        (yyval.interm.type).sampler.set(EbtInt, Esd2D, true, false, true);
10835|     12|    }
10836|     12|#line 10837 "MachineIndependent/glslang_tab.cpp"
10837|     12|    break;
10838|       |
10839|     12|  case 467: /* type_specifier_nonarray: USAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10839:3): [True: 12, False: 1.17M]
  ------------------
10840|     12|#line 3177 "MachineIndependent/glslang.y"
10841|     12|                        {
10842|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
10843|     12|        (yyval.interm.type).basicType = EbtSampler;
10844|     12|        (yyval.interm.type).sampler.set(EbtUint, Esd2D, true, false, true);
10845|     12|    }
10846|     12|#line 10847 "MachineIndependent/glslang_tab.cpp"
10847|     12|    break;
10848|       |
10849|      0|  case 468: /* type_specifier_nonarray: TEXTURE1D  */
  ------------------
  |  Branch (10849:3): [True: 0, False: 1.17M]
  ------------------
10850|      0|#line 3182 "MachineIndependent/glslang.y"
10851|      0|                {
10852|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10853|      0|        (yyval.interm.type).basicType = EbtSampler;
10854|      0|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd1D);
10855|      0|    }
10856|      0|#line 10857 "MachineIndependent/glslang_tab.cpp"
10857|      0|    break;
10858|       |
10859|      0|  case 469: /* type_specifier_nonarray: F16TEXTURE1D  */
  ------------------
  |  Branch (10859:3): [True: 0, False: 1.17M]
  ------------------
10860|      0|#line 3187 "MachineIndependent/glslang.y"
10861|      0|                   {
10862|      0|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10863|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10864|      0|        (yyval.interm.type).basicType = EbtSampler;
10865|      0|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd1D);
10866|      0|    }
10867|      0|#line 10868 "MachineIndependent/glslang_tab.cpp"
10868|      0|    break;
10869|       |
10870|      0|  case 470: /* type_specifier_nonarray: F16TEXTURE2D  */
  ------------------
  |  Branch (10870:3): [True: 0, False: 1.17M]
  ------------------
10871|      0|#line 3193 "MachineIndependent/glslang.y"
10872|      0|                   {
10873|      0|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10874|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10875|      0|        (yyval.interm.type).basicType = EbtSampler;
10876|      0|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D);
10877|      0|    }
10878|      0|#line 10879 "MachineIndependent/glslang_tab.cpp"
10879|      0|    break;
10880|       |
10881|      0|  case 471: /* type_specifier_nonarray: F16TEXTURE3D  */
  ------------------
  |  Branch (10881:3): [True: 0, False: 1.17M]
  ------------------
10882|      0|#line 3199 "MachineIndependent/glslang.y"
10883|      0|                   {
10884|      0|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10885|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10886|      0|        (yyval.interm.type).basicType = EbtSampler;
10887|      0|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd3D);
10888|      0|    }
10889|      0|#line 10890 "MachineIndependent/glslang_tab.cpp"
10890|      0|    break;
10891|       |
10892|      0|  case 472: /* type_specifier_nonarray: F16TEXTURECUBE  */
  ------------------
  |  Branch (10892:3): [True: 0, False: 1.17M]
  ------------------
10893|      0|#line 3205 "MachineIndependent/glslang.y"
10894|      0|                     {
10895|      0|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10896|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10897|      0|        (yyval.interm.type).basicType = EbtSampler;
10898|      0|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdCube);
10899|      0|    }
10900|      0|#line 10901 "MachineIndependent/glslang_tab.cpp"
10901|      0|    break;
10902|       |
10903|      0|  case 473: /* type_specifier_nonarray: TEXTURE1DARRAY  */
  ------------------
  |  Branch (10903:3): [True: 0, False: 1.17M]
  ------------------
10904|      0|#line 3211 "MachineIndependent/glslang.y"
10905|      0|                     {
10906|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10907|      0|        (yyval.interm.type).basicType = EbtSampler;
10908|      0|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd1D, true);
10909|      0|    }
10910|      0|#line 10911 "MachineIndependent/glslang_tab.cpp"
10911|      0|    break;
10912|       |
10913|      0|  case 474: /* type_specifier_nonarray: F16TEXTURE1DARRAY  */
  ------------------
  |  Branch (10913:3): [True: 0, False: 1.17M]
  ------------------
10914|      0|#line 3216 "MachineIndependent/glslang.y"
10915|      0|                        {
10916|      0|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10917|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10918|      0|        (yyval.interm.type).basicType = EbtSampler;
10919|      0|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd1D, true);
10920|      0|    }
10921|      0|#line 10922 "MachineIndependent/glslang_tab.cpp"
10922|      0|    break;
10923|       |
10924|      0|  case 475: /* type_specifier_nonarray: F16TEXTURE2DARRAY  */
  ------------------
  |  Branch (10924:3): [True: 0, False: 1.17M]
  ------------------
10925|      0|#line 3222 "MachineIndependent/glslang.y"
10926|      0|                        {
10927|      0|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10928|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10929|      0|        (yyval.interm.type).basicType = EbtSampler;
10930|      0|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, true);
10931|      0|    }
10932|      0|#line 10933 "MachineIndependent/glslang_tab.cpp"
10933|      0|    break;
10934|       |
10935|      0|  case 476: /* type_specifier_nonarray: F16TEXTURECUBEARRAY  */
  ------------------
  |  Branch (10935:3): [True: 0, False: 1.17M]
  ------------------
10936|      0|#line 3228 "MachineIndependent/glslang.y"
10937|      0|                          {
10938|      0|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10939|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10940|      0|        (yyval.interm.type).basicType = EbtSampler;
10941|      0|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdCube, true);
10942|      0|    }
10943|      0|#line 10944 "MachineIndependent/glslang_tab.cpp"
10944|      0|    break;
10945|       |
10946|      0|  case 477: /* type_specifier_nonarray: ITEXTURE1D  */
  ------------------
  |  Branch (10946:3): [True: 0, False: 1.17M]
  ------------------
10947|      0|#line 3234 "MachineIndependent/glslang.y"
10948|      0|                 {
10949|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10950|      0|        (yyval.interm.type).basicType = EbtSampler;
10951|      0|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd1D);
10952|      0|    }
10953|      0|#line 10954 "MachineIndependent/glslang_tab.cpp"
10954|      0|    break;
10955|       |
10956|      0|  case 478: /* type_specifier_nonarray: ITEXTURE1DARRAY  */
  ------------------
  |  Branch (10956:3): [True: 0, False: 1.17M]
  ------------------
10957|      0|#line 3239 "MachineIndependent/glslang.y"
10958|      0|                      {
10959|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10960|      0|        (yyval.interm.type).basicType = EbtSampler;
10961|      0|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd1D, true);
10962|      0|    }
10963|      0|#line 10964 "MachineIndependent/glslang_tab.cpp"
10964|      0|    break;
10965|       |
10966|      0|  case 479: /* type_specifier_nonarray: UTEXTURE1D  */
  ------------------
  |  Branch (10966:3): [True: 0, False: 1.17M]
  ------------------
10967|      0|#line 3244 "MachineIndependent/glslang.y"
10968|      0|                 {
10969|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10970|      0|        (yyval.interm.type).basicType = EbtSampler;
10971|      0|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd1D);
10972|      0|    }
10973|      0|#line 10974 "MachineIndependent/glslang_tab.cpp"
10974|      0|    break;
10975|       |
10976|      0|  case 480: /* type_specifier_nonarray: UTEXTURE1DARRAY  */
  ------------------
  |  Branch (10976:3): [True: 0, False: 1.17M]
  ------------------
10977|      0|#line 3249 "MachineIndependent/glslang.y"
10978|      0|                      {
10979|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10980|      0|        (yyval.interm.type).basicType = EbtSampler;
10981|      0|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd1D, true);
10982|      0|    }
10983|      0|#line 10984 "MachineIndependent/glslang_tab.cpp"
10984|      0|    break;
10985|       |
10986|      0|  case 481: /* type_specifier_nonarray: TEXTURE2DRECT  */
  ------------------
  |  Branch (10986:3): [True: 0, False: 1.17M]
  ------------------
10987|      0|#line 3254 "MachineIndependent/glslang.y"
10988|      0|                    {
10989|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10990|      0|        (yyval.interm.type).basicType = EbtSampler;
10991|      0|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdRect);
10992|      0|    }
10993|      0|#line 10994 "MachineIndependent/glslang_tab.cpp"
10994|      0|    break;
10995|       |
10996|      0|  case 482: /* type_specifier_nonarray: F16TEXTURE2DRECT  */
  ------------------
  |  Branch (10996:3): [True: 0, False: 1.17M]
  ------------------
10997|      0|#line 3259 "MachineIndependent/glslang.y"
10998|      0|                       {
10999|      0|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11000|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11001|      0|        (yyval.interm.type).basicType = EbtSampler;
11002|      0|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdRect);
11003|      0|    }
11004|      0|#line 11005 "MachineIndependent/glslang_tab.cpp"
11005|      0|    break;
11006|       |
11007|      0|  case 483: /* type_specifier_nonarray: ITEXTURE2DRECT  */
  ------------------
  |  Branch (11007:3): [True: 0, False: 1.17M]
  ------------------
11008|      0|#line 3265 "MachineIndependent/glslang.y"
11009|      0|                     {
11010|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11011|      0|        (yyval.interm.type).basicType = EbtSampler;
11012|      0|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdRect);
11013|      0|    }
11014|      0|#line 11015 "MachineIndependent/glslang_tab.cpp"
11015|      0|    break;
11016|       |
11017|      0|  case 484: /* type_specifier_nonarray: UTEXTURE2DRECT  */
  ------------------
  |  Branch (11017:3): [True: 0, False: 1.17M]
  ------------------
11018|      0|#line 3270 "MachineIndependent/glslang.y"
11019|      0|                     {
11020|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11021|      0|        (yyval.interm.type).basicType = EbtSampler;
11022|      0|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdRect);
11023|      0|    }
11024|      0|#line 11025 "MachineIndependent/glslang_tab.cpp"
11025|      0|    break;
11026|       |
11027|      0|  case 485: /* type_specifier_nonarray: TEXTUREBUFFER  */
  ------------------
  |  Branch (11027:3): [True: 0, False: 1.17M]
  ------------------
11028|      0|#line 3275 "MachineIndependent/glslang.y"
11029|      0|                    {
11030|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11031|      0|        (yyval.interm.type).basicType = EbtSampler;
11032|      0|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdBuffer);
11033|      0|    }
11034|      0|#line 11035 "MachineIndependent/glslang_tab.cpp"
11035|      0|    break;
11036|       |
11037|      0|  case 486: /* type_specifier_nonarray: F16TEXTUREBUFFER  */
  ------------------
  |  Branch (11037:3): [True: 0, False: 1.17M]
  ------------------
11038|      0|#line 3280 "MachineIndependent/glslang.y"
11039|      0|                       {
11040|      0|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11041|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11042|      0|        (yyval.interm.type).basicType = EbtSampler;
11043|      0|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdBuffer);
11044|      0|    }
11045|      0|#line 11046 "MachineIndependent/glslang_tab.cpp"
11046|      0|    break;
11047|       |
11048|      0|  case 487: /* type_specifier_nonarray: ITEXTUREBUFFER  */
  ------------------
  |  Branch (11048:3): [True: 0, False: 1.17M]
  ------------------
11049|      0|#line 3286 "MachineIndependent/glslang.y"
11050|      0|                     {
11051|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11052|      0|        (yyval.interm.type).basicType = EbtSampler;
11053|      0|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdBuffer);
11054|      0|    }
11055|      0|#line 11056 "MachineIndependent/glslang_tab.cpp"
11056|      0|    break;
11057|       |
11058|      0|  case 488: /* type_specifier_nonarray: UTEXTUREBUFFER  */
  ------------------
  |  Branch (11058:3): [True: 0, False: 1.17M]
  ------------------
11059|      0|#line 3291 "MachineIndependent/glslang.y"
11060|      0|                     {
11061|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11062|      0|        (yyval.interm.type).basicType = EbtSampler;
11063|      0|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdBuffer);
11064|      0|    }
11065|      0|#line 11066 "MachineIndependent/glslang_tab.cpp"
11066|      0|    break;
11067|       |
11068|      0|  case 489: /* type_specifier_nonarray: TEXTURE2DMS  */
  ------------------
  |  Branch (11068:3): [True: 0, False: 1.17M]
  ------------------
11069|      0|#line 3296 "MachineIndependent/glslang.y"
11070|      0|                  {
11071|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11072|      0|        (yyval.interm.type).basicType = EbtSampler;
11073|      0|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, false, false, true);
11074|      0|    }
11075|      0|#line 11076 "MachineIndependent/glslang_tab.cpp"
11076|      0|    break;
11077|       |
11078|      0|  case 490: /* type_specifier_nonarray: F16TEXTURE2DMS  */
  ------------------
  |  Branch (11078:3): [True: 0, False: 1.17M]
  ------------------
11079|      0|#line 3301 "MachineIndependent/glslang.y"
11080|      0|                     {
11081|      0|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11082|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11083|      0|        (yyval.interm.type).basicType = EbtSampler;
11084|      0|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, false, false, true);
11085|      0|    }
11086|      0|#line 11087 "MachineIndependent/glslang_tab.cpp"
11087|      0|    break;
11088|       |
11089|      0|  case 491: /* type_specifier_nonarray: ITEXTURE2DMS  */
  ------------------
  |  Branch (11089:3): [True: 0, False: 1.17M]
  ------------------
11090|      0|#line 3307 "MachineIndependent/glslang.y"
11091|      0|                   {
11092|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11093|      0|        (yyval.interm.type).basicType = EbtSampler;
11094|      0|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, false, false, true);
11095|      0|    }
11096|      0|#line 11097 "MachineIndependent/glslang_tab.cpp"
11097|      0|    break;
11098|       |
11099|      0|  case 492: /* type_specifier_nonarray: UTEXTURE2DMS  */
  ------------------
  |  Branch (11099:3): [True: 0, False: 1.17M]
  ------------------
11100|      0|#line 3312 "MachineIndependent/glslang.y"
11101|      0|                   {
11102|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11103|      0|        (yyval.interm.type).basicType = EbtSampler;
11104|      0|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, false, false, true);
11105|      0|    }
11106|      0|#line 11107 "MachineIndependent/glslang_tab.cpp"
11107|      0|    break;
11108|       |
11109|      0|  case 493: /* type_specifier_nonarray: TEXTURE2DMSARRAY  */
  ------------------
  |  Branch (11109:3): [True: 0, False: 1.17M]
  ------------------
11110|      0|#line 3317 "MachineIndependent/glslang.y"
11111|      0|                       {
11112|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11113|      0|        (yyval.interm.type).basicType = EbtSampler;
11114|      0|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, true, false, true);
11115|      0|    }
11116|      0|#line 11117 "MachineIndependent/glslang_tab.cpp"
11117|      0|    break;
11118|       |
11119|      0|  case 494: /* type_specifier_nonarray: F16TEXTURE2DMSARRAY  */
  ------------------
  |  Branch (11119:3): [True: 0, False: 1.17M]
  ------------------
11120|      0|#line 3322 "MachineIndependent/glslang.y"
11121|      0|                          {
11122|      0|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11123|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11124|      0|        (yyval.interm.type).basicType = EbtSampler;
11125|      0|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, true, false, true);
11126|      0|    }
11127|      0|#line 11128 "MachineIndependent/glslang_tab.cpp"
11128|      0|    break;
11129|       |
11130|      0|  case 495: /* type_specifier_nonarray: ITEXTURE2DMSARRAY  */
  ------------------
  |  Branch (11130:3): [True: 0, False: 1.17M]
  ------------------
11131|      0|#line 3328 "MachineIndependent/glslang.y"
11132|      0|                        {
11133|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11134|      0|        (yyval.interm.type).basicType = EbtSampler;
11135|      0|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, true, false, true);
11136|      0|    }
11137|      0|#line 11138 "MachineIndependent/glslang_tab.cpp"
11138|      0|    break;
11139|       |
11140|      0|  case 496: /* type_specifier_nonarray: UTEXTURE2DMSARRAY  */
  ------------------
  |  Branch (11140:3): [True: 0, False: 1.17M]
  ------------------
11141|      0|#line 3333 "MachineIndependent/glslang.y"
11142|      0|                        {
11143|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11144|      0|        (yyval.interm.type).basicType = EbtSampler;
11145|      0|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, true, false, true);
11146|      0|    }
11147|      0|#line 11148 "MachineIndependent/glslang_tab.cpp"
11148|      0|    break;
11149|       |
11150|     46|  case 497: /* type_specifier_nonarray: IMAGE1D  */
  ------------------
  |  Branch (11150:3): [True: 46, False: 1.17M]
  ------------------
11151|     46|#line 3338 "MachineIndependent/glslang.y"
11152|     46|              {
11153|     46|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
11154|     46|        (yyval.interm.type).basicType = EbtSampler;
11155|     46|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd1D);
11156|     46|    }
11157|     46|#line 11158 "MachineIndependent/glslang_tab.cpp"
11158|     46|    break;
11159|       |
11160|     46|  case 498: /* type_specifier_nonarray: F16IMAGE1D  */
  ------------------
  |  Branch (11160:3): [True: 46, False: 1.17M]
  ------------------
11161|     46|#line 3343 "MachineIndependent/glslang.y"
11162|     46|                 {
11163|     46|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
11164|     46|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
11165|     46|        (yyval.interm.type).basicType = EbtSampler;
11166|     46|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd1D);
11167|     46|    }
11168|     46|#line 11169 "MachineIndependent/glslang_tab.cpp"
11169|     46|    break;
11170|       |
11171|     46|  case 499: /* type_specifier_nonarray: IIMAGE1D  */
  ------------------
  |  Branch (11171:3): [True: 46, False: 1.17M]
  ------------------
11172|     46|#line 3349 "MachineIndependent/glslang.y"
11173|     46|               {
11174|     46|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
11175|     46|        (yyval.interm.type).basicType = EbtSampler;
11176|     46|        (yyval.interm.type).sampler.setImage(EbtInt, Esd1D);
11177|     46|    }
11178|     46|#line 11179 "MachineIndependent/glslang_tab.cpp"
11179|     46|    break;
11180|       |
11181|     46|  case 500: /* type_specifier_nonarray: UIMAGE1D  */
  ------------------
  |  Branch (11181:3): [True: 46, False: 1.17M]
  ------------------
11182|     46|#line 3354 "MachineIndependent/glslang.y"
11183|     46|               {
11184|     46|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
11185|     46|        (yyval.interm.type).basicType = EbtSampler;
11186|     46|        (yyval.interm.type).sampler.setImage(EbtUint, Esd1D);
11187|     46|    }
11188|     46|#line 11189 "MachineIndependent/glslang_tab.cpp"
11189|     46|    break;
11190|       |
11191|     50|  case 501: /* type_specifier_nonarray: IMAGE2D  */
  ------------------
  |  Branch (11191:3): [True: 50, False: 1.17M]
  ------------------
11192|     50|#line 3359 "MachineIndependent/glslang.y"
11193|     50|              {
11194|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11195|     50|        (yyval.interm.type).basicType = EbtSampler;
11196|     50|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D);
11197|     50|    }
11198|     50|#line 11199 "MachineIndependent/glslang_tab.cpp"
11199|     50|    break;
11200|       |
11201|     50|  case 502: /* type_specifier_nonarray: F16IMAGE2D  */
  ------------------
  |  Branch (11201:3): [True: 50, False: 1.17M]
  ------------------
11202|     50|#line 3364 "MachineIndependent/glslang.y"
11203|     50|                 {
11204|     50|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11205|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11206|     50|        (yyval.interm.type).basicType = EbtSampler;
11207|     50|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D);
11208|     50|    }
11209|     50|#line 11210 "MachineIndependent/glslang_tab.cpp"
11210|     50|    break;
11211|       |
11212|     50|  case 503: /* type_specifier_nonarray: IIMAGE2D  */
  ------------------
  |  Branch (11212:3): [True: 50, False: 1.17M]
  ------------------
11213|     50|#line 3370 "MachineIndependent/glslang.y"
11214|     50|               {
11215|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11216|     50|        (yyval.interm.type).basicType = EbtSampler;
11217|     50|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D);
11218|     50|    }
11219|     50|#line 11220 "MachineIndependent/glslang_tab.cpp"
11220|     50|    break;
11221|       |
11222|     50|  case 504: /* type_specifier_nonarray: UIMAGE2D  */
  ------------------
  |  Branch (11222:3): [True: 50, False: 1.17M]
  ------------------
11223|     50|#line 3375 "MachineIndependent/glslang.y"
11224|     50|               {
11225|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11226|     50|        (yyval.interm.type).basicType = EbtSampler;
11227|     50|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D);
11228|     50|    }
11229|     50|#line 11230 "MachineIndependent/glslang_tab.cpp"
11230|     50|    break;
11231|       |
11232|     50|  case 505: /* type_specifier_nonarray: IMAGE3D  */
  ------------------
  |  Branch (11232:3): [True: 50, False: 1.17M]
  ------------------
11233|     50|#line 3380 "MachineIndependent/glslang.y"
11234|     50|              {
11235|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11236|     50|        (yyval.interm.type).basicType = EbtSampler;
11237|     50|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd3D);
11238|     50|    }
11239|     50|#line 11240 "MachineIndependent/glslang_tab.cpp"
11240|     50|    break;
11241|       |
11242|     50|  case 506: /* type_specifier_nonarray: F16IMAGE3D  */
  ------------------
  |  Branch (11242:3): [True: 50, False: 1.17M]
  ------------------
11243|     50|#line 3385 "MachineIndependent/glslang.y"
11244|     50|                 {
11245|     50|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11246|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11247|     50|        (yyval.interm.type).basicType = EbtSampler;
11248|     50|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd3D);
11249|     50|    }
11250|     50|#line 11251 "MachineIndependent/glslang_tab.cpp"
11251|     50|    break;
11252|       |
11253|     50|  case 507: /* type_specifier_nonarray: IIMAGE3D  */
  ------------------
  |  Branch (11253:3): [True: 50, False: 1.17M]
  ------------------
11254|     50|#line 3391 "MachineIndependent/glslang.y"
11255|     50|               {
11256|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11257|     50|        (yyval.interm.type).basicType = EbtSampler;
11258|     50|        (yyval.interm.type).sampler.setImage(EbtInt, Esd3D);
11259|     50|    }
11260|     50|#line 11261 "MachineIndependent/glslang_tab.cpp"
11261|     50|    break;
11262|       |
11263|     50|  case 508: /* type_specifier_nonarray: UIMAGE3D  */
  ------------------
  |  Branch (11263:3): [True: 50, False: 1.17M]
  ------------------
11264|     50|#line 3396 "MachineIndependent/glslang.y"
11265|     50|               {
11266|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11267|     50|        (yyval.interm.type).basicType = EbtSampler;
11268|     50|        (yyval.interm.type).sampler.setImage(EbtUint, Esd3D);
11269|     50|    }
11270|     50|#line 11271 "MachineIndependent/glslang_tab.cpp"
11271|     50|    break;
11272|       |
11273|     44|  case 509: /* type_specifier_nonarray: IMAGE2DRECT  */
  ------------------
  |  Branch (11273:3): [True: 44, False: 1.17M]
  ------------------
11274|     44|#line 3401 "MachineIndependent/glslang.y"
11275|     44|                  {
11276|     44|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     44|#define parseContext (*pParseContext)
  ------------------
11277|     44|        (yyval.interm.type).basicType = EbtSampler;
11278|     44|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdRect);
11279|     44|    }
11280|     44|#line 11281 "MachineIndependent/glslang_tab.cpp"
11281|     44|    break;
11282|       |
11283|     44|  case 510: /* type_specifier_nonarray: F16IMAGE2DRECT  */
  ------------------
  |  Branch (11283:3): [True: 44, False: 1.17M]
  ------------------
11284|     44|#line 3406 "MachineIndependent/glslang.y"
11285|     44|                     {
11286|     44|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     44|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     44|#define parseContext (*pParseContext)
  ------------------
11287|     44|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     44|#define parseContext (*pParseContext)
  ------------------
11288|     44|        (yyval.interm.type).basicType = EbtSampler;
11289|     44|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdRect);
11290|     44|    }
11291|     44|#line 11292 "MachineIndependent/glslang_tab.cpp"
11292|     44|    break;
11293|       |
11294|     44|  case 511: /* type_specifier_nonarray: IIMAGE2DRECT  */
  ------------------
  |  Branch (11294:3): [True: 44, False: 1.17M]
  ------------------
11295|     44|#line 3412 "MachineIndependent/glslang.y"
11296|     44|                   {
11297|     44|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     44|#define parseContext (*pParseContext)
  ------------------
11298|     44|        (yyval.interm.type).basicType = EbtSampler;
11299|     44|        (yyval.interm.type).sampler.setImage(EbtInt, EsdRect);
11300|     44|    }
11301|     44|#line 11302 "MachineIndependent/glslang_tab.cpp"
11302|     44|    break;
11303|       |
11304|     44|  case 512: /* type_specifier_nonarray: UIMAGE2DRECT  */
  ------------------
  |  Branch (11304:3): [True: 44, False: 1.17M]
  ------------------
11305|     44|#line 3417 "MachineIndependent/glslang.y"
11306|     44|                   {
11307|     44|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     44|#define parseContext (*pParseContext)
  ------------------
11308|     44|        (yyval.interm.type).basicType = EbtSampler;
11309|     44|        (yyval.interm.type).sampler.setImage(EbtUint, EsdRect);
11310|     44|    }
11311|     44|#line 11312 "MachineIndependent/glslang_tab.cpp"
11312|     44|    break;
11313|       |
11314|     50|  case 513: /* type_specifier_nonarray: IMAGECUBE  */
  ------------------
  |  Branch (11314:3): [True: 50, False: 1.17M]
  ------------------
11315|     50|#line 3422 "MachineIndependent/glslang.y"
11316|     50|                {
11317|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11318|     50|        (yyval.interm.type).basicType = EbtSampler;
11319|     50|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdCube);
11320|     50|    }
11321|     50|#line 11322 "MachineIndependent/glslang_tab.cpp"
11322|     50|    break;
11323|       |
11324|     50|  case 514: /* type_specifier_nonarray: F16IMAGECUBE  */
  ------------------
  |  Branch (11324:3): [True: 50, False: 1.17M]
  ------------------
11325|     50|#line 3427 "MachineIndependent/glslang.y"
11326|     50|                   {
11327|     50|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11328|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11329|     50|        (yyval.interm.type).basicType = EbtSampler;
11330|     50|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdCube);
11331|     50|    }
11332|     50|#line 11333 "MachineIndependent/glslang_tab.cpp"
11333|     50|    break;
11334|       |
11335|     50|  case 515: /* type_specifier_nonarray: IIMAGECUBE  */
  ------------------
  |  Branch (11335:3): [True: 50, False: 1.17M]
  ------------------
11336|     50|#line 3433 "MachineIndependent/glslang.y"
11337|     50|                 {
11338|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11339|     50|        (yyval.interm.type).basicType = EbtSampler;
11340|     50|        (yyval.interm.type).sampler.setImage(EbtInt, EsdCube);
11341|     50|    }
11342|     50|#line 11343 "MachineIndependent/glslang_tab.cpp"
11343|     50|    break;
11344|       |
11345|     50|  case 516: /* type_specifier_nonarray: UIMAGECUBE  */
  ------------------
  |  Branch (11345:3): [True: 50, False: 1.17M]
  ------------------
11346|     50|#line 3438 "MachineIndependent/glslang.y"
11347|     50|                 {
11348|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11349|     50|        (yyval.interm.type).basicType = EbtSampler;
11350|     50|        (yyval.interm.type).sampler.setImage(EbtUint, EsdCube);
11351|     50|    }
11352|     50|#line 11353 "MachineIndependent/glslang_tab.cpp"
11353|     50|    break;
11354|       |
11355|     42|  case 517: /* type_specifier_nonarray: IMAGEBUFFER  */
  ------------------
  |  Branch (11355:3): [True: 42, False: 1.17M]
  ------------------
11356|     42|#line 3443 "MachineIndependent/glslang.y"
11357|     42|                  {
11358|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
11359|     42|        (yyval.interm.type).basicType = EbtSampler;
11360|     42|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdBuffer);
11361|     42|    }
11362|     42|#line 11363 "MachineIndependent/glslang_tab.cpp"
11363|     42|    break;
11364|       |
11365|     42|  case 518: /* type_specifier_nonarray: F16IMAGEBUFFER  */
  ------------------
  |  Branch (11365:3): [True: 42, False: 1.17M]
  ------------------
11366|     42|#line 3448 "MachineIndependent/glslang.y"
11367|     42|                     {
11368|     42|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
11369|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
11370|     42|        (yyval.interm.type).basicType = EbtSampler;
11371|     42|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdBuffer);
11372|     42|    }
11373|     42|#line 11374 "MachineIndependent/glslang_tab.cpp"
11374|     42|    break;
11375|       |
11376|     42|  case 519: /* type_specifier_nonarray: IIMAGEBUFFER  */
  ------------------
  |  Branch (11376:3): [True: 42, False: 1.17M]
  ------------------
11377|     42|#line 3454 "MachineIndependent/glslang.y"
11378|     42|                   {
11379|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
11380|     42|        (yyval.interm.type).basicType = EbtSampler;
11381|     42|        (yyval.interm.type).sampler.setImage(EbtInt, EsdBuffer);
11382|     42|    }
11383|     42|#line 11384 "MachineIndependent/glslang_tab.cpp"
11384|     42|    break;
11385|       |
11386|     42|  case 520: /* type_specifier_nonarray: UIMAGEBUFFER  */
  ------------------
  |  Branch (11386:3): [True: 42, False: 1.17M]
  ------------------
11387|     42|#line 3459 "MachineIndependent/glslang.y"
11388|     42|                   {
11389|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
11390|     42|        (yyval.interm.type).basicType = EbtSampler;
11391|     42|        (yyval.interm.type).sampler.setImage(EbtUint, EsdBuffer);
11392|     42|    }
11393|     42|#line 11394 "MachineIndependent/glslang_tab.cpp"
11394|     42|    break;
11395|       |
11396|     46|  case 521: /* type_specifier_nonarray: IMAGE1DARRAY  */
  ------------------
  |  Branch (11396:3): [True: 46, False: 1.17M]
  ------------------
11397|     46|#line 3464 "MachineIndependent/glslang.y"
11398|     46|                   {
11399|     46|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
11400|     46|        (yyval.interm.type).basicType = EbtSampler;
11401|     46|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd1D, true);
11402|     46|    }
11403|     46|#line 11404 "MachineIndependent/glslang_tab.cpp"
11404|     46|    break;
11405|       |
11406|     46|  case 522: /* type_specifier_nonarray: F16IMAGE1DARRAY  */
  ------------------
  |  Branch (11406:3): [True: 46, False: 1.17M]
  ------------------
11407|     46|#line 3469 "MachineIndependent/glslang.y"
11408|     46|                      {
11409|     46|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
11410|     46|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
11411|     46|        (yyval.interm.type).basicType = EbtSampler;
11412|     46|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd1D, true);
11413|     46|    }
11414|     46|#line 11415 "MachineIndependent/glslang_tab.cpp"
11415|     46|    break;
11416|       |
11417|     46|  case 523: /* type_specifier_nonarray: IIMAGE1DARRAY  */
  ------------------
  |  Branch (11417:3): [True: 46, False: 1.17M]
  ------------------
11418|     46|#line 3475 "MachineIndependent/glslang.y"
11419|     46|                    {
11420|     46|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
11421|     46|        (yyval.interm.type).basicType = EbtSampler;
11422|     46|        (yyval.interm.type).sampler.setImage(EbtInt, Esd1D, true);
11423|     46|    }
11424|     46|#line 11425 "MachineIndependent/glslang_tab.cpp"
11425|     46|    break;
11426|       |
11427|     46|  case 524: /* type_specifier_nonarray: UIMAGE1DARRAY  */
  ------------------
  |  Branch (11427:3): [True: 46, False: 1.17M]
  ------------------
11428|     46|#line 3480 "MachineIndependent/glslang.y"
11429|     46|                    {
11430|     46|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
11431|     46|        (yyval.interm.type).basicType = EbtSampler;
11432|     46|        (yyval.interm.type).sampler.setImage(EbtUint, Esd1D, true);
11433|     46|    }
11434|     46|#line 11435 "MachineIndependent/glslang_tab.cpp"
11435|     46|    break;
11436|       |
11437|     50|  case 525: /* type_specifier_nonarray: IMAGE2DARRAY  */
  ------------------
  |  Branch (11437:3): [True: 50, False: 1.17M]
  ------------------
11438|     50|#line 3485 "MachineIndependent/glslang.y"
11439|     50|                   {
11440|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11441|     50|        (yyval.interm.type).basicType = EbtSampler;
11442|     50|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, true);
11443|     50|    }
11444|     50|#line 11445 "MachineIndependent/glslang_tab.cpp"
11445|     50|    break;
11446|       |
11447|     50|  case 526: /* type_specifier_nonarray: F16IMAGE2DARRAY  */
  ------------------
  |  Branch (11447:3): [True: 50, False: 1.17M]
  ------------------
11448|     50|#line 3490 "MachineIndependent/glslang.y"
11449|     50|                      {
11450|     50|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11451|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11452|     50|        (yyval.interm.type).basicType = EbtSampler;
11453|     50|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, true);
11454|     50|    }
11455|     50|#line 11456 "MachineIndependent/glslang_tab.cpp"
11456|     50|    break;
11457|       |
11458|     50|  case 527: /* type_specifier_nonarray: IIMAGE2DARRAY  */
  ------------------
  |  Branch (11458:3): [True: 50, False: 1.17M]
  ------------------
11459|     50|#line 3496 "MachineIndependent/glslang.y"
11460|     50|                    {
11461|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11462|     50|        (yyval.interm.type).basicType = EbtSampler;
11463|     50|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D, true);
11464|     50|    }
11465|     50|#line 11466 "MachineIndependent/glslang_tab.cpp"
11466|     50|    break;
11467|       |
11468|     50|  case 528: /* type_specifier_nonarray: UIMAGE2DARRAY  */
  ------------------
  |  Branch (11468:3): [True: 50, False: 1.17M]
  ------------------
11469|     50|#line 3501 "MachineIndependent/glslang.y"
11470|     50|                    {
11471|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11472|     50|        (yyval.interm.type).basicType = EbtSampler;
11473|     50|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D, true);
11474|     50|    }
11475|     50|#line 11476 "MachineIndependent/glslang_tab.cpp"
11476|     50|    break;
11477|       |
11478|     50|  case 529: /* type_specifier_nonarray: IMAGECUBEARRAY  */
  ------------------
  |  Branch (11478:3): [True: 50, False: 1.17M]
  ------------------
11479|     50|#line 3506 "MachineIndependent/glslang.y"
11480|     50|                     {
11481|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11482|     50|        (yyval.interm.type).basicType = EbtSampler;
11483|     50|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdCube, true);
11484|     50|    }
11485|     50|#line 11486 "MachineIndependent/glslang_tab.cpp"
11486|     50|    break;
11487|       |
11488|     50|  case 530: /* type_specifier_nonarray: F16IMAGECUBEARRAY  */
  ------------------
  |  Branch (11488:3): [True: 50, False: 1.17M]
  ------------------
11489|     50|#line 3511 "MachineIndependent/glslang.y"
11490|     50|                        {
11491|     50|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11492|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11493|     50|        (yyval.interm.type).basicType = EbtSampler;
11494|     50|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdCube, true);
11495|     50|    }
11496|     50|#line 11497 "MachineIndependent/glslang_tab.cpp"
11497|     50|    break;
11498|       |
11499|     50|  case 531: /* type_specifier_nonarray: IIMAGECUBEARRAY  */
  ------------------
  |  Branch (11499:3): [True: 50, False: 1.17M]
  ------------------
11500|     50|#line 3517 "MachineIndependent/glslang.y"
11501|     50|                      {
11502|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11503|     50|        (yyval.interm.type).basicType = EbtSampler;
11504|     50|        (yyval.interm.type).sampler.setImage(EbtInt, EsdCube, true);
11505|     50|    }
11506|     50|#line 11507 "MachineIndependent/glslang_tab.cpp"
11507|     50|    break;
11508|       |
11509|     50|  case 532: /* type_specifier_nonarray: UIMAGECUBEARRAY  */
  ------------------
  |  Branch (11509:3): [True: 50, False: 1.17M]
  ------------------
11510|     50|#line 3522 "MachineIndependent/glslang.y"
11511|     50|                      {
11512|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11513|     50|        (yyval.interm.type).basicType = EbtSampler;
11514|     50|        (yyval.interm.type).sampler.setImage(EbtUint, EsdCube, true);
11515|     50|    }
11516|     50|#line 11517 "MachineIndependent/glslang_tab.cpp"
11517|     50|    break;
11518|       |
11519|     46|  case 533: /* type_specifier_nonarray: IMAGE2DMS  */
  ------------------
  |  Branch (11519:3): [True: 46, False: 1.17M]
  ------------------
11520|     46|#line 3527 "MachineIndependent/glslang.y"
11521|     46|                {
11522|     46|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
11523|     46|        (yyval.interm.type).basicType = EbtSampler;
11524|     46|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, false, false, true);
11525|     46|    }
11526|     46|#line 11527 "MachineIndependent/glslang_tab.cpp"
11527|     46|    break;
11528|       |
11529|     46|  case 534: /* type_specifier_nonarray: F16IMAGE2DMS  */
  ------------------
  |  Branch (11529:3): [True: 46, False: 1.17M]
  ------------------
11530|     46|#line 3532 "MachineIndependent/glslang.y"
11531|     46|                   {
11532|     46|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
11533|     46|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
11534|     46|        (yyval.interm.type).basicType = EbtSampler;
11535|     46|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, false, false, true);
11536|     46|    }
11537|     46|#line 11538 "MachineIndependent/glslang_tab.cpp"
11538|     46|    break;
11539|       |
11540|     46|  case 535: /* type_specifier_nonarray: IIMAGE2DMS  */
  ------------------
  |  Branch (11540:3): [True: 46, False: 1.17M]
  ------------------
11541|     46|#line 3538 "MachineIndependent/glslang.y"
11542|     46|                 {
11543|     46|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
11544|     46|        (yyval.interm.type).basicType = EbtSampler;
11545|     46|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D, false, false, true);
11546|     46|    }
11547|     46|#line 11548 "MachineIndependent/glslang_tab.cpp"
11548|     46|    break;
11549|       |
11550|     46|  case 536: /* type_specifier_nonarray: UIMAGE2DMS  */
  ------------------
  |  Branch (11550:3): [True: 46, False: 1.17M]
  ------------------
11551|     46|#line 3543 "MachineIndependent/glslang.y"
11552|     46|                 {
11553|     46|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
11554|     46|        (yyval.interm.type).basicType = EbtSampler;
11555|     46|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D, false, false, true);
11556|     46|    }
11557|     46|#line 11558 "MachineIndependent/glslang_tab.cpp"
11558|     46|    break;
11559|       |
11560|     46|  case 537: /* type_specifier_nonarray: IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11560:3): [True: 46, False: 1.17M]
  ------------------
11561|     46|#line 3548 "MachineIndependent/glslang.y"
11562|     46|                     {
11563|     46|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
11564|     46|        (yyval.interm.type).basicType = EbtSampler;
11565|     46|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, true, false, true);
11566|     46|    }
11567|     46|#line 11568 "MachineIndependent/glslang_tab.cpp"
11568|     46|    break;
11569|       |
11570|     46|  case 538: /* type_specifier_nonarray: F16IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11570:3): [True: 46, False: 1.17M]
  ------------------
11571|     46|#line 3553 "MachineIndependent/glslang.y"
11572|     46|                        {
11573|     46|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
11574|     46|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
11575|     46|        (yyval.interm.type).basicType = EbtSampler;
11576|     46|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, true, false, true);
11577|     46|    }
11578|     46|#line 11579 "MachineIndependent/glslang_tab.cpp"
11579|     46|    break;
11580|       |
11581|     46|  case 539: /* type_specifier_nonarray: IIMAGE2DMSARRAY  */
  ------------------
  |  Branch (11581:3): [True: 46, False: 1.17M]
  ------------------
11582|     46|#line 3559 "MachineIndependent/glslang.y"
11583|     46|                      {
11584|     46|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
11585|     46|        (yyval.interm.type).basicType = EbtSampler;
11586|     46|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D, true, false, true);
11587|     46|    }
11588|     46|#line 11589 "MachineIndependent/glslang_tab.cpp"
11589|     46|    break;
11590|       |
11591|     46|  case 540: /* type_specifier_nonarray: UIMAGE2DMSARRAY  */
  ------------------
  |  Branch (11591:3): [True: 46, False: 1.17M]
  ------------------
11592|     46|#line 3564 "MachineIndependent/glslang.y"
11593|     46|                      {
11594|     46|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
11595|     46|        (yyval.interm.type).basicType = EbtSampler;
11596|     46|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D, true, false, true);
11597|     46|    }
11598|     46|#line 11599 "MachineIndependent/glslang_tab.cpp"
11599|     46|    break;
11600|       |
11601|     46|  case 541: /* type_specifier_nonarray: I64IMAGE1D  */
  ------------------
  |  Branch (11601:3): [True: 46, False: 1.17M]
  ------------------
11602|     46|#line 3569 "MachineIndependent/glslang.y"
11603|     46|                 {
11604|     46|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
11605|     46|        (yyval.interm.type).basicType = EbtSampler;
11606|     46|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd1D);
11607|     46|    }
11608|     46|#line 11609 "MachineIndependent/glslang_tab.cpp"
11609|     46|    break;
11610|       |
11611|     46|  case 542: /* type_specifier_nonarray: U64IMAGE1D  */
  ------------------
  |  Branch (11611:3): [True: 46, False: 1.17M]
  ------------------
11612|     46|#line 3574 "MachineIndependent/glslang.y"
11613|     46|                 {
11614|     46|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
11615|     46|        (yyval.interm.type).basicType = EbtSampler;
11616|     46|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd1D);
11617|     46|    }
11618|     46|#line 11619 "MachineIndependent/glslang_tab.cpp"
11619|     46|    break;
11620|       |
11621|     50|  case 543: /* type_specifier_nonarray: I64IMAGE2D  */
  ------------------
  |  Branch (11621:3): [True: 50, False: 1.17M]
  ------------------
11622|     50|#line 3579 "MachineIndependent/glslang.y"
11623|     50|                 {
11624|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11625|     50|        (yyval.interm.type).basicType = EbtSampler;
11626|     50|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D);
11627|     50|    }
11628|     50|#line 11629 "MachineIndependent/glslang_tab.cpp"
11629|     50|    break;
11630|       |
11631|     50|  case 544: /* type_specifier_nonarray: U64IMAGE2D  */
  ------------------
  |  Branch (11631:3): [True: 50, False: 1.17M]
  ------------------
11632|     50|#line 3584 "MachineIndependent/glslang.y"
11633|     50|                 {
11634|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11635|     50|        (yyval.interm.type).basicType = EbtSampler;
11636|     50|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D);
11637|     50|    }
11638|     50|#line 11639 "MachineIndependent/glslang_tab.cpp"
11639|     50|    break;
11640|       |
11641|     50|  case 545: /* type_specifier_nonarray: I64IMAGE3D  */
  ------------------
  |  Branch (11641:3): [True: 50, False: 1.17M]
  ------------------
11642|     50|#line 3589 "MachineIndependent/glslang.y"
11643|     50|                 {
11644|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11645|     50|        (yyval.interm.type).basicType = EbtSampler;
11646|     50|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd3D);
11647|     50|    }
11648|     50|#line 11649 "MachineIndependent/glslang_tab.cpp"
11649|     50|    break;
11650|       |
11651|     50|  case 546: /* type_specifier_nonarray: U64IMAGE3D  */
  ------------------
  |  Branch (11651:3): [True: 50, False: 1.17M]
  ------------------
11652|     50|#line 3594 "MachineIndependent/glslang.y"
11653|     50|                 {
11654|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11655|     50|        (yyval.interm.type).basicType = EbtSampler;
11656|     50|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd3D);
11657|     50|    }
11658|     50|#line 11659 "MachineIndependent/glslang_tab.cpp"
11659|     50|    break;
11660|       |
11661|     44|  case 547: /* type_specifier_nonarray: I64IMAGE2DRECT  */
  ------------------
  |  Branch (11661:3): [True: 44, False: 1.17M]
  ------------------
11662|     44|#line 3599 "MachineIndependent/glslang.y"
11663|     44|                     {
11664|     44|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     44|#define parseContext (*pParseContext)
  ------------------
11665|     44|        (yyval.interm.type).basicType = EbtSampler;
11666|     44|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdRect);
11667|     44|    }
11668|     44|#line 11669 "MachineIndependent/glslang_tab.cpp"
11669|     44|    break;
11670|       |
11671|     44|  case 548: /* type_specifier_nonarray: U64IMAGE2DRECT  */
  ------------------
  |  Branch (11671:3): [True: 44, False: 1.17M]
  ------------------
11672|     44|#line 3604 "MachineIndependent/glslang.y"
11673|     44|                     {
11674|     44|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     44|#define parseContext (*pParseContext)
  ------------------
11675|     44|        (yyval.interm.type).basicType = EbtSampler;
11676|     44|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdRect);
11677|     44|    }
11678|     44|#line 11679 "MachineIndependent/glslang_tab.cpp"
11679|     44|    break;
11680|       |
11681|     50|  case 549: /* type_specifier_nonarray: I64IMAGECUBE  */
  ------------------
  |  Branch (11681:3): [True: 50, False: 1.17M]
  ------------------
11682|     50|#line 3609 "MachineIndependent/glslang.y"
11683|     50|                   {
11684|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11685|     50|        (yyval.interm.type).basicType = EbtSampler;
11686|     50|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdCube);
11687|     50|    }
11688|     50|#line 11689 "MachineIndependent/glslang_tab.cpp"
11689|     50|    break;
11690|       |
11691|     50|  case 550: /* type_specifier_nonarray: U64IMAGECUBE  */
  ------------------
  |  Branch (11691:3): [True: 50, False: 1.17M]
  ------------------
11692|     50|#line 3614 "MachineIndependent/glslang.y"
11693|     50|                   {
11694|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11695|     50|        (yyval.interm.type).basicType = EbtSampler;
11696|     50|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdCube);
11697|     50|    }
11698|     50|#line 11699 "MachineIndependent/glslang_tab.cpp"
11699|     50|    break;
11700|       |
11701|     42|  case 551: /* type_specifier_nonarray: I64IMAGEBUFFER  */
  ------------------
  |  Branch (11701:3): [True: 42, False: 1.17M]
  ------------------
11702|     42|#line 3619 "MachineIndependent/glslang.y"
11703|     42|                     {
11704|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
11705|     42|        (yyval.interm.type).basicType = EbtSampler;
11706|     42|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdBuffer);
11707|     42|    }
11708|     42|#line 11709 "MachineIndependent/glslang_tab.cpp"
11709|     42|    break;
11710|       |
11711|     42|  case 552: /* type_specifier_nonarray: U64IMAGEBUFFER  */
  ------------------
  |  Branch (11711:3): [True: 42, False: 1.17M]
  ------------------
11712|     42|#line 3624 "MachineIndependent/glslang.y"
11713|     42|                     {
11714|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
11715|     42|        (yyval.interm.type).basicType = EbtSampler;
11716|     42|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdBuffer);
11717|     42|    }
11718|     42|#line 11719 "MachineIndependent/glslang_tab.cpp"
11719|     42|    break;
11720|       |
11721|     46|  case 553: /* type_specifier_nonarray: I64IMAGE1DARRAY  */
  ------------------
  |  Branch (11721:3): [True: 46, False: 1.17M]
  ------------------
11722|     46|#line 3629 "MachineIndependent/glslang.y"
11723|     46|                      {
11724|     46|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
11725|     46|        (yyval.interm.type).basicType = EbtSampler;
11726|     46|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd1D, true);
11727|     46|    }
11728|     46|#line 11729 "MachineIndependent/glslang_tab.cpp"
11729|     46|    break;
11730|       |
11731|     46|  case 554: /* type_specifier_nonarray: U64IMAGE1DARRAY  */
  ------------------
  |  Branch (11731:3): [True: 46, False: 1.17M]
  ------------------
11732|     46|#line 3634 "MachineIndependent/glslang.y"
11733|     46|                      {
11734|     46|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
11735|     46|        (yyval.interm.type).basicType = EbtSampler;
11736|     46|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd1D, true);
11737|     46|    }
11738|     46|#line 11739 "MachineIndependent/glslang_tab.cpp"
11739|     46|    break;
11740|       |
11741|     50|  case 555: /* type_specifier_nonarray: I64IMAGE2DARRAY  */
  ------------------
  |  Branch (11741:3): [True: 50, False: 1.17M]
  ------------------
11742|     50|#line 3639 "MachineIndependent/glslang.y"
11743|     50|                      {
11744|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11745|     50|        (yyval.interm.type).basicType = EbtSampler;
11746|     50|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, true);
11747|     50|    }
11748|     50|#line 11749 "MachineIndependent/glslang_tab.cpp"
11749|     50|    break;
11750|       |
11751|     50|  case 556: /* type_specifier_nonarray: U64IMAGE2DARRAY  */
  ------------------
  |  Branch (11751:3): [True: 50, False: 1.17M]
  ------------------
11752|     50|#line 3644 "MachineIndependent/glslang.y"
11753|     50|                      {
11754|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11755|     50|        (yyval.interm.type).basicType = EbtSampler;
11756|     50|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, true);
11757|     50|    }
11758|     50|#line 11759 "MachineIndependent/glslang_tab.cpp"
11759|     50|    break;
11760|       |
11761|     50|  case 557: /* type_specifier_nonarray: I64IMAGECUBEARRAY  */
  ------------------
  |  Branch (11761:3): [True: 50, False: 1.17M]
  ------------------
11762|     50|#line 3649 "MachineIndependent/glslang.y"
11763|     50|                        {
11764|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11765|     50|        (yyval.interm.type).basicType = EbtSampler;
11766|     50|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdCube, true);
11767|     50|    }
11768|     50|#line 11769 "MachineIndependent/glslang_tab.cpp"
11769|     50|    break;
11770|       |
11771|     50|  case 558: /* type_specifier_nonarray: U64IMAGECUBEARRAY  */
  ------------------
  |  Branch (11771:3): [True: 50, False: 1.17M]
  ------------------
11772|     50|#line 3654 "MachineIndependent/glslang.y"
11773|     50|                        {
11774|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
11775|     50|        (yyval.interm.type).basicType = EbtSampler;
11776|     50|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdCube, true);
11777|     50|    }
11778|     50|#line 11779 "MachineIndependent/glslang_tab.cpp"
11779|     50|    break;
11780|       |
11781|     46|  case 559: /* type_specifier_nonarray: I64IMAGE2DMS  */
  ------------------
  |  Branch (11781:3): [True: 46, False: 1.17M]
  ------------------
11782|     46|#line 3659 "MachineIndependent/glslang.y"
11783|     46|                   {
11784|     46|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
11785|     46|        (yyval.interm.type).basicType = EbtSampler;
11786|     46|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, false, false, true);
11787|     46|    }
11788|     46|#line 11789 "MachineIndependent/glslang_tab.cpp"
11789|     46|    break;
11790|       |
11791|     46|  case 560: /* type_specifier_nonarray: U64IMAGE2DMS  */
  ------------------
  |  Branch (11791:3): [True: 46, False: 1.17M]
  ------------------
11792|     46|#line 3664 "MachineIndependent/glslang.y"
11793|     46|                   {
11794|     46|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
11795|     46|        (yyval.interm.type).basicType = EbtSampler;
11796|     46|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, false, false, true);
11797|     46|    }
11798|     46|#line 11799 "MachineIndependent/glslang_tab.cpp"
11799|     46|    break;
11800|       |
11801|     46|  case 561: /* type_specifier_nonarray: I64IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11801:3): [True: 46, False: 1.17M]
  ------------------
11802|     46|#line 3669 "MachineIndependent/glslang.y"
11803|     46|                        {
11804|     46|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
11805|     46|        (yyval.interm.type).basicType = EbtSampler;
11806|     46|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, true, false, true);
11807|     46|    }
11808|     46|#line 11809 "MachineIndependent/glslang_tab.cpp"
11809|     46|    break;
11810|       |
11811|     46|  case 562: /* type_specifier_nonarray: U64IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11811:3): [True: 46, False: 1.17M]
  ------------------
11812|     46|#line 3674 "MachineIndependent/glslang.y"
11813|     46|                        {
11814|     46|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
11815|     46|        (yyval.interm.type).basicType = EbtSampler;
11816|     46|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, true, false, true);
11817|     46|    }
11818|     46|#line 11819 "MachineIndependent/glslang_tab.cpp"
11819|     46|    break;
11820|       |
11821|    204|  case 563: /* type_specifier_nonarray: SAMPLEREXTERNALOES  */
  ------------------
  |  Branch (11821:3): [True: 204, False: 1.17M]
  ------------------
11822|    204|#line 3679 "MachineIndependent/glslang.y"
11823|    204|                         {  // GL_OES_EGL_image_external
11824|    204|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    204|#define parseContext (*pParseContext)
  ------------------
11825|    204|        (yyval.interm.type).basicType = EbtSampler;
11826|    204|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D);
11827|    204|        (yyval.interm.type).sampler.external = true;
11828|    204|    }
11829|    204|#line 11830 "MachineIndependent/glslang_tab.cpp"
11830|    204|    break;
11831|       |
11832|    544|  case 564: /* type_specifier_nonarray: SAMPLEREXTERNAL2DY2YEXT  */
  ------------------
  |  Branch (11832:3): [True: 544, False: 1.17M]
  ------------------
11833|    544|#line 3685 "MachineIndependent/glslang.y"
11834|    544|                              { // GL_EXT_YUV_target
11835|    544|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    544|#define parseContext (*pParseContext)
  ------------------
11836|    544|        (yyval.interm.type).basicType = EbtSampler;
11837|    544|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D);
11838|    544|        (yyval.interm.type).sampler.yuv = true;
11839|    544|    }
11840|    544|#line 11841 "MachineIndependent/glslang_tab.cpp"
11841|    544|    break;
11842|       |
11843|      0|  case 565: /* type_specifier_nonarray: ATTACHMENTEXT  */
  ------------------
  |  Branch (11843:3): [True: 0, False: 1.17M]
  ------------------
11844|      0|#line 3691 "MachineIndependent/glslang.y"
11845|      0|                    {
11846|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "attachmentEXT input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11847|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11848|      0|        (yyval.interm.type).basicType = EbtSampler;
11849|      0|        (yyval.interm.type).sampler.setAttachmentEXT(EbtFloat);
11850|      0|    }
11851|      0|#line 11852 "MachineIndependent/glslang_tab.cpp"
11852|      0|    break;
11853|       |
11854|      0|  case 566: /* type_specifier_nonarray: IATTACHMENTEXT  */
  ------------------
  |  Branch (11854:3): [True: 0, False: 1.17M]
  ------------------
11855|      0|#line 3697 "MachineIndependent/glslang.y"
11856|      0|                     {
11857|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "attachmentEXT input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11858|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11859|      0|        (yyval.interm.type).basicType = EbtSampler;
11860|      0|        (yyval.interm.type).sampler.setAttachmentEXT(EbtInt);
11861|      0|    }
11862|      0|#line 11863 "MachineIndependent/glslang_tab.cpp"
11863|      0|    break;
11864|       |
11865|      0|  case 567: /* type_specifier_nonarray: UATTACHMENTEXT  */
  ------------------
  |  Branch (11865:3): [True: 0, False: 1.17M]
  ------------------
11866|      0|#line 3703 "MachineIndependent/glslang.y"
11867|      0|                     {
11868|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "attachmentEXT input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11869|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11870|      0|        (yyval.interm.type).basicType = EbtSampler;
11871|      0|        (yyval.interm.type).sampler.setAttachmentEXT(EbtUint);
11872|      0|    }
11873|      0|#line 11874 "MachineIndependent/glslang_tab.cpp"
11874|      0|    break;
11875|       |
11876|      0|  case 568: /* type_specifier_nonarray: SUBPASSINPUT  */
  ------------------
  |  Branch (11876:3): [True: 0, False: 1.17M]
  ------------------
11877|      0|#line 3709 "MachineIndependent/glslang.y"
11878|      0|                   {
11879|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11880|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11881|      0|        (yyval.interm.type).basicType = EbtSampler;
11882|      0|        (yyval.interm.type).sampler.setSubpass(EbtFloat);
11883|      0|    }
11884|      0|#line 11885 "MachineIndependent/glslang_tab.cpp"
11885|      0|    break;
11886|       |
11887|      0|  case 569: /* type_specifier_nonarray: SUBPASSINPUTMS  */
  ------------------
  |  Branch (11887:3): [True: 0, False: 1.17M]
  ------------------
11888|      0|#line 3715 "MachineIndependent/glslang.y"
11889|      0|                     {
11890|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11891|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11892|      0|        (yyval.interm.type).basicType = EbtSampler;
11893|      0|        (yyval.interm.type).sampler.setSubpass(EbtFloat, true);
11894|      0|    }
11895|      0|#line 11896 "MachineIndependent/glslang_tab.cpp"
11896|      0|    break;
11897|       |
11898|      0|  case 570: /* type_specifier_nonarray: F16SUBPASSINPUT  */
  ------------------
  |  Branch (11898:3): [True: 0, False: 1.17M]
  ------------------
11899|      0|#line 3721 "MachineIndependent/glslang.y"
11900|      0|                      {
11901|      0|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11902|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11903|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11904|      0|        (yyval.interm.type).basicType = EbtSampler;
11905|      0|        (yyval.interm.type).sampler.setSubpass(EbtFloat16);
11906|      0|    }
11907|      0|#line 11908 "MachineIndependent/glslang_tab.cpp"
11908|      0|    break;
11909|       |
11910|      0|  case 571: /* type_specifier_nonarray: F16SUBPASSINPUTMS  */
  ------------------
  |  Branch (11910:3): [True: 0, False: 1.17M]
  ------------------
11911|      0|#line 3728 "MachineIndependent/glslang.y"
11912|      0|                        {
11913|      0|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11914|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11915|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11916|      0|        (yyval.interm.type).basicType = EbtSampler;
11917|      0|        (yyval.interm.type).sampler.setSubpass(EbtFloat16, true);
11918|      0|    }
11919|      0|#line 11920 "MachineIndependent/glslang_tab.cpp"
11920|      0|    break;
11921|       |
11922|      0|  case 572: /* type_specifier_nonarray: ISUBPASSINPUT  */
  ------------------
  |  Branch (11922:3): [True: 0, False: 1.17M]
  ------------------
11923|      0|#line 3735 "MachineIndependent/glslang.y"
11924|      0|                    {
11925|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11926|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11927|      0|        (yyval.interm.type).basicType = EbtSampler;
11928|      0|        (yyval.interm.type).sampler.setSubpass(EbtInt);
11929|      0|    }
11930|      0|#line 11931 "MachineIndependent/glslang_tab.cpp"
11931|      0|    break;
11932|       |
11933|      0|  case 573: /* type_specifier_nonarray: ISUBPASSINPUTMS  */
  ------------------
  |  Branch (11933:3): [True: 0, False: 1.17M]
  ------------------
11934|      0|#line 3741 "MachineIndependent/glslang.y"
11935|      0|                      {
11936|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11937|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11938|      0|        (yyval.interm.type).basicType = EbtSampler;
11939|      0|        (yyval.interm.type).sampler.setSubpass(EbtInt, true);
11940|      0|    }
11941|      0|#line 11942 "MachineIndependent/glslang_tab.cpp"
11942|      0|    break;
11943|       |
11944|      0|  case 574: /* type_specifier_nonarray: USUBPASSINPUT  */
  ------------------
  |  Branch (11944:3): [True: 0, False: 1.17M]
  ------------------
11945|      0|#line 3747 "MachineIndependent/glslang.y"
11946|      0|                    {
11947|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11948|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11949|      0|        (yyval.interm.type).basicType = EbtSampler;
11950|      0|        (yyval.interm.type).sampler.setSubpass(EbtUint);
11951|      0|    }
11952|      0|#line 11953 "MachineIndependent/glslang_tab.cpp"
11953|      0|    break;
11954|       |
11955|      0|  case 575: /* type_specifier_nonarray: USUBPASSINPUTMS  */
  ------------------
  |  Branch (11955:3): [True: 0, False: 1.17M]
  ------------------
11956|      0|#line 3753 "MachineIndependent/glslang.y"
11957|      0|                      {
11958|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11959|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11960|      0|        (yyval.interm.type).basicType = EbtSampler;
11961|      0|        (yyval.interm.type).sampler.setSubpass(EbtUint, true);
11962|      0|    }
11963|      0|#line 11964 "MachineIndependent/glslang_tab.cpp"
11964|      0|    break;
11965|       |
11966|     42|  case 576: /* type_specifier_nonarray: FCOOPMATNV  */
  ------------------
  |  Branch (11966:3): [True: 42, False: 1.17M]
  ------------------
11967|     42|#line 3759 "MachineIndependent/glslang.y"
11968|     42|                 {
11969|     42|        parseContext.fcoopmatCheckNV((yyvsp[0].lex).loc, "fcoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
                      parseContext.fcoopmatCheckNV((yyvsp[0].lex).loc, "fcoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
11970|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
11971|     42|        (yyval.interm.type).basicType = EbtFloat;
11972|     42|        (yyval.interm.type).coopmatNV = true;
11973|     42|        (yyval.interm.type).coopmatKHR = false;
11974|     42|    }
11975|     42|#line 11976 "MachineIndependent/glslang_tab.cpp"
11976|     42|    break;
11977|       |
11978|     56|  case 577: /* type_specifier_nonarray: ICOOPMATNV  */
  ------------------
  |  Branch (11978:3): [True: 56, False: 1.17M]
  ------------------
11979|     56|#line 3766 "MachineIndependent/glslang.y"
11980|     56|                 {
11981|     56|        parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "icoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     56|#define parseContext (*pParseContext)
  ------------------
                      parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "icoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     56|#define parseContext (*pParseContext)
  ------------------
11982|     56|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     56|#define parseContext (*pParseContext)
  ------------------
11983|     56|        (yyval.interm.type).basicType = EbtInt;
11984|     56|        (yyval.interm.type).coopmatNV = true;
11985|     56|        (yyval.interm.type).coopmatKHR = false;
11986|     56|    }
11987|     56|#line 11988 "MachineIndependent/glslang_tab.cpp"
11988|     56|    break;
11989|       |
11990|     56|  case 578: /* type_specifier_nonarray: UCOOPMATNV  */
  ------------------
  |  Branch (11990:3): [True: 56, False: 1.17M]
  ------------------
11991|     56|#line 3773 "MachineIndependent/glslang.y"
11992|     56|                 {
11993|     56|        parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "ucoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     56|#define parseContext (*pParseContext)
  ------------------
                      parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "ucoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     56|#define parseContext (*pParseContext)
  ------------------
11994|     56|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     56|#define parseContext (*pParseContext)
  ------------------
11995|     56|        (yyval.interm.type).basicType = EbtUint;
11996|     56|        (yyval.interm.type).coopmatNV = true;
11997|     56|        (yyval.interm.type).coopmatKHR = false;
11998|     56|    }
11999|     56|#line 12000 "MachineIndependent/glslang_tab.cpp"
12000|     56|    break;
12001|       |
12002|    434|  case 579: /* type_specifier_nonarray: COOPMAT  */
  ------------------
  |  Branch (12002:3): [True: 434, False: 1.17M]
  ------------------
12003|    434|#line 3780 "MachineIndependent/glslang.y"
12004|    434|              {
12005|    434|        parseContext.coopmatCheck((yyvsp[0].lex).loc, "coopmat", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    434|#define parseContext (*pParseContext)
  ------------------
                      parseContext.coopmatCheck((yyvsp[0].lex).loc, "coopmat", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    434|#define parseContext (*pParseContext)
  ------------------
12006|    434|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    434|#define parseContext (*pParseContext)
  ------------------
12007|    434|        (yyval.interm.type).basicType = EbtCoopmat;
12008|    434|        (yyval.interm.type).coopmatNV = false;
12009|    434|        (yyval.interm.type).coopmatKHR = true;
12010|    434|    }
12011|    434|#line 12012 "MachineIndependent/glslang_tab.cpp"
12012|    434|    break;
12013|       |
12014|    120|  case 580: /* type_specifier_nonarray: TENSORLAYOUTNV  */
  ------------------
  |  Branch (12014:3): [True: 120, False: 1.17M]
  ------------------
12015|    120|#line 3787 "MachineIndependent/glslang.y"
12016|    120|                     {
12017|    120|        parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorLayoutNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    120|#define parseContext (*pParseContext)
  ------------------
                      parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorLayoutNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    120|#define parseContext (*pParseContext)
  ------------------
12018|    120|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    120|#define parseContext (*pParseContext)
  ------------------
12019|    120|        (yyval.interm.type).basicType = EbtTensorLayoutNV;
12020|    120|    }
12021|    120|#line 12022 "MachineIndependent/glslang_tab.cpp"
12022|    120|    break;
12023|       |
12024|     74|  case 581: /* type_specifier_nonarray: TENSORVIEWNV  */
  ------------------
  |  Branch (12024:3): [True: 74, False: 1.17M]
  ------------------
12025|     74|#line 3792 "MachineIndependent/glslang.y"
12026|     74|                   {
12027|     74|        parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorViewNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     74|#define parseContext (*pParseContext)
  ------------------
                      parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorViewNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     74|#define parseContext (*pParseContext)
  ------------------
12028|     74|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     74|#define parseContext (*pParseContext)
  ------------------
12029|     74|        (yyval.interm.type).basicType = EbtTensorViewNV;
12030|     74|    }
12031|     74|#line 12032 "MachineIndependent/glslang_tab.cpp"
12032|     74|    break;
12033|       |
12034|     28|  case 582: /* type_specifier_nonarray: FUNCTION  */
  ------------------
  |  Branch (12034:3): [True: 28, False: 1.17M]
  ------------------
12035|     28|#line 3797 "MachineIndependent/glslang.y"
12036|     28|               {
12037|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc);
12038|     28|        (yyval.interm.type).basicType = EbtFunction;
12039|     28|    }
12040|     28|#line 12041 "MachineIndependent/glslang_tab.cpp"
12041|     28|    break;
12042|       |
12043|  1.59k|  case 583: /* type_specifier_nonarray: COOPVECNV  */
  ------------------
  |  Branch (12043:3): [True: 1.59k, False: 1.17M]
  ------------------
12044|  1.59k|#line 3801 "MachineIndependent/glslang.y"
12045|  1.59k|                {
12046|  1.59k|        parseContext.coopvecCheck((yyvsp[0].lex).loc, "coopvecNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.59k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.coopvecCheck((yyvsp[0].lex).loc, "coopvecNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.59k|#define parseContext (*pParseContext)
  ------------------
12047|  1.59k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.59k|#define parseContext (*pParseContext)
  ------------------
12048|  1.59k|        (yyval.interm.type).basicType = EbtCoopvecNV;
12049|  1.59k|        (yyval.interm.type).coopvecNV = true;
12050|  1.59k|    }
12051|  1.59k|#line 12052 "MachineIndependent/glslang_tab.cpp"
12052|  1.59k|    break;
12053|       |
12054|    122|  case 584: /* type_specifier_nonarray: TENSORARM  */
  ------------------
  |  Branch (12054:3): [True: 122, False: 1.17M]
  ------------------
12055|    122|#line 3807 "MachineIndependent/glslang.y"
12056|    122|                {
12057|    122|        parseContext.tensorCheckARM((yyvsp[0].lex).loc, "tensorARM", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    122|#define parseContext (*pParseContext)
  ------------------
                      parseContext.tensorCheckARM((yyvsp[0].lex).loc, "tensorARM", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    122|#define parseContext (*pParseContext)
  ------------------
12058|    122|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    122|#define parseContext (*pParseContext)
  ------------------
12059|    122|        (yyval.interm.type).tensorRankARM = 1; // placeholder value
12060|    122|        (yyval.interm.type).basicType = EbtTensorARM;
12061|    122|    }
12062|    122|#line 12063 "MachineIndependent/glslang_tab.cpp"
12063|    122|    break;
12064|       |
12065|  1.24k|  case 585: /* type_specifier_nonarray: VECTOR  */
  ------------------
  |  Branch (12065:3): [True: 1.24k, False: 1.17M]
  ------------------
12066|  1.24k|#line 3813 "MachineIndependent/glslang.y"
12067|  1.24k|             {
12068|  1.24k|        parseContext.longVectorCheck((yyvsp[0].lex).loc, "vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.24k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.longVectorCheck((yyvsp[0].lex).loc, "vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.24k|#define parseContext (*pParseContext)
  ------------------
12069|  1.24k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.24k|#define parseContext (*pParseContext)
  ------------------
12070|  1.24k|        (yyval.interm.type).basicType = EbtLongVector;
12071|  1.24k|        (yyval.interm.type).longVector = true;
12072|  1.24k|    }
12073|  1.24k|#line 12074 "MachineIndependent/glslang_tab.cpp"
12074|  1.24k|    break;
12075|       |
12076|      0|  case 586: /* type_specifier_nonarray: spirv_type_specifier  */
  ------------------
  |  Branch (12076:3): [True: 0, False: 1.17M]
  ------------------
12077|      0|#line 3819 "MachineIndependent/glslang.y"
12078|      0|                           {
12079|      0|        parseContext.requireExtensions((yyvsp[0].interm.type).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V type specifier");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12080|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
12081|      0|    }
12082|      0|#line 12083 "MachineIndependent/glslang_tab.cpp"
12083|      0|    break;
12084|       |
12085|      0|  case 587: /* type_specifier_nonarray: HITOBJECTNV  */
  ------------------
  |  Branch (12085:3): [True: 0, False: 1.17M]
  ------------------
12086|      0|#line 3823 "MachineIndependent/glslang.y"
12087|      0|                  {
12088|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12089|      0|       (yyval.interm.type).basicType = EbtHitObjectNV;
12090|      0|    }
12091|      0|#line 12092 "MachineIndependent/glslang_tab.cpp"
12092|      0|    break;
12093|       |
12094|      0|  case 588: /* type_specifier_nonarray: HITOBJECTEXT  */
  ------------------
  |  Branch (12094:3): [True: 0, False: 1.17M]
  ------------------
12095|      0|#line 3827 "MachineIndependent/glslang.y"
12096|      0|                   {
12097|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12098|      0|       (yyval.interm.type).basicType = EbtHitObjectEXT;
12099|      0|    }
12100|      0|#line 12101 "MachineIndependent/glslang_tab.cpp"
12101|      0|    break;
12102|       |
12103|     74|  case 589: /* type_specifier_nonarray: struct_specifier  */
  ------------------
  |  Branch (12103:3): [True: 74, False: 1.17M]
  ------------------
12104|     74|#line 3831 "MachineIndependent/glslang.y"
12105|     74|                       {
12106|     74|        (yyval.interm.type) = (yyvsp[0].interm.type);
12107|     74|        (yyval.interm.type).qualifier.storage = parseContext.symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary;
  ------------------
  |  |  783|     74|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12107:49): [True: 74, False: 0]
  ------------------
12108|     74|        parseContext.structTypeCheck((yyval.interm.type).loc, (yyval.interm.type));
  ------------------
  |  |  783|     74|#define parseContext (*pParseContext)
  ------------------
12109|     74|    }
12110|     74|#line 12111 "MachineIndependent/glslang_tab.cpp"
12111|     74|    break;
12112|       |
12113|     94|  case 590: /* type_specifier_nonarray: TYPE_NAME  */
  ------------------
  |  Branch (12113:3): [True: 94, False: 1.17M]
  ------------------
12114|     94|#line 3836 "MachineIndependent/glslang.y"
12115|     94|                {
12116|       |        //
12117|       |        // This is for user defined type names.  The lexical phase looked up the
12118|       |        // type.
12119|       |        //
12120|     94|        if (const TVariable* variable = ((yyvsp[0].lex).symbol)->getAsVariable()) {
  ------------------
  |  Branch (12120:30): [True: 94, False: 0]
  ------------------
12121|     94|            const TType& structure = variable->getType();
12122|     94|            (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     94|#define parseContext (*pParseContext)
  ------------------
12123|     94|            (yyval.interm.type).basicType = EbtStruct;
12124|     94|            (yyval.interm.type).userDef = &structure;
12125|     94|            if (structure.getQualifier().isBufferType())
  ------------------
  |  Branch (12125:17): [True: 0, False: 94]
  ------------------
12126|      0|                (yyval.interm.type).qualifier = structure.getQualifier();
12127|     94|        } else
12128|      0|            parseContext.error((yyvsp[0].lex).loc, "expected type name", (yyvsp[0].lex).string->c_str(), "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12129|     94|    }
12130|     94|#line 12131 "MachineIndependent/glslang_tab.cpp"
12131|     94|    break;
12132|       |
12133|  4.40k|  case 591: /* precision_qualifier: HIGH_PRECISION  */
  ------------------
  |  Branch (12133:3): [True: 4.40k, False: 1.17M]
  ------------------
12134|  4.40k|#line 3854 "MachineIndependent/glslang.y"
12135|  4.40k|                     {
12136|  4.40k|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "highp precision qualifier");
  ------------------
  |  |  783|  4.40k|#define parseContext (*pParseContext)
  ------------------
12137|  4.40k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  4.40k|#define parseContext (*pParseContext)
  ------------------
12138|  4.40k|        parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqHigh);
  ------------------
  |  |  783|  4.40k|#define parseContext (*pParseContext)
  ------------------
12139|  4.40k|    }
12140|  4.40k|#line 12141 "MachineIndependent/glslang_tab.cpp"
12141|  4.40k|    break;
12142|       |
12143|    502|  case 592: /* precision_qualifier: MEDIUM_PRECISION  */
  ------------------
  |  Branch (12143:3): [True: 502, False: 1.17M]
  ------------------
12144|    502|#line 3859 "MachineIndependent/glslang.y"
12145|    502|                       {
12146|    502|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "mediump precision qualifier");
  ------------------
  |  |  783|    502|#define parseContext (*pParseContext)
  ------------------
12147|    502|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    502|#define parseContext (*pParseContext)
  ------------------
12148|    502|        parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqMedium);
  ------------------
  |  |  783|    502|#define parseContext (*pParseContext)
  ------------------
12149|    502|    }
12150|    502|#line 12151 "MachineIndependent/glslang_tab.cpp"
12151|    502|    break;
12152|       |
12153|     20|  case 593: /* precision_qualifier: LOW_PRECISION  */
  ------------------
  |  Branch (12153:3): [True: 20, False: 1.17M]
  ------------------
12154|     20|#line 3864 "MachineIndependent/glslang.y"
12155|     20|                    {
12156|     20|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "lowp precision qualifier");
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
12157|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
12158|     20|        parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqLow);
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
12159|     20|    }
12160|     20|#line 12161 "MachineIndependent/glslang_tab.cpp"
12161|     20|    break;
12162|       |
12163|     74|  case 594: /* $@3: %empty  */
  ------------------
  |  Branch (12163:3): [True: 74, False: 1.17M]
  ------------------
12164|     74|#line 3872 "MachineIndependent/glslang.y"
12165|     74|                                   { parseContext.nestedStructCheck((yyvsp[-2].lex).loc); }
  ------------------
  |  |  783|     74|#define parseContext (*pParseContext)
  ------------------
12166|     74|#line 12167 "MachineIndependent/glslang_tab.cpp"
12167|     74|    break;
12168|       |
12169|     74|  case 595: /* struct_specifier: STRUCT IDENTIFIER LEFT_BRACE $@3 struct_declaration_list RIGHT_BRACE  */
  ------------------
  |  Branch (12169:3): [True: 74, False: 1.17M]
  ------------------
12170|     74|#line 3872 "MachineIndependent/glslang.y"
12171|     74|                                                                                                                   {
12172|     74|        TType* structure = new TType((yyvsp[-1].interm.typeList), *(yyvsp[-4].lex).string);
12173|     74|        parseContext.structArrayCheck((yyvsp[-4].lex).loc, *structure);
  ------------------
  |  |  783|     74|#define parseContext (*pParseContext)
  ------------------
12174|       |
12175|     74|        TVariable* userTypeDef = new TVariable((yyvsp[-4].lex).string, *structure, true);
12176|     74|        if (! parseContext.symbolTable.insert(*userTypeDef))
  ------------------
  |  |  783|     74|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12176:13): [True: 0, False: 74]
  ------------------
12177|      0|            parseContext.error((yyvsp[-4].lex).loc, "redefinition", (yyvsp[-4].lex).string->c_str(), "struct");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12178|     74|        else if (parseContext.spvVersion.vulkanRelaxed
  ------------------
  |  |  783|     74|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12178:18): [True: 0, False: 74]
  ------------------
12179|      0|                 && structure->containsOpaque())
  ------------------
  |  Branch (12179:21): [True: 0, False: 0]
  ------------------
12180|      0|            parseContext.relaxedSymbols.push_back(structure->getTypeName());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12181|       |
12182|     74|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
12183|     74|        (yyval.interm.type).basicType = EbtStruct;
12184|     74|        (yyval.interm.type).userDef = structure;
12185|     74|        --parseContext.structNestingLevel;
  ------------------
  |  |  783|     74|#define parseContext (*pParseContext)
  ------------------
12186|     74|    }
12187|     74|#line 12188 "MachineIndependent/glslang_tab.cpp"
12188|     74|    break;
12189|       |
12190|      0|  case 596: /* $@4: %empty  */
  ------------------
  |  Branch (12190:3): [True: 0, False: 1.17M]
  ------------------
12191|      0|#line 3888 "MachineIndependent/glslang.y"
12192|      0|                        { parseContext.nestedStructCheck((yyvsp[-1].lex).loc); }
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12193|      0|#line 12194 "MachineIndependent/glslang_tab.cpp"
12194|      0|    break;
12195|       |
12196|      0|  case 597: /* struct_specifier: STRUCT LEFT_BRACE $@4 struct_declaration_list RIGHT_BRACE  */
  ------------------
  |  Branch (12196:3): [True: 0, False: 1.17M]
  ------------------
12197|      0|#line 3888 "MachineIndependent/glslang.y"
12198|      0|                                                                                                        {
12199|      0|        TType* structure = new TType((yyvsp[-1].interm.typeList), TString(""));
12200|      0|        (yyval.interm.type).init((yyvsp[-4].lex).loc);
12201|      0|        (yyval.interm.type).basicType = EbtStruct;
12202|      0|        (yyval.interm.type).userDef = structure;
12203|      0|        --parseContext.structNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12204|      0|    }
12205|      0|#line 12206 "MachineIndependent/glslang_tab.cpp"
12206|      0|    break;
12207|       |
12208|     92|  case 598: /* struct_declaration_list: struct_declaration  */
  ------------------
  |  Branch (12208:3): [True: 92, False: 1.17M]
  ------------------
12209|     92|#line 3898 "MachineIndependent/glslang.y"
12210|     92|                         {
12211|     92|        (yyval.interm.typeList) = (yyvsp[0].interm.typeList);
12212|     92|    }
12213|     92|#line 12214 "MachineIndependent/glslang_tab.cpp"
12214|     92|    break;
12215|       |
12216|    236|  case 599: /* struct_declaration_list: struct_declaration_list struct_declaration  */
  ------------------
  |  Branch (12216:3): [True: 236, False: 1.17M]
  ------------------
12217|    236|#line 3901 "MachineIndependent/glslang.y"
12218|    236|                                                 {
12219|    236|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12220|    472|        for (unsigned int i = 0; i < (yyvsp[0].interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12220:34): [True: 236, False: 236]
  ------------------
12221|    728|            for (unsigned int j = 0; j < (yyval.interm.typeList)->size(); ++j) {
  ------------------
  |  Branch (12221:38): [True: 492, False: 236]
  ------------------
12222|    492|                if ((*(yyval.interm.typeList))[j].type->getFieldName() == (*(yyvsp[0].interm.typeList))[i].type->getFieldName())
  ------------------
  |  Branch (12222:21): [True: 0, False: 492]
  ------------------
12223|      0|                    parseContext.error((*(yyvsp[0].interm.typeList))[i].loc, "duplicate member name:", "", (*(yyvsp[0].interm.typeList))[i].type->getFieldName().c_str());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12224|    492|            }
12225|    236|            (yyval.interm.typeList)->push_back((*(yyvsp[0].interm.typeList))[i]);
12226|    236|        }
12227|    236|    }
12228|    236|#line 12229 "MachineIndependent/glslang_tab.cpp"
12229|    236|    break;
12230|       |
12231|    328|  case 600: /* struct_declaration: struct_declaration_no_inline_block  */
  ------------------
  |  Branch (12231:3): [True: 328, False: 1.17M]
  ------------------
12232|    328|#line 3914 "MachineIndependent/glslang.y"
12233|    328|                                         {
12234|    328|        (yyval.interm.typeList) = (yyvsp[0].interm.typeList);
12235|    328|    }
12236|    328|#line 12237 "MachineIndependent/glslang_tab.cpp"
12237|    328|    break;
12238|       |
12239|      0|  case 601: /* struct_declaration: block_heap_inner_structure struct_declarator_list SEMICOLON  */
  ------------------
  |  Branch (12239:3): [True: 0, False: 1.17M]
  ------------------
12240|      0|#line 3917 "MachineIndependent/glslang.y"
12241|      0|                                                                  {
12242|      0|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12243|      0|        parseContext.voidErrorCheck((yyvsp[-2].interm.type).loc, (*(yyvsp[-1].interm.typeList))[0].type->getFieldName(), (yyvsp[-2].interm.type).basicType);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12244|      0|        parseContext.precisionQualifierCheck((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).basicType, (yyvsp[-2].interm.type).qualifier, (yyvsp[-2].interm.type).hasTypeParameter());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12245|       |
12246|      0|        for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12246:34): [True: 0, False: 0]
  ------------------
12247|      0|            TType type((yyvsp[-2].interm.type));
12248|      0|            type.setFieldName((*(yyval.interm.typeList))[i].type->getFieldName());
12249|      0|            type.transferArraySizes((*(yyval.interm.typeList))[i].type->getArraySizes());
12250|      0|            type.copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
12251|      0|            parseContext.arrayOfArrayVersionCheck((*(yyval.interm.typeList))[i].loc, type.getArraySizes());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12252|      0|            (*(yyval.interm.typeList))[i].type->shallowCopy(type);
12253|      0|        }
12254|      0|    }
12255|      0|#line 12256 "MachineIndependent/glslang_tab.cpp"
12256|      0|    break;
12257|       |
12258|      0|  case 602: /* $@5: %empty  */
  ------------------
  |  Branch (12258:3): [True: 0, False: 1.17M]
  ------------------
12259|      0|#line 3934 "MachineIndependent/glslang.y"
12260|      0|                                { parseContext.nestedBlockCheck((yyvsp[-1].interm.type).loc, true); }
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12261|      0|#line 12262 "MachineIndependent/glslang_tab.cpp"
12262|      0|    break;
12263|       |
12264|      0|  case 603: /* block_heap_inner_structure: type_qualifier LEFT_BRACE $@5 struct_declaration_no_inline_block_list RIGHT_BRACE  */
  ------------------
  |  Branch (12264:3): [True: 0, False: 1.17M]
  ------------------
12265|      0|#line 3934 "MachineIndependent/glslang.y"
12266|      0|                                                                                                                                     {
12267|      0|        --parseContext.blockNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12268|      0|        parseContext.globalQualifierFixCheck((yyvsp[-4].interm.type).loc, (yyvsp[-4].interm.type).qualifier);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12269|      0|        parseContext.checkNoShaderLayouts((yyvsp[-4].interm.type).loc, (yyvsp[-4].interm.type).shaderQualifiers);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12270|      0|        (yyval.interm.type).init((yyvsp[-4].interm.type).loc);
12271|      0|        TType* innerStructure = new TType((yyvsp[-1].interm.typeList), TString(""), (yyvsp[-4].interm.type).qualifier);
12272|      0|        if (! (yyvsp[-4].interm.type).qualifier.hasBufferReference())
  ------------------
  |  Branch (12272:13): [True: 0, False: 0]
  ------------------
12273|      0|            parseContext.error((yyvsp[-4].interm.type).loc, "only buffer_reference blocks can be declared inline inside a heap block", "", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12274|      0|        TType* referenceType = new TType(EbtReference, *innerStructure, TString(""));
12275|      0|        (yyval.interm.type).basicType = EbtReference;
12276|      0|        (yyval.interm.type).userDef = referenceType;
12277|      0|        (yyval.interm.type).qualifier.layoutDescriptorHeap = true;
12278|      0|    }
12279|      0|#line 12280 "MachineIndependent/glslang_tab.cpp"
12280|      0|    break;
12281|       |
12282|      0|  case 604: /* struct_declaration_no_inline_block_list: struct_declaration_no_inline_block  */
  ------------------
  |  Branch (12282:3): [True: 0, False: 1.17M]
  ------------------
12283|      0|#line 3950 "MachineIndependent/glslang.y"
12284|      0|                                         {
12285|      0|        (yyval.interm.typeList) = (yyvsp[0].interm.typeList);
12286|      0|    }
12287|      0|#line 12288 "MachineIndependent/glslang_tab.cpp"
12288|      0|    break;
12289|       |
12290|      0|  case 605: /* struct_declaration_no_inline_block_list: struct_declaration_no_inline_block_list struct_declaration_no_inline_block  */
  ------------------
  |  Branch (12290:3): [True: 0, False: 1.17M]
  ------------------
12291|      0|#line 3953 "MachineIndependent/glslang.y"
12292|      0|                                                                                 {
12293|      0|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12294|      0|        for (unsigned int i = 0; i < (yyvsp[0].interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12294:34): [True: 0, False: 0]
  ------------------
12295|      0|            for (unsigned int j = 0; j < (yyval.interm.typeList)->size(); ++j) {
  ------------------
  |  Branch (12295:38): [True: 0, False: 0]
  ------------------
12296|      0|                if ((*(yyval.interm.typeList))[j].type->getFieldName() == (*(yyvsp[0].interm.typeList))[i].type->getFieldName())
  ------------------
  |  Branch (12296:21): [True: 0, False: 0]
  ------------------
12297|      0|                    parseContext.error((*(yyvsp[0].interm.typeList))[i].loc, "duplicate member name:", "", (*(yyvsp[0].interm.typeList))[i].type->getFieldName().c_str());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12298|      0|            }
12299|      0|            (yyval.interm.typeList)->push_back((*(yyvsp[0].interm.typeList))[i]);
12300|      0|        }
12301|      0|    }
12302|      0|#line 12303 "MachineIndependent/glslang_tab.cpp"
12303|      0|    break;
12304|       |
12305|    114|  case 606: /* struct_declaration_no_inline_block: type_specifier struct_declarator_list SEMICOLON  */
  ------------------
  |  Branch (12305:3): [True: 114, False: 1.17M]
  ------------------
12306|    114|#line 3966 "MachineIndependent/glslang.y"
12307|    114|                                                      {
12308|    114|        if ((yyvsp[-2].interm.type).arraySizes) {
  ------------------
  |  Branch (12308:13): [True: 0, False: 114]
  ------------------
12309|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12310|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12311|      0|            if (parseContext.isEsProfile())
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12311:17): [True: 0, False: 0]
  ------------------
12312|      0|                parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12313|      0|        }
12314|       |
12315|    114|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12316|       |
12317|    114|        parseContext.voidErrorCheck((yyvsp[-2].interm.type).loc, (*(yyvsp[-1].interm.typeList))[0].type->getFieldName(), (yyvsp[-2].interm.type).basicType);
  ------------------
  |  |  783|    114|#define parseContext (*pParseContext)
  ------------------
12318|    114|        parseContext.precisionQualifierCheck((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).basicType, (yyvsp[-2].interm.type).qualifier, (yyvsp[-2].interm.type).hasTypeParameter());
  ------------------
  |  |  783|    114|#define parseContext (*pParseContext)
  ------------------
12319|       |
12320|    228|        for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12320:34): [True: 114, False: 114]
  ------------------
12321|    114|            TType type((yyvsp[-2].interm.type));
12322|    114|            type.setFieldName((*(yyval.interm.typeList))[i].type->getFieldName());
12323|    114|            type.transferArraySizes((*(yyval.interm.typeList))[i].type->getArraySizes());
12324|    114|            type.copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
12325|    114|            parseContext.arrayOfArrayVersionCheck((*(yyval.interm.typeList))[i].loc, type.getArraySizes());
  ------------------
  |  |  783|    114|#define parseContext (*pParseContext)
  ------------------
12326|    114|            (*(yyval.interm.typeList))[i].type->shallowCopy(type);
12327|    114|        }
12328|    114|    }
12329|    114|#line 12330 "MachineIndependent/glslang_tab.cpp"
12330|    114|    break;
12331|       |
12332|    214|  case 607: /* struct_declaration_no_inline_block: type_qualifier type_specifier struct_declarator_list SEMICOLON  */
  ------------------
  |  Branch (12332:3): [True: 214, False: 1.17M]
  ------------------
12333|    214|#line 3988 "MachineIndependent/glslang.y"
12334|    214|                                                                     {
12335|    214|        if ((yyvsp[-2].interm.type).arraySizes) {
  ------------------
  |  Branch (12335:13): [True: 0, False: 214]
  ------------------
12336|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12337|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12338|      0|            if (parseContext.isEsProfile())
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12338:17): [True: 0, False: 0]
  ------------------
12339|      0|                parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12340|      0|        }
12341|       |
12342|    214|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12343|       |
12344|    214|        parseContext.memberQualifierCheck((yyvsp[-3].interm.type));
  ------------------
  |  |  783|    214|#define parseContext (*pParseContext)
  ------------------
12345|    214|        parseContext.voidErrorCheck((yyvsp[-2].interm.type).loc, (*(yyvsp[-1].interm.typeList))[0].type->getFieldName(), (yyvsp[-2].interm.type).basicType);
  ------------------
  |  |  783|    214|#define parseContext (*pParseContext)
  ------------------
12346|    214|        parseContext.mergeQualifiers((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).qualifier, (yyvsp[-3].interm.type).qualifier, true);
  ------------------
  |  |  783|    214|#define parseContext (*pParseContext)
  ------------------
12347|    214|        parseContext.precisionQualifierCheck((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).basicType, (yyvsp[-2].interm.type).qualifier, (yyvsp[-2].interm.type).hasTypeParameter());
  ------------------
  |  |  783|    214|#define parseContext (*pParseContext)
  ------------------
12348|       |
12349|    428|        for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12349:34): [True: 214, False: 214]
  ------------------
12350|    214|            TType type((yyvsp[-2].interm.type));
12351|    214|            type.setFieldName((*(yyval.interm.typeList))[i].type->getFieldName());
12352|    214|            type.transferArraySizes((*(yyval.interm.typeList))[i].type->getArraySizes());
12353|    214|            type.copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
12354|    214|            parseContext.arrayOfArrayVersionCheck((*(yyval.interm.typeList))[i].loc, type.getArraySizes());
  ------------------
  |  |  783|    214|#define parseContext (*pParseContext)
  ------------------
12355|    214|            (*(yyval.interm.typeList))[i].type->shallowCopy(type);
12356|    214|        }
12357|    214|    }
12358|    214|#line 12359 "MachineIndependent/glslang_tab.cpp"
12359|    214|    break;
12360|       |
12361|    328|  case 608: /* struct_declarator_list: struct_declarator  */
  ------------------
  |  Branch (12361:3): [True: 328, False: 1.17M]
  ------------------
12362|    328|#line 4015 "MachineIndependent/glslang.y"
12363|    328|                        {
12364|    328|        (yyval.interm.typeList) = new TTypeList;
12365|    328|        (yyval.interm.typeList)->push_back((yyvsp[0].interm.typeLine));
12366|    328|    }
12367|    328|#line 12368 "MachineIndependent/glslang_tab.cpp"
12368|    328|    break;
12369|       |
12370|      0|  case 609: /* struct_declarator_list: struct_declarator_list COMMA struct_declarator  */
  ------------------
  |  Branch (12370:3): [True: 0, False: 1.17M]
  ------------------
12371|      0|#line 4019 "MachineIndependent/glslang.y"
12372|      0|                                                     {
12373|      0|        (yyval.interm.typeList)->push_back((yyvsp[0].interm.typeLine));
12374|      0|    }
12375|      0|#line 12376 "MachineIndependent/glslang_tab.cpp"
12376|      0|    break;
12377|       |
12378|    278|  case 610: /* struct_declarator: IDENTIFIER  */
  ------------------
  |  Branch (12378:3): [True: 278, False: 1.17M]
  ------------------
12379|    278|#line 4025 "MachineIndependent/glslang.y"
12380|    278|                 {
12381|    278|        (yyval.interm.typeLine).type = new TType(EbtVoid);
12382|    278|        (yyval.interm.typeLine).loc = (yyvsp[0].lex).loc;
12383|    278|        (yyval.interm.typeLine).type->setFieldName(*(yyvsp[0].lex).string);
12384|    278|    }
12385|    278|#line 12386 "MachineIndependent/glslang_tab.cpp"
12386|    278|    break;
12387|       |
12388|     50|  case 611: /* struct_declarator: IDENTIFIER array_specifier  */
  ------------------
  |  Branch (12388:3): [True: 50, False: 1.17M]
  ------------------
12389|     50|#line 4030 "MachineIndependent/glslang.y"
12390|     50|                                 {
12391|     50|        parseContext.arrayOfArrayVersionCheck((yyvsp[-1].lex).loc, (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
12392|       |
12393|     50|        (yyval.interm.typeLine).type = new TType(EbtVoid);
12394|     50|        (yyval.interm.typeLine).loc = (yyvsp[-1].lex).loc;
12395|     50|        (yyval.interm.typeLine).type->setFieldName(*(yyvsp[-1].lex).string);
12396|     50|        (yyval.interm.typeLine).type->transferArraySizes((yyvsp[0].interm).arraySizes);
12397|     50|    }
12398|     50|#line 12399 "MachineIndependent/glslang_tab.cpp"
12399|     50|    break;
12400|       |
12401|    826|  case 612: /* initializer: assignment_expression  */
  ------------------
  |  Branch (12401:3): [True: 826, False: 1.17M]
  ------------------
12402|    826|#line 4041 "MachineIndependent/glslang.y"
12403|    826|                            {
12404|    826|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
12405|    826|    }
12406|    826|#line 12407 "MachineIndependent/glslang_tab.cpp"
12407|    826|    break;
12408|       |
12409|      0|  case 613: /* initializer: LEFT_BRACE initializer_list RIGHT_BRACE  */
  ------------------
  |  Branch (12409:3): [True: 0, False: 1.17M]
  ------------------
12410|      0|#line 4044 "MachineIndependent/glslang.y"
12411|      0|                                              {
12412|      0|        const char* initFeature = "{ } style initializers";
12413|      0|        parseContext.requireProfile((yyvsp[-2].lex).loc, ~EEsProfile, initFeature);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12414|      0|        parseContext.profileRequires((yyvsp[-2].lex).loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, initFeature);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12415|      0|        (yyval.interm.intermTypedNode) = (yyvsp[-1].interm.intermTypedNode);
12416|      0|    }
12417|      0|#line 12418 "MachineIndependent/glslang_tab.cpp"
12418|      0|    break;
12419|       |
12420|      0|  case 614: /* initializer: LEFT_BRACE initializer_list COMMA RIGHT_BRACE  */
  ------------------
  |  Branch (12420:3): [True: 0, False: 1.17M]
  ------------------
12421|      0|#line 4050 "MachineIndependent/glslang.y"
12422|      0|                                                    {
12423|      0|        const char* initFeature = "{ } style initializers";
12424|      0|        parseContext.requireProfile((yyvsp[-3].lex).loc, ~EEsProfile, initFeature);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12425|      0|        parseContext.profileRequires((yyvsp[-3].lex).loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, initFeature);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12426|      0|        (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
12427|      0|    }
12428|      0|#line 12429 "MachineIndependent/glslang_tab.cpp"
12429|      0|    break;
12430|       |
12431|      0|  case 615: /* initializer: LEFT_BRACE RIGHT_BRACE  */
  ------------------
  |  Branch (12431:3): [True: 0, False: 1.17M]
  ------------------
12432|      0|#line 4056 "MachineIndependent/glslang.y"
12433|      0|                             {
12434|      0|        const char* initFeature = "empty { } initializer";
12435|      0|        parseContext.profileRequires((yyvsp[-1].lex).loc, EEsProfile, 0, E_GL_EXT_null_initializer, initFeature);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12436|      0|        parseContext.profileRequires((yyvsp[-1].lex).loc, ~EEsProfile, 0, E_GL_EXT_null_initializer, initFeature);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12437|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.makeAggregate((yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12438|      0|    }
12439|      0|#line 12440 "MachineIndependent/glslang_tab.cpp"
12440|      0|    break;
12441|       |
12442|      0|  case 616: /* initializer_list: initializer  */
  ------------------
  |  Branch (12442:3): [True: 0, False: 1.17M]
  ------------------
12443|      0|#line 4065 "MachineIndependent/glslang.y"
12444|      0|                  {
12445|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.growAggregate(0, (yyvsp[0].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode)->getLoc());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12446|      0|    }
12447|      0|#line 12448 "MachineIndependent/glslang_tab.cpp"
12448|      0|    break;
12449|       |
12450|      0|  case 617: /* initializer_list: initializer_list COMMA initializer  */
  ------------------
  |  Branch (12450:3): [True: 0, False: 1.17M]
  ------------------
12451|      0|#line 4068 "MachineIndependent/glslang.y"
12452|      0|                                         {
12453|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12454|      0|    }
12455|      0|#line 12456 "MachineIndependent/glslang_tab.cpp"
12456|      0|    break;
12457|       |
12458|      0|  case 618: /* declaration_statement: declaration  */
  ------------------
  |  Branch (12458:3): [True: 0, False: 1.17M]
  ------------------
12459|      0|#line 4074 "MachineIndependent/glslang.y"
12460|      0|                  { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12461|      0|#line 12462 "MachineIndependent/glslang_tab.cpp"
12462|      0|    break;
12463|       |
12464|      0|  case 619: /* statement: compound_statement  */
  ------------------
  |  Branch (12464:3): [True: 0, False: 1.17M]
  ------------------
12465|      0|#line 4078 "MachineIndependent/glslang.y"
12466|      0|                          { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12467|      0|#line 12468 "MachineIndependent/glslang_tab.cpp"
12468|      0|    break;
12469|       |
12470|      0|  case 620: /* statement: simple_statement  */
  ------------------
  |  Branch (12470:3): [True: 0, False: 1.17M]
  ------------------
12471|      0|#line 4079 "MachineIndependent/glslang.y"
12472|      0|                          { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12473|      0|#line 12474 "MachineIndependent/glslang_tab.cpp"
12474|      0|    break;
12475|       |
12476|      0|  case 621: /* simple_statement: declaration_statement  */
  ------------------
  |  Branch (12476:3): [True: 0, False: 1.17M]
  ------------------
12477|      0|#line 4085 "MachineIndependent/glslang.y"
12478|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12479|      0|#line 12480 "MachineIndependent/glslang_tab.cpp"
12480|      0|    break;
12481|       |
12482|      0|  case 622: /* simple_statement: expression_statement  */
  ------------------
  |  Branch (12482:3): [True: 0, False: 1.17M]
  ------------------
12483|      0|#line 4086 "MachineIndependent/glslang.y"
12484|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12485|      0|#line 12486 "MachineIndependent/glslang_tab.cpp"
12486|      0|    break;
12487|       |
12488|      0|  case 623: /* simple_statement: selection_statement  */
  ------------------
  |  Branch (12488:3): [True: 0, False: 1.17M]
  ------------------
12489|      0|#line 4087 "MachineIndependent/glslang.y"
12490|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12491|      0|#line 12492 "MachineIndependent/glslang_tab.cpp"
12492|      0|    break;
12493|       |
12494|      0|  case 624: /* simple_statement: switch_statement  */
  ------------------
  |  Branch (12494:3): [True: 0, False: 1.17M]
  ------------------
12495|      0|#line 4088 "MachineIndependent/glslang.y"
12496|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12497|      0|#line 12498 "MachineIndependent/glslang_tab.cpp"
12498|      0|    break;
12499|       |
12500|      0|  case 625: /* simple_statement: case_label  */
  ------------------
  |  Branch (12500:3): [True: 0, False: 1.17M]
  ------------------
12501|      0|#line 4089 "MachineIndependent/glslang.y"
12502|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12503|      0|#line 12504 "MachineIndependent/glslang_tab.cpp"
12504|      0|    break;
12505|       |
12506|      0|  case 626: /* simple_statement: iteration_statement  */
  ------------------
  |  Branch (12506:3): [True: 0, False: 1.17M]
  ------------------
12507|      0|#line 4090 "MachineIndependent/glslang.y"
12508|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12509|      0|#line 12510 "MachineIndependent/glslang_tab.cpp"
12510|      0|    break;
12511|       |
12512|      0|  case 627: /* simple_statement: jump_statement  */
  ------------------
  |  Branch (12512:3): [True: 0, False: 1.17M]
  ------------------
12513|      0|#line 4091 "MachineIndependent/glslang.y"
12514|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12515|      0|#line 12516 "MachineIndependent/glslang_tab.cpp"
12516|      0|    break;
12517|       |
12518|      0|  case 628: /* simple_statement: demote_statement  */
  ------------------
  |  Branch (12518:3): [True: 0, False: 1.17M]
  ------------------
12519|      0|#line 4092 "MachineIndependent/glslang.y"
12520|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12521|      0|#line 12522 "MachineIndependent/glslang_tab.cpp"
12522|      0|    break;
12523|       |
12524|      0|  case 629: /* demote_statement: DEMOTE SEMICOLON  */
  ------------------
  |  Branch (12524:3): [True: 0, False: 1.17M]
  ------------------
12525|      0|#line 4096 "MachineIndependent/glslang.y"
12526|      0|                       {
12527|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangFragment, "demote");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12528|      0|        parseContext.requireExtensions((yyvsp[-1].lex).loc, 1, &E_GL_EXT_demote_to_helper_invocation, "demote");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12529|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpDemote, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12530|      0|    }
12531|      0|#line 12532 "MachineIndependent/glslang_tab.cpp"
12532|      0|    break;
12533|       |
12534|      0|  case 630: /* compound_statement: LEFT_BRACE RIGHT_BRACE  */
  ------------------
  |  Branch (12534:3): [True: 0, False: 1.17M]
  ------------------
12535|      0|#line 4104 "MachineIndependent/glslang.y"
12536|      0|                             { (yyval.interm.intermNode) = 0; }
12537|      0|#line 12538 "MachineIndependent/glslang_tab.cpp"
12538|      0|    break;
12539|       |
12540|      0|  case 631: /* $@6: %empty  */
  ------------------
  |  Branch (12540:3): [True: 0, False: 1.17M]
  ------------------
12541|      0|#line 4105 "MachineIndependent/glslang.y"
12542|      0|                 {
12543|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12544|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12545|      0|    }
12546|      0|#line 12547 "MachineIndependent/glslang_tab.cpp"
12547|      0|    break;
12548|       |
12549|      0|  case 632: /* $@7: %empty  */
  ------------------
  |  Branch (12549:3): [True: 0, False: 1.17M]
  ------------------
12550|      0|#line 4109 "MachineIndependent/glslang.y"
12551|      0|                     {
12552|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12553|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12554|      0|    }
12555|      0|#line 12556 "MachineIndependent/glslang_tab.cpp"
12556|      0|    break;
12557|       |
12558|      0|  case 633: /* compound_statement: LEFT_BRACE $@6 statement_list $@7 RIGHT_BRACE  */
  ------------------
  |  Branch (12558:3): [True: 0, False: 1.17M]
  ------------------
12559|      0|#line 4113 "MachineIndependent/glslang.y"
12560|      0|                  {
12561|      0|        if ((yyvsp[-2].interm.intermNode) && (yyvsp[-2].interm.intermNode)->getAsAggregate()) {
  ------------------
  |  Branch (12561:13): [True: 0, False: 0]
  |  Branch (12561:46): [True: 0, False: 0]
  ------------------
12562|      0|            (yyvsp[-2].interm.intermNode)->getAsAggregate()->setOperator(parseContext.intermediate.getDebugInfo() ? EOpScope : EOpSequence);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12562:74): [True: 0, False: 0]
  ------------------
12563|      0|            (yyvsp[-2].interm.intermNode)->getAsAggregate()->setEndLoc((yyvsp[0].lex).loc);
12564|      0|        }
12565|      0|        (yyval.interm.intermNode) = (yyvsp[-2].interm.intermNode);
12566|      0|    }
12567|      0|#line 12568 "MachineIndependent/glslang_tab.cpp"
12568|      0|    break;
12569|       |
12570|      0|  case 634: /* statement_no_new_scope: compound_statement_no_new_scope  */
  ------------------
  |  Branch (12570:3): [True: 0, False: 1.17M]
  ------------------
12571|      0|#line 4123 "MachineIndependent/glslang.y"
12572|      0|                                      { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12573|      0|#line 12574 "MachineIndependent/glslang_tab.cpp"
12574|      0|    break;
12575|       |
12576|      0|  case 635: /* statement_no_new_scope: simple_statement  */
  ------------------
  |  Branch (12576:3): [True: 0, False: 1.17M]
  ------------------
12577|      0|#line 4124 "MachineIndependent/glslang.y"
12578|      0|                                      { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12579|      0|#line 12580 "MachineIndependent/glslang_tab.cpp"
12580|      0|    break;
12581|       |
12582|      0|  case 636: /* $@8: %empty  */
  ------------------
  |  Branch (12582:3): [True: 0, False: 1.17M]
  ------------------
12583|      0|#line 4128 "MachineIndependent/glslang.y"
12584|      0|      {
12585|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12586|      0|    }
12587|      0|#line 12588 "MachineIndependent/glslang_tab.cpp"
12588|      0|    break;
12589|       |
12590|      0|  case 637: /* statement_scoped: $@8 compound_statement  */
  ------------------
  |  Branch (12590:3): [True: 0, False: 1.17M]
  ------------------
12591|      0|#line 4131 "MachineIndependent/glslang.y"
12592|      0|                          {
12593|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12594|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12595|      0|    }
12596|      0|#line 12597 "MachineIndependent/glslang_tab.cpp"
12597|      0|    break;
12598|       |
12599|      0|  case 638: /* $@9: %empty  */
  ------------------
  |  Branch (12599:3): [True: 0, False: 1.17M]
  ------------------
12600|      0|#line 4135 "MachineIndependent/glslang.y"
12601|      0|      {
12602|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12603|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12604|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12605|      0|    }
12606|      0|#line 12607 "MachineIndependent/glslang_tab.cpp"
12607|      0|    break;
12608|       |
12609|      0|  case 639: /* statement_scoped: $@9 simple_statement  */
  ------------------
  |  Branch (12609:3): [True: 0, False: 1.17M]
  ------------------
12610|      0|#line 4140 "MachineIndependent/glslang.y"
12611|      0|                       {
12612|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12613|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12614|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12615|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12616|      0|    }
12617|      0|#line 12618 "MachineIndependent/glslang_tab.cpp"
12618|      0|    break;
12619|       |
12620|      0|  case 640: /* compound_statement_no_new_scope: LEFT_BRACE RIGHT_BRACE  */
  ------------------
  |  Branch (12620:3): [True: 0, False: 1.17M]
  ------------------
12621|      0|#line 4149 "MachineIndependent/glslang.y"
12622|      0|                             {
12623|      0|        (yyval.interm.intermNode) = 0;
12624|      0|    }
12625|      0|#line 12626 "MachineIndependent/glslang_tab.cpp"
12626|      0|    break;
12627|       |
12628|      0|  case 641: /* compound_statement_no_new_scope: LEFT_BRACE statement_list RIGHT_BRACE  */
  ------------------
  |  Branch (12628:3): [True: 0, False: 1.17M]
  ------------------
12629|      0|#line 4152 "MachineIndependent/glslang.y"
12630|      0|                                            {
12631|      0|        if ((yyvsp[-1].interm.intermNode) && (yyvsp[-1].interm.intermNode)->getAsAggregate()) {
  ------------------
  |  Branch (12631:13): [True: 0, False: 0]
  |  Branch (12631:46): [True: 0, False: 0]
  ------------------
12632|      0|            (yyvsp[-1].interm.intermNode)->getAsAggregate()->setOperator(EOpSequence);
12633|      0|            (yyvsp[-1].interm.intermNode)->getAsAggregate()->setEndLoc((yyvsp[0].lex).loc);
12634|      0|        }
12635|      0|        (yyval.interm.intermNode) = (yyvsp[-1].interm.intermNode);
12636|      0|    }
12637|      0|#line 12638 "MachineIndependent/glslang_tab.cpp"
12638|      0|    break;
12639|       |
12640|      0|  case 642: /* statement_list: statement  */
  ------------------
  |  Branch (12640:3): [True: 0, False: 1.17M]
  ------------------
12641|      0|#line 4162 "MachineIndependent/glslang.y"
12642|      0|                {
12643|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12644|      0|        if ((yyvsp[0].interm.intermNode) && (yyvsp[0].interm.intermNode)->getAsBranchNode() && ((yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpCase ||
  ------------------
  |  Branch (12644:13): [True: 0, False: 0]
  |  Branch (12644:45): [True: 0, False: 0]
  |  Branch (12644:97): [True: 0, False: 0]
  ------------------
12645|      0|                                            (yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpDefault)) {
  ------------------
  |  Branch (12645:45): [True: 0, False: 0]
  ------------------
12646|      0|            parseContext.wrapupSwitchSubsequence(0, (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12647|      0|            (yyval.interm.intermNode) = 0;  // start a fresh subsequence for what's after this case
12648|      0|        }
12649|      0|    }
12650|      0|#line 12651 "MachineIndependent/glslang_tab.cpp"
12651|      0|    break;
12652|       |
12653|      0|  case 643: /* statement_list: statement_list statement  */
  ------------------
  |  Branch (12653:3): [True: 0, False: 1.17M]
  ------------------
12654|      0|#line 4170 "MachineIndependent/glslang.y"
12655|      0|                               {
12656|      0|        if ((yyvsp[0].interm.intermNode) && (yyvsp[0].interm.intermNode)->getAsBranchNode() && ((yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpCase ||
  ------------------
  |  Branch (12656:13): [True: 0, False: 0]
  |  Branch (12656:45): [True: 0, False: 0]
  |  Branch (12656:97): [True: 0, False: 0]
  ------------------
12657|      0|                                            (yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpDefault)) {
  ------------------
  |  Branch (12657:45): [True: 0, False: 0]
  ------------------
12658|      0|            parseContext.wrapupSwitchSubsequence((yyvsp[-1].interm.intermNode) ? (yyvsp[-1].interm.intermNode)->getAsAggregate() : 0, (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12658:50): [True: 0, False: 0]
  ------------------
12659|      0|            (yyval.interm.intermNode) = 0;  // start a fresh subsequence for what's after this case
12660|      0|        } else
12661|      0|            (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-1].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12662|      0|    }
12663|      0|#line 12664 "MachineIndependent/glslang_tab.cpp"
12664|      0|    break;
12665|       |
12666|      0|  case 644: /* expression_statement: SEMICOLON  */
  ------------------
  |  Branch (12666:3): [True: 0, False: 1.17M]
  ------------------
12667|      0|#line 4181 "MachineIndependent/glslang.y"
12668|      0|                 { (yyval.interm.intermNode) = 0; }
12669|      0|#line 12670 "MachineIndependent/glslang_tab.cpp"
12670|      0|    break;
12671|       |
12672|      0|  case 645: /* expression_statement: expression SEMICOLON  */
  ------------------
  |  Branch (12672:3): [True: 0, False: 1.17M]
  ------------------
12673|      0|#line 4182 "MachineIndependent/glslang.y"
12674|      0|                            { (yyval.interm.intermNode) = static_cast<TIntermNode*>((yyvsp[-1].interm.intermTypedNode)); }
12675|      0|#line 12676 "MachineIndependent/glslang_tab.cpp"
12676|      0|    break;
12677|       |
12678|      0|  case 646: /* selection_statement: selection_statement_nonattributed  */
  ------------------
  |  Branch (12678:3): [True: 0, False: 1.17M]
  ------------------
12679|      0|#line 4186 "MachineIndependent/glslang.y"
12680|      0|                                        {
12681|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12682|      0|    }
12683|      0|#line 12684 "MachineIndependent/glslang_tab.cpp"
12684|      0|    break;
12685|       |
12686|      0|  case 647: /* selection_statement: attribute selection_statement_nonattributed  */
  ------------------
  |  Branch (12686:3): [True: 0, False: 1.17M]
  ------------------
12687|      0|#line 4189 "MachineIndependent/glslang.y"
12688|      0|                                                  {
12689|      0|        parseContext.requireExtensions((yyvsp[0].interm.intermNode)->getLoc(), 1, &E_GL_EXT_control_flow_attributes, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12690|      0|        parseContext.handleSelectionAttributes(*(yyvsp[-1].interm.attributes), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12691|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12692|      0|    }
12693|      0|#line 12694 "MachineIndependent/glslang_tab.cpp"
12694|      0|    break;
12695|       |
12696|      0|  case 648: /* selection_statement_nonattributed: IF LEFT_PAREN expression RIGHT_PAREN selection_rest_statement  */
  ------------------
  |  Branch (12696:3): [True: 0, False: 1.17M]
  ------------------
12697|      0|#line 4196 "MachineIndependent/glslang.y"
12698|      0|                                                                    {
12699|      0|        parseContext.boolCheck((yyvsp[-4].lex).loc, (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12700|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addSelection((yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.nodePair), (yyvsp[-4].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12701|      0|    }
12702|      0|#line 12703 "MachineIndependent/glslang_tab.cpp"
12703|      0|    break;
12704|       |
12705|      0|  case 649: /* selection_rest_statement: statement_scoped ELSE statement_scoped  */
  ------------------
  |  Branch (12705:3): [True: 0, False: 1.17M]
  ------------------
12706|      0|#line 4203 "MachineIndependent/glslang.y"
12707|      0|                                             {
12708|      0|        (yyval.interm.nodePair).node1 = (yyvsp[-2].interm.intermNode);
12709|      0|        (yyval.interm.nodePair).node2 = (yyvsp[0].interm.intermNode);
12710|      0|    }
12711|      0|#line 12712 "MachineIndependent/glslang_tab.cpp"
12712|      0|    break;
12713|       |
12714|      0|  case 650: /* selection_rest_statement: statement_scoped  */
  ------------------
  |  Branch (12714:3): [True: 0, False: 1.17M]
  ------------------
12715|      0|#line 4207 "MachineIndependent/glslang.y"
12716|      0|                       {
12717|      0|        (yyval.interm.nodePair).node1 = (yyvsp[0].interm.intermNode);
12718|      0|        (yyval.interm.nodePair).node2 = 0;
12719|      0|    }
12720|      0|#line 12721 "MachineIndependent/glslang_tab.cpp"
12721|      0|    break;
12722|       |
12723|      0|  case 651: /* condition: expression  */
  ------------------
  |  Branch (12723:3): [True: 0, False: 1.17M]
  ------------------
12724|      0|#line 4215 "MachineIndependent/glslang.y"
12725|      0|                 {
12726|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermTypedNode);
12727|      0|        parseContext.boolCheck((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12728|      0|    }
12729|      0|#line 12730 "MachineIndependent/glslang_tab.cpp"
12730|      0|    break;
12731|       |
12732|      0|  case 652: /* condition: fully_specified_type IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (12732:3): [True: 0, False: 1.17M]
  ------------------
12733|      0|#line 4219 "MachineIndependent/glslang.y"
12734|      0|                                                        {
12735|      0|        parseContext.boolCheck((yyvsp[-2].lex).loc, (yyvsp[-3].interm.type));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12736|       |
12737|      0|        TType type((yyvsp[-3].interm.type));
12738|      0|        (yyval.interm.intermNode) = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[-3].interm.type), 0, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12739|      0|    }
12740|      0|#line 12741 "MachineIndependent/glslang_tab.cpp"
12741|      0|    break;
12742|       |
12743|      0|  case 653: /* switch_statement: switch_statement_nonattributed  */
  ------------------
  |  Branch (12743:3): [True: 0, False: 1.17M]
  ------------------
12744|      0|#line 4228 "MachineIndependent/glslang.y"
12745|      0|                                     {
12746|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12747|      0|    }
12748|      0|#line 12749 "MachineIndependent/glslang_tab.cpp"
12749|      0|    break;
12750|       |
12751|      0|  case 654: /* switch_statement: attribute switch_statement_nonattributed  */
  ------------------
  |  Branch (12751:3): [True: 0, False: 1.17M]
  ------------------
12752|      0|#line 4231 "MachineIndependent/glslang.y"
12753|      0|                                               {
12754|      0|        parseContext.requireExtensions((yyvsp[0].interm.intermNode)->getLoc(), 1, &E_GL_EXT_control_flow_attributes, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12755|      0|        parseContext.handleSwitchAttributes(*(yyvsp[-1].interm.attributes), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12756|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12757|      0|    }
12758|      0|#line 12759 "MachineIndependent/glslang_tab.cpp"
12759|      0|    break;
12760|       |
12761|      0|  case 655: /* $@10: %empty  */
  ------------------
  |  Branch (12761:3): [True: 0, False: 1.17M]
  ------------------
12762|      0|#line 4238 "MachineIndependent/glslang.y"
12763|      0|                                               {
12764|       |        // start new switch sequence on the switch stack
12765|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12766|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12767|      0|        parseContext.switchSequenceStack.push_back(new TIntermSequence);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12768|      0|        parseContext.switchLevel.push_back(parseContext.statementNestingLevel);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.switchLevel.push_back(parseContext.statementNestingLevel);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12769|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12770|      0|    }
12771|      0|#line 12772 "MachineIndependent/glslang_tab.cpp"
12772|      0|    break;
12773|       |
12774|      0|  case 656: /* switch_statement_nonattributed: SWITCH LEFT_PAREN expression RIGHT_PAREN $@10 LEFT_BRACE switch_statement_list RIGHT_BRACE  */
  ------------------
  |  Branch (12774:3): [True: 0, False: 1.17M]
  ------------------
12775|      0|#line 4246 "MachineIndependent/glslang.y"
12776|      0|                                                 {
12777|      0|        (yyval.interm.intermNode) = parseContext.addSwitch((yyvsp[-7].lex).loc, (yyvsp[-5].interm.intermTypedNode), (yyvsp[-1].interm.intermNode) ? (yyvsp[-1].interm.intermNode)->getAsAggregate() : 0);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12777:117): [True: 0, False: 0]
  ------------------
12778|      0|        delete parseContext.switchSequenceStack.back();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12779|      0|        parseContext.switchSequenceStack.pop_back();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12780|      0|        parseContext.switchLevel.pop_back();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12781|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12782|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12783|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12784|      0|    }
12785|      0|#line 12786 "MachineIndependent/glslang_tab.cpp"
12786|      0|    break;
12787|       |
12788|      0|  case 657: /* switch_statement_list: %empty  */
  ------------------
  |  Branch (12788:3): [True: 0, False: 1.17M]
  ------------------
12789|      0|#line 4258 "MachineIndependent/glslang.y"
12790|      0|                    {
12791|      0|        (yyval.interm.intermNode) = 0;
12792|      0|    }
12793|      0|#line 12794 "MachineIndependent/glslang_tab.cpp"
12794|      0|    break;
12795|       |
12796|      0|  case 658: /* switch_statement_list: statement_list  */
  ------------------
  |  Branch (12796:3): [True: 0, False: 1.17M]
  ------------------
12797|      0|#line 4261 "MachineIndependent/glslang.y"
12798|      0|                     {
12799|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12800|      0|    }
12801|      0|#line 12802 "MachineIndependent/glslang_tab.cpp"
12802|      0|    break;
12803|       |
12804|      0|  case 659: /* case_label: CASE expression COLON  */
  ------------------
  |  Branch (12804:3): [True: 0, False: 1.17M]
  ------------------
12805|      0|#line 4267 "MachineIndependent/glslang.y"
12806|      0|                            {
12807|      0|        (yyval.interm.intermNode) = 0;
12808|      0|        if (parseContext.switchLevel.size() == 0)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12808:13): [True: 0, False: 0]
  ------------------
12809|      0|            parseContext.error((yyvsp[-2].lex).loc, "cannot appear outside switch statement", "case", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12810|      0|        else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12810:18): [True: 0, False: 0]
  ------------------
12811|      0|            parseContext.error((yyvsp[-2].lex).loc, "cannot be nested inside control flow", "case", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12812|      0|        else {
12813|      0|            parseContext.constantValueCheck((yyvsp[-1].interm.intermTypedNode), "case");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12814|      0|            parseContext.integerCheck((yyvsp[-1].interm.intermTypedNode), "case");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12815|      0|            (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpCase, (yyvsp[-1].interm.intermTypedNode), (yyvsp[-2].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12816|      0|        }
12817|      0|    }
12818|      0|#line 12819 "MachineIndependent/glslang_tab.cpp"
12819|      0|    break;
12820|       |
12821|      0|  case 660: /* case_label: DEFAULT COLON  */
  ------------------
  |  Branch (12821:3): [True: 0, False: 1.17M]
  ------------------
12822|      0|#line 4279 "MachineIndependent/glslang.y"
12823|      0|                    {
12824|      0|        (yyval.interm.intermNode) = 0;
12825|      0|        if (parseContext.switchLevel.size() == 0)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12825:13): [True: 0, False: 0]
  ------------------
12826|      0|            parseContext.error((yyvsp[-1].lex).loc, "cannot appear outside switch statement", "default", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12827|      0|        else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12827:18): [True: 0, False: 0]
  ------------------
12828|      0|            parseContext.error((yyvsp[-1].lex).loc, "cannot be nested inside control flow", "default", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12829|      0|        else
12830|      0|            (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpDefault, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12831|      0|    }
12832|      0|#line 12833 "MachineIndependent/glslang_tab.cpp"
12833|      0|    break;
12834|       |
12835|      0|  case 661: /* iteration_statement: iteration_statement_nonattributed  */
  ------------------
  |  Branch (12835:3): [True: 0, False: 1.17M]
  ------------------
12836|      0|#line 4291 "MachineIndependent/glslang.y"
12837|      0|                                        {
12838|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12839|      0|    }
12840|      0|#line 12841 "MachineIndependent/glslang_tab.cpp"
12841|      0|    break;
12842|       |
12843|      0|  case 662: /* iteration_statement: attribute iteration_statement_nonattributed  */
  ------------------
  |  Branch (12843:3): [True: 0, False: 1.17M]
  ------------------
12844|      0|#line 4294 "MachineIndependent/glslang.y"
12845|      0|                                                  {
12846|      0|        const char * extensions[3] = { E_GL_EXT_control_flow_attributes, E_GL_EXT_control_flow_attributes2, E_GL_QCOM_multiple_wait_queues };
12847|      0|        parseContext.requireExtensions((yyvsp[0].interm.intermNode)->getLoc(), 3, extensions, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12848|      0|        parseContext.handleLoopAttributes(*(yyvsp[-1].interm.attributes), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12849|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12850|      0|    }
12851|      0|#line 12852 "MachineIndependent/glslang_tab.cpp"
12852|      0|    break;
12853|       |
12854|      0|  case 663: /* $@11: %empty  */
  ------------------
  |  Branch (12854:3): [True: 0, False: 1.17M]
  ------------------
12855|      0|#line 4302 "MachineIndependent/glslang.y"
12856|      0|                       {
12857|      0|        if (! parseContext.limits.whileLoops)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12857:13): [True: 0, False: 0]
  ------------------
12858|      0|            parseContext.error((yyvsp[-1].lex).loc, "while loops not available", "limitation", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12859|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12860|      0|        ++parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12861|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12862|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12863|      0|    }
12864|      0|#line 12865 "MachineIndependent/glslang_tab.cpp"
12865|      0|    break;
12866|       |
12867|      0|  case 664: /* iteration_statement_nonattributed: WHILE LEFT_PAREN $@11 condition RIGHT_PAREN statement_no_new_scope  */
  ------------------
  |  Branch (12867:3): [True: 0, False: 1.17M]
  ------------------
12868|      0|#line 4310 "MachineIndependent/glslang.y"
12869|      0|                                                   {
12870|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12871|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addLoop((yyvsp[0].interm.intermNode), (yyvsp[-2].interm.intermNode), 0, true, (yyvsp[-5].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12872|      0|        if (parseContext.intermediate.getDebugInfo()) {
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12872:13): [True: 0, False: 0]
  ------------------
12873|      0|            (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyval.interm.intermNode), (yyvsp[-5].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12874|      0|            (yyval.interm.intermNode)->getAsAggregate()->setOperator(EOpScope);
12875|      0|        }
12876|      0|        --parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12877|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12878|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12879|      0|    }
12880|      0|#line 12881 "MachineIndependent/glslang_tab.cpp"
12881|      0|    break;
12882|       |
12883|      0|  case 665: /* $@12: %empty  */
  ------------------
  |  Branch (12883:3): [True: 0, False: 1.17M]
  ------------------
12884|      0|#line 4321 "MachineIndependent/glslang.y"
12885|      0|         {
12886|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12887|      0|        ++parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12888|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12889|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12890|      0|    }
12891|      0|#line 12892 "MachineIndependent/glslang_tab.cpp"
12892|      0|    break;
12893|       |
12894|      0|  case 666: /* iteration_statement_nonattributed: DO $@12 statement WHILE LEFT_PAREN expression RIGHT_PAREN SEMICOLON  */
  ------------------
  |  Branch (12894:3): [True: 0, False: 1.17M]
  ------------------
12895|      0|#line 4327 "MachineIndependent/glslang.y"
12896|      0|                                                                  {
12897|      0|        if (! parseContext.limits.whileLoops)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12897:13): [True: 0, False: 0]
  ------------------
12898|      0|            parseContext.error((yyvsp[-7].lex).loc, "do-while loops not available", "limitation", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12899|       |
12900|      0|        parseContext.boolCheck((yyvsp[0].lex).loc, (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12901|       |
12902|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addLoop((yyvsp[-5].interm.intermNode), (yyvsp[-2].interm.intermTypedNode), 0, false, (yyvsp[-4].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12903|      0|        if (parseContext.intermediate.getDebugInfo()) {
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12903:13): [True: 0, False: 0]
  ------------------
12904|      0|            (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyval.interm.intermNode), (yyvsp[-4].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12905|      0|            (yyval.interm.intermNode)->getAsAggregate()->setOperator(EOpScope);
12906|      0|        }
12907|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12908|      0|        --parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12909|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12910|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12911|      0|    }
12912|      0|#line 12913 "MachineIndependent/glslang_tab.cpp"
12913|      0|    break;
12914|       |
12915|      0|  case 667: /* $@13: %empty  */
  ------------------
  |  Branch (12915:3): [True: 0, False: 1.17M]
  ------------------
12916|      0|#line 4343 "MachineIndependent/glslang.y"
12917|      0|                     {
12918|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12919|      0|        ++parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12920|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12921|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12922|      0|    }
12923|      0|#line 12924 "MachineIndependent/glslang_tab.cpp"
12924|      0|    break;
12925|       |
12926|      0|  case 668: /* iteration_statement_nonattributed: FOR LEFT_PAREN $@13 for_init_statement for_rest_statement RIGHT_PAREN statement_no_new_scope  */
  ------------------
  |  Branch (12926:3): [True: 0, False: 1.17M]
  ------------------
12927|      0|#line 4349 "MachineIndependent/glslang.y"
12928|      0|                                                                               {
12929|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12930|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[-3].interm.intermNode), (yyvsp[-5].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12931|      0|        TIntermLoop* forLoop = parseContext.intermediate.addLoop((yyvsp[0].interm.intermNode), reinterpret_cast<TIntermTyped*>((yyvsp[-2].interm.nodePair).node1), reinterpret_cast<TIntermTyped*>((yyvsp[-2].interm.nodePair).node2), true, (yyvsp[-6].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12932|      0|        if (! parseContext.limits.nonInductiveForLoops)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12932:13): [True: 0, False: 0]
  ------------------
12933|      0|            parseContext.inductiveLoopCheck((yyvsp[-6].lex).loc, (yyvsp[-3].interm.intermNode), forLoop);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12934|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyval.interm.intermNode), forLoop, (yyvsp[-6].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12935|      0|        (yyval.interm.intermNode)->getAsAggregate()->setOperator(parseContext.intermediate.getDebugInfo() ? EOpScope : EOpSequence);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12935:66): [True: 0, False: 0]
  ------------------
12936|      0|        --parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12937|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12938|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12939|      0|    }
12940|      0|#line 12941 "MachineIndependent/glslang_tab.cpp"
12941|      0|    break;
12942|       |
12943|      0|  case 669: /* for_init_statement: expression_statement  */
  ------------------
  |  Branch (12943:3): [True: 0, False: 1.17M]
  ------------------
12944|      0|#line 4364 "MachineIndependent/glslang.y"
12945|      0|                           {
12946|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12947|      0|    }
12948|      0|#line 12949 "MachineIndependent/glslang_tab.cpp"
12949|      0|    break;
12950|       |
12951|      0|  case 670: /* for_init_statement: declaration_statement  */
  ------------------
  |  Branch (12951:3): [True: 0, False: 1.17M]
  ------------------
12952|      0|#line 4367 "MachineIndependent/glslang.y"
12953|      0|                            {
12954|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12955|      0|    }
12956|      0|#line 12957 "MachineIndependent/glslang_tab.cpp"
12957|      0|    break;
12958|       |
12959|      0|  case 671: /* conditionopt: condition  */
  ------------------
  |  Branch (12959:3): [True: 0, False: 1.17M]
  ------------------
12960|      0|#line 4373 "MachineIndependent/glslang.y"
12961|      0|                {
12962|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12963|      0|    }
12964|      0|#line 12965 "MachineIndependent/glslang_tab.cpp"
12965|      0|    break;
12966|       |
12967|      0|  case 672: /* conditionopt: %empty  */
  ------------------
  |  Branch (12967:3): [True: 0, False: 1.17M]
  ------------------
12968|      0|#line 4376 "MachineIndependent/glslang.y"
12969|      0|                        {
12970|      0|        (yyval.interm.intermNode) = 0;
12971|      0|    }
12972|      0|#line 12973 "MachineIndependent/glslang_tab.cpp"
12973|      0|    break;
12974|       |
12975|      0|  case 673: /* for_rest_statement: conditionopt SEMICOLON  */
  ------------------
  |  Branch (12975:3): [True: 0, False: 1.17M]
  ------------------
12976|      0|#line 4382 "MachineIndependent/glslang.y"
12977|      0|                             {
12978|      0|        (yyval.interm.nodePair).node1 = (yyvsp[-1].interm.intermNode);
12979|      0|        (yyval.interm.nodePair).node2 = 0;
12980|      0|    }
12981|      0|#line 12982 "MachineIndependent/glslang_tab.cpp"
12982|      0|    break;
12983|       |
12984|      0|  case 674: /* for_rest_statement: conditionopt SEMICOLON expression  */
  ------------------
  |  Branch (12984:3): [True: 0, False: 1.17M]
  ------------------
12985|      0|#line 4386 "MachineIndependent/glslang.y"
12986|      0|                                         {
12987|      0|        (yyval.interm.nodePair).node1 = (yyvsp[-2].interm.intermNode);
12988|      0|        (yyval.interm.nodePair).node2 = (yyvsp[0].interm.intermTypedNode);
12989|      0|    }
12990|      0|#line 12991 "MachineIndependent/glslang_tab.cpp"
12991|      0|    break;
12992|       |
12993|      0|  case 675: /* jump_statement: CONTINUE SEMICOLON  */
  ------------------
  |  Branch (12993:3): [True: 0, False: 1.17M]
  ------------------
12994|      0|#line 4393 "MachineIndependent/glslang.y"
12995|      0|                         {
12996|      0|        if (parseContext.loopNestingLevel <= 0)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12996:13): [True: 0, False: 0]
  ------------------
12997|      0|            parseContext.error((yyvsp[-1].lex).loc, "continue statement only allowed in loops", "", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12998|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpContinue, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12999|      0|    }
13000|      0|#line 13001 "MachineIndependent/glslang_tab.cpp"
13001|      0|    break;
13002|       |
13003|      0|  case 676: /* jump_statement: BREAK SEMICOLON  */
  ------------------
  |  Branch (13003:3): [True: 0, False: 1.17M]
  ------------------
13004|      0|#line 4398 "MachineIndependent/glslang.y"
13005|      0|                      {
13006|      0|        if (parseContext.loopNestingLevel + parseContext.switchSequenceStack.size() <= 0)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.loopNestingLevel + parseContext.switchSequenceStack.size() <= 0)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13006:13): [True: 0, False: 0]
  ------------------
13007|      0|            parseContext.error((yyvsp[-1].lex).loc, "break statement only allowed in switch and loops", "", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13008|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpBreak, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13009|      0|    }
13010|      0|#line 13011 "MachineIndependent/glslang_tab.cpp"
13011|      0|    break;
13012|       |
13013|      0|  case 677: /* jump_statement: RETURN SEMICOLON  */
  ------------------
  |  Branch (13013:3): [True: 0, False: 1.17M]
  ------------------
13014|      0|#line 4403 "MachineIndependent/glslang.y"
13015|      0|                       {
13016|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpReturn, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13017|      0|        if (parseContext.currentFunctionType->getBasicType() != EbtVoid)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13017:13): [True: 0, False: 0]
  ------------------
13018|      0|            parseContext.error((yyvsp[-1].lex).loc, "non-void function must return a value", "return", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13019|      0|        if (parseContext.inMain)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13019:13): [True: 0, False: 0]
  ------------------
13020|      0|            parseContext.postEntryPointReturn = true;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13021|      0|    }
13022|      0|#line 13023 "MachineIndependent/glslang_tab.cpp"
13023|      0|    break;
13024|       |
13025|      0|  case 678: /* jump_statement: RETURN expression SEMICOLON  */
  ------------------
  |  Branch (13025:3): [True: 0, False: 1.17M]
  ------------------
13026|      0|#line 4410 "MachineIndependent/glslang.y"
13027|      0|                                  {
13028|      0|        (yyval.interm.intermNode) = parseContext.handleReturnValue((yyvsp[-2].lex).loc, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13029|      0|    }
13030|      0|#line 13031 "MachineIndependent/glslang_tab.cpp"
13031|      0|    break;
13032|       |
13033|      0|  case 679: /* jump_statement: DISCARD SEMICOLON  */
  ------------------
  |  Branch (13033:3): [True: 0, False: 1.17M]
  ------------------
13034|      0|#line 4413 "MachineIndependent/glslang.y"
13035|      0|                        {
13036|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangFragment, "discard");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13037|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpKill, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13038|      0|    }
13039|      0|#line 13040 "MachineIndependent/glslang_tab.cpp"
13040|      0|    break;
13041|       |
13042|      0|  case 680: /* jump_statement: TERMINATE_INVOCATION SEMICOLON  */
  ------------------
  |  Branch (13042:3): [True: 0, False: 1.17M]
  ------------------
13043|      0|#line 4417 "MachineIndependent/glslang.y"
13044|      0|                                     {
13045|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangFragment, "terminateInvocation");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13046|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpTerminateInvocation, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13047|      0|    }
13048|      0|#line 13049 "MachineIndependent/glslang_tab.cpp"
13049|      0|    break;
13050|       |
13051|      0|  case 681: /* jump_statement: TERMINATE_RAY SEMICOLON  */
  ------------------
  |  Branch (13051:3): [True: 0, False: 1.17M]
  ------------------
13052|      0|#line 4421 "MachineIndependent/glslang.y"
13053|      0|                              {
13054|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangAnyHit, "terminateRayEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13055|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpTerminateRayKHR, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13056|      0|    }
13057|      0|#line 13058 "MachineIndependent/glslang_tab.cpp"
13058|      0|    break;
13059|       |
13060|      0|  case 682: /* jump_statement: IGNORE_INTERSECTION SEMICOLON  */
  ------------------
  |  Branch (13060:3): [True: 0, False: 1.17M]
  ------------------
13061|      0|#line 4425 "MachineIndependent/glslang.y"
13062|      0|                                    {
13063|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangAnyHit, "ignoreIntersectionEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13064|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpIgnoreIntersectionKHR, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13065|      0|    }
13066|      0|#line 13067 "MachineIndependent/glslang_tab.cpp"
13067|      0|    break;
13068|       |
13069|    202|  case 683: /* translation_unit: external_declaration  */
  ------------------
  |  Branch (13069:3): [True: 202, False: 1.17M]
  ------------------
13070|    202|#line 4434 "MachineIndependent/glslang.y"
13071|    202|                           {
13072|    202|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
13073|    202|        parseContext.intermediate.setTreeRoot((yyval.interm.intermNode));
  ------------------
  |  |  783|    202|#define parseContext (*pParseContext)
  ------------------
13074|    202|    }
13075|    202|#line 13076 "MachineIndependent/glslang_tab.cpp"
13076|    202|    break;
13077|       |
13078|  44.2k|  case 684: /* translation_unit: translation_unit external_declaration  */
  ------------------
  |  Branch (13078:3): [True: 44.2k, False: 1.13M]
  ------------------
13079|  44.2k|#line 4438 "MachineIndependent/glslang.y"
13080|  44.2k|                                            {
13081|  44.2k|        if ((yyvsp[0].interm.intermNode) != nullptr) {
  ------------------
  |  Branch (13081:13): [True: 0, False: 44.2k]
  ------------------
13082|      0|            (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-1].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13083|      0|            parseContext.intermediate.setTreeRoot((yyval.interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13084|      0|        }
13085|  44.2k|    }
13086|  44.2k|#line 13087 "MachineIndependent/glslang_tab.cpp"
13087|  44.2k|    break;
13088|       |
13089|      0|  case 685: /* external_declaration: function_definition  */
  ------------------
  |  Branch (13089:3): [True: 0, False: 1.17M]
  ------------------
13090|      0|#line 4447 "MachineIndependent/glslang.y"
13091|      0|                          {
13092|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
13093|      0|    }
13094|      0|#line 13095 "MachineIndependent/glslang_tab.cpp"
13095|      0|    break;
13096|       |
13097|  44.4k|  case 686: /* external_declaration: declaration  */
  ------------------
  |  Branch (13097:3): [True: 44.4k, False: 1.13M]
  ------------------
13098|  44.4k|#line 4450 "MachineIndependent/glslang.y"
13099|  44.4k|                  {
13100|  44.4k|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
13101|  44.4k|    }
13102|  44.4k|#line 13103 "MachineIndependent/glslang_tab.cpp"
13103|  44.4k|    break;
13104|       |
13105|      0|  case 687: /* external_declaration: SEMICOLON  */
  ------------------
  |  Branch (13105:3): [True: 0, False: 1.17M]
  ------------------
13106|      0|#line 4453 "MachineIndependent/glslang.y"
13107|      0|                {
13108|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ~EEsProfile, "extraneous semicolon");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13109|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ~EEsProfile, 460, nullptr, "extraneous semicolon");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13110|      0|        (yyval.interm.intermNode) = nullptr;
13111|      0|    }
13112|      0|#line 13113 "MachineIndependent/glslang_tab.cpp"
13113|      0|    break;
13114|       |
13115|      0|  case 688: /* $@14: %empty  */
  ------------------
  |  Branch (13115:3): [True: 0, False: 1.17M]
  ------------------
13116|      0|#line 4461 "MachineIndependent/glslang.y"
13117|      0|                         {
13118|      0|        (yyvsp[0].interm).function = parseContext.handleFunctionDeclarator((yyvsp[0].interm).loc, *(yyvsp[0].interm).function, false /* not prototype */);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13119|      0|        (yyvsp[0].interm).intermNode = parseContext.handleFunctionDefinition((yyvsp[0].interm).loc, *(yyvsp[0].interm).function);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13120|       |
13121|       |        // For ES 100 only, according to ES shading language 100 spec: A function
13122|       |        // body has a scope nested inside the function's definition.
13123|      0|        if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13123:13): [True: 0, False: 0]
  |  Branch (13123:51): [True: 0, False: 0]
  ------------------
13124|      0|        {
13125|      0|            parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13126|      0|            ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13127|      0|        }
13128|      0|    }
13129|      0|#line 13130 "MachineIndependent/glslang_tab.cpp"
13130|      0|    break;
13131|       |
13132|      0|  case 689: /* function_definition: function_prototype $@14 compound_statement_no_new_scope  */
  ------------------
  |  Branch (13132:3): [True: 0, False: 1.17M]
  ------------------
13133|      0|#line 4473 "MachineIndependent/glslang.y"
13134|      0|                                    {
13135|       |        //   May be best done as post process phase on intermediate code
13136|      0|        if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsValue)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsValue)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13136:13): [True: 0, False: 0]
  |  Branch (13136:76): [True: 0, False: 0]
  ------------------
13137|      0|            parseContext.error((yyvsp[-2].interm).loc, "function does not return a value:", "", (yyvsp[-2].interm).function->getName().c_str());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13138|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13139|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13140|      0|        (yyval.interm.intermNode)->getAsAggregate()->setLinkType((yyvsp[-2].interm).function->getLinkType());
13141|      0|        (yyval.interm.intermNode)->getAsAggregate()->setFunctionControl((yyvsp[-2].interm).function->getFunctionControl());
13142|      0|        parseContext.intermediate.setAggregateOperator((yyval.interm.intermNode), EOpFunction, (yyvsp[-2].interm).function->getType(), (yyvsp[-2].interm).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13143|      0|        (yyval.interm.intermNode)->getAsAggregate()->setName((yyvsp[-2].interm).function->getMangledName().c_str());
13144|       |
13145|       |        // store the pragma information for debug and optimize and other vendor specific
13146|       |        // information. This information can be queried from the parse tree
13147|      0|        (yyval.interm.intermNode)->getAsAggregate()->setOptimize(parseContext.contextPragma.optimize);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13148|      0|        (yyval.interm.intermNode)->getAsAggregate()->setDebug(parseContext.contextPragma.debug);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13149|      0|        (yyval.interm.intermNode)->getAsAggregate()->setPragmaTable(parseContext.contextPragma.pragmaTable);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13150|       |
13151|       |        // Set currentFunctionType to empty pointer when goes outside of the function
13152|      0|        parseContext.currentFunctionType = nullptr;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13153|       |
13154|       |        // For ES 100 only, according to ES shading language 100 spec: A function
13155|       |        // body has a scope nested inside the function's definition.
13156|      0|        if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13156:13): [True: 0, False: 0]
  |  Branch (13156:51): [True: 0, False: 0]
  ------------------
13157|      0|        {
13158|      0|            parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13159|      0|            --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13160|      0|        }
13161|      0|    }
13162|      0|#line 13163 "MachineIndependent/glslang_tab.cpp"
13163|      0|    break;
13164|       |
13165|      0|  case 690: /* attribute: LEFT_BRACKET LEFT_BRACKET attribute_list RIGHT_BRACKET RIGHT_BRACKET  */
  ------------------
  |  Branch (13165:3): [True: 0, False: 1.17M]
  ------------------
13166|      0|#line 4504 "MachineIndependent/glslang.y"
13167|      0|                                                                           {
13168|      0|        (yyval.interm.attributes) = (yyvsp[-2].interm.attributes);
13169|      0|    }
13170|      0|#line 13171 "MachineIndependent/glslang_tab.cpp"
13171|      0|    break;
13172|       |
13173|      0|  case 691: /* attribute_list: single_attribute  */
  ------------------
  |  Branch (13173:3): [True: 0, False: 1.17M]
  ------------------
13174|      0|#line 4509 "MachineIndependent/glslang.y"
13175|      0|                       {
13176|      0|        (yyval.interm.attributes) = (yyvsp[0].interm.attributes);
13177|      0|    }
13178|      0|#line 13179 "MachineIndependent/glslang_tab.cpp"
13179|      0|    break;
13180|       |
13181|      0|  case 692: /* attribute_list: attribute_list COMMA single_attribute  */
  ------------------
  |  Branch (13181:3): [True: 0, False: 1.17M]
  ------------------
13182|      0|#line 4512 "MachineIndependent/glslang.y"
13183|      0|                                            {
13184|      0|        (yyval.interm.attributes) = parseContext.mergeAttributes((yyvsp[-2].interm.attributes), (yyvsp[0].interm.attributes));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13185|      0|    }
13186|      0|#line 13187 "MachineIndependent/glslang_tab.cpp"
13187|      0|    break;
13188|       |
13189|      0|  case 693: /* single_attribute: IDENTIFIER  */
  ------------------
  |  Branch (13189:3): [True: 0, False: 1.17M]
  ------------------
13190|      0|#line 4517 "MachineIndependent/glslang.y"
13191|      0|                 {
13192|      0|        (yyval.interm.attributes) = parseContext.makeAttributes(*(yyvsp[0].lex).string);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13193|      0|    }
13194|      0|#line 13195 "MachineIndependent/glslang_tab.cpp"
13195|      0|    break;
13196|       |
13197|      0|  case 694: /* single_attribute: IDENTIFIER LEFT_PAREN constant_expression RIGHT_PAREN  */
  ------------------
  |  Branch (13197:3): [True: 0, False: 1.17M]
  ------------------
13198|      0|#line 4520 "MachineIndependent/glslang.y"
13199|      0|                                                            {
13200|      0|        (yyval.interm.attributes) = parseContext.makeAttributes(*(yyvsp[-3].lex).string, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13201|      0|    }
13202|      0|#line 13203 "MachineIndependent/glslang_tab.cpp"
13203|      0|    break;
13204|       |
13205|      0|  case 695: /* single_attribute: INLINE  */
  ------------------
  |  Branch (13205:3): [True: 0, False: 1.17M]
  ------------------
13206|      0|#line 4523 "MachineIndependent/glslang.y"
13207|      0|             {
13208|      0|        (yyval.interm.attributes) = parseContext.makeAttributes(TString("inline"));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13209|      0|    }
13210|      0|#line 13211 "MachineIndependent/glslang_tab.cpp"
13211|      0|    break;
13212|       |
13213|      0|  case 696: /* single_attribute: NOINLINE  */
  ------------------
  |  Branch (13213:3): [True: 0, False: 1.17M]
  ------------------
13214|      0|#line 4526 "MachineIndependent/glslang.y"
13215|      0|               {
13216|      0|        (yyval.interm.attributes) = parseContext.makeAttributes(TString("noinline"));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13217|      0|    }
13218|      0|#line 13219 "MachineIndependent/glslang_tab.cpp"
13219|      0|    break;
13220|       |
13221|      0|  case 697: /* spirv_requirements_list: spirv_requirements_parameter  */
  ------------------
  |  Branch (13221:3): [True: 0, False: 1.17M]
  ------------------
13222|      0|#line 4531 "MachineIndependent/glslang.y"
13223|      0|                                   {
13224|      0|        (yyval.interm.spirvReq) = (yyvsp[0].interm.spirvReq);
13225|      0|    }
13226|      0|#line 13227 "MachineIndependent/glslang_tab.cpp"
13227|      0|    break;
13228|       |
13229|      0|  case 698: /* spirv_requirements_list: spirv_requirements_list COMMA spirv_requirements_parameter  */
  ------------------
  |  Branch (13229:3): [True: 0, False: 1.17M]
  ------------------
13230|      0|#line 4534 "MachineIndependent/glslang.y"
13231|      0|                                                                 {
13232|      0|        (yyval.interm.spirvReq) = parseContext.mergeSpirvRequirements((yyvsp[-1].lex).loc, (yyvsp[-2].interm.spirvReq), (yyvsp[0].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13233|      0|    }
13234|      0|#line 13235 "MachineIndependent/glslang_tab.cpp"
13235|      0|    break;
13236|       |
13237|      0|  case 699: /* spirv_requirements_parameter: IDENTIFIER EQUAL LEFT_BRACKET spirv_extension_list RIGHT_BRACKET  */
  ------------------
  |  Branch (13237:3): [True: 0, False: 1.17M]
  ------------------
13238|      0|#line 4539 "MachineIndependent/glslang.y"
13239|      0|                                                                       {
13240|      0|        (yyval.interm.spirvReq) = parseContext.makeSpirvRequirement((yyvsp[-3].lex).loc, *(yyvsp[-4].lex).string, (yyvsp[-1].interm.intermNode)->getAsAggregate(), nullptr);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13241|      0|    }
13242|      0|#line 13243 "MachineIndependent/glslang_tab.cpp"
13243|      0|    break;
13244|       |
13245|      0|  case 700: /* spirv_requirements_parameter: IDENTIFIER EQUAL LEFT_BRACKET spirv_capability_list RIGHT_BRACKET  */
  ------------------
  |  Branch (13245:3): [True: 0, False: 1.17M]
  ------------------
13246|      0|#line 4542 "MachineIndependent/glslang.y"
13247|      0|                                                                        {
13248|      0|        (yyval.interm.spirvReq) = parseContext.makeSpirvRequirement((yyvsp[-3].lex).loc, *(yyvsp[-4].lex).string, nullptr, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13249|      0|    }
13250|      0|#line 13251 "MachineIndependent/glslang_tab.cpp"
13251|      0|    break;
13252|       |
13253|      0|  case 701: /* spirv_extension_list: STRING_LITERAL  */
  ------------------
  |  Branch (13253:3): [True: 0, False: 1.17M]
  ------------------
13254|      0|#line 4547 "MachineIndependent/glslang.y"
13255|      0|                     {
13256|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13257|      0|    }
13258|      0|#line 13259 "MachineIndependent/glslang_tab.cpp"
13259|      0|    break;
13260|       |
13261|      0|  case 702: /* spirv_extension_list: spirv_extension_list COMMA STRING_LITERAL  */
  ------------------
  |  Branch (13261:3): [True: 0, False: 1.17M]
  ------------------
13262|      0|#line 4550 "MachineIndependent/glslang.y"
13263|      0|                                                {
13264|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13265|      0|    }
13266|      0|#line 13267 "MachineIndependent/glslang_tab.cpp"
13267|      0|    break;
13268|       |
13269|      0|  case 703: /* spirv_capability_list: INTCONSTANT  */
  ------------------
  |  Branch (13269:3): [True: 0, False: 1.17M]
  ------------------
13270|      0|#line 4555 "MachineIndependent/glslang.y"
13271|      0|                  {
13272|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13273|      0|    }
13274|      0|#line 13275 "MachineIndependent/glslang_tab.cpp"
13275|      0|    break;
13276|       |
13277|      0|  case 704: /* spirv_capability_list: spirv_capability_list COMMA INTCONSTANT  */
  ------------------
  |  Branch (13277:3): [True: 0, False: 1.17M]
  ------------------
13278|      0|#line 4558 "MachineIndependent/glslang.y"
13279|      0|                                              {
13280|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13281|      0|    }
13282|      0|#line 13283 "MachineIndependent/glslang_tab.cpp"
13283|      0|    break;
13284|       |
13285|      0|  case 705: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13285:3): [True: 0, False: 1.17M]
  ------------------
13286|      0|#line 4563 "MachineIndependent/glslang.y"
13287|      0|                                                              {
13288|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-1].lex).i);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13289|      0|        (yyval.interm.intermNode) = 0;
13290|      0|    }
13291|      0|#line 13292 "MachineIndependent/glslang_tab.cpp"
13292|      0|    break;
13293|       |
13294|      0|  case 706: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13294:3): [True: 0, False: 1.17M]
  ------------------
13295|      0|#line 4567 "MachineIndependent/glslang.y"
13296|      0|                                                                                            {
13297|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13298|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-1].lex).i);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13299|      0|        (yyval.interm.intermNode) = 0;
13300|      0|    }
13301|      0|#line 13302 "MachineIndependent/glslang_tab.cpp"
13302|      0|    break;
13303|       |
13304|      0|  case 707: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN INTCONSTANT COMMA spirv_execution_mode_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13304:3): [True: 0, False: 1.17M]
  ------------------
13305|      0|#line 4572 "MachineIndependent/glslang.y"
13306|      0|                                                                                                        {
13307|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13308|      0|        (yyval.interm.intermNode) = 0;
13309|      0|    }
13310|      0|#line 13311 "MachineIndependent/glslang_tab.cpp"
13311|      0|    break;
13312|       |
13313|      0|  case 708: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_execution_mode_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13313:3): [True: 0, False: 1.17M]
  ------------------
13314|      0|#line 4576 "MachineIndependent/glslang.y"
13315|      0|                                                                                                                                      {
13316|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13317|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13318|      0|        (yyval.interm.intermNode) = 0;
13319|      0|    }
13320|      0|#line 13321 "MachineIndependent/glslang_tab.cpp"
13321|      0|    break;
13322|       |
13323|      0|  case 709: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE_ID LEFT_PAREN INTCONSTANT COMMA spirv_execution_mode_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13323:3): [True: 0, False: 1.17M]
  ------------------
13324|      0|#line 4581 "MachineIndependent/glslang.y"
13325|      0|                                                                                                              {
13326|      0|        parseContext.intermediate.insertSpirvExecutionModeId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13327|      0|        (yyval.interm.intermNode) = 0;
13328|      0|    }
13329|      0|#line 13330 "MachineIndependent/glslang_tab.cpp"
13330|      0|    break;
13331|       |
13332|      0|  case 710: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE_ID LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_execution_mode_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13332:3): [True: 0, False: 1.17M]
  ------------------
13333|      0|#line 4585 "MachineIndependent/glslang.y"
13334|      0|                                                                                                                                            {
13335|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13336|      0|        parseContext.intermediate.insertSpirvExecutionModeId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13337|      0|        (yyval.interm.intermNode) = 0;
13338|      0|    }
13339|      0|#line 13340 "MachineIndependent/glslang_tab.cpp"
13340|      0|    break;
13341|       |
13342|      0|  case 711: /* spirv_execution_mode_parameter_list: spirv_execution_mode_parameter  */
  ------------------
  |  Branch (13342:3): [True: 0, False: 1.17M]
  ------------------
13343|      0|#line 4592 "MachineIndependent/glslang.y"
13344|      0|                                     {
13345|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13346|      0|    }
13347|      0|#line 13348 "MachineIndependent/glslang_tab.cpp"
13348|      0|    break;
13349|       |
13350|      0|  case 712: /* spirv_execution_mode_parameter_list: spirv_execution_mode_parameter_list COMMA spirv_execution_mode_parameter  */
  ------------------
  |  Branch (13350:3): [True: 0, False: 1.17M]
  ------------------
13351|      0|#line 4595 "MachineIndependent/glslang.y"
13352|      0|                                                                               {
13353|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13354|      0|    }
13355|      0|#line 13356 "MachineIndependent/glslang_tab.cpp"
13356|      0|    break;
13357|       |
13358|      0|  case 713: /* spirv_execution_mode_parameter: FLOATCONSTANT  */
  ------------------
  |  Branch (13358:3): [True: 0, False: 1.17M]
  ------------------
13359|      0|#line 4600 "MachineIndependent/glslang.y"
13360|      0|                    {
13361|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13362|      0|    }
13363|      0|#line 13364 "MachineIndependent/glslang_tab.cpp"
13364|      0|    break;
13365|       |
13366|      0|  case 714: /* spirv_execution_mode_parameter: INTCONSTANT  */
  ------------------
  |  Branch (13366:3): [True: 0, False: 1.17M]
  ------------------
13367|      0|#line 4603 "MachineIndependent/glslang.y"
13368|      0|                  {
13369|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13370|      0|    }
13371|      0|#line 13372 "MachineIndependent/glslang_tab.cpp"
13372|      0|    break;
13373|       |
13374|      0|  case 715: /* spirv_execution_mode_parameter: UINTCONSTANT  */
  ------------------
  |  Branch (13374:3): [True: 0, False: 1.17M]
  ------------------
13375|      0|#line 4606 "MachineIndependent/glslang.y"
13376|      0|                   {
13377|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13378|      0|    }
13379|      0|#line 13380 "MachineIndependent/glslang_tab.cpp"
13380|      0|    break;
13381|       |
13382|      0|  case 716: /* spirv_execution_mode_parameter: BOOLCONSTANT  */
  ------------------
  |  Branch (13382:3): [True: 0, False: 1.17M]
  ------------------
13383|      0|#line 4609 "MachineIndependent/glslang.y"
13384|      0|                   {
13385|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13386|      0|    }
13387|      0|#line 13388 "MachineIndependent/glslang_tab.cpp"
13388|      0|    break;
13389|       |
13390|      0|  case 717: /* spirv_execution_mode_parameter: STRING_LITERAL  */
  ------------------
  |  Branch (13390:3): [True: 0, False: 1.17M]
  ------------------
13391|      0|#line 4612 "MachineIndependent/glslang.y"
13392|      0|                     {
13393|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13394|      0|    }
13395|      0|#line 13396 "MachineIndependent/glslang_tab.cpp"
13396|      0|    break;
13397|       |
13398|      0|  case 718: /* spirv_execution_mode_id_parameter_list: constant_expression  */
  ------------------
  |  Branch (13398:3): [True: 0, False: 1.17M]
  ------------------
13399|      0|#line 4617 "MachineIndependent/glslang.y"
13400|      0|                          {
13401|      0|        if ((yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (13401:13): [True: 0, False: 0]
  ------------------
13402|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtInt &&
  ------------------
  |  Branch (13402:13): [True: 0, False: 0]
  ------------------
13403|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtUint &&
  ------------------
  |  Branch (13403:13): [True: 0, False: 0]
  ------------------
13404|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtBool &&
  ------------------
  |  Branch (13404:13): [True: 0, False: 0]
  ------------------
13405|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtString)
  ------------------
  |  Branch (13405:13): [True: 0, False: 0]
  ------------------
13406|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "this type not allowed", (yyvsp[0].interm.intermTypedNode)->getType().getBasicString(), "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13407|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13408|      0|    }
13409|      0|#line 13410 "MachineIndependent/glslang_tab.cpp"
13410|      0|    break;
13411|       |
13412|      0|  case 719: /* spirv_execution_mode_id_parameter_list: spirv_execution_mode_id_parameter_list COMMA constant_expression  */
  ------------------
  |  Branch (13412:3): [True: 0, False: 1.17M]
  ------------------
13413|      0|#line 4626 "MachineIndependent/glslang.y"
13414|      0|                                                                       {
13415|      0|        if ((yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (13415:13): [True: 0, False: 0]
  ------------------
13416|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtInt &&
  ------------------
  |  Branch (13416:13): [True: 0, False: 0]
  ------------------
13417|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtUint &&
  ------------------
  |  Branch (13417:13): [True: 0, False: 0]
  ------------------
13418|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtBool &&
  ------------------
  |  Branch (13418:13): [True: 0, False: 0]
  ------------------
13419|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtString)
  ------------------
  |  Branch (13419:13): [True: 0, False: 0]
  ------------------
13420|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "this type not allowed", (yyvsp[0].interm.intermTypedNode)->getType().getBasicString(), "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13421|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13422|      0|    }
13423|      0|#line 13424 "MachineIndependent/glslang_tab.cpp"
13424|      0|    break;
13425|       |
13426|      0|  case 720: /* spirv_storage_class_qualifier: SPIRV_STORAGE_CLASS LEFT_PAREN INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13426:3): [True: 0, False: 1.17M]
  ------------------
13427|      0|#line 4637 "MachineIndependent/glslang.y"
13428|      0|                                                             {
13429|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc);
13430|      0|        (yyval.interm.type).qualifier.storage = EvqSpirvStorageClass;
13431|      0|        (yyval.interm.type).qualifier.spirvStorageClass = (yyvsp[-1].lex).i;
13432|      0|    }
13433|      0|#line 13434 "MachineIndependent/glslang_tab.cpp"
13434|      0|    break;
13435|       |
13436|      0|  case 721: /* spirv_storage_class_qualifier: SPIRV_STORAGE_CLASS LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13436:3): [True: 0, False: 1.17M]
  ------------------
13437|      0|#line 4642 "MachineIndependent/glslang.y"
13438|      0|                                                                                           {
13439|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13440|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13441|      0|        (yyval.interm.type).qualifier.storage = EvqSpirvStorageClass;
13442|      0|        (yyval.interm.type).qualifier.spirvStorageClass = (yyvsp[-1].lex).i;
13443|      0|    }
13444|      0|#line 13445 "MachineIndependent/glslang_tab.cpp"
13445|      0|    break;
13446|       |
13447|      0|  case 722: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13447:3): [True: 0, False: 1.17M]
  ------------------
13448|      0|#line 4650 "MachineIndependent/glslang.y"
13449|      0|                                                       {
13450|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc);
13451|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-1].lex).i);
13452|      0|    }
13453|      0|#line 13454 "MachineIndependent/glslang_tab.cpp"
13454|      0|    break;
13455|       |
13456|      0|  case 723: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13456:3): [True: 0, False: 1.17M]
  ------------------
13457|      0|#line 4654 "MachineIndependent/glslang.y"
13458|      0|                                                                                     {
13459|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13460|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13461|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-1].lex).i);
13462|      0|    }
13463|      0|#line 13464 "MachineIndependent/glslang_tab.cpp"
13464|      0|    break;
13465|       |
13466|      0|  case 724: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN INTCONSTANT COMMA spirv_decorate_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13466:3): [True: 0, False: 1.17M]
  ------------------
13467|      0|#line 4659 "MachineIndependent/glslang.y"
13468|      0|                                                                                            {
13469|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13470|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13471|      0|    }
13472|      0|#line 13473 "MachineIndependent/glslang_tab.cpp"
13473|      0|    break;
13474|       |
13475|      0|  case 725: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_decorate_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13475:3): [True: 0, False: 1.17M]
  ------------------
13476|      0|#line 4663 "MachineIndependent/glslang.y"
13477|      0|                                                                                                                          {
13478|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc);
13479|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13480|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13481|      0|    }
13482|      0|#line 13483 "MachineIndependent/glslang_tab.cpp"
13483|      0|    break;
13484|       |
13485|      0|  case 726: /* spirv_decorate_qualifier: SPIRV_DECORATE_ID LEFT_PAREN INTCONSTANT COMMA spirv_decorate_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13485:3): [True: 0, False: 1.17M]
  ------------------
13486|      0|#line 4668 "MachineIndependent/glslang.y"
13487|      0|                                                                                                  {
13488|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13489|      0|        (yyval.interm.type).qualifier.setSpirvDecorateId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13490|      0|    }
13491|      0|#line 13492 "MachineIndependent/glslang_tab.cpp"
13492|      0|    break;
13493|       |
13494|      0|  case 727: /* spirv_decorate_qualifier: SPIRV_DECORATE_ID LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_decorate_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13494:3): [True: 0, False: 1.17M]
  ------------------
13495|      0|#line 4672 "MachineIndependent/glslang.y"
13496|      0|                                                                                                                                {
13497|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc);
13498|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13499|      0|        (yyval.interm.type).qualifier.setSpirvDecorateId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13500|      0|    }
13501|      0|#line 13502 "MachineIndependent/glslang_tab.cpp"
13502|      0|    break;
13503|       |
13504|      0|  case 728: /* spirv_decorate_qualifier: SPIRV_DECORATE_STRING LEFT_PAREN INTCONSTANT COMMA spirv_decorate_string_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13504:3): [True: 0, False: 1.17M]
  ------------------
13505|      0|#line 4677 "MachineIndependent/glslang.y"
13506|      0|                                                                                                          {
13507|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13508|      0|        (yyval.interm.type).qualifier.setSpirvDecorateString((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13509|      0|    }
13510|      0|#line 13511 "MachineIndependent/glslang_tab.cpp"
13511|      0|    break;
13512|       |
13513|      0|  case 729: /* spirv_decorate_qualifier: SPIRV_DECORATE_STRING LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_decorate_string_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13513:3): [True: 0, False: 1.17M]
  ------------------
13514|      0|#line 4681 "MachineIndependent/glslang.y"
13515|      0|                                                                                                                                        {
13516|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc);
13517|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13518|      0|        (yyval.interm.type).qualifier.setSpirvDecorateString((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13519|      0|    }
13520|      0|#line 13521 "MachineIndependent/glslang_tab.cpp"
13521|      0|    break;
13522|       |
13523|      0|  case 730: /* spirv_decorate_parameter_list: spirv_decorate_parameter  */
  ------------------
  |  Branch (13523:3): [True: 0, False: 1.17M]
  ------------------
13524|      0|#line 4688 "MachineIndependent/glslang.y"
13525|      0|                               {
13526|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13527|      0|    }
13528|      0|#line 13529 "MachineIndependent/glslang_tab.cpp"
13529|      0|    break;
13530|       |
13531|      0|  case 731: /* spirv_decorate_parameter_list: spirv_decorate_parameter_list COMMA spirv_decorate_parameter  */
  ------------------
  |  Branch (13531:3): [True: 0, False: 1.17M]
  ------------------
13532|      0|#line 4691 "MachineIndependent/glslang.y"
13533|      0|                                                                   {
13534|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13535|      0|    }
13536|      0|#line 13537 "MachineIndependent/glslang_tab.cpp"
13537|      0|    break;
13538|       |
13539|      0|  case 732: /* spirv_decorate_parameter: FLOATCONSTANT  */
  ------------------
  |  Branch (13539:3): [True: 0, False: 1.17M]
  ------------------
13540|      0|#line 4696 "MachineIndependent/glslang.y"
13541|      0|                    {
13542|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13543|      0|    }
13544|      0|#line 13545 "MachineIndependent/glslang_tab.cpp"
13545|      0|    break;
13546|       |
13547|      0|  case 733: /* spirv_decorate_parameter: INTCONSTANT  */
  ------------------
  |  Branch (13547:3): [True: 0, False: 1.17M]
  ------------------
13548|      0|#line 4699 "MachineIndependent/glslang.y"
13549|      0|                  {
13550|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13551|      0|    }
13552|      0|#line 13553 "MachineIndependent/glslang_tab.cpp"
13553|      0|    break;
13554|       |
13555|      0|  case 734: /* spirv_decorate_parameter: UINTCONSTANT  */
  ------------------
  |  Branch (13555:3): [True: 0, False: 1.17M]
  ------------------
13556|      0|#line 4702 "MachineIndependent/glslang.y"
13557|      0|                   {
13558|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13559|      0|    }
13560|      0|#line 13561 "MachineIndependent/glslang_tab.cpp"
13561|      0|    break;
13562|       |
13563|      0|  case 735: /* spirv_decorate_parameter: BOOLCONSTANT  */
  ------------------
  |  Branch (13563:3): [True: 0, False: 1.17M]
  ------------------
13564|      0|#line 4705 "MachineIndependent/glslang.y"
13565|      0|                   {
13566|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13567|      0|    }
13568|      0|#line 13569 "MachineIndependent/glslang_tab.cpp"
13569|      0|    break;
13570|       |
13571|      0|  case 736: /* spirv_decorate_id_parameter_list: spirv_decorate_id_parameter  */
  ------------------
  |  Branch (13571:3): [True: 0, False: 1.17M]
  ------------------
13572|      0|#line 4710 "MachineIndependent/glslang.y"
13573|      0|                                  {
13574|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13575|      0|    }
13576|      0|#line 13577 "MachineIndependent/glslang_tab.cpp"
13577|      0|    break;
13578|       |
13579|      0|  case 737: /* spirv_decorate_id_parameter_list: spirv_decorate_id_parameter_list COMMA spirv_decorate_id_parameter  */
  ------------------
  |  Branch (13579:3): [True: 0, False: 1.17M]
  ------------------
13580|      0|#line 4713 "MachineIndependent/glslang.y"
13581|      0|                                                                         {
13582|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13583|      0|    }
13584|      0|#line 13585 "MachineIndependent/glslang_tab.cpp"
13585|      0|    break;
13586|       |
13587|      0|  case 738: /* spirv_decorate_id_parameter: variable_identifier  */
  ------------------
  |  Branch (13587:3): [True: 0, False: 1.17M]
  ------------------
13588|      0|#line 4718 "MachineIndependent/glslang.y"
13589|      0|                          {
13590|      0|        if ((yyvsp[0].interm.intermTypedNode)->getAsConstantUnion() || (yyvsp[0].interm.intermTypedNode)->getAsSymbolNode())
  ------------------
  |  Branch (13590:13): [True: 0, False: 0]
  |  Branch (13590:72): [True: 0, False: 0]
  ------------------
13591|      0|            (yyval.interm.intermNode) = (yyvsp[0].interm.intermTypedNode);
13592|      0|        else
13593|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "only allow constants or variables which are not elements of a composite", "", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13594|      0|    }
13595|      0|#line 13596 "MachineIndependent/glslang_tab.cpp"
13596|      0|    break;
13597|       |
13598|      0|  case 739: /* spirv_decorate_id_parameter: FLOATCONSTANT  */
  ------------------
  |  Branch (13598:3): [True: 0, False: 1.17M]
  ------------------
13599|      0|#line 4724 "MachineIndependent/glslang.y"
13600|      0|                    {
13601|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13602|      0|    }
13603|      0|#line 13604 "MachineIndependent/glslang_tab.cpp"
13604|      0|    break;
13605|       |
13606|      0|  case 740: /* spirv_decorate_id_parameter: INTCONSTANT  */
  ------------------
  |  Branch (13606:3): [True: 0, False: 1.17M]
  ------------------
13607|      0|#line 4727 "MachineIndependent/glslang.y"
13608|      0|                  {
13609|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13610|      0|    }
13611|      0|#line 13612 "MachineIndependent/glslang_tab.cpp"
13612|      0|    break;
13613|       |
13614|      0|  case 741: /* spirv_decorate_id_parameter: UINTCONSTANT  */
  ------------------
  |  Branch (13614:3): [True: 0, False: 1.17M]
  ------------------
13615|      0|#line 4730 "MachineIndependent/glslang.y"
13616|      0|                   {
13617|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13618|      0|    }
13619|      0|#line 13620 "MachineIndependent/glslang_tab.cpp"
13620|      0|    break;
13621|       |
13622|      0|  case 742: /* spirv_decorate_id_parameter: BOOLCONSTANT  */
  ------------------
  |  Branch (13622:3): [True: 0, False: 1.17M]
  ------------------
13623|      0|#line 4733 "MachineIndependent/glslang.y"
13624|      0|                   {
13625|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13626|      0|    }
13627|      0|#line 13628 "MachineIndependent/glslang_tab.cpp"
13628|      0|    break;
13629|       |
13630|      0|  case 743: /* spirv_decorate_string_parameter_list: STRING_LITERAL  */
  ------------------
  |  Branch (13630:3): [True: 0, False: 1.17M]
  ------------------
13631|      0|#line 4738 "MachineIndependent/glslang.y"
13632|      0|                     {
13633|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13634|      0|            parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13635|      0|    }
13636|      0|#line 13637 "MachineIndependent/glslang_tab.cpp"
13637|      0|    break;
13638|       |
13639|      0|  case 744: /* spirv_decorate_string_parameter_list: spirv_decorate_string_parameter_list COMMA STRING_LITERAL  */
  ------------------
  |  Branch (13639:3): [True: 0, False: 1.17M]
  ------------------
13640|      0|#line 4742 "MachineIndependent/glslang.y"
13641|      0|                                                                {
13642|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13643|      0|    }
13644|      0|#line 13645 "MachineIndependent/glslang_tab.cpp"
13645|      0|    break;
13646|       |
13647|      0|  case 745: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_instruction_qualifier_list COMMA spirv_type_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13647:3): [True: 0, False: 1.17M]
  ------------------
13648|      0|#line 4747 "MachineIndependent/glslang.y"
13649|      0|                                                                                                         {
13650|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13651|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-3].interm.spirvInst), (yyvsp[-1].interm.spirvTypeParams));
13652|      0|    }
13653|      0|#line 13654 "MachineIndependent/glslang_tab.cpp"
13654|      0|    break;
13655|       |
13656|      0|  case 746: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_requirements_list COMMA spirv_instruction_qualifier_list COMMA spirv_type_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13656:3): [True: 0, False: 1.17M]
  ------------------
13657|      0|#line 4751 "MachineIndependent/glslang.y"
13658|      0|                                                                                                                                       {
13659|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13660|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13661|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-3].interm.spirvInst), (yyvsp[-1].interm.spirvTypeParams));
13662|      0|    }
13663|      0|#line 13664 "MachineIndependent/glslang_tab.cpp"
13664|      0|    break;
13665|       |
13666|      0|  case 747: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13666:3): [True: 0, False: 1.17M]
  ------------------
13667|      0|#line 4756 "MachineIndependent/glslang.y"
13668|      0|                                                                         {
13669|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13670|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-1].interm.spirvInst));
13671|      0|    }
13672|      0|#line 13673 "MachineIndependent/glslang_tab.cpp"
13673|      0|    break;
13674|       |
13675|      0|  case 748: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_requirements_list COMMA spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13675:3): [True: 0, False: 1.17M]
  ------------------
13676|      0|#line 4760 "MachineIndependent/glslang.y"
13677|      0|                                                                                                       {
13678|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13679|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13680|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-1].interm.spirvInst));
13681|      0|    }
13682|      0|#line 13683 "MachineIndependent/glslang_tab.cpp"
13683|      0|    break;
13684|       |
13685|      0|  case 749: /* spirv_type_parameter_list: spirv_type_parameter  */
  ------------------
  |  Branch (13685:3): [True: 0, False: 1.17M]
  ------------------
13686|      0|#line 4767 "MachineIndependent/glslang.y"
13687|      0|                           {
13688|      0|        (yyval.interm.spirvTypeParams) = (yyvsp[0].interm.spirvTypeParams);
13689|      0|    }
13690|      0|#line 13691 "MachineIndependent/glslang_tab.cpp"
13691|      0|    break;
13692|       |
13693|      0|  case 750: /* spirv_type_parameter_list: spirv_type_parameter_list COMMA spirv_type_parameter  */
  ------------------
  |  Branch (13693:3): [True: 0, False: 1.17M]
  ------------------
13694|      0|#line 4770 "MachineIndependent/glslang.y"
13695|      0|                                                           {
13696|      0|        (yyval.interm.spirvTypeParams) = parseContext.mergeSpirvTypeParameters((yyvsp[-2].interm.spirvTypeParams), (yyvsp[0].interm.spirvTypeParams));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13697|      0|    }
13698|      0|#line 13699 "MachineIndependent/glslang_tab.cpp"
13699|      0|    break;
13700|       |
13701|      0|  case 751: /* spirv_type_parameter: constant_expression  */
  ------------------
  |  Branch (13701:3): [True: 0, False: 1.17M]
  ------------------
13702|      0|#line 4775 "MachineIndependent/glslang.y"
13703|      0|                          {
13704|      0|        (yyval.interm.spirvTypeParams) = parseContext.makeSpirvTypeParameters((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode)->getAsConstantUnion());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13705|      0|    }
13706|      0|#line 13707 "MachineIndependent/glslang_tab.cpp"
13707|      0|    break;
13708|       |
13709|      0|  case 752: /* spirv_type_parameter: type_specifier_nonarray  */
  ------------------
  |  Branch (13709:3): [True: 0, False: 1.17M]
  ------------------
13710|      0|#line 4778 "MachineIndependent/glslang.y"
13711|      0|                              {
13712|      0|        (yyval.interm.spirvTypeParams) = parseContext.makeSpirvTypeParameters((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13713|      0|    }
13714|      0|#line 13715 "MachineIndependent/glslang_tab.cpp"
13715|      0|    break;
13716|       |
13717|      0|  case 753: /* spirv_instruction_qualifier: SPIRV_INSTRUCTION LEFT_PAREN spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13717:3): [True: 0, False: 1.17M]
  ------------------
13718|      0|#line 4783 "MachineIndependent/glslang.y"
13719|      0|                                                                                {
13720|      0|        (yyval.interm.spirvInst) = (yyvsp[-1].interm.spirvInst);
13721|      0|    }
13722|      0|#line 13723 "MachineIndependent/glslang_tab.cpp"
13723|      0|    break;
13724|       |
13725|      0|  case 754: /* spirv_instruction_qualifier: SPIRV_INSTRUCTION LEFT_PAREN spirv_requirements_list COMMA spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13725:3): [True: 0, False: 1.17M]
  ------------------
13726|      0|#line 4786 "MachineIndependent/glslang.y"
13727|      0|                                                                                                              {
13728|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13729|      0|        (yyval.interm.spirvInst) = (yyvsp[-1].interm.spirvInst);
13730|      0|    }
13731|      0|#line 13732 "MachineIndependent/glslang_tab.cpp"
13732|      0|    break;
13733|       |
13734|      0|  case 755: /* spirv_instruction_qualifier_list: spirv_instruction_qualifier_id  */
  ------------------
  |  Branch (13734:3): [True: 0, False: 1.17M]
  ------------------
13735|      0|#line 4792 "MachineIndependent/glslang.y"
13736|      0|                                     {
13737|      0|        (yyval.interm.spirvInst) = (yyvsp[0].interm.spirvInst);
13738|      0|    }
13739|      0|#line 13740 "MachineIndependent/glslang_tab.cpp"
13740|      0|    break;
13741|       |
13742|      0|  case 756: /* spirv_instruction_qualifier_list: spirv_instruction_qualifier_list COMMA spirv_instruction_qualifier_id  */
  ------------------
  |  Branch (13742:3): [True: 0, False: 1.17M]
  ------------------
13743|      0|#line 4795 "MachineIndependent/glslang.y"
13744|      0|                                                                            {
13745|      0|        (yyval.interm.spirvInst) = parseContext.mergeSpirvInstruction((yyvsp[-1].lex).loc, (yyvsp[-2].interm.spirvInst), (yyvsp[0].interm.spirvInst));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13746|      0|    }
13747|      0|#line 13748 "MachineIndependent/glslang_tab.cpp"
13748|      0|    break;
13749|       |
13750|      0|  case 757: /* spirv_instruction_qualifier_id: IDENTIFIER EQUAL STRING_LITERAL  */
  ------------------
  |  Branch (13750:3): [True: 0, False: 1.17M]
  ------------------
13751|      0|#line 4800 "MachineIndependent/glslang.y"
13752|      0|                                      {
13753|      0|        (yyval.interm.spirvInst) = parseContext.makeSpirvInstruction((yyvsp[-1].lex).loc, *(yyvsp[-2].lex).string, *(yyvsp[0].lex).string);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13754|      0|    }
13755|      0|#line 13756 "MachineIndependent/glslang_tab.cpp"
13756|      0|    break;
13757|       |
13758|      0|  case 758: /* spirv_instruction_qualifier_id: IDENTIFIER EQUAL INTCONSTANT  */
  ------------------
  |  Branch (13758:3): [True: 0, False: 1.17M]
  ------------------
13759|      0|#line 4803 "MachineIndependent/glslang.y"
13760|      0|                                   {
13761|      0|        (yyval.interm.spirvInst) = parseContext.makeSpirvInstruction((yyvsp[-1].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[0].lex).i);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13762|      0|    }
13763|      0|#line 13764 "MachineIndependent/glslang_tab.cpp"
13764|      0|    break;
13765|       |
13766|       |
13767|      0|#line 13768 "MachineIndependent/glslang_tab.cpp"
13768|       |
13769|      0|      default: break;
  ------------------
  |  Branch (13769:7): [True: 0, False: 1.17M]
  ------------------
13770|  1.17M|    }
13771|       |  /* User semantic actions sometimes alter yychar, and that requires
13772|       |     that yytoken be updated with the new translation.  We take the
13773|       |     approach of translating immediately before every use of yytoken.
13774|       |     One alternative is translating here after every semantic action,
13775|       |     but that translation would be missed if the semantic action invokes
13776|       |     YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or
13777|       |     if it invokes YYBACKUP.  In the case of YYABORT or YYACCEPT, an
13778|       |     incorrect destructor might then be invoked immediately.  In the
13779|       |     case of YYERROR or YYBACKUP, subsequent parser actions might lead
13780|       |     to an incorrect destructor call or verbose syntax error message
13781|       |     before the lookahead is translated.  */
13782|  1.17M|  YY_SYMBOL_PRINT ("-> $$ =", YY_CAST (yysymbol_kind_t, yyr1[yyn]), &yyval, &yyloc);
  ------------------
  |  | 5208|  1.17M|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5209|  1.17M|do {                                                                      \
  |  | 5210|  1.17M|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5210:7): [True: 0, False: 1.17M]
  |  |  ------------------
  |  | 5211|  1.17M|    {                                                                     \
  |  | 5212|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5213|      0|      yy_symbol_print (stderr,                                            \
  |  | 5214|      0|                  Kind, Value, pParseContext); \
  |  | 5215|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5216|      0|    }                                                                     \
  |  | 5217|  1.17M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5217:10): [Folded, False: 1.17M]
  |  |  ------------------
  ------------------
13783|       |
13784|  1.17M|  YYPOPSTACK (yylen);
  ------------------
  |  | 5685|  1.17M|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13785|  1.17M|  yylen = 0;
13786|       |
13787|  1.17M|  *++yyvsp = yyval;
13788|       |
13789|       |  /* Now 'shift' the result of the reduction.  Determine what state
13790|       |     that goes to, based on the state we popped back to and the rule
13791|       |     number reduced by.  */
13792|  1.17M|  {
13793|  1.17M|    const int yylhs = yyr1[yyn] - YYNTOKENS;
  ------------------
  |  | 1116|  1.17M|#define YYNTOKENS  515
  ------------------
13794|  1.17M|    const int yyi = yypgoto[yylhs] + *yyssp;
13795|  1.17M|    yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp
  ------------------
  |  | 1113|  1.78M|#define YYLAST   15602
  ------------------
  |  Branch (13795:16): [True: 604k, False: 571k]
  |  Branch (13795:28): [True: 604k, False: 0]
  |  Branch (13795:45): [True: 390k, False: 214k]
  ------------------
13796|  1.17M|               ? yytable[yyi]
13797|  1.17M|               : yydefgoto[yylhs]);
13798|  1.17M|  }
13799|       |
13800|  1.17M|  goto yynewstate;
13801|       |
13802|       |
13803|       |/*--------------------------------------.
13804|       || yyerrlab -- here on detecting error.  |
13805|       |`--------------------------------------*/
13806|     36|yyerrlab:
13807|       |  /* Make sure we have latest lookahead translation.  See comments at
13808|       |     user semantic actions for why this is necessary.  */
13809|     36|  yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar);
  ------------------
  |  | 1131|     72|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1125|     36|#define YYMAXUTOK   769
  |  |  ------------------
  |  |  |  Branch (1131:4): [True: 36, False: 0]
  |  |  |  Branch (1131:18): [True: 36, False: 0]
  |  |  ------------------
  |  | 1132|     72|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  100|     36|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  |  | 1133|     72|   : YYSYMBOL_YYUNDEF)
  ------------------
  |  Branch (13809:13): [True: 0, False: 36]
  ------------------
13810|       |  /* If not already recovering from an error, report this error.  */
13811|     36|  if (!yyerrstatus)
  ------------------
  |  Branch (13811:7): [True: 36, False: 0]
  ------------------
13812|     36|    {
13813|     36|      ++yynerrs;
13814|     36|      {
13815|     36|        yypcontext_t yyctx
13816|     36|          = {yyssp, yytoken};
13817|     36|        char const *yymsgp = YY_("syntax error");
  ------------------
  |  |  915|     36|#  define YY_(Msgid) Msgid
  ------------------
13818|     36|        int yysyntax_error_status;
13819|     36|        yysyntax_error_status = yysyntax_error (&yymsg_alloc, &yymsg, &yyctx);
13820|     36|        if (yysyntax_error_status == 0)
  ------------------
  |  Branch (13820:13): [True: 36, False: 0]
  ------------------
13821|     36|          yymsgp = yymsg;
13822|      0|        else if (yysyntax_error_status == -1)
  ------------------
  |  Branch (13822:18): [True: 0, False: 0]
  ------------------
13823|      0|          {
13824|      0|            if (yymsg != yymsgbuf)
  ------------------
  |  Branch (13824:17): [True: 0, False: 0]
  ------------------
13825|      0|              YYSTACK_FREE (yymsg);
  ------------------
  |  | 1023|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1042|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
13826|      0|            yymsg = YY_CAST (char *,
  ------------------
  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
13827|      0|                             YYSTACK_ALLOC (YY_CAST (YYSIZE_T, yymsg_alloc)));
13828|      0|            if (yymsg)
  ------------------
  |  Branch (13828:17): [True: 0, False: 0]
  ------------------
13829|      0|              {
13830|      0|                yysyntax_error_status
13831|      0|                  = yysyntax_error (&yymsg_alloc, &yymsg, &yyctx);
13832|      0|                yymsgp = yymsg;
13833|      0|              }
13834|      0|            else
13835|      0|              {
13836|      0|                yymsg = yymsgbuf;
13837|      0|                yymsg_alloc = sizeof yymsgbuf;
13838|      0|                yysyntax_error_status = YYENOMEM;
13839|      0|              }
13840|      0|          }
13841|     36|        yyerror (pParseContext, yymsgp);
  ------------------
  |  |  784|     36|#define yyerror(context, msg) context->parserError(msg)
  ------------------
13842|     36|        if (yysyntax_error_status == YYENOMEM)
  ------------------
  |  Branch (13842:13): [True: 0, False: 36]
  ------------------
13843|      0|          YYNOMEM;
  ------------------
  |  | 5164|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
13844|     36|      }
13845|     36|    }
13846|       |
13847|     36|  if (yyerrstatus == 3)
  ------------------
  |  Branch (13847:7): [True: 0, False: 36]
  ------------------
13848|      0|    {
13849|       |      /* If just tried and failed to reuse lookahead token after an
13850|       |         error, discard it.  */
13851|       |
13852|      0|      if (yychar <= YYEOF)
  ------------------
  |  Branch (13852:11): [True: 0, False: 0]
  ------------------
13853|      0|        {
13854|       |          /* Return failure if at end of input.  */
13855|      0|          if (yychar == YYEOF)
  ------------------
  |  Branch (13855:15): [True: 0, False: 0]
  ------------------
13856|      0|            YYABORT;
  ------------------
  |  | 5162|      0|#define YYABORT         goto yyabortlab
  ------------------
13857|      0|        }
13858|      0|      else
13859|      0|        {
13860|      0|          yydestruct ("Error: discarding",
13861|      0|                      yytoken, &yylval, pParseContext);
13862|      0|          yychar = YYEMPTY;
13863|      0|        }
13864|      0|    }
13865|       |
13866|       |  /* Else will try to reuse lookahead token after shifting the error
13867|       |     token.  */
13868|     36|  goto yyerrlab1;
13869|       |
13870|       |
13871|       |/*---------------------------------------------------.
13872|       || yyerrorlab -- error raised explicitly by YYERROR.  |
13873|       |`---------------------------------------------------*/
13874|     36|yyerrorlab:
13875|       |  /* Pacify compilers when the user code never invokes YYERROR and the
13876|       |     label yyerrorlab therefore never appears in user code.  */
13877|      0|  if (0)
  ------------------
  |  Branch (13877:7): [Folded, False: 0]
  ------------------
13878|      0|    YYERROR;
  ------------------
  |  | 5163|      0|#define YYERROR         goto yyerrorlab
  ------------------
13879|      0|  ++yynerrs;
13880|       |
13881|       |  /* Do not reclaim the symbols of the rule whose action triggered
13882|       |     this YYERROR.  */
13883|      0|  YYPOPSTACK (yylen);
  ------------------
  |  | 5685|      0|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13884|      0|  yylen = 0;
13885|      0|  YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 5271|      0|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 5272|      0|do {                                                            \
  |  | 5273|      0|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (5273:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 5274|      0|    yy_stack_print ((Bottom), (Top));                           \
  |  | 5275|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (5275:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
13886|      0|  yystate = *yyssp;
13887|      0|  goto yyerrlab1;
13888|       |
13889|       |
13890|       |/*-------------------------------------------------------------.
13891|       || yyerrlab1 -- common code for both syntax error and YYERROR.  |
13892|       |`-------------------------------------------------------------*/
13893|     36|yyerrlab1:
13894|     36|  yyerrstatus = 3;      /* Each real token shifted decrements this.  */
13895|       |
13896|       |  /* Pop stack until we find a state that shifts the error token.  */
13897|     36|  for (;;)
13898|     36|    {
13899|     36|      yyn = yypact[yystate];
13900|     36|      if (!yypact_value_is_default (yyn))
  ------------------
  |  | 1490|     36|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1487|     36|#define YYPACT_NINF (-901)
  |  |  ------------------
  ------------------
  |  Branch (13900:11): [True: 36, False: 0]
  ------------------
13901|     36|        {
13902|     36|          yyn += YYSYMBOL_YYerror;
13903|     36|          if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror)
  ------------------
  |  | 1113|     72|#define YYLAST   15602
  ------------------
  |  Branch (13903:15): [True: 36, False: 0]
  |  Branch (13903:27): [True: 36, False: 0]
  |  Branch (13903:44): [True: 0, False: 36]
  ------------------
13904|      0|            {
13905|      0|              yyn = yytable[yyn];
13906|      0|              if (0 < yyn)
  ------------------
  |  Branch (13906:19): [True: 0, False: 0]
  ------------------
13907|      0|                break;
13908|      0|            }
13909|     36|        }
13910|       |
13911|       |      /* Pop the current state because it cannot handle the error token.  */
13912|     36|      if (yyssp == yyss)
  ------------------
  |  Branch (13912:11): [True: 36, False: 0]
  ------------------
13913|     36|        YYABORT;
  ------------------
  |  | 5162|     36|#define YYABORT         goto yyabortlab
  ------------------
13914|       |
13915|       |
13916|      0|      yydestruct ("Error: popping",
13917|      0|                  YY_ACCESSING_SYMBOL (yystate), yyvsp, pParseContext);
  ------------------
  |  | 1302|      0|#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
  |  |  ------------------
  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
13918|      0|      YYPOPSTACK (1);
  ------------------
  |  | 5685|      0|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13919|      0|      yystate = *yyssp;
13920|      0|      YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 5271|      0|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 5272|      0|do {                                                            \
  |  | 5273|      0|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (5273:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 5274|      0|    yy_stack_print ((Bottom), (Top));                           \
  |  | 5275|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (5275:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
13921|      0|    }
13922|       |
13923|      0|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
13924|      0|  *++yyvsp = yylval;
13925|      0|  YY_IGNORE_MAYBE_UNINITIALIZED_END
13926|       |
13927|       |
13928|       |  /* Shift the error token.  */
13929|      0|  YY_SYMBOL_PRINT ("Shifting", YY_ACCESSING_SYMBOL (yyn), yyvsp, yylsp);
  ------------------
  |  | 5208|      0|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5209|      0|do {                                                                      \
  |  | 5210|      0|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5210:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 5211|      0|    {                                                                     \
  |  | 5212|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5213|      0|      yy_symbol_print (stderr,                                            \
  |  | 5214|      0|                  Kind, Value, pParseContext); \
  |  | 5215|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5216|      0|    }                                                                     \
  |  | 5217|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (5217:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
13930|       |
13931|      0|  yystate = yyn;
13932|      0|  goto yynewstate;
13933|       |
13934|       |
13935|       |/*-------------------------------------.
13936|       || yyacceptlab -- YYACCEPT comes here.  |
13937|       |`-------------------------------------*/
13938|    202|yyacceptlab:
13939|    202|  yyresult = 0;
13940|    202|  goto yyreturnlab;
13941|       |
13942|       |
13943|       |/*-----------------------------------.
13944|       || yyabortlab -- YYABORT comes here.  |
13945|       |`-----------------------------------*/
13946|     36|yyabortlab:
13947|     36|  yyresult = 1;
13948|     36|  goto yyreturnlab;
13949|       |
13950|       |
13951|       |/*-----------------------------------------------------------.
13952|       || yyexhaustedlab -- YYNOMEM (memory exhaustion) comes here.  |
13953|       |`-----------------------------------------------------------*/
13954|      0|yyexhaustedlab:
13955|      0|  yyerror (pParseContext, YY_("memory exhausted"));
  ------------------
  |  |  784|      0|#define yyerror(context, msg) context->parserError(msg)
  ------------------
13956|      0|  yyresult = 2;
13957|      0|  goto yyreturnlab;
13958|       |
13959|       |
13960|       |/*----------------------------------------------------------.
13961|       || yyreturnlab -- parsing is finished, clean up and return.  |
13962|       |`----------------------------------------------------------*/
13963|    238|yyreturnlab:
13964|    238|  if (yychar != YYEMPTY)
  ------------------
  |  Branch (13964:7): [True: 36, False: 202]
  ------------------
13965|     36|    {
13966|       |      /* Make sure we have latest lookahead translation.  See comments at
13967|       |         user semantic actions for why this is necessary.  */
13968|     36|      yytoken = YYTRANSLATE (yychar);
  ------------------
  |  | 1131|     36|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1125|     36|#define YYMAXUTOK   769
  |  |  ------------------
  |  |  |  Branch (1131:4): [True: 36, False: 0]
  |  |  |  Branch (1131:18): [True: 36, False: 0]
  |  |  ------------------
  |  | 1132|     36|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  100|     36|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  |  | 1133|     36|   : YYSYMBOL_YYUNDEF)
  ------------------
13969|     36|      yydestruct ("Cleanup: discarding lookahead",
13970|     36|                  yytoken, &yylval, pParseContext);
13971|     36|    }
13972|       |  /* Do not reclaim the symbols of the rule whose action triggered
13973|       |     this YYABORT or YYACCEPT.  */
13974|    238|  YYPOPSTACK (yylen);
  ------------------
  |  | 5685|    238|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13975|    238|  YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 5271|    238|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 5272|    238|do {                                                            \
  |  | 5273|    238|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (5273:7): [True: 0, False: 238]
  |  |  ------------------
  |  | 5274|    238|    yy_stack_print ((Bottom), (Top));                           \
  |  | 5275|    238|} while (0)
  |  |  ------------------
  |  |  |  Branch (5275:10): [Folded, False: 238]
  |  |  ------------------
  ------------------
13976|    642|  while (yyssp != yyss)
  ------------------
  |  Branch (13976:10): [True: 404, False: 238]
  ------------------
13977|    404|    {
13978|    404|      yydestruct ("Cleanup: popping",
13979|    404|                  YY_ACCESSING_SYMBOL (+*yyssp), yyvsp, pParseContext);
  ------------------
  |  | 1302|    404|#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
  |  |  ------------------
  |  |  |  |  100|    404|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
13980|    404|      YYPOPSTACK (1);
  ------------------
  |  | 5685|    404|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13981|    404|    }
13982|    238|#ifndef yyoverflow
13983|    238|  if (yyss != yyssa)
  ------------------
  |  Branch (13983:7): [True: 0, False: 238]
  ------------------
13984|      0|    YYSTACK_FREE (yyss);
  ------------------
  |  | 1023|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1042|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
13985|    238|#endif
13986|    238|  if (yymsg != yymsgbuf)
  ------------------
  |  Branch (13986:7): [True: 0, False: 238]
  ------------------
13987|      0|    YYSTACK_FREE (yymsg);
  ------------------
  |  | 1023|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1042|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
13988|    238|  return yyresult;
13989|     36|}
glslang_tab.cpp:_ZL14yysyntax_errorPlPPcPK12yypcontext_t:
 5529|     36|{
 5530|     36|  enum { YYARGS_MAX = 5 };
 5531|       |  /* Internationalized format string. */
 5532|     36|  const char *yyformat = YY_NULLPTR;
  ------------------
  |  |  110|     36|#    define YY_NULLPTR nullptr
  ------------------
 5533|       |  /* Arguments of yyformat: reported tokens (one for the "unexpected",
 5534|       |     one per "expected"). */
 5535|     36|  yysymbol_kind_t yyarg[YYARGS_MAX];
 5536|       |  /* Cumulated lengths of YYARG.  */
 5537|     36|  YYPTRDIFF_T yysize = 0;
  ------------------
  |  |  865|     36|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5538|       |
 5539|       |  /* Actual size of YYARG. */
 5540|     36|  int yycount = yy_syntax_error_arguments (yyctx, yyarg, YYARGS_MAX);
 5541|     36|  if (yycount == YYENOMEM)
  ------------------
  |  Branch (5541:7): [True: 0, False: 36]
  ------------------
 5542|      0|    return YYENOMEM;
 5543|       |
 5544|     36|  switch (yycount)
 5545|     36|    {
 5546|      0|#define YYCASE_(N, S)                       \
 5547|      0|      case N:                               \
 5548|      0|        yyformat = S;                       \
 5549|      0|        break
 5550|      0|    default: /* Avoid compiler warnings. */
  ------------------
  |  Branch (5550:5): [True: 0, False: 36]
  ------------------
 5551|      0|      YYCASE_(0, YY_("syntax error"));
  ------------------
  |  | 5547|      0|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5547:7): [True: 0, False: 36]
  |  |  ------------------
  |  | 5548|      0|        yyformat = S;                       \
  |  | 5549|      0|        break
  ------------------
 5552|     36|      YYCASE_(1, YY_("syntax error, unexpected %s"));
  ------------------
  |  | 5547|     36|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5547:7): [True: 36, False: 0]
  |  |  ------------------
  |  | 5548|     36|        yyformat = S;                       \
  |  | 5549|     36|        break
  ------------------
 5553|      0|      YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s"));
  ------------------
  |  | 5547|      0|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5547:7): [True: 0, False: 36]
  |  |  ------------------
  |  | 5548|      0|        yyformat = S;                       \
  |  | 5549|      0|        break
  ------------------
 5554|      0|      YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s"));
  ------------------
  |  | 5547|      0|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5547:7): [True: 0, False: 36]
  |  |  ------------------
  |  | 5548|      0|        yyformat = S;                       \
  |  | 5549|      0|        break
  ------------------
 5555|      0|      YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s"));
  ------------------
  |  | 5547|      0|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5547:7): [True: 0, False: 36]
  |  |  ------------------
  |  | 5548|      0|        yyformat = S;                       \
  |  | 5549|      0|        break
  ------------------
 5556|     36|      YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"));
  ------------------
  |  | 5547|      0|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5547:7): [True: 0, False: 36]
  |  |  ------------------
  |  | 5548|      0|        yyformat = S;                       \
  |  | 5549|      0|        break
  ------------------
 5557|     36|#undef YYCASE_
 5558|     36|    }
 5559|       |
 5560|       |  /* Compute error message size.  Don't count the "%s"s, but reserve
 5561|       |     room for the terminator.  */
 5562|     36|  yysize = yystrlen (yyformat) - 2 * yycount + 1;
  ------------------
  |  | 5388|     36|#  define yystrlen(S) (YY_CAST (YYPTRDIFF_T, strlen (S)))
  |  |  ------------------
  |  |  |  |  100|     36|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
 5563|     36|  {
 5564|     36|    int yyi;
 5565|     72|    for (yyi = 0; yyi < yycount; ++yyi)
  ------------------
  |  Branch (5565:19): [True: 36, False: 36]
  ------------------
 5566|     36|      {
 5567|     36|        YYPTRDIFF_T yysize1
  ------------------
  |  |  865|     36|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5568|     36|          = yysize + yytnamerr (YY_NULLPTR, yytname[yyarg[yyi]]);
  ------------------
  |  |  110|     36|#    define YY_NULLPTR nullptr
  ------------------
 5569|     36|        if (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)
  ------------------
  |  | 1025|     36|#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
  |  |  ------------------
  |  |  |  |  893|     36|  YY_CAST (YYPTRDIFF_T,                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|     72|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (100:50): [True: 36, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5569:13): [True: 36, False: 0]
  |  Branch (5569:34): [True: 36, False: 0]
  ------------------
 5570|     36|          yysize = yysize1;
 5571|      0|        else
 5572|      0|          return YYENOMEM;
 5573|     36|      }
 5574|     36|  }
 5575|       |
 5576|     36|  if (*yymsg_alloc < yysize)
  ------------------
  |  Branch (5576:7): [True: 0, False: 36]
  ------------------
 5577|      0|    {
 5578|      0|      *yymsg_alloc = 2 * yysize;
 5579|      0|      if (! (yysize <= *yymsg_alloc
  ------------------
  |  Branch (5579:14): [True: 0, False: 0]
  ------------------
 5580|      0|             && *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM))
  ------------------
  |  | 1025|      0|#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
  |  |  ------------------
  |  |  |  |  893|      0|  YY_CAST (YYPTRDIFF_T,                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (100:50): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5580:17): [True: 0, False: 0]
  ------------------
 5581|      0|        *yymsg_alloc = YYSTACK_ALLOC_MAXIMUM;
  ------------------
  |  | 1025|      0|#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
  |  |  ------------------
  |  |  |  |  893|      0|  YY_CAST (YYPTRDIFF_T,                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (100:50): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5582|      0|      return -1;
 5583|      0|    }
 5584|       |
 5585|       |  /* Avoid sprintf, as that infringes on the user's name space.
 5586|       |     Don't have undefined behavior even if the translation
 5587|       |     produced a string with the wrong number of "%s"s.  */
 5588|     36|  {
 5589|     36|    char *yyp = *yymsg;
 5590|     36|    int yyi = 0;
 5591|    972|    while ((*yyp = *yyformat) != '\0')
  ------------------
  |  Branch (5591:12): [True: 936, False: 36]
  ------------------
 5592|    936|      if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount)
  ------------------
  |  Branch (5592:11): [True: 36, False: 900]
  |  Branch (5592:26): [True: 36, False: 0]
  |  Branch (5592:48): [True: 36, False: 0]
  ------------------
 5593|     36|        {
 5594|     36|          yyp += yytnamerr (yyp, yytname[yyarg[yyi++]]);
 5595|     36|          yyformat += 2;
 5596|     36|        }
 5597|    900|      else
 5598|    900|        {
 5599|    900|          ++yyp;
 5600|    900|          ++yyformat;
 5601|    900|        }
 5602|     36|  }
 5603|     36|  return 0;
 5604|     36|}
glslang_tab.cpp:_ZL25yy_syntax_error_argumentsPK12yypcontext_tP15yysymbol_kind_ti:
 5476|     36|{
 5477|       |  /* Actual size of YYARG. */
 5478|     36|  int yycount = 0;
 5479|       |  /* There are many possibilities here to consider:
 5480|       |     - If this state is a consistent state with a default action, then
 5481|       |       the only way this function was invoked is if the default action
 5482|       |       is an error action.  In that case, don't check for expected
 5483|       |       tokens because there are none.
 5484|       |     - The only way there can be no lookahead present (in yychar) is if
 5485|       |       this state is a consistent state with a default action.  Thus,
 5486|       |       detecting the absence of a lookahead is sufficient to determine
 5487|       |       that there is no unexpected or expected token to report.  In that
 5488|       |       case, just report a simple "syntax error".
 5489|       |     - Don't assume there isn't a lookahead just because this state is a
 5490|       |       consistent state with a default action.  There might have been a
 5491|       |       previous inconsistent state, consistent state with a non-default
 5492|       |       action, or user semantic action that manipulated yychar.
 5493|       |     - Of course, the expected token list depends on states to have
 5494|       |       correct lookahead information, and it depends on the parser not
 5495|       |       to perform extra reductions after fetching a lookahead from the
 5496|       |       scanner and before detecting a syntax error.  Thus, state merging
 5497|       |       (from LALR or IELR) and default reductions corrupt the expected
 5498|       |       token list.  However, the list is correct for canonical LR with
 5499|       |       one exception: it will still contain any token that will not be
 5500|       |       accepted due to an error action in a later state.
 5501|       |  */
 5502|     36|  if (yyctx->yytoken != YYSYMBOL_YYEMPTY)
  ------------------
  |  Branch (5502:7): [True: 36, False: 0]
  ------------------
 5503|     36|    {
 5504|     36|      int yyn;
 5505|     36|      if (yyarg)
  ------------------
  |  Branch (5505:11): [True: 36, False: 0]
  ------------------
 5506|     36|        yyarg[yycount] = yyctx->yytoken;
 5507|     36|      ++yycount;
 5508|     36|      yyn = yypcontext_expected_tokens (yyctx,
 5509|     36|                                        yyarg ? yyarg + 1 : yyarg, yyargn - 1);
  ------------------
  |  Branch (5509:41): [True: 36, False: 0]
  ------------------
 5510|     36|      if (yyn == YYENOMEM)
  ------------------
  |  Branch (5510:11): [True: 0, False: 36]
  ------------------
 5511|      0|        return YYENOMEM;
 5512|     36|      else
 5513|     36|        yycount += yyn;
 5514|     36|    }
 5515|     36|  return yycount;
 5516|     36|}
glslang_tab.cpp:_ZL26yypcontext_expected_tokensPK12yypcontext_tP15yysymbol_kind_ti:
 5352|     36|{
 5353|       |  /* Actual size of YYARG. */
 5354|     36|  int yycount = 0;
 5355|     36|  int yyn = yypact[+*yyctx->yyssp];
 5356|     36|  if (!yypact_value_is_default (yyn))
  ------------------
  |  | 1490|     36|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1487|     36|#define YYPACT_NINF (-901)
  |  |  ------------------
  ------------------
  |  Branch (5356:7): [True: 36, False: 0]
  ------------------
 5357|     36|    {
 5358|       |      /* Start YYX at -YYN if negative to avoid negative indexes in
 5359|       |         YYCHECK.  In other words, skip the first -YYN actions for
 5360|       |         this state because they are default actions.  */
 5361|     36|      int yyxbegin = yyn < 0 ? -yyn : 0;
  ------------------
  |  Branch (5361:22): [True: 0, False: 36]
  ------------------
 5362|       |      /* Stay within bounds of both yycheck and yytname.  */
 5363|     36|      int yychecklim = YYLAST - yyn + 1;
  ------------------
  |  | 1113|     36|#define YYLAST   15602
  ------------------
 5364|     36|      int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
  ------------------
  |  | 1116|     36|#define YYNTOKENS  515
  ------------------
                    int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
  ------------------
  |  | 1116|     36|#define YYNTOKENS  515
  ------------------
  |  Branch (5364:20): [True: 0, False: 36]
  ------------------
 5365|     36|      int yyx;
 5366|    288|      for (yyx = yyxbegin; yyx < yyxend; ++yyx)
  ------------------
  |  Branch (5366:28): [True: 288, False: 0]
  ------------------
 5367|    288|        if (yycheck[yyx + yyn] == yyx && yyx != YYSYMBOL_YYerror
  ------------------
  |  Branch (5367:13): [True: 180, False: 108]
  |  Branch (5367:42): [True: 180, False: 0]
  ------------------
 5368|      0|            && !yytable_value_is_error (yytable[yyx + yyn]))
  ------------------
  |  | 1495|      0|  0
  ------------------
  |  Branch (5368:16): [True: 0, Folded]
  ------------------
 5369|    180|          {
 5370|    180|            if (!yyarg)
  ------------------
  |  Branch (5370:17): [True: 0, False: 180]
  ------------------
 5371|      0|              ++yycount;
 5372|    180|            else if (yycount == yyargn)
  ------------------
  |  Branch (5372:22): [True: 36, False: 144]
  ------------------
 5373|     36|              return 0;
 5374|    144|            else
 5375|    144|              yyarg[yycount++] = YY_CAST (yysymbol_kind_t, yyx);
  ------------------
  |  |  100|    144|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
 5376|    180|          }
 5377|     36|    }
 5378|      0|  if (yyarg && yycount == 0 && 0 < yyargn)
  ------------------
  |  Branch (5378:7): [True: 0, False: 0]
  |  Branch (5378:16): [True: 0, False: 0]
  |  Branch (5378:32): [True: 0, False: 0]
  ------------------
 5379|      0|    yyarg[0] = YYSYMBOL_YYEMPTY;
 5380|      0|  return yycount;
 5381|     36|}
glslang_tab.cpp:_ZL9yytnamerrPcPKc:
 5432|     72|{
 5433|     72|  if (*yystr == '"')
  ------------------
  |  Branch (5433:7): [True: 62, False: 10]
  ------------------
 5434|     62|    {
 5435|     62|      YYPTRDIFF_T yyn = 0;
  ------------------
  |  |  865|     62|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5436|     62|      char const *yyp = yystr;
 5437|     62|      for (;;)
 5438|    744|        switch (*++yyp)
 5439|    744|          {
 5440|      0|          case '\'':
  ------------------
  |  Branch (5440:11): [True: 0, False: 744]
  ------------------
 5441|      0|          case ',':
  ------------------
  |  Branch (5441:11): [True: 0, False: 744]
  ------------------
 5442|      0|            goto do_not_strip_quotes;
 5443|       |
 5444|      0|          case '\\':
  ------------------
  |  Branch (5444:11): [True: 0, False: 744]
  ------------------
 5445|      0|            if (*++yyp != '\\')
  ------------------
  |  Branch (5445:17): [True: 0, False: 0]
  ------------------
 5446|      0|              goto do_not_strip_quotes;
 5447|      0|            else
 5448|      0|              goto append;
 5449|       |
 5450|      0|          append:
 5451|    682|          default:
  ------------------
  |  Branch (5451:11): [True: 682, False: 62]
  ------------------
 5452|    682|            if (yyres)
  ------------------
  |  Branch (5452:17): [True: 341, False: 341]
  ------------------
 5453|    341|              yyres[yyn] = *yyp;
 5454|    682|            yyn++;
 5455|    682|            break;
 5456|       |
 5457|     62|          case '"':
  ------------------
  |  Branch (5457:11): [True: 62, False: 682]
  ------------------
 5458|     62|            if (yyres)
  ------------------
  |  Branch (5458:17): [True: 31, False: 31]
  ------------------
 5459|     31|              yyres[yyn] = '\0';
 5460|     62|            return yyn;
 5461|    744|          }
 5462|      0|    do_not_strip_quotes: ;
 5463|      0|    }
 5464|       |
 5465|     10|  if (yyres)
  ------------------
  |  Branch (5465:7): [True: 5, False: 5]
  ------------------
 5466|      5|    return yystpcpy (yyres, yystr) - yyres;
  ------------------
  |  | 5404|      5|#  define yystpcpy stpcpy
  ------------------
 5467|      5|  else
 5468|      5|    return yystrlen (yystr);
  ------------------
  |  | 5388|      5|#  define yystrlen(S) (YY_CAST (YYPTRDIFF_T, strlen (S)))
  |  |  ------------------
  |  |  |  |  100|      5|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
 5469|     10|}
glslang_tab.cpp:_ZL10yydestructPKc15yysymbol_kind_tP7YYSTYPEPN7glslang13TParseContextE:
 5614|    440|{
 5615|    440|  YY_USE (yyvaluep);
  ------------------
  |  |  938|    440|# define YY_USE(E) ((void) (E))
  ------------------
 5616|    440|  YY_USE (pParseContext);
  ------------------
  |  |  938|    440|# define YY_USE(E) ((void) (E))
  ------------------
 5617|    440|  if (!yymsg)
  ------------------
  |  Branch (5617:7): [True: 0, False: 440]
  ------------------
 5618|      0|    yymsg = "Deleting";
 5619|    440|  YY_SYMBOL_PRINT (yymsg, yykind, yyvaluep, yylocationp);
  ------------------
  |  | 5208|    440|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5209|    440|do {                                                                      \
  |  | 5210|    440|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5210:7): [True: 0, False: 440]
  |  |  ------------------
  |  | 5211|    440|    {                                                                     \
  |  | 5212|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5213|      0|      yy_symbol_print (stderr,                                            \
  |  | 5214|      0|                  Kind, Value, pParseContext); \
  |  | 5215|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5216|      0|    }                                                                     \
  |  | 5217|    440|} while (0)
  |  |  ------------------
  |  |  |  Branch (5217:10): [Folded, False: 440]
  |  |  ------------------
  ------------------
 5620|       |
 5621|    440|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 5622|    440|  YY_USE (yykind);
  ------------------
  |  |  938|    440|# define YY_USE(E) ((void) (E))
  ------------------
 5623|    440|  YY_IGNORE_MAYBE_UNINITIALIZED_END
 5624|    440|}

_ZN7glslang15TConstTraverser14visitAggregateENS_6TVisitEPNS_16TIntermAggregateE:
   72|     14|{
   73|     14|    if (! node->isConstructor() && node->getOp() != EOpComma) {
  ------------------
  |  Branch (73:9): [True: 0, False: 14]
  |  Branch (73:36): [True: 0, False: 0]
  ------------------
   74|      0|        error = true;
   75|       |
   76|      0|        return false;
   77|      0|    }
   78|       |
   79|     14|    bool flag = node->getSequence().size() == 1 && node->getSequence()[0]->getAsTyped()->getAsConstantUnion();
  ------------------
  |  Branch (79:17): [True: 0, False: 14]
  |  Branch (79:52): [True: 0, False: 0]
  ------------------
   80|     14|    if (flag) {
  ------------------
  |  Branch (80:9): [True: 0, False: 14]
  ------------------
   81|      0|        singleConstantParam = true;
   82|      0|        constructorType = node->getOp();
   83|      0|        size = node->getType().computeNumComponents();
   84|       |
   85|      0|        if (node->getType().isMatrix()) {
  ------------------
  |  Branch (85:13): [True: 0, False: 0]
  ------------------
   86|      0|            isMatrix = true;
   87|      0|            matrixCols = node->getType().getMatrixCols();
   88|      0|            matrixRows = node->getType().getMatrixRows();
   89|      0|        }
   90|      0|    }
   91|       |
   92|     14|    for (TIntermSequence::iterator p = node->getSequence().begin();
   93|     56|                                   p != node->getSequence().end(); p++) {
  ------------------
  |  Branch (93:36): [True: 42, False: 14]
  ------------------
   94|       |
   95|     42|        if (node->getOp() == EOpComma)
  ------------------
  |  Branch (95:13): [True: 0, False: 42]
  ------------------
   96|      0|            index = 0;
   97|       |
   98|     42|        (*p)->traverse(this);
   99|     42|    }
  100|     14|    if (flag)
  ------------------
  |  Branch (100:9): [True: 0, False: 14]
  ------------------
  101|      0|    {
  102|      0|        singleConstantParam = false;
  103|      0|        constructorType = EOpNull;
  104|      0|        size = 0;
  105|      0|        isMatrix = false;
  106|      0|        matrixCols = 0;
  107|      0|        matrixRows = 0;
  108|      0|    }
  109|       |
  110|     14|    return false;
  111|     14|}
_ZN7glslang15TConstTraverser18visitConstantUnionEPNS_20TIntermConstantUnionE:
  114|     42|{
  115|     42|    TConstUnionArray leftUnionArray(unionArray);
  116|     42|    int instanceSize = type.computeNumComponents();
  117|       |
  118|     42|    if (index >= instanceSize)
  ------------------
  |  Branch (118:9): [True: 0, False: 42]
  ------------------
  119|      0|        return;
  120|       |
  121|     42|    if (! singleConstantParam) {
  ------------------
  |  Branch (121:9): [True: 42, False: 0]
  ------------------
  122|     42|        int rightUnionSize = node->getType().computeNumComponents();
  123|       |
  124|     42|        const TConstUnionArray& rightUnionArray = node->getConstArray();
  125|     84|        for (int i = 0; i < rightUnionSize; i++) {
  ------------------
  |  Branch (125:25): [True: 42, False: 42]
  ------------------
  126|     42|            if (index >= instanceSize)
  ------------------
  |  Branch (126:17): [True: 0, False: 42]
  ------------------
  127|      0|                return;
  128|     42|            leftUnionArray[index] = rightUnionArray[i];
  129|       |
  130|     42|            index++;
  131|     42|        }
  132|     42|    } else {
  133|      0|        int endIndex = index + size;
  134|      0|        const TConstUnionArray& rightUnionArray = node->getConstArray();
  135|      0|        if (! isMatrix) {
  ------------------
  |  Branch (135:13): [True: 0, False: 0]
  ------------------
  136|      0|            int count = 0;
  137|      0|            int nodeComps = node->getType().computeNumComponents();
  138|      0|            for (int i = index; i < endIndex; i++) {
  ------------------
  |  Branch (138:33): [True: 0, False: 0]
  ------------------
  139|      0|                if (i >= instanceSize)
  ------------------
  |  Branch (139:21): [True: 0, False: 0]
  ------------------
  140|      0|                    return;
  141|       |
  142|      0|                leftUnionArray[i] = rightUnionArray[count];
  143|       |
  144|      0|                (index)++;
  145|       |
  146|      0|                if (nodeComps > 1)
  ------------------
  |  Branch (146:21): [True: 0, False: 0]
  ------------------
  147|      0|                    count++;
  148|      0|            }
  149|      0|        } else {
  150|       |            // constructing a matrix, but from what?
  151|      0|            if (node->isMatrix()) {
  ------------------
  |  Branch (151:17): [True: 0, False: 0]
  ------------------
  152|       |                // Matrix from a matrix; this has the outer matrix, node is the argument matrix.
  153|       |                // Traverse the outer, potentially bigger matrix, fill in missing pieces with the
  154|       |                // identity matrix.
  155|      0|                for (int c = 0; c < matrixCols; ++c) {
  ------------------
  |  Branch (155:33): [True: 0, False: 0]
  ------------------
  156|      0|                    for (int r = 0; r < matrixRows; ++r) {
  ------------------
  |  Branch (156:37): [True: 0, False: 0]
  ------------------
  157|      0|                        int targetOffset = index + c * matrixRows + r;
  158|      0|                        if (r < node->getType().getMatrixRows() && c < node->getType().getMatrixCols()) {
  ------------------
  |  Branch (158:29): [True: 0, False: 0]
  |  Branch (158:68): [True: 0, False: 0]
  ------------------
  159|      0|                            int srcOffset = c * node->getType().getMatrixRows() + r;
  160|      0|                            leftUnionArray[targetOffset] = rightUnionArray[srcOffset];
  161|      0|                        } else if (r == c)
  ------------------
  |  Branch (161:36): [True: 0, False: 0]
  ------------------
  162|      0|                            leftUnionArray[targetOffset].setDConst(1.0);
  163|      0|                        else
  164|      0|                            leftUnionArray[targetOffset].setDConst(0.0);
  165|      0|                    }
  166|      0|                }
  167|      0|            } else {
  168|       |                // matrix from vector or scalar
  169|      0|                int nodeComps = node->getType().computeNumComponents();
  170|      0|                if (nodeComps == 1) {
  ------------------
  |  Branch (170:21): [True: 0, False: 0]
  ------------------
  171|      0|                    for (int c = 0; c < matrixCols; ++c) {
  ------------------
  |  Branch (171:37): [True: 0, False: 0]
  ------------------
  172|      0|                        for (int r = 0; r < matrixRows; ++r) {
  ------------------
  |  Branch (172:41): [True: 0, False: 0]
  ------------------
  173|      0|                            if (r == c)
  ------------------
  |  Branch (173:33): [True: 0, False: 0]
  ------------------
  174|      0|                                leftUnionArray[index] = rightUnionArray[0];
  175|      0|                            else
  176|      0|                                leftUnionArray[index].setDConst(0.0);
  177|      0|                            index++;
  178|      0|                        }
  179|      0|                    }
  180|      0|                } else {
  181|      0|                    int count = 0;
  182|      0|                    for (int i = index; i < endIndex; i++) {
  ------------------
  |  Branch (182:41): [True: 0, False: 0]
  ------------------
  183|      0|                        if (i >= instanceSize)
  ------------------
  |  Branch (183:29): [True: 0, False: 0]
  ------------------
  184|      0|                            return;
  185|       |
  186|       |                        // construct the matrix in column-major order, from
  187|       |                        // the components provided, in order
  188|      0|                        leftUnionArray[i] = rightUnionArray[count];
  189|       |
  190|      0|                        index++;
  191|      0|                        count++;
  192|      0|                    }
  193|      0|                }
  194|      0|            }
  195|      0|        }
  196|      0|    }
  197|     42|}
_ZN7glslang13TIntermediate14parseConstTreeEP11TIntermNodeNS_16TConstUnionArrayENS_9TOperatorERKNS_5TTypeEb:
  200|     14|{
  201|     14|    if (root == nullptr)
  ------------------
  |  Branch (201:9): [True: 0, False: 14]
  ------------------
  202|      0|        return false;
  203|       |
  204|     14|    TConstTraverser it(unionArray, singleConstantParam, constructorType, t);
  205|       |
  206|     14|    root->traverse(&it);
  207|     14|    if (it.error)
  ------------------
  |  Branch (207:9): [True: 0, False: 14]
  ------------------
  208|      0|        return true;
  209|     14|    else
  210|     14|        return false;
  211|     14|}
_ZN7glslang15TConstTraverserC2ERKNS_16TConstUnionArrayEbNS_9TOperatorERKNS_5TTypeE:
   47|     14|      : unionArray(cUnion), type(t),
   48|     14|        constructorType(constructType), singleConstantParam(singleConstParam), error(false), isMatrix(false),
   49|     14|        matrixCols(0), matrixRows(0) {  index = 0; tOp = EOpNull; }

_ZN7glslang10TPpContext9CPPdefineEPNS_8TPpTokenE:
   96|  5.97k|{
   97|  5.97k|    MacroSymbol mac;
   98|       |
   99|       |    // get the macro name
  100|  5.97k|    int token = scanToken(ppToken);
  101|  5.97k|    if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (101:9): [True: 0, False: 5.97k]
  ------------------
  102|      0|        parseContext.ppError(ppToken->loc, "must be followed by macro name", "#define", "");
  103|      0|        return token;
  104|      0|    }
  105|  5.97k|    if (ppToken->loc.string >= 0) {
  ------------------
  |  Branch (105:9): [True: 2, False: 5.96k]
  ------------------
  106|       |        // We are in user code; check for reserved name use:
  107|      2|        parseContext.reservedPpErrorCheck(ppToken->loc, ppToken->name, "#define");
  108|      2|    }
  109|       |
  110|       |    // save the macro name
  111|  5.97k|    const int defAtom = atomStrings.getAddAtom(ppToken->name);
  112|  5.97k|    TSourceLoc defineLoc = ppToken->loc; // because ppToken might go to the next line before we report errors
  113|       |
  114|       |    // gather parameters to the macro, between (...)
  115|  5.97k|    token = scanToken(ppToken);
  116|  5.97k|    if (token == '(' && !ppToken->space) {
  ------------------
  |  Branch (116:9): [True: 1, False: 5.96k]
  |  Branch (116:25): [True: 1, False: 0]
  ------------------
  117|      1|        mac.functionLike = 1;
  118|      1|        do {
  119|      1|            token = scanToken(ppToken);
  120|      1|            if (mac.args.size() == 0 && token == ')')
  ------------------
  |  Branch (120:17): [True: 1, False: 0]
  |  Branch (120:41): [True: 0, False: 1]
  ------------------
  121|      0|                break;
  122|      1|            if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (122:17): [True: 0, False: 1]
  ------------------
  123|      0|                parseContext.ppError(ppToken->loc, "bad argument", "#define", "");
  124|       |
  125|      0|                return token;
  126|      0|            }
  127|      1|            const int argAtom = atomStrings.getAddAtom(ppToken->name);
  128|       |
  129|       |            // check for duplication of parameter name
  130|      1|            bool duplicate = false;
  131|      1|            for (size_t a = 0; a < mac.args.size(); ++a) {
  ------------------
  |  Branch (131:32): [True: 0, False: 1]
  ------------------
  132|      0|                if (mac.args[a] == argAtom) {
  ------------------
  |  Branch (132:21): [True: 0, False: 0]
  ------------------
  133|      0|                    parseContext.ppError(ppToken->loc, "duplicate macro parameter", "#define", "");
  134|      0|                    duplicate = true;
  135|      0|                    break;
  136|      0|                }
  137|      0|            }
  138|      1|            if (! duplicate)
  ------------------
  |  Branch (138:17): [True: 1, False: 0]
  ------------------
  139|      1|                mac.args.push_back(argAtom);
  140|      1|            token = scanToken(ppToken);
  141|      1|        } while (token == ',');
  ------------------
  |  Branch (141:18): [True: 0, False: 1]
  ------------------
  142|      1|        if (token != ')') {
  ------------------
  |  Branch (142:13): [True: 0, False: 1]
  ------------------
  143|      0|            parseContext.ppError(ppToken->loc, "missing parenthesis", "#define", "");
  144|       |
  145|      0|            return token;
  146|      0|        }
  147|       |
  148|      1|        token = scanToken(ppToken);
  149|  5.96k|    } else if (token != '\n' && token != EndOfInput && !ppToken->space) {
  ------------------
  |  Branch (149:16): [True: 5.96k, False: 0]
  |  Branch (149:33): [True: 5.96k, False: 0]
  |  Branch (149:56): [True: 0, False: 5.96k]
  ------------------
  150|      0|        parseContext.ppWarn(ppToken->loc, "missing space after macro name", "#define", "");
  151|       |
  152|      0|        return token;
  153|      0|    }
  154|       |
  155|  5.97k|    int pendingPoundSymbols = 0;
  156|  5.97k|    TPpToken savePound;
  157|       |    // record the definition of the macro
  158|  12.0k|    while (token != '\n' && token != EndOfInput) {
  ------------------
  |  Branch (158:12): [True: 6.05k, False: 5.96k]
  |  Branch (158:29): [True: 6.05k, False: 0]
  ------------------
  159|  6.05k|        if (token == '#') {
  ------------------
  |  Branch (159:13): [True: 1, False: 6.05k]
  ------------------
  160|      1|            pendingPoundSymbols++;
  161|      1|            if (pendingPoundSymbols == 0) {
  ------------------
  |  Branch (161:17): [True: 0, False: 1]
  ------------------
  162|      0|                savePound = *ppToken;
  163|      0|            }
  164|  6.05k|        } else if (pendingPoundSymbols == 0) {
  ------------------
  |  Branch (164:20): [True: 6.04k, False: 1]
  ------------------
  165|  6.04k|            mac.body.putToken(token, ppToken);
  166|  6.04k|        } else if (pendingPoundSymbols == 1) {
  ------------------
  |  Branch (166:20): [True: 1, False: 0]
  ------------------
  167|       |            // A single #: stringify
  168|      1|            parseContext.requireProfile(ppToken->loc, ~EEsProfile, "stringify (#)");
  169|      1|            parseContext.profileRequires(ppToken->loc, ~EEsProfile, 130, nullptr, "stringify (#)");
  170|      1|            bool isArg = false;
  171|      1|            if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (171:17): [True: 1, False: 0]
  ------------------
  172|      1|                for (int i = (int)mac.args.size() - 1; i >= 0; i--) {
  ------------------
  |  Branch (172:56): [True: 0, False: 1]
  ------------------
  173|      0|                    if (strcmp(atomStrings.getString(mac.args[i]), ppToken->name) == 0) {
  ------------------
  |  Branch (173:25): [True: 0, False: 0]
  ------------------
  174|      0|                        isArg = true;
  175|      0|                        break;
  176|      0|                    }
  177|      0|                }
  178|      1|            }
  179|      1|            if (!isArg) {
  ------------------
  |  Branch (179:17): [True: 1, False: 0]
  ------------------
  180|      1|                parseContext.ppError(ppToken->loc, "'#' is not followed by a macro parameter.", "#", "");
  181|      1|                return token;
  182|      1|            }
  183|      0|            mac.body.putToken(tStringifyLevelInput::PUSH, ppToken);
  184|      0|            mac.body.putToken(token, ppToken);
  185|      0|            mac.body.putToken(tStringifyLevelInput::POP, ppToken);
  186|      0|            pendingPoundSymbols = 0;
  187|      0|        } else if (pendingPoundSymbols % 2 == 0) {
  ------------------
  |  Branch (187:20): [True: 0, False: 0]
  ------------------
  188|       |            // Any number of pastes '##' in a row: idempotent, just becomes one paste
  189|      0|            parseContext.requireProfile(ppToken->loc, ~EEsProfile, "token pasting (##)");
  190|      0|            parseContext.profileRequires(ppToken->loc, ~EEsProfile, 130, nullptr, "token pasting (##)");
  191|      0|            for (int i = 0; i < pendingPoundSymbols / 2; i++) {
  ------------------
  |  Branch (191:29): [True: 0, False: 0]
  ------------------
  192|      0|                mac.body.putToken(PpAtomPaste, &savePound);
  193|      0|            }
  194|      0|            mac.body.putToken(token, ppToken);
  195|      0|            pendingPoundSymbols = 0;
  196|      0|        } else {
  197|       |            // An odd number of '#' i.e., mix of paste and stringify: does not give valid preprocessing token
  198|      0|            parseContext.ppError(ppToken->loc, "Illegal sequence of paste (##) and stringify (#).", "#", "");
  199|      0|            return token;
  200|      0|        }
  201|       |
  202|  6.05k|        token = scanToken(ppToken);
  203|  6.05k|    }
  204|  5.96k|    if (pendingPoundSymbols != 0) {
  ------------------
  |  Branch (204:9): [True: 0, False: 5.96k]
  ------------------
  205|      0|        parseContext.ppError(ppToken->loc, "Macro ended with incomplete '#' paste/stringify operators", "#", "");
  206|      0|    }
  207|       |
  208|       |    // check for duplicate definition
  209|  5.96k|    MacroSymbol* existing = lookupMacroDef(defAtom);
  210|  5.96k|    if (existing != nullptr) {
  ------------------
  |  Branch (210:9): [True: 0, False: 5.96k]
  ------------------
  211|      0|        if (! existing->undef) {
  ------------------
  |  Branch (211:13): [True: 0, False: 0]
  ------------------
  212|       |            // Already defined -- need to make sure they are identical:
  213|       |            // "Two replacement lists are identical if and only if the
  214|       |            // preprocessing tokens in both have the same number,
  215|       |            // ordering, spelling, and white-space separation, where all
  216|       |            // white-space separations are considered identical."
  217|      0|            if (existing->functionLike != mac.functionLike) {
  ------------------
  |  Branch (217:17): [True: 0, False: 0]
  ------------------
  218|      0|                parseContext.ppError(defineLoc, "Macro redefined; function-like versus object-like:", "#define",
  219|      0|                    atomStrings.getString(defAtom));
  220|      0|            } else if (existing->args.size() != mac.args.size()) {
  ------------------
  |  Branch (220:24): [True: 0, False: 0]
  ------------------
  221|      0|                parseContext.ppError(defineLoc, "Macro redefined; different number of arguments:", "#define",
  222|      0|                    atomStrings.getString(defAtom));
  223|      0|            } else {
  224|      0|                if (existing->args != mac.args) {
  ------------------
  |  Branch (224:21): [True: 0, False: 0]
  ------------------
  225|      0|                    parseContext.ppError(defineLoc, "Macro redefined; different argument names:", "#define",
  226|      0|                       atomStrings.getString(defAtom));
  227|      0|                }
  228|       |                // set up to compare the two
  229|      0|                existing->body.reset();
  230|      0|                mac.body.reset();
  231|      0|                int newToken;
  232|      0|                bool firstToken = true;
  233|      0|                do {
  234|      0|                    int oldToken;
  235|      0|                    TPpToken oldPpToken;
  236|      0|                    TPpToken newPpToken;
  237|      0|                    oldToken = existing->body.getToken(parseContext, &oldPpToken);
  238|      0|                    newToken = mac.body.getToken(parseContext, &newPpToken);
  239|       |                    // for the first token, preceding spaces don't matter
  240|      0|                    if (firstToken) {
  ------------------
  |  Branch (240:25): [True: 0, False: 0]
  ------------------
  241|      0|                        newPpToken.space = oldPpToken.space;
  242|      0|                        firstToken = false;
  243|      0|                    }
  244|      0|                    if (oldToken != newToken || oldPpToken != newPpToken) {
  ------------------
  |  Branch (244:25): [True: 0, False: 0]
  |  Branch (244:49): [True: 0, False: 0]
  ------------------
  245|      0|                        parseContext.ppError(defineLoc, "Macro redefined; different substitutions:", "#define",
  246|      0|                            atomStrings.getString(defAtom));
  247|      0|                        break;
  248|      0|                    }
  249|      0|                } while (newToken != EndOfInput);
  ------------------
  |  Branch (249:26): [True: 0, False: 0]
  ------------------
  250|      0|            }
  251|      0|        }
  252|      0|        *existing = mac;
  253|      0|    } else
  254|  5.96k|        addMacroDef(defAtom, mac);
  255|       |
  256|  5.96k|    return '\n';
  257|  5.97k|}
_ZN7glslang10TPpContext7CPPelseEiPNS_8TPpTokenE:
  287|     48|{
  288|     48|    inElseSkip = true;
  289|     48|    int depth = 0;
  290|     48|    int token = scanToken(ppToken);
  291|       |
  292|  1.05M|    while (token != EndOfInput) {
  ------------------
  |  Branch (292:12): [True: 1.05M, False: 5]
  ------------------
  293|  1.05M|        if (token != '#') {
  ------------------
  |  Branch (293:13): [True: 902k, False: 151k]
  ------------------
  294|  3.36M|            while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (294:20): [True: 2.45M, False: 902k]
  |  Branch (294:37): [True: 2.45M, False: 43]
  ------------------
  295|  2.45M|                token = scanToken(ppToken);
  296|       |
  297|   902k|            if (token == EndOfInput)
  ------------------
  |  Branch (297:17): [True: 43, False: 902k]
  ------------------
  298|     43|                return token;
  299|       |
  300|   902k|            token = scanToken(ppToken);
  301|   902k|            continue;
  302|   902k|        }
  303|       |
  304|   151k|        if ((token = scanToken(ppToken)) != PpAtomIdentifier)
  ------------------
  |  Branch (304:13): [True: 18.5k, False: 132k]
  ------------------
  305|  18.5k|            continue;
  306|       |
  307|   132k|        int nextAtom = atomStrings.getAtom(ppToken->name);
  308|   132k|        if (nextAtom == PpAtomIf || nextAtom == PpAtomIfdef || nextAtom == PpAtomIfndef) {
  ------------------
  |  Branch (308:13): [True: 438, False: 132k]
  |  Branch (308:37): [True: 38, False: 132k]
  |  Branch (308:64): [True: 0, False: 132k]
  ------------------
  309|    476|            depth++;
  310|    476|            if (ifdepth >= maxIfNesting || elsetracker >= maxIfNesting) {
  ------------------
  |  Branch (310:17): [True: 0, False: 476]
  |  Branch (310:44): [True: 0, False: 476]
  ------------------
  311|      0|                parseContext.ppError(ppToken->loc, "maximum nesting depth exceeded", "#if/#ifdef/#ifndef", "");
  312|      0|                return EndOfInput;
  313|    476|            } else {
  314|    476|                ifdepth++;
  315|    476|                elsetracker++;
  316|    476|            }
  317|   132k|        } else if (nextAtom == PpAtomEndif) {
  ------------------
  |  Branch (317:20): [True: 101, False: 132k]
  ------------------
  318|    101|            token = extraTokenCheck(nextAtom, ppToken, scanToken(ppToken));
  319|    101|            if (elsetracker >= 0)
  ------------------
  |  Branch (319:17): [True: 101, False: 0]
  ------------------
  320|    101|                elseSeen[elsetracker] = false;
  321|    101|            --elsetracker;
  322|    101|            if (depth == 0) {
  ------------------
  |  Branch (322:17): [True: 0, False: 101]
  ------------------
  323|       |                // found the #endif we are looking for
  324|      0|                if (ifdepth > 0)
  ------------------
  |  Branch (324:21): [True: 0, False: 0]
  ------------------
  325|      0|                    --ifdepth;
  326|      0|                break;
  327|      0|            }
  328|    101|            --depth;
  329|    101|            if (ifdepth > 0)
  ------------------
  |  Branch (329:17): [True: 101, False: 0]
  ------------------
  330|    101|                --ifdepth;
  331|   132k|        } else if (matchelse && depth == 0) {
  ------------------
  |  Branch (331:20): [True: 132k, False: 0]
  |  Branch (331:33): [True: 27.9k, False: 104k]
  ------------------
  332|  27.9k|            if (nextAtom == PpAtomElse) {
  ------------------
  |  Branch (332:17): [True: 0, False: 27.9k]
  ------------------
  333|      0|                elseSeen[elsetracker] = true;
  334|      0|                token = extraTokenCheck(nextAtom, ppToken, scanToken(ppToken));
  335|       |                // found the #else we are looking for
  336|      0|                break;
  337|  27.9k|            } else if (nextAtom == PpAtomElif) {
  ------------------
  |  Branch (337:24): [True: 0, False: 27.9k]
  ------------------
  338|      0|                if (elseSeen[elsetracker])
  ------------------
  |  Branch (338:21): [True: 0, False: 0]
  ------------------
  339|      0|                    parseContext.ppError(ppToken->loc, "#elif after #else", "#elif", "");
  340|       |                /* we decrement ifdepth here, because CPPif will increment
  341|       |                * it and we really want to leave it alone */
  342|      0|                if (ifdepth > 0) {
  ------------------
  |  Branch (342:21): [True: 0, False: 0]
  ------------------
  343|      0|                    --ifdepth;
  344|      0|                    elseSeen[elsetracker] = false;
  345|      0|                    --elsetracker;
  346|      0|                }
  347|      0|                inElseSkip = false;
  348|      0|                return CPPif(ppToken);
  349|      0|            }
  350|   104k|        } else if (nextAtom == PpAtomElse) {
  ------------------
  |  Branch (350:20): [True: 12, False: 104k]
  ------------------
  351|     12|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (351:17): [True: 0, False: 12]
  ------------------
  352|      0|                parseContext.ppError(ppToken->loc, "#else after #else", "#else", "");
  353|     12|            else
  354|     12|                elseSeen[elsetracker] = true;
  355|     12|            token = extraTokenCheck(nextAtom, ppToken, scanToken(ppToken));
  356|   104k|        } else if (nextAtom == PpAtomElif) {
  ------------------
  |  Branch (356:20): [True: 35, False: 104k]
  ------------------
  357|     35|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (357:17): [True: 0, False: 35]
  ------------------
  358|      0|                parseContext.ppError(ppToken->loc, "#elif after #else", "#elif", "");
  359|     35|        }
  360|   132k|    }
  361|       |    
  362|      5|    inElseSkip = false;
  363|      5|    return token;
  364|     48|}
_ZN7glslang10TPpContext15extraTokenCheckEiPNS_8TPpTokenEi:
  368|    162|{
  369|    162|    if (token != '\n' && token != EndOfInput) {
  ------------------
  |  Branch (369:9): [True: 0, False: 162]
  |  Branch (369:26): [True: 0, False: 0]
  ------------------
  370|      0|        static const char* message = "unexpected tokens following directive";
  371|       |
  372|      0|        const char* label;
  373|      0|        if (contextAtom == PpAtomElse)
  ------------------
  |  Branch (373:13): [True: 0, False: 0]
  ------------------
  374|      0|            label = "#else";
  375|      0|        else if (contextAtom == PpAtomElif)
  ------------------
  |  Branch (375:18): [True: 0, False: 0]
  ------------------
  376|      0|            label = "#elif";
  377|      0|        else if (contextAtom == PpAtomEndif)
  ------------------
  |  Branch (377:18): [True: 0, False: 0]
  ------------------
  378|      0|            label = "#endif";
  379|      0|        else if (contextAtom == PpAtomIf)
  ------------------
  |  Branch (379:18): [True: 0, False: 0]
  ------------------
  380|      0|            label = "#if";
  381|      0|        else if (contextAtom == PpAtomLine)
  ------------------
  |  Branch (381:18): [True: 0, False: 0]
  ------------------
  382|      0|            label = "#line";
  383|      0|        else
  384|      0|            label = "";
  385|       |
  386|      0|        if (parseContext.relaxedErrors())
  ------------------
  |  Branch (386:13): [True: 0, False: 0]
  ------------------
  387|      0|            parseContext.ppWarn(ppToken->loc, message, label, "");
  388|      0|        else
  389|      0|            parseContext.ppError(ppToken->loc, message, label, "");
  390|       |
  391|      0|        while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (391:16): [True: 0, False: 0]
  |  Branch (391:33): [True: 0, False: 0]
  ------------------
  392|      0|            token = scanToken(ppToken);
  393|      0|    }
  394|       |
  395|    162|    return token;
  396|    162|}
_ZN7glslang10TPpContext4evalEiibRiRbPNS_8TPpTokenE:
  470|  17.4k|{
  471|  17.4k|    TSourceLoc loc = ppToken->loc;  // because we sometimes read the newline before reporting the error
  472|  17.4k|    if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (472:9): [True: 0, False: 17.4k]
  ------------------
  473|      0|        if (strcmp("defined", ppToken->name) == 0) {
  ------------------
  |  Branch (473:13): [True: 0, False: 0]
  ------------------
  474|      0|            if (! parseContext.isReadingHLSL() && isMacroInput()) {
  ------------------
  |  Branch (474:17): [True: 0, False: 0]
  |  Branch (474:51): [True: 0, False: 0]
  ------------------
  475|      0|                if (parseContext.relaxedErrors())
  ------------------
  |  Branch (475:21): [True: 0, False: 0]
  ------------------
  476|      0|                    parseContext.ppWarn(ppToken->loc, "nonportable when expanded from macros for preprocessor expression",
  477|      0|                        "defined", "");
  478|      0|                else
  479|      0|                    parseContext.ppError(ppToken->loc, "cannot use in preprocessor expression when expanded from macros",
  480|      0|                        "defined", "");
  481|      0|            }
  482|      0|            bool needclose = 0;
  483|      0|            token = scanToken(ppToken);
  484|      0|            if (token == '(') {
  ------------------
  |  Branch (484:17): [True: 0, False: 0]
  ------------------
  485|      0|                needclose = true;
  486|      0|                token = scanToken(ppToken);
  487|      0|            }
  488|      0|            if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (488:17): [True: 0, False: 0]
  ------------------
  489|      0|                parseContext.ppError(loc, "incorrect directive, expected identifier", "preprocessor evaluation", "");
  490|      0|                err = true;
  491|      0|                res = 0;
  492|       |
  493|      0|                return token;
  494|      0|            }
  495|       |
  496|      0|            MacroSymbol* macro = lookupMacroDef(atomStrings.getAtom(ppToken->name));
  497|      0|            res = macro != nullptr ? !macro->undef : 0;
  ------------------
  |  Branch (497:19): [True: 0, False: 0]
  ------------------
  498|      0|            token = scanToken(ppToken);
  499|      0|            if (needclose) {
  ------------------
  |  Branch (499:17): [True: 0, False: 0]
  ------------------
  500|      0|                if (token != ')') {
  ------------------
  |  Branch (500:21): [True: 0, False: 0]
  ------------------
  501|      0|                    parseContext.ppError(loc, "expected ')'", "preprocessor evaluation", "");
  502|      0|                    err = true;
  503|      0|                    res = 0;
  504|       |
  505|      0|                    return token;
  506|      0|                }
  507|      0|                token = scanToken(ppToken);
  508|      0|            }
  509|      0|        } else {
  510|      0|            token = tokenPaste(token, *ppToken);
  511|      0|            token = evalToToken(token, shortCircuit, res, err, ppToken);
  512|      0|            return eval(token, precedence, shortCircuit, res, err, ppToken);
  513|      0|        }
  514|  17.4k|    } else if (token == PpAtomConstInt) {
  ------------------
  |  Branch (514:16): [True: 48, False: 17.3k]
  ------------------
  515|     48|        res = ppToken->ival;
  516|     48|        token = scanToken(ppToken);
  517|  17.3k|    } else if (token == '(') {
  ------------------
  |  Branch (517:16): [True: 17.3k, False: 49]
  ------------------
  518|  17.3k|        token = scanToken(ppToken);
  519|  17.3k|        token = eval(token, MIN_PRECEDENCE, shortCircuit, res, err, ppToken);
  520|  17.3k|        if (! err) {
  ------------------
  |  Branch (520:13): [True: 0, False: 17.3k]
  ------------------
  521|      0|            if (token != ')') {
  ------------------
  |  Branch (521:17): [True: 0, False: 0]
  ------------------
  522|      0|                parseContext.ppError(loc, "expected ')'", "preprocessor evaluation", "");
  523|      0|                err = true;
  524|      0|                res = 0;
  525|       |
  526|      0|                return token;
  527|      0|            }
  528|      0|            token = scanToken(ppToken);
  529|      0|        }
  530|  17.3k|    } else {
  531|     49|        int op = NUM_ELEMENTS(unop) - 1;
  ------------------
  |  |  467|     49|#define NUM_ELEMENTS(A) (sizeof(A) / sizeof(A[0]))
  ------------------
  532|    197|        for (; op >= 0; op--) {
  ------------------
  |  Branch (532:16): [True: 196, False: 1]
  ------------------
  533|    196|            if (unop[op].token == token)
  ------------------
  |  Branch (533:17): [True: 48, False: 148]
  ------------------
  534|     48|                break;
  535|    196|        }
  536|     49|        if (op >= 0) {
  ------------------
  |  Branch (536:13): [True: 48, False: 1]
  ------------------
  537|     48|            token = scanToken(ppToken);
  538|     48|            token = eval(token, UNARY, shortCircuit, res, err, ppToken);
  539|     48|            res = unop[op].op(res);
  540|     48|        } else {
  541|      1|            parseContext.ppError(loc, "bad expression", "preprocessor evaluation", "");
  542|      1|            err = true;
  543|      1|            res = 0;
  544|       |
  545|      1|            return token;
  546|      1|        }
  547|     49|    }
  548|       |
  549|  17.4k|    token = evalToToken(token, shortCircuit, res, err, ppToken);
  550|       |
  551|       |    // Perform evaluation of binary operation, if there is one, otherwise we are done.
  552|  17.4k|    while (! err) {
  ------------------
  |  Branch (552:12): [True: 96, False: 17.3k]
  ------------------
  553|     96|        if (token == ')' || token == '\n')
  ------------------
  |  Branch (553:13): [True: 0, False: 96]
  |  Branch (553:29): [True: 96, False: 0]
  ------------------
  554|     96|            break;
  555|      0|        int op;
  556|      0|        for (op = NUM_ELEMENTS(binop) - 1; op >= 0; op--) {
  ------------------
  |  |  467|      0|#define NUM_ELEMENTS(A) (sizeof(A) / sizeof(A[0]))
  ------------------
  |  Branch (556:44): [True: 0, False: 0]
  ------------------
  557|      0|            if (binop[op].token == token)
  ------------------
  |  Branch (557:17): [True: 0, False: 0]
  ------------------
  558|      0|                break;
  559|      0|        }
  560|      0|        if (op < 0 || binop[op].precedence <= precedence)
  ------------------
  |  Branch (560:13): [True: 0, False: 0]
  |  Branch (560:23): [True: 0, False: 0]
  ------------------
  561|      0|            break;
  562|      0|        int leftSide = res;
  563|       |
  564|       |        // Setup short-circuiting, needed for ES, unless already in a short circuit.
  565|       |        // (Once in a short-circuit, can't turn off again, until that whole subexpression is done.
  566|      0|        if (! shortCircuit) {
  ------------------
  |  Branch (566:13): [True: 0, False: 0]
  ------------------
  567|      0|            if ((token == PpAtomOr  && leftSide == 1) ||
  ------------------
  |  Branch (567:18): [True: 0, False: 0]
  |  Branch (567:40): [True: 0, False: 0]
  ------------------
  568|      0|                (token == PpAtomAnd && leftSide == 0))
  ------------------
  |  Branch (568:18): [True: 0, False: 0]
  |  Branch (568:40): [True: 0, False: 0]
  ------------------
  569|      0|                shortCircuit = true;
  570|      0|        }
  571|       |
  572|      0|        token = scanToken(ppToken);
  573|      0|        token = eval(token, binop[op].precedence, shortCircuit, res, err, ppToken);
  574|       |
  575|      0|        if (binop[op].op == op_div || binop[op].op == op_mod) {
  ------------------
  |  Branch (575:13): [True: 0, False: 0]
  |  Branch (575:39): [True: 0, False: 0]
  ------------------
  576|      0|            if (res == 0) {
  ------------------
  |  Branch (576:17): [True: 0, False: 0]
  ------------------
  577|      0|                parseContext.ppError(loc, "division by 0", "preprocessor evaluation", "");
  578|      0|                res = 1;
  579|      0|            }
  580|      0|        }
  581|      0|        res = binop[op].op(leftSide, res);
  582|      0|    }
  583|       |
  584|  17.4k|    return token;
  585|  17.4k|}
_ZN7glslang10TPpContext11evalToTokenEibRiRbPNS_8TPpTokenE:
  589|  17.4k|{
  590|  17.4k|    while (token == PpAtomIdentifier && strcmp("defined", ppToken->name) != 0) {
  ------------------
  |  Branch (590:12): [True: 0, False: 17.4k]
  |  Branch (590:41): [True: 0, False: 0]
  ------------------
  591|      0|        switch (MacroExpand(ppToken, true, false)) {
  ------------------
  |  Branch (591:17): [True: 0, False: 0]
  ------------------
  592|      0|        case MacroExpandNotStarted:
  ------------------
  |  Branch (592:9): [True: 0, False: 0]
  ------------------
  593|      0|        case MacroExpandError:
  ------------------
  |  Branch (593:9): [True: 0, False: 0]
  ------------------
  594|      0|            parseContext.ppError(ppToken->loc, "can't evaluate expression", "preprocessor evaluation", "");
  595|      0|            err = true;
  596|      0|            res = 0;
  597|      0|            break;
  598|      0|        case MacroExpandStarted:
  ------------------
  |  Branch (598:9): [True: 0, False: 0]
  ------------------
  599|      0|            break;
  600|      0|        case MacroExpandUndef:
  ------------------
  |  Branch (600:9): [True: 0, False: 0]
  ------------------
  601|      0|            if (! shortCircuit && parseContext.isEsProfile()) {
  ------------------
  |  Branch (601:17): [True: 0, False: 0]
  |  Branch (601:35): [True: 0, False: 0]
  ------------------
  602|      0|                const char* message = "undefined macro in expression not allowed in es profile";
  603|      0|                if (parseContext.relaxedErrors())
  ------------------
  |  Branch (603:21): [True: 0, False: 0]
  ------------------
  604|      0|                    parseContext.ppWarn(ppToken->loc, message, "preprocessor evaluation", ppToken->name);
  605|      0|                else
  606|      0|                    parseContext.ppError(ppToken->loc, message, "preprocessor evaluation", ppToken->name);
  607|      0|            }
  608|      0|            break;
  609|      0|        }
  610|      0|        token = scanToken(ppToken);
  611|      0|        if (err)
  ------------------
  |  Branch (611:13): [True: 0, False: 0]
  ------------------
  612|      0|            break;
  613|      0|    }
  614|       |
  615|  17.4k|    return token;
  616|  17.4k|}
_ZN7glslang10TPpContext5CPPifEPNS_8TPpTokenE:
  620|     49|{
  621|     49|    int token = scanToken(ppToken);
  622|     49|    if (ifdepth >= maxIfNesting || elsetracker >= maxIfNesting) {
  ------------------
  |  Branch (622:9): [True: 0, False: 49]
  |  Branch (622:36): [True: 0, False: 49]
  ------------------
  623|      0|        parseContext.ppError(ppToken->loc, "maximum nesting depth exceeded", "#if", "");
  624|      0|        return EndOfInput;
  625|     49|    } else {
  626|     49|        elsetracker++;
  627|     49|        ifdepth++;
  628|     49|    }
  629|     49|    int res = 0;
  630|     49|    bool err = false;
  631|     49|    token = eval(token, MIN_PRECEDENCE, false, res, err, ppToken);
  632|     49|    token = extraTokenCheck(PpAtomIf, ppToken, token);
  633|     49|    if (!res && !err)
  ------------------
  |  Branch (633:9): [True: 49, False: 0]
  |  Branch (633:17): [True: 48, False: 1]
  ------------------
  634|     48|        token = CPPelse(1, ppToken);
  635|       |
  636|     49|    return token;
  637|     49|}
_ZN7glslang10TPpContext11readCPPlineEPNS_8TPpTokenE:
  985|  6.01k|{
  986|  6.01k|    int token = scanToken(ppToken);
  987|       |
  988|  6.01k|    if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (988:9): [True: 6.01k, False: 0]
  ------------------
  989|  6.01k|        switch (atomStrings.getAtom(ppToken->name)) {
  990|  5.97k|        case PpAtomDefine:
  ------------------
  |  Branch (990:9): [True: 5.97k, False: 49]
  ------------------
  991|  5.97k|            token = CPPdefine(ppToken);
  992|  5.97k|            break;
  993|      0|        case PpAtomElse:
  ------------------
  |  Branch (993:9): [True: 0, False: 6.01k]
  ------------------
  994|      0|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (994:17): [True: 0, False: 0]
  ------------------
  995|      0|                parseContext.ppError(ppToken->loc, "#else after #else", "#else", "");
  996|      0|            elseSeen[elsetracker] = true;
  997|      0|            if (ifdepth == 0)
  ------------------
  |  Branch (997:17): [True: 0, False: 0]
  ------------------
  998|      0|                parseContext.ppError(ppToken->loc, "mismatched statements", "#else", "");
  999|      0|            token = extraTokenCheck(PpAtomElse, ppToken, scanToken(ppToken));
 1000|      0|            token = CPPelse(0, ppToken);
 1001|      0|            break;
 1002|      0|        case PpAtomElif:
  ------------------
  |  Branch (1002:9): [True: 0, False: 6.01k]
  ------------------
 1003|      0|            if (ifdepth == 0)
  ------------------
  |  Branch (1003:17): [True: 0, False: 0]
  ------------------
 1004|      0|                parseContext.ppError(ppToken->loc, "mismatched statements", "#elif", "");
 1005|      0|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (1005:17): [True: 0, False: 0]
  ------------------
 1006|      0|                parseContext.ppError(ppToken->loc, "#elif after #else", "#elif", "");
 1007|       |            // this token is really a dont care, but we still need to eat the tokens
 1008|      0|            token = scanToken(ppToken);
 1009|      0|            while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (1009:20): [True: 0, False: 0]
  |  Branch (1009:37): [True: 0, False: 0]
  ------------------
 1010|      0|                token = scanToken(ppToken);
 1011|      0|            token = CPPelse(0, ppToken);
 1012|      0|            break;
 1013|      0|        case PpAtomEndif:
  ------------------
  |  Branch (1013:9): [True: 0, False: 6.01k]
  ------------------
 1014|      0|            if (ifdepth == 0)
  ------------------
  |  Branch (1014:17): [True: 0, False: 0]
  ------------------
 1015|      0|                parseContext.ppError(ppToken->loc, "mismatched statements", "#endif", "");
 1016|      0|            else {
 1017|      0|                if (elsetracker >= 0)
  ------------------
  |  Branch (1017:21): [True: 0, False: 0]
  ------------------
 1018|      0|                    elseSeen[elsetracker] = false;
 1019|      0|                --elsetracker;
 1020|      0|                --ifdepth;
 1021|      0|            }
 1022|      0|            token = extraTokenCheck(PpAtomEndif, ppToken, scanToken(ppToken));
 1023|      0|            break;
 1024|     49|        case PpAtomIf:
  ------------------
  |  Branch (1024:9): [True: 49, False: 5.97k]
  ------------------
 1025|     49|            token = CPPif(ppToken);
 1026|     49|            break;
 1027|      0|        case PpAtomIfdef:
  ------------------
  |  Branch (1027:9): [True: 0, False: 6.01k]
  ------------------
 1028|      0|            token = CPPifdef(1, ppToken);
 1029|      0|            break;
 1030|      0|        case PpAtomIfndef:
  ------------------
  |  Branch (1030:9): [True: 0, False: 6.01k]
  ------------------
 1031|      0|            token = CPPifdef(0, ppToken);
 1032|      0|            break;
 1033|      0|        case PpAtomLine:
  ------------------
  |  Branch (1033:9): [True: 0, False: 6.01k]
  ------------------
 1034|      0|            token = CPPline(ppToken);
 1035|      0|            break;
 1036|      0|        case PpAtomInclude:
  ------------------
  |  Branch (1036:9): [True: 0, False: 6.01k]
  ------------------
 1037|      0|            if(!parseContext.isReadingHLSL()) {
  ------------------
  |  Branch (1037:16): [True: 0, False: 0]
  ------------------
 1038|      0|                const std::array exts = { E_GL_GOOGLE_include_directive, E_GL_ARB_shading_language_include };
 1039|      0|                parseContext.ppRequireExtensions(ppToken->loc, exts, "#include");
 1040|      0|            }
 1041|      0|            token = CPPinclude(ppToken);
 1042|      0|            break;
 1043|      0|        case PpAtomPragma:
  ------------------
  |  Branch (1043:9): [True: 0, False: 6.01k]
  ------------------
 1044|      0|            token = CPPpragma(ppToken);
 1045|      0|            break;
 1046|      0|        case PpAtomUndef:
  ------------------
  |  Branch (1046:9): [True: 0, False: 6.01k]
  ------------------
 1047|      0|            token = CPPundef(ppToken);
 1048|      0|            break;
 1049|      0|        case PpAtomError:
  ------------------
  |  Branch (1049:9): [True: 0, False: 6.01k]
  ------------------
 1050|      0|            token = CPPerror(ppToken);
 1051|      0|            break;
 1052|      0|        case PpAtomVersion:
  ------------------
  |  Branch (1052:9): [True: 0, False: 6.01k]
  ------------------
 1053|      0|            token = CPPversion(ppToken);
 1054|      0|            break;
 1055|      0|        case PpAtomExtension:
  ------------------
  |  Branch (1055:9): [True: 0, False: 6.01k]
  ------------------
 1056|      0|            token = CPPextension(ppToken);
 1057|      0|            break;
 1058|      0|        default:
  ------------------
  |  Branch (1058:9): [True: 0, False: 6.01k]
  ------------------
 1059|      0|            parseContext.ppError(ppToken->loc, "invalid directive:", "#", ppToken->name);
 1060|      0|            break;
 1061|  6.01k|        }
 1062|  6.01k|    } else if (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (1062:16): [True: 0, False: 0]
  |  Branch (1062:33): [True: 0, False: 0]
  ------------------
 1063|      0|        parseContext.ppError(ppToken->loc, "invalid directive", "#", "");
 1064|       |
 1065|  6.02k|    while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (1065:12): [True: 50, False: 5.97k]
  |  Branch (1065:29): [True: 1, False: 49]
  ------------------
 1066|      1|        token = scanToken(ppToken);
 1067|       |
 1068|  6.01k|    return token;
 1069|  6.01k|}
_ZN7glslang10TPpContext11MacroExpandEPNS_8TPpTokenEbb:
 1241|   648k|{
 1242|   648k|    ppToken->space = false;
 1243|   648k|    int macroAtom = atomStrings.getAtom(ppToken->name);
 1244|       |
 1245|       |    // Bound total MacroExpand nesting depth to prevent stack overflow
 1246|       |    // via unbounded MacroExpand <-> PrescanMacroArg mutual recursion.
 1247|   648k|    if (macroExpandDepth >= maxMacroExpandDepth) {
  ------------------
  |  Branch (1247:9): [True: 0, False: 648k]
  ------------------
 1248|      0|        parseContext.ppError(ppToken->loc, "macro expansion depth limit exceeded",
 1249|      0|                             "macro expansion", ppToken->name);
 1250|      0|        return MacroExpandNotStarted;
 1251|      0|    }
 1252|   648k|    struct DepthGuard {
 1253|   648k|        int& d;
 1254|   648k|        explicit DepthGuard(int& d_) : d(d_) { ++d; }
 1255|   648k|        ~DepthGuard() { --d; }
 1256|   648k|    } guard(macroExpandDepth);
 1257|       |
 1258|   648k|    if (ppToken->fullyExpanded)
  ------------------
  |  Branch (1258:9): [True: 0, False: 648k]
  ------------------
 1259|      0|        return MacroExpandNotStarted;
 1260|       |
 1261|   648k|    switch (macroAtom) {
 1262|      0|    case PpAtomLineMacro:
  ------------------
  |  Branch (1262:5): [True: 0, False: 648k]
  ------------------
 1263|       |        // Arguments which are macro have been replaced in the first stage.
 1264|      0|        if (ppToken->ival == 0)
  ------------------
  |  Branch (1264:13): [True: 0, False: 0]
  ------------------
 1265|      0|            ppToken->ival = parseContext.getCurrentLoc().line;
 1266|      0|        snprintf(ppToken->name, sizeof(ppToken->name), "%d", ppToken->ival);
 1267|      0|        UngetToken(PpAtomConstInt, ppToken);
 1268|      0|        return MacroExpandStarted;
 1269|       |
 1270|      0|    case PpAtomFileMacro: {
  ------------------
  |  Branch (1270:5): [True: 0, False: 648k]
  ------------------
 1271|      0|        if (parseContext.getCurrentLoc().name)
  ------------------
  |  Branch (1271:13): [True: 0, False: 0]
  ------------------
 1272|      0|            parseContext.ppRequireExtensions(ppToken->loc, 1, &E_GL_GOOGLE_cpp_style_line_directive, "filename-based __FILE__");
 1273|      0|        ppToken->ival = parseContext.getCurrentLoc().string;
 1274|      0|        snprintf(ppToken->name, sizeof(ppToken->name), "%s", ppToken->loc.getStringNameOrNum().c_str());
 1275|      0|        UngetToken(PpAtomConstInt, ppToken);
 1276|      0|        return MacroExpandStarted;
 1277|      0|    }
 1278|       |
 1279|      0|    case PpAtomVersionMacro:
  ------------------
  |  Branch (1279:5): [True: 0, False: 648k]
  ------------------
 1280|      0|        ppToken->ival = parseContext.version;
 1281|      0|        snprintf(ppToken->name, sizeof(ppToken->name), "%d", ppToken->ival);
 1282|      0|        UngetToken(PpAtomConstInt, ppToken);
 1283|      0|        return MacroExpandStarted;
 1284|       |
 1285|   648k|    default:
  ------------------
  |  Branch (1285:5): [True: 648k, False: 0]
  ------------------
 1286|   648k|        break;
 1287|   648k|    }
 1288|       |
 1289|   648k|    MacroSymbol* macro = macroAtom == 0 ? nullptr : lookupMacroDef(macroAtom);
  ------------------
  |  Branch (1289:26): [True: 648k, False: 1]
  ------------------
 1290|       |
 1291|       |    // no recursive expansions
 1292|   648k|    if (macro != nullptr && macro->busy) {
  ------------------
  |  Branch (1292:9): [True: 1, False: 648k]
  |  Branch (1292:29): [True: 0, False: 1]
  ------------------
 1293|      0|        ppToken->fullyExpanded = true;
 1294|      0|        return MacroExpandNotStarted;
 1295|      0|    }
 1296|       |
 1297|       |    // not expanding undefined macros
 1298|   648k|    if ((macro == nullptr || macro->undef) && ! expandUndef)
  ------------------
  |  Branch (1298:10): [True: 648k, False: 1]
  |  Branch (1298:30): [True: 0, False: 1]
  |  Branch (1298:47): [True: 648k, False: 0]
  ------------------
 1299|   648k|        return MacroExpandNotStarted;
 1300|       |
 1301|       |    // 0 is the value of an undefined macro
 1302|      1|    if ((macro == nullptr || macro->undef) && expandUndef) {
  ------------------
  |  Branch (1302:10): [True: 0, False: 1]
  |  Branch (1302:30): [True: 0, False: 1]
  |  Branch (1302:47): [True: 0, False: 0]
  ------------------
 1303|      0|        pushInput(new tZeroInput(this));
 1304|      0|        return MacroExpandUndef;
 1305|      0|    }
 1306|       |
 1307|      1|    tMacroInput *in = new tMacroInput(this);
 1308|       |
 1309|      1|    TSourceLoc loc = ppToken->loc;  // in case we go to the next line before discovering the error
 1310|      1|    in->mac = macro;
 1311|      1|    if (macro->functionLike) {
  ------------------
  |  Branch (1311:9): [True: 1, False: 0]
  ------------------
 1312|       |        // We don't know yet if this will be a successful call of a
 1313|       |        // function-like macro; need to look for a '(', but without trashing
 1314|       |        // the passed in ppToken, until we know we are no longer speculative.
 1315|      1|        TPpToken parenToken;
 1316|      1|        int token = scanToken(&parenToken);
 1317|      1|        if (newLineOkay) {
  ------------------
  |  Branch (1317:13): [True: 1, False: 0]
  ------------------
 1318|      1|            while (token == '\n')
  ------------------
  |  Branch (1318:20): [True: 0, False: 1]
  ------------------
 1319|      0|                token = scanToken(&parenToken);
 1320|      1|        }
 1321|      1|        if (token != '(') {
  ------------------
  |  Branch (1321:13): [True: 0, False: 1]
  ------------------
 1322|       |            // Function-like macro called with object-like syntax: okay, don't expand.
 1323|       |            // (We ate exactly one token that might not be white space; put it back.
 1324|      0|            UngetToken(token, &parenToken);
 1325|      0|            delete in;
 1326|      0|            return MacroExpandNotStarted;
 1327|      0|        }
 1328|      1|        in->args.resize(in->mac->args.size());
 1329|      2|        for (size_t i = 0; i < in->mac->args.size(); i++)
  ------------------
  |  Branch (1329:28): [True: 1, False: 1]
  ------------------
 1330|      1|            in->args[i] = new TokenStream;
 1331|      1|        in->expandedArgs.resize(in->mac->args.size());
 1332|      2|        for (size_t i = 0; i < in->mac->args.size(); i++)
  ------------------
  |  Branch (1332:28): [True: 1, False: 1]
  ------------------
 1333|      1|            in->expandedArgs[i] = nullptr;
 1334|      1|        size_t arg = 0;
 1335|      1|        bool tokenRecorded = false;
 1336|      1|        do {
 1337|      1|            TVector<char> nestStack;
 1338|     36|            while (true) {
  ------------------
  |  Branch (1338:20): [True: 36, Folded]
  ------------------
 1339|     36|                token = scanToken(ppToken);
 1340|     36|                if (token == EndOfInput || token == tMarkerInput::marker) {
  ------------------
  |  Branch (1340:21): [True: 0, False: 36]
  |  Branch (1340:44): [True: 0, False: 36]
  ------------------
 1341|      0|                    parseContext.ppError(loc, "End of input in macro", "macro expansion", atomStrings.getString(macroAtom));
 1342|      0|                    delete in;
 1343|      0|                    return MacroExpandError;
 1344|      0|                }
 1345|     36|                if (token == '\n') {
  ------------------
  |  Branch (1345:21): [True: 1, False: 35]
  ------------------
 1346|      1|                    if (! newLineOkay) {
  ------------------
  |  Branch (1346:25): [True: 0, False: 1]
  ------------------
 1347|      0|                        parseContext.ppError(loc, "End of line in macro substitution:", "macro expansion", atomStrings.getString(macroAtom));
 1348|      0|                        delete in;
 1349|      0|                        return MacroExpandError;
 1350|      0|                    }
 1351|      1|                    continue;
 1352|      1|                }
 1353|     35|                if (token == '#') {
  ------------------
  |  Branch (1353:21): [True: 1, False: 34]
  ------------------
 1354|      1|                    parseContext.ppError(ppToken->loc, "unexpected '#'", "macro expansion", atomStrings.getString(macroAtom));
 1355|      1|                    delete in;
 1356|      1|                    return MacroExpandError;
 1357|      1|                }
 1358|     34|                if (in->mac->args.size() == 0 && token != ')')
  ------------------
  |  Branch (1358:21): [True: 0, False: 34]
  |  Branch (1358:50): [True: 0, False: 0]
  ------------------
 1359|      0|                    break;
 1360|     34|                if (nestStack.size() == 0 && (token == ',' || token == ')'))
  ------------------
  |  Branch (1360:21): [True: 29, False: 5]
  |  Branch (1360:47): [True: 0, False: 29]
  |  Branch (1360:63): [True: 0, False: 29]
  ------------------
 1361|      0|                    break;
 1362|     34|                if (token == '(')
  ------------------
  |  Branch (1362:21): [True: 2, False: 32]
  ------------------
 1363|      2|                    nestStack.push_back(')');
 1364|     32|                else if (token == '{' && parseContext.isReadingHLSL())
  ------------------
  |  Branch (1364:26): [True: 0, False: 32]
  |  Branch (1364:42): [True: 0, False: 0]
  ------------------
 1365|      0|                    nestStack.push_back('}');
 1366|     32|                else if (nestStack.size() > 0 && token == nestStack.back())
  ------------------
  |  Branch (1366:26): [True: 4, False: 28]
  |  Branch (1366:50): [True: 2, False: 2]
  ------------------
 1367|      2|                    nestStack.pop_back();
 1368|       |
 1369|       |                //Macro replacement list is expanded in the last stage.
 1370|     34|                if (atomStrings.getAtom(ppToken->name) == PpAtomLineMacro)
  ------------------
  |  Branch (1370:21): [True: 0, False: 34]
  ------------------
 1371|      0|                    ppToken->ival = parseContext.getCurrentLoc().line;
 1372|       |
 1373|     34|                in->args[arg]->putToken(token, ppToken);
 1374|     34|                tokenRecorded = true;
 1375|     34|            }
 1376|       |            // end of single argument scan
 1377|       |
 1378|      0|            if (token == ')') {
  ------------------
  |  Branch (1378:17): [True: 0, False: 0]
  ------------------
 1379|       |                // closing paren of call
 1380|      0|                if (in->mac->args.size() == 1 && !tokenRecorded)
  ------------------
  |  Branch (1380:21): [True: 0, False: 0]
  |  Branch (1380:50): [True: 0, False: 0]
  ------------------
 1381|      0|                    break;
 1382|      0|                arg++;
 1383|      0|                break;
 1384|      0|            }
 1385|      0|            arg++;
 1386|      0|        } while (arg < in->mac->args.size());
  ------------------
  |  Branch (1386:18): [True: 0, False: 0]
  ------------------
 1387|       |        // end of all arguments scan
 1388|       |
 1389|      0|        if (arg < in->mac->args.size())
  ------------------
  |  Branch (1389:13): [True: 0, False: 0]
  ------------------
 1390|      0|            parseContext.ppError(loc, "Too few args in Macro", "macro expansion", atomStrings.getString(macroAtom));
 1391|      0|        else if (token != ')') {
  ------------------
  |  Branch (1391:18): [True: 0, False: 0]
  ------------------
 1392|       |            // Error recover code; find end of call, if possible
 1393|      0|            int depth = 0;
 1394|      0|            while (token != EndOfInput && (depth > 0 || token != ')')) {
  ------------------
  |  Branch (1394:20): [True: 0, False: 0]
  |  Branch (1394:44): [True: 0, False: 0]
  |  Branch (1394:57): [True: 0, False: 0]
  ------------------
 1395|      0|                if (token == ')' || token == '}')
  ------------------
  |  Branch (1395:21): [True: 0, False: 0]
  |  Branch (1395:37): [True: 0, False: 0]
  ------------------
 1396|      0|                    depth--;
 1397|      0|                token = scanToken(ppToken);
 1398|      0|                if (token == '(' || token == '{')
  ------------------
  |  Branch (1398:21): [True: 0, False: 0]
  |  Branch (1398:37): [True: 0, False: 0]
  ------------------
 1399|      0|                    depth++;
 1400|      0|            }
 1401|       |
 1402|      0|            if (token == EndOfInput) {
  ------------------
  |  Branch (1402:17): [True: 0, False: 0]
  ------------------
 1403|      0|                parseContext.ppError(loc, "End of input in macro", "macro expansion", atomStrings.getString(macroAtom));
 1404|      0|                delete in;
 1405|      0|                return MacroExpandError;
 1406|      0|            }
 1407|      0|            parseContext.ppError(loc, "Too many args in macro", "macro expansion", atomStrings.getString(macroAtom));
 1408|      0|        }
 1409|       |
 1410|       |        // We need both expanded and non-expanded forms of the argument, for whether or
 1411|       |        // not token pasting will be applied later when the argument is consumed next to ##.
 1412|      0|        for (size_t i = 0; i < in->mac->args.size(); i++)
  ------------------
  |  Branch (1412:28): [True: 0, False: 0]
  ------------------
 1413|      0|            in->expandedArgs[i] = PrescanMacroArg(*in->args[i], ppToken, newLineOkay);
 1414|      0|    }
 1415|       |
 1416|      0|    pushInput(in);
 1417|      0|    macro->busy = 1;
 1418|      0|    macro->body.reset();
 1419|       |
 1420|      0|    return MacroExpandStarted;
 1421|      1|}
Pp.cpp:_ZN7glslang12_GLOBAL__N_16op_posEi:
  428|     48|    int op_pos(int a) { return a; }
Pp.cpp:_ZZN7glslang10TPpContext11MacroExpandEPNS_8TPpTokenEbbEN10DepthGuardC2ERi:
 1254|   648k|        explicit DepthGuard(int& d_) : d(d_) { ++d; }
Pp.cpp:_ZZN7glslang10TPpContext11MacroExpandEPNS_8TPpTokenEbbEN10DepthGuardD2Ev:
 1255|   648k|        ~DepthGuard() { --d; }

_ZN7glslang14TStringAtomMapC2Ev:
  160|    612|{
  161|    612|    badToken.assign("<bad token>");
  162|       |
  163|       |    // Add single character tokens to the atom table:
  164|    612|    const char* s = "~!%^&*()-+=|,.<>/?;:[]{}#\\";
  165|    612|    char t[2];
  166|       |
  167|    612|    t[1] = '\0';
  168|  16.5k|    while (*s) {
  ------------------
  |  Branch (168:12): [True: 15.9k, False: 612]
  ------------------
  169|  15.9k|        t[0] = *s;
  170|  15.9k|        addAtomFixed(t, s[0]);
  171|  15.9k|        s++;
  172|  15.9k|    }
  173|       |
  174|       |    // Add multiple character scanner tokens :
  175|  26.3k|    for (size_t ii = 0; ii < sizeof(tokens)/sizeof(tokens[0]); ii++)
  ------------------
  |  Branch (175:25): [True: 25.7k, False: 612]
  ------------------
  176|  25.7k|        addAtomFixed(tokens[ii].str, tokens[ii].val);
  177|       |
  178|    612|    nextAtom = PpAtomLast;
  179|    612|}

_ZN7glslang10TPpContextC2ERNS_17TParseContextBaseERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERNS_7TShader8IncluderE:
   88|    612|    preamble(nullptr), strings(nullptr), previous_token('\n'), parseContext(pc), includer(inclr), inComment(false),
   89|    612|    rootFileName(rootFileName),
   90|    612|    currentSourceFile(rootFileName),
   91|    612|    disableEscapeSequences(false),
   92|    612|    inElseSkip(false)
   93|    612|{
   94|    612|    ifdepth = 0;
   95|  41.0k|    for (elsetracker = 0; elsetracker <= maxIfNesting; elsetracker++)
  ------------------
  |  Branch (95:27): [True: 40.3k, False: 612]
  ------------------
   96|  40.3k|        elseSeen[elsetracker] = false;
   97|    612|    elsetracker = 0;
   98|       |
   99|    612|    strtodStream.imbue(std::locale::classic());
  100|    612|}
_ZN7glslang10TPpContextD2Ev:
  103|    612|{
  104|    612|    delete [] preamble;
  105|       |
  106|       |    // free up the inputStack
  107|    619|    while (! inputStack.empty())
  ------------------
  |  Branch (107:12): [True: 7, False: 612]
  ------------------
  108|      7|        popInput();
  109|    612|}
_ZN7glslang10TPpContext8setInputERNS_13TInputScannerEb:
  112|    282|{
  113|    282|    assert(inputStack.size() == 0);
  114|       |
  115|    282|    pushInput(new tStringInput(this, input));
  116|       |
  117|    282|    errorOnVersion = versionWillBeError;
  118|    282|    versionSeen = false;
  119|    282|}

_ZN7glslang8TPpTokenC2Ev:
   93|  2.52M|    TPpToken() { clear(); }
_ZN7glslang8TPpToken5clearEv:
   95|  7.47M|    {
   96|  7.47M|        space = false;
   97|  7.47M|        i64val = 0;
   98|  7.47M|        loc.init();
   99|  7.47M|        name[0] = 0;
  100|  7.47M|        fullyExpanded = false;
  101|  7.47M|    }
_ZNK7glslang14TStringAtomMap7getAtomEPKc:
  141|   793k|    {
  142|   793k|        auto it = atomMap.find(s);
  143|   793k|        return it == atomMap.end() ? 0 : it->second;
  ------------------
  |  Branch (143:16): [True: 777k, False: 15.3k]
  ------------------
  144|   793k|    }
_ZN7glslang14TStringAtomMap10getAddAtomEPKc:
  148|  5.97k|    {
  149|  5.97k|        int atom = getAtom(s);
  150|  5.97k|        if (atom == 0) {
  ------------------
  |  Branch (150:13): [True: 5.97k, False: 1]
  ------------------
  151|  5.97k|            atom = nextAtom++;
  152|  5.97k|            addAtomFixed(s, atom);
  153|  5.97k|        }
  154|  5.97k|        return atom;
  155|  5.97k|    }
_ZNK7glslang14TStringAtomMap9getStringEi:
  158|   611k|    const char* getString(int atom) const { return stringMap[atom]->c_str(); }
_ZN7glslang14TStringAtomMap12addAtomFixedEPKci:
  176|  47.5k|    {
  177|  47.5k|        auto it = atomMap.insert(std::pair<TString, int>(s, atom)).first;
  178|  47.5k|        if (stringMap.size() < (size_t)atom + 1)
  ------------------
  |  Branch (178:13): [True: 694, False: 46.8k]
  ------------------
  179|    694|            stringMap.resize(atom + 100, &badToken);
  180|  47.5k|        stringMap[atom] = &it->first;
  181|  47.5k|    }
_ZN7glslang10TPpContext6tInputC2EPS0_:
  208|    283|        tInput(TPpContext* p) : done(false), pp(p) { }
_ZN7glslang10TPpContext6tInputD2Ev:
  209|    283|        virtual ~tInput() { }
_ZN7glslang10TPpContext6tInput11peekPastingEv:
  214|  1.39M|        virtual bool peekPasting() { return false; }             // true when about to see ##
_ZN7glslang10TPpContext6tInput15notifyActivatedEv:
  221|    282|        virtual void notifyActivated() {}
_ZN7glslang10TPpContext6tInput13notifyDeletedEv:
  223|    282|        virtual void notifyDeleted() {}
_ZN7glslang10TPpContext9pushInputEPNS0_6tInputE:
  232|    282|    {
  233|    282|        inputStack.push_back(in);
  234|    282|        in->notifyActivated();
  235|    282|    }
_ZN7glslang10TPpContext8popInputEv:
  237|    282|    {
  238|    282|        inputStack.back()->notifyDeleted();
  239|    282|        delete inputStack.back();
  240|    282|        inputStack.pop_back();
  241|    282|    }
_ZN7glslang10TPpContext11TokenStream5TokenC2EiRKNS_8TPpTokenE:
  255|  6.08k|                atom(atom),
  256|  6.08k|                space(ppToken.space),
  257|  6.08k|                i64val(ppToken.i64val),
  258|  6.08k|                name(ppToken.name) { }
_ZN7glslang10TPpContext11TokenStreamC2Ev:
  278|  11.9k|        TokenStream() : currentPos(0) { }
_ZN7glslang10TPpContext11MacroSymbolC2Ev:
  331|  11.9k|        MacroSymbol() : functionLike(0), busy(0), undef(0) { }
_ZN7glslang10TPpContext14lookupMacroDefEi:
  342|  5.97k|    {
  343|  5.97k|        auto existingMacroIt = macroDefs.find(atom);
  344|  5.97k|        return (existingMacroIt == macroDefs.end()) ? nullptr : &(existingMacroIt->second);
  ------------------
  |  Branch (344:16): [True: 5.96k, False: 1]
  ------------------
  345|  5.97k|    }
_ZN7glslang10TPpContext11addMacroDefEiRNS0_11MacroSymbolE:
  346|  5.96k|    void addMacroDef(int atom, MacroSymbol& macroDef) { macroDefs[atom] = macroDef; }
_ZN7glslang10TPpContext9scanTokenEPNS_8TPpTokenE:
  369|  4.95M|    {
  370|  4.95M|        int token = EndOfInput;
  371|       |
  372|  4.95M|        while (! inputStack.empty()) {
  ------------------
  |  Branch (372:16): [True: 4.95M, False: 275]
  ------------------
  373|  4.95M|            token = inputStack.back()->scan(ppToken);
  374|  4.95M|            if (token != EndOfInput || inputStack.empty())
  ------------------
  |  Branch (374:17): [True: 4.95M, False: 275]
  |  Branch (374:40): [True: 0, False: 275]
  ------------------
  375|  4.95M|                break;
  376|    275|            popInput();
  377|    275|        }
  378|  4.95M|        if (!inputStack.empty() && inputStack.back()->isStringInput() && !inElseSkip) {
  ------------------
  |  Branch (378:13): [True: 4.95M, False: 275]
  |  Branch (378:36): [True: 4.95M, False: 0]
  |  Branch (378:74): [True: 1.43M, False: 3.51M]
  ------------------
  379|  1.43M|            if (token == '\n') {
  ------------------
  |  Branch (379:17): [True: 136k, False: 1.30M]
  ------------------
  380|   136k|                lastLineTokens.clear();
  381|   136k|                lastLineTokenLocs.clear();
  382|  1.30M|            } else {
  383|  1.30M|                lastLineTokens.push_back(token);
  384|  1.30M|                lastLineTokenLocs.push_back(ppToken->loc);
  385|  1.30M|            }
  386|  1.43M|        }
  387|  4.95M|        return token;
  388|  4.95M|    }
_ZN7glslang10TPpContext7getCharEv:
  389|  31.0k|    int  getChar() { return inputStack.back()->getch(); }
_ZN7glslang10TPpContext9ungetCharEv:
  390|  16.6k|    void ungetChar() { inputStack.back()->ungetch(); }
_ZN7glslang10TPpContext11peekPastingEv:
  391|  1.39M|    bool peekPasting() { return !inputStack.empty() && inputStack.back()->peekPasting(); }
  ------------------
  |  Branch (391:33): [True: 1.39M, False: 226]
  |  Branch (391:56): [True: 0, False: 1.39M]
  ------------------
_ZN7glslang10TPpContext11tMacroInputC2EPS0_:
  407|      1|        tMacroInput(TPpContext* pp) : tInput(pp), prepaste(false), postpaste(false) { }
_ZN7glslang10TPpContext11tMacroInputD2Ev:
  409|      1|        {
  410|      2|            for (size_t i = 0; i < args.size(); ++i)
  ------------------
  |  Branch (410:32): [True: 1, False: 1]
  ------------------
  411|      1|                delete args[i];
  412|      2|            for (size_t i = 0; i < expandedArgs.size(); ++i)
  ------------------
  |  Branch (412:32): [True: 1, False: 1]
  ------------------
  413|      1|                delete expandedArgs[i];
  414|      1|        }
_ZN7glslang10TPpContext12tStringInputC2EPS0_RNS_13TInputScannerE:
  550|    282|        tStringInput(TPpContext* pp, TInputScanner& i) : tInput(pp), input(&i) { }
_ZN7glslang10TPpContext12tStringInput13isStringInputEv:
  552|  4.95M|        bool isStringInput() override { return true; }
_ZN7glslang10TPpContext12tStringInput5getchEv:
  557|  15.5M|        {
  558|  15.5M|            int ch = input->get();
  559|       |
  560|  15.5M|            if (ch == '\\') {
  ------------------
  |  Branch (560:17): [True: 34.5k, False: 15.4M]
  ------------------
  561|       |                // Move past escaped newlines, as many as sequentially exist
  562|  34.6k|                do {
  563|  34.6k|                    if (input->peek() == '\r' || input->peek() == '\n') {
  ------------------
  |  Branch (563:25): [True: 18.9k, False: 15.6k]
  |  Branch (563:50): [True: 410, False: 15.2k]
  ------------------
  564|  19.3k|                        bool allowed = pp->parseContext.lineContinuationCheck(input->getSourceLoc(), pp->inComment);
  565|  19.3k|                        if (! allowed && pp->inComment)
  ------------------
  |  Branch (565:29): [True: 11.7k, False: 7.62k]
  |  Branch (565:42): [True: 11.7k, False: 0]
  ------------------
  566|  11.7k|                            return '\\';
  567|       |
  568|       |                        // escape one newline now
  569|  7.62k|                        ch = input->get();
  570|  7.62k|                        int nextch = input->get();
  571|  7.62k|                        if (ch == '\r' && nextch == '\n')
  ------------------
  |  Branch (571:29): [True: 7.29k, False: 338]
  |  Branch (571:43): [True: 314, False: 6.97k]
  ------------------
  572|    314|                            ch = input->get();
  573|  7.31k|                        else
  574|  7.31k|                            ch = nextch;
  575|  7.62k|                    } else
  576|  15.2k|                        return '\\';
  577|  34.6k|                } while (ch == '\\');
  ------------------
  |  Branch (577:26): [True: 95, False: 7.53k]
  ------------------
  578|  34.5k|            }
  579|       |
  580|       |            // handle any non-escaped newline
  581|  15.5M|            if (ch == '\r' || ch == '\n') {
  ------------------
  |  Branch (581:17): [True: 1.27M, False: 14.2M]
  |  Branch (581:31): [True: 598k, False: 13.6M]
  ------------------
  582|  1.87M|                if (ch == '\r' && input->peek() == '\n')
  ------------------
  |  Branch (582:21): [True: 1.27M, False: 598k]
  |  Branch (582:35): [True: 5.16k, False: 1.27M]
  ------------------
  583|  5.16k|                    input->get();
  584|  1.87M|                return '\n';
  585|  1.87M|            }
  586|       |
  587|  13.6M|            return ch;
  588|  15.5M|        }
_ZN7glslang10TPpContext12tStringInput7ungetchEv:
  595|  1.89M|        {
  596|  1.89M|            input->unget();
  597|       |
  598|  1.89M|            do {
  599|  1.89M|                int ch = input->peek();
  600|  1.89M|                if (ch == '\r' || ch == '\n') {
  ------------------
  |  Branch (600:21): [True: 557k, False: 1.34M]
  |  Branch (600:35): [True: 163k, False: 1.17M]
  ------------------
  601|   720k|                    if (ch == '\n') {
  ------------------
  |  Branch (601:25): [True: 163k, False: 557k]
  ------------------
  602|       |                        // correct for two-character newline
  603|   163k|                        input->unget();
  604|   163k|                        if (input->peek() != '\r')
  ------------------
  |  Branch (604:29): [True: 163k, False: 394]
  ------------------
  605|   163k|                            input->get();
  606|   163k|                    }
  607|       |                    // now in front of a complete newline, move past an escape character
  608|   720k|                    input->unget();
  609|   720k|                    if (input->peek() == '\\')
  ------------------
  |  Branch (609:25): [True: 251, False: 720k]
  ------------------
  610|    251|                        input->unget();
  611|   720k|                    else {
  612|   720k|                        input->get();
  613|   720k|                        break;
  614|   720k|                    }
  615|   720k|                } else
  616|  1.17M|                    break;
  617|  1.89M|            } while (true);
  ------------------
  |  Branch (617:22): [True: 251, Folded]
  ------------------
  618|  1.89M|        }

_ZN7glslang10TPpContext11lFloatConstEiiPNS_8TPpTokenE:
  113|  9.64k|{
  114|  9.64k|    const auto saveName = [&](int ch) {
  115|  9.64k|        if (len <= MaxTokenLength)
  116|  9.64k|            ppToken->name[len++] = static_cast<char>(ch);
  117|  9.64k|    };
  118|       |
  119|       |    // find the range of non-zero digits before the decimal point
  120|  9.64k|    int startNonZero = 0;
  121|  22.5k|    while (startNonZero < len && ppToken->name[startNonZero] == '0')
  ------------------
  |  Branch (121:12): [True: 16.1k, False: 6.39k]
  |  Branch (121:34): [True: 12.8k, False: 3.24k]
  ------------------
  122|  12.8k|        ++startNonZero;
  123|  9.64k|    int endNonZero = len;
  124|  9.66k|    while (endNonZero > startNonZero && ppToken->name[endNonZero-1] == '0')
  ------------------
  |  Branch (124:12): [True: 3.26k, False: 6.39k]
  |  Branch (124:41): [True: 26, False: 3.24k]
  ------------------
  125|     26|        --endNonZero;
  126|  9.64k|    int numWholeNumberDigits = endNonZero - startNonZero;
  127|       |
  128|       |    // accumulate the range's value
  129|  9.64k|    bool fastPath = numWholeNumberDigits <= 15;  // when the number gets too complex, set to false
  130|  9.64k|    unsigned long long wholeNumber = 0;
  131|  9.64k|    if (fastPath) {
  ------------------
  |  Branch (131:9): [True: 9.25k, False: 391]
  ------------------
  132|  16.6k|        for (int i = startNonZero; i < endNonZero; ++i)
  ------------------
  |  Branch (132:36): [True: 7.36k, False: 9.25k]
  ------------------
  133|  7.36k|            wholeNumber = wholeNumber * 10 + (ppToken->name[i] - '0');
  134|  9.25k|    }
  135|  9.64k|    int decimalShift = len - endNonZero;
  136|       |
  137|       |    // Decimal point:
  138|  9.64k|    bool hasDecimalOrExponent = false;
  139|  9.64k|    if (ch == '.') {
  ------------------
  |  Branch (139:9): [True: 4.92k, False: 4.71k]
  ------------------
  140|  4.92k|        hasDecimalOrExponent = true;
  141|  4.92k|        saveName(ch);
  142|  4.92k|        ch = getChar();
  143|  4.92k|        int firstDecimal = len;
  144|       |
  145|  4.92k|#ifdef ENABLE_HLSL
  146|       |        // 1.#INF or -1.#INF
  147|  4.92k|        if (ch == '#' && (ifdepth > 0 || parseContext.intermediate.getSource() == EShSourceHlsl)) {
  ------------------
  |  Branch (147:13): [True: 0, False: 4.92k]
  |  Branch (147:27): [True: 0, False: 0]
  |  Branch (147:42): [True: 0, False: 0]
  ------------------
  148|      0|            if ((len <  2) ||
  ------------------
  |  Branch (148:17): [True: 0, False: 0]
  ------------------
  149|      0|                (len == 2 && ppToken->name[0] != '1') ||
  ------------------
  |  Branch (149:18): [True: 0, False: 0]
  |  Branch (149:30): [True: 0, False: 0]
  ------------------
  150|      0|                (len == 3 && ppToken->name[1] != '1' && !(ppToken->name[0] == '-' || ppToken->name[0] == '+')) ||
  ------------------
  |  Branch (150:18): [True: 0, False: 0]
  |  Branch (150:30): [True: 0, False: 0]
  |  Branch (150:59): [True: 0, False: 0]
  |  Branch (150:86): [True: 0, False: 0]
  ------------------
  151|      0|                (len >  3))
  ------------------
  |  Branch (151:17): [True: 0, False: 0]
  ------------------
  152|      0|                parseContext.ppError(ppToken->loc, "unexpected use of", "#", "");
  153|      0|            else {
  154|       |                // we have 1.# or -1.# or +1.#, check for 'INF'
  155|      0|                if ((ch = getChar()) != 'I' ||
  ------------------
  |  Branch (155:21): [True: 0, False: 0]
  ------------------
  156|      0|                    (ch = getChar()) != 'N' ||
  ------------------
  |  Branch (156:21): [True: 0, False: 0]
  ------------------
  157|      0|                    (ch = getChar()) != 'F')
  ------------------
  |  Branch (157:21): [True: 0, False: 0]
  ------------------
  158|      0|                    parseContext.ppError(ppToken->loc, "expected 'INF'", "#", "");
  159|      0|                else {
  160|       |                    // we have [+-].#INF, and we are targeting IEEE 754, so wrap it up:
  161|      0|                    saveName('I');
  162|      0|                    saveName('N');
  163|      0|                    saveName('F');
  164|      0|                    ppToken->name[len] = '\0';
  165|      0|                    if (ppToken->name[0] == '-')
  ------------------
  |  Branch (165:25): [True: 0, False: 0]
  ------------------
  166|      0|                        ppToken->i64val = 0xfff0000000000000; // -Infinity
  167|      0|                    else
  168|      0|                        ppToken->i64val = 0x7ff0000000000000; // +Infinity
  169|      0|                    return PpAtomConstFloat;
  170|      0|                }
  171|      0|            }
  172|      0|        }
  173|  4.92k|#endif
  174|       |
  175|       |        // Consume leading-zero digits after the decimal point
  176|  8.22k|        while (ch == '0') {
  ------------------
  |  Branch (176:16): [True: 3.30k, False: 4.92k]
  ------------------
  177|  3.30k|            saveName(ch);
  178|  3.30k|            ch = getChar();
  179|  3.30k|        }
  180|  4.92k|        int startNonZeroDecimal = len;
  181|  4.92k|        int endNonZeroDecimal = len;
  182|       |
  183|       |        // Consume remaining digits, up to the exponent
  184|  8.05k|        while (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (184:16): [True: 7.04k, False: 1.00k]
  |  Branch (184:29): [True: 3.12k, False: 3.92k]
  ------------------
  185|  3.12k|            saveName(ch);
  186|  3.12k|            if (ch != '0')
  ------------------
  |  Branch (186:17): [True: 2.74k, False: 380]
  ------------------
  187|  2.74k|                endNonZeroDecimal = len;
  188|  3.12k|            ch = getChar();
  189|  3.12k|        }
  190|       |
  191|       |        // Compute accumulation up to the last non-zero digit
  192|  4.92k|        if (endNonZeroDecimal > startNonZeroDecimal) {
  ------------------
  |  Branch (192:13): [True: 1.58k, False: 3.34k]
  ------------------
  193|  1.58k|            numWholeNumberDigits += endNonZeroDecimal - endNonZero - 1; // don't include the "."
  194|  1.58k|            if (numWholeNumberDigits > 15)
  ------------------
  |  Branch (194:17): [True: 0, False: 1.58k]
  ------------------
  195|      0|                fastPath = false;
  196|  1.58k|            if (fastPath) {
  ------------------
  |  Branch (196:17): [True: 1.58k, False: 0]
  ------------------
  197|  6.02k|                for (int i = endNonZero; i < endNonZeroDecimal; ++i) {
  ------------------
  |  Branch (197:42): [True: 4.43k, False: 1.58k]
  ------------------
  198|  4.43k|                    if (ppToken->name[i] != '.')
  ------------------
  |  Branch (198:25): [True: 2.84k, False: 1.58k]
  ------------------
  199|  2.84k|                        wholeNumber = wholeNumber * 10 + (ppToken->name[i] - '0');
  200|  4.43k|                }
  201|  1.58k|            }
  202|  1.58k|            decimalShift = firstDecimal - endNonZeroDecimal;
  203|  1.58k|        }
  204|  4.92k|    }
  205|       |
  206|       |    // Exponent:
  207|  9.64k|    bool negativeExponent = false;
  208|  9.64k|    double exponentValue = 0.0;
  209|  9.64k|    int exponent = 0;
  210|  9.64k|    {
  211|  9.64k|        if (ch == 'e' || ch == 'E') {
  ------------------
  |  Branch (211:13): [True: 1.54k, False: 8.09k]
  |  Branch (211:26): [True: 512, False: 7.58k]
  ------------------
  212|  2.05k|            hasDecimalOrExponent = true;
  213|  2.05k|            saveName(ch);
  214|  2.05k|            ch = getChar();
  215|  2.05k|            if (ch == '+' || ch == '-') {
  ------------------
  |  Branch (215:17): [True: 0, False: 2.05k]
  |  Branch (215:30): [True: 66, False: 1.98k]
  ------------------
  216|     66|                negativeExponent = ch == '-';
  217|     66|                saveName(ch);
  218|     66|                ch = getChar();
  219|     66|            }
  220|  2.05k|            if (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (220:17): [True: 2.05k, False: 0]
  |  Branch (220:30): [True: 2.05k, False: 3]
  ------------------
  221|  9.85k|                while (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (221:24): [True: 9.27k, False: 580]
  |  Branch (221:37): [True: 7.80k, False: 1.47k]
  ------------------
  222|  7.80k|                    if (exponent < 500) {
  ------------------
  |  Branch (222:25): [True: 4.51k, False: 3.28k]
  ------------------
  223|  4.51k|                        exponent = exponent * 10 + (ch - '0');
  224|  4.51k|                    }
  225|  7.80k|                    saveName(ch);
  226|  7.80k|                    ch = getChar();
  227|  7.80k|                }
  228|  2.05k|            } else {
  229|      3|                parseContext.ppError(ppToken->loc, "bad character in float exponent", "", "");
  230|      3|            }
  231|  2.05k|        }
  232|       |
  233|       |        // Compensate for location of decimal
  234|  9.64k|        if (negativeExponent)
  ------------------
  |  Branch (234:13): [True: 66, False: 9.57k]
  ------------------
  235|     66|            exponent -= decimalShift;
  236|  9.57k|        else {
  237|  9.57k|            exponent += decimalShift;
  238|  9.57k|            if (exponent < 0) {
  ------------------
  |  Branch (238:17): [True: 1.58k, False: 7.98k]
  ------------------
  239|  1.58k|                negativeExponent = true;
  240|  1.58k|                exponent = -exponent;
  241|  1.58k|            }
  242|  9.57k|        }
  243|  9.64k|        if (exponent > 22)
  ------------------
  |  Branch (243:13): [True: 1.58k, False: 8.05k]
  ------------------
  244|  1.58k|            fastPath = false;
  245|       |
  246|  9.64k|        if (fastPath) {
  ------------------
  |  Branch (246:13): [True: 7.66k, False: 1.97k]
  ------------------
  247|       |            // Compute the floating-point value of the exponent
  248|  7.66k|            exponentValue = 1.0;
  249|  7.66k|            if (exponent > 0) {
  ------------------
  |  Branch (249:17): [True: 2.05k, False: 5.61k]
  ------------------
  250|  2.05k|                double expFactor = 10;
  251|  5.74k|                while (exponent > 0) {
  ------------------
  |  Branch (251:24): [True: 3.68k, False: 2.05k]
  ------------------
  252|  3.68k|                    if (exponent & 0x1)
  ------------------
  |  Branch (252:25): [True: 2.50k, False: 1.18k]
  ------------------
  253|  2.50k|                        exponentValue *= expFactor;
  254|  3.68k|                    expFactor *= expFactor;
  255|  3.68k|                    exponent >>= 1;
  256|  3.68k|                }
  257|  2.05k|            }
  258|  7.66k|        }
  259|  9.64k|    }
  260|       |
  261|       |    // Suffix:
  262|  9.64k|    bool isDouble = false;
  263|  9.64k|    bool isFloat16 = false;
  264|  9.64k|    bool isFE2M1 = false;
  265|  9.64k|    bool isFE3M2 = false;
  266|  9.64k|    bool isFE2M3 = false;
  267|  9.64k|    bool isFUE8M0 = false;
  268|  9.64k|    bool isFMXINT8 = false;
  269|  9.64k|    if (ch == 'l' || ch == 'L') {
  ------------------
  |  Branch (269:9): [True: 35, False: 9.60k]
  |  Branch (269:22): [True: 1.44k, False: 8.15k]
  ------------------
  270|  1.48k|        if (ifdepth == 0 && parseContext.intermediate.getSource() == EShSourceGlsl)
  ------------------
  |  Branch (270:13): [True: 0, False: 1.48k]
  |  Branch (270:29): [True: 0, False: 0]
  ------------------
  271|      0|            parseContext.doubleCheck(ppToken->loc, "double floating-point suffix");
  272|  1.48k|        if (ifdepth == 0 && !hasDecimalOrExponent)
  ------------------
  |  Branch (272:13): [True: 0, False: 1.48k]
  |  Branch (272:29): [True: 0, False: 0]
  ------------------
  273|      0|            parseContext.ppError(ppToken->loc, "float literal needs a decimal point or exponent", "", "");
  274|  1.48k|        if (parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (274:13): [True: 1.45k, False: 25]
  ------------------
  275|  1.45k|            int ch2 = getChar();
  276|  1.45k|            if (ch2 != 'f' && ch2 != 'F') {
  ------------------
  |  Branch (276:17): [True: 1.45k, False: 0]
  |  Branch (276:31): [True: 1.45k, False: 0]
  ------------------
  277|  1.45k|                ungetChar();
  278|  1.45k|                ungetChar();
  279|  1.45k|            } else {
  280|      0|                saveName(ch);
  281|      0|                saveName(ch2);
  282|      0|                isDouble = true;
  283|      0|            }
  284|  1.45k|        } else if (parseContext.intermediate.getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (284:20): [True: 25, False: 0]
  ------------------
  285|     25|            saveName(ch);
  286|     25|            isDouble = true;
  287|     25|        }
  288|  8.15k|    } else if (ch == 'h' || ch == 'H') {
  ------------------
  |  Branch (288:16): [True: 1.02k, False: 7.13k]
  |  Branch (288:29): [True: 938, False: 6.19k]
  ------------------
  289|  1.96k|        if (ifdepth == 0 && parseContext.intermediate.getSource() == EShSourceGlsl)
  ------------------
  |  Branch (289:13): [True: 0, False: 1.96k]
  |  Branch (289:29): [True: 0, False: 0]
  ------------------
  290|      0|            parseContext.float16Check(ppToken->loc, "half floating-point suffix");
  291|  1.96k|        if (ifdepth == 0 && !hasDecimalOrExponent)
  ------------------
  |  Branch (291:13): [True: 0, False: 1.96k]
  |  Branch (291:29): [True: 0, False: 0]
  ------------------
  292|      0|            parseContext.ppError(ppToken->loc, "float literal needs a decimal point or exponent", "", "");
  293|  1.96k|        if (parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (293:13): [True: 1.83k, False: 128]
  ------------------
  294|  1.83k|            int ch2 = getChar();
  295|  1.83k|            if (ch2 != 'f' && ch2 != 'F') {
  ------------------
  |  Branch (295:17): [True: 1.44k, False: 388]
  |  Branch (295:31): [True: 1.44k, False: 0]
  ------------------
  296|  1.44k|                ungetChar();
  297|  1.44k|                ungetChar();
  298|  1.44k|            } else {
  299|    388|                saveName(ch);
  300|    388|                saveName(ch2);
  301|    388|                isFloat16 = true;
  302|    388|            }
  303|  1.83k|        } else if (parseContext.intermediate.getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (303:20): [True: 128, False: 0]
  ------------------
  304|    128|            saveName(ch);
  305|    128|            isFloat16 = true;
  306|    128|        }
  307|  1.96k|    } else
  308|  6.19k|    if (ch == 'f' || ch == 'F') {
  ------------------
  |  Branch (308:9): [True: 1.29k, False: 4.90k]
  |  Branch (308:22): [True: 475, False: 4.43k]
  ------------------
  309|  1.76k|        if (ifdepth == 0)
  ------------------
  |  Branch (309:13): [True: 0, False: 1.76k]
  ------------------
  310|      0|            parseContext.profileRequires(ppToken->loc,  EEsProfile, 300, nullptr, "floating-point suffix");
  311|  1.76k|        if (ifdepth == 0 && !parseContext.relaxedErrors())
  ------------------
  |  Branch (311:13): [True: 0, False: 1.76k]
  |  Branch (311:29): [True: 0, False: 0]
  ------------------
  312|      0|            parseContext.profileRequires(ppToken->loc, ~EEsProfile, 120, nullptr, "floating-point suffix");
  313|  1.76k|        if (ifdepth == 0 && !hasDecimalOrExponent)
  ------------------
  |  Branch (313:13): [True: 0, False: 1.76k]
  |  Branch (313:29): [True: 0, False: 0]
  ------------------
  314|      0|            parseContext.ppError(ppToken->loc, "float literal needs a decimal point or exponent", "", "");
  315|  1.76k|        saveName(ch);
  316|       |
  317|  1.76k|        auto const &try_str = [&](const char *str, size_t numChar) {
  318|  1.76k|            size_t counter = 0;
  319|  1.76k|            for (size_t i = 0; i < numChar; ++i) {
  320|  1.76k|                if (getChar() != str[i]) {
  321|  1.76k|                    break;
  322|  1.76k|                }
  323|  1.76k|                counter++;
  324|  1.76k|            }
  325|  1.76k|            if (counter == numChar) {
  326|  1.76k|                for (size_t i = 0; i < numChar; ++i) {
  327|  1.76k|                    saveName(str[i]);
  328|  1.76k|                }
  329|  1.76k|                return true;
  330|  1.76k|            } else {
  331|       |                // called getChar one more than counter times
  332|  1.76k|                counter++;
  333|  1.76k|                while (counter) {
  334|  1.76k|                    ungetChar();
  335|  1.76k|                    counter--;
  336|  1.76k|                }
  337|  1.76k|                return false;
  338|  1.76k|            }
  339|  1.76k|        };
  340|       |
  341|  1.76k|        if (ch == 'f') {
  ------------------
  |  Branch (341:13): [True: 1.29k, False: 475]
  ------------------
  342|  1.29k|            if (try_str("e2m1", 4)) {
  ------------------
  |  Branch (342:17): [True: 0, False: 1.29k]
  ------------------
  343|      0|                isFE2M1 = true;
  344|  1.29k|            } else if (try_str("e3m2", 4)) {
  ------------------
  |  Branch (344:24): [True: 0, False: 1.29k]
  ------------------
  345|      0|                isFE3M2 = true;
  346|  1.29k|            } else if (try_str("e2m3", 4)) {
  ------------------
  |  Branch (346:24): [True: 0, False: 1.29k]
  ------------------
  347|      0|                isFE2M3 = true;
  348|  1.29k|            } else if (try_str("ue8m0", 5)) {
  ------------------
  |  Branch (348:24): [True: 0, False: 1.29k]
  ------------------
  349|      0|                isFUE8M0 = true;
  350|  1.29k|            } else if (try_str("mxint8", 6)) {
  ------------------
  |  Branch (350:24): [True: 0, False: 1.29k]
  ------------------
  351|      0|                isFMXINT8 = true;
  352|      0|            }
  353|  1.29k|        }
  354|  1.76k|    } else
  355|  4.43k|        ungetChar();
  356|       |
  357|       |    // Patch up the name and length for overflow
  358|       |
  359|  9.64k|    if (len > MaxTokenLength) {
  ------------------
  |  Branch (359:9): [True: 0, False: 9.64k]
  ------------------
  360|      0|        len = MaxTokenLength;
  361|      0|        parseContext.ppError(ppToken->loc, "float literal too long", "", "");
  362|      0|    }
  363|  9.64k|    ppToken->name[len] = '\0';
  364|       |
  365|       |    // Compute the numerical value
  366|  9.64k|    if (fastPath) {
  ------------------
  |  Branch (366:9): [True: 7.66k, False: 1.97k]
  ------------------
  367|       |        // compute the floating-point value of the exponent
  368|  7.66k|        if (exponentValue == 0.0)
  ------------------
  |  Branch (368:13): [True: 0, False: 7.66k]
  ------------------
  369|      0|            ppToken->dval = (double)wholeNumber;
  370|  7.66k|        else if (negativeExponent)
  ------------------
  |  Branch (370:18): [True: 1.58k, False: 6.08k]
  ------------------
  371|  1.58k|            ppToken->dval = (double)wholeNumber / exponentValue;
  372|  6.08k|        else
  373|  6.08k|            ppToken->dval = (double)wholeNumber * exponentValue;
  374|  7.66k|    } else {
  375|       |        // slow path
  376|  1.97k|        ppToken->dval = 0.0;
  377|       |
  378|       |        // remove suffix
  379|  1.97k|        TString numstr(ppToken->name);
  380|  1.97k|        if (numstr.back() == 'f' || numstr.back() == 'F')
  ------------------
  |  Branch (380:13): [True: 345, False: 1.62k]
  |  Branch (380:37): [True: 166, False: 1.46k]
  ------------------
  381|    511|            numstr.pop_back();
  382|  1.97k|        if (numstr.back() == 'h' || numstr.back() == 'H')
  ------------------
  |  Branch (382:13): [True: 0, False: 1.97k]
  |  Branch (382:37): [True: 0, False: 1.97k]
  ------------------
  383|      0|            numstr.pop_back();
  384|  1.97k|        if (numstr.back() == 'l' || numstr.back() == 'L')
  ------------------
  |  Branch (384:13): [True: 0, False: 1.97k]
  |  Branch (384:37): [True: 0, False: 1.97k]
  ------------------
  385|      0|            numstr.pop_back();
  386|       |
  387|       |        // use platform library
  388|  1.97k|        strtodStream.clear();
  389|  1.97k|        strtodStream.str(numstr.c_str());
  390|  1.97k|        strtodStream >> ppToken->dval;
  391|  1.97k|        if (strtodStream.fail()) {
  ------------------
  |  Branch (391:13): [True: 432, False: 1.54k]
  ------------------
  392|       |            // Assume failure combined with a large exponent was overflow, in
  393|       |            // an attempt to set INF.
  394|    432|            if (!negativeExponent && exponent + numWholeNumberDigits > 300)
  ------------------
  |  Branch (394:17): [True: 432, False: 0]
  |  Branch (394:38): [True: 432, False: 0]
  ------------------
  395|    432|                ppToken->i64val = 0x7ff0000000000000; // +Infinity
  396|       |            // Assume failure combined with a small exponent was overflow.
  397|    432|            if (negativeExponent && exponent + numWholeNumberDigits > 300)
  ------------------
  |  Branch (397:17): [True: 0, False: 432]
  |  Branch (397:37): [True: 0, False: 0]
  ------------------
  398|      0|                ppToken->dval = 0.0;
  399|       |            // Unknown reason for failure. Theory is that either
  400|       |            //  - the 0.0 is still there, or
  401|       |            //  - something reasonable was written that is better than 0.0
  402|    432|        }
  403|  1.97k|    }
  404|       |
  405|       |    // Return the right token type
  406|  9.64k|    if (isDouble)
  ------------------
  |  Branch (406:9): [True: 25, False: 9.61k]
  ------------------
  407|     25|        return PpAtomConstDouble;
  408|  9.61k|    else if (isFloat16)
  ------------------
  |  Branch (408:14): [True: 516, False: 9.10k]
  ------------------
  409|    516|        return PpAtomConstFloat16;
  410|  9.10k|    else if (isFE2M1)
  ------------------
  |  Branch (410:14): [True: 0, False: 9.10k]
  ------------------
  411|      0|        return PpAtomConstFloatE2M1;
  412|  9.10k|    else if (isFE3M2)
  ------------------
  |  Branch (412:14): [True: 0, False: 9.10k]
  ------------------
  413|      0|        return PpAtomConstFloatE3M2;
  414|  9.10k|    else if (isFE2M3)
  ------------------
  |  Branch (414:14): [True: 0, False: 9.10k]
  ------------------
  415|      0|        return PpAtomConstFloatE2M3;
  416|  9.10k|    else if (isFUE8M0)
  ------------------
  |  Branch (416:14): [True: 0, False: 9.10k]
  ------------------
  417|      0|        return PpAtomConstFloatUE8M0;
  418|  9.10k|    else if (isFMXINT8)
  ------------------
  |  Branch (418:14): [True: 0, False: 9.10k]
  ------------------
  419|      0|        return PpAtomConstFloatMXINT8;
  420|  9.10k|    else
  421|  9.10k|        return PpAtomConstFloat;
  422|  9.64k|}
_ZN7glslang10TPpContext16characterLiteralEPNS_8TPpTokenE:
  431|     19|{
  432|     19|    ppToken->name[0] = 0;
  433|     19|    ppToken->ival = 0;
  434|       |
  435|     19|    if (parseContext.intermediate.getSource() != EShSourceHlsl) {
  ------------------
  |  Branch (435:9): [True: 18, False: 1]
  ------------------
  436|       |        // illegal, except in macro definition, for which case we report the character
  437|     18|        return '\'';
  438|     18|    }
  439|       |
  440|      1|    int ch = getChar();
  441|      1|    switch (ch) {
  442|      0|    case '\'':
  ------------------
  |  Branch (442:5): [True: 0, False: 1]
  ------------------
  443|       |        // As empty sequence:  ''
  444|      0|        parseContext.ppError(ppToken->loc, "unexpected", "\'", "");
  445|      0|        return PpAtomConstInt;
  446|      0|    case '\\':
  ------------------
  |  Branch (446:5): [True: 0, False: 1]
  ------------------
  447|       |        // As escape sequence:  '\XXX'
  448|      0|        switch (ch = getChar()) {
  449|      0|        case 'a':
  ------------------
  |  Branch (449:9): [True: 0, False: 0]
  ------------------
  450|      0|            ppToken->ival = 7;
  451|      0|            break;
  452|      0|        case 'b':
  ------------------
  |  Branch (452:9): [True: 0, False: 0]
  ------------------
  453|      0|            ppToken->ival = 8;
  454|      0|            break;
  455|      0|        case 't':
  ------------------
  |  Branch (455:9): [True: 0, False: 0]
  ------------------
  456|      0|            ppToken->ival = 9;
  457|      0|            break;
  458|      0|        case 'n':
  ------------------
  |  Branch (458:9): [True: 0, False: 0]
  ------------------
  459|      0|            ppToken->ival = 10;
  460|      0|            break;
  461|      0|        case 'v':
  ------------------
  |  Branch (461:9): [True: 0, False: 0]
  ------------------
  462|      0|            ppToken->ival = 11;
  463|      0|            break;
  464|      0|        case 'f':
  ------------------
  |  Branch (464:9): [True: 0, False: 0]
  ------------------
  465|      0|            ppToken->ival = 12;
  466|      0|            break;
  467|      0|        case 'r':
  ------------------
  |  Branch (467:9): [True: 0, False: 0]
  ------------------
  468|      0|            ppToken->ival = 13;
  469|      0|            break;
  470|      0|        case 'x':
  ------------------
  |  Branch (470:9): [True: 0, False: 0]
  ------------------
  471|      0|        case '0':
  ------------------
  |  Branch (471:9): [True: 0, False: 0]
  ------------------
  472|      0|            parseContext.ppError(ppToken->loc, "octal and hex sequences not supported", "\\", "");
  473|      0|            break;
  474|      0|        default:
  ------------------
  |  Branch (474:9): [True: 0, False: 0]
  ------------------
  475|       |            // This catches '\'', '\"', '\?', etc.
  476|       |            // Also, things like '\C' mean the same thing as 'C'
  477|       |            // (after the above cases are filtered out).
  478|      0|            ppToken->ival = ch;
  479|      0|            break;
  480|      0|        }
  481|      0|        break;
  482|      1|    default:
  ------------------
  |  Branch (482:5): [True: 1, False: 0]
  ------------------
  483|      1|        ppToken->ival = ch;
  484|      1|        break;
  485|      1|    }
  486|      1|    ppToken->name[0] = (char)ppToken->ival;
  487|      1|    ppToken->name[1] = '\0';
  488|      1|    ch = getChar();
  489|      1|    if (ch != '\'') {
  ------------------
  |  Branch (489:9): [True: 1, False: 0]
  ------------------
  490|      1|        parseContext.ppError(ppToken->loc, "expected", "\'", "");
  491|       |        // Look ahead for a closing '
  492|     14|        do {
  493|     14|            ch = getChar();
  494|     14|        } while (ch != '\'' && ch != EndOfInput && ch != '\n');
  ------------------
  |  Branch (494:18): [True: 14, False: 0]
  |  Branch (494:32): [True: 14, False: 0]
  |  Branch (494:52): [True: 13, False: 1]
  ------------------
  495|      1|    }
  496|       |
  497|      1|    return PpAtomConstInt;
  498|      1|}
_ZN7glslang10TPpContext12tStringInput4scanEPNS_8TPpTokenE:
  512|  4.95M|{
  513|  4.95M|    int AlreadyComplained = 0;
  514|  4.95M|    int len = 0;
  515|  4.95M|    int ch = 0;
  516|  4.95M|    int ii = 0;
  517|  4.95M|    unsigned long long ival = 0;
  518|  4.95M|    const auto floatingPointChar = [&](int ch) { return ch == '.' || ch == 'e' || ch == 'E' ||
  519|  4.95M|                                                                     ch == 'f' || ch == 'F' ||
  520|  4.95M|                                                                     ch == 'h' || ch == 'H'; };
  521|       |
  522|  4.95M|    static const char* const Int64_Extensions[] = {
  523|  4.95M|        E_GL_ARB_gpu_shader_int64,
  524|  4.95M|        E_GL_EXT_shader_explicit_arithmetic_types,
  525|  4.95M|        E_GL_NV_gpu_shader5,
  526|  4.95M|        E_GL_EXT_shader_explicit_arithmetic_types_int64 };
  527|  4.95M|    static const int Num_Int64_Extensions = sizeof(Int64_Extensions) / sizeof(Int64_Extensions[0]);
  528|       |
  529|  4.95M|    static const char* const Int16_Extensions[] = {
  530|  4.95M|        E_GL_AMD_gpu_shader_int16,
  531|  4.95M|        E_GL_EXT_shader_explicit_arithmetic_types,
  532|  4.95M|        E_GL_EXT_shader_explicit_arithmetic_types_int16 };
  533|  4.95M|    static const int Num_Int16_Extensions = sizeof(Int16_Extensions) / sizeof(Int16_Extensions[0]);
  534|       |
  535|  4.95M|    ppToken->clear();
  536|  4.95M|    ch = getch();
  537|  4.95M|    for (;;) {
  538|  5.57M|        while (ch == ' ' || ch == '\t') {
  ------------------
  |  Branch (538:16): [True: 605k, False: 4.97M]
  |  Branch (538:29): [True: 16.2k, False: 4.95M]
  ------------------
  539|   621k|            ppToken->space = true;
  540|   621k|            ch = getch();
  541|   621k|        }
  542|       |
  543|  4.95M|        ppToken->loc = pp->parseContext.getCurrentLoc();
  544|  4.95M|        len = 0;
  545|  4.95M|        switch (ch) {
  546|  2.94M|        default:
  ------------------
  |  Branch (546:9): [True: 2.94M, False: 2.01M]
  ------------------
  547|       |            // Single character token, including EndOfInput, '#' and '\' (escaped newlines are handled at a lower level, so this is just a '\' token)
  548|  2.94M|            if (ch > PpAtomMaxSingle)
  ------------------
  |  Branch (548:17): [True: 516k, False: 2.42M]
  ------------------
  549|   516k|                ch = PpAtomBadToken;
  550|  2.94M|            return ch;
  551|       |
  552|  11.4k|        case 'A': case 'B': case 'C': case 'D': case 'E':
  ------------------
  |  Branch (552:9): [True: 3.53k, False: 4.95M]
  |  Branch (552:19): [True: 548, False: 4.95M]
  |  Branch (552:29): [True: 1.22k, False: 4.95M]
  |  Branch (552:39): [True: 2.71k, False: 4.95M]
  |  Branch (552:49): [True: 3.41k, False: 4.95M]
  ------------------
  553|  44.3k|        case 'F': case 'G': case 'H': case 'I': case 'J':
  ------------------
  |  Branch (553:9): [True: 2.30k, False: 4.95M]
  |  Branch (553:19): [True: 10.4k, False: 4.94M]
  |  Branch (553:29): [True: 942, False: 4.95M]
  |  Branch (553:39): [True: 18.3k, False: 4.93M]
  |  Branch (553:49): [True: 939, False: 4.95M]
  ------------------
  554|  55.4k|        case 'K': case 'L': case 'M': case 'N': case 'O':
  ------------------
  |  Branch (554:9): [True: 2.83k, False: 4.95M]
  |  Branch (554:19): [True: 3.25k, False: 4.95M]
  |  Branch (554:29): [True: 3.57k, False: 4.95M]
  |  Branch (554:39): [True: 399, False: 4.95M]
  |  Branch (554:49): [True: 974, False: 4.95M]
  ------------------
  555|  86.0k|        case 'P': case 'Q': case 'R': case 'S': case 'T':
  ------------------
  |  Branch (555:9): [True: 2.40k, False: 4.95M]
  |  Branch (555:19): [True: 1.46k, False: 4.95M]
  |  Branch (555:29): [True: 1.64k, False: 4.95M]
  |  Branch (555:39): [True: 6.29k, False: 4.94M]
  |  Branch (555:49): [True: 18.8k, False: 4.93M]
  ------------------
  556|  99.9k|        case 'U': case 'V': case 'W': case 'X': case 'Y':
  ------------------
  |  Branch (556:9): [True: 7.00k, False: 4.94M]
  |  Branch (556:19): [True: 492, False: 4.95M]
  |  Branch (556:29): [True: 5.62k, False: 4.94M]
  |  Branch (556:39): [True: 557, False: 4.95M]
  |  Branch (556:49): [True: 259, False: 4.95M]
  ------------------
  557|   125k|        case 'Z': case '_':
  ------------------
  |  Branch (557:9): [True: 148, False: 4.95M]
  |  Branch (557:19): [True: 25.7k, False: 4.92M]
  ------------------
  558|   270k|        case 'a': case 'b': case 'c': case 'd': case 'e':
  ------------------
  |  Branch (558:9): [True: 19.5k, False: 4.93M]
  |  Branch (558:19): [True: 37.5k, False: 4.91M]
  |  Branch (558:29): [True: 40.9k, False: 4.91M]
  |  Branch (558:39): [True: 33.1k, False: 4.92M]
  |  Branch (558:49): [True: 13.8k, False: 4.94M]
  ------------------
  559|   600k|        case 'f': case 'g': case 'h': case 'i': case 'j':
  ------------------
  |  Branch (559:9): [True: 166k, False: 4.78M]
  |  Branch (559:19): [True: 16.1k, False: 4.93M]
  |  Branch (559:29): [True: 9.59k, False: 4.94M]
  |  Branch (559:39): [True: 136k, False: 4.81M]
  |  Branch (559:49): [True: 486, False: 4.95M]
  ------------------
  560|   683k|        case 'k': case 'l': case 'm': case 'n': case 'o':
  ------------------
  |  Branch (560:9): [True: 1.06k, False: 4.95M]
  |  Branch (560:19): [True: 26.0k, False: 4.92M]
  |  Branch (560:29): [True: 22.5k, False: 4.93M]
  |  Branch (560:39): [True: 8.04k, False: 4.94M]
  |  Branch (560:49): [True: 25.4k, False: 4.92M]
  ------------------
  561|   787k|        case 'p': case 'q': case 'r': case 's': case 't':
  ------------------
  |  Branch (561:9): [True: 2.30k, False: 4.95M]
  |  Branch (561:19): [True: 1.05k, False: 4.95M]
  |  Branch (561:29): [True: 18.5k, False: 4.93M]
  |  Branch (561:39): [True: 40.6k, False: 4.91M]
  |  Branch (561:49): [True: 41.0k, False: 4.91M]
  ------------------
  562|  1.08M|        case 'u': case 'v': case 'w': case 'x': case 'y':
  ------------------
  |  Branch (562:9): [True: 87.2k, False: 4.86M]
  |  Branch (562:19): [True: 210k, False: 4.74M]
  |  Branch (562:29): [True: 2.21k, False: 4.95M]
  |  Branch (562:39): [True: 1.98k, False: 4.95M]
  |  Branch (562:49): [True: 674, False: 4.95M]
  ------------------
  563|  1.08M|        case 'z':
  ------------------
  |  Branch (563:9): [True: 94, False: 4.95M]
  ------------------
  564|  6.84M|            do {
  565|  6.84M|                if (len < MaxTokenLength) {
  ------------------
  |  Branch (565:21): [True: 6.84M, False: 0]
  ------------------
  566|  6.84M|                    ppToken->name[len++] = (char)ch;
  567|  6.84M|                    ch = getch();
  568|  6.84M|                } else {
  569|      0|                    if (! AlreadyComplained) {
  ------------------
  |  Branch (569:25): [True: 0, False: 0]
  ------------------
  570|      0|                        pp->parseContext.ppError(ppToken->loc, "name too long", "", "");
  571|      0|                        AlreadyComplained = 1;
  572|      0|                    }
  573|      0|                    ch = getch();
  574|      0|                }
  575|  6.84M|            } while ((ch >= 'a' && ch <= 'z') ||
  ------------------
  |  Branch (575:23): [True: 4.33M, False: 2.51M]
  |  Branch (575:36): [True: 4.28M, False: 48.7k]
  ------------------
  576|  2.56M|                     (ch >= 'A' && ch <= 'Z') ||
  ------------------
  |  Branch (576:23): [True: 758k, False: 1.80M]
  |  Branch (576:36): [True: 582k, False: 175k]
  ------------------
  577|  1.98M|                     (ch >= '0' && ch <= '9') ||
  ------------------
  |  Branch (577:23): [True: 1.00M, False: 972k]
  |  Branch (577:36): [True: 774k, False: 235k]
  ------------------
  578|  1.20M|                     ch == '_');
  ------------------
  |  Branch (578:22): [True: 118k, False: 1.08M]
  ------------------
  579|       |
  580|       |            // line continuation with no token before or after makes len == 0, and need to start over skipping white space, etc.
  581|  1.08M|            if (len == 0)
  ------------------
  |  Branch (581:17): [True: 0, False: 1.08M]
  ------------------
  582|      0|                continue;
  583|       |
  584|  1.08M|            ppToken->name[len] = '\0';
  585|  1.08M|            ungetch();
  586|  1.08M|            return PpAtomIdentifier;
  587|  22.7k|        case '0':
  ------------------
  |  Branch (587:9): [True: 22.7k, False: 4.93M]
  ------------------
  588|  22.7k|            ppToken->name[len++] = (char)ch;
  589|  22.7k|            ch = getch();
  590|  22.7k|            if (ch == 'x' || ch == 'X') {
  ------------------
  |  Branch (590:17): [True: 1.32k, False: 21.3k]
  |  Branch (590:30): [True: 74, False: 21.2k]
  ------------------
  591|       |                // must be hexadecimal
  592|       |
  593|  1.40k|                bool isUnsigned = false;
  594|  1.40k|                bool isInt64 = false;
  595|  1.40k|                bool isInt16 = false;
  596|  1.40k|                ppToken->name[len++] = (char)ch;
  597|  1.40k|                ch = getch();
  598|  1.40k|                if ((ch >= '0' && ch <= '9') ||
  ------------------
  |  Branch (598:22): [True: 1.40k, False: 0]
  |  Branch (598:35): [True: 91, False: 1.31k]
  ------------------
  599|  1.31k|                    (ch >= 'A' && ch <= 'F') ||
  ------------------
  |  Branch (599:22): [True: 1.31k, False: 0]
  |  Branch (599:35): [True: 1.31k, False: 0]
  ------------------
  600|  1.40k|                    (ch >= 'a' && ch <= 'f')) {
  ------------------
  |  Branch (600:22): [True: 0, False: 0]
  |  Branch (600:35): [True: 0, False: 0]
  ------------------
  601|       |
  602|  1.40k|                    ival = 0;
  603|  1.79k|                    do {
  604|  1.79k|                        if (len < MaxTokenLength && ival <= 0x7fffffffffffffffull) {
  ------------------
  |  Branch (604:29): [True: 1.79k, False: 0]
  |  Branch (604:53): [True: 1.79k, False: 0]
  ------------------
  605|  1.79k|                            ppToken->name[len++] = (char)ch;
  606|  1.79k|                            if (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (606:33): [True: 1.79k, False: 0]
  |  Branch (606:46): [True: 391, False: 1.40k]
  ------------------
  607|    391|                                ii = ch - '0';
  608|  1.40k|                            } else if (ch >= 'A' && ch <= 'F') {
  ------------------
  |  Branch (608:40): [True: 1.40k, False: 0]
  |  Branch (608:53): [True: 1.38k, False: 19]
  ------------------
  609|  1.38k|                                ii = ch - 'A' + 10;
  610|  1.38k|                            } else if (ch >= 'a' && ch <= 'f') {
  ------------------
  |  Branch (610:40): [True: 19, False: 0]
  |  Branch (610:53): [True: 19, False: 0]
  ------------------
  611|     19|                                ii = ch - 'a' + 10;
  612|     19|                            } else
  613|      0|                                pp->parseContext.ppError(ppToken->loc, "bad digit in hexadecimal literal", "", "");
  614|  1.79k|                            ival = (ival << 4) | ii;
  615|  1.79k|                        } else {
  616|      0|                            if (! AlreadyComplained) {
  ------------------
  |  Branch (616:33): [True: 0, False: 0]
  ------------------
  617|      0|                                if(len < MaxTokenLength)
  ------------------
  |  Branch (617:36): [True: 0, False: 0]
  ------------------
  618|      0|                                    pp->parseContext.ppError(ppToken->loc, "hexadecimal literal too big", "", "");
  619|      0|                                else
  620|      0|                                    pp->parseContext.ppError(ppToken->loc, "hexadecimal literal too long", "", "");
  621|      0|                                AlreadyComplained = 1;
  622|      0|                            }
  623|      0|                            ival = 0xffffffffffffffffull;
  624|      0|                        }
  625|  1.79k|                        ch = getch();
  626|  1.79k|                    } while ((ch >= '0' && ch <= '9') ||
  ------------------
  |  Branch (626:31): [True: 1.75k, False: 35]
  |  Branch (626:44): [True: 300, False: 1.45k]
  ------------------
  627|  1.49k|                             (ch >= 'A' && ch <= 'F') ||
  ------------------
  |  Branch (627:31): [True: 1.40k, False: 87]
  |  Branch (627:44): [True: 74, False: 1.33k]
  ------------------
  628|  1.42k|                             (ch >= 'a' && ch <= 'f'));
  ------------------
  |  Branch (628:31): [True: 74, False: 1.34k]
  |  Branch (628:44): [True: 19, False: 55]
  ------------------
  629|  1.40k|                } else {
  630|      0|                    pp->parseContext.ppError(ppToken->loc, "bad digit in hexadecimal literal", "", "");
  631|      0|                }
  632|  1.40k|                if (ch == 'u' || ch == 'U') {
  ------------------
  |  Branch (632:21): [True: 0, False: 1.40k]
  |  Branch (632:34): [True: 23, False: 1.37k]
  ------------------
  633|     23|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (633:25): [True: 23, False: 0]
  ------------------
  634|     23|                        ppToken->name[len++] = (char)ch;
  635|     23|                    isUnsigned = true;
  636|       |
  637|     23|                    int nextCh = getch();
  638|     23|                    if (nextCh == 'l' || nextCh == 'L') {
  ------------------
  |  Branch (638:25): [True: 0, False: 23]
  |  Branch (638:42): [True: 0, False: 23]
  ------------------
  639|      0|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (639:29): [True: 0, False: 0]
  ------------------
  640|      0|                            ppToken->name[len++] = (char)nextCh;
  641|      0|                        isInt64 = true;
  642|      0|                    } else
  643|     23|                        ungetch();
  644|       |
  645|     23|                    nextCh = getch();
  646|     23|                    if ((nextCh == 's' || nextCh == 'S') &&
  ------------------
  |  Branch (646:26): [True: 0, False: 23]
  |  Branch (646:43): [True: 0, False: 23]
  ------------------
  647|      0|                            pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (647:29): [True: 0, False: 0]
  ------------------
  648|      0|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (648:29): [True: 0, False: 0]
  ------------------
  649|      0|                            ppToken->name[len++] = (char)nextCh;
  650|      0|                        isInt16 = true;
  651|      0|                    } else
  652|     23|                        ungetch();
  653|  1.37k|                } else if (ch == 'l' || ch == 'L') {
  ------------------
  |  Branch (653:28): [True: 0, False: 1.37k]
  |  Branch (653:41): [True: 0, False: 1.37k]
  ------------------
  654|      0|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (654:25): [True: 0, False: 0]
  ------------------
  655|      0|                        ppToken->name[len++] = (char)ch;
  656|      0|                    isInt64 = true;
  657|  1.37k|                } else if ((ch == 's' || ch == 'S') &&
  ------------------
  |  Branch (657:29): [True: 0, False: 1.37k]
  |  Branch (657:42): [True: 979, False: 399]
  ------------------
  658|    979|                           pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (658:28): [True: 863, False: 116]
  ------------------
  659|    863|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (659:25): [True: 863, False: 0]
  ------------------
  660|    863|                        ppToken->name[len++] = (char)ch;
  661|    863|                    isInt16 = true;
  662|    863|                } else
  663|    515|                    ungetch();
  664|  1.40k|                ppToken->name[len] = '\0';
  665|       |
  666|  1.40k|                if (isInt64 && pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (666:21): [True: 0, False: 1.40k]
  |  Branch (666:32): [True: 0, False: 0]
  ------------------
  667|      0|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (667:25): [True: 0, False: 0]
  ------------------
  668|      0|                        pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile,
  669|      0|                                                        "64-bit hexadecimal literal");
  670|      0|                        pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0,
  671|      0|                            Num_Int64_Extensions, Int64_Extensions, "64-bit hexadecimal literal");
  672|      0|                    }
  673|      0|                    ppToken->i64val = ival;
  674|      0|                    return isUnsigned ? PpAtomConstUint64 : PpAtomConstInt64;
  ------------------
  |  Branch (674:28): [True: 0, False: 0]
  ------------------
  675|  1.40k|                } else if (isInt16) {
  ------------------
  |  Branch (675:28): [True: 863, False: 538]
  ------------------
  676|    863|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (676:25): [True: 0, False: 863]
  ------------------
  677|      0|                        if (pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (677:29): [True: 0, False: 0]
  ------------------
  678|      0|                            pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile,
  679|      0|                                                             "16-bit hexadecimal literal");
  680|      0|                            pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0,
  681|      0|                                Num_Int16_Extensions, Int16_Extensions, "16-bit hexadecimal literal");
  682|      0|                        }
  683|      0|                    }
  684|    863|                    ppToken->ival = (int)ival;
  685|    863|                    return isUnsigned ? PpAtomConstUint16 : PpAtomConstInt16;
  ------------------
  |  Branch (685:28): [True: 0, False: 863]
  ------------------
  686|    863|                } else {
  687|    538|                    if (ival > 0xffffffffu && !AlreadyComplained)
  ------------------
  |  Branch (687:25): [True: 0, False: 538]
  |  Branch (687:47): [True: 0, False: 0]
  ------------------
  688|      0|                        pp->parseContext.ppError(ppToken->loc, "hexadecimal literal too big", "", "");
  689|    538|                    ppToken->ival = (int)ival;
  690|    538|                    return isUnsigned ? PpAtomConstUint : PpAtomConstInt;
  ------------------
  |  Branch (690:28): [True: 23, False: 515]
  ------------------
  691|    538|                }
  692|  21.2k|            } else if ((ch == 'b' || ch == 'B') && pp->parseContext.intermediate.getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (692:25): [True: 0, False: 21.2k]
  |  Branch (692:38): [True: 0, False: 21.2k]
  |  Branch (692:52): [True: 0, False: 0]
  ------------------
  693|       |                // must be binary
  694|      0|                bool isUnsigned = false;
  695|      0|                bool isInt64 = false;
  696|      0|                bool isInt16 = false;
  697|      0|                ppToken->name[len++] = (char)ch;
  698|      0|                ch = getch();
  699|       |
  700|       |                // Check value
  701|      0|                if ((ch == '0' || ch == '1'))
  ------------------
  |  Branch (701:22): [True: 0, False: 0]
  |  Branch (701:35): [True: 0, False: 0]
  ------------------
  702|      0|                {
  703|      0|                    ival = 0;
  704|      0|                    do {
  705|      0|                        if (len < MaxTokenLength && ival <= 0x7fffffffffffffffull) {
  ------------------
  |  Branch (705:29): [True: 0, False: 0]
  |  Branch (705:53): [True: 0, False: 0]
  ------------------
  706|      0|                            ppToken->name[len++] = (char)ch;
  707|      0|                            if (ch == '0' || ch == '1') {
  ------------------
  |  Branch (707:33): [True: 0, False: 0]
  |  Branch (707:46): [True: 0, False: 0]
  ------------------
  708|      0|                                ii = ch - '0';
  709|      0|                            } else {
  710|      0|                                pp->parseContext.ppError(ppToken->loc, "bad digit in binary literal", "", "");
  711|      0|                            }
  712|      0|                            ival = (ival << 1) | ii;
  713|      0|                        }
  714|      0|                        else
  715|      0|                        {
  716|      0|                            if (! AlreadyComplained) {
  ------------------
  |  Branch (716:33): [True: 0, False: 0]
  ------------------
  717|      0|                                if(len < MaxTokenLength)
  ------------------
  |  Branch (717:36): [True: 0, False: 0]
  ------------------
  718|      0|                                    pp->parseContext.ppError(ppToken->loc, "binary literal too big", "", "");
  719|      0|                                else
  720|      0|                                    pp->parseContext.ppError(ppToken->loc, "binary literal too long", "", "");
  721|      0|                                AlreadyComplained = 1;
  722|      0|                            }
  723|      0|                            ival = 0xffffffffffffffffull;
  724|      0|                        }
  725|      0|                        ch = getch();
  726|      0|                    } while (ch == '0' || ch == '1');
  ------------------
  |  Branch (726:30): [True: 0, False: 0]
  |  Branch (726:43): [True: 0, False: 0]
  ------------------
  727|      0|                }
  728|      0|                else
  729|      0|                {
  730|      0|                   pp->parseContext.ppError(ppToken->loc, "bad digit in binary literal", "", "");
  731|      0|                }
  732|       |
  733|       |                // check type
  734|      0|                if (ch == 'u' || ch == 'U') {
  ------------------
  |  Branch (734:21): [True: 0, False: 0]
  |  Branch (734:34): [True: 0, False: 0]
  ------------------
  735|      0|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (735:25): [True: 0, False: 0]
  ------------------
  736|      0|                        ppToken->name[len++] = (char)ch;
  737|      0|                    isUnsigned = true;
  738|       |
  739|      0|                    int nextCh = getch();
  740|      0|                    if (nextCh == 'l' || nextCh == 'L') {
  ------------------
  |  Branch (740:25): [True: 0, False: 0]
  |  Branch (740:42): [True: 0, False: 0]
  ------------------
  741|      0|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (741:29): [True: 0, False: 0]
  ------------------
  742|      0|                            ppToken->name[len++] = (char)nextCh;
  743|      0|                        isInt64 = true;
  744|      0|                    } else
  745|      0|                        ungetch();
  746|       |
  747|      0|                    nextCh = getch();
  748|      0|                    if ((nextCh == 's' || nextCh == 'S') &&
  ------------------
  |  Branch (748:26): [True: 0, False: 0]
  |  Branch (748:43): [True: 0, False: 0]
  ------------------
  749|      0|                                pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (749:33): [True: 0, False: 0]
  ------------------
  750|      0|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (750:29): [True: 0, False: 0]
  ------------------
  751|      0|                            ppToken->name[len++] = (char)nextCh;
  752|      0|                        isInt16 = true;
  753|      0|                    } else
  754|      0|                        ungetch();
  755|      0|                } else if (ch == 'l' || ch == 'L') {
  ------------------
  |  Branch (755:28): [True: 0, False: 0]
  |  Branch (755:41): [True: 0, False: 0]
  ------------------
  756|      0|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (756:25): [True: 0, False: 0]
  ------------------
  757|      0|                        ppToken->name[len++] = (char)ch;
  758|      0|                    isInt64 = true;
  759|      0|                } else if ((ch == 's' || ch == 'S') &&
  ------------------
  |  Branch (759:29): [True: 0, False: 0]
  |  Branch (759:42): [True: 0, False: 0]
  ------------------
  760|      0|                                pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (760:33): [True: 0, False: 0]
  ------------------
  761|      0|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (761:25): [True: 0, False: 0]
  ------------------
  762|      0|                        ppToken->name[len++] = (char)ch;
  763|      0|                    isInt16 = true;
  764|      0|                } else {
  765|      0|                    ungetch();
  766|      0|                }
  767|      0|                ppToken->name[len] = '\0';
  768|       |
  769|       |                // Assign value
  770|      0|                if (isInt64 && pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (770:21): [True: 0, False: 0]
  |  Branch (770:32): [True: 0, False: 0]
  ------------------
  771|      0|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (771:25): [True: 0, False: 0]
  ------------------
  772|      0|                        pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile,
  773|      0|                                                        "64-bit binary literal");
  774|      0|                        pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0,
  775|      0|                            Num_Int64_Extensions, Int64_Extensions, "64-bit binary literal");
  776|      0|                    }
  777|      0|                    ppToken->i64val = ival;
  778|      0|                    return isUnsigned ? PpAtomConstUint64 : PpAtomConstInt64;
  ------------------
  |  Branch (778:28): [True: 0, False: 0]
  ------------------
  779|      0|                } else if (isInt16) {
  ------------------
  |  Branch (779:28): [True: 0, False: 0]
  ------------------
  780|      0|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (780:25): [True: 0, False: 0]
  ------------------
  781|      0|                        if (pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (781:29): [True: 0, False: 0]
  ------------------
  782|      0|                            pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile,
  783|      0|                                                            "16-bit binary literal");
  784|      0|                            pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0,
  785|      0|                                Num_Int16_Extensions, Int16_Extensions, "16-bit binary literal");
  786|      0|                        }
  787|      0|                    }
  788|      0|                    ppToken->ival = (int)ival;
  789|      0|                    return isUnsigned ? PpAtomConstUint16 : PpAtomConstInt16;
  ------------------
  |  Branch (789:28): [True: 0, False: 0]
  ------------------
  790|      0|                } else {
  791|      0|                    ppToken->ival = (int)ival;
  792|      0|                    return isUnsigned ? PpAtomConstUint : PpAtomConstInt;
  ------------------
  |  Branch (792:28): [True: 0, False: 0]
  ------------------
  793|      0|                }
  794|  21.2k|            } else {
  795|       |                // could be octal integer or floating point, speculative pursue octal until it must be floating point
  796|       |
  797|  21.2k|                bool isUnsigned = false;
  798|  21.2k|                bool isInt64 = false;
  799|  21.2k|                bool isInt16 = false;
  800|  21.2k|                bool octalOverflow = false;
  801|  21.2k|                bool nonOctal = false;
  802|  21.2k|                ival = 0;
  803|       |
  804|       |                // see how much octal-like stuff we can read
  805|  37.3k|                while (ch >= '0' && ch <= '7') {
  ------------------
  |  Branch (805:24): [True: 25.9k, False: 11.4k]
  |  Branch (805:37): [True: 16.0k, False: 9.86k]
  ------------------
  806|  16.0k|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (806:25): [True: 16.0k, False: 0]
  ------------------
  807|  16.0k|                        ppToken->name[len++] = (char)ch;
  808|      0|                    else if (! AlreadyComplained) {
  ------------------
  |  Branch (808:30): [True: 0, False: 0]
  ------------------
  809|      0|                        pp->parseContext.ppError(ppToken->loc, "numeric literal too long", "", "");
  810|      0|                        AlreadyComplained = 1;
  811|      0|                    }
  812|  16.0k|                    if (ival <= 0x1fffffffffffffffull) {
  ------------------
  |  Branch (812:25): [True: 16.0k, False: 0]
  ------------------
  813|  16.0k|                        ii = ch - '0';
  814|  16.0k|                        ival = (ival << 3) | ii;
  815|  16.0k|                    } else
  816|      0|                        octalOverflow = true;
  817|  16.0k|                    ch = getch();
  818|  16.0k|                }
  819|       |
  820|       |                // could be part of a float...
  821|  21.2k|                if (ch == '8' || ch == '9') {
  ------------------
  |  Branch (821:21): [True: 395, False: 20.9k]
  |  Branch (821:34): [True: 3, False: 20.9k]
  ------------------
  822|    398|                    nonOctal = true;
  823|  6.18k|                    do {
  824|  6.18k|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (824:29): [True: 6.18k, False: 0]
  ------------------
  825|  6.18k|                            ppToken->name[len++] = (char)ch;
  826|      0|                        else if (! AlreadyComplained) {
  ------------------
  |  Branch (826:34): [True: 0, False: 0]
  ------------------
  827|      0|                            pp->parseContext.ppError(ppToken->loc, "numeric literal too long", "", "");
  828|      0|                            AlreadyComplained = 1;
  829|      0|                        }
  830|  6.18k|                        ch = getch();
  831|  6.18k|                    } while (ch >= '0' && ch <= '9');
  ------------------
  |  Branch (831:30): [True: 6.18k, False: 0]
  |  Branch (831:43): [True: 5.79k, False: 398]
  ------------------
  832|    398|                }
  833|  21.2k|                if (floatingPointChar(ch))
  ------------------
  |  Branch (833:21): [True: 2.21k, False: 19.0k]
  ------------------
  834|  2.21k|                    return pp->lFloatConst(len, ch, ppToken);
  835|       |
  836|       |                // wasn't a float, so must be octal...
  837|  19.0k|                if (nonOctal)
  ------------------
  |  Branch (837:21): [True: 1, False: 19.0k]
  ------------------
  838|      1|                    pp->parseContext.ppError(ppToken->loc, "octal literal digit too large", "", "");
  839|       |
  840|  19.0k|                if (ch == 'u' || ch == 'U') {
  ------------------
  |  Branch (840:21): [True: 61, False: 19.0k]
  |  Branch (840:34): [True: 637, False: 18.3k]
  ------------------
  841|    698|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (841:25): [True: 698, False: 0]
  ------------------
  842|    698|                        ppToken->name[len++] = (char)ch;
  843|    698|                    isUnsigned = true;
  844|       |
  845|    698|                    int nextCh = getch();
  846|    698|                    if (nextCh == 'l' || nextCh == 'L') {
  ------------------
  |  Branch (846:25): [True: 0, False: 698]
  |  Branch (846:42): [True: 2, False: 696]
  ------------------
  847|      2|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (847:29): [True: 2, False: 0]
  ------------------
  848|      2|                            ppToken->name[len++] = (char)nextCh;
  849|      2|                        isInt64 = true;
  850|      2|                    } else
  851|    696|                        ungetch();
  852|       |
  853|    698|                    nextCh = getch();
  854|    698|                    if ((nextCh == 's' || nextCh == 'S') && 
  ------------------
  |  Branch (854:26): [True: 24, False: 674]
  |  Branch (854:43): [True: 33, False: 641]
  ------------------
  855|     57|                                pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (855:33): [True: 44, False: 13]
  ------------------
  856|     44|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (856:29): [True: 44, False: 0]
  ------------------
  857|     44|                            ppToken->name[len++] = (char)nextCh;
  858|     44|                        isInt16 = true;
  859|     44|                    } else
  860|    654|                        ungetch();
  861|  18.3k|                } else if (ch == 'l' || ch == 'L') {
  ------------------
  |  Branch (861:28): [True: 428, False: 17.9k]
  |  Branch (861:41): [True: 1.38k, False: 16.5k]
  ------------------
  862|  1.80k|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (862:25): [True: 1.80k, False: 0]
  ------------------
  863|  1.80k|                        ppToken->name[len++] = (char)ch;
  864|  1.80k|                    isInt64 = true;
  865|  16.5k|                } else if ((ch == 's' || ch == 'S') && 
  ------------------
  |  Branch (865:29): [True: 111, False: 16.4k]
  |  Branch (865:42): [True: 2, False: 16.4k]
  ------------------
  866|    113|                                pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (866:33): [True: 19, False: 94]
  ------------------
  867|     19|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (867:25): [True: 19, False: 0]
  ------------------
  868|     19|                        ppToken->name[len++] = (char)ch;
  869|     19|                    isInt16 = true;
  870|     19|                } else
  871|  16.5k|                    ungetch();
  872|  19.0k|                ppToken->name[len] = '\0';
  873|       |
  874|  19.0k|                if (!isInt64 && ival > 0xffffffffu)
  ------------------
  |  Branch (874:21): [True: 17.2k, False: 1.81k]
  |  Branch (874:33): [True: 0, False: 17.2k]
  ------------------
  875|      0|                    octalOverflow = true;
  876|       |
  877|  19.0k|                if (octalOverflow)
  ------------------
  |  Branch (877:21): [True: 0, False: 19.0k]
  ------------------
  878|      0|                    pp->parseContext.ppError(ppToken->loc, "octal literal too big", "", "");
  879|       |
  880|  19.0k|                if (isInt64 && pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (880:21): [True: 1.81k, False: 17.2k]
  |  Branch (880:32): [True: 978, False: 832]
  ------------------
  881|    978|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (881:25): [True: 0, False: 978]
  ------------------
  882|      0|                        pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile,
  883|      0|                                                        "64-bit octal literal");
  884|      0|                        pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0,
  885|      0|                            Num_Int64_Extensions, Int64_Extensions, "64-bit octal literal");
  886|      0|                    }
  887|    978|                    ppToken->i64val = ival;
  888|    978|                    return isUnsigned ? PpAtomConstUint64 : PpAtomConstInt64;
  ------------------
  |  Branch (888:28): [True: 0, False: 978]
  ------------------
  889|  18.1k|                } else if (isInt16) {
  ------------------
  |  Branch (889:28): [True: 63, False: 18.0k]
  ------------------
  890|     63|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (890:25): [True: 0, False: 63]
  ------------------
  891|      0|                        if (pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (891:29): [True: 0, False: 0]
  ------------------
  892|      0|                            pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile,
  893|      0|                                                            "16-bit octal literal");
  894|      0|                            pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0,
  895|      0|                                Num_Int16_Extensions, Int16_Extensions, "16-bit octal literal");
  896|      0|                        }
  897|      0|                    }
  898|     63|                    ppToken->ival = (int)ival;
  899|     63|                    return isUnsigned ? PpAtomConstUint16 : PpAtomConstInt16;
  ------------------
  |  Branch (899:28): [True: 44, False: 19]
  ------------------
  900|  18.0k|                } else {
  901|  18.0k|                    ppToken->ival = (int)ival;
  902|  18.0k|                    return isUnsigned ? PpAtomConstUint : PpAtomConstInt;
  ------------------
  |  Branch (902:28): [True: 654, False: 17.3k]
  ------------------
  903|  18.0k|                }
  904|  19.0k|            }
  905|      0|            break;
  906|  66.5k|        case '1': case '2': case '3': case '4':
  ------------------
  |  Branch (906:9): [True: 34.5k, False: 4.91M]
  |  Branch (906:19): [True: 22.3k, False: 4.93M]
  |  Branch (906:29): [True: 6.08k, False: 4.94M]
  |  Branch (906:39): [True: 3.57k, False: 4.95M]
  ------------------
  907|  82.3k|        case '5': case '6': case '7': case '8': case '9':
  ------------------
  |  Branch (907:9): [True: 3.28k, False: 4.95M]
  |  Branch (907:19): [True: 3.08k, False: 4.95M]
  |  Branch (907:29): [True: 3.42k, False: 4.95M]
  |  Branch (907:39): [True: 3.35k, False: 4.95M]
  |  Branch (907:49): [True: 2.60k, False: 4.95M]
  ------------------
  908|       |            // can't be hexadecimal or octal, is either decimal or floating point
  909|       |
  910|   127k|            do {
  911|   127k|                if (len < MaxTokenLength)
  ------------------
  |  Branch (911:21): [True: 127k, False: 1]
  ------------------
  912|   127k|                    ppToken->name[len++] = (char)ch;
  913|      1|                else if (! AlreadyComplained) {
  ------------------
  |  Branch (913:26): [True: 1, False: 0]
  ------------------
  914|      1|                    pp->parseContext.ppError(ppToken->loc, "numeric literal too long", "", "");
  915|      1|                    AlreadyComplained = 1;
  916|      1|                }
  917|   127k|                ch = getch();
  918|   127k|            } while (ch >= '0' && ch <= '9');
  ------------------
  |  Branch (918:22): [True: 97.3k, False: 30.5k]
  |  Branch (918:35): [True: 45.5k, False: 51.8k]
  ------------------
  919|  82.3k|            if (floatingPointChar(ch))
  ------------------
  |  Branch (919:17): [True: 2.60k, False: 79.6k]
  ------------------
  920|  2.60k|                return pp->lFloatConst(len, ch, ppToken);
  921|  79.6k|            else {
  922|       |                // Finish handling signed and unsigned integers
  923|  79.6k|                int numericLen = len;
  924|  79.6k|                bool isUnsigned = false;
  925|  79.6k|                bool isInt64 = false;
  926|  79.6k|                bool isInt16 = false;
  927|  79.6k|                if (ch == 'u' || ch == 'U') {
  ------------------
  |  Branch (927:21): [True: 1.96k, False: 77.7k]
  |  Branch (927:34): [True: 870, False: 76.8k]
  ------------------
  928|  2.83k|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (928:25): [True: 2.83k, False: 0]
  ------------------
  929|  2.83k|                        ppToken->name[len++] = (char)ch;
  930|  2.83k|                    isUnsigned = true;
  931|       |
  932|  2.83k|                    int nextCh = getch();
  933|  2.83k|                    if (nextCh == 'l' || nextCh == 'L') {
  ------------------
  |  Branch (933:25): [True: 933, False: 1.90k]
  |  Branch (933:42): [True: 612, False: 1.29k]
  ------------------
  934|  1.54k|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (934:29): [True: 1.54k, False: 0]
  ------------------
  935|  1.54k|                            ppToken->name[len++] = (char)nextCh;
  936|  1.54k|                        isInt64 = true;
  937|  1.54k|                    } else
  938|  1.29k|                        ungetch();
  939|       |
  940|  2.83k|                    nextCh = getch();
  941|  2.83k|                    if ((nextCh == 's' || nextCh == 'S') &&
  ------------------
  |  Branch (941:26): [True: 233, False: 2.60k]
  |  Branch (941:43): [True: 24, False: 2.58k]
  ------------------
  942|    257|                                pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (942:33): [True: 130, False: 127]
  ------------------
  943|    130|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (943:29): [True: 130, False: 0]
  ------------------
  944|    130|                            ppToken->name[len++] = (char)nextCh;
  945|    130|                        isInt16 = true;
  946|    130|                    } else
  947|  2.70k|                        ungetch();
  948|  76.8k|                } else if (ch == 'l' || ch == 'L') {
  ------------------
  |  Branch (948:28): [True: 0, False: 76.8k]
  |  Branch (948:41): [True: 275, False: 76.5k]
  ------------------
  949|    275|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (949:25): [True: 275, False: 0]
  ------------------
  950|    275|                        ppToken->name[len++] = (char)ch;
  951|    275|                    isInt64 = true;
  952|  76.5k|                } else if ((ch == 's' || ch == 'S') &&
  ------------------
  |  Branch (952:29): [True: 4.61k, False: 71.9k]
  |  Branch (952:42): [True: 914, False: 71.0k]
  ------------------
  953|  5.52k|                                pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (953:33): [True: 4.79k, False: 726]
  ------------------
  954|  4.79k|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (954:25): [True: 4.79k, False: 0]
  ------------------
  955|  4.79k|                        ppToken->name[len++] = (char)ch;
  956|  4.79k|                    isInt16 = true;
  957|  4.79k|                } else
  958|  71.7k|                    ungetch();
  959|       |
  960|  79.6k|                ppToken->name[len] = '\0';
  961|  79.6k|                ival = 0;
  962|  79.6k|                const unsigned oneTenthMaxInt  = 0xFFFFFFFFu / 10;
  963|  79.6k|                const unsigned remainderMaxInt = 0xFFFFFFFFu - 10 * oneTenthMaxInt;
  964|  79.6k|                const unsigned long long oneTenthMaxInt64  = 0xFFFFFFFFFFFFFFFFull / 10;
  965|  79.6k|                const unsigned long long remainderMaxInt64 = 0xFFFFFFFFFFFFFFFFull - 10 * oneTenthMaxInt64;
  966|  79.6k|                const unsigned short oneTenthMaxInt16  = 0xFFFFu / 10;
  967|  79.6k|                const unsigned short remainderMaxInt16 = 0xFFFFu - 10 * oneTenthMaxInt16;
  968|   198k|                for (int i = 0; i < numericLen; i++) {
  ------------------
  |  Branch (968:33): [True: 118k, False: 79.6k]
  ------------------
  969|   118k|                    ch = ppToken->name[i] - '0';
  970|   118k|                    bool overflow = false;
  971|   118k|                    if (isInt64)
  ------------------
  |  Branch (971:25): [True: 1.82k, False: 116k]
  ------------------
  972|  1.82k|                        overflow = (ival > oneTenthMaxInt64 || (ival == oneTenthMaxInt64 && (unsigned long long)ch > remainderMaxInt64));
  ------------------
  |  Branch (972:37): [True: 0, False: 1.82k]
  |  Branch (972:65): [True: 0, False: 1.82k]
  |  Branch (972:93): [True: 0, False: 0]
  ------------------
  973|   116k|                    else if (isInt16)
  ------------------
  |  Branch (973:30): [True: 14.2k, False: 102k]
  ------------------
  974|  14.2k|                        overflow = (ival > oneTenthMaxInt16 || (ival == oneTenthMaxInt16 && (unsigned short)ch > remainderMaxInt16));
  ------------------
  |  Branch (974:37): [True: 0, False: 14.2k]
  |  Branch (974:65): [True: 0, False: 14.2k]
  |  Branch (974:93): [True: 0, False: 0]
  ------------------
  975|   102k|                    else
  976|   102k|                        overflow = (ival > oneTenthMaxInt || (ival == oneTenthMaxInt && (unsigned)ch > remainderMaxInt));
  ------------------
  |  Branch (976:37): [True: 3, False: 102k]
  |  Branch (976:63): [True: 434, False: 101k]
  |  Branch (976:89): [True: 0, False: 434]
  ------------------
  977|   118k|                    if (overflow) {
  ------------------
  |  Branch (977:25): [True: 3, False: 118k]
  ------------------
  978|      3|                        pp->parseContext.ppError(ppToken->loc, "numeric literal too big", "", "");
  979|      3|                        ival = 0xFFFFFFFFFFFFFFFFull;
  980|      3|                        break;
  981|      3|                    } else
  982|   118k|                        ival = ival * 10 + ch;
  983|   118k|                }
  984|       |
  985|  79.6k|                if (isInt64 && pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (985:21): [True: 1.82k, False: 77.8k]
  |  Branch (985:32): [True: 1.07k, False: 746]
  ------------------
  986|  1.07k|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (986:25): [True: 0, False: 1.07k]
  ------------------
  987|      0|                        pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile,
  988|      0|                                                        "64-bit literal");
  989|      0|                        pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0,
  990|      0|                            Num_Int64_Extensions, Int64_Extensions, "64-bit literal");
  991|      0|                    }
  992|  1.07k|                    ppToken->i64val = ival;
  993|  1.07k|                    return isUnsigned ? PpAtomConstUint64 : PpAtomConstInt64;
  ------------------
  |  Branch (993:28): [True: 816, False: 258]
  ------------------
  994|  78.6k|                } else if (isInt16) {
  ------------------
  |  Branch (994:28): [True: 4.92k, False: 73.6k]
  ------------------
  995|  4.92k|                    if (pp->ifdepth == 0 && pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (995:25): [True: 0, False: 4.92k]
  |  Branch (995:45): [True: 0, False: 0]
  ------------------
  996|      0|                        pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile,
  997|      0|                                                        "16-bit  literal");
  998|      0|                        pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0,
  999|      0|                            Num_Int16_Extensions, Int16_Extensions, "16-bit literal");
 1000|      0|                    }
 1001|  4.92k|                    ppToken->ival = (int)ival;
 1002|  4.92k|                    return isUnsigned ? PpAtomConstUint16 : PpAtomConstInt16;
  ------------------
  |  Branch (1002:28): [True: 130, False: 4.79k]
  ------------------
 1003|  73.6k|                } else {
 1004|  73.6k|                    ppToken->ival = (int)ival;
 1005|  73.6k|                    return isUnsigned ? PpAtomConstUint : PpAtomConstInt;
  ------------------
  |  Branch (1005:28): [True: 1.89k, False: 71.8k]
  ------------------
 1006|  73.6k|                }
 1007|  79.6k|            }
 1008|      0|            break;
 1009|  8.89k|        case '-':
  ------------------
  |  Branch (1009:9): [True: 8.89k, False: 4.94M]
  ------------------
 1010|  8.89k|            ch = getch();
 1011|  8.89k|            if (ch == '-') {
  ------------------
  |  Branch (1011:17): [True: 281, False: 8.61k]
  ------------------
 1012|    281|                return PpAtomDecrement;
 1013|  8.61k|            } else if (ch == '=') {
  ------------------
  |  Branch (1013:24): [True: 0, False: 8.61k]
  ------------------
 1014|      0|                return PPAtomSubAssign;
 1015|  8.61k|            } else {
 1016|  8.61k|                ungetch();
 1017|  8.61k|                return '-';
 1018|  8.61k|            }
 1019|  52.5k|        case '+':
  ------------------
  |  Branch (1019:9): [True: 52.5k, False: 4.90M]
  ------------------
 1020|  52.5k|            ch = getch();
 1021|  52.5k|            if (ch == '+') {
  ------------------
  |  Branch (1021:17): [True: 35.8k, False: 16.7k]
  ------------------
 1022|  35.8k|                return PpAtomIncrement;
 1023|  35.8k|            } else if (ch == '=') {
  ------------------
  |  Branch (1023:24): [True: 82, False: 16.6k]
  ------------------
 1024|     82|                return PPAtomAddAssign;
 1025|  16.6k|            } else {
 1026|  16.6k|                ungetch();
 1027|  16.6k|                return '+';
 1028|  16.6k|            }
 1029|  5.67k|        case '*':
  ------------------
  |  Branch (1029:9): [True: 5.67k, False: 4.94M]
  ------------------
 1030|  5.67k|            ch = getch();
 1031|  5.67k|            if (ch == '=') {
  ------------------
  |  Branch (1031:17): [True: 0, False: 5.67k]
  ------------------
 1032|      0|                return PPAtomMulAssign;
 1033|  5.67k|            } else {
 1034|  5.67k|                ungetch();
 1035|  5.67k|                return '*';
 1036|  5.67k|            }
 1037|  5.94k|        case '%':
  ------------------
  |  Branch (1037:9): [True: 5.94k, False: 4.94M]
  ------------------
 1038|  5.94k|            ch = getch();
 1039|  5.94k|            if (ch == '=') {
  ------------------
  |  Branch (1039:17): [True: 0, False: 5.94k]
  ------------------
 1040|      0|                return PPAtomModAssign;
 1041|  5.94k|            } else {
 1042|  5.94k|                ungetch();
 1043|  5.94k|                return '%';
 1044|  5.94k|            }
 1045|    694|        case '^':
  ------------------
  |  Branch (1045:9): [True: 694, False: 4.95M]
  ------------------
 1046|    694|            ch = getch();
 1047|    694|            if (ch == '^') {
  ------------------
  |  Branch (1047:17): [True: 396, False: 298]
  ------------------
 1048|    396|                return PpAtomXor;
 1049|    396|            } else {
 1050|    298|                if (ch == '=')
  ------------------
  |  Branch (1050:21): [True: 1, False: 297]
  ------------------
 1051|      1|                    return PpAtomXorAssign;
 1052|    297|                else{
 1053|    297|                    ungetch();
 1054|    297|                    return '^';
 1055|    297|                }
 1056|    298|            }
 1057|       |
 1058|  26.9k|        case '=':
  ------------------
  |  Branch (1058:9): [True: 26.9k, False: 4.92M]
  ------------------
 1059|  26.9k|            ch = getch();
 1060|  26.9k|            if (ch == '=') {
  ------------------
  |  Branch (1060:17): [True: 8.07k, False: 18.8k]
  ------------------
 1061|  8.07k|                return PpAtomEQ;
 1062|  18.8k|            } else {
 1063|  18.8k|                ungetch();
 1064|  18.8k|                return '=';
 1065|  18.8k|            }
 1066|  2.23k|        case '!':
  ------------------
  |  Branch (1066:9): [True: 2.23k, False: 4.95M]
  ------------------
 1067|  2.23k|            ch = getch();
 1068|  2.23k|            if (ch == '=') {
  ------------------
  |  Branch (1068:17): [True: 0, False: 2.23k]
  ------------------
 1069|      0|                return PpAtomNE;
 1070|  2.23k|            } else {
 1071|  2.23k|                ungetch();
 1072|  2.23k|                return '!';
 1073|  2.23k|            }
 1074|  2.50k|        case '|':
  ------------------
  |  Branch (1074:9): [True: 2.50k, False: 4.95M]
  ------------------
 1075|  2.50k|            ch = getch();
 1076|  2.50k|            if (ch == '|') {
  ------------------
  |  Branch (1076:17): [True: 1.02k, False: 1.47k]
  ------------------
 1077|  1.02k|                return PpAtomOr;
 1078|  1.47k|            } else if (ch == '=') {
  ------------------
  |  Branch (1078:24): [True: 0, False: 1.47k]
  ------------------
 1079|      0|                return PpAtomOrAssign;
 1080|  1.47k|            } else {
 1081|  1.47k|                ungetch();
 1082|  1.47k|                return '|';
 1083|  1.47k|            }
 1084|    301|        case '&':
  ------------------
  |  Branch (1084:9): [True: 301, False: 4.95M]
  ------------------
 1085|    301|            ch = getch();
 1086|    301|            if (ch == '&') {
  ------------------
  |  Branch (1086:17): [True: 12, False: 289]
  ------------------
 1087|     12|                return PpAtomAnd;
 1088|    289|            } else if (ch == '=') {
  ------------------
  |  Branch (1088:24): [True: 0, False: 289]
  ------------------
 1089|      0|                return PpAtomAndAssign;
 1090|    289|            } else {
 1091|    289|                ungetch();
 1092|    289|                return '&';
 1093|    289|            }
 1094|  21.9k|        case '<':
  ------------------
  |  Branch (1094:9): [True: 21.9k, False: 4.93M]
  ------------------
 1095|  21.9k|            ch = getch();
 1096|  21.9k|            if (ch == '<') {
  ------------------
  |  Branch (1096:17): [True: 534, False: 21.4k]
  ------------------
 1097|    534|                ch = getch();
 1098|    534|                if (ch == '=')
  ------------------
  |  Branch (1098:21): [True: 0, False: 534]
  ------------------
 1099|      0|                    return PpAtomLeftAssign;
 1100|    534|                else {
 1101|    534|                    ungetch();
 1102|    534|                    return PpAtomLeft;
 1103|    534|                }
 1104|  21.4k|            } else if (ch == '=') {
  ------------------
  |  Branch (1104:24): [True: 0, False: 21.4k]
  ------------------
 1105|      0|                return PpAtomLE;
 1106|  21.4k|            } else {
 1107|  21.4k|                ungetch();
 1108|  21.4k|                return '<';
 1109|  21.4k|            }
 1110|  18.5k|        case '>':
  ------------------
  |  Branch (1110:9): [True: 18.5k, False: 4.93M]
  ------------------
 1111|  18.5k|            ch = getch();
 1112|  18.5k|            if (ch == '>') {
  ------------------
  |  Branch (1112:17): [True: 66, False: 18.4k]
  ------------------
 1113|     66|                ch = getch();
 1114|     66|                if (ch == '=')
  ------------------
  |  Branch (1114:21): [True: 0, False: 66]
  ------------------
 1115|      0|                    return PpAtomRightAssign;
 1116|     66|                else {
 1117|     66|                    ungetch();
 1118|     66|                    return PpAtomRight;
 1119|     66|                }
 1120|  18.4k|            } else if (ch == '=') {
  ------------------
  |  Branch (1120:24): [True: 16, False: 18.4k]
  ------------------
 1121|     16|                return PpAtomGE;
 1122|  18.4k|            } else {
 1123|  18.4k|                ungetch();
 1124|  18.4k|                return '>';
 1125|  18.4k|            }
 1126|  24.2k|        case '.':
  ------------------
  |  Branch (1126:9): [True: 24.2k, False: 4.92M]
  ------------------
 1127|  24.2k|            ch = getch();
 1128|  24.2k|            if (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (1128:17): [True: 6.04k, False: 18.2k]
  |  Branch (1128:30): [True: 4.81k, False: 1.22k]
  ------------------
 1129|  4.81k|                ungetch();
 1130|  4.81k|                return pp->lFloatConst(0, '.', ppToken);
 1131|  19.4k|            } else {
 1132|  19.4k|                ungetch();
 1133|  19.4k|                return '.';
 1134|  19.4k|            }
 1135|   622k|        case '/':
  ------------------
  |  Branch (1135:9): [True: 622k, False: 4.33M]
  ------------------
 1136|   622k|            ch = getch();
 1137|   622k|            if (ch == '/') {
  ------------------
  |  Branch (1137:17): [True: 66.0k, False: 556k]
  ------------------
 1138|  66.0k|                pp->inComment = true;
 1139|   914k|                do {
 1140|   914k|                    ch = getch();
 1141|   914k|                } while (ch != '\n' && ch != EndOfInput);
  ------------------
  |  Branch (1141:26): [True: 848k, False: 66.0k]
  |  Branch (1141:40): [True: 848k, False: 1]
  ------------------
 1142|  66.0k|                ppToken->space = true;
 1143|  66.0k|                pp->inComment = false;
 1144|       |
 1145|  66.0k|                return ch;
 1146|   556k|            } else if (ch == '*') {
  ------------------
  |  Branch (1146:24): [True: 2.78k, False: 553k]
  ------------------
 1147|  2.78k|                ch = getch();
 1148|  6.37k|                do {
 1149|  1.15M|                    while (ch != '*') {
  ------------------
  |  Branch (1149:28): [True: 1.15M, False: 6.36k]
  ------------------
 1150|  1.15M|                        if (ch == EndOfInput) {
  ------------------
  |  Branch (1150:29): [True: 5, False: 1.15M]
  ------------------
 1151|      5|                            pp->parseContext.ppError(ppToken->loc, "End of input in comment", "comment", "");
 1152|      5|                            return ch;
 1153|      5|                        }
 1154|  1.15M|                        ch = getch();
 1155|  1.15M|                    }
 1156|  6.36k|                    ch = getch();
 1157|  6.36k|                    if (ch == EndOfInput) {
  ------------------
  |  Branch (1157:25): [True: 0, False: 6.36k]
  ------------------
 1158|      0|                        pp->parseContext.ppError(ppToken->loc, "End of input in comment", "comment", "");
 1159|      0|                        return ch;
 1160|      0|                    }
 1161|  6.36k|                } while (ch != '/');
  ------------------
  |  Branch (1161:26): [True: 3.58k, False: 2.78k]
  ------------------
 1162|  2.78k|                ppToken->space = true;
 1163|       |                // loop again to get the next token...
 1164|  2.78k|                break;
 1165|   553k|            } else if (ch == '=') {
  ------------------
  |  Branch (1165:24): [True: 5, False: 553k]
  ------------------
 1166|      5|                return PPAtomDivAssign;
 1167|   553k|            } else {
 1168|   553k|                ungetch();
 1169|   553k|                return '/';
 1170|   553k|            }
 1171|      0|            break;
 1172|     19|        case '\'':
  ------------------
  |  Branch (1172:9): [True: 19, False: 4.95M]
  ------------------
 1173|     19|            return pp->characterLiteral(ppToken);
 1174|     24|        case '"':
  ------------------
  |  Branch (1174:9): [True: 24, False: 4.95M]
  ------------------
 1175|       |            // #include uses scanHeaderName() to ignore these escape sequences.
 1176|     24|            ch = getch();
 1177|     87|            while (ch != '"' && ch != '\n' && ch != EndOfInput) {
  ------------------
  |  Branch (1177:20): [True: 67, False: 20]
  |  Branch (1177:33): [True: 66, False: 1]
  |  Branch (1177:47): [True: 63, False: 3]
  ------------------
 1178|     63|                if (len < MaxTokenLength) {
  ------------------
  |  Branch (1178:21): [True: 63, False: 0]
  ------------------
 1179|     63|                    if (ch == '\\' && !pp->disableEscapeSequences) {
  ------------------
  |  Branch (1179:25): [True: 8, False: 55]
  |  Branch (1179:39): [True: 8, False: 0]
  ------------------
 1180|      8|                        int nextCh = getch();
 1181|      8|                        switch (nextCh) {
 1182|      0|                        case '\'': ch = 0x27; break;
  ------------------
  |  Branch (1182:25): [True: 0, False: 8]
  ------------------
 1183|      0|                        case '"':  ch = 0x22; break;
  ------------------
  |  Branch (1183:25): [True: 0, False: 8]
  ------------------
 1184|      0|                        case '?':  ch = 0x3f; break;
  ------------------
  |  Branch (1184:25): [True: 0, False: 8]
  ------------------
 1185|      0|                        case '\\': ch = 0x5c; break;
  ------------------
  |  Branch (1185:25): [True: 0, False: 8]
  ------------------
 1186|      0|                        case 'a':  ch = 0x07; break;
  ------------------
  |  Branch (1186:25): [True: 0, False: 8]
  ------------------
 1187|      0|                        case 'b':  ch = 0x08; break;
  ------------------
  |  Branch (1187:25): [True: 0, False: 8]
  ------------------
 1188|      0|                        case 'f':  ch = 0x0c; break;
  ------------------
  |  Branch (1188:25): [True: 0, False: 8]
  ------------------
 1189|      0|                        case 'n':  ch = 0x0a; break;
  ------------------
  |  Branch (1189:25): [True: 0, False: 8]
  ------------------
 1190|      0|                        case 'r':  ch = 0x0d; break;
  ------------------
  |  Branch (1190:25): [True: 0, False: 8]
  ------------------
 1191|      0|                        case 't':  ch = 0x09; break;
  ------------------
  |  Branch (1191:25): [True: 0, False: 8]
  ------------------
 1192|      0|                        case 'v':  ch = 0x0b; break;
  ------------------
  |  Branch (1192:25): [True: 0, False: 8]
  ------------------
 1193|      0|                        case 'x': 
  ------------------
  |  Branch (1193:25): [True: 0, False: 8]
  ------------------
 1194|       |                            // Hex value, arbitrary number of characters. Terminated by the first
 1195|       |                            // non-hex digit
 1196|      0|                            {
 1197|      0|                                int numDigits = 0;
 1198|      0|                                ch = 0;
 1199|      0|                                while (true) {
  ------------------
  |  Branch (1199:40): [True: 0, Folded]
  ------------------
 1200|      0|                                    nextCh = getch();
 1201|      0|                                    if (nextCh >= '0' && nextCh <= '9')
  ------------------
  |  Branch (1201:41): [True: 0, False: 0]
  |  Branch (1201:58): [True: 0, False: 0]
  ------------------
 1202|      0|                                        nextCh -= '0';
 1203|      0|                                    else if (nextCh >= 'A' && nextCh <= 'F')
  ------------------
  |  Branch (1203:46): [True: 0, False: 0]
  |  Branch (1203:63): [True: 0, False: 0]
  ------------------
 1204|      0|                                        nextCh -= 'A' - 10;
 1205|      0|                                    else if (nextCh >= 'a' && nextCh <= 'f')
  ------------------
  |  Branch (1205:46): [True: 0, False: 0]
  |  Branch (1205:63): [True: 0, False: 0]
  ------------------
 1206|      0|                                        nextCh -= 'a' - 10;
 1207|      0|                                    else {
 1208|      0|                                        ungetch();
 1209|      0|                                        break;
 1210|      0|                                    }
 1211|      0|                                    numDigits++;
 1212|      0|                                    ch = ch * 0x10 + nextCh;
 1213|      0|                                }
 1214|      0|                                if (numDigits == 0) {
  ------------------
  |  Branch (1214:37): [True: 0, False: 0]
  ------------------
 1215|      0|                                    pp->parseContext.ppError(ppToken->loc, "Expected hex value in escape sequence", "string", "");
 1216|      0|                                }
 1217|      0|                                break;
 1218|      0|                            }
 1219|      0|                        case '0':
  ------------------
  |  Branch (1219:25): [True: 0, False: 8]
  ------------------
 1220|      0|                        case '1':
  ------------------
  |  Branch (1220:25): [True: 0, False: 8]
  ------------------
 1221|      0|                        case '2':
  ------------------
  |  Branch (1221:25): [True: 0, False: 8]
  ------------------
 1222|      2|                        case '3':
  ------------------
  |  Branch (1222:25): [True: 2, False: 6]
  ------------------
 1223|      4|                        case '4':
  ------------------
  |  Branch (1223:25): [True: 2, False: 6]
  ------------------
 1224|      4|                        case '5':
  ------------------
  |  Branch (1224:25): [True: 0, False: 8]
  ------------------
 1225|      5|                        case '6':
  ------------------
  |  Branch (1225:25): [True: 1, False: 7]
  ------------------
 1226|      5|                        case '7':
  ------------------
  |  Branch (1226:25): [True: 0, False: 8]
  ------------------
 1227|       |                            // Octal value, up to three octal digits
 1228|      5|                            {
 1229|      5|                                int numDigits = 1;
 1230|      5|                                ch = nextCh - '0';
 1231|      6|                                while (numDigits < 3) {
  ------------------
  |  Branch (1231:40): [True: 6, False: 0]
  ------------------
 1232|      6|                                    nextCh = getch();
 1233|      6|                                    if (nextCh >= '0' && nextCh <= '7')
  ------------------
  |  Branch (1233:41): [True: 5, False: 1]
  |  Branch (1233:58): [True: 1, False: 4]
  ------------------
 1234|      1|                                        nextCh -= '0';
 1235|      5|                                    else {
 1236|      5|                                        ungetch();
 1237|      5|                                        break;
 1238|      5|                                    }
 1239|      1|                                    numDigits++;
 1240|      1|                                    ch = ch * 8 + nextCh;
 1241|      1|                                }
 1242|      5|                                break;
 1243|      5|                            }
 1244|      3|                        default:
  ------------------
  |  Branch (1244:25): [True: 3, False: 5]
  ------------------
 1245|      3|                            pp->parseContext.ppError(ppToken->loc, "Invalid escape sequence", "string", "");
 1246|      3|                            break;
 1247|      8|                        }
 1248|      8|                    }
 1249|     63|                    ppToken->name[len] = (char)ch;
 1250|     63|                    len++;
 1251|     63|                    ch = getch();
 1252|     63|                } else
 1253|      0|                    break;
 1254|     63|            };
 1255|     24|            ppToken->name[len] = '\0';
 1256|     24|            if (ch != '"') {
  ------------------
  |  Branch (1256:17): [True: 4, False: 20]
  ------------------
 1257|      4|                ungetch();
 1258|      4|                pp->parseContext.ppError(ppToken->loc, "End of line in string", "string", "");
 1259|      4|            }
 1260|     24|            return PpAtomConstString;
 1261|  23.2k|        case ':':
  ------------------
  |  Branch (1261:9): [True: 23.2k, False: 4.93M]
  ------------------
 1262|  23.2k|            ch = getch();
 1263|  23.2k|            if (ch == ':')
  ------------------
  |  Branch (1263:17): [True: 3.39k, False: 19.8k]
  ------------------
 1264|  3.39k|                return PpAtomColonColon;
 1265|  19.8k|            ungetch();
 1266|  19.8k|            return ':';
 1267|  4.95M|        }
 1268|       |
 1269|  2.78k|        ch = getch();
 1270|  2.78k|    }
 1271|  4.95M|}
_ZN7glslang10TPpContext8tokenizeERNS_8TPpTokenE:
 1280|  1.26M|{
 1281|  1.26M|    int stringifyDepth = 0;
 1282|  1.26M|    TPpToken stringifiedToken; // Tokens are appended to this as they come in
 1283|  1.39M|    for (;;) {
 1284|  1.39M|        int token = scanToken(&ppToken);
 1285|       |
 1286|       |        // Handle token-pasting logic
 1287|  1.39M|        token = tokenPaste(token, ppToken);
 1288|       |
 1289|  1.39M|        if (token == EndOfInput) {
  ------------------
  |  Branch (1289:13): [True: 226, False: 1.39M]
  ------------------
 1290|    226|            missingEndifCheck();
 1291|    226|            return EndOfInput;
 1292|    226|        }
 1293|  1.39M|        if (token == '#') {
  ------------------
  |  Branch (1293:13): [True: 6.01k, False: 1.39M]
  ------------------
 1294|  6.01k|            if (previous_token == '\n') {
  ------------------
  |  Branch (1294:17): [True: 6.01k, False: 0]
  ------------------
 1295|  6.01k|                token = readCPPline(&ppToken);
 1296|  6.01k|                if (token == EndOfInput) {
  ------------------
  |  Branch (1296:21): [True: 49, False: 5.97k]
  ------------------
 1297|     49|                    missingEndifCheck();
 1298|     49|                    return EndOfInput;
 1299|     49|                }
 1300|  5.97k|                continue;
 1301|  6.01k|            } else {
 1302|      0|                parseContext.ppError(ppToken.loc, "preprocessor directive cannot be preceded by another token", "#", "");
 1303|      0|                return EndOfInput;
 1304|      0|            }
 1305|  6.01k|        }
 1306|  1.39M|        previous_token = token;
 1307|       |
 1308|  1.39M|        if (token == '\n')
  ------------------
  |  Branch (1308:13): [True: 130k, False: 1.26M]
  ------------------
 1309|   130k|            continue;
 1310|       |
 1311|  1.26M|        if (token == tStringifyLevelInput::PUSH) {
  ------------------
  |  Branch (1311:13): [True: 0, False: 1.26M]
  ------------------
 1312|      0|            stringifyDepth++;
 1313|      0|            continue;
 1314|      0|        }
 1315|  1.26M|        if (token == tStringifyLevelInput::POP) {
  ------------------
  |  Branch (1315:13): [True: 0, False: 1.26M]
  ------------------
 1316|      0|            assert(stringifyDepth > 0);
 1317|      0|            stringifyDepth--;
 1318|      0|            if (stringifyDepth == 0) {
  ------------------
  |  Branch (1318:17): [True: 0, False: 0]
  ------------------
 1319|      0|                snprintf(ppToken.name, sizeof(ppToken.name), "%s", stringifiedToken.name);
 1320|      0|                return PpAtomConstString;
 1321|      0|            }
 1322|      0|            continue;
 1323|      0|        }
 1324|       |
 1325|       |        // expand macros
 1326|  1.26M|        if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (1326:13): [True: 648k, False: 612k]
  ------------------
 1327|   648k|            switch (MacroExpand(&ppToken, false, true)) {
  ------------------
  |  Branch (1327:21): [True: 648k, False: 0]
  ------------------
 1328|   648k|            case MacroExpandNotStarted:
  ------------------
  |  Branch (1328:13): [True: 648k, False: 1]
  ------------------
 1329|   648k|                break;
 1330|      1|            case MacroExpandError:
  ------------------
  |  Branch (1330:13): [True: 1, False: 648k]
  ------------------
 1331|      1|                return EndOfInput;
 1332|      0|            case MacroExpandStarted:
  ------------------
  |  Branch (1332:13): [True: 0, False: 648k]
  ------------------
 1333|      0|            case MacroExpandUndef:
  ------------------
  |  Branch (1333:13): [True: 0, False: 648k]
  ------------------
 1334|      0|                continue;
 1335|   648k|            }
 1336|   648k|        }
 1337|       |
 1338|  1.26M|        bool needStringSupport = ifdepth == 0 && (token == PpAtomConstString || stringifyDepth > 0);
  ------------------
  |  Branch (1338:34): [True: 1.26M, False: 0]
  |  Branch (1338:51): [True: 0, False: 1.26M]
  |  Branch (1338:81): [True: 0, False: 1.26M]
  ------------------
 1339|  1.26M|        if (needStringSupport && parseContext.intermediate.getSource() != EShSourceHlsl) {
  ------------------
  |  Branch (1339:13): [True: 0, False: 1.26M]
  |  Branch (1339:34): [True: 0, False: 0]
  ------------------
 1340|       |            // HLSL allows string literals.
 1341|       |            // GLSL allows string literals with GL_EXT_debug_printf.
 1342|      0|            const char* const string_literal_EXTs[] = { E_GL_EXT_debug_printf, E_GL_EXT_spirv_intrinsics, E_GL_EXT_abort };
 1343|      0|            parseContext.requireExtensions(ppToken.loc, 3, string_literal_EXTs, "string literal");
 1344|      0|            if (!parseContext.extensionTurnedOn(E_GL_EXT_debug_printf) &&
  ------------------
  |  Branch (1344:17): [True: 0, False: 0]
  ------------------
 1345|      0|                !parseContext.extensionTurnedOn(E_GL_EXT_spirv_intrinsics)&&
  ------------------
  |  Branch (1345:17): [True: 0, False: 0]
  ------------------
 1346|      0|                !parseContext.extensionTurnedOn(E_GL_EXT_abort)) {
  ------------------
  |  Branch (1346:17): [True: 0, False: 0]
  ------------------
 1347|      0|                continue;
 1348|      0|            }
 1349|      0|        }
 1350|       |
 1351|  1.26M|        switch (token) {
 1352|      0|        case PpAtomConstString:
  ------------------
  |  Branch (1352:9): [True: 0, False: 1.26M]
  ------------------
 1353|      0|            break;
 1354|   648k|        case PpAtomIdentifier:
  ------------------
  |  Branch (1354:9): [True: 648k, False: 612k]
  ------------------
 1355|   649k|        case PpAtomConstInt:
  ------------------
  |  Branch (1355:9): [True: 1.16k, False: 1.25M]
  ------------------
 1356|   649k|        case PpAtomConstUint:
  ------------------
  |  Branch (1356:9): [True: 124, False: 1.26M]
  ------------------
 1357|   649k|        case PpAtomConstFloat:
  ------------------
  |  Branch (1357:9): [True: 0, False: 1.26M]
  ------------------
 1358|   649k|        case PpAtomConstInt64:
  ------------------
  |  Branch (1358:9): [True: 0, False: 1.26M]
  ------------------
 1359|   649k|        case PpAtomConstUint64:
  ------------------
  |  Branch (1359:9): [True: 0, False: 1.26M]
  ------------------
 1360|   649k|        case PpAtomConstInt16:
  ------------------
  |  Branch (1360:9): [True: 0, False: 1.26M]
  ------------------
 1361|   649k|        case PpAtomConstUint16:
  ------------------
  |  Branch (1361:9): [True: 0, False: 1.26M]
  ------------------
 1362|   649k|        case PpAtomConstDouble:
  ------------------
  |  Branch (1362:9): [True: 0, False: 1.26M]
  ------------------
 1363|   649k|        case PpAtomConstFloat16:
  ------------------
  |  Branch (1363:9): [True: 0, False: 1.26M]
  ------------------
 1364|   649k|        case PpAtomConstFloatE2M1:
  ------------------
  |  Branch (1364:9): [True: 0, False: 1.26M]
  ------------------
 1365|   649k|        case PpAtomConstFloatE3M2:
  ------------------
  |  Branch (1365:9): [True: 0, False: 1.26M]
  ------------------
 1366|   649k|        case PpAtomConstFloatE2M3:
  ------------------
  |  Branch (1366:9): [True: 0, False: 1.26M]
  ------------------
 1367|   649k|        case PpAtomConstFloatUE8M0:
  ------------------
  |  Branch (1367:9): [True: 0, False: 1.26M]
  ------------------
 1368|   649k|        case PpAtomConstFloatMXINT8:
  ------------------
  |  Branch (1368:9): [True: 0, False: 1.26M]
  ------------------
 1369|   649k|            if (ppToken.name[0] == '\0')
  ------------------
  |  Branch (1369:17): [True: 0, False: 649k]
  ------------------
 1370|      0|                continue;
 1371|   649k|            break;
 1372|   649k|        case '\'':
  ------------------
  |  Branch (1372:9): [True: 0, False: 1.26M]
  ------------------
 1373|      0|            parseContext.ppError(ppToken.loc, "character literals not supported", "\'", "");
 1374|      0|            continue;
 1375|   611k|        default:
  ------------------
  |  Branch (1375:9): [True: 611k, False: 649k]
  ------------------
 1376|   611k|            snprintf(ppToken.name, sizeof(ppToken.name), "%s", atomStrings.getString(token));
 1377|   611k|            break;
 1378|  1.26M|        }
 1379|  1.26M|        if (stringifyDepth > 0) {
  ------------------
  |  Branch (1379:13): [True: 0, False: 1.26M]
  ------------------
 1380|      0|            size_t existingLen = strlen(stringifiedToken.name);
 1381|      0|            char* dst = stringifiedToken.name + existingLen;
 1382|       |            // stringify_depth would determine how many layers of \\\"\\\" are needed, if we wanted to.
 1383|      0|            if (ppToken.space) {
  ------------------
  |  Branch (1383:17): [True: 0, False: 0]
  ------------------
 1384|      0|                snprintf(dst, sizeof(stringifiedToken.name) - existingLen - 1, " %s", ppToken.name);
 1385|      0|            } else {
 1386|      0|                snprintf(dst, sizeof(stringifiedToken.name) - existingLen, "%s", ppToken.name);
 1387|      0|            }
 1388|      0|            continue;
 1389|      0|        }
 1390|       |
 1391|  1.26M|        return token;
 1392|  1.26M|    }
 1393|  1.26M|}
_ZN7glslang10TPpContext10tokenPasteEiRNS_8TPpTokenE:
 1401|  1.39M|{
 1402|       |    // starting with ## is illegal, skip to next token
 1403|  1.39M|    if (token == PpAtomPaste) {
  ------------------
  |  Branch (1403:9): [True: 0, False: 1.39M]
  ------------------
 1404|      0|        parseContext.ppError(ppToken.loc, "unexpected location", "##", "");
 1405|      0|        return scanToken(&ppToken);
 1406|      0|    }
 1407|       |
 1408|  1.39M|    int resultToken = token; // "foo" pasted with "35" is an identifier, not a number
 1409|       |
 1410|       |    // ## can be chained, process all in the chain at once
 1411|  1.39M|    while (peekPasting()) {
  ------------------
  |  Branch (1411:12): [True: 0, False: 1.39M]
  ------------------
 1412|      0|        TPpToken pastedPpToken;
 1413|       |
 1414|       |        // next token has to be ##
 1415|      0|        token = scanToken(&pastedPpToken);
 1416|      0|        assert(token == PpAtomPaste);
 1417|       |
 1418|       |        // This covers end of macro expansion
 1419|      0|        if (endOfReplacementList()) {
  ------------------
  |  Branch (1419:13): [True: 0, False: 0]
  ------------------
 1420|       |            // this should be unreachable, incomplete #/## sequences are caught at macro parsing time.
 1421|      0|            parseContext.ppError(ppToken.loc, "unexpected location; end of replacement list", "##", "");
 1422|      0|            break;
 1423|      0|        }
 1424|       |
 1425|       |        // Get the token(s) after the ##.
 1426|       |        // Because of "space" semantics, and prior tokenization, what
 1427|       |        // appeared a single token, e.g. "3A", might have been tokenized
 1428|       |        // into two tokens "3" and "A", but the "A" will have 'space' set to
 1429|       |        // false.  Accumulate all of these to recreate the original lexical
 1430|       |        // appearing token.
 1431|      0|        do {
 1432|      0|            token = scanToken(&pastedPpToken);
 1433|       |
 1434|       |            // This covers end of argument expansion
 1435|      0|            if (token == tMarkerInput::marker) {
  ------------------
  |  Branch (1435:17): [True: 0, False: 0]
  ------------------
 1436|      0|                parseContext.ppError(ppToken.loc, "unexpected location; end of argument", "##", "");
 1437|      0|                return resultToken;
 1438|      0|            }
 1439|       |
 1440|       |            // get the token text
 1441|      0|            switch (resultToken) {
 1442|      0|            case PpAtomIdentifier:
  ------------------
  |  Branch (1442:13): [True: 0, False: 0]
  ------------------
 1443|       |                // already have the correct text in token.names
 1444|      0|                break;
 1445|      0|            case '=':
  ------------------
  |  Branch (1445:13): [True: 0, False: 0]
  ------------------
 1446|      0|            case '!':
  ------------------
  |  Branch (1446:13): [True: 0, False: 0]
  ------------------
 1447|      0|            case '-':
  ------------------
  |  Branch (1447:13): [True: 0, False: 0]
  ------------------
 1448|      0|            case '~':
  ------------------
  |  Branch (1448:13): [True: 0, False: 0]
  ------------------
 1449|      0|            case '+':
  ------------------
  |  Branch (1449:13): [True: 0, False: 0]
  ------------------
 1450|      0|            case '*':
  ------------------
  |  Branch (1450:13): [True: 0, False: 0]
  ------------------
 1451|      0|            case '/':
  ------------------
  |  Branch (1451:13): [True: 0, False: 0]
  ------------------
 1452|      0|            case '%':
  ------------------
  |  Branch (1452:13): [True: 0, False: 0]
  ------------------
 1453|      0|            case '<':
  ------------------
  |  Branch (1453:13): [True: 0, False: 0]
  ------------------
 1454|      0|            case '>':
  ------------------
  |  Branch (1454:13): [True: 0, False: 0]
  ------------------
 1455|      0|            case '|':
  ------------------
  |  Branch (1455:13): [True: 0, False: 0]
  ------------------
 1456|      0|            case '^':
  ------------------
  |  Branch (1456:13): [True: 0, False: 0]
  ------------------
 1457|      0|            case '&':
  ------------------
  |  Branch (1457:13): [True: 0, False: 0]
  ------------------
 1458|      0|            case PpAtomRight:
  ------------------
  |  Branch (1458:13): [True: 0, False: 0]
  ------------------
 1459|      0|            case PpAtomLeft:
  ------------------
  |  Branch (1459:13): [True: 0, False: 0]
  ------------------
 1460|      0|            case PpAtomAnd:
  ------------------
  |  Branch (1460:13): [True: 0, False: 0]
  ------------------
 1461|      0|            case PpAtomOr:
  ------------------
  |  Branch (1461:13): [True: 0, False: 0]
  ------------------
 1462|      0|            case PpAtomXor:
  ------------------
  |  Branch (1462:13): [True: 0, False: 0]
  ------------------
 1463|      0|                snprintf(ppToken.name, sizeof(ppToken.name), "%s", atomStrings.getString(resultToken));
 1464|      0|                snprintf(pastedPpToken.name, sizeof(pastedPpToken.name), "%s", atomStrings.getString(token));
 1465|      0|                break;
 1466|      0|            default:
  ------------------
  |  Branch (1466:13): [True: 0, False: 0]
  ------------------
 1467|      0|                parseContext.ppError(ppToken.loc, "not supported for these tokens", "##", "");
 1468|      0|                return resultToken;
 1469|      0|            }
 1470|       |
 1471|       |            // combine the tokens
 1472|      0|            if (strlen(ppToken.name) + strlen(pastedPpToken.name) > MaxTokenLength) {
  ------------------
  |  Branch (1472:17): [True: 0, False: 0]
  ------------------
 1473|      0|                parseContext.ppError(ppToken.loc, "combined tokens are too long", "##", "");
 1474|      0|                return resultToken;
 1475|      0|            }
 1476|      0|            snprintf(&ppToken.name[0] + strlen(ppToken.name), sizeof(ppToken.name) - strlen(ppToken.name),
 1477|      0|                "%s", pastedPpToken.name);
 1478|       |
 1479|       |            // correct the kind of token we are making, if needed (identifiers stay identifiers)
 1480|      0|            if (resultToken != PpAtomIdentifier) {
  ------------------
  |  Branch (1480:17): [True: 0, False: 0]
  ------------------
 1481|      0|                int newToken = atomStrings.getAtom(ppToken.name);
 1482|      0|                if (newToken > 0)
  ------------------
  |  Branch (1482:21): [True: 0, False: 0]
  ------------------
 1483|      0|                    resultToken = newToken;
 1484|      0|                else
 1485|      0|                    parseContext.ppError(ppToken.loc, "combined token is invalid", "##", "");
 1486|      0|            }
 1487|      0|        } while (peekContinuedPasting(resultToken));
  ------------------
  |  Branch (1487:18): [True: 0, False: 0]
  ------------------
 1488|      0|    }
 1489|       |
 1490|  1.39M|    return resultToken;
 1491|  1.39M|}
_ZN7glslang10TPpContext17missingEndifCheckEv:
 1495|    275|{
 1496|    275|    if (ifdepth > 0)
  ------------------
  |  Branch (1496:9): [True: 49, False: 226]
  ------------------
 1497|     49|        parseContext.ppError(parseContext.getCurrentLoc(), "missing #endif", "", "");
 1498|    275|}
PpScanner.cpp:_ZZN7glslang10TPpContext11lFloatConstEiiPNS_8TPpTokenEENK3$_0clEi:
  114|  23.9k|    const auto saveName = [&](int ch) {
  115|  23.9k|        if (len <= MaxTokenLength)
  ------------------
  |  Branch (115:13): [True: 23.9k, False: 0]
  ------------------
  116|  23.9k|            ppToken->name[len++] = static_cast<char>(ch);
  117|  23.9k|    };
PpScanner.cpp:_ZZN7glslang10TPpContext11lFloatConstEiiPNS_8TPpTokenEENK3$_1clEPKcm:
  317|  6.45k|        auto const &try_str = [&](const char *str, size_t numChar) {
  318|  6.45k|            size_t counter = 0;
  319|  6.45k|            for (size_t i = 0; i < numChar; ++i) {
  ------------------
  |  Branch (319:32): [True: 6.45k, False: 0]
  ------------------
  320|  6.45k|                if (getChar() != str[i]) {
  ------------------
  |  Branch (320:21): [True: 6.45k, False: 0]
  ------------------
  321|  6.45k|                    break;
  322|  6.45k|                }
  323|      0|                counter++;
  324|      0|            }
  325|  6.45k|            if (counter == numChar) {
  ------------------
  |  Branch (325:17): [True: 0, False: 6.45k]
  ------------------
  326|      0|                for (size_t i = 0; i < numChar; ++i) {
  ------------------
  |  Branch (326:36): [True: 0, False: 0]
  ------------------
  327|      0|                    saveName(str[i]);
  328|      0|                }
  329|      0|                return true;
  330|  6.45k|            } else {
  331|       |                // called getChar one more than counter times
  332|  6.45k|                counter++;
  333|  12.9k|                while (counter) {
  ------------------
  |  Branch (333:24): [True: 6.45k, False: 6.45k]
  ------------------
  334|  6.45k|                    ungetChar();
  335|  6.45k|                    counter--;
  336|  6.45k|                }
  337|  6.45k|                return false;
  338|  6.45k|            }
  339|  6.45k|        };
PpScanner.cpp:_ZZN7glslang10TPpContext12tStringInput4scanEPNS_8TPpTokenEENK3$_0clEi:
  518|   103k|    const auto floatingPointChar = [&](int ch) { return ch == '.' || ch == 'e' || ch == 'E' ||
  ------------------
  |  Branch (518:57): [True: 109, False: 103k]
  |  Branch (518:70): [True: 1.54k, False: 101k]
  |  Branch (518:83): [True: 512, False: 101k]
  ------------------
  519|   101k|                                                                     ch == 'f' || ch == 'F' ||
  ------------------
  |  Branch (519:70): [True: 1.29k, False: 100k]
  |  Branch (519:83): [True: 309, False: 99.8k]
  ------------------
  520|  99.8k|                                                                     ch == 'h' || ch == 'H'; };
  ------------------
  |  Branch (520:70): [True: 751, False: 99.0k]
  |  Branch (520:83): [True: 308, False: 98.7k]
  ------------------

_ZN7glslang10TPpContext11TokenStream8putTokenEiPNS_8TPpTokenE:
  102|  6.08k|{
  103|  6.08k|    TokenStream::Token streamToken(atom, *ppToken);
  104|  6.08k|    stream.push_back(streamToken);
  105|  6.08k|}

Initialize.cpp:_ZN4spanIKN7glslang12_GLOBAL__N_110VersioningEEC2Ev:
   50|     90|    span() = default;
Initialize.cpp:_ZNK4spanIKN7glslang12_GLOBAL__N_115BuiltInFunctionEE5beginEv:
   58|     74|    const_iterator begin() const { return data_; }
Initialize.cpp:_ZNK4spanIKN7glslang12_GLOBAL__N_115BuiltInFunctionEE3endEv:
   61|     74|    const_iterator end() const { return data_ + count_; }
Initialize.cpp:_ZNK4spanIKN7glslang12_GLOBAL__N_110VersioningEE5emptyEv:
   73|  2.95k|    bool empty() const { return count_ == 0; }
Initialize.cpp:_ZNK4spanIKN7glslang12_GLOBAL__N_110VersioningEE5beginEv:
   58|  1.22k|    const_iterator begin() const { return data_; }
Initialize.cpp:_ZNK4spanIKN7glslang12_GLOBAL__N_110VersioningEE3endEv:
   61|  1.22k|    const_iterator end() const { return data_ + count_; }
Initialize.cpp:_ZN4spanIKN7glslang12_GLOBAL__N_110VersioningEEC2IKNSt3__15arrayIS2_Lm2EEEEERT_:
   55|     68|    span(Container &c) : data_(c.data()), count_(c.size()) {}
Initialize.cpp:_ZN4spanIKN7glslang12_GLOBAL__N_115BuiltInFunctionEEC2IKNSt3__15arrayIS2_Lm79EEEEERT_:
   55|     36|    span(Container &c) : data_(c.data()), count_(c.size()) {}
Initialize.cpp:_ZN4spanIKN7glslang12_GLOBAL__N_115BuiltInFunctionEEC2IKNSt3__15arrayIS2_Lm3EEEEERT_:
   55|     38|    span(Container &c) : data_(c.data()), count_(c.size()) {}

_ZN7glslang7TShader5parseEPK16TBuiltInResourceib11EShMessages:
  687|     58|    {
  688|     58|        return parse(builtInResources, defaultVersion, ENoProfile, false, forwardCompatible, messages);
  689|     58|    }
_ZN7glslang7TShader5parseEPK16TBuiltInResourcei8EProfilebb11EShMessages:
  680|     58|    {
  681|     58|        TShader::ForbidIncluder includer;
  682|     58|        return parse(res, defaultVersion, defaultProfile, forceDefaultVersionAndProfile, forwardCompatible, messages, includer);
  683|     58|    }
_ZN7glslang7TShader8IncluderD2Ev:
  664|     58|        virtual ~Includer() {}

_Z19GetDefaultResourcesv:
  540|     58|{
  541|     58|    return &DefaultTBuiltInResource;
  542|     58|}

