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

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

_ZN7glslang11HlslGrammar5parseEv:
   65|    220|{
   66|    220|    advanceToken();
   67|    220|    return acceptCompilationUnit();
   68|    220|}
_ZN7glslang11HlslGrammar8expectedEPKc:
   71|    117|{
   72|    117|    parseContext.error(token.loc, "Expected", syntax, "");
   73|    117|}
_ZN7glslang11HlslGrammar16acceptIdentifierERNS_9HlslTokenE:
   87|  1.87M|{
   88|       |    // IDENTIFIER
   89|  1.87M|    if (peekTokenClass(EHTokIdentifier)) {
  ------------------
  |  Branch (89:9): [True: 440k, False: 1.42M]
  ------------------
   90|   440k|        idToken = token;
   91|   440k|        advanceToken();
   92|   440k|        return true;
   93|   440k|    }
   94|       |
   95|       |    // THIS
   96|       |    // -> maps to the IDENTIFIER spelled with the internal special name for 'this'
   97|  1.42M|    if (peekTokenClass(EHTokThis)) {
  ------------------
  |  Branch (97:9): [True: 0, False: 1.42M]
  ------------------
   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|  1.42M|    const char* idString = getTypeString(peek());
  113|  1.42M|    if (idString == nullptr)
  ------------------
  |  Branch (113:9): [True: 1.42M, False: 0]
  ------------------
  114|  1.42M|        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|  1.42M|}
_ZN7glslang11HlslGrammar21acceptCompilationUnitEv:
  130|    220|{
  131|    220|    if (! acceptDeclarationList(unitNode))
  ------------------
  |  Branch (131:9): [True: 15, False: 205]
  ------------------
  132|     15|        return false;
  133|       |
  134|    205|    if (! peekTokenClass(EHTokNone))
  ------------------
  |  Branch (134:9): [True: 0, False: 205]
  ------------------
  135|      0|        return false;
  136|       |
  137|       |    // set root of AST
  138|    205|    if (unitNode && !unitNode->getAsAggregate())
  ------------------
  |  Branch (138:9): [True: 0, False: 205]
  |  Branch (138:21): [True: 0, False: 0]
  ------------------
  139|      0|        unitNode = intermediate.growAggregate(nullptr, unitNode);
  140|    205|    intermediate.setTreeRoot(unitNode);
  141|       |
  142|    205|    return true;
  143|    205|}
_ZN7glslang11HlslGrammar21acceptDeclarationListERP11TIntermNode:
  156|    220|{
  157|   440k|    do {
  158|       |        // HLSL allows extra semicolons between global declarations
  159|   440k|        do { } while (acceptTokenClass(EHTokSemicolon));
  ------------------
  |  Branch (159:23): [True: 4, False: 440k]
  ------------------
  160|       |
  161|       |        // EOF or RIGHT_BRACE
  162|   440k|        if (peekTokenClass(EHTokNone) || peekTokenClass(EHTokRightBrace))
  ------------------
  |  Branch (162:13): [True: 205, False: 440k]
  |  Branch (162:42): [True: 0, False: 440k]
  ------------------
  163|    205|            return true;
  164|       |
  165|       |        // declaration
  166|   440k|        if (! acceptDeclaration(nodeList)) {
  ------------------
  |  Branch (166:13): [True: 15, False: 440k]
  ------------------
  167|     15|            expected("declaration");
  168|     15|            return false;
  169|     15|        }
  170|   440k|    } while (true);
  ------------------
  |  Branch (170:14): [True: 440k, Folded]
  ------------------
  171|       |
  172|      0|    return true;
  173|    220|}
_ZN7glslang11HlslGrammar18acceptSamplerStateEv:
  193|      2|{
  194|       |    // TODO: this should be genericized to accept a list of valid tokens and
  195|       |    // return token/value pairs.  Presently it is specific to texture values.
  196|       |
  197|      2|    if (! acceptTokenClass(EHTokLeftBrace))
  ------------------
  |  Branch (197:9): [True: 2, False: 0]
  ------------------
  198|      2|        return true;
  199|       |
  200|      0|    parseContext.warn(token.loc, "unimplemented", "immediate sampler state", "");
  201|       |
  202|      0|    do {
  203|       |        // read state name
  204|      0|        HlslToken state;
  205|      0|        if (! acceptIdentifier(state))
  ------------------
  |  Branch (205:13): [True: 0, False: 0]
  ------------------
  206|      0|            break;  // end of list
  207|       |
  208|       |        // FXC accepts any case
  209|      0|        TString stateName = *state.string;
  210|      0|        std::transform(stateName.begin(), stateName.end(), stateName.begin(), ::tolower);
  211|       |
  212|      0|        if (! acceptTokenClass(EHTokAssign)) {
  ------------------
  |  Branch (212:13): [True: 0, False: 0]
  ------------------
  213|      0|            expected("assign");
  214|      0|            return false;
  215|      0|        }
  216|       |
  217|      0|        if (stateName == "minlod" || stateName == "maxlod") {
  ------------------
  |  Branch (217:13): [True: 0, False: 0]
  |  Branch (217:38): [True: 0, False: 0]
  ------------------
  218|      0|            if (! peekTokenClass(EHTokIntConstant)) {
  ------------------
  |  Branch (218:17): [True: 0, False: 0]
  ------------------
  219|      0|                expected("integer");
  220|      0|                return false;
  221|      0|            }
  222|       |
  223|      0|            TIntermTyped* lod = nullptr;
  224|      0|            if (! acceptLiteral(lod))  // should never fail, since we just looked for an integer
  ------------------
  |  Branch (224:17): [True: 0, False: 0]
  ------------------
  225|      0|                return false;
  226|      0|        } else if (stateName == "maxanisotropy") {
  ------------------
  |  Branch (226:20): [True: 0, False: 0]
  ------------------
  227|      0|            if (! peekTokenClass(EHTokIntConstant)) {
  ------------------
  |  Branch (227:17): [True: 0, False: 0]
  ------------------
  228|      0|                expected("integer");
  229|      0|                return false;
  230|      0|            }
  231|       |
  232|      0|            TIntermTyped* maxAnisotropy = nullptr;
  233|      0|            if (! acceptLiteral(maxAnisotropy))  // should never fail, since we just looked for an integer
  ------------------
  |  Branch (233:17): [True: 0, False: 0]
  ------------------
  234|      0|                return false;
  235|      0|        } else if (stateName == "filter") {
  ------------------
  |  Branch (235:20): [True: 0, False: 0]
  ------------------
  236|      0|            HlslToken filterMode;
  237|      0|            if (! acceptIdentifier(filterMode)) {
  ------------------
  |  Branch (237:17): [True: 0, False: 0]
  ------------------
  238|      0|                expected("filter mode");
  239|      0|                return false;
  240|      0|            }
  241|      0|        } else if (stateName == "addressu" || stateName == "addressv" || stateName == "addressw") {
  ------------------
  |  Branch (241:20): [True: 0, False: 0]
  |  Branch (241:47): [True: 0, False: 0]
  |  Branch (241:74): [True: 0, False: 0]
  ------------------
  242|      0|            HlslToken addrMode;
  243|      0|            if (! acceptIdentifier(addrMode)) {
  ------------------
  |  Branch (243:17): [True: 0, False: 0]
  ------------------
  244|      0|                expected("texture address mode");
  245|      0|                return false;
  246|      0|            }
  247|      0|        } else if (stateName == "miplodbias") {
  ------------------
  |  Branch (247:20): [True: 0, False: 0]
  ------------------
  248|      0|            TIntermTyped* lodBias = nullptr;
  249|      0|            if (! acceptLiteral(lodBias)) {
  ------------------
  |  Branch (249:17): [True: 0, False: 0]
  ------------------
  250|      0|                expected("lod bias");
  251|      0|                return false;
  252|      0|            }
  253|      0|        } else if (stateName == "bordercolor") {
  ------------------
  |  Branch (253:20): [True: 0, False: 0]
  ------------------
  254|      0|            return false;
  255|      0|        } else {
  256|      0|            expected("texture state");
  257|      0|            return false;
  258|      0|        }
  259|       |
  260|       |        // SEMICOLON
  261|      0|        if (! acceptTokenClass(EHTokSemicolon)) {
  ------------------
  |  Branch (261:13): [True: 0, False: 0]
  ------------------
  262|      0|            expected("semicolon");
  263|      0|            return false;
  264|      0|        }
  265|      0|    } while (true);
  ------------------
  |  Branch (265:14): [True: 0, Folded]
  ------------------
  266|       |
  267|      0|    if (! acceptTokenClass(EHTokRightBrace))
  ------------------
  |  Branch (267:9): [True: 0, False: 0]
  ------------------
  268|      0|        return false;
  269|       |
  270|      0|    return true;
  271|      0|}
_ZN7glslang11HlslGrammar17acceptDeclarationERP11TIntermNode:
  334|   440k|{
  335|       |    // NAMESPACE IDENTIFIER LEFT_BRACE declaration_list RIGHT_BRACE
  336|   440k|    if (acceptTokenClass(EHTokNamespace)) {
  ------------------
  |  Branch (336:9): [True: 0, False: 440k]
  ------------------
  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|   440k|    bool declarator_list = false; // true when processing comma separation
  360|       |
  361|       |    // attributes
  362|   440k|    TFunctionDeclarator declarator;
  363|   440k|    acceptAttributes(declarator.attributes);
  364|       |
  365|       |    // typedef
  366|   440k|    bool typedefDecl = acceptTokenClass(EHTokTypedef);
  367|       |
  368|   440k|    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|   440k|    bool forbidDeclarators = (peekTokenClass(EHTokCBuffer) || peekTokenClass(EHTokTBuffer));
  ------------------
  |  Branch (379:31): [True: 0, False: 440k]
  |  Branch (379:63): [True: 0, False: 440k]
  ------------------
  380|       |    // fully_specified_type
  381|   440k|    if (! acceptFullySpecifiedType(declaredType, nodeList, declarator.attributes, forbidDeclarators))
  ------------------
  |  Branch (381:9): [True: 4, False: 440k]
  ------------------
  382|      4|        return false;
  383|       |
  384|       |    // cbuffer and tbuffer end with the closing '}'.
  385|       |    // No semicolon is included.
  386|   440k|    if (forbidDeclarators)
  ------------------
  |  Branch (386:9): [True: 0, False: 440k]
  ------------------
  387|      0|        return true;
  388|       |
  389|       |    // Check if there are invalid in/out qualifiers
  390|   440k|    switch (declaredType.getQualifier().storage) {
  391|      0|    case EvqIn:
  ------------------
  |  Branch (391:5): [True: 0, False: 440k]
  ------------------
  392|      0|    case EvqOut:
  ------------------
  |  Branch (392:5): [True: 0, False: 440k]
  ------------------
  393|      0|    case EvqInOut:
  ------------------
  |  Branch (393:5): [True: 0, False: 440k]
  ------------------
  394|      0|        parseContext.error(token.loc, "in/out qualifiers are only valid on parameters", token.getCStrOrEmpty(), "");
  395|      0|        break;
  396|   440k|    default:
  ------------------
  |  Branch (396:5): [True: 440k, False: 0]
  ------------------
  397|   440k|        break;
  398|   440k|    }
  399|       |
  400|       |    // declarator_list
  401|       |    //    : declarator
  402|       |    //         : identifier
  403|   440k|    HlslToken idToken;
  404|   440k|    TIntermAggregate* initializers = nullptr;
  405|   880k|    while (acceptIdentifier(idToken)) {
  ------------------
  |  Branch (405:12): [True: 440k, False: 440k]
  ------------------
  406|   440k|        TString *fullName = idToken.string;
  407|   440k|        if (parseContext.symbolTable.atGlobalLevel())
  ------------------
  |  Branch (407:13): [True: 440k, False: 0]
  ------------------
  408|   440k|            parseContext.getFullNamespaceName(fullName);
  409|   440k|        if (peekTokenClass(EHTokLeftParen)) {
  ------------------
  |  Branch (409:13): [True: 440k, False: 2]
  ------------------
  410|       |            // looks like function parameters
  411|       |
  412|       |            // merge in the attributes into the return type
  413|   440k|            parseContext.transferTypeAttributes(token.loc, declarator.attributes, declaredType, true);
  414|       |
  415|       |            // Potentially rename shader entry point function.  No-op most of the time.
  416|   440k|            parseContext.renameShaderFunction(fullName);
  417|       |
  418|       |            // function_parameters
  419|   440k|            declarator.function = new TFunction(fullName, declaredType);
  420|   440k|            if (!acceptFunctionParameters(*declarator.function)) {
  ------------------
  |  Branch (420:17): [True: 0, False: 440k]
  ------------------
  421|      0|                expected("function parameter list");
  422|      0|                return false;
  423|      0|            }
  424|       |
  425|       |            // post_decls
  426|   440k|            acceptPostDecls(declarator.function->getWritableType().getQualifier());
  427|       |
  428|       |            // compound_statement (function body definition) or just a prototype?
  429|   440k|            declarator.loc = token.loc;
  430|   440k|            if (peekTokenClass(EHTokLeftBrace)) {
  ------------------
  |  Branch (430:17): [True: 0, False: 440k]
  ------------------
  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|   440k|            } else {
  437|   440k|                if (typedefDecl)
  ------------------
  |  Branch (437:21): [True: 0, False: 440k]
  ------------------
  438|      0|                    parseContext.error(idToken.loc, "function typedefs not implemented", "{", "");
  439|   440k|                parseContext.handleFunctionDeclarator(declarator.loc, *declarator.function, true);
  440|   440k|            }
  441|   440k|        } else {
  442|       |            // A variable declaration.
  443|       |
  444|       |            // merge in the attributes, the first time around, into the shared type
  445|      2|            if (! declarator_list)
  ------------------
  |  Branch (445:17): [True: 2, False: 0]
  ------------------
  446|      2|                parseContext.transferTypeAttributes(token.loc, declarator.attributes, declaredType);
  447|       |
  448|       |            // Fix the storage qualifier if it's a global.
  449|      2|            if (declaredType.getQualifier().storage == EvqTemporary && parseContext.symbolTable.atGlobalLevel())
  ------------------
  |  Branch (449:17): [True: 2, False: 0]
  |  Branch (449:72): [True: 2, False: 0]
  ------------------
  450|      2|                declaredType.getQualifier().storage = EvqUniform;
  451|       |
  452|       |            // recognize array_specifier
  453|      2|            TArraySizes* arraySizes = nullptr;
  454|      2|            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|      2|            TType variableType;
  459|      2|            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|      2|            variableType.transferArraySizes(arraySizes);
  465|      2|            variableType.copyArrayInnerSizes(declaredType.getArraySizes());
  466|       |
  467|       |            // samplers accept immediate sampler state
  468|      2|            if (variableType.getBasicType() == EbtSampler) {
  ------------------
  |  Branch (468:17): [True: 2, False: 0]
  ------------------
  469|      2|                if (! acceptSamplerState())
  ------------------
  |  Branch (469:21): [True: 0, False: 2]
  ------------------
  470|      0|                    return false;
  471|      2|            }
  472|       |
  473|       |            // post_decls
  474|      2|            acceptPostDecls(variableType.getQualifier());
  475|       |
  476|       |            // EQUAL assignment_expression
  477|      2|            TIntermTyped* expressionNode = nullptr;
  478|      2|            if (acceptTokenClass(EHTokAssign)) {
  ------------------
  |  Branch (478:17): [True: 0, False: 2]
  ------------------
  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|      2|            if (!(variableType.getBasicType() == EbtString && !variableType.getQualifier().isConstant()) &&
  ------------------
  |  Branch (489:19): [True: 0, False: 2]
  |  Branch (489:63): [True: 0, False: 0]
  ------------------
  490|      2|                parseContext.getAnnotationNestingLevel() == 0) {
  ------------------
  |  Branch (490:17): [True: 2, False: 0]
  ------------------
  491|      2|                if (typedefDecl)
  ------------------
  |  Branch (491:21): [True: 0, False: 2]
  ------------------
  492|      0|                    parseContext.declareTypedef(idToken.loc, *fullName, variableType);
  493|      2|                else if (variableType.getBasicType() == EbtBlock) {
  ------------------
  |  Branch (493:26): [True: 0, False: 2]
  ------------------
  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|      2|                } else {
  499|      2|                    if (variableType.getQualifier().storage == EvqUniform && ! variableType.containsOpaque()) {
  ------------------
  |  Branch (499:25): [True: 2, False: 0]
  |  Branch (499:78): [True: 0, False: 2]
  ------------------
  500|       |                        // this isn't really an individual variable, but a member of the $Global buffer
  501|      0|                        parseContext.growGlobalUniformBlock(idToken.loc, variableType, *fullName);
  502|      2|                    } 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|      2|                        initializers = intermediate.growAggregate(initializers, 
  507|      2|                            parseContext.declareVariable(idToken.loc, *fullName, variableType, expressionNode),
  508|      2|                            idToken.loc);
  509|      2|                    }
  510|      2|                }
  511|      2|            }
  512|      2|        }
  513|       |
  514|       |        // COMMA
  515|   440k|        if (acceptTokenClass(EHTokComma))
  ------------------
  |  Branch (515:13): [True: 0, False: 440k]
  ------------------
  516|      0|            declarator_list = true;
  517|   440k|    }
  518|       |
  519|       |    // The top-level initializer node is a sequence.
  520|   440k|    if (initializers != nullptr)
  ------------------
  |  Branch (520:9): [True: 0, False: 440k]
  ------------------
  521|      0|        initializers->setOperator(EOpSequence);
  522|       |
  523|       |    // if we have a locally scoped static, it needs a globally scoped initializer
  524|   440k|    if (declaredType.getQualifier().storage == EvqGlobal && !parseContext.symbolTable.atGlobalLevel()) {
  ------------------
  |  Branch (524:9): [True: 0, False: 440k]
  |  Branch (524:61): [True: 0, False: 0]
  ------------------
  525|      0|        unitNode = intermediate.growAggregate(unitNode, initializers, idToken.loc);
  526|   440k|    } else {
  527|       |        // Add the initializers' aggregate to the nodeList we were handed.
  528|   440k|        if (nodeList)
  ------------------
  |  Branch (528:13): [True: 0, False: 440k]
  ------------------
  529|      0|            nodeList = intermediate.growAggregate(nodeList, initializers);
  530|   440k|        else
  531|   440k|            nodeList = initializers;
  532|   440k|    }
  533|       |
  534|       |    // SEMICOLON
  535|   440k|    if (! acceptTokenClass(EHTokSemicolon)) {
  ------------------
  |  Branch (535:9): [True: 11, False: 440k]
  ------------------
  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|     11|        if (peek() == EHTokAssign || peek() == EHTokLeftBracket || peek() == EHTokDot || peek() == EHTokComma)
  ------------------
  |  Branch (540:13): [True: 0, False: 11]
  |  Branch (540:38): [True: 9, False: 2]
  |  Branch (540:68): [True: 0, False: 2]
  |  Branch (540:90): [True: 0, False: 2]
  ------------------
  541|      9|            recedeToken();
  542|      2|        else
  543|      2|            expected(";");
  544|     11|        return false;
  545|     11|    }
  546|       |
  547|   440k|    return true;
  548|   440k|}
_ZN7glslang11HlslGrammar24acceptFullySpecifiedTypeERNS_5TTypeERKNS_5TListINS_14TAttributeArgsEEE:
  603|   989k|{
  604|   989k|    TIntermNode* nodeList = nullptr;
  605|   989k|    return acceptFullySpecifiedType(type, nodeList, attributes);
  606|   989k|}
_ZN7glslang11HlslGrammar24acceptFullySpecifiedTypeERNS_5TTypeERP11TIntermNodeRKNS_5TListINS_14TAttributeArgsEEEb:
  608|  1.42M|{
  609|       |    // type_qualifier
  610|  1.42M|    TQualifier qualifier;
  611|  1.42M|    qualifier.clear();
  612|  1.42M|    if (! acceptPreQualifier(qualifier))
  ------------------
  |  Branch (612:9): [True: 0, False: 1.42M]
  ------------------
  613|      0|        return false;
  614|  1.42M|    TSourceLoc loc = token.loc;
  615|       |
  616|       |    // type_specifier
  617|  1.42M|    if (! acceptType(type, nodeList)) {
  ------------------
  |  Branch (617:9): [True: 4, False: 1.42M]
  ------------------
  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|      4|        if (qualifier.sample)
  ------------------
  |  Branch (621:13): [True: 0, False: 4]
  ------------------
  622|      0|            recedeToken();
  623|       |
  624|      4|        return false;
  625|      4|    }
  626|       |
  627|       |    // type_qualifier
  628|  1.42M|    if (! acceptPostQualifier(qualifier))
  ------------------
  |  Branch (628:9): [True: 0, False: 1.42M]
  ------------------
  629|      0|       return false;
  630|       |
  631|  1.42M|    if (type.getBasicType() == EbtBlock) {
  ------------------
  |  Branch (631:9): [True: 0, False: 1.42M]
  ------------------
  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|  1.42M|    } else {
  644|       |        // Some qualifiers are set when parsing the type.  Merge those with
  645|       |        // whatever comes from acceptPreQualifier and acceptPostQualifier.
  646|  1.42M|        assert(qualifier.layoutFormat == ElfNone);
  647|       |
  648|  1.42M|        qualifier.layoutFormat = type.getQualifier().layoutFormat;
  649|  1.42M|        qualifier.precision    = type.getQualifier().precision;
  650|       |
  651|  1.42M|        if (type.getQualifier().storage == EvqOut ||
  ------------------
  |  Branch (651:13): [True: 0, False: 1.42M]
  ------------------
  652|  1.42M|            type.getQualifier().storage == EvqBuffer) {
  ------------------
  |  Branch (652:13): [True: 0, False: 1.42M]
  ------------------
  653|      0|            qualifier.storage      = type.getQualifier().storage;
  654|      0|            qualifier.readonly     = type.getQualifier().readonly;
  655|      0|        }
  656|       |
  657|  1.42M|        if (type.isBuiltIn())
  ------------------
  |  Branch (657:13): [True: 0, False: 1.42M]
  ------------------
  658|      0|            qualifier.builtIn = type.getQualifier().builtIn;
  659|       |
  660|  1.42M|        type.getQualifier() = qualifier;
  661|  1.42M|    }
  662|       |
  663|  1.42M|    return true;
  664|  1.42M|}
_ZN7glslang11HlslGrammar18acceptPreQualifierERNS_10TQualifierE:
  672|  1.42M|{
  673|  1.52M|    do {
  674|  1.52M|        switch (peek()) {
  675|      0|        case EHTokStatic:
  ------------------
  |  Branch (675:9): [True: 0, False: 1.52M]
  ------------------
  676|      0|            qualifier.storage = EvqGlobal;
  677|      0|            break;
  678|      0|        case EHTokExtern:
  ------------------
  |  Branch (678:9): [True: 0, False: 1.52M]
  ------------------
  679|       |            // TODO: no meaning in glslang?
  680|      0|            break;
  681|      0|        case EHTokShared:
  ------------------
  |  Branch (681:9): [True: 0, False: 1.52M]
  ------------------
  682|       |            // TODO: hint
  683|      0|            break;
  684|      0|        case EHTokGroupShared:
  ------------------
  |  Branch (684:9): [True: 0, False: 1.52M]
  ------------------
  685|      0|            qualifier.storage = EvqShared;
  686|      0|            break;
  687|      0|        case EHTokUniform:
  ------------------
  |  Branch (687:9): [True: 0, False: 1.52M]
  ------------------
  688|      0|            qualifier.storage = EvqUniform;
  689|      0|            break;
  690|      0|        case EHTokConst:
  ------------------
  |  Branch (690:9): [True: 0, False: 1.52M]
  ------------------
  691|      0|            qualifier.storage = EvqConst;
  692|      0|            break;
  693|      0|        case EHTokVolatile:
  ------------------
  |  Branch (693:9): [True: 0, False: 1.52M]
  ------------------
  694|      0|            qualifier.volatil = true;
  695|      0|            break;
  696|      0|        case EHTokLinear:
  ------------------
  |  Branch (696:9): [True: 0, False: 1.52M]
  ------------------
  697|      0|            qualifier.smooth = true;
  698|      0|            break;
  699|      0|        case EHTokCentroid:
  ------------------
  |  Branch (699:9): [True: 0, False: 1.52M]
  ------------------
  700|      0|            qualifier.centroid = true;
  701|      0|            break;
  702|      0|        case EHTokNointerpolation:
  ------------------
  |  Branch (702:9): [True: 0, False: 1.52M]
  ------------------
  703|      0|            qualifier.flat = true;
  704|      0|            break;
  705|      0|        case EHTokNoperspective:
  ------------------
  |  Branch (705:9): [True: 0, False: 1.52M]
  ------------------
  706|      0|            qualifier.nopersp = true;
  707|      0|            break;
  708|      0|        case EHTokSample:
  ------------------
  |  Branch (708:9): [True: 0, False: 1.52M]
  ------------------
  709|      0|            qualifier.sample = true;
  710|      0|            break;
  711|      0|        case EHTokRowMajor:
  ------------------
  |  Branch (711:9): [True: 0, False: 1.52M]
  ------------------
  712|      0|            qualifier.layoutMatrix = ElmColumnMajor;
  713|      0|            break;
  714|      0|        case EHTokColumnMajor:
  ------------------
  |  Branch (714:9): [True: 0, False: 1.52M]
  ------------------
  715|      0|            qualifier.layoutMatrix = ElmRowMajor;
  716|      0|            break;
  717|      0|        case EHTokPrecise:
  ------------------
  |  Branch (717:9): [True: 0, False: 1.52M]
  ------------------
  718|      0|            qualifier.noContraction = true;
  719|      0|            break;
  720|      0|        case EHTokIn:
  ------------------
  |  Branch (720:9): [True: 0, False: 1.52M]
  ------------------
  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|  95.8k|        case EHTokOut:
  ------------------
  |  Branch (725:9): [True: 95.8k, False: 1.42M]
  ------------------
  726|  95.8k|            qualifier.storage = (qualifier.storage == EvqIn) ? EvqInOut : EvqOut;
  ------------------
  |  Branch (726:33): [True: 0, False: 95.8k]
  ------------------
  727|  95.8k|            break;
  728|      0|        case EHTokInOut:
  ------------------
  |  Branch (728:9): [True: 0, False: 1.52M]
  ------------------
  729|      0|            qualifier.storage = EvqInOut;
  730|      0|            break;
  731|      0|        case EHTokLayout:
  ------------------
  |  Branch (731:9): [True: 0, False: 1.52M]
  ------------------
  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: 1.52M]
  ------------------
  736|      0|            qualifier.coherent = true;
  737|      0|            break;
  738|      0|        case EHTokInline:
  ------------------
  |  Branch (738:9): [True: 0, False: 1.52M]
  ------------------
  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: 1.52M]
  ------------------
  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: 1.52M]
  ------------------
  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: 1.52M]
  ------------------
  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: 1.52M]
  ------------------
  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: 1.52M]
  ------------------
  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|  1.42M|        default:
  ------------------
  |  Branch (770:9): [True: 1.42M, False: 95.8k]
  ------------------
  771|  1.42M|            return true;
  772|  1.52M|        }
  773|  95.8k|        advanceToken();
  774|  95.8k|    } while (true);
  ------------------
  |  Branch (774:14): [True: 95.8k, Folded]
  ------------------
  775|  1.42M|}
_ZN7glslang11HlslGrammar19acceptPostQualifierERNS_10TQualifierE:
  783|  1.42M|{
  784|  1.42M|    do {
  785|  1.42M|        switch (peek()) {
  786|      0|        case EHTokConst:
  ------------------
  |  Branch (786:9): [True: 0, False: 1.42M]
  ------------------
  787|      0|            qualifier.storage = EvqConst;
  788|      0|            break;
  789|  1.42M|        default:
  ------------------
  |  Branch (789:9): [True: 1.42M, False: 0]
  ------------------
  790|  1.42M|            return true;
  791|  1.42M|        }
  792|      0|        advanceToken();
  793|      0|    } while (true);
  ------------------
  |  Branch (793:14): [True: 0, Folded]
  ------------------
  794|  1.42M|}
_ZN7glslang11HlslGrammar22acceptSubpassInputTypeERNS_5TTypeE:
 1172|  2.64k|{
 1173|       |    // read subpass type
 1174|  2.64k|    const EHlslTokenClass subpassInputType = peek();
 1175|       |
 1176|  2.64k|    bool multisample;
 1177|       |
 1178|  2.64k|    switch (subpassInputType) {
 1179|  1.32k|    case EHTokSubpassInput:   multisample = false; break;
  ------------------
  |  Branch (1179:5): [True: 1.32k, False: 1.32k]
  ------------------
 1180|  1.32k|    case EHTokSubpassInputMS: multisample = true;  break;
  ------------------
  |  Branch (1180:5): [True: 1.32k, False: 1.32k]
  ------------------
 1181|      0|    default:
  ------------------
  |  Branch (1181:5): [True: 0, False: 2.64k]
  ------------------
 1182|      0|        return false;  // not a subpass input declaration
 1183|  2.64k|    }
 1184|       |
 1185|  2.64k|    advanceToken();  // consume the sampler type keyword
 1186|       |
 1187|  2.64k|    TType subpassType(EbtFloat, EvqUniform, 4); // default type is float4
 1188|       |
 1189|  2.64k|    if (acceptTokenClass(EHTokLeftAngle)) {
  ------------------
  |  Branch (1189:9): [True: 2.64k, False: 0]
  ------------------
 1190|  2.64k|        if (! acceptType(subpassType)) {
  ------------------
  |  Branch (1190:13): [True: 0, False: 2.64k]
  ------------------
 1191|      0|            expected("scalar or vector type");
 1192|      0|            return false;
 1193|      0|        }
 1194|       |
 1195|  2.64k|        const TBasicType basicRetType = subpassType.getBasicType() ;
 1196|       |
 1197|  2.64k|        switch (basicRetType) {
 1198|    880|        case EbtFloat:
  ------------------
  |  Branch (1198:9): [True: 880, False: 1.76k]
  ------------------
 1199|  1.76k|        case EbtUint:
  ------------------
  |  Branch (1199:9): [True: 880, False: 1.76k]
  ------------------
 1200|  2.64k|        case EbtInt:
  ------------------
  |  Branch (1200:9): [True: 880, False: 1.76k]
  ------------------
 1201|  2.64k|        case EbtStruct:
  ------------------
  |  Branch (1201:9): [True: 0, False: 2.64k]
  ------------------
 1202|  2.64k|            break;
 1203|      0|        default:
  ------------------
  |  Branch (1203:9): [True: 0, False: 2.64k]
  ------------------
 1204|      0|            unimplemented("basic type in subpass input");
 1205|      0|            return false;
 1206|  2.64k|        }
 1207|       |
 1208|  2.64k|        if (! acceptTokenClass(EHTokRightAngle)) {
  ------------------
  |  Branch (1208:13): [True: 0, False: 2.64k]
  ------------------
 1209|      0|            expected("right angle bracket");
 1210|      0|            return false;
 1211|      0|        }
 1212|  2.64k|    }
 1213|       |
 1214|  2.64k|    const TBasicType subpassBasicType = subpassType.isStruct() ? (*subpassType.getStruct())[0].type->getBasicType()
  ------------------
  |  Branch (1214:41): [True: 0, False: 2.64k]
  ------------------
 1215|  2.64k|        : subpassType.getBasicType();
 1216|       |
 1217|  2.64k|    TSampler sampler;
 1218|  2.64k|    sampler.setSubpass(subpassBasicType, multisample);
 1219|       |
 1220|       |    // Remember the declared return type.  Function returns false on error.
 1221|  2.64k|    if (!parseContext.setTextureReturnType(sampler, subpassType, token.loc))
  ------------------
  |  Branch (1221:9): [True: 0, False: 2.64k]
  ------------------
 1222|      0|        return false;
 1223|       |
 1224|  2.64k|    type.shallowCopy(TType(sampler, EvqUniform));
 1225|       |
 1226|  2.64k|    return true;
 1227|  2.64k|}
_ZN7glslang11HlslGrammar20acceptSamplerTypeDX9ERNS_5TTypeE:
 1236|     11|{
 1237|       |    // read sampler type
 1238|     11|    const EHlslTokenClass samplerType = peek();
 1239|       |
 1240|     11|    TSamplerDim dim = EsdNone;
 1241|     11|    TType txType(EbtFloat, EvqUniform, 4); // default type is float4
 1242|       |
 1243|     11|    bool isShadow = false;
 1244|       |
 1245|     11|    switch (samplerType)
 1246|     11|    {
 1247|      0|    case EHTokSampler:		dim = Esd2D;	break;
  ------------------
  |  Branch (1247:5): [True: 0, False: 11]
  ------------------
 1248|      0|    case EHTokSampler1d:	dim = Esd1D;	break;
  ------------------
  |  Branch (1248:5): [True: 0, False: 11]
  ------------------
 1249|     11|    case EHTokSampler2d:	dim = Esd2D;	break;
  ------------------
  |  Branch (1249:5): [True: 11, False: 0]
  ------------------
 1250|      0|    case EHTokSampler3d:	dim = Esd3D;	break;
  ------------------
  |  Branch (1250:5): [True: 0, False: 11]
  ------------------
 1251|      0|    case EHTokSamplerCube:	dim = EsdCube;	break;
  ------------------
  |  Branch (1251:5): [True: 0, False: 11]
  ------------------
 1252|      0|    default:
  ------------------
  |  Branch (1252:5): [True: 0, False: 11]
  ------------------
 1253|      0|        return false; // not a dx9 sampler declaration
 1254|     11|    }
 1255|       |
 1256|     11|    advanceToken(); // consume the sampler type keyword
 1257|       |
 1258|     11|    TArraySizes *arraySizes = nullptr; // TODO: array
 1259|       |
 1260|     11|    TSampler sampler;
 1261|     11|    sampler.set(txType.getBasicType(), dim, false, isShadow, false);
 1262|       |
 1263|     11|    if (!parseContext.setTextureReturnType(sampler, txType, token.loc))
  ------------------
  |  Branch (1263:9): [True: 0, False: 11]
  ------------------
 1264|      0|        return false;
 1265|       |
 1266|     11|    type.shallowCopy(TType(sampler, EvqUniform, arraySizes));
 1267|     11|    type.getQualifier().layoutFormat = ElfNone;
 1268|       |
 1269|     11|    return true;
 1270|     11|}
_ZN7glslang11HlslGrammar17acceptSamplerTypeERNS_5TTypeE:
 1281|  68.6k|{
 1282|       |    // read sampler type
 1283|  68.6k|    const EHlslTokenClass samplerType = peek();
 1284|       |
 1285|       |    // TODO: for DX9
 1286|       |    // TSamplerDim dim = EsdNone;
 1287|       |
 1288|  68.6k|    bool isShadow = false;
 1289|       |
 1290|  68.6k|    switch (samplerType) {
 1291|  40.2k|    case EHTokSampler:      break;
  ------------------
  |  Branch (1291:5): [True: 40.2k, False: 28.3k]
  ------------------
 1292|      0|    case EHTokSampler1d:    /*dim = Esd1D*/; break;
  ------------------
  |  Branch (1292:5): [True: 0, False: 68.6k]
  ------------------
 1293|    660|    case EHTokSampler2d:    /*dim = Esd2D*/; break;
  ------------------
  |  Branch (1293:5): [True: 660, False: 67.9k]
  ------------------
 1294|    660|    case EHTokSampler3d:    /*dim = Esd3D*/; break;
  ------------------
  |  Branch (1294:5): [True: 660, False: 67.9k]
  ------------------
 1295|    660|    case EHTokSamplerCube:  /*dim = EsdCube*/; break;
  ------------------
  |  Branch (1295:5): [True: 660, False: 67.9k]
  ------------------
 1296|      0|    case EHTokSamplerState: break;
  ------------------
  |  Branch (1296:5): [True: 0, False: 68.6k]
  ------------------
 1297|  26.4k|    case EHTokSamplerComparisonState: isShadow = true; break;
  ------------------
  |  Branch (1297:5): [True: 26.4k, False: 42.2k]
  ------------------
 1298|      0|    default:
  ------------------
  |  Branch (1298:5): [True: 0, False: 68.6k]
  ------------------
 1299|      0|        return false;  // not a sampler declaration
 1300|  68.6k|    }
 1301|       |
 1302|  68.6k|    advanceToken();  // consume the sampler type keyword
 1303|       |
 1304|  68.6k|    TArraySizes* arraySizes = nullptr; // TODO: array
 1305|       |
 1306|  68.6k|    TSampler sampler;
 1307|  68.6k|    sampler.setPureSampler(isShadow);
 1308|       |
 1309|  68.6k|    type.shallowCopy(TType(sampler, EvqUniform, arraySizes));
 1310|       |
 1311|  68.6k|    return true;
 1312|  68.6k|}
_ZN7glslang11HlslGrammar17acceptTextureTypeERNS_5TTypeE:
 1333|  86.7k|{
 1334|  86.7k|    const EHlslTokenClass textureType = peek();
 1335|       |
 1336|  86.7k|    TSamplerDim dim = EsdNone;
 1337|  86.7k|    bool array = false;
 1338|  86.7k|    bool ms    = false;
 1339|  86.7k|    bool image = false;
 1340|  86.7k|    bool combined = true;
 1341|       |
 1342|  86.7k|    switch (textureType) {
 1343|    330|    case EHTokBuffer:            dim = EsdBuffer; combined = false;    break;
  ------------------
  |  Branch (1343:5): [True: 330, False: 86.4k]
  ------------------
 1344|  6.60k|    case EHTokTexture1d:         dim = Esd1D;                          break;
  ------------------
  |  Branch (1344:5): [True: 6.60k, False: 80.1k]
  ------------------
 1345|  6.60k|    case EHTokTexture1darray:    dim = Esd1D; array = true;            break;
  ------------------
  |  Branch (1345:5): [True: 6.60k, False: 80.1k]
  ------------------
 1346|  22.1k|    case EHTokTexture2d:         dim = Esd2D;                          break;
  ------------------
  |  Branch (1346:5): [True: 22.1k, False: 64.6k]
  ------------------
 1347|  22.1k|    case EHTokTexture2darray:    dim = Esd2D; array = true;            break;
  ------------------
  |  Branch (1347:5): [True: 22.1k, False: 64.6k]
  ------------------
 1348|  5.28k|    case EHTokTexture3d:         dim = Esd3D;                          break;
  ------------------
  |  Branch (1348:5): [True: 5.28k, False: 81.5k]
  ------------------
 1349|  7.26k|    case EHTokTextureCube:       dim = EsdCube;                        break;
  ------------------
  |  Branch (1349:5): [True: 7.26k, False: 79.5k]
  ------------------
 1350|  7.26k|    case EHTokTextureCubearray:  dim = EsdCube; array = true;          break;
  ------------------
  |  Branch (1350:5): [True: 7.26k, False: 79.5k]
  ------------------
 1351|  1.65k|    case EHTokTexture2DMS:       dim = Esd2D; ms = true;               break;
  ------------------
  |  Branch (1351:5): [True: 1.65k, False: 85.1k]
  ------------------
 1352|  1.65k|    case EHTokTexture2DMSarray:  dim = Esd2D; array = true; ms = true; break;
  ------------------
  |  Branch (1352:5): [True: 1.65k, False: 85.1k]
  ------------------
 1353|    990|    case EHTokRWBuffer:          dim = EsdBuffer; image=true;          break;
  ------------------
  |  Branch (1353:5): [True: 990, False: 85.8k]
  ------------------
 1354|    990|    case EHTokRWTexture1d:       dim = Esd1D; array=false; image=true; break;
  ------------------
  |  Branch (1354:5): [True: 990, False: 85.8k]
  ------------------
 1355|    990|    case EHTokRWTexture1darray:  dim = Esd1D; array=true;  image=true; break;
  ------------------
  |  Branch (1355:5): [True: 990, False: 85.8k]
  ------------------
 1356|    990|    case EHTokRWTexture2d:       dim = Esd2D; array=false; image=true; break;
  ------------------
  |  Branch (1356:5): [True: 990, False: 85.8k]
  ------------------
 1357|    990|    case EHTokRWTexture2darray:  dim = Esd2D; array=true;  image=true; break;
  ------------------
  |  Branch (1357:5): [True: 990, False: 85.8k]
  ------------------
 1358|    990|    case EHTokRWTexture3d:       dim = Esd3D; array=false; image=true; break;
  ------------------
  |  Branch (1358:5): [True: 990, False: 85.8k]
  ------------------
 1359|      0|    default:
  ------------------
  |  Branch (1359:5): [True: 0, False: 86.7k]
  ------------------
 1360|      0|        return false;  // not a texture declaration
 1361|  86.7k|    }
 1362|       |
 1363|  86.7k|    advanceToken();  // consume the texture object keyword
 1364|       |
 1365|  86.7k|    TType txType(EbtFloat, EvqUniform, 4); // default type is float4
 1366|       |
 1367|  86.7k|    TIntermTyped* msCount = nullptr;
 1368|       |
 1369|       |    // texture type: required for multisample types and RWBuffer/RWTextures!
 1370|  86.7k|    if (acceptTokenClass(EHTokLeftAngle)) {
  ------------------
  |  Branch (1370:9): [True: 86.7k, False: 0]
  ------------------
 1371|  86.7k|        if (! acceptType(txType)) {
  ------------------
  |  Branch (1371:13): [True: 0, False: 86.7k]
  ------------------
 1372|      0|            expected("scalar or vector type");
 1373|      0|            return false;
 1374|      0|        }
 1375|       |
 1376|  86.7k|        const TBasicType basicRetType = txType.getBasicType() ;
 1377|       |
 1378|  86.7k|        switch (basicRetType) {
 1379|  28.9k|        case EbtFloat:
  ------------------
  |  Branch (1379:9): [True: 28.9k, False: 57.8k]
  ------------------
 1380|  57.8k|        case EbtUint:
  ------------------
  |  Branch (1380:9): [True: 28.9k, False: 57.8k]
  ------------------
 1381|  86.7k|        case EbtInt:
  ------------------
  |  Branch (1381:9): [True: 28.9k, False: 57.8k]
  ------------------
 1382|  86.7k|        case EbtStruct:
  ------------------
  |  Branch (1382:9): [True: 0, False: 86.7k]
  ------------------
 1383|  86.7k|            break;
 1384|      0|        default:
  ------------------
  |  Branch (1384:9): [True: 0, False: 86.7k]
  ------------------
 1385|      0|            unimplemented("basic type in texture");
 1386|      0|            return false;
 1387|  86.7k|        }
 1388|       |
 1389|       |        // Buffers can handle small mats if they fit in 4 components
 1390|  86.7k|        if (dim == EsdBuffer && txType.isMatrix()) {
  ------------------
  |  Branch (1390:13): [True: 1.32k, False: 85.4k]
  |  Branch (1390:33): [True: 0, False: 1.32k]
  ------------------
 1391|      0|            if ((txType.getMatrixCols() * txType.getMatrixRows()) > 4) {
  ------------------
  |  Branch (1391:17): [True: 0, False: 0]
  ------------------
 1392|      0|                expected("components < 4 in matrix buffer type");
 1393|      0|                return false;
 1394|      0|            }
 1395|       |
 1396|       |            // TODO: except we don't handle it yet...
 1397|      0|            unimplemented("matrix type in buffer");
 1398|      0|            return false;
 1399|      0|        }
 1400|       |
 1401|  86.7k|        if (!txType.isScalar() && !txType.isVector() && !txType.isStruct()) {
  ------------------
  |  Branch (1401:13): [True: 86.7k, False: 0]
  |  Branch (1401:35): [True: 0, False: 86.7k]
  |  Branch (1401:57): [True: 0, False: 0]
  ------------------
 1402|      0|            expected("scalar, vector, or struct type");
 1403|      0|            return false;
 1404|      0|        }
 1405|       |
 1406|  86.7k|        if (ms && acceptTokenClass(EHTokComma)) {
  ------------------
  |  Branch (1406:13): [True: 3.30k, False: 83.4k]
  |  Branch (1406:19): [True: 0, False: 3.30k]
  ------------------
 1407|       |            // read sample count for multisample types, if given
 1408|      0|            if (! peekTokenClass(EHTokIntConstant)) {
  ------------------
  |  Branch (1408:17): [True: 0, False: 0]
  ------------------
 1409|      0|                expected("multisample count");
 1410|      0|                return false;
 1411|      0|            }
 1412|       |
 1413|      0|            if (! acceptLiteral(msCount))  // should never fail, since we just found an integer
  ------------------
  |  Branch (1413:17): [True: 0, False: 0]
  ------------------
 1414|      0|                return false;
 1415|      0|        }
 1416|       |
 1417|  86.7k|        if (! acceptTokenClass(EHTokRightAngle)) {
  ------------------
  |  Branch (1417:13): [True: 0, False: 86.7k]
  ------------------
 1418|      0|            expected("right angle bracket");
 1419|      0|            return false;
 1420|      0|        }
 1421|  86.7k|    } else if (ms) {
  ------------------
  |  Branch (1421:16): [True: 0, False: 0]
  ------------------
 1422|      0|        expected("texture type for multisample");
 1423|      0|        return false;
 1424|      0|    } else if (image) {
  ------------------
  |  Branch (1424:16): [True: 0, False: 0]
  ------------------
 1425|      0|        expected("type for RWTexture/RWBuffer");
 1426|      0|        return false;
 1427|      0|    }
 1428|       |
 1429|  86.7k|    TArraySizes* arraySizes = nullptr;
 1430|  86.7k|    const bool shadow = false; // declared on the sampler
 1431|       |
 1432|  86.7k|    TSampler sampler;
 1433|  86.7k|    TLayoutFormat format = ElfNone;
 1434|       |
 1435|       |    // Buffer, RWBuffer and RWTexture (images) require a TLayoutFormat.  We handle only a limit set.
 1436|  86.7k|    if (image || dim == EsdBuffer)
  ------------------
  |  Branch (1436:9): [True: 5.94k, False: 80.8k]
  |  Branch (1436:18): [True: 330, False: 80.5k]
  ------------------
 1437|  6.27k|        format = parseContext.getLayoutFromTxType(token.loc, txType);
 1438|       |
 1439|  86.7k|    const TBasicType txBasicType = txType.isStruct() ? (*txType.getStruct())[0].type->getBasicType()
  ------------------
  |  Branch (1439:36): [True: 0, False: 86.7k]
  ------------------
 1440|  86.7k|        : txType.getBasicType();
 1441|       |
 1442|       |    // Non-image Buffers are combined
 1443|  86.7k|    if (dim == EsdBuffer && !image) {
  ------------------
  |  Branch (1443:9): [True: 1.32k, False: 85.4k]
  |  Branch (1443:29): [True: 330, False: 990]
  ------------------
 1444|    330|        sampler.set(txType.getBasicType(), dim, array);
 1445|  86.4k|    } else {
 1446|       |        // DX10 textures are separated.  TODO: DX9.
 1447|  86.4k|        if (image) {
  ------------------
  |  Branch (1447:13): [True: 5.94k, False: 80.5k]
  ------------------
 1448|  5.94k|            sampler.setImage(txBasicType, dim, array, shadow, ms);
 1449|  80.5k|        } else {
 1450|  80.5k|            sampler.setTexture(txBasicType, dim, array, shadow, ms);
 1451|  80.5k|        }
 1452|  86.4k|    }
 1453|       |
 1454|       |    // Remember the declared return type.  Function returns false on error.
 1455|  86.7k|    if (!parseContext.setTextureReturnType(sampler, txType, token.loc))
  ------------------
  |  Branch (1455:9): [True: 0, False: 86.7k]
  ------------------
 1456|      0|        return false;
 1457|       |
 1458|       |    // Force uncombined, if necessary
 1459|  86.7k|    if (!combined)
  ------------------
  |  Branch (1459:9): [True: 330, False: 86.4k]
  ------------------
 1460|    330|        sampler.combined = false;
 1461|       |
 1462|  86.7k|    type.shallowCopy(TType(sampler, EvqUniform, arraySizes));
 1463|  86.7k|    type.getQualifier().layoutFormat = format;
 1464|       |
 1465|  86.7k|    return true;
 1466|  86.7k|}
_ZN7glslang11HlslGrammar10acceptTypeERNS_5TTypeE:
 1472|  89.6k|{
 1473|  89.6k|    TIntermNode* nodeList = nullptr;
 1474|  89.6k|    return acceptType(type, nodeList);
 1475|  89.6k|}
_ZN7glslang11HlslGrammar10acceptTypeERNS_5TTypeERP11TIntermNode:
 1477|  1.51M|{
 1478|       |    // Basic types for min* types, use native halfs if the option allows them.
 1479|  1.51M|    bool enable16BitTypes = parseContext.hlslEnable16BitTypes();
 1480|       |
 1481|  1.51M|    const TBasicType min16float_bt = enable16BitTypes ? EbtFloat16 : EbtFloat;
  ------------------
  |  Branch (1481:38): [True: 267, False: 1.51M]
  ------------------
 1482|  1.51M|    const TBasicType min10float_bt = enable16BitTypes ? EbtFloat16 : EbtFloat;
  ------------------
  |  Branch (1482:38): [True: 267, False: 1.51M]
  ------------------
 1483|  1.51M|    const TBasicType half_bt       = enable16BitTypes ? EbtFloat16 : EbtFloat;
  ------------------
  |  Branch (1483:38): [True: 267, False: 1.51M]
  ------------------
 1484|  1.51M|    const TBasicType min16int_bt   = enable16BitTypes ? EbtInt16   : EbtInt;
  ------------------
  |  Branch (1484:38): [True: 267, False: 1.51M]
  ------------------
 1485|  1.51M|    const TBasicType min12int_bt   = enable16BitTypes ? EbtInt16   : EbtInt;
  ------------------
  |  Branch (1485:38): [True: 267, False: 1.51M]
  ------------------
 1486|  1.51M|    const TBasicType min16uint_bt  = enable16BitTypes ? EbtUint16  : EbtUint;
  ------------------
  |  Branch (1486:38): [True: 267, False: 1.51M]
  ------------------
 1487|       |
 1488|       |    // Some types might have turned into identifiers. Take the hit for checking
 1489|       |    // when this has happened.
 1490|  1.51M|    if (typeIdentifiers) {
  ------------------
  |  Branch (1490:9): [True: 0, False: 1.51M]
  ------------------
 1491|      0|        const char* identifierString = getTypeString(peek());
 1492|      0|        if (identifierString != nullptr) {
  ------------------
  |  Branch (1492:13): [True: 0, False: 0]
  ------------------
 1493|      0|            TString name = identifierString;
 1494|       |            // if it's an identifier, it's not a type
 1495|      0|            if (parseContext.symbolTable.find(name) != nullptr)
  ------------------
  |  Branch (1495:17): [True: 0, False: 0]
  ------------------
 1496|      0|                return false;
 1497|      0|        }
 1498|      0|    }
 1499|       |
 1500|  1.51M|    bool isUnorm = false;
 1501|  1.51M|    bool isSnorm = false;
 1502|       |
 1503|       |    // Accept snorm and unorm.  Presently, this is ignored, save for an error check below.
 1504|  1.51M|    switch (peek()) {
 1505|      0|    case EHTokUnorm:
  ------------------
  |  Branch (1505:5): [True: 0, False: 1.51M]
  ------------------
 1506|      0|        isUnorm = true;
 1507|      0|        advanceToken();  // eat the token
 1508|      0|        break;
 1509|      0|    case EHTokSNorm:
  ------------------
  |  Branch (1509:5): [True: 0, False: 1.51M]
  ------------------
 1510|      0|        isSnorm = true;
 1511|      0|        advanceToken();  // eat the token
 1512|      0|        break;
 1513|  1.51M|    default:
  ------------------
  |  Branch (1513:5): [True: 1.51M, False: 0]
  ------------------
 1514|  1.51M|        break;
 1515|  1.51M|    }
 1516|       |
 1517|  1.51M|    switch (peek()) {
 1518|      0|    case EHTokVector:
  ------------------
  |  Branch (1518:5): [True: 0, False: 1.51M]
  ------------------
 1519|      0|        return acceptVectorTemplateType(type);
 1520|      0|        break;
 1521|       |
 1522|      0|    case EHTokMatrix:
  ------------------
  |  Branch (1522:5): [True: 0, False: 1.51M]
  ------------------
 1523|      0|        return acceptMatrixTemplateType(type);
 1524|      0|        break;
 1525|       |
 1526|      0|    case EHTokPointStream:            // fall through
  ------------------
  |  Branch (1526:5): [True: 0, False: 1.51M]
  ------------------
 1527|      0|    case EHTokLineStream:             // ...
  ------------------
  |  Branch (1527:5): [True: 0, False: 1.51M]
  ------------------
 1528|      0|    case EHTokTriangleStream:         // ...
  ------------------
  |  Branch (1528:5): [True: 0, False: 1.51M]
  ------------------
 1529|      0|        {
 1530|      0|            TLayoutGeometry geometry;
 1531|      0|            if (! acceptStreamOutTemplateType(type, geometry))
  ------------------
  |  Branch (1531:17): [True: 0, False: 0]
  ------------------
 1532|      0|                return false;
 1533|       |
 1534|      0|            if (! parseContext.handleOutputGeometry(token.loc, geometry))
  ------------------
  |  Branch (1534:17): [True: 0, False: 0]
  ------------------
 1535|      0|                return false;
 1536|       |
 1537|      0|            return true;
 1538|      0|        }
 1539|       |
 1540|      0|    case EHTokInputPatch:             // fall through
  ------------------
  |  Branch (1540:5): [True: 0, False: 1.51M]
  ------------------
 1541|      0|    case EHTokOutputPatch:            // ...
  ------------------
  |  Branch (1541:5): [True: 0, False: 1.51M]
  ------------------
 1542|      0|        {
 1543|      0|            if (! acceptTessellationPatchTemplateType(type))
  ------------------
  |  Branch (1543:17): [True: 0, False: 0]
  ------------------
 1544|      0|                return false;
 1545|       |
 1546|      0|            return true;
 1547|      0|        }
 1548|       |
 1549|  40.2k|    case EHTokSampler:                // fall through
  ------------------
  |  Branch (1549:5): [True: 40.2k, False: 1.47M]
  ------------------
 1550|  40.2k|    case EHTokSampler1d:              // ...
  ------------------
  |  Branch (1550:5): [True: 0, False: 1.51M]
  ------------------
 1551|  40.9k|    case EHTokSampler2d:              // ...
  ------------------
  |  Branch (1551:5): [True: 671, False: 1.51M]
  ------------------
 1552|  41.5k|    case EHTokSampler3d:              // ...
  ------------------
  |  Branch (1552:5): [True: 660, False: 1.51M]
  ------------------
 1553|  42.2k|    case EHTokSamplerCube:            // ...
  ------------------
  |  Branch (1553:5): [True: 660, False: 1.51M]
  ------------------
 1554|  42.2k|        if (parseContext.hlslDX9Compatible())
  ------------------
  |  Branch (1554:13): [True: 11, False: 42.2k]
  ------------------
 1555|     11|            return acceptSamplerTypeDX9(type);
 1556|  42.2k|        else
 1557|  42.2k|            return acceptSamplerType(type);
 1558|      0|        break;
 1559|       |
 1560|      0|    case EHTokSamplerState:           // fall through
  ------------------
  |  Branch (1560:5): [True: 0, False: 1.51M]
  ------------------
 1561|  26.4k|    case EHTokSamplerComparisonState: // ...
  ------------------
  |  Branch (1561:5): [True: 26.4k, False: 1.49M]
  ------------------
 1562|  26.4k|        return acceptSamplerType(type);
 1563|      0|        break;
 1564|       |
 1565|  1.32k|    case EHTokSubpassInput:           // fall through
  ------------------
  |  Branch (1565:5): [True: 1.32k, False: 1.51M]
  ------------------
 1566|  2.64k|    case EHTokSubpassInputMS:         // ...
  ------------------
  |  Branch (1566:5): [True: 1.32k, False: 1.51M]
  ------------------
 1567|  2.64k|        return acceptSubpassInputType(type);
 1568|      0|        break;
 1569|       |
 1570|    330|    case EHTokBuffer:                 // fall through
  ------------------
  |  Branch (1570:5): [True: 330, False: 1.51M]
  ------------------
 1571|  6.93k|    case EHTokTexture1d:              // ...
  ------------------
  |  Branch (1571:5): [True: 6.60k, False: 1.51M]
  ------------------
 1572|  13.5k|    case EHTokTexture1darray:         // ...
  ------------------
  |  Branch (1572:5): [True: 6.60k, False: 1.51M]
  ------------------
 1573|  35.6k|    case EHTokTexture2d:              // ...
  ------------------
  |  Branch (1573:5): [True: 22.1k, False: 1.49M]
  ------------------
 1574|  57.7k|    case EHTokTexture2darray:         // ...
  ------------------
  |  Branch (1574:5): [True: 22.1k, False: 1.49M]
  ------------------
 1575|  63.0k|    case EHTokTexture3d:              // ...
  ------------------
  |  Branch (1575:5): [True: 5.28k, False: 1.51M]
  ------------------
 1576|  70.2k|    case EHTokTextureCube:            // ...
  ------------------
  |  Branch (1576:5): [True: 7.26k, False: 1.51M]
  ------------------
 1577|  77.5k|    case EHTokTextureCubearray:       // ...
  ------------------
  |  Branch (1577:5): [True: 7.26k, False: 1.51M]
  ------------------
 1578|  79.2k|    case EHTokTexture2DMS:            // ...
  ------------------
  |  Branch (1578:5): [True: 1.65k, False: 1.51M]
  ------------------
 1579|  80.8k|    case EHTokTexture2DMSarray:       // ...
  ------------------
  |  Branch (1579:5): [True: 1.65k, False: 1.51M]
  ------------------
 1580|  81.8k|    case EHTokRWTexture1d:            // ...
  ------------------
  |  Branch (1580:5): [True: 990, False: 1.51M]
  ------------------
 1581|  82.8k|    case EHTokRWTexture1darray:       // ...
  ------------------
  |  Branch (1581:5): [True: 990, False: 1.51M]
  ------------------
 1582|  83.8k|    case EHTokRWTexture2d:            // ...
  ------------------
  |  Branch (1582:5): [True: 990, False: 1.51M]
  ------------------
 1583|  84.8k|    case EHTokRWTexture2darray:       // ...
  ------------------
  |  Branch (1583:5): [True: 990, False: 1.51M]
  ------------------
 1584|  85.8k|    case EHTokRWTexture3d:            // ...
  ------------------
  |  Branch (1584:5): [True: 990, False: 1.51M]
  ------------------
 1585|  86.7k|    case EHTokRWBuffer:               // ...
  ------------------
  |  Branch (1585:5): [True: 990, False: 1.51M]
  ------------------
 1586|  86.7k|        return acceptTextureType(type);
 1587|      0|        break;
 1588|       |
 1589|      0|    case EHTokAppendStructuredBuffer:
  ------------------
  |  Branch (1589:5): [True: 0, False: 1.51M]
  ------------------
 1590|      0|    case EHTokByteAddressBuffer:
  ------------------
  |  Branch (1590:5): [True: 0, False: 1.51M]
  ------------------
 1591|      0|    case EHTokConsumeStructuredBuffer:
  ------------------
  |  Branch (1591:5): [True: 0, False: 1.51M]
  ------------------
 1592|      0|    case EHTokRWByteAddressBuffer:
  ------------------
  |  Branch (1592:5): [True: 0, False: 1.51M]
  ------------------
 1593|      0|    case EHTokRWStructuredBuffer:
  ------------------
  |  Branch (1593:5): [True: 0, False: 1.51M]
  ------------------
 1594|      0|    case EHTokStructuredBuffer:
  ------------------
  |  Branch (1594:5): [True: 0, False: 1.51M]
  ------------------
 1595|      0|        return acceptStructBufferType(type);
 1596|      0|        break;
 1597|       |
 1598|      0|    case EHTokTextureBuffer:
  ------------------
  |  Branch (1598:5): [True: 0, False: 1.51M]
  ------------------
 1599|      0|        return acceptTextureBufferType(type);
 1600|      0|        break;
 1601|       |
 1602|      0|    case EHTokConstantBuffer:
  ------------------
  |  Branch (1602:5): [True: 0, False: 1.51M]
  ------------------
 1603|      0|        return acceptConstantBufferType(type);
 1604|       |
 1605|      0|    case EHTokClass:
  ------------------
  |  Branch (1605:5): [True: 0, False: 1.51M]
  ------------------
 1606|      0|    case EHTokStruct:
  ------------------
  |  Branch (1606:5): [True: 0, False: 1.51M]
  ------------------
 1607|      0|    case EHTokCBuffer:
  ------------------
  |  Branch (1607:5): [True: 0, False: 1.51M]
  ------------------
 1608|      0|    case EHTokTBuffer:
  ------------------
  |  Branch (1608:5): [True: 0, False: 1.51M]
  ------------------
 1609|      0|        return acceptStruct(type, nodeList);
 1610|       |
 1611|     96|    case EHTokIdentifier:
  ------------------
  |  Branch (1611:5): [True: 96, False: 1.51M]
  ------------------
 1612|       |        // An identifier could be for a user-defined type.
 1613|       |        // Note we cache the symbol table lookup, to save for a later rule
 1614|       |        // when this is not a type.
 1615|     96|        if (parseContext.lookupUserType(*token.string, type) != nullptr) {
  ------------------
  |  Branch (1615:13): [True: 0, False: 96]
  ------------------
 1616|      0|            advanceToken();
 1617|      0|            return true;
 1618|      0|        } else
 1619|     96|            return false;
 1620|       |
 1621|  98.2k|    case EHTokVoid:
  ------------------
  |  Branch (1621:5): [True: 98.2k, False: 1.42M]
  ------------------
 1622|  98.2k|        new(&type) TType(EbtVoid);
 1623|  98.2k|        break;
 1624|       |
 1625|      0|    case EHTokString:
  ------------------
  |  Branch (1625:5): [True: 0, False: 1.51M]
  ------------------
 1626|      0|        new(&type) TType(EbtString);
 1627|      0|        break;
 1628|       |
 1629|   104k|    case EHTokFloat:
  ------------------
  |  Branch (1629:5): [True: 104k, False: 1.41M]
  ------------------
 1630|   104k|        new(&type) TType(EbtFloat);
 1631|   104k|        break;
 1632|  8.58k|    case EHTokFloat1:
  ------------------
  |  Branch (1632:5): [True: 8.58k, False: 1.51M]
  ------------------
 1633|  8.58k|        new(&type) TType(EbtFloat);
 1634|  8.58k|        type.makeVector();
 1635|  8.58k|        break;
 1636|  70.7k|    case EHTokFloat2:
  ------------------
  |  Branch (1636:5): [True: 70.7k, False: 1.44M]
  ------------------
 1637|  70.7k|        new(&type) TType(EbtFloat, EvqTemporary, 2);
 1638|  70.7k|        break;
 1639|  60.3k|    case EHTokFloat3:
  ------------------
  |  Branch (1639:5): [True: 60.3k, False: 1.45M]
  ------------------
 1640|  60.3k|        new(&type) TType(EbtFloat, EvqTemporary, 3);
 1641|  60.3k|        break;
 1642|  63.0k|    case EHTokFloat4:
  ------------------
  |  Branch (1642:5): [True: 63.0k, False: 1.45M]
  ------------------
 1643|  63.0k|        new(&type) TType(EbtFloat, EvqTemporary, 4);
 1644|  63.0k|        break;
 1645|       |
 1646|  4.95k|    case EHTokDouble:
  ------------------
  |  Branch (1646:5): [True: 4.95k, False: 1.51M]
  ------------------
 1647|  4.95k|        new(&type) TType(EbtDouble);
 1648|  4.95k|        break;
 1649|      0|    case EHTokDouble1:
  ------------------
  |  Branch (1649:5): [True: 0, False: 1.51M]
  ------------------
 1650|      0|        new(&type) TType(EbtDouble);
 1651|      0|        type.makeVector();
 1652|      0|        break;
 1653|  4.95k|    case EHTokDouble2:
  ------------------
  |  Branch (1653:5): [True: 4.95k, False: 1.51M]
  ------------------
 1654|  4.95k|        new(&type) TType(EbtDouble, EvqTemporary, 2);
 1655|  4.95k|        break;
 1656|  4.73k|    case EHTokDouble3:
  ------------------
  |  Branch (1656:5): [True: 4.73k, False: 1.51M]
  ------------------
 1657|  4.73k|        new(&type) TType(EbtDouble, EvqTemporary, 3);
 1658|  4.73k|        break;
 1659|  4.73k|    case EHTokDouble4:
  ------------------
  |  Branch (1659:5): [True: 4.73k, False: 1.51M]
  ------------------
 1660|  4.73k|        new(&type) TType(EbtDouble, EvqTemporary, 4);
 1661|  4.73k|        break;
 1662|       |
 1663|  28.2k|    case EHTokInt:
  ------------------
  |  Branch (1663:5): [True: 28.2k, False: 1.49M]
  ------------------
 1664|  28.2k|    case EHTokDword:
  ------------------
  |  Branch (1664:5): [True: 0, False: 1.51M]
  ------------------
 1665|  28.2k|        new(&type) TType(EbtInt);
 1666|  28.2k|        break;
 1667|  5.94k|    case EHTokInt1:
  ------------------
  |  Branch (1667:5): [True: 5.94k, False: 1.51M]
  ------------------
 1668|  5.94k|        new(&type) TType(EbtInt);
 1669|  5.94k|        type.makeVector();
 1670|  5.94k|        break;
 1671|  98.3k|    case EHTokInt2:
  ------------------
  |  Branch (1671:5): [True: 98.3k, False: 1.42M]
  ------------------
 1672|  98.3k|        new(&type) TType(EbtInt, EvqTemporary, 2);
 1673|  98.3k|        break;
 1674|  19.4k|    case EHTokInt3:
  ------------------
  |  Branch (1674:5): [True: 19.4k, False: 1.50M]
  ------------------
 1675|  19.4k|        new(&type) TType(EbtInt, EvqTemporary, 3);
 1676|  19.4k|        break;
 1677|  40.3k|    case EHTokInt4:
  ------------------
  |  Branch (1677:5): [True: 40.3k, False: 1.47M]
  ------------------
 1678|  40.3k|        new(&type) TType(EbtInt, EvqTemporary, 4);
 1679|  40.3k|        break;
 1680|       |
 1681|  55.6k|    case EHTokUint:
  ------------------
  |  Branch (1681:5): [True: 55.6k, False: 1.46M]
  ------------------
 1682|  55.6k|        new(&type) TType(EbtUint);
 1683|  55.6k|        break;
 1684|  5.72k|    case EHTokUint1:
  ------------------
  |  Branch (1684:5): [True: 5.72k, False: 1.51M]
  ------------------
 1685|  5.72k|        new(&type) TType(EbtUint);
 1686|  5.72k|        type.makeVector();
 1687|  5.72k|        break;
 1688|  29.3k|    case EHTokUint2:
  ------------------
  |  Branch (1688:5): [True: 29.3k, False: 1.49M]
  ------------------
 1689|  29.3k|        new(&type) TType(EbtUint, EvqTemporary, 2);
 1690|  29.3k|        break;
 1691|  14.3k|    case EHTokUint3:
  ------------------
  |  Branch (1691:5): [True: 14.3k, False: 1.50M]
  ------------------
 1692|  14.3k|        new(&type) TType(EbtUint, EvqTemporary, 3);
 1693|  14.3k|        break;
 1694|  39.0k|    case EHTokUint4:
  ------------------
  |  Branch (1694:5): [True: 39.0k, False: 1.48M]
  ------------------
 1695|  39.0k|        new(&type) TType(EbtUint, EvqTemporary, 4);
 1696|  39.0k|        break;
 1697|       |
 1698|      0|    case EHTokUint64:
  ------------------
  |  Branch (1698:5): [True: 0, False: 1.51M]
  ------------------
 1699|      0|        new(&type) TType(EbtUint64);
 1700|      0|        break;
 1701|       |
 1702|  21.2k|    case EHTokBool:
  ------------------
  |  Branch (1702:5): [True: 21.2k, False: 1.49M]
  ------------------
 1703|  21.2k|        new(&type) TType(EbtBool);
 1704|  21.2k|        break;
 1705|      0|    case EHTokBool1:
  ------------------
  |  Branch (1705:5): [True: 0, False: 1.51M]
  ------------------
 1706|      0|        new(&type) TType(EbtBool);
 1707|      0|        type.makeVector();
 1708|      0|        break;
 1709|    660|    case EHTokBool2:
  ------------------
  |  Branch (1709:5): [True: 660, False: 1.51M]
  ------------------
 1710|    660|        new(&type) TType(EbtBool, EvqTemporary, 2);
 1711|    660|        break;
 1712|    660|    case EHTokBool3:
  ------------------
  |  Branch (1712:5): [True: 660, False: 1.51M]
  ------------------
 1713|    660|        new(&type) TType(EbtBool, EvqTemporary, 3);
 1714|    660|        break;
 1715|    660|    case EHTokBool4:
  ------------------
  |  Branch (1715:5): [True: 660, False: 1.51M]
  ------------------
 1716|    660|        new(&type) TType(EbtBool, EvqTemporary, 4);
 1717|    660|        break;
 1718|       |
 1719|      0|    case EHTokHalf:
  ------------------
  |  Branch (1719:5): [True: 0, False: 1.51M]
  ------------------
 1720|      0|        new(&type) TType(half_bt, EvqTemporary);
 1721|      0|        break;
 1722|      0|    case EHTokHalf1:
  ------------------
  |  Branch (1722:5): [True: 0, False: 1.51M]
  ------------------
 1723|      0|        new(&type) TType(half_bt, EvqTemporary);
 1724|      0|        type.makeVector();
 1725|      0|        break;
 1726|      0|    case EHTokHalf2:
  ------------------
  |  Branch (1726:5): [True: 0, False: 1.51M]
  ------------------
 1727|      0|        new(&type) TType(half_bt, EvqTemporary, 2);
 1728|      0|        break;
 1729|      0|    case EHTokHalf3:
  ------------------
  |  Branch (1729:5): [True: 0, False: 1.51M]
  ------------------
 1730|      0|        new(&type) TType(half_bt, EvqTemporary, 3);
 1731|      0|        break;
 1732|      0|    case EHTokHalf4:
  ------------------
  |  Branch (1732:5): [True: 0, False: 1.51M]
  ------------------
 1733|      0|        new(&type) TType(half_bt, EvqTemporary, 4);
 1734|      0|        break;
 1735|       |
 1736|      0|    case EHTokMin16float:
  ------------------
  |  Branch (1736:5): [True: 0, False: 1.51M]
  ------------------
 1737|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium);
 1738|      0|        break;
 1739|      0|    case EHTokMin16float1:
  ------------------
  |  Branch (1739:5): [True: 0, False: 1.51M]
  ------------------
 1740|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium);
 1741|      0|        type.makeVector();
 1742|      0|        break;
 1743|      0|    case EHTokMin16float2:
  ------------------
  |  Branch (1743:5): [True: 0, False: 1.51M]
  ------------------
 1744|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 2);
 1745|      0|        break;
 1746|      0|    case EHTokMin16float3:
  ------------------
  |  Branch (1746:5): [True: 0, False: 1.51M]
  ------------------
 1747|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 3);
 1748|      0|        break;
 1749|      0|    case EHTokMin16float4:
  ------------------
  |  Branch (1749:5): [True: 0, False: 1.51M]
  ------------------
 1750|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 4);
 1751|      0|        break;
 1752|       |
 1753|      0|    case EHTokMin10float:
  ------------------
  |  Branch (1753:5): [True: 0, False: 1.51M]
  ------------------
 1754|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium);
 1755|      0|        break;
 1756|      0|    case EHTokMin10float1:
  ------------------
  |  Branch (1756:5): [True: 0, False: 1.51M]
  ------------------
 1757|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium);
 1758|      0|        type.makeVector();
 1759|      0|        break;
 1760|      0|    case EHTokMin10float2:
  ------------------
  |  Branch (1760:5): [True: 0, False: 1.51M]
  ------------------
 1761|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 2);
 1762|      0|        break;
 1763|      0|    case EHTokMin10float3:
  ------------------
  |  Branch (1763:5): [True: 0, False: 1.51M]
  ------------------
 1764|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 3);
 1765|      0|        break;
 1766|      0|    case EHTokMin10float4:
  ------------------
  |  Branch (1766:5): [True: 0, False: 1.51M]
  ------------------
 1767|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 4);
 1768|      0|        break;
 1769|       |
 1770|      0|    case EHTokMin16int:
  ------------------
  |  Branch (1770:5): [True: 0, False: 1.51M]
  ------------------
 1771|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium);
 1772|      0|        break;
 1773|      0|    case EHTokMin16int1:
  ------------------
  |  Branch (1773:5): [True: 0, False: 1.51M]
  ------------------
 1774|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium);
 1775|      0|        type.makeVector();
 1776|      0|        break;
 1777|      0|    case EHTokMin16int2:
  ------------------
  |  Branch (1777:5): [True: 0, False: 1.51M]
  ------------------
 1778|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 2);
 1779|      0|        break;
 1780|      0|    case EHTokMin16int3:
  ------------------
  |  Branch (1780:5): [True: 0, False: 1.51M]
  ------------------
 1781|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 3);
 1782|      0|        break;
 1783|      0|    case EHTokMin16int4:
  ------------------
  |  Branch (1783:5): [True: 0, False: 1.51M]
  ------------------
 1784|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 4);
 1785|      0|        break;
 1786|       |
 1787|      0|    case EHTokMin12int:
  ------------------
  |  Branch (1787:5): [True: 0, False: 1.51M]
  ------------------
 1788|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium);
 1789|      0|        break;
 1790|      0|    case EHTokMin12int1:
  ------------------
  |  Branch (1790:5): [True: 0, False: 1.51M]
  ------------------
 1791|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium);
 1792|      0|        type.makeVector();
 1793|      0|        break;
 1794|      0|    case EHTokMin12int2:
  ------------------
  |  Branch (1794:5): [True: 0, False: 1.51M]
  ------------------
 1795|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 2);
 1796|      0|        break;
 1797|      0|    case EHTokMin12int3:
  ------------------
  |  Branch (1797:5): [True: 0, False: 1.51M]
  ------------------
 1798|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 3);
 1799|      0|        break;
 1800|      0|    case EHTokMin12int4:
  ------------------
  |  Branch (1800:5): [True: 0, False: 1.51M]
  ------------------
 1801|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 4);
 1802|      0|        break;
 1803|       |
 1804|      0|    case EHTokMin16uint:
  ------------------
  |  Branch (1804:5): [True: 0, False: 1.51M]
  ------------------
 1805|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium);
 1806|      0|        break;
 1807|      0|    case EHTokMin16uint1:
  ------------------
  |  Branch (1807:5): [True: 0, False: 1.51M]
  ------------------
 1808|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium);
 1809|      0|        type.makeVector();
 1810|      0|        break;
 1811|      0|    case EHTokMin16uint2:
  ------------------
  |  Branch (1811:5): [True: 0, False: 1.51M]
  ------------------
 1812|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 2);
 1813|      0|        break;
 1814|      0|    case EHTokMin16uint3:
  ------------------
  |  Branch (1814:5): [True: 0, False: 1.51M]
  ------------------
 1815|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 3);
 1816|      0|        break;
 1817|      0|    case EHTokMin16uint4:
  ------------------
  |  Branch (1817:5): [True: 0, False: 1.51M]
  ------------------
 1818|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 4);
 1819|      0|        break;
 1820|       |
 1821|  8.36k|    case EHTokInt1x1:
  ------------------
  |  Branch (1821:5): [True: 8.36k, False: 1.51M]
  ------------------
 1822|  8.36k|        new(&type) TType(EbtInt, EvqTemporary, 0, 1, 1);
 1823|  8.36k|        break;
 1824|  8.36k|    case EHTokInt1x2:
  ------------------
  |  Branch (1824:5): [True: 8.36k, False: 1.51M]
  ------------------
 1825|  8.36k|        new(&type) TType(EbtInt, EvqTemporary, 0, 1, 2);
 1826|  8.36k|        break;
 1827|  8.36k|    case EHTokInt1x3:
  ------------------
  |  Branch (1827:5): [True: 8.36k, False: 1.51M]
  ------------------
 1828|  8.36k|        new(&type) TType(EbtInt, EvqTemporary, 0, 1, 3);
 1829|  8.36k|        break;
 1830|  8.36k|    case EHTokInt1x4:
  ------------------
  |  Branch (1830:5): [True: 8.36k, False: 1.51M]
  ------------------
 1831|  8.36k|        new(&type) TType(EbtInt, EvqTemporary, 0, 1, 4);
 1832|  8.36k|        break;
 1833|  8.36k|    case EHTokInt2x1:
  ------------------
  |  Branch (1833:5): [True: 8.36k, False: 1.51M]
  ------------------
 1834|  8.36k|        new(&type) TType(EbtInt, EvqTemporary, 0, 2, 1);
 1835|  8.36k|        break;
 1836|  8.36k|    case EHTokInt2x2:
  ------------------
  |  Branch (1836:5): [True: 8.36k, False: 1.51M]
  ------------------
 1837|  8.36k|        new(&type) TType(EbtInt, EvqTemporary, 0, 2, 2);
 1838|  8.36k|        break;
 1839|  8.36k|    case EHTokInt2x3:
  ------------------
  |  Branch (1839:5): [True: 8.36k, False: 1.51M]
  ------------------
 1840|  8.36k|        new(&type) TType(EbtInt, EvqTemporary, 0, 2, 3);
 1841|  8.36k|        break;
 1842|  8.36k|    case EHTokInt2x4:
  ------------------
  |  Branch (1842:5): [True: 8.36k, False: 1.51M]
  ------------------
 1843|  8.36k|        new(&type) TType(EbtInt, EvqTemporary, 0, 2, 4);
 1844|  8.36k|        break;
 1845|  8.36k|    case EHTokInt3x1:
  ------------------
  |  Branch (1845:5): [True: 8.36k, False: 1.51M]
  ------------------
 1846|  8.36k|        new(&type) TType(EbtInt, EvqTemporary, 0, 3, 1);
 1847|  8.36k|        break;
 1848|  8.36k|    case EHTokInt3x2:
  ------------------
  |  Branch (1848:5): [True: 8.36k, False: 1.51M]
  ------------------
 1849|  8.36k|        new(&type) TType(EbtInt, EvqTemporary, 0, 3, 2);
 1850|  8.36k|        break;
 1851|  8.36k|    case EHTokInt3x3:
  ------------------
  |  Branch (1851:5): [True: 8.36k, False: 1.51M]
  ------------------
 1852|  8.36k|        new(&type) TType(EbtInt, EvqTemporary, 0, 3, 3);
 1853|  8.36k|        break;
 1854|  8.36k|    case EHTokInt3x4:
  ------------------
  |  Branch (1854:5): [True: 8.36k, False: 1.51M]
  ------------------
 1855|  8.36k|        new(&type) TType(EbtInt, EvqTemporary, 0, 3, 4);
 1856|  8.36k|        break;
 1857|  8.36k|    case EHTokInt4x1:
  ------------------
  |  Branch (1857:5): [True: 8.36k, False: 1.51M]
  ------------------
 1858|  8.36k|        new(&type) TType(EbtInt, EvqTemporary, 0, 4, 1);
 1859|  8.36k|        break;
 1860|  8.36k|    case EHTokInt4x2:
  ------------------
  |  Branch (1860:5): [True: 8.36k, False: 1.51M]
  ------------------
 1861|  8.36k|        new(&type) TType(EbtInt, EvqTemporary, 0, 4, 2);
 1862|  8.36k|        break;
 1863|  8.36k|    case EHTokInt4x3:
  ------------------
  |  Branch (1863:5): [True: 8.36k, False: 1.51M]
  ------------------
 1864|  8.36k|        new(&type) TType(EbtInt, EvqTemporary, 0, 4, 3);
 1865|  8.36k|        break;
 1866|  8.36k|    case EHTokInt4x4:
  ------------------
  |  Branch (1866:5): [True: 8.36k, False: 1.51M]
  ------------------
 1867|  8.36k|        new(&type) TType(EbtInt, EvqTemporary, 0, 4, 4);
 1868|  8.36k|        break;
 1869|       |
 1870|  7.70k|    case EHTokUint1x1:
  ------------------
  |  Branch (1870:5): [True: 7.70k, False: 1.51M]
  ------------------
 1871|  7.70k|        new(&type) TType(EbtUint, EvqTemporary, 0, 1, 1);
 1872|  7.70k|        break;
 1873|  7.70k|    case EHTokUint1x2:
  ------------------
  |  Branch (1873:5): [True: 7.70k, False: 1.51M]
  ------------------
 1874|  7.70k|        new(&type) TType(EbtUint, EvqTemporary, 0, 1, 2);
 1875|  7.70k|        break;
 1876|  7.70k|    case EHTokUint1x3:
  ------------------
  |  Branch (1876:5): [True: 7.70k, False: 1.51M]
  ------------------
 1877|  7.70k|        new(&type) TType(EbtUint, EvqTemporary, 0, 1, 3);
 1878|  7.70k|        break;
 1879|  7.70k|    case EHTokUint1x4:
  ------------------
  |  Branch (1879:5): [True: 7.70k, False: 1.51M]
  ------------------
 1880|  7.70k|        new(&type) TType(EbtUint, EvqTemporary, 0, 1, 4);
 1881|  7.70k|        break;
 1882|  7.70k|    case EHTokUint2x1:
  ------------------
  |  Branch (1882:5): [True: 7.70k, False: 1.51M]
  ------------------
 1883|  7.70k|        new(&type) TType(EbtUint, EvqTemporary, 0, 2, 1);
 1884|  7.70k|        break;
 1885|  7.70k|    case EHTokUint2x2:
  ------------------
  |  Branch (1885:5): [True: 7.70k, False: 1.51M]
  ------------------
 1886|  7.70k|        new(&type) TType(EbtUint, EvqTemporary, 0, 2, 2);
 1887|  7.70k|        break;
 1888|  7.70k|    case EHTokUint2x3:
  ------------------
  |  Branch (1888:5): [True: 7.70k, False: 1.51M]
  ------------------
 1889|  7.70k|        new(&type) TType(EbtUint, EvqTemporary, 0, 2, 3);
 1890|  7.70k|        break;
 1891|  7.70k|    case EHTokUint2x4:
  ------------------
  |  Branch (1891:5): [True: 7.70k, False: 1.51M]
  ------------------
 1892|  7.70k|        new(&type) TType(EbtUint, EvqTemporary, 0, 2, 4);
 1893|  7.70k|        break;
 1894|  7.70k|    case EHTokUint3x1:
  ------------------
  |  Branch (1894:5): [True: 7.70k, False: 1.51M]
  ------------------
 1895|  7.70k|        new(&type) TType(EbtUint, EvqTemporary, 0, 3, 1);
 1896|  7.70k|        break;
 1897|  7.70k|    case EHTokUint3x2:
  ------------------
  |  Branch (1897:5): [True: 7.70k, False: 1.51M]
  ------------------
 1898|  7.70k|        new(&type) TType(EbtUint, EvqTemporary, 0, 3, 2);
 1899|  7.70k|        break;
 1900|  7.70k|    case EHTokUint3x3:
  ------------------
  |  Branch (1900:5): [True: 7.70k, False: 1.51M]
  ------------------
 1901|  7.70k|        new(&type) TType(EbtUint, EvqTemporary, 0, 3, 3);
 1902|  7.70k|        break;
 1903|  7.70k|    case EHTokUint3x4:
  ------------------
  |  Branch (1903:5): [True: 7.70k, False: 1.51M]
  ------------------
 1904|  7.70k|        new(&type) TType(EbtUint, EvqTemporary, 0, 3, 4);
 1905|  7.70k|        break;
 1906|  7.70k|    case EHTokUint4x1:
  ------------------
  |  Branch (1906:5): [True: 7.70k, False: 1.51M]
  ------------------
 1907|  7.70k|        new(&type) TType(EbtUint, EvqTemporary, 0, 4, 1);
 1908|  7.70k|        break;
 1909|  7.70k|    case EHTokUint4x2:
  ------------------
  |  Branch (1909:5): [True: 7.70k, False: 1.51M]
  ------------------
 1910|  7.70k|        new(&type) TType(EbtUint, EvqTemporary, 0, 4, 2);
 1911|  7.70k|        break;
 1912|  7.70k|    case EHTokUint4x3:
  ------------------
  |  Branch (1912:5): [True: 7.70k, False: 1.51M]
  ------------------
 1913|  7.70k|        new(&type) TType(EbtUint, EvqTemporary, 0, 4, 3);
 1914|  7.70k|        break;
 1915|  7.70k|    case EHTokUint4x4:
  ------------------
  |  Branch (1915:5): [True: 7.70k, False: 1.51M]
  ------------------
 1916|  7.70k|        new(&type) TType(EbtUint, EvqTemporary, 0, 4, 4);
 1917|  7.70k|        break;
 1918|       |
 1919|    880|    case EHTokBool1x1:
  ------------------
  |  Branch (1919:5): [True: 880, False: 1.51M]
  ------------------
 1920|    880|        new(&type) TType(EbtBool, EvqTemporary, 0, 1, 1);
 1921|    880|        break;
 1922|    880|    case EHTokBool1x2:
  ------------------
  |  Branch (1922:5): [True: 880, False: 1.51M]
  ------------------
 1923|    880|        new(&type) TType(EbtBool, EvqTemporary, 0, 1, 2);
 1924|    880|        break;
 1925|    880|    case EHTokBool1x3:
  ------------------
  |  Branch (1925:5): [True: 880, False: 1.51M]
  ------------------
 1926|    880|        new(&type) TType(EbtBool, EvqTemporary, 0, 1, 3);
 1927|    880|        break;
 1928|    880|    case EHTokBool1x4:
  ------------------
  |  Branch (1928:5): [True: 880, False: 1.51M]
  ------------------
 1929|    880|        new(&type) TType(EbtBool, EvqTemporary, 0, 1, 4);
 1930|    880|        break;
 1931|    880|    case EHTokBool2x1:
  ------------------
  |  Branch (1931:5): [True: 880, False: 1.51M]
  ------------------
 1932|    880|        new(&type) TType(EbtBool, EvqTemporary, 0, 2, 1);
 1933|    880|        break;
 1934|    880|    case EHTokBool2x2:
  ------------------
  |  Branch (1934:5): [True: 880, False: 1.51M]
  ------------------
 1935|    880|        new(&type) TType(EbtBool, EvqTemporary, 0, 2, 2);
 1936|    880|        break;
 1937|    880|    case EHTokBool2x3:
  ------------------
  |  Branch (1937:5): [True: 880, False: 1.51M]
  ------------------
 1938|    880|        new(&type) TType(EbtBool, EvqTemporary, 0, 2, 3);
 1939|    880|        break;
 1940|    880|    case EHTokBool2x4:
  ------------------
  |  Branch (1940:5): [True: 880, False: 1.51M]
  ------------------
 1941|    880|        new(&type) TType(EbtBool, EvqTemporary, 0, 2, 4);
 1942|    880|        break;
 1943|    880|    case EHTokBool3x1:
  ------------------
  |  Branch (1943:5): [True: 880, False: 1.51M]
  ------------------
 1944|    880|        new(&type) TType(EbtBool, EvqTemporary, 0, 3, 1);
 1945|    880|        break;
 1946|    880|    case EHTokBool3x2:
  ------------------
  |  Branch (1946:5): [True: 880, False: 1.51M]
  ------------------
 1947|    880|        new(&type) TType(EbtBool, EvqTemporary, 0, 3, 2);
 1948|    880|        break;
 1949|    880|    case EHTokBool3x3:
  ------------------
  |  Branch (1949:5): [True: 880, False: 1.51M]
  ------------------
 1950|    880|        new(&type) TType(EbtBool, EvqTemporary, 0, 3, 3);
 1951|    880|        break;
 1952|    880|    case EHTokBool3x4:
  ------------------
  |  Branch (1952:5): [True: 880, False: 1.51M]
  ------------------
 1953|    880|        new(&type) TType(EbtBool, EvqTemporary, 0, 3, 4);
 1954|    880|        break;
 1955|    880|    case EHTokBool4x1:
  ------------------
  |  Branch (1955:5): [True: 880, False: 1.51M]
  ------------------
 1956|    880|        new(&type) TType(EbtBool, EvqTemporary, 0, 4, 1);
 1957|    880|        break;
 1958|    880|    case EHTokBool4x2:
  ------------------
  |  Branch (1958:5): [True: 880, False: 1.51M]
  ------------------
 1959|    880|        new(&type) TType(EbtBool, EvqTemporary, 0, 4, 2);
 1960|    880|        break;
 1961|    880|    case EHTokBool4x3:
  ------------------
  |  Branch (1961:5): [True: 880, False: 1.51M]
  ------------------
 1962|    880|        new(&type) TType(EbtBool, EvqTemporary, 0, 4, 3);
 1963|    880|        break;
 1964|    880|    case EHTokBool4x4:
  ------------------
  |  Branch (1964:5): [True: 880, False: 1.51M]
  ------------------
 1965|    880|        new(&type) TType(EbtBool, EvqTemporary, 0, 4, 4);
 1966|    880|        break;
 1967|       |
 1968|  17.8k|    case EHTokFloat1x1:
  ------------------
  |  Branch (1968:5): [True: 17.8k, False: 1.50M]
  ------------------
 1969|  17.8k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 1, 1);
 1970|  17.8k|        break;
 1971|  17.8k|    case EHTokFloat1x2:
  ------------------
  |  Branch (1971:5): [True: 17.8k, False: 1.50M]
  ------------------
 1972|  17.8k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 1, 2);
 1973|  17.8k|        break;
 1974|  17.8k|    case EHTokFloat1x3:
  ------------------
  |  Branch (1974:5): [True: 17.8k, False: 1.50M]
  ------------------
 1975|  17.8k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 1, 3);
 1976|  17.8k|        break;
 1977|  17.8k|    case EHTokFloat1x4:
  ------------------
  |  Branch (1977:5): [True: 17.8k, False: 1.50M]
  ------------------
 1978|  17.8k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 1, 4);
 1979|  17.8k|        break;
 1980|  17.8k|    case EHTokFloat2x1:
  ------------------
  |  Branch (1980:5): [True: 17.8k, False: 1.50M]
  ------------------
 1981|  17.8k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 2, 1);
 1982|  17.8k|        break;
 1983|  17.8k|    case EHTokFloat2x2:
  ------------------
  |  Branch (1983:5): [True: 17.8k, False: 1.50M]
  ------------------
 1984|  17.8k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 2, 2);
 1985|  17.8k|        break;
 1986|  17.8k|    case EHTokFloat2x3:
  ------------------
  |  Branch (1986:5): [True: 17.8k, False: 1.50M]
  ------------------
 1987|  17.8k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 2, 3);
 1988|  17.8k|        break;
 1989|  17.8k|    case EHTokFloat2x4:
  ------------------
  |  Branch (1989:5): [True: 17.8k, False: 1.50M]
  ------------------
 1990|  17.8k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 2, 4);
 1991|  17.8k|        break;
 1992|  17.8k|    case EHTokFloat3x1:
  ------------------
  |  Branch (1992:5): [True: 17.8k, False: 1.50M]
  ------------------
 1993|  17.8k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 3, 1);
 1994|  17.8k|        break;
 1995|  17.8k|    case EHTokFloat3x2:
  ------------------
  |  Branch (1995:5): [True: 17.8k, False: 1.50M]
  ------------------
 1996|  17.8k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 3, 2);
 1997|  17.8k|        break;
 1998|  17.8k|    case EHTokFloat3x3:
  ------------------
  |  Branch (1998:5): [True: 17.8k, False: 1.50M]
  ------------------
 1999|  17.8k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 3, 3);
 2000|  17.8k|        break;
 2001|  17.8k|    case EHTokFloat3x4:
  ------------------
  |  Branch (2001:5): [True: 17.8k, False: 1.50M]
  ------------------
 2002|  17.8k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 3, 4);
 2003|  17.8k|        break;
 2004|  17.8k|    case EHTokFloat4x1:
  ------------------
  |  Branch (2004:5): [True: 17.8k, False: 1.50M]
  ------------------
 2005|  17.8k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 4, 1);
 2006|  17.8k|        break;
 2007|  17.8k|    case EHTokFloat4x2:
  ------------------
  |  Branch (2007:5): [True: 17.8k, False: 1.50M]
  ------------------
 2008|  17.8k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 4, 2);
 2009|  17.8k|        break;
 2010|  17.8k|    case EHTokFloat4x3:
  ------------------
  |  Branch (2010:5): [True: 17.8k, False: 1.50M]
  ------------------
 2011|  17.8k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 4, 3);
 2012|  17.8k|        break;
 2013|  17.8k|    case EHTokFloat4x4:
  ------------------
  |  Branch (2013:5): [True: 17.8k, False: 1.50M]
  ------------------
 2014|  17.8k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 4, 4);
 2015|  17.8k|        break;
 2016|       |
 2017|      0|    case EHTokHalf1x1:
  ------------------
  |  Branch (2017:5): [True: 0, False: 1.51M]
  ------------------
 2018|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 1, 1);
 2019|      0|        break;
 2020|      0|    case EHTokHalf1x2:
  ------------------
  |  Branch (2020:5): [True: 0, False: 1.51M]
  ------------------
 2021|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 1, 2);
 2022|      0|        break;
 2023|      0|    case EHTokHalf1x3:
  ------------------
  |  Branch (2023:5): [True: 0, False: 1.51M]
  ------------------
 2024|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 1, 3);
 2025|      0|        break;
 2026|      0|    case EHTokHalf1x4:
  ------------------
  |  Branch (2026:5): [True: 0, False: 1.51M]
  ------------------
 2027|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 1, 4);
 2028|      0|        break;
 2029|      0|    case EHTokHalf2x1:
  ------------------
  |  Branch (2029:5): [True: 0, False: 1.51M]
  ------------------
 2030|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 2, 1);
 2031|      0|        break;
 2032|      0|    case EHTokHalf2x2:
  ------------------
  |  Branch (2032:5): [True: 0, False: 1.51M]
  ------------------
 2033|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 2, 2);
 2034|      0|        break;
 2035|      0|    case EHTokHalf2x3:
  ------------------
  |  Branch (2035:5): [True: 0, False: 1.51M]
  ------------------
 2036|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 2, 3);
 2037|      0|        break;
 2038|      0|    case EHTokHalf2x4:
  ------------------
  |  Branch (2038:5): [True: 0, False: 1.51M]
  ------------------
 2039|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 2, 4);
 2040|      0|        break;
 2041|      0|    case EHTokHalf3x1:
  ------------------
  |  Branch (2041:5): [True: 0, False: 1.51M]
  ------------------
 2042|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 3, 1);
 2043|      0|        break;
 2044|      0|    case EHTokHalf3x2:
  ------------------
  |  Branch (2044:5): [True: 0, False: 1.51M]
  ------------------
 2045|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 3, 2);
 2046|      0|        break;
 2047|      0|    case EHTokHalf3x3:
  ------------------
  |  Branch (2047:5): [True: 0, False: 1.51M]
  ------------------
 2048|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 3, 3);
 2049|      0|        break;
 2050|      0|    case EHTokHalf3x4:
  ------------------
  |  Branch (2050:5): [True: 0, False: 1.51M]
  ------------------
 2051|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 3, 4);
 2052|      0|        break;
 2053|      0|    case EHTokHalf4x1:
  ------------------
  |  Branch (2053:5): [True: 0, False: 1.51M]
  ------------------
 2054|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 4, 1);
 2055|      0|        break;
 2056|      0|    case EHTokHalf4x2:
  ------------------
  |  Branch (2056:5): [True: 0, False: 1.51M]
  ------------------
 2057|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 4, 2);
 2058|      0|        break;
 2059|      0|    case EHTokHalf4x3:
  ------------------
  |  Branch (2059:5): [True: 0, False: 1.51M]
  ------------------
 2060|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 4, 3);
 2061|      0|        break;
 2062|      0|    case EHTokHalf4x4:
  ------------------
  |  Branch (2062:5): [True: 0, False: 1.51M]
  ------------------
 2063|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 4, 4);
 2064|      0|        break;
 2065|       |
 2066|  1.32k|    case EHTokDouble1x1:
  ------------------
  |  Branch (2066:5): [True: 1.32k, False: 1.51M]
  ------------------
 2067|  1.32k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 1, 1);
 2068|  1.32k|        break;
 2069|  1.32k|    case EHTokDouble1x2:
  ------------------
  |  Branch (2069:5): [True: 1.32k, False: 1.51M]
  ------------------
 2070|  1.32k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 1, 2);
 2071|  1.32k|        break;
 2072|  1.32k|    case EHTokDouble1x3:
  ------------------
  |  Branch (2072:5): [True: 1.32k, False: 1.51M]
  ------------------
 2073|  1.32k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 1, 3);
 2074|  1.32k|        break;
 2075|  1.32k|    case EHTokDouble1x4:
  ------------------
  |  Branch (2075:5): [True: 1.32k, False: 1.51M]
  ------------------
 2076|  1.32k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 1, 4);
 2077|  1.32k|        break;
 2078|  1.32k|    case EHTokDouble2x1:
  ------------------
  |  Branch (2078:5): [True: 1.32k, False: 1.51M]
  ------------------
 2079|  1.32k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 2, 1);
 2080|  1.32k|        break;
 2081|  1.32k|    case EHTokDouble2x2:
  ------------------
  |  Branch (2081:5): [True: 1.32k, False: 1.51M]
  ------------------
 2082|  1.32k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 2, 2);
 2083|  1.32k|        break;
 2084|  1.32k|    case EHTokDouble2x3:
  ------------------
  |  Branch (2084:5): [True: 1.32k, False: 1.51M]
  ------------------
 2085|  1.32k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 2, 3);
 2086|  1.32k|        break;
 2087|  1.32k|    case EHTokDouble2x4:
  ------------------
  |  Branch (2087:5): [True: 1.32k, False: 1.51M]
  ------------------
 2088|  1.32k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 2, 4);
 2089|  1.32k|        break;
 2090|  1.32k|    case EHTokDouble3x1:
  ------------------
  |  Branch (2090:5): [True: 1.32k, False: 1.51M]
  ------------------
 2091|  1.32k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 3, 1);
 2092|  1.32k|        break;
 2093|  1.32k|    case EHTokDouble3x2:
  ------------------
  |  Branch (2093:5): [True: 1.32k, False: 1.51M]
  ------------------
 2094|  1.32k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 3, 2);
 2095|  1.32k|        break;
 2096|  1.32k|    case EHTokDouble3x3:
  ------------------
  |  Branch (2096:5): [True: 1.32k, False: 1.51M]
  ------------------
 2097|  1.32k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 3, 3);
 2098|  1.32k|        break;
 2099|  1.32k|    case EHTokDouble3x4:
  ------------------
  |  Branch (2099:5): [True: 1.32k, False: 1.51M]
  ------------------
 2100|  1.32k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 3, 4);
 2101|  1.32k|        break;
 2102|  1.32k|    case EHTokDouble4x1:
  ------------------
  |  Branch (2102:5): [True: 1.32k, False: 1.51M]
  ------------------
 2103|  1.32k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 4, 1);
 2104|  1.32k|        break;
 2105|  1.32k|    case EHTokDouble4x2:
  ------------------
  |  Branch (2105:5): [True: 1.32k, False: 1.51M]
  ------------------
 2106|  1.32k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 4, 2);
 2107|  1.32k|        break;
 2108|  1.32k|    case EHTokDouble4x3:
  ------------------
  |  Branch (2108:5): [True: 1.32k, False: 1.51M]
  ------------------
 2109|  1.32k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 4, 3);
 2110|  1.32k|        break;
 2111|  1.32k|    case EHTokDouble4x4:
  ------------------
  |  Branch (2111:5): [True: 1.32k, False: 1.51M]
  ------------------
 2112|  1.32k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 4, 4);
 2113|  1.32k|        break;
 2114|       |
 2115|      0|    case EHTokMin16float1x1:
  ------------------
  |  Branch (2115:5): [True: 0, False: 1.51M]
  ------------------
 2116|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 1, 1);
 2117|      0|        break;
 2118|      0|    case EHTokMin16float1x2:
  ------------------
  |  Branch (2118:5): [True: 0, False: 1.51M]
  ------------------
 2119|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 1, 2);
 2120|      0|        break;
 2121|      0|    case EHTokMin16float1x3:
  ------------------
  |  Branch (2121:5): [True: 0, False: 1.51M]
  ------------------
 2122|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 1, 3);
 2123|      0|        break;
 2124|      0|    case EHTokMin16float1x4:
  ------------------
  |  Branch (2124:5): [True: 0, False: 1.51M]
  ------------------
 2125|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 1, 4);
 2126|      0|        break;
 2127|      0|    case EHTokMin16float2x1:
  ------------------
  |  Branch (2127:5): [True: 0, False: 1.51M]
  ------------------
 2128|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 2, 1);
 2129|      0|        break;
 2130|      0|    case EHTokMin16float2x2:
  ------------------
  |  Branch (2130:5): [True: 0, False: 1.51M]
  ------------------
 2131|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 2, 2);
 2132|      0|        break;
 2133|      0|    case EHTokMin16float2x3:
  ------------------
  |  Branch (2133:5): [True: 0, False: 1.51M]
  ------------------
 2134|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 2, 3);
 2135|      0|        break;
 2136|      0|    case EHTokMin16float2x4:
  ------------------
  |  Branch (2136:5): [True: 0, False: 1.51M]
  ------------------
 2137|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 2, 4);
 2138|      0|        break;
 2139|      0|    case EHTokMin16float3x1:
  ------------------
  |  Branch (2139:5): [True: 0, False: 1.51M]
  ------------------
 2140|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 3, 1);
 2141|      0|        break;
 2142|      0|    case EHTokMin16float3x2:
  ------------------
  |  Branch (2142:5): [True: 0, False: 1.51M]
  ------------------
 2143|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 3, 2);
 2144|      0|        break;
 2145|      0|    case EHTokMin16float3x3:
  ------------------
  |  Branch (2145:5): [True: 0, False: 1.51M]
  ------------------
 2146|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 3, 3);
 2147|      0|        break;
 2148|      0|    case EHTokMin16float3x4:
  ------------------
  |  Branch (2148:5): [True: 0, False: 1.51M]
  ------------------
 2149|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 3, 4);
 2150|      0|        break;
 2151|      0|    case EHTokMin16float4x1:
  ------------------
  |  Branch (2151:5): [True: 0, False: 1.51M]
  ------------------
 2152|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 4, 1);
 2153|      0|        break;
 2154|      0|    case EHTokMin16float4x2:
  ------------------
  |  Branch (2154:5): [True: 0, False: 1.51M]
  ------------------
 2155|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 4, 2);
 2156|      0|        break;
 2157|      0|    case EHTokMin16float4x3:
  ------------------
  |  Branch (2157:5): [True: 0, False: 1.51M]
  ------------------
 2158|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 4, 3);
 2159|      0|        break;
 2160|      0|    case EHTokMin16float4x4:
  ------------------
  |  Branch (2160:5): [True: 0, False: 1.51M]
  ------------------
 2161|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 0, 4, 4);
 2162|      0|        break;
 2163|       |
 2164|      0|    case EHTokMin10float1x1:
  ------------------
  |  Branch (2164:5): [True: 0, False: 1.51M]
  ------------------
 2165|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 1, 1);
 2166|      0|        break;
 2167|      0|    case EHTokMin10float1x2:
  ------------------
  |  Branch (2167:5): [True: 0, False: 1.51M]
  ------------------
 2168|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 1, 2);
 2169|      0|        break;
 2170|      0|    case EHTokMin10float1x3:
  ------------------
  |  Branch (2170:5): [True: 0, False: 1.51M]
  ------------------
 2171|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 1, 3);
 2172|      0|        break;
 2173|      0|    case EHTokMin10float1x4:
  ------------------
  |  Branch (2173:5): [True: 0, False: 1.51M]
  ------------------
 2174|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 1, 4);
 2175|      0|        break;
 2176|      0|    case EHTokMin10float2x1:
  ------------------
  |  Branch (2176:5): [True: 0, False: 1.51M]
  ------------------
 2177|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 2, 1);
 2178|      0|        break;
 2179|      0|    case EHTokMin10float2x2:
  ------------------
  |  Branch (2179:5): [True: 0, False: 1.51M]
  ------------------
 2180|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 2, 2);
 2181|      0|        break;
 2182|      0|    case EHTokMin10float2x3:
  ------------------
  |  Branch (2182:5): [True: 0, False: 1.51M]
  ------------------
 2183|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 2, 3);
 2184|      0|        break;
 2185|      0|    case EHTokMin10float2x4:
  ------------------
  |  Branch (2185:5): [True: 0, False: 1.51M]
  ------------------
 2186|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 2, 4);
 2187|      0|        break;
 2188|      0|    case EHTokMin10float3x1:
  ------------------
  |  Branch (2188:5): [True: 0, False: 1.51M]
  ------------------
 2189|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 3, 1);
 2190|      0|        break;
 2191|      0|    case EHTokMin10float3x2:
  ------------------
  |  Branch (2191:5): [True: 0, False: 1.51M]
  ------------------
 2192|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 3, 2);
 2193|      0|        break;
 2194|      0|    case EHTokMin10float3x3:
  ------------------
  |  Branch (2194:5): [True: 0, False: 1.51M]
  ------------------
 2195|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 3, 3);
 2196|      0|        break;
 2197|      0|    case EHTokMin10float3x4:
  ------------------
  |  Branch (2197:5): [True: 0, False: 1.51M]
  ------------------
 2198|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 3, 4);
 2199|      0|        break;
 2200|      0|    case EHTokMin10float4x1:
  ------------------
  |  Branch (2200:5): [True: 0, False: 1.51M]
  ------------------
 2201|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 4, 1);
 2202|      0|        break;
 2203|      0|    case EHTokMin10float4x2:
  ------------------
  |  Branch (2203:5): [True: 0, False: 1.51M]
  ------------------
 2204|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 4, 2);
 2205|      0|        break;
 2206|      0|    case EHTokMin10float4x3:
  ------------------
  |  Branch (2206:5): [True: 0, False: 1.51M]
  ------------------
 2207|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 4, 3);
 2208|      0|        break;
 2209|      0|    case EHTokMin10float4x4:
  ------------------
  |  Branch (2209:5): [True: 0, False: 1.51M]
  ------------------
 2210|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 0, 4, 4);
 2211|      0|        break;
 2212|       |
 2213|      0|    case EHTokMin16int1x1:
  ------------------
  |  Branch (2213:5): [True: 0, False: 1.51M]
  ------------------
 2214|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 1, 1);
 2215|      0|        break;
 2216|      0|    case EHTokMin16int1x2:
  ------------------
  |  Branch (2216:5): [True: 0, False: 1.51M]
  ------------------
 2217|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 1, 2);
 2218|      0|        break;
 2219|      0|    case EHTokMin16int1x3:
  ------------------
  |  Branch (2219:5): [True: 0, False: 1.51M]
  ------------------
 2220|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 1, 3);
 2221|      0|        break;
 2222|      0|    case EHTokMin16int1x4:
  ------------------
  |  Branch (2222:5): [True: 0, False: 1.51M]
  ------------------
 2223|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 1, 4);
 2224|      0|        break;
 2225|      0|    case EHTokMin16int2x1:
  ------------------
  |  Branch (2225:5): [True: 0, False: 1.51M]
  ------------------
 2226|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 2, 1);
 2227|      0|        break;
 2228|      0|    case EHTokMin16int2x2:
  ------------------
  |  Branch (2228:5): [True: 0, False: 1.51M]
  ------------------
 2229|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 2, 2);
 2230|      0|        break;
 2231|      0|    case EHTokMin16int2x3:
  ------------------
  |  Branch (2231:5): [True: 0, False: 1.51M]
  ------------------
 2232|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 2, 3);
 2233|      0|        break;
 2234|      0|    case EHTokMin16int2x4:
  ------------------
  |  Branch (2234:5): [True: 0, False: 1.51M]
  ------------------
 2235|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 2, 4);
 2236|      0|        break;
 2237|      0|    case EHTokMin16int3x1:
  ------------------
  |  Branch (2237:5): [True: 0, False: 1.51M]
  ------------------
 2238|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 3, 1);
 2239|      0|        break;
 2240|      0|    case EHTokMin16int3x2:
  ------------------
  |  Branch (2240:5): [True: 0, False: 1.51M]
  ------------------
 2241|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 3, 2);
 2242|      0|        break;
 2243|      0|    case EHTokMin16int3x3:
  ------------------
  |  Branch (2243:5): [True: 0, False: 1.51M]
  ------------------
 2244|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 3, 3);
 2245|      0|        break;
 2246|      0|    case EHTokMin16int3x4:
  ------------------
  |  Branch (2246:5): [True: 0, False: 1.51M]
  ------------------
 2247|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 3, 4);
 2248|      0|        break;
 2249|      0|    case EHTokMin16int4x1:
  ------------------
  |  Branch (2249:5): [True: 0, False: 1.51M]
  ------------------
 2250|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 4, 1);
 2251|      0|        break;
 2252|      0|    case EHTokMin16int4x2:
  ------------------
  |  Branch (2252:5): [True: 0, False: 1.51M]
  ------------------
 2253|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 4, 2);
 2254|      0|        break;
 2255|      0|    case EHTokMin16int4x3:
  ------------------
  |  Branch (2255:5): [True: 0, False: 1.51M]
  ------------------
 2256|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 4, 3);
 2257|      0|        break;
 2258|      0|    case EHTokMin16int4x4:
  ------------------
  |  Branch (2258:5): [True: 0, False: 1.51M]
  ------------------
 2259|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 0, 4, 4);
 2260|      0|        break;
 2261|       |
 2262|      0|    case EHTokMin12int1x1:
  ------------------
  |  Branch (2262:5): [True: 0, False: 1.51M]
  ------------------
 2263|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 1, 1);
 2264|      0|        break;
 2265|      0|    case EHTokMin12int1x2:
  ------------------
  |  Branch (2265:5): [True: 0, False: 1.51M]
  ------------------
 2266|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 1, 2);
 2267|      0|        break;
 2268|      0|    case EHTokMin12int1x3:
  ------------------
  |  Branch (2268:5): [True: 0, False: 1.51M]
  ------------------
 2269|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 1, 3);
 2270|      0|        break;
 2271|      0|    case EHTokMin12int1x4:
  ------------------
  |  Branch (2271:5): [True: 0, False: 1.51M]
  ------------------
 2272|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 1, 4);
 2273|      0|        break;
 2274|      0|    case EHTokMin12int2x1:
  ------------------
  |  Branch (2274:5): [True: 0, False: 1.51M]
  ------------------
 2275|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 2, 1);
 2276|      0|        break;
 2277|      0|    case EHTokMin12int2x2:
  ------------------
  |  Branch (2277:5): [True: 0, False: 1.51M]
  ------------------
 2278|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 2, 2);
 2279|      0|        break;
 2280|      0|    case EHTokMin12int2x3:
  ------------------
  |  Branch (2280:5): [True: 0, False: 1.51M]
  ------------------
 2281|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 2, 3);
 2282|      0|        break;
 2283|      0|    case EHTokMin12int2x4:
  ------------------
  |  Branch (2283:5): [True: 0, False: 1.51M]
  ------------------
 2284|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 2, 4);
 2285|      0|        break;
 2286|      0|    case EHTokMin12int3x1:
  ------------------
  |  Branch (2286:5): [True: 0, False: 1.51M]
  ------------------
 2287|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 3, 1);
 2288|      0|        break;
 2289|      0|    case EHTokMin12int3x2:
  ------------------
  |  Branch (2289:5): [True: 0, False: 1.51M]
  ------------------
 2290|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 3, 2);
 2291|      0|        break;
 2292|      0|    case EHTokMin12int3x3:
  ------------------
  |  Branch (2292:5): [True: 0, False: 1.51M]
  ------------------
 2293|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 3, 3);
 2294|      0|        break;
 2295|      0|    case EHTokMin12int3x4:
  ------------------
  |  Branch (2295:5): [True: 0, False: 1.51M]
  ------------------
 2296|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 3, 4);
 2297|      0|        break;
 2298|      0|    case EHTokMin12int4x1:
  ------------------
  |  Branch (2298:5): [True: 0, False: 1.51M]
  ------------------
 2299|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 4, 1);
 2300|      0|        break;
 2301|      0|    case EHTokMin12int4x2:
  ------------------
  |  Branch (2301:5): [True: 0, False: 1.51M]
  ------------------
 2302|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 4, 2);
 2303|      0|        break;
 2304|      0|    case EHTokMin12int4x3:
  ------------------
  |  Branch (2304:5): [True: 0, False: 1.51M]
  ------------------
 2305|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 4, 3);
 2306|      0|        break;
 2307|      0|    case EHTokMin12int4x4:
  ------------------
  |  Branch (2307:5): [True: 0, False: 1.51M]
  ------------------
 2308|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 0, 4, 4);
 2309|      0|        break;
 2310|       |
 2311|      0|    case EHTokMin16uint1x1:
  ------------------
  |  Branch (2311:5): [True: 0, False: 1.51M]
  ------------------
 2312|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 1, 1);
 2313|      0|        break;
 2314|      0|    case EHTokMin16uint1x2:
  ------------------
  |  Branch (2314:5): [True: 0, False: 1.51M]
  ------------------
 2315|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 1, 2);
 2316|      0|        break;
 2317|      0|    case EHTokMin16uint1x3:
  ------------------
  |  Branch (2317:5): [True: 0, False: 1.51M]
  ------------------
 2318|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 1, 3);
 2319|      0|        break;
 2320|      0|    case EHTokMin16uint1x4:
  ------------------
  |  Branch (2320:5): [True: 0, False: 1.51M]
  ------------------
 2321|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 1, 4);
 2322|      0|        break;
 2323|      0|    case EHTokMin16uint2x1:
  ------------------
  |  Branch (2323:5): [True: 0, False: 1.51M]
  ------------------
 2324|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 2, 1);
 2325|      0|        break;
 2326|      0|    case EHTokMin16uint2x2:
  ------------------
  |  Branch (2326:5): [True: 0, False: 1.51M]
  ------------------
 2327|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 2, 2);
 2328|      0|        break;
 2329|      0|    case EHTokMin16uint2x3:
  ------------------
  |  Branch (2329:5): [True: 0, False: 1.51M]
  ------------------
 2330|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 2, 3);
 2331|      0|        break;
 2332|      0|    case EHTokMin16uint2x4:
  ------------------
  |  Branch (2332:5): [True: 0, False: 1.51M]
  ------------------
 2333|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 2, 4);
 2334|      0|        break;
 2335|      0|    case EHTokMin16uint3x1:
  ------------------
  |  Branch (2335:5): [True: 0, False: 1.51M]
  ------------------
 2336|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 3, 1);
 2337|      0|        break;
 2338|      0|    case EHTokMin16uint3x2:
  ------------------
  |  Branch (2338:5): [True: 0, False: 1.51M]
  ------------------
 2339|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 3, 2);
 2340|      0|        break;
 2341|      0|    case EHTokMin16uint3x3:
  ------------------
  |  Branch (2341:5): [True: 0, False: 1.51M]
  ------------------
 2342|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 3, 3);
 2343|      0|        break;
 2344|      0|    case EHTokMin16uint3x4:
  ------------------
  |  Branch (2344:5): [True: 0, False: 1.51M]
  ------------------
 2345|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 3, 4);
 2346|      0|        break;
 2347|      0|    case EHTokMin16uint4x1:
  ------------------
  |  Branch (2347:5): [True: 0, False: 1.51M]
  ------------------
 2348|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 4, 1);
 2349|      0|        break;
 2350|      0|    case EHTokMin16uint4x2:
  ------------------
  |  Branch (2350:5): [True: 0, False: 1.51M]
  ------------------
 2351|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 4, 2);
 2352|      0|        break;
 2353|      0|    case EHTokMin16uint4x3:
  ------------------
  |  Branch (2353:5): [True: 0, False: 1.51M]
  ------------------
 2354|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 4, 3);
 2355|      0|        break;
 2356|      0|    case EHTokMin16uint4x4:
  ------------------
  |  Branch (2356:5): [True: 0, False: 1.51M]
  ------------------
 2357|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 4, 4);
 2358|      0|        break;
 2359|       |
 2360|      4|    default:
  ------------------
  |  Branch (2360:5): [True: 4, False: 1.51M]
  ------------------
 2361|      4|        return false;
 2362|  1.51M|    }
 2363|       |
 2364|  1.36M|    advanceToken();
 2365|       |
 2366|  1.36M|    if ((isUnorm || isSnorm) && !type.isFloatingDomain()) {
  ------------------
  |  Branch (2366:10): [True: 0, False: 1.36M]
  |  Branch (2366:21): [True: 0, False: 1.36M]
  |  Branch (2366:33): [True: 0, False: 0]
  ------------------
 2367|      0|        parseContext.error(token.loc, "unorm and snorm only valid in floating point domain", "", "");
 2368|      0|        return false;
 2369|      0|    }
 2370|       |
 2371|  1.36M|    return true;
 2372|  1.36M|}
_ZN7glslang11HlslGrammar24acceptFunctionParametersERNS_9TFunctionE:
 2826|   440k|{
 2827|   440k|    parseContext.beginParameterParsing(function);
 2828|       |
 2829|       |    // LEFT_PAREN
 2830|   440k|    if (! acceptTokenClass(EHTokLeftParen))
  ------------------
  |  Branch (2830:9): [True: 0, False: 440k]
  ------------------
 2831|      0|        return false;
 2832|       |
 2833|       |    // VOID RIGHT_PAREN
 2834|   440k|    if (! acceptTokenClass(EHTokVoid)) {
  ------------------
  |  Branch (2834:9): [True: 436k, False: 3.85k]
  ------------------
 2835|   989k|        do {
 2836|       |            // parameter_declaration
 2837|   989k|            if (! acceptParameterDeclaration(function))
  ------------------
  |  Branch (2837:17): [True: 0, False: 989k]
  ------------------
 2838|      0|                break;
 2839|       |
 2840|       |            // COMMA
 2841|   989k|            if (! acceptTokenClass(EHTokComma))
  ------------------
  |  Branch (2841:17): [True: 436k, False: 552k]
  ------------------
 2842|   436k|                break;
 2843|   989k|        } while (true);
  ------------------
  |  Branch (2843:18): [True: 552k, Folded]
  ------------------
 2844|   436k|    }
 2845|       |
 2846|       |    // RIGHT_PAREN
 2847|   440k|    if (! acceptTokenClass(EHTokRightParen)) {
  ------------------
  |  Branch (2847:9): [True: 0, False: 440k]
  ------------------
 2848|      0|        expected(")");
 2849|      0|        return false;
 2850|      0|    }
 2851|       |
 2852|   440k|    return true;
 2853|   440k|}
_ZN7glslang11HlslGrammar33acceptDefaultParameterDeclarationERKNS_5TTypeERPNS_12TIntermTypedE:
 2859|   989k|{
 2860|   989k|    node = nullptr;
 2861|       |
 2862|       |    // Valid not to have a default_parameter_declaration
 2863|   989k|    if (!acceptTokenClass(EHTokAssign))
  ------------------
  |  Branch (2863:9): [True: 989k, False: 0]
  ------------------
 2864|   989k|        return true;
 2865|       |
 2866|      0|    if (!acceptConditionalExpression(node)) {
  ------------------
  |  Branch (2866:9): [True: 0, False: 0]
  ------------------
 2867|      0|        if (!acceptInitializer(node))
  ------------------
  |  Branch (2867:13): [True: 0, False: 0]
  ------------------
 2868|      0|            return false;
 2869|       |
 2870|       |        // For initializer lists, we have to const-fold into a constructor for the type, so build
 2871|       |        // that.
 2872|      0|        TFunction* constructor = parseContext.makeConstructorCall(token.loc, type);
 2873|      0|        if (constructor == nullptr)  // cannot construct
  ------------------
  |  Branch (2873:13): [True: 0, False: 0]
  ------------------
 2874|      0|            return false;
 2875|       |
 2876|      0|        TIntermTyped* arguments = nullptr;
 2877|      0|        for (int i = 0; i < int(node->getAsAggregate()->getSequence().size()); i++)
  ------------------
  |  Branch (2877:25): [True: 0, False: 0]
  ------------------
 2878|      0|            parseContext.handleFunctionArgument(constructor, arguments, node->getAsAggregate()->getSequence()[i]->getAsTyped());
 2879|       |
 2880|      0|        node = parseContext.handleFunctionCall(token.loc, constructor, node);
 2881|      0|    }
 2882|       |
 2883|      0|    if (node == nullptr)
  ------------------
  |  Branch (2883:9): [True: 0, False: 0]
  ------------------
 2884|      0|        return false;
 2885|       |
 2886|       |    // If this is simply a constant, we can use it directly.
 2887|      0|    if (node->getAsConstantUnion())
  ------------------
  |  Branch (2887:9): [True: 0, False: 0]
  ------------------
 2888|      0|        return true;
 2889|       |
 2890|       |    // Otherwise, it has to be const-foldable.
 2891|      0|    TIntermTyped* origNode = node;
 2892|       |
 2893|      0|    node = intermediate.fold(node->getAsAggregate());
 2894|       |
 2895|      0|    if (node != nullptr && origNode != node)
  ------------------
  |  Branch (2895:9): [True: 0, False: 0]
  |  Branch (2895:28): [True: 0, False: 0]
  ------------------
 2896|      0|        return true;
 2897|       |
 2898|      0|    parseContext.error(token.loc, "invalid default parameter value", "", "");
 2899|       |
 2900|      0|    return false;
 2901|      0|}
_ZN7glslang11HlslGrammar26acceptParameterDeclarationERNS_9TFunctionE:
 2911|   989k|{
 2912|       |    // attributes
 2913|   989k|    TAttributes attributes;
 2914|   989k|    acceptAttributes(attributes);
 2915|       |
 2916|       |    // fully_specified_type
 2917|   989k|    TType* type = new TType;
 2918|   989k|    if (! acceptFullySpecifiedType(*type, attributes))
  ------------------
  |  Branch (2918:9): [True: 0, False: 989k]
  ------------------
 2919|      0|        return false;
 2920|       |
 2921|       |    // merge in the attributes
 2922|   989k|    parseContext.transferTypeAttributes(token.loc, attributes, *type);
 2923|       |
 2924|       |    // identifier
 2925|   989k|    HlslToken idToken;
 2926|   989k|    acceptIdentifier(idToken);
 2927|       |
 2928|       |    // array_specifier
 2929|   989k|    TArraySizes* arraySizes = nullptr;
 2930|   989k|    acceptArraySpecifier(arraySizes);
 2931|   989k|    if (arraySizes) {
  ------------------
  |  Branch (2931:9): [True: 0, False: 989k]
  ------------------
 2932|      0|        if (arraySizes->hasUnsized()) {
  ------------------
  |  Branch (2932:13): [True: 0, False: 0]
  ------------------
 2933|      0|            parseContext.error(token.loc, "function parameter requires array size", "[]", "");
 2934|      0|            return false;
 2935|      0|        }
 2936|       |
 2937|      0|        type->transferArraySizes(arraySizes);
 2938|      0|    }
 2939|       |
 2940|       |    // post_decls
 2941|   989k|    acceptPostDecls(type->getQualifier());
 2942|       |
 2943|   989k|    TIntermTyped* defaultValue;
 2944|   989k|    if (!acceptDefaultParameterDeclaration(*type, defaultValue))
  ------------------
  |  Branch (2944:9): [True: 0, False: 989k]
  ------------------
 2945|      0|        return false;
 2946|       |
 2947|   989k|    parseContext.paramFix(*type);
 2948|       |
 2949|       |    // If any prior parameters have default values, all the parameters after that must as well.
 2950|   989k|    if (defaultValue == nullptr && function.getDefaultParamCount() > 0) {
  ------------------
  |  Branch (2950:9): [True: 989k, False: 0]
  |  Branch (2950:36): [True: 0, False: 989k]
  ------------------
 2951|      0|        parseContext.error(idToken.loc, "invalid parameter after default value parameters", idToken.getCStrOrEmpty(), "");
 2952|      0|        return false;
 2953|      0|    }
 2954|       |
 2955|   989k|    TParameter param = { idToken.string, type, defaultValue };
 2956|   989k|    function.addParameter(param);
 2957|       |
 2958|   989k|    return true;
 2959|   989k|}
_ZN7glslang11HlslGrammar16acceptExpressionERPNS_12TIntermTypedE:
 3051|     74|{
 3052|     74|    node = nullptr;
 3053|       |
 3054|       |    // assignment_expression
 3055|     74|    if (! acceptAssignmentExpression(node))
  ------------------
  |  Branch (3055:9): [True: 66, False: 8]
  ------------------
 3056|     66|        return false;
 3057|       |
 3058|      8|    if (! peekTokenClass(EHTokComma))
  ------------------
  |  Branch (3058:9): [True: 8, False: 0]
  ------------------
 3059|      8|        return true;
 3060|       |
 3061|      0|    do {
 3062|       |        // ... COMMA
 3063|      0|        TSourceLoc loc = token.loc;
 3064|      0|        advanceToken();
 3065|       |
 3066|       |        // ... assignment_expression
 3067|      0|        TIntermTyped* rightNode = nullptr;
 3068|      0|        if (! acceptAssignmentExpression(rightNode)) {
  ------------------
  |  Branch (3068:13): [True: 0, False: 0]
  ------------------
 3069|      0|            expected("assignment expression");
 3070|      0|            return false;
 3071|      0|        }
 3072|       |
 3073|      0|        node = intermediate.addComma(node, rightNode, loc);
 3074|       |
 3075|      0|        if (! peekTokenClass(EHTokComma))
  ------------------
  |  Branch (3075:13): [True: 0, False: 0]
  ------------------
 3076|      0|            return true;
 3077|      0|    } while (true);
  ------------------
  |  Branch (3077:14): [True: 0, Folded]
  ------------------
 3078|      0|}
_ZN7glslang11HlslGrammar26acceptAssignmentExpressionERPNS_12TIntermTypedE:
 3150|    255|{
 3151|       |    // initializer
 3152|    255|    if (peekTokenClass(EHTokLeftBrace)) {
  ------------------
  |  Branch (3152:9): [True: 0, False: 255]
  ------------------
 3153|      0|        if (acceptInitializer(node))
  ------------------
  |  Branch (3153:13): [True: 0, False: 0]
  ------------------
 3154|      0|            return true;
 3155|       |
 3156|      0|        expected("initializer");
 3157|      0|        return false;
 3158|      0|    }
 3159|       |
 3160|       |    // conditional_expression
 3161|    255|    if (! acceptConditionalExpression(node))
  ------------------
  |  Branch (3161:9): [True: 233, False: 22]
  ------------------
 3162|    233|        return false;
 3163|       |
 3164|       |    // assignment operation?
 3165|     22|    TOperator assignOp = HlslOpMap::assignment(peek());
 3166|     22|    if (assignOp == EOpNull)
  ------------------
  |  Branch (3166:9): [True: 22, False: 0]
  ------------------
 3167|     22|        return true;
 3168|       |
 3169|       |    // assign_op
 3170|      0|    TSourceLoc loc = token.loc;
 3171|      0|    advanceToken();
 3172|       |
 3173|       |    // conditional_expression assign_op conditional_expression ...
 3174|       |    // Done by recursing this function, which automatically
 3175|       |    // gets the right-to-left associativity.
 3176|      0|    TIntermTyped* rightNode = nullptr;
 3177|      0|    if (! acceptAssignmentExpression(rightNode)) {
  ------------------
  |  Branch (3177:9): [True: 0, False: 0]
  ------------------
 3178|      0|        expected("assignment expression");
 3179|      0|        return false;
 3180|      0|    }
 3181|       |
 3182|      0|    node = parseContext.handleAssign(loc, assignOp, node, rightNode);
 3183|      0|    node = parseContext.handleLvalue(loc, "assign", node);
 3184|       |
 3185|      0|    if (node == nullptr) {
  ------------------
  |  Branch (3185:9): [True: 0, False: 0]
  ------------------
 3186|      0|        parseContext.error(loc, "could not create assignment", "", "");
 3187|      0|        return false;
 3188|      0|    }
 3189|       |
 3190|      0|    if (! peekTokenClass(EHTokComma))
  ------------------
  |  Branch (3190:9): [True: 0, False: 0]
  ------------------
 3191|      0|        return true;
 3192|       |
 3193|      0|    return true;
 3194|      0|}
_ZN7glslang11HlslGrammar27acceptConditionalExpressionERPNS_12TIntermTypedE:
 3205|    255|{
 3206|       |    // binary_expression
 3207|    255|    if (! acceptBinaryExpression(node, PlLogicalOr))
  ------------------
  |  Branch (3207:9): [True: 233, False: 22]
  ------------------
 3208|    233|        return false;
 3209|       |
 3210|     22|    if (! acceptTokenClass(EHTokQuestion))
  ------------------
  |  Branch (3210:9): [True: 14, False: 8]
  ------------------
 3211|     14|        return true;
 3212|       |
 3213|      8|    node = parseContext.convertConditionalExpression(token.loc, node, false);
 3214|      8|    if (node == nullptr)
  ------------------
  |  Branch (3214:9): [True: 0, False: 8]
  ------------------
 3215|      0|        return false;
 3216|       |
 3217|      8|    ++parseContext.controlFlowNestingLevel;  // this only needs to work right if no errors
 3218|       |
 3219|      8|    TIntermTyped* trueNode = nullptr;
 3220|      8|    if (! acceptExpression(trueNode)) {
  ------------------
  |  Branch (3220:9): [True: 0, False: 8]
  ------------------
 3221|      0|        expected("expression after ?");
 3222|      0|        return false;
 3223|      0|    }
 3224|      8|    TSourceLoc loc = token.loc;
 3225|       |
 3226|      8|    if (! acceptTokenClass(EHTokColon)) {
  ------------------
  |  Branch (3226:9): [True: 0, False: 8]
  ------------------
 3227|      0|        expected(":");
 3228|      0|        return false;
 3229|      0|    }
 3230|       |
 3231|      8|    TIntermTyped* falseNode = nullptr;
 3232|      8|    if (! acceptAssignmentExpression(falseNode)) {
  ------------------
  |  Branch (3232:9): [True: 0, False: 8]
  ------------------
 3233|      0|        expected("expression after :");
 3234|      0|        return false;
 3235|      0|    }
 3236|       |
 3237|      8|    --parseContext.controlFlowNestingLevel;
 3238|       |
 3239|      8|    node = intermediate.addSelection(node, trueNode, falseNode, loc);
 3240|      8|    if (!node) {
  ------------------
  |  Branch (3240:9): [True: 0, False: 8]
  ------------------
 3241|      0|        parseContext.binaryOpError(loc, ":", trueNode->getCompleteString(), falseNode->getCompleteString());
 3242|      0|        return false;
 3243|      0|    }
 3244|       |
 3245|      8|    return true;
 3246|      8|}
_ZN7glslang11HlslGrammar22acceptBinaryExpressionERPNS_12TIntermTypedENS_15PrecedenceLevelE:
 3259|  3.08k|{
 3260|  3.08k|    if (precedenceLevel > PlMul)
  ------------------
  |  Branch (3260:9): [True: 273, False: 2.80k]
  ------------------
 3261|    273|        return acceptUnaryExpression(node);
 3262|       |
 3263|       |    // assignment_expression
 3264|  2.80k|    if (! acceptBinaryExpression(node, (PrecedenceLevel)(precedenceLevel + 1)))
  ------------------
  |  Branch (3264:9): [True: 2.54k, False: 260]
  ------------------
 3265|  2.54k|        return false;
 3266|       |
 3267|    264|    do {
 3268|    264|        TOperator op = HlslOpMap::binary(peek());
 3269|    264|        PrecedenceLevel tokenLevel = HlslOpMap::precedenceLevel(op);
 3270|    264|        if (tokenLevel < precedenceLevel)
  ------------------
  |  Branch (3270:13): [True: 246, False: 18]
  ------------------
 3271|    246|            return true;
 3272|       |
 3273|       |        // ... op
 3274|     18|        TSourceLoc loc = token.loc;
 3275|     18|        advanceToken();
 3276|       |
 3277|       |        // ... expression
 3278|     18|        TIntermTyped* rightNode = nullptr;
 3279|     18|        if (! acceptBinaryExpression(rightNode, (PrecedenceLevel)(precedenceLevel + 1))) {
  ------------------
  |  Branch (3279:13): [True: 14, False: 4]
  ------------------
 3280|     14|            expected("expression");
 3281|     14|            return false;
 3282|     14|        }
 3283|       |
 3284|      4|        node = intermediate.addBinaryMath(op, node, rightNode, loc);
 3285|      4|        if (node == nullptr) {
  ------------------
  |  Branch (3285:13): [True: 0, False: 4]
  ------------------
 3286|      0|            parseContext.error(loc, "Could not perform requested binary operation", "", "");
 3287|      0|            return false;
 3288|      0|        }
 3289|      4|    } while (true);
  ------------------
  |  Branch (3289:14): [True: 4, Folded]
  ------------------
 3290|    260|}
_ZN7glslang11HlslGrammar21acceptUnaryExpressionERPNS_12TIntermTypedE:
 3303|    287|{
 3304|       |    // (type) unary_expression
 3305|       |    // Have to look two steps ahead, because this could be, e.g., a
 3306|       |    // postfix_expression instead, since that also starts with at "(".
 3307|    287|    if (acceptTokenClass(EHTokLeftParen)) {
  ------------------
  |  Branch (3307:9): [True: 0, False: 287]
  ------------------
 3308|      0|        TType castType;
 3309|      0|        if (acceptType(castType)) {
  ------------------
  |  Branch (3309:13): [True: 0, False: 0]
  ------------------
 3310|       |            // recognize any array_specifier as part of the type
 3311|      0|            TArraySizes* arraySizes = nullptr;
 3312|      0|            acceptArraySpecifier(arraySizes);
 3313|      0|            if (arraySizes != nullptr)
  ------------------
  |  Branch (3313:17): [True: 0, False: 0]
  ------------------
 3314|      0|                castType.transferArraySizes(arraySizes);
 3315|      0|            TSourceLoc loc = token.loc;
 3316|      0|            if (acceptTokenClass(EHTokRightParen)) {
  ------------------
  |  Branch (3316:17): [True: 0, False: 0]
  ------------------
 3317|       |                // We've matched "(type)" now, get the expression to cast
 3318|      0|                if (! acceptUnaryExpression(node))
  ------------------
  |  Branch (3318:21): [True: 0, False: 0]
  ------------------
 3319|      0|                    return false;
 3320|       |
 3321|       |                // Hook it up like a constructor
 3322|      0|                TFunction* constructorFunction = parseContext.makeConstructorCall(loc, castType);
 3323|      0|                if (constructorFunction == nullptr) {
  ------------------
  |  Branch (3323:21): [True: 0, False: 0]
  ------------------
 3324|      0|                    expected("type that can be constructed");
 3325|      0|                    return false;
 3326|      0|                }
 3327|      0|                TIntermTyped* arguments = nullptr;
 3328|      0|                parseContext.handleFunctionArgument(constructorFunction, arguments, node);
 3329|      0|                node = parseContext.handleFunctionCall(loc, constructorFunction, arguments);
 3330|       |
 3331|      0|                return node != nullptr;
 3332|      0|            } else {
 3333|       |                // This could be a parenthesized constructor, ala (int(3)), and we just accepted
 3334|       |                // the '(int' part.  We must back up twice.
 3335|      0|                recedeToken();
 3336|      0|                recedeToken();
 3337|       |
 3338|       |                // Note, there are no array constructors like
 3339|       |                //   (float[2](...))
 3340|      0|                if (arraySizes != nullptr)
  ------------------
  |  Branch (3340:21): [True: 0, False: 0]
  ------------------
 3341|      0|                    parseContext.error(loc, "parenthesized array constructor not allowed", "([]())", "", "");
 3342|      0|            }
 3343|      0|        } else {
 3344|       |            // This isn't a type cast, but it still started "(", so if it is a
 3345|       |            // unary expression, it can only be a postfix_expression, so try that.
 3346|       |            // Back it up first.
 3347|      0|            recedeToken();
 3348|      0|            return acceptPostfixExpression(node);
 3349|      0|        }
 3350|      0|    }
 3351|       |
 3352|       |    // peek for "op unary_expression"
 3353|    287|    TOperator unaryOp = HlslOpMap::preUnary(peek());
 3354|       |
 3355|       |    // postfix_expression (if no unary operator)
 3356|    287|    if (unaryOp == EOpNull)
  ------------------
  |  Branch (3356:9): [True: 273, False: 14]
  ------------------
 3357|    273|        return acceptPostfixExpression(node);
 3358|       |
 3359|       |    // op unary_expression
 3360|     14|    TSourceLoc loc = token.loc;
 3361|     14|    advanceToken();
 3362|     14|    if (! acceptUnaryExpression(node))
  ------------------
  |  Branch (3362:9): [True: 0, False: 14]
  ------------------
 3363|      0|        return false;
 3364|       |
 3365|       |    // + is a no-op
 3366|     14|    if (unaryOp == EOpAdd)
  ------------------
  |  Branch (3366:9): [True: 4, False: 10]
  ------------------
 3367|      4|        return true;
 3368|       |
 3369|     10|    node = intermediate.addUnaryMath(unaryOp, node, loc);
 3370|       |
 3371|       |    // These unary ops require lvalues
 3372|     10|    if (unaryOp == EOpPreIncrement || unaryOp == EOpPreDecrement)
  ------------------
  |  Branch (3372:9): [True: 0, False: 10]
  |  Branch (3372:39): [True: 0, False: 10]
  ------------------
 3373|      0|        node = parseContext.handleLvalue(loc, "unary operator", node);
 3374|       |
 3375|     10|    return node != nullptr;
 3376|     14|}
_ZN7glslang11HlslGrammar23acceptPostfixExpressionERPNS_12TIntermTypedE:
 3392|    273|{
 3393|       |    // Not implemented as self-recursive:
 3394|       |    // The logical "right recursion" is done with a loop at the end
 3395|       |
 3396|       |    // idToken will pick up either a variable or a function name in a function call
 3397|    273|    HlslToken idToken;
 3398|       |
 3399|       |    // Find something before the postfix operations, as they can't operate
 3400|       |    // on nothing.  So, no "return true", they fall through, only "return false".
 3401|    273|    if (acceptTokenClass(EHTokLeftParen)) {
  ------------------
  |  Branch (3401:9): [True: 0, False: 273]
  ------------------
 3402|       |        // LEFT_PAREN expression RIGHT_PAREN
 3403|      0|        if (! acceptExpression(node)) {
  ------------------
  |  Branch (3403:13): [True: 0, False: 0]
  ------------------
 3404|      0|            expected("expression");
 3405|      0|            return false;
 3406|      0|        }
 3407|      0|        if (! acceptTokenClass(EHTokRightParen)) {
  ------------------
  |  Branch (3407:13): [True: 0, False: 0]
  ------------------
 3408|      0|            expected(")");
 3409|      0|            return false;
 3410|      0|        }
 3411|    273|    } else if (acceptLiteral(node)) {
  ------------------
  |  Branch (3411:16): [True: 22, False: 251]
  ------------------
 3412|       |        // literal (nothing else to do yet)
 3413|    251|    } else if (acceptConstructor(node)) {
  ------------------
  |  Branch (3413:16): [True: 4, False: 247]
  ------------------
 3414|       |        // constructor (nothing else to do yet)
 3415|    247|    } else if (acceptIdentifier(idToken)) {
  ------------------
  |  Branch (3415:16): [True: 96, False: 151]
  ------------------
 3416|       |        // user-type, namespace name, variable, or function name
 3417|     96|        TString* fullName = idToken.string;
 3418|     96|        while (acceptTokenClass(EHTokColonColon)) {
  ------------------
  |  Branch (3418:16): [True: 0, False: 96]
  ------------------
 3419|       |            // user-type or namespace name
 3420|      0|            fullName = NewPoolTString(fullName->c_str());
 3421|      0|            fullName->append(parseContext.scopeMangler);
 3422|      0|            if (acceptIdentifier(idToken))
  ------------------
  |  Branch (3422:17): [True: 0, False: 0]
  ------------------
 3423|      0|                fullName->append(*idToken.string);
 3424|      0|            else {
 3425|      0|                expected("identifier after ::");
 3426|      0|                return false;
 3427|      0|            }
 3428|      0|        }
 3429|     96|        if (! peekTokenClass(EHTokLeftParen)) {
  ------------------
  |  Branch (3429:13): [True: 80, False: 16]
  ------------------
 3430|     80|            node = parseContext.handleVariable(idToken.loc, fullName);
 3431|     80|            if (node == nullptr)
  ------------------
  |  Branch (3431:17): [True: 0, False: 80]
  ------------------
 3432|      0|                return false;
 3433|     80|        } else if (acceptFunctionCall(idToken.loc, *fullName, node, nullptr)) {
  ------------------
  |  Branch (3433:20): [True: 0, False: 16]
  ------------------
 3434|       |            // function_call (nothing else to do yet)
 3435|     16|        } else {
 3436|     16|            expected("function call arguments");
 3437|     16|            return false;
 3438|     16|        }
 3439|    151|    } else {
 3440|       |        // nothing found, can't post operate
 3441|    151|        return false;
 3442|    151|    }
 3443|       |
 3444|       |    // Something was found, chain as many postfix operations as exist.
 3445|    108|    do {
 3446|    108|        TSourceLoc loc = token.loc;
 3447|    108|        TOperator postOp = HlslOpMap::postUnary(peek());
 3448|       |
 3449|       |        // Consume only a valid post-unary operator, otherwise we are done.
 3450|    108|        switch (postOp) {
 3451|      2|        case EOpIndexDirectStruct:
  ------------------
  |  Branch (3451:9): [True: 2, False: 106]
  ------------------
 3452|     68|        case EOpIndexIndirect:
  ------------------
  |  Branch (3452:9): [True: 66, False: 42]
  ------------------
 3453|     68|        case EOpPostIncrement:
  ------------------
  |  Branch (3453:9): [True: 0, False: 108]
  ------------------
 3454|     68|        case EOpPostDecrement:
  ------------------
  |  Branch (3454:9): [True: 0, False: 108]
  ------------------
 3455|     68|        case EOpScoping:
  ------------------
  |  Branch (3455:9): [True: 0, False: 108]
  ------------------
 3456|     68|            advanceToken();
 3457|     68|            break;
 3458|     40|        default:
  ------------------
  |  Branch (3458:9): [True: 40, False: 68]
  ------------------
 3459|     40|            return true;
 3460|    108|        }
 3461|       |
 3462|       |        // We have a valid post-unary operator, process it.
 3463|     68|        switch (postOp) {
 3464|      0|        case EOpScoping:
  ------------------
  |  Branch (3464:9): [True: 0, False: 68]
  ------------------
 3465|      2|        case EOpIndexDirectStruct:
  ------------------
  |  Branch (3465:9): [True: 2, False: 66]
  ------------------
 3466|      2|        {
 3467|       |            // DOT IDENTIFIER
 3468|       |            // includes swizzles, member variables, and member functions
 3469|      2|            HlslToken field;
 3470|      2|            if (! acceptIdentifier(field)) {
  ------------------
  |  Branch (3470:17): [True: 0, False: 2]
  ------------------
 3471|      0|                expected("swizzle or member");
 3472|      0|                return false;
 3473|      0|            }
 3474|       |
 3475|      2|            if (peekTokenClass(EHTokLeftParen)) {
  ------------------
  |  Branch (3475:17): [True: 0, False: 2]
  ------------------
 3476|       |                // member function
 3477|      0|                TIntermTyped* thisNode = node;
 3478|       |
 3479|       |                // arguments
 3480|      0|                if (! acceptFunctionCall(field.loc, *field.string, node, thisNode)) {
  ------------------
  |  Branch (3480:21): [True: 0, False: 0]
  ------------------
 3481|      0|                    expected("function parameters");
 3482|      0|                    return false;
 3483|      0|                }
 3484|      0|            } else
 3485|      2|                node = parseContext.handleDotDereference(field.loc, node, *field.string);
 3486|       |
 3487|      2|            break;
 3488|      2|        }
 3489|     66|        case EOpIndexIndirect:
  ------------------
  |  Branch (3489:9): [True: 66, False: 2]
  ------------------
 3490|     66|        {
 3491|       |            // LEFT_BRACKET integer_expression RIGHT_BRACKET
 3492|     66|            TIntermTyped* indexNode = nullptr;
 3493|     66|            if (! acceptExpression(indexNode) ||
  ------------------
  |  Branch (3493:17): [True: 66, False: 0]
  ------------------
 3494|     66|                ! peekTokenClass(EHTokRightBracket)) {
  ------------------
  |  Branch (3494:17): [True: 0, False: 0]
  ------------------
 3495|     66|                expected("expression followed by ']'");
 3496|     66|                return false;
 3497|     66|            }
 3498|      0|            advanceToken();
 3499|      0|            node = parseContext.handleBracketDereference(indexNode->getLoc(), node, indexNode);
 3500|      0|            if (node == nullptr)
  ------------------
  |  Branch (3500:17): [True: 0, False: 0]
  ------------------
 3501|      0|                return false;
 3502|      0|            break;
 3503|      0|        }
 3504|      0|        case EOpPostIncrement:
  ------------------
  |  Branch (3504:9): [True: 0, False: 68]
  ------------------
 3505|       |            // INC_OP
 3506|       |            // fall through
 3507|      0|        case EOpPostDecrement:
  ------------------
  |  Branch (3507:9): [True: 0, False: 68]
  ------------------
 3508|       |            // DEC_OP
 3509|      0|            node = intermediate.addUnaryMath(postOp, node, loc);
 3510|      0|            node = parseContext.handleLvalue(loc, "unary operator", node);
 3511|      0|            break;
 3512|      0|        default:
  ------------------
  |  Branch (3512:9): [True: 0, False: 68]
  ------------------
 3513|      0|            assert(0);
 3514|      0|            break;
 3515|     68|        }
 3516|     68|    } while (true);
  ------------------
  |  Branch (3516:14): [True: 2, Folded]
  ------------------
 3517|    106|}
_ZN7glslang11HlslGrammar17acceptConstructorERPNS_12TIntermTypedE:
 3523|    251|{
 3524|       |    // type
 3525|    251|    TType type;
 3526|    251|    if (acceptType(type)) {
  ------------------
  |  Branch (3526:9): [True: 155, False: 96]
  ------------------
 3527|    155|        TFunction* constructorFunction = parseContext.makeConstructorCall(token.loc, type);
 3528|    155|        if (constructorFunction == nullptr)
  ------------------
  |  Branch (3528:13): [True: 0, False: 155]
  ------------------
 3529|      0|            return false;
 3530|       |
 3531|       |        // arguments
 3532|    155|        TIntermTyped* arguments = nullptr;
 3533|    155|        if (! acceptArguments(constructorFunction, arguments)) {
  ------------------
  |  Branch (3533:13): [True: 151, False: 4]
  ------------------
 3534|       |            // It's possible this is a type keyword used as an identifier.  Put the token back
 3535|       |            // for later use.
 3536|    151|            recedeToken();
 3537|    151|            return false;
 3538|    151|        }
 3539|       |
 3540|      4|        if (arguments == nullptr) {
  ------------------
  |  Branch (3540:13): [True: 0, False: 4]
  ------------------
 3541|      0|            expected("one or more arguments");
 3542|      0|            return false;
 3543|      0|        }
 3544|       |
 3545|       |        // hook it up
 3546|      4|        node = parseContext.handleFunctionCall(token.loc, constructorFunction, arguments);
 3547|       |
 3548|      4|        return node != nullptr;
 3549|      4|    }
 3550|       |
 3551|     96|    return false;
 3552|    251|}
_ZN7glslang11HlslGrammar18acceptFunctionCallERKNS_10TSourceLocERNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERPNS_12TIntermTypedESD_:
 3560|     16|{
 3561|       |    // name
 3562|     16|    TString* functionName = nullptr;
 3563|     16|    if (baseObject == nullptr) {
  ------------------
  |  Branch (3563:9): [True: 16, False: 0]
  ------------------
 3564|     16|        functionName = &name;
 3565|     16|    } else if (parseContext.isBuiltInMethod(loc, baseObject, name)) {
  ------------------
  |  Branch (3565:16): [True: 0, False: 0]
  ------------------
 3566|       |        // Built-in methods are not in the symbol table as methods, but as global functions
 3567|       |        // taking an explicit 'this' as the first argument.
 3568|      0|        functionName = NewPoolTString(BUILTIN_PREFIX);
  ------------------
  |  |  513|      0|#define BUILTIN_PREFIX "__BI_"
  ------------------
 3569|      0|        functionName->append(name);
 3570|      0|    } else {
 3571|      0|        if (! baseObject->getType().isStruct()) {
  ------------------
  |  Branch (3571:13): [True: 0, False: 0]
  ------------------
 3572|      0|            expected("structure");
 3573|      0|            return false;
 3574|      0|        }
 3575|      0|        functionName = NewPoolTString("");
 3576|      0|        functionName->append(baseObject->getType().getTypeName());
 3577|      0|        parseContext.addScopeMangler(*functionName);
 3578|      0|        functionName->append(name);
 3579|      0|    }
 3580|       |
 3581|       |    // function
 3582|     16|    TFunction* function = new TFunction(functionName, TType(EbtVoid));
 3583|       |
 3584|       |    // arguments
 3585|     16|    TIntermTyped* arguments = nullptr;
 3586|     16|    if (baseObject != nullptr) {
  ------------------
  |  Branch (3586:9): [True: 0, False: 16]
  ------------------
 3587|       |        // Non-static member functions have an implicit first argument of the base object.
 3588|      0|        parseContext.handleFunctionArgument(function, arguments, baseObject);
 3589|      0|    }
 3590|     16|    if (! acceptArguments(function, arguments))
  ------------------
  |  Branch (3590:9): [True: 16, False: 0]
  ------------------
 3591|     16|        return false;
 3592|       |
 3593|       |    // call
 3594|      0|    node = parseContext.handleFunctionCall(loc, function, arguments);
 3595|       |
 3596|      0|    return node != nullptr;
 3597|     16|}
_ZN7glslang11HlslGrammar15acceptArgumentsEPNS_9TFunctionERPNS_12TIntermTypedE:
 3606|    171|{
 3607|       |    // LEFT_PAREN
 3608|    171|    if (! acceptTokenClass(EHTokLeftParen))
  ------------------
  |  Branch (3608:9): [True: 0, False: 171]
  ------------------
 3609|      0|        return false;
 3610|       |
 3611|       |    // RIGHT_PAREN
 3612|    171|    if (acceptTokenClass(EHTokRightParen))
  ------------------
  |  Branch (3612:9): [True: 0, False: 171]
  ------------------
 3613|      0|        return true;
 3614|       |
 3615|       |    // must now be at least one expression...
 3616|    171|    do {
 3617|       |        // expression
 3618|    171|        TIntermTyped* arg;
 3619|    171|        if (! acceptAssignmentExpression(arg))
  ------------------
  |  Branch (3619:13): [True: 165, False: 6]
  ------------------
 3620|    165|            return false;
 3621|       |
 3622|       |        // hook it up
 3623|      6|        parseContext.handleFunctionArgument(function, arguments, arg);
 3624|       |
 3625|       |        // COMMA
 3626|      6|        if (! acceptTokenClass(EHTokComma))
  ------------------
  |  Branch (3626:13): [True: 6, False: 0]
  ------------------
 3627|      6|            break;
 3628|      6|    } while (true);
  ------------------
  |  Branch (3628:14): [True: 0, Folded]
  ------------------
 3629|       |
 3630|       |    // RIGHT_PAREN
 3631|      6|    if (! acceptTokenClass(EHTokRightParen)) {
  ------------------
  |  Branch (3631:9): [True: 2, False: 4]
  ------------------
 3632|      2|        expected(")");
 3633|      2|        return false;
 3634|      2|    }
 3635|       |
 3636|      4|    return true;
 3637|      6|}
_ZN7glslang11HlslGrammar13acceptLiteralERPNS_12TIntermTypedE:
 3640|    273|{
 3641|    273|    switch (token.tokenClass) {
 3642|     20|    case EHTokIntConstant:
  ------------------
  |  Branch (3642:5): [True: 20, False: 253]
  ------------------
 3643|     20|        node = intermediate.addConstantUnion(token.i, token.loc, true);
 3644|     20|        break;
 3645|      2|    case EHTokUintConstant:
  ------------------
  |  Branch (3645:5): [True: 2, False: 271]
  ------------------
 3646|      2|        node = intermediate.addConstantUnion(token.u, token.loc, true);
 3647|      2|        break;
 3648|      0|    case EHTokFloat16Constant:
  ------------------
  |  Branch (3648:5): [True: 0, False: 273]
  ------------------
 3649|      0|        node = intermediate.addConstantUnion(token.d, EbtFloat16, token.loc, true);
 3650|      0|        break;
 3651|      0|    case EHTokFloatConstant:
  ------------------
  |  Branch (3651:5): [True: 0, False: 273]
  ------------------
 3652|      0|        node = intermediate.addConstantUnion(token.d, EbtFloat, token.loc, true);
 3653|      0|        break;
 3654|      0|    case EHTokDoubleConstant:
  ------------------
  |  Branch (3654:5): [True: 0, False: 273]
  ------------------
 3655|      0|        node = intermediate.addConstantUnion(token.d, EbtDouble, token.loc, true);
 3656|      0|        break;
 3657|      0|    case EHTokBoolConstant:
  ------------------
  |  Branch (3657:5): [True: 0, False: 273]
  ------------------
 3658|      0|        node = intermediate.addConstantUnion(token.b, token.loc, true);
 3659|      0|        break;
 3660|      0|    case EHTokStringConstant:
  ------------------
  |  Branch (3660:5): [True: 0, False: 273]
  ------------------
 3661|      0|        node = intermediate.addConstantUnion(token.string, token.loc, true);
 3662|      0|        break;
 3663|       |
 3664|    251|    default:
  ------------------
  |  Branch (3664:5): [True: 251, False: 22]
  ------------------
 3665|    251|        return false;
 3666|    273|    }
 3667|       |
 3668|     22|    advanceToken();
 3669|       |
 3670|     22|    return true;
 3671|    273|}
_ZN7glslang11HlslGrammar16acceptAttributesERNS_5TListINS_14TAttributeArgsEEE:
 3847|  1.42M|{
 3848|       |    // For now, accept the [ XXX(X) ] syntax, but drop all but
 3849|       |    // numthreads, which is used to set the CS local size.
 3850|       |    // TODO: subset to correct set?  Pass on?
 3851|  1.42M|    do {
 3852|  1.42M|        HlslToken attributeToken;
 3853|       |
 3854|       |        // LEFT_BRACKET?
 3855|  1.42M|        if (! acceptTokenClass(EHTokLeftBracket))
  ------------------
  |  Branch (3855:13): [True: 1.42M, False: 0]
  ------------------
 3856|  1.42M|            return;
 3857|       |        // another LEFT_BRACKET?
 3858|      0|        bool doubleBrackets = false;
 3859|      0|        if (acceptTokenClass(EHTokLeftBracket))
  ------------------
  |  Branch (3859:13): [True: 0, False: 0]
  ------------------
 3860|      0|            doubleBrackets = true;
 3861|       |
 3862|       |        // attribute? (could be namespace; will adjust later)
 3863|      0|        if (!acceptIdentifier(attributeToken)) {
  ------------------
  |  Branch (3863:13): [True: 0, False: 0]
  ------------------
 3864|      0|            if (!peekTokenClass(EHTokRightBracket)) {
  ------------------
  |  Branch (3864:17): [True: 0, False: 0]
  ------------------
 3865|      0|                expected("namespace or attribute identifier");
 3866|      0|                advanceToken();
 3867|      0|            }
 3868|      0|        }
 3869|       |
 3870|      0|        TString nameSpace;
 3871|      0|        if (acceptTokenClass(EHTokColonColon)) {
  ------------------
  |  Branch (3871:13): [True: 0, False: 0]
  ------------------
 3872|       |            // namespace COLON COLON
 3873|      0|            nameSpace = *attributeToken.string;
 3874|       |            // attribute
 3875|      0|            if (!acceptIdentifier(attributeToken)) {
  ------------------
  |  Branch (3875:17): [True: 0, False: 0]
  ------------------
 3876|      0|                expected("attribute identifier");
 3877|      0|                return;
 3878|      0|            }
 3879|      0|        }
 3880|       |
 3881|      0|        TIntermAggregate* expressions = nullptr;
 3882|       |
 3883|       |        // (x, ...)
 3884|      0|        if (acceptTokenClass(EHTokLeftParen)) {
  ------------------
  |  Branch (3884:13): [True: 0, False: 0]
  ------------------
 3885|      0|            expressions = new TIntermAggregate;
 3886|       |
 3887|      0|            TIntermTyped* node;
 3888|      0|            bool expectingExpression = false;
 3889|       |
 3890|      0|            while (acceptAssignmentExpression(node)) {
  ------------------
  |  Branch (3890:20): [True: 0, False: 0]
  ------------------
 3891|      0|                expectingExpression = false;
 3892|      0|                expressions->getSequence().push_back(node);
 3893|      0|                if (acceptTokenClass(EHTokComma))
  ------------------
  |  Branch (3893:21): [True: 0, False: 0]
  ------------------
 3894|      0|                    expectingExpression = true;
 3895|      0|            }
 3896|       |
 3897|       |            // 'expressions' is an aggregate with the expressions in it
 3898|      0|            if (! acceptTokenClass(EHTokRightParen))
  ------------------
  |  Branch (3898:17): [True: 0, False: 0]
  ------------------
 3899|      0|                expected(")");
 3900|       |
 3901|       |            // Error for partial or missing expression
 3902|      0|            if (expectingExpression || expressions->getSequence().empty())
  ------------------
  |  Branch (3902:17): [True: 0, False: 0]
  |  Branch (3902:40): [True: 0, False: 0]
  ------------------
 3903|      0|                expected("expression");
 3904|      0|        }
 3905|       |
 3906|       |        // RIGHT_BRACKET
 3907|      0|        if (!acceptTokenClass(EHTokRightBracket)) {
  ------------------
  |  Branch (3907:13): [True: 0, False: 0]
  ------------------
 3908|      0|            expected("]");
 3909|      0|            return;
 3910|      0|        }
 3911|       |        // another RIGHT_BRACKET?
 3912|      0|        if (doubleBrackets && !acceptTokenClass(EHTokRightBracket)) {
  ------------------
  |  Branch (3912:13): [True: 0, False: 0]
  |  Branch (3912:31): [True: 0, False: 0]
  ------------------
 3913|      0|            expected("]]");
 3914|      0|            return;
 3915|      0|        }
 3916|       |
 3917|       |        // Add any values we found into the attribute map.
 3918|      0|        if (attributeToken.string != nullptr) {
  ------------------
  |  Branch (3918:13): [True: 0, False: 0]
  ------------------
 3919|      0|            TAttributeType attributeType = parseContext.attributeFromName(nameSpace, *attributeToken.string);
 3920|      0|            if (attributeType == EatNone)
  ------------------
  |  Branch (3920:17): [True: 0, False: 0]
  ------------------
 3921|      0|                parseContext.warn(attributeToken.loc, "unrecognized attribute", attributeToken.getCStrOrEmpty(), "");
 3922|      0|            else {
 3923|      0|                TAttributeArgs attributeArgs = { attributeType, expressions };
 3924|      0|                attributes.push_back(attributeArgs);
 3925|      0|            }
 3926|      0|        }
 3927|      0|    } while (true);
  ------------------
  |  Branch (3927:14): [True: 0, Folded]
  ------------------
 3928|  1.42M|}
_ZN7glslang11HlslGrammar20acceptArraySpecifierERPNS_11TArraySizesE:
 4278|   989k|{
 4279|   989k|    arraySizes = nullptr;
 4280|       |
 4281|       |    // Early-out if there aren't any array dimensions
 4282|   989k|    if (!peekTokenClass(EHTokLeftBracket))
  ------------------
  |  Branch (4282:9): [True: 989k, False: 2]
  ------------------
 4283|   989k|        return;
 4284|       |
 4285|       |    // If we get here, we have at least one array dimension.  This will track the sizes we find.
 4286|      2|    arraySizes = new TArraySizes;
 4287|       |
 4288|       |    // Collect each array dimension.
 4289|      2|    while (acceptTokenClass(EHTokLeftBracket)) {
  ------------------
  |  Branch (4289:12): [True: 2, False: 0]
  ------------------
 4290|      2|        TSourceLoc loc = token.loc;
 4291|      2|        TIntermTyped* sizeExpr = nullptr;
 4292|       |
 4293|       |        // Array sizing expression is optional.  If omitted, array will be later sized by initializer list.
 4294|      2|        const bool hasArraySize = acceptAssignmentExpression(sizeExpr);
 4295|       |
 4296|      2|        if (! acceptTokenClass(EHTokRightBracket)) {
  ------------------
  |  Branch (4296:13): [True: 2, False: 0]
  ------------------
 4297|      2|            expected("]");
 4298|      2|            return;
 4299|      2|        }
 4300|       |
 4301|      0|        if (hasArraySize) {
  ------------------
  |  Branch (4301:13): [True: 0, False: 0]
  ------------------
 4302|      0|            TArraySize arraySize;
 4303|      0|            parseContext.arraySizeCheck(loc, sizeExpr, arraySize);
 4304|      0|            arraySizes->addInnerSize(arraySize);
 4305|      0|        } else {
 4306|      0|            arraySizes->addInnerSize(0);  // sized by initializers.
 4307|      0|        }
 4308|      0|    }
 4309|      2|}
_ZN7glslang11HlslGrammar15acceptPostDeclsERNS_10TQualifierE:
 4323|  1.42M|{
 4324|  1.42M|    bool found = false;
 4325|       |
 4326|  1.42M|    do {
 4327|       |        // COLON
 4328|  1.42M|        if (acceptTokenClass(EHTokColon)) {
  ------------------
  |  Branch (4328:13): [True: 0, False: 1.42M]
  ------------------
 4329|      0|            found = true;
 4330|      0|            HlslToken idToken;
 4331|      0|            if (peekTokenClass(EHTokLayout))
  ------------------
  |  Branch (4331:17): [True: 0, False: 0]
  ------------------
 4332|      0|                acceptLayoutQualifierList(qualifier);
 4333|      0|            else if (acceptTokenClass(EHTokPackOffset)) {
  ------------------
  |  Branch (4333:22): [True: 0, False: 0]
  ------------------
 4334|       |                // PACKOFFSET LEFT_PAREN c[Subcomponent][.component] RIGHT_PAREN
 4335|      0|                if (! acceptTokenClass(EHTokLeftParen)) {
  ------------------
  |  Branch (4335:21): [True: 0, False: 0]
  ------------------
 4336|      0|                    expected("(");
 4337|      0|                    return false;
 4338|      0|                }
 4339|      0|                HlslToken locationToken;
 4340|      0|                if (! acceptIdentifier(locationToken)) {
  ------------------
  |  Branch (4340:21): [True: 0, False: 0]
  ------------------
 4341|      0|                    expected("c[subcomponent][.component]");
 4342|      0|                    return false;
 4343|      0|                }
 4344|      0|                HlslToken componentToken;
 4345|      0|                if (acceptTokenClass(EHTokDot)) {
  ------------------
  |  Branch (4345:21): [True: 0, False: 0]
  ------------------
 4346|      0|                    if (! acceptIdentifier(componentToken)) {
  ------------------
  |  Branch (4346:25): [True: 0, False: 0]
  ------------------
 4347|      0|                        expected("component");
 4348|      0|                        return false;
 4349|      0|                    }
 4350|      0|                }
 4351|      0|                if (! acceptTokenClass(EHTokRightParen)) {
  ------------------
  |  Branch (4351:21): [True: 0, False: 0]
  ------------------
 4352|      0|                    expected(")");
 4353|      0|                    break;
 4354|      0|                }
 4355|      0|                parseContext.handlePackOffset(locationToken.loc, qualifier, *locationToken.string, componentToken.string);
 4356|      0|            } else if (! acceptIdentifier(idToken)) {
  ------------------
  |  Branch (4356:24): [True: 0, False: 0]
  ------------------
 4357|      0|                expected("layout, semantic, packoffset, or register");
 4358|      0|                return false;
 4359|      0|            } else if (*idToken.string == "register") {
  ------------------
  |  Branch (4359:24): [True: 0, False: 0]
  ------------------
 4360|       |                // REGISTER LEFT_PAREN [shader_profile,] Type#[subcomp]opt (COMMA SPACEN)opt RIGHT_PAREN
 4361|       |                // LEFT_PAREN
 4362|      0|                if (! acceptTokenClass(EHTokLeftParen)) {
  ------------------
  |  Branch (4362:21): [True: 0, False: 0]
  ------------------
 4363|      0|                    expected("(");
 4364|      0|                    return false;
 4365|      0|                }
 4366|      0|                HlslToken registerDesc;  // for Type#
 4367|      0|                HlslToken profile;
 4368|      0|                if (! acceptIdentifier(registerDesc)) {
  ------------------
  |  Branch (4368:21): [True: 0, False: 0]
  ------------------
 4369|      0|                    expected("register number description");
 4370|      0|                    return false;
 4371|      0|                }
 4372|      0|                if (registerDesc.string->size() > 1 && !isdigit((*registerDesc.string)[1]) &&
  ------------------
  |  Branch (4372:21): [True: 0, False: 0]
  |  Branch (4372:56): [True: 0, False: 0]
  ------------------
 4373|      0|                                                       acceptTokenClass(EHTokComma)) {
  ------------------
  |  Branch (4373:56): [True: 0, False: 0]
  ------------------
 4374|       |                    // Then we didn't really see the registerDesc yet, it was
 4375|       |                    // actually the profile.  Adjust...
 4376|      0|                    profile = registerDesc;
 4377|      0|                    if (! acceptIdentifier(registerDesc)) {
  ------------------
  |  Branch (4377:25): [True: 0, False: 0]
  ------------------
 4378|      0|                        expected("register number description");
 4379|      0|                        return false;
 4380|      0|                    }
 4381|      0|                }
 4382|      0|                int subComponent = 0;
 4383|      0|                if (acceptTokenClass(EHTokLeftBracket)) {
  ------------------
  |  Branch (4383:21): [True: 0, False: 0]
  ------------------
 4384|       |                    // LEFT_BRACKET subcomponent RIGHT_BRACKET
 4385|      0|                    if (! peekTokenClass(EHTokIntConstant)) {
  ------------------
  |  Branch (4385:25): [True: 0, False: 0]
  ------------------
 4386|      0|                        expected("literal integer");
 4387|      0|                        return false;
 4388|      0|                    }
 4389|      0|                    subComponent = token.i;
 4390|      0|                    advanceToken();
 4391|      0|                    if (! acceptTokenClass(EHTokRightBracket)) {
  ------------------
  |  Branch (4391:25): [True: 0, False: 0]
  ------------------
 4392|      0|                        expected("]");
 4393|      0|                        break;
 4394|      0|                    }
 4395|      0|                }
 4396|       |                // (COMMA SPACEN)opt
 4397|      0|                HlslToken spaceDesc;
 4398|      0|                if (acceptTokenClass(EHTokComma)) {
  ------------------
  |  Branch (4398:21): [True: 0, False: 0]
  ------------------
 4399|      0|                    if (! acceptIdentifier(spaceDesc)) {
  ------------------
  |  Branch (4399:25): [True: 0, False: 0]
  ------------------
 4400|      0|                        expected ("space identifier");
 4401|      0|                        return false;
 4402|      0|                    }
 4403|      0|                }
 4404|       |                // RIGHT_PAREN
 4405|      0|                if (! acceptTokenClass(EHTokRightParen)) {
  ------------------
  |  Branch (4405:21): [True: 0, False: 0]
  ------------------
 4406|      0|                    expected(")");
 4407|      0|                    break;
 4408|      0|                }
 4409|      0|                parseContext.handleRegister(registerDesc.loc, qualifier, profile.string, *registerDesc.string, subComponent, spaceDesc.string);
 4410|      0|            } else {
 4411|       |                // semantic, in idToken.string
 4412|      0|                TString semanticUpperCase = *idToken.string;
 4413|      0|                std::transform(semanticUpperCase.begin(), semanticUpperCase.end(), semanticUpperCase.begin(), ::toupper);
 4414|      0|                parseContext.handleSemantic(idToken.loc, qualifier, mapSemantic(semanticUpperCase.c_str()), semanticUpperCase);
 4415|      0|            }
 4416|  1.42M|        } else if (peekTokenClass(EHTokLeftAngle)) {
  ------------------
  |  Branch (4416:20): [True: 0, False: 1.42M]
  ------------------
 4417|      0|            found = true;
 4418|      0|            acceptAnnotations(qualifier);
 4419|      0|        } else
 4420|  1.42M|            break;
 4421|       |
 4422|  1.42M|    } while (true);
  ------------------
  |  Branch (4422:14): [True: 0, Folded]
  ------------------
 4423|       |
 4424|  1.42M|    return found;
 4425|  1.42M|}
_ZNK7glslang11HlslGrammar13getTypeStringENS_15EHlslTokenClassE:
 4462|  1.42M|{
 4463|  1.42M|    switch (tokenClass) {
 4464|      0|    case EHTokSample:     return "sample";
  ------------------
  |  Branch (4464:5): [True: 0, False: 1.42M]
  ------------------
 4465|      0|    case EHTokHalf:       return "half";
  ------------------
  |  Branch (4465:5): [True: 0, False: 1.42M]
  ------------------
 4466|      0|    case EHTokHalf1x1:    return "half1x1";
  ------------------
  |  Branch (4466:5): [True: 0, False: 1.42M]
  ------------------
 4467|      0|    case EHTokHalf1x2:    return "half1x2";
  ------------------
  |  Branch (4467:5): [True: 0, False: 1.42M]
  ------------------
 4468|      0|    case EHTokHalf1x3:    return "half1x3";
  ------------------
  |  Branch (4468:5): [True: 0, False: 1.42M]
  ------------------
 4469|      0|    case EHTokHalf1x4:    return "half1x4";
  ------------------
  |  Branch (4469:5): [True: 0, False: 1.42M]
  ------------------
 4470|      0|    case EHTokHalf2x1:    return "half2x1";
  ------------------
  |  Branch (4470:5): [True: 0, False: 1.42M]
  ------------------
 4471|      0|    case EHTokHalf2x2:    return "half2x2";
  ------------------
  |  Branch (4471:5): [True: 0, False: 1.42M]
  ------------------
 4472|      0|    case EHTokHalf2x3:    return "half2x3";
  ------------------
  |  Branch (4472:5): [True: 0, False: 1.42M]
  ------------------
 4473|      0|    case EHTokHalf2x4:    return "half2x4";
  ------------------
  |  Branch (4473:5): [True: 0, False: 1.42M]
  ------------------
 4474|      0|    case EHTokHalf3x1:    return "half3x1";
  ------------------
  |  Branch (4474:5): [True: 0, False: 1.42M]
  ------------------
 4475|      0|    case EHTokHalf3x2:    return "half3x2";
  ------------------
  |  Branch (4475:5): [True: 0, False: 1.42M]
  ------------------
 4476|      0|    case EHTokHalf3x3:    return "half3x3";
  ------------------
  |  Branch (4476:5): [True: 0, False: 1.42M]
  ------------------
 4477|      0|    case EHTokHalf3x4:    return "half3x4";
  ------------------
  |  Branch (4477:5): [True: 0, False: 1.42M]
  ------------------
 4478|      0|    case EHTokHalf4x1:    return "half4x1";
  ------------------
  |  Branch (4478:5): [True: 0, False: 1.42M]
  ------------------
 4479|      0|    case EHTokHalf4x2:    return "half4x2";
  ------------------
  |  Branch (4479:5): [True: 0, False: 1.42M]
  ------------------
 4480|      0|    case EHTokHalf4x3:    return "half4x3";
  ------------------
  |  Branch (4480:5): [True: 0, False: 1.42M]
  ------------------
 4481|      0|    case EHTokHalf4x4:    return "half4x4";
  ------------------
  |  Branch (4481:5): [True: 0, False: 1.42M]
  ------------------
 4482|      0|    case EHTokBool:       return "bool";
  ------------------
  |  Branch (4482:5): [True: 0, False: 1.42M]
  ------------------
 4483|      0|    case EHTokFloat:      return "float";
  ------------------
  |  Branch (4483:5): [True: 0, False: 1.42M]
  ------------------
 4484|      0|    case EHTokDouble:     return "double";
  ------------------
  |  Branch (4484:5): [True: 0, False: 1.42M]
  ------------------
 4485|      0|    case EHTokInt:        return "int";
  ------------------
  |  Branch (4485:5): [True: 0, False: 1.42M]
  ------------------
 4486|      0|    case EHTokUint:       return "uint";
  ------------------
  |  Branch (4486:5): [True: 0, False: 1.42M]
  ------------------
 4487|      0|    case EHTokMin16float: return "min16float";
  ------------------
  |  Branch (4487:5): [True: 0, False: 1.42M]
  ------------------
 4488|      0|    case EHTokMin10float: return "min10float";
  ------------------
  |  Branch (4488:5): [True: 0, False: 1.42M]
  ------------------
 4489|      0|    case EHTokMin16int:   return "min16int";
  ------------------
  |  Branch (4489:5): [True: 0, False: 1.42M]
  ------------------
 4490|      0|    case EHTokMin12int:   return "min12int";
  ------------------
  |  Branch (4490:5): [True: 0, False: 1.42M]
  ------------------
 4491|      0|    case EHTokConstantBuffer: return "ConstantBuffer";
  ------------------
  |  Branch (4491:5): [True: 0, False: 1.42M]
  ------------------
 4492|      0|    case EHTokLayout:     return "layout";
  ------------------
  |  Branch (4492:5): [True: 0, False: 1.42M]
  ------------------
 4493|  1.42M|    default:
  ------------------
  |  Branch (4493:5): [True: 1.42M, False: 0]
  ------------------
 4494|  1.42M|        return nullptr;
 4495|  1.42M|    }
 4496|  1.42M|}

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

_ZN7glslang9HlslOpMap10assignmentENS_15EHlslTokenClassE:
   45|     22|{
   46|     22|    switch (op) {
   47|      0|    case EHTokAssign:      return EOpAssign;
  ------------------
  |  Branch (47:5): [True: 0, False: 22]
  ------------------
   48|      0|    case EHTokMulAssign:   return EOpMulAssign;
  ------------------
  |  Branch (48:5): [True: 0, False: 22]
  ------------------
   49|      0|    case EHTokDivAssign:   return EOpDivAssign;
  ------------------
  |  Branch (49:5): [True: 0, False: 22]
  ------------------
   50|      0|    case EHTokAddAssign:   return EOpAddAssign;
  ------------------
  |  Branch (50:5): [True: 0, False: 22]
  ------------------
   51|      0|    case EHTokModAssign:   return EOpModAssign;
  ------------------
  |  Branch (51:5): [True: 0, False: 22]
  ------------------
   52|      0|    case EHTokLeftAssign:  return EOpLeftShiftAssign;
  ------------------
  |  Branch (52:5): [True: 0, False: 22]
  ------------------
   53|      0|    case EHTokRightAssign: return EOpRightShiftAssign;
  ------------------
  |  Branch (53:5): [True: 0, False: 22]
  ------------------
   54|      0|    case EHTokAndAssign:   return EOpAndAssign;
  ------------------
  |  Branch (54:5): [True: 0, False: 22]
  ------------------
   55|      0|    case EHTokXorAssign:   return EOpExclusiveOrAssign;
  ------------------
  |  Branch (55:5): [True: 0, False: 22]
  ------------------
   56|      0|    case EHTokOrAssign:    return EOpInclusiveOrAssign;
  ------------------
  |  Branch (56:5): [True: 0, False: 22]
  ------------------
   57|      0|    case EHTokSubAssign:   return EOpSubAssign;
  ------------------
  |  Branch (57:5): [True: 0, False: 22]
  ------------------
   58|       |
   59|     22|    default:
  ------------------
  |  Branch (59:5): [True: 22, False: 0]
  ------------------
   60|     22|        return EOpNull;
   61|     22|    }
   62|     22|}
_ZN7glslang9HlslOpMap6binaryENS_15EHlslTokenClassE:
   66|    264|{
   67|    264|    switch (op) {
   68|      4|    case EHTokPlus:        return EOpAdd;
  ------------------
  |  Branch (68:5): [True: 4, False: 260]
  ------------------
   69|      4|    case EHTokDash:        return EOpSub;
  ------------------
  |  Branch (69:5): [True: 4, False: 260]
  ------------------
   70|      0|    case EHTokStar:        return EOpMul;
  ------------------
  |  Branch (70:5): [True: 0, False: 264]
  ------------------
   71|     14|    case EHTokSlash:       return EOpDiv;
  ------------------
  |  Branch (71:5): [True: 14, False: 250]
  ------------------
   72|      0|    case EHTokPercent:     return EOpMod;
  ------------------
  |  Branch (72:5): [True: 0, False: 264]
  ------------------
   73|      0|    case EHTokRightOp:     return EOpRightShift;
  ------------------
  |  Branch (73:5): [True: 0, False: 264]
  ------------------
   74|      0|    case EHTokLeftOp:      return EOpLeftShift;
  ------------------
  |  Branch (74:5): [True: 0, False: 264]
  ------------------
   75|      0|    case EHTokAmpersand:   return EOpAnd;
  ------------------
  |  Branch (75:5): [True: 0, False: 264]
  ------------------
   76|      0|    case EHTokVerticalBar: return EOpInclusiveOr;
  ------------------
  |  Branch (76:5): [True: 0, False: 264]
  ------------------
   77|      0|    case EHTokCaret:       return EOpExclusiveOr;
  ------------------
  |  Branch (77:5): [True: 0, False: 264]
  ------------------
   78|      0|    case EHTokEqOp:        return EOpEqual;
  ------------------
  |  Branch (78:5): [True: 0, False: 264]
  ------------------
   79|      0|    case EHTokNeOp:        return EOpNotEqual;
  ------------------
  |  Branch (79:5): [True: 0, False: 264]
  ------------------
   80|      0|    case EHTokLeftAngle:   return EOpLessThan;
  ------------------
  |  Branch (80:5): [True: 0, False: 264]
  ------------------
   81|      0|    case EHTokRightAngle:  return EOpGreaterThan;
  ------------------
  |  Branch (81:5): [True: 0, False: 264]
  ------------------
   82|      0|    case EHTokLeOp:        return EOpLessThanEqual;
  ------------------
  |  Branch (82:5): [True: 0, False: 264]
  ------------------
   83|      0|    case EHTokGeOp:        return EOpGreaterThanEqual;
  ------------------
  |  Branch (83:5): [True: 0, False: 264]
  ------------------
   84|      0|    case EHTokOrOp:        return EOpLogicalOr;
  ------------------
  |  Branch (84:5): [True: 0, False: 264]
  ------------------
   85|      0|    case EHTokXorOp:       return EOpLogicalXor;
  ------------------
  |  Branch (85:5): [True: 0, False: 264]
  ------------------
   86|      0|    case EHTokAndOp:       return EOpLogicalAnd;
  ------------------
  |  Branch (86:5): [True: 0, False: 264]
  ------------------
   87|       |
   88|    242|    default:
  ------------------
  |  Branch (88:5): [True: 242, False: 22]
  ------------------
   89|    242|        return EOpNull;
   90|    264|    }
   91|    264|}
_ZN7glslang9HlslOpMap8preUnaryENS_15EHlslTokenClassE:
   96|    287|{
   97|    287|    switch (op) {
   98|      4|    case EHTokPlus:       return EOpAdd;        // means no-op, but still a unary op was present
  ------------------
  |  Branch (98:5): [True: 4, False: 283]
  ------------------
   99|      0|    case EHTokDash:       return EOpNegative;
  ------------------
  |  Branch (99:5): [True: 0, False: 287]
  ------------------
  100|     10|    case EHTokBang:       return EOpLogicalNot;
  ------------------
  |  Branch (100:5): [True: 10, False: 277]
  ------------------
  101|      0|    case EHTokTilde:      return EOpBitwiseNot;
  ------------------
  |  Branch (101:5): [True: 0, False: 287]
  ------------------
  102|       |
  103|      0|    case EHTokIncOp:      return EOpPreIncrement;
  ------------------
  |  Branch (103:5): [True: 0, False: 287]
  ------------------
  104|      0|    case EHTokDecOp:      return EOpPreDecrement;
  ------------------
  |  Branch (104:5): [True: 0, False: 287]
  ------------------
  105|       |
  106|    273|    default:              return EOpNull;       // means not a pre-unary op
  ------------------
  |  Branch (106:5): [True: 273, False: 14]
  ------------------
  107|    287|    }
  108|    287|}
_ZN7glslang9HlslOpMap9postUnaryENS_15EHlslTokenClassE:
  113|    108|{
  114|    108|    switch (op) {
  115|      2|    case EHTokDot:         return EOpIndexDirectStruct;
  ------------------
  |  Branch (115:5): [True: 2, False: 106]
  ------------------
  116|     66|    case EHTokLeftBracket: return EOpIndexIndirect;
  ------------------
  |  Branch (116:5): [True: 66, False: 42]
  ------------------
  117|       |
  118|      0|    case EHTokIncOp:       return EOpPostIncrement;
  ------------------
  |  Branch (118:5): [True: 0, False: 108]
  ------------------
  119|      0|    case EHTokDecOp:       return EOpPostDecrement;
  ------------------
  |  Branch (119:5): [True: 0, False: 108]
  ------------------
  120|       |
  121|      0|    case EHTokColonColon:  return EOpScoping;
  ------------------
  |  Branch (121:5): [True: 0, False: 108]
  ------------------
  122|       |
  123|     40|    default:               return EOpNull;             // means not a post-unary op
  ------------------
  |  Branch (123:5): [True: 40, False: 68]
  ------------------
  124|    108|    }
  125|    108|}
_ZN7glslang9HlslOpMap15precedenceLevelENS_9TOperatorE:
  129|    264|{
  130|    264|    switch (op) {
  131|      0|    case EOpLogicalOr:
  ------------------
  |  Branch (131:5): [True: 0, False: 264]
  ------------------
  132|      0|        return PlLogicalOr;
  133|      0|    case EOpLogicalXor:
  ------------------
  |  Branch (133:5): [True: 0, False: 264]
  ------------------
  134|      0|        return PlLogicalXor;
  135|      0|    case EOpLogicalAnd:
  ------------------
  |  Branch (135:5): [True: 0, False: 264]
  ------------------
  136|      0|        return PlLogicalAnd;
  137|       |
  138|      0|    case EOpInclusiveOr:
  ------------------
  |  Branch (138:5): [True: 0, False: 264]
  ------------------
  139|      0|        return PlBitwiseOr;
  140|      0|    case EOpExclusiveOr:
  ------------------
  |  Branch (140:5): [True: 0, False: 264]
  ------------------
  141|      0|        return PlBitwiseXor;
  142|      0|    case EOpAnd:
  ------------------
  |  Branch (142:5): [True: 0, False: 264]
  ------------------
  143|      0|        return PlBitwiseAnd;
  144|       |
  145|      0|    case EOpEqual:
  ------------------
  |  Branch (145:5): [True: 0, False: 264]
  ------------------
  146|      0|    case EOpNotEqual:
  ------------------
  |  Branch (146:5): [True: 0, False: 264]
  ------------------
  147|      0|        return PlEquality;
  148|       |
  149|      0|    case EOpLessThan:
  ------------------
  |  Branch (149:5): [True: 0, False: 264]
  ------------------
  150|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (150:5): [True: 0, False: 264]
  ------------------
  151|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (151:5): [True: 0, False: 264]
  ------------------
  152|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (152:5): [True: 0, False: 264]
  ------------------
  153|      0|        return PlRelational;
  154|       |
  155|      0|    case EOpRightShift:
  ------------------
  |  Branch (155:5): [True: 0, False: 264]
  ------------------
  156|      0|    case EOpLeftShift:
  ------------------
  |  Branch (156:5): [True: 0, False: 264]
  ------------------
  157|      0|        return PlShift;
  158|       |
  159|      4|    case EOpAdd:
  ------------------
  |  Branch (159:5): [True: 4, False: 260]
  ------------------
  160|      8|    case EOpSub:
  ------------------
  |  Branch (160:5): [True: 4, False: 260]
  ------------------
  161|      8|        return PlAdd;
  162|       |
  163|      0|    case EOpMul:
  ------------------
  |  Branch (163:5): [True: 0, False: 264]
  ------------------
  164|     14|    case EOpDiv:
  ------------------
  |  Branch (164:5): [True: 14, False: 250]
  ------------------
  165|     14|    case EOpMod:
  ------------------
  |  Branch (165:5): [True: 0, False: 264]
  ------------------
  166|     14|        return PlMul;
  167|       |
  168|    242|    default:
  ------------------
  |  Branch (168:5): [True: 242, False: 22]
  ------------------
  169|    242|        return PlBad;
  170|    264|    }
  171|    264|}

_ZN7glslang16HlslParseContextC2ERNS_12TSymbolTableERNS_13TIntermediateEbi8EProfileRKNS_10SpvVersionE11EShLanguageR9TInfoSinkNSt3__112basic_stringIcNSC_11char_traitsIcEENS_14pool_allocatorIcEEEEb11EShMessages:
   59|  1.87k|    TParseContextBase(symbolTable, interm, parsingBuiltins, version, profile, spvVersion, language, infoSink,
   60|  1.87k|                      forwardCompatible, messages, &sourceEntryPointName),
   61|  1.87k|    annotationNestingLevel(0),
   62|  1.87k|    inputPatch(nullptr),
   63|  1.87k|    nextInLocation(0), nextOutLocation(0),
   64|  1.87k|    entryPointFunction(nullptr),
   65|  1.87k|    entryPointFunctionBody(nullptr),
   66|  1.87k|    gsStreamOutput(nullptr),
   67|  1.87k|    clipDistanceOutput(nullptr),
   68|  1.87k|    cullDistanceOutput(nullptr),
   69|  1.87k|    clipDistanceInput(nullptr),
   70|  1.87k|    cullDistanceInput(nullptr),
   71|  1.87k|    parsingEntrypointParameters(false)
   72|  1.87k|{
   73|  1.87k|    globalUniformDefaults.clear();
   74|  1.87k|    globalUniformDefaults.layoutMatrix = ElmRowMajor;
   75|  1.87k|    globalUniformDefaults.layoutPacking = ElpStd140;
   76|       |
   77|  1.87k|    globalBufferDefaults.clear();
   78|  1.87k|    globalBufferDefaults.layoutMatrix = ElmRowMajor;
   79|  1.87k|    globalBufferDefaults.layoutPacking = ElpStd430;
   80|       |
   81|  1.87k|    globalInputDefaults.clear();
   82|  1.87k|    globalOutputDefaults.clear();
   83|       |
   84|  1.87k|    clipSemanticNSizeIn.fill(0);
   85|  1.87k|    cullSemanticNSizeIn.fill(0);
   86|  1.87k|    clipSemanticNSizeOut.fill(0);
   87|  1.87k|    cullSemanticNSizeOut.fill(0);
   88|       |
   89|       |    // "Shaders in the transform
   90|       |    // feedback capturing mode have an initial global default of
   91|       |    //     layout(xfb_buffer = 0) out;"
   92|  1.87k|    if (language == EShLangVertex ||
  ------------------
  |  Branch (92:9): [True: 440, False: 1.43k]
  ------------------
   93|  1.43k|        language == EShLangTessControl ||
  ------------------
  |  Branch (93:9): [True: 110, False: 1.32k]
  ------------------
   94|  1.32k|        language == EShLangTessEvaluation ||
  ------------------
  |  Branch (94:9): [True: 110, False: 1.21k]
  ------------------
   95|  1.21k|        language == EShLangGeometry)
  ------------------
  |  Branch (95:9): [True: 110, False: 1.10k]
  ------------------
   96|    770|        globalOutputDefaults.layoutXfbBuffer = 0;
   97|       |
   98|  1.87k|    if (language == EShLangGeometry)
  ------------------
  |  Branch (98:9): [True: 110, False: 1.76k]
  ------------------
   99|    110|        globalOutputDefaults.layoutStream = 0;
  100|  1.87k|}
_ZN7glslang16HlslParseContextD2Ev:
  103|  1.87k|{
  104|  1.87k|}
_ZN7glslang16HlslParseContext27initializeExtensionBehaviorEv:
  107|    110|{
  108|    110|    TParseContextBase::initializeExtensionBehavior();
  109|       |
  110|       |    // HLSL allows #line by default.
  111|    110|    extensionBehavior[E_GL_GOOGLE_cpp_style_line_directive] = EBhEnable;
  112|    110|}
_ZN7glslang16HlslParseContext9setLimitsERK16TBuiltInResource:
  115|    110|{
  116|    110|    resources = r;
  117|    110|    intermediate.setLimits(resources);
  118|    110|}
_ZN7glslang16HlslParseContext18parseShaderStringsERNS_10TPpContextERNS_13TInputScannerEb:
  126|    220|{
  127|    220|    currentScanner = &input;
  128|    220|    ppContext.setInput(input, versionWillBeError);
  129|       |
  130|    220|    HlslScanContext scanContext(*this, ppContext);
  131|    220|    HlslGrammar grammar(scanContext, *this);
  132|    220|    if (!grammar.parse()) {
  ------------------
  |  Branch (132:9): [True: 15, False: 205]
  ------------------
  133|       |        // Print a message formated such that if you click on the message it will take you right to
  134|       |        // the line through most UIs.
  135|     15|        const glslang::TSourceLoc& sourceLoc = input.getSourceLoc();
  136|     15|        infoSink.info << sourceLoc.getFilenameStr() << "(" << sourceLoc.line << "): error at column " << sourceLoc.column
  137|     15|                      << ", HLSL parsing failed.\n";
  138|     15|        ++numErrors;
  139|     15|        return false;
  140|     15|    }
  141|       |
  142|    205|    finish();
  143|       |
  144|    205|    return numErrors == 0;
  145|    220|}
_ZN7glslang16HlslParseContext19getLayoutFromTxTypeERKNS_10TSourceLocERKNS_5TTypeE:
  186|  6.27k|{
  187|  6.27k|    if (txType.isStruct()) {
  ------------------
  |  Branch (187:9): [True: 0, False: 6.27k]
  ------------------
  188|       |        // TODO: implement.
  189|      0|        error(loc, "unimplemented: structure type in image or buffer", "", "");
  190|      0|        return ElfNone;
  191|      0|    }
  192|       |
  193|  6.27k|    const int components = txType.getVectorSize();
  194|  6.27k|    const TBasicType txBasicType = txType.getBasicType();
  195|       |
  196|  6.27k|    const auto selectFormat = [this,&components](TLayoutFormat v1, TLayoutFormat v2, TLayoutFormat v4) -> TLayoutFormat {
  197|  6.27k|        if (intermediate.getNoStorageFormat())
  198|  6.27k|            return ElfNone;
  199|       |
  200|  6.27k|        return components == 1 ? v1 :
  201|  6.27k|               components == 2 ? v2 : v4;
  202|  6.27k|    };
  203|       |
  204|  6.27k|    switch (txBasicType) {
  205|  2.09k|    case EbtFloat: return selectFormat(ElfR32f,  ElfRg32f,  ElfRgba32f);
  ------------------
  |  Branch (205:5): [True: 2.09k, False: 4.18k]
  ------------------
  206|  2.09k|    case EbtInt:   return selectFormat(ElfR32i,  ElfRg32i,  ElfRgba32i);
  ------------------
  |  Branch (206:5): [True: 2.09k, False: 4.18k]
  ------------------
  207|  2.09k|    case EbtUint:  return selectFormat(ElfR32ui, ElfRg32ui, ElfRgba32ui);
  ------------------
  |  Branch (207:5): [True: 2.09k, False: 4.18k]
  ------------------
  208|      0|    default:
  ------------------
  |  Branch (208:5): [True: 0, False: 6.27k]
  ------------------
  209|      0|        error(loc, "unknown basic type in image format", "", "");
  210|      0|        return ElfNone;
  211|  6.27k|    }
  212|  6.27k|}
_ZN7glslang16HlslParseContext12handlePragmaERKNS_10TSourceLocERKNS_7TVectorINSt3__112basic_stringIcNS5_11char_traitsIcEENS_14pool_allocatorIcEEEEEE:
  523|      1|{
  524|      1|    if (pragmaCallback)
  ------------------
  |  Branch (524:9): [True: 0, False: 1]
  ------------------
  525|      0|        pragmaCallback(loc.line, tokens);
  526|       |
  527|      1|    if (tokens.size() == 0)
  ------------------
  |  Branch (527:9): [True: 1, False: 0]
  ------------------
  528|      1|        return;
  529|       |
  530|       |    // These pragmas are case insensitive in HLSL, so we'll compare in lower case.
  531|      0|    TVector<TString> lowerTokens = tokens;
  532|       |
  533|      0|    for (auto it = lowerTokens.begin(); it != lowerTokens.end(); ++it)
  ------------------
  |  Branch (533:41): [True: 0, False: 0]
  ------------------
  534|      0|        std::transform(it->begin(), it->end(), it->begin(), ::tolower);
  535|       |
  536|       |    // Handle pack_matrix
  537|      0|    if (tokens.size() == 4 && lowerTokens[0] == "pack_matrix" && tokens[1] == "(" && tokens[3] == ")") {
  ------------------
  |  Branch (537:9): [True: 0, False: 0]
  |  Branch (537:31): [True: 0, False: 0]
  |  Branch (537:66): [True: 0, False: 0]
  |  Branch (537:86): [True: 0, False: 0]
  ------------------
  538|       |        // Note that HLSL semantic order is Mrc, not Mcr like SPIR-V, so we reverse the sense.
  539|       |        // Row major becomes column major and vice versa.
  540|       |
  541|      0|        if (lowerTokens[2] == "row_major") {
  ------------------
  |  Branch (541:13): [True: 0, False: 0]
  ------------------
  542|      0|            globalUniformDefaults.layoutMatrix = globalBufferDefaults.layoutMatrix = ElmColumnMajor;
  543|      0|        } else if (lowerTokens[2] == "column_major") {
  ------------------
  |  Branch (543:20): [True: 0, False: 0]
  ------------------
  544|      0|            globalUniformDefaults.layoutMatrix = globalBufferDefaults.layoutMatrix = ElmRowMajor;
  545|      0|        } else {
  546|       |            // unknown majorness strings are treated as (HLSL column major)==(SPIR-V row major)
  547|      0|            warn(loc, "unknown pack_matrix pragma value", tokens[2].c_str(), "");
  548|      0|            globalUniformDefaults.layoutMatrix = globalBufferDefaults.layoutMatrix = ElmRowMajor;
  549|      0|        }
  550|      0|        return;
  551|      0|    }
  552|       |
  553|       |    // Handle once
  554|      0|    if (lowerTokens[0] == "once") {
  ------------------
  |  Branch (554:9): [True: 0, False: 0]
  ------------------
  555|      0|        warn(loc, "not implemented", "#pragma once", "");
  556|      0|        return;
  557|      0|    }
  558|      0|}
_ZN7glslang16HlslParseContext14handleVariableERKNS_10TSourceLocEPKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  648|     80|{
  649|     80|    int thisDepth;
  650|     80|    TSymbol* symbol = symbolTable.find(*string, thisDepth);
  651|     80|    if (symbol && symbol->getAsVariable() && symbol->getAsVariable()->isUserType()) {
  ------------------
  |  Branch (651:9): [True: 0, False: 80]
  |  Branch (651:19): [True: 0, False: 0]
  |  Branch (651:46): [True: 0, False: 0]
  ------------------
  652|      0|        error(loc, "expected symbol, not user-defined type", string->c_str(), "");
  653|      0|        return nullptr;
  654|      0|    }
  655|       |
  656|     80|    const TVariable* variable = nullptr;
  657|     80|    const TAnonMember* anon = symbol ? symbol->getAsAnonMember() : nullptr;
  ------------------
  |  Branch (657:31): [True: 0, False: 80]
  ------------------
  658|     80|    TIntermTyped* node = nullptr;
  659|     80|    if (anon) {
  ------------------
  |  Branch (659:9): [True: 0, False: 80]
  ------------------
  660|       |        // It was a member of an anonymous container, which could be a 'this' structure.
  661|       |
  662|       |        // Create a subtree for its dereference.
  663|      0|        if (thisDepth > 0) {
  ------------------
  |  Branch (663:13): [True: 0, False: 0]
  ------------------
  664|      0|            variable = getImplicitThis(thisDepth);
  665|      0|            if (variable == nullptr)
  ------------------
  |  Branch (665:17): [True: 0, False: 0]
  ------------------
  666|      0|                error(loc, "cannot access member variables (static member function?)", "this", "");
  667|      0|        }
  668|      0|        if (variable == nullptr)
  ------------------
  |  Branch (668:13): [True: 0, False: 0]
  ------------------
  669|      0|            variable = anon->getAnonContainer().getAsVariable();
  670|       |
  671|      0|        TIntermTyped* container = intermediate.addSymbol(*variable, loc);
  672|      0|        TIntermTyped* constNode = intermediate.addConstantUnion(anon->getMemberNumber(), loc);
  673|      0|        node = intermediate.addIndex(EOpIndexDirectStruct, container, constNode, loc);
  674|       |
  675|      0|        node->setType(*(*variable->getType().getStruct())[anon->getMemberNumber()].type);
  676|      0|        if (node->getType().hiddenMember())
  ------------------
  |  Branch (676:13): [True: 0, False: 0]
  ------------------
  677|      0|            error(loc, "member of nameless block was not redeclared", string->c_str(), "");
  678|     80|    } else {
  679|       |        // Not a member of an anonymous container.
  680|       |
  681|       |        // The symbol table search was done in the lexical phase.
  682|       |        // See if it was a variable.
  683|     80|        variable = symbol ? symbol->getAsVariable() : nullptr;
  ------------------
  |  Branch (683:20): [True: 0, False: 80]
  ------------------
  684|     80|        if (variable) {
  ------------------
  |  Branch (684:13): [True: 0, False: 80]
  ------------------
  685|      0|            if ((variable->getType().getBasicType() == EbtBlock ||
  ------------------
  |  Branch (685:18): [True: 0, False: 0]
  ------------------
  686|      0|                variable->getType().getBasicType() == EbtStruct) && variable->getType().getStruct() == nullptr) {
  ------------------
  |  Branch (686:17): [True: 0, False: 0]
  |  Branch (686:69): [True: 0, False: 0]
  ------------------
  687|      0|                error(loc, "cannot be used (maybe an instance name is needed)", string->c_str(), "");
  688|      0|                variable = nullptr;
  689|      0|            }
  690|     80|        } else {
  691|     80|            if (symbol)
  ------------------
  |  Branch (691:17): [True: 0, False: 80]
  ------------------
  692|      0|                error(loc, "variable name expected", string->c_str(), "");
  693|     80|        }
  694|       |
  695|       |        // Recovery, if it wasn't found or was not a variable.
  696|     80|        if (variable == nullptr) {
  ------------------
  |  Branch (696:13): [True: 80, False: 0]
  ------------------
  697|     80|            error(loc, "unknown variable", string->c_str(), "");
  698|     80|            variable = new TVariable(string, TType(EbtVoid));
  699|     80|        }
  700|       |
  701|     80|        if (variable->getType().getQualifier().isFrontEndConstant())
  ------------------
  |  Branch (701:13): [True: 0, False: 80]
  ------------------
  702|      0|            node = intermediate.addConstantUnion(variable->getConstArray(), variable->getType(), loc);
  703|     80|        else
  704|     80|            node = intermediate.addSymbol(*variable, loc);
  705|     80|    }
  706|       |
  707|     80|    if (variable->getType().getQualifier().isIo())
  ------------------
  |  Branch (707:9): [True: 0, False: 80]
  ------------------
  708|      0|        intermediate.addIoAccessed(*string);
  709|       |
  710|     80|    return node;
  711|     80|}
_ZN7glslang16HlslParseContext20handleDotDereferenceERKNS_10TSourceLocEPNS_12TIntermTypedERKNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  933|      2|{
  934|      2|    variableCheck(base);
  935|       |
  936|      2|    if (base->isArray()) {
  ------------------
  |  Branch (936:9): [True: 0, False: 2]
  ------------------
  937|      0|        error(loc, "cannot apply to an array:", ".", field.c_str());
  938|      0|        return base;
  939|      0|    }
  940|       |
  941|      2|    TIntermTyped* result = base;
  942|       |
  943|      2|    if (base->getType().getBasicType() == EbtSampler) {
  ------------------
  |  Branch (943:9): [True: 0, False: 2]
  ------------------
  944|       |        // Handle .mips[mipid][pos] operation on textures
  945|      0|        const TSampler& sampler = base->getType().getSampler();
  946|      0|        if (sampler.isTexture() && field == "mips") {
  ------------------
  |  Branch (946:13): [True: 0, False: 0]
  |  Branch (946:36): [True: 0, False: 0]
  ------------------
  947|       |            // Push a null to signify that we expect a mip level under operator[] next.
  948|      0|            mipsOperatorMipArg.push_back(tMipsOperatorData(loc, nullptr));
  949|       |            // Keep 'result' pointing to 'base', since we expect an operator[] to go by next.
  950|      0|        } else {
  951|      0|            if (field == "mips")
  ------------------
  |  Branch (951:17): [True: 0, False: 0]
  ------------------
  952|      0|                error(loc, "unexpected texture type for .mips[][] operator:",
  953|      0|                      base->getType().getCompleteString().c_str(), "");
  954|      0|            else
  955|      0|                error(loc, "unexpected operator on texture type:", field.c_str(),
  956|      0|                      base->getType().getCompleteString().c_str());
  957|      0|        }
  958|      2|    } else if (base->isVector() || base->isScalar()) {
  ------------------
  |  Branch (958:16): [True: 0, False: 2]
  |  Branch (958:36): [True: 2, False: 0]
  ------------------
  959|      2|        TSwizzleSelectors<TVectorSelector> selectors;
  960|      2|        parseSwizzleSelector(loc, field, base->getVectorSize(), selectors);
  961|       |
  962|      2|        if (base->isScalar()) {
  ------------------
  |  Branch (962:13): [True: 2, False: 0]
  ------------------
  963|      2|            if (selectors.size() == 1)
  ------------------
  |  Branch (963:17): [True: 0, False: 2]
  ------------------
  964|      0|                return result;
  965|      2|            else {
  966|      2|                TType type(base->getBasicType(), EvqTemporary, selectors.size());
  967|      2|                return addConstructor(loc, base, type);
  968|      2|            }
  969|      2|        }
  970|       |        // Use EOpIndexDirect (below) with vec1.x so that it remains l-value (Test/hlsl.swizzle.vec1.comp)
  971|      0|        if (base->getVectorSize() == 1 && selectors.size() > 1) {
  ------------------
  |  Branch (971:13): [True: 0, False: 0]
  |  Branch (971:43): [True: 0, False: 0]
  ------------------
  972|      0|            TType scalarType(base->getBasicType(), EvqTemporary, 1);
  973|      0|            TType vectorType(base->getBasicType(), EvqTemporary, selectors.size());
  974|      0|            return addConstructor(loc, addConstructor(loc, base, scalarType), vectorType);
  975|      0|        }
  976|       |
  977|      0|        if (base->getType().getQualifier().isFrontEndConstant())
  ------------------
  |  Branch (977:13): [True: 0, False: 0]
  ------------------
  978|      0|            result = intermediate.foldSwizzle(base, selectors, loc);
  979|      0|        else {
  980|      0|            if (selectors.size() == 1) {
  ------------------
  |  Branch (980:17): [True: 0, False: 0]
  ------------------
  981|      0|                TIntermTyped* index = intermediate.addConstantUnion(selectors[0], loc);
  982|      0|                result = intermediate.addIndex(EOpIndexDirect, base, index, loc);
  983|      0|                result->setType(TType(base->getBasicType(), EvqTemporary));
  984|      0|            } else {
  985|      0|                TIntermTyped* index = intermediate.addSwizzle(selectors, loc);
  986|      0|                result = intermediate.addIndex(EOpVectorSwizzle, base, index, loc);
  987|      0|                result->setType(TType(base->getBasicType(), EvqTemporary, base->getType().getQualifier().precision,
  988|      0|                                selectors.size()));
  989|      0|            }
  990|      0|        }
  991|      0|    } else if (base->isMatrix()) {
  ------------------
  |  Branch (991:16): [True: 0, False: 0]
  ------------------
  992|      0|        TSwizzleSelectors<TMatrixSelector> selectors;
  993|      0|        if (! parseMatrixSwizzleSelector(loc, field, base->getMatrixCols(), base->getMatrixRows(), selectors))
  ------------------
  |  Branch (993:13): [True: 0, False: 0]
  ------------------
  994|      0|            return result;
  995|       |
  996|      0|        if (selectors.size() == 1) {
  ------------------
  |  Branch (996:13): [True: 0, False: 0]
  ------------------
  997|       |            // Representable by m[c][r]
  998|      0|            if (base->getType().getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (998:17): [True: 0, False: 0]
  ------------------
  999|      0|                result = intermediate.foldDereference(base, selectors[0].coord1, loc);
 1000|      0|                result = intermediate.foldDereference(result, selectors[0].coord2, loc);
 1001|      0|            } else {
 1002|      0|                result = intermediate.addIndex(EOpIndexDirect, base,
 1003|      0|                                               intermediate.addConstantUnion(selectors[0].coord1, loc),
 1004|      0|                                               loc);
 1005|      0|                TType dereferencedCol(base->getType(), 0);
 1006|      0|                result->setType(dereferencedCol);
 1007|      0|                result = intermediate.addIndex(EOpIndexDirect, result,
 1008|      0|                                               intermediate.addConstantUnion(selectors[0].coord2, loc),
 1009|      0|                                               loc);
 1010|      0|                TType dereferenced(dereferencedCol, 0);
 1011|      0|                result->setType(dereferenced);
 1012|      0|            }
 1013|      0|        } else {
 1014|      0|            int column = getMatrixComponentsColumn(base->getMatrixRows(), selectors);
 1015|      0|            if (column >= 0) {
  ------------------
  |  Branch (1015:17): [True: 0, False: 0]
  ------------------
 1016|       |                // Representable by m[c]
 1017|      0|                if (base->getType().getQualifier().isFrontEndConstant())
  ------------------
  |  Branch (1017:21): [True: 0, False: 0]
  ------------------
 1018|      0|                    result = intermediate.foldDereference(base, column, loc);
 1019|      0|                else {
 1020|      0|                    result = intermediate.addIndex(EOpIndexDirect, base, intermediate.addConstantUnion(column, loc),
 1021|      0|                                                   loc);
 1022|      0|                    TType dereferenced(base->getType(), 0);
 1023|      0|                    result->setType(dereferenced);
 1024|      0|                }
 1025|      0|            } else {
 1026|       |                // general case, not a column, not a single component
 1027|      0|                TIntermTyped* index = intermediate.addSwizzle(selectors, loc);
 1028|      0|                result = intermediate.addIndex(EOpMatrixSwizzle, base, index, loc);
 1029|      0|                result->setType(TType(base->getBasicType(), EvqTemporary, base->getType().getQualifier().precision,
 1030|      0|                                      selectors.size()));
 1031|      0|           }
 1032|      0|        }
 1033|      0|    } else if (base->getBasicType() == EbtStruct || base->getBasicType() == EbtBlock) {
  ------------------
  |  Branch (1033:16): [True: 0, False: 0]
  |  Branch (1033:53): [True: 0, False: 0]
  ------------------
 1034|      0|        const TTypeList* fields = base->getType().getStruct();
 1035|      0|        bool fieldFound = false;
 1036|      0|        int member;
 1037|      0|        for (member = 0; member < (int)fields->size(); ++member) {
  ------------------
  |  Branch (1037:26): [True: 0, False: 0]
  ------------------
 1038|      0|            if ((*fields)[member].type->getFieldName() == field) {
  ------------------
  |  Branch (1038:17): [True: 0, False: 0]
  ------------------
 1039|      0|                fieldFound = true;
 1040|      0|                break;
 1041|      0|            }
 1042|      0|        }
 1043|      0|        if (fieldFound) {
  ------------------
  |  Branch (1043:13): [True: 0, False: 0]
  ------------------
 1044|      0|            if (base->getAsSymbolNode() && wasFlattened(base)) {
  ------------------
  |  Branch (1044:17): [True: 0, False: 0]
  |  Branch (1044:44): [True: 0, False: 0]
  ------------------
 1045|      0|                result = flattenAccess(base, member);
 1046|      0|            } else {
 1047|      0|                if (base->getType().getQualifier().storage == EvqConst)
  ------------------
  |  Branch (1047:21): [True: 0, False: 0]
  ------------------
 1048|      0|                    result = intermediate.foldDereference(base, member, loc);
 1049|      0|                else {
 1050|      0|                    TIntermTyped* index = intermediate.addConstantUnion(member, loc);
 1051|      0|                    result = intermediate.addIndex(EOpIndexDirectStruct, base, index, loc);
 1052|      0|                    result->setType(*(*fields)[member].type);
 1053|      0|                }
 1054|      0|            }
 1055|      0|        } else
 1056|      0|            error(loc, "no such field in structure", field.c_str(), "");
 1057|      0|    } else
 1058|      0|        error(loc, "does not apply to this type:", field.c_str(), base->getType().getCompleteString().c_str());
 1059|       |
 1060|      0|    return result;
 1061|      2|}
_ZNK7glslang16HlslParseContext13shouldFlattenERKNS_5TTypeENS_17TStorageQualifierEb:
 1160|      2|{
 1161|      2|    switch (qualifier) {
 1162|      0|    case EvqVaryingIn:
  ------------------
  |  Branch (1162:5): [True: 0, False: 2]
  ------------------
 1163|      0|    case EvqVaryingOut:
  ------------------
  |  Branch (1163:5): [True: 0, False: 2]
  ------------------
 1164|      0|        return type.isStruct() || type.isArray();
  ------------------
  |  Branch (1164:16): [True: 0, False: 0]
  |  Branch (1164:35): [True: 0, False: 0]
  ------------------
 1165|      2|    case EvqUniform:
  ------------------
  |  Branch (1165:5): [True: 2, False: 0]
  ------------------
 1166|      2|        return (type.isArray() && intermediate.getFlattenUniformArrays() && topLevel) ||
  ------------------
  |  Branch (1166:17): [True: 2, False: 0]
  |  Branch (1166:35): [True: 0, False: 2]
  |  Branch (1166:77): [True: 0, False: 0]
  ------------------
 1167|      2|               (type.isStruct() && type.containsOpaque());
  ------------------
  |  Branch (1167:17): [True: 0, False: 2]
  |  Branch (1167:36): [True: 0, False: 0]
  ------------------
 1168|      0|    default:
  ------------------
  |  Branch (1168:5): [True: 0, False: 2]
  ------------------
 1169|      0|        return false;
 1170|      2|    };
 1171|      0|}
_ZN7glslang16HlslParseContext12trackLinkageERNS_7TSymbolE:
 1463|      2|{
 1464|      2|    TBuiltInVariable biType = symbol.getType().getQualifier().builtIn;
 1465|       |
 1466|      2|    if (biType != EbvNone)
  ------------------
  |  Branch (1466:9): [True: 0, False: 2]
  ------------------
 1467|      0|        builtInTessLinkageSymbols[biType] = symbol.clone();
 1468|       |
 1469|      2|    TParseContextBase::trackLinkage(symbol);
 1470|      2|}
_ZN7glslang16HlslParseContext24handleFunctionDeclaratorERKNS_10TSourceLocERNS_9TFunctionEb:
 1595|   440k|{
 1596|       |    //
 1597|       |    // Multiple declarations of the same function name are allowed.
 1598|       |    //
 1599|       |    // If this is a definition, the definition production code will check for redefinitions
 1600|       |    // (we don't know at this point if it's a definition or not).
 1601|       |    //
 1602|   440k|    bool builtIn;
 1603|   440k|    TSymbol* symbol = symbolTable.find(function.getMangledName(), &builtIn);
 1604|   440k|    const TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr;
  ------------------
  |  Branch (1604:32): [True: 2.64k, False: 437k]
  ------------------
 1605|       |
 1606|   440k|    if (prototype) {
  ------------------
  |  Branch (1606:9): [True: 440k, False: 0]
  ------------------
 1607|       |        // All built-in functions are defined, even though they don't have a body.
 1608|       |        // Count their prototype as a definition instead.
 1609|   440k|        if (symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (1609:13): [True: 440k, False: 0]
  ------------------
 1610|   440k|            function.setDefined();
 1611|      0|        else {
 1612|      0|            if (prevDec && ! builtIn)
  ------------------
  |  Branch (1612:17): [True: 0, False: 0]
  |  Branch (1612:28): [True: 0, False: 0]
  ------------------
 1613|      0|                symbol->getAsFunction()->setPrototyped();  // need a writable one, but like having prevDec as a const
 1614|      0|            function.setPrototyped();
 1615|      0|        }
 1616|   440k|    }
 1617|       |
 1618|       |    // This insert won't actually insert it if it's a duplicate signature, but it will still check for
 1619|       |    // other forms of name collisions.
 1620|   440k|    if (! symbolTable.insert(function))
  ------------------
  |  Branch (1620:9): [True: 0, False: 440k]
  ------------------
 1621|      0|        error(loc, "function name is redeclaration of existing name", function.getName().c_str(), "");
 1622|   440k|}
_ZN7glslang16HlslParseContext22transferTypeAttributesERKNS_10TSourceLocERKNS_5TListINS_14TAttributeArgsEEERNS_5TTypeEb:
 1917|  1.42M|{
 1918|  1.42M|    if (attributes.size() == 0)
  ------------------
  |  Branch (1918:9): [True: 1.42M, False: 0]
  ------------------
 1919|  1.42M|        return;
 1920|       |
 1921|      0|    int value;
 1922|      0|    TString builtInString;
 1923|      0|    for (auto it = attributes.begin(); it != attributes.end(); ++it) {
  ------------------
  |  Branch (1923:40): [True: 0, False: 0]
  ------------------
 1924|      0|        switch (it->name) {
 1925|      0|        case EatLocation:
  ------------------
  |  Branch (1925:9): [True: 0, False: 0]
  ------------------
 1926|       |            // location
 1927|      0|            if (it->getInt(value))
  ------------------
  |  Branch (1927:17): [True: 0, False: 0]
  ------------------
 1928|      0|                type.getQualifier().layoutLocation = value;
 1929|      0|            else
 1930|      0|                error(loc, "needs a literal integer", "location", "");
 1931|      0|            break;
 1932|      0|        case EatBinding:
  ------------------
  |  Branch (1932:9): [True: 0, False: 0]
  ------------------
 1933|       |            // binding
 1934|      0|            if (it->getInt(value)) {
  ------------------
  |  Branch (1934:17): [True: 0, False: 0]
  ------------------
 1935|      0|                type.getQualifier().layoutBinding = value;
 1936|      0|                type.getQualifier().layoutSet = 0;
 1937|      0|            } else
 1938|      0|                error(loc, "needs a literal integer", "binding", "");
 1939|       |            // set
 1940|      0|            if (it->getInt(value, 1))
  ------------------
  |  Branch (1940:17): [True: 0, False: 0]
  ------------------
 1941|      0|                type.getQualifier().layoutSet = value;
 1942|      0|            break;
 1943|      0|        case EatGlobalBinding:
  ------------------
  |  Branch (1943:9): [True: 0, False: 0]
  ------------------
 1944|       |            // global cbuffer binding
 1945|      0|            if (it->getInt(value))
  ------------------
  |  Branch (1945:17): [True: 0, False: 0]
  ------------------
 1946|      0|                globalUniformBinding = value;
 1947|      0|            else
 1948|      0|                error(loc, "needs a literal integer", "global binding", "");
 1949|       |            // global cbuffer set
 1950|      0|            if (it->getInt(value, 1))
  ------------------
  |  Branch (1950:17): [True: 0, False: 0]
  ------------------
 1951|      0|                globalUniformSet = value;
 1952|      0|            break;
 1953|      0|        case EatInputAttachment:
  ------------------
  |  Branch (1953:9): [True: 0, False: 0]
  ------------------
 1954|       |            // input attachment
 1955|      0|            if (it->getInt(value))
  ------------------
  |  Branch (1955:17): [True: 0, False: 0]
  ------------------
 1956|      0|                type.getQualifier().layoutAttachment = value;
 1957|      0|            else
 1958|      0|                error(loc, "needs a literal integer", "input attachment", "");
 1959|      0|            break;
 1960|      0|        case EatBuiltIn:
  ------------------
  |  Branch (1960:9): [True: 0, False: 0]
  ------------------
 1961|       |            // PointSize built-in
 1962|      0|            if (it->getString(builtInString, 0, false)) {
  ------------------
  |  Branch (1962:17): [True: 0, False: 0]
  ------------------
 1963|      0|                if (builtInString == "PointSize")
  ------------------
  |  Branch (1963:21): [True: 0, False: 0]
  ------------------
 1964|      0|                    type.getQualifier().builtIn = EbvPointSize;
 1965|      0|            }
 1966|      0|            break;
 1967|      0|        case EatPushConstant:
  ------------------
  |  Branch (1967:9): [True: 0, False: 0]
  ------------------
 1968|       |            // push_constant
 1969|      0|            type.getQualifier().layoutPushConstant = true;
 1970|      0|            break;
 1971|      0|        case EatConstantId:
  ------------------
  |  Branch (1971:9): [True: 0, False: 0]
  ------------------
 1972|       |            // specialization constant
 1973|      0|            if (type.getQualifier().storage != EvqConst) {
  ------------------
  |  Branch (1973:17): [True: 0, False: 0]
  ------------------
 1974|      0|                error(loc, "needs a const type", "constant_id", "");
 1975|      0|                break;
 1976|      0|            }
 1977|      0|            if (it->getInt(value)) {
  ------------------
  |  Branch (1977:17): [True: 0, False: 0]
  ------------------
 1978|      0|                TSourceLoc loc;
 1979|      0|                loc.init();
 1980|      0|                setSpecConstantId(loc, type.getQualifier(), (unsigned)value);
 1981|      0|            }
 1982|      0|            break;
 1983|       |
 1984|       |        // image formats
 1985|      0|        case EatFormatRgba32f:      type.getQualifier().layoutFormat = ElfRgba32f;      break;
  ------------------
  |  Branch (1985:9): [True: 0, False: 0]
  ------------------
 1986|      0|        case EatFormatRgba16f:      type.getQualifier().layoutFormat = ElfRgba16f;      break;
  ------------------
  |  Branch (1986:9): [True: 0, False: 0]
  ------------------
 1987|      0|        case EatFormatR32f:         type.getQualifier().layoutFormat = ElfR32f;         break;
  ------------------
  |  Branch (1987:9): [True: 0, False: 0]
  ------------------
 1988|      0|        case EatFormatRgba8:        type.getQualifier().layoutFormat = ElfRgba8;        break;
  ------------------
  |  Branch (1988:9): [True: 0, False: 0]
  ------------------
 1989|      0|        case EatFormatRgba8Snorm:   type.getQualifier().layoutFormat = ElfRgba8Snorm;   break;
  ------------------
  |  Branch (1989:9): [True: 0, False: 0]
  ------------------
 1990|      0|        case EatFormatRg32f:        type.getQualifier().layoutFormat = ElfRg32f;        break;
  ------------------
  |  Branch (1990:9): [True: 0, False: 0]
  ------------------
 1991|      0|        case EatFormatRg16f:        type.getQualifier().layoutFormat = ElfRg16f;        break;
  ------------------
  |  Branch (1991:9): [True: 0, False: 0]
  ------------------
 1992|      0|        case EatFormatR11fG11fB10f: type.getQualifier().layoutFormat = ElfR11fG11fB10f; break;
  ------------------
  |  Branch (1992:9): [True: 0, False: 0]
  ------------------
 1993|      0|        case EatFormatR16f:         type.getQualifier().layoutFormat = ElfR16f;         break;
  ------------------
  |  Branch (1993:9): [True: 0, False: 0]
  ------------------
 1994|      0|        case EatFormatRgba16:       type.getQualifier().layoutFormat = ElfRgba16;       break;
  ------------------
  |  Branch (1994:9): [True: 0, False: 0]
  ------------------
 1995|      0|        case EatFormatRgb10A2:      type.getQualifier().layoutFormat = ElfRgb10A2;      break;
  ------------------
  |  Branch (1995:9): [True: 0, False: 0]
  ------------------
 1996|      0|        case EatFormatRg16:         type.getQualifier().layoutFormat = ElfRg16;         break;
  ------------------
  |  Branch (1996:9): [True: 0, False: 0]
  ------------------
 1997|      0|        case EatFormatRg8:          type.getQualifier().layoutFormat = ElfRg8;          break;
  ------------------
  |  Branch (1997:9): [True: 0, False: 0]
  ------------------
 1998|      0|        case EatFormatR16:          type.getQualifier().layoutFormat = ElfR16;          break;
  ------------------
  |  Branch (1998:9): [True: 0, False: 0]
  ------------------
 1999|      0|        case EatFormatR8:           type.getQualifier().layoutFormat = ElfR8;           break;
  ------------------
  |  Branch (1999:9): [True: 0, False: 0]
  ------------------
 2000|      0|        case EatFormatRgba16Snorm:  type.getQualifier().layoutFormat = ElfRgba16Snorm;  break;
  ------------------
  |  Branch (2000:9): [True: 0, False: 0]
  ------------------
 2001|      0|        case EatFormatRg16Snorm:    type.getQualifier().layoutFormat = ElfRg16Snorm;    break;
  ------------------
  |  Branch (2001:9): [True: 0, False: 0]
  ------------------
 2002|      0|        case EatFormatRg8Snorm:     type.getQualifier().layoutFormat = ElfRg8Snorm;     break;
  ------------------
  |  Branch (2002:9): [True: 0, False: 0]
  ------------------
 2003|      0|        case EatFormatR16Snorm:     type.getQualifier().layoutFormat = ElfR16Snorm;     break;
  ------------------
  |  Branch (2003:9): [True: 0, False: 0]
  ------------------
 2004|      0|        case EatFormatR8Snorm:      type.getQualifier().layoutFormat = ElfR8Snorm;      break;
  ------------------
  |  Branch (2004:9): [True: 0, False: 0]
  ------------------
 2005|      0|        case EatFormatRgba32i:      type.getQualifier().layoutFormat = ElfRgba32i;      break;
  ------------------
  |  Branch (2005:9): [True: 0, False: 0]
  ------------------
 2006|      0|        case EatFormatRgba16i:      type.getQualifier().layoutFormat = ElfRgba16i;      break;
  ------------------
  |  Branch (2006:9): [True: 0, False: 0]
  ------------------
 2007|      0|        case EatFormatRgba8i:       type.getQualifier().layoutFormat = ElfRgba8i;       break;
  ------------------
  |  Branch (2007:9): [True: 0, False: 0]
  ------------------
 2008|      0|        case EatFormatR32i:         type.getQualifier().layoutFormat = ElfR32i;         break;
  ------------------
  |  Branch (2008:9): [True: 0, False: 0]
  ------------------
 2009|      0|        case EatFormatRg32i:        type.getQualifier().layoutFormat = ElfRg32i;        break;
  ------------------
  |  Branch (2009:9): [True: 0, False: 0]
  ------------------
 2010|      0|        case EatFormatRg16i:        type.getQualifier().layoutFormat = ElfRg16i;        break;
  ------------------
  |  Branch (2010:9): [True: 0, False: 0]
  ------------------
 2011|      0|        case EatFormatRg8i:         type.getQualifier().layoutFormat = ElfRg8i;         break;
  ------------------
  |  Branch (2011:9): [True: 0, False: 0]
  ------------------
 2012|      0|        case EatFormatR16i:         type.getQualifier().layoutFormat = ElfR16i;         break;
  ------------------
  |  Branch (2012:9): [True: 0, False: 0]
  ------------------
 2013|      0|        case EatFormatR8i:          type.getQualifier().layoutFormat = ElfR8i;          break;
  ------------------
  |  Branch (2013:9): [True: 0, False: 0]
  ------------------
 2014|      0|        case EatFormatRgba32ui:     type.getQualifier().layoutFormat = ElfRgba32ui;     break;
  ------------------
  |  Branch (2014:9): [True: 0, False: 0]
  ------------------
 2015|      0|        case EatFormatRgba16ui:     type.getQualifier().layoutFormat = ElfRgba16ui;     break;
  ------------------
  |  Branch (2015:9): [True: 0, False: 0]
  ------------------
 2016|      0|        case EatFormatRgba8ui:      type.getQualifier().layoutFormat = ElfRgba8ui;      break;
  ------------------
  |  Branch (2016:9): [True: 0, False: 0]
  ------------------
 2017|      0|        case EatFormatR32ui:        type.getQualifier().layoutFormat = ElfR32ui;        break;
  ------------------
  |  Branch (2017:9): [True: 0, False: 0]
  ------------------
 2018|      0|        case EatFormatRgb10a2ui:    type.getQualifier().layoutFormat = ElfRgb10a2ui;    break;
  ------------------
  |  Branch (2018:9): [True: 0, False: 0]
  ------------------
 2019|      0|        case EatFormatRg32ui:       type.getQualifier().layoutFormat = ElfRg32ui;       break;
  ------------------
  |  Branch (2019:9): [True: 0, False: 0]
  ------------------
 2020|      0|        case EatFormatRg16ui:       type.getQualifier().layoutFormat = ElfRg16ui;       break;
  ------------------
  |  Branch (2020:9): [True: 0, False: 0]
  ------------------
 2021|      0|        case EatFormatRg8ui:        type.getQualifier().layoutFormat = ElfRg8ui;        break;
  ------------------
  |  Branch (2021:9): [True: 0, False: 0]
  ------------------
 2022|      0|        case EatFormatR16ui:        type.getQualifier().layoutFormat = ElfR16ui;        break;
  ------------------
  |  Branch (2022:9): [True: 0, False: 0]
  ------------------
 2023|      0|        case EatFormatR8ui:         type.getQualifier().layoutFormat = ElfR8ui;         break;
  ------------------
  |  Branch (2023:9): [True: 0, False: 0]
  ------------------
 2024|      0|        case EatFormatUnknown:      type.getQualifier().layoutFormat = ElfNone;         break;
  ------------------
  |  Branch (2024:9): [True: 0, False: 0]
  ------------------
 2025|       |
 2026|      0|        case EatNonWritable:  type.getQualifier().readonly = true;   break;
  ------------------
  |  Branch (2026:9): [True: 0, False: 0]
  ------------------
 2027|      0|        case EatNonReadable:  type.getQualifier().writeonly = true;  break;
  ------------------
  |  Branch (2027:9): [True: 0, False: 0]
  ------------------
 2028|       |
 2029|      0|        default:
  ------------------
  |  Branch (2029:9): [True: 0, False: 0]
  ------------------
 2030|      0|            if (! allowEntry)
  ------------------
  |  Branch (2030:17): [True: 0, False: 0]
  ------------------
 2031|      0|                warn(loc, "attribute does not apply to a type", "", "");
 2032|      0|            break;
 2033|      0|        }
 2034|      0|    }
 2035|      0|}
_ZN7glslang16HlslParseContext22handleFunctionArgumentEPNS_9TFunctionERPNS_12TIntermTypedES4_:
 2479|      6|{
 2480|      6|    TParameter param = { nullptr, new TType, nullptr };
 2481|      6|    param.type->shallowCopy(newArg->getType());
 2482|       |
 2483|      6|    function->addParameter(param);
 2484|      6|    if (arguments)
  ------------------
  |  Branch (2484:9): [True: 0, False: 6]
  ------------------
 2485|      0|        arguments = intermediate.growAggregate(arguments, newArg);
 2486|      6|    else
 2487|      6|        arguments = newArg;
 2488|      6|}
_ZN7glslang16HlslParseContext18handleFunctionCallERKNS_10TSourceLocEPNS_9TFunctionEPNS_12TIntermTypedE:
 5505|      4|{
 5506|      4|    TIntermTyped* result = nullptr;
 5507|       |
 5508|      4|    TOperator op = function->getBuiltInOp();
 5509|      4|    if (op != EOpNull) {
  ------------------
  |  Branch (5509:9): [True: 4, False: 0]
  ------------------
 5510|       |        //
 5511|       |        // Then this should be a constructor.
 5512|       |        // Don't go through the symbol table for constructors.
 5513|       |        // Their parameters will be verified algorithmically.
 5514|       |        //
 5515|      4|        TType type(EbtVoid);  // use this to get the type back
 5516|      4|        if (! constructorError(loc, arguments, *function, op, type)) {
  ------------------
  |  Branch (5516:13): [True: 4, False: 0]
  ------------------
 5517|       |            //
 5518|       |            // It's a constructor, of type 'type'.
 5519|       |            //
 5520|      4|            result = handleConstructor(loc, arguments, type);
 5521|      4|            if (result == nullptr) {
  ------------------
  |  Branch (5521:17): [True: 0, False: 4]
  ------------------
 5522|      0|                error(loc, "cannot construct with these arguments", type.getCompleteString().c_str(), "");
 5523|      0|                return nullptr;
 5524|      0|            }
 5525|      4|        }
 5526|      4|    } else {
 5527|       |        //
 5528|       |        // Find it in the symbol table.
 5529|       |        //
 5530|      0|        const TFunction* fnCandidate = nullptr;
 5531|      0|        bool builtIn = false;
 5532|      0|        int thisDepth = 0;
 5533|       |
 5534|       |        // For mat mul, the situation is unusual: we have to compare vector sizes to mat row or col sizes,
 5535|       |        // and clamp the opposite arg.  Since that's complex, we farm it off to a separate method.
 5536|       |        // It doesn't naturally fall out of processing an argument at a time in isolation.
 5537|      0|        if (function->getName() == "mul")
  ------------------
  |  Branch (5537:13): [True: 0, False: 0]
  ------------------
 5538|      0|            addGenMulArgumentConversion(loc, *function, arguments);
 5539|       |
 5540|      0|        TIntermAggregate* aggregate = arguments ? arguments->getAsAggregate() : nullptr;
  ------------------
  |  Branch (5540:39): [True: 0, False: 0]
  ------------------
 5541|       |
 5542|       |        // TODO: this needs improvement: there's no way at present to look up a signature in
 5543|       |        // the symbol table for an arbitrary type.  This is a temporary hack until that ability exists.
 5544|       |        // It will have false positives, since it doesn't check arg counts or types.
 5545|      0|        if (arguments) {
  ------------------
  |  Branch (5545:13): [True: 0, False: 0]
  ------------------
 5546|       |            // Check if first argument is struct buffer type.  It may be an aggregate or a symbol, so we
 5547|       |            // look for either case.
 5548|       |
 5549|      0|            TIntermTyped* arg0 = nullptr;
 5550|       |
 5551|      0|            if (aggregate && aggregate->getSequence().size() > 0 && aggregate->getSequence()[0])
  ------------------
  |  Branch (5551:17): [True: 0, False: 0]
  |  Branch (5551:30): [True: 0, False: 0]
  |  Branch (5551:69): [True: 0, False: 0]
  ------------------
 5552|      0|                arg0 = aggregate->getSequence()[0]->getAsTyped();
 5553|      0|            else if (arguments->getAsSymbolNode())
  ------------------
  |  Branch (5553:22): [True: 0, False: 0]
  ------------------
 5554|      0|                arg0 = arguments->getAsSymbolNode();
 5555|       |
 5556|      0|            if (arg0 != nullptr && isStructBufferType(arg0->getType())) {
  ------------------
  |  Branch (5556:17): [True: 0, False: 0]
  |  Branch (5556:36): [True: 0, False: 0]
  ------------------
 5557|      0|                static const int methodPrefixSize = sizeof(BUILTIN_PREFIX)-1;
  ------------------
  |  |  513|      0|#define BUILTIN_PREFIX "__BI_"
  ------------------
 5558|       |
 5559|      0|                if (function->getName().length() > methodPrefixSize &&
  ------------------
  |  Branch (5559:21): [True: 0, False: 0]
  |  Branch (5559:21): [True: 0, False: 0]
  ------------------
 5560|      0|                    isStructBufferMethod(function->getName().substr(methodPrefixSize))) {
  ------------------
  |  Branch (5560:21): [True: 0, False: 0]
  ------------------
 5561|      0|                    const TString mangle = function->getName() + "(";
 5562|      0|                    TSymbol* symbol = symbolTable.find(mangle, &builtIn);
 5563|       |
 5564|      0|                    if (symbol)
  ------------------
  |  Branch (5564:25): [True: 0, False: 0]
  ------------------
 5565|      0|                        fnCandidate = symbol->getAsFunction();
 5566|      0|                }
 5567|      0|            }
 5568|      0|        }
 5569|       |
 5570|      0|        if (fnCandidate == nullptr)
  ------------------
  |  Branch (5570:13): [True: 0, False: 0]
  ------------------
 5571|      0|            fnCandidate = findFunction(loc, *function, builtIn, thisDepth, arguments);
 5572|       |
 5573|      0|        if (fnCandidate) {
  ------------------
  |  Branch (5573:13): [True: 0, False: 0]
  ------------------
 5574|       |            // This is a declared function that might map to
 5575|       |            //  - a built-in operator,
 5576|       |            //  - a built-in function not mapped to an operator, or
 5577|       |            //  - a user function.
 5578|       |
 5579|       |            // turn an implicit member-function resolution into an explicit call
 5580|      0|            TString callerName;
 5581|      0|            if (thisDepth == 0)
  ------------------
  |  Branch (5581:17): [True: 0, False: 0]
  ------------------
 5582|      0|                callerName = fnCandidate->getMangledName();
 5583|      0|            else {
 5584|       |                // get the explicit (full) name of the function
 5585|      0|                assert(currentTypePrefix.size() >= size_t(thisDepth));
 5586|      0|                callerName = currentTypePrefix[currentTypePrefix.size() - thisDepth];
 5587|      0|                callerName += fnCandidate->getMangledName();
 5588|       |                // insert the implicit calling argument
 5589|      0|                pushFrontArguments(intermediate.addSymbol(*getImplicitThis(thisDepth)), arguments);
 5590|      0|            }
 5591|       |
 5592|       |            // Convert 'in' arguments, so that types match.
 5593|       |            // However, skip those that need expansion, that is covered next.
 5594|      0|            if (arguments)
  ------------------
  |  Branch (5594:17): [True: 0, False: 0]
  ------------------
 5595|      0|                addInputArgumentConversions(*fnCandidate, arguments);
 5596|       |
 5597|       |            // Expand arguments.  Some arguments must physically expand to a different set
 5598|       |            // than what the shader declared and passes.
 5599|      0|            if (arguments && !builtIn)
  ------------------
  |  Branch (5599:17): [True: 0, False: 0]
  |  Branch (5599:30): [True: 0, False: 0]
  ------------------
 5600|      0|                expandArguments(loc, *fnCandidate, arguments);
 5601|       |
 5602|       |            // Expansion may have changed the form of arguments
 5603|      0|            aggregate = arguments ? arguments->getAsAggregate() : nullptr;
  ------------------
  |  Branch (5603:25): [True: 0, False: 0]
  ------------------
 5604|       |
 5605|      0|            op = fnCandidate->getBuiltInOp();
 5606|      0|            if (builtIn && op != EOpNull) {
  ------------------
  |  Branch (5606:17): [True: 0, False: 0]
  |  Branch (5606:28): [True: 0, False: 0]
  ------------------
 5607|       |                // SM 4.0 and above guarantees roundEven semantics for round()
 5608|      0|                if (!hlslDX9Compatible() && op == EOpRound)
  ------------------
  |  Branch (5608:21): [True: 0, False: 0]
  |  Branch (5608:45): [True: 0, False: 0]
  ------------------
 5609|      0|                    op = EOpRoundEven;
 5610|       |
 5611|       |                // A function call mapped to a built-in operation.
 5612|      0|                result = intermediate.addBuiltInFunctionCall(loc, op, fnCandidate->getParamCount() == 1, arguments,
 5613|      0|                                                             fnCandidate->getType());
 5614|      0|                if (result == nullptr)  {
  ------------------
  |  Branch (5614:21): [True: 0, False: 0]
  ------------------
 5615|      0|                    error(arguments->getLoc(), " wrong operand type", "Internal Error",
 5616|      0|                        "built in unary operator function.  Type: %s",
 5617|      0|                        static_cast<TIntermTyped*>(arguments)->getCompleteString().c_str());
 5618|      0|                } else if (result->getAsOperator()) {
  ------------------
  |  Branch (5618:28): [True: 0, False: 0]
  ------------------
 5619|      0|                    builtInOpCheck(loc, *fnCandidate, *result->getAsOperator());
 5620|      0|                }
 5621|      0|            } else {
 5622|       |                // This is a function call not mapped to built-in operator.
 5623|       |                // It could still be a built-in function, but only if PureOperatorBuiltins == false.
 5624|      0|                result = intermediate.setAggregateOperator(arguments, EOpFunctionCall, fnCandidate->getType(), loc);
 5625|      0|                TIntermAggregate* call = result->getAsAggregate();
 5626|      0|                call->setName(callerName);
 5627|       |
 5628|       |                // this is how we know whether the given function is a built-in function or a user-defined function
 5629|       |                // if builtIn == false, it's a userDefined -> could be an overloaded built-in function also
 5630|       |                // if builtIn == true, it's definitely a built-in function with EOpNull
 5631|      0|                if (! builtIn) {
  ------------------
  |  Branch (5631:21): [True: 0, False: 0]
  ------------------
 5632|      0|                    call->setUserDefined();
 5633|      0|                    intermediate.addToCallGraph(infoSink, currentCaller, callerName);
 5634|      0|                }
 5635|      0|            }
 5636|       |
 5637|       |            // for decompositions, since we want to operate on the function node, not the aggregate holding
 5638|       |            // output conversions.
 5639|      0|            const TIntermTyped* fnNode = result;
 5640|       |
 5641|      0|            decomposeStructBufferMethods(loc, result, arguments); // HLSL->AST struct buffer method decompositions
 5642|      0|            decomposeIntrinsic(loc, result, arguments);           // HLSL->AST intrinsic decompositions
 5643|      0|            decomposeSampleMethods(loc, result, arguments);       // HLSL->AST sample method decompositions
 5644|      0|            decomposeGeometryMethods(loc, result, arguments);     // HLSL->AST geometry method decompositions
 5645|       |
 5646|       |            // Create the qualifier list, carried in the AST for the call.
 5647|       |            // Because some arguments expand to multiple arguments, the qualifier list will
 5648|       |            // be longer than the formal parameter list.
 5649|      0|            if (result == fnNode && result->getAsAggregate()) {
  ------------------
  |  Branch (5649:17): [True: 0, False: 0]
  |  Branch (5649:37): [True: 0, False: 0]
  ------------------
 5650|      0|                TQualifierList& qualifierList = result->getAsAggregate()->getQualifierList();
 5651|      0|                for (int i = 0; i < fnCandidate->getParamCount(); ++i) {
  ------------------
  |  Branch (5651:33): [True: 0, False: 0]
  ------------------
 5652|      0|                    TStorageQualifier qual = (*fnCandidate)[i].type->getQualifier().storage;
 5653|      0|                    if (hasStructBuffCounter(*(*fnCandidate)[i].type)) {
  ------------------
  |  Branch (5653:25): [True: 0, False: 0]
  ------------------
 5654|       |                        // add buffer and counter buffer argument qualifier
 5655|      0|                        qualifierList.push_back(qual);
 5656|      0|                        qualifierList.push_back(qual);
 5657|      0|                    } else if (shouldFlatten(*(*fnCandidate)[i].type, (*fnCandidate)[i].type->getQualifier().storage,
  ------------------
  |  Branch (5657:32): [True: 0, False: 0]
  ------------------
 5658|      0|                                             true)) {
 5659|       |                        // add structure member expansion
 5660|      0|                        for (int memb = 0; memb < (int)(*fnCandidate)[i].type->getStruct()->size(); ++memb)
  ------------------
  |  Branch (5660:44): [True: 0, False: 0]
  ------------------
 5661|      0|                            qualifierList.push_back(qual);
 5662|      0|                    } else {
 5663|       |                        // Normal 1:1 case
 5664|      0|                        qualifierList.push_back(qual);
 5665|      0|                    }
 5666|      0|                }
 5667|      0|            }
 5668|       |
 5669|       |            // Convert 'out' arguments.  If it was a constant folded built-in, it won't be an aggregate anymore.
 5670|       |            // Built-ins with a single argument aren't called with an aggregate, but they also don't have an output.
 5671|       |            // Also, build the qualifier list for user function calls, which are always called with an aggregate.
 5672|       |            // We don't do this is if there has been a decomposition, which will have added its own conversions
 5673|       |            // for output parameters.
 5674|      0|            if (result == fnNode && result->getAsAggregate())
  ------------------
  |  Branch (5674:17): [True: 0, False: 0]
  |  Branch (5674:37): [True: 0, False: 0]
  ------------------
 5675|      0|                result = addOutputArgumentConversions(*fnCandidate, *result->getAsOperator());
 5676|      0|        }
 5677|      0|    }
 5678|       |
 5679|       |    // generic error recovery
 5680|       |    // TODO: simplification: localize all the error recoveries that look like this, and taking type into account to
 5681|       |    //       reduce cascades
 5682|      4|    if (result == nullptr)
  ------------------
  |  Branch (5682:9): [True: 0, False: 4]
  ------------------
 5683|      0|        result = intermediate.addConstantUnion(0.0, EbtFloat, loc);
 5684|       |
 5685|      4|    return result;
 5686|      4|}
_ZN7glslang16HlslParseContext19makeConstructorCallERKNS_10TSourceLocERKNS_5TTypeE:
 6224|    155|{
 6225|    155|    TOperator op = intermediate.mapTypeToConstructorOp(type);
 6226|       |
 6227|    155|    if (op == EOpNull) {
  ------------------
  |  Branch (6227:9): [True: 0, False: 155]
  ------------------
 6228|      0|        error(loc, "cannot construct this type", type.getBasicString(), "");
 6229|      0|        return nullptr;
 6230|      0|    }
 6231|       |
 6232|    155|    TString empty("");
 6233|       |
 6234|    155|    return new TFunction(&empty, type, op);
 6235|    155|}
_ZN7glslang16HlslParseContext28convertConditionalExpressionERKNS_10TSourceLocEPNS_12TIntermTypedEb:
 6461|      8|{
 6462|      8|    if (mustBeScalar && !condition->getType().isScalarOrVec1()) {
  ------------------
  |  Branch (6462:9): [True: 0, False: 8]
  |  Branch (6462:25): [True: 0, False: 0]
  ------------------
 6463|      0|        error(loc, "requires a scalar", "conditional expression", "");
 6464|      0|        return nullptr;
 6465|      0|    }
 6466|       |
 6467|      8|    return intermediate.addConversion(EOpConstructBool, TType(EbtBool, EvqTemporary, condition->getVectorSize()),
 6468|      8|                                      condition);
 6469|      8|}
_ZN7glslang16HlslParseContext13variableCheckERPNS_12TIntermTypedE:
 6507|      2|{
 6508|      2|    TIntermSymbol* symbol = nodePtr->getAsSymbolNode();
 6509|      2|    if (! symbol)
  ------------------
  |  Branch (6509:9): [True: 2, False: 0]
  ------------------
 6510|      2|        return;
 6511|       |
 6512|      0|    if (symbol->getType().getBasicType() == EbtVoid) {
  ------------------
  |  Branch (6512:9): [True: 0, False: 0]
  ------------------
 6513|      0|        error(symbol->getLoc(), "undeclared identifier", symbol->getName().c_str(), "");
 6514|       |
 6515|       |        // Add to symbol table to prevent future error messages on the same name
 6516|      0|        if (symbol->getName().size() > 0) {
  ------------------
  |  Branch (6516:13): [True: 0, False: 0]
  ------------------
 6517|      0|            TVariable* fakeVariable = new TVariable(&symbol->getName(), TType(EbtFloat));
 6518|      0|            symbolTable.insert(*fakeVariable);
 6519|       |
 6520|       |            // substitute a symbol node for this new variable
 6521|      0|            nodePtr = intermediate.addSymbol(*fakeVariable, symbol->getLoc());
 6522|      0|        }
 6523|      0|    }
 6524|      0|}
_ZN7glslang16HlslParseContext16constructorErrorERKNS_10TSourceLocEP11TIntermNodeRNS_9TFunctionENS_9TOperatorERNS_5TTypeE:
 6572|      4|{
 6573|      4|    type.shallowCopy(function.getType());
 6574|       |
 6575|      4|    bool constructingMatrix = false;
 6576|      4|    switch (op) {
 6577|      0|    case EOpConstructTextureSampler:
  ------------------
  |  Branch (6577:5): [True: 0, False: 4]
  ------------------
 6578|      0|        error(loc, "unhandled texture constructor", "constructor", "");
 6579|      0|        return true;
 6580|      0|    case EOpConstructMat2x2:
  ------------------
  |  Branch (6580:5): [True: 0, False: 4]
  ------------------
 6581|      0|    case EOpConstructMat2x3:
  ------------------
  |  Branch (6581:5): [True: 0, False: 4]
  ------------------
 6582|      0|    case EOpConstructMat2x4:
  ------------------
  |  Branch (6582:5): [True: 0, False: 4]
  ------------------
 6583|      0|    case EOpConstructMat3x2:
  ------------------
  |  Branch (6583:5): [True: 0, False: 4]
  ------------------
 6584|      0|    case EOpConstructMat3x3:
  ------------------
  |  Branch (6584:5): [True: 0, False: 4]
  ------------------
 6585|      0|    case EOpConstructMat3x4:
  ------------------
  |  Branch (6585:5): [True: 0, False: 4]
  ------------------
 6586|      0|    case EOpConstructMat4x2:
  ------------------
  |  Branch (6586:5): [True: 0, False: 4]
  ------------------
 6587|      0|    case EOpConstructMat4x3:
  ------------------
  |  Branch (6587:5): [True: 0, False: 4]
  ------------------
 6588|      0|    case EOpConstructMat4x4:
  ------------------
  |  Branch (6588:5): [True: 0, False: 4]
  ------------------
 6589|      0|    case EOpConstructDMat2x2:
  ------------------
  |  Branch (6589:5): [True: 0, False: 4]
  ------------------
 6590|      0|    case EOpConstructDMat2x3:
  ------------------
  |  Branch (6590:5): [True: 0, False: 4]
  ------------------
 6591|      0|    case EOpConstructDMat2x4:
  ------------------
  |  Branch (6591:5): [True: 0, False: 4]
  ------------------
 6592|      0|    case EOpConstructDMat3x2:
  ------------------
  |  Branch (6592:5): [True: 0, False: 4]
  ------------------
 6593|      0|    case EOpConstructDMat3x3:
  ------------------
  |  Branch (6593:5): [True: 0, False: 4]
  ------------------
 6594|      0|    case EOpConstructDMat3x4:
  ------------------
  |  Branch (6594:5): [True: 0, False: 4]
  ------------------
 6595|      0|    case EOpConstructDMat4x2:
  ------------------
  |  Branch (6595:5): [True: 0, False: 4]
  ------------------
 6596|      0|    case EOpConstructDMat4x3:
  ------------------
  |  Branch (6596:5): [True: 0, False: 4]
  ------------------
 6597|      0|    case EOpConstructDMat4x4:
  ------------------
  |  Branch (6597:5): [True: 0, False: 4]
  ------------------
 6598|      0|    case EOpConstructIMat2x2:
  ------------------
  |  Branch (6598:5): [True: 0, False: 4]
  ------------------
 6599|      0|    case EOpConstructIMat2x3:
  ------------------
  |  Branch (6599:5): [True: 0, False: 4]
  ------------------
 6600|      0|    case EOpConstructIMat2x4:
  ------------------
  |  Branch (6600:5): [True: 0, False: 4]
  ------------------
 6601|      0|    case EOpConstructIMat3x2:
  ------------------
  |  Branch (6601:5): [True: 0, False: 4]
  ------------------
 6602|      0|    case EOpConstructIMat3x3:
  ------------------
  |  Branch (6602:5): [True: 0, False: 4]
  ------------------
 6603|      0|    case EOpConstructIMat3x4:
  ------------------
  |  Branch (6603:5): [True: 0, False: 4]
  ------------------
 6604|      0|    case EOpConstructIMat4x2:
  ------------------
  |  Branch (6604:5): [True: 0, False: 4]
  ------------------
 6605|      0|    case EOpConstructIMat4x3:
  ------------------
  |  Branch (6605:5): [True: 0, False: 4]
  ------------------
 6606|      0|    case EOpConstructIMat4x4:
  ------------------
  |  Branch (6606:5): [True: 0, False: 4]
  ------------------
 6607|      0|    case EOpConstructUMat2x2:
  ------------------
  |  Branch (6607:5): [True: 0, False: 4]
  ------------------
 6608|      0|    case EOpConstructUMat2x3:
  ------------------
  |  Branch (6608:5): [True: 0, False: 4]
  ------------------
 6609|      0|    case EOpConstructUMat2x4:
  ------------------
  |  Branch (6609:5): [True: 0, False: 4]
  ------------------
 6610|      0|    case EOpConstructUMat3x2:
  ------------------
  |  Branch (6610:5): [True: 0, False: 4]
  ------------------
 6611|      0|    case EOpConstructUMat3x3:
  ------------------
  |  Branch (6611:5): [True: 0, False: 4]
  ------------------
 6612|      0|    case EOpConstructUMat3x4:
  ------------------
  |  Branch (6612:5): [True: 0, False: 4]
  ------------------
 6613|      0|    case EOpConstructUMat4x2:
  ------------------
  |  Branch (6613:5): [True: 0, False: 4]
  ------------------
 6614|      0|    case EOpConstructUMat4x3:
  ------------------
  |  Branch (6614:5): [True: 0, False: 4]
  ------------------
 6615|      0|    case EOpConstructUMat4x4:
  ------------------
  |  Branch (6615:5): [True: 0, False: 4]
  ------------------
 6616|      0|    case EOpConstructBMat2x2:
  ------------------
  |  Branch (6616:5): [True: 0, False: 4]
  ------------------
 6617|      0|    case EOpConstructBMat2x3:
  ------------------
  |  Branch (6617:5): [True: 0, False: 4]
  ------------------
 6618|      0|    case EOpConstructBMat2x4:
  ------------------
  |  Branch (6618:5): [True: 0, False: 4]
  ------------------
 6619|      0|    case EOpConstructBMat3x2:
  ------------------
  |  Branch (6619:5): [True: 0, False: 4]
  ------------------
 6620|      0|    case EOpConstructBMat3x3:
  ------------------
  |  Branch (6620:5): [True: 0, False: 4]
  ------------------
 6621|      0|    case EOpConstructBMat3x4:
  ------------------
  |  Branch (6621:5): [True: 0, False: 4]
  ------------------
 6622|      0|    case EOpConstructBMat4x2:
  ------------------
  |  Branch (6622:5): [True: 0, False: 4]
  ------------------
 6623|      0|    case EOpConstructBMat4x3:
  ------------------
  |  Branch (6623:5): [True: 0, False: 4]
  ------------------
 6624|      0|    case EOpConstructBMat4x4:
  ------------------
  |  Branch (6624:5): [True: 0, False: 4]
  ------------------
 6625|      0|        constructingMatrix = true;
 6626|      0|        break;
 6627|      4|    default:
  ------------------
  |  Branch (6627:5): [True: 4, False: 0]
  ------------------
 6628|      4|        break;
 6629|      4|    }
 6630|       |
 6631|       |    //
 6632|       |    // Walk the arguments for first-pass checks and collection of information.
 6633|       |    //
 6634|       |
 6635|      4|    int size = 0;
 6636|      4|    bool constType = true;
 6637|      4|    bool full = false;
 6638|      4|    bool overFull = false;
 6639|      4|    bool matrixInMatrix = false;
 6640|      4|    bool arrayArg = false;
 6641|      8|    for (int arg = 0; arg < function.getParamCount(); ++arg) {
  ------------------
  |  Branch (6641:23): [True: 4, False: 4]
  ------------------
 6642|      4|        if (function[arg].type->isArray()) {
  ------------------
  |  Branch (6642:13): [True: 0, False: 4]
  ------------------
 6643|      0|            if (function[arg].type->isUnsizedArray()) {
  ------------------
  |  Branch (6643:17): [True: 0, False: 0]
  ------------------
 6644|       |                // Can't construct from an unsized array.
 6645|      0|                error(loc, "array argument must be sized", "constructor", "");
 6646|      0|                return true;
 6647|      0|            }
 6648|      0|            arrayArg = true;
 6649|      0|        }
 6650|      4|        if (constructingMatrix && function[arg].type->isMatrix())
  ------------------
  |  Branch (6650:13): [True: 0, False: 4]
  |  Branch (6650:35): [True: 0, False: 0]
  ------------------
 6651|      0|            matrixInMatrix = true;
 6652|       |
 6653|       |        // 'full' will go to true when enough args have been seen.  If we loop
 6654|       |        // again, there is an extra argument.
 6655|      4|        if (full) {
  ------------------
  |  Branch (6655:13): [True: 0, False: 4]
  ------------------
 6656|       |            // For vectors and matrices, it's okay to have too many components
 6657|       |            // available, but not okay to have unused arguments.
 6658|      0|            overFull = true;
 6659|      0|        }
 6660|       |
 6661|      4|        size += function[arg].type->computeNumComponents();
 6662|      4|        if (op != EOpConstructStruct && ! type.isArray() && size >= type.computeNumComponents())
  ------------------
  |  Branch (6662:13): [True: 4, False: 0]
  |  Branch (6662:41): [True: 4, False: 0]
  |  Branch (6662:61): [True: 4, False: 0]
  ------------------
 6663|      4|            full = true;
 6664|       |
 6665|      4|        if (function[arg].type->getQualifier().storage != EvqConst)
  ------------------
  |  Branch (6665:13): [True: 4, False: 0]
  ------------------
 6666|      4|            constType = false;
 6667|      4|    }
 6668|       |
 6669|      4|    if (constType)
  ------------------
  |  Branch (6669:9): [True: 0, False: 4]
  ------------------
 6670|      0|        type.getQualifier().storage = EvqConst;
 6671|       |
 6672|      4|    if (type.isArray()) {
  ------------------
  |  Branch (6672:9): [True: 0, False: 4]
  ------------------
 6673|      0|        if (function.getParamCount() == 0) {
  ------------------
  |  Branch (6673:13): [True: 0, False: 0]
  ------------------
 6674|      0|            error(loc, "array constructor must have at least one argument", "constructor", "");
 6675|      0|            return true;
 6676|      0|        }
 6677|       |
 6678|      0|        if (type.isUnsizedArray()) {
  ------------------
  |  Branch (6678:13): [True: 0, False: 0]
  ------------------
 6679|       |            // auto adapt the constructor type to the number of arguments
 6680|      0|            type.changeOuterArraySize(function.getParamCount());
 6681|      0|        } else if (type.getOuterArraySize() != function.getParamCount() && type.computeNumComponents() > size) {
  ------------------
  |  Branch (6681:20): [True: 0, False: 0]
  |  Branch (6681:76): [True: 0, False: 0]
  ------------------
 6682|      0|            error(loc, "array constructor needs one argument per array element", "constructor", "");
 6683|      0|            return true;
 6684|      0|        }
 6685|       |
 6686|      0|        if (type.isArrayOfArrays()) {
  ------------------
  |  Branch (6686:13): [True: 0, False: 0]
  ------------------
 6687|       |            // Types have to match, but we're still making the type.
 6688|       |            // Finish making the type, and the comparison is done later
 6689|       |            // when checking for conversion.
 6690|      0|            TArraySizes& arraySizes = *type.getArraySizes();
 6691|       |
 6692|       |            // At least the dimensionalities have to match.
 6693|      0|            if (! function[0].type->isArray() ||
  ------------------
  |  Branch (6693:17): [True: 0, False: 0]
  ------------------
 6694|      0|                arraySizes.getNumDims() != function[0].type->getArraySizes()->getNumDims() + 1) {
  ------------------
  |  Branch (6694:17): [True: 0, False: 0]
  ------------------
 6695|      0|                error(loc, "array constructor argument not correct type to construct array element", "constructor", "");
 6696|      0|                return true;
 6697|      0|            }
 6698|       |
 6699|      0|            if (arraySizes.isInnerUnsized()) {
  ------------------
  |  Branch (6699:17): [True: 0, False: 0]
  ------------------
 6700|       |                // "Arrays of arrays ..., and the size for any dimension is optional"
 6701|       |                // That means we need to adopt (from the first argument) the other array sizes into the type.
 6702|      0|                for (int d = 1; d < arraySizes.getNumDims(); ++d) {
  ------------------
  |  Branch (6702:33): [True: 0, False: 0]
  ------------------
 6703|      0|                    if (arraySizes.getDimSize(d) == UnsizedArraySize) {
  ------------------
  |  Branch (6703:25): [True: 0, False: 0]
  ------------------
 6704|      0|                        arraySizes.setDimSize(d, function[0].type->getArraySizes()->getDimSize(d - 1));
 6705|      0|                    }
 6706|      0|                }
 6707|      0|            }
 6708|      0|        }
 6709|      0|    }
 6710|       |
 6711|       |    // Some array -> array type casts are okay
 6712|      4|    if (arrayArg && function.getParamCount() == 1 && op != EOpConstructStruct && type.isArray() &&
  ------------------
  |  Branch (6712:9): [True: 0, False: 4]
  |  Branch (6712:21): [True: 0, False: 0]
  |  Branch (6712:54): [True: 0, False: 0]
  |  Branch (6712:82): [True: 0, False: 0]
  ------------------
 6713|      0|        !type.isArrayOfArrays() && !function[0].type->isArrayOfArrays() &&
  ------------------
  |  Branch (6713:9): [True: 0, False: 0]
  |  Branch (6713:36): [True: 0, False: 0]
  ------------------
 6714|      0|        type.getVectorSize() >= 1 && function[0].type->getVectorSize() >= 1)
  ------------------
  |  Branch (6714:9): [True: 0, False: 0]
  |  Branch (6714:38): [True: 0, False: 0]
  ------------------
 6715|      0|        return false;
 6716|       |
 6717|      4|    if (arrayArg && op != EOpConstructStruct && ! type.isArrayOfArrays()) {
  ------------------
  |  Branch (6717:9): [True: 0, False: 4]
  |  Branch (6717:21): [True: 0, False: 0]
  |  Branch (6717:49): [True: 0, False: 0]
  ------------------
 6718|      0|        error(loc, "constructing non-array constituent from array argument", "constructor", "");
 6719|      0|        return true;
 6720|      0|    }
 6721|       |
 6722|      4|    if (matrixInMatrix && ! type.isArray()) {
  ------------------
  |  Branch (6722:9): [True: 0, False: 4]
  |  Branch (6722:27): [True: 0, False: 0]
  ------------------
 6723|      0|        return false;
 6724|      0|    }
 6725|       |
 6726|      4|    if (overFull) {
  ------------------
  |  Branch (6726:9): [True: 0, False: 4]
  ------------------
 6727|      0|        error(loc, "too many arguments", "constructor", "");
 6728|      0|        return true;
 6729|      0|    }
 6730|       |
 6731|      4|    if (op == EOpConstructStruct && ! type.isArray()) {
  ------------------
  |  Branch (6731:9): [True: 0, False: 4]
  |  Branch (6731:37): [True: 0, False: 0]
  ------------------
 6732|      0|        if (isScalarConstructor(node))
  ------------------
  |  Branch (6732:13): [True: 0, False: 0]
  ------------------
 6733|      0|            return false;
 6734|       |
 6735|       |        // Self-type construction: e.g, we can construct a struct from a single identically typed object.
 6736|      0|        if (function.getParamCount() == 1 && type == *function[0].type)
  ------------------
  |  Branch (6736:13): [True: 0, False: 0]
  |  Branch (6736:46): [True: 0, False: 0]
  ------------------
 6737|      0|            return false;
 6738|       |
 6739|      0|        if ((int)type.getStruct()->size() != function.getParamCount()) {
  ------------------
  |  Branch (6739:13): [True: 0, False: 0]
  ------------------
 6740|      0|            error(loc, "Number of constructor parameters does not match the number of structure fields", "constructor", "");
 6741|      0|            return true;
 6742|      0|        }
 6743|      0|    }
 6744|       |
 6745|      4|    if ((op != EOpConstructStruct && size != 1 && size < type.computeNumComponents()) ||
  ------------------
  |  Branch (6745:10): [True: 4, False: 0]
  |  Branch (6745:38): [True: 2, False: 2]
  |  Branch (6745:51): [True: 0, False: 2]
  ------------------
 6746|      4|        (op == EOpConstructStruct && size < type.computeNumComponents())) {
  ------------------
  |  Branch (6746:10): [True: 0, False: 4]
  |  Branch (6746:38): [True: 0, False: 0]
  ------------------
 6747|      0|        error(loc, "not enough data provided for construction", "constructor", "");
 6748|      0|        return true;
 6749|      0|    }
 6750|       |
 6751|      4|    return false;
 6752|      4|}
_ZN7glslang16HlslParseContext14voidErrorCheckERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEENS_10TBasicTypeE:
 6776|      2|{
 6777|      2|    if (basicType == EbtVoid) {
  ------------------
  |  Branch (6777:9): [True: 0, False: 2]
  ------------------
 6778|      0|        error(loc, "illegal use of type 'void'", identifier.c_str(), "");
 6779|      0|        return true;
 6780|      0|    }
 6781|       |
 6782|      2|    return false;
 6783|      2|}
_ZN7glslang16HlslParseContext12declareArrayERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_5TTypeERPNS_7TSymbolEb:
 6913|      2|{
 6914|      2|    if (symbol == nullptr) {
  ------------------
  |  Branch (6914:9): [True: 2, False: 0]
  ------------------
 6915|      2|        bool currentScope;
 6916|      2|        symbol = symbolTable.find(identifier, nullptr, &currentScope);
 6917|       |
 6918|      2|        if (symbol && builtInName(identifier) && ! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (6918:13): [True: 0, False: 2]
  |  Branch (6918:23): [True: 0, False: 0]
  |  Branch (6918:50): [True: 0, False: 0]
  ------------------
 6919|       |            // bad shader (errors already reported) trying to redeclare a built-in name as an array
 6920|      0|            return;
 6921|      0|        }
 6922|      2|        if (symbol == nullptr || ! currentScope) {
  ------------------
  |  Branch (6922:13): [True: 2, False: 0]
  |  Branch (6922:34): [True: 0, False: 0]
  ------------------
 6923|       |            //
 6924|       |            // Successfully process a new definition.
 6925|       |            // (Redeclarations have to take place at the same scope; otherwise they are hiding declarations)
 6926|       |            //
 6927|      2|            symbol = new TVariable(&identifier, type);
 6928|      2|            symbolTable.insert(*symbol);
 6929|      2|            if (track && symbolTable.atGlobalLevel())
  ------------------
  |  Branch (6929:17): [True: 2, False: 0]
  |  Branch (6929:26): [True: 2, False: 0]
  ------------------
 6930|      2|                trackLinkage(*symbol);
 6931|       |
 6932|      2|            return;
 6933|      2|        }
 6934|      0|        if (symbol->getAsAnonMember()) {
  ------------------
  |  Branch (6934:13): [True: 0, False: 0]
  ------------------
 6935|      0|            error(loc, "cannot redeclare a user-block member array", identifier.c_str(), "");
 6936|      0|            symbol = nullptr;
 6937|      0|            return;
 6938|      0|        }
 6939|      0|    }
 6940|       |
 6941|       |    //
 6942|       |    // Process a redeclaration.
 6943|       |    //
 6944|       |
 6945|      0|    if (symbol == nullptr) {
  ------------------
  |  Branch (6945:9): [True: 0, False: 0]
  ------------------
 6946|      0|        error(loc, "array variable name expected", identifier.c_str(), "");
 6947|      0|        return;
 6948|      0|    }
 6949|       |
 6950|       |    // redeclareBuiltinVariable() should have already done the copyUp()
 6951|      0|    TType& existingType = symbol->getWritableType();
 6952|       |
 6953|      0|    if (existingType.isSizedArray()) {
  ------------------
  |  Branch (6953:9): [True: 0, False: 0]
  ------------------
 6954|       |        // be more lenient for input arrays to geometry shaders and tessellation control outputs,
 6955|       |        // where the redeclaration is the same size
 6956|      0|        return;
 6957|      0|    }
 6958|       |
 6959|      0|    existingType.updateArraySizes(type);
 6960|      0|}
_ZN7glslang16HlslParseContext12fixConstInitERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERNS_5TTypeERPNS_12TIntermTypedE:
 6967|      2|{
 6968|       |    //
 6969|       |    // Make the qualifier make sense, given that there is an initializer.
 6970|       |    //
 6971|      2|    if (initializer == nullptr) {
  ------------------
  |  Branch (6971:9): [True: 2, False: 0]
  ------------------
 6972|      2|        if (type.getQualifier().storage == EvqConst ||
  ------------------
  |  Branch (6972:13): [True: 0, False: 2]
  ------------------
 6973|      2|            type.getQualifier().storage == EvqConstReadOnly) {
  ------------------
  |  Branch (6973:13): [True: 0, False: 2]
  ------------------
 6974|      0|            initializer = intermediate.makeAggregate(loc);
 6975|      0|            warn(loc, "variable with qualifier 'const' not initialized; zero initializing", identifier.c_str(), "");
 6976|      0|        }
 6977|      2|    }
 6978|      2|}
_ZN7glslang16HlslParseContext8paramFixERNS_5TTypeE:
 7093|   989k|{
 7094|   989k|    switch (type.getQualifier().storage) {
 7095|      0|    case EvqConst:
  ------------------
  |  Branch (7095:5): [True: 0, False: 989k]
  ------------------
 7096|      0|        type.getQualifier().storage = EvqConstReadOnly;
 7097|      0|        break;
 7098|      0|    case EvqGlobal:
  ------------------
  |  Branch (7098:5): [True: 0, False: 989k]
  ------------------
 7099|   893k|    case EvqTemporary:
  ------------------
  |  Branch (7099:5): [True: 893k, False: 95.8k]
  ------------------
 7100|   893k|        type.getQualifier().storage = EvqIn;
 7101|   893k|        break;
 7102|      0|    case EvqBuffer:
  ------------------
  |  Branch (7102:5): [True: 0, False: 989k]
  ------------------
 7103|      0|        {
 7104|       |            // SSBO parameter.  These do not go through the declareBlock path since they are fn parameters.
 7105|      0|            correctUniform(type.getQualifier());
 7106|      0|            TQualifier bufferQualifier = globalBufferDefaults;
 7107|      0|            mergeObjectLayoutQualifiers(bufferQualifier, type.getQualifier(), true);
 7108|      0|            bufferQualifier.storage = type.getQualifier().storage;
 7109|      0|            bufferQualifier.readonly = type.getQualifier().readonly;
 7110|      0|            bufferQualifier.coherent = type.getQualifier().coherent;
 7111|      0|            bufferQualifier.declaredBuiltIn = type.getQualifier().declaredBuiltIn;
 7112|      0|            type.getQualifier() = bufferQualifier;
 7113|      0|            break;
 7114|      0|        }
 7115|  95.8k|    default:
  ------------------
  |  Branch (7115:5): [True: 95.8k, False: 893k]
  ------------------
 7116|  95.8k|        break;
 7117|   989k|    }
 7118|   989k|}
_ZN7glslang16HlslParseContext14lookupUserTypeERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERNS_5TTypeE:
 7976|     96|{
 7977|     96|    TSymbol* symbol = symbolTable.find(typeName);
 7978|     96|    if (symbol && symbol->getAsVariable() && symbol->getAsVariable()->isUserType()) {
  ------------------
  |  Branch (7978:9): [True: 0, False: 96]
  |  Branch (7978:19): [True: 0, False: 0]
  |  Branch (7978:46): [True: 0, False: 0]
  ------------------
 7979|      0|        type.shallowCopy(symbol->getType());
 7980|      0|        return symbol;
 7981|      0|    } else
 7982|     96|        return nullptr;
 7983|     96|}
_ZN7glslang16HlslParseContext15declareVariableERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERNS_5TTypeEPNS_12TIntermTypedE:
 7998|      2|{
 7999|      2|    if (voidErrorCheck(loc, identifier, type.getBasicType()))
  ------------------
  |  Branch (7999:9): [True: 0, False: 2]
  ------------------
 8000|      0|        return nullptr;
 8001|       |
 8002|       |    // Global consts with initializers that are non-const act like EvqGlobal in HLSL.
 8003|       |    // This test is implicitly recursive, because initializers propagate constness
 8004|       |    // up the aggregate node tree during creation.  E.g, for:
 8005|       |    //    { { 1, 2 }, { 3, 4 } }
 8006|       |    // the initializer list is marked EvqConst at the top node, and remains so here.  However:
 8007|       |    //    { 1, { myvar, 2 }, 3 }
 8008|       |    // is not a const intializer, and still becomes EvqGlobal here.
 8009|       |
 8010|      2|    const bool nonConstInitializer = (initializer != nullptr && initializer->getQualifier().storage != EvqConst);
  ------------------
  |  Branch (8010:39): [True: 0, False: 2]
  |  Branch (8010:65): [True: 0, False: 0]
  ------------------
 8011|       |
 8012|      2|    if (type.getQualifier().storage == EvqConst && symbolTable.atGlobalLevel() && nonConstInitializer) {
  ------------------
  |  Branch (8012:9): [True: 0, False: 2]
  |  Branch (8012:52): [True: 0, False: 0]
  |  Branch (8012:83): [True: 0, False: 0]
  ------------------
 8013|       |        // Force to global
 8014|      0|        type.getQualifier().storage = EvqGlobal;
 8015|      0|    }
 8016|       |
 8017|       |    // make const and initialization consistent
 8018|      2|    fixConstInit(loc, identifier, type, initializer);
 8019|       |
 8020|       |    // Check for redeclaration of built-ins and/or attempting to declare a reserved name
 8021|      2|    TSymbol* symbol = nullptr;
 8022|       |
 8023|      2|    inheritGlobalDefaults(type.getQualifier());
 8024|       |
 8025|      2|    const bool flattenVar = shouldFlatten(type, type.getQualifier().storage, true);
 8026|       |
 8027|       |    // correct IO in the type
 8028|      2|    switch (type.getQualifier().storage) {
 8029|      0|    case EvqGlobal:
  ------------------
  |  Branch (8029:5): [True: 0, False: 2]
  ------------------
 8030|      0|    case EvqTemporary:
  ------------------
  |  Branch (8030:5): [True: 0, False: 2]
  ------------------
 8031|      0|        clearUniformInputOutput(type.getQualifier());
 8032|      0|        break;
 8033|      2|    case EvqUniform:
  ------------------
  |  Branch (8033:5): [True: 2, False: 0]
  ------------------
 8034|      2|    case EvqBuffer:
  ------------------
  |  Branch (8034:5): [True: 0, False: 2]
  ------------------
 8035|      2|        correctUniform(type.getQualifier());
 8036|      2|        if (type.isStruct()) {
  ------------------
  |  Branch (8036:13): [True: 0, False: 2]
  ------------------
 8037|      0|            auto it = ioTypeMap.find(type.getStruct());
 8038|      0|            if (it != ioTypeMap.end())
  ------------------
  |  Branch (8038:17): [True: 0, False: 0]
  ------------------
 8039|      0|                type.setStruct(it->second.uniform);
 8040|      0|        }
 8041|       |
 8042|      2|        break;
 8043|      0|    default:
  ------------------
  |  Branch (8043:5): [True: 0, False: 2]
  ------------------
 8044|      0|        break;
 8045|      2|    }
 8046|       |
 8047|       |    // Declare the variable
 8048|      2|    if (type.isArray()) {
  ------------------
  |  Branch (8048:9): [True: 2, False: 0]
  ------------------
 8049|       |        // array case
 8050|      2|        declareArray(loc, identifier, type, symbol, !flattenVar);
 8051|      2|    } else {
 8052|       |        // non-array case
 8053|      0|        if (symbol == nullptr)
  ------------------
  |  Branch (8053:13): [True: 0, False: 0]
  ------------------
 8054|      0|            symbol = declareNonArray(loc, identifier, type, !flattenVar);
 8055|      0|        else if (type != symbol->getType())
  ------------------
  |  Branch (8055:18): [True: 0, False: 0]
  ------------------
 8056|      0|            error(loc, "cannot change the type of", "redeclaration", symbol->getName().c_str());
 8057|      0|    }
 8058|       |
 8059|      2|    if (symbol == nullptr)
  ------------------
  |  Branch (8059:9): [True: 0, False: 2]
  ------------------
 8060|      0|        return nullptr;
 8061|       |
 8062|      2|    if (flattenVar)
  ------------------
  |  Branch (8062:9): [True: 0, False: 2]
  ------------------
 8063|      0|        flatten(*symbol->getAsVariable(), symbolTable.atGlobalLevel());
 8064|       |
 8065|      2|    TVariable* variable = symbol->getAsVariable();
 8066|       |
 8067|      2|    if (initializer == nullptr) {
  ------------------
  |  Branch (8067:9): [True: 2, False: 0]
  ------------------
 8068|      2|        if (intermediate.getDebugInfo())
  ------------------
  |  Branch (8068:13): [True: 0, False: 2]
  ------------------
 8069|      0|            return executeDeclaration(loc, variable);
 8070|      2|        else
 8071|      2|            return nullptr;
 8072|      2|    }
 8073|       |
 8074|       |    // Deal with initializer
 8075|      0|    if (variable == nullptr) {
  ------------------
  |  Branch (8075:9): [True: 0, False: 0]
  ------------------
 8076|      0|        error(loc, "initializer requires a variable, not a member", identifier.c_str(), "");
 8077|      0|        return nullptr;
 8078|      0|    }
 8079|      0|    return executeInitializer(loc, initializer, variable);
 8080|      0|}
_ZNK7glslang16HlslParseContext21inheritGlobalDefaultsERNS_10TQualifierE:
 8084|      2|{
 8085|      2|    if (dst.storage == EvqVaryingOut) {
  ------------------
  |  Branch (8085:9): [True: 0, False: 2]
  ------------------
 8086|      0|        if (! dst.hasStream() && language == EShLangGeometry)
  ------------------
  |  Branch (8086:13): [True: 0, False: 0]
  |  Branch (8086:34): [True: 0, False: 0]
  ------------------
 8087|      0|            dst.layoutStream = globalOutputDefaults.layoutStream;
 8088|      0|        if (! dst.hasXfbBuffer())
  ------------------
  |  Branch (8088:13): [True: 0, False: 0]
  ------------------
 8089|      0|            dst.layoutXfbBuffer = globalOutputDefaults.layoutXfbBuffer;
 8090|      0|    }
 8091|      2|}
_ZN7glslang16HlslParseContext17handleConstructorERKNS_10TSourceLocEPNS_12TIntermTypedERKNS_5TTypeE:
 8432|      4|{
 8433|      4|    if (node == nullptr)
  ------------------
  |  Branch (8433:9): [True: 0, False: 4]
  ------------------
 8434|      0|        return nullptr;
 8435|       |
 8436|       |    // Construct identical type
 8437|      4|    if (type == node->getType())
  ------------------
  |  Branch (8437:9): [True: 2, False: 2]
  ------------------
 8438|      2|        return node;
 8439|       |
 8440|       |    // Handle the idiom "(struct type)<scalar value>"
 8441|      2|    if (type.isStruct() && isScalarConstructor(node)) {
  ------------------
  |  Branch (8441:9): [True: 0, False: 2]
  |  Branch (8441:28): [True: 0, False: 0]
  ------------------
 8442|       |        // 'node' will almost always get used multiple times, so should not be used directly,
 8443|       |        // it would create a DAG instead of a tree, which might be okay (would
 8444|       |        // like to formalize that for constants and symbols), but if it has
 8445|       |        // side effects, they would get executed multiple times, which is not okay.
 8446|      0|        if (node->getAsConstantUnion() == nullptr && node->getAsSymbolNode() == nullptr) {
  ------------------
  |  Branch (8446:13): [True: 0, False: 0]
  |  Branch (8446:54): [True: 0, False: 0]
  ------------------
 8447|      0|            TIntermAggregate* seq = intermediate.makeAggregate(loc);
 8448|      0|            TIntermSymbol* copy = makeInternalVariableNode(loc, "scalarCopy", node->getType());
 8449|      0|            seq = intermediate.growAggregate(seq, intermediate.addBinaryNode(EOpAssign, copy, node, loc));
 8450|      0|            seq = intermediate.growAggregate(seq, convertInitializerList(loc, type, intermediate.makeAggregate(loc), copy));
 8451|      0|            seq->setOp(EOpComma);
 8452|      0|            seq->setType(type);
 8453|      0|            return seq;
 8454|      0|        } else
 8455|      0|            return convertInitializerList(loc, type, intermediate.makeAggregate(loc), node);
 8456|      0|    }
 8457|       |
 8458|      2|    return addConstructor(loc, node, type);
 8459|      2|}
_ZN7glslang16HlslParseContext14addConstructorERKNS_10TSourceLocEPNS_12TIntermTypedERKNS_5TTypeE:
 8470|      4|{
 8471|      4|    TIntermAggregate* aggrNode = node->getAsAggregate();
 8472|      4|    TOperator op = intermediate.mapTypeToConstructorOp(type);
 8473|       |
 8474|      4|    if (op == EOpConstructTextureSampler)
  ------------------
  |  Branch (8474:9): [True: 0, False: 4]
  ------------------
 8475|      0|        return intermediate.setAggregateOperator(aggrNode, op, type, loc);
 8476|       |
 8477|      4|    TTypeList::const_iterator memberTypes;
 8478|      4|    if (op == EOpConstructStruct)
  ------------------
  |  Branch (8478:9): [True: 0, False: 4]
  ------------------
 8479|      0|        memberTypes = type.getStruct()->begin();
 8480|       |
 8481|      4|    TType elementType;
 8482|      4|    if (type.isArray()) {
  ------------------
  |  Branch (8482:9): [True: 0, False: 4]
  ------------------
 8483|      0|        TType dereferenced(type, 0);
 8484|      0|        elementType.shallowCopy(dereferenced);
 8485|      0|    } else
 8486|      4|        elementType.shallowCopy(type);
 8487|       |
 8488|      4|    bool singleArg;
 8489|      4|    if (aggrNode != nullptr) {
  ------------------
  |  Branch (8489:9): [True: 0, False: 4]
  ------------------
 8490|      0|        if (aggrNode->getOp() != EOpNull)
  ------------------
  |  Branch (8490:13): [True: 0, False: 0]
  ------------------
 8491|      0|            singleArg = true;
 8492|      0|        else
 8493|      0|            singleArg = false;
 8494|      0|    } else
 8495|      4|        singleArg = true;
 8496|       |
 8497|      4|    TIntermTyped *newNode;
 8498|      4|    if (singleArg) {
  ------------------
  |  Branch (8498:9): [True: 4, False: 0]
  ------------------
 8499|       |        // Handle array -> array conversion
 8500|       |        // Constructing an array of one type from an array of another type is allowed,
 8501|       |        // assuming there are enough components available (semantic-checked earlier).
 8502|      4|        if (type.isArray() && node->isArray())
  ------------------
  |  Branch (8502:13): [True: 0, False: 4]
  |  Branch (8502:31): [True: 0, False: 0]
  ------------------
 8503|      0|            newNode = convertArray(node, type);
 8504|       |
 8505|       |        // If structure constructor or array constructor is being called
 8506|       |        // for only one parameter inside the aggregate, we need to call constructAggregate function once.
 8507|      4|        else if (type.isArray())
  ------------------
  |  Branch (8507:18): [True: 0, False: 4]
  ------------------
 8508|      0|            newNode = constructAggregate(node, elementType, 1, node->getLoc());
 8509|      4|        else if (op == EOpConstructStruct)
  ------------------
  |  Branch (8509:18): [True: 0, False: 4]
  ------------------
 8510|      0|            newNode = constructAggregate(node, *(*memberTypes).type, 1, node->getLoc());
 8511|      4|        else {
 8512|       |            // shape conversion for matrix constructor from scalar.  HLSL semantics are: scalar
 8513|       |            // is replicated into every element of the matrix (not just the diagnonal), so
 8514|       |            // that is handled specially here.
 8515|      4|            if (type.isMatrix() && node->getType().isScalarOrVec1())
  ------------------
  |  Branch (8515:17): [True: 0, False: 4]
  |  Branch (8515:36): [True: 0, False: 0]
  ------------------
 8516|      0|                node = intermediate.addShapeConversion(type, node);
 8517|       |
 8518|      4|            newNode = constructBuiltIn(type, op, node, node->getLoc(), false);
 8519|      4|        }
 8520|       |
 8521|      4|        if (newNode && (type.isArray() || op == EOpConstructStruct))
  ------------------
  |  Branch (8521:13): [True: 4, False: 0]
  |  Branch (8521:25): [True: 0, False: 4]
  |  Branch (8521:43): [True: 0, False: 4]
  ------------------
 8522|      0|            newNode = intermediate.setAggregateOperator(newNode, EOpConstructStruct, type, loc);
 8523|       |
 8524|      4|        return newNode;
 8525|      4|    }
 8526|       |
 8527|       |    //
 8528|       |    // Handle list of arguments.
 8529|       |    //
 8530|      0|    TIntermSequence& sequenceVector = aggrNode->getSequence();    // Stores the information about the parameter to the constructor
 8531|       |    // if the structure constructor contains more than one parameter, then construct
 8532|       |    // each parameter
 8533|       |
 8534|      0|    int paramCount = 0;  // keeps a track of the constructor parameter number being checked
 8535|       |
 8536|       |    // for each parameter to the constructor call, check to see if the right type is passed or convert them
 8537|       |    // to the right type if possible (and allowed).
 8538|       |    // for structure constructors, just check if the right type is passed, no conversion is allowed.
 8539|       |
 8540|      0|    for (TIntermSequence::iterator p = sequenceVector.begin();
 8541|      0|        p != sequenceVector.end(); p++, paramCount++) {
  ------------------
  |  Branch (8541:9): [True: 0, False: 0]
  ------------------
 8542|      0|        if (type.isArray())
  ------------------
  |  Branch (8542:13): [True: 0, False: 0]
  ------------------
 8543|      0|            newNode = constructAggregate(*p, elementType, paramCount + 1, node->getLoc());
 8544|      0|        else if (op == EOpConstructStruct)
  ------------------
  |  Branch (8544:18): [True: 0, False: 0]
  ------------------
 8545|      0|            newNode = constructAggregate(*p, *(memberTypes[paramCount]).type, paramCount + 1, node->getLoc());
 8546|      0|        else
 8547|      0|            newNode = constructBuiltIn(type, op, (*p)->getAsTyped(), node->getLoc(), true);
 8548|       |
 8549|      0|        if (newNode)
  ------------------
  |  Branch (8549:13): [True: 0, False: 0]
  ------------------
 8550|      0|            *p = newNode;
 8551|      0|        else
 8552|      0|            return nullptr;
 8553|      0|    }
 8554|       |
 8555|      0|    TIntermTyped* constructor = intermediate.setAggregateOperator(aggrNode, op, type, loc);
 8556|       |
 8557|      0|    return constructor;
 8558|      0|}
_ZN7glslang16HlslParseContext16constructBuiltInERKNS_5TTypeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocEb:
 8569|      4|{
 8570|      4|    TIntermTyped* newNode;
 8571|      4|    TOperator basicOp;
 8572|       |
 8573|       |    //
 8574|       |    // First, convert types as needed.
 8575|       |    //
 8576|      4|    switch (op) {
 8577|      0|    case EOpConstructF16Vec2:
  ------------------
  |  Branch (8577:5): [True: 0, False: 4]
  ------------------
 8578|      0|    case EOpConstructF16Vec3:
  ------------------
  |  Branch (8578:5): [True: 0, False: 4]
  ------------------
 8579|      0|    case EOpConstructF16Vec4:
  ------------------
  |  Branch (8579:5): [True: 0, False: 4]
  ------------------
 8580|      0|    case EOpConstructF16Mat2x2:
  ------------------
  |  Branch (8580:5): [True: 0, False: 4]
  ------------------
 8581|      0|    case EOpConstructF16Mat2x3:
  ------------------
  |  Branch (8581:5): [True: 0, False: 4]
  ------------------
 8582|      0|    case EOpConstructF16Mat2x4:
  ------------------
  |  Branch (8582:5): [True: 0, False: 4]
  ------------------
 8583|      0|    case EOpConstructF16Mat3x2:
  ------------------
  |  Branch (8583:5): [True: 0, False: 4]
  ------------------
 8584|      0|    case EOpConstructF16Mat3x3:
  ------------------
  |  Branch (8584:5): [True: 0, False: 4]
  ------------------
 8585|      0|    case EOpConstructF16Mat3x4:
  ------------------
  |  Branch (8585:5): [True: 0, False: 4]
  ------------------
 8586|      0|    case EOpConstructF16Mat4x2:
  ------------------
  |  Branch (8586:5): [True: 0, False: 4]
  ------------------
 8587|      0|    case EOpConstructF16Mat4x3:
  ------------------
  |  Branch (8587:5): [True: 0, False: 4]
  ------------------
 8588|      0|    case EOpConstructF16Mat4x4:
  ------------------
  |  Branch (8588:5): [True: 0, False: 4]
  ------------------
 8589|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (8589:5): [True: 0, False: 4]
  ------------------
 8590|      0|        basicOp = EOpConstructFloat16;
 8591|      0|        break;
 8592|       |
 8593|      0|    case EOpConstructVec2:
  ------------------
  |  Branch (8593:5): [True: 0, False: 4]
  ------------------
 8594|      0|    case EOpConstructVec3:
  ------------------
  |  Branch (8594:5): [True: 0, False: 4]
  ------------------
 8595|      0|    case EOpConstructVec4:
  ------------------
  |  Branch (8595:5): [True: 0, False: 4]
  ------------------
 8596|      0|    case EOpConstructMat2x2:
  ------------------
  |  Branch (8596:5): [True: 0, False: 4]
  ------------------
 8597|      0|    case EOpConstructMat2x3:
  ------------------
  |  Branch (8597:5): [True: 0, False: 4]
  ------------------
 8598|      0|    case EOpConstructMat2x4:
  ------------------
  |  Branch (8598:5): [True: 0, False: 4]
  ------------------
 8599|      0|    case EOpConstructMat3x2:
  ------------------
  |  Branch (8599:5): [True: 0, False: 4]
  ------------------
 8600|      0|    case EOpConstructMat3x3:
  ------------------
  |  Branch (8600:5): [True: 0, False: 4]
  ------------------
 8601|      0|    case EOpConstructMat3x4:
  ------------------
  |  Branch (8601:5): [True: 0, False: 4]
  ------------------
 8602|      0|    case EOpConstructMat4x2:
  ------------------
  |  Branch (8602:5): [True: 0, False: 4]
  ------------------
 8603|      0|    case EOpConstructMat4x3:
  ------------------
  |  Branch (8603:5): [True: 0, False: 4]
  ------------------
 8604|      0|    case EOpConstructMat4x4:
  ------------------
  |  Branch (8604:5): [True: 0, False: 4]
  ------------------
 8605|      0|    case EOpConstructFloat:
  ------------------
  |  Branch (8605:5): [True: 0, False: 4]
  ------------------
 8606|      0|        basicOp = EOpConstructFloat;
 8607|      0|        break;
 8608|       |
 8609|      0|    case EOpConstructDVec2:
  ------------------
  |  Branch (8609:5): [True: 0, False: 4]
  ------------------
 8610|      0|    case EOpConstructDVec3:
  ------------------
  |  Branch (8610:5): [True: 0, False: 4]
  ------------------
 8611|      0|    case EOpConstructDVec4:
  ------------------
  |  Branch (8611:5): [True: 0, False: 4]
  ------------------
 8612|      0|    case EOpConstructDMat2x2:
  ------------------
  |  Branch (8612:5): [True: 0, False: 4]
  ------------------
 8613|      0|    case EOpConstructDMat2x3:
  ------------------
  |  Branch (8613:5): [True: 0, False: 4]
  ------------------
 8614|      0|    case EOpConstructDMat2x4:
  ------------------
  |  Branch (8614:5): [True: 0, False: 4]
  ------------------
 8615|      0|    case EOpConstructDMat3x2:
  ------------------
  |  Branch (8615:5): [True: 0, False: 4]
  ------------------
 8616|      0|    case EOpConstructDMat3x3:
  ------------------
  |  Branch (8616:5): [True: 0, False: 4]
  ------------------
 8617|      0|    case EOpConstructDMat3x4:
  ------------------
  |  Branch (8617:5): [True: 0, False: 4]
  ------------------
 8618|      0|    case EOpConstructDMat4x2:
  ------------------
  |  Branch (8618:5): [True: 0, False: 4]
  ------------------
 8619|      0|    case EOpConstructDMat4x3:
  ------------------
  |  Branch (8619:5): [True: 0, False: 4]
  ------------------
 8620|      0|    case EOpConstructDMat4x4:
  ------------------
  |  Branch (8620:5): [True: 0, False: 4]
  ------------------
 8621|      0|    case EOpConstructDouble:
  ------------------
  |  Branch (8621:5): [True: 0, False: 4]
  ------------------
 8622|      0|        basicOp = EOpConstructDouble;
 8623|      0|        break;
 8624|       |
 8625|      0|    case EOpConstructI16Vec2:
  ------------------
  |  Branch (8625:5): [True: 0, False: 4]
  ------------------
 8626|      0|    case EOpConstructI16Vec3:
  ------------------
  |  Branch (8626:5): [True: 0, False: 4]
  ------------------
 8627|      0|    case EOpConstructI16Vec4:
  ------------------
  |  Branch (8627:5): [True: 0, False: 4]
  ------------------
 8628|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (8628:5): [True: 0, False: 4]
  ------------------
 8629|      0|        basicOp = EOpConstructInt16;
 8630|      0|        break;
 8631|       |
 8632|      2|    case EOpConstructIVec2:
  ------------------
  |  Branch (8632:5): [True: 2, False: 2]
  ------------------
 8633|      2|    case EOpConstructIVec3:
  ------------------
  |  Branch (8633:5): [True: 0, False: 4]
  ------------------
 8634|      2|    case EOpConstructIVec4:
  ------------------
  |  Branch (8634:5): [True: 0, False: 4]
  ------------------
 8635|      2|    case EOpConstructIMat2x2:
  ------------------
  |  Branch (8635:5): [True: 0, False: 4]
  ------------------
 8636|      2|    case EOpConstructIMat2x3:
  ------------------
  |  Branch (8636:5): [True: 0, False: 4]
  ------------------
 8637|      2|    case EOpConstructIMat2x4:
  ------------------
  |  Branch (8637:5): [True: 0, False: 4]
  ------------------
 8638|      2|    case EOpConstructIMat3x2:
  ------------------
  |  Branch (8638:5): [True: 0, False: 4]
  ------------------
 8639|      2|    case EOpConstructIMat3x3:
  ------------------
  |  Branch (8639:5): [True: 0, False: 4]
  ------------------
 8640|      2|    case EOpConstructIMat3x4:
  ------------------
  |  Branch (8640:5): [True: 0, False: 4]
  ------------------
 8641|      2|    case EOpConstructIMat4x2:
  ------------------
  |  Branch (8641:5): [True: 0, False: 4]
  ------------------
 8642|      2|    case EOpConstructIMat4x3:
  ------------------
  |  Branch (8642:5): [True: 0, False: 4]
  ------------------
 8643|      2|    case EOpConstructIMat4x4:
  ------------------
  |  Branch (8643:5): [True: 0, False: 4]
  ------------------
 8644|      4|    case EOpConstructInt:
  ------------------
  |  Branch (8644:5): [True: 2, False: 2]
  ------------------
 8645|      4|        basicOp = EOpConstructInt;
 8646|      4|        break;
 8647|       |
 8648|      0|    case EOpConstructU16Vec2:
  ------------------
  |  Branch (8648:5): [True: 0, False: 4]
  ------------------
 8649|      0|    case EOpConstructU16Vec3:
  ------------------
  |  Branch (8649:5): [True: 0, False: 4]
  ------------------
 8650|      0|    case EOpConstructU16Vec4:
  ------------------
  |  Branch (8650:5): [True: 0, False: 4]
  ------------------
 8651|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (8651:5): [True: 0, False: 4]
  ------------------
 8652|      0|        basicOp = EOpConstructUint16;
 8653|      0|        break;
 8654|       |
 8655|      0|    case EOpConstructUVec2:
  ------------------
  |  Branch (8655:5): [True: 0, False: 4]
  ------------------
 8656|      0|    case EOpConstructUVec3:
  ------------------
  |  Branch (8656:5): [True: 0, False: 4]
  ------------------
 8657|      0|    case EOpConstructUVec4:
  ------------------
  |  Branch (8657:5): [True: 0, False: 4]
  ------------------
 8658|      0|    case EOpConstructUMat2x2:
  ------------------
  |  Branch (8658:5): [True: 0, False: 4]
  ------------------
 8659|      0|    case EOpConstructUMat2x3:
  ------------------
  |  Branch (8659:5): [True: 0, False: 4]
  ------------------
 8660|      0|    case EOpConstructUMat2x4:
  ------------------
  |  Branch (8660:5): [True: 0, False: 4]
  ------------------
 8661|      0|    case EOpConstructUMat3x2:
  ------------------
  |  Branch (8661:5): [True: 0, False: 4]
  ------------------
 8662|      0|    case EOpConstructUMat3x3:
  ------------------
  |  Branch (8662:5): [True: 0, False: 4]
  ------------------
 8663|      0|    case EOpConstructUMat3x4:
  ------------------
  |  Branch (8663:5): [True: 0, False: 4]
  ------------------
 8664|      0|    case EOpConstructUMat4x2:
  ------------------
  |  Branch (8664:5): [True: 0, False: 4]
  ------------------
 8665|      0|    case EOpConstructUMat4x3:
  ------------------
  |  Branch (8665:5): [True: 0, False: 4]
  ------------------
 8666|      0|    case EOpConstructUMat4x4:
  ------------------
  |  Branch (8666:5): [True: 0, False: 4]
  ------------------
 8667|      0|    case EOpConstructUint:
  ------------------
  |  Branch (8667:5): [True: 0, False: 4]
  ------------------
 8668|      0|        basicOp = EOpConstructUint;
 8669|      0|        break;
 8670|       |
 8671|      0|    case EOpConstructBVec2:
  ------------------
  |  Branch (8671:5): [True: 0, False: 4]
  ------------------
 8672|      0|    case EOpConstructBVec3:
  ------------------
  |  Branch (8672:5): [True: 0, False: 4]
  ------------------
 8673|      0|    case EOpConstructBVec4:
  ------------------
  |  Branch (8673:5): [True: 0, False: 4]
  ------------------
 8674|      0|    case EOpConstructBMat2x2:
  ------------------
  |  Branch (8674:5): [True: 0, False: 4]
  ------------------
 8675|      0|    case EOpConstructBMat2x3:
  ------------------
  |  Branch (8675:5): [True: 0, False: 4]
  ------------------
 8676|      0|    case EOpConstructBMat2x4:
  ------------------
  |  Branch (8676:5): [True: 0, False: 4]
  ------------------
 8677|      0|    case EOpConstructBMat3x2:
  ------------------
  |  Branch (8677:5): [True: 0, False: 4]
  ------------------
 8678|      0|    case EOpConstructBMat3x3:
  ------------------
  |  Branch (8678:5): [True: 0, False: 4]
  ------------------
 8679|      0|    case EOpConstructBMat3x4:
  ------------------
  |  Branch (8679:5): [True: 0, False: 4]
  ------------------
 8680|      0|    case EOpConstructBMat4x2:
  ------------------
  |  Branch (8680:5): [True: 0, False: 4]
  ------------------
 8681|      0|    case EOpConstructBMat4x3:
  ------------------
  |  Branch (8681:5): [True: 0, False: 4]
  ------------------
 8682|      0|    case EOpConstructBMat4x4:
  ------------------
  |  Branch (8682:5): [True: 0, False: 4]
  ------------------
 8683|      0|    case EOpConstructBool:
  ------------------
  |  Branch (8683:5): [True: 0, False: 4]
  ------------------
 8684|      0|        basicOp = EOpConstructBool;
 8685|      0|        break;
 8686|       |
 8687|      0|    default:
  ------------------
  |  Branch (8687:5): [True: 0, False: 4]
  ------------------
 8688|      0|        error(loc, "unsupported construction", "", "");
 8689|       |
 8690|      0|        return nullptr;
 8691|      4|    }
 8692|      4|    newNode = intermediate.addUnaryMath(basicOp, node, node->getLoc());
 8693|      4|    if (newNode == nullptr) {
  ------------------
  |  Branch (8693:9): [True: 0, False: 4]
  ------------------
 8694|      0|        error(loc, "can't convert", "constructor", "");
 8695|      0|        return nullptr;
 8696|      0|    }
 8697|       |
 8698|       |    //
 8699|       |    // Now, if there still isn't an operation to do the construction, and we need one, add one.
 8700|       |    //
 8701|       |
 8702|       |    // Otherwise, skip out early.
 8703|      4|    if (subset || (newNode != node && newNode->getType() == type))
  ------------------
  |  Branch (8703:9): [True: 0, False: 4]
  |  Branch (8703:20): [True: 2, False: 2]
  |  Branch (8703:39): [True: 0, False: 2]
  ------------------
 8704|      0|        return newNode;
 8705|       |
 8706|       |    // setAggregateOperator will insert a new node for the constructor, as needed.
 8707|      4|    return intermediate.setAggregateOperator(newNode, op, type, loc);
 8708|      4|}
_ZNK7glslang16HlslParseContext20getFullNamespaceNameERPNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 9500|   440k|{
 9501|   440k|    if (currentTypePrefix.size() == 0)
  ------------------
  |  Branch (9501:9): [True: 440k, False: 0]
  ------------------
 9502|   440k|        return;
 9503|       |
 9504|      0|    TString* fullName = NewPoolTString(currentTypePrefix.back().c_str());
 9505|      0|    fullName->append(*name);
 9506|      0|    name = fullName;
 9507|      0|}
_ZN7glslang16HlslParseContext14correctUniformERNS_10TQualifierE:
 9710|      2|{
 9711|      2|    if (qualifier.declaredBuiltIn == EbvNone)
  ------------------
  |  Branch (9711:9): [True: 2, False: 0]
  ------------------
 9712|      2|        qualifier.declaredBuiltIn = qualifier.builtIn;
 9713|       |
 9714|      2|    qualifier.builtIn = EbvNone;
 9715|      2|    qualifier.clearInterstage();
 9716|      2|    qualifier.clearInterstageLayout();
 9717|      2|}
_ZN7glslang16HlslParseContext20setTextureReturnTypeERNS_8TSamplerERKNS_5TTypeERKNS_10TSourceLocE:
 9729|  89.4k|{
 9730|       |    // Seed the output with an invalid index.  We will set it to a valid one if we can.
 9731|  89.4k|    sampler.structReturnIndex = TSampler::noReturnStruct;
 9732|       |
 9733|       |    // Arrays aren't supported.
 9734|  89.4k|    if (retType.isArray()) {
  ------------------
  |  Branch (9734:9): [True: 0, False: 89.4k]
  ------------------
 9735|      0|        error(loc, "Arrays not supported in texture template types", "", "");
 9736|      0|        return false;
 9737|      0|    }
 9738|       |
 9739|       |    // If return type is a vector, remember the vector size in the sampler, and return.
 9740|  89.4k|    if (retType.isVector() || retType.isScalar()) {
  ------------------
  |  Branch (9740:9): [True: 89.4k, False: 0]
  |  Branch (9740:31): [True: 0, False: 0]
  ------------------
 9741|  89.4k|        sampler.vectorSize = retType.getVectorSize();
 9742|  89.4k|        return true;
 9743|  89.4k|    }
 9744|       |
 9745|       |    // If it wasn't a vector, it must be a struct meeting certain requirements.  The requirements
 9746|       |    // are checked below: just check for struct-ness here.
 9747|      0|    if (!retType.isStruct()) {
  ------------------
  |  Branch (9747:9): [True: 0, False: 0]
  ------------------
 9748|      0|        error(loc, "Invalid texture template type", "", "");
 9749|      0|        return false;
 9750|      0|    }
 9751|       |
 9752|       |    // TODO: Subpass doesn't handle struct returns, due to some oddities with fn overloading.
 9753|      0|    if (sampler.isSubpass()) {
  ------------------
  |  Branch (9753:9): [True: 0, False: 0]
  ------------------
 9754|      0|        error(loc, "Unimplemented: structure template type in subpass input", "", "");
 9755|      0|        return false;
 9756|      0|    }
 9757|       |
 9758|      0|    TTypeList* members = retType.getWritableStruct();
 9759|       |
 9760|       |    // Check for too many or not enough structure members.
 9761|      0|    if (members->size() > 4 || members->size() == 0) {
  ------------------
  |  Branch (9761:9): [True: 0, False: 0]
  |  Branch (9761:32): [True: 0, False: 0]
  ------------------
 9762|      0|        error(loc, "Invalid member count in texture template structure", "", "");
 9763|      0|        return false;
 9764|      0|    }
 9765|       |
 9766|       |    // Error checking: We must have <= 4 total components, all of the same basic type.
 9767|      0|    unsigned totalComponents = 0;
 9768|      0|    for (unsigned m = 0; m < members->size(); ++m) {
  ------------------
  |  Branch (9768:26): [True: 0, False: 0]
  ------------------
 9769|       |        // Check for bad member types
 9770|      0|        if (!(*members)[m].type->isScalar() && !(*members)[m].type->isVector()) {
  ------------------
  |  Branch (9770:13): [True: 0, False: 0]
  |  Branch (9770:48): [True: 0, False: 0]
  ------------------
 9771|      0|            error(loc, "Invalid texture template struct member type", "", "");
 9772|      0|            return false;
 9773|      0|        }
 9774|       |
 9775|      0|        const unsigned memberVectorSize = (*members)[m].type->getVectorSize();
 9776|      0|        totalComponents += memberVectorSize;
 9777|       |
 9778|       |        // too many total member components
 9779|      0|        if (totalComponents > 4) {
  ------------------
  |  Branch (9779:13): [True: 0, False: 0]
  ------------------
 9780|      0|            error(loc, "Too many components in texture template structure type", "", "");
 9781|      0|            return false;
 9782|      0|        }
 9783|       |
 9784|       |        // All members must be of a common basic type
 9785|      0|        if ((*members)[m].type->getBasicType() != (*members)[0].type->getBasicType()) {
  ------------------
  |  Branch (9785:13): [True: 0, False: 0]
  ------------------
 9786|      0|            error(loc, "Texture template structure members must same basic type", "", "");
 9787|      0|            return false;
 9788|      0|        }
 9789|      0|    }
 9790|       |
 9791|       |    // If the structure in the return type already exists in the table, we'll use it.  Otherwise, we'll make
 9792|       |    // a new entry.  This is a linear search, but it hardly ever happens, and the list cannot be very large.
 9793|      0|    for (unsigned int idx = 0; idx < textureReturnStruct.size(); ++idx) {
  ------------------
  |  Branch (9793:32): [True: 0, False: 0]
  ------------------
 9794|      0|        if (textureReturnStruct[idx] == members) {
  ------------------
  |  Branch (9794:13): [True: 0, False: 0]
  ------------------
 9795|      0|            sampler.structReturnIndex = idx;
 9796|      0|            return true;
 9797|      0|        }
 9798|      0|    }
 9799|       |
 9800|       |    // It wasn't found as an existing entry.  See if we have room for a new one.
 9801|      0|    if (textureReturnStruct.size() >= TSampler::structReturnSlots) {
  ------------------
  |  Branch (9801:9): [True: 0, False: 0]
  ------------------
 9802|      0|        error(loc, "Texture template struct return slots exceeded", "", "");
 9803|      0|        return false;
 9804|      0|    }
 9805|       |
 9806|       |    // Insert it in the vector that tracks struct return types.
 9807|      0|    sampler.structReturnIndex = unsigned(textureReturnStruct.size());
 9808|      0|    textureReturnStruct.push_back(members);
 9809|       |
 9810|       |    // Success!
 9811|      0|    return true;
 9812|      0|}
_ZN7glslang16HlslParseContext26addPatchConstantInvocationEv:
 9878|    205|{
 9879|    205|    TSourceLoc loc;
 9880|    205|    loc.init();
 9881|       |
 9882|       |    // If there's no patch constant function, or we're not a HS, do nothing.
 9883|    205|    if (patchConstantFunctionName.empty() || language != EShLangTessControl)
  ------------------
  |  Branch (9883:9): [True: 205, False: 0]
  |  Branch (9883:46): [True: 0, False: 0]
  ------------------
 9884|    205|        return;
 9885|       |
 9886|       |    // Look for built-in variables in a function's parameter list.
 9887|      0|    const auto findBuiltIns = [&](const TFunction& function, std::set<tInterstageIoData>& builtIns) {
 9888|      0|        for (int p=0; p<function.getParamCount(); ++p) {
 9889|      0|            TStorageQualifier storage = function[p].type->getQualifier().storage;
 9890|       |
 9891|      0|            if (storage == EvqConstReadOnly) // treated identically to input
 9892|      0|                storage = EvqIn;
 9893|       |
 9894|      0|            if (function[p].getDeclaredBuiltIn() != EbvNone)
 9895|      0|                builtIns.insert(HlslParseContext::tInterstageIoData(function[p].getDeclaredBuiltIn(), storage));
 9896|      0|            else
 9897|      0|                builtIns.insert(HlslParseContext::tInterstageIoData(function[p].type->getQualifier().builtIn, storage));
 9898|      0|        }
 9899|      0|    };
 9900|       |
 9901|       |    // If we synthesize a built-in interface variable, we must add it to the linkage.
 9902|      0|    const auto addToLinkage = [&](const TType& type, const TString* name, TIntermSymbol** symbolNode) {
 9903|      0|        if (name == nullptr) {
 9904|      0|            error(loc, "unable to locate patch function parameter name", "", "");
 9905|      0|            return;
 9906|      0|        } else {
 9907|      0|            TVariable& variable = *new TVariable(name, type);
 9908|      0|            if (! symbolTable.insert(variable)) {
 9909|      0|                error(loc, "unable to declare patch constant function interface variable", name->c_str(), "");
 9910|      0|                return;
 9911|      0|            }
 9912|       |
 9913|      0|            globalQualifierFix(loc, variable.getWritableType().getQualifier());
 9914|       |
 9915|      0|            if (symbolNode != nullptr)
 9916|      0|                *symbolNode = intermediate.addSymbol(variable);
 9917|       |
 9918|      0|            trackLinkage(variable);
 9919|      0|        }
 9920|      0|    };
 9921|       |
 9922|      0|    const auto isOutputPatch = [](TFunction& patchConstantFunction, int param) {
 9923|      0|        const TType& type = *patchConstantFunction[param].type;
 9924|      0|        const TBuiltInVariable biType = patchConstantFunction[param].getDeclaredBuiltIn();
 9925|       |
 9926|      0|        return type.isSizedArray() && biType == EbvOutputPatch;
 9927|      0|    };
 9928|       |
 9929|       |    // We will perform these steps.  Each is in a scoped block for separation: they could
 9930|       |    // become separate functions to make addPatchConstantInvocation shorter.
 9931|       |    //
 9932|       |    // 1. Union the interfaces, and create built-ins for anything present in the PCF and
 9933|       |    //    declared as a built-in variable that isn't present in the entry point's signature.
 9934|       |    //
 9935|       |    // 2. Synthesizes a call to the patchconstfunction using built-in variables from either main,
 9936|       |    //    or the ones we created.  Matching is based on built-in type.  We may use synthesized
 9937|       |    //    variables from (1) above.
 9938|       |    //
 9939|       |    // 2B: Synthesize per control point invocations of wrapped entry point if the PCF requires them.
 9940|       |    //
 9941|       |    // 3. Create a return sequence: copy the return value (if any) from the PCF to a
 9942|       |    //    (non-sanitized) output variable.  In case this may involve multiple copies, such as for
 9943|       |    //    an arrayed variable, a temporary copy of the PCF output is created to avoid multiple
 9944|       |    //    indirections into a complex R-value coming from the call to the PCF.
 9945|       |    //
 9946|       |    // 4. Create a barrier.
 9947|       |    //
 9948|       |    // 5/5B. Call the PCF inside an if test for (invocation id == 0).
 9949|       |
 9950|      0|    TFunction* patchConstantFunctionPtr = const_cast<TFunction*>(findPatchConstantFunction(loc));
 9951|       |
 9952|      0|    if (patchConstantFunctionPtr == nullptr)
  ------------------
  |  Branch (9952:9): [True: 0, False: 0]
  ------------------
 9953|      0|        return;
 9954|       |
 9955|      0|    TFunction& patchConstantFunction = *patchConstantFunctionPtr;
 9956|       |
 9957|      0|    const int pcfParamCount = patchConstantFunction.getParamCount();
 9958|      0|    TIntermSymbol* invocationIdSym = findTessLinkageSymbol(EbvInvocationId);
 9959|      0|    TIntermSequence& epBodySeq = entryPointFunctionBody->getAsAggregate()->getSequence();
 9960|       |
 9961|      0|    int outPatchParam = -1; // -1 means there isn't one.
 9962|       |
 9963|       |    // ================ Step 1A: Union Interfaces ================
 9964|       |    // Our patch constant function.
 9965|      0|    {
 9966|      0|        std::set<tInterstageIoData> pcfBuiltIns;  // patch constant function built-ins
 9967|      0|        std::set<tInterstageIoData> epfBuiltIns;  // entry point function built-ins
 9968|       |
 9969|      0|        assert(entryPointFunction);
 9970|      0|        assert(entryPointFunctionBody);
 9971|       |
 9972|      0|        findBuiltIns(patchConstantFunction, pcfBuiltIns);
 9973|      0|        findBuiltIns(*entryPointFunction,   epfBuiltIns);
 9974|       |
 9975|       |        // Find the set of built-ins in the PCF that are not present in the entry point.
 9976|      0|        std::set<tInterstageIoData> notInEntryPoint;
 9977|       |
 9978|      0|        notInEntryPoint = pcfBuiltIns;
 9979|       |
 9980|       |        // std::set_difference not usable on unordered containers
 9981|      0|        for (auto bi = epfBuiltIns.begin(); bi != epfBuiltIns.end(); ++bi)
  ------------------
  |  Branch (9981:45): [True: 0, False: 0]
  ------------------
 9982|      0|            notInEntryPoint.erase(*bi);
 9983|       |
 9984|       |        // Now we'll add those to the entry and to the linkage.
 9985|      0|        for (int p=0; p<pcfParamCount; ++p) {
  ------------------
  |  Branch (9985:23): [True: 0, False: 0]
  ------------------
 9986|      0|            const TBuiltInVariable biType   = patchConstantFunction[p].getDeclaredBuiltIn();
 9987|      0|            TStorageQualifier storage = patchConstantFunction[p].type->getQualifier().storage;
 9988|       |
 9989|       |            // Track whether there is an output patch param
 9990|      0|            if (isOutputPatch(patchConstantFunction, p)) {
  ------------------
  |  Branch (9990:17): [True: 0, False: 0]
  ------------------
 9991|      0|                if (outPatchParam >= 0) {
  ------------------
  |  Branch (9991:21): [True: 0, False: 0]
  ------------------
 9992|       |                    // Presently we only support one per ctrl pt input.
 9993|      0|                    error(loc, "unimplemented: multiple output patches in patch constant function", "", "");
 9994|      0|                    return;
 9995|      0|                }
 9996|      0|                outPatchParam = p;
 9997|      0|            }
 9998|       |
 9999|      0|            if (biType != EbvNone) {
  ------------------
  |  Branch (9999:17): [True: 0, False: 0]
  ------------------
10000|      0|                TType* paramType = patchConstantFunction[p].type->clone();
10001|       |
10002|      0|                if (storage == EvqConstReadOnly) // treated identically to input
  ------------------
  |  Branch (10002:21): [True: 0, False: 0]
  ------------------
10003|      0|                    storage = EvqIn;
10004|       |
10005|       |                // Presently, the only non-built-in we support is InputPatch, which is treated as
10006|       |                // a pseudo-built-in.
10007|      0|                if (biType == EbvInputPatch) {
  ------------------
  |  Branch (10007:21): [True: 0, False: 0]
  ------------------
10008|      0|                    builtInTessLinkageSymbols[biType] = inputPatch;
10009|      0|                } else if (biType == EbvOutputPatch) {
  ------------------
  |  Branch (10009:28): [True: 0, False: 0]
  ------------------
10010|       |                    // Nothing...
10011|      0|                } else {
10012|       |                    // Use the original declaration type for the linkage
10013|      0|                    paramType->getQualifier().builtIn = biType;
10014|      0|                    if (biType == EbvTessLevelInner || biType == EbvTessLevelOuter)
  ------------------
  |  Branch (10014:25): [True: 0, False: 0]
  |  Branch (10014:56): [True: 0, False: 0]
  ------------------
10015|      0|                        paramType->getQualifier().patch = true;
10016|       |
10017|      0|                    if (notInEntryPoint.count(tInterstageIoData(biType, storage)) == 1)
  ------------------
  |  Branch (10017:25): [True: 0, False: 0]
  ------------------
10018|      0|                        addToLinkage(*paramType, patchConstantFunction[p].name, nullptr);
10019|      0|                }
10020|      0|            }
10021|      0|        }
10022|       |
10023|       |        // If we didn't find it because the shader made one, add our own.
10024|      0|        if (invocationIdSym == nullptr) {
  ------------------
  |  Branch (10024:13): [True: 0, False: 0]
  ------------------
10025|      0|            TType invocationIdType(EbtUint, EvqIn, 1);
10026|      0|            TString* invocationIdName = NewPoolTString("InvocationId");
10027|      0|            invocationIdType.getQualifier().builtIn = EbvInvocationId;
10028|      0|            addToLinkage(invocationIdType, invocationIdName, &invocationIdSym);
10029|      0|        }
10030|       |
10031|      0|        assert(invocationIdSym);
10032|      0|    }
10033|       |
10034|      0|    TIntermTyped* pcfArguments = nullptr;
10035|      0|    TVariable* perCtrlPtVar = nullptr;
10036|       |
10037|       |    // ================ Step 1B: Argument synthesis ================
10038|       |    // Create pcfArguments for synthesis of patchconstantfunction invocation
10039|      0|    {
10040|      0|        for (int p=0; p<pcfParamCount; ++p) {
  ------------------
  |  Branch (10040:23): [True: 0, False: 0]
  ------------------
10041|      0|            TIntermTyped* inputArg = nullptr;
10042|       |
10043|      0|            if (p == outPatchParam) {
  ------------------
  |  Branch (10043:17): [True: 0, False: 0]
  ------------------
10044|      0|                if (perCtrlPtVar == nullptr) {
  ------------------
  |  Branch (10044:21): [True: 0, False: 0]
  ------------------
10045|      0|                    perCtrlPtVar = makeInternalVariable(*patchConstantFunction[outPatchParam].name,
10046|      0|                                                        *patchConstantFunction[outPatchParam].type);
10047|       |
10048|      0|                    perCtrlPtVar->getWritableType().getQualifier().makeTemporary();
10049|      0|                }
10050|      0|                inputArg = intermediate.addSymbol(*perCtrlPtVar, loc);
10051|      0|            } else {
10052|       |                // find which built-in it is
10053|      0|                const TBuiltInVariable biType = patchConstantFunction[p].getDeclaredBuiltIn();
10054|       |
10055|      0|                if (biType == EbvInputPatch && inputPatch == nullptr) {
  ------------------
  |  Branch (10055:21): [True: 0, False: 0]
  |  Branch (10055:48): [True: 0, False: 0]
  ------------------
10056|      0|                    error(loc, "unimplemented: PCF input patch without entry point input patch parameter", "", "");
10057|      0|                    return;
10058|      0|                }
10059|       |
10060|      0|                inputArg = findTessLinkageSymbol(biType);
10061|       |
10062|      0|                if (inputArg == nullptr) {
  ------------------
  |  Branch (10062:21): [True: 0, False: 0]
  ------------------
10063|      0|                    error(loc, "unable to find patch constant function built-in variable", "", "");
10064|      0|                    return;
10065|      0|                }
10066|      0|            }
10067|       |
10068|      0|            if (pcfParamCount == 1)
  ------------------
  |  Branch (10068:17): [True: 0, False: 0]
  ------------------
10069|      0|                pcfArguments = inputArg;
10070|      0|            else
10071|      0|                pcfArguments = intermediate.growAggregate(pcfArguments, inputArg);
10072|      0|        }
10073|      0|    }
10074|       |
10075|       |    // ================ Step 2: Synthesize call to PCF ================
10076|      0|    TIntermAggregate* pcfCallSequence = nullptr;
10077|      0|    TIntermTyped* pcfCall = nullptr;
10078|       |
10079|      0|    {
10080|       |        // Create a function call to the patchconstantfunction
10081|      0|        if (pcfArguments)
  ------------------
  |  Branch (10081:13): [True: 0, False: 0]
  ------------------
10082|      0|            addInputArgumentConversions(patchConstantFunction, pcfArguments);
10083|       |
10084|       |        // Synthetic call.
10085|      0|        pcfCall = intermediate.setAggregateOperator(pcfArguments, EOpFunctionCall, patchConstantFunction.getType(), loc);
10086|      0|        pcfCall->getAsAggregate()->setUserDefined();
10087|      0|        pcfCall->getAsAggregate()->setName(patchConstantFunction.getMangledName());
10088|      0|        intermediate.addToCallGraph(infoSink, intermediate.getEntryPointMangledName().c_str(),
10089|      0|                                    patchConstantFunction.getMangledName());
10090|       |
10091|      0|        if (pcfCall->getAsAggregate()) {
  ------------------
  |  Branch (10091:13): [True: 0, False: 0]
  ------------------
10092|      0|            TQualifierList& qualifierList = pcfCall->getAsAggregate()->getQualifierList();
10093|      0|            for (int i = 0; i < patchConstantFunction.getParamCount(); ++i) {
  ------------------
  |  Branch (10093:29): [True: 0, False: 0]
  ------------------
10094|      0|                TStorageQualifier qual = patchConstantFunction[i].type->getQualifier().storage;
10095|      0|                qualifierList.push_back(qual);
10096|      0|            }
10097|      0|            pcfCall = addOutputArgumentConversions(patchConstantFunction, *pcfCall->getAsOperator());
10098|      0|        }
10099|      0|    }
10100|       |
10101|       |    // ================ Step 2B: Per Control Point synthesis ================
10102|       |    // If there is per control point data, we must either emulate that with multiple
10103|       |    // invocations of the entry point to build up an array, or (TODO:) use a yet
10104|       |    // unavailable extension to look across the SIMD lanes.  This is the former
10105|       |    // as a placeholder for the latter.
10106|      0|    if (outPatchParam >= 0) {
  ------------------
  |  Branch (10106:9): [True: 0, False: 0]
  ------------------
10107|       |        // We must introduce a local temp variable of the type wanted by the PCF input.
10108|      0|        const int arraySize = patchConstantFunction[outPatchParam].type->getOuterArraySize();
10109|       |
10110|      0|        if (entryPointFunction->getType().getBasicType() == EbtVoid) {
  ------------------
  |  Branch (10110:13): [True: 0, False: 0]
  ------------------
10111|      0|            error(loc, "entry point must return a value for use with patch constant function", "", "");
10112|      0|            return;
10113|      0|        }
10114|       |
10115|       |        // Create calls to wrapped main to fill in the array.  We will substitute fixed values
10116|       |        // of invocation ID when calling the wrapped main.
10117|       |
10118|       |        // This is the type of the each member of the per ctrl point array.
10119|      0|        const TType derefType(perCtrlPtVar->getType(), 0);
10120|       |
10121|      0|        for (int cpt = 0; cpt < arraySize; ++cpt) {
  ------------------
  |  Branch (10121:27): [True: 0, False: 0]
  ------------------
10122|       |            // TODO: improve.  substr(1) here is to avoid the '@' that was grafted on but isn't in the symtab
10123|       |            // for this function.
10124|      0|            const TString origName = entryPointFunction->getName().substr(1);
10125|      0|            TFunction callee(&origName, TType(EbtVoid));
10126|      0|            TIntermTyped* callingArgs = nullptr;
10127|       |
10128|      0|            for (int i = 0; i < entryPointFunction->getParamCount(); i++) {
  ------------------
  |  Branch (10128:29): [True: 0, False: 0]
  ------------------
10129|      0|                TParameter& param = (*entryPointFunction)[i];
10130|      0|                TType& paramType = *param.type;
10131|       |
10132|      0|                if (paramType.getQualifier().isParamOutput()) {
  ------------------
  |  Branch (10132:21): [True: 0, False: 0]
  ------------------
10133|      0|                    error(loc, "unimplemented: entry point outputs in patch constant function invocation", "", "");
10134|      0|                    return;
10135|      0|                }
10136|       |
10137|      0|                if (paramType.getQualifier().isParamInput())  {
  ------------------
  |  Branch (10137:21): [True: 0, False: 0]
  ------------------
10138|      0|                    TIntermTyped* arg = nullptr;
10139|      0|                    if ((*entryPointFunction)[i].getDeclaredBuiltIn() == EbvInvocationId) {
  ------------------
  |  Branch (10139:25): [True: 0, False: 0]
  ------------------
10140|       |                        // substitute invocation ID with the array element ID
10141|      0|                        arg = intermediate.addConstantUnion(cpt, loc);
10142|      0|                    } else {
10143|      0|                        TVariable* argVar = makeInternalVariable(*param.name, *param.type);
10144|      0|                        argVar->getWritableType().getQualifier().makeTemporary();
10145|      0|                        arg = intermediate.addSymbol(*argVar);
10146|      0|                    }
10147|       |
10148|      0|                    handleFunctionArgument(&callee, callingArgs, arg);
10149|      0|                }
10150|      0|            }
10151|       |
10152|       |            // Call and assign to per ctrl point variable
10153|      0|            currentCaller = intermediate.getEntryPointMangledName().c_str();
10154|      0|            TIntermTyped* callReturn = handleFunctionCall(loc, &callee, callingArgs);
10155|      0|            TIntermTyped* index = intermediate.addConstantUnion(cpt, loc);
10156|      0|            TIntermSymbol* perCtrlPtSym = intermediate.addSymbol(*perCtrlPtVar, loc);
10157|      0|            TIntermTyped* element = intermediate.addIndex(EOpIndexDirect, perCtrlPtSym, index, loc);
10158|      0|            element->setType(derefType);
10159|      0|            element->setLoc(loc);
10160|       |
10161|      0|            pcfCallSequence = intermediate.growAggregate(pcfCallSequence,
10162|      0|                                                         handleAssign(loc, EOpAssign, element, callReturn));
10163|      0|        }
10164|      0|    }
10165|       |
10166|       |    // ================ Step 3: Create return Sequence ================
10167|       |    // Return sequence: copy PCF result to a temporary, then to shader output variable.
10168|      0|    if (pcfCall->getBasicType() != EbtVoid) {
  ------------------
  |  Branch (10168:9): [True: 0, False: 0]
  ------------------
10169|      0|        const TType* retType = &patchConstantFunction.getType();  // return type from the PCF
10170|      0|        TType outType; // output type that goes with the return type.
10171|      0|        outType.shallowCopy(*retType);
10172|       |
10173|       |        // substitute the output type
10174|      0|        const auto newLists = ioTypeMap.find(retType->getStruct());
10175|      0|        if (newLists != ioTypeMap.end())
  ------------------
  |  Branch (10175:13): [True: 0, False: 0]
  ------------------
10176|      0|            outType.setStruct(newLists->second.output);
10177|       |
10178|       |        // Substitute the top level type's built-in type
10179|      0|        if (patchConstantFunction.getDeclaredBuiltInType() != EbvNone)
  ------------------
  |  Branch (10179:13): [True: 0, False: 0]
  ------------------
10180|      0|            outType.getQualifier().builtIn = patchConstantFunction.getDeclaredBuiltInType();
10181|       |
10182|      0|        outType.getQualifier().patch = true; // make it a per-patch variable
10183|       |
10184|      0|        TVariable* pcfOutput = makeInternalVariable("@patchConstantOutput", outType);
10185|      0|        pcfOutput->getWritableType().getQualifier().storage = EvqVaryingOut;
10186|       |
10187|      0|        if (pcfOutput->getType().isStruct())
  ------------------
  |  Branch (10187:13): [True: 0, False: 0]
  ------------------
10188|      0|            flatten(*pcfOutput, false);
10189|       |
10190|      0|        assignToInterface(*pcfOutput);
10191|       |
10192|      0|        TIntermSymbol* pcfOutputSym = intermediate.addSymbol(*pcfOutput, loc);
10193|       |
10194|       |        // The call to the PCF is a complex R-value: we want to store it in a temp to avoid
10195|       |        // repeated calls to the PCF:
10196|      0|        TVariable* pcfCallResult = makeInternalVariable("@patchConstantResult", *retType);
10197|      0|        pcfCallResult->getWritableType().getQualifier().makeTemporary();
10198|       |
10199|      0|        TIntermSymbol* pcfResultVar = intermediate.addSymbol(*pcfCallResult, loc);
10200|      0|        TIntermNode* pcfResultAssign = handleAssign(loc, EOpAssign, pcfResultVar, pcfCall);
10201|      0|        TIntermNode* pcfResultToOut = handleAssign(loc, EOpAssign, pcfOutputSym,
10202|      0|                                                   intermediate.addSymbol(*pcfCallResult, loc));
10203|       |
10204|      0|        pcfCallSequence = intermediate.growAggregate(pcfCallSequence, pcfResultAssign);
10205|      0|        pcfCallSequence = intermediate.growAggregate(pcfCallSequence, pcfResultToOut);
10206|      0|    } else {
10207|      0|        pcfCallSequence = intermediate.growAggregate(pcfCallSequence, pcfCall);
10208|      0|    }
10209|       |
10210|       |    // ================ Step 4: Barrier ================
10211|      0|    TIntermTyped* barrier = new TIntermAggregate(EOpBarrier);
10212|      0|    barrier->setLoc(loc);
10213|      0|    barrier->setType(TType(EbtVoid));
10214|      0|    epBodySeq.insert(epBodySeq.end(), barrier);
10215|       |
10216|       |    // ================ Step 5: Test on invocation ID ================
10217|      0|    TIntermTyped* zero = intermediate.addConstantUnion(0, loc, true);
10218|      0|    TIntermTyped* cmp =  intermediate.addBinaryNode(EOpEqual, invocationIdSym, zero, loc, TType(EbtBool));
10219|       |
10220|       |
10221|       |    // ================ Step 5B: Create if statement on Invocation ID == 0 ================
10222|      0|    intermediate.setAggregateOperator(pcfCallSequence, EOpSequence, TType(EbtVoid), loc);
10223|      0|    TIntermTyped* invocationIdTest = new TIntermSelection(cmp, pcfCallSequence, nullptr);
10224|      0|    invocationIdTest->setLoc(loc);
10225|       |
10226|       |    // add our test sequence before the return.
10227|      0|    epBodySeq.insert(epBodySeq.end(), invocationIdTest);
10228|      0|}
_ZN7glslang16HlslParseContext32removeUnusedStructBufferCountersEv:
10234|    205|{
10235|    205|    const auto endIt = std::remove_if(linkageSymbols.begin(), linkageSymbols.end(),
10236|    205|                                      [this](const TSymbol* sym) {
10237|    205|                                          const auto sbcIt = structBufferCounter.find(sym->getName());
10238|    205|                                          return sbcIt != structBufferCounter.end() && !sbcIt->second;
10239|    205|                                      });
10240|       |
10241|    205|    linkageSymbols.erase(endIt, linkageSymbols.end());
10242|    205|}
_ZN7glslang16HlslParseContext21fixTextureShadowModesEv:
10246|    205|{
10247|    205|    for (auto symbol = linkageSymbols.begin(); symbol != linkageSymbols.end(); ++symbol) {
  ------------------
  |  Branch (10247:48): [True: 0, False: 205]
  ------------------
10248|      0|        TSampler& sampler = (*symbol)->getWritableType().getSampler();
10249|       |
10250|      0|        if (sampler.isTexture()) {
  ------------------
  |  Branch (10250:13): [True: 0, False: 0]
  ------------------
10251|      0|            const auto shadowMode = textureShadowVariant.find((*symbol)->getUniqueId());
10252|      0|            if (shadowMode != textureShadowVariant.end()) {
  ------------------
  |  Branch (10252:17): [True: 0, False: 0]
  ------------------
10253|       |
10254|      0|                if (shadowMode->second->overloaded())
  ------------------
  |  Branch (10254:21): [True: 0, False: 0]
  ------------------
10255|       |                    // Texture needs legalization if it's been seen with both shadow and non-shadow modes.
10256|      0|                    intermediate.setNeedsLegalization();
10257|       |
10258|      0|                sampler.shadow = shadowMode->second->isShadowId((*symbol)->getUniqueId());
10259|      0|            }
10260|      0|        }
10261|      0|    }
10262|    205|}
_ZN7glslang16HlslParseContext21finalizeAppendMethodsEv:
10267|    205|{
10268|    205|    TSourceLoc loc;
10269|    205|    loc.init();
10270|       |
10271|       |    // Nothing to do: bypass test for valid stream output.
10272|    205|    if (gsAppends.empty())
  ------------------
  |  Branch (10272:9): [True: 205, False: 0]
  ------------------
10273|    205|        return;
10274|       |
10275|      0|    if (gsStreamOutput == nullptr) {
  ------------------
  |  Branch (10275:9): [True: 0, False: 0]
  ------------------
10276|      0|        error(loc, "unable to find output symbol for Append()", "", "");
10277|      0|        return;
10278|      0|    }
10279|       |
10280|       |    // Patch append sequences, now that we know the stream output symbol.
10281|      0|    for (auto append = gsAppends.begin(); append != gsAppends.end(); ++append) {
  ------------------
  |  Branch (10281:43): [True: 0, False: 0]
  ------------------
10282|      0|        append->node->getSequence()[0] =
10283|      0|            handleAssign(append->loc, EOpAssign,
10284|      0|                         intermediate.addSymbol(*gsStreamOutput, append->loc),
10285|      0|                         append->node->getSequence()[0]->getAsTyped());
10286|      0|    }
10287|      0|}
_ZN7glslang16HlslParseContext6finishEv:
10291|    205|{
10292|       |    // Error check: There was a dangling .mips operator.  These are not nested constructs in the grammar, so
10293|       |    // cannot be detected there.  This is not strictly needed in a non-validating parser; it's just helpful.
10294|    205|    if (! mipsOperatorMipArg.empty()) {
  ------------------
  |  Branch (10294:9): [True: 0, False: 205]
  ------------------
10295|      0|        error(mipsOperatorMipArg.back().loc, "unterminated mips operator:", "", "");
10296|      0|    }
10297|       |
10298|    205|    removeUnusedStructBufferCounters();
10299|    205|    addPatchConstantInvocation();
10300|    205|    fixTextureShadowModes();
10301|    205|    finalizeAppendMethods();
10302|       |
10303|       |    // Communicate out (esp. for command line) that we formed AST that will make
10304|       |    // illegal AST SPIR-V and it needs transforms to legalize it.
10305|    205|    if (intermediate.needsLegalization() && (messages & EShMsgHlslLegalization))
  ------------------
  |  Branch (10305:9): [True: 0, False: 205]
  |  Branch (10305:45): [True: 0, False: 0]
  ------------------
10306|      0|        infoSink.info << "WARNING: AST will form illegal SPIR-V; need to transform to legalize";
10307|       |
10308|    205|    TParseContextBase::finish();
10309|    205|}
hlslParseHelper.cpp:_ZZN7glslang16HlslParseContext19getLayoutFromTxTypeERKNS_10TSourceLocERKNS_5TTypeEENK3$_0clENS_13TLayoutFormatES8_S8_:
  196|  6.27k|    const auto selectFormat = [this,&components](TLayoutFormat v1, TLayoutFormat v2, TLayoutFormat v4) -> TLayoutFormat {
  197|  6.27k|        if (intermediate.getNoStorageFormat())
  ------------------
  |  Branch (197:13): [True: 0, False: 6.27k]
  ------------------
  198|      0|            return ElfNone;
  199|       |
  200|  6.27k|        return components == 1 ? v1 :
  ------------------
  |  Branch (200:16): [True: 3.30k, False: 2.97k]
  ------------------
  201|  6.27k|               components == 2 ? v2 : v4;
  ------------------
  |  Branch (201:16): [True: 1.98k, False: 990]
  ------------------
  202|  6.27k|    };

_ZN7glslang16HlslParseContext20reservedPpErrorCheckERKNS_10TSourceLocEPKcS5_:
   67|     24|    void reservedPpErrorCheck(const TSourceLoc&, const char* /*name*/, const char* /*op*/) override { }
_ZN7glslang16HlslParseContext21lineContinuationCheckERKNS_10TSourceLocEb:
   68|  51.5k|    bool lineContinuationCheck(const TSourceLoc&, bool /*endOfComment*/) override { return true; }
_ZN7glslang16HlslParseContext25getAnnotationNestingLevelEv:
  172|      2|    int getAnnotationNestingLevel() { return annotationNestingLevel; }
_ZN7glslang16HlslParseContext21beginParameterParsingERNS_9TFunctionE:
  189|   440k|    {
  190|   440k|        parsingEntrypointParameters = isEntrypointName(function.getName());
  191|   440k|    }
_ZN7glslang16HlslParseContext16isEntrypointNameERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  252|   440k|    bool isEntrypointName(const TString& name) { return name.compare(intermediate.getEntryPointName().c_str()) == 0; }

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

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

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

_ZN7glslang15HlslTokenStream12pushPreTokenERKNS_9HlslTokenE:
   41|    160|{
   42|       |    assert(preTokenStackSize < tokenBufferSize);
   43|    160|    preTokenStack[preTokenStackSize++] = tok;
   44|    160|}
_ZN7glslang15HlslTokenStream15pushTokenBufferERKNS_9HlslTokenE:
   54|  4.11M|{
   55|  4.11M|    tokenBuffer[tokenBufferPos] = tok;
   56|  4.11M|    tokenBufferPos = (tokenBufferPos+1) % tokenBufferSize;
   57|  4.11M|}
_ZN7glslang15HlslTokenStream14popTokenBufferEv:
   60|    160|{
   61|       |    // Back up
   62|    160|    tokenBufferPos = (tokenBufferPos+tokenBufferSize-1) % tokenBufferSize;
   63|       |
   64|    160|    return tokenBuffer[tokenBufferPos];
   65|    160|}
_ZN7glslang15HlslTokenStream12advanceTokenEv:
  102|  4.11M|{
  103|  4.11M|    pushTokenBuffer(token);
  104|  4.11M|    if (preTokenStackSize > 0)
  ------------------
  |  Branch (104:9): [True: 0, False: 4.11M]
  ------------------
  105|      0|        token = popPreToken();
  106|  4.11M|    else {
  107|  4.11M|        if (tokenStreamStack.size() == 0)
  ------------------
  |  Branch (107:13): [True: 4.11M, False: 0]
  ------------------
  108|  4.11M|            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|  4.11M|    }
  117|  4.11M|}
_ZN7glslang15HlslTokenStream11recedeTokenEv:
  120|    160|{
  121|    160|    pushPreToken(token);
  122|    160|    token = popTokenBuffer();
  123|    160|}
_ZNK7glslang15HlslTokenStream4peekEv:
  127|  24.4M|{
  128|  24.4M|    return token.tokenClass;
  129|  24.4M|}
_ZNK7glslang15HlslTokenStream14peekTokenClassENS_15EHlslTokenClassE:
  134|  16.9M|{
  135|  16.9M|    return peek() == tokenClass;
  136|  16.9M|}
_ZN7glslang15HlslTokenStream16acceptTokenClassENS_15EHlslTokenClassE:
  141|  8.54M|{
  142|  8.54M|    if (peekTokenClass(tokenClass)) {
  ------------------
  |  Branch (142:9): [True: 2.05M, False: 6.48M]
  ------------------
  143|  2.05M|        advanceToken();
  144|  2.05M|        return true;
  145|  2.05M|    }
  146|       |
  147|  6.48M|    return false;
  148|  8.54M|}

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

_ZNK7glslang20TIntermConstantUnion4foldENS_9TOperatorEPKNS_12TIntermTypedE:
   73|    580|{
   74|       |    // For most cases, the return type matches the argument type, so set that
   75|       |    // up and just code to exceptions below.
   76|    580|    TType returnType;
   77|    580|    returnType.shallowCopy(getType());
   78|       |
   79|       |    //
   80|       |    // A pair of nodes is to be folded together
   81|       |    //
   82|       |
   83|    580|    const TIntermConstantUnion *rightNode = rightConstantNode->getAsConstantUnion();
   84|    580|    TConstUnionArray leftUnionArray = getConstArray();
   85|    580|    TConstUnionArray rightUnionArray = rightNode->getConstArray();
   86|       |
   87|       |    // Figure out the size of the result
   88|    580|    int newComps;
   89|    580|    int constComps;
   90|    580|    switch(op) {
   91|      0|    case EOpMatrixTimesMatrix:
  ------------------
  |  Branch (91:5): [True: 0, False: 580]
  ------------------
   92|      0|        newComps = rightNode->getMatrixCols() * getMatrixRows();
   93|      0|        break;
   94|      0|    case EOpMatrixTimesVector:
  ------------------
  |  Branch (94:5): [True: 0, False: 580]
  ------------------
   95|      0|        newComps = getMatrixRows();
   96|      0|        break;
   97|      0|    case EOpVectorTimesMatrix:
  ------------------
  |  Branch (97:5): [True: 0, False: 580]
  ------------------
   98|      0|        newComps = rightNode->getMatrixCols();
   99|      0|        break;
  100|    580|    default:
  ------------------
  |  Branch (100:5): [True: 580, False: 0]
  ------------------
  101|    580|        newComps = getType().computeNumComponents();
  102|    580|        constComps = rightConstantNode->getType().computeNumComponents();
  103|    580|        if (constComps == 1 && newComps > 1) {
  ------------------
  |  Branch (103:13): [True: 570, False: 10]
  |  Branch (103:32): [True: 0, False: 570]
  ------------------
  104|       |            // for a case like vec4 f = vec4(2,3,4,5) + 1.2;
  105|      0|            TConstUnionArray smearedArray(newComps, rightNode->getConstArray()[0]);
  106|      0|            rightUnionArray = smearedArray;
  107|    580|        } else if (constComps > 1 && newComps == 1) {
  ------------------
  |  Branch (107:20): [True: 10, False: 570]
  |  Branch (107:38): [True: 10, False: 0]
  ------------------
  108|       |            // for a case like vec4 f = 1.2 + vec4(2,3,4,5);
  109|     10|            newComps = constComps;
  110|     10|            rightUnionArray = rightNode->getConstArray();
  111|     10|            TConstUnionArray smearedArray(newComps, getConstArray()[0]);
  112|     10|            leftUnionArray = smearedArray;
  113|     10|            returnType.shallowCopy(rightNode->getType());
  114|     10|        }
  115|    580|        break;
  116|    580|    }
  117|       |
  118|    580|    TConstUnionArray newConstArray(newComps);
  119|    580|    TType constBool(EbtBool, EvqConst);
  120|       |
  121|    580|    switch(op) {
  122|    323|    case EOpAdd:
  ------------------
  |  Branch (122:5): [True: 323, False: 257]
  ------------------
  123|    656|        for (int i = 0; i < newComps; i++)
  ------------------
  |  Branch (123:25): [True: 333, False: 323]
  ------------------
  124|    333|            newConstArray[i] = leftUnionArray[i] + rightUnionArray[i];
  125|    323|        break;
  126|    138|    case EOpSub:
  ------------------
  |  Branch (126:5): [True: 138, False: 442]
  ------------------
  127|    276|        for (int i = 0; i < newComps; i++)
  ------------------
  |  Branch (127:25): [True: 138, False: 138]
  ------------------
  128|    138|            newConstArray[i] = leftUnionArray[i] - rightUnionArray[i];
  129|    138|        break;
  130|       |
  131|    117|    case EOpMul:
  ------------------
  |  Branch (131:5): [True: 117, False: 463]
  ------------------
  132|    117|    case EOpVectorTimesScalar:
  ------------------
  |  Branch (132:5): [True: 0, False: 580]
  ------------------
  133|    117|    case EOpMatrixTimesScalar:
  ------------------
  |  Branch (133:5): [True: 0, False: 580]
  ------------------
  134|    234|        for (int i = 0; i < newComps; i++)
  ------------------
  |  Branch (134:25): [True: 117, False: 117]
  ------------------
  135|    117|            newConstArray[i] = leftUnionArray[i] * rightUnionArray[i];
  136|    117|        break;
  137|      0|    case EOpMatrixTimesMatrix:
  ------------------
  |  Branch (137:5): [True: 0, False: 580]
  ------------------
  138|      0|        for (int row = 0; row < getMatrixRows(); row++) {
  ------------------
  |  Branch (138:27): [True: 0, False: 0]
  ------------------
  139|      0|            for (int column = 0; column < rightNode->getMatrixCols(); column++) {
  ------------------
  |  Branch (139:34): [True: 0, False: 0]
  ------------------
  140|      0|                double sum = 0.0f;
  141|      0|                for (int i = 0; i < rightNode->getMatrixRows(); i++)
  ------------------
  |  Branch (141:33): [True: 0, False: 0]
  ------------------
  142|      0|                    sum += leftUnionArray[i * getMatrixRows() + row].getDConst() * rightUnionArray[column * rightNode->getMatrixRows() + i].getDConst();
  143|      0|                newConstArray[column * getMatrixRows() + row].setDConst(sum);
  144|      0|            }
  145|      0|        }
  146|      0|        returnType.shallowCopy(TType(getType().getBasicType(), EvqConst, 0, rightNode->getMatrixCols(), getMatrixRows()));
  147|      0|        break;
  148|      0|    case EOpDiv:
  ------------------
  |  Branch (148:5): [True: 0, False: 580]
  ------------------
  149|      0|        for (int i = 0; i < newComps; i++) {
  ------------------
  |  Branch (149:25): [True: 0, False: 0]
  ------------------
  150|      0|            switch (getType().getBasicType()) {
  151|      0|            case EbtDouble:
  ------------------
  |  Branch (151:13): [True: 0, False: 0]
  ------------------
  152|      0|            case EbtFloat:
  ------------------
  |  Branch (152:13): [True: 0, False: 0]
  ------------------
  153|      0|            case EbtFloat16:
  ------------------
  |  Branch (153:13): [True: 0, False: 0]
  ------------------
  154|      0|            case EbtBFloat16:
  ------------------
  |  Branch (154:13): [True: 0, False: 0]
  ------------------
  155|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (155:13): [True: 0, False: 0]
  ------------------
  156|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (156:13): [True: 0, False: 0]
  ------------------
  157|      0|                if (rightUnionArray[i].getDConst() != 0.0)
  ------------------
  |  Branch (157:21): [True: 0, False: 0]
  ------------------
  158|      0|                    newConstArray[i].setDConst(leftUnionArray[i].getDConst() / rightUnionArray[i].getDConst());
  159|      0|                else if (leftUnionArray[i].getDConst() > 0.0)
  ------------------
  |  Branch (159:26): [True: 0, False: 0]
  ------------------
  160|      0|                    newConstArray[i].setDConst((double)INFINITY);
  161|      0|                else if (leftUnionArray[i].getDConst() < 0.0)
  ------------------
  |  Branch (161:26): [True: 0, False: 0]
  ------------------
  162|      0|                    newConstArray[i].setDConst(-(double)INFINITY);
  163|      0|                else
  164|      0|                    newConstArray[i].setDConst((double)NAN);
  165|      0|                break;
  166|       |
  167|      0|            case EbtInt:
  ------------------
  |  Branch (167:13): [True: 0, False: 0]
  ------------------
  168|      0|                if (rightUnionArray[i] == 0)
  ------------------
  |  Branch (168:21): [True: 0, False: 0]
  ------------------
  169|      0|                    newConstArray[i].setIConst(0x7FFFFFFF);
  170|      0|                else if (rightUnionArray[i].getIConst() == -1 && leftUnionArray[i].getIConst() == (int)-0x80000000ll)
  ------------------
  |  Branch (170:26): [True: 0, False: 0]
  |  Branch (170:66): [True: 0, False: 0]
  ------------------
  171|      0|                    newConstArray[i].setIConst((int)-0x80000000ll);
  172|      0|                else
  173|      0|                    newConstArray[i].setIConst(leftUnionArray[i].getIConst() / rightUnionArray[i].getIConst());
  174|      0|                break;
  175|       |
  176|      0|            case EbtUint:
  ------------------
  |  Branch (176:13): [True: 0, False: 0]
  ------------------
  177|      0|                if (rightUnionArray[i] == 0u)
  ------------------
  |  Branch (177:21): [True: 0, False: 0]
  ------------------
  178|      0|                    newConstArray[i].setUConst(0xFFFFFFFFu);
  179|      0|                else
  180|      0|                    newConstArray[i].setUConst(leftUnionArray[i].getUConst() / rightUnionArray[i].getUConst());
  181|      0|                break;
  182|       |
  183|      0|            case EbtInt8:
  ------------------
  |  Branch (183:13): [True: 0, False: 0]
  ------------------
  184|      0|                if (rightUnionArray[i] == (signed char)0)
  ------------------
  |  Branch (184:21): [True: 0, False: 0]
  ------------------
  185|      0|                    newConstArray[i].setI8Const((signed char)0x7F);
  186|      0|                else if (rightUnionArray[i].getI8Const() == (signed char)-1 && leftUnionArray[i].getI8Const() == (signed char)-0x80)
  ------------------
  |  Branch (186:26): [True: 0, False: 0]
  |  Branch (186:80): [True: 0, False: 0]
  ------------------
  187|      0|                    newConstArray[i].setI8Const((signed char)-0x80);
  188|      0|                else
  189|      0|                    newConstArray[i].setI8Const(leftUnionArray[i].getI8Const() / rightUnionArray[i].getI8Const());
  190|      0|                break;
  191|       |
  192|      0|            case EbtUint8:
  ------------------
  |  Branch (192:13): [True: 0, False: 0]
  ------------------
  193|      0|                if (rightUnionArray[i] == (unsigned char)0u)
  ------------------
  |  Branch (193:21): [True: 0, False: 0]
  ------------------
  194|      0|                    newConstArray[i].setU8Const((unsigned char)0xFFu);
  195|      0|                else
  196|      0|                    newConstArray[i].setU8Const(leftUnionArray[i].getU8Const() / rightUnionArray[i].getU8Const());
  197|      0|                break;
  198|       |
  199|      0|           case EbtInt16:
  ------------------
  |  Branch (199:12): [True: 0, False: 0]
  ------------------
  200|      0|                if (rightUnionArray[i] == (signed short)0)
  ------------------
  |  Branch (200:21): [True: 0, False: 0]
  ------------------
  201|      0|                    newConstArray[i].setI16Const((signed short)0x7FFF);
  202|      0|                else if (rightUnionArray[i].getI16Const() == (signed short)-1 && leftUnionArray[i].getI16Const() == (signed short)-0x8000)
  ------------------
  |  Branch (202:26): [True: 0, False: 0]
  |  Branch (202:82): [True: 0, False: 0]
  ------------------
  203|      0|                    newConstArray[i].setI16Const((signed short)-0x8000);
  204|      0|                else
  205|      0|                    newConstArray[i].setI16Const(leftUnionArray[i].getI16Const() / rightUnionArray[i].getI16Const());
  206|      0|                break;
  207|       |
  208|      0|            case EbtUint16:
  ------------------
  |  Branch (208:13): [True: 0, False: 0]
  ------------------
  209|      0|                if (rightUnionArray[i] == (unsigned short)0u)
  ------------------
  |  Branch (209:21): [True: 0, False: 0]
  ------------------
  210|      0|                    newConstArray[i].setU16Const((unsigned short)0xFFFFu);
  211|      0|                else
  212|      0|                    newConstArray[i].setU16Const(leftUnionArray[i].getU16Const() / rightUnionArray[i].getU16Const());
  213|      0|                break;
  214|       |
  215|      0|            case EbtInt64:
  ------------------
  |  Branch (215:13): [True: 0, False: 0]
  ------------------
  216|      0|                if (rightUnionArray[i] == 0ll)
  ------------------
  |  Branch (216:21): [True: 0, False: 0]
  ------------------
  217|      0|                    newConstArray[i].setI64Const(LLONG_MAX);
  218|      0|                else if (rightUnionArray[i].getI64Const() == -1 && leftUnionArray[i].getI64Const() == LLONG_MIN)
  ------------------
  |  Branch (218:26): [True: 0, False: 0]
  |  Branch (218:68): [True: 0, False: 0]
  ------------------
  219|      0|                    newConstArray[i].setI64Const(LLONG_MIN);
  220|      0|                else
  221|      0|                    newConstArray[i].setI64Const(leftUnionArray[i].getI64Const() / rightUnionArray[i].getI64Const());
  222|      0|                break;
  223|       |
  224|      0|            case EbtUint64:
  ------------------
  |  Branch (224:13): [True: 0, False: 0]
  ------------------
  225|      0|                if (rightUnionArray[i] == 0ull)
  ------------------
  |  Branch (225:21): [True: 0, False: 0]
  ------------------
  226|      0|                    newConstArray[i].setU64Const(0xFFFFFFFFFFFFFFFFull);
  227|      0|                else
  228|      0|                    newConstArray[i].setU64Const(leftUnionArray[i].getU64Const() / rightUnionArray[i].getU64Const());
  229|      0|                break;
  230|      0|            default:
  ------------------
  |  Branch (230:13): [True: 0, False: 0]
  ------------------
  231|      0|                return nullptr;
  232|      0|            }
  233|      0|        }
  234|      0|        break;
  235|       |
  236|      0|    case EOpMatrixTimesVector:
  ------------------
  |  Branch (236:5): [True: 0, False: 580]
  ------------------
  237|      0|        for (int i = 0; i < getMatrixRows(); i++) {
  ------------------
  |  Branch (237:25): [True: 0, False: 0]
  ------------------
  238|      0|            double sum = 0.0f;
  239|      0|            for (int j = 0; j < rightNode->getVectorSize(); j++) {
  ------------------
  |  Branch (239:29): [True: 0, False: 0]
  ------------------
  240|      0|                sum += leftUnionArray[j*getMatrixRows() + i].getDConst() * rightUnionArray[j].getDConst();
  241|      0|            }
  242|      0|            newConstArray[i].setDConst(sum);
  243|      0|        }
  244|       |
  245|      0|        returnType.shallowCopy(TType(getBasicType(), EvqConst, getMatrixRows()));
  246|      0|        break;
  247|       |
  248|      0|    case EOpVectorTimesMatrix:
  ------------------
  |  Branch (248:5): [True: 0, False: 580]
  ------------------
  249|      0|        for (int i = 0; i < rightNode->getMatrixCols(); i++) {
  ------------------
  |  Branch (249:25): [True: 0, False: 0]
  ------------------
  250|      0|            double sum = 0.0f;
  251|      0|            for (int j = 0; j < getVectorSize(); j++)
  ------------------
  |  Branch (251:29): [True: 0, False: 0]
  ------------------
  252|      0|                sum += leftUnionArray[j].getDConst() * rightUnionArray[i*rightNode->getMatrixRows() + j].getDConst();
  253|      0|            newConstArray[i].setDConst(sum);
  254|      0|        }
  255|       |
  256|      0|        returnType.shallowCopy(TType(getBasicType(), EvqConst, rightNode->getMatrixCols()));
  257|      0|        break;
  258|       |
  259|      0|    case EOpMod:
  ------------------
  |  Branch (259:5): [True: 0, False: 580]
  ------------------
  260|      0|        for (int i = 0; i < newComps; i++) {
  ------------------
  |  Branch (260:25): [True: 0, False: 0]
  ------------------
  261|      0|            if (rightUnionArray[i] == 0)
  ------------------
  |  Branch (261:17): [True: 0, False: 0]
  ------------------
  262|      0|                newConstArray[i] = leftUnionArray[i];
  263|      0|            else {
  264|      0|                switch (getType().getBasicType()) {
  265|      0|                case EbtInt:
  ------------------
  |  Branch (265:17): [True: 0, False: 0]
  ------------------
  266|      0|                    if (rightUnionArray[i].getIConst() == -1 && leftUnionArray[i].getIConst() == INT_MIN) {
  ------------------
  |  Branch (266:25): [True: 0, False: 0]
  |  Branch (266:65): [True: 0, False: 0]
  ------------------
  267|      0|                        newConstArray[i].setIConst(0);
  268|      0|                        break;
  269|      0|                    } else goto modulo_default;
  270|      0|                case EbtInt64:
  ------------------
  |  Branch (270:17): [True: 0, False: 0]
  ------------------
  271|      0|                    if (rightUnionArray[i].getI64Const() == -1 && leftUnionArray[i].getI64Const() == LLONG_MIN) {
  ------------------
  |  Branch (271:25): [True: 0, False: 0]
  |  Branch (271:67): [True: 0, False: 0]
  ------------------
  272|      0|                        newConstArray[i].setI64Const(0);
  273|      0|                        break;
  274|      0|                    } else goto modulo_default;
  275|      0|                case EbtInt16:
  ------------------
  |  Branch (275:17): [True: 0, False: 0]
  ------------------
  276|      0|                    if (rightUnionArray[i].getIConst() == -1 && leftUnionArray[i].getIConst() == SHRT_MIN) {
  ------------------
  |  Branch (276:25): [True: 0, False: 0]
  |  Branch (276:65): [True: 0, False: 0]
  ------------------
  277|      0|                        newConstArray[i].setIConst(0);
  278|      0|                        break;
  279|      0|                    } else goto modulo_default;
  280|      0|                default:
  ------------------
  |  Branch (280:17): [True: 0, False: 0]
  ------------------
  281|      0|                modulo_default:
  282|      0|                    newConstArray[i] = leftUnionArray[i] % rightUnionArray[i];
  283|      0|                }
  284|      0|            }
  285|      0|        }
  286|      0|        break;
  287|       |
  288|      0|    case EOpRightShift:
  ------------------
  |  Branch (288:5): [True: 0, False: 580]
  ------------------
  289|      0|        for (int i = 0; i < newComps; i++)
  ------------------
  |  Branch (289:25): [True: 0, False: 0]
  ------------------
  290|      0|            newConstArray[i] = leftUnionArray[i] >> rightUnionArray[i];
  291|      0|        break;
  292|       |
  293|      0|    case EOpLeftShift:
  ------------------
  |  Branch (293:5): [True: 0, False: 580]
  ------------------
  294|      0|        for (int i = 0; i < newComps; i++)
  ------------------
  |  Branch (294:25): [True: 0, False: 0]
  ------------------
  295|      0|            newConstArray[i] = leftUnionArray[i] << rightUnionArray[i];
  296|      0|        break;
  297|       |
  298|      1|    case EOpAnd:
  ------------------
  |  Branch (298:5): [True: 1, False: 579]
  ------------------
  299|      2|        for (int i = 0; i < newComps; i++)
  ------------------
  |  Branch (299:25): [True: 1, False: 1]
  ------------------
  300|      1|            newConstArray[i] = leftUnionArray[i] & rightUnionArray[i];
  301|      1|        break;
  302|      0|    case EOpInclusiveOr:
  ------------------
  |  Branch (302:5): [True: 0, False: 580]
  ------------------
  303|      0|        for (int i = 0; i < newComps; i++)
  ------------------
  |  Branch (303:25): [True: 0, False: 0]
  ------------------
  304|      0|            newConstArray[i] = leftUnionArray[i] | rightUnionArray[i];
  305|      0|        break;
  306|      0|    case EOpExclusiveOr:
  ------------------
  |  Branch (306:5): [True: 0, False: 580]
  ------------------
  307|      0|        for (int i = 0; i < newComps; i++)
  ------------------
  |  Branch (307:25): [True: 0, False: 0]
  ------------------
  308|      0|            newConstArray[i] = leftUnionArray[i] ^ rightUnionArray[i];
  309|      0|        break;
  310|       |
  311|      0|    case EOpLogicalAnd: // this code is written for possible future use, will not get executed currently
  ------------------
  |  Branch (311:5): [True: 0, False: 580]
  ------------------
  312|      0|        for (int i = 0; i < newComps; i++)
  ------------------
  |  Branch (312:25): [True: 0, False: 0]
  ------------------
  313|      0|            newConstArray[i] = leftUnionArray[i] && rightUnionArray[i];
  314|      0|        break;
  315|       |
  316|      0|    case EOpLogicalOr: // this code is written for possible future use, will not get executed currently
  ------------------
  |  Branch (316:5): [True: 0, False: 580]
  ------------------
  317|      0|        for (int i = 0; i < newComps; i++)
  ------------------
  |  Branch (317:25): [True: 0, False: 0]
  ------------------
  318|      0|            newConstArray[i] = leftUnionArray[i] || rightUnionArray[i];
  319|      0|        break;
  320|       |
  321|      0|    case EOpLogicalXor:
  ------------------
  |  Branch (321:5): [True: 0, False: 580]
  ------------------
  322|      0|        for (int i = 0; i < newComps; i++) {
  ------------------
  |  Branch (322:25): [True: 0, False: 0]
  ------------------
  323|      0|            switch (getType().getBasicType()) {
  324|      0|            case EbtBool: newConstArray[i].setBConst((leftUnionArray[i] == rightUnionArray[i]) ? false : true); break;
  ------------------
  |  Branch (324:13): [True: 0, False: 0]
  |  Branch (324:54): [True: 0, False: 0]
  ------------------
  325|      0|            default: assert(false && "Default missing");
  ------------------
  |  Branch (325:13): [True: 0, False: 0]
  ------------------
  326|      0|            }
  327|      0|        }
  328|      0|        break;
  329|       |
  330|      1|    case EOpLessThan:
  ------------------
  |  Branch (330:5): [True: 1, False: 579]
  ------------------
  331|      1|        newConstArray[0].setBConst(leftUnionArray[0] < rightUnionArray[0]);
  332|      1|        returnType.shallowCopy(constBool);
  333|      1|        break;
  334|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (334:5): [True: 0, False: 580]
  ------------------
  335|      0|        newConstArray[0].setBConst(leftUnionArray[0] > rightUnionArray[0]);
  336|      0|        returnType.shallowCopy(constBool);
  337|      0|        break;
  338|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (338:5): [True: 0, False: 580]
  ------------------
  339|      0|        newConstArray[0].setBConst(! (leftUnionArray[0] > rightUnionArray[0]));
  340|      0|        returnType.shallowCopy(constBool);
  341|      0|        break;
  342|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (342:5): [True: 0, False: 580]
  ------------------
  343|      0|        newConstArray[0].setBConst(! (leftUnionArray[0] < rightUnionArray[0]));
  344|      0|        returnType.shallowCopy(constBool);
  345|      0|        break;
  346|      0|    case EOpEqual:
  ------------------
  |  Branch (346:5): [True: 0, False: 580]
  ------------------
  347|      0|        newConstArray[0].setBConst(rightNode->getConstArray() == leftUnionArray);
  348|      0|        returnType.shallowCopy(constBool);
  349|      0|        break;
  350|      0|    case EOpNotEqual:
  ------------------
  |  Branch (350:5): [True: 0, False: 580]
  ------------------
  351|      0|        newConstArray[0].setBConst(rightNode->getConstArray() != leftUnionArray);
  352|      0|        returnType.shallowCopy(constBool);
  353|      0|        break;
  354|       |
  355|      0|    default:
  ------------------
  |  Branch (355:5): [True: 0, False: 580]
  ------------------
  356|      0|        return nullptr;
  357|    580|    }
  358|       |
  359|    580|    TIntermConstantUnion *newNode = new TIntermConstantUnion(newConstArray, returnType);
  360|    580|    newNode->setLoc(getLoc());
  361|       |
  362|    580|    return newNode;
  363|    580|}
_ZNK7glslang20TIntermConstantUnion4foldENS_9TOperatorERKNS_5TTypeE:
  371|    100|{
  372|       |    // First, size the result, which is mostly the same as the argument's size,
  373|       |    // but not always, and classify what is componentwise.
  374|       |    // Also, eliminate cases that can't be compile-time constant.
  375|    100|    int resultSize;
  376|    100|    bool componentWise = true;
  377|       |
  378|    100|    int objectSize = getType().computeNumComponents();
  379|    100|    switch (op) {
  380|      0|    case EOpDeterminant:
  ------------------
  |  Branch (380:5): [True: 0, False: 100]
  ------------------
  381|      0|    case EOpAny:
  ------------------
  |  Branch (381:5): [True: 0, False: 100]
  ------------------
  382|      0|    case EOpAll:
  ------------------
  |  Branch (382:5): [True: 0, False: 100]
  ------------------
  383|      0|    case EOpLength:
  ------------------
  |  Branch (383:5): [True: 0, False: 100]
  ------------------
  384|      0|        componentWise = false;
  385|      0|        resultSize = 1;
  386|      0|        break;
  387|       |
  388|      0|    case EOpEmitStreamVertex:
  ------------------
  |  Branch (388:5): [True: 0, False: 100]
  ------------------
  389|      0|    case EOpEndStreamPrimitive:
  ------------------
  |  Branch (389:5): [True: 0, False: 100]
  ------------------
  390|       |        // These don't fold
  391|      0|        return nullptr;
  392|       |
  393|      0|    case EOpPackSnorm2x16:
  ------------------
  |  Branch (393:5): [True: 0, False: 100]
  ------------------
  394|      0|    case EOpPackUnorm2x16:
  ------------------
  |  Branch (394:5): [True: 0, False: 100]
  ------------------
  395|      0|    case EOpPackHalf2x16:
  ------------------
  |  Branch (395:5): [True: 0, False: 100]
  ------------------
  396|      0|        componentWise = false;
  397|      0|        resultSize = 1;
  398|      0|        break;
  399|       |
  400|      0|    case EOpUnpackSnorm2x16:
  ------------------
  |  Branch (400:5): [True: 0, False: 100]
  ------------------
  401|      0|    case EOpUnpackUnorm2x16:
  ------------------
  |  Branch (401:5): [True: 0, False: 100]
  ------------------
  402|      0|    case EOpUnpackHalf2x16:
  ------------------
  |  Branch (402:5): [True: 0, False: 100]
  ------------------
  403|      0|        componentWise = false;
  404|      0|        resultSize = 2;
  405|      0|        break;
  406|       |
  407|      0|    case EOpPack16:
  ------------------
  |  Branch (407:5): [True: 0, False: 100]
  ------------------
  408|      0|    case EOpPack32:
  ------------------
  |  Branch (408:5): [True: 0, False: 100]
  ------------------
  409|      0|    case EOpPack64:
  ------------------
  |  Branch (409:5): [True: 0, False: 100]
  ------------------
  410|      0|    case EOpUnpack32:
  ------------------
  |  Branch (410:5): [True: 0, False: 100]
  ------------------
  411|      0|    case EOpUnpack16:
  ------------------
  |  Branch (411:5): [True: 0, False: 100]
  ------------------
  412|      0|    case EOpUnpack8:
  ------------------
  |  Branch (412:5): [True: 0, False: 100]
  ------------------
  413|      0|    case EOpNormalize:
  ------------------
  |  Branch (413:5): [True: 0, False: 100]
  ------------------
  414|      0|        componentWise = false;
  415|      0|        resultSize = objectSize;
  416|      0|        break;
  417|       |
  418|    100|    default:
  ------------------
  |  Branch (418:5): [True: 100, False: 0]
  ------------------
  419|    100|        resultSize = objectSize;
  420|    100|        break;
  421|    100|    }
  422|       |
  423|       |    // Set up for processing
  424|    100|    TConstUnionArray newConstArray(resultSize);
  425|    100|    const TConstUnionArray& unionArray = getConstArray();
  426|       |
  427|       |    // Process non-component-wise operations
  428|    100|    switch (op) {
  429|      0|    case EOpLength:
  ------------------
  |  Branch (429:5): [True: 0, False: 100]
  ------------------
  430|      0|    case EOpNormalize:
  ------------------
  |  Branch (430:5): [True: 0, False: 100]
  ------------------
  431|      0|    {
  432|      0|        double sum = 0;
  433|      0|        for (int i = 0; i < objectSize; i++)
  ------------------
  |  Branch (433:25): [True: 0, False: 0]
  ------------------
  434|      0|            sum += unionArray[i].getDConst() * unionArray[i].getDConst();
  435|      0|        double length = sqrt(sum);
  436|      0|        if (op == EOpLength)
  ------------------
  |  Branch (436:13): [True: 0, False: 0]
  ------------------
  437|      0|            newConstArray[0].setDConst(length);
  438|      0|        else {
  439|      0|            for (int i = 0; i < objectSize; i++)
  ------------------
  |  Branch (439:29): [True: 0, False: 0]
  ------------------
  440|      0|                newConstArray[i].setDConst(unionArray[i].getDConst() / length);
  441|      0|        }
  442|      0|        break;
  443|      0|    }
  444|       |
  445|      0|    case EOpAny:
  ------------------
  |  Branch (445:5): [True: 0, False: 100]
  ------------------
  446|      0|    {
  447|      0|        bool result = false;
  448|      0|        for (int i = 0; i < objectSize; i++) {
  ------------------
  |  Branch (448:25): [True: 0, False: 0]
  ------------------
  449|      0|            if (unionArray[i].getBConst())
  ------------------
  |  Branch (449:17): [True: 0, False: 0]
  ------------------
  450|      0|                result = true;
  451|      0|        }
  452|      0|        newConstArray[0].setBConst(result);
  453|      0|        break;
  454|      0|    }
  455|      0|    case EOpAll:
  ------------------
  |  Branch (455:5): [True: 0, False: 100]
  ------------------
  456|      0|    {
  457|      0|        bool result = true;
  458|      0|        for (int i = 0; i < objectSize; i++) {
  ------------------
  |  Branch (458:25): [True: 0, False: 0]
  ------------------
  459|      0|            if (! unionArray[i].getBConst())
  ------------------
  |  Branch (459:17): [True: 0, False: 0]
  ------------------
  460|      0|                result = false;
  461|      0|        }
  462|      0|        newConstArray[0].setBConst(result);
  463|      0|        break;
  464|      0|    }
  465|       |
  466|      0|    case EOpPackSnorm2x16:
  ------------------
  |  Branch (466:5): [True: 0, False: 100]
  ------------------
  467|      0|    case EOpPackUnorm2x16:
  ------------------
  |  Branch (467:5): [True: 0, False: 100]
  ------------------
  468|      0|    case EOpPackHalf2x16:
  ------------------
  |  Branch (468:5): [True: 0, False: 100]
  ------------------
  469|      0|    case EOpPack16:
  ------------------
  |  Branch (469:5): [True: 0, False: 100]
  ------------------
  470|      0|    case EOpPack32:
  ------------------
  |  Branch (470:5): [True: 0, False: 100]
  ------------------
  471|      0|    case EOpPack64:
  ------------------
  |  Branch (471:5): [True: 0, False: 100]
  ------------------
  472|      0|    case EOpUnpack32:
  ------------------
  |  Branch (472:5): [True: 0, False: 100]
  ------------------
  473|      0|    case EOpUnpack16:
  ------------------
  |  Branch (473:5): [True: 0, False: 100]
  ------------------
  474|      0|    case EOpUnpack8:
  ------------------
  |  Branch (474:5): [True: 0, False: 100]
  ------------------
  475|       |
  476|      0|    case EOpUnpackSnorm2x16:
  ------------------
  |  Branch (476:5): [True: 0, False: 100]
  ------------------
  477|      0|    case EOpUnpackUnorm2x16:
  ------------------
  |  Branch (477:5): [True: 0, False: 100]
  ------------------
  478|      0|    case EOpUnpackHalf2x16:
  ------------------
  |  Branch (478:5): [True: 0, False: 100]
  ------------------
  479|       |
  480|      0|    case EOpDeterminant:
  ------------------
  |  Branch (480:5): [True: 0, False: 100]
  ------------------
  481|      0|    case EOpMatrixInverse:
  ------------------
  |  Branch (481:5): [True: 0, False: 100]
  ------------------
  482|      0|    case EOpTranspose:
  ------------------
  |  Branch (482:5): [True: 0, False: 100]
  ------------------
  483|      0|        return nullptr;
  484|       |
  485|    100|    default:
  ------------------
  |  Branch (485:5): [True: 100, False: 0]
  ------------------
  486|    100|        assert(componentWise);
  487|    100|        break;
  488|    100|    }
  489|       |
  490|       |    // Turn off the componentwise loop
  491|    100|    if (! componentWise)
  ------------------
  |  Branch (491:9): [True: 0, False: 100]
  ------------------
  492|      0|        objectSize = 0;
  493|       |
  494|       |    // Process component-wise operations
  495|    202|    for (int i = 0; i < objectSize; i++) {
  ------------------
  |  Branch (495:21): [True: 102, False: 100]
  ------------------
  496|       |        // First read the value and convert to i64/u64/f64/bool, then convert
  497|       |        // to the destination type (still 64b), then convert down to the
  498|       |        // destination size.
  499|    102|        if (IsOpNumericConv(op)) {
  ------------------
  |  Branch (499:13): [True: 0, False: 102]
  ------------------
  500|      0|            enum ConvType { CONV_FLOAT, CONV_INT, CONV_UINT, CONV_BOOL };
  501|      0|            ConvType srcType = CONV_UINT, dstType = CONV_UINT;
  502|      0|            double valf = 0.0;
  503|      0|            uint64_t valu = 0;
  504|      0|            int64_t vali = 0;
  505|      0|            bool valb = false;
  506|      0|            switch (getType().getBasicType()) {
  507|      0|            case EbtDouble:
  ------------------
  |  Branch (507:13): [True: 0, False: 0]
  ------------------
  508|      0|            case EbtFloat16:
  ------------------
  |  Branch (508:13): [True: 0, False: 0]
  ------------------
  509|      0|            case EbtBFloat16:
  ------------------
  |  Branch (509:13): [True: 0, False: 0]
  ------------------
  510|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (510:13): [True: 0, False: 0]
  ------------------
  511|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (511:13): [True: 0, False: 0]
  ------------------
  512|      0|            case EbtFloat:
  ------------------
  |  Branch (512:13): [True: 0, False: 0]
  ------------------
  513|      0|                valf = unionArray[i].getDConst();
  514|      0|                srcType = CONV_FLOAT;
  515|      0|                break;
  516|      0|            case EbtInt8:
  ------------------
  |  Branch (516:13): [True: 0, False: 0]
  ------------------
  517|      0|                vali = unionArray[i].getI8Const();
  518|      0|                srcType = CONV_INT;
  519|      0|                break;
  520|      0|            case EbtInt16:
  ------------------
  |  Branch (520:13): [True: 0, False: 0]
  ------------------
  521|      0|                vali = unionArray[i].getI16Const();
  522|      0|                srcType = CONV_INT;
  523|      0|                break;
  524|      0|            case EbtInt:
  ------------------
  |  Branch (524:13): [True: 0, False: 0]
  ------------------
  525|      0|                vali = unionArray[i].getIConst();
  526|      0|                srcType = CONV_INT;
  527|      0|                break;
  528|      0|            case EbtInt64:
  ------------------
  |  Branch (528:13): [True: 0, False: 0]
  ------------------
  529|      0|                vali = unionArray[i].getI64Const();
  530|      0|                srcType = CONV_INT;
  531|      0|                break;
  532|      0|            case EbtUint8:
  ------------------
  |  Branch (532:13): [True: 0, False: 0]
  ------------------
  533|      0|                valu = unionArray[i].getU8Const();
  534|      0|                srcType = CONV_UINT;
  535|      0|                break;
  536|      0|            case EbtUint16:
  ------------------
  |  Branch (536:13): [True: 0, False: 0]
  ------------------
  537|      0|                valu = unionArray[i].getU16Const();
  538|      0|                srcType = CONV_UINT;
  539|      0|                break;
  540|      0|            case EbtUint:
  ------------------
  |  Branch (540:13): [True: 0, False: 0]
  ------------------
  541|      0|                valu = unionArray[i].getUConst();
  542|      0|                srcType = CONV_UINT;
  543|      0|                break;
  544|      0|            case EbtUint64:
  ------------------
  |  Branch (544:13): [True: 0, False: 0]
  ------------------
  545|      0|                valu = unionArray[i].getU64Const();
  546|      0|                srcType = CONV_UINT;
  547|      0|                break;
  548|      0|            case EbtBool:
  ------------------
  |  Branch (548:13): [True: 0, False: 0]
  ------------------
  549|      0|                valb = unionArray[i].getBConst();
  550|      0|                srcType = CONV_BOOL;
  551|      0|                break;
  552|      0|            default:
  ------------------
  |  Branch (552:13): [True: 0, False: 0]
  ------------------
  553|      0|                assert(0);
  554|      0|                break;
  555|      0|            }
  556|       |
  557|      0|            switch (returnType.getBasicType()) {
  558|      0|            case EbtDouble:
  ------------------
  |  Branch (558:13): [True: 0, False: 0]
  ------------------
  559|      0|            case EbtFloat16:
  ------------------
  |  Branch (559:13): [True: 0, False: 0]
  ------------------
  560|      0|            case EbtBFloat16:
  ------------------
  |  Branch (560:13): [True: 0, False: 0]
  ------------------
  561|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (561:13): [True: 0, False: 0]
  ------------------
  562|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (562:13): [True: 0, False: 0]
  ------------------
  563|      0|            case EbtFloat:
  ------------------
  |  Branch (563:13): [True: 0, False: 0]
  ------------------
  564|      0|                dstType = CONV_FLOAT;
  565|      0|                break;
  566|      0|            case EbtInt8:
  ------------------
  |  Branch (566:13): [True: 0, False: 0]
  ------------------
  567|      0|            case EbtInt16:
  ------------------
  |  Branch (567:13): [True: 0, False: 0]
  ------------------
  568|      0|            case EbtInt:
  ------------------
  |  Branch (568:13): [True: 0, False: 0]
  ------------------
  569|      0|            case EbtInt64:
  ------------------
  |  Branch (569:13): [True: 0, False: 0]
  ------------------
  570|      0|                dstType = CONV_INT;
  571|      0|                break;
  572|      0|            case EbtUint8:
  ------------------
  |  Branch (572:13): [True: 0, False: 0]
  ------------------
  573|      0|            case EbtUint16:
  ------------------
  |  Branch (573:13): [True: 0, False: 0]
  ------------------
  574|      0|            case EbtUint:
  ------------------
  |  Branch (574:13): [True: 0, False: 0]
  ------------------
  575|      0|            case EbtUint64:
  ------------------
  |  Branch (575:13): [True: 0, False: 0]
  ------------------
  576|      0|                dstType = CONV_UINT;
  577|      0|                break;
  578|      0|            case EbtBool:
  ------------------
  |  Branch (578:13): [True: 0, False: 0]
  ------------------
  579|      0|                dstType = CONV_BOOL;
  580|      0|                break;
  581|      0|            default:
  ------------------
  |  Branch (581:13): [True: 0, False: 0]
  ------------------
  582|      0|                assert(0);
  583|      0|                break;
  584|      0|            }
  585|      0|            if (dstType == CONV_BOOL) {
  ------------------
  |  Branch (585:17): [True: 0, False: 0]
  ------------------
  586|      0|                switch (srcType) {
  587|      0|                case CONV_FLOAT:
  ------------------
  |  Branch (587:17): [True: 0, False: 0]
  ------------------
  588|      0|                    valb = (valf != 0.0); break;
  589|      0|                case CONV_INT:
  ------------------
  |  Branch (589:17): [True: 0, False: 0]
  ------------------
  590|      0|                    valb = (vali != 0.0); break;
  591|      0|                case CONV_UINT:
  ------------------
  |  Branch (591:17): [True: 0, False: 0]
  ------------------
  592|      0|                    valb = (valu != 0.0); break;
  593|      0|                default:
  ------------------
  |  Branch (593:17): [True: 0, False: 0]
  ------------------
  594|      0|                    break;
  595|      0|                }
  596|      0|            } else if (dstType == CONV_FLOAT) {
  ------------------
  |  Branch (596:24): [True: 0, False: 0]
  ------------------
  597|      0|                switch (srcType) {
  598|      0|                case CONV_BOOL:
  ------------------
  |  Branch (598:17): [True: 0, False: 0]
  ------------------
  599|      0|                    valf = (double)valb; break;
  600|      0|                case CONV_INT:
  ------------------
  |  Branch (600:17): [True: 0, False: 0]
  ------------------
  601|      0|                    valf = (double)vali; break;
  602|      0|                case CONV_UINT:
  ------------------
  |  Branch (602:17): [True: 0, False: 0]
  ------------------
  603|      0|                    valf = (double)valu; break;
  604|      0|                default:
  ------------------
  |  Branch (604:17): [True: 0, False: 0]
  ------------------
  605|      0|                    break;
  606|      0|                }
  607|      0|            } else if (dstType == CONV_INT) {
  ------------------
  |  Branch (607:24): [True: 0, False: 0]
  ------------------
  608|      0|                switch (srcType) {
  609|      0|                case CONV_BOOL:
  ------------------
  |  Branch (609:17): [True: 0, False: 0]
  ------------------
  610|      0|                    vali = (int64_t)valb; break;
  611|      0|                case CONV_FLOAT:
  ------------------
  |  Branch (611:17): [True: 0, False: 0]
  ------------------
  612|      0|                    vali = (int64_t)valf; break;
  613|      0|                case CONV_UINT:
  ------------------
  |  Branch (613:17): [True: 0, False: 0]
  ------------------
  614|      0|                    vali = (int64_t)valu; break;
  615|      0|                default:
  ------------------
  |  Branch (615:17): [True: 0, False: 0]
  ------------------
  616|      0|                    break;
  617|      0|                }
  618|      0|            } else if (dstType == CONV_UINT) {
  ------------------
  |  Branch (618:24): [True: 0, False: 0]
  ------------------
  619|      0|                switch (srcType) {
  620|      0|                case CONV_BOOL:
  ------------------
  |  Branch (620:17): [True: 0, False: 0]
  ------------------
  621|      0|                    valu = (uint64_t)valb; break;
  622|      0|                case CONV_FLOAT:
  ------------------
  |  Branch (622:17): [True: 0, False: 0]
  ------------------
  623|      0|                    valu = (uint64_t)valf; break;
  624|      0|                case CONV_INT:
  ------------------
  |  Branch (624:17): [True: 0, False: 0]
  ------------------
  625|      0|                    valu = (uint64_t)vali; break;
  626|      0|                default:
  ------------------
  |  Branch (626:17): [True: 0, False: 0]
  ------------------
  627|      0|                    break;
  628|      0|                }
  629|      0|            }
  630|      0|            switch (returnType.getBasicType()) {
  631|      0|            case EbtDouble:
  ------------------
  |  Branch (631:13): [True: 0, False: 0]
  ------------------
  632|      0|            case EbtFloat16:
  ------------------
  |  Branch (632:13): [True: 0, False: 0]
  ------------------
  633|      0|            case EbtBFloat16:
  ------------------
  |  Branch (633:13): [True: 0, False: 0]
  ------------------
  634|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (634:13): [True: 0, False: 0]
  ------------------
  635|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (635:13): [True: 0, False: 0]
  ------------------
  636|      0|            case EbtFloat:
  ------------------
  |  Branch (636:13): [True: 0, False: 0]
  ------------------
  637|      0|                newConstArray[i].setDConst(valf); break;
  638|      0|            case EbtInt8:
  ------------------
  |  Branch (638:13): [True: 0, False: 0]
  ------------------
  639|      0|                newConstArray[i].setI8Const(static_cast<int8_t>(vali)); break;
  640|      0|            case EbtInt16:
  ------------------
  |  Branch (640:13): [True: 0, False: 0]
  ------------------
  641|      0|                newConstArray[i].setI16Const(static_cast<int16_t>(vali)); break;
  642|      0|            case EbtInt:
  ------------------
  |  Branch (642:13): [True: 0, False: 0]
  ------------------
  643|      0|                newConstArray[i].setIConst(static_cast<int32_t>(vali)); break;
  644|      0|            case EbtInt64:
  ------------------
  |  Branch (644:13): [True: 0, False: 0]
  ------------------
  645|      0|                newConstArray[i].setI64Const(vali); break;
  646|      0|            case EbtUint8:
  ------------------
  |  Branch (646:13): [True: 0, False: 0]
  ------------------
  647|      0|                newConstArray[i].setU8Const(static_cast<uint8_t>(valu)); break;
  648|      0|            case EbtUint16:
  ------------------
  |  Branch (648:13): [True: 0, False: 0]
  ------------------
  649|      0|                newConstArray[i].setU16Const(static_cast<uint16_t>(valu)); break;
  650|      0|            case EbtUint:
  ------------------
  |  Branch (650:13): [True: 0, False: 0]
  ------------------
  651|      0|                newConstArray[i].setUConst(static_cast<uint32_t>(valu)); break;
  652|      0|            case EbtUint64:
  ------------------
  |  Branch (652:13): [True: 0, False: 0]
  ------------------
  653|      0|                newConstArray[i].setU64Const(valu); break;
  654|      0|            case EbtBool:
  ------------------
  |  Branch (654:13): [True: 0, False: 0]
  ------------------
  655|      0|                newConstArray[i].setBConst(valb); break;
  656|      0|            default:
  ------------------
  |  Branch (656:13): [True: 0, False: 0]
  ------------------
  657|      0|                assert(0);
  658|      0|                break;
  659|      0|            }
  660|      0|            continue;
  661|      0|        }
  662|    102|        switch (op) {
  663|     90|        case EOpNegative:
  ------------------
  |  Branch (663:9): [True: 90, False: 12]
  ------------------
  664|     90|            switch (getType().getBasicType()) {
  665|      0|            case EbtDouble:
  ------------------
  |  Branch (665:13): [True: 0, False: 90]
  ------------------
  666|      0|            case EbtFloat16:
  ------------------
  |  Branch (666:13): [True: 0, False: 90]
  ------------------
  667|      0|            case EbtBFloat16:
  ------------------
  |  Branch (667:13): [True: 0, False: 90]
  ------------------
  668|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (668:13): [True: 0, False: 90]
  ------------------
  669|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (669:13): [True: 0, False: 90]
  ------------------
  670|      0|            case EbtFloat: newConstArray[i].setDConst(-unionArray[i].getDConst()); break;
  ------------------
  |  Branch (670:13): [True: 0, False: 90]
  ------------------
  671|       |            // Note: avoid UBSAN error regarding negating 0x80000000
  672|     90|            case EbtInt:   newConstArray[i].setIConst(
  ------------------
  |  Branch (672:13): [True: 90, False: 0]
  ------------------
  673|     90|                                static_cast<unsigned int>(unionArray[i].getIConst()) == 0x80000000
  ------------------
  |  Branch (673:33): [True: 0, False: 90]
  ------------------
  674|     90|                                    ? -0x7FFFFFFF - 1
  675|     90|                                    : -unionArray[i].getIConst());
  676|     90|                           break;
  677|      0|            case EbtUint:  newConstArray[i].setUConst(static_cast<unsigned int>(-static_cast<int>(unionArray[i].getUConst())));  break;
  ------------------
  |  Branch (677:13): [True: 0, False: 90]
  ------------------
  678|      0|            case EbtInt8:  newConstArray[i].setI8Const(-unionArray[i].getI8Const()); break;
  ------------------
  |  Branch (678:13): [True: 0, False: 90]
  ------------------
  679|      0|            case EbtUint8: newConstArray[i].setU8Const(static_cast<unsigned int>(-static_cast<signed int>(unionArray[i].getU8Const())));  break;
  ------------------
  |  Branch (679:13): [True: 0, False: 90]
  ------------------
  680|      0|            case EbtInt16: newConstArray[i].setI16Const(-unionArray[i].getI16Const()); break;
  ------------------
  |  Branch (680:13): [True: 0, False: 90]
  ------------------
  681|      0|            case EbtUint16:newConstArray[i].setU16Const(static_cast<unsigned int>(-static_cast<signed int>(unionArray[i].getU16Const())));  break;
  ------------------
  |  Branch (681:13): [True: 0, False: 90]
  ------------------
  682|      0|            case EbtInt64: {
  ------------------
  |  Branch (682:13): [True: 0, False: 90]
  ------------------
  683|      0|                int64_t i64val = unionArray[i].getI64Const();
  684|      0|                newConstArray[i].setI64Const(i64val == INT64_MIN ? INT64_MIN : -i64val);
  ------------------
  |  Branch (684:46): [True: 0, False: 0]
  ------------------
  685|      0|                break;
  686|      0|            }
  687|      0|            case EbtUint64: newConstArray[i].setU64Const(static_cast<unsigned long long>(-static_cast<long long>(unionArray[i].getU64Const())));  break;
  ------------------
  |  Branch (687:13): [True: 0, False: 90]
  ------------------
  688|      0|            default:
  ------------------
  |  Branch (688:13): [True: 0, False: 90]
  ------------------
  689|      0|                return nullptr;
  690|     90|            }
  691|     90|            break;
  692|     90|        case EOpLogicalNot:
  ------------------
  |  Branch (692:9): [True: 12, False: 90]
  ------------------
  693|     12|        case EOpVectorLogicalNot:
  ------------------
  |  Branch (693:9): [True: 0, False: 102]
  ------------------
  694|     12|            switch (getType().getBasicType()) {
  695|     12|            case EbtBool:  newConstArray[i].setBConst(!unionArray[i].getBConst()); break;
  ------------------
  |  Branch (695:13): [True: 12, False: 0]
  ------------------
  696|      0|            default:
  ------------------
  |  Branch (696:13): [True: 0, False: 12]
  ------------------
  697|      0|                return nullptr;
  698|     12|            }
  699|     12|            break;
  700|     12|        case EOpBitwiseNot:
  ------------------
  |  Branch (700:9): [True: 0, False: 102]
  ------------------
  701|      0|            newConstArray[i] = ~unionArray[i];
  702|      0|            break;
  703|      0|        case EOpRadians:
  ------------------
  |  Branch (703:9): [True: 0, False: 102]
  ------------------
  704|      0|            newConstArray[i].setDConst(unionArray[i].getDConst() * pi / 180.0);
  705|      0|            break;
  706|      0|        case EOpDegrees:
  ------------------
  |  Branch (706:9): [True: 0, False: 102]
  ------------------
  707|      0|            newConstArray[i].setDConst(unionArray[i].getDConst() * 180.0 / pi);
  708|      0|            break;
  709|      0|        case EOpSin:
  ------------------
  |  Branch (709:9): [True: 0, False: 102]
  ------------------
  710|      0|            newConstArray[i].setDConst(sin(unionArray[i].getDConst()));
  711|      0|            break;
  712|      0|        case EOpCos:
  ------------------
  |  Branch (712:9): [True: 0, False: 102]
  ------------------
  713|      0|            newConstArray[i].setDConst(cos(unionArray[i].getDConst()));
  714|      0|            break;
  715|      0|        case EOpTan:
  ------------------
  |  Branch (715:9): [True: 0, False: 102]
  ------------------
  716|      0|            newConstArray[i].setDConst(tan(unionArray[i].getDConst()));
  717|      0|            break;
  718|      0|        case EOpAsin:
  ------------------
  |  Branch (718:9): [True: 0, False: 102]
  ------------------
  719|      0|            newConstArray[i].setDConst(asin(unionArray[i].getDConst()));
  720|      0|            break;
  721|      0|        case EOpAcos:
  ------------------
  |  Branch (721:9): [True: 0, False: 102]
  ------------------
  722|      0|            newConstArray[i].setDConst(acos(unionArray[i].getDConst()));
  723|      0|            break;
  724|      0|        case EOpAtan:
  ------------------
  |  Branch (724:9): [True: 0, False: 102]
  ------------------
  725|      0|            newConstArray[i].setDConst(atan(unionArray[i].getDConst()));
  726|      0|            break;
  727|       |
  728|      0|        case EOpDPdx:
  ------------------
  |  Branch (728:9): [True: 0, False: 102]
  ------------------
  729|      0|        case EOpDPdy:
  ------------------
  |  Branch (729:9): [True: 0, False: 102]
  ------------------
  730|      0|        case EOpFwidth:
  ------------------
  |  Branch (730:9): [True: 0, False: 102]
  ------------------
  731|      0|        case EOpDPdxFine:
  ------------------
  |  Branch (731:9): [True: 0, False: 102]
  ------------------
  732|      0|        case EOpDPdyFine:
  ------------------
  |  Branch (732:9): [True: 0, False: 102]
  ------------------
  733|      0|        case EOpFwidthFine:
  ------------------
  |  Branch (733:9): [True: 0, False: 102]
  ------------------
  734|      0|        case EOpDPdxCoarse:
  ------------------
  |  Branch (734:9): [True: 0, False: 102]
  ------------------
  735|      0|        case EOpDPdyCoarse:
  ------------------
  |  Branch (735:9): [True: 0, False: 102]
  ------------------
  736|      0|        case EOpFwidthCoarse:
  ------------------
  |  Branch (736:9): [True: 0, False: 102]
  ------------------
  737|       |            // The derivatives are all mandated to create a constant 0.
  738|      0|            newConstArray[i].setDConst(0.0);
  739|      0|            break;
  740|       |
  741|      0|        case EOpExp:
  ------------------
  |  Branch (741:9): [True: 0, False: 102]
  ------------------
  742|      0|            newConstArray[i].setDConst(exp(unionArray[i].getDConst()));
  743|      0|            break;
  744|      0|        case EOpLog:
  ------------------
  |  Branch (744:9): [True: 0, False: 102]
  ------------------
  745|      0|            newConstArray[i].setDConst(log(unionArray[i].getDConst()));
  746|      0|            break;
  747|      0|        case EOpExp2:
  ------------------
  |  Branch (747:9): [True: 0, False: 102]
  ------------------
  748|      0|            newConstArray[i].setDConst(exp2(unionArray[i].getDConst()));
  749|      0|            break;
  750|      0|        case EOpLog2:
  ------------------
  |  Branch (750:9): [True: 0, False: 102]
  ------------------
  751|      0|            newConstArray[i].setDConst(log2(unionArray[i].getDConst()));
  752|      0|            break;
  753|      0|        case EOpSqrt:
  ------------------
  |  Branch (753:9): [True: 0, False: 102]
  ------------------
  754|      0|            newConstArray[i].setDConst(sqrt(unionArray[i].getDConst()));
  755|      0|            break;
  756|      0|        case EOpInverseSqrt:
  ------------------
  |  Branch (756:9): [True: 0, False: 102]
  ------------------
  757|      0|            newConstArray[i].setDConst(1.0 / sqrt(unionArray[i].getDConst()));
  758|      0|            break;
  759|       |
  760|      0|        case EOpAbs:
  ------------------
  |  Branch (760:9): [True: 0, False: 102]
  ------------------
  761|      0|            if (unionArray[i].getType() == EbtDouble)
  ------------------
  |  Branch (761:17): [True: 0, False: 0]
  ------------------
  762|      0|                newConstArray[i].setDConst(fabs(unionArray[i].getDConst()));
  763|      0|            else if (unionArray[i].getType() == EbtInt)
  ------------------
  |  Branch (763:22): [True: 0, False: 0]
  ------------------
  764|      0|                newConstArray[i].setIConst(abs(unionArray[i].getIConst()));
  765|      0|            else
  766|      0|                newConstArray[i] = unionArray[i];
  767|      0|            break;
  768|      0|        case EOpSign:
  ------------------
  |  Branch (768:9): [True: 0, False: 102]
  ------------------
  769|      0|            #define SIGN(X) (X == 0 ? 0 : (X < 0 ? -1 : 1))
  770|      0|            if (unionArray[i].getType() == EbtDouble)
  ------------------
  |  Branch (770:17): [True: 0, False: 0]
  ------------------
  771|      0|                newConstArray[i].setDConst(SIGN(unionArray[i].getDConst()));
  ------------------
  |  |  769|      0|            #define SIGN(X) (X == 0 ? 0 : (X < 0 ? -1 : 1))
  |  |  ------------------
  |  |  |  Branch (769:30): [True: 0, False: 0]
  |  |  |  Branch (769:44): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  772|      0|            else
  773|      0|                newConstArray[i].setIConst(SIGN(unionArray[i].getIConst()));
  ------------------
  |  |  769|      0|            #define SIGN(X) (X == 0 ? 0 : (X < 0 ? -1 : 1))
  |  |  ------------------
  |  |  |  Branch (769:30): [True: 0, False: 0]
  |  |  |  Branch (769:44): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  774|      0|            break;
  775|      0|        case EOpFloor:
  ------------------
  |  Branch (775:9): [True: 0, False: 102]
  ------------------
  776|      0|            newConstArray[i].setDConst(floor(unionArray[i].getDConst()));
  777|      0|            break;
  778|      0|        case EOpTrunc:
  ------------------
  |  Branch (778:9): [True: 0, False: 102]
  ------------------
  779|      0|            if (unionArray[i].getDConst() > 0)
  ------------------
  |  Branch (779:17): [True: 0, False: 0]
  ------------------
  780|      0|                newConstArray[i].setDConst(floor(unionArray[i].getDConst()));
  781|      0|            else
  782|      0|                newConstArray[i].setDConst(ceil(unionArray[i].getDConst()));
  783|      0|            break;
  784|      0|        case EOpRound:
  ------------------
  |  Branch (784:9): [True: 0, False: 102]
  ------------------
  785|      0|            newConstArray[i].setDConst(floor(0.5 + unionArray[i].getDConst()));
  786|      0|            break;
  787|      0|        case EOpRoundEven:
  ------------------
  |  Branch (787:9): [True: 0, False: 102]
  ------------------
  788|      0|        {
  789|      0|            double flr = floor(unionArray[i].getDConst());
  790|      0|            bool even = flr / 2.0 == floor(flr / 2.0);
  791|      0|            double rounded = even ? ceil(unionArray[i].getDConst() - 0.5) : floor(unionArray[i].getDConst() + 0.5);
  ------------------
  |  Branch (791:30): [True: 0, False: 0]
  ------------------
  792|      0|            newConstArray[i].setDConst(rounded);
  793|      0|            break;
  794|      0|        }
  795|      0|        case EOpCeil:
  ------------------
  |  Branch (795:9): [True: 0, False: 102]
  ------------------
  796|      0|            newConstArray[i].setDConst(ceil(unionArray[i].getDConst()));
  797|      0|            break;
  798|      0|        case EOpFract:
  ------------------
  |  Branch (798:9): [True: 0, False: 102]
  ------------------
  799|      0|        {
  800|      0|            double x = unionArray[i].getDConst();
  801|      0|            newConstArray[i].setDConst(x - floor(x));
  802|      0|            break;
  803|      0|        }
  804|       |
  805|      0|        case EOpIsNan:
  ------------------
  |  Branch (805:9): [True: 0, False: 102]
  ------------------
  806|      0|        {
  807|      0|            newConstArray[i].setBConst(std::isnan(unionArray[i].getDConst()));
  808|      0|            break;
  809|      0|        }
  810|      0|        case EOpIsInf:
  ------------------
  |  Branch (810:9): [True: 0, False: 102]
  ------------------
  811|      0|        {
  812|      0|            newConstArray[i].setBConst(std::isinf(unionArray[i].getDConst()));
  813|      0|            break;
  814|      0|        }
  815|       |
  816|      0|        case EOpConvPtrToUint64:
  ------------------
  |  Branch (816:9): [True: 0, False: 102]
  ------------------
  817|      0|        case EOpConvUint64ToPtr:
  ------------------
  |  Branch (817:9): [True: 0, False: 102]
  ------------------
  818|      0|        case EOpConstructReference:
  ------------------
  |  Branch (818:9): [True: 0, False: 102]
  ------------------
  819|      0|            newConstArray[i].setU64Const(unionArray[i].getU64Const()); break;
  820|       |
  821|       |        // TODO: 3.0 Functionality: unary constant folding: the rest of the ops have to be fleshed out
  822|       |
  823|      0|        case EOpSinh:
  ------------------
  |  Branch (823:9): [True: 0, False: 102]
  ------------------
  824|      0|        case EOpCosh:
  ------------------
  |  Branch (824:9): [True: 0, False: 102]
  ------------------
  825|      0|        case EOpTanh:
  ------------------
  |  Branch (825:9): [True: 0, False: 102]
  ------------------
  826|      0|        case EOpAsinh:
  ------------------
  |  Branch (826:9): [True: 0, False: 102]
  ------------------
  827|      0|        case EOpAcosh:
  ------------------
  |  Branch (827:9): [True: 0, False: 102]
  ------------------
  828|      0|        case EOpAtanh:
  ------------------
  |  Branch (828:9): [True: 0, False: 102]
  ------------------
  829|       |
  830|      0|        case EOpFloatBitsToInt:
  ------------------
  |  Branch (830:9): [True: 0, False: 102]
  ------------------
  831|      0|        case EOpFloatBitsToUint:
  ------------------
  |  Branch (831:9): [True: 0, False: 102]
  ------------------
  832|      0|        case EOpIntBitsToFloat:
  ------------------
  |  Branch (832:9): [True: 0, False: 102]
  ------------------
  833|      0|        case EOpUintBitsToFloat:
  ------------------
  |  Branch (833:9): [True: 0, False: 102]
  ------------------
  834|      0|        case EOpDoubleBitsToInt64:
  ------------------
  |  Branch (834:9): [True: 0, False: 102]
  ------------------
  835|      0|        case EOpDoubleBitsToUint64:
  ------------------
  |  Branch (835:9): [True: 0, False: 102]
  ------------------
  836|      0|        case EOpInt64BitsToDouble:
  ------------------
  |  Branch (836:9): [True: 0, False: 102]
  ------------------
  837|      0|        case EOpUint64BitsToDouble:
  ------------------
  |  Branch (837:9): [True: 0, False: 102]
  ------------------
  838|      0|        case EOpFloat16BitsToInt16:
  ------------------
  |  Branch (838:9): [True: 0, False: 102]
  ------------------
  839|      0|        case EOpFloat16BitsToUint16:
  ------------------
  |  Branch (839:9): [True: 0, False: 102]
  ------------------
  840|      0|        case EOpInt16BitsToFloat16:
  ------------------
  |  Branch (840:9): [True: 0, False: 102]
  ------------------
  841|      0|        case EOpUint16BitsToFloat16:
  ------------------
  |  Branch (841:9): [True: 0, False: 102]
  ------------------
  842|      0|        default:
  ------------------
  |  Branch (842:9): [True: 0, False: 102]
  ------------------
  843|      0|            return nullptr;
  844|    102|        }
  845|    102|    }
  846|       |
  847|    100|    TIntermConstantUnion *newNode = new TIntermConstantUnion(newConstArray, returnType);
  848|    100|    newNode->getWritableType().getQualifier().storage = EvqConst;
  849|    100|    newNode->setLoc(getLoc());
  850|       |
  851|    100|    return newNode;
  852|    100|}
_ZN7glslang13TIntermediate4foldEPNS_16TIntermAggregateE:
  859|    544|{
  860|    544|    if (aggrNode == nullptr)
  ------------------
  |  Branch (860:9): [True: 0, False: 544]
  ------------------
  861|      0|        return aggrNode;
  862|       |
  863|    544|    if (! areAllChildConst(aggrNode))
  ------------------
  |  Branch (863:9): [True: 103, False: 441]
  ------------------
  864|    103|        return aggrNode;
  865|       |
  866|    441|    if (aggrNode->isConstructor())
  ------------------
  |  Branch (866:9): [True: 441, False: 0]
  ------------------
  867|    441|        return foldConstructor(aggrNode);
  868|       |
  869|      0|    TIntermSequence& children = aggrNode->getSequence();
  870|       |
  871|       |    // First, see if this is an operation to constant fold, kick out if not,
  872|       |    // see what size the result is if so.
  873|       |
  874|      0|    bool componentwise = false;  // will also say componentwise if a scalar argument gets repeated to make per-component results
  875|      0|    int objectSize;
  876|      0|    switch (aggrNode->getOp()) {
  877|      0|    case EOpAtan:
  ------------------
  |  Branch (877:5): [True: 0, False: 0]
  ------------------
  878|      0|    case EOpPow:
  ------------------
  |  Branch (878:5): [True: 0, False: 0]
  ------------------
  879|      0|    case EOpMin:
  ------------------
  |  Branch (879:5): [True: 0, False: 0]
  ------------------
  880|      0|    case EOpMax:
  ------------------
  |  Branch (880:5): [True: 0, False: 0]
  ------------------
  881|      0|    case EOpMix:
  ------------------
  |  Branch (881:5): [True: 0, False: 0]
  ------------------
  882|      0|    case EOpMod:
  ------------------
  |  Branch (882:5): [True: 0, False: 0]
  ------------------
  883|      0|    case EOpClamp:
  ------------------
  |  Branch (883:5): [True: 0, False: 0]
  ------------------
  884|      0|    case EOpLessThan:
  ------------------
  |  Branch (884:5): [True: 0, False: 0]
  ------------------
  885|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (885:5): [True: 0, False: 0]
  ------------------
  886|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (886:5): [True: 0, False: 0]
  ------------------
  887|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (887:5): [True: 0, False: 0]
  ------------------
  888|      0|    case EOpVectorEqual:
  ------------------
  |  Branch (888:5): [True: 0, False: 0]
  ------------------
  889|      0|    case EOpVectorNotEqual:
  ------------------
  |  Branch (889:5): [True: 0, False: 0]
  ------------------
  890|      0|        componentwise = true;
  891|      0|        objectSize = children[0]->getAsConstantUnion()->getType().computeNumComponents();
  892|      0|        break;
  893|      0|    case EOpCross:
  ------------------
  |  Branch (893:5): [True: 0, False: 0]
  ------------------
  894|      0|    case EOpReflect:
  ------------------
  |  Branch (894:5): [True: 0, False: 0]
  ------------------
  895|      0|    case EOpRefract:
  ------------------
  |  Branch (895:5): [True: 0, False: 0]
  ------------------
  896|      0|    case EOpFaceForward:
  ------------------
  |  Branch (896:5): [True: 0, False: 0]
  ------------------
  897|      0|        objectSize = children[0]->getAsConstantUnion()->getType().computeNumComponents();
  898|      0|        break;
  899|      0|    case EOpDistance:
  ------------------
  |  Branch (899:5): [True: 0, False: 0]
  ------------------
  900|      0|    case EOpDot:
  ------------------
  |  Branch (900:5): [True: 0, False: 0]
  ------------------
  901|      0|        objectSize = 1;
  902|      0|        break;
  903|      0|    case EOpOuterProduct:
  ------------------
  |  Branch (903:5): [True: 0, False: 0]
  ------------------
  904|      0|        objectSize = children[0]->getAsTyped()->getType().getVectorSize() *
  905|      0|                     children[1]->getAsTyped()->getType().getVectorSize();
  906|      0|        break;
  907|      0|    case EOpStep:
  ------------------
  |  Branch (907:5): [True: 0, False: 0]
  ------------------
  908|      0|        componentwise = true;
  909|      0|        objectSize = std::max(children[0]->getAsTyped()->getType().getVectorSize(),
  910|      0|                              children[1]->getAsTyped()->getType().getVectorSize());
  911|      0|        break;
  912|      0|    case EOpSmoothStep:
  ------------------
  |  Branch (912:5): [True: 0, False: 0]
  ------------------
  913|      0|        componentwise = true;
  914|      0|        objectSize = std::max(children[0]->getAsTyped()->getType().getVectorSize(),
  915|      0|                              children[2]->getAsTyped()->getType().getVectorSize());
  916|      0|        break;
  917|      0|    case EOpMul:
  ------------------
  |  Branch (917:5): [True: 0, False: 0]
  ------------------
  918|      0|        {
  919|      0|        TIntermConstantUnion* left = children[0]->getAsConstantUnion();
  920|      0|        TIntermConstantUnion* right = children[1]->getAsConstantUnion();
  921|      0|        return left->fold(EOpMul, right);
  922|      0|        }
  923|      0|    default:
  ------------------
  |  Branch (923:5): [True: 0, False: 0]
  ------------------
  924|      0|        return aggrNode;
  925|      0|    }
  926|      0|    TConstUnionArray newConstArray(objectSize);
  927|       |
  928|      0|    TVector<TConstUnionArray> childConstUnions;
  929|      0|    for (unsigned int arg = 0; arg < children.size(); ++arg)
  ------------------
  |  Branch (929:32): [True: 0, False: 0]
  ------------------
  930|      0|        childConstUnions.push_back(children[arg]->getAsConstantUnion()->getConstArray());
  931|       |
  932|      0|    if (componentwise) {
  ------------------
  |  Branch (932:9): [True: 0, False: 0]
  ------------------
  933|      0|        for (int comp = 0; comp < objectSize; comp++) {
  ------------------
  |  Branch (933:28): [True: 0, False: 0]
  ------------------
  934|       |
  935|       |            // some arguments are scalars instead of matching vectors; simulate a smear
  936|      0|            int arg0comp = std::min(comp, children[0]->getAsTyped()->getType().getVectorSize() - 1);
  937|      0|            int arg1comp = 0;
  938|      0|            if (children.size() > 1)
  ------------------
  |  Branch (938:17): [True: 0, False: 0]
  ------------------
  939|      0|                arg1comp = std::min(comp, children[1]->getAsTyped()->getType().getVectorSize() - 1);
  940|      0|            int arg2comp = 0;
  941|      0|            if (children.size() > 2)
  ------------------
  |  Branch (941:17): [True: 0, False: 0]
  ------------------
  942|      0|                arg2comp = std::min(comp, children[2]->getAsTyped()->getType().getVectorSize() - 1);
  943|       |
  944|      0|            switch (aggrNode->getOp()) {
  945|      0|            case EOpAtan:
  ------------------
  |  Branch (945:13): [True: 0, False: 0]
  ------------------
  946|      0|                newConstArray[comp].setDConst(atan2(childConstUnions[0][arg0comp].getDConst(), childConstUnions[1][arg1comp].getDConst()));
  947|      0|                break;
  948|      0|            case EOpPow:
  ------------------
  |  Branch (948:13): [True: 0, False: 0]
  ------------------
  949|      0|                newConstArray[comp].setDConst(pow(childConstUnions[0][arg0comp].getDConst(), childConstUnions[1][arg1comp].getDConst()));
  950|      0|                break;
  951|      0|            case EOpMod:
  ------------------
  |  Branch (951:13): [True: 0, False: 0]
  ------------------
  952|      0|            {
  953|      0|                double arg0 = childConstUnions[0][arg0comp].getDConst();
  954|      0|                double arg1 = childConstUnions[1][arg1comp].getDConst();
  955|      0|                double result = arg0 - arg1 * floor(arg0 / arg1);
  956|      0|                newConstArray[comp].setDConst(result);
  957|      0|                break;
  958|      0|            }
  959|      0|            case EOpMin:
  ------------------
  |  Branch (959:13): [True: 0, False: 0]
  ------------------
  960|      0|                switch(children[0]->getAsTyped()->getBasicType()) {
  961|      0|                case EbtFloat16:
  ------------------
  |  Branch (961:17): [True: 0, False: 0]
  ------------------
  962|      0|                case EbtBFloat16:
  ------------------
  |  Branch (962:17): [True: 0, False: 0]
  ------------------
  963|      0|                case EbtFloatE5M2:
  ------------------
  |  Branch (963:17): [True: 0, False: 0]
  ------------------
  964|      0|                case EbtFloatE4M3:
  ------------------
  |  Branch (964:17): [True: 0, False: 0]
  ------------------
  965|      0|                case EbtFloat:
  ------------------
  |  Branch (965:17): [True: 0, False: 0]
  ------------------
  966|      0|                case EbtDouble:
  ------------------
  |  Branch (966:17): [True: 0, False: 0]
  ------------------
  967|      0|                    newConstArray[comp].setDConst(std::min(childConstUnions[0][arg0comp].getDConst(), childConstUnions[1][arg1comp].getDConst()));
  968|      0|                    break;
  969|      0|                case EbtInt:
  ------------------
  |  Branch (969:17): [True: 0, False: 0]
  ------------------
  970|      0|                    newConstArray[comp].setIConst(std::min(childConstUnions[0][arg0comp].getIConst(), childConstUnions[1][arg1comp].getIConst()));
  971|      0|                    break;
  972|      0|                case EbtUint:
  ------------------
  |  Branch (972:17): [True: 0, False: 0]
  ------------------
  973|      0|                    newConstArray[comp].setUConst(std::min(childConstUnions[0][arg0comp].getUConst(), childConstUnions[1][arg1comp].getUConst()));
  974|      0|                    break;
  975|      0|                case EbtInt8:
  ------------------
  |  Branch (975:17): [True: 0, False: 0]
  ------------------
  976|      0|                    newConstArray[comp].setI8Const(std::min(childConstUnions[0][arg0comp].getI8Const(), childConstUnions[1][arg1comp].getI8Const()));
  977|      0|                    break;
  978|      0|                case EbtUint8:
  ------------------
  |  Branch (978:17): [True: 0, False: 0]
  ------------------
  979|      0|                    newConstArray[comp].setU8Const(std::min(childConstUnions[0][arg0comp].getU8Const(), childConstUnions[1][arg1comp].getU8Const()));
  980|      0|                    break;
  981|      0|                case EbtInt16:
  ------------------
  |  Branch (981:17): [True: 0, False: 0]
  ------------------
  982|      0|                    newConstArray[comp].setI16Const(std::min(childConstUnions[0][arg0comp].getI16Const(), childConstUnions[1][arg1comp].getI16Const()));
  983|      0|                    break;
  984|      0|                case EbtUint16:
  ------------------
  |  Branch (984:17): [True: 0, False: 0]
  ------------------
  985|      0|                    newConstArray[comp].setU16Const(std::min(childConstUnions[0][arg0comp].getU16Const(), childConstUnions[1][arg1comp].getU16Const()));
  986|      0|                    break;
  987|      0|                case EbtInt64:
  ------------------
  |  Branch (987:17): [True: 0, False: 0]
  ------------------
  988|      0|                    newConstArray[comp].setI64Const(std::min(childConstUnions[0][arg0comp].getI64Const(), childConstUnions[1][arg1comp].getI64Const()));
  989|      0|                    break;
  990|      0|                case EbtUint64:
  ------------------
  |  Branch (990:17): [True: 0, False: 0]
  ------------------
  991|      0|                    newConstArray[comp].setU64Const(std::min(childConstUnions[0][arg0comp].getU64Const(), childConstUnions[1][arg1comp].getU64Const()));
  992|      0|                    break;
  993|      0|                default: assert(false && "Default missing");
  ------------------
  |  Branch (993:17): [True: 0, False: 0]
  ------------------
  994|      0|                }
  995|      0|                break;
  996|      0|            case EOpMax:
  ------------------
  |  Branch (996:13): [True: 0, False: 0]
  ------------------
  997|      0|                switch(children[0]->getAsTyped()->getBasicType()) {
  998|      0|                case EbtFloat16:
  ------------------
  |  Branch (998:17): [True: 0, False: 0]
  ------------------
  999|      0|                case EbtBFloat16:
  ------------------
  |  Branch (999:17): [True: 0, False: 0]
  ------------------
 1000|      0|                case EbtFloatE5M2:
  ------------------
  |  Branch (1000:17): [True: 0, False: 0]
  ------------------
 1001|      0|                case EbtFloatE4M3:
  ------------------
  |  Branch (1001:17): [True: 0, False: 0]
  ------------------
 1002|      0|                case EbtFloat:
  ------------------
  |  Branch (1002:17): [True: 0, False: 0]
  ------------------
 1003|      0|                case EbtDouble:
  ------------------
  |  Branch (1003:17): [True: 0, False: 0]
  ------------------
 1004|      0|                    newConstArray[comp].setDConst(std::max(childConstUnions[0][arg0comp].getDConst(), childConstUnions[1][arg1comp].getDConst()));
 1005|      0|                    break;
 1006|      0|                case EbtInt:
  ------------------
  |  Branch (1006:17): [True: 0, False: 0]
  ------------------
 1007|      0|                    newConstArray[comp].setIConst(std::max(childConstUnions[0][arg0comp].getIConst(), childConstUnions[1][arg1comp].getIConst()));
 1008|      0|                    break;
 1009|      0|                case EbtUint:
  ------------------
  |  Branch (1009:17): [True: 0, False: 0]
  ------------------
 1010|      0|                    newConstArray[comp].setUConst(std::max(childConstUnions[0][arg0comp].getUConst(), childConstUnions[1][arg1comp].getUConst()));
 1011|      0|                    break;
 1012|      0|                case EbtInt8:
  ------------------
  |  Branch (1012:17): [True: 0, False: 0]
  ------------------
 1013|      0|                    newConstArray[comp].setI8Const(std::max(childConstUnions[0][arg0comp].getI8Const(), childConstUnions[1][arg1comp].getI8Const()));
 1014|      0|                    break;
 1015|      0|                case EbtUint8:
  ------------------
  |  Branch (1015:17): [True: 0, False: 0]
  ------------------
 1016|      0|                    newConstArray[comp].setU8Const(std::max(childConstUnions[0][arg0comp].getU8Const(), childConstUnions[1][arg1comp].getU8Const()));
 1017|      0|                    break;
 1018|      0|                case EbtInt16:
  ------------------
  |  Branch (1018:17): [True: 0, False: 0]
  ------------------
 1019|      0|                    newConstArray[comp].setI16Const(std::max(childConstUnions[0][arg0comp].getI16Const(), childConstUnions[1][arg1comp].getI16Const()));
 1020|      0|                    break;
 1021|      0|                case EbtUint16:
  ------------------
  |  Branch (1021:17): [True: 0, False: 0]
  ------------------
 1022|      0|                    newConstArray[comp].setU16Const(std::max(childConstUnions[0][arg0comp].getU16Const(), childConstUnions[1][arg1comp].getU16Const()));
 1023|      0|                    break;
 1024|      0|                case EbtInt64:
  ------------------
  |  Branch (1024:17): [True: 0, False: 0]
  ------------------
 1025|      0|                    newConstArray[comp].setI64Const(std::max(childConstUnions[0][arg0comp].getI64Const(), childConstUnions[1][arg1comp].getI64Const()));
 1026|      0|                    break;
 1027|      0|                case EbtUint64:
  ------------------
  |  Branch (1027:17): [True: 0, False: 0]
  ------------------
 1028|      0|                    newConstArray[comp].setU64Const(std::max(childConstUnions[0][arg0comp].getU64Const(), childConstUnions[1][arg1comp].getU64Const()));
 1029|      0|                    break;
 1030|      0|                default: assert(false && "Default missing");
  ------------------
  |  Branch (1030:17): [True: 0, False: 0]
  ------------------
 1031|      0|                }
 1032|      0|                break;
 1033|      0|            case EOpClamp:
  ------------------
  |  Branch (1033:13): [True: 0, False: 0]
  ------------------
 1034|      0|                switch(children[0]->getAsTyped()->getBasicType()) {
 1035|      0|                case EbtFloat16:
  ------------------
  |  Branch (1035:17): [True: 0, False: 0]
  ------------------
 1036|      0|                case EbtBFloat16:
  ------------------
  |  Branch (1036:17): [True: 0, False: 0]
  ------------------
 1037|      0|                case EbtFloatE5M2:
  ------------------
  |  Branch (1037:17): [True: 0, False: 0]
  ------------------
 1038|      0|                case EbtFloatE4M3:
  ------------------
  |  Branch (1038:17): [True: 0, False: 0]
  ------------------
 1039|      0|                case EbtFloat:
  ------------------
  |  Branch (1039:17): [True: 0, False: 0]
  ------------------
 1040|      0|                case EbtDouble:
  ------------------
  |  Branch (1040:17): [True: 0, False: 0]
  ------------------
 1041|      0|                    newConstArray[comp].setDConst(std::min(std::max(childConstUnions[0][arg0comp].getDConst(), childConstUnions[1][arg1comp].getDConst()),
 1042|      0|                                                                                                               childConstUnions[2][arg2comp].getDConst()));
 1043|      0|                    break;
 1044|      0|                case EbtUint:
  ------------------
  |  Branch (1044:17): [True: 0, False: 0]
  ------------------
 1045|      0|                    newConstArray[comp].setUConst(std::min(std::max(childConstUnions[0][arg0comp].getUConst(), childConstUnions[1][arg1comp].getUConst()),
 1046|      0|                                                                                                                   childConstUnions[2][arg2comp].getUConst()));
 1047|      0|                    break;
 1048|      0|                case EbtInt8:
  ------------------
  |  Branch (1048:17): [True: 0, False: 0]
  ------------------
 1049|      0|                    newConstArray[comp].setI8Const(std::min(std::max(childConstUnions[0][arg0comp].getI8Const(), childConstUnions[1][arg1comp].getI8Const()),
 1050|      0|                                                                                                                   childConstUnions[2][arg2comp].getI8Const()));
 1051|      0|                    break;
 1052|      0|                case EbtUint8:
  ------------------
  |  Branch (1052:17): [True: 0, False: 0]
  ------------------
 1053|      0|                     newConstArray[comp].setU8Const(std::min(std::max(childConstUnions[0][arg0comp].getU8Const(), childConstUnions[1][arg1comp].getU8Const()),
 1054|      0|                                                                                                                   childConstUnions[2][arg2comp].getU8Const()));
 1055|      0|                    break;
 1056|      0|                case EbtInt16:
  ------------------
  |  Branch (1056:17): [True: 0, False: 0]
  ------------------
 1057|      0|                    newConstArray[comp].setI16Const(std::min(std::max(childConstUnions[0][arg0comp].getI16Const(), childConstUnions[1][arg1comp].getI16Const()),
 1058|      0|                                                                                                                   childConstUnions[2][arg2comp].getI16Const()));
 1059|      0|                    break;
 1060|      0|                case EbtUint16:
  ------------------
  |  Branch (1060:17): [True: 0, False: 0]
  ------------------
 1061|      0|                    newConstArray[comp].setU16Const(std::min(std::max(childConstUnions[0][arg0comp].getU16Const(), childConstUnions[1][arg1comp].getU16Const()),
 1062|      0|                                                                                                                   childConstUnions[2][arg2comp].getU16Const()));
 1063|      0|                    break;
 1064|      0|                case EbtInt:
  ------------------
  |  Branch (1064:17): [True: 0, False: 0]
  ------------------
 1065|      0|                    newConstArray[comp].setIConst(std::min(std::max(childConstUnions[0][arg0comp].getIConst(), childConstUnions[1][arg1comp].getIConst()),
 1066|      0|                                                                                                                   childConstUnions[2][arg2comp].getIConst()));
 1067|      0|                    break;
 1068|      0|                case EbtInt64:
  ------------------
  |  Branch (1068:17): [True: 0, False: 0]
  ------------------
 1069|      0|                    newConstArray[comp].setI64Const(std::min(std::max(childConstUnions[0][arg0comp].getI64Const(), childConstUnions[1][arg1comp].getI64Const()),
 1070|      0|                                                                                                                       childConstUnions[2][arg2comp].getI64Const()));
 1071|      0|                    break;
 1072|      0|                case EbtUint64:
  ------------------
  |  Branch (1072:17): [True: 0, False: 0]
  ------------------
 1073|      0|                    newConstArray[comp].setU64Const(std::min(std::max(childConstUnions[0][arg0comp].getU64Const(), childConstUnions[1][arg1comp].getU64Const()),
 1074|      0|                                                                                                                       childConstUnions[2][arg2comp].getU64Const()));
 1075|      0|                    break;
 1076|      0|                default: assert(false && "Default missing");
  ------------------
  |  Branch (1076:17): [True: 0, False: 0]
  ------------------
 1077|      0|                }
 1078|      0|                break;
 1079|      0|            case EOpLessThan:
  ------------------
  |  Branch (1079:13): [True: 0, False: 0]
  ------------------
 1080|      0|                newConstArray[comp].setBConst(childConstUnions[0][arg0comp] < childConstUnions[1][arg1comp]);
 1081|      0|                break;
 1082|      0|            case EOpGreaterThan:
  ------------------
  |  Branch (1082:13): [True: 0, False: 0]
  ------------------
 1083|      0|                newConstArray[comp].setBConst(childConstUnions[0][arg0comp] > childConstUnions[1][arg1comp]);
 1084|      0|                break;
 1085|      0|            case EOpLessThanEqual:
  ------------------
  |  Branch (1085:13): [True: 0, False: 0]
  ------------------
 1086|      0|                newConstArray[comp].setBConst(! (childConstUnions[0][arg0comp] > childConstUnions[1][arg1comp]));
 1087|      0|                break;
 1088|      0|            case EOpGreaterThanEqual:
  ------------------
  |  Branch (1088:13): [True: 0, False: 0]
  ------------------
 1089|      0|                newConstArray[comp].setBConst(! (childConstUnions[0][arg0comp] < childConstUnions[1][arg1comp]));
 1090|      0|                break;
 1091|      0|            case EOpVectorEqual:
  ------------------
  |  Branch (1091:13): [True: 0, False: 0]
  ------------------
 1092|      0|                newConstArray[comp].setBConst(childConstUnions[0][arg0comp] == childConstUnions[1][arg1comp]);
 1093|      0|                break;
 1094|      0|            case EOpVectorNotEqual:
  ------------------
  |  Branch (1094:13): [True: 0, False: 0]
  ------------------
 1095|      0|                newConstArray[comp].setBConst(childConstUnions[0][arg0comp] != childConstUnions[1][arg1comp]);
 1096|      0|                break;
 1097|      0|            case EOpMix:
  ------------------
  |  Branch (1097:13): [True: 0, False: 0]
  ------------------
 1098|      0|                if (!children[0]->getAsTyped()->isFloatingDomain())
  ------------------
  |  Branch (1098:21): [True: 0, False: 0]
  ------------------
 1099|      0|                    return aggrNode;
 1100|      0|                if (children[2]->getAsTyped()->getBasicType() == EbtBool) {
  ------------------
  |  Branch (1100:21): [True: 0, False: 0]
  ------------------
 1101|      0|                    newConstArray[comp].setDConst(childConstUnions[2][arg2comp].getBConst()
  ------------------
  |  Branch (1101:51): [True: 0, False: 0]
  ------------------
 1102|      0|                        ? childConstUnions[1][arg1comp].getDConst()
 1103|      0|                        : childConstUnions[0][arg0comp].getDConst());
 1104|      0|                } else {
 1105|      0|                    newConstArray[comp].setDConst(
 1106|      0|                        childConstUnions[0][arg0comp].getDConst() * (1.0 - childConstUnions[2][arg2comp].getDConst()) +
 1107|      0|                        childConstUnions[1][arg1comp].getDConst() *        childConstUnions[2][arg2comp].getDConst());
 1108|      0|                }
 1109|      0|                break;
 1110|      0|            case EOpStep:
  ------------------
  |  Branch (1110:13): [True: 0, False: 0]
  ------------------
 1111|      0|                newConstArray[comp].setDConst(childConstUnions[1][arg1comp].getDConst() < childConstUnions[0][arg0comp].getDConst() ? 0.0 : 1.0);
  ------------------
  |  Branch (1111:47): [True: 0, False: 0]
  ------------------
 1112|      0|                break;
 1113|      0|            case EOpSmoothStep:
  ------------------
  |  Branch (1113:13): [True: 0, False: 0]
  ------------------
 1114|      0|            {
 1115|      0|                double t = (childConstUnions[2][arg2comp].getDConst() - childConstUnions[0][arg0comp].getDConst()) /
 1116|      0|                           (childConstUnions[1][arg1comp].getDConst() - childConstUnions[0][arg0comp].getDConst());
 1117|      0|                if (t < 0.0)
  ------------------
  |  Branch (1117:21): [True: 0, False: 0]
  ------------------
 1118|      0|                    t = 0.0;
 1119|      0|                if (t > 1.0)
  ------------------
  |  Branch (1119:21): [True: 0, False: 0]
  ------------------
 1120|      0|                    t = 1.0;
 1121|      0|                newConstArray[comp].setDConst(t * t * (3.0 - 2.0 * t));
 1122|      0|                break;
 1123|      0|            }
 1124|      0|            default:
  ------------------
  |  Branch (1124:13): [True: 0, False: 0]
  ------------------
 1125|      0|                return aggrNode;
 1126|      0|            }
 1127|      0|        }
 1128|      0|    } else {
 1129|       |        // Non-componentwise...
 1130|       |
 1131|      0|        int numComps = children[0]->getAsConstantUnion()->getType().computeNumComponents();
 1132|      0|        double dot;
 1133|       |
 1134|      0|        switch (aggrNode->getOp()) {
 1135|      0|        case EOpDistance:
  ------------------
  |  Branch (1135:9): [True: 0, False: 0]
  ------------------
 1136|      0|        {
 1137|      0|            double sum = 0.0;
 1138|      0|            for (int comp = 0; comp < numComps; ++comp) {
  ------------------
  |  Branch (1138:32): [True: 0, False: 0]
  ------------------
 1139|      0|                double diff = childConstUnions[1][comp].getDConst() - childConstUnions[0][comp].getDConst();
 1140|      0|                sum += diff * diff;
 1141|      0|            }
 1142|      0|            newConstArray[0].setDConst(sqrt(sum));
 1143|      0|            break;
 1144|      0|        }
 1145|      0|        case EOpDot:
  ------------------
  |  Branch (1145:9): [True: 0, False: 0]
  ------------------
 1146|      0|            if (!children[0]->getAsTyped()->isFloatingDomain()) {
  ------------------
  |  Branch (1146:17): [True: 0, False: 0]
  ------------------
 1147|      0|                return aggrNode;
 1148|      0|            }
 1149|      0|            newConstArray[0].setDConst(childConstUnions[0].dot(childConstUnions[1]));
 1150|      0|            break;
 1151|      0|        case EOpCross:
  ------------------
  |  Branch (1151:9): [True: 0, False: 0]
  ------------------
 1152|      0|            newConstArray[0] = childConstUnions[0][1] * childConstUnions[1][2] - childConstUnions[0][2] * childConstUnions[1][1];
 1153|      0|            newConstArray[1] = childConstUnions[0][2] * childConstUnions[1][0] - childConstUnions[0][0] * childConstUnions[1][2];
 1154|      0|            newConstArray[2] = childConstUnions[0][0] * childConstUnions[1][1] - childConstUnions[0][1] * childConstUnions[1][0];
 1155|      0|            break;
 1156|      0|        case EOpFaceForward:
  ------------------
  |  Branch (1156:9): [True: 0, False: 0]
  ------------------
 1157|       |            // If dot(Nref, I) < 0 return N, otherwise return -N:  Arguments are (N, I, Nref).
 1158|      0|            dot = childConstUnions[1].dot(childConstUnions[2]);
 1159|      0|            for (int comp = 0; comp < numComps; ++comp) {
  ------------------
  |  Branch (1159:32): [True: 0, False: 0]
  ------------------
 1160|      0|                if (dot < 0.0)
  ------------------
  |  Branch (1160:21): [True: 0, False: 0]
  ------------------
 1161|      0|                    newConstArray[comp] = childConstUnions[0][comp];
 1162|      0|                else
 1163|      0|                    newConstArray[comp].setDConst(-childConstUnions[0][comp].getDConst());
 1164|      0|            }
 1165|      0|            break;
 1166|      0|        case EOpReflect:
  ------------------
  |  Branch (1166:9): [True: 0, False: 0]
  ------------------
 1167|       |            // I - 2 * dot(N, I) * N:  Arguments are (I, N).
 1168|      0|            dot = childConstUnions[0].dot(childConstUnions[1]);
 1169|      0|            dot *= 2.0;
 1170|      0|            for (int comp = 0; comp < numComps; ++comp)
  ------------------
  |  Branch (1170:32): [True: 0, False: 0]
  ------------------
 1171|      0|                newConstArray[comp].setDConst(childConstUnions[0][comp].getDConst() - dot * childConstUnions[1][comp].getDConst());
 1172|      0|            break;
 1173|      0|        case EOpRefract:
  ------------------
  |  Branch (1173:9): [True: 0, False: 0]
  ------------------
 1174|      0|        {
 1175|       |            // Arguments are (I, N, eta).
 1176|       |            // k = 1.0 - eta * eta * (1.0 - dot(N, I) * dot(N, I))
 1177|       |            // if (k < 0.0)
 1178|       |            //     return dvec(0.0)
 1179|       |            // else
 1180|       |            //     return eta * I - (eta * dot(N, I) + sqrt(k)) * N
 1181|      0|            dot = childConstUnions[0].dot(childConstUnions[1]);
 1182|      0|            double eta = childConstUnions[2][0].getDConst();
 1183|      0|            double k = 1.0 - eta * eta * (1.0 - dot * dot);
 1184|      0|            if (k < 0.0) {
  ------------------
  |  Branch (1184:17): [True: 0, False: 0]
  ------------------
 1185|      0|                for (int comp = 0; comp < numComps; ++comp)
  ------------------
  |  Branch (1185:36): [True: 0, False: 0]
  ------------------
 1186|      0|                    newConstArray[comp].setDConst(0.0);
 1187|      0|            } else {
 1188|      0|                for (int comp = 0; comp < numComps; ++comp)
  ------------------
  |  Branch (1188:36): [True: 0, False: 0]
  ------------------
 1189|      0|                    newConstArray[comp].setDConst(eta * childConstUnions[0][comp].getDConst() - (eta * dot + sqrt(k)) * childConstUnions[1][comp].getDConst());
 1190|      0|            }
 1191|      0|            break;
 1192|      0|        }
 1193|      0|        case EOpOuterProduct:
  ------------------
  |  Branch (1193:9): [True: 0, False: 0]
  ------------------
 1194|      0|        {
 1195|      0|            int numRows = numComps;
 1196|      0|            int numCols = children[1]->getAsConstantUnion()->getType().computeNumComponents();
 1197|      0|            for (int row = 0; row < numRows; ++row)
  ------------------
  |  Branch (1197:31): [True: 0, False: 0]
  ------------------
 1198|      0|                for (int col = 0; col < numCols; ++col)
  ------------------
  |  Branch (1198:35): [True: 0, False: 0]
  ------------------
 1199|      0|                    newConstArray[col * numRows + row] = childConstUnions[0][row] * childConstUnions[1][col];
 1200|      0|            break;
 1201|      0|        }
 1202|      0|        default:
  ------------------
  |  Branch (1202:9): [True: 0, False: 0]
  ------------------
 1203|      0|            return aggrNode;
 1204|      0|        }
 1205|      0|    }
 1206|       |
 1207|      0|    TIntermConstantUnion *newNode = new TIntermConstantUnion(newConstArray, aggrNode->getType());
 1208|      0|    newNode->getWritableType().getQualifier().storage = EvqConst;
 1209|      0|    newNode->setLoc(aggrNode->getLoc());
 1210|       |
 1211|      0|    return newNode;
 1212|      0|}
_ZN7glslang13TIntermediate16areAllChildConstEPNS_16TIntermAggregateE:
 1215|    544|{
 1216|    544|    bool allConstant = true;
 1217|       |
 1218|       |    // check if all the child nodes are constants so that they can be inserted into
 1219|       |    // the parent node
 1220|    544|    if (aggrNode) {
  ------------------
  |  Branch (1220:9): [True: 544, False: 0]
  ------------------
 1221|    544|        TIntermSequence& childSequenceVector = aggrNode->getSequence();
 1222|    544|        for (TIntermSequence::iterator p  = childSequenceVector.begin();
 1223|  1.24k|                                       p != childSequenceVector.end(); p++) {
  ------------------
  |  Branch (1223:40): [True: 802, False: 441]
  ------------------
 1224|    802|            if (!(*p)->getAsTyped()->getAsConstantUnion())
  ------------------
  |  Branch (1224:17): [True: 103, False: 699]
  ------------------
 1225|    103|                return false;
 1226|    802|        }
 1227|    544|    }
 1228|       |
 1229|    441|    return allConstant;
 1230|    544|}
_ZN7glslang13TIntermediate15foldConstructorEPNS_16TIntermAggregateE:
 1233|    441|{
 1234|    441|    bool error = false;
 1235|       |
 1236|    441|    TConstUnionArray unionArray(aggrNode->getType().computeNumComponents());
 1237|    441|    if (aggrNode->getSequence().size() == 1)
  ------------------
  |  Branch (1237:9): [True: 312, False: 129]
  ------------------
 1238|    312|        error = parseConstTree(aggrNode, unionArray, aggrNode->getOp(), aggrNode->getType(), true);
 1239|    129|    else
 1240|    129|        error = parseConstTree(aggrNode, unionArray, aggrNode->getOp(), aggrNode->getType());
 1241|       |
 1242|    441|    if (error)
  ------------------
  |  Branch (1242:9): [True: 0, False: 441]
  ------------------
 1243|      0|        return aggrNode;
 1244|       |
 1245|    441|    return addConstantUnion(unionArray, aggrNode->getType(), aggrNode->getLoc());
 1246|    441|}

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

_ZN7glslang9TBuiltIns17addTabledBuiltinsEi8EProfileRKNS_10SpvVersionE:
  509|    107|{
  510|    107|    const auto forEachFunction = [&](TString& decls, const span<const BuiltInFunction>& functions) {
  511|    107|        for (const auto& fn : functions) {
  512|    107|            if (ValidVersion(fn, version, profile, spvVersion)) {
  513|    107|                AddTabledBuiltin(decls, fn);
  514|    107|                if (profile != EEsProfile) {
  515|    107|                    AddLongVectorBuiltin(decls, fn);
  516|    107|                }
  517|    107|            }
  518|    107|        }
  519|    107|    };
  520|       |
  521|    107|    forEachFunction(commonBuiltins, BaseFunctions);
  522|    107|    forEachFunction(stageBuiltins[EShLangFragment], DerivativeFunctions);
  523|       |
  524|    107|    if ((profile == EEsProfile && version >= 320) || (profile != EEsProfile && version >= 450))
  ------------------
  |  Branch (524:10): [True: 78, False: 29]
  |  Branch (524:35): [True: 0, False: 78]
  |  Branch (524:55): [True: 29, False: 78]
  |  Branch (524:80): [True: 27, False: 2]
  ------------------
  525|     27|        forEachFunction(stageBuiltins[EShLangCompute], DerivativeFunctions);
  526|    107|}
_ZN7glslang9TBuiltIns20relateTabledBuiltinsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableE:
  530|    462|{
  531|    462|    RelateTabledBuiltins(BaseFunctions, symbolTable);
  532|    462|    RelateTabledBuiltins(DerivativeFunctions, symbolTable);
  533|    462|    RelateTabledBuiltins(CustomFunctions, symbolTable);
  534|    462|}
_ZN7glslang18TBuiltInParseablesC2Ev:
  544|    354|{
  545|    354|}
_ZN7glslang18TBuiltInParseablesD2Ev:
  549|    354|{
  550|    354|}
_ZN7glslang9TBuiltInsC2Ev:
  553|    134|{
  554|       |    // Set up textual representations for making all the permutations
  555|       |    // of texturing/imaging functions.
  556|    134|    prefixes[EbtFloat] =  "";
  557|    134|    prefixes[EbtInt]   = "i";
  558|    134|    prefixes[EbtUint]  = "u";
  559|    134|    prefixes[EbtFloat16] = "f16";
  560|    134|    prefixes[EbtInt8]  = "i8";
  561|    134|    prefixes[EbtUint8] = "u8";
  562|    134|    prefixes[EbtInt16]  = "i16";
  563|    134|    prefixes[EbtUint16] = "u16";
  564|    134|    prefixes[EbtInt64]  = "i64";
  565|    134|    prefixes[EbtUint64] = "u64";
  566|       |
  567|    134|    postfixes[2] = "2";
  568|    134|    postfixes[3] = "3";
  569|    134|    postfixes[4] = "4";
  570|       |
  571|       |    // Map from symbolic class of texturing dimension to numeric dimensions.
  572|    134|    dimMap[Esd2D] = 2;
  573|    134|    dimMap[Esd3D] = 3;
  574|    134|    dimMap[EsdCube] = 3;
  575|    134|    dimMap[Esd1D] = 1;
  576|    134|    dimMap[EsdRect] = 2;
  577|    134|    dimMap[EsdBuffer] = 1;
  578|    134|    dimMap[EsdSubpass] = 2;  // potentially unused for now
  579|    134|    dimMap[EsdAttachmentEXT] = 2;  // potentially unused for now
  580|    134|}
_ZN7glslang9TBuiltIns10initializeEi8EProfileRKNS_10SpvVersionE:
  596|    107|{
  597|    107|    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|    107|    TString derivatives (
  609|    107|        "float dFdx(float p);"
  610|    107|        "vec2  dFdx(vec2  p);"
  611|    107|        "vec3  dFdx(vec3  p);"
  612|    107|        "vec4  dFdx(vec4  p);"
  613|       |
  614|    107|        "float dFdy(float p);"
  615|    107|        "vec2  dFdy(vec2  p);"
  616|    107|        "vec3  dFdy(vec3  p);"
  617|    107|        "vec4  dFdy(vec4  p);"
  618|       |
  619|    107|        "float fwidth(float p);"
  620|    107|        "vec2  fwidth(vec2  p);"
  621|    107|        "vec3  fwidth(vec3  p);"
  622|    107|        "vec4  fwidth(vec4  p);"
  623|    107|    );
  624|       |
  625|    107|    TString derivativeControls (
  626|    107|        "float dFdxFine(float p);"
  627|    107|        "vec2  dFdxFine(vec2  p);"
  628|    107|        "vec3  dFdxFine(vec3  p);"
  629|    107|        "vec4  dFdxFine(vec4  p);"
  630|       |
  631|    107|        "float dFdyFine(float p);"
  632|    107|        "vec2  dFdyFine(vec2  p);"
  633|    107|        "vec3  dFdyFine(vec3  p);"
  634|    107|        "vec4  dFdyFine(vec4  p);"
  635|       |
  636|    107|        "float fwidthFine(float p);"
  637|    107|        "vec2  fwidthFine(vec2  p);"
  638|    107|        "vec3  fwidthFine(vec3  p);"
  639|    107|        "vec4  fwidthFine(vec4  p);"
  640|       |
  641|    107|        "float dFdxCoarse(float p);"
  642|    107|        "vec2  dFdxCoarse(vec2  p);"
  643|    107|        "vec3  dFdxCoarse(vec3  p);"
  644|    107|        "vec4  dFdxCoarse(vec4  p);"
  645|       |
  646|    107|        "float dFdyCoarse(float p);"
  647|    107|        "vec2  dFdyCoarse(vec2  p);"
  648|    107|        "vec3  dFdyCoarse(vec3  p);"
  649|    107|        "vec4  dFdyCoarse(vec4  p);"
  650|       |
  651|    107|        "float fwidthCoarse(float p);"
  652|    107|        "vec2  fwidthCoarse(vec2  p);"
  653|    107|        "vec3  fwidthCoarse(vec3  p);"
  654|    107|        "vec4  fwidthCoarse(vec4  p);"
  655|    107|    );
  656|       |
  657|    107|    TString derivativesAndControl16bits (
  658|    107|        "float16_t dFdx(float16_t);"
  659|    107|        "f16vec2   dFdx(f16vec2);"
  660|    107|        "f16vec3   dFdx(f16vec3);"
  661|    107|        "f16vec4   dFdx(f16vec4);"
  662|       |
  663|    107|        "float16_t dFdy(float16_t);"
  664|    107|        "f16vec2   dFdy(f16vec2);"
  665|    107|        "f16vec3   dFdy(f16vec3);"
  666|    107|        "f16vec4   dFdy(f16vec4);"
  667|       |
  668|    107|        "float16_t dFdxFine(float16_t);"
  669|    107|        "f16vec2   dFdxFine(f16vec2);"
  670|    107|        "f16vec3   dFdxFine(f16vec3);"
  671|    107|        "f16vec4   dFdxFine(f16vec4);"
  672|       |
  673|    107|        "float16_t dFdyFine(float16_t);"
  674|    107|        "f16vec2   dFdyFine(f16vec2);"
  675|    107|        "f16vec3   dFdyFine(f16vec3);"
  676|    107|        "f16vec4   dFdyFine(f16vec4);"
  677|       |
  678|    107|        "float16_t dFdxCoarse(float16_t);"
  679|    107|        "f16vec2   dFdxCoarse(f16vec2);"
  680|    107|        "f16vec3   dFdxCoarse(f16vec3);"
  681|    107|        "f16vec4   dFdxCoarse(f16vec4);"
  682|       |
  683|    107|        "float16_t dFdyCoarse(float16_t);"
  684|    107|        "f16vec2   dFdyCoarse(f16vec2);"
  685|    107|        "f16vec3   dFdyCoarse(f16vec3);"
  686|    107|        "f16vec4   dFdyCoarse(f16vec4);"
  687|       |
  688|    107|        "float16_t fwidth(float16_t);"
  689|    107|        "f16vec2   fwidth(f16vec2);"
  690|    107|        "f16vec3   fwidth(f16vec3);"
  691|    107|        "f16vec4   fwidth(f16vec4);"
  692|       |
  693|    107|        "float16_t fwidthFine(float16_t);"
  694|    107|        "f16vec2   fwidthFine(f16vec2);"
  695|    107|        "f16vec3   fwidthFine(f16vec3);"
  696|    107|        "f16vec4   fwidthFine(f16vec4);"
  697|       |
  698|    107|        "float16_t fwidthCoarse(float16_t);"
  699|    107|        "f16vec2   fwidthCoarse(f16vec2);"
  700|    107|        "f16vec3   fwidthCoarse(f16vec3);"
  701|    107|        "f16vec4   fwidthCoarse(f16vec4);"
  702|    107|    );
  703|       |
  704|    107|    TString derivativesAndControl64bits (
  705|    107|        "float64_t dFdx(float64_t);"
  706|    107|        "f64vec2   dFdx(f64vec2);"
  707|    107|        "f64vec3   dFdx(f64vec3);"
  708|    107|        "f64vec4   dFdx(f64vec4);"
  709|       |
  710|    107|        "float64_t dFdy(float64_t);"
  711|    107|        "f64vec2   dFdy(f64vec2);"
  712|    107|        "f64vec3   dFdy(f64vec3);"
  713|    107|        "f64vec4   dFdy(f64vec4);"
  714|       |
  715|    107|        "float64_t dFdxFine(float64_t);"
  716|    107|        "f64vec2   dFdxFine(f64vec2);"
  717|    107|        "f64vec3   dFdxFine(f64vec3);"
  718|    107|        "f64vec4   dFdxFine(f64vec4);"
  719|       |
  720|    107|        "float64_t dFdyFine(float64_t);"
  721|    107|        "f64vec2   dFdyFine(f64vec2);"
  722|    107|        "f64vec3   dFdyFine(f64vec3);"
  723|    107|        "f64vec4   dFdyFine(f64vec4);"
  724|       |
  725|    107|        "float64_t dFdxCoarse(float64_t);"
  726|    107|        "f64vec2   dFdxCoarse(f64vec2);"
  727|    107|        "f64vec3   dFdxCoarse(f64vec3);"
  728|    107|        "f64vec4   dFdxCoarse(f64vec4);"
  729|       |
  730|    107|        "float64_t dFdyCoarse(float64_t);"
  731|    107|        "f64vec2   dFdyCoarse(f64vec2);"
  732|    107|        "f64vec3   dFdyCoarse(f64vec3);"
  733|    107|        "f64vec4   dFdyCoarse(f64vec4);"
  734|       |
  735|    107|        "float64_t fwidth(float64_t);"
  736|    107|        "f64vec2   fwidth(f64vec2);"
  737|    107|        "f64vec3   fwidth(f64vec3);"
  738|    107|        "f64vec4   fwidth(f64vec4);"
  739|       |
  740|    107|        "float64_t fwidthFine(float64_t);"
  741|    107|        "f64vec2   fwidthFine(f64vec2);"
  742|    107|        "f64vec3   fwidthFine(f64vec3);"
  743|    107|        "f64vec4   fwidthFine(f64vec4);"
  744|       |
  745|    107|        "float64_t fwidthCoarse(float64_t);"
  746|    107|        "f64vec2   fwidthCoarse(f64vec2);"
  747|    107|        "f64vec3   fwidthCoarse(f64vec3);"
  748|    107|        "f64vec4   fwidthCoarse(f64vec4);"
  749|    107|    );
  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|    107|    if (profile != EEsProfile && version >= 150) {  // ARB_gpu_shader_fp64
  ------------------
  |  Branch (760:9): [True: 29, False: 78]
  |  Branch (760:34): [True: 28, False: 1]
  ------------------
  761|     28|        commonBuiltins.append(
  762|       |
  763|     28|            "double sqrt(double);"
  764|     28|            "dvec2  sqrt(dvec2);"
  765|     28|            "dvec3  sqrt(dvec3);"
  766|     28|            "dvec4  sqrt(dvec4);"
  767|       |
  768|     28|            "double inversesqrt(double);"
  769|     28|            "dvec2  inversesqrt(dvec2);"
  770|     28|            "dvec3  inversesqrt(dvec3);"
  771|     28|            "dvec4  inversesqrt(dvec4);"
  772|       |
  773|     28|            "double abs(double);"
  774|     28|            "dvec2  abs(dvec2);"
  775|     28|            "dvec3  abs(dvec3);"
  776|     28|            "dvec4  abs(dvec4);"
  777|       |
  778|     28|            "double sign(double);"
  779|     28|            "dvec2  sign(dvec2);"
  780|     28|            "dvec3  sign(dvec3);"
  781|     28|            "dvec4  sign(dvec4);"
  782|       |
  783|     28|            "double floor(double);"
  784|     28|            "dvec2  floor(dvec2);"
  785|     28|            "dvec3  floor(dvec3);"
  786|     28|            "dvec4  floor(dvec4);"
  787|       |
  788|     28|            "double trunc(double);"
  789|     28|            "dvec2  trunc(dvec2);"
  790|     28|            "dvec3  trunc(dvec3);"
  791|     28|            "dvec4  trunc(dvec4);"
  792|       |
  793|     28|            "double round(double);"
  794|     28|            "dvec2  round(dvec2);"
  795|     28|            "dvec3  round(dvec3);"
  796|     28|            "dvec4  round(dvec4);"
  797|       |
  798|     28|            "double roundEven(double);"
  799|     28|            "dvec2  roundEven(dvec2);"
  800|     28|            "dvec3  roundEven(dvec3);"
  801|     28|            "dvec4  roundEven(dvec4);"
  802|       |
  803|     28|            "double ceil(double);"
  804|     28|            "dvec2  ceil(dvec2);"
  805|     28|            "dvec3  ceil(dvec3);"
  806|     28|            "dvec4  ceil(dvec4);"
  807|       |
  808|     28|            "double fract(double);"
  809|     28|            "dvec2  fract(dvec2);"
  810|     28|            "dvec3  fract(dvec3);"
  811|     28|            "dvec4  fract(dvec4);"
  812|       |
  813|     28|            "double mod(double, double);"
  814|     28|            "dvec2  mod(dvec2 , double);"
  815|     28|            "dvec3  mod(dvec3 , double);"
  816|     28|            "dvec4  mod(dvec4 , double);"
  817|     28|            "dvec2  mod(dvec2 , dvec2);"
  818|     28|            "dvec3  mod(dvec3 , dvec3);"
  819|     28|            "dvec4  mod(dvec4 , dvec4);"
  820|       |
  821|     28|            "double modf(double, out double);"
  822|     28|            "dvec2  modf(dvec2,  out dvec2);"
  823|     28|            "dvec3  modf(dvec3,  out dvec3);"
  824|     28|            "dvec4  modf(dvec4,  out dvec4);"
  825|       |
  826|     28|            "double min(double, double);"
  827|     28|            "dvec2  min(dvec2,  double);"
  828|     28|            "dvec3  min(dvec3,  double);"
  829|     28|            "dvec4  min(dvec4,  double);"
  830|     28|            "dvec2  min(dvec2,  dvec2);"
  831|     28|            "dvec3  min(dvec3,  dvec3);"
  832|     28|            "dvec4  min(dvec4,  dvec4);"
  833|       |
  834|     28|            "double max(double, double);"
  835|     28|            "dvec2  max(dvec2 , double);"
  836|     28|            "dvec3  max(dvec3 , double);"
  837|     28|            "dvec4  max(dvec4 , double);"
  838|     28|            "dvec2  max(dvec2 , dvec2);"
  839|     28|            "dvec3  max(dvec3 , dvec3);"
  840|     28|            "dvec4  max(dvec4 , dvec4);"
  841|       |
  842|     28|            "double clamp(double, double, double);"
  843|     28|            "dvec2  clamp(dvec2 , double, double);"
  844|     28|            "dvec3  clamp(dvec3 , double, double);"
  845|     28|            "dvec4  clamp(dvec4 , double, double);"
  846|     28|            "dvec2  clamp(dvec2 , dvec2 , dvec2);"
  847|     28|            "dvec3  clamp(dvec3 , dvec3 , dvec3);"
  848|     28|            "dvec4  clamp(dvec4 , dvec4 , dvec4);"
  849|       |
  850|     28|            "double mix(double, double, double);"
  851|     28|            "dvec2  mix(dvec2,  dvec2,  double);"
  852|     28|            "dvec3  mix(dvec3,  dvec3,  double);"
  853|     28|            "dvec4  mix(dvec4,  dvec4,  double);"
  854|     28|            "dvec2  mix(dvec2,  dvec2,  dvec2);"
  855|     28|            "dvec3  mix(dvec3,  dvec3,  dvec3);"
  856|     28|            "dvec4  mix(dvec4,  dvec4,  dvec4);"
  857|     28|            "double mix(double, double, bool);"
  858|     28|            "dvec2  mix(dvec2,  dvec2,  bvec2);"
  859|     28|            "dvec3  mix(dvec3,  dvec3,  bvec3);"
  860|     28|            "dvec4  mix(dvec4,  dvec4,  bvec4);"
  861|       |
  862|     28|            "double step(double, double);"
  863|     28|            "dvec2  step(dvec2 , dvec2);"
  864|     28|            "dvec3  step(dvec3 , dvec3);"
  865|     28|            "dvec4  step(dvec4 , dvec4);"
  866|     28|            "dvec2  step(double, dvec2);"
  867|     28|            "dvec3  step(double, dvec3);"
  868|     28|            "dvec4  step(double, dvec4);"
  869|       |
  870|     28|            "double smoothstep(double, double, double);"
  871|     28|            "dvec2  smoothstep(dvec2 , dvec2 , dvec2);"
  872|     28|            "dvec3  smoothstep(dvec3 , dvec3 , dvec3);"
  873|     28|            "dvec4  smoothstep(dvec4 , dvec4 , dvec4);"
  874|     28|            "dvec2  smoothstep(double, double, dvec2);"
  875|     28|            "dvec3  smoothstep(double, double, dvec3);"
  876|     28|            "dvec4  smoothstep(double, double, dvec4);"
  877|       |
  878|     28|            "bool  isnan(double);"
  879|     28|            "bvec2 isnan(dvec2);"
  880|     28|            "bvec3 isnan(dvec3);"
  881|     28|            "bvec4 isnan(dvec4);"
  882|       |
  883|     28|            "bool  isinf(double);"
  884|     28|            "bvec2 isinf(dvec2);"
  885|     28|            "bvec3 isinf(dvec3);"
  886|     28|            "bvec4 isinf(dvec4);"
  887|       |
  888|     28|            "double length(double);"
  889|     28|            "double length(dvec2);"
  890|     28|            "double length(dvec3);"
  891|     28|            "double length(dvec4);"
  892|       |
  893|     28|            "double distance(double, double);"
  894|     28|            "double distance(dvec2 , dvec2);"
  895|     28|            "double distance(dvec3 , dvec3);"
  896|     28|            "double distance(dvec4 , dvec4);"
  897|       |
  898|     28|            "double dot(double, double);"
  899|     28|            "double dot(dvec2 , dvec2);"
  900|     28|            "double dot(dvec3 , dvec3);"
  901|     28|            "double dot(dvec4 , dvec4);"
  902|       |
  903|     28|            "dvec3 cross(dvec3, dvec3);"
  904|       |
  905|     28|            "double normalize(double);"
  906|     28|            "dvec2  normalize(dvec2);"
  907|     28|            "dvec3  normalize(dvec3);"
  908|     28|            "dvec4  normalize(dvec4);"
  909|       |
  910|     28|            "double faceforward(double, double, double);"
  911|     28|            "dvec2  faceforward(dvec2,  dvec2,  dvec2);"
  912|     28|            "dvec3  faceforward(dvec3,  dvec3,  dvec3);"
  913|     28|            "dvec4  faceforward(dvec4,  dvec4,  dvec4);"
  914|       |
  915|     28|            "double reflect(double, double);"
  916|     28|            "dvec2  reflect(dvec2 , dvec2 );"
  917|     28|            "dvec3  reflect(dvec3 , dvec3 );"
  918|     28|            "dvec4  reflect(dvec4 , dvec4 );"
  919|       |
  920|     28|            "double refract(double, double, double);"
  921|     28|            "dvec2  refract(dvec2 , dvec2 , double);"
  922|     28|            "dvec3  refract(dvec3 , dvec3 , double);"
  923|     28|            "dvec4  refract(dvec4 , dvec4 , double);"
  924|       |
  925|     28|            "dmat2 matrixCompMult(dmat2, dmat2);"
  926|     28|            "dmat3 matrixCompMult(dmat3, dmat3);"
  927|     28|            "dmat4 matrixCompMult(dmat4, dmat4);"
  928|     28|            "dmat2x3 matrixCompMult(dmat2x3, dmat2x3);"
  929|     28|            "dmat2x4 matrixCompMult(dmat2x4, dmat2x4);"
  930|     28|            "dmat3x2 matrixCompMult(dmat3x2, dmat3x2);"
  931|     28|            "dmat3x4 matrixCompMult(dmat3x4, dmat3x4);"
  932|     28|            "dmat4x2 matrixCompMult(dmat4x2, dmat4x2);"
  933|     28|            "dmat4x3 matrixCompMult(dmat4x3, dmat4x3);"
  934|       |
  935|     28|            "dmat2   outerProduct(dvec2, dvec2);"
  936|     28|            "dmat3   outerProduct(dvec3, dvec3);"
  937|     28|            "dmat4   outerProduct(dvec4, dvec4);"
  938|     28|            "dmat2x3 outerProduct(dvec3, dvec2);"
  939|     28|            "dmat3x2 outerProduct(dvec2, dvec3);"
  940|     28|            "dmat2x4 outerProduct(dvec4, dvec2);"
  941|     28|            "dmat4x2 outerProduct(dvec2, dvec4);"
  942|     28|            "dmat3x4 outerProduct(dvec4, dvec3);"
  943|     28|            "dmat4x3 outerProduct(dvec3, dvec4);"
  944|       |
  945|     28|            "dmat2   transpose(dmat2);"
  946|     28|            "dmat3   transpose(dmat3);"
  947|     28|            "dmat4   transpose(dmat4);"
  948|     28|            "dmat2x3 transpose(dmat3x2);"
  949|     28|            "dmat3x2 transpose(dmat2x3);"
  950|     28|            "dmat2x4 transpose(dmat4x2);"
  951|     28|            "dmat4x2 transpose(dmat2x4);"
  952|     28|            "dmat3x4 transpose(dmat4x3);"
  953|     28|            "dmat4x3 transpose(dmat3x4);"
  954|       |
  955|     28|            "double determinant(dmat2);"
  956|     28|            "double determinant(dmat3);"
  957|     28|            "double determinant(dmat4);"
  958|       |
  959|     28|            "dmat2 inverse(dmat2);"
  960|     28|            "dmat3 inverse(dmat3);"
  961|     28|            "dmat4 inverse(dmat4);"
  962|       |
  963|     28|            "bvec2 lessThan(dvec2, dvec2);"
  964|     28|            "bvec3 lessThan(dvec3, dvec3);"
  965|     28|            "bvec4 lessThan(dvec4, dvec4);"
  966|       |
  967|     28|            "bvec2 lessThanEqual(dvec2, dvec2);"
  968|     28|            "bvec3 lessThanEqual(dvec3, dvec3);"
  969|     28|            "bvec4 lessThanEqual(dvec4, dvec4);"
  970|       |
  971|     28|            "bvec2 greaterThan(dvec2, dvec2);"
  972|     28|            "bvec3 greaterThan(dvec3, dvec3);"
  973|     28|            "bvec4 greaterThan(dvec4, dvec4);"
  974|       |
  975|     28|            "bvec2 greaterThanEqual(dvec2, dvec2);"
  976|     28|            "bvec3 greaterThanEqual(dvec3, dvec3);"
  977|     28|            "bvec4 greaterThanEqual(dvec4, dvec4);"
  978|       |
  979|     28|            "bvec2 equal(dvec2, dvec2);"
  980|     28|            "bvec3 equal(dvec3, dvec3);"
  981|     28|            "bvec4 equal(dvec4, dvec4);"
  982|       |
  983|     28|            "bvec2 notEqual(dvec2, dvec2);"
  984|     28|            "bvec3 notEqual(dvec3, dvec3);"
  985|     28|            "bvec4 notEqual(dvec4, dvec4);"
  986|       |
  987|     28|            "\n");
  988|     28|    }
  989|       |
  990|    107|    if (profile == EEsProfile && version >= 310) {  // Explicit Types
  ------------------
  |  Branch (990:9): [True: 78, False: 29]
  |  Branch (990:34): [True: 0, False: 78]
  ------------------
  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|    107|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (1186:10): [True: 29, False: 78]
  |  Branch (1186:35): [True: 27, False: 2]
  |  Branch (1186:55): [True: 78, False: 2]
  |  Branch (1186:80): [True: 0, False: 78]
  ------------------
 1187|     27|        commonBuiltins.append(
 1188|       |
 1189|     27|            "int64_t abs(int64_t);"
 1190|     27|            "i64vec2 abs(i64vec2);"
 1191|     27|            "i64vec3 abs(i64vec3);"
 1192|     27|            "i64vec4 abs(i64vec4);"
 1193|       |
 1194|     27|            "int64_t sign(int64_t);"
 1195|     27|            "i64vec2 sign(i64vec2);"
 1196|     27|            "i64vec3 sign(i64vec3);"
 1197|     27|            "i64vec4 sign(i64vec4);"
 1198|       |
 1199|     27|            "int64_t  min(int64_t,  int64_t);"
 1200|     27|            "i64vec2  min(i64vec2,  int64_t);"
 1201|     27|            "i64vec3  min(i64vec3,  int64_t);"
 1202|     27|            "i64vec4  min(i64vec4,  int64_t);"
 1203|     27|            "i64vec2  min(i64vec2,  i64vec2);"
 1204|     27|            "i64vec3  min(i64vec3,  i64vec3);"
 1205|     27|            "i64vec4  min(i64vec4,  i64vec4);"
 1206|     27|            "uint64_t min(uint64_t, uint64_t);"
 1207|     27|            "u64vec2  min(u64vec2,  uint64_t);"
 1208|     27|            "u64vec3  min(u64vec3,  uint64_t);"
 1209|     27|            "u64vec4  min(u64vec4,  uint64_t);"
 1210|     27|            "u64vec2  min(u64vec2,  u64vec2);"
 1211|     27|            "u64vec3  min(u64vec3,  u64vec3);"
 1212|     27|            "u64vec4  min(u64vec4,  u64vec4);"
 1213|       |
 1214|     27|            "int64_t  max(int64_t,  int64_t);"
 1215|     27|            "i64vec2  max(i64vec2,  int64_t);"
 1216|     27|            "i64vec3  max(i64vec3,  int64_t);"
 1217|     27|            "i64vec4  max(i64vec4,  int64_t);"
 1218|     27|            "i64vec2  max(i64vec2,  i64vec2);"
 1219|     27|            "i64vec3  max(i64vec3,  i64vec3);"
 1220|     27|            "i64vec4  max(i64vec4,  i64vec4);"
 1221|     27|            "uint64_t max(uint64_t, uint64_t);"
 1222|     27|            "u64vec2  max(u64vec2,  uint64_t);"
 1223|     27|            "u64vec3  max(u64vec3,  uint64_t);"
 1224|     27|            "u64vec4  max(u64vec4,  uint64_t);"
 1225|     27|            "u64vec2  max(u64vec2,  u64vec2);"
 1226|     27|            "u64vec3  max(u64vec3,  u64vec3);"
 1227|     27|            "u64vec4  max(u64vec4,  u64vec4);"
 1228|       |
 1229|     27|            "int64_t  clamp(int64_t,  int64_t,  int64_t);"
 1230|     27|            "i64vec2  clamp(i64vec2,  int64_t,  int64_t);"
 1231|     27|            "i64vec3  clamp(i64vec3,  int64_t,  int64_t);"
 1232|     27|            "i64vec4  clamp(i64vec4,  int64_t,  int64_t);"
 1233|     27|            "i64vec2  clamp(i64vec2,  i64vec2,  i64vec2);"
 1234|     27|            "i64vec3  clamp(i64vec3,  i64vec3,  i64vec3);"
 1235|     27|            "i64vec4  clamp(i64vec4,  i64vec4,  i64vec4);"
 1236|     27|            "uint64_t clamp(uint64_t, uint64_t, uint64_t);"
 1237|     27|            "u64vec2  clamp(u64vec2,  uint64_t, uint64_t);"
 1238|     27|            "u64vec3  clamp(u64vec3,  uint64_t, uint64_t);"
 1239|     27|            "u64vec4  clamp(u64vec4,  uint64_t, uint64_t);"
 1240|     27|            "u64vec2  clamp(u64vec2,  u64vec2,  u64vec2);"
 1241|     27|            "u64vec3  clamp(u64vec3,  u64vec3,  u64vec3);"
 1242|     27|            "u64vec4  clamp(u64vec4,  u64vec4,  u64vec4);"
 1243|       |
 1244|     27|            "int64_t  mix(int64_t,  int64_t,  bool);"
 1245|     27|            "i64vec2  mix(i64vec2,  i64vec2,  bvec2);"
 1246|     27|            "i64vec3  mix(i64vec3,  i64vec3,  bvec3);"
 1247|     27|            "i64vec4  mix(i64vec4,  i64vec4,  bvec4);"
 1248|     27|            "uint64_t mix(uint64_t, uint64_t, bool);"
 1249|     27|            "u64vec2  mix(u64vec2,  u64vec2,  bvec2);"
 1250|     27|            "u64vec3  mix(u64vec3,  u64vec3,  bvec3);"
 1251|     27|            "u64vec4  mix(u64vec4,  u64vec4,  bvec4);"
 1252|       |
 1253|     27|            "int64_t doubleBitsToInt64(float64_t);"
 1254|     27|            "i64vec2 doubleBitsToInt64(f64vec2);"
 1255|     27|            "i64vec3 doubleBitsToInt64(f64vec3);"
 1256|     27|            "i64vec4 doubleBitsToInt64(f64vec4);"
 1257|       |
 1258|     27|            "uint64_t doubleBitsToUint64(float64_t);"
 1259|     27|            "u64vec2  doubleBitsToUint64(f64vec2);"
 1260|     27|            "u64vec3  doubleBitsToUint64(f64vec3);"
 1261|     27|            "u64vec4  doubleBitsToUint64(f64vec4);"
 1262|       |
 1263|     27|            "float64_t int64BitsToDouble(int64_t);"
 1264|     27|            "f64vec2  int64BitsToDouble(i64vec2);"
 1265|     27|            "f64vec3  int64BitsToDouble(i64vec3);"
 1266|     27|            "f64vec4  int64BitsToDouble(i64vec4);"
 1267|       |
 1268|     27|            "float64_t uint64BitsToDouble(uint64_t);"
 1269|     27|            "f64vec2  uint64BitsToDouble(u64vec2);"
 1270|     27|            "f64vec3  uint64BitsToDouble(u64vec3);"
 1271|     27|            "f64vec4  uint64BitsToDouble(u64vec4);"
 1272|       |
 1273|     27|            "int64_t  packInt2x32(ivec2);"
 1274|     27|            "uint64_t packUint2x32(uvec2);"
 1275|     27|            "ivec2    unpackInt2x32(int64_t);"
 1276|     27|            "uvec2    unpackUint2x32(uint64_t);"
 1277|       |
 1278|     27|            "bvec2 lessThan(i64vec2, i64vec2);"
 1279|     27|            "bvec3 lessThan(i64vec3, i64vec3);"
 1280|     27|            "bvec4 lessThan(i64vec4, i64vec4);"
 1281|     27|            "bvec2 lessThan(u64vec2, u64vec2);"
 1282|     27|            "bvec3 lessThan(u64vec3, u64vec3);"
 1283|     27|            "bvec4 lessThan(u64vec4, u64vec4);"
 1284|       |
 1285|     27|            "bvec2 lessThanEqual(i64vec2, i64vec2);"
 1286|     27|            "bvec3 lessThanEqual(i64vec3, i64vec3);"
 1287|     27|            "bvec4 lessThanEqual(i64vec4, i64vec4);"
 1288|     27|            "bvec2 lessThanEqual(u64vec2, u64vec2);"
 1289|     27|            "bvec3 lessThanEqual(u64vec3, u64vec3);"
 1290|     27|            "bvec4 lessThanEqual(u64vec4, u64vec4);"
 1291|       |
 1292|     27|            "bvec2 greaterThan(i64vec2, i64vec2);"
 1293|     27|            "bvec3 greaterThan(i64vec3, i64vec3);"
 1294|     27|            "bvec4 greaterThan(i64vec4, i64vec4);"
 1295|     27|            "bvec2 greaterThan(u64vec2, u64vec2);"
 1296|     27|            "bvec3 greaterThan(u64vec3, u64vec3);"
 1297|     27|            "bvec4 greaterThan(u64vec4, u64vec4);"
 1298|       |
 1299|     27|            "bvec2 greaterThanEqual(i64vec2, i64vec2);"
 1300|     27|            "bvec3 greaterThanEqual(i64vec3, i64vec3);"
 1301|     27|            "bvec4 greaterThanEqual(i64vec4, i64vec4);"
 1302|     27|            "bvec2 greaterThanEqual(u64vec2, u64vec2);"
 1303|     27|            "bvec3 greaterThanEqual(u64vec3, u64vec3);"
 1304|     27|            "bvec4 greaterThanEqual(u64vec4, u64vec4);"
 1305|       |
 1306|     27|            "bvec2 equal(i64vec2, i64vec2);"
 1307|     27|            "bvec3 equal(i64vec3, i64vec3);"
 1308|     27|            "bvec4 equal(i64vec4, i64vec4);"
 1309|     27|            "bvec2 equal(u64vec2, u64vec2);"
 1310|     27|            "bvec3 equal(u64vec3, u64vec3);"
 1311|     27|            "bvec4 equal(u64vec4, u64vec4);"
 1312|       |
 1313|     27|            "bvec2 notEqual(i64vec2, i64vec2);"
 1314|     27|            "bvec3 notEqual(i64vec3, i64vec3);"
 1315|     27|            "bvec4 notEqual(i64vec4, i64vec4);"
 1316|     27|            "bvec2 notEqual(u64vec2, u64vec2);"
 1317|     27|            "bvec3 notEqual(u64vec3, u64vec3);"
 1318|     27|            "bvec4 notEqual(u64vec4, u64vec4);"
 1319|       |
 1320|     27|            "int64_t bitCount(int64_t);"
 1321|     27|            "i64vec2 bitCount(i64vec2);"
 1322|     27|            "i64vec3 bitCount(i64vec3);"
 1323|     27|            "i64vec4 bitCount(i64vec4);"
 1324|       |
 1325|     27|            "int64_t bitCount(uint64_t);"
 1326|     27|            "i64vec2 bitCount(u64vec2);"
 1327|     27|            "i64vec3 bitCount(u64vec3);"
 1328|     27|            "i64vec4 bitCount(u64vec4);"
 1329|       |
 1330|     27|            "int64_t findLSB(int64_t);"
 1331|     27|            "i64vec2 findLSB(i64vec2);"
 1332|     27|            "i64vec3 findLSB(i64vec3);"
 1333|     27|            "i64vec4 findLSB(i64vec4);"
 1334|       |
 1335|     27|            "int64_t findLSB(uint64_t);"
 1336|     27|            "i64vec2 findLSB(u64vec2);"
 1337|     27|            "i64vec3 findLSB(u64vec3);"
 1338|     27|            "i64vec4 findLSB(u64vec4);"
 1339|       |
 1340|     27|            "int64_t findMSB(int64_t);"
 1341|     27|            "i64vec2 findMSB(i64vec2);"
 1342|     27|            "i64vec3 findMSB(i64vec3);"
 1343|     27|            "i64vec4 findMSB(i64vec4);"
 1344|       |
 1345|     27|            "int64_t findMSB(uint64_t);"
 1346|     27|            "i64vec2 findMSB(u64vec2);"
 1347|     27|            "i64vec3 findMSB(u64vec3);"
 1348|     27|            "i64vec4 findMSB(u64vec4);"
 1349|       |
 1350|     27|            "\n"
 1351|     27|        );
 1352|     27|    }
 1353|       |
 1354|       |    // GL_AMD_shader_trinary_minmax
 1355|    107|    if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (1355:9): [True: 29, False: 78]
  |  Branch (1355:34): [True: 27, False: 2]
  ------------------
 1356|     27|        commonBuiltins.append(
 1357|     27|            "float min3(float, float, float);"
 1358|     27|            "vec2  min3(vec2,  vec2,  vec2);"
 1359|     27|            "vec3  min3(vec3,  vec3,  vec3);"
 1360|     27|            "vec4  min3(vec4,  vec4,  vec4);"
 1361|       |
 1362|     27|            "int   min3(int,   int,   int);"
 1363|     27|            "ivec2 min3(ivec2, ivec2, ivec2);"
 1364|     27|            "ivec3 min3(ivec3, ivec3, ivec3);"
 1365|     27|            "ivec4 min3(ivec4, ivec4, ivec4);"
 1366|       |
 1367|     27|            "uint  min3(uint,  uint,  uint);"
 1368|     27|            "uvec2 min3(uvec2, uvec2, uvec2);"
 1369|     27|            "uvec3 min3(uvec3, uvec3, uvec3);"
 1370|     27|            "uvec4 min3(uvec4, uvec4, uvec4);"
 1371|       |
 1372|     27|            "float max3(float, float, float);"
 1373|     27|            "vec2  max3(vec2,  vec2,  vec2);"
 1374|     27|            "vec3  max3(vec3,  vec3,  vec3);"
 1375|     27|            "vec4  max3(vec4,  vec4,  vec4);"
 1376|       |
 1377|     27|            "int   max3(int,   int,   int);"
 1378|     27|            "ivec2 max3(ivec2, ivec2, ivec2);"
 1379|     27|            "ivec3 max3(ivec3, ivec3, ivec3);"
 1380|     27|            "ivec4 max3(ivec4, ivec4, ivec4);"
 1381|       |
 1382|     27|            "uint  max3(uint,  uint,  uint);"
 1383|     27|            "uvec2 max3(uvec2, uvec2, uvec2);"
 1384|     27|            "uvec3 max3(uvec3, uvec3, uvec3);"
 1385|     27|            "uvec4 max3(uvec4, uvec4, uvec4);"
 1386|       |
 1387|     27|            "float mid3(float, float, float);"
 1388|     27|            "vec2  mid3(vec2,  vec2,  vec2);"
 1389|     27|            "vec3  mid3(vec3,  vec3,  vec3);"
 1390|     27|            "vec4  mid3(vec4,  vec4,  vec4);"
 1391|       |
 1392|     27|            "int   mid3(int,   int,   int);"
 1393|     27|            "ivec2 mid3(ivec2, ivec2, ivec2);"
 1394|     27|            "ivec3 mid3(ivec3, ivec3, ivec3);"
 1395|     27|            "ivec4 mid3(ivec4, ivec4, ivec4);"
 1396|       |
 1397|     27|            "uint  mid3(uint,  uint,  uint);"
 1398|     27|            "uvec2 mid3(uvec2, uvec2, uvec2);"
 1399|     27|            "uvec3 mid3(uvec3, uvec3, uvec3);"
 1400|     27|            "uvec4 mid3(uvec4, uvec4, uvec4);"
 1401|       |
 1402|     27|            "float16_t min3(float16_t, float16_t, float16_t);"
 1403|     27|            "f16vec2   min3(f16vec2,   f16vec2,   f16vec2);"
 1404|     27|            "f16vec3   min3(f16vec3,   f16vec3,   f16vec3);"
 1405|     27|            "f16vec4   min3(f16vec4,   f16vec4,   f16vec4);"
 1406|       |
 1407|     27|            "float16_t max3(float16_t, float16_t, float16_t);"
 1408|     27|            "f16vec2   max3(f16vec2,   f16vec2,   f16vec2);"
 1409|     27|            "f16vec3   max3(f16vec3,   f16vec3,   f16vec3);"
 1410|     27|            "f16vec4   max3(f16vec4,   f16vec4,   f16vec4);"
 1411|       |
 1412|     27|            "float16_t mid3(float16_t, float16_t, float16_t);"
 1413|     27|            "f16vec2   mid3(f16vec2,   f16vec2,   f16vec2);"
 1414|     27|            "f16vec3   mid3(f16vec3,   f16vec3,   f16vec3);"
 1415|     27|            "f16vec4   mid3(f16vec4,   f16vec4,   f16vec4);"
 1416|       |
 1417|     27|            "int16_t   min3(int16_t,   int16_t,   int16_t);"
 1418|     27|            "i16vec2   min3(i16vec2,   i16vec2,   i16vec2);"
 1419|     27|            "i16vec3   min3(i16vec3,   i16vec3,   i16vec3);"
 1420|     27|            "i16vec4   min3(i16vec4,   i16vec4,   i16vec4);"
 1421|       |
 1422|     27|            "int16_t   max3(int16_t,   int16_t,   int16_t);"
 1423|     27|            "i16vec2   max3(i16vec2,   i16vec2,   i16vec2);"
 1424|     27|            "i16vec3   max3(i16vec3,   i16vec3,   i16vec3);"
 1425|     27|            "i16vec4   max3(i16vec4,   i16vec4,   i16vec4);"
 1426|       |
 1427|     27|            "int16_t   mid3(int16_t,   int16_t,   int16_t);"
 1428|     27|            "i16vec2   mid3(i16vec2,   i16vec2,   i16vec2);"
 1429|     27|            "i16vec3   mid3(i16vec3,   i16vec3,   i16vec3);"
 1430|     27|            "i16vec4   mid3(i16vec4,   i16vec4,   i16vec4);"
 1431|       |
 1432|     27|            "uint16_t  min3(uint16_t,  uint16_t,  uint16_t);"
 1433|     27|            "u16vec2   min3(u16vec2,   u16vec2,   u16vec2);"
 1434|     27|            "u16vec3   min3(u16vec3,   u16vec3,   u16vec3);"
 1435|     27|            "u16vec4   min3(u16vec4,   u16vec4,   u16vec4);"
 1436|       |
 1437|     27|            "uint16_t  max3(uint16_t,  uint16_t,  uint16_t);"
 1438|     27|            "u16vec2   max3(u16vec2,   u16vec2,   u16vec2);"
 1439|     27|            "u16vec3   max3(u16vec3,   u16vec3,   u16vec3);"
 1440|     27|            "u16vec4   max3(u16vec4,   u16vec4,   u16vec4);"
 1441|       |
 1442|     27|            "uint16_t  mid3(uint16_t,  uint16_t,  uint16_t);"
 1443|     27|            "u16vec2   mid3(u16vec2,   u16vec2,   u16vec2);"
 1444|     27|            "u16vec3   mid3(u16vec3,   u16vec3,   u16vec3);"
 1445|     27|            "u16vec4   mid3(u16vec4,   u16vec4,   u16vec4);"
 1446|       |
 1447|     27|            "\n"
 1448|     27|        );
 1449|     27|    }
 1450|       |
 1451|    107|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1451:10): [True: 78, False: 29]
  |  Branch (1451:35): [True: 0, False: 78]
  ------------------
 1452|    107|        (profile != EEsProfile && version >= 430)) {
  ------------------
  |  Branch (1452:10): [True: 29, False: 78]
  |  Branch (1452:35): [True: 27, False: 2]
  ------------------
 1453|     27|        commonBuiltins.append(
 1454|     27|            "uint atomicAdd(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1455|     27|            " int atomicAdd(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1456|       |
 1457|     27|            "uint atomicMin(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1458|     27|            " int atomicMin(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1459|       |
 1460|     27|            "uint atomicMax(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1461|     27|            " int atomicMax(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1462|       |
 1463|     27|            "uint atomicAnd(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1464|     27|            " int atomicAnd(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1465|       |
 1466|     27|            "uint atomicOr (coherent volatile nontemporal inout uint, uint, int, int, int);"
 1467|     27|            " int atomicOr (coherent volatile nontemporal inout  int,  int, int, int, int);"
 1468|       |
 1469|     27|            "uint atomicXor(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1470|     27|            " int atomicXor(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1471|       |
 1472|     27|            "uint atomicExchange(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1473|     27|            " int atomicExchange(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1474|       |
 1475|     27|            "uint atomicCompSwap(coherent volatile nontemporal inout uint, uint, uint, int, int, int, int, int);"
 1476|     27|            " int atomicCompSwap(coherent volatile nontemporal inout  int,  int,  int, int, int, int, int, int);"
 1477|       |
 1478|     27|            "uint atomicLoad(coherent volatile nontemporal in uint, int, int, int);"
 1479|     27|            " int atomicLoad(coherent volatile nontemporal in  int, int, int, int);"
 1480|       |
 1481|     27|            "void atomicStore(coherent volatile nontemporal out uint, uint, int, int, int);"
 1482|     27|            "void atomicStore(coherent volatile nontemporal out  int,  int, int, int, int);"
 1483|       |
 1484|     27|            "\n");
 1485|     27|    }
 1486|       |
 1487|    107|    if (profile != EEsProfile && version >= 440) {
  ------------------
  |  Branch (1487:9): [True: 29, False: 78]
  |  Branch (1487:34): [True: 27, False: 2]
  ------------------
 1488|     27|        commonBuiltins.append(
 1489|     27|            "uint64_t atomicMin(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1490|     27|            " int64_t atomicMin(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1491|     27|            "uint64_t atomicMin(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1492|     27|            " int64_t atomicMin(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1493|     27|            "float16_t atomicMin(coherent volatile nontemporal inout float16_t, float16_t);"
 1494|     27|            "float16_t atomicMin(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1495|     27|            "   float atomicMin(coherent volatile nontemporal inout float, float);"
 1496|     27|            "   float atomicMin(coherent volatile nontemporal inout float, float, int, int, int);"
 1497|     27|            "  double atomicMin(coherent volatile nontemporal inout double, double);"
 1498|     27|            "  double atomicMin(coherent volatile nontemporal inout double, double, int, int, int);"
 1499|       |
 1500|     27|            "uint64_t atomicMax(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1501|     27|            " int64_t atomicMax(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1502|     27|            "uint64_t atomicMax(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1503|     27|            " int64_t atomicMax(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1504|     27|            "float16_t atomicMax(coherent volatile nontemporal inout float16_t, float16_t);"
 1505|     27|            "float16_t atomicMax(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1506|     27|            "   float atomicMax(coherent volatile nontemporal inout float, float);"
 1507|     27|            "   float atomicMax(coherent volatile nontemporal inout float, float, int, int, int);"
 1508|     27|            "  double atomicMax(coherent volatile nontemporal inout double, double);"
 1509|     27|            "  double atomicMax(coherent volatile nontemporal inout double, double, int, int, int);"
 1510|       |
 1511|     27|            "uint64_t atomicAnd(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1512|     27|            " int64_t atomicAnd(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1513|     27|            "uint64_t atomicAnd(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1514|     27|            " int64_t atomicAnd(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1515|       |
 1516|     27|            "uint64_t atomicOr (coherent volatile nontemporal inout uint64_t, uint64_t);"
 1517|     27|            " int64_t atomicOr (coherent volatile nontemporal inout  int64_t,  int64_t);"
 1518|     27|            "uint64_t atomicOr (coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1519|     27|            " int64_t atomicOr (coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1520|       |
 1521|     27|            "uint64_t atomicXor(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1522|     27|            " int64_t atomicXor(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1523|     27|            "uint64_t atomicXor(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1524|     27|            " int64_t atomicXor(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1525|       |
 1526|     27|            "uint64_t atomicAdd(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1527|     27|            " int64_t atomicAdd(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1528|     27|            "uint64_t atomicAdd(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1529|     27|            " int64_t atomicAdd(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1530|     27|            "float16_t atomicAdd(coherent volatile nontemporal inout float16_t, float16_t);"
 1531|     27|            "float16_t atomicAdd(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1532|     27|            "   float atomicAdd(coherent volatile nontemporal inout float, float);"
 1533|     27|            "   float atomicAdd(coherent volatile nontemporal inout float, float, int, int, int);"
 1534|     27|            "  double atomicAdd(coherent volatile nontemporal inout double, double);"
 1535|     27|            "  double atomicAdd(coherent volatile nontemporal inout double, double, int, int, int);"
 1536|       |
 1537|     27|            "uint64_t atomicExchange(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1538|     27|            " int64_t atomicExchange(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1539|     27|            "uint64_t atomicExchange(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1540|     27|            " int64_t atomicExchange(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1541|     27|            "float16_t atomicExchange(coherent volatile nontemporal inout float16_t, float16_t);"
 1542|     27|            "float16_t atomicExchange(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1543|     27|            "   float atomicExchange(coherent volatile nontemporal inout float, float);"
 1544|     27|            "   float atomicExchange(coherent volatile nontemporal inout float, float, int, int, int);"
 1545|     27|            "  double atomicExchange(coherent volatile nontemporal inout double, double);"
 1546|     27|            "  double atomicExchange(coherent volatile nontemporal inout double, double, int, int, int);"
 1547|       |
 1548|     27|            "uint64_t atomicCompSwap(coherent volatile nontemporal inout uint64_t, uint64_t, uint64_t);"
 1549|     27|            " int64_t atomicCompSwap(coherent volatile nontemporal inout  int64_t,  int64_t,  int64_t);"
 1550|     27|            "uint64_t atomicCompSwap(coherent volatile nontemporal inout uint64_t, uint64_t, uint64_t, int, int, int, int, int);"
 1551|     27|            " int64_t atomicCompSwap(coherent volatile nontemporal inout  int64_t,  int64_t,  int64_t, int, int, int, int, int);"
 1552|       |
 1553|     27|            "uint64_t atomicLoad(coherent volatile nontemporal in uint64_t, int, int, int);"
 1554|     27|            " int64_t atomicLoad(coherent volatile nontemporal in  int64_t, int, int, int);"
 1555|     27|            "float16_t atomicLoad(coherent volatile nontemporal in float16_t, int, int, int);"
 1556|     27|            "   float atomicLoad(coherent volatile nontemporal in float, int, int, int);"
 1557|     27|            "  double atomicLoad(coherent volatile nontemporal in double, int, int, int);"
 1558|       |
 1559|     27|            "void atomicStore(coherent volatile nontemporal out uint64_t, uint64_t, int, int, int);"
 1560|     27|            "void atomicStore(coherent volatile nontemporal out  int64_t,  int64_t, int, int, int);"
 1561|     27|            "void atomicStore(coherent volatile nontemporal out float16_t, float16_t, int, int, int);"
 1562|     27|            "void atomicStore(coherent volatile nontemporal out float, float, int, int, int);"
 1563|     27|            "void atomicStore(coherent volatile nontemporal out double, double, int, int, int);"
 1564|     27|            "\n");
 1565|     27|    }
 1566|       |
 1567|       |    // NV_shader_atomic_fp16_vector
 1568|    107|    if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (1568:9): [True: 29, False: 78]
  |  Branch (1568:34): [True: 27, False: 2]
  ------------------
 1569|     27|        commonBuiltins.append(
 1570|     27|            "f16vec2 atomicAdd(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1571|     27|            "f16vec4 atomicAdd(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1572|     27|            "f16vec2 atomicMin(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1573|     27|            "f16vec4 atomicMin(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1574|     27|            "f16vec2 atomicMax(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1575|     27|            "f16vec4 atomicMax(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1576|     27|            "f16vec2 atomicExchange(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1577|     27|            "f16vec4 atomicExchange(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1578|     27|            "\n");
 1579|     27|    }
 1580|       |
 1581|    107|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1581:10): [True: 78, False: 29]
  |  Branch (1581:35): [True: 1, False: 77]
  ------------------
 1582|    106|        (profile != EEsProfile && version >= 150)) { // GL_ARB_shader_bit_encoding
  ------------------
  |  Branch (1582:10): [True: 29, False: 77]
  |  Branch (1582:35): [True: 28, False: 1]
  ------------------
 1583|     29|        commonBuiltins.append(
 1584|     29|            "int   floatBitsToInt(highp float value);"
 1585|     29|            "ivec2 floatBitsToInt(highp vec2  value);"
 1586|     29|            "ivec3 floatBitsToInt(highp vec3  value);"
 1587|     29|            "ivec4 floatBitsToInt(highp vec4  value);"
 1588|       |
 1589|     29|            "uint  floatBitsToUint(highp float value);"
 1590|     29|            "uvec2 floatBitsToUint(highp vec2  value);"
 1591|     29|            "uvec3 floatBitsToUint(highp vec3  value);"
 1592|     29|            "uvec4 floatBitsToUint(highp vec4  value);"
 1593|       |
 1594|     29|            "float intBitsToFloat(highp int   value);"
 1595|     29|            "vec2  intBitsToFloat(highp ivec2 value);"
 1596|     29|            "vec3  intBitsToFloat(highp ivec3 value);"
 1597|     29|            "vec4  intBitsToFloat(highp ivec4 value);"
 1598|       |
 1599|     29|            "float uintBitsToFloat(highp uint  value);"
 1600|     29|            "vec2  uintBitsToFloat(highp uvec2 value);"
 1601|     29|            "vec3  uintBitsToFloat(highp uvec3 value);"
 1602|     29|            "vec4  uintBitsToFloat(highp uvec4 value);"
 1603|       |
 1604|     29|            "\n");
 1605|     29|    }
 1606|       |
 1607|    107|    if ((profile != EEsProfile && version >= 150) || // GL_NV_gpu_shader5
  ------------------
  |  Branch (1607:10): [True: 29, False: 78]
  |  Branch (1607:35): [True: 28, False: 1]
  ------------------
 1608|     79|        (profile == EEsProfile && version >= 310)) {    // GL_OES_gpu_shader5
  ------------------
  |  Branch (1608:10): [True: 78, False: 1]
  |  Branch (1608:35): [True: 0, False: 78]
  ------------------
 1609|       |
 1610|     28|        commonBuiltins.append(
 1611|     28|            "float  fma(float,  float,  float );"
 1612|     28|            "vec2   fma(vec2,   vec2,   vec2  );"
 1613|     28|            "vec3   fma(vec3,   vec3,   vec3  );"
 1614|     28|            "vec4   fma(vec4,   vec4,   vec4  );"
 1615|     28|            "\n");
 1616|     28|    }
 1617|       |
 1618|    107|    if (profile != EEsProfile && version >= 150) {  // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1618:9): [True: 29, False: 78]
  |  Branch (1618:34): [True: 28, False: 1]
  ------------------
 1619|     28|            commonBuiltins.append(
 1620|     28|                "double fma(double, double, double);"
 1621|     28|                "dvec2  fma(dvec2,  dvec2,  dvec2 );"
 1622|     28|                "dvec3  fma(dvec3,  dvec3,  dvec3 );"
 1623|     28|                "dvec4  fma(dvec4,  dvec4,  dvec4 );"
 1624|     28|                "\n");
 1625|     28|    }
 1626|       |
 1627|    107|    if (profile == EEsProfile && version >= 310) {  // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1627:9): [True: 78, False: 29]
  |  Branch (1627:34): [True: 0, False: 78]
  ------------------
 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|    107|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1636:10): [True: 78, False: 29]
  |  Branch (1636:35): [True: 0, False: 78]
  ------------------
 1637|    107|        (profile != EEsProfile && version >= 150)) { // GL_NV_gpu_shader5
  ------------------
  |  Branch (1637:10): [True: 29, False: 78]
  |  Branch (1637:35): [True: 28, False: 1]
  ------------------
 1638|     28|        commonBuiltins.append(
 1639|     28|            "float frexp(highp float, out highp int);"
 1640|     28|            "vec2  frexp(highp vec2,  out highp ivec2);"
 1641|     28|            "vec3  frexp(highp vec3,  out highp ivec3);"
 1642|     28|            "vec4  frexp(highp vec4,  out highp ivec4);"
 1643|       |
 1644|     28|            "float ldexp(highp float, highp int);"
 1645|     28|            "vec2  ldexp(highp vec2,  highp ivec2);"
 1646|     28|            "vec3  ldexp(highp vec3,  highp ivec3);"
 1647|     28|            "vec4  ldexp(highp vec4,  highp ivec4);"
 1648|       |
 1649|     28|            "\n");
 1650|     28|    }
 1651|       |
 1652|    107|    if (profile != EEsProfile && version >= 150) { // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1652:9): [True: 29, False: 78]
  |  Branch (1652:34): [True: 28, False: 1]
  ------------------
 1653|     28|        commonBuiltins.append(
 1654|     28|            "double frexp(double, out int);"
 1655|     28|            "dvec2  frexp( dvec2, out ivec2);"
 1656|     28|            "dvec3  frexp( dvec3, out ivec3);"
 1657|     28|            "dvec4  frexp( dvec4, out ivec4);"
 1658|       |
 1659|     28|            "double ldexp(double, int);"
 1660|     28|            "dvec2  ldexp( dvec2, ivec2);"
 1661|     28|            "dvec3  ldexp( dvec3, ivec3);"
 1662|     28|            "dvec4  ldexp( dvec4, ivec4);"
 1663|       |
 1664|     28|            "double packDouble2x32(uvec2);"
 1665|     28|            "uvec2 unpackDouble2x32(double);"
 1666|       |
 1667|     28|            "\n");
 1668|     28|    }
 1669|       |
 1670|    107|    if (profile == EEsProfile && version >= 310) { // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1670:9): [True: 78, False: 29]
  |  Branch (1670:34): [True: 0, False: 78]
  ------------------
 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|    107|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1685:10): [True: 78, False: 29]
  |  Branch (1685:35): [True: 1, False: 77]
  ------------------
 1686|    106|        (profile != EEsProfile && version >= 150)) {
  ------------------
  |  Branch (1686:10): [True: 29, False: 77]
  |  Branch (1686:35): [True: 28, False: 1]
  ------------------
 1687|     29|        commonBuiltins.append(
 1688|     29|            "highp uint packUnorm2x16(vec2);"
 1689|     29|                  "vec2 unpackUnorm2x16(highp uint);"
 1690|     29|            "\n");
 1691|     29|    }
 1692|       |
 1693|    107|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1693:10): [True: 78, False: 29]
  |  Branch (1693:35): [True: 1, False: 77]
  ------------------
 1694|    106|        (profile != EEsProfile && version >= 150)) {
  ------------------
  |  Branch (1694:10): [True: 29, False: 77]
  |  Branch (1694:35): [True: 28, False: 1]
  ------------------
 1695|     29|        commonBuiltins.append(
 1696|     29|            "highp uint packSnorm2x16(vec2);"
 1697|     29|            "      vec2 unpackSnorm2x16(highp uint);"
 1698|     29|            "highp uint packHalf2x16(vec2);"
 1699|     29|            "\n");
 1700|     29|    }
 1701|       |
 1702|    107|    if (profile == EEsProfile && version >= 300) {
  ------------------
  |  Branch (1702:9): [True: 78, False: 29]
  |  Branch (1702:34): [True: 1, False: 77]
  ------------------
 1703|      1|        commonBuiltins.append(
 1704|      1|            "mediump vec2 unpackHalf2x16(highp uint);"
 1705|      1|            "\n");
 1706|    106|    } else if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (1706:16): [True: 29, False: 77]
  |  Branch (1706:41): [True: 28, False: 1]
  ------------------
 1707|     28|        commonBuiltins.append(
 1708|     28|            "        vec2 unpackHalf2x16(highp uint);"
 1709|     28|            "\n");
 1710|     28|    }
 1711|       |
 1712|    107|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1712:10): [True: 78, False: 29]
  |  Branch (1712:35): [True: 0, False: 78]
  ------------------
 1713|    107|        (profile != EEsProfile && version >= 150)) {
  ------------------
  |  Branch (1713:10): [True: 29, False: 78]
  |  Branch (1713:35): [True: 28, False: 1]
  ------------------
 1714|     28|        commonBuiltins.append(
 1715|     28|            "highp uint packSnorm4x8(vec4);"
 1716|     28|            "highp uint packUnorm4x8(vec4);"
 1717|     28|            "\n");
 1718|     28|    }
 1719|       |
 1720|    107|    if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (1720:9): [True: 78, False: 29]
  |  Branch (1720:34): [True: 0, False: 78]
  ------------------
 1721|      0|        commonBuiltins.append(
 1722|      0|            "mediump vec4 unpackSnorm4x8(highp uint);"
 1723|      0|            "mediump vec4 unpackUnorm4x8(highp uint);"
 1724|      0|            "\n");
 1725|    107|    } else if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (1725:16): [True: 29, False: 78]
  |  Branch (1725:41): [True: 28, False: 1]
  ------------------
 1726|     28|        commonBuiltins.append(
 1727|     28|                    "vec4 unpackSnorm4x8(highp uint);"
 1728|     28|                    "vec4 unpackUnorm4x8(highp uint);"
 1729|     28|            "\n");
 1730|     28|    }
 1731|       |
 1732|       |    //
 1733|       |    // Matrix Functions.
 1734|       |    //
 1735|    107|    commonBuiltins.append(
 1736|    107|        "mat2 matrixCompMult(mat2 x, mat2 y);"
 1737|    107|        "mat3 matrixCompMult(mat3 x, mat3 y);"
 1738|    107|        "mat4 matrixCompMult(mat4 x, mat4 y);"
 1739|       |
 1740|    107|        "\n");
 1741|       |
 1742|       |    // 120 is correct for both ES and desktop
 1743|    107|    if (version >= 120) {
  ------------------
  |  Branch (1743:9): [True: 29, False: 78]
  ------------------
 1744|     29|        commonBuiltins.append(
 1745|     29|            "mat2   outerProduct(vec2 c, vec2 r);"
 1746|     29|            "mat3   outerProduct(vec3 c, vec3 r);"
 1747|     29|            "mat4   outerProduct(vec4 c, vec4 r);"
 1748|     29|            "mat2x3 outerProduct(vec3 c, vec2 r);"
 1749|     29|            "mat3x2 outerProduct(vec2 c, vec3 r);"
 1750|     29|            "mat2x4 outerProduct(vec4 c, vec2 r);"
 1751|     29|            "mat4x2 outerProduct(vec2 c, vec4 r);"
 1752|     29|            "mat3x4 outerProduct(vec4 c, vec3 r);"
 1753|     29|            "mat4x3 outerProduct(vec3 c, vec4 r);"
 1754|       |
 1755|     29|            "mat2   transpose(mat2   m);"
 1756|     29|            "mat3   transpose(mat3   m);"
 1757|     29|            "mat4   transpose(mat4   m);"
 1758|     29|            "mat2x3 transpose(mat3x2 m);"
 1759|     29|            "mat3x2 transpose(mat2x3 m);"
 1760|     29|            "mat2x4 transpose(mat4x2 m);"
 1761|     29|            "mat4x2 transpose(mat2x4 m);"
 1762|     29|            "mat3x4 transpose(mat4x3 m);"
 1763|     29|            "mat4x3 transpose(mat3x4 m);"
 1764|       |
 1765|     29|            "mat2x3 matrixCompMult(mat2x3, mat2x3);"
 1766|     29|            "mat2x4 matrixCompMult(mat2x4, mat2x4);"
 1767|     29|            "mat3x2 matrixCompMult(mat3x2, mat3x2);"
 1768|     29|            "mat3x4 matrixCompMult(mat3x4, mat3x4);"
 1769|     29|            "mat4x2 matrixCompMult(mat4x2, mat4x2);"
 1770|     29|            "mat4x3 matrixCompMult(mat4x3, mat4x3);"
 1771|       |
 1772|     29|            "\n");
 1773|       |
 1774|       |        // 150 is correct for both ES and desktop
 1775|     29|        if (version >= 150) {
  ------------------
  |  Branch (1775:13): [True: 29, False: 0]
  ------------------
 1776|     29|            commonBuiltins.append(
 1777|     29|                "float determinant(mat2 m);"
 1778|     29|                "float determinant(mat3 m);"
 1779|     29|                "float determinant(mat4 m);"
 1780|       |
 1781|     29|                "mat2 inverse(mat2 m);"
 1782|     29|                "mat3 inverse(mat3 m);"
 1783|     29|                "mat4 inverse(mat4 m);"
 1784|       |
 1785|     29|                "\n");
 1786|     29|        }
 1787|     29|    }
 1788|       |
 1789|       |    //
 1790|       |    // Original-style texture functions existing in all stages.
 1791|       |    // (Per-stage functions below.)
 1792|       |    //
 1793|    107|    if ((profile == EEsProfile && version == 100) ||
  ------------------
  |  Branch (1793:10): [True: 78, False: 29]
  |  Branch (1793:35): [True: 77, False: 1]
  ------------------
 1794|     30|         profile == ECompatibilityProfile ||
  ------------------
  |  Branch (1794:10): [True: 0, False: 30]
  ------------------
 1795|     30|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (1795:10): [True: 28, False: 2]
  |  Branch (1795:37): [True: 1, False: 27]
  ------------------
 1796|     79|         profile == ENoProfile) {
  ------------------
  |  Branch (1796:10): [True: 1, False: 28]
  ------------------
 1797|     79|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (1797:13): [True: 79, False: 0]
  ------------------
 1798|     79|            commonBuiltins.append(
 1799|     79|                "vec4 texture2D(sampler2D, vec2);"
 1800|       |
 1801|     79|                "vec4 texture2DProj(sampler2D, vec3);"
 1802|     79|                "vec4 texture2DProj(sampler2D, vec4);"
 1803|       |
 1804|     79|                "vec4 texture3D(sampler3D, vec3);"     // OES_texture_3D, but caught by keyword check
 1805|     79|                "vec4 texture3DProj(sampler3D, vec4);" // OES_texture_3D, but caught by keyword check
 1806|       |
 1807|     79|                "vec4 textureCube(samplerCube, vec3);"
 1808|       |
 1809|     79|                "\n");
 1810|     79|        }
 1811|     79|    }
 1812|       |
 1813|    107|    if ( profile == ECompatibilityProfile ||
  ------------------
  |  Branch (1813:10): [True: 0, False: 107]
  ------------------
 1814|    107|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (1814:10): [True: 28, False: 79]
  |  Branch (1814:37): [True: 1, False: 27]
  ------------------
 1815|    106|         profile == ENoProfile) {
  ------------------
  |  Branch (1815:10): [True: 1, False: 105]
  ------------------
 1816|      2|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (1816:13): [True: 2, False: 0]
  ------------------
 1817|      2|            commonBuiltins.append(
 1818|      2|                "vec4 texture1D(sampler1D, float);"
 1819|       |
 1820|      2|                "vec4 texture1DProj(sampler1D, vec2);"
 1821|      2|                "vec4 texture1DProj(sampler1D, vec4);"
 1822|       |
 1823|      2|                "vec4 shadow1D(sampler1DShadow, vec3);"
 1824|      2|                "vec4 shadow2D(sampler2DShadow, vec3);"
 1825|      2|                "vec4 shadow1DProj(sampler1DShadow, vec4);"
 1826|      2|                "vec4 shadow2DProj(sampler2DShadow, vec4);"
 1827|       |
 1828|      2|                "vec4 texture2DRect(sampler2DRect, vec2);"          // GL_ARB_texture_rectangle, caught by keyword check
 1829|      2|                "vec4 texture2DRectProj(sampler2DRect, vec3);"      // GL_ARB_texture_rectangle, caught by keyword check
 1830|      2|                "vec4 texture2DRectProj(sampler2DRect, vec4);"      // GL_ARB_texture_rectangle, caught by keyword check
 1831|      2|                "vec4 shadow2DRect(sampler2DRectShadow, vec3);"     // GL_ARB_texture_rectangle, caught by keyword check
 1832|      2|                "vec4 shadow2DRectProj(sampler2DRectShadow, vec4);" // GL_ARB_texture_rectangle, caught by keyword check
 1833|       |
 1834|      2|                "vec4 texture1DArray(sampler1DArray, vec2);"      // GL_EXT_texture_array
 1835|      2|                "vec4 texture2DArray(sampler2DArray, vec3);"      // GL_EXT_texture_array
 1836|      2|                "vec4 shadow1DArray(sampler1DArrayShadow, vec3);" // GL_EXT_texture_array
 1837|      2|                "vec4 shadow2DArray(sampler2DArrayShadow, vec4);" // GL_EXT_texture_array
 1838|      2|                "vec4 texture1DArray(sampler1DArray, vec2, float);"                // GL_EXT_texture_array
 1839|      2|                "vec4 texture2DArray(sampler2DArray, vec3, float);"                // GL_EXT_texture_array
 1840|      2|                "vec4 shadow1DArray(sampler1DArrayShadow, vec3, float);"           // GL_EXT_texture_array
 1841|      2|                "vec4 texture1DArrayLod(sampler1DArray, vec2, float);"      // GL_EXT_texture_array
 1842|      2|                "vec4 texture2DArrayLod(sampler2DArray, vec3, float);"      // GL_EXT_texture_array
 1843|      2|                "vec4 shadow1DArrayLod(sampler1DArrayShadow, vec3, float);" // GL_EXT_texture_array
 1844|      2|                "\n");
 1845|      2|        }
 1846|      2|    }
 1847|       |
 1848|    107|    if (profile == EEsProfile) {
  ------------------
  |  Branch (1848:9): [True: 78, False: 29]
  ------------------
 1849|     78|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (1849:13): [True: 78, False: 0]
  ------------------
 1850|     78|            if (version < 300) {
  ------------------
  |  Branch (1850:17): [True: 77, False: 1]
  ------------------
 1851|     77|                commonBuiltins.append(
 1852|     77|                    "vec4 texture2D(samplerExternalOES, vec2 coord);" // GL_OES_EGL_image_external
 1853|     77|                    "vec4 texture2DProj(samplerExternalOES, vec3);"   // GL_OES_EGL_image_external
 1854|     77|                    "vec4 texture2DProj(samplerExternalOES, vec4);"   // GL_OES_EGL_image_external
 1855|     77|                "\n");
 1856|     77|            } else {
 1857|      1|                commonBuiltins.append(
 1858|      1|                    "highp ivec2 textureSize(samplerExternalOES, int lod);"   // GL_OES_EGL_image_external_essl3
 1859|      1|                    "vec4 texture(samplerExternalOES, vec2);"                 // GL_OES_EGL_image_external_essl3
 1860|      1|                    "vec4 texture(samplerExternalOES, vec2, float bias);"     // GL_OES_EGL_image_external_essl3
 1861|      1|                    "vec4 textureProj(samplerExternalOES, vec3);"             // GL_OES_EGL_image_external_essl3
 1862|      1|                    "vec4 textureProj(samplerExternalOES, vec3, float bias);" // GL_OES_EGL_image_external_essl3
 1863|      1|                    "vec4 textureProj(samplerExternalOES, vec4);"             // GL_OES_EGL_image_external_essl3
 1864|      1|                    "vec4 textureProj(samplerExternalOES, vec4, float bias);" // GL_OES_EGL_image_external_essl3
 1865|      1|                    "vec4 texelFetch(samplerExternalOES, ivec2, int lod);"    // GL_OES_EGL_image_external_essl3
 1866|      1|                "\n");
 1867|      1|            }
 1868|     78|            commonBuiltins.append(
 1869|     78|                "highp ivec2 textureSize(__samplerExternal2DY2YEXT, int lod);" // GL_EXT_YUV_target
 1870|     78|                "vec4 texture(__samplerExternal2DY2YEXT, vec2);"               // GL_EXT_YUV_target
 1871|     78|                "vec4 texture(__samplerExternal2DY2YEXT, vec2, float bias);"   // GL_EXT_YUV_target
 1872|     78|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec3);"           // GL_EXT_YUV_target
 1873|     78|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec3, float bias);" // GL_EXT_YUV_target
 1874|     78|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec4);"           // GL_EXT_YUV_target
 1875|     78|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec4, float bias);" // GL_EXT_YUV_target
 1876|     78|                "vec4 texelFetch(__samplerExternal2DY2YEXT sampler, ivec2, int lod);" // GL_EXT_YUV_target
 1877|     78|                "\n");
 1878|     78|            commonBuiltins.append(
 1879|     78|                "vec4 texture2DGradEXT(sampler2D, vec2, vec2, vec2);"      // GL_EXT_shader_texture_lod
 1880|     78|                "vec4 texture2DProjGradEXT(sampler2D, vec3, vec2, vec2);"  // GL_EXT_shader_texture_lod
 1881|     78|                "vec4 texture2DProjGradEXT(sampler2D, vec4, vec2, vec2);"  // GL_EXT_shader_texture_lod
 1882|     78|                "vec4 textureCubeGradEXT(samplerCube, vec3, vec3, vec3);"  // GL_EXT_shader_texture_lod
 1883|       |
 1884|     78|                "float shadow2DEXT(sampler2DShadow, vec3);"     // GL_EXT_shadow_samplers
 1885|     78|                "float shadow2DProjEXT(sampler2DShadow, vec4);" // GL_EXT_shadow_samplers
 1886|       |
 1887|     78|                "\n");
 1888|     78|        }
 1889|     78|    }
 1890|       |
 1891|       |    //
 1892|       |    // Noise functions.
 1893|       |    //
 1894|    107|    if (spvVersion.spv == 0 && profile != EEsProfile) {
  ------------------
  |  Branch (1894:9): [True: 107, False: 0]
  |  Branch (1894:32): [True: 29, False: 78]
  ------------------
 1895|     29|        commonBuiltins.append(
 1896|     29|            "float noise1(float x);"
 1897|     29|            "float noise1(vec2  x);"
 1898|     29|            "float noise1(vec3  x);"
 1899|     29|            "float noise1(vec4  x);"
 1900|       |
 1901|     29|            "vec2 noise2(float x);"
 1902|     29|            "vec2 noise2(vec2  x);"
 1903|     29|            "vec2 noise2(vec3  x);"
 1904|     29|            "vec2 noise2(vec4  x);"
 1905|       |
 1906|     29|            "vec3 noise3(float x);"
 1907|     29|            "vec3 noise3(vec2  x);"
 1908|     29|            "vec3 noise3(vec3  x);"
 1909|     29|            "vec3 noise3(vec4  x);"
 1910|       |
 1911|     29|            "vec4 noise4(float x);"
 1912|     29|            "vec4 noise4(vec2  x);"
 1913|     29|            "vec4 noise4(vec3  x);"
 1914|     29|            "vec4 noise4(vec4  x);"
 1915|       |
 1916|     29|            "\n");
 1917|     29|    }
 1918|       |
 1919|    107|    if (spvVersion.vulkan == 0) {
  ------------------
  |  Branch (1919:9): [True: 27, False: 80]
  ------------------
 1920|       |        //
 1921|       |        // Atomic counter functions.
 1922|       |        //
 1923|     27|        if ((profile != EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1923:14): [True: 12, False: 15]
  |  Branch (1923:39): [True: 12, False: 0]
  ------------------
 1924|     15|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (1924:14): [True: 15, False: 0]
  |  Branch (1924:39): [True: 0, False: 15]
  ------------------
 1925|     12|            commonBuiltins.append(
 1926|     12|                "uint atomicCounterIncrement(atomic_uint);"
 1927|     12|                "uint atomicCounterDecrement(atomic_uint);"
 1928|     12|                "uint atomicCounter(atomic_uint);"
 1929|       |
 1930|     12|                "\n");
 1931|     12|        }
 1932|     27|        if (profile != EEsProfile && version == 450) {
  ------------------
  |  Branch (1932:13): [True: 12, False: 15]
  |  Branch (1932:38): [True: 12, False: 0]
  ------------------
 1933|     12|            commonBuiltins.append(
 1934|     12|                "uint atomicCounterAddARB(atomic_uint, uint);"
 1935|     12|                "uint atomicCounterSubtractARB(atomic_uint, uint);"
 1936|     12|                "uint atomicCounterMinARB(atomic_uint, uint);"
 1937|     12|                "uint atomicCounterMaxARB(atomic_uint, uint);"
 1938|     12|                "uint atomicCounterAndARB(atomic_uint, uint);"
 1939|     12|                "uint atomicCounterOrARB(atomic_uint, uint);"
 1940|     12|                "uint atomicCounterXorARB(atomic_uint, uint);"
 1941|     12|                "uint atomicCounterExchangeARB(atomic_uint, uint);"
 1942|     12|                "uint atomicCounterCompSwapARB(atomic_uint, uint, uint);"
 1943|       |
 1944|     12|                "\n");
 1945|     12|        }
 1946|       |
 1947|       |
 1948|     27|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (1948:13): [True: 12, False: 15]
  |  Branch (1948:38): [True: 0, False: 12]
  ------------------
 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|     27|    }
 1963|     80|    else if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (1963:14): [True: 0, False: 80]
  ------------------
 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|    107|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1995:10): [True: 78, False: 29]
  |  Branch (1995:35): [True: 0, False: 78]
  ------------------
 1996|    107|        (profile != EEsProfile && version >= 150)) { // ARB_gpu_shader5/NV_gpu_shader5
  ------------------
  |  Branch (1996:10): [True: 29, False: 78]
  |  Branch (1996:35): [True: 28, False: 1]
  ------------------
 1997|     28|        commonBuiltins.append(
 1998|     28|            "  int bitfieldExtract(  int, int, int);"
 1999|     28|            "ivec2 bitfieldExtract(ivec2, int, int);"
 2000|     28|            "ivec3 bitfieldExtract(ivec3, int, int);"
 2001|     28|            "ivec4 bitfieldExtract(ivec4, int, int);"
 2002|       |
 2003|     28|            " uint bitfieldExtract( uint, int, int);"
 2004|     28|            "uvec2 bitfieldExtract(uvec2, int, int);"
 2005|     28|            "uvec3 bitfieldExtract(uvec3, int, int);"
 2006|     28|            "uvec4 bitfieldExtract(uvec4, int, int);"
 2007|       |
 2008|     28|            "  int bitfieldInsert(  int base,   int, int, int);"
 2009|     28|            "ivec2 bitfieldInsert(ivec2 base, ivec2, int, int);"
 2010|     28|            "ivec3 bitfieldInsert(ivec3 base, ivec3, int, int);"
 2011|     28|            "ivec4 bitfieldInsert(ivec4 base, ivec4, int, int);"
 2012|       |
 2013|     28|            " uint bitfieldInsert( uint base,  uint, int, int);"
 2014|     28|            "uvec2 bitfieldInsert(uvec2 base, uvec2, int, int);"
 2015|     28|            "uvec3 bitfieldInsert(uvec3 base, uvec3, int, int);"
 2016|     28|            "uvec4 bitfieldInsert(uvec4 base, uvec4, int, int);"
 2017|       |
 2018|     28|            "\n");
 2019|     28|    }
 2020|       |
 2021|    107|    if (profile != EEsProfile && version >= 150) { //GL_ARB_gpu_shader5/GL_NV_gpu_shader5
  ------------------
  |  Branch (2021:9): [True: 29, False: 78]
  |  Branch (2021:34): [True: 28, False: 1]
  ------------------
 2022|     28|        commonBuiltins.append(
 2023|     28|            "  int findLSB(  int);"
 2024|     28|            "ivec2 findLSB(ivec2);"
 2025|     28|            "ivec3 findLSB(ivec3);"
 2026|     28|            "ivec4 findLSB(ivec4);"
 2027|       |
 2028|     28|            "  int findLSB( uint);"
 2029|     28|            "ivec2 findLSB(uvec2);"
 2030|     28|            "ivec3 findLSB(uvec3);"
 2031|     28|            "ivec4 findLSB(uvec4);"
 2032|       |
 2033|     28|            "\n");
 2034|     79|    } else if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (2034:16): [True: 78, False: 1]
  |  Branch (2034:41): [True: 0, False: 78]
  ------------------
 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|    107|    if (profile != EEsProfile && version >= 150) { //GL_ARB_gpu_shader5/GL_NV_gpu_shader5
  ------------------
  |  Branch (2049:9): [True: 29, False: 78]
  |  Branch (2049:34): [True: 28, False: 1]
  ------------------
 2050|     28|        commonBuiltins.append(
 2051|     28|            "  int bitCount(  int);"
 2052|     28|            "ivec2 bitCount(ivec2);"
 2053|     28|            "ivec3 bitCount(ivec3);"
 2054|     28|            "ivec4 bitCount(ivec4);"
 2055|       |
 2056|     28|            "  int bitCount( uint);"
 2057|     28|            "ivec2 bitCount(uvec2);"
 2058|     28|            "ivec3 bitCount(uvec3);"
 2059|     28|            "ivec4 bitCount(uvec4);"
 2060|       |
 2061|     28|            "  int findMSB(highp   int);"
 2062|     28|            "ivec2 findMSB(highp ivec2);"
 2063|     28|            "ivec3 findMSB(highp ivec3);"
 2064|     28|            "ivec4 findMSB(highp ivec4);"
 2065|       |
 2066|     28|            "  int findMSB(highp  uint);"
 2067|     28|            "ivec2 findMSB(highp uvec2);"
 2068|     28|            "ivec3 findMSB(highp uvec3);"
 2069|     28|            "ivec4 findMSB(highp uvec4);"
 2070|     28|            "\n");
 2071|     28|    }
 2072|       |
 2073|    107|    if (profile != EEsProfile && version >= 150 && version < 450) { //GL_NV_gpu_shader5
  ------------------
  |  Branch (2073:9): [True: 29, False: 78]
  |  Branch (2073:34): [True: 28, False: 1]
  |  Branch (2073:52): [True: 1, False: 27]
  ------------------
 2074|      1|        commonBuiltins.append(
 2075|      1|            "int64_t  packInt2x32(ivec2);"
 2076|      1|            "uint64_t packUint2x32(uvec2);"
 2077|      1|            "ivec2    unpackInt2x32(int64_t);"
 2078|      1|            "uvec2    unpackUint2x32(uint64_t);"
 2079|       |
 2080|      1|            "uint     packFloat2x16(f16vec2);"
 2081|      1|            "f16vec2  unpackFloat2x16(uint);"
 2082|       |
 2083|      1|            "int64_t doubleBitsToInt64(double);"
 2084|      1|            "i64vec2 doubleBitsToInt64(dvec2);"
 2085|      1|            "i64vec3 doubleBitsToInt64(dvec3);"
 2086|      1|            "i64vec4 doubleBitsToInt64(dvec4);"
 2087|       |
 2088|      1|            "uint64_t doubleBitsToUint64(double);"
 2089|      1|            "u64vec2  doubleBitsToUint64(dvec2);"
 2090|      1|            "u64vec3  doubleBitsToUint64(dvec3);"
 2091|      1|            "u64vec4  doubleBitsToUint64(dvec4);"
 2092|       |
 2093|      1|            "double int64BitsToDouble(int64_t);"
 2094|      1|            "dvec2  int64BitsToDouble(i64vec2);"
 2095|      1|            "dvec3  int64BitsToDouble(i64vec3);"
 2096|      1|            "dvec4  int64BitsToDouble(i64vec4);"
 2097|       |
 2098|      1|            "double uint64BitsToDouble(uint64_t);"
 2099|      1|            "dvec2  uint64BitsToDouble(u64vec2);"
 2100|      1|            "dvec3  uint64BitsToDouble(u64vec3);"
 2101|      1|            "dvec4  uint64BitsToDouble(u64vec4);"
 2102|       |            // Modifications to Vector Relational Functions
 2103|       |            // Introduction of explicitly sized types
 2104|      1|            "bvec2 lessThan(i64vec2, i64vec2);"
 2105|      1|            "bvec3 lessThan(i64vec3, i64vec3);"
 2106|      1|            "bvec4 lessThan(i64vec4, i64vec4);"
 2107|      1|            "bvec2 lessThan(u64vec2, u64vec2);"
 2108|      1|            "bvec3 lessThan(u64vec3, u64vec3);"
 2109|      1|            "bvec4 lessThan(u64vec4, u64vec4);"
 2110|       |
 2111|      1|            "bvec2 lessThanEqual(i64vec2, i64vec2);"
 2112|      1|            "bvec3 lessThanEqual(i64vec3, i64vec3);"
 2113|      1|            "bvec4 lessThanEqual(i64vec4, i64vec4);"
 2114|      1|            "bvec2 lessThanEqual(u64vec2, u64vec2);"
 2115|      1|            "bvec3 lessThanEqual(u64vec3, u64vec3);"
 2116|      1|            "bvec4 lessThanEqual(u64vec4, u64vec4);"
 2117|       |
 2118|      1|            "bvec2 greaterThan(i64vec2, i64vec2);"
 2119|      1|            "bvec3 greaterThan(i64vec3, i64vec3);"
 2120|      1|            "bvec4 greaterThan(i64vec4, i64vec4);"
 2121|      1|            "bvec2 greaterThan(u64vec2, u64vec2);"
 2122|      1|            "bvec3 greaterThan(u64vec3, u64vec3);"
 2123|      1|            "bvec4 greaterThan(u64vec4, u64vec4);"
 2124|       |
 2125|      1|            "bvec2 greaterThanEqual(i64vec2, i64vec2);"
 2126|      1|            "bvec3 greaterThanEqual(i64vec3, i64vec3);"
 2127|      1|            "bvec4 greaterThanEqual(i64vec4, i64vec4);"
 2128|      1|            "bvec2 greaterThanEqual(u64vec2, u64vec2);"
 2129|      1|            "bvec3 greaterThanEqual(u64vec3, u64vec3);"
 2130|      1|            "bvec4 greaterThanEqual(u64vec4, u64vec4);"
 2131|       |
 2132|      1|            "bvec2 equal(i64vec2, i64vec2);"
 2133|      1|            "bvec3 equal(i64vec3, i64vec3);"
 2134|      1|            "bvec4 equal(i64vec4, i64vec4);"
 2135|      1|            "bvec2 equal(u64vec2, u64vec2);"
 2136|      1|            "bvec3 equal(u64vec3, u64vec3);"
 2137|      1|            "bvec4 equal(u64vec4, u64vec4);"
 2138|       |
 2139|      1|            "bvec2 notEqual(i64vec2, i64vec2);"
 2140|      1|            "bvec3 notEqual(i64vec3, i64vec3);"
 2141|      1|            "bvec4 notEqual(i64vec4, i64vec4);"
 2142|      1|            "bvec2 notEqual(u64vec2, u64vec2);"
 2143|      1|            "bvec3 notEqual(u64vec3, u64vec3);"
 2144|      1|            "bvec4 notEqual(u64vec4, u64vec4);"
 2145|       |
 2146|      1|            "bvec2 lessThan(f16vec2, f16vec2);"
 2147|      1|            "bvec3 lessThan(f16vec3, f16vec3);"
 2148|      1|            "bvec4 lessThan(f16vec4, f16vec4);"
 2149|       |
 2150|      1|            "bvec2 lessThanEqual(f16vec2, f16vec2);"
 2151|      1|            "bvec3 lessThanEqual(f16vec3, f16vec3);"
 2152|      1|            "bvec4 lessThanEqual(f16vec4, f16vec4);"
 2153|       |
 2154|      1|            "bvec2 greaterThan(f16vec2, f16vec2);"
 2155|      1|            "bvec3 greaterThan(f16vec3, f16vec3);"
 2156|      1|            "bvec4 greaterThan(f16vec4, f16vec4);"
 2157|       |
 2158|      1|            "bvec2 greaterThanEqual(f16vec2, f16vec2);"
 2159|      1|            "bvec3 greaterThanEqual(f16vec3, f16vec3);"
 2160|      1|            "bvec4 greaterThanEqual(f16vec4, f16vec4);"
 2161|       |
 2162|      1|            "bvec2 equal(f16vec2, f16vec2);"
 2163|      1|            "bvec3 equal(f16vec3, f16vec3);"
 2164|      1|            "bvec4 equal(f16vec4, f16vec4);"
 2165|       |
 2166|      1|            "bvec2 notEqual(f16vec2, f16vec2);"
 2167|      1|            "bvec3 notEqual(f16vec3, f16vec3);"
 2168|      1|            "bvec4 notEqual(f16vec4, f16vec4);"
 2169|       |
 2170|       |            // Dependency on GL_ARB_gpu_shader_fp64
 2171|      1|            "bvec2 lessThan(dvec2, dvec2);"
 2172|      1|            "bvec3 lessThan(dvec3, dvec3);"
 2173|      1|            "bvec4 lessThan(dvec4, dvec4);"
 2174|       |
 2175|      1|            "bvec2 lessThanEqual(dvec2, dvec2);"
 2176|      1|            "bvec3 lessThanEqual(dvec3, dvec3);"
 2177|      1|            "bvec4 lessThanEqual(dvec4, dvec4);"
 2178|       |
 2179|      1|            "bvec2 greaterThan(dvec2, dvec2);"
 2180|      1|            "bvec3 greaterThan(dvec3, dvec3);"
 2181|      1|            "bvec4 greaterThan(dvec4, dvec4);"
 2182|       |
 2183|      1|            "bvec2 greaterThanEqual(dvec2, dvec2);"
 2184|      1|            "bvec3 greaterThanEqual(dvec3, dvec3);"
 2185|      1|            "bvec4 greaterThanEqual(dvec4, dvec4);"
 2186|       |
 2187|      1|            "bvec2 equal(dvec2, dvec2);"
 2188|      1|            "bvec3 equal(dvec3, dvec3);"
 2189|      1|            "bvec4 equal(dvec4, dvec4);"
 2190|       |
 2191|      1|            "bvec2 notEqual(dvec2, dvec2);"
 2192|      1|            "bvec3 notEqual(dvec3, dvec3);"
 2193|      1|            "bvec4 notEqual(dvec4, dvec4);"
 2194|       |
 2195|      1|            "\n");
 2196|      1|    }
 2197|       |
 2198|       |
 2199|    107|    if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (2199:9): [True: 29, False: 78]
  |  Branch (2199:34): [True: 28, False: 1]
  ------------------
 2200|     28|        commonBuiltins.append(
 2201|     28|            "bool anyThreadNV(bool);"
 2202|     28|            "bool allThreadsNV(bool);"
 2203|     28|            "bool allThreadsEqualNV(bool);"
 2204|       |
 2205|     28|            "\n");
 2206|     28|    }
 2207|       |
 2208|    107|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (2208:10): [True: 78, False: 29]
  |  Branch (2208:35): [True: 0, False: 78]
  ------------------
 2209|    107|        (profile != EEsProfile && version >= 150)) { // NV_gpu_shader5
  ------------------
  |  Branch (2209:10): [True: 29, False: 78]
  |  Branch (2209:35): [True: 28, False: 1]
  ------------------
 2210|     28|        commonBuiltins.append(
 2211|     28|            " uint uaddCarry(highp  uint, highp  uint, out lowp  uint carry);"
 2212|     28|            "uvec2 uaddCarry(highp uvec2, highp uvec2, out lowp uvec2 carry);"
 2213|     28|            "uvec3 uaddCarry(highp uvec3, highp uvec3, out lowp uvec3 carry);"
 2214|     28|            "uvec4 uaddCarry(highp uvec4, highp uvec4, out lowp uvec4 carry);"
 2215|       |
 2216|     28|            " uint usubBorrow(highp  uint, highp  uint, out lowp  uint borrow);"
 2217|     28|            "uvec2 usubBorrow(highp uvec2, highp uvec2, out lowp uvec2 borrow);"
 2218|     28|            "uvec3 usubBorrow(highp uvec3, highp uvec3, out lowp uvec3 borrow);"
 2219|     28|            "uvec4 usubBorrow(highp uvec4, highp uvec4, out lowp uvec4 borrow);"
 2220|       |
 2221|     28|            "void umulExtended(highp  uint, highp  uint, out highp  uint, out highp  uint lsb);"
 2222|     28|            "void umulExtended(highp uvec2, highp uvec2, out highp uvec2, out highp uvec2 lsb);"
 2223|     28|            "void umulExtended(highp uvec3, highp uvec3, out highp uvec3, out highp uvec3 lsb);"
 2224|     28|            "void umulExtended(highp uvec4, highp uvec4, out highp uvec4, out highp uvec4 lsb);"
 2225|       |
 2226|     28|            "void imulExtended(highp   int, highp   int, out highp   int, out highp   int lsb);"
 2227|     28|            "void imulExtended(highp ivec2, highp ivec2, out highp ivec2, out highp ivec2 lsb);"
 2228|     28|            "void imulExtended(highp ivec3, highp ivec3, out highp ivec3, out highp ivec3 lsb);"
 2229|     28|            "void imulExtended(highp ivec4, highp ivec4, out highp ivec4, out highp ivec4 lsb);"
 2230|       |
 2231|     28|            "  int bitfieldReverse(highp   int);"
 2232|     28|            "ivec2 bitfieldReverse(highp ivec2);"
 2233|     28|            "ivec3 bitfieldReverse(highp ivec3);"
 2234|     28|            "ivec4 bitfieldReverse(highp ivec4);"
 2235|       |
 2236|     28|            " uint bitfieldReverse(highp  uint);"
 2237|     28|            "uvec2 bitfieldReverse(highp uvec2);"
 2238|     28|            "uvec3 bitfieldReverse(highp uvec3);"
 2239|     28|            "uvec4 bitfieldReverse(highp uvec4);"
 2240|       |
 2241|     28|            "\n");
 2242|     28|    }
 2243|       |
 2244|    107|    if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (2244:9): [True: 78, False: 29]
  |  Branch (2244:34): [True: 0, False: 78]
  ------------------
 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|    107|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (2270:9): [True: 29, False: 78]
  |  Branch (2270:34): [True: 27, False: 2]
  ------------------
 2271|     27|        commonBuiltins.append(
 2272|     27|            "uint64_t ballotARB(bool);"
 2273|       |
 2274|     27|            "float readInvocationARB(float, uint);"
 2275|     27|            "vec2  readInvocationARB(vec2,  uint);"
 2276|     27|            "vec3  readInvocationARB(vec3,  uint);"
 2277|     27|            "vec4  readInvocationARB(vec4,  uint);"
 2278|       |
 2279|     27|            "int   readInvocationARB(int,   uint);"
 2280|     27|            "ivec2 readInvocationARB(ivec2, uint);"
 2281|     27|            "ivec3 readInvocationARB(ivec3, uint);"
 2282|     27|            "ivec4 readInvocationARB(ivec4, uint);"
 2283|       |
 2284|     27|            "uint  readInvocationARB(uint,  uint);"
 2285|     27|            "uvec2 readInvocationARB(uvec2, uint);"
 2286|     27|            "uvec3 readInvocationARB(uvec3, uint);"
 2287|     27|            "uvec4 readInvocationARB(uvec4, uint);"
 2288|       |
 2289|     27|            "float readFirstInvocationARB(float);"
 2290|     27|            "vec2  readFirstInvocationARB(vec2);"
 2291|     27|            "vec3  readFirstInvocationARB(vec3);"
 2292|     27|            "vec4  readFirstInvocationARB(vec4);"
 2293|       |
 2294|     27|            "int   readFirstInvocationARB(int);"
 2295|     27|            "ivec2 readFirstInvocationARB(ivec2);"
 2296|     27|            "ivec3 readFirstInvocationARB(ivec3);"
 2297|     27|            "ivec4 readFirstInvocationARB(ivec4);"
 2298|       |
 2299|     27|            "uint  readFirstInvocationARB(uint);"
 2300|     27|            "uvec2 readFirstInvocationARB(uvec2);"
 2301|     27|            "uvec3 readFirstInvocationARB(uvec3);"
 2302|     27|            "uvec4 readFirstInvocationARB(uvec4);"
 2303|       |
 2304|     27|            "\n");
 2305|     27|    }
 2306|       |
 2307|       |    // GL_ARB_shader_group_vote
 2308|    107|    if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (2308:9): [True: 29, False: 78]
  |  Branch (2308:34): [True: 27, False: 2]
  ------------------
 2309|     27|        commonBuiltins.append(
 2310|     27|            "bool anyInvocationARB(bool);"
 2311|     27|            "bool allInvocationsARB(bool);"
 2312|     27|            "bool allInvocationsEqualARB(bool);"
 2313|       |
 2314|     27|            "\n");
 2315|     27|    }
 2316|       |
 2317|       |    // GL_EXT_integer_dot_product
 2318|    107|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (2318:10): [True: 78, False: 29]
  |  Branch (2318:35): [True: 1, False: 77]
  ------------------
 2319|    106|        (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (2319:10): [True: 29, False: 77]
  |  Branch (2319:35): [True: 27, False: 2]
  ------------------
 2320|     28|        commonBuiltins.append(
 2321|       |
 2322|     28|            "uint dotEXT(uvec2 a, uvec2 b);"
 2323|     28|            "int dotEXT(ivec2 a, ivec2 b);"
 2324|     28|            "int dotEXT(ivec2 a, uvec2 b);"
 2325|     28|            "int dotEXT(uvec2 a, ivec2 b);"
 2326|       |
 2327|     28|            "uint dotEXT(uvec3 a, uvec3 b);"
 2328|     28|            "int dotEXT(ivec3 a, ivec3 b);"
 2329|     28|            "int dotEXT(ivec3 a, uvec3 b);"
 2330|     28|            "int dotEXT(uvec3 a, ivec3 b);"
 2331|       |
 2332|     28|            "uint dotEXT(uvec4 a, uvec4 b);"
 2333|     28|            "int dotEXT(ivec4 a, ivec4 b);"
 2334|     28|            "int dotEXT(ivec4 a, uvec4 b);"
 2335|     28|            "int dotEXT(uvec4 a, ivec4 b);"
 2336|       |
 2337|     28|            "uint dotPacked4x8EXT(uint a, uint b);"
 2338|     28|            "int dotPacked4x8EXT(int a, uint b);"
 2339|     28|            "int dotPacked4x8EXT(uint a, int b);"
 2340|     28|            "int dotPacked4x8EXT(int a, int b);"
 2341|       |
 2342|     28|            "uint dotEXT(u8vec2 a, u8vec2 b);"
 2343|     28|            "int dotEXT(i8vec2 a, u8vec2 b);"
 2344|     28|            "int dotEXT(u8vec2 a, i8vec2 b);"
 2345|     28|            "int dotEXT(i8vec2 a, i8vec2 b);"
 2346|       |
 2347|     28|            "uint dotEXT(u8vec3 a, u8vec3 b);"
 2348|     28|            "int dotEXT(i8vec3 a, u8vec3 b);"
 2349|     28|            "int dotEXT(u8vec3 a, i8vec3 b);"
 2350|     28|            "int dotEXT(i8vec3 a, i8vec3 b);"
 2351|       |
 2352|     28|            "uint dotEXT(u8vec4 a, u8vec4 b);"
 2353|     28|            "int dotEXT(i8vec4 a, u8vec4 b);"
 2354|     28|            "int dotEXT(u8vec4 a, i8vec4 b);"
 2355|     28|            "int dotEXT(i8vec4 a, i8vec4 b);"
 2356|       |
 2357|     28|            "uint dotEXT(u16vec2 a, u16vec2 b);"
 2358|     28|            "int dotEXT(i16vec2 a, u16vec2 b);"
 2359|     28|            "int dotEXT(u16vec2 a, i16vec2 b);"
 2360|     28|            "int dotEXT(i16vec2 a, i16vec2 b);"
 2361|       |
 2362|     28|            "uint dotEXT(u16vec3 a, u16vec3 b);"
 2363|     28|            "int dotEXT(i16vec3 a, u16vec3 b);"
 2364|     28|            "int dotEXT(u16vec3 a, i16vec3 b);"
 2365|     28|            "int dotEXT(i16vec3 a, i16vec3 b);"
 2366|       |
 2367|     28|            "uint dotEXT(u16vec4 a, u16vec4 b);"
 2368|     28|            "int dotEXT(i16vec4 a, u16vec4 b);"
 2369|     28|            "int dotEXT(u16vec4 a, i16vec4 b);"
 2370|     28|            "int dotEXT(i16vec4 a, i16vec4 b);"
 2371|       |
 2372|     28|            "uint64_t dotEXT(u64vec2 a, u64vec2 b);"
 2373|     28|            "int64_t dotEXT(i64vec2 a, u64vec2 b);"
 2374|     28|            "int64_t dotEXT(u64vec2 a, i64vec2 b);"
 2375|     28|            "int64_t dotEXT(i64vec2 a, i64vec2 b);"
 2376|       |
 2377|     28|            "uint64_t dotEXT(u64vec3 a, u64vec3 b);"
 2378|     28|            "int64_t dotEXT(i64vec3 a, u64vec3 b);"
 2379|     28|            "int64_t dotEXT(u64vec3 a, i64vec3 b);"
 2380|     28|            "int64_t dotEXT(i64vec3 a, i64vec3 b);"
 2381|       |
 2382|     28|            "uint64_t dotEXT(u64vec4 a, u64vec4 b);"
 2383|     28|            "int64_t dotEXT(i64vec4 a, u64vec4 b);"
 2384|     28|            "int64_t dotEXT(u64vec4 a, i64vec4 b);"
 2385|     28|            "int64_t dotEXT(i64vec4 a, i64vec4 b);"
 2386|       |
 2387|     28|            "uint dotAccSatEXT(uvec2 a, uvec2 b, uint c);"
 2388|     28|            "int dotAccSatEXT(ivec2 a, uvec2 b, int c);"
 2389|     28|            "int dotAccSatEXT(uvec2 a, ivec2 b, int c);"
 2390|     28|            "int dotAccSatEXT(ivec2 a, ivec2 b, int c);"
 2391|       |
 2392|     28|            "uint dotAccSatEXT(uvec3 a, uvec3 b, uint c);"
 2393|     28|            "int dotAccSatEXT(ivec3 a, uvec3 b, int c);"
 2394|     28|            "int dotAccSatEXT(uvec3 a, ivec3 b, int c);"
 2395|     28|            "int dotAccSatEXT(ivec3 a, ivec3 b, int c);"
 2396|       |
 2397|     28|            "uint dotAccSatEXT(uvec4 a, uvec4 b, uint c);"
 2398|     28|            "int dotAccSatEXT(ivec4 a, uvec4 b, int c);"
 2399|     28|            "int dotAccSatEXT(uvec4 a, ivec4 b, int c);"
 2400|     28|            "int dotAccSatEXT(ivec4 a, ivec4 b, int c);"
 2401|       |
 2402|     28|            "uint dotPacked4x8AccSatEXT(uint a, uint b, uint c);"
 2403|     28|            "int dotPacked4x8AccSatEXT(int a, uint b, int c);"
 2404|     28|            "int dotPacked4x8AccSatEXT(uint a, int b, int c);"
 2405|     28|            "int dotPacked4x8AccSatEXT(int a, int b, int c);"
 2406|       |
 2407|     28|            "uint dotAccSatEXT(u8vec2 a, u8vec2 b, uint c);"
 2408|     28|            "int dotAccSatEXT(i8vec2 a, u8vec2 b, int c);"
 2409|     28|            "int dotAccSatEXT(u8vec2 a, i8vec2 b, int c);"
 2410|     28|            "int dotAccSatEXT(i8vec2 a, i8vec2 b, int c);"
 2411|       |
 2412|     28|            "uint dotAccSatEXT(u8vec3 a, u8vec3 b, uint c);"
 2413|     28|            "int dotAccSatEXT(i8vec3 a, u8vec3 b, int c);"
 2414|     28|            "int dotAccSatEXT(u8vec3 a, i8vec3 b, int c);"
 2415|     28|            "int dotAccSatEXT(i8vec3 a, i8vec3 b, int c);"
 2416|       |
 2417|     28|            "uint dotAccSatEXT(u8vec4 a, u8vec4 b, uint c);"
 2418|     28|            "int dotAccSatEXT(i8vec4 a, u8vec4 b, int c);"
 2419|     28|            "int dotAccSatEXT(u8vec4 a, i8vec4 b, int c);"
 2420|     28|            "int dotAccSatEXT(i8vec4 a, i8vec4 b, int c);"
 2421|       |
 2422|     28|            "uint dotAccSatEXT(u16vec2 a, u16vec2 b, uint c);"
 2423|     28|            "int dotAccSatEXT(i16vec2 a, u16vec2 b, int c);"
 2424|     28|            "int dotAccSatEXT(u16vec2 a, i16vec2 b, int c);"
 2425|     28|            "int dotAccSatEXT(i16vec2 a, i16vec2 b, int c);"
 2426|       |
 2427|     28|            "uint dotAccSatEXT(u16vec3 a, u16vec3 b, uint c);"
 2428|     28|            "int dotAccSatEXT(i16vec3 a, u16vec3 b, int c);"
 2429|     28|            "int dotAccSatEXT(u16vec3 a, i16vec3 b, int c);"
 2430|     28|            "int dotAccSatEXT(i16vec3 a, i16vec3 b, int c);"
 2431|       |
 2432|     28|            "uint dotAccSatEXT(u16vec4 a, u16vec4 b, uint c);"
 2433|     28|            "int dotAccSatEXT(i16vec4 a, u16vec4 b, int c);"
 2434|     28|            "int dotAccSatEXT(u16vec4 a, i16vec4 b, int c);"
 2435|     28|            "int dotAccSatEXT(i16vec4 a, i16vec4 b, int c);"
 2436|       |
 2437|     28|            "uint64_t dotAccSatEXT(u64vec2 a, u64vec2 b, uint64_t c);"
 2438|     28|            "int64_t dotAccSatEXT(i64vec2 a, u64vec2 b, int64_t c);"
 2439|     28|            "int64_t dotAccSatEXT(u64vec2 a, i64vec2 b, int64_t c);"
 2440|     28|            "int64_t dotAccSatEXT(i64vec2 a, i64vec2 b, int64_t c);"
 2441|       |
 2442|     28|            "uint64_t dotAccSatEXT(u64vec3 a, u64vec3 b, uint64_t c);"
 2443|     28|            "int64_t dotAccSatEXT(i64vec3 a, u64vec3 b, int64_t c);"
 2444|     28|            "int64_t dotAccSatEXT(u64vec3 a, i64vec3 b, int64_t c);"
 2445|     28|            "int64_t dotAccSatEXT(i64vec3 a, i64vec3 b, int64_t c);"
 2446|       |
 2447|     28|            "uint64_t dotAccSatEXT(u64vec4 a, u64vec4 b, uint64_t c);"
 2448|     28|            "int64_t dotAccSatEXT(i64vec4 a, u64vec4 b, int64_t c);"
 2449|     28|            "int64_t dotAccSatEXT(u64vec4 a, i64vec4 b, int64_t c);"
 2450|     28|            "int64_t dotAccSatEXT(i64vec4 a, i64vec4 b, int64_t c);"
 2451|     28|            "\n");
 2452|     28|    }
 2453|       |
 2454|       |    // GL_KHR_shader_subgroup
 2455|    107|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (2455:10): [True: 78, False: 29]
  |  Branch (2455:35): [True: 0, False: 78]
  ------------------
 2456|    107|        (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (2456:10): [True: 29, False: 78]
  |  Branch (2456:35): [True: 28, False: 1]
  ------------------
 2457|     28|        commonBuiltins.append(
 2458|     28|            "void subgroupBarrier();"
 2459|     28|            "void subgroupMemoryBarrier();"
 2460|     28|            "void subgroupMemoryBarrierBuffer();"
 2461|     28|            "void subgroupMemoryBarrierImage();"
 2462|     28|            "bool subgroupElect();"
 2463|       |
 2464|     28|            "bool   subgroupAll(bool);\n"
 2465|     28|            "bool   subgroupAny(bool);\n"
 2466|     28|            "uvec4  subgroupBallot(bool);\n"
 2467|     28|            "bool   subgroupInverseBallot(uvec4);\n"
 2468|     28|            "bool   subgroupBallotBitExtract(uvec4, uint);\n"
 2469|     28|            "uint   subgroupBallotBitCount(uvec4);\n"
 2470|     28|            "uint   subgroupBallotInclusiveBitCount(uvec4);\n"
 2471|     28|            "uint   subgroupBallotExclusiveBitCount(uvec4);\n"
 2472|     28|            "uint   subgroupBallotFindLSB(uvec4);\n"
 2473|     28|            "uint   subgroupBallotFindMSB(uvec4);\n"
 2474|     28|            );
 2475|       |
 2476|       |        // Generate all flavors of subgroup ops.
 2477|     28|        static const char *subgroupOps[] = 
 2478|     28|        {
 2479|     28|            "bool   subgroupAllEqual(%s);\n",
 2480|     28|            "%s     subgroupBroadcast(%s, uint);\n",
 2481|     28|            "%s     subgroupBroadcastFirst(%s);\n",
 2482|     28|            "%s     subgroupShuffle(%s, uint);\n",
 2483|     28|            "%s     subgroupShuffleXor(%s, uint);\n",
 2484|     28|            "%s     subgroupShuffleUp(%s, uint delta);\n",
 2485|     28|            "%s     subgroupShuffleDown(%s, uint delta);\n",
 2486|     28|            "%s     subgroupRotate(%s, uint);\n",
 2487|     28|            "%s     subgroupClusteredRotate(%s, uint, uint);\n",
 2488|     28|            "%s     subgroupAdd(%s);\n",
 2489|     28|            "%s     subgroupMul(%s);\n",
 2490|     28|            "%s     subgroupMin(%s);\n",
 2491|     28|            "%s     subgroupMax(%s);\n",
 2492|     28|            "%s     subgroupAnd(%s);\n",
 2493|     28|            "%s     subgroupOr(%s);\n",
 2494|     28|            "%s     subgroupXor(%s);\n",
 2495|     28|            "%s     subgroupInclusiveAdd(%s);\n",
 2496|     28|            "%s     subgroupInclusiveMul(%s);\n",
 2497|     28|            "%s     subgroupInclusiveMin(%s);\n",
 2498|     28|            "%s     subgroupInclusiveMax(%s);\n",
 2499|     28|            "%s     subgroupInclusiveAnd(%s);\n",
 2500|     28|            "%s     subgroupInclusiveOr(%s);\n",
 2501|     28|            "%s     subgroupInclusiveXor(%s);\n",
 2502|     28|            "%s     subgroupExclusiveAdd(%s);\n",
 2503|     28|            "%s     subgroupExclusiveMul(%s);\n",
 2504|     28|            "%s     subgroupExclusiveMin(%s);\n",
 2505|     28|            "%s     subgroupExclusiveMax(%s);\n",
 2506|     28|            "%s     subgroupExclusiveAnd(%s);\n",
 2507|     28|            "%s     subgroupExclusiveOr(%s);\n",
 2508|     28|            "%s     subgroupExclusiveXor(%s);\n",
 2509|     28|            "%s     subgroupClusteredAdd(%s, uint);\n",
 2510|     28|            "%s     subgroupClusteredMul(%s, uint);\n",
 2511|     28|            "%s     subgroupClusteredMin(%s, uint);\n",
 2512|     28|            "%s     subgroupClusteredMax(%s, uint);\n",
 2513|     28|            "%s     subgroupClusteredAnd(%s, uint);\n",
 2514|     28|            "%s     subgroupClusteredOr(%s, uint);\n",
 2515|     28|            "%s     subgroupClusteredXor(%s, uint);\n",
 2516|     28|            "%s     subgroupQuadBroadcast(%s, uint);\n",
 2517|     28|            "%s     subgroupQuadSwapHorizontal(%s);\n",
 2518|     28|            "%s     subgroupQuadSwapVertical(%s);\n",
 2519|     28|            "%s     subgroupQuadSwapDiagonal(%s);\n",
 2520|     28|            "uvec4  subgroupPartitionNV(%s);\n",
 2521|     28|            "%s     subgroupPartitionedAddNV(%s, uvec4 ballot);\n",
 2522|     28|            "%s     subgroupPartitionedMulNV(%s, uvec4 ballot);\n",
 2523|     28|            "%s     subgroupPartitionedMinNV(%s, uvec4 ballot);\n",
 2524|     28|            "%s     subgroupPartitionedMaxNV(%s, uvec4 ballot);\n",
 2525|     28|            "%s     subgroupPartitionedAndNV(%s, uvec4 ballot);\n",
 2526|     28|            "%s     subgroupPartitionedOrNV(%s, uvec4 ballot);\n",
 2527|     28|            "%s     subgroupPartitionedXorNV(%s, uvec4 ballot);\n",
 2528|     28|            "%s     subgroupPartitionedInclusiveAddNV(%s, uvec4 ballot);\n",
 2529|     28|            "%s     subgroupPartitionedInclusiveMulNV(%s, uvec4 ballot);\n",
 2530|     28|            "%s     subgroupPartitionedInclusiveMinNV(%s, uvec4 ballot);\n",
 2531|     28|            "%s     subgroupPartitionedInclusiveMaxNV(%s, uvec4 ballot);\n",
 2532|     28|            "%s     subgroupPartitionedInclusiveAndNV(%s, uvec4 ballot);\n",
 2533|     28|            "%s     subgroupPartitionedInclusiveOrNV(%s, uvec4 ballot);\n",
 2534|     28|            "%s     subgroupPartitionedInclusiveXorNV(%s, uvec4 ballot);\n",
 2535|     28|            "%s     subgroupPartitionedExclusiveAddNV(%s, uvec4 ballot);\n",
 2536|     28|            "%s     subgroupPartitionedExclusiveMulNV(%s, uvec4 ballot);\n",
 2537|     28|            "%s     subgroupPartitionedExclusiveMinNV(%s, uvec4 ballot);\n",
 2538|     28|            "%s     subgroupPartitionedExclusiveMaxNV(%s, uvec4 ballot);\n",
 2539|     28|            "%s     subgroupPartitionedExclusiveAndNV(%s, uvec4 ballot);\n",
 2540|     28|            "%s     subgroupPartitionedExclusiveOrNV(%s, uvec4 ballot);\n",
 2541|     28|            "%s     subgroupPartitionedExclusiveXorNV(%s, uvec4 ballot);\n",
 2542|     28|        };
 2543|       |
 2544|     28|        static const char *floatTypes[] = { 
 2545|     28|            "float", "vec2", "vec3", "vec4", 
 2546|     28|            "float16_t", "f16vec2", "f16vec3", "f16vec4", 
 2547|     28|        };
 2548|     28|        static const char *doubleTypes[] = { 
 2549|     28|            "double", "dvec2", "dvec3", "dvec4", 
 2550|     28|        };
 2551|     28|        static const char *intTypes[] = { 
 2552|     28|            "int8_t", "i8vec2", "i8vec3", "i8vec4", 
 2553|     28|            "int16_t", "i16vec2", "i16vec3", "i16vec4", 
 2554|     28|            "int", "ivec2", "ivec3", "ivec4", 
 2555|     28|            "int64_t", "i64vec2", "i64vec3", "i64vec4", 
 2556|     28|            "uint8_t", "u8vec2", "u8vec3", "u8vec4", 
 2557|     28|            "uint16_t", "u16vec2", "u16vec3", "u16vec4", 
 2558|     28|            "uint", "uvec2", "uvec3", "uvec4", 
 2559|     28|            "uint64_t", "u64vec2", "u64vec3", "u64vec4", 
 2560|     28|        };
 2561|     28|        static const char *boolTypes[] = { 
 2562|     28|            "bool", "bvec2", "bvec3", "bvec4", 
 2563|     28|        };
 2564|       |
 2565|  1.79k|        for (size_t i = 0; i < sizeof(subgroupOps)/sizeof(subgroupOps[0]); ++i) {
  ------------------
  |  Branch (2565:28): [True: 1.76k, False: 28]
  ------------------
 2566|  1.76k|            const char *op = subgroupOps[i];
 2567|       |
 2568|       |            // Logical operations don't support float
 2569|  1.76k|            bool logicalOp = strstr(op, "Or") || strstr(op, "And") ||
  ------------------
  |  Branch (2569:30): [True: 196, False: 1.56k]
  |  Branch (2569:50): [True: 196, False: 1.37k]
  ------------------
 2570|  1.37k|                             (strstr(op, "Xor") && !strstr(op, "ShuffleXor"));
  ------------------
  |  Branch (2570:31): [True: 224, False: 1.14k]
  |  Branch (2570:52): [True: 196, False: 28]
  ------------------
 2571|       |            // Math operations don't support bool
 2572|  1.76k|            bool mathOp = strstr(op, "Add") || strstr(op, "Mul") || strstr(op, "Min") || strstr(op, "Max");
  ------------------
  |  Branch (2572:27): [True: 196, False: 1.56k]
  |  Branch (2572:48): [True: 196, False: 1.37k]
  |  Branch (2572:69): [True: 196, False: 1.17k]
  |  Branch (2572:90): [True: 196, False: 980]
  ------------------
 2573|       |
 2574|  1.76k|            const int bufSize = 256;
 2575|  1.76k|            char buf[bufSize];
 2576|       |
 2577|  1.76k|            if (!logicalOp) {
  ------------------
  |  Branch (2577:17): [True: 1.17k, False: 588]
  ------------------
 2578|  10.5k|                for (size_t j = 0; j < sizeof(floatTypes)/sizeof(floatTypes[0]); ++j) {
  ------------------
  |  Branch (2578:36): [True: 9.40k, False: 1.17k]
  ------------------
 2579|  9.40k|                    snprintf(buf, bufSize, op, floatTypes[j], floatTypes[j]);
 2580|  9.40k|                    commonBuiltins.append(buf);
 2581|  9.40k|                }
 2582|  1.17k|                if (profile != EEsProfile && version >= 400) {
  ------------------
  |  Branch (2582:21): [True: 1.17k, False: 0]
  |  Branch (2582:46): [True: 1.13k, False: 42]
  ------------------
 2583|  5.67k|                    for (size_t j = 0; j < sizeof(doubleTypes)/sizeof(doubleTypes[0]); ++j) {
  ------------------
  |  Branch (2583:40): [True: 4.53k, False: 1.13k]
  ------------------
 2584|  4.53k|                        snprintf(buf, bufSize, op, doubleTypes[j], doubleTypes[j]);
 2585|  4.53k|                        commonBuiltins.append(buf);
 2586|  4.53k|                    }
 2587|  1.13k|                }
 2588|  1.17k|            }
 2589|  1.76k|            if (!mathOp) {
  ------------------
  |  Branch (2589:17): [True: 980, False: 784]
  ------------------
 2590|  4.90k|                for (size_t j = 0; j < sizeof(boolTypes)/sizeof(boolTypes[0]); ++j) {
  ------------------
  |  Branch (2590:36): [True: 3.92k, False: 980]
  ------------------
 2591|  3.92k|                    snprintf(buf, bufSize, op, boolTypes[j], boolTypes[j]);
 2592|  3.92k|                    commonBuiltins.append(buf);
 2593|  3.92k|                }
 2594|    980|            }
 2595|  58.2k|            for (size_t j = 0; j < sizeof(intTypes)/sizeof(intTypes[0]); ++j) {
  ------------------
  |  Branch (2595:32): [True: 56.4k, False: 1.76k]
  ------------------
 2596|  56.4k|                snprintf(buf, bufSize, op, intTypes[j], intTypes[j]);
 2597|  56.4k|                commonBuiltins.append(buf);
 2598|  56.4k|            }
 2599|  1.76k|            snprintf(buf, bufSize, op, "vector", "vector");
 2600|  1.76k|            commonBuiltins.append(buf);
 2601|  1.76k|        }
 2602|       |
 2603|     28|        stageBuiltins[EShLangCompute].append(
 2604|     28|            "void subgroupMemoryBarrierShared();"
 2605|       |
 2606|     28|            "\n"
 2607|     28|            );
 2608|     28|        stageBuiltins[EShLangMesh].append(
 2609|     28|            "void subgroupMemoryBarrierShared();"
 2610|     28|            "\n"
 2611|     28|            );
 2612|     28|        stageBuiltins[EShLangTask].append(
 2613|     28|            "void subgroupMemoryBarrierShared();"
 2614|     28|            "\n"
 2615|     28|            );
 2616|     28|    }
 2617|       |
 2618|       |    // GL_EXT_shader_quad_control
 2619|    107|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (2619:10): [True: 78, False: 29]
  |  Branch (2619:35): [True: 0, False: 78]
  ------------------
 2620|    107|        (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (2620:10): [True: 29, False: 78]
  |  Branch (2620:35): [True: 28, False: 1]
  ------------------
 2621|     28|        commonBuiltins.append(
 2622|     28|            "bool subgroupQuadAll(bool);\n"
 2623|     28|            "bool subgroupQuadAny(bool);\n"
 2624|     28|            );
 2625|     28|    }
 2626|       |
 2627|    107|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (2627:9): [True: 29, False: 78]
  |  Branch (2627:34): [True: 0, False: 29]
  ------------------
 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|    107|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (2637:9): [True: 29, False: 78]
  |  Branch (2637:34): [True: 27, False: 2]
  ------------------
 2638|     27|        commonBuiltins.append(
 2639|     27|            "float minInvocationsAMD(float);"
 2640|     27|            "vec2  minInvocationsAMD(vec2);"
 2641|     27|            "vec3  minInvocationsAMD(vec3);"
 2642|     27|            "vec4  minInvocationsAMD(vec4);"
 2643|       |
 2644|     27|            "int   minInvocationsAMD(int);"
 2645|     27|            "ivec2 minInvocationsAMD(ivec2);"
 2646|     27|            "ivec3 minInvocationsAMD(ivec3);"
 2647|     27|            "ivec4 minInvocationsAMD(ivec4);"
 2648|       |
 2649|     27|            "uint  minInvocationsAMD(uint);"
 2650|     27|            "uvec2 minInvocationsAMD(uvec2);"
 2651|     27|            "uvec3 minInvocationsAMD(uvec3);"
 2652|     27|            "uvec4 minInvocationsAMD(uvec4);"
 2653|       |
 2654|     27|            "double minInvocationsAMD(double);"
 2655|     27|            "dvec2  minInvocationsAMD(dvec2);"
 2656|     27|            "dvec3  minInvocationsAMD(dvec3);"
 2657|     27|            "dvec4  minInvocationsAMD(dvec4);"
 2658|       |
 2659|     27|            "int64_t minInvocationsAMD(int64_t);"
 2660|     27|            "i64vec2 minInvocationsAMD(i64vec2);"
 2661|     27|            "i64vec3 minInvocationsAMD(i64vec3);"
 2662|     27|            "i64vec4 minInvocationsAMD(i64vec4);"
 2663|       |
 2664|     27|            "uint64_t minInvocationsAMD(uint64_t);"
 2665|     27|            "u64vec2  minInvocationsAMD(u64vec2);"
 2666|     27|            "u64vec3  minInvocationsAMD(u64vec3);"
 2667|     27|            "u64vec4  minInvocationsAMD(u64vec4);"
 2668|       |
 2669|     27|            "float16_t minInvocationsAMD(float16_t);"
 2670|     27|            "f16vec2   minInvocationsAMD(f16vec2);"
 2671|     27|            "f16vec3   minInvocationsAMD(f16vec3);"
 2672|     27|            "f16vec4   minInvocationsAMD(f16vec4);"
 2673|       |
 2674|     27|            "int16_t minInvocationsAMD(int16_t);"
 2675|     27|            "i16vec2 minInvocationsAMD(i16vec2);"
 2676|     27|            "i16vec3 minInvocationsAMD(i16vec3);"
 2677|     27|            "i16vec4 minInvocationsAMD(i16vec4);"
 2678|       |
 2679|     27|            "uint16_t minInvocationsAMD(uint16_t);"
 2680|     27|            "u16vec2  minInvocationsAMD(u16vec2);"
 2681|     27|            "u16vec3  minInvocationsAMD(u16vec3);"
 2682|     27|            "u16vec4  minInvocationsAMD(u16vec4);"
 2683|       |
 2684|     27|            "float minInvocationsInclusiveScanAMD(float);"
 2685|     27|            "vec2  minInvocationsInclusiveScanAMD(vec2);"
 2686|     27|            "vec3  minInvocationsInclusiveScanAMD(vec3);"
 2687|     27|            "vec4  minInvocationsInclusiveScanAMD(vec4);"
 2688|       |
 2689|     27|            "int   minInvocationsInclusiveScanAMD(int);"
 2690|     27|            "ivec2 minInvocationsInclusiveScanAMD(ivec2);"
 2691|     27|            "ivec3 minInvocationsInclusiveScanAMD(ivec3);"
 2692|     27|            "ivec4 minInvocationsInclusiveScanAMD(ivec4);"
 2693|       |
 2694|     27|            "uint  minInvocationsInclusiveScanAMD(uint);"
 2695|     27|            "uvec2 minInvocationsInclusiveScanAMD(uvec2);"
 2696|     27|            "uvec3 minInvocationsInclusiveScanAMD(uvec3);"
 2697|     27|            "uvec4 minInvocationsInclusiveScanAMD(uvec4);"
 2698|       |
 2699|     27|            "double minInvocationsInclusiveScanAMD(double);"
 2700|     27|            "dvec2  minInvocationsInclusiveScanAMD(dvec2);"
 2701|     27|            "dvec3  minInvocationsInclusiveScanAMD(dvec3);"
 2702|     27|            "dvec4  minInvocationsInclusiveScanAMD(dvec4);"
 2703|       |
 2704|     27|            "int64_t minInvocationsInclusiveScanAMD(int64_t);"
 2705|     27|            "i64vec2 minInvocationsInclusiveScanAMD(i64vec2);"
 2706|     27|            "i64vec3 minInvocationsInclusiveScanAMD(i64vec3);"
 2707|     27|            "i64vec4 minInvocationsInclusiveScanAMD(i64vec4);"
 2708|       |
 2709|     27|            "uint64_t minInvocationsInclusiveScanAMD(uint64_t);"
 2710|     27|            "u64vec2  minInvocationsInclusiveScanAMD(u64vec2);"
 2711|     27|            "u64vec3  minInvocationsInclusiveScanAMD(u64vec3);"
 2712|     27|            "u64vec4  minInvocationsInclusiveScanAMD(u64vec4);"
 2713|       |
 2714|     27|            "float16_t minInvocationsInclusiveScanAMD(float16_t);"
 2715|     27|            "f16vec2   minInvocationsInclusiveScanAMD(f16vec2);"
 2716|     27|            "f16vec3   minInvocationsInclusiveScanAMD(f16vec3);"
 2717|     27|            "f16vec4   minInvocationsInclusiveScanAMD(f16vec4);"
 2718|       |
 2719|     27|            "int16_t minInvocationsInclusiveScanAMD(int16_t);"
 2720|     27|            "i16vec2 minInvocationsInclusiveScanAMD(i16vec2);"
 2721|     27|            "i16vec3 minInvocationsInclusiveScanAMD(i16vec3);"
 2722|     27|            "i16vec4 minInvocationsInclusiveScanAMD(i16vec4);"
 2723|       |
 2724|     27|            "uint16_t minInvocationsInclusiveScanAMD(uint16_t);"
 2725|     27|            "u16vec2  minInvocationsInclusiveScanAMD(u16vec2);"
 2726|     27|            "u16vec3  minInvocationsInclusiveScanAMD(u16vec3);"
 2727|     27|            "u16vec4  minInvocationsInclusiveScanAMD(u16vec4);"
 2728|       |
 2729|     27|            "float minInvocationsExclusiveScanAMD(float);"
 2730|     27|            "vec2  minInvocationsExclusiveScanAMD(vec2);"
 2731|     27|            "vec3  minInvocationsExclusiveScanAMD(vec3);"
 2732|     27|            "vec4  minInvocationsExclusiveScanAMD(vec4);"
 2733|       |
 2734|     27|            "int   minInvocationsExclusiveScanAMD(int);"
 2735|     27|            "ivec2 minInvocationsExclusiveScanAMD(ivec2);"
 2736|     27|            "ivec3 minInvocationsExclusiveScanAMD(ivec3);"
 2737|     27|            "ivec4 minInvocationsExclusiveScanAMD(ivec4);"
 2738|       |
 2739|     27|            "uint  minInvocationsExclusiveScanAMD(uint);"
 2740|     27|            "uvec2 minInvocationsExclusiveScanAMD(uvec2);"
 2741|     27|            "uvec3 minInvocationsExclusiveScanAMD(uvec3);"
 2742|     27|            "uvec4 minInvocationsExclusiveScanAMD(uvec4);"
 2743|       |
 2744|     27|            "double minInvocationsExclusiveScanAMD(double);"
 2745|     27|            "dvec2  minInvocationsExclusiveScanAMD(dvec2);"
 2746|     27|            "dvec3  minInvocationsExclusiveScanAMD(dvec3);"
 2747|     27|            "dvec4  minInvocationsExclusiveScanAMD(dvec4);"
 2748|       |
 2749|     27|            "int64_t minInvocationsExclusiveScanAMD(int64_t);"
 2750|     27|            "i64vec2 minInvocationsExclusiveScanAMD(i64vec2);"
 2751|     27|            "i64vec3 minInvocationsExclusiveScanAMD(i64vec3);"
 2752|     27|            "i64vec4 minInvocationsExclusiveScanAMD(i64vec4);"
 2753|       |
 2754|     27|            "uint64_t minInvocationsExclusiveScanAMD(uint64_t);"
 2755|     27|            "u64vec2  minInvocationsExclusiveScanAMD(u64vec2);"
 2756|     27|            "u64vec3  minInvocationsExclusiveScanAMD(u64vec3);"
 2757|     27|            "u64vec4  minInvocationsExclusiveScanAMD(u64vec4);"
 2758|       |
 2759|     27|            "float16_t minInvocationsExclusiveScanAMD(float16_t);"
 2760|     27|            "f16vec2   minInvocationsExclusiveScanAMD(f16vec2);"
 2761|     27|            "f16vec3   minInvocationsExclusiveScanAMD(f16vec3);"
 2762|     27|            "f16vec4   minInvocationsExclusiveScanAMD(f16vec4);"
 2763|       |
 2764|     27|            "int16_t minInvocationsExclusiveScanAMD(int16_t);"
 2765|     27|            "i16vec2 minInvocationsExclusiveScanAMD(i16vec2);"
 2766|     27|            "i16vec3 minInvocationsExclusiveScanAMD(i16vec3);"
 2767|     27|            "i16vec4 minInvocationsExclusiveScanAMD(i16vec4);"
 2768|       |
 2769|     27|            "uint16_t minInvocationsExclusiveScanAMD(uint16_t);"
 2770|     27|            "u16vec2  minInvocationsExclusiveScanAMD(u16vec2);"
 2771|     27|            "u16vec3  minInvocationsExclusiveScanAMD(u16vec3);"
 2772|     27|            "u16vec4  minInvocationsExclusiveScanAMD(u16vec4);"
 2773|       |
 2774|     27|            "float maxInvocationsAMD(float);"
 2775|     27|            "vec2  maxInvocationsAMD(vec2);"
 2776|     27|            "vec3  maxInvocationsAMD(vec3);"
 2777|     27|            "vec4  maxInvocationsAMD(vec4);"
 2778|       |
 2779|     27|            "int   maxInvocationsAMD(int);"
 2780|     27|            "ivec2 maxInvocationsAMD(ivec2);"
 2781|     27|            "ivec3 maxInvocationsAMD(ivec3);"
 2782|     27|            "ivec4 maxInvocationsAMD(ivec4);"
 2783|       |
 2784|     27|            "uint  maxInvocationsAMD(uint);"
 2785|     27|            "uvec2 maxInvocationsAMD(uvec2);"
 2786|     27|            "uvec3 maxInvocationsAMD(uvec3);"
 2787|     27|            "uvec4 maxInvocationsAMD(uvec4);"
 2788|       |
 2789|     27|            "double maxInvocationsAMD(double);"
 2790|     27|            "dvec2  maxInvocationsAMD(dvec2);"
 2791|     27|            "dvec3  maxInvocationsAMD(dvec3);"
 2792|     27|            "dvec4  maxInvocationsAMD(dvec4);"
 2793|       |
 2794|     27|            "int64_t maxInvocationsAMD(int64_t);"
 2795|     27|            "i64vec2 maxInvocationsAMD(i64vec2);"
 2796|     27|            "i64vec3 maxInvocationsAMD(i64vec3);"
 2797|     27|            "i64vec4 maxInvocationsAMD(i64vec4);"
 2798|       |
 2799|     27|            "uint64_t maxInvocationsAMD(uint64_t);"
 2800|     27|            "u64vec2  maxInvocationsAMD(u64vec2);"
 2801|     27|            "u64vec3  maxInvocationsAMD(u64vec3);"
 2802|     27|            "u64vec4  maxInvocationsAMD(u64vec4);"
 2803|       |
 2804|     27|            "float16_t maxInvocationsAMD(float16_t);"
 2805|     27|            "f16vec2   maxInvocationsAMD(f16vec2);"
 2806|     27|            "f16vec3   maxInvocationsAMD(f16vec3);"
 2807|     27|            "f16vec4   maxInvocationsAMD(f16vec4);"
 2808|       |
 2809|     27|            "int16_t maxInvocationsAMD(int16_t);"
 2810|     27|            "i16vec2 maxInvocationsAMD(i16vec2);"
 2811|     27|            "i16vec3 maxInvocationsAMD(i16vec3);"
 2812|     27|            "i16vec4 maxInvocationsAMD(i16vec4);"
 2813|       |
 2814|     27|            "uint16_t maxInvocationsAMD(uint16_t);"
 2815|     27|            "u16vec2  maxInvocationsAMD(u16vec2);"
 2816|     27|            "u16vec3  maxInvocationsAMD(u16vec3);"
 2817|     27|            "u16vec4  maxInvocationsAMD(u16vec4);"
 2818|       |
 2819|     27|            "float maxInvocationsInclusiveScanAMD(float);"
 2820|     27|            "vec2  maxInvocationsInclusiveScanAMD(vec2);"
 2821|     27|            "vec3  maxInvocationsInclusiveScanAMD(vec3);"
 2822|     27|            "vec4  maxInvocationsInclusiveScanAMD(vec4);"
 2823|       |
 2824|     27|            "int   maxInvocationsInclusiveScanAMD(int);"
 2825|     27|            "ivec2 maxInvocationsInclusiveScanAMD(ivec2);"
 2826|     27|            "ivec3 maxInvocationsInclusiveScanAMD(ivec3);"
 2827|     27|            "ivec4 maxInvocationsInclusiveScanAMD(ivec4);"
 2828|       |
 2829|     27|            "uint  maxInvocationsInclusiveScanAMD(uint);"
 2830|     27|            "uvec2 maxInvocationsInclusiveScanAMD(uvec2);"
 2831|     27|            "uvec3 maxInvocationsInclusiveScanAMD(uvec3);"
 2832|     27|            "uvec4 maxInvocationsInclusiveScanAMD(uvec4);"
 2833|       |
 2834|     27|            "double maxInvocationsInclusiveScanAMD(double);"
 2835|     27|            "dvec2  maxInvocationsInclusiveScanAMD(dvec2);"
 2836|     27|            "dvec3  maxInvocationsInclusiveScanAMD(dvec3);"
 2837|     27|            "dvec4  maxInvocationsInclusiveScanAMD(dvec4);"
 2838|       |
 2839|     27|            "int64_t maxInvocationsInclusiveScanAMD(int64_t);"
 2840|     27|            "i64vec2 maxInvocationsInclusiveScanAMD(i64vec2);"
 2841|     27|            "i64vec3 maxInvocationsInclusiveScanAMD(i64vec3);"
 2842|     27|            "i64vec4 maxInvocationsInclusiveScanAMD(i64vec4);"
 2843|       |
 2844|     27|            "uint64_t maxInvocationsInclusiveScanAMD(uint64_t);"
 2845|     27|            "u64vec2  maxInvocationsInclusiveScanAMD(u64vec2);"
 2846|     27|            "u64vec3  maxInvocationsInclusiveScanAMD(u64vec3);"
 2847|     27|            "u64vec4  maxInvocationsInclusiveScanAMD(u64vec4);"
 2848|       |
 2849|     27|            "float16_t maxInvocationsInclusiveScanAMD(float16_t);"
 2850|     27|            "f16vec2   maxInvocationsInclusiveScanAMD(f16vec2);"
 2851|     27|            "f16vec3   maxInvocationsInclusiveScanAMD(f16vec3);"
 2852|     27|            "f16vec4   maxInvocationsInclusiveScanAMD(f16vec4);"
 2853|       |
 2854|     27|            "int16_t maxInvocationsInclusiveScanAMD(int16_t);"
 2855|     27|            "i16vec2 maxInvocationsInclusiveScanAMD(i16vec2);"
 2856|     27|            "i16vec3 maxInvocationsInclusiveScanAMD(i16vec3);"
 2857|     27|            "i16vec4 maxInvocationsInclusiveScanAMD(i16vec4);"
 2858|       |
 2859|     27|            "uint16_t maxInvocationsInclusiveScanAMD(uint16_t);"
 2860|     27|            "u16vec2  maxInvocationsInclusiveScanAMD(u16vec2);"
 2861|     27|            "u16vec3  maxInvocationsInclusiveScanAMD(u16vec3);"
 2862|     27|            "u16vec4  maxInvocationsInclusiveScanAMD(u16vec4);"
 2863|       |
 2864|     27|            "float maxInvocationsExclusiveScanAMD(float);"
 2865|     27|            "vec2  maxInvocationsExclusiveScanAMD(vec2);"
 2866|     27|            "vec3  maxInvocationsExclusiveScanAMD(vec3);"
 2867|     27|            "vec4  maxInvocationsExclusiveScanAMD(vec4);"
 2868|       |
 2869|     27|            "int   maxInvocationsExclusiveScanAMD(int);"
 2870|     27|            "ivec2 maxInvocationsExclusiveScanAMD(ivec2);"
 2871|     27|            "ivec3 maxInvocationsExclusiveScanAMD(ivec3);"
 2872|     27|            "ivec4 maxInvocationsExclusiveScanAMD(ivec4);"
 2873|       |
 2874|     27|            "uint  maxInvocationsExclusiveScanAMD(uint);"
 2875|     27|            "uvec2 maxInvocationsExclusiveScanAMD(uvec2);"
 2876|     27|            "uvec3 maxInvocationsExclusiveScanAMD(uvec3);"
 2877|     27|            "uvec4 maxInvocationsExclusiveScanAMD(uvec4);"
 2878|       |
 2879|     27|            "double maxInvocationsExclusiveScanAMD(double);"
 2880|     27|            "dvec2  maxInvocationsExclusiveScanAMD(dvec2);"
 2881|     27|            "dvec3  maxInvocationsExclusiveScanAMD(dvec3);"
 2882|     27|            "dvec4  maxInvocationsExclusiveScanAMD(dvec4);"
 2883|       |
 2884|     27|            "int64_t maxInvocationsExclusiveScanAMD(int64_t);"
 2885|     27|            "i64vec2 maxInvocationsExclusiveScanAMD(i64vec2);"
 2886|     27|            "i64vec3 maxInvocationsExclusiveScanAMD(i64vec3);"
 2887|     27|            "i64vec4 maxInvocationsExclusiveScanAMD(i64vec4);"
 2888|       |
 2889|     27|            "uint64_t maxInvocationsExclusiveScanAMD(uint64_t);"
 2890|     27|            "u64vec2  maxInvocationsExclusiveScanAMD(u64vec2);"
 2891|     27|            "u64vec3  maxInvocationsExclusiveScanAMD(u64vec3);"
 2892|     27|            "u64vec4  maxInvocationsExclusiveScanAMD(u64vec4);"
 2893|       |
 2894|     27|            "float16_t maxInvocationsExclusiveScanAMD(float16_t);"
 2895|     27|            "f16vec2   maxInvocationsExclusiveScanAMD(f16vec2);"
 2896|     27|            "f16vec3   maxInvocationsExclusiveScanAMD(f16vec3);"
 2897|     27|            "f16vec4   maxInvocationsExclusiveScanAMD(f16vec4);"
 2898|       |
 2899|     27|            "int16_t maxInvocationsExclusiveScanAMD(int16_t);"
 2900|     27|            "i16vec2 maxInvocationsExclusiveScanAMD(i16vec2);"
 2901|     27|            "i16vec3 maxInvocationsExclusiveScanAMD(i16vec3);"
 2902|     27|            "i16vec4 maxInvocationsExclusiveScanAMD(i16vec4);"
 2903|       |
 2904|     27|            "uint16_t maxInvocationsExclusiveScanAMD(uint16_t);"
 2905|     27|            "u16vec2  maxInvocationsExclusiveScanAMD(u16vec2);"
 2906|     27|            "u16vec3  maxInvocationsExclusiveScanAMD(u16vec3);"
 2907|     27|            "u16vec4  maxInvocationsExclusiveScanAMD(u16vec4);"
 2908|       |
 2909|     27|            "float addInvocationsAMD(float);"
 2910|     27|            "vec2  addInvocationsAMD(vec2);"
 2911|     27|            "vec3  addInvocationsAMD(vec3);"
 2912|     27|            "vec4  addInvocationsAMD(vec4);"
 2913|       |
 2914|     27|            "int   addInvocationsAMD(int);"
 2915|     27|            "ivec2 addInvocationsAMD(ivec2);"
 2916|     27|            "ivec3 addInvocationsAMD(ivec3);"
 2917|     27|            "ivec4 addInvocationsAMD(ivec4);"
 2918|       |
 2919|     27|            "uint  addInvocationsAMD(uint);"
 2920|     27|            "uvec2 addInvocationsAMD(uvec2);"
 2921|     27|            "uvec3 addInvocationsAMD(uvec3);"
 2922|     27|            "uvec4 addInvocationsAMD(uvec4);"
 2923|       |
 2924|     27|            "double  addInvocationsAMD(double);"
 2925|     27|            "dvec2   addInvocationsAMD(dvec2);"
 2926|     27|            "dvec3   addInvocationsAMD(dvec3);"
 2927|     27|            "dvec4   addInvocationsAMD(dvec4);"
 2928|       |
 2929|     27|            "int64_t addInvocationsAMD(int64_t);"
 2930|     27|            "i64vec2 addInvocationsAMD(i64vec2);"
 2931|     27|            "i64vec3 addInvocationsAMD(i64vec3);"
 2932|     27|            "i64vec4 addInvocationsAMD(i64vec4);"
 2933|       |
 2934|     27|            "uint64_t addInvocationsAMD(uint64_t);"
 2935|     27|            "u64vec2  addInvocationsAMD(u64vec2);"
 2936|     27|            "u64vec3  addInvocationsAMD(u64vec3);"
 2937|     27|            "u64vec4  addInvocationsAMD(u64vec4);"
 2938|       |
 2939|     27|            "float16_t addInvocationsAMD(float16_t);"
 2940|     27|            "f16vec2   addInvocationsAMD(f16vec2);"
 2941|     27|            "f16vec3   addInvocationsAMD(f16vec3);"
 2942|     27|            "f16vec4   addInvocationsAMD(f16vec4);"
 2943|       |
 2944|     27|            "int16_t addInvocationsAMD(int16_t);"
 2945|     27|            "i16vec2 addInvocationsAMD(i16vec2);"
 2946|     27|            "i16vec3 addInvocationsAMD(i16vec3);"
 2947|     27|            "i16vec4 addInvocationsAMD(i16vec4);"
 2948|       |
 2949|     27|            "uint16_t addInvocationsAMD(uint16_t);"
 2950|     27|            "u16vec2  addInvocationsAMD(u16vec2);"
 2951|     27|            "u16vec3  addInvocationsAMD(u16vec3);"
 2952|     27|            "u16vec4  addInvocationsAMD(u16vec4);"
 2953|       |
 2954|     27|            "float addInvocationsInclusiveScanAMD(float);"
 2955|     27|            "vec2  addInvocationsInclusiveScanAMD(vec2);"
 2956|     27|            "vec3  addInvocationsInclusiveScanAMD(vec3);"
 2957|     27|            "vec4  addInvocationsInclusiveScanAMD(vec4);"
 2958|       |
 2959|     27|            "int   addInvocationsInclusiveScanAMD(int);"
 2960|     27|            "ivec2 addInvocationsInclusiveScanAMD(ivec2);"
 2961|     27|            "ivec3 addInvocationsInclusiveScanAMD(ivec3);"
 2962|     27|            "ivec4 addInvocationsInclusiveScanAMD(ivec4);"
 2963|       |
 2964|     27|            "uint  addInvocationsInclusiveScanAMD(uint);"
 2965|     27|            "uvec2 addInvocationsInclusiveScanAMD(uvec2);"
 2966|     27|            "uvec3 addInvocationsInclusiveScanAMD(uvec3);"
 2967|     27|            "uvec4 addInvocationsInclusiveScanAMD(uvec4);"
 2968|       |
 2969|     27|            "double  addInvocationsInclusiveScanAMD(double);"
 2970|     27|            "dvec2   addInvocationsInclusiveScanAMD(dvec2);"
 2971|     27|            "dvec3   addInvocationsInclusiveScanAMD(dvec3);"
 2972|     27|            "dvec4   addInvocationsInclusiveScanAMD(dvec4);"
 2973|       |
 2974|     27|            "int64_t addInvocationsInclusiveScanAMD(int64_t);"
 2975|     27|            "i64vec2 addInvocationsInclusiveScanAMD(i64vec2);"
 2976|     27|            "i64vec3 addInvocationsInclusiveScanAMD(i64vec3);"
 2977|     27|            "i64vec4 addInvocationsInclusiveScanAMD(i64vec4);"
 2978|       |
 2979|     27|            "uint64_t addInvocationsInclusiveScanAMD(uint64_t);"
 2980|     27|            "u64vec2  addInvocationsInclusiveScanAMD(u64vec2);"
 2981|     27|            "u64vec3  addInvocationsInclusiveScanAMD(u64vec3);"
 2982|     27|            "u64vec4  addInvocationsInclusiveScanAMD(u64vec4);"
 2983|       |
 2984|     27|            "float16_t addInvocationsInclusiveScanAMD(float16_t);"
 2985|     27|            "f16vec2   addInvocationsInclusiveScanAMD(f16vec2);"
 2986|     27|            "f16vec3   addInvocationsInclusiveScanAMD(f16vec3);"
 2987|     27|            "f16vec4   addInvocationsInclusiveScanAMD(f16vec4);"
 2988|       |
 2989|     27|            "int16_t addInvocationsInclusiveScanAMD(int16_t);"
 2990|     27|            "i16vec2 addInvocationsInclusiveScanAMD(i16vec2);"
 2991|     27|            "i16vec3 addInvocationsInclusiveScanAMD(i16vec3);"
 2992|     27|            "i16vec4 addInvocationsInclusiveScanAMD(i16vec4);"
 2993|       |
 2994|     27|            "uint16_t addInvocationsInclusiveScanAMD(uint16_t);"
 2995|     27|            "u16vec2  addInvocationsInclusiveScanAMD(u16vec2);"
 2996|     27|            "u16vec3  addInvocationsInclusiveScanAMD(u16vec3);"
 2997|     27|            "u16vec4  addInvocationsInclusiveScanAMD(u16vec4);"
 2998|       |
 2999|     27|            "float addInvocationsExclusiveScanAMD(float);"
 3000|     27|            "vec2  addInvocationsExclusiveScanAMD(vec2);"
 3001|     27|            "vec3  addInvocationsExclusiveScanAMD(vec3);"
 3002|     27|            "vec4  addInvocationsExclusiveScanAMD(vec4);"
 3003|       |
 3004|     27|            "int   addInvocationsExclusiveScanAMD(int);"
 3005|     27|            "ivec2 addInvocationsExclusiveScanAMD(ivec2);"
 3006|     27|            "ivec3 addInvocationsExclusiveScanAMD(ivec3);"
 3007|     27|            "ivec4 addInvocationsExclusiveScanAMD(ivec4);"
 3008|       |
 3009|     27|            "uint  addInvocationsExclusiveScanAMD(uint);"
 3010|     27|            "uvec2 addInvocationsExclusiveScanAMD(uvec2);"
 3011|     27|            "uvec3 addInvocationsExclusiveScanAMD(uvec3);"
 3012|     27|            "uvec4 addInvocationsExclusiveScanAMD(uvec4);"
 3013|       |
 3014|     27|            "double  addInvocationsExclusiveScanAMD(double);"
 3015|     27|            "dvec2   addInvocationsExclusiveScanAMD(dvec2);"
 3016|     27|            "dvec3   addInvocationsExclusiveScanAMD(dvec3);"
 3017|     27|            "dvec4   addInvocationsExclusiveScanAMD(dvec4);"
 3018|       |
 3019|     27|            "int64_t addInvocationsExclusiveScanAMD(int64_t);"
 3020|     27|            "i64vec2 addInvocationsExclusiveScanAMD(i64vec2);"
 3021|     27|            "i64vec3 addInvocationsExclusiveScanAMD(i64vec3);"
 3022|     27|            "i64vec4 addInvocationsExclusiveScanAMD(i64vec4);"
 3023|       |
 3024|     27|            "uint64_t addInvocationsExclusiveScanAMD(uint64_t);"
 3025|     27|            "u64vec2  addInvocationsExclusiveScanAMD(u64vec2);"
 3026|     27|            "u64vec3  addInvocationsExclusiveScanAMD(u64vec3);"
 3027|     27|            "u64vec4  addInvocationsExclusiveScanAMD(u64vec4);"
 3028|       |
 3029|     27|            "float16_t addInvocationsExclusiveScanAMD(float16_t);"
 3030|     27|            "f16vec2   addInvocationsExclusiveScanAMD(f16vec2);"
 3031|     27|            "f16vec3   addInvocationsExclusiveScanAMD(f16vec3);"
 3032|     27|            "f16vec4   addInvocationsExclusiveScanAMD(f16vec4);"
 3033|       |
 3034|     27|            "int16_t addInvocationsExclusiveScanAMD(int16_t);"
 3035|     27|            "i16vec2 addInvocationsExclusiveScanAMD(i16vec2);"
 3036|     27|            "i16vec3 addInvocationsExclusiveScanAMD(i16vec3);"
 3037|     27|            "i16vec4 addInvocationsExclusiveScanAMD(i16vec4);"
 3038|       |
 3039|     27|            "uint16_t addInvocationsExclusiveScanAMD(uint16_t);"
 3040|     27|            "u16vec2  addInvocationsExclusiveScanAMD(u16vec2);"
 3041|     27|            "u16vec3  addInvocationsExclusiveScanAMD(u16vec3);"
 3042|     27|            "u16vec4  addInvocationsExclusiveScanAMD(u16vec4);"
 3043|       |
 3044|     27|            "float minInvocationsNonUniformAMD(float);"
 3045|     27|            "vec2  minInvocationsNonUniformAMD(vec2);"
 3046|     27|            "vec3  minInvocationsNonUniformAMD(vec3);"
 3047|     27|            "vec4  minInvocationsNonUniformAMD(vec4);"
 3048|       |
 3049|     27|            "int   minInvocationsNonUniformAMD(int);"
 3050|     27|            "ivec2 minInvocationsNonUniformAMD(ivec2);"
 3051|     27|            "ivec3 minInvocationsNonUniformAMD(ivec3);"
 3052|     27|            "ivec4 minInvocationsNonUniformAMD(ivec4);"
 3053|       |
 3054|     27|            "uint  minInvocationsNonUniformAMD(uint);"
 3055|     27|            "uvec2 minInvocationsNonUniformAMD(uvec2);"
 3056|     27|            "uvec3 minInvocationsNonUniformAMD(uvec3);"
 3057|     27|            "uvec4 minInvocationsNonUniformAMD(uvec4);"
 3058|       |
 3059|     27|            "double minInvocationsNonUniformAMD(double);"
 3060|     27|            "dvec2  minInvocationsNonUniformAMD(dvec2);"
 3061|     27|            "dvec3  minInvocationsNonUniformAMD(dvec3);"
 3062|     27|            "dvec4  minInvocationsNonUniformAMD(dvec4);"
 3063|       |
 3064|     27|            "int64_t minInvocationsNonUniformAMD(int64_t);"
 3065|     27|            "i64vec2 minInvocationsNonUniformAMD(i64vec2);"
 3066|     27|            "i64vec3 minInvocationsNonUniformAMD(i64vec3);"
 3067|     27|            "i64vec4 minInvocationsNonUniformAMD(i64vec4);"
 3068|       |
 3069|     27|            "uint64_t minInvocationsNonUniformAMD(uint64_t);"
 3070|     27|            "u64vec2  minInvocationsNonUniformAMD(u64vec2);"
 3071|     27|            "u64vec3  minInvocationsNonUniformAMD(u64vec3);"
 3072|     27|            "u64vec4  minInvocationsNonUniformAMD(u64vec4);"
 3073|       |
 3074|     27|            "float16_t minInvocationsNonUniformAMD(float16_t);"
 3075|     27|            "f16vec2   minInvocationsNonUniformAMD(f16vec2);"
 3076|     27|            "f16vec3   minInvocationsNonUniformAMD(f16vec3);"
 3077|     27|            "f16vec4   minInvocationsNonUniformAMD(f16vec4);"
 3078|       |
 3079|     27|            "int16_t minInvocationsNonUniformAMD(int16_t);"
 3080|     27|            "i16vec2 minInvocationsNonUniformAMD(i16vec2);"
 3081|     27|            "i16vec3 minInvocationsNonUniformAMD(i16vec3);"
 3082|     27|            "i16vec4 minInvocationsNonUniformAMD(i16vec4);"
 3083|       |
 3084|     27|            "uint16_t minInvocationsNonUniformAMD(uint16_t);"
 3085|     27|            "u16vec2  minInvocationsNonUniformAMD(u16vec2);"
 3086|     27|            "u16vec3  minInvocationsNonUniformAMD(u16vec3);"
 3087|     27|            "u16vec4  minInvocationsNonUniformAMD(u16vec4);"
 3088|       |
 3089|     27|            "float minInvocationsInclusiveScanNonUniformAMD(float);"
 3090|     27|            "vec2  minInvocationsInclusiveScanNonUniformAMD(vec2);"
 3091|     27|            "vec3  minInvocationsInclusiveScanNonUniformAMD(vec3);"
 3092|     27|            "vec4  minInvocationsInclusiveScanNonUniformAMD(vec4);"
 3093|       |
 3094|     27|            "int   minInvocationsInclusiveScanNonUniformAMD(int);"
 3095|     27|            "ivec2 minInvocationsInclusiveScanNonUniformAMD(ivec2);"
 3096|     27|            "ivec3 minInvocationsInclusiveScanNonUniformAMD(ivec3);"
 3097|     27|            "ivec4 minInvocationsInclusiveScanNonUniformAMD(ivec4);"
 3098|       |
 3099|     27|            "uint  minInvocationsInclusiveScanNonUniformAMD(uint);"
 3100|     27|            "uvec2 minInvocationsInclusiveScanNonUniformAMD(uvec2);"
 3101|     27|            "uvec3 minInvocationsInclusiveScanNonUniformAMD(uvec3);"
 3102|     27|            "uvec4 minInvocationsInclusiveScanNonUniformAMD(uvec4);"
 3103|       |
 3104|     27|            "double minInvocationsInclusiveScanNonUniformAMD(double);"
 3105|     27|            "dvec2  minInvocationsInclusiveScanNonUniformAMD(dvec2);"
 3106|     27|            "dvec3  minInvocationsInclusiveScanNonUniformAMD(dvec3);"
 3107|     27|            "dvec4  minInvocationsInclusiveScanNonUniformAMD(dvec4);"
 3108|       |
 3109|     27|            "int64_t minInvocationsInclusiveScanNonUniformAMD(int64_t);"
 3110|     27|            "i64vec2 minInvocationsInclusiveScanNonUniformAMD(i64vec2);"
 3111|     27|            "i64vec3 minInvocationsInclusiveScanNonUniformAMD(i64vec3);"
 3112|     27|            "i64vec4 minInvocationsInclusiveScanNonUniformAMD(i64vec4);"
 3113|       |
 3114|     27|            "uint64_t minInvocationsInclusiveScanNonUniformAMD(uint64_t);"
 3115|     27|            "u64vec2  minInvocationsInclusiveScanNonUniformAMD(u64vec2);"
 3116|     27|            "u64vec3  minInvocationsInclusiveScanNonUniformAMD(u64vec3);"
 3117|     27|            "u64vec4  minInvocationsInclusiveScanNonUniformAMD(u64vec4);"
 3118|       |
 3119|     27|            "float16_t minInvocationsInclusiveScanNonUniformAMD(float16_t);"
 3120|     27|            "f16vec2   minInvocationsInclusiveScanNonUniformAMD(f16vec2);"
 3121|     27|            "f16vec3   minInvocationsInclusiveScanNonUniformAMD(f16vec3);"
 3122|     27|            "f16vec4   minInvocationsInclusiveScanNonUniformAMD(f16vec4);"
 3123|       |
 3124|     27|            "int16_t minInvocationsInclusiveScanNonUniformAMD(int16_t);"
 3125|     27|            "i16vec2 minInvocationsInclusiveScanNonUniformAMD(i16vec2);"
 3126|     27|            "i16vec3 minInvocationsInclusiveScanNonUniformAMD(i16vec3);"
 3127|     27|            "i16vec4 minInvocationsInclusiveScanNonUniformAMD(i16vec4);"
 3128|       |
 3129|     27|            "uint16_t minInvocationsInclusiveScanNonUniformAMD(uint16_t);"
 3130|     27|            "u16vec2  minInvocationsInclusiveScanNonUniformAMD(u16vec2);"
 3131|     27|            "u16vec3  minInvocationsInclusiveScanNonUniformAMD(u16vec3);"
 3132|     27|            "u16vec4  minInvocationsInclusiveScanNonUniformAMD(u16vec4);"
 3133|       |
 3134|     27|            "float minInvocationsExclusiveScanNonUniformAMD(float);"
 3135|     27|            "vec2  minInvocationsExclusiveScanNonUniformAMD(vec2);"
 3136|     27|            "vec3  minInvocationsExclusiveScanNonUniformAMD(vec3);"
 3137|     27|            "vec4  minInvocationsExclusiveScanNonUniformAMD(vec4);"
 3138|       |
 3139|     27|            "int   minInvocationsExclusiveScanNonUniformAMD(int);"
 3140|     27|            "ivec2 minInvocationsExclusiveScanNonUniformAMD(ivec2);"
 3141|     27|            "ivec3 minInvocationsExclusiveScanNonUniformAMD(ivec3);"
 3142|     27|            "ivec4 minInvocationsExclusiveScanNonUniformAMD(ivec4);"
 3143|       |
 3144|     27|            "uint  minInvocationsExclusiveScanNonUniformAMD(uint);"
 3145|     27|            "uvec2 minInvocationsExclusiveScanNonUniformAMD(uvec2);"
 3146|     27|            "uvec3 minInvocationsExclusiveScanNonUniformAMD(uvec3);"
 3147|     27|            "uvec4 minInvocationsExclusiveScanNonUniformAMD(uvec4);"
 3148|       |
 3149|     27|            "double minInvocationsExclusiveScanNonUniformAMD(double);"
 3150|     27|            "dvec2  minInvocationsExclusiveScanNonUniformAMD(dvec2);"
 3151|     27|            "dvec3  minInvocationsExclusiveScanNonUniformAMD(dvec3);"
 3152|     27|            "dvec4  minInvocationsExclusiveScanNonUniformAMD(dvec4);"
 3153|       |
 3154|     27|            "int64_t minInvocationsExclusiveScanNonUniformAMD(int64_t);"
 3155|     27|            "i64vec2 minInvocationsExclusiveScanNonUniformAMD(i64vec2);"
 3156|     27|            "i64vec3 minInvocationsExclusiveScanNonUniformAMD(i64vec3);"
 3157|     27|            "i64vec4 minInvocationsExclusiveScanNonUniformAMD(i64vec4);"
 3158|       |
 3159|     27|            "uint64_t minInvocationsExclusiveScanNonUniformAMD(uint64_t);"
 3160|     27|            "u64vec2  minInvocationsExclusiveScanNonUniformAMD(u64vec2);"
 3161|     27|            "u64vec3  minInvocationsExclusiveScanNonUniformAMD(u64vec3);"
 3162|     27|            "u64vec4  minInvocationsExclusiveScanNonUniformAMD(u64vec4);"
 3163|       |
 3164|     27|            "float16_t minInvocationsExclusiveScanNonUniformAMD(float16_t);"
 3165|     27|            "f16vec2   minInvocationsExclusiveScanNonUniformAMD(f16vec2);"
 3166|     27|            "f16vec3   minInvocationsExclusiveScanNonUniformAMD(f16vec3);"
 3167|     27|            "f16vec4   minInvocationsExclusiveScanNonUniformAMD(f16vec4);"
 3168|       |
 3169|     27|            "int16_t minInvocationsExclusiveScanNonUniformAMD(int16_t);"
 3170|     27|            "i16vec2 minInvocationsExclusiveScanNonUniformAMD(i16vec2);"
 3171|     27|            "i16vec3 minInvocationsExclusiveScanNonUniformAMD(i16vec3);"
 3172|     27|            "i16vec4 minInvocationsExclusiveScanNonUniformAMD(i16vec4);"
 3173|       |
 3174|     27|            "uint16_t minInvocationsExclusiveScanNonUniformAMD(uint16_t);"
 3175|     27|            "u16vec2  minInvocationsExclusiveScanNonUniformAMD(u16vec2);"
 3176|     27|            "u16vec3  minInvocationsExclusiveScanNonUniformAMD(u16vec3);"
 3177|     27|            "u16vec4  minInvocationsExclusiveScanNonUniformAMD(u16vec4);"
 3178|       |
 3179|     27|            "float maxInvocationsNonUniformAMD(float);"
 3180|     27|            "vec2  maxInvocationsNonUniformAMD(vec2);"
 3181|     27|            "vec3  maxInvocationsNonUniformAMD(vec3);"
 3182|     27|            "vec4  maxInvocationsNonUniformAMD(vec4);"
 3183|       |
 3184|     27|            "int   maxInvocationsNonUniformAMD(int);"
 3185|     27|            "ivec2 maxInvocationsNonUniformAMD(ivec2);"
 3186|     27|            "ivec3 maxInvocationsNonUniformAMD(ivec3);"
 3187|     27|            "ivec4 maxInvocationsNonUniformAMD(ivec4);"
 3188|       |
 3189|     27|            "uint  maxInvocationsNonUniformAMD(uint);"
 3190|     27|            "uvec2 maxInvocationsNonUniformAMD(uvec2);"
 3191|     27|            "uvec3 maxInvocationsNonUniformAMD(uvec3);"
 3192|     27|            "uvec4 maxInvocationsNonUniformAMD(uvec4);"
 3193|       |
 3194|     27|            "double maxInvocationsNonUniformAMD(double);"
 3195|     27|            "dvec2  maxInvocationsNonUniformAMD(dvec2);"
 3196|     27|            "dvec3  maxInvocationsNonUniformAMD(dvec3);"
 3197|     27|            "dvec4  maxInvocationsNonUniformAMD(dvec4);"
 3198|       |
 3199|     27|            "int64_t maxInvocationsNonUniformAMD(int64_t);"
 3200|     27|            "i64vec2 maxInvocationsNonUniformAMD(i64vec2);"
 3201|     27|            "i64vec3 maxInvocationsNonUniformAMD(i64vec3);"
 3202|     27|            "i64vec4 maxInvocationsNonUniformAMD(i64vec4);"
 3203|       |
 3204|     27|            "uint64_t maxInvocationsNonUniformAMD(uint64_t);"
 3205|     27|            "u64vec2  maxInvocationsNonUniformAMD(u64vec2);"
 3206|     27|            "u64vec3  maxInvocationsNonUniformAMD(u64vec3);"
 3207|     27|            "u64vec4  maxInvocationsNonUniformAMD(u64vec4);"
 3208|       |
 3209|     27|            "float16_t maxInvocationsNonUniformAMD(float16_t);"
 3210|     27|            "f16vec2   maxInvocationsNonUniformAMD(f16vec2);"
 3211|     27|            "f16vec3   maxInvocationsNonUniformAMD(f16vec3);"
 3212|     27|            "f16vec4   maxInvocationsNonUniformAMD(f16vec4);"
 3213|       |
 3214|     27|            "int16_t maxInvocationsNonUniformAMD(int16_t);"
 3215|     27|            "i16vec2 maxInvocationsNonUniformAMD(i16vec2);"
 3216|     27|            "i16vec3 maxInvocationsNonUniformAMD(i16vec3);"
 3217|     27|            "i16vec4 maxInvocationsNonUniformAMD(i16vec4);"
 3218|       |
 3219|     27|            "uint16_t maxInvocationsNonUniformAMD(uint16_t);"
 3220|     27|            "u16vec2  maxInvocationsNonUniformAMD(u16vec2);"
 3221|     27|            "u16vec3  maxInvocationsNonUniformAMD(u16vec3);"
 3222|     27|            "u16vec4  maxInvocationsNonUniformAMD(u16vec4);"
 3223|       |
 3224|     27|            "float maxInvocationsInclusiveScanNonUniformAMD(float);"
 3225|     27|            "vec2  maxInvocationsInclusiveScanNonUniformAMD(vec2);"
 3226|     27|            "vec3  maxInvocationsInclusiveScanNonUniformAMD(vec3);"
 3227|     27|            "vec4  maxInvocationsInclusiveScanNonUniformAMD(vec4);"
 3228|       |
 3229|     27|            "int   maxInvocationsInclusiveScanNonUniformAMD(int);"
 3230|     27|            "ivec2 maxInvocationsInclusiveScanNonUniformAMD(ivec2);"
 3231|     27|            "ivec3 maxInvocationsInclusiveScanNonUniformAMD(ivec3);"
 3232|     27|            "ivec4 maxInvocationsInclusiveScanNonUniformAMD(ivec4);"
 3233|       |
 3234|     27|            "uint  maxInvocationsInclusiveScanNonUniformAMD(uint);"
 3235|     27|            "uvec2 maxInvocationsInclusiveScanNonUniformAMD(uvec2);"
 3236|     27|            "uvec3 maxInvocationsInclusiveScanNonUniformAMD(uvec3);"
 3237|     27|            "uvec4 maxInvocationsInclusiveScanNonUniformAMD(uvec4);"
 3238|       |
 3239|     27|            "double maxInvocationsInclusiveScanNonUniformAMD(double);"
 3240|     27|            "dvec2  maxInvocationsInclusiveScanNonUniformAMD(dvec2);"
 3241|     27|            "dvec3  maxInvocationsInclusiveScanNonUniformAMD(dvec3);"
 3242|     27|            "dvec4  maxInvocationsInclusiveScanNonUniformAMD(dvec4);"
 3243|       |
 3244|     27|            "int64_t maxInvocationsInclusiveScanNonUniformAMD(int64_t);"
 3245|     27|            "i64vec2 maxInvocationsInclusiveScanNonUniformAMD(i64vec2);"
 3246|     27|            "i64vec3 maxInvocationsInclusiveScanNonUniformAMD(i64vec3);"
 3247|     27|            "i64vec4 maxInvocationsInclusiveScanNonUniformAMD(i64vec4);"
 3248|       |
 3249|     27|            "uint64_t maxInvocationsInclusiveScanNonUniformAMD(uint64_t);"
 3250|     27|            "u64vec2  maxInvocationsInclusiveScanNonUniformAMD(u64vec2);"
 3251|     27|            "u64vec3  maxInvocationsInclusiveScanNonUniformAMD(u64vec3);"
 3252|     27|            "u64vec4  maxInvocationsInclusiveScanNonUniformAMD(u64vec4);"
 3253|       |
 3254|     27|            "float16_t maxInvocationsInclusiveScanNonUniformAMD(float16_t);"
 3255|     27|            "f16vec2   maxInvocationsInclusiveScanNonUniformAMD(f16vec2);"
 3256|     27|            "f16vec3   maxInvocationsInclusiveScanNonUniformAMD(f16vec3);"
 3257|     27|            "f16vec4   maxInvocationsInclusiveScanNonUniformAMD(f16vec4);"
 3258|       |
 3259|     27|            "int16_t maxInvocationsInclusiveScanNonUniformAMD(int16_t);"
 3260|     27|            "i16vec2 maxInvocationsInclusiveScanNonUniformAMD(i16vec2);"
 3261|     27|            "i16vec3 maxInvocationsInclusiveScanNonUniformAMD(i16vec3);"
 3262|     27|            "i16vec4 maxInvocationsInclusiveScanNonUniformAMD(i16vec4);"
 3263|       |
 3264|     27|            "uint16_t maxInvocationsInclusiveScanNonUniformAMD(uint16_t);"
 3265|     27|            "u16vec2  maxInvocationsInclusiveScanNonUniformAMD(u16vec2);"
 3266|     27|            "u16vec3  maxInvocationsInclusiveScanNonUniformAMD(u16vec3);"
 3267|     27|            "u16vec4  maxInvocationsInclusiveScanNonUniformAMD(u16vec4);"
 3268|       |
 3269|     27|            "float maxInvocationsExclusiveScanNonUniformAMD(float);"
 3270|     27|            "vec2  maxInvocationsExclusiveScanNonUniformAMD(vec2);"
 3271|     27|            "vec3  maxInvocationsExclusiveScanNonUniformAMD(vec3);"
 3272|     27|            "vec4  maxInvocationsExclusiveScanNonUniformAMD(vec4);"
 3273|       |
 3274|     27|            "int   maxInvocationsExclusiveScanNonUniformAMD(int);"
 3275|     27|            "ivec2 maxInvocationsExclusiveScanNonUniformAMD(ivec2);"
 3276|     27|            "ivec3 maxInvocationsExclusiveScanNonUniformAMD(ivec3);"
 3277|     27|            "ivec4 maxInvocationsExclusiveScanNonUniformAMD(ivec4);"
 3278|       |
 3279|     27|            "uint  maxInvocationsExclusiveScanNonUniformAMD(uint);"
 3280|     27|            "uvec2 maxInvocationsExclusiveScanNonUniformAMD(uvec2);"
 3281|     27|            "uvec3 maxInvocationsExclusiveScanNonUniformAMD(uvec3);"
 3282|     27|            "uvec4 maxInvocationsExclusiveScanNonUniformAMD(uvec4);"
 3283|       |
 3284|     27|            "double maxInvocationsExclusiveScanNonUniformAMD(double);"
 3285|     27|            "dvec2  maxInvocationsExclusiveScanNonUniformAMD(dvec2);"
 3286|     27|            "dvec3  maxInvocationsExclusiveScanNonUniformAMD(dvec3);"
 3287|     27|            "dvec4  maxInvocationsExclusiveScanNonUniformAMD(dvec4);"
 3288|       |
 3289|     27|            "int64_t maxInvocationsExclusiveScanNonUniformAMD(int64_t);"
 3290|     27|            "i64vec2 maxInvocationsExclusiveScanNonUniformAMD(i64vec2);"
 3291|     27|            "i64vec3 maxInvocationsExclusiveScanNonUniformAMD(i64vec3);"
 3292|     27|            "i64vec4 maxInvocationsExclusiveScanNonUniformAMD(i64vec4);"
 3293|       |
 3294|     27|            "uint64_t maxInvocationsExclusiveScanNonUniformAMD(uint64_t);"
 3295|     27|            "u64vec2  maxInvocationsExclusiveScanNonUniformAMD(u64vec2);"
 3296|     27|            "u64vec3  maxInvocationsExclusiveScanNonUniformAMD(u64vec3);"
 3297|     27|            "u64vec4  maxInvocationsExclusiveScanNonUniformAMD(u64vec4);"
 3298|       |
 3299|     27|            "float16_t maxInvocationsExclusiveScanNonUniformAMD(float16_t);"
 3300|     27|            "f16vec2   maxInvocationsExclusiveScanNonUniformAMD(f16vec2);"
 3301|     27|            "f16vec3   maxInvocationsExclusiveScanNonUniformAMD(f16vec3);"
 3302|     27|            "f16vec4   maxInvocationsExclusiveScanNonUniformAMD(f16vec4);"
 3303|       |
 3304|     27|            "int16_t maxInvocationsExclusiveScanNonUniformAMD(int16_t);"
 3305|     27|            "i16vec2 maxInvocationsExclusiveScanNonUniformAMD(i16vec2);"
 3306|     27|            "i16vec3 maxInvocationsExclusiveScanNonUniformAMD(i16vec3);"
 3307|     27|            "i16vec4 maxInvocationsExclusiveScanNonUniformAMD(i16vec4);"
 3308|       |
 3309|     27|            "uint16_t maxInvocationsExclusiveScanNonUniformAMD(uint16_t);"
 3310|     27|            "u16vec2  maxInvocationsExclusiveScanNonUniformAMD(u16vec2);"
 3311|     27|            "u16vec3  maxInvocationsExclusiveScanNonUniformAMD(u16vec3);"
 3312|     27|            "u16vec4  maxInvocationsExclusiveScanNonUniformAMD(u16vec4);"
 3313|       |
 3314|     27|            "float addInvocationsNonUniformAMD(float);"
 3315|     27|            "vec2  addInvocationsNonUniformAMD(vec2);"
 3316|     27|            "vec3  addInvocationsNonUniformAMD(vec3);"
 3317|     27|            "vec4  addInvocationsNonUniformAMD(vec4);"
 3318|       |
 3319|     27|            "int   addInvocationsNonUniformAMD(int);"
 3320|     27|            "ivec2 addInvocationsNonUniformAMD(ivec2);"
 3321|     27|            "ivec3 addInvocationsNonUniformAMD(ivec3);"
 3322|     27|            "ivec4 addInvocationsNonUniformAMD(ivec4);"
 3323|       |
 3324|     27|            "uint  addInvocationsNonUniformAMD(uint);"
 3325|     27|            "uvec2 addInvocationsNonUniformAMD(uvec2);"
 3326|     27|            "uvec3 addInvocationsNonUniformAMD(uvec3);"
 3327|     27|            "uvec4 addInvocationsNonUniformAMD(uvec4);"
 3328|       |
 3329|     27|            "double addInvocationsNonUniformAMD(double);"
 3330|     27|            "dvec2  addInvocationsNonUniformAMD(dvec2);"
 3331|     27|            "dvec3  addInvocationsNonUniformAMD(dvec3);"
 3332|     27|            "dvec4  addInvocationsNonUniformAMD(dvec4);"
 3333|       |
 3334|     27|            "int64_t addInvocationsNonUniformAMD(int64_t);"
 3335|     27|            "i64vec2 addInvocationsNonUniformAMD(i64vec2);"
 3336|     27|            "i64vec3 addInvocationsNonUniformAMD(i64vec3);"
 3337|     27|            "i64vec4 addInvocationsNonUniformAMD(i64vec4);"
 3338|       |
 3339|     27|            "uint64_t addInvocationsNonUniformAMD(uint64_t);"
 3340|     27|            "u64vec2  addInvocationsNonUniformAMD(u64vec2);"
 3341|     27|            "u64vec3  addInvocationsNonUniformAMD(u64vec3);"
 3342|     27|            "u64vec4  addInvocationsNonUniformAMD(u64vec4);"
 3343|       |
 3344|     27|            "float16_t addInvocationsNonUniformAMD(float16_t);"
 3345|     27|            "f16vec2   addInvocationsNonUniformAMD(f16vec2);"
 3346|     27|            "f16vec3   addInvocationsNonUniformAMD(f16vec3);"
 3347|     27|            "f16vec4   addInvocationsNonUniformAMD(f16vec4);"
 3348|       |
 3349|     27|            "int16_t addInvocationsNonUniformAMD(int16_t);"
 3350|     27|            "i16vec2 addInvocationsNonUniformAMD(i16vec2);"
 3351|     27|            "i16vec3 addInvocationsNonUniformAMD(i16vec3);"
 3352|     27|            "i16vec4 addInvocationsNonUniformAMD(i16vec4);"
 3353|       |
 3354|     27|            "uint16_t addInvocationsNonUniformAMD(uint16_t);"
 3355|     27|            "u16vec2  addInvocationsNonUniformAMD(u16vec2);"
 3356|     27|            "u16vec3  addInvocationsNonUniformAMD(u16vec3);"
 3357|     27|            "u16vec4  addInvocationsNonUniformAMD(u16vec4);"
 3358|       |
 3359|     27|            "float addInvocationsInclusiveScanNonUniformAMD(float);"
 3360|     27|            "vec2  addInvocationsInclusiveScanNonUniformAMD(vec2);"
 3361|     27|            "vec3  addInvocationsInclusiveScanNonUniformAMD(vec3);"
 3362|     27|            "vec4  addInvocationsInclusiveScanNonUniformAMD(vec4);"
 3363|       |
 3364|     27|            "int   addInvocationsInclusiveScanNonUniformAMD(int);"
 3365|     27|            "ivec2 addInvocationsInclusiveScanNonUniformAMD(ivec2);"
 3366|     27|            "ivec3 addInvocationsInclusiveScanNonUniformAMD(ivec3);"
 3367|     27|            "ivec4 addInvocationsInclusiveScanNonUniformAMD(ivec4);"
 3368|       |
 3369|     27|            "uint  addInvocationsInclusiveScanNonUniformAMD(uint);"
 3370|     27|            "uvec2 addInvocationsInclusiveScanNonUniformAMD(uvec2);"
 3371|     27|            "uvec3 addInvocationsInclusiveScanNonUniformAMD(uvec3);"
 3372|     27|            "uvec4 addInvocationsInclusiveScanNonUniformAMD(uvec4);"
 3373|       |
 3374|     27|            "double addInvocationsInclusiveScanNonUniformAMD(double);"
 3375|     27|            "dvec2  addInvocationsInclusiveScanNonUniformAMD(dvec2);"
 3376|     27|            "dvec3  addInvocationsInclusiveScanNonUniformAMD(dvec3);"
 3377|     27|            "dvec4  addInvocationsInclusiveScanNonUniformAMD(dvec4);"
 3378|       |
 3379|     27|            "int64_t addInvocationsInclusiveScanNonUniformAMD(int64_t);"
 3380|     27|            "i64vec2 addInvocationsInclusiveScanNonUniformAMD(i64vec2);"
 3381|     27|            "i64vec3 addInvocationsInclusiveScanNonUniformAMD(i64vec3);"
 3382|     27|            "i64vec4 addInvocationsInclusiveScanNonUniformAMD(i64vec4);"
 3383|       |
 3384|     27|            "uint64_t addInvocationsInclusiveScanNonUniformAMD(uint64_t);"
 3385|     27|            "u64vec2  addInvocationsInclusiveScanNonUniformAMD(u64vec2);"
 3386|     27|            "u64vec3  addInvocationsInclusiveScanNonUniformAMD(u64vec3);"
 3387|     27|            "u64vec4  addInvocationsInclusiveScanNonUniformAMD(u64vec4);"
 3388|       |
 3389|     27|            "float16_t addInvocationsInclusiveScanNonUniformAMD(float16_t);"
 3390|     27|            "f16vec2   addInvocationsInclusiveScanNonUniformAMD(f16vec2);"
 3391|     27|            "f16vec3   addInvocationsInclusiveScanNonUniformAMD(f16vec3);"
 3392|     27|            "f16vec4   addInvocationsInclusiveScanNonUniformAMD(f16vec4);"
 3393|       |
 3394|     27|            "int16_t addInvocationsInclusiveScanNonUniformAMD(int16_t);"
 3395|     27|            "i16vec2 addInvocationsInclusiveScanNonUniformAMD(i16vec2);"
 3396|     27|            "i16vec3 addInvocationsInclusiveScanNonUniformAMD(i16vec3);"
 3397|     27|            "i16vec4 addInvocationsInclusiveScanNonUniformAMD(i16vec4);"
 3398|       |
 3399|     27|            "uint16_t addInvocationsInclusiveScanNonUniformAMD(uint16_t);"
 3400|     27|            "u16vec2  addInvocationsInclusiveScanNonUniformAMD(u16vec2);"
 3401|     27|            "u16vec3  addInvocationsInclusiveScanNonUniformAMD(u16vec3);"
 3402|     27|            "u16vec4  addInvocationsInclusiveScanNonUniformAMD(u16vec4);"
 3403|       |
 3404|     27|            "float addInvocationsExclusiveScanNonUniformAMD(float);"
 3405|     27|            "vec2  addInvocationsExclusiveScanNonUniformAMD(vec2);"
 3406|     27|            "vec3  addInvocationsExclusiveScanNonUniformAMD(vec3);"
 3407|     27|            "vec4  addInvocationsExclusiveScanNonUniformAMD(vec4);"
 3408|       |
 3409|     27|            "int   addInvocationsExclusiveScanNonUniformAMD(int);"
 3410|     27|            "ivec2 addInvocationsExclusiveScanNonUniformAMD(ivec2);"
 3411|     27|            "ivec3 addInvocationsExclusiveScanNonUniformAMD(ivec3);"
 3412|     27|            "ivec4 addInvocationsExclusiveScanNonUniformAMD(ivec4);"
 3413|       |
 3414|     27|            "uint  addInvocationsExclusiveScanNonUniformAMD(uint);"
 3415|     27|            "uvec2 addInvocationsExclusiveScanNonUniformAMD(uvec2);"
 3416|     27|            "uvec3 addInvocationsExclusiveScanNonUniformAMD(uvec3);"
 3417|     27|            "uvec4 addInvocationsExclusiveScanNonUniformAMD(uvec4);"
 3418|       |
 3419|     27|            "double addInvocationsExclusiveScanNonUniformAMD(double);"
 3420|     27|            "dvec2  addInvocationsExclusiveScanNonUniformAMD(dvec2);"
 3421|     27|            "dvec3  addInvocationsExclusiveScanNonUniformAMD(dvec3);"
 3422|     27|            "dvec4  addInvocationsExclusiveScanNonUniformAMD(dvec4);"
 3423|       |
 3424|     27|            "int64_t addInvocationsExclusiveScanNonUniformAMD(int64_t);"
 3425|     27|            "i64vec2 addInvocationsExclusiveScanNonUniformAMD(i64vec2);"
 3426|     27|            "i64vec3 addInvocationsExclusiveScanNonUniformAMD(i64vec3);"
 3427|     27|            "i64vec4 addInvocationsExclusiveScanNonUniformAMD(i64vec4);"
 3428|       |
 3429|     27|            "uint64_t addInvocationsExclusiveScanNonUniformAMD(uint64_t);"
 3430|     27|            "u64vec2  addInvocationsExclusiveScanNonUniformAMD(u64vec2);"
 3431|     27|            "u64vec3  addInvocationsExclusiveScanNonUniformAMD(u64vec3);"
 3432|     27|            "u64vec4  addInvocationsExclusiveScanNonUniformAMD(u64vec4);"
 3433|       |
 3434|     27|            "float16_t addInvocationsExclusiveScanNonUniformAMD(float16_t);"
 3435|     27|            "f16vec2   addInvocationsExclusiveScanNonUniformAMD(f16vec2);"
 3436|     27|            "f16vec3   addInvocationsExclusiveScanNonUniformAMD(f16vec3);"
 3437|     27|            "f16vec4   addInvocationsExclusiveScanNonUniformAMD(f16vec4);"
 3438|       |
 3439|     27|            "int16_t addInvocationsExclusiveScanNonUniformAMD(int16_t);"
 3440|     27|            "i16vec2 addInvocationsExclusiveScanNonUniformAMD(i16vec2);"
 3441|     27|            "i16vec3 addInvocationsExclusiveScanNonUniformAMD(i16vec3);"
 3442|     27|            "i16vec4 addInvocationsExclusiveScanNonUniformAMD(i16vec4);"
 3443|       |
 3444|     27|            "uint16_t addInvocationsExclusiveScanNonUniformAMD(uint16_t);"
 3445|     27|            "u16vec2  addInvocationsExclusiveScanNonUniformAMD(u16vec2);"
 3446|     27|            "u16vec3  addInvocationsExclusiveScanNonUniformAMD(u16vec3);"
 3447|     27|            "u16vec4  addInvocationsExclusiveScanNonUniformAMD(u16vec4);"
 3448|       |
 3449|     27|            "float swizzleInvocationsAMD(float, uvec4);"
 3450|     27|            "vec2  swizzleInvocationsAMD(vec2,  uvec4);"
 3451|     27|            "vec3  swizzleInvocationsAMD(vec3,  uvec4);"
 3452|     27|            "vec4  swizzleInvocationsAMD(vec4,  uvec4);"
 3453|       |
 3454|     27|            "int   swizzleInvocationsAMD(int,   uvec4);"
 3455|     27|            "ivec2 swizzleInvocationsAMD(ivec2, uvec4);"
 3456|     27|            "ivec3 swizzleInvocationsAMD(ivec3, uvec4);"
 3457|     27|            "ivec4 swizzleInvocationsAMD(ivec4, uvec4);"
 3458|       |
 3459|     27|            "uint  swizzleInvocationsAMD(uint,  uvec4);"
 3460|     27|            "uvec2 swizzleInvocationsAMD(uvec2, uvec4);"
 3461|     27|            "uvec3 swizzleInvocationsAMD(uvec3, uvec4);"
 3462|     27|            "uvec4 swizzleInvocationsAMD(uvec4, uvec4);"
 3463|       |
 3464|     27|            "float swizzleInvocationsMaskedAMD(float, uvec3);"
 3465|     27|            "vec2  swizzleInvocationsMaskedAMD(vec2,  uvec3);"
 3466|     27|            "vec3  swizzleInvocationsMaskedAMD(vec3,  uvec3);"
 3467|     27|            "vec4  swizzleInvocationsMaskedAMD(vec4,  uvec3);"
 3468|       |
 3469|     27|            "int   swizzleInvocationsMaskedAMD(int,   uvec3);"
 3470|     27|            "ivec2 swizzleInvocationsMaskedAMD(ivec2, uvec3);"
 3471|     27|            "ivec3 swizzleInvocationsMaskedAMD(ivec3, uvec3);"
 3472|     27|            "ivec4 swizzleInvocationsMaskedAMD(ivec4, uvec3);"
 3473|       |
 3474|     27|            "uint  swizzleInvocationsMaskedAMD(uint,  uvec3);"
 3475|     27|            "uvec2 swizzleInvocationsMaskedAMD(uvec2, uvec3);"
 3476|     27|            "uvec3 swizzleInvocationsMaskedAMD(uvec3, uvec3);"
 3477|     27|            "uvec4 swizzleInvocationsMaskedAMD(uvec4, uvec3);"
 3478|       |
 3479|     27|            "float writeInvocationAMD(float, float, uint);"
 3480|     27|            "vec2  writeInvocationAMD(vec2,  vec2,  uint);"
 3481|     27|            "vec3  writeInvocationAMD(vec3,  vec3,  uint);"
 3482|     27|            "vec4  writeInvocationAMD(vec4,  vec4,  uint);"
 3483|       |
 3484|     27|            "int   writeInvocationAMD(int,   int,   uint);"
 3485|     27|            "ivec2 writeInvocationAMD(ivec2, ivec2, uint);"
 3486|     27|            "ivec3 writeInvocationAMD(ivec3, ivec3, uint);"
 3487|     27|            "ivec4 writeInvocationAMD(ivec4, ivec4, uint);"
 3488|       |
 3489|     27|            "uint  writeInvocationAMD(uint,  uint,  uint);"
 3490|     27|            "uvec2 writeInvocationAMD(uvec2, uvec2, uint);"
 3491|     27|            "uvec3 writeInvocationAMD(uvec3, uvec3, uint);"
 3492|     27|            "uvec4 writeInvocationAMD(uvec4, uvec4, uint);"
 3493|       |
 3494|     27|            "uint mbcntAMD(uint64_t);"
 3495|       |
 3496|     27|            "\n");
 3497|     27|    }
 3498|       |
 3499|       |    // GL_AMD_gcn_shader
 3500|    107|    if (profile != EEsProfile && version >= 440) {
  ------------------
  |  Branch (3500:9): [True: 29, False: 78]
  |  Branch (3500:34): [True: 27, False: 2]
  ------------------
 3501|     27|        commonBuiltins.append(
 3502|     27|            "float cubeFaceIndexAMD(vec3);"
 3503|     27|            "vec2  cubeFaceCoordAMD(vec3);"
 3504|     27|            "uint64_t timeAMD();"
 3505|       |
 3506|     27|            "in int gl_SIMDGroupSizeAMD;"
 3507|     27|            "\n");
 3508|     27|    }
 3509|       |
 3510|       |    // GL_AMD_shader_fragment_mask
 3511|    107|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (3511:9): [True: 29, False: 78]
  |  Branch (3511:34): [True: 27, False: 2]
  ------------------
 3512|     27|        commonBuiltins.append(
 3513|     27|            "uint fragmentMaskFetchAMD(sampler2DMS,       ivec2);"
 3514|     27|            "uint fragmentMaskFetchAMD(isampler2DMS,      ivec2);"
 3515|     27|            "uint fragmentMaskFetchAMD(usampler2DMS,      ivec2);"
 3516|       |
 3517|     27|            "uint fragmentMaskFetchAMD(sampler2DMSArray,  ivec3);"
 3518|     27|            "uint fragmentMaskFetchAMD(isampler2DMSArray, ivec3);"
 3519|     27|            "uint fragmentMaskFetchAMD(usampler2DMSArray, ivec3);"
 3520|       |
 3521|     27|            "vec4  fragmentFetchAMD(sampler2DMS,       ivec2, uint);"
 3522|     27|            "ivec4 fragmentFetchAMD(isampler2DMS,      ivec2, uint);"
 3523|     27|            "uvec4 fragmentFetchAMD(usampler2DMS,      ivec2, uint);"
 3524|       |
 3525|     27|            "vec4  fragmentFetchAMD(sampler2DMSArray,  ivec3, uint);"
 3526|     27|            "ivec4 fragmentFetchAMD(isampler2DMSArray, ivec3, uint);"
 3527|     27|            "uvec4 fragmentFetchAMD(usampler2DMSArray, ivec3, uint);"
 3528|       |
 3529|     27|            "\n");
 3530|     27|    }
 3531|       |
 3532|    107|    if ((profile != EEsProfile && version >= 130) ||
  ------------------
  |  Branch (3532:10): [True: 29, False: 78]
  |  Branch (3532:35): [True: 28, False: 1]
  ------------------
 3533|     79|        (profile == EEsProfile && version >= 300)) {
  ------------------
  |  Branch (3533:10): [True: 78, False: 1]
  |  Branch (3533:35): [True: 1, False: 77]
  ------------------
 3534|     29|        commonBuiltins.append(
 3535|     29|            "uint countLeadingZeros(uint);"
 3536|     29|            "uvec2 countLeadingZeros(uvec2);"
 3537|     29|            "uvec3 countLeadingZeros(uvec3);"
 3538|     29|            "uvec4 countLeadingZeros(uvec4);"
 3539|       |
 3540|     29|            "uint countTrailingZeros(uint);"
 3541|     29|            "uvec2 countTrailingZeros(uvec2);"
 3542|     29|            "uvec3 countTrailingZeros(uvec3);"
 3543|     29|            "uvec4 countTrailingZeros(uvec4);"
 3544|       |
 3545|     29|            "uint absoluteDifference(int, int);"
 3546|     29|            "uvec2 absoluteDifference(ivec2, ivec2);"
 3547|     29|            "uvec3 absoluteDifference(ivec3, ivec3);"
 3548|     29|            "uvec4 absoluteDifference(ivec4, ivec4);"
 3549|       |
 3550|     29|            "uint16_t absoluteDifference(int16_t, int16_t);"
 3551|     29|            "u16vec2 absoluteDifference(i16vec2, i16vec2);"
 3552|     29|            "u16vec3 absoluteDifference(i16vec3, i16vec3);"
 3553|     29|            "u16vec4 absoluteDifference(i16vec4, i16vec4);"
 3554|       |
 3555|     29|            "uint64_t absoluteDifference(int64_t, int64_t);"
 3556|     29|            "u64vec2 absoluteDifference(i64vec2, i64vec2);"
 3557|     29|            "u64vec3 absoluteDifference(i64vec3, i64vec3);"
 3558|     29|            "u64vec4 absoluteDifference(i64vec4, i64vec4);"
 3559|       |
 3560|     29|            "uint absoluteDifference(uint, uint);"
 3561|     29|            "uvec2 absoluteDifference(uvec2, uvec2);"
 3562|     29|            "uvec3 absoluteDifference(uvec3, uvec3);"
 3563|     29|            "uvec4 absoluteDifference(uvec4, uvec4);"
 3564|       |
 3565|     29|            "uint16_t absoluteDifference(uint16_t, uint16_t);"
 3566|     29|            "u16vec2 absoluteDifference(u16vec2, u16vec2);"
 3567|     29|            "u16vec3 absoluteDifference(u16vec3, u16vec3);"
 3568|     29|            "u16vec4 absoluteDifference(u16vec4, u16vec4);"
 3569|       |
 3570|     29|            "uint64_t absoluteDifference(uint64_t, uint64_t);"
 3571|     29|            "u64vec2 absoluteDifference(u64vec2, u64vec2);"
 3572|     29|            "u64vec3 absoluteDifference(u64vec3, u64vec3);"
 3573|     29|            "u64vec4 absoluteDifference(u64vec4, u64vec4);"
 3574|       |
 3575|     29|            "int addSaturate(int, int);"
 3576|     29|            "ivec2 addSaturate(ivec2, ivec2);"
 3577|     29|            "ivec3 addSaturate(ivec3, ivec3);"
 3578|     29|            "ivec4 addSaturate(ivec4, ivec4);"
 3579|       |
 3580|     29|            "int16_t addSaturate(int16_t, int16_t);"
 3581|     29|            "i16vec2 addSaturate(i16vec2, i16vec2);"
 3582|     29|            "i16vec3 addSaturate(i16vec3, i16vec3);"
 3583|     29|            "i16vec4 addSaturate(i16vec4, i16vec4);"
 3584|       |
 3585|     29|            "int64_t addSaturate(int64_t, int64_t);"
 3586|     29|            "i64vec2 addSaturate(i64vec2, i64vec2);"
 3587|     29|            "i64vec3 addSaturate(i64vec3, i64vec3);"
 3588|     29|            "i64vec4 addSaturate(i64vec4, i64vec4);"
 3589|       |
 3590|     29|            "uint addSaturate(uint, uint);"
 3591|     29|            "uvec2 addSaturate(uvec2, uvec2);"
 3592|     29|            "uvec3 addSaturate(uvec3, uvec3);"
 3593|     29|            "uvec4 addSaturate(uvec4, uvec4);"
 3594|       |
 3595|     29|            "uint16_t addSaturate(uint16_t, uint16_t);"
 3596|     29|            "u16vec2 addSaturate(u16vec2, u16vec2);"
 3597|     29|            "u16vec3 addSaturate(u16vec3, u16vec3);"
 3598|     29|            "u16vec4 addSaturate(u16vec4, u16vec4);"
 3599|       |
 3600|     29|            "uint64_t addSaturate(uint64_t, uint64_t);"
 3601|     29|            "u64vec2 addSaturate(u64vec2, u64vec2);"
 3602|     29|            "u64vec3 addSaturate(u64vec3, u64vec3);"
 3603|     29|            "u64vec4 addSaturate(u64vec4, u64vec4);"
 3604|       |
 3605|     29|            "int subtractSaturate(int, int);"
 3606|     29|            "ivec2 subtractSaturate(ivec2, ivec2);"
 3607|     29|            "ivec3 subtractSaturate(ivec3, ivec3);"
 3608|     29|            "ivec4 subtractSaturate(ivec4, ivec4);"
 3609|       |
 3610|     29|            "int16_t subtractSaturate(int16_t, int16_t);"
 3611|     29|            "i16vec2 subtractSaturate(i16vec2, i16vec2);"
 3612|     29|            "i16vec3 subtractSaturate(i16vec3, i16vec3);"
 3613|     29|            "i16vec4 subtractSaturate(i16vec4, i16vec4);"
 3614|       |
 3615|     29|            "int64_t subtractSaturate(int64_t, int64_t);"
 3616|     29|            "i64vec2 subtractSaturate(i64vec2, i64vec2);"
 3617|     29|            "i64vec3 subtractSaturate(i64vec3, i64vec3);"
 3618|     29|            "i64vec4 subtractSaturate(i64vec4, i64vec4);"
 3619|       |
 3620|     29|            "uint subtractSaturate(uint, uint);"
 3621|     29|            "uvec2 subtractSaturate(uvec2, uvec2);"
 3622|     29|            "uvec3 subtractSaturate(uvec3, uvec3);"
 3623|     29|            "uvec4 subtractSaturate(uvec4, uvec4);"
 3624|       |
 3625|     29|            "uint16_t subtractSaturate(uint16_t, uint16_t);"
 3626|     29|            "u16vec2 subtractSaturate(u16vec2, u16vec2);"
 3627|     29|            "u16vec3 subtractSaturate(u16vec3, u16vec3);"
 3628|     29|            "u16vec4 subtractSaturate(u16vec4, u16vec4);"
 3629|       |
 3630|     29|            "uint64_t subtractSaturate(uint64_t, uint64_t);"
 3631|     29|            "u64vec2 subtractSaturate(u64vec2, u64vec2);"
 3632|     29|            "u64vec3 subtractSaturate(u64vec3, u64vec3);"
 3633|     29|            "u64vec4 subtractSaturate(u64vec4, u64vec4);"
 3634|       |
 3635|     29|            "int average(int, int);"
 3636|     29|            "ivec2 average(ivec2, ivec2);"
 3637|     29|            "ivec3 average(ivec3, ivec3);"
 3638|     29|            "ivec4 average(ivec4, ivec4);"
 3639|       |
 3640|     29|            "int16_t average(int16_t, int16_t);"
 3641|     29|            "i16vec2 average(i16vec2, i16vec2);"
 3642|     29|            "i16vec3 average(i16vec3, i16vec3);"
 3643|     29|            "i16vec4 average(i16vec4, i16vec4);"
 3644|       |
 3645|     29|            "int64_t average(int64_t, int64_t);"
 3646|     29|            "i64vec2 average(i64vec2, i64vec2);"
 3647|     29|            "i64vec3 average(i64vec3, i64vec3);"
 3648|     29|            "i64vec4 average(i64vec4, i64vec4);"
 3649|       |
 3650|     29|            "uint average(uint, uint);"
 3651|     29|            "uvec2 average(uvec2, uvec2);"
 3652|     29|            "uvec3 average(uvec3, uvec3);"
 3653|     29|            "uvec4 average(uvec4, uvec4);"
 3654|       |
 3655|     29|            "uint16_t average(uint16_t, uint16_t);"
 3656|     29|            "u16vec2 average(u16vec2, u16vec2);"
 3657|     29|            "u16vec3 average(u16vec3, u16vec3);"
 3658|     29|            "u16vec4 average(u16vec4, u16vec4);"
 3659|       |
 3660|     29|            "uint64_t average(uint64_t, uint64_t);"
 3661|     29|            "u64vec2 average(u64vec2, u64vec2);"
 3662|     29|            "u64vec3 average(u64vec3, u64vec3);"
 3663|     29|            "u64vec4 average(u64vec4, u64vec4);"
 3664|       |
 3665|     29|            "int averageRounded(int, int);"
 3666|     29|            "ivec2 averageRounded(ivec2, ivec2);"
 3667|     29|            "ivec3 averageRounded(ivec3, ivec3);"
 3668|     29|            "ivec4 averageRounded(ivec4, ivec4);"
 3669|       |
 3670|     29|            "int16_t averageRounded(int16_t, int16_t);"
 3671|     29|            "i16vec2 averageRounded(i16vec2, i16vec2);"
 3672|     29|            "i16vec3 averageRounded(i16vec3, i16vec3);"
 3673|     29|            "i16vec4 averageRounded(i16vec4, i16vec4);"
 3674|       |
 3675|     29|            "int64_t averageRounded(int64_t, int64_t);"
 3676|     29|            "i64vec2 averageRounded(i64vec2, i64vec2);"
 3677|     29|            "i64vec3 averageRounded(i64vec3, i64vec3);"
 3678|     29|            "i64vec4 averageRounded(i64vec4, i64vec4);"
 3679|       |
 3680|     29|            "uint averageRounded(uint, uint);"
 3681|     29|            "uvec2 averageRounded(uvec2, uvec2);"
 3682|     29|            "uvec3 averageRounded(uvec3, uvec3);"
 3683|     29|            "uvec4 averageRounded(uvec4, uvec4);"
 3684|       |
 3685|     29|            "uint16_t averageRounded(uint16_t, uint16_t);"
 3686|     29|            "u16vec2 averageRounded(u16vec2, u16vec2);"
 3687|     29|            "u16vec3 averageRounded(u16vec3, u16vec3);"
 3688|     29|            "u16vec4 averageRounded(u16vec4, u16vec4);"
 3689|       |
 3690|     29|            "uint64_t averageRounded(uint64_t, uint64_t);"
 3691|     29|            "u64vec2 averageRounded(u64vec2, u64vec2);"
 3692|     29|            "u64vec3 averageRounded(u64vec3, u64vec3);"
 3693|     29|            "u64vec4 averageRounded(u64vec4, u64vec4);"
 3694|       |
 3695|     29|            "int multiply32x16(int, int);"
 3696|     29|            "ivec2 multiply32x16(ivec2, ivec2);"
 3697|     29|            "ivec3 multiply32x16(ivec3, ivec3);"
 3698|     29|            "ivec4 multiply32x16(ivec4, ivec4);"
 3699|       |
 3700|     29|            "uint multiply32x16(uint, uint);"
 3701|     29|            "uvec2 multiply32x16(uvec2, uvec2);"
 3702|     29|            "uvec3 multiply32x16(uvec3, uvec3);"
 3703|     29|            "uvec4 multiply32x16(uvec4, uvec4);"
 3704|     29|            "\n");
 3705|     29|    }
 3706|       |
 3707|    107|    if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (3707:10): [True: 29, False: 78]
  |  Branch (3707:35): [True: 27, False: 2]
  ------------------
 3708|     80|        (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (3708:10): [True: 78, False: 2]
  |  Branch (3708:35): [True: 0, False: 78]
  ------------------
 3709|     27|        commonBuiltins.append(
 3710|     27|            "struct gl_TextureFootprint2DNV {"
 3711|     27|                "uvec2 anchor;"
 3712|     27|                "uvec2 offset;"
 3713|     27|                "uvec2 mask;"
 3714|     27|                "uint lod;"
 3715|     27|                "uint granularity;"
 3716|     27|            "};"
 3717|       |
 3718|     27|            "struct gl_TextureFootprint3DNV {"
 3719|     27|                "uvec3 anchor;"
 3720|     27|                "uvec3 offset;"
 3721|     27|                "uvec2 mask;"
 3722|     27|                "uint lod;"
 3723|     27|                "uint granularity;"
 3724|     27|            "};"
 3725|     27|            "bool textureFootprintNV(sampler2D, vec2, int, bool, out gl_TextureFootprint2DNV);"
 3726|     27|            "bool textureFootprintNV(sampler3D, vec3, int, bool, out gl_TextureFootprint3DNV);"
 3727|     27|            "bool textureFootprintNV(sampler2D, vec2, int, bool, out gl_TextureFootprint2DNV, float);"
 3728|     27|            "bool textureFootprintNV(sampler3D, vec3, int, bool, out gl_TextureFootprint3DNV, float);"
 3729|     27|            "bool textureFootprintClampNV(sampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3730|     27|            "bool textureFootprintClampNV(sampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV);"
 3731|     27|            "bool textureFootprintClampNV(sampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV, float);"
 3732|     27|            "bool textureFootprintClampNV(sampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV, float);"
 3733|     27|            "bool textureFootprintLodNV(sampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3734|     27|            "bool textureFootprintLodNV(sampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV);"
 3735|     27|            "bool textureFootprintGradNV(sampler2D, vec2, vec2, vec2, int, bool, out gl_TextureFootprint2DNV);"
 3736|     27|            "bool textureFootprintGradClampNV(sampler2D, vec2, vec2, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3737|     27|            "\n");
 3738|     27|    }
 3739|       |
 3740|    107|    if ((profile == EEsProfile && version >= 300 && version < 310) ||
  ------------------
  |  Branch (3740:10): [True: 78, False: 29]
  |  Branch (3740:35): [True: 1, False: 77]
  |  Branch (3740:53): [True: 1, False: 0]
  ------------------
 3741|    106|        (profile != EEsProfile && version >= 150 && version < 450)) { // GL_EXT_shader_integer_mix
  ------------------
  |  Branch (3741:10): [True: 29, False: 77]
  |  Branch (3741:35): [True: 28, False: 1]
  |  Branch (3741:53): [True: 1, False: 27]
  ------------------
 3742|      2|        commonBuiltins.append("int mix(int, int, bool);"
 3743|      2|                              "ivec2 mix(ivec2, ivec2, bvec2);"
 3744|      2|                              "ivec3 mix(ivec3, ivec3, bvec3);"
 3745|      2|                              "ivec4 mix(ivec4, ivec4, bvec4);"
 3746|      2|                              "uint  mix(uint,  uint,  bool );"
 3747|      2|                              "uvec2 mix(uvec2, uvec2, bvec2);"
 3748|      2|                              "uvec3 mix(uvec3, uvec3, bvec3);"
 3749|      2|                              "uvec4 mix(uvec4, uvec4, bvec4);"
 3750|      2|                              "bool  mix(bool,  bool,  bool );"
 3751|      2|                              "bvec2 mix(bvec2, bvec2, bvec2);"
 3752|      2|                              "bvec3 mix(bvec3, bvec3, bvec3);"
 3753|      2|                              "bvec4 mix(bvec4, bvec4, bvec4);"
 3754|       |
 3755|      2|                              "\n");
 3756|      2|    }
 3757|       |
 3758|       |    // GL_AMD_gpu_shader_half_float/Explicit types
 3759|    107|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (3759:10): [True: 29, False: 78]
  |  Branch (3759:35): [True: 27, False: 2]
  |  Branch (3759:55): [True: 78, False: 2]
  |  Branch (3759:80): [True: 0, False: 78]
  ------------------
 3760|     27|        commonBuiltins.append(
 3761|     27|            "float16_t radians(float16_t);"
 3762|     27|            "f16vec2   radians(f16vec2);"
 3763|     27|            "f16vec3   radians(f16vec3);"
 3764|     27|            "f16vec4   radians(f16vec4);"
 3765|       |
 3766|     27|            "float16_t degrees(float16_t);"
 3767|     27|            "f16vec2   degrees(f16vec2);"
 3768|     27|            "f16vec3   degrees(f16vec3);"
 3769|     27|            "f16vec4   degrees(f16vec4);"
 3770|       |
 3771|     27|            "float16_t sin(float16_t);"
 3772|     27|            "f16vec2   sin(f16vec2);"
 3773|     27|            "f16vec3   sin(f16vec3);"
 3774|     27|            "f16vec4   sin(f16vec4);"
 3775|       |
 3776|     27|            "float16_t cos(float16_t);"
 3777|     27|            "f16vec2   cos(f16vec2);"
 3778|     27|            "f16vec3   cos(f16vec3);"
 3779|     27|            "f16vec4   cos(f16vec4);"
 3780|       |
 3781|     27|            "float16_t tan(float16_t);"
 3782|     27|            "f16vec2   tan(f16vec2);"
 3783|     27|            "f16vec3   tan(f16vec3);"
 3784|     27|            "f16vec4   tan(f16vec4);"
 3785|       |
 3786|     27|            "float16_t asin(float16_t);"
 3787|     27|            "f16vec2   asin(f16vec2);"
 3788|     27|            "f16vec3   asin(f16vec3);"
 3789|     27|            "f16vec4   asin(f16vec4);"
 3790|       |
 3791|     27|            "float16_t acos(float16_t);"
 3792|     27|            "f16vec2   acos(f16vec2);"
 3793|     27|            "f16vec3   acos(f16vec3);"
 3794|     27|            "f16vec4   acos(f16vec4);"
 3795|       |
 3796|     27|            "float16_t atan(float16_t, float16_t);"
 3797|     27|            "f16vec2   atan(f16vec2,   f16vec2);"
 3798|     27|            "f16vec3   atan(f16vec3,   f16vec3);"
 3799|     27|            "f16vec4   atan(f16vec4,   f16vec4);"
 3800|       |
 3801|     27|            "float16_t atan(float16_t);"
 3802|     27|            "f16vec2   atan(f16vec2);"
 3803|     27|            "f16vec3   atan(f16vec3);"
 3804|     27|            "f16vec4   atan(f16vec4);"
 3805|       |
 3806|     27|            "float16_t sinh(float16_t);"
 3807|     27|            "f16vec2   sinh(f16vec2);"
 3808|     27|            "f16vec3   sinh(f16vec3);"
 3809|     27|            "f16vec4   sinh(f16vec4);"
 3810|       |
 3811|     27|            "float16_t cosh(float16_t);"
 3812|     27|            "f16vec2   cosh(f16vec2);"
 3813|     27|            "f16vec3   cosh(f16vec3);"
 3814|     27|            "f16vec4   cosh(f16vec4);"
 3815|       |
 3816|     27|            "float16_t tanh(float16_t);"
 3817|     27|            "f16vec2   tanh(f16vec2);"
 3818|     27|            "f16vec3   tanh(f16vec3);"
 3819|     27|            "f16vec4   tanh(f16vec4);"
 3820|       |
 3821|     27|            "float16_t asinh(float16_t);"
 3822|     27|            "f16vec2   asinh(f16vec2);"
 3823|     27|            "f16vec3   asinh(f16vec3);"
 3824|     27|            "f16vec4   asinh(f16vec4);"
 3825|       |
 3826|     27|            "float16_t acosh(float16_t);"
 3827|     27|            "f16vec2   acosh(f16vec2);"
 3828|     27|            "f16vec3   acosh(f16vec3);"
 3829|     27|            "f16vec4   acosh(f16vec4);"
 3830|       |
 3831|     27|            "float16_t atanh(float16_t);"
 3832|     27|            "f16vec2   atanh(f16vec2);"
 3833|     27|            "f16vec3   atanh(f16vec3);"
 3834|     27|            "f16vec4   atanh(f16vec4);"
 3835|       |
 3836|     27|            "float16_t pow(float16_t, float16_t);"
 3837|     27|            "f16vec2   pow(f16vec2,   f16vec2);"
 3838|     27|            "f16vec3   pow(f16vec3,   f16vec3);"
 3839|     27|            "f16vec4   pow(f16vec4,   f16vec4);"
 3840|       |
 3841|     27|            "float16_t exp(float16_t);"
 3842|     27|            "f16vec2   exp(f16vec2);"
 3843|     27|            "f16vec3   exp(f16vec3);"
 3844|     27|            "f16vec4   exp(f16vec4);"
 3845|       |
 3846|     27|            "float16_t log(float16_t);"
 3847|     27|            "f16vec2   log(f16vec2);"
 3848|     27|            "f16vec3   log(f16vec3);"
 3849|     27|            "f16vec4   log(f16vec4);"
 3850|       |
 3851|     27|            "float16_t exp2(float16_t);"
 3852|     27|            "f16vec2   exp2(f16vec2);"
 3853|     27|            "f16vec3   exp2(f16vec3);"
 3854|     27|            "f16vec4   exp2(f16vec4);"
 3855|       |
 3856|     27|            "float16_t log2(float16_t);"
 3857|     27|            "f16vec2   log2(f16vec2);"
 3858|     27|            "f16vec3   log2(f16vec3);"
 3859|     27|            "f16vec4   log2(f16vec4);"
 3860|       |
 3861|     27|            "float16_t sqrt(float16_t);"
 3862|     27|            "f16vec2   sqrt(f16vec2);"
 3863|     27|            "f16vec3   sqrt(f16vec3);"
 3864|     27|            "f16vec4   sqrt(f16vec4);"
 3865|       |
 3866|     27|            "float16_t inversesqrt(float16_t);"
 3867|     27|            "f16vec2   inversesqrt(f16vec2);"
 3868|     27|            "f16vec3   inversesqrt(f16vec3);"
 3869|     27|            "f16vec4   inversesqrt(f16vec4);"
 3870|       |
 3871|     27|            "float16_t abs(float16_t);"
 3872|     27|            "f16vec2   abs(f16vec2);"
 3873|     27|            "f16vec3   abs(f16vec3);"
 3874|     27|            "f16vec4   abs(f16vec4);"
 3875|       |
 3876|     27|            "float16_t sign(float16_t);"
 3877|     27|            "f16vec2   sign(f16vec2);"
 3878|     27|            "f16vec3   sign(f16vec3);"
 3879|     27|            "f16vec4   sign(f16vec4);"
 3880|       |
 3881|     27|            "float16_t floor(float16_t);"
 3882|     27|            "f16vec2   floor(f16vec2);"
 3883|     27|            "f16vec3   floor(f16vec3);"
 3884|     27|            "f16vec4   floor(f16vec4);"
 3885|       |
 3886|     27|            "float16_t trunc(float16_t);"
 3887|     27|            "f16vec2   trunc(f16vec2);"
 3888|     27|            "f16vec3   trunc(f16vec3);"
 3889|     27|            "f16vec4   trunc(f16vec4);"
 3890|       |
 3891|     27|            "float16_t round(float16_t);"
 3892|     27|            "f16vec2   round(f16vec2);"
 3893|     27|            "f16vec3   round(f16vec3);"
 3894|     27|            "f16vec4   round(f16vec4);"
 3895|       |
 3896|     27|            "float16_t roundEven(float16_t);"
 3897|     27|            "f16vec2   roundEven(f16vec2);"
 3898|     27|            "f16vec3   roundEven(f16vec3);"
 3899|     27|            "f16vec4   roundEven(f16vec4);"
 3900|       |
 3901|     27|            "float16_t ceil(float16_t);"
 3902|     27|            "f16vec2   ceil(f16vec2);"
 3903|     27|            "f16vec3   ceil(f16vec3);"
 3904|     27|            "f16vec4   ceil(f16vec4);"
 3905|       |
 3906|     27|            "float16_t fract(float16_t);"
 3907|     27|            "f16vec2   fract(f16vec2);"
 3908|     27|            "f16vec3   fract(f16vec3);"
 3909|     27|            "f16vec4   fract(f16vec4);"
 3910|       |
 3911|     27|            "float16_t mod(float16_t, float16_t);"
 3912|     27|            "f16vec2   mod(f16vec2,   float16_t);"
 3913|     27|            "f16vec3   mod(f16vec3,   float16_t);"
 3914|     27|            "f16vec4   mod(f16vec4,   float16_t);"
 3915|     27|            "f16vec2   mod(f16vec2,   f16vec2);"
 3916|     27|            "f16vec3   mod(f16vec3,   f16vec3);"
 3917|     27|            "f16vec4   mod(f16vec4,   f16vec4);"
 3918|       |
 3919|     27|            "float16_t modf(float16_t, out float16_t);"
 3920|     27|            "f16vec2   modf(f16vec2,   out f16vec2);"
 3921|     27|            "f16vec3   modf(f16vec3,   out f16vec3);"
 3922|     27|            "f16vec4   modf(f16vec4,   out f16vec4);"
 3923|       |
 3924|     27|            "float16_t min(float16_t, float16_t);"
 3925|     27|            "f16vec2   min(f16vec2,   float16_t);"
 3926|     27|            "f16vec3   min(f16vec3,   float16_t);"
 3927|     27|            "f16vec4   min(f16vec4,   float16_t);"
 3928|     27|            "f16vec2   min(f16vec2,   f16vec2);"
 3929|     27|            "f16vec3   min(f16vec3,   f16vec3);"
 3930|     27|            "f16vec4   min(f16vec4,   f16vec4);"
 3931|       |
 3932|     27|            "float16_t max(float16_t, float16_t);"
 3933|     27|            "f16vec2   max(f16vec2,   float16_t);"
 3934|     27|            "f16vec3   max(f16vec3,   float16_t);"
 3935|     27|            "f16vec4   max(f16vec4,   float16_t);"
 3936|     27|            "f16vec2   max(f16vec2,   f16vec2);"
 3937|     27|            "f16vec3   max(f16vec3,   f16vec3);"
 3938|     27|            "f16vec4   max(f16vec4,   f16vec4);"
 3939|       |
 3940|     27|            "float16_t clamp(float16_t, float16_t, float16_t);"
 3941|     27|            "f16vec2   clamp(f16vec2,   float16_t, float16_t);"
 3942|     27|            "f16vec3   clamp(f16vec3,   float16_t, float16_t);"
 3943|     27|            "f16vec4   clamp(f16vec4,   float16_t, float16_t);"
 3944|     27|            "f16vec2   clamp(f16vec2,   f16vec2,   f16vec2);"
 3945|     27|            "f16vec3   clamp(f16vec3,   f16vec3,   f16vec3);"
 3946|     27|            "f16vec4   clamp(f16vec4,   f16vec4,   f16vec4);"
 3947|       |
 3948|     27|            "float16_t mix(float16_t, float16_t, float16_t);"
 3949|     27|            "f16vec2   mix(f16vec2,   f16vec2,   float16_t);"
 3950|     27|            "f16vec3   mix(f16vec3,   f16vec3,   float16_t);"
 3951|     27|            "f16vec4   mix(f16vec4,   f16vec4,   float16_t);"
 3952|     27|            "f16vec2   mix(f16vec2,   f16vec2,   f16vec2);"
 3953|     27|            "f16vec3   mix(f16vec3,   f16vec3,   f16vec3);"
 3954|     27|            "f16vec4   mix(f16vec4,   f16vec4,   f16vec4);"
 3955|     27|            "float16_t mix(float16_t, float16_t, bool);"
 3956|     27|            "f16vec2   mix(f16vec2,   f16vec2,   bvec2);"
 3957|     27|            "f16vec3   mix(f16vec3,   f16vec3,   bvec3);"
 3958|     27|            "f16vec4   mix(f16vec4,   f16vec4,   bvec4);"
 3959|       |
 3960|     27|            "float16_t step(float16_t, float16_t);"
 3961|     27|            "f16vec2   step(f16vec2,   f16vec2);"
 3962|     27|            "f16vec3   step(f16vec3,   f16vec3);"
 3963|     27|            "f16vec4   step(f16vec4,   f16vec4);"
 3964|     27|            "f16vec2   step(float16_t, f16vec2);"
 3965|     27|            "f16vec3   step(float16_t, f16vec3);"
 3966|     27|            "f16vec4   step(float16_t, f16vec4);"
 3967|       |
 3968|     27|            "float16_t smoothstep(float16_t, float16_t, float16_t);"
 3969|     27|            "f16vec2   smoothstep(f16vec2,   f16vec2,   f16vec2);"
 3970|     27|            "f16vec3   smoothstep(f16vec3,   f16vec3,   f16vec3);"
 3971|     27|            "f16vec4   smoothstep(f16vec4,   f16vec4,   f16vec4);"
 3972|     27|            "f16vec2   smoothstep(float16_t, float16_t, f16vec2);"
 3973|     27|            "f16vec3   smoothstep(float16_t, float16_t, f16vec3);"
 3974|     27|            "f16vec4   smoothstep(float16_t, float16_t, f16vec4);"
 3975|       |
 3976|     27|            "bool  isnan(float16_t);"
 3977|     27|            "bvec2 isnan(f16vec2);"
 3978|     27|            "bvec3 isnan(f16vec3);"
 3979|     27|            "bvec4 isnan(f16vec4);"
 3980|       |
 3981|     27|            "bool  isinf(float16_t);"
 3982|     27|            "bvec2 isinf(f16vec2);"
 3983|     27|            "bvec3 isinf(f16vec3);"
 3984|     27|            "bvec4 isinf(f16vec4);"
 3985|       |
 3986|     27|            "float16_t fma(float16_t, float16_t, float16_t);"
 3987|     27|            "f16vec2   fma(f16vec2,   f16vec2,   f16vec2);"
 3988|     27|            "f16vec3   fma(f16vec3,   f16vec3,   f16vec3);"
 3989|     27|            "f16vec4   fma(f16vec4,   f16vec4,   f16vec4);"
 3990|       |
 3991|     27|            "float16_t frexp(float16_t, out int);"
 3992|     27|            "f16vec2   frexp(f16vec2,   out ivec2);"
 3993|     27|            "f16vec3   frexp(f16vec3,   out ivec3);"
 3994|     27|            "f16vec4   frexp(f16vec4,   out ivec4);"
 3995|       |
 3996|     27|            "float16_t ldexp(float16_t, in int);"
 3997|     27|            "f16vec2   ldexp(f16vec2,   in ivec2);"
 3998|     27|            "f16vec3   ldexp(f16vec3,   in ivec3);"
 3999|     27|            "f16vec4   ldexp(f16vec4,   in ivec4);"
 4000|       |
 4001|     27|            "uint    packFloat2x16(f16vec2);"
 4002|     27|            "f16vec2 unpackFloat2x16(uint);"
 4003|       |
 4004|     27|            "float16_t length(float16_t);"
 4005|     27|            "float16_t length(f16vec2);"
 4006|     27|            "float16_t length(f16vec3);"
 4007|     27|            "float16_t length(f16vec4);"
 4008|       |
 4009|     27|            "float16_t distance(float16_t, float16_t);"
 4010|     27|            "float16_t distance(f16vec2,   f16vec2);"
 4011|     27|            "float16_t distance(f16vec3,   f16vec3);"
 4012|     27|            "float16_t distance(f16vec4,   f16vec4);"
 4013|       |
 4014|     27|            "float16_t dot(float16_t, float16_t);"
 4015|     27|            "float16_t dot(f16vec2,   f16vec2);"
 4016|     27|            "float16_t dot(f16vec3,   f16vec3);"
 4017|     27|            "float16_t dot(f16vec4,   f16vec4);"
 4018|       |
 4019|     27|            "f16vec3 cross(f16vec3, f16vec3);"
 4020|       |
 4021|     27|            "float16_t normalize(float16_t);"
 4022|     27|            "f16vec2   normalize(f16vec2);"
 4023|     27|            "f16vec3   normalize(f16vec3);"
 4024|     27|            "f16vec4   normalize(f16vec4);"
 4025|       |
 4026|     27|            "float16_t faceforward(float16_t, float16_t, float16_t);"
 4027|     27|            "f16vec2   faceforward(f16vec2,   f16vec2,   f16vec2);"
 4028|     27|            "f16vec3   faceforward(f16vec3,   f16vec3,   f16vec3);"
 4029|     27|            "f16vec4   faceforward(f16vec4,   f16vec4,   f16vec4);"
 4030|       |
 4031|     27|            "float16_t reflect(float16_t, float16_t);"
 4032|     27|            "f16vec2   reflect(f16vec2,   f16vec2);"
 4033|     27|            "f16vec3   reflect(f16vec3,   f16vec3);"
 4034|     27|            "f16vec4   reflect(f16vec4,   f16vec4);"
 4035|       |
 4036|     27|            "float16_t refract(float16_t, float16_t, float16_t);"
 4037|     27|            "f16vec2   refract(f16vec2,   f16vec2,   float16_t);"
 4038|     27|            "f16vec3   refract(f16vec3,   f16vec3,   float16_t);"
 4039|     27|            "f16vec4   refract(f16vec4,   f16vec4,   float16_t);"
 4040|       |
 4041|     27|            "f16mat2   matrixCompMult(f16mat2,   f16mat2);"
 4042|     27|            "f16mat3   matrixCompMult(f16mat3,   f16mat3);"
 4043|     27|            "f16mat4   matrixCompMult(f16mat4,   f16mat4);"
 4044|     27|            "f16mat2x3 matrixCompMult(f16mat2x3, f16mat2x3);"
 4045|     27|            "f16mat2x4 matrixCompMult(f16mat2x4, f16mat2x4);"
 4046|     27|            "f16mat3x2 matrixCompMult(f16mat3x2, f16mat3x2);"
 4047|     27|            "f16mat3x4 matrixCompMult(f16mat3x4, f16mat3x4);"
 4048|     27|            "f16mat4x2 matrixCompMult(f16mat4x2, f16mat4x2);"
 4049|     27|            "f16mat4x3 matrixCompMult(f16mat4x3, f16mat4x3);"
 4050|       |
 4051|     27|            "f16mat2   outerProduct(f16vec2, f16vec2);"
 4052|     27|            "f16mat3   outerProduct(f16vec3, f16vec3);"
 4053|     27|            "f16mat4   outerProduct(f16vec4, f16vec4);"
 4054|     27|            "f16mat2x3 outerProduct(f16vec3, f16vec2);"
 4055|     27|            "f16mat3x2 outerProduct(f16vec2, f16vec3);"
 4056|     27|            "f16mat2x4 outerProduct(f16vec4, f16vec2);"
 4057|     27|            "f16mat4x2 outerProduct(f16vec2, f16vec4);"
 4058|     27|            "f16mat3x4 outerProduct(f16vec4, f16vec3);"
 4059|     27|            "f16mat4x3 outerProduct(f16vec3, f16vec4);"
 4060|       |
 4061|     27|            "f16mat2   transpose(f16mat2);"
 4062|     27|            "f16mat3   transpose(f16mat3);"
 4063|     27|            "f16mat4   transpose(f16mat4);"
 4064|     27|            "f16mat2x3 transpose(f16mat3x2);"
 4065|     27|            "f16mat3x2 transpose(f16mat2x3);"
 4066|     27|            "f16mat2x4 transpose(f16mat4x2);"
 4067|     27|            "f16mat4x2 transpose(f16mat2x4);"
 4068|     27|            "f16mat3x4 transpose(f16mat4x3);"
 4069|     27|            "f16mat4x3 transpose(f16mat3x4);"
 4070|       |
 4071|     27|            "float16_t determinant(f16mat2);"
 4072|     27|            "float16_t determinant(f16mat3);"
 4073|     27|            "float16_t determinant(f16mat4);"
 4074|       |
 4075|     27|            "f16mat2 inverse(f16mat2);"
 4076|     27|            "f16mat3 inverse(f16mat3);"
 4077|     27|            "f16mat4 inverse(f16mat4);"
 4078|       |
 4079|     27|            "bvec2 lessThan(f16vec2, f16vec2);"
 4080|     27|            "bvec3 lessThan(f16vec3, f16vec3);"
 4081|     27|            "bvec4 lessThan(f16vec4, f16vec4);"
 4082|       |
 4083|     27|            "bvec2 lessThanEqual(f16vec2, f16vec2);"
 4084|     27|            "bvec3 lessThanEqual(f16vec3, f16vec3);"
 4085|     27|            "bvec4 lessThanEqual(f16vec4, f16vec4);"
 4086|       |
 4087|     27|            "bvec2 greaterThan(f16vec2, f16vec2);"
 4088|     27|            "bvec3 greaterThan(f16vec3, f16vec3);"
 4089|     27|            "bvec4 greaterThan(f16vec4, f16vec4);"
 4090|       |
 4091|     27|            "bvec2 greaterThanEqual(f16vec2, f16vec2);"
 4092|     27|            "bvec3 greaterThanEqual(f16vec3, f16vec3);"
 4093|     27|            "bvec4 greaterThanEqual(f16vec4, f16vec4);"
 4094|       |
 4095|     27|            "bvec2 equal(f16vec2, f16vec2);"
 4096|     27|            "bvec3 equal(f16vec3, f16vec3);"
 4097|     27|            "bvec4 equal(f16vec4, f16vec4);"
 4098|       |
 4099|     27|            "bvec2 notEqual(f16vec2, f16vec2);"
 4100|     27|            "bvec3 notEqual(f16vec3, f16vec3);"
 4101|     27|            "bvec4 notEqual(f16vec4, f16vec4);"
 4102|       |
 4103|     27|            "bfloat16_t dot(bfloat16_t, bfloat16_t);"
 4104|     27|            "bfloat16_t dot(bf16vec2,   bf16vec2);"
 4105|     27|            "bfloat16_t dot(bf16vec3,   bf16vec3);"
 4106|     27|            "bfloat16_t dot(bf16vec4,   bf16vec4);"
 4107|       |
 4108|     27|            "int16_t  bfloat16BitsToIntEXT(bfloat16_t value);"
 4109|     27|            "i16vec2  bfloat16BitsToIntEXT(bf16vec2 value);"
 4110|     27|            "i16vec3  bfloat16BitsToIntEXT(bf16vec3 value);"
 4111|     27|            "i16vec4  bfloat16BitsToIntEXT(bf16vec4 value);"
 4112|       |
 4113|     27|            "uint16_t bfloat16BitsToUintEXT(bfloat16_t value);"
 4114|     27|            "u16vec2  bfloat16BitsToUintEXT(bf16vec2 value);"
 4115|     27|            "u16vec3  bfloat16BitsToUintEXT(bf16vec3 value);"
 4116|     27|            "u16vec4  bfloat16BitsToUintEXT(bf16vec4 value);"
 4117|       |
 4118|     27|            "bfloat16_t intBitsToBFloat16EXT(int16_t value);"
 4119|     27|            "bf16vec2   intBitsToBFloat16EXT(i16vec2 value);"
 4120|     27|            "bf16vec3   intBitsToBFloat16EXT(i16vec3 value);"
 4121|     27|            "bf16vec4   intBitsToBFloat16EXT(i16vec4 value);"
 4122|       |
 4123|     27|            "bfloat16_t uintBitsToBFloat16EXT(uint16_t value);"
 4124|     27|            "bf16vec2   uintBitsToBFloat16EXT(u16vec2 value);"
 4125|     27|            "bf16vec3   uintBitsToBFloat16EXT(u16vec3 value);"
 4126|     27|            "bf16vec4   uintBitsToBFloat16EXT(u16vec4 value);"
 4127|       |
 4128|     27|            "int8_t  floate5m2BitsToIntEXT(floate5m2_t value);"
 4129|     27|            "i8vec2  floate5m2BitsToIntEXT(fe5m2vec2 value);"
 4130|     27|            "i8vec3  floate5m2BitsToIntEXT(fe5m2vec3 value);"
 4131|     27|            "i8vec4  floate5m2BitsToIntEXT(fe5m2vec4 value);"
 4132|       |
 4133|     27|            "uint8_t floate5m2BitsToUintEXT(floate5m2_t value);"
 4134|     27|            "u8vec2  floate5m2BitsToUintEXT(fe5m2vec2 value);"
 4135|     27|            "u8vec3  floate5m2BitsToUintEXT(fe5m2vec3 value);"
 4136|     27|            "u8vec4  floate5m2BitsToUintEXT(fe5m2vec4 value);"
 4137|       |
 4138|     27|            "floate5m2_t intBitsToFloate5m2EXT(int8_t value);"
 4139|     27|            "fe5m2vec2   intBitsToFloate5m2EXT(i8vec2 value);"
 4140|     27|            "fe5m2vec3   intBitsToFloate5m2EXT(i8vec3 value);"
 4141|     27|            "fe5m2vec4   intBitsToFloate5m2EXT(i8vec4 value);"
 4142|       |
 4143|     27|            "floate5m2_t uintBitsToFloate5m2EXT(uint8_t value);"
 4144|     27|            "fe5m2vec2   uintBitsToFloate5m2EXT(u8vec2 value);"
 4145|     27|            "fe5m2vec3   uintBitsToFloate5m2EXT(u8vec3 value);"
 4146|     27|            "fe5m2vec4   uintBitsToFloate5m2EXT(u8vec4 value);"
 4147|       |
 4148|     27|            "int8_t  floate4m3BitsToIntEXT(floate4m3_t value);"
 4149|     27|            "i8vec2  floate4m3BitsToIntEXT(fe4m3vec2 value);"
 4150|     27|            "i8vec3  floate4m3BitsToIntEXT(fe4m3vec3 value);"
 4151|     27|            "i8vec4  floate4m3BitsToIntEXT(fe4m3vec4 value);"
 4152|       |
 4153|     27|            "uint8_t floate4m3BitsToUintEXT(floate4m3_t value);"
 4154|     27|            "u8vec2  floate4m3BitsToUintEXT(fe4m3vec2 value);"
 4155|     27|            "u8vec3  floate4m3BitsToUintEXT(fe4m3vec3 value);"
 4156|     27|            "u8vec4  floate4m3BitsToUintEXT(fe4m3vec4 value);"
 4157|       |
 4158|     27|            "floate4m3_t intBitsToFloate4m3EXT(int8_t value);"
 4159|     27|            "fe4m3vec2   intBitsToFloate4m3EXT(i8vec2 value);"
 4160|     27|            "fe4m3vec3   intBitsToFloate4m3EXT(i8vec3 value);"
 4161|     27|            "fe4m3vec4   intBitsToFloate4m3EXT(i8vec4 value);"
 4162|       |
 4163|     27|            "floate4m3_t uintBitsToFloate4m3EXT(uint8_t value);"
 4164|     27|            "fe4m3vec2   uintBitsToFloate4m3EXT(u8vec2 value);"
 4165|     27|            "fe4m3vec3   uintBitsToFloate4m3EXT(u8vec3 value);"
 4166|     27|            "fe4m3vec4   uintBitsToFloate4m3EXT(u8vec4 value);"
 4167|       |
 4168|     27|            "void saturatedConvertEXT();"
 4169|     27|            "\n");
 4170|     27|    }
 4171|       |
 4172|       |    // Explicit types
 4173|    107|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (4173:10): [True: 29, False: 78]
  |  Branch (4173:35): [True: 27, False: 2]
  |  Branch (4173:55): [True: 78, False: 2]
  |  Branch (4173:80): [True: 0, False: 78]
  ------------------
 4174|     27|        commonBuiltins.append(
 4175|     27|            "int8_t abs(int8_t);"
 4176|     27|            "i8vec2 abs(i8vec2);"
 4177|     27|            "i8vec3 abs(i8vec3);"
 4178|     27|            "i8vec4 abs(i8vec4);"
 4179|       |
 4180|     27|            "int8_t sign(int8_t);"
 4181|     27|            "i8vec2 sign(i8vec2);"
 4182|     27|            "i8vec3 sign(i8vec3);"
 4183|     27|            "i8vec4 sign(i8vec4);"
 4184|       |
 4185|     27|            "int8_t min(int8_t x, int8_t y);"
 4186|     27|            "i8vec2 min(i8vec2 x, int8_t y);"
 4187|     27|            "i8vec3 min(i8vec3 x, int8_t y);"
 4188|     27|            "i8vec4 min(i8vec4 x, int8_t y);"
 4189|     27|            "i8vec2 min(i8vec2 x, i8vec2 y);"
 4190|     27|            "i8vec3 min(i8vec3 x, i8vec3 y);"
 4191|     27|            "i8vec4 min(i8vec4 x, i8vec4 y);"
 4192|       |
 4193|     27|            "uint8_t min(uint8_t x, uint8_t y);"
 4194|     27|            "u8vec2 min(u8vec2 x, uint8_t y);"
 4195|     27|            "u8vec3 min(u8vec3 x, uint8_t y);"
 4196|     27|            "u8vec4 min(u8vec4 x, uint8_t y);"
 4197|     27|            "u8vec2 min(u8vec2 x, u8vec2 y);"
 4198|     27|            "u8vec3 min(u8vec3 x, u8vec3 y);"
 4199|     27|            "u8vec4 min(u8vec4 x, u8vec4 y);"
 4200|       |
 4201|     27|            "int8_t max(int8_t x, int8_t y);"
 4202|     27|            "i8vec2 max(i8vec2 x, int8_t y);"
 4203|     27|            "i8vec3 max(i8vec3 x, int8_t y);"
 4204|     27|            "i8vec4 max(i8vec4 x, int8_t y);"
 4205|     27|            "i8vec2 max(i8vec2 x, i8vec2 y);"
 4206|     27|            "i8vec3 max(i8vec3 x, i8vec3 y);"
 4207|     27|            "i8vec4 max(i8vec4 x, i8vec4 y);"
 4208|       |
 4209|     27|            "uint8_t max(uint8_t x, uint8_t y);"
 4210|     27|            "u8vec2 max(u8vec2 x, uint8_t y);"
 4211|     27|            "u8vec3 max(u8vec3 x, uint8_t y);"
 4212|     27|            "u8vec4 max(u8vec4 x, uint8_t y);"
 4213|     27|            "u8vec2 max(u8vec2 x, u8vec2 y);"
 4214|     27|            "u8vec3 max(u8vec3 x, u8vec3 y);"
 4215|     27|            "u8vec4 max(u8vec4 x, u8vec4 y);"
 4216|       |
 4217|     27|            "int8_t    clamp(int8_t x, int8_t minVal, int8_t maxVal);"
 4218|     27|            "i8vec2  clamp(i8vec2  x, int8_t minVal, int8_t maxVal);"
 4219|     27|            "i8vec3  clamp(i8vec3  x, int8_t minVal, int8_t maxVal);"
 4220|     27|            "i8vec4  clamp(i8vec4  x, int8_t minVal, int8_t maxVal);"
 4221|     27|            "i8vec2  clamp(i8vec2  x, i8vec2  minVal, i8vec2  maxVal);"
 4222|     27|            "i8vec3  clamp(i8vec3  x, i8vec3  minVal, i8vec3  maxVal);"
 4223|     27|            "i8vec4  clamp(i8vec4  x, i8vec4  minVal, i8vec4  maxVal);"
 4224|       |
 4225|     27|            "uint8_t   clamp(uint8_t x, uint8_t minVal, uint8_t maxVal);"
 4226|     27|            "u8vec2  clamp(u8vec2  x, uint8_t minVal, uint8_t maxVal);"
 4227|     27|            "u8vec3  clamp(u8vec3  x, uint8_t minVal, uint8_t maxVal);"
 4228|     27|            "u8vec4  clamp(u8vec4  x, uint8_t minVal, uint8_t maxVal);"
 4229|     27|            "u8vec2  clamp(u8vec2  x, u8vec2  minVal, u8vec2  maxVal);"
 4230|     27|            "u8vec3  clamp(u8vec3  x, u8vec3  minVal, u8vec3  maxVal);"
 4231|     27|            "u8vec4  clamp(u8vec4  x, u8vec4  minVal, u8vec4  maxVal);"
 4232|       |
 4233|     27|            "int8_t  mix(int8_t,  int8_t,  bool);"
 4234|     27|            "i8vec2  mix(i8vec2,  i8vec2,  bvec2);"
 4235|     27|            "i8vec3  mix(i8vec3,  i8vec3,  bvec3);"
 4236|     27|            "i8vec4  mix(i8vec4,  i8vec4,  bvec4);"
 4237|     27|            "uint8_t mix(uint8_t, uint8_t, bool);"
 4238|     27|            "u8vec2  mix(u8vec2,  u8vec2,  bvec2);"
 4239|     27|            "u8vec3  mix(u8vec3,  u8vec3,  bvec3);"
 4240|     27|            "u8vec4  mix(u8vec4,  u8vec4,  bvec4);"
 4241|       |
 4242|     27|            "bvec2 lessThan(i8vec2, i8vec2);"
 4243|     27|            "bvec3 lessThan(i8vec3, i8vec3);"
 4244|     27|            "bvec4 lessThan(i8vec4, i8vec4);"
 4245|     27|            "bvec2 lessThan(u8vec2, u8vec2);"
 4246|     27|            "bvec3 lessThan(u8vec3, u8vec3);"
 4247|     27|            "bvec4 lessThan(u8vec4, u8vec4);"
 4248|       |
 4249|     27|            "bvec2 lessThanEqual(i8vec2, i8vec2);"
 4250|     27|            "bvec3 lessThanEqual(i8vec3, i8vec3);"
 4251|     27|            "bvec4 lessThanEqual(i8vec4, i8vec4);"
 4252|     27|            "bvec2 lessThanEqual(u8vec2, u8vec2);"
 4253|     27|            "bvec3 lessThanEqual(u8vec3, u8vec3);"
 4254|     27|            "bvec4 lessThanEqual(u8vec4, u8vec4);"
 4255|       |
 4256|     27|            "bvec2 greaterThan(i8vec2, i8vec2);"
 4257|     27|            "bvec3 greaterThan(i8vec3, i8vec3);"
 4258|     27|            "bvec4 greaterThan(i8vec4, i8vec4);"
 4259|     27|            "bvec2 greaterThan(u8vec2, u8vec2);"
 4260|     27|            "bvec3 greaterThan(u8vec3, u8vec3);"
 4261|     27|            "bvec4 greaterThan(u8vec4, u8vec4);"
 4262|       |
 4263|     27|            "bvec2 greaterThanEqual(i8vec2, i8vec2);"
 4264|     27|            "bvec3 greaterThanEqual(i8vec3, i8vec3);"
 4265|     27|            "bvec4 greaterThanEqual(i8vec4, i8vec4);"
 4266|     27|            "bvec2 greaterThanEqual(u8vec2, u8vec2);"
 4267|     27|            "bvec3 greaterThanEqual(u8vec3, u8vec3);"
 4268|     27|            "bvec4 greaterThanEqual(u8vec4, u8vec4);"
 4269|       |
 4270|     27|            "bvec2 equal(i8vec2, i8vec2);"
 4271|     27|            "bvec3 equal(i8vec3, i8vec3);"
 4272|     27|            "bvec4 equal(i8vec4, i8vec4);"
 4273|     27|            "bvec2 equal(u8vec2, u8vec2);"
 4274|     27|            "bvec3 equal(u8vec3, u8vec3);"
 4275|     27|            "bvec4 equal(u8vec4, u8vec4);"
 4276|       |
 4277|     27|            "bvec2 notEqual(i8vec2, i8vec2);"
 4278|     27|            "bvec3 notEqual(i8vec3, i8vec3);"
 4279|     27|            "bvec4 notEqual(i8vec4, i8vec4);"
 4280|     27|            "bvec2 notEqual(u8vec2, u8vec2);"
 4281|     27|            "bvec3 notEqual(u8vec3, u8vec3);"
 4282|     27|            "bvec4 notEqual(u8vec4, u8vec4);"
 4283|       |
 4284|     27|            "  int8_t bitfieldExtract(  int8_t, int8_t, int8_t);"
 4285|     27|            "i8vec2 bitfieldExtract(i8vec2, int8_t, int8_t);"
 4286|     27|            "i8vec3 bitfieldExtract(i8vec3, int8_t, int8_t);"
 4287|     27|            "i8vec4 bitfieldExtract(i8vec4, int8_t, int8_t);"
 4288|       |
 4289|     27|            " uint8_t bitfieldExtract( uint8_t, int8_t, int8_t);"
 4290|     27|            "u8vec2 bitfieldExtract(u8vec2, int8_t, int8_t);"
 4291|     27|            "u8vec3 bitfieldExtract(u8vec3, int8_t, int8_t);"
 4292|     27|            "u8vec4 bitfieldExtract(u8vec4, int8_t, int8_t);"
 4293|       |
 4294|     27|            "  int8_t bitfieldInsert(  int8_t base,   int8_t, int8_t, int8_t);"
 4295|     27|            "i8vec2 bitfieldInsert(i8vec2 base, i8vec2, int8_t, int8_t);"
 4296|     27|            "i8vec3 bitfieldInsert(i8vec3 base, i8vec3, int8_t, int8_t);"
 4297|     27|            "i8vec4 bitfieldInsert(i8vec4 base, i8vec4, int8_t, int8_t);"
 4298|       |
 4299|     27|            " uint8_t bitfieldInsert( uint8_t base,  uint8_t, int8_t, int8_t);"
 4300|     27|            "u8vec2 bitfieldInsert(u8vec2 base, u8vec2, int8_t, int8_t);"
 4301|     27|            "u8vec3 bitfieldInsert(u8vec3 base, u8vec3, int8_t, int8_t);"
 4302|     27|            "u8vec4 bitfieldInsert(u8vec4 base, u8vec4, int8_t, int8_t);"
 4303|       |
 4304|     27|            "  int8_t bitCount(  int8_t);"
 4305|     27|            "i8vec2 bitCount(i8vec2);"
 4306|     27|            "i8vec3 bitCount(i8vec3);"
 4307|     27|            "i8vec4 bitCount(i8vec4);"
 4308|       |
 4309|     27|            "  int8_t bitCount( uint8_t);"
 4310|     27|            "i8vec2 bitCount(u8vec2);"
 4311|     27|            "i8vec3 bitCount(u8vec3);"
 4312|     27|            "i8vec4 bitCount(u8vec4);"
 4313|       |
 4314|     27|            "int8_t bitfieldReverse(highp int8_t);"
 4315|     27|            "i8vec2 bitfieldReverse(highp i8vec2);"
 4316|     27|            "i8vec3 bitfieldReverse(highp i8vec3);"
 4317|     27|            "i8vec4 bitfieldReverse(highp i8vec4);"
 4318|       |
 4319|     27|            "uint8_t bitfieldReverse(highp uint8_t);"
 4320|     27|            "u8vec2  bitfieldReverse(highp u8vec2);"
 4321|     27|            "u8vec3  bitfieldReverse(highp u8vec3);"
 4322|     27|            "u8vec4  bitfieldReverse(highp u8vec4);"
 4323|       |
 4324|     27|            "  int8_t findLSB(  int8_t);"
 4325|     27|            "i8vec2 findLSB(i8vec2);"
 4326|     27|            "i8vec3 findLSB(i8vec3);"
 4327|     27|            "i8vec4 findLSB(i8vec4);"
 4328|       |
 4329|     27|            "  int8_t findLSB( uint8_t);"
 4330|     27|            "i8vec2 findLSB(u8vec2);"
 4331|     27|            "i8vec3 findLSB(u8vec3);"
 4332|     27|            "i8vec4 findLSB(u8vec4);"
 4333|       |
 4334|     27|            "  int8_t findMSB(  int8_t);"
 4335|     27|            "i8vec2 findMSB(i8vec2);"
 4336|     27|            "i8vec3 findMSB(i8vec3);"
 4337|     27|            "i8vec4 findMSB(i8vec4);"
 4338|       |
 4339|     27|            "  int8_t findMSB( uint8_t);"
 4340|     27|            "i8vec2 findMSB(u8vec2);"
 4341|     27|            "i8vec3 findMSB(u8vec3);"
 4342|     27|            "i8vec4 findMSB(u8vec4);"
 4343|       |
 4344|     27|            "int16_t abs(int16_t);"
 4345|     27|            "i16vec2 abs(i16vec2);"
 4346|     27|            "i16vec3 abs(i16vec3);"
 4347|     27|            "i16vec4 abs(i16vec4);"
 4348|       |
 4349|     27|            "int16_t sign(int16_t);"
 4350|     27|            "i16vec2 sign(i16vec2);"
 4351|     27|            "i16vec3 sign(i16vec3);"
 4352|     27|            "i16vec4 sign(i16vec4);"
 4353|       |
 4354|     27|            "int16_t min(int16_t x, int16_t y);"
 4355|     27|            "i16vec2 min(i16vec2 x, int16_t y);"
 4356|     27|            "i16vec3 min(i16vec3 x, int16_t y);"
 4357|     27|            "i16vec4 min(i16vec4 x, int16_t y);"
 4358|     27|            "i16vec2 min(i16vec2 x, i16vec2 y);"
 4359|     27|            "i16vec3 min(i16vec3 x, i16vec3 y);"
 4360|     27|            "i16vec4 min(i16vec4 x, i16vec4 y);"
 4361|       |
 4362|     27|            "uint16_t min(uint16_t x, uint16_t y);"
 4363|     27|            "u16vec2 min(u16vec2 x, uint16_t y);"
 4364|     27|            "u16vec3 min(u16vec3 x, uint16_t y);"
 4365|     27|            "u16vec4 min(u16vec4 x, uint16_t y);"
 4366|     27|            "u16vec2 min(u16vec2 x, u16vec2 y);"
 4367|     27|            "u16vec3 min(u16vec3 x, u16vec3 y);"
 4368|     27|            "u16vec4 min(u16vec4 x, u16vec4 y);"
 4369|       |
 4370|     27|            "int16_t max(int16_t x, int16_t y);"
 4371|     27|            "i16vec2 max(i16vec2 x, int16_t y);"
 4372|     27|            "i16vec3 max(i16vec3 x, int16_t y);"
 4373|     27|            "i16vec4 max(i16vec4 x, int16_t y);"
 4374|     27|            "i16vec2 max(i16vec2 x, i16vec2 y);"
 4375|     27|            "i16vec3 max(i16vec3 x, i16vec3 y);"
 4376|     27|            "i16vec4 max(i16vec4 x, i16vec4 y);"
 4377|       |
 4378|     27|            "uint16_t max(uint16_t x, uint16_t y);"
 4379|     27|            "u16vec2 max(u16vec2 x, uint16_t y);"
 4380|     27|            "u16vec3 max(u16vec3 x, uint16_t y);"
 4381|     27|            "u16vec4 max(u16vec4 x, uint16_t y);"
 4382|     27|            "u16vec2 max(u16vec2 x, u16vec2 y);"
 4383|     27|            "u16vec3 max(u16vec3 x, u16vec3 y);"
 4384|     27|            "u16vec4 max(u16vec4 x, u16vec4 y);"
 4385|       |
 4386|     27|            "int16_t    clamp(int16_t x, int16_t minVal, int16_t maxVal);"
 4387|     27|            "i16vec2  clamp(i16vec2  x, int16_t minVal, int16_t maxVal);"
 4388|     27|            "i16vec3  clamp(i16vec3  x, int16_t minVal, int16_t maxVal);"
 4389|     27|            "i16vec4  clamp(i16vec4  x, int16_t minVal, int16_t maxVal);"
 4390|     27|            "i16vec2  clamp(i16vec2  x, i16vec2  minVal, i16vec2  maxVal);"
 4391|     27|            "i16vec3  clamp(i16vec3  x, i16vec3  minVal, i16vec3  maxVal);"
 4392|     27|            "i16vec4  clamp(i16vec4  x, i16vec4  minVal, i16vec4  maxVal);"
 4393|       |
 4394|     27|            "uint16_t   clamp(uint16_t x, uint16_t minVal, uint16_t maxVal);"
 4395|     27|            "u16vec2  clamp(u16vec2  x, uint16_t minVal, uint16_t maxVal);"
 4396|     27|            "u16vec3  clamp(u16vec3  x, uint16_t minVal, uint16_t maxVal);"
 4397|     27|            "u16vec4  clamp(u16vec4  x, uint16_t minVal, uint16_t maxVal);"
 4398|     27|            "u16vec2  clamp(u16vec2  x, u16vec2  minVal, u16vec2  maxVal);"
 4399|     27|            "u16vec3  clamp(u16vec3  x, u16vec3  minVal, u16vec3  maxVal);"
 4400|     27|            "u16vec4  clamp(u16vec4  x, u16vec4  minVal, u16vec4  maxVal);"
 4401|       |
 4402|     27|            "int16_t  mix(int16_t,  int16_t,  bool);"
 4403|     27|            "i16vec2  mix(i16vec2,  i16vec2,  bvec2);"
 4404|     27|            "i16vec3  mix(i16vec3,  i16vec3,  bvec3);"
 4405|     27|            "i16vec4  mix(i16vec4,  i16vec4,  bvec4);"
 4406|     27|            "uint16_t mix(uint16_t, uint16_t, bool);"
 4407|     27|            "u16vec2  mix(u16vec2,  u16vec2,  bvec2);"
 4408|     27|            "u16vec3  mix(u16vec3,  u16vec3,  bvec3);"
 4409|     27|            "u16vec4  mix(u16vec4,  u16vec4,  bvec4);"
 4410|       |
 4411|     27|            "float16_t frexp(float16_t, out int16_t);"
 4412|     27|            "f16vec2   frexp(f16vec2,   out i16vec2);"
 4413|     27|            "f16vec3   frexp(f16vec3,   out i16vec3);"
 4414|     27|            "f16vec4   frexp(f16vec4,   out i16vec4);"
 4415|       |
 4416|     27|            "float16_t ldexp(float16_t, int16_t);"
 4417|     27|            "f16vec2   ldexp(f16vec2,   i16vec2);"
 4418|     27|            "f16vec3   ldexp(f16vec3,   i16vec3);"
 4419|     27|            "f16vec4   ldexp(f16vec4,   i16vec4);"
 4420|       |
 4421|     27|            "int16_t halfBitsToInt16(float16_t);"
 4422|     27|            "i16vec2 halfBitsToInt16(f16vec2);"
 4423|     27|            "i16vec3 halhBitsToInt16(f16vec3);"
 4424|     27|            "i16vec4 halfBitsToInt16(f16vec4);"
 4425|       |
 4426|     27|            "uint16_t halfBitsToUint16(float16_t);"
 4427|     27|            "u16vec2  halfBitsToUint16(f16vec2);"
 4428|     27|            "u16vec3  halfBitsToUint16(f16vec3);"
 4429|     27|            "u16vec4  halfBitsToUint16(f16vec4);"
 4430|       |
 4431|     27|            "int16_t float16BitsToInt16(float16_t);"
 4432|     27|            "i16vec2 float16BitsToInt16(f16vec2);"
 4433|     27|            "i16vec3 float16BitsToInt16(f16vec3);"
 4434|     27|            "i16vec4 float16BitsToInt16(f16vec4);"
 4435|       |
 4436|     27|            "uint16_t float16BitsToUint16(float16_t);"
 4437|     27|            "u16vec2  float16BitsToUint16(f16vec2);"
 4438|     27|            "u16vec3  float16BitsToUint16(f16vec3);"
 4439|     27|            "u16vec4  float16BitsToUint16(f16vec4);"
 4440|       |
 4441|     27|            "float16_t int16BitsToFloat16(int16_t);"
 4442|     27|            "f16vec2   int16BitsToFloat16(i16vec2);"
 4443|     27|            "f16vec3   int16BitsToFloat16(i16vec3);"
 4444|     27|            "f16vec4   int16BitsToFloat16(i16vec4);"
 4445|       |
 4446|     27|            "float16_t uint16BitsToFloat16(uint16_t);"
 4447|     27|            "f16vec2   uint16BitsToFloat16(u16vec2);"
 4448|     27|            "f16vec3   uint16BitsToFloat16(u16vec3);"
 4449|     27|            "f16vec4   uint16BitsToFloat16(u16vec4);"
 4450|       |
 4451|     27|            "float16_t int16BitsToHalf(int16_t);"
 4452|     27|            "f16vec2   int16BitsToHalf(i16vec2);"
 4453|     27|            "f16vec3   int16BitsToHalf(i16vec3);"
 4454|     27|            "f16vec4   int16BitsToHalf(i16vec4);"
 4455|       |
 4456|     27|            "float16_t uint16BitsToHalf(uint16_t);"
 4457|     27|            "f16vec2   uint16BitsToHalf(u16vec2);"
 4458|     27|            "f16vec3   uint16BitsToHalf(u16vec3);"
 4459|     27|            "f16vec4   uint16BitsToHalf(u16vec4);"
 4460|       |
 4461|     27|            "int      packInt2x16(i16vec2);"
 4462|     27|            "uint     packUint2x16(u16vec2);"
 4463|     27|            "int64_t  packInt4x16(i16vec4);"
 4464|     27|            "uint64_t packUint4x16(u16vec4);"
 4465|     27|            "i16vec2  unpackInt2x16(int);"
 4466|     27|            "u16vec2  unpackUint2x16(uint);"
 4467|     27|            "i16vec4  unpackInt4x16(int64_t);"
 4468|     27|            "u16vec4  unpackUint4x16(uint64_t);"
 4469|       |
 4470|     27|            "bvec2 lessThan(i16vec2, i16vec2);"
 4471|     27|            "bvec3 lessThan(i16vec3, i16vec3);"
 4472|     27|            "bvec4 lessThan(i16vec4, i16vec4);"
 4473|     27|            "bvec2 lessThan(u16vec2, u16vec2);"
 4474|     27|            "bvec3 lessThan(u16vec3, u16vec3);"
 4475|     27|            "bvec4 lessThan(u16vec4, u16vec4);"
 4476|       |
 4477|     27|            "bvec2 lessThanEqual(i16vec2, i16vec2);"
 4478|     27|            "bvec3 lessThanEqual(i16vec3, i16vec3);"
 4479|     27|            "bvec4 lessThanEqual(i16vec4, i16vec4);"
 4480|     27|            "bvec2 lessThanEqual(u16vec2, u16vec2);"
 4481|     27|            "bvec3 lessThanEqual(u16vec3, u16vec3);"
 4482|     27|            "bvec4 lessThanEqual(u16vec4, u16vec4);"
 4483|       |
 4484|     27|            "bvec2 greaterThan(i16vec2, i16vec2);"
 4485|     27|            "bvec3 greaterThan(i16vec3, i16vec3);"
 4486|     27|            "bvec4 greaterThan(i16vec4, i16vec4);"
 4487|     27|            "bvec2 greaterThan(u16vec2, u16vec2);"
 4488|     27|            "bvec3 greaterThan(u16vec3, u16vec3);"
 4489|     27|            "bvec4 greaterThan(u16vec4, u16vec4);"
 4490|       |
 4491|     27|            "bvec2 greaterThanEqual(i16vec2, i16vec2);"
 4492|     27|            "bvec3 greaterThanEqual(i16vec3, i16vec3);"
 4493|     27|            "bvec4 greaterThanEqual(i16vec4, i16vec4);"
 4494|     27|            "bvec2 greaterThanEqual(u16vec2, u16vec2);"
 4495|     27|            "bvec3 greaterThanEqual(u16vec3, u16vec3);"
 4496|     27|            "bvec4 greaterThanEqual(u16vec4, u16vec4);"
 4497|       |
 4498|     27|            "bvec2 equal(i16vec2, i16vec2);"
 4499|     27|            "bvec3 equal(i16vec3, i16vec3);"
 4500|     27|            "bvec4 equal(i16vec4, i16vec4);"
 4501|     27|            "bvec2 equal(u16vec2, u16vec2);"
 4502|     27|            "bvec3 equal(u16vec3, u16vec3);"
 4503|     27|            "bvec4 equal(u16vec4, u16vec4);"
 4504|       |
 4505|     27|            "bvec2 notEqual(i16vec2, i16vec2);"
 4506|     27|            "bvec3 notEqual(i16vec3, i16vec3);"
 4507|     27|            "bvec4 notEqual(i16vec4, i16vec4);"
 4508|     27|            "bvec2 notEqual(u16vec2, u16vec2);"
 4509|     27|            "bvec3 notEqual(u16vec3, u16vec3);"
 4510|     27|            "bvec4 notEqual(u16vec4, u16vec4);"
 4511|       |
 4512|     27|            "  int16_t bitfieldExtract(  int16_t, int16_t, int16_t);"
 4513|     27|            "i16vec2 bitfieldExtract(i16vec2, int16_t, int16_t);"
 4514|     27|            "i16vec3 bitfieldExtract(i16vec3, int16_t, int16_t);"
 4515|     27|            "i16vec4 bitfieldExtract(i16vec4, int16_t, int16_t);"
 4516|       |
 4517|     27|            " uint16_t bitfieldExtract( uint16_t, int16_t, int16_t);"
 4518|     27|            "u16vec2 bitfieldExtract(u16vec2, int16_t, int16_t);"
 4519|     27|            "u16vec3 bitfieldExtract(u16vec3, int16_t, int16_t);"
 4520|     27|            "u16vec4 bitfieldExtract(u16vec4, int16_t, int16_t);"
 4521|       |
 4522|     27|            "  int16_t bitfieldInsert(  int16_t base,   int16_t, int16_t, int16_t);"
 4523|     27|            "i16vec2 bitfieldInsert(i16vec2 base, i16vec2, int16_t, int16_t);"
 4524|     27|            "i16vec3 bitfieldInsert(i16vec3 base, i16vec3, int16_t, int16_t);"
 4525|     27|            "i16vec4 bitfieldInsert(i16vec4 base, i16vec4, int16_t, int16_t);"
 4526|       |
 4527|     27|            " uint16_t bitfieldInsert( uint16_t base,  uint16_t, int16_t, int16_t);"
 4528|     27|            "u16vec2 bitfieldInsert(u16vec2 base, u16vec2, int16_t, int16_t);"
 4529|     27|            "u16vec3 bitfieldInsert(u16vec3 base, u16vec3, int16_t, int16_t);"
 4530|     27|            "u16vec4 bitfieldInsert(u16vec4 base, u16vec4, int16_t, int16_t);"
 4531|       |
 4532|     27|            "  int16_t bitCount(  int16_t);"
 4533|     27|            "i16vec2 bitCount(i16vec2);"
 4534|     27|            "i16vec3 bitCount(i16vec3);"
 4535|     27|            "i16vec4 bitCount(i16vec4);"
 4536|       |
 4537|     27|            "  int16_t bitCount( uint16_t);"
 4538|     27|            "i16vec2 bitCount(u16vec2);"
 4539|     27|            "i16vec3 bitCount(u16vec3);"
 4540|     27|            "i16vec4 bitCount(u16vec4);"
 4541|       |
 4542|     27|            "int16_t bitfieldReverse(highp int16_t);"
 4543|     27|            "i16vec2 bitfieldReverse(highp i16vec2);"
 4544|     27|            "i16vec3 bitfieldReverse(highp i16vec3);"
 4545|     27|            "i16vec4 bitfieldReverse(highp i16vec4);"
 4546|       |
 4547|     27|            "uint16_t bitfieldReverse(highp uint16_t);"
 4548|     27|            "u16vec2  bitfieldReverse(highp u16vec2);"
 4549|     27|            "u16vec3  bitfieldReverse(highp u16vec3);"
 4550|     27|            "u16vec4  bitfieldReverse(highp u16vec4);"
 4551|       |
 4552|     27|            "  int16_t findLSB(  int16_t);"
 4553|     27|            "i16vec2 findLSB(i16vec2);"
 4554|     27|            "i16vec3 findLSB(i16vec3);"
 4555|     27|            "i16vec4 findLSB(i16vec4);"
 4556|       |
 4557|     27|            "  int16_t findLSB( uint16_t);"
 4558|     27|            "i16vec2 findLSB(u16vec2);"
 4559|     27|            "i16vec3 findLSB(u16vec3);"
 4560|     27|            "i16vec4 findLSB(u16vec4);"
 4561|       |
 4562|     27|            "  int16_t findMSB(  int16_t);"
 4563|     27|            "i16vec2 findMSB(i16vec2);"
 4564|     27|            "i16vec3 findMSB(i16vec3);"
 4565|     27|            "i16vec4 findMSB(i16vec4);"
 4566|       |
 4567|     27|            "  int16_t findMSB( uint16_t);"
 4568|     27|            "i16vec2 findMSB(u16vec2);"
 4569|     27|            "i16vec3 findMSB(u16vec3);"
 4570|     27|            "i16vec4 findMSB(u16vec4);"
 4571|       |
 4572|     27|            "int16_t  pack16(i8vec2);"
 4573|     27|            "uint16_t pack16(u8vec2);"
 4574|     27|            "int32_t  pack32(i8vec4);"
 4575|     27|            "uint32_t pack32(u8vec4);"
 4576|     27|            "int32_t  pack32(i16vec2);"
 4577|     27|            "uint32_t pack32(u16vec2);"
 4578|     27|            "int64_t  pack64(i16vec4);"
 4579|     27|            "uint64_t pack64(u16vec4);"
 4580|     27|            "int64_t  pack64(i32vec2);"
 4581|     27|            "uint64_t pack64(u32vec2);"
 4582|       |
 4583|     27|            "i8vec2   unpack8(int16_t);"
 4584|     27|            "u8vec2   unpack8(uint16_t);"
 4585|     27|            "i8vec4   unpack8(int32_t);"
 4586|     27|            "u8vec4   unpack8(uint32_t);"
 4587|     27|            "i16vec2  unpack16(int32_t);"
 4588|     27|            "u16vec2  unpack16(uint32_t);"
 4589|     27|            "i16vec4  unpack16(int64_t);"
 4590|     27|            "u16vec4  unpack16(uint64_t);"
 4591|     27|            "i32vec2  unpack32(int64_t);"
 4592|     27|            "u32vec2  unpack32(uint64_t);"
 4593|       |
 4594|       |            // GL_EXT_expect_assume
 4595|     27|            "int8_t expectEXT(int8_t, int8_t);"
 4596|     27|            "i8vec2 expectEXT(i8vec2, i8vec2);"
 4597|     27|            "i8vec3 expectEXT(i8vec3, i8vec3);"
 4598|     27|            "i8vec4 expectEXT(i8vec4, i8vec4);"
 4599|       |
 4600|     27|            "uint8_t expectEXT(uint8_t, uint8_t);"
 4601|     27|            "u8vec2 expectEXT(u8vec2, u8vec2);"
 4602|     27|            "u8vec3 expectEXT(u8vec3, u8vec3);"
 4603|     27|            "u8vec4 expectEXT(u8vec4, u8vec4);"
 4604|       |
 4605|     27|            "int16_t expectEXT(int16_t, int16_t);"
 4606|     27|            "i16vec2 expectEXT(i16vec2, i16vec2);"
 4607|     27|            "i16vec3 expectEXT(i16vec3, i16vec3);"
 4608|     27|            "i16vec4 expectEXT(i16vec4, i16vec4);"
 4609|       |
 4610|     27|            "uint16_t expectEXT(uint16_t, uint16_t);"
 4611|     27|            "u16vec2 expectEXT(u16vec2, u16vec2);"
 4612|     27|            "u16vec3 expectEXT(u16vec3, u16vec3);"
 4613|     27|            "u16vec4 expectEXT(u16vec4, u16vec4);"
 4614|       |
 4615|     27|            "int64_t expectEXT(int64_t, int64_t);"
 4616|     27|            "i64vec2 expectEXT(i64vec2, i64vec2);"
 4617|     27|            "i64vec3 expectEXT(i64vec3, i64vec3);"
 4618|     27|            "i64vec4 expectEXT(i64vec4, i64vec4);"
 4619|       |
 4620|     27|            "uint64_t expectEXT(uint64_t, uint64_t);"
 4621|     27|            "u64vec2 expectEXT(u64vec2, u64vec2);"
 4622|     27|            "u64vec3 expectEXT(u64vec3, u64vec3);"
 4623|     27|            "u64vec4 expectEXT(u64vec4, u64vec4);"
 4624|     27|            "\n");
 4625|     27|    }
 4626|       |
 4627|       |    // Builtins for GL_EXT_texture_shadow_lod
 4628|    107|    if ((profile == EEsProfile && version >= 300) || ((profile != EEsProfile && version >= 130))) { 
  ------------------
  |  Branch (4628:10): [True: 78, False: 29]
  |  Branch (4628:35): [True: 1, False: 77]
  |  Branch (4628:56): [True: 29, False: 77]
  |  Branch (4628:81): [True: 28, False: 1]
  ------------------
 4629|     29|        commonBuiltins.append(
 4630|     29|            "float texture(sampler2DArrayShadow, vec4, float);"
 4631|     29|            "float texture(samplerCubeArrayShadow, vec4, float, float);"
 4632|     29|            "float textureLod(sampler2DArrayShadow, vec4, float);"
 4633|     29|            "float textureLod(samplerCubeShadow, vec4, float);"
 4634|     29|            "float textureLod(samplerCubeArrayShadow, vec4, float, float);"
 4635|     29|            "float textureLodOffset(sampler2DArrayShadow, vec4, float, ivec2);"
 4636|     29|            "float textureOffset(sampler2DArrayShadow, vec4 , ivec2, float);"
 4637|     29|            "\n");
 4638|     29|    }
 4639|       |
 4640|    107|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (4640:9): [True: 29, False: 78]
  |  Branch (4640:34): [True: 27, False: 2]
  ------------------
 4641|     27|        stageBuiltins[EShLangFragment].append(derivativesAndControl64bits);
 4642|     27|        stageBuiltins[EShLangFragment].append(
 4643|     27|            "float64_t interpolateAtCentroid(float64_t);"
 4644|     27|            "f64vec2   interpolateAtCentroid(f64vec2);"
 4645|     27|            "f64vec3   interpolateAtCentroid(f64vec3);"
 4646|     27|            "f64vec4   interpolateAtCentroid(f64vec4);"
 4647|       |
 4648|     27|            "float64_t interpolateAtSample(float64_t, int);"
 4649|     27|            "f64vec2   interpolateAtSample(f64vec2,   int);"
 4650|     27|            "f64vec3   interpolateAtSample(f64vec3,   int);"
 4651|     27|            "f64vec4   interpolateAtSample(f64vec4,   int);"
 4652|       |
 4653|     27|            "float64_t interpolateAtOffset(float64_t, f64vec2);"
 4654|     27|            "f64vec2   interpolateAtOffset(f64vec2,   f64vec2);"
 4655|     27|            "f64vec3   interpolateAtOffset(f64vec3,   f64vec2);"
 4656|     27|            "f64vec4   interpolateAtOffset(f64vec4,   f64vec2);"
 4657|       |
 4658|     27|            "\n");
 4659|       |
 4660|     27|    }
 4661|       |
 4662|       |    // GL_EXT_expect_assume
 4663|    107|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (4663:10): [True: 78, False: 29]
  |  Branch (4663:35): [True: 0, False: 78]
  ------------------
 4664|    107|         ((profile != EEsProfile && version >= 140))) {
  ------------------
  |  Branch (4664:12): [True: 29, False: 78]
  |  Branch (4664:37): [True: 28, False: 1]
  ------------------
 4665|     28|        commonBuiltins.append(
 4666|     28|            "void assumeEXT(bool);"
 4667|       |
 4668|     28|            "bool expectEXT(bool, bool);"
 4669|     28|            "bvec2 expectEXT(bvec2, bvec2);"
 4670|     28|            "bvec3 expectEXT(bvec3, bvec3);"
 4671|     28|            "bvec4 expectEXT(bvec4, bvec4);"
 4672|       |
 4673|     28|            "int expectEXT(int, int);"
 4674|     28|            "ivec2 expectEXT(ivec2, ivec2);"
 4675|     28|            "ivec3 expectEXT(ivec3, ivec3);"
 4676|     28|            "ivec4 expectEXT(ivec4, ivec4);"
 4677|       |
 4678|     28|            "uint expectEXT(uint, uint);"
 4679|     28|            "uvec2 expectEXT(uvec2, uvec2);"
 4680|     28|            "uvec3 expectEXT(uvec3, uvec3);"
 4681|     28|            "uvec4 expectEXT(uvec4, uvec4);"
 4682|     28|            "\n");
 4683|     28|    }
 4684|       |
 4685|       |    // QCOM_image_processing
 4686|    107|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (4686:10): [True: 78, False: 29]
  |  Branch (4686:35): [True: 0, False: 78]
  ------------------
 4687|    107|         (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (4687:11): [True: 29, False: 78]
  |  Branch (4687:36): [True: 28, False: 1]
  ------------------
 4688|     28|        commonBuiltins.append(
 4689|     28|           "vec4 textureWeightedQCOM(sampler2D, vec2, sampler2DArray);"
 4690|     28|           "vec4 textureWeightedQCOM(sampler2D, vec2, sampler1DArray);"
 4691|     28|           "vec4 textureBoxFilterQCOM(sampler2D, vec2, vec2);"
 4692|     28|           "vec4 textureBlockMatchSADQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4693|     28|           "vec4 textureBlockMatchSSDQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4694|       |
 4695|     28|           "vec4 textureBlockMatchWindowSSDQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4696|     28|           "vec4 textureBlockMatchWindowSADQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4697|     28|           "vec4 textureBlockMatchGatherSSDQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4698|     28|           "vec4 textureBlockMatchGatherSADQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4699|     28|           "\n");
 4700|     28|    }
 4701|       |
 4702|       |    //============================================================================
 4703|       |    //
 4704|       |    // Prototypes for built-in functions seen by vertex shaders only.
 4705|       |    // (Except legacy lod functions, where it depends which release they are
 4706|       |    // vertex only.)
 4707|       |    //
 4708|       |    //============================================================================
 4709|       |
 4710|       |    //
 4711|       |    // Geometric Functions.
 4712|       |    //
 4713|    107|    if (spvVersion.vulkan == 0 && IncludeLegacy(version, profile, spvVersion))
  ------------------
  |  Branch (4713:9): [True: 27, False: 80]
  |  Branch (4713:35): [True: 0, False: 27]
  ------------------
 4714|      0|        stageBuiltins[EShLangVertex].append("vec4 ftransform();");
 4715|       |
 4716|       |    //
 4717|       |    // Original-style texture Functions with lod.
 4718|       |    //
 4719|    107|    TString* s;
 4720|    107|    if (version == 100)
  ------------------
  |  Branch (4720:9): [True: 77, False: 30]
  ------------------
 4721|     77|        s = &stageBuiltins[EShLangVertex];
 4722|     30|    else
 4723|     30|        s = &commonBuiltins;
 4724|    107|    if ((profile == EEsProfile && version == 100) ||
  ------------------
  |  Branch (4724:10): [True: 78, False: 29]
  |  Branch (4724:35): [True: 77, False: 1]
  ------------------
 4725|     30|         profile == ECompatibilityProfile ||
  ------------------
  |  Branch (4725:10): [True: 0, False: 30]
  ------------------
 4726|     30|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (4726:10): [True: 28, False: 2]
  |  Branch (4726:37): [True: 1, False: 27]
  ------------------
 4727|     79|         profile == ENoProfile) {
  ------------------
  |  Branch (4727:10): [True: 1, False: 28]
  ------------------
 4728|     79|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (4728:13): [True: 79, False: 0]
  ------------------
 4729|     79|            s->append(
 4730|     79|                "vec4 texture2DLod(sampler2D, vec2, float);"         // GL_ARB_shader_texture_lod
 4731|     79|                "vec4 texture2DProjLod(sampler2D, vec3, float);"     // GL_ARB_shader_texture_lod
 4732|     79|                "vec4 texture2DProjLod(sampler2D, vec4, float);"     // GL_ARB_shader_texture_lod
 4733|     79|                "vec4 texture3DLod(sampler3D, vec3, float);"         // GL_ARB_shader_texture_lod  // OES_texture_3D, but caught by keyword check
 4734|     79|                "vec4 texture3DProjLod(sampler3D, vec4, float);"     // GL_ARB_shader_texture_lod  // OES_texture_3D, but caught by keyword check
 4735|     79|                "vec4 textureCubeLod(samplerCube, vec3, float);"     // GL_ARB_shader_texture_lod
 4736|       |
 4737|     79|                "\n");
 4738|     79|        }
 4739|     79|    }
 4740|    107|    if ( profile == ECompatibilityProfile ||
  ------------------
  |  Branch (4740:10): [True: 0, False: 107]
  ------------------
 4741|    107|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (4741:10): [True: 28, False: 79]
  |  Branch (4741:37): [True: 1, False: 27]
  ------------------
 4742|    106|         profile == ENoProfile) {
  ------------------
  |  Branch (4742:10): [True: 1, False: 105]
  ------------------
 4743|      2|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (4743:13): [True: 2, False: 0]
  ------------------
 4744|      2|            s->append(
 4745|      2|                "vec4 texture1DLod(sampler1D, float, float);"                          // GL_ARB_shader_texture_lod
 4746|      2|                "vec4 texture1DProjLod(sampler1D, vec2, float);"                       // GL_ARB_shader_texture_lod
 4747|      2|                "vec4 texture1DProjLod(sampler1D, vec4, float);"                       // GL_ARB_shader_texture_lod
 4748|      2|                "vec4 shadow1DLod(sampler1DShadow, vec3, float);"                      // GL_ARB_shader_texture_lod
 4749|      2|                "vec4 shadow2DLod(sampler2DShadow, vec3, float);"                      // GL_ARB_shader_texture_lod
 4750|      2|                "vec4 shadow1DProjLod(sampler1DShadow, vec4, float);"                  // GL_ARB_shader_texture_lod
 4751|      2|                "vec4 shadow2DProjLod(sampler2DShadow, vec4, float);"                  // GL_ARB_shader_texture_lod
 4752|       |
 4753|      2|                "vec4 texture1DGradARB(sampler1D, float, float, float);"               // GL_ARB_shader_texture_lod
 4754|      2|                "vec4 texture1DProjGradARB(sampler1D, vec2, float, float);"            // GL_ARB_shader_texture_lod
 4755|      2|                "vec4 texture1DProjGradARB(sampler1D, vec4, float, float);"            // GL_ARB_shader_texture_lod
 4756|      2|                "vec4 texture2DGradARB(sampler2D, vec2, vec2, vec2);"                  // GL_ARB_shader_texture_lod
 4757|      2|                "vec4 texture2DProjGradARB(sampler2D, vec3, vec2, vec2);"              // GL_ARB_shader_texture_lod
 4758|      2|                "vec4 texture2DProjGradARB(sampler2D, vec4, vec2, vec2);"              // GL_ARB_shader_texture_lod
 4759|      2|                "vec4 texture3DGradARB(sampler3D, vec3, vec3, vec3);"                  // GL_ARB_shader_texture_lod
 4760|      2|                "vec4 texture3DProjGradARB(sampler3D, vec4, vec3, vec3);"              // GL_ARB_shader_texture_lod
 4761|      2|                "vec4 textureCubeGradARB(samplerCube, vec3, vec3, vec3);"              // GL_ARB_shader_texture_lod
 4762|      2|                "vec4 shadow1DGradARB(sampler1DShadow, vec3, float, float);"           // GL_ARB_shader_texture_lod
 4763|      2|                "vec4 shadow1DProjGradARB( sampler1DShadow, vec4, float, float);"      // GL_ARB_shader_texture_lod
 4764|      2|                "vec4 shadow2DGradARB(sampler2DShadow, vec3, vec2, vec2);"             // GL_ARB_shader_texture_lod
 4765|      2|                "vec4 shadow2DProjGradARB( sampler2DShadow, vec4, vec2, vec2);"        // GL_ARB_shader_texture_lod
 4766|      2|                "vec4 texture2DRectGradARB(sampler2DRect, vec2, vec2, vec2);"          // GL_ARB_shader_texture_lod
 4767|      2|                "vec4 texture2DRectProjGradARB( sampler2DRect, vec3, vec2, vec2);"     // GL_ARB_shader_texture_lod
 4768|      2|                "vec4 texture2DRectProjGradARB( sampler2DRect, vec4, vec2, vec2);"     // GL_ARB_shader_texture_lod
 4769|      2|                "vec4 shadow2DRectGradARB( sampler2DRectShadow, vec3, vec2, vec2);"    // GL_ARB_shader_texture_lod
 4770|      2|                "vec4 shadow2DRectProjGradARB(sampler2DRectShadow, vec4, vec2, vec2);" // GL_ARB_shader_texture_lod
 4771|       |
 4772|      2|                "\n");
 4773|      2|        }
 4774|      2|    }
 4775|       |
 4776|    107|    if ((profile != EEsProfile && version >= 150) ||
  ------------------
  |  Branch (4776:10): [True: 29, False: 78]
  |  Branch (4776:35): [True: 28, False: 1]
  ------------------
 4777|     79|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (4777:10): [True: 78, False: 1]
  |  Branch (4777:35): [True: 0, False: 78]
  ------------------
 4778|       |        //============================================================================
 4779|       |        //
 4780|       |        // Prototypes for built-in functions seen by geometry shaders only.
 4781|       |        //
 4782|       |        //============================================================================
 4783|     28|        if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (4783:13): [True: 28, False: 0]
  |  Branch (4783:38): [True: 28, False: 0]
  ------------------
 4784|     28|            stageBuiltins[EShLangGeometry].append(
 4785|     28|                "void EmitStreamVertex(int);"
 4786|     28|                "void EndStreamPrimitive(int);"
 4787|     28|                );
 4788|     28|        }
 4789|     28|        stageBuiltins[EShLangGeometry].append(
 4790|     28|            "void EmitVertex();"
 4791|     28|            "void EndPrimitive();"
 4792|     28|            "\n");
 4793|     28|    }
 4794|       |
 4795|       |    //============================================================================
 4796|       |    //
 4797|       |    // Prototypes for all control functions.
 4798|       |    //
 4799|       |    //============================================================================
 4800|    107|    bool esBarrier = (profile == EEsProfile && version >= 310);
  ------------------
  |  Branch (4800:23): [True: 78, False: 29]
  |  Branch (4800:48): [True: 0, False: 78]
  ------------------
 4801|    107|    if ((profile != EEsProfile && version >= 150) || esBarrier)
  ------------------
  |  Branch (4801:10): [True: 29, False: 78]
  |  Branch (4801:35): [True: 28, False: 1]
  |  Branch (4801:54): [True: 0, False: 79]
  ------------------
 4802|     28|        stageBuiltins[EShLangTessControl].append(
 4803|     28|            "void barrier();"
 4804|     28|            );
 4805|    107|    if ((profile != EEsProfile && version >= 420) || esBarrier)
  ------------------
  |  Branch (4805:10): [True: 29, False: 78]
  |  Branch (4805:35): [True: 27, False: 2]
  |  Branch (4805:54): [True: 0, False: 80]
  ------------------
 4806|     27|        stageBuiltins[EShLangCompute].append(
 4807|     27|            "void barrier();"
 4808|     27|            );
 4809|    107|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (4809:10): [True: 29, False: 78]
  |  Branch (4809:35): [True: 27, False: 2]
  |  Branch (4809:55): [True: 78, False: 2]
  |  Branch (4809:80): [True: 0, False: 78]
  ------------------
 4810|     27|        stageBuiltins[EShLangMesh].append(
 4811|     27|            "void barrier();"
 4812|     27|            );
 4813|     27|        stageBuiltins[EShLangTask].append(
 4814|     27|            "void barrier();"
 4815|     27|            );
 4816|     27|    }
 4817|    107|    if ((profile != EEsProfile && version >= 130) || esBarrier)
  ------------------
  |  Branch (4817:10): [True: 29, False: 78]
  |  Branch (4817:35): [True: 28, False: 1]
  |  Branch (4817:54): [True: 0, False: 79]
  ------------------
 4818|     28|        commonBuiltins.append(
 4819|     28|            "void memoryBarrier();"
 4820|     28|            );
 4821|    107|    if ((profile != EEsProfile && version >= 420) || esBarrier) {
  ------------------
  |  Branch (4821:10): [True: 29, False: 78]
  |  Branch (4821:35): [True: 27, False: 2]
  |  Branch (4821:54): [True: 0, False: 80]
  ------------------
 4822|     27|        commonBuiltins.append(
 4823|     27|            "void memoryBarrierBuffer();"
 4824|     27|            );
 4825|     27|        stageBuiltins[EShLangCompute].append(
 4826|     27|            "void memoryBarrierShared();"
 4827|     27|            "void groupMemoryBarrier();"
 4828|     27|            );
 4829|     27|    }
 4830|    107|    if ((profile != EEsProfile && version >= 420) || esBarrier) {
  ------------------
  |  Branch (4830:10): [True: 29, False: 78]
  |  Branch (4830:35): [True: 27, False: 2]
  |  Branch (4830:54): [True: 0, False: 80]
  ------------------
 4831|     27|        if (spvVersion.vulkan == 0 || spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (4831:13): [True: 12, False: 15]
  |  Branch (4831:39): [True: 0, False: 15]
  ------------------
 4832|     12|            commonBuiltins.append("void memoryBarrierAtomicCounter();");
 4833|     12|        }
 4834|     27|        commonBuiltins.append("void memoryBarrierImage();");
 4835|     27|    }
 4836|    107|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (4836:10): [True: 29, False: 78]
  |  Branch (4836:35): [True: 27, False: 2]
  |  Branch (4836:55): [True: 78, False: 2]
  |  Branch (4836:80): [True: 0, False: 78]
  ------------------
 4837|     27|        stageBuiltins[EShLangMesh].append(
 4838|     27|            "void memoryBarrierShared();"
 4839|     27|            "void groupMemoryBarrier();"
 4840|     27|        );
 4841|     27|        stageBuiltins[EShLangTask].append(
 4842|     27|            "void memoryBarrierShared();"
 4843|     27|            "void groupMemoryBarrier();"
 4844|     27|        );
 4845|     27|    }
 4846|       |
 4847|    107|    commonBuiltins.append("void controlBarrier(int, int, int, int);\n"
 4848|    107|                          "void memoryBarrier(int, int, int);\n");
 4849|       |
 4850|    107|    commonBuiltins.append("void debugPrintfEXT();\n");
 4851|       |
 4852|    107|    commonBuiltins.append("void abortEXT();\n");
 4853|       |
 4854|    107|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (4854:9): [True: 29, False: 78]
  |  Branch (4854:34): [True: 27, False: 2]
  ------------------
 4855|       |        // coopMatStoreNV perhaps ought to have "out" on the buf parameter, but
 4856|       |        // adding it introduces undesirable tempArgs on the stack. What we want
 4857|       |        // is more like "buf" thought of as a pointer value being an in parameter.
 4858|     27|        stageBuiltins[EShLangCompute].append(
 4859|     27|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal float16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4860|     27|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal float[] buf, uint element, uint stride, bool colMajor);\n"
 4861|     27|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4862|     27|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4863|     27|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4864|     27|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4865|     27|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4866|     27|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4867|       |
 4868|     27|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal float16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4869|     27|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal float[] buf, uint element, uint stride, bool colMajor);\n"
 4870|     27|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal float64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4871|     27|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4872|     27|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4873|     27|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4874|     27|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4875|     27|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4876|     27|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4877|       |
 4878|     27|            "fcoopmatNV coopMatMulAddNV(fcoopmatNV A, fcoopmatNV B, fcoopmatNV C);\n"
 4879|     27|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4880|     27|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4881|     27|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 4882|     27|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4883|     27|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 4884|     27|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 4885|     27|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4886|     27|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4887|     27|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4888|     27|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4889|     27|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4890|     27|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4891|       |
 4892|     27|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4893|     27|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4894|     27|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 4895|     27|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4896|     27|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 4897|     27|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 4898|     27|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4899|     27|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4900|     27|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4901|     27|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4902|     27|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4903|     27|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4904|       |
 4905|     27|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4906|     27|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4907|     27|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 4908|     27|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4909|     27|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 4910|     27|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 4911|     27|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4912|     27|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4913|     27|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4914|     27|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4915|     27|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4916|     27|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4917|       |
 4918|     27|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4919|     27|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4920|     27|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 4921|     27|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4922|     27|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 4923|     27|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 4924|     27|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4925|     27|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4926|     27|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4927|     27|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4928|     27|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4929|     27|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4930|       |
 4931|     27|            "icoopmatNV coopMatMulAddNV(icoopmatNV A, icoopmatNV B, icoopmatNV C);\n"
 4932|     27|            "ucoopmatNV coopMatMulAddNV(ucoopmatNV A, ucoopmatNV B, ucoopmatNV C);\n"
 4933|     27|            );
 4934|       |
 4935|     27|        std::stringstream cooperativeMatrixFuncs;
 4936|       |
 4937|     27|        {
 4938|     27|            static const char *allTypes[] =
 4939|     27|            {
 4940|     27|                "float", "vec2", "vec4",
 4941|     27|                "float16_t", "f16vec2", "f16vec4",
 4942|     27|                "bfloat16_t", "bf16vec2", "bf16vec4",
 4943|     27|                "floate5m2_t", "fe5m2vec2", "fe5m2vec4",
 4944|     27|                "floate4m3_t", "fe4m3vec2", "fe4m3vec4",
 4945|     27|                "double", "dvec2", "dvec4",
 4946|     27|                "int8_t", "i8vec2", "i8vec4",
 4947|     27|                "int16_t", "i16vec2", "i16vec4",
 4948|     27|                "int", "ivec2", "ivec4",
 4949|     27|                "int64_t", "i64vec2", "i64vec4",
 4950|     27|                "uint8_t", "u8vec2", "u8vec4",
 4951|     27|                "uint16_t", "u16vec2", "u16vec4",
 4952|     27|                "uint", "uvec2", "uvec4",
 4953|     27|                "uint64_t", "u64vec2", "u64vec4",
 4954|     27|            };
 4955|     54|            for (auto elemTy : {"uint", "uint64_t"}) {
  ------------------
  |  Branch (4955:30): [True: 54, False: 27]
  ------------------
 4956|  2.26k|                for (auto t : allTypes) {
  ------------------
  |  Branch (4956:29): [True: 2.26k, False: 54]
  ------------------
 4957|  2.26k|                    cooperativeMatrixFuncs << "void coopMatLoad(out coopmat m, volatile coherent nontemporal " << t << "[] buf, " << elemTy << " element, uint stride, int matrixLayout);\n";
 4958|  2.26k|                    cooperativeMatrixFuncs << "void coopMatStore(coopmat m, volatile coherent nontemporal " << t << "[] buf, " << elemTy << " element, uint stride, int matrixLayout);\n";
 4959|  2.26k|                }
 4960|       |                // Just use uint8_t for buffer type, we have special matching rules to allow any conversion
 4961|     54|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t);\n";
 4962|     54|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v);\n";
 4963|     54|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, __function f);\n";
 4964|     54|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v, __function f);\n";
 4965|     54|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, __function f, __function g);\n";
 4966|     54|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v, __function f, __function g);\n";
 4967|     54|                cooperativeMatrixFuncs << "void coopMatStoreTensorNV(coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t);\n";
 4968|     54|                cooperativeMatrixFuncs << "void coopMatStoreTensorNV(coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v);\n";
 4969|     54|            }
 4970|     27|        }
 4971|       |
 4972|     27|        cooperativeMatrixFuncs <<
 4973|     27|            "coopmat coopMatMulAdd(coopmat A, coopmat B, coopmat C);\n"
 4974|     27|            "coopmat coopMatMulAdd(coopmat A, coopmat B, coopmat C, int matrixOperands);\n";
 4975|       |
 4976|     27|        commonBuiltins.append(cooperativeMatrixFuncs.str().c_str());
 4977|       |
 4978|     27|        commonBuiltins.append(
 4979|     27|            "const int gl_MatrixUseA = 0;\n"
 4980|     27|            "const int gl_MatrixUseB = 1;\n"
 4981|     27|            "const int gl_MatrixUseAccumulator = 2;\n"
 4982|     27|            "const int gl_MatrixOperandsSaturatingAccumulation = 0x10;\n"
 4983|     27|            "const int gl_CooperativeMatrixLayoutRowMajor = 0;\n"
 4984|     27|            "const int gl_CooperativeMatrixLayoutColumnMajor = 1;\n"
 4985|     27|            "const int gl_CooperativeMatrixLayoutRowBlockedInterleavedARM = 4202;\n"
 4986|     27|            "const int gl_CooperativeMatrixLayoutColumnBlockedInterleavedARM = 4203;\n"
 4987|     27|            "\n"
 4988|     27|            );
 4989|       |
 4990|     27|        commonBuiltins.append(
 4991|     27|            "void coopMatTransposeNV(out coopmat, coopmat);"
 4992|     27|            "void coopMatReduceNV(out coopmat, coopmat, int, __function);"
 4993|     27|            "void coopMatPerElementNV();"
 4994|     27|        );
 4995|       |
 4996|     27|        commonBuiltins.append(
 4997|     27|            "const int gl_CooperativeMatrixReduceRowNV = 0x1;\n"
 4998|     27|            "const int gl_CooperativeMatrixReduceColumnNV = 0x2;\n"
 4999|     27|            "const int gl_CooperativeMatrixReduceRowAndColumnNV = 0x3;\n"
 5000|     27|            "const int gl_CooperativeMatrixReduce2x2NV = 0x4;\n"
 5001|     27|            "\n"
 5002|     27|            );
 5003|       |
 5004|     27|        commonBuiltins.append(
 5005|     27|            "const int gl_CooperativeMatrixClampModeUndefinedNV = 0x0;\n"
 5006|     27|            "const int gl_CooperativeMatrixClampModeConstantNV = 0x1;\n"
 5007|     27|            "const int gl_CooperativeMatrixClampModeClampToEdgeNV = 0x2;\n"
 5008|     27|            "const int gl_CooperativeMatrixClampModeRepeatNV = 0x3;\n"
 5009|     27|            "const int gl_CooperativeMatrixClampModeMirrorRepeatNV = 0x4;\n"
 5010|     27|            "\n"
 5011|     27|            );
 5012|       |
 5013|     27|        {
 5014|     27|          std::stringstream coopMatConvFuncs;
 5015|       |
 5016|     27|          const std::string eltTypes[] = {"uint32_t", "uint", "int32_t", "int", "float32_t", "float", "float16_t"};
 5017|       |
 5018|    189|          for (auto srcEltTy : eltTypes) {
  ------------------
  |  Branch (5018:30): [True: 189, False: 27]
  ------------------
 5019|  1.32k|            for (auto dstEltTy : eltTypes) {
  ------------------
  |  Branch (5019:32): [True: 1.32k, False: 189]
  ------------------
 5020|  1.32k|              coopMatConvFuncs << "void bitcastQCOM(" << srcEltTy.c_str() << " SrcArr[], " << dstEltTy.c_str()
 5021|  1.32k|                << " DstArr[]);\n";
 5022|  1.32k|            }
 5023|    189|          }
 5024|     27|          coopMatConvFuncs << "\n";
 5025|       |
 5026|    216|          for (auto eltTy : {"float32_t", "float16_t", "int8_t", "uint8_t", "uint32_t", "uint", "int32_t", "int"}) {
  ------------------
  |  Branch (5026:27): [True: 216, False: 27]
  ------------------
 5027|    216|            coopMatConvFuncs << "void vectorToCoopmatQCOM(" << eltTy << " SrcVec[], coopmat CM);\n";
 5028|    216|            coopMatConvFuncs << "void coopmatToVectorQCOM(coopmat CM, " << eltTy << " Dstvec[]);\n";
 5029|    216|          }
 5030|       |
 5031|    189|          for (auto eltTy : {"uint32_t", "uint", "int32_t", "int", "float32_t", "float", "float16_t"}) {
  ------------------
  |  Branch (5031:27): [True: 189, False: 27]
  ------------------
 5032|    189|            coopMatConvFuncs << "void extractSubArrayQCOM(" << eltTy << " arr[], uint index, " << eltTy << " subarr[]);\n";
 5033|    189|          }
 5034|       |
 5035|     27|          commonBuiltins.append(coopMatConvFuncs.str().c_str());
 5036|     27|        }
 5037|       |
 5038|     27|        commonBuiltins.append(
 5039|     27|            "tensorLayoutNV createTensorLayoutNV(uint Dim);\n"
 5040|     27|            "tensorLayoutNV createTensorLayoutNV(uint Dim, uint Mode);\n"
 5041|       |
 5042|     27|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0);\n"
 5043|     27|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1);\n"
 5044|     27|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1, uint blockSize2);\n"
 5045|     27|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1, uint blockSize2, uint blockSize3);\n"
 5046|     27|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1, uint blockSize2, uint blockSize3, uint blockSize4);\n"
 5047|       |
 5048|     27|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0);\n"
 5049|     27|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1);\n"
 5050|     27|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1, uint dim2);\n"
 5051|     27|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1, uint dim2, uint dim3);\n"
 5052|     27|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1, uint dim2, uint dim3, uint dim4);\n"
 5053|       |
 5054|     27|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0);\n"
 5055|     27|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1);\n"
 5056|     27|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1, uint stride2);\n"
 5057|     27|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1, uint stride2, uint stride3);\n"
 5058|     27|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1, uint stride2, uint stride3, uint stride4);\n"
 5059|       |
 5060|     27|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0);\n"
 5061|     27|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1);\n"
 5062|     27|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1, uint offset2, uint span2);\n"
 5063|     27|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1, uint offset2, uint span2, uint offset3, uint span3);\n"
 5064|     27|            "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"
 5065|       |
 5066|     27|            "tensorLayoutNV setTensorLayoutClampValueNV(tensorLayoutNV t, uint value);\n"
 5067|       |
 5068|     27|            "tensorViewNV createTensorViewNV(uint Dim);\n"
 5069|     27|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions);\n"
 5070|     27|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0);\n"
 5071|     27|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1);\n"
 5072|     27|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1, uint p2);\n"
 5073|     27|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1, uint p2, uint p3);\n"
 5074|     27|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1, uint p2, uint p3, uint p4);\n"
 5075|       |
 5076|     27|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0);\n"
 5077|     27|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1);\n"
 5078|     27|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1, uint dim2);\n"
 5079|     27|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1, uint dim2, uint dim3);\n"
 5080|     27|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1, uint dim2, uint dim3, uint dim4);\n"
 5081|       |
 5082|     27|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0);\n"
 5083|     27|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1);\n"
 5084|     27|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1, uint stride2);\n"
 5085|     27|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1, uint stride2, uint stride3);\n"
 5086|     27|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1, uint stride2, uint stride3, uint stride4);\n"
 5087|       |
 5088|     27|            "tensorViewNV setTensorViewClipNV(tensorViewNV v, uint clipRowOffset, uint clipRowSpan, uint clipColOffset, uint clipColSpan);\n"
 5089|     27|            "\n"
 5090|     27|        );
 5091|       |
 5092|       |        // GL_ARM_tensors builtins.
 5093|     27|        static const char *tensorDataTypesARM[] = {
 5094|     27|            "bool",
 5095|     27|            "int8_t", "int16_t", "int32_t", "int64_t",
 5096|     27|            "uint8_t", "uint16_t", "uint32_t", "uint64_t",
 5097|     27|            "float16_t", "float32_t", "float64_t",
 5098|     27|            "bfloat16_t", "floate5m2_t", "floate4m3_t",
 5099|     27|        };
 5100|     27|        std::ostringstream ostream;
 5101|    405|        for (auto t : tensorDataTypesARM) {
  ------------------
  |  Branch (5101:21): [True: 405, False: 27]
  ------------------
 5102|       |            // Scalar
 5103|    405|            ostream << "void tensorReadARM(readonly tensorARM t, uint coords[], out "
 5104|    405|                    << t << " data, uint tensorOperands = 0U, ...);\n";
 5105|    405|            ostream << "void tensorWriteARM(writeonly tensorARM t, uint coords[], "
 5106|    405|                    << t << " data, uint tensorOperands = 0U, ...);\n";
 5107|       |            // Array
 5108|    405|            ostream << "void tensorReadARM(readonly tensorARM t, uint coords[], "
 5109|    405|                    << t << " data[], uint tensorOperands = 0U, ...);\n";
 5110|    405|            ostream << "void tensorWriteARM(writeonly tensorARM t, uint coords[], "
 5111|    405|                    << t << " data[], uint tensorOperands = 0U, ...);\n";
 5112|    405|        }
 5113|     27|        ostream << "uint tensorSizeARM(readonly writeonly tensorARM t, uint dim);\n";
 5114|     27|        commonBuiltins.append(ostream.str());
 5115|     27|    }
 5116|       |
 5117|    107|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5117:9): [True: 29, False: 78]
  |  Branch (5117:34): [True: 27, False: 2]
  ------------------
 5118|     27|        const char *basicTypes[] = {
 5119|     27|            "int8_t",
 5120|     27|            "int16_t",
 5121|     27|            "int32_t",
 5122|     27|            "int64_t",
 5123|     27|            "uint8_t",
 5124|     27|            "uint16_t",
 5125|     27|            "uint32_t",
 5126|     27|            "uint64_t",
 5127|     27|            "float16_t",
 5128|     27|            "float32_t",
 5129|     27|            "float64_t",
 5130|     27|        };
 5131|     27|        std::string coopVecOffsetTypes[] = {
 5132|     27|            "uint",
 5133|     27|            "uint64_t",
 5134|     27|        };
 5135|     54|        for (auto offsetTy : coopVecOffsetTypes) {
  ------------------
  |  Branch (5135:28): [True: 54, False: 27]
  ------------------
 5136|    648|            for (uint32_t i = 0; i < sizeof(basicTypes)/sizeof(basicTypes[0]); ++i) {
  ------------------
  |  Branch (5136:34): [True: 594, False: 54]
  ------------------
 5137|    594|                std::string func = std::string("void coopVecMatMulNV(out coopvecNV result, ") +
 5138|    594|                                   std::string("coopvecNV v, ") +
 5139|    594|                                   std::string("int inputInterpretation, ") +
 5140|    594|                                   std::string(basicTypes[i]) + std::string("[] matrix, ") +
 5141|    594|                                   offsetTy + std::string(" matrixOffset, ") +
 5142|    594|                                   std::string("int matrixInterpretation, ") +
 5143|    594|                                   std::string("uint M, ") +
 5144|    594|                                   std::string("uint K, ") +
 5145|    594|                                   std::string("int matrixLayout, ") +
 5146|    594|                                   std::string("bool transpose, ") +
 5147|    594|                                   std::string("uint matrixStride);\n");
 5148|    594|                commonBuiltins.append(func.c_str());
 5149|       |
 5150|  7.12k|                for (uint32_t j = 0; j < sizeof(basicTypes)/sizeof(basicTypes[0]); ++j) {
  ------------------
  |  Branch (5150:38): [True: 6.53k, False: 594]
  ------------------
 5151|  6.53k|                    func = std::string("void coopVecMatMulAddNV(out coopvecNV result, ") +
 5152|  6.53k|                           std::string("coopvecNV v, ") +
 5153|  6.53k|                           std::string("int inputInterpretation, ") +
 5154|  6.53k|                           std::string(basicTypes[i]) + std::string("[] matrix, ") +
 5155|  6.53k|                           offsetTy + std::string(" matrixOffset, ") +
 5156|  6.53k|                           std::string("int matrixInterpretation, ") +
 5157|  6.53k|                           std::string(basicTypes[j]) + std::string("[] bias, ") +
 5158|  6.53k|                           offsetTy + std::string(" biasOffset, ") +
 5159|  6.53k|                           std::string("int biasInterpretation, ") +
 5160|  6.53k|                           std::string("uint M, ") +
 5161|  6.53k|                           std::string("uint K, ") +
 5162|  6.53k|                           std::string("int matrixLayout, ") +
 5163|  6.53k|                           std::string("bool transpose, ") +
 5164|  6.53k|                           std::string("uint matrixStride);\n");
 5165|  6.53k|                    commonBuiltins.append(func.c_str());
 5166|  6.53k|                }
 5167|       |
 5168|    594|                func = std::string("void coopVecOuterProductAccumulateNV(coopvecNV v1, coopvecNV v2, ") +
 5169|    594|                       std::string(basicTypes[i]) +
 5170|    594|                       std::string("[] buf, ") + offsetTy + std::string(" offset, uint stride, int matrixLayout, int matrixInterpretation);\n");
 5171|    594|                commonBuiltins.append(func.c_str());
 5172|       |            
 5173|    594|                func = std::string("void coopVecReduceSumAccumulateNV(coopvecNV v, ") +
 5174|    594|                       std::string(basicTypes[i]) +
 5175|    594|                       std::string("[] buf, ") + offsetTy + std::string(" offset);\n");
 5176|    594|                commonBuiltins.append(func.c_str());
 5177|    594|            }
 5178|     54|        }
 5179|     27|        std::string cooperativeVectorFuncs =
 5180|     27|            "coopvecNV fma(coopvecNV, coopvecNV, coopvecNV);\n"
 5181|     27|            "coopvecNV min(coopvecNV, coopvecNV);\n"
 5182|     27|            "coopvecNV max(coopvecNV, coopvecNV);\n"
 5183|     27|            "coopvecNV step(coopvecNV, coopvecNV);\n"
 5184|     27|            "coopvecNV exp(coopvecNV);\n"            
 5185|     27|            "coopvecNV log(coopvecNV);\n"            
 5186|     27|            "coopvecNV tanh(coopvecNV);\n"            
 5187|     27|            "coopvecNV atan(coopvecNV);\n"            
 5188|     27|            "coopvecNV clamp(coopvecNV, coopvecNV, coopvecNV);\n";
 5189|       |
 5190|     27|        commonBuiltins.append(cooperativeVectorFuncs.c_str());
 5191|       |
 5192|     27|        if (profile != EEsProfile) {
  ------------------
  |  Branch (5192:13): [True: 27, False: 0]
  ------------------
 5193|     27|            std::string longVectorFuncs =
 5194|       |
 5195|       |                // manually add long vector prototypes for functions not in BaseFunctions/etc
 5196|     27|                "vector frexp(vector, vector);\n"
 5197|     27|                "vector ldexp(vector, vector);\n"
 5198|     27|                "vector fma(vector, vector, vector);\n"
 5199|       |
 5200|     27|                "vector floatBitsToInt(vector);\n"
 5201|     27|                "vector floatBitsToUint(vector);\n"
 5202|     27|                "vector intBitsToFloat(vector);\n"
 5203|     27|                "vector uintBitsToFloat(vector);\n"
 5204|     27|                "vector doubleBitsToInt64(vector);"
 5205|     27|                "vector doubleBitsToUint64(vector);"
 5206|     27|                "vector int64BitsToDouble(vector);"
 5207|     27|                "vector uint64BitsToDouble(vector);"
 5208|     27|                "vector bfloat16BitsToIntEXT(vector);"
 5209|     27|                "vector bfloat16BitsToUintEXT(vector);"
 5210|     27|                "vector intBitsToBFloat16EXT(vector);"
 5211|     27|                "vector uintBitsToBFloat16EXT(vector);"
 5212|     27|                "vector halfBitsToInt16(vector);"
 5213|     27|                "vector halfBitsToUint16(vector);"
 5214|     27|                "vector float16BitsToInt16(vector);"
 5215|     27|                "vector float16BitsToUint16(vector);"
 5216|     27|                "vector int16BitsToFloat16(vector);"
 5217|     27|                "vector uint16BitsToFloat16(vector);"
 5218|     27|                "vector int16BitsToHalf(vector);"
 5219|     27|                "vector uint16BitsToHalf(vector);"
 5220|     27|                "vector floate5m2BitsToIntEXT(vector);"
 5221|     27|                "vector floate5m2BitsToUintEXT(vector);"
 5222|     27|                "vector intBitsToFloate5m2EXT(vector);"
 5223|     27|                "vector uintBitsToFloate5m2EXT(vector);"
 5224|     27|                "vector floate4m3BitsToIntEXT(vector);"
 5225|     27|                "vector floate4m3BitsToUintEXT(vector);"
 5226|     27|                "vector intBitsToFloate4m3EXT(vector);"
 5227|     27|                "vector uintBitsToFloate4m3EXT(vector);"
 5228|       |
 5229|     27|                "vector uaddCarry(highp vector, highp vector, out lowp vector carry);"
 5230|     27|                "vector usubBorrow(highp vector, highp vector, out lowp vector borrow);"
 5231|     27|                "void umulExtended(highp vector, highp vector, out highp vector, out highp vector);"
 5232|     27|                "void imulExtended(highp vector, highp vector, out highp vector, out highp vector);"
 5233|     27|                "vector bitfieldExtract(vector, int, int);"
 5234|     27|                "vector bitfieldInsert(vector, vector, int, int);"
 5235|     27|                "vector bitfieldReverse(highp vector);"
 5236|     27|                "vector bitCount(vector);"
 5237|     27|                "vector findLSB(vector);"
 5238|     27|                "vector findMSB(vector);"
 5239|       |
 5240|       |                // BaseFunctions overloads with a scalar parameter don't get generated in AddLongVectorBuiltin
 5241|     27|                "vector mod(vector, double);\n"
 5242|     27|                "vector min(vector, double);\n"
 5243|     27|                "vector max(vector, double);\n"
 5244|     27|                "vector clamp(vector, double, double);"
 5245|     27|                "vector mix(vector, vector,  double);"
 5246|     27|                "vector step(double, vector);"
 5247|     27|                "vector smoothstep(double, double, vector);"
 5248|     27|                "vector refract(vector, vector, double);"
 5249|       |
 5250|     27|                "vector mod(vector, float16_t);\n"
 5251|     27|                "vector min(vector, float16_t);\n"
 5252|     27|                "vector max(vector, float16_t);\n"
 5253|     27|                "vector clamp(vector, float16_t, float16_t);"
 5254|     27|                "vector mix(vector, vector,  float16_t);"
 5255|     27|                "vector step(float16_t, vector);"
 5256|     27|                "vector smoothstep(float16_t, float16_t, vector);"
 5257|     27|                "vector refract(vector, vector, float16_t);"
 5258|       |
 5259|     27|                "vector min(vector, uint64_t);\n"
 5260|     27|                "vector max(vector, uint64_t);\n"
 5261|     27|                "vector clamp(vector, uint64_t, uint64_t);"
 5262|     27|                "vector mix(vector, vector,  uint64_t);"
 5263|       |
 5264|     27|                "vector min(vector, int64_t);\n"
 5265|     27|                "vector max(vector, int64_t);\n"
 5266|     27|                "vector clamp(vector, int64_t, int64_t);"
 5267|     27|                "vector mix(vector, vector,  int64_t);"
 5268|       |
 5269|     27|                "vector min(vector, uint16_t);\n"
 5270|     27|                "vector max(vector, uint16_t);\n"
 5271|     27|                "vector clamp(vector, uint16_t, uint16_t);"
 5272|     27|                "vector mix(vector, vector,  uint16_t);"
 5273|       |
 5274|     27|                "vector min(vector, int16_t);\n"
 5275|     27|                "vector max(vector, int16_t);\n"
 5276|     27|                "vector clamp(vector, int16_t, int16_t);"
 5277|     27|                "vector mix(vector, vector,  int16_t);"
 5278|       |
 5279|     27|                "vector min(vector, uint8_t);\n"
 5280|     27|                "vector max(vector, uint8_t);\n"
 5281|     27|                "vector clamp(vector, uint8_t, uint8_t);"
 5282|     27|                "vector mix(vector, vector,  uint8_t);"
 5283|       |
 5284|     27|                "vector min(vector, int8_t);\n"
 5285|     27|                "vector max(vector, int8_t);\n"
 5286|     27|                "vector clamp(vector, int8_t, int8_t);"
 5287|     27|                "vector mix(vector, vector,  int8_t);"
 5288|       |
 5289|     27|                "vector expectEXT(vector, vector);"
 5290|     27|                ;
 5291|       |
 5292|     27|            std::string longVectorDerivativeFuncs =
 5293|     27|                "vector dFdxFine(vector);"
 5294|     27|                "vector dFdyFine(vector);"
 5295|     27|                "vector fwidthFine(vector);"
 5296|     27|                "vector dFdxCoarse(vector);"
 5297|     27|                "vector dFdyCoarse(vector);"
 5298|     27|                "vector fwidthCoarse(vector);"
 5299|       |
 5300|     27|                ;
 5301|     27|            commonBuiltins.append(longVectorFuncs.c_str());
 5302|     27|            stageBuiltins[EShLangFragment].append(longVectorDerivativeFuncs.c_str());
 5303|     27|            stageBuiltins[EShLangCompute].append(longVectorDerivativeFuncs.c_str());
 5304|     27|        }
 5305|       |
 5306|     27|        const char *scalarAndVectorTypes[] = {
 5307|     27|            "int8_t",
 5308|     27|            "int16_t",
 5309|     27|            "int32_t",
 5310|     27|            "int64_t",
 5311|     27|            "uint8_t",
 5312|     27|            "uint16_t",
 5313|     27|            "uint32_t",
 5314|     27|            "uint64_t",
 5315|     27|            "float16_t",
 5316|     27|            "float32_t",
 5317|     27|            "float64_t",
 5318|     27|            "i8vec2",
 5319|     27|            "i16vec2",
 5320|     27|            "i32vec2",
 5321|     27|            "i64vec2",
 5322|     27|            "u8vec2",
 5323|     27|            "u16vec2",
 5324|     27|            "u32vec2",
 5325|     27|            "u64vec2",
 5326|     27|            "f16vec2",
 5327|     27|            "f32vec2",
 5328|     27|            "f64vec2",
 5329|     27|            "i8vec3",
 5330|     27|            "i16vec3",
 5331|     27|            "i32vec3",
 5332|     27|            "i64vec3",
 5333|     27|            "u8vec3",
 5334|     27|            "u16vec3",
 5335|     27|            "u32vec3",
 5336|     27|            "u64vec3",
 5337|     27|            "f16vec3",
 5338|     27|            "f32vec3",
 5339|     27|            "f64vec3",
 5340|     27|            "i8vec4",
 5341|     27|            "i16vec4",
 5342|     27|            "i32vec4",
 5343|     27|            "i64vec4",
 5344|     27|            "u8vec4",
 5345|     27|            "u16vec4",
 5346|     27|            "u32vec4",
 5347|     27|            "u64vec4",
 5348|     27|            "f16vec4",
 5349|     27|            "f32vec4",
 5350|     27|            "f64vec4",
 5351|     27|        };
 5352|       |
 5353|     54|        for (auto offsetTy : coopVecOffsetTypes) {
  ------------------
  |  Branch (5353:28): [True: 54, False: 27]
  ------------------
 5354|  2.43k|            for (uint32_t i = 0; i < sizeof(scalarAndVectorTypes)/sizeof(scalarAndVectorTypes[0]); ++i) {
  ------------------
  |  Branch (5354:34): [True: 2.37k, False: 54]
  ------------------
 5355|  2.37k|                std::string load = std::string("void coopVecLoadNV(out coopvecNV v, volatile coherent ") +
 5356|  2.37k|                                   std::string(scalarAndVectorTypes[i]) + std::string("[] buf, ") + offsetTy + std::string(" offset);");
 5357|  2.37k|                std::string store = std::string("void coopVecStoreNV(coopvecNV v, volatile coherent ") +
 5358|  2.37k|                                   std::string(scalarAndVectorTypes[i]) + std::string("[] buf, ") + offsetTy + std::string(" offset);");
 5359|  2.37k|                commonBuiltins.append(load.c_str());
 5360|  2.37k|                commonBuiltins.append(store.c_str());
 5361|  2.37k|            }
 5362|     54|        }
 5363|       |
 5364|     27|        commonBuiltins.append(
 5365|     27|            "const int gl_CooperativeVectorMatrixLayoutRowMajorNV = 0;\n"
 5366|     27|            "const int gl_CooperativeVectorMatrixLayoutColumnMajorNV = 1;\n"
 5367|     27|            "const int gl_CooperativeVectorMatrixLayoutInferencingOptimalNV = 2;\n"
 5368|     27|            "const int gl_CooperativeVectorMatrixLayoutTrainingOptimalNV = 3;\n"
 5369|     27|            "\n"
 5370|     27|            );
 5371|       |
 5372|     27|        commonBuiltins.append(
 5373|     27|            "const int gl_ComponentTypeFloat16NV                = 0;\n"
 5374|     27|            "const int gl_ComponentTypeFloat32NV                = 1;\n"
 5375|     27|            "const int gl_ComponentTypeFloat64NV                = 2;\n"
 5376|     27|            "const int gl_ComponentTypeSignedInt8NV             = 3;\n"
 5377|     27|            "const int gl_ComponentTypeSignedInt16NV            = 4;\n"
 5378|     27|            "const int gl_ComponentTypeSignedInt32NV            = 5;\n"
 5379|     27|            "const int gl_ComponentTypeSignedInt64NV            = 6;\n"
 5380|     27|            "const int gl_ComponentTypeUnsignedInt8NV           = 7;\n"
 5381|     27|            "const int gl_ComponentTypeUnsignedInt16NV          = 8;\n"
 5382|     27|            "const int gl_ComponentTypeUnsignedInt32NV          = 9;\n"
 5383|     27|            "const int gl_ComponentTypeUnsignedInt64NV          = 10;\n"
 5384|     27|            "const int gl_ComponentTypeSignedInt8PackedNV       = 1000491000;\n"
 5385|     27|            "const int gl_ComponentTypeUnsignedInt8PackedNV     = 1000491001;\n"
 5386|     27|            "const int gl_ComponentTypeFloatE4M3NV              = 1000491002;\n"
 5387|     27|            "const int gl_ComponentTypeFloatE5M2NV              = 1000491003;\n"
 5388|     27|            "\n"
 5389|     27|            );
 5390|     27|    }
 5391|       |
 5392|       |    //============================================================================
 5393|       |    //
 5394|       |    // Prototypes for built-in functions seen by fragment shaders only.
 5395|       |    //
 5396|       |    //============================================================================
 5397|       |
 5398|       |    //
 5399|       |    // Original-style texture Functions with bias.
 5400|       |    //
 5401|    107|    if (spvVersion.spv == 0 && (profile != EEsProfile || version == 100)) {
  ------------------
  |  Branch (5401:9): [True: 107, False: 0]
  |  Branch (5401:33): [True: 29, False: 78]
  |  Branch (5401:58): [True: 77, False: 1]
  ------------------
 5402|    106|        stageBuiltins[EShLangFragment].append(
 5403|    106|            "vec4 texture2D(sampler2D, vec2, float);"
 5404|    106|            "vec4 texture2DProj(sampler2D, vec3, float);"
 5405|    106|            "vec4 texture2DProj(sampler2D, vec4, float);"
 5406|    106|            "vec4 texture3D(sampler3D, vec3, float);"        // OES_texture_3D
 5407|    106|            "vec4 texture3DProj(sampler3D, vec4, float);"    // OES_texture_3D
 5408|    106|            "vec4 textureCube(samplerCube, vec3, float);"
 5409|       |
 5410|    106|            "\n");
 5411|    106|    }
 5412|    107|    if (spvVersion.spv == 0 && (profile != EEsProfile && version > 100)) {
  ------------------
  |  Branch (5412:9): [True: 107, False: 0]
  |  Branch (5412:33): [True: 29, False: 78]
  |  Branch (5412:58): [True: 29, False: 0]
  ------------------
 5413|     29|        stageBuiltins[EShLangFragment].append(
 5414|     29|            "vec4 texture1D(sampler1D, float, float);"
 5415|     29|            "vec4 texture1DProj(sampler1D, vec2, float);"
 5416|     29|            "vec4 texture1DProj(sampler1D, vec4, float);"
 5417|     29|            "vec4 shadow1D(sampler1DShadow, vec3, float);"
 5418|     29|            "vec4 shadow2D(sampler2DShadow, vec3, float);"
 5419|     29|            "vec4 shadow1DProj(sampler1DShadow, vec4, float);"
 5420|     29|            "vec4 shadow2DProj(sampler2DShadow, vec4, float);"
 5421|       |
 5422|     29|            "\n");
 5423|     29|    }
 5424|    107|    if (spvVersion.spv == 0 && profile == EEsProfile) {
  ------------------
  |  Branch (5424:9): [True: 107, False: 0]
  |  Branch (5424:32): [True: 78, False: 29]
  ------------------
 5425|     78|        stageBuiltins[EShLangFragment].append(
 5426|     78|            "vec4 texture2DLodEXT(sampler2D, vec2, float);"      // GL_EXT_shader_texture_lod
 5427|     78|            "vec4 texture2DProjLodEXT(sampler2D, vec3, float);"  // GL_EXT_shader_texture_lod
 5428|     78|            "vec4 texture2DProjLodEXT(sampler2D, vec4, float);"  // GL_EXT_shader_texture_lod
 5429|     78|            "vec4 textureCubeLodEXT(samplerCube, vec3, float);"  // GL_EXT_shader_texture_lod
 5430|       |
 5431|     78|            "\n");
 5432|     78|    }
 5433|       |
 5434|       |    // GL_EXT_shader_tile_image
 5435|    107|    if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (5435:9): [True: 80, False: 27]
  ------------------
 5436|     80|        stageBuiltins[EShLangFragment].append(
 5437|     80|            "lowp uint stencilAttachmentReadEXT();"
 5438|     80|            "lowp uint stencilAttachmentReadEXT(int);"
 5439|     80|            "highp float depthAttachmentReadEXT();"
 5440|     80|            "highp float depthAttachmentReadEXT(int);"
 5441|     80|            "\n");
 5442|     80|        stageBuiltins[EShLangFragment].append(
 5443|     80|            "vec4 colorAttachmentReadEXT(attachmentEXT);"
 5444|     80|            "vec4 colorAttachmentReadEXT(attachmentEXT, int);"
 5445|     80|            "ivec4 colorAttachmentReadEXT(iattachmentEXT);"
 5446|     80|            "ivec4 colorAttachmentReadEXT(iattachmentEXT, int);"
 5447|     80|            "uvec4 colorAttachmentReadEXT(uattachmentEXT);"
 5448|     80|            "uvec4 colorAttachmentReadEXT(uattachmentEXT, int);"
 5449|     80|            "\n");
 5450|     80|    }
 5451|       |
 5452|       |    // GL_ARB_derivative_control
 5453|    107|    if (profile != EEsProfile && version >= 400) {
  ------------------
  |  Branch (5453:9): [True: 29, False: 78]
  |  Branch (5453:34): [True: 27, False: 2]
  ------------------
 5454|     27|        stageBuiltins[EShLangFragment].append(derivativeControls);
 5455|     27|        stageBuiltins[EShLangFragment].append("\n");
 5456|     27|    }
 5457|       |
 5458|       |    // GL_OES_shader_multisample_interpolation
 5459|    107|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (5459:10): [True: 78, False: 29]
  |  Branch (5459:35): [True: 0, False: 78]
  ------------------
 5460|    107|        (profile != EEsProfile && version >= 150)) { // NV_gpu_shader5
  ------------------
  |  Branch (5460:10): [True: 29, False: 78]
  |  Branch (5460:35): [True: 28, False: 1]
  ------------------
 5461|     28|        stageBuiltins[EShLangFragment].append(
 5462|     28|            "float interpolateAtCentroid(float);"
 5463|     28|            "vec2  interpolateAtCentroid(vec2);"
 5464|     28|            "vec3  interpolateAtCentroid(vec3);"
 5465|     28|            "vec4  interpolateAtCentroid(vec4);"
 5466|       |
 5467|     28|            "float interpolateAtSample(float, int);"
 5468|     28|            "vec2  interpolateAtSample(vec2,  int);"
 5469|     28|            "vec3  interpolateAtSample(vec3,  int);"
 5470|     28|            "vec4  interpolateAtSample(vec4,  int);"
 5471|       |
 5472|     28|            "float interpolateAtOffset(float, vec2);"
 5473|     28|            "vec2  interpolateAtOffset(vec2,  vec2);"
 5474|     28|            "vec3  interpolateAtOffset(vec3,  vec2);"
 5475|     28|            "vec4  interpolateAtOffset(vec4,  vec2);"
 5476|       |
 5477|     28|            "\n");
 5478|     28|    }
 5479|       |
 5480|    107|    stageBuiltins[EShLangFragment].append(
 5481|    107|        "void beginInvocationInterlockARB(void);"
 5482|    107|        "void endInvocationInterlockARB(void);");
 5483|       |
 5484|    107|    stageBuiltins[EShLangFragment].append(
 5485|    107|        "bool helperInvocationEXT();"
 5486|    107|        "\n");
 5487|       |
 5488|       |    // GL_AMD_shader_explicit_vertex_parameter
 5489|    107|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5489:9): [True: 29, False: 78]
  |  Branch (5489:34): [True: 27, False: 2]
  ------------------
 5490|     27|        stageBuiltins[EShLangFragment].append(
 5491|     27|            "float interpolateAtVertexAMD(float, uint);"
 5492|     27|            "vec2  interpolateAtVertexAMD(vec2,  uint);"
 5493|     27|            "vec3  interpolateAtVertexAMD(vec3,  uint);"
 5494|     27|            "vec4  interpolateAtVertexAMD(vec4,  uint);"
 5495|       |
 5496|     27|            "int   interpolateAtVertexAMD(int,   uint);"
 5497|     27|            "ivec2 interpolateAtVertexAMD(ivec2, uint);"
 5498|     27|            "ivec3 interpolateAtVertexAMD(ivec3, uint);"
 5499|     27|            "ivec4 interpolateAtVertexAMD(ivec4, uint);"
 5500|       |
 5501|     27|            "uint  interpolateAtVertexAMD(uint,  uint);"
 5502|     27|            "uvec2 interpolateAtVertexAMD(uvec2, uint);"
 5503|     27|            "uvec3 interpolateAtVertexAMD(uvec3, uint);"
 5504|     27|            "uvec4 interpolateAtVertexAMD(uvec4, uint);"
 5505|       |
 5506|     27|            "float16_t interpolateAtVertexAMD(float16_t, uint);"
 5507|     27|            "f16vec2   interpolateAtVertexAMD(f16vec2,   uint);"
 5508|     27|            "f16vec3   interpolateAtVertexAMD(f16vec3,   uint);"
 5509|     27|            "f16vec4   interpolateAtVertexAMD(f16vec4,   uint);"
 5510|       |
 5511|     27|            "\n");
 5512|     27|    }
 5513|       |
 5514|       |    // GL_AMD_gpu_shader_half_float
 5515|    107|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5515:9): [True: 29, False: 78]
  |  Branch (5515:34): [True: 27, False: 2]
  ------------------
 5516|     27|        stageBuiltins[EShLangFragment].append(derivativesAndControl16bits);
 5517|     27|        stageBuiltins[EShLangFragment].append("\n");
 5518|       |
 5519|     27|        stageBuiltins[EShLangFragment].append(
 5520|     27|            "float16_t interpolateAtCentroid(float16_t);"
 5521|     27|            "f16vec2   interpolateAtCentroid(f16vec2);"
 5522|     27|            "f16vec3   interpolateAtCentroid(f16vec3);"
 5523|     27|            "f16vec4   interpolateAtCentroid(f16vec4);"
 5524|       |
 5525|     27|            "float16_t interpolateAtSample(float16_t, int);"
 5526|     27|            "f16vec2   interpolateAtSample(f16vec2,   int);"
 5527|     27|            "f16vec3   interpolateAtSample(f16vec3,   int);"
 5528|     27|            "f16vec4   interpolateAtSample(f16vec4,   int);"
 5529|       |
 5530|     27|            "float16_t interpolateAtOffset(float16_t, f16vec2);"
 5531|     27|            "f16vec2   interpolateAtOffset(f16vec2,   f16vec2);"
 5532|     27|            "f16vec3   interpolateAtOffset(f16vec3,   f16vec2);"
 5533|     27|            "f16vec4   interpolateAtOffset(f16vec4,   f16vec2);"
 5534|       |
 5535|     27|            "\n");
 5536|     27|    }
 5537|       |
 5538|       |    // GL_ARB_shader_clock& GL_EXT_shader_realtime_clock
 5539|    107|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5539:9): [True: 29, False: 78]
  |  Branch (5539:34): [True: 27, False: 2]
  ------------------
 5540|     27|        commonBuiltins.append(
 5541|     27|            "uvec2 clock2x32ARB();"
 5542|     27|            "uint64_t clockARB();"
 5543|     27|            "uvec2 clockRealtime2x32EXT();"
 5544|     27|            "uint64_t clockRealtimeEXT();"
 5545|     27|            "\n");
 5546|     27|    }
 5547|       |
 5548|       |    // GL_AMD_shader_fragment_mask
 5549|    107|    if (profile != EEsProfile && version >= 450 && spvVersion.vulkan > 0) {
  ------------------
  |  Branch (5549:9): [True: 29, False: 78]
  |  Branch (5549:34): [True: 27, False: 2]
  |  Branch (5549:52): [True: 15, False: 12]
  ------------------
 5550|     15|        stageBuiltins[EShLangFragment].append(
 5551|     15|            "uint fragmentMaskFetchAMD(subpassInputMS);"
 5552|     15|            "uint fragmentMaskFetchAMD(isubpassInputMS);"
 5553|     15|            "uint fragmentMaskFetchAMD(usubpassInputMS);"
 5554|       |
 5555|     15|            "vec4  fragmentFetchAMD(subpassInputMS,  uint);"
 5556|     15|            "ivec4 fragmentFetchAMD(isubpassInputMS, uint);"
 5557|     15|            "uvec4 fragmentFetchAMD(usubpassInputMS, uint);"
 5558|       |
 5559|     15|            "\n");
 5560|     15|    }
 5561|       |
 5562|       |    // Builtins for GL_NV_ray_tracing/GL_NV_ray_tracing_motion_blur/GL_EXT_ray_tracing/GL_EXT_ray_query/
 5563|       |    // GL_NV_shader_invocation_reorder/GL_KHR_ray_tracing_position_Fetch
 5564|    107|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (5564:9): [True: 29, False: 78]
  |  Branch (5564:34): [True: 0, False: 29]
  ------------------
 5565|      0|         commonBuiltins.append("void rayQueryInitializeEXT(rayQueryEXT, accelerationStructureEXT, uint, uint, vec3, float, vec3, float);"
 5566|      0|            "void rayQueryTerminateEXT(rayQueryEXT);"
 5567|      0|            "void rayQueryGenerateIntersectionEXT(rayQueryEXT, float);"
 5568|      0|            "void rayQueryConfirmIntersectionEXT(rayQueryEXT);"
 5569|      0|            "bool rayQueryProceedEXT(rayQueryEXT);"
 5570|      0|            "uint rayQueryGetIntersectionTypeEXT(rayQueryEXT, bool);"
 5571|      0|            "float rayQueryGetRayTMinEXT(rayQueryEXT);"
 5572|      0|            "uint rayQueryGetRayFlagsEXT(rayQueryEXT);"
 5573|      0|            "vec3 rayQueryGetWorldRayOriginEXT(rayQueryEXT);"
 5574|      0|            "vec3 rayQueryGetWorldRayDirectionEXT(rayQueryEXT);"
 5575|      0|            "float rayQueryGetIntersectionTEXT(rayQueryEXT, bool);"
 5576|      0|            "int rayQueryGetIntersectionInstanceCustomIndexEXT(rayQueryEXT, bool);"
 5577|      0|            "int rayQueryGetIntersectionInstanceIdEXT(rayQueryEXT, bool);"
 5578|      0|            "uint rayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetEXT(rayQueryEXT, bool);"
 5579|      0|            "int rayQueryGetIntersectionGeometryIndexEXT(rayQueryEXT, bool);"
 5580|      0|            "int rayQueryGetIntersectionPrimitiveIndexEXT(rayQueryEXT, bool);"
 5581|      0|            "vec2 rayQueryGetIntersectionBarycentricsEXT(rayQueryEXT, bool);"
 5582|      0|            "bool rayQueryGetIntersectionFrontFaceEXT(rayQueryEXT, bool);"
 5583|      0|            "bool rayQueryGetIntersectionCandidateAABBOpaqueEXT(rayQueryEXT);"
 5584|      0|            "vec3 rayQueryGetIntersectionObjectRayDirectionEXT(rayQueryEXT, bool);"
 5585|      0|            "vec3 rayQueryGetIntersectionObjectRayOriginEXT(rayQueryEXT, bool);"
 5586|      0|            "mat4x3 rayQueryGetIntersectionObjectToWorldEXT(rayQueryEXT, bool);"
 5587|      0|            "mat4x3 rayQueryGetIntersectionWorldToObjectEXT(rayQueryEXT, bool);"
 5588|      0|            "void rayQueryGetIntersectionTriangleVertexPositionsEXT(rayQueryEXT, bool, out vec3[3]);"
 5589|      0|            "int rayQueryGetIntersectionClusterIdNV(rayQueryEXT, bool);"
 5590|      0|            "vec3 rayQueryGetIntersectionSpherePositionNV(rayQueryEXT, bool);"
 5591|      0|            "float rayQueryGetIntersectionSphereRadiusNV(rayQueryEXT, bool);"
 5592|      0|            "float rayQueryGetIntersectionLSSHitValueNV(rayQueryEXT, bool);"
 5593|      0|            "void rayQueryGetIntersectionLSSPositionsNV(rayQueryEXT, bool, out vec3[2]);"
 5594|      0|            "void rayQueryGetIntersectionLSSRadiiNV(rayQueryEXT, bool, out float[2]);"
 5595|      0|            "bool rayQueryIsSphereHitNV(rayQueryEXT, bool);"
 5596|      0|            "bool rayQueryIsLSSHitNV(rayQueryEXT, bool);"
 5597|      0|            "\n");
 5598|       |
 5599|      0|        stageBuiltins[EShLangRayGen].append(
 5600|      0|            "void traceNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5601|      0|            "void traceRayMotionNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5602|      0|            "void traceRayEXT(accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5603|      0|            "void executeCallableNV(uint, int);"
 5604|      0|            "void executeCallableEXT(uint, int);"
 5605|      0|            "void hitObjectTraceRayNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5606|      0|            "void hitObjectTraceRayMotionNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5607|      0|            "void hitObjectRecordHitNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,int);"
 5608|      0|            "void hitObjectRecordHitMotionNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5609|      0|            "void hitObjectRecordHitWithIndexNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,int);"
 5610|      0|            "void hitObjectRecordHitWithIndexMotionNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,float,int);"
 5611|      0|            "void hitObjectRecordMissNV(hitObjectNV,uint,vec3,float,vec3,float);"
 5612|      0|            "void hitObjectRecordMissMotionNV(hitObjectNV,uint,vec3,float,vec3,float,float);"
 5613|      0|            "void hitObjectRecordEmptyNV(hitObjectNV);"
 5614|      0|            "void hitObjectExecuteShaderNV(hitObjectNV,int);"
 5615|      0|            "bool hitObjectIsEmptyNV(hitObjectNV);"
 5616|      0|            "bool hitObjectIsMissNV(hitObjectNV);"
 5617|      0|            "bool hitObjectIsHitNV(hitObjectNV);"
 5618|      0|            "float hitObjectGetRayTMinNV(hitObjectNV);"
 5619|      0|            "float hitObjectGetRayTMaxNV(hitObjectNV);"
 5620|      0|            "vec3 hitObjectGetWorldRayOriginNV(hitObjectNV);"
 5621|      0|            "vec3 hitObjectGetWorldRayDirectionNV(hitObjectNV);"
 5622|      0|            "vec3 hitObjectGetObjectRayOriginNV(hitObjectNV);"
 5623|      0|            "vec3 hitObjectGetObjectRayDirectionNV(hitObjectNV);"
 5624|      0|            "mat4x3 hitObjectGetWorldToObjectNV(hitObjectNV);"
 5625|      0|            "mat4x3 hitObjectGetObjectToWorldNV(hitObjectNV);"
 5626|      0|            "int hitObjectGetInstanceCustomIndexNV(hitObjectNV);"
 5627|      0|            "int hitObjectGetInstanceIdNV(hitObjectNV);"
 5628|      0|            "int hitObjectGetGeometryIndexNV(hitObjectNV);"
 5629|      0|            "int hitObjectGetPrimitiveIndexNV(hitObjectNV);"
 5630|      0|            "uint hitObjectGetHitKindNV(hitObjectNV);"
 5631|      0|            "void hitObjectGetAttributesNV(hitObjectNV,int);"
 5632|      0|            "float hitObjectGetCurrentTimeNV(hitObjectNV);"
 5633|      0|            "uint hitObjectGetShaderBindingTableRecordIndexNV(hitObjectNV);"
 5634|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleNV(hitObjectNV);"
 5635|      0|            "int hitObjectGetClusterIdNV(hitObjectNV);"
 5636|      0|            "void reorderThreadNV(uint, uint);"
 5637|      0|            "void reorderThreadNV(hitObjectNV);"
 5638|      0|            "void reorderThreadNV(hitObjectNV, uint, uint);"
 5639|      0|            "vec3 fetchMicroTriangleVertexPositionNV(accelerationStructureEXT, int, int, int, ivec2);"
 5640|      0|            "vec2 fetchMicroTriangleVertexBarycentricNV(accelerationStructureEXT, int, int, int, ivec2);"
 5641|      0|            "vec3 hitObjectGetSpherePositionNV(hitObjectNV);"
 5642|      0|            "float hitObjectGetSphereRadiusNV(hitObjectNV);"
 5643|      0|            "void hitObjectGetLSSPositionsNV(hitObjectNV, out vec3[2]);"
 5644|      0|            "void hitObjectGetLSSRadiiNV(hitObjectNV, out float[2]);"
 5645|      0|            "bool hitObjectIsSphereHitNV(hitObjectNV);"
 5646|      0|            "bool hitObjectIsLSSHitNV(hitObjectNV);"
 5647|      0|            "void hitObjectTraceRayEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5648|      0|            "void hitObjectTraceRayMotionEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5649|      0|            "void hitObjectRecordMissEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float);"
 5650|      0|            "void hitObjectRecordMissMotionEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float,float);"
 5651|      0|            "void hitObjectRecordEmptyEXT(hitObjectEXT);"
 5652|      0|            "void hitObjectExecuteShaderEXT(hitObjectEXT,int);"
 5653|      0|            "bool hitObjectIsEmptyEXT(hitObjectEXT);"
 5654|      0|            "bool hitObjectIsMissEXT(hitObjectEXT);"
 5655|      0|            "bool hitObjectIsHitEXT(hitObjectEXT);"
 5656|      0|            "float hitObjectGetRayTMinEXT(hitObjectEXT);"
 5657|      0|            "float hitObjectGetRayTMaxEXT(hitObjectEXT);"
 5658|      0|            "uint hitObjectGetRayFlagsEXT(hitObjectEXT);"
 5659|      0|            "vec3 hitObjectGetWorldRayOriginEXT(hitObjectEXT);"
 5660|      0|            "vec3 hitObjectGetWorldRayDirectionEXT(hitObjectEXT);"
 5661|      0|            "vec3 hitObjectGetObjectRayOriginEXT(hitObjectEXT);"
 5662|      0|            "vec3 hitObjectGetObjectRayDirectionEXT(hitObjectEXT);"
 5663|      0|            "mat4x3 hitObjectGetWorldToObjectEXT(hitObjectEXT);"
 5664|      0|            "mat4x3 hitObjectGetObjectToWorldEXT(hitObjectEXT);"
 5665|      0|            "int hitObjectGetInstanceCustomIndexEXT(hitObjectEXT);"
 5666|      0|            "int hitObjectGetInstanceIdEXT(hitObjectEXT);"
 5667|      0|            "int hitObjectGetGeometryIndexEXT(hitObjectEXT);"
 5668|      0|            "int hitObjectGetPrimitiveIndexEXT(hitObjectEXT);"
 5669|      0|            "uint hitObjectGetHitKindEXT(hitObjectEXT);"
 5670|      0|            "void hitObjectGetAttributesEXT(hitObjectEXT,int);"
 5671|      0|            "float hitObjectGetCurrentTimeEXT(hitObjectEXT);"
 5672|      0|            "uint hitObjectGetShaderBindingTableRecordIndexEXT(hitObjectEXT);"
 5673|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleEXT(hitObjectEXT);"
 5674|      0|            "void hitObjectSetShaderBindingTableRecordIndexEXT(hitObjectEXT, uint);"
 5675|      0|            "void hitObjectReorderExecuteEXT(hitObjectEXT,int);"
 5676|      0|            "void hitObjectReorderExecuteEXT(hitObjectEXT,uint,uint,int);"
 5677|      0|            "void hitObjectTraceReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5678|      0|            "void hitObjectTraceReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,uint,uint,int);"
 5679|      0|            "void hitObjectTraceMotionReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5680|      0|            "void hitObjectTraceMotionReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,uint,uint,int);"
 5681|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int);"
 5682|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int, uint);"
 5683|      0|            "void hitObjectGetIntersectionTriangleVertexPositionsEXT(hitObjectEXT, out vec3[3]);"
 5684|      0|            "void reorderThreadEXT(uint, uint);"
 5685|      0|            "void reorderThreadEXT(hitObjectEXT);"
 5686|      0|            "void reorderThreadEXT(hitObjectEXT, uint, uint);"
 5687|      0|            "\n");
 5688|      0|        stageBuiltins[EShLangIntersect].append(
 5689|      0|            "bool reportIntersectionNV(float, uint);"
 5690|      0|            "bool reportIntersectionEXT(float, uint);"
 5691|      0|            "\n");
 5692|      0|        stageBuiltins[EShLangAnyHit].append(
 5693|      0|            "void ignoreIntersectionNV();"
 5694|      0|            "void terminateRayNV();"
 5695|      0|            "\n");
 5696|      0|        stageBuiltins[EShLangClosestHit].append(
 5697|      0|            "void traceNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5698|      0|            "void traceRayMotionNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5699|      0|            "void traceRayEXT(accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5700|      0|            "void executeCallableNV(uint, int);"
 5701|      0|            "void executeCallableEXT(uint, int);"
 5702|      0|            "void hitObjectTraceRayNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5703|      0|            "void hitObjectTraceRayMotionNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5704|      0|            "void hitObjectRecordHitNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,int);"
 5705|      0|            "void hitObjectRecordHitMotionNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5706|      0|            "void hitObjectRecordHitWithIndexNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,int);"
 5707|      0|            "void hitObjectRecordHitWithIndexMotionNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,float,int);"
 5708|      0|            "void hitObjectRecordMissNV(hitObjectNV, uint, vec3, float, vec3, float);"
 5709|      0|            "void hitObjectRecordMissMotionNV(hitObjectNV,uint,vec3,float,vec3,float,float);"
 5710|      0|            "void hitObjectRecordEmptyNV(hitObjectNV);"
 5711|      0|            "void hitObjectExecuteShaderNV(hitObjectNV, int);"
 5712|      0|            "bool hitObjectIsEmptyNV(hitObjectNV);"
 5713|      0|            "bool hitObjectIsMissNV(hitObjectNV);"
 5714|      0|            "bool hitObjectIsHitNV(hitObjectNV);"
 5715|      0|            "float hitObjectGetRayTMinNV(hitObjectNV);"
 5716|      0|            "float hitObjectGetRayTMaxNV(hitObjectNV);"
 5717|      0|            "vec3 hitObjectGetWorldRayOriginNV(hitObjectNV);"
 5718|      0|            "vec3 hitObjectGetWorldRayDirectionNV(hitObjectNV);"
 5719|      0|            "vec3 hitObjectGetObjectRayOriginNV(hitObjectNV);"
 5720|      0|            "vec3 hitObjectGetObjectRayDirectionNV(hitObjectNV);"
 5721|      0|            "mat4x3 hitObjectGetWorldToObjectNV(hitObjectNV);"
 5722|      0|            "mat4x3 hitObjectGetObjectToWorldNV(hitObjectNV);"
 5723|      0|            "int hitObjectGetInstanceCustomIndexNV(hitObjectNV);"
 5724|      0|            "int hitObjectGetInstanceIdNV(hitObjectNV);"
 5725|      0|            "int hitObjectGetGeometryIndexNV(hitObjectNV);"
 5726|      0|            "int hitObjectGetPrimitiveIndexNV(hitObjectNV);"
 5727|      0|            "uint hitObjectGetHitKindNV(hitObjectNV);"
 5728|      0|            "void hitObjectGetAttributesNV(hitObjectNV,int);"
 5729|      0|            "float hitObjectGetCurrentTimeNV(hitObjectNV);"
 5730|      0|            "uint hitObjectGetShaderBindingTableRecordIndexNV(hitObjectNV);"
 5731|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleNV(hitObjectNV);"
 5732|      0|            "int hitObjectGetClusterIdNV(hitObjectNV);"
 5733|      0|            "vec3 hitObjectGetSpherePositionNV(hitObjectNV);"
 5734|      0|            "float hitObjectGetSphereRadiusNV(hitObjectNV);"
 5735|      0|            "void hitObjectGetLSSPositionsNV(hitObjectNV, out vec3[2]);"
 5736|      0|            "void hitObjectGetLSSRadiiNV(hitObjectNV, out float[2]);"
 5737|      0|            "bool hitObjectIsSphereHitNV(hitObjectNV);"
 5738|      0|            "bool hitObjectIsLSSHitNV(hitObjectNV);"
 5739|      0|            "void hitObjectTraceRayEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5740|      0|            "void hitObjectTraceRayMotionEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5741|      0|            "void hitObjectRecordMissEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float);"
 5742|      0|            "void hitObjectRecordMissMotionEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float,float);"
 5743|      0|            "void hitObjectRecordEmptyEXT(hitObjectEXT);"
 5744|      0|            "void hitObjectExecuteShaderEXT(hitObjectEXT,int);"
 5745|      0|            "bool hitObjectIsEmptyEXT(hitObjectEXT);"
 5746|      0|            "bool hitObjectIsMissEXT(hitObjectEXT);"
 5747|      0|            "bool hitObjectIsHitEXT(hitObjectEXT);"
 5748|      0|            "float hitObjectGetRayTMinEXT(hitObjectEXT);"
 5749|      0|            "float hitObjectGetRayTMaxEXT(hitObjectEXT);"
 5750|      0|            "uint hitObjectGetRayFlagsEXT(hitObjectEXT);"
 5751|      0|            "vec3 hitObjectGetWorldRayOriginEXT(hitObjectEXT);"
 5752|      0|            "vec3 hitObjectGetWorldRayDirectionEXT(hitObjectEXT);"
 5753|      0|            "vec3 hitObjectGetObjectRayOriginEXT(hitObjectEXT);"
 5754|      0|            "vec3 hitObjectGetObjectRayDirectionEXT(hitObjectEXT);"
 5755|      0|            "mat4x3 hitObjectGetWorldToObjectEXT(hitObjectEXT);"
 5756|      0|            "mat4x3 hitObjectGetObjectToWorldEXT(hitObjectEXT);"
 5757|      0|            "int hitObjectGetInstanceCustomIndexEXT(hitObjectEXT);"
 5758|      0|            "int hitObjectGetInstanceIdEXT(hitObjectEXT);"
 5759|      0|            "int hitObjectGetGeometryIndexEXT(hitObjectEXT);"
 5760|      0|            "int hitObjectGetPrimitiveIndexEXT(hitObjectEXT);"
 5761|      0|            "uint hitObjectGetHitKindEXT(hitObjectEXT);"
 5762|      0|            "void hitObjectGetAttributesEXT(hitObjectEXT,int);"
 5763|      0|            "float hitObjectGetCurrentTimeEXT(hitObjectEXT);"
 5764|      0|            "uint hitObjectGetShaderBindingTableRecordIndexEXT(hitObjectEXT);"
 5765|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleEXT(hitObjectEXT);"
 5766|      0|            "void hitObjectSetShaderBindingTableRecordIndexEXT(hitObjectEXT, uint);"
 5767|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT,uint, int);"
 5768|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT,uint, int, uint);"
 5769|      0|            "void hitObjectGetIntersectionTriangleVertexPositionsEXT(hitObjectEXT, out vec3[3]);"
 5770|      0|            "\n");
 5771|      0|        stageBuiltins[EShLangMiss].append(
 5772|      0|            "void traceNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5773|      0|            "void traceRayMotionNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5774|      0|            "void traceRayEXT(accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5775|      0|            "void executeCallableNV(uint, int);"
 5776|      0|            "void executeCallableEXT(uint, int);"
 5777|      0|            "void hitObjectTraceRayNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5778|      0|            "void hitObjectTraceRayMotionNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5779|      0|            "void hitObjectRecordHitNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,int);"
 5780|      0|            "void hitObjectRecordHitMotionNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5781|      0|            "void hitObjectRecordHitWithIndexNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,int);"
 5782|      0|            "void hitObjectRecordHitWithIndexMotionNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,float,int);"
 5783|      0|            "void hitObjectRecordMissNV(hitObjectNV, uint, vec3, float, vec3, float);"
 5784|      0|            "void hitObjectRecordMissMotionNV(hitObjectNV,uint,vec3,float,vec3,float,float);"
 5785|      0|            "void hitObjectRecordEmptyNV(hitObjectNV);"
 5786|      0|            "void hitObjectExecuteShaderNV(hitObjectNV, int);"
 5787|      0|            "bool hitObjectIsEmptyNV(hitObjectNV);"
 5788|      0|            "bool hitObjectIsMissNV(hitObjectNV);"
 5789|      0|            "bool hitObjectIsHitNV(hitObjectNV);"
 5790|      0|            "float hitObjectGetRayTMinNV(hitObjectNV);"
 5791|      0|            "float hitObjectGetRayTMaxNV(hitObjectNV);"
 5792|      0|            "vec3 hitObjectGetWorldRayOriginNV(hitObjectNV);"
 5793|      0|            "vec3 hitObjectGetWorldRayDirectionNV(hitObjectNV);"
 5794|      0|            "vec3 hitObjectGetObjectRayOriginNV(hitObjectNV);"
 5795|      0|            "vec3 hitObjectGetObjectRayDirectionNV(hitObjectNV);"
 5796|      0|            "mat4x3 hitObjectGetWorldToObjectNV(hitObjectNV);"
 5797|      0|            "mat4x3 hitObjectGetObjectToWorldNV(hitObjectNV);"
 5798|      0|            "int hitObjectGetInstanceCustomIndexNV(hitObjectNV);"
 5799|      0|            "int hitObjectGetInstanceIdNV(hitObjectNV);"
 5800|      0|            "int hitObjectGetGeometryIndexNV(hitObjectNV);"
 5801|      0|            "int hitObjectGetPrimitiveIndexNV(hitObjectNV);"
 5802|      0|            "uint hitObjectGetHitKindNV(hitObjectNV);"
 5803|      0|            "void hitObjectGetAttributesNV(hitObjectNV,int);"
 5804|      0|            "float hitObjectGetCurrentTimeNV(hitObjectNV);"
 5805|      0|            "uint hitObjectGetShaderBindingTableRecordIndexNV(hitObjectNV);"
 5806|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleNV(hitObjectNV);"
 5807|      0|            "int hitObjectGetClusterIdNV(hitObjectNV);"
 5808|      0|            "vec3 hitObjectGetSpherePositionNV(hitObjectNV);"
 5809|      0|            "float hitObjectGetSphereRadiusNV(hitObjectNV);"
 5810|      0|            "void hitObjectGetLSSPositionsNV(hitObjectNV, out vec3[2]);"
 5811|      0|            "void hitObjectGetLSSRadiiNV(hitObjectNV, out float[2]);"
 5812|      0|            "bool hitObjectIsSphereHitNV(hitObjectNV);"
 5813|      0|            "bool hitObjectIsLSSHitNV(hitObjectNV);"
 5814|      0|            "void hitObjectTraceRayEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5815|      0|            "void hitObjectTraceRayMotionEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5816|      0|            "void hitObjectRecordMissEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float);"
 5817|      0|            "void hitObjectRecordMissMotionEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float,float);"
 5818|      0|            "void hitObjectRecordEmptyEXT(hitObjectEXT);"
 5819|      0|            "void hitObjectExecuteShaderEXT(hitObjectEXT,int);"
 5820|      0|            "bool hitObjectIsEmptyEXT(hitObjectEXT);"
 5821|      0|            "bool hitObjectIsMissEXT(hitObjectEXT);"
 5822|      0|            "bool hitObjectIsHitEXT(hitObjectEXT);"
 5823|      0|            "float hitObjectGetRayTMinEXT(hitObjectEXT);"
 5824|      0|            "float hitObjectGetRayTMaxEXT(hitObjectEXT);"
 5825|      0|            "uint hitObjectGetRayFlagsEXT(hitObjectEXT);"
 5826|      0|            "vec3 hitObjectGetWorldRayOriginEXT(hitObjectEXT);"
 5827|      0|            "vec3 hitObjectGetWorldRayDirectionEXT(hitObjectEXT);"
 5828|      0|            "vec3 hitObjectGetObjectRayOriginEXT(hitObjectEXT);"
 5829|      0|            "vec3 hitObjectGetObjectRayDirectionEXT(hitObjectEXT);"
 5830|      0|            "mat4x3 hitObjectGetWorldToObjectEXT(hitObjectEXT);"
 5831|      0|            "mat4x3 hitObjectGetObjectToWorldEXT(hitObjectEXT);"
 5832|      0|            "int hitObjectGetInstanceCustomIndexEXT(hitObjectEXT);"
 5833|      0|            "int hitObjectGetInstanceIdEXT(hitObjectEXT);"
 5834|      0|            "int hitObjectGetGeometryIndexEXT(hitObjectEXT);"
 5835|      0|            "int hitObjectGetPrimitiveIndexEXT(hitObjectEXT);"
 5836|      0|            "uint hitObjectGetHitKindEXT(hitObjectEXT);"
 5837|      0|            "void hitObjectGetAttributesEXT(hitObjectEXT,int);"
 5838|      0|            "float hitObjectGetCurrentTimeEXT(hitObjectEXT);"
 5839|      0|            "uint hitObjectGetShaderBindingTableRecordIndexEXT(hitObjectEXT);"
 5840|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleEXT(hitObjectEXT);"
 5841|      0|            "void hitObjectSetShaderBindingTableRecordIndexEXT(hitObjectEXT, uint);"
 5842|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int);"
 5843|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int, uint);"
 5844|      0|            "void hitObjectGetIntersectionTriangleVertexPositionsEXT(hitObjectEXT, out vec3[3]);"
 5845|      0|            "\n");
 5846|      0|        stageBuiltins[EShLangCallable].append(
 5847|      0|            "void executeCallableNV(uint, int);"
 5848|      0|            "void executeCallableEXT(uint, int);"
 5849|      0|            "\n");
 5850|      0|    }
 5851|       |
 5852|       |    // GL_KHR_compute_shader_derivatives / SPV_NV_compute_shader_derivatives
 5853|    107|    if ((profile == EEsProfile && version >= 320) || (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (5853:10): [True: 78, False: 29]
  |  Branch (5853:35): [True: 0, False: 78]
  |  Branch (5853:55): [True: 29, False: 78]
  |  Branch (5853:80): [True: 27, False: 2]
  ------------------
 5854|     27|        if (profile != EEsProfile) {
  ------------------
  |  Branch (5854:13): [True: 27, False: 0]
  ------------------
 5855|     27|            stageBuiltins[EShLangCompute].append(derivatives);
 5856|     27|            stageBuiltins[EShLangTask].append(derivatives);
 5857|     27|            stageBuiltins[EShLangMesh].append(derivatives);
 5858|     27|        }
 5859|       |
 5860|     27|        stageBuiltins[EShLangCompute].append(derivativeControls);
 5861|     27|        stageBuiltins[EShLangCompute].append("\n");
 5862|       |
 5863|     27|        if (profile != EEsProfile) {
  ------------------
  |  Branch (5863:13): [True: 27, False: 0]
  ------------------
 5864|     27|            stageBuiltins[EShLangTask].append(derivativeControls);
 5865|     27|            stageBuiltins[EShLangTask].append("\n");
 5866|     27|            stageBuiltins[EShLangMesh].append(derivativeControls);
 5867|     27|            stageBuiltins[EShLangMesh].append("\n");
 5868|     27|        }
 5869|     27|    }
 5870|    107|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5870:9): [True: 29, False: 78]
  |  Branch (5870:34): [True: 27, False: 2]
  ------------------
 5871|     27|        stageBuiltins[EShLangCompute].append(derivativesAndControl16bits);
 5872|     27|        stageBuiltins[EShLangCompute].append(derivativesAndControl64bits);
 5873|     27|        stageBuiltins[EShLangCompute].append("\n");
 5874|     27|        stageBuiltins[EShLangTask].append(derivativesAndControl16bits);
 5875|     27|        stageBuiltins[EShLangTask].append(derivativesAndControl64bits);
 5876|     27|        stageBuiltins[EShLangTask].append("\n");
 5877|     27|        stageBuiltins[EShLangMesh].append(derivativesAndControl16bits);
 5878|     27|        stageBuiltins[EShLangMesh].append(derivativesAndControl64bits);
 5879|     27|        stageBuiltins[EShLangMesh].append("\n");
 5880|     27|    }
 5881|       |
 5882|       |    // Builtins for GL_NV_mesh_shader
 5883|    107|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (5883:10): [True: 29, False: 78]
  |  Branch (5883:35): [True: 27, False: 2]
  |  Branch (5883:55): [True: 78, False: 2]
  |  Branch (5883:80): [True: 0, False: 78]
  ------------------
 5884|     27|        stageBuiltins[EShLangMesh].append(
 5885|     27|            "void writePackedPrimitiveIndices4x8NV(uint, uint);"
 5886|     27|            "\n");
 5887|     27|    }
 5888|       |    // Builtins for GL_EXT_mesh_shader
 5889|    107|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (5889:10): [True: 29, False: 78]
  |  Branch (5889:35): [True: 27, False: 2]
  |  Branch (5889:55): [True: 78, False: 2]
  |  Branch (5889:80): [True: 0, False: 78]
  ------------------
 5890|       |        // Builtins for GL_EXT_mesh_shader
 5891|     27|        stageBuiltins[EShLangTask].append(
 5892|     27|            "void EmitMeshTasksEXT(uint, uint, uint);"
 5893|     27|            "\n");
 5894|       |
 5895|     27|        stageBuiltins[EShLangMesh].append(
 5896|     27|            "void SetMeshOutputsEXT(uint, uint);"
 5897|     27|            "\n");
 5898|     27|    }
 5899|       |    // Builtins for GL_NV_displacement_micromap
 5900|    107|    if ((profile != EEsProfile && version >= 460) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (5900:10): [True: 29, False: 78]
  |  Branch (5900:35): [True: 0, False: 29]
  |  Branch (5900:55): [True: 78, False: 29]
  |  Branch (5900:80): [True: 0, False: 78]
  ------------------
 5901|      0|        stageBuiltins[EShLangMesh].append(
 5902|      0|            "vec3 fetchMicroTriangleVertexPositionNV(accelerationStructureEXT, int, int, int, ivec2);"
 5903|      0|            "vec2 fetchMicroTriangleVertexBarycentricNV(accelerationStructureEXT, int, int, int, ivec2);"
 5904|      0|            "\n");
 5905|       |
 5906|      0|        stageBuiltins[EShLangCompute].append(
 5907|      0|            "vec3 fetchMicroTriangleVertexPositionNV(accelerationStructureEXT, int, int, int, ivec2);"
 5908|      0|            "vec2 fetchMicroTriangleVertexBarycentricNV(accelerationStructureEXT, int, int, int, ivec2);"
 5909|      0|            "\n");
 5910|       |
 5911|      0|    }
 5912|       |
 5913|       |
 5914|       |    //============================================================================
 5915|       |    //
 5916|       |    // Standard Uniforms
 5917|       |    //
 5918|       |    //============================================================================
 5919|       |
 5920|       |    //
 5921|       |    // Depth range in window coordinates, p. 33
 5922|       |    //
 5923|    107|    if (spvVersion.spv == 0) {
  ------------------
  |  Branch (5923:9): [True: 107, False: 0]
  ------------------
 5924|    107|        commonBuiltins.append(
 5925|    107|            "struct gl_DepthRangeParameters {"
 5926|    107|            );
 5927|    107|        if (profile == EEsProfile) {
  ------------------
  |  Branch (5927:13): [True: 78, False: 29]
  ------------------
 5928|     78|            commonBuiltins.append(
 5929|     78|                "highp float near;"   // n
 5930|     78|                "highp float far;"    // f
 5931|     78|                "highp float diff;"   // f - n
 5932|     78|                );
 5933|     78|        } else {
 5934|     29|            commonBuiltins.append(
 5935|     29|                "float near;"  // n
 5936|     29|                "float far;"   // f
 5937|     29|                "float diff;"  // f - n
 5938|     29|                );
 5939|     29|        }
 5940|       |
 5941|    107|        commonBuiltins.append(
 5942|    107|            "};"
 5943|    107|            "uniform gl_DepthRangeParameters gl_DepthRange;"
 5944|    107|            "\n");
 5945|    107|    }
 5946|       |
 5947|    107|    if (spvVersion.spv == 0 && IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (5947:9): [True: 107, False: 0]
  |  Branch (5947:32): [True: 1, False: 106]
  ------------------
 5948|       |        //
 5949|       |        // Matrix state. p. 31, 32, 37, 39, 40.
 5950|       |        //
 5951|      1|        commonBuiltins.append(
 5952|      1|            "uniform mat4  gl_ModelViewMatrix;"
 5953|      1|            "uniform mat4  gl_ProjectionMatrix;"
 5954|      1|            "uniform mat4  gl_ModelViewProjectionMatrix;"
 5955|       |
 5956|       |            //
 5957|       |            // Derived matrix state that provides inverse and transposed versions
 5958|       |            // of the matrices above.
 5959|       |            //
 5960|      1|            "uniform mat3  gl_NormalMatrix;"
 5961|       |
 5962|      1|            "uniform mat4  gl_ModelViewMatrixInverse;"
 5963|      1|            "uniform mat4  gl_ProjectionMatrixInverse;"
 5964|      1|            "uniform mat4  gl_ModelViewProjectionMatrixInverse;"
 5965|       |
 5966|      1|            "uniform mat4  gl_ModelViewMatrixTranspose;"
 5967|      1|            "uniform mat4  gl_ProjectionMatrixTranspose;"
 5968|      1|            "uniform mat4  gl_ModelViewProjectionMatrixTranspose;"
 5969|       |
 5970|      1|            "uniform mat4  gl_ModelViewMatrixInverseTranspose;"
 5971|      1|            "uniform mat4  gl_ProjectionMatrixInverseTranspose;"
 5972|      1|            "uniform mat4  gl_ModelViewProjectionMatrixInverseTranspose;"
 5973|       |
 5974|       |            //
 5975|       |            // Normal scaling p. 39.
 5976|       |            //
 5977|      1|            "uniform float gl_NormalScale;"
 5978|       |
 5979|       |            //
 5980|       |            // Point Size, p. 66, 67.
 5981|       |            //
 5982|      1|            "struct gl_PointParameters {"
 5983|      1|                "float size;"
 5984|      1|                "float sizeMin;"
 5985|      1|                "float sizeMax;"
 5986|      1|                "float fadeThresholdSize;"
 5987|      1|                "float distanceConstantAttenuation;"
 5988|      1|                "float distanceLinearAttenuation;"
 5989|      1|                "float distanceQuadraticAttenuation;"
 5990|      1|            "};"
 5991|       |
 5992|      1|            "uniform gl_PointParameters gl_Point;"
 5993|       |
 5994|       |            //
 5995|       |            // Material State p. 50, 55.
 5996|       |            //
 5997|      1|            "struct gl_MaterialParameters {"
 5998|      1|                "vec4  emission;"    // Ecm
 5999|      1|                "vec4  ambient;"     // Acm
 6000|      1|                "vec4  diffuse;"     // Dcm
 6001|      1|                "vec4  specular;"    // Scm
 6002|      1|                "float shininess;"   // Srm
 6003|      1|            "};"
 6004|      1|            "uniform gl_MaterialParameters  gl_FrontMaterial;"
 6005|      1|            "uniform gl_MaterialParameters  gl_BackMaterial;"
 6006|       |
 6007|       |            //
 6008|       |            // Light State p 50, 53, 55.
 6009|       |            //
 6010|      1|            "struct gl_LightSourceParameters {"
 6011|      1|                "vec4  ambient;"             // Acli
 6012|      1|                "vec4  diffuse;"             // Dcli
 6013|      1|                "vec4  specular;"            // Scli
 6014|      1|                "vec4  position;"            // Ppli
 6015|      1|                "vec4  halfVector;"          // Derived: Hi
 6016|      1|                "vec3  spotDirection;"       // Sdli
 6017|      1|                "float spotExponent;"        // Srli
 6018|      1|                "float spotCutoff;"          // Crli
 6019|       |                                                        // (range: [0.0,90.0], 180.0)
 6020|      1|                "float spotCosCutoff;"       // Derived: cos(Crli)
 6021|       |                                                        // (range: [1.0,0.0],-1.0)
 6022|      1|                "float constantAttenuation;" // K0
 6023|      1|                "float linearAttenuation;"   // K1
 6024|      1|                "float quadraticAttenuation;"// K2
 6025|      1|            "};"
 6026|       |
 6027|      1|            "struct gl_LightModelParameters {"
 6028|      1|                "vec4  ambient;"       // Acs
 6029|      1|            "};"
 6030|       |
 6031|      1|            "uniform gl_LightModelParameters  gl_LightModel;"
 6032|       |
 6033|       |            //
 6034|       |            // Derived state from products of light and material.
 6035|       |            //
 6036|      1|            "struct gl_LightModelProducts {"
 6037|      1|                "vec4  sceneColor;"     // Derived. Ecm + Acm * Acs
 6038|      1|            "};"
 6039|       |
 6040|      1|            "uniform gl_LightModelProducts gl_FrontLightModelProduct;"
 6041|      1|            "uniform gl_LightModelProducts gl_BackLightModelProduct;"
 6042|       |
 6043|      1|            "struct gl_LightProducts {"
 6044|      1|                "vec4  ambient;"        // Acm * Acli
 6045|      1|                "vec4  diffuse;"        // Dcm * Dcli
 6046|      1|                "vec4  specular;"       // Scm * Scli
 6047|      1|            "};"
 6048|       |
 6049|       |            //
 6050|       |            // Fog p. 161
 6051|       |            //
 6052|      1|            "struct gl_FogParameters {"
 6053|      1|                "vec4  color;"
 6054|      1|                "float density;"
 6055|      1|                "float start;"
 6056|      1|                "float end;"
 6057|      1|                "float scale;"   //  1 / (gl_FogEnd - gl_FogStart)
 6058|      1|            "};"
 6059|       |
 6060|      1|            "uniform gl_FogParameters gl_Fog;"
 6061|       |
 6062|      1|            "\n");
 6063|      1|    }
 6064|       |
 6065|       |    //============================================================================
 6066|       |    //
 6067|       |    // Define the interface to the compute shader.
 6068|       |    //
 6069|       |    //============================================================================
 6070|       |
 6071|    107|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (6071:10): [True: 29, False: 78]
  |  Branch (6071:35): [True: 27, False: 2]
  ------------------
 6072|     80|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6072:10): [True: 78, False: 2]
  |  Branch (6072:35): [True: 0, False: 78]
  ------------------
 6073|     27|        stageBuiltins[EShLangCompute].append(
 6074|     27|            "in    highp uvec3 gl_NumWorkGroups;"
 6075|     27|            "const highp uvec3 gl_WorkGroupSize = uvec3(1,1,1);"
 6076|       |
 6077|     27|            "in highp uvec3 gl_WorkGroupID;"
 6078|     27|            "in highp uvec3 gl_LocalInvocationID;"
 6079|       |
 6080|     27|            "in highp uvec3 gl_GlobalInvocationID;"
 6081|     27|            "in highp uint gl_LocalInvocationIndex;"
 6082|       |
 6083|     27|            "\n");
 6084|     27|    }
 6085|       |
 6086|    107|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6086:10): [True: 29, False: 78]
  |  Branch (6086:35): [True: 28, False: 1]
  ------------------
 6087|     79|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6087:10): [True: 78, False: 1]
  |  Branch (6087:35): [True: 0, False: 78]
  ------------------
 6088|     28|        stageBuiltins[EShLangCompute].append(
 6089|     28|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6090|     28|            "\n");
 6091|     28|    }
 6092|       |
 6093|       |    // GL_QCOM_tile_shading
 6094|    107|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (6094:10): [True: 78, False: 29]
  |  Branch (6094:35): [True: 0, False: 78]
  ------------------
 6095|    107|        (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (6095:10): [True: 29, False: 78]
  |  Branch (6095:35): [True: 0, False: 29]
  ------------------
 6096|      0|        stageBuiltins[EShLangCompute].append(
 6097|      0|            "in highp uvec2 gl_TileOffsetQCOM;"     // GL_QCOM_tile_shading
 6098|      0|            "in highp uvec3 gl_TileDimensionQCOM;"  // GL_QCOM_tile_shading
 6099|      0|            "in highp uvec2 gl_TileApronSizeQCOM;"  // GL_QCOM_tile_shading
 6100|      0|            "\n");
 6101|      0|    }
 6102|       |
 6103|       |    //============================================================================
 6104|       |    //
 6105|       |    // Define the interface to the mesh/task shader.
 6106|       |    //
 6107|       |    //============================================================================
 6108|       |
 6109|    107|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (6109:10): [True: 29, False: 78]
  |  Branch (6109:35): [True: 27, False: 2]
  |  Branch (6109:55): [True: 78, False: 2]
  |  Branch (6109:80): [True: 0, False: 78]
  ------------------
 6110|       |        // per-vertex attributes
 6111|     27|        stageBuiltins[EShLangMesh].append(
 6112|     27|            "out gl_MeshPerVertexNV {"
 6113|     27|                "vec4 gl_Position;"
 6114|     27|                "float gl_PointSize;"
 6115|     27|                "float gl_ClipDistance[];"
 6116|     27|                "float gl_CullDistance[];"
 6117|     27|                "perviewNV vec4 gl_PositionPerViewNV[];"
 6118|     27|                "perviewNV float gl_ClipDistancePerViewNV[][];"
 6119|     27|                "perviewNV float gl_CullDistancePerViewNV[][];"
 6120|     27|            "} gl_MeshVerticesNV[];"
 6121|     27|        );
 6122|       |
 6123|       |        // per-primitive attributes
 6124|     27|        stageBuiltins[EShLangMesh].append(
 6125|     27|            "perprimitiveNV out gl_MeshPerPrimitiveNV {"
 6126|     27|                "int gl_PrimitiveID;"
 6127|     27|                "int gl_Layer;"
 6128|     27|                "int gl_ViewportIndex;"
 6129|     27|                "int gl_ViewportMask[];"
 6130|     27|                "perviewNV int gl_LayerPerViewNV[];"
 6131|     27|                "perviewNV int gl_ViewportMaskPerViewNV[][];"
 6132|     27|            "} gl_MeshPrimitivesNV[];"
 6133|     27|        );
 6134|       |
 6135|     27|        stageBuiltins[EShLangMesh].append(
 6136|     27|            "out uint gl_PrimitiveCountNV;"
 6137|     27|            "out uint gl_PrimitiveIndicesNV[];"
 6138|       |
 6139|     27|            "in uint gl_MeshViewCountNV;"
 6140|     27|            "in uint gl_MeshViewIndicesNV[4];"
 6141|       |
 6142|     27|            "const highp uvec3 gl_WorkGroupSize = uvec3(1,1,1);"
 6143|       |
 6144|     27|            "in highp uvec3 gl_WorkGroupID;"
 6145|     27|            "in highp uvec3 gl_LocalInvocationID;"
 6146|       |
 6147|     27|            "in highp uvec3 gl_GlobalInvocationID;"
 6148|     27|            "in highp uint gl_LocalInvocationIndex;"
 6149|     27|            "\n");
 6150|       |
 6151|       |        // GL_EXT_mesh_shader
 6152|     27|        stageBuiltins[EShLangMesh].append(
 6153|     27|            "out uint gl_PrimitivePointIndicesEXT[];"
 6154|     27|            "out uvec2 gl_PrimitiveLineIndicesEXT[];"
 6155|     27|            "out uvec3 gl_PrimitiveTriangleIndicesEXT[];"
 6156|     27|            "in    highp uvec3 gl_NumWorkGroups;"
 6157|     27|            "\n");
 6158|       |
 6159|       |        // per-vertex attributes
 6160|     27|        stageBuiltins[EShLangMesh].append(
 6161|     27|            "out gl_MeshPerVertexEXT {"
 6162|     27|                "vec4 gl_Position;"
 6163|     27|                "float gl_PointSize;"
 6164|     27|                "float gl_ClipDistance[];"
 6165|     27|                "float gl_CullDistance[];"
 6166|     27|            "} gl_MeshVerticesEXT[];"
 6167|     27|        );
 6168|       |
 6169|       |        // per-primitive attributes
 6170|     27|        stageBuiltins[EShLangMesh].append(
 6171|     27|            "perprimitiveEXT out gl_MeshPerPrimitiveEXT {"
 6172|     27|                "int gl_PrimitiveID;"
 6173|     27|                "int gl_Layer;"
 6174|     27|                "int gl_ViewportIndex;"
 6175|     27|                "bool gl_CullPrimitiveEXT;"
 6176|     27|                "int  gl_PrimitiveShadingRateEXT;"
 6177|     27|            "} gl_MeshPrimitivesEXT[];"
 6178|     27|        );
 6179|       |
 6180|     27|        stageBuiltins[EShLangTask].append(
 6181|     27|            "out uint gl_TaskCountNV;"
 6182|       |
 6183|     27|            "const highp uvec3 gl_WorkGroupSize = uvec3(1,1,1);"
 6184|       |
 6185|     27|            "in highp uvec3 gl_WorkGroupID;"
 6186|     27|            "in highp uvec3 gl_LocalInvocationID;"
 6187|       |
 6188|     27|            "in highp uvec3 gl_GlobalInvocationID;"
 6189|     27|            "in highp uint gl_LocalInvocationIndex;"
 6190|       |
 6191|     27|            "in uint gl_MeshViewCountNV;"
 6192|     27|            "in uint gl_MeshViewIndicesNV[4];"
 6193|     27|            "in    highp uvec3 gl_NumWorkGroups;"
 6194|     27|            "\n");
 6195|     27|    }
 6196|       |
 6197|    107|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (6197:9): [True: 29, False: 78]
  |  Branch (6197:34): [True: 27, False: 2]
  ------------------
 6198|     27|        stageBuiltins[EShLangMesh].append(
 6199|     27|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6200|     27|            "in int gl_DrawIDARB;"             // GL_ARB_shader_draw_parameters
 6201|     27|            "in int gl_ViewIndex;"             // GL_EXT_multiview
 6202|     27|            "\n");
 6203|       |
 6204|     27|        stageBuiltins[EShLangTask].append(
 6205|     27|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6206|     27|            "in int gl_DrawIDARB;"             // GL_ARB_shader_draw_parameters
 6207|     27|            "\n");
 6208|       |
 6209|     27|        if (version >= 460) {
  ------------------
  |  Branch (6209:13): [True: 0, False: 27]
  ------------------
 6210|      0|            stageBuiltins[EShLangMesh].append(
 6211|      0|                "in int gl_DrawID;"
 6212|      0|                "\n");
 6213|       |
 6214|      0|            stageBuiltins[EShLangTask].append(
 6215|      0|                "in int gl_DrawID;"
 6216|      0|                "\n");
 6217|      0|        }
 6218|     27|    }
 6219|       |
 6220|       |    //============================================================================
 6221|       |    //
 6222|       |    // Define the interface to the vertex shader.
 6223|       |    //
 6224|       |    //============================================================================
 6225|       |
 6226|    107|    if (profile != EEsProfile) {
  ------------------
  |  Branch (6226:9): [True: 29, False: 78]
  ------------------
 6227|     29|        if (version < 130) {
  ------------------
  |  Branch (6227:13): [True: 1, False: 28]
  ------------------
 6228|      1|            stageBuiltins[EShLangVertex].append(
 6229|      1|                "attribute vec4  gl_Color;"
 6230|      1|                "attribute vec4  gl_SecondaryColor;"
 6231|      1|                "attribute vec3  gl_Normal;"
 6232|      1|                "attribute vec4  gl_Vertex;"
 6233|      1|                "attribute vec4  gl_MultiTexCoord0;"
 6234|      1|                "attribute vec4  gl_MultiTexCoord1;"
 6235|      1|                "attribute vec4  gl_MultiTexCoord2;"
 6236|      1|                "attribute vec4  gl_MultiTexCoord3;"
 6237|      1|                "attribute vec4  gl_MultiTexCoord4;"
 6238|      1|                "attribute vec4  gl_MultiTexCoord5;"
 6239|      1|                "attribute vec4  gl_MultiTexCoord6;"
 6240|      1|                "attribute vec4  gl_MultiTexCoord7;"
 6241|      1|                "attribute float gl_FogCoord;"
 6242|      1|                "\n");
 6243|     28|        } else if (IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6243:20): [True: 0, False: 28]
  ------------------
 6244|      0|            stageBuiltins[EShLangVertex].append(
 6245|      0|                "in vec4  gl_Color;"
 6246|      0|                "in vec4  gl_SecondaryColor;"
 6247|      0|                "in vec3  gl_Normal;"
 6248|      0|                "in vec4  gl_Vertex;"
 6249|      0|                "in vec4  gl_MultiTexCoord0;"
 6250|      0|                "in vec4  gl_MultiTexCoord1;"
 6251|      0|                "in vec4  gl_MultiTexCoord2;"
 6252|      0|                "in vec4  gl_MultiTexCoord3;"
 6253|      0|                "in vec4  gl_MultiTexCoord4;"
 6254|      0|                "in vec4  gl_MultiTexCoord5;"
 6255|      0|                "in vec4  gl_MultiTexCoord6;"
 6256|      0|                "in vec4  gl_MultiTexCoord7;"
 6257|      0|                "in float gl_FogCoord;"
 6258|      0|                "\n");
 6259|      0|        }
 6260|       |
 6261|     29|        if (version < 150) {
  ------------------
  |  Branch (6261:13): [True: 1, False: 28]
  ------------------
 6262|      1|            if (version < 130) {
  ------------------
  |  Branch (6262:17): [True: 1, False: 0]
  ------------------
 6263|      1|                stageBuiltins[EShLangVertex].append(
 6264|      1|                    "        vec4  gl_ClipVertex;"       // needs qualifier fixed later
 6265|      1|                    "varying vec4  gl_FrontColor;"
 6266|      1|                    "varying vec4  gl_BackColor;"
 6267|      1|                    "varying vec4  gl_FrontSecondaryColor;"
 6268|      1|                    "varying vec4  gl_BackSecondaryColor;"
 6269|      1|                    "varying vec4  gl_TexCoord[];"
 6270|      1|                    "varying float gl_FogFragCoord;"
 6271|      1|                    "\n");
 6272|      1|            } else if (IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6272:24): [True: 0, False: 0]
  ------------------
 6273|      0|                stageBuiltins[EShLangVertex].append(
 6274|      0|                    "    vec4  gl_ClipVertex;"       // needs qualifier fixed later
 6275|      0|                    "out vec4  gl_FrontColor;"
 6276|      0|                    "out vec4  gl_BackColor;"
 6277|      0|                    "out vec4  gl_FrontSecondaryColor;"
 6278|      0|                    "out vec4  gl_BackSecondaryColor;"
 6279|      0|                    "out vec4  gl_TexCoord[];"
 6280|      0|                    "out float gl_FogFragCoord;"
 6281|      0|                    "\n");
 6282|      0|            }
 6283|      1|            stageBuiltins[EShLangVertex].append(
 6284|      1|                "vec4 gl_Position;"   // needs qualifier fixed later
 6285|      1|                "float gl_PointSize;" // needs qualifier fixed later
 6286|      1|                );
 6287|       |
 6288|      1|            if (version == 130 || version == 140)
  ------------------
  |  Branch (6288:17): [True: 0, False: 1]
  |  Branch (6288:35): [True: 0, False: 1]
  ------------------
 6289|      0|                stageBuiltins[EShLangVertex].append(
 6290|      0|                    "out float gl_ClipDistance[];"
 6291|      0|                    );
 6292|     28|        } else {
 6293|       |            // version >= 150
 6294|     28|            stageBuiltins[EShLangVertex].append(
 6295|     28|                "out gl_PerVertex {"
 6296|     28|                    "vec4 gl_Position;"     // needs qualifier fixed later
 6297|     28|                    "float gl_PointSize;"   // needs qualifier fixed later
 6298|     28|                    "float gl_ClipDistance[];"
 6299|     28|                    );
 6300|     28|            if (IncludeLegacy(version, profile, spvVersion))
  ------------------
  |  Branch (6300:17): [True: 0, False: 28]
  ------------------
 6301|      0|                stageBuiltins[EShLangVertex].append(
 6302|      0|                    "vec4 gl_ClipVertex;"   // needs qualifier fixed later
 6303|      0|                    "vec4 gl_FrontColor;"
 6304|      0|                    "vec4 gl_BackColor;"
 6305|      0|                    "vec4 gl_FrontSecondaryColor;"
 6306|      0|                    "vec4 gl_BackSecondaryColor;"
 6307|      0|                    "vec4 gl_TexCoord[];"
 6308|      0|                    "float gl_FogFragCoord;"
 6309|      0|                    );
 6310|     28|            if (version >= 450)
  ------------------
  |  Branch (6310:17): [True: 27, False: 1]
  ------------------
 6311|     27|                stageBuiltins[EShLangVertex].append(
 6312|     27|                    "float gl_CullDistance[];"
 6313|     27|                    );
 6314|     28|            stageBuiltins[EShLangVertex].append(
 6315|     28|                "};"
 6316|     28|                "\n");
 6317|     28|        }
 6318|     29|        if (version >= 130 && spvVersion.vulkan == 0)
  ------------------
  |  Branch (6318:13): [True: 28, False: 1]
  |  Branch (6318:31): [True: 12, False: 16]
  ------------------
 6319|     12|            stageBuiltins[EShLangVertex].append(
 6320|     12|                "int gl_VertexID;"            // needs qualifier fixed later
 6321|     12|                );
 6322|     29|        if (spvVersion.vulkan == 0)
  ------------------
  |  Branch (6322:13): [True: 12, False: 17]
  ------------------
 6323|     12|            stageBuiltins[EShLangVertex].append(
 6324|     12|                "int gl_InstanceID;"          // needs qualifier fixed later
 6325|     12|                );
 6326|     29|        if (spvVersion.vulkan > 0 && version >= 140)
  ------------------
  |  Branch (6326:13): [True: 17, False: 12]
  |  Branch (6326:38): [True: 16, False: 1]
  ------------------
 6327|     16|            stageBuiltins[EShLangVertex].append(
 6328|     16|                "in int gl_VertexIndex;"
 6329|     16|                "in int gl_InstanceIndex;"
 6330|     16|                );
 6331|       |
 6332|     29|        if (spvVersion.vulkan > 0 && version >= 140 && spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (6332:13): [True: 17, False: 12]
  |  Branch (6332:38): [True: 16, False: 1]
  |  Branch (6332:56): [True: 0, False: 16]
  ------------------
 6333|      0|            stageBuiltins[EShLangVertex].append(
 6334|      0|                "in int gl_VertexID;"         // declare with 'in' qualifier
 6335|      0|                "in int gl_InstanceID;"
 6336|      0|                );
 6337|       |
 6338|     29|        if (version >= 440) {
  ------------------
  |  Branch (6338:13): [True: 27, False: 2]
  ------------------
 6339|     27|            stageBuiltins[EShLangVertex].append(
 6340|     27|                "in int gl_BaseVertexARB;"
 6341|     27|                "in int gl_BaseInstanceARB;"
 6342|     27|                "in int gl_DrawIDARB;"
 6343|     27|                );
 6344|     27|        }
 6345|     29|        if (version >= 410) {
  ------------------
  |  Branch (6345:13): [True: 27, False: 2]
  ------------------
 6346|     27|            stageBuiltins[EShLangVertex].append(
 6347|     27|                "out int gl_ViewportIndex;"
 6348|     27|                "out int gl_Layer;"
 6349|     27|                );
 6350|     27|        }
 6351|     29|        if (version >= 460) {
  ------------------
  |  Branch (6351:13): [True: 0, False: 29]
  ------------------
 6352|      0|            stageBuiltins[EShLangVertex].append(
 6353|      0|                "in int gl_BaseVertex;"
 6354|      0|                "in int gl_BaseInstance;"
 6355|      0|                "in int gl_DrawID;"
 6356|      0|                );
 6357|      0|        }
 6358|       |
 6359|     29|        if (version >= 430)
  ------------------
  |  Branch (6359:13): [True: 27, False: 2]
  ------------------
 6360|     27|            stageBuiltins[EShLangVertex].append(
 6361|     27|                "out int gl_ViewportMask[];"             // GL_NV_viewport_array2
 6362|     27|                );
 6363|       |
 6364|     29|        if (version >= 450)
  ------------------
  |  Branch (6364:13): [True: 27, False: 2]
  ------------------
 6365|     27|            stageBuiltins[EShLangVertex].append(
 6366|     27|                "out int gl_SecondaryViewportMaskNV[];"  // GL_NV_stereo_view_rendering
 6367|     27|                "out vec4 gl_SecondaryPositionNV;"       // GL_NV_stereo_view_rendering
 6368|     27|                "out vec4 gl_PositionPerViewNV[];"       // GL_NVX_multiview_per_view_attributes
 6369|     27|                "out int  gl_ViewportMaskPerViewNV[];"   // GL_NVX_multiview_per_view_attributes
 6370|     27|                );
 6371|     78|    } else {
 6372|       |        // ES profile
 6373|     78|        if (version == 100) {
  ------------------
  |  Branch (6373:13): [True: 77, False: 1]
  ------------------
 6374|     77|            stageBuiltins[EShLangVertex].append(
 6375|     77|                "highp   vec4  gl_Position;"  // needs qualifier fixed later
 6376|     77|                "mediump float gl_PointSize;" // needs qualifier fixed later
 6377|     77|                "highp int gl_InstanceID;" // needs qualifier fixed later
 6378|     77|                );
 6379|     77|        } else {
 6380|      1|            if (spvVersion.vulkan == 0 || spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (6380:17): [True: 0, False: 1]
  |  Branch (6380:43): [True: 0, False: 1]
  ------------------
 6381|      0|                stageBuiltins[EShLangVertex].append(
 6382|      0|                    "in highp int gl_VertexID;"      // needs qualifier fixed later
 6383|      0|                    "in highp int gl_InstanceID;"    // needs qualifier fixed later
 6384|      0|                    );
 6385|      1|            if (spvVersion.vulkan > 0)
  ------------------
  |  Branch (6385:17): [True: 1, False: 0]
  ------------------
 6386|      1|                stageBuiltins[EShLangVertex].append(
 6387|      1|                    "in highp int gl_VertexIndex;"
 6388|      1|                    "in highp int gl_InstanceIndex;"
 6389|      1|                    );
 6390|      1|            if (version < 310)
  ------------------
  |  Branch (6390:17): [True: 1, False: 0]
  ------------------
 6391|      1|                stageBuiltins[EShLangVertex].append(
 6392|      1|                    "highp vec4  gl_Position;"    // needs qualifier fixed later
 6393|      1|                    "highp float gl_PointSize;"   // needs qualifier fixed later
 6394|      1|                    );
 6395|      0|            else
 6396|      0|                stageBuiltins[EShLangVertex].append(
 6397|      0|                    "out gl_PerVertex {"
 6398|      0|                        "highp vec4  gl_Position;"    // needs qualifier fixed later
 6399|      0|                        "highp float gl_PointSize;"   // needs qualifier fixed later
 6400|      0|                    "};"
 6401|      0|                    );
 6402|      1|        }
 6403|     78|    }
 6404|       |
 6405|    107|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6405:10): [True: 29, False: 78]
  |  Branch (6405:35): [True: 28, False: 1]
  ------------------
 6406|     79|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6406:10): [True: 78, False: 1]
  |  Branch (6406:35): [True: 0, False: 78]
  ------------------
 6407|     28|        stageBuiltins[EShLangVertex].append(
 6408|     28|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6409|     28|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6410|     28|            "\n");
 6411|     28|    }
 6412|       |
 6413|    107|    if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (6413:9): [True: 29, False: 78]
  ------------------
 6414|     29|        stageBuiltins[EShLangVertex].append(
 6415|     29|            "in highp uint gl_ViewID_OVR;"     // GL_OVR_multiview, GL_OVR_multiview2
 6416|     29|            "\n");
 6417|     29|    }
 6418|       |
 6419|    107|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6419:10): [True: 29, False: 78]
  |  Branch (6419:35): [True: 27, False: 2]
  |  Branch (6419:55): [True: 78, False: 2]
  |  Branch (6419:80): [True: 0, False: 78]
  ------------------
 6420|     27|        stageBuiltins[EShLangVertex].append(
 6421|     27|            "out highp int gl_PrimitiveShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6422|     27|            "\n");
 6423|     27|    }
 6424|       |
 6425|       |    //============================================================================
 6426|       |    //
 6427|       |    // Define the interface to the geometry shader.
 6428|       |    //
 6429|       |    //============================================================================
 6430|       |
 6431|    107|    if (profile == ECoreProfile || profile == ECompatibilityProfile) {
  ------------------
  |  Branch (6431:9): [True: 28, False: 79]
  |  Branch (6431:36): [True: 0, False: 79]
  ------------------
 6432|     28|        stageBuiltins[EShLangGeometry].append(
 6433|     28|            "in gl_PerVertex {"
 6434|     28|                "vec4 gl_Position;"
 6435|     28|                "float gl_PointSize;"
 6436|     28|                "float gl_ClipDistance[];"
 6437|     28|                );
 6438|     28|        if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (6438:13): [True: 0, False: 28]
  ------------------
 6439|      0|            stageBuiltins[EShLangGeometry].append(
 6440|      0|                "vec4 gl_ClipVertex;"
 6441|      0|                "vec4 gl_FrontColor;"
 6442|      0|                "vec4 gl_BackColor;"
 6443|      0|                "vec4 gl_FrontSecondaryColor;"
 6444|      0|                "vec4 gl_BackSecondaryColor;"
 6445|      0|                "vec4 gl_TexCoord[];"
 6446|      0|                "float gl_FogFragCoord;"
 6447|      0|                );
 6448|     28|        if (version >= 450)
  ------------------
  |  Branch (6448:13): [True: 27, False: 1]
  ------------------
 6449|     27|            stageBuiltins[EShLangGeometry].append(
 6450|     27|                "float gl_CullDistance[];"
 6451|     27|                "vec4 gl_SecondaryPositionNV;"   // GL_NV_stereo_view_rendering
 6452|     27|                "vec4 gl_PositionPerViewNV[];"   // GL_NVX_multiview_per_view_attributes
 6453|     27|                );
 6454|     28|        stageBuiltins[EShLangGeometry].append(
 6455|     28|            "} gl_in[];"
 6456|       |
 6457|     28|            "in int gl_PrimitiveIDIn;"
 6458|     28|            "out gl_PerVertex {"
 6459|     28|                "vec4 gl_Position;"
 6460|     28|                "float gl_PointSize;"
 6461|     28|                "float gl_ClipDistance[];"
 6462|     28|                "\n");
 6463|     28|        if (profile == ECompatibilityProfile && version >= 400)
  ------------------
  |  Branch (6463:13): [True: 0, False: 28]
  |  Branch (6463:49): [True: 0, False: 0]
  ------------------
 6464|      0|            stageBuiltins[EShLangGeometry].append(
 6465|      0|                "vec4 gl_ClipVertex;"
 6466|      0|                "vec4 gl_FrontColor;"
 6467|      0|                "vec4 gl_BackColor;"
 6468|      0|                "vec4 gl_FrontSecondaryColor;"
 6469|      0|                "vec4 gl_BackSecondaryColor;"
 6470|      0|                "vec4 gl_TexCoord[];"
 6471|      0|                "float gl_FogFragCoord;"
 6472|      0|                );
 6473|     28|        if (version >= 450)
  ------------------
  |  Branch (6473:13): [True: 27, False: 1]
  ------------------
 6474|     27|            stageBuiltins[EShLangGeometry].append(
 6475|     27|                "float gl_CullDistance[];"
 6476|     27|                );
 6477|     28|        stageBuiltins[EShLangGeometry].append(
 6478|     28|            "};"
 6479|       |
 6480|     28|            "out int gl_PrimitiveID;"
 6481|     28|            "out int gl_Layer;");
 6482|       |
 6483|     28|        if (version >= 150)
  ------------------
  |  Branch (6483:13): [True: 28, False: 0]
  ------------------
 6484|     28|            stageBuiltins[EShLangGeometry].append(
 6485|     28|            "out int gl_ViewportIndex;"
 6486|     28|            );
 6487|       |
 6488|     28|        if (profile == ECompatibilityProfile && version < 400)
  ------------------
  |  Branch (6488:13): [True: 0, False: 28]
  |  Branch (6488:49): [True: 0, False: 0]
  ------------------
 6489|      0|            stageBuiltins[EShLangGeometry].append(
 6490|      0|            "out vec4 gl_ClipVertex;"
 6491|      0|            );
 6492|       |
 6493|     28|        if (version >= 150)
  ------------------
  |  Branch (6493:13): [True: 28, False: 0]
  ------------------
 6494|     28|            stageBuiltins[EShLangGeometry].append(
 6495|     28|            "in int gl_InvocationID;"
 6496|     28|            );
 6497|       |
 6498|     28|        if (version >= 430)
  ------------------
  |  Branch (6498:13): [True: 27, False: 1]
  ------------------
 6499|     27|            stageBuiltins[EShLangGeometry].append(
 6500|     27|                "out int gl_ViewportMask[];"               // GL_NV_viewport_array2
 6501|     27|            );
 6502|       |
 6503|     28|        if (version >= 450)
  ------------------
  |  Branch (6503:13): [True: 27, False: 1]
  ------------------
 6504|     27|            stageBuiltins[EShLangGeometry].append(
 6505|     27|                "out int gl_SecondaryViewportMaskNV[];"    // GL_NV_stereo_view_rendering
 6506|     27|                "out vec4 gl_SecondaryPositionNV;"         // GL_NV_stereo_view_rendering
 6507|     27|                "out vec4 gl_PositionPerViewNV[];"         // GL_NVX_multiview_per_view_attributes
 6508|     27|                "out int  gl_ViewportMaskPerViewNV[];"     // GL_NVX_multiview_per_view_attributes
 6509|     27|            );
 6510|       |
 6511|     28|        stageBuiltins[EShLangGeometry].append("\n");
 6512|     79|    } else if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (6512:16): [True: 78, False: 1]
  |  Branch (6512:41): [True: 0, False: 78]
  ------------------
 6513|      0|        stageBuiltins[EShLangGeometry].append(
 6514|      0|            "in gl_PerVertex {"
 6515|      0|                "highp vec4 gl_Position;"
 6516|      0|                "highp float gl_PointSize;"
 6517|      0|            "} gl_in[];"
 6518|      0|            "\n"
 6519|      0|            "in highp int gl_PrimitiveIDIn;"
 6520|      0|            "in highp int gl_InvocationID;"
 6521|      0|            "\n"
 6522|      0|            "out gl_PerVertex {"
 6523|      0|                "highp vec4 gl_Position;"
 6524|      0|                "highp float gl_PointSize;"
 6525|      0|            "};"
 6526|      0|            "\n"
 6527|      0|            "out highp int gl_PrimitiveID;"
 6528|      0|            "out highp int gl_Layer;"
 6529|      0|            "\n"
 6530|      0|            );
 6531|      0|    }
 6532|       |
 6533|    107|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6533:10): [True: 29, False: 78]
  |  Branch (6533:35): [True: 28, False: 1]
  ------------------
 6534|     79|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6534:10): [True: 78, False: 1]
  |  Branch (6534:35): [True: 0, False: 78]
  ------------------
 6535|     28|        stageBuiltins[EShLangGeometry].append(
 6536|     28|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6537|     28|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6538|     28|            "\n");
 6539|     28|    }
 6540|       |
 6541|    107|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6541:10): [True: 29, False: 78]
  |  Branch (6541:35): [True: 27, False: 2]
  |  Branch (6541:55): [True: 78, False: 2]
  |  Branch (6541:80): [True: 0, False: 78]
  ------------------
 6542|     27|        stageBuiltins[EShLangGeometry].append(
 6543|     27|            "out highp int gl_PrimitiveShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6544|     27|            "\n");
 6545|     27|    }
 6546|       |
 6547|       |    //============================================================================
 6548|       |    //
 6549|       |    // Define the interface to the tessellation control shader.
 6550|       |    //
 6551|       |    //============================================================================
 6552|       |
 6553|    107|    if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (6553:9): [True: 29, False: 78]
  |  Branch (6553:34): [True: 28, False: 1]
  ------------------
 6554|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6555|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6556|       |
 6557|     28|        stageBuiltins[EShLangTessControl].append(
 6558|     28|            "in int gl_PatchVerticesIn;"
 6559|     28|            "in int gl_PrimitiveID;"
 6560|     28|            "in int gl_InvocationID;"
 6561|       |
 6562|     28|            "out gl_PerVertex {"
 6563|     28|                "vec4 gl_Position;"
 6564|     28|                "float gl_PointSize;"
 6565|     28|                "float gl_ClipDistance[];"
 6566|     28|                );
 6567|     28|        if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (6567:13): [True: 0, False: 28]
  ------------------
 6568|      0|            stageBuiltins[EShLangTessControl].append(
 6569|      0|                "vec4 gl_ClipVertex;"
 6570|      0|                "vec4 gl_FrontColor;"
 6571|      0|                "vec4 gl_BackColor;"
 6572|      0|                "vec4 gl_FrontSecondaryColor;"
 6573|      0|                "vec4 gl_BackSecondaryColor;"
 6574|      0|                "vec4 gl_TexCoord[];"
 6575|      0|                "float gl_FogFragCoord;"
 6576|      0|                );
 6577|     28|        if (version >= 450)
  ------------------
  |  Branch (6577:13): [True: 27, False: 1]
  ------------------
 6578|     27|            stageBuiltins[EShLangTessControl].append(
 6579|     27|                "float gl_CullDistance[];"
 6580|     27|            );
 6581|     28|        if (version >= 430)
  ------------------
  |  Branch (6581:13): [True: 27, False: 1]
  ------------------
 6582|     27|            stageBuiltins[EShLangTessControl].append(
 6583|     27|                "int  gl_ViewportMask[];"             // GL_NV_viewport_array2
 6584|     27|            );
 6585|     28|        if (version >= 450)
  ------------------
  |  Branch (6585:13): [True: 27, False: 1]
  ------------------
 6586|     27|            stageBuiltins[EShLangTessControl].append(
 6587|     27|                "vec4 gl_SecondaryPositionNV;"        // GL_NV_stereo_view_rendering
 6588|     27|                "int  gl_SecondaryViewportMaskNV[];"  // GL_NV_stereo_view_rendering
 6589|     27|                "vec4 gl_PositionPerViewNV[];"        // GL_NVX_multiview_per_view_attributes
 6590|     27|                "int  gl_ViewportMaskPerViewNV[];"    // GL_NVX_multiview_per_view_attributes
 6591|     27|                );
 6592|     28|        stageBuiltins[EShLangTessControl].append(
 6593|     28|            "} gl_out[];"
 6594|       |
 6595|     28|            "patch out float gl_TessLevelOuter[4];"
 6596|     28|            "patch out float gl_TessLevelInner[2];"
 6597|     28|            "\n");
 6598|       |
 6599|     28|        if (version >= 410)
  ------------------
  |  Branch (6599:13): [True: 27, False: 1]
  ------------------
 6600|     27|            stageBuiltins[EShLangTessControl].append(
 6601|     27|                "out int gl_ViewportIndex;"
 6602|     27|                "out int gl_Layer;"
 6603|     27|                "\n");
 6604|       |
 6605|     79|    } else {
 6606|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6607|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6608|       |
 6609|     79|        stageBuiltins[EShLangTessControl].append(
 6610|     79|            "in highp int gl_PatchVerticesIn;"
 6611|     79|            "in highp int gl_PrimitiveID;"
 6612|     79|            "in highp int gl_InvocationID;"
 6613|       |
 6614|     79|            "out gl_PerVertex {"
 6615|     79|                "highp vec4 gl_Position;"
 6616|     79|                "highp float gl_PointSize;"
 6617|     79|                );
 6618|     79|        stageBuiltins[EShLangTessControl].append(
 6619|     79|            "} gl_out[];"
 6620|       |
 6621|     79|            "patch out highp float gl_TessLevelOuter[4];"
 6622|     79|            "patch out highp float gl_TessLevelInner[2];"
 6623|     79|            "patch out highp vec4 gl_BoundingBoxOES[2];"
 6624|     79|            "patch out highp vec4 gl_BoundingBoxEXT[2];"
 6625|     79|            "\n");
 6626|     79|        if (profile == EEsProfile && version >= 320) {
  ------------------
  |  Branch (6626:13): [True: 78, False: 1]
  |  Branch (6626:38): [True: 0, False: 78]
  ------------------
 6627|      0|            stageBuiltins[EShLangTessControl].append(
 6628|      0|                "patch out highp vec4 gl_BoundingBox[2];"
 6629|      0|                "\n"
 6630|      0|            );
 6631|      0|        }
 6632|     79|    }
 6633|       |
 6634|    107|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6634:10): [True: 29, False: 78]
  |  Branch (6634:35): [True: 28, False: 1]
  ------------------
 6635|     79|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6635:10): [True: 78, False: 1]
  |  Branch (6635:35): [True: 0, False: 78]
  ------------------
 6636|     28|        stageBuiltins[EShLangTessControl].append(
 6637|     28|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6638|     28|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6639|     28|            "\n");
 6640|     28|    }
 6641|       |
 6642|       |    //============================================================================
 6643|       |    //
 6644|       |    // Define the interface to the tessellation evaluation shader.
 6645|       |    //
 6646|       |    //============================================================================
 6647|       |
 6648|    107|    if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (6648:9): [True: 29, False: 78]
  |  Branch (6648:34): [True: 28, False: 1]
  ------------------
 6649|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6650|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6651|       |
 6652|     28|        stageBuiltins[EShLangTessEvaluation].append(
 6653|     28|            "in int gl_PatchVerticesIn;"
 6654|     28|            "in int gl_PrimitiveID;"
 6655|     28|            "in vec3 gl_TessCoord;"
 6656|       |
 6657|     28|            "patch in float gl_TessLevelOuter[4];"
 6658|     28|            "patch in float gl_TessLevelInner[2];"
 6659|       |
 6660|     28|            "out gl_PerVertex {"
 6661|     28|                "vec4 gl_Position;"
 6662|     28|                "float gl_PointSize;"
 6663|     28|                "float gl_ClipDistance[];"
 6664|     28|            );
 6665|     28|        if (version >= 400 && profile == ECompatibilityProfile)
  ------------------
  |  Branch (6665:13): [True: 27, False: 1]
  |  Branch (6665:31): [True: 0, False: 27]
  ------------------
 6666|      0|            stageBuiltins[EShLangTessEvaluation].append(
 6667|      0|                "vec4 gl_ClipVertex;"
 6668|      0|                "vec4 gl_FrontColor;"
 6669|      0|                "vec4 gl_BackColor;"
 6670|      0|                "vec4 gl_FrontSecondaryColor;"
 6671|      0|                "vec4 gl_BackSecondaryColor;"
 6672|      0|                "vec4 gl_TexCoord[];"
 6673|      0|                "float gl_FogFragCoord;"
 6674|      0|                );
 6675|     28|        if (version >= 450)
  ------------------
  |  Branch (6675:13): [True: 27, False: 1]
  ------------------
 6676|     27|            stageBuiltins[EShLangTessEvaluation].append(
 6677|     27|                "float gl_CullDistance[];"
 6678|     27|                );
 6679|     28|        stageBuiltins[EShLangTessEvaluation].append(
 6680|     28|            "};"
 6681|     28|            "\n");
 6682|       |
 6683|     28|        if (version >= 410)
  ------------------
  |  Branch (6683:13): [True: 27, False: 1]
  ------------------
 6684|     27|            stageBuiltins[EShLangTessEvaluation].append(
 6685|     27|                "out int gl_ViewportIndex;"
 6686|     27|                "out int gl_Layer;"
 6687|     27|                "\n");
 6688|       |
 6689|     28|        if (version >= 430)
  ------------------
  |  Branch (6689:13): [True: 27, False: 1]
  ------------------
 6690|     27|            stageBuiltins[EShLangTessEvaluation].append(
 6691|     27|                "out int  gl_ViewportMask[];"             // GL_NV_viewport_array2
 6692|     27|            );
 6693|       |
 6694|     28|        if (version >= 450)
  ------------------
  |  Branch (6694:13): [True: 27, False: 1]
  ------------------
 6695|     27|            stageBuiltins[EShLangTessEvaluation].append(
 6696|     27|                "out vec4 gl_SecondaryPositionNV;"        // GL_NV_stereo_view_rendering
 6697|     27|                "out int  gl_SecondaryViewportMaskNV[];"  // GL_NV_stereo_view_rendering
 6698|     27|                "out vec4 gl_PositionPerViewNV[];"        // GL_NVX_multiview_per_view_attributes
 6699|     27|                "out int  gl_ViewportMaskPerViewNV[];"    // GL_NVX_multiview_per_view_attributes
 6700|     27|                );
 6701|       |
 6702|     79|    } else if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (6702:16): [True: 78, False: 1]
  |  Branch (6702:41): [True: 0, False: 78]
  ------------------
 6703|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6704|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6705|       |
 6706|      0|        stageBuiltins[EShLangTessEvaluation].append(
 6707|      0|            "in highp int gl_PatchVerticesIn;"
 6708|      0|            "in highp int gl_PrimitiveID;"
 6709|      0|            "in highp vec3 gl_TessCoord;"
 6710|       |
 6711|      0|            "patch in highp float gl_TessLevelOuter[4];"
 6712|      0|            "patch in highp float gl_TessLevelInner[2];"
 6713|       |
 6714|      0|            "out gl_PerVertex {"
 6715|      0|                "highp vec4 gl_Position;"
 6716|      0|                "highp float gl_PointSize;"
 6717|      0|            );
 6718|      0|        stageBuiltins[EShLangTessEvaluation].append(
 6719|      0|            "};"
 6720|      0|            "\n");
 6721|      0|    }
 6722|       |
 6723|    107|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6723:10): [True: 29, False: 78]
  |  Branch (6723:35): [True: 28, False: 1]
  ------------------
 6724|     79|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6724:10): [True: 78, False: 1]
  |  Branch (6724:35): [True: 0, False: 78]
  ------------------
 6725|     28|        stageBuiltins[EShLangTessEvaluation].append(
 6726|     28|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6727|     28|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6728|     28|            "\n");
 6729|     28|    }
 6730|       |
 6731|       |    //============================================================================
 6732|       |    //
 6733|       |    // Define the interface to the fragment shader.
 6734|       |    //
 6735|       |    //============================================================================
 6736|       |
 6737|    107|    if (profile != EEsProfile) {
  ------------------
  |  Branch (6737:9): [True: 29, False: 78]
  ------------------
 6738|       |
 6739|     29|        stageBuiltins[EShLangFragment].append(
 6740|     29|            "vec4  gl_FragCoord;"   // needs qualifier fixed later
 6741|     29|            "bool  gl_FrontFacing;" // needs qualifier fixed later
 6742|     29|            "float gl_FragDepth;"   // needs qualifier fixed later
 6743|     29|            );
 6744|     29|        if (version >= 120)
  ------------------
  |  Branch (6744:13): [True: 28, False: 1]
  ------------------
 6745|     28|            stageBuiltins[EShLangFragment].append(
 6746|     28|                "vec2 gl_PointCoord;"  // needs qualifier fixed later
 6747|     28|                );
 6748|     29|        if (version >= 140)
  ------------------
  |  Branch (6748:13): [True: 28, False: 1]
  ------------------
 6749|     28|            stageBuiltins[EShLangFragment].append(
 6750|     28|                "out int gl_FragStencilRefARB;"
 6751|     28|                );
 6752|     29|        if (IncludeLegacy(version, profile, spvVersion) || (! ForwardCompatibility && version < 420))
  ------------------
  |  Branch (6752:13): [True: 1, False: 28]
  |  Branch (6752:61): [True: 28, Folded]
  |  Branch (6752:87): [True: 1, False: 27]
  ------------------
 6753|      2|            stageBuiltins[EShLangFragment].append(
 6754|      2|                "vec4 gl_FragColor;"   // needs qualifier fixed later
 6755|      2|                );
 6756|       |
 6757|     29|        if (version < 130) {
  ------------------
  |  Branch (6757:13): [True: 1, False: 28]
  ------------------
 6758|      1|            stageBuiltins[EShLangFragment].append(
 6759|      1|                "varying vec4  gl_Color;"
 6760|      1|                "varying vec4  gl_SecondaryColor;"
 6761|      1|                "varying vec4  gl_TexCoord[];"
 6762|      1|                "varying float gl_FogFragCoord;"
 6763|      1|                );
 6764|     28|        } else {
 6765|     28|            stageBuiltins[EShLangFragment].append(
 6766|     28|                "in float gl_ClipDistance[];"
 6767|     28|                );
 6768|       |
 6769|     28|            if (IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6769:17): [True: 0, False: 28]
  ------------------
 6770|      0|                if (version < 150)
  ------------------
  |  Branch (6770:21): [True: 0, False: 0]
  ------------------
 6771|      0|                    stageBuiltins[EShLangFragment].append(
 6772|      0|                        "in float gl_FogFragCoord;"
 6773|      0|                        "in vec4  gl_TexCoord[];"
 6774|      0|                        "in vec4  gl_Color;"
 6775|      0|                        "in vec4  gl_SecondaryColor;"
 6776|      0|                        );
 6777|      0|                else
 6778|      0|                    stageBuiltins[EShLangFragment].append(
 6779|      0|                        "in gl_PerFragment {"
 6780|      0|                            "in float gl_FogFragCoord;"
 6781|      0|                            "in vec4  gl_TexCoord[];"
 6782|      0|                            "in vec4  gl_Color;"
 6783|      0|                            "in vec4  gl_SecondaryColor;"
 6784|      0|                        "};"
 6785|      0|                        );
 6786|      0|            }
 6787|     28|        }
 6788|       |
 6789|     29|        if (version >= 150)
  ------------------
  |  Branch (6789:13): [True: 28, False: 1]
  ------------------
 6790|     28|            stageBuiltins[EShLangFragment].append(
 6791|     28|                "flat in int gl_PrimitiveID;"
 6792|     28|                );
 6793|       |
 6794|     29|        if (version >= 130) { // ARB_sample_shading
  ------------------
  |  Branch (6794:13): [True: 28, False: 1]
  ------------------
 6795|     28|            stageBuiltins[EShLangFragment].append(
 6796|     28|                "flat in  int  gl_SampleID;"
 6797|     28|                "     in  vec2 gl_SamplePosition;"
 6798|     28|                "     out int  gl_SampleMask[];"
 6799|     28|                );
 6800|       |
 6801|     28|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (6801:17): [True: 28, False: 0]
  ------------------
 6802|     28|                stageBuiltins[EShLangFragment].append(
 6803|     28|                    "uniform int gl_NumSamples;"
 6804|     28|                );
 6805|     28|            }
 6806|     28|        }
 6807|       |
 6808|     29|        if (version >= 150)
  ------------------
  |  Branch (6808:13): [True: 28, False: 1]
  ------------------
 6809|     28|            stageBuiltins[EShLangFragment].append(
 6810|     28|                "flat in  int  gl_SampleMaskIn[];"
 6811|     28|            );
 6812|       |
 6813|     29|        if (version >= 430)
  ------------------
  |  Branch (6813:13): [True: 27, False: 2]
  ------------------
 6814|     27|            stageBuiltins[EShLangFragment].append(
 6815|     27|                "flat in int gl_Layer;"
 6816|     27|                "flat in int gl_ViewportIndex;"
 6817|     27|                );
 6818|       |
 6819|     29|        if (version >= 450)
  ------------------
  |  Branch (6819:13): [True: 27, False: 2]
  ------------------
 6820|     27|            stageBuiltins[EShLangFragment].append(
 6821|     27|                "in float gl_CullDistance[];"
 6822|     27|                "bool gl_HelperInvocation;"     // needs qualifier fixed later
 6823|     27|                );
 6824|       |
 6825|     29|        if (version >= 450)
  ------------------
  |  Branch (6825:13): [True: 27, False: 2]
  ------------------
 6826|     27|            stageBuiltins[EShLangFragment].append( // GL_EXT_fragment_invocation_density
 6827|     27|                "flat in ivec2 gl_FragSizeEXT;"
 6828|     27|                "flat in int   gl_FragInvocationCountEXT;"
 6829|     27|                );
 6830|       |
 6831|     29|        if (version >= 450)
  ------------------
  |  Branch (6831:13): [True: 27, False: 2]
  ------------------
 6832|     27|            stageBuiltins[EShLangFragment].append(
 6833|     27|                "in vec2 gl_BaryCoordNoPerspAMD;"
 6834|     27|                "in vec2 gl_BaryCoordNoPerspCentroidAMD;"
 6835|     27|                "in vec2 gl_BaryCoordNoPerspSampleAMD;"
 6836|     27|                "in vec2 gl_BaryCoordSmoothAMD;"
 6837|     27|                "in vec2 gl_BaryCoordSmoothCentroidAMD;"
 6838|     27|                "in vec2 gl_BaryCoordSmoothSampleAMD;"
 6839|     27|                "in vec3 gl_BaryCoordPullModelAMD;"
 6840|     27|                );
 6841|       |
 6842|     29|        if (version >= 430)
  ------------------
  |  Branch (6842:13): [True: 27, False: 2]
  ------------------
 6843|     27|            stageBuiltins[EShLangFragment].append(
 6844|     27|                "in bool gl_FragFullyCoveredNV;"
 6845|     27|                );
 6846|     29|        if (version >= 450)
  ------------------
  |  Branch (6846:13): [True: 27, False: 2]
  ------------------
 6847|     27|            stageBuiltins[EShLangFragment].append(
 6848|     27|                "flat in ivec2 gl_FragmentSizeNV;"          // GL_NV_shading_rate_image
 6849|     27|                "flat in int   gl_InvocationsPerPixelNV;"
 6850|     27|                "in vec3 gl_BaryCoordNV;"                   // GL_NV_fragment_shader_barycentric
 6851|     27|                "in vec3 gl_BaryCoordNoPerspNV;"
 6852|     27|                "in vec3 gl_BaryCoordEXT;"                  // GL_EXT_fragment_shader_barycentric
 6853|     27|                "in vec3 gl_BaryCoordNoPerspEXT;"
 6854|     27|                );
 6855|       |
 6856|     29|        if (version >= 450)
  ------------------
  |  Branch (6856:13): [True: 27, False: 2]
  ------------------
 6857|     27|            stageBuiltins[EShLangFragment].append(
 6858|     27|                "flat in int gl_ShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6859|     27|            );
 6860|       |
 6861|     78|    } else {
 6862|       |        // ES profile
 6863|       |
 6864|     78|        if (version == 100) {
  ------------------
  |  Branch (6864:13): [True: 77, False: 1]
  ------------------
 6865|     77|            stageBuiltins[EShLangFragment].append(
 6866|     77|                "mediump vec4 gl_FragCoord;"    // needs qualifier fixed later
 6867|     77|                "        bool gl_FrontFacing;"  // needs qualifier fixed later
 6868|     77|                "mediump vec4 gl_FragColor;"    // needs qualifier fixed later
 6869|     77|                "mediump vec2 gl_PointCoord;"   // needs qualifier fixed later
 6870|     77|                );
 6871|     77|        }
 6872|     78|        if (version >= 300) {
  ------------------
  |  Branch (6872:13): [True: 1, False: 77]
  ------------------
 6873|      1|            stageBuiltins[EShLangFragment].append(
 6874|      1|                "highp   vec4  gl_FragCoord;"    // needs qualifier fixed later
 6875|      1|                "        bool  gl_FrontFacing;"  // needs qualifier fixed later
 6876|      1|                "mediump vec2  gl_PointCoord;"   // needs qualifier fixed later
 6877|      1|                "highp   float gl_FragDepth;"    // needs qualifier fixed later
 6878|      1|                );
 6879|      1|        }
 6880|     78|        if (version >= 310) {
  ------------------
  |  Branch (6880:13): [True: 0, False: 78]
  ------------------
 6881|      0|            stageBuiltins[EShLangFragment].append(
 6882|      0|                "bool gl_HelperInvocation;"          // needs qualifier fixed later
 6883|      0|                "flat in highp int gl_PrimitiveID;"  // needs qualifier fixed later
 6884|      0|                "flat in highp int gl_Layer;"        // needs qualifier fixed later
 6885|      0|                );
 6886|       |
 6887|      0|            stageBuiltins[EShLangFragment].append(  // GL_OES_sample_variables
 6888|      0|                "flat  in lowp     int gl_SampleID;"
 6889|      0|                "      in mediump vec2 gl_SamplePosition;"
 6890|      0|                "flat  in highp    int gl_SampleMaskIn[];"
 6891|      0|                "     out highp    int gl_SampleMask[];"
 6892|      0|                );
 6893|      0|            if (spvVersion.spv == 0)
  ------------------
  |  Branch (6893:17): [True: 0, False: 0]
  ------------------
 6894|      0|                stageBuiltins[EShLangFragment].append(  // GL_OES_sample_variables
 6895|      0|                    "uniform lowp int gl_NumSamples;"
 6896|      0|                    );
 6897|      0|        }
 6898|     78|        stageBuiltins[EShLangFragment].append(
 6899|     78|            "highp float gl_FragDepthEXT;"       // GL_EXT_frag_depth
 6900|     78|            );
 6901|       |
 6902|     78|        if (version >= 310)
  ------------------
  |  Branch (6902:13): [True: 0, False: 78]
  ------------------
 6903|      0|            stageBuiltins[EShLangFragment].append( // GL_EXT_fragment_invocation_density
 6904|      0|                "flat in ivec2 gl_FragSizeEXT;"
 6905|      0|                "flat in int   gl_FragInvocationCountEXT;"
 6906|      0|            );
 6907|     78|        if (version >= 320)
  ------------------
  |  Branch (6907:13): [True: 0, False: 78]
  ------------------
 6908|      0|            stageBuiltins[EShLangFragment].append( // GL_NV_shading_rate_image
 6909|      0|                "flat in ivec2 gl_FragmentSizeNV;"
 6910|      0|                "flat in int   gl_InvocationsPerPixelNV;"
 6911|      0|            );
 6912|     78|        if (version >= 320)
  ------------------
  |  Branch (6912:13): [True: 0, False: 78]
  ------------------
 6913|      0|            stageBuiltins[EShLangFragment].append(
 6914|      0|                "in vec3 gl_BaryCoordNV;"
 6915|      0|                "in vec3 gl_BaryCoordNoPerspNV;"
 6916|      0|                "in vec3 gl_BaryCoordEXT;"
 6917|      0|                "in vec3 gl_BaryCoordNoPerspEXT;"
 6918|      0|            );
 6919|     78|        if (version >= 310)
  ------------------
  |  Branch (6919:13): [True: 0, False: 78]
  ------------------
 6920|      0|            stageBuiltins[EShLangFragment].append(
 6921|      0|                "flat in highp int gl_ShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6922|      0|            );
 6923|     78|    }
 6924|       |
 6925|    107|    stageBuiltins[EShLangFragment].append("\n");
 6926|       |
 6927|    107|    if (version >= 130)
  ------------------
  |  Branch (6927:9): [True: 29, False: 78]
  ------------------
 6928|     29|        add2ndGenerationSamplingImaging(version, profile, spvVersion);
 6929|       |
 6930|    107|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6930:10): [True: 29, False: 78]
  |  Branch (6930:35): [True: 28, False: 1]
  ------------------
 6931|     79|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6931:10): [True: 78, False: 1]
  |  Branch (6931:35): [True: 0, False: 78]
  ------------------
 6932|     28|        stageBuiltins[EShLangFragment].append(
 6933|     28|            "flat in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6934|     28|            "flat in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6935|     28|            "\n");
 6936|     28|    }
 6937|       |
 6938|    107|    if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (6938:9): [True: 29, False: 78]
  ------------------
 6939|     29|        stageBuiltins[EShLangFragment].append(
 6940|     29|            "flat in highp uint gl_ViewID_OVR;"     // GL_OVR_multiview, GL_OVR_multiview2
 6941|     29|            "\n");
 6942|     29|    }
 6943|       |    
 6944|       |    // GL_QCOM_tile_shading
 6945|    107|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (6945:10): [True: 78, False: 29]
  |  Branch (6945:35): [True: 0, False: 78]
  ------------------
 6946|    107|        (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (6946:10): [True: 29, False: 78]
  |  Branch (6946:35): [True: 0, False: 29]
  ------------------
 6947|      0|        stageBuiltins[EShLangFragment].append(
 6948|      0|            "flat in highp uvec2 gl_TileOffsetQCOM;"     // GL_QCOM_tile_shading
 6949|      0|            "flat in highp uvec3 gl_TileDimensionQCOM;"  // GL_QCOM_tile_shading
 6950|      0|            "flat in highp uvec2 gl_TileApronSizeQCOM;"  // GL_QCOM_tile_shading
 6951|      0|            "\n");
 6952|      0|    }
 6953|       |
 6954|       |    // GL_ARB_shader_ballot
 6955|    107|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (6955:9): [True: 29, False: 78]
  |  Branch (6955:34): [True: 27, False: 2]
  ------------------
 6956|     27|        const char* ballotDecls =
 6957|     27|            "uniform uint gl_SubGroupSizeARB;"
 6958|     27|            "in uint     gl_SubGroupInvocationARB;"
 6959|     27|            "in uint64_t gl_SubGroupEqMaskARB;"
 6960|     27|            "in uint64_t gl_SubGroupGeMaskARB;"
 6961|     27|            "in uint64_t gl_SubGroupGtMaskARB;"
 6962|     27|            "in uint64_t gl_SubGroupLeMaskARB;"
 6963|     27|            "in uint64_t gl_SubGroupLtMaskARB;"
 6964|     27|            "\n";
 6965|     27|        const char* rtBallotDecls =
 6966|     27|            "uniform volatile uint gl_SubGroupSizeARB;"
 6967|     27|            "in volatile uint     gl_SubGroupInvocationARB;"
 6968|     27|            "in volatile uint64_t gl_SubGroupEqMaskARB;"
 6969|     27|            "in volatile uint64_t gl_SubGroupGeMaskARB;"
 6970|     27|            "in volatile uint64_t gl_SubGroupGtMaskARB;"
 6971|     27|            "in volatile uint64_t gl_SubGroupLeMaskARB;"
 6972|     27|            "in volatile uint64_t gl_SubGroupLtMaskARB;"
 6973|     27|            "\n";
 6974|     27|        const char* fragmentBallotDecls =
 6975|     27|            "uniform uint gl_SubGroupSizeARB;"
 6976|     27|            "flat in uint     gl_SubGroupInvocationARB;"
 6977|     27|            "flat in uint64_t gl_SubGroupEqMaskARB;"
 6978|     27|            "flat in uint64_t gl_SubGroupGeMaskARB;"
 6979|     27|            "flat in uint64_t gl_SubGroupGtMaskARB;"
 6980|     27|            "flat in uint64_t gl_SubGroupLeMaskARB;"
 6981|     27|            "flat in uint64_t gl_SubGroupLtMaskARB;"
 6982|     27|            "\n";
 6983|     27|        stageBuiltins[EShLangVertex]        .append(ballotDecls);
 6984|     27|        stageBuiltins[EShLangTessControl]   .append(ballotDecls);
 6985|     27|        stageBuiltins[EShLangTessEvaluation].append(ballotDecls);
 6986|     27|        stageBuiltins[EShLangGeometry]      .append(ballotDecls);
 6987|     27|        stageBuiltins[EShLangCompute]       .append(ballotDecls);
 6988|     27|        stageBuiltins[EShLangFragment]      .append(fragmentBallotDecls);
 6989|     27|        stageBuiltins[EShLangMesh]        .append(ballotDecls);
 6990|     27|        stageBuiltins[EShLangTask]        .append(ballotDecls);
 6991|     27|        stageBuiltins[EShLangRayGen]        .append(rtBallotDecls);
 6992|     27|        stageBuiltins[EShLangIntersect]     .append(rtBallotDecls);
 6993|       |        // No volatile qualifier on these builtins in any-hit
 6994|     27|        stageBuiltins[EShLangAnyHit]        .append(ballotDecls);
 6995|     27|        stageBuiltins[EShLangClosestHit]    .append(rtBallotDecls);
 6996|     27|        stageBuiltins[EShLangMiss]          .append(rtBallotDecls);
 6997|     27|        stageBuiltins[EShLangCallable]      .append(rtBallotDecls);
 6998|     27|    }
 6999|       |
 7000|       |    // GL_KHR_shader_subgroup
 7001|    107|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (7001:10): [True: 78, False: 29]
  |  Branch (7001:35): [True: 0, False: 78]
  ------------------
 7002|    107|        (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (7002:10): [True: 29, False: 78]
  |  Branch (7002:35): [True: 28, False: 1]
  ------------------
 7003|     28|        const char* subgroupDecls =
 7004|     28|            "in mediump uint  gl_SubgroupSize;"
 7005|     28|            "in mediump uint  gl_SubgroupInvocationID;"
 7006|     28|            "in highp   uvec4 gl_SubgroupEqMask;"
 7007|     28|            "in highp   uvec4 gl_SubgroupGeMask;"
 7008|     28|            "in highp   uvec4 gl_SubgroupGtMask;"
 7009|     28|            "in highp   uvec4 gl_SubgroupLeMask;"
 7010|     28|            "in highp   uvec4 gl_SubgroupLtMask;"
 7011|       |            // GL_NV_shader_sm_builtins
 7012|     28|            "in highp   uint  gl_WarpsPerSMNV;"
 7013|     28|            "in highp   uint  gl_SMCountNV;"
 7014|     28|            "in highp   uint  gl_WarpIDNV;"
 7015|     28|            "in highp   uint  gl_SMIDNV;"
 7016|       |            // GL_ARM_shader_core_builtins
 7017|     28|            "in highp   uint  gl_CoreIDARM;"
 7018|     28|            "in highp   uint  gl_CoreCountARM;"
 7019|     28|            "in highp   uint  gl_CoreMaxIDARM;"
 7020|     28|            "in highp   uint  gl_WarpIDARM;"
 7021|     28|            "in highp   uint  gl_WarpMaxIDARM;"
 7022|     28|            "\n";
 7023|     28|        const char* fragmentSubgroupDecls =
 7024|     28|            "flat in mediump uint  gl_SubgroupSize;"
 7025|     28|            "flat in mediump uint  gl_SubgroupInvocationID;"
 7026|     28|            "flat in highp   uvec4 gl_SubgroupEqMask;"
 7027|     28|            "flat in highp   uvec4 gl_SubgroupGeMask;"
 7028|     28|            "flat in highp   uvec4 gl_SubgroupGtMask;"
 7029|     28|            "flat in highp   uvec4 gl_SubgroupLeMask;"
 7030|     28|            "flat in highp   uvec4 gl_SubgroupLtMask;"
 7031|       |            // GL_NV_shader_sm_builtins
 7032|     28|            "flat in highp   uint  gl_WarpsPerSMNV;"
 7033|     28|            "flat in highp   uint  gl_SMCountNV;"
 7034|     28|            "flat in highp   uint  gl_WarpIDNV;"
 7035|     28|            "flat in highp   uint  gl_SMIDNV;"
 7036|       |            // GL_ARM_shader_core_builtins
 7037|     28|            "flat in highp   uint  gl_CoreIDARM;"
 7038|     28|            "flat in highp   uint  gl_CoreCountARM;"
 7039|     28|            "flat in highp   uint  gl_CoreMaxIDARM;"
 7040|     28|            "flat in highp   uint  gl_WarpIDARM;"
 7041|     28|            "flat in highp   uint  gl_WarpMaxIDARM;"
 7042|     28|            "\n";
 7043|     28|        const char* computeSubgroupDecls =
 7044|     28|            "in highp   uint  gl_NumSubgroups;"
 7045|     28|            "in highp   uint  gl_SubgroupID;"
 7046|     28|            "\n";
 7047|       |        // These builtins are volatile for RT stages
 7048|     28|        const char* rtSubgroupDecls =
 7049|     28|            "in mediump volatile uint  gl_SubgroupSize;"
 7050|     28|            "in mediump volatile uint  gl_SubgroupInvocationID;"
 7051|     28|            "in highp   volatile uvec4 gl_SubgroupEqMask;"
 7052|     28|            "in highp   volatile uvec4 gl_SubgroupGeMask;"
 7053|     28|            "in highp   volatile uvec4 gl_SubgroupGtMask;"
 7054|     28|            "in highp   volatile uvec4 gl_SubgroupLeMask;"
 7055|     28|            "in highp   volatile uvec4 gl_SubgroupLtMask;"
 7056|       |            // GL_NV_shader_sm_builtins
 7057|     28|            "in highp    uint  gl_WarpsPerSMNV;"
 7058|     28|            "in highp    uint  gl_SMCountNV;"
 7059|     28|            "in highp volatile uint  gl_WarpIDNV;"
 7060|     28|            "in highp volatile uint  gl_SMIDNV;"
 7061|       |            // GL_ARM_shader_core_builtins
 7062|     28|            "in highp   uint  gl_CoreIDARM;"
 7063|     28|            "in highp   uint  gl_CoreCountARM;"
 7064|     28|            "in highp   uint  gl_CoreMaxIDARM;"
 7065|     28|            "in highp   uint  gl_WarpIDARM;"
 7066|     28|            "in highp   uint  gl_WarpMaxIDARM;"
 7067|     28|            "\n";
 7068|       |
 7069|     28|        stageBuiltins[EShLangVertex]        .append(subgroupDecls);
 7070|     28|        stageBuiltins[EShLangTessControl]   .append(subgroupDecls);
 7071|     28|        stageBuiltins[EShLangTessEvaluation].append(subgroupDecls);
 7072|     28|        stageBuiltins[EShLangGeometry]      .append(subgroupDecls);
 7073|     28|        stageBuiltins[EShLangCompute]       .append(subgroupDecls);
 7074|     28|        stageBuiltins[EShLangCompute]       .append(computeSubgroupDecls);
 7075|     28|        stageBuiltins[EShLangFragment]      .append(fragmentSubgroupDecls);
 7076|     28|        stageBuiltins[EShLangMesh]        .append(subgroupDecls);
 7077|     28|        stageBuiltins[EShLangMesh]        .append(computeSubgroupDecls);
 7078|     28|        stageBuiltins[EShLangTask]        .append(subgroupDecls);
 7079|     28|        stageBuiltins[EShLangTask]        .append(computeSubgroupDecls);
 7080|     28|        stageBuiltins[EShLangRayGen]        .append(rtSubgroupDecls);
 7081|     28|        stageBuiltins[EShLangIntersect]     .append(rtSubgroupDecls);
 7082|       |        // No volatile qualifier on these builtins in any-hit
 7083|     28|        stageBuiltins[EShLangAnyHit]        .append(subgroupDecls);
 7084|     28|        stageBuiltins[EShLangClosestHit]    .append(rtSubgroupDecls);
 7085|     28|        stageBuiltins[EShLangMiss]          .append(rtSubgroupDecls);
 7086|     28|        stageBuiltins[EShLangCallable]      .append(rtSubgroupDecls);
 7087|     28|    }
 7088|       |
 7089|       |    // GL_NV_ray_tracing/GL_EXT_ray_tracing
 7090|    107|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (7090:9): [True: 29, False: 78]
  |  Branch (7090:34): [True: 0, False: 29]
  ------------------
 7091|       |
 7092|      0|        const char *constRayFlags =
 7093|      0|            "const uint gl_RayFlagsNoneNV = 0U;"
 7094|      0|            "const uint gl_RayFlagsNoneEXT = 0U;"
 7095|      0|            "const uint gl_RayFlagsOpaqueNV = 1U;"
 7096|      0|            "const uint gl_RayFlagsOpaqueEXT = 1U;"
 7097|      0|            "const uint gl_RayFlagsNoOpaqueNV = 2U;"
 7098|      0|            "const uint gl_RayFlagsNoOpaqueEXT = 2U;"
 7099|      0|            "const uint gl_RayFlagsTerminateOnFirstHitNV = 4U;"
 7100|      0|            "const uint gl_RayFlagsTerminateOnFirstHitEXT = 4U;"
 7101|      0|            "const uint gl_RayFlagsSkipClosestHitShaderNV = 8U;"
 7102|      0|            "const uint gl_RayFlagsSkipClosestHitShaderEXT = 8U;"
 7103|      0|            "const uint gl_RayFlagsCullBackFacingTrianglesNV = 16U;"
 7104|      0|            "const uint gl_RayFlagsCullBackFacingTrianglesEXT = 16U;"
 7105|      0|            "const uint gl_RayFlagsCullFrontFacingTrianglesNV = 32U;"
 7106|      0|            "const uint gl_RayFlagsCullFrontFacingTrianglesEXT = 32U;"
 7107|      0|            "const uint gl_RayFlagsCullOpaqueNV = 64U;"
 7108|      0|            "const uint gl_RayFlagsCullOpaqueEXT = 64U;"
 7109|      0|            "const uint gl_RayFlagsCullNoOpaqueNV = 128U;"
 7110|      0|            "const uint gl_RayFlagsCullNoOpaqueEXT = 128U;"
 7111|      0|            "const uint gl_RayFlagsSkipTrianglesEXT = 256U;"
 7112|      0|            "const uint gl_RayFlagsSkipBuiltinPrimitivesNV = 256U;"
 7113|      0|            "const uint gl_RayFlagsSkipAABBEXT = 512U;"
 7114|      0|            "const uint gl_RayFlagsForceOpacityMicromap2StateEXT = 1024U;"
 7115|      0|            "const uint gl_HitKindFrontFacingTriangleEXT = 254U;"
 7116|      0|            "const uint gl_HitKindBackFacingTriangleEXT = 255U;"
 7117|      0|            "in    uint gl_HitKindFrontFacingMicroTriangleNV;"
 7118|      0|            "in    uint gl_HitKindBackFacingMicroTriangleNV;"
 7119|      0|            "const int  gl_ClusterIDNoneNV = -1;"
 7120|      0|            "\n";
 7121|       |
 7122|      0|        const char *constRayQueryIntersection =
 7123|      0|            "const uint gl_RayQueryCandidateIntersectionEXT = 0U;"
 7124|      0|            "const uint gl_RayQueryCommittedIntersectionEXT = 1U;"
 7125|      0|            "const uint gl_RayQueryCommittedIntersectionNoneEXT = 0U;"
 7126|      0|            "const uint gl_RayQueryCommittedIntersectionTriangleEXT = 1U;"
 7127|      0|            "const uint gl_RayQueryCommittedIntersectionGeneratedEXT = 2U;"
 7128|      0|            "const uint gl_RayQueryCandidateIntersectionTriangleEXT = 0U;"
 7129|      0|            "const uint gl_RayQueryCandidateIntersectionAABBEXT = 1U;"
 7130|      0|            "\n";
 7131|       |
 7132|      0|        const char *rayGenDecls =
 7133|      0|            "in    uvec3  gl_LaunchIDNV;"
 7134|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7135|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7136|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7137|      0|            "\n";
 7138|      0|        const char *intersectDecls =
 7139|      0|            "in    uvec3  gl_LaunchIDNV;"
 7140|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7141|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7142|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7143|      0|            "in     int   gl_PrimitiveID;"
 7144|      0|            "in     int   gl_InstanceID;"
 7145|      0|            "in     int   gl_InstanceCustomIndexNV;"
 7146|      0|            "in     int   gl_InstanceCustomIndexEXT;"
 7147|      0|            "in     int   gl_GeometryIndexEXT;"
 7148|      0|            "in    vec3   gl_WorldRayOriginNV;"
 7149|      0|            "in    vec3   gl_WorldRayOriginEXT;"
 7150|      0|            "in    vec3   gl_WorldRayDirectionNV;"
 7151|      0|            "in    vec3   gl_WorldRayDirectionEXT;"
 7152|      0|            "in    vec3   gl_ObjectRayOriginNV;"
 7153|      0|            "in    vec3   gl_ObjectRayOriginEXT;"
 7154|      0|            "in    vec3   gl_ObjectRayDirectionNV;"
 7155|      0|            "in    vec3   gl_ObjectRayDirectionEXT;"
 7156|      0|            "in    float  gl_RayTminNV;"
 7157|      0|            "in    float  gl_RayTminEXT;"
 7158|      0|            "in    float  gl_RayTmaxNV;"
 7159|      0|            "in volatile float gl_RayTmaxEXT;"
 7160|      0|            "in    mat4x3 gl_ObjectToWorldNV;"
 7161|      0|            "in    mat4x3 gl_ObjectToWorldEXT;"
 7162|      0|            "in    mat3x4 gl_ObjectToWorld3x4EXT;"
 7163|      0|            "in    mat4x3 gl_WorldToObjectNV;"
 7164|      0|            "in    mat4x3 gl_WorldToObjectEXT;"
 7165|      0|            "in    mat3x4 gl_WorldToObject3x4EXT;"
 7166|      0|            "in    uint   gl_IncomingRayFlagsNV;"
 7167|      0|            "in    uint   gl_IncomingRayFlagsEXT;"
 7168|      0|            "in    float  gl_CurrentRayTimeNV;"
 7169|      0|            "in    uint   gl_CullMaskEXT;"
 7170|      0|            "\n";
 7171|      0|        const char *hitDecls =
 7172|      0|            "in    uvec3  gl_LaunchIDNV;"
 7173|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7174|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7175|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7176|      0|            "in     int   gl_PrimitiveID;"
 7177|      0|            "in     int   gl_InstanceID;"
 7178|      0|            "in     int   gl_InstanceCustomIndexNV;"
 7179|      0|            "in     int   gl_InstanceCustomIndexEXT;"
 7180|      0|            "in     int   gl_GeometryIndexEXT;"
 7181|      0|            "in    vec3   gl_WorldRayOriginNV;"
 7182|      0|            "in    vec3   gl_WorldRayOriginEXT;"
 7183|      0|            "in    vec3   gl_WorldRayDirectionNV;"
 7184|      0|            "in    vec3   gl_WorldRayDirectionEXT;"
 7185|      0|            "in    vec3   gl_ObjectRayOriginNV;"
 7186|      0|            "in    vec3   gl_ObjectRayOriginEXT;"
 7187|      0|            "in    vec3   gl_ObjectRayDirectionNV;"
 7188|      0|            "in    vec3   gl_ObjectRayDirectionEXT;"
 7189|      0|            "in    float  gl_RayTminNV;"
 7190|      0|            "in    float  gl_RayTminEXT;"
 7191|      0|            "in    float  gl_RayTmaxNV;"
 7192|      0|            "in    float  gl_RayTmaxEXT;"
 7193|      0|            "in    float  gl_HitTNV;"
 7194|      0|            "in    float  gl_HitTEXT;"
 7195|      0|            "in    uint   gl_HitKindNV;"
 7196|      0|            "in    uint   gl_HitKindEXT;"
 7197|      0|            "in    mat4x3 gl_ObjectToWorldNV;"
 7198|      0|            "in    mat4x3 gl_ObjectToWorldEXT;"
 7199|      0|            "in    mat3x4 gl_ObjectToWorld3x4EXT;"
 7200|      0|            "in    mat4x3 gl_WorldToObjectNV;"
 7201|      0|            "in    mat4x3 gl_WorldToObjectEXT;"
 7202|      0|            "in    mat3x4 gl_WorldToObject3x4EXT;"
 7203|      0|            "in    uint   gl_IncomingRayFlagsNV;"
 7204|      0|            "in    uint   gl_IncomingRayFlagsEXT;"
 7205|      0|            "in    float  gl_CurrentRayTimeNV;"
 7206|      0|            "in    uint   gl_CullMaskEXT;"
 7207|      0|            "in    vec3   gl_HitTriangleVertexPositionsEXT[3];"
 7208|      0|            "in    vec3   gl_HitMicroTriangleVertexPositionsNV[3];"
 7209|      0|            "in    vec2   gl_HitMicroTriangleVertexBarycentricsNV[3];"
 7210|      0|            "in    int    gl_ClusterIDNV;"
 7211|      0|            "in    bool   gl_HitIsSphereNV;"
 7212|      0|            "in    bool   gl_HitIsLSSNV;"
 7213|      0|            "in    vec3   gl_HitSpherePositionNV;"
 7214|      0|            "in    float  gl_HitSphereRadiusNV;"
 7215|      0|            "in    vec3   gl_HitLSSPositionsNV[2];"
 7216|      0|            "in    float  gl_HitLSSRadiiNV[2];"
 7217|      0|            "\n";
 7218|       |
 7219|      0|        const char *missDecls =
 7220|      0|            "in    uvec3  gl_LaunchIDNV;"
 7221|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7222|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7223|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7224|      0|            "in    vec3   gl_WorldRayOriginNV;"
 7225|      0|            "in    vec3   gl_WorldRayOriginEXT;"
 7226|      0|            "in    vec3   gl_WorldRayDirectionNV;"
 7227|      0|            "in    vec3   gl_WorldRayDirectionEXT;"
 7228|      0|            "in    vec3   gl_ObjectRayOriginNV;"
 7229|      0|            "in    vec3   gl_ObjectRayDirectionNV;"
 7230|      0|            "in    float  gl_RayTminNV;"
 7231|      0|            "in    float  gl_RayTminEXT;"
 7232|      0|            "in    float  gl_RayTmaxNV;"
 7233|      0|            "in    float  gl_RayTmaxEXT;"
 7234|      0|            "in    uint   gl_IncomingRayFlagsNV;"
 7235|      0|            "in    uint   gl_IncomingRayFlagsEXT;"
 7236|      0|            "in    float  gl_CurrentRayTimeNV;"
 7237|      0|            "in    uint   gl_CullMaskEXT;"
 7238|      0|            "\n";
 7239|       |
 7240|      0|        const char *callableDecls =
 7241|      0|            "in    uvec3  gl_LaunchIDNV;"
 7242|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7243|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7244|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7245|      0|            "\n";
 7246|       |
 7247|       |
 7248|      0|        commonBuiltins.append(constRayQueryIntersection);
 7249|      0|        commonBuiltins.append(constRayFlags);
 7250|       |
 7251|      0|        stageBuiltins[EShLangRayGen].append(rayGenDecls);
 7252|      0|        stageBuiltins[EShLangIntersect].append(intersectDecls);
 7253|      0|        stageBuiltins[EShLangAnyHit].append(hitDecls);
 7254|      0|        stageBuiltins[EShLangClosestHit].append(hitDecls);
 7255|      0|        stageBuiltins[EShLangMiss].append(missDecls);
 7256|      0|        stageBuiltins[EShLangCallable].append(callableDecls);
 7257|       |
 7258|      0|    }
 7259|       |
 7260|    107|    if ((profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (7260:10): [True: 29, False: 78]
  |  Branch (7260:35): [True: 28, False: 1]
  ------------------
 7261|     28|        const char *deviceIndex =
 7262|     28|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 7263|     28|            "\n";
 7264|       |
 7265|     28|        stageBuiltins[EShLangRayGen].append(deviceIndex);
 7266|     28|        stageBuiltins[EShLangIntersect].append(deviceIndex);
 7267|     28|        stageBuiltins[EShLangAnyHit].append(deviceIndex);
 7268|     28|        stageBuiltins[EShLangClosestHit].append(deviceIndex);
 7269|     28|        stageBuiltins[EShLangMiss].append(deviceIndex);
 7270|     28|    }
 7271|       |
 7272|    107|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (7272:10): [True: 29, False: 78]
  |  Branch (7272:35): [True: 27, False: 2]
  ------------------
 7273|     80|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7273:10): [True: 78, False: 2]
  |  Branch (7273:35): [True: 0, False: 78]
  ------------------
 7274|     27|        commonBuiltins.append("const int gl_ScopeDevice      = 1;\n");
 7275|     27|        commonBuiltins.append("const int gl_ScopeWorkgroup   = 2;\n");
 7276|     27|        commonBuiltins.append("const int gl_ScopeSubgroup    = 3;\n");
 7277|     27|        commonBuiltins.append("const int gl_ScopeInvocation  = 4;\n");
 7278|     27|        commonBuiltins.append("const int gl_ScopeQueueFamily = 5;\n");
 7279|     27|        commonBuiltins.append("const int gl_ScopeShaderCallEXT = 6;\n");
 7280|       |
 7281|     27|        commonBuiltins.append("const int gl_SemanticsRelaxed         = 0x0;\n");
 7282|     27|        commonBuiltins.append("const int gl_SemanticsAcquire         = 0x2;\n");
 7283|     27|        commonBuiltins.append("const int gl_SemanticsRelease         = 0x4;\n");
 7284|     27|        commonBuiltins.append("const int gl_SemanticsAcquireRelease  = 0x8;\n");
 7285|     27|        commonBuiltins.append("const int gl_SemanticsMakeAvailable   = 0x2000;\n");
 7286|     27|        commonBuiltins.append("const int gl_SemanticsMakeVisible     = 0x4000;\n");
 7287|     27|        commonBuiltins.append("const int gl_SemanticsVolatile        = 0x8000;\n");
 7288|       |
 7289|     27|        commonBuiltins.append("const int gl_StorageSemanticsNone     = 0x0;\n");
 7290|     27|        commonBuiltins.append("const int gl_StorageSemanticsBuffer   = 0x40;\n");
 7291|     27|        commonBuiltins.append("const int gl_StorageSemanticsShared   = 0x100;\n");
 7292|     27|        commonBuiltins.append("const int gl_StorageSemanticsImage    = 0x800;\n");
 7293|     27|        commonBuiltins.append("const int gl_StorageSemanticsOutput   = 0x1000;\n");
 7294|     27|    }
 7295|       |
 7296|       |    // Adding these to common built-ins triggers an assert due to a memory corruption in related code when testing
 7297|       |    // So instead add to each stage individually, avoiding the GLSLang bug
 7298|    107|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7298:10): [True: 29, False: 78]
  |  Branch (7298:35): [True: 27, False: 2]
  |  Branch (7298:55): [True: 78, False: 2]
  |  Branch (7298:80): [True: 0, False: 78]
  ------------------
 7299|    405|        for (int stage=EShLangVertex; stage<EShLangCount; stage++)
  ------------------
  |  Branch (7299:39): [True: 378, False: 27]
  ------------------
 7300|    378|        {
 7301|    378|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag2VerticalPixelsEXT       = 1;\n");
 7302|    378|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag4VerticalPixelsEXT       = 2;\n");
 7303|    378|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag2HorizontalPixelsEXT     = 4;\n");
 7304|    378|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag4HorizontalPixelsEXT     = 8;\n");
 7305|    378|        }
 7306|     27|    }
 7307|       |    
 7308|       |    // GL_EXT_shader_image_int64
 7309|    107|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (7309:10): [True: 29, False: 78]
  |  Branch (7309:35): [True: 27, False: 2]
  ------------------
 7310|     80|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7310:10): [True: 78, False: 2]
  |  Branch (7310:35): [True: 0, False: 78]
  ------------------
 7311|       |            
 7312|     27|        const TBasicType bTypes[] = { EbtInt64, EbtUint64 };
 7313|     81|        for (int ms = 0; ms <= 1; ++ms) { // loop over "bool" multisample or not
  ------------------
  |  Branch (7313:26): [True: 54, False: 27]
  ------------------
 7314|    162|            for (int arrayed = 0; arrayed <= 1; ++arrayed) { // loop over "bool" arrayed or not
  ------------------
  |  Branch (7314:35): [True: 108, False: 54]
  ------------------
 7315|    756|                for (int dim = Esd1D; dim < EsdSubpass; ++dim) { // 1D, ..., buffer
  ------------------
  |  Branch (7315:39): [True: 648, False: 108]
  ------------------
 7316|    648|                    if ((dim == Esd1D || dim == EsdRect) && profile == EEsProfile)
  ------------------
  |  Branch (7316:26): [True: 108, False: 540]
  |  Branch (7316:42): [True: 108, False: 432]
  |  Branch (7316:61): [True: 0, False: 216]
  ------------------
 7317|      0|                        continue;
 7318|       |                    
 7319|    648|                    if ((dim == Esd3D || dim == EsdRect || dim == EsdBuffer) && arrayed)
  ------------------
  |  Branch (7319:26): [True: 108, False: 540]
  |  Branch (7319:42): [True: 108, False: 432]
  |  Branch (7319:60): [True: 108, False: 324]
  |  Branch (7319:81): [True: 162, False: 162]
  ------------------
 7320|    162|                        continue;
 7321|       |                    
 7322|    486|                    if (dim != Esd2D && ms)
  ------------------
  |  Branch (7322:25): [True: 378, False: 108]
  |  Branch (7322:41): [True: 189, False: 189]
  ------------------
 7323|    189|                        continue;
 7324|       |                    
 7325|       |                    // Loop over the bTypes
 7326|    891|                    for (size_t bType = 0; bType < sizeof(bTypes)/sizeof(TBasicType); ++bType) {
  ------------------
  |  Branch (7326:44): [True: 594, False: 297]
  ------------------
 7327|       |                        //
 7328|       |                        // Now, make all the function prototypes for the type we just built...
 7329|       |                        //
 7330|    594|                        TSampler sampler;
 7331|       |                    
 7332|    594|                        sampler.setImage(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false,
  ------------------
  |  Branch (7332:75): [True: 216, False: 378]
  ------------------
 7333|    594|                                                                          false,
 7334|    594|                                                                          ms      ? true : false);
  ------------------
  |  Branch (7334:75): [True: 108, False: 486]
  ------------------
 7335|       |
 7336|    594|                        TString typeName = TString{sampler.getString()};
 7337|       |
 7338|    594|                        addQueryFunctions(sampler, typeName, version, profile);
 7339|    594|                        addImageFunctions(sampler, typeName, version, profile);
 7340|    594|                    }
 7341|    297|                }
 7342|    108|            }
 7343|     54|        }
 7344|     27|    }
 7345|       |
 7346|       |    // printf("%s\n", commonBuiltins.c_str());
 7347|       |    // printf("%s\n", stageBuiltins[EShLangFragment].c_str());
 7348|    107|}
_ZN7glslang9TBuiltIns31add2ndGenerationSamplingImagingEi8EProfileRKNS_10SpvVersionE:
 7355|     29|{
 7356|       |    //
 7357|       |    // In this function proper, enumerate the types, then calls the next set of functions
 7358|       |    // to enumerate all the uses for that type.
 7359|       |    //
 7360|       |
 7361|       |    // enumerate all the types
 7362|     29|    const TBasicType bTypes[] = { EbtFloat, EbtInt, EbtUint,
 7363|     29|         EbtFloat16
 7364|     29|    };
 7365|     29|    bool skipBuffer = (profile == EEsProfile && version < 310) || (profile != EEsProfile && version < 140);
  ------------------
  |  Branch (7365:24): [True: 1, False: 28]
  |  Branch (7365:49): [True: 1, False: 0]
  |  Branch (7365:68): [True: 28, False: 0]
  |  Branch (7365:93): [True: 0, False: 28]
  ------------------
 7366|     29|    bool skipCubeArrayed = (profile == EEsProfile && version < 310) || (profile != EEsProfile && version < 130);
  ------------------
  |  Branch (7366:29): [True: 1, False: 28]
  |  Branch (7366:54): [True: 1, False: 0]
  |  Branch (7366:73): [True: 28, False: 0]
  |  Branch (7366:98): [True: 0, False: 28]
  ------------------
 7367|     87|    for (int image = 0; image <= 1; ++image) // loop over "bool" image vs sampler
  ------------------
  |  Branch (7367:25): [True: 58, False: 29]
  ------------------
 7368|     58|    {
 7369|    174|        for (int shadow = 0; shadow <= 1; ++shadow) { // loop over "bool" shadow or not
  ------------------
  |  Branch (7369:30): [True: 116, False: 58]
  ------------------
 7370|    348|            for (int ms = 0; ms <= 1; ++ms) // loop over "bool" multisample or not
  ------------------
  |  Branch (7370:30): [True: 232, False: 116]
  ------------------
 7371|    232|            {
 7372|    232|                if ((ms || image) && shadow)
  ------------------
  |  Branch (7372:22): [True: 116, False: 116]
  |  Branch (7372:28): [True: 58, False: 58]
  |  Branch (7372:38): [True: 87, False: 87]
  ------------------
 7373|     87|                    continue;
 7374|    145|                if (ms && profile != EEsProfile && version < 140)
  ------------------
  |  Branch (7374:21): [True: 58, False: 87]
  |  Branch (7374:27): [True: 56, False: 2]
  |  Branch (7374:52): [True: 0, False: 56]
  ------------------
 7375|      0|                    continue;
 7376|    145|                if (ms && image && profile == EEsProfile)
  ------------------
  |  Branch (7376:21): [True: 58, False: 87]
  |  Branch (7376:27): [True: 29, False: 29]
  |  Branch (7376:36): [True: 1, False: 28]
  ------------------
 7377|      1|                    continue;
 7378|    144|                if (ms && profile == EEsProfile && version < 310)
  ------------------
  |  Branch (7378:21): [True: 57, False: 87]
  |  Branch (7378:27): [True: 1, False: 56]
  |  Branch (7378:52): [True: 1, False: 0]
  ------------------
 7379|      1|                    continue;
 7380|       |
 7381|    429|                for (int arrayed = 0; arrayed <= 1; ++arrayed) { // loop over "bool" arrayed or not
  ------------------
  |  Branch (7381:39): [True: 286, False: 143]
  ------------------
 7382|  2.57k|                    for (int dim = Esd1D; dim < EsdNumDims; ++dim) { // 1D, ..., buffer, subpass
  ------------------
  |  Branch (7382:43): [True: 2.28k, False: 286]
  ------------------
 7383|  2.28k|                        if (dim == EsdAttachmentEXT)
  ------------------
  |  Branch (7383:29): [True: 286, False: 2.00k]
  ------------------
 7384|    286|                            continue;
 7385|  2.00k|                        if (dim == EsdSubpass && spvVersion.vulkan == 0)
  ------------------
  |  Branch (7385:29): [True: 286, False: 1.71k]
  |  Branch (7385:50): [True: 120, False: 166]
  ------------------
 7386|    120|                            continue;
 7387|  1.88k|                        if (dim == EsdSubpass && (image || shadow || arrayed))
  ------------------
  |  Branch (7387:29): [True: 166, False: 1.71k]
  |  Branch (7387:51): [True: 66, False: 100]
  |  Branch (7387:60): [True: 34, False: 66]
  |  Branch (7387:70): [True: 33, False: 33]
  ------------------
 7388|    133|                            continue;
 7389|  1.74k|                        if ((dim == Esd1D || dim == EsdRect) && profile == EEsProfile)
  ------------------
  |  Branch (7389:30): [True: 286, False: 1.46k]
  |  Branch (7389:46): [True: 286, False: 1.17k]
  |  Branch (7389:65): [True: 12, False: 560]
  ------------------
 7390|     12|                            continue;
 7391|  1.73k|                        if (dim == EsdSubpass && spvVersion.vulkan == 0)
  ------------------
  |  Branch (7391:29): [True: 33, False: 1.70k]
  |  Branch (7391:50): [True: 0, False: 33]
  ------------------
 7392|      0|                            continue;
 7393|  1.73k|                        if (dim == EsdSubpass && (image || shadow || arrayed))
  ------------------
  |  Branch (7393:29): [True: 33, False: 1.70k]
  |  Branch (7393:51): [True: 0, False: 33]
  |  Branch (7393:60): [True: 0, False: 33]
  |  Branch (7393:70): [True: 0, False: 33]
  ------------------
 7394|      0|                            continue;
 7395|  1.73k|                        if ((dim == Esd1D || dim == EsdRect) && profile == EEsProfile)
  ------------------
  |  Branch (7395:30): [True: 280, False: 1.45k]
  |  Branch (7395:46): [True: 280, False: 1.17k]
  |  Branch (7395:65): [True: 0, False: 560]
  ------------------
 7396|      0|                            continue;
 7397|  1.73k|                        if (dim != Esd2D && dim != EsdSubpass && ms)
  ------------------
  |  Branch (7397:29): [True: 1.45k, False: 286]
  |  Branch (7397:45): [True: 1.41k, False: 33]
  |  Branch (7397:66): [True: 560, False: 858]
  ------------------
 7398|    560|                            continue;
 7399|  1.17k|                        if (dim == EsdBuffer && skipBuffer)
  ------------------
  |  Branch (7399:29): [True: 174, False: 1.00k]
  |  Branch (7399:49): [True: 6, False: 168]
  ------------------
 7400|      6|                            continue;
 7401|  1.17k|                        if (dim == EsdBuffer && (shadow || arrayed || ms))
  ------------------
  |  Branch (7401:29): [True: 168, False: 1.00k]
  |  Branch (7401:50): [True: 56, False: 112]
  |  Branch (7401:60): [True: 56, False: 56]
  |  Branch (7401:71): [True: 0, False: 56]
  ------------------
 7402|    112|                            continue;
 7403|  1.05k|                        if (ms && arrayed && profile == EEsProfile && version < 310)
  ------------------
  |  Branch (7403:29): [True: 128, False: 931]
  |  Branch (7403:35): [True: 56, False: 72]
  |  Branch (7403:46): [True: 0, False: 56]
  |  Branch (7403:71): [True: 0, False: 0]
  ------------------
 7404|      0|                            continue;
 7405|  1.05k|                        if (dim == Esd3D && shadow)
  ------------------
  |  Branch (7405:29): [True: 174, False: 885]
  |  Branch (7405:45): [True: 58, False: 116]
  ------------------
 7406|     58|                            continue;
 7407|  1.00k|                        if (dim == EsdCube && arrayed && skipCubeArrayed)
  ------------------
  |  Branch (7407:29): [True: 174, False: 827]
  |  Branch (7407:47): [True: 87, False: 87]
  |  Branch (7407:58): [True: 3, False: 84]
  ------------------
 7408|      3|                            continue;
 7409|    998|                        if ((dim == Esd3D || dim == EsdRect) && arrayed)
  ------------------
  |  Branch (7409:30): [True: 116, False: 882]
  |  Branch (7409:46): [True: 168, False: 714]
  |  Branch (7409:65): [True: 142, False: 142]
  ------------------
 7410|    142|                            continue;
 7411|       |
 7412|       |                        // Loop over the bTypes
 7413|  4.28k|                        for (size_t bType = 0; bType < sizeof(bTypes)/sizeof(TBasicType); ++bType) {
  ------------------
  |  Branch (7413:48): [True: 3.42k, False: 856]
  ------------------
 7414|  3.42k|                            if (bTypes[bType] == EbtFloat16 && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (7414:33): [True: 856, False: 2.56k]
  |  Branch (7414:65): [True: 12, False: 844]
  |  Branch (7414:90): [True: 31, False: 813]
  ------------------
 7415|     43|                                continue;
 7416|  3.38k|                            if (dim == EsdRect && version < 140 && bType > 0)
  ------------------
  |  Branch (7416:33): [True: 333, False: 3.04k]
  |  Branch (7416:51): [True: 0, False: 333]
  |  Branch (7416:68): [True: 0, False: 0]
  ------------------
 7417|      0|                                continue;
 7418|  3.38k|                            if (shadow && (bTypes[bType] == EbtInt || bTypes[bType] == EbtUint))
  ------------------
  |  Branch (7418:33): [True: 786, False: 2.59k]
  |  Branch (7418:44): [True: 199, False: 587]
  |  Branch (7418:71): [True: 199, False: 388]
  ------------------
 7419|    398|                                continue;
 7420|       |                            //
 7421|       |                            // Now, make all the function prototypes for the type we just built...
 7422|       |                            //
 7423|  2.98k|                            TSampler sampler;
 7424|  2.98k|                            if (dim == EsdSubpass) {
  ------------------
  |  Branch (7424:33): [True: 129, False: 2.85k]
  ------------------
 7425|    129|                                sampler.setSubpass(bTypes[bType], ms ? true : false);
  ------------------
  |  Branch (7425:67): [True: 63, False: 66]
  ------------------
 7426|  2.85k|                            } else if (dim == EsdAttachmentEXT) {
  ------------------
  |  Branch (7426:40): [True: 0, False: 2.85k]
  ------------------
 7427|      0|                                sampler.setAttachmentEXT(bTypes[bType]);
 7428|      0|                            } else
 7429|  2.85k|                            if (image) {
  ------------------
  |  Branch (7429:33): [True: 1.23k, False: 1.62k]
  ------------------
 7430|  1.23k|                                sampler.setImage(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false,
  ------------------
  |  Branch (7430:83): [True: 447, False: 786]
  ------------------
 7431|  1.23k|                                                                                  shadow  ? true : false,
  ------------------
  |  Branch (7431:83): [True: 0, False: 1.23k]
  ------------------
 7432|  1.23k|                                                                                  ms      ? true : false);
  ------------------
  |  Branch (7432:83): [True: 222, False: 1.01k]
  ------------------
 7433|  1.62k|                            } else {
 7434|  1.62k|                                sampler.set(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false,
  ------------------
  |  Branch (7434:78): [True: 613, False: 1.00k]
  ------------------
 7435|  1.62k|                                                                             shadow  ? true : false,
  ------------------
  |  Branch (7435:78): [True: 388, False: 1.23k]
  ------------------
 7436|  1.62k|                                                                             ms      ? true : false);
  ------------------
  |  Branch (7436:78): [True: 222, False: 1.39k]
  ------------------
 7437|  1.62k|                            }
 7438|       |
 7439|  2.98k|                            TString typeName = TString{sampler.getString()};
 7440|       |
 7441|  2.98k|                            if (dim == EsdSubpass) {
  ------------------
  |  Branch (7441:33): [True: 129, False: 2.85k]
  ------------------
 7442|    129|                                addSubpassSampling(sampler, typeName, version, profile);
 7443|    129|                                continue;
 7444|    129|                            }
 7445|       |
 7446|  2.85k|                            addQueryFunctions(sampler, typeName, version, profile);
 7447|       |
 7448|  2.85k|                            if (image)
  ------------------
  |  Branch (7448:33): [True: 1.23k, False: 1.62k]
  ------------------
 7449|  1.23k|                                addImageFunctions(sampler, typeName, version, profile);
 7450|  1.62k|                            else {
 7451|  1.62k|                                addSamplingFunctions(sampler, typeName, version, profile);
 7452|  1.62k|                                addGatherFunctions(sampler, typeName, version, profile);
 7453|  1.62k|                                if (spvVersion.vulkan > 0 && sampler.isCombined() && !sampler.shadow) {
  ------------------
  |  Branch (7453:37): [True: 925, False: 696]
  |  Branch (7453:62): [True: 925, False: 0]
  |  Branch (7453:86): [True: 705, False: 220]
  ------------------
 7454|       |                                    // Base Vulkan allows texelFetch() for
 7455|       |                                    // textureBuffer (i.e. without sampler).
 7456|       |                                    //
 7457|       |                                    // GL_EXT_samplerless_texture_functions
 7458|       |                                    // allows texelFetch() and query functions
 7459|       |                                    // (other than textureQueryLod()) for all
 7460|       |                                    // texture types.
 7461|    705|                                    sampler.setTexture(sampler.type, sampler.dim, sampler.arrayed, sampler.shadow,
 7462|    705|                                                       sampler.ms);
 7463|    705|                                    TString textureTypeName = TString{sampler.getString()};
 7464|    705|                                    addSamplingFunctions(sampler, textureTypeName, version, profile);
 7465|    705|                                    addQueryFunctions(sampler, textureTypeName, version, profile);
 7466|    705|                                }
 7467|  1.62k|                            }
 7468|  2.85k|                        }
 7469|    856|                    }
 7470|    286|                }
 7471|    143|            }
 7472|    116|        }
 7473|     58|    }
 7474|       |
 7475|       |    //
 7476|       |    // sparseTexelsResidentARB()
 7477|       |    //
 7478|     29|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7478:9): [True: 28, False: 1]
  |  Branch (7478:34): [True: 27, False: 1]
  ------------------
 7479|     27|        commonBuiltins.append("bool sparseTexelsResidentARB(int code);\n");
 7480|     27|    }
 7481|     29|}
_ZN7glslang9TBuiltIns17addQueryFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7490|  4.15k|{
 7491|       |    //
 7492|       |    // textureSize() and imageSize()
 7493|       |    //
 7494|       |
 7495|  4.15k|    int sizeDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0) - (sampler.dim == EsdCube ? 1 : 0);
  ------------------
  |  Branch (7495:43): [True: 1.53k, False: 2.62k]
  |  Branch (7495:71): [True: 798, False: 3.35k]
  ------------------
 7496|       |
 7497|  4.15k|    if (sampler.isImage() && ((profile == EEsProfile && version < 310) || (profile != EEsProfile && version < 420)))
  ------------------
  |  Branch (7497:9): [True: 1.82k, False: 2.32k]
  |  Branch (7497:32): [True: 12, False: 1.81k]
  |  Branch (7497:57): [True: 12, False: 0]
  |  Branch (7497:76): [True: 1.81k, False: 0]
  |  Branch (7497:101): [True: 33, False: 1.78k]
  ------------------
 7498|     45|        return;
 7499|       |
 7500|  4.10k|    if (profile == EEsProfile)
  ------------------
  |  Branch (7500:9): [True: 27, False: 4.08k]
  ------------------
 7501|     27|        commonBuiltins.append("highp ");
 7502|  4.10k|    if (sizeDims == 1)
  ------------------
  |  Branch (7502:9): [True: 727, False: 3.38k]
  ------------------
 7503|    727|        commonBuiltins.append("int");
 7504|  3.38k|    else {
 7505|  3.38k|        commonBuiltins.append("ivec");
 7506|  3.38k|        commonBuiltins.append(postfixes[sizeDims]);
 7507|  3.38k|    }
 7508|  4.10k|    if (sampler.isImage())
  ------------------
  |  Branch (7508:9): [True: 1.78k, False: 2.32k]
  ------------------
 7509|  1.78k|        commonBuiltins.append(" imageSize(readonly writeonly volatile coherent nontemporal ");
 7510|  2.32k|    else
 7511|  2.32k|        commonBuiltins.append(" textureSize(");
 7512|  4.10k|    commonBuiltins.append(typeName);
 7513|  4.10k|    if (! sampler.isImage() && ! sampler.isRect() && ! sampler.isBuffer() && ! sampler.isMultiSample())
  ------------------
  |  Branch (7513:9): [True: 2.32k, False: 1.78k]
  |  Branch (7513:32): [True: 2.09k, False: 229]
  |  Branch (7513:54): [True: 1.92k, False: 174]
  |  Branch (7513:78): [True: 1.57k, False: 348]
  ------------------
 7514|  1.57k|        commonBuiltins.append(",int);\n");
 7515|  2.53k|    else
 7516|  2.53k|        commonBuiltins.append(");\n");
 7517|       |
 7518|       |    //
 7519|       |    // textureSamples() and imageSamples()
 7520|       |    //
 7521|       |
 7522|       |    // GL_ARB_shader_texture_image_samples
 7523|       |    // TODO: spec issue? there are no memory qualifiers; how to query a writeonly/readonly image, etc?
 7524|  4.10k|    if (profile != EEsProfile && version >= 430 && sampler.isMultiSample()) {
  ------------------
  |  Branch (7524:9): [True: 4.08k, False: 27]
  |  Branch (7524:34): [True: 4.00k, False: 73]
  |  Branch (7524:52): [True: 660, False: 3.34k]
  ------------------
 7525|    660|        commonBuiltins.append("int ");
 7526|    660|        if (sampler.isImage())
  ------------------
  |  Branch (7526:13): [True: 324, False: 336]
  ------------------
 7527|    324|            commonBuiltins.append("imageSamples(readonly writeonly volatile coherent nontemporal ");
 7528|    336|        else
 7529|    336|            commonBuiltins.append("textureSamples(");
 7530|    660|        commonBuiltins.append(typeName);
 7531|    660|        commonBuiltins.append(");\n");
 7532|    660|    }
 7533|       |
 7534|       |    //
 7535|       |    // textureQueryLod()
 7536|       |    // Also enabled with extension GL_ARB_texture_query_lod
 7537|       |    // Extension GL_ARB_texture_query_lod says that textureQueryLOD() also exist at extension.
 7538|       |
 7539|  4.10k|    if (profile != EEsProfile && version >= 150 && sampler.isCombined() && sampler.dim != EsdRect &&
  ------------------
  |  Branch (7539:9): [True: 4.08k, False: 27]
  |  Branch (7539:34): [True: 4.08k, False: 0]
  |  Branch (7539:52): [True: 1.60k, False: 2.47k]
  |  Branch (7539:76): [True: 1.44k, False: 166]
  ------------------
 7540|  1.44k|        ! sampler.isMultiSample() && ! sampler.isBuffer()) {
  ------------------
  |  Branch (7540:9): [True: 1.21k, False: 222]
  |  Branch (7540:38): [True: 1.10k, False: 111]
  ------------------
 7541|       |
 7542|  1.10k|        const TString funcName[2] = {"vec2 textureQueryLod(", "vec2 textureQueryLOD("};
 7543|       |
 7544|  3.32k|        for (int i = 0; i < 2; ++i){
  ------------------
  |  Branch (7544:25): [True: 2.21k, False: 1.10k]
  ------------------
 7545|  6.64k|            for (int f16TexAddr = 0; f16TexAddr < 2; ++f16TexAddr) {
  ------------------
  |  Branch (7545:38): [True: 4.42k, False: 2.21k]
  ------------------
 7546|  4.42k|                if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (7546:21): [True: 2.21k, False: 2.21k]
  |  Branch (7546:35): [True: 1.51k, False: 702]
  ------------------
 7547|  1.51k|                    continue;
 7548|  2.91k|                stageBuiltins[EShLangFragment].append(funcName[i]);
 7549|  2.91k|                stageBuiltins[EShLangFragment].append(typeName);
 7550|  2.91k|                if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7550:21): [True: 880, False: 2.03k]
  ------------------
 7551|    880|                    if (f16TexAddr)
  ------------------
  |  Branch (7551:25): [True: 216, False: 664]
  ------------------
 7552|    216|                        stageBuiltins[EShLangFragment].append(", float16_t");
 7553|    664|                    else
 7554|    664|                        stageBuiltins[EShLangFragment].append(", float");
 7555|  2.03k|                else {
 7556|  2.03k|                    if (f16TexAddr)
  ------------------
  |  Branch (7556:25): [True: 486, False: 1.55k]
  ------------------
 7557|    486|                        stageBuiltins[EShLangFragment].append(", f16vec");
 7558|  1.55k|                    else
 7559|  1.55k|                        stageBuiltins[EShLangFragment].append(", vec");
 7560|  2.03k|                    stageBuiltins[EShLangFragment].append(postfixes[dimMap[sampler.dim]]);
 7561|  2.03k|                }
 7562|  2.91k|                stageBuiltins[EShLangFragment].append(");\n");
 7563|  2.91k|            }
 7564|       |
 7565|  2.21k|            stageBuiltins[EShLangCompute].append(funcName[i]);
 7566|  2.21k|            stageBuiltins[EShLangCompute].append(typeName);
 7567|  2.21k|            if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7567:17): [True: 664, False: 1.55k]
  ------------------
 7568|    664|                stageBuiltins[EShLangCompute].append(", float");
 7569|  1.55k|            else {
 7570|  1.55k|                stageBuiltins[EShLangCompute].append(", vec");
 7571|  1.55k|                stageBuiltins[EShLangCompute].append(postfixes[dimMap[sampler.dim]]);
 7572|  1.55k|            }
 7573|  2.21k|            stageBuiltins[EShLangCompute].append(");\n");
 7574|       |
 7575|  2.21k|            stageBuiltins[EShLangTask].append(funcName[i]);
 7576|  2.21k|            stageBuiltins[EShLangTask].append(typeName);
 7577|  2.21k|            if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7577:17): [True: 664, False: 1.55k]
  ------------------
 7578|    664|                stageBuiltins[EShLangTask].append(", float");
 7579|  1.55k|            else {
 7580|  1.55k|                stageBuiltins[EShLangTask].append(", vec");
 7581|  1.55k|                stageBuiltins[EShLangTask].append(postfixes[dimMap[sampler.dim]]);
 7582|  1.55k|            }
 7583|  2.21k|            stageBuiltins[EShLangTask].append(");\n");
 7584|       |
 7585|  2.21k|            stageBuiltins[EShLangMesh].append(funcName[i]);
 7586|  2.21k|            stageBuiltins[EShLangMesh].append(typeName);
 7587|  2.21k|            if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7587:17): [True: 664, False: 1.55k]
  ------------------
 7588|    664|                stageBuiltins[EShLangMesh].append(", float");
 7589|  1.55k|            else {
 7590|  1.55k|                stageBuiltins[EShLangMesh].append(", vec");
 7591|  1.55k|                stageBuiltins[EShLangMesh].append(postfixes[dimMap[sampler.dim]]);
 7592|  1.55k|            }
 7593|  2.21k|            stageBuiltins[EShLangMesh].append(");\n");
 7594|  2.21k|        }
 7595|  1.10k|    }
 7596|       |
 7597|       |    //
 7598|       |    // textureQueryLevels()
 7599|       |    //
 7600|       |
 7601|  4.10k|    if (profile != EEsProfile && version >= 430 && ! sampler.isImage() && sampler.dim != EsdRect &&
  ------------------
  |  Branch (7601:9): [True: 4.08k, False: 27]
  |  Branch (7601:34): [True: 4.00k, False: 73]
  |  Branch (7601:52): [True: 2.22k, False: 1.78k]
  |  Branch (7601:75): [True: 2.00k, False: 222]
  ------------------
 7602|  2.00k|        ! sampler.isMultiSample() && ! sampler.isBuffer()) {
  ------------------
  |  Branch (7602:9): [True: 1.66k, False: 336]
  |  Branch (7602:38): [True: 1.50k, False: 168]
  ------------------
 7603|  1.50k|        commonBuiltins.append("int textureQueryLevels(");
 7604|  1.50k|        commonBuiltins.append(typeName);
 7605|  1.50k|        commonBuiltins.append(");\n");
 7606|  1.50k|    }
 7607|  4.10k|}
_ZN7glslang9TBuiltIns17addImageFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7616|  1.82k|{
 7617|  1.82k|    int dims = dimMap[sampler.dim];
 7618|       |    // most things with an array add a dimension, except for cubemaps
 7619|  1.82k|    if (sampler.arrayed && sampler.dim != EsdCube)
  ------------------
  |  Branch (7619:9): [True: 663, False: 1.16k]
  |  Branch (7619:28): [True: 498, False: 165]
  ------------------
 7620|    498|        ++dims;
 7621|       |
 7622|  1.82k|    TString imageParams = typeName;
 7623|  1.82k|    if (dims == 1)
  ------------------
  |  Branch (7623:9): [True: 330, False: 1.49k]
  ------------------
 7624|    330|        imageParams.append(", int");
 7625|  1.49k|    else {
 7626|  1.49k|        imageParams.append(", ivec");
 7627|  1.49k|        imageParams.append(postfixes[dims]);
 7628|  1.49k|    }
 7629|  1.82k|    if (sampler.isMultiSample())
  ------------------
  |  Branch (7629:9): [True: 330, False: 1.49k]
  ------------------
 7630|    330|        imageParams.append(", int");
 7631|       |
 7632|  1.82k|    if (profile == EEsProfile)
  ------------------
  |  Branch (7632:9): [True: 12, False: 1.81k]
  ------------------
 7633|     12|        commonBuiltins.append("highp ");
 7634|  1.82k|    commonBuiltins.append(prefixes[sampler.type]);
 7635|  1.82k|    commonBuiltins.append("vec4 imageLoad(readonly volatile coherent nontemporal ");
 7636|  1.82k|    commonBuiltins.append(imageParams);
 7637|  1.82k|    commonBuiltins.append(");\n");
 7638|       |
 7639|  1.82k|    commonBuiltins.append("void imageStore(writeonly volatile coherent nontemporal ");
 7640|  1.82k|    commonBuiltins.append(imageParams);
 7641|  1.82k|    commonBuiltins.append(", ");
 7642|  1.82k|    commonBuiltins.append(prefixes[sampler.type]);
 7643|  1.82k|    commonBuiltins.append("vec4);\n");
 7644|       |
 7645|  1.82k|    if (! sampler.is1D() && ! sampler.isBuffer() && profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7645:9): [True: 1.49k, False: 330]
  |  Branch (7645:29): [True: 1.33k, False: 165]
  |  Branch (7645:53): [True: 1.32k, False: 12]
  |  Branch (7645:78): [True: 1.29k, False: 24]
  ------------------
 7646|  1.29k|        commonBuiltins.append("int sparseImageLoadARB(readonly volatile coherent nontemporal ");
 7647|  1.29k|        commonBuiltins.append(imageParams);
 7648|  1.29k|        commonBuiltins.append(", out ");
 7649|  1.29k|        commonBuiltins.append(prefixes[sampler.type]);
 7650|  1.29k|        commonBuiltins.append("vec4");
 7651|  1.29k|        commonBuiltins.append(");\n");
 7652|  1.29k|    }
 7653|       |
 7654|  1.82k|    if ( profile != EEsProfile ||
  ------------------
  |  Branch (7654:10): [True: 1.81k, False: 12]
  ------------------
 7655|  1.81k|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7655:10): [True: 12, False: 0]
  |  Branch (7655:35): [True: 0, False: 12]
  ------------------
 7656|  1.81k|        if (sampler.type == EbtInt || sampler.type == EbtUint || sampler.type == EbtInt64 || sampler.type == EbtUint64 ) {
  ------------------
  |  Branch (7656:13): [True: 308, False: 1.50k]
  |  Branch (7656:39): [True: 308, False: 1.19k]
  |  Branch (7656:66): [True: 297, False: 902]
  |  Branch (7656:94): [True: 297, False: 605]
  ------------------
 7657|       |            
 7658|  1.21k|            const char* dataType;
 7659|  1.21k|            switch (sampler.type) {
 7660|    308|                case(EbtInt): dataType = "highp int"; break;
  ------------------
  |  Branch (7660:17): [True: 308, False: 902]
  ------------------
 7661|    308|                case(EbtUint): dataType = "highp uint"; break;
  ------------------
  |  Branch (7661:17): [True: 308, False: 902]
  ------------------
 7662|    297|                case(EbtInt64): dataType = "highp int64_t"; break;
  ------------------
  |  Branch (7662:17): [True: 297, False: 913]
  ------------------
 7663|    297|                case(EbtUint64): dataType = "highp uint64_t"; break;
  ------------------
  |  Branch (7663:17): [True: 297, False: 913]
  ------------------
 7664|      0|                default: dataType = "";
  ------------------
  |  Branch (7664:17): [True: 0, False: 1.21k]
  ------------------
 7665|  1.21k|            }
 7666|       |
 7667|  1.21k|            const int numBuiltins = 7;
 7668|       |
 7669|  1.21k|            static const char* atomicFunc[numBuiltins] = {
 7670|  1.21k|                " imageAtomicAdd(volatile coherent nontemporal ",
 7671|  1.21k|                " imageAtomicMin(volatile coherent nontemporal ",
 7672|  1.21k|                " imageAtomicMax(volatile coherent nontemporal ",
 7673|  1.21k|                " imageAtomicAnd(volatile coherent nontemporal ",
 7674|  1.21k|                " imageAtomicOr(volatile coherent nontemporal ",
 7675|  1.21k|                " imageAtomicXor(volatile coherent nontemporal ",
 7676|  1.21k|                " imageAtomicExchange(volatile coherent nontemporal "
 7677|  1.21k|            };
 7678|       |
 7679|       |            // Loop twice to add prototypes with/without scope/semantics
 7680|  3.63k|            for (int j = 0; j < 2; ++j) {
  ------------------
  |  Branch (7680:29): [True: 2.42k, False: 1.21k]
  ------------------
 7681|  19.3k|                for (size_t i = 0; i < numBuiltins; ++i) {
  ------------------
  |  Branch (7681:36): [True: 16.9k, False: 2.42k]
  ------------------
 7682|  16.9k|                    commonBuiltins.append(dataType);
 7683|  16.9k|                    commonBuiltins.append(atomicFunc[i]);
 7684|  16.9k|                    commonBuiltins.append(imageParams);
 7685|  16.9k|                    commonBuiltins.append(", ");
 7686|  16.9k|                    commonBuiltins.append(dataType);
 7687|  16.9k|                    if (j == 1) {
  ------------------
  |  Branch (7687:25): [True: 8.47k, False: 8.47k]
  ------------------
 7688|  8.47k|                        commonBuiltins.append(", int, int, int");
 7689|  8.47k|                    }
 7690|  16.9k|                    commonBuiltins.append(");\n");
 7691|  16.9k|                }
 7692|       |
 7693|  2.42k|                commonBuiltins.append(dataType);
 7694|  2.42k|                commonBuiltins.append(" imageAtomicCompSwap(volatile coherent nontemporal ");
 7695|  2.42k|                commonBuiltins.append(imageParams);
 7696|  2.42k|                commonBuiltins.append(", ");
 7697|  2.42k|                commonBuiltins.append(dataType);
 7698|  2.42k|                commonBuiltins.append(", ");
 7699|  2.42k|                commonBuiltins.append(dataType);
 7700|  2.42k|                if (j == 1) {
  ------------------
  |  Branch (7700:21): [True: 1.21k, False: 1.21k]
  ------------------
 7701|  1.21k|                    commonBuiltins.append(", int, int, int, int, int");
 7702|  1.21k|                }
 7703|  2.42k|                commonBuiltins.append(");\n");
 7704|  2.42k|            }
 7705|       |
 7706|  1.21k|            commonBuiltins.append(dataType);
 7707|  1.21k|            commonBuiltins.append(" imageAtomicLoad(volatile coherent nontemporal ");
 7708|  1.21k|            commonBuiltins.append(imageParams);
 7709|  1.21k|            commonBuiltins.append(", int, int, int);\n");
 7710|       |
 7711|  1.21k|            commonBuiltins.append("void imageAtomicStore(volatile coherent nontemporal ");
 7712|  1.21k|            commonBuiltins.append(imageParams);
 7713|  1.21k|            commonBuiltins.append(", ");
 7714|  1.21k|            commonBuiltins.append(dataType);
 7715|  1.21k|            commonBuiltins.append(", int, int, int);\n");
 7716|       |
 7717|  1.21k|        } else {
 7718|       |            // not int or uint
 7719|       |            // GL_ARB_ES3_1_compatibility
 7720|       |            // TODO: spec issue: are there restrictions on the kind of layout() that can be used?  what about dropping memory qualifiers?
 7721|    605|            if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (7721:17): [True: 0, False: 605]
  |  Branch (7721:42): [True: 0, False: 0]
  ------------------
 7722|      0|                commonBuiltins.append("float imageAtomicExchange(volatile coherent nontemporal ");
 7723|      0|                commonBuiltins.append(imageParams);
 7724|      0|                commonBuiltins.append(", float);\n");
 7725|      0|            }
 7726|       |
 7727|       |            // GL_NV_shader_atomic_fp16_vector
 7728|    605|            if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (7728:17): [True: 605, False: 0]
  |  Branch (7728:42): [True: 594, False: 11]
  ------------------
 7729|    594|                const int numFp16Builtins = 4;
 7730|    594|                const char* atomicFp16Func[numFp16Builtins] = {
 7731|    594|                    " imageAtomicAdd(volatile coherent nontemporal ",
 7732|    594|                    " imageAtomicMin(volatile coherent nontemporal ",
 7733|    594|                    " imageAtomicMax(volatile coherent nontemporal ",
 7734|    594|                    " imageAtomicExchange(volatile coherent nontemporal "
 7735|    594|                };
 7736|    594|                const int numFp16DataTypes = 2;
 7737|    594|                const char* atomicFp16DataTypes[numFp16DataTypes] = {
 7738|    594|                    "f16vec2",
 7739|    594|                    "f16vec4"
 7740|    594|                };
 7741|       |                // Loop twice to add prototypes with/without scope/semantics
 7742|  1.78k|                for (int j = 0; j < numFp16DataTypes; ++j) {
  ------------------
  |  Branch (7742:33): [True: 1.18k, False: 594]
  ------------------
 7743|  5.94k|                    for (int i = 0; i < numFp16Builtins; ++i) {
  ------------------
  |  Branch (7743:37): [True: 4.75k, False: 1.18k]
  ------------------
 7744|  4.75k|                        commonBuiltins.append(atomicFp16DataTypes[j]);
 7745|  4.75k|                        commonBuiltins.append(atomicFp16Func[i]);
 7746|  4.75k|                        commonBuiltins.append(imageParams);
 7747|  4.75k|                        commonBuiltins.append(", ");
 7748|  4.75k|                        commonBuiltins.append(atomicFp16DataTypes[j]);
 7749|  4.75k|                        commonBuiltins.append(");\n");
 7750|  4.75k|                    }
 7751|  1.18k|                }
 7752|    594|            }
 7753|       |
 7754|    605|            if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7754:17): [True: 605, False: 0]
  |  Branch (7754:42): [True: 594, False: 11]
  ------------------
 7755|    594|                commonBuiltins.append("float imageAtomicAdd(volatile coherent nontemporal ");
 7756|    594|                commonBuiltins.append(imageParams);
 7757|    594|                commonBuiltins.append(", float);\n");
 7758|       |
 7759|    594|                commonBuiltins.append("float imageAtomicAdd(volatile coherent nontemporal ");
 7760|    594|                commonBuiltins.append(imageParams);
 7761|    594|                commonBuiltins.append(", float");
 7762|    594|                commonBuiltins.append(", int, int, int);\n");
 7763|       |
 7764|    594|                commonBuiltins.append("float imageAtomicExchange(volatile coherent nontemporal ");
 7765|    594|                commonBuiltins.append(imageParams);
 7766|    594|                commonBuiltins.append(", float);\n");
 7767|       |
 7768|    594|                commonBuiltins.append("float imageAtomicExchange(volatile coherent nontemporal ");
 7769|    594|                commonBuiltins.append(imageParams);
 7770|    594|                commonBuiltins.append(", float");
 7771|    594|                commonBuiltins.append(", int, int, int);\n");
 7772|       |
 7773|    594|                commonBuiltins.append("float imageAtomicLoad(readonly volatile coherent nontemporal ");
 7774|    594|                commonBuiltins.append(imageParams);
 7775|    594|                commonBuiltins.append(", int, int, int);\n");
 7776|       |
 7777|    594|                commonBuiltins.append("void imageAtomicStore(writeonly volatile coherent nontemporal ");
 7778|    594|                commonBuiltins.append(imageParams);
 7779|    594|                commonBuiltins.append(", float");
 7780|    594|                commonBuiltins.append(", int, int, int);\n");
 7781|       |
 7782|    594|                commonBuiltins.append("float imageAtomicMin(volatile coherent nontemporal ");
 7783|    594|                commonBuiltins.append(imageParams);
 7784|    594|                commonBuiltins.append(", float);\n");
 7785|       |
 7786|    594|                commonBuiltins.append("float imageAtomicMin(volatile coherent nontemporal ");
 7787|    594|                commonBuiltins.append(imageParams);
 7788|    594|                commonBuiltins.append(", float");
 7789|    594|                commonBuiltins.append(", int, int, int);\n");
 7790|       |
 7791|    594|                commonBuiltins.append("float imageAtomicMax(volatile coherent nontemporal ");
 7792|    594|                commonBuiltins.append(imageParams);
 7793|    594|                commonBuiltins.append(", float);\n");
 7794|       |
 7795|    594|                commonBuiltins.append("float imageAtomicMax(volatile coherent nontemporal ");
 7796|    594|                commonBuiltins.append(imageParams);
 7797|    594|                commonBuiltins.append(", float");
 7798|    594|                commonBuiltins.append(", int, int, int);\n");
 7799|    594|            }
 7800|    605|        }
 7801|  1.81k|    }
 7802|       |
 7803|  1.82k|    if (sampler.dim == EsdRect || sampler.dim == EsdBuffer || sampler.shadow || sampler.isMultiSample())
  ------------------
  |  Branch (7803:9): [True: 165, False: 1.66k]
  |  Branch (7803:35): [True: 165, False: 1.49k]
  |  Branch (7803:63): [True: 0, False: 1.49k]
  |  Branch (7803:81): [True: 330, False: 1.16k]
  ------------------
 7804|    660|        return;
 7805|       |
 7806|  1.16k|    if (profile == EEsProfile || version < 450)
  ------------------
  |  Branch (7806:9): [True: 12, False: 1.15k]
  |  Branch (7806:34): [True: 21, False: 1.13k]
  ------------------
 7807|     33|        return;
 7808|       |
 7809|  1.13k|    TString imageLodParams = typeName;
 7810|  1.13k|    if (dims == 1)
  ------------------
  |  Branch (7810:9): [True: 162, False: 972]
  ------------------
 7811|    162|        imageLodParams.append(", int");
 7812|    972|    else {
 7813|    972|        imageLodParams.append(", ivec");
 7814|    972|        imageLodParams.append(postfixes[dims]);
 7815|    972|    }
 7816|  1.13k|    imageLodParams.append(", int");
 7817|       |
 7818|  1.13k|    commonBuiltins.append(prefixes[sampler.type]);
 7819|  1.13k|    commonBuiltins.append("vec4 imageLoadLodAMD(readonly volatile coherent nontemporal ");
 7820|  1.13k|    commonBuiltins.append(imageLodParams);
 7821|  1.13k|    commonBuiltins.append(");\n");
 7822|       |
 7823|  1.13k|    commonBuiltins.append("void imageStoreLodAMD(writeonly volatile coherent nontemporal ");
 7824|  1.13k|    commonBuiltins.append(imageLodParams);
 7825|  1.13k|    commonBuiltins.append(", ");
 7826|  1.13k|    commonBuiltins.append(prefixes[sampler.type]);
 7827|  1.13k|    commonBuiltins.append("vec4);\n");
 7828|       |
 7829|  1.13k|    if (! sampler.is1D()) {
  ------------------
  |  Branch (7829:9): [True: 810, False: 324]
  ------------------
 7830|    810|        commonBuiltins.append("int sparseImageLoadLodAMD(readonly volatile coherent nontemporal ");
 7831|    810|        commonBuiltins.append(imageLodParams);
 7832|    810|        commonBuiltins.append(", out ");
 7833|    810|        commonBuiltins.append(prefixes[sampler.type]);
 7834|    810|        commonBuiltins.append("vec4");
 7835|    810|        commonBuiltins.append(");\n");
 7836|    810|    }
 7837|  1.13k|}
_ZN7glslang9TBuiltIns18addSubpassSamplingENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7846|    129|{
 7847|    129|    stageBuiltins[EShLangFragment].append(prefixes[sampler.type]);
 7848|    129|    stageBuiltins[EShLangFragment].append("vec4 subpassLoad");
 7849|    129|    stageBuiltins[EShLangFragment].append("(");
 7850|    129|    stageBuiltins[EShLangFragment].append(typeName.c_str());
 7851|    129|    if (sampler.isMultiSample())
  ------------------
  |  Branch (7851:9): [True: 63, False: 66]
  ------------------
 7852|     63|        stageBuiltins[EShLangFragment].append(", int");
 7853|    129|    stageBuiltins[EShLangFragment].append(");\n");
 7854|    129|}
_ZN7glslang9TBuiltIns20addSamplingFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7863|  2.32k|{
 7864|       |    //
 7865|       |    // texturing
 7866|       |    //
 7867|  6.97k|    for (int proj = 0; proj <= 1; ++proj) { // loop over "bool" projective or not
  ------------------
  |  Branch (7867:24): [True: 4.65k, False: 2.32k]
  ------------------
 7868|       |
 7869|  4.65k|        if (proj && (sampler.dim == EsdCube || sampler.isBuffer() || sampler.arrayed || sampler.isMultiSample()
  ------------------
  |  Branch (7869:13): [True: 2.32k, False: 2.32k]
  |  Branch (7869:22): [True: 465, False: 1.86k]
  |  Branch (7869:48): [True: 174, False: 1.68k]
  |  Branch (7869:70): [True: 639, False: 1.04k]
  |  Branch (7869:89): [True: 174, False: 874]
  ------------------
 7870|    874|            || !sampler.isCombined()))
  ------------------
  |  Branch (7870:16): [True: 258, False: 616]
  ------------------
 7871|  1.71k|            continue;
 7872|       |
 7873|  8.82k|        for (int lod = 0; lod <= 1; ++lod) {
  ------------------
  |  Branch (7873:27): [True: 5.88k, False: 2.94k]
  ------------------
 7874|       |
 7875|  5.88k|            if (lod && (sampler.isBuffer() || sampler.isRect() || sampler.isMultiSample() || !sampler.isCombined()))
  ------------------
  |  Branch (7875:17): [True: 2.94k, False: 2.94k]
  |  Branch (7875:25): [True: 174, False: 2.76k]
  |  Branch (7875:47): [True: 395, False: 2.37k]
  |  Branch (7875:67): [True: 348, False: 2.02k]
  |  Branch (7875:94): [True: 453, False: 1.57k]
  ------------------
 7876|  1.37k|                continue;
 7877|  4.51k|            if (lod && sampler.dim == Esd2D && sampler.arrayed && sampler.shadow)
  ------------------
  |  Branch (7877:17): [True: 1.57k, False: 2.94k]
  |  Branch (7877:24): [True: 510, False: 1.06k]
  |  Branch (7877:48): [True: 170, False: 340]
  |  Branch (7877:67): [True: 56, False: 114]
  ------------------
 7878|     56|                continue;
 7879|  4.45k|            if (lod && sampler.dim == EsdCube && sampler.shadow)
  ------------------
  |  Branch (7879:17): [True: 1.51k, False: 2.94k]
  |  Branch (7879:24): [True: 336, False: 1.18k]
  |  Branch (7879:50): [True: 111, False: 225]
  ------------------
 7880|    111|                continue;
 7881|       |
 7882|  13.0k|            for (int bias = 0; bias <= 1; ++bias) {
  ------------------
  |  Branch (7882:32): [True: 8.69k, False: 4.34k]
  ------------------
 7883|       |
 7884|  8.69k|                if (bias && (lod || sampler.isMultiSample() || !sampler.isCombined()))
  ------------------
  |  Branch (7884:21): [True: 4.34k, False: 4.34k]
  |  Branch (7884:30): [True: 1.40k, False: 2.94k]
  |  Branch (7884:37): [True: 348, False: 2.59k]
  |  Branch (7884:64): [True: 579, False: 2.01k]
  ------------------
 7885|  2.33k|                    continue;
 7886|  6.36k|                if (bias && (sampler.dim == Esd2D || sampler.dim == EsdCube) && sampler.shadow && sampler.arrayed)
  ------------------
  |  Branch (7886:21): [True: 2.01k, False: 4.34k]
  |  Branch (7886:30): [True: 510, False: 1.50k]
  |  Branch (7886:54): [True: 336, False: 1.16k]
  |  Branch (7886:81): [True: 279, False: 567]
  |  Branch (7886:99): [True: 111, False: 168]
  ------------------
 7887|    111|                    continue;
 7888|  6.25k|                if (bias && (sampler.isRect() || sampler.isBuffer()))
  ------------------
  |  Branch (7888:21): [True: 1.90k, False: 4.34k]
  |  Branch (7888:30): [True: 332, False: 1.57k]
  |  Branch (7888:50): [True: 111, False: 1.46k]
  ------------------
 7889|    443|                    continue;
 7890|       |
 7891|  17.4k|                for (int offset = 0; offset <= 1; ++offset) { // loop over "bool" offset or not
  ------------------
  |  Branch (7891:38): [True: 11.6k, False: 5.80k]
  ------------------
 7892|       |
 7893|  11.6k|                    if (proj + offset + bias + lod > 3)
  ------------------
  |  Branch (7893:25): [True: 0, False: 11.6k]
  ------------------
 7894|      0|                        continue;
 7895|  11.6k|                    if (offset && (sampler.dim == EsdCube || sampler.isBuffer() || sampler.isMultiSample()))
  ------------------
  |  Branch (7895:25): [True: 5.80k, False: 5.80k]
  |  Branch (7895:36): [True: 971, False: 4.83k]
  |  Branch (7895:62): [True: 174, False: 4.66k]
  |  Branch (7895:84): [True: 348, False: 4.31k]
  ------------------
 7896|  1.49k|                        continue;
 7897|       |
 7898|  30.3k|                    for (int fetch = 0; fetch <= 1; ++fetch) { // loop over "bool" fetch or not
  ------------------
  |  Branch (7898:41): [True: 20.2k, False: 10.1k]
  ------------------
 7899|       |
 7900|  20.2k|                        if (proj + offset + fetch + bias + lod > 3)
  ------------------
  |  Branch (7900:29): [True: 900, False: 19.3k]
  ------------------
 7901|    900|                            continue;
 7902|  19.3k|                        if (fetch && (lod || bias))
  ------------------
  |  Branch (7902:29): [True: 9.22k, False: 10.1k]
  |  Branch (7902:39): [True: 2.13k, False: 7.08k]
  |  Branch (7902:46): [True: 2.19k, False: 4.89k]
  ------------------
 7903|  4.32k|                            continue;
 7904|  15.0k|                        if (fetch && (sampler.shadow || sampler.dim == EsdCube))
  ------------------
  |  Branch (7904:29): [True: 4.89k, False: 10.1k]
  |  Branch (7904:39): [True: 997, False: 3.90k]
  |  Branch (7904:57): [True: 354, False: 3.54k]
  ------------------
 7905|  1.35k|                            continue;
 7906|  13.6k|                        if (fetch == 0 && (sampler.isMultiSample() || sampler.isBuffer()
  ------------------
  |  Branch (7906:29): [True: 10.1k, False: 3.54k]
  |  Branch (7906:44): [True: 348, False: 9.77k]
  |  Branch (7906:71): [True: 174, False: 9.60k]
  ------------------
 7907|  9.60k|                            || !sampler.isCombined()))
  ------------------
  |  Branch (7907:32): [True: 903, False: 8.69k]
  ------------------
 7908|  1.42k|                            continue;
 7909|       |
 7910|  36.7k|                        for (int grad = 0; grad <= 1; ++grad) { // loop over "bool" grad or not
  ------------------
  |  Branch (7910:44): [True: 24.4k, False: 12.2k]
  ------------------
 7911|       |
 7912|  24.4k|                            if (grad && (lod || bias || sampler.isMultiSample() || !sampler.isCombined()))
  ------------------
  |  Branch (7912:33): [True: 12.2k, False: 12.2k]
  |  Branch (7912:42): [True: 2.58k, False: 9.65k]
  |  Branch (7912:49): [True: 2.64k, False: 7.01k]
  |  Branch (7912:57): [True: 348, False: 6.67k]
  |  Branch (7912:84): [True: 837, False: 5.83k]
  ------------------
 7913|  6.41k|                                continue;
 7914|  18.0k|                            if (grad && sampler.isBuffer())
  ------------------
  |  Branch (7914:33): [True: 5.83k, False: 12.2k]
  |  Branch (7914:41): [True: 111, False: 5.72k]
  ------------------
 7915|    111|                                continue;
 7916|  17.9k|                            if (proj + offset + fetch + grad + bias + lod > 3)
  ------------------
  |  Branch (7916:33): [True: 450, False: 17.5k]
  ------------------
 7917|    450|                                continue;
 7918|       |
 7919|  52.5k|                            for (int extraProj = 0; extraProj <= 1; ++extraProj) {
  ------------------
  |  Branch (7919:53): [True: 35.0k, False: 17.5k]
  ------------------
 7920|  35.0k|                                bool compare = false;
 7921|  35.0k|                                int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (7921:72): [True: 8.70k, False: 26.3k]
  ------------------
 7922|       |                                // skip dummy unused second component for 1D non-array shadows
 7923|  35.0k|                                if (sampler.shadow && totalDims < 2)
  ------------------
  |  Branch (7923:37): [True: 6.31k, False: 28.7k]
  |  Branch (7923:55): [True: 1.76k, False: 4.55k]
  ------------------
 7924|  1.76k|                                    totalDims = 2;
 7925|  35.0k|                                totalDims += (sampler.shadow ? 1 : 0) + proj;
  ------------------
  |  Branch (7925:47): [True: 6.31k, False: 28.7k]
  ------------------
 7926|  35.0k|                                if (totalDims > 4 && sampler.shadow) {
  ------------------
  |  Branch (7926:37): [True: 220, False: 34.8k]
  |  Branch (7926:54): [True: 220, False: 0]
  ------------------
 7927|    220|                                    compare = true;
 7928|    220|                                    totalDims = 4;
 7929|    220|                                }
 7930|  35.0k|                                assert(totalDims <= 4);
 7931|       |
 7932|  35.0k|                                if (extraProj && ! proj)
  ------------------
  |  Branch (7932:37): [True: 17.5k, False: 17.5k]
  |  Branch (7932:50): [True: 11.9k, False: 5.61k]
  ------------------
 7933|  11.9k|                                    continue;
 7934|  23.1k|                                if (extraProj && (sampler.dim == Esd3D || sampler.shadow || !sampler.isCombined()))
  ------------------
  |  Branch (7934:37): [True: 5.61k, False: 17.5k]
  |  Branch (7934:51): [True: 1.25k, False: 4.36k]
  |  Branch (7934:75): [True: 1.10k, False: 3.25k]
  |  Branch (7934:93): [True: 0, False: 3.25k]
  ------------------
 7935|  2.36k|                                    continue;
 7936|       |
 7937|       |                                // loop over 16-bit floating-point texel addressing
 7938|  62.3k|                                for (int f16TexAddr = 0; f16TexAddr <= 1; ++f16TexAddr)
  ------------------
  |  Branch (7938:58): [True: 41.5k, False: 20.7k]
  ------------------
 7939|  41.5k|                                {
 7940|  41.5k|                                    if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (7940:41): [True: 20.7k, False: 20.7k]
  |  Branch (7940:55): [True: 15.0k, False: 5.76k]
  ------------------
 7941|  15.0k|                                        continue;
 7942|  26.5k|                                    if (f16TexAddr && sampler.shadow && ! compare) {
  ------------------
  |  Branch (7942:41): [True: 5.76k, False: 20.7k]
  |  Branch (7942:55): [True: 1.53k, False: 4.22k]
  |  Branch (7942:73): [True: 1.48k, False: 54]
  ------------------
 7943|  1.48k|                                        compare = true; // compare argument is always present
 7944|  1.48k|                                        totalDims--;
 7945|  1.48k|                                    }
 7946|       |                                    // loop over "bool" lod clamp
 7947|  79.5k|                                    for (int lodClamp = 0; lodClamp <= 1 ;++lodClamp)
  ------------------
  |  Branch (7947:60): [True: 53.0k, False: 26.5k]
  ------------------
 7948|  53.0k|                                    {
 7949|  53.0k|                                        if (lodClamp && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (7949:45): [True: 26.5k, False: 26.5k]
  |  Branch (7949:58): [True: 260, False: 26.2k]
  |  Branch (7949:83): [True: 546, False: 25.7k]
  ------------------
 7950|    806|                                            continue;
 7951|  52.2k|                                        if (lodClamp && (proj || lod || fetch))
  ------------------
  |  Branch (7951:45): [True: 25.7k, False: 26.5k]
  |  Branch (7951:58): [True: 10.9k, False: 14.7k]
  |  Branch (7951:66): [True: 2.10k, False: 12.6k]
  |  Branch (7951:73): [True: 4.77k, False: 7.91k]
  ------------------
 7952|  17.8k|                                            continue;
 7953|       |
 7954|       |                                        // loop over "bool" sparse or not
 7955|   103k|                                        for (int sparse = 0; sparse <= 1; ++sparse)
  ------------------
  |  Branch (7955:62): [True: 68.8k, False: 34.4k]
  ------------------
 7956|  68.8k|                                        {
 7957|  68.8k|                                            if (sparse && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (7957:49): [True: 34.4k, False: 34.4k]
  |  Branch (7957:60): [True: 260, False: 34.1k]
  |  Branch (7957:85): [True: 546, False: 33.6k]
  ------------------
 7958|    806|                                                continue;
 7959|       |                                            // Sparse sampling is not for 1D/1D array texture, buffer texture, and
 7960|       |                                            // projective texture
 7961|  68.0k|                                            if (sparse && (sampler.is1D() || sampler.isBuffer() || proj))
  ------------------
  |  Branch (7961:49): [True: 33.6k, False: 34.4k]
  |  Branch (7961:60): [True: 11.0k, False: 22.5k]
  |  Branch (7961:78): [True: 210, False: 22.3k]
  |  Branch (7961:100): [True: 7.31k, False: 15.0k]
  ------------------
 7962|  18.5k|                                                continue;
 7963|       |
 7964|  49.4k|                                            TString s;
 7965|       |
 7966|       |                                            // return type
 7967|  49.4k|                                            if (sparse)
  ------------------
  |  Branch (7967:49): [True: 15.0k, False: 34.4k]
  ------------------
 7968|  15.0k|                                                s.append("int ");
 7969|  34.4k|                                            else {
 7970|  34.4k|                                                if (sampler.shadow)
  ------------------
  |  Branch (7970:53): [True: 7.20k, False: 27.2k]
  ------------------
 7971|  7.20k|                                                    if (sampler.type == EbtFloat16)
  ------------------
  |  Branch (7971:57): [True: 4.75k, False: 2.45k]
  ------------------
 7972|  4.75k|                                                        s.append("float16_t ");
 7973|  2.45k|                                                    else
 7974|  2.45k|                                                        s.append("float ");
 7975|  27.2k|                                                else {
 7976|  27.2k|                                                    s.append(prefixes[sampler.type]);
 7977|  27.2k|                                                    s.append("vec4 ");
 7978|  27.2k|                                                }
 7979|  34.4k|                                            }
 7980|       |
 7981|       |                                            // name
 7982|  49.4k|                                            if (sparse) {
  ------------------
  |  Branch (7982:49): [True: 15.0k, False: 34.4k]
  ------------------
 7983|  15.0k|                                                if (fetch)
  ------------------
  |  Branch (7983:53): [True: 3.18k, False: 11.8k]
  ------------------
 7984|  3.18k|                                                    s.append("sparseTexel");
 7985|  11.8k|                                                else
 7986|  11.8k|                                                    s.append("sparseTexture");
 7987|  15.0k|                                            }
 7988|  34.4k|                                            else {
 7989|  34.4k|                                                if (fetch)
  ------------------
  |  Branch (7989:53): [True: 7.87k, False: 26.5k]
  ------------------
 7990|  7.87k|                                                    s.append("texel");
 7991|  26.5k|                                                else
 7992|  26.5k|                                                    s.append("texture");
 7993|  34.4k|                                            }
 7994|  49.4k|                                            if (proj)
  ------------------
  |  Branch (7994:49): [True: 11.2k, False: 38.2k]
  ------------------
 7995|  11.2k|                                                s.append("Proj");
 7996|  49.4k|                                            if (lod)
  ------------------
  |  Branch (7996:49): [True: 5.14k, False: 44.3k]
  ------------------
 7997|  5.14k|                                                s.append("Lod");
 7998|  49.4k|                                            if (grad)
  ------------------
  |  Branch (7998:49): [True: 15.9k, False: 33.5k]
  ------------------
 7999|  15.9k|                                                s.append("Grad");
 8000|  49.4k|                                            if (fetch)
  ------------------
  |  Branch (8000:49): [True: 11.0k, False: 38.4k]
  ------------------
 8001|  11.0k|                                                s.append("Fetch");
 8002|  49.4k|                                            if (offset)
  ------------------
  |  Branch (8002:49): [True: 21.0k, False: 28.4k]
  ------------------
 8003|  21.0k|                                                s.append("Offset");
 8004|  49.4k|                                            if (lodClamp)
  ------------------
  |  Branch (8004:49): [True: 13.2k, False: 36.2k]
  ------------------
 8005|  13.2k|                                                s.append("Clamp");
 8006|  49.4k|                                            if (lodClamp != 0 || sparse)
  ------------------
  |  Branch (8006:49): [True: 13.2k, False: 36.2k]
  |  Branch (8006:66): [True: 9.74k, False: 26.5k]
  ------------------
 8007|  22.9k|                                                s.append("ARB");
 8008|  49.4k|                                            s.append("(");
 8009|       |
 8010|       |                                            // sampler type
 8011|  49.4k|                                            s.append(typeName);
 8012|       |                                            // P coordinate
 8013|  49.4k|                                            if (extraProj) {
  ------------------
  |  Branch (8013:49): [True: 4.03k, False: 45.4k]
  ------------------
 8014|  4.03k|                                                if (f16TexAddr)
  ------------------
  |  Branch (8014:53): [True: 783, False: 3.25k]
  ------------------
 8015|    783|                                                    s.append(",f16vec4");
 8016|  3.25k|                                                else
 8017|  3.25k|                                                    s.append(",vec4");
 8018|  45.4k|                                            } else {
 8019|  45.4k|                                                s.append(",");
 8020|  45.4k|                                                TBasicType t = fetch ? EbtInt : (f16TexAddr ? EbtFloat16 : EbtFloat);
  ------------------
  |  Branch (8020:64): [True: 9.80k, False: 35.6k]
  |  Branch (8020:82): [True: 8.42k, False: 27.2k]
  ------------------
 8021|  45.4k|                                                if (totalDims == 1)
  ------------------
  |  Branch (8021:53): [True: 2.83k, False: 42.6k]
  ------------------
 8022|  2.83k|                                                    s.append(TType::getBasicString(t));
 8023|  42.6k|                                                else {
 8024|  42.6k|                                                    s.append(prefixes[t]);
 8025|  42.6k|                                                    s.append("vec");
 8026|  42.6k|                                                    s.append(postfixes[totalDims]);
 8027|  42.6k|                                                }
 8028|  45.4k|                                            }
 8029|       |                                            // non-optional compare
 8030|  49.4k|                                            if (compare)
  ------------------
  |  Branch (8030:49): [True: 3.89k, False: 45.6k]
  ------------------
 8031|  3.89k|                                                s.append(",float");
 8032|       |
 8033|       |                                            // non-optional lod argument (lod that's not driven by lod loop) or sample
 8034|  49.4k|                                            if ((fetch && !sampler.isBuffer() &&
  ------------------
  |  Branch (8034:50): [True: 11.0k, False: 38.4k]
  |  Branch (8034:59): [True: 10.8k, False: 216]
  ------------------
 8035|  10.8k|                                                 !sampler.isRect() && !sampler.isMultiSample())
  ------------------
  |  Branch (8035:50): [True: 8.61k, False: 2.22k]
  |  Branch (8035:71): [True: 7.76k, False: 852]
  ------------------
 8036|  41.7k|                                                 || (sampler.isMultiSample() && fetch))
  ------------------
  |  Branch (8036:54): [True: 852, False: 40.8k]
  |  Branch (8036:81): [True: 852, False: 0]
  ------------------
 8037|  8.61k|                                                s.append(",int");
 8038|       |                                            // non-optional lod
 8039|  49.4k|                                            if (lod) {
  ------------------
  |  Branch (8039:49): [True: 5.14k, False: 44.3k]
  ------------------
 8040|  5.14k|                                                if (f16TexAddr)
  ------------------
  |  Branch (8040:53): [True: 1.13k, False: 4.00k]
  ------------------
 8041|  1.13k|                                                    s.append(",float16_t");
 8042|  4.00k|                                                else
 8043|  4.00k|                                                    s.append(",float");
 8044|  5.14k|                                            }
 8045|       |
 8046|       |                                            // gradient arguments
 8047|  49.4k|                                            if (grad) {
  ------------------
  |  Branch (8047:49): [True: 15.9k, False: 33.5k]
  ------------------
 8048|  15.9k|                                                if (dimMap[sampler.dim] == 1) {
  ------------------
  |  Branch (8048:53): [True: 3.28k, False: 12.6k]
  ------------------
 8049|  3.28k|                                                    if (f16TexAddr)
  ------------------
  |  Branch (8049:57): [True: 756, False: 2.53k]
  ------------------
 8050|    756|                                                        s.append(",float16_t,float16_t");
 8051|  2.53k|                                                    else
 8052|  2.53k|                                                        s.append(",float,float");
 8053|  12.6k|                                                } else {
 8054|  12.6k|                                                    if (f16TexAddr)
  ------------------
  |  Branch (8054:57): [True: 2.88k, False: 9.79k]
  ------------------
 8055|  2.88k|                                                        s.append(",f16vec");
 8056|  9.79k|                                                    else
 8057|  9.79k|                                                        s.append(",vec");
 8058|  12.6k|                                                    s.append(postfixes[dimMap[sampler.dim]]);
 8059|  12.6k|                                                    if (f16TexAddr)
  ------------------
  |  Branch (8059:57): [True: 2.88k, False: 9.79k]
  ------------------
 8060|  2.88k|                                                        s.append(",f16vec");
 8061|  9.79k|                                                    else
 8062|  9.79k|                                                        s.append(",vec");
 8063|  12.6k|                                                    s.append(postfixes[dimMap[sampler.dim]]);
 8064|  12.6k|                                                }
 8065|  15.9k|                                            }
 8066|       |                                            // offset
 8067|  49.4k|                                            if (offset) {
  ------------------
  |  Branch (8067:49): [True: 21.0k, False: 28.4k]
  ------------------
 8068|  21.0k|                                                if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (8068:53): [True: 5.47k, False: 15.5k]
  ------------------
 8069|  5.47k|                                                    s.append(",int");
 8070|  15.5k|                                                else {
 8071|  15.5k|                                                    s.append(",ivec");
 8072|  15.5k|                                                    s.append(postfixes[dimMap[sampler.dim]]);
 8073|  15.5k|                                                }
 8074|  21.0k|                                            }
 8075|       |
 8076|       |                                            // lod clamp
 8077|  49.4k|                                            if (lodClamp) {
  ------------------
  |  Branch (8077:49): [True: 13.2k, False: 36.2k]
  ------------------
 8078|  13.2k|                                                if (f16TexAddr)
  ------------------
  |  Branch (8078:53): [True: 3.18k, False: 10.0k]
  ------------------
 8079|  3.18k|                                                    s.append(",float16_t");
 8080|  10.0k|                                                else
 8081|  10.0k|                                                    s.append(",float");
 8082|  13.2k|                                            }
 8083|       |                                            // texel out (for sparse texture)
 8084|  49.4k|                                            if (sparse) {
  ------------------
  |  Branch (8084:49): [True: 15.0k, False: 34.4k]
  ------------------
 8085|  15.0k|                                                s.append(",out ");
 8086|  15.0k|                                                if (sampler.shadow)
  ------------------
  |  Branch (8086:53): [True: 3.24k, False: 11.8k]
  ------------------
 8087|  3.24k|                                                    if (sampler.type == EbtFloat16)
  ------------------
  |  Branch (8087:57): [True: 2.16k, False: 1.08k]
  ------------------
 8088|  2.16k|                                                        s.append("float16_t");
 8089|  1.08k|                                                    else
 8090|  1.08k|                                                        s.append("float");
 8091|  11.8k|                                                else {
 8092|  11.8k|                                                    s.append(prefixes[sampler.type]);
 8093|  11.8k|                                                    s.append("vec4");
 8094|  11.8k|                                                }
 8095|  15.0k|                                            }
 8096|       |                                            // optional bias
 8097|  49.4k|                                            if (bias) {
  ------------------
  |  Branch (8097:49): [True: 8.81k, False: 40.6k]
  ------------------
 8098|  8.81k|                                                if (f16TexAddr)
  ------------------
  |  Branch (8098:53): [True: 1.99k, False: 6.81k]
  ------------------
 8099|  1.99k|                                                    s.append(",float16_t");
 8100|  6.81k|                                                else
 8101|  6.81k|                                                    s.append(",float");
 8102|  8.81k|                                            }
 8103|  49.4k|                                            s.append(");\n");
 8104|       |
 8105|       |                                            // Add to the per-language set of built-ins
 8106|  49.4k|                                            if (!grad && (bias || lodClamp != 0)) {
  ------------------
  |  Branch (8106:49): [True: 33.5k, False: 15.9k]
  |  Branch (8106:59): [True: 8.81k, False: 24.7k]
  |  Branch (8106:67): [True: 4.86k, False: 19.8k]
  ------------------
 8107|  13.6k|                                                stageBuiltins[EShLangFragment].append(s);
 8108|  13.6k|                                                stageBuiltins[EShLangCompute].append(s);
 8109|  13.6k|                                            } else
 8110|  35.8k|                                                commonBuiltins.append(s);
 8111|       |
 8112|  49.4k|                                        }
 8113|  34.4k|                                    }
 8114|  26.5k|                                }
 8115|  20.7k|                            }
 8116|  17.5k|                        }
 8117|  12.2k|                    }
 8118|  10.1k|                }
 8119|  5.80k|            }
 8120|  4.34k|        }
 8121|  2.94k|    }
 8122|  2.32k|}
_ZN7glslang9TBuiltIns18addGatherFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 8131|  1.62k|{
 8132|  1.62k|    switch (sampler.dim) {
 8133|    562|    case Esd2D:
  ------------------
  |  Branch (8133:5): [True: 562, False: 1.05k]
  ------------------
 8134|    728|    case EsdRect:
  ------------------
  |  Branch (8134:5): [True: 166, False: 1.45k]
  ------------------
 8135|  1.06k|    case EsdCube:
  ------------------
  |  Branch (8135:5): [True: 336, False: 1.28k]
  ------------------
 8136|  1.06k|        break;
 8137|    557|    default:
  ------------------
  |  Branch (8137:5): [True: 557, False: 1.06k]
  ------------------
 8138|    557|        return;
 8139|  1.62k|    }
 8140|       |
 8141|  1.06k|    if (sampler.isMultiSample())
  ------------------
  |  Branch (8141:9): [True: 222, False: 842]
  ------------------
 8142|    222|        return;
 8143|       |
 8144|    842|    if (version < 140 && sampler.dim == EsdRect && sampler.type != EbtFloat)
  ------------------
  |  Branch (8144:9): [True: 0, False: 842]
  |  Branch (8144:26): [True: 0, False: 0]
  |  Branch (8144:52): [True: 0, False: 0]
  ------------------
 8145|      0|        return;
 8146|       |
 8147|  2.52k|    for (int f16TexAddr = 0; f16TexAddr <= 1; ++f16TexAddr) { // loop over 16-bit floating-point texel addressing
  ------------------
  |  Branch (8147:30): [True: 1.68k, False: 842]
  ------------------
 8148|       |
 8149|  1.68k|        if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (8149:13): [True: 842, False: 842]
  |  Branch (8149:27): [True: 572, False: 270]
  ------------------
 8150|    572|            continue;
 8151|  4.44k|        for (int offset = 0; offset < 3; ++offset) { // loop over three forms of offset in the call name:  none, Offset, and Offsets
  ------------------
  |  Branch (8151:30): [True: 3.33k, False: 1.11k]
  ------------------
 8152|       |
 8153|  10.0k|            for (int comp = 0; comp < 2; ++comp) { // loop over presence of comp argument
  ------------------
  |  Branch (8153:32): [True: 6.67k, False: 3.33k]
  ------------------
 8154|       |
 8155|  6.67k|                if (comp > 0 && sampler.shadow)
  ------------------
  |  Branch (8155:21): [True: 3.33k, False: 3.33k]
  |  Branch (8155:33): [True: 1.23k, False: 2.09k]
  ------------------
 8156|  1.23k|                    continue;
 8157|       |
 8158|  5.43k|                if (offset > 0 && sampler.dim == EsdCube)
  ------------------
  |  Branch (8158:21): [True: 3.62k, False: 1.81k]
  |  Branch (8158:35): [True: 1.44k, False: 2.17k]
  ------------------
 8159|  1.44k|                    continue;
 8160|       |
 8161|  11.9k|                for (int sparse = 0; sparse <= 1; ++sparse) { // loop over "bool" sparse or not
  ------------------
  |  Branch (8161:38): [True: 7.97k, False: 3.98k]
  ------------------
 8162|  7.97k|                    if (sparse && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8162:25): [True: 3.98k, False: 3.98k]
  |  Branch (8162:36): [True: 49, False: 3.93k]
  |  Branch (8162:61): [True: 77, False: 3.86k]
  ------------------
 8163|    126|                        continue;
 8164|       |
 8165|  7.84k|                    TString s;
 8166|       |
 8167|       |                    // return type
 8168|  7.84k|                    if (sparse)
  ------------------
  |  Branch (8168:25): [True: 3.86k, False: 3.98k]
  ------------------
 8169|  3.86k|                        s.append("int ");
 8170|  3.98k|                    else {
 8171|  3.98k|                        s.append(prefixes[sampler.type]);
 8172|  3.98k|                        s.append("vec4 ");
 8173|  3.98k|                    }
 8174|       |
 8175|       |                    // name
 8176|  7.84k|                    if (sparse)
  ------------------
  |  Branch (8176:25): [True: 3.86k, False: 3.98k]
  ------------------
 8177|  3.86k|                        s.append("sparseTextureGather");
 8178|  3.98k|                    else
 8179|  3.98k|                        s.append("textureGather");
 8180|  7.84k|                    switch (offset) {
 8181|  2.14k|                    case 1:
  ------------------
  |  Branch (8181:21): [True: 2.14k, False: 5.70k]
  ------------------
 8182|  2.14k|                        s.append("Offset");
 8183|  2.14k|                        break;
 8184|  2.14k|                    case 2:
  ------------------
  |  Branch (8184:21): [True: 2.14k, False: 5.70k]
  ------------------
 8185|  2.14k|                        s.append("Offsets");
 8186|  2.14k|                        break;
 8187|  3.56k|                    default:
  ------------------
  |  Branch (8187:21): [True: 3.56k, False: 4.28k]
  ------------------
 8188|  3.56k|                        break;
 8189|  7.84k|                    }
 8190|  7.84k|                    if (sparse)
  ------------------
  |  Branch (8190:25): [True: 3.86k, False: 3.98k]
  ------------------
 8191|  3.86k|                        s.append("ARB");
 8192|  7.84k|                    s.append("(");
 8193|       |
 8194|       |                    // sampler type argument
 8195|  7.84k|                    s.append(typeName);
 8196|       |
 8197|       |                    // P coordinate argument
 8198|  7.84k|                    if (f16TexAddr)
  ------------------
  |  Branch (8198:25): [True: 1.78k, False: 6.06k]
  ------------------
 8199|  1.78k|                        s.append(",f16vec");
 8200|  6.06k|                    else
 8201|  6.06k|                        s.append(",vec");
 8202|  7.84k|                    int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8202:60): [True: 2.85k, False: 4.99k]
  ------------------
 8203|  7.84k|                    s.append(postfixes[totalDims]);
 8204|       |
 8205|       |                    // refZ argument
 8206|  7.84k|                    if (sampler.shadow)
  ------------------
  |  Branch (8206:25): [True: 1.80k, False: 6.04k]
  ------------------
 8207|  1.80k|                        s.append(",float");
 8208|       |
 8209|       |                    // offset argument
 8210|  7.84k|                    if (offset > 0) {
  ------------------
  |  Branch (8210:25): [True: 4.28k, False: 3.56k]
  ------------------
 8211|  4.28k|                        s.append(",ivec2");
 8212|  4.28k|                        if (offset == 2)
  ------------------
  |  Branch (8212:29): [True: 2.14k, False: 2.14k]
  ------------------
 8213|  2.14k|                            s.append("[4]");
 8214|  4.28k|                    }
 8215|       |
 8216|       |                    // texel out (for sparse texture)
 8217|  7.84k|                    if (sparse) {
  ------------------
  |  Branch (8217:25): [True: 3.86k, False: 3.98k]
  ------------------
 8218|  3.86k|                        s.append(",out ");
 8219|  3.86k|                        s.append(prefixes[sampler.type]);
 8220|  3.86k|                        s.append("vec4 ");
 8221|  3.86k|                    }
 8222|       |
 8223|       |                    // comp argument
 8224|  7.84k|                    if (comp)
  ------------------
  |  Branch (8224:25): [True: 3.02k, False: 4.82k]
  ------------------
 8225|  3.02k|                        s.append(",int");
 8226|       |
 8227|  7.84k|                    s.append(");\n");
 8228|  7.84k|                    commonBuiltins.append(s);
 8229|  7.84k|                }
 8230|  3.98k|            }
 8231|  3.33k|        }
 8232|  1.11k|    }
 8233|       |
 8234|    842|    if (sampler.dim == EsdRect || sampler.shadow)
  ------------------
  |  Branch (8234:9): [True: 166, False: 676]
  |  Branch (8234:35): [True: 223, False: 453]
  ------------------
 8235|    389|        return;
 8236|       |
 8237|    453|    if (profile == EEsProfile || version < 450)
  ------------------
  |  Branch (8237:9): [True: 9, False: 444]
  |  Branch (8237:34): [True: 12, False: 432]
  ------------------
 8238|     21|        return;
 8239|       |
 8240|  1.29k|    for (int bias = 0; bias < 2; ++bias) { // loop over presence of bias argument
  ------------------
  |  Branch (8240:24): [True: 864, False: 432]
  ------------------
 8241|       |
 8242|  2.59k|        for (int lod = 0; lod < 2; ++lod) { // loop over presence of lod argument
  ------------------
  |  Branch (8242:27): [True: 1.72k, False: 864]
  ------------------
 8243|       |
 8244|  1.72k|            if ((lod && bias) || (lod == 0 && bias == 0))
  ------------------
  |  Branch (8244:18): [True: 864, False: 864]
  |  Branch (8244:25): [True: 432, False: 432]
  |  Branch (8244:35): [True: 864, False: 432]
  |  Branch (8244:47): [True: 432, False: 432]
  ------------------
 8245|    864|                continue;
 8246|       |
 8247|  2.59k|            for (int f16TexAddr = 0; f16TexAddr <= 1; ++f16TexAddr) { // loop over 16-bit floating-point texel addressing
  ------------------
  |  Branch (8247:38): [True: 1.72k, False: 864]
  ------------------
 8248|       |
 8249|  1.72k|                if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (8249:21): [True: 864, False: 864]
  |  Branch (8249:35): [True: 648, False: 216]
  ------------------
 8250|    648|                    continue;
 8251|       |
 8252|  4.32k|                for (int offset = 0; offset < 3; ++offset) { // loop over three forms of offset in the call name:  none, Offset, and Offsets
  ------------------
  |  Branch (8252:38): [True: 3.24k, False: 1.08k]
  ------------------
 8253|       |
 8254|  9.72k|                    for (int comp = 0; comp < 2; ++comp) { // loop over presence of comp argument
  ------------------
  |  Branch (8254:40): [True: 6.48k, False: 3.24k]
  ------------------
 8255|       |
 8256|  6.48k|                        if (comp == 0 && bias)
  ------------------
  |  Branch (8256:29): [True: 3.24k, False: 3.24k]
  |  Branch (8256:42): [True: 1.62k, False: 1.62k]
  ------------------
 8257|  1.62k|                            continue;
 8258|       |
 8259|  4.86k|                        if (offset > 0 && sampler.dim == EsdCube)
  ------------------
  |  Branch (8259:29): [True: 3.24k, False: 1.62k]
  |  Branch (8259:43): [True: 1.62k, False: 1.62k]
  ------------------
 8260|  1.62k|                            continue;
 8261|       |
 8262|  9.72k|                        for (int sparse = 0; sparse <= 1; ++sparse) { // loop over "bool" sparse or not
  ------------------
  |  Branch (8262:46): [True: 6.48k, False: 3.24k]
  ------------------
 8263|  6.48k|                            if (sparse && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8263:33): [True: 3.24k, False: 3.24k]
  |  Branch (8263:44): [True: 0, False: 3.24k]
  |  Branch (8263:69): [True: 0, False: 3.24k]
  ------------------
 8264|      0|                                continue;
 8265|       |
 8266|  6.48k|                            TString s;
 8267|       |
 8268|       |                            // return type
 8269|  6.48k|                            if (sparse)
  ------------------
  |  Branch (8269:33): [True: 3.24k, False: 3.24k]
  ------------------
 8270|  3.24k|                                s.append("int ");
 8271|  3.24k|                            else {
 8272|  3.24k|                                s.append(prefixes[sampler.type]);
 8273|  3.24k|                                s.append("vec4 ");
 8274|  3.24k|                            }
 8275|       |
 8276|       |                            // name
 8277|  6.48k|                            if (sparse)
  ------------------
  |  Branch (8277:33): [True: 3.24k, False: 3.24k]
  ------------------
 8278|  3.24k|                                s.append("sparseTextureGather");
 8279|  3.24k|                            else
 8280|  3.24k|                                s.append("textureGather");
 8281|       |
 8282|  6.48k|                            if (lod)
  ------------------
  |  Branch (8282:33): [True: 4.32k, False: 2.16k]
  ------------------
 8283|  4.32k|                                s.append("Lod");
 8284|       |
 8285|  6.48k|                            switch (offset) {
 8286|  1.62k|                            case 1:
  ------------------
  |  Branch (8286:29): [True: 1.62k, False: 4.86k]
  ------------------
 8287|  1.62k|                                s.append("Offset");
 8288|  1.62k|                                break;
 8289|  1.62k|                            case 2:
  ------------------
  |  Branch (8289:29): [True: 1.62k, False: 4.86k]
  ------------------
 8290|  1.62k|                                s.append("Offsets");
 8291|  1.62k|                                break;
 8292|  3.24k|                            default:
  ------------------
  |  Branch (8292:29): [True: 3.24k, False: 3.24k]
  ------------------
 8293|  3.24k|                                break;
 8294|  6.48k|                            }
 8295|       |
 8296|  6.48k|                            if (lod)
  ------------------
  |  Branch (8296:33): [True: 4.32k, False: 2.16k]
  ------------------
 8297|  4.32k|                                s.append("AMD");
 8298|  2.16k|                            else if (sparse)
  ------------------
  |  Branch (8298:38): [True: 1.08k, False: 1.08k]
  ------------------
 8299|  1.08k|                                s.append("ARB");
 8300|       |
 8301|  6.48k|                            s.append("(");
 8302|       |
 8303|       |                            // sampler type argument
 8304|  6.48k|                            s.append(typeName);
 8305|       |
 8306|       |                            // P coordinate argument
 8307|  6.48k|                            if (f16TexAddr)
  ------------------
  |  Branch (8307:33): [True: 1.29k, False: 5.18k]
  ------------------
 8308|  1.29k|                                s.append(",f16vec");
 8309|  5.18k|                            else
 8310|  5.18k|                                s.append(",vec");
 8311|  6.48k|                            int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8311:68): [True: 3.24k, False: 3.24k]
  ------------------
 8312|  6.48k|                            s.append(postfixes[totalDims]);
 8313|       |
 8314|       |                            // lod argument
 8315|  6.48k|                            if (lod) {
  ------------------
  |  Branch (8315:33): [True: 4.32k, False: 2.16k]
  ------------------
 8316|  4.32k|                                if (f16TexAddr)
  ------------------
  |  Branch (8316:37): [True: 864, False: 3.45k]
  ------------------
 8317|    864|                                    s.append(",float16_t");
 8318|  3.45k|                                else
 8319|  3.45k|                                    s.append(",float");
 8320|  4.32k|                            }
 8321|       |
 8322|       |                            // offset argument
 8323|  6.48k|                            if (offset > 0) {
  ------------------
  |  Branch (8323:33): [True: 3.24k, False: 3.24k]
  ------------------
 8324|  3.24k|                                s.append(",ivec2");
 8325|  3.24k|                                if (offset == 2)
  ------------------
  |  Branch (8325:37): [True: 1.62k, False: 1.62k]
  ------------------
 8326|  1.62k|                                    s.append("[4]");
 8327|  3.24k|                            }
 8328|       |
 8329|       |                            // texel out (for sparse texture)
 8330|  6.48k|                            if (sparse) {
  ------------------
  |  Branch (8330:33): [True: 3.24k, False: 3.24k]
  ------------------
 8331|  3.24k|                                s.append(",out ");
 8332|  3.24k|                                s.append(prefixes[sampler.type]);
 8333|  3.24k|                                s.append("vec4 ");
 8334|  3.24k|                            }
 8335|       |
 8336|       |                            // comp argument
 8337|  6.48k|                            if (comp)
  ------------------
  |  Branch (8337:33): [True: 4.32k, False: 2.16k]
  ------------------
 8338|  4.32k|                                s.append(",int");
 8339|       |
 8340|       |                            // bias argument
 8341|  6.48k|                            if (bias) {
  ------------------
  |  Branch (8341:33): [True: 2.16k, False: 4.32k]
  ------------------
 8342|  2.16k|                                if (f16TexAddr)
  ------------------
  |  Branch (8342:37): [True: 432, False: 1.72k]
  ------------------
 8343|    432|                                    s.append(",float16_t");
 8344|  1.72k|                                else
 8345|  1.72k|                                    s.append(",float");
 8346|  2.16k|                            }
 8347|       |
 8348|  6.48k|                            s.append(");\n");
 8349|  6.48k|                            if (bias) {
  ------------------
  |  Branch (8349:33): [True: 2.16k, False: 4.32k]
  ------------------
 8350|  2.16k|                                stageBuiltins[EShLangFragment].append(s);
 8351|  2.16k|                                stageBuiltins[EShLangCompute].append(s);
 8352|  2.16k|                                stageBuiltins[EShLangTask].append(s);
 8353|  2.16k|                                stageBuiltins[EShLangMesh].append(s);
 8354|  2.16k|                            } else
 8355|  4.32k|                                commonBuiltins.append(s);
 8356|  6.48k|                        }
 8357|  3.24k|                    }
 8358|  3.24k|                }
 8359|  1.08k|            }
 8360|    864|        }
 8361|    864|    }
 8362|    432|}
_ZN7glslang9TBuiltIns10initializeERK16TBuiltInResourcei8EProfileRKNS_10SpvVersionE11EShLanguage:
 8372|     27|{
 8373|       |    //
 8374|       |    // Initialize the context-dependent (resource-dependent) built-in strings for parsing.
 8375|       |    //
 8376|       |
 8377|       |    //============================================================================
 8378|       |    //
 8379|       |    // Standard Uniforms
 8380|       |    //
 8381|       |    //============================================================================
 8382|       |
 8383|     27|    TString& s = commonBuiltins;
 8384|     27|    const int maxSize = 200;
 8385|     27|    char builtInConstant[maxSize];
 8386|       |
 8387|       |    //
 8388|       |    // Build string of implementation dependent constants.
 8389|       |    //
 8390|       |
 8391|     27|    if (profile == EEsProfile) {
  ------------------
  |  Branch (8391:9): [True: 15, False: 12]
  ------------------
 8392|     15|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexAttribs = %d;", resources.maxVertexAttribs);
 8393|     15|        s.append(builtInConstant);
 8394|       |
 8395|     15|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexUniformVectors = %d;", resources.maxVertexUniformVectors);
 8396|     15|        s.append(builtInConstant);
 8397|       |
 8398|     15|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexTextureImageUnits = %d;", resources.maxVertexTextureImageUnits);
 8399|     15|        s.append(builtInConstant);
 8400|       |
 8401|     15|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxCombinedTextureImageUnits = %d;", resources.maxCombinedTextureImageUnits);
 8402|     15|        s.append(builtInConstant);
 8403|       |
 8404|     15|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxTextureImageUnits = %d;", resources.maxTextureImageUnits);
 8405|     15|        s.append(builtInConstant);
 8406|       |
 8407|     15|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxFragmentUniformVectors = %d;", resources.maxFragmentUniformVectors);
 8408|     15|        s.append(builtInConstant);
 8409|       |
 8410|     15|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxDrawBuffers = %d;", resources.maxDrawBuffers);
 8411|     15|        s.append(builtInConstant);
 8412|       |
 8413|     15|        if (version == 100) {
  ------------------
  |  Branch (8413:13): [True: 15, False: 0]
  ------------------
 8414|     15|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVaryingVectors = %d;", resources.maxVaryingVectors);
 8415|     15|            s.append(builtInConstant);
 8416|     15|        } else {
 8417|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexOutputVectors = %d;", resources.maxVertexOutputVectors);
 8418|      0|            s.append(builtInConstant);
 8419|       |
 8420|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxFragmentInputVectors = %d;", resources.maxFragmentInputVectors);
 8421|      0|            s.append(builtInConstant);
 8422|       |
 8423|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MinProgramTexelOffset = %d;", resources.minProgramTexelOffset);
 8424|      0|            s.append(builtInConstant);
 8425|       |
 8426|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxProgramTexelOffset = %d;", resources.maxProgramTexelOffset);
 8427|      0|            s.append(builtInConstant);
 8428|      0|        }
 8429|       |
 8430|     15|        if (version >= 310) {
  ------------------
  |  Branch (8430:13): [True: 0, False: 15]
  ------------------
 8431|       |            // geometry
 8432|       |
 8433|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryInputComponents = %d;", resources.maxGeometryInputComponents);
 8434|      0|            s.append(builtInConstant);
 8435|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputComponents = %d;", resources.maxGeometryOutputComponents);
 8436|      0|            s.append(builtInConstant);
 8437|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryImageUniforms = %d;", resources.maxGeometryImageUniforms);
 8438|      0|            s.append(builtInConstant);
 8439|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTextureImageUnits = %d;", resources.maxGeometryTextureImageUnits);
 8440|      0|            s.append(builtInConstant);
 8441|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputVertices = %d;", resources.maxGeometryOutputVertices);
 8442|      0|            s.append(builtInConstant);
 8443|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTotalOutputComponents = %d;", resources.maxGeometryTotalOutputComponents);
 8444|      0|            s.append(builtInConstant);
 8445|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryUniformComponents = %d;", resources.maxGeometryUniformComponents);
 8446|      0|            s.append(builtInConstant);
 8447|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounters = %d;", resources.maxGeometryAtomicCounters);
 8448|      0|            s.append(builtInConstant);
 8449|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounterBuffers = %d;", resources.maxGeometryAtomicCounterBuffers);
 8450|      0|            s.append(builtInConstant);
 8451|       |
 8452|       |            // tessellation
 8453|       |
 8454|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlInputComponents = %d;", resources.maxTessControlInputComponents);
 8455|      0|            s.append(builtInConstant);
 8456|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlOutputComponents = %d;", resources.maxTessControlOutputComponents);
 8457|      0|            s.append(builtInConstant);
 8458|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTextureImageUnits = %d;", resources.maxTessControlTextureImageUnits);
 8459|      0|            s.append(builtInConstant);
 8460|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlUniformComponents = %d;", resources.maxTessControlUniformComponents);
 8461|      0|            s.append(builtInConstant);
 8462|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTotalOutputComponents = %d;", resources.maxTessControlTotalOutputComponents);
 8463|      0|            s.append(builtInConstant);
 8464|       |
 8465|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationInputComponents = %d;", resources.maxTessEvaluationInputComponents);
 8466|      0|            s.append(builtInConstant);
 8467|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationOutputComponents = %d;", resources.maxTessEvaluationOutputComponents);
 8468|      0|            s.append(builtInConstant);
 8469|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationTextureImageUnits = %d;", resources.maxTessEvaluationTextureImageUnits);
 8470|      0|            s.append(builtInConstant);
 8471|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationUniformComponents = %d;", resources.maxTessEvaluationUniformComponents);
 8472|      0|            s.append(builtInConstant);
 8473|       |
 8474|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessPatchComponents = %d;", resources.maxTessPatchComponents);
 8475|      0|            s.append(builtInConstant);
 8476|       |
 8477|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxPatchVertices = %d;", resources.maxPatchVertices);
 8478|      0|            s.append(builtInConstant);
 8479|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessGenLevel = %d;", resources.maxTessGenLevel);
 8480|      0|            s.append(builtInConstant);
 8481|       |
 8482|       |            // this is here instead of with the others in initialize(version, profile) due to the dependence on gl_MaxPatchVertices
 8483|      0|            if (language == EShLangTessControl || language == EShLangTessEvaluation) {
  ------------------
  |  Branch (8483:17): [True: 0, False: 0]
  |  Branch (8483:51): [True: 0, False: 0]
  ------------------
 8484|      0|                s.append(
 8485|      0|                    "in gl_PerVertex {"
 8486|      0|                        "highp vec4 gl_Position;"
 8487|      0|                        "highp float gl_PointSize;"
 8488|      0|                        "highp vec4 gl_SecondaryPositionNV;"  // GL_NV_stereo_view_rendering
 8489|      0|                        "highp vec4 gl_PositionPerViewNV[];"  // GL_NVX_multiview_per_view_attributes
 8490|      0|                    "} gl_in[gl_MaxPatchVertices];"
 8491|      0|                    "\n");
 8492|      0|            }
 8493|      0|        }
 8494|       |
 8495|     15|        if (version >= 320) {
  ------------------
  |  Branch (8495:13): [True: 0, False: 15]
  ------------------
 8496|       |            // tessellation
 8497|       |
 8498|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlImageUniforms = %d;", resources.maxTessControlImageUniforms);
 8499|      0|            s.append(builtInConstant);
 8500|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationImageUniforms = %d;", resources.maxTessEvaluationImageUniforms);
 8501|      0|            s.append(builtInConstant);
 8502|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounters = %d;", resources.maxTessControlAtomicCounters);
 8503|      0|            s.append(builtInConstant);
 8504|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounters = %d;", resources.maxTessEvaluationAtomicCounters);
 8505|      0|            s.append(builtInConstant);
 8506|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounterBuffers = %d;", resources.maxTessControlAtomicCounterBuffers);
 8507|      0|            s.append(builtInConstant);
 8508|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounterBuffers = %d;", resources.maxTessEvaluationAtomicCounterBuffers);
 8509|      0|            s.append(builtInConstant);
 8510|      0|        }
 8511|       |
 8512|     15|        if (version >= 100) {
  ------------------
  |  Branch (8512:13): [True: 15, False: 0]
  ------------------
 8513|       |            // GL_EXT_blend_func_extended
 8514|     15|            snprintf(builtInConstant, maxSize, "const mediump int gl_MaxDualSourceDrawBuffersEXT = %d;", resources.maxDualSourceDrawBuffersEXT);
 8515|     15|            s.append(builtInConstant);
 8516|       |            // this is here instead of with the others in initialize(version, profile) due to the dependence on gl_MaxDualSourceDrawBuffersEXT
 8517|     15|            if (language == EShLangFragment) {
  ------------------
  |  Branch (8517:17): [True: 0, False: 15]
  ------------------
 8518|      0|                s.append(
 8519|      0|                    "mediump vec4 gl_SecondaryFragColorEXT;"
 8520|      0|                    "mediump vec4 gl_SecondaryFragDataEXT[gl_MaxDualSourceDrawBuffersEXT];"
 8521|      0|                    "\n");
 8522|      0|            }
 8523|     15|        }
 8524|     15|    } else {
 8525|       |        // non-ES profile
 8526|       |
 8527|     12|        if (version > 400) {
  ------------------
  |  Branch (8527:13): [True: 12, False: 0]
  ------------------
 8528|     12|            snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexUniformVectors = %d;", resources.maxVertexUniformVectors);
 8529|     12|            s.append(builtInConstant);
 8530|       |
 8531|     12|            snprintf(builtInConstant, maxSize, "const int  gl_MaxFragmentUniformVectors = %d;", resources.maxFragmentUniformVectors);
 8532|     12|            s.append(builtInConstant);
 8533|       |
 8534|     12|            snprintf(builtInConstant, maxSize, "const int  gl_MaxVaryingVectors = %d;", resources.maxVaryingVectors);
 8535|     12|            s.append(builtInConstant);
 8536|     12|        }
 8537|       |
 8538|     12|        snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexAttribs = %d;", resources.maxVertexAttribs);
 8539|     12|        s.append(builtInConstant);
 8540|       |
 8541|     12|        snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexTextureImageUnits = %d;", resources.maxVertexTextureImageUnits);
 8542|     12|        s.append(builtInConstant);
 8543|       |
 8544|     12|        snprintf(builtInConstant, maxSize, "const int  gl_MaxCombinedTextureImageUnits = %d;", resources.maxCombinedTextureImageUnits);
 8545|     12|        s.append(builtInConstant);
 8546|       |
 8547|     12|        snprintf(builtInConstant, maxSize, "const int  gl_MaxTextureImageUnits = %d;", resources.maxTextureImageUnits);
 8548|     12|        s.append(builtInConstant);
 8549|       |
 8550|     12|        snprintf(builtInConstant, maxSize, "const int  gl_MaxDrawBuffers = %d;", resources.maxDrawBuffers);
 8551|     12|        s.append(builtInConstant);
 8552|       |
 8553|     12|        snprintf(builtInConstant, maxSize, "const int  gl_MaxLights = %d;", resources.maxLights);
 8554|     12|        s.append(builtInConstant);
 8555|       |
 8556|     12|        snprintf(builtInConstant, maxSize, "const int  gl_MaxClipPlanes = %d;", resources.maxClipPlanes);
 8557|     12|        s.append(builtInConstant);
 8558|       |
 8559|     12|        snprintf(builtInConstant, maxSize, "const int  gl_MaxTextureUnits = %d;", resources.maxTextureUnits);
 8560|     12|        s.append(builtInConstant);
 8561|       |
 8562|     12|        snprintf(builtInConstant, maxSize, "const int  gl_MaxTextureCoords = %d;", resources.maxTextureCoords);
 8563|     12|        s.append(builtInConstant);
 8564|       |
 8565|     12|        snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexUniformComponents = %d;", resources.maxVertexUniformComponents);
 8566|     12|        s.append(builtInConstant);
 8567|       |
 8568|       |        // Moved from just being deprecated into compatibility profile only as of 4.20
 8569|     12|        if (version < 420 || profile == ECompatibilityProfile) {
  ------------------
  |  Branch (8569:13): [True: 0, False: 12]
  |  Branch (8569:30): [True: 0, False: 12]
  ------------------
 8570|      0|            snprintf(builtInConstant, maxSize, "const int  gl_MaxVaryingFloats = %d;", resources.maxVaryingFloats);
 8571|      0|            s.append(builtInConstant);
 8572|      0|        }
 8573|       |
 8574|     12|        snprintf(builtInConstant, maxSize, "const int  gl_MaxFragmentUniformComponents = %d;", resources.maxFragmentUniformComponents);
 8575|     12|        s.append(builtInConstant);
 8576|       |
 8577|     12|        if (spvVersion.spv == 0 && IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (8577:13): [True: 12, False: 0]
  |  Branch (8577:36): [True: 0, False: 12]
  ------------------
 8578|       |            //
 8579|       |            // OpenGL'uniform' state.  Page numbers are in reference to version
 8580|       |            // 1.4 of the OpenGL specification.
 8581|       |            //
 8582|       |
 8583|       |            //
 8584|       |            // Matrix state. p. 31, 32, 37, 39, 40.
 8585|       |            //
 8586|      0|            s.append("uniform mat4  gl_TextureMatrix[gl_MaxTextureCoords];"
 8587|       |
 8588|       |            //
 8589|       |            // Derived matrix state that provides inverse and transposed versions
 8590|       |            // of the matrices above.
 8591|       |            //
 8592|      0|                        "uniform mat4  gl_TextureMatrixInverse[gl_MaxTextureCoords];"
 8593|       |
 8594|      0|                        "uniform mat4  gl_TextureMatrixTranspose[gl_MaxTextureCoords];"
 8595|       |
 8596|      0|                        "uniform mat4  gl_TextureMatrixInverseTranspose[gl_MaxTextureCoords];"
 8597|       |
 8598|       |            //
 8599|       |            // Clip planes p. 42.
 8600|       |            //
 8601|      0|                        "uniform vec4  gl_ClipPlane[gl_MaxClipPlanes];"
 8602|       |
 8603|       |            //
 8604|       |            // Light State p 50, 53, 55.
 8605|       |            //
 8606|      0|                        "uniform gl_LightSourceParameters  gl_LightSource[gl_MaxLights];"
 8607|       |
 8608|       |            //
 8609|       |            // Derived state from products of light.
 8610|       |            //
 8611|      0|                        "uniform gl_LightProducts gl_FrontLightProduct[gl_MaxLights];"
 8612|      0|                        "uniform gl_LightProducts gl_BackLightProduct[gl_MaxLights];"
 8613|       |
 8614|       |            //
 8615|       |            // Texture Environment and Generation, p. 152, p. 40-42.
 8616|       |            //
 8617|      0|                        "uniform vec4  gl_TextureEnvColor[gl_MaxTextureImageUnits];"
 8618|      0|                        "uniform vec4  gl_EyePlaneS[gl_MaxTextureCoords];"
 8619|      0|                        "uniform vec4  gl_EyePlaneT[gl_MaxTextureCoords];"
 8620|      0|                        "uniform vec4  gl_EyePlaneR[gl_MaxTextureCoords];"
 8621|      0|                        "uniform vec4  gl_EyePlaneQ[gl_MaxTextureCoords];"
 8622|      0|                        "uniform vec4  gl_ObjectPlaneS[gl_MaxTextureCoords];"
 8623|      0|                        "uniform vec4  gl_ObjectPlaneT[gl_MaxTextureCoords];"
 8624|      0|                        "uniform vec4  gl_ObjectPlaneR[gl_MaxTextureCoords];"
 8625|      0|                        "uniform vec4  gl_ObjectPlaneQ[gl_MaxTextureCoords];");
 8626|      0|        }
 8627|       |
 8628|     12|        if (version >= 130) {
  ------------------
  |  Branch (8628:13): [True: 12, False: 0]
  ------------------
 8629|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxClipDistances = %d;", resources.maxClipDistances);
 8630|     12|            s.append(builtInConstant);
 8631|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxVaryingComponents = %d;", resources.maxVaryingComponents);
 8632|     12|            s.append(builtInConstant);
 8633|       |
 8634|       |            // GL_ARB_shading_language_420pack
 8635|     12|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MinProgramTexelOffset = %d;", resources.minProgramTexelOffset);
 8636|     12|            s.append(builtInConstant);
 8637|     12|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxProgramTexelOffset = %d;", resources.maxProgramTexelOffset);
 8638|     12|            s.append(builtInConstant);
 8639|     12|        }
 8640|       |
 8641|       |        // geometry
 8642|     12|        if (version >= 150) {
  ------------------
  |  Branch (8642:13): [True: 12, False: 0]
  ------------------
 8643|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryInputComponents = %d;", resources.maxGeometryInputComponents);
 8644|     12|            s.append(builtInConstant);
 8645|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputComponents = %d;", resources.maxGeometryOutputComponents);
 8646|     12|            s.append(builtInConstant);
 8647|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTextureImageUnits = %d;", resources.maxGeometryTextureImageUnits);
 8648|     12|            s.append(builtInConstant);
 8649|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputVertices = %d;", resources.maxGeometryOutputVertices);
 8650|     12|            s.append(builtInConstant);
 8651|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTotalOutputComponents = %d;", resources.maxGeometryTotalOutputComponents);
 8652|     12|            s.append(builtInConstant);
 8653|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryUniformComponents = %d;", resources.maxGeometryUniformComponents);
 8654|     12|            s.append(builtInConstant);
 8655|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryVaryingComponents = %d;", resources.maxGeometryVaryingComponents);
 8656|     12|            s.append(builtInConstant);
 8657|       |
 8658|     12|        }
 8659|       |
 8660|     12|        if (version >= 150) {
  ------------------
  |  Branch (8660:13): [True: 12, False: 0]
  ------------------
 8661|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxVertexOutputComponents = %d;", resources.maxVertexOutputComponents);
 8662|     12|            s.append(builtInConstant);
 8663|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentInputComponents = %d;", resources.maxFragmentInputComponents);
 8664|     12|            s.append(builtInConstant);
 8665|     12|        }
 8666|       |
 8667|       |        // tessellation
 8668|     12|        if (version >= 150) {
  ------------------
  |  Branch (8668:13): [True: 12, False: 0]
  ------------------
 8669|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlInputComponents = %d;", resources.maxTessControlInputComponents);
 8670|     12|            s.append(builtInConstant);
 8671|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlOutputComponents = %d;", resources.maxTessControlOutputComponents);
 8672|     12|            s.append(builtInConstant);
 8673|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTextureImageUnits = %d;", resources.maxTessControlTextureImageUnits);
 8674|     12|            s.append(builtInConstant);
 8675|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlUniformComponents = %d;", resources.maxTessControlUniformComponents);
 8676|     12|            s.append(builtInConstant);
 8677|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTotalOutputComponents = %d;", resources.maxTessControlTotalOutputComponents);
 8678|     12|            s.append(builtInConstant);
 8679|       |
 8680|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationInputComponents = %d;", resources.maxTessEvaluationInputComponents);
 8681|     12|            s.append(builtInConstant);
 8682|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationOutputComponents = %d;", resources.maxTessEvaluationOutputComponents);
 8683|     12|            s.append(builtInConstant);
 8684|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationTextureImageUnits = %d;", resources.maxTessEvaluationTextureImageUnits);
 8685|     12|            s.append(builtInConstant);
 8686|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationUniformComponents = %d;", resources.maxTessEvaluationUniformComponents);
 8687|     12|            s.append(builtInConstant);
 8688|       |
 8689|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessPatchComponents = %d;", resources.maxTessPatchComponents);
 8690|     12|            s.append(builtInConstant);
 8691|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessGenLevel = %d;", resources.maxTessGenLevel);
 8692|     12|            s.append(builtInConstant);
 8693|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxPatchVertices = %d;", resources.maxPatchVertices);
 8694|     12|            s.append(builtInConstant);
 8695|       |
 8696|       |            // this is here instead of with the others in initialize(version, profile) due to the dependence on gl_MaxPatchVertices
 8697|     12|            if (language == EShLangTessControl || language == EShLangTessEvaluation) {
  ------------------
  |  Branch (8697:17): [True: 0, False: 12]
  |  Branch (8697:51): [True: 0, False: 12]
  ------------------
 8698|      0|                s.append(
 8699|      0|                    "in gl_PerVertex {"
 8700|      0|                        "vec4 gl_Position;"
 8701|      0|                        "float gl_PointSize;"
 8702|      0|                        "float gl_ClipDistance[];"
 8703|      0|                    );
 8704|      0|                if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (8704:21): [True: 0, False: 0]
  ------------------
 8705|      0|                    s.append(
 8706|      0|                        "vec4 gl_ClipVertex;"
 8707|      0|                        "vec4 gl_FrontColor;"
 8708|      0|                        "vec4 gl_BackColor;"
 8709|      0|                        "vec4 gl_FrontSecondaryColor;"
 8710|      0|                        "vec4 gl_BackSecondaryColor;"
 8711|      0|                        "vec4 gl_TexCoord[];"
 8712|      0|                        "float gl_FogFragCoord;"
 8713|      0|                        );
 8714|      0|                if (profile != EEsProfile && version >= 450)
  ------------------
  |  Branch (8714:21): [True: 0, False: 0]
  |  Branch (8714:46): [True: 0, False: 0]
  ------------------
 8715|      0|                    s.append(
 8716|      0|                        "float gl_CullDistance[];"
 8717|      0|                        "vec4 gl_SecondaryPositionNV;"  // GL_NV_stereo_view_rendering
 8718|      0|                        "vec4 gl_PositionPerViewNV[];"  // GL_NVX_multiview_per_view_attributes
 8719|      0|                       );
 8720|      0|                s.append(
 8721|      0|                    "} gl_in[gl_MaxPatchVertices];"
 8722|      0|                    "\n");
 8723|      0|            }
 8724|     12|        }
 8725|       |
 8726|     12|        if (version >= 150) {
  ------------------
  |  Branch (8726:13): [True: 12, False: 0]
  ------------------
 8727|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxViewports = %d;", resources.maxViewports);
 8728|     12|            s.append(builtInConstant);
 8729|     12|        }
 8730|       |
 8731|       |        // images
 8732|     12|        if (version >= 130) {
  ------------------
  |  Branch (8732:13): [True: 12, False: 0]
  ------------------
 8733|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedImageUnitsAndFragmentOutputs = %d;", resources.maxCombinedImageUnitsAndFragmentOutputs);
 8734|     12|            s.append(builtInConstant);
 8735|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxImageSamples = %d;", resources.maxImageSamples);
 8736|     12|            s.append(builtInConstant);
 8737|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlImageUniforms = %d;", resources.maxTessControlImageUniforms);
 8738|     12|            s.append(builtInConstant);
 8739|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationImageUniforms = %d;", resources.maxTessEvaluationImageUniforms);
 8740|     12|            s.append(builtInConstant);
 8741|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryImageUniforms = %d;", resources.maxGeometryImageUniforms);
 8742|     12|            s.append(builtInConstant);
 8743|     12|        }
 8744|       |
 8745|       |        // enhanced layouts
 8746|     12|        if (version >= 430) {
  ------------------
  |  Branch (8746:13): [True: 12, False: 0]
  ------------------
 8747|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxTransformFeedbackBuffers = %d;", resources.maxTransformFeedbackBuffers);
 8748|     12|            s.append(builtInConstant);
 8749|     12|            snprintf(builtInConstant, maxSize, "const int gl_MaxTransformFeedbackInterleavedComponents = %d;", resources.maxTransformFeedbackInterleavedComponents);
 8750|     12|            s.append(builtInConstant);
 8751|     12|        }
 8752|     12|    }
 8753|       |
 8754|       |    // compute
 8755|     27|    if ((profile == EEsProfile && version >= 310) || (profile != EEsProfile && version >= 420)) {
  ------------------
  |  Branch (8755:10): [True: 15, False: 12]
  |  Branch (8755:35): [True: 0, False: 15]
  |  Branch (8755:55): [True: 12, False: 15]
  |  Branch (8755:80): [True: 12, False: 0]
  ------------------
 8756|     12|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxComputeWorkGroupCount = ivec3(%d,%d,%d);", resources.maxComputeWorkGroupCountX,
 8757|     12|                                                                                                         resources.maxComputeWorkGroupCountY,
 8758|     12|                                                                                                         resources.maxComputeWorkGroupCountZ);
 8759|     12|        s.append(builtInConstant);
 8760|     12|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxComputeWorkGroupSize = ivec3(%d,%d,%d);", resources.maxComputeWorkGroupSizeX,
 8761|     12|                                                                                                        resources.maxComputeWorkGroupSizeY,
 8762|     12|                                                                                                        resources.maxComputeWorkGroupSizeZ);
 8763|     12|        s.append(builtInConstant);
 8764|       |
 8765|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeUniformComponents = %d;", resources.maxComputeUniformComponents);
 8766|     12|        s.append(builtInConstant);
 8767|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeTextureImageUnits = %d;", resources.maxComputeTextureImageUnits);
 8768|     12|        s.append(builtInConstant);
 8769|       |
 8770|       |        // GL_ARM_tensors operands.
 8771|     12|        snprintf(builtInConstant, maxSize, "const uint gl_TensorOperandsNonTemporalARM = 0x1U;");
 8772|     12|        s.append(builtInConstant);
 8773|     12|        snprintf(builtInConstant, maxSize, "const uint gl_TensorOperandsOutOfBoundsValueARM = 0x2U;");
 8774|     12|        s.append(builtInConstant);
 8775|       |
 8776|     12|        s.append("\n");
 8777|     12|    }
 8778|       |
 8779|       |    // images (some in compute below)
 8780|     27|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (8780:10): [True: 15, False: 12]
  |  Branch (8780:35): [True: 0, False: 15]
  ------------------
 8781|     27|        (profile != EEsProfile && version >= 130)) {
  ------------------
  |  Branch (8781:10): [True: 12, False: 15]
  |  Branch (8781:35): [True: 12, False: 0]
  ------------------
 8782|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxImageUnits = %d;", resources.maxImageUnits);
 8783|     12|        s.append(builtInConstant);
 8784|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedShaderOutputResources = %d;", resources.maxCombinedShaderOutputResources);
 8785|     12|        s.append(builtInConstant);
 8786|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxVertexImageUniforms = %d;", resources.maxVertexImageUniforms);
 8787|     12|        s.append(builtInConstant);
 8788|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentImageUniforms = %d;", resources.maxFragmentImageUniforms);
 8789|     12|        s.append(builtInConstant);
 8790|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedImageUniforms = %d;", resources.maxCombinedImageUniforms);
 8791|     12|        s.append(builtInConstant);
 8792|     12|    }
 8793|       |
 8794|       |    // compute
 8795|     27|    if ((profile == EEsProfile && version >= 310) || (profile != EEsProfile && version >= 420)) {
  ------------------
  |  Branch (8795:10): [True: 15, False: 12]
  |  Branch (8795:35): [True: 0, False: 15]
  |  Branch (8795:55): [True: 12, False: 15]
  |  Branch (8795:80): [True: 12, False: 0]
  ------------------
 8796|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeImageUniforms = %d;", resources.maxComputeImageUniforms);
 8797|     12|        s.append(builtInConstant);
 8798|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeAtomicCounters = %d;", resources.maxComputeAtomicCounters);
 8799|     12|        s.append(builtInConstant);
 8800|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeAtomicCounterBuffers = %d;", resources.maxComputeAtomicCounterBuffers);
 8801|     12|        s.append(builtInConstant);
 8802|       |
 8803|     12|        s.append("\n");
 8804|     12|    }
 8805|       |
 8806|       |    // atomic counters (some in compute below)
 8807|     27|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (8807:10): [True: 15, False: 12]
  |  Branch (8807:35): [True: 0, False: 15]
  ------------------
 8808|     27|        (profile != EEsProfile && version >= 420)) {
  ------------------
  |  Branch (8808:10): [True: 12, False: 15]
  |  Branch (8808:35): [True: 12, False: 0]
  ------------------
 8809|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxVertexAtomicCounters = %d;", resources.               maxVertexAtomicCounters);
 8810|     12|        s.append(builtInConstant);
 8811|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentAtomicCounters = %d;", resources.             maxFragmentAtomicCounters);
 8812|     12|        s.append(builtInConstant);
 8813|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedAtomicCounters = %d;", resources.             maxCombinedAtomicCounters);
 8814|     12|        s.append(builtInConstant);
 8815|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxAtomicCounterBindings = %d;", resources.              maxAtomicCounterBindings);
 8816|     12|        s.append(builtInConstant);
 8817|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxVertexAtomicCounterBuffers = %d;", resources.         maxVertexAtomicCounterBuffers);
 8818|     12|        s.append(builtInConstant);
 8819|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentAtomicCounterBuffers = %d;", resources.       maxFragmentAtomicCounterBuffers);
 8820|     12|        s.append(builtInConstant);
 8821|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedAtomicCounterBuffers = %d;", resources.       maxCombinedAtomicCounterBuffers);
 8822|     12|        s.append(builtInConstant);
 8823|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxAtomicCounterBufferSize = %d;", resources.            maxAtomicCounterBufferSize);
 8824|     12|        s.append(builtInConstant);
 8825|     12|    }
 8826|     27|    if (profile != EEsProfile && version >= 420) {
  ------------------
  |  Branch (8826:9): [True: 12, False: 15]
  |  Branch (8826:34): [True: 12, False: 0]
  ------------------
 8827|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounters = %d;", resources.          maxTessControlAtomicCounters);
 8828|     12|        s.append(builtInConstant);
 8829|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounters = %d;", resources.       maxTessEvaluationAtomicCounters);
 8830|     12|        s.append(builtInConstant);
 8831|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounters = %d;", resources.             maxGeometryAtomicCounters);
 8832|     12|        s.append(builtInConstant);
 8833|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounterBuffers = %d;", resources.    maxTessControlAtomicCounterBuffers);
 8834|     12|        s.append(builtInConstant);
 8835|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounterBuffers = %d;", resources. maxTessEvaluationAtomicCounterBuffers);
 8836|     12|        s.append(builtInConstant);
 8837|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounterBuffers = %d;", resources.       maxGeometryAtomicCounterBuffers);
 8838|     12|        s.append(builtInConstant);
 8839|       |
 8840|     12|        s.append("\n");
 8841|     12|    }
 8842|       |
 8843|       |    // GL_ARB_cull_distance
 8844|     27|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (8844:9): [True: 12, False: 15]
  |  Branch (8844:34): [True: 12, False: 0]
  ------------------
 8845|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxCullDistances = %d;",                resources.maxCullDistances);
 8846|     12|        s.append(builtInConstant);
 8847|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedClipAndCullDistances = %d;", resources.maxCombinedClipAndCullDistances);
 8848|     12|        s.append(builtInConstant);
 8849|     12|    }
 8850|       |
 8851|       |    // GL_ARB_ES3_1_compatibility
 8852|     27|    if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (8852:10): [True: 12, False: 15]
  |  Branch (8852:35): [True: 12, False: 0]
  ------------------
 8853|     15|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (8853:10): [True: 15, False: 0]
  |  Branch (8853:35): [True: 0, False: 15]
  ------------------
 8854|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxSamples = %d;", resources.maxSamples);
 8855|     12|        s.append(builtInConstant);
 8856|     12|    }
 8857|       |
 8858|       |    // SPV_NV_mesh_shader
 8859|     27|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (8859:10): [True: 12, False: 15]
  |  Branch (8859:35): [True: 12, False: 0]
  |  Branch (8859:55): [True: 15, False: 0]
  |  Branch (8859:80): [True: 0, False: 15]
  ------------------
 8860|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxMeshOutputVerticesNV = %d;", resources.maxMeshOutputVerticesNV);
 8861|     12|        s.append(builtInConstant);
 8862|       |
 8863|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxMeshOutputPrimitivesNV = %d;", resources.maxMeshOutputPrimitivesNV);
 8864|     12|        s.append(builtInConstant);
 8865|       |
 8866|     12|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxMeshWorkGroupSizeNV = ivec3(%d,%d,%d);", resources.maxMeshWorkGroupSizeX_NV,
 8867|     12|                                                                                                       resources.maxMeshWorkGroupSizeY_NV,
 8868|     12|                                                                                                       resources.maxMeshWorkGroupSizeZ_NV);
 8869|     12|        s.append(builtInConstant);
 8870|     12|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxTaskWorkGroupSizeNV = ivec3(%d,%d,%d);", resources.maxTaskWorkGroupSizeX_NV,
 8871|     12|                                                                                                       resources.maxTaskWorkGroupSizeY_NV,
 8872|     12|                                                                                                       resources.maxTaskWorkGroupSizeZ_NV);
 8873|     12|        s.append(builtInConstant);
 8874|       |
 8875|     12|        snprintf(builtInConstant, maxSize, "const int gl_MaxMeshViewCountNV = %d;", resources.maxMeshViewCountNV);
 8876|     12|        s.append(builtInConstant);
 8877|       |
 8878|     12|        s.append("\n");
 8879|     12|    }
 8880|       |
 8881|     27|    s.append("\n");
 8882|     27|}
_ZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableE:
 8981|    462|{
 8982|       |    //
 8983|       |    // Tag built-in variables and functions with additional qualifier and extension information
 8984|       |    // that cannot be declared with the text strings.
 8985|       |    //
 8986|       |
 8987|       |    // N.B.: a symbol should only be tagged once, and this function is called multiple times, once
 8988|       |    // per stage that's used for this profile.  So
 8989|       |    //  - generally, stick common ones in the fragment stage to ensure they are tagged exactly once
 8990|       |    //  - for ES, which has different precisions for different stages, the coarsest-grained tagging
 8991|       |    //    for a built-in used in many stages needs to be once for the fragment stage and once for
 8992|       |    //    the vertex stage
 8993|       |
 8994|    462|    switch(language) {
 8995|    107|    case EShLangVertex:
  ------------------
  |  Branch (8995:5): [True: 107, False: 355]
  ------------------
 8996|    107|        if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (8996:13): [True: 80, False: 27]
  ------------------
 8997|     80|            BuiltInVariable("gl_VertexIndex",   EbvVertexIndex,   symbolTable);
 8998|     80|            BuiltInVariable("gl_InstanceIndex", EbvInstanceIndex, symbolTable);
 8999|     80|        }
 9000|       |
 9001|    107|        if (spvVersion.vulkan == 0) {
  ------------------
  |  Branch (9001:13): [True: 27, False: 80]
  ------------------
 9002|     27|            SpecialQualifier("gl_VertexID",   EvqVertexId,   EbvVertexId,   symbolTable);
 9003|     27|            SpecialQualifier("gl_InstanceID", EvqInstanceId, EbvInstanceId, symbolTable);
 9004|     27|            if (version < 140)
  ------------------
  |  Branch (9004:17): [True: 15, False: 12]
  ------------------
 9005|     15|                symbolTable.setVariableExtensions("gl_InstanceID", 1, &E_GL_EXT_draw_instanced);
 9006|     27|        }
 9007|       |
 9008|    107|        if (spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (9008:13): [True: 80, False: 27]
  |  Branch (9008:38): [True: 0, False: 80]
  ------------------
 9009|       |            // treat these built-ins as aliases of VertexIndex and InstanceIndex
 9010|      0|            RetargetVariable("gl_InstanceID", "gl_InstanceIndex", symbolTable);
 9011|      0|            RetargetVariable("gl_VertexID", "gl_VertexIndex", symbolTable);
 9012|      0|        }
 9013|       |
 9014|    107|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9014:13): [True: 29, False: 78]
  ------------------
 9015|     29|            if (version >= 440) {
  ------------------
  |  Branch (9015:17): [True: 27, False: 2]
  ------------------
 9016|     27|                symbolTable.setVariableExtensions("gl_BaseVertexARB",   1, &E_GL_ARB_shader_draw_parameters);
 9017|     27|                symbolTable.setVariableExtensions("gl_BaseInstanceARB", 1, &E_GL_ARB_shader_draw_parameters);
 9018|     27|                symbolTable.setVariableExtensions("gl_DrawIDARB",       1, &E_GL_ARB_shader_draw_parameters);
 9019|     27|                BuiltInVariable("gl_BaseVertexARB",   EbvBaseVertex,   symbolTable);
 9020|     27|                BuiltInVariable("gl_BaseInstanceARB", EbvBaseInstance, symbolTable);
 9021|     27|                BuiltInVariable("gl_DrawIDARB",       EbvDrawId,       symbolTable);
 9022|     27|            }
 9023|     29|            if (version >= 460) {
  ------------------
  |  Branch (9023:17): [True: 0, False: 29]
  ------------------
 9024|      0|                BuiltInVariable("gl_BaseVertex",   EbvBaseVertex,   symbolTable);
 9025|      0|                BuiltInVariable("gl_BaseInstance", EbvBaseInstance, symbolTable);
 9026|      0|                BuiltInVariable("gl_DrawID",       EbvDrawId,       symbolTable);
 9027|      0|            }
 9028|     29|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
 9029|     29|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
 9030|     29|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
 9031|     29|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9032|     29|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9033|     29|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9034|     29|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9035|       |
 9036|     29|            symbolTable.setFunctionExtensions("ballotARB",              1, &E_GL_ARB_shader_ballot);
 9037|     29|            symbolTable.setFunctionExtensions("readInvocationARB",      1, &E_GL_ARB_shader_ballot);
 9038|     29|            symbolTable.setFunctionExtensions("readFirstInvocationARB", 1, &E_GL_ARB_shader_ballot);
 9039|       |
 9040|     29|            if (version >= 430) {
  ------------------
  |  Branch (9040:17): [True: 27, False: 2]
  ------------------
 9041|     27|                symbolTable.setFunctionExtensions("anyInvocationARB",       1, &E_GL_ARB_shader_group_vote);
 9042|     27|                symbolTable.setFunctionExtensions("allInvocationsARB",      1, &E_GL_ARB_shader_group_vote);
 9043|     27|                symbolTable.setFunctionExtensions("allInvocationsEqualARB", 1, &E_GL_ARB_shader_group_vote);
 9044|     27|            }
 9045|     29|            if (version >= 150) {
  ------------------
  |  Branch (9045:17): [True: 28, False: 1]
  ------------------
 9046|     28|                symbolTable.setFunctionExtensions("anyThreadNV",       1, &E_GL_NV_gpu_shader5);
 9047|     28|                symbolTable.setFunctionExtensions("allThreadsNV",      1, &E_GL_NV_gpu_shader5);
 9048|     28|                symbolTable.setFunctionExtensions("allThreadsEqualNV", 1, &E_GL_NV_gpu_shader5);
 9049|     28|            }
 9050|     29|        }
 9051|       |
 9052|       |
 9053|    107|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9053:13): [True: 29, False: 78]
  ------------------
 9054|     29|            symbolTable.setFunctionExtensions("minInvocationsAMD",                1, &E_GL_AMD_shader_ballot);
 9055|     29|            symbolTable.setFunctionExtensions("maxInvocationsAMD",                1, &E_GL_AMD_shader_ballot);
 9056|     29|            symbolTable.setFunctionExtensions("addInvocationsAMD",                1, &E_GL_AMD_shader_ballot);
 9057|     29|            symbolTable.setFunctionExtensions("minInvocationsNonUniformAMD",      1, &E_GL_AMD_shader_ballot);
 9058|     29|            symbolTable.setFunctionExtensions("maxInvocationsNonUniformAMD",      1, &E_GL_AMD_shader_ballot);
 9059|     29|            symbolTable.setFunctionExtensions("addInvocationsNonUniformAMD",      1, &E_GL_AMD_shader_ballot);
 9060|     29|            symbolTable.setFunctionExtensions("swizzleInvocationsAMD",            1, &E_GL_AMD_shader_ballot);
 9061|     29|            symbolTable.setFunctionExtensions("swizzleInvocationsWithPatternAMD", 1, &E_GL_AMD_shader_ballot);
 9062|     29|            symbolTable.setFunctionExtensions("writeInvocationAMD",               1, &E_GL_AMD_shader_ballot);
 9063|     29|            symbolTable.setFunctionExtensions("mbcntAMD",                         1, &E_GL_AMD_shader_ballot);
 9064|       |
 9065|     29|            symbolTable.setFunctionExtensions("minInvocationsInclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9066|     29|            symbolTable.setFunctionExtensions("maxInvocationsInclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9067|     29|            symbolTable.setFunctionExtensions("addInvocationsInclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9068|     29|            symbolTable.setFunctionExtensions("minInvocationsInclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9069|     29|            symbolTable.setFunctionExtensions("maxInvocationsInclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9070|     29|            symbolTable.setFunctionExtensions("addInvocationsInclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9071|     29|            symbolTable.setFunctionExtensions("minInvocationsExclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9072|     29|            symbolTable.setFunctionExtensions("maxInvocationsExclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9073|     29|            symbolTable.setFunctionExtensions("addInvocationsExclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9074|     29|            symbolTable.setFunctionExtensions("minInvocationsExclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9075|     29|            symbolTable.setFunctionExtensions("maxInvocationsExclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9076|     29|            symbolTable.setFunctionExtensions("addInvocationsExclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9077|     29|        }
 9078|       |
 9079|    107|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9079:13): [True: 29, False: 78]
  ------------------
 9080|     29|            symbolTable.setFunctionExtensions("min3", 1, &E_GL_AMD_shader_trinary_minmax);
 9081|     29|            symbolTable.setFunctionExtensions("max3", 1, &E_GL_AMD_shader_trinary_minmax);
 9082|     29|            symbolTable.setFunctionExtensions("mid3", 1, &E_GL_AMD_shader_trinary_minmax);
 9083|     29|        }
 9084|       |
 9085|    107|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9085:13): [True: 29, False: 78]
  ------------------
 9086|     29|            symbolTable.setVariableExtensions("gl_SIMDGroupSizeAMD", 1, &E_GL_AMD_gcn_shader);
 9087|     29|            SpecialQualifier("gl_SIMDGroupSizeAMD", EvqVaryingIn, EbvSubGroupSize, symbolTable);
 9088|       |
 9089|     29|            symbolTable.setFunctionExtensions("cubeFaceIndexAMD", 1, &E_GL_AMD_gcn_shader);
 9090|     29|            symbolTable.setFunctionExtensions("cubeFaceCoordAMD", 1, &E_GL_AMD_gcn_shader);
 9091|     29|            symbolTable.setFunctionExtensions("timeAMD",          1, &E_GL_AMD_gcn_shader);
 9092|     29|        }
 9093|       |
 9094|    107|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9094:13): [True: 29, False: 78]
  ------------------
 9095|     29|            symbolTable.setFunctionExtensions("fragmentMaskFetchAMD", 1, &E_GL_AMD_shader_fragment_mask);
 9096|     29|            symbolTable.setFunctionExtensions("fragmentFetchAMD",     1, &E_GL_AMD_shader_fragment_mask);
 9097|     29|        }
 9098|       |
 9099|    107|        symbolTable.setFunctionExtensions("countLeadingZeros",  1, &E_GL_INTEL_shader_integer_functions2);
 9100|    107|        symbolTable.setFunctionExtensions("countTrailingZeros", 1, &E_GL_INTEL_shader_integer_functions2);
 9101|    107|        symbolTable.setFunctionExtensions("absoluteDifference", 1, &E_GL_INTEL_shader_integer_functions2);
 9102|    107|        symbolTable.setFunctionExtensions("addSaturate",        1, &E_GL_INTEL_shader_integer_functions2);
 9103|    107|        symbolTable.setFunctionExtensions("subtractSaturate",   1, &E_GL_INTEL_shader_integer_functions2);
 9104|    107|        symbolTable.setFunctionExtensions("average",            1, &E_GL_INTEL_shader_integer_functions2);
 9105|    107|        symbolTable.setFunctionExtensions("averageRounded",     1, &E_GL_INTEL_shader_integer_functions2);
 9106|    107|        symbolTable.setFunctionExtensions("multiply32x16",      1, &E_GL_INTEL_shader_integer_functions2);
 9107|       |
 9108|    107|        symbolTable.setFunctionExtensions("textureFootprintNV",          1, &E_GL_NV_shader_texture_footprint);
 9109|    107|        symbolTable.setFunctionExtensions("textureFootprintClampNV",     1, &E_GL_NV_shader_texture_footprint);
 9110|    107|        symbolTable.setFunctionExtensions("textureFootprintLodNV",       1, &E_GL_NV_shader_texture_footprint);
 9111|    107|        symbolTable.setFunctionExtensions("textureFootprintGradNV",      1, &E_GL_NV_shader_texture_footprint);
 9112|    107|        symbolTable.setFunctionExtensions("textureFootprintGradClampNV", 1, &E_GL_NV_shader_texture_footprint);
 9113|       |        // Compatibility variables, vertex only
 9114|    107|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9114:13): [True: 107, False: 0]
  ------------------
 9115|    107|            BuiltInVariable("gl_Color",          EbvColor,          symbolTable);
 9116|    107|            BuiltInVariable("gl_SecondaryColor", EbvSecondaryColor, symbolTable);
 9117|    107|            BuiltInVariable("gl_Normal",         EbvNormal,         symbolTable);
 9118|    107|            BuiltInVariable("gl_Vertex",         EbvVertex,         symbolTable);
 9119|    107|            BuiltInVariable("gl_MultiTexCoord0", EbvMultiTexCoord0, symbolTable);
 9120|    107|            BuiltInVariable("gl_MultiTexCoord1", EbvMultiTexCoord1, symbolTable);
 9121|    107|            BuiltInVariable("gl_MultiTexCoord2", EbvMultiTexCoord2, symbolTable);
 9122|    107|            BuiltInVariable("gl_MultiTexCoord3", EbvMultiTexCoord3, symbolTable);
 9123|    107|            BuiltInVariable("gl_MultiTexCoord4", EbvMultiTexCoord4, symbolTable);
 9124|    107|            BuiltInVariable("gl_MultiTexCoord5", EbvMultiTexCoord5, symbolTable);
 9125|    107|            BuiltInVariable("gl_MultiTexCoord6", EbvMultiTexCoord6, symbolTable);
 9126|    107|            BuiltInVariable("gl_MultiTexCoord7", EbvMultiTexCoord7, symbolTable);
 9127|    107|            BuiltInVariable("gl_FogCoord",       EbvFogFragCoord,   symbolTable);
 9128|    107|        }
 9129|       |
 9130|    107|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9130:13): [True: 78, False: 29]
  ------------------
 9131|     78|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9131:17): [True: 78, False: 0]
  ------------------
 9132|     78|                symbolTable.setFunctionExtensions("texture2DGradEXT",     1, &E_GL_EXT_shader_texture_lod);
 9133|     78|                symbolTable.setFunctionExtensions("texture2DProjGradEXT", 1, &E_GL_EXT_shader_texture_lod);
 9134|     78|                symbolTable.setFunctionExtensions("textureCubeGradEXT",   1, &E_GL_EXT_shader_texture_lod);
 9135|     78|                if (version == 310)
  ------------------
  |  Branch (9135:21): [True: 0, False: 78]
  ------------------
 9136|      0|                    symbolTable.setFunctionExtensions("textureGatherOffsets", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9137|     78|            }
 9138|     78|            if (version == 310) {
  ------------------
  |  Branch (9138:17): [True: 0, False: 78]
  ------------------
 9139|      0|                symbolTable.setFunctionExtensions("fma", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9140|     78|            } else if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (9140:24): [True: 0, False: 78]
  |  Branch (9140:49): [True: 0, False: 0]
  ------------------
 9141|      0|                symbolTable.setFunctionExtensions("fma", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9142|      0|            }
 9143|     78|        }
 9144|       |
 9145|    107|        if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9145:13): [True: 78, False: 29]
  |  Branch (9145:38): [True: 78, False: 0]
  ------------------
 9146|     78|            symbolTable.setFunctionExtensions("imageAtomicAdd",      1, &E_GL_OES_shader_image_atomic);
 9147|     78|            symbolTable.setFunctionExtensions("imageAtomicMin",      1, &E_GL_OES_shader_image_atomic);
 9148|     78|            symbolTable.setFunctionExtensions("imageAtomicMax",      1, &E_GL_OES_shader_image_atomic);
 9149|     78|            symbolTable.setFunctionExtensions("imageAtomicAnd",      1, &E_GL_OES_shader_image_atomic);
 9150|     78|            symbolTable.setFunctionExtensions("imageAtomicOr",       1, &E_GL_OES_shader_image_atomic);
 9151|     78|            symbolTable.setFunctionExtensions("imageAtomicXor",      1, &E_GL_OES_shader_image_atomic);
 9152|     78|            symbolTable.setFunctionExtensions("imageAtomicExchange", 1, &E_GL_OES_shader_image_atomic);
 9153|     78|            symbolTable.setFunctionExtensions("imageAtomicCompSwap", 1, &E_GL_OES_shader_image_atomic);
 9154|     78|        }
 9155|       |
 9156|    107|        if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (9156:13): [True: 29, False: 78]
  ------------------
 9157|     29|            symbolTable.setVariableExtensions("gl_ViewID_OVR", Num_OVR_multiview_EXTs, OVR_multiview_EXTs);
 9158|     29|            BuiltInVariable("gl_ViewID_OVR", EbvViewIndex, symbolTable);
 9159|     29|        }
 9160|       |
 9161|    107|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9161:13): [True: 78, False: 29]
  ------------------
 9162|     78|            symbolTable.setFunctionExtensions("shadow2DEXT",        1, &E_GL_EXT_shadow_samplers);
 9163|     78|            symbolTable.setFunctionExtensions("shadow2DProjEXT",    1, &E_GL_EXT_shadow_samplers);
 9164|     78|        }
 9165|       |
 9166|       |        // E_GL_EXT_texture_array
 9167|    107|        if (profile != EEsProfile && spvVersion.spv == 0) {
  ------------------
  |  Branch (9167:13): [True: 29, False: 78]
  |  Branch (9167:38): [True: 29, False: 0]
  ------------------
 9168|     29|            symbolTable.setFunctionExtensions("texture1DArray", 1, &E_GL_EXT_texture_array);
 9169|     29|            symbolTable.setFunctionExtensions("texture2DArray", 1, &E_GL_EXT_texture_array);
 9170|     29|            symbolTable.setFunctionExtensions("shadow1DArray", 1, &E_GL_EXT_texture_array);
 9171|     29|            symbolTable.setFunctionExtensions("shadow2DArray", 1, &E_GL_EXT_texture_array);
 9172|       |
 9173|     29|            symbolTable.setFunctionExtensions("texture1DArrayLod", 1, &E_GL_EXT_texture_array);
 9174|     29|            symbolTable.setFunctionExtensions("texture2DArrayLod", 1, &E_GL_EXT_texture_array);
 9175|     29|            symbolTable.setFunctionExtensions("shadow1DArrayLod", 1, &E_GL_EXT_texture_array);
 9176|     29|        }
 9177|    107|        [[fallthrough]];
 9178|       |
 9179|    135|    case EShLangTessControl:
  ------------------
  |  Branch (9179:5): [True: 28, False: 434]
  ------------------
 9180|    135|        if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (9180:13): [True: 78, False: 57]
  |  Branch (9180:38): [True: 0, False: 78]
  ------------------
 9181|      0|            BuiltInVariable("gl_BoundingBoxEXT", EbvBoundingBox, symbolTable);
 9182|      0|            symbolTable.setVariableExtensions("gl_BoundingBoxEXT", 1,
 9183|      0|                                              &E_GL_EXT_primitive_bounding_box);
 9184|      0|            BuiltInVariable("gl_BoundingBoxOES", EbvBoundingBox, symbolTable);
 9185|      0|            symbolTable.setVariableExtensions("gl_BoundingBoxOES", 1,
 9186|      0|                                              &E_GL_OES_primitive_bounding_box);
 9187|       |
 9188|      0|            if (version >= 320) {
  ------------------
  |  Branch (9188:17): [True: 0, False: 0]
  ------------------
 9189|      0|                BuiltInVariable("gl_BoundingBox", EbvBoundingBox, symbolTable);
 9190|      0|            }
 9191|      0|        }
 9192|    135|        [[fallthrough]];
 9193|       |
 9194|    163|    case EShLangTessEvaluation:
  ------------------
  |  Branch (9194:5): [True: 28, False: 434]
  ------------------
 9195|    191|    case EShLangGeometry:
  ------------------
  |  Branch (9195:5): [True: 28, False: 434]
  ------------------
 9196|    191|        SpecialQualifier("gl_Position",   EvqPosition,   EbvPosition,   symbolTable);
 9197|    191|        SpecialQualifier("gl_PointSize",  EvqPointSize,  EbvPointSize,  symbolTable);
 9198|       |
 9199|    191|        BuiltInVariable("gl_in",  "gl_Position",     EbvPosition,     symbolTable);
 9200|    191|        BuiltInVariable("gl_in",  "gl_PointSize",    EbvPointSize,    symbolTable);
 9201|       |
 9202|    191|        BuiltInVariable("gl_out", "gl_Position",     EbvPosition,     symbolTable);
 9203|    191|        BuiltInVariable("gl_out", "gl_PointSize",    EbvPointSize,    symbolTable);
 9204|       |
 9205|    191|        SpecialQualifier("gl_ClipVertex", EvqClipVertex, EbvClipVertex, symbolTable);
 9206|       |
 9207|    191|        BuiltInVariable("gl_in",  "gl_ClipDistance", EbvClipDistance, symbolTable);
 9208|    191|        BuiltInVariable("gl_in",  "gl_CullDistance", EbvCullDistance, symbolTable);
 9209|       |
 9210|    191|        BuiltInVariable("gl_out", "gl_ClipDistance", EbvClipDistance, symbolTable);
 9211|    191|        BuiltInVariable("gl_out", "gl_CullDistance", EbvCullDistance, symbolTable);
 9212|       |
 9213|    191|        BuiltInVariable("gl_ClipDistance",    EbvClipDistance,   symbolTable);
 9214|    191|        BuiltInVariable("gl_CullDistance",    EbvCullDistance,   symbolTable);
 9215|    191|        BuiltInVariable("gl_PrimitiveIDIn",   EbvPrimitiveId,    symbolTable);
 9216|    191|        BuiltInVariable("gl_PrimitiveID",     EbvPrimitiveId,    symbolTable);
 9217|    191|        BuiltInVariable("gl_InvocationID",    EbvInvocationId,   symbolTable);
 9218|    191|        BuiltInVariable("gl_Layer",           EbvLayer,          symbolTable);
 9219|    191|        BuiltInVariable("gl_ViewportIndex",   EbvViewportIndex,  symbolTable);
 9220|       |
 9221|    191|        if (language != EShLangGeometry) {
  ------------------
  |  Branch (9221:13): [True: 163, False: 28]
  ------------------
 9222|    163|            symbolTable.setVariableExtensions("gl_Layer",         Num_viewportEXTs, viewportEXTs);
 9223|    163|            symbolTable.setVariableExtensions("gl_ViewportIndex", Num_viewportEXTs, viewportEXTs);
 9224|    163|        }
 9225|    191|        symbolTable.setVariableExtensions("gl_ViewportMask",            1, &E_GL_NV_viewport_array2);
 9226|    191|        symbolTable.setVariableExtensions("gl_SecondaryPositionNV",     1, &E_GL_NV_stereo_view_rendering);
 9227|    191|        symbolTable.setVariableExtensions("gl_SecondaryViewportMaskNV", 1, &E_GL_NV_stereo_view_rendering);
 9228|    191|        symbolTable.setVariableExtensions("gl_PositionPerViewNV",       1, &E_GL_NVX_multiview_per_view_attributes);
 9229|    191|        symbolTable.setVariableExtensions("gl_ViewportMaskPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
 9230|       |
 9231|    191|        if (profile != EEsProfile && language == EShLangGeometry && version < 400) {
  ------------------
  |  Branch (9231:13): [True: 113, False: 78]
  |  Branch (9231:38): [True: 28, False: 85]
  |  Branch (9231:69): [True: 1, False: 27]
  ------------------
 9232|      1|            symbolTable.setVariableExtensions("gl_InvocationID", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9233|      1|        }
 9234|    191|        BuiltInVariable("gl_ViewportMask",              EbvViewportMaskNV,          symbolTable);
 9235|    191|        BuiltInVariable("gl_SecondaryPositionNV",       EbvSecondaryPositionNV,     symbolTable);
 9236|    191|        BuiltInVariable("gl_SecondaryViewportMaskNV",   EbvSecondaryViewportMaskNV, symbolTable);
 9237|    191|        BuiltInVariable("gl_PositionPerViewNV",         EbvPositionPerViewNV,       symbolTable);
 9238|    191|        BuiltInVariable("gl_ViewportMaskPerViewNV",     EbvViewportMaskPerViewNV,   symbolTable);
 9239|       |
 9240|    191|        if (language == EShLangVertex || language == EShLangGeometry) {
  ------------------
  |  Branch (9240:13): [True: 107, False: 84]
  |  Branch (9240:42): [True: 28, False: 56]
  ------------------
 9241|    135|            symbolTable.setVariableExtensions("gl_in", "gl_SecondaryPositionNV", 1, &E_GL_NV_stereo_view_rendering);
 9242|    135|            symbolTable.setVariableExtensions("gl_in", "gl_PositionPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
 9243|       |
 9244|    135|            BuiltInVariable("gl_in", "gl_SecondaryPositionNV", EbvSecondaryPositionNV, symbolTable);
 9245|    135|            BuiltInVariable("gl_in", "gl_PositionPerViewNV",   EbvPositionPerViewNV,   symbolTable);
 9246|    135|        }
 9247|    191|        symbolTable.setVariableExtensions("gl_out", "gl_ViewportMask",            1, &E_GL_NV_viewport_array2);
 9248|    191|        symbolTable.setVariableExtensions("gl_out", "gl_SecondaryPositionNV",     1, &E_GL_NV_stereo_view_rendering);
 9249|    191|        symbolTable.setVariableExtensions("gl_out", "gl_SecondaryViewportMaskNV", 1, &E_GL_NV_stereo_view_rendering);
 9250|    191|        symbolTable.setVariableExtensions("gl_out", "gl_PositionPerViewNV",       1, &E_GL_NVX_multiview_per_view_attributes);
 9251|    191|        symbolTable.setVariableExtensions("gl_out", "gl_ViewportMaskPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
 9252|       |
 9253|    191|        BuiltInVariable("gl_out", "gl_ViewportMask",            EbvViewportMaskNV,          symbolTable);
 9254|    191|        BuiltInVariable("gl_out", "gl_SecondaryPositionNV",     EbvSecondaryPositionNV,     symbolTable);
 9255|    191|        BuiltInVariable("gl_out", "gl_SecondaryViewportMaskNV", EbvSecondaryViewportMaskNV, symbolTable);
 9256|    191|        BuiltInVariable("gl_out", "gl_PositionPerViewNV",       EbvPositionPerViewNV,       symbolTable);
 9257|    191|        BuiltInVariable("gl_out", "gl_ViewportMaskPerViewNV",   EbvViewportMaskPerViewNV,   symbolTable);
 9258|       |
 9259|    191|        BuiltInVariable("gl_PatchVerticesIn", EbvPatchVertices,  symbolTable);
 9260|    191|        BuiltInVariable("gl_TessLevelOuter",  EbvTessLevelOuter, symbolTable);
 9261|    191|        BuiltInVariable("gl_TessLevelInner",  EbvTessLevelInner, symbolTable);
 9262|    191|        BuiltInVariable("gl_TessCoord",       EbvTessCoord,      symbolTable);
 9263|       |
 9264|    191|        if (version < 410)
  ------------------
  |  Branch (9264:13): [True: 83, False: 108]
  ------------------
 9265|     83|            symbolTable.setVariableExtensions("gl_ViewportIndex", 1, &E_GL_ARB_viewport_array);
 9266|       |
 9267|       |        // Compatibility variables
 9268|       |
 9269|    191|        BuiltInVariable("gl_in", "gl_ClipVertex",          EbvClipVertex,          symbolTable);
 9270|    191|        BuiltInVariable("gl_in", "gl_FrontColor",          EbvFrontColor,          symbolTable);
 9271|    191|        BuiltInVariable("gl_in", "gl_BackColor",           EbvBackColor,           symbolTable);
 9272|    191|        BuiltInVariable("gl_in", "gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
 9273|    191|        BuiltInVariable("gl_in", "gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
 9274|    191|        BuiltInVariable("gl_in", "gl_TexCoord",            EbvTexCoord,            symbolTable);
 9275|    191|        BuiltInVariable("gl_in", "gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
 9276|       |
 9277|    191|        BuiltInVariable("gl_out", "gl_ClipVertex",          EbvClipVertex,          symbolTable);
 9278|    191|        BuiltInVariable("gl_out", "gl_FrontColor",          EbvFrontColor,          symbolTable);
 9279|    191|        BuiltInVariable("gl_out", "gl_BackColor",           EbvBackColor,           symbolTable);
 9280|    191|        BuiltInVariable("gl_out", "gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
 9281|    191|        BuiltInVariable("gl_out", "gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
 9282|    191|        BuiltInVariable("gl_out", "gl_TexCoord",            EbvTexCoord,            symbolTable);
 9283|    191|        BuiltInVariable("gl_out", "gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
 9284|       |
 9285|    191|        BuiltInVariable("gl_ClipVertex",          EbvClipVertex,          symbolTable);
 9286|    191|        BuiltInVariable("gl_FrontColor",          EbvFrontColor,          symbolTable);
 9287|    191|        BuiltInVariable("gl_BackColor",           EbvBackColor,           symbolTable);
 9288|    191|        BuiltInVariable("gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
 9289|    191|        BuiltInVariable("gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
 9290|    191|        BuiltInVariable("gl_TexCoord",            EbvTexCoord,            symbolTable);
 9291|    191|        BuiltInVariable("gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
 9292|       |
 9293|       |        // gl_PointSize, when it needs to be tied to an extension, is always a member of a block.
 9294|       |        // (Sometimes with an instance name, sometimes anonymous).
 9295|    191|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9295:13): [True: 78, False: 113]
  ------------------
 9296|     78|            if (language == EShLangGeometry) {
  ------------------
  |  Branch (9296:17): [True: 0, False: 78]
  ------------------
 9297|      0|                symbolTable.setVariableExtensions("gl_PointSize", Num_AEP_geometry_point_size, AEP_geometry_point_size);
 9298|      0|                symbolTable.setVariableExtensions("gl_in", "gl_PointSize", Num_AEP_geometry_point_size, AEP_geometry_point_size);
 9299|     78|            } else if (language == EShLangTessEvaluation || language == EShLangTessControl) {
  ------------------
  |  Branch (9299:24): [True: 0, False: 78]
  |  Branch (9299:61): [True: 0, False: 78]
  ------------------
 9300|       |                // gl_in tessellation settings of gl_PointSize are in the context-dependent paths
 9301|      0|                symbolTable.setVariableExtensions("gl_PointSize", Num_AEP_tessellation_point_size, AEP_tessellation_point_size);
 9302|      0|                symbolTable.setVariableExtensions("gl_out", "gl_PointSize", Num_AEP_tessellation_point_size, AEP_tessellation_point_size);
 9303|      0|            }
 9304|     78|        }
 9305|       |
 9306|    191|        if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (9306:14): [True: 113, False: 78]
  |  Branch (9306:39): [True: 112, False: 1]
  ------------------
 9307|    112|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9307:14): [True: 78, False: 1]
  |  Branch (9307:39): [True: 0, False: 78]
  ------------------
 9308|    112|            symbolTable.setVariableExtensions("gl_DeviceIndex",  1, &E_GL_EXT_device_group);
 9309|    112|            BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
 9310|    112|            symbolTable.setVariableExtensions("gl_ViewIndex", 1, &E_GL_EXT_multiview);
 9311|    112|            BuiltInVariable("gl_ViewIndex", EbvViewIndex, symbolTable);
 9312|    112|        }
 9313|       |
 9314|    191|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9314:13): [True: 113, False: 78]
  ------------------
 9315|    113|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
 9316|    113|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
 9317|    113|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
 9318|    113|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
 9319|    113|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
 9320|    113|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
 9321|       |
 9322|    113|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (9322:17): [True: 65, False: 48]
  ------------------
 9323|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
 9324|     65|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
 9325|     65|                if (language == EShLangFragment)
  ------------------
  |  Branch (9325:21): [True: 0, False: 65]
  ------------------
 9326|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
 9327|     65|            }
 9328|     48|            else
 9329|     48|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
 9330|    113|        }
 9331|       |
 9332|       |        // GL_ARB_gpu_shader5/GL_NV_gpu_shader5
 9333|    191|        if (profile != EEsProfile && version < 400 && language == EShLangGeometry) {
  ------------------
  |  Branch (9333:13): [True: 113, False: 78]
  |  Branch (9333:38): [True: 5, False: 108]
  |  Branch (9333:55): [True: 1, False: 4]
  ------------------
 9334|      1|            symbolTable.setFunctionExtensions("EmitStreamVertex", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9335|      1|            symbolTable.setFunctionExtensions("EndStreamPrimitive", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9336|      1|        }
 9337|       |        // GL_KHR_shader_subgroup
 9338|    191|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9338:14): [True: 78, False: 113]
  |  Branch (9338:39): [True: 0, False: 78]
  ------------------
 9339|    191|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (9339:14): [True: 113, False: 78]
  |  Branch (9339:39): [True: 112, False: 1]
  ------------------
 9340|    112|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
 9341|    112|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
 9342|    112|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9343|    112|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9344|    112|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9345|    112|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9346|    112|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9347|       |
 9348|    112|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
 9349|    112|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
 9350|    112|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
 9351|    112|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
 9352|    112|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
 9353|    112|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
 9354|    112|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
 9355|       |
 9356|       |            // GL_NV_shader_sm_builtins
 9357|    112|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
 9358|    112|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
 9359|    112|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
 9360|    112|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
 9361|    112|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
 9362|    112|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
 9363|    112|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
 9364|    112|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
 9365|       |
 9366|       |            // GL_ARM_shader_core_builtins
 9367|    112|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
 9368|    112|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
 9369|    112|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
 9370|    112|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
 9371|    112|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
 9372|       |
 9373|    112|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
 9374|    112|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
 9375|    112|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
 9376|    112|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
 9377|    112|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
 9378|    112|        }
 9379|       |
 9380|    191|        if (language == EShLangGeometry || language == EShLangVertex) {
  ------------------
  |  Branch (9380:13): [True: 28, False: 163]
  |  Branch (9380:44): [True: 107, False: 56]
  ------------------
 9381|    135|            if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9381:18): [True: 78, False: 57]
  |  Branch (9381:43): [True: 0, False: 78]
  ------------------
 9382|    135|                (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (9382:18): [True: 57, False: 78]
  |  Branch (9382:43): [True: 54, False: 3]
  ------------------
 9383|     54|                symbolTable.setVariableExtensions("gl_PrimitiveShadingRateEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9384|     54|                BuiltInVariable("gl_PrimitiveShadingRateEXT", EbvPrimitiveShadingRateKHR, symbolTable);
 9385|       |
 9386|     54|                symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9387|     54|                symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9388|     54|                symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9389|     54|                symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9390|     54|            }
 9391|    135|        }
 9392|    191|        break;
 9393|       |
 9394|     28|    case EShLangFragment:
  ------------------
  |  Branch (9394:5): [True: 28, False: 434]
  ------------------
 9395|     28|        SpecialQualifier("gl_FrontFacing",      EvqFace,       EbvFace,             symbolTable);
 9396|     28|        SpecialQualifier("gl_FragCoord",        EvqFragCoord,  EbvFragCoord,        symbolTable);
 9397|     28|        SpecialQualifier("gl_PointCoord",       EvqPointCoord, EbvPointCoord,       symbolTable);
 9398|     28|        if (spvVersion.spv == 0)
  ------------------
  |  Branch (9398:13): [True: 28, False: 0]
  ------------------
 9399|     28|            SpecialQualifier("gl_FragColor",    EvqFragColor,  EbvFragColor,        symbolTable);
 9400|      0|        else {
 9401|      0|            TSymbol* symbol = symbolTable.find("gl_FragColor");
 9402|      0|            if (symbol) {
  ------------------
  |  Branch (9402:17): [True: 0, False: 0]
  ------------------
 9403|      0|                symbol->getWritableType().getQualifier().storage = EvqVaryingOut;
 9404|      0|                symbol->getWritableType().getQualifier().layoutLocation = 0;
 9405|      0|            }
 9406|      0|        }
 9407|     28|        SpecialQualifier("gl_FragDepth",        EvqFragDepth,  EbvFragDepth,        symbolTable);
 9408|     28|        SpecialQualifier("gl_FragDepthEXT",     EvqFragDepth,  EbvFragDepth,        symbolTable);
 9409|     28|        SpecialQualifier("gl_FragStencilRefARB", EvqFragStencil, EbvFragStencilRef, symbolTable);
 9410|     28|        SpecialQualifier("gl_HelperInvocation", EvqVaryingIn,  EbvHelperInvocation, symbolTable);
 9411|       |
 9412|     28|        BuiltInVariable("gl_ClipDistance",    EbvClipDistance,   symbolTable);
 9413|     28|        BuiltInVariable("gl_CullDistance",    EbvCullDistance,   symbolTable);
 9414|     28|        BuiltInVariable("gl_PrimitiveID",     EbvPrimitiveId,    symbolTable);
 9415|       |
 9416|     28|        if (profile != EEsProfile && version >= 140) {
  ------------------
  |  Branch (9416:13): [True: 12, False: 16]
  |  Branch (9416:38): [True: 12, False: 0]
  ------------------
 9417|     12|            symbolTable.setVariableExtensions("gl_FragStencilRefARB", 1, &E_GL_ARB_shader_stencil_export);
 9418|     12|            BuiltInVariable("gl_FragStencilRefARB", EbvFragStencilRef, symbolTable);
 9419|     12|        }
 9420|       |
 9421|     28|        if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (9421:13): [True: 12, False: 16]
  |  Branch (9421:38): [True: 0, False: 12]
  ------------------
 9422|      0|            symbolTable.setFunctionExtensions("textureQueryLOD", 1, &E_GL_ARB_texture_query_lod);
 9423|      0|        }
 9424|       |
 9425|     28|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (9425:13): [True: 12, False: 16]
  |  Branch (9425:38): [True: 0, False: 12]
  ------------------
 9426|      0|            symbolTable.setFunctionExtensions("rayQueryInitializeEXT",                                            1, &E_GL_EXT_ray_query);
 9427|      0|            symbolTable.setFunctionExtensions("rayQueryTerminateEXT",                                             1, &E_GL_EXT_ray_query);
 9428|      0|            symbolTable.setFunctionExtensions("rayQueryGenerateIntersectionEXT",                                  1, &E_GL_EXT_ray_query);
 9429|      0|            symbolTable.setFunctionExtensions("rayQueryConfirmIntersectionEXT",                                   1, &E_GL_EXT_ray_query);
 9430|      0|            symbolTable.setFunctionExtensions("rayQueryProceedEXT",                                               1, &E_GL_EXT_ray_query);
 9431|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionTypeEXT",                                   1, &E_GL_EXT_ray_query);
 9432|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionTEXT",                                      1, &E_GL_EXT_ray_query);
 9433|      0|            symbolTable.setFunctionExtensions("rayQueryGetRayFlagsEXT",                                           1, &E_GL_EXT_ray_query);
 9434|      0|            symbolTable.setFunctionExtensions("rayQueryGetRayTMinEXT",                                            1, &E_GL_EXT_ray_query);
 9435|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionInstanceCustomIndexEXT",                    1, &E_GL_EXT_ray_query);
 9436|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionInstanceIdEXT",                             1, &E_GL_EXT_ray_query);
 9437|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetEXT", 1, &E_GL_EXT_ray_query);
 9438|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionGeometryIndexEXT",                          1, &E_GL_EXT_ray_query);
 9439|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionPrimitiveIndexEXT",                         1, &E_GL_EXT_ray_query);
 9440|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionBarycentricsEXT",                           1, &E_GL_EXT_ray_query);
 9441|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionFrontFaceEXT",                              1, &E_GL_EXT_ray_query);
 9442|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionCandidateAABBOpaqueEXT",                    1, &E_GL_EXT_ray_query);
 9443|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionObjectRayDirectionEXT",                     1, &E_GL_EXT_ray_query);
 9444|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionObjectRayOriginEXT",                        1, &E_GL_EXT_ray_query);
 9445|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionObjectToWorldEXT",                          1, &E_GL_EXT_ray_query);
 9446|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionWorldToObjectEXT",                          1, &E_GL_EXT_ray_query);
 9447|      0|            symbolTable.setFunctionExtensions("rayQueryGetWorldRayOriginEXT",                                     1, &E_GL_EXT_ray_query);
 9448|      0|            symbolTable.setFunctionExtensions("rayQueryGetWorldRayDirectionEXT",                                  1, &E_GL_EXT_ray_query);
 9449|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionTriangleVertexPositionsEXT",                1, &E_GL_EXT_ray_tracing_position_fetch);
 9450|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionClusterIdNV",                               1, &E_GL_NV_cluster_acceleration_structure);
 9451|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionSpherePositionNV",                          1, &E_GL_NV_linear_swept_spheres);
 9452|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionSphereRadiusNV",                            1, &E_GL_NV_linear_swept_spheres);
 9453|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionLSSHitValueNV",                             1, &E_GL_NV_linear_swept_spheres);
 9454|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionLSSPositionsNV",                            1, &E_GL_NV_linear_swept_spheres);
 9455|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionLSSRadiiNV",                                1, &E_GL_NV_linear_swept_spheres);
 9456|      0|            symbolTable.setFunctionExtensions("rayQueryIsSphereHitNV",                                            1, &E_GL_NV_linear_swept_spheres);
 9457|      0|            symbolTable.setFunctionExtensions("rayQueryIsLSSHitNV",                                               1, &E_GL_NV_linear_swept_spheres);
 9458|      0|            symbolTable.setVariableExtensions("gl_RayFlagsSkipAABBEXT",                         1, &E_GL_EXT_ray_flags_primitive_culling);
 9459|      0|            symbolTable.setVariableExtensions("gl_RayFlagsSkipTrianglesEXT",                    1, &E_GL_EXT_ray_flags_primitive_culling);
 9460|      0|            symbolTable.setVariableExtensions("gl_RayFlagsForceOpacityMicromap2StateEXT",                  1, &E_GL_EXT_opacity_micromap);
 9461|      0|        }
 9462|       |
 9463|     28|        if ((profile != EEsProfile && version >= 130) ||
  ------------------
  |  Branch (9463:14): [True: 12, False: 16]
  |  Branch (9463:39): [True: 12, False: 0]
  ------------------
 9464|     16|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9464:14): [True: 16, False: 0]
  |  Branch (9464:39): [True: 0, False: 16]
  ------------------
 9465|     12|            BuiltInVariable("gl_SampleID",           EbvSampleId,       symbolTable);
 9466|     12|            BuiltInVariable("gl_SamplePosition",     EbvSamplePosition, symbolTable);
 9467|     12|            BuiltInVariable("gl_SampleMask",         EbvSampleMask,     symbolTable);
 9468|       |
 9469|     12|            if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (9469:17): [True: 12, False: 0]
  |  Branch (9469:42): [True: 0, False: 12]
  ------------------
 9470|      0|                BuiltInVariable("gl_SampleMaskIn",    EbvSampleMask,     symbolTable);
 9471|      0|                symbolTable.setVariableExtensions("gl_SampleMaskIn", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9472|       |
 9473|      0|                BuiltInVariable("gl_NumSamples",     EbvSampleMask,     symbolTable);
 9474|       |
 9475|      0|                symbolTable.setVariableExtensions("gl_SampleMask",     1, &E_GL_ARB_sample_shading);
 9476|      0|                symbolTable.setVariableExtensions("gl_SampleID",       1, &E_GL_ARB_sample_shading);
 9477|      0|                symbolTable.setVariableExtensions("gl_SamplePosition", 1, &E_GL_ARB_sample_shading);
 9478|      0|                symbolTable.setVariableExtensions("gl_NumSamples",     1, &E_GL_ARB_sample_shading);
 9479|     12|            } else {
 9480|     12|                BuiltInVariable("gl_SampleMaskIn",    EbvSampleMask,     symbolTable);
 9481|       |
 9482|     12|                if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9482:21): [True: 0, False: 12]
  |  Branch (9482:46): [True: 0, False: 0]
  ------------------
 9483|      0|                    symbolTable.setVariableExtensions("gl_SampleID", 1, &E_GL_OES_sample_variables);
 9484|      0|                    symbolTable.setVariableExtensions("gl_SamplePosition", 1, &E_GL_OES_sample_variables);
 9485|      0|                    symbolTable.setVariableExtensions("gl_SampleMaskIn", 1, &E_GL_OES_sample_variables);
 9486|      0|                    symbolTable.setVariableExtensions("gl_SampleMask", 1, &E_GL_OES_sample_variables);
 9487|      0|                    symbolTable.setVariableExtensions("gl_NumSamples", 1, &E_GL_OES_sample_variables);
 9488|      0|                }
 9489|     12|            }
 9490|     12|        }
 9491|       |
 9492|     28|        BuiltInVariable("gl_Layer",           EbvLayer,          symbolTable);
 9493|     28|        BuiltInVariable("gl_ViewportIndex",   EbvViewportIndex,  symbolTable);
 9494|       |
 9495|       |        // Compatibility variables
 9496|       |
 9497|     28|        BuiltInVariable("gl_in", "gl_FogFragCoord",   EbvFogFragCoord,   symbolTable);
 9498|     28|        BuiltInVariable("gl_in", "gl_TexCoord",       EbvTexCoord,       symbolTable);
 9499|     28|        BuiltInVariable("gl_in", "gl_Color",          EbvColor,          symbolTable);
 9500|     28|        BuiltInVariable("gl_in", "gl_SecondaryColor", EbvSecondaryColor, symbolTable);
 9501|       |
 9502|     28|        BuiltInVariable("gl_FogFragCoord",   EbvFogFragCoord,   symbolTable);
 9503|     28|        BuiltInVariable("gl_TexCoord",       EbvTexCoord,       symbolTable);
 9504|     28|        BuiltInVariable("gl_Color",          EbvColor,          symbolTable);
 9505|     28|        BuiltInVariable("gl_SecondaryColor", EbvSecondaryColor, symbolTable);
 9506|       |
 9507|       |        // built-in functions
 9508|       |
 9509|     28|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9509:13): [True: 16, False: 12]
  ------------------
 9510|     16|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9510:17): [True: 16, False: 0]
  ------------------
 9511|     16|                symbolTable.setFunctionExtensions("texture2DLodEXT",      1, &E_GL_EXT_shader_texture_lod);
 9512|     16|                symbolTable.setFunctionExtensions("texture2DProjLodEXT",  1, &E_GL_EXT_shader_texture_lod);
 9513|     16|                symbolTable.setFunctionExtensions("textureCubeLodEXT",    1, &E_GL_EXT_shader_texture_lod);
 9514|     16|                symbolTable.setFunctionExtensions("texture2DGradEXT",     1, &E_GL_EXT_shader_texture_lod);
 9515|     16|                symbolTable.setFunctionExtensions("texture2DProjGradEXT", 1, &E_GL_EXT_shader_texture_lod);
 9516|     16|                symbolTable.setFunctionExtensions("textureCubeGradEXT",   1, &E_GL_EXT_shader_texture_lod);
 9517|     16|                if (version < 320)
  ------------------
  |  Branch (9517:21): [True: 16, False: 0]
  ------------------
 9518|     16|                    symbolTable.setFunctionExtensions("textureGatherOffsets", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9519|     16|            }
 9520|     16|            if (version == 100) {
  ------------------
  |  Branch (9520:17): [True: 15, False: 1]
  ------------------
 9521|     15|                symbolTable.setFunctionExtensions("dFdx",   1, &E_GL_OES_standard_derivatives);
 9522|     15|                symbolTable.setFunctionExtensions("dFdy",   1, &E_GL_OES_standard_derivatives);
 9523|     15|                symbolTable.setFunctionExtensions("fwidth", 1, &E_GL_OES_standard_derivatives);
 9524|     15|            }
 9525|     16|            if (version == 310) {
  ------------------
  |  Branch (9525:17): [True: 0, False: 16]
  ------------------
 9526|      0|                symbolTable.setFunctionExtensions("fma", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9527|      0|                symbolTable.setFunctionExtensions("interpolateAtCentroid", 1, &E_GL_OES_shader_multisample_interpolation);
 9528|      0|                symbolTable.setFunctionExtensions("interpolateAtSample",   1, &E_GL_OES_shader_multisample_interpolation);
 9529|      0|                symbolTable.setFunctionExtensions("interpolateAtOffset",   1, &E_GL_OES_shader_multisample_interpolation);
 9530|      0|            }
 9531|     16|        } else if (version < 130) {
  ------------------
  |  Branch (9531:20): [True: 0, False: 12]
  ------------------
 9532|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9532:17): [True: 0, False: 0]
  ------------------
 9533|      0|                symbolTable.setFunctionExtensions("texture1DLod",        1, &E_GL_ARB_shader_texture_lod);
 9534|      0|                symbolTable.setFunctionExtensions("texture2DLod",        1, &E_GL_ARB_shader_texture_lod);
 9535|      0|                symbolTable.setFunctionExtensions("texture3DLod",        1, &E_GL_ARB_shader_texture_lod);
 9536|      0|                symbolTable.setFunctionExtensions("textureCubeLod",      1, &E_GL_ARB_shader_texture_lod);
 9537|      0|                symbolTable.setFunctionExtensions("texture1DProjLod",    1, &E_GL_ARB_shader_texture_lod);
 9538|      0|                symbolTable.setFunctionExtensions("texture2DProjLod",    1, &E_GL_ARB_shader_texture_lod);
 9539|      0|                symbolTable.setFunctionExtensions("texture3DProjLod",    1, &E_GL_ARB_shader_texture_lod);
 9540|      0|                symbolTable.setFunctionExtensions("shadow1DLod",         1, &E_GL_ARB_shader_texture_lod);
 9541|      0|                symbolTable.setFunctionExtensions("shadow2DLod",         1, &E_GL_ARB_shader_texture_lod);
 9542|      0|                symbolTable.setFunctionExtensions("shadow1DProjLod",     1, &E_GL_ARB_shader_texture_lod);
 9543|      0|                symbolTable.setFunctionExtensions("shadow2DProjLod",     1, &E_GL_ARB_shader_texture_lod);
 9544|      0|            }
 9545|      0|        }
 9546|       |
 9547|       |        // E_GL_ARB_shader_texture_lod functions usable only with the extension enabled
 9548|     28|        if (profile != EEsProfile && spvVersion.spv == 0) {
  ------------------
  |  Branch (9548:13): [True: 12, False: 16]
  |  Branch (9548:38): [True: 12, False: 0]
  ------------------
 9549|     12|            symbolTable.setFunctionExtensions("texture1DGradARB",         1, &E_GL_ARB_shader_texture_lod);
 9550|     12|            symbolTable.setFunctionExtensions("texture1DProjGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9551|     12|            symbolTable.setFunctionExtensions("texture2DGradARB",         1, &E_GL_ARB_shader_texture_lod);
 9552|     12|            symbolTable.setFunctionExtensions("texture2DProjGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9553|     12|            symbolTable.setFunctionExtensions("texture3DGradARB",         1, &E_GL_ARB_shader_texture_lod);
 9554|     12|            symbolTable.setFunctionExtensions("texture3DProjGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9555|     12|            symbolTable.setFunctionExtensions("textureCubeGradARB",       1, &E_GL_ARB_shader_texture_lod);
 9556|     12|            symbolTable.setFunctionExtensions("shadow1DGradARB",          1, &E_GL_ARB_shader_texture_lod);
 9557|     12|            symbolTable.setFunctionExtensions("shadow1DProjGradARB",      1, &E_GL_ARB_shader_texture_lod);
 9558|     12|            symbolTable.setFunctionExtensions("shadow2DGradARB",          1, &E_GL_ARB_shader_texture_lod);
 9559|     12|            symbolTable.setFunctionExtensions("shadow2DProjGradARB",      1, &E_GL_ARB_shader_texture_lod);
 9560|     12|            symbolTable.setFunctionExtensions("texture2DRectGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9561|     12|            symbolTable.setFunctionExtensions("texture2DRectProjGradARB", 1, &E_GL_ARB_shader_texture_lod);
 9562|     12|            symbolTable.setFunctionExtensions("shadow2DRectGradARB",      1, &E_GL_ARB_shader_texture_lod);
 9563|     12|            symbolTable.setFunctionExtensions("shadow2DRectProjGradARB",  1, &E_GL_ARB_shader_texture_lod);
 9564|     12|        }
 9565|       |
 9566|       |        // E_GL_ARB_shader_image_load_store
 9567|     28|        if (profile != EEsProfile && version < 420)
  ------------------
  |  Branch (9567:13): [True: 12, False: 16]
  |  Branch (9567:38): [True: 0, False: 12]
  ------------------
 9568|      0|            symbolTable.setFunctionExtensions("memoryBarrier", 1, &E_GL_ARB_shader_image_load_store);
 9569|       |        // All the image access functions are protected by checks on the type of the first argument.
 9570|       |
 9571|       |        // E_GL_ARB_shader_atomic_counters
 9572|     28|        if (profile != EEsProfile && version < 420) {
  ------------------
  |  Branch (9572:13): [True: 12, False: 16]
  |  Branch (9572:38): [True: 0, False: 12]
  ------------------
 9573|      0|            symbolTable.setFunctionExtensions("atomicCounterIncrement", 1, &E_GL_ARB_shader_atomic_counters);
 9574|      0|            symbolTable.setFunctionExtensions("atomicCounterDecrement", 1, &E_GL_ARB_shader_atomic_counters);
 9575|      0|            symbolTable.setFunctionExtensions("atomicCounter"         , 1, &E_GL_ARB_shader_atomic_counters);
 9576|      0|        }
 9577|       |
 9578|       |        // E_GL_ARB_gpu_shader5/E_GL_NV_gpu_shader5 
 9579|     28|        if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (9579:13): [True: 12, False: 16]
  |  Branch (9579:38): [True: 0, False: 12]
  ------------------
 9580|      0|            symbolTable.setFunctionExtensions("bitfieldExtract", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9581|      0|            symbolTable.setFunctionExtensions("bitfieldInsert", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9582|      0|            symbolTable.setFunctionExtensions("bitfieldReverse", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9583|      0|            symbolTable.setFunctionExtensions("bitCount", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9584|      0|            symbolTable.setFunctionExtensions("findLSB", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9585|      0|            symbolTable.setFunctionExtensions("findMSB", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9586|      0|            symbolTable.setFunctionExtensions("uaddCarry", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9587|      0|            symbolTable.setFunctionExtensions("usubBorrow", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9588|      0|            symbolTable.setFunctionExtensions("umulExtended", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9589|      0|            symbolTable.setFunctionExtensions("imulExtended", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9590|      0|            symbolTable.setFunctionExtensions("interpolateAtCentroid", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9591|      0|            symbolTable.setFunctionExtensions("interpolateAtSample", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9592|      0|            symbolTable.setFunctionExtensions("interpolateAtOffset", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9593|      0|        }
 9594|       |
 9595|       |        // E_GL_NV_gpu_shader5
 9596|     28|        if (profile != EEsProfile && version < 450) {
  ------------------
  |  Branch (9596:13): [True: 12, False: 16]
  |  Branch (9596:38): [True: 0, False: 12]
  ------------------
 9597|      0|            symbolTable.setFunctionExtensions("packInt2x32",     1, &E_GL_NV_gpu_shader5);
 9598|      0|            symbolTable.setFunctionExtensions("packUint2x32",     1, &E_GL_NV_gpu_shader5);
 9599|      0|            symbolTable.setFunctionExtensions("unpackInt2x32",     1, &E_GL_NV_gpu_shader5);
 9600|      0|            symbolTable.setFunctionExtensions("unpackUint2x32",     1, &E_GL_NV_gpu_shader5);
 9601|      0|            symbolTable.setFunctionExtensions("packFloat2x16",     1, &E_GL_NV_gpu_shader5);
 9602|      0|            symbolTable.setFunctionExtensions("unpackFloat2x16",     1, &E_GL_NV_gpu_shader5);
 9603|      0|            symbolTable.setFunctionExtensions("doubleBitsToInt64",     1, &E_GL_NV_gpu_shader5);
 9604|      0|            symbolTable.setFunctionExtensions("doubleBitsToUint64",     1, &E_GL_NV_gpu_shader5);
 9605|      0|            symbolTable.setFunctionExtensions("int64BitsToDouble",     1, &E_GL_NV_gpu_shader5);
 9606|      0|            symbolTable.setFunctionExtensions("uint64BitsToDouble",     1, &E_GL_NV_gpu_shader5);
 9607|      0|        }
 9608|       |
 9609|       |        // E_GL_ARB_shader_atomic_counter_ops
 9610|     28|        if (profile != EEsProfile && version == 450) {
  ------------------
  |  Branch (9610:13): [True: 12, False: 16]
  |  Branch (9610:38): [True: 12, False: 0]
  ------------------
 9611|     12|            symbolTable.setFunctionExtensions("atomicCounterAddARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9612|     12|            symbolTable.setFunctionExtensions("atomicCounterSubtractARB", 1, &E_GL_ARB_shader_atomic_counter_ops);
 9613|     12|            symbolTable.setFunctionExtensions("atomicCounterMinARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9614|     12|            symbolTable.setFunctionExtensions("atomicCounterMaxARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9615|     12|            symbolTable.setFunctionExtensions("atomicCounterAndARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9616|     12|            symbolTable.setFunctionExtensions("atomicCounterOrARB"      , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9617|     12|            symbolTable.setFunctionExtensions("atomicCounterXorARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9618|     12|            symbolTable.setFunctionExtensions("atomicCounterExchangeARB", 1, &E_GL_ARB_shader_atomic_counter_ops);
 9619|     12|            symbolTable.setFunctionExtensions("atomicCounterCompSwapARB", 1, &E_GL_ARB_shader_atomic_counter_ops);
 9620|     12|        }
 9621|       |
 9622|       |        // E_GL_ARB_derivative_control
 9623|     28|        if (profile != EEsProfile && version < 450) {
  ------------------
  |  Branch (9623:13): [True: 12, False: 16]
  |  Branch (9623:38): [True: 0, False: 12]
  ------------------
 9624|      0|            symbolTable.setFunctionExtensions("dFdxFine",     1, &E_GL_ARB_derivative_control);
 9625|      0|            symbolTable.setFunctionExtensions("dFdyFine",     1, &E_GL_ARB_derivative_control);
 9626|      0|            symbolTable.setFunctionExtensions("fwidthFine",   1, &E_GL_ARB_derivative_control);
 9627|      0|            symbolTable.setFunctionExtensions("dFdxCoarse",   1, &E_GL_ARB_derivative_control);
 9628|      0|            symbolTable.setFunctionExtensions("dFdyCoarse",   1, &E_GL_ARB_derivative_control);
 9629|      0|            symbolTable.setFunctionExtensions("fwidthCoarse", 1, &E_GL_ARB_derivative_control);
 9630|      0|        }
 9631|       |
 9632|       |        // E_GL_ARB_sparse_texture2
 9633|     28|        if (profile != EEsProfile)
  ------------------
  |  Branch (9633:13): [True: 12, False: 16]
  ------------------
 9634|     12|        {
 9635|     12|            symbolTable.setFunctionExtensions("sparseTextureARB",              1, &E_GL_ARB_sparse_texture2);
 9636|     12|            symbolTable.setFunctionExtensions("sparseTextureLodARB",           1, &E_GL_ARB_sparse_texture2);
 9637|     12|            symbolTable.setFunctionExtensions("sparseTextureOffsetARB",        1, &E_GL_ARB_sparse_texture2);
 9638|     12|            symbolTable.setFunctionExtensions("sparseTexelFetchARB",           1, &E_GL_ARB_sparse_texture2);
 9639|     12|            symbolTable.setFunctionExtensions("sparseTexelFetchOffsetARB",     1, &E_GL_ARB_sparse_texture2);
 9640|     12|            symbolTable.setFunctionExtensions("sparseTextureLodOffsetARB",     1, &E_GL_ARB_sparse_texture2);
 9641|     12|            symbolTable.setFunctionExtensions("sparseTextureGradARB",          1, &E_GL_ARB_sparse_texture2);
 9642|     12|            symbolTable.setFunctionExtensions("sparseTextureGradOffsetARB",    1, &E_GL_ARB_sparse_texture2);
 9643|     12|            symbolTable.setFunctionExtensions("sparseTextureGatherARB",        1, &E_GL_ARB_sparse_texture2);
 9644|     12|            symbolTable.setFunctionExtensions("sparseTextureGatherOffsetARB",  1, &E_GL_ARB_sparse_texture2);
 9645|     12|            symbolTable.setFunctionExtensions("sparseTextureGatherOffsetsARB", 1, &E_GL_ARB_sparse_texture2);
 9646|     12|            symbolTable.setFunctionExtensions("sparseImageLoadARB",            1, &E_GL_ARB_sparse_texture2);
 9647|     12|            symbolTable.setFunctionExtensions("sparseTexelsResident",          1, &E_GL_ARB_sparse_texture2);
 9648|     12|        }
 9649|       |
 9650|       |        // E_GL_ARB_sparse_texture_clamp
 9651|     28|        if (profile != EEsProfile)
  ------------------
  |  Branch (9651:13): [True: 12, False: 16]
  ------------------
 9652|     12|        {
 9653|     12|            symbolTable.setFunctionExtensions("sparseTextureClampARB",              1, &E_GL_ARB_sparse_texture_clamp);
 9654|     12|            symbolTable.setFunctionExtensions("sparseTextureOffsetClampARB",        1, &E_GL_ARB_sparse_texture_clamp);
 9655|     12|            symbolTable.setFunctionExtensions("sparseTextureGradClampARB",          1, &E_GL_ARB_sparse_texture_clamp);
 9656|     12|            symbolTable.setFunctionExtensions("sparseTextureGradOffsetClampARB",    1, &E_GL_ARB_sparse_texture_clamp);
 9657|     12|            symbolTable.setFunctionExtensions("textureClampARB",                    1, &E_GL_ARB_sparse_texture_clamp);
 9658|     12|            symbolTable.setFunctionExtensions("textureOffsetClampARB",              1, &E_GL_ARB_sparse_texture_clamp);
 9659|     12|            symbolTable.setFunctionExtensions("textureGradClampARB",                1, &E_GL_ARB_sparse_texture_clamp);
 9660|     12|            symbolTable.setFunctionExtensions("textureGradOffsetClampARB",          1, &E_GL_ARB_sparse_texture_clamp);
 9661|     12|        }
 9662|       |
 9663|       |        // E_GL_AMD_shader_explicit_vertex_parameter
 9664|     28|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9664:13): [True: 12, False: 16]
  ------------------
 9665|     12|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspAMD",         1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9666|     12|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspCentroidAMD", 1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9667|     12|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspSampleAMD",   1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9668|     12|            symbolTable.setVariableExtensions("gl_BaryCoordSmoothAMD",          1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9669|     12|            symbolTable.setVariableExtensions("gl_BaryCoordSmoothCentroidAMD",  1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9670|     12|            symbolTable.setVariableExtensions("gl_BaryCoordSmoothSampleAMD",    1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9671|     12|            symbolTable.setVariableExtensions("gl_BaryCoordPullModelAMD",       1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9672|       |
 9673|     12|            symbolTable.setFunctionExtensions("interpolateAtVertexAMD",         1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9674|       |
 9675|     12|            BuiltInVariable("gl_BaryCoordNoPerspAMD",           EbvBaryCoordNoPersp,         symbolTable);
 9676|     12|            BuiltInVariable("gl_BaryCoordNoPerspCentroidAMD",   EbvBaryCoordNoPerspCentroid, symbolTable);
 9677|     12|            BuiltInVariable("gl_BaryCoordNoPerspSampleAMD",     EbvBaryCoordNoPerspSample,   symbolTable);
 9678|     12|            BuiltInVariable("gl_BaryCoordSmoothAMD",            EbvBaryCoordSmooth,          symbolTable);
 9679|     12|            BuiltInVariable("gl_BaryCoordSmoothCentroidAMD",    EbvBaryCoordSmoothCentroid,  symbolTable);
 9680|     12|            BuiltInVariable("gl_BaryCoordSmoothSampleAMD",      EbvBaryCoordSmoothSample,    symbolTable);
 9681|     12|            BuiltInVariable("gl_BaryCoordPullModelAMD",         EbvBaryCoordPullModel,       symbolTable);
 9682|     12|        }
 9683|       |
 9684|       |        // E_GL_AMD_texture_gather_bias_lod
 9685|     28|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9685:13): [True: 12, False: 16]
  ------------------
 9686|     12|            symbolTable.setFunctionExtensions("textureGatherLodAMD",                1, &E_GL_AMD_texture_gather_bias_lod);
 9687|     12|            symbolTable.setFunctionExtensions("textureGatherLodOffsetAMD",          1, &E_GL_AMD_texture_gather_bias_lod);
 9688|     12|            symbolTable.setFunctionExtensions("textureGatherLodOffsetsAMD",         1, &E_GL_AMD_texture_gather_bias_lod);
 9689|     12|            symbolTable.setFunctionExtensions("sparseTextureGatherLodAMD",          1, &E_GL_AMD_texture_gather_bias_lod);
 9690|     12|            symbolTable.setFunctionExtensions("sparseTextureGatherLodOffsetAMD",    1, &E_GL_AMD_texture_gather_bias_lod);
 9691|     12|            symbolTable.setFunctionExtensions("sparseTextureGatherLodOffsetsAMD",   1, &E_GL_AMD_texture_gather_bias_lod);
 9692|     12|        }
 9693|       |
 9694|       |        // E_GL_AMD_shader_image_load_store_lod
 9695|     28|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9695:13): [True: 12, False: 16]
  ------------------
 9696|     12|            symbolTable.setFunctionExtensions("imageLoadLodAMD",        1, &E_GL_AMD_shader_image_load_store_lod);
 9697|     12|            symbolTable.setFunctionExtensions("imageStoreLodAMD",       1, &E_GL_AMD_shader_image_load_store_lod);
 9698|     12|            symbolTable.setFunctionExtensions("sparseImageLoadLodAMD",  1, &E_GL_AMD_shader_image_load_store_lod);
 9699|     12|        }
 9700|     28|        if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (9700:13): [True: 12, False: 16]
  |  Branch (9700:38): [True: 12, False: 0]
  ------------------
 9701|     12|            symbolTable.setVariableExtensions("gl_FragFullyCoveredNV", 1, &E_GL_NV_conservative_raster_underestimation);
 9702|     12|            BuiltInVariable("gl_FragFullyCoveredNV", EbvFragFullyCoveredNV, symbolTable);
 9703|     12|        }
 9704|     28|        if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (9704:14): [True: 12, False: 16]
  |  Branch (9704:39): [True: 12, False: 0]
  ------------------
 9705|     16|            (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (9705:14): [True: 16, False: 0]
  |  Branch (9705:39): [True: 0, False: 16]
  ------------------
 9706|     12|            symbolTable.setVariableExtensions("gl_FragmentSizeNV",        1, &E_GL_NV_shading_rate_image);
 9707|     12|            symbolTable.setVariableExtensions("gl_InvocationsPerPixelNV", 1, &E_GL_NV_shading_rate_image);
 9708|     12|            BuiltInVariable("gl_FragmentSizeNV",        EbvFragmentSizeNV, symbolTable);
 9709|     12|            BuiltInVariable("gl_InvocationsPerPixelNV", EbvInvocationsPerPixelNV, symbolTable);
 9710|     12|            symbolTable.setVariableExtensions("gl_BaryCoordNV",        1, &E_GL_NV_fragment_shader_barycentric);
 9711|     12|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspNV", 1, &E_GL_NV_fragment_shader_barycentric);
 9712|     12|            BuiltInVariable("gl_BaryCoordNV",        EbvBaryCoordNV,        symbolTable);
 9713|     12|            BuiltInVariable("gl_BaryCoordNoPerspNV", EbvBaryCoordNoPerspNV, symbolTable);
 9714|     12|            symbolTable.setVariableExtensions("gl_BaryCoordEXT",        1, &E_GL_EXT_fragment_shader_barycentric);
 9715|     12|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspEXT", 1, &E_GL_EXT_fragment_shader_barycentric);
 9716|     12|            BuiltInVariable("gl_BaryCoordEXT",        EbvBaryCoordEXT,        symbolTable);
 9717|     12|            BuiltInVariable("gl_BaryCoordNoPerspEXT", EbvBaryCoordNoPerspEXT, symbolTable);
 9718|     12|        }
 9719|       |
 9720|     28|        if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (9720:14): [True: 12, False: 16]
  |  Branch (9720:39): [True: 12, False: 0]
  ------------------
 9721|     16|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9721:14): [True: 16, False: 0]
  |  Branch (9721:39): [True: 0, False: 16]
  ------------------
 9722|     12|            symbolTable.setVariableExtensions("gl_FragSizeEXT",            1, &E_GL_EXT_fragment_invocation_density);
 9723|     12|            symbolTable.setVariableExtensions("gl_FragInvocationCountEXT", 1, &E_GL_EXT_fragment_invocation_density);
 9724|     12|            BuiltInVariable("gl_FragSizeEXT",            EbvFragSizeEXT, symbolTable);
 9725|     12|            BuiltInVariable("gl_FragInvocationCountEXT", EbvFragInvocationCountEXT, symbolTable);
 9726|     12|        }
 9727|       |
 9728|     28|        symbolTable.setVariableExtensions("gl_FragDepthEXT", 1, &E_GL_EXT_frag_depth);
 9729|       |
 9730|     28|        symbolTable.setFunctionExtensions("clockARB",     1, &E_GL_ARB_shader_clock);
 9731|     28|        symbolTable.setFunctionExtensions("clock2x32ARB", 1, &E_GL_ARB_shader_clock);
 9732|       |
 9733|     28|        symbolTable.setFunctionExtensions("clockRealtimeEXT", 1, &E_GL_EXT_shader_realtime_clock);
 9734|     28|        symbolTable.setFunctionExtensions("clockRealtime2x32EXT", 1, &E_GL_EXT_shader_realtime_clock);
 9735|       |
 9736|     28|        if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9736:13): [True: 16, False: 12]
  |  Branch (9736:38): [True: 16, False: 0]
  ------------------
 9737|     16|            symbolTable.setVariableExtensions("gl_PrimitiveID",  Num_AEP_geometry_shader, AEP_geometry_shader);
 9738|     16|            symbolTable.setVariableExtensions("gl_Layer",        Num_AEP_geometry_shader, AEP_geometry_shader);
 9739|     16|        }
 9740|       |
 9741|     28|        if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9741:13): [True: 16, False: 12]
  |  Branch (9741:38): [True: 16, False: 0]
  ------------------
 9742|     16|            symbolTable.setFunctionExtensions("imageAtomicAdd",      1, &E_GL_OES_shader_image_atomic);
 9743|     16|            symbolTable.setFunctionExtensions("imageAtomicMin",      1, &E_GL_OES_shader_image_atomic);
 9744|     16|            symbolTable.setFunctionExtensions("imageAtomicMax",      1, &E_GL_OES_shader_image_atomic);
 9745|     16|            symbolTable.setFunctionExtensions("imageAtomicAnd",      1, &E_GL_OES_shader_image_atomic);
 9746|     16|            symbolTable.setFunctionExtensions("imageAtomicOr",       1, &E_GL_OES_shader_image_atomic);
 9747|     16|            symbolTable.setFunctionExtensions("imageAtomicXor",      1, &E_GL_OES_shader_image_atomic);
 9748|     16|            symbolTable.setFunctionExtensions("imageAtomicExchange", 1, &E_GL_OES_shader_image_atomic);
 9749|     16|            symbolTable.setFunctionExtensions("imageAtomicCompSwap", 1, &E_GL_OES_shader_image_atomic);
 9750|     16|        }
 9751|       |
 9752|     28|        if (profile != EEsProfile && version < 330 ) {
  ------------------
  |  Branch (9752:13): [True: 12, False: 16]
  |  Branch (9752:38): [True: 0, False: 12]
  ------------------
 9753|      0|            const int numBitEncodingExts = 3;
 9754|      0|            const char* bitEncodingExts[numBitEncodingExts] = { E_GL_ARB_shader_bit_encoding,
 9755|      0|                                                                E_GL_ARB_gpu_shader5,
 9756|      0|                                                                E_GL_NV_gpu_shader5};
 9757|      0|            symbolTable.setFunctionExtensions("floatBitsToInt", numBitEncodingExts, bitEncodingExts);
 9758|      0|            symbolTable.setFunctionExtensions("floatBitsToUint", numBitEncodingExts, bitEncodingExts);
 9759|      0|            symbolTable.setFunctionExtensions("intBitsToFloat", numBitEncodingExts, bitEncodingExts);
 9760|      0|            symbolTable.setFunctionExtensions("uintBitsToFloat", numBitEncodingExts, bitEncodingExts);
 9761|       |
 9762|      0|        }
 9763|       |
 9764|     28|        if (profile != EEsProfile && version < 430 ) {
  ------------------
  |  Branch (9764:13): [True: 12, False: 16]
  |  Branch (9764:38): [True: 0, False: 12]
  ------------------
 9765|      0|            symbolTable.setFunctionExtensions("imageSize", 1, &E_GL_ARB_shader_image_size);
 9766|      0|        }
 9767|       |
 9768|       |        // GL_ARB_shader_storage_buffer_object
 9769|     28|        if (profile != EEsProfile && version < 430 ) {
  ------------------
  |  Branch (9769:13): [True: 12, False: 16]
  |  Branch (9769:38): [True: 0, False: 12]
  ------------------
 9770|      0|            symbolTable.setFunctionExtensions("atomicAdd", 1, &E_GL_ARB_shader_storage_buffer_object);
 9771|      0|            symbolTable.setFunctionExtensions("atomicMin", 1, &E_GL_ARB_shader_storage_buffer_object);
 9772|      0|            symbolTable.setFunctionExtensions("atomicMax", 1, &E_GL_ARB_shader_storage_buffer_object);
 9773|      0|            symbolTable.setFunctionExtensions("atomicAnd", 1, &E_GL_ARB_shader_storage_buffer_object);
 9774|      0|            symbolTable.setFunctionExtensions("atomicOr", 1, &E_GL_ARB_shader_storage_buffer_object);
 9775|      0|            symbolTable.setFunctionExtensions("atomicXor", 1, &E_GL_ARB_shader_storage_buffer_object);
 9776|      0|            symbolTable.setFunctionExtensions("atomicExchange", 1, &E_GL_ARB_shader_storage_buffer_object);
 9777|      0|            symbolTable.setFunctionExtensions("atomicCompSwap", 1, &E_GL_ARB_shader_storage_buffer_object);
 9778|      0|        }
 9779|       |
 9780|       |        // GL_ARB_shading_language_packing
 9781|     28|        if (profile != EEsProfile && version < 400 ) {
  ------------------
  |  Branch (9781:13): [True: 12, False: 16]
  |  Branch (9781:38): [True: 0, False: 12]
  ------------------
 9782|      0|            const int numPackingExts = 3;
 9783|      0|            const char* packingExts[numPackingExts] = { E_GL_ARB_shading_language_packing,
 9784|      0|                                                                E_GL_ARB_gpu_shader5,
 9785|      0|                                                                E_GL_NV_gpu_shader5};
 9786|      0|            symbolTable.setFunctionExtensions("packUnorm2x16", numPackingExts, packingExts);
 9787|      0|            symbolTable.setFunctionExtensions("unpackUnorm2x16", numPackingExts, packingExts);
 9788|      0|            symbolTable.setFunctionExtensions("packSnorm4x8", numPackingExts, packingExts);
 9789|      0|            symbolTable.setFunctionExtensions("packUnorm4x8", numPackingExts, packingExts);
 9790|      0|            symbolTable.setFunctionExtensions("unpackSnorm4x8", numPackingExts, packingExts);
 9791|      0|            symbolTable.setFunctionExtensions("unpackUnorm4x8", numPackingExts, packingExts);
 9792|      0|        }
 9793|     28|        if (profile != EEsProfile && version < 420 ) {
  ------------------
  |  Branch (9793:13): [True: 12, False: 16]
  |  Branch (9793:38): [True: 0, False: 12]
  ------------------
 9794|      0|            symbolTable.setFunctionExtensions("packSnorm2x16", 1, &E_GL_ARB_shading_language_packing);
 9795|      0|            symbolTable.setFunctionExtensions("unpackSnorm2x16", 1, &E_GL_ARB_shading_language_packing);
 9796|      0|            symbolTable.setFunctionExtensions("unpackHalf2x16", 1, &E_GL_ARB_shading_language_packing);
 9797|      0|            symbolTable.setFunctionExtensions("packHalf2x16", 1, &E_GL_ARB_shading_language_packing);
 9798|      0|        }
 9799|       |
 9800|     28|        symbolTable.setVariableExtensions("gl_DeviceIndex",  1, &E_GL_EXT_device_group);
 9801|     28|        BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
 9802|     28|        symbolTable.setVariableExtensions("gl_ViewIndex", 1, &E_GL_EXT_multiview);
 9803|     28|        BuiltInVariable("gl_ViewIndex", EbvViewIndex, symbolTable);
 9804|     28|        if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (9804:13): [True: 13, False: 15]
  ------------------
 9805|     13|            symbolTable.setVariableExtensions("gl_ViewID_OVR", Num_OVR_multiview_EXTs, OVR_multiview_EXTs);
 9806|     13|            BuiltInVariable("gl_ViewID_OVR", EbvViewIndex, symbolTable);
 9807|     13|        }
 9808|       |
 9809|       |        // GL_ARB_shader_ballot
 9810|     28|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9810:13): [True: 12, False: 16]
  ------------------
 9811|     12|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
 9812|     12|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
 9813|     12|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
 9814|     12|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9815|     12|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9816|     12|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9817|     12|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9818|       |
 9819|     12|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
 9820|     12|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
 9821|     12|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
 9822|     12|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
 9823|     12|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
 9824|     12|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
 9825|       |
 9826|     12|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (9826:17): [True: 0, False: 12]
  ------------------
 9827|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
 9828|      0|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
 9829|      0|                if (language == EShLangFragment)
  ------------------
  |  Branch (9829:21): [True: 0, False: 0]
  ------------------
 9830|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
 9831|      0|            }
 9832|     12|            else
 9833|     12|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
 9834|     12|        }
 9835|       |
 9836|       |        // GL_EXT_expect_assume
 9837|     28|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9837:14): [True: 16, False: 12]
  |  Branch (9837:39): [True: 0, False: 16]
  ------------------
 9838|     28|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (9838:14): [True: 12, False: 16]
  |  Branch (9838:39): [True: 12, False: 0]
  ------------------
 9839|     12|            symbolTable.setFunctionExtensions("assumeEXT", 1, &E_GL_EXT_expect_assume);
 9840|     12|            symbolTable.setFunctionExtensions("expectEXT", 1, &E_GL_EXT_expect_assume);
 9841|     12|        }
 9842|       |
 9843|       |        // GL_KHR_shader_subgroup
 9844|     28|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9844:14): [True: 16, False: 12]
  |  Branch (9844:39): [True: 0, False: 16]
  ------------------
 9845|     28|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (9845:14): [True: 12, False: 16]
  |  Branch (9845:39): [True: 12, False: 0]
  ------------------
 9846|     12|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
 9847|     12|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
 9848|     12|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9849|     12|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9850|     12|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9851|     12|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9852|     12|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9853|       |
 9854|     12|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
 9855|     12|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
 9856|     12|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
 9857|     12|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
 9858|     12|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
 9859|     12|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
 9860|     12|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
 9861|       |
 9862|     12|            symbolTable.setFunctionExtensions("subgroupBarrier",                 1, &E_GL_KHR_shader_subgroup_basic);
 9863|     12|            symbolTable.setFunctionExtensions("subgroupMemoryBarrier",           1, &E_GL_KHR_shader_subgroup_basic);
 9864|     12|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierBuffer",     1, &E_GL_KHR_shader_subgroup_basic);
 9865|     12|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierImage",      1, &E_GL_KHR_shader_subgroup_basic);
 9866|     12|            symbolTable.setFunctionExtensions("subgroupElect",                   1, &E_GL_KHR_shader_subgroup_basic);
 9867|     12|            symbolTable.setFunctionExtensions("subgroupAll",                     1, &E_GL_KHR_shader_subgroup_vote);
 9868|     12|            symbolTable.setFunctionExtensions("subgroupAny",                     1, &E_GL_KHR_shader_subgroup_vote);
 9869|     12|            symbolTable.setFunctionExtensions("subgroupAllEqual",                1, &E_GL_KHR_shader_subgroup_vote);
 9870|     12|            symbolTable.setFunctionExtensions("subgroupBroadcast",               1, &E_GL_KHR_shader_subgroup_ballot);
 9871|     12|            symbolTable.setFunctionExtensions("subgroupBroadcastFirst",          1, &E_GL_KHR_shader_subgroup_ballot);
 9872|     12|            symbolTable.setFunctionExtensions("subgroupBallot",                  1, &E_GL_KHR_shader_subgroup_ballot);
 9873|     12|            symbolTable.setFunctionExtensions("subgroupInverseBallot",           1, &E_GL_KHR_shader_subgroup_ballot);
 9874|     12|            symbolTable.setFunctionExtensions("subgroupBallotBitExtract",        1, &E_GL_KHR_shader_subgroup_ballot);
 9875|     12|            symbolTable.setFunctionExtensions("subgroupBallotBitCount",          1, &E_GL_KHR_shader_subgroup_ballot);
 9876|     12|            symbolTable.setFunctionExtensions("subgroupBallotInclusiveBitCount", 1, &E_GL_KHR_shader_subgroup_ballot);
 9877|     12|            symbolTable.setFunctionExtensions("subgroupBallotExclusiveBitCount", 1, &E_GL_KHR_shader_subgroup_ballot);
 9878|     12|            symbolTable.setFunctionExtensions("subgroupBallotFindLSB",           1, &E_GL_KHR_shader_subgroup_ballot);
 9879|     12|            symbolTable.setFunctionExtensions("subgroupBallotFindMSB",           1, &E_GL_KHR_shader_subgroup_ballot);
 9880|     12|            symbolTable.setFunctionExtensions("subgroupShuffle",                 1, &E_GL_KHR_shader_subgroup_shuffle);
 9881|     12|            symbolTable.setFunctionExtensions("subgroupShuffleXor",              1, &E_GL_KHR_shader_subgroup_shuffle);
 9882|     12|            symbolTable.setFunctionExtensions("subgroupShuffleUp",               1, &E_GL_KHR_shader_subgroup_shuffle_relative);
 9883|     12|            symbolTable.setFunctionExtensions("subgroupShuffleDown",             1, &E_GL_KHR_shader_subgroup_shuffle_relative);
 9884|     12|            symbolTable.setFunctionExtensions("subgroupRotate",                  1, &E_GL_KHR_shader_subgroup_rotate);
 9885|     12|            symbolTable.setFunctionExtensions("subgroupClusteredRotate",         1, &E_GL_KHR_shader_subgroup_rotate);
 9886|     12|            symbolTable.setFunctionExtensions("subgroupAdd",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
 9887|     12|            symbolTable.setFunctionExtensions("subgroupMul",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
 9888|     12|            symbolTable.setFunctionExtensions("subgroupMin",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
 9889|     12|            symbolTable.setFunctionExtensions("subgroupMax",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
 9890|     12|            symbolTable.setFunctionExtensions("subgroupAnd",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
 9891|     12|            symbolTable.setFunctionExtensions("subgroupOr",                      1, &E_GL_KHR_shader_subgroup_arithmetic);
 9892|     12|            symbolTable.setFunctionExtensions("subgroupXor",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
 9893|     12|            symbolTable.setFunctionExtensions("subgroupInclusiveAdd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9894|     12|            symbolTable.setFunctionExtensions("subgroupInclusiveMul",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9895|     12|            symbolTable.setFunctionExtensions("subgroupInclusiveMin",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9896|     12|            symbolTable.setFunctionExtensions("subgroupInclusiveMax",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9897|     12|            symbolTable.setFunctionExtensions("subgroupInclusiveAnd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9898|     12|            symbolTable.setFunctionExtensions("subgroupInclusiveOr",             1, &E_GL_KHR_shader_subgroup_arithmetic);
 9899|     12|            symbolTable.setFunctionExtensions("subgroupInclusiveXor",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9900|     12|            symbolTable.setFunctionExtensions("subgroupExclusiveAdd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9901|     12|            symbolTable.setFunctionExtensions("subgroupExclusiveMul",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9902|     12|            symbolTable.setFunctionExtensions("subgroupExclusiveMin",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9903|     12|            symbolTable.setFunctionExtensions("subgroupExclusiveMax",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9904|     12|            symbolTable.setFunctionExtensions("subgroupExclusiveAnd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9905|     12|            symbolTable.setFunctionExtensions("subgroupExclusiveOr",             1, &E_GL_KHR_shader_subgroup_arithmetic);
 9906|     12|            symbolTable.setFunctionExtensions("subgroupExclusiveXor",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9907|     12|            symbolTable.setFunctionExtensions("subgroupClusteredAdd",            1, &E_GL_KHR_shader_subgroup_clustered);
 9908|     12|            symbolTable.setFunctionExtensions("subgroupClusteredMul",            1, &E_GL_KHR_shader_subgroup_clustered);
 9909|     12|            symbolTable.setFunctionExtensions("subgroupClusteredMin",            1, &E_GL_KHR_shader_subgroup_clustered);
 9910|     12|            symbolTable.setFunctionExtensions("subgroupClusteredMax",            1, &E_GL_KHR_shader_subgroup_clustered);
 9911|     12|            symbolTable.setFunctionExtensions("subgroupClusteredAnd",            1, &E_GL_KHR_shader_subgroup_clustered);
 9912|     12|            symbolTable.setFunctionExtensions("subgroupClusteredOr",             1, &E_GL_KHR_shader_subgroup_clustered);
 9913|     12|            symbolTable.setFunctionExtensions("subgroupClusteredXor",            1, &E_GL_KHR_shader_subgroup_clustered);
 9914|     12|            symbolTable.setFunctionExtensions("subgroupQuadBroadcast",           1, &E_GL_KHR_shader_subgroup_quad);
 9915|     12|            symbolTable.setFunctionExtensions("subgroupQuadSwapHorizontal",      1, &E_GL_KHR_shader_subgroup_quad);
 9916|     12|            symbolTable.setFunctionExtensions("subgroupQuadSwapVertical",        1, &E_GL_KHR_shader_subgroup_quad);
 9917|     12|            symbolTable.setFunctionExtensions("subgroupQuadSwapDiagonal",        1, &E_GL_KHR_shader_subgroup_quad);
 9918|     12|            symbolTable.setFunctionExtensions("subgroupPartitionNV",                          1, &E_GL_NV_shader_subgroup_partitioned);
 9919|     12|            symbolTable.setFunctionExtensions("subgroupPartitionedAddNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
 9920|     12|            symbolTable.setFunctionExtensions("subgroupPartitionedMulNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
 9921|     12|            symbolTable.setFunctionExtensions("subgroupPartitionedMinNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
 9922|     12|            symbolTable.setFunctionExtensions("subgroupPartitionedMaxNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
 9923|     12|            symbolTable.setFunctionExtensions("subgroupPartitionedAndNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
 9924|     12|            symbolTable.setFunctionExtensions("subgroupPartitionedOrNV",                      1, &E_GL_NV_shader_subgroup_partitioned);
 9925|     12|            symbolTable.setFunctionExtensions("subgroupPartitionedXorNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
 9926|     12|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveAddNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9927|     12|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveMulNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9928|     12|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveMinNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9929|     12|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveMaxNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9930|     12|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveAndNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9931|     12|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveOrNV",             1, &E_GL_NV_shader_subgroup_partitioned);
 9932|     12|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveXorNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9933|     12|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveAddNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9934|     12|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveMulNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9935|     12|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveMinNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9936|     12|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveMaxNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9937|     12|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveAndNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9938|     12|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveOrNV",             1, &E_GL_NV_shader_subgroup_partitioned);
 9939|     12|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveXorNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9940|       |
 9941|       |            // GL_NV_shader_sm_builtins
 9942|     12|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
 9943|     12|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
 9944|     12|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
 9945|     12|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
 9946|     12|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
 9947|     12|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
 9948|     12|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
 9949|     12|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
 9950|       |
 9951|       |            // GL_ARM_shader_core_builtins
 9952|     12|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
 9953|     12|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
 9954|     12|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
 9955|     12|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
 9956|     12|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
 9957|       |
 9958|     12|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
 9959|     12|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
 9960|     12|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
 9961|     12|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
 9962|     12|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
 9963|     12|        }
 9964|       |
 9965|     28|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9965:13): [True: 16, False: 12]
  ------------------
 9966|     16|            symbolTable.setFunctionExtensions("shadow2DEXT",        1, &E_GL_EXT_shadow_samplers);
 9967|     16|            symbolTable.setFunctionExtensions("shadow2DProjEXT",    1, &E_GL_EXT_shadow_samplers);
 9968|     16|        }
 9969|       |
 9970|     28|        if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (9970:13): [True: 1, False: 27]
  ------------------
 9971|      1|            symbolTable.setVariableExtensions("gl_ScopeDevice",             1, &E_GL_KHR_memory_scope_semantics);
 9972|      1|            symbolTable.setVariableExtensions("gl_ScopeWorkgroup",          1, &E_GL_KHR_memory_scope_semantics);
 9973|      1|            symbolTable.setVariableExtensions("gl_ScopeSubgroup",           1, &E_GL_KHR_memory_scope_semantics);
 9974|      1|            symbolTable.setVariableExtensions("gl_ScopeInvocation",         1, &E_GL_KHR_memory_scope_semantics);
 9975|       |
 9976|      1|            symbolTable.setVariableExtensions("gl_SemanticsRelaxed",        1, &E_GL_KHR_memory_scope_semantics);
 9977|      1|            symbolTable.setVariableExtensions("gl_SemanticsAcquire",        1, &E_GL_KHR_memory_scope_semantics);
 9978|      1|            symbolTable.setVariableExtensions("gl_SemanticsRelease",        1, &E_GL_KHR_memory_scope_semantics);
 9979|      1|            symbolTable.setVariableExtensions("gl_SemanticsAcquireRelease", 1, &E_GL_KHR_memory_scope_semantics);
 9980|      1|            symbolTable.setVariableExtensions("gl_SemanticsMakeAvailable",  1, &E_GL_KHR_memory_scope_semantics);
 9981|      1|            symbolTable.setVariableExtensions("gl_SemanticsMakeVisible",    1, &E_GL_KHR_memory_scope_semantics);
 9982|      1|            symbolTable.setVariableExtensions("gl_SemanticsVolatile",       1, &E_GL_KHR_memory_scope_semantics);
 9983|       |
 9984|      1|            symbolTable.setVariableExtensions("gl_StorageSemanticsNone",    1, &E_GL_KHR_memory_scope_semantics);
 9985|      1|            symbolTable.setVariableExtensions("gl_StorageSemanticsBuffer",  1, &E_GL_KHR_memory_scope_semantics);
 9986|      1|            symbolTable.setVariableExtensions("gl_StorageSemanticsShared",  1, &E_GL_KHR_memory_scope_semantics);
 9987|      1|            symbolTable.setVariableExtensions("gl_StorageSemanticsImage",   1, &E_GL_KHR_memory_scope_semantics);
 9988|      1|            symbolTable.setVariableExtensions("gl_StorageSemanticsOutput",  1, &E_GL_KHR_memory_scope_semantics);
 9989|      1|        }
 9990|       |
 9991|     28|        symbolTable.setFunctionExtensions("helperInvocationEXT",            1, &E_GL_EXT_demote_to_helper_invocation);
 9992|       |
 9993|     28|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9993:14): [True: 16, False: 12]
  |  Branch (9993:39): [True: 0, False: 16]
  ------------------
 9994|     28|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (9994:14): [True: 12, False: 16]
  |  Branch (9994:39): [True: 12, False: 0]
  ------------------
 9995|     12|            symbolTable.setVariableExtensions("gl_ShadingRateEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9996|     12|            BuiltInVariable("gl_ShadingRateEXT", EbvShadingRateKHR, symbolTable);
 9997|       |
 9998|     12|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9999|     12|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10000|     12|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10001|     12|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10002|     12|        }
10003|       |
10004|       |        // GL_EXT_shader_quad_control
10005|     28|        if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (10005:14): [True: 12, False: 16]
  |  Branch (10005:39): [True: 12, False: 0]
  ------------------
10006|     16|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (10006:14): [True: 16, False: 0]
  |  Branch (10006:39): [True: 0, False: 16]
  ------------------
10007|     12|            symbolTable.setFunctionExtensions("subgroupQuadAll",                     1,  &E_GL_KHR_shader_subgroup_vote);
10008|     12|            symbolTable.setFunctionExtensions("subgroupQuadAny",                     1,  &E_GL_KHR_shader_subgroup_vote);
10009|     12|        }
10010|       |
10011|       |        // GL_EXT_shader_tile_image
10012|     28|        symbolTable.setFunctionExtensions("stencilAttachmentReadEXT", 1, &E_GL_EXT_shader_tile_image);
10013|     28|        symbolTable.setFunctionExtensions("depthAttachmentReadEXT", 1, &E_GL_EXT_shader_tile_image);
10014|     28|        symbolTable.setFunctionExtensions("colorAttachmentReadEXT", 1, &E_GL_EXT_shader_tile_image);
10015|       |
10016|     28|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10016:14): [True: 16, False: 12]
  |  Branch (10016:39): [True: 0, False: 16]
  ------------------
10017|     28|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10017:14): [True: 12, False: 16]
  |  Branch (10017:39): [True: 12, False: 0]
  ------------------
10018|       |
10019|     12|            symbolTable.setFunctionExtensions("textureWeightedQCOM",      1, &E_GL_QCOM_image_processing);
10020|     12|            symbolTable.setFunctionExtensions("textureBoxFilterQCOM",     1, &E_GL_QCOM_image_processing);
10021|     12|            symbolTable.setFunctionExtensions("textureBlockMatchSADQCOM", 1, &E_GL_QCOM_image_processing);
10022|     12|            symbolTable.setFunctionExtensions("textureBlockMatchSSDQCOM", 1, &E_GL_QCOM_image_processing);
10023|       |
10024|     12|            symbolTable.setFunctionExtensions("textureBlockMatchWindowSSDQCOM", 1, &E_GL_QCOM_image_processing2);
10025|     12|            symbolTable.setFunctionExtensions("textureBlockMatchWindowSADQCOM", 1, &E_GL_QCOM_image_processing2);
10026|     12|            symbolTable.setFunctionExtensions("textureBlockMatchGatherSSDQCOM", 1, &E_GL_QCOM_image_processing2);
10027|     12|            symbolTable.setFunctionExtensions("textureBlockMatchGatherSADQCOM", 1, &E_GL_QCOM_image_processing2);
10028|     12|        }
10029|       |
10030|     28|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10030:14): [True: 16, False: 12]
  |  Branch (10030:39): [True: 0, False: 16]
  ------------------
10031|     28|            (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10031:14): [True: 12, False: 16]
  |  Branch (10031:39): [True: 0, False: 12]
  ------------------
10032|      0|            BuiltInVariable("gl_TileOffsetQCOM",    EbvTileOffsetQCOM,      symbolTable);
10033|      0|            BuiltInVariable("gl_TileDimensionQCOM", EbvTileDimensionQCOM,   symbolTable);
10034|      0|            BuiltInVariable("gl_TileApronSizeQCOM", EbvTileApronSizeQCOM,   symbolTable);
10035|       |
10036|      0|            symbolTable.setVariableExtensions("gl_TileOffsetQCOM",        1, &E_GL_QCOM_tile_shading);
10037|      0|            symbolTable.setVariableExtensions("gl_TileDimensionQCOM",     1, &E_GL_QCOM_tile_shading);
10038|      0|            symbolTable.setVariableExtensions("gl_TileApronSizeQCOM",     1, &E_GL_QCOM_tile_shading);
10039|      0|        }
10040|     28|        break;
10041|       |
10042|     27|    case EShLangCompute:
  ------------------
  |  Branch (10042:5): [True: 27, False: 435]
  ------------------
10043|     27|        BuiltInVariable("gl_NumWorkGroups",         EbvNumWorkGroups,        symbolTable);
10044|     27|        BuiltInVariable("gl_WorkGroupSize",         EbvWorkGroupSize,        symbolTable);
10045|     27|        BuiltInVariable("gl_WorkGroupID",           EbvWorkGroupId,          symbolTable);
10046|     27|        BuiltInVariable("gl_LocalInvocationID",     EbvLocalInvocationId,    symbolTable);
10047|     27|        BuiltInVariable("gl_GlobalInvocationID",    EbvGlobalInvocationId,   symbolTable);
10048|     27|        BuiltInVariable("gl_LocalInvocationIndex",  EbvLocalInvocationIndex, symbolTable);
10049|     27|        BuiltInVariable("gl_DeviceIndex",           EbvDeviceIndex,          symbolTable);
10050|     27|        BuiltInVariable("gl_ViewIndex",             EbvViewIndex,            symbolTable);
10051|       |
10052|     27|        if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (10052:14): [True: 27, False: 0]
  |  Branch (10052:39): [True: 27, False: 0]
  ------------------
10053|     27|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (10053:14): [True: 0, False: 0]
  |  Branch (10053:39): [True: 0, False: 0]
  ------------------
10054|     27|            symbolTable.setVariableExtensions("gl_DeviceIndex",  1, &E_GL_EXT_device_group);
10055|     27|            symbolTable.setVariableExtensions("gl_ViewIndex",    1, &E_GL_EXT_multiview);
10056|     27|        }
10057|       |
10058|     27|        if (profile != EEsProfile && version < 430) {
  ------------------
  |  Branch (10058:13): [True: 27, False: 0]
  |  Branch (10058:38): [True: 0, False: 27]
  ------------------
10059|      0|            symbolTable.setVariableExtensions("gl_NumWorkGroups",        1, &E_GL_ARB_compute_shader);
10060|      0|            symbolTable.setVariableExtensions("gl_WorkGroupSize",        1, &E_GL_ARB_compute_shader);
10061|      0|            symbolTable.setVariableExtensions("gl_WorkGroupID",          1, &E_GL_ARB_compute_shader);
10062|      0|            symbolTable.setVariableExtensions("gl_LocalInvocationID",    1, &E_GL_ARB_compute_shader);
10063|      0|            symbolTable.setVariableExtensions("gl_GlobalInvocationID",   1, &E_GL_ARB_compute_shader);
10064|      0|            symbolTable.setVariableExtensions("gl_LocalInvocationIndex", 1, &E_GL_ARB_compute_shader);
10065|       |
10066|      0|            symbolTable.setVariableExtensions("gl_MaxComputeWorkGroupCount",       1, &E_GL_ARB_compute_shader);
10067|      0|            symbolTable.setVariableExtensions("gl_MaxComputeWorkGroupSize",        1, &E_GL_ARB_compute_shader);
10068|      0|            symbolTable.setVariableExtensions("gl_MaxComputeUniformComponents",    1, &E_GL_ARB_compute_shader);
10069|      0|            symbolTable.setVariableExtensions("gl_MaxComputeTextureImageUnits",    1, &E_GL_ARB_compute_shader);
10070|      0|            symbolTable.setVariableExtensions("gl_MaxComputeImageUniforms",        1, &E_GL_ARB_compute_shader);
10071|      0|            symbolTable.setVariableExtensions("gl_MaxComputeAtomicCounters",       1, &E_GL_ARB_compute_shader);
10072|      0|            symbolTable.setVariableExtensions("gl_MaxComputeAtomicCounterBuffers", 1, &E_GL_ARB_compute_shader);
10073|       |
10074|      0|            symbolTable.setFunctionExtensions("barrier",                    1, &E_GL_ARB_compute_shader);
10075|      0|            symbolTable.setFunctionExtensions("memoryBarrierAtomicCounter", 1, &E_GL_ARB_compute_shader);
10076|      0|            symbolTable.setFunctionExtensions("memoryBarrierBuffer",        1, &E_GL_ARB_compute_shader);
10077|      0|            symbolTable.setFunctionExtensions("memoryBarrierImage",         1, &E_GL_ARB_compute_shader);
10078|      0|            symbolTable.setFunctionExtensions("memoryBarrierShared",        1, &E_GL_ARB_compute_shader);
10079|      0|            symbolTable.setFunctionExtensions("groupMemoryBarrier",         1, &E_GL_ARB_compute_shader);
10080|      0|        }
10081|       |
10082|       |
10083|     27|        symbolTable.setFunctionExtensions("controlBarrier",                 1, &E_GL_KHR_memory_scope_semantics);
10084|     27|        symbolTable.setFunctionExtensions("debugPrintfEXT",                 1, &E_GL_EXT_debug_printf);
10085|     27|        symbolTable.setFunctionExtensions("abortEXT",                       1, &E_GL_EXT_abort);
10086|       |
10087|       |        // GL_ARB_shader_ballot
10088|     27|        if (profile != EEsProfile) {
  ------------------
  |  Branch (10088:13): [True: 27, False: 0]
  ------------------
10089|     27|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10090|     27|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10091|     27|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10092|     27|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10093|     27|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10094|     27|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10095|     27|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10096|       |
10097|     27|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10098|     27|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10099|     27|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10100|     27|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10101|     27|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10102|     27|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10103|       |
10104|     27|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10104:17): [True: 15, False: 12]
  ------------------
10105|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10106|     15|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10107|     15|                if (language == EShLangFragment)
  ------------------
  |  Branch (10107:21): [True: 0, False: 15]
  ------------------
10108|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10109|     15|            }
10110|     12|            else
10111|     12|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10112|     27|        }
10113|       |
10114|       |        // GL_KHR_shader_subgroup
10115|     27|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10115:14): [True: 0, False: 27]
  |  Branch (10115:39): [True: 0, False: 0]
  ------------------
10116|     27|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10116:14): [True: 27, False: 0]
  |  Branch (10116:39): [True: 27, False: 0]
  ------------------
10117|     27|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10118|     27|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10119|     27|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10120|     27|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10121|     27|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10122|     27|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10123|     27|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10124|       |
10125|     27|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10126|     27|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10127|     27|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10128|     27|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10129|     27|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10130|     27|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10131|     27|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10132|       |
10133|       |            // GL_NV_shader_sm_builtins
10134|     27|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10135|     27|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10136|     27|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10137|     27|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10138|     27|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10139|     27|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10140|     27|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10141|     27|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10142|       |
10143|       |            // GL_ARM_shader_core_builtins
10144|     27|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10145|     27|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10146|     27|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10147|     27|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10148|     27|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10149|       |
10150|     27|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10151|     27|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10152|     27|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10153|     27|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10154|     27|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10155|     27|        }
10156|       |
10157|       |        // GL_KHR_shader_subgroup
10158|     27|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10158:14): [True: 0, False: 27]
  |  Branch (10158:39): [True: 0, False: 0]
  ------------------
10159|     27|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10159:14): [True: 27, False: 0]
  |  Branch (10159:39): [True: 27, False: 0]
  ------------------
10160|     27|            symbolTable.setVariableExtensions("gl_NumSubgroups", 1, &E_GL_KHR_shader_subgroup_basic);
10161|     27|            symbolTable.setVariableExtensions("gl_SubgroupID",   1, &E_GL_KHR_shader_subgroup_basic);
10162|       |
10163|     27|            BuiltInVariable("gl_NumSubgroups", EbvNumSubgroups, symbolTable);
10164|     27|            BuiltInVariable("gl_SubgroupID",   EbvSubgroupID,   symbolTable);
10165|       |
10166|     27|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierShared", 1, &E_GL_KHR_shader_subgroup_basic);
10167|     27|        }
10168|       |
10169|     27|        {
10170|     27|            const char *coopExt[2] = { E_GL_NV_cooperative_matrix, E_GL_NV_integer_cooperative_matrix };
10171|     27|            symbolTable.setFunctionExtensions("coopMatLoadNV",   2, coopExt);
10172|     27|            symbolTable.setFunctionExtensions("coopMatStoreNV",  2, coopExt);
10173|     27|            symbolTable.setFunctionExtensions("coopMatMulAddNV", 2, coopExt);
10174|     27|        }
10175|       |
10176|     27|        {
10177|     27|            auto coopMatKHRCallback = [](const char *name) -> std::vector<const char *> {
10178|     27|                std::vector<const char *> ret;
10179|     27|                if (strstr(name, "u64") != nullptr) {
10180|     27|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10181|     27|                } else {
10182|     27|                    ret.push_back(E_GL_KHR_cooperative_matrix);
10183|     27|                }
10184|     27|                return ret;
10185|     27|            };
10186|     27|            auto coopMat2NVCallback = [](const char *name) -> std::vector<const char *> {
10187|     27|                std::vector<const char *> ret;
10188|     27|                if (strstr(name, "u64") != nullptr) {
10189|     27|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10190|     27|                } else {
10191|     27|                    ret.push_back(E_GL_NV_cooperative_matrix2);
10192|     27|                }
10193|     27|                return ret;
10194|     27|            };
10195|       |
10196|     27|            symbolTable.setFunctionExtensionsCallback("coopMatLoad",   coopMatKHRCallback);
10197|     27|            symbolTable.setFunctionExtensionsCallback("coopMatStore",  coopMatKHRCallback);
10198|     27|            symbolTable.setFunctionExtensions("coopMatMulAdd", 1, &E_GL_KHR_cooperative_matrix);
10199|       |
10200|     27|            symbolTable.setFunctionExtensionsCallback("coopMatLoadTensorNV",   coopMat2NVCallback);
10201|     27|            symbolTable.setFunctionExtensionsCallback("coopMatStoreTensorNV",   coopMat2NVCallback);
10202|       |
10203|     27|            symbolTable.setFunctionExtensions("coopMatReduceNV",   1, &E_GL_NV_cooperative_matrix2);
10204|     27|            symbolTable.setFunctionExtensions("coopMatPerElementNV",  1, &E_GL_NV_cooperative_matrix2);
10205|     27|            symbolTable.setFunctionExtensions("coopMatTransposeNV",   1, &E_GL_NV_cooperative_matrix2);
10206|       |            
10207|     27|            symbolTable.setFunctionExtensions("createTensorLayoutNV",           1, &E_GL_NV_cooperative_matrix2);
10208|     27|            symbolTable.setFunctionExtensions("setTensorLayoutBlockSizeNV",     1, &E_GL_NV_cooperative_matrix2);
10209|     27|            symbolTable.setFunctionExtensions("setTensorLayoutDimensionNV",     1, &E_GL_NV_cooperative_matrix2);
10210|     27|            symbolTable.setFunctionExtensions("setTensorLayoutStrideNV",        1, &E_GL_NV_cooperative_matrix2);
10211|     27|            symbolTable.setFunctionExtensions("sliceTensorLayoutNV",            1, &E_GL_NV_cooperative_matrix2);
10212|     27|            symbolTable.setFunctionExtensions("setTensorLayoutClampValueNV",    1, &E_GL_NV_cooperative_matrix2);
10213|       |
10214|     27|            symbolTable.setFunctionExtensions("createTensorViewNV",             1, &E_GL_NV_cooperative_matrix2);
10215|     27|            symbolTable.setFunctionExtensions("setTensorViewDimensionsNV",      1, &E_GL_NV_cooperative_matrix2);
10216|     27|            symbolTable.setFunctionExtensions("setTensorViewStrideNV",          1, &E_GL_NV_cooperative_matrix2);
10217|     27|            symbolTable.setFunctionExtensions("setTensorViewClipNV",            1, &E_GL_NV_cooperative_matrix2);
10218|     27|        }
10219|       |
10220|     27|        {
10221|     27|            symbolTable.setFunctionExtensions("tensorReadARM",   1, &E_GL_ARM_tensors);
10222|     27|            symbolTable.setFunctionExtensions("tensorWriteARM",  1, &E_GL_ARM_tensors);
10223|     27|            symbolTable.setFunctionExtensions("tensorSizeARM",   1, &E_GL_ARM_tensors);
10224|     27|        }
10225|     27|        {
10226|     27|            auto coopVecCallback = [](const char *name) -> std::vector<const char *> {
10227|     27|                std::vector<const char *> ret;
10228|       |                // This looks for u64 as the last parameter (the offset)
10229|     27|                if (strstr(name, "u641;") != nullptr) {
10230|     27|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10231|     27|                } else {
10232|     27|                    ret.push_back(E_GL_NV_cooperative_vector);
10233|     27|                }
10234|     27|                return ret;
10235|     27|            };
10236|     27|            symbolTable.setFunctionExtensionsCallback("coopVecMatMulNV", coopVecCallback);
10237|     27|            symbolTable.setFunctionExtensionsCallback("coopVecMatMulAddNV", coopVecCallback);
10238|     27|            symbolTable.setFunctionExtensionsCallback("coopVecLoadNV", coopVecCallback);
10239|     27|            symbolTable.setFunctionExtensionsCallback("coopVecStoreNV", coopVecCallback);
10240|     27|            symbolTable.setFunctionExtensionsCallback("coopVecOuterProductAccumulateNV", coopVecCallback);
10241|     27|            symbolTable.setFunctionExtensionsCallback("coopVecReduceSumAccumulateNV", coopVecCallback);
10242|     27|        }
10243|       |
10244|     27|        {
10245|     27|          symbolTable.setFunctionExtensions("bitcastQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10246|     27|          symbolTable.setFunctionExtensions("extractSubArrayQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10247|     27|          symbolTable.setFunctionExtensions("vectorToCoopmatQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10248|     27|          symbolTable.setFunctionExtensions("coopmatToVectorQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10249|     27|        }
10250|       |
10251|     27|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (10251:14): [True: 27, False: 0]
  |  Branch (10251:39): [True: 27, False: 0]
  |  Branch (10251:59): [True: 0, False: 0]
  |  Branch (10251:84): [True: 0, False: 0]
  ------------------
10252|     27|            const char* const derivativeExts[] = { E_GL_NV_compute_shader_derivatives, E_GL_KHR_compute_shader_derivatives };
10253|     27|            if (language == EShLangCompute) {
  ------------------
  |  Branch (10253:17): [True: 27, False: 0]
  ------------------
10254|     27|                symbolTable.setFunctionExtensions("dFdx",                   2, derivativeExts);
10255|     27|                symbolTable.setFunctionExtensions("dFdy",                   2, derivativeExts);
10256|     27|                symbolTable.setFunctionExtensions("fwidth",                 2, derivativeExts);
10257|     27|                symbolTable.setFunctionExtensions("dFdxFine",               2, derivativeExts);
10258|     27|                symbolTable.setFunctionExtensions("dFdyFine",               2, derivativeExts);
10259|     27|                symbolTable.setFunctionExtensions("fwidthFine",             2, derivativeExts);
10260|     27|                symbolTable.setFunctionExtensions("dFdxCoarse",             2, derivativeExts);
10261|     27|                symbolTable.setFunctionExtensions("dFdyCoarse",             2, derivativeExts);
10262|     27|                symbolTable.setFunctionExtensions("fwidthCoarse",           2, derivativeExts);
10263|     27|            } else if (language == EShLangTask || language == EShLangMesh) {
  ------------------
  |  Branch (10263:24): [True: 0, False: 0]
  |  Branch (10263:51): [True: 0, False: 0]
  ------------------
10264|      0|                symbolTable.setFunctionExtensions("dFdx",                   1, &E_GL_KHR_compute_shader_derivatives);
10265|      0|                symbolTable.setFunctionExtensions("dFdy",                   1, &E_GL_KHR_compute_shader_derivatives);
10266|      0|                symbolTable.setFunctionExtensions("fwidth",                 1, &E_GL_KHR_compute_shader_derivatives);
10267|      0|                symbolTable.setFunctionExtensions("dFdxFine",               1, &E_GL_KHR_compute_shader_derivatives);
10268|      0|                symbolTable.setFunctionExtensions("dFdyFine",               1, &E_GL_KHR_compute_shader_derivatives);
10269|      0|                symbolTable.setFunctionExtensions("fwidthFine",             1, &E_GL_KHR_compute_shader_derivatives);
10270|      0|                symbolTable.setFunctionExtensions("dFdxCoarse",             1, &E_GL_KHR_compute_shader_derivatives);
10271|      0|                symbolTable.setFunctionExtensions("dFdyCoarse",             1, &E_GL_KHR_compute_shader_derivatives);
10272|      0|                symbolTable.setFunctionExtensions("fwidthCoarse",           1, &E_GL_KHR_compute_shader_derivatives);
10273|      0|            }
10274|     27|        }
10275|       |
10276|     27|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10276:14): [True: 0, False: 27]
  |  Branch (10276:39): [True: 0, False: 0]
  ------------------
10277|     27|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10277:14): [True: 27, False: 0]
  |  Branch (10277:39): [True: 27, False: 0]
  ------------------
10278|     27|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10279|     27|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10280|     27|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10281|     27|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10282|     27|        }
10283|       |
10284|     27|        if ((profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10284:14): [True: 27, False: 0]
  |  Branch (10284:39): [True: 0, False: 27]
  ------------------
10285|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexPositionNV", 1, &E_GL_NV_displacement_micromap);
10286|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexBarycentricNV", 1, &E_GL_NV_displacement_micromap);
10287|      0|        }
10288|       |
10289|       |        // GL_EXT_integer_dot_product
10290|     27|        if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (10290:14): [True: 0, False: 27]
  |  Branch (10290:39): [True: 0, False: 0]
  ------------------
10291|     27|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10291:14): [True: 27, False: 0]
  |  Branch (10291:39): [True: 27, False: 0]
  ------------------
10292|     27|            symbolTable.setFunctionExtensions("dotEXT", 1, &E_GL_EXT_integer_dot_product);
10293|     27|            symbolTable.setFunctionExtensions("dotPacked4x8EXT", 1, &E_GL_EXT_integer_dot_product);
10294|     27|            symbolTable.setFunctionExtensions("dotAccSatEXT", 1, &E_GL_EXT_integer_dot_product);
10295|     27|            symbolTable.setFunctionExtensions("dotPacked4x8AccSatEXT", 1, &E_GL_EXT_integer_dot_product);
10296|     27|        }
10297|       |
10298|     27|        {
10299|     27|            symbolTable.setFunctionExtensions("bfloat16BitsToIntEXT", 1, &E_GL_EXT_bfloat16);
10300|     27|            symbolTable.setFunctionExtensions("bfloat16BitsToUintEXT", 1, &E_GL_EXT_bfloat16);
10301|     27|            symbolTable.setFunctionExtensions("intBitsToBFloat16EXT", 1, &E_GL_EXT_bfloat16);
10302|     27|            symbolTable.setFunctionExtensions("uintBitsToBFloat16EXT", 1, &E_GL_EXT_bfloat16);
10303|       |
10304|     27|            symbolTable.setFunctionExtensions("floate5m2BitsToIntEXT", 1, &E_GL_EXT_float_e5m2);
10305|     27|            symbolTable.setFunctionExtensions("floate5m2BitsToUintEXT", 1, &E_GL_EXT_float_e5m2);
10306|     27|            symbolTable.setFunctionExtensions("intBitsToFloate5m2EXT", 1, &E_GL_EXT_float_e5m2);
10307|     27|            symbolTable.setFunctionExtensions("uintBitsToFloate5m2EXT", 1, &E_GL_EXT_float_e5m2);
10308|       |
10309|     27|            symbolTable.setFunctionExtensions("floate4m3BitsToIntEXT", 1, &E_GL_EXT_float_e4m3);
10310|     27|            symbolTable.setFunctionExtensions("floate4m3BitsToUintEXT", 1, &E_GL_EXT_float_e4m3);
10311|     27|            symbolTable.setFunctionExtensions("intBitsToFloate4m3EXT", 1, &E_GL_EXT_float_e4m3);
10312|     27|            symbolTable.setFunctionExtensions("uintBitsToFloate4m3EXT", 1, &E_GL_EXT_float_e4m3);
10313|       |
10314|     27|            const char *float8exts[] = {E_GL_EXT_float_e5m2, E_GL_EXT_float_e4m3};
10315|     27|            symbolTable.setFunctionExtensions("saturatedConvertEXT", 2, float8exts);
10316|     27|        }
10317|       |
10318|       |        // E_SPV_QCOM_tile_shading
10319|     27|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10319:14): [True: 0, False: 27]
  |  Branch (10319:39): [True: 0, False: 0]
  ------------------
10320|     27|            (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10320:14): [True: 27, False: 0]
  |  Branch (10320:39): [True: 0, False: 27]
  ------------------
10321|      0|            BuiltInVariable("gl_TileOffsetQCOM",        EbvTileOffsetQCOM,      symbolTable);
10322|      0|            BuiltInVariable("gl_TileDimensionQCOM",     EbvTileDimensionQCOM,   symbolTable);
10323|      0|            BuiltInVariable("gl_TileApronSizeQCOM",     EbvTileApronSizeQCOM,   symbolTable);
10324|       |
10325|      0|            symbolTable.setVariableExtensions("gl_TileOffsetQCOM",        1, &E_GL_QCOM_tile_shading);
10326|      0|            symbolTable.setVariableExtensions("gl_TileDimensionQCOM",     1, &E_GL_QCOM_tile_shading);
10327|      0|            symbolTable.setVariableExtensions("gl_TileApronSizeQCOM",     1, &E_GL_QCOM_tile_shading);
10328|      0|        }
10329|     27|        break;
10330|       |
10331|     27|    case EShLangRayGen:
  ------------------
  |  Branch (10331:5): [True: 27, False: 435]
  ------------------
10332|     54|    case EShLangIntersect:
  ------------------
  |  Branch (10332:5): [True: 27, False: 435]
  ------------------
10333|     81|    case EShLangAnyHit:
  ------------------
  |  Branch (10333:5): [True: 27, False: 435]
  ------------------
10334|    108|    case EShLangClosestHit:
  ------------------
  |  Branch (10334:5): [True: 27, False: 435]
  ------------------
10335|    135|    case EShLangMiss:
  ------------------
  |  Branch (10335:5): [True: 27, False: 435]
  ------------------
10336|    162|    case EShLangCallable:
  ------------------
  |  Branch (10336:5): [True: 27, False: 435]
  ------------------
10337|    162|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (10337:13): [True: 162, False: 0]
  |  Branch (10337:38): [True: 0, False: 162]
  ------------------
10338|      0|            const char *rtexts[] = { E_GL_NV_ray_tracing, E_GL_EXT_ray_tracing };
10339|      0|            symbolTable.setVariableExtensions("gl_LaunchIDNV", 1, &E_GL_NV_ray_tracing);
10340|      0|            symbolTable.setVariableExtensions("gl_LaunchIDEXT", 1, &E_GL_EXT_ray_tracing);
10341|      0|            symbolTable.setVariableExtensions("gl_LaunchSizeNV", 1, &E_GL_NV_ray_tracing);
10342|      0|            symbolTable.setVariableExtensions("gl_LaunchSizeEXT", 1, &E_GL_EXT_ray_tracing);
10343|      0|            symbolTable.setVariableExtensions("gl_PrimitiveID", 2, rtexts);
10344|      0|            symbolTable.setVariableExtensions("gl_InstanceID", 2, rtexts);
10345|      0|            symbolTable.setVariableExtensions("gl_InstanceCustomIndexNV", 1, &E_GL_NV_ray_tracing);
10346|      0|            symbolTable.setVariableExtensions("gl_InstanceCustomIndexEXT", 1, &E_GL_EXT_ray_tracing);
10347|      0|            symbolTable.setVariableExtensions("gl_GeometryIndexEXT", 1, &E_GL_EXT_ray_tracing);
10348|      0|            symbolTable.setVariableExtensions("gl_WorldRayOriginNV", 1, &E_GL_NV_ray_tracing);
10349|      0|            symbolTable.setVariableExtensions("gl_WorldRayOriginEXT", 1, &E_GL_EXT_ray_tracing);
10350|      0|            symbolTable.setVariableExtensions("gl_WorldRayDirectionNV", 1, &E_GL_NV_ray_tracing);
10351|      0|            symbolTable.setVariableExtensions("gl_WorldRayDirectionEXT", 1, &E_GL_EXT_ray_tracing);
10352|      0|            symbolTable.setVariableExtensions("gl_ObjectRayOriginNV", 1, &E_GL_NV_ray_tracing);
10353|      0|            symbolTable.setVariableExtensions("gl_ObjectRayOriginEXT", 1, &E_GL_EXT_ray_tracing);
10354|      0|            symbolTable.setVariableExtensions("gl_ObjectRayDirectionNV", 1, &E_GL_NV_ray_tracing);
10355|      0|            symbolTable.setVariableExtensions("gl_ObjectRayDirectionEXT", 1, &E_GL_EXT_ray_tracing);
10356|      0|            symbolTable.setVariableExtensions("gl_RayTminNV", 1, &E_GL_NV_ray_tracing);
10357|      0|            symbolTable.setVariableExtensions("gl_RayTminEXT", 1, &E_GL_EXT_ray_tracing);
10358|      0|            symbolTable.setVariableExtensions("gl_RayTmaxNV", 1, &E_GL_NV_ray_tracing);
10359|      0|            symbolTable.setVariableExtensions("gl_RayTmaxEXT", 1, &E_GL_EXT_ray_tracing);
10360|      0|            symbolTable.setVariableExtensions("gl_CullMaskEXT", 1, &E_GL_EXT_ray_cull_mask);
10361|      0|            symbolTable.setVariableExtensions("gl_HitTNV", 1, &E_GL_NV_ray_tracing);
10362|      0|            symbolTable.setVariableExtensions("gl_HitTEXT", 1, &E_GL_EXT_ray_tracing);
10363|      0|            symbolTable.setVariableExtensions("gl_HitKindNV", 1, &E_GL_NV_ray_tracing);
10364|      0|            symbolTable.setVariableExtensions("gl_HitKindEXT", 1, &E_GL_EXT_ray_tracing);
10365|      0|            symbolTable.setVariableExtensions("gl_ObjectToWorldNV", 1, &E_GL_NV_ray_tracing);
10366|      0|            symbolTable.setVariableExtensions("gl_ObjectToWorldEXT", 1, &E_GL_EXT_ray_tracing);
10367|      0|            symbolTable.setVariableExtensions("gl_ObjectToWorld3x4EXT", 1, &E_GL_EXT_ray_tracing);
10368|      0|            symbolTable.setVariableExtensions("gl_WorldToObjectNV", 1, &E_GL_NV_ray_tracing);
10369|      0|            symbolTable.setVariableExtensions("gl_WorldToObjectEXT", 1, &E_GL_EXT_ray_tracing);
10370|      0|            symbolTable.setVariableExtensions("gl_WorldToObject3x4EXT", 1, &E_GL_EXT_ray_tracing);
10371|      0|            symbolTable.setVariableExtensions("gl_IncomingRayFlagsNV", 1, &E_GL_NV_ray_tracing);
10372|      0|            symbolTable.setVariableExtensions("gl_IncomingRayFlagsEXT", 1, &E_GL_EXT_ray_tracing);
10373|      0|            symbolTable.setVariableExtensions("gl_CurrentRayTimeNV", 1, &E_GL_NV_ray_tracing_motion_blur);
10374|      0|            symbolTable.setVariableExtensions("gl_HitTriangleVertexPositionsEXT", 1, &E_GL_EXT_ray_tracing_position_fetch);
10375|      0|            symbolTable.setVariableExtensions("gl_HitMicroTriangleVertexPositionsNV", 1, &E_GL_NV_displacement_micromap);
10376|      0|            symbolTable.setVariableExtensions("gl_HitMicroTriangleVertexBarycentricsNV", 1, &E_GL_NV_displacement_micromap);
10377|      0|            symbolTable.setVariableExtensions("gl_ClusterIDNV", 1, &E_GL_NV_cluster_acceleration_structure);
10378|      0|            symbolTable.setVariableExtensions("gl_HitKindSphereNV", 1, &E_GL_NV_linear_swept_spheres);
10379|      0|            symbolTable.setVariableExtensions("gl_HitKindLSSNV", 1, &E_GL_NV_linear_swept_spheres);
10380|      0|            symbolTable.setVariableExtensions("gl_HitSpherePositionNV", 1, &E_GL_NV_linear_swept_spheres);
10381|      0|            symbolTable.setVariableExtensions("gl_HitSphereRadiusNV", 1, &E_GL_NV_linear_swept_spheres);
10382|      0|            symbolTable.setVariableExtensions("gl_HitLSSPositionNV", 1, &E_GL_NV_linear_swept_spheres);
10383|      0|            symbolTable.setVariableExtensions("gl_HitLSSRadiiNV", 1, &E_GL_NV_linear_swept_spheres);
10384|       |
10385|      0|            symbolTable.setVariableExtensions("gl_DeviceIndex", 1, &E_GL_EXT_device_group);
10386|       |
10387|       |
10388|      0|            symbolTable.setFunctionExtensions("traceNV", 1, &E_GL_NV_ray_tracing);
10389|      0|            symbolTable.setFunctionExtensions("traceRayMotionNV", 1, &E_GL_NV_ray_tracing_motion_blur);
10390|      0|            symbolTable.setFunctionExtensions("traceRayEXT", 1, &E_GL_EXT_ray_tracing);
10391|      0|            symbolTable.setFunctionExtensions("reportIntersectionNV", 1, &E_GL_NV_ray_tracing);
10392|      0|            symbolTable.setFunctionExtensions("reportIntersectionEXT", 1, &E_GL_EXT_ray_tracing);
10393|      0|            symbolTable.setFunctionExtensions("ignoreIntersectionNV", 1, &E_GL_NV_ray_tracing);
10394|      0|            symbolTable.setFunctionExtensions("terminateRayNV", 1, &E_GL_NV_ray_tracing);
10395|      0|            symbolTable.setFunctionExtensions("executeCallableNV", 1, &E_GL_NV_ray_tracing);
10396|      0|            symbolTable.setFunctionExtensions("executeCallableEXT", 1, &E_GL_EXT_ray_tracing);
10397|       |
10398|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayNV", 1, &E_GL_NV_shader_invocation_reorder);
10399|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10400|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitNV", 1, &E_GL_NV_shader_invocation_reorder);
10401|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10402|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitWithIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10403|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitWithIndexMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10404|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissNV", 1, &E_GL_NV_shader_invocation_reorder);
10405|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10406|      0|            symbolTable.setFunctionExtensions("hitObjectRecordEmptyNV", 1, &E_GL_NV_shader_invocation_reorder);
10407|      0|            symbolTable.setFunctionExtensions("hitObjectExecuteShaderNV", 1, &E_GL_NV_shader_invocation_reorder);
10408|      0|            symbolTable.setFunctionExtensions("hitObjectIsEmptyNV", 1, &E_GL_NV_shader_invocation_reorder);
10409|      0|            symbolTable.setFunctionExtensions("hitObjectIsMissNV", 1, &E_GL_NV_shader_invocation_reorder);
10410|      0|            symbolTable.setFunctionExtensions("hitObjectIsHitNV", 1, &E_GL_NV_shader_invocation_reorder);
10411|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMinNV", 1, &E_GL_NV_shader_invocation_reorder);
10412|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMaxNV", 1, &E_GL_NV_shader_invocation_reorder);
10413|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayOriginNV", 1, &E_GL_NV_shader_invocation_reorder);
10414|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayDirectionNV", 1, &E_GL_NV_shader_invocation_reorder);
10415|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayOriginNV", 1, &E_GL_NV_shader_invocation_reorder);
10416|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayDirectionNV", 1, &E_GL_NV_shader_invocation_reorder);
10417|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldToObjectNV", 1, &E_GL_NV_shader_invocation_reorder);
10418|      0|            symbolTable.setFunctionExtensions("hitObjectGetbjectToWorldNV", 1, &E_GL_NV_shader_invocation_reorder);
10419|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceCustomIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10420|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceIdNV", 1, &E_GL_NV_shader_invocation_reorder);
10421|      0|            symbolTable.setFunctionExtensions("hitObjectGetGeometryIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10422|      0|            symbolTable.setFunctionExtensions("hitObjectGetPrimitiveIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10423|      0|            symbolTable.setFunctionExtensions("hitObjectGetHitKindNV", 1, &E_GL_NV_shader_invocation_reorder);
10424|      0|            symbolTable.setFunctionExtensions("hitObjectGetAttributesNV", 1, &E_GL_NV_shader_invocation_reorder);
10425|      0|            symbolTable.setFunctionExtensions("hitObjectGetCurrentTimeNV", 1, &E_GL_NV_shader_invocation_reorder);
10426|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderBindingTableRecordIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10427|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderRecordBufferHandleNV", 1, &E_GL_NV_shader_invocation_reorder);
10428|      0|            symbolTable.setFunctionExtensions("hitObjectGetClusterIdNV", 1, &E_GL_NV_cluster_acceleration_structure);
10429|      0|            symbolTable.setFunctionExtensions("reorderThreadNV", 1, &E_GL_NV_shader_invocation_reorder);
10430|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexPositionNV", 1, &E_GL_NV_displacement_micromap);
10431|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexBarycentricNV", 1, &E_GL_NV_displacement_micromap);
10432|      0|            symbolTable.setFunctionExtensions("hitObjectGetSpherePositionNV", 1, &E_GL_NV_linear_swept_spheres);
10433|      0|            symbolTable.setFunctionExtensions("hitObjectGetSphereRadiusNV", 1, &E_GL_NV_linear_swept_spheres);
10434|      0|            symbolTable.setFunctionExtensions("hitObjectGetLSSPositionsNV", 1, &E_GL_NV_linear_swept_spheres);
10435|      0|            symbolTable.setFunctionExtensions("hitObjectGetLSSRadiiNV", 1, &E_GL_NV_linear_swept_spheres);
10436|      0|            symbolTable.setFunctionExtensions("hitObjectIsSphereHitNV", 1, &E_GL_NV_linear_swept_spheres);
10437|      0|            symbolTable.setFunctionExtensions("hitObjectIsLSSHitNV", 1, &E_GL_NV_linear_swept_spheres);
10438|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10439|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayMotionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10440|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10441|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissMotionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10442|      0|            symbolTable.setFunctionExtensions("hitObjectRecordEmptyEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10443|      0|            symbolTable.setFunctionExtensions("hitObjectExecuteShaderEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10444|      0|            symbolTable.setFunctionExtensions("hitObjectIsEmptyEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10445|      0|            symbolTable.setFunctionExtensions("hitObjectIsMissEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10446|      0|            symbolTable.setFunctionExtensions("hitObjectIsHitEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10447|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMinEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10448|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMaxEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10449|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayFlagsEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10450|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayOriginEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10451|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayDirectionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10452|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayOriginEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10453|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayDirectionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10454|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldToObjectEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10455|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectToWorldEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10456|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceCustomIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10457|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceIdEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10458|      0|            symbolTable.setFunctionExtensions("hitObjectGetGeometryIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10459|      0|            symbolTable.setFunctionExtensions("hitObjectGetPrimitiveIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10460|      0|            symbolTable.setFunctionExtensions("hitObjectGetHitKindEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10461|      0|            symbolTable.setFunctionExtensions("hitObjectGetAttributesEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10462|      0|            symbolTable.setFunctionExtensions("hitObjectGetCurrentTimeEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10463|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderBindingTableRecordIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10464|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderRecordBufferHandleEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10465|      0|            symbolTable.setFunctionExtensions("hitObjectSetShaderBindingTableRecordIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10466|      0|            symbolTable.setFunctionExtensions("reorderThreadEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10467|      0|            symbolTable.setFunctionExtensions("hitObjectReorderExecuteEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10468|      0|            symbolTable.setFunctionExtensions("hitObjectTraceReorderExecuteEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10469|      0|            symbolTable.setFunctionExtensions("hitObjectTraceMotionReorderExecuteEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10470|      0|            symbolTable.setFunctionExtensions("hitObjectRecordFromQueryEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10471|      0|            symbolTable.setFunctionExtensions("hitObjectGetIntersectionTriangleVertexPositionsEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10472|       |
10473|       |
10474|      0|            BuiltInVariable("gl_LaunchIDNV",             EbvLaunchId,           symbolTable);
10475|      0|            BuiltInVariable("gl_LaunchIDEXT",            EbvLaunchId,           symbolTable);
10476|      0|            BuiltInVariable("gl_LaunchSizeNV",           EbvLaunchSize,         symbolTable);
10477|      0|            BuiltInVariable("gl_LaunchSizeEXT",          EbvLaunchSize,         symbolTable);
10478|      0|            BuiltInVariable("gl_PrimitiveID",            EbvPrimitiveId,        symbolTable);
10479|      0|            BuiltInVariable("gl_InstanceID",             EbvInstanceId,         symbolTable);
10480|      0|            BuiltInVariable("gl_InstanceCustomIndexNV",  EbvInstanceCustomIndex,symbolTable);
10481|      0|            BuiltInVariable("gl_InstanceCustomIndexEXT", EbvInstanceCustomIndex,symbolTable);
10482|      0|            BuiltInVariable("gl_GeometryIndexEXT",       EbvGeometryIndex,      symbolTable);
10483|      0|            BuiltInVariable("gl_WorldRayOriginNV",       EbvWorldRayOrigin,     symbolTable);
10484|      0|            BuiltInVariable("gl_WorldRayOriginEXT",      EbvWorldRayOrigin,     symbolTable);
10485|      0|            BuiltInVariable("gl_WorldRayDirectionNV",    EbvWorldRayDirection,  symbolTable);
10486|      0|            BuiltInVariable("gl_WorldRayDirectionEXT",   EbvWorldRayDirection,  symbolTable);
10487|      0|            BuiltInVariable("gl_ObjectRayOriginNV",      EbvObjectRayOrigin,    symbolTable);
10488|      0|            BuiltInVariable("gl_ObjectRayOriginEXT",     EbvObjectRayOrigin,    symbolTable);
10489|      0|            BuiltInVariable("gl_ObjectRayDirectionNV",   EbvObjectRayDirection, symbolTable);
10490|      0|            BuiltInVariable("gl_ObjectRayDirectionEXT",  EbvObjectRayDirection, symbolTable);
10491|      0|            BuiltInVariable("gl_RayTminNV",              EbvRayTmin,            symbolTable);
10492|      0|            BuiltInVariable("gl_RayTminEXT",             EbvRayTmin,            symbolTable);
10493|      0|            BuiltInVariable("gl_RayTmaxNV",              EbvRayTmax,            symbolTable);
10494|      0|            BuiltInVariable("gl_RayTmaxEXT",             EbvRayTmax,            symbolTable);
10495|      0|            BuiltInVariable("gl_CullMaskEXT",            EbvCullMask,           symbolTable);
10496|      0|            BuiltInVariable("gl_HitKindNV",              EbvHitKind,            symbolTable);
10497|      0|            BuiltInVariable("gl_HitKindEXT",             EbvHitKind,            symbolTable);
10498|      0|            BuiltInVariable("gl_ObjectToWorldNV",        EbvObjectToWorld,      symbolTable);
10499|      0|            BuiltInVariable("gl_ObjectToWorldEXT",       EbvObjectToWorld,      symbolTable);
10500|      0|            BuiltInVariable("gl_ObjectToWorld3x4EXT",    EbvObjectToWorld3x4,   symbolTable);
10501|      0|            BuiltInVariable("gl_WorldToObjectNV",        EbvWorldToObject,      symbolTable);
10502|      0|            BuiltInVariable("gl_WorldToObjectEXT",       EbvWorldToObject,      symbolTable);
10503|      0|            BuiltInVariable("gl_WorldToObject3x4EXT",    EbvWorldToObject3x4,   symbolTable);
10504|      0|            BuiltInVariable("gl_IncomingRayFlagsNV",     EbvIncomingRayFlags,   symbolTable);
10505|      0|            BuiltInVariable("gl_IncomingRayFlagsEXT",    EbvIncomingRayFlags,   symbolTable);
10506|      0|            BuiltInVariable("gl_DeviceIndex",            EbvDeviceIndex,        symbolTable);
10507|      0|            BuiltInVariable("gl_CurrentRayTimeNV",       EbvCurrentRayTimeNV,   symbolTable);
10508|      0|            BuiltInVariable("gl_HitTriangleVertexPositionsEXT", EbvPositionFetch, symbolTable);
10509|      0|            BuiltInVariable("gl_HitMicroTriangleVertexPositionsNV", EbvMicroTrianglePositionNV, symbolTable);
10510|      0|            BuiltInVariable("gl_HitMicroTriangleVertexBarycentricsNV", EbvMicroTriangleBaryNV, symbolTable);
10511|      0|            BuiltInVariable("gl_HitKindFrontFacingMicroTriangleNV", EbvHitKindFrontFacingMicroTriangleNV, symbolTable);
10512|      0|            BuiltInVariable("gl_HitKindBackFacingMicroTriangleNV", EbvHitKindBackFacingMicroTriangleNV, symbolTable);
10513|      0|            BuiltInVariable("gl_ClusterIDNV",            EbvClusterIDNV,         symbolTable);
10514|      0|            BuiltInVariable("gl_HitIsSphereNV", EbvHitIsSphereNV, symbolTable);
10515|      0|            BuiltInVariable("gl_HitIsLSSNV", EbvHitIsLSSNV, symbolTable);
10516|      0|            BuiltInVariable("gl_HitSpherePositionNV", EbvHitSpherePositionNV, symbolTable);
10517|      0|            BuiltInVariable("gl_HitSphereRadiusNV", EbvHitSphereRadiusNV, symbolTable);
10518|      0|            BuiltInVariable("gl_HitLSSPositionsNV", EbvHitLSSPositionsNV, symbolTable);
10519|      0|            BuiltInVariable("gl_HitLSSRadiiNV", EbvHitLSSRadiiNV, symbolTable);
10520|       |
10521|       |            // gl_HitT variables are aliases of their gl_RayTmax counterparts.
10522|      0|            RetargetVariable("gl_HitTNV",                "gl_RayTmaxNV",        symbolTable);
10523|      0|            RetargetVariable("gl_HitTEXT",               "gl_RayTmaxEXT",       symbolTable);
10524|       |
10525|       |            // GL_ARB_shader_ballot
10526|      0|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10527|      0|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10528|      0|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10529|      0|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10530|      0|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10531|      0|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10532|      0|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10533|       |
10534|      0|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10535|      0|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10536|      0|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10537|      0|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10538|      0|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10539|      0|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10540|       |
10541|      0|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10541:17): [True: 0, False: 0]
  ------------------
10542|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10543|      0|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10544|      0|                if (language == EShLangFragment)
  ------------------
  |  Branch (10544:21): [True: 0, False: 0]
  ------------------
10545|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10546|      0|            }
10547|      0|            else
10548|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10549|       |
10550|       |            // GL_KHR_shader_subgroup
10551|      0|            symbolTable.setVariableExtensions("gl_NumSubgroups",         1, &E_GL_KHR_shader_subgroup_basic);
10552|      0|            symbolTable.setVariableExtensions("gl_SubgroupID",           1, &E_GL_KHR_shader_subgroup_basic);
10553|      0|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10554|      0|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10555|      0|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10556|      0|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10557|      0|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10558|      0|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10559|      0|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10560|       |
10561|      0|            BuiltInVariable("gl_NumSubgroups",         EbvNumSubgroups,        symbolTable);
10562|      0|            BuiltInVariable("gl_SubgroupID",           EbvSubgroupID,          symbolTable);
10563|      0|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10564|      0|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10565|      0|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10566|      0|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10567|      0|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10568|      0|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10569|      0|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10570|       |
10571|       |            // GL_NV_shader_sm_builtins
10572|      0|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10573|      0|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10574|      0|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10575|      0|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10576|      0|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10577|      0|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10578|      0|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10579|      0|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10580|       |
10581|       |            // GL_ARM_shader_core_builtins
10582|      0|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10583|      0|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10584|      0|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10585|      0|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10586|      0|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10587|       |
10588|      0|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10589|      0|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10590|      0|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10591|      0|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10592|      0|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10593|      0|        }
10594|    162|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10594:14): [True: 0, False: 162]
  |  Branch (10594:39): [True: 0, False: 0]
  ------------------
10595|    162|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10595:14): [True: 162, False: 0]
  |  Branch (10595:39): [True: 162, False: 0]
  ------------------
10596|    162|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10597|    162|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10598|    162|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10599|    162|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10600|    162|        }
10601|    162|        break;
10602|       |
10603|     27|    case EShLangMesh:
  ------------------
  |  Branch (10603:5): [True: 27, False: 435]
  ------------------
10604|     27|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (10604:14): [True: 27, False: 0]
  |  Branch (10604:39): [True: 27, False: 0]
  |  Branch (10604:59): [True: 0, False: 0]
  |  Branch (10604:84): [True: 0, False: 0]
  ------------------
10605|       |            // per-vertex builtins
10606|     27|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_Position",     1, &E_GL_NV_mesh_shader);
10607|     27|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_PointSize",    1, &E_GL_NV_mesh_shader);
10608|     27|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_ClipDistance", 1, &E_GL_NV_mesh_shader);
10609|     27|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_CullDistance", 1, &E_GL_NV_mesh_shader);
10610|       |
10611|     27|            BuiltInVariable("gl_MeshVerticesNV", "gl_Position",     EbvPosition,     symbolTable);
10612|     27|            BuiltInVariable("gl_MeshVerticesNV", "gl_PointSize",    EbvPointSize,    symbolTable);
10613|     27|            BuiltInVariable("gl_MeshVerticesNV", "gl_ClipDistance", EbvClipDistance, symbolTable);
10614|     27|            BuiltInVariable("gl_MeshVerticesNV", "gl_CullDistance", EbvCullDistance, symbolTable);
10615|       |
10616|     27|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_PositionPerViewNV",     1, &E_GL_NV_mesh_shader);
10617|     27|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_ClipDistancePerViewNV", 1, &E_GL_NV_mesh_shader);
10618|     27|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_CullDistancePerViewNV", 1, &E_GL_NV_mesh_shader);
10619|       |
10620|     27|            BuiltInVariable("gl_MeshVerticesNV", "gl_PositionPerViewNV",     EbvPositionPerViewNV,     symbolTable);
10621|     27|            BuiltInVariable("gl_MeshVerticesNV", "gl_ClipDistancePerViewNV", EbvClipDistancePerViewNV, symbolTable);
10622|     27|            BuiltInVariable("gl_MeshVerticesNV", "gl_CullDistancePerViewNV", EbvCullDistancePerViewNV, symbolTable);
10623|       |
10624|       |            // per-primitive builtins
10625|     27|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_PrimitiveID",   1, &E_GL_NV_mesh_shader);
10626|     27|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_Layer",         1, &E_GL_NV_mesh_shader);
10627|     27|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_ViewportIndex", 1, &E_GL_NV_mesh_shader);
10628|     27|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_ViewportMask",  1, &E_GL_NV_mesh_shader);
10629|       |
10630|     27|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_PrimitiveID",   EbvPrimitiveId,    symbolTable);
10631|     27|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_Layer",         EbvLayer,          symbolTable);
10632|     27|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_ViewportIndex", EbvViewportIndex,  symbolTable);
10633|     27|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_ViewportMask",  EbvViewportMaskNV, symbolTable);
10634|       |
10635|       |            // per-view per-primitive builtins
10636|     27|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_LayerPerViewNV",        1, &E_GL_NV_mesh_shader);
10637|     27|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_ViewportMaskPerViewNV", 1, &E_GL_NV_mesh_shader);
10638|       |
10639|     27|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_LayerPerViewNV",        EbvLayerPerViewNV,        symbolTable);
10640|     27|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_ViewportMaskPerViewNV", EbvViewportMaskPerViewNV, symbolTable);
10641|       |
10642|       |            // other builtins
10643|     27|            symbolTable.setVariableExtensions("gl_PrimitiveCountNV",     1, &E_GL_NV_mesh_shader);
10644|     27|            symbolTable.setVariableExtensions("gl_PrimitiveIndicesNV",   1, &E_GL_NV_mesh_shader);
10645|     27|            symbolTable.setVariableExtensions("gl_MeshViewCountNV",      1, &E_GL_NV_mesh_shader);
10646|     27|            symbolTable.setVariableExtensions("gl_MeshViewIndicesNV",    1, &E_GL_NV_mesh_shader);
10647|     27|            if (profile != EEsProfile) {
  ------------------
  |  Branch (10647:17): [True: 27, False: 0]
  ------------------
10648|     27|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        Num_AEP_mesh_shader, AEP_mesh_shader);
10649|     27|                symbolTable.setVariableExtensions("gl_WorkGroupID",          Num_AEP_mesh_shader, AEP_mesh_shader);
10650|     27|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    Num_AEP_mesh_shader, AEP_mesh_shader);
10651|     27|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   Num_AEP_mesh_shader, AEP_mesh_shader);
10652|     27|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", Num_AEP_mesh_shader, AEP_mesh_shader);
10653|     27|            } else {
10654|      0|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        1, &E_GL_NV_mesh_shader);
10655|      0|                symbolTable.setVariableExtensions("gl_WorkGroupID",          1, &E_GL_NV_mesh_shader);
10656|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    1, &E_GL_NV_mesh_shader);
10657|      0|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   1, &E_GL_NV_mesh_shader);
10658|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", 1, &E_GL_NV_mesh_shader);
10659|      0|            }
10660|     27|            BuiltInVariable("gl_PrimitiveCountNV",     EbvPrimitiveCountNV,     symbolTable);
10661|     27|            BuiltInVariable("gl_PrimitiveIndicesNV",   EbvPrimitiveIndicesNV,   symbolTable);
10662|     27|            BuiltInVariable("gl_MeshViewCountNV",      EbvMeshViewCountNV,      symbolTable);
10663|     27|            BuiltInVariable("gl_MeshViewIndicesNV",    EbvMeshViewIndicesNV,    symbolTable);
10664|     27|            BuiltInVariable("gl_WorkGroupSize",        EbvWorkGroupSize,        symbolTable);
10665|     27|            BuiltInVariable("gl_WorkGroupID",          EbvWorkGroupId,          symbolTable);
10666|     27|            BuiltInVariable("gl_LocalInvocationID",    EbvLocalInvocationId,    symbolTable);
10667|     27|            BuiltInVariable("gl_GlobalInvocationID",   EbvGlobalInvocationId,   symbolTable);
10668|     27|            BuiltInVariable("gl_LocalInvocationIndex", EbvLocalInvocationIndex, symbolTable);
10669|       |
10670|       |            // builtin constants
10671|     27|            symbolTable.setVariableExtensions("gl_MaxMeshOutputVerticesNV",   1, &E_GL_NV_mesh_shader);
10672|     27|            symbolTable.setVariableExtensions("gl_MaxMeshOutputPrimitivesNV", 1, &E_GL_NV_mesh_shader);
10673|     27|            symbolTable.setVariableExtensions("gl_MaxMeshWorkGroupSizeNV",    1, &E_GL_NV_mesh_shader);
10674|     27|            symbolTable.setVariableExtensions("gl_MaxMeshViewCountNV",        1, &E_GL_NV_mesh_shader);
10675|       |
10676|       |            // builtin functions
10677|     27|            if (profile != EEsProfile) {
  ------------------
  |  Branch (10677:17): [True: 27, False: 0]
  ------------------
10678|     27|                symbolTable.setFunctionExtensions("barrier",                      Num_AEP_mesh_shader, AEP_mesh_shader);
10679|     27|                symbolTable.setFunctionExtensions("memoryBarrierShared",          Num_AEP_mesh_shader, AEP_mesh_shader);
10680|     27|                symbolTable.setFunctionExtensions("groupMemoryBarrier",           Num_AEP_mesh_shader, AEP_mesh_shader);
10681|     27|            } else {
10682|      0|                symbolTable.setFunctionExtensions("barrier",                      1, &E_GL_NV_mesh_shader);
10683|      0|                symbolTable.setFunctionExtensions("memoryBarrierShared",          1, &E_GL_NV_mesh_shader);
10684|      0|                symbolTable.setFunctionExtensions("groupMemoryBarrier",           1, &E_GL_NV_mesh_shader);
10685|      0|            }
10686|     27|            symbolTable.setFunctionExtensions("writePackedPrimitiveIndices4x8NV",  1, &E_GL_NV_mesh_shader);
10687|     27|        }
10688|       |
10689|     27|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (10689:13): [True: 27, False: 0]
  |  Branch (10689:38): [True: 27, False: 0]
  ------------------
10690|       |            // GL_EXT_Mesh_shader
10691|     27|            symbolTable.setVariableExtensions("gl_PrimitivePointIndicesEXT",    1, &E_GL_EXT_mesh_shader);
10692|     27|            symbolTable.setVariableExtensions("gl_PrimitiveLineIndicesEXT",     1, &E_GL_EXT_mesh_shader);
10693|     27|            symbolTable.setVariableExtensions("gl_PrimitiveTriangleIndicesEXT", 1, &E_GL_EXT_mesh_shader);
10694|     27|            symbolTable.setVariableExtensions("gl_NumWorkGroups",               1, &E_GL_EXT_mesh_shader);
10695|       |
10696|     27|            BuiltInVariable("gl_PrimitivePointIndicesEXT",    EbvPrimitivePointIndicesEXT,    symbolTable);
10697|     27|            BuiltInVariable("gl_PrimitiveLineIndicesEXT",     EbvPrimitiveLineIndicesEXT,     symbolTable);
10698|     27|            BuiltInVariable("gl_PrimitiveTriangleIndicesEXT", EbvPrimitiveTriangleIndicesEXT, symbolTable);
10699|     27|            BuiltInVariable("gl_NumWorkGroups",        EbvNumWorkGroups,        symbolTable);
10700|       |
10701|     27|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_Position",     1, &E_GL_EXT_mesh_shader);
10702|     27|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_PointSize",    1, &E_GL_EXT_mesh_shader);
10703|     27|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_ClipDistance", 1, &E_GL_EXT_mesh_shader);
10704|     27|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_CullDistance", 1, &E_GL_EXT_mesh_shader);
10705|       |            
10706|     27|            BuiltInVariable("gl_MeshVerticesEXT", "gl_Position",     EbvPosition,     symbolTable);
10707|     27|            BuiltInVariable("gl_MeshVerticesEXT", "gl_PointSize",    EbvPointSize,    symbolTable);
10708|     27|            BuiltInVariable("gl_MeshVerticesEXT", "gl_ClipDistance", EbvClipDistance, symbolTable);
10709|     27|            BuiltInVariable("gl_MeshVerticesEXT", "gl_CullDistance", EbvCullDistance, symbolTable);
10710|       |            
10711|     27|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_PrimitiveID",             1, &E_GL_EXT_mesh_shader);
10712|     27|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_Layer",                   1, &E_GL_EXT_mesh_shader);
10713|     27|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_ViewportIndex",           1, &E_GL_EXT_mesh_shader);
10714|     27|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_CullPrimitiveEXT",        1, &E_GL_EXT_mesh_shader);
10715|       |
10716|       |            // note: technically this member requires both GL_EXT_mesh_shader and GL_EXT_fragment_shading_rate
10717|       |            // since setVariableExtensions only needs *one of* the extensions to validate, it's more useful to specify EXT_fragment_shading_rate
10718|       |            // GL_EXT_mesh_shader will be required in practice by use of other fields of gl_MeshPrimitivesEXT
10719|     27|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_PrimitiveShadingRateEXT", 1, &E_GL_EXT_fragment_shading_rate);
10720|       |
10721|     27|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_PrimitiveID",              EbvPrimitiveId,    symbolTable);
10722|     27|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_Layer",                    EbvLayer,          symbolTable);
10723|     27|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_ViewportIndex",            EbvViewportIndex,  symbolTable);
10724|     27|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_CullPrimitiveEXT",         EbvCullPrimitiveEXT, symbolTable);
10725|     27|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_PrimitiveShadingRateEXT",  EbvPrimitiveShadingRateKHR, symbolTable);
10726|       |
10727|     27|            symbolTable.setFunctionExtensions("SetMeshOutputsEXT",  1, &E_GL_EXT_mesh_shader);
10728|       |
10729|       |            // GL_EXT_device_group
10730|     27|            symbolTable.setVariableExtensions("gl_DeviceIndex", 1, &E_GL_EXT_device_group);
10731|     27|            BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
10732|       |
10733|       |            // GL_ARB_shader_draw_parameters
10734|     27|            symbolTable.setVariableExtensions("gl_DrawIDARB", 1, &E_GL_ARB_shader_draw_parameters);
10735|     27|            BuiltInVariable("gl_DrawIDARB", EbvDrawId, symbolTable);
10736|     27|            if (version >= 460) {
  ------------------
  |  Branch (10736:17): [True: 0, False: 27]
  ------------------
10737|      0|                BuiltInVariable("gl_DrawID", EbvDrawId, symbolTable);
10738|      0|            }
10739|       |            // GL_EXT_multiview
10740|     27|            BuiltInVariable("gl_ViewIndex", EbvViewIndex, symbolTable);
10741|     27|            symbolTable.setVariableExtensions("gl_ViewIndex", 1, &E_GL_EXT_multiview);
10742|       |
10743|       |            // GL_ARB_shader_ballot
10744|     27|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10745|     27|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10746|     27|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10747|     27|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10748|     27|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10749|     27|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10750|     27|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10751|       |
10752|     27|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10753|     27|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10754|     27|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10755|     27|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10756|     27|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10757|     27|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10758|       |
10759|     27|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10759:17): [True: 15, False: 12]
  ------------------
10760|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10761|     15|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10762|     15|                if (language == EShLangFragment)
  ------------------
  |  Branch (10762:21): [True: 0, False: 15]
  ------------------
10763|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10764|     15|            }
10765|     12|            else
10766|     12|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10767|     27|        }
10768|       |
10769|       |        // GL_KHR_shader_subgroup
10770|     27|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10770:14): [True: 0, False: 27]
  |  Branch (10770:39): [True: 0, False: 0]
  ------------------
10771|     27|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10771:14): [True: 27, False: 0]
  |  Branch (10771:39): [True: 27, False: 0]
  ------------------
10772|     27|            symbolTable.setVariableExtensions("gl_NumSubgroups",         1, &E_GL_KHR_shader_subgroup_basic);
10773|     27|            symbolTable.setVariableExtensions("gl_SubgroupID",           1, &E_GL_KHR_shader_subgroup_basic);
10774|     27|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10775|     27|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10776|     27|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10777|     27|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10778|     27|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10779|     27|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10780|     27|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10781|       |
10782|     27|            BuiltInVariable("gl_NumSubgroups",         EbvNumSubgroups,        symbolTable);
10783|     27|            BuiltInVariable("gl_SubgroupID",           EbvSubgroupID,          symbolTable);
10784|     27|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10785|     27|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10786|     27|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10787|     27|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10788|     27|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10789|     27|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10790|     27|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10791|       |
10792|     27|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierShared", 1, &E_GL_KHR_shader_subgroup_basic);
10793|       |
10794|       |            // GL_NV_shader_sm_builtins
10795|     27|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10796|     27|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10797|     27|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10798|     27|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10799|     27|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10800|     27|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10801|     27|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10802|     27|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10803|       |
10804|       |            // GL_ARM_shader_core_builtins
10805|     27|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10806|     27|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10807|     27|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10808|     27|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10809|     27|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10810|       |
10811|     27|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10812|     27|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10813|     27|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10814|     27|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10815|     27|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10816|     27|        }
10817|       |
10818|     27|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10818:14): [True: 0, False: 27]
  |  Branch (10818:39): [True: 0, False: 0]
  ------------------
10819|     27|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10819:14): [True: 27, False: 0]
  |  Branch (10819:39): [True: 27, False: 0]
  ------------------
10820|     27|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10821|     27|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10822|     27|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10823|     27|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10824|     27|        }
10825|       |
10826|       |        // Builtins for GL_NV_displacment_micromap
10827|     27|        if ((profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10827:14): [True: 27, False: 0]
  |  Branch (10827:39): [True: 0, False: 27]
  ------------------
10828|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexPositionNV", 1, &E_GL_NV_displacement_micromap);
10829|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexBarycentricNV", 1, &E_GL_NV_displacement_micromap);
10830|      0|        }
10831|       |
10832|     27|        break;
10833|       |
10834|     27|    case EShLangTask:
  ------------------
  |  Branch (10834:5): [True: 27, False: 435]
  ------------------
10835|     27|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (10835:14): [True: 27, False: 0]
  |  Branch (10835:39): [True: 27, False: 0]
  |  Branch (10835:59): [True: 0, False: 0]
  |  Branch (10835:84): [True: 0, False: 0]
  ------------------
10836|     27|            symbolTable.setVariableExtensions("gl_TaskCountNV",          1, &E_GL_NV_mesh_shader);
10837|     27|            symbolTable.setVariableExtensions("gl_MeshViewCountNV",      1, &E_GL_NV_mesh_shader);
10838|     27|            symbolTable.setVariableExtensions("gl_MeshViewIndicesNV",    1, &E_GL_NV_mesh_shader);
10839|     27|            if (profile != EEsProfile) {
  ------------------
  |  Branch (10839:17): [True: 27, False: 0]
  ------------------
10840|     27|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        Num_AEP_mesh_shader, AEP_mesh_shader);
10841|     27|                symbolTable.setVariableExtensions("gl_WorkGroupID",          Num_AEP_mesh_shader, AEP_mesh_shader);
10842|     27|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    Num_AEP_mesh_shader, AEP_mesh_shader);
10843|     27|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   Num_AEP_mesh_shader, AEP_mesh_shader);
10844|     27|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", Num_AEP_mesh_shader, AEP_mesh_shader);
10845|     27|            } else {
10846|      0|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        1, &E_GL_NV_mesh_shader);
10847|      0|                symbolTable.setVariableExtensions("gl_WorkGroupID",          1, &E_GL_NV_mesh_shader);
10848|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    1, &E_GL_NV_mesh_shader);
10849|      0|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   1, &E_GL_NV_mesh_shader);
10850|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", 1, &E_GL_NV_mesh_shader);
10851|      0|            }
10852|       |
10853|     27|            BuiltInVariable("gl_TaskCountNV",          EbvTaskCountNV,          symbolTable);
10854|     27|            BuiltInVariable("gl_WorkGroupSize",        EbvWorkGroupSize,        symbolTable);
10855|     27|            BuiltInVariable("gl_WorkGroupID",          EbvWorkGroupId,          symbolTable);
10856|     27|            BuiltInVariable("gl_LocalInvocationID",    EbvLocalInvocationId,    symbolTable);
10857|     27|            BuiltInVariable("gl_GlobalInvocationID",   EbvGlobalInvocationId,   symbolTable);
10858|     27|            BuiltInVariable("gl_LocalInvocationIndex", EbvLocalInvocationIndex, symbolTable);
10859|     27|            BuiltInVariable("gl_MeshViewCountNV",      EbvMeshViewCountNV,      symbolTable);
10860|     27|            BuiltInVariable("gl_MeshViewIndicesNV",    EbvMeshViewIndicesNV,    symbolTable);
10861|       |
10862|     27|            symbolTable.setVariableExtensions("gl_MaxTaskWorkGroupSizeNV", 1, &E_GL_NV_mesh_shader);
10863|     27|            symbolTable.setVariableExtensions("gl_MaxMeshViewCountNV",     1, &E_GL_NV_mesh_shader);
10864|       |
10865|     27|            if (profile != EEsProfile) {
  ------------------
  |  Branch (10865:17): [True: 27, False: 0]
  ------------------
10866|     27|                symbolTable.setFunctionExtensions("barrier",                   Num_AEP_mesh_shader, AEP_mesh_shader);
10867|     27|                symbolTable.setFunctionExtensions("memoryBarrierShared",       Num_AEP_mesh_shader, AEP_mesh_shader);
10868|     27|                symbolTable.setFunctionExtensions("groupMemoryBarrier",        Num_AEP_mesh_shader, AEP_mesh_shader);
10869|     27|            } else {
10870|      0|                symbolTable.setFunctionExtensions("barrier",                   1, &E_GL_NV_mesh_shader);
10871|      0|                symbolTable.setFunctionExtensions("memoryBarrierShared",       1, &E_GL_NV_mesh_shader);
10872|      0|                symbolTable.setFunctionExtensions("groupMemoryBarrier",        1, &E_GL_NV_mesh_shader);
10873|      0|            }
10874|     27|        }
10875|       |
10876|     27|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (10876:13): [True: 27, False: 0]
  |  Branch (10876:38): [True: 27, False: 0]
  ------------------
10877|       |            // GL_EXT_mesh_shader
10878|     27|            symbolTable.setFunctionExtensions("EmitMeshTasksEXT",          1, &E_GL_EXT_mesh_shader);
10879|     27|            symbolTable.setVariableExtensions("gl_NumWorkGroups",        1, &E_GL_EXT_mesh_shader);
10880|     27|            BuiltInVariable("gl_NumWorkGroups",        EbvNumWorkGroups,        symbolTable);
10881|       |
10882|       |            // GL_EXT_device_group
10883|     27|            symbolTable.setVariableExtensions("gl_DeviceIndex", 1, &E_GL_EXT_device_group);
10884|     27|            BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
10885|       |
10886|       |            // GL_ARB_shader_draw_parameters
10887|     27|            symbolTable.setVariableExtensions("gl_DrawIDARB", 1, &E_GL_ARB_shader_draw_parameters);
10888|     27|            BuiltInVariable("gl_DrawIDARB", EbvDrawId, symbolTable);
10889|     27|            if (version >= 460) {
  ------------------
  |  Branch (10889:17): [True: 0, False: 27]
  ------------------
10890|      0|                BuiltInVariable("gl_DrawID", EbvDrawId, symbolTable);
10891|      0|            }
10892|       |
10893|       |            // GL_ARB_shader_ballot
10894|     27|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10895|     27|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10896|     27|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10897|     27|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10898|     27|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10899|     27|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10900|     27|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10901|       |
10902|     27|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10903|     27|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10904|     27|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10905|     27|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10906|     27|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10907|     27|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10908|       |
10909|     27|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10909:17): [True: 15, False: 12]
  ------------------
10910|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10911|     15|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10912|     15|                if (language == EShLangFragment)
  ------------------
  |  Branch (10912:21): [True: 0, False: 15]
  ------------------
10913|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10914|     15|            }
10915|     12|            else
10916|     12|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10917|     27|        }
10918|       |
10919|       |        // GL_KHR_shader_subgroup
10920|     27|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10920:14): [True: 0, False: 27]
  |  Branch (10920:39): [True: 0, False: 0]
  ------------------
10921|     27|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10921:14): [True: 27, False: 0]
  |  Branch (10921:39): [True: 27, False: 0]
  ------------------
10922|     27|            symbolTable.setVariableExtensions("gl_NumSubgroups",         1, &E_GL_KHR_shader_subgroup_basic);
10923|     27|            symbolTable.setVariableExtensions("gl_SubgroupID",           1, &E_GL_KHR_shader_subgroup_basic);
10924|     27|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10925|     27|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10926|     27|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10927|     27|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10928|     27|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10929|     27|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10930|     27|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10931|       |
10932|     27|            BuiltInVariable("gl_NumSubgroups",         EbvNumSubgroups,        symbolTable);
10933|     27|            BuiltInVariable("gl_SubgroupID",           EbvSubgroupID,          symbolTable);
10934|     27|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10935|     27|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10936|     27|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10937|     27|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10938|     27|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10939|     27|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10940|     27|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10941|       |
10942|     27|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierShared", 1, &E_GL_KHR_shader_subgroup_basic);
10943|       |
10944|       |            // GL_NV_shader_sm_builtins
10945|     27|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10946|     27|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10947|     27|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10948|     27|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10949|     27|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10950|     27|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10951|     27|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10952|     27|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10953|       |
10954|       |            // GL_ARM_shader_core_builtins
10955|     27|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10956|     27|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10957|     27|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10958|     27|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10959|     27|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10960|       |
10961|     27|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10962|     27|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10963|     27|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10964|     27|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10965|     27|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10966|     27|        }
10967|     27|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10967:14): [True: 0, False: 27]
  |  Branch (10967:39): [True: 0, False: 0]
  ------------------
10968|     27|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10968:14): [True: 27, False: 0]
  |  Branch (10968:39): [True: 27, False: 0]
  ------------------
10969|     27|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10970|     27|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10971|     27|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10972|     27|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10973|     27|        }
10974|     27|        break;
10975|       |
10976|      0|    default:
  ------------------
  |  Branch (10976:5): [True: 0, False: 462]
  ------------------
10977|      0|        assert(false && "Language not supported");
10978|      0|        break;
10979|    462|    }
10980|       |
10981|       |    //
10982|       |    // Next, identify which built-ins have a mapping to an operator.
10983|       |    // If PureOperatorBuiltins is false, those that are not identified as such are
10984|       |    // expected to be resolved through a library of functions, versus as
10985|       |    // operations.
10986|       |    //
10987|       |
10988|    462|    relateTabledBuiltins(version, profile, spvVersion, language, symbolTable);
10989|       |
10990|    462|    symbolTable.relateToOperator("doubleBitsToInt64",  EOpDoubleBitsToInt64);
10991|    462|    symbolTable.relateToOperator("doubleBitsToUint64", EOpDoubleBitsToUint64);
10992|    462|    symbolTable.relateToOperator("int64BitsToDouble",  EOpInt64BitsToDouble);
10993|    462|    symbolTable.relateToOperator("uint64BitsToDouble", EOpUint64BitsToDouble);
10994|    462|    symbolTable.relateToOperator("halfBitsToInt16",  EOpFloat16BitsToInt16);
10995|    462|    symbolTable.relateToOperator("halfBitsToUint16", EOpFloat16BitsToUint16);
10996|    462|    symbolTable.relateToOperator("float16BitsToInt16",  EOpFloat16BitsToInt16);
10997|    462|    symbolTable.relateToOperator("float16BitsToUint16", EOpFloat16BitsToUint16);
10998|    462|    symbolTable.relateToOperator("int16BitsToFloat16",  EOpInt16BitsToFloat16);
10999|    462|    symbolTable.relateToOperator("uint16BitsToFloat16", EOpUint16BitsToFloat16);
11000|       |
11001|    462|    symbolTable.relateToOperator("int16BitsToHalf",  EOpInt16BitsToFloat16);
11002|    462|    symbolTable.relateToOperator("uint16BitsToHalf", EOpUint16BitsToFloat16);
11003|       |
11004|    462|    symbolTable.relateToOperator("packSnorm4x8",    EOpPackSnorm4x8);
11005|    462|    symbolTable.relateToOperator("unpackSnorm4x8",  EOpUnpackSnorm4x8);
11006|    462|    symbolTable.relateToOperator("packUnorm4x8",    EOpPackUnorm4x8);
11007|    462|    symbolTable.relateToOperator("unpackUnorm4x8",  EOpUnpackUnorm4x8);
11008|       |
11009|    462|    symbolTable.relateToOperator("packDouble2x32",    EOpPackDouble2x32);
11010|    462|    symbolTable.relateToOperator("unpackDouble2x32",  EOpUnpackDouble2x32);
11011|       |
11012|    462|    symbolTable.relateToOperator("packInt2x32",     EOpPackInt2x32);
11013|    462|    symbolTable.relateToOperator("unpackInt2x32",   EOpUnpackInt2x32);
11014|    462|    symbolTable.relateToOperator("packUint2x32",    EOpPackUint2x32);
11015|    462|    symbolTable.relateToOperator("unpackUint2x32",  EOpUnpackUint2x32);
11016|       |
11017|    462|    symbolTable.relateToOperator("packInt2x16",     EOpPackInt2x16);
11018|    462|    symbolTable.relateToOperator("unpackInt2x16",   EOpUnpackInt2x16);
11019|    462|    symbolTable.relateToOperator("packUint2x16",    EOpPackUint2x16);
11020|    462|    symbolTable.relateToOperator("unpackUint2x16",  EOpUnpackUint2x16);
11021|       |
11022|    462|    symbolTable.relateToOperator("packInt4x16",     EOpPackInt4x16);
11023|    462|    symbolTable.relateToOperator("unpackInt4x16",   EOpUnpackInt4x16);
11024|    462|    symbolTable.relateToOperator("packUint4x16",    EOpPackUint4x16);
11025|    462|    symbolTable.relateToOperator("unpackUint4x16",  EOpUnpackUint4x16);
11026|    462|    symbolTable.relateToOperator("packFloat2x16",   EOpPackFloat2x16);
11027|    462|    symbolTable.relateToOperator("unpackFloat2x16", EOpUnpackFloat2x16);
11028|       |
11029|    462|    symbolTable.relateToOperator("pack16",          EOpPack16);
11030|    462|    symbolTable.relateToOperator("pack32",          EOpPack32);
11031|    462|    symbolTable.relateToOperator("pack64",          EOpPack64);
11032|       |
11033|    462|    symbolTable.relateToOperator("unpack32",        EOpUnpack32);
11034|    462|    symbolTable.relateToOperator("unpack16",        EOpUnpack16);
11035|    462|    symbolTable.relateToOperator("unpack8",         EOpUnpack8);
11036|       |
11037|    462|    symbolTable.relateToOperator("controlBarrier",             EOpBarrier);
11038|    462|    symbolTable.relateToOperator("memoryBarrierAtomicCounter", EOpMemoryBarrierAtomicCounter);
11039|    462|    symbolTable.relateToOperator("memoryBarrierImage",         EOpMemoryBarrierImage);
11040|       |
11041|    462|    if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (11041:9): [True: 0, False: 462]
  ------------------
11042|       |        //
11043|       |        // functions signature have been replaced to take uint operations on buffer variables
11044|       |        // remap atomic counter functions to atomic operations
11045|       |        //
11046|      0|        symbolTable.relateToOperator("memoryBarrierAtomicCounter", EOpMemoryBarrierBuffer);
11047|      0|    }
11048|       |
11049|    462|    symbolTable.relateToOperator("atomicLoad",     EOpAtomicLoad);
11050|    462|    symbolTable.relateToOperator("atomicStore",    EOpAtomicStore);
11051|       |
11052|    462|    symbolTable.relateToOperator("atomicCounterIncrement", EOpAtomicCounterIncrement);
11053|    462|    symbolTable.relateToOperator("atomicCounterDecrement", EOpAtomicCounterDecrement);
11054|    462|    symbolTable.relateToOperator("atomicCounter",          EOpAtomicCounter);
11055|       |
11056|    462|    if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (11056:9): [True: 0, False: 462]
  ------------------
11057|       |        //
11058|       |        // functions signature have been replaced to take uint operations
11059|       |        // remap atomic counter functions to atomic operations
11060|       |        //
11061|       |        // these atomic counter functions do not match signatures of glsl
11062|       |        // atomic functions, so they will be remapped to semantically
11063|       |        // equivalent functions in the parser
11064|       |        //
11065|      0|        symbolTable.relateToOperator("atomicCounterIncrement", EOpNull);
11066|      0|        symbolTable.relateToOperator("atomicCounterDecrement", EOpNull);
11067|      0|        symbolTable.relateToOperator("atomicCounter", EOpNull);
11068|      0|    }
11069|       |
11070|    462|    symbolTable.relateToOperator("clockARB",     EOpReadClockSubgroupKHR);
11071|    462|    symbolTable.relateToOperator("clock2x32ARB", EOpReadClockSubgroupKHR);
11072|       |
11073|    462|    symbolTable.relateToOperator("clockRealtimeEXT",     EOpReadClockDeviceKHR);
11074|    462|    symbolTable.relateToOperator("clockRealtime2x32EXT", EOpReadClockDeviceKHR);
11075|       |
11076|    462|    if (profile != EEsProfile && version == 450) {
  ------------------
  |  Branch (11076:9): [True: 368, False: 94]
  |  Branch (11076:34): [True: 363, False: 5]
  ------------------
11077|    363|        symbolTable.relateToOperator("atomicCounterAddARB",      EOpAtomicCounterAdd);
11078|    363|        symbolTable.relateToOperator("atomicCounterSubtractARB", EOpAtomicCounterSubtract);
11079|    363|        symbolTable.relateToOperator("atomicCounterMinARB",      EOpAtomicCounterMin);
11080|    363|        symbolTable.relateToOperator("atomicCounterMaxARB",      EOpAtomicCounterMax);
11081|    363|        symbolTable.relateToOperator("atomicCounterAndARB",      EOpAtomicCounterAnd);
11082|    363|        symbolTable.relateToOperator("atomicCounterOrARB",       EOpAtomicCounterOr);
11083|    363|        symbolTable.relateToOperator("atomicCounterXorARB",      EOpAtomicCounterXor);
11084|    363|        symbolTable.relateToOperator("atomicCounterExchangeARB", EOpAtomicCounterExchange);
11085|    363|        symbolTable.relateToOperator("atomicCounterCompSwapARB", EOpAtomicCounterCompSwap);
11086|    363|    }
11087|       |
11088|    462|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11088:9): [True: 368, False: 94]
  |  Branch (11088:34): [True: 0, False: 368]
  ------------------
11089|      0|        symbolTable.relateToOperator("atomicCounterAdd",      EOpAtomicCounterAdd);
11090|      0|        symbolTable.relateToOperator("atomicCounterSubtract", EOpAtomicCounterSubtract);
11091|      0|        symbolTable.relateToOperator("atomicCounterMin",      EOpAtomicCounterMin);
11092|      0|        symbolTable.relateToOperator("atomicCounterMax",      EOpAtomicCounterMax);
11093|      0|        symbolTable.relateToOperator("atomicCounterAnd",      EOpAtomicCounterAnd);
11094|      0|        symbolTable.relateToOperator("atomicCounterOr",       EOpAtomicCounterOr);
11095|      0|        symbolTable.relateToOperator("atomicCounterXor",      EOpAtomicCounterXor);
11096|      0|        symbolTable.relateToOperator("atomicCounterExchange", EOpAtomicCounterExchange);
11097|      0|        symbolTable.relateToOperator("atomicCounterCompSwap", EOpAtomicCounterCompSwap);
11098|      0|    }
11099|       |
11100|    462|    if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (11100:9): [True: 0, False: 462]
  ------------------
11101|       |        //
11102|       |        // functions signature have been replaced to take 'uint' instead of 'atomic_uint'
11103|       |        // remap atomic counter functions to non-counter atomic ops so
11104|       |        // functions act as aliases to non-counter atomic ops
11105|       |        //
11106|      0|        symbolTable.relateToOperator("atomicCounterAdd", EOpAtomicAdd);
11107|      0|        symbolTable.relateToOperator("atomicCounterSubtract", EOpAtomicSubtract);
11108|      0|        symbolTable.relateToOperator("atomicCounterMin", EOpAtomicMin);
11109|      0|        symbolTable.relateToOperator("atomicCounterMax", EOpAtomicMax);
11110|      0|        symbolTable.relateToOperator("atomicCounterAnd", EOpAtomicAnd);
11111|      0|        symbolTable.relateToOperator("atomicCounterOr", EOpAtomicOr);
11112|      0|        symbolTable.relateToOperator("atomicCounterXor", EOpAtomicXor);
11113|      0|        symbolTable.relateToOperator("atomicCounterExchange", EOpAtomicExchange);
11114|      0|        symbolTable.relateToOperator("atomicCounterCompSwap", EOpAtomicCompSwap);
11115|      0|    }
11116|       |
11117|    462|    symbolTable.relateToOperator("fma",               EOpFma);
11118|    462|    symbolTable.relateToOperator("frexp",             EOpFrexp);
11119|    462|    symbolTable.relateToOperator("ldexp",             EOpLdexp);
11120|    462|    symbolTable.relateToOperator("uaddCarry",         EOpAddCarry);
11121|    462|    symbolTable.relateToOperator("usubBorrow",        EOpSubBorrow);
11122|    462|    symbolTable.relateToOperator("umulExtended",      EOpUMulExtended);
11123|    462|    symbolTable.relateToOperator("imulExtended",      EOpIMulExtended);
11124|    462|    symbolTable.relateToOperator("bitfieldExtract",   EOpBitfieldExtract);
11125|    462|    symbolTable.relateToOperator("bitfieldInsert",    EOpBitfieldInsert);
11126|    462|    symbolTable.relateToOperator("bitfieldReverse",   EOpBitFieldReverse);
11127|    462|    symbolTable.relateToOperator("bitCount",          EOpBitCount);
11128|    462|    symbolTable.relateToOperator("findLSB",           EOpFindLSB);
11129|    462|    symbolTable.relateToOperator("findMSB",           EOpFindMSB);
11130|       |
11131|    462|    symbolTable.relateToOperator("helperInvocationEXT",  EOpIsHelperInvocation);
11132|       |
11133|    462|    symbolTable.relateToOperator("countLeadingZeros",  EOpCountLeadingZeros);
11134|    462|    symbolTable.relateToOperator("countTrailingZeros", EOpCountTrailingZeros);
11135|    462|    symbolTable.relateToOperator("absoluteDifference", EOpAbsDifference);
11136|    462|    symbolTable.relateToOperator("addSaturate",        EOpAddSaturate);
11137|    462|    symbolTable.relateToOperator("subtractSaturate",   EOpSubSaturate);
11138|    462|    symbolTable.relateToOperator("average",            EOpAverage);
11139|    462|    symbolTable.relateToOperator("averageRounded",     EOpAverageRounded);
11140|    462|    symbolTable.relateToOperator("multiply32x16",      EOpMul32x16);
11141|    462|    symbolTable.relateToOperator("debugPrintfEXT",     EOpDebugPrintf);
11142|    462|    symbolTable.relateToOperator("assumeEXT",          EOpAssumeEXT);
11143|    462|    symbolTable.relateToOperator("expectEXT",          EOpExpectEXT);
11144|    462|    symbolTable.relateToOperator("abortEXT",           EOpAbortEXT);
11145|       |
11146|       |
11147|    462|    if (PureOperatorBuiltins) {
  ------------------
  |  Branch (11147:9): [True: 462, Folded]
  ------------------
11148|    462|        symbolTable.relateToOperator("imageSize",               EOpImageQuerySize);
11149|    462|        symbolTable.relateToOperator("imageSamples",            EOpImageQuerySamples);
11150|    462|        symbolTable.relateToOperator("imageLoad",               EOpImageLoad);
11151|    462|        symbolTable.relateToOperator("imageStore",              EOpImageStore);
11152|    462|        symbolTable.relateToOperator("imageAtomicAdd",          EOpImageAtomicAdd);
11153|    462|        symbolTable.relateToOperator("imageAtomicMin",          EOpImageAtomicMin);
11154|    462|        symbolTable.relateToOperator("imageAtomicMax",          EOpImageAtomicMax);
11155|    462|        symbolTable.relateToOperator("imageAtomicAnd",          EOpImageAtomicAnd);
11156|    462|        symbolTable.relateToOperator("imageAtomicOr",           EOpImageAtomicOr);
11157|    462|        symbolTable.relateToOperator("imageAtomicXor",          EOpImageAtomicXor);
11158|    462|        symbolTable.relateToOperator("imageAtomicExchange",     EOpImageAtomicExchange);
11159|    462|        symbolTable.relateToOperator("imageAtomicCompSwap",     EOpImageAtomicCompSwap);
11160|    462|        symbolTable.relateToOperator("imageAtomicLoad",         EOpImageAtomicLoad);
11161|    462|        symbolTable.relateToOperator("imageAtomicStore",        EOpImageAtomicStore);
11162|       |
11163|    462|        symbolTable.relateToOperator("subpassLoad",             EOpSubpassLoad);
11164|    462|        symbolTable.relateToOperator("subpassLoadMS",           EOpSubpassLoadMS);
11165|       |
11166|    462|        symbolTable.relateToOperator("textureGather",           EOpTextureGather);
11167|    462|        symbolTable.relateToOperator("textureGatherOffset",     EOpTextureGatherOffset);
11168|    462|        symbolTable.relateToOperator("textureGatherOffsets",    EOpTextureGatherOffsets);
11169|       |
11170|    462|        symbolTable.relateToOperator("noise1", EOpNoise);
11171|    462|        symbolTable.relateToOperator("noise2", EOpNoise);
11172|    462|        symbolTable.relateToOperator("noise3", EOpNoise);
11173|    462|        symbolTable.relateToOperator("noise4", EOpNoise);
11174|       |
11175|    462|        symbolTable.relateToOperator("textureFootprintNV",          EOpImageSampleFootprintNV);
11176|    462|        symbolTable.relateToOperator("textureFootprintClampNV",     EOpImageSampleFootprintClampNV);
11177|    462|        symbolTable.relateToOperator("textureFootprintLodNV",       EOpImageSampleFootprintLodNV);
11178|    462|        symbolTable.relateToOperator("textureFootprintGradNV",      EOpImageSampleFootprintGradNV);
11179|    462|        symbolTable.relateToOperator("textureFootprintGradClampNV", EOpImageSampleFootprintGradClampNV);
11180|       |
11181|    462|        if (spvVersion.spv == 0 && IncludeLegacy(version, profile, spvVersion))
  ------------------
  |  Branch (11181:13): [True: 462, False: 0]
  |  Branch (11181:36): [True: 1, False: 461]
  ------------------
11182|      1|            symbolTable.relateToOperator("ftransform", EOpFtransform);
11183|       |
11184|    462|        if (spvVersion.spv == 0 && (IncludeLegacy(version, profile, spvVersion) ||
  ------------------
  |  Branch (11184:13): [True: 462, False: 0]
  |  Branch (11184:37): [True: 1, False: 461]
  ------------------
11185|    461|            (profile == EEsProfile && version == 100))) {
  ------------------
  |  Branch (11185:14): [True: 94, False: 367]
  |  Branch (11185:39): [True: 92, False: 2]
  ------------------
11186|       |
11187|     93|            symbolTable.relateToOperator("texture1D",                EOpTexture);
11188|     93|            symbolTable.relateToOperator("texture1DGradARB",         EOpTextureGrad);
11189|     93|            symbolTable.relateToOperator("texture1DProj",            EOpTextureProj);
11190|     93|            symbolTable.relateToOperator("texture1DProjGradARB",     EOpTextureProjGrad);
11191|     93|            symbolTable.relateToOperator("texture1DLod",             EOpTextureLod);
11192|     93|            symbolTable.relateToOperator("texture1DProjLod",         EOpTextureProjLod);
11193|       |
11194|     93|            symbolTable.relateToOperator("texture2DRect",            EOpTexture);
11195|     93|            symbolTable.relateToOperator("texture2DRectProj",        EOpTextureProj);
11196|     93|            symbolTable.relateToOperator("texture2DRectGradARB",     EOpTextureGrad);
11197|     93|            symbolTable.relateToOperator("texture2DRectProjGradARB", EOpTextureProjGrad);
11198|     93|            symbolTable.relateToOperator("shadow2DRect",             EOpTexture);
11199|     93|            symbolTable.relateToOperator("shadow2DRectProj",         EOpTextureProj);
11200|     93|            symbolTable.relateToOperator("shadow2DRectGradARB",      EOpTextureGrad);
11201|     93|            symbolTable.relateToOperator("shadow2DRectProjGradARB",  EOpTextureProjGrad);
11202|       |
11203|     93|            symbolTable.relateToOperator("texture2D",                EOpTexture);
11204|     93|            symbolTable.relateToOperator("texture2DProj",            EOpTextureProj);
11205|     93|            symbolTable.relateToOperator("texture2DGradEXT",         EOpTextureGrad);
11206|     93|            symbolTable.relateToOperator("texture2DGradARB",         EOpTextureGrad);
11207|     93|            symbolTable.relateToOperator("texture2DProjGradEXT",     EOpTextureProjGrad);
11208|     93|            symbolTable.relateToOperator("texture2DProjGradARB",     EOpTextureProjGrad);
11209|     93|            symbolTable.relateToOperator("texture2DLod",             EOpTextureLod);
11210|     93|            symbolTable.relateToOperator("texture2DLodEXT",          EOpTextureLod);
11211|     93|            symbolTable.relateToOperator("texture2DProjLod",         EOpTextureProjLod);
11212|     93|            symbolTable.relateToOperator("texture2DProjLodEXT",      EOpTextureProjLod);
11213|       |
11214|     93|            symbolTable.relateToOperator("texture3D",                EOpTexture);
11215|     93|            symbolTable.relateToOperator("texture3DGradARB",         EOpTextureGrad);
11216|     93|            symbolTable.relateToOperator("texture3DProj",            EOpTextureProj);
11217|     93|            symbolTable.relateToOperator("texture3DProjGradARB",     EOpTextureProjGrad);
11218|     93|            symbolTable.relateToOperator("texture3DLod",             EOpTextureLod);
11219|     93|            symbolTable.relateToOperator("texture3DProjLod",         EOpTextureProjLod);
11220|     93|            symbolTable.relateToOperator("textureCube",              EOpTexture);
11221|     93|            symbolTable.relateToOperator("textureCubeGradEXT",       EOpTextureGrad);
11222|     93|            symbolTable.relateToOperator("textureCubeGradARB",       EOpTextureGrad);
11223|     93|            symbolTable.relateToOperator("textureCubeLod",           EOpTextureLod);
11224|     93|            symbolTable.relateToOperator("textureCubeLodEXT",        EOpTextureLod);
11225|     93|            symbolTable.relateToOperator("shadow1D",                 EOpTexture);
11226|     93|            symbolTable.relateToOperator("shadow1DGradARB",          EOpTextureGrad);
11227|     93|            symbolTable.relateToOperator("shadow2D",                 EOpTexture);
11228|     93|            symbolTable.relateToOperator("shadow2DGradARB",          EOpTextureGrad);
11229|     93|            symbolTable.relateToOperator("shadow1DProj",             EOpTextureProj);
11230|     93|            symbolTable.relateToOperator("shadow2DProj",             EOpTextureProj);
11231|     93|            symbolTable.relateToOperator("shadow1DProjGradARB",      EOpTextureProjGrad);
11232|     93|            symbolTable.relateToOperator("shadow2DProjGradARB",      EOpTextureProjGrad);
11233|     93|            symbolTable.relateToOperator("shadow1DLod",              EOpTextureLod);
11234|     93|            symbolTable.relateToOperator("shadow2DLod",              EOpTextureLod);
11235|     93|            symbolTable.relateToOperator("shadow1DProjLod",          EOpTextureProjLod);
11236|     93|            symbolTable.relateToOperator("shadow2DProjLod",          EOpTextureProjLod);
11237|     93|        }
11238|       |
11239|    462|        if (profile != EEsProfile) {
  ------------------
  |  Branch (11239:13): [True: 368, False: 94]
  ------------------
11240|    368|            symbolTable.relateToOperator("sparseTextureARB",                EOpSparseTexture);
11241|    368|            symbolTable.relateToOperator("sparseTextureLodARB",             EOpSparseTextureLod);
11242|    368|            symbolTable.relateToOperator("sparseTextureOffsetARB",          EOpSparseTextureOffset);
11243|    368|            symbolTable.relateToOperator("sparseTexelFetchARB",             EOpSparseTextureFetch);
11244|    368|            symbolTable.relateToOperator("sparseTexelFetchOffsetARB",       EOpSparseTextureFetchOffset);
11245|    368|            symbolTable.relateToOperator("sparseTextureLodOffsetARB",       EOpSparseTextureLodOffset);
11246|    368|            symbolTable.relateToOperator("sparseTextureGradARB",            EOpSparseTextureGrad);
11247|    368|            symbolTable.relateToOperator("sparseTextureGradOffsetARB",      EOpSparseTextureGradOffset);
11248|    368|            symbolTable.relateToOperator("sparseTextureGatherARB",          EOpSparseTextureGather);
11249|    368|            symbolTable.relateToOperator("sparseTextureGatherOffsetARB",    EOpSparseTextureGatherOffset);
11250|    368|            symbolTable.relateToOperator("sparseTextureGatherOffsetsARB",   EOpSparseTextureGatherOffsets);
11251|    368|            symbolTable.relateToOperator("sparseImageLoadARB",              EOpSparseImageLoad);
11252|    368|            symbolTable.relateToOperator("sparseTexelsResidentARB",         EOpSparseTexelsResident);
11253|       |
11254|    368|            symbolTable.relateToOperator("sparseTextureClampARB",           EOpSparseTextureClamp);
11255|    368|            symbolTable.relateToOperator("sparseTextureOffsetClampARB",     EOpSparseTextureOffsetClamp);
11256|    368|            symbolTable.relateToOperator("sparseTextureGradClampARB",       EOpSparseTextureGradClamp);
11257|    368|            symbolTable.relateToOperator("sparseTextureGradOffsetClampARB", EOpSparseTextureGradOffsetClamp);
11258|    368|            symbolTable.relateToOperator("textureClampARB",                 EOpTextureClamp);
11259|    368|            symbolTable.relateToOperator("textureOffsetClampARB",           EOpTextureOffsetClamp);
11260|    368|            symbolTable.relateToOperator("textureGradClampARB",             EOpTextureGradClamp);
11261|    368|            symbolTable.relateToOperator("textureGradOffsetClampARB",       EOpTextureGradOffsetClamp);
11262|       |
11263|    368|            symbolTable.relateToOperator("ballotARB",                       EOpBallot);
11264|    368|            symbolTable.relateToOperator("readInvocationARB",               EOpReadInvocation);
11265|    368|            symbolTable.relateToOperator("readFirstInvocationARB",          EOpReadFirstInvocation);
11266|       |
11267|    368|            if (version >= 430) {
  ------------------
  |  Branch (11267:17): [True: 363, False: 5]
  ------------------
11268|    363|                symbolTable.relateToOperator("anyInvocationARB",            EOpAnyInvocation);
11269|    363|                symbolTable.relateToOperator("allInvocationsARB",           EOpAllInvocations);
11270|    363|                symbolTable.relateToOperator("allInvocationsEqualARB",      EOpAllInvocationsEqual);
11271|    363|            }
11272|    368|            if (version >= 460) {
  ------------------
  |  Branch (11272:17): [True: 0, False: 368]
  ------------------
11273|      0|                symbolTable.relateToOperator("anyInvocation",               EOpAnyInvocation);
11274|      0|                symbolTable.relateToOperator("allInvocations",              EOpAllInvocations);
11275|      0|                symbolTable.relateToOperator("allInvocationsEqual",         EOpAllInvocationsEqual);
11276|      0|            }
11277|       |            // As per dependency between NV_gpu_shader5 and ARB_shader_group_vote
11278|       |            // anyInvocationARB = anyThreadNV
11279|       |            // allInvocationsARB = allThreadsNV
11280|       |            // allInvocationsEqualARB = allThreadsEqualNV
11281|       |            // Thus we reuse the Op's
11282|    368|            if (version >= 150) {
  ------------------
  |  Branch (11282:17): [True: 367, False: 1]
  ------------------
11283|    367|                symbolTable.relateToOperator("anyThreadNV",            EOpAnyInvocation);
11284|    367|                symbolTable.relateToOperator("allThreadsNV",           EOpAllInvocations);
11285|    367|                symbolTable.relateToOperator("allThreadsEqualNV",      EOpAllInvocationsEqual);
11286|    367|            }
11287|    368|            symbolTable.relateToOperator("minInvocationsAMD",                           EOpMinInvocations);
11288|    368|            symbolTable.relateToOperator("maxInvocationsAMD",                           EOpMaxInvocations);
11289|    368|            symbolTable.relateToOperator("addInvocationsAMD",                           EOpAddInvocations);
11290|    368|            symbolTable.relateToOperator("minInvocationsNonUniformAMD",                 EOpMinInvocationsNonUniform);
11291|    368|            symbolTable.relateToOperator("maxInvocationsNonUniformAMD",                 EOpMaxInvocationsNonUniform);
11292|    368|            symbolTable.relateToOperator("addInvocationsNonUniformAMD",                 EOpAddInvocationsNonUniform);
11293|    368|            symbolTable.relateToOperator("minInvocationsInclusiveScanAMD",              EOpMinInvocationsInclusiveScan);
11294|    368|            symbolTable.relateToOperator("maxInvocationsInclusiveScanAMD",              EOpMaxInvocationsInclusiveScan);
11295|    368|            symbolTable.relateToOperator("addInvocationsInclusiveScanAMD",              EOpAddInvocationsInclusiveScan);
11296|    368|            symbolTable.relateToOperator("minInvocationsInclusiveScanNonUniformAMD",    EOpMinInvocationsInclusiveScanNonUniform);
11297|    368|            symbolTable.relateToOperator("maxInvocationsInclusiveScanNonUniformAMD",    EOpMaxInvocationsInclusiveScanNonUniform);
11298|    368|            symbolTable.relateToOperator("addInvocationsInclusiveScanNonUniformAMD",    EOpAddInvocationsInclusiveScanNonUniform);
11299|    368|            symbolTable.relateToOperator("minInvocationsExclusiveScanAMD",              EOpMinInvocationsExclusiveScan);
11300|    368|            symbolTable.relateToOperator("maxInvocationsExclusiveScanAMD",              EOpMaxInvocationsExclusiveScan);
11301|    368|            symbolTable.relateToOperator("addInvocationsExclusiveScanAMD",              EOpAddInvocationsExclusiveScan);
11302|    368|            symbolTable.relateToOperator("minInvocationsExclusiveScanNonUniformAMD",    EOpMinInvocationsExclusiveScanNonUniform);
11303|    368|            symbolTable.relateToOperator("maxInvocationsExclusiveScanNonUniformAMD",    EOpMaxInvocationsExclusiveScanNonUniform);
11304|    368|            symbolTable.relateToOperator("addInvocationsExclusiveScanNonUniformAMD",    EOpAddInvocationsExclusiveScanNonUniform);
11305|    368|            symbolTable.relateToOperator("swizzleInvocationsAMD",                       EOpSwizzleInvocations);
11306|    368|            symbolTable.relateToOperator("swizzleInvocationsMaskedAMD",                 EOpSwizzleInvocationsMasked);
11307|    368|            symbolTable.relateToOperator("writeInvocationAMD",                          EOpWriteInvocation);
11308|    368|            symbolTable.relateToOperator("mbcntAMD",                                    EOpMbcnt);
11309|       |
11310|    368|            symbolTable.relateToOperator("min3",    EOpMin3);
11311|    368|            symbolTable.relateToOperator("max3",    EOpMax3);
11312|    368|            symbolTable.relateToOperator("mid3",    EOpMid3);
11313|       |
11314|    368|            symbolTable.relateToOperator("cubeFaceIndexAMD",    EOpCubeFaceIndex);
11315|    368|            symbolTable.relateToOperator("cubeFaceCoordAMD",    EOpCubeFaceCoord);
11316|    368|            symbolTable.relateToOperator("timeAMD",             EOpTime);
11317|       |
11318|    368|            symbolTable.relateToOperator("textureGatherLodAMD",                 EOpTextureGatherLod);
11319|    368|            symbolTable.relateToOperator("textureGatherLodOffsetAMD",           EOpTextureGatherLodOffset);
11320|    368|            symbolTable.relateToOperator("textureGatherLodOffsetsAMD",          EOpTextureGatherLodOffsets);
11321|    368|            symbolTable.relateToOperator("sparseTextureGatherLodAMD",           EOpSparseTextureGatherLod);
11322|    368|            symbolTable.relateToOperator("sparseTextureGatherLodOffsetAMD",     EOpSparseTextureGatherLodOffset);
11323|    368|            symbolTable.relateToOperator("sparseTextureGatherLodOffsetsAMD",    EOpSparseTextureGatherLodOffsets);
11324|       |
11325|    368|            symbolTable.relateToOperator("imageLoadLodAMD",                     EOpImageLoadLod);
11326|    368|            symbolTable.relateToOperator("imageStoreLodAMD",                    EOpImageStoreLod);
11327|    368|            symbolTable.relateToOperator("sparseImageLoadLodAMD",               EOpSparseImageLoadLod);
11328|       |
11329|    368|            symbolTable.relateToOperator("fragmentMaskFetchAMD",                EOpFragmentMaskFetch);
11330|    368|            symbolTable.relateToOperator("fragmentFetchAMD",                    EOpFragmentFetch);
11331|    368|        }
11332|       |
11333|       |        // GL_EXT_integer_dot_product
11334|    462|        if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (11334:14): [True: 94, False: 368]
  |  Branch (11334:39): [True: 2, False: 92]
  ------------------
11335|    460|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11335:14): [True: 368, False: 92]
  |  Branch (11335:39): [True: 363, False: 5]
  ------------------
11336|    365|            symbolTable.relateToOperator("dotEXT", EOpDot);
11337|    365|            symbolTable.relateToOperator("dotPacked4x8EXT", EOpDotPackedEXT);
11338|    365|            symbolTable.relateToOperator("dotAccSatEXT", EOpDotAccSatEXT);
11339|    365|            symbolTable.relateToOperator("dotPacked4x8AccSatEXT", EOpDotPackedAccSatEXT);
11340|    365|        }
11341|       |
11342|       |        // GL_EXT_bfloat16
11343|    462|        if ((profile == EEsProfile && version >= 320) ||
  ------------------
  |  Branch (11343:14): [True: 94, False: 368]
  |  Branch (11343:39): [True: 0, False: 94]
  ------------------
11344|    462|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11344:14): [True: 368, False: 94]
  |  Branch (11344:39): [True: 363, False: 5]
  ------------------
11345|    363|            symbolTable.relateToOperator("bfloat16BitsToIntEXT",  EOpFloatBitsToInt);
11346|    363|            symbolTable.relateToOperator("bfloat16BitsToUintEXT", EOpFloatBitsToUint);
11347|    363|            symbolTable.relateToOperator("intBitsToBFloat16EXT",  EOpIntBitsToFloat);
11348|    363|            symbolTable.relateToOperator("uintBitsToBFloat16EXT", EOpUintBitsToFloat);
11349|       |
11350|    363|            symbolTable.relateToOperator("floate5m2BitsToIntEXT",  EOpFloatBitsToInt);
11351|    363|            symbolTable.relateToOperator("floate5m2BitsToUintEXT", EOpFloatBitsToUint);
11352|    363|            symbolTable.relateToOperator("intBitsToFloate5m2EXT",  EOpIntBitsToFloat);
11353|    363|            symbolTable.relateToOperator("uintBitsToFloate5m2EXT", EOpUintBitsToFloat);
11354|       |
11355|    363|            symbolTable.relateToOperator("floate4m3BitsToIntEXT",  EOpFloatBitsToInt);
11356|    363|            symbolTable.relateToOperator("floate4m3BitsToUintEXT", EOpFloatBitsToUint);
11357|    363|            symbolTable.relateToOperator("intBitsToFloate4m3EXT",  EOpIntBitsToFloat);
11358|    363|            symbolTable.relateToOperator("uintBitsToFloate4m3EXT", EOpUintBitsToFloat);
11359|       |
11360|    363|            symbolTable.relateToOperator("saturatedConvertEXT", EOpConstructSaturated);
11361|    363|        }
11362|       |
11363|       |        // GL_KHR_shader_subgroup
11364|    462|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11364:14): [True: 94, False: 368]
  |  Branch (11364:39): [True: 0, False: 94]
  ------------------
11365|    462|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11365:14): [True: 368, False: 94]
  |  Branch (11365:39): [True: 367, False: 1]
  ------------------
11366|    367|            symbolTable.relateToOperator("subgroupBarrier",                 EOpSubgroupBarrier);
11367|    367|            symbolTable.relateToOperator("subgroupMemoryBarrier",           EOpSubgroupMemoryBarrier);
11368|    367|            symbolTable.relateToOperator("subgroupMemoryBarrierBuffer",     EOpSubgroupMemoryBarrierBuffer);
11369|    367|            symbolTable.relateToOperator("subgroupMemoryBarrierImage",      EOpSubgroupMemoryBarrierImage);
11370|    367|            symbolTable.relateToOperator("subgroupElect",                   EOpSubgroupElect);
11371|    367|            symbolTable.relateToOperator("subgroupAll",                     EOpSubgroupAll);
11372|    367|            symbolTable.relateToOperator("subgroupAny",                     EOpSubgroupAny);
11373|    367|            symbolTable.relateToOperator("subgroupAllEqual",                EOpSubgroupAllEqual);
11374|    367|            symbolTable.relateToOperator("subgroupBroadcast",               EOpSubgroupBroadcast);
11375|    367|            symbolTable.relateToOperator("subgroupBroadcastFirst",          EOpSubgroupBroadcastFirst);
11376|    367|            symbolTable.relateToOperator("subgroupBallot",                  EOpSubgroupBallot);
11377|    367|            symbolTable.relateToOperator("subgroupInverseBallot",           EOpSubgroupInverseBallot);
11378|    367|            symbolTable.relateToOperator("subgroupBallotBitExtract",        EOpSubgroupBallotBitExtract);
11379|    367|            symbolTable.relateToOperator("subgroupBallotBitCount",          EOpSubgroupBallotBitCount);
11380|    367|            symbolTable.relateToOperator("subgroupBallotInclusiveBitCount", EOpSubgroupBallotInclusiveBitCount);
11381|    367|            symbolTable.relateToOperator("subgroupBallotExclusiveBitCount", EOpSubgroupBallotExclusiveBitCount);
11382|    367|            symbolTable.relateToOperator("subgroupBallotFindLSB",           EOpSubgroupBallotFindLSB);
11383|    367|            symbolTable.relateToOperator("subgroupBallotFindMSB",           EOpSubgroupBallotFindMSB);
11384|    367|            symbolTable.relateToOperator("subgroupShuffle",                 EOpSubgroupShuffle);
11385|    367|            symbolTable.relateToOperator("subgroupShuffleXor",              EOpSubgroupShuffleXor);
11386|    367|            symbolTable.relateToOperator("subgroupShuffleUp",               EOpSubgroupShuffleUp);
11387|    367|            symbolTable.relateToOperator("subgroupShuffleDown",             EOpSubgroupShuffleDown);
11388|    367|            symbolTable.relateToOperator("subgroupRotate",                  EOpSubgroupRotate);
11389|    367|            symbolTable.relateToOperator("subgroupClusteredRotate",         EOpSubgroupClusteredRotate);
11390|    367|            symbolTable.relateToOperator("subgroupAdd",                     EOpSubgroupAdd);
11391|    367|            symbolTable.relateToOperator("subgroupMul",                     EOpSubgroupMul);
11392|    367|            symbolTable.relateToOperator("subgroupMin",                     EOpSubgroupMin);
11393|    367|            symbolTable.relateToOperator("subgroupMax",                     EOpSubgroupMax);
11394|    367|            symbolTable.relateToOperator("subgroupAnd",                     EOpSubgroupAnd);
11395|    367|            symbolTable.relateToOperator("subgroupOr",                      EOpSubgroupOr);
11396|    367|            symbolTable.relateToOperator("subgroupXor",                     EOpSubgroupXor);
11397|    367|            symbolTable.relateToOperator("subgroupInclusiveAdd",            EOpSubgroupInclusiveAdd);
11398|    367|            symbolTable.relateToOperator("subgroupInclusiveMul",            EOpSubgroupInclusiveMul);
11399|    367|            symbolTable.relateToOperator("subgroupInclusiveMin",            EOpSubgroupInclusiveMin);
11400|    367|            symbolTable.relateToOperator("subgroupInclusiveMax",            EOpSubgroupInclusiveMax);
11401|    367|            symbolTable.relateToOperator("subgroupInclusiveAnd",            EOpSubgroupInclusiveAnd);
11402|    367|            symbolTable.relateToOperator("subgroupInclusiveOr",             EOpSubgroupInclusiveOr);
11403|    367|            symbolTable.relateToOperator("subgroupInclusiveXor",            EOpSubgroupInclusiveXor);
11404|    367|            symbolTable.relateToOperator("subgroupExclusiveAdd",            EOpSubgroupExclusiveAdd);
11405|    367|            symbolTable.relateToOperator("subgroupExclusiveMul",            EOpSubgroupExclusiveMul);
11406|    367|            symbolTable.relateToOperator("subgroupExclusiveMin",            EOpSubgroupExclusiveMin);
11407|    367|            symbolTable.relateToOperator("subgroupExclusiveMax",            EOpSubgroupExclusiveMax);
11408|    367|            symbolTable.relateToOperator("subgroupExclusiveAnd",            EOpSubgroupExclusiveAnd);
11409|    367|            symbolTable.relateToOperator("subgroupExclusiveOr",             EOpSubgroupExclusiveOr);
11410|    367|            symbolTable.relateToOperator("subgroupExclusiveXor",            EOpSubgroupExclusiveXor);
11411|    367|            symbolTable.relateToOperator("subgroupClusteredAdd",            EOpSubgroupClusteredAdd);
11412|    367|            symbolTable.relateToOperator("subgroupClusteredMul",            EOpSubgroupClusteredMul);
11413|    367|            symbolTable.relateToOperator("subgroupClusteredMin",            EOpSubgroupClusteredMin);
11414|    367|            symbolTable.relateToOperator("subgroupClusteredMax",            EOpSubgroupClusteredMax);
11415|    367|            symbolTable.relateToOperator("subgroupClusteredAnd",            EOpSubgroupClusteredAnd);
11416|    367|            symbolTable.relateToOperator("subgroupClusteredOr",             EOpSubgroupClusteredOr);
11417|    367|            symbolTable.relateToOperator("subgroupClusteredXor",            EOpSubgroupClusteredXor);
11418|    367|            symbolTable.relateToOperator("subgroupQuadBroadcast",           EOpSubgroupQuadBroadcast);
11419|    367|            symbolTable.relateToOperator("subgroupQuadSwapHorizontal",      EOpSubgroupQuadSwapHorizontal);
11420|    367|            symbolTable.relateToOperator("subgroupQuadSwapVertical",        EOpSubgroupQuadSwapVertical);
11421|    367|            symbolTable.relateToOperator("subgroupQuadSwapDiagonal",        EOpSubgroupQuadSwapDiagonal);
11422|       |
11423|    367|            symbolTable.relateToOperator("subgroupPartitionNV",                          EOpSubgroupPartition);
11424|    367|            symbolTable.relateToOperator("subgroupPartitionedAddNV",                     EOpSubgroupPartitionedAdd);
11425|    367|            symbolTable.relateToOperator("subgroupPartitionedMulNV",                     EOpSubgroupPartitionedMul);
11426|    367|            symbolTable.relateToOperator("subgroupPartitionedMinNV",                     EOpSubgroupPartitionedMin);
11427|    367|            symbolTable.relateToOperator("subgroupPartitionedMaxNV",                     EOpSubgroupPartitionedMax);
11428|    367|            symbolTable.relateToOperator("subgroupPartitionedAndNV",                     EOpSubgroupPartitionedAnd);
11429|    367|            symbolTable.relateToOperator("subgroupPartitionedOrNV",                      EOpSubgroupPartitionedOr);
11430|    367|            symbolTable.relateToOperator("subgroupPartitionedXorNV",                     EOpSubgroupPartitionedXor);
11431|    367|            symbolTable.relateToOperator("subgroupPartitionedInclusiveAddNV",            EOpSubgroupPartitionedInclusiveAdd);
11432|    367|            symbolTable.relateToOperator("subgroupPartitionedInclusiveMulNV",            EOpSubgroupPartitionedInclusiveMul);
11433|    367|            symbolTable.relateToOperator("subgroupPartitionedInclusiveMinNV",            EOpSubgroupPartitionedInclusiveMin);
11434|    367|            symbolTable.relateToOperator("subgroupPartitionedInclusiveMaxNV",            EOpSubgroupPartitionedInclusiveMax);
11435|    367|            symbolTable.relateToOperator("subgroupPartitionedInclusiveAndNV",            EOpSubgroupPartitionedInclusiveAnd);
11436|    367|            symbolTable.relateToOperator("subgroupPartitionedInclusiveOrNV",             EOpSubgroupPartitionedInclusiveOr);
11437|    367|            symbolTable.relateToOperator("subgroupPartitionedInclusiveXorNV",            EOpSubgroupPartitionedInclusiveXor);
11438|    367|            symbolTable.relateToOperator("subgroupPartitionedExclusiveAddNV",            EOpSubgroupPartitionedExclusiveAdd);
11439|    367|            symbolTable.relateToOperator("subgroupPartitionedExclusiveMulNV",            EOpSubgroupPartitionedExclusiveMul);
11440|    367|            symbolTable.relateToOperator("subgroupPartitionedExclusiveMinNV",            EOpSubgroupPartitionedExclusiveMin);
11441|    367|            symbolTable.relateToOperator("subgroupPartitionedExclusiveMaxNV",            EOpSubgroupPartitionedExclusiveMax);
11442|    367|            symbolTable.relateToOperator("subgroupPartitionedExclusiveAndNV",            EOpSubgroupPartitionedExclusiveAnd);
11443|    367|            symbolTable.relateToOperator("subgroupPartitionedExclusiveOrNV",             EOpSubgroupPartitionedExclusiveOr);
11444|    367|            symbolTable.relateToOperator("subgroupPartitionedExclusiveXorNV",            EOpSubgroupPartitionedExclusiveXor);
11445|    367|        }
11446|       |
11447|    462|        if (profile == EEsProfile) {
  ------------------
  |  Branch (11447:13): [True: 94, False: 368]
  ------------------
11448|     94|            symbolTable.relateToOperator("shadow2DEXT",              EOpTexture);
11449|     94|            symbolTable.relateToOperator("shadow2DProjEXT",          EOpTextureProj);
11450|     94|        }
11451|       |
11452|       |        // GL_EXT_shader_quad_control
11453|    462|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11453:14): [True: 94, False: 368]
  |  Branch (11453:39): [True: 0, False: 94]
  ------------------
11454|    462|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11454:14): [True: 368, False: 94]
  |  Branch (11454:39): [True: 367, False: 1]
  ------------------
11455|    367|            symbolTable.relateToOperator("subgroupQuadAll",                     EOpSubgroupQuadAll);
11456|    367|            symbolTable.relateToOperator("subgroupQuadAny",                     EOpSubgroupQuadAny);
11457|    367|        }
11458|       |
11459|    462|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11459:14): [True: 94, False: 368]
  |  Branch (11459:39): [True: 0, False: 94]
  ------------------
11460|    462|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11460:14): [True: 368, False: 94]
  |  Branch (11460:39): [True: 367, False: 1]
  ------------------
11461|    367|            symbolTable.relateToOperator("textureWeightedQCOM",      EOpImageSampleWeightedQCOM);
11462|    367|            symbolTable.relateToOperator("textureBoxFilterQCOM",     EOpImageBoxFilterQCOM);
11463|    367|            symbolTable.relateToOperator("textureBlockMatchSADQCOM", EOpImageBlockMatchSADQCOM);
11464|    367|            symbolTable.relateToOperator("textureBlockMatchSSDQCOM", EOpImageBlockMatchSSDQCOM);
11465|       |
11466|    367|            symbolTable.relateToOperator("textureBlockMatchWindowSSDQCOM", EOpImageBlockMatchWindowSSDQCOM);
11467|    367|            symbolTable.relateToOperator("textureBlockMatchWindowSADQCOM", EOpImageBlockMatchWindowSADQCOM);
11468|    367|            symbolTable.relateToOperator("textureBlockMatchGatherSSDQCOM", EOpImageBlockMatchGatherSSDQCOM);
11469|    367|            symbolTable.relateToOperator("textureBlockMatchGatherSADQCOM", EOpImageBlockMatchGatherSADQCOM);
11470|    367|        }
11471|       |
11472|    462|        if (profile != EEsProfile && spvVersion.spv == 0) {
  ------------------
  |  Branch (11472:13): [True: 368, False: 94]
  |  Branch (11472:38): [True: 368, False: 0]
  ------------------
11473|    368|            symbolTable.relateToOperator("texture1DArray", EOpTexture);
11474|    368|            symbolTable.relateToOperator("texture2DArray", EOpTexture);
11475|    368|            symbolTable.relateToOperator("shadow1DArray", EOpTexture);
11476|    368|            symbolTable.relateToOperator("shadow2DArray", EOpTexture);
11477|       |
11478|    368|            symbolTable.relateToOperator("texture1DArrayLod", EOpTextureLod);
11479|    368|            symbolTable.relateToOperator("texture2DArrayLod", EOpTextureLod);
11480|    368|            symbolTable.relateToOperator("shadow1DArrayLod", EOpTextureLod);
11481|    368|        }
11482|       |
11483|    462|        symbolTable.relateToOperator("coopVecMatMulNV",              EOpCooperativeVectorMatMulNV);
11484|    462|        symbolTable.relateToOperator("coopVecMatMulAddNV",           EOpCooperativeVectorMatMulAddNV);
11485|    462|        symbolTable.relateToOperator("coopVecLoadNV",                EOpCooperativeVectorLoadNV);
11486|    462|        symbolTable.relateToOperator("coopVecStoreNV",               EOpCooperativeVectorStoreNV);
11487|    462|        symbolTable.relateToOperator("coopVecOuterProductAccumulateNV", EOpCooperativeVectorOuterProductAccumulateNV);
11488|    462|        symbolTable.relateToOperator("coopVecReduceSumAccumulateNV",    EOpCooperativeVectorReduceSumAccumulateNV);
11489|    462|    }
11490|       |
11491|    462|    switch(language) {
11492|    107|    case EShLangVertex:
  ------------------
  |  Branch (11492:5): [True: 107, False: 355]
  ------------------
11493|    107|        break;
11494|       |
11495|     28|    case EShLangTessControl:
  ------------------
  |  Branch (11495:5): [True: 28, False: 434]
  ------------------
11496|     56|    case EShLangTessEvaluation:
  ------------------
  |  Branch (11496:5): [True: 28, False: 434]
  ------------------
11497|     56|        break;
11498|       |
11499|     28|    case EShLangGeometry:
  ------------------
  |  Branch (11499:5): [True: 28, False: 434]
  ------------------
11500|     28|        symbolTable.relateToOperator("EmitStreamVertex",   EOpEmitStreamVertex);
11501|     28|        symbolTable.relateToOperator("EndStreamPrimitive", EOpEndStreamPrimitive);
11502|     28|        symbolTable.relateToOperator("EmitVertex",         EOpEmitVertex);
11503|     28|        symbolTable.relateToOperator("EndPrimitive",       EOpEndPrimitive);
11504|     28|        break;
11505|       |
11506|     28|    case EShLangFragment:
  ------------------
  |  Branch (11506:5): [True: 28, False: 434]
  ------------------
11507|     28|        if (profile != EEsProfile && version >= 400) {
  ------------------
  |  Branch (11507:13): [True: 12, False: 16]
  |  Branch (11507:38): [True: 12, False: 0]
  ------------------
11508|     12|            symbolTable.relateToOperator("dFdxFine",     EOpDPdxFine);
11509|     12|            symbolTable.relateToOperator("dFdyFine",     EOpDPdyFine);
11510|     12|            symbolTable.relateToOperator("fwidthFine",   EOpFwidthFine);
11511|     12|            symbolTable.relateToOperator("dFdxCoarse",   EOpDPdxCoarse);
11512|     12|            symbolTable.relateToOperator("dFdyCoarse",   EOpDPdyCoarse);
11513|     12|            symbolTable.relateToOperator("fwidthCoarse", EOpFwidthCoarse);
11514|     12|        }
11515|       |
11516|     28|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11516:13): [True: 12, False: 16]
  |  Branch (11516:38): [True: 0, False: 12]
  ------------------
11517|      0|            symbolTable.relateToOperator("rayQueryInitializeEXT",                                             EOpRayQueryInitialize);
11518|      0|            symbolTable.relateToOperator("rayQueryTerminateEXT",                                              EOpRayQueryTerminate);
11519|      0|            symbolTable.relateToOperator("rayQueryGenerateIntersectionEXT",                                   EOpRayQueryGenerateIntersection);
11520|      0|            symbolTable.relateToOperator("rayQueryConfirmIntersectionEXT",                                    EOpRayQueryConfirmIntersection);
11521|      0|            symbolTable.relateToOperator("rayQueryProceedEXT",                                                EOpRayQueryProceed);
11522|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionTypeEXT",                                    EOpRayQueryGetIntersectionType);
11523|      0|            symbolTable.relateToOperator("rayQueryGetRayTMinEXT",                                             EOpRayQueryGetRayTMin);
11524|      0|            symbolTable.relateToOperator("rayQueryGetRayFlagsEXT",                                            EOpRayQueryGetRayFlags);
11525|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionTEXT",                                       EOpRayQueryGetIntersectionT);
11526|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionInstanceCustomIndexEXT",                     EOpRayQueryGetIntersectionInstanceCustomIndex);
11527|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionInstanceIdEXT",                              EOpRayQueryGetIntersectionInstanceId);
11528|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetEXT",  EOpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffset);
11529|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionGeometryIndexEXT",                           EOpRayQueryGetIntersectionGeometryIndex);
11530|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionPrimitiveIndexEXT",                          EOpRayQueryGetIntersectionPrimitiveIndex);
11531|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionBarycentricsEXT",                            EOpRayQueryGetIntersectionBarycentrics);
11532|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionFrontFaceEXT",                               EOpRayQueryGetIntersectionFrontFace);
11533|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionCandidateAABBOpaqueEXT",                     EOpRayQueryGetIntersectionCandidateAABBOpaque);
11534|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionObjectRayDirectionEXT",                      EOpRayQueryGetIntersectionObjectRayDirection);
11535|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionObjectRayOriginEXT",                         EOpRayQueryGetIntersectionObjectRayOrigin);
11536|      0|            symbolTable.relateToOperator("rayQueryGetWorldRayDirectionEXT",                                   EOpRayQueryGetWorldRayDirection);
11537|      0|            symbolTable.relateToOperator("rayQueryGetWorldRayOriginEXT",                                      EOpRayQueryGetWorldRayOrigin);
11538|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionObjectToWorldEXT",                           EOpRayQueryGetIntersectionObjectToWorld);
11539|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionWorldToObjectEXT",                           EOpRayQueryGetIntersectionWorldToObject);
11540|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionTriangleVertexPositionsEXT",                 EOpRayQueryGetIntersectionTriangleVertexPositionsEXT);
11541|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionClusterIdNV",                                EOpRayQueryGetIntersectionClusterIdNV);
11542|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionSpherePositionNV",                           EOpRayQueryGetIntersectionSpherePositionNV);
11543|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionSphereRadiusNV",                             EOpRayQueryGetIntersectionSphereRadiusNV);
11544|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionLSSHitValueNV",                              EOpRayQueryGetIntersectionLSSHitValueNV);
11545|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionLSSPositionsNV",                             EOpRayQueryGetIntersectionLSSPositionsNV);
11546|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionLSSRadiiNV",                                 EOpRayQueryGetIntersectionLSSRadiiNV);
11547|      0|            symbolTable.relateToOperator("rayQueryIsSphereHitNV",                                             EOpRayQueryIsSphereHitNV);
11548|      0|            symbolTable.relateToOperator("rayQueryIsLSSHitNV",                                                EOpRayQueryIsLSSHitNV);
11549|      0|        }
11550|       |
11551|     28|        symbolTable.relateToOperator("interpolateAtCentroid", EOpInterpolateAtCentroid);
11552|     28|        symbolTable.relateToOperator("interpolateAtSample",   EOpInterpolateAtSample);
11553|     28|        symbolTable.relateToOperator("interpolateAtOffset",   EOpInterpolateAtOffset);
11554|       |
11555|     28|        if (profile != EEsProfile)
  ------------------
  |  Branch (11555:13): [True: 12, False: 16]
  ------------------
11556|     12|            symbolTable.relateToOperator("interpolateAtVertexAMD", EOpInterpolateAtVertex);
11557|       |
11558|     28|        symbolTable.relateToOperator("beginInvocationInterlockARB", EOpBeginInvocationInterlock);
11559|     28|        symbolTable.relateToOperator("endInvocationInterlockARB",   EOpEndInvocationInterlock);
11560|       |
11561|     28|        symbolTable.relateToOperator("stencilAttachmentReadEXT", EOpStencilAttachmentReadEXT);
11562|     28|        symbolTable.relateToOperator("depthAttachmentReadEXT",   EOpDepthAttachmentReadEXT);
11563|     28|        symbolTable.relateToOperator("colorAttachmentReadEXT",   EOpColorAttachmentReadEXT);
11564|       |
11565|     28|        break;
11566|       |
11567|     27|    case EShLangCompute:
  ------------------
  |  Branch (11567:5): [True: 27, False: 435]
  ------------------
11568|     27|        symbolTable.relateToOperator("subgroupMemoryBarrierShared", EOpSubgroupMemoryBarrierShared);
11569|     27|        if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (11569:14): [True: 27, False: 0]
  |  Branch (11569:39): [True: 27, False: 0]
  ------------------
11570|     27|            (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (11570:14): [True: 0, False: 0]
  |  Branch (11570:39): [True: 0, False: 0]
  ------------------
11571|     27|            symbolTable.relateToOperator("dFdx",        EOpDPdx);
11572|     27|            symbolTable.relateToOperator("dFdy",        EOpDPdy);
11573|     27|            symbolTable.relateToOperator("fwidth",      EOpFwidth);
11574|     27|            symbolTable.relateToOperator("dFdxFine",    EOpDPdxFine);
11575|     27|            symbolTable.relateToOperator("dFdyFine",    EOpDPdyFine);
11576|     27|            symbolTable.relateToOperator("fwidthFine",  EOpFwidthFine);
11577|     27|            symbolTable.relateToOperator("dFdxCoarse",  EOpDPdxCoarse);
11578|     27|            symbolTable.relateToOperator("dFdyCoarse",  EOpDPdyCoarse);
11579|     27|            symbolTable.relateToOperator("fwidthCoarse",EOpFwidthCoarse);
11580|     27|        }
11581|     27|        symbolTable.relateToOperator("coopMatLoadNV",              EOpCooperativeMatrixLoadNV);
11582|     27|        symbolTable.relateToOperator("coopMatStoreNV",             EOpCooperativeMatrixStoreNV);
11583|     27|        symbolTable.relateToOperator("coopMatMulAddNV",            EOpCooperativeMatrixMulAddNV);
11584|       |
11585|     27|        symbolTable.relateToOperator("coopMatLoad",                EOpCooperativeMatrixLoad);
11586|     27|        symbolTable.relateToOperator("coopMatStore",               EOpCooperativeMatrixStore);
11587|     27|        symbolTable.relateToOperator("coopMatMulAdd",              EOpCooperativeMatrixMulAdd);
11588|       |
11589|     27|        symbolTable.relateToOperator("coopMatLoadTensorNV",        EOpCooperativeMatrixLoadTensorNV);
11590|     27|        symbolTable.relateToOperator("coopMatStoreTensorNV",       EOpCooperativeMatrixStoreTensorNV);
11591|       |
11592|     27|        symbolTable.relateToOperator("coopMatReduceNV",            EOpCooperativeMatrixReduceNV);
11593|     27|        symbolTable.relateToOperator("coopMatPerElementNV",        EOpCooperativeMatrixPerElementOpNV);
11594|     27|        symbolTable.relateToOperator("coopMatTransposeNV",         EOpCooperativeMatrixTransposeNV);
11595|       |
11596|     27|        symbolTable.relateToOperator("createTensorLayoutNV",         EOpCreateTensorLayoutNV);
11597|     27|        symbolTable.relateToOperator("setTensorLayoutBlockSizeNV",   EOpTensorLayoutSetBlockSizeNV);
11598|     27|        symbolTable.relateToOperator("setTensorLayoutDimensionNV",   EOpTensorLayoutSetDimensionNV);
11599|     27|        symbolTable.relateToOperator("setTensorLayoutStrideNV",      EOpTensorLayoutSetStrideNV);
11600|     27|        symbolTable.relateToOperator("sliceTensorLayoutNV",          EOpTensorLayoutSliceNV);
11601|     27|        symbolTable.relateToOperator("setTensorLayoutClampValueNV",  EOpTensorLayoutSetClampValueNV);
11602|       |
11603|     27|        symbolTable.relateToOperator("createTensorViewNV",           EOpCreateTensorViewNV);
11604|     27|        symbolTable.relateToOperator("setTensorViewDimensionsNV",    EOpTensorViewSetDimensionNV);
11605|     27|        symbolTable.relateToOperator("setTensorViewStrideNV",        EOpTensorViewSetStrideNV);
11606|     27|        symbolTable.relateToOperator("setTensorViewClipNV",          EOpTensorViewSetClipNV);
11607|       |
11608|     27|        symbolTable.relateToOperator("tensorReadARM",                EOpTensorReadARM);
11609|     27|        symbolTable.relateToOperator("tensorWriteARM",               EOpTensorWriteARM);
11610|     27|        symbolTable.relateToOperator("tensorSizeARM",                EOpTensorSizeARM);
11611|       |
11612|     27|        symbolTable.relateToOperator("bitcastQCOM", EOpBitCastArrayQCOM);
11613|     27|        symbolTable.relateToOperator("extractSubArrayQCOM", EOpExtractSubArrayQCOM);
11614|     27|        symbolTable.relateToOperator("vectorToCoopmatQCOM", EOpCompositeConstructCoopMatQCOM);
11615|     27|        symbolTable.relateToOperator("coopmatToVectorQCOM", EOpCompositeExtractCoopMatQCOM);
11616|       |
11617|     27|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11617:13): [True: 27, False: 0]
  |  Branch (11617:38): [True: 0, False: 27]
  ------------------
11618|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexPositionNV", EOpFetchMicroTriangleVertexPositionNV);
11619|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexBarycentricNV", EOpFetchMicroTriangleVertexBarycentricNV);
11620|      0|        }
11621|     27|        break;
11622|       |
11623|     27|    case EShLangRayGen:
  ------------------
  |  Branch (11623:5): [True: 27, False: 435]
  ------------------
11624|     27|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11624:13): [True: 27, False: 0]
  |  Branch (11624:38): [True: 0, False: 27]
  ------------------
11625|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexPositionNV", EOpFetchMicroTriangleVertexPositionNV);
11626|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexBarycentricNV", EOpFetchMicroTriangleVertexBarycentricNV);
11627|      0|        }
11628|     27|        [[fallthrough]];
11629|     54|    case EShLangClosestHit:
  ------------------
  |  Branch (11629:5): [True: 27, False: 435]
  ------------------
11630|     81|    case EShLangMiss:
  ------------------
  |  Branch (11630:5): [True: 27, False: 435]
  ------------------
11631|     81|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11631:13): [True: 81, False: 0]
  |  Branch (11631:38): [True: 0, False: 81]
  ------------------
11632|      0|            symbolTable.relateToOperator("traceNV", EOpTraceNV);
11633|      0|            symbolTable.relateToOperator("traceRayMotionNV", EOpTraceRayMotionNV);
11634|      0|            symbolTable.relateToOperator("traceRayEXT", EOpTraceKHR);
11635|      0|            symbolTable.relateToOperator("executeCallableNV", EOpExecuteCallableNV);
11636|      0|            symbolTable.relateToOperator("executeCallableEXT", EOpExecuteCallableKHR);
11637|       |
11638|      0|            symbolTable.relateToOperator("hitObjectTraceRayNV", EOpHitObjectTraceRayNV);
11639|      0|            symbolTable.relateToOperator("hitObjectTraceRayMotionNV", EOpHitObjectTraceRayMotionNV);
11640|      0|            symbolTable.relateToOperator("hitObjectRecordHitNV", EOpHitObjectRecordHitNV);
11641|      0|            symbolTable.relateToOperator("hitObjectRecordHitMotionNV", EOpHitObjectRecordHitMotionNV);
11642|      0|            symbolTable.relateToOperator("hitObjectRecordHitWithIndexNV", EOpHitObjectRecordHitWithIndexNV);
11643|      0|            symbolTable.relateToOperator("hitObjectRecordHitWithIndexMotionNV", EOpHitObjectRecordHitWithIndexMotionNV);
11644|      0|            symbolTable.relateToOperator("hitObjectRecordMissNV", EOpHitObjectRecordMissNV);
11645|      0|            symbolTable.relateToOperator("hitObjectRecordMissMotionNV", EOpHitObjectRecordMissMotionNV);
11646|      0|            symbolTable.relateToOperator("hitObjectRecordEmptyNV", EOpHitObjectRecordEmptyNV);
11647|      0|            symbolTable.relateToOperator("hitObjectExecuteShaderNV", EOpHitObjectExecuteShaderNV);
11648|      0|            symbolTable.relateToOperator("hitObjectIsEmptyNV", EOpHitObjectIsEmptyNV);
11649|      0|            symbolTable.relateToOperator("hitObjectIsMissNV", EOpHitObjectIsMissNV);
11650|      0|            symbolTable.relateToOperator("hitObjectIsHitNV", EOpHitObjectIsHitNV);
11651|      0|            symbolTable.relateToOperator("hitObjectGetRayTMinNV", EOpHitObjectGetRayTMinNV);
11652|      0|            symbolTable.relateToOperator("hitObjectGetRayTMaxNV", EOpHitObjectGetRayTMaxNV);
11653|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayOriginNV", EOpHitObjectGetObjectRayOriginNV);
11654|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayDirectionNV", EOpHitObjectGetObjectRayDirectionNV);
11655|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayOriginNV", EOpHitObjectGetWorldRayOriginNV);
11656|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayDirectionNV", EOpHitObjectGetWorldRayDirectionNV);
11657|      0|            symbolTable.relateToOperator("hitObjectGetWorldToObjectNV", EOpHitObjectGetWorldToObjectNV);
11658|      0|            symbolTable.relateToOperator("hitObjectGetObjectToWorldNV", EOpHitObjectGetObjectToWorldNV);
11659|      0|            symbolTable.relateToOperator("hitObjectGetInstanceCustomIndexNV", EOpHitObjectGetInstanceCustomIndexNV);
11660|      0|            symbolTable.relateToOperator("hitObjectGetInstanceIdNV", EOpHitObjectGetInstanceIdNV);
11661|      0|            symbolTable.relateToOperator("hitObjectGetGeometryIndexNV", EOpHitObjectGetGeometryIndexNV);
11662|      0|            symbolTable.relateToOperator("hitObjectGetPrimitiveIndexNV", EOpHitObjectGetPrimitiveIndexNV);
11663|      0|            symbolTable.relateToOperator("hitObjectGetHitKindNV", EOpHitObjectGetHitKindNV);
11664|      0|            symbolTable.relateToOperator("hitObjectGetAttributesNV", EOpHitObjectGetAttributesNV);
11665|      0|            symbolTable.relateToOperator("hitObjectGetCurrentTimeNV", EOpHitObjectGetCurrentTimeNV);
11666|      0|            symbolTable.relateToOperator("hitObjectGetShaderBindingTableRecordIndexNV", EOpHitObjectGetShaderBindingTableRecordIndexNV);
11667|      0|            symbolTable.relateToOperator("hitObjectGetShaderRecordBufferHandleNV", EOpHitObjectGetShaderRecordBufferHandleNV);
11668|      0|            symbolTable.relateToOperator("hitObjectGetClusterIdNV", EOpHitObjectGetClusterIdNV);
11669|      0|            symbolTable.relateToOperator("reorderThreadNV", EOpReorderThreadNV);
11670|      0|            symbolTable.relateToOperator("hitObjectGetSpherePositionNV", EOpHitObjectGetSpherePositionNV);
11671|      0|            symbolTable.relateToOperator("hitObjectGetSphereRadiusNV", EOpHitObjectGetSphereRadiusNV);
11672|      0|            symbolTable.relateToOperator("hitObjectGetLSSPositionsNV", EOpHitObjectGetLSSPositionsNV);
11673|      0|            symbolTable.relateToOperator("hitObjectGetLSSRadiiNV", EOpHitObjectGetLSSRadiiNV);
11674|      0|            symbolTable.relateToOperator("hitObjectIsSphereHitNV", EOpHitObjectIsSphereHitNV);
11675|      0|            symbolTable.relateToOperator("hitObjectIsLSSHitNV", EOpHitObjectIsLSSHitNV);
11676|      0|            symbolTable.relateToOperator("hitObjectTraceRayEXT", EOpHitObjectTraceRayEXT);
11677|      0|            symbolTable.relateToOperator("hitObjectTraceRayMotionEXT", EOpHitObjectTraceRayMotionEXT);
11678|      0|            symbolTable.relateToOperator("hitObjectRecordMissEXT", EOpHitObjectRecordMissEXT);
11679|      0|            symbolTable.relateToOperator("hitObjectRecordMissMotionEXT", EOpHitObjectRecordMissMotionEXT);
11680|      0|            symbolTable.relateToOperator("hitObjectRecordEmptyEXT", EOpHitObjectRecordEmptyEXT);
11681|      0|            symbolTable.relateToOperator("hitObjectExecuteShaderEXT", EOpHitObjectExecuteShaderEXT);
11682|      0|            symbolTable.relateToOperator("hitObjectIsEmptyEXT", EOpHitObjectIsEmptyEXT);
11683|      0|            symbolTable.relateToOperator("hitObjectIsMissEXT", EOpHitObjectIsMissEXT);
11684|      0|            symbolTable.relateToOperator("hitObjectIsHitEXT", EOpHitObjectIsHitEXT);
11685|      0|            symbolTable.relateToOperator("hitObjectGetRayTMinEXT", EOpHitObjectGetRayTMinEXT);
11686|      0|            symbolTable.relateToOperator("hitObjectGetRayTMaxEXT", EOpHitObjectGetRayTMaxEXT);
11687|      0|            symbolTable.relateToOperator("hitObjectGetRayFlagsEXT", EOpHitObjectGetRayFlagsEXT);
11688|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayOriginEXT", EOpHitObjectGetObjectRayOriginEXT);
11689|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayDirectionEXT", EOpHitObjectGetObjectRayDirectionEXT);
11690|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayOriginEXT", EOpHitObjectGetWorldRayOriginEXT);
11691|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayDirectionEXT", EOpHitObjectGetWorldRayDirectionEXT);
11692|      0|            symbolTable.relateToOperator("hitObjectGetWorldToObjectEXT", EOpHitObjectGetWorldToObjectEXT);
11693|      0|            symbolTable.relateToOperator("hitObjectGetObjectToWorldEXT", EOpHitObjectGetObjectToWorldEXT);
11694|      0|            symbolTable.relateToOperator("hitObjectGetInstanceCustomIndexEXT", EOpHitObjectGetInstanceCustomIndexEXT);
11695|      0|            symbolTable.relateToOperator("hitObjectGetInstanceIdEXT", EOpHitObjectGetInstanceIdEXT);
11696|      0|            symbolTable.relateToOperator("hitObjectGetGeometryIndexEXT", EOpHitObjectGetGeometryIndexEXT);
11697|      0|            symbolTable.relateToOperator("hitObjectGetPrimitiveIndexEXT", EOpHitObjectGetPrimitiveIndexEXT);
11698|      0|            symbolTable.relateToOperator("hitObjectGetHitKindEXT", EOpHitObjectGetHitKindEXT);
11699|      0|            symbolTable.relateToOperator("hitObjectGetAttributesEXT", EOpHitObjectGetAttributesEXT);
11700|      0|            symbolTable.relateToOperator("hitObjectGetCurrentTimeEXT", EOpHitObjectGetCurrentTimeEXT);
11701|      0|            symbolTable.relateToOperator("hitObjectGetShaderBindingTableRecordIndexEXT", EOpHitObjectGetShaderBindingTableRecordIndexEXT);
11702|      0|            symbolTable.relateToOperator("hitObjectGetShaderRecordBufferHandleEXT", EOpHitObjectGetShaderRecordBufferHandleEXT);
11703|      0|            symbolTable.relateToOperator("hitObjectSetShaderBindingTableRecordIndexEXT", EOpHitObjectSetShaderBindingTableRecordIndexEXT);
11704|      0|            symbolTable.relateToOperator("reorderThreadEXT", EOpReorderThreadEXT);
11705|      0|            symbolTable.relateToOperator("hitObjectReorderExecuteEXT", EOpHitObjectReorderExecuteEXT);
11706|      0|            symbolTable.relateToOperator("hitObjectTraceReorderExecuteEXT", EOpHitObjectTraceReorderExecuteEXT);
11707|      0|            symbolTable.relateToOperator("hitObjectTraceMotionReorderExecuteEXT", EOpHitObjectTraceMotionReorderExecuteEXT);
11708|      0|            symbolTable.relateToOperator("hitObjectRecordFromQueryEXT", EOpHitObjectRecordFromQueryEXT);
11709|      0|            symbolTable.relateToOperator("hitObjectGetIntersectionTriangleVertexPositionsEXT", EOpHitObjectGetIntersectionTriangleVertexPositionsEXT);
11710|      0|        }
11711|     81|        break;
11712|     27|    case EShLangIntersect:
  ------------------
  |  Branch (11712:5): [True: 27, False: 435]
  ------------------
11713|     27|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11713:13): [True: 27, False: 0]
  |  Branch (11713:38): [True: 0, False: 27]
  ------------------
11714|      0|            symbolTable.relateToOperator("reportIntersectionNV", EOpReportIntersection);
11715|      0|            symbolTable.relateToOperator("reportIntersectionEXT", EOpReportIntersection);
11716|      0|        }
11717|     27|        break;
11718|     27|    case EShLangAnyHit:
  ------------------
  |  Branch (11718:5): [True: 27, False: 435]
  ------------------
11719|     27|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11719:13): [True: 27, False: 0]
  |  Branch (11719:38): [True: 0, False: 27]
  ------------------
11720|      0|            symbolTable.relateToOperator("ignoreIntersectionNV", EOpIgnoreIntersectionNV);
11721|      0|            symbolTable.relateToOperator("terminateRayNV", EOpTerminateRayNV);
11722|      0|        }
11723|     27|        break;
11724|     27|    case EShLangCallable:
  ------------------
  |  Branch (11724:5): [True: 27, False: 435]
  ------------------
11725|     27|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11725:13): [True: 27, False: 0]
  |  Branch (11725:38): [True: 0, False: 27]
  ------------------
11726|      0|            symbolTable.relateToOperator("executeCallableNV", EOpExecuteCallableNV);
11727|      0|            symbolTable.relateToOperator("executeCallableEXT", EOpExecuteCallableKHR);
11728|      0|        }
11729|     27|        break;
11730|     27|    case EShLangMesh:
  ------------------
  |  Branch (11730:5): [True: 27, False: 435]
  ------------------
11731|     27|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (11731:14): [True: 27, False: 0]
  |  Branch (11731:39): [True: 27, False: 0]
  |  Branch (11731:59): [True: 0, False: 0]
  |  Branch (11731:84): [True: 0, False: 0]
  ------------------
11732|     27|            symbolTable.relateToOperator("writePackedPrimitiveIndices4x8NV", EOpWritePackedPrimitiveIndices4x8NV);
11733|     27|            symbolTable.relateToOperator("memoryBarrierShared", EOpMemoryBarrierShared);
11734|     27|            symbolTable.relateToOperator("groupMemoryBarrier", EOpGroupMemoryBarrier);
11735|     27|            symbolTable.relateToOperator("subgroupMemoryBarrierShared", EOpSubgroupMemoryBarrierShared);
11736|     27|        }
11737|       |
11738|     27|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (11738:13): [True: 27, False: 0]
  |  Branch (11738:38): [True: 27, False: 0]
  ------------------
11739|     27|            symbolTable.relateToOperator("SetMeshOutputsEXT", EOpSetMeshOutputsEXT);
11740|     27|        }
11741|       |
11742|     27|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11742:13): [True: 27, False: 0]
  |  Branch (11742:38): [True: 0, False: 27]
  ------------------
11743|       |            // Builtins for GL_NV_displacement_micromap.
11744|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexPositionNV", EOpFetchMicroTriangleVertexPositionNV);
11745|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexBarycentricNV", EOpFetchMicroTriangleVertexBarycentricNV);
11746|      0|        }
11747|     27|        break;
11748|     27|    case EShLangTask:
  ------------------
  |  Branch (11748:5): [True: 27, False: 435]
  ------------------
11749|     27|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (11749:14): [True: 27, False: 0]
  |  Branch (11749:39): [True: 27, False: 0]
  |  Branch (11749:59): [True: 0, False: 0]
  |  Branch (11749:84): [True: 0, False: 0]
  ------------------
11750|     27|            symbolTable.relateToOperator("memoryBarrierShared", EOpMemoryBarrierShared);
11751|     27|            symbolTable.relateToOperator("groupMemoryBarrier", EOpGroupMemoryBarrier);
11752|     27|            symbolTable.relateToOperator("subgroupMemoryBarrierShared", EOpSubgroupMemoryBarrierShared);
11753|     27|        }
11754|     27|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (11754:13): [True: 27, False: 0]
  |  Branch (11754:38): [True: 27, False: 0]
  ------------------
11755|     27|            symbolTable.relateToOperator("EmitMeshTasksEXT", EOpEmitMeshTasksEXT);
11756|     27|        }
11757|     27|        break;
11758|       |
11759|      0|    default:
  ------------------
  |  Branch (11759:5): [True: 0, False: 462]
  ------------------
11760|       |        assert(false && "Language not supported");
11761|    462|    }
11762|    462|}
_ZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableERK16TBuiltInResource:
11774|     27|{
11775|     27|    if (profile != EEsProfile && version >= 430 && version < 440) {
  ------------------
  |  Branch (11775:9): [True: 12, False: 15]
  |  Branch (11775:34): [True: 12, False: 0]
  |  Branch (11775:52): [True: 0, False: 12]
  ------------------
11776|      0|        symbolTable.setVariableExtensions("gl_MaxTransformFeedbackBuffers", 1, &E_GL_ARB_enhanced_layouts);
11777|      0|        symbolTable.setVariableExtensions("gl_MaxTransformFeedbackInterleavedComponents", 1, &E_GL_ARB_enhanced_layouts);
11778|      0|    }
11779|     27|    if (profile != EEsProfile && version >= 130 && version < 420) {
  ------------------
  |  Branch (11779:9): [True: 12, False: 15]
  |  Branch (11779:34): [True: 12, False: 0]
  |  Branch (11779:52): [True: 0, False: 12]
  ------------------
11780|      0|        symbolTable.setVariableExtensions("gl_MinProgramTexelOffset", 1, &E_GL_ARB_shading_language_420pack);
11781|      0|        symbolTable.setVariableExtensions("gl_MaxProgramTexelOffset", 1, &E_GL_ARB_shading_language_420pack);
11782|      0|    }
11783|     27|    if (profile != EEsProfile && version >= 150 && version < 410)
  ------------------
  |  Branch (11783:9): [True: 12, False: 15]
  |  Branch (11783:34): [True: 12, False: 0]
  |  Branch (11783:52): [True: 0, False: 12]
  ------------------
11784|      0|        symbolTable.setVariableExtensions("gl_MaxViewports", 1, &E_GL_ARB_viewport_array);
11785|       |
11786|     27|    switch(language) {
11787|      0|    case EShLangFragment:
  ------------------
  |  Branch (11787:5): [True: 0, False: 27]
  ------------------
11788|       |        // Set up gl_FragData based on current array size.
11789|      0|        if (version == 100 || IncludeLegacy(version, profile, spvVersion) || (! ForwardCompatibility && profile != EEsProfile && version < 420)) {
  ------------------
  |  Branch (11789:13): [True: 0, False: 0]
  |  Branch (11789:31): [True: 0, False: 0]
  |  Branch (11789:79): [True: 0, Folded]
  |  Branch (11789:105): [True: 0, False: 0]
  |  Branch (11789:130): [True: 0, False: 0]
  ------------------
11790|      0|            TPrecisionQualifier pq = profile == EEsProfile ? EpqMedium : EpqNone;
  ------------------
  |  Branch (11790:38): [True: 0, False: 0]
  ------------------
11791|      0|            TType fragData(EbtFloat, EvqFragColor, pq, 4);
11792|      0|            TArraySizes* arraySizes = new TArraySizes;
11793|      0|            arraySizes->addInnerSize(resources.maxDrawBuffers);
11794|      0|            fragData.transferArraySizes(arraySizes);
11795|      0|            symbolTable.insert(*new TVariable(NewPoolTString("gl_FragData"), fragData));
11796|      0|            SpecialQualifier("gl_FragData", EvqFragColor, EbvFragData, symbolTable);
11797|      0|        }
11798|       |
11799|       |        // GL_EXT_blend_func_extended
11800|      0|        if (profile == EEsProfile && version >= 100) {
  ------------------
  |  Branch (11800:13): [True: 0, False: 0]
  |  Branch (11800:38): [True: 0, False: 0]
  ------------------
11801|      0|           symbolTable.setVariableExtensions("gl_MaxDualSourceDrawBuffersEXT",    1, &E_GL_EXT_blend_func_extended);
11802|      0|           symbolTable.setVariableExtensions("gl_SecondaryFragColorEXT",    1, &E_GL_EXT_blend_func_extended);
11803|      0|           symbolTable.setVariableExtensions("gl_SecondaryFragDataEXT",    1, &E_GL_EXT_blend_func_extended);
11804|      0|           SpecialQualifier("gl_SecondaryFragColorEXT", EvqVaryingOut, EbvSecondaryFragColorEXT, symbolTable);
11805|      0|           SpecialQualifier("gl_SecondaryFragDataEXT", EvqVaryingOut, EbvSecondaryFragDataEXT, symbolTable);
11806|      0|        }
11807|       |
11808|      0|        break;
11809|       |
11810|      0|    case EShLangTessControl:
  ------------------
  |  Branch (11810:5): [True: 0, False: 27]
  ------------------
11811|      0|    case EShLangTessEvaluation:
  ------------------
  |  Branch (11811:5): [True: 0, False: 27]
  ------------------
11812|       |        // Because of the context-dependent array size (gl_MaxPatchVertices),
11813|       |        // these variables were added later than the others and need to be mapped now.
11814|       |
11815|       |        // standard members
11816|      0|        BuiltInVariable("gl_in", "gl_Position",     EbvPosition,     symbolTable);
11817|      0|        BuiltInVariable("gl_in", "gl_PointSize",    EbvPointSize,    symbolTable);
11818|      0|        BuiltInVariable("gl_in", "gl_ClipDistance", EbvClipDistance, symbolTable);
11819|      0|        BuiltInVariable("gl_in", "gl_CullDistance", EbvCullDistance, symbolTable);
11820|       |
11821|       |        // compatibility members
11822|      0|        BuiltInVariable("gl_in", "gl_ClipVertex",          EbvClipVertex,          symbolTable);
11823|      0|        BuiltInVariable("gl_in", "gl_FrontColor",          EbvFrontColor,          symbolTable);
11824|      0|        BuiltInVariable("gl_in", "gl_BackColor",           EbvBackColor,           symbolTable);
11825|      0|        BuiltInVariable("gl_in", "gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
11826|      0|        BuiltInVariable("gl_in", "gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
11827|      0|        BuiltInVariable("gl_in", "gl_TexCoord",            EbvTexCoord,            symbolTable);
11828|      0|        BuiltInVariable("gl_in", "gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
11829|       |
11830|      0|        symbolTable.setVariableExtensions("gl_in", "gl_SecondaryPositionNV", 1, &E_GL_NV_stereo_view_rendering);
11831|      0|        symbolTable.setVariableExtensions("gl_in", "gl_PositionPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
11832|       |
11833|      0|        BuiltInVariable("gl_in", "gl_SecondaryPositionNV", EbvSecondaryPositionNV, symbolTable);
11834|      0|        BuiltInVariable("gl_in", "gl_PositionPerViewNV",   EbvPositionPerViewNV,   symbolTable);
11835|       |
11836|       |        // extension requirements
11837|      0|        if (profile == EEsProfile) {
  ------------------
  |  Branch (11837:13): [True: 0, False: 0]
  ------------------
11838|      0|            symbolTable.setVariableExtensions("gl_in", "gl_PointSize", Num_AEP_tessellation_point_size, AEP_tessellation_point_size);
11839|      0|        }
11840|       |
11841|      0|        break;
11842|       |
11843|     27|    default:
  ------------------
  |  Branch (11843:5): [True: 27, False: 0]
  ------------------
11844|     27|        break;
11845|     27|    }
11846|     27|}
Initialize.cpp:_ZZN7glslang9TBuiltIns17addTabledBuiltinsEi8EProfileRKNS_10SpvVersionEENK3$_0clERNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEERK4spanIKNS_12_GLOBAL__N_115BuiltInFunctionEE:
  510|    241|    const auto forEachFunction = [&](TString& decls, const span<const BuiltInFunction>& functions) {
  511|  8.85k|        for (const auto& fn : functions) {
  ------------------
  |  Branch (511:29): [True: 8.85k, False: 241]
  ------------------
  512|  8.85k|            if (ValidVersion(fn, version, profile, spvVersion)) {
  ------------------
  |  Branch (512:17): [True: 6.18k, False: 2.67k]
  ------------------
  513|  6.18k|                AddTabledBuiltin(decls, fn);
  514|  6.18k|                if (profile != EEsProfile) {
  ------------------
  |  Branch (514:21): [True: 2.41k, False: 3.76k]
  ------------------
  515|  2.41k|                    AddLongVectorBuiltin(decls, fn);
  516|  2.41k|                }
  517|  6.18k|            }
  518|  8.85k|        }
  519|    241|    };
Initialize.cpp:_ZN7glslang12_GLOBAL__N_112ValidVersionERKNS0_15BuiltInFunctionEi8EProfileRKNS_10SpvVersionE:
  476|  8.85k|{
  477|       |    // nullptr means always valid
  478|  8.85k|    if (function.versioning.empty())
  ------------------
  |  Branch (478:9): [True: 5.21k, False: 3.63k]
  ------------------
  479|  5.21k|        return true;
  480|       |
  481|       |    // check for what is said about our current profile
  482|  7.25k|    for (const auto& v : function.versioning) {
  ------------------
  |  Branch (482:24): [True: 7.25k, False: 2.67k]
  ------------------
  483|  7.25k|        if ((v.profiles & profile) != 0) {
  ------------------
  |  Branch (483:13): [True: 3.63k, False: 3.61k]
  ------------------
  484|  3.63k|            if (v.minCoreVersion <= version || (v.numExtensions > 0 && v.minExtendedVersion <= version))
  ------------------
  |  Branch (484:17): [True: 966, False: 2.67k]
  |  Branch (484:49): [True: 0, False: 2.67k]
  |  Branch (484:72): [True: 0, False: 0]
  ------------------
  485|    966|                return true;
  486|  3.63k|        }
  487|  7.25k|    }
  488|       |
  489|  2.67k|    return false;
  490|  3.63k|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_116AddTabledBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionE:
  322|  6.18k|{
  323|  6.18k|    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|  6.18k|    const ArgClass ClassFixed = (ArgClass)(ClassLS | ClassXLS | ClassLS2 | ClassFS | ClassFS2);
  329|  13.3k|    for (int fixed = 0; fixed < ((function.classes & ClassFixed) > 0 ? 2 : 1); ++fixed) {
  ------------------
  |  Branch (329:25): [True: 7.12k, False: 6.18k]
  |  Branch (329:34): [True: 2.82k, False: 10.4k]
  ------------------
  330|       |
  331|  7.12k|        if (fixed == 0 && (function.classes & ClassXLS))
  ------------------
  |  Branch (331:13): [True: 6.18k, False: 943]
  |  Branch (331:27): [True: 107, False: 6.07k]
  ------------------
  332|    107|            continue;
  333|       |
  334|       |        // walk the type strings in TypeString[]
  335|   119k|        for (int type = 0; type < TypeStringCount; ++type) {
  ------------------
  |  Branch (335:28): [True: 112k, False: 7.01k]
  ------------------
  336|       |            // skip types not selected: go from type to row number to type bit
  337|   112k|            if ((function.types & (1 << (type >> TypeStringRowShift))) == 0)
  ------------------
  |  Branch (337:17): [True: 79.1k, False: 33.1k]
  ------------------
  338|  79.1k|                continue;
  339|       |
  340|       |            // if we aren't on a scalar, and should be, skip
  341|  33.1k|            if ((function.classes & ClassV1) && !isScalarType(type))
  ------------------
  |  Branch (341:17): [True: 1.72k, False: 31.4k]
  |  Branch (341:49): [True: 1.29k, False: 432]
  ------------------
  342|  1.29k|                continue;
  343|       |
  344|       |            // if we aren't on a 3-vector, and should be, skip
  345|  31.8k|            if ((function.classes & ClassV3) && (type & TypeStringColumnMask) != 2)
  ------------------
  |  Branch (345:17): [True: 428, False: 31.4k]
  |  Branch (345:49): [True: 321, False: 107]
  ------------------
  346|    321|                continue;
  347|       |
  348|       |            // skip replication of all arg scalars between the varying arg set and the fixed args
  349|  31.5k|            if (fixed == 1 && type == (type & TypeStringScalarMask) && (function.classes & ClassXLS) == 0)
  ------------------
  |  Branch (349:17): [True: 4.12k, False: 27.4k]
  |  Branch (349:31): [True: 1.03k, False: 3.09k]
  |  Branch (349:72): [True: 923, False: 107]
  ------------------
  350|    923|                continue;
  351|       |
  352|       |            // skip scalars when we are told to
  353|  30.6k|            if ((function.classes & ClassNS) && isScalarType(type))
  ------------------
  |  Branch (353:17): [True: 7.97k, False: 22.6k]
  |  Branch (353:49): [True: 1.99k, False: 5.97k]
  ------------------
  354|  1.99k|                continue;
  355|       |
  356|       |            // return type
  357|  28.6k|            if (function.classes & ClassB)
  ------------------
  |  Branch (357:17): [True: 5.24k, False: 23.3k]
  ------------------
  358|  5.24k|                decls.append(TypeString[type & TypeStringColumnMask]);
  359|  23.3k|            else if (function.classes & ClassRS)
  ------------------
  |  Branch (359:22): [True: 1.92k, False: 21.4k]
  ------------------
  360|  1.92k|                decls.append(TypeString[type & TypeStringScalarMask]);
  361|  21.4k|            else
  362|  21.4k|                decls.append(TypeString[type]);
  363|  28.6k|            decls.append(" ");
  364|  28.6k|            decls.append(function.name);
  365|  28.6k|            decls.append("(");
  366|       |
  367|       |            // arguments
  368|  76.8k|            for (int arg = 0; arg < function.numArguments; ++arg) {
  ------------------
  |  Branch (368:31): [True: 48.2k, False: 28.6k]
  ------------------
  369|  48.2k|                if (arg == function.numArguments - 1 && (function.classes & ClassLO))
  ------------------
  |  Branch (369:21): [True: 28.6k, False: 19.5k]
  |  Branch (369:57): [True: 116, False: 28.5k]
  ------------------
  370|    116|                    decls.append("out ");
  371|  48.2k|                if (arg == 0) {
  ------------------
  |  Branch (371:21): [True: 28.6k, False: 19.5k]
  ------------------
  372|  28.6k|                    if (function.classes & ClassCVN)
  ------------------
  |  Branch (372:25): [True: 432, False: 28.2k]
  ------------------
  373|    432|                        decls.append("coherent volatile nontemporal ");
  374|  28.6k|                    if (function.classes & ClassFIO)
  ------------------
  |  Branch (374:25): [True: 432, False: 28.2k]
  ------------------
  375|    432|                        decls.append("inout ");
  376|  28.6k|                    if (function.classes & ClassFO)
  ------------------
  |  Branch (376:25): [True: 0, False: 28.6k]
  ------------------
  377|      0|                        decls.append("out ");
  378|  28.6k|                }
  379|  48.2k|                if ((function.classes & ClassLB) && arg == function.numArguments - 1)
  ------------------
  |  Branch (379:21): [True: 996, False: 47.2k]
  |  Branch (379:53): [True: 332, False: 664]
  ------------------
  380|    332|                    decls.append(TypeString[type & TypeStringColumnMask]);
  381|  47.8k|                else if (fixed && ((arg == function.numArguments - 1 && (function.classes & (ClassLS | ClassXLS |
  ------------------
  |  Branch (381:26): [True: 7.95k, False: 39.9k]
  |  Branch (381:37): [True: 3.19k, False: 4.76k]
  |  Branch (381:73): [True: 2.55k, False: 642]
  ------------------
  382|  3.19k|                                                                                                       ClassLS2))) ||
  383|  5.40k|                                   (arg == function.numArguments - 2 && (function.classes & ClassLS2))             ||
  ------------------
  |  Branch (383:37): [True: 3.19k, False: 2.20k]
  |  Branch (383:73): [True: 495, False: 2.70k]
  ------------------
  384|  4.90k|                                   (arg == 0                         && (function.classes & (ClassFS | ClassFS2))) ||
  ------------------
  |  Branch (384:37): [True: 3.19k, False: 1.71k]
  |  Branch (384:73): [True: 642, False: 2.55k]
  ------------------
  385|  4.26k|                                   (arg == 1                         && (function.classes & ClassFS2))))
  ------------------
  |  Branch (385:37): [True: 1.39k, False: 2.87k]
  |  Branch (385:73): [True: 321, False: 1.07k]
  ------------------
  386|  4.01k|                    decls.append(TypeString[type & TypeStringScalarMask]);
  387|  43.8k|                else
  388|  43.8k|                    decls.append(TypeString[type]);
  389|  48.2k|                if (arg < function.numArguments - 1)
  ------------------
  |  Branch (389:21): [True: 19.5k, False: 28.6k]
  ------------------
  390|  19.5k|                    decls.append(",");
  391|  48.2k|            }
  392|  28.6k|            decls.append(");\n");
  393|  28.6k|        }
  394|  7.01k|    }
  395|  6.18k|}
Initialize.cpp:_ZZN7glslang12_GLOBAL__N_116AddTabledBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionEENK3$_0clEi:
  323|  9.70k|    const auto isScalarType = [](int type) { return (type & TypeStringColumnMask) == 0; };
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120AddLongVectorBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionE:
  401|  2.41k|{
  402|  2.41k|    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|  2.41k|    const ArgClass ClassFixed = (ArgClass)(ClassLS | ClassXLS | ClassLS2 | ClassFS | ClassFS2);
  408|  5.14k|    for (int fixed = 0; fixed < ((function.classes & ClassFixed) > 0 ? 2 : 1); ++fixed) {
  ------------------
  |  Branch (408:25): [True: 2.73k, False: 2.41k]
  |  Branch (408:34): [True: 948, False: 4.19k]
  ------------------
  409|       |
  410|  2.73k|        if (fixed == 0 && (function.classes & ClassXLS))
  ------------------
  |  Branch (410:13): [True: 2.41k, False: 316]
  |  Branch (410:27): [True: 29, False: 2.38k]
  ------------------
  411|     29|            continue;
  412|       |
  413|       |        // Iterate over the different scalar types (needed for ClassRS)
  414|  45.9k|        for (int type = 0; type < TypeStringCount; ++type) {
  ------------------
  |  Branch (414:28): [True: 43.2k, False: 2.70k]
  ------------------
  415|  43.2k|            if (!isScalarType(type))
  ------------------
  |  Branch (415:17): [True: 32.4k, False: 10.8k]
  ------------------
  416|  32.4k|                continue;
  417|       |
  418|       |            // skip types not selected: go from type to row number to type bit
  419|  10.8k|            if ((function.types & (1 << (type >> TypeStringRowShift))) == 0)
  ------------------
  |  Branch (419:17): [True: 7.46k, False: 3.34k]
  ------------------
  420|  7.46k|                continue;
  421|       |
  422|       |            // skip scalar-only
  423|  3.34k|            if (function.classes & ClassV1)
  ------------------
  |  Branch (423:17): [True: 432, False: 2.91k]
  ------------------
  424|    432|                continue;
  425|       |
  426|       |            // skip 3-vector
  427|  2.91k|            if (function.classes & ClassV3)
  ------------------
  |  Branch (427:17): [True: 29, False: 2.88k]
  ------------------
  428|     29|                continue;
  429|       |
  430|  2.88k|            TString decl;
  431|       |            // return type
  432|  2.88k|            if (function.classes & ClassB)
  ------------------
  |  Branch (432:17): [True: 630, False: 2.25k]
  ------------------
  433|    630|                decl.append("vector");
  434|  2.25k|            else if (function.classes & ClassRS)
  ------------------
  |  Branch (434:22): [True: 145, False: 2.10k]
  ------------------
  435|    145|                decl.append(TypeString[type & TypeStringScalarMask]);
  436|  2.10k|            else
  437|  2.10k|                decl.append("vector");
  438|  2.88k|            decl.append(" ");
  439|  2.88k|            decl.append(function.name);
  440|  2.88k|            decl.append("(");
  441|       |
  442|       |            // arguments
  443|  7.87k|            for (int arg = 0; arg < function.numArguments; ++arg) {
  ------------------
  |  Branch (443:31): [True: 4.99k, False: 2.88k]
  ------------------
  444|  4.99k|                if (arg == function.numArguments - 1 && (function.classes & ClassLO))
  ------------------
  |  Branch (444:21): [True: 2.88k, False: 2.10k]
  |  Branch (444:57): [True: 28, False: 2.85k]
  ------------------
  445|     28|                    decl.append("out ");
  446|  4.99k|                if (arg == 0) {
  ------------------
  |  Branch (446:21): [True: 2.88k, False: 2.10k]
  ------------------
  447|  2.88k|                    if (function.classes & ClassCVN)
  ------------------
  |  Branch (447:25): [True: 0, False: 2.88k]
  ------------------
  448|      0|                        decl.append("coherent volatile nontemporal ");
  449|  2.88k|                    if (function.classes & ClassFIO)
  ------------------
  |  Branch (449:25): [True: 0, False: 2.88k]
  ------------------
  450|      0|                        decl.append("inout ");
  451|  2.88k|                    if (function.classes & ClassFO)
  ------------------
  |  Branch (451:25): [True: 0, False: 2.88k]
  ------------------
  452|      0|                        decl.append("out ");
  453|  2.88k|                }
  454|  4.99k|                if ((function.classes & ClassLB) && arg == function.numArguments - 1)
  ------------------
  |  Branch (454:21): [True: 246, False: 4.74k]
  |  Branch (454:53): [True: 82, False: 164]
  ------------------
  455|     82|                    decl.append("vector");
  456|  4.91k|                else if (fixed && ((arg == function.numArguments - 1 && (function.classes & (ClassLS | ClassXLS |
  ------------------
  |  Branch (456:26): [True: 972, False: 3.93k]
  |  Branch (456:37): [True: 400, False: 572]
  |  Branch (456:73): [True: 342, False: 58]
  ------------------
  457|    400|                                                                                                       ClassLS2))) ||
  458|    630|                                   (arg == function.numArguments - 2 && (function.classes & ClassLS2))             ||
  ------------------
  |  Branch (458:37): [True: 400, False: 230]
  |  Branch (458:73): [True: 85, False: 315]
  ------------------
  459|    545|                                   (arg == 0                         && (function.classes & (ClassFS | ClassFS2))) ||
  ------------------
  |  Branch (459:37): [True: 400, False: 145]
  |  Branch (459:73): [True: 58, False: 342]
  ------------------
  460|    487|                                   (arg == 1                         && (function.classes & ClassFS2))))
  ------------------
  |  Branch (460:37): [True: 116, False: 371]
  |  Branch (460:73): [True: 29, False: 87]
  ------------------
  461|    514|                    decl.append(TypeString[type & TypeStringScalarMask]);
  462|  4.39k|                else
  463|  4.39k|                    decl.append("vector");
  464|  4.99k|                if (arg < function.numArguments - 1)
  ------------------
  |  Branch (464:21): [True: 2.10k, False: 2.88k]
  ------------------
  465|  2.10k|                    decl.append(",");
  466|  4.99k|            }
  467|  2.88k|            decl.append(");\n");
  468|       |
  469|  2.88k|            decls.append(decl);
  470|  2.88k|        }
  471|  2.70k|    }
  472|  2.41k|}
Initialize.cpp:_ZZN7glslang12_GLOBAL__N_120AddLongVectorBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionEENK3$_0clEi:
  402|  43.2k|    const auto isScalarType = [](int type) { return (type & TypeStringColumnMask) == 0; };
_ZN7glslang13IncludeLegacyEi8EProfileRKNS_10SpvVersionE:
  537|  1.18k|{
  538|  1.18k|    return profile != EEsProfile && (version <= 130 || (spvVersion.spv == 0 && version == 140 && ARBCompatibility) ||
  ------------------
  |  Branch (538:12): [True: 902, False: 281]
  |  Branch (538:38): [True: 4, False: 898]
  |  Branch (538:57): [True: 898, False: 0]
  |  Branch (538:80): [True: 0, False: 898]
  |  Branch (538:98): [True: 0, Folded]
  ------------------
  539|    898|           profile == ECompatibilityProfile);
  ------------------
  |  Branch (539:12): [True: 0, False: 898]
  ------------------
  540|  1.18k|}
Initialize.cpp:_ZN7glslangL15BuiltInVariableEPKcNS_16TBuiltInVariableERNS_12TSymbolTableE:
 8936|  12.6k|{
 8937|  12.6k|    TSymbol* symbol = symbolTable.find(name);
 8938|  12.6k|    if (symbol == nullptr)
  ------------------
  |  Branch (8938:9): [True: 5.01k, False: 7.61k]
  ------------------
 8939|  5.01k|        return;
 8940|       |
 8941|  7.61k|    TQualifier& symQualifier = symbol->getWritableType().getQualifier();
 8942|  7.61k|    symQualifier.builtIn = builtIn;
 8943|  7.61k|}
Initialize.cpp:_ZN7glslangL16SpecialQualifierEPKcNS_17TStorageQualifierENS_16TBuiltInVariableERNS_12TSymbolTableE:
 8898|    990|{
 8899|    990|    TSymbol* symbol = symbolTable.find(name);
 8900|    990|    if (symbol == nullptr)
  ------------------
  |  Branch (8900:9): [True: 340, False: 650]
  ------------------
 8901|    340|        return;
 8902|       |
 8903|    650|    TQualifier& symQualifier = symbol->getWritableType().getQualifier();
 8904|    650|    symQualifier.storage = qualifier;
 8905|    650|    symQualifier.builtIn = builtIn;
 8906|    650|}
Initialize.cpp:_ZN7glslangL15BuiltInVariableEPKcS1_NS_16TBuiltInVariableERNS_12TSymbolTableE:
 8958|  6.13k|{
 8959|  6.13k|    TSymbol* symbol = symbolTable.find(blockName);
 8960|  6.13k|    if (symbol == nullptr)
  ------------------
  |  Branch (8960:9): [True: 4.72k, False: 1.40k]
  ------------------
 8961|  4.72k|        return;
 8962|       |
 8963|  1.40k|    TTypeList& structure = *symbol->getWritableType().getWritableStruct();
 8964|  7.09k|    for (int i = 0; i < (int)structure.size(); ++i) {
  ------------------
  |  Branch (8964:21): [True: 6.69k, False: 401]
  ------------------
 8965|  6.69k|        if (structure[i].type->getFieldName().compare(name) == 0) {
  ------------------
  |  Branch (8965:13): [True: 1.00k, False: 5.69k]
  ------------------
 8966|  1.00k|            structure[i].type->getQualifier().builtIn = builtIn;
 8967|  1.00k|            return;
 8968|  1.00k|        }
 8969|  6.69k|    }
 8970|  1.40k|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120RelateTabledBuiltinsINSt3__15arrayINS0_15BuiltInFunctionELm79EEEEEvRKT_RNS_12TSymbolTableE:
  499|    462|{
  500|  36.4k|    for (const auto& fn : functions) {
  ------------------
  |  Branch (500:25): [True: 36.4k, False: 462]
  ------------------
  501|  36.4k|        symbolTable.relateToOperator(fn.name, fn.op);
  502|  36.4k|    }
  503|    462|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120RelateTabledBuiltinsINSt3__15arrayINS0_15BuiltInFunctionELm3EEEEEvRKT_RNS_12TSymbolTableE:
  499|    462|{
  500|  1.38k|    for (const auto& fn : functions) {
  ------------------
  |  Branch (500:25): [True: 1.38k, False: 462]
  ------------------
  501|  1.38k|        symbolTable.relateToOperator(fn.name, fn.op);
  502|  1.38k|    }
  503|    462|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120RelateTabledBuiltinsIA39_NS0_14CustomFunctionEEEvRKT_RNS_12TSymbolTableE:
  499|    462|{
  500|  18.0k|    for (const auto& fn : functions) {
  ------------------
  |  Branch (500:25): [True: 18.0k, False: 462]
  ------------------
  501|  18.0k|        symbolTable.relateToOperator(fn.name, fn.op);
  502|  18.0k|    }
  503|    462|}
Initialize.cpp:_ZZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableEENK3$_0clEPKc:
10177|  4.53k|            auto coopMatKHRCallback = [](const char *name) -> std::vector<const char *> {
10178|  4.53k|                std::vector<const char *> ret;
10179|  4.53k|                if (strstr(name, "u64") != nullptr) {
  ------------------
  |  Branch (10179:21): [True: 2.43k, False: 2.10k]
  ------------------
10180|  2.43k|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10181|  2.43k|                } else {
10182|  2.10k|                    ret.push_back(E_GL_KHR_cooperative_matrix);
10183|  2.10k|                }
10184|  4.53k|                return ret;
10185|  4.53k|            };
Initialize.cpp:_ZZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableEENK3$_1clEPKc:
10186|    432|            auto coopMat2NVCallback = [](const char *name) -> std::vector<const char *> {
10187|    432|                std::vector<const char *> ret;
10188|    432|                if (strstr(name, "u64") != nullptr) {
  ------------------
  |  Branch (10188:21): [True: 216, False: 216]
  ------------------
10189|    216|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10190|    216|                } else {
10191|    216|                    ret.push_back(E_GL_NV_cooperative_matrix2);
10192|    216|                }
10193|    432|                return ret;
10194|    432|            };
Initialize.cpp:_ZZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableEENK3$_2clEPKc:
10226|  13.0k|            auto coopVecCallback = [](const char *name) -> std::vector<const char *> {
10227|  13.0k|                std::vector<const char *> ret;
10228|       |                // This looks for u64 as the last parameter (the offset)
10229|  13.0k|                if (strstr(name, "u641;") != nullptr) {
  ------------------
  |  Branch (10229:21): [True: 6.53k, False: 6.53k]
  ------------------
10230|  6.53k|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10231|  6.53k|                } else {
10232|  6.53k|                    ret.push_back(E_GL_NV_cooperative_vector);
10233|  6.53k|                }
10234|  13.0k|                return ret;
10235|  13.0k|            };

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

_ZN7glslang20TIntermConstantUnion8traverseEPNS_16TIntermTraverserE:
   70|    699|{
   71|    699|    it->visitConstantUnion(this);
   72|    699|}
_ZN7glslang16TIntermAggregate8traverseEPNS_16TIntermTraverserE:
  155|    441|{
  156|    441|    bool visit = true;
  157|       |
  158|    441|    if (it->preVisit)
  ------------------
  |  Branch (158:9): [True: 441, False: 0]
  ------------------
  159|    441|        visit = it->visitAggregate(EvPreVisit, this);
  160|       |
  161|    441|    if (visit) {
  ------------------
  |  Branch (161:9): [True: 0, False: 441]
  ------------------
  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|    441|    if (visit && it->postVisit)
  ------------------
  |  Branch (187:9): [True: 0, False: 441]
  |  Branch (187:18): [True: 0, False: 0]
  ------------------
  188|      0|        it->visitAggregate(EvPostVisit, this);
  189|    441|}

_ZN7glslang13TIntermediate9addSymbolExRKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEES9_RKNS_5TTypeERKNS_16TConstUnionArrayEPNS_12TIntermTypedERKNS_10TSourceLocE:
   71|  1.61k|{
   72|  1.61k|    TIntermSymbol* node = new TIntermSymbol(id, name, getStage(), type, &mangledName);
   73|  1.61k|    node->setLoc(loc);
   74|  1.61k|    node->setConstArray(constArray);
   75|  1.61k|    node->setConstSubtree(constSubtree);
   76|       |
   77|  1.61k|    return node;
   78|  1.61k|}
_ZN7glslang13TIntermediate9addSymbolERKNS_9TVariableE:
   92|     24|{
   93|     24|    glslang::TSourceLoc loc; // just a null location
   94|     24|    loc.init();
   95|       |
   96|     24|    return addSymbol(variable, loc);
   97|     24|}
_ZN7glslang13TIntermediate9addSymbolERKNS_9TVariableERKNS_10TSourceLocE:
  100|  1.61k|{
  101|  1.61k|    return addSymbol(variable.getUniqueId(), variable.getName(), variable.getMangledName(), variable.getType(), variable.getConstArray(), variable.getConstSubtree(), loc);
  102|  1.61k|}
_ZN7glslang13TIntermediate13addBinaryMathENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE:
  119|    621|{
  120|       |    // No operations work on blocks
  121|    621|    if (left->getType().getBasicType() == EbtBlock || right->getType().getBasicType() == EbtBlock ||
  ------------------
  |  Branch (121:9): [True: 0, False: 621]
  |  Branch (121:55): [True: 0, False: 621]
  ------------------
  122|    621|        left->getType().getBasicType() == EbtString || right->getType().getBasicType() == EbtString)
  ------------------
  |  Branch (122:9): [True: 0, False: 621]
  |  Branch (122:56): [True: 0, False: 621]
  ------------------
  123|      0|        return nullptr;
  124|       |
  125|       |    // Convert "reference +/- int" and "reference - reference" to integer math
  126|    621|    if (op == EOpAdd || op == EOpSub) {
  ------------------
  |  Branch (126:9): [True: 364, False: 257]
  |  Branch (126:25): [True: 138, False: 119]
  ------------------
  127|       |
  128|       |        // No addressing math on struct with unsized array.
  129|    502|        if ((left->isReference() && left->getType().getReferentType()->containsUnsizedArray()) ||
  ------------------
  |  Branch (129:14): [True: 0, False: 502]
  |  Branch (129:37): [True: 0, False: 0]
  ------------------
  130|    502|            (right->isReference() && right->getType().getReferentType()->containsUnsizedArray())) {
  ------------------
  |  Branch (130:14): [True: 0, False: 502]
  |  Branch (130:38): [True: 0, False: 0]
  ------------------
  131|      0|            return nullptr;
  132|      0|        }
  133|       |
  134|    502|        if (left->isReference() && isTypeInt(right->getBasicType())) {
  ------------------
  |  Branch (134:13): [True: 0, False: 502]
  |  Branch (134:36): [True: 0, False: 0]
  ------------------
  135|      0|            const TType& referenceType = left->getType();
  136|      0|            TIntermConstantUnion* size = addConstantUnion((unsigned long long)computeBufferReferenceTypeSize(left->getType()), loc, true);
  137|      0|            left  = addBuiltInFunctionCall(loc, EOpConvPtrToUint64, true, left, TType(EbtUint64));
  138|       |
  139|      0|            right = createConversion(EbtInt64, right);
  140|      0|            right = addBinaryMath(EOpMul, right, size, loc);
  141|       |
  142|      0|            TIntermTyped *node = addBinaryMath(op, left, right, loc);
  143|      0|            node = addBuiltInFunctionCall(loc, EOpConvUint64ToPtr, true, node, referenceType);
  144|      0|            return node;
  145|      0|        }
  146|    502|    }
  147|       |
  148|    621|    if (op == EOpAdd && right->isReference() && isTypeInt(left->getBasicType())) {
  ------------------
  |  Branch (148:9): [True: 364, False: 257]
  |  Branch (148:25): [True: 0, False: 364]
  |  Branch (148:49): [True: 0, False: 0]
  ------------------
  149|      0|        const TType& referenceType = right->getType();
  150|      0|        TIntermConstantUnion* size =
  151|      0|            addConstantUnion((unsigned long long)computeBufferReferenceTypeSize(right->getType()), loc, true);
  152|      0|        right = addBuiltInFunctionCall(loc, EOpConvPtrToUint64, true, right, TType(EbtUint64));
  153|       |
  154|      0|        left  = createConversion(EbtInt64, left);
  155|      0|        left  = addBinaryMath(EOpMul, left, size, loc);
  156|       |
  157|      0|        TIntermTyped *node = addBinaryMath(op, left, right, loc);
  158|      0|        node = addBuiltInFunctionCall(loc, EOpConvUint64ToPtr, true, node, referenceType);
  159|      0|        return node;
  160|      0|    }
  161|       |
  162|    621|    if (op == EOpSub && left->isReference() && right->isReference()) {
  ------------------
  |  Branch (162:9): [True: 138, False: 483]
  |  Branch (162:25): [True: 0, False: 138]
  |  Branch (162:48): [True: 0, False: 0]
  ------------------
  163|      0|        TIntermConstantUnion* size =
  164|      0|            addConstantUnion((long long)computeBufferReferenceTypeSize(left->getType()), loc, true);
  165|       |
  166|      0|        left = addBuiltInFunctionCall(loc, EOpConvPtrToUint64, true, left, TType(EbtUint64));
  167|      0|        right = addBuiltInFunctionCall(loc, EOpConvPtrToUint64, true, right, TType(EbtUint64));
  168|       |
  169|      0|        left = addBuiltInFunctionCall(loc, EOpConvNumeric, true, left, TType(EbtInt64));
  170|      0|        right = addBuiltInFunctionCall(loc, EOpConvNumeric, true, right, TType(EbtInt64));
  171|       |
  172|      0|        left = addBinaryMath(EOpSub, left, right, loc);
  173|       |
  174|      0|        TIntermTyped *node = addBinaryMath(EOpDiv, left, size, loc);
  175|      0|        return node;
  176|      0|    }
  177|       |
  178|       |    // No other math operators supported on references
  179|    621|    if (left->isReference() || right->isReference())
  ------------------
  |  Branch (179:9): [True: 0, False: 621]
  |  Branch (179:32): [True: 0, False: 621]
  ------------------
  180|      0|        return nullptr;
  181|       |
  182|       |    // Try converting the children's base types to compatible types.
  183|    621|    auto children = addPairConversion(op, left, right);
  184|    621|    left = std::get<0>(children);
  185|    621|    right = std::get<1>(children);
  186|       |
  187|    621|    if (left == nullptr || right == nullptr)
  ------------------
  |  Branch (187:9): [True: 0, False: 621]
  |  Branch (187:28): [True: 0, False: 621]
  ------------------
  188|      0|        return nullptr;
  189|       |
  190|       |    // Convert the children's type shape to be compatible.
  191|    621|    addBiShapeConversion(op, left, right);
  192|    621|    if (left == nullptr || right == nullptr)
  ------------------
  |  Branch (192:9): [True: 0, False: 621]
  |  Branch (192:28): [True: 0, False: 621]
  ------------------
  193|      0|        return nullptr;
  194|       |
  195|       |    //
  196|       |    // Need a new node holding things together.  Make
  197|       |    // one and promote it to the right type.
  198|       |    //
  199|    621|    TIntermBinary* node = addBinaryNode(op, left, right, loc);
  200|    621|    if (! promote(node))
  ------------------
  |  Branch (200:9): [True: 0, False: 621]
  ------------------
  201|      0|        return nullptr;
  202|       |
  203|    621|    node->updatePrecision();
  204|       |
  205|       |    //
  206|       |    // If they are both (non-specialization) constants, they must be folded.
  207|       |    // (Unless it's the sequence (comma) operator, but that's handled in addComma().)
  208|       |    //
  209|    621|    TIntermConstantUnion *leftTempConstant = node->getLeft()->getAsConstantUnion();
  210|    621|    TIntermConstantUnion *rightTempConstant = node->getRight()->getAsConstantUnion();
  211|    621|    if (leftTempConstant && rightTempConstant) {
  ------------------
  |  Branch (211:9): [True: 580, False: 41]
  |  Branch (211:29): [True: 580, False: 0]
  ------------------
  212|    580|        TIntermTyped* folded = leftTempConstant->fold(node->getOp(), rightTempConstant);
  213|    580|        if (folded)
  ------------------
  |  Branch (213:13): [True: 580, False: 0]
  ------------------
  214|    580|            return folded;
  215|    580|    }
  216|       |
  217|       |    // If can propagate spec-constantness and if the operation is an allowed
  218|       |    // specialization-constant operation, make a spec-constant.
  219|     41|    if (specConstantPropagates(*node->getLeft(), *node->getRight()) && isSpecializationOperation(*node))
  ------------------
  |  Branch (219:9): [True: 0, False: 41]
  |  Branch (219:72): [True: 0, False: 0]
  ------------------
  220|      0|        node->getWritableType().getQualifier().makeSpecConstant();
  221|       |
  222|       |    // If must propagate nonuniform, make a nonuniform.
  223|     41|    if ((node->getLeft()->getQualifier().isNonUniform() || node->getRight()->getQualifier().isNonUniform()) &&
  ------------------
  |  Branch (223:10): [True: 0, False: 41]
  |  Branch (223:60): [True: 0, False: 41]
  ------------------
  224|      0|            isNonuniformPropagating(node->getOp()))
  ------------------
  |  Branch (224:13): [True: 0, False: 0]
  ------------------
  225|      0|        node->getWritableType().getQualifier().nonUniform = true;
  226|       |
  227|     41|    return node;
  228|    621|}
_ZNK7glslang13TIntermediate13addBinaryNodeENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE:
  235|    621|{
  236|       |    // build the node
  237|    621|    TIntermBinary* node = new TIntermBinary(op);
  238|    621|    node->setLoc(loc.line != 0 ? loc : left->getLoc());
  ------------------
  |  Branch (238:18): [True: 621, False: 0]
  ------------------
  239|    621|    node->setLeft(left);
  240|    621|    node->setRight(right);
  241|       |
  242|    621|    return node;
  243|    621|}
_ZNK7glslang13TIntermediate12addUnaryNodeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocE:
  260|    153|{
  261|    153|    TIntermUnary* node = new TIntermUnary(op);
  262|    153|    node->setLoc(loc.line != 0 ? loc : child->getLoc());
  ------------------
  |  Branch (262:18): [True: 153, False: 0]
  ------------------
  263|    153|    node->setOperand(child);
  264|       |
  265|    153|    return node;
  266|    153|}
_ZNK7glslang13TIntermediate12addUnaryNodeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocERKNS_5TTypeE:
  273|     53|{
  274|     53|    TIntermUnary* node = addUnaryNode(op, child, loc);
  275|     53|    node->setType(type);
  276|     53|    return node;
  277|     53|}
_ZN7glslang13TIntermediate12addUnaryMathENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocE:
  357|  1.78k|{
  358|  1.78k|    if (child == nullptr)
  ------------------
  |  Branch (358:9): [True: 0, False: 1.78k]
  ------------------
  359|      0|        return nullptr;
  360|       |
  361|  1.78k|    if (child->getType().getBasicType() == EbtBlock)
  ------------------
  |  Branch (361:9): [True: 0, False: 1.78k]
  ------------------
  362|      0|        return nullptr;
  363|       |
  364|  1.78k|    switch (op) {
  365|    817|    case EOpLogicalNot:
  ------------------
  |  Branch (365:5): [True: 817, False: 964]
  ------------------
  366|    817|        if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (366:13): [True: 10, False: 807]
  ------------------
  367|     10|            break; // HLSL can promote logical not
  368|     10|        }
  369|       |
  370|    807|        if (child->getType().getBasicType() != EbtBool || child->getType().isMatrix() || child->getType().isArray() || child->getType().isVector()) {
  ------------------
  |  Branch (370:13): [True: 807, False: 0]
  |  Branch (370:59): [True: 0, False: 0]
  |  Branch (370:90): [True: 0, False: 0]
  |  Branch (370:120): [True: 0, False: 0]
  ------------------
  371|    807|            return nullptr;
  372|    807|        }
  373|      0|        break;
  374|       |
  375|      0|    case EOpPostIncrement:
  ------------------
  |  Branch (375:5): [True: 0, False: 1.78k]
  ------------------
  376|      0|    case EOpPreIncrement:
  ------------------
  |  Branch (376:5): [True: 0, False: 1.78k]
  ------------------
  377|      0|    case EOpPostDecrement:
  ------------------
  |  Branch (377:5): [True: 0, False: 1.78k]
  ------------------
  378|      0|    case EOpPreDecrement:
  ------------------
  |  Branch (378:5): [True: 0, False: 1.78k]
  ------------------
  379|     90|    case EOpNegative:
  ------------------
  |  Branch (379:5): [True: 90, False: 1.69k]
  ------------------
  380|     90|        if (child->getType().getBasicType() == EbtStruct || child->getType().isArray())
  ------------------
  |  Branch (380:13): [True: 0, False: 90]
  |  Branch (380:61): [True: 0, False: 90]
  ------------------
  381|      0|            return nullptr;
  382|     90|        break;
  383|    874|    default: break; // some compilers want this
  ------------------
  |  Branch (383:5): [True: 874, False: 907]
  ------------------
  384|  1.78k|    }
  385|       |
  386|       |    //
  387|       |    // Do we need to promote the operand?
  388|       |    //
  389|    974|    TBasicType newType = EbtVoid;
  390|    974|    switch (op) {
  391|      0|    case EOpConstructBool:   newType = EbtBool;   break;
  ------------------
  |  Branch (391:5): [True: 0, False: 974]
  ------------------
  392|      0|    case EOpConstructFloat:  newType = EbtFloat;  break;
  ------------------
  |  Branch (392:5): [True: 0, False: 974]
  ------------------
  393|    631|    case EOpConstructInt:    newType = EbtInt;    break;
  ------------------
  |  Branch (393:5): [True: 631, False: 343]
  ------------------
  394|    243|    case EOpConstructUint:   newType = EbtUint;   break;
  ------------------
  |  Branch (394:5): [True: 243, False: 731]
  ------------------
  395|      0|    case EOpConstructInt8:   newType = EbtInt8;   break;
  ------------------
  |  Branch (395:5): [True: 0, False: 974]
  ------------------
  396|      0|    case EOpConstructUint8:  newType = EbtUint8;  break;
  ------------------
  |  Branch (396:5): [True: 0, False: 974]
  ------------------
  397|      0|    case EOpConstructInt16:  newType = EbtInt16;  break;
  ------------------
  |  Branch (397:5): [True: 0, False: 974]
  ------------------
  398|      0|    case EOpConstructUint16: newType = EbtUint16; break;
  ------------------
  |  Branch (398:5): [True: 0, False: 974]
  ------------------
  399|      0|    case EOpConstructInt64:  newType = EbtInt64;  break;
  ------------------
  |  Branch (399:5): [True: 0, False: 974]
  ------------------
  400|      0|    case EOpConstructUint64: newType = EbtUint64; break;
  ------------------
  |  Branch (400:5): [True: 0, False: 974]
  ------------------
  401|      0|    case EOpConstructDouble: newType = EbtDouble; break;
  ------------------
  |  Branch (401:5): [True: 0, False: 974]
  ------------------
  402|      0|    case EOpConstructFloat16: newType = EbtFloat16; break;
  ------------------
  |  Branch (402:5): [True: 0, False: 974]
  ------------------
  403|      0|    case EOpConstructBFloat16: newType = EbtBFloat16; break;
  ------------------
  |  Branch (403:5): [True: 0, False: 974]
  ------------------
  404|      0|    case EOpConstructFloatE4M3: newType = EbtFloatE4M3; break;
  ------------------
  |  Branch (404:5): [True: 0, False: 974]
  ------------------
  405|      0|    case EOpConstructFloatE5M2: newType = EbtFloatE5M2; break;
  ------------------
  |  Branch (405:5): [True: 0, False: 974]
  ------------------
  406|    100|    default: break; // some compilers want this
  ------------------
  |  Branch (406:5): [True: 100, False: 874]
  ------------------
  407|    974|    }
  408|       |
  409|    974|    if (newType != EbtVoid) {
  ------------------
  |  Branch (409:9): [True: 874, False: 100]
  ------------------
  410|    874|        TType newTType(newType, EvqTemporary, child->getVectorSize(), child->getMatrixCols(), child->getMatrixRows(), child->isVector());
  411|    874|        if (child->getType().isLongVector()) {
  ------------------
  |  Branch (411:13): [True: 0, False: 874]
  ------------------
  412|      0|            newTType.shallowCopy(child->getType());
  413|      0|            newTType.setBasicType(newType);
  414|      0|            newTType.makeTemporary();
  415|      0|            newTType.getQualifier().clear();
  416|      0|        }
  417|       |
  418|    874|        child = addConversion(op, newTType, child);
  419|    874|        if (child == nullptr)
  ------------------
  |  Branch (419:13): [True: 0, False: 874]
  ------------------
  420|      0|            return nullptr;
  421|    874|    }
  422|       |
  423|       |    //
  424|       |    // For constructors, we are now done, it was all in the conversion.
  425|       |    // TODO: but, did this bypass constant folding?
  426|       |    //
  427|    974|    switch (op) {
  428|      0|        case EOpConstructInt8:
  ------------------
  |  Branch (428:9): [True: 0, False: 974]
  ------------------
  429|      0|        case EOpConstructUint8:
  ------------------
  |  Branch (429:9): [True: 0, False: 974]
  ------------------
  430|      0|        case EOpConstructInt16:
  ------------------
  |  Branch (430:9): [True: 0, False: 974]
  ------------------
  431|      0|        case EOpConstructUint16:
  ------------------
  |  Branch (431:9): [True: 0, False: 974]
  ------------------
  432|    631|        case EOpConstructInt:
  ------------------
  |  Branch (432:9): [True: 631, False: 343]
  ------------------
  433|    874|        case EOpConstructUint:
  ------------------
  |  Branch (433:9): [True: 243, False: 731]
  ------------------
  434|    874|        case EOpConstructInt64:
  ------------------
  |  Branch (434:9): [True: 0, False: 974]
  ------------------
  435|    874|        case EOpConstructUint64:
  ------------------
  |  Branch (435:9): [True: 0, False: 974]
  ------------------
  436|    874|        case EOpConstructBool:
  ------------------
  |  Branch (436:9): [True: 0, False: 974]
  ------------------
  437|    874|        case EOpConstructFloat:
  ------------------
  |  Branch (437:9): [True: 0, False: 974]
  ------------------
  438|    874|        case EOpConstructDouble:
  ------------------
  |  Branch (438:9): [True: 0, False: 974]
  ------------------
  439|    874|        case EOpConstructFloat16:
  ------------------
  |  Branch (439:9): [True: 0, False: 974]
  ------------------
  440|    874|        case EOpConstructBFloat16:
  ------------------
  |  Branch (440:9): [True: 0, False: 974]
  ------------------
  441|    874|        case EOpConstructFloatE5M2:
  ------------------
  |  Branch (441:9): [True: 0, False: 974]
  ------------------
  442|    874|        case EOpConstructFloatE4M3: {
  ------------------
  |  Branch (442:9): [True: 0, False: 974]
  ------------------
  443|    874|            TIntermUnary* unary_node = child->getAsUnaryNode();
  444|    874|            if (unary_node != nullptr)
  ------------------
  |  Branch (444:17): [True: 54, False: 820]
  ------------------
  445|     54|                unary_node->updatePrecision();
  446|    874|            return child;
  447|    874|        }
  448|    100|        default: break; // some compilers want this
  ------------------
  |  Branch (448:9): [True: 100, False: 874]
  ------------------
  449|    974|    }
  450|       |
  451|       |    //
  452|       |    // Make a new node for the operator.
  453|       |    //
  454|    100|    TIntermUnary* node = addUnaryNode(op, child, loc);
  455|       |
  456|    100|    if (! promote(node))
  ------------------
  |  Branch (456:9): [True: 0, False: 100]
  ------------------
  457|      0|        return nullptr;
  458|       |
  459|    100|    node->updatePrecision();
  460|       |
  461|       |    // If it's a (non-specialization) constant, it must be folded.
  462|    100|    if (node->getOperand()->getAsConstantUnion())
  ------------------
  |  Branch (462:9): [True: 100, False: 0]
  ------------------
  463|    100|        return node->getOperand()->getAsConstantUnion()->fold(op, node->getType());
  464|       |
  465|       |    // If it's a specialization constant, the result is too,
  466|       |    // if the operation is allowed for specialization constants.
  467|      0|    if (node->getOperand()->getType().getQualifier().isSpecConstant() && isSpecializationOperation(*node))
  ------------------
  |  Branch (467:9): [True: 0, False: 0]
  |  Branch (467:74): [True: 0, False: 0]
  ------------------
  468|      0|        node->getWritableType().getQualifier().makeSpecConstant();
  469|       |
  470|       |    // If must propagate nonuniform, make a nonuniform.
  471|      0|    if (node->getOperand()->getQualifier().isNonUniform() && isNonuniformPropagating(node->getOp()))
  ------------------
  |  Branch (471:9): [True: 0, False: 0]
  |  Branch (471:62): [True: 0, False: 0]
  ------------------
  472|      0|        node->getWritableType().getQualifier().nonUniform = true;
  473|       |
  474|      0|    return node;
  475|    100|}
_ZN7glslang13TIntermediate20setAggregateOperatorEP11TIntermNodeNS_9TOperatorERKNS_5TTypeERKNS_10TSourceLocE:
  517|    544|{
  518|    544|    TIntermAggregate* aggNode;
  519|       |
  520|       |    //
  521|       |    // Make sure we have an aggregate.  If not turn it into one.
  522|       |    //
  523|    544|    if (node != nullptr) {
  ------------------
  |  Branch (523:9): [True: 544, False: 0]
  ------------------
  524|    544|        aggNode = node->getAsAggregate();
  525|    544|        if (aggNode == nullptr || aggNode->getOp() != EOpNull) {
  ------------------
  |  Branch (525:13): [True: 357, False: 187]
  |  Branch (525:35): [True: 50, False: 137]
  ------------------
  526|       |            //
  527|       |            // Make an aggregate containing this node.
  528|       |            //
  529|    407|            aggNode = new TIntermAggregate();
  530|    407|            aggNode->getSequence().push_back(node);
  531|    407|        }
  532|    544|    } else
  533|      0|        aggNode = new TIntermAggregate();
  534|       |
  535|       |    //
  536|       |    // Set the operator.
  537|       |    //
  538|    544|    aggNode->setOperator(op);
  539|    544|    if (loc.line != 0 || node != nullptr)
  ------------------
  |  Branch (539:9): [True: 544, False: 0]
  |  Branch (539:26): [True: 0, False: 0]
  ------------------
  540|    544|        aggNode->setLoc(loc.line != 0 ? loc : node->getLoc());
  ------------------
  |  Branch (540:25): [True: 544, False: 0]
  ------------------
  541|       |
  542|    544|    aggNode->setType(type);
  543|       |
  544|    544|    return fold(aggNode);
  545|    544|}
_ZNK7glslang13TIntermediate19isConversionAllowedENS_9TOperatorEPNS_12TIntermTypedE:
  548|  7.75k|{
  549|       |    //
  550|       |    // Does the base type even allow the operation?
  551|       |    //
  552|  7.75k|    switch (node->getBasicType()) {
  553|      0|    case EbtVoid:
  ------------------
  |  Branch (553:5): [True: 0, False: 7.75k]
  ------------------
  554|      0|        return false;
  555|      0|    case EbtAtomicUint:
  ------------------
  |  Branch (555:5): [True: 0, False: 7.75k]
  ------------------
  556|      0|    case EbtSampler:
  ------------------
  |  Branch (556:5): [True: 0, False: 7.75k]
  ------------------
  557|      0|    case EbtAccStruct:
  ------------------
  |  Branch (557:5): [True: 0, False: 7.75k]
  ------------------
  558|       |        // opaque types can be passed to functions
  559|      0|        if (op == EOpFunction)
  ------------------
  |  Branch (559:13): [True: 0, False: 0]
  ------------------
  560|      0|            break;
  561|       |
  562|       |        // HLSL can assign samplers directly (no constructor)
  563|      0|        if (getSource() == EShSourceHlsl && node->getBasicType() == EbtSampler)
  ------------------
  |  Branch (563:13): [True: 0, False: 0]
  |  Branch (563:45): [True: 0, False: 0]
  ------------------
  564|      0|            break;
  565|       |
  566|       |        // samplers can get assigned via a sampler constructor
  567|       |        // (well, not yet, but code in the rest of this function is ready for it)
  568|      0|        if (node->getBasicType() == EbtSampler && op == EOpAssign &&
  ------------------
  |  Branch (568:13): [True: 0, False: 0]
  |  Branch (568:51): [True: 0, False: 0]
  ------------------
  569|      0|            node->getAsOperator() != nullptr && node->getAsOperator()->getOp() == EOpConstructTextureSampler)
  ------------------
  |  Branch (569:13): [True: 0, False: 0]
  |  Branch (569:49): [True: 0, False: 0]
  ------------------
  570|      0|            break;
  571|       |
  572|       |        // otherwise, opaque types can't even be operated on, let alone converted
  573|      0|        return false;
  574|  7.75k|    default:
  ------------------
  |  Branch (574:5): [True: 7.75k, False: 0]
  ------------------
  575|  7.75k|        break;
  576|  7.75k|    }
  577|       |
  578|  7.75k|    return true;
  579|  7.75k|}
_ZNK7glslang13TIntermediate14buildConvertOpENS_10TBasicTypeES1_RNS_9TOperatorE:
  582|     53|{
  583|       |    // (bfloat16_t,fp8) <-> bool not supported
  584|     53|    if (((src == EbtBFloat16 || src == EbtFloatE5M2 || src == EbtFloatE4M3) && dst == EbtBool) ||
  ------------------
  |  Branch (584:11): [True: 0, False: 53]
  |  Branch (584:33): [True: 0, False: 53]
  |  Branch (584:56): [True: 0, False: 53]
  |  Branch (584:80): [True: 0, False: 0]
  ------------------
  585|     53|        ((dst == EbtBFloat16 || dst == EbtFloatE5M2 || dst == EbtFloatE4M3) && src == EbtBool)) {
  ------------------
  |  Branch (585:11): [True: 0, False: 53]
  |  Branch (585:33): [True: 0, False: 53]
  |  Branch (585:56): [True: 0, False: 53]
  |  Branch (585:80): [True: 0, False: 0]
  ------------------
  586|      0|        return false;
  587|      0|    }
  588|       |
  589|     53|    if ((isTypeInt(dst) || isTypeFloat(dst) || dst == EbtBool) &&
  ------------------
  |  Branch (589:10): [True: 53, False: 0]
  |  Branch (589:28): [True: 0, False: 0]
  |  Branch (589:48): [True: 0, False: 0]
  ------------------
  590|     53|        (isTypeInt(src) || isTypeFloat(src) || src == EbtBool)) {
  ------------------
  |  Branch (590:10): [True: 53, False: 0]
  |  Branch (590:28): [True: 0, False: 0]
  |  Branch (590:48): [True: 0, False: 0]
  ------------------
  591|     53|        newOp = EOpConvNumeric;
  592|     53|        return true;
  593|     53|    }
  594|      0|    return false;
  595|     53|}
_ZNK7glslang13TIntermediate16createConversionENS_10TBasicTypeEPNS_12TIntermTypedE:
  601|     53|{
  602|       |    //
  603|       |    // Add a new newNode for the conversion.
  604|       |    //
  605|       |
  606|     53|    bool convertToIntTypes = (convertTo == EbtInt8  || convertTo == EbtUint8  ||
  ------------------
  |  Branch (606:31): [True: 0, False: 53]
  |  Branch (606:56): [True: 0, False: 53]
  ------------------
  607|     53|                              convertTo == EbtInt16 || convertTo == EbtUint16 ||
  ------------------
  |  Branch (607:31): [True: 0, False: 53]
  |  Branch (607:56): [True: 0, False: 53]
  ------------------
  608|     53|                              convertTo == EbtInt   || convertTo == EbtUint   ||
  ------------------
  |  Branch (608:31): [True: 53, False: 0]
  |  Branch (608:56): [True: 0, False: 0]
  ------------------
  609|      0|                              convertTo == EbtInt64 || convertTo == EbtUint64);
  ------------------
  |  Branch (609:31): [True: 0, False: 0]
  |  Branch (609:56): [True: 0, False: 0]
  ------------------
  610|       |
  611|     53|    bool convertFromIntTypes = (node->getBasicType() == EbtInt8  || node->getBasicType() == EbtUint8  ||
  ------------------
  |  Branch (611:33): [True: 0, False: 53]
  |  Branch (611:69): [True: 0, False: 53]
  ------------------
  612|     53|                                node->getBasicType() == EbtInt16 || node->getBasicType() == EbtUint16 ||
  ------------------
  |  Branch (612:33): [True: 0, False: 53]
  |  Branch (612:69): [True: 0, False: 53]
  ------------------
  613|     53|                                node->getBasicType() == EbtInt   || node->getBasicType() == EbtUint   ||
  ------------------
  |  Branch (613:33): [True: 0, False: 53]
  |  Branch (613:69): [True: 53, False: 0]
  ------------------
  614|      0|                                node->getBasicType() == EbtInt64 || node->getBasicType() == EbtUint64);
  ------------------
  |  Branch (614:33): [True: 0, False: 0]
  |  Branch (614:69): [True: 0, False: 0]
  ------------------
  615|       |
  616|     53|    bool convertToFloatTypes = (convertTo == EbtFloat16 || convertTo == EbtBFloat16 || convertTo == EbtFloat || convertTo == EbtDouble ||
  ------------------
  |  Branch (616:33): [True: 0, False: 53]
  |  Branch (616:60): [True: 0, False: 53]
  |  Branch (616:88): [True: 0, False: 53]
  |  Branch (616:113): [True: 0, False: 53]
  ------------------
  617|     53|                                convertTo == EbtFloatE5M2 || convertTo == EbtFloatE4M3);
  ------------------
  |  Branch (617:33): [True: 0, False: 53]
  |  Branch (617:62): [True: 0, False: 53]
  ------------------
  618|       |
  619|     53|    bool convertFromFloatTypes = (node->getBasicType() == EbtFloat16 ||
  ------------------
  |  Branch (619:35): [True: 0, False: 53]
  ------------------
  620|     53|                                  node->getBasicType() == EbtBFloat16 ||
  ------------------
  |  Branch (620:35): [True: 0, False: 53]
  ------------------
  621|     53|                                  node->getBasicType() == EbtFloat ||
  ------------------
  |  Branch (621:35): [True: 0, False: 53]
  ------------------
  622|     53|                                  node->getBasicType() == EbtDouble ||
  ------------------
  |  Branch (622:35): [True: 0, False: 53]
  ------------------
  623|     53|                                  node->getBasicType() == EbtFloatE5M2 ||
  ------------------
  |  Branch (623:35): [True: 0, False: 53]
  ------------------
  624|     53|                                  node->getBasicType() == EbtFloatE4M3);
  ------------------
  |  Branch (624:35): [True: 0, False: 53]
  ------------------
  625|       |
  626|     53|    if (((convertTo == EbtInt8 || convertTo == EbtUint8) && ! convertFromIntTypes) ||
  ------------------
  |  Branch (626:11): [True: 0, False: 53]
  |  Branch (626:35): [True: 0, False: 53]
  |  Branch (626:61): [True: 0, False: 0]
  ------------------
  627|     53|        ((node->getBasicType() == EbtInt8 || node->getBasicType() == EbtUint8) && ! convertToIntTypes)) {
  ------------------
  |  Branch (627:11): [True: 0, False: 53]
  |  Branch (627:46): [True: 0, False: 53]
  |  Branch (627:83): [True: 0, False: 0]
  ------------------
  628|      0|        if (! getArithemeticInt8Enabled()) {
  ------------------
  |  Branch (628:13): [True: 0, False: 0]
  ------------------
  629|      0|            return nullptr;
  630|      0|        }
  631|      0|    }
  632|       |
  633|     53|    if (((convertTo == EbtInt16 || convertTo == EbtUint16) && ! convertFromIntTypes) ||
  ------------------
  |  Branch (633:11): [True: 0, False: 53]
  |  Branch (633:36): [True: 0, False: 53]
  |  Branch (633:63): [True: 0, False: 0]
  ------------------
  634|     53|        ((node->getBasicType() == EbtInt16 || node->getBasicType() == EbtUint16) && ! convertToIntTypes)) {
  ------------------
  |  Branch (634:11): [True: 0, False: 53]
  |  Branch (634:47): [True: 0, False: 53]
  |  Branch (634:85): [True: 0, False: 0]
  ------------------
  635|      0|        if (! getArithemeticInt16Enabled()) {
  ------------------
  |  Branch (635:13): [True: 0, False: 0]
  ------------------
  636|      0|            return nullptr;
  637|      0|        }
  638|      0|    }
  639|       |
  640|     53|    if ((convertTo == EbtFloat16 && ! convertFromFloatTypes) ||
  ------------------
  |  Branch (640:10): [True: 0, False: 53]
  |  Branch (640:37): [True: 0, False: 0]
  ------------------
  641|     53|        (node->getBasicType() == EbtFloat16 && ! convertToFloatTypes)) {
  ------------------
  |  Branch (641:10): [True: 0, False: 53]
  |  Branch (641:48): [True: 0, False: 0]
  ------------------
  642|      0|        if (! getArithemeticFloat16Enabled()) {
  ------------------
  |  Branch (642:13): [True: 0, False: 0]
  ------------------
  643|      0|            return nullptr;
  644|      0|        }
  645|      0|    }
  646|       |
  647|     53|    TIntermUnary* newNode = nullptr;
  648|     53|    TOperator newOp = EOpNull;
  649|     53|    if (!buildConvertOp(convertTo, node->getBasicType(), newOp)) {
  ------------------
  |  Branch (649:9): [True: 0, False: 53]
  ------------------
  650|      0|        return nullptr;
  651|      0|    }
  652|       |
  653|     53|    TType newType(convertTo, EvqTemporary, node->getVectorSize(), node->getMatrixCols(), node->getMatrixRows());
  654|     53|    if (node->getType().isLongVector()) {
  ------------------
  |  Branch (654:9): [True: 0, False: 53]
  ------------------
  655|      0|        newType.shallowCopy(node->getType());
  656|      0|        newType.setBasicType(convertTo);
  657|      0|        newType.makeTemporary();
  658|      0|        newType.getQualifier().clear();
  659|      0|    }
  660|     53|    newNode = addUnaryNode(newOp, node, node->getLoc(), newType);
  661|       |
  662|     53|    if (node->getAsConstantUnion()) {
  ------------------
  |  Branch (662:9): [True: 0, False: 53]
  ------------------
  663|       |        // 8/16-bit storage extensions don't support 8/16-bit constants, so don't fold conversions
  664|       |        // to those types
  665|      0|        if ((getArithemeticInt8Enabled() || !(convertTo == EbtInt8 || convertTo == EbtUint8)) &&
  ------------------
  |  Branch (665:14): [True: 0, False: 0]
  |  Branch (665:47): [True: 0, False: 0]
  |  Branch (665:71): [True: 0, False: 0]
  ------------------
  666|      0|            (getArithemeticInt16Enabled() || !(convertTo == EbtInt16 || convertTo == EbtUint16)) &&
  ------------------
  |  Branch (666:14): [True: 0, False: 0]
  |  Branch (666:48): [True: 0, False: 0]
  |  Branch (666:73): [True: 0, False: 0]
  ------------------
  667|      0|            (getArithemeticFloat16Enabled() || !(convertTo == EbtFloat16)))
  ------------------
  |  Branch (667:14): [True: 0, False: 0]
  |  Branch (667:48): [True: 0, False: 0]
  ------------------
  668|      0|        {
  669|      0|            TIntermTyped* folded = node->getAsConstantUnion()->fold(newOp, newType);
  670|      0|            if (folded)
  ------------------
  |  Branch (670:17): [True: 0, False: 0]
  ------------------
  671|      0|                return folded;
  672|      0|        }
  673|      0|    }
  674|       |
  675|       |    // Propagate specialization-constant-ness, if allowed
  676|     53|    if (node->getType().getQualifier().isSpecConstant() && isSpecializationOperation(*newNode))
  ------------------
  |  Branch (676:9): [True: 0, False: 53]
  |  Branch (676:60): [True: 0, False: 0]
  ------------------
  677|      0|        newNode->getWritableType().getQualifier().makeSpecConstant();
  678|       |
  679|     53|    return newNode;
  680|     53|}
_ZN7glslang13TIntermediate17addPairConversionENS_9TOperatorEPNS_12TIntermTypedES3_:
  701|  1.36k|{
  702|  1.36k|    if (!isConversionAllowed(op, node0) || !isConversionAllowed(op, node1))
  ------------------
  |  Branch (702:9): [True: 0, False: 1.36k]
  |  Branch (702:44): [True: 0, False: 1.36k]
  ------------------
  703|      0|        return std::make_tuple(nullptr, nullptr);
  704|       |
  705|  1.36k|    if (node0->getType() != node1->getType()) {
  ------------------
  |  Branch (705:9): [True: 931, False: 429]
  ------------------
  706|       |        // If differing structure, then no conversions.
  707|    931|        if (node0->isStruct() || node1->isStruct())
  ------------------
  |  Branch (707:13): [True: 0, False: 931]
  |  Branch (707:34): [True: 0, False: 931]
  ------------------
  708|      0|            return std::make_tuple(nullptr, nullptr);
  709|       |
  710|       |        // If differing arrays, then no conversions.
  711|    931|        if (node0->getType().isArray() || node1->getType().isArray())
  ------------------
  |  Branch (711:13): [True: 0, False: 931]
  |  Branch (711:43): [True: 0, False: 931]
  ------------------
  712|      0|            return std::make_tuple(nullptr, nullptr);
  713|       |
  714|       |        // No implicit conversions for operations involving cooperative matrices
  715|    931|        if (node0->getType().isCoopMat() || node1->getType().isCoopMat())
  ------------------
  |  Branch (715:13): [True: 0, False: 931]
  |  Branch (715:45): [True: 0, False: 931]
  ------------------
  716|      0|            return std::make_tuple(node0, node1);
  717|    931|    }
  718|       |
  719|  1.36k|    auto promoteTo = std::make_tuple(EbtNumTypes, EbtNumTypes);
  720|       |
  721|  1.36k|    switch (op) {
  722|       |    //
  723|       |    // List all the binary ops that can implicitly convert one operand to the other's type;
  724|       |    // This implements the 'policy' for implicit type conversion.
  725|       |    //
  726|      1|    case EOpLessThan:
  ------------------
  |  Branch (726:5): [True: 1, False: 1.35k]
  ------------------
  727|      1|    case EOpGreaterThan:
  ------------------
  |  Branch (727:5): [True: 0, False: 1.36k]
  ------------------
  728|      1|    case EOpLessThanEqual:
  ------------------
  |  Branch (728:5): [True: 0, False: 1.36k]
  ------------------
  729|      1|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (729:5): [True: 0, False: 1.36k]
  ------------------
  730|      1|    case EOpEqual:
  ------------------
  |  Branch (730:5): [True: 0, False: 1.36k]
  ------------------
  731|      1|    case EOpNotEqual:
  ------------------
  |  Branch (731:5): [True: 0, False: 1.36k]
  ------------------
  732|       |
  733|    365|    case EOpAdd:
  ------------------
  |  Branch (733:5): [True: 364, False: 996]
  ------------------
  734|    503|    case EOpSub:
  ------------------
  |  Branch (734:5): [True: 138, False: 1.22k]
  ------------------
  735|    620|    case EOpMul:
  ------------------
  |  Branch (735:5): [True: 117, False: 1.24k]
  ------------------
  736|    620|    case EOpDiv:
  ------------------
  |  Branch (736:5): [True: 0, False: 1.36k]
  ------------------
  737|    620|    case EOpMod:
  ------------------
  |  Branch (737:5): [True: 0, False: 1.36k]
  ------------------
  738|       |
  739|    620|    case EOpVectorTimesScalar:
  ------------------
  |  Branch (739:5): [True: 0, False: 1.36k]
  ------------------
  740|    620|    case EOpVectorTimesMatrix:
  ------------------
  |  Branch (740:5): [True: 0, False: 1.36k]
  ------------------
  741|    620|    case EOpMatrixTimesVector:
  ------------------
  |  Branch (741:5): [True: 0, False: 1.36k]
  ------------------
  742|    620|    case EOpMatrixTimesScalar:
  ------------------
  |  Branch (742:5): [True: 0, False: 1.36k]
  ------------------
  743|       |
  744|    621|    case EOpAnd:
  ------------------
  |  Branch (744:5): [True: 1, False: 1.35k]
  ------------------
  745|    621|    case EOpInclusiveOr:
  ------------------
  |  Branch (745:5): [True: 0, False: 1.36k]
  ------------------
  746|    621|    case EOpExclusiveOr:
  ------------------
  |  Branch (746:5): [True: 0, False: 1.36k]
  ------------------
  747|       |
  748|  1.36k|    case EOpSequence:          // used by ?:
  ------------------
  |  Branch (748:5): [True: 739, False: 621]
  ------------------
  749|       |
  750|  1.36k|        if (node0->getBasicType() == node1->getBasicType())
  ------------------
  |  Branch (750:13): [True: 439, False: 921]
  ------------------
  751|    439|            return std::make_tuple(node0, node1);
  752|       |
  753|    921|        promoteTo = getConversionDestinationType(node0->getBasicType(), node1->getBasicType(), op);
  754|    921|        if (std::get<0>(promoteTo) == EbtNumTypes || std::get<1>(promoteTo) == EbtNumTypes)
  ------------------
  |  Branch (754:13): [True: 2, False: 919]
  |  Branch (754:54): [True: 0, False: 919]
  ------------------
  755|      2|            return std::make_tuple(nullptr, nullptr);
  756|       |
  757|    919|        break;
  758|       |
  759|    919|    case EOpLogicalAnd:
  ------------------
  |  Branch (759:5): [True: 0, False: 1.36k]
  ------------------
  760|      0|    case EOpLogicalOr:
  ------------------
  |  Branch (760:5): [True: 0, False: 1.36k]
  ------------------
  761|      0|    case EOpLogicalXor:
  ------------------
  |  Branch (761:5): [True: 0, False: 1.36k]
  ------------------
  762|      0|        if (getSource() == EShSourceHlsl)
  ------------------
  |  Branch (762:13): [True: 0, False: 0]
  ------------------
  763|      0|            promoteTo = std::make_tuple(EbtBool, EbtBool);
  764|      0|        else
  765|      0|            return std::make_tuple(node0, node1);
  766|      0|        break;
  767|       |
  768|       |    // There are no conversions needed for GLSL; the shift amount just needs to be an
  769|       |    // integer type, as does the base.
  770|       |    // HLSL can promote bools to ints to make this work.
  771|      0|    case EOpLeftShift:
  ------------------
  |  Branch (771:5): [True: 0, False: 1.36k]
  ------------------
  772|      0|    case EOpRightShift:
  ------------------
  |  Branch (772:5): [True: 0, False: 1.36k]
  ------------------
  773|      0|        if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (773:13): [True: 0, False: 0]
  ------------------
  774|      0|            TBasicType node0BasicType = node0->getBasicType();
  775|      0|            if (node0BasicType == EbtBool)
  ------------------
  |  Branch (775:17): [True: 0, False: 0]
  ------------------
  776|      0|                node0BasicType = EbtInt;
  777|      0|            if (node1->getBasicType() == EbtBool)
  ------------------
  |  Branch (777:17): [True: 0, False: 0]
  ------------------
  778|      0|                promoteTo = std::make_tuple(node0BasicType, EbtInt);
  779|      0|            else
  780|      0|                promoteTo = std::make_tuple(node0BasicType, node1->getBasicType());
  781|      0|        } else {
  782|      0|            if (isTypeInt(node0->getBasicType()) && isTypeInt(node1->getBasicType()))
  ------------------
  |  Branch (782:17): [True: 0, False: 0]
  |  Branch (782:53): [True: 0, False: 0]
  ------------------
  783|      0|                return std::make_tuple(node0, node1);
  784|      0|            else
  785|      0|                return std::make_tuple(nullptr, nullptr);
  786|      0|        }
  787|      0|        break;
  788|       |
  789|      0|    default:
  ------------------
  |  Branch (789:5): [True: 0, False: 1.36k]
  ------------------
  790|      0|        if (node0->getType() == node1->getType())
  ------------------
  |  Branch (790:13): [True: 0, False: 0]
  ------------------
  791|      0|            return std::make_tuple(node0, node1);
  792|       |
  793|      0|        return std::make_tuple(nullptr, nullptr);
  794|  1.36k|    }
  795|       |
  796|    919|    TIntermTyped* newNode0;
  797|    919|    TIntermTyped* newNode1;
  798|       |
  799|    919|    if (std::get<0>(promoteTo) != node0->getType().getBasicType()) {
  ------------------
  |  Branch (799:9): [True: 878, False: 41]
  ------------------
  800|    878|        if (node0->getAsConstantUnion())
  ------------------
  |  Branch (800:13): [True: 878, False: 0]
  ------------------
  801|    878|            newNode0 = promoteConstantUnion(std::get<0>(promoteTo), node0->getAsConstantUnion());
  802|      0|        else
  803|      0|            newNode0 = createConversion(std::get<0>(promoteTo), node0);
  804|    878|    } else
  805|     41|        newNode0 = node0;
  806|       |
  807|    919|    if (std::get<1>(promoteTo) != node1->getType().getBasicType()) {
  ------------------
  |  Branch (807:9): [True: 41, False: 878]
  ------------------
  808|     41|        if (node1->getAsConstantUnion())
  ------------------
  |  Branch (808:13): [True: 41, False: 0]
  ------------------
  809|     41|            newNode1 = promoteConstantUnion(std::get<1>(promoteTo), node1->getAsConstantUnion());
  810|      0|        else
  811|      0|            newNode1 = createConversion(std::get<1>(promoteTo), node1);
  812|     41|    } else
  813|    878|        newNode1 = node1;
  814|       |
  815|    919|    return std::make_tuple(newNode0, newNode1);
  816|  1.36k|}
_ZN7glslang13TIntermediate13addConversionENS_9TOperatorERKNS_5TTypeEPNS_12TIntermTypedE:
  834|  5.03k|{
  835|  5.03k|    if (!isConversionAllowed(op, node))
  ------------------
  |  Branch (835:9): [True: 0, False: 5.03k]
  ------------------
  836|      0|        return nullptr;
  837|       |
  838|       |    // Otherwise, if types are identical, no problem
  839|  5.03k|    if (type == node->getType())
  ------------------
  |  Branch (839:9): [True: 4.62k, False: 407]
  ------------------
  840|  4.62k|        return node;
  841|       |
  842|       |    // If one's a structure, then no conversions.
  843|    407|    if (type.isStruct() || node->isStruct())
  ------------------
  |  Branch (843:9): [True: 0, False: 407]
  |  Branch (843:28): [True: 0, False: 407]
  ------------------
  844|      0|        return nullptr;
  845|       |
  846|       |    // If one's an array, then no conversions.
  847|    407|    if (type.isArray() || node->getType().isArray())
  ------------------
  |  Branch (847:9): [True: 0, False: 407]
  |  Branch (847:27): [True: 0, False: 407]
  ------------------
  848|      0|        return nullptr;
  849|       |
  850|       |    // Reject implicit conversions to cooperative matrix types
  851|    407|    if (node->getType().isCoopMat() &&
  ------------------
  |  Branch (851:9): [True: 0, False: 407]
  ------------------
  852|      0|        op != EOpConstructCooperativeMatrixNV &&
  ------------------
  |  Branch (852:9): [True: 0, False: 0]
  ------------------
  853|      0|        op != EOpConstructCooperativeMatrixKHR &&
  ------------------
  |  Branch (853:9): [True: 0, False: 0]
  ------------------
  854|      0|        op != glslang::EOpCompositeConstructCoopMatQCOM)
  ------------------
  |  Branch (854:9): [True: 0, False: 0]
  ------------------
  855|      0|        return nullptr;
  856|       |
  857|    407|    if (node->getType().isTensorLayoutNV() ||
  ------------------
  |  Branch (857:9): [True: 0, False: 407]
  ------------------
  858|    407|        node->getType().isTensorViewNV())
  ------------------
  |  Branch (858:9): [True: 0, False: 407]
  ------------------
  859|      0|        return nullptr;
  860|       |
  861|       |    // Reject implicit conversions to cooperative vector types
  862|    407|    if (node->getType().isCoopVecNV() &&
  ------------------
  |  Branch (862:9): [True: 0, False: 407]
  ------------------
  863|      0|        op != EOpConstructCooperativeVectorNV)
  ------------------
  |  Branch (863:9): [True: 0, False: 0]
  ------------------
  864|      0|        return nullptr;
  865|       |
  866|       |    // Note: callers are responsible for other aspects of shape,
  867|       |    // like vector and matrix sizes.
  868|       |
  869|    407|    switch (op) {
  870|       |    //
  871|       |    // Explicit conversions (unary operations)
  872|       |    //
  873|      4|    case EOpConstructBool:
  ------------------
  |  Branch (873:5): [True: 4, False: 403]
  ------------------
  874|      4|    case EOpConstructFloat:
  ------------------
  |  Branch (874:5): [True: 0, False: 407]
  ------------------
  875|    136|    case EOpConstructInt:
  ------------------
  |  Branch (875:5): [True: 132, False: 275]
  ------------------
  876|    379|    case EOpConstructUint:
  ------------------
  |  Branch (876:5): [True: 243, False: 164]
  ------------------
  877|    379|    case EOpConstructDouble:
  ------------------
  |  Branch (877:5): [True: 0, False: 407]
  ------------------
  878|    379|    case EOpConstructFloat16:
  ------------------
  |  Branch (878:5): [True: 0, False: 407]
  ------------------
  879|    379|    case EOpConstructBFloat16:
  ------------------
  |  Branch (879:5): [True: 0, False: 407]
  ------------------
  880|    379|    case EOpConstructFloatE5M2:
  ------------------
  |  Branch (880:5): [True: 0, False: 407]
  ------------------
  881|    379|    case EOpConstructFloatE4M3:
  ------------------
  |  Branch (881:5): [True: 0, False: 407]
  ------------------
  882|    379|    case EOpConstructInt8:
  ------------------
  |  Branch (882:5): [True: 0, False: 407]
  ------------------
  883|    379|    case EOpConstructUint8:
  ------------------
  |  Branch (883:5): [True: 0, False: 407]
  ------------------
  884|    379|    case EOpConstructInt16:
  ------------------
  |  Branch (884:5): [True: 0, False: 407]
  ------------------
  885|    379|    case EOpConstructUint16:
  ------------------
  |  Branch (885:5): [True: 0, False: 407]
  ------------------
  886|    379|    case EOpConstructInt64:
  ------------------
  |  Branch (886:5): [True: 0, False: 407]
  ------------------
  887|    379|    case EOpConstructUint64:
  ------------------
  |  Branch (887:5): [True: 0, False: 407]
  ------------------
  888|    379|    case EOpConstructSaturated:
  ------------------
  |  Branch (888:5): [True: 0, False: 407]
  ------------------
  889|    379|        break;
  890|       |
  891|       |    //
  892|       |    // Implicit conversions
  893|       |    //
  894|      8|    case EOpLogicalNot:
  ------------------
  |  Branch (894:5): [True: 8, False: 399]
  ------------------
  895|       |
  896|      8|    case EOpFunctionCall:
  ------------------
  |  Branch (896:5): [True: 0, False: 407]
  ------------------
  897|       |
  898|      8|    case EOpReturn:
  ------------------
  |  Branch (898:5): [True: 0, False: 407]
  ------------------
  899|      8|    case EOpAssign:
  ------------------
  |  Branch (899:5): [True: 0, False: 407]
  ------------------
  900|      8|    case EOpAddAssign:
  ------------------
  |  Branch (900:5): [True: 0, False: 407]
  ------------------
  901|      8|    case EOpSubAssign:
  ------------------
  |  Branch (901:5): [True: 0, False: 407]
  ------------------
  902|      8|    case EOpMulAssign:
  ------------------
  |  Branch (902:5): [True: 0, False: 407]
  ------------------
  903|      8|    case EOpVectorTimesScalarAssign:
  ------------------
  |  Branch (903:5): [True: 0, False: 407]
  ------------------
  904|      8|    case EOpMatrixTimesScalarAssign:
  ------------------
  |  Branch (904:5): [True: 0, False: 407]
  ------------------
  905|      8|    case EOpDivAssign:
  ------------------
  |  Branch (905:5): [True: 0, False: 407]
  ------------------
  906|      8|    case EOpModAssign:
  ------------------
  |  Branch (906:5): [True: 0, False: 407]
  ------------------
  907|      8|    case EOpAndAssign:
  ------------------
  |  Branch (907:5): [True: 0, False: 407]
  ------------------
  908|      8|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (908:5): [True: 0, False: 407]
  ------------------
  909|      8|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (909:5): [True: 0, False: 407]
  ------------------
  910|       |
  911|      8|    case EOpAtan:
  ------------------
  |  Branch (911:5): [True: 0, False: 407]
  ------------------
  912|      8|    case EOpClamp:
  ------------------
  |  Branch (912:5): [True: 0, False: 407]
  ------------------
  913|      8|    case EOpCross:
  ------------------
  |  Branch (913:5): [True: 0, False: 407]
  ------------------
  914|      8|    case EOpDistance:
  ------------------
  |  Branch (914:5): [True: 0, False: 407]
  ------------------
  915|      8|    case EOpDot:
  ------------------
  |  Branch (915:5): [True: 0, False: 407]
  ------------------
  916|      8|    case EOpDst:
  ------------------
  |  Branch (916:5): [True: 0, False: 407]
  ------------------
  917|      8|    case EOpFaceForward:
  ------------------
  |  Branch (917:5): [True: 0, False: 407]
  ------------------
  918|      8|    case EOpFma:
  ------------------
  |  Branch (918:5): [True: 0, False: 407]
  ------------------
  919|      8|    case EOpFrexp:
  ------------------
  |  Branch (919:5): [True: 0, False: 407]
  ------------------
  920|      8|    case EOpLdexp:
  ------------------
  |  Branch (920:5): [True: 0, False: 407]
  ------------------
  921|      8|    case EOpMix:
  ------------------
  |  Branch (921:5): [True: 0, False: 407]
  ------------------
  922|      8|    case EOpLit:
  ------------------
  |  Branch (922:5): [True: 0, False: 407]
  ------------------
  923|      8|    case EOpMax:
  ------------------
  |  Branch (923:5): [True: 0, False: 407]
  ------------------
  924|      8|    case EOpMin:
  ------------------
  |  Branch (924:5): [True: 0, False: 407]
  ------------------
  925|      8|    case EOpMod:
  ------------------
  |  Branch (925:5): [True: 0, False: 407]
  ------------------
  926|      8|    case EOpModf:
  ------------------
  |  Branch (926:5): [True: 0, False: 407]
  ------------------
  927|      8|    case EOpPow:
  ------------------
  |  Branch (927:5): [True: 0, False: 407]
  ------------------
  928|      8|    case EOpReflect:
  ------------------
  |  Branch (928:5): [True: 0, False: 407]
  ------------------
  929|      8|    case EOpRefract:
  ------------------
  |  Branch (929:5): [True: 0, False: 407]
  ------------------
  930|      8|    case EOpSmoothStep:
  ------------------
  |  Branch (930:5): [True: 0, False: 407]
  ------------------
  931|      8|    case EOpStep:
  ------------------
  |  Branch (931:5): [True: 0, False: 407]
  ------------------
  932|       |
  933|      8|    case EOpSequence:
  ------------------
  |  Branch (933:5): [True: 0, False: 407]
  ------------------
  934|     28|    case EOpConstructStruct:
  ------------------
  |  Branch (934:5): [True: 20, False: 387]
  ------------------
  935|     28|    case EOpConstructCooperativeMatrixNV:
  ------------------
  |  Branch (935:5): [True: 0, False: 407]
  ------------------
  936|     28|    case EOpConstructCooperativeMatrixKHR:
  ------------------
  |  Branch (936:5): [True: 0, False: 407]
  ------------------
  937|     28|    case EOpConstructCooperativeVectorNV:
  ------------------
  |  Branch (937:5): [True: 0, False: 407]
  ------------------
  938|       |
  939|     28|        if (type.isReference() || node->getType().isReference()) {
  ------------------
  |  Branch (939:13): [True: 0, False: 28]
  |  Branch (939:35): [True: 0, False: 28]
  ------------------
  940|       |            // types must match to assign a reference
  941|      0|            if (type == node->getType())
  ------------------
  |  Branch (941:17): [True: 0, False: 0]
  ------------------
  942|      0|                return node;
  943|      0|            else
  944|      0|                return nullptr;
  945|      0|        }
  946|       |
  947|     28|        if (type.getBasicType() == node->getType().getBasicType())
  ------------------
  |  Branch (947:13): [True: 0, False: 28]
  ------------------
  948|      0|            return node;
  949|       |
  950|     28|        if (! canImplicitlyPromote(node->getBasicType(), type.getBasicType(), op))
  ------------------
  |  Branch (950:13): [True: 20, False: 8]
  ------------------
  951|     20|            return nullptr;
  952|      8|        break;
  953|       |
  954|       |    // For GLSL, there are no conversions needed; the shift amount just needs to be an
  955|       |    // integer type, as do the base/result.
  956|       |    // HLSL can convert the shift from a bool to an int.
  957|      8|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (957:5): [True: 0, False: 407]
  ------------------
  958|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (958:5): [True: 0, False: 407]
  ------------------
  959|      0|    {
  960|      0|        if (!(getSource() == EShSourceHlsl && node->getType().getBasicType() == EbtBool)) {
  ------------------
  |  Branch (960:15): [True: 0, False: 0]
  |  Branch (960:47): [True: 0, False: 0]
  ------------------
  961|      0|            if (isTypeInt(type.getBasicType()) && isTypeInt(node->getBasicType()))
  ------------------
  |  Branch (961:17): [True: 0, False: 0]
  |  Branch (961:51): [True: 0, False: 0]
  ------------------
  962|      0|                return node;
  963|      0|            else
  964|      0|                return nullptr;
  965|      0|        }
  966|      0|        break;
  967|      0|    }
  968|       |
  969|      0|    default:
  ------------------
  |  Branch (969:5): [True: 0, False: 407]
  ------------------
  970|       |        // default is to require a match; all exceptions should have case statements above
  971|       |
  972|      0|        if (type.getBasicType() == node->getType().getBasicType())
  ------------------
  |  Branch (972:13): [True: 0, False: 0]
  ------------------
  973|      0|            return node;
  974|      0|        else
  975|      0|            return nullptr;
  976|    407|    }
  977|       |
  978|    387|    bool canPromoteConstant = true;
  979|       |    // GL_EXT_shader_16bit_storage can't do OpConstantComposite with
  980|       |    // 16-bit types, so disable promotion for those types.
  981|       |    // Many issues with this, from JohnK:
  982|       |    //  - this isn't really right to discuss SPIR-V here
  983|       |    //  - this could easily be entirely about scalars, so is overstepping
  984|       |    //  - we should be looking at what the shader asked for, and saying whether or
  985|       |    //    not it can be done, in the parser, by calling requireExtensions(), not
  986|       |    //    changing language sementics on the fly by asking what extensions are in use
  987|       |    //  - at the time of this writing (14-Aug-2020), no test results are changed by this.
  988|    387|    switch (op) {
  989|      0|    case EOpConstructBFloat16:
  ------------------
  |  Branch (989:5): [True: 0, False: 387]
  ------------------
  990|      0|    case EOpConstructFloatE5M2:
  ------------------
  |  Branch (990:5): [True: 0, False: 387]
  ------------------
  991|      0|    case EOpConstructFloatE4M3:
  ------------------
  |  Branch (991:5): [True: 0, False: 387]
  ------------------
  992|      0|        canPromoteConstant = true;
  993|      0|        break;
  994|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (994:5): [True: 0, False: 387]
  ------------------
  995|      0|        canPromoteConstant = numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (995:30): [True: 0, False: 0]
  ------------------
  996|      0|                             numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_float16);
  ------------------
  |  Branch (996:30): [True: 0, False: 0]
  ------------------
  997|      0|        break;
  998|      0|    case EOpConstructInt8:
  ------------------
  |  Branch (998:5): [True: 0, False: 387]
  ------------------
  999|      0|    case EOpConstructUint8:
  ------------------
  |  Branch (999:5): [True: 0, False: 387]
  ------------------
 1000|      0|        canPromoteConstant = numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1000:30): [True: 0, False: 0]
  ------------------
 1001|      0|                             numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int8);
  ------------------
  |  Branch (1001:30): [True: 0, False: 0]
  ------------------
 1002|      0|        break;
 1003|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (1003:5): [True: 0, False: 387]
  ------------------
 1004|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (1004:5): [True: 0, False: 387]
  ------------------
 1005|      0|        canPromoteConstant = numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1005:30): [True: 0, False: 0]
  ------------------
 1006|      0|                             numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int16);
  ------------------
  |  Branch (1006:30): [True: 0, False: 0]
  ------------------
 1007|      0|        break;
 1008|    387|    default:
  ------------------
  |  Branch (1008:5): [True: 387, False: 0]
  ------------------
 1009|    387|        break;
 1010|    387|    }
 1011|       |
 1012|    387|    if (canPromoteConstant && node->getAsConstantUnion())
  ------------------
  |  Branch (1012:9): [True: 387, False: 0]
  |  Branch (1012:31): [True: 334, False: 53]
  ------------------
 1013|    334|        return promoteConstantUnion(type.getBasicType(), node->getAsConstantUnion());
 1014|       |
 1015|       |    //
 1016|       |    // Add a new newNode for the conversion.
 1017|       |    //
 1018|     53|    TIntermTyped* newNode = createConversion(type.getBasicType(), node);
 1019|       |
 1020|     53|    return newNode;
 1021|    387|}
_ZN7glslang13TIntermediate21addUniShapeConversionENS_9TOperatorERKNS_5TTypeEPNS_12TIntermTypedE:
 1036|    448|{
 1037|       |    // some source languages don't do this
 1038|    448|    switch (getSource()) {
 1039|      4|    case EShSourceHlsl:
  ------------------
  |  Branch (1039:5): [True: 4, False: 444]
  ------------------
 1040|      4|        break;
 1041|    444|    case EShSourceGlsl:
  ------------------
  |  Branch (1041:5): [True: 444, False: 4]
  ------------------
 1042|    444|    default:
  ------------------
  |  Branch (1042:5): [True: 0, False: 448]
  ------------------
 1043|    444|        return node;
 1044|    448|    }
 1045|       |
 1046|       |    // some operations don't do this
 1047|      4|    switch (op) {
 1048|      0|    case EOpFunctionCall:
  ------------------
  |  Branch (1048:5): [True: 0, False: 4]
  ------------------
 1049|      0|    case EOpReturn:
  ------------------
  |  Branch (1049:5): [True: 0, False: 4]
  ------------------
 1050|      0|        break;
 1051|       |
 1052|      0|    case EOpMulAssign:
  ------------------
  |  Branch (1052:5): [True: 0, False: 4]
  ------------------
 1053|       |        // want to support vector *= scalar native ops in AST and lower, not smear, similarly for
 1054|       |        // matrix *= scalar, etc.
 1055|       |
 1056|      0|    case EOpAddAssign:
  ------------------
  |  Branch (1056:5): [True: 0, False: 4]
  ------------------
 1057|      0|    case EOpSubAssign:
  ------------------
  |  Branch (1057:5): [True: 0, False: 4]
  ------------------
 1058|      0|    case EOpDivAssign:
  ------------------
  |  Branch (1058:5): [True: 0, False: 4]
  ------------------
 1059|      0|    case EOpAndAssign:
  ------------------
  |  Branch (1059:5): [True: 0, False: 4]
  ------------------
 1060|      0|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (1060:5): [True: 0, False: 4]
  ------------------
 1061|      0|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (1061:5): [True: 0, False: 4]
  ------------------
 1062|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (1062:5): [True: 0, False: 4]
  ------------------
 1063|      0|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (1063:5): [True: 0, False: 4]
  ------------------
 1064|      0|        if (node->getVectorSize() == 1)
  ------------------
  |  Branch (1064:13): [True: 0, False: 0]
  ------------------
 1065|      0|            return node;
 1066|      0|        break;
 1067|       |
 1068|      0|    case EOpAssign:
  ------------------
  |  Branch (1068:5): [True: 0, False: 4]
  ------------------
 1069|      0|        break;
 1070|       |
 1071|      4|    case EOpMix:
  ------------------
  |  Branch (1071:5): [True: 4, False: 0]
  ------------------
 1072|      4|        break;
 1073|       |
 1074|      0|    default:
  ------------------
  |  Branch (1074:5): [True: 0, False: 4]
  ------------------
 1075|      0|        return node;
 1076|      4|    }
 1077|       |
 1078|      4|    return addShapeConversion(type, node);
 1079|      4|}
_ZN7glslang13TIntermediate20addBiShapeConversionENS_9TOperatorERPNS_12TIntermTypedES4_:
 1089|  1.13k|{
 1090|       |    // some source languages don't do this
 1091|  1.13k|    switch (getSource()) {
 1092|     10|    case EShSourceHlsl:
  ------------------
  |  Branch (1092:5): [True: 10, False: 1.12k]
  ------------------
 1093|     10|        break;
 1094|  1.12k|    case EShSourceGlsl:
  ------------------
  |  Branch (1094:5): [True: 1.12k, False: 10]
  ------------------
 1095|  1.12k|    default:
  ------------------
  |  Branch (1095:5): [True: 0, False: 1.13k]
  ------------------
 1096|  1.12k|        return;
 1097|  1.13k|    }
 1098|       |
 1099|       |    // some operations don't do this
 1100|       |    // 'break' will mean attempt bidirectional conversion
 1101|     10|    switch (op) {
 1102|      0|    case EOpMulAssign:
  ------------------
  |  Branch (1102:5): [True: 0, False: 10]
  ------------------
 1103|      0|    case EOpAssign:
  ------------------
  |  Branch (1103:5): [True: 0, False: 10]
  ------------------
 1104|      0|    case EOpAddAssign:
  ------------------
  |  Branch (1104:5): [True: 0, False: 10]
  ------------------
 1105|      0|    case EOpSubAssign:
  ------------------
  |  Branch (1105:5): [True: 0, False: 10]
  ------------------
 1106|      0|    case EOpDivAssign:
  ------------------
  |  Branch (1106:5): [True: 0, False: 10]
  ------------------
 1107|      0|    case EOpAndAssign:
  ------------------
  |  Branch (1107:5): [True: 0, False: 10]
  ------------------
 1108|      0|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (1108:5): [True: 0, False: 10]
  ------------------
 1109|      0|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (1109:5): [True: 0, False: 10]
  ------------------
 1110|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (1110:5): [True: 0, False: 10]
  ------------------
 1111|      0|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (1111:5): [True: 0, False: 10]
  ------------------
 1112|       |        // switch to unidirectional conversion (the lhs can't change)
 1113|      0|        rhsNode = addUniShapeConversion(op, lhsNode->getType(), rhsNode);
 1114|      0|        return;
 1115|       |
 1116|      0|    case EOpMul:
  ------------------
  |  Branch (1116:5): [True: 0, False: 10]
  ------------------
 1117|       |        // matrix multiply does not change shapes
 1118|      0|        if (lhsNode->isMatrix() && rhsNode->isMatrix())
  ------------------
  |  Branch (1118:13): [True: 0, False: 0]
  |  Branch (1118:36): [True: 0, False: 0]
  ------------------
 1119|      0|            return;
 1120|      0|        [[fallthrough]];
 1121|      2|    case EOpAdd:
  ------------------
  |  Branch (1121:5): [True: 2, False: 8]
  ------------------
 1122|      4|    case EOpSub:
  ------------------
  |  Branch (1122:5): [True: 2, False: 8]
  ------------------
 1123|      4|    case EOpDiv:
  ------------------
  |  Branch (1123:5): [True: 0, False: 10]
  ------------------
 1124|       |        // want to support vector * scalar native ops in AST and lower, not smear, similarly for
 1125|       |        // matrix * vector, etc.
 1126|      4|        if (lhsNode->getVectorSize() == 1 || rhsNode->getVectorSize() == 1)
  ------------------
  |  Branch (1126:13): [True: 4, False: 0]
  |  Branch (1126:46): [True: 0, False: 0]
  ------------------
 1127|      4|            return;
 1128|      0|        break;
 1129|       |
 1130|      0|    case EOpRightShift:
  ------------------
  |  Branch (1130:5): [True: 0, False: 10]
  ------------------
 1131|      0|    case EOpLeftShift:
  ------------------
  |  Branch (1131:5): [True: 0, False: 10]
  ------------------
 1132|       |        // can natively support the right operand being a scalar and the left a vector,
 1133|       |        // but not the reverse
 1134|      0|        if (rhsNode->getVectorSize() == 1)
  ------------------
  |  Branch (1134:13): [True: 0, False: 0]
  ------------------
 1135|      0|            return;
 1136|      0|        break;
 1137|       |
 1138|      0|    case EOpLessThan:
  ------------------
  |  Branch (1138:5): [True: 0, False: 10]
  ------------------
 1139|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (1139:5): [True: 0, False: 10]
  ------------------
 1140|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (1140:5): [True: 0, False: 10]
  ------------------
 1141|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (1141:5): [True: 0, False: 10]
  ------------------
 1142|       |
 1143|      0|    case EOpEqual:
  ------------------
  |  Branch (1143:5): [True: 0, False: 10]
  ------------------
 1144|      0|    case EOpNotEqual:
  ------------------
  |  Branch (1144:5): [True: 0, False: 10]
  ------------------
 1145|       |
 1146|      0|    case EOpLogicalAnd:
  ------------------
  |  Branch (1146:5): [True: 0, False: 10]
  ------------------
 1147|      0|    case EOpLogicalOr:
  ------------------
  |  Branch (1147:5): [True: 0, False: 10]
  ------------------
 1148|      0|    case EOpLogicalXor:
  ------------------
  |  Branch (1148:5): [True: 0, False: 10]
  ------------------
 1149|       |
 1150|      0|    case EOpAnd:
  ------------------
  |  Branch (1150:5): [True: 0, False: 10]
  ------------------
 1151|      0|    case EOpInclusiveOr:
  ------------------
  |  Branch (1151:5): [True: 0, False: 10]
  ------------------
 1152|      0|    case EOpExclusiveOr:
  ------------------
  |  Branch (1152:5): [True: 0, False: 10]
  ------------------
 1153|       |
 1154|      6|    case EOpMix:
  ------------------
  |  Branch (1154:5): [True: 6, False: 4]
  ------------------
 1155|      6|        break;
 1156|       |
 1157|      0|    default:
  ------------------
  |  Branch (1157:5): [True: 0, False: 10]
  ------------------
 1158|      0|        return;
 1159|     10|    }
 1160|       |
 1161|       |    // Do bidirectional conversions
 1162|      6|    if (lhsNode->getType().isScalarOrVec1() || rhsNode->getType().isScalarOrVec1()) {
  ------------------
  |  Branch (1162:9): [True: 6, False: 0]
  |  Branch (1162:48): [True: 0, False: 0]
  ------------------
 1163|      6|        if (lhsNode->getType().isScalarOrVec1())
  ------------------
  |  Branch (1163:13): [True: 6, False: 0]
  ------------------
 1164|      6|            lhsNode = addShapeConversion(rhsNode->getType(), lhsNode);
 1165|      0|        else
 1166|      0|            rhsNode = addShapeConversion(lhsNode->getType(), rhsNode);
 1167|      6|    }
 1168|      6|    lhsNode = addShapeConversion(rhsNode->getType(), lhsNode);
 1169|      6|    rhsNode = addShapeConversion(lhsNode->getType(), rhsNode);
 1170|      6|}
_ZN7glslang13TIntermediate18addShapeConversionERKNS_5TTypeEPNS_12TIntermTypedE:
 1182|     22|{
 1183|       |    // no conversion needed
 1184|     22|    if (node->getType() == type)
  ------------------
  |  Branch (1184:9): [True: 14, False: 8]
  ------------------
 1185|     14|        return node;
 1186|       |
 1187|       |    // structures and arrays don't change shape, either to or from
 1188|      8|    if (node->getType().isStruct() || node->getType().isArray() ||
  ------------------
  |  Branch (1188:9): [True: 0, False: 8]
  |  Branch (1188:39): [True: 0, False: 8]
  ------------------
 1189|      8|        type.isStruct() || type.isArray())
  ------------------
  |  Branch (1189:9): [True: 0, False: 8]
  |  Branch (1189:28): [True: 0, False: 8]
  ------------------
 1190|      0|        return node;
 1191|       |
 1192|       |    // The new node that handles the conversion
 1193|      8|    TOperator constructorOp = mapTypeToConstructorOp(type);
 1194|       |
 1195|      8|    if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (1195:9): [True: 8, False: 0]
  ------------------
 1196|       |        // HLSL rules for scalar, vector and matrix conversions:
 1197|       |        // 1) scalar can become anything, initializing every component with its value
 1198|       |        // 2) vector and matrix can become scalar, first element is used (warning: truncation)
 1199|       |        // 3) matrix can become matrix with less rows and/or columns (warning: truncation)
 1200|       |        // 4) vector can become vector with less rows size (warning: truncation)
 1201|       |        // 5a) vector 4 can become 2x2 matrix (special case) (same packing layout, its a reinterpret)
 1202|       |        // 5b) 2x2 matrix can become vector 4 (special case) (same packing layout, its a reinterpret)
 1203|       |
 1204|      8|        const TType &sourceType = node->getType();
 1205|       |
 1206|       |        // rule 1 for scalar to matrix is special
 1207|      8|        if (sourceType.isScalarOrVec1() && type.isMatrix()) {
  ------------------
  |  Branch (1207:13): [True: 8, False: 0]
  |  Branch (1207:44): [True: 0, False: 8]
  ------------------
 1208|       |
 1209|       |            // HLSL semantics: the scalar (or vec1) is replicated to every component of the matrix.  Left to its
 1210|       |            // own devices, the constructor from a scalar would populate the diagonal.  This forces replication
 1211|       |            // to every matrix element.
 1212|       |
 1213|       |            // Note that if the node is complex (e.g, a function call), we don't want to duplicate it here
 1214|       |            // repeatedly, so we copy it to a temp, then use the temp.
 1215|      0|            const int matSize = type.computeNumComponents();
 1216|      0|            TIntermAggregate* rhsAggregate = new TIntermAggregate();
 1217|       |
 1218|      0|            const bool isSimple = (node->getAsSymbolNode() != nullptr) || (node->getAsConstantUnion() != nullptr);
  ------------------
  |  Branch (1218:35): [True: 0, False: 0]
  |  Branch (1218:75): [True: 0, False: 0]
  ------------------
 1219|       |
 1220|      0|            if (!isSimple) {
  ------------------
  |  Branch (1220:17): [True: 0, False: 0]
  ------------------
 1221|      0|                assert(0); // TODO: use node replicator service when available.
 1222|      0|            }
 1223|       |
 1224|      0|            for (int x = 0; x < matSize; ++x)
  ------------------
  |  Branch (1224:29): [True: 0, False: 0]
  ------------------
 1225|      0|                rhsAggregate->getSequence().push_back(node);
 1226|       |
 1227|      0|            return setAggregateOperator(rhsAggregate, constructorOp, type, node->getLoc());
 1228|      0|        }
 1229|       |
 1230|       |        // rule 1 and 2
 1231|      8|        if ((sourceType.isScalar() && !type.isScalar()) || (!sourceType.isScalar() && type.isScalar()))
  ------------------
  |  Branch (1231:14): [True: 8, False: 0]
  |  Branch (1231:39): [True: 8, False: 0]
  |  Branch (1231:61): [True: 0, False: 0]
  |  Branch (1231:87): [True: 0, False: 0]
  ------------------
 1232|      8|            return setAggregateOperator(makeAggregate(node), constructorOp, type, node->getLoc());
 1233|       |
 1234|       |        // rule 3 and 5b
 1235|      0|        if (sourceType.isMatrix()) {
  ------------------
  |  Branch (1235:13): [True: 0, False: 0]
  ------------------
 1236|       |            // rule 3
 1237|      0|            if (type.isMatrix()) {
  ------------------
  |  Branch (1237:17): [True: 0, False: 0]
  ------------------
 1238|      0|                if ((sourceType.getMatrixCols() != type.getMatrixCols() || sourceType.getMatrixRows() != type.getMatrixRows()) &&
  ------------------
  |  Branch (1238:22): [True: 0, False: 0]
  |  Branch (1238:76): [True: 0, False: 0]
  ------------------
 1239|      0|                    sourceType.getMatrixCols() >= type.getMatrixCols() && sourceType.getMatrixRows() >= type.getMatrixRows())
  ------------------
  |  Branch (1239:21): [True: 0, False: 0]
  |  Branch (1239:75): [True: 0, False: 0]
  ------------------
 1240|      0|                    return setAggregateOperator(makeAggregate(node), constructorOp, type, node->getLoc());
 1241|       |            // rule 5b
 1242|      0|            } else if (type.isVector()) {
  ------------------
  |  Branch (1242:24): [True: 0, False: 0]
  ------------------
 1243|      0|                if (type.getVectorSize() == 4 && sourceType.getMatrixCols() == 2 && sourceType.getMatrixRows() == 2)
  ------------------
  |  Branch (1243:21): [True: 0, False: 0]
  |  Branch (1243:50): [True: 0, False: 0]
  |  Branch (1243:85): [True: 0, False: 0]
  ------------------
 1244|      0|                    return setAggregateOperator(makeAggregate(node), constructorOp, type, node->getLoc());
 1245|      0|            }
 1246|      0|        }
 1247|       |
 1248|       |        // rule 4 and 5a
 1249|      0|        if (sourceType.isVector()) {
  ------------------
  |  Branch (1249:13): [True: 0, False: 0]
  ------------------
 1250|       |            // rule 4
 1251|      0|            if (type.isVector())
  ------------------
  |  Branch (1251:17): [True: 0, False: 0]
  ------------------
 1252|      0|            {
 1253|      0|                if (sourceType.getVectorSize() > type.getVectorSize())
  ------------------
  |  Branch (1253:21): [True: 0, False: 0]
  ------------------
 1254|      0|                    return setAggregateOperator(makeAggregate(node), constructorOp, type, node->getLoc());
 1255|       |            // rule 5a
 1256|      0|            } else if (type.isMatrix()) {
  ------------------
  |  Branch (1256:24): [True: 0, False: 0]
  ------------------
 1257|      0|                if (sourceType.getVectorSize() == 4 && type.getMatrixCols() == 2 && type.getMatrixRows() == 2)
  ------------------
  |  Branch (1257:21): [True: 0, False: 0]
  |  Branch (1257:56): [True: 0, False: 0]
  |  Branch (1257:85): [True: 0, False: 0]
  ------------------
 1258|      0|                    return setAggregateOperator(makeAggregate(node), constructorOp, type, node->getLoc());
 1259|      0|            }
 1260|      0|        }
 1261|      0|    }
 1262|       |
 1263|       |    // scalar -> vector or vec1 -> vector or
 1264|       |    // vector -> scalar or
 1265|       |    // bigger vector -> smaller vector
 1266|      0|    if ((node->getType().isScalarOrVec1() && type.isVector()) ||
  ------------------
  |  Branch (1266:10): [True: 0, False: 0]
  |  Branch (1266:46): [True: 0, False: 0]
  ------------------
 1267|      0|        (node->getType().isVector() && type.isScalar()) ||
  ------------------
  |  Branch (1267:10): [True: 0, False: 0]
  |  Branch (1267:40): [True: 0, False: 0]
  ------------------
 1268|      0|        (node->isVector() && type.isVector() && node->getVectorSize() > type.getVectorSize()))
  ------------------
  |  Branch (1268:10): [True: 0, False: 0]
  |  Branch (1268:30): [True: 0, False: 0]
  |  Branch (1268:49): [True: 0, False: 0]
  ------------------
 1269|      0|        return setAggregateOperator(makeAggregate(node), constructorOp, type, node->getLoc());
 1270|       |
 1271|      0|    return node;
 1272|      0|}
_ZNK7glslang13TIntermediate19isIntegralPromotionENS_10TBasicTypeES1_:
 1275|    927|{
 1276|       |    // integral promotions
 1277|    927|    if (to == EbtInt) {
  ------------------
  |  Branch (1277:9): [True: 20, False: 907]
  ------------------
 1278|     20|        switch(from) {
 1279|      0|        case EbtInt8:
  ------------------
  |  Branch (1279:9): [True: 0, False: 20]
  ------------------
 1280|      0|        case EbtInt16:
  ------------------
  |  Branch (1280:9): [True: 0, False: 20]
  ------------------
 1281|      0|        case EbtUint8:
  ------------------
  |  Branch (1281:9): [True: 0, False: 20]
  ------------------
 1282|      0|        case EbtUint16:
  ------------------
  |  Branch (1282:9): [True: 0, False: 20]
  ------------------
 1283|      0|            return true;
 1284|     20|        default:
  ------------------
  |  Branch (1284:9): [True: 20, False: 0]
  ------------------
 1285|     20|            break;
 1286|     20|        }
 1287|     20|    }
 1288|    927|    return false;
 1289|    927|}
_ZNK7glslang13TIntermediate13isFPPromotionENS_10TBasicTypeES1_:
 1292|    927|{
 1293|       |    // floating-point promotions
 1294|    927|    if (to == EbtDouble) {
  ------------------
  |  Branch (1294:9): [True: 0, False: 927]
  ------------------
 1295|      0|        switch(from) {
 1296|      0|        case EbtBFloat16:
  ------------------
  |  Branch (1296:9): [True: 0, False: 0]
  ------------------
 1297|      0|        case EbtFloatE5M2:
  ------------------
  |  Branch (1297:9): [True: 0, False: 0]
  ------------------
 1298|      0|        case EbtFloatE4M3:
  ------------------
  |  Branch (1298:9): [True: 0, False: 0]
  ------------------
 1299|      0|        case EbtFloat16:
  ------------------
  |  Branch (1299:9): [True: 0, False: 0]
  ------------------
 1300|      0|        case EbtFloat:
  ------------------
  |  Branch (1300:9): [True: 0, False: 0]
  ------------------
 1301|      0|            return true;
 1302|      0|        default:
  ------------------
  |  Branch (1302:9): [True: 0, False: 0]
  ------------------
 1303|      0|            break;
 1304|      0|        }
 1305|      0|    }
 1306|    927|    return false;
 1307|    927|}
_ZNK7glslang13TIntermediate20isIntegralConversionENS_10TBasicTypeES1_:
 1310|    927|{
 1311|    927|    switch (from) {
 1312|    907|    case EbtInt:
  ------------------
  |  Branch (1312:5): [True: 907, False: 20]
  ------------------
 1313|    907|        switch(to) {
 1314|    866|        case EbtUint:
  ------------------
  |  Branch (1314:9): [True: 866, False: 41]
  ------------------
 1315|    866|            return version >= 400 || getSource() == EShSourceHlsl;
  ------------------
  |  Branch (1315:20): [True: 866, False: 0]
  |  Branch (1315:38): [True: 0, False: 0]
  ------------------
 1316|      0|        case EbtInt64:
  ------------------
  |  Branch (1316:9): [True: 0, False: 907]
  ------------------
 1317|      0|        case EbtUint64:
  ------------------
  |  Branch (1317:9): [True: 0, False: 907]
  ------------------
 1318|      0|            return true;
 1319|     41|        default:
  ------------------
  |  Branch (1319:9): [True: 41, False: 866]
  ------------------
 1320|     41|            break;
 1321|    907|        }
 1322|     41|        break;
 1323|     41|    case EbtUint:
  ------------------
  |  Branch (1323:5): [True: 20, False: 907]
  ------------------
 1324|     20|        switch(to) {
 1325|      0|        case EbtInt64:
  ------------------
  |  Branch (1325:9): [True: 0, False: 20]
  ------------------
 1326|      0|        case EbtUint64:
  ------------------
  |  Branch (1326:9): [True: 0, False: 20]
  ------------------
 1327|      0|            return true;
 1328|     20|        default:
  ------------------
  |  Branch (1328:9): [True: 20, False: 0]
  ------------------
 1329|     20|            break;
 1330|     20|        }
 1331|     20|        break;
 1332|     20|    case EbtInt8:
  ------------------
  |  Branch (1332:5): [True: 0, False: 927]
  ------------------
 1333|      0|        switch (to) {
 1334|      0|        case EbtUint8:
  ------------------
  |  Branch (1334:9): [True: 0, False: 0]
  ------------------
 1335|      0|        case EbtInt16:
  ------------------
  |  Branch (1335:9): [True: 0, False: 0]
  ------------------
 1336|      0|        case EbtUint16:
  ------------------
  |  Branch (1336:9): [True: 0, False: 0]
  ------------------
 1337|      0|        case EbtUint:
  ------------------
  |  Branch (1337:9): [True: 0, False: 0]
  ------------------
 1338|      0|        case EbtInt64:
  ------------------
  |  Branch (1338:9): [True: 0, False: 0]
  ------------------
 1339|      0|        case EbtUint64:
  ------------------
  |  Branch (1339:9): [True: 0, False: 0]
  ------------------
 1340|      0|            return true;
 1341|      0|        default:
  ------------------
  |  Branch (1341:9): [True: 0, False: 0]
  ------------------
 1342|      0|            break;
 1343|      0|        }
 1344|      0|        break;
 1345|      0|    case EbtUint8:
  ------------------
  |  Branch (1345:5): [True: 0, False: 927]
  ------------------
 1346|      0|        switch (to) {
 1347|      0|        case EbtInt16:
  ------------------
  |  Branch (1347:9): [True: 0, False: 0]
  ------------------
 1348|      0|        case EbtUint16:
  ------------------
  |  Branch (1348:9): [True: 0, False: 0]
  ------------------
 1349|      0|        case EbtUint:
  ------------------
  |  Branch (1349:9): [True: 0, False: 0]
  ------------------
 1350|      0|        case EbtInt64:
  ------------------
  |  Branch (1350:9): [True: 0, False: 0]
  ------------------
 1351|      0|        case EbtUint64:
  ------------------
  |  Branch (1351:9): [True: 0, False: 0]
  ------------------
 1352|      0|            return true;
 1353|      0|        default:
  ------------------
  |  Branch (1353:9): [True: 0, False: 0]
  ------------------
 1354|      0|            break;
 1355|      0|        }
 1356|      0|        break;
 1357|      0|    case EbtInt16:
  ------------------
  |  Branch (1357:5): [True: 0, False: 927]
  ------------------
 1358|      0|        switch(to) {
 1359|      0|        case EbtUint16:
  ------------------
  |  Branch (1359:9): [True: 0, False: 0]
  ------------------
 1360|      0|        case EbtUint:
  ------------------
  |  Branch (1360:9): [True: 0, False: 0]
  ------------------
 1361|      0|        case EbtInt64:
  ------------------
  |  Branch (1361:9): [True: 0, False: 0]
  ------------------
 1362|      0|        case EbtUint64:
  ------------------
  |  Branch (1362:9): [True: 0, False: 0]
  ------------------
 1363|      0|            return true;
 1364|      0|        default:
  ------------------
  |  Branch (1364:9): [True: 0, False: 0]
  ------------------
 1365|      0|            break;
 1366|      0|        }
 1367|      0|        break;
 1368|      0|    case EbtUint16:
  ------------------
  |  Branch (1368:5): [True: 0, False: 927]
  ------------------
 1369|      0|        switch(to) {
 1370|      0|        case EbtUint:
  ------------------
  |  Branch (1370:9): [True: 0, False: 0]
  ------------------
 1371|      0|        case EbtInt64:
  ------------------
  |  Branch (1371:9): [True: 0, False: 0]
  ------------------
 1372|      0|        case EbtUint64:
  ------------------
  |  Branch (1372:9): [True: 0, False: 0]
  ------------------
 1373|      0|            return true;
 1374|      0|        default:
  ------------------
  |  Branch (1374:9): [True: 0, False: 0]
  ------------------
 1375|      0|            break;
 1376|      0|        }
 1377|      0|        break;
 1378|      0|    case EbtInt64:
  ------------------
  |  Branch (1378:5): [True: 0, False: 927]
  ------------------
 1379|      0|        if (to == EbtUint64) {
  ------------------
  |  Branch (1379:13): [True: 0, False: 0]
  ------------------
 1380|      0|            return true;
 1381|      0|        }
 1382|      0|        break;
 1383|      0|    default:
  ------------------
  |  Branch (1383:5): [True: 0, False: 927]
  ------------------
 1384|      0|        break;
 1385|    927|    }
 1386|     61|    return false;
 1387|    927|}
_ZNK7glslang13TIntermediate14isFPConversionENS_10TBasicTypeES1_:
 1390|     61|{
 1391|     61|    if (to == EbtFloat && (from == EbtFloat16 || from == EbtBFloat16 || from == EbtFloatE5M2 || from == EbtFloatE4M3)) {
  ------------------
  |  Branch (1391:9): [True: 41, False: 20]
  |  Branch (1391:28): [True: 0, False: 41]
  |  Branch (1391:50): [True: 0, False: 41]
  |  Branch (1391:73): [True: 0, False: 41]
  |  Branch (1391:97): [True: 0, False: 41]
  ------------------
 1392|      0|        return true;
 1393|     61|    } else {
 1394|     61|        return false;
 1395|     61|    }
 1396|     61|}
_ZNK7glslang13TIntermediate22isFPIntegralConversionENS_10TBasicTypeES1_:
 1399|     61|{
 1400|     61|    switch (from) {
 1401|     41|    case EbtInt:
  ------------------
  |  Branch (1401:5): [True: 41, False: 20]
  ------------------
 1402|     61|    case EbtUint:
  ------------------
  |  Branch (1402:5): [True: 20, False: 41]
  ------------------
 1403|     61|        switch(to) {
 1404|     41|        case EbtFloat:
  ------------------
  |  Branch (1404:9): [True: 41, False: 20]
  ------------------
 1405|     41|        case EbtDouble:
  ------------------
  |  Branch (1405:9): [True: 0, False: 61]
  ------------------
 1406|     41|            return true;
 1407|     20|        default:
  ------------------
  |  Branch (1407:9): [True: 20, False: 41]
  ------------------
 1408|     20|            break;
 1409|     61|        }
 1410|     20|        break;
 1411|     20|    case EbtInt8:
  ------------------
  |  Branch (1411:5): [True: 0, False: 61]
  ------------------
 1412|      0|    case EbtUint8:
  ------------------
  |  Branch (1412:5): [True: 0, False: 61]
  ------------------
 1413|      0|    case EbtInt16:
  ------------------
  |  Branch (1413:5): [True: 0, False: 61]
  ------------------
 1414|      0|    case EbtUint16:
  ------------------
  |  Branch (1414:5): [True: 0, False: 61]
  ------------------
 1415|      0|        switch (to) {
 1416|      0|        case EbtFloat16:
  ------------------
  |  Branch (1416:9): [True: 0, False: 0]
  ------------------
 1417|      0|        case EbtFloat:
  ------------------
  |  Branch (1417:9): [True: 0, False: 0]
  ------------------
 1418|      0|        case EbtDouble:
  ------------------
  |  Branch (1418:9): [True: 0, False: 0]
  ------------------
 1419|      0|            return true;
 1420|      0|        default:
  ------------------
  |  Branch (1420:9): [True: 0, False: 0]
  ------------------
 1421|      0|            break;
 1422|      0|        }
 1423|      0|        break;
 1424|      0|    case EbtInt64:
  ------------------
  |  Branch (1424:5): [True: 0, False: 61]
  ------------------
 1425|      0|    case EbtUint64:
  ------------------
  |  Branch (1425:5): [True: 0, False: 61]
  ------------------
 1426|      0|        if (to == EbtDouble) {
  ------------------
  |  Branch (1426:13): [True: 0, False: 0]
  ------------------
 1427|      0|            return true;
 1428|      0|        }
 1429|      0|        break;
 1430|      0|    default:
  ------------------
  |  Branch (1430:5): [True: 0, False: 61]
  ------------------
 1431|      0|        break;
 1432|     61|    }
 1433|     20|    return false;
 1434|     61|}
_ZNK7glslang13TIntermediate20canImplicitlyPromoteENS_10TBasicTypeES1_NS_9TOperatorE:
 1441|    959|{
 1442|    959|    if ((isEsProfile() && version < 310 ) || version == 110)
  ------------------
  |  Branch (1442:10): [True: 0, False: 959]
  |  Branch (1442:27): [True: 0, False: 0]
  |  Branch (1442:46): [True: 0, False: 959]
  ------------------
 1443|      0|        return false;
 1444|       |
 1445|    959|    if (from == to)
  ------------------
  |  Branch (1445:9): [True: 0, False: 959]
  ------------------
 1446|      0|        return true;
 1447|       |
 1448|       |    // TODO: Move more policies into language-specific handlers.
 1449|       |    // Some languages allow more general (or potentially, more specific) conversions under some conditions.
 1450|    959|    if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (1450:9): [True: 32, False: 927]
  ------------------
 1451|     32|        const bool fromConvertable = (from == EbtFloat || from == EbtDouble || from == EbtInt || from == EbtUint || from == EbtBool);
  ------------------
  |  Branch (1451:39): [True: 0, False: 32]
  |  Branch (1451:59): [True: 0, False: 32]
  |  Branch (1451:80): [True: 18, False: 14]
  |  Branch (1451:98): [True: 10, False: 4]
  |  Branch (1451:117): [True: 4, False: 0]
  ------------------
 1452|     32|        const bool toConvertable = (to == EbtFloat || to == EbtDouble || to == EbtInt || to == EbtUint || to == EbtBool);
  ------------------
  |  Branch (1452:37): [True: 0, False: 32]
  |  Branch (1452:55): [True: 0, False: 32]
  |  Branch (1452:74): [True: 10, False: 22]
  |  Branch (1452:90): [True: 10, False: 12]
  |  Branch (1452:107): [True: 12, False: 0]
  ------------------
 1453|       |
 1454|     32|        if (fromConvertable && toConvertable) {
  ------------------
  |  Branch (1454:13): [True: 32, False: 0]
  |  Branch (1454:32): [True: 32, False: 0]
  ------------------
 1455|     32|            switch (op) {
 1456|      0|            case EOpAndAssign:               // assignments can perform arbitrary conversions
  ------------------
  |  Branch (1456:13): [True: 0, False: 32]
  ------------------
 1457|      0|            case EOpInclusiveOrAssign:       // ...
  ------------------
  |  Branch (1457:13): [True: 0, False: 32]
  ------------------
 1458|      0|            case EOpExclusiveOrAssign:       // ...
  ------------------
  |  Branch (1458:13): [True: 0, False: 32]
  ------------------
 1459|      0|            case EOpAssign:                  // ...
  ------------------
  |  Branch (1459:13): [True: 0, False: 32]
  ------------------
 1460|      0|            case EOpAddAssign:               // ...
  ------------------
  |  Branch (1460:13): [True: 0, False: 32]
  ------------------
 1461|      0|            case EOpSubAssign:               // ...
  ------------------
  |  Branch (1461:13): [True: 0, False: 32]
  ------------------
 1462|      0|            case EOpMulAssign:               // ...
  ------------------
  |  Branch (1462:13): [True: 0, False: 32]
  ------------------
 1463|      0|            case EOpVectorTimesScalarAssign: // ...
  ------------------
  |  Branch (1463:13): [True: 0, False: 32]
  ------------------
 1464|      0|            case EOpMatrixTimesScalarAssign: // ...
  ------------------
  |  Branch (1464:13): [True: 0, False: 32]
  ------------------
 1465|      0|            case EOpDivAssign:               // ...
  ------------------
  |  Branch (1465:13): [True: 0, False: 32]
  ------------------
 1466|      0|            case EOpModAssign:               // ...
  ------------------
  |  Branch (1466:13): [True: 0, False: 32]
  ------------------
 1467|      0|            case EOpReturn:                  // function returns can also perform arbitrary conversions
  ------------------
  |  Branch (1467:13): [True: 0, False: 32]
  ------------------
 1468|      0|            case EOpFunctionCall:            // conversion of a calling parameter
  ------------------
  |  Branch (1468:13): [True: 0, False: 32]
  ------------------
 1469|      8|            case EOpLogicalNot:
  ------------------
  |  Branch (1469:13): [True: 8, False: 24]
  ------------------
 1470|      8|            case EOpLogicalAnd:
  ------------------
  |  Branch (1470:13): [True: 0, False: 32]
  ------------------
 1471|      8|            case EOpLogicalOr:
  ------------------
  |  Branch (1471:13): [True: 0, False: 32]
  ------------------
 1472|      8|            case EOpLogicalXor:
  ------------------
  |  Branch (1472:13): [True: 0, False: 32]
  ------------------
 1473|      8|            case EOpConstructStruct:
  ------------------
  |  Branch (1473:13): [True: 0, False: 32]
  ------------------
 1474|      8|                return true;
 1475|     24|            default:
  ------------------
  |  Branch (1475:13): [True: 24, False: 8]
  ------------------
 1476|     24|                break;
 1477|     32|            }
 1478|     32|        }
 1479|     32|    }
 1480|       |
 1481|    951|    if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (1481:9): [True: 24, False: 927]
  ------------------
 1482|       |        // HLSL
 1483|     24|        if (from == EbtBool && (to == EbtInt || to == EbtUint || to == EbtFloat))
  ------------------
  |  Branch (1483:13): [True: 4, False: 20]
  |  Branch (1483:33): [True: 2, False: 2]
  |  Branch (1483:49): [True: 2, False: 0]
  |  Branch (1483:66): [True: 0, False: 0]
  ------------------
 1484|      4|            return true;
 1485|    927|    } else {
 1486|       |        // GLSL
 1487|    927|        if (isIntegralPromotion(from, to) ||
  ------------------
  |  Branch (1487:13): [True: 0, False: 927]
  ------------------
 1488|    927|            isFPPromotion(from, to) ||
  ------------------
  |  Branch (1488:13): [True: 0, False: 927]
  ------------------
 1489|    927|            isIntegralConversion(from, to) ||
  ------------------
  |  Branch (1489:13): [True: 866, False: 61]
  ------------------
 1490|     61|            isFPConversion(from, to) ||
  ------------------
  |  Branch (1490:13): [True: 0, False: 61]
  ------------------
 1491|    907|            isFPIntegralConversion(from, to)) {
  ------------------
  |  Branch (1491:13): [True: 41, False: 20]
  ------------------
 1492|       |
 1493|    907|            if (numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1493:17): [True: 0, False: 907]
  ------------------
 1494|    907|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int8) ||
  ------------------
  |  Branch (1494:17): [True: 0, False: 907]
  ------------------
 1495|    907|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int16) ||
  ------------------
  |  Branch (1495:17): [True: 0, False: 907]
  ------------------
 1496|    907|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int32) ||
  ------------------
  |  Branch (1496:17): [True: 0, False: 907]
  ------------------
 1497|    907|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int64) ||
  ------------------
  |  Branch (1497:17): [True: 0, False: 907]
  ------------------
 1498|    907|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_float16) ||
  ------------------
  |  Branch (1498:17): [True: 0, False: 907]
  ------------------
 1499|    907|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_float32) ||
  ------------------
  |  Branch (1499:17): [True: 0, False: 907]
  ------------------
 1500|    907|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_float64)) {
  ------------------
  |  Branch (1500:17): [True: 0, False: 907]
  ------------------
 1501|      0|                return true;
 1502|      0|            }
 1503|    907|        }
 1504|    927|    }
 1505|       |
 1506|    947|    if (isEsProfile()) {
  ------------------
  |  Branch (1506:9): [True: 0, False: 947]
  ------------------
 1507|      0|        switch (to) {
 1508|      0|            case EbtFloat:
  ------------------
  |  Branch (1508:13): [True: 0, False: 0]
  ------------------
 1509|      0|                switch (from) {
 1510|      0|                case EbtInt:
  ------------------
  |  Branch (1510:17): [True: 0, False: 0]
  ------------------
 1511|      0|                case EbtUint:
  ------------------
  |  Branch (1511:17): [True: 0, False: 0]
  ------------------
 1512|      0|                    return numericFeatures.contains(TNumericFeatures::shader_implicit_conversions);
 1513|      0|                default:
  ------------------
  |  Branch (1513:17): [True: 0, False: 0]
  ------------------
 1514|      0|                    return false;
 1515|      0|                }
 1516|      0|            case EbtUint:
  ------------------
  |  Branch (1516:13): [True: 0, False: 0]
  ------------------
 1517|      0|                switch (from) {
 1518|      0|                case EbtInt:
  ------------------
  |  Branch (1518:17): [True: 0, False: 0]
  ------------------
 1519|      0|                    return numericFeatures.contains(TNumericFeatures::shader_implicit_conversions);
 1520|      0|                default:
  ------------------
  |  Branch (1520:17): [True: 0, False: 0]
  ------------------
 1521|      0|                    return false;
 1522|      0|                }
 1523|      0|            default:
  ------------------
  |  Branch (1523:13): [True: 0, False: 0]
  ------------------
 1524|      0|                return false;
 1525|      0|        }        
 1526|    947|    } else {
 1527|    947|        switch (to) {
 1528|      0|        case EbtDouble:
  ------------------
  |  Branch (1528:9): [True: 0, False: 947]
  ------------------
 1529|      0|            switch (from) {
 1530|      0|            case EbtInt:
  ------------------
  |  Branch (1530:13): [True: 0, False: 0]
  ------------------
 1531|      0|            case EbtUint:
  ------------------
  |  Branch (1531:13): [True: 0, False: 0]
  ------------------
 1532|      0|            case EbtInt64:
  ------------------
  |  Branch (1532:13): [True: 0, False: 0]
  ------------------
 1533|      0|            case EbtUint64:
  ------------------
  |  Branch (1533:13): [True: 0, False: 0]
  ------------------
 1534|      0|            case EbtFloat:
  ------------------
  |  Branch (1534:13): [True: 0, False: 0]
  ------------------
 1535|      0|                return version >= 400 || numericFeatures.contains(TNumericFeatures::gpu_shader_fp64);
  ------------------
  |  Branch (1535:24): [True: 0, False: 0]
  |  Branch (1535:42): [True: 0, False: 0]
  ------------------
 1536|      0|            case EbtInt16:
  ------------------
  |  Branch (1536:13): [True: 0, False: 0]
  ------------------
 1537|      0|            case EbtUint16:
  ------------------
  |  Branch (1537:13): [True: 0, False: 0]
  ------------------
 1538|      0|                return (version >= 400 || numericFeatures.contains(TNumericFeatures::gpu_shader_fp64)) &&
  ------------------
  |  Branch (1538:25): [True: 0, False: 0]
  |  Branch (1538:43): [True: 0, False: 0]
  ------------------
 1539|      0|                                         (numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types) || 
  ------------------
  |  Branch (1539:43): [True: 0, False: 0]
  ------------------
 1540|      0|                                          numericFeatures.contains(TNumericFeatures::gpu_shader_int16));
  ------------------
  |  Branch (1540:43): [True: 0, False: 0]
  ------------------
 1541|      0|            case EbtFloat16:
  ------------------
  |  Branch (1541:13): [True: 0, False: 0]
  ------------------
 1542|      0|                return (version >= 400 || numericFeatures.contains(TNumericFeatures::gpu_shader_fp64)) &&
  ------------------
  |  Branch (1542:25): [True: 0, False: 0]
  |  Branch (1542:43): [True: 0, False: 0]
  ------------------
 1543|      0|                                        (numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types) || 
  ------------------
  |  Branch (1543:42): [True: 0, False: 0]
  ------------------
 1544|      0|                                        numericFeatures.contains(TNumericFeatures::gpu_shader_half_float));
  ------------------
  |  Branch (1544:41): [True: 0, False: 0]
  ------------------
 1545|      0|            case EbtBFloat16:
  ------------------
  |  Branch (1545:13): [True: 0, False: 0]
  ------------------
 1546|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (1546:13): [True: 0, False: 0]
  ------------------
 1547|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (1547:13): [True: 0, False: 0]
  ------------------
 1548|      0|                return true;
 1549|      0|            case EbtInt8:
  ------------------
  |  Branch (1549:13): [True: 0, False: 0]
  ------------------
 1550|      0|            case EbtUint8:
  ------------------
  |  Branch (1550:13): [True: 0, False: 0]
  ------------------
 1551|      0|                return numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
 1552|      0|            default:
  ------------------
  |  Branch (1552:13): [True: 0, False: 0]
  ------------------
 1553|      0|                return false;
 1554|      0|           }
 1555|     41|        case EbtFloat:
  ------------------
  |  Branch (1555:9): [True: 41, False: 906]
  ------------------
 1556|     41|            switch (from) {
 1557|     41|            case EbtInt:
  ------------------
  |  Branch (1557:13): [True: 41, False: 0]
  ------------------
 1558|     41|            case EbtUint:
  ------------------
  |  Branch (1558:13): [True: 0, False: 41]
  ------------------
 1559|     41|                 return true;
 1560|      0|            case EbtBool:
  ------------------
  |  Branch (1560:13): [True: 0, False: 41]
  ------------------
 1561|      0|                 return getSource() == EShSourceHlsl;
 1562|      0|            case EbtInt16:
  ------------------
  |  Branch (1562:13): [True: 0, False: 41]
  ------------------
 1563|      0|            case EbtUint16:
  ------------------
  |  Branch (1563:13): [True: 0, False: 41]
  ------------------
 1564|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_int16) ||
  ------------------
  |  Branch (1564:24): [True: 0, False: 0]
  ------------------
 1565|      0|                       numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
  ------------------
  |  Branch (1565:24): [True: 0, False: 0]
  ------------------
 1566|      0|            case EbtFloat16:
  ------------------
  |  Branch (1566:13): [True: 0, False: 41]
  ------------------
 1567|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_half_float) ||
  ------------------
  |  Branch (1567:24): [True: 0, False: 0]
  ------------------
 1568|      0|                    numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types) ||
  ------------------
  |  Branch (1568:21): [True: 0, False: 0]
  ------------------
 1569|      0|                    getSource() == EShSourceHlsl;
  ------------------
  |  Branch (1569:21): [True: 0, False: 0]
  ------------------
 1570|      0|            case EbtBFloat16:
  ------------------
  |  Branch (1570:13): [True: 0, False: 41]
  ------------------
 1571|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (1571:13): [True: 0, False: 41]
  ------------------
 1572|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (1572:13): [True: 0, False: 41]
  ------------------
 1573|      0|                return true;
 1574|      0|            case EbtInt8:
  ------------------
  |  Branch (1574:13): [True: 0, False: 41]
  ------------------
 1575|      0|            case EbtUint8:
  ------------------
  |  Branch (1575:13): [True: 0, False: 41]
  ------------------
 1576|      0|                return numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
 1577|      0|            default:
  ------------------
  |  Branch (1577:13): [True: 0, False: 41]
  ------------------
 1578|      0|                 return false;
 1579|     41|            }
 1580|    874|        case EbtUint:
  ------------------
  |  Branch (1580:9): [True: 874, False: 73]
  ------------------
 1581|    874|            switch (from) {
 1582|    874|            case EbtInt:
  ------------------
  |  Branch (1582:13): [True: 874, False: 0]
  ------------------
 1583|    874|                return version >= 400 || getSource() == EShSourceHlsl || 
  ------------------
  |  Branch (1583:24): [True: 874, False: 0]
  |  Branch (1583:42): [True: 0, False: 0]
  ------------------
 1584|      0|						IsRequestedExtension(E_GL_ARB_gpu_shader5) ||
  ------------------
  |  Branch (1584:7): [True: 0, False: 0]
  ------------------
 1585|      0|						numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
  ------------------
  |  Branch (1585:7): [True: 0, False: 0]
  ------------------
 1586|      0|            case EbtBool:
  ------------------
  |  Branch (1586:13): [True: 0, False: 874]
  ------------------
 1587|      0|                return getSource() == EShSourceHlsl;
 1588|      0|            case EbtInt16:
  ------------------
  |  Branch (1588:13): [True: 0, False: 874]
  ------------------
 1589|      0|            case EbtUint16:
  ------------------
  |  Branch (1589:13): [True: 0, False: 874]
  ------------------
 1590|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_int16) ||
  ------------------
  |  Branch (1590:24): [True: 0, False: 0]
  ------------------
 1591|      0|                       numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
  ------------------
  |  Branch (1591:24): [True: 0, False: 0]
  ------------------
 1592|      0|            case EbtInt8:
  ------------------
  |  Branch (1592:13): [True: 0, False: 874]
  ------------------
 1593|      0|            case EbtUint8:
  ------------------
  |  Branch (1593:13): [True: 0, False: 874]
  ------------------
 1594|      0|                return numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
 1595|      0|            default:
  ------------------
  |  Branch (1595:13): [True: 0, False: 874]
  ------------------
 1596|      0|                return false;
 1597|    874|            }
 1598|     28|        case EbtInt:
  ------------------
  |  Branch (1598:9): [True: 28, False: 919]
  ------------------
 1599|     28|            switch (from) {
 1600|      0|            case EbtBool:
  ------------------
  |  Branch (1600:13): [True: 0, False: 28]
  ------------------
 1601|      0|                return getSource() == EShSourceHlsl;
 1602|      0|            case EbtInt16:
  ------------------
  |  Branch (1602:13): [True: 0, False: 28]
  ------------------
 1603|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_int16) ||
  ------------------
  |  Branch (1603:24): [True: 0, False: 0]
  ------------------
 1604|      0|                       numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
  ------------------
  |  Branch (1604:24): [True: 0, False: 0]
  ------------------
 1605|      0|            case EbtInt8:
  ------------------
  |  Branch (1605:13): [True: 0, False: 28]
  ------------------
 1606|      0|                return numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
 1607|     28|            default:
  ------------------
  |  Branch (1607:13): [True: 28, False: 0]
  ------------------
 1608|     28|                return false;
 1609|     28|            }
 1610|      0|        case EbtUint64:
  ------------------
  |  Branch (1610:9): [True: 0, False: 947]
  ------------------
 1611|      0|            switch (from) {
 1612|      0|            case EbtInt:
  ------------------
  |  Branch (1612:13): [True: 0, False: 0]
  ------------------
 1613|      0|            case EbtUint:
  ------------------
  |  Branch (1613:13): [True: 0, False: 0]
  ------------------
 1614|      0|            case EbtInt64:
  ------------------
  |  Branch (1614:13): [True: 0, False: 0]
  ------------------
 1615|      0|                return true;
 1616|      0|            case EbtInt16:
  ------------------
  |  Branch (1616:13): [True: 0, False: 0]
  ------------------
 1617|      0|            case EbtUint16:
  ------------------
  |  Branch (1617:13): [True: 0, False: 0]
  ------------------
 1618|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_int16) ||
  ------------------
  |  Branch (1618:24): [True: 0, False: 0]
  ------------------
 1619|      0|                	numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
  ------------------
  |  Branch (1619:18): [True: 0, False: 0]
  ------------------
 1620|      0|            case EbtInt8:
  ------------------
  |  Branch (1620:13): [True: 0, False: 0]
  ------------------
 1621|      0|            case EbtUint8:
  ------------------
  |  Branch (1621:13): [True: 0, False: 0]
  ------------------
 1622|      0|                return numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
 1623|      0|            default:
  ------------------
  |  Branch (1623:13): [True: 0, False: 0]
  ------------------
 1624|      0|                return false;
 1625|      0|            }
 1626|      0|        case EbtInt64:
  ------------------
  |  Branch (1626:9): [True: 0, False: 947]
  ------------------
 1627|      0|            switch (from) {
 1628|      0|            case EbtInt:
  ------------------
  |  Branch (1628:13): [True: 0, False: 0]
  ------------------
 1629|      0|                return true;
 1630|      0|            case EbtInt8:
  ------------------
  |  Branch (1630:13): [True: 0, False: 0]
  ------------------
 1631|      0|                return numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
 1632|      0|            case EbtInt16:
  ------------------
  |  Branch (1632:13): [True: 0, False: 0]
  ------------------
 1633|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_int16) ||
  ------------------
  |  Branch (1633:24): [True: 0, False: 0]
  ------------------
 1634|      0|				       numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
  ------------------
  |  Branch (1634:12): [True: 0, False: 0]
  ------------------
 1635|      0|            default:
  ------------------
  |  Branch (1635:13): [True: 0, False: 0]
  ------------------
 1636|      0|                return false;
 1637|      0|            }
 1638|      0|        case EbtFloat16:
  ------------------
  |  Branch (1638:9): [True: 0, False: 947]
  ------------------
 1639|      0|            switch (from) {
 1640|      0|            case EbtInt16:
  ------------------
  |  Branch (1640:13): [True: 0, False: 0]
  ------------------
 1641|      0|            case EbtUint16:
  ------------------
  |  Branch (1641:13): [True: 0, False: 0]
  ------------------
 1642|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_int16);
 1643|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (1643:13): [True: 0, False: 0]
  ------------------
 1644|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (1644:13): [True: 0, False: 0]
  ------------------
 1645|      0|                return true;
 1646|      0|            default:
  ------------------
  |  Branch (1646:13): [True: 0, False: 0]
  ------------------
 1647|      0|                break;
 1648|      0|            }
 1649|      0|            return false;
 1650|      0|        case EbtBFloat16:
  ------------------
  |  Branch (1650:9): [True: 0, False: 947]
  ------------------
 1651|      0|            switch (from) {
 1652|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (1652:13): [True: 0, False: 0]
  ------------------
 1653|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (1653:13): [True: 0, False: 0]
  ------------------
 1654|      0|                return true;
 1655|      0|            default:
  ------------------
  |  Branch (1655:13): [True: 0, False: 0]
  ------------------
 1656|      0|                break;
 1657|      0|            }
 1658|      0|            return false;
 1659|      0|        case EbtUint16:
  ------------------
  |  Branch (1659:9): [True: 0, False: 947]
  ------------------
 1660|      0|            switch (from) {
 1661|      0|            case EbtInt16:
  ------------------
  |  Branch (1661:13): [True: 0, False: 0]
  ------------------
 1662|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_int16);
 1663|      0|            default:
  ------------------
  |  Branch (1663:13): [True: 0, False: 0]
  ------------------
 1664|      0|                break;
 1665|      0|            }
 1666|      0|            return false;
 1667|      4|        default:
  ------------------
  |  Branch (1667:9): [True: 4, False: 943]
  ------------------
 1668|      4|            return false;
 1669|    947|        }
 1670|    947|    }
 1671|       |
 1672|      0|    return false;
 1673|    947|}
_ZNK7glslang13TIntermediate28getConversionDestinationTypeENS_10TBasicTypeES1_NS_9TOperatorE:
 1781|    921|{
 1782|    921|    TBasicType res0 = EbtNumTypes;
 1783|    921|    TBasicType res1 = EbtNumTypes;
 1784|       |
 1785|    921|    if ((isEsProfile() && 
  ------------------
  |  Branch (1785:10): [True: 0, False: 921]
  ------------------
 1786|      0|        (version < 310 || !numericFeatures.contains(TNumericFeatures::shader_implicit_conversions))) || 
  ------------------
  |  Branch (1786:10): [True: 0, False: 0]
  |  Branch (1786:27): [True: 0, False: 0]
  ------------------
 1787|    921|        version == 110)
  ------------------
  |  Branch (1787:9): [True: 0, False: 921]
  ------------------
 1788|      0|        return std::make_tuple(res0, res1);
 1789|       |
 1790|    921|    if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (1790:9): [True: 12, False: 909]
  ------------------
 1791|     12|        if (canImplicitlyPromote(type1, type0, op)) {
  ------------------
  |  Branch (1791:13): [True: 0, False: 12]
  ------------------
 1792|      0|            res0 = type0;
 1793|      0|            res1 = type0;
 1794|     12|        } else if (canImplicitlyPromote(type0, type1, op)) {
  ------------------
  |  Branch (1794:20): [True: 12, False: 0]
  ------------------
 1795|     12|            res0 = type1;
 1796|     12|            res1 = type1;
 1797|     12|        }
 1798|     12|        return std::make_tuple(res0, res1);
 1799|     12|    }
 1800|       |
 1801|    909|    if ((type0 == EbtDouble && canImplicitlyPromote(type1, EbtDouble, op)) ||
  ------------------
  |  Branch (1801:10): [True: 0, False: 909]
  |  Branch (1801:32): [True: 0, False: 0]
  ------------------
 1802|    909|        (type1 == EbtDouble && canImplicitlyPromote(type0, EbtDouble, op)) ) {
  ------------------
  |  Branch (1802:10): [True: 0, False: 909]
  |  Branch (1802:32): [True: 0, False: 0]
  ------------------
 1803|      0|        res0 = EbtDouble;
 1804|      0|        res1 = EbtDouble;
 1805|    909|    } else if ((type0 == EbtFloat && canImplicitlyPromote(type1, EbtFloat, op)) ||
  ------------------
  |  Branch (1805:17): [True: 41, False: 868]
  |  Branch (1805:38): [True: 41, False: 0]
  ------------------
 1806|    868|               (type1 == EbtFloat && canImplicitlyPromote(type0, EbtFloat, op)) ) {
  ------------------
  |  Branch (1806:17): [True: 0, False: 868]
  |  Branch (1806:38): [True: 0, False: 0]
  ------------------
 1807|     41|        res0 = EbtFloat;
 1808|     41|        res1 = EbtFloat;
 1809|    868|    } else if ((type0 == EbtFloat16 && canImplicitlyPromote(type1, EbtFloat16, op)) ||
  ------------------
  |  Branch (1809:17): [True: 0, False: 868]
  |  Branch (1809:40): [True: 0, False: 0]
  ------------------
 1810|    868|               (type1 == EbtFloat16 && canImplicitlyPromote(type0, EbtFloat16, op)) ) {
  ------------------
  |  Branch (1810:17): [True: 0, False: 868]
  |  Branch (1810:40): [True: 0, False: 0]
  ------------------
 1811|      0|        res0 = EbtFloat16;
 1812|      0|        res1 = EbtFloat16;
 1813|    868|    } else if ((type0 == EbtBFloat16 && canImplicitlyPromote(type1, EbtBFloat16, op)) ||
  ------------------
  |  Branch (1813:17): [True: 0, False: 868]
  |  Branch (1813:41): [True: 0, False: 0]
  ------------------
 1814|    868|               (type1 == EbtBFloat16 && canImplicitlyPromote(type0, EbtBFloat16, op)) ) {
  ------------------
  |  Branch (1814:17): [True: 0, False: 868]
  |  Branch (1814:41): [True: 0, False: 0]
  ------------------
 1815|      0|        res0 = EbtBFloat16;
 1816|      0|        res1 = EbtBFloat16;
 1817|    868|    } else if (isTypeInt(type0) && isTypeInt(type1) &&
  ------------------
  |  Branch (1817:16): [True: 868, False: 0]
  |  Branch (1817:36): [True: 866, False: 2]
  ------------------
 1818|    866|               (canImplicitlyPromote(type0, type1, op) || canImplicitlyPromote(type1, type0, op))) {
  ------------------
  |  Branch (1818:17): [True: 866, False: 0]
  |  Branch (1818:59): [True: 0, False: 0]
  ------------------
 1819|    866|        if ((isTypeSignedInt(type0) && isTypeSignedInt(type1)) ||
  ------------------
  |  Branch (1819:14): [True: 866, False: 0]
  |  Branch (1819:40): [True: 0, False: 866]
  ------------------
 1820|    866|            (isTypeUnsignedInt(type0) && isTypeUnsignedInt(type1))) {
  ------------------
  |  Branch (1820:14): [True: 0, False: 866]
  |  Branch (1820:42): [True: 0, False: 0]
  ------------------
 1821|      0|            if (getTypeRank(type0) < getTypeRank(type1)) {
  ------------------
  |  Branch (1821:17): [True: 0, False: 0]
  ------------------
 1822|      0|                res0 = type1;
 1823|      0|                res1 = type1;
 1824|      0|            } else {
 1825|      0|                res0 = type0;
 1826|      0|                res1 = type0;
 1827|      0|            }
 1828|    866|        } else if (isTypeUnsignedInt(type0) && (getTypeRank(type0) > getTypeRank(type1))) {
  ------------------
  |  Branch (1828:20): [True: 0, False: 866]
  |  Branch (1828:48): [True: 0, False: 0]
  ------------------
 1829|      0|            res0 = type0;
 1830|      0|            res1 = type0;
 1831|    866|        } else if (isTypeUnsignedInt(type1) && (getTypeRank(type1) > getTypeRank(type0))) {
  ------------------
  |  Branch (1831:20): [True: 866, False: 0]
  |  Branch (1831:48): [True: 0, False: 866]
  ------------------
 1832|      0|            res0 = type1;
 1833|      0|            res1 = type1;
 1834|    866|        } else if (isTypeSignedInt(type0)) {
  ------------------
  |  Branch (1834:20): [True: 866, False: 0]
  ------------------
 1835|    866|            if (canSignedIntTypeRepresentAllUnsignedValues(type0, type1)) {
  ------------------
  |  Branch (1835:17): [True: 0, False: 866]
  ------------------
 1836|      0|                res0 = type0;
 1837|      0|                res1 = type0;
 1838|    866|            } else {
 1839|    866|                res0 = getCorrespondingUnsignedType(type0);
 1840|    866|                res1 = getCorrespondingUnsignedType(type0);
 1841|    866|            }
 1842|    866|        } else if (isTypeSignedInt(type1)) {
  ------------------
  |  Branch (1842:20): [True: 0, False: 0]
  ------------------
 1843|      0|            if (canSignedIntTypeRepresentAllUnsignedValues(type1, type0)) {
  ------------------
  |  Branch (1843:17): [True: 0, False: 0]
  ------------------
 1844|      0|                res0 = type1;
 1845|      0|                res1 = type1;
 1846|      0|            } else {
 1847|      0|                res0 = getCorrespondingUnsignedType(type1);
 1848|      0|                res1 = getCorrespondingUnsignedType(type1);
 1849|      0|            }
 1850|      0|        }
 1851|    866|    }
 1852|       |
 1853|    909|    return std::make_tuple(res0, res1);
 1854|    921|}
_ZNK7glslang13TIntermediate22mapTypeToConstructorOpERKNS_5TTypeE:
 1860|  7.41k|{
 1861|  7.41k|    TOperator op = EOpNull;
 1862|       |
 1863|  7.41k|    if (type.getQualifier().isNonUniform())
  ------------------
  |  Branch (1863:9): [True: 0, False: 7.41k]
  ------------------
 1864|      0|        return EOpConstructNonuniform;
 1865|       |
 1866|  7.41k|    if (type.isCoopMatNV())
  ------------------
  |  Branch (1866:9): [True: 0, False: 7.41k]
  ------------------
 1867|      0|        return EOpConstructCooperativeMatrixNV;
 1868|       |
 1869|  7.41k|    if (type.isCoopMatKHR())
  ------------------
  |  Branch (1869:9): [True: 0, False: 7.41k]
  ------------------
 1870|      0|        return EOpConstructCooperativeMatrixKHR;
 1871|       |
 1872|  7.41k|    if (type.isCoopVecOrLongVector())
  ------------------
  |  Branch (1872:9): [True: 0, False: 7.41k]
  ------------------
 1873|      0|        return EOpConstructCooperativeVectorNV;
 1874|       |
 1875|  7.41k|    switch (type.getBasicType()) {
 1876|      0|    case EbtStruct:
  ------------------
  |  Branch (1876:5): [True: 0, False: 7.41k]
  ------------------
 1877|      0|        op = EOpConstructStruct;
 1878|      0|        break;
 1879|      0|    case EbtSampler:
  ------------------
  |  Branch (1879:5): [True: 0, False: 7.41k]
  ------------------
 1880|      0|        if (type.getSampler().isCombined())
  ------------------
  |  Branch (1880:13): [True: 0, False: 0]
  ------------------
 1881|      0|            op = EOpConstructTextureSampler;
 1882|      0|        break;
 1883|      0|    case EbtFloat:
  ------------------
  |  Branch (1883:5): [True: 0, False: 7.41k]
  ------------------
 1884|      0|        if (type.isMatrix()) {
  ------------------
  |  Branch (1884:13): [True: 0, False: 0]
  ------------------
 1885|      0|            switch (type.getMatrixCols()) {
 1886|      0|            case 2:
  ------------------
  |  Branch (1886:13): [True: 0, False: 0]
  ------------------
 1887|      0|                switch (type.getMatrixRows()) {
 1888|      0|                case 2: op = EOpConstructMat2x2; break;
  ------------------
  |  Branch (1888:17): [True: 0, False: 0]
  ------------------
 1889|      0|                case 3: op = EOpConstructMat2x3; break;
  ------------------
  |  Branch (1889:17): [True: 0, False: 0]
  ------------------
 1890|      0|                case 4: op = EOpConstructMat2x4; break;
  ------------------
  |  Branch (1890:17): [True: 0, False: 0]
  ------------------
 1891|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1891:17): [True: 0, False: 0]
  ------------------
 1892|      0|                }
 1893|      0|                break;
 1894|      0|            case 3:
  ------------------
  |  Branch (1894:13): [True: 0, False: 0]
  ------------------
 1895|      0|                switch (type.getMatrixRows()) {
 1896|      0|                case 2: op = EOpConstructMat3x2; break;
  ------------------
  |  Branch (1896:17): [True: 0, False: 0]
  ------------------
 1897|      0|                case 3: op = EOpConstructMat3x3; break;
  ------------------
  |  Branch (1897:17): [True: 0, False: 0]
  ------------------
 1898|      0|                case 4: op = EOpConstructMat3x4; break;
  ------------------
  |  Branch (1898:17): [True: 0, False: 0]
  ------------------
 1899|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1899:17): [True: 0, False: 0]
  ------------------
 1900|      0|                }
 1901|      0|                break;
 1902|      0|            case 4:
  ------------------
  |  Branch (1902:13): [True: 0, False: 0]
  ------------------
 1903|      0|                switch (type.getMatrixRows()) {
 1904|      0|                case 2: op = EOpConstructMat4x2; break;
  ------------------
  |  Branch (1904:17): [True: 0, False: 0]
  ------------------
 1905|      0|                case 3: op = EOpConstructMat4x3; break;
  ------------------
  |  Branch (1905:17): [True: 0, False: 0]
  ------------------
 1906|      0|                case 4: op = EOpConstructMat4x4; break;
  ------------------
  |  Branch (1906:17): [True: 0, False: 0]
  ------------------
 1907|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1907:17): [True: 0, False: 0]
  ------------------
 1908|      0|                }
 1909|      0|                break;
 1910|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (1910:13): [True: 0, False: 0]
  ------------------
 1911|      0|            }
 1912|      0|        } else {
 1913|      0|            switch(type.getVectorSize()) {
 1914|      0|            case 1: op = EOpConstructFloat; break;
  ------------------
  |  Branch (1914:13): [True: 0, False: 0]
  ------------------
 1915|      0|            case 2: op = EOpConstructVec2;  break;
  ------------------
  |  Branch (1915:13): [True: 0, False: 0]
  ------------------
 1916|      0|            case 3: op = EOpConstructVec3;  break;
  ------------------
  |  Branch (1916:13): [True: 0, False: 0]
  ------------------
 1917|      0|            case 4: op = EOpConstructVec4;  break;
  ------------------
  |  Branch (1917:13): [True: 0, False: 0]
  ------------------
 1918|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (1918:13): [True: 0, False: 0]
  ------------------
 1919|      0|            }
 1920|      0|        }
 1921|      0|        break;
 1922|  7.24k|    case EbtInt:
  ------------------
  |  Branch (1922:5): [True: 7.24k, False: 170]
  ------------------
 1923|  7.24k|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (1923:13): [True: 0, False: 7.24k]
  ------------------
 1924|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (1924:21): [True: 0, False: 0]
  ------------------
 1925|      0|            case 2:
  ------------------
  |  Branch (1925:13): [True: 0, False: 0]
  ------------------
 1926|      0|                switch (type.getMatrixRows()) {
 1927|      0|                case 2: op = EOpConstructIMat2x2; break;
  ------------------
  |  Branch (1927:17): [True: 0, False: 0]
  ------------------
 1928|      0|                case 3: op = EOpConstructIMat2x3; break;
  ------------------
  |  Branch (1928:17): [True: 0, False: 0]
  ------------------
 1929|      0|                case 4: op = EOpConstructIMat2x4; break;
  ------------------
  |  Branch (1929:17): [True: 0, False: 0]
  ------------------
 1930|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1930:17): [True: 0, False: 0]
  ------------------
 1931|      0|                }
 1932|      0|                break;
 1933|      0|            case 3:
  ------------------
  |  Branch (1933:13): [True: 0, False: 0]
  ------------------
 1934|      0|                switch (type.getMatrixRows()) {
 1935|      0|                case 2: op = EOpConstructIMat3x2; break;
  ------------------
  |  Branch (1935:17): [True: 0, False: 0]
  ------------------
 1936|      0|                case 3: op = EOpConstructIMat3x3; break;
  ------------------
  |  Branch (1936:17): [True: 0, False: 0]
  ------------------
 1937|      0|                case 4: op = EOpConstructIMat3x4; break;
  ------------------
  |  Branch (1937:17): [True: 0, False: 0]
  ------------------
 1938|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1938:17): [True: 0, False: 0]
  ------------------
 1939|      0|                }
 1940|      0|                break;
 1941|      0|            case 4:
  ------------------
  |  Branch (1941:13): [True: 0, False: 0]
  ------------------
 1942|      0|                switch (type.getMatrixRows()) {
 1943|      0|                case 2: op = EOpConstructIMat4x2; break;
  ------------------
  |  Branch (1943:17): [True: 0, False: 0]
  ------------------
 1944|      0|                case 3: op = EOpConstructIMat4x3; break;
  ------------------
  |  Branch (1944:17): [True: 0, False: 0]
  ------------------
 1945|      0|                case 4: op = EOpConstructIMat4x4; break;
  ------------------
  |  Branch (1945:17): [True: 0, False: 0]
  ------------------
 1946|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1946:17): [True: 0, False: 0]
  ------------------
 1947|      0|                }
 1948|      0|                break;
 1949|      0|            }
 1950|  7.24k|        } else {
 1951|  7.24k|            switch(type.getVectorSize()) {
 1952|  6.84k|            case 1: op = EOpConstructInt;   break;
  ------------------
  |  Branch (1952:13): [True: 6.84k, False: 400]
  ------------------
 1953|    304|            case 2: op = EOpConstructIVec2; break;
  ------------------
  |  Branch (1953:13): [True: 304, False: 6.93k]
  ------------------
 1954|     96|            case 3: op = EOpConstructIVec3; break;
  ------------------
  |  Branch (1954:13): [True: 96, False: 7.14k]
  ------------------
 1955|      0|            case 4: op = EOpConstructIVec4; break;
  ------------------
  |  Branch (1955:13): [True: 0, False: 7.24k]
  ------------------
 1956|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (1956:13): [True: 0, False: 7.24k]
  ------------------
 1957|  7.24k|            }
 1958|  7.24k|        }
 1959|  7.24k|        break;
 1960|  7.24k|    case EbtUint:
  ------------------
  |  Branch (1960:5): [True: 170, False: 7.24k]
  ------------------
 1961|    170|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (1961:13): [True: 0, False: 170]
  ------------------
 1962|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (1962:21): [True: 0, False: 0]
  ------------------
 1963|      0|            case 2:
  ------------------
  |  Branch (1963:13): [True: 0, False: 0]
  ------------------
 1964|      0|                switch (type.getMatrixRows()) {
 1965|      0|                case 2: op = EOpConstructUMat2x2; break;
  ------------------
  |  Branch (1965:17): [True: 0, False: 0]
  ------------------
 1966|      0|                case 3: op = EOpConstructUMat2x3; break;
  ------------------
  |  Branch (1966:17): [True: 0, False: 0]
  ------------------
 1967|      0|                case 4: op = EOpConstructUMat2x4; break;
  ------------------
  |  Branch (1967:17): [True: 0, False: 0]
  ------------------
 1968|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1968:17): [True: 0, False: 0]
  ------------------
 1969|      0|                }
 1970|      0|                break;
 1971|      0|            case 3:
  ------------------
  |  Branch (1971:13): [True: 0, False: 0]
  ------------------
 1972|      0|                switch (type.getMatrixRows()) {
 1973|      0|                case 2: op = EOpConstructUMat3x2; break;
  ------------------
  |  Branch (1973:17): [True: 0, False: 0]
  ------------------
 1974|      0|                case 3: op = EOpConstructUMat3x3; break;
  ------------------
  |  Branch (1974:17): [True: 0, False: 0]
  ------------------
 1975|      0|                case 4: op = EOpConstructUMat3x4; break;
  ------------------
  |  Branch (1975:17): [True: 0, False: 0]
  ------------------
 1976|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1976:17): [True: 0, False: 0]
  ------------------
 1977|      0|                }
 1978|      0|                break;
 1979|      0|            case 4:
  ------------------
  |  Branch (1979:13): [True: 0, False: 0]
  ------------------
 1980|      0|                switch (type.getMatrixRows()) {
 1981|      0|                case 2: op = EOpConstructUMat4x2; break;
  ------------------
  |  Branch (1981:17): [True: 0, False: 0]
  ------------------
 1982|      0|                case 3: op = EOpConstructUMat4x3; break;
  ------------------
  |  Branch (1982:17): [True: 0, False: 0]
  ------------------
 1983|      0|                case 4: op = EOpConstructUMat4x4; break;
  ------------------
  |  Branch (1983:17): [True: 0, False: 0]
  ------------------
 1984|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1984:17): [True: 0, False: 0]
  ------------------
 1985|      0|                }
 1986|      0|                break;
 1987|      0|            }
 1988|    170|        } else {
 1989|    170|            switch(type.getVectorSize()) {
 1990|      0|            case 1: op = EOpConstructUint;  break;
  ------------------
  |  Branch (1990:13): [True: 0, False: 170]
  ------------------
 1991|      8|            case 2: op = EOpConstructUVec2; break;
  ------------------
  |  Branch (1991:13): [True: 8, False: 162]
  ------------------
 1992|    162|            case 3: op = EOpConstructUVec3; break;
  ------------------
  |  Branch (1992:13): [True: 162, False: 8]
  ------------------
 1993|      0|            case 4: op = EOpConstructUVec4; break;
  ------------------
  |  Branch (1993:13): [True: 0, False: 170]
  ------------------
 1994|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (1994:13): [True: 0, False: 170]
  ------------------
 1995|    170|            }
 1996|    170|        }
 1997|    170|        break;
 1998|    170|    case EbtBool:
  ------------------
  |  Branch (1998:5): [True: 0, False: 7.41k]
  ------------------
 1999|      0|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (1999:13): [True: 0, False: 0]
  ------------------
 2000|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (2000:21): [True: 0, False: 0]
  ------------------
 2001|      0|            case 2:
  ------------------
  |  Branch (2001:13): [True: 0, False: 0]
  ------------------
 2002|      0|                switch (type.getMatrixRows()) {
 2003|      0|                case 2: op = EOpConstructBMat2x2; break;
  ------------------
  |  Branch (2003:17): [True: 0, False: 0]
  ------------------
 2004|      0|                case 3: op = EOpConstructBMat2x3; break;
  ------------------
  |  Branch (2004:17): [True: 0, False: 0]
  ------------------
 2005|      0|                case 4: op = EOpConstructBMat2x4; break;
  ------------------
  |  Branch (2005:17): [True: 0, False: 0]
  ------------------
 2006|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2006:17): [True: 0, False: 0]
  ------------------
 2007|      0|                }
 2008|      0|                break;
 2009|      0|            case 3:
  ------------------
  |  Branch (2009:13): [True: 0, False: 0]
  ------------------
 2010|      0|                switch (type.getMatrixRows()) {
 2011|      0|                case 2: op = EOpConstructBMat3x2; break;
  ------------------
  |  Branch (2011:17): [True: 0, False: 0]
  ------------------
 2012|      0|                case 3: op = EOpConstructBMat3x3; break;
  ------------------
  |  Branch (2012:17): [True: 0, False: 0]
  ------------------
 2013|      0|                case 4: op = EOpConstructBMat3x4; break;
  ------------------
  |  Branch (2013:17): [True: 0, False: 0]
  ------------------
 2014|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2014:17): [True: 0, False: 0]
  ------------------
 2015|      0|                }
 2016|      0|                break;
 2017|      0|            case 4:
  ------------------
  |  Branch (2017:13): [True: 0, False: 0]
  ------------------
 2018|      0|                switch (type.getMatrixRows()) {
 2019|      0|                case 2: op = EOpConstructBMat4x2; break;
  ------------------
  |  Branch (2019:17): [True: 0, False: 0]
  ------------------
 2020|      0|                case 3: op = EOpConstructBMat4x3; break;
  ------------------
  |  Branch (2020:17): [True: 0, False: 0]
  ------------------
 2021|      0|                case 4: op = EOpConstructBMat4x4; break;
  ------------------
  |  Branch (2021:17): [True: 0, False: 0]
  ------------------
 2022|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2022:17): [True: 0, False: 0]
  ------------------
 2023|      0|                }
 2024|      0|                break;
 2025|      0|            }
 2026|      0|        } else {
 2027|      0|            switch(type.getVectorSize()) {
 2028|      0|            case 1:  op = EOpConstructBool;  break;
  ------------------
  |  Branch (2028:13): [True: 0, False: 0]
  ------------------
 2029|      0|            case 2:  op = EOpConstructBVec2; break;
  ------------------
  |  Branch (2029:13): [True: 0, False: 0]
  ------------------
 2030|      0|            case 3:  op = EOpConstructBVec3; break;
  ------------------
  |  Branch (2030:13): [True: 0, False: 0]
  ------------------
 2031|      0|            case 4:  op = EOpConstructBVec4; break;
  ------------------
  |  Branch (2031:13): [True: 0, False: 0]
  ------------------
 2032|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2032:13): [True: 0, False: 0]
  ------------------
 2033|      0|            }
 2034|      0|        }
 2035|      0|        break;
 2036|      0|    case EbtDouble:
  ------------------
  |  Branch (2036:5): [True: 0, False: 7.41k]
  ------------------
 2037|      0|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (2037:13): [True: 0, False: 0]
  ------------------
 2038|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (2038:21): [True: 0, False: 0]
  ------------------
 2039|      0|            case 2:
  ------------------
  |  Branch (2039:13): [True: 0, False: 0]
  ------------------
 2040|      0|                switch (type.getMatrixRows()) {
 2041|      0|                case 2: op = EOpConstructDMat2x2; break;
  ------------------
  |  Branch (2041:17): [True: 0, False: 0]
  ------------------
 2042|      0|                case 3: op = EOpConstructDMat2x3; break;
  ------------------
  |  Branch (2042:17): [True: 0, False: 0]
  ------------------
 2043|      0|                case 4: op = EOpConstructDMat2x4; break;
  ------------------
  |  Branch (2043:17): [True: 0, False: 0]
  ------------------
 2044|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2044:17): [True: 0, False: 0]
  ------------------
 2045|      0|                }
 2046|      0|                break;
 2047|      0|            case 3:
  ------------------
  |  Branch (2047:13): [True: 0, False: 0]
  ------------------
 2048|      0|                switch (type.getMatrixRows()) {
 2049|      0|                case 2: op = EOpConstructDMat3x2; break;
  ------------------
  |  Branch (2049:17): [True: 0, False: 0]
  ------------------
 2050|      0|                case 3: op = EOpConstructDMat3x3; break;
  ------------------
  |  Branch (2050:17): [True: 0, False: 0]
  ------------------
 2051|      0|                case 4: op = EOpConstructDMat3x4; break;
  ------------------
  |  Branch (2051:17): [True: 0, False: 0]
  ------------------
 2052|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2052:17): [True: 0, False: 0]
  ------------------
 2053|      0|                }
 2054|      0|                break;
 2055|      0|            case 4:
  ------------------
  |  Branch (2055:13): [True: 0, False: 0]
  ------------------
 2056|      0|                switch (type.getMatrixRows()) {
 2057|      0|                case 2: op = EOpConstructDMat4x2; break;
  ------------------
  |  Branch (2057:17): [True: 0, False: 0]
  ------------------
 2058|      0|                case 3: op = EOpConstructDMat4x3; break;
  ------------------
  |  Branch (2058:17): [True: 0, False: 0]
  ------------------
 2059|      0|                case 4: op = EOpConstructDMat4x4; break;
  ------------------
  |  Branch (2059:17): [True: 0, False: 0]
  ------------------
 2060|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2060:17): [True: 0, False: 0]
  ------------------
 2061|      0|                }
 2062|      0|                break;
 2063|      0|            }
 2064|      0|        } else {
 2065|      0|            switch(type.getVectorSize()) {
 2066|      0|            case 1: op = EOpConstructDouble; break;
  ------------------
  |  Branch (2066:13): [True: 0, False: 0]
  ------------------
 2067|      0|            case 2: op = EOpConstructDVec2;  break;
  ------------------
  |  Branch (2067:13): [True: 0, False: 0]
  ------------------
 2068|      0|            case 3: op = EOpConstructDVec3;  break;
  ------------------
  |  Branch (2068:13): [True: 0, False: 0]
  ------------------
 2069|      0|            case 4: op = EOpConstructDVec4;  break;
  ------------------
  |  Branch (2069:13): [True: 0, False: 0]
  ------------------
 2070|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2070:13): [True: 0, False: 0]
  ------------------
 2071|      0|            }
 2072|      0|        }
 2073|      0|        break;
 2074|      0|    case EbtFloat16:
  ------------------
  |  Branch (2074:5): [True: 0, False: 7.41k]
  ------------------
 2075|      0|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (2075:13): [True: 0, False: 0]
  ------------------
 2076|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (2076:21): [True: 0, False: 0]
  ------------------
 2077|      0|            case 2:
  ------------------
  |  Branch (2077:13): [True: 0, False: 0]
  ------------------
 2078|      0|                switch (type.getMatrixRows()) {
 2079|      0|                case 2: op = EOpConstructF16Mat2x2; break;
  ------------------
  |  Branch (2079:17): [True: 0, False: 0]
  ------------------
 2080|      0|                case 3: op = EOpConstructF16Mat2x3; break;
  ------------------
  |  Branch (2080:17): [True: 0, False: 0]
  ------------------
 2081|      0|                case 4: op = EOpConstructF16Mat2x4; break;
  ------------------
  |  Branch (2081:17): [True: 0, False: 0]
  ------------------
 2082|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2082:17): [True: 0, False: 0]
  ------------------
 2083|      0|                }
 2084|      0|                break;
 2085|      0|            case 3:
  ------------------
  |  Branch (2085:13): [True: 0, False: 0]
  ------------------
 2086|      0|                switch (type.getMatrixRows()) {
 2087|      0|                case 2: op = EOpConstructF16Mat3x2; break;
  ------------------
  |  Branch (2087:17): [True: 0, False: 0]
  ------------------
 2088|      0|                case 3: op = EOpConstructF16Mat3x3; break;
  ------------------
  |  Branch (2088:17): [True: 0, False: 0]
  ------------------
 2089|      0|                case 4: op = EOpConstructF16Mat3x4; break;
  ------------------
  |  Branch (2089:17): [True: 0, False: 0]
  ------------------
 2090|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2090:17): [True: 0, False: 0]
  ------------------
 2091|      0|                }
 2092|      0|                break;
 2093|      0|            case 4:
  ------------------
  |  Branch (2093:13): [True: 0, False: 0]
  ------------------
 2094|      0|                switch (type.getMatrixRows()) {
 2095|      0|                case 2: op = EOpConstructF16Mat4x2; break;
  ------------------
  |  Branch (2095:17): [True: 0, False: 0]
  ------------------
 2096|      0|                case 3: op = EOpConstructF16Mat4x3; break;
  ------------------
  |  Branch (2096:17): [True: 0, False: 0]
  ------------------
 2097|      0|                case 4: op = EOpConstructF16Mat4x4; break;
  ------------------
  |  Branch (2097:17): [True: 0, False: 0]
  ------------------
 2098|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2098:17): [True: 0, False: 0]
  ------------------
 2099|      0|                }
 2100|      0|                break;
 2101|      0|            }
 2102|      0|        }
 2103|      0|        else {
 2104|      0|            switch (type.getVectorSize()) {
 2105|      0|            case 1: op = EOpConstructFloat16;  break;
  ------------------
  |  Branch (2105:13): [True: 0, False: 0]
  ------------------
 2106|      0|            case 2: op = EOpConstructF16Vec2;  break;
  ------------------
  |  Branch (2106:13): [True: 0, False: 0]
  ------------------
 2107|      0|            case 3: op = EOpConstructF16Vec3;  break;
  ------------------
  |  Branch (2107:13): [True: 0, False: 0]
  ------------------
 2108|      0|            case 4: op = EOpConstructF16Vec4;  break;
  ------------------
  |  Branch (2108:13): [True: 0, False: 0]
  ------------------
 2109|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2109:13): [True: 0, False: 0]
  ------------------
 2110|      0|            }
 2111|      0|        }
 2112|      0|        break;
 2113|      0|    case EbtBFloat16:
  ------------------
  |  Branch (2113:5): [True: 0, False: 7.41k]
  ------------------
 2114|      0|        switch (type.getVectorSize()) {
 2115|      0|        case 1: op = EOpConstructBFloat16;  break;
  ------------------
  |  Branch (2115:9): [True: 0, False: 0]
  ------------------
 2116|      0|        case 2: op = EOpConstructBF16Vec2;  break;
  ------------------
  |  Branch (2116:9): [True: 0, False: 0]
  ------------------
 2117|      0|        case 3: op = EOpConstructBF16Vec3;  break;
  ------------------
  |  Branch (2117:9): [True: 0, False: 0]
  ------------------
 2118|      0|        case 4: op = EOpConstructBF16Vec4;  break;
  ------------------
  |  Branch (2118:9): [True: 0, False: 0]
  ------------------
 2119|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2119:9): [True: 0, False: 0]
  ------------------
 2120|      0|        }
 2121|      0|        break;
 2122|      0|    case EbtFloatE5M2:
  ------------------
  |  Branch (2122:5): [True: 0, False: 7.41k]
  ------------------
 2123|      0|        switch (type.getVectorSize()) {
 2124|      0|        case 1: op = EOpConstructFloatE5M2;  break;
  ------------------
  |  Branch (2124:9): [True: 0, False: 0]
  ------------------
 2125|      0|        case 2: op = EOpConstructFloatE5M2Vec2;  break;
  ------------------
  |  Branch (2125:9): [True: 0, False: 0]
  ------------------
 2126|      0|        case 3: op = EOpConstructFloatE5M2Vec3;  break;
  ------------------
  |  Branch (2126:9): [True: 0, False: 0]
  ------------------
 2127|      0|        case 4: op = EOpConstructFloatE5M2Vec4;  break;
  ------------------
  |  Branch (2127:9): [True: 0, False: 0]
  ------------------
 2128|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2128:9): [True: 0, False: 0]
  ------------------
 2129|      0|        }
 2130|      0|        break;
 2131|      0|    case EbtFloatE4M3:
  ------------------
  |  Branch (2131:5): [True: 0, False: 7.41k]
  ------------------
 2132|      0|        switch (type.getVectorSize()) {
 2133|      0|        case 1: op = EOpConstructFloatE4M3;  break;
  ------------------
  |  Branch (2133:9): [True: 0, False: 0]
  ------------------
 2134|      0|        case 2: op = EOpConstructFloatE4M3Vec2;  break;
  ------------------
  |  Branch (2134:9): [True: 0, False: 0]
  ------------------
 2135|      0|        case 3: op = EOpConstructFloatE4M3Vec3;  break;
  ------------------
  |  Branch (2135:9): [True: 0, False: 0]
  ------------------
 2136|      0|        case 4: op = EOpConstructFloatE4M3Vec4;  break;
  ------------------
  |  Branch (2136:9): [True: 0, False: 0]
  ------------------
 2137|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2137:9): [True: 0, False: 0]
  ------------------
 2138|      0|        }
 2139|      0|        break;
 2140|      0|    case EbtInt8:
  ------------------
  |  Branch (2140:5): [True: 0, False: 7.41k]
  ------------------
 2141|      0|        switch(type.getVectorSize()) {
 2142|      0|        case 1: op = EOpConstructInt8;   break;
  ------------------
  |  Branch (2142:9): [True: 0, False: 0]
  ------------------
 2143|      0|        case 2: op = EOpConstructI8Vec2; break;
  ------------------
  |  Branch (2143:9): [True: 0, False: 0]
  ------------------
 2144|      0|        case 3: op = EOpConstructI8Vec3; break;
  ------------------
  |  Branch (2144:9): [True: 0, False: 0]
  ------------------
 2145|      0|        case 4: op = EOpConstructI8Vec4; break;
  ------------------
  |  Branch (2145:9): [True: 0, False: 0]
  ------------------
 2146|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2146:9): [True: 0, False: 0]
  ------------------
 2147|      0|        }
 2148|      0|        break;
 2149|      0|    case EbtUint8:
  ------------------
  |  Branch (2149:5): [True: 0, False: 7.41k]
  ------------------
 2150|      0|        switch(type.getVectorSize()) {
 2151|      0|        case 1: op = EOpConstructUint8;  break;
  ------------------
  |  Branch (2151:9): [True: 0, False: 0]
  ------------------
 2152|      0|        case 2: op = EOpConstructU8Vec2; break;
  ------------------
  |  Branch (2152:9): [True: 0, False: 0]
  ------------------
 2153|      0|        case 3: op = EOpConstructU8Vec3; break;
  ------------------
  |  Branch (2153:9): [True: 0, False: 0]
  ------------------
 2154|      0|        case 4: op = EOpConstructU8Vec4; break;
  ------------------
  |  Branch (2154:9): [True: 0, False: 0]
  ------------------
 2155|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2155:9): [True: 0, False: 0]
  ------------------
 2156|      0|        }
 2157|      0|        break;
 2158|      0|    case EbtInt16:
  ------------------
  |  Branch (2158:5): [True: 0, False: 7.41k]
  ------------------
 2159|      0|        switch(type.getVectorSize()) {
 2160|      0|        case 1: op = EOpConstructInt16;   break;
  ------------------
  |  Branch (2160:9): [True: 0, False: 0]
  ------------------
 2161|      0|        case 2: op = EOpConstructI16Vec2; break;
  ------------------
  |  Branch (2161:9): [True: 0, False: 0]
  ------------------
 2162|      0|        case 3: op = EOpConstructI16Vec3; break;
  ------------------
  |  Branch (2162:9): [True: 0, False: 0]
  ------------------
 2163|      0|        case 4: op = EOpConstructI16Vec4; break;
  ------------------
  |  Branch (2163:9): [True: 0, False: 0]
  ------------------
 2164|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2164:9): [True: 0, False: 0]
  ------------------
 2165|      0|        }
 2166|      0|        break;
 2167|      0|    case EbtUint16:
  ------------------
  |  Branch (2167:5): [True: 0, False: 7.41k]
  ------------------
 2168|      0|        switch(type.getVectorSize()) {
 2169|      0|        case 1: op = EOpConstructUint16;  break;
  ------------------
  |  Branch (2169:9): [True: 0, False: 0]
  ------------------
 2170|      0|        case 2: op = EOpConstructU16Vec2; break;
  ------------------
  |  Branch (2170:9): [True: 0, False: 0]
  ------------------
 2171|      0|        case 3: op = EOpConstructU16Vec3; break;
  ------------------
  |  Branch (2171:9): [True: 0, False: 0]
  ------------------
 2172|      0|        case 4: op = EOpConstructU16Vec4; break;
  ------------------
  |  Branch (2172:9): [True: 0, False: 0]
  ------------------
 2173|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2173:9): [True: 0, False: 0]
  ------------------
 2174|      0|        }
 2175|      0|        break;
 2176|      0|    case EbtInt64:
  ------------------
  |  Branch (2176:5): [True: 0, False: 7.41k]
  ------------------
 2177|      0|        switch(type.getVectorSize()) {
 2178|      0|        case 1: op = EOpConstructInt64;   break;
  ------------------
  |  Branch (2178:9): [True: 0, False: 0]
  ------------------
 2179|      0|        case 2: op = EOpConstructI64Vec2; break;
  ------------------
  |  Branch (2179:9): [True: 0, False: 0]
  ------------------
 2180|      0|        case 3: op = EOpConstructI64Vec3; break;
  ------------------
  |  Branch (2180:9): [True: 0, False: 0]
  ------------------
 2181|      0|        case 4: op = EOpConstructI64Vec4; break;
  ------------------
  |  Branch (2181:9): [True: 0, False: 0]
  ------------------
 2182|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2182:9): [True: 0, False: 0]
  ------------------
 2183|      0|        }
 2184|      0|        break;
 2185|      0|    case EbtUint64:
  ------------------
  |  Branch (2185:5): [True: 0, False: 7.41k]
  ------------------
 2186|      0|        switch(type.getVectorSize()) {
 2187|      0|        case 1: op = EOpConstructUint64;  break;
  ------------------
  |  Branch (2187:9): [True: 0, False: 0]
  ------------------
 2188|      0|        case 2: op = EOpConstructU64Vec2; break;
  ------------------
  |  Branch (2188:9): [True: 0, False: 0]
  ------------------
 2189|      0|        case 3: op = EOpConstructU64Vec3; break;
  ------------------
  |  Branch (2189:9): [True: 0, False: 0]
  ------------------
 2190|      0|        case 4: op = EOpConstructU64Vec4; break;
  ------------------
  |  Branch (2190:9): [True: 0, False: 0]
  ------------------
 2191|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2191:9): [True: 0, False: 0]
  ------------------
 2192|      0|        }
 2193|      0|        break;
 2194|      0|    case EbtReference:
  ------------------
  |  Branch (2194:5): [True: 0, False: 7.41k]
  ------------------
 2195|      0|        op = EOpConstructReference;
 2196|      0|        break;
 2197|       |
 2198|      0|    case EbtAccStruct:
  ------------------
  |  Branch (2198:5): [True: 0, False: 7.41k]
  ------------------
 2199|      0|        op = EOpConstructAccStruct;
 2200|      0|        break;
 2201|      0|    default:
  ------------------
  |  Branch (2201:5): [True: 0, False: 7.41k]
  ------------------
 2202|      0|        break;
 2203|  7.41k|    }
 2204|       |
 2205|  7.41k|    return op;
 2206|  7.41k|}
_ZN7glslang13TIntermediate13growAggregateEP11TIntermNodeS2_:
 2216|  16.7k|{
 2217|  16.7k|    if (left == nullptr && right == nullptr)
  ------------------
  |  Branch (2217:9): [True: 16.0k, False: 693]
  |  Branch (2217:28): [True: 15.9k, False: 122]
  ------------------
 2218|  15.9k|        return nullptr;
 2219|       |
 2220|    815|    TIntermAggregate* aggNode = nullptr;
 2221|    815|    if (left != nullptr)
  ------------------
  |  Branch (2221:9): [True: 693, False: 122]
  ------------------
 2222|    693|        aggNode = left->getAsAggregate();
 2223|    815|    if (aggNode == nullptr || aggNode->getOp() != EOpNull) {
  ------------------
  |  Branch (2223:9): [True: 251, False: 564]
  |  Branch (2223:31): [True: 0, False: 564]
  ------------------
 2224|    251|        aggNode = new TIntermAggregate;
 2225|    251|        if (left != nullptr)
  ------------------
  |  Branch (2225:13): [True: 129, False: 122]
  ------------------
 2226|    129|            aggNode->getSequence().push_back(left);
 2227|    251|    }
 2228|       |
 2229|    815|    if (right != nullptr)
  ------------------
  |  Branch (2229:9): [True: 815, False: 0]
  ------------------
 2230|    815|        aggNode->getSequence().push_back(right);
 2231|       |
 2232|    815|    return aggNode;
 2233|  16.7k|}
_ZN7glslang13TIntermediate13growAggregateEP11TIntermNodeS2_RKNS_10TSourceLocE:
 2236|  16.2k|{
 2237|  16.2k|    TIntermAggregate* aggNode = growAggregate(left, right);
 2238|  16.2k|    if (aggNode)
  ------------------
  |  Branch (2238:9): [True: 258, False: 15.9k]
  ------------------
 2239|    258|        aggNode->setLoc(loc);
 2240|       |
 2241|  16.2k|    return aggNode;
 2242|  16.2k|}
_ZN7glslang13TIntermediate13makeAggregateEP11TIntermNode:
 2284|      8|{
 2285|      8|    if (node == nullptr)
  ------------------
  |  Branch (2285:9): [True: 0, False: 8]
  ------------------
 2286|      0|        return nullptr;
 2287|       |
 2288|      8|    TIntermAggregate* aggNode = new TIntermAggregate;
 2289|      8|    aggNode->getSequence().push_back(node);
 2290|      8|    aggNode->setLoc(node->getLoc());
 2291|       |
 2292|      8|    return aggNode;
 2293|      8|}
_ZN7glslang13TIntermediate13makeAggregateERKNS_10TSourceLocE:
 2311|    137|{
 2312|    137|    TIntermAggregate* aggNode = new TIntermAggregate;
 2313|    137|    aggNode->setLoc(loc);
 2314|       |
 2315|    137|    return aggNode;
 2316|    137|}
_ZN7glslang13TIntermediate12addSelectionEPNS_12TIntermTypedES2_S2_RKNS_10TSourceLocE:
 2378|    739|{
 2379|       |    // If it's void, go to the if-then-else selection()
 2380|    739|    if (trueBlock->getBasicType() == EbtVoid && falseBlock->getBasicType() == EbtVoid) {
  ------------------
  |  Branch (2380:9): [True: 0, False: 739]
  |  Branch (2380:49): [True: 0, False: 0]
  ------------------
 2381|      0|        TIntermNodePair pair = { trueBlock, falseBlock };
 2382|      0|        TIntermSelection* selection = addSelection(cond, pair, loc);
 2383|      0|        if (getSource() == EShSourceHlsl)
  ------------------
  |  Branch (2383:13): [True: 0, False: 0]
  ------------------
 2384|      0|            selection->setNoShortCircuit();
 2385|       |
 2386|      0|        return selection;
 2387|      0|    }
 2388|       |
 2389|       |    //
 2390|       |    // Get compatible types.
 2391|       |    //
 2392|    739|    auto children = addPairConversion(EOpSequence, trueBlock, falseBlock);
 2393|    739|    trueBlock = std::get<0>(children);
 2394|    739|    falseBlock = std::get<1>(children);
 2395|       |
 2396|    739|    if (trueBlock == nullptr || falseBlock == nullptr ||
  ------------------
  |  Branch (2396:9): [True: 2, False: 737]
  |  Branch (2396:33): [True: 0, False: 737]
  ------------------
 2397|    737|        trueBlock->getBasicType() == EbtString || falseBlock->getBasicType() == EbtString)
  ------------------
  |  Branch (2397:9): [True: 0, False: 737]
  |  Branch (2397:51): [True: 0, False: 737]
  ------------------
 2398|      2|        return nullptr;
 2399|       |
 2400|       |    // Handle a vector condition as a mix
 2401|    737|    if (!cond->getType().isScalarOrVec1()) {
  ------------------
  |  Branch (2401:9): [True: 224, False: 513]
  ------------------
 2402|    224|        TType targetVectorType(trueBlock->getType().getBasicType(), EvqTemporary,
 2403|    224|                               cond->getType().getVectorSize());
 2404|       |        // smear true/false operands as needed
 2405|    224|        trueBlock = addUniShapeConversion(EOpMix, targetVectorType, trueBlock);
 2406|    224|        falseBlock = addUniShapeConversion(EOpMix, targetVectorType, falseBlock);
 2407|       |
 2408|       |        // After conversion, types have to match.
 2409|    224|        if (falseBlock->getType() != trueBlock->getType())
  ------------------
  |  Branch (2409:13): [True: 87, False: 137]
  ------------------
 2410|     87|            return nullptr;
 2411|       |
 2412|       |        // make the mix operation
 2413|    137|        TIntermAggregate* mix = makeAggregate(loc);
 2414|    137|        mix = growAggregate(mix, falseBlock);
 2415|    137|        mix = growAggregate(mix, trueBlock);
 2416|    137|        mix = growAggregate(mix, cond);
 2417|    137|        mix->setType(targetVectorType);
 2418|    137|        mix->setOp(EOpMix);
 2419|       |
 2420|    137|        return mix;
 2421|    224|    }
 2422|       |
 2423|       |    // Now have a scalar condition...
 2424|       |
 2425|       |    // Convert true and false expressions to matching types
 2426|    513|    addBiShapeConversion(EOpMix, trueBlock, falseBlock);
 2427|       |
 2428|       |    // After conversion, types have to match.
 2429|    513|    if (falseBlock->getType() != trueBlock->getType())
  ------------------
  |  Branch (2429:9): [True: 318, False: 195]
  ------------------
 2430|    318|        return nullptr;
 2431|       |
 2432|       |    // Eliminate the selection when the condition is a scalar and all operands are constant.
 2433|    195|    if (cond->getAsConstantUnion() && trueBlock->getAsConstantUnion() && falseBlock->getAsConstantUnion()) {
  ------------------
  |  Branch (2433:9): [True: 194, False: 1]
  |  Branch (2433:39): [True: 194, False: 0]
  |  Branch (2433:74): [True: 190, False: 4]
  ------------------
 2434|    190|        if (cond->getAsConstantUnion()->getConstArray()[0].getBConst())
  ------------------
  |  Branch (2434:13): [True: 2, False: 188]
  ------------------
 2435|      2|            return trueBlock;
 2436|    188|        else
 2437|    188|            return falseBlock;
 2438|    190|    }
 2439|       |
 2440|       |    //
 2441|       |    // Make a selection node.
 2442|       |    //
 2443|      5|    TIntermSelection* node = new TIntermSelection(cond, trueBlock, falseBlock, trueBlock->getType());
 2444|      5|    node->setLoc(loc);
 2445|      5|    node->getQualifier().precision = std::max(trueBlock->getQualifier().precision, falseBlock->getQualifier().precision);
 2446|       |
 2447|      5|    if ((cond->getQualifier().isConstant() && specConstantPropagates(*trueBlock, *falseBlock)) ||
  ------------------
  |  Branch (2447:10): [True: 4, False: 1]
  |  Branch (2447:47): [True: 0, False: 4]
  ------------------
 2448|      5|        (cond->getQualifier().isSpecConstant() && trueBlock->getQualifier().isConstant() &&
  ------------------
  |  Branch (2448:10): [True: 0, False: 5]
  |  Branch (2448:51): [True: 0, False: 0]
  ------------------
 2449|      0|                                                 falseBlock->getQualifier().isConstant()))
  ------------------
  |  Branch (2449:50): [True: 0, False: 0]
  ------------------
 2450|      0|        node->getQualifier().makeSpecConstant();
 2451|      5|    else
 2452|      5|        node->getQualifier().makeTemporary();
 2453|       |
 2454|      5|    if (getSource() == EShSourceHlsl)
  ------------------
  |  Branch (2454:9): [True: 4, False: 1]
  ------------------
 2455|      4|        node->setNoShortCircuit();
 2456|       |
 2457|      5|    return node;
 2458|    195|}
_ZNK7glslang13TIntermediate16addConstantUnionERKNS_16TConstUnionArrayERKNS_5TTypeERKNS_10TSourceLocEb:
 2467|  15.7k|{
 2468|  15.7k|    TIntermConstantUnion* node = new TIntermConstantUnion(unionArray, t);
 2469|  15.7k|    node->getQualifier().storage = EvqConst;
 2470|  15.7k|    node->setLoc(loc);
 2471|  15.7k|    if (literal)
  ------------------
  |  Branch (2471:9): [True: 13.9k, False: 1.78k]
  ------------------
 2472|  13.9k|        node->setLiteral();
 2473|       |
 2474|  15.7k|    return node;
 2475|  15.7k|}
_ZNK7glslang13TIntermediate16addConstantUnionEiRKNS_10TSourceLocEb:
 2509|  12.1k|{
 2510|  12.1k|    TConstUnionArray unionArray(1);
 2511|  12.1k|    unionArray[0].setIConst(i);
 2512|       |
 2513|  12.1k|    return addConstantUnion(unionArray, TType(EbtInt, EvqConst), loc, literal);
 2514|  12.1k|}
_ZNK7glslang13TIntermediate16addConstantUnionEjRKNS_10TSourceLocEb:
 2517|  1.78k|{
 2518|  1.78k|    TConstUnionArray unionArray(1);
 2519|  1.78k|    unionArray[0].setUConst(u);
 2520|       |
 2521|  1.78k|    return addConstantUnion(unionArray, TType(EbtUint, EvqConst), loc, literal);
 2522|  1.78k|}
_ZNK7glslang13TIntermediate16addConstantUnionEdNS_10TBasicTypeERKNS_10TSourceLocEb:
 2549|     94|{
 2550|     94|    assert(baseType == EbtFloat || baseType == EbtDouble || baseType == EbtFloat16 || baseType == EbtBFloat16 || baseType == EbtFloatE5M2 || baseType == EbtFloatE4M3);
 2551|       |
 2552|     94|    if (isEsProfile() && (baseType == EbtFloat || baseType == EbtFloat16)) {
  ------------------
  |  Branch (2552:9): [True: 0, False: 94]
  |  Branch (2552:27): [True: 0, False: 0]
  |  Branch (2552:51): [True: 0, False: 0]
  ------------------
 2553|      0|        int exponent = 0;
 2554|      0|        frexp(d, &exponent);
 2555|      0|        int minExp = baseType == EbtFloat ? -126 : -14;
  ------------------
  |  Branch (2555:22): [True: 0, False: 0]
  ------------------
 2556|      0|        int maxExp = baseType == EbtFloat ? 127 : 15;
  ------------------
  |  Branch (2556:22): [True: 0, False: 0]
  ------------------
 2557|      0|        if (exponent > maxExp) { //overflow, d = inf
  ------------------
  |  Branch (2557:13): [True: 0, False: 0]
  ------------------
 2558|      0|            d = std::numeric_limits<double>::infinity();
 2559|      0|        } else if (exponent < minExp) { //underflow, d = 0.0;
  ------------------
  |  Branch (2559:20): [True: 0, False: 0]
  ------------------
 2560|      0|            d = 0.0;
 2561|      0|        }
 2562|      0|    }
 2563|       |
 2564|     94|    TConstUnionArray unionArray(1);
 2565|     94|    unionArray[0].setDConst(d);
 2566|       |
 2567|     94|    return addConstantUnion(unionArray, TType(baseType, EvqConst), loc, literal);
 2568|     94|}
_ZN7glslang13TIntermediate21addSymbolLinkageNodesERPNS_16TIntermAggregateE11EShLanguageRNS_12TSymbolTableE:
 2848|    122|{
 2849|       |    // Add top-level nodes for declarations that must be checked cross
 2850|       |    // compilation unit by a linker, yet might not have been referenced
 2851|       |    // by the AST.
 2852|       |    //
 2853|       |    // Almost entirely, translation of symbols is driven by what's present
 2854|       |    // in the AST traversal, not by translating the symbol table.
 2855|       |    //
 2856|       |    // However, there are some special cases:
 2857|       |    //  - From the specification: "Special built-in inputs gl_VertexID and
 2858|       |    //    gl_InstanceID are also considered active vertex attributes."
 2859|       |    //  - Linker-based type mismatch error reporting needs to see all
 2860|       |    //    uniforms/ins/outs variables and blocks.
 2861|       |    //  - ftransform() can make gl_Vertex and gl_ModelViewProjectionMatrix active.
 2862|       |    //
 2863|       |
 2864|       |    // if (ftransformUsed) {
 2865|       |        // TODO: 1.1 lowering functionality: track ftransform() usage
 2866|       |    //    addSymbolLinkageNode(root, symbolTable, "gl_Vertex");
 2867|       |    //    addSymbolLinkageNode(root, symbolTable, "gl_ModelViewProjectionMatrix");
 2868|       |    //}
 2869|       |
 2870|    122|    if (language == EShLangVertex) {
  ------------------
  |  Branch (2870:9): [True: 122, False: 0]
  ------------------
 2871|    122|        addSymbolLinkageNode(linkage, symbolTable, "gl_VertexID");
 2872|    122|        if ((version < 140 && requestedExtensions.find(E_GL_EXT_draw_instanced) != requestedExtensions.end()) || version >= 140)
  ------------------
  |  Branch (2872:13): [True: 107, False: 15]
  |  Branch (2872:14): [True: 15, False: 107]
  |  Branch (2872:31): [True: 0, False: 15]
  |  Branch (2872:114): [True: 107, False: 15]
  ------------------
 2873|    107|            addSymbolLinkageNode(linkage, symbolTable, "gl_InstanceID");
 2874|    122|    }
 2875|       |
 2876|       |    // Add a child to the root node for the linker objects
 2877|    122|    linkage->setOperator(EOpLinkerObjects);
 2878|    122|    treeRoot = growAggregate(treeRoot, linkage);
 2879|    122|}
_ZN7glslang13TIntermediate20addSymbolLinkageNodeERPNS_16TIntermAggregateERNS_12TSymbolTableERKNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 2887|    229|{
 2888|    229|    TSymbol* symbol = symbolTable.find(name);
 2889|    229|    if (symbol)
  ------------------
  |  Branch (2889:9): [True: 24, False: 205]
  ------------------
 2890|     24|        addSymbolLinkageNode(linkage, *symbol->getAsVariable());
 2891|    229|}
_ZN7glslang13TIntermediate20addSymbolLinkageNodeERPNS_16TIntermAggregateERKNS_7TSymbolE:
 2894|     24|{
 2895|     24|    const TVariable* variable = symbol.getAsVariable();
 2896|     24|    if (! variable) {
  ------------------
  |  Branch (2896:9): [True: 0, False: 24]
  ------------------
 2897|       |        // This must be a member of an anonymous block, and we need to add the whole block
 2898|      0|        const TAnonMember* anon = symbol.getAsAnonMember();
 2899|      0|        variable = &anon->getAnonContainer();
 2900|      0|    }
 2901|     24|    TIntermSymbol* node = addSymbol(*variable);
 2902|     24|    linkage = growAggregate(linkage, node);
 2903|     24|}
_ZNK7glslang15TIntermOperator13isConstructorEv:
 3151|    882|{
 3152|    882|    return op > EOpConstructGuardStart && op < EOpConstructGuardEnd;
  ------------------
  |  Branch (3152:12): [True: 882, False: 0]
  |  Branch (3152:43): [True: 882, False: 0]
  ------------------
 3153|    882|}
_ZN7glslang13TIntermediate7promoteEPNS_15TIntermOperatorE:
 3163|    721|{
 3164|    721|    if (node == nullptr)
  ------------------
  |  Branch (3164:9): [True: 0, False: 721]
  ------------------
 3165|      0|        return false;
 3166|       |
 3167|    721|    if (node->getAsUnaryNode())
  ------------------
  |  Branch (3167:9): [True: 100, False: 621]
  ------------------
 3168|    100|        return promoteUnary(*node->getAsUnaryNode());
 3169|       |
 3170|    621|    if (node->getAsBinaryNode())
  ------------------
  |  Branch (3170:9): [True: 621, False: 0]
  ------------------
 3171|    621|        return promoteBinary(*node->getAsBinaryNode());
 3172|       |
 3173|      0|    if (node->getAsAggregate())
  ------------------
  |  Branch (3173:9): [True: 0, False: 0]
  ------------------
 3174|      0|        return promoteAggregate(*node->getAsAggregate());
 3175|       |
 3176|      0|    return false;
 3177|      0|}
_ZN7glslang13TIntermediate12promoteUnaryERNS_12TIntermUnaryE:
 3183|    100|{
 3184|    100|    const TOperator op    = node.getOp();
 3185|    100|    TIntermTyped* operand = node.getOperand();
 3186|       |
 3187|    100|    switch (op) {
 3188|     10|    case EOpLogicalNot:
  ------------------
  |  Branch (3188:5): [True: 10, False: 90]
  ------------------
 3189|       |        // Convert operand to a boolean type
 3190|     10|        if (operand->getBasicType() != EbtBool) {
  ------------------
  |  Branch (3190:13): [True: 8, False: 2]
  ------------------
 3191|       |            // Add constructor to boolean type. If that fails, we can't do it, so return false.
 3192|      8|            TIntermTyped* converted = addConversion(op, TType(EbtBool), operand);
 3193|      8|            if (converted == nullptr)
  ------------------
  |  Branch (3193:17): [True: 0, False: 8]
  ------------------
 3194|      0|                return false;
 3195|       |
 3196|       |            // Use the result of converting the node to a bool.
 3197|      8|            node.setOperand(operand = converted); // also updates stack variable
 3198|      8|        }
 3199|     10|        break;
 3200|     10|    case EOpBitwiseNot:
  ------------------
  |  Branch (3200:5): [True: 0, False: 100]
  ------------------
 3201|      0|        if (!isTypeInt(operand->getBasicType()))
  ------------------
  |  Branch (3201:13): [True: 0, False: 0]
  ------------------
 3202|      0|            return false;
 3203|      0|        break;
 3204|     90|    case EOpNegative:
  ------------------
  |  Branch (3204:5): [True: 90, False: 10]
  ------------------
 3205|     90|    case EOpPostIncrement:
  ------------------
  |  Branch (3205:5): [True: 0, False: 100]
  ------------------
 3206|     90|    case EOpPostDecrement:
  ------------------
  |  Branch (3206:5): [True: 0, False: 100]
  ------------------
 3207|     90|    case EOpPreIncrement:
  ------------------
  |  Branch (3207:5): [True: 0, False: 100]
  ------------------
 3208|     90|    case EOpPreDecrement:
  ------------------
  |  Branch (3208:5): [True: 0, False: 100]
  ------------------
 3209|     90|        if (!isTypeInt(operand->getBasicType()) &&
  ------------------
  |  Branch (3209:13): [True: 0, False: 90]
  ------------------
 3210|      0|            operand->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (3210:13): [True: 0, False: 0]
  ------------------
 3211|      0|            operand->getBasicType() != EbtFloat16 &&
  ------------------
  |  Branch (3211:13): [True: 0, False: 0]
  ------------------
 3212|      0|            operand->getBasicType() != EbtDouble)
  ------------------
  |  Branch (3212:13): [True: 0, False: 0]
  ------------------
 3213|       |
 3214|      0|            return false;
 3215|     90|        break;
 3216|     90|    default:
  ------------------
  |  Branch (3216:5): [True: 0, False: 100]
  ------------------
 3217|       |        // HLSL uses this path for initial function signature finding for built-ins
 3218|       |        // taking a single argument, which generally don't participate in
 3219|       |        // operator-based type promotion (type conversion will occur later).
 3220|       |        // For now, scalar argument cases are relying on the setType() call below.
 3221|      0|        if (getSource() == EShSourceHlsl)
  ------------------
  |  Branch (3221:13): [True: 0, False: 0]
  ------------------
 3222|      0|            break;
 3223|       |
 3224|       |        // GLSL only allows integer arguments for the cases identified above in the
 3225|       |        // case statements.
 3226|      0|        if (operand->getBasicType() != EbtFloat)
  ------------------
  |  Branch (3226:13): [True: 0, False: 0]
  ------------------
 3227|      0|            return false;
 3228|    100|    }
 3229|       |
 3230|    100|    node.setType(operand->getType());
 3231|    100|    node.getWritableType().getQualifier().makeTemporary();
 3232|       |
 3233|    100|    return true;
 3234|    100|}
_ZN7glslang12TIntermUnary15updatePrecisionEv:
 3238|    154|{
 3239|    154|    if (getBasicType() == EbtInt || getBasicType() == EbtUint ||
  ------------------
  |  Branch (3239:9): [True: 144, False: 10]
  |  Branch (3239:37): [True: 0, False: 10]
  ------------------
 3240|    144|        getBasicType() == EbtFloat) {
  ------------------
  |  Branch (3240:9): [True: 0, False: 10]
  ------------------
 3241|    144|        if (operand->getQualifier().precision > getQualifier().precision)
  ------------------
  |  Branch (3241:13): [True: 0, False: 144]
  ------------------
 3242|      0|            getQualifier().precision = operand->getQualifier().precision;
 3243|    144|    }
 3244|    154|}
_ZN7glslang13TIntermediate13promoteBinaryERNS_13TIntermBinaryE:
 3250|    621|{
 3251|    621|    TOperator     op    = node.getOp();
 3252|    621|    TIntermTyped* left  = node.getLeft();
 3253|    621|    TIntermTyped* right = node.getRight();
 3254|       |
 3255|       |    // Arrays and structures have to be exact matches.
 3256|    621|    if ((left->isArray() || right->isArray() || left->getBasicType() == EbtStruct || right->getBasicType() == EbtStruct)
  ------------------
  |  Branch (3256:10): [True: 0, False: 621]
  |  Branch (3256:29): [True: 0, False: 621]
  |  Branch (3256:49): [True: 0, False: 621]
  |  Branch (3256:86): [True: 0, False: 621]
  ------------------
 3257|      0|        && left->getType() != right->getType())
  ------------------
  |  Branch (3257:12): [True: 0, False: 0]
  ------------------
 3258|      0|        return false;
 3259|       |
 3260|       |    // Base assumption:  just make the type the same as the left
 3261|       |    // operand.  Only deviations from this will be coded.
 3262|    621|    node.setType(left->getType());
 3263|    621|    node.getWritableType().getQualifier().clear();
 3264|       |
 3265|       |    // Composite and opaque types don't having pending operator changes, e.g.,
 3266|       |    // array, structure, and samplers.  Just establish final type and correctness.
 3267|    621|    if (left->isArray() || left->getBasicType() == EbtStruct || left->getBasicType() == EbtSampler) {
  ------------------
  |  Branch (3267:9): [True: 0, False: 621]
  |  Branch (3267:28): [True: 0, False: 621]
  |  Branch (3267:65): [True: 0, False: 621]
  ------------------
 3268|      0|        switch (op) {
 3269|      0|        case EOpEqual:
  ------------------
  |  Branch (3269:9): [True: 0, False: 0]
  ------------------
 3270|      0|        case EOpNotEqual:
  ------------------
  |  Branch (3270:9): [True: 0, False: 0]
  ------------------
 3271|      0|            if (left->getBasicType() == EbtSampler) {
  ------------------
  |  Branch (3271:17): [True: 0, False: 0]
  ------------------
 3272|       |                // can't compare samplers
 3273|      0|                return false;
 3274|      0|            } else {
 3275|       |                // Promote to conditional
 3276|      0|                node.setType(TType(EbtBool));
 3277|      0|            }
 3278|       |
 3279|      0|            return true;
 3280|       |
 3281|      0|        case EOpAssign:
  ------------------
  |  Branch (3281:9): [True: 0, False: 0]
  ------------------
 3282|       |            // Keep type from above
 3283|       |
 3284|      0|            return true;
 3285|       |
 3286|      0|        default:
  ------------------
  |  Branch (3286:9): [True: 0, False: 0]
  ------------------
 3287|      0|            return false;
 3288|      0|        }
 3289|      0|    }
 3290|       |
 3291|       |    //
 3292|       |    // We now have only scalars, vectors, and matrices to worry about.
 3293|       |    //
 3294|       |
 3295|       |    // HLSL implicitly promotes bool -> int for numeric operations.
 3296|       |    // (Implicit conversions to make the operands match each other's types were already done.)
 3297|    621|    if (getSource() == EShSourceHlsl &&
  ------------------
  |  Branch (3297:9): [True: 4, False: 617]
  ------------------
 3298|      4|        (left->getBasicType() == EbtBool || right->getBasicType() == EbtBool)) {
  ------------------
  |  Branch (3298:10): [True: 0, False: 4]
  |  Branch (3298:45): [True: 0, False: 4]
  ------------------
 3299|      0|        switch (op) {
 3300|      0|        case EOpLessThan:
  ------------------
  |  Branch (3300:9): [True: 0, False: 0]
  ------------------
 3301|      0|        case EOpGreaterThan:
  ------------------
  |  Branch (3301:9): [True: 0, False: 0]
  ------------------
 3302|      0|        case EOpLessThanEqual:
  ------------------
  |  Branch (3302:9): [True: 0, False: 0]
  ------------------
 3303|      0|        case EOpGreaterThanEqual:
  ------------------
  |  Branch (3303:9): [True: 0, False: 0]
  ------------------
 3304|       |
 3305|      0|        case EOpRightShift:
  ------------------
  |  Branch (3305:9): [True: 0, False: 0]
  ------------------
 3306|      0|        case EOpLeftShift:
  ------------------
  |  Branch (3306:9): [True: 0, False: 0]
  ------------------
 3307|       |
 3308|      0|        case EOpMod:
  ------------------
  |  Branch (3308:9): [True: 0, False: 0]
  ------------------
 3309|       |
 3310|      0|        case EOpAnd:
  ------------------
  |  Branch (3310:9): [True: 0, False: 0]
  ------------------
 3311|      0|        case EOpInclusiveOr:
  ------------------
  |  Branch (3311:9): [True: 0, False: 0]
  ------------------
 3312|      0|        case EOpExclusiveOr:
  ------------------
  |  Branch (3312:9): [True: 0, False: 0]
  ------------------
 3313|       |
 3314|      0|        case EOpAdd:
  ------------------
  |  Branch (3314:9): [True: 0, False: 0]
  ------------------
 3315|      0|        case EOpSub:
  ------------------
  |  Branch (3315:9): [True: 0, False: 0]
  ------------------
 3316|      0|        case EOpDiv:
  ------------------
  |  Branch (3316:9): [True: 0, False: 0]
  ------------------
 3317|      0|        case EOpMul:
  ------------------
  |  Branch (3317:9): [True: 0, False: 0]
  ------------------
 3318|      0|            if (left->getBasicType() == EbtBool)
  ------------------
  |  Branch (3318:17): [True: 0, False: 0]
  ------------------
 3319|      0|                left  = createConversion(EbtInt, left);
 3320|      0|            if (right->getBasicType() == EbtBool)
  ------------------
  |  Branch (3320:17): [True: 0, False: 0]
  ------------------
 3321|      0|                right = createConversion(EbtInt, right);
 3322|      0|            if (left == nullptr || right == nullptr)
  ------------------
  |  Branch (3322:17): [True: 0, False: 0]
  |  Branch (3322:36): [True: 0, False: 0]
  ------------------
 3323|      0|                return false;
 3324|      0|            node.setLeft(left);
 3325|      0|            node.setRight(right);
 3326|       |
 3327|       |            // Update the original base assumption on result type..
 3328|      0|            node.setType(left->getType());
 3329|      0|            node.getWritableType().getQualifier().clear();
 3330|       |
 3331|      0|            break;
 3332|       |
 3333|      0|        default:
  ------------------
  |  Branch (3333:9): [True: 0, False: 0]
  ------------------
 3334|      0|            break;
 3335|      0|        }
 3336|      0|    }
 3337|       |
 3338|       |    // Do general type checks against individual operands (comparing left and right is coming up, checking mixed shapes after that)
 3339|    621|    switch (op) {
 3340|      1|    case EOpLessThan:
  ------------------
  |  Branch (3340:5): [True: 1, False: 620]
  ------------------
 3341|      1|    case EOpGreaterThan:
  ------------------
  |  Branch (3341:5): [True: 0, False: 621]
  ------------------
 3342|      1|    case EOpLessThanEqual:
  ------------------
  |  Branch (3342:5): [True: 0, False: 621]
  ------------------
 3343|      1|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (3343:5): [True: 0, False: 621]
  ------------------
 3344|       |        // Relational comparisons need numeric types and will promote to scalar Boolean.
 3345|      1|        if (left->getBasicType() == EbtBool)
  ------------------
  |  Branch (3345:13): [True: 0, False: 1]
  ------------------
 3346|      0|            return false;
 3347|       |
 3348|      1|        node.setType(TType(EbtBool, EvqTemporary, left->getVectorSize()));
 3349|      1|        break;
 3350|       |
 3351|      0|    case EOpEqual:
  ------------------
  |  Branch (3351:5): [True: 0, False: 621]
  ------------------
 3352|      0|    case EOpNotEqual:
  ------------------
  |  Branch (3352:5): [True: 0, False: 621]
  ------------------
 3353|      0|        if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (3353:13): [True: 0, False: 0]
  ------------------
 3354|      0|            const int resultWidth = std::max(left->getVectorSize(), right->getVectorSize());
 3355|       |
 3356|       |            // In HLSL, == or != on vectors means component-wise comparison.
 3357|      0|            if (resultWidth > 1) {
  ------------------
  |  Branch (3357:17): [True: 0, False: 0]
  ------------------
 3358|      0|                op = (op == EOpEqual) ? EOpVectorEqual : EOpVectorNotEqual;
  ------------------
  |  Branch (3358:22): [True: 0, False: 0]
  ------------------
 3359|      0|                node.setOp(op);
 3360|      0|            }
 3361|       |
 3362|      0|            node.setType(TType(EbtBool, EvqTemporary, resultWidth));
 3363|      0|        } else {
 3364|       |            // All the above comparisons result in a bool (but not the vector compares)
 3365|      0|            node.setType(TType(EbtBool));
 3366|      0|        }
 3367|      0|        break;
 3368|       |
 3369|      0|    case EOpLogicalAnd:
  ------------------
  |  Branch (3369:5): [True: 0, False: 621]
  ------------------
 3370|      0|    case EOpLogicalOr:
  ------------------
  |  Branch (3370:5): [True: 0, False: 621]
  ------------------
 3371|      0|    case EOpLogicalXor:
  ------------------
  |  Branch (3371:5): [True: 0, False: 621]
  ------------------
 3372|       |        // logical ops operate only on Booleans or vectors of Booleans.
 3373|      0|        if (left->getBasicType() != EbtBool || left->isMatrix())
  ------------------
  |  Branch (3373:13): [True: 0, False: 0]
  |  Branch (3373:48): [True: 0, False: 0]
  ------------------
 3374|      0|                return false;
 3375|       |
 3376|      0|        if (getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (3376:13): [True: 0, False: 0]
  ------------------
 3377|       |            // logical ops operate only on scalar Booleans and will promote to scalar Boolean.
 3378|      0|            if (left->isVector())
  ------------------
  |  Branch (3378:17): [True: 0, False: 0]
  ------------------
 3379|      0|                return false;
 3380|      0|        }
 3381|       |
 3382|      0|        node.setType(TType(EbtBool, EvqTemporary, left->getVectorSize()));
 3383|      0|        break;
 3384|       |
 3385|      0|    case EOpRightShift:
  ------------------
  |  Branch (3385:5): [True: 0, False: 621]
  ------------------
 3386|      0|    case EOpLeftShift:
  ------------------
  |  Branch (3386:5): [True: 0, False: 621]
  ------------------
 3387|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (3387:5): [True: 0, False: 621]
  ------------------
 3388|      0|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (3388:5): [True: 0, False: 621]
  ------------------
 3389|       |
 3390|      0|    case EOpMod:
  ------------------
  |  Branch (3390:5): [True: 0, False: 621]
  ------------------
 3391|      0|    case EOpModAssign:
  ------------------
  |  Branch (3391:5): [True: 0, False: 621]
  ------------------
 3392|       |
 3393|      1|    case EOpAnd:
  ------------------
  |  Branch (3393:5): [True: 1, False: 620]
  ------------------
 3394|      1|    case EOpInclusiveOr:
  ------------------
  |  Branch (3394:5): [True: 0, False: 621]
  ------------------
 3395|      1|    case EOpExclusiveOr:
  ------------------
  |  Branch (3395:5): [True: 0, False: 621]
  ------------------
 3396|      1|    case EOpAndAssign:
  ------------------
  |  Branch (3396:5): [True: 0, False: 621]
  ------------------
 3397|      1|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (3397:5): [True: 0, False: 621]
  ------------------
 3398|      1|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (3398:5): [True: 0, False: 621]
  ------------------
 3399|      1|        if (getSource() == EShSourceHlsl)
  ------------------
  |  Branch (3399:13): [True: 0, False: 1]
  ------------------
 3400|      0|            break;
 3401|       |
 3402|       |        // Check for integer-only operands.
 3403|      1|        if (!isTypeInt(left->getBasicType()) && !isTypeInt(right->getBasicType()))
  ------------------
  |  Branch (3403:13): [True: 0, False: 1]
  |  Branch (3403:49): [True: 0, False: 0]
  ------------------
 3404|      0|            return false;
 3405|      1|        if (left->isMatrix() || right->isMatrix())
  ------------------
  |  Branch (3405:13): [True: 0, False: 1]
  |  Branch (3405:33): [True: 0, False: 1]
  ------------------
 3406|      0|            return false;
 3407|       |
 3408|      1|        break;
 3409|       |
 3410|    364|    case EOpAdd:
  ------------------
  |  Branch (3410:5): [True: 364, False: 257]
  ------------------
 3411|    502|    case EOpSub:
  ------------------
  |  Branch (3411:5): [True: 138, False: 483]
  ------------------
 3412|    502|    case EOpDiv:
  ------------------
  |  Branch (3412:5): [True: 0, False: 621]
  ------------------
 3413|    619|    case EOpMul:
  ------------------
  |  Branch (3413:5): [True: 117, False: 504]
  ------------------
 3414|    619|    case EOpAddAssign:
  ------------------
  |  Branch (3414:5): [True: 0, False: 621]
  ------------------
 3415|    619|    case EOpSubAssign:
  ------------------
  |  Branch (3415:5): [True: 0, False: 621]
  ------------------
 3416|    619|    case EOpMulAssign:
  ------------------
  |  Branch (3416:5): [True: 0, False: 621]
  ------------------
 3417|    619|    case EOpDivAssign:
  ------------------
  |  Branch (3417:5): [True: 0, False: 621]
  ------------------
 3418|       |        // check for non-Boolean operands
 3419|    619|        if (left->getBasicType() == EbtBool || right->getBasicType() == EbtBool)
  ------------------
  |  Branch (3419:13): [True: 0, False: 619]
  |  Branch (3419:48): [True: 0, False: 619]
  ------------------
 3420|      0|            return false;
 3421|    619|        break;
 3422|       |
 3423|    619|    default:
  ------------------
  |  Branch (3423:5): [True: 0, False: 621]
  ------------------
 3424|      0|        break;
 3425|    621|    }
 3426|       |
 3427|       |    // Compare left and right, and finish with the cases where the operand types must match
 3428|    621|    switch (op) {
 3429|      1|    case EOpLessThan:
  ------------------
  |  Branch (3429:5): [True: 1, False: 620]
  ------------------
 3430|      1|    case EOpGreaterThan:
  ------------------
  |  Branch (3430:5): [True: 0, False: 621]
  ------------------
 3431|      1|    case EOpLessThanEqual:
  ------------------
  |  Branch (3431:5): [True: 0, False: 621]
  ------------------
 3432|      1|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (3432:5): [True: 0, False: 621]
  ------------------
 3433|       |
 3434|      1|    case EOpEqual:
  ------------------
  |  Branch (3434:5): [True: 0, False: 621]
  ------------------
 3435|      1|    case EOpNotEqual:
  ------------------
  |  Branch (3435:5): [True: 0, False: 621]
  ------------------
 3436|      1|    case EOpVectorEqual:
  ------------------
  |  Branch (3436:5): [True: 0, False: 621]
  ------------------
 3437|      1|    case EOpVectorNotEqual:
  ------------------
  |  Branch (3437:5): [True: 0, False: 621]
  ------------------
 3438|       |
 3439|      1|    case EOpLogicalAnd:
  ------------------
  |  Branch (3439:5): [True: 0, False: 621]
  ------------------
 3440|      1|    case EOpLogicalOr:
  ------------------
  |  Branch (3440:5): [True: 0, False: 621]
  ------------------
 3441|      1|    case EOpLogicalXor:
  ------------------
  |  Branch (3441:5): [True: 0, False: 621]
  ------------------
 3442|      1|        return left->getType() == right->getType();
 3443|       |
 3444|      0|    case EOpMod:
  ------------------
  |  Branch (3444:5): [True: 0, False: 621]
  ------------------
 3445|      0|    case EOpModAssign:
  ------------------
  |  Branch (3445:5): [True: 0, False: 621]
  ------------------
 3446|       |
 3447|      1|    case EOpAnd:
  ------------------
  |  Branch (3447:5): [True: 1, False: 620]
  ------------------
 3448|      1|    case EOpInclusiveOr:
  ------------------
  |  Branch (3448:5): [True: 0, False: 621]
  ------------------
 3449|      1|    case EOpExclusiveOr:
  ------------------
  |  Branch (3449:5): [True: 0, False: 621]
  ------------------
 3450|      1|    case EOpAndAssign:
  ------------------
  |  Branch (3450:5): [True: 0, False: 621]
  ------------------
 3451|      1|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (3451:5): [True: 0, False: 621]
  ------------------
 3452|      1|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (3452:5): [True: 0, False: 621]
  ------------------
 3453|       |
 3454|    365|    case EOpAdd:
  ------------------
  |  Branch (3454:5): [True: 364, False: 257]
  ------------------
 3455|    503|    case EOpSub:
  ------------------
  |  Branch (3455:5): [True: 138, False: 483]
  ------------------
 3456|    503|    case EOpDiv:
  ------------------
  |  Branch (3456:5): [True: 0, False: 621]
  ------------------
 3457|       |
 3458|    503|    case EOpAddAssign:
  ------------------
  |  Branch (3458:5): [True: 0, False: 621]
  ------------------
 3459|    503|    case EOpSubAssign:
  ------------------
  |  Branch (3459:5): [True: 0, False: 621]
  ------------------
 3460|    503|    case EOpDivAssign:
  ------------------
  |  Branch (3460:5): [True: 0, False: 621]
  ------------------
 3461|       |        // Quick out in case the types do match
 3462|    503|        if (left->getType() == right->getType())
  ------------------
  |  Branch (3462:13): [True: 493, False: 10]
  ------------------
 3463|    493|            return true;
 3464|       |
 3465|     10|        [[fallthrough]];
 3466|       |
 3467|    127|    case EOpMul:
  ------------------
  |  Branch (3467:5): [True: 117, False: 504]
  ------------------
 3468|    127|    case EOpMulAssign:
  ------------------
  |  Branch (3468:5): [True: 0, False: 621]
  ------------------
 3469|       |        // At least the basic type has to match
 3470|    127|        if (left->getBasicType() != right->getBasicType())
  ------------------
  |  Branch (3470:13): [True: 0, False: 127]
  ------------------
 3471|      0|            return false;
 3472|    127|        break;
 3473|       |
 3474|    127|    default:
  ------------------
  |  Branch (3474:5): [True: 0, False: 621]
  ------------------
 3475|      0|        break;
 3476|    621|    }
 3477|       |
 3478|    127|    if (left->getType().isCoopMat() || right->getType().isCoopMat()) {
  ------------------
  |  Branch (3478:9): [True: 0, False: 127]
  |  Branch (3478:40): [True: 0, False: 127]
  ------------------
 3479|       |        // Operations on two cooperative matrices must have identical types
 3480|      0|        if (left->getType().isCoopMat() && right->getType().isCoopMat() &&
  ------------------
  |  Branch (3480:13): [True: 0, False: 0]
  |  Branch (3480:44): [True: 0, False: 0]
  ------------------
 3481|      0|            left->getType() != right->getType()) {
  ------------------
  |  Branch (3481:13): [True: 0, False: 0]
  ------------------
 3482|      0|            return false;
 3483|      0|        }
 3484|      0|        switch (op) {
 3485|      0|        case EOpMul:
  ------------------
  |  Branch (3485:9): [True: 0, False: 0]
  ------------------
 3486|      0|        case EOpMulAssign:
  ------------------
  |  Branch (3486:9): [True: 0, False: 0]
  ------------------
 3487|       |            // Mul not supported in NV_cooperative_matrix
 3488|      0|            if (left->getType().isCoopMatNV() && right->getType().isCoopMatNV()) {
  ------------------
  |  Branch (3488:17): [True: 0, False: 0]
  |  Branch (3488:50): [True: 0, False: 0]
  ------------------
 3489|      0|                return false;
 3490|      0|            }
 3491|       |            // NV_cooperative_matrix supports MulAssign is for mat*=scalar only.
 3492|       |            // KHR_cooperative_matrix supports it for mat*=mat as well.
 3493|      0|            if (op == EOpMulAssign && right->getType().isCoopMatNV()) {
  ------------------
  |  Branch (3493:17): [True: 0, False: 0]
  |  Branch (3493:39): [True: 0, False: 0]
  ------------------
 3494|      0|                return false;
 3495|      0|            }
 3496|       |            // Use MatrixTimesScalar if either operand is not a matrix. Otherwise use Mul.
 3497|      0|            if (!left->getType().isCoopMat() || !right->getType().isCoopMat()) {
  ------------------
  |  Branch (3497:17): [True: 0, False: 0]
  |  Branch (3497:49): [True: 0, False: 0]
  ------------------
 3498|      0|                node.setOp(op == EOpMulAssign ? EOpMatrixTimesScalarAssign : EOpMatrixTimesScalar);
  ------------------
  |  Branch (3498:28): [True: 0, False: 0]
  ------------------
 3499|      0|            }
 3500|       |            // In case of scalar*matrix, take the result type from the matrix.
 3501|      0|            if (right->getType().isCoopMat()) {
  ------------------
  |  Branch (3501:17): [True: 0, False: 0]
  ------------------
 3502|      0|                node.setType(right->getType());
 3503|      0|            }
 3504|      0|            return true;
 3505|      0|        case EOpAdd:
  ------------------
  |  Branch (3505:9): [True: 0, False: 0]
  ------------------
 3506|      0|        case EOpSub:
  ------------------
  |  Branch (3506:9): [True: 0, False: 0]
  ------------------
 3507|      0|        case EOpDiv:
  ------------------
  |  Branch (3507:9): [True: 0, False: 0]
  ------------------
 3508|      0|        case EOpAssign:
  ------------------
  |  Branch (3508:9): [True: 0, False: 0]
  ------------------
 3509|       |            // These require both to be cooperative matrices
 3510|      0|            if (!left->getType().isCoopMat() || !right->getType().isCoopMat()) {
  ------------------
  |  Branch (3510:17): [True: 0, False: 0]
  |  Branch (3510:49): [True: 0, False: 0]
  ------------------
 3511|      0|                return false;
 3512|      0|            }
 3513|      0|            return true;
 3514|      0|        default:
  ------------------
  |  Branch (3514:9): [True: 0, False: 0]
  ------------------
 3515|      0|            break;
 3516|      0|        }
 3517|      0|        return false;
 3518|      0|    }
 3519|       |
 3520|    127|    if (left->getType().isCoopVecNV() || right->getType().isCoopVecNV()) {
  ------------------
  |  Branch (3520:9): [True: 0, False: 127]
  |  Branch (3520:42): [True: 0, False: 127]
  ------------------
 3521|       |        // Operations on two cooperative vectors must have identical types
 3522|      0|        if (left->getType().isCoopVecNV() && right->getType().isCoopVecNV() &&
  ------------------
  |  Branch (3522:13): [True: 0, False: 0]
  |  Branch (3522:46): [True: 0, False: 0]
  ------------------
 3523|      0|            left->getType() != right->getType()) {
  ------------------
  |  Branch (3523:13): [True: 0, False: 0]
  ------------------
 3524|      0|            return false;
 3525|      0|        }
 3526|      0|        switch (op) {
 3527|      0|        case EOpMul:
  ------------------
  |  Branch (3527:9): [True: 0, False: 0]
  ------------------
 3528|      0|        case EOpMulAssign:
  ------------------
  |  Branch (3528:9): [True: 0, False: 0]
  ------------------
 3529|       |            // Use VectorTimesScalar if either operand is not a vector. Otherwise use Mul.
 3530|      0|            if (!left->getType().isCoopVecNV() || !right->getType().isCoopVecNV()) {
  ------------------
  |  Branch (3530:17): [True: 0, False: 0]
  |  Branch (3530:51): [True: 0, False: 0]
  ------------------
 3531|      0|                node.setOp(op == EOpMulAssign ? EOpVectorTimesScalarAssign : EOpVectorTimesScalar);
  ------------------
  |  Branch (3531:28): [True: 0, False: 0]
  ------------------
 3532|      0|            }
 3533|       |            // In case of scalar*vector, take the result type from the vector.
 3534|      0|            if (right->getType().isCoopVecNV()) {
  ------------------
  |  Branch (3534:17): [True: 0, False: 0]
  ------------------
 3535|      0|                node.setType(right->getType());
 3536|      0|            }
 3537|      0|            return true;
 3538|      0|        case EOpLeftShift:
  ------------------
  |  Branch (3538:9): [True: 0, False: 0]
  ------------------
 3539|      0|        case EOpLeftShiftAssign:
  ------------------
  |  Branch (3539:9): [True: 0, False: 0]
  ------------------
 3540|      0|        case EOpRightShift:
  ------------------
  |  Branch (3540:9): [True: 0, False: 0]
  ------------------
 3541|      0|        case EOpRightShiftAssign:
  ------------------
  |  Branch (3541:9): [True: 0, False: 0]
  ------------------
 3542|      0|        case EOpAdd:
  ------------------
  |  Branch (3542:9): [True: 0, False: 0]
  ------------------
 3543|      0|        case EOpSub:
  ------------------
  |  Branch (3543:9): [True: 0, False: 0]
  ------------------
 3544|      0|        case EOpDiv:
  ------------------
  |  Branch (3544:9): [True: 0, False: 0]
  ------------------
 3545|      0|        case EOpAssign:
  ------------------
  |  Branch (3545:9): [True: 0, False: 0]
  ------------------
 3546|       |            // These require both to be cooperative vectors
 3547|      0|            if (!left->getType().isCoopVecNV() || !right->getType().isCoopVecNV()) {
  ------------------
  |  Branch (3547:17): [True: 0, False: 0]
  |  Branch (3547:51): [True: 0, False: 0]
  ------------------
 3548|      0|                return false;
 3549|      0|            }
 3550|      0|            return true;
 3551|      0|        default:
  ------------------
  |  Branch (3551:9): [True: 0, False: 0]
  ------------------
 3552|      0|            break;
 3553|      0|        }
 3554|      0|        return false;
 3555|      0|    }
 3556|       |
 3557|    127|    bool vectorAndLongVectorMatch = TType::vectorAndLongVectorMatch(left->getType(), right->getType());
 3558|       |
 3559|       |    // Finish handling the case, for all ops, where both operands are scalars.
 3560|    127|    if (left->isScalar() && right->isScalar())
  ------------------
  |  Branch (3560:9): [True: 127, False: 0]
  |  Branch (3560:29): [True: 117, False: 10]
  ------------------
 3561|    117|        return true;
 3562|       |
 3563|       |    // Finish handling the case, for all ops, where there are two vectors of different sizes
 3564|     10|    if (left->isVector() && right->isVector() && left->getVectorSize() != right->getVectorSize() && right->getVectorSize() > 1)
  ------------------
  |  Branch (3564:9): [True: 0, False: 10]
  |  Branch (3564:29): [True: 0, False: 0]
  |  Branch (3564:50): [True: 0, False: 0]
  |  Branch (3564:101): [True: 0, False: 0]
  ------------------
 3565|      0|        return false;
 3566|       |
 3567|       |    // Finish handling the case, for all ops, where there are two vectors of different sizes
 3568|     10|    if (left->getType().isLongVector() && right->getType().isLongVector() && !left->getType().sameLongVectorShape(right->getType()))
  ------------------
  |  Branch (3568:9): [True: 0, False: 10]
  |  Branch (3568:43): [True: 0, False: 0]
  |  Branch (3568:78): [True: 0, False: 0]
  ------------------
 3569|      0|        return false;
 3570|       |
 3571|       |    //
 3572|       |    // We now have a mix of scalars, vectors, or matrices, for non-relational operations.
 3573|       |    //
 3574|       |
 3575|       |    // Can these two operands be combined, what is the resulting type?
 3576|     10|    TBasicType basicType = left->getBasicType();
 3577|     10|    switch (op) {
 3578|      0|    case EOpMul:
  ------------------
  |  Branch (3578:5): [True: 0, False: 10]
  ------------------
 3579|      0|        if (!left->isMatrix() && right->isMatrix()) {
  ------------------
  |  Branch (3579:13): [True: 0, False: 0]
  |  Branch (3579:34): [True: 0, False: 0]
  ------------------
 3580|      0|            if (left->isVector()) {
  ------------------
  |  Branch (3580:17): [True: 0, False: 0]
  ------------------
 3581|      0|                if (left->getVectorSize() != right->getMatrixRows())
  ------------------
  |  Branch (3581:21): [True: 0, False: 0]
  ------------------
 3582|      0|                    return false;
 3583|      0|                node.setOp(op = EOpVectorTimesMatrix);
 3584|      0|                node.setType(TType(basicType, EvqTemporary, right->getMatrixCols()));
 3585|      0|            } else {
 3586|      0|                node.setOp(op = EOpMatrixTimesScalar);
 3587|      0|                node.setType(TType(basicType, EvqTemporary, 0, right->getMatrixCols(), right->getMatrixRows()));
 3588|      0|            }
 3589|      0|        } else if (left->isMatrix() && !right->isMatrix()) {
  ------------------
  |  Branch (3589:20): [True: 0, False: 0]
  |  Branch (3589:40): [True: 0, False: 0]
  ------------------
 3590|      0|            if (right->isVector()) {
  ------------------
  |  Branch (3590:17): [True: 0, False: 0]
  ------------------
 3591|      0|                if (left->getMatrixCols() != right->getVectorSize())
  ------------------
  |  Branch (3591:21): [True: 0, False: 0]
  ------------------
 3592|      0|                    return false;
 3593|      0|                node.setOp(op = EOpMatrixTimesVector);
 3594|      0|                node.setType(TType(basicType, EvqTemporary, left->getMatrixRows()));
 3595|      0|            } else {
 3596|      0|                node.setOp(op = EOpMatrixTimesScalar);
 3597|      0|            }
 3598|      0|        } else if (left->isMatrix() && right->isMatrix()) {
  ------------------
  |  Branch (3598:20): [True: 0, False: 0]
  |  Branch (3598:40): [True: 0, False: 0]
  ------------------
 3599|      0|            if (left->getMatrixCols() != right->getMatrixRows())
  ------------------
  |  Branch (3599:17): [True: 0, False: 0]
  ------------------
 3600|      0|                return false;
 3601|      0|            node.setOp(op = EOpMatrixTimesMatrix);
 3602|      0|            node.setType(TType(basicType, EvqTemporary, 0, right->getMatrixCols(), left->getMatrixRows()));
 3603|      0|        } else if (! left->isMatrix() && ! right->isMatrix()) {
  ------------------
  |  Branch (3603:20): [True: 0, False: 0]
  |  Branch (3603:42): [True: 0, False: 0]
  ------------------
 3604|      0|            if (left->isVector() && right->isVector()) {
  ------------------
  |  Branch (3604:17): [True: 0, False: 0]
  |  Branch (3604:37): [True: 0, False: 0]
  ------------------
 3605|      0|                ; // leave as component product
 3606|      0|            } else if (left->isVector() || right->isVector()) {
  ------------------
  |  Branch (3606:24): [True: 0, False: 0]
  |  Branch (3606:44): [True: 0, False: 0]
  ------------------
 3607|      0|                node.setOp(op = EOpVectorTimesScalar);
 3608|      0|                if (right->isVector())
  ------------------
  |  Branch (3608:21): [True: 0, False: 0]
  ------------------
 3609|      0|                    node.setType(TType(basicType, EvqTemporary, right->getVectorSize()));
 3610|      0|            }
 3611|      0|        } else {
 3612|      0|            return false;
 3613|      0|        }
 3614|      0|        break;
 3615|      0|    case EOpMulAssign:
  ------------------
  |  Branch (3615:5): [True: 0, False: 10]
  ------------------
 3616|      0|        if (! left->isMatrix() && right->isMatrix()) {
  ------------------
  |  Branch (3616:13): [True: 0, False: 0]
  |  Branch (3616:35): [True: 0, False: 0]
  ------------------
 3617|      0|            if (left->isVector()) {
  ------------------
  |  Branch (3617:17): [True: 0, False: 0]
  ------------------
 3618|      0|                if (left->getVectorSize() != right->getMatrixRows() || left->getVectorSize() != right->getMatrixCols())
  ------------------
  |  Branch (3618:21): [True: 0, False: 0]
  |  Branch (3618:72): [True: 0, False: 0]
  ------------------
 3619|      0|                    return false;
 3620|      0|                node.setOp(op = EOpVectorTimesMatrixAssign);
 3621|      0|            } else {
 3622|      0|                return false;
 3623|      0|            }
 3624|      0|        } else if (left->isMatrix() && !right->isMatrix()) {
  ------------------
  |  Branch (3624:20): [True: 0, False: 0]
  |  Branch (3624:40): [True: 0, False: 0]
  ------------------
 3625|      0|            if (right->isVector()) {
  ------------------
  |  Branch (3625:17): [True: 0, False: 0]
  ------------------
 3626|      0|                return false;
 3627|      0|            } else {
 3628|      0|                node.setOp(op = EOpMatrixTimesScalarAssign);
 3629|      0|            }
 3630|      0|        } else if (left->isMatrix() && right->isMatrix()) {
  ------------------
  |  Branch (3630:20): [True: 0, False: 0]
  |  Branch (3630:40): [True: 0, False: 0]
  ------------------
 3631|      0|            if (left->getMatrixCols() != right->getMatrixCols() || left->getMatrixCols() != right->getMatrixRows())
  ------------------
  |  Branch (3631:17): [True: 0, False: 0]
  |  Branch (3631:68): [True: 0, False: 0]
  ------------------
 3632|      0|                return false;
 3633|      0|            node.setOp(op = EOpMatrixTimesMatrixAssign);
 3634|      0|        } else if (!left->isMatrix() && !right->isMatrix()) {
  ------------------
  |  Branch (3634:20): [True: 0, False: 0]
  |  Branch (3634:41): [True: 0, False: 0]
  ------------------
 3635|      0|            if (left->isVector() && right->isVector()) {
  ------------------
  |  Branch (3635:17): [True: 0, False: 0]
  |  Branch (3635:37): [True: 0, False: 0]
  ------------------
 3636|       |                // leave as component product
 3637|      0|            } else if (left->isVector() || right->isVector()) {
  ------------------
  |  Branch (3637:24): [True: 0, False: 0]
  |  Branch (3637:44): [True: 0, False: 0]
  ------------------
 3638|      0|                if (! left->isVector())
  ------------------
  |  Branch (3638:21): [True: 0, False: 0]
  ------------------
 3639|      0|                    return false;
 3640|      0|                node.setOp(op = EOpVectorTimesScalarAssign);
 3641|      0|            }
 3642|      0|        } else {
 3643|      0|            return false;
 3644|      0|        }
 3645|      0|        break;
 3646|       |
 3647|      0|    case EOpRightShift:
  ------------------
  |  Branch (3647:5): [True: 0, False: 10]
  ------------------
 3648|      0|    case EOpLeftShift:
  ------------------
  |  Branch (3648:5): [True: 0, False: 10]
  ------------------
 3649|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (3649:5): [True: 0, False: 10]
  ------------------
 3650|      0|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (3650:5): [True: 0, False: 10]
  ------------------
 3651|      0|        if (right->isVector() && (! left->isVector() || right->getVectorSize() != left->getVectorSize()))
  ------------------
  |  Branch (3651:13): [True: 0, False: 0]
  |  Branch (3651:35): [True: 0, False: 0]
  |  Branch (3651:57): [True: 0, False: 0]
  ------------------
 3652|      0|            return false;
 3653|      0|        break;
 3654|       |
 3655|      0|    case EOpAssign:
  ------------------
  |  Branch (3655:5): [True: 0, False: 10]
  ------------------
 3656|      0|        if ((left->getVectorSize() != right->getVectorSize() || left->getMatrixCols() != right->getMatrixCols() || left->getMatrixRows() != right->getMatrixRows()) &&
  ------------------
  |  Branch (3656:14): [True: 0, False: 0]
  |  Branch (3656:65): [True: 0, False: 0]
  |  Branch (3656:116): [True: 0, False: 0]
  ------------------
 3657|      0|            !vectorAndLongVectorMatch)
  ------------------
  |  Branch (3657:13): [True: 0, False: 0]
  ------------------
 3658|      0|            return false;
 3659|      0|        [[fallthrough]];
 3660|       |
 3661|     10|    case EOpAdd:
  ------------------
  |  Branch (3661:5): [True: 10, False: 0]
  ------------------
 3662|     10|    case EOpSub:
  ------------------
  |  Branch (3662:5): [True: 0, False: 10]
  ------------------
 3663|     10|    case EOpDiv:
  ------------------
  |  Branch (3663:5): [True: 0, False: 10]
  ------------------
 3664|     10|    case EOpMod:
  ------------------
  |  Branch (3664:5): [True: 0, False: 10]
  ------------------
 3665|     10|    case EOpAnd:
  ------------------
  |  Branch (3665:5): [True: 0, False: 10]
  ------------------
 3666|     10|    case EOpInclusiveOr:
  ------------------
  |  Branch (3666:5): [True: 0, False: 10]
  ------------------
 3667|     10|    case EOpExclusiveOr:
  ------------------
  |  Branch (3667:5): [True: 0, False: 10]
  ------------------
 3668|     10|    case EOpAddAssign:
  ------------------
  |  Branch (3668:5): [True: 0, False: 10]
  ------------------
 3669|     10|    case EOpSubAssign:
  ------------------
  |  Branch (3669:5): [True: 0, False: 10]
  ------------------
 3670|     10|    case EOpDivAssign:
  ------------------
  |  Branch (3670:5): [True: 0, False: 10]
  ------------------
 3671|     10|    case EOpModAssign:
  ------------------
  |  Branch (3671:5): [True: 0, False: 10]
  ------------------
 3672|     10|    case EOpAndAssign:
  ------------------
  |  Branch (3672:5): [True: 0, False: 10]
  ------------------
 3673|     10|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (3673:5): [True: 0, False: 10]
  ------------------
 3674|     10|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (3674:5): [True: 0, False: 10]
  ------------------
 3675|       |
 3676|     10|        if ((left->isMatrix() && right->isVector()) ||
  ------------------
  |  Branch (3676:14): [True: 0, False: 10]
  |  Branch (3676:34): [True: 0, False: 0]
  ------------------
 3677|     10|            (left->isVector() && right->isMatrix()) ||
  ------------------
  |  Branch (3677:14): [True: 0, False: 10]
  |  Branch (3677:34): [True: 0, False: 0]
  ------------------
 3678|     10|            left->getBasicType() != right->getBasicType())
  ------------------
  |  Branch (3678:13): [True: 0, False: 10]
  ------------------
 3679|      0|            return false;
 3680|     10|        if (left->isMatrix() && right->isMatrix() && (left->getMatrixCols() != right->getMatrixCols() || left->getMatrixRows() != right->getMatrixRows()))
  ------------------
  |  Branch (3680:13): [True: 0, False: 10]
  |  Branch (3680:33): [True: 0, False: 0]
  |  Branch (3680:55): [True: 0, False: 0]
  |  Branch (3680:106): [True: 0, False: 0]
  ------------------
 3681|      0|            return false;
 3682|     10|        if (left->isVector() && right->isVector() && left->getVectorSize() != right->getVectorSize())
  ------------------
  |  Branch (3682:13): [True: 0, False: 10]
  |  Branch (3682:33): [True: 0, False: 0]
  |  Branch (3682:54): [True: 0, False: 0]
  ------------------
 3683|      0|            return false;
 3684|     10|        if ((right->isVector() || right->isMatrix()) && !vectorAndLongVectorMatch) {
  ------------------
  |  Branch (3684:14): [True: 10, False: 0]
  |  Branch (3684:35): [True: 0, False: 0]
  |  Branch (3684:57): [True: 10, False: 0]
  ------------------
 3685|     10|            node.getWritableType().shallowCopy(right->getType());
 3686|     10|            node.getWritableType().getQualifier().makeTemporary();
 3687|     10|        }
 3688|     10|        break;
 3689|       |
 3690|      0|    default:
  ------------------
  |  Branch (3690:5): [True: 0, False: 10]
  ------------------
 3691|      0|        return false;
 3692|     10|    }
 3693|       |
 3694|       |    //
 3695|       |    // One more check for assignment.
 3696|       |    //
 3697|     10|    switch (op) {
 3698|       |    // The resulting type has to match the left operand.
 3699|      0|    case EOpAssign:
  ------------------
  |  Branch (3699:5): [True: 0, False: 10]
  ------------------
 3700|      0|    case EOpAddAssign:
  ------------------
  |  Branch (3700:5): [True: 0, False: 10]
  ------------------
 3701|      0|    case EOpSubAssign:
  ------------------
  |  Branch (3701:5): [True: 0, False: 10]
  ------------------
 3702|      0|    case EOpMulAssign:
  ------------------
  |  Branch (3702:5): [True: 0, False: 10]
  ------------------
 3703|      0|    case EOpDivAssign:
  ------------------
  |  Branch (3703:5): [True: 0, False: 10]
  ------------------
 3704|      0|    case EOpModAssign:
  ------------------
  |  Branch (3704:5): [True: 0, False: 10]
  ------------------
 3705|      0|    case EOpAndAssign:
  ------------------
  |  Branch (3705:5): [True: 0, False: 10]
  ------------------
 3706|      0|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (3706:5): [True: 0, False: 10]
  ------------------
 3707|      0|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (3707:5): [True: 0, False: 10]
  ------------------
 3708|      0|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (3708:5): [True: 0, False: 10]
  ------------------
 3709|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (3709:5): [True: 0, False: 10]
  ------------------
 3710|      0|        if (node.getType() != left->getType())
  ------------------
  |  Branch (3710:13): [True: 0, False: 0]
  ------------------
 3711|      0|            return false;
 3712|      0|        break;
 3713|     10|    default:
  ------------------
  |  Branch (3713:5): [True: 10, False: 0]
  ------------------
 3714|     10|        break;
 3715|     10|    }
 3716|       |
 3717|     10|    return true;
 3718|     10|}
_ZN7glslang13TIntermBinary15updatePrecisionEv:
 3815|    621|{
 3816|    621|     if (getBasicType() == EbtInt || getBasicType() == EbtUint ||
  ------------------
  |  Branch (3816:10): [True: 441, False: 180]
  |  Branch (3816:38): [True: 138, False: 42]
  ------------------
 3817|    620|         getBasicType() == EbtFloat) {
  ------------------
  |  Branch (3817:10): [True: 41, False: 1]
  ------------------
 3818|    620|       if (op == EOpRightShift || op == EOpLeftShift) {
  ------------------
  |  Branch (3818:12): [True: 0, False: 620]
  |  Branch (3818:35): [True: 0, False: 620]
  ------------------
 3819|       |         // For shifts get precision from left side only and thus no need to propagate
 3820|      0|         getQualifier().precision = left->getQualifier().precision;
 3821|    620|       } else {
 3822|    620|         getQualifier().precision = std::max(right->getQualifier().precision, left->getQualifier().precision);
 3823|    620|         if (getQualifier().precision != EpqNone) {
  ------------------
  |  Branch (3823:14): [True: 0, False: 620]
  ------------------
 3824|      0|           left->propagatePrecision(getQualifier().precision);
 3825|      0|           right->propagatePrecision(getQualifier().precision);
 3826|      0|         }
 3827|    620|       }
 3828|    620|    }
 3829|    621|}
_ZNK7glslang13TIntermediate20promoteConstantUnionENS_10TBasicTypeEPNS_20TIntermConstantUnionE:
 3886|  1.25k|{
 3887|  1.25k|    const TConstUnionArray& rightUnionArray = node->getConstArray();
 3888|  1.25k|    int size = node->getType().computeNumComponents();
 3889|       |
 3890|  1.25k|    TConstUnionArray leftUnionArray(size);
 3891|       |
 3892|  2.50k|    for (int i=0; i < size; i++) {
  ------------------
  |  Branch (3892:19): [True: 1.25k, False: 1.25k]
  ------------------
 3893|       |
 3894|  1.25k|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
 3895|  1.25k|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
 3896|       |
 3897|  1.25k|#define TO_ALL(Get)   \
 3898|  1.25k|        switch (promoteTo) { \
 3899|  1.25k|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
 3900|  1.25k|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
 3901|  1.25k|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
 3902|  1.25k|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
 3903|  1.25k|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
 3904|  1.25k|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
 3905|  1.25k|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
 3906|  1.25k|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
 3907|  1.25k|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
 3908|  1.25k|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
 3909|  1.25k|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
 3910|  1.25k|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
 3911|  1.25k|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
 3912|  1.25k|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
 3913|  1.25k|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
 3914|  1.25k|        default: return node; \
 3915|  1.25k|        }
 3916|       |
 3917|  1.25k|        switch (node->getType().getBasicType()) {
 3918|     79|        case EbtFloat: TO_ALL(getDConst); break;
  ------------------
  |  | 3898|     79|        switch (promoteTo) { \
  |  | 3899|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3899:9): [True: 0, False: 79]
  |  |  ------------------
  |  | 3900|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3900:9): [True: 0, False: 79]
  |  |  ------------------
  |  | 3901|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3901:9): [True: 0, False: 79]
  |  |  ------------------
  |  | 3902|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3902:9): [True: 0, False: 79]
  |  |  ------------------
  |  | 3903|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3903:9): [True: 0, False: 79]
  |  |  ------------------
  |  | 3904|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3904:9): [True: 0, False: 79]
  |  |  ------------------
  |  | 3905|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3905:9): [True: 0, False: 79]
  |  |  ------------------
  |  | 3906|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3906:9): [True: 0, False: 79]
  |  |  ------------------
  |  | 3907|     79|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|     79|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3907:9): [True: 79, False: 0]
  |  |  ------------------
  |  | 3908|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3908:9): [True: 0, False: 79]
  |  |  ------------------
  |  | 3909|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 79]
  |  |  ------------------
  |  | 3910|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 79]
  |  |  ------------------
  |  | 3911|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 0, False: 79]
  |  |  ------------------
  |  | 3912|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 79]
  |  |  ------------------
  |  | 3913|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3895|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 79]
  |  |  ------------------
  |  | 3914|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 79]
  |  |  ------------------
  |  | 3915|     79|        }
  ------------------
  |  Branch (3918:9): [True: 79, False: 1.17k]
  ------------------
 3919|  1.17k|        case EbtInt: TO_ALL(getIConst); break;
  ------------------
  |  | 3898|  1.17k|        switch (promoteTo) { \
  |  | 3899|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3899:9): [True: 0, False: 1.17k]
  |  |  ------------------
  |  | 3900|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3900:9): [True: 0, False: 1.17k]
  |  |  ------------------
  |  | 3901|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3901:9): [True: 0, False: 1.17k]
  |  |  ------------------
  |  | 3902|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3902:9): [True: 0, False: 1.17k]
  |  |  ------------------
  |  | 3903|     41|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|     41|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3903:9): [True: 41, False: 1.13k]
  |  |  ------------------
  |  | 3904|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3904:9): [True: 0, False: 1.17k]
  |  |  ------------------
  |  | 3905|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3905:9): [True: 0, False: 1.17k]
  |  |  ------------------
  |  | 3906|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3906:9): [True: 0, False: 1.17k]
  |  |  ------------------
  |  | 3907|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3907:9): [True: 0, False: 1.17k]
  |  |  ------------------
  |  | 3908|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3908:9): [True: 0, False: 1.17k]
  |  |  ------------------
  |  | 3909|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 1.17k]
  |  |  ------------------
  |  | 3910|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 1.17k]
  |  |  ------------------
  |  | 3911|  1.11k|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|  1.11k|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 1.11k, False: 55]
  |  |  ------------------
  |  | 3912|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 1.17k]
  |  |  ------------------
  |  | 3913|     14|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3895|     14|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 14, False: 1.15k]
  |  |  ------------------
  |  | 3914|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 1.17k]
  |  |  ------------------
  |  | 3915|  1.17k|        }
  ------------------
  |  Branch (3919:9): [True: 1.17k, False: 83]
  ------------------
 3920|      0|        case EbtUint: TO_ALL(getUConst); break;
  ------------------
  |  | 3898|      0|        switch (promoteTo) { \
  |  | 3899|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3899:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3900|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3900:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3901|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3901:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3902|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3902:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3903|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3903:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3904|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3904:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3905|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3905:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3906|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3906:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3907|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3907:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3908|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3908:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3909|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3910|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3911|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3912|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3913|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3895|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3914|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3915|      0|        }
  ------------------
  |  Branch (3920:9): [True: 0, False: 1.25k]
  ------------------
 3921|      4|        case EbtBool: TO_ALL(getBConst); break;
  ------------------
  |  | 3898|      4|        switch (promoteTo) { \
  |  | 3899|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3899:9): [True: 0, False: 4]
  |  |  ------------------
  |  | 3900|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3900:9): [True: 0, False: 4]
  |  |  ------------------
  |  | 3901|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3901:9): [True: 0, False: 4]
  |  |  ------------------
  |  | 3902|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3902:9): [True: 0, False: 4]
  |  |  ------------------
  |  | 3903|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3903:9): [True: 0, False: 4]
  |  |  ------------------
  |  | 3904|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3904:9): [True: 0, False: 4]
  |  |  ------------------
  |  | 3905|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3905:9): [True: 0, False: 4]
  |  |  ------------------
  |  | 3906|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3906:9): [True: 0, False: 4]
  |  |  ------------------
  |  | 3907|      2|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      2|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3907:9): [True: 2, False: 2]
  |  |  ------------------
  |  | 3908|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3908:9): [True: 0, False: 4]
  |  |  ------------------
  |  | 3909|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 4]
  |  |  ------------------
  |  | 3910|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 4]
  |  |  ------------------
  |  | 3911|      2|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      2|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 2, False: 2]
  |  |  ------------------
  |  | 3912|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 4]
  |  |  ------------------
  |  | 3913|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3895|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 4]
  |  |  ------------------
  |  | 3914|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 4]
  |  |  ------------------
  |  | 3915|      4|        }
  ------------------
  |  Branch (3921:9): [True: 4, False: 1.25k]
  ------------------
 3922|      0|        case EbtFloat16: TO_ALL(getDConst); break;
  ------------------
  |  | 3898|      0|        switch (promoteTo) { \
  |  | 3899|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3899:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3900|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3900:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3901|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3901:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3902|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3902:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3903|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3903:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3904|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3904:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3905|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3905:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3906|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3906:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3907|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3907:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3908|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3908:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3909|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3910|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3911|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3912|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3913|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3895|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3914|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3915|      0|        }
  ------------------
  |  Branch (3922:9): [True: 0, False: 1.25k]
  ------------------
 3923|      0|        case EbtBFloat16: TO_ALL(getDConst); break;
  ------------------
  |  | 3898|      0|        switch (promoteTo) { \
  |  | 3899|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3899:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3900|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3900:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3901|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3901:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3902|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3902:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3903|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3903:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3904|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3904:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3905|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3905:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3906|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3906:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3907|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3907:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3908|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3908:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3909|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3910|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3911|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3912|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3913|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3895|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3914|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3915|      0|        }
  ------------------
  |  Branch (3923:9): [True: 0, False: 1.25k]
  ------------------
 3924|      0|        case EbtFloatE5M2: TO_ALL(getDConst); break;
  ------------------
  |  | 3898|      0|        switch (promoteTo) { \
  |  | 3899|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3899:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3900|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3900:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3901|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3901:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3902|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3902:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3903|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3903:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3904|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3904:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3905|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3905:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3906|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3906:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3907|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3907:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3908|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3908:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3909|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3910|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3911|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3912|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3913|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3895|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3914|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3915|      0|        }
  ------------------
  |  Branch (3924:9): [True: 0, False: 1.25k]
  ------------------
 3925|      0|        case EbtFloatE4M3: TO_ALL(getDConst); break;
  ------------------
  |  | 3898|      0|        switch (promoteTo) { \
  |  | 3899|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3899:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3900|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3900:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3901|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3901:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3902|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3902:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3903|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3903:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3904|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3904:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3905|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3905:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3906|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3906:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3907|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3907:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3908|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3908:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3909|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3910|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3911|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3912|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3913|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3895|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3914|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3915|      0|        }
  ------------------
  |  Branch (3925:9): [True: 0, False: 1.25k]
  ------------------
 3926|      0|        case EbtDouble: TO_ALL(getDConst); break;
  ------------------
  |  | 3898|      0|        switch (promoteTo) { \
  |  | 3899|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3899:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3900|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3900:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3901|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3901:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3902|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3902:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3903|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3903:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3904|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3904:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3905|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3905:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3906|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3906:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3907|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3907:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3908|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3908:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3909|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3910|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3911|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3912|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3913|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3895|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3914|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3915|      0|        }
  ------------------
  |  Branch (3926:9): [True: 0, False: 1.25k]
  ------------------
 3927|      0|        case EbtInt8: TO_ALL(getI8Const); break;
  ------------------
  |  | 3898|      0|        switch (promoteTo) { \
  |  | 3899|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3899:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3900|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3900:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3901|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3901:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3902|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3902:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3903|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3903:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3904|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3904:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3905|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3905:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3906|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3906:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3907|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3907:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3908|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3908:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3909|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3910|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3911|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3912|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3913|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3895|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3914|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3915|      0|        }
  ------------------
  |  Branch (3927:9): [True: 0, False: 1.25k]
  ------------------
 3928|      0|        case EbtInt16: TO_ALL(getI16Const); break;
  ------------------
  |  | 3898|      0|        switch (promoteTo) { \
  |  | 3899|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3899:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3900|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3900:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3901|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3901:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3902|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3902:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3903|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3903:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3904|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3904:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3905|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3905:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3906|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3906:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3907|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3907:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3908|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3908:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3909|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3910|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3911|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3912|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3913|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3895|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3914|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3915|      0|        }
  ------------------
  |  Branch (3928:9): [True: 0, False: 1.25k]
  ------------------
 3929|      0|        case EbtInt64: TO_ALL(getI64Const); break;
  ------------------
  |  | 3898|      0|        switch (promoteTo) { \
  |  | 3899|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3899:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3900|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3900:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3901|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3901:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3902|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3902:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3903|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3903:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3904|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3904:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3905|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3905:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3906|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3906:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3907|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3907:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3908|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3908:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3909|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3910|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3911|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3912|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3913|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3895|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3914|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3915|      0|        }
  ------------------
  |  Branch (3929:9): [True: 0, False: 1.25k]
  ------------------
 3930|      0|        case EbtUint8: TO_ALL(getU8Const); break;
  ------------------
  |  | 3898|      0|        switch (promoteTo) { \
  |  | 3899|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3899:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3900|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3900:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3901|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3901:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3902|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3902:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3903|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3903:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3904|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3904:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3905|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3905:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3906|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3906:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3907|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3907:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3908|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3908:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3909|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3910|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3911|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3912|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3913|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3895|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3914|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3915|      0|        }
  ------------------
  |  Branch (3930:9): [True: 0, False: 1.25k]
  ------------------
 3931|      0|        case EbtUint16: TO_ALL(getU16Const); break;
  ------------------
  |  | 3898|      0|        switch (promoteTo) { \
  |  | 3899|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3899:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3900|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3900:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3901|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3901:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3902|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3902:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3903|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3903:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3904|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3904:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3905|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3905:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3906|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3906:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3907|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3907:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3908|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3908:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3909|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3910|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3911|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3912|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3913|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3895|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3914|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3915|      0|        }
  ------------------
  |  Branch (3931:9): [True: 0, False: 1.25k]
  ------------------
 3932|      0|        case EbtUint64: TO_ALL(getU64Const); break;
  ------------------
  |  | 3898|      0|        switch (promoteTo) { \
  |  | 3899|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3899:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3900|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3900:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3901|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3901:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3902|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3902:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3903|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3903:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3904|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3904:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3905|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3905:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3906|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3906:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3907|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3907:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3908|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3908:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3909|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3909:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3910|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3911|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3911:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3912|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3894|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3912:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3913|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3895|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3913:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3914|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3914:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3915|      0|        }
  ------------------
  |  Branch (3932:9): [True: 0, False: 1.25k]
  ------------------
 3933|      0|        default: return node;
  ------------------
  |  Branch (3933:9): [True: 0, False: 1.25k]
  ------------------
 3934|  1.25k|        }
 3935|  1.25k|    }
 3936|       |
 3937|  1.25k|    const TType& t = node->getType();
 3938|       |
 3939|  1.25k|    return addConstantUnion(leftUnionArray, TType(promoteTo, t.getQualifier().storage, t.getVectorSize(), t.getMatrixCols(), t.getMatrixRows()),
 3940|  1.25k|                            node->getLoc());
 3941|  1.25k|}
_ZN7glslang13TIntermediate22specConstantPropagatesERKNS_12TIntermTypedES3_:
 3954|     45|{
 3955|     45|    return (node1.getType().getQualifier().isSpecConstant() && node2.getType().getQualifier().isConstant()) ||
  ------------------
  |  Branch (3955:13): [True: 0, False: 45]
  |  Branch (3955:64): [True: 0, False: 0]
  ------------------
 3956|     45|           (node2.getType().getQualifier().isSpecConstant() && node1.getType().getQualifier().isConstant());
  ------------------
  |  Branch (3956:13): [True: 0, False: 45]
  |  Branch (3956:64): [True: 0, False: 0]
  ------------------
 3957|     45|}
Intermediate.cpp:_ZN7glslangL42canSignedIntTypeRepresentAllUnsignedValuesENS_10TBasicTypeES0_:
 1676|    866|{
 1677|    866|    switch(sintType) {
 1678|      0|    case EbtInt8:
  ------------------
  |  Branch (1678:5): [True: 0, False: 866]
  ------------------
 1679|      0|        switch(uintType) {
 1680|      0|        case EbtUint8:
  ------------------
  |  Branch (1680:9): [True: 0, False: 0]
  ------------------
 1681|      0|        case EbtUint16:
  ------------------
  |  Branch (1681:9): [True: 0, False: 0]
  ------------------
 1682|      0|        case EbtUint:
  ------------------
  |  Branch (1682:9): [True: 0, False: 0]
  ------------------
 1683|      0|        case EbtUint64:
  ------------------
  |  Branch (1683:9): [True: 0, False: 0]
  ------------------
 1684|      0|            return false;
 1685|      0|        default:
  ------------------
  |  Branch (1685:9): [True: 0, False: 0]
  ------------------
 1686|      0|            assert(false);
 1687|      0|            return false;
 1688|      0|        }
 1689|      0|        break;
 1690|      0|    case EbtInt16:
  ------------------
  |  Branch (1690:5): [True: 0, False: 866]
  ------------------
 1691|      0|        switch(uintType) {
 1692|      0|        case EbtUint8:
  ------------------
  |  Branch (1692:9): [True: 0, False: 0]
  ------------------
 1693|      0|            return true;
 1694|      0|        case EbtUint16:
  ------------------
  |  Branch (1694:9): [True: 0, False: 0]
  ------------------
 1695|      0|        case EbtUint:
  ------------------
  |  Branch (1695:9): [True: 0, False: 0]
  ------------------
 1696|      0|        case EbtUint64:
  ------------------
  |  Branch (1696:9): [True: 0, False: 0]
  ------------------
 1697|      0|            return false;
 1698|      0|        default:
  ------------------
  |  Branch (1698:9): [True: 0, False: 0]
  ------------------
 1699|      0|            assert(false);
 1700|      0|            return false;
 1701|      0|        }
 1702|      0|        break;
 1703|    866|    case EbtInt:
  ------------------
  |  Branch (1703:5): [True: 866, False: 0]
  ------------------
 1704|    866|        switch(uintType) {
 1705|      0|        case EbtUint8:
  ------------------
  |  Branch (1705:9): [True: 0, False: 866]
  ------------------
 1706|      0|        case EbtUint16:
  ------------------
  |  Branch (1706:9): [True: 0, False: 866]
  ------------------
 1707|      0|            return true;
 1708|    866|        case EbtUint:
  ------------------
  |  Branch (1708:9): [True: 866, False: 0]
  ------------------
 1709|    866|            return false;
 1710|      0|        default:
  ------------------
  |  Branch (1710:9): [True: 0, False: 866]
  ------------------
 1711|      0|            assert(false);
 1712|      0|            return false;
 1713|    866|        }
 1714|      0|        break;
 1715|      0|    case EbtInt64:
  ------------------
  |  Branch (1715:5): [True: 0, False: 866]
  ------------------
 1716|      0|        switch(uintType) {
 1717|      0|        case EbtUint8:
  ------------------
  |  Branch (1717:9): [True: 0, False: 0]
  ------------------
 1718|      0|        case EbtUint16:
  ------------------
  |  Branch (1718:9): [True: 0, False: 0]
  ------------------
 1719|      0|        case EbtUint:
  ------------------
  |  Branch (1719:9): [True: 0, False: 0]
  ------------------
 1720|      0|            return true;
 1721|      0|        case EbtUint64:
  ------------------
  |  Branch (1721:9): [True: 0, False: 0]
  ------------------
 1722|      0|            return false;
 1723|      0|        default:
  ------------------
  |  Branch (1723:9): [True: 0, False: 0]
  ------------------
 1724|      0|            assert(false);
 1725|      0|            return false;
 1726|      0|        }
 1727|      0|        break;
 1728|      0|    default:
  ------------------
  |  Branch (1728:5): [True: 0, False: 866]
  ------------------
 1729|       |        assert(false);
 1730|      0|        return false;
 1731|    866|    }
 1732|    866|}
Intermediate.cpp:_ZN7glslangL28getCorrespondingUnsignedTypeENS_10TBasicTypeE:
 1736|  1.73k|{
 1737|  1.73k|    switch(type) {
 1738|      0|    case EbtInt8:
  ------------------
  |  Branch (1738:5): [True: 0, False: 1.73k]
  ------------------
 1739|      0|        return EbtUint8;
 1740|      0|    case EbtInt16:
  ------------------
  |  Branch (1740:5): [True: 0, False: 1.73k]
  ------------------
 1741|      0|        return EbtUint16;
 1742|  1.73k|    case EbtInt:
  ------------------
  |  Branch (1742:5): [True: 1.73k, False: 0]
  ------------------
 1743|  1.73k|        return EbtUint;
 1744|      0|    case EbtInt64:
  ------------------
  |  Branch (1744:5): [True: 0, False: 1.73k]
  ------------------
 1745|      0|        return EbtUint64;
 1746|      0|    default:
  ------------------
  |  Branch (1746:5): [True: 0, False: 1.73k]
  ------------------
 1747|       |        assert(false);
 1748|      0|        return EbtNumTypes;
 1749|  1.73k|    }
 1750|  1.73k|}

_ZN7glslang17TParseContextBase13outputMessageERKNS_10TSourceLocEPKcS5_S5_NS_11TPrefixTypeEP13__va_list_tag:
   55|  10.9k|{
   56|  10.9k|    const int maxSize = MaxTokenLength + 200;
   57|  10.9k|    char szExtraInfo[maxSize];
   58|       |
   59|  10.9k|    safe_vsprintf(szExtraInfo, maxSize, szExtraInfoFormat, args);
   60|       |
   61|  10.9k|    infoSink.info.prefix(prefix);
   62|  10.9k|    infoSink.info.location(loc, messages & EShMsgAbsolutePath, messages & EShMsgDisplayErrorColumn);
   63|  10.9k|    infoSink.info << "'" << szToken <<  "' : " << szReason << " " << szExtraInfo << "\n";
   64|       |
   65|  10.9k|    if (prefix == EPrefixError) {
  ------------------
  |  Branch (65:9): [True: 5.20k, False: 5.78k]
  ------------------
   66|  5.20k|        ++numErrors;
   67|  5.20k|    }
   68|  10.9k|}
_ZN7glslang17TParseContextBase5errorERKNS_10TSourceLocEPKcS5_S5_z:
   72|  13.2k|{
   73|  13.2k|    if (messages & EShMsgOnlyPreprocessor)
  ------------------
  |  Branch (73:9): [True: 1.27k, False: 11.9k]
  ------------------
   74|  1.27k|        return;
   75|       |    // If enhanced msg readability, only print one error
   76|  11.9k|    if (messages & EShMsgEnhanced && numErrors > 0)
  ------------------
  |  Branch (76:9): [True: 7.04k, False: 4.91k]
  |  Branch (76:38): [True: 7.03k, False: 9]
  ------------------
   77|  7.03k|        return;
   78|  4.91k|    va_list args;
   79|  4.91k|    va_start(args, szExtraInfoFormat);
   80|  4.91k|    outputMessage(loc, szReason, szToken, szExtraInfoFormat, EPrefixError, args);
   81|  4.91k|    va_end(args);
   82|       |
   83|  4.91k|    if ((messages & EShMsgCascadingErrors) == 0)
  ------------------
  |  Branch (83:9): [True: 4.70k, False: 212]
  ------------------
   84|  4.70k|        currentScanner->setEndOfInput();
   85|  4.91k|}
_ZN7glslang17TParseContextBase4warnERKNS_10TSourceLocEPKcS5_S5_z:
   89|  5.78k|{
   90|  5.78k|    if (suppressWarnings())
  ------------------
  |  Branch (90:9): [True: 0, False: 5.78k]
  ------------------
   91|      0|        return;
   92|  5.78k|    va_list args;
   93|  5.78k|    va_start(args, szExtraInfoFormat);
   94|  5.78k|    outputMessage(loc, szReason, szToken, szExtraInfoFormat, EPrefixWarning, args);
   95|       |    va_end(args);
   96|  5.78k|}
_ZN7glslang17TParseContextBase7ppErrorERKNS_10TSourceLocEPKcS5_S5_z:
  100|    287|{
  101|    287|    va_list args;
  102|    287|    va_start(args, szExtraInfoFormat);
  103|    287|    outputMessage(loc, szReason, szToken, szExtraInfoFormat, EPrefixError, args);
  104|    287|    va_end(args);
  105|       |
  106|    287|    if ((messages & EShMsgCascadingErrors) == 0)
  ------------------
  |  Branch (106:9): [True: 32, False: 255]
  ------------------
  107|     32|        currentScanner->setEndOfInput();
  108|    287|}
_ZN7glslang17TParseContextBase16rValueErrorCheckERKNS_10TSourceLocEPKcPNS_12TIntermTypedE:
  232|  9.07k|{
  233|  9.07k|    if (! node)
  ------------------
  |  Branch (233:9): [True: 0, False: 9.07k]
  ------------------
  234|      0|        return;
  235|       |
  236|  9.07k|    TIntermBinary* binaryNode = node->getAsBinaryNode();
  237|  9.07k|    const TIntermSymbol* symNode = node->getAsSymbolNode();
  238|       |
  239|  9.07k|    if (node->getQualifier().isWriteOnly()) {
  ------------------
  |  Branch (239:9): [True: 0, False: 9.07k]
  ------------------
  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|  9.07k|    } else {
  255|  9.07k|        if (binaryNode) {
  ------------------
  |  Branch (255:13): [True: 1, False: 9.07k]
  ------------------
  256|      1|            switch (binaryNode->getOp()) {
  257|      0|            case EOpIndexDirect:
  ------------------
  |  Branch (257:13): [True: 0, False: 1]
  ------------------
  258|      0|            case EOpIndexIndirect:
  ------------------
  |  Branch (258:13): [True: 0, False: 1]
  ------------------
  259|      0|            case EOpIndexDirectStruct:
  ------------------
  |  Branch (259:13): [True: 0, False: 1]
  ------------------
  260|      0|            case EOpVectorSwizzle:
  ------------------
  |  Branch (260:13): [True: 0, False: 1]
  ------------------
  261|      0|            case EOpMatrixSwizzle:
  ------------------
  |  Branch (261:13): [True: 0, False: 1]
  ------------------
  262|      0|                rValueErrorCheck(loc, op, binaryNode->getLeft());
  263|      0|                break;
  264|      1|            default:
  ------------------
  |  Branch (264:13): [True: 1, False: 0]
  ------------------
  265|      1|                break;
  266|      1|            }
  267|      1|        }
  268|  9.07k|    }
  269|  9.07k|}
_ZN7glslang17TParseContextBase12trackLinkageERNS_7TSymbolE:
  278|  16.2k|{
  279|  16.2k|    if (!parsingBuiltins)
  ------------------
  |  Branch (279:9): [True: 2, False: 16.2k]
  ------------------
  280|      2|        linkageSymbols.push_back(&symbol);
  281|  16.2k|}
_ZN7glslang17TParseContextBase14selectFunctionENS_7TVectorIPKNS_9TFunctionEEERS3_NSt3__18functionIFbRKNS_5TTypeESB_NS_9TOperatorEiEEENS8_IFbSB_SB_SB_EEERb:
  386|     68|{
  387|       |//
  388|       |// Operation
  389|       |//
  390|       |// 1. Prune the input list of candidates down to a list of viable candidates,
  391|       |// where each viable candidate has
  392|       |//
  393|       |//  * at least as many parameters as there are calling arguments, with any
  394|       |//    remaining parameters being optional or having default values
  395|       |//  * each parameter is true under convertible(A, B), where A is the calling
  396|       |//    type for in and B is the formal type, and in addition, for out B is the
  397|       |//    calling type and A is the formal type
  398|       |//
  399|       |// 2. If there are no viable candidates, return with no match.
  400|       |//
  401|       |// 3. If there is only one viable candidate, it is the best match.
  402|       |//
  403|       |// 4. If there are multiple viable candidates, select the first viable candidate
  404|       |// as the incumbent. Compare the incumbent to the next viable candidate, and if
  405|       |// that candidate is better (bullets below), make it the incumbent. Repeat, with
  406|       |// a linear walk through the viable candidate list. The final incumbent will be
  407|       |// returned as the best match. A viable candidate is better than the incumbent if
  408|       |//
  409|       |//  * it has a function argument with a better(...) conversion than the incumbent,
  410|       |//    for all directions needed by in and out
  411|       |//  * the incumbent has no argument with a better(...) conversion then the
  412|       |//    candidate, for either in or out (as needed)
  413|       |//
  414|       |// 5. Check for ambiguity by comparing the best match against all other viable
  415|       |// candidates. If any other viable candidate has a function argument with a
  416|       |// better(...) conversion than the best candidate (for either in or out
  417|       |// directions), return that there was a tie for best.
  418|       |//
  419|       |
  420|     68|    tie = false;
  421|       |
  422|       |    // 1. prune to viable...
  423|     68|    TVector<const TFunction*> viableCandidates;
  424|     68|    for (auto it = candidateList.begin(); it != candidateList.end(); ++it) {
  ------------------
  |  Branch (424:43): [True: 0, False: 68]
  ------------------
  425|      0|        const TFunction& candidate = *(*it);
  426|       |
  427|       |        // to even be a potential match, number of arguments must be >= the number of
  428|       |        // fixed (non-default) parameters, and <= the total (including parameter with defaults).
  429|      0|        if (call.getParamCount() < candidate.getFixedParamCount() ||
  ------------------
  |  Branch (429:13): [True: 0, False: 0]
  ------------------
  430|      0|            (call.getParamCount() > candidate.getParamCount() && !candidate.isVariadic()))
  ------------------
  |  Branch (430:14): [True: 0, False: 0]
  |  Branch (430:66): [True: 0, False: 0]
  ------------------
  431|      0|            continue;
  432|       |
  433|       |        // see if arguments are convertible
  434|      0|        bool viable = true;
  435|       |
  436|       |        // The call can have fewer parameters than the candidate, if some have defaults.
  437|      0|        const int paramCount = std::min(call.getParamCount(), candidate.getParamCount());
  438|      0|        for (int param = 0; param < paramCount; ++param) {
  ------------------
  |  Branch (438:29): [True: 0, False: 0]
  ------------------
  439|      0|            if (candidate[param].type->getQualifier().isParamInput()) {
  ------------------
  |  Branch (439:17): [True: 0, False: 0]
  ------------------
  440|      0|                if (! convertible(*call[param].type, *candidate[param].type, candidate.getBuiltInOp(), param)) {
  ------------------
  |  Branch (440:21): [True: 0, False: 0]
  ------------------
  441|      0|                    viable = false;
  442|      0|                    break;
  443|      0|                }
  444|      0|            }
  445|      0|            if (candidate[param].type->getQualifier().isParamOutput()) {
  ------------------
  |  Branch (445:17): [True: 0, False: 0]
  ------------------
  446|      0|                if (! convertible(*candidate[param].type, *call[param].type, candidate.getBuiltInOp(), param)) {
  ------------------
  |  Branch (446:21): [True: 0, False: 0]
  ------------------
  447|      0|                    viable = false;
  448|      0|                    break;
  449|      0|                }
  450|      0|            }
  451|      0|        }
  452|       |
  453|      0|        if (viable)
  ------------------
  |  Branch (453:13): [True: 0, False: 0]
  ------------------
  454|      0|            viableCandidates.push_back(&candidate);
  455|      0|    }
  456|       |
  457|       |    // 2. none viable...
  458|     68|    if (viableCandidates.size() == 0)
  ------------------
  |  Branch (458:9): [True: 68, False: 0]
  ------------------
  459|     68|        return nullptr;
  460|       |
  461|       |    // 3. only one viable...
  462|      0|    if (viableCandidates.size() == 1)
  ------------------
  |  Branch (462:9): [True: 0, False: 0]
  ------------------
  463|      0|        return viableCandidates.front();
  464|       |
  465|       |    // 4. find best...
  466|      0|    const auto betterParam = [&call, &better](const TFunction& can1, const TFunction& can2) -> bool {
  467|       |        // is call -> can2 better than call -> can1 for any parameter
  468|      0|        bool hasBetterParam = false;
  469|      0|        const int paramCount = std::min({call.getParamCount(), can1.getParamCount(), can2.getParamCount()});
  470|      0|        for (int param = 0; param < paramCount; ++param) {
  471|      0|            if (better(*call[param].type, *can1[param].type, *can2[param].type)) {
  472|      0|                hasBetterParam = true;
  473|      0|                break;
  474|      0|            }
  475|      0|        }
  476|      0|        return hasBetterParam;
  477|      0|    };
  478|       |
  479|      0|    const auto equivalentParams = [&call, &better](const TFunction& can1, const TFunction& can2) -> bool {
  480|       |        // is call -> can2 equivalent to call -> can1 for all the call parameters?
  481|      0|        const int paramCount = std::min({call.getParamCount(), can1.getParamCount(), can2.getParamCount()});
  482|      0|        for (int param = 0; param < paramCount; ++param) {
  483|      0|            if (better(*call[param].type, *can1[param].type, *can2[param].type) ||
  484|      0|                better(*call[param].type, *can2[param].type, *can1[param].type))
  485|      0|                return false;
  486|      0|        }
  487|      0|        return true;
  488|      0|    };
  489|       |
  490|      0|    const auto enabled = [this](const TFunction& candidate) -> bool {
  491|      0|        bool enabled = candidate.getNumExtensions() == 0;
  492|      0|        for (int i = 0; i < candidate.getNumExtensions(); ++i) {
  493|      0|            TExtensionBehavior behavior = getExtensionBehavior(candidate.getExtensions()[i]);
  494|      0|            if (behavior == EBhEnable || behavior == EBhRequire)
  495|      0|                enabled = true;
  496|      0|        }
  497|      0|        return enabled;
  498|      0|    };
  499|       |
  500|      0|    const TFunction* incumbent = viableCandidates.front();
  501|      0|    for (auto it = viableCandidates.begin() + 1; it != viableCandidates.end(); ++it) {
  ------------------
  |  Branch (501:50): [True: 0, False: 0]
  ------------------
  502|      0|        const TFunction& candidate = *(*it);
  503|      0|        if (betterParam(*incumbent, candidate) && ! betterParam(candidate, *incumbent))
  ------------------
  |  Branch (503:13): [True: 0, False: 0]
  |  Branch (503:51): [True: 0, False: 0]
  ------------------
  504|      0|            incumbent = &candidate;
  505|      0|    }
  506|       |
  507|       |    // 5. ambiguity...
  508|      0|    for (auto it = viableCandidates.begin(); it != viableCandidates.end(); ++it) {
  ------------------
  |  Branch (508:46): [True: 0, False: 0]
  ------------------
  509|      0|        if (incumbent == *it)
  ------------------
  |  Branch (509:13): [True: 0, False: 0]
  ------------------
  510|      0|            continue;
  511|      0|        const TFunction& candidate = *(*it);
  512|       |
  513|       |        // In the case of default parameters, it may have an identical initial set, which is
  514|       |        // also ambiguous
  515|      0|        if ((betterParam(*incumbent, candidate) || equivalentParams(*incumbent, candidate)) && enabled(candidate))
  ------------------
  |  Branch (515:14): [True: 0, False: 0]
  |  Branch (515:52): [True: 0, False: 0]
  |  Branch (515:96): [True: 0, False: 0]
  ------------------
  516|      0|            tie = true;
  517|      0|    }
  518|       |
  519|      0|    return incumbent;
  520|      0|}
_ZN7glslang17TParseContextBase20parseSwizzleSelectorERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEEiRNS_17TSwizzleSelectorsIiEE:
  530|    344|{
  531|       |    // Too long?
  532|    344|    if (compString.size() > MaxSwizzleSelectors)
  ------------------
  |  Branch (532:9): [True: 0, False: 344]
  ------------------
  533|      0|        error(loc, "vector swizzle too long", compString.c_str(), "");
  534|       |
  535|       |    // Use this to test that all swizzle characters are from the same swizzle-namespace-set
  536|    344|    enum {
  537|    344|        exyzw,
  538|    344|        ergba,
  539|    344|        estpq,
  540|    344|    } fieldSet[MaxSwizzleSelectors];
  541|       |
  542|       |    // Decode the swizzle string.
  543|    344|    int size = std::min(MaxSwizzleSelectors, (int)compString.size());
  544|  1.00k|    for (int i = 0; i < size; ++i) {
  ------------------
  |  Branch (544:21): [True: 665, False: 344]
  ------------------
  545|    665|        switch (compString[i])  {
  546|      0|        case 'x':
  ------------------
  |  Branch (546:9): [True: 0, False: 665]
  ------------------
  547|      0|            selector.push_back(0);
  548|      0|            fieldSet[i] = exyzw;
  549|      0|            break;
  550|      0|        case 'r':
  ------------------
  |  Branch (550:9): [True: 0, False: 665]
  ------------------
  551|      0|            selector.push_back(0);
  552|      0|            fieldSet[i] = ergba;
  553|      0|            break;
  554|    648|        case 's':
  ------------------
  |  Branch (554:9): [True: 648, False: 17]
  ------------------
  555|    648|            selector.push_back(0);
  556|    648|            fieldSet[i] = estpq;
  557|    648|            break;
  558|       |
  559|      0|        case 'y':
  ------------------
  |  Branch (559:9): [True: 0, False: 665]
  ------------------
  560|      0|            selector.push_back(1);
  561|      0|            fieldSet[i] = exyzw;
  562|      0|            break;
  563|      0|        case 'g':
  ------------------
  |  Branch (563:9): [True: 0, False: 665]
  ------------------
  564|      0|            selector.push_back(1);
  565|      0|            fieldSet[i] = ergba;
  566|      0|            break;
  567|      0|        case 't':
  ------------------
  |  Branch (567:9): [True: 0, False: 665]
  ------------------
  568|      0|            selector.push_back(1);
  569|      0|            fieldSet[i] = estpq;
  570|      0|            break;
  571|       |
  572|      0|        case 'z':
  ------------------
  |  Branch (572:9): [True: 0, False: 665]
  ------------------
  573|      0|            selector.push_back(2);
  574|      0|            fieldSet[i] = exyzw;
  575|      0|            break;
  576|      0|        case 'b':
  ------------------
  |  Branch (576:9): [True: 0, False: 665]
  ------------------
  577|      0|            selector.push_back(2);
  578|      0|            fieldSet[i] = ergba;
  579|      0|            break;
  580|      0|        case 'p':
  ------------------
  |  Branch (580:9): [True: 0, False: 665]
  ------------------
  581|      0|            selector.push_back(2);
  582|      0|            fieldSet[i] = estpq;
  583|      0|            break;
  584|       |
  585|      0|        case 'w':
  ------------------
  |  Branch (585:9): [True: 0, False: 665]
  ------------------
  586|      0|            selector.push_back(3);
  587|      0|            fieldSet[i] = exyzw;
  588|      0|            break;
  589|      0|        case 'a':
  ------------------
  |  Branch (589:9): [True: 0, False: 665]
  ------------------
  590|      0|            selector.push_back(3);
  591|      0|            fieldSet[i] = ergba;
  592|      0|            break;
  593|      0|        case 'q':
  ------------------
  |  Branch (593:9): [True: 0, False: 665]
  ------------------
  594|      0|            selector.push_back(3);
  595|      0|            fieldSet[i] = estpq;
  596|      0|            break;
  597|       |
  598|     17|        default:
  ------------------
  |  Branch (598:9): [True: 17, False: 648]
  ------------------
  599|     17|            error(loc, "unknown swizzle selection", compString.c_str(), "");
  600|     17|            break;
  601|    665|        }
  602|    665|    }
  603|       |
  604|       |    // Additional error checking.
  605|    992|    for (int i = 0; i < selector.size(); ++i) {
  ------------------
  |  Branch (605:21): [True: 648, False: 344]
  ------------------
  606|    648|        if (selector[i] >= vecSize) {
  ------------------
  |  Branch (606:13): [True: 0, False: 648]
  ------------------
  607|      0|            error(loc, "vector swizzle selection out of range",  compString.c_str(), "");
  608|      0|            selector.resize(i);
  609|      0|            break;
  610|      0|        }
  611|       |
  612|    648|        if (i > 0 && fieldSet[i] != fieldSet[i-1]) {
  ------------------
  |  Branch (612:13): [True: 304, False: 344]
  |  Branch (612:22): [True: 0, False: 304]
  ------------------
  613|      0|            error(loc, "vector swizzle selectors not from the same set", compString.c_str(), "");
  614|      0|            selector.resize(i);
  615|      0|            break;
  616|      0|        }
  617|    648|    }
  618|       |
  619|       |    // Ensure it is valid.
  620|    344|    if (selector.size() == 0)
  ------------------
  |  Branch (620:9): [True: 0, False: 344]
  ------------------
  621|      0|        selector.push_back(0);
  622|    344|}
_ZN7glslang17TParseContextBase6finishEv:
  742|    985|{
  743|    985|    if (parsingBuiltins)
  ------------------
  |  Branch (743:9): [True: 863, False: 122]
  ------------------
  744|    863|        return;
  745|       |
  746|    122|    for (const TString& relaxedSymbol : relaxedSymbols)
  ------------------
  |  Branch (746:39): [True: 0, False: 122]
  ------------------
  747|      0|    {
  748|      0|        TSymbol* symbol = symbolTable.find(relaxedSymbol);
  749|      0|        TType& type = symbol->getWritableType();
  750|      0|        for (const TTypeLoc& typeLoc : *type.getStruct())
  ------------------
  |  Branch (750:38): [True: 0, False: 0]
  ------------------
  751|      0|        {
  752|      0|            if (typeLoc.type->isOpaque())
  ------------------
  |  Branch (752:17): [True: 0, False: 0]
  ------------------
  753|      0|            {
  754|      0|                typeLoc.type->getSampler() = TSampler{};
  755|      0|                typeLoc.type->setBasicType(EbtInt);
  756|      0|                TString fieldName("/*");
  757|      0|                fieldName.append(typeLoc.type->getFieldName());
  758|      0|                fieldName.append("*/");
  759|      0|                typeLoc.type->setFieldName(fieldName);
  760|      0|            }
  761|      0|        }
  762|      0|    }
  763|       |
  764|       |    // Transfer the linkage symbols to AST nodes, preserving order.
  765|    122|    TIntermAggregate* linkage = new TIntermAggregate;
  766|    122|    for (auto i = linkageSymbols.begin(); i != linkageSymbols.end(); ++i)
  ------------------
  |  Branch (766:43): [True: 0, False: 122]
  ------------------
  767|      0|        intermediate.addSymbolLinkageNode(linkage, **i);
  768|    122|    intermediate.addSymbolLinkageNodes(linkage, getLanguage(), symbolTable);
  769|    122|}

_ZN7glslang13TParseContextC2ERNS_12TSymbolTableERNS_13TIntermediateEbi8EProfileRKNS_10SpvVersionE11EShLanguageR9TInfoSinkb11EShMessagesPKNSt3__112basic_stringIcNSD_11char_traitsIcEENS_14pool_allocatorIcEEEE:
   59|    780|            TParseContextBase(symbolTable, interm, parsingBuiltins, version, profile, spvVersion, language,
   60|    780|                              infoSink, forwardCompatible, messages, entryPoint),
   61|    780|            inMain(false),
   62|    780|            blockName(nullptr),
   63|    780|            limits(resources.limits),
   64|    780|            atomicUintOffsets(nullptr), anyIndexLimits(false),
   65|    780|            khrDerivativeLayoutQualifierSpecified(false)
   66|    780|{
   67|       |    // decide whether precision qualifiers should be ignored or respected
   68|    780|    if (isEsProfile() || spvVersion.vulkan > 0) {
  ------------------
  |  Branch (68:9): [True: 342, False: 438]
  |  Branch (68:26): [True: 234, False: 204]
  ------------------
   69|    576|        precisionManager.respectPrecisionQualifiers();
   70|    576|        if (! parsingBuiltins && language == EShLangFragment && !isEsProfile() && spvVersion.vulkan > 0)
  ------------------
  |  Branch (70:13): [True: 15, False: 561]
  |  Branch (70:34): [True: 0, False: 15]
  |  Branch (70:65): [True: 0, False: 0]
  |  Branch (70:83): [True: 0, False: 0]
  ------------------
   71|      0|            precisionManager.warnAboutDefaults();
   72|    576|    }
   73|       |
   74|    780|    setPrecisionDefaults();
   75|       |
   76|    780|    globalUniformDefaults.clear();
   77|    780|    globalUniformDefaults.layoutMatrix = ElmColumnMajor;
   78|    780|    globalUniformDefaults.layoutPacking = spvVersion.spv != 0 ? ElpStd140 : ElpShared;
  ------------------
  |  Branch (78:43): [True: 0, False: 780]
  ------------------
   79|       |
   80|    780|    globalBufferDefaults.clear();
   81|    780|    globalBufferDefaults.layoutMatrix = ElmColumnMajor;
   82|    780|    globalBufferDefaults.layoutPacking = spvVersion.spv != 0 ? ElpStd430 : ElpShared;
  ------------------
  |  Branch (82:42): [True: 0, False: 780]
  ------------------
   83|       |
   84|    780|    globalInputDefaults.clear();
   85|    780|    globalOutputDefaults.clear();
   86|       |
   87|    780|    globalSharedDefaults.clear();
   88|    780|    globalSharedDefaults.layoutMatrix = ElmColumnMajor;
   89|    780|    globalSharedDefaults.layoutPacking = ElpStd430;
   90|       |
   91|       |    // "Shaders in the transform
   92|       |    // feedback capturing mode have an initial global default of
   93|       |    //     layout(xfb_buffer = 0) out;"
   94|    780|    if (language == EShLangVertex ||
  ------------------
  |  Branch (94:9): [True: 268, False: 512]
  ------------------
   95|    512|        language == EShLangTessControl ||
  ------------------
  |  Branch (95:9): [True: 28, False: 484]
  ------------------
   96|    484|        language == EShLangTessEvaluation ||
  ------------------
  |  Branch (96:9): [True: 28, False: 456]
  ------------------
   97|    456|        language == EShLangGeometry)
  ------------------
  |  Branch (97:9): [True: 28, False: 428]
  ------------------
   98|    352|        globalOutputDefaults.layoutXfbBuffer = 0;
   99|       |
  100|    780|    if (language == EShLangGeometry)
  ------------------
  |  Branch (100:9): [True: 28, False: 752]
  ------------------
  101|     28|        globalOutputDefaults.layoutStream = 0;
  102|       |
  103|    780|    if (entryPoint != nullptr && entryPoint->size() > 0 && *entryPoint != "main")
  ------------------
  |  Branch (103:9): [True: 780, False: 0]
  |  Branch (103:34): [True: 0, False: 780]
  |  Branch (103:60): [True: 0, False: 0]
  ------------------
  104|      0|        infoSink.info.message(EPrefixError, "Source entry point must be \"main\"");
  105|    780|}
_ZN7glslang13TParseContextD2Ev:
  108|    780|{
  109|    780|    delete [] atomicUintOffsets;
  110|    780|}
_ZN7glslang13TParseContext20setPrecisionDefaultsEv:
  115|    780|{
  116|       |    // Set all precision defaults to EpqNone, which is correct for all types
  117|       |    // when not obeying precision qualifiers, and correct for types that don't
  118|       |    // have defaults (thus getting an error on use) when obeying precision
  119|       |    // qualifiers.
  120|       |
  121|  27.3k|    for (int type = 0; type < EbtNumTypes; ++type)
  ------------------
  |  Branch (121:24): [True: 26.5k, False: 780]
  ------------------
  122|  26.5k|        defaultPrecision[type] = EpqNone;
  123|       |
  124|  7.63M|    for (int type = 0; type < maxSamplerIndex; ++type)
  ------------------
  |  Branch (124:24): [True: 7.63M, False: 780]
  ------------------
  125|  7.63M|        defaultSamplerPrecision[type] = EpqNone;
  126|       |
  127|       |    // replace with real precision defaults for those that have them
  128|    780|    if (obeyPrecisionQualifiers()) {
  ------------------
  |  Branch (128:9): [True: 576, False: 204]
  ------------------
  129|    576|        if (isEsProfile()) {
  ------------------
  |  Branch (129:13): [True: 342, False: 234]
  ------------------
  130|       |            // Most don't have defaults, a few default to lowp.
  131|    342|            TSampler sampler;
  132|    342|            sampler.set(EbtFloat, Esd2D);
  133|    342|            defaultSamplerPrecision[computeSamplerTypeIndex(sampler)] = EpqLow;
  134|    342|            sampler.set(EbtFloat, EsdCube);
  135|    342|            defaultSamplerPrecision[computeSamplerTypeIndex(sampler)] = EpqLow;
  136|    342|            sampler.set(EbtFloat, Esd2D);
  137|    342|            sampler.setExternal(true);
  138|    342|            defaultSamplerPrecision[computeSamplerTypeIndex(sampler)] = EpqLow;
  139|    342|        }
  140|       |
  141|       |        // If we are parsing built-in computational variables/functions, it is meaningful to record
  142|       |        // whether the built-in has no precision qualifier, as that ambiguity
  143|       |        // is used to resolve the precision from the supplied arguments/operands instead.
  144|       |        // So, we don't actually want to replace EpqNone with a default precision for built-ins.
  145|    576|        if (! parsingBuiltins) {
  ------------------
  |  Branch (145:13): [True: 15, False: 561]
  ------------------
  146|     15|            if (isEsProfile() && language == EShLangFragment) {
  ------------------
  |  Branch (146:17): [True: 15, False: 0]
  |  Branch (146:34): [True: 0, False: 15]
  ------------------
  147|      0|                defaultPrecision[EbtInt] = EpqMedium;
  148|      0|                defaultPrecision[EbtUint] = EpqMedium;
  149|     15|            } else {
  150|     15|                defaultPrecision[EbtInt] = EpqHigh;
  151|     15|                defaultPrecision[EbtUint] = EpqHigh;
  152|     15|                defaultPrecision[EbtFloat] = EpqHigh;
  153|     15|            }
  154|       |
  155|     15|            if (!isEsProfile()) {
  ------------------
  |  Branch (155:17): [True: 0, False: 15]
  ------------------
  156|       |                // Non-ES profile
  157|       |                // All sampler precisions default to highp.
  158|      0|                for (int type = 0; type < maxSamplerIndex; ++type)
  ------------------
  |  Branch (158:36): [True: 0, False: 0]
  ------------------
  159|      0|                    defaultSamplerPrecision[type] = EpqHigh;
  160|      0|            }
  161|     15|        }
  162|       |
  163|    576|        defaultPrecision[EbtSampler] = EpqLow;
  164|    576|        defaultPrecision[EbtAtomicUint] = EpqHigh;
  165|    576|    }
  166|    780|}
_ZN7glslang13TParseContext9setLimitsERK16TBuiltInResource:
  169|     27|{
  170|     27|    resources = r;
  171|     27|    intermediate.setLimits(r);
  172|       |
  173|     27|    anyIndexLimits = ! limits.generalAttributeMatrixVectorIndexing ||
  ------------------
  |  Branch (173:22): [True: 0, False: 27]
  ------------------
  174|     27|                     ! limits.generalConstantMatrixVectorIndexing ||
  ------------------
  |  Branch (174:22): [True: 0, False: 27]
  ------------------
  175|     27|                     ! limits.generalSamplerIndexing ||
  ------------------
  |  Branch (175:22): [True: 0, False: 27]
  ------------------
  176|     27|                     ! limits.generalUniformIndexing ||
  ------------------
  |  Branch (176:22): [True: 0, False: 27]
  ------------------
  177|     27|                     ! limits.generalVariableIndexing ||
  ------------------
  |  Branch (177:22): [True: 0, False: 27]
  ------------------
  178|     27|                     ! limits.generalVaryingIndexing;
  ------------------
  |  Branch (178:22): [True: 0, False: 27]
  ------------------
  179|       |
  180|       |
  181|       |    // "Each binding point tracks its own current default offset for
  182|       |    // inheritance of subsequent variables using the same binding. The initial state of compilation is that all
  183|       |    // binding points have an offset of 0."
  184|     27|    atomicUintOffsets = new int[resources.maxAtomicCounterBindings];
  185|     54|    for (int b = 0; b < resources.maxAtomicCounterBindings; ++b)
  ------------------
  |  Branch (185:21): [True: 27, False: 27]
  ------------------
  186|     27|        atomicUintOffsets[b] = 0;
  187|     27|}
_ZN7glslang13TParseContext18parseShaderStringsERNS_10TPpContextERNS_13TInputScannerEb:
  197|    780|{
  198|    780|    currentScanner = &input;
  199|    780|    ppContext.setInput(input, versionWillBeError);
  200|    780|    yyparse(this);
  201|       |
  202|    780|    finish();
  203|       |
  204|    780|    return numErrors == 0;
  205|    780|}
_ZN7glslang13TParseContext11parserErrorEPKc:
  212|    234|{
  213|    234|    if (! getScanner()->atEndOfInput() || numErrors == 0)
  ------------------
  |  Branch (213:9): [True: 210, False: 24]
  |  Branch (213:43): [True: 0, False: 24]
  ------------------
  214|    210|        error(getCurrentLoc(), "", "", s, "");
  215|     24|    else
  216|     24|        error(getCurrentLoc(), "compilation terminated", "", "");
  217|    234|}
_ZN7glslang13TParseContext14handleVariableERKNS_10TSourceLocEPNS_7TSymbolEPKNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  452|  1.50k|{
  453|  1.50k|    TIntermTyped* node = nullptr;
  454|       |
  455|       |    // Error check for requiring specific extensions present.
  456|  1.50k|    if (symbol && symbol->getNumExtensions())
  ------------------
  |  Branch (456:9): [True: 372, False: 1.13k]
  |  Branch (456:19): [True: 0, False: 372]
  ------------------
  457|      0|        requireExtensions(loc, symbol->getNumExtensions(), symbol->getExtensions(), symbol->getName().c_str());
  458|       |
  459|  1.50k|    if (symbol && symbol->isReadOnly()) {
  ------------------
  |  Branch (459:9): [True: 372, False: 1.13k]
  |  Branch (459:19): [True: 0, False: 372]
  ------------------
  460|       |        // All shared things containing an unsized array must be copied up
  461|       |        // on first use, so that all future references will share its array structure,
  462|       |        // so that editing the implicit size will effect all nodes consuming it,
  463|       |        // and so that editing the implicit size won't change the shared one.
  464|       |        //
  465|       |        // If this is a variable or a block, check it and all it contains, but if this
  466|       |        // is a member of an anonymous block, check the whole block, as the whole block
  467|       |        // will need to be copied up if it contains an unsized array.
  468|       |        //
  469|       |        // This check is being done before the block-name check further down, so guard
  470|       |        // for that too.
  471|      0|        if (!symbol->getType().isUnusableName()) {
  ------------------
  |  Branch (471:13): [True: 0, False: 0]
  ------------------
  472|      0|            if (symbol->getType().containsUnsizedArray() ||
  ------------------
  |  Branch (472:17): [True: 0, False: 0]
  ------------------
  473|      0|                (symbol->getAsAnonMember() &&
  ------------------
  |  Branch (473:18): [True: 0, False: 0]
  ------------------
  474|      0|                 symbol->getAsAnonMember()->getAnonContainer().getType().containsUnsizedArray()))
  ------------------
  |  Branch (474:18): [True: 0, False: 0]
  ------------------
  475|      0|                makeEditable(symbol);
  476|      0|        }
  477|      0|    }
  478|       |
  479|  1.50k|    const TVariable* variable;
  480|  1.50k|    const TAnonMember* anon = symbol ? symbol->getAsAnonMember() : nullptr;
  ------------------
  |  Branch (480:31): [True: 372, False: 1.13k]
  ------------------
  481|  1.50k|    if (anon) {
  ------------------
  |  Branch (481:9): [True: 0, False: 1.50k]
  ------------------
  482|       |        // It was a member of an anonymous container.
  483|       |
  484|       |        // Create a subtree for its dereference.
  485|      0|        variable = anon->getAnonContainer().getAsVariable();
  486|      0|        TIntermTyped* container = intermediate.addSymbol(*variable, loc);
  487|      0|        TIntermTyped* constNode = intermediate.addConstantUnion(anon->getMemberNumber(), loc);
  488|      0|        node = intermediate.addIndex(EOpIndexDirectStruct, container, constNode, loc);
  489|       |
  490|      0|        node->setType(*(*variable->getType().getStruct())[anon->getMemberNumber()].type);
  491|      0|        if (node->getType().hiddenMember())
  ------------------
  |  Branch (491:13): [True: 0, False: 0]
  ------------------
  492|      0|            error(loc, "member of nameless block was not redeclared", string->c_str(), "");
  493|  1.50k|    } else {
  494|       |        // Not a member of an anonymous container.
  495|       |
  496|       |        // The symbol table search was done in the lexical phase.
  497|       |        // See if it was a variable.
  498|  1.50k|        variable = symbol ? symbol->getAsVariable() : nullptr;
  ------------------
  |  Branch (498:20): [True: 372, False: 1.13k]
  ------------------
  499|  1.50k|        if (variable) {
  ------------------
  |  Branch (499:13): [True: 372, False: 1.13k]
  ------------------
  500|    372|            if (variable->getType().isUnusableName()) {
  ------------------
  |  Branch (500:17): [True: 0, False: 372]
  ------------------
  501|      0|                error(loc, "cannot be used (maybe an instance name is needed)", string->c_str(), "");
  502|      0|                variable = nullptr;
  503|      0|            }
  504|       |
  505|    372|            if (language == EShLangMesh && variable) {
  ------------------
  |  Branch (505:17): [True: 0, False: 372]
  |  Branch (505:44): [True: 0, False: 0]
  ------------------
  506|      0|                TLayoutGeometry primitiveType = intermediate.getOutputPrimitive();
  507|      0|                if ((variable->getMangledName() == "gl_PrimitiveTriangleIndicesEXT" && primitiveType != ElgTriangles) ||
  ------------------
  |  Branch (507:22): [True: 0, False: 0]
  |  Branch (507:88): [True: 0, False: 0]
  ------------------
  508|      0|                    (variable->getMangledName() == "gl_PrimitiveLineIndicesEXT" && primitiveType != ElgLines) ||
  ------------------
  |  Branch (508:22): [True: 0, False: 0]
  |  Branch (508:84): [True: 0, False: 0]
  ------------------
  509|      0|                    (variable->getMangledName() == "gl_PrimitivePointIndicesEXT" && primitiveType != ElgPoints)) {
  ------------------
  |  Branch (509:22): [True: 0, False: 0]
  |  Branch (509:85): [True: 0, False: 0]
  ------------------
  510|      0|                    error(loc, "cannot be used (output primitive type mismatch)", string->c_str(), "");
  511|      0|                    variable = nullptr;
  512|      0|                }
  513|      0|            }
  514|  1.13k|        } else {
  515|  1.13k|            if (symbol)
  ------------------
  |  Branch (515:17): [True: 0, False: 1.13k]
  ------------------
  516|      0|                error(loc, "variable name expected", string->c_str(), "");
  517|  1.13k|        }
  518|       |
  519|       |        // Recovery, if it wasn't found or was not a variable.
  520|  1.50k|        if (! variable) {
  ------------------
  |  Branch (520:13): [True: 1.13k, False: 372]
  ------------------
  521|  1.13k|            bool builtIn = false;
  522|  1.13k|            TVector<const TFunction*> candidateList;
  523|  1.13k|            symbolTable.findFunctionNameList(*string + "(", candidateList, builtIn);
  524|       |
  525|       |            // If it's a function, pass the name/mangledName
  526|  1.13k|            if (!candidateList.empty() && !builtIn) {
  ------------------
  |  Branch (526:17): [True: 0, False: 1.13k]
  |  Branch (526:43): [True: 0, False: 0]
  ------------------
  527|      0|                variable = new TVariable(&candidateList[0]->getName(), &candidateList[0]->getMangledName(), TType(EbtFunction));
  528|  1.13k|            } else {
  529|  1.13k|                variable = new TVariable(string, TType(EbtVoid));
  530|  1.13k|            }
  531|  1.13k|        }
  532|       |
  533|  1.50k|        if (variable->getType().getQualifier().isFrontEndConstant())
  ------------------
  |  Branch (533:13): [True: 0, False: 1.50k]
  ------------------
  534|      0|            node = intermediate.addConstantUnion(variable->getConstArray(), variable->getType(), loc);
  535|  1.50k|        else
  536|  1.50k|            node = intermediate.addSymbol(*variable, loc);
  537|  1.50k|    }
  538|       |
  539|  1.50k|    if (variable->getType().getQualifier().isIo())
  ------------------
  |  Branch (539:9): [True: 0, False: 1.50k]
  ------------------
  540|      0|        intermediate.addIoAccessed(*string);
  541|       |
  542|  1.50k|    if (variable->getType().isReference() &&
  ------------------
  |  Branch (542:9): [True: 0, False: 1.50k]
  ------------------
  543|      0|        variable->getType().getQualifier().bufferReferenceNeedsVulkanMemoryModel()) {
  ------------------
  |  Branch (543:9): [True: 0, False: 0]
  ------------------
  544|      0|        intermediate.setUseVulkanMemoryModel();
  545|      0|    }
  546|       |
  547|  1.50k|    return node;
  548|  1.50k|}
_ZN7glslang13TParseContext24handleBracketDereferenceERKNS_10TSourceLocEPNS_12TIntermTypedES5_:
  554|      1|{
  555|      1|    int64_t indexValue = 0;
  556|      1|    if (index->getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (556:9): [True: 1, False: 0]
  ------------------
  557|      1|        if (index->getType().contains64BitInt()) {
  ------------------
  |  Branch (557:13): [True: 0, False: 1]
  ------------------
  558|      0|            indexValue = index->getAsConstantUnion()->getConstArray()[0].getI64Const();
  559|      1|        } else if (index->getType().getBasicType() == EbtUint) {
  ------------------
  |  Branch (559:20): [True: 0, False: 1]
  ------------------
  560|      0|            indexValue = index->getAsConstantUnion()->getConstArray()[0].getUConst();
  561|      1|        } else {
  562|      1|            indexValue = index->getAsConstantUnion()->getConstArray()[0].getIConst();
  563|      1|        }
  564|      1|    }
  565|       |    // basic type checks...
  566|      1|    variableCheck(base);
  567|       |
  568|      1|    if (! base->isArray() && ! base->isMatrix() && ! base->isVector() && ! base->getType().isCoopMat() &&
  ------------------
  |  Branch (568:9): [True: 1, False: 0]
  |  Branch (568:30): [True: 1, False: 0]
  |  Branch (568:52): [True: 1, False: 0]
  |  Branch (568:74): [True: 1, False: 0]
  ------------------
  569|      1|        ! base->isReference() && ! base->getType().isCoopVecOrLongVector()) {
  ------------------
  |  Branch (569:9): [True: 1, False: 0]
  |  Branch (569:34): [True: 1, False: 0]
  ------------------
  570|      1|        if (base->getAsSymbolNode())
  ------------------
  |  Branch (570:13): [True: 1, False: 0]
  ------------------
  571|      1|            error(loc, " left of '[' is not of type array, matrix, or vector ", base->getAsSymbolNode()->getName().c_str(), "");
  572|      0|        else
  573|      0|            error(loc, " left of '[' is not of type array, matrix, or vector ", "expression", "");
  574|       |
  575|       |        // Insert dummy error-recovery result
  576|      1|        return intermediate.addConstantUnion(0.0, EbtFloat, loc);
  577|      1|    }
  578|       |
  579|      0|    if (!base->isArray() && base->isVector()) {
  ------------------
  |  Branch (579:9): [True: 0, False: 0]
  |  Branch (579:29): [True: 0, False: 0]
  ------------------
  580|      0|        if (base->getType().contains16BitFloat())
  ------------------
  |  Branch (580:13): [True: 0, False: 0]
  ------------------
  581|      0|            requireFloat16Arithmetic(loc, "[", "does not operate on types containing float16");
  582|      0|        if (base->getType().contains16BitInt())
  ------------------
  |  Branch (582:13): [True: 0, False: 0]
  ------------------
  583|      0|            requireInt16Arithmetic(loc, "[", "does not operate on types containing (u)int16");
  584|      0|        if (base->getType().contains8BitInt())
  ------------------
  |  Branch (584:13): [True: 0, False: 0]
  ------------------
  585|      0|            requireInt8Arithmetic(loc, "[", "does not operate on types containing (u)int8");
  586|      0|    }
  587|       |
  588|       |    // check for constant folding
  589|      0|    if (base->getType().getQualifier().isFrontEndConstant() && index->getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (589:9): [True: 0, False: 0]
  |  Branch (589:64): [True: 0, False: 0]
  ------------------
  590|       |        // both base and index are front-end constants
  591|      0|        checkIndex(loc, base->getType(), indexValue);
  592|      0|        return intermediate.foldDereference(base, indexValue, loc);
  593|      0|    }
  594|       |
  595|       |    // at least one of base and index is not a front-end constant variable...
  596|      0|    TIntermTyped* result = nullptr;
  597|       |
  598|      0|    if (base->isReference() && ! base->isArray()) {
  ------------------
  |  Branch (598:9): [True: 0, False: 0]
  |  Branch (598:32): [True: 0, False: 0]
  ------------------
  599|      0|        requireExtensions(loc, 1, &E_GL_EXT_buffer_reference2, "buffer reference indexing");
  600|      0|        if (base->getType().getReferentType()->containsUnsizedArray()) {
  ------------------
  |  Branch (600:13): [True: 0, False: 0]
  ------------------
  601|      0|            error(loc, "cannot index reference to buffer containing an unsized array", "", "");
  602|      0|            result = nullptr;
  603|      0|        } else {
  604|      0|            result = intermediate.addBinaryMath(EOpAdd, base, index, loc);
  605|      0|            if (result != nullptr)
  ------------------
  |  Branch (605:17): [True: 0, False: 0]
  ------------------
  606|      0|                result->setType(base->getType());
  607|      0|        }
  608|      0|        if (result == nullptr) {
  ------------------
  |  Branch (608:13): [True: 0, False: 0]
  ------------------
  609|      0|            error(loc, "cannot index buffer reference", "", "");
  610|      0|            result = intermediate.addConstantUnion(0.0, EbtFloat, loc);
  611|      0|        }
  612|      0|        return result;
  613|      0|    }
  614|      0|    if (base->getAsSymbolNode() && isIoResizeArray(base->getType()))
  ------------------
  |  Branch (614:9): [True: 0, False: 0]
  |  Branch (614:36): [True: 0, False: 0]
  ------------------
  615|      0|        handleIoResizeArrayAccess(loc, base);
  616|       |
  617|      0|    if (index->getQualifier().isFrontEndConstant())
  ------------------
  |  Branch (617:9): [True: 0, False: 0]
  ------------------
  618|      0|        checkIndex(loc, base->getType(), indexValue);
  619|       |
  620|      0|    if (index->getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (620:9): [True: 0, False: 0]
  ------------------
  621|      0|        if (base->getType().isUnsizedArray()) {
  ------------------
  |  Branch (621:13): [True: 0, False: 0]
  ------------------
  622|      0|            base->getWritableType().updateImplicitArraySize(indexValue + 1);
  623|      0|            base->getWritableType().setImplicitlySized(true);
  624|      0|            if (base->getQualifier().builtIn == EbvClipDistance &&
  ------------------
  |  Branch (624:17): [True: 0, False: 0]
  ------------------
  625|      0|                indexValue >= resources.maxClipDistances) {
  ------------------
  |  Branch (625:17): [True: 0, False: 0]
  ------------------
  626|      0|                error(loc, "gl_ClipDistance", "[", "array index out of range '%d'", indexValue);
  627|      0|            }
  628|      0|            else if (base->getQualifier().builtIn == EbvCullDistance &&
  ------------------
  |  Branch (628:22): [True: 0, False: 0]
  ------------------
  629|      0|                indexValue >= resources.maxCullDistances) {
  ------------------
  |  Branch (629:17): [True: 0, False: 0]
  ------------------
  630|      0|                error(loc, "gl_CullDistance", "[", "array index out of range '%d'", indexValue);
  631|      0|            }
  632|      0|            else if (base->getQualifier().builtIn == EbvSampleMask &&
  ------------------
  |  Branch (632:22): [True: 0, False: 0]
  ------------------
  633|      0|                indexValue >= (resources.maxSamples + 31) / 32) {
  ------------------
  |  Branch (633:17): [True: 0, False: 0]
  ------------------
  634|      0|                error(loc, "gl_SampleMask", "[", "array index out of range '%d'", indexValue);
  635|      0|            }
  636|       |            // For 2D per-view builtin arrays, update the inner dimension size in parent type
  637|      0|            if (base->getQualifier().isPerView() && base->getQualifier().builtIn != EbvNone) {
  ------------------
  |  Branch (637:17): [True: 0, False: 0]
  |  Branch (637:53): [True: 0, False: 0]
  ------------------
  638|      0|                TIntermBinary* binaryNode = base->getAsBinaryNode();
  639|      0|                if (binaryNode) {
  ------------------
  |  Branch (639:21): [True: 0, False: 0]
  ------------------
  640|      0|                    TType& leftType = binaryNode->getLeft()->getWritableType();
  641|      0|                    TArraySizes& arraySizes = *leftType.getArraySizes();
  642|      0|                    assert(arraySizes.getNumDims() == 2);
  643|      0|                    assert(indexValue < std::numeric_limits<int>::max());
  644|      0|                    arraySizes.setDimSize(1, std::max(arraySizes.getDimSize(1), (int)indexValue + 1));
  645|      0|                }
  646|      0|            }
  647|      0|        } else
  648|      0|            checkIndex(loc, base->getType(), indexValue);
  649|      0|        result = intermediate.addIndex(EOpIndexDirect, base, index, loc);
  650|      0|    } else {
  651|      0|        if (base->getType().isUnsizedArray()) {
  ------------------
  |  Branch (651:13): [True: 0, False: 0]
  ------------------
  652|       |            // we have a variable index into an unsized array, which is okay,
  653|       |            // depending on the situation
  654|      0|            if (base->getAsSymbolNode() && isIoResizeArray(base->getType()))
  ------------------
  |  Branch (654:17): [True: 0, False: 0]
  |  Branch (654:44): [True: 0, False: 0]
  ------------------
  655|      0|                error(loc, "", "[", "array must be sized by a redeclaration or layout qualifier before being indexed with a variable");
  656|      0|            else {
  657|       |                // it is okay for a run-time sized array
  658|      0|                checkRuntimeSizable(loc, *base);
  659|      0|            }
  660|      0|            base->getWritableType().setArrayVariablyIndexed();
  661|      0|        }
  662|      0|        if (base->getBasicType() == EbtBlock) {
  ------------------
  |  Branch (662:13): [True: 0, False: 0]
  ------------------
  663|      0|            if (base->getQualifier().storage == EvqBuffer)
  ------------------
  |  Branch (663:17): [True: 0, False: 0]
  ------------------
  664|      0|                requireProfile(base->getLoc(), ~EEsProfile, "variable indexing buffer block array");
  665|      0|            else if (base->getQualifier().storage == EvqUniform) {
  ------------------
  |  Branch (665:22): [True: 0, False: 0]
  ------------------
  666|      0|                profileRequires(base->getLoc(), EEsProfile, 320, Num_AEP_gpu_shader5, AEP_gpu_shader5,
  667|      0|                                "variable indexing uniform block array");
  668|      0|                profileRequires(base->getLoc(), ECoreProfile, 400, Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5,
  669|      0|                                "variable indexing uniform block array");
  670|       |
  671|      0|            }
  672|      0|            else {
  673|       |                // input/output blocks either don't exist or can't be variably indexed
  674|      0|            }
  675|      0|        } else if (language == EShLangFragment && base->getQualifier().isPipeOutput() && base->getQualifier().builtIn != EbvSampleMask)
  ------------------
  |  Branch (675:20): [True: 0, False: 0]
  |  Branch (675:51): [True: 0, False: 0]
  |  Branch (675:90): [True: 0, False: 0]
  ------------------
  676|      0|            requireProfile(base->getLoc(), ~EEsProfile, "variable indexing fragment shader output array");
  677|      0|        else if (base->getBasicType() == EbtSampler && version >= 130) {
  ------------------
  |  Branch (677:18): [True: 0, False: 0]
  |  Branch (677:56): [True: 0, False: 0]
  ------------------
  678|      0|            const char* explanation = "variable indexing sampler array";
  679|      0|            requireProfile(base->getLoc(), EEsProfile | ECoreProfile | ECompatibilityProfile, explanation);
  680|      0|            profileRequires(base->getLoc(), EEsProfile, 320, Num_AEP_gpu_shader5, AEP_gpu_shader5, explanation);
  681|      0|            profileRequires(base->getLoc(), ECoreProfile | ECompatibilityProfile, 400, Num_AEP_core_gpu_shader5,
  682|      0|                            AEP_core_gpu_shader5, explanation);
  683|      0|        }
  684|       |
  685|      0|        result = intermediate.addIndex(EOpIndexIndirect, base, index, loc);
  686|      0|    }
  687|       |
  688|       |    // Insert valid dereferenced result type
  689|      0|    TType newType(base->getType(), 0);
  690|      0|    if (base->getType().getQualifier().isConstant() && index->getQualifier().isConstant()) {
  ------------------
  |  Branch (690:9): [True: 0, False: 0]
  |  Branch (690:56): [True: 0, False: 0]
  ------------------
  691|      0|        newType.getQualifier().storage = EvqConst;
  692|       |        // If base or index is a specialization constant, the result should also be a specialization constant.
  693|      0|        if (base->getType().getQualifier().isSpecConstant() || index->getQualifier().isSpecConstant()) {
  ------------------
  |  Branch (693:13): [True: 0, False: 0]
  |  Branch (693:64): [True: 0, False: 0]
  ------------------
  694|      0|            newType.getQualifier().makeSpecConstant();
  695|      0|        }
  696|      0|    } else {
  697|      0|        newType.getQualifier().storage = EvqTemporary;
  698|      0|        newType.getQualifier().specConstant = false;
  699|      0|    }
  700|      0|    result->setType(newType);
  701|       |
  702|      0|    inheritMemoryQualifiers(base->getQualifier(), result->getWritableType().getQualifier());
  703|       |
  704|       |    // Propagate nonuniform
  705|      0|    if (base->getQualifier().isNonUniform() || index->getQualifier().isNonUniform())
  ------------------
  |  Branch (705:9): [True: 0, False: 0]
  |  Branch (705:48): [True: 0, False: 0]
  ------------------
  706|      0|        result->getWritableType().getQualifier().nonUniform = true;
  707|       |
  708|      0|    if (anyIndexLimits)
  ------------------
  |  Branch (708:9): [True: 0, False: 0]
  ------------------
  709|      0|        handleIndexLimits(loc, base, index);
  710|       |
  711|      0|    return result;
  712|      0|}
_ZNK7glslang13TParseContext15isIoResizeArrayERKNS_5TTypeE:
  747|    248|{
  748|    248|    return type.isArray() &&
  ------------------
  |  Branch (748:12): [True: 164, False: 84]
  ------------------
  749|    164|           ((language == EShLangGeometry    && type.getQualifier().storage == EvqVaryingIn) ||
  ------------------
  |  Branch (749:14): [True: 28, False: 136]
  |  Branch (749:48): [True: 28, False: 0]
  ------------------
  750|    136|            (language == EShLangTessControl && type.getQualifier().storage == EvqVaryingOut &&
  ------------------
  |  Branch (750:14): [True: 28, False: 108]
  |  Branch (750:48): [True: 28, False: 0]
  ------------------
  751|     28|                ! type.getQualifier().patch) ||
  ------------------
  |  Branch (751:17): [True: 28, False: 0]
  ------------------
  752|    108|            (language == EShLangFragment && type.getQualifier().storage == EvqVaryingIn &&
  ------------------
  |  Branch (752:14): [True: 0, False: 108]
  |  Branch (752:45): [True: 0, False: 0]
  ------------------
  753|      0|                (type.getQualifier().pervertexNV || type.getQualifier().pervertexEXT)) ||
  ------------------
  |  Branch (753:18): [True: 0, False: 0]
  |  Branch (753:53): [True: 0, False: 0]
  ------------------
  754|    108|            (language == EShLangMesh && type.getQualifier().storage == EvqVaryingOut &&
  ------------------
  |  Branch (754:14): [True: 108, False: 0]
  |  Branch (754:41): [True: 108, False: 0]
  ------------------
  755|    108|                !type.getQualifier().perTaskNV));
  ------------------
  |  Branch (755:17): [True: 108, False: 0]
  ------------------
  756|    248|}
_ZN7glslang13TParseContext14fixIoArraySizeERKNS_10TSourceLocERNS_5TTypeE:
  760|     84|{
  761|     84|    if (! type.isArray() || type.getQualifier().patch || symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (761:9): [True: 84, False: 0]
  |  Branch (761:29): [True: 0, False: 0]
  |  Branch (761:58): [True: 0, False: 0]
  ------------------
  762|     84|        return;
  763|       |
  764|     84|    assert(! isIoResizeArray(type));
  765|       |
  766|      0|    if (type.getQualifier().storage != EvqVaryingIn || type.getQualifier().patch)
  ------------------
  |  Branch (766:9): [True: 0, False: 0]
  |  Branch (766:56): [True: 0, False: 0]
  ------------------
  767|      0|        return;
  768|       |
  769|      0|    if (language == EShLangTessControl || language == EShLangTessEvaluation) {
  ------------------
  |  Branch (769:9): [True: 0, False: 0]
  |  Branch (769:43): [True: 0, False: 0]
  ------------------
  770|      0|        if (type.getOuterArraySize() != resources.maxPatchVertices) {
  ------------------
  |  Branch (770:13): [True: 0, False: 0]
  ------------------
  771|      0|            if (type.isSizedArray())
  ------------------
  |  Branch (771:17): [True: 0, False: 0]
  ------------------
  772|      0|                error(loc, "tessellation input array size must be gl_MaxPatchVertices or implicitly sized", "[]", "");
  773|      0|            type.changeOuterArraySize(resources.maxPatchVertices);
  774|      0|        }
  775|      0|    }
  776|      0|}
_ZN7glslang13TParseContext12ioArrayCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  782|  15.3k|{
  783|  15.3k|    if (! type.isArray() && ! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (783:9): [True: 15.3k, False: 0]
  |  Branch (783:29): [True: 0, False: 15.3k]
  ------------------
  784|      0|        if (type.getQualifier().isArrayedIo(language) && !type.getQualifier().layoutPassthrough)
  ------------------
  |  Branch (784:13): [True: 0, False: 0]
  |  Branch (784:58): [True: 0, False: 0]
  ------------------
  785|      0|            error(loc, "type must be an array:", type.getStorageQualifierString(), identifier.c_str());
  786|      0|    }
  787|  15.3k|}
_ZN7glslang13TParseContext24checkIoArraysConsistencyERKNS_10TSourceLocEb:
  816|    164|{
  817|    164|    int requiredSize = 0;
  818|    164|    TString featureString;
  819|    164|    size_t listSize = ioArraySymbolResizeList.size();
  820|    164|    size_t i = 0;
  821|       |
  822|       |    // If tailOnly = true, only check the last array symbol in the list.
  823|    164|    if (tailOnly) {
  ------------------
  |  Branch (823:9): [True: 164, False: 0]
  ------------------
  824|    164|        i = listSize - 1;
  825|    164|    }
  826|    164|    for (bool firstIteration = true; i < listSize; ++i) {
  ------------------
  |  Branch (826:38): [True: 164, False: 0]
  ------------------
  827|    164|        TType &type = ioArraySymbolResizeList[i]->getWritableType();
  828|       |
  829|       |        // As I/O array sizes don't change, fetch requiredSize only once,
  830|       |        // except for mesh shaders which could have different I/O array sizes based on type qualifiers.
  831|    164|        if (firstIteration || (language == EShLangMesh)) {
  ------------------
  |  Branch (831:13): [True: 164, False: 0]
  |  Branch (831:31): [True: 0, False: 0]
  ------------------
  832|    164|            requiredSize = getIoArrayImplicitSize(type.getQualifier(), &featureString);
  833|    164|            if (requiredSize == 0)
  ------------------
  |  Branch (833:17): [True: 164, False: 0]
  ------------------
  834|    164|                break;
  835|      0|            firstIteration = false;
  836|      0|        }
  837|       |
  838|      0|        checkIoArrayConsistency(loc, requiredSize, featureString.c_str(), type,
  839|      0|                                ioArraySymbolResizeList[i]->getName());
  840|      0|    }
  841|    164|}
_ZNK7glslang13TParseContext22getIoArrayImplicitSizeERKNS_10TQualifierEPNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  844|    164|{
  845|    164|    int expectedSize = 0;
  846|    164|    TString str = "unknown";
  847|    164|    unsigned int maxVertices = intermediate.getVertices() != TQualifier::layoutNotSet ? intermediate.getVertices() : 0;
  ------------------
  |  Branch (847:32): [True: 0, False: 164]
  ------------------
  848|       |
  849|    164|    if (language == EShLangGeometry) {
  ------------------
  |  Branch (849:9): [True: 28, False: 136]
  ------------------
  850|     28|        expectedSize = TQualifier::mapGeometryToSize(intermediate.getInputPrimitive());
  851|     28|        str = TQualifier::getGeometryString(intermediate.getInputPrimitive());
  852|     28|    }
  853|    136|    else if (language == EShLangTessControl) {
  ------------------
  |  Branch (853:14): [True: 28, False: 108]
  ------------------
  854|     28|        expectedSize = maxVertices;
  855|     28|        str = "vertices";
  856|    108|    } else if (language == EShLangFragment) {
  ------------------
  |  Branch (856:16): [True: 0, False: 108]
  ------------------
  857|       |        // Number of vertices for Fragment shader is always three.
  858|      0|        expectedSize = 3;
  859|      0|        str = "vertices";
  860|    108|    } else if (language == EShLangMesh) {
  ------------------
  |  Branch (860:16): [True: 108, False: 0]
  ------------------
  861|    108|        unsigned int maxPrimitives =
  862|    108|            intermediate.getPrimitives() != TQualifier::layoutNotSet ? intermediate.getPrimitives() : 0;
  ------------------
  |  Branch (862:13): [True: 0, False: 108]
  ------------------
  863|    108|        if (qualifier.builtIn == EbvPrimitiveIndicesNV) {
  ------------------
  |  Branch (863:13): [True: 0, False: 108]
  ------------------
  864|      0|            expectedSize = maxPrimitives * TQualifier::mapGeometryToSize(intermediate.getOutputPrimitive());
  865|      0|            str = "max_primitives*";
  866|      0|            str += TQualifier::getGeometryString(intermediate.getOutputPrimitive());
  867|      0|        }
  868|    108|        else if (qualifier.builtIn == EbvPrimitiveTriangleIndicesEXT || qualifier.builtIn == EbvPrimitiveLineIndicesEXT ||
  ------------------
  |  Branch (868:18): [True: 0, False: 108]
  |  Branch (868:73): [True: 0, False: 108]
  ------------------
  869|    108|                 qualifier.builtIn == EbvPrimitivePointIndicesEXT) {
  ------------------
  |  Branch (869:18): [True: 0, False: 108]
  ------------------
  870|      0|            expectedSize = maxPrimitives;
  871|      0|            str = "max_primitives";
  872|      0|        }
  873|    108|        else if (qualifier.isPerPrimitive()) {
  ------------------
  |  Branch (873:18): [True: 54, False: 54]
  ------------------
  874|     54|            expectedSize = maxPrimitives;
  875|     54|            str = "max_primitives";
  876|     54|        }
  877|     54|        else {
  878|     54|            expectedSize = maxVertices;
  879|     54|            str = "max_vertices";
  880|     54|        }
  881|    108|    }
  882|    164|    if (featureString)
  ------------------
  |  Branch (882:9): [True: 164, False: 0]
  ------------------
  883|    164|        *featureString = str;
  884|    164|    return expectedSize;
  885|    164|}
_ZN7glslang13TParseContext16handleBinaryMathERKNS_10TSourceLocEPKcNS_9TOperatorEPNS_12TIntermTypedES8_:
  910|    617|{
  911|    617|    rValueErrorCheck(loc, str, left->getAsTyped());
  912|    617|    rValueErrorCheck(loc, str, right->getAsTyped());
  913|       |
  914|    617|    bool allowed = true;
  915|    617|    switch (op) {
  916|       |    // TODO: Bring more source language-specific checks up from intermediate.cpp
  917|       |    // to the specific parse helpers for that source language.
  918|      1|    case EOpLessThan:
  ------------------
  |  Branch (918:5): [True: 1, False: 616]
  ------------------
  919|      1|    case EOpGreaterThan:
  ------------------
  |  Branch (919:5): [True: 0, False: 617]
  ------------------
  920|      1|    case EOpLessThanEqual:
  ------------------
  |  Branch (920:5): [True: 0, False: 617]
  ------------------
  921|      1|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (921:5): [True: 0, False: 617]
  ------------------
  922|      1|        if (! left->isScalar() || ! right->isScalar())
  ------------------
  |  Branch (922:13): [True: 0, False: 1]
  |  Branch (922:35): [True: 0, False: 1]
  ------------------
  923|      0|            allowed = false;
  924|      1|        break;
  925|    616|    default:
  ------------------
  |  Branch (925:5): [True: 616, False: 1]
  ------------------
  926|    616|        break;
  927|    617|    }
  928|       |
  929|    617|    if (((left->getType().contains16BitFloat() || right->getType().contains16BitFloat()) && !float16Arithmetic()) ||
  ------------------
  |  Branch (929:11): [True: 0, False: 617]
  |  Branch (929:51): [True: 0, False: 617]
  |  Branch (929:93): [True: 0, False: 0]
  ------------------
  930|    617|        ((left->getType().contains16BitInt() || right->getType().contains16BitInt()) && !int16Arithmetic()) ||
  ------------------
  |  Branch (930:11): [True: 0, False: 617]
  |  Branch (930:49): [True: 0, False: 617]
  |  Branch (930:89): [True: 0, False: 0]
  ------------------
  931|    617|        ((left->getType().contains8BitInt() || right->getType().contains8BitInt()) && !int8Arithmetic()) ||
  ------------------
  |  Branch (931:11): [True: 0, False: 617]
  |  Branch (931:48): [True: 0, False: 617]
  |  Branch (931:87): [True: 0, False: 0]
  ------------------
  932|    617|        (left->getType().containsBFloat16() || right->getType().containsBFloat16()) ||
  ------------------
  |  Branch (932:10): [True: 0, False: 617]
  |  Branch (932:48): [True: 0, False: 617]
  ------------------
  933|    617|        (left->getType().contains8BitFloat() || right->getType().contains8BitFloat())) {
  ------------------
  |  Branch (933:10): [True: 0, False: 617]
  |  Branch (933:49): [True: 0, False: 617]
  ------------------
  934|      0|        allowed = false;
  935|      0|    }
  936|       |
  937|    617|    TIntermTyped* result = nullptr;
  938|    617|    if (allowed) {
  ------------------
  |  Branch (938:9): [True: 617, False: 0]
  ------------------
  939|    617|        if ((left->isReference() || right->isReference()))
  ------------------
  |  Branch (939:14): [True: 0, False: 617]
  |  Branch (939:37): [True: 0, False: 617]
  ------------------
  940|      0|            requireExtensions(loc, 1, &E_GL_EXT_buffer_reference2, "buffer reference math");
  941|    617|        result = intermediate.addBinaryMath(op, left, right, loc);
  942|    617|    }
  943|       |
  944|    617|    if (result == nullptr) {
  ------------------
  |  Branch (944:9): [True: 0, False: 617]
  ------------------
  945|      0|        bool enhanced = intermediate.getEnhancedMsgs();
  946|      0|        binaryOpError(loc, str, left->getCompleteString(enhanced), right->getCompleteString(enhanced));
  947|      0|    }
  948|       |
  949|    617|    return result;
  950|    617|}
_ZN7glslang13TParseContext15handleUnaryMathERKNS_10TSourceLocEPKcNS_9TOperatorEPNS_12TIntermTypedE:
  954|    897|{
  955|    897|    rValueErrorCheck(loc, str, childNode);
  956|       |
  957|    897|    bool allowed = true;
  958|    897|    if ((childNode->getType().contains16BitFloat() && !float16Arithmetic()) ||
  ------------------
  |  Branch (958:10): [True: 0, False: 897]
  |  Branch (958:55): [True: 0, False: 0]
  ------------------
  959|    897|        (childNode->getType().contains16BitInt() && !int16Arithmetic()) ||
  ------------------
  |  Branch (959:10): [True: 0, False: 897]
  |  Branch (959:53): [True: 0, False: 0]
  ------------------
  960|    897|        (childNode->getType().contains8BitInt() && !int8Arithmetic()) ||
  ------------------
  |  Branch (960:10): [True: 0, False: 897]
  |  Branch (960:52): [True: 0, False: 0]
  ------------------
  961|    897|        (childNode->getType().containsBFloat16()) ||
  ------------------
  |  Branch (961:9): [True: 0, False: 897]
  ------------------
  962|    897|        (childNode->getType().contains8BitFloat())) {
  ------------------
  |  Branch (962:9): [True: 0, False: 897]
  ------------------
  963|      0|        allowed = false;
  964|      0|    }
  965|       |
  966|    897|    TIntermTyped* result = nullptr;
  967|    897|    if (allowed)
  ------------------
  |  Branch (967:9): [True: 897, False: 0]
  ------------------
  968|    897|        result = intermediate.addUnaryMath(op, childNode, loc);
  969|       |
  970|    897|    if (result)
  ------------------
  |  Branch (970:9): [True: 90, False: 807]
  ------------------
  971|     90|        return result;
  972|    807|    else {
  973|    807|        bool enhanced = intermediate.getEnhancedMsgs();
  974|    807|        unaryOpError(loc, str, childNode->getCompleteString(enhanced));
  975|    807|    }
  976|       |
  977|    807|    return childNode;
  978|    897|}
_ZN7glslang13TParseContext20handleDotDereferenceERKNS_10TSourceLocEPNS_12TIntermTypedERKNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  984|    342|{
  985|    342|    variableCheck(base);
  986|       |
  987|       |    //
  988|       |    // .length() can't be resolved until we later see the function-calling syntax.
  989|       |    // Save away the name in the AST for now.  Processing is completed in
  990|       |    // handleLengthMethod().
  991|       |    //
  992|    342|    if (field == "length" || field == "length64") {
  ------------------
  |  Branch (992:9): [True: 0, False: 342]
  |  Branch (992:30): [True: 0, False: 342]
  ------------------
  993|      0|        if (base->isArray()) {
  ------------------
  |  Branch (993:13): [True: 0, False: 0]
  ------------------
  994|      0|            profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, (TString(".") + field).c_str());
  995|      0|            profileRequires(loc, EEsProfile, 300, nullptr, (TString(".") + field).c_str());
  996|      0|        } else if (base->isVector() || base->isMatrix()) {
  ------------------
  |  Branch (996:20): [True: 0, False: 0]
  |  Branch (996:40): [True: 0, False: 0]
  ------------------
  997|      0|            const char* feature = ".length() on vectors and matrices";
  998|      0|            requireProfile(loc, ~EEsProfile, feature);
  999|      0|            profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, feature);
 1000|      0|        } else if (!base->getType().isCoopMat() && !base->getType().isCoopVecOrLongVector()) {
  ------------------
  |  Branch (1000:20): [True: 0, False: 0]
  |  Branch (1000:52): [True: 0, False: 0]
  ------------------
 1001|      0|            bool enhanced = intermediate.getEnhancedMsgs();
 1002|      0|            error(loc, "does not operate on this type:", field.c_str(), base->getType().getCompleteString(enhanced).c_str());
 1003|      0|            return base;
 1004|      0|        }
 1005|       |
 1006|      0|        if (field == "length") {
  ------------------
  |  Branch (1006:13): [True: 0, False: 0]
  ------------------
 1007|      0|            return intermediate.addMethod(base, TType(EbtInt), &field, loc);
 1008|      0|        } else {
 1009|      0|            requireExtensions(loc, 1, &E_GL_EXT_shader_64bit_indexing, "length64");
 1010|      0|            return intermediate.addMethod(base, TType(EbtInt64), &field, loc);
 1011|      0|        }
 1012|      0|    }
 1013|       |
 1014|       |    // It's not .length() if we get to here.
 1015|       |
 1016|    342|    if (base->isArray()) {
  ------------------
  |  Branch (1016:9): [True: 0, False: 342]
  ------------------
 1017|      0|        error(loc, "cannot apply to an array:", ".", field.c_str());
 1018|       |
 1019|      0|        return base;
 1020|      0|    }
 1021|       |
 1022|    342|    if (base->getType().isCoopMat()) {
  ------------------
  |  Branch (1022:9): [True: 0, False: 342]
  ------------------
 1023|      0|        error(loc, "cannot apply to a cooperative matrix type:", ".", field.c_str());
 1024|      0|        return base;
 1025|      0|    }
 1026|       |
 1027|       |    // It's neither an array nor .length() if we get here,
 1028|       |    // leaving swizzles and struct/block dereferences.
 1029|       |
 1030|    342|    TIntermTyped* result = base;
 1031|    342|    if ((base->isVector() || base->isScalar()) &&
  ------------------
  |  Branch (1031:10): [True: 0, False: 342]
  |  Branch (1031:30): [True: 342, False: 0]
  ------------------
 1032|    342|        (base->isFloatingDomain() || base->isIntegerDomain() || base->getBasicType() == EbtBool)) {
  ------------------
  |  Branch (1032:10): [True: 0, False: 342]
  |  Branch (1032:38): [True: 342, False: 0]
  |  Branch (1032:65): [True: 0, False: 0]
  ------------------
 1033|    342|        result = handleDotSwizzle(loc, base, field);
 1034|    342|    } else if (base->isStruct() || base->isReference()) {
  ------------------
  |  Branch (1034:16): [True: 0, False: 0]
  |  Branch (1034:36): [True: 0, False: 0]
  ------------------
 1035|      0|        const TTypeList* fields = base->isReference() ?
  ------------------
  |  Branch (1035:35): [True: 0, False: 0]
  ------------------
 1036|      0|                                  base->getType().getReferentType()->getStruct() :
 1037|      0|                                  base->getType().getStruct();
 1038|      0|        bool fieldFound = false;
 1039|      0|        int member;
 1040|      0|        for (member = 0; member < (int)fields->size(); ++member) {
  ------------------
  |  Branch (1040:26): [True: 0, False: 0]
  ------------------
 1041|      0|            if ((*fields)[member].type->getFieldName() == field) {
  ------------------
  |  Branch (1041:17): [True: 0, False: 0]
  ------------------
 1042|      0|                fieldFound = true;
 1043|      0|                break;
 1044|      0|            }
 1045|      0|        }
 1046|       |
 1047|      0|        if (fieldFound) {
  ------------------
  |  Branch (1047:13): [True: 0, False: 0]
  ------------------
 1048|      0|            if (spvVersion.vulkan != 0 && spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (1048:17): [True: 0, False: 0]
  |  Branch (1048:43): [True: 0, False: 0]
  ------------------
 1049|      0|                result = vkRelaxedRemapDotDereference(loc, *base, *(*fields)[member].type, field);
 1050|       |
 1051|      0|            if (result == base)
  ------------------
  |  Branch (1051:17): [True: 0, False: 0]
  ------------------
 1052|      0|            {
 1053|      0|                if (base->getType().getQualifier().isFrontEndConstant())
  ------------------
  |  Branch (1053:21): [True: 0, False: 0]
  ------------------
 1054|      0|                    result = intermediate.foldDereference(base, member, loc);
 1055|      0|                else {
 1056|      0|                    blockMemberExtensionCheck(loc, base, member, field);
 1057|      0|                    TIntermTyped* index = intermediate.addConstantUnion(member, loc);
 1058|      0|                    result = intermediate.addIndex(EOpIndexDirectStruct, base, index, loc);
 1059|      0|                    result->setType(*(*fields)[member].type);
 1060|      0|                    if ((*fields)[member].type->getQualifier().isIo())
  ------------------
  |  Branch (1060:25): [True: 0, False: 0]
  ------------------
 1061|      0|                        intermediate.addIoAccessed(field);
 1062|      0|                }
 1063|      0|            }
 1064|       |
 1065|      0|            inheritMemoryQualifiers(base->getQualifier(), result->getWritableType().getQualifier());
 1066|      0|        } else {
 1067|      0|            auto baseSymbol = base;
 1068|      0|            while (baseSymbol->getAsSymbolNode() == nullptr) {
  ------------------
  |  Branch (1068:20): [True: 0, False: 0]
  ------------------
 1069|      0|                auto binaryNode = baseSymbol->getAsBinaryNode();
 1070|      0|                if (binaryNode == nullptr) break;
  ------------------
  |  Branch (1070:21): [True: 0, False: 0]
  ------------------
 1071|      0|                baseSymbol = binaryNode->getLeft();
 1072|      0|            }
 1073|      0|            if (baseSymbol->getAsSymbolNode() != nullptr) {
  ------------------
  |  Branch (1073:17): [True: 0, False: 0]
  ------------------
 1074|      0|                TString structName;
 1075|      0|                structName.append("\'").append(baseSymbol->getAsSymbolNode()->getName().c_str()).append("\'");
 1076|      0|                error(loc, "no such field in structure", field.c_str(), structName.c_str());
 1077|      0|            } else {
 1078|      0|                error(loc, "no such field in structure", field.c_str(), "");
 1079|      0|            }
 1080|      0|        }
 1081|      0|    } else
 1082|      0|        error(loc, "does not apply to this type:", field.c_str(),
 1083|      0|          base->getType().getCompleteString(intermediate.getEnhancedMsgs()).c_str());
 1084|       |
 1085|       |    // Propagate noContraction up the dereference chain
 1086|    342|    if (base->getQualifier().isNoContraction())
  ------------------
  |  Branch (1086:9): [True: 0, False: 342]
  ------------------
 1087|      0|        result->getWritableType().getQualifier().setNoContraction();
 1088|       |
 1089|       |    // Propagate nonuniform
 1090|    342|    if (base->getQualifier().isNonUniform())
  ------------------
  |  Branch (1090:9): [True: 0, False: 342]
  ------------------
 1091|      0|        result->getWritableType().getQualifier().nonUniform = true;
 1092|       |
 1093|    342|    return result;
 1094|    342|}
_ZN7glslang13TParseContext16handleDotSwizzleERKNS_10TSourceLocEPNS_12TIntermTypedERKNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 1100|    342|{
 1101|    342|    TIntermTyped* result = base;
 1102|    342|    if (base->isScalar()) {
  ------------------
  |  Branch (1102:9): [True: 342, False: 0]
  ------------------
 1103|    342|        const char* dotFeature = "scalar swizzle";
 1104|    342|        requireProfile(loc, ~EEsProfile, dotFeature);
 1105|    342|        profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, dotFeature);
 1106|    342|    }
 1107|       |
 1108|    342|    TSwizzleSelectors<TVectorSelector> selectors;
 1109|    342|    parseSwizzleSelector(loc, field, base->getVectorSize(), selectors);
 1110|       |
 1111|    342|    if (base->isVector() && selectors.size() != 1 && base->getType().contains16BitFloat())
  ------------------
  |  Branch (1111:9): [True: 0, False: 342]
  |  Branch (1111:29): [True: 0, False: 0]
  |  Branch (1111:54): [True: 0, False: 0]
  ------------------
 1112|      0|        requireFloat16Arithmetic(loc, ".", "can't swizzle types containing float16");
 1113|    342|    if (base->isVector() && selectors.size() != 1 && base->getType().contains16BitInt())
  ------------------
  |  Branch (1113:9): [True: 0, False: 342]
  |  Branch (1113:29): [True: 0, False: 0]
  |  Branch (1113:54): [True: 0, False: 0]
  ------------------
 1114|      0|        requireInt16Arithmetic(loc, ".", "can't swizzle types containing (u)int16");
 1115|    342|    if (base->isVector() && selectors.size() != 1 && base->getType().contains8BitInt())
  ------------------
  |  Branch (1115:9): [True: 0, False: 342]
  |  Branch (1115:29): [True: 0, False: 0]
  |  Branch (1115:54): [True: 0, False: 0]
  ------------------
 1116|      0|        requireInt8Arithmetic(loc, ".", "can't swizzle types containing (u)int8");
 1117|       |
 1118|    342|    if (base->isScalar()) {
  ------------------
  |  Branch (1118:9): [True: 342, False: 0]
  ------------------
 1119|    342|        if (selectors.size() == 1)
  ------------------
  |  Branch (1119:13): [True: 40, False: 302]
  ------------------
 1120|     40|            return result;
 1121|    302|        else {
 1122|    302|            TType type(base->getBasicType(), EvqTemporary, selectors.size());
 1123|       |            // Swizzle operations propagate specialization-constantness
 1124|    302|            if (base->getQualifier().isSpecConstant())
  ------------------
  |  Branch (1124:17): [True: 0, False: 302]
  ------------------
 1125|      0|                type.getQualifier().makeSpecConstant();
 1126|    302|            return addConstructor(loc, base, type);
 1127|    302|        }
 1128|    342|    }
 1129|       |
 1130|      0|    if (base->getType().getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (1130:9): [True: 0, False: 0]
  ------------------
 1131|      0|	rValueErrorCheck(loc, ".", base);
 1132|      0|        result = intermediate.foldSwizzle(base, selectors, loc);
 1133|      0|    } else {
 1134|      0|        if (selectors.size() == 1) {
  ------------------
  |  Branch (1134:13): [True: 0, False: 0]
  ------------------
 1135|      0|            TIntermTyped* index = intermediate.addConstantUnion(selectors[0], loc);
 1136|      0|            result = intermediate.addIndex(EOpIndexDirect, base, index, loc);
 1137|      0|            result->setType(TType(base->getBasicType(), EvqTemporary, base->getType().getQualifier().precision));
 1138|      0|        } else {
 1139|      0|            TIntermTyped* index = intermediate.addSwizzle(selectors, loc);
 1140|      0|            result = intermediate.addIndex(EOpVectorSwizzle, base, index, loc);
 1141|      0|            result->setType(TType(base->getBasicType(), EvqTemporary, base->getType().getQualifier().precision, selectors.size()));
 1142|      0|        }
 1143|       |        // Swizzle operations propagate specialization-constantness
 1144|      0|        if (base->getType().getQualifier().isSpecConstant())
  ------------------
  |  Branch (1144:13): [True: 0, False: 0]
  ------------------
 1145|      0|            result->getWritableType().getQualifier().makeSpecConstant();
 1146|      0|    }
 1147|       |
 1148|      0|    return result;
 1149|    342|}
_ZN7glslang13TParseContext24handleFunctionDeclaratorERKNS_10TSourceLocERNS_9TFunctionEb:
 1198|   356k|{
 1199|       |    // ES can't declare prototypes inside functions
 1200|   356k|    if (! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (1200:9): [True: 0, False: 356k]
  ------------------
 1201|      0|        requireProfile(loc, ~EEsProfile, "local function declaration");
 1202|       |
 1203|       |    //
 1204|       |    // Multiple declarations of the same function name are allowed.
 1205|       |    //
 1206|       |    // If this is a definition, the definition production code will check for redefinitions
 1207|       |    // (we don't know at this point if it's a definition or not).
 1208|       |    //
 1209|       |    // Redeclarations (full signature match) are allowed.  But, return types and parameter qualifiers must also match.
 1210|       |    //  - except ES 100, which only allows a single prototype
 1211|       |    //
 1212|       |    // ES 100 does not allow redefining, but does allow overloading of built-in functions.
 1213|       |    // ES 300 does not allow redefining or overloading of built-in functions.
 1214|       |    //
 1215|   356k|    bool builtIn;
 1216|   356k|    TSymbol* symbol = symbolTable.find(function.getMangledName(), &builtIn);
 1217|   356k|    if (symbol && symbol->getAsFunction() && builtIn)
  ------------------
  |  Branch (1217:9): [True: 3.40k, False: 353k]
  |  Branch (1217:19): [True: 3.40k, False: 0]
  |  Branch (1217:46): [True: 3.40k, False: 0]
  ------------------
 1218|  3.40k|        requireProfile(loc, ~EEsProfile, "redefinition of built-in function");
 1219|       |    // Check the validity of using spirv_literal qualifier
 1220|  1.37M|    for (int i = 0; i < function.getParamCount(); ++i) {
  ------------------
  |  Branch (1220:21): [True: 1.01M, False: 356k]
  ------------------
 1221|  1.01M|        if (function[i].type->getQualifier().isSpirvLiteral() && function.getBuiltInOp() != EOpSpirvInst)
  ------------------
  |  Branch (1221:13): [True: 0, False: 1.01M]
  |  Branch (1221:66): [True: 0, False: 0]
  ------------------
 1222|      0|            error(loc, "'spirv_literal' can only be used on functions defined with 'spirv_instruction' for argument",
 1223|      0|                  function.getName().c_str(), "%d", i + 1);
 1224|  1.01M|    }
 1225|       |
 1226|       |    // For function declaration with SPIR-V instruction qualifier, always ignore the built-in function and
 1227|       |    // respect this redeclared one.
 1228|   356k|    if (symbol && builtIn && function.getBuiltInOp() == EOpSpirvInst)
  ------------------
  |  Branch (1228:9): [True: 3.40k, False: 353k]
  |  Branch (1228:19): [True: 3.40k, False: 0]
  |  Branch (1228:30): [True: 0, False: 3.40k]
  ------------------
 1229|      0|        symbol = nullptr;
 1230|   356k|    const TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr;
  ------------------
  |  Branch (1230:32): [True: 3.40k, False: 353k]
  ------------------
 1231|   356k|    if (prevDec) {
  ------------------
  |  Branch (1231:9): [True: 3.40k, False: 353k]
  ------------------
 1232|  3.40k|        if (prevDec->isPrototyped() && prototype)
  ------------------
  |  Branch (1232:13): [True: 0, False: 3.40k]
  |  Branch (1232:40): [True: 0, False: 0]
  ------------------
 1233|      0|            profileRequires(loc, EEsProfile, 300, nullptr, "multiple prototypes for same function");
 1234|  3.40k|        if (prevDec->getSpirvInstruction() != function.getSpirvInstruction()) {
  ------------------
  |  Branch (1234:13): [True: 0, False: 3.40k]
  ------------------
 1235|      0|            error(loc, "overloaded functions must have the same qualifiers", function.getName().c_str(),
 1236|      0|                  "spirv_instruction");
 1237|      0|        }
 1238|  3.40k|        bool parameterTypesDiffer = false;
 1239|  12.0k|        for (int i = 0; i < prevDec->getParamCount(); ++i) {
  ------------------
  |  Branch (1239:25): [True: 8.62k, False: 3.40k]
  ------------------
 1240|  8.62k|            if ((*prevDec)[i].type->getQualifier().storage != function[i].type->getQualifier().storage)
  ------------------
  |  Branch (1240:17): [True: 0, False: 8.62k]
  ------------------
 1241|      0|                error(loc, "overloaded functions must have the same parameter storage qualifiers for argument", function[i].type->getStorageQualifierString(), "%d", i+1);
 1242|       |
 1243|  8.62k|            if ((*prevDec)[i].type->getQualifier().precision != function[i].type->getQualifier().precision)
  ------------------
  |  Branch (1243:17): [True: 0, False: 8.62k]
  ------------------
 1244|      0|                error(loc, "overloaded functions must have the same parameter precision qualifiers for argument", function[i].type->getPrecisionQualifierString(), "%d", i+1);
 1245|       |
 1246|  8.62k|            if (*(*prevDec)[i].type != *function[i].type)
  ------------------
  |  Branch (1246:17): [True: 0, False: 8.62k]
  ------------------
 1247|      0|                parameterTypesDiffer = true;
 1248|  8.62k|        }
 1249|  3.40k|        if (!parameterTypesDiffer && prevDec->getType() != function.getType())
  ------------------
  |  Branch (1249:13): [True: 3.40k, False: 0]
  |  Branch (1249:38): [True: 0, False: 3.40k]
  ------------------
 1250|      0|            error(loc, "overloaded functions must have the same return type", function.getName().c_str(), "");
 1251|  3.40k|    }
 1252|       |
 1253|   356k|    arrayObjectCheck(loc, function.getType(), "array in function return type");
 1254|       |
 1255|   356k|    if (prototype) {
  ------------------
  |  Branch (1255:9): [True: 356k, False: 0]
  ------------------
 1256|       |        // All built-in functions are defined, even though they don't have a body.
 1257|       |        // Count their prototype as a definition instead.
 1258|   356k|        if (symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (1258:13): [True: 356k, False: 0]
  ------------------
 1259|   356k|            function.setDefined();
 1260|      0|        else {
 1261|      0|            if (prevDec && ! builtIn)
  ------------------
  |  Branch (1261:17): [True: 0, False: 0]
  |  Branch (1261:28): [True: 0, False: 0]
  ------------------
 1262|      0|                symbol->getAsFunction()->setPrototyped();  // need a writable one, but like having prevDec as a const
 1263|      0|            function.setPrototyped();
 1264|      0|        }
 1265|   356k|    }
 1266|       |
 1267|       |    // This insert won't actually insert it if it's a duplicate signature, but it will still check for
 1268|       |    // other forms of name collisions.
 1269|   356k|    if (! symbolTable.insert(function))
  ------------------
  |  Branch (1269:9): [True: 0, False: 356k]
  ------------------
 1270|      0|        error(loc, "function name is redeclaration of existing name", function.getName().c_str(), "");
 1271|       |
 1272|       |    //
 1273|       |    // If this is a redeclaration, it could also be a definition,
 1274|       |    // in which case, we need to use the parameter names from this one, and not the one that's
 1275|       |    // being redeclared.  So, pass back this declaration, not the one in the symbol table.
 1276|       |    //
 1277|   356k|    return &function;
 1278|   356k|}
_ZN7glslang13TParseContext18handleFunctionCallERKNS_10TSourceLocEPNS_9TFunctionEP11TIntermNode:
 1383|    403|{
 1384|    403|    TIntermTyped* result = nullptr;
 1385|       |
 1386|    403|    if (spvVersion.vulkan != 0 && spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (1386:9): [True: 45, False: 358]
  |  Branch (1386:35): [True: 0, False: 45]
  ------------------
 1387|       |        // allow calls that are invalid in Vulkan Semantics to be invisibily
 1388|       |        // remapped to equivalent valid functions
 1389|      0|        result = vkRelaxedRemapFunctionCall(loc, function, arguments);
 1390|      0|        if (result)
  ------------------
  |  Branch (1390:13): [True: 0, False: 0]
  ------------------
 1391|      0|            return result;
 1392|      0|    }
 1393|       |
 1394|    403|    if (function->getBuiltInOp() == EOpArrayLength)
  ------------------
  |  Branch (1394:9): [True: 0, False: 403]
  ------------------
 1395|      0|        result = handleLengthMethod(loc, function, arguments);
 1396|    403|    else if (function->getBuiltInOp() != EOpNull) {
  ------------------
  |  Branch (1396:14): [True: 334, False: 69]
  ------------------
 1397|       |        //
 1398|       |        // Then this should be a constructor.
 1399|       |        // Don't go through the symbol table for constructors.
 1400|       |        // Their parameters will be verified algorithmically.
 1401|       |        //
 1402|    334|        TType type(EbtVoid);  // use this to get the type back
 1403|    334|        if (! constructorError(loc, arguments, *function, function->getBuiltInOp(), type)) {
  ------------------
  |  Branch (1403:13): [True: 330, False: 4]
  ------------------
 1404|       |            //
 1405|       |            // It's a constructor, of type 'type'.
 1406|       |            //
 1407|    330|            result = addConstructor(loc, arguments, type);
 1408|    330|            if (result == nullptr)
  ------------------
  |  Branch (1408:17): [True: 20, False: 310]
  ------------------
 1409|     20|                error(loc, "cannot construct with these arguments", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str(), "");
 1410|    330|        }
 1411|    334|    } else {
 1412|       |        //
 1413|       |        // Find it in the symbol table.
 1414|       |        //
 1415|     69|        const TFunction* fnCandidate;
 1416|     69|        bool builtIn {false};
 1417|     69|        fnCandidate = findFunction(loc, *function, builtIn);
 1418|     69|        if (fnCandidate) {
  ------------------
  |  Branch (1418:13): [True: 0, False: 69]
  ------------------
 1419|       |            // This is a declared function that might map to
 1420|       |            //  - a built-in operator,
 1421|       |            //  - a built-in function not mapped to an operator, or
 1422|       |            //  - a user function.
 1423|       |
 1424|       |            // Error check for a function requiring specific extensions present.
 1425|      0|            if (builtIn &&
  ------------------
  |  Branch (1425:17): [True: 0, False: 0]
  ------------------
 1426|      0|                (fnCandidate->getBuiltInOp() == EOpSubgroupQuadAll || fnCandidate->getBuiltInOp() == EOpSubgroupQuadAny))
  ------------------
  |  Branch (1426:18): [True: 0, False: 0]
  |  Branch (1426:71): [True: 0, False: 0]
  ------------------
 1427|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_quad_control, fnCandidate->getName().c_str());
 1428|       |
 1429|      0|            if (builtIn && fnCandidate->getNumExtensions())
  ------------------
  |  Branch (1429:17): [True: 0, False: 0]
  |  Branch (1429:28): [True: 0, False: 0]
  ------------------
 1430|      0|                requireExtensions(loc, fnCandidate->getNumExtensions(), fnCandidate->getExtensions(), fnCandidate->getName().c_str());
 1431|       |
 1432|      0|            if (builtIn && fnCandidate->getType().contains16BitFloat())
  ------------------
  |  Branch (1432:17): [True: 0, False: 0]
  |  Branch (1432:28): [True: 0, False: 0]
  ------------------
 1433|      0|                requireFloat16Arithmetic(loc, "built-in function", "float16 types can only be in uniform block or buffer storage");
 1434|      0|            if (builtIn && fnCandidate->getType().contains16BitInt())
  ------------------
  |  Branch (1434:17): [True: 0, False: 0]
  |  Branch (1434:28): [True: 0, False: 0]
  ------------------
 1435|      0|                requireInt16Arithmetic(loc, "built-in function", "(u)int16 types can only be in uniform block or buffer storage");
 1436|      0|            if (builtIn && fnCandidate->getType().contains8BitInt())
  ------------------
  |  Branch (1436:17): [True: 0, False: 0]
  |  Branch (1436:28): [True: 0, False: 0]
  ------------------
 1437|      0|                requireInt8Arithmetic(loc, "built-in function", "(u)int8 types can only be in uniform block or buffer storage");
 1438|      0|            if (builtIn && (fnCandidate->getBuiltInOp() == EOpTextureFetch || fnCandidate->getBuiltInOp() == EOpTextureQuerySize)) {
  ------------------
  |  Branch (1438:17): [True: 0, False: 0]
  |  Branch (1438:29): [True: 0, False: 0]
  |  Branch (1438:79): [True: 0, False: 0]
  ------------------
 1439|      0|                if ((*fnCandidate)[0].type->getSampler().isMultiSample() && version <= 140)
  ------------------
  |  Branch (1439:21): [True: 0, False: 0]
  |  Branch (1439:77): [True: 0, False: 0]
  ------------------
 1440|      0|                    requireExtensions(loc, 1, &E_GL_ARB_texture_multisample, fnCandidate->getName().c_str());
 1441|      0|            }
 1442|      0|            bool hasLongVectorArg = false;
 1443|      0|            if (arguments != nullptr) {
  ------------------
  |  Branch (1443:17): [True: 0, False: 0]
  ------------------
 1444|       |                // Make sure qualifications work for these arguments.
 1445|      0|                TIntermAggregate* aggregate = arguments->getAsAggregate();
 1446|      0|                for (int i = 0; i < fnCandidate->getParamCount(); ++i) {
  ------------------
  |  Branch (1446:33): [True: 0, False: 0]
  ------------------
 1447|       |                    // At this early point there is a slight ambiguity between whether an aggregate 'arguments'
 1448|       |                    // is the single argument itself or its children are the arguments.  Only one argument
 1449|       |                    // means take 'arguments' itself as the one argument.
 1450|      0|                    if ((*fnCandidate)[i].defaultValue) {
  ------------------
  |  Branch (1450:25): [True: 0, False: 0]
  ------------------
 1451|      0|                        if (!aggregate) {
  ------------------
  |  Branch (1451:29): [True: 0, False: 0]
  ------------------
 1452|       |                            // Only one argument was passed (rest are default arguments) so arguments isn't a TIntermAggregate.
 1453|       |                            // But the function takes at least one more argument, so a TIntermAggregate is needed.
 1454|      0|                            aggregate = new TIntermAggregate;
 1455|      0|                            aggregate->getSequence().push_back(arguments);
 1456|      0|                            arguments = aggregate;
 1457|      0|                        }
 1458|      0|                        if (i >= static_cast<int>(aggregate->getSequence().size())) {
  ------------------
  |  Branch (1458:29): [True: 0, False: 0]
  ------------------
 1459|       |                            // Append the default value if there are no more arguments left in the aggregate.
 1460|      0|                            TIntermConstantUnion *defaultValue = nullptr;
 1461|      0|                            if (const auto *constUnion = (*fnCandidate)[i].defaultValue->getAsConstantUnion()) {
  ------------------
  |  Branch (1461:45): [True: 0, False: 0]
  ------------------
 1462|      0|                                defaultValue = new TIntermConstantUnion(constUnion->getConstArray(), constUnion->getType());
 1463|      0|                            }
 1464|      0|                            assert(defaultValue && "unsupported default value construct");
 1465|      0|                            aggregate->getSequence().push_back(defaultValue);
 1466|      0|                        }
 1467|      0|                    }
 1468|      0|                    TIntermNode* arg = fnCandidate->getParamCount() == 1 ? arguments : (aggregate ? aggregate->getSequence()[i] : arguments);
  ------------------
  |  Branch (1468:40): [True: 0, False: 0]
  |  Branch (1468:89): [True: 0, False: 0]
  ------------------
 1469|      0|                    TQualifier& formalQualifier = (*fnCandidate)[i].type->getQualifier();
 1470|      0|                    if (formalQualifier.isParamOutput()) {
  ------------------
  |  Branch (1470:25): [True: 0, False: 0]
  ------------------
 1471|      0|                        if (lValueErrorCheck(arguments->getLoc(), "assign", arg->getAsTyped()))
  ------------------
  |  Branch (1471:29): [True: 0, False: 0]
  ------------------
 1472|      0|                            error(arguments->getLoc(), "Non-L-value cannot be passed for 'out' or 'inout' parameters.", "out", "");
 1473|      0|                    }
 1474|      0|                    if (formalQualifier.isSpirvLiteral()) {
  ------------------
  |  Branch (1474:25): [True: 0, False: 0]
  ------------------
 1475|      0|                        if (!arg->getAsTyped()->getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (1475:29): [True: 0, False: 0]
  ------------------
 1476|      0|                            error(arguments->getLoc(),
 1477|      0|                                  "Non front-end constant expressions cannot be passed for 'spirv_literal' parameters.",
 1478|      0|                                  "spirv_literal", "");
 1479|      0|                        }
 1480|      0|                    }
 1481|      0|                    const TType& argType = arg->getAsTyped()->getType();
 1482|      0|                    const TQualifier& argQualifier = argType.getQualifier();
 1483|      0|                    bool containsBindlessSampler = intermediate.getBindlessMode() && argType.containsSampler();
  ------------------
  |  Branch (1483:52): [True: 0, False: 0]
  |  Branch (1483:86): [True: 0, False: 0]
  ------------------
 1484|      0|                    if (argQualifier.isMemory() && !containsBindlessSampler && (argType.containsOpaque() || argType.isReference())) {
  ------------------
  |  Branch (1484:25): [True: 0, False: 0]
  |  Branch (1484:52): [True: 0, False: 0]
  |  Branch (1484:81): [True: 0, False: 0]
  |  Branch (1484:109): [True: 0, False: 0]
  ------------------
 1485|      0|                        const char* message = "argument cannot drop memory qualifier when passed to formal parameter";
 1486|      0|                        if (argQualifier.volatil && ! formalQualifier.volatil)
  ------------------
  |  Branch (1486:29): [True: 0, False: 0]
  |  Branch (1486:53): [True: 0, False: 0]
  ------------------
 1487|      0|                            error(arguments->getLoc(), message, "volatile", "");
 1488|      0|                        if (argQualifier.coherent && ! (formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1488:29): [True: 0, False: 0]
  |  Branch (1488:57): [True: 0, False: 0]
  |  Branch (1488:91): [True: 0, False: 0]
  ------------------
 1489|      0|                            error(arguments->getLoc(), message, "coherent", "");
 1490|      0|                        if (argQualifier.devicecoherent && ! (formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1490:29): [True: 0, False: 0]
  |  Branch (1490:63): [True: 0, False: 0]
  |  Branch (1490:97): [True: 0, False: 0]
  ------------------
 1491|      0|                            error(arguments->getLoc(), message, "devicecoherent", "");
 1492|      0|                        if (argQualifier.queuefamilycoherent && ! (formalQualifier.queuefamilycoherent || formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1492:29): [True: 0, False: 0]
  |  Branch (1492:68): [True: 0, False: 0]
  |  Branch (1492:107): [True: 0, False: 0]
  |  Branch (1492:141): [True: 0, False: 0]
  ------------------
 1493|      0|                            error(arguments->getLoc(), message, "queuefamilycoherent", "");
 1494|      0|                        if (argQualifier.workgroupcoherent && ! (formalQualifier.workgroupcoherent || formalQualifier.queuefamilycoherent || formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1494:29): [True: 0, False: 0]
  |  Branch (1494:66): [True: 0, False: 0]
  |  Branch (1494:103): [True: 0, False: 0]
  |  Branch (1494:142): [True: 0, False: 0]
  |  Branch (1494:176): [True: 0, False: 0]
  ------------------
 1495|      0|                            error(arguments->getLoc(), message, "workgroupcoherent", "");
 1496|      0|                        if (argQualifier.subgroupcoherent && ! (formalQualifier.subgroupcoherent || formalQualifier.workgroupcoherent || formalQualifier.queuefamilycoherent || formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1496:29): [True: 0, False: 0]
  |  Branch (1496:65): [True: 0, False: 0]
  |  Branch (1496:101): [True: 0, False: 0]
  |  Branch (1496:138): [True: 0, False: 0]
  |  Branch (1496:177): [True: 0, False: 0]
  |  Branch (1496:211): [True: 0, False: 0]
  ------------------
 1497|      0|                            error(arguments->getLoc(), message, "subgroupcoherent", "");
 1498|      0|                        if (argQualifier.readonly && ! formalQualifier.readonly)
  ------------------
  |  Branch (1498:29): [True: 0, False: 0]
  |  Branch (1498:54): [True: 0, False: 0]
  ------------------
 1499|      0|                            error(arguments->getLoc(), message, "readonly", "");
 1500|      0|                        if (argQualifier.writeonly && ! formalQualifier.writeonly)
  ------------------
  |  Branch (1500:29): [True: 0, False: 0]
  |  Branch (1500:55): [True: 0, False: 0]
  ------------------
 1501|      0|                            error(arguments->getLoc(), message, "writeonly", "");
 1502|      0|                        if (argQualifier.nontemporal && ! formalQualifier.nontemporal)
  ------------------
  |  Branch (1502:29): [True: 0, False: 0]
  |  Branch (1502:57): [True: 0, False: 0]
  ------------------
 1503|      0|                            error(arguments->getLoc(), message, "nontemporal", "");
 1504|       |                        // Don't check 'restrict', it is different than the rest:
 1505|       |                        // "...but only restrict can be taken away from a calling argument, by a formal parameter that
 1506|       |                        // lacks the restrict qualifier..."
 1507|      0|                    }
 1508|      0|                    if (!builtIn && argQualifier.getFormat() != formalQualifier.getFormat()) {
  ------------------
  |  Branch (1508:25): [True: 0, False: 0]
  |  Branch (1508:37): [True: 0, False: 0]
  ------------------
 1509|       |                        // we have mismatched formats, which should only be allowed if writeonly
 1510|       |                        // and at least one format is unknown
 1511|      0|                        if (!formalQualifier.isWriteOnly() || (formalQualifier.getFormat() != ElfNone &&
  ------------------
  |  Branch (1511:29): [True: 0, False: 0]
  |  Branch (1511:64): [True: 0, False: 0]
  ------------------
 1512|      0|                                                                  argQualifier.getFormat() != ElfNone))
  ------------------
  |  Branch (1512:67): [True: 0, False: 0]
  ------------------
 1513|      0|                            error(arguments->getLoc(), "image formats must match", "format", "");
 1514|      0|                    }
 1515|      0|                    if (builtIn && arg->getAsTyped()->getType().contains16BitFloat())
  ------------------
  |  Branch (1515:25): [True: 0, False: 0]
  |  Branch (1515:36): [True: 0, False: 0]
  ------------------
 1516|      0|                        requireFloat16Arithmetic(arguments->getLoc(), "built-in function", "float16 types can only be in uniform block or buffer storage");
 1517|      0|                    if (builtIn && arg->getAsTyped()->getType().contains16BitInt())
  ------------------
  |  Branch (1517:25): [True: 0, False: 0]
  |  Branch (1517:36): [True: 0, False: 0]
  ------------------
 1518|      0|                        requireInt16Arithmetic(arguments->getLoc(), "built-in function", "(u)int16 types can only be in uniform block or buffer storage");
 1519|      0|                    if (builtIn && arg->getAsTyped()->getType().contains8BitInt())
  ------------------
  |  Branch (1519:25): [True: 0, False: 0]
  |  Branch (1519:36): [True: 0, False: 0]
  ------------------
 1520|      0|                        requireInt8Arithmetic(arguments->getLoc(), "built-in function", "(u)int8 types can only be in uniform block or buffer storage");
 1521|       |
 1522|       |                    // Check that coopVecOuterProductAccumulateNV vector component types match
 1523|      0|                    if (builtIn && fnCandidate->getBuiltInOp() == EOpCooperativeVectorOuterProductAccumulateNV &&
  ------------------
  |  Branch (1523:25): [True: 0, False: 0]
  |  Branch (1523:36): [True: 0, False: 0]
  ------------------
 1524|      0|                        i == 1 && arg->getAsTyped()->getType().getBasicType() != aggregate->getSequence()[0]->getAsTyped()->getType().getBasicType())
  ------------------
  |  Branch (1524:25): [True: 0, False: 0]
  |  Branch (1524:35): [True: 0, False: 0]
  ------------------
 1525|      0|                        error(arguments->getLoc(), "cooperative vector basic types must match", fnCandidate->getName().c_str(), "");
 1526|       |
 1527|       |                    // Check that coopVecLoadNV and coopVecStoreNV buffer parameter is in buffer or shared storage
 1528|      0|                    if (builtIn && (fnCandidate->getBuiltInOp() == EOpCooperativeVectorLoadNV ||
  ------------------
  |  Branch (1528:25): [True: 0, False: 0]
  |  Branch (1528:37): [True: 0, False: 0]
  ------------------
 1529|      0|                                    fnCandidate->getBuiltInOp() == EOpCooperativeVectorStoreNV) &&
  ------------------
  |  Branch (1529:37): [True: 0, False: 0]
  ------------------
 1530|      0|                        i == 1) {
  ------------------
  |  Branch (1530:25): [True: 0, False: 0]
  ------------------
 1531|      0|                        TStorageQualifier storage = arg->getAsTyped()->getType().getQualifier().storage;
 1532|      0|                        if (storage != EvqBuffer && storage != EvqShared) {
  ------------------
  |  Branch (1532:29): [True: 0, False: 0]
  |  Branch (1532:53): [True: 0, False: 0]
  ------------------
 1533|      0|                            error(arguments->getLoc(), "buffer argument must be in buffer or shared storage", 
 1534|      0|                                  fnCandidate->getName().c_str(), "");
 1535|      0|                        }
 1536|      0|                    }
 1537|       |
 1538|      0|                    if (argType.isLongVector()) {
  ------------------
  |  Branch (1538:25): [True: 0, False: 0]
  ------------------
 1539|      0|                        hasLongVectorArg = true;
 1540|      0|                    }
 1541|       |
 1542|       |                    // TODO 4.5 functionality:  A shader will fail to compile
 1543|       |                    // if the value passed to the memargument of an atomic memory function does not correspond to a buffer or
 1544|       |                    // shared variable. It is acceptable to pass an element of an array or a single component of a vector to the
 1545|       |                    // memargument of an atomic memory function, as long as the underlying array or vector is a buffer or
 1546|       |                    // shared variable.
 1547|      0|                }
 1548|       |
 1549|       |                // Convert 'in' arguments
 1550|      0|                addInputArgumentConversions(*fnCandidate, arguments);  // arguments may be modified if it's just a single argument node
 1551|      0|            }
 1552|       |
 1553|      0|            if (builtIn && fnCandidate->getBuiltInOp() != EOpNull) {
  ------------------
  |  Branch (1553:17): [True: 0, False: 0]
  |  Branch (1553:28): [True: 0, False: 0]
  ------------------
 1554|       |                // A function call mapped to a built-in operation.
 1555|      0|                result = handleBuiltInFunctionCall(loc, arguments, *fnCandidate);
 1556|      0|            } else if (fnCandidate->getBuiltInOp() == EOpSpirvInst) {
  ------------------
  |  Branch (1556:24): [True: 0, False: 0]
  ------------------
 1557|       |                // When SPIR-V instruction qualifier is specified, the function call is still mapped to a built-in operation.
 1558|      0|                result = handleBuiltInFunctionCall(loc, arguments, *fnCandidate);
 1559|      0|            } else {
 1560|       |                // This is a function call not mapped to built-in operator.
 1561|       |                // It could still be a built-in function, but only if PureOperatorBuiltins == false.
 1562|      0|                result = intermediate.setAggregateOperator(arguments, EOpFunctionCall, fnCandidate->getType(), loc);
 1563|      0|                TIntermAggregate* call = result->getAsAggregate();
 1564|      0|                call->setName(fnCandidate->getMangledName());
 1565|       |
 1566|       |                // this is how we know whether the given function is a built-in function or a user-defined function
 1567|       |                // if builtIn == false, it's a userDefined -> could be an overloaded built-in function also
 1568|       |                // if builtIn == true, it's definitely a built-in function with EOpNull
 1569|      0|                if (! builtIn) {
  ------------------
  |  Branch (1569:21): [True: 0, False: 0]
  ------------------
 1570|      0|                    call->setUserDefined();
 1571|      0|                    if (symbolTable.atGlobalLevel()) {
  ------------------
  |  Branch (1571:25): [True: 0, False: 0]
  ------------------
 1572|      0|                        requireProfile(loc, ~EEsProfile, "calling user function from global scope");
 1573|      0|                        intermediate.addToCallGraph(infoSink, "main(", fnCandidate->getMangledName());
 1574|      0|                    } else
 1575|      0|                        intermediate.addToCallGraph(infoSink, currentCaller, fnCandidate->getMangledName());
 1576|      0|                }
 1577|       |
 1578|      0|                if (builtIn)
  ------------------
  |  Branch (1578:21): [True: 0, False: 0]
  ------------------
 1579|      0|                    nonOpBuiltInCheck(loc, *fnCandidate, *call);
 1580|      0|                else
 1581|      0|                    userFunctionCallCheck(loc, *call);
 1582|      0|            }
 1583|       |
 1584|      0|            if (hasLongVectorArg && fnCandidate->getBuiltInOp() != EOpNull) {
  ------------------
  |  Branch (1584:17): [True: 0, False: 0]
  |  Branch (1584:37): [True: 0, False: 0]
  ------------------
 1585|      0|                TType longVectorResultType(EbtVoid);
 1586|      0|                handleLongVectorBuiltin(loc, fnCandidate, &longVectorResultType, arguments);
 1587|      0|                result->setType(longVectorResultType);
 1588|      0|            }
 1589|       |
 1590|       |            // Convert 'out' arguments.  If it was a constant folded built-in, it won't be an aggregate anymore.
 1591|       |            // Built-ins with a single argument aren't called with an aggregate, but they also don't have an output.
 1592|       |            // Also, build the qualifier list for user function calls, which are always called with an aggregate.
 1593|      0|            if (result->getAsAggregate()) {
  ------------------
  |  Branch (1593:17): [True: 0, False: 0]
  ------------------
 1594|      0|                TQualifierList& qualifierList = result->getAsAggregate()->getQualifierList();
 1595|      0|                for (int i = 0; i < fnCandidate->getParamCount(); ++i) {
  ------------------
  |  Branch (1595:33): [True: 0, False: 0]
  ------------------
 1596|      0|                    TStorageQualifier qual = (*fnCandidate)[i].type->getQualifier().storage;
 1597|      0|                    qualifierList.push_back(qual);
 1598|      0|                }
 1599|      0|                result = addOutputArgumentConversions(*fnCandidate, *result->getAsAggregate());
 1600|      0|            }
 1601|       |
 1602|      0|            handleCoopMat2FunctionCall(loc, fnCandidate, result, arguments);
 1603|       |
 1604|      0|            handleVector2CoopMatConversionCall(loc, fnCandidate, result, arguments);
 1605|       |
 1606|      0|            if (result->getAsTyped()->getType().isCoopVecOrLongVector() &&
  ------------------
  |  Branch (1606:17): [True: 0, False: 0]
  ------------------
 1607|      0|               !result->getAsTyped()->getType().isParameterized()) {
  ------------------
  |  Branch (1607:16): [True: 0, False: 0]
  ------------------
 1608|      0|                if (auto unaryNode = result->getAsUnaryNode())
  ------------------
  |  Branch (1608:26): [True: 0, False: 0]
  ------------------
 1609|      0|                    result->setType(unaryNode->getOperand()->getAsTyped()->getType());
 1610|      0|                else
 1611|      0|                    result->setType(result->getAsAggregate()->getSequence()[0]->getAsTyped()->getType());
 1612|      0|            }
 1613|       |
 1614|      0|            if (fnCandidate->getBuiltInOp() == EOpConstructSaturated) {
  ------------------
  |  Branch (1614:17): [True: 0, False: 0]
  ------------------
 1615|       |                // result type is taken from the first parameter
 1616|      0|                result->setType(result->getAsAggregate()->getSequence()[0]->getAsTyped()->getType());
 1617|      0|            }
 1618|      0|        }
 1619|     69|    }
 1620|       |
 1621|       |    // generic error recovery
 1622|       |    // TODO: simplification: localize all the error recoveries that look like this, and taking type into account to reduce cascades
 1623|    403|    if (result == nullptr)
  ------------------
  |  Branch (1623:9): [True: 93, False: 310]
  ------------------
 1624|     93|        result = intermediate.addConstantUnion(0.0, EbtFloat, loc);
 1625|       |
 1626|    403|    return result;
 1627|    403|}
_ZN7glslang13TParseContext21handleConstructorCallERKNS_10TSourceLocERKNS_11TPublicTypeE:
 4036|  6.61k|{
 4037|  6.61k|    TType type(publicType);
 4038|  6.61k|    type.getQualifier().precision = EpqNone;
 4039|       |
 4040|  6.61k|    if (type.isArray()) {
  ------------------
  |  Branch (4040:9): [True: 24, False: 6.58k]
  ------------------
 4041|     24|        profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed constructor");
 4042|     24|        profileRequires(loc, EEsProfile, 300, nullptr, "arrayed constructor");
 4043|     24|    }
 4044|       |
 4045|       |    // Reuse EOpConstructTextureSampler for bindless image constructor
 4046|       |    // uvec2 imgHandle;
 4047|       |    // imageLoad(image1D(imgHandle), 0);
 4048|  6.61k|    if (type.isImage() && extensionTurnedOn(E_GL_ARB_bindless_texture))
  ------------------
  |  Branch (4048:9): [True: 0, False: 6.61k]
  |  Branch (4048:27): [True: 0, False: 0]
  ------------------
 4049|      0|    {
 4050|      0|        intermediate.setBindlessImageMode(currentCaller, AstRefTypeFunc);
 4051|      0|    }
 4052|       |
 4053|  6.61k|    TOperator op = intermediate.mapTypeToConstructorOp(type);
 4054|       |
 4055|  6.61k|    if (op == EOpNull) {
  ------------------
  |  Branch (4055:9): [True: 0, False: 6.61k]
  ------------------
 4056|      0|      if (intermediate.getEnhancedMsgs() && type.getBasicType() == EbtSampler)
  ------------------
  |  Branch (4056:11): [True: 0, False: 0]
  |  Branch (4056:45): [True: 0, False: 0]
  ------------------
 4057|      0|            error(loc, "function not supported in this version; use texture() instead", "texture*D*", "");
 4058|      0|        else
 4059|      0|            error(loc, "cannot construct this type", type.getBasicString(), "");
 4060|      0|        op = EOpConstructFloat;
 4061|      0|        TType errorType(EbtFloat);
 4062|      0|        type.shallowCopy(errorType);
 4063|      0|    }
 4064|       |
 4065|  6.61k|    TString empty("");
 4066|       |
 4067|  6.61k|    return new TFunction(&empty, type, op);
 4068|  6.61k|}
_ZN7glslang13TParseContext24handlePrecisionQualifierERKNS_10TSourceLocERNS_10TQualifierENS_19TPrecisionQualifierE:
 4072|  55.8k|{
 4073|  55.8k|    if (obeyPrecisionQualifiers())
  ------------------
  |  Branch (4073:9): [True: 31.2k, False: 24.6k]
  ------------------
 4074|  31.2k|        qualifier.precision = precision;
 4075|  55.8k|}
_ZN7glslang13TParseContext23checkPrecisionQualifierERKNS_10TSourceLocENS_19TPrecisionQualifierE:
 4080|  55.8k|{
 4081|  55.8k|    if (precisionManager.shouldWarnAboutDefaults()) {
  ------------------
  |  Branch (4081:9): [True: 0, False: 55.8k]
  ------------------
 4082|      0|        warn(loc, "all default precisions are highp; use precision statements to quiet warning, e.g.:\n"
 4083|      0|                  "         \"precision mediump int; precision highp float;\"", "", "");
 4084|      0|        precisionManager.defaultWarningGiven();
 4085|      0|    }
 4086|  55.8k|}
_ZN7glslang13TParseContext12unaryOpErrorERKNS_10TSourceLocEPKcNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 4101|    807|{
 4102|    807|   error(loc, " wrong operand type", op,
 4103|    807|          "no operation '%s' exists that takes an operand of type %s (or there is no acceptable conversion)",
 4104|    807|          op, operand.c_str());
 4105|    807|}
_ZN7glslang13TParseContext13binaryOpErrorERKNS_10TSourceLocEPKcNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEESC_:
 4111|    407|{
 4112|    407|    error(loc, " wrong operand types:", op,
 4113|    407|            "no operation '%s' exists that takes a left-hand operand of type '%s' and "
 4114|    407|            "a right operand of type '%s' (or there is no acceptable conversion)",
 4115|    407|            op, left.c_str(), right.c_str());
 4116|    407|}
_ZN7glslang13TParseContext13variableCheckERPNS_12TIntermTypedE:
 4124|  14.8k|{
 4125|  14.8k|    TIntermSymbol* symbol = nodePtr->getAsSymbolNode();
 4126|  14.8k|    if (! symbol)
  ------------------
  |  Branch (4126:9): [True: 14.5k, False: 326]
  ------------------
 4127|  14.5k|        return;
 4128|       |
 4129|    326|    if (symbol->getType().getBasicType() == EbtVoid) {
  ------------------
  |  Branch (4129:9): [True: 10, False: 316]
  ------------------
 4130|     10|        const char *extraInfoFormat = "";
 4131|     10|        if (spvVersion.vulkan != 0 && symbol->getName() == "gl_VertexID") {
  ------------------
  |  Branch (4131:13): [True: 0, False: 10]
  |  Branch (4131:39): [True: 0, False: 0]
  ------------------
 4132|      0|          extraInfoFormat = "(Did you mean gl_VertexIndex?)";
 4133|     10|        } else if (spvVersion.vulkan != 0 && symbol->getName() == "gl_InstanceID") {
  ------------------
  |  Branch (4133:20): [True: 0, False: 10]
  |  Branch (4133:46): [True: 0, False: 0]
  ------------------
 4134|      0|          extraInfoFormat = "(Did you mean gl_InstanceIndex?)";
 4135|      0|        }
 4136|     10|        error(symbol->getLoc(), "undeclared identifier", symbol->getName().c_str(), extraInfoFormat);
 4137|       |
 4138|       |        // Add to symbol table to prevent future error messages on the same name
 4139|     10|        if (symbol->getName().size() > 0) {
  ------------------
  |  Branch (4139:13): [True: 10, False: 0]
  ------------------
 4140|     10|            TVariable* fakeVariable = new TVariable(&symbol->getName(), TType(EbtFloat));
 4141|     10|            symbolTable.insert(*fakeVariable);
 4142|       |
 4143|       |            // substitute a symbol node for this new variable
 4144|     10|            nodePtr = intermediate.addSymbol(*fakeVariable, symbol->getLoc());
 4145|     10|        }
 4146|    316|    } else {
 4147|    316|        switch (symbol->getQualifier().storage) {
 4148|      0|        case EvqPointCoord:
  ------------------
  |  Branch (4148:9): [True: 0, False: 316]
  ------------------
 4149|      0|            profileRequires(symbol->getLoc(), ENoProfile, 120, nullptr, "gl_PointCoord");
 4150|      0|            break;
 4151|    316|        default: break; // some compilers want this
  ------------------
  |  Branch (4151:9): [True: 316, False: 0]
  ------------------
 4152|    316|        }
 4153|    316|    }
 4154|    326|}
_ZN7glslang13TParseContext16rValueErrorCheckERKNS_10TSourceLocEPKcPNS_12TIntermTypedE:
 4283|  9.07k|{
 4284|       |    // Let the base class check errors
 4285|  9.07k|    TParseContextBase::rValueErrorCheck(loc, op, node);
 4286|       |
 4287|  9.07k|    TIntermSymbol* symNode = node->getAsSymbolNode();
 4288|  9.07k|    if (!(symNode && symNode->getQualifier().isWriteOnly())) // base class checks
  ------------------
  |  Branch (4288:11): [True: 41, False: 9.03k]
  |  Branch (4288:22): [True: 0, False: 41]
  ------------------
 4289|  9.07k|        if (symNode && symNode->getQualifier().isExplicitInterpolation())
  ------------------
  |  Branch (4289:13): [True: 41, False: 9.03k]
  |  Branch (4289:24): [True: 0, False: 41]
  ------------------
 4290|      0|            error(loc, "can't read from explicitly-interpolated object: ", op, symNode->getName().c_str());
 4291|       |
 4292|       |    // local_size_{xyz} must be assigned or specialized before gl_WorkGroupSize can be assigned.
 4293|  9.07k|    if(node->getQualifier().builtIn == EbvWorkGroupSize &&
  ------------------
  |  Branch (4293:8): [True: 0, False: 9.07k]
  ------------------
 4294|      0|       !(intermediate.isLocalSizeSet() || intermediate.isLocalSizeSpecialized()))
  ------------------
  |  Branch (4294:10): [True: 0, False: 0]
  |  Branch (4294:43): [True: 0, False: 0]
  ------------------
 4295|      0|        error(loc, "can't read from gl_WorkGroupSize before a fixed workgroup size has been declared", op, "");
 4296|  9.07k|}
_ZN7glslang13TParseContext12integerCheckEPKNS_12TIntermTypedEPKc:
 4313|      1|{
 4314|      1|    auto from_type = node->getBasicType();
 4315|      1|    if ((from_type == EbtInt || from_type == EbtUint ||
  ------------------
  |  Branch (4315:10): [True: 1, False: 0]
  |  Branch (4315:33): [True: 0, False: 0]
  ------------------
 4316|      0|         intermediate.canImplicitlyPromote(from_type, EbtInt, EOpNull) ||
  ------------------
  |  Branch (4316:10): [True: 0, False: 0]
  ------------------
 4317|      1|         intermediate.canImplicitlyPromote(from_type, EbtUint, EOpNull)) && node->isScalar())
  ------------------
  |  Branch (4317:10): [True: 0, False: 0]
  |  Branch (4317:77): [True: 1, False: 0]
  ------------------
 4318|      1|        return;
 4319|       |
 4320|      0|    error(node->getLoc(), "scalar integer expression required", token, "");
 4321|      0|}
_ZN7glslang13TParseContext15arrayIndexCheckEPKNS_12TIntermTypedEPKc:
 4328|      1|{
 4329|      1|    auto from_type = node->getBasicType();
 4330|       |
 4331|      1|    if ((from_type == EbtInt64 || from_type == EbtUint64) &&
  ------------------
  |  Branch (4331:10): [True: 0, False: 1]
  |  Branch (4331:35): [True: 0, False: 1]
  ------------------
 4332|      0|        extensionTurnedOn(E_GL_EXT_shader_64bit_indexing))
  ------------------
  |  Branch (4332:9): [True: 0, False: 0]
  ------------------
 4333|      0|        return;
 4334|       |
 4335|      1|    integerCheck(node, token);
 4336|      1|}
_ZN7glslang13TParseContext11globalCheckERKNS_10TSourceLocEPKc:
 4343|  59.8k|{
 4344|  59.8k|    if (! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (4344:9): [True: 0, False: 59.8k]
  ------------------
 4345|      0|        error(loc, "not allowed in nested scope", token, "");
 4346|  59.8k|}
_ZN7glslang13TParseContext18reservedErrorCheckERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 4352|   233k|{
 4353|       |    // "Identifiers starting with "gl_" are reserved for use by OpenGL, and may not be
 4354|       |    // declared in a shader; this results in a compile-time error."
 4355|   233k|    if (! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (4355:9): [True: 605, False: 232k]
  ------------------
 4356|       |        // The extension GL_EXT_conservative_depth allows us to declare "gl_FragDepth".
 4357|    605|        if (identifier == "gl_FragDepth" && extensionTurnedOn(E_GL_EXT_conservative_depth))
  ------------------
  |  Branch (4357:13): [True: 0, False: 605]
  |  Branch (4357:45): [True: 0, False: 0]
  ------------------
 4358|      0|            return;
 4359|       |
 4360|    605|        if (builtInName(identifier) && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics))
  ------------------
  |  Branch (4360:13): [True: 0, False: 605]
  |  Branch (4360:40): [True: 0, False: 0]
  ------------------
 4361|       |            // The extension GL_EXT_spirv_intrinsics allows us to declare identifiers starting with "gl_".
 4362|      0|            error(loc, "identifiers starting with \"gl_\" are reserved", identifier.c_str(), "");
 4363|       |
 4364|       |        // "__" are not supposed to be an error.  ES 300 (and desktop) added the clarification:
 4365|       |        // "In addition, all identifiers containing two consecutive underscores (__) are
 4366|       |        // reserved; using such a name does not itself result in an error, but may result
 4367|       |        // in undefined behavior."
 4368|       |        // however, before that, ES tests required an error.
 4369|    605|        if (identifier.find("__") != TString::npos && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics)) {
  ------------------
  |  Branch (4369:13): [True: 0, False: 605]
  |  Branch (4369:55): [True: 0, False: 0]
  ------------------
 4370|       |            // The extension GL_EXT_spirv_intrinsics allows us to declare identifiers starting with "__".
 4371|      0|            if (isEsProfile() && version < 300)
  ------------------
  |  Branch (4371:17): [True: 0, False: 0]
  |  Branch (4371:34): [True: 0, False: 0]
  ------------------
 4372|      0|                error(loc, "identifiers containing consecutive underscores (\"__\") are reserved, and an error if version < 300", identifier.c_str(), "");
 4373|      0|            else
 4374|      0|                warn(loc, "identifiers containing consecutive underscores (\"__\") are reserved", identifier.c_str(), "");
 4375|      0|        }
 4376|    605|    }
 4377|   233k|}
_ZN7glslang13TParseContext20reservedPpErrorCheckERKNS_10TSourceLocEPKcS5_:
 4383|      7|{
 4384|       |    // "__" are not supposed to be an error.  ES 300 (and desktop) added the clarification:
 4385|       |    // "All macro names containing two consecutive underscores ( __ ) are reserved;
 4386|       |    // defining such a name does not itself result in an error, but may result in
 4387|       |    // undefined behavior.  All macro names prefixed with "GL_" ("GL" followed by a
 4388|       |    // single underscore) are also reserved, and defining such a name results in a
 4389|       |    // compile-time error."
 4390|       |    // however, before that, ES tests required an error.
 4391|      7|    if (strncmp(identifier, "GL_", 3) == 0 && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics))
  ------------------
  |  Branch (4391:9): [True: 0, False: 7]
  |  Branch (4391:47): [True: 0, False: 0]
  ------------------
 4392|       |        // The extension GL_EXT_spirv_intrinsics allows us to declare macros prefixed with "GL_".
 4393|      0|        ppError(loc, "names beginning with \"GL_\" can't be (un)defined:", op,  identifier);
 4394|      7|    else if (strncmp(identifier, "defined", 8) == 0)
  ------------------
  |  Branch (4394:14): [True: 0, False: 7]
  ------------------
 4395|      0|        if (relaxedErrors())
  ------------------
  |  Branch (4395:13): [True: 0, False: 0]
  ------------------
 4396|      0|            ppWarn(loc, "\"defined\" is (un)defined:", op,  identifier);
 4397|      0|        else
 4398|      0|            ppError(loc, "\"defined\" can't be (un)defined:", op,  identifier);
 4399|      7|    else if (strstr(identifier, "__") != nullptr && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics)) {
  ------------------
  |  Branch (4399:14): [True: 0, False: 7]
  |  Branch (4399:53): [True: 0, False: 0]
  ------------------
 4400|       |        // The extension GL_EXT_spirv_intrinsics allows us to declare macros prefixed with "__".
 4401|      0|        if (isEsProfile() && version >= 300 &&
  ------------------
  |  Branch (4401:13): [True: 0, False: 0]
  |  Branch (4401:30): [True: 0, False: 0]
  ------------------
 4402|      0|            (strcmp(identifier, "__LINE__") == 0 ||
  ------------------
  |  Branch (4402:14): [True: 0, False: 0]
  ------------------
 4403|      0|             strcmp(identifier, "__FILE__") == 0 ||
  ------------------
  |  Branch (4403:14): [True: 0, False: 0]
  ------------------
 4404|      0|             strcmp(identifier, "__VERSION__") == 0))
  ------------------
  |  Branch (4404:14): [True: 0, False: 0]
  ------------------
 4405|      0|            ppError(loc, "predefined names can't be (un)defined:", op,  identifier);
 4406|      0|        else {
 4407|      0|            if (isEsProfile() && version < 300 && !relaxedErrors())
  ------------------
  |  Branch (4407:17): [True: 0, False: 0]
  |  Branch (4407:34): [True: 0, False: 0]
  |  Branch (4407:51): [True: 0, False: 0]
  ------------------
 4408|      0|                ppError(loc, "names containing consecutive underscores are reserved, and an error if version < 300:", op, identifier);
 4409|      0|            else
 4410|      0|                ppWarn(loc, "names containing consecutive underscores are reserved:", op, identifier);
 4411|      0|        }
 4412|      0|    }
 4413|      7|}
_ZN7glslang13TParseContext21lineContinuationCheckERKNS_10TSourceLocEb:
 4421|  7.40k|{
 4422|  7.40k|    const char* message = "line continuation";
 4423|       |
 4424|  7.40k|    bool lineContinuationAllowed = (isEsProfile() && version >= 300) ||
  ------------------
  |  Branch (4424:37): [True: 5.17k, False: 2.22k]
  |  Branch (4424:54): [True: 0, False: 5.17k]
  ------------------
 4425|  7.40k|                                   (!isEsProfile() && (version >= 420 || extensionTurnedOn(E_GL_ARB_shading_language_420pack)));
  ------------------
  |  Branch (4425:37): [True: 2.22k, False: 5.17k]
  |  Branch (4425:56): [True: 2.22k, False: 0]
  |  Branch (4425:74): [True: 0, False: 0]
  ------------------
 4426|       |
 4427|  7.40k|    if (endOfComment) {
  ------------------
  |  Branch (4427:9): [True: 5.78k, False: 1.61k]
  ------------------
 4428|  5.78k|        if (lineContinuationAllowed)
  ------------------
  |  Branch (4428:13): [True: 1.79k, False: 3.99k]
  ------------------
 4429|  1.79k|            warn(loc, "used at end of comment; the following line is still part of the comment", message, "");
 4430|  3.99k|        else
 4431|  3.99k|            warn(loc, "used at end of comment, but this version does not provide line continuation", message, "");
 4432|       |
 4433|  5.78k|        return lineContinuationAllowed;
 4434|  5.78k|    }
 4435|       |
 4436|  1.61k|    if (relaxedErrors()) {
  ------------------
  |  Branch (4436:9): [True: 0, False: 1.61k]
  ------------------
 4437|      0|        if (! lineContinuationAllowed)
  ------------------
  |  Branch (4437:13): [True: 0, False: 0]
  ------------------
 4438|      0|            warn(loc, "not allowed in this version", message, "");
 4439|      0|        return true;
 4440|  1.61k|    } else {
 4441|  1.61k|        profileRequires(loc, EEsProfile, 300, nullptr, message);
 4442|  1.61k|        profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, message);
 4443|  1.61k|    }
 4444|       |
 4445|  1.61k|    return lineContinuationAllowed;
 4446|  1.61k|}
_ZN7glslang13TParseContext11builtInNameERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 4449|  16.5k|{
 4450|  16.5k|    return identifier.compare(0, 3, "gl_") == 0;
 4451|  16.5k|}
_ZN7glslang13TParseContext16constructorErrorERKNS_10TSourceLocEP11TIntermNodeRNS_9TFunctionENS_9TOperatorERNS_5TTypeE:
 4473|    334|{
 4474|       |    // See if the constructor does not establish the main type, only requalifies
 4475|       |    // it, in which case the type comes from the argument instead of from the
 4476|       |    // constructor function.
 4477|    334|    switch (op) {
 4478|      0|    case EOpConstructNonuniform:
  ------------------
  |  Branch (4478:5): [True: 0, False: 334]
  ------------------
 4479|      0|        if (node != nullptr && node->getAsTyped() != nullptr) {
  ------------------
  |  Branch (4479:13): [True: 0, False: 0]
  |  Branch (4479:32): [True: 0, False: 0]
  ------------------
 4480|      0|            type.shallowCopy(node->getAsTyped()->getType());
 4481|      0|            type.getQualifier().makeTemporary();
 4482|      0|            type.getQualifier().nonUniform = true;
 4483|      0|        }
 4484|      0|        break;
 4485|    334|    default:
  ------------------
  |  Branch (4485:5): [True: 334, False: 0]
  ------------------
 4486|    334|        type.shallowCopy(function.getType());
 4487|    334|        break;
 4488|    334|    }
 4489|       |
 4490|    334|    TString constructorString;
 4491|    334|    if (intermediate.getEnhancedMsgs())
  ------------------
  |  Branch (4491:9): [True: 0, False: 334]
  ------------------
 4492|      0|        constructorString.append(type.getCompleteString(true, false, false, true)).append(" constructor");
 4493|    334|    else
 4494|    334|        constructorString.append("constructor");
 4495|       |
 4496|       |    // See if it's a matrix
 4497|    334|    bool constructingMatrix = false;
 4498|    334|    switch (op) {
 4499|      0|    case EOpConstructTextureSampler:
  ------------------
  |  Branch (4499:5): [True: 0, False: 334]
  ------------------
 4500|      0|        return constructorTextureSamplerError(loc, function);
 4501|      0|    case EOpConstructMat2x2:
  ------------------
  |  Branch (4501:5): [True: 0, False: 334]
  ------------------
 4502|      0|    case EOpConstructMat2x3:
  ------------------
  |  Branch (4502:5): [True: 0, False: 334]
  ------------------
 4503|      0|    case EOpConstructMat2x4:
  ------------------
  |  Branch (4503:5): [True: 0, False: 334]
  ------------------
 4504|      0|    case EOpConstructMat3x2:
  ------------------
  |  Branch (4504:5): [True: 0, False: 334]
  ------------------
 4505|      0|    case EOpConstructMat3x3:
  ------------------
  |  Branch (4505:5): [True: 0, False: 334]
  ------------------
 4506|      0|    case EOpConstructMat3x4:
  ------------------
  |  Branch (4506:5): [True: 0, False: 334]
  ------------------
 4507|      0|    case EOpConstructMat4x2:
  ------------------
  |  Branch (4507:5): [True: 0, False: 334]
  ------------------
 4508|      0|    case EOpConstructMat4x3:
  ------------------
  |  Branch (4508:5): [True: 0, False: 334]
  ------------------
 4509|      0|    case EOpConstructMat4x4:
  ------------------
  |  Branch (4509:5): [True: 0, False: 334]
  ------------------
 4510|      0|    case EOpConstructDMat2x2:
  ------------------
  |  Branch (4510:5): [True: 0, False: 334]
  ------------------
 4511|      0|    case EOpConstructDMat2x3:
  ------------------
  |  Branch (4511:5): [True: 0, False: 334]
  ------------------
 4512|      0|    case EOpConstructDMat2x4:
  ------------------
  |  Branch (4512:5): [True: 0, False: 334]
  ------------------
 4513|      0|    case EOpConstructDMat3x2:
  ------------------
  |  Branch (4513:5): [True: 0, False: 334]
  ------------------
 4514|      0|    case EOpConstructDMat3x3:
  ------------------
  |  Branch (4514:5): [True: 0, False: 334]
  ------------------
 4515|      0|    case EOpConstructDMat3x4:
  ------------------
  |  Branch (4515:5): [True: 0, False: 334]
  ------------------
 4516|      0|    case EOpConstructDMat4x2:
  ------------------
  |  Branch (4516:5): [True: 0, False: 334]
  ------------------
 4517|      0|    case EOpConstructDMat4x3:
  ------------------
  |  Branch (4517:5): [True: 0, False: 334]
  ------------------
 4518|      0|    case EOpConstructDMat4x4:
  ------------------
  |  Branch (4518:5): [True: 0, False: 334]
  ------------------
 4519|      0|    case EOpConstructF16Mat2x2:
  ------------------
  |  Branch (4519:5): [True: 0, False: 334]
  ------------------
 4520|      0|    case EOpConstructF16Mat2x3:
  ------------------
  |  Branch (4520:5): [True: 0, False: 334]
  ------------------
 4521|      0|    case EOpConstructF16Mat2x4:
  ------------------
  |  Branch (4521:5): [True: 0, False: 334]
  ------------------
 4522|      0|    case EOpConstructF16Mat3x2:
  ------------------
  |  Branch (4522:5): [True: 0, False: 334]
  ------------------
 4523|      0|    case EOpConstructF16Mat3x3:
  ------------------
  |  Branch (4523:5): [True: 0, False: 334]
  ------------------
 4524|      0|    case EOpConstructF16Mat3x4:
  ------------------
  |  Branch (4524:5): [True: 0, False: 334]
  ------------------
 4525|      0|    case EOpConstructF16Mat4x2:
  ------------------
  |  Branch (4525:5): [True: 0, False: 334]
  ------------------
 4526|      0|    case EOpConstructF16Mat4x3:
  ------------------
  |  Branch (4526:5): [True: 0, False: 334]
  ------------------
 4527|      0|    case EOpConstructF16Mat4x4:
  ------------------
  |  Branch (4527:5): [True: 0, False: 334]
  ------------------
 4528|      0|        constructingMatrix = true;
 4529|      0|        break;
 4530|    334|    default:
  ------------------
  |  Branch (4530:5): [True: 334, False: 0]
  ------------------
 4531|    334|        break;
 4532|    334|    }
 4533|       |
 4534|       |    //
 4535|       |    // Walk the arguments for first-pass checks and collection of information.
 4536|       |    //
 4537|       |
 4538|    334|    int size = 0;
 4539|    334|    bool constType = true;
 4540|    334|    bool specConstType = false;   // value is only valid if constType is true
 4541|    334|    bool full = false;
 4542|    334|    bool overFull = false;
 4543|    334|    bool matrixInMatrix = false;
 4544|    334|    bool arrayArg = false;
 4545|    334|    bool floatArgument = false;
 4546|    334|    bool intArgument = false;
 4547|    926|    for (int arg = 0; arg < function.getParamCount(); ++arg) {
  ------------------
  |  Branch (4547:23): [True: 592, False: 334]
  ------------------
 4548|    592|        if (function[arg].type->isArray()) {
  ------------------
  |  Branch (4548:13): [True: 0, False: 592]
  ------------------
 4549|      0|            if (function[arg].type->isUnsizedArray()) {
  ------------------
  |  Branch (4549:17): [True: 0, False: 0]
  ------------------
 4550|       |                // Can't construct from an unsized array.
 4551|      0|                error(loc, "array argument must be sized", constructorString.c_str(), "");
 4552|      0|                return true;
 4553|      0|            }
 4554|      0|            arrayArg = true;
 4555|      0|        }
 4556|    592|        if (constructingMatrix && function[arg].type->isMatrix())
  ------------------
  |  Branch (4556:13): [True: 0, False: 592]
  |  Branch (4556:35): [True: 0, False: 0]
  ------------------
 4557|      0|            matrixInMatrix = true;
 4558|       |
 4559|       |        // 'full' will go to true when enough args have been seen.  If we loop
 4560|       |        // again, there is an extra argument.
 4561|    592|        if (full) {
  ------------------
  |  Branch (4561:13): [True: 0, False: 592]
  ------------------
 4562|       |            // For vectors and matrices, it's okay to have too many components
 4563|       |            // available, but not okay to have unused arguments.
 4564|      0|            overFull = true;
 4565|      0|        }
 4566|       |
 4567|    592|        size += function[arg].type->computeNumComponents();
 4568|    592|        if (op != EOpConstructStruct && ! type.isArray() && size >= type.computeNumComponents())
  ------------------
  |  Branch (4568:13): [True: 592, False: 0]
  |  Branch (4568:41): [True: 568, False: 24]
  |  Branch (4568:61): [True: 310, False: 258]
  ------------------
 4569|    310|            full = true;
 4570|       |
 4571|    592|        if (! function[arg].type->getQualifier().isConstant())
  ------------------
  |  Branch (4571:13): [True: 126, False: 466]
  ------------------
 4572|    126|            constType = false;
 4573|    592|        if (function[arg].type->getQualifier().isSpecConstant())
  ------------------
  |  Branch (4573:13): [True: 0, False: 592]
  ------------------
 4574|      0|            specConstType = true;
 4575|    592|        if (function[arg].type->isFloatingDomain())
  ------------------
  |  Branch (4575:13): [True: 79, False: 513]
  ------------------
 4576|     79|            floatArgument = true;
 4577|    592|        if (function[arg].type->isIntegerDomain())
  ------------------
  |  Branch (4577:13): [True: 513, False: 79]
  ------------------
 4578|    513|            intArgument = true;
 4579|    592|        if (type.isStruct()) {
  ------------------
  |  Branch (4579:13): [True: 0, False: 592]
  ------------------
 4580|      0|            if (function[arg].type->contains16BitFloat()) {
  ------------------
  |  Branch (4580:17): [True: 0, False: 0]
  ------------------
 4581|      0|                requireFloat16Arithmetic(loc, constructorString.c_str(), "can't construct structure containing 16-bit type");
 4582|      0|            }
 4583|      0|            if (function[arg].type->contains16BitInt()) {
  ------------------
  |  Branch (4583:17): [True: 0, False: 0]
  ------------------
 4584|      0|                requireInt16Arithmetic(loc, constructorString.c_str(), "can't construct structure containing 16-bit type");
 4585|      0|            }
 4586|      0|            if (function[arg].type->contains8BitInt()) {
  ------------------
  |  Branch (4586:17): [True: 0, False: 0]
  ------------------
 4587|      0|                requireInt8Arithmetic(loc, constructorString.c_str(), "can't construct structure containing 8-bit type");
 4588|      0|            }
 4589|      0|        }
 4590|    592|    }
 4591|    334|    if (op == EOpConstructNonuniform)
  ------------------
  |  Branch (4591:9): [True: 0, False: 334]
  ------------------
 4592|      0|        constType = false;
 4593|       |
 4594|    334|    switch (op) {
 4595|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (4595:5): [True: 0, False: 334]
  ------------------
 4596|      0|    case EOpConstructF16Vec2:
  ------------------
  |  Branch (4596:5): [True: 0, False: 334]
  ------------------
 4597|      0|    case EOpConstructF16Vec3:
  ------------------
  |  Branch (4597:5): [True: 0, False: 334]
  ------------------
 4598|      0|    case EOpConstructF16Vec4:
  ------------------
  |  Branch (4598:5): [True: 0, False: 334]
  ------------------
 4599|      0|        if (type.isArray())
  ------------------
  |  Branch (4599:13): [True: 0, False: 0]
  ------------------
 4600|      0|            requireFloat16Arithmetic(loc, constructorString.c_str(), "16-bit arrays not supported");
 4601|      0|        if (type.isVector() && function.getParamCount() != 1)
  ------------------
  |  Branch (4601:13): [True: 0, False: 0]
  |  Branch (4601:32): [True: 0, False: 0]
  ------------------
 4602|      0|            requireFloat16Arithmetic(loc, constructorString.c_str(), "16-bit vectors only take vector types");
 4603|      0|        break;
 4604|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (4604:5): [True: 0, False: 334]
  ------------------
 4605|      0|    case EOpConstructU16Vec2:
  ------------------
  |  Branch (4605:5): [True: 0, False: 334]
  ------------------
 4606|      0|    case EOpConstructU16Vec3:
  ------------------
  |  Branch (4606:5): [True: 0, False: 334]
  ------------------
 4607|      0|    case EOpConstructU16Vec4:
  ------------------
  |  Branch (4607:5): [True: 0, False: 334]
  ------------------
 4608|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (4608:5): [True: 0, False: 334]
  ------------------
 4609|      0|    case EOpConstructI16Vec2:
  ------------------
  |  Branch (4609:5): [True: 0, False: 334]
  ------------------
 4610|      0|    case EOpConstructI16Vec3:
  ------------------
  |  Branch (4610:5): [True: 0, False: 334]
  ------------------
 4611|      0|    case EOpConstructI16Vec4:
  ------------------
  |  Branch (4611:5): [True: 0, False: 334]
  ------------------
 4612|      0|        if (type.isArray())
  ------------------
  |  Branch (4612:13): [True: 0, False: 0]
  ------------------
 4613|      0|            requireInt16Arithmetic(loc, constructorString.c_str(), "16-bit arrays not supported");
 4614|      0|        if (type.isVector() && function.getParamCount() != 1)
  ------------------
  |  Branch (4614:13): [True: 0, False: 0]
  |  Branch (4614:32): [True: 0, False: 0]
  ------------------
 4615|      0|            requireInt16Arithmetic(loc, constructorString.c_str(), "16-bit vectors only take vector types");
 4616|      0|        break;
 4617|      0|    case EOpConstructUint8:
  ------------------
  |  Branch (4617:5): [True: 0, False: 334]
  ------------------
 4618|      0|    case EOpConstructU8Vec2:
  ------------------
  |  Branch (4618:5): [True: 0, False: 334]
  ------------------
 4619|      0|    case EOpConstructU8Vec3:
  ------------------
  |  Branch (4619:5): [True: 0, False: 334]
  ------------------
 4620|      0|    case EOpConstructU8Vec4:
  ------------------
  |  Branch (4620:5): [True: 0, False: 334]
  ------------------
 4621|      0|    case EOpConstructInt8:
  ------------------
  |  Branch (4621:5): [True: 0, False: 334]
  ------------------
 4622|      0|    case EOpConstructI8Vec2:
  ------------------
  |  Branch (4622:5): [True: 0, False: 334]
  ------------------
 4623|      0|    case EOpConstructI8Vec3:
  ------------------
  |  Branch (4623:5): [True: 0, False: 334]
  ------------------
 4624|      0|    case EOpConstructI8Vec4:
  ------------------
  |  Branch (4624:5): [True: 0, False: 334]
  ------------------
 4625|      0|        if (type.isArray())
  ------------------
  |  Branch (4625:13): [True: 0, False: 0]
  ------------------
 4626|      0|            requireInt8Arithmetic(loc, constructorString.c_str(), "8-bit arrays not supported");
 4627|      0|        if (type.isVector() && function.getParamCount() != 1)
  ------------------
  |  Branch (4627:13): [True: 0, False: 0]
  |  Branch (4627:32): [True: 0, False: 0]
  ------------------
 4628|      0|            requireInt8Arithmetic(loc, constructorString.c_str(), "8-bit vectors only take vector types");
 4629|      0|        break;
 4630|    334|    default:
  ------------------
  |  Branch (4630:5): [True: 334, False: 0]
  ------------------
 4631|    334|        break;
 4632|    334|    }
 4633|       |
 4634|       |    // inherit constness from children
 4635|    334|    if (constType) {
  ------------------
  |  Branch (4635:9): [True: 208, False: 126]
  ------------------
 4636|    208|        bool makeSpecConst;
 4637|       |        // Finish pinning down spec-const semantics
 4638|    208|        if (specConstType) {
  ------------------
  |  Branch (4638:13): [True: 0, False: 208]
  ------------------
 4639|      0|            switch (op) {
 4640|      0|            case EOpConstructInt8:
  ------------------
  |  Branch (4640:13): [True: 0, False: 0]
  ------------------
 4641|      0|            case EOpConstructInt:
  ------------------
  |  Branch (4641:13): [True: 0, False: 0]
  ------------------
 4642|      0|            case EOpConstructUint:
  ------------------
  |  Branch (4642:13): [True: 0, False: 0]
  ------------------
 4643|      0|            case EOpConstructBool:
  ------------------
  |  Branch (4643:13): [True: 0, False: 0]
  ------------------
 4644|      0|            case EOpConstructBVec2:
  ------------------
  |  Branch (4644:13): [True: 0, False: 0]
  ------------------
 4645|      0|            case EOpConstructBVec3:
  ------------------
  |  Branch (4645:13): [True: 0, False: 0]
  ------------------
 4646|      0|            case EOpConstructBVec4:
  ------------------
  |  Branch (4646:13): [True: 0, False: 0]
  ------------------
 4647|      0|            case EOpConstructIVec2:
  ------------------
  |  Branch (4647:13): [True: 0, False: 0]
  ------------------
 4648|      0|            case EOpConstructIVec3:
  ------------------
  |  Branch (4648:13): [True: 0, False: 0]
  ------------------
 4649|      0|            case EOpConstructIVec4:
  ------------------
  |  Branch (4649:13): [True: 0, False: 0]
  ------------------
 4650|      0|            case EOpConstructUVec2:
  ------------------
  |  Branch (4650:13): [True: 0, False: 0]
  ------------------
 4651|      0|            case EOpConstructUVec3:
  ------------------
  |  Branch (4651:13): [True: 0, False: 0]
  ------------------
 4652|      0|            case EOpConstructUVec4:
  ------------------
  |  Branch (4652:13): [True: 0, False: 0]
  ------------------
 4653|      0|            case EOpConstructUint8:
  ------------------
  |  Branch (4653:13): [True: 0, False: 0]
  ------------------
 4654|      0|            case EOpConstructInt16:
  ------------------
  |  Branch (4654:13): [True: 0, False: 0]
  ------------------
 4655|      0|            case EOpConstructUint16:
  ------------------
  |  Branch (4655:13): [True: 0, False: 0]
  ------------------
 4656|      0|            case EOpConstructInt64:
  ------------------
  |  Branch (4656:13): [True: 0, False: 0]
  ------------------
 4657|      0|            case EOpConstructUint64:
  ------------------
  |  Branch (4657:13): [True: 0, False: 0]
  ------------------
 4658|      0|            case EOpConstructI8Vec2:
  ------------------
  |  Branch (4658:13): [True: 0, False: 0]
  ------------------
 4659|      0|            case EOpConstructI8Vec3:
  ------------------
  |  Branch (4659:13): [True: 0, False: 0]
  ------------------
 4660|      0|            case EOpConstructI8Vec4:
  ------------------
  |  Branch (4660:13): [True: 0, False: 0]
  ------------------
 4661|      0|            case EOpConstructU8Vec2:
  ------------------
  |  Branch (4661:13): [True: 0, False: 0]
  ------------------
 4662|      0|            case EOpConstructU8Vec3:
  ------------------
  |  Branch (4662:13): [True: 0, False: 0]
  ------------------
 4663|      0|            case EOpConstructU8Vec4:
  ------------------
  |  Branch (4663:13): [True: 0, False: 0]
  ------------------
 4664|      0|            case EOpConstructI16Vec2:
  ------------------
  |  Branch (4664:13): [True: 0, False: 0]
  ------------------
 4665|      0|            case EOpConstructI16Vec3:
  ------------------
  |  Branch (4665:13): [True: 0, False: 0]
  ------------------
 4666|      0|            case EOpConstructI16Vec4:
  ------------------
  |  Branch (4666:13): [True: 0, False: 0]
  ------------------
 4667|      0|            case EOpConstructU16Vec2:
  ------------------
  |  Branch (4667:13): [True: 0, False: 0]
  ------------------
 4668|      0|            case EOpConstructU16Vec3:
  ------------------
  |  Branch (4668:13): [True: 0, False: 0]
  ------------------
 4669|      0|            case EOpConstructU16Vec4:
  ------------------
  |  Branch (4669:13): [True: 0, False: 0]
  ------------------
 4670|      0|            case EOpConstructI64Vec2:
  ------------------
  |  Branch (4670:13): [True: 0, False: 0]
  ------------------
 4671|      0|            case EOpConstructI64Vec3:
  ------------------
  |  Branch (4671:13): [True: 0, False: 0]
  ------------------
 4672|      0|            case EOpConstructI64Vec4:
  ------------------
  |  Branch (4672:13): [True: 0, False: 0]
  ------------------
 4673|      0|            case EOpConstructU64Vec2:
  ------------------
  |  Branch (4673:13): [True: 0, False: 0]
  ------------------
 4674|      0|            case EOpConstructU64Vec3:
  ------------------
  |  Branch (4674:13): [True: 0, False: 0]
  ------------------
 4675|      0|            case EOpConstructU64Vec4:
  ------------------
  |  Branch (4675:13): [True: 0, False: 0]
  ------------------
 4676|       |                // This was the list of valid ones, if they aren't converting from float
 4677|       |                // and aren't making an array.
 4678|      0|                makeSpecConst = ! floatArgument && ! type.isArray();
  ------------------
  |  Branch (4678:33): [True: 0, False: 0]
  |  Branch (4678:52): [True: 0, False: 0]
  ------------------
 4679|      0|                break;
 4680|       |
 4681|      0|            case EOpConstructVec2:
  ------------------
  |  Branch (4681:13): [True: 0, False: 0]
  ------------------
 4682|      0|            case EOpConstructVec3:
  ------------------
  |  Branch (4682:13): [True: 0, False: 0]
  ------------------
 4683|      0|            case EOpConstructVec4:
  ------------------
  |  Branch (4683:13): [True: 0, False: 0]
  ------------------
 4684|       |                // This was the list of valid ones, if they aren't converting from int
 4685|       |                // and aren't making an array.
 4686|      0|                makeSpecConst = ! intArgument && !type.isArray();
  ------------------
  |  Branch (4686:33): [True: 0, False: 0]
  |  Branch (4686:50): [True: 0, False: 0]
  ------------------
 4687|      0|                break;
 4688|       |
 4689|      0|            case EOpConstructCooperativeMatrixNV:
  ------------------
  |  Branch (4689:13): [True: 0, False: 0]
  ------------------
 4690|      0|            case EOpConstructCooperativeMatrixKHR:
  ------------------
  |  Branch (4690:13): [True: 0, False: 0]
  ------------------
 4691|      0|            case EOpConstructStruct:
  ------------------
  |  Branch (4691:13): [True: 0, False: 0]
  ------------------
 4692|      0|                {
 4693|      0|                    const char *specConstantCompositeExt[] = { E_GL_EXT_spec_constant_composites };
 4694|      0|                    if (checkExtensionsRequested(loc, 1, specConstantCompositeExt, "spec constant aggregate constructor")) {
  ------------------
  |  Branch (4694:25): [True: 0, False: 0]
  ------------------
 4695|      0|                        makeSpecConst = true;
 4696|      0|                    } else {
 4697|      0|                        makeSpecConst = false;
 4698|      0|                    }
 4699|      0|                }
 4700|      0|                break;
 4701|       |
 4702|      0|            default:
  ------------------
  |  Branch (4702:13): [True: 0, False: 0]
  ------------------
 4703|       |                // anything else wasn't white-listed in the spec as a conversion
 4704|      0|                makeSpecConst = false;
 4705|      0|                break;
 4706|      0|            }
 4707|      0|        } else
 4708|    208|            makeSpecConst = false;
 4709|       |
 4710|    208|        if (makeSpecConst)
  ------------------
  |  Branch (4710:13): [True: 0, False: 208]
  ------------------
 4711|      0|            type.getQualifier().makeSpecConstant();
 4712|    208|        else if (specConstType)
  ------------------
  |  Branch (4712:18): [True: 0, False: 208]
  ------------------
 4713|      0|            type.getQualifier().makeTemporary();
 4714|    208|        else
 4715|    208|            type.getQualifier().storage = EvqConst;
 4716|    208|    }
 4717|       |
 4718|    334|    if (type.isArray()) {
  ------------------
  |  Branch (4718:9): [True: 24, False: 310]
  ------------------
 4719|     24|        if (function.getParamCount() == 0) {
  ------------------
  |  Branch (4719:13): [True: 0, False: 24]
  ------------------
 4720|      0|            error(loc, "array constructor must have at least one argument", constructorString.c_str(), "");
 4721|      0|            return true;
 4722|      0|        }
 4723|       |
 4724|     24|        if (type.isUnsizedArray()) {
  ------------------
  |  Branch (4724:13): [True: 4, False: 20]
  ------------------
 4725|       |            // auto adapt the constructor type to the number of arguments
 4726|      4|            type.changeOuterArraySize(function.getParamCount());
 4727|     20|        } else if (type.getOuterArraySize() != function.getParamCount()) {
  ------------------
  |  Branch (4727:20): [True: 4, False: 16]
  ------------------
 4728|      4|            error(loc, "array constructor needs one argument per array element", constructorString.c_str(), "");
 4729|      4|            return true;
 4730|      4|        }
 4731|       |
 4732|     20|        if (type.isArrayOfArrays()) {
  ------------------
  |  Branch (4732:13): [True: 0, False: 20]
  ------------------
 4733|       |            // Types have to match, but we're still making the type.
 4734|       |            // Finish making the type, and the comparison is done later
 4735|       |            // when checking for conversion.
 4736|      0|            TArraySizes& arraySizes = *type.getArraySizes();
 4737|       |
 4738|       |            // At least the dimensionalities have to match.
 4739|      0|            if (! function[0].type->isArray() ||
  ------------------
  |  Branch (4739:17): [True: 0, False: 0]
  ------------------
 4740|      0|                    arraySizes.getNumDims() != function[0].type->getArraySizes()->getNumDims() + 1) {
  ------------------
  |  Branch (4740:21): [True: 0, False: 0]
  ------------------
 4741|      0|                error(loc, "array constructor argument not correct type to construct array element", constructorString.c_str(), "");
 4742|      0|                return true;
 4743|      0|            }
 4744|       |
 4745|      0|            if (arraySizes.isInnerUnsized()) {
  ------------------
  |  Branch (4745:17): [True: 0, False: 0]
  ------------------
 4746|       |                // "Arrays of arrays ..., and the size for any dimension is optional"
 4747|       |                // That means we need to adopt (from the first argument) the other array sizes into the type.
 4748|      0|                for (int d = 1; d < arraySizes.getNumDims(); ++d) {
  ------------------
  |  Branch (4748:33): [True: 0, False: 0]
  ------------------
 4749|      0|                    if (arraySizes.getDimSize(d) == UnsizedArraySize) {
  ------------------
  |  Branch (4749:25): [True: 0, False: 0]
  ------------------
 4750|      0|                        arraySizes.setDimSize(d, function[0].type->getArraySizes()->getDimSize(d - 1));
 4751|      0|                    }
 4752|      0|                }
 4753|      0|            }
 4754|      0|        }
 4755|     20|    }
 4756|       |
 4757|    330|    if (arrayArg && op != EOpConstructStruct && ! type.isArrayOfArrays()) {
  ------------------
  |  Branch (4757:9): [True: 0, False: 330]
  |  Branch (4757:21): [True: 0, False: 0]
  |  Branch (4757:49): [True: 0, False: 0]
  ------------------
 4758|      0|        error(loc, "constructing non-array constituent from array argument", constructorString.c_str(), "");
 4759|      0|        return true;
 4760|      0|    }
 4761|       |
 4762|    330|    if (matrixInMatrix && ! type.isArray()) {
  ------------------
  |  Branch (4762:9): [True: 0, False: 330]
  |  Branch (4762:27): [True: 0, False: 0]
  ------------------
 4763|      0|        profileRequires(loc, ENoProfile, 120, nullptr, "constructing matrix from matrix");
 4764|       |
 4765|       |        // "If a matrix argument is given to a matrix constructor,
 4766|       |        // it is a compile-time error to have any other arguments."
 4767|      0|        if (function.getParamCount() != 1)
  ------------------
  |  Branch (4767:13): [True: 0, False: 0]
  ------------------
 4768|      0|            error(loc, "matrix constructed from matrix can only have one argument", constructorString.c_str(), "");
 4769|      0|        return false;
 4770|      0|    }
 4771|       |
 4772|    330|    if (overFull) {
  ------------------
  |  Branch (4772:9): [True: 0, False: 330]
  ------------------
 4773|      0|        error(loc, "too many arguments", constructorString.c_str(), "");
 4774|      0|        return true;
 4775|      0|    }
 4776|       |
 4777|    330|    if (op == EOpConstructStruct && ! type.isArray() && (int)type.getStruct()->size() != function.getParamCount()) {
  ------------------
  |  Branch (4777:9): [True: 0, False: 330]
  |  Branch (4777:37): [True: 0, False: 0]
  |  Branch (4777:57): [True: 0, False: 0]
  ------------------
 4778|      0|        error(loc, "Number of constructor parameters does not match the number of structure fields", constructorString.c_str(), "");
 4779|      0|        return true;
 4780|      0|    }
 4781|       |
 4782|    330|    if (type.isLongVector() && !isValidLongVectorElseError(loc, type)) {
  ------------------
  |  Branch (4782:9): [True: 0, False: 330]
  |  Branch (4782:32): [True: 0, False: 0]
  ------------------
 4783|      0|        return true;
 4784|      0|    }
 4785|       |
 4786|    330|    if ((op != EOpConstructStruct && size != 1 && size < type.computeNumComponents()) ||
  ------------------
  |  Branch (4786:10): [True: 330, False: 0]
  |  Branch (4786:38): [True: 199, False: 131]
  |  Branch (4786:51): [True: 0, False: 199]
  ------------------
 4787|    330|        (op == EOpConstructStruct && size < type.computeNumComponents())) {
  ------------------
  |  Branch (4787:10): [True: 0, False: 330]
  |  Branch (4787:38): [True: 0, False: 0]
  ------------------
 4788|      0|        error(loc, "not enough data provided for construction", constructorString.c_str(), "");
 4789|      0|        return true;
 4790|      0|    }
 4791|       |
 4792|    330|    if (type.isCoopMat() && function.getParamCount() != 1) {
  ------------------
  |  Branch (4792:9): [True: 0, False: 330]
  |  Branch (4792:29): [True: 0, False: 0]
  ------------------
 4793|      0|        error(loc, "wrong number of arguments", constructorString.c_str(), "");
 4794|      0|        return true;
 4795|      0|    }
 4796|    330|    if (type.isCoopMat() &&
  ------------------
  |  Branch (4796:9): [True: 0, False: 330]
  ------------------
 4797|      0|        !(function[0].type->isScalar() || function[0].type->isCoopMat())) {
  ------------------
  |  Branch (4797:11): [True: 0, False: 0]
  |  Branch (4797:43): [True: 0, False: 0]
  ------------------
 4798|      0|        error(loc, "Cooperative matrix constructor argument must be scalar or cooperative matrix", constructorString.c_str(), "");
 4799|      0|        return true;
 4800|      0|    }
 4801|       |
 4802|    330|    TIntermTyped* typed = node->getAsTyped();
 4803|    330|    if (type.isCoopMat() && typed->getType().isCoopMat() &&
  ------------------
  |  Branch (4803:9): [True: 0, False: 330]
  |  Branch (4803:29): [True: 0, False: 0]
  ------------------
 4804|      0|        ((extensionTurnedOn(E_GL_NV_cooperative_matrix2) && !type.sameCoopMatShape(typed->getType())) ||
  ------------------
  |  Branch (4804:11): [True: 0, False: 0]
  |  Branch (4804:61): [True: 0, False: 0]
  ------------------
 4805|      0|         (!extensionTurnedOn(E_GL_NV_cooperative_matrix2) && !type.sameCoopMatShapeAndUse(typed->getType())))) {
  ------------------
  |  Branch (4805:11): [True: 0, False: 0]
  |  Branch (4805:62): [True: 0, False: 0]
  ------------------
 4806|      0|        error(loc, "Cooperative matrix type parameters mismatch", constructorString.c_str(), "");
 4807|      0|        return true;
 4808|      0|    }
 4809|       |
 4810|    330|    if (typed == nullptr) {
  ------------------
  |  Branch (4810:9): [True: 0, False: 330]
  ------------------
 4811|      0|        error(loc, "constructor argument does not have a type", constructorString.c_str(), "");
 4812|      0|        return true;
 4813|      0|    }
 4814|    330|    if (op != EOpConstructStruct && op != EOpConstructNonuniform && typed->getBasicType() == EbtSampler) {
  ------------------
  |  Branch (4814:9): [True: 330, False: 0]
  |  Branch (4814:37): [True: 330, False: 0]
  |  Branch (4814:69): [True: 0, False: 330]
  ------------------
 4815|      0|        if (op == EOpConstructUVec2 && extensionTurnedOn(E_GL_ARB_bindless_texture)) {
  ------------------
  |  Branch (4815:13): [True: 0, False: 0]
  |  Branch (4815:40): [True: 0, False: 0]
  ------------------
 4816|      0|            intermediate.setBindlessTextureMode(currentCaller, AstRefTypeFunc);
 4817|      0|        }
 4818|      0|        else {
 4819|      0|            error(loc, "cannot convert a sampler", constructorString.c_str(), "");
 4820|      0|            return true;
 4821|      0|        }
 4822|      0|    }
 4823|    330|    if (op != EOpConstructStruct && typed->isAtomic()) {
  ------------------
  |  Branch (4823:9): [True: 330, False: 0]
  |  Branch (4823:37): [True: 0, False: 330]
  ------------------
 4824|      0|        error(loc, "cannot convert an atomic_uint", constructorString.c_str(), "");
 4825|      0|        return true;
 4826|      0|    }
 4827|    330|    if (typed->getBasicType() == EbtVoid) {
  ------------------
  |  Branch (4827:9): [True: 0, False: 330]
  ------------------
 4828|      0|        error(loc, "cannot convert a void", constructorString.c_str(), "");
 4829|      0|        return true;
 4830|      0|    }
 4831|       |
 4832|    330|    return false;
 4833|    330|}
_ZN7glslang13TParseContext14voidErrorCheckERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEENS_10TBasicTypeE:
 4921|  17.7k|{
 4922|  17.7k|    if (basicType == EbtVoid) {
  ------------------
  |  Branch (4922:9): [True: 0, False: 17.7k]
  ------------------
 4923|      0|        error(loc, "illegal use of type 'void'", identifier.c_str(), "");
 4924|      0|        return true;
 4925|      0|    }
 4926|       |
 4927|  17.7k|    return false;
 4928|  17.7k|}
_ZN7glslang13TParseContext9boolCheckERKNS_10TSourceLocEPKNS_12TIntermTypedE:
 4932|    731|{
 4933|    731|    if (type->getBasicType() != EbtBool || type->isArray() || type->isMatrix() || type->isVector())
  ------------------
  |  Branch (4933:9): [True: 731, False: 0]
  |  Branch (4933:44): [True: 0, False: 0]
  |  Branch (4933:63): [True: 0, False: 0]
  |  Branch (4933:83): [True: 0, False: 0]
  ------------------
 4934|    731|        error(loc, "boolean expression expected", "", "");
 4935|    731|}
_ZN7glslang13TParseContext12samplerCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEEPNS_12TIntermTypedE:
 4945|  15.9k|{
 4946|       |    // Check that the appropriate extension is enabled if external sampler is used.
 4947|       |    // There are two extensions. The correct one must be used based on GLSL version.
 4948|  15.9k|    if (type.getBasicType() == EbtSampler && type.getSampler().isExternal()) {
  ------------------
  |  Branch (4948:9): [True: 0, False: 15.9k]
  |  Branch (4948:46): [True: 0, False: 0]
  ------------------
 4949|      0|        if (version < 300) {
  ------------------
  |  Branch (4949:13): [True: 0, False: 0]
  ------------------
 4950|      0|            requireExtensions(loc, 1, &E_GL_OES_EGL_image_external, "samplerExternalOES");
 4951|      0|        } else {
 4952|      0|            requireExtensions(loc, 1, &E_GL_OES_EGL_image_external_essl3, "samplerExternalOES");
 4953|      0|        }
 4954|      0|    }
 4955|  15.9k|    if (type.getSampler().isYuv()) {
  ------------------
  |  Branch (4955:9): [True: 0, False: 15.9k]
  ------------------
 4956|      0|        requireExtensions(loc, 1, &E_GL_EXT_YUV_target, "__samplerExternal2DY2YEXT");
 4957|      0|    }
 4958|       |
 4959|  15.9k|    if (type.getQualifier().storage == EvqUniform)
  ------------------
  |  Branch (4959:9): [True: 432, False: 15.5k]
  ------------------
 4960|    432|        return;
 4961|       |
 4962|  15.5k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtSampler)) {
  ------------------
  |  Branch (4962:9): [True: 0, False: 15.5k]
  |  Branch (4962:45): [True: 0, False: 0]
  ------------------
 4963|       |        // For bindless texture, sampler can be declared as an struct member
 4964|      0|        if (extensionTurnedOn(E_GL_ARB_bindless_texture)) {
  ------------------
  |  Branch (4964:13): [True: 0, False: 0]
  ------------------
 4965|      0|            if (type.getSampler().isImage())
  ------------------
  |  Branch (4965:17): [True: 0, False: 0]
  ------------------
 4966|      0|                intermediate.setBindlessImageMode(currentCaller, AstRefTypeVar);
 4967|      0|            else
 4968|      0|                intermediate.setBindlessTextureMode(currentCaller, AstRefTypeVar);
 4969|      0|        }
 4970|      0|        else {
 4971|      0|            error(loc, "non-uniform struct contains a sampler or image:", type.getBasicTypeString().c_str(), identifier.c_str());
 4972|      0|        }
 4973|      0|    }
 4974|  15.5k|    else if (type.getBasicType() == EbtSampler && type.getQualifier().storage != EvqUniform) {
  ------------------
  |  Branch (4974:14): [True: 0, False: 15.5k]
  |  Branch (4974:51): [True: 0, False: 0]
  ------------------
 4975|       |        // For bindless texture, sampler can be declared as an input/output/block member
 4976|      0|        if (extensionTurnedOn(E_GL_ARB_bindless_texture)) {
  ------------------
  |  Branch (4976:13): [True: 0, False: 0]
  ------------------
 4977|      0|            if (type.getSampler().isImage())
  ------------------
  |  Branch (4977:17): [True: 0, False: 0]
  ------------------
 4978|      0|                intermediate.setBindlessImageMode(currentCaller, AstRefTypeVar);
 4979|      0|            else
 4980|      0|                intermediate.setBindlessTextureMode(currentCaller, AstRefTypeVar);
 4981|      0|        }
 4982|      0|        else {
 4983|       |            // non-uniform sampler
 4984|       |            // not yet:  okay if it has an initializer
 4985|       |            // if (! initializer)
 4986|      0|            if (type.getSampler().isAttachmentEXT() && type.getQualifier().storage != EvqTileImageEXT)
  ------------------
  |  Branch (4986:17): [True: 0, False: 0]
  |  Branch (4986:56): [True: 0, False: 0]
  ------------------
 4987|      0|                 error(loc, "can only be used in tileImageEXT variables or function parameters:", type.getBasicTypeString().c_str(), identifier.c_str());
 4988|      0|            else if (type.getQualifier().storage != EvqTileImageEXT)
  ------------------
  |  Branch (4988:22): [True: 0, False: 0]
  ------------------
 4989|      0|                 error(loc, "sampler/image types can only be used in uniform variables or function parameters:", type.getBasicTypeString().c_str(), identifier.c_str());
 4990|      0|        }
 4991|      0|    }
 4992|  15.5k|    else if (type.isTensorARM() && type.getQualifier().storage != EvqUniform) {
  ------------------
  |  Branch (4992:14): [True: 0, False: 15.5k]
  |  Branch (4992:36): [True: 0, False: 0]
  ------------------
 4993|      0|        error(loc, "tensorARM types can only be used in uniform variables or function parameters:", "tensorARM", identifier.c_str());
 4994|      0|    }
 4995|  15.5k|}
_ZN7glslang13TParseContext15atomicUintCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 4998|  15.9k|{
 4999|  15.9k|    if (type.getQualifier().storage == EvqUniform)
  ------------------
  |  Branch (4999:9): [True: 432, False: 15.5k]
  ------------------
 5000|    432|        return;
 5001|       |
 5002|  15.5k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtAtomicUint))
  ------------------
  |  Branch (5002:9): [True: 0, False: 15.5k]
  |  Branch (5002:45): [True: 0, False: 0]
  ------------------
 5003|      0|        error(loc, "non-uniform struct contains an atomic_uint:", type.getBasicTypeString().c_str(), identifier.c_str());
 5004|  15.5k|    else if (type.getBasicType() == EbtAtomicUint && type.getQualifier().storage != EvqUniform)
  ------------------
  |  Branch (5004:14): [True: 0, False: 15.5k]
  |  Branch (5004:54): [True: 0, False: 0]
  ------------------
 5005|      0|        error(loc, "atomic_uints can only be used in uniform variables or function parameters:", type.getBasicTypeString().c_str(), identifier.c_str());
 5006|  15.5k|}
_ZN7glslang13TParseContext14accStructCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5009|  15.9k|{
 5010|  15.9k|    if (type.getQualifier().storage == EvqUniform)
  ------------------
  |  Branch (5010:9): [True: 432, False: 15.5k]
  ------------------
 5011|    432|        return;
 5012|       |
 5013|  15.5k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtAccStruct))
  ------------------
  |  Branch (5013:9): [True: 0, False: 15.5k]
  |  Branch (5013:45): [True: 0, False: 0]
  ------------------
 5014|      0|        error(loc, "non-uniform struct contains an accelerationStructureNV:", type.getBasicTypeString().c_str(), identifier.c_str());
 5015|  15.5k|    else if (type.getBasicType() == EbtAccStruct && type.getQualifier().storage != EvqUniform)
  ------------------
  |  Branch (5015:14): [True: 0, False: 15.5k]
  |  Branch (5015:53): [True: 0, False: 0]
  ------------------
 5016|      0|        error(loc, "accelerationStructureNV can only be used in uniform variables or function parameters:",
 5017|      0|            type.getBasicTypeString().c_str(), identifier.c_str());
 5018|       |
 5019|  15.5k|}
_ZN7glslang13TParseContext17hitObjectEXTCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5022|  15.9k|{
 5023|  15.9k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtHitObjectEXT)) {
  ------------------
  |  Branch (5023:9): [True: 57, False: 15.8k]
  |  Branch (5023:45): [True: 0, False: 57]
  ------------------
 5024|      0|        error(loc, "struct is not allowed to contain hitObjectEXT:", type.getTypeName().c_str(), identifier.c_str());
 5025|  15.9k|    } else if (type.getBasicType() == EbtHitObjectEXT) {
  ------------------
  |  Branch (5025:16): [True: 0, False: 15.9k]
  ------------------
 5026|      0|        TStorageQualifier qualifier = type.getQualifier().storage;
 5027|      0|        if (qualifier != EvqGlobal && qualifier != EvqTemporary) {
  ------------------
  |  Branch (5027:13): [True: 0, False: 0]
  |  Branch (5027:39): [True: 0, False: 0]
  ------------------
 5028|      0|            error(loc, "hitObjectEXT can only be declared in global or function scope with no storage qualifier:", "hitObjectEXT", identifier.c_str());
 5029|      0|        }
 5030|      0|    }
 5031|  15.9k|}
_ZN7glslang13TParseContext16hitObjectNVCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5033|  15.9k|{
 5034|  15.9k|    if (type.getBasicType() == EbtStruct && ( containsFieldWithBasicType(type, EbtHitObjectNV))) {
  ------------------
  |  Branch (5034:9): [True: 57, False: 15.8k]
  |  Branch (5034:45): [True: 0, False: 57]
  ------------------
 5035|      0|        error(loc, "struct is not allowed to contain hitObjectNV:", type.getTypeName().c_str(), identifier.c_str());
 5036|  15.9k|    } else if ((type.getBasicType() == EbtHitObjectNV)) {
  ------------------
  |  Branch (5036:16): [True: 0, False: 15.9k]
  ------------------
 5037|      0|        TStorageQualifier qualifier = type.getQualifier().storage;
 5038|      0|        if (qualifier != EvqGlobal && qualifier != EvqTemporary) {
  ------------------
  |  Branch (5038:13): [True: 0, False: 0]
  |  Branch (5038:39): [True: 0, False: 0]
  ------------------
 5039|      0|            error(loc, "hitObjectNV can only be declared in global or function scope with no storage qualifier:", "hitObjectNV", identifier.c_str());
 5040|      0|        }
 5041|      0|    }
 5042|  15.9k|}
_ZN7glslang13TParseContext22transparentOpaqueCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5045|  15.9k|{
 5046|  15.9k|    if (parsingBuiltins)
  ------------------
  |  Branch (5046:9): [True: 15.9k, False: 0]
  ------------------
 5047|  15.9k|        return;
 5048|       |
 5049|      0|    if (type.getQualifier().storage != EvqUniform)
  ------------------
  |  Branch (5049:9): [True: 0, False: 0]
  ------------------
 5050|      0|        return;
 5051|       |
 5052|      0|    if (type.containsNonOpaque()) {
  ------------------
  |  Branch (5052:9): [True: 0, False: 0]
  ------------------
 5053|       |        // Vulkan doesn't allow transparent uniforms outside of blocks
 5054|      0|        if (spvVersion.vulkan > 0 && !spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (5054:13): [True: 0, False: 0]
  |  Branch (5054:38): [True: 0, False: 0]
  ------------------
 5055|      0|            vulkanRemoved(loc, "non-opaque uniforms outside a block");
 5056|       |        // OpenGL wants locations on these (unless they are getting automapped)
 5057|      0|        if (spvVersion.openGl > 0 && !type.getQualifier().hasLocation() && !intermediate.getAutoMapLocations())
  ------------------
  |  Branch (5057:13): [True: 0, False: 0]
  |  Branch (5057:38): [True: 0, False: 0]
  |  Branch (5057:76): [True: 0, False: 0]
  ------------------
 5058|      0|            error(loc, "non-opaque uniform variables need a layout(location=L)", identifier.c_str(), "");
 5059|      0|    }
 5060|      0|}
_ZN7glslang13TParseContext20memberQualifierCheckERNS_11TPublicTypeE:
 5066|    225|{
 5067|    225|    globalQualifierFixCheck(publicType.loc, publicType.qualifier, true);
 5068|    225|    checkNoShaderLayouts(publicType.loc, publicType.shaderQualifiers);
 5069|    225|    if (publicType.qualifier.isNonUniform()) {
  ------------------
  |  Branch (5069:9): [True: 0, False: 225]
  ------------------
 5070|      0|        error(publicType.loc, "not allowed on block or structure members", "nonuniformEXT", "");
 5071|      0|        publicType.qualifier.nonUniform = false;
 5072|      0|    }
 5073|    225|    if (publicType.qualifier.isPatch()) {
  ------------------
  |  Branch (5073:9): [True: 0, False: 225]
  ------------------
 5074|      0|        error(publicType.loc, "not allowed on block or structure members",
 5075|      0|              "patch", "");
 5076|      0|    }
 5077|    225|}
_ZN7glslang13TParseContext23globalQualifierFixCheckERKNS_10TSourceLocERNS_10TQualifierEbPKNS_11TPublicTypeE:
 5083|  38.0k|{
 5084|  38.0k|    bool nonuniformOkay = false;
 5085|       |
 5086|       |    // move from parameter/unknown qualifiers to pipeline in/out qualifiers
 5087|  38.0k|    switch (qualifier.storage) {
 5088|  10.0k|    case EvqIn:
  ------------------
  |  Branch (5088:5): [True: 10.0k, False: 27.9k]
  ------------------
 5089|  10.0k|        profileRequires(loc, ENoProfile, 130, nullptr, "in for stage inputs");
 5090|  10.0k|        profileRequires(loc, EEsProfile, 300, nullptr, "in for stage inputs");
 5091|  10.0k|        qualifier.storage = EvqVaryingIn;
 5092|  10.0k|        nonuniformOkay = true;
 5093|  10.0k|        break;
 5094|  1.16k|    case EvqOut:
  ------------------
  |  Branch (5094:5): [True: 1.16k, False: 36.8k]
  ------------------
 5095|  1.16k|        profileRequires(loc, ENoProfile, 130, nullptr, "out for stage outputs");
 5096|  1.16k|        profileRequires(loc, EEsProfile, 300, nullptr, "out for stage outputs");
 5097|  1.16k|        qualifier.storage = EvqVaryingOut;
 5098|  1.16k|        if (intermediate.isInvariantAll())
  ------------------
  |  Branch (5098:13): [True: 0, False: 1.16k]
  ------------------
 5099|      0|            qualifier.invariant = true;
 5100|  1.16k|        break;
 5101|      0|    case EvqInOut:
  ------------------
  |  Branch (5101:5): [True: 0, False: 38.0k]
  ------------------
 5102|      0|        qualifier.storage = EvqVaryingIn;
 5103|      0|        error(loc, "cannot use 'inout' at global scope", "", "");
 5104|      0|        break;
 5105|  20.7k|    case EvqGlobal:
  ------------------
  |  Branch (5105:5): [True: 20.7k, False: 17.2k]
  ------------------
 5106|  20.9k|    case EvqTemporary:
  ------------------
  |  Branch (5106:5): [True: 135, False: 37.9k]
  ------------------
 5107|  20.9k|        nonuniformOkay = true;
 5108|  20.9k|        break;
 5109|    432|    case EvqUniform:
  ------------------
  |  Branch (5109:5): [True: 432, False: 37.6k]
  ------------------
 5110|       |        // According to GLSL spec: The std430 qualifier is supported only for shader storage blocks; a shader using
 5111|       |        // the std430 qualifier on a uniform block will fail to compile.
 5112|       |        // Only check the global declaration: layout(std430) uniform;
 5113|    432|        if (blockName == nullptr &&
  ------------------
  |  Branch (5113:13): [True: 297, False: 135]
  ------------------
 5114|    297|            qualifier.layoutPacking == ElpStd430)
  ------------------
  |  Branch (5114:13): [True: 0, False: 297]
  ------------------
 5115|      0|        {
 5116|      0|            requireExtensions(loc, 1, &E_GL_EXT_scalar_block_layout, "default std430 layout for uniform");
 5117|      0|        }
 5118|       |
 5119|    432|        if (publicType != nullptr && publicType->isImage() &&
  ------------------
  |  Branch (5119:13): [True: 432, False: 0]
  |  Branch (5119:38): [True: 0, False: 432]
  ------------------
 5120|      0|            (qualifier.layoutFormat > ElfExtSizeGuard && qualifier.layoutFormat < ElfCount))
  ------------------
  |  Branch (5120:14): [True: 0, False: 0]
  |  Branch (5120:58): [True: 0, False: 0]
  ------------------
 5121|      0|            qualifier.layoutFormat = mapLegacyLayoutFormat(qualifier.layoutFormat, publicType->sampler.getBasicType());
 5122|       |
 5123|    432|        break;
 5124|  5.47k|    default:
  ------------------
  |  Branch (5124:5): [True: 5.47k, False: 32.5k]
  ------------------
 5125|  5.47k|        break;
 5126|  38.0k|    }
 5127|       |
 5128|  38.0k|    if (!nonuniformOkay && qualifier.isNonUniform())
  ------------------
  |  Branch (5128:9): [True: 7.07k, False: 30.9k]
  |  Branch (5128:28): [True: 0, False: 7.07k]
  ------------------
 5129|      0|        error(loc, "for non-parameter, can only apply to 'in' or no storage qualifier", "nonuniformEXT", "");
 5130|       |
 5131|  38.0k|    if (qualifier.isSpirvByReference())
  ------------------
  |  Branch (5131:9): [True: 0, False: 38.0k]
  ------------------
 5132|      0|        error(loc, "can only apply to parameter", "spirv_by_reference", "");
 5133|       |
 5134|  38.0k|    if (qualifier.isSpirvLiteral())
  ------------------
  |  Branch (5134:9): [True: 0, False: 38.0k]
  ------------------
 5135|      0|        error(loc, "can only apply to parameter", "spirv_literal", "");
 5136|       |
 5137|       |    // Storage qualifier isn't ready for memberQualifierCheck, we should skip invariantCheck for it.
 5138|  38.0k|    if (!isMemberCheck || structNestingLevel > 0)
  ------------------
  |  Branch (5138:9): [True: 37.8k, False: 225]
  |  Branch (5138:27): [True: 90, False: 135]
  ------------------
 5139|  37.9k|        invariantCheck(loc, qualifier);
 5140|       |
 5141|  38.0k|    if (qualifier.isFullQuads()) {
  ------------------
  |  Branch (5141:9): [True: 0, False: 38.0k]
  ------------------
 5142|      0|        if (qualifier.storage != EvqVaryingIn)
  ------------------
  |  Branch (5142:13): [True: 0, False: 0]
  ------------------
 5143|      0|            error(loc, "can only apply to input layout", "full_quads ", "");
 5144|      0|        intermediate.setReqFullQuadsMode();
 5145|      0|    }
 5146|       |
 5147|  38.0k|    if (qualifier.isQuadDeriv()) {
  ------------------
  |  Branch (5147:9): [True: 0, False: 38.0k]
  ------------------
 5148|      0|        if (qualifier.storage != EvqVaryingIn)
  ------------------
  |  Branch (5148:13): [True: 0, False: 0]
  ------------------
 5149|      0|            error(loc, "can only apply to input layout", "quad_derivatives", "");
 5150|      0|        intermediate.setQuadDerivMode();
 5151|      0|    }
 5152|  38.0k|}
_ZN7glslang13TParseContext24globalQualifierTypeCheckERKNS_10TSourceLocERKNS_10TQualifierERKNS_11TPublicTypeE:
 5158|   373k|{
 5159|   373k|    if (! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (5159:9): [True: 0, False: 373k]
  ------------------
 5160|      0|        return;
 5161|       |
 5162|   373k|    if (!(publicType.userDef && publicType.userDef->isReference()) && !publicType.isTensorARM() && !parsingBuiltins) {
  ------------------
  |  Branch (5162:11): [True: 168, False: 372k]
  |  Branch (5162:33): [True: 0, False: 168]
  |  Branch (5162:71): [True: 373k, False: 0]
  |  Branch (5162:100): [True: 1, False: 373k]
  ------------------
 5163|      1|        if (qualifier.isMemoryQualifierImageAndSSBOOnly() && ! publicType.isImage() && publicType.qualifier.storage != EvqBuffer) {
  ------------------
  |  Branch (5163:13): [True: 0, False: 1]
  |  Branch (5163:62): [True: 0, False: 0]
  |  Branch (5163:88): [True: 0, False: 0]
  ------------------
 5164|      0|            error(loc, "memory qualifiers cannot be used on this type", "", "");
 5165|      1|        } else if (qualifier.isMemory() && (publicType.basicType != EbtSampler) && !publicType.qualifier.isUniformOrBuffer()) {
  ------------------
  |  Branch (5165:20): [True: 0, False: 1]
  |  Branch (5165:44): [True: 0, False: 0]
  |  Branch (5165:84): [True: 0, False: 0]
  ------------------
 5166|      0|            error(loc, "memory qualifiers cannot be used on this type", "", "");
 5167|      0|        }
 5168|      1|    }
 5169|       |
 5170|   373k|    if (qualifier.storage == EvqBuffer &&
  ------------------
  |  Branch (5170:9): [True: 0, False: 373k]
  ------------------
 5171|      0|        publicType.basicType != EbtBlock &&
  ------------------
  |  Branch (5171:9): [True: 0, False: 0]
  ------------------
 5172|      0|        !qualifier.hasBufferReference())
  ------------------
  |  Branch (5172:9): [True: 0, False: 0]
  ------------------
 5173|      0|        error(loc, "buffers can be declared only as blocks", "buffer", "");
 5174|       |
 5175|   373k|    if (qualifier.storage != EvqVaryingIn && publicType.basicType == EbtDouble &&
  ------------------
  |  Branch (5175:9): [True: 363k, False: 10.0k]
  |  Branch (5175:46): [True: 15.7k, False: 347k]
  ------------------
 5176|  15.7k|        extensionTurnedOn(E_GL_ARB_vertex_attrib_64bit) && language == EShLangVertex &&
  ------------------
  |  Branch (5176:9): [True: 0, False: 15.7k]
  |  Branch (5176:60): [True: 0, False: 0]
  ------------------
 5177|      0|        version < 400) {
  ------------------
  |  Branch (5177:9): [True: 0, False: 0]
  ------------------
 5178|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 410, E_GL_ARB_gpu_shader_fp64, "vertex-shader `double` type");
 5179|      0|    }
 5180|   373k|    if (qualifier.storage != EvqVaryingIn && qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (5180:9): [True: 363k, False: 10.0k]
  |  Branch (5180:46): [True: 362k, False: 953]
  ------------------
 5181|   362k|        return;
 5182|       |
 5183|  11.0k|    if (publicType.shaderQualifiers.hasBlendEquation())
  ------------------
  |  Branch (5183:9): [True: 0, False: 11.0k]
  ------------------
 5184|      0|        error(loc, "can only be applied to a standalone 'out'", "blend equation", "");
 5185|       |
 5186|       |    // now, knowing it is a shader in/out, do all the in/out semantic checks
 5187|       |
 5188|  11.0k|    if (isTypeInt(publicType.basicType) || publicType.basicType == EbtDouble) {
  ------------------
  |  Branch (5188:9): [True: 10.4k, False: 501]
  |  Branch (5188:44): [True: 0, False: 501]
  ------------------
 5189|  10.4k|        profileRequires(loc, EEsProfile, 300, nullptr, "non-float shader input/output");
 5190|  10.4k|        profileRequires(loc, ~EEsProfile, 130, nullptr, "non-float shader input/output");
 5191|  10.4k|    }
 5192|       |
 5193|  11.0k|    if (!qualifier.flat && !qualifier.isExplicitInterpolation() && !qualifier.isPervertexNV() && !qualifier.isPervertexEXT()) {
  ------------------
  |  Branch (5193:9): [True: 10.5k, False: 421]
  |  Branch (5193:28): [True: 10.5k, False: 0]
  |  Branch (5193:68): [True: 10.5k, False: 0]
  |  Branch (5193:98): [True: 10.5k, False: 0]
  ------------------
 5194|  10.5k|        if (isTypeInt(publicType.basicType) ||
  ------------------
  |  Branch (5194:13): [True: 10.0k, False: 501]
  ------------------
 5195|    501|            publicType.basicType == EbtDouble ||
  ------------------
  |  Branch (5195:13): [True: 0, False: 501]
  ------------------
 5196|    501|            (publicType.userDef && (   publicType.userDef->containsBasicType(EbtInt)
  ------------------
  |  Branch (5196:14): [True: 0, False: 501]
  |  Branch (5196:40): [True: 0, False: 0]
  ------------------
 5197|      0|                                    || publicType.userDef->containsBasicType(EbtUint)
  ------------------
  |  Branch (5197:40): [True: 0, False: 0]
  ------------------
 5198|      0|                                    || publicType.userDef->contains16BitInt()
  ------------------
  |  Branch (5198:40): [True: 0, False: 0]
  ------------------
 5199|      0|                                    || publicType.userDef->contains8BitInt()
  ------------------
  |  Branch (5199:40): [True: 0, False: 0]
  ------------------
 5200|      0|                                    || publicType.userDef->contains64BitInt()
  ------------------
  |  Branch (5200:40): [True: 0, False: 0]
  ------------------
 5201|  10.0k|                                    || publicType.userDef->containsDouble()))) {
  ------------------
  |  Branch (5201:40): [True: 0, False: 0]
  ------------------
 5202|  10.0k|            if (qualifier.storage == EvqVaryingIn && language == EShLangFragment)
  ------------------
  |  Branch (5202:17): [True: 9.34k, False: 729]
  |  Branch (5202:54): [True: 0, False: 9.34k]
  ------------------
 5203|      0|                error(loc, "must be qualified as flat", TType::getBasicString(publicType.basicType), GetStorageQualifierString(qualifier.storage));
 5204|  10.0k|            else if (qualifier.storage == EvqVaryingOut && language == EShLangVertex && version == 300)
  ------------------
  |  Branch (5204:22): [True: 729, False: 9.34k]
  |  Branch (5204:60): [True: 162, False: 567]
  |  Branch (5204:89): [True: 0, False: 162]
  ------------------
 5205|      0|                error(loc, "must be qualified as flat", TType::getBasicString(publicType.basicType), GetStorageQualifierString(qualifier.storage));
 5206|  10.0k|        }
 5207|  10.5k|    }
 5208|       |
 5209|  11.0k|    if (qualifier.isPatch() && qualifier.isInterpolation())
  ------------------
  |  Branch (5209:9): [True: 112, False: 10.8k]
  |  Branch (5209:32): [True: 0, False: 112]
  ------------------
 5210|      0|        error(loc, "cannot use interpolation qualifiers with patch", "patch", "");
 5211|       |
 5212|       |    // Only "patch in" is supported via GL_NV_gpu_shader5
 5213|  11.0k|    if (! symbolTable.atBuiltInLevel() && qualifier.isPatch() && 
  ------------------
  |  Branch (5213:9): [True: 0, False: 11.0k]
  |  Branch (5213:43): [True: 0, False: 0]
  ------------------
 5214|      0|        (language == EShLangGeometry) && qualifier.storage != EvqVaryingIn &&
  ------------------
  |  Branch (5214:9): [True: 0, False: 0]
  |  Branch (5214:42): [True: 0, False: 0]
  ------------------
 5215|      0|        extensionTurnedOn(E_GL_NV_gpu_shader5))
  ------------------
  |  Branch (5215:9): [True: 0, False: 0]
  ------------------
 5216|      0|            error(loc, "only 'patch in' is supported in this stage:", "patch", "geometry");
 5217|       |
 5218|  11.0k|    if (qualifier.isTaskPayload() && publicType.basicType == EbtBlock)
  ------------------
  |  Branch (5218:9): [True: 0, False: 11.0k]
  |  Branch (5218:38): [True: 0, False: 0]
  ------------------
 5219|      0|        error(loc, "taskPayloadSharedEXT variables should not be declared as interface blocks", "taskPayloadSharedEXT", "");
 5220|       |
 5221|  11.0k|    if (qualifier.isTaskMemory() && publicType.basicType != EbtBlock)
  ------------------
  |  Branch (5221:9): [True: 0, False: 11.0k]
  |  Branch (5221:37): [True: 0, False: 0]
  ------------------
 5222|      0|        error(loc, "taskNV variables can be declared only as blocks", "taskNV", "");
 5223|       |
 5224|  11.0k|    if (qualifier.storage == EvqVaryingIn) {
  ------------------
  |  Branch (5224:9): [True: 10.0k, False: 953]
  ------------------
 5225|  10.0k|        switch (language) {
 5226|    850|        case EShLangVertex:
  ------------------
  |  Branch (5226:9): [True: 850, False: 9.19k]
  ------------------
 5227|    850|            if (publicType.basicType == EbtStruct) {
  ------------------
  |  Branch (5227:17): [True: 0, False: 850]
  ------------------
 5228|      0|                error(loc, "cannot be a structure", GetStorageQualifierString(qualifier.storage), "");
 5229|      0|                return;
 5230|      0|            }
 5231|    850|            if (publicType.arraySizes) {
  ------------------
  |  Branch (5231:17): [True: 0, False: 850]
  ------------------
 5232|      0|                requireProfile(loc, ~EEsProfile, "vertex input arrays");
 5233|      0|                profileRequires(loc, ENoProfile, 150, nullptr, "vertex input arrays");
 5234|      0|            }
 5235|    850|            if (publicType.basicType == EbtDouble) {
  ------------------
  |  Branch (5235:17): [True: 0, False: 850]
  ------------------
 5236|      0|            	const char* const float64_attrib[] = {E_GL_NV_gpu_shader5, E_GL_ARB_vertex_attrib_64bit};
 5237|      0|                const int Num_float64_attrib = sizeof(float64_attrib) / sizeof(float64_attrib[0]);        
 5238|      0|                profileRequires(loc, ~EEsProfile, 410, Num_float64_attrib, float64_attrib, "vertex-shader `double` type input");
 5239|      0|			}
 5240|    850|            if (qualifier.isAuxiliary() || qualifier.isInterpolation() || qualifier.isMemory() || qualifier.invariant)
  ------------------
  |  Branch (5240:17): [True: 0, False: 850]
  |  Branch (5240:44): [True: 0, False: 850]
  |  Branch (5240:75): [True: 0, False: 850]
  |  Branch (5240:99): [True: 0, False: 850]
  ------------------
 5241|      0|                error(loc, "vertex input cannot be further qualified", "", "");
 5242|    850|            break;
 5243|    601|        case EShLangFragment:
  ------------------
  |  Branch (5243:9): [True: 601, False: 9.44k]
  ------------------
 5244|    601|            if (publicType.userDef) {
  ------------------
  |  Branch (5244:17): [True: 0, False: 601]
  ------------------
 5245|      0|                profileRequires(loc, EEsProfile, 300, nullptr, "fragment-shader struct input");
 5246|      0|                profileRequires(loc, ~EEsProfile, 150, nullptr, "fragment-shader struct input");
 5247|      0|                if (publicType.userDef->containsStructure())
  ------------------
  |  Branch (5247:21): [True: 0, False: 0]
  ------------------
 5248|      0|                    requireProfile(loc, ~EEsProfile, "fragment-shader struct input containing structure");
 5249|      0|                if (publicType.userDef->containsArray())
  ------------------
  |  Branch (5249:21): [True: 0, False: 0]
  ------------------
 5250|      0|                    requireProfile(loc, ~EEsProfile, "fragment-shader struct input containing an array");
 5251|      0|            }
 5252|    601|            break;
 5253|    810|       case EShLangCompute:
  ------------------
  |  Branch (5253:8): [True: 810, False: 9.23k]
  ------------------
 5254|    810|            if (! symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (5254:17): [True: 0, False: 810]
  ------------------
 5255|      0|                error(loc, "global storage input qualifier cannot be used in a compute shader", "in", "");
 5256|    810|            break;
 5257|    750|       case EShLangTessControl:
  ------------------
  |  Branch (5257:8): [True: 750, False: 9.29k]
  ------------------
 5258|    750|            if (qualifier.patch)
  ------------------
  |  Branch (5258:17): [True: 0, False: 750]
  ------------------
 5259|      0|                error(loc, "can only use on output in tessellation-control shader", "patch", "");
 5260|    750|            break;
 5261|  7.03k|        default:
  ------------------
  |  Branch (5261:9): [True: 7.03k, False: 3.01k]
  ------------------
 5262|  7.03k|            break;
 5263|  10.0k|        }
 5264|  10.0k|    } else {
 5265|       |        // qualifier.storage == EvqVaryingOut
 5266|    953|        switch (language) {
 5267|    222|        case EShLangVertex:
  ------------------
  |  Branch (5267:9): [True: 222, False: 731]
  ------------------
 5268|    222|            if (publicType.userDef) {
  ------------------
  |  Branch (5268:17): [True: 0, False: 222]
  ------------------
 5269|      0|                profileRequires(loc, EEsProfile, 300, nullptr, "vertex-shader struct output");
 5270|      0|                profileRequires(loc, ~EEsProfile, 150, nullptr, "vertex-shader struct output");
 5271|      0|                if (publicType.userDef->containsStructure())
  ------------------
  |  Branch (5271:21): [True: 0, False: 0]
  ------------------
 5272|      0|                    requireProfile(loc, ~EEsProfile, "vertex-shader struct output containing structure");
 5273|      0|                if (publicType.userDef->containsArray())
  ------------------
  |  Branch (5273:21): [True: 0, False: 0]
  ------------------
 5274|      0|                    requireProfile(loc, ~EEsProfile, "vertex-shader struct output containing an array");
 5275|      0|            }
 5276|       |
 5277|    222|            break;
 5278|     24|        case EShLangFragment:
  ------------------
  |  Branch (5278:9): [True: 24, False: 929]
  ------------------
 5279|     24|            profileRequires(loc, EEsProfile, 300, nullptr, "fragment shader output");
 5280|     24|            if (publicType.basicType == EbtStruct) {
  ------------------
  |  Branch (5280:17): [True: 0, False: 24]
  ------------------
 5281|      0|                error(loc, "cannot be a structure", GetStorageQualifierString(qualifier.storage), "");
 5282|      0|                return;
 5283|      0|            }
 5284|     24|            if (publicType.matrixRows > 0) {
  ------------------
  |  Branch (5284:17): [True: 0, False: 24]
  ------------------
 5285|      0|                error(loc, "cannot be a matrix", GetStorageQualifierString(qualifier.storage), "");
 5286|      0|                return;
 5287|      0|            }
 5288|     24|            if (qualifier.isAuxiliary())
  ------------------
  |  Branch (5288:17): [True: 0, False: 24]
  ------------------
 5289|      0|                error(loc, "can't use auxiliary qualifier on a fragment output", "centroid/sample/patch", "");
 5290|     24|            if (qualifier.isInterpolation())
  ------------------
  |  Branch (5290:17): [True: 0, False: 24]
  ------------------
 5291|      0|                error(loc, "can't use interpolation qualifier on a fragment output", "flat/smooth/noperspective", "");
 5292|     24|            if (publicType.basicType == EbtDouble || publicType.basicType == EbtInt64 || publicType.basicType == EbtUint64)
  ------------------
  |  Branch (5292:17): [True: 0, False: 24]
  |  Branch (5292:54): [True: 0, False: 24]
  |  Branch (5292:90): [True: 0, False: 24]
  ------------------
 5293|      0|                error(loc, "cannot contain a double, int64, or uint64", GetStorageQualifierString(qualifier.storage), "");
 5294|     24|        break;
 5295|       |
 5296|      0|        case EShLangCompute:
  ------------------
  |  Branch (5296:9): [True: 0, False: 953]
  ------------------
 5297|      0|            error(loc, "global storage output qualifier cannot be used in a compute shader", "out", "");
 5298|      0|            break;
 5299|    189|        case EShLangTessEvaluation:
  ------------------
  |  Branch (5299:9): [True: 189, False: 764]
  ------------------
 5300|    189|            if (qualifier.patch)
  ------------------
  |  Branch (5300:17): [True: 0, False: 189]
  ------------------
 5301|      0|                error(loc, "can only use on input in tessellation-evaluation shader", "patch", "");
 5302|    189|            break;
 5303|    518|        default:
  ------------------
  |  Branch (5303:9): [True: 518, False: 435]
  ------------------
 5304|    518|            break;
 5305|    953|        }
 5306|    953|    }
 5307|  11.0k|}
_ZN7glslang13TParseContext15mergeQualifiersERKNS_10TSourceLocERNS_10TQualifierERKS4_b:
 5319|   174k|{
 5320|       |    // Multiple auxiliary qualifiers (mostly done later by 'individual qualifiers')
 5321|   174k|    if (src.isAuxiliary() && dst.isAuxiliary())
  ------------------
  |  Branch (5321:9): [True: 112, False: 174k]
  |  Branch (5321:30): [True: 0, False: 112]
  ------------------
 5322|      0|        error(loc, "can only have one auxiliary qualifier (centroid, patch, and sample)", "", "");
 5323|       |
 5324|       |    // Multiple interpolation qualifiers (mostly done later by 'individual qualifiers')
 5325|   174k|    if (src.isInterpolation() && dst.isInterpolation())
  ------------------
  |  Branch (5325:9): [True: 421, False: 174k]
  |  Branch (5325:34): [True: 0, False: 421]
  ------------------
 5326|      0|        error(loc, "can only have one interpolation qualifier (flat, smooth, noperspective, __explicitInterpAMD)", "", "");
 5327|       |
 5328|       |    // Ordering
 5329|   174k|    if (! force && ((!isEsProfile() && version < 420) ||
  ------------------
  |  Branch (5329:9): [True: 138k, False: 36.4k]
  |  Branch (5329:22): [True: 138k, False: 140]
  |  Branch (5329:40): [True: 96, False: 138k]
  ------------------
 5330|   138k|                    (isEsProfile() && version < 310))
  ------------------
  |  Branch (5330:22): [True: 140, False: 138k]
  |  Branch (5330:39): [True: 140, False: 0]
  ------------------
 5331|    236|                && ! extensionTurnedOn(E_GL_ARB_shading_language_420pack)) {
  ------------------
  |  Branch (5331:20): [True: 236, False: 0]
  ------------------
 5332|       |        // non-function parameters
 5333|    236|        if (src.isNoContraction() && (dst.invariant || dst.isInterpolation() || dst.isAuxiliary() || dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5333:13): [True: 0, False: 236]
  |  Branch (5333:39): [True: 0, False: 0]
  |  Branch (5333:56): [True: 0, False: 0]
  |  Branch (5333:81): [True: 0, False: 0]
  |  Branch (5333:102): [True: 0, False: 0]
  |  Branch (5333:133): [True: 0, False: 0]
  ------------------
 5334|      0|            error(loc, "precise qualifier must appear first", "", "");
 5335|    236|        if (src.invariant && (dst.isInterpolation() || dst.isAuxiliary() || dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5335:13): [True: 0, False: 236]
  |  Branch (5335:31): [True: 0, False: 0]
  |  Branch (5335:56): [True: 0, False: 0]
  |  Branch (5335:77): [True: 0, False: 0]
  |  Branch (5335:108): [True: 0, False: 0]
  ------------------
 5336|      0|            error(loc, "invariant qualifier must appear before interpolation, storage, and precision qualifiers ", "", "");
 5337|    236|        else if (src.isInterpolation() && (dst.isAuxiliary() || dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5337:18): [True: 0, False: 236]
  |  Branch (5337:44): [True: 0, False: 0]
  |  Branch (5337:65): [True: 0, False: 0]
  |  Branch (5337:96): [True: 0, False: 0]
  ------------------
 5338|      0|            error(loc, "interpolation qualifiers must appear before storage and precision qualifiers", "", "");
 5339|    236|        else if (src.isAuxiliary() && (dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5339:18): [True: 0, False: 236]
  |  Branch (5339:40): [True: 0, False: 0]
  |  Branch (5339:71): [True: 0, False: 0]
  ------------------
 5340|      0|            error(loc, "Auxiliary qualifiers (centroid, patch, and sample) must appear before storage and precision qualifiers", "", "");
 5341|    236|        else if (src.storage != EvqTemporary && (dst.precision != EpqNone))
  ------------------
  |  Branch (5341:18): [True: 236, False: 0]
  |  Branch (5341:49): [True: 0, False: 236]
  ------------------
 5342|      0|            error(loc, "precision qualifier must appear as last qualifier", "", "");
 5343|       |
 5344|       |        // function parameters
 5345|    236|        if (src.isNoContraction() && (dst.storage == EvqConst || dst.storage == EvqIn || dst.storage == EvqOut))
  ------------------
  |  Branch (5345:13): [True: 0, False: 236]
  |  Branch (5345:39): [True: 0, False: 0]
  |  Branch (5345:66): [True: 0, False: 0]
  |  Branch (5345:90): [True: 0, False: 0]
  ------------------
 5346|      0|            error(loc, "precise qualifier must appear first", "", "");
 5347|    236|        if (src.storage == EvqConst && (dst.storage == EvqIn || dst.storage == EvqOut))
  ------------------
  |  Branch (5347:13): [True: 0, False: 236]
  |  Branch (5347:41): [True: 0, False: 0]
  |  Branch (5347:65): [True: 0, False: 0]
  ------------------
 5348|      0|            error(loc, "in/out must appear before const", "", "");
 5349|    236|    }
 5350|       |
 5351|       |    // Storage qualification
 5352|   174k|    if (dst.storage == EvqTemporary || dst.storage == EvqGlobal)
  ------------------
  |  Branch (5352:9): [True: 126k, False: 48.2k]
  |  Branch (5352:40): [True: 36.4k, False: 11.7k]
  ------------------
 5353|   163k|        dst.storage = src.storage;
 5354|  11.7k|    else if ((dst.storage == EvqIn  && src.storage == EvqOut) ||
  ------------------
  |  Branch (5354:15): [True: 8.97k, False: 2.80k]
  |  Branch (5354:40): [True: 0, False: 8.97k]
  ------------------
 5355|  11.7k|             (dst.storage == EvqOut && src.storage == EvqIn))
  ------------------
  |  Branch (5355:15): [True: 976, False: 10.7k]
  |  Branch (5355:40): [True: 0, False: 976]
  ------------------
 5356|      0|        dst.storage = EvqInOut;
 5357|  11.7k|    else if ((dst.storage == EvqIn    && src.storage == EvqConst) ||
  ------------------
  |  Branch (5357:15): [True: 8.97k, False: 2.80k]
  |  Branch (5357:42): [True: 0, False: 8.97k]
  ------------------
 5358|  11.7k|             (dst.storage == EvqConst && src.storage == EvqIn))
  ------------------
  |  Branch (5358:15): [True: 1.69k, False: 10.0k]
  |  Branch (5358:42): [True: 0, False: 1.69k]
  ------------------
 5359|      0|        dst.storage = EvqConstReadOnly;
 5360|  11.7k|    else if (src.storage != EvqTemporary &&
  ------------------
  |  Branch (5360:14): [True: 9.61k, False: 2.16k]
  ------------------
 5361|  9.61k|             src.storage != EvqGlobal)
  ------------------
  |  Branch (5361:14): [True: 0, False: 9.61k]
  ------------------
 5362|      0|        error(loc, "too many storage qualifiers", GetStorageQualifierString(src.storage), "");
 5363|       |
 5364|       |    // Precision qualifiers
 5365|   174k|    if (! force && src.precision != EpqNone && dst.precision != EpqNone)
  ------------------
  |  Branch (5365:9): [True: 138k, False: 36.4k]
  |  Branch (5365:20): [True: 5.27k, False: 133k]
  |  Branch (5365:48): [True: 0, False: 5.27k]
  ------------------
 5366|      0|        error(loc, "only one precision qualifier allowed", GetPrecisionQualifierString(src.precision), "");
 5367|   174k|    if (dst.precision == EpqNone || (force && src.precision != EpqNone))
  ------------------
  |  Branch (5367:9): [True: 174k, False: 675]
  |  Branch (5367:38): [True: 0, False: 675]
  |  Branch (5367:47): [True: 0, False: 0]
  ------------------
 5368|   174k|        dst.precision = src.precision;
 5369|       |
 5370|   174k|    if (!force && ((src.coherent && (dst.devicecoherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5370:9): [True: 138k, False: 36.4k]
  |  Branch (5370:21): [True: 53.5k, False: 84.8k]
  |  Branch (5370:38): [True: 0, False: 53.5k]
  |  Branch (5370:60): [True: 0, False: 53.5k]
  |  Branch (5370:87): [True: 0, False: 53.5k]
  |  Branch (5370:112): [True: 0, False: 53.5k]
  |  Branch (5370:136): [True: 0, False: 53.5k]
  ------------------
 5371|   138k|                   (src.devicecoherent && (dst.coherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5371:21): [True: 0, False: 138k]
  |  Branch (5371:44): [True: 0, False: 0]
  |  Branch (5371:60): [True: 0, False: 0]
  |  Branch (5371:87): [True: 0, False: 0]
  |  Branch (5371:112): [True: 0, False: 0]
  |  Branch (5371:136): [True: 0, False: 0]
  ------------------
 5372|   138k|                   (src.queuefamilycoherent && (dst.coherent || dst.devicecoherent || dst.workgroupcoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5372:21): [True: 0, False: 138k]
  |  Branch (5372:49): [True: 0, False: 0]
  |  Branch (5372:65): [True: 0, False: 0]
  |  Branch (5372:87): [True: 0, False: 0]
  |  Branch (5372:112): [True: 0, False: 0]
  |  Branch (5372:136): [True: 0, False: 0]
  ------------------
 5373|   138k|                   (src.workgroupcoherent && (dst.coherent || dst.devicecoherent || dst.queuefamilycoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5373:21): [True: 0, False: 138k]
  |  Branch (5373:47): [True: 0, False: 0]
  |  Branch (5373:63): [True: 0, False: 0]
  |  Branch (5373:85): [True: 0, False: 0]
  |  Branch (5373:112): [True: 0, False: 0]
  |  Branch (5373:136): [True: 0, False: 0]
  ------------------
 5374|   138k|                   (src.subgroupcoherent  && (dst.coherent || dst.devicecoherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5374:21): [True: 0, False: 138k]
  |  Branch (5374:47): [True: 0, False: 0]
  |  Branch (5374:63): [True: 0, False: 0]
  |  Branch (5374:85): [True: 0, False: 0]
  |  Branch (5374:112): [True: 0, False: 0]
  |  Branch (5374:137): [True: 0, False: 0]
  ------------------
 5375|   138k|                   (src.shadercallcoherent && (dst.coherent || dst.devicecoherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.subgroupcoherent)))) {
  ------------------
  |  Branch (5375:21): [True: 0, False: 138k]
  |  Branch (5375:48): [True: 0, False: 0]
  |  Branch (5375:64): [True: 0, False: 0]
  |  Branch (5375:86): [True: 0, False: 0]
  |  Branch (5375:113): [True: 0, False: 0]
  |  Branch (5375:138): [True: 0, False: 0]
  ------------------
 5376|      0|        error(loc, "only one coherent/devicecoherent/queuefamilycoherent/workgroupcoherent/subgroupcoherent/shadercallcoherent qualifier allowed",
 5377|      0|            GetPrecisionQualifierString(src.precision), "");
 5378|      0|    }
 5379|       |
 5380|       |    // Layout qualifiers
 5381|   174k|    mergeObjectLayoutQualifiers(dst, src, false);
 5382|       |
 5383|       |    // individual qualifiers
 5384|   174k|    bool repeated = false;
 5385|   174k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
 5386|   174k|    MERGE_SINGLETON(invariant);
  ------------------
  |  | 5385|   174k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 174k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5387|   174k|    MERGE_SINGLETON(centroid);
  ------------------
  |  | 5385|   174k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 174k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5388|   174k|    MERGE_SINGLETON(smooth);
  ------------------
  |  | 5385|   174k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 174k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5389|   174k|    MERGE_SINGLETON(flat);
  ------------------
  |  | 5385|   174k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 650, False: 174k]
  |  |  |  Branch (5385:61): [True: 0, False: 650]
  |  |  ------------------
  ------------------
 5390|   174k|    MERGE_SINGLETON(specConstant);
  ------------------
  |  | 5385|   174k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 174k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5391|   174k|    MERGE_SINGLETON(noContraction);
  ------------------
  |  | 5385|   174k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 174k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5392|   174k|    MERGE_SINGLETON(nopersp);
  ------------------
  |  | 5385|   174k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 174k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5393|   174k|    MERGE_SINGLETON(explicitInterp);
  ------------------
  |  | 5385|   174k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 174k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5394|   174k|    MERGE_SINGLETON(perPrimitiveNV);
  ------------------
  |  | 5385|   174k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 54, False: 174k]
  |  |  |  Branch (5385:61): [True: 0, False: 54]
  |  |  ------------------
  ------------------
 5395|   174k|    MERGE_SINGLETON(perViewNV);
  ------------------
  |  | 5385|   174k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 174k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5396|   174k|    MERGE_SINGLETON(perTaskNV);
  ------------------
  |  | 5385|   174k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 174k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5397|   174k|    MERGE_SINGLETON(patch);
  ------------------
  |  | 5385|   174k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 112, False: 174k]
  |  |  |  Branch (5385:61): [True: 0, False: 112]
  |  |  ------------------
  ------------------
 5398|   174k|    MERGE_SINGLETON(sample);
  ------------------
  |  | 5385|   174k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 174k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5399|   174k|    MERGE_SINGLETON(coherent);
  ------------------
  |  | 5385|   174k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 57.7k, False: 117k]
  |  |  |  Branch (5385:61): [True: 0, False: 57.7k]
  |  |  ------------------
  ------------------
 5400|   174k|    MERGE_SINGLETON(devicecoherent);
  ------------------
  |  | 5385|   174k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 174k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5401|   174k|    MERGE_SINGLETON(queuefamilycoherent);
  ------------------
  |  | 5385|   174k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 174k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5402|   174k|    MERGE_SINGLETON(workgroupcoherent);
  ------------------
  |  | 5385|   174k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 174k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5403|   174k|    MERGE_SINGLETON(subgroupcoherent);
  ------------------
  |  | 5385|   174k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 174k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5404|   174k|    MERGE_SINGLETON(shadercallcoherent);
  ------------------
  |  | 5385|   174k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 174k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5405|   174k|    MERGE_SINGLETON(nonprivate);
  ------------------
  |  | 5385|   174k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 174k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5406|   174k|    MERGE_SINGLETON(volatil);
  ------------------
  |  | 5385|   174k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 108k, False: 66.4k]
  |  |  |  Branch (5385:61): [True: 0, False: 108k]
  |  |  ------------------
  ------------------
 5407|   174k|    MERGE_SINGLETON(nontemporal);
  ------------------
  |  | 5385|   174k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 2.97k, False: 171k]
  |  |  |  Branch (5385:61): [True: 0, False: 2.97k]
  |  |  ------------------
  ------------------
 5408|   174k|    MERGE_SINGLETON(restrict);
  ------------------
  |  | 5385|   174k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 174k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5409|   174k|    MERGE_SINGLETON(readonly);
  ------------------
  |  | 5385|   174k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 25.2k, False: 149k]
  |  |  |  Branch (5385:61): [True: 0, False: 25.2k]
  |  |  ------------------
  ------------------
 5410|   174k|    MERGE_SINGLETON(writeonly);
  ------------------
  |  | 5385|   174k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 16.8k, False: 158k]
  |  |  |  Branch (5385:61): [True: 0, False: 16.8k]
  |  |  ------------------
  ------------------
 5411|   174k|    MERGE_SINGLETON(nonUniform);
  ------------------
  |  | 5385|   174k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5385:48): [True: 0, False: 174k]
  |  |  |  Branch (5385:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5412|       |
 5413|       |    // SPIR-V storage class qualifier (GL_EXT_spirv_intrinsics)
 5414|   174k|    dst.spirvStorageClass = src.spirvStorageClass;
 5415|       |
 5416|       |    // SPIR-V decorate qualifiers (GL_EXT_spirv_intrinsics)
 5417|   174k|    if (src.hasSpirvDecorate()) {
  ------------------
  |  Branch (5417:9): [True: 0, False: 174k]
  ------------------
 5418|      0|        if (dst.hasSpirvDecorate()) {
  ------------------
  |  Branch (5418:13): [True: 0, False: 0]
  ------------------
 5419|      0|            const TSpirvDecorate& srcSpirvDecorate = src.getSpirvDecorate();
 5420|      0|            TSpirvDecorate& dstSpirvDecorate = dst.getSpirvDecorate();
 5421|      0|            for (auto& decorate : srcSpirvDecorate.decorates) {
  ------------------
  |  Branch (5421:33): [True: 0, False: 0]
  ------------------
 5422|      0|                if (dstSpirvDecorate.decorates.find(decorate.first) != dstSpirvDecorate.decorates.end())
  ------------------
  |  Branch (5422:21): [True: 0, False: 0]
  ------------------
 5423|      0|                    error(loc, "too many SPIR-V decorate qualifiers", "spirv_decorate", "(decoration=%u)", decorate.first);
 5424|      0|                else
 5425|      0|                    dstSpirvDecorate.decorates.insert(decorate);
 5426|      0|            }
 5427|       |
 5428|      0|            for (auto& decorateId : srcSpirvDecorate.decorateIds) {
  ------------------
  |  Branch (5428:35): [True: 0, False: 0]
  ------------------
 5429|      0|                if (dstSpirvDecorate.decorateIds.find(decorateId.first) != dstSpirvDecorate.decorateIds.end())
  ------------------
  |  Branch (5429:21): [True: 0, False: 0]
  ------------------
 5430|      0|                    error(loc, "too many SPIR-V decorate qualifiers", "spirv_decorate_id", "(decoration=%u)", decorateId.first);
 5431|      0|                else
 5432|      0|                    dstSpirvDecorate.decorateIds.insert(decorateId);
 5433|      0|            }
 5434|       |
 5435|      0|            for (auto& decorateString : srcSpirvDecorate.decorateStrings) {
  ------------------
  |  Branch (5435:39): [True: 0, False: 0]
  ------------------
 5436|      0|                if (dstSpirvDecorate.decorates.find(decorateString.first) != dstSpirvDecorate.decorates.end())
  ------------------
  |  Branch (5436:21): [True: 0, False: 0]
  ------------------
 5437|      0|                    error(loc, "too many SPIR-V decorate qualifiers", "spirv_decorate_string", "(decoration=%u)", decorateString.first);
 5438|      0|                else
 5439|      0|                    dstSpirvDecorate.decorateStrings.insert(decorateString);
 5440|      0|            }
 5441|      0|        } else {
 5442|      0|            dst.spirvDecorate = src.spirvDecorate;
 5443|      0|        }
 5444|      0|    }
 5445|       |
 5446|   174k|    if (repeated)
  ------------------
  |  Branch (5446:9): [True: 0, False: 174k]
  ------------------
 5447|      0|        error(loc, "replicated qualifiers", "", "");
 5448|   174k|}
_ZN7glslang13TParseContext23computeSamplerTypeIndexERNS_8TSamplerE:
 5486|   132k|{
 5487|   132k|    int arrayIndex    = sampler.arrayed         ? 1 : 0;
  ------------------
  |  Branch (5487:25): [True: 44.7k, False: 87.2k]
  ------------------
 5488|   132k|    int shadowIndex   = sampler.shadow          ? 1 : 0;
  ------------------
  |  Branch (5488:25): [True: 17.1k, False: 114k]
  ------------------
 5489|   132k|    int externalIndex = sampler.isExternal()    ? 1 : 0;
  ------------------
  |  Branch (5489:25): [True: 448, False: 131k]
  ------------------
 5490|   132k|    int imageIndex    = sampler.isImageClass()  ? 1 : 0;
  ------------------
  |  Branch (5490:25): [True: 42.1k, False: 89.8k]
  ------------------
 5491|   132k|    int msIndex       = sampler.isMultiSample() ? 1 : 0;
  ------------------
  |  Branch (5491:25): [True: 9.28k, False: 122k]
  ------------------
 5492|       |
 5493|   132k|    int flattened = EsdNumDims * (EbtNumTypes * (2 * (2 * (2 * (2 * arrayIndex + msIndex) + imageIndex) + shadowIndex) +
 5494|   132k|                                                 externalIndex) + sampler.type) + sampler.dim;
 5495|   132k|    assert(flattened < maxSamplerIndex);
 5496|       |
 5497|   132k|    return flattened;
 5498|   132k|}
_ZN7glslang13TParseContext19getDefaultPrecisionERNS_11TPublicTypeE:
 5501|  1.39M|{
 5502|  1.39M|    if (publicType.basicType == EbtSampler)
  ------------------
  |  Branch (5502:9): [True: 130k, False: 1.26M]
  ------------------
 5503|   130k|        return defaultSamplerPrecision[computeSamplerTypeIndex(publicType.sampler)];
 5504|  1.26M|    else
 5505|  1.26M|        return defaultPrecision[publicType.basicType];
 5506|  1.39M|}
_ZN7glslang13TParseContext23precisionQualifierCheckERKNS_10TSourceLocENS_10TBasicTypeERNS_10TQualifierEb:
 5509|  1.39M|{
 5510|       |    // Built-in symbols are allowed some ambiguous precisions, to be pinned down
 5511|       |    // later by context.
 5512|  1.39M|    if (! obeyPrecisionQualifiers() || parsingBuiltins)
  ------------------
  |  Branch (5512:9): [True: 592k, False: 797k]
  |  Branch (5512:40): [True: 797k, False: 0]
  ------------------
 5513|  1.39M|        return;
 5514|       |
 5515|      0|    if (baseType == EbtAtomicUint && qualifier.precision != EpqNone && qualifier.precision != EpqHigh)
  ------------------
  |  Branch (5515:9): [True: 0, False: 0]
  |  Branch (5515:38): [True: 0, False: 0]
  |  Branch (5515:72): [True: 0, False: 0]
  ------------------
 5516|      0|        error(loc, "atomic counters can only be highp", "atomic_uint", "");
 5517|       |
 5518|      0|    if (hasTypeParameter)
  ------------------
  |  Branch (5518:9): [True: 0, False: 0]
  ------------------
 5519|      0|        return;
 5520|       |
 5521|      0|    if (baseType == EbtFloat || baseType == EbtUint || baseType == EbtInt || baseType == EbtSampler || baseType == EbtAtomicUint) {
  ------------------
  |  Branch (5521:9): [True: 0, False: 0]
  |  Branch (5521:33): [True: 0, False: 0]
  |  Branch (5521:56): [True: 0, False: 0]
  |  Branch (5521:78): [True: 0, False: 0]
  |  Branch (5521:104): [True: 0, False: 0]
  ------------------
 5522|      0|        if (qualifier.precision == EpqNone) {
  ------------------
  |  Branch (5522:13): [True: 0, False: 0]
  ------------------
 5523|      0|            if (relaxedErrors())
  ------------------
  |  Branch (5523:17): [True: 0, False: 0]
  ------------------
 5524|      0|                warn(loc, "type requires declaration of default precision qualifier", TType::getBasicString(baseType), "substituting 'mediump'");
 5525|      0|            else
 5526|      0|                error(loc, "type requires declaration of default precision qualifier", TType::getBasicString(baseType), "");
 5527|      0|            qualifier.precision = EpqMedium;
 5528|      0|            defaultPrecision[baseType] = EpqMedium;
 5529|      0|        }
 5530|      0|    } else if (qualifier.precision != EpqNone)
  ------------------
  |  Branch (5530:16): [True: 0, False: 0]
  ------------------
 5531|      0|        error(loc, "type cannot have precision qualifier", TType::getBasicString(baseType), "");
 5532|      0|}
_ZN7glslang13TParseContext18parameterTypeCheckERKNS_10TSourceLocENS_17TStorageQualifierERKNS_5TTypeE:
 5535|  1.01M|{
 5536|  1.01M|    if ((qualifier == EvqOut || qualifier == EvqInOut) && type.isOpaque() && !intermediate.getBindlessMode())
  ------------------
  |  Branch (5536:10): [True: 44.1k, False: 971k]
  |  Branch (5536:33): [True: 2.91k, False: 968k]
  |  Branch (5536:59): [True: 0, False: 47.1k]
  |  Branch (5536:78): [True: 0, False: 0]
  ------------------
 5537|      0|        error(loc, "samplers and atomic_uints cannot be output parameters", type.getBasicTypeString().c_str(), "");
 5538|  1.01M|    if (!parsingBuiltins && type.contains16BitFloat())
  ------------------
  |  Branch (5538:9): [True: 0, False: 1.01M]
  |  Branch (5538:29): [True: 0, False: 0]
  ------------------
 5539|      0|        requireFloat16Arithmetic(loc, type.getBasicTypeString().c_str(), "float16 types can only be in uniform block or buffer storage");
 5540|  1.01M|    if (!parsingBuiltins && type.contains16BitInt())
  ------------------
  |  Branch (5540:9): [True: 0, False: 1.01M]
  |  Branch (5540:29): [True: 0, False: 0]
  ------------------
 5541|      0|        requireInt16Arithmetic(loc, type.getBasicTypeString().c_str(), "(u)int16 types can only be in uniform block or buffer storage");
 5542|  1.01M|    if (!parsingBuiltins && type.contains8BitInt())
  ------------------
  |  Branch (5542:9): [True: 0, False: 1.01M]
  |  Branch (5542:29): [True: 0, False: 0]
  ------------------
 5543|      0|        requireInt8Arithmetic(loc, type.getBasicTypeString().c_str(), "(u)int8 types can only be in uniform block or buffer storage");
 5544|  1.01M|}
_ZN7glslang13TParseContext26containsFieldWithBasicTypeERKNS_5TTypeENS_10TBasicTypeE:
 5547|    456|{
 5548|    456|    if (type.getBasicType() == basicType)
  ------------------
  |  Branch (5548:9): [True: 0, False: 456]
  ------------------
 5549|      0|        return true;
 5550|       |
 5551|    456|    if (type.getBasicType() == EbtStruct) {
  ------------------
  |  Branch (5551:9): [True: 114, False: 342]
  ------------------
 5552|    114|        const TTypeList& structure = *type.getStruct();
 5553|    456|        for (unsigned int i = 0; i < structure.size(); ++i) {
  ------------------
  |  Branch (5553:34): [True: 342, False: 114]
  ------------------
 5554|    342|            if (containsFieldWithBasicType(*structure[i].type, basicType))
  ------------------
  |  Branch (5554:17): [True: 0, False: 342]
  ------------------
 5555|      0|                return true;
 5556|    342|        }
 5557|    114|    }
 5558|       |
 5559|    456|    return false;
 5560|    456|}
_ZN7glslang13TParseContext14arraySizeCheckERKNS_10TSourceLocEPNS_12TIntermTypedERNS_10TArraySizeEPKcb:
 5567|  5.23k|{
 5568|  5.23k|    bool isConst = false;
 5569|  5.23k|    sizePair.node = nullptr;
 5570|       |
 5571|  5.23k|    int size = 1;
 5572|       |
 5573|  5.23k|    TIntermConstantUnion* constant = expr->getAsConstantUnion();
 5574|  5.23k|    if (constant) {
  ------------------
  |  Branch (5574:9): [True: 5.23k, False: 0]
  ------------------
 5575|       |        // handle true (non-specialization) constant
 5576|  5.23k|        size = constant->getConstArray()[0].getIConst();
 5577|  5.23k|        isConst = true;
 5578|  5.23k|    } else {
 5579|       |        // see if it's a specialization constant instead
 5580|      0|        if (expr->getQualifier().isSpecConstant()) {
  ------------------
  |  Branch (5580:13): [True: 0, False: 0]
  ------------------
 5581|      0|            isConst = true;
 5582|      0|            sizePair.node = expr;
 5583|      0|            TIntermSymbol* symbol = expr->getAsSymbolNode();
 5584|      0|            if (symbol && symbol->getConstArray().size() > 0)
  ------------------
  |  Branch (5584:17): [True: 0, False: 0]
  |  Branch (5584:27): [True: 0, False: 0]
  ------------------
 5585|      0|                size = symbol->getConstArray()[0].getIConst();
 5586|      0|        } else if (expr->getAsUnaryNode() && expr->getAsUnaryNode()->getOp() == glslang::EOpArrayLength &&
  ------------------
  |  Branch (5586:20): [True: 0, False: 0]
  |  Branch (5586:46): [True: 0, False: 0]
  ------------------
 5587|      0|                   expr->getAsUnaryNode()->getOperand()->getType().isCoopMatNV()) {
  ------------------
  |  Branch (5587:20): [True: 0, False: 0]
  ------------------
 5588|      0|            isConst = true;
 5589|      0|            size = 1;
 5590|      0|            sizePair.node = expr->getAsUnaryNode();
 5591|      0|        }
 5592|      0|    }
 5593|       |
 5594|  5.23k|    sizePair.size = size;
 5595|       |
 5596|  5.23k|    if (isTypeParameter) {
  ------------------
  |  Branch (5596:9): [True: 0, False: 5.23k]
  ------------------
 5597|      0|        if (extensionTurnedOn(E_GL_NV_cooperative_matrix2)) {
  ------------------
  |  Branch (5597:13): [True: 0, False: 0]
  ------------------
 5598|      0|            if (! isConst || (expr->getBasicType() != EbtInt && expr->getBasicType() != EbtUint && expr->getBasicType() != EbtBool)) {
  ------------------
  |  Branch (5598:17): [True: 0, False: 0]
  |  Branch (5598:31): [True: 0, False: 0]
  |  Branch (5598:65): [True: 0, False: 0]
  |  Branch (5598:100): [True: 0, False: 0]
  ------------------
 5599|      0|                error(loc, sizeType, "", "must be a constant integer or boolean expression");
 5600|      0|                return;
 5601|      0|            }
 5602|      0|        } else {
 5603|      0|            if (! isConst || (expr->getBasicType() != EbtInt && expr->getBasicType() != EbtUint)) {
  ------------------
  |  Branch (5603:17): [True: 0, False: 0]
  |  Branch (5603:31): [True: 0, False: 0]
  |  Branch (5603:65): [True: 0, False: 0]
  ------------------
 5604|      0|                error(loc, sizeType, "", "must be a constant integer expression");
 5605|      0|                return;
 5606|      0|            }
 5607|      0|        }
 5608|      0|        if (size < 0) {
  ------------------
  |  Branch (5608:13): [True: 0, False: 0]
  ------------------
 5609|      0|            error(loc, sizeType, "", "must be a non-negative integer");
 5610|      0|            return;
 5611|      0|        }
 5612|  5.23k|    } else {
 5613|  5.23k|        if (! isConst || (expr->getBasicType() != EbtInt && expr->getBasicType() != EbtUint)) {
  ------------------
  |  Branch (5613:13): [True: 0, False: 5.23k]
  |  Branch (5613:27): [True: 0, False: 5.23k]
  |  Branch (5613:61): [True: 0, False: 0]
  ------------------
 5614|      0|            error(loc, sizeType, "", "must be a constant integer expression");
 5615|      0|            return;
 5616|      0|        }
 5617|  5.23k|        if (size <= 0) {
  ------------------
  |  Branch (5617:13): [True: 4, False: 5.23k]
  ------------------
 5618|      4|            error(loc, sizeType, "", "must be a positive integer");
 5619|      4|            return;
 5620|      4|        }
 5621|  5.23k|    }
 5622|  5.23k|}
_ZN7glslang13TParseContext19arrayQualifierErrorERKNS_10TSourceLocERKNS_10TQualifierE:
 5630|    647|{
 5631|    647|    if (qualifier.storage == EvqConst) {
  ------------------
  |  Branch (5631:9): [True: 0, False: 647]
  ------------------
 5632|      0|        profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, "const array");
 5633|      0|        profileRequires(loc, EEsProfile, 300, nullptr, "const array");
 5634|      0|    }
 5635|       |
 5636|    647|    if (qualifier.storage == EvqVaryingIn && language == EShLangVertex) {
  ------------------
  |  Branch (5636:9): [True: 146, False: 501]
  |  Branch (5636:46): [True: 0, False: 146]
  ------------------
 5637|      0|        requireProfile(loc, ~EEsProfile, "vertex input arrays");
 5638|      0|        profileRequires(loc, ENoProfile, 150, nullptr, "vertex input arrays");
 5639|      0|    }
 5640|       |
 5641|    647|    return false;
 5642|    647|}
_ZN7glslang13TParseContext10arrayErrorERKNS_10TSourceLocERKNS_5TTypeE:
 5651|    647|{
 5652|    647|    if (type.getQualifier().storage == EvqVaryingOut && language == EShLangVertex) {
  ------------------
  |  Branch (5652:9): [True: 501, False: 146]
  |  Branch (5652:57): [True: 109, False: 392]
  ------------------
 5653|    109|        if (type.isArrayOfArrays())
  ------------------
  |  Branch (5653:13): [True: 0, False: 109]
  ------------------
 5654|      0|            requireProfile(loc, ~EEsProfile, "vertex-shader array-of-array output");
 5655|    109|        else if (type.isStruct())
  ------------------
  |  Branch (5655:18): [True: 0, False: 109]
  ------------------
 5656|      0|            requireProfile(loc, ~EEsProfile, "vertex-shader array-of-struct output");
 5657|    109|    }
 5658|    647|    if (type.getQualifier().storage == EvqVaryingIn && language == EShLangFragment) {
  ------------------
  |  Branch (5658:9): [True: 146, False: 501]
  |  Branch (5658:56): [True: 36, False: 110]
  ------------------
 5659|     36|        if (type.isArrayOfArrays())
  ------------------
  |  Branch (5659:13): [True: 0, False: 36]
  ------------------
 5660|      0|            requireProfile(loc, ~EEsProfile, "fragment-shader array-of-array input");
 5661|     36|        else if (type.isStruct())
  ------------------
  |  Branch (5661:18): [True: 0, False: 36]
  ------------------
 5662|      0|            requireProfile(loc, ~EEsProfile, "fragment-shader array-of-struct input");
 5663|     36|    }
 5664|    647|    if (type.getQualifier().storage == EvqVaryingOut && language == EShLangFragment) {
  ------------------
  |  Branch (5664:9): [True: 501, False: 146]
  |  Branch (5664:57): [True: 12, False: 489]
  ------------------
 5665|     12|        if (type.isArrayOfArrays())
  ------------------
  |  Branch (5665:13): [True: 0, False: 12]
  ------------------
 5666|      0|            requireProfile(loc, ~EEsProfile, "fragment-shader array-of-array output");
 5667|     12|    }
 5668|       |
 5669|    647|    return false;
 5670|    647|}
_ZN7glslang13TParseContext22arraySizeRequiredCheckERKNS_10TSourceLocERKNS_11TArraySizesE:
 5676|  37.2k|{
 5677|  37.2k|    if (!parsingBuiltins && arraySizes.hasUnsized())
  ------------------
  |  Branch (5677:9): [True: 0, False: 37.2k]
  |  Branch (5677:29): [True: 0, False: 0]
  ------------------
 5678|      0|        error(loc, "array size required", "", "");
 5679|  37.2k|}
_ZN7glslang13TParseContext16structArrayCheckERKNS_10TSourceLocERKNS_5TTypeE:
 5682|    111|{
 5683|    111|    const TTypeList& structure = *type.getStruct();
 5684|    552|    for (int m = 0; m < (int)structure.size(); ++m) {
  ------------------
  |  Branch (5684:21): [True: 441, False: 111]
  ------------------
 5685|    441|        const TType& member = *structure[m].type;
 5686|    441|        if (member.isArray())
  ------------------
  |  Branch (5686:13): [True: 0, False: 441]
  ------------------
 5687|      0|            arraySizeRequiredCheck(structure[m].loc, *member.getArraySizes());
 5688|    441|    }
 5689|    111|}
_ZN7glslang13TParseContext15arraySizesCheckERKNS_10TSourceLocERKNS_10TQualifierEPNS_11TArraySizesEPKNS_12TIntermTypedEb:
 5693|  1.49k|{
 5694|  1.49k|    assert(arraySizes);
 5695|       |
 5696|       |    // always allow special built-in ins/outs sized to topologies
 5697|  1.49k|    if (parsingBuiltins)
  ------------------
  |  Branch (5697:9): [True: 1.49k, False: 0]
  ------------------
 5698|  1.49k|        return;
 5699|       |
 5700|       |    // initializer must be a sized array, in which case
 5701|       |    // allow the initializer to set any unknown array sizes
 5702|      0|    if (initializer != nullptr) {
  ------------------
  |  Branch (5702:9): [True: 0, False: 0]
  ------------------
 5703|      0|        if (initializer->getType().isUnsizedArray())
  ------------------
  |  Branch (5703:13): [True: 0, False: 0]
  ------------------
 5704|      0|            error(loc, "array initializer must be sized", "[]", "");
 5705|      0|        return;
 5706|      0|    }
 5707|       |
 5708|       |    // No environment allows any non-outer-dimension to be implicitly sized
 5709|      0|    if (arraySizes->isInnerUnsized()) {
  ------------------
  |  Branch (5709:9): [True: 0, False: 0]
  ------------------
 5710|      0|        error(loc, "only outermost dimension of an array of arrays can be implicitly sized", "[]", "");
 5711|      0|        arraySizes->clearInnerUnsized();
 5712|      0|    }
 5713|       |
 5714|      0|    if (arraySizes->isInnerSpecialization() &&
  ------------------
  |  Branch (5714:9): [True: 0, False: 0]
  ------------------
 5715|      0|        (qualifier.storage != EvqTemporary && qualifier.storage != EvqGlobal && qualifier.storage != EvqShared && qualifier.storage != EvqConst))
  ------------------
  |  Branch (5715:10): [True: 0, False: 0]
  |  Branch (5715:47): [True: 0, False: 0]
  |  Branch (5715:81): [True: 0, False: 0]
  |  Branch (5715:115): [True: 0, False: 0]
  ------------------
 5716|      0|        error(loc, "only outermost dimension of an array of arrays can be a specialization constant", "[]", "");
 5717|       |
 5718|       |    // desktop always allows outer-dimension-unsized variable arrays,
 5719|      0|    if (!isEsProfile())
  ------------------
  |  Branch (5719:9): [True: 0, False: 0]
  ------------------
 5720|      0|        return;
 5721|       |
 5722|       |    // for ES, if size isn't coming from an initializer, it has to be explicitly declared now,
 5723|       |    // with very few exceptions
 5724|       |
 5725|       |    // implicitly-sized io exceptions:
 5726|      0|    switch (language) {
 5727|      0|    case EShLangGeometry:
  ------------------
  |  Branch (5727:5): [True: 0, False: 0]
  ------------------
 5728|      0|        if (qualifier.storage == EvqVaryingIn)
  ------------------
  |  Branch (5728:13): [True: 0, False: 0]
  ------------------
 5729|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (5729:18): [True: 0, False: 0]
  |  Branch (5729:35): [True: 0, False: 0]
  ------------------
 5730|      0|                extensionsTurnedOn(Num_AEP_geometry_shader, AEP_geometry_shader))
  ------------------
  |  Branch (5730:17): [True: 0, False: 0]
  ------------------
 5731|      0|                return;
 5732|      0|        break;
 5733|      0|    case EShLangTessControl:
  ------------------
  |  Branch (5733:5): [True: 0, False: 0]
  ------------------
 5734|      0|        if ( qualifier.storage == EvqVaryingIn ||
  ------------------
  |  Branch (5734:14): [True: 0, False: 0]
  ------------------
 5735|      0|            (qualifier.storage == EvqVaryingOut && ! qualifier.isPatch()))
  ------------------
  |  Branch (5735:14): [True: 0, False: 0]
  |  Branch (5735:52): [True: 0, False: 0]
  ------------------
 5736|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (5736:18): [True: 0, False: 0]
  |  Branch (5736:35): [True: 0, False: 0]
  ------------------
 5737|      0|                extensionsTurnedOn(Num_AEP_tessellation_shader, AEP_tessellation_shader))
  ------------------
  |  Branch (5737:17): [True: 0, False: 0]
  ------------------
 5738|      0|                return;
 5739|      0|        break;
 5740|      0|    case EShLangTessEvaluation:
  ------------------
  |  Branch (5740:5): [True: 0, False: 0]
  ------------------
 5741|      0|        if ((qualifier.storage == EvqVaryingIn && ! qualifier.isPatch()) ||
  ------------------
  |  Branch (5741:14): [True: 0, False: 0]
  |  Branch (5741:51): [True: 0, False: 0]
  ------------------
 5742|      0|             qualifier.storage == EvqVaryingOut)
  ------------------
  |  Branch (5742:14): [True: 0, False: 0]
  ------------------
 5743|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (5743:18): [True: 0, False: 0]
  |  Branch (5743:35): [True: 0, False: 0]
  ------------------
 5744|      0|                extensionsTurnedOn(Num_AEP_tessellation_shader, AEP_tessellation_shader))
  ------------------
  |  Branch (5744:17): [True: 0, False: 0]
  ------------------
 5745|      0|                return;
 5746|      0|        break;
 5747|      0|    case EShLangMesh:
  ------------------
  |  Branch (5747:5): [True: 0, False: 0]
  ------------------
 5748|      0|        if (qualifier.storage == EvqVaryingOut)
  ------------------
  |  Branch (5748:13): [True: 0, False: 0]
  ------------------
 5749|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (5749:18): [True: 0, False: 0]
  |  Branch (5749:35): [True: 0, False: 0]
  ------------------
 5750|      0|                extensionsTurnedOn(Num_AEP_mesh_shader, AEP_mesh_shader))
  ------------------
  |  Branch (5750:17): [True: 0, False: 0]
  ------------------
 5751|      0|                return;
 5752|      0|        break;
 5753|      0|    default:
  ------------------
  |  Branch (5753:5): [True: 0, False: 0]
  ------------------
 5754|      0|        break;
 5755|      0|    }
 5756|       |
 5757|       |    // last member of ssbo block exception:
 5758|      0|    if (qualifier.storage == EvqBuffer && lastMember)
  ------------------
  |  Branch (5758:9): [True: 0, False: 0]
  |  Branch (5758:43): [True: 0, False: 0]
  ------------------
 5759|      0|        return;
 5760|       |
 5761|      0|    if (qualifier.storage == EvqUniform && lastMember && extensionTurnedOn(E_GL_EXT_uniform_buffer_unsized_array))
  ------------------
  |  Branch (5761:9): [True: 0, False: 0]
  |  Branch (5761:44): [True: 0, False: 0]
  |  Branch (5761:58): [True: 0, False: 0]
  ------------------
 5762|      0|        return;
 5763|       |
 5764|      0|    arraySizeRequiredCheck(loc, *arraySizes);
 5765|      0|}
_ZN7glslang13TParseContext24arrayOfArrayVersionCheckERKNS_10TSourceLocEPKNS_11TArraySizesE:
 5768|  55.8k|{
 5769|  55.8k|    if (sizes == nullptr || sizes->getNumDims() == 1)
  ------------------
  |  Branch (5769:9): [True: 16.4k, False: 39.4k]
  |  Branch (5769:29): [True: 39.2k, False: 162]
  ------------------
 5770|  55.6k|        return;
 5771|       |
 5772|    162|    const char* feature = "arrays of arrays";
 5773|       |
 5774|    162|    requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, feature);
 5775|    162|    profileRequires(loc, EEsProfile, 310, nullptr, feature);
 5776|    162|    profileRequires(loc, ECoreProfile | ECompatibilityProfile, 430, nullptr, feature);
 5777|    162|}
_ZN7glslang13TParseContext12declareArrayERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_5TTypeERPNS_7TSymbolE:
 5784|    647|{
 5785|    647|    if (symbol == nullptr) {
  ------------------
  |  Branch (5785:9): [True: 647, False: 0]
  ------------------
 5786|    647|        bool currentScope;
 5787|    647|        symbol = symbolTable.find(identifier, nullptr, &currentScope);
 5788|       |
 5789|    647|        if (symbol && builtInName(identifier) && ! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (5789:13): [True: 0, False: 647]
  |  Branch (5789:23): [True: 0, False: 0]
  |  Branch (5789:50): [True: 0, False: 0]
  ------------------
 5790|       |            // bad shader (errors already reported) trying to redeclare a built-in name as an array
 5791|      0|            symbol = nullptr;
 5792|      0|            return;
 5793|      0|        }
 5794|    647|        if (symbol == nullptr || ! currentScope) {
  ------------------
  |  Branch (5794:13): [True: 647, False: 0]
  |  Branch (5794:34): [True: 0, False: 0]
  ------------------
 5795|       |            //
 5796|       |            // Successfully process a new definition.
 5797|       |            // (Redeclarations have to take place at the same scope; otherwise they are hiding declarations)
 5798|       |            //
 5799|    647|            symbol = new TVariable(&identifier, type);
 5800|    647|            symbolTable.insert(*symbol);
 5801|    647|            if (symbolTable.atGlobalLevel())
  ------------------
  |  Branch (5801:17): [True: 647, False: 0]
  ------------------
 5802|    647|                trackLinkage(*symbol);
 5803|       |
 5804|    647|            if (! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (5804:17): [True: 0, False: 647]
  ------------------
 5805|      0|                if (isIoResizeArray(type)) {
  ------------------
  |  Branch (5805:21): [True: 0, False: 0]
  ------------------
 5806|      0|                    ioArraySymbolResizeList.push_back(symbol);
 5807|      0|                    checkIoArraysConsistency(loc, true);
 5808|      0|                } else
 5809|      0|                    fixIoArraySize(loc, symbol->getWritableType());
 5810|      0|            }
 5811|       |
 5812|    647|            return;
 5813|    647|        }
 5814|      0|        if (symbol->getAsAnonMember()) {
  ------------------
  |  Branch (5814:13): [True: 0, False: 0]
  ------------------
 5815|      0|            error(loc, "cannot redeclare a user-block member array", identifier.c_str(), "");
 5816|      0|            symbol = nullptr;
 5817|      0|            return;
 5818|      0|        }
 5819|      0|    }
 5820|       |
 5821|       |    //
 5822|       |    // Process a redeclaration.
 5823|       |    //
 5824|       |
 5825|      0|    if (symbol == nullptr) {
  ------------------
  |  Branch (5825:9): [True: 0, False: 0]
  ------------------
 5826|      0|        error(loc, "array variable name expected", identifier.c_str(), "");
 5827|      0|        return;
 5828|      0|    }
 5829|       |
 5830|       |    // redeclareBuiltinVariable() should have already done the copyUp()
 5831|      0|    TType& existingType = symbol->getWritableType();
 5832|       |
 5833|      0|    if (! existingType.isArray()) {
  ------------------
  |  Branch (5833:9): [True: 0, False: 0]
  ------------------
 5834|      0|        error(loc, "redeclaring non-array as array", identifier.c_str(), "");
 5835|      0|        return;
 5836|      0|    }
 5837|       |
 5838|      0|    if (! existingType.sameElementType(type)) {
  ------------------
  |  Branch (5838:9): [True: 0, False: 0]
  ------------------
 5839|      0|        error(loc, "redeclaration of array with a different element type", identifier.c_str(), "");
 5840|      0|        return;
 5841|      0|    }
 5842|       |
 5843|      0|    if (! existingType.sameInnerArrayness(type)) {
  ------------------
  |  Branch (5843:9): [True: 0, False: 0]
  ------------------
 5844|      0|        error(loc, "redeclaration of array with a different array dimensions or sizes", identifier.c_str(), "");
 5845|      0|        return;
 5846|      0|    }
 5847|       |
 5848|      0|    if (existingType.isSizedArray()) {
  ------------------
  |  Branch (5848:9): [True: 0, False: 0]
  ------------------
 5849|       |        // be more leniant for input arrays to geometry shaders and tessellation control outputs, where the redeclaration is the same size
 5850|      0|        if (! (isIoResizeArray(type) && existingType.getOuterArraySize() == type.getOuterArraySize()))
  ------------------
  |  Branch (5850:16): [True: 0, False: 0]
  |  Branch (5850:41): [True: 0, False: 0]
  ------------------
 5851|      0|            error(loc, "redeclaration of array with size", identifier.c_str(), "");
 5852|      0|        return;
 5853|      0|    }
 5854|       |
 5855|      0|    arrayLimitCheck(loc, identifier, type.getOuterArraySize());
 5856|       |
 5857|      0|    existingType.updateArraySizes(type);
 5858|       |
 5859|      0|    if (isIoResizeArray(type))
  ------------------
  |  Branch (5859:9): [True: 0, False: 0]
  ------------------
 5860|      0|        checkIoArraysConsistency(loc);
 5861|      0|}
_ZN7glslang13TParseContext25checkAndResizeMeshViewDimERKNS_10TSourceLocERNS_5TTypeEb:
 5935|  16.3k|{
 5936|       |    // see if member is a per-view attribute
 5937|  16.3k|    if (!type.getQualifier().isPerView())
  ------------------
  |  Branch (5937:9): [True: 16.1k, False: 135]
  ------------------
 5938|  16.1k|        return;
 5939|       |
 5940|    135|    if ((isBlockMember && type.isArray()) || (!isBlockMember && type.isArrayOfArrays())) {
  ------------------
  |  Branch (5940:10): [True: 135, False: 0]
  |  Branch (5940:27): [True: 135, False: 0]
  |  Branch (5940:47): [True: 0, False: 0]
  |  Branch (5940:65): [True: 0, False: 0]
  ------------------
 5941|       |        // since we don't have the maxMeshViewCountNV set during parsing builtins, we hardcode the value.
 5942|    135|        int maxViewCount = parsingBuiltins ? 4 : resources.maxMeshViewCountNV;
  ------------------
  |  Branch (5942:28): [True: 135, False: 0]
  ------------------
 5943|       |        // For block members, outermost array dimension is the view dimension.
 5944|       |        // For non-block members, outermost array dimension is the vertex/primitive dimension
 5945|       |        // and 2nd outermost is the view dimension.
 5946|    135|        int viewDim = isBlockMember ? 0 : 1;
  ------------------
  |  Branch (5946:23): [True: 135, False: 0]
  ------------------
 5947|    135|        int viewDimSize = type.getArraySizes()->getDimSize(viewDim);
 5948|       |
 5949|    135|        if (viewDimSize != UnsizedArraySize && viewDimSize != maxViewCount)
  ------------------
  |  Branch (5949:13): [True: 0, False: 135]
  |  Branch (5949:48): [True: 0, False: 0]
  ------------------
 5950|      0|            error(loc, "mesh view output array size must be gl_MaxMeshViewCountNV or implicitly sized", "[]", "");
 5951|    135|        else if (viewDimSize == UnsizedArraySize)
  ------------------
  |  Branch (5951:18): [True: 135, False: 0]
  ------------------
 5952|    135|            type.getArraySizes()->setDimSize(viewDim, maxViewCount);
 5953|    135|    }
 5954|      0|    else {
 5955|      0|        error(loc, "requires a view array dimension", "perviewNV", "");
 5956|      0|    }
 5957|    135|}
_ZN7glslang13TParseContext17nonInitConstCheckERKNS_10TSourceLocERNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERNS_5TTypeE:
 5977|  11.8k|{
 5978|       |    //
 5979|       |    // Make the qualifier make sense, given that there is not an initializer.
 5980|       |    //
 5981|  11.8k|    if (type.getQualifier().storage == EvqConst ||
  ------------------
  |  Branch (5981:9): [True: 0, False: 11.8k]
  ------------------
 5982|  11.8k|        type.getQualifier().storage == EvqConstReadOnly) {
  ------------------
  |  Branch (5982:9): [True: 0, False: 11.8k]
  ------------------
 5983|      0|        type.getQualifier().makeTemporary();
 5984|      0|        error(loc, "variables with qualifier 'const' must be initialized", identifier.c_str(), "");
 5985|      0|    }
 5986|  11.8k|}
_ZN7glslang13TParseContext24redeclareBuiltinVariableERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_10TQualifierERKNS_17TShaderQualifiersE:
 6000|  15.9k|{
 6001|  15.9k|    if (! builtInName(identifier) || symbolTable.atBuiltInLevel() || ! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (6001:9): [True: 0, False: 15.9k]
  |  Branch (6001:38): [True: 15.9k, False: 0]
  |  Branch (6001:70): [True: 0, False: 0]
  ------------------
 6002|  15.9k|        return nullptr;
 6003|       |
 6004|      0|    bool nonEsRedecls = (!isEsProfile() && (version >= 130 || identifier == "gl_TexCoord"));
  ------------------
  |  Branch (6004:26): [True: 0, False: 0]
  |  Branch (6004:45): [True: 0, False: 0]
  |  Branch (6004:63): [True: 0, False: 0]
  ------------------
 6005|      0|    bool    esRedecls = (isEsProfile() &&
  ------------------
  |  Branch (6005:26): [True: 0, False: 0]
  ------------------
 6006|      0|                         (version >= 320 || extensionsTurnedOn(Num_AEP_shader_io_blocks, AEP_shader_io_blocks) ||
  ------------------
  |  Branch (6006:27): [True: 0, False: 0]
  |  Branch (6006:45): [True: 0, False: 0]
  ------------------
 6007|      0|                          (identifier == "gl_FragDepth" && extensionTurnedOn(E_GL_EXT_conservative_depth))));
  ------------------
  |  Branch (6007:28): [True: 0, False: 0]
  |  Branch (6007:60): [True: 0, False: 0]
  ------------------
 6008|      0|    if (! esRedecls && ! nonEsRedecls)
  ------------------
  |  Branch (6008:9): [True: 0, False: 0]
  |  Branch (6008:24): [True: 0, False: 0]
  ------------------
 6009|      0|        return nullptr;
 6010|       |
 6011|       |    // Special case when using GL_ARB_separate_shader_objects
 6012|      0|    bool ssoPre150 = false;  // means the only reason this variable is redeclared is due to this combination
 6013|      0|    if (!isEsProfile() && version <= 140 && extensionTurnedOn(E_GL_ARB_separate_shader_objects)) {
  ------------------
  |  Branch (6013:9): [True: 0, False: 0]
  |  Branch (6013:27): [True: 0, False: 0]
  |  Branch (6013:45): [True: 0, False: 0]
  ------------------
 6014|      0|        if (identifier == "gl_Position"     ||
  ------------------
  |  Branch (6014:13): [True: 0, False: 0]
  ------------------
 6015|      0|            identifier == "gl_PointSize"    ||
  ------------------
  |  Branch (6015:13): [True: 0, False: 0]
  ------------------
 6016|      0|            identifier == "gl_ClipVertex"   ||
  ------------------
  |  Branch (6016:13): [True: 0, False: 0]
  ------------------
 6017|      0|            identifier == "gl_FogFragCoord")
  ------------------
  |  Branch (6017:13): [True: 0, False: 0]
  ------------------
 6018|      0|            ssoPre150 = true;
 6019|      0|    }
 6020|       |
 6021|       |    // Potentially redeclaring a built-in variable...
 6022|       |
 6023|      0|    if (ssoPre150 ||
  ------------------
  |  Branch (6023:9): [True: 0, False: 0]
  ------------------
 6024|      0|        (identifier == "gl_FragDepth"           && ((nonEsRedecls && version >= 420) || esRedecls)) ||
  ------------------
  |  Branch (6024:10): [True: 0, False: 0]
  |  Branch (6024:54): [True: 0, False: 0]
  |  Branch (6024:70): [True: 0, False: 0]
  |  Branch (6024:89): [True: 0, False: 0]
  ------------------
 6025|      0|        (identifier == "gl_FragCoord"           && ((nonEsRedecls && version >= 140) || esRedecls)) ||
  ------------------
  |  Branch (6025:10): [True: 0, False: 0]
  |  Branch (6025:54): [True: 0, False: 0]
  |  Branch (6025:70): [True: 0, False: 0]
  |  Branch (6025:89): [True: 0, False: 0]
  ------------------
 6026|      0|         identifier == "gl_ClipDistance"                                                            ||
  ------------------
  |  Branch (6026:10): [True: 0, False: 0]
  ------------------
 6027|      0|         identifier == "gl_CullDistance"                                                            ||
  ------------------
  |  Branch (6027:10): [True: 0, False: 0]
  ------------------
 6028|      0|         identifier == "gl_ShadingRateEXT"                                                          ||
  ------------------
  |  Branch (6028:10): [True: 0, False: 0]
  ------------------
 6029|      0|         identifier == "gl_PrimitiveShadingRateEXT"                                                 ||
  ------------------
  |  Branch (6029:10): [True: 0, False: 0]
  ------------------
 6030|      0|         identifier == "gl_FrontColor"                                                              ||
  ------------------
  |  Branch (6030:10): [True: 0, False: 0]
  ------------------
 6031|      0|         identifier == "gl_BackColor"                                                               ||
  ------------------
  |  Branch (6031:10): [True: 0, False: 0]
  ------------------
 6032|      0|         identifier == "gl_FrontSecondaryColor"                                                     ||
  ------------------
  |  Branch (6032:10): [True: 0, False: 0]
  ------------------
 6033|      0|         identifier == "gl_BackSecondaryColor"                                                      ||
  ------------------
  |  Branch (6033:10): [True: 0, False: 0]
  ------------------
 6034|      0|         identifier == "gl_SecondaryColor"                                                          ||
  ------------------
  |  Branch (6034:10): [True: 0, False: 0]
  ------------------
 6035|      0|        (identifier == "gl_Color"               && language == EShLangFragment)                     ||
  ------------------
  |  Branch (6035:10): [True: 0, False: 0]
  |  Branch (6035:52): [True: 0, False: 0]
  ------------------
 6036|      0|        (identifier == "gl_FragStencilRefARB"   && (nonEsRedecls && version >= 140)
  ------------------
  |  Branch (6036:10): [True: 0, False: 0]
  |  Branch (6036:53): [True: 0, False: 0]
  |  Branch (6036:69): [True: 0, False: 0]
  ------------------
 6037|      0|                                                && language == EShLangFragment)                     ||
  ------------------
  |  Branch (6037:52): [True: 0, False: 0]
  ------------------
 6038|      0|         identifier == "gl_SampleMask"                                                              ||
  ------------------
  |  Branch (6038:10): [True: 0, False: 0]
  ------------------
 6039|      0|         identifier == "gl_Layer"                                                                   ||
  ------------------
  |  Branch (6039:10): [True: 0, False: 0]
  ------------------
 6040|      0|         identifier == "gl_PrimitiveIndicesNV"                                                      ||
  ------------------
  |  Branch (6040:10): [True: 0, False: 0]
  ------------------
 6041|      0|         identifier == "gl_PrimitivePointIndicesEXT"                                                ||
  ------------------
  |  Branch (6041:10): [True: 0, False: 0]
  ------------------
 6042|      0|         identifier == "gl_PrimitiveLineIndicesEXT"                                                 ||
  ------------------
  |  Branch (6042:10): [True: 0, False: 0]
  ------------------
 6043|      0|         identifier == "gl_PrimitiveTriangleIndicesEXT"                                             ||
  ------------------
  |  Branch (6043:10): [True: 0, False: 0]
  ------------------
 6044|      0|         identifier == "gl_TexCoord") {
  ------------------
  |  Branch (6044:10): [True: 0, False: 0]
  ------------------
 6045|       |
 6046|       |        // Find the existing symbol, if any.
 6047|      0|        bool builtIn;
 6048|      0|        TSymbol* symbol = symbolTable.find(identifier, &builtIn);
 6049|       |
 6050|       |        // If the symbol was not found, this must be a version/profile/stage
 6051|       |        // that doesn't have it.
 6052|      0|        if (! symbol)
  ------------------
  |  Branch (6052:13): [True: 0, False: 0]
  ------------------
 6053|      0|            return nullptr;
 6054|       |
 6055|       |        // If it wasn't at a built-in level, then it's already been redeclared;
 6056|       |        // that is, this is a redeclaration of a redeclaration; reuse that initial
 6057|       |        // redeclaration.  Otherwise, make the new one.
 6058|      0|        if (builtIn) {
  ------------------
  |  Branch (6058:13): [True: 0, False: 0]
  ------------------
 6059|      0|            makeEditable(symbol);
 6060|      0|            symbolTable.amendSymbolIdLevel(*symbol);
 6061|      0|        }
 6062|       |
 6063|       |        // Now, modify the type of the copy, as per the type of the current redeclaration.
 6064|       |
 6065|      0|        TQualifier& symbolQualifier = symbol->getWritableType().getQualifier();
 6066|      0|        if (ssoPre150) {
  ------------------
  |  Branch (6066:13): [True: 0, False: 0]
  ------------------
 6067|      0|            if (intermediate.inIoAccessed(identifier))
  ------------------
  |  Branch (6067:17): [True: 0, False: 0]
  ------------------
 6068|      0|                error(loc, "cannot redeclare after use", identifier.c_str(), "");
 6069|      0|            if (qualifier.hasLayout())
  ------------------
  |  Branch (6069:17): [True: 0, False: 0]
  ------------------
 6070|      0|                error(loc, "cannot apply layout qualifier to", "redeclaration", symbol->getName().c_str());
 6071|      0|            if (qualifier.isMemory() || qualifier.isAuxiliary() || (language == EShLangVertex   && qualifier.storage != EvqVaryingOut) ||
  ------------------
  |  Branch (6071:17): [True: 0, False: 0]
  |  Branch (6071:41): [True: 0, False: 0]
  |  Branch (6071:69): [True: 0, False: 0]
  |  Branch (6071:100): [True: 0, False: 0]
  ------------------
 6072|      0|                                                                   (language == EShLangFragment && qualifier.storage != EvqVaryingIn))
  ------------------
  |  Branch (6072:69): [True: 0, False: 0]
  |  Branch (6072:100): [True: 0, False: 0]
  ------------------
 6073|      0|                error(loc, "cannot change storage, memory, or auxiliary qualification of", "redeclaration", symbol->getName().c_str());
 6074|      0|            if (! qualifier.smooth)
  ------------------
  |  Branch (6074:17): [True: 0, False: 0]
  ------------------
 6075|      0|                error(loc, "cannot change interpolation qualification of", "redeclaration", symbol->getName().c_str());
 6076|      0|        } else if (identifier == "gl_FrontColor"          ||
  ------------------
  |  Branch (6076:20): [True: 0, False: 0]
  ------------------
 6077|      0|                   identifier == "gl_BackColor"           ||
  ------------------
  |  Branch (6077:20): [True: 0, False: 0]
  ------------------
 6078|      0|                   identifier == "gl_FrontSecondaryColor" ||
  ------------------
  |  Branch (6078:20): [True: 0, False: 0]
  ------------------
 6079|      0|                   identifier == "gl_BackSecondaryColor"  ||
  ------------------
  |  Branch (6079:20): [True: 0, False: 0]
  ------------------
 6080|      0|                   identifier == "gl_SecondaryColor"      ||
  ------------------
  |  Branch (6080:20): [True: 0, False: 0]
  ------------------
 6081|      0|                   identifier == "gl_Color") {
  ------------------
  |  Branch (6081:20): [True: 0, False: 0]
  ------------------
 6082|      0|            symbolQualifier.flat = qualifier.flat;
 6083|      0|            symbolQualifier.smooth = qualifier.smooth;
 6084|      0|            symbolQualifier.nopersp = qualifier.nopersp;
 6085|      0|            if (qualifier.hasLayout())
  ------------------
  |  Branch (6085:17): [True: 0, False: 0]
  ------------------
 6086|      0|                error(loc, "cannot apply layout qualifier to", "redeclaration", symbol->getName().c_str());
 6087|      0|            if (qualifier.isMemory() || qualifier.isAuxiliary() || symbol->getType().getQualifier().storage != qualifier.storage)
  ------------------
  |  Branch (6087:17): [True: 0, False: 0]
  |  Branch (6087:41): [True: 0, False: 0]
  |  Branch (6087:68): [True: 0, False: 0]
  ------------------
 6088|      0|                error(loc, "cannot change storage, memory, or auxiliary qualification of", "redeclaration", symbol->getName().c_str());
 6089|      0|        } else if (identifier == "gl_TexCoord"     ||
  ------------------
  |  Branch (6089:20): [True: 0, False: 0]
  ------------------
 6090|      0|                   identifier == "gl_ClipDistance" ||
  ------------------
  |  Branch (6090:20): [True: 0, False: 0]
  ------------------
 6091|      0|                   identifier == "gl_CullDistance") {
  ------------------
  |  Branch (6091:20): [True: 0, False: 0]
  ------------------
 6092|      0|            if (qualifier.hasLayout() || qualifier.isMemory() || qualifier.isAuxiliary() ||
  ------------------
  |  Branch (6092:17): [True: 0, False: 0]
  |  Branch (6092:42): [True: 0, False: 0]
  |  Branch (6092:66): [True: 0, False: 0]
  ------------------
 6093|      0|                qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6093:17): [True: 0, False: 0]
  |  Branch (6093:65): [True: 0, False: 0]
  ------------------
 6094|      0|                symbolQualifier.storage != qualifier.storage)
  ------------------
  |  Branch (6094:17): [True: 0, False: 0]
  ------------------
 6095|      0|                error(loc, "cannot change qualification of", "redeclaration", symbol->getName().c_str());
 6096|      0|        } else if (identifier == "gl_FragCoord") {
  ------------------
  |  Branch (6096:20): [True: 0, False: 0]
  ------------------
 6097|      0|            if (!intermediate.getTexCoordRedeclared() && intermediate.inIoAccessed("gl_FragCoord"))
  ------------------
  |  Branch (6097:17): [True: 0, False: 0]
  |  Branch (6097:17): [True: 0, False: 0]
  |  Branch (6097:58): [True: 0, False: 0]
  ------------------
 6098|      0|                error(loc, "cannot redeclare after use", "gl_FragCoord", "");
 6099|      0|            if (qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6099:17): [True: 0, False: 0]
  |  Branch (6099:65): [True: 0, False: 0]
  ------------------
 6100|      0|                qualifier.isMemory() || qualifier.isAuxiliary())
  ------------------
  |  Branch (6100:17): [True: 0, False: 0]
  |  Branch (6100:41): [True: 0, False: 0]
  ------------------
 6101|      0|                error(loc, "can only change layout qualification of", "redeclaration", symbol->getName().c_str());
 6102|      0|            if (qualifier.storage != EvqVaryingIn)
  ------------------
  |  Branch (6102:17): [True: 0, False: 0]
  ------------------
 6103|      0|                error(loc, "cannot change input storage qualification of", "redeclaration", symbol->getName().c_str());
 6104|      0|            if (! builtIn && (publicType.pixelCenterInteger != intermediate.getPixelCenterInteger() ||
  ------------------
  |  Branch (6104:17): [True: 0, False: 0]
  |  Branch (6104:31): [True: 0, False: 0]
  ------------------
 6105|      0|                              publicType.originUpperLeft != intermediate.getOriginUpperLeft()))
  ------------------
  |  Branch (6105:31): [True: 0, False: 0]
  ------------------
 6106|      0|                error(loc, "cannot redeclare with different qualification:", "redeclaration", symbol->getName().c_str());
 6107|       |
 6108|       |
 6109|      0|            intermediate.setTexCoordRedeclared();
 6110|      0|            if (publicType.pixelCenterInteger)
  ------------------
  |  Branch (6110:17): [True: 0, False: 0]
  ------------------
 6111|      0|                intermediate.setPixelCenterInteger();
 6112|      0|            if (publicType.originUpperLeft)
  ------------------
  |  Branch (6112:17): [True: 0, False: 0]
  ------------------
 6113|      0|                intermediate.setOriginUpperLeft();
 6114|      0|        } else if (identifier == "gl_FragDepth") {
  ------------------
  |  Branch (6114:20): [True: 0, False: 0]
  ------------------
 6115|      0|            if (qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6115:17): [True: 0, False: 0]
  |  Branch (6115:65): [True: 0, False: 0]
  ------------------
 6116|      0|                qualifier.isMemory() || qualifier.isAuxiliary())
  ------------------
  |  Branch (6116:17): [True: 0, False: 0]
  |  Branch (6116:41): [True: 0, False: 0]
  ------------------
 6117|      0|                error(loc, "can only change layout qualification of", "redeclaration", symbol->getName().c_str());
 6118|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (6118:17): [True: 0, False: 0]
  ------------------
 6119|      0|                error(loc, "cannot change output storage qualification of", "redeclaration", symbol->getName().c_str());
 6120|      0|            if (publicType.layoutDepth != EldNone) {
  ------------------
  |  Branch (6120:17): [True: 0, False: 0]
  ------------------
 6121|      0|                if (intermediate.inIoAccessed("gl_FragDepth"))
  ------------------
  |  Branch (6121:21): [True: 0, False: 0]
  ------------------
 6122|      0|                    error(loc, "cannot redeclare after use", "gl_FragDepth", "");
 6123|      0|                if (! intermediate.setDepth(publicType.layoutDepth))
  ------------------
  |  Branch (6123:21): [True: 0, False: 0]
  ------------------
 6124|      0|                    error(loc, "all redeclarations must use the same depth layout on", "redeclaration", symbol->getName().c_str());
 6125|      0|            }
 6126|      0|        } else if (identifier == "gl_FragStencilRefARB") {
  ------------------
  |  Branch (6126:20): [True: 0, False: 0]
  ------------------
 6127|      0|            if (qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6127:17): [True: 0, False: 0]
  |  Branch (6127:65): [True: 0, False: 0]
  ------------------
 6128|      0|                qualifier.isMemory() || qualifier.isAuxiliary())
  ------------------
  |  Branch (6128:17): [True: 0, False: 0]
  |  Branch (6128:41): [True: 0, False: 0]
  ------------------
 6129|      0|                error(loc, "can only change layout qualification of", "redeclaration", symbol->getName().c_str());
 6130|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (6130:17): [True: 0, False: 0]
  ------------------
 6131|      0|                error(loc, "cannot change output storage qualification of", "redeclaration", symbol->getName().c_str());
 6132|      0|            if (publicType.layoutStencil != ElsNone) {
  ------------------
  |  Branch (6132:17): [True: 0, False: 0]
  ------------------
 6133|      0|                if (intermediate.inIoAccessed("gl_FragStencilRefARB"))
  ------------------
  |  Branch (6133:21): [True: 0, False: 0]
  ------------------
 6134|      0|                    error(loc, "cannot redeclare after use", "gl_FragStencilRefARB", "");
 6135|      0|                if (!intermediate.setStencil(publicType.layoutStencil))
  ------------------
  |  Branch (6135:21): [True: 0, False: 0]
  ------------------
 6136|      0|                    error(loc, "all redeclarations must use the same stencil layout on", "redeclaration",
 6137|      0|                          symbol->getName().c_str());
 6138|      0|            }
 6139|      0|        }
 6140|      0|        else if (
 6141|      0|            identifier == "gl_PrimitiveIndicesNV") {
  ------------------
  |  Branch (6141:13): [True: 0, False: 0]
  ------------------
 6142|      0|            if (qualifier.hasLayout())
  ------------------
  |  Branch (6142:17): [True: 0, False: 0]
  ------------------
 6143|      0|                error(loc, "cannot apply layout qualifier to", "redeclaration", symbol->getName().c_str());
 6144|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (6144:17): [True: 0, False: 0]
  ------------------
 6145|      0|                error(loc, "cannot change output storage qualification of", "redeclaration", symbol->getName().c_str());
 6146|      0|        }
 6147|      0|        else if (identifier == "gl_SampleMask") {
  ------------------
  |  Branch (6147:18): [True: 0, False: 0]
  ------------------
 6148|      0|            if (!publicType.layoutOverrideCoverage) {
  ------------------
  |  Branch (6148:17): [True: 0, False: 0]
  ------------------
 6149|      0|                error(loc, "redeclaration only allowed for override_coverage layout", "redeclaration", symbol->getName().c_str());
 6150|      0|            }
 6151|      0|            intermediate.setLayoutOverrideCoverage();
 6152|      0|        }
 6153|      0|        else if (identifier == "gl_Layer") {
  ------------------
  |  Branch (6153:18): [True: 0, False: 0]
  ------------------
 6154|      0|            if (!qualifier.layoutViewportRelative && qualifier.layoutSecondaryViewportRelativeOffset == -2048)
  ------------------
  |  Branch (6154:17): [True: 0, False: 0]
  |  Branch (6154:54): [True: 0, False: 0]
  ------------------
 6155|      0|                error(loc, "redeclaration only allowed for viewport_relative or secondary_view_offset layout", "redeclaration", symbol->getName().c_str());
 6156|      0|            symbolQualifier.layoutViewportRelative = qualifier.layoutViewportRelative;
 6157|      0|            symbolQualifier.layoutSecondaryViewportRelativeOffset = qualifier.layoutSecondaryViewportRelativeOffset;
 6158|      0|        }
 6159|       |
 6160|       |        // TODO: semantics quality: separate smooth from nothing declared, then use IsInterpolation for several tests above
 6161|       |
 6162|      0|        return symbol;
 6163|      0|    }
 6164|       |
 6165|      0|    return nullptr;
 6166|      0|}
_ZN7glslang13TParseContext20paramCheckFixStorageERKNS_10TSourceLocERKNS_17TStorageQualifierERNS_5TTypeE:
 6393|  1.01M|{
 6394|  1.01M|    switch (qualifier) {
 6395|      0|    case EvqConst:
  ------------------
  |  Branch (6395:5): [True: 0, False: 1.01M]
  ------------------
 6396|      0|    case EvqConstReadOnly:
  ------------------
  |  Branch (6396:5): [True: 0, False: 1.01M]
  ------------------
 6397|      0|        type.getQualifier().storage = EvqConstReadOnly;
 6398|      0|        break;
 6399|    297|    case EvqIn:
  ------------------
  |  Branch (6399:5): [True: 297, False: 1.01M]
  ------------------
 6400|  44.4k|    case EvqOut:
  ------------------
  |  Branch (6400:5): [True: 44.1k, False: 971k]
  ------------------
 6401|  47.4k|    case EvqInOut:
  ------------------
  |  Branch (6401:5): [True: 2.91k, False: 1.01M]
  ------------------
 6402|  47.4k|    case EvqTileImageEXT:
  ------------------
  |  Branch (6402:5): [True: 0, False: 1.01M]
  ------------------
 6403|  47.4k|        type.getQualifier().storage = qualifier;
 6404|  47.4k|        break;
 6405|  25.5k|    case EvqGlobal:
  ------------------
  |  Branch (6405:5): [True: 25.5k, False: 990k]
  ------------------
 6406|   968k|    case EvqTemporary:
  ------------------
  |  Branch (6406:5): [True: 942k, False: 72.9k]
  ------------------
 6407|   968k|        type.getQualifier().storage = EvqIn;
 6408|   968k|        break;
 6409|      0|    default:
  ------------------
  |  Branch (6409:5): [True: 0, False: 1.01M]
  ------------------
 6410|      0|        type.getQualifier().storage = EvqIn;
 6411|      0|        error(loc, "storage qualifier not allowed on function parameter", GetStorageQualifierString(qualifier), "");
 6412|      0|        break;
 6413|  1.01M|    }
 6414|  1.01M|}
_ZN7glslang13TParseContext13paramCheckFixERKNS_10TSourceLocERKNS_10TQualifierERNS_5TTypeE:
 6417|   128k|{
 6418|   128k|    if (qualifier.isMemory()) {
  ------------------
  |  Branch (6418:9): [True: 58.2k, False: 69.9k]
  ------------------
 6419|  58.2k|        type.getQualifier().volatil   = qualifier.volatil;
 6420|  58.2k|        type.getQualifier().nontemporal   = qualifier.nontemporal;
 6421|  58.2k|        type.getQualifier().coherent  = qualifier.coherent;
 6422|  58.2k|        type.getQualifier().devicecoherent  = qualifier.devicecoherent ;
 6423|  58.2k|        type.getQualifier().queuefamilycoherent  = qualifier.queuefamilycoherent;
 6424|  58.2k|        type.getQualifier().workgroupcoherent  = qualifier.workgroupcoherent;
 6425|  58.2k|        type.getQualifier().subgroupcoherent  = qualifier.subgroupcoherent;
 6426|  58.2k|        type.getQualifier().shadercallcoherent = qualifier.shadercallcoherent;
 6427|  58.2k|        type.getQualifier().nonprivate = qualifier.nonprivate;
 6428|  58.2k|        type.getQualifier().readonly  = qualifier.readonly;
 6429|  58.2k|        type.getQualifier().writeonly = qualifier.writeonly;
 6430|  58.2k|        type.getQualifier().restrict  = qualifier.restrict;
 6431|  58.2k|    }
 6432|       |
 6433|   128k|    if (qualifier.isAuxiliary() ||
  ------------------
  |  Branch (6433:9): [True: 0, False: 128k]
  ------------------
 6434|   128k|        qualifier.isInterpolation())
  ------------------
  |  Branch (6434:9): [True: 0, False: 128k]
  ------------------
 6435|      0|        error(loc, "cannot use auxiliary or interpolation qualifiers on a function parameter", "", "");
 6436|   128k|    if (qualifier.hasLayout())
  ------------------
  |  Branch (6436:9): [True: 0, False: 128k]
  ------------------
 6437|      0|        error(loc, "cannot use layout qualifiers on a function parameter", "", "");
 6438|   128k|    if (qualifier.invariant)
  ------------------
  |  Branch (6438:9): [True: 0, False: 128k]
  ------------------
 6439|      0|        error(loc, "cannot use invariant qualifier on a function parameter", "", "");
 6440|   128k|    if (qualifier.isNoContraction()) {
  ------------------
  |  Branch (6440:9): [True: 0, False: 128k]
  ------------------
 6441|      0|        if (qualifier.isParamOutput())
  ------------------
  |  Branch (6441:13): [True: 0, False: 0]
  ------------------
 6442|      0|            type.getQualifier().setNoContraction();
 6443|      0|        else
 6444|      0|            warn(loc, "qualifier has no effect on non-output parameters", "precise", "");
 6445|      0|    }
 6446|   128k|    if (qualifier.isNonUniform())
  ------------------
  |  Branch (6446:9): [True: 0, False: 128k]
  ------------------
 6447|      0|        type.getQualifier().nonUniform = qualifier.nonUniform;
 6448|   128k|    if (qualifier.isSpirvByReference())
  ------------------
  |  Branch (6448:9): [True: 0, False: 128k]
  ------------------
 6449|      0|        type.getQualifier().setSpirvByReference();
 6450|   128k|    if (qualifier.isSpirvLiteral()) {
  ------------------
  |  Branch (6450:9): [True: 0, False: 128k]
  ------------------
 6451|      0|        if (type.getBasicType() == EbtFloat || type.getBasicType() == EbtInt || type.getBasicType() == EbtUint ||
  ------------------
  |  Branch (6451:13): [True: 0, False: 0]
  |  Branch (6451:48): [True: 0, False: 0]
  |  Branch (6451:81): [True: 0, False: 0]
  ------------------
 6452|      0|            type.getBasicType() == EbtBool)
  ------------------
  |  Branch (6452:13): [True: 0, False: 0]
  ------------------
 6453|      0|            type.getQualifier().setSpirvLiteral();
 6454|      0|        else
 6455|      0|            error(loc, "cannot use spirv_literal qualifier", type.getBasicTypeString().c_str(), "");
 6456|      0|    }
 6457|       |
 6458|   128k|    paramCheckFixStorage(loc, qualifier.storage, type);
 6459|   128k|}
_ZN7glslang13TParseContext16nestedBlockCheckERKNS_10TSourceLocEb:
 6462|    248|{
 6463|    248|    if ((!allowedInnerStruct && structNestingLevel > 0) ||
  ------------------
  |  Branch (6463:10): [True: 248, False: 0]
  |  Branch (6463:33): [True: 0, False: 248]
  ------------------
 6464|    248|        (allowedInnerStruct && structNestingLevel <= 0) ||
  ------------------
  |  Branch (6464:10): [True: 0, False: 248]
  |  Branch (6464:32): [True: 0, False: 0]
  ------------------
 6465|    248|        blockNestingLevel > 0)
  ------------------
  |  Branch (6465:9): [True: 0, False: 248]
  ------------------
 6466|      0|        error(loc, "cannot nest a block definition inside a structure or block", "", "");
 6467|    248|    ++blockNestingLevel;
 6468|    248|}
_ZN7glslang13TParseContext17nestedStructCheckERKNS_10TSourceLocE:
 6471|    111|{
 6472|    111|    if (structNestingLevel > 0 || blockNestingLevel > 0)
  ------------------
  |  Branch (6472:9): [True: 0, False: 111]
  |  Branch (6472:35): [True: 0, False: 111]
  ------------------
 6473|      0|        error(loc, "cannot nest a structure definition inside a structure or block", "", "");
 6474|    111|    ++structNestingLevel;
 6475|    111|}
_ZN7glslang13TParseContext16arrayObjectCheckERKNS_10TSourceLocERKNS_5TTypeEPKc:
 6478|   360k|{
 6479|       |    // Some versions don't allow comparing arrays or structures containing arrays
 6480|   360k|    if (type.containsArray()) {
  ------------------
  |  Branch (6480:9): [True: 0, False: 360k]
  ------------------
 6481|      0|        profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, op);
 6482|      0|        profileRequires(loc, EEsProfile, 300, nullptr, op);
 6483|      0|    }
 6484|   360k|}
_ZN7glslang13TParseContext15structTypeCheckERKNS_10TSourceLocERNS_11TPublicTypeE:
 6538|    111|{
 6539|    111|    const TTypeList& typeList = *publicType.userDef->getStruct();
 6540|       |
 6541|       |    // fix and check for member storage qualifiers and types that don't belong within a structure
 6542|    552|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (6542:35): [True: 441, False: 111]
  ------------------
 6543|    441|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
 6544|    441|        const TSourceLoc& memberLoc = typeList[member].loc;
 6545|    441|        if (memberQualifier.isAuxiliary() ||
  ------------------
  |  Branch (6545:13): [True: 0, False: 441]
  ------------------
 6546|    441|            memberQualifier.isInterpolation() ||
  ------------------
  |  Branch (6546:13): [True: 0, False: 441]
  ------------------
 6547|    441|            (memberQualifier.storage != EvqTemporary && memberQualifier.storage != EvqGlobal &&
  ------------------
  |  Branch (6547:14): [True: 441, False: 0]
  |  Branch (6547:57): [True: 0, False: 441]
  ------------------
 6548|      0|             !memberQualifier.layoutDescriptorHeap && !memberQualifier.layoutDescriptorInnerBlock))
  ------------------
  |  Branch (6548:14): [True: 0, False: 0]
  |  Branch (6548:55): [True: 0, False: 0]
  ------------------
 6549|      0|            error(memberLoc, "cannot use storage or interpolation qualifiers on structure members", typeList[member].type->getFieldName().c_str(), "");
 6550|    441|        if (memberQualifier.isMemory())
  ------------------
  |  Branch (6550:13): [True: 0, False: 441]
  ------------------
 6551|      0|            error(memberLoc, "cannot use memory qualifiers on structure members", typeList[member].type->getFieldName().c_str(), "");
 6552|    441|        if (memberQualifier.hasLayout()) {
  ------------------
  |  Branch (6552:13): [True: 0, False: 441]
  ------------------
 6553|      0|            error(memberLoc, "cannot use layout qualifiers on structure members", typeList[member].type->getFieldName().c_str(), "");
 6554|      0|            memberQualifier.clearLayout();
 6555|      0|        }
 6556|    441|        if (memberQualifier.invariant)
  ------------------
  |  Branch (6556:13): [True: 0, False: 441]
  ------------------
 6557|      0|            error(memberLoc, "cannot use invariant qualifier on structure members", typeList[member].type->getFieldName().c_str(), "");
 6558|    441|    }
 6559|    111|}
_ZN7glslang13TParseContext6finishEv:
 6709|    780|{
 6710|    780|    TParseContextBase::finish();
 6711|       |
 6712|    780|    if (parsingBuiltins)
  ------------------
  |  Branch (6712:9): [True: 753, False: 27]
  ------------------
 6713|    753|        return;
 6714|       |
 6715|       |    // Forward builtin alias to AST for later use
 6716|     27|    intermediate.setBuiltinAliasLookup(symbolTable.collectBuiltinAlias());
 6717|       |
 6718|       |    // Check on array indexes for ES 2.0 (version 100) limitations.
 6719|     27|    for (size_t i = 0; i < needsIndexLimitationChecking.size(); ++i)
  ------------------
  |  Branch (6719:24): [True: 0, False: 27]
  ------------------
 6720|      0|        constantIndexExpressionCheck(needsIndexLimitationChecking[i]);
 6721|       |
 6722|       |    // Check for stages that are enabled by extension.
 6723|       |    // Can't do this at the beginning, it is chicken and egg to add a stage by
 6724|       |    // extension.
 6725|       |    // Stage-specific features were correctly tested for already, this is just
 6726|       |    // about the stage itself.
 6727|     27|    switch (language) {
 6728|      0|    case EShLangGeometry:
  ------------------
  |  Branch (6728:5): [True: 0, False: 27]
  ------------------
 6729|      0|        if (isEsProfile() && version == 310)
  ------------------
  |  Branch (6729:13): [True: 0, False: 0]
  |  Branch (6729:30): [True: 0, False: 0]
  ------------------
 6730|      0|            requireExtensions(getCurrentLoc(), Num_AEP_geometry_shader, AEP_geometry_shader, "geometry shaders");
 6731|      0|        break;
 6732|      0|    case EShLangTessControl:
  ------------------
  |  Branch (6732:5): [True: 0, False: 27]
  ------------------
 6733|      0|    case EShLangTessEvaluation:
  ------------------
  |  Branch (6733:5): [True: 0, False: 27]
  ------------------
 6734|      0|        if (isEsProfile() && version == 310)
  ------------------
  |  Branch (6734:13): [True: 0, False: 0]
  |  Branch (6734:30): [True: 0, False: 0]
  ------------------
 6735|      0|            requireExtensions(getCurrentLoc(), Num_AEP_tessellation_shader, AEP_tessellation_shader, "tessellation shaders");
 6736|      0|        else if (!isEsProfile() && version < 400)
  ------------------
  |  Branch (6736:18): [True: 0, False: 0]
  |  Branch (6736:36): [True: 0, False: 0]
  ------------------
 6737|      0|            requireExtensions(getCurrentLoc(), 1, &E_GL_ARB_tessellation_shader, "tessellation shaders");
 6738|      0|        break;
 6739|      0|    case EShLangCompute:
  ------------------
  |  Branch (6739:5): [True: 0, False: 27]
  ------------------
 6740|      0|        if (!isEsProfile() && version < 430)
  ------------------
  |  Branch (6740:13): [True: 0, False: 0]
  |  Branch (6740:31): [True: 0, False: 0]
  ------------------
 6741|      0|            requireExtensions(getCurrentLoc(), 1, &E_GL_ARB_compute_shader, "compute shaders");
 6742|      0|        break;
 6743|      0|    case EShLangTask:
  ------------------
  |  Branch (6743:5): [True: 0, False: 27]
  ------------------
 6744|      0|        requireExtensions(getCurrentLoc(), Num_AEP_mesh_shader, AEP_mesh_shader, "task shaders");
 6745|      0|        break;
 6746|      0|    case EShLangMesh:
  ------------------
  |  Branch (6746:5): [True: 0, False: 27]
  ------------------
 6747|      0|        requireExtensions(getCurrentLoc(), Num_AEP_mesh_shader, AEP_mesh_shader, "mesh shaders");
 6748|      0|        break;
 6749|     27|    default:
  ------------------
  |  Branch (6749:5): [True: 27, False: 0]
  ------------------
 6750|     27|        break;
 6751|     27|    }
 6752|       |
 6753|     27|    if (intermediate.IsRequestedExtension(E_GL_KHR_compute_shader_derivatives) &&
  ------------------
  |  Branch (6753:9): [True: 0, False: 27]
  ------------------
 6754|      0|        !khrDerivativeLayoutQualifierSpecified) {
  ------------------
  |  Branch (6754:9): [True: 0, False: 0]
  ------------------
 6755|      0|        error(getCurrentLoc(), "requires one of derivative_group_quadsKHR or derivative_group_linearKHR layout qualifiers",
 6756|      0|              E_GL_KHR_compute_shader_derivatives, "");
 6757|      0|    }
 6758|       |
 6759|     27|    if (intermediate.getLayoutDerivativeModeNone() == LayoutDerivativeGroupQuads) {
  ------------------
  |  Branch (6759:9): [True: 0, False: 27]
  ------------------
 6760|      0|        if ((intermediate.getLocalSizeSpecId(0) == TQualifier::layoutNotSet && (intermediate.getLocalSize(0) & 1)) ||
  ------------------
  |  Branch (6760:14): [True: 0, False: 0]
  |  Branch (6760:80): [True: 0, False: 0]
  ------------------
 6761|      0|            (intermediate.getLocalSizeSpecId(1) == TQualifier::layoutNotSet && (intermediate.getLocalSize(1) & 1)))
  ------------------
  |  Branch (6761:14): [True: 0, False: 0]
  |  Branch (6761:80): [True: 0, False: 0]
  ------------------
 6762|      0|            error(getCurrentLoc(), "requires local_size_x and local_size_y to be multiple of two", "derivative_group_quads", "");
 6763|     27|    } else if (intermediate.getLayoutDerivativeModeNone() == LayoutDerivativeGroupLinear) {
  ------------------
  |  Branch (6763:16): [True: 0, False: 27]
  ------------------
 6764|      0|        if (intermediate.getLocalSizeSpecId(0) == TQualifier::layoutNotSet &&
  ------------------
  |  Branch (6764:13): [True: 0, False: 0]
  ------------------
 6765|      0|            intermediate.getLocalSizeSpecId(1) == TQualifier::layoutNotSet &&
  ------------------
  |  Branch (6765:13): [True: 0, False: 0]
  ------------------
 6766|      0|            intermediate.getLocalSizeSpecId(2) == TQualifier::layoutNotSet &&
  ------------------
  |  Branch (6766:13): [True: 0, False: 0]
  ------------------
 6767|      0|            (intermediate.getLocalSize(0) *
  ------------------
  |  Branch (6767:13): [True: 0, False: 0]
  ------------------
 6768|      0|             intermediate.getLocalSize(1) *
 6769|      0|             intermediate.getLocalSize(2)) % 4 != 0)
 6770|      0|            error(getCurrentLoc(), "requires total group size to be multiple of four", "derivative_group_linear", "");
 6771|      0|    }
 6772|       |
 6773|       |    // Set default outputs for GL_NV_geometry_shader_passthrough
 6774|     27|    if (language == EShLangGeometry && extensionTurnedOn(E_SPV_NV_geometry_shader_passthrough)) {
  ------------------
  |  Branch (6774:9): [True: 0, False: 27]
  |  Branch (6774:40): [True: 0, False: 0]
  ------------------
 6775|      0|        if (intermediate.getOutputPrimitive() == ElgNone) {
  ------------------
  |  Branch (6775:13): [True: 0, False: 0]
  ------------------
 6776|      0|            switch (intermediate.getInputPrimitive()) {
 6777|      0|            case ElgPoints:      intermediate.setOutputPrimitive(ElgPoints);    break;
  ------------------
  |  Branch (6777:13): [True: 0, False: 0]
  ------------------
 6778|      0|            case ElgLines:       intermediate.setOutputPrimitive(ElgLineStrip); break;
  ------------------
  |  Branch (6778:13): [True: 0, False: 0]
  ------------------
 6779|      0|            case ElgTriangles:   intermediate.setOutputPrimitive(ElgTriangleStrip); break;
  ------------------
  |  Branch (6779:13): [True: 0, False: 0]
  ------------------
 6780|      0|            default: break;
  ------------------
  |  Branch (6780:13): [True: 0, False: 0]
  ------------------
 6781|      0|            }
 6782|      0|        }
 6783|      0|        if (intermediate.getVertices() == TQualifier::layoutNotSet) {
  ------------------
  |  Branch (6783:13): [True: 0, False: 0]
  ------------------
 6784|      0|            switch (intermediate.getInputPrimitive()) {
 6785|      0|            case ElgPoints:      intermediate.setVertices(1); break;
  ------------------
  |  Branch (6785:13): [True: 0, False: 0]
  ------------------
 6786|      0|            case ElgLines:       intermediate.setVertices(2); break;
  ------------------
  |  Branch (6786:13): [True: 0, False: 0]
  ------------------
 6787|      0|            case ElgTriangles:   intermediate.setVertices(3); break;
  ------------------
  |  Branch (6787:13): [True: 0, False: 0]
  ------------------
 6788|      0|            default: break;
  ------------------
  |  Branch (6788:13): [True: 0, False: 0]
  ------------------
 6789|      0|            }
 6790|      0|        }
 6791|      0|    }
 6792|     27|}
_ZN7glslang13TParseContext27mergeObjectLayoutQualifiersERNS_10TQualifierERKS1_b:
 7641|   175k|{
 7642|   175k|    if (src.hasMatrix())
  ------------------
  |  Branch (7642:9): [True: 0, False: 175k]
  ------------------
 7643|      0|        dst.layoutMatrix = src.layoutMatrix;
 7644|   175k|    if (src.hasPacking())
  ------------------
  |  Branch (7644:9): [True: 0, False: 175k]
  ------------------
 7645|      0|        dst.layoutPacking = src.layoutPacking;
 7646|       |
 7647|   175k|    if (src.hasStream())
  ------------------
  |  Branch (7647:9): [True: 28, False: 175k]
  ------------------
 7648|     28|        dst.layoutStream = src.layoutStream;
 7649|   175k|    if (src.hasFormat())
  ------------------
  |  Branch (7649:9): [True: 0, False: 175k]
  ------------------
 7650|      0|        dst.layoutFormat = src.layoutFormat;
 7651|   175k|    if (src.hasXfbBuffer())
  ------------------
  |  Branch (7651:9): [True: 112, False: 175k]
  ------------------
 7652|    112|        dst.layoutXfbBuffer = src.layoutXfbBuffer;
 7653|   175k|    if (src.hasBufferReferenceAlign())
  ------------------
  |  Branch (7653:9): [True: 0, False: 175k]
  ------------------
 7654|      0|        dst.layoutBufferReferenceAlign = src.layoutBufferReferenceAlign;
 7655|       |
 7656|   175k|    if (src.hasAlign())
  ------------------
  |  Branch (7656:9): [True: 0, False: 175k]
  ------------------
 7657|      0|        dst.layoutAlign = src.layoutAlign;
 7658|       |
 7659|   175k|    if (! inheritOnly) {
  ------------------
  |  Branch (7659:9): [True: 174k, False: 496]
  ------------------
 7660|   174k|        if (src.hasLocation())
  ------------------
  |  Branch (7660:13): [True: 0, False: 174k]
  ------------------
 7661|      0|            dst.layoutLocation = src.layoutLocation;
 7662|   174k|        if (src.hasOffset())
  ------------------
  |  Branch (7662:13): [True: 0, False: 174k]
  ------------------
 7663|      0|            dst.layoutOffset = src.layoutOffset;
 7664|   174k|        if (src.hasSet())
  ------------------
  |  Branch (7664:13): [True: 0, False: 174k]
  ------------------
 7665|      0|            dst.layoutSet = src.layoutSet;
 7666|   174k|        if (src.layoutBinding != TQualifier::layoutBindingEnd)
  ------------------
  |  Branch (7666:13): [True: 0, False: 174k]
  ------------------
 7667|      0|            dst.layoutBinding = src.layoutBinding;
 7668|       |
 7669|   174k|        if (src.hasSpecConstantId())
  ------------------
  |  Branch (7669:13): [True: 0, False: 174k]
  ------------------
 7670|      0|            dst.layoutSpecConstantId = src.layoutSpecConstantId;
 7671|       |
 7672|   174k|        if (src.hasComponent())
  ------------------
  |  Branch (7672:13): [True: 0, False: 174k]
  ------------------
 7673|      0|            dst.layoutComponent = src.layoutComponent;
 7674|   174k|        if (src.hasIndex())
  ------------------
  |  Branch (7674:13): [True: 0, False: 174k]
  ------------------
 7675|      0|            dst.layoutIndex = src.layoutIndex;
 7676|   174k|        if (src.hasXfbStride())
  ------------------
  |  Branch (7676:13): [True: 0, False: 174k]
  ------------------
 7677|      0|            dst.layoutXfbStride = src.layoutXfbStride;
 7678|   174k|        if (src.hasXfbOffset())
  ------------------
  |  Branch (7678:13): [True: 0, False: 174k]
  ------------------
 7679|      0|            dst.layoutXfbOffset = src.layoutXfbOffset;
 7680|   174k|        if (src.hasAttachment())
  ------------------
  |  Branch (7680:13): [True: 0, False: 174k]
  ------------------
 7681|      0|            dst.layoutAttachment = src.layoutAttachment;
 7682|   174k|        if (src.layoutDescriptorHeap)
  ------------------
  |  Branch (7682:13): [True: 0, False: 174k]
  ------------------
 7683|      0|            dst.layoutDescriptorHeap = true;
 7684|   174k|        if (src.layoutDescriptorInnerBlock)
  ------------------
  |  Branch (7684:13): [True: 0, False: 174k]
  ------------------
 7685|      0|            dst.layoutDescriptorInnerBlock = true;
 7686|   174k|        if (src.layoutDescriptorStride != TQualifier::layoutDescriptorStrideEnd)
  ------------------
  |  Branch (7686:13): [True: 0, False: 174k]
  ------------------
 7687|      0|            dst.layoutDescriptorStride = src.layoutDescriptorStride;
 7688|   174k|        if (src.layoutHeapOffset != 0)
  ------------------
  |  Branch (7688:13): [True: 0, False: 174k]
  ------------------
 7689|      0|            dst.layoutHeapOffset = src.layoutHeapOffset;
 7690|   174k|        if (src.layoutPushConstant)
  ------------------
  |  Branch (7690:13): [True: 0, False: 174k]
  ------------------
 7691|      0|            dst.layoutPushConstant = true;
 7692|       |
 7693|   174k|        if (src.layoutBufferReference)
  ------------------
  |  Branch (7693:13): [True: 0, False: 174k]
  ------------------
 7694|      0|            dst.layoutBufferReference = true;
 7695|       |
 7696|   174k|        if (src.layoutPassthrough)
  ------------------
  |  Branch (7696:13): [True: 0, False: 174k]
  ------------------
 7697|      0|            dst.layoutPassthrough = true;
 7698|   174k|        if (src.layoutViewportRelative)
  ------------------
  |  Branch (7698:13): [True: 0, False: 174k]
  ------------------
 7699|      0|            dst.layoutViewportRelative = true;
 7700|   174k|        if (src.layoutSecondaryViewportRelativeOffset != -2048)
  ------------------
  |  Branch (7700:13): [True: 0, False: 174k]
  ------------------
 7701|      0|            dst.layoutSecondaryViewportRelativeOffset = src.layoutSecondaryViewportRelativeOffset;
 7702|   174k|        if (src.layoutShaderRecord)
  ------------------
  |  Branch (7702:13): [True: 0, False: 174k]
  ------------------
 7703|      0|            dst.layoutShaderRecord = true;
 7704|   174k|        if (src.layoutFullQuads)
  ------------------
  |  Branch (7704:13): [True: 0, False: 174k]
  ------------------
 7705|      0|            dst.layoutFullQuads = true;
 7706|   174k|        if (src.layoutQuadDeriv)
  ------------------
  |  Branch (7706:13): [True: 0, False: 174k]
  ------------------
 7707|      0|            dst.layoutQuadDeriv = true;
 7708|   174k|        if (src.layoutBindlessSampler)
  ------------------
  |  Branch (7708:13): [True: 0, False: 174k]
  ------------------
 7709|      0|            dst.layoutBindlessSampler = true;
 7710|   174k|        if (src.layoutBindlessImage)
  ------------------
  |  Branch (7710:13): [True: 0, False: 174k]
  ------------------
 7711|      0|            dst.layoutBindlessImage = true;
 7712|   174k|        if (src.pervertexNV)
  ------------------
  |  Branch (7712:13): [True: 0, False: 174k]
  ------------------
 7713|      0|            dst.pervertexNV = true;
 7714|   174k|        if (src.pervertexEXT)
  ------------------
  |  Branch (7714:13): [True: 0, False: 174k]
  ------------------
 7715|      0|            dst.pervertexEXT = true;
 7716|   174k|        if (src.layoutHitObjectShaderRecordNV)
  ------------------
  |  Branch (7716:13): [True: 0, False: 174k]
  ------------------
 7717|      0|            dst.layoutHitObjectShaderRecordNV = true;
 7718|   174k|        dst.layoutTileAttachmentQCOM |= src.layoutTileAttachmentQCOM;
 7719|   174k|        if (src.layoutHitObjectShaderRecordEXT)
  ------------------
  |  Branch (7719:13): [True: 0, False: 174k]
  ------------------
 7720|      0|            dst.layoutHitObjectShaderRecordEXT = true;
 7721|   174k|        if (src.hasBank())
  ------------------
  |  Branch (7721:13): [True: 0, False: 174k]
  ------------------
 7722|      0|            dst.layoutBank = src.layoutBank;
 7723|   174k|        if (src.hasMemberOffset())
  ------------------
  |  Branch (7723:13): [True: 0, False: 174k]
  ------------------
 7724|      0|            dst.layoutMemberOffset = src.layoutMemberOffset;
 7725|   174k|    }
 7726|   175k|}
_ZN7glslang13TParseContext17layoutObjectCheckERKNS_10TSourceLocERKNS_7TSymbolE:
 7730|  16.2k|{
 7731|  16.2k|    const TType& type = symbol.getType();
 7732|  16.2k|    const TQualifier& qualifier = type.getQualifier();
 7733|       |
 7734|       |    // first, cross check WRT to just the type
 7735|  16.2k|    layoutTypeCheck(loc, type);
 7736|       |
 7737|       |    // now, any remaining error checking based on the object itself
 7738|       |
 7739|  16.2k|    if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (7739:9): [True: 0, False: 16.2k]
  ------------------
 7740|      0|        switch (qualifier.storage) {
 7741|      0|        case EvqUniform:
  ------------------
  |  Branch (7741:9): [True: 0, False: 0]
  ------------------
 7742|      0|        case EvqBuffer:
  ------------------
  |  Branch (7742:9): [True: 0, False: 0]
  ------------------
 7743|      0|            if (symbol.getAsVariable() == nullptr)
  ------------------
  |  Branch (7743:17): [True: 0, False: 0]
  ------------------
 7744|      0|                error(loc, "can only be used on variable declaration", "location", "");
 7745|      0|            break;
 7746|      0|        default:
  ------------------
  |  Branch (7746:9): [True: 0, False: 0]
  ------------------
 7747|      0|            break;
 7748|      0|        }
 7749|      0|    }
 7750|       |
 7751|       |    // user-variable location check, which are required for SPIR-V in/out:
 7752|       |    //  - variables have it directly,
 7753|       |    //  - blocks have it on each member (already enforced), so check first one
 7754|  16.2k|    if (spvVersion.spv > 0 && !parsingBuiltins && qualifier.builtIn == EbvNone &&
  ------------------
  |  Branch (7754:9): [True: 0, False: 16.2k]
  |  Branch (7754:31): [True: 0, False: 0]
  |  Branch (7754:51): [True: 0, False: 0]
  ------------------
 7755|      0|        !qualifier.hasLocation() && !intermediate.getAutoMapLocations()) {
  ------------------
  |  Branch (7755:9): [True: 0, False: 0]
  |  Branch (7755:37): [True: 0, False: 0]
  ------------------
 7756|       |
 7757|      0|        switch (qualifier.storage) {
 7758|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (7758:9): [True: 0, False: 0]
  ------------------
 7759|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (7759:9): [True: 0, False: 0]
  ------------------
 7760|      0|            if (!type.getQualifier().isTaskMemory() && !type.getQualifier().hasSpirvDecorate() &&
  ------------------
  |  Branch (7760:17): [True: 0, False: 0]
  |  Branch (7760:56): [True: 0, False: 0]
  ------------------
 7761|      0|                (type.getBasicType() != EbtBlock ||
  ------------------
  |  Branch (7761:18): [True: 0, False: 0]
  ------------------
 7762|      0|                 (!(*type.getStruct())[0].type->getQualifier().hasLocation() &&
  ------------------
  |  Branch (7762:19): [True: 0, False: 0]
  ------------------
 7763|      0|                   (*type.getStruct())[0].type->getQualifier().builtIn == EbvNone)))
  ------------------
  |  Branch (7763:20): [True: 0, False: 0]
  ------------------
 7764|      0|                error(loc, "SPIR-V requires location for user input/output", "location", "");
 7765|      0|            break;
 7766|      0|        default:
  ------------------
  |  Branch (7766:9): [True: 0, False: 0]
  ------------------
 7767|      0|            break;
 7768|      0|        }
 7769|      0|    }
 7770|       |
 7771|       |    // Check packing and matrix
 7772|  16.2k|    if (qualifier.hasUniformLayout()) {
  ------------------
  |  Branch (7772:9): [True: 0, False: 16.2k]
  ------------------
 7773|      0|        switch (qualifier.storage) {
 7774|      0|        case EvqUniform:
  ------------------
  |  Branch (7774:9): [True: 0, False: 0]
  ------------------
 7775|      0|        case EvqBuffer:
  ------------------
  |  Branch (7775:9): [True: 0, False: 0]
  ------------------
 7776|      0|            if (type.getBasicType() != EbtBlock) {
  ------------------
  |  Branch (7776:17): [True: 0, False: 0]
  ------------------
 7777|      0|                if (qualifier.hasMatrix())
  ------------------
  |  Branch (7777:21): [True: 0, False: 0]
  ------------------
 7778|      0|                    error(loc, "cannot specify matrix layout on a variable declaration", "layout", "");
 7779|      0|                if (qualifier.hasPacking())
  ------------------
  |  Branch (7779:21): [True: 0, False: 0]
  ------------------
 7780|      0|                    error(loc, "cannot specify packing on a variable declaration", "layout", "");
 7781|       |                // "The offset qualifier can only be used on block members of blocks..."
 7782|      0|                if (qualifier.hasOffset() && !type.isAtomic())
  ------------------
  |  Branch (7782:21): [True: 0, False: 0]
  |  Branch (7782:46): [True: 0, False: 0]
  ------------------
 7783|      0|                    error(loc, "cannot specify on a variable declaration", "offset", "");
 7784|       |                // "The align qualifier can only be used on blocks or block members..."
 7785|      0|                if (qualifier.hasAlign())
  ------------------
  |  Branch (7785:21): [True: 0, False: 0]
  ------------------
 7786|      0|                    error(loc, "cannot specify on a variable declaration", "align", "");
 7787|      0|                if (qualifier.isPushConstant())
  ------------------
  |  Branch (7787:21): [True: 0, False: 0]
  ------------------
 7788|      0|                    error(loc, "can only specify on a uniform block", "push_constant", "");
 7789|      0|                if (qualifier.isShaderRecord())
  ------------------
  |  Branch (7789:21): [True: 0, False: 0]
  ------------------
 7790|      0|                    error(loc, "can only specify on a buffer block", "shaderRecordNV", "");
 7791|      0|                if (qualifier.hasLocation() && type.isAtomic())
  ------------------
  |  Branch (7791:21): [True: 0, False: 0]
  |  Branch (7791:48): [True: 0, False: 0]
  ------------------
 7792|      0|                    error(loc, "cannot specify on atomic counter", "location", "");
 7793|      0|            }
 7794|      0|            break;
 7795|      0|        default:
  ------------------
  |  Branch (7795:9): [True: 0, False: 0]
  ------------------
 7796|       |            // these were already filtered by layoutTypeCheck() (or its callees)
 7797|      0|            break;
 7798|      0|        }
 7799|      0|    }
 7800|       |
 7801|       |    // Check that an in/out variable or block doesn't contain a boolean member
 7802|       |    // Don't enforce if redeclaring a builtin, which are allowed to contain bool
 7803|  16.2k|    if (!parsingBuiltins && type.containsBasicType(EbtBool) && !builtInName(symbol.getName())) {
  ------------------
  |  Branch (7803:9): [True: 0, False: 16.2k]
  |  Branch (7803:29): [True: 0, False: 0]
  |  Branch (7803:64): [True: 0, False: 0]
  ------------------
 7804|      0|        switch(qualifier.storage) {
 7805|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (7805:9): [True: 0, False: 0]
  ------------------
 7806|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (7806:9): [True: 0, False: 0]
  ------------------
 7807|      0|        {
 7808|      0|            const char *reason = type.getBasicType() == EbtBool ? "cannot be bool" : "cannot contain bool";
  ------------------
  |  Branch (7808:34): [True: 0, False: 0]
  ------------------
 7809|      0|            error(loc, reason, GetStorageQualifierString(qualifier.storage), "");
 7810|      0|            break;
 7811|      0|        }
 7812|      0|        default:
  ------------------
  |  Branch (7812:9): [True: 0, False: 0]
  ------------------
 7813|      0|            break;
 7814|      0|        }
 7815|      0|    }
 7816|  16.2k|}
_ZN7glslang13TParseContext30layoutMemberLocationArrayCheckERKNS_10TSourceLocEbPNS_11TArraySizesE:
 7827|    248|{
 7828|    248|    if (memberWithLocation && arraySizes != nullptr) {
  ------------------
  |  Branch (7828:9): [True: 0, False: 248]
  |  Branch (7828:31): [True: 0, False: 0]
  ------------------
 7829|      0|        if (arraySizes->getNumDims() > (currentBlockQualifier.isArrayedIo(language) ? 1 : 0))
  ------------------
  |  Branch (7829:13): [True: 0, False: 0]
  |  Branch (7829:41): [True: 0, False: 0]
  ------------------
 7830|      0|            error(loc, "cannot use in a block array where new locations are needed for each block element",
 7831|      0|                       "location", "");
 7832|      0|    }
 7833|    248|}
_ZN7glslang13TParseContext15layoutTypeCheckERKNS_10TSourceLocERKNS_5TTypeE:
 7837|  17.5k|{
 7838|  17.5k|    const TQualifier& qualifier = type.getQualifier();
 7839|       |
 7840|       |    // first, intra-layout qualifier-only error checking
 7841|  17.5k|    layoutQualifierCheck(loc, qualifier);
 7842|       |
 7843|       |    // now, error checking combining type and qualifier
 7844|       |
 7845|  17.5k|    if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (7845:9): [True: 0, False: 17.5k]
  ------------------
 7846|      0|        if (qualifier.hasLocation()) {
  ------------------
  |  Branch (7846:13): [True: 0, False: 0]
  ------------------
 7847|      0|            if (qualifier.storage == EvqVaryingOut && language == EShLangFragment) {
  ------------------
  |  Branch (7847:17): [True: 0, False: 0]
  |  Branch (7847:55): [True: 0, False: 0]
  ------------------
 7848|      0|                if (qualifier.layoutLocation >= (unsigned int)resources.maxDrawBuffers)
  ------------------
  |  Branch (7848:21): [True: 0, False: 0]
  ------------------
 7849|      0|                    error(loc, "too large for fragment output", "location", "");
 7850|      0|            }
 7851|      0|        }
 7852|      0|        if (qualifier.hasComponent()) {
  ------------------
  |  Branch (7852:13): [True: 0, False: 0]
  ------------------
 7853|       |            // "It is a compile-time error if this sequence of components gets larger than 3."
 7854|      0|            if (qualifier.layoutComponent + type.getVectorSize() * (type.getBasicType() == EbtDouble ? 2 : 1) > 4)
  ------------------
  |  Branch (7854:17): [True: 0, False: 0]
  |  Branch (7854:69): [True: 0, False: 0]
  ------------------
 7855|      0|                error(loc, "type overflows the available 4 components", "component", "");
 7856|       |
 7857|       |            // "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."
 7858|      0|            if (type.isMatrix() || type.getBasicType() == EbtBlock || type.getBasicType() == EbtStruct)
  ------------------
  |  Branch (7858:17): [True: 0, False: 0]
  |  Branch (7858:36): [True: 0, False: 0]
  |  Branch (7858:71): [True: 0, False: 0]
  ------------------
 7859|      0|                error(loc, "cannot apply to a matrix, structure, or block", "component", "");
 7860|       |
 7861|       |            // " It is a compile-time error to use component 1 or 3 as the beginning of a double or dvec2."
 7862|      0|            if (type.getBasicType() == EbtDouble)
  ------------------
  |  Branch (7862:17): [True: 0, False: 0]
  ------------------
 7863|      0|                if (qualifier.layoutComponent & 1)
  ------------------
  |  Branch (7863:21): [True: 0, False: 0]
  ------------------
 7864|      0|                    error(loc, "doubles cannot start on an odd-numbered component", "component", "");
 7865|      0|        }
 7866|       |
 7867|      0|        switch (qualifier.storage) {
 7868|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (7868:9): [True: 0, False: 0]
  ------------------
 7869|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (7869:9): [True: 0, False: 0]
  ------------------
 7870|      0|            if (type.getBasicType() == EbtBlock)
  ------------------
  |  Branch (7870:17): [True: 0, False: 0]
  ------------------
 7871|      0|                profileRequires(loc, ECoreProfile | ECompatibilityProfile, 440, E_GL_ARB_enhanced_layouts, "location qualifier on in/out block");
 7872|      0|            if (type.getQualifier().isTaskMemory())
  ------------------
  |  Branch (7872:17): [True: 0, False: 0]
  ------------------
 7873|      0|                error(loc, "cannot apply to taskNV in/out blocks", "location", "");
 7874|      0|            break;
 7875|      0|        case EvqUniform:
  ------------------
  |  Branch (7875:9): [True: 0, False: 0]
  ------------------
 7876|      0|        case EvqBuffer:
  ------------------
  |  Branch (7876:9): [True: 0, False: 0]
  ------------------
 7877|      0|            if (type.getBasicType() == EbtBlock)
  ------------------
  |  Branch (7877:17): [True: 0, False: 0]
  ------------------
 7878|      0|                error(loc, "cannot apply to uniform or buffer block", "location", "");
 7879|      0|            else if (type.getBasicType() == EbtSampler && type.getSampler().isAttachmentEXT())
  ------------------
  |  Branch (7879:22): [True: 0, False: 0]
  |  Branch (7879:59): [True: 0, False: 0]
  ------------------
 7880|      0|                error(loc, "only applies to", "location", "%s with storage tileImageEXT", type.getBasicTypeString().c_str());
 7881|      0|            break;
 7882|      0|        case EvqtaskPayloadSharedEXT:
  ------------------
  |  Branch (7882:9): [True: 0, False: 0]
  ------------------
 7883|      0|            error(loc, "cannot apply to taskPayloadSharedEXT", "location", "");
 7884|      0|            break;
 7885|      0|        case EvqPayload:
  ------------------
  |  Branch (7885:9): [True: 0, False: 0]
  ------------------
 7886|      0|        case EvqPayloadIn:
  ------------------
  |  Branch (7886:9): [True: 0, False: 0]
  ------------------
 7887|      0|        case EvqHitAttr:
  ------------------
  |  Branch (7887:9): [True: 0, False: 0]
  ------------------
 7888|      0|        case EvqCallableData:
  ------------------
  |  Branch (7888:9): [True: 0, False: 0]
  ------------------
 7889|      0|        case EvqCallableDataIn:
  ------------------
  |  Branch (7889:9): [True: 0, False: 0]
  ------------------
 7890|      0|        case EvqHitObjectAttrNV:
  ------------------
  |  Branch (7890:9): [True: 0, False: 0]
  ------------------
 7891|      0|        case EvqHitObjectAttrEXT:
  ------------------
  |  Branch (7891:9): [True: 0, False: 0]
  ------------------
 7892|      0|        case EvqSpirvStorageClass:
  ------------------
  |  Branch (7892:9): [True: 0, False: 0]
  ------------------
 7893|      0|            break;
 7894|      0|        case EvqTileImageEXT:
  ------------------
  |  Branch (7894:9): [True: 0, False: 0]
  ------------------
 7895|      0|            break;
 7896|      0|        default:
  ------------------
  |  Branch (7896:9): [True: 0, False: 0]
  ------------------
 7897|      0|            error(loc, "can only apply to uniform, buffer, in, or out storage qualifiers", "location", "");
 7898|      0|            break;
 7899|      0|        }
 7900|       |
 7901|      0|        bool typeCollision;
 7902|      0|        int repeated = intermediate.addUsedLocation(qualifier, type, typeCollision);
 7903|      0|        if (repeated >= 0 && ! typeCollision)
  ------------------
  |  Branch (7903:13): [True: 0, False: 0]
  |  Branch (7903:30): [True: 0, False: 0]
  ------------------
 7904|      0|            error(loc, "overlapping use of location", "location", "%d", repeated);
 7905|       |        // When location aliasing, the aliases sharing the location must have the same underlying numerical type and bit width(
 7906|       |        // floating - point or integer, 32 - bit versus 64 - bit,etc.)
 7907|      0|        if (typeCollision && (qualifier.isPipeInput() || qualifier.isPipeOutput() || qualifier.storage == EvqTileImageEXT))
  ------------------
  |  Branch (7907:13): [True: 0, False: 0]
  |  Branch (7907:31): [True: 0, False: 0]
  |  Branch (7907:58): [True: 0, False: 0]
  |  Branch (7907:86): [True: 0, False: 0]
  ------------------
 7908|      0|            error(loc, "the aliases sharing the location", "location", "%d must be the same basic type and interpolation qualification", repeated);
 7909|      0|    }
 7910|       |
 7911|  17.5k|    if (qualifier.hasXfbOffset() && qualifier.hasXfbBuffer()) {
  ------------------
  |  Branch (7911:9): [True: 0, False: 17.5k]
  |  Branch (7911:37): [True: 0, False: 0]
  ------------------
 7912|      0|        if (type.isUnsizedArray()) {
  ------------------
  |  Branch (7912:13): [True: 0, False: 0]
  ------------------
 7913|      0|            error(loc, "unsized array", "xfb_offset", "in buffer %d", qualifier.layoutXfbBuffer);
 7914|      0|        } else {
 7915|      0|            int repeated = intermediate.addXfbBufferOffset(type);
 7916|      0|            if (repeated >= 0)
  ------------------
  |  Branch (7916:17): [True: 0, False: 0]
  ------------------
 7917|      0|                error(loc, "overlapping offsets at", "xfb_offset", "offset %d in buffer %d", repeated, qualifier.layoutXfbBuffer);
 7918|      0|        }
 7919|       |
 7920|       |        // "The offset must be a multiple of the size of the first component of the first
 7921|       |        // qualified variable or block member, or a compile-time error results. Further, if applied to an aggregate
 7922|       |        // containing a double or 64-bit integer, the offset must also be a multiple of 8..."
 7923|      0|        if ((type.containsBasicType(EbtDouble) || type.containsBasicType(EbtInt64) || type.containsBasicType(EbtUint64)) &&
  ------------------
  |  Branch (7923:14): [True: 0, False: 0]
  |  Branch (7923:51): [True: 0, False: 0]
  |  Branch (7923:87): [True: 0, False: 0]
  ------------------
 7924|      0|            ! IsMultipleOfPow2(qualifier.layoutXfbOffset, 8))
  ------------------
  |  Branch (7924:13): [True: 0, False: 0]
  ------------------
 7925|      0|            error(loc, "type contains double or 64-bit integer; xfb_offset must be a multiple of 8", "xfb_offset", "");
 7926|      0|        else if ((type.containsBasicType(EbtBool) || type.containsBasicType(EbtFloat) ||
  ------------------
  |  Branch (7926:19): [True: 0, False: 0]
  |  Branch (7926:54): [True: 0, False: 0]
  ------------------
 7927|      0|                  type.containsBasicType(EbtInt) || type.containsBasicType(EbtUint)) &&
  ------------------
  |  Branch (7927:19): [True: 0, False: 0]
  |  Branch (7927:53): [True: 0, False: 0]
  ------------------
 7928|      0|                 ! IsMultipleOfPow2(qualifier.layoutXfbOffset, 4))
  ------------------
  |  Branch (7928:18): [True: 0, False: 0]
  ------------------
 7929|      0|            error(loc, "must be a multiple of size of first component", "xfb_offset", "");
 7930|       |        // ..., if applied to an aggregate containing a half float or 16-bit integer, the offset must also be a multiple of 2..."
 7931|      0|        else if ((type.contains16BitFloat() || type.containsBasicType(EbtInt16) || type.containsBasicType(EbtUint16)) &&
  ------------------
  |  Branch (7931:19): [True: 0, False: 0]
  |  Branch (7931:48): [True: 0, False: 0]
  |  Branch (7931:84): [True: 0, False: 0]
  ------------------
 7932|      0|                 !IsMultipleOfPow2(qualifier.layoutXfbOffset, 2))
  ------------------
  |  Branch (7932:18): [True: 0, False: 0]
  ------------------
 7933|      0|            error(loc, "type contains half float or 16-bit integer; xfb_offset must be a multiple of 2", "xfb_offset", "");
 7934|      0|    }
 7935|  17.5k|    if (qualifier.hasXfbStride() && qualifier.hasXfbBuffer()) {
  ------------------
  |  Branch (7935:9): [True: 0, False: 17.5k]
  |  Branch (7935:37): [True: 0, False: 0]
  ------------------
 7936|      0|        if (! intermediate.setXfbBufferStride(qualifier.layoutXfbBuffer, qualifier.layoutXfbStride))
  ------------------
  |  Branch (7936:13): [True: 0, False: 0]
  ------------------
 7937|      0|            error(loc, "all stride settings must match for xfb buffer", "xfb_stride", "%d", qualifier.layoutXfbBuffer);
 7938|      0|    }
 7939|       |
 7940|  17.5k|    if (qualifier.hasBinding()) {
  ------------------
  |  Branch (7940:9): [True: 0, False: 17.5k]
  ------------------
 7941|       |        // Binding checking, from the spec:
 7942|       |        //
 7943|       |        // "If the binding point for any uniform or shader storage block instance is less than zero, or greater than or
 7944|       |        // equal to the implementation-dependent maximum number of uniform buffer bindings, a compile-time
 7945|       |        // error will occur. When the binding identifier is used with a uniform or shader storage block instanced as
 7946|       |        // an array of size N, all elements of the array from binding through binding + N - 1 must be within this
 7947|       |        // range."
 7948|       |        //
 7949|      0|        if (!type.isOpaque() && type.getBasicType() != EbtBlock && type.getBasicType() != EbtSpirvType)
  ------------------
  |  Branch (7949:13): [True: 0, False: 0]
  |  Branch (7949:33): [True: 0, False: 0]
  |  Branch (7949:68): [True: 0, False: 0]
  ------------------
 7950|      0|            error(loc, "requires block, or sampler/image, or atomic-counter type", "binding", "");
 7951|      0|        if (type.getBasicType() == EbtSampler) {
  ------------------
  |  Branch (7951:13): [True: 0, False: 0]
  ------------------
 7952|      0|            int lastBinding = qualifier.layoutBinding;
 7953|      0|            if (type.isArray()) {
  ------------------
  |  Branch (7953:17): [True: 0, False: 0]
  ------------------
 7954|      0|                if (spvVersion.vulkan == 0) {
  ------------------
  |  Branch (7954:21): [True: 0, False: 0]
  ------------------
 7955|      0|                    if (type.isSizedArray())
  ------------------
  |  Branch (7955:25): [True: 0, False: 0]
  ------------------
 7956|      0|                        lastBinding += (type.getCumulativeArraySize() - 1);
 7957|      0|                    else {
 7958|      0|                        warn(loc, "assuming binding count of one for compile-time checking of binding numbers for unsized array", "[]", "");
 7959|      0|                    }
 7960|      0|                }
 7961|      0|            }
 7962|      0|            if (spvVersion.vulkan == 0 && lastBinding >= resources.maxCombinedTextureImageUnits)
  ------------------
  |  Branch (7962:17): [True: 0, False: 0]
  |  Branch (7962:43): [True: 0, False: 0]
  ------------------
 7963|      0|                error(loc, "sampler binding not less than gl_MaxCombinedTextureImageUnits", "binding", type.isArray() ? "(using array)" : "");
  ------------------
  |  Branch (7963:104): [True: 0, False: 0]
  ------------------
 7964|      0|        }
 7965|      0|        if (type.isAtomic() && !spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (7965:13): [True: 0, False: 0]
  |  Branch (7965:32): [True: 0, False: 0]
  ------------------
 7966|      0|            if (qualifier.layoutBinding >= (unsigned int)resources.maxAtomicCounterBindings) {
  ------------------
  |  Branch (7966:17): [True: 0, False: 0]
  ------------------
 7967|      0|                error(loc, "atomic_uint binding is too large; see gl_MaxAtomicCounterBindings", "binding", "");
 7968|      0|                return;
 7969|      0|            }
 7970|      0|        }
 7971|  17.5k|    } else if (!intermediate.getAutoMapBindings()) {
  ------------------
  |  Branch (7971:16): [True: 17.5k, False: 0]
  ------------------
 7972|       |        // some types require bindings
 7973|       |
 7974|       |        // atomic_uint
 7975|  17.5k|        if (type.isAtomic())
  ------------------
  |  Branch (7975:13): [True: 0, False: 17.5k]
  ------------------
 7976|      0|            error(loc, "layout(binding=X) is required", "atomic_uint", "");
 7977|       |
 7978|       |        // SPIR-V
 7979|  17.5k|        if (spvVersion.spv > 0) {
  ------------------
  |  Branch (7979:13): [True: 0, False: 17.5k]
  ------------------
 7980|      0|            if (qualifier.isUniformOrBuffer() && !intermediate.IsRequestedExtension(E_GL_EXT_descriptor_heap)) {
  ------------------
  |  Branch (7980:17): [True: 0, False: 0]
  |  Branch (7980:50): [True: 0, False: 0]
  ------------------
 7981|      0|                if (type.getBasicType() == EbtBlock && !qualifier.isPushConstant() &&
  ------------------
  |  Branch (7981:21): [True: 0, False: 0]
  |  Branch (7981:56): [True: 0, False: 0]
  ------------------
 7982|      0|                       !qualifier.isShaderRecord() &&
  ------------------
  |  Branch (7982:24): [True: 0, False: 0]
  ------------------
 7983|      0|                       !qualifier.hasAttachment() &&
  ------------------
  |  Branch (7983:24): [True: 0, False: 0]
  ------------------
 7984|      0|                       !qualifier.hasBufferReference())
  ------------------
  |  Branch (7984:24): [True: 0, False: 0]
  ------------------
 7985|      0|                    error(loc, "uniform/buffer blocks require layout(binding=X)", "binding", "");
 7986|      0|                else if (spvVersion.vulkan > 0 && type.getBasicType() == EbtSampler && !type.getSampler().isAttachmentEXT())
  ------------------
  |  Branch (7986:26): [True: 0, False: 0]
  |  Branch (7986:51): [True: 0, False: 0]
  |  Branch (7986:88): [True: 0, False: 0]
  ------------------
 7987|      0|                    error(loc, "sampler/texture/image requires layout(binding=X)", "binding", "");
 7988|      0|            }
 7989|      0|        }
 7990|  17.5k|    }
 7991|       |
 7992|       |    // some things can't have arrays of arrays
 7993|  17.5k|    if (type.isArrayOfArrays()) {
  ------------------
  |  Branch (7993:9): [True: 81, False: 17.4k]
  ------------------
 7994|     81|        if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (7994:13): [True: 45, False: 36]
  ------------------
 7995|     45|            if (type.isOpaque() || (type.getQualifier().isUniformOrBuffer() && type.getBasicType() == EbtBlock))
  ------------------
  |  Branch (7995:17): [True: 0, False: 45]
  |  Branch (7995:37): [True: 0, False: 45]
  |  Branch (7995:80): [True: 0, False: 0]
  ------------------
 7996|      0|                warn(loc, "Generating SPIR-V array-of-arrays, but Vulkan only supports single array level for this resource", "[][]", "");
 7997|     45|        }
 7998|     81|    }
 7999|       |
 8000|       |    // "The offset qualifier can only be used on block members of blocks..."
 8001|  17.5k|    if (qualifier.hasOffset()) {
  ------------------
  |  Branch (8001:9): [True: 0, False: 17.5k]
  ------------------
 8002|      0|        if (type.getBasicType() == EbtBlock)
  ------------------
  |  Branch (8002:13): [True: 0, False: 0]
  ------------------
 8003|      0|            error(loc, "only applies to block members, not blocks", "offset", "");
 8004|      0|    }
 8005|       |
 8006|       |    // Image format
 8007|  17.5k|    if (qualifier.hasFormat()) {
  ------------------
  |  Branch (8007:9): [True: 0, False: 17.5k]
  ------------------
 8008|      0|        if (! type.isImage() && !intermediate.getBindlessImageMode())
  ------------------
  |  Branch (8008:13): [True: 0, False: 0]
  |  Branch (8008:33): [True: 0, False: 0]
  ------------------
 8009|      0|            error(loc, "only apply to images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8010|      0|        else {
 8011|      0|            if (type.getSampler().type == EbtFloat && qualifier.getFormat() > ElfFloatGuard)
  ------------------
  |  Branch (8011:17): [True: 0, False: 0]
  |  Branch (8011:55): [True: 0, False: 0]
  ------------------
 8012|      0|                error(loc, "does not apply to floating point images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8013|      0|            if (type.getSampler().type == EbtInt && (qualifier.getFormat() < ElfFloatGuard || qualifier.getFormat() > ElfIntGuard))
  ------------------
  |  Branch (8013:17): [True: 0, False: 0]
  |  Branch (8013:54): [True: 0, False: 0]
  |  Branch (8013:95): [True: 0, False: 0]
  ------------------
 8014|      0|                error(loc, "does not apply to signed integer images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8015|      0|            if (type.getSampler().type == EbtUint && qualifier.getFormat() < ElfIntGuard)
  ------------------
  |  Branch (8015:17): [True: 0, False: 0]
  |  Branch (8015:54): [True: 0, False: 0]
  ------------------
 8016|      0|                error(loc, "does not apply to unsigned integer images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8017|       |
 8018|      0|            if (isEsProfile()) {
  ------------------
  |  Branch (8018:17): [True: 0, False: 0]
  ------------------
 8019|       |                // "Except for image variables qualified with the format qualifiers r32f, r32i, and r32ui, image variables must
 8020|       |                // specify either memory qualifier readonly or the memory qualifier writeonly."
 8021|      0|                if (! (qualifier.getFormat() == ElfR32f || qualifier.getFormat() == ElfR32i || qualifier.getFormat() == ElfR32ui)) {
  ------------------
  |  Branch (8021:24): [True: 0, False: 0]
  |  Branch (8021:60): [True: 0, False: 0]
  |  Branch (8021:96): [True: 0, False: 0]
  ------------------
 8022|      0|                    if (! qualifier.isReadOnly() && ! qualifier.isWriteOnly())
  ------------------
  |  Branch (8022:25): [True: 0, False: 0]
  |  Branch (8022:53): [True: 0, False: 0]
  ------------------
 8023|      0|                        error(loc, "format requires readonly or writeonly memory qualifier", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8024|      0|                }
 8025|      0|            }
 8026|      0|        }
 8027|  17.5k|    } else if (type.isImage() && ! qualifier.isWriteOnly() && !intermediate.getBindlessImageMode()) {
  ------------------
  |  Branch (8027:16): [True: 0, False: 17.5k]
  |  Branch (8027:34): [True: 0, False: 0]
  |  Branch (8027:63): [True: 0, False: 0]
  ------------------
 8028|      0|        const char *explanation = "image variables not declared 'writeonly' and without a format layout qualifier";
 8029|      0|        requireProfile(loc, ECoreProfile | ECompatibilityProfile, explanation);
 8030|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 0, E_GL_EXT_shader_image_load_formatted, explanation);
 8031|      0|    }
 8032|       |
 8033|  17.5k|    if (qualifier.isPushConstant()) {
  ------------------
  |  Branch (8033:9): [True: 0, False: 17.5k]
  ------------------
 8034|      0|        if (type.getBasicType() != EbtBlock)
  ------------------
  |  Branch (8034:13): [True: 0, False: 0]
  ------------------
 8035|      0|            error(loc, "can only be used with a block", "push_constant", "");
 8036|      0|        if (type.isArray())
  ------------------
  |  Branch (8036:13): [True: 0, False: 0]
  ------------------
 8037|      0|            error(loc, "Push constants blocks can't be an array", "push_constant", "");
 8038|      0|    }
 8039|       |
 8040|  17.5k|    if (type.getBasicType() == EbtReference) {
  ------------------
  |  Branch (8040:9): [True: 0, False: 17.5k]
  ------------------
 8041|      0|        if (qualifier.isPipeInput())
  ------------------
  |  Branch (8041:13): [True: 0, False: 0]
  ------------------
 8042|      0|            error(loc, "cannot contain any structs with buffer_reference.", "in",
 8043|      0|                  "If you want to interface shader stages with a buffer_reference cast to a uint64 or uvec2 instead.");
 8044|      0|        if (qualifier.isPipeOutput())
  ------------------
  |  Branch (8044:13): [True: 0, False: 0]
  ------------------
 8045|      0|            error(loc, "cannot contain any structs with buffer_reference.", "out",
 8046|      0|                  "If you want to interface shader stages with a buffer_reference cast to a uint64 or uvec2 instead.");
 8047|      0|    }
 8048|       |
 8049|  17.5k|    if (qualifier.hasBufferReference() && type.getBasicType() != EbtBlock)
  ------------------
  |  Branch (8049:9): [True: 0, False: 17.5k]
  |  Branch (8049:43): [True: 0, False: 0]
  ------------------
 8050|      0|        error(loc, "can only be used with a block", "buffer_reference", "");
 8051|       |
 8052|  17.5k|    if (qualifier.isShaderRecord() && type.getBasicType() != EbtBlock)
  ------------------
  |  Branch (8052:9): [True: 0, False: 17.5k]
  |  Branch (8052:39): [True: 0, False: 0]
  ------------------
 8053|      0|        error(loc, "can only be used with a block", "shaderRecordNV", "");
 8054|       |
 8055|       |    // input attachment
 8056|  17.5k|    if (type.isSubpass()) {
  ------------------
  |  Branch (8056:9): [True: 0, False: 17.5k]
  ------------------
 8057|      0|        if (extensionTurnedOn(E_GL_EXT_shader_tile_image))
  ------------------
  |  Branch (8057:13): [True: 0, False: 0]
  ------------------
 8058|      0|            error(loc, "cannot be used with GL_EXT_shader_tile_image enabled", type.getSampler().getString().c_str(),
 8059|      0|                  "");
 8060|      0|        if (! qualifier.hasAttachment())
  ------------------
  |  Branch (8060:13): [True: 0, False: 0]
  ------------------
 8061|      0|            error(loc, "requires an input_attachment_index layout qualifier", "subpass", "");
 8062|  17.5k|    } else {
 8063|  17.5k|        if (qualifier.hasAttachment())
  ------------------
  |  Branch (8063:13): [True: 0, False: 17.5k]
  ------------------
 8064|      0|            error(loc, "can only be used with a subpass", "input_attachment_index", "");
 8065|  17.5k|    }
 8066|       |
 8067|       |    // specialization-constant id
 8068|  17.5k|    if (qualifier.hasSpecConstantId()) {
  ------------------
  |  Branch (8068:9): [True: 0, False: 17.5k]
  ------------------
 8069|      0|        if (type.getQualifier().storage != EvqConst)
  ------------------
  |  Branch (8069:13): [True: 0, False: 0]
  ------------------
 8070|      0|            error(loc, "can only be applied to 'const'-qualified scalar", "constant_id", "");
 8071|      0|        if (! type.isScalar())
  ------------------
  |  Branch (8071:13): [True: 0, False: 0]
  ------------------
 8072|      0|            error(loc, "can only be applied to a scalar", "constant_id", "");
 8073|      0|        switch (type.getBasicType())
 8074|      0|        {
 8075|      0|        case EbtInt8:
  ------------------
  |  Branch (8075:9): [True: 0, False: 0]
  ------------------
 8076|      0|        case EbtUint8:
  ------------------
  |  Branch (8076:9): [True: 0, False: 0]
  ------------------
 8077|      0|        case EbtInt16:
  ------------------
  |  Branch (8077:9): [True: 0, False: 0]
  ------------------
 8078|      0|        case EbtUint16:
  ------------------
  |  Branch (8078:9): [True: 0, False: 0]
  ------------------
 8079|      0|        case EbtInt:
  ------------------
  |  Branch (8079:9): [True: 0, False: 0]
  ------------------
 8080|      0|        case EbtUint:
  ------------------
  |  Branch (8080:9): [True: 0, False: 0]
  ------------------
 8081|      0|        case EbtInt64:
  ------------------
  |  Branch (8081:9): [True: 0, False: 0]
  ------------------
 8082|      0|        case EbtUint64:
  ------------------
  |  Branch (8082:9): [True: 0, False: 0]
  ------------------
 8083|      0|        case EbtBool:
  ------------------
  |  Branch (8083:9): [True: 0, False: 0]
  ------------------
 8084|      0|        case EbtFloat:
  ------------------
  |  Branch (8084:9): [True: 0, False: 0]
  ------------------
 8085|      0|        case EbtDouble:
  ------------------
  |  Branch (8085:9): [True: 0, False: 0]
  ------------------
 8086|      0|        case EbtFloat16:
  ------------------
  |  Branch (8086:9): [True: 0, False: 0]
  ------------------
 8087|      0|        case EbtBFloat16:
  ------------------
  |  Branch (8087:9): [True: 0, False: 0]
  ------------------
 8088|      0|        case EbtFloatE5M2:
  ------------------
  |  Branch (8088:9): [True: 0, False: 0]
  ------------------
 8089|      0|        case EbtFloatE4M3:
  ------------------
  |  Branch (8089:9): [True: 0, False: 0]
  ------------------
 8090|      0|            break;
 8091|      0|        default:
  ------------------
  |  Branch (8091:9): [True: 0, False: 0]
  ------------------
 8092|      0|            error(loc, "cannot be applied to this type", "constant_id", "");
 8093|      0|            break;
 8094|      0|        }
 8095|      0|    }
 8096|  17.5k|}
_ZN7glslang13TParseContext20layoutQualifierCheckERKNS_10TSourceLocERKNS_10TQualifierE:
 8115|  17.5k|{
 8116|  17.5k|    if (qualifier.storage == EvqShared && qualifier.hasLayout()) {
  ------------------
  |  Branch (8116:9): [True: 0, False: 17.5k]
  |  Branch (8116:43): [True: 0, False: 0]
  ------------------
 8117|      0|        if (spvVersion.spv > 0 && spvVersion.spv < EShTargetSpv_1_4) {
  ------------------
  |  Branch (8117:13): [True: 0, False: 0]
  |  Branch (8117:35): [True: 0, False: 0]
  ------------------
 8118|      0|            error(loc, "shared block requires at least SPIR-V 1.4", "shared block", "");
 8119|      0|        }
 8120|      0|        profileRequires(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, 0, E_GL_EXT_shared_memory_block, "shared block");
 8121|      0|    }
 8122|       |
 8123|       |    // "It is a compile-time error to use *component* without also specifying the location qualifier (order does not matter)."
 8124|  17.5k|    if (qualifier.hasComponent() && ! qualifier.hasLocation())
  ------------------
  |  Branch (8124:9): [True: 0, False: 17.5k]
  |  Branch (8124:37): [True: 0, False: 0]
  ------------------
 8125|      0|        error(loc, "must specify 'location' to use 'component'", "component", "");
 8126|       |
 8127|  17.5k|    if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (8127:9): [True: 0, False: 17.5k]
  ------------------
 8128|       |
 8129|       |        // "As with input layout qualifiers, all shaders except compute shaders
 8130|       |        // allow *location* layout qualifiers on output variable declarations,
 8131|       |        // output block declarations, and output block member declarations."
 8132|       |
 8133|      0|        switch (qualifier.storage) {
 8134|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (8134:9): [True: 0, False: 0]
  ------------------
 8135|      0|        {
 8136|      0|            const char* feature = "location qualifier on input";
 8137|      0|            if (isEsProfile() && version < 310)
  ------------------
  |  Branch (8137:17): [True: 0, False: 0]
  |  Branch (8137:34): [True: 0, False: 0]
  ------------------
 8138|      0|                requireStage(loc, EShLangVertex, feature);
 8139|      0|            else
 8140|      0|                requireStage(loc, (EShLanguageMask)~EShLangComputeMask, feature);
 8141|      0|            if (language == EShLangVertex) {
  ------------------
  |  Branch (8141:17): [True: 0, False: 0]
  ------------------
 8142|      0|                const char* exts[2] = { E_GL_ARB_separate_shader_objects, E_GL_ARB_explicit_attrib_location };
 8143|      0|                profileRequires(loc, ~EEsProfile, 330, 2, exts, feature);
 8144|      0|                profileRequires(loc, EEsProfile, 300, nullptr, feature);
 8145|      0|            } else {
 8146|      0|                profileRequires(loc, ~EEsProfile, 410, E_GL_ARB_separate_shader_objects, feature);
 8147|      0|                profileRequires(loc, EEsProfile, 310, nullptr, feature);
 8148|      0|            }
 8149|      0|            break;
 8150|      0|        }
 8151|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (8151:9): [True: 0, False: 0]
  ------------------
 8152|      0|        {
 8153|      0|            const char* feature = "location qualifier on output";
 8154|      0|            if (isEsProfile() && version < 310)
  ------------------
  |  Branch (8154:17): [True: 0, False: 0]
  |  Branch (8154:34): [True: 0, False: 0]
  ------------------
 8155|      0|                requireStage(loc, EShLangFragment, feature);
 8156|      0|            else
 8157|      0|                requireStage(loc, (EShLanguageMask)~EShLangComputeMask, feature);
 8158|      0|            if (language == EShLangFragment) {
  ------------------
  |  Branch (8158:17): [True: 0, False: 0]
  ------------------
 8159|      0|                const char* exts[2] = { E_GL_ARB_separate_shader_objects, E_GL_ARB_explicit_attrib_location };
 8160|      0|                profileRequires(loc, ~EEsProfile, 330, 2, exts, feature);
 8161|      0|                profileRequires(loc, EEsProfile, 300, nullptr, feature);
 8162|      0|            } else {
 8163|      0|                profileRequires(loc, ~EEsProfile, 410, E_GL_ARB_separate_shader_objects, feature);
 8164|      0|                profileRequires(loc, EEsProfile, 310, nullptr, feature);
 8165|      0|            }
 8166|      0|            break;
 8167|      0|        }
 8168|      0|        case EvqUniform:
  ------------------
  |  Branch (8168:9): [True: 0, False: 0]
  ------------------
 8169|      0|        case EvqBuffer:
  ------------------
  |  Branch (8169:9): [True: 0, False: 0]
  ------------------
 8170|      0|        {
 8171|      0|            const char* feature = "location qualifier on uniform or buffer";
 8172|      0|            requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile | ENoProfile, feature);
 8173|      0|            profileRequires(loc, ~EEsProfile, 330, E_GL_ARB_explicit_attrib_location, feature);
 8174|      0|            profileRequires(loc, ~EEsProfile, 430, E_GL_ARB_explicit_uniform_location, feature);
 8175|      0|            profileRequires(loc, EEsProfile, 310, nullptr, feature);
 8176|      0|            break;
 8177|      0|        }
 8178|      0|        default:
  ------------------
  |  Branch (8178:9): [True: 0, False: 0]
  ------------------
 8179|      0|            break;
 8180|      0|        }
 8181|      0|        if (qualifier.hasIndex()) {
  ------------------
  |  Branch (8181:13): [True: 0, False: 0]
  ------------------
 8182|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (8182:17): [True: 0, False: 0]
  ------------------
 8183|      0|                error(loc, "can only be used on an output", "index", "");
 8184|      0|            if (! qualifier.hasLocation())
  ------------------
  |  Branch (8184:17): [True: 0, False: 0]
  ------------------
 8185|      0|                error(loc, "can only be used with an explicit location", "index", "");
 8186|      0|        }
 8187|      0|    }
 8188|       |
 8189|  17.5k|    if (qualifier.hasBinding()) {
  ------------------
  |  Branch (8189:9): [True: 0, False: 17.5k]
  ------------------
 8190|      0|        if (! qualifier.isUniformOrBuffer() && !qualifier.isTaskMemory() && !qualifier.isTileAttachmentQCOM())
  ------------------
  |  Branch (8190:13): [True: 0, False: 0]
  |  Branch (8190:48): [True: 0, False: 0]
  |  Branch (8190:77): [True: 0, False: 0]
  ------------------
 8191|      0|            error(loc, "requires uniform or buffer or tile image storage qualifier", "binding", "");
 8192|      0|    }
 8193|  17.5k|    if (qualifier.hasStream()) {
  ------------------
  |  Branch (8193:9): [True: 385, False: 17.1k]
  ------------------
 8194|    385|        if (!qualifier.isPipeOutput())
  ------------------
  |  Branch (8194:13): [True: 0, False: 385]
  ------------------
 8195|      0|            error(loc, "can only be used on an output", "stream", "");
 8196|    385|    }
 8197|  17.5k|    if (qualifier.hasXfb()) {
  ------------------
  |  Branch (8197:9): [True: 1.45k, False: 16.0k]
  ------------------
 8198|  1.45k|        if (!qualifier.isPipeOutput())
  ------------------
  |  Branch (8198:13): [True: 0, False: 1.45k]
  ------------------
 8199|      0|            error(loc, "can only be used on an output", "xfb layout qualifier", "");
 8200|  1.45k|    }
 8201|  17.5k|    if (qualifier.hasUniformLayout()) {
  ------------------
  |  Branch (8201:9): [True: 0, False: 17.5k]
  ------------------
 8202|      0|        if (!storageCanHaveLayoutInBlock(qualifier.storage) && !qualifier.isTaskMemory()) {
  ------------------
  |  Branch (8202:13): [True: 0, False: 0]
  |  Branch (8202:64): [True: 0, False: 0]
  ------------------
 8203|      0|            if (qualifier.hasMatrix() || qualifier.hasPacking())
  ------------------
  |  Branch (8203:17): [True: 0, False: 0]
  |  Branch (8203:42): [True: 0, False: 0]
  ------------------
 8204|      0|                error(loc, "matrix or packing qualifiers can only be used on a uniform or buffer", "layout", "");
 8205|      0|            if (qualifier.hasOffset() || qualifier.hasAlign())
  ------------------
  |  Branch (8205:17): [True: 0, False: 0]
  |  Branch (8205:42): [True: 0, False: 0]
  ------------------
 8206|      0|                error(loc, "offset/align can only be used on a uniform or buffer", "layout", "");
 8207|      0|        }
 8208|      0|    }
 8209|  17.5k|    if (qualifier.isPushConstant()) {
  ------------------
  |  Branch (8209:9): [True: 0, False: 17.5k]
  ------------------
 8210|      0|        if (qualifier.storage != EvqUniform)
  ------------------
  |  Branch (8210:13): [True: 0, False: 0]
  ------------------
 8211|      0|            error(loc, "can only be used with a uniform", "push_constant", "");
 8212|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (8212:13): [True: 0, False: 0]
  ------------------
 8213|      0|            error(loc, "cannot be used with push_constant", "set", "");
 8214|      0|        if (qualifier.hasBinding())
  ------------------
  |  Branch (8214:13): [True: 0, False: 0]
  ------------------
 8215|      0|            error(loc, "cannot be used with push_constant", "binding", "");
 8216|      0|    }
 8217|  17.5k|    if (qualifier.hasBufferReference()) {
  ------------------
  |  Branch (8217:9): [True: 0, False: 17.5k]
  ------------------
 8218|      0|        if (qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (8218:13): [True: 0, False: 0]
  ------------------
 8219|      0|            error(loc, "can only be used with buffer", "buffer_reference", "");
 8220|      0|    }
 8221|  17.5k|    if (qualifier.isShaderRecord()) {
  ------------------
  |  Branch (8221:9): [True: 0, False: 17.5k]
  ------------------
 8222|      0|        if (qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (8222:13): [True: 0, False: 0]
  ------------------
 8223|      0|            error(loc, "can only be used with a buffer", "shaderRecordNV", "");
 8224|      0|        if (qualifier.hasBinding())
  ------------------
  |  Branch (8224:13): [True: 0, False: 0]
  ------------------
 8225|      0|            error(loc, "cannot be used with shaderRecordNV", "binding", "");
 8226|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (8226:13): [True: 0, False: 0]
  ------------------
 8227|      0|            error(loc, "cannot be used with shaderRecordNV", "set", "");
 8228|       |
 8229|      0|    }
 8230|       |
 8231|  17.5k|    if (qualifier.storage == EvqTileImageEXT) {
  ------------------
  |  Branch (8231:9): [True: 0, False: 17.5k]
  ------------------
 8232|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (8232:13): [True: 0, False: 0]
  ------------------
 8233|      0|            error(loc, "cannot be used with tileImageEXT", "set", "");
 8234|      0|        if (!qualifier.hasLocation())
  ------------------
  |  Branch (8234:13): [True: 0, False: 0]
  ------------------
 8235|      0|            error(loc, "can only be used with an explicit location", "tileImageEXT", "");
 8236|      0|    }
 8237|       |
 8238|  17.5k|    if (qualifier.storage == EvqHitAttr && qualifier.hasLayout()) {
  ------------------
  |  Branch (8238:9): [True: 0, False: 17.5k]
  |  Branch (8238:44): [True: 0, False: 0]
  ------------------
 8239|      0|        error(loc, "cannot apply layout qualifiers to hitAttributeNV variable", "hitAttributeNV", "");
 8240|      0|    }
 8241|  17.5k|    if (qualifier.hasBank()) {
  ------------------
  |  Branch (8241:9): [True: 0, False: 17.5k]
  ------------------
 8242|      0|        if (!qualifier.isPushConstant())
  ------------------
  |  Branch (8242:13): [True: 0, False: 0]
  ------------------
 8243|      0|            error(loc, "can only be used with push_constant", "bank", "");
 8244|      0|    }
 8245|  17.5k|    if (qualifier.hasMemberOffset()) {
  ------------------
  |  Branch (8245:9): [True: 0, False: 17.5k]
  ------------------
 8246|      0|        if (!qualifier.isPushConstant())
  ------------------
  |  Branch (8246:13): [True: 0, False: 0]
  ------------------
 8247|      0|            error(loc, "can only be used with push_constant", "member_offset", "");
 8248|      0|    }
 8249|       |
 8250|  17.5k|    if (qualifier.layoutDescriptorStride != TQualifier::layoutDescriptorStrideEnd &&
  ------------------
  |  Branch (8250:9): [True: 0, False: 17.5k]
  ------------------
 8251|      0|        !qualifier.layoutDescriptorHeap)
  ------------------
  |  Branch (8251:9): [True: 0, False: 0]
  ------------------
 8252|      0|        error(loc, "must specify 'descriptor_heap' to use 'descriptor_stride'", "descriptor_stride", "");
 8253|  17.5k|    if (qualifier.layoutHeapOffset != 0 && !qualifier.layoutDescriptorHeap &&
  ------------------
  |  Branch (8253:9): [True: 0, False: 17.5k]
  |  Branch (8253:44): [True: 0, False: 0]
  ------------------
 8254|      0|        qualifier.storage != EvqSamplerHeap && qualifier.storage != EvqResourceHeap)
  ------------------
  |  Branch (8254:9): [True: 0, False: 0]
  |  Branch (8254:48): [True: 0, False: 0]
  ------------------
 8255|      0|        error(loc, "must specify 'descriptor_heap' to use 'heap_offset'", "heap_offset", "");
 8256|  17.5k|}
_ZN7glslang13TParseContext20checkNoShaderLayoutsERKNS_10TSourceLocERKNS_17TShaderQualifiersE:
 8260|   164k|{
 8261|   164k|    const char* message = "can only apply to a standalone qualifier";
 8262|       |
 8263|   164k|    if (shaderQualifiers.geometry != ElgNone)
  ------------------
  |  Branch (8263:9): [True: 0, False: 164k]
  ------------------
 8264|      0|        error(loc, message, TQualifier::getGeometryString(shaderQualifiers.geometry), "");
 8265|   164k|    if (shaderQualifiers.spacing != EvsNone)
  ------------------
  |  Branch (8265:9): [True: 0, False: 164k]
  ------------------
 8266|      0|        error(loc, message, TQualifier::getVertexSpacingString(shaderQualifiers.spacing), "");
 8267|   164k|    if (shaderQualifiers.order != EvoNone)
  ------------------
  |  Branch (8267:9): [True: 0, False: 164k]
  ------------------
 8268|      0|        error(loc, message, TQualifier::getVertexOrderString(shaderQualifiers.order), "");
 8269|   164k|    if (shaderQualifiers.pointMode)
  ------------------
  |  Branch (8269:9): [True: 0, False: 164k]
  ------------------
 8270|      0|        error(loc, message, "point_mode", "");
 8271|   164k|    if (shaderQualifiers.invocations != TQualifier::layoutNotSet)
  ------------------
  |  Branch (8271:9): [True: 0, False: 164k]
  ------------------
 8272|      0|        error(loc, message, "invocations", "");
 8273|   659k|    for (int i = 0; i < 3; ++i) {
  ------------------
  |  Branch (8273:21): [True: 494k, False: 164k]
  ------------------
 8274|   494k|        if (shaderQualifiers.localSize[i] > 1)
  ------------------
  |  Branch (8274:13): [True: 0, False: 494k]
  ------------------
 8275|      0|            error(loc, message, "local_size", "");
 8276|   494k|        if (shaderQualifiers.localSizeSpecId[i] != TQualifier::layoutNotSet)
  ------------------
  |  Branch (8276:13): [True: 0, False: 494k]
  ------------------
 8277|      0|            error(loc, message, "local_size id", "");
 8278|   494k|    }
 8279|   164k|    if (shaderQualifiers.vertices != TQualifier::layoutNotSet) {
  ------------------
  |  Branch (8279:9): [True: 0, False: 164k]
  ------------------
 8280|      0|        if (language == EShLangGeometry || language == EShLangMesh)
  ------------------
  |  Branch (8280:13): [True: 0, False: 0]
  |  Branch (8280:44): [True: 0, False: 0]
  ------------------
 8281|      0|            error(loc, message, "max_vertices", "");
 8282|      0|        else if (language == EShLangTessControl)
  ------------------
  |  Branch (8282:18): [True: 0, False: 0]
  ------------------
 8283|      0|            error(loc, message, "vertices", "");
 8284|      0|        else
 8285|      0|            assert(0);
 8286|      0|    }
 8287|   164k|    if (shaderQualifiers.earlyFragmentTests)
  ------------------
  |  Branch (8287:9): [True: 0, False: 164k]
  ------------------
 8288|      0|        error(loc, message, "early_fragment_tests", "");
 8289|   164k|    if (shaderQualifiers.postDepthCoverage)
  ------------------
  |  Branch (8289:9): [True: 0, False: 164k]
  ------------------
 8290|      0|        error(loc, message, "post_depth_coverage", "");
 8291|   164k|    if (shaderQualifiers.nonCoherentColorAttachmentReadEXT)
  ------------------
  |  Branch (8291:9): [True: 0, False: 164k]
  ------------------
 8292|      0|        error(loc, message, "non_coherent_color_attachment_readEXT", "");
 8293|   164k|    if (shaderQualifiers.nonCoherentDepthAttachmentReadEXT)
  ------------------
  |  Branch (8293:9): [True: 0, False: 164k]
  ------------------
 8294|      0|        error(loc, message, "non_coherent_depth_attachment_readEXT", "");
 8295|   164k|    if (shaderQualifiers.nonCoherentStencilAttachmentReadEXT)
  ------------------
  |  Branch (8295:9): [True: 0, False: 164k]
  ------------------
 8296|      0|        error(loc, message, "non_coherent_stencil_attachment_readEXT", "");
 8297|   164k|    if (shaderQualifiers.primitives != TQualifier::layoutNotSet) {
  ------------------
  |  Branch (8297:9): [True: 0, False: 164k]
  ------------------
 8298|      0|        if (language == EShLangMesh)
  ------------------
  |  Branch (8298:13): [True: 0, False: 0]
  ------------------
 8299|      0|            error(loc, message, "max_primitives", "");
 8300|      0|        else
 8301|      0|            assert(0);
 8302|      0|    }
 8303|   164k|    if (shaderQualifiers.hasBlendEquation())
  ------------------
  |  Branch (8303:9): [True: 0, False: 164k]
  ------------------
 8304|      0|        error(loc, message, "blend equation", "");
 8305|   164k|    if (shaderQualifiers.numViews != TQualifier::layoutNotSet)
  ------------------
  |  Branch (8305:9): [True: 0, False: 164k]
  ------------------
 8306|      0|        error(loc, message, "num_views", "");
 8307|   164k|    if (shaderQualifiers.interlockOrdering != EioNone)
  ------------------
  |  Branch (8307:9): [True: 0, False: 164k]
  ------------------
 8308|      0|        error(loc, message, TQualifier::getInterlockOrderingString(shaderQualifiers.interlockOrdering), "");
 8309|   164k|    if (shaderQualifiers.layoutPrimitiveCulling)
  ------------------
  |  Branch (8309:9): [True: 0, False: 164k]
  ------------------
 8310|      0|        error(loc, "can only be applied as standalone", "primitive_culling", "");
 8311|       |
 8312|   164k|    if (shaderQualifiers.layoutNonCoherentTileAttachmentReadQCOM)
  ------------------
  |  Branch (8312:9): [True: 0, False: 164k]
  ------------------
 8313|      0|        error(loc, message, "non_coherent_attachment_readQCOM", "");
 8314|   164k|    if (shaderQualifiers.layoutTileShadingRateQCOM[0] >= 1)
  ------------------
  |  Branch (8314:9): [True: 0, False: 164k]
  ------------------
 8315|      0|        error(loc, message, "shading_rate_xQCOM", "");
 8316|   164k|    if (shaderQualifiers.layoutTileShadingRateQCOM[1] >= 1)
  ------------------
  |  Branch (8316:9): [True: 0, False: 164k]
  ------------------
 8317|      0|        error(loc, message, "shading_rate_yQCOM", "");
 8318|   164k|    if (shaderQualifiers.layoutTileShadingRateQCOM[2] >= 1)
  ------------------
  |  Branch (8318:9): [True: 0, False: 164k]
  ------------------
 8319|      0|        error(loc, message, "shading_rate_zQCOM", "");
 8320|   164k|}
_ZN7glslang13TParseContext9fixOffsetERKNS_10TSourceLocERNS_7TSymbolE:
 8324|  15.9k|{
 8325|  15.9k|    const TQualifier& qualifier = symbol.getType().getQualifier();
 8326|  15.9k|    if (symbol.getType().isAtomic()) {
  ------------------
  |  Branch (8326:9): [True: 0, False: 15.9k]
  ------------------
 8327|      0|        if (qualifier.hasBinding() && (int)qualifier.layoutBinding < resources.maxAtomicCounterBindings) {
  ------------------
  |  Branch (8327:13): [True: 0, False: 0]
  |  Branch (8327:39): [True: 0, False: 0]
  ------------------
 8328|       |
 8329|       |            // Set the offset
 8330|      0|            int offset;
 8331|      0|            if (qualifier.hasOffset())
  ------------------
  |  Branch (8331:17): [True: 0, False: 0]
  ------------------
 8332|      0|                offset = qualifier.layoutOffset;
 8333|      0|            else
 8334|      0|                offset = atomicUintOffsets[qualifier.layoutBinding];
 8335|       |
 8336|      0|            if (offset % 4 != 0)
  ------------------
  |  Branch (8336:17): [True: 0, False: 0]
  ------------------
 8337|      0|                error(loc, "atomic counters offset should align based on 4:", "offset", "%d", offset);
 8338|       |
 8339|      0|            symbol.getWritableType().getQualifier().layoutOffset = offset;
 8340|       |
 8341|       |            // Check for overlap
 8342|      0|            int numOffsets = 4;
 8343|      0|            if (symbol.getType().isArray()) {
  ------------------
  |  Branch (8343:17): [True: 0, False: 0]
  ------------------
 8344|      0|                if (symbol.getType().isSizedArray() && !symbol.getType().getArraySizes()->isInnerUnsized())
  ------------------
  |  Branch (8344:21): [True: 0, False: 0]
  |  Branch (8344:56): [True: 0, False: 0]
  ------------------
 8345|      0|                    numOffsets *= symbol.getType().getCumulativeArraySize();
 8346|      0|                else {
 8347|       |                    // "It is a compile-time error to declare an unsized array of atomic_uint."
 8348|      0|                    error(loc, "array must be explicitly sized", "atomic_uint", "");
 8349|      0|                }
 8350|      0|            }
 8351|      0|            int repeated = intermediate.addUsedOffsets(qualifier.layoutBinding, offset, numOffsets);
 8352|      0|            if (repeated >= 0)
  ------------------
  |  Branch (8352:17): [True: 0, False: 0]
  ------------------
 8353|      0|                error(loc, "atomic counters sharing the same offset:", "offset", "%d", repeated);
 8354|       |
 8355|       |            // Bump the default offset
 8356|      0|            atomicUintOffsets[qualifier.layoutBinding] = offset + numOffsets;
 8357|      0|        }
 8358|      0|    }
 8359|  15.9k|}
_ZN7glslang13TParseContext12findFunctionERKNS_10TSourceLocERKNS_9TFunctionERb:
 8367|     69|{
 8368|     69|    if (symbolTable.isFunctionNameVariable(call.getName())) {
  ------------------
  |  Branch (8368:9): [True: 1, False: 68]
  ------------------
 8369|      1|        error(loc, "can't use function syntax on variable", call.getName().c_str(), "");
 8370|      1|        return nullptr;
 8371|      1|    }
 8372|       |
 8373|     68|    const TFunction* function = nullptr;
 8374|       |
 8375|       |    // debugPrintfEXT has var args and is in the symbol table as "debugPrintfEXT()",
 8376|       |    // mangled to "debugPrintfEXT("
 8377|     68|    if (call.getName() == "debugPrintfEXT") {
  ------------------
  |  Branch (8377:9): [True: 0, False: 68]
  ------------------
 8378|      0|        TSymbol* symbol = symbolTable.find("debugPrintfEXT(", &builtIn);
 8379|      0|        if (symbol)
  ------------------
  |  Branch (8379:13): [True: 0, False: 0]
  ------------------
 8380|      0|            return symbol->getAsFunction();
 8381|      0|    }
 8382|       |    // abortEXT has usage (var args) as similar as debugPrintfEXT.
 8383|     68|    if (call.getName() == "abortEXT") {
  ------------------
  |  Branch (8383:9): [True: 0, False: 68]
  ------------------
 8384|      0|        TSymbol* symbol = symbolTable.find("abortEXT(", &builtIn);
 8385|      0|        if (symbol)
  ------------------
  |  Branch (8385:13): [True: 0, False: 0]
  ------------------
 8386|      0|            return symbol->getAsFunction();
 8387|      0|    }
 8388|       |
 8389|       |    // coopMatPerElementNV is variadic. There is some function signature error
 8390|       |    // checking in handleCoopMat2FunctionCall.
 8391|     68|    if (call.getName() == "coopMatPerElementNV") {
  ------------------
  |  Branch (8391:9): [True: 0, False: 68]
  ------------------
 8392|      0|        TSymbol* symbol = symbolTable.find("coopMatPerElementNV(", &builtIn);
 8393|      0|        if (symbol)
  ------------------
  |  Branch (8393:13): [True: 0, False: 0]
  ------------------
 8394|      0|            return symbol->getAsFunction();
 8395|      0|    }
 8396|       |
 8397|     68|    if (call.getName() == "saturatedConvertEXT") {
  ------------------
  |  Branch (8397:9): [True: 0, False: 68]
  ------------------
 8398|      0|        TSymbol* symbol = symbolTable.find("saturatedConvertEXT(", &builtIn);
 8399|      0|        if (symbol)
  ------------------
  |  Branch (8399:13): [True: 0, False: 0]
  ------------------
 8400|      0|            return symbol->getAsFunction();
 8401|      0|    }
 8402|       |
 8403|     68|    bool explicitTypesEnabled = extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (8403:33): [True: 0, False: 68]
  ------------------
 8404|     68|                                extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int8) ||
  ------------------
  |  Branch (8404:33): [True: 0, False: 68]
  ------------------
 8405|     68|                                extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int16) ||
  ------------------
  |  Branch (8405:33): [True: 0, False: 68]
  ------------------
 8406|     68|                                extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int32) ||
  ------------------
  |  Branch (8406:33): [True: 0, False: 68]
  ------------------
 8407|     68|                                extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int64) ||
  ------------------
  |  Branch (8407:33): [True: 0, False: 68]
  ------------------
 8408|     68|                                extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float16) ||
  ------------------
  |  Branch (8408:33): [True: 0, False: 68]
  ------------------
 8409|     68|                                extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float32) ||
  ------------------
  |  Branch (8409:33): [True: 0, False: 68]
  ------------------
 8410|     68|                                extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float64);
  ------------------
  |  Branch (8410:33): [True: 0, False: 68]
  ------------------
 8411|       |
 8412|     68|    if (isEsProfile())
  ------------------
  |  Branch (8412:9): [True: 0, False: 68]
  ------------------
 8413|      0|        function = (explicitTypesEnabled && version >= 310)
  ------------------
  |  Branch (8413:21): [True: 0, False: 0]
  |  Branch (8413:45): [True: 0, False: 0]
  ------------------
 8414|      0|                   ? findFunctionExplicitTypes(loc, call, builtIn)
 8415|      0|                   : ((extensionTurnedOn(E_GL_EXT_shader_implicit_conversions) && version >= 310)
  ------------------
  |  Branch (8415:24): [True: 0, False: 0]
  |  Branch (8415:83): [True: 0, False: 0]
  ------------------
 8416|      0|                      ? findFunction120(loc, call, builtIn)
 8417|      0|                      : findFunctionExact(loc, call, builtIn));
 8418|     68|    else if (version < 120)
  ------------------
  |  Branch (8418:14): [True: 0, False: 68]
  ------------------
 8419|      0|        function = findFunctionExact(loc, call, builtIn);
 8420|     68|    else if (version < 400) {
  ------------------
  |  Branch (8420:14): [True: 0, False: 68]
  ------------------
 8421|      0|        bool needfindFunction400 = extensionTurnedOn(E_GL_ARB_gpu_shader_fp64)
  ------------------
  |  Branch (8421:36): [True: 0, False: 0]
  ------------------
 8422|      0|                                  || extensionTurnedOn(E_GL_ARB_gpu_shader5)
  ------------------
  |  Branch (8422:38): [True: 0, False: 0]
  ------------------
 8423|      0|                                  || extensionTurnedOn(E_GL_NV_gpu_shader5);
  ------------------
  |  Branch (8423:38): [True: 0, False: 0]
  ------------------
 8424|      0|        function = needfindFunction400 ? findFunction400(loc, call, builtIn) : findFunction120(loc, call, builtIn);
  ------------------
  |  Branch (8424:20): [True: 0, False: 0]
  ------------------
 8425|      0|    }
 8426|     68|    else if (explicitTypesEnabled)
  ------------------
  |  Branch (8426:14): [True: 0, False: 68]
  ------------------
 8427|      0|        function = findFunctionExplicitTypes(loc, call, builtIn);
 8428|     68|    else
 8429|     68|        function = findFunction400(loc, call, builtIn);
 8430|       |
 8431|     68|    return function;
 8432|     68|}
_ZN7glslang13TParseContext15findFunction400ERKNS_10TSourceLocERKNS_9TFunctionERb:
 8557|     68|{
 8558|       |    // first, look for an exact match
 8559|     68|    TSymbol* symbol = symbolTable.find(call.getMangledName(), &builtIn);
 8560|     68|    if (symbol)
  ------------------
  |  Branch (8560:9): [True: 0, False: 68]
  ------------------
 8561|      0|        return symbol->getAsFunction();
 8562|       |
 8563|       |    // no exact match, use the generic selector, parameterized by the GLSL rules
 8564|       |
 8565|       |    // create list of candidates to send
 8566|     68|    TVector<const TFunction*> candidateList;
 8567|     68|    symbolTable.findFunctionNameList(call.getMangledName(), candidateList, builtIn);
 8568|       |
 8569|       |    // can 'from' convert to 'to'?
 8570|     68|    const auto convertible = [this,builtIn](const TType& from, const TType& to, TOperator op, int param) -> bool {
 8571|     68|        if (from == to)
 8572|     68|            return true;
 8573|     68|        if (from.coopMatParameterOK(to))
 8574|     68|            return true;
 8575|     68|        if (from.tensorParameterOK(to))
 8576|     68|            return true;
 8577|     68|        if (from.getBasicType() == EbtFunction && to.getBasicType() == EbtFunction)
 8578|     68|            return true;
 8579|     68|        if (from.coopVecParameterOK(to))
 8580|     68|            return true;
 8581|       |        // Allow a sized array to be passed through an unsized array parameter, for coopMatLoad/Store functions
 8582|     68|        if (builtIn && from.isArray() && to.isUnsizedArray()) {
 8583|     68|            TType fromElementType(from, 0);
 8584|     68|            TType toElementType(to, 0);
 8585|       |            // Load/store tensor functions allow any element type for the pointer
 8586|     68|            if ((op == EOpCooperativeMatrixLoadTensorNV || op == EOpCooperativeMatrixStoreTensorNV) &&
 8587|     68|                param == 1) {
 8588|     68|                return true;
 8589|     68|            }
 8590|     68|            if (fromElementType == toElementType)
 8591|     68|                return true;
 8592|     68|        }
 8593|     68|        if (TType::vectorAndLongVectorMatch(from, to))
 8594|     68|            return true;
 8595|     68|        if (from.isArray() || to.isArray() || ! from.sameElementShape(to))
 8596|     68|            return false;
 8597|     68|        if (from.isCoopMat() && to.isCoopMat())
 8598|     68|            return from.sameCoopMatBaseType(to);
 8599|     68|        if (from.isCoopVecNV() && to.isCoopVecNV())
 8600|     68|            return from.sameCoopVecBaseType(to);
 8601|     68|        if (from.isLongVector() && to.isLongVector())
 8602|     68|            return from.sameLongVectorBaseType(to);
 8603|     68|        if (from.isTensorARM() && to.isTensorARM())
 8604|     68|            return from.sameTensorBaseTypeARM(to);
 8605|     68|        return intermediate.canImplicitlyPromote(from.getBasicType(), to.getBasicType());
 8606|     68|    };
 8607|       |
 8608|       |    // Is 'to2' a better conversion than 'to1'?
 8609|       |    // Ties should not be considered as better.
 8610|       |    // Assumes 'convertible' already said true.
 8611|     68|    const auto better = [&](const TType& from, const TType& to1, const TType& to2) -> bool {
 8612|       |        // 1. exact match
 8613|     68|        bool to2Matches = from == to2 || (from.isLongVector() && to2.getBasicType() == EbtLongVector);
 8614|     68|        bool to1Matches = from == to1 || (from.isLongVector() && to1.getBasicType() == EbtLongVector);
 8615|     68|        if (to2Matches)
 8616|     68|            return !to1Matches;
 8617|     68|        if (to1Matches)
 8618|     68|            return false;
 8619|       |
 8620|     68|        if (extensionTurnedOn(E_GL_NV_gpu_shader5)) {
 8621|       |            // This map refers to the conversion table mentioned under the 
 8622|       |            // section "Modify Section 6.1, Function Definitions, p. 63" in NV_gpu_shader5 spec
 8623|     68|            const static std::map<int, std::vector<int>> conversionTable = {
 8624|     68|                {EbtInt8,   {EbtInt, EbtInt64}},
 8625|     68|                {EbtInt16,  {EbtInt, EbtInt64}},
 8626|     68|                {EbtInt,    {EbtInt64}},
 8627|     68|                {EbtUint8,  {EbtUint, EbtUint64}}, 
 8628|     68|                {EbtUint16, {EbtUint, EbtUint64}}, 
 8629|     68|                {EbtUint,   {EbtUint64}},
 8630|     68|            };
 8631|     68|            auto source = conversionTable.find(from.getBasicType());
 8632|     68|            if (source != conversionTable.end()) {
 8633|     68|                for (auto destination : source->second) {
 8634|     68|                    if (to2.getBasicType() == destination &&
 8635|     68|                        to1.getBasicType() != destination) // to2 is better then to1
 8636|     68|                        return true;
 8637|     68|                    else if (to1.getBasicType() == destination &&
 8638|     68|                             to2.getBasicType() != destination) // This means to1 is better then to2
 8639|     68|                        return false;
 8640|     68|                }
 8641|     68|            }
 8642|     68|        }
 8643|       |        // 2. float -> double is better
 8644|     68|        if (from.getBasicType() == EbtFloat) {
 8645|     68|            if (to2.getBasicType() == EbtDouble && to1.getBasicType() != EbtDouble)
 8646|     68|                return true;
 8647|     68|        }
 8648|       |
 8649|       |        // 3. -> float is better than -> double
 8650|     68|        return to2.getBasicType() == EbtFloat && to1.getBasicType() == EbtDouble;
 8651|     68|    };
 8652|       |
 8653|       |    // for ambiguity reporting
 8654|     68|    bool tie = false;
 8655|       |
 8656|       |    // send to the generic selector
 8657|     68|    const TFunction* bestMatch = selectFunction(candidateList, call, convertible, better, tie);
 8658|       |
 8659|     68|    if (bestMatch == nullptr)
  ------------------
  |  Branch (8659:9): [True: 68, False: 0]
  ------------------
 8660|     68|        error(loc, "no matching overloaded function found", call.getName().c_str(), "");
 8661|      0|    else if (tie)
  ------------------
  |  Branch (8661:14): [True: 0, False: 0]
  ------------------
 8662|      0|        error(loc, "ambiguous best function under implicit type conversion", call.getName().c_str(), "");
 8663|       |
 8664|     68|    return bestMatch;
 8665|     68|}
_ZN7glslang13TParseContext19declareTypeDefaultsERKNS_10TSourceLocERKNS_11TPublicTypeE:
 8843|    316|{
 8844|    316|    if (publicType.basicType == EbtAtomicUint && publicType.qualifier.hasBinding()) {
  ------------------
  |  Branch (8844:9): [True: 0, False: 316]
  |  Branch (8844:50): [True: 0, False: 0]
  ------------------
 8845|      0|        if (publicType.qualifier.layoutBinding >= (unsigned int)resources.maxAtomicCounterBindings) {
  ------------------
  |  Branch (8845:13): [True: 0, False: 0]
  ------------------
 8846|      0|            error(loc, "atomic_uint binding is too large", "binding", "");
 8847|      0|            return;
 8848|      0|        }
 8849|      0|        if (publicType.qualifier.hasOffset())
  ------------------
  |  Branch (8849:13): [True: 0, False: 0]
  ------------------
 8850|      0|            atomicUintOffsets[publicType.qualifier.layoutBinding] = publicType.qualifier.layoutOffset;
 8851|      0|        return;
 8852|      0|    }
 8853|       |
 8854|    316|    if (publicType.arraySizes) {
  ------------------
  |  Branch (8854:9): [True: 0, False: 316]
  ------------------
 8855|      0|        error(loc, "expect an array name", "", "");
 8856|      0|    }
 8857|       |
 8858|    316|    if (publicType.qualifier.hasLayout() && !publicType.qualifier.hasBufferReference())
  ------------------
  |  Branch (8858:9): [True: 0, False: 316]
  |  Branch (8858:45): [True: 0, False: 0]
  ------------------
 8859|      0|        warn(loc, "useless application of layout qualifier", "layout", "");
 8860|    316|}
_ZN7glslang13TParseContext19typeParametersCheckERKNS_10TSourceLocERKNS_11TPublicTypeE:
 8863|  1.39M|{
 8864|  1.39M|    if (parsingBuiltins)
  ------------------
  |  Branch (8864:9): [True: 1.39M, False: 6.48k]
  ------------------
 8865|  1.39M|        return;
 8866|  6.48k|    if (publicType.isCoopmatKHR()) {
  ------------------
  |  Branch (8866:9): [True: 0, False: 6.48k]
  ------------------
 8867|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (8867:13): [True: 0, False: 0]
  ------------------
 8868|      0|            error(loc, "coopmat missing type parameters", "", "");
 8869|      0|            return;
 8870|      0|        }
 8871|      0|        switch (publicType.typeParameters->basicType) {
 8872|      0|        case EbtFloat:
  ------------------
  |  Branch (8872:9): [True: 0, False: 0]
  ------------------
 8873|      0|        case EbtFloat16:
  ------------------
  |  Branch (8873:9): [True: 0, False: 0]
  ------------------
 8874|      0|        case EbtBFloat16:
  ------------------
  |  Branch (8874:9): [True: 0, False: 0]
  ------------------
 8875|      0|        case EbtFloatE5M2:
  ------------------
  |  Branch (8875:9): [True: 0, False: 0]
  ------------------
 8876|      0|        case EbtFloatE4M3:
  ------------------
  |  Branch (8876:9): [True: 0, False: 0]
  ------------------
 8877|      0|        case EbtInt:
  ------------------
  |  Branch (8877:9): [True: 0, False: 0]
  ------------------
 8878|      0|        case EbtInt8:
  ------------------
  |  Branch (8878:9): [True: 0, False: 0]
  ------------------
 8879|      0|        case EbtInt16:
  ------------------
  |  Branch (8879:9): [True: 0, False: 0]
  ------------------
 8880|      0|        case EbtUint:
  ------------------
  |  Branch (8880:9): [True: 0, False: 0]
  ------------------
 8881|      0|        case EbtUint8:
  ------------------
  |  Branch (8881:9): [True: 0, False: 0]
  ------------------
 8882|      0|        case EbtUint16:
  ------------------
  |  Branch (8882:9): [True: 0, False: 0]
  ------------------
 8883|      0|        case EbtSpirvType:
  ------------------
  |  Branch (8883:9): [True: 0, False: 0]
  ------------------
 8884|      0|            break;
 8885|      0|        default:
  ------------------
  |  Branch (8885:9): [True: 0, False: 0]
  ------------------
 8886|      0|            error(loc, "coopmat invalid basic type", TType::getBasicString(publicType.typeParameters->basicType), "");
 8887|      0|            break;
 8888|      0|        }
 8889|      0|        if (publicType.typeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (8889:13): [True: 0, False: 0]
  ------------------
 8890|      0|            error(loc, "coopmat incorrect number of type parameters", "", "");
 8891|      0|            return;
 8892|      0|        }
 8893|      0|        int use = publicType.typeParameters->arraySizes->getDimSize(3);
 8894|      0|        if (use < 0 || use > 2) {
  ------------------
  |  Branch (8894:13): [True: 0, False: 0]
  |  Branch (8894:24): [True: 0, False: 0]
  ------------------
 8895|      0|            error(loc, "coopmat invalid matrix Use", "", "");
 8896|      0|            return;
 8897|      0|        }
 8898|      0|    }
 8899|  6.48k|    if (publicType.isTensorLayoutNV()) {
  ------------------
  |  Branch (8899:9): [True: 0, False: 6.48k]
  ------------------
 8900|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (8900:13): [True: 0, False: 0]
  ------------------
 8901|      0|            error(loc, "tensorLayout missing type parameters", "", "");
 8902|      0|            return;
 8903|      0|        }
 8904|      0|        if (publicType.typeParameters->arraySizes->getNumDims() > 2) {
  ------------------
  |  Branch (8904:13): [True: 0, False: 0]
  ------------------
 8905|      0|            error(loc, "tensorLayout incorrect number of type parameters", "", "");
 8906|      0|            return;
 8907|      0|        }
 8908|      0|        if (publicType.typeParameters && publicType.typeParameters->arraySizes->getNumDims() < 2) {
  ------------------
  |  Branch (8908:13): [True: 0, False: 0]
  |  Branch (8908:42): [True: 0, False: 0]
  ------------------
 8909|      0|            while (publicType.typeParameters->arraySizes->getNumDims() < 2) {
  ------------------
  |  Branch (8909:20): [True: 0, False: 0]
  ------------------
 8910|      0|                publicType.typeParameters->arraySizes->addInnerSize(0);
 8911|      0|            }
 8912|      0|        }
 8913|      0|    }
 8914|  6.48k|    if (publicType.isTensorViewNV()) {
  ------------------
  |  Branch (8914:9): [True: 0, False: 6.48k]
  ------------------
 8915|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (8915:13): [True: 0, False: 0]
  ------------------
 8916|      0|            error(loc, "tensorView missing type parameters", "", "");
 8917|      0|            return;
 8918|      0|        }
 8919|      0|        if (publicType.typeParameters->arraySizes->getNumDims() < 1 ||
  ------------------
  |  Branch (8919:13): [True: 0, False: 0]
  ------------------
 8920|      0|            publicType.typeParameters->arraySizes->getNumDims() > 7) {
  ------------------
  |  Branch (8920:13): [True: 0, False: 0]
  ------------------
 8921|      0|            error(loc, "tensorView incorrect number of type parameters", "", "");
 8922|      0|            return;
 8923|      0|        }
 8924|      0|        if (publicType.typeParameters && publicType.typeParameters->arraySizes->getNumDims() < 7) {
  ------------------
  |  Branch (8924:13): [True: 0, False: 0]
  |  Branch (8924:42): [True: 0, False: 0]
  ------------------
 8925|      0|            uint32_t numDims = publicType.typeParameters->arraySizes->getNumDims();
 8926|      0|            while (numDims < 7) {
  ------------------
  |  Branch (8926:20): [True: 0, False: 0]
  ------------------
 8927|      0|                uint32_t dim = (numDims == 1) ? 0 : (numDims - 2);
  ------------------
  |  Branch (8927:32): [True: 0, False: 0]
  ------------------
 8928|      0|                publicType.typeParameters->arraySizes->addInnerSize(dim);
 8929|      0|                numDims++;
 8930|      0|            }
 8931|      0|        }
 8932|      0|    }
 8933|  6.48k|    if (publicType.isTensorARM()) {
  ------------------
  |  Branch (8933:9): [True: 0, False: 6.48k]
  ------------------
 8934|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (8934:13): [True: 0, False: 0]
  ------------------
 8935|      0|            error(loc, "tensor type is missing type parameters", "", "");
 8936|      0|            return;
 8937|      0|        }
 8938|      0|        if (publicType.typeParameters->arraySizes == nullptr) {
  ------------------
  |  Branch (8938:13): [True: 0, False: 0]
  ------------------
 8939|      0|            error(loc, "tensor type is missing rank information", "", "");
 8940|      0|            return;
 8941|      0|        }
 8942|      0|        if (publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (8942:13): [True: 0, False: 0]
  ------------------
 8943|      0|            error(loc, "tensor type requires exactly 1 rank specifier", "", "");
 8944|      0|            return;
 8945|      0|        }
 8946|      0|        if (publicType.typeParameters->arraySizes->getDimSize(0) < 1) {
  ------------------
  |  Branch (8946:13): [True: 0, False: 0]
  ------------------
 8947|      0|            error(loc, "tensor rank must be greater than or equal to 1", "", "");
 8948|      0|            return;
 8949|      0|        }
 8950|      0|    }
 8951|  6.48k|    if (publicType.isLongVector() && !isValidLongVectorElseError(loc, publicType)) {
  ------------------
  |  Branch (8951:9): [True: 0, False: 6.48k]
  |  Branch (8951:38): [True: 0, False: 0]
  ------------------
 8952|      0|        return;
 8953|      0|    }
 8954|  6.48k|}
_ZN7glslang13TParseContext15declareVariableERKNS_10TSourceLocERNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_11TPublicTypeEPNS_11TArraySizesEPNS_12TIntermTypedE:
 9322|  15.9k|{
 9323|       |    // Make a fresh type that combines the characteristics from the individual
 9324|       |    // identifier syntax and the declaration-type syntax.
 9325|  15.9k|    TType type(publicType);
 9326|  15.9k|    type.transferArraySizes(arraySizes);
 9327|  15.9k|    type.copyArrayInnerSizes(publicType.arraySizes);
 9328|  15.9k|    arrayOfArrayVersionCheck(loc, type.getArraySizes());
 9329|       |
 9330|  15.9k|    if (initializer) {
  ------------------
  |  Branch (9330:9): [True: 4.12k, False: 11.8k]
  ------------------
 9331|  4.12k|        if (type.getBasicType() == EbtRayQuery) {
  ------------------
  |  Branch (9331:13): [True: 0, False: 4.12k]
  ------------------
 9332|      0|            error(loc, "ray queries can only be initialized by using the rayQueryInitializeEXT intrinsic:", "=", identifier.c_str());
 9333|  4.12k|        } else if ((type.getBasicType() == EbtHitObjectNV) || (type.getBasicType() == EbtHitObjectEXT)) {
  ------------------
  |  Branch (9333:20): [True: 0, False: 4.12k]
  |  Branch (9333:63): [True: 0, False: 4.12k]
  ------------------
 9334|      0|            error(loc, "hit objects cannot be initialized using initializers", "=", identifier.c_str());
 9335|      0|        }
 9336|       |
 9337|  4.12k|    }
 9338|       |
 9339|  15.9k|    if (type.isCoopMatKHR()) {
  ------------------
  |  Branch (9339:9): [True: 0, False: 15.9k]
  ------------------
 9340|      0|        intermediate.setUseVulkanMemoryModel();
 9341|      0|        intermediate.setUseStorageBuffer();
 9342|       |
 9343|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes ||
  ------------------
  |  Branch (9343:13): [True: 0, False: 0]
  |  Branch (9343:43): [True: 0, False: 0]
  ------------------
 9344|      0|            publicType.typeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (9344:13): [True: 0, False: 0]
  ------------------
 9345|      0|            error(loc, "unexpected number type parameters", identifier.c_str(), "");
 9346|      0|        }
 9347|      0|        if (publicType.typeParameters) {
  ------------------
  |  Branch (9347:13): [True: 0, False: 0]
  ------------------
 9348|      0|            if (!isTypeFloat(publicType.typeParameters->basicType) &&
  ------------------
  |  Branch (9348:17): [True: 0, False: 0]
  ------------------
 9349|      0|                !isTypeInt(publicType.typeParameters->basicType) && publicType.typeParameters->basicType != EbtSpirvType) {
  ------------------
  |  Branch (9349:17): [True: 0, False: 0]
  |  Branch (9349:69): [True: 0, False: 0]
  ------------------
 9350|      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(), "");
 9351|      0|            }
 9352|      0|        }
 9353|      0|    }
 9354|  15.9k|    else if (type.isCoopMatNV()) {
  ------------------
  |  Branch (9354:14): [True: 0, False: 15.9k]
  ------------------
 9355|      0|        intermediate.setUseVulkanMemoryModel();
 9356|      0|        intermediate.setUseStorageBuffer();
 9357|       |
 9358|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes || publicType.typeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (9358:13): [True: 0, False: 0]
  |  Branch (9358:43): [True: 0, False: 0]
  |  Branch (9358:85): [True: 0, False: 0]
  ------------------
 9359|      0|            error(loc, "expected four type parameters", identifier.c_str(), "");
 9360|      0|        } else {
 9361|      0|            if (isTypeFloat(publicType.basicType) &&
  ------------------
  |  Branch (9361:17): [True: 0, False: 0]
  ------------------
 9362|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 16 &&
  ------------------
  |  Branch (9362:17): [True: 0, False: 0]
  ------------------
 9363|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 32 &&
  ------------------
  |  Branch (9363:17): [True: 0, False: 0]
  ------------------
 9364|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 64) {
  ------------------
  |  Branch (9364:17): [True: 0, False: 0]
  ------------------
 9365|      0|                error(loc, "expected 16, 32, or 64 bits for first type parameter", identifier.c_str(), "");
 9366|      0|            }
 9367|      0|            if (isTypeInt(publicType.basicType) &&
  ------------------
  |  Branch (9367:17): [True: 0, False: 0]
  ------------------
 9368|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 8 &&
  ------------------
  |  Branch (9368:17): [True: 0, False: 0]
  ------------------
 9369|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 16 &&
  ------------------
  |  Branch (9369:17): [True: 0, False: 0]
  ------------------
 9370|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 32) {
  ------------------
  |  Branch (9370:17): [True: 0, False: 0]
  ------------------
 9371|      0|                error(loc, "expected 8, 16, or 32 bits for first type parameter", identifier.c_str(), "");
 9372|      0|            }
 9373|      0|        }
 9374|  15.9k|    } else if (type.isTensorLayoutNV()) {
  ------------------
  |  Branch (9374:16): [True: 0, False: 15.9k]
  ------------------
 9375|      0|        if (!publicType.typeParameters || publicType.typeParameters->arraySizes->getNumDims() > 2) {
  ------------------
  |  Branch (9375:13): [True: 0, False: 0]
  |  Branch (9375:43): [True: 0, False: 0]
  ------------------
 9376|      0|            error(loc, "expected 1-2 type parameters", identifier.c_str(), "");
 9377|      0|        }
 9378|  15.9k|    } else if (type.isTensorViewNV()) {
  ------------------
  |  Branch (9378:16): [True: 0, False: 15.9k]
  ------------------
 9379|      0|        if (!publicType.typeParameters || publicType.typeParameters->arraySizes->getNumDims() > 7) {
  ------------------
  |  Branch (9379:13): [True: 0, False: 0]
  |  Branch (9379:43): [True: 0, False: 0]
  ------------------
 9380|      0|            error(loc, "expected 1-7 type parameters", identifier.c_str(), "");
 9381|      0|        }
 9382|  15.9k|    } else if (type.isCoopVecNV()) {
  ------------------
  |  Branch (9382:16): [True: 0, False: 15.9k]
  ------------------
 9383|      0|        intermediate.setUseVulkanMemoryModel();
 9384|      0|        intermediate.setUseStorageBuffer();
 9385|       |
 9386|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes || publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9386:13): [True: 0, False: 0]
  |  Branch (9386:43): [True: 0, False: 0]
  |  Branch (9386:85): [True: 0, False: 0]
  ------------------
 9387|      0|            error(loc, "expected two type parameters", identifier.c_str(), "");
 9388|      0|        } else if (publicType.typeParameters->arraySizes->getDimNode(0) == nullptr && publicType.typeParameters->arraySizes->getDimSize(0) <= 0) {
  ------------------
  |  Branch (9388:20): [True: 0, False: 0]
  |  Branch (9388:87): [True: 0, False: 0]
  ------------------
 9389|      0|            error(loc, "expected positive number of components", identifier.c_str(), "");
 9390|      0|        }
 9391|  15.9k|    } else if (type.isLongVector()) {
  ------------------
  |  Branch (9391:16): [True: 0, False: 15.9k]
  ------------------
 9392|      0|        intermediate.setUseStorageBuffer();
 9393|       |
 9394|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes || publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9394:13): [True: 0, False: 0]
  |  Branch (9394:43): [True: 0, False: 0]
  |  Branch (9394:85): [True: 0, False: 0]
  ------------------
 9395|      0|            error(loc, "expected two type parameters", identifier.c_str(), "");
 9396|      0|        } else if (publicType.typeParameters->arraySizes->getDimNode(0) == nullptr && publicType.typeParameters->arraySizes->getDimSize(0) <= 0) {
  ------------------
  |  Branch (9396:20): [True: 0, False: 0]
  |  Branch (9396:87): [True: 0, False: 0]
  ------------------
 9397|      0|            error(loc, "expected positive number of components", identifier.c_str(), "");
 9398|      0|        }
 9399|  15.9k|    } else if (type.isTensorARM()) {
  ------------------
  |  Branch (9399:16): [True: 0, False: 15.9k]
  ------------------
 9400|      0|        intermediate.setUseStorageBuffer();
 9401|       |
 9402|      0|        if (!publicType.typeParameters || publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9402:13): [True: 0, False: 0]
  |  Branch (9402:43): [True: 0, False: 0]
  ------------------
 9403|      0|            error(loc, "expected two type parameters", identifier.c_str(), "");
 9404|      0|        }
 9405|      0|        if (publicType.typeParameters) {
  ------------------
  |  Branch (9405:13): [True: 0, False: 0]
  ------------------
 9406|      0|            if (publicType.typeParameters->basicType != EbtBool &&
  ------------------
  |  Branch (9406:17): [True: 0, False: 0]
  ------------------
 9407|      0|                publicType.typeParameters->basicType != EbtInt8 &&
  ------------------
  |  Branch (9407:17): [True: 0, False: 0]
  ------------------
 9408|      0|                publicType.typeParameters->basicType != EbtInt16 &&
  ------------------
  |  Branch (9408:17): [True: 0, False: 0]
  ------------------
 9409|      0|                publicType.typeParameters->basicType != EbtInt &&
  ------------------
  |  Branch (9409:17): [True: 0, False: 0]
  ------------------
 9410|      0|                publicType.typeParameters->basicType != EbtInt64 &&
  ------------------
  |  Branch (9410:17): [True: 0, False: 0]
  ------------------
 9411|      0|                publicType.typeParameters->basicType != EbtUint8 &&
  ------------------
  |  Branch (9411:17): [True: 0, False: 0]
  ------------------
 9412|      0|                publicType.typeParameters->basicType != EbtUint16 &&
  ------------------
  |  Branch (9412:17): [True: 0, False: 0]
  ------------------
 9413|      0|                publicType.typeParameters->basicType != EbtUint &&
  ------------------
  |  Branch (9413:17): [True: 0, False: 0]
  ------------------
 9414|      0|                publicType.typeParameters->basicType != EbtUint64 &&
  ------------------
  |  Branch (9414:17): [True: 0, False: 0]
  ------------------
 9415|      0|                publicType.typeParameters->basicType != EbtFloat16 &&
  ------------------
  |  Branch (9415:17): [True: 0, False: 0]
  ------------------
 9416|      0|                publicType.typeParameters->basicType != EbtFloat &&
  ------------------
  |  Branch (9416:17): [True: 0, False: 0]
  ------------------
 9417|      0|                publicType.typeParameters->basicType != EbtDouble &&
  ------------------
  |  Branch (9417:17): [True: 0, False: 0]
  ------------------
 9418|      0|                publicType.typeParameters->basicType != EbtBFloat16 &&
  ------------------
  |  Branch (9418:17): [True: 0, False: 0]
  ------------------
 9419|      0|                publicType.typeParameters->basicType != EbtFloatE5M2 &&
  ------------------
  |  Branch (9419:17): [True: 0, False: 0]
  ------------------
 9420|      0|                publicType.typeParameters->basicType != EbtFloatE4M3) {
  ------------------
  |  Branch (9420:17): [True: 0, False: 0]
  ------------------
 9421|      0|                error(loc, "expected bool, integer or floating point type parameter", identifier.c_str(), "");
 9422|      0|            }
 9423|       |
 9424|      0|            if (publicType.typeParameters->basicType == EbtBFloat16) {
  ------------------
  |  Branch (9424:17): [True: 0, False: 0]
  ------------------
 9425|      0|                requireExtensions(loc, 1, &E_GL_ARM_tensors_bfloat16, "tensor with bfloat16_t type");
 9426|      0|            }
 9427|       |
 9428|      0|            if (publicType.typeParameters->basicType == EbtFloatE5M2) {
  ------------------
  |  Branch (9428:17): [True: 0, False: 0]
  ------------------
 9429|      0|                requireExtensions(loc, 1, &E_GL_ARM_tensors_float_e5m2, "tensor with floate5m2_t type");
 9430|      0|            }
 9431|       |
 9432|      0|            if (publicType.typeParameters->basicType == EbtFloatE4M3) {
  ------------------
  |  Branch (9432:17): [True: 0, False: 0]
  ------------------
 9433|      0|                requireExtensions(loc, 1, &E_GL_ARM_tensors_float_e4m3, "tensor with floate4m3_t type");
 9434|      0|            }
 9435|      0|        }
 9436|  15.9k|    } else {
 9437|  15.9k|        if (publicType.typeParameters && publicType.typeParameters->arraySizes->getNumDims() != 0) {
  ------------------
  |  Branch (9437:13): [True: 0, False: 15.9k]
  |  Branch (9437:42): [True: 0, False: 0]
  ------------------
 9438|      0|            error(loc, "unexpected type parameters", identifier.c_str(), "");
 9439|      0|        }
 9440|  15.9k|    }
 9441|       |
 9442|  15.9k|    if (voidErrorCheck(loc, identifier, type.getBasicType()))
  ------------------
  |  Branch (9442:9): [True: 0, False: 15.9k]
  ------------------
 9443|      0|        return nullptr;
 9444|       |
 9445|  15.9k|    if (initializer)
  ------------------
  |  Branch (9445:9): [True: 4.12k, False: 11.8k]
  ------------------
 9446|  4.12k|        rValueErrorCheck(loc, "initializer", initializer);
 9447|  11.8k|    else
 9448|  11.8k|        nonInitConstCheck(loc, identifier, type);
 9449|       |
 9450|  15.9k|    samplerCheck(loc, type, identifier, initializer);
 9451|  15.9k|    transparentOpaqueCheck(loc, type, identifier);
 9452|  15.9k|    atomicUintCheck(loc, type, identifier);
 9453|  15.9k|    accStructCheck(loc, type, identifier);
 9454|  15.9k|    hitObjectNVCheck(loc, type, identifier);
 9455|  15.9k|    hitObjectEXTCheck(loc, type, identifier);
 9456|  15.9k|    checkAndResizeMeshViewDim(loc, type, /*isBlockMember*/ false);
 9457|  15.9k|    if (type.getQualifier().storage == EvqConst && type.containsReference()) {
  ------------------
  |  Branch (9457:9): [True: 4.12k, False: 11.8k]
  |  Branch (9457:52): [True: 0, False: 4.12k]
  ------------------
 9458|      0|        error(loc, "variables with reference type can't have qualifier 'const'", "qualifier", "");
 9459|      0|    }
 9460|       |
 9461|  15.9k|    if (type.getQualifier().storage != EvqUniform && type.getQualifier().storage != EvqBuffer) {
  ------------------
  |  Branch (9461:9): [True: 15.5k, False: 432]
  |  Branch (9461:54): [True: 15.5k, False: 0]
  ------------------
 9462|  15.5k|        if (type.contains16BitFloat())
  ------------------
  |  Branch (9462:13): [True: 0, False: 15.5k]
  ------------------
 9463|      0|            requireFloat16Arithmetic(loc, "qualifier", "float16 types can only be in uniform block or buffer storage");
 9464|  15.5k|        if (type.contains16BitInt())
  ------------------
  |  Branch (9464:13): [True: 0, False: 15.5k]
  ------------------
 9465|      0|            requireInt16Arithmetic(loc, "qualifier", "(u)int16 types can only be in uniform block or buffer storage");
 9466|  15.5k|        if (type.contains8BitInt())
  ------------------
  |  Branch (9466:13): [True: 0, False: 15.5k]
  ------------------
 9467|      0|            requireInt8Arithmetic(loc, "qualifier", "(u)int8 types can only be in uniform block or buffer storage");
 9468|  15.5k|    }
 9469|  15.9k|    if (type.getBasicType() == EbtBFloat16 &&
  ------------------
  |  Branch (9469:9): [True: 0, False: 15.9k]
  ------------------
 9470|      0|        (type.getQualifier().storage == EvqVaryingIn || type.getQualifier().storage == EvqVaryingOut))
  ------------------
  |  Branch (9470:10): [True: 0, False: 0]
  |  Branch (9470:57): [True: 0, False: 0]
  ------------------
 9471|      0|        error(loc, "qualifier", "bfloat16 types not allowed as input/output", "");
 9472|       |
 9473|  15.9k|    if ((type.getBasicType() == EbtFloatE5M2 || type.getBasicType() == EbtFloatE4M3) &&
  ------------------
  |  Branch (9473:10): [True: 0, False: 15.9k]
  |  Branch (9473:49): [True: 0, False: 15.9k]
  ------------------
 9474|      0|        (type.getQualifier().storage == EvqVaryingIn || type.getQualifier().storage == EvqVaryingOut))
  ------------------
  |  Branch (9474:10): [True: 0, False: 0]
  |  Branch (9474:57): [True: 0, False: 0]
  ------------------
 9475|      0|        error(loc, "qualifier", "fp8 types not allowed as input/output", "");
 9476|       |
 9477|  15.9k|    if (type.getQualifier().storage == EvqtaskPayloadSharedEXT)
  ------------------
  |  Branch (9477:9): [True: 0, False: 15.9k]
  ------------------
 9478|      0|        intermediate.addTaskPayloadEXTCount();
 9479|  15.9k|    if (type.getQualifier().storage == EvqShared && type.containsCoopMat())
  ------------------
  |  Branch (9479:9): [True: 0, False: 15.9k]
  |  Branch (9479:53): [True: 0, False: 0]
  ------------------
 9480|      0|        error(loc, "qualifier", "Cooperative matrix types must not be used in shared memory", "");
 9481|       |
 9482|  15.9k|    if (profile == EEsProfile) {
  ------------------
  |  Branch (9482:9): [True: 482, False: 15.4k]
  ------------------
 9483|    482|        if (type.getQualifier().isPipeInput() && type.getBasicType() == EbtStruct) {
  ------------------
  |  Branch (9483:13): [True: 4, False: 478]
  |  Branch (9483:50): [True: 0, False: 4]
  ------------------
 9484|      0|            if (type.getQualifier().isArrayedIo(language)) {
  ------------------
  |  Branch (9484:17): [True: 0, False: 0]
  ------------------
 9485|      0|                TType perVertexType(type, 0);
 9486|      0|                if (perVertexType.containsArray() && perVertexType.containsBuiltIn() == false) {
  ------------------
  |  Branch (9486:21): [True: 0, False: 0]
  |  Branch (9486:54): [True: 0, False: 0]
  ------------------
 9487|      0|                    error(loc, "A per vertex structure containing an array is not allowed as input in ES", type.getTypeName().c_str(), "");
 9488|      0|                }
 9489|      0|            }
 9490|      0|            else if (type.containsArray() && type.containsBuiltIn() == false) {
  ------------------
  |  Branch (9490:22): [True: 0, False: 0]
  |  Branch (9490:46): [True: 0, False: 0]
  ------------------
 9491|      0|                error(loc, "A structure containing an array is not allowed as input in ES", type.getTypeName().c_str(), "");
 9492|      0|            }
 9493|      0|            if (type.containsStructure())
  ------------------
  |  Branch (9493:17): [True: 0, False: 0]
  ------------------
 9494|      0|                error(loc, "A structure containing an struct is not allowed as input in ES", type.getTypeName().c_str(), "");
 9495|      0|        }
 9496|    482|    }
 9497|       |
 9498|  15.9k|    if (identifier != "gl_FragCoord" && (publicType.shaderQualifiers.originUpperLeft || publicType.shaderQualifiers.pixelCenterInteger))
  ------------------
  |  Branch (9498:9): [True: 15.9k, False: 28]
  |  Branch (9498:42): [True: 0, False: 15.9k]
  |  Branch (9498:89): [True: 0, False: 15.9k]
  ------------------
 9499|      0|        error(loc, "can only apply origin_upper_left and pixel_center_origin to gl_FragCoord", "layout qualifier", "");
 9500|  15.9k|    if (identifier != "gl_FragDepth" && publicType.shaderQualifiers.getDepth() != EldNone)
  ------------------
  |  Branch (9500:9): [True: 15.9k, False: 13]
  |  Branch (9500:41): [True: 0, False: 15.9k]
  ------------------
 9501|      0|        error(loc, "can only apply depth layout to gl_FragDepth", "layout qualifier", "");
 9502|  15.9k|    if (identifier != "gl_FragStencilRefARB" && publicType.shaderQualifiers.getStencil() != ElsNone)
  ------------------
  |  Branch (9502:9): [True: 15.9k, False: 12]
  |  Branch (9502:49): [True: 0, False: 15.9k]
  ------------------
 9503|      0|        error(loc, "can only apply depth layout to gl_FragStencilRefARB", "layout qualifier", "");
 9504|       |
 9505|       |    // Check for redeclaration of built-ins and/or attempting to declare a reserved name
 9506|  15.9k|    TSymbol* symbol = redeclareBuiltinVariable(loc, identifier, type.getQualifier(), publicType.shaderQualifiers);
 9507|  15.9k|    if (symbol == nullptr)
  ------------------
  |  Branch (9507:9): [True: 15.9k, False: 0]
  ------------------
 9508|  15.9k|        reservedErrorCheck(loc, identifier);
 9509|       |
 9510|  15.9k|    if (symbol == nullptr && spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (9510:9): [True: 15.9k, False: 0]
  |  Branch (9510:30): [True: 7.86k, False: 8.08k]
  |  Branch (9510:55): [True: 0, False: 7.86k]
  ------------------
 9511|      0|        bool remapped = vkRelaxedRemapUniformVariable(loc, identifier, publicType, arraySizes, initializer, type);
 9512|       |
 9513|      0|        if (remapped) {
  ------------------
  |  Branch (9513:13): [True: 0, False: 0]
  ------------------
 9514|      0|            return nullptr;
 9515|      0|        }
 9516|      0|    }
 9517|       |
 9518|  15.9k|    inheritGlobalDefaults(type.getQualifier());
 9519|       |
 9520|       |    // Declare the variable
 9521|  15.9k|    if (type.isArray()) {
  ------------------
  |  Branch (9521:9): [True: 647, False: 15.3k]
  ------------------
 9522|       |        // Check that implicit sizing is only where allowed.
 9523|    647|        arraySizesCheck(loc, type.getQualifier(), type.getArraySizes(), initializer, false);
 9524|       |
 9525|    647|        if (! arrayQualifierError(loc, type.getQualifier()) && ! arrayError(loc, type))
  ------------------
  |  Branch (9525:13): [True: 647, False: 0]
  |  Branch (9525:64): [True: 647, False: 0]
  ------------------
 9526|    647|            declareArray(loc, identifier, type, symbol);
 9527|       |
 9528|    647|        if (initializer) {
  ------------------
  |  Branch (9528:13): [True: 0, False: 647]
  ------------------
 9529|      0|            profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, "initializer");
 9530|      0|            profileRequires(loc, EEsProfile, 300, nullptr, "initializer");
 9531|      0|        }
 9532|  15.3k|    } else {
 9533|       |        // non-array case
 9534|  15.3k|        if (symbol == nullptr)
  ------------------
  |  Branch (9534:13): [True: 15.3k, False: 0]
  ------------------
 9535|  15.3k|            symbol = declareNonArray(loc, identifier, type);
 9536|      0|        else if (type != symbol->getType())
  ------------------
  |  Branch (9536:18): [True: 0, False: 0]
  ------------------
 9537|      0|            error(loc, "cannot change the type of", "redeclaration", symbol->getName().c_str());
 9538|  15.3k|    }
 9539|       |
 9540|  15.9k|    if (symbol == nullptr)
  ------------------
  |  Branch (9540:9): [True: 0, False: 15.9k]
  ------------------
 9541|      0|        return nullptr;
 9542|       |
 9543|       |    // Deal with initializer
 9544|  15.9k|    TIntermNode* initNode = nullptr;
 9545|  15.9k|    if (symbol != nullptr && initializer) {
  ------------------
  |  Branch (9545:9): [True: 15.9k, False: 0]
  |  Branch (9545:30): [True: 4.12k, False: 11.8k]
  ------------------
 9546|  4.12k|        TVariable* variable = symbol->getAsVariable();
 9547|  4.12k|        if (! variable) {
  ------------------
  |  Branch (9547:13): [True: 0, False: 4.12k]
  ------------------
 9548|      0|            error(loc, "initializer requires a variable, not a member", identifier.c_str(), "");
 9549|      0|            return nullptr;
 9550|      0|        }
 9551|  4.12k|        initNode = executeInitializer(loc, initializer, variable);
 9552|  4.12k|    }
 9553|       |
 9554|       |    // EXT_descriptor_heap
 9555|  15.9k|    if (!untypedHeapCheck(symbol, type, loc, identifier.c_str())) {
  ------------------
  |  Branch (9555:9): [True: 0, False: 15.9k]
  ------------------
 9556|      0|        return nullptr;
 9557|      0|    }
 9558|       |
 9559|       |    // look for errors in layout qualifier use
 9560|  15.9k|    layoutObjectCheck(loc, *symbol);
 9561|       |
 9562|       |    // fix up
 9563|  15.9k|    fixOffset(loc, *symbol);
 9564|       |
 9565|       |    // TODO: The decl AST is turned on based on debug info right now. We should expose it as an explicit option.
 9566|  15.9k|    if (intermediate.getDebugInfo()) {
  ------------------
  |  Branch (9566:9): [True: 0, False: 15.9k]
  ------------------
 9567|      0|        TVariable* variable = symbol->getAsVariable();
 9568|      0|        if (variable) {
  ------------------
  |  Branch (9568:13): [True: 0, False: 0]
  ------------------
 9569|      0|            auto decl = new TIntermVariableDecl(intermediate.addSymbol(*variable, loc), initNode);
 9570|      0|            decl->setLoc(loc);
 9571|      0|            return decl;
 9572|      0|        }
 9573|      0|        else {
 9574|       |            // We ignore builtins redeclarations
 9575|      0|            return nullptr;
 9576|      0|        }
 9577|      0|    }
 9578|  15.9k|    else {
 9579|  15.9k|        return initNode;
 9580|  15.9k|    }
 9581|  15.9k|}
_ZNK7glslang13TParseContext21inheritGlobalDefaultsERNS_10TQualifierE:
 9585|  15.9k|{
 9586|  15.9k|    if (dst.storage == EvqVaryingOut) {
  ------------------
  |  Branch (9586:9): [True: 953, False: 15.0k]
  ------------------
 9587|    953|        if (! dst.hasStream() && language == EShLangGeometry)
  ------------------
  |  Branch (9587:13): [True: 953, False: 0]
  |  Branch (9587:34): [True: 246, False: 707]
  ------------------
 9588|    246|            dst.layoutStream = globalOutputDefaults.layoutStream;
 9589|    953|        if (! dst.hasXfbBuffer())
  ------------------
  |  Branch (9589:13): [True: 953, False: 0]
  ------------------
 9590|    953|            dst.layoutXfbBuffer = globalOutputDefaults.layoutXfbBuffer;
 9591|    953|    }
 9592|  15.9k|}
_ZN7glslang13TParseContext15declareNonArrayERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_5TTypeE:
 9616|  15.3k|{
 9617|       |    // make a new variable
 9618|  15.3k|    TVariable* variable = new TVariable(&identifier, type);
 9619|       |
 9620|  15.3k|    ioArrayCheck(loc, type, identifier);
 9621|       |
 9622|       |    // add variable to symbol table
 9623|  15.3k|    if (symbolTable.insert(*variable)) {
  ------------------
  |  Branch (9623:9): [True: 15.3k, False: 0]
  ------------------
 9624|  15.3k|        if (symbolTable.atGlobalLevel())
  ------------------
  |  Branch (9624:13): [True: 15.3k, False: 0]
  ------------------
 9625|  15.3k|            trackLinkage(*variable);
 9626|  15.3k|        return variable;
 9627|  15.3k|    }
 9628|       |
 9629|      0|    error(loc, "redefinition", variable->getName().c_str(), "");
 9630|      0|    return nullptr;
 9631|  15.3k|}
_ZN7glslang13TParseContext18executeInitializerERKNS_10TSourceLocEPNS_12TIntermTypedEPNS_9TVariableE:
 9640|  4.12k|{
 9641|       |    // A null initializer is an aggregate that hasn't had an op assigned yet
 9642|       |    // (still EOpNull, no relation to nullInit), and has no children.
 9643|  4.12k|    bool nullInit = initializer->getAsAggregate() && initializer->getAsAggregate()->getOp() == EOpNull &&
  ------------------
  |  Branch (9643:21): [True: 0, False: 4.12k]
  |  Branch (9643:54): [True: 0, False: 0]
  ------------------
 9644|      0|        initializer->getAsAggregate()->getSequence().size() == 0;
  ------------------
  |  Branch (9644:9): [True: 0, False: 0]
  ------------------
 9645|       |
 9646|       |    //
 9647|       |    // Identifier must be of type constant, a global, or a temporary, and
 9648|       |    // starting at version 120, desktop allows uniforms to have initializers.
 9649|       |    //
 9650|  4.12k|    TStorageQualifier qualifier = variable->getType().getQualifier().storage;
 9651|  4.12k|    if (! (qualifier == EvqTemporary || qualifier == EvqGlobal || qualifier == EvqConst ||
  ------------------
  |  Branch (9651:12): [True: 0, False: 4.12k]
  |  Branch (9651:41): [True: 0, False: 4.12k]
  |  Branch (9651:67): [True: 4.12k, False: 0]
  ------------------
 9652|      0|           (qualifier == EvqUniform && !isEsProfile() && version >= 120))) {
  ------------------
  |  Branch (9652:13): [True: 0, False: 0]
  |  Branch (9652:40): [True: 0, False: 0]
  |  Branch (9652:58): [True: 0, False: 0]
  ------------------
 9653|      0|        if (qualifier == EvqShared) {
  ------------------
  |  Branch (9653:13): [True: 0, False: 0]
  ------------------
 9654|       |            // GL_EXT_null_initializer allows this for shared, if it's a null initializer
 9655|      0|            if (nullInit) {
  ------------------
  |  Branch (9655:17): [True: 0, False: 0]
  ------------------
 9656|      0|                const char* feature = "initialization with shared qualifier";
 9657|      0|                profileRequires(loc, EEsProfile, 0, E_GL_EXT_null_initializer, feature);
 9658|      0|                profileRequires(loc, ~EEsProfile, 0, E_GL_EXT_null_initializer, feature);
 9659|      0|            } else {
 9660|      0|                error(loc, "initializer can only be a null initializer ('{}')", "shared", "");
 9661|      0|            }
 9662|      0|        } else {
 9663|      0|            error(loc, " cannot initialize this type of qualifier ",
 9664|      0|                  variable->getType().getStorageQualifierString(), "");
 9665|      0|            return nullptr;
 9666|      0|        }
 9667|      0|    }
 9668|       |
 9669|  4.12k|    if (nullInit) {
  ------------------
  |  Branch (9669:9): [True: 0, False: 4.12k]
  ------------------
 9670|       |        // only some types can be null initialized
 9671|      0|        if (variable->getType().containsUnsizedArray()) {
  ------------------
  |  Branch (9671:13): [True: 0, False: 0]
  ------------------
 9672|      0|            error(loc, "null initializers can't size unsized arrays", "{}", "");
 9673|      0|            return nullptr;
 9674|      0|        }
 9675|      0|        if (variable->getType().containsOpaque()) {
  ------------------
  |  Branch (9675:13): [True: 0, False: 0]
  ------------------
 9676|      0|            error(loc, "null initializers can't be used on opaque values", "{}", "");
 9677|      0|            return nullptr;
 9678|      0|        }
 9679|      0|        variable->getWritableType().getQualifier().setNullInit();
 9680|      0|        return nullptr;
 9681|      0|    }
 9682|       |
 9683|  4.12k|    arrayObjectCheck(loc, variable->getType(), "array initializer");
 9684|       |
 9685|       |    //
 9686|       |    // If the initializer was from braces { ... }, we convert the whole subtree to a
 9687|       |    // constructor-style subtree, allowing the rest of the code to operate
 9688|       |    // identically for both kinds of initializers.
 9689|       |    //
 9690|       |    // Type can't be deduced from the initializer list, so a skeletal type to
 9691|       |    // follow has to be passed in.  Constness and specialization-constness
 9692|       |    // should be deduced bottom up, not dictated by the skeletal type.
 9693|       |    //
 9694|  4.12k|    TType skeletalType;
 9695|  4.12k|    skeletalType.shallowCopy(variable->getType());
 9696|  4.12k|    skeletalType.getQualifier().makeTemporary();
 9697|  4.12k|    initializer = convertInitializerList(loc, skeletalType, initializer);
 9698|  4.12k|    if (! initializer) {
  ------------------
  |  Branch (9698:9): [True: 0, False: 4.12k]
  ------------------
 9699|       |        // error recovery; don't leave const without constant values
 9700|      0|        if (qualifier == EvqConst)
  ------------------
  |  Branch (9700:13): [True: 0, False: 0]
  ------------------
 9701|      0|            variable->getWritableType().getQualifier().makeTemporary();
 9702|      0|        return nullptr;
 9703|      0|    }
 9704|       |
 9705|       |    // Fix outer arrayness if variable is unsized, getting size from the initializer
 9706|  4.12k|    if (initializer->getType().isSizedArray() && variable->getType().isUnsizedArray())
  ------------------
  |  Branch (9706:9): [True: 0, False: 4.12k]
  |  Branch (9706:50): [True: 0, False: 0]
  ------------------
 9707|      0|        variable->getWritableType().changeOuterArraySize(initializer->getType().getOuterArraySize());
 9708|       |
 9709|       |    // Inner arrayness can also get set by an initializer
 9710|  4.12k|    if (initializer->getType().isArrayOfArrays() && variable->getType().isArrayOfArrays() &&
  ------------------
  |  Branch (9710:9): [True: 0, False: 4.12k]
  |  Branch (9710:53): [True: 0, False: 0]
  ------------------
 9711|      0|        initializer->getType().getArraySizes()->getNumDims() ==
  ------------------
  |  Branch (9711:9): [True: 0, False: 0]
  ------------------
 9712|      0|           variable->getType().getArraySizes()->getNumDims()) {
 9713|       |        // adopt unsized sizes from the initializer's sizes
 9714|      0|        for (int d = 1; d < variable->getType().getArraySizes()->getNumDims(); ++d) {
  ------------------
  |  Branch (9714:25): [True: 0, False: 0]
  ------------------
 9715|      0|            if (variable->getType().getArraySizes()->getDimSize(d) == UnsizedArraySize) {
  ------------------
  |  Branch (9715:17): [True: 0, False: 0]
  ------------------
 9716|      0|                variable->getWritableType().getArraySizes()->setDimSize(d,
 9717|      0|                    initializer->getType().getArraySizes()->getDimSize(d));
 9718|      0|            }
 9719|      0|        }
 9720|      0|    }
 9721|       |
 9722|       |    // Uniforms require a compile-time constant initializer
 9723|  4.12k|    if (qualifier == EvqUniform && ! initializer->getType().getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (9723:9): [True: 0, False: 4.12k]
  |  Branch (9723:36): [True: 0, False: 0]
  ------------------
 9724|      0|        error(loc, "uniform initializers must be constant", "=", "'%s'",
 9725|      0|              variable->getType().getCompleteString(intermediate.getEnhancedMsgs()).c_str());
 9726|      0|        variable->getWritableType().getQualifier().makeTemporary();
 9727|      0|        return nullptr;
 9728|      0|    }
 9729|       |    // Global consts require a constant initializer (specialization constant is okay)
 9730|  4.12k|    if (qualifier == EvqConst && symbolTable.atGlobalLevel() && ! initializer->getType().getQualifier().isConstant()) {
  ------------------
  |  Branch (9730:9): [True: 4.12k, False: 0]
  |  Branch (9730:34): [True: 4.12k, False: 0]
  |  Branch (9730:65): [True: 0, False: 4.12k]
  ------------------
 9731|      0|        error(loc, "global const initializers must be constant", "=", "'%s'",
 9732|      0|              variable->getType().getCompleteString(intermediate.getEnhancedMsgs()).c_str());
 9733|      0|        variable->getWritableType().getQualifier().makeTemporary();
 9734|      0|        return nullptr;
 9735|      0|    }
 9736|       |
 9737|       |    // Const variables require a constant initializer, depending on version
 9738|  4.12k|    if (qualifier == EvqConst) {
  ------------------
  |  Branch (9738:9): [True: 4.12k, False: 0]
  ------------------
 9739|  4.12k|        if (! initializer->getType().getQualifier().isConstant()) {
  ------------------
  |  Branch (9739:13): [True: 0, False: 4.12k]
  ------------------
 9740|      0|            const char* initFeature = "non-constant initializer";
 9741|      0|            requireProfile(loc, ~EEsProfile, initFeature);
 9742|      0|            profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, initFeature);
 9743|      0|            variable->getWritableType().getQualifier().storage = EvqConstReadOnly;
 9744|      0|            qualifier = EvqConstReadOnly;
 9745|      0|        }
 9746|  4.12k|    } else {
 9747|       |        // Non-const global variables in ES need a const initializer.
 9748|       |        //
 9749|       |        // "In declarations of global variables with no storage qualifier or with a const
 9750|       |        // qualifier any initializer must be a constant expression."
 9751|      0|        if (symbolTable.atGlobalLevel() && ! initializer->getType().getQualifier().isConstant()) {
  ------------------
  |  Branch (9751:13): [True: 0, False: 0]
  |  Branch (9751:44): [True: 0, False: 0]
  ------------------
 9752|      0|            const char* initFeature =
 9753|      0|                "non-constant global initializer (needs GL_EXT_shader_non_constant_global_initializers)";
 9754|      0|            if (isEsProfile()) {
  ------------------
  |  Branch (9754:17): [True: 0, False: 0]
  ------------------
 9755|      0|                if (relaxedErrors() && ! extensionTurnedOn(E_GL_EXT_shader_non_constant_global_initializers))
  ------------------
  |  Branch (9755:21): [True: 0, False: 0]
  |  Branch (9755:40): [True: 0, False: 0]
  ------------------
 9756|      0|                    warn(loc, "not allowed in this version", initFeature, "");
 9757|      0|                else
 9758|      0|                    profileRequires(loc, EEsProfile, 0, E_GL_EXT_shader_non_constant_global_initializers, initFeature);
 9759|      0|            }
 9760|      0|        }
 9761|      0|    }
 9762|       |
 9763|  4.12k|    if (qualifier == EvqConst || qualifier == EvqUniform) {
  ------------------
  |  Branch (9763:9): [True: 4.12k, False: 0]
  |  Branch (9763:34): [True: 0, False: 0]
  ------------------
 9764|       |        // Compile-time tagging of the variable with its constant value...
 9765|       |
 9766|  4.12k|        initializer = intermediate.addConversion(EOpAssign, variable->getType(), initializer);
 9767|  4.12k|        if (! initializer || ! initializer->getType().getQualifier().isConstant() ||
  ------------------
  |  Branch (9767:13): [True: 0, False: 4.12k]
  |  Branch (9767:30): [True: 0, False: 4.12k]
  ------------------
 9768|  4.12k|            variable->getType() != initializer->getType()) {
  ------------------
  |  Branch (9768:13): [True: 0, False: 4.12k]
  ------------------
 9769|      0|            error(loc, "non-matching or non-convertible constant type for const initializer",
 9770|      0|                  variable->getType().getStorageQualifierString(), "");
 9771|      0|            variable->getWritableType().getQualifier().makeTemporary();
 9772|      0|            return nullptr;
 9773|      0|        }
 9774|       |
 9775|       |        // We either have a folded constant in getAsConstantUnion, or we have to use
 9776|       |        // the initializer's subtree in the AST to represent the computation of a
 9777|       |        // specialization constant.
 9778|  4.12k|        assert(initializer->getAsConstantUnion() || initializer->getType().getQualifier().isSpecConstant());
 9779|  4.12k|        if (initializer->getAsConstantUnion())
  ------------------
  |  Branch (9779:13): [True: 4.12k, False: 0]
  ------------------
 9780|  4.12k|            variable->setConstArray(initializer->getAsConstantUnion()->getConstArray());
 9781|      0|        else {
 9782|       |            // It's a specialization constant.
 9783|      0|            variable->getWritableType().getQualifier().makeSpecConstant();
 9784|       |
 9785|       |            // Keep the subtree that computes the specialization constant with the variable.
 9786|       |            // Later, a symbol node will adopt the subtree from the variable.
 9787|      0|            variable->setConstSubtree(initializer);
 9788|      0|        }
 9789|  4.12k|    } else {
 9790|       |        // normal assigning of a value to a variable...
 9791|      0|        specializationCheck(loc, initializer->getType(), "initializer");
 9792|      0|        TIntermSymbol* intermSymbol = intermediate.addSymbol(*variable, loc);
 9793|      0|        TIntermTyped* initNode = intermediate.addAssign(EOpAssign, intermSymbol, initializer, loc);
 9794|      0|        if (! initNode)
  ------------------
  |  Branch (9794:13): [True: 0, False: 0]
  ------------------
 9795|      0|            assignError(loc, "=", intermSymbol->getCompleteString(intermediate.getEnhancedMsgs()), initializer->getCompleteString(intermediate.getEnhancedMsgs()));
 9796|       |
 9797|      0|        return initNode;
 9798|      0|    }
 9799|       |
 9800|  4.12k|    return nullptr;
 9801|  4.12k|}
_ZN7glslang13TParseContext22convertInitializerListERKNS_10TSourceLocERKNS_5TTypeEPNS_12TIntermTypedE:
 9814|  4.12k|{
 9815|       |    // Will operate recursively.  Once a subtree is found that is constructor style,
 9816|       |    // everything below it is already good: Only the "top part" of the initializer
 9817|       |    // can be an initializer list, where "top part" can extend for several (or all) levels.
 9818|       |
 9819|       |    // see if we have bottomed out in the tree within the initializer-list part
 9820|  4.12k|    TIntermAggregate* initList = initializer->getAsAggregate();
 9821|  4.12k|    if (! initList || initList->getOp() != EOpNull)
  ------------------
  |  Branch (9821:9): [True: 4.12k, False: 0]
  |  Branch (9821:23): [True: 0, False: 0]
  ------------------
 9822|  4.12k|        return initializer;
 9823|       |
 9824|       |    // Of the initializer-list set of nodes, need to process bottom up,
 9825|       |    // so recurse deep, then process on the way up.
 9826|       |
 9827|       |    // Go down the tree here...
 9828|      0|    if (type.isArray()) {
  ------------------
  |  Branch (9828:9): [True: 0, False: 0]
  ------------------
 9829|       |        // The type's array might be unsized, which could be okay, so base sizes on the size of the aggregate.
 9830|       |        // Later on, initializer execution code will deal with array size logic.
 9831|      0|        TType arrayType;
 9832|      0|        arrayType.shallowCopy(type);                     // sharing struct stuff is fine
 9833|      0|        arrayType.copyArraySizes(*type.getArraySizes());  // but get a fresh copy of the array information, to edit below
 9834|       |
 9835|       |        // edit array sizes to fill in unsized dimensions
 9836|      0|        arrayType.changeOuterArraySize((int)initList->getSequence().size());
 9837|      0|        TIntermTyped* firstInit = initList->getSequence()[0]->getAsTyped();
 9838|      0|        if (arrayType.isArrayOfArrays() && firstInit->getType().isArray() &&
  ------------------
  |  Branch (9838:13): [True: 0, False: 0]
  |  Branch (9838:44): [True: 0, False: 0]
  ------------------
 9839|      0|            arrayType.getArraySizes()->getNumDims() == firstInit->getType().getArraySizes()->getNumDims() + 1) {
  ------------------
  |  Branch (9839:13): [True: 0, False: 0]
  ------------------
 9840|      0|            for (int d = 1; d < arrayType.getArraySizes()->getNumDims(); ++d) {
  ------------------
  |  Branch (9840:29): [True: 0, False: 0]
  ------------------
 9841|      0|                if (arrayType.getArraySizes()->getDimSize(d) == UnsizedArraySize)
  ------------------
  |  Branch (9841:21): [True: 0, False: 0]
  ------------------
 9842|      0|                    arrayType.getArraySizes()->setDimSize(d, firstInit->getType().getArraySizes()->getDimSize(d - 1));
 9843|      0|            }
 9844|      0|        }
 9845|       |
 9846|      0|        TType elementType(arrayType, 0); // dereferenced type
 9847|      0|        for (size_t i = 0; i < initList->getSequence().size(); ++i) {
  ------------------
  |  Branch (9847:28): [True: 0, False: 0]
  ------------------
 9848|      0|            initList->getSequence()[i] = convertInitializerList(loc, elementType, initList->getSequence()[i]->getAsTyped());
 9849|      0|            if (initList->getSequence()[i] == nullptr)
  ------------------
  |  Branch (9849:17): [True: 0, False: 0]
  ------------------
 9850|      0|                return nullptr;
 9851|      0|        }
 9852|       |
 9853|      0|        return addConstructor(loc, initList, arrayType);
 9854|      0|    } else if (type.isStruct()) {
  ------------------
  |  Branch (9854:16): [True: 0, False: 0]
  ------------------
 9855|      0|        if (type.getStruct()->size() != initList->getSequence().size()) {
  ------------------
  |  Branch (9855:13): [True: 0, False: 0]
  ------------------
 9856|      0|            error(loc, "wrong number of structure members", "initializer list", "");
 9857|      0|            return nullptr;
 9858|      0|        }
 9859|      0|        for (size_t i = 0; i < type.getStruct()->size(); ++i) {
  ------------------
  |  Branch (9859:28): [True: 0, False: 0]
  ------------------
 9860|      0|            initList->getSequence()[i] = convertInitializerList(loc, *(*type.getStruct())[i].type, initList->getSequence()[i]->getAsTyped());
 9861|      0|            if (initList->getSequence()[i] == nullptr)
  ------------------
  |  Branch (9861:17): [True: 0, False: 0]
  ------------------
 9862|      0|                return nullptr;
 9863|      0|        }
 9864|      0|    } else if (type.isMatrix()) {
  ------------------
  |  Branch (9864:16): [True: 0, False: 0]
  ------------------
 9865|      0|        if (type.getMatrixCols() != (int)initList->getSequence().size()) {
  ------------------
  |  Branch (9865:13): [True: 0, False: 0]
  ------------------
 9866|      0|            error(loc, "wrong number of matrix columns:", "initializer list", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
 9867|      0|            return nullptr;
 9868|      0|        }
 9869|      0|        TType vectorType(type, 0); // dereferenced type
 9870|      0|        for (int i = 0; i < type.getMatrixCols(); ++i) {
  ------------------
  |  Branch (9870:25): [True: 0, False: 0]
  ------------------
 9871|      0|            initList->getSequence()[i] = convertInitializerList(loc, vectorType, initList->getSequence()[i]->getAsTyped());
 9872|      0|            if (initList->getSequence()[i] == nullptr)
  ------------------
  |  Branch (9872:17): [True: 0, False: 0]
  ------------------
 9873|      0|                return nullptr;
 9874|      0|        }
 9875|      0|    } else if (type.isVector()) {
  ------------------
  |  Branch (9875:16): [True: 0, False: 0]
  ------------------
 9876|      0|        if (type.getVectorSize() != (int)initList->getSequence().size()) {
  ------------------
  |  Branch (9876:13): [True: 0, False: 0]
  ------------------
 9877|      0|            error(loc, "wrong vector size (or rows in a matrix column):", "initializer list", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
 9878|      0|            return nullptr;
 9879|      0|        }
 9880|      0|        TBasicType destType = type.getBasicType();
 9881|      0|        for (int i = 0; i < type.getVectorSize(); ++i) {
  ------------------
  |  Branch (9881:25): [True: 0, False: 0]
  ------------------
 9882|      0|            TBasicType initType = initList->getSequence()[i]->getAsTyped()->getBasicType();
 9883|      0|            if (destType != initType && !intermediate.canImplicitlyPromote(initType, destType)) {
  ------------------
  |  Branch (9883:17): [True: 0, False: 0]
  |  Branch (9883:41): [True: 0, False: 0]
  ------------------
 9884|      0|                error(loc, "type mismatch in initializer list", "initializer list", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
 9885|      0|                return nullptr;
 9886|      0|            }
 9887|       |
 9888|      0|        }
 9889|      0|    } else {
 9890|      0|        error(loc, "unexpected initializer-list type:", "initializer list", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
 9891|      0|        return nullptr;
 9892|      0|    }
 9893|       |
 9894|       |    // Now that the subtree is processed, process this node as if the
 9895|       |    // initializer list is a set of arguments to a constructor.
 9896|      0|    TIntermNode* emulatedConstructorArguments;
 9897|      0|    if (initList->getSequence().size() == 1)
  ------------------
  |  Branch (9897:9): [True: 0, False: 0]
  ------------------
 9898|      0|        emulatedConstructorArguments = initList->getSequence()[0];
 9899|      0|    else
 9900|      0|        emulatedConstructorArguments = initList;
 9901|      0|    return addConstructor(loc, emulatedConstructorArguments, type);
 9902|      0|}
_ZN7glslang13TParseContext14addConstructorERKNS_10TSourceLocEP11TIntermNodeRKNS_5TTypeE:
 9914|    632|{
 9915|    632|    if (node == nullptr || node->getAsTyped() == nullptr)
  ------------------
  |  Branch (9915:9): [True: 0, False: 632]
  |  Branch (9915:28): [True: 0, False: 632]
  ------------------
 9916|      0|        return nullptr;
 9917|    632|    rValueErrorCheck(loc, "constructor", node->getAsTyped());
 9918|       |
 9919|    632|    TIntermAggregate* aggrNode = node->getAsAggregate();
 9920|    632|    TOperator op = intermediate.mapTypeToConstructorOp(type);
 9921|       |
 9922|       |    // Combined texture-sampler constructors are completely semantic checked
 9923|       |    // in constructorTextureSamplerError()
 9924|    632|    if (op == EOpConstructTextureSampler) {
  ------------------
  |  Branch (9924:9): [True: 0, False: 632]
  ------------------
 9925|      0|        if (aggrNode != nullptr) {
  ------------------
  |  Branch (9925:13): [True: 0, False: 0]
  ------------------
 9926|      0|            if (aggrNode->getSequence()[1]->getAsTyped()->getType().getSampler().shadow) {
  ------------------
  |  Branch (9926:17): [True: 0, False: 0]
  ------------------
 9927|       |                // Transfer depth into the texture (SPIR-V image) type, as a hint
 9928|       |                // for tools to know this texture/image is a depth image.
 9929|      0|                aggrNode->getSequence()[0]->getAsTyped()->getWritableType().getSampler().shadow = true;
 9930|      0|            }
 9931|      0|            return intermediate.setAggregateOperator(aggrNode, op, type, loc);
 9932|      0|        }
 9933|      0|    }
 9934|       |
 9935|    632|    TTypeList::const_iterator memberTypes;
 9936|    632|    if (op == EOpConstructStruct)
  ------------------
  |  Branch (9936:9): [True: 0, False: 632]
  ------------------
 9937|      0|        memberTypes = type.getStruct()->begin();
 9938|       |
 9939|    632|    TType elementType;
 9940|    632|    if (type.isArray()) {
  ------------------
  |  Branch (9940:9): [True: 20, False: 612]
  ------------------
 9941|     20|        TType dereferenced(type, 0);
 9942|     20|        elementType.shallowCopy(dereferenced);
 9943|     20|    } else
 9944|    612|        elementType.shallowCopy(type);
 9945|       |
 9946|    632|    bool singleArg;
 9947|    632|    if (aggrNode) {
  ------------------
  |  Branch (9947:9): [True: 249, False: 383]
  ------------------
 9948|    249|        if (aggrNode->getOp() != EOpNull)
  ------------------
  |  Branch (9948:13): [True: 120, False: 129]
  ------------------
 9949|    120|            singleArg = true;
 9950|    129|        else
 9951|    129|            singleArg = false;
 9952|    249|    } else
 9953|    383|        singleArg = true;
 9954|       |
 9955|    632|    TIntermTyped *newNode;
 9956|    632|    if (singleArg) {
  ------------------
  |  Branch (9956:9): [True: 503, False: 129]
  ------------------
 9957|       |        // If structure constructor or array constructor is being called
 9958|       |        // for only one parameter inside the structure, we need to call constructAggregate function once.
 9959|    503|        if (type.isArray())
  ------------------
  |  Branch (9959:13): [True: 20, False: 483]
  ------------------
 9960|     20|            newNode = constructAggregate(node, elementType, 1, node->getLoc());
 9961|    483|        else if (op == EOpConstructStruct)
  ------------------
  |  Branch (9961:18): [True: 0, False: 483]
  ------------------
 9962|      0|            newNode = constructAggregate(node, *(*memberTypes).type, 1, node->getLoc());
 9963|    483|        else
 9964|    483|            newNode = constructBuiltIn(type, op, node->getAsTyped(), node->getLoc(), false);
 9965|       |
 9966|    503|        if (newNode && (type.isArray() || op == EOpConstructStruct))
  ------------------
  |  Branch (9966:13): [True: 483, False: 20]
  |  Branch (9966:25): [True: 0, False: 483]
  |  Branch (9966:43): [True: 0, False: 483]
  ------------------
 9967|      0|            newNode = intermediate.setAggregateOperator(newNode, EOpConstructStruct, type, loc);
 9968|       |
 9969|    503|        return newNode;
 9970|    503|    }
 9971|       |
 9972|       |    //
 9973|       |    // Handle list of arguments.
 9974|       |    //
 9975|    129|    TIntermSequence &sequenceVector = aggrNode->getSequence();    // Stores the information about the parameter to the constructor
 9976|       |    // if the structure constructor contains more than one parameter, then construct
 9977|       |    // each parameter
 9978|       |
 9979|    129|    int paramCount = 0;  // keeps track of the constructor parameter number being checked
 9980|       |
 9981|       |    // We don't know "top down" whether type is a specialization constant,
 9982|       |    // but a const becomes a specialization constant if any of its children are.
 9983|    129|    bool hasSpecConst = false;
 9984|    129|    bool isConstConstructor = true;
 9985|       |
 9986|       |    // for each parameter to the constructor call, check to see if the right type is passed or convert them
 9987|       |    // to the right type if possible (and allowed).
 9988|       |    // for structure constructors, just check if the right type is passed, no conversion is allowed.
 9989|    129|    for (TIntermSequence::iterator p = sequenceVector.begin();
 9990|    516|                                   p != sequenceVector.end(); p++, paramCount++) {
  ------------------
  |  Branch (9990:36): [True: 387, False: 129]
  ------------------
 9991|    387|        if (type.isArray())
  ------------------
  |  Branch (9991:13): [True: 0, False: 387]
  ------------------
 9992|      0|            newNode = constructAggregate(*p, elementType, paramCount+1, node->getLoc());
 9993|    387|        else if (op == EOpConstructStruct)
  ------------------
  |  Branch (9993:18): [True: 0, False: 387]
  ------------------
 9994|      0|            newNode = constructAggregate(*p, *(memberTypes[paramCount]).type, paramCount+1, node->getLoc());
 9995|    387|        else
 9996|    387|            newNode = constructBuiltIn(type, op, (*p)->getAsTyped(), node->getLoc(), true);
 9997|       |
 9998|    387|        if (newNode) {
  ------------------
  |  Branch (9998:13): [True: 387, False: 0]
  ------------------
 9999|    387|            *p = newNode;
10000|    387|            if (!newNode->getType().getQualifier().isConstant())
  ------------------
  |  Branch (10000:17): [True: 0, False: 387]
  ------------------
10001|      0|                isConstConstructor = false;
10002|    387|            if (newNode->getType().getQualifier().isSpecConstant())
  ------------------
  |  Branch (10002:17): [True: 0, False: 387]
  ------------------
10003|      0|                hasSpecConst = true;
10004|    387|        } else
10005|      0|            return nullptr;
10006|    387|    }
10007|       |
10008|    129|    TIntermTyped* ret_node = intermediate.setAggregateOperator(aggrNode, op, type, loc);
10009|       |
10010|    129|    const char *specConstantCompositeExt[] = { E_GL_EXT_spec_constant_composites };
10011|    129|    if (checkExtensionsRequested(loc, 1, specConstantCompositeExt, "spec constant aggregate constructor")) {
  ------------------
  |  Branch (10011:9): [True: 0, False: 129]
  ------------------
10012|      0|        if (isConstConstructor && hasSpecConst) {
  ------------------
  |  Branch (10012:13): [True: 0, False: 0]
  |  Branch (10012:35): [True: 0, False: 0]
  ------------------
10013|      0|            ret_node->getWritableType().getQualifier().makeSpecConstant();
10014|      0|        }
10015|      0|    }
10016|       |
10017|    129|    TIntermAggregate *agg_node = ret_node->getAsAggregate();
10018|    129|    if (agg_node && (agg_node->isVector() || agg_node->isArray() || agg_node->isMatrix()))
  ------------------
  |  Branch (10018:9): [True: 0, False: 129]
  |  Branch (10018:22): [True: 0, False: 0]
  |  Branch (10018:46): [True: 0, False: 0]
  |  Branch (10018:69): [True: 0, False: 0]
  ------------------
10019|      0|        agg_node->updatePrecision();
10020|       |
10021|    129|    return ret_node;
10022|    129|}
_ZN7glslang13TParseContext16constructBuiltInERKNS_5TTypeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocEb:
10033|    870|{
10034|       |    // If we are changing a matrix in both domain of basic type and to a non matrix,
10035|       |    // do the shape change first (by default, below, basic type is changed before shape).
10036|       |    // This avoids requesting a matrix of a new type that is going to be discarded anyway.
10037|       |    // TODO: This could be generalized to more type combinations, but that would require
10038|       |    // more extensive testing and full algorithm rework. For now, the need to do two changes makes
10039|       |    // the recursive call work, and avoids the most egregious case of creating integer matrices.
10040|    870|    if (node->getType().isMatrix() && (type.isScalar() || type.isVector()) &&
  ------------------
  |  Branch (10040:9): [True: 0, False: 870]
  |  Branch (10040:40): [True: 0, False: 0]
  |  Branch (10040:59): [True: 0, False: 0]
  ------------------
10041|      0|            type.isFloatingDomain() != node->getType().isFloatingDomain()) {
  ------------------
  |  Branch (10041:13): [True: 0, False: 0]
  ------------------
10042|      0|        TType transitionType(node->getBasicType(), glslang::EvqTemporary, type.getVectorSize(), 0, 0, node->isVector());
10043|      0|        TOperator transitionOp = intermediate.mapTypeToConstructorOp(transitionType);
10044|      0|        node = constructBuiltIn(transitionType, transitionOp, node, loc, false);
10045|      0|    }
10046|       |
10047|    870|    TIntermTyped* newNode;
10048|    870|    TOperator basicOp;
10049|       |
10050|       |    //
10051|       |    // First, convert types as needed.
10052|       |    //
10053|    870|    switch (op) {
10054|      0|    case EOpConstructVec2:
  ------------------
  |  Branch (10054:5): [True: 0, False: 870]
  ------------------
10055|      0|    case EOpConstructVec3:
  ------------------
  |  Branch (10055:5): [True: 0, False: 870]
  ------------------
10056|      0|    case EOpConstructVec4:
  ------------------
  |  Branch (10056:5): [True: 0, False: 870]
  ------------------
10057|      0|    case EOpConstructMat2x2:
  ------------------
  |  Branch (10057:5): [True: 0, False: 870]
  ------------------
10058|      0|    case EOpConstructMat2x3:
  ------------------
  |  Branch (10058:5): [True: 0, False: 870]
  ------------------
10059|      0|    case EOpConstructMat2x4:
  ------------------
  |  Branch (10059:5): [True: 0, False: 870]
  ------------------
10060|      0|    case EOpConstructMat3x2:
  ------------------
  |  Branch (10060:5): [True: 0, False: 870]
  ------------------
10061|      0|    case EOpConstructMat3x3:
  ------------------
  |  Branch (10061:5): [True: 0, False: 870]
  ------------------
10062|      0|    case EOpConstructMat3x4:
  ------------------
  |  Branch (10062:5): [True: 0, False: 870]
  ------------------
10063|      0|    case EOpConstructMat4x2:
  ------------------
  |  Branch (10063:5): [True: 0, False: 870]
  ------------------
10064|      0|    case EOpConstructMat4x3:
  ------------------
  |  Branch (10064:5): [True: 0, False: 870]
  ------------------
10065|      0|    case EOpConstructMat4x4:
  ------------------
  |  Branch (10065:5): [True: 0, False: 870]
  ------------------
10066|      0|    case EOpConstructFloat:
  ------------------
  |  Branch (10066:5): [True: 0, False: 870]
  ------------------
10067|      0|        basicOp = EOpConstructFloat;
10068|      0|        break;
10069|       |
10070|    302|    case EOpConstructIVec2:
  ------------------
  |  Branch (10070:5): [True: 302, False: 568]
  ------------------
10071|    446|    case EOpConstructIVec3:
  ------------------
  |  Branch (10071:5): [True: 144, False: 726]
  ------------------
10072|    446|    case EOpConstructIVec4:
  ------------------
  |  Branch (10072:5): [True: 0, False: 870]
  ------------------
10073|    627|    case EOpConstructInt:
  ------------------
  |  Branch (10073:5): [True: 181, False: 689]
  ------------------
10074|    627|        basicOp = EOpConstructInt;
10075|    627|        break;
10076|       |
10077|      0|    case EOpConstructUVec2:
  ------------------
  |  Branch (10077:5): [True: 0, False: 870]
  ------------------
10078|      0|        if (node->getType().getBasicType() == EbtReference) {
  ------------------
  |  Branch (10078:13): [True: 0, False: 0]
  ------------------
10079|      0|            requireExtensions(loc, 1, &E_GL_EXT_buffer_reference_uvec2, "reference conversion to uvec2");
10080|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvPtrToUvec2, true, node,
10081|      0|                type);
10082|      0|            return newNode;
10083|      0|        } else if (node->getType().getBasicType() == EbtSampler) {
  ------------------
  |  Branch (10083:20): [True: 0, False: 0]
  ------------------
10084|      0|            requireExtensions(loc, 1, &E_GL_ARB_bindless_texture, "sampler conversion to uvec2");
10085|       |            // force the basic type of the constructor param to uvec2, otherwise spv builder will
10086|       |            // report some errors
10087|      0|            TIntermTyped* newSrcNode = intermediate.createConversion(EbtUint, node);
10088|      0|            newSrcNode->getAsTyped()->getWritableType().setVectorSize(2);
10089|       |
10090|      0|            TIntermTyped* newNode =
10091|      0|                intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConstructUVec2, false, newSrcNode, type);
10092|      0|            return newNode;
10093|      0|        }
10094|      0|        [[fallthrough]];
10095|    243|    case EOpConstructUVec3:
  ------------------
  |  Branch (10095:5): [True: 243, False: 627]
  ------------------
10096|    243|    case EOpConstructUVec4:
  ------------------
  |  Branch (10096:5): [True: 0, False: 870]
  ------------------
10097|    243|    case EOpConstructUint:
  ------------------
  |  Branch (10097:5): [True: 0, False: 870]
  ------------------
10098|    243|        basicOp = EOpConstructUint;
10099|    243|        break;
10100|       |
10101|      0|    case EOpConstructBVec2:
  ------------------
  |  Branch (10101:5): [True: 0, False: 870]
  ------------------
10102|      0|    case EOpConstructBVec3:
  ------------------
  |  Branch (10102:5): [True: 0, False: 870]
  ------------------
10103|      0|    case EOpConstructBVec4:
  ------------------
  |  Branch (10103:5): [True: 0, False: 870]
  ------------------
10104|      0|    case EOpConstructBool:
  ------------------
  |  Branch (10104:5): [True: 0, False: 870]
  ------------------
10105|      0|        basicOp = EOpConstructBool;
10106|      0|        break;
10107|      0|    case EOpConstructTextureSampler:
  ------------------
  |  Branch (10107:5): [True: 0, False: 870]
  ------------------
10108|      0|        if ((node->getType().getBasicType() == EbtUint || node->getType().getBasicType() == EbtInt) &&
  ------------------
  |  Branch (10108:14): [True: 0, False: 0]
  |  Branch (10108:59): [True: 0, False: 0]
  ------------------
10109|      0|            node->getType().getVectorSize() == 2) {
  ------------------
  |  Branch (10109:13): [True: 0, False: 0]
  ------------------
10110|      0|            requireExtensions(loc, 1, &E_GL_ARB_bindless_texture, "ivec2/uvec2 convert to texture handle");
10111|       |            // No matter ivec2 or uvec2, Set EOpPackUint2x32 just to generate an opBitcast op code
10112|      0|            TIntermTyped* newNode =
10113|      0|                intermediate.addBuiltInFunctionCall(node->getLoc(), EOpPackUint2x32, true, node, type);
10114|      0|            return newNode;
10115|      0|        }
10116|      0|        [[fallthrough]];
10117|      0|    case EOpConstructDVec2:
  ------------------
  |  Branch (10117:5): [True: 0, False: 870]
  ------------------
10118|      0|    case EOpConstructDVec3:
  ------------------
  |  Branch (10118:5): [True: 0, False: 870]
  ------------------
10119|      0|    case EOpConstructDVec4:
  ------------------
  |  Branch (10119:5): [True: 0, False: 870]
  ------------------
10120|      0|    case EOpConstructDMat2x2:
  ------------------
  |  Branch (10120:5): [True: 0, False: 870]
  ------------------
10121|      0|    case EOpConstructDMat2x3:
  ------------------
  |  Branch (10121:5): [True: 0, False: 870]
  ------------------
10122|      0|    case EOpConstructDMat2x4:
  ------------------
  |  Branch (10122:5): [True: 0, False: 870]
  ------------------
10123|      0|    case EOpConstructDMat3x2:
  ------------------
  |  Branch (10123:5): [True: 0, False: 870]
  ------------------
10124|      0|    case EOpConstructDMat3x3:
  ------------------
  |  Branch (10124:5): [True: 0, False: 870]
  ------------------
10125|      0|    case EOpConstructDMat3x4:
  ------------------
  |  Branch (10125:5): [True: 0, False: 870]
  ------------------
10126|      0|    case EOpConstructDMat4x2:
  ------------------
  |  Branch (10126:5): [True: 0, False: 870]
  ------------------
10127|      0|    case EOpConstructDMat4x3:
  ------------------
  |  Branch (10127:5): [True: 0, False: 870]
  ------------------
10128|      0|    case EOpConstructDMat4x4:
  ------------------
  |  Branch (10128:5): [True: 0, False: 870]
  ------------------
10129|      0|    case EOpConstructDouble:
  ------------------
  |  Branch (10129:5): [True: 0, False: 870]
  ------------------
10130|      0|        basicOp = EOpConstructDouble;
10131|      0|        break;
10132|       |
10133|      0|    case EOpConstructF16Vec2:
  ------------------
  |  Branch (10133:5): [True: 0, False: 870]
  ------------------
10134|      0|    case EOpConstructF16Vec3:
  ------------------
  |  Branch (10134:5): [True: 0, False: 870]
  ------------------
10135|      0|    case EOpConstructF16Vec4:
  ------------------
  |  Branch (10135:5): [True: 0, False: 870]
  ------------------
10136|      0|    case EOpConstructF16Mat2x2:
  ------------------
  |  Branch (10136:5): [True: 0, False: 870]
  ------------------
10137|      0|    case EOpConstructF16Mat2x3:
  ------------------
  |  Branch (10137:5): [True: 0, False: 870]
  ------------------
10138|      0|    case EOpConstructF16Mat2x4:
  ------------------
  |  Branch (10138:5): [True: 0, False: 870]
  ------------------
10139|      0|    case EOpConstructF16Mat3x2:
  ------------------
  |  Branch (10139:5): [True: 0, False: 870]
  ------------------
10140|      0|    case EOpConstructF16Mat3x3:
  ------------------
  |  Branch (10140:5): [True: 0, False: 870]
  ------------------
10141|      0|    case EOpConstructF16Mat3x4:
  ------------------
  |  Branch (10141:5): [True: 0, False: 870]
  ------------------
10142|      0|    case EOpConstructF16Mat4x2:
  ------------------
  |  Branch (10142:5): [True: 0, False: 870]
  ------------------
10143|      0|    case EOpConstructF16Mat4x3:
  ------------------
  |  Branch (10143:5): [True: 0, False: 870]
  ------------------
10144|      0|    case EOpConstructF16Mat4x4:
  ------------------
  |  Branch (10144:5): [True: 0, False: 870]
  ------------------
10145|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (10145:5): [True: 0, False: 870]
  ------------------
10146|      0|        basicOp = EOpConstructFloat16;
10147|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10148|       |        // so construct a 32-bit type and convert
10149|       |        // and do not generate any conversion if it is an identity conversion, i.e. float16_t(<float16_t> var)
10150|      0|        if (!intermediate.getArithemeticFloat16Enabled() && (node->getBasicType() != EbtFloat16)) {
  ------------------
  |  Branch (10150:13): [True: 0, False: 0]
  |  Branch (10150:61): [True: 0, False: 0]
  ------------------
10151|      0|            TType tempType(EbtFloat, EvqTemporary, type.getVectorSize());
10152|      0|            newNode = node;
10153|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10153:17): [True: 0, False: 0]
  ------------------
10154|      0|                TOperator aggregateOp;
10155|      0|                if (op == EOpConstructFloat16)
  ------------------
  |  Branch (10155:21): [True: 0, False: 0]
  ------------------
10156|      0|                    aggregateOp = EOpConstructFloat;
10157|      0|                else
10158|      0|                    aggregateOp = (TOperator)(EOpConstructVec2 + op - EOpConstructF16Vec2);
10159|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10160|      0|            }
10161|      0|            newNode = intermediate.addConversion(EbtFloat16, newNode);
10162|      0|            return newNode;
10163|      0|        }
10164|      0|        break;
10165|       |
10166|      0|    case EOpConstructBF16Vec2:
  ------------------
  |  Branch (10166:5): [True: 0, False: 870]
  ------------------
10167|      0|    case EOpConstructBF16Vec3:
  ------------------
  |  Branch (10167:5): [True: 0, False: 870]
  ------------------
10168|      0|    case EOpConstructBF16Vec4:
  ------------------
  |  Branch (10168:5): [True: 0, False: 870]
  ------------------
10169|      0|    case EOpConstructBFloat16:
  ------------------
  |  Branch (10169:5): [True: 0, False: 870]
  ------------------
10170|      0|        basicOp = EOpConstructBFloat16;
10171|      0|        break;
10172|       |
10173|      0|    case EOpConstructFloatE5M2Vec2:
  ------------------
  |  Branch (10173:5): [True: 0, False: 870]
  ------------------
10174|      0|    case EOpConstructFloatE5M2Vec3:
  ------------------
  |  Branch (10174:5): [True: 0, False: 870]
  ------------------
10175|      0|    case EOpConstructFloatE5M2Vec4:
  ------------------
  |  Branch (10175:5): [True: 0, False: 870]
  ------------------
10176|      0|    case EOpConstructFloatE5M2:
  ------------------
  |  Branch (10176:5): [True: 0, False: 870]
  ------------------
10177|      0|        basicOp = EOpConstructFloatE5M2;
10178|      0|        break;
10179|       |
10180|      0|    case EOpConstructFloatE4M3Vec2:
  ------------------
  |  Branch (10180:5): [True: 0, False: 870]
  ------------------
10181|      0|    case EOpConstructFloatE4M3Vec3:
  ------------------
  |  Branch (10181:5): [True: 0, False: 870]
  ------------------
10182|      0|    case EOpConstructFloatE4M3Vec4:
  ------------------
  |  Branch (10182:5): [True: 0, False: 870]
  ------------------
10183|      0|    case EOpConstructFloatE4M3:
  ------------------
  |  Branch (10183:5): [True: 0, False: 870]
  ------------------
10184|      0|        basicOp = EOpConstructFloatE4M3;
10185|      0|        break;
10186|       |
10187|      0|    case EOpConstructI8Vec2:
  ------------------
  |  Branch (10187:5): [True: 0, False: 870]
  ------------------
10188|      0|    case EOpConstructI8Vec3:
  ------------------
  |  Branch (10188:5): [True: 0, False: 870]
  ------------------
10189|      0|    case EOpConstructI8Vec4:
  ------------------
  |  Branch (10189:5): [True: 0, False: 870]
  ------------------
10190|      0|    case EOpConstructInt8:
  ------------------
  |  Branch (10190:5): [True: 0, False: 870]
  ------------------
10191|      0|        basicOp = EOpConstructInt8;
10192|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10193|       |        // so construct a 32-bit type and convert
10194|       |        // and do not generate any conversion if it is an identity conversion, i.e. int8_t(<int8_t> var)
10195|      0|        if (!intermediate.getArithemeticInt8Enabled() && (node->getBasicType() != EbtInt8)) {
  ------------------
  |  Branch (10195:13): [True: 0, False: 0]
  |  Branch (10195:58): [True: 0, False: 0]
  ------------------
10196|      0|            TType tempType(EbtInt, EvqTemporary, type.getVectorSize());
10197|      0|            newNode = node;
10198|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10198:17): [True: 0, False: 0]
  ------------------
10199|      0|                TOperator aggregateOp;
10200|      0|                if (op == EOpConstructInt8)
  ------------------
  |  Branch (10200:21): [True: 0, False: 0]
  ------------------
10201|      0|                    aggregateOp = EOpConstructInt;
10202|      0|                else
10203|      0|                    aggregateOp = (TOperator)(EOpConstructIVec2 + op - EOpConstructI8Vec2);
10204|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10205|      0|            }
10206|      0|            newNode = intermediate.addConversion(EbtInt8, newNode);
10207|      0|            return newNode;
10208|      0|        }
10209|      0|        break;
10210|       |
10211|      0|    case EOpConstructU8Vec2:
  ------------------
  |  Branch (10211:5): [True: 0, False: 870]
  ------------------
10212|      0|    case EOpConstructU8Vec3:
  ------------------
  |  Branch (10212:5): [True: 0, False: 870]
  ------------------
10213|      0|    case EOpConstructU8Vec4:
  ------------------
  |  Branch (10213:5): [True: 0, False: 870]
  ------------------
10214|      0|    case EOpConstructUint8:
  ------------------
  |  Branch (10214:5): [True: 0, False: 870]
  ------------------
10215|      0|        basicOp = EOpConstructUint8;
10216|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10217|       |        // so construct a 32-bit type and convert
10218|       |        // and do not generate any conversion if it is an identity conversion, i.e. uint8_t(<uint8_t> var)
10219|      0|        if (!intermediate.getArithemeticInt8Enabled() && (node->getBasicType() != EbtUint8)) {
  ------------------
  |  Branch (10219:13): [True: 0, False: 0]
  |  Branch (10219:58): [True: 0, False: 0]
  ------------------
10220|      0|            TType tempType(EbtUint, EvqTemporary, type.getVectorSize());
10221|      0|            newNode = node;
10222|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10222:17): [True: 0, False: 0]
  ------------------
10223|      0|                TOperator aggregateOp;
10224|      0|                if (op == EOpConstructUint8)
  ------------------
  |  Branch (10224:21): [True: 0, False: 0]
  ------------------
10225|      0|                    aggregateOp = EOpConstructUint;
10226|      0|                else
10227|      0|                    aggregateOp = (TOperator)(EOpConstructUVec2 + op - EOpConstructU8Vec2);
10228|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10229|      0|            }
10230|      0|            newNode = intermediate.addConversion(EbtUint8, newNode);
10231|      0|            return newNode;
10232|      0|        }
10233|      0|        break;
10234|       |
10235|      0|    case EOpConstructI16Vec2:
  ------------------
  |  Branch (10235:5): [True: 0, False: 870]
  ------------------
10236|      0|    case EOpConstructI16Vec3:
  ------------------
  |  Branch (10236:5): [True: 0, False: 870]
  ------------------
10237|      0|    case EOpConstructI16Vec4:
  ------------------
  |  Branch (10237:5): [True: 0, False: 870]
  ------------------
10238|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (10238:5): [True: 0, False: 870]
  ------------------
10239|      0|        basicOp = EOpConstructInt16;
10240|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10241|       |        // so construct a 32-bit type and convert
10242|       |        // and do not generate any conversion if it is an identity conversion, i.e. int16_t(<int16_t> var)
10243|      0|        if (!intermediate.getArithemeticInt16Enabled() && (node->getBasicType() != EbtInt16)) {
  ------------------
  |  Branch (10243:13): [True: 0, False: 0]
  |  Branch (10243:59): [True: 0, False: 0]
  ------------------
10244|      0|            TType tempType(EbtInt, EvqTemporary, type.getVectorSize());
10245|      0|            newNode = node;
10246|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10246:17): [True: 0, False: 0]
  ------------------
10247|      0|                TOperator aggregateOp;
10248|      0|                if (op == EOpConstructInt16)
  ------------------
  |  Branch (10248:21): [True: 0, False: 0]
  ------------------
10249|      0|                    aggregateOp = EOpConstructInt;
10250|      0|                else
10251|      0|                    aggregateOp = (TOperator)(EOpConstructIVec2 + op - EOpConstructI16Vec2);
10252|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10253|      0|            }
10254|      0|            newNode = intermediate.addConversion(EbtInt16, newNode);
10255|      0|            return newNode;
10256|      0|        }
10257|      0|        break;
10258|       |
10259|      0|    case EOpConstructU16Vec2:
  ------------------
  |  Branch (10259:5): [True: 0, False: 870]
  ------------------
10260|      0|    case EOpConstructU16Vec3:
  ------------------
  |  Branch (10260:5): [True: 0, False: 870]
  ------------------
10261|      0|    case EOpConstructU16Vec4:
  ------------------
  |  Branch (10261:5): [True: 0, False: 870]
  ------------------
10262|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (10262:5): [True: 0, False: 870]
  ------------------
10263|      0|        basicOp = EOpConstructUint16;
10264|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10265|       |        // so construct a 32-bit type and convert
10266|       |        // and do not generate any conversion if it is an identity conversion, i.e. uint16_t(<uint16_t> var)
10267|      0|        if (!intermediate.getArithemeticInt16Enabled() && (node->getBasicType() != EbtUint16)) {
  ------------------
  |  Branch (10267:13): [True: 0, False: 0]
  |  Branch (10267:59): [True: 0, False: 0]
  ------------------
10268|      0|            TType tempType(EbtUint, EvqTemporary, type.getVectorSize());
10269|      0|            newNode = node;
10270|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10270:17): [True: 0, False: 0]
  ------------------
10271|      0|                TOperator aggregateOp;
10272|      0|                if (op == EOpConstructUint16)
  ------------------
  |  Branch (10272:21): [True: 0, False: 0]
  ------------------
10273|      0|                    aggregateOp = EOpConstructUint;
10274|      0|                else
10275|      0|                    aggregateOp = (TOperator)(EOpConstructUVec2 + op - EOpConstructU16Vec2);
10276|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10277|      0|            }
10278|      0|            newNode = intermediate.addConversion(EbtUint16, newNode);
10279|      0|            return newNode;
10280|      0|        }
10281|      0|        break;
10282|       |
10283|      0|    case EOpConstructI64Vec2:
  ------------------
  |  Branch (10283:5): [True: 0, False: 870]
  ------------------
10284|      0|    case EOpConstructI64Vec3:
  ------------------
  |  Branch (10284:5): [True: 0, False: 870]
  ------------------
10285|      0|    case EOpConstructI64Vec4:
  ------------------
  |  Branch (10285:5): [True: 0, False: 870]
  ------------------
10286|      0|    case EOpConstructInt64:
  ------------------
  |  Branch (10286:5): [True: 0, False: 870]
  ------------------
10287|      0|        basicOp = EOpConstructInt64;
10288|      0|        break;
10289|       |
10290|      0|    case EOpConstructUint64:
  ------------------
  |  Branch (10290:5): [True: 0, False: 870]
  ------------------
10291|      0|        if (type.isScalar() && node->getType().isReference()) {
  ------------------
  |  Branch (10291:13): [True: 0, False: 0]
  |  Branch (10291:32): [True: 0, False: 0]
  ------------------
10292|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvPtrToUint64, true, node, type);
10293|      0|            return newNode;
10294|      0|        }
10295|      0|        [[fallthrough]];
10296|      0|    case EOpConstructU64Vec2:
  ------------------
  |  Branch (10296:5): [True: 0, False: 870]
  ------------------
10297|      0|    case EOpConstructU64Vec3:
  ------------------
  |  Branch (10297:5): [True: 0, False: 870]
  ------------------
10298|      0|    case EOpConstructU64Vec4:
  ------------------
  |  Branch (10298:5): [True: 0, False: 870]
  ------------------
10299|      0|        basicOp = EOpConstructUint64;
10300|      0|        break;
10301|       |
10302|      0|    case EOpConstructNonuniform:
  ------------------
  |  Branch (10302:5): [True: 0, False: 870]
  ------------------
10303|       |        // Make a nonuniform copy of node
10304|      0|        newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpCopyObject, true, node, type);
10305|      0|        return newNode;
10306|       |
10307|      0|    case EOpConstructReference:
  ------------------
  |  Branch (10307:5): [True: 0, False: 870]
  ------------------
10308|       |        // construct reference from reference
10309|      0|        if (node->getType().isReference()) {
  ------------------
  |  Branch (10309:13): [True: 0, False: 0]
  ------------------
10310|      0|            newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConstructReference, true, node, type);
10311|      0|            return newNode;
10312|       |        // construct reference from uint64
10313|      0|        } else if (node->getType().isScalar() && node->getType().getBasicType() == EbtUint64) {
  ------------------
  |  Branch (10313:20): [True: 0, False: 0]
  |  Branch (10313:50): [True: 0, False: 0]
  ------------------
10314|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUint64ToPtr, true, node,
10315|      0|                type);
10316|      0|            return newNode;
10317|       |        // construct reference from uvec2
10318|      0|        } else if (node->getType().isVector() && node->getType().getBasicType() == EbtUint &&
  ------------------
  |  Branch (10318:20): [True: 0, False: 0]
  |  Branch (10318:50): [True: 0, False: 0]
  ------------------
10319|      0|                   node->getVectorSize() == 2) {
  ------------------
  |  Branch (10319:20): [True: 0, False: 0]
  ------------------
10320|      0|            requireExtensions(loc, 1, &E_GL_EXT_buffer_reference_uvec2, "uvec2 conversion to reference");
10321|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUvec2ToPtr, true, node,
10322|      0|                type);
10323|      0|            return newNode;
10324|      0|        } else {
10325|      0|            return nullptr;
10326|      0|        }
10327|       |
10328|      0|    case EOpConstructCooperativeVectorNV:
  ------------------
  |  Branch (10328:5): [True: 0, False: 870]
  ------------------
10329|      0|        if (!node->getType().isCoopVecNV()) {
  ------------------
  |  Branch (10329:13): [True: 0, False: 0]
  ------------------
10330|      0|            if (type.getBasicType() != node->getType().getBasicType()) {
  ------------------
  |  Branch (10330:17): [True: 0, False: 0]
  ------------------
10331|      0|                node = intermediate.addConversion(type.getBasicType(), node);
10332|      0|                if (node == nullptr)
  ------------------
  |  Branch (10332:21): [True: 0, False: 0]
  ------------------
10333|      0|                    return nullptr;
10334|      0|            }
10335|      0|        }
10336|      0|        if (type.getBasicType() != node->getType().getBasicType()) {
  ------------------
  |  Branch (10336:13): [True: 0, False: 0]
  ------------------
10337|      0|            intermediate.buildConvertOp(type.getBasicType(), node->getType().getBasicType(), op);
10338|      0|            node = intermediate.addUnaryNode(op, node, node->getLoc(), type);
10339|      0|            return node;
10340|      0|        }
10341|      0|        if (subset) {
  ------------------
  |  Branch (10341:13): [True: 0, False: 0]
  ------------------
10342|      0|            return node;
10343|      0|        }
10344|       |
10345|      0|        node = intermediate.setAggregateOperator(node, op, type, node->getLoc());
10346|       |
10347|      0|        return node;
10348|       |
10349|      0|    case EOpConstructCooperativeMatrixNV:
  ------------------
  |  Branch (10349:5): [True: 0, False: 870]
  ------------------
10350|      0|    case EOpConstructCooperativeMatrixKHR:
  ------------------
  |  Branch (10350:5): [True: 0, False: 870]
  ------------------
10351|      0|        if (node->getType() == type) {
  ------------------
  |  Branch (10351:13): [True: 0, False: 0]
  ------------------
10352|      0|            return node;
10353|      0|        }
10354|      0|        if (!node->getType().isCoopMat()) {
  ------------------
  |  Branch (10354:13): [True: 0, False: 0]
  ------------------
10355|      0|            if (type.getBasicType() != node->getType().getBasicType()) {
  ------------------
  |  Branch (10355:17): [True: 0, False: 0]
  ------------------
10356|      0|                node = intermediate.addConversion(type.getBasicType(), node);
10357|      0|                if (node == nullptr)
  ------------------
  |  Branch (10357:21): [True: 0, False: 0]
  ------------------
10358|      0|                    return nullptr;
10359|      0|            }
10360|      0|            node = intermediate.setAggregateOperator(node, op, type, node->getLoc());
10361|      0|        } else if (type.sameCoopMatShape(node->getType()) && !type.sameCoopMatUse(node->getType()) &&
  ------------------
  |  Branch (10361:20): [True: 0, False: 0]
  |  Branch (10361:62): [True: 0, False: 0]
  ------------------
10362|      0|                   type.getBasicType() == node->getType().getBasicType()) {
  ------------------
  |  Branch (10362:20): [True: 0, False: 0]
  ------------------
10363|      0|            node = intermediate.setAggregateOperator(node, op, type, node->getLoc());
10364|      0|        } else {
10365|      0|            TOperator op = EOpConvNumeric;
10366|       |
10367|      0|            node = intermediate.addUnaryNode(op, node, node->getLoc(), type);
10368|       |            // If it's a (non-specialization) constant, it must be folded.
10369|      0|            if (node->getAsUnaryNode()->getOperand()->getAsConstantUnion())
  ------------------
  |  Branch (10369:17): [True: 0, False: 0]
  ------------------
10370|      0|                return node->getAsUnaryNode()->getOperand()->getAsConstantUnion()->fold(op, node->getType());
10371|      0|        }
10372|       |
10373|      0|        return node;
10374|       |
10375|      0|    case EOpConstructAccStruct:
  ------------------
  |  Branch (10375:5): [True: 0, False: 870]
  ------------------
10376|      0|        if ((node->getType().isScalar() && node->getType().getBasicType() == EbtUint64)) {
  ------------------
  |  Branch (10376:14): [True: 0, False: 0]
  |  Branch (10376:44): [True: 0, False: 0]
  ------------------
10377|       |            // construct acceleration structure from uint64
10378|      0|            requireExtensions(loc, Num_ray_tracing_EXTs, ray_tracing_EXTs, "uint64_t conversion to acclerationStructureEXT");
10379|      0|            return intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUint64ToAccStruct, true, node,
10380|      0|                type);
10381|      0|        } else if (node->getType().isVector() && node->getType().getBasicType() == EbtUint && node->getVectorSize() == 2) {
  ------------------
  |  Branch (10381:20): [True: 0, False: 0]
  |  Branch (10381:50): [True: 0, False: 0]
  |  Branch (10381:95): [True: 0, False: 0]
  ------------------
10382|       |            // construct acceleration structure from uint64
10383|      0|            requireExtensions(loc, Num_ray_tracing_EXTs, ray_tracing_EXTs, "uvec2 conversion to accelerationStructureEXT");
10384|      0|            return intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUvec2ToAccStruct, true, node,
10385|      0|                type);
10386|      0|        } else
10387|      0|            return nullptr;
10388|       |
10389|      0|    default:
  ------------------
  |  Branch (10389:5): [True: 0, False: 870]
  ------------------
10390|      0|        error(loc, "unsupported construction", "", "");
10391|       |
10392|      0|        return nullptr;
10393|    870|    }
10394|    870|    newNode = intermediate.addUnaryMath(basicOp, node, node->getLoc());
10395|    870|    if (newNode == nullptr) {
  ------------------
  |  Branch (10395:9): [True: 0, False: 870]
  ------------------
10396|      0|        error(loc, "can't convert", "constructor", "");
10397|      0|        return nullptr;
10398|      0|    }
10399|       |
10400|       |    //
10401|       |    // Now, if there still isn't an operation to do the construction, and we need one, add one.
10402|       |    //
10403|       |
10404|       |    // Otherwise, skip out early.
10405|    870|    if (subset || (newNode != node && newNode->getType() == type))
  ------------------
  |  Branch (10405:9): [True: 387, False: 483]
  |  Branch (10405:20): [True: 130, False: 353]
  |  Branch (10405:39): [True: 80, False: 50]
  ------------------
10406|    467|        return newNode;
10407|       |
10408|       |    // setAggregateOperator will insert a new node for the constructor, as needed.
10409|    403|    return intermediate.setAggregateOperator(newNode, op, type, loc);
10410|    870|}
_ZN7glslang13TParseContext12makeVariadicEPNS_9TFunctionERKNS_10TSourceLocE:
10412|  1.62k|void TParseContext::makeVariadic(TFunction *F, const TSourceLoc &loc) {
10413|  1.62k|    if (parsingBuiltins) {
  ------------------
  |  Branch (10413:9): [True: 1.62k, False: 0]
  ------------------
10414|  1.62k|        F->setVariadic();
10415|  1.62k|    } else {
10416|      0|        error(loc, "variadic argument specifier is only available for builtins", "...", "");
10417|      0|    }
10418|  1.62k|}
_ZN7glslang13TParseContext19getParamWithDefaultERKNS_11TPublicTypeEPNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEEPNS_12TIntermTypedERKNS_10TSourceLocE:
10422|  1.62k|{
10423|  1.62k|    if (!parsingBuiltins) {
  ------------------
  |  Branch (10423:9): [True: 0, False: 1.62k]
  ------------------
10424|      0|        error(loc, "default argument values are only available for builtins", "=", "");
10425|      0|        initializer = nullptr;
10426|      0|    }
10427|  1.62k|    if (ty.arraySizes) {
  ------------------
  |  Branch (10427:9): [True: 0, False: 1.62k]
  ------------------
10428|      0|        error(loc, "array arguments cannot be default-initialized", identifier->c_str(), "");
10429|      0|        initializer = nullptr;
10430|      0|    }
10431|  1.62k|    if (ty.basicType == EbtVoid) {
  ------------------
  |  Branch (10431:9): [True: 0, False: 1.62k]
  ------------------
10432|      0|        error(loc, "illegal use of type 'void'", identifier->c_str(), "");
10433|      0|        initializer = nullptr;
10434|      0|    }
10435|  1.62k|    reservedErrorCheck(loc, *identifier);
10436|  1.62k|    TParameter param = {identifier, new TType(ty), initializer};
10437|  1.62k|    return param;
10438|  1.62k|}
_ZN7glslang13TParseContext18constructAggregateEP11TIntermNodeRKNS_5TTypeEiRKNS_10TSourceLocE:
10446|     20|{
10447|     20|    TIntermTyped* converted = intermediate.addConversion(EOpConstructStruct, type, node->getAsTyped());
10448|     20|    if (! converted || converted->getType() != type) {
  ------------------
  |  Branch (10448:9): [True: 20, False: 0]
  |  Branch (10448:24): [True: 0, False: 0]
  ------------------
10449|     20|        bool enhanced = intermediate.getEnhancedMsgs();
10450|     20|        error(loc, "", "constructor", "cannot convert parameter %d from '%s' to '%s'", paramCount,
10451|     20|              node->getAsTyped()->getType().getCompleteString(enhanced).c_str(), type.getCompleteString(enhanced).c_str());
10452|       |
10453|     20|        return nullptr;
10454|     20|    }
10455|       |
10456|      0|    return converted;
10457|     20|}
_ZN7glslang13TParseContext23inheritMemoryQualifiersERKNS_10TQualifierERS1_:
10461|  1.33k|{
10462|  1.33k|    if (from.isReadOnly())
  ------------------
  |  Branch (10462:9): [True: 0, False: 1.33k]
  ------------------
10463|      0|        to.readonly = from.readonly;
10464|  1.33k|    if (from.isWriteOnly())
  ------------------
  |  Branch (10464:9): [True: 0, False: 1.33k]
  ------------------
10465|      0|        to.writeonly = from.writeonly;
10466|  1.33k|    if (from.coherent)
  ------------------
  |  Branch (10466:9): [True: 0, False: 1.33k]
  ------------------
10467|      0|        to.coherent = from.coherent;
10468|  1.33k|    if (from.volatil)
  ------------------
  |  Branch (10468:9): [True: 0, False: 1.33k]
  ------------------
10469|      0|        to.volatil = from.volatil;
10470|  1.33k|    if (from.nontemporal)
  ------------------
  |  Branch (10470:9): [True: 0, False: 1.33k]
  ------------------
10471|      0|        to.nontemporal = from.nontemporal;
10472|  1.33k|    if (from.restrict)
  ------------------
  |  Branch (10472:9): [True: 0, False: 1.33k]
  ------------------
10473|      0|        to.restrict = from.restrict;
10474|  1.33k|}
_ZN7glslang13TParseContext16untypedHeapCheckEPNS_7TSymbolERKNS_5TTypeERKNS_10TSourceLocEPKc:
10524|  16.2k|{
10525|       |    // EXT_descriptor_heap
10526|  16.2k|    bool isHeapStruct =
10527|  16.2k|        (type.getQualifier().storage == EvqSamplerHeap || type.getQualifier().storage == EvqResourceHeap);
  ------------------
  |  Branch (10527:10): [True: 0, False: 16.2k]
  |  Branch (10527:59): [True: 0, False: 16.2k]
  ------------------
10528|       |
10529|  16.2k|    if (intermediate.IsRequestedExtension(E_GL_EXT_descriptor_heap) && spvVersion.vulkan > 0 &&
  ------------------
  |  Branch (10529:9): [True: 0, False: 16.2k]
  |  Branch (10529:72): [True: 0, False: 0]
  ------------------
10530|      0|        !type.getQualifier().hasSet() && !type.getQualifier().hasBinding()) {
  ------------------
  |  Branch (10530:9): [True: 0, False: 0]
  |  Branch (10530:42): [True: 0, False: 0]
  ------------------
10531|      0|        if (type.getQualifier().layoutDescriptorHeap || isHeapStruct) {
  ------------------
  |  Branch (10531:13): [True: 0, False: 0]
  |  Branch (10531:57): [True: 0, False: 0]
  ------------------
10532|      0|            if ((intermediate.isEsProfile() && intermediate.getVersion() < 310) ||
  ------------------
  |  Branch (10532:18): [True: 0, False: 0]
  |  Branch (10532:48): [True: 0, False: 0]
  ------------------
10533|      0|                (!intermediate.isEsProfile() && intermediate.getVersion() < 420)) {
  ------------------
  |  Branch (10533:18): [True: 0, False: 0]
  |  Branch (10533:49): [True: 0, False: 0]
  ------------------
10534|      0|                TString warnMsg = "layout(descriptor_heap) is turned on beyond version/profile limits.";
10535|      0|                infoSink.info.message(EPrefixWarning, warnMsg.c_str());
10536|      0|            }
10537|      0|            if (IsAnonymous(symbol->getName()) &&
  ------------------
  |  Branch (10537:17): [True: 0, False: 0]
  ------------------
10538|      0|                (type.getQualifier().isUniformOrBuffer() || type.getBasicType() == EbtBlock)) {
  ------------------
  |  Branch (10538:18): [True: 0, False: 0]
  |  Branch (10538:61): [True: 0, False: 0]
  ------------------
10539|      0|                error(loc, "layout(descriptor_heap) decorated block should be explicitly "
10540|      0|                    "declared with a run-time sized array type.", name, "");
10541|      0|                return false;
10542|      0|            }
10543|      0|            if (!type.containsHeapArray()) {
  ------------------
  |  Branch (10543:17): [True: 0, False: 0]
  ------------------
10544|      0|                error(loc, "layout(descriptor_heap) decorated variable could only be declared as an array.",
10545|      0|                      name, "");
10546|      0|                return false;
10547|      0|            }
10548|      0|            descHeapBuiltinRemap(&symbol->getWritableType(), isHeapStruct);
10549|      0|        }
10550|      0|    }
10551|  16.2k|    return true;
10552|  16.2k|}
_ZN7glslang13TParseContext12declareBlockERKNS_10TSourceLocERNS_7TVectorINS_8TTypeLocEEEPKNSt3__112basic_stringIcNS8_11char_traitsIcEENS_14pool_allocatorIcEEEEPNS_11TArraySizesE:
10559|    248|{
10560|    248|    if (spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (10560:9): [True: 140, False: 108]
  |  Branch (10560:34): [True: 0, False: 140]
  ------------------
10561|      0|        blockStorageRemap(loc, blockName, currentBlockQualifier);
10562|    248|    blockStageIoCheck(loc, currentBlockQualifier);
10563|    248|    blockQualifierCheck(loc, currentBlockQualifier, instanceName != nullptr);
10564|    248|    if (arraySizes != nullptr) {
  ------------------
  |  Branch (10564:9): [True: 164, False: 84]
  ------------------
10565|    164|        arraySizesCheck(loc, currentBlockQualifier, arraySizes, nullptr, false);
10566|    164|        arrayOfArrayVersionCheck(loc, arraySizes);
10567|    164|        if (arraySizes->getNumDims() > 1)
  ------------------
  |  Branch (10567:13): [True: 0, False: 164]
  ------------------
10568|      0|            requireProfile(loc, ~EEsProfile, "array-of-array of block");
10569|    164|    }
10570|       |
10571|       |    // Inherit and check member storage qualifiers WRT to the block-level qualifier.
10572|  1.58k|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (10572:35): [True: 1.33k, False: 248]
  ------------------
10573|  1.33k|        TType& memberType = *typeList[member].type;
10574|  1.33k|        TQualifier& memberQualifier = memberType.getQualifier();
10575|  1.33k|        const TSourceLoc& memberLoc = typeList[member].loc;
10576|  1.33k|        if (memberQualifier.storage != EvqTemporary && memberQualifier.storage != EvqGlobal && memberQualifier.storage != currentBlockQualifier.storage)
  ------------------
  |  Branch (10576:13): [True: 1.20k, False: 135]
  |  Branch (10576:56): [True: 0, False: 1.20k]
  |  Branch (10576:96): [True: 0, False: 0]
  ------------------
10577|      0|            error(memberLoc, "member storage qualifier cannot contradict block storage qualifier", memberType.getFieldName().c_str(), "");
10578|  1.33k|        memberQualifier.storage = currentBlockQualifier.storage;
10579|  1.33k|        globalQualifierFixCheck(memberLoc, memberQualifier);
10580|  1.33k|        inheritMemoryQualifiers(currentBlockQualifier, memberQualifier);
10581|  1.33k|        if (currentBlockQualifier.perPrimitiveNV)
  ------------------
  |  Branch (10581:13): [True: 297, False: 1.04k]
  ------------------
10582|    297|            memberQualifier.perPrimitiveNV = currentBlockQualifier.perPrimitiveNV;
10583|  1.33k|        if (currentBlockQualifier.perViewNV)
  ------------------
  |  Branch (10583:13): [True: 0, False: 1.33k]
  ------------------
10584|      0|            memberQualifier.perViewNV = currentBlockQualifier.perViewNV;
10585|  1.33k|        if (currentBlockQualifier.perTaskNV)
  ------------------
  |  Branch (10585:13): [True: 0, False: 1.33k]
  ------------------
10586|      0|            memberQualifier.perTaskNV = currentBlockQualifier.perTaskNV;
10587|  1.33k|        if (currentBlockQualifier.storage == EvqtaskPayloadSharedEXT)
  ------------------
  |  Branch (10587:13): [True: 0, False: 1.33k]
  ------------------
10588|      0|            memberQualifier.storage = EvqtaskPayloadSharedEXT;
10589|  1.33k|        if (memberQualifier.storage == EvqSpirvStorageClass)
  ------------------
  |  Branch (10589:13): [True: 0, False: 1.33k]
  ------------------
10590|      0|            error(memberLoc, "member cannot have a spirv_storage_class qualifier", memberType.getFieldName().c_str(), "");
10591|  1.33k|        if (memberQualifier.hasSpirvDecorate() && !memberQualifier.getSpirvDecorate().decorateIds.empty())
  ------------------
  |  Branch (10591:13): [True: 0, False: 1.33k]
  |  Branch (10591:51): [True: 0, False: 0]
  ------------------
10592|      0|            error(memberLoc, "member cannot have a spirv_decorate_id qualifier", memberType.getFieldName().c_str(), "");
10593|  1.33k|        if ((currentBlockQualifier.storage == EvqUniform || currentBlockQualifier.storage == EvqBuffer) && (memberQualifier.isInterpolation() || memberQualifier.isAuxiliary()))
  ------------------
  |  Branch (10593:14): [True: 0, False: 1.33k]
  |  Branch (10593:61): [True: 0, False: 1.33k]
  |  Branch (10593:109): [True: 0, False: 0]
  |  Branch (10593:146): [True: 0, False: 0]
  ------------------
10594|      0|            error(memberLoc, "member of uniform or buffer block cannot have an auxiliary or interpolation qualifier", memberType.getFieldName().c_str(), "");
10595|  1.33k|        if (memberType.isArray())
  ------------------
  |  Branch (10595:13): [True: 680, False: 658]
  ------------------
10596|    680|            arraySizesCheck(memberLoc, currentBlockQualifier, memberType.getArraySizes(), nullptr, member == typeList.size() - 1);
10597|  1.33k|        if (memberQualifier.hasOffset()) {
  ------------------
  |  Branch (10597:13): [True: 0, False: 1.33k]
  ------------------
10598|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (10598:17): [True: 0, False: 0]
  ------------------
10599|      0|                profileRequires(memberLoc, ~EEsProfile, 440, E_GL_ARB_enhanced_layouts, "\"offset\" on block member");
10600|      0|                profileRequires(memberLoc, EEsProfile, 300, E_GL_ARB_enhanced_layouts, "\"offset\" on block member");
10601|      0|            }
10602|      0|        }
10603|       |
10604|       |        // For bindless texture, sampler can be declared as uniform/storage block member,
10605|  1.33k|        if (memberType.containsOpaque() && !extensionTurnedOn(E_GL_EXT_structured_descriptor_heap)) {
  ------------------
  |  Branch (10605:13): [True: 0, False: 1.33k]
  |  Branch (10605:44): [True: 0, False: 0]
  ------------------
10606|      0|            if (memberType.containsSampler() && extensionTurnedOn(E_GL_ARB_bindless_texture))
  ------------------
  |  Branch (10606:17): [True: 0, False: 0]
  |  Branch (10606:49): [True: 0, False: 0]
  ------------------
10607|      0|                updateBindlessQualifier(memberType);
10608|      0|            else
10609|      0|                error(memberLoc, "member of block cannot be or contain a sampler, image, or atomic_uint type", typeList[member].type->getFieldName().c_str(), "");
10610|      0|        }
10611|       |
10612|  1.33k|        if (memberType.containsCoopMat())
  ------------------
  |  Branch (10612:13): [True: 0, False: 1.33k]
  ------------------
10613|      0|            error(memberLoc, "member of block cannot be or contain a cooperative matrix type", typeList[member].type->getFieldName().c_str(), "");
10614|       |
10615|  1.33k|        if (memberType.containsCoopVec())
  ------------------
  |  Branch (10615:13): [True: 0, False: 1.33k]
  ------------------
10616|      0|            error(memberLoc, "member of block cannot be or contain a cooperative vector type", typeList[member].type->getFieldName().c_str(), "");
10617|  1.33k|    }
10618|       |
10619|       |    // This might be a redeclaration of a built-in block.  If so, redeclareBuiltinBlock() will
10620|       |    // do all the rest.
10621|    248|    if (! symbolTable.atBuiltInLevel() && builtInName(*blockName)) {
  ------------------
  |  Branch (10621:9): [True: 0, False: 248]
  |  Branch (10621:43): [True: 0, False: 0]
  ------------------
10622|      0|        redeclareBuiltinBlock(loc, typeList, *blockName, instanceName, arraySizes);
10623|      0|        return nullptr;
10624|      0|    }
10625|       |
10626|       |    // Not a redeclaration of a built-in; check that all names are user names.
10627|    248|    reservedErrorCheck(loc, *blockName);
10628|    248|    if (instanceName)
  ------------------
  |  Branch (10628:9): [True: 164, False: 84]
  ------------------
10629|    164|        reservedErrorCheck(loc, *instanceName);
10630|  1.58k|    for (unsigned int member = 0; member < typeList.size(); ++member)
  ------------------
  |  Branch (10630:35): [True: 1.33k, False: 248]
  ------------------
10631|  1.33k|        reservedErrorCheck(typeList[member].loc, typeList[member].type->getFieldName());
10632|       |
10633|       |    // Make default block qualification, and adjust the member qualifications
10634|       |
10635|    248|    TQualifier defaultQualification;
10636|    248|    switch (currentBlockQualifier.storage) {
10637|      0|    case EvqUniform:    defaultQualification = globalUniformDefaults;    break;
  ------------------
  |  Branch (10637:5): [True: 0, False: 248]
  ------------------
10638|      0|    case EvqBuffer:     defaultQualification = globalBufferDefaults;     break;
  ------------------
  |  Branch (10638:5): [True: 0, False: 248]
  ------------------
10639|     28|    case EvqVaryingIn:  defaultQualification = globalInputDefaults;      break;
  ------------------
  |  Branch (10639:5): [True: 28, False: 220]
  ------------------
10640|    220|    case EvqVaryingOut: defaultQualification = globalOutputDefaults;     break;
  ------------------
  |  Branch (10640:5): [True: 220, False: 28]
  ------------------
10641|      0|    case EvqShared:     defaultQualification = globalSharedDefaults;     break;
  ------------------
  |  Branch (10641:5): [True: 0, False: 248]
  ------------------
10642|      0|    default:            defaultQualification.clear();                    break;
  ------------------
  |  Branch (10642:5): [True: 0, False: 248]
  ------------------
10643|    248|    }
10644|       |
10645|       |    // Special case for "push_constant uniform", which has a default of std430,
10646|       |    // contrary to normal uniform defaults, and can't have a default tracked for it.
10647|    248|    if ((currentBlockQualifier.isPushConstant() && !currentBlockQualifier.hasPacking()) ||
  ------------------
  |  Branch (10647:10): [True: 0, False: 248]
  |  Branch (10647:52): [True: 0, False: 0]
  ------------------
10648|    248|        (currentBlockQualifier.isShaderRecord() && !currentBlockQualifier.hasPacking()))
  ------------------
  |  Branch (10648:10): [True: 0, False: 248]
  |  Branch (10648:52): [True: 0, False: 0]
  ------------------
10649|      0|        currentBlockQualifier.layoutPacking = ElpStd430;
10650|       |
10651|       |    // Special case for "taskNV in/out", which has a default of std430,
10652|    248|    if (currentBlockQualifier.isTaskMemory() && !currentBlockQualifier.hasPacking())
  ------------------
  |  Branch (10652:9): [True: 0, False: 248]
  |  Branch (10652:49): [True: 0, False: 0]
  ------------------
10653|      0|        currentBlockQualifier.layoutPacking = ElpStd430;
10654|       |
10655|       |    // fix and check for member layout qualifiers
10656|       |
10657|    248|    mergeObjectLayoutQualifiers(defaultQualification, currentBlockQualifier, true);
10658|       |
10659|       |    // "The align qualifier can only be used on blocks or block members, and only for blocks declared with std140 or std430 layouts."
10660|    248|    if (currentBlockQualifier.hasAlign()) {
  ------------------
  |  Branch (10660:9): [True: 0, False: 248]
  ------------------
10661|      0|        if (defaultQualification.layoutPacking != ElpStd140 &&
  ------------------
  |  Branch (10661:13): [True: 0, False: 0]
  ------------------
10662|      0|            defaultQualification.layoutPacking != ElpStd430 &&
  ------------------
  |  Branch (10662:13): [True: 0, False: 0]
  ------------------
10663|      0|            defaultQualification.layoutPacking != ElpScalar) {
  ------------------
  |  Branch (10663:13): [True: 0, False: 0]
  ------------------
10664|      0|            error(loc, "can only be used with std140, std430, or scalar layout packing", "align", "");
10665|      0|            defaultQualification.layoutAlign = -1;
10666|      0|        }
10667|      0|    }
10668|       |
10669|    248|    bool memberWithLocation = false;
10670|    248|    bool memberWithoutLocation = false;
10671|    248|    bool memberWithPerViewQualifier = false;
10672|  1.58k|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (10672:35): [True: 1.33k, False: 248]
  ------------------
10673|  1.33k|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
10674|  1.33k|        const TSourceLoc& memberLoc = typeList[member].loc;
10675|  1.33k|        if (memberQualifier.hasStream()) {
  ------------------
  |  Branch (10675:13): [True: 0, False: 1.33k]
  ------------------
10676|      0|            if (defaultQualification.layoutStream != memberQualifier.layoutStream)
  ------------------
  |  Branch (10676:17): [True: 0, False: 0]
  ------------------
10677|      0|                error(memberLoc, "member cannot contradict block", "stream", "");
10678|      0|        }
10679|       |
10680|       |        // "This includes a block's inheritance of the
10681|       |        // current global default buffer, a block member's inheritance of the block's
10682|       |        // buffer, and the requirement that any *xfb_buffer* declared on a block
10683|       |        // member must match the buffer inherited from the block."
10684|  1.33k|        if (memberQualifier.hasXfbBuffer()) {
  ------------------
  |  Branch (10684:13): [True: 0, False: 1.33k]
  ------------------
10685|      0|            if (defaultQualification.layoutXfbBuffer != memberQualifier.layoutXfbBuffer)
  ------------------
  |  Branch (10685:17): [True: 0, False: 0]
  ------------------
10686|      0|                error(memberLoc, "member cannot contradict block (or what block inherited from global)", "xfb_buffer", "");
10687|      0|        }
10688|       |
10689|  1.33k|        if (memberQualifier.hasPacking())
  ------------------
  |  Branch (10689:13): [True: 0, False: 1.33k]
  ------------------
10690|      0|            error(memberLoc, "member of block cannot have a packing layout qualifier", typeList[member].type->getFieldName().c_str(), "");
10691|  1.33k|        if (memberQualifier.hasLocation()) {
  ------------------
  |  Branch (10691:13): [True: 0, False: 1.33k]
  ------------------
10692|      0|            const char* feature = "location on block member";
10693|      0|            switch (currentBlockQualifier.storage) {
10694|      0|            case EvqVaryingIn:
  ------------------
  |  Branch (10694:13): [True: 0, False: 0]
  ------------------
10695|      0|            case EvqVaryingOut:
  ------------------
  |  Branch (10695:13): [True: 0, False: 0]
  ------------------
10696|      0|                requireProfile(memberLoc, ECoreProfile | ECompatibilityProfile | EEsProfile, feature);
10697|      0|                profileRequires(memberLoc, ECoreProfile | ECompatibilityProfile, 440, E_GL_ARB_enhanced_layouts, feature);
10698|      0|                profileRequires(memberLoc, EEsProfile, 320, Num_AEP_shader_io_blocks, AEP_shader_io_blocks, feature);
10699|      0|                memberWithLocation = true;
10700|      0|                break;
10701|      0|            default:
  ------------------
  |  Branch (10701:13): [True: 0, False: 0]
  ------------------
10702|      0|                error(memberLoc, "can only use in an in/out block", feature, "");
10703|      0|                break;
10704|      0|            }
10705|      0|        } else
10706|  1.33k|            memberWithoutLocation = true;
10707|       |
10708|       |        // "The offset qualifier can only be used on block members of blocks declared with std140 or std430 layouts."
10709|       |        // "The align qualifier can only be used on blocks or block members, and only for blocks declared with std140 or std430 layouts."
10710|  1.33k|        if (memberQualifier.hasAlign() || memberQualifier.hasOffset()) {
  ------------------
  |  Branch (10710:13): [True: 0, False: 1.33k]
  |  Branch (10710:43): [True: 0, False: 1.33k]
  ------------------
10711|      0|            if (defaultQualification.layoutPacking != ElpStd140 &&
  ------------------
  |  Branch (10711:17): [True: 0, False: 0]
  ------------------
10712|      0|                defaultQualification.layoutPacking != ElpStd430 &&
  ------------------
  |  Branch (10712:17): [True: 0, False: 0]
  ------------------
10713|      0|                defaultQualification.layoutPacking != ElpScalar)
  ------------------
  |  Branch (10713:17): [True: 0, False: 0]
  ------------------
10714|      0|                error(memberLoc, "can only be used with std140, std430, or scalar layout packing", "offset/align", "");
10715|      0|        }
10716|       |
10717|  1.33k|        if (memberQualifier.isPerView()) {
  ------------------
  |  Branch (10717:13): [True: 135, False: 1.20k]
  ------------------
10718|    135|            memberWithPerViewQualifier = true;
10719|    135|        }
10720|       |
10721|  1.33k|        TQualifier newMemberQualification = defaultQualification;
10722|  1.33k|        mergeQualifiers(memberLoc, newMemberQualification, memberQualifier, false);
10723|  1.33k|        memberQualifier = newMemberQualification;
10724|  1.33k|    }
10725|       |
10726|    248|    layoutMemberLocationArrayCheck(loc, memberWithLocation, arraySizes);
10727|       |
10728|       |    // Ensure that the block has an XfbBuffer assigned. This is needed
10729|       |    // because if the block has a XfbOffset assigned, then it is
10730|       |    // assumed that it has implicitly assigned the current global
10731|       |    // XfbBuffer, and because it's members need to be assigned a
10732|       |    // XfbOffset if they lack it.
10733|    248|    if (currentBlockQualifier.storage == EvqVaryingOut && globalOutputDefaults.hasXfbBuffer()) {
  ------------------
  |  Branch (10733:9): [True: 220, False: 28]
  |  Branch (10733:59): [True: 112, False: 108]
  ------------------
10734|    112|       if (!currentBlockQualifier.hasXfbBuffer() && currentBlockQualifier.hasXfbOffset())
  ------------------
  |  Branch (10734:12): [True: 112, False: 0]
  |  Branch (10734:53): [True: 0, False: 112]
  ------------------
10735|      0|          currentBlockQualifier.layoutXfbBuffer = globalOutputDefaults.layoutXfbBuffer;
10736|    112|    }
10737|       |
10738|       |    // Process the members
10739|    248|    fixBlockLocations(loc, currentBlockQualifier, typeList, memberWithLocation, memberWithoutLocation);
10740|    248|    fixXfbOffsets(currentBlockQualifier, typeList);
10741|    248|    fixBlockUniformOffsets(currentBlockQualifier, typeList);
10742|    248|    fixBlockUniformLayoutMatrix(currentBlockQualifier, &typeList, nullptr);
10743|    248|    fixBlockUniformLayoutPacking(currentBlockQualifier, &typeList, nullptr);
10744|  1.58k|    for (unsigned int member = 0; member < typeList.size(); ++member)
  ------------------
  |  Branch (10744:35): [True: 1.33k, False: 248]
  ------------------
10745|  1.33k|        layoutTypeCheck(typeList[member].loc, *typeList[member].type);
10746|       |
10747|    248|    if (memberWithPerViewQualifier) {
  ------------------
  |  Branch (10747:9): [True: 54, False: 194]
  ------------------
10748|    405|        for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (10748:39): [True: 351, False: 54]
  ------------------
10749|    351|            checkAndResizeMeshViewDim(typeList[member].loc, *typeList[member].type, /*isBlockMember*/ true);
10750|    351|        }
10751|     54|    }
10752|       |
10753|       |    // reverse merge, so that currentBlockQualifier now has all layout information
10754|       |    // (can't use defaultQualification directly, it's missing other non-layout-default-class qualifiers)
10755|    248|    mergeObjectLayoutQualifiers(currentBlockQualifier, defaultQualification, true);
10756|       |
10757|       |    //
10758|       |    // Build and add the interface block as a new type named 'blockName'
10759|       |    //
10760|       |
10761|    248|    TType blockType(&typeList, *blockName, currentBlockQualifier);
10762|    248|    if (arraySizes != nullptr)
  ------------------
  |  Branch (10762:9): [True: 164, False: 84]
  ------------------
10763|    164|        blockType.transferArraySizes(arraySizes);
10764|       |
10765|    248|    if (arraySizes == nullptr)
  ------------------
  |  Branch (10765:9): [True: 84, False: 164]
  ------------------
10766|     84|        ioArrayCheck(loc, blockType, instanceName ? *instanceName : *blockName);
  ------------------
  |  Branch (10766:38): [True: 0, False: 84]
  ------------------
10767|    248|    if (currentBlockQualifier.hasBufferReference()) {
  ------------------
  |  Branch (10767:9): [True: 0, False: 248]
  ------------------
10768|       |
10769|      0|        if (currentBlockQualifier.storage != EvqBuffer)
  ------------------
  |  Branch (10769:13): [True: 0, False: 0]
  ------------------
10770|      0|            error(loc, "can only be used with buffer", "buffer_reference", "");
10771|       |
10772|       |        // Create the block reference type. If it was forward-declared, detect that
10773|       |        // as a referent struct type with no members. Replace the referent type with
10774|       |        // blockType.
10775|      0|        TType blockNameType(EbtReference, blockType, *blockName);
10776|      0|        TVariable* blockNameVar = new TVariable(blockName, blockNameType, true);
10777|      0|        if (! symbolTable.insert(*blockNameVar)) {
  ------------------
  |  Branch (10777:13): [True: 0, False: 0]
  ------------------
10778|      0|            TSymbol* existingName = symbolTable.find(*blockName);
10779|      0|            if (existingName->getType().isReference() &&
  ------------------
  |  Branch (10779:17): [True: 0, False: 0]
  ------------------
10780|      0|                existingName->getType().getReferentType()->getStruct() &&
  ------------------
  |  Branch (10780:17): [True: 0, False: 0]
  ------------------
10781|      0|                existingName->getType().getReferentType()->getStruct()->size() == 0 &&
  ------------------
  |  Branch (10781:17): [True: 0, False: 0]
  ------------------
10782|      0|                existingName->getType().getQualifier().storage == blockType.getQualifier().storage) {
  ------------------
  |  Branch (10782:17): [True: 0, False: 0]
  ------------------
10783|      0|                existingName->getType().getReferentType()->deepCopy(blockType);
10784|      0|            } else {
10785|      0|                error(loc, "block name cannot be redefined", blockName->c_str(), "");
10786|      0|            }
10787|      0|        }
10788|      0|        if (!instanceName) {
  ------------------
  |  Branch (10788:13): [True: 0, False: 0]
  ------------------
10789|      0|            return nullptr;
10790|      0|        }
10791|    248|    } else {
10792|       |        //
10793|       |        // Don't make a user-defined type out of block name; that will cause an error
10794|       |        // if the same block name gets reused in a different interface.
10795|       |        //
10796|       |        // "Block names have no other use within a shader
10797|       |        // beyond interface matching; it is a compile-time error to use a block name at global scope for anything
10798|       |        // other than as a block name (e.g., use of a block name for a global variable name or function name is
10799|       |        // currently reserved)."
10800|       |        //
10801|       |        // Use the symbol table to prevent normal reuse of the block's name, as a variable entry,
10802|       |        // whose type is EbtBlock, but without all the structure; that will come from the type
10803|       |        // the instances point to.
10804|       |        //
10805|    248|        TType blockNameType(EbtBlock, blockType.getQualifier().storage);
10806|    248|        TVariable* blockNameVar = new TVariable(blockName, blockNameType);
10807|    248|        if (! symbolTable.insert(*blockNameVar)) {
  ------------------
  |  Branch (10807:13): [True: 28, False: 220]
  ------------------
10808|     28|            TSymbol* existingName = symbolTable.find(*blockName);
10809|     28|            if (existingName->getType().getBasicType() == EbtBlock) {
  ------------------
  |  Branch (10809:17): [True: 28, False: 0]
  ------------------
10810|     28|                if (existingName->getType().getQualifier().storage == blockType.getQualifier().storage) {
  ------------------
  |  Branch (10810:21): [True: 0, False: 28]
  ------------------
10811|      0|                    error(loc, "Cannot reuse block name within the same interface:", blockName->c_str(), blockType.getStorageQualifierString());
10812|      0|                    return nullptr;
10813|      0|                }
10814|     28|            } else {
10815|      0|                error(loc, "block name cannot redefine a non-block name", blockName->c_str(), "");
10816|      0|                return nullptr;
10817|      0|            }
10818|     28|        }
10819|    248|    }
10820|       |
10821|       |    // Add the variable, as anonymous or named instanceName.
10822|       |    // Make an anonymous variable if no name was provided.
10823|    248|    if (! instanceName)
  ------------------
  |  Branch (10823:9): [True: 84, False: 164]
  ------------------
10824|     84|        instanceName = NewPoolTString("");
10825|       |
10826|    248|    TVariable& variable = *new TVariable(instanceName, blockType);
10827|    248|    if (! symbolTable.insert(variable)) {
  ------------------
  |  Branch (10827:9): [True: 0, False: 248]
  ------------------
10828|      0|        if (*instanceName == "")
  ------------------
  |  Branch (10828:13): [True: 0, False: 0]
  ------------------
10829|      0|            error(loc, "nameless block contains a member that already has a name at global scope", blockName->c_str(), "");
10830|      0|        else
10831|      0|            error(loc, "block instance name redefinition", variable.getName().c_str(), "");
10832|       |
10833|      0|        return nullptr;
10834|      0|    }
10835|       |
10836|       |    // EXT_descriptor_heap
10837|    248|    if (!untypedHeapCheck(&variable, blockType, loc, blockName->c_str())) {
  ------------------
  |  Branch (10837:9): [True: 0, False: 248]
  ------------------
10838|      0|        return nullptr;
10839|      0|    }
10840|       |
10841|       |    // Check for general layout qualifier errors
10842|    248|    layoutObjectCheck(loc, variable);
10843|       |
10844|       |    // fix up
10845|    248|    if (isIoResizeArray(blockType)) {
  ------------------
  |  Branch (10845:9): [True: 164, False: 84]
  ------------------
10846|    164|        ioArraySymbolResizeList.push_back(&variable);
10847|    164|        checkIoArraysConsistency(loc, true);
10848|    164|    } else
10849|     84|        fixIoArraySize(loc, variable.getWritableType());
10850|       |
10851|       |    // Save it in the AST for linker use.
10852|    248|    trackLinkage(variable);
10853|       |
10854|    248|    TIntermAggregate* declNode = nullptr;
10855|    248|    if (intermediate.getDebugInfo()) {
  ------------------
  |  Branch (10855:9): [True: 0, False: 248]
  ------------------
10856|      0|        auto blockDeclNode = new TIntermVariableDecl(intermediate.addSymbol(variable, loc), nullptr);
10857|      0|        blockDeclNode->setLoc(loc);
10858|       |
10859|       |        // We have to wrap the declaration with a sequence to fit the same processing logic with variables.
10860|      0|        declNode = new TIntermAggregate(EOpSequence);
10861|      0|        declNode->getSequence().push_back(blockDeclNode);
10862|      0|    }
10863|    248|    return declNode;
10864|    248|}
_ZN7glslang13TParseContext17blockStageIoCheckERKNS_10TSourceLocERKNS_10TQualifierE:
10880|    248|{
10881|    248|    const char *extsrt[2] = { E_GL_NV_ray_tracing, E_GL_EXT_ray_tracing };
10882|    248|    switch (qualifier.storage) {
10883|      0|    case EvqUniform:
  ------------------
  |  Branch (10883:5): [True: 0, False: 248]
  ------------------
10884|      0|        profileRequires(loc, EEsProfile, 300, nullptr, "uniform block");
10885|      0|        profileRequires(loc, ENoProfile, 140, E_GL_ARB_uniform_buffer_object, "uniform block");
10886|      0|        if (currentBlockQualifier.layoutPacking == ElpStd430 && ! currentBlockQualifier.isPushConstant())
  ------------------
  |  Branch (10886:13): [True: 0, False: 0]
  |  Branch (10886:65): [True: 0, False: 0]
  ------------------
10887|      0|            requireExtensions(loc, 1, &E_GL_EXT_scalar_block_layout, "std430 requires the buffer storage qualifier");
10888|      0|        break;
10889|      0|    case EvqBuffer:
  ------------------
  |  Branch (10889:5): [True: 0, False: 248]
  ------------------
10890|      0|        requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, "buffer block");
10891|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 430, E_GL_ARB_shader_storage_buffer_object, "buffer block");
10892|      0|        profileRequires(loc, EEsProfile, 310, nullptr, "buffer block");
10893|      0|        break;
10894|     28|    case EvqVaryingIn:
  ------------------
  |  Branch (10894:5): [True: 28, False: 220]
  ------------------
10895|     28|        profileRequires(loc, ~EEsProfile, 150, E_GL_ARB_separate_shader_objects, "input block");
10896|       |        // It is a compile-time error to have an input block in a vertex shader or an output block in a fragment shader
10897|       |        // "Compute shaders do not permit user-defined input variables..."
10898|     28|        requireStage(loc, (EShLanguageMask)(EShLangTessControlMask|EShLangTessEvaluationMask|EShLangGeometryMask|
10899|     28|            EShLangFragmentMask|EShLangMeshMask), "input block");
10900|     28|        if (language == EShLangFragment) {
  ------------------
  |  Branch (10900:13): [True: 0, False: 28]
  ------------------
10901|      0|            profileRequires(loc, EEsProfile, 320, Num_AEP_shader_io_blocks, AEP_shader_io_blocks, "fragment input block");
10902|     28|        } else if (language == EShLangMesh && ! qualifier.isTaskMemory()) {
  ------------------
  |  Branch (10902:20): [True: 0, False: 28]
  |  Branch (10902:47): [True: 0, False: 0]
  ------------------
10903|      0|            error(loc, "input blocks cannot be used in a mesh shader", "out", "");
10904|      0|        }
10905|     28|        break;
10906|    220|    case EvqVaryingOut:
  ------------------
  |  Branch (10906:5): [True: 220, False: 28]
  ------------------
10907|    220|        profileRequires(loc, ~EEsProfile, 150, E_GL_ARB_separate_shader_objects, "output block");
10908|    220|        requireStage(loc, (EShLanguageMask)(EShLangVertexMask|EShLangTessControlMask|EShLangTessEvaluationMask|
10909|    220|            EShLangGeometryMask|EShLangMeshMask|EShLangTaskMask), "output block");
10910|       |        // ES 310 can have a block before shader_io is turned on, so skip this test for built-ins
10911|    220|        if (language == EShLangVertex && ! parsingBuiltins) {
  ------------------
  |  Branch (10911:13): [True: 28, False: 192]
  |  Branch (10911:42): [True: 0, False: 28]
  ------------------
10912|      0|            profileRequires(loc, EEsProfile, 320, Num_AEP_shader_io_blocks, AEP_shader_io_blocks, "vertex output block");
10913|    220|        } else if (language == EShLangMesh && qualifier.isTaskMemory()) {
  ------------------
  |  Branch (10913:20): [True: 108, False: 112]
  |  Branch (10913:47): [True: 0, False: 108]
  ------------------
10914|      0|            error(loc, "can only use on input blocks in mesh shader", "taskNV", "");
10915|    220|        } else if (language == EShLangTask && ! qualifier.isTaskMemory()) {
  ------------------
  |  Branch (10915:20): [True: 0, False: 220]
  |  Branch (10915:47): [True: 0, False: 0]
  ------------------
10916|      0|            error(loc, "output blocks cannot be used in a task shader", "out", "");
10917|      0|        }
10918|    220|        break;
10919|      0|    case EvqShared:
  ------------------
  |  Branch (10919:5): [True: 0, False: 248]
  ------------------
10920|      0|        if (spvVersion.spv > 0 && spvVersion.spv < EShTargetSpv_1_4) {
  ------------------
  |  Branch (10920:13): [True: 0, False: 0]
  |  Branch (10920:35): [True: 0, False: 0]
  ------------------
10921|      0|            error(loc, "shared block requires at least SPIR-V 1.4", "shared block", "");
10922|      0|        }
10923|      0|        profileRequires(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, 0, E_GL_EXT_shared_memory_block, "shared block");
10924|      0|        break;
10925|      0|    case EvqPayload:
  ------------------
  |  Branch (10925:5): [True: 0, False: 248]
  ------------------
10926|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "rayPayloadNV block");
10927|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangAnyHitMask | EShLangClosestHitMask | EShLangMissMask),
10928|      0|            "rayPayloadNV block");
10929|      0|        break;
10930|      0|    case EvqPayloadIn:
  ------------------
  |  Branch (10930:5): [True: 0, False: 248]
  ------------------
10931|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "rayPayloadInNV block");
10932|      0|        requireStage(loc, (EShLanguageMask)(EShLangAnyHitMask | EShLangClosestHitMask | EShLangMissMask),
10933|      0|            "rayPayloadInNV block");
10934|      0|        break;
10935|      0|    case EvqHitAttr:
  ------------------
  |  Branch (10935:5): [True: 0, False: 248]
  ------------------
10936|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "hitAttributeNV block");
10937|      0|        requireStage(loc, (EShLanguageMask)(EShLangIntersectMask | EShLangAnyHitMask | EShLangClosestHitMask), "hitAttributeNV block");
10938|      0|        break;
10939|      0|    case EvqCallableData:
  ------------------
  |  Branch (10939:5): [True: 0, False: 248]
  ------------------
10940|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "callableDataNV block");
10941|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask | EShLangMissMask | EShLangCallableMask),
10942|      0|            "callableDataNV block");
10943|      0|        break;
10944|      0|    case EvqCallableDataIn:
  ------------------
  |  Branch (10944:5): [True: 0, False: 248]
  ------------------
10945|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "callableDataInNV block");
10946|      0|        requireStage(loc, (EShLanguageMask)(EShLangCallableMask), "callableDataInNV block");
10947|      0|        break;
10948|      0|    case EvqHitObjectAttrNV:
  ------------------
  |  Branch (10948:5): [True: 0, False: 248]
  ------------------
10949|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_NV_shader_invocation_reorder, "hitObjectAttributeNV block");
10950|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask | EShLangMissMask), "hitObjectAttributeNV block");
10951|      0|        break;
10952|      0|    case EvqHitObjectAttrEXT:
  ------------------
  |  Branch (10952:5): [True: 0, False: 248]
  ------------------
10953|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_shader_invocation_reorder, "hitObjectAttributeEXT block");
10954|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask | EShLangMissMask), "hitObjectAttributeEXT block");
10955|      0|        break;
10956|      0|    case EvqResourceHeap:
  ------------------
  |  Branch (10956:5): [True: 0, False: 248]
  ------------------
10957|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_structured_descriptor_heap, "resourceheap block");
10958|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_descriptor_heap, "resourceheap block");
10959|      0|        break;
10960|      0|    case EvqSamplerHeap:
  ------------------
  |  Branch (10960:5): [True: 0, False: 248]
  ------------------
10961|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_structured_descriptor_heap, "samplerheap block");
10962|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_descriptor_heap, "samplerheap block");
10963|      0|        break;
10964|      0|    default:
  ------------------
  |  Branch (10964:5): [True: 0, False: 248]
  ------------------
10965|      0|        error(loc, "only uniform, buffer, in, or out blocks are supported", blockName->c_str(), "");
10966|      0|        break;
10967|    248|    }
10968|    248|}
_ZN7glslang13TParseContext19blockQualifierCheckERKNS_10TSourceLocERKNS_10TQualifierEb:
10972|    248|{
10973|       |    // The 4.5 specification says:
10974|       |    //
10975|       |    // interface-block :
10976|       |    //    layout-qualifieropt interface-qualifier  block-name { member-list } instance-nameopt ;
10977|       |    //
10978|       |    // interface-qualifier :
10979|       |    //    in
10980|       |    //    out
10981|       |    //    patch in
10982|       |    //    patch out
10983|       |    //    uniform
10984|       |    //    buffer
10985|       |    //
10986|       |    // Note however memory qualifiers aren't included, yet the specification also says
10987|       |    //
10988|       |    // "...memory qualifiers may also be used in the declaration of shader storage blocks..."
10989|       |
10990|    248|    if (qualifier.isInterpolation())
  ------------------
  |  Branch (10990:9): [True: 0, False: 248]
  ------------------
10991|      0|        error(loc, "cannot use interpolation qualifiers on an interface block", "flat/smooth/noperspective", "");
10992|    248|    if (qualifier.centroid)
  ------------------
  |  Branch (10992:9): [True: 0, False: 248]
  ------------------
10993|      0|        error(loc, "cannot use centroid qualifier on an interface block", "centroid", "");
10994|    248|    if (qualifier.isSample())
  ------------------
  |  Branch (10994:9): [True: 0, False: 248]
  ------------------
10995|      0|        error(loc, "cannot use sample qualifier on an interface block", "sample", "");
10996|    248|    if (qualifier.invariant)
  ------------------
  |  Branch (10996:9): [True: 0, False: 248]
  ------------------
10997|      0|        error(loc, "cannot use invariant qualifier on an interface block", "invariant", "");
10998|    248|    if (qualifier.isPushConstant())
  ------------------
  |  Branch (10998:9): [True: 0, False: 248]
  ------------------
10999|      0|        intermediate.addPushConstantCount();
11000|    248|    if (qualifier.isShaderRecord())
  ------------------
  |  Branch (11000:9): [True: 0, False: 248]
  ------------------
11001|      0|        intermediate.addShaderRecordCount();
11002|    248|    if (qualifier.isTaskMemory())
  ------------------
  |  Branch (11002:9): [True: 0, False: 248]
  ------------------
11003|      0|        intermediate.addTaskNVCount();
11004|    248|}
_ZN7glslang13TParseContext17fixBlockLocationsERKNS_10TSourceLocERNS_10TQualifierERNS_7TVectorINS_8TTypeLocEEEbb:
11014|    248|{
11015|       |    // "If a block has no block-level location layout qualifier, it is required that either all or none of its members
11016|       |    // have a location layout qualifier, or a compile-time error results."
11017|    248|    if (! qualifier.hasLocation() && memberWithLocation && memberWithoutLocation)
  ------------------
  |  Branch (11017:9): [True: 248, False: 0]
  |  Branch (11017:38): [True: 0, False: 248]
  |  Branch (11017:60): [True: 0, False: 0]
  ------------------
11018|      0|        error(loc, "either the block needs a location, or all members need a location, or no members have a location", "location", "");
11019|    248|    else {
11020|    248|        if (memberWithLocation) {
  ------------------
  |  Branch (11020:13): [True: 0, False: 248]
  ------------------
11021|       |            // remove any block-level location and make it per *every* member
11022|      0|            int nextLocation = 0;  // by the rule above, initial value is not relevant
11023|      0|            if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (11023:17): [True: 0, False: 0]
  ------------------
11024|      0|                nextLocation = qualifier.layoutLocation;
11025|      0|                qualifier.layoutLocation = TQualifier::layoutLocationEnd;
11026|      0|                if (qualifier.hasComponent()) {
  ------------------
  |  Branch (11026:21): [True: 0, False: 0]
  ------------------
11027|       |                    // "It is a compile-time error to apply the *component* qualifier to a ... block"
11028|      0|                    error(loc, "cannot apply to a block", "component", "");
11029|      0|                }
11030|      0|                if (qualifier.hasIndex()) {
  ------------------
  |  Branch (11030:21): [True: 0, False: 0]
  ------------------
11031|      0|                    error(loc, "cannot apply to a block", "index", "");
11032|      0|                }
11033|      0|            }
11034|      0|            for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11034:43): [True: 0, False: 0]
  ------------------
11035|      0|                TQualifier& memberQualifier = typeList[member].type->getQualifier();
11036|      0|                const TSourceLoc& memberLoc = typeList[member].loc;
11037|      0|                if (! memberQualifier.hasLocation()) {
  ------------------
  |  Branch (11037:21): [True: 0, False: 0]
  ------------------
11038|      0|                    if (nextLocation >= (int)TQualifier::layoutLocationEnd)
  ------------------
  |  Branch (11038:25): [True: 0, False: 0]
  ------------------
11039|      0|                        error(memberLoc, "location is too large", "location", "");
11040|      0|                    memberQualifier.layoutLocation = nextLocation;
11041|      0|                    memberQualifier.layoutComponent = TQualifier::layoutComponentEnd;
11042|      0|                }
11043|      0|                nextLocation = memberQualifier.layoutLocation + intermediate.computeTypeLocationSize(
11044|      0|                                    *typeList[member].type, language);
11045|      0|            }
11046|      0|        }
11047|    248|    }
11048|    248|}
_ZN7glslang13TParseContext13fixXfbOffsetsERNS_10TQualifierERNS_7TVectorINS_8TTypeLocEEE:
11051|    248|{
11052|       |    // "If a block is qualified with xfb_offset, all its
11053|       |    // members are assigned transform feedback buffer offsets. If a block is not qualified with xfb_offset, any
11054|       |    // members of that block not qualified with an xfb_offset will not be assigned transform feedback buffer
11055|       |    // offsets."
11056|       |
11057|    248|    if (! qualifier.hasXfbBuffer() || ! qualifier.hasXfbOffset())
  ------------------
  |  Branch (11057:9): [True: 248, False: 0]
  |  Branch (11057:39): [True: 0, False: 0]
  ------------------
11058|    248|        return;
11059|       |
11060|      0|    int nextOffset = qualifier.layoutXfbOffset;
11061|      0|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11061:35): [True: 0, False: 0]
  ------------------
11062|      0|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
11063|      0|        bool contains64BitType = false;
11064|      0|        bool contains32BitType = false;
11065|      0|        bool contains16BitType = false;
11066|      0|        int memberSize = intermediate.computeTypeXfbSize(*typeList[member].type, contains64BitType, contains32BitType, contains16BitType);
11067|       |        // see if we need to auto-assign an offset to this member
11068|      0|        if (! memberQualifier.hasXfbOffset()) {
  ------------------
  |  Branch (11068:13): [True: 0, False: 0]
  ------------------
11069|       |            // "if applied to an aggregate containing a double or 64-bit integer, the offset must also be a multiple of 8"
11070|      0|            if (contains64BitType)
  ------------------
  |  Branch (11070:17): [True: 0, False: 0]
  ------------------
11071|      0|                RoundToPow2(nextOffset, 8);
11072|      0|            else if (contains32BitType)
  ------------------
  |  Branch (11072:22): [True: 0, False: 0]
  ------------------
11073|      0|                RoundToPow2(nextOffset, 4);
11074|      0|            else if (contains16BitType)
  ------------------
  |  Branch (11074:22): [True: 0, False: 0]
  ------------------
11075|      0|                RoundToPow2(nextOffset, 2);
11076|      0|            memberQualifier.layoutXfbOffset = nextOffset;
11077|      0|        } else
11078|      0|            nextOffset = memberQualifier.layoutXfbOffset;
11079|      0|        nextOffset += memberSize;
11080|      0|    }
11081|       |
11082|       |    // The above gave all block members an offset, so we can take it off the block now,
11083|       |    // which will avoid double counting the offset usage.
11084|      0|    qualifier.layoutXfbOffset = TQualifier::layoutXfbOffsetEnd;
11085|      0|}
_ZN7glslang13TParseContext22fixBlockUniformOffsetsERNS_10TQualifierERNS_7TVectorINS_8TTypeLocEEE:
11094|    248|{
11095|    248|    if (!storageCanHaveLayoutInBlock(qualifier.storage) && !qualifier.isTaskMemory())
  ------------------
  |  Branch (11095:9): [True: 248, False: 0]
  |  Branch (11095:60): [True: 248, False: 0]
  ------------------
11096|    248|        return;
11097|      0|    if (qualifier.layoutPacking != ElpStd140 && qualifier.layoutPacking != ElpStd430 && qualifier.layoutPacking != ElpScalar)
  ------------------
  |  Branch (11097:9): [True: 0, False: 0]
  |  Branch (11097:49): [True: 0, False: 0]
  |  Branch (11097:89): [True: 0, False: 0]
  ------------------
11098|      0|        return;
11099|       |
11100|      0|    int offset = 0;
11101|      0|    int memberSize;
11102|      0|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11102:35): [True: 0, False: 0]
  ------------------
11103|      0|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
11104|      0|        const TSourceLoc& memberLoc = typeList[member].loc;
11105|       |
11106|       |        // "When align is applied to an array, it effects only the start of the array, not the array's internal stride."
11107|       |
11108|       |        // modify just the children's view of matrix layout, if there is one for this member
11109|      0|        TLayoutMatrix subMatrixLayout = typeList[member].type->getQualifier().layoutMatrix;
11110|      0|        int dummyStride;
11111|      0|        int memberAlignment = intermediate.getMemberAlignment(*typeList[member].type, memberSize, dummyStride, qualifier.layoutPacking,
11112|      0|                                                              subMatrixLayout != ElmNone ? subMatrixLayout == ElmRowMajor : qualifier.layoutMatrix == ElmRowMajor);
  ------------------
  |  Branch (11112:63): [True: 0, False: 0]
  ------------------
11113|      0|        if (memberQualifier.hasOffset()) {
  ------------------
  |  Branch (11113:13): [True: 0, False: 0]
  ------------------
11114|       |            // "The specified offset must be a multiple
11115|       |            // of the base alignment of the type of the block member it qualifies, or a compile-time error results."
11116|      0|            if (! IsMultipleOfPow2(memberQualifier.layoutOffset, memberAlignment))
  ------------------
  |  Branch (11116:17): [True: 0, False: 0]
  ------------------
11117|      0|                error(memberLoc, "must be a multiple of the member's alignment", "offset",
11118|      0|                    "(layout offset = %d | member alignment = %d)", memberQualifier.layoutOffset, memberAlignment);
11119|       |
11120|       |            // GLSL: "It is a compile-time error to specify an offset that is smaller than the offset of the previous
11121|       |            // member in the block or that lies within the previous member of the block"
11122|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (11122:17): [True: 0, False: 0]
  ------------------
11123|      0|                if (memberQualifier.layoutOffset < offset)
  ------------------
  |  Branch (11123:21): [True: 0, False: 0]
  ------------------
11124|      0|                    error(memberLoc, "cannot lie in previous members", "offset", "");
11125|       |
11126|       |                // "The offset qualifier forces the qualified member to start at or after the specified
11127|       |                // integral-constant expression, which will be its byte offset from the beginning of the buffer.
11128|       |                // "The actual offset of a member is computed as
11129|       |                // follows: If offset was declared, start with that offset, otherwise start with the next available offset."
11130|      0|                offset = std::max(offset, memberQualifier.layoutOffset);
11131|      0|            } else {
11132|       |                // TODO: Vulkan: "It is a compile-time error to have any offset, explicit or assigned,
11133|       |                // that lies within another member of the block."
11134|       |
11135|      0|                offset = memberQualifier.layoutOffset;
11136|      0|            }
11137|      0|        }
11138|       |
11139|       |        // "The actual alignment of a member will be the greater of the specified align alignment and the standard
11140|       |        // (e.g., std140) base alignment for the member's type."
11141|      0|        if (memberQualifier.hasAlign())
  ------------------
  |  Branch (11141:13): [True: 0, False: 0]
  ------------------
11142|      0|            memberAlignment = std::max(memberAlignment, memberQualifier.layoutAlign);
11143|       |
11144|       |        // "If the resulting offset is not a multiple of the actual alignment,
11145|       |        // increase it to the first offset that is a multiple of
11146|       |        // the actual alignment."
11147|      0|        RoundToPow2(offset, memberAlignment);
11148|      0|        typeList[member].type->getQualifier().layoutOffset = offset;
11149|      0|        offset += memberSize;
11150|      0|    }
11151|      0|}
_ZN7glslang13TParseContext27fixBlockUniformLayoutMatrixERNS_10TQualifierEPNS_7TVectorINS_8TTypeLocEEES6_:
11159|    248|{
11160|    248|    assert(tmpTypeList == nullptr || originTypeList->size() == tmpTypeList->size());
11161|  1.58k|    for (unsigned int member = 0; member < originTypeList->size(); ++member) {
  ------------------
  |  Branch (11161:35): [True: 1.33k, False: 248]
  ------------------
11162|  1.33k|        if (qualifier.layoutPacking != ElpNone) {
  ------------------
  |  Branch (11162:13): [True: 0, False: 1.33k]
  ------------------
11163|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11163:17): [True: 0, False: 0]
  ------------------
11164|      0|                if (((*originTypeList)[member].type->isMatrix() ||
  ------------------
  |  Branch (11164:22): [True: 0, False: 0]
  ------------------
11165|      0|                     (*originTypeList)[member].type->getBasicType() == EbtStruct) &&
  ------------------
  |  Branch (11165:22): [True: 0, False: 0]
  ------------------
11166|      0|                    (*originTypeList)[member].type->getQualifier().layoutMatrix == ElmNone) {
  ------------------
  |  Branch (11166:21): [True: 0, False: 0]
  ------------------
11167|      0|                    (*originTypeList)[member].type->getQualifier().layoutMatrix = qualifier.layoutMatrix;
11168|      0|                }
11169|      0|            } else {
11170|      0|                if (((*tmpTypeList)[member].type->isMatrix() ||
  ------------------
  |  Branch (11170:22): [True: 0, False: 0]
  ------------------
11171|      0|                     (*tmpTypeList)[member].type->getBasicType() == EbtStruct) &&
  ------------------
  |  Branch (11171:22): [True: 0, False: 0]
  ------------------
11172|      0|                    (*tmpTypeList)[member].type->getQualifier().layoutMatrix == ElmNone) {
  ------------------
  |  Branch (11172:21): [True: 0, False: 0]
  ------------------
11173|      0|                    (*tmpTypeList)[member].type->getQualifier().layoutMatrix = qualifier.layoutMatrix;
11174|      0|                }
11175|      0|            }
11176|      0|        }
11177|       |
11178|  1.33k|        if ((*originTypeList)[member].type->getBasicType() == EbtStruct) {
  ------------------
  |  Branch (11178:13): [True: 0, False: 1.33k]
  ------------------
11179|      0|            TQualifier* memberQualifier = nullptr;
11180|       |            // block member can be declare a matrix style, so it should be update to the member's style
11181|      0|            if ((*originTypeList)[member].type->getQualifier().layoutMatrix == ElmNone) {
  ------------------
  |  Branch (11181:17): [True: 0, False: 0]
  ------------------
11182|      0|                memberQualifier = &qualifier;
11183|      0|            } else {
11184|      0|                memberQualifier = &((*originTypeList)[member].type->getQualifier());
11185|      0|            }
11186|       |
11187|      0|            const TType* tmpType = tmpTypeList == nullptr ?
  ------------------
  |  Branch (11187:36): [True: 0, False: 0]
  ------------------
11188|      0|                (*originTypeList)[member].type->clone() : (*tmpTypeList)[member].type;
11189|       |
11190|      0|            fixBlockUniformLayoutMatrix(*memberQualifier, (*originTypeList)[member].type->getWritableStruct(),
11191|      0|                                        tmpType->getWritableStruct());
11192|       |
11193|      0|            const TTypeList* structure = recordStructCopy(matrixFixRecord, (*originTypeList)[member].type, tmpType);
11194|       |
11195|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11195:17): [True: 0, False: 0]
  ------------------
11196|      0|                (*originTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11197|      0|            }
11198|      0|            if (tmpTypeList != nullptr) {
  ------------------
  |  Branch (11198:17): [True: 0, False: 0]
  ------------------
11199|      0|                (*tmpTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11200|      0|            }
11201|      0|        }
11202|  1.33k|    }
11203|    248|}
_ZN7glslang13TParseContext28fixBlockUniformLayoutPackingERNS_10TQualifierEPNS_7TVectorINS_8TTypeLocEEES6_:
11211|    248|{
11212|    248|    assert(tmpTypeList == nullptr || originTypeList->size() == tmpTypeList->size());
11213|  1.58k|    for (unsigned int member = 0; member < originTypeList->size(); ++member) {
  ------------------
  |  Branch (11213:35): [True: 1.33k, False: 248]
  ------------------
11214|  1.33k|        if (qualifier.layoutPacking != ElpNone) {
  ------------------
  |  Branch (11214:13): [True: 0, False: 1.33k]
  ------------------
11215|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11215:17): [True: 0, False: 0]
  ------------------
11216|      0|                if ((*originTypeList)[member].type->getQualifier().layoutPacking == ElpNone &&
  ------------------
  |  Branch (11216:21): [True: 0, False: 0]
  ------------------
11217|      0|                    !(*originTypeList)[member].type->isScalarOrVector()) {
  ------------------
  |  Branch (11217:21): [True: 0, False: 0]
  ------------------
11218|      0|                    (*originTypeList)[member].type->getQualifier().layoutPacking = qualifier.layoutPacking;
11219|      0|                }
11220|      0|            } else {
11221|      0|                if ((*tmpTypeList)[member].type->getQualifier().layoutPacking == ElpNone &&
  ------------------
  |  Branch (11221:21): [True: 0, False: 0]
  ------------------
11222|      0|                    !(*tmpTypeList)[member].type->isScalarOrVector()) {
  ------------------
  |  Branch (11222:21): [True: 0, False: 0]
  ------------------
11223|      0|                    (*tmpTypeList)[member].type->getQualifier().layoutPacking = qualifier.layoutPacking;
11224|      0|                }
11225|      0|            }
11226|      0|        }
11227|       |
11228|  1.33k|        if ((*originTypeList)[member].type->getBasicType() == EbtStruct) {
  ------------------
  |  Branch (11228:13): [True: 0, False: 1.33k]
  ------------------
11229|       |            // Deep copy the type in pool.
11230|       |            // Because, struct use in different block may have different layout qualifier.
11231|       |            // We have to new a object to distinguish between them.
11232|      0|            const TType* tmpType = tmpTypeList == nullptr ?
  ------------------
  |  Branch (11232:36): [True: 0, False: 0]
  ------------------
11233|      0|                (*originTypeList)[member].type->clone() : (*tmpTypeList)[member].type;
11234|       |
11235|      0|            fixBlockUniformLayoutPacking(qualifier, (*originTypeList)[member].type->getWritableStruct(),
11236|      0|                                         tmpType->getWritableStruct());
11237|       |
11238|      0|            const TTypeList* structure = recordStructCopy(packingFixRecord, (*originTypeList)[member].type, tmpType);
11239|       |
11240|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11240:17): [True: 0, False: 0]
  ------------------
11241|      0|                (*originTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11242|      0|            }
11243|      0|            if (tmpTypeList != nullptr) {
  ------------------
  |  Branch (11243:17): [True: 0, False: 0]
  ------------------
11244|      0|                (*tmpTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11245|      0|            }
11246|      0|        }
11247|  1.33k|    }
11248|    248|}
_ZN7glslang13TParseContext14invariantCheckERKNS_10TSourceLocERKNS_10TQualifierE:
11328|  37.9k|{
11329|  37.9k|    if (! qualifier.invariant)
  ------------------
  |  Branch (11329:9): [True: 37.9k, False: 0]
  ------------------
11330|  37.9k|        return;
11331|       |
11332|      0|    bool pipeOut = qualifier.isPipeOutput();
11333|      0|    bool pipeIn = qualifier.isPipeInput();
11334|      0|    if ((version >= 300 && isEsProfile()) || (!isEsProfile() && version >= 420)) {
  ------------------
  |  Branch (11334:10): [True: 0, False: 0]
  |  Branch (11334:28): [True: 0, False: 0]
  |  Branch (11334:47): [True: 0, False: 0]
  |  Branch (11334:65): [True: 0, False: 0]
  ------------------
11335|      0|        if (! pipeOut)
  ------------------
  |  Branch (11335:13): [True: 0, False: 0]
  ------------------
11336|      0|            error(loc, "can only apply to an output", "invariant", "");
11337|      0|    } else {
11338|      0|        if ((language == EShLangVertex && pipeIn) || (! pipeOut && ! pipeIn))
  ------------------
  |  Branch (11338:14): [True: 0, False: 0]
  |  Branch (11338:43): [True: 0, False: 0]
  |  Branch (11338:55): [True: 0, False: 0]
  |  Branch (11338:68): [True: 0, False: 0]
  ------------------
11339|      0|            error(loc, "can only apply to an output, or to an input in a non-vertex stage\n", "invariant", "");
11340|      0|    }
11341|      0|}
ParseHelper.cpp:_ZN7glslangL27storageCanHaveLayoutInBlockENS_17TStorageQualifierE:
 8099|    248|{
 8100|    248|    switch (storage) {
 8101|      0|    case EvqUniform:
  ------------------
  |  Branch (8101:5): [True: 0, False: 248]
  ------------------
 8102|      0|    case EvqBuffer:
  ------------------
  |  Branch (8102:5): [True: 0, False: 248]
  ------------------
 8103|      0|    case EvqShared:
  ------------------
  |  Branch (8103:5): [True: 0, False: 248]
  ------------------
 8104|      0|    case EvqSamplerHeap:
  ------------------
  |  Branch (8104:5): [True: 0, False: 248]
  ------------------
 8105|      0|    case EvqResourceHeap:
  ------------------
  |  Branch (8105:5): [True: 0, False: 248]
  ------------------
 8106|      0|        return true;
 8107|    248|    default:
  ------------------
  |  Branch (8107:5): [True: 248, False: 0]
  ------------------
 8108|    248|        return false;
 8109|    248|    }
 8110|    248|}

_ZN7glslang22GetThreadPoolAllocatorEv:
   59|  36.4M|{
   60|  36.4M|    return *(threadPoolAllocator ? threadPoolAllocator : GetDefaultThreadPoolAllocator());
  ------------------
  |  Branch (60:14): [True: 36.4M, False: 0]
  ------------------
   61|  36.4M|}
_ZN7glslang22SetThreadPoolAllocatorEPNS_14TPoolAllocatorE:
   65|    788|{
   66|    788|    threadPoolAllocator = poolAllocator;
   67|    788|}
_ZN7glslang14TPoolAllocatorC2Eii:
   74|    868|    pageSize(growthIncrement),
   75|    868|    alignment(allocationAlignment),
   76|    868|    freeList(nullptr),
   77|    868|    inUseList(nullptr),
   78|    868|    numCalls(0)
   79|    868|{
   80|       |    //
   81|       |    // Don't allow page sizes we know are smaller than all common
   82|       |    // OS page sizes.
   83|       |    //
   84|    868|    if (pageSize < 4*1024)
  ------------------
  |  Branch (84:9): [True: 0, False: 868]
  ------------------
   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|    868|    currentPageOffset = pageSize;
   92|       |
   93|       |    //
   94|       |    // Adjust alignment to be at least pointer aligned and
   95|       |    // power of 2.
   96|       |    //
   97|    868|    size_t minAlign = sizeof(void*);
   98|    868|    alignment &= ~(minAlign - 1);
   99|    868|    if (alignment < minAlign)
  ------------------
  |  Branch (99:9): [True: 0, False: 868]
  ------------------
  100|      0|        alignment = minAlign;
  101|    868|    size_t a = 1;
  102|  4.34k|    while (a < alignment)
  ------------------
  |  Branch (102:12): [True: 3.47k, False: 868]
  ------------------
  103|  3.47k|        a <<= 1;
  104|    868|    alignment = a;
  105|    868|    alignmentMask = a - 1;
  106|       |
  107|       |    //
  108|       |    // Align header skip
  109|       |    //
  110|    868|    headerSkip = minAlign;
  111|    868|    if (headerSkip < sizeof(tHeader)) {
  ------------------
  |  Branch (111:9): [True: 868, False: 0]
  ------------------
  112|    868|        headerSkip = (sizeof(tHeader) + alignmentMask) & ~alignmentMask;
  113|    868|    }
  114|       |
  115|    868|    push();
  116|    868|}
_ZN7glslang14TPoolAllocatorD2Ev:
  119|    868|{
  120|   214k|    while (inUseList) {
  ------------------
  |  Branch (120:12): [True: 213k, False: 868]
  ------------------
  121|   213k|        tHeader* next = inUseList->nextPage;
  122|   213k|        inUseList->~tHeader();
  123|   213k|        delete [] reinterpret_cast<char*>(inUseList);
  124|   213k|        inUseList = next;
  125|   213k|    }
  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|    868|    while (freeList) {
  ------------------
  |  Branch (134:12): [True: 0, False: 868]
  ------------------
  135|      0|        tHeader* next = freeList->nextPage;
  136|      0|        delete [] reinterpret_cast<char*>(freeList);
  137|      0|        freeList = next;
  138|      0|    }
  139|    868|}
_ZN7glslang14TPoolAllocator4pushEv:
  168|  1.08k|{
  169|  1.08k|    tAllocState state = { currentPageOffset, inUseList };
  170|       |
  171|  1.08k|    stack.push_back(state);
  172|       |
  173|       |    //
  174|       |    // Indicate there is no current page to allocate from.
  175|       |    //
  176|  1.08k|    currentPageOffset = pageSize;
  177|  1.08k|}
_ZN7glslang14TPoolAllocator8allocateEm:
  225|  16.1M|{
  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|  16.1M|    size_t allocationSize = TAllocation::allocationSize(numBytes);
  232|       |
  233|       |    //
  234|       |    // Just keep some interesting statistics.
  235|       |    //
  236|  16.1M|    ++numCalls;
  237|  16.1M|    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|  16.1M|    if (currentPageOffset + allocationSize <= pageSize) {
  ------------------
  |  Branch (243:9): [True: 15.9M, False: 213k]
  ------------------
  244|       |        //
  245|       |        // Safe to allocate from currentPageOffset.
  246|       |        //
  247|  15.9M|        unsigned char* memory = reinterpret_cast<unsigned char*>(inUseList) + currentPageOffset;
  248|  15.9M|        currentPageOffset += allocationSize;
  249|  15.9M|        currentPageOffset = (currentPageOffset + alignmentMask) & ~alignmentMask;
  250|       |
  251|  15.9M|        return initializeAllocation(inUseList, memory, numBytes);
  252|  15.9M|    }
  253|       |
  254|   213k|    if (allocationSize + headerSkip > pageSize) {
  ------------------
  |  Branch (254:9): [True: 1.19k, False: 212k]
  ------------------
  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|  1.19k|        size_t numBytesToAlloc = allocationSize + headerSkip;
  260|  1.19k|        tHeader* memory = reinterpret_cast<tHeader*>(::new char[numBytesToAlloc]);
  261|  1.19k|        if (memory == nullptr)
  ------------------
  |  Branch (261:13): [True: 0, False: 1.19k]
  ------------------
  262|      0|            return nullptr;
  263|       |
  264|       |        // Use placement-new to initialize header
  265|  1.19k|        new(memory) tHeader(inUseList, (numBytesToAlloc + pageSize - 1) / pageSize);
  266|  1.19k|        inUseList = memory;
  267|       |
  268|  1.19k|        currentPageOffset = pageSize;  // make next allocation come from a new page
  269|       |
  270|       |        // No guard blocks for multi-page allocations (yet)
  271|  1.19k|        return reinterpret_cast<void*>(reinterpret_cast<UINT_PTR>(memory) + headerSkip);
  272|  1.19k|    }
  273|       |
  274|       |    //
  275|       |    // Need a simple page to allocate from.
  276|       |    //
  277|   212k|    tHeader* memory;
  278|   212k|    if (freeList) {
  ------------------
  |  Branch (278:9): [True: 0, False: 212k]
  ------------------
  279|      0|        memory = freeList;
  280|      0|        freeList = freeList->nextPage;
  281|   212k|    } else {
  282|   212k|        memory = reinterpret_cast<tHeader*>(::new char[pageSize]);
  283|   212k|        if (memory == nullptr)
  ------------------
  |  Branch (283:13): [True: 0, False: 212k]
  ------------------
  284|      0|            return nullptr;
  285|   212k|    }
  286|       |
  287|       |    // Use placement-new to initialize header
  288|   212k|    new(memory) tHeader(inUseList, 1);
  289|   212k|    inUseList = memory;
  290|       |
  291|   212k|    unsigned char* ret = reinterpret_cast<unsigned char*>(inUseList) + headerSkip;
  292|   212k|    currentPageOffset = (headerSkip + allocationSize + alignmentMask) & ~alignmentMask;
  293|       |
  294|   212k|    return initializeAllocation(inUseList, ret, numBytes);
  295|   212k|}

_ZN7glslang13TInputScanner17consumeWhiteSpaceERb:
   67|   869k|{
   68|   869k|    int c = peek();  // don't accidentally consume anything other than whitespace
   69|  1.00M|    while (c == ' ' || c == '\t' || c == '\r' || c == '\n') {
  ------------------
  |  Branch (69:12): [True: 126k, False: 878k]
  |  Branch (69:24): [True: 5.21k, False: 873k]
  |  Branch (69:37): [True: 769, False: 872k]
  |  Branch (69:50): [True: 3.26k, False: 869k]
  ------------------
   70|   136k|        if (c == '\r' || c == '\n')
  ------------------
  |  Branch (70:13): [True: 769, False: 135k]
  |  Branch (70:26): [True: 3.26k, False: 132k]
  ------------------
   71|  4.03k|            foundNonSpaceTab = true;
   72|   136k|        get();
   73|   136k|        c = peek();
   74|   136k|    }
   75|   869k|}
_ZN7glslang13TInputScanner14consumeCommentEv:
   79|   570k|{
   80|   570k|    if (peek() != '/')
  ------------------
  |  Branch (80:9): [True: 0, False: 570k]
  ------------------
   81|      0|        return false;
   82|       |
   83|   570k|    get();  // consume the '/'
   84|   570k|    int c = peek();
   85|   570k|    if (c == '/') {
  ------------------
  |  Branch (85:9): [True: 48.3k, False: 521k]
  ------------------
   86|       |
   87|       |        // a '//' style comment
   88|  48.3k|        get();  // consume the second '/'
   89|  48.3k|        c = get();
   90|  72.8k|        do {
   91|   750k|            while (c != EndOfInput && c != '\\' && c != '\r' && c != '\n')
  ------------------
  |  Branch (91:20): [True: 750k, False: 9]
  |  Branch (91:39): [True: 725k, False: 24.4k]
  |  Branch (91:52): [True: 708k, False: 17.0k]
  |  Branch (91:65): [True: 677k, False: 31.2k]
  ------------------
   92|   677k|                c = get();
   93|       |
   94|  72.8k|            if (c == EndOfInput || c == '\r' || c == '\n') {
  ------------------
  |  Branch (94:17): [True: 9, False: 72.7k]
  |  Branch (94:36): [True: 17.0k, False: 55.7k]
  |  Branch (94:49): [True: 31.2k, False: 24.4k]
  ------------------
   95|   103k|                while (c == '\r' || c == '\n')
  ------------------
  |  Branch (95:24): [True: 17.6k, False: 85.9k]
  |  Branch (95:37): [True: 37.5k, False: 48.3k]
  ------------------
   96|  55.2k|                    c = get();
   97|       |
   98|       |                // we reached the end of the comment
   99|  48.3k|                break;
  100|  48.3k|            } else {
  101|       |                // it's a '\', so we need to keep going, after skipping what's escaped
  102|       |
  103|       |                // read the skipped character
  104|  24.4k|                c = get();
  105|       |
  106|       |                // if it's a two-character newline, skip both characters
  107|  24.4k|                if (c == '\r' && peek() == '\n')
  ------------------
  |  Branch (107:21): [True: 14.7k, False: 9.68k]
  |  Branch (107:34): [True: 332, False: 14.4k]
  ------------------
  108|    332|                    get();
  109|  24.4k|                c = get();
  110|  24.4k|            }
  111|  72.8k|        } while (true);
  ------------------
  |  Branch (111:18): [True: 24.4k, Folded]
  ------------------
  112|       |
  113|       |        // put back the last non-comment character
  114|  48.3k|        if (c != EndOfInput)
  ------------------
  |  Branch (114:13): [True: 48.3k, False: 9]
  ------------------
  115|  48.3k|            unget();
  116|       |
  117|  48.3k|        return true;
  118|   521k|    } else if (c == '*') {
  ------------------
  |  Branch (118:16): [True: 2.55k, False: 519k]
  ------------------
  119|       |
  120|       |        // a '/*' style comment
  121|  2.55k|        get();  // consume the '*'
  122|  2.55k|        c = get();
  123|  5.59k|        do {
  124|   796k|            while (c != EndOfInput && c != '*')
  ------------------
  |  Branch (124:20): [True: 796k, False: 7]
  |  Branch (124:39): [True: 791k, False: 5.58k]
  ------------------
  125|   791k|                c = get();
  126|  5.59k|            if (c == '*') {
  ------------------
  |  Branch (126:17): [True: 5.58k, False: 7]
  ------------------
  127|  5.58k|                c = get();
  128|  5.58k|                if (c == '/')
  ------------------
  |  Branch (128:21): [True: 2.55k, False: 3.03k]
  ------------------
  129|  2.55k|                    break;  // end of comment
  130|       |                // not end of comment
  131|  5.58k|            } else // end of input
  132|      7|                break;
  133|  5.59k|        } while (true);
  ------------------
  |  Branch (133:18): [True: 3.03k, Folded]
  ------------------
  134|       |
  135|  2.55k|        return true;
  136|   519k|    } else {
  137|       |        // it's not a comment, put the '/' back
  138|   519k|        unget();
  139|       |
  140|   519k|        return false;
  141|   519k|    }
  142|   570k|}
_ZN7glslang13TInputScanner24consumeWhitespaceCommentERb:
  146|   818k|{
  147|   869k|    do {
  148|   869k|        consumeWhiteSpace(foundNonSpaceTab);
  149|       |
  150|       |        // if not starting a comment now, then done
  151|   869k|        int c = peek();
  152|   869k|        if (c != '/' || c == EndOfInput)
  ------------------
  |  Branch (152:13): [True: 298k, False: 570k]
  |  Branch (152:25): [True: 0, False: 570k]
  ------------------
  153|   298k|            return;
  154|       |
  155|       |        // skip potential comment
  156|   570k|        foundNonSpaceTab = true;
  157|   570k|        if (! consumeComment())
  ------------------
  |  Branch (157:13): [True: 519k, False: 50.8k]
  ------------------
  158|   519k|            return;
  159|       |
  160|   570k|    } while (true);
  ------------------
  |  Branch (160:14): [True: 50.8k, Folded]
  ------------------
  161|   818k|}
_ZN7glslang13TInputScanner11scanVersionERiR8EProfileRb:
  175|    107|{
  176|       |    // This function doesn't have to get all the semantics correct,
  177|       |    // just find the #version if there is a correct one present.
  178|       |    // The preprocessor will have the responsibility of getting all the semantics right.
  179|       |
  180|    107|    bool versionNotFirst = false;  // means not first WRT comments and white space, nothing more
  181|    107|    notFirstToken = false;         // means not first WRT to real tokens
  182|    107|    version = 0;                   // means not found
  183|    107|    profile = ENoProfile;
  184|       |
  185|    107|    bool foundNonSpaceTab = false;
  186|    107|    bool lookingInMiddle = false;
  187|    107|    int c;
  188|   818k|    do {
  189|   818k|        if (lookingInMiddle) {
  ------------------
  |  Branch (189:13): [True: 818k, False: 107]
  ------------------
  190|   818k|            notFirstToken = true;
  191|       |            // make forward progress by finishing off the current line plus extra new lines
  192|   818k|            if (peek() != '\n' && peek() != '\r') {
  ------------------
  |  Branch (192:17): [True: 760k, False: 57.7k]
  |  Branch (192:35): [True: 235k, False: 525k]
  ------------------
  193|  5.41M|                do {
  194|  5.41M|                    c = get();
  195|  5.41M|                } while (c != EndOfInput && c != '\n' && c != '\r');
  ------------------
  |  Branch (195:26): [True: 5.41M, False: 75]
  |  Branch (195:45): [True: 5.23M, False: 171k]
  |  Branch (195:58): [True: 5.17M, False: 63.9k]
  ------------------
  196|   235k|            }
  197|  1.48M|            while (peek() == '\n' || peek() == '\r')
  ------------------
  |  Branch (197:20): [True: 112k, False: 1.37M]
  |  Branch (197:38): [True: 559k, False: 818k]
  ------------------
  198|   671k|                get();
  199|   818k|            if (peek() == EndOfInput)
  ------------------
  |  Branch (199:17): [True: 87, False: 818k]
  ------------------
  200|     87|                return true;
  201|   818k|        }
  202|   818k|        lookingInMiddle = true;
  203|       |
  204|       |        // Nominal start, skipping the desktop allowed comments and white space, but tracking if
  205|       |        // something else was found for ES:
  206|   818k|        consumeWhitespaceComment(foundNonSpaceTab);
  207|   818k|        if (foundNonSpaceTab)
  ------------------
  |  Branch (207:13): [True: 787k, False: 30.4k]
  ------------------
  208|   787k|            versionNotFirst = true;
  209|       |
  210|       |        // "#"
  211|   818k|        if (get() != '#') {
  ------------------
  |  Branch (211:13): [True: 668k, False: 150k]
  ------------------
  212|   668k|            versionNotFirst = true;
  213|   668k|            continue;
  214|   668k|        }
  215|       |
  216|       |        // whitespace
  217|   154k|        do {
  218|   154k|            c = get();
  219|   154k|        } while (c == ' ' || c == '\t');
  ------------------
  |  Branch (219:18): [True: 2.21k, False: 152k]
  |  Branch (219:30): [True: 1.74k, False: 150k]
  ------------------
  220|       |
  221|       |        // "version"
  222|   150k|        if (    c != 'v' ||
  ------------------
  |  Branch (222:17): [True: 40.9k, False: 109k]
  ------------------
  223|   109k|            get() != 'e' ||
  ------------------
  |  Branch (223:13): [True: 50.6k, False: 58.7k]
  ------------------
  224|  58.7k|            get() != 'r' ||
  ------------------
  |  Branch (224:13): [True: 5.01k, False: 53.7k]
  ------------------
  225|  53.7k|            get() != 's' ||
  ------------------
  |  Branch (225:13): [True: 9.64k, False: 44.0k]
  ------------------
  226|  44.0k|            get() != 'i' ||
  ------------------
  |  Branch (226:13): [True: 28.7k, False: 15.3k]
  ------------------
  227|  15.3k|            get() != 'o' ||
  ------------------
  |  Branch (227:13): [True: 2.25k, False: 13.0k]
  ------------------
  228|   140k|            get() != 'n') {
  ------------------
  |  Branch (228:13): [True: 2.86k, False: 10.2k]
  ------------------
  229|   140k|            versionNotFirst = true;
  230|   140k|            continue;
  231|   140k|        }
  232|       |
  233|       |        // whitespace
  234|  18.0k|        do {
  235|  18.0k|            c = get();
  236|  18.0k|        } while (c == ' ' || c == '\t');
  ------------------
  |  Branch (236:18): [True: 7.78k, False: 10.2k]
  |  Branch (236:30): [True: 0, False: 10.2k]
  ------------------
  237|       |
  238|       |        // version number
  239|  11.5k|        while (c >= '0' && c <= '9') {
  ------------------
  |  Branch (239:16): [True: 1.78k, False: 9.73k]
  |  Branch (239:28): [True: 1.28k, False: 498]
  ------------------
  240|  1.28k|            version = 10 * version + (c - '0');
  241|  1.28k|            c = get();
  242|  1.28k|        }
  243|  10.2k|        if (version == 0) {
  ------------------
  |  Branch (243:13): [True: 9.52k, False: 710]
  ------------------
  244|  9.52k|            versionNotFirst = true;
  245|  9.52k|            continue;
  246|  9.52k|        }
  247|       |
  248|       |        // whitespace
  249|  1.44k|        while (c == ' ' || c == '\t')
  ------------------
  |  Branch (249:16): [True: 690, False: 758]
  |  Branch (249:28): [True: 48, False: 710]
  ------------------
  250|    738|            c = get();
  251|       |
  252|       |        // profile
  253|    710|        const int maxProfileLength = 13;  // not including any 0
  254|    710|        char profileString[maxProfileLength];
  255|    710|        int profileLength;
  256|  9.74k|        for (profileLength = 0; profileLength < maxProfileLength; ++profileLength) {
  ------------------
  |  Branch (256:33): [True: 9.05k, False: 691]
  ------------------
  257|  9.05k|            if (c == EndOfInput || c == ' ' || c == '\t' || c == '\n' || c == '\r')
  ------------------
  |  Branch (257:17): [True: 0, False: 9.05k]
  |  Branch (257:36): [True: 5, False: 9.05k]
  |  Branch (257:48): [True: 0, False: 9.05k]
  |  Branch (257:61): [True: 13, False: 9.03k]
  |  Branch (257:74): [True: 1, False: 9.03k]
  ------------------
  258|     19|                break;
  259|  9.03k|            profileString[profileLength] = (char)c;
  260|  9.03k|            c = get();
  261|  9.03k|        }
  262|    710|        if (c != EndOfInput && c != ' ' && c != '\t' && c != '\n' && c != '\r') {
  ------------------
  |  Branch (262:13): [True: 710, False: 0]
  |  Branch (262:32): [True: 704, False: 6]
  |  Branch (262:44): [True: 704, False: 0]
  |  Branch (262:57): [True: 691, False: 13]
  |  Branch (262:70): [True: 690, False: 1]
  ------------------
  263|    690|            versionNotFirst = true;
  264|    690|            continue;
  265|    690|        }
  266|       |
  267|     20|        if (profileLength == 2 && strncmp(profileString, "es", profileLength) == 0)
  ------------------
  |  Branch (267:13): [True: 2, False: 18]
  |  Branch (267:35): [True: 2, False: 0]
  ------------------
  268|      2|            profile = EEsProfile;
  269|     18|        else if (profileLength == 4 && strncmp(profileString, "core", profileLength) == 0)
  ------------------
  |  Branch (269:18): [True: 1, False: 17]
  |  Branch (269:40): [True: 0, False: 1]
  ------------------
  270|      0|            profile = ECoreProfile;
  271|     18|        else if (profileLength == 13 && strncmp(profileString, "compatibility", profileLength) == 0)
  ------------------
  |  Branch (271:18): [True: 1, False: 17]
  |  Branch (271:41): [True: 0, False: 1]
  ------------------
  272|      0|            profile = ECompatibilityProfile;
  273|       |
  274|     20|        return versionNotFirst;
  275|   818k|    } while (true);
  ------------------
  |  Branch (275:14): [True: 818k, Folded]
  ------------------
  276|    107|}
_Z5yylexP7YYSTYPERN7glslang13TParseContextE:
  293|  4.15M|{
  294|  4.15M|    glslang::TParserToken token(*glslangTokenDesc);
  295|       |
  296|  4.15M|    return parseContext.getScanContext()->tokenize(parseContext.getPpContext(), token);
  297|  4.15M|}
_ZN7glslang12TScanContext8tokenizeEPNS_10TPpContextERNS_12TParserTokenE:
  833|  4.15M|{
  834|  4.16M|    do {
  835|  4.16M|        parserToken = &token;
  836|  4.16M|        TPpToken ppToken;
  837|  4.16M|        int token = pp->tokenize(ppToken);
  838|  4.16M|        if (token == EndOfInput)
  ------------------
  |  Branch (838:13): [True: 569, False: 4.16M]
  ------------------
  839|    569|            return 0;
  840|       |
  841|  4.16M|        tokenText = ppToken.name;
  842|  4.16M|        loc = ppToken.loc;
  843|  4.16M|        parserToken->sType.lex.loc = loc;
  844|  4.16M|        switch (token) {
  845|   374k|        case ';':  afterType = false; afterBuffer = false; inDeclaratorList = false; afterDeclarator = false; angleBracketDepth = 0; squareBracketDepth = 0; parenDepth = 0; return SEMICOLON;
  ------------------
  |  Branch (845:9): [True: 374k, False: 3.79M]
  ------------------
  846|   661k|        case ',':
  ------------------
  |  Branch (846:9): [True: 661k, False: 3.50M]
  ------------------
  847|       |            // If we just processed a declarator (identifier after a type), this comma
  848|       |            // indicates that we're in a declarator list. Note that 'afterDeclarator' is
  849|       |            // only set when we are not inside a template parameter list, array expression,
  850|       |            // or function parameter list.
  851|   661k|            if (afterDeclarator) {
  ------------------
  |  Branch (851:17): [True: 0, False: 661k]
  ------------------
  852|      0|                inDeclaratorList = true;
  853|      0|            }
  854|   661k|            afterType = false;
  855|   661k|            afterDeclarator = false;
  856|   661k|            return COMMA;
  857|    951|        case ':':                       return COLON;
  ------------------
  |  Branch (857:9): [True: 951, False: 4.16M]
  ------------------
  858|  5.74k|        case '=':  afterType = false; inDeclaratorList = false; afterDeclarator = false; return EQUAL;
  ------------------
  |  Branch (858:9): [True: 5.74k, False: 4.16M]
  ------------------
  859|   364k|        case '(':  afterType = false; inDeclaratorList = false; afterDeclarator = false; parenDepth++; return LEFT_PAREN;
  ------------------
  |  Branch (859:9): [True: 364k, False: 3.80M]
  ------------------
  860|   357k|        case ')':  afterType = false; inDeclaratorList = false; afterDeclarator = false; if (parenDepth > 0) parenDepth--; return RIGHT_PAREN;
  ------------------
  |  Branch (860:9): [True: 357k, False: 3.81M]
  |  Branch (860:94): [True: 357k, False: 0]
  ------------------
  861|  5.20k|        case '.':  field = true;        return DOT;
  ------------------
  |  Branch (861:9): [True: 5.20k, False: 4.16M]
  ------------------
  862|    921|        case '!':                       return BANG;
  ------------------
  |  Branch (862:9): [True: 921, False: 4.16M]
  ------------------
  863|    226|        case '-':                       return DASH;
  ------------------
  |  Branch (863:9): [True: 226, False: 4.16M]
  ------------------
  864|      0|        case '~':                       return TILDE;
  ------------------
  |  Branch (864:9): [True: 0, False: 4.16M]
  ------------------
  865|    487|        case '+':                       return PLUS;
  ------------------
  |  Branch (865:9): [True: 487, False: 4.16M]
  ------------------
  866|    156|        case '*':                       return STAR;
  ------------------
  |  Branch (866:9): [True: 156, False: 4.16M]
  ------------------
  867|    245|        case '/':                       return SLASH;
  ------------------
  |  Branch (867:9): [True: 245, False: 4.16M]
  ------------------
  868|      0|        case '%':                       return PERCENT;
  ------------------
  |  Branch (868:9): [True: 0, False: 4.16M]
  ------------------
  869|      1|        case '<':                       angleBracketDepth++; return LEFT_ANGLE;
  ------------------
  |  Branch (869:9): [True: 1, False: 4.16M]
  ------------------
  870|      0|        case '>':                       if (angleBracketDepth > 0) angleBracketDepth--; return RIGHT_ANGLE;
  ------------------
  |  Branch (870:9): [True: 0, False: 4.16M]
  |  Branch (870:45): [True: 0, False: 0]
  ------------------
  871|      0|        case '|':                       return VERTICAL_BAR;
  ------------------
  |  Branch (871:9): [True: 0, False: 4.16M]
  ------------------
  872|      0|        case '^':                       return CARET;
  ------------------
  |  Branch (872:9): [True: 0, False: 4.16M]
  ------------------
  873|      1|        case '&':                       return AMPERSAND;
  ------------------
  |  Branch (873:9): [True: 1, False: 4.16M]
  ------------------
  874|    990|        case '?':                       return QUESTION;
  ------------------
  |  Branch (874:9): [True: 990, False: 4.16M]
  ------------------
  875|  40.0k|        case '[':                       squareBracketDepth++; return LEFT_BRACKET;
  ------------------
  |  Branch (875:9): [True: 40.0k, False: 4.12M]
  ------------------
  876|  38.8k|        case ']':                       if (squareBracketDepth > 0) squareBracketDepth--; return RIGHT_BRACKET;
  ------------------
  |  Branch (876:9): [True: 38.8k, False: 4.12M]
  |  Branch (876:45): [True: 38.8k, False: 0]
  ------------------
  877|    359|        case '{':  afterStruct = false; afterBuffer = false; inDeclaratorList = false; afterDeclarator = false; angleBracketDepth = 0; squareBracketDepth = 0; parenDepth = 0; return LEFT_BRACE;
  ------------------
  |  Branch (877:9): [True: 359, False: 4.16M]
  ------------------
  878|    359|        case '}':  inDeclaratorList = false; afterDeclarator = false; angleBracketDepth = 0; squareBracketDepth = 0; parenDepth = 0; return RIGHT_BRACE;
  ------------------
  |  Branch (878:9): [True: 359, False: 4.16M]
  ------------------
  879|      0|        case '\\':
  ------------------
  |  Branch (879:9): [True: 0, False: 4.16M]
  ------------------
  880|      0|            parseContext.error(loc, "illegal use of escape character", "\\", "");
  881|      0|            break;
  882|       |
  883|      0|        case PPAtomAddAssign:          return ADD_ASSIGN;
  ------------------
  |  Branch (883:9): [True: 0, False: 4.16M]
  ------------------
  884|      0|        case PPAtomSubAssign:          return SUB_ASSIGN;
  ------------------
  |  Branch (884:9): [True: 0, False: 4.16M]
  ------------------
  885|      0|        case PPAtomMulAssign:          return MUL_ASSIGN;
  ------------------
  |  Branch (885:9): [True: 0, False: 4.16M]
  ------------------
  886|      0|        case PPAtomDivAssign:          return DIV_ASSIGN;
  ------------------
  |  Branch (886:9): [True: 0, False: 4.16M]
  ------------------
  887|      0|        case PPAtomModAssign:          return MOD_ASSIGN;
  ------------------
  |  Branch (887:9): [True: 0, False: 4.16M]
  ------------------
  888|       |
  889|      0|        case PpAtomRight:              return RIGHT_OP;
  ------------------
  |  Branch (889:9): [True: 0, False: 4.16M]
  ------------------
  890|      0|        case PpAtomLeft:               return LEFT_OP;
  ------------------
  |  Branch (890:9): [True: 0, False: 4.16M]
  ------------------
  891|       |
  892|      0|        case PpAtomRightAssign:        return RIGHT_ASSIGN;
  ------------------
  |  Branch (892:9): [True: 0, False: 4.16M]
  ------------------
  893|      0|        case PpAtomLeftAssign:         return LEFT_ASSIGN;
  ------------------
  |  Branch (893:9): [True: 0, False: 4.16M]
  ------------------
  894|      0|        case PpAtomAndAssign:          return AND_ASSIGN;
  ------------------
  |  Branch (894:9): [True: 0, False: 4.16M]
  ------------------
  895|      0|        case PpAtomOrAssign:           return OR_ASSIGN;
  ------------------
  |  Branch (895:9): [True: 0, False: 4.16M]
  ------------------
  896|      0|        case PpAtomXorAssign:          return XOR_ASSIGN;
  ------------------
  |  Branch (896:9): [True: 0, False: 4.16M]
  ------------------
  897|       |
  898|      0|        case PpAtomAnd:                return AND_OP;
  ------------------
  |  Branch (898:9): [True: 0, False: 4.16M]
  ------------------
  899|      0|        case PpAtomOr:                 return OR_OP;
  ------------------
  |  Branch (899:9): [True: 0, False: 4.16M]
  ------------------
  900|      0|        case PpAtomXor:                return XOR_OP;
  ------------------
  |  Branch (900:9): [True: 0, False: 4.16M]
  ------------------
  901|       |
  902|      0|        case PpAtomEQ:                 return EQ_OP;
  ------------------
  |  Branch (902:9): [True: 0, False: 4.16M]
  ------------------
  903|      0|        case PpAtomGE:                 return GE_OP;
  ------------------
  |  Branch (903:9): [True: 0, False: 4.16M]
  ------------------
  904|      0|        case PpAtomNE:                 return NE_OP;
  ------------------
  |  Branch (904:9): [True: 0, False: 4.16M]
  ------------------
  905|      0|        case PpAtomLE:                 return LE_OP;
  ------------------
  |  Branch (905:9): [True: 0, False: 4.16M]
  ------------------
  906|       |
  907|      0|        case PpAtomDecrement:          return DEC_OP;
  ------------------
  |  Branch (907:9): [True: 0, False: 4.16M]
  ------------------
  908|      0|        case PpAtomIncrement:          return INC_OP;
  ------------------
  |  Branch (908:9): [True: 0, False: 4.16M]
  ------------------
  909|       |
  910|      0|        case PpAtomColonColon:
  ------------------
  |  Branch (910:9): [True: 0, False: 4.16M]
  ------------------
  911|      0|            parseContext.error(loc, "not supported", "::", "");
  912|      0|            break;
  913|       |
  914|      0|        case PpAtomConstString:        parserToken->sType.lex.string = NewPoolTString(tokenText);     return STRING_LITERAL;
  ------------------
  |  Branch (914:9): [True: 0, False: 4.16M]
  ------------------
  915|  12.1k|        case PpAtomConstInt:           parserToken->sType.lex.i    = ppToken.ival;       return INTCONSTANT;
  ------------------
  |  Branch (915:9): [True: 12.1k, False: 4.15M]
  ------------------
  916|  1.78k|        case PpAtomConstUint:          parserToken->sType.lex.i    = ppToken.ival;       return UINTCONSTANT;
  ------------------
  |  Branch (916:9): [True: 1.78k, False: 4.16M]
  ------------------
  917|      0|        case PpAtomConstFloat:         parserToken->sType.lex.d    = ppToken.dval;       return FLOATCONSTANT;
  ------------------
  |  Branch (917:9): [True: 0, False: 4.16M]
  ------------------
  918|      0|        case PpAtomConstInt16:         parserToken->sType.lex.i    = ppToken.ival;       return INT16CONSTANT;
  ------------------
  |  Branch (918:9): [True: 0, False: 4.16M]
  ------------------
  919|      0|        case PpAtomConstUint16:        parserToken->sType.lex.i    = ppToken.ival;       return UINT16CONSTANT;
  ------------------
  |  Branch (919:9): [True: 0, False: 4.16M]
  ------------------
  920|      0|        case PpAtomConstInt64:         parserToken->sType.lex.i64  = ppToken.i64val;     return INT64CONSTANT;
  ------------------
  |  Branch (920:9): [True: 0, False: 4.16M]
  ------------------
  921|      0|        case PpAtomConstUint64:        parserToken->sType.lex.i64  = ppToken.i64val;     return UINT64CONSTANT;
  ------------------
  |  Branch (921:9): [True: 0, False: 4.16M]
  ------------------
  922|      0|        case PpAtomConstDouble:        parserToken->sType.lex.d    = ppToken.dval;       return DOUBLECONSTANT;
  ------------------
  |  Branch (922:9): [True: 0, False: 4.16M]
  ------------------
  923|      0|        case PpAtomConstFloat16:       parserToken->sType.lex.d    = ppToken.dval;       return FLOAT16CONSTANT;
  ------------------
  |  Branch (923:9): [True: 0, False: 4.16M]
  ------------------
  924|  2.29M|        case PpAtomIdentifier:
  ------------------
  |  Branch (924:9): [True: 2.29M, False: 1.87M]
  ------------------
  925|  2.29M|        {
  926|  2.29M|            int token = tokenizeIdentifier();
  927|  2.29M|            field = false;
  928|  2.29M|            return token;
  929|      0|        }
  930|       |
  931|      0|        case EndOfInput:               return 0;
  ------------------
  |  Branch (931:9): [True: 0, False: 4.16M]
  ------------------
  932|       |
  933|  8.99k|        default:
  ------------------
  |  Branch (933:9): [True: 8.99k, False: 4.15M]
  ------------------
  934|  8.99k|            char buf[2];
  935|  8.99k|            buf[0] = (char)token;
  936|  8.99k|            buf[1] = 0;
  937|  8.99k|            parseContext.error(loc, "unexpected token", buf, "");
  938|  8.99k|            break;
  939|  4.16M|        }
  940|  4.16M|    } while (true);
  ------------------
  |  Branch (940:14): [True: 8.99k, Folded]
  ------------------
  941|  4.15M|}
_ZN7glslang12TScanContext18tokenizeIdentifierEv:
  944|  2.29M|{
  945|  2.29M|    if (ReservedSet.find(tokenText) != ReservedSet.end())
  ------------------
  |  Branch (945:9): [True: 0, False: 2.29M]
  ------------------
  946|      0|        return reservedWord();
  947|       |
  948|  2.29M|    auto it = KeywordMap.find(tokenText);
  949|  2.29M|    if (it == KeywordMap.end()) {
  ------------------
  |  Branch (949:9): [True: 592k, False: 1.69M]
  ------------------
  950|       |        // Should have an identifier of some sort
  951|   592k|        return identifierOrType();
  952|   592k|    }
  953|  1.69M|    keyword = it->second;
  954|       |
  955|  1.69M|    switch (keyword) {
  956|  4.12k|    case CONST:
  ------------------
  |  Branch (956:5): [True: 4.12k, False: 1.69M]
  ------------------
  957|  4.55k|    case UNIFORM:
  ------------------
  |  Branch (957:5): [True: 432, False: 1.69M]
  ------------------
  958|  4.55k|    case TILEIMAGEEXT:
  ------------------
  |  Branch (958:5): [True: 0, False: 1.69M]
  ------------------
  959|  14.9k|    case IN:
  ------------------
  |  Branch (959:5): [True: 10.3k, False: 1.68M]
  ------------------
  960|  60.2k|    case OUT:
  ------------------
  |  Branch (960:5): [True: 45.3k, False: 1.65M]
  ------------------
  961|  63.1k|    case INOUT:
  ------------------
  |  Branch (961:5): [True: 2.91k, False: 1.69M]
  ------------------
  962|  63.1k|    case BREAK:
  ------------------
  |  Branch (962:5): [True: 0, False: 1.69M]
  ------------------
  963|  63.1k|    case CONTINUE:
  ------------------
  |  Branch (963:5): [True: 0, False: 1.69M]
  ------------------
  964|  63.1k|    case DO:
  ------------------
  |  Branch (964:5): [True: 0, False: 1.69M]
  ------------------
  965|  63.1k|    case FOR:
  ------------------
  |  Branch (965:5): [True: 0, False: 1.69M]
  ------------------
  966|  63.1k|    case WHILE:
  ------------------
  |  Branch (966:5): [True: 0, False: 1.69M]
  ------------------
  967|  63.1k|    case IF:
  ------------------
  |  Branch (967:5): [True: 0, False: 1.69M]
  ------------------
  968|  63.1k|    case ELSE:
  ------------------
  |  Branch (968:5): [True: 0, False: 1.69M]
  ------------------
  969|  63.1k|    case DISCARD:
  ------------------
  |  Branch (969:5): [True: 0, False: 1.69M]
  ------------------
  970|  63.1k|    case RETURN:
  ------------------
  |  Branch (970:5): [True: 0, False: 1.69M]
  ------------------
  971|  63.1k|    case CASE:
  ------------------
  |  Branch (971:5): [True: 0, False: 1.69M]
  ------------------
  972|  63.1k|        return keyword;
  973|       |
  974|      0|    case TERMINATE_INVOCATION:
  ------------------
  |  Branch (974:5): [True: 0, False: 1.69M]
  ------------------
  975|      0|        if (!parseContext.extensionTurnedOn(E_GL_EXT_terminate_invocation))
  ------------------
  |  Branch (975:13): [True: 0, False: 0]
  ------------------
  976|      0|            return identifierOrType();
  977|      0|        return keyword;
  978|       |
  979|      0|    case TERMINATE_RAY:
  ------------------
  |  Branch (979:5): [True: 0, False: 1.69M]
  ------------------
  980|      0|    case IGNORE_INTERSECTION:
  ------------------
  |  Branch (980:5): [True: 0, False: 1.69M]
  ------------------
  981|      0|        if (!parseContext.extensionTurnedOn(E_GL_EXT_ray_tracing))
  ------------------
  |  Branch (981:13): [True: 0, False: 0]
  ------------------
  982|      0|            return identifierOrType();
  983|      0|        return keyword;
  984|       |
  985|      0|    case BUFFER:
  ------------------
  |  Branch (985:5): [True: 0, False: 1.69M]
  ------------------
  986|      0|        afterBuffer = true;
  987|      0|        if ((parseContext.isEsProfile() && parseContext.version < 310) ||
  ------------------
  |  Branch (987:14): [True: 0, False: 0]
  |  Branch (987:44): [True: 0, False: 0]
  ------------------
  988|      0|            (!parseContext.isEsProfile() && (parseContext.version < 430 &&
  ------------------
  |  Branch (988:14): [True: 0, False: 0]
  |  Branch (988:46): [True: 0, False: 0]
  ------------------
  989|      0|            !parseContext.extensionTurnedOn(E_GL_ARB_shader_storage_buffer_object))))
  ------------------
  |  Branch (989:13): [True: 0, False: 0]
  ------------------
  990|      0|            return identifierOrType();
  991|      0|        return keyword;
  992|       |
  993|    111|    case STRUCT:
  ------------------
  |  Branch (993:5): [True: 111, False: 1.69M]
  ------------------
  994|    111|        afterStruct = true;
  995|    111|        return keyword;
  996|       |
  997|      0|    case SWITCH:
  ------------------
  |  Branch (997:5): [True: 0, False: 1.69M]
  ------------------
  998|      0|    case DEFAULT:
  ------------------
  |  Branch (998:5): [True: 0, False: 1.69M]
  ------------------
  999|      0|        if ((parseContext.isEsProfile() && parseContext.version < 300) ||
  ------------------
  |  Branch (999:14): [True: 0, False: 0]
  |  Branch (999:44): [True: 0, False: 0]
  ------------------
 1000|      0|            (!parseContext.isEsProfile() && parseContext.version < 130))
  ------------------
  |  Branch (1000:14): [True: 0, False: 0]
  |  Branch (1000:45): [True: 0, False: 0]
  ------------------
 1001|      0|            reservedWord();
 1002|      0|        return keyword;
 1003|       |
 1004|  29.7k|    case VOID:
  ------------------
  |  Branch (1004:5): [True: 29.7k, False: 1.67M]
  ------------------
 1005|  45.3k|    case BOOL:
  ------------------
  |  Branch (1005:5): [True: 15.6k, False: 1.68M]
  ------------------
 1006|   147k|    case FLOAT:
  ------------------
  |  Branch (1006:5): [True: 101k, False: 1.59M]
  ------------------
 1007|   349k|    case INT:
  ------------------
  |  Branch (1007:5): [True: 202k, False: 1.49M]
  ------------------
 1008|   357k|    case BVEC2:
  ------------------
  |  Branch (1008:5): [True: 8.04k, False: 1.69M]
  ------------------
 1009|   365k|    case BVEC3:
  ------------------
  |  Branch (1009:5): [True: 8.04k, False: 1.69M]
  ------------------
 1010|   373k|    case BVEC4:
  ------------------
  |  Branch (1010:5): [True: 8.04k, False: 1.69M]
  ------------------
 1011|   442k|    case VEC2:
  ------------------
  |  Branch (1011:5): [True: 68.3k, False: 1.63M]
  ------------------
 1012|   502k|    case VEC3:
  ------------------
  |  Branch (1012:5): [True: 60.7k, False: 1.63M]
  ------------------
 1013|   560k|    case VEC4:
  ------------------
  |  Branch (1013:5): [True: 57.2k, False: 1.64M]
  ------------------
 1014|   613k|    case IVEC2:
  ------------------
  |  Branch (1014:5): [True: 53.8k, False: 1.64M]
  ------------------
 1015|   651k|    case IVEC3:
  ------------------
  |  Branch (1015:5): [True: 37.6k, False: 1.66M]
  ------------------
 1016|   675k|    case IVEC4:
  ------------------
  |  Branch (1016:5): [True: 23.4k, False: 1.67M]
  ------------------
 1017|   675k|    case MAT2:
  ------------------
  |  Branch (1017:5): [True: 735, False: 1.69M]
  ------------------
 1018|   676k|    case MAT3:
  ------------------
  |  Branch (1018:5): [True: 735, False: 1.69M]
  ------------------
 1019|   677k|    case MAT4:
  ------------------
  |  Branch (1019:5): [True: 735, False: 1.69M]
  ------------------
 1020|   681k|    case SAMPLER2D:
  ------------------
  |  Branch (1020:5): [True: 4.38k, False: 1.69M]
  ------------------
 1021|   683k|    case SAMPLERCUBE:
  ------------------
  |  Branch (1021:5): [True: 1.27k, False: 1.69M]
  ------------------
 1022|   683k|        afterType = true;
 1023|   683k|        return keyword;
 1024|       |
 1025|      0|    case BOOLCONSTANT:
  ------------------
  |  Branch (1025:5): [True: 0, False: 1.69M]
  ------------------
 1026|      0|        if (strcmp("true", tokenText) == 0)
  ------------------
  |  Branch (1026:13): [True: 0, False: 0]
  ------------------
 1027|      0|            parserToken->sType.lex.b = true;
 1028|      0|        else
 1029|      0|            parserToken->sType.lex.b = false;
 1030|      0|        return keyword;
 1031|       |
 1032|      0|    case SMOOTH:
  ------------------
  |  Branch (1032:5): [True: 0, False: 1.69M]
  ------------------
 1033|      0|        if ((parseContext.isEsProfile() && parseContext.version < 300) ||
  ------------------
  |  Branch (1033:14): [True: 0, False: 0]
  |  Branch (1033:44): [True: 0, False: 0]
  ------------------
 1034|      0|            (!parseContext.isEsProfile() && parseContext.version < 130))
  ------------------
  |  Branch (1034:14): [True: 0, False: 0]
  |  Branch (1034:45): [True: 0, False: 0]
  ------------------
 1035|      0|            return identifierOrType();
 1036|      0|        return keyword;
 1037|    421|    case FLAT:
  ------------------
  |  Branch (1037:5): [True: 421, False: 1.69M]
  ------------------
 1038|    421|        if (parseContext.isEsProfile() && parseContext.version < 300)
  ------------------
  |  Branch (1038:13): [True: 1, False: 420]
  |  Branch (1038:43): [True: 0, False: 1]
  ------------------
 1039|      0|            reservedWord();
 1040|    421|        else if (!parseContext.isEsProfile() && parseContext.version < 130)
  ------------------
  |  Branch (1040:18): [True: 420, False: 1]
  |  Branch (1040:49): [True: 0, False: 420]
  ------------------
 1041|      0|            return identifierOrType();
 1042|    421|        return keyword;
 1043|      0|    case CENTROID:
  ------------------
  |  Branch (1043:5): [True: 0, False: 1.69M]
  ------------------
 1044|      0|        if (parseContext.version < 120)
  ------------------
  |  Branch (1044:13): [True: 0, False: 0]
  ------------------
 1045|      0|            return identifierOrType();
 1046|      0|        return keyword;
 1047|      0|    case INVARIANT:
  ------------------
  |  Branch (1047:5): [True: 0, False: 1.69M]
  ------------------
 1048|      0|        if (!parseContext.isEsProfile() && parseContext.version < 120)
  ------------------
  |  Branch (1048:13): [True: 0, False: 0]
  |  Branch (1048:44): [True: 0, False: 0]
  ------------------
 1049|      0|            return identifierOrType();
 1050|      0|        return keyword;
 1051|      0|    case PACKED:
  ------------------
  |  Branch (1051:5): [True: 0, False: 1.69M]
  ------------------
 1052|      0|        if ((parseContext.isEsProfile() && parseContext.version < 300) ||
  ------------------
  |  Branch (1052:14): [True: 0, False: 0]
  |  Branch (1052:44): [True: 0, False: 0]
  ------------------
 1053|      0|            (!parseContext.isEsProfile() && parseContext.version < 140))
  ------------------
  |  Branch (1053:14): [True: 0, False: 0]
  |  Branch (1053:45): [True: 0, False: 0]
  ------------------
 1054|      0|            return reservedWord();
 1055|      0|        return identifierOrType();
 1056|       |
 1057|      0|    case RESOURCE:
  ------------------
  |  Branch (1057:5): [True: 0, False: 1.69M]
  ------------------
 1058|      0|    {
 1059|      0|        bool reserved = (parseContext.isEsProfile() && parseContext.version >= 300) ||
  ------------------
  |  Branch (1059:26): [True: 0, False: 0]
  |  Branch (1059:56): [True: 0, False: 0]
  ------------------
 1060|      0|                        (!parseContext.isEsProfile() && parseContext.version >= 420);
  ------------------
  |  Branch (1060:26): [True: 0, False: 0]
  |  Branch (1060:57): [True: 0, False: 0]
  ------------------
 1061|      0|        return identifierOrReserved(reserved);
 1062|      0|    }
 1063|      0|    case SUPERP:
  ------------------
  |  Branch (1063:5): [True: 0, False: 1.69M]
  ------------------
 1064|      0|    {
 1065|      0|        bool reserved = parseContext.isEsProfile() || parseContext.version >= 130;
  ------------------
  |  Branch (1065:25): [True: 0, False: 0]
  |  Branch (1065:55): [True: 0, False: 0]
  ------------------
 1066|      0|        return identifierOrReserved(reserved);
 1067|      0|    }
 1068|       |
 1069|      0|    case NOPERSPECTIVE:
  ------------------
  |  Branch (1069:5): [True: 0, False: 1.69M]
  ------------------
 1070|      0|        if (parseContext.extensionTurnedOn(E_GL_NV_shader_noperspective_interpolation))
  ------------------
  |  Branch (1070:13): [True: 0, False: 0]
  ------------------
 1071|      0|            return keyword;
 1072|      0|        return es30ReservedFromGLSL(130);
 1073|       |
 1074|      0|    case NONUNIFORM:
  ------------------
  |  Branch (1074:5): [True: 0, False: 1.69M]
  ------------------
 1075|      0|        if (parseContext.extensionTurnedOn(E_GL_EXT_nonuniform_qualifier))
  ------------------
  |  Branch (1075:13): [True: 0, False: 0]
  ------------------
 1076|      0|            return keyword;
 1077|      0|        else
 1078|      0|            return identifierOrType();
 1079|     13|    case ATTRIBUTE:
  ------------------
  |  Branch (1079:5): [True: 13, False: 1.69M]
  ------------------
 1080|     19|    case VARYING:
  ------------------
  |  Branch (1080:5): [True: 6, False: 1.69M]
  ------------------
 1081|     19|        if (parseContext.isEsProfile() && parseContext.version >= 300)
  ------------------
  |  Branch (1081:13): [True: 0, False: 19]
  |  Branch (1081:43): [True: 0, False: 0]
  ------------------
 1082|      0|            reservedWord();
 1083|     19|        return keyword;
 1084|      0|    case PAYLOADNV:
  ------------------
  |  Branch (1084:5): [True: 0, False: 1.69M]
  ------------------
 1085|      0|    case PAYLOADINNV:
  ------------------
  |  Branch (1085:5): [True: 0, False: 1.69M]
  ------------------
 1086|      0|    case HITATTRNV:
  ------------------
  |  Branch (1086:5): [True: 0, False: 1.69M]
  ------------------
 1087|      0|    case CALLDATANV:
  ------------------
  |  Branch (1087:5): [True: 0, False: 1.69M]
  ------------------
 1088|      0|    case CALLDATAINNV:
  ------------------
  |  Branch (1088:5): [True: 0, False: 1.69M]
  ------------------
 1089|      0|    case ACCSTRUCTNV:
  ------------------
  |  Branch (1089:5): [True: 0, False: 1.69M]
  ------------------
 1090|      0|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1090:13): [True: 0, False: 0]
  ------------------
 1091|      0|            parseContext.extensionTurnedOn(E_GL_NV_ray_tracing))
  ------------------
  |  Branch (1091:13): [True: 0, False: 0]
  ------------------
 1092|      0|            return keyword;
 1093|      0|        return identifierOrType();
 1094|      0|    case ACCSTRUCTEXT:
  ------------------
  |  Branch (1094:5): [True: 0, False: 1.69M]
  ------------------
 1095|      0|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1095:13): [True: 0, False: 0]
  ------------------
 1096|      0|            parseContext.extensionTurnedOn(E_GL_EXT_ray_tracing) ||
  ------------------
  |  Branch (1096:13): [True: 0, False: 0]
  ------------------
 1097|      0|            parseContext.extensionTurnedOn(E_GL_EXT_ray_query) ||
  ------------------
  |  Branch (1097:13): [True: 0, False: 0]
  ------------------
 1098|      0|            parseContext.extensionTurnedOn(E_GL_NV_displacement_micromap))
  ------------------
  |  Branch (1098:13): [True: 0, False: 0]
  ------------------
 1099|      0|            return keyword;
 1100|      0|        return identifierOrType();
 1101|      0|    case PAYLOADEXT:
  ------------------
  |  Branch (1101:5): [True: 0, False: 1.69M]
  ------------------
 1102|      0|    case PAYLOADINEXT:
  ------------------
  |  Branch (1102:5): [True: 0, False: 1.69M]
  ------------------
 1103|      0|    case HITATTREXT:
  ------------------
  |  Branch (1103:5): [True: 0, False: 1.69M]
  ------------------
 1104|      0|    case CALLDATAEXT:
  ------------------
  |  Branch (1104:5): [True: 0, False: 1.69M]
  ------------------
 1105|      0|    case CALLDATAINEXT:
  ------------------
  |  Branch (1105:5): [True: 0, False: 1.69M]
  ------------------
 1106|      0|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1106:13): [True: 0, False: 0]
  ------------------
 1107|      0|            parseContext.extensionTurnedOn(E_GL_EXT_ray_tracing) ||
  ------------------
  |  Branch (1107:13): [True: 0, False: 0]
  ------------------
 1108|      0|            parseContext.extensionTurnedOn(E_GL_EXT_ray_query))
  ------------------
  |  Branch (1108:13): [True: 0, False: 0]
  ------------------
 1109|      0|            return keyword;
 1110|      0|        return identifierOrType();
 1111|      0|    case RAYQUERYEXT:
  ------------------
  |  Branch (1111:5): [True: 0, False: 1.69M]
  ------------------
 1112|      0|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1112:13): [True: 0, False: 0]
  ------------------
 1113|      0|            (!parseContext.isEsProfile() && parseContext.version >= 460
  ------------------
  |  Branch (1113:14): [True: 0, False: 0]
  |  Branch (1113:45): [True: 0, False: 0]
  ------------------
 1114|      0|                 && parseContext.extensionTurnedOn(E_GL_EXT_ray_query)))
  ------------------
  |  Branch (1114:21): [True: 0, False: 0]
  ------------------
 1115|      0|            return keyword;
 1116|      0|        return identifierOrType();
 1117|    144|    case ATOMIC_UINT:
  ------------------
  |  Branch (1117:5): [True: 144, False: 1.69M]
  ------------------
 1118|    144|        if ((parseContext.isEsProfile() && parseContext.version >= 310) ||
  ------------------
  |  Branch (1118:14): [True: 0, False: 144]
  |  Branch (1118:44): [True: 0, False: 0]
  ------------------
 1119|    144|            parseContext.extensionTurnedOn(E_GL_ARB_shader_atomic_counters))
  ------------------
  |  Branch (1119:13): [True: 0, False: 144]
  ------------------
 1120|      0|            return keyword;
 1121|    144|        return es30ReservedFromGLSL(420);
 1122|       |
 1123|  56.5k|    case COHERENT:
  ------------------
  |  Branch (1123:5): [True: 56.5k, False: 1.64M]
  ------------------
 1124|  56.5k|    case DEVICECOHERENT:
  ------------------
  |  Branch (1124:5): [True: 0, False: 1.69M]
  ------------------
 1125|  56.5k|    case QUEUEFAMILYCOHERENT:
  ------------------
  |  Branch (1125:5): [True: 0, False: 1.69M]
  ------------------
 1126|  56.5k|    case WORKGROUPCOHERENT:
  ------------------
  |  Branch (1126:5): [True: 0, False: 1.69M]
  ------------------
 1127|  56.5k|    case SUBGROUPCOHERENT:
  ------------------
  |  Branch (1127:5): [True: 0, False: 1.69M]
  ------------------
 1128|  56.5k|    case SHADERCALLCOHERENT:
  ------------------
  |  Branch (1128:5): [True: 0, False: 1.69M]
  ------------------
 1129|  56.5k|    case NONPRIVATE:
  ------------------
  |  Branch (1129:5): [True: 0, False: 1.69M]
  ------------------
 1130|  56.5k|    case RESTRICT:
  ------------------
  |  Branch (1130:5): [True: 0, False: 1.69M]
  ------------------
 1131|  65.1k|    case READONLY:
  ------------------
  |  Branch (1131:5): [True: 8.55k, False: 1.69M]
  ------------------
 1132|  71.5k|    case WRITEONLY:
  ------------------
  |  Branch (1132:5): [True: 6.45k, False: 1.69M]
  ------------------
 1133|  71.5k|        if (parseContext.isEsProfile() && parseContext.version >= 310)
  ------------------
  |  Branch (1133:13): [True: 0, False: 71.5k]
  |  Branch (1133:43): [True: 0, False: 0]
  ------------------
 1134|      0|            return keyword;
 1135|  71.5k|        return es30ReservedFromGLSL(parseContext.extensionTurnedOn(E_GL_ARB_shader_image_load_store) ? 130 : 420);
  ------------------
  |  Branch (1135:37): [True: 0, False: 71.5k]
  ------------------
 1136|  58.7k|    case VOLATILE:
  ------------------
  |  Branch (1136:5): [True: 58.7k, False: 1.64M]
  ------------------
 1137|  58.7k|        if (parseContext.isEsProfile() && parseContext.version >= 310)
  ------------------
  |  Branch (1137:13): [True: 0, False: 58.7k]
  |  Branch (1137:43): [True: 0, False: 0]
  ------------------
 1138|      0|            return keyword;
 1139|  58.7k|        if (! parseContext.symbolTable.atBuiltInLevel() && (parseContext.isEsProfile() ||
  ------------------
  |  Branch (1139:13): [True: 0, False: 58.7k]
  |  Branch (1139:61): [True: 0, False: 0]
  ------------------
 1140|      0|            (parseContext.version < 420 && ! parseContext.extensionTurnedOn(E_GL_ARB_shader_image_load_store))))
  ------------------
  |  Branch (1140:14): [True: 0, False: 0]
  |  Branch (1140:44): [True: 0, False: 0]
  ------------------
 1141|      0|            reservedWord();
 1142|  58.7k|        return keyword;
 1143|  51.8k|    case NONTEMPORAL:
  ------------------
  |  Branch (1143:5): [True: 51.8k, False: 1.64M]
  ------------------
 1144|  51.8k|        if (parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (1144:13): [True: 51.8k, False: 0]
  ------------------
 1145|  51.8k|            return keyword;
 1146|      0|        if (parseContext.extensionTurnedOn(E_GL_EXT_nontemporal_keyword)) {
  ------------------
  |  Branch (1146:13): [True: 0, False: 0]
  ------------------
 1147|      0|            if (!parseContext.intermediate.usingVulkanMemoryModel())
  ------------------
  |  Branch (1147:17): [True: 0, False: 0]
  ------------------
 1148|      0|                parseContext.warn(loc, "Nontemporal without the Vulkan Memory Model is ignored", tokenText, "");
 1149|      0|            return keyword;
 1150|      0|        }
 1151|      0|        return identifierOrType();
 1152|    112|    case PATCH:
  ------------------
  |  Branch (1152:5): [True: 112, False: 1.69M]
  ------------------
 1153|    112|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1153:13): [True: 112, False: 0]
  ------------------
 1154|      0|            (parseContext.isEsProfile() &&
  ------------------
  |  Branch (1154:14): [True: 0, False: 0]
  ------------------
 1155|      0|             (parseContext.version >= 320 ||
  ------------------
  |  Branch (1155:15): [True: 0, False: 0]
  ------------------
 1156|      0|              parseContext.extensionsTurnedOn(Num_AEP_tessellation_shader, AEP_tessellation_shader))) ||
  ------------------
  |  Branch (1156:15): [True: 0, False: 0]
  ------------------
 1157|      0|            (!parseContext.isEsProfile() && parseContext.extensionTurnedOn(E_GL_ARB_tessellation_shader)))
  ------------------
  |  Branch (1157:14): [True: 0, False: 0]
  |  Branch (1157:45): [True: 0, False: 0]
  ------------------
 1158|    112|            return keyword;
 1159|       |
 1160|      0|        return es30ReservedFromGLSL(400);
 1161|       |
 1162|      0|    case SAMPLE: 
  ------------------
  |  Branch (1162:5): [True: 0, False: 1.69M]
  ------------------
 1163|      0|    {
 1164|      0|        const int numLayoutExts = 3;
 1165|      0|        const char* layoutExts[numLayoutExts] = {E_GL_OES_shader_multisample_interpolation, E_GL_ARB_gpu_shader5,
 1166|      0|                                                 E_GL_NV_gpu_shader5};
 1167|      0|        if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1167:14): [True: 0, False: 0]
  |  Branch (1167:44): [True: 0, False: 0]
  ------------------
 1168|      0|            parseContext.extensionsTurnedOn(numLayoutExts, layoutExts))
  ------------------
  |  Branch (1168:13): [True: 0, False: 0]
  ------------------
 1169|      0|            return keyword;
 1170|      0|        return es30ReservedFromGLSL(400);
 1171|      0|    }
 1172|      0|    case SUBROUTINE:
  ------------------
  |  Branch (1172:5): [True: 0, False: 1.69M]
  ------------------
 1173|      0|        return es30ReservedFromGLSL(400);
 1174|       |
 1175|      0|    case SHARED:
  ------------------
  |  Branch (1175:5): [True: 0, False: 1.69M]
  ------------------
 1176|      0|        if ((parseContext.isEsProfile() && parseContext.version < 300) ||
  ------------------
  |  Branch (1176:14): [True: 0, False: 0]
  |  Branch (1176:44): [True: 0, False: 0]
  ------------------
 1177|      0|            (!parseContext.isEsProfile() && parseContext.version < 140))
  ------------------
  |  Branch (1177:14): [True: 0, False: 0]
  |  Branch (1177:45): [True: 0, False: 0]
  ------------------
 1178|      0|            return identifierOrType();
 1179|      0|        return keyword;
 1180|      0|    case LAYOUT:
  ------------------
  |  Branch (1180:5): [True: 0, False: 1.69M]
  ------------------
 1181|      0|    {
 1182|      0|        const int numLayoutExts = 2;
 1183|      0|        const char* layoutExts[numLayoutExts] = { E_GL_ARB_shading_language_420pack,
 1184|      0|                                                  E_GL_ARB_explicit_attrib_location };
 1185|      0|        if ((parseContext.isEsProfile() && parseContext.version < 300) ||
  ------------------
  |  Branch (1185:14): [True: 0, False: 0]
  |  Branch (1185:44): [True: 0, False: 0]
  ------------------
 1186|      0|            (!parseContext.isEsProfile() && parseContext.version < 140 &&
  ------------------
  |  Branch (1186:14): [True: 0, False: 0]
  |  Branch (1186:45): [True: 0, False: 0]
  ------------------
 1187|      0|            ! parseContext.extensionsTurnedOn(numLayoutExts, layoutExts)))
  ------------------
  |  Branch (1187:13): [True: 0, False: 0]
  ------------------
 1188|      0|            return identifierOrType();
 1189|      0|        return keyword;
 1190|      0|    }
 1191|       |
 1192|  54.5k|    case HIGH_PRECISION:
  ------------------
  |  Branch (1192:5): [True: 54.5k, False: 1.64M]
  ------------------
 1193|  55.6k|    case MEDIUM_PRECISION:
  ------------------
  |  Branch (1193:5): [True: 1.01k, False: 1.69M]
  ------------------
 1194|  55.8k|    case LOW_PRECISION:
  ------------------
  |  Branch (1194:5): [True: 272, False: 1.69M]
  ------------------
 1195|  55.8k|    case PRECISION:
  ------------------
  |  Branch (1195:5): [True: 0, False: 1.69M]
  ------------------
 1196|  55.8k|        return precisionKeyword();
 1197|       |
 1198|      0|    case MAT2X2:
  ------------------
  |  Branch (1198:5): [True: 0, False: 1.69M]
  ------------------
 1199|    180|    case MAT2X3:
  ------------------
  |  Branch (1199:5): [True: 180, False: 1.69M]
  ------------------
 1200|    360|    case MAT2X4:
  ------------------
  |  Branch (1200:5): [True: 180, False: 1.69M]
  ------------------
 1201|    540|    case MAT3X2:
  ------------------
  |  Branch (1201:5): [True: 180, False: 1.69M]
  ------------------
 1202|    540|    case MAT3X3:
  ------------------
  |  Branch (1202:5): [True: 0, False: 1.69M]
  ------------------
 1203|    720|    case MAT3X4:
  ------------------
  |  Branch (1203:5): [True: 180, False: 1.69M]
  ------------------
 1204|    900|    case MAT4X2:
  ------------------
  |  Branch (1204:5): [True: 180, False: 1.69M]
  ------------------
 1205|  1.08k|    case MAT4X3:
  ------------------
  |  Branch (1205:5): [True: 180, False: 1.69M]
  ------------------
 1206|  1.08k|    case MAT4X4:
  ------------------
  |  Branch (1206:5): [True: 0, False: 1.69M]
  ------------------
 1207|  1.08k|        return matNxM();
 1208|       |
 1209|    582|    case DMAT2:
  ------------------
  |  Branch (1209:5): [True: 582, False: 1.69M]
  ------------------
 1210|    873|    case DMAT3:
  ------------------
  |  Branch (1210:5): [True: 291, False: 1.69M]
  ------------------
 1211|  1.12k|    case DMAT4:
  ------------------
  |  Branch (1211:5): [True: 252, False: 1.69M]
  ------------------
 1212|  1.12k|    case DMAT2X2:
  ------------------
  |  Branch (1212:5): [True: 0, False: 1.69M]
  ------------------
 1213|  1.37k|    case DMAT2X3:
  ------------------
  |  Branch (1213:5): [True: 251, False: 1.69M]
  ------------------
 1214|  1.54k|    case DMAT2X4:
  ------------------
  |  Branch (1214:5): [True: 168, False: 1.69M]
  ------------------
 1215|  1.71k|    case DMAT3X2:
  ------------------
  |  Branch (1215:5): [True: 168, False: 1.69M]
  ------------------
 1216|  1.71k|    case DMAT3X3:
  ------------------
  |  Branch (1216:5): [True: 0, False: 1.69M]
  ------------------
 1217|  1.88k|    case DMAT3X4:
  ------------------
  |  Branch (1217:5): [True: 168, False: 1.69M]
  ------------------
 1218|  2.04k|    case DMAT4X2:
  ------------------
  |  Branch (1218:5): [True: 168, False: 1.69M]
  ------------------
 1219|  2.33k|    case DMAT4X3:
  ------------------
  |  Branch (1219:5): [True: 290, False: 1.69M]
  ------------------
 1220|  2.33k|    case DMAT4X4:
  ------------------
  |  Branch (1220:5): [True: 0, False: 1.69M]
  ------------------
 1221|  2.33k|        return dMat();
 1222|       |
 1223|    621|    case IMAGE1D:
  ------------------
  |  Branch (1223:5): [True: 621, False: 1.69M]
  ------------------
 1224|  1.24k|    case IIMAGE1D:
  ------------------
  |  Branch (1224:5): [True: 621, False: 1.69M]
  ------------------
 1225|  1.86k|    case UIMAGE1D:
  ------------------
  |  Branch (1225:5): [True: 621, False: 1.69M]
  ------------------
 1226|  2.48k|    case IMAGE1DARRAY:
  ------------------
  |  Branch (1226:5): [True: 621, False: 1.69M]
  ------------------
 1227|  3.10k|    case IIMAGE1DARRAY:
  ------------------
  |  Branch (1227:5): [True: 621, False: 1.69M]
  ------------------
 1228|  3.72k|    case UIMAGE1DARRAY:
  ------------------
  |  Branch (1228:5): [True: 621, False: 1.69M]
  ------------------
 1229|  4.32k|    case IMAGE2DRECT:
  ------------------
  |  Branch (1229:5): [True: 594, False: 1.69M]
  ------------------
 1230|  4.91k|    case IIMAGE2DRECT:
  ------------------
  |  Branch (1230:5): [True: 594, False: 1.69M]
  ------------------
 1231|  5.50k|    case UIMAGE2DRECT:
  ------------------
  |  Branch (1231:5): [True: 594, False: 1.69M]
  ------------------
 1232|  5.50k|        afterType = true;
 1233|  5.50k|        return firstGenerationImage(false);
 1234|       |
 1235|    621|    case I64IMAGE1D:
  ------------------
  |  Branch (1235:5): [True: 621, False: 1.69M]
  ------------------
 1236|  1.24k|    case U64IMAGE1D:
  ------------------
  |  Branch (1236:5): [True: 621, False: 1.69M]
  ------------------
 1237|  1.86k|    case I64IMAGE1DARRAY:
  ------------------
  |  Branch (1237:5): [True: 621, False: 1.69M]
  ------------------
 1238|  2.48k|    case U64IMAGE1DARRAY:
  ------------------
  |  Branch (1238:5): [True: 621, False: 1.69M]
  ------------------
 1239|  3.07k|    case I64IMAGE2DRECT:
  ------------------
  |  Branch (1239:5): [True: 594, False: 1.69M]
  ------------------
 1240|  3.67k|    case U64IMAGE2DRECT:
  ------------------
  |  Branch (1240:5): [True: 594, False: 1.69M]
  ------------------
 1241|  3.67k|        afterType = true;
 1242|  3.67k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1242:13): [True: 3.67k, False: 0]
  ------------------
 1243|  3.67k|            parseContext.extensionTurnedOn(E_GL_EXT_shader_image_int64)) {
  ------------------
  |  Branch (1243:13): [True: 0, False: 0]
  ------------------
 1244|  3.67k|            return firstGenerationImage(false);
 1245|  3.67k|        }
 1246|      0|        return identifierOrType();
 1247|       |
 1248|    567|    case IMAGEBUFFER:
  ------------------
  |  Branch (1248:5): [True: 567, False: 1.69M]
  ------------------
 1249|  1.13k|    case IIMAGEBUFFER:
  ------------------
  |  Branch (1249:5): [True: 567, False: 1.69M]
  ------------------
 1250|  1.70k|    case UIMAGEBUFFER:
  ------------------
  |  Branch (1250:5): [True: 567, False: 1.69M]
  ------------------
 1251|  1.70k|        afterType = true;
 1252|  1.70k|        if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1252:14): [True: 0, False: 1.70k]
  |  Branch (1252:44): [True: 0, False: 0]
  ------------------
 1253|  1.70k|            parseContext.extensionsTurnedOn(Num_AEP_texture_buffer, AEP_texture_buffer))
  ------------------
  |  Branch (1253:13): [True: 0, False: 1.70k]
  ------------------
 1254|      0|            return keyword;
 1255|  1.70k|        return firstGenerationImage(false);
 1256|       |        
 1257|    567|    case I64IMAGEBUFFER:
  ------------------
  |  Branch (1257:5): [True: 567, False: 1.69M]
  ------------------
 1258|  1.13k|    case U64IMAGEBUFFER:
  ------------------
  |  Branch (1258:5): [True: 567, False: 1.69M]
  ------------------
 1259|  1.13k|        afterType = true;        
 1260|  1.13k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1260:13): [True: 1.13k, False: 0]
  ------------------
 1261|  1.13k|            parseContext.extensionTurnedOn(E_GL_EXT_shader_image_int64)) {
  ------------------
  |  Branch (1261:13): [True: 0, False: 0]
  ------------------
 1262|  1.13k|            if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1262:18): [True: 0, False: 1.13k]
  |  Branch (1262:48): [True: 0, False: 0]
  ------------------
 1263|  1.13k|                parseContext.extensionsTurnedOn(Num_AEP_texture_buffer, AEP_texture_buffer))
  ------------------
  |  Branch (1263:17): [True: 0, False: 1.13k]
  ------------------
 1264|      0|                return keyword;
 1265|  1.13k|            return firstGenerationImage(false);
 1266|  1.13k|        }
 1267|      0|        return identifierOrType();
 1268|       |
 1269|    675|    case IMAGE2D:
  ------------------
  |  Branch (1269:5): [True: 675, False: 1.69M]
  ------------------
 1270|  1.35k|    case IIMAGE2D:
  ------------------
  |  Branch (1270:5): [True: 675, False: 1.69M]
  ------------------
 1271|  2.02k|    case UIMAGE2D:
  ------------------
  |  Branch (1271:5): [True: 675, False: 1.69M]
  ------------------
 1272|  2.70k|    case IMAGE3D:
  ------------------
  |  Branch (1272:5): [True: 675, False: 1.69M]
  ------------------
 1273|  3.37k|    case IIMAGE3D:
  ------------------
  |  Branch (1273:5): [True: 675, False: 1.69M]
  ------------------
 1274|  4.05k|    case UIMAGE3D:
  ------------------
  |  Branch (1274:5): [True: 675, False: 1.69M]
  ------------------
 1275|  4.72k|    case IMAGECUBE:
  ------------------
  |  Branch (1275:5): [True: 675, False: 1.69M]
  ------------------
 1276|  5.40k|    case IIMAGECUBE:
  ------------------
  |  Branch (1276:5): [True: 675, False: 1.69M]
  ------------------
 1277|  6.07k|    case UIMAGECUBE:
  ------------------
  |  Branch (1277:5): [True: 675, False: 1.69M]
  ------------------
 1278|  6.75k|    case IMAGE2DARRAY:
  ------------------
  |  Branch (1278:5): [True: 675, False: 1.69M]
  ------------------
 1279|  7.42k|    case IIMAGE2DARRAY:
  ------------------
  |  Branch (1279:5): [True: 675, False: 1.69M]
  ------------------
 1280|  8.10k|    case UIMAGE2DARRAY:
  ------------------
  |  Branch (1280:5): [True: 675, False: 1.69M]
  ------------------
 1281|  8.10k|        afterType = true;
 1282|  8.10k|        return firstGenerationImage(true);
 1283|       |
 1284|    675|    case I64IMAGE2D:
  ------------------
  |  Branch (1284:5): [True: 675, False: 1.69M]
  ------------------
 1285|  1.35k|    case U64IMAGE2D:
  ------------------
  |  Branch (1285:5): [True: 675, False: 1.69M]
  ------------------
 1286|  2.02k|    case I64IMAGE3D:
  ------------------
  |  Branch (1286:5): [True: 675, False: 1.69M]
  ------------------
 1287|  2.70k|    case U64IMAGE3D:
  ------------------
  |  Branch (1287:5): [True: 675, False: 1.69M]
  ------------------
 1288|  3.37k|    case I64IMAGECUBE:
  ------------------
  |  Branch (1288:5): [True: 675, False: 1.69M]
  ------------------
 1289|  4.05k|    case U64IMAGECUBE:
  ------------------
  |  Branch (1289:5): [True: 675, False: 1.69M]
  ------------------
 1290|  4.72k|    case I64IMAGE2DARRAY:
  ------------------
  |  Branch (1290:5): [True: 675, False: 1.69M]
  ------------------
 1291|  5.40k|    case U64IMAGE2DARRAY:
  ------------------
  |  Branch (1291:5): [True: 675, False: 1.69M]
  ------------------
 1292|  5.40k|        afterType = true;
 1293|  5.40k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1293:13): [True: 5.40k, False: 0]
  ------------------
 1294|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_image_int64))
  ------------------
  |  Branch (1294:13): [True: 0, False: 0]
  ------------------
 1295|  5.40k|            return firstGenerationImage(true);
 1296|      0|        return identifierOrType();
 1297|       |        
 1298|    675|    case IMAGECUBEARRAY:
  ------------------
  |  Branch (1298:5): [True: 675, False: 1.69M]
  ------------------
 1299|  1.35k|    case IIMAGECUBEARRAY:
  ------------------
  |  Branch (1299:5): [True: 675, False: 1.69M]
  ------------------
 1300|  2.02k|    case UIMAGECUBEARRAY:
  ------------------
  |  Branch (1300:5): [True: 675, False: 1.69M]
  ------------------
 1301|  2.02k|        afterType = true;
 1302|  2.02k|        if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1302:14): [True: 0, False: 2.02k]
  |  Branch (1302:44): [True: 0, False: 0]
  ------------------
 1303|  2.02k|            parseContext.extensionsTurnedOn(Num_AEP_texture_cube_map_array, AEP_texture_cube_map_array))
  ------------------
  |  Branch (1303:13): [True: 0, False: 2.02k]
  ------------------
 1304|      0|            return keyword;
 1305|  2.02k|        return secondGenerationImage();
 1306|       |        
 1307|    675|    case I64IMAGECUBEARRAY:
  ------------------
  |  Branch (1307:5): [True: 675, False: 1.69M]
  ------------------
 1308|  1.35k|    case U64IMAGECUBEARRAY:
  ------------------
  |  Branch (1308:5): [True: 675, False: 1.69M]
  ------------------
 1309|  1.35k|        afterType = true;
 1310|  1.35k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1310:13): [True: 1.35k, False: 0]
  ------------------
 1311|  1.35k|            parseContext.extensionTurnedOn(E_GL_EXT_shader_image_int64)) {
  ------------------
  |  Branch (1311:13): [True: 0, False: 0]
  ------------------
 1312|  1.35k|            if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1312:18): [True: 0, False: 1.35k]
  |  Branch (1312:48): [True: 0, False: 0]
  ------------------
 1313|  1.35k|                parseContext.extensionsTurnedOn(Num_AEP_texture_cube_map_array, AEP_texture_cube_map_array))
  ------------------
  |  Branch (1313:17): [True: 0, False: 1.35k]
  ------------------
 1314|      0|                return keyword;
 1315|  1.35k|            return secondGenerationImage();
 1316|  1.35k|        }
 1317|      0|        return identifierOrType();
 1318|       |
 1319|    621|    case IMAGE2DMS:
  ------------------
  |  Branch (1319:5): [True: 621, False: 1.69M]
  ------------------
 1320|  1.24k|    case IIMAGE2DMS:
  ------------------
  |  Branch (1320:5): [True: 621, False: 1.69M]
  ------------------
 1321|  1.86k|    case UIMAGE2DMS:
  ------------------
  |  Branch (1321:5): [True: 621, False: 1.69M]
  ------------------
 1322|  2.48k|    case IMAGE2DMSARRAY:
  ------------------
  |  Branch (1322:5): [True: 621, False: 1.69M]
  ------------------
 1323|  3.10k|    case IIMAGE2DMSARRAY:
  ------------------
  |  Branch (1323:5): [True: 621, False: 1.69M]
  ------------------
 1324|  3.72k|    case UIMAGE2DMSARRAY:
  ------------------
  |  Branch (1324:5): [True: 621, False: 1.69M]
  ------------------
 1325|  3.72k|        afterType = true;
 1326|  3.72k|        return secondGenerationImage();
 1327|       |        
 1328|    621|    case I64IMAGE2DMS:
  ------------------
  |  Branch (1328:5): [True: 621, False: 1.69M]
  ------------------
 1329|  1.24k|    case U64IMAGE2DMS:
  ------------------
  |  Branch (1329:5): [True: 621, False: 1.69M]
  ------------------
 1330|  1.86k|    case I64IMAGE2DMSARRAY:
  ------------------
  |  Branch (1330:5): [True: 621, False: 1.69M]
  ------------------
 1331|  2.48k|    case U64IMAGE2DMSARRAY:
  ------------------
  |  Branch (1331:5): [True: 621, False: 1.69M]
  ------------------
 1332|  2.48k|        afterType = true;
 1333|  2.48k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1333:13): [True: 2.48k, False: 0]
  ------------------
 1334|  2.48k|            parseContext.extensionTurnedOn(E_GL_EXT_shader_image_int64)) {
  ------------------
  |  Branch (1334:13): [True: 0, False: 0]
  ------------------
 1335|  2.48k|            return secondGenerationImage();
 1336|  2.48k|        }
 1337|      0|        return identifierOrType();
 1338|       |
 1339|  7.82k|    case DOUBLE:
  ------------------
  |  Branch (1339:5): [True: 7.82k, False: 1.69M]
  ------------------
 1340|  14.1k|    case DVEC2:
  ------------------
  |  Branch (1340:5): [True: 6.37k, False: 1.69M]
  ------------------
 1341|  20.5k|    case DVEC3:
  ------------------
  |  Branch (1341:5): [True: 6.35k, False: 1.69M]
  ------------------
 1342|  26.9k|    case DVEC4:
  ------------------
  |  Branch (1342:5): [True: 6.37k, False: 1.69M]
  ------------------
 1343|  26.9k|        afterType = true;
 1344|  26.9k|        if (parseContext.isEsProfile() || parseContext.version < 150 ||
  ------------------
  |  Branch (1344:13): [True: 0, False: 26.9k]
  |  Branch (1344:43): [True: 0, False: 26.9k]
  ------------------
 1345|  26.9k|            (!parseContext.symbolTable.atBuiltInLevel() &&
  ------------------
  |  Branch (1345:14): [True: 0, False: 26.9k]
  ------------------
 1346|      0|              (parseContext.version < 400 && !parseContext.extensionTurnedOn(E_GL_ARB_gpu_shader_fp64) &&
  ------------------
  |  Branch (1346:16): [True: 0, False: 0]
  |  Branch (1346:46): [True: 0, False: 0]
  ------------------
 1347|      0|              (parseContext.version < 410 && !parseContext.extensionTurnedOn(E_GL_ARB_vertex_attrib_64bit)))))
  ------------------
  |  Branch (1347:16): [True: 0, False: 0]
  |  Branch (1347:46): [True: 0, False: 0]
  ------------------
 1348|      0|            reservedWord();
 1349|  26.9k|        return keyword;
 1350|       |
 1351|  20.8k|    case INT64_T:
  ------------------
  |  Branch (1351:5): [True: 20.8k, False: 1.67M]
  ------------------
 1352|  55.3k|    case UINT64_T:
  ------------------
  |  Branch (1352:5): [True: 34.4k, False: 1.66M]
  ------------------
 1353|  61.7k|    case I64VEC2:
  ------------------
  |  Branch (1353:5): [True: 6.45k, False: 1.69M]
  ------------------
 1354|  68.1k|    case I64VEC3:
  ------------------
  |  Branch (1354:5): [True: 6.34k, False: 1.69M]
  ------------------
 1355|  75.9k|    case I64VEC4:
  ------------------
  |  Branch (1355:5): [True: 7.77k, False: 1.69M]
  ------------------
 1356|  82.1k|    case U64VEC2:
  ------------------
  |  Branch (1356:5): [True: 6.23k, False: 1.69M]
  ------------------
 1357|  88.2k|    case U64VEC3:
  ------------------
  |  Branch (1357:5): [True: 6.12k, False: 1.69M]
  ------------------
 1358|  95.8k|    case U64VEC4:
  ------------------
  |  Branch (1358:5): [True: 7.56k, False: 1.69M]
  ------------------
 1359|  95.8k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1359:13): [True: 95.8k, False: 0]
  ------------------
 1360|      0|            parseContext.extensionTurnedOn(E_GL_ARB_gpu_shader_int64) ||
  ------------------
  |  Branch (1360:13): [True: 0, False: 0]
  ------------------
 1361|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1361:13): [True: 0, False: 0]
  ------------------
 1362|      0|            parseContext.extensionTurnedOn(E_GL_NV_gpu_shader5) ||
  ------------------
  |  Branch (1362:13): [True: 0, False: 0]
  ------------------
 1363|  95.8k|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int64)) {
  ------------------
  |  Branch (1363:13): [True: 0, False: 0]
  ------------------
 1364|  95.8k|            afterType = true;
 1365|  95.8k|            return keyword;
 1366|  95.8k|        }
 1367|      0|        return identifierOrType();
 1368|       |
 1369|  7.58k|    case INT8_T:
  ------------------
  |  Branch (1369:5): [True: 7.58k, False: 1.69M]
  ------------------
 1370|  14.5k|    case UINT8_T:
  ------------------
  |  Branch (1370:5): [True: 6.93k, False: 1.69M]
  ------------------
 1371|  19.9k|    case I8VEC2:
  ------------------
  |  Branch (1371:5): [True: 5.40k, False: 1.69M]
  ------------------
 1372|  25.1k|    case I8VEC3:
  ------------------
  |  Branch (1372:5): [True: 5.23k, False: 1.69M]
  ------------------
 1373|  30.5k|    case I8VEC4:
  ------------------
  |  Branch (1373:5): [True: 5.40k, False: 1.69M]
  ------------------
 1374|  35.6k|    case U8VEC2:
  ------------------
  |  Branch (1374:5): [True: 5.13k, False: 1.69M]
  ------------------
 1375|  40.6k|    case U8VEC3:
  ------------------
  |  Branch (1375:5): [True: 4.96k, False: 1.69M]
  ------------------
 1376|  45.7k|    case U8VEC4:
  ------------------
  |  Branch (1376:5): [True: 5.13k, False: 1.69M]
  ------------------
 1377|  45.7k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1377:13): [True: 45.7k, False: 0]
  ------------------
 1378|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1378:13): [True: 0, False: 0]
  ------------------
 1379|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_8bit_storage) ||
  ------------------
  |  Branch (1379:13): [True: 0, False: 0]
  ------------------
 1380|      0|            parseContext.extensionTurnedOn(E_GL_NV_gpu_shader5) ||
  ------------------
  |  Branch (1380:13): [True: 0, False: 0]
  ------------------
 1381|  45.7k|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int8)) {
  ------------------
  |  Branch (1381:13): [True: 0, False: 0]
  ------------------
 1382|  45.7k|            afterType = true;
 1383|  45.7k|            return keyword;
 1384|  45.7k|        }
 1385|      0|        return identifierOrType();
 1386|       |
 1387|  9.36k|    case INT16_T:
  ------------------
  |  Branch (1387:5): [True: 9.36k, False: 1.69M]
  ------------------
 1388|  17.6k|    case UINT16_T:
  ------------------
  |  Branch (1388:5): [True: 8.28k, False: 1.69M]
  ------------------
 1389|  24.8k|    case I16VEC2:
  ------------------
  |  Branch (1389:5): [True: 7.23k, False: 1.69M]
  ------------------
 1390|  31.9k|    case I16VEC3:
  ------------------
  |  Branch (1390:5): [True: 7.02k, False: 1.69M]
  ------------------
 1391|  39.1k|    case I16VEC4:
  ------------------
  |  Branch (1391:5): [True: 7.23k, False: 1.69M]
  ------------------
 1392|  46.1k|    case U16VEC2:
  ------------------
  |  Branch (1392:5): [True: 6.96k, False: 1.69M]
  ------------------
 1393|  52.8k|    case U16VEC3:
  ------------------
  |  Branch (1393:5): [True: 6.75k, False: 1.69M]
  ------------------
 1394|  59.8k|    case U16VEC4:
  ------------------
  |  Branch (1394:5): [True: 6.96k, False: 1.69M]
  ------------------
 1395|  59.8k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1395:13): [True: 59.8k, False: 0]
  ------------------
 1396|      0|            parseContext.extensionTurnedOn(E_GL_AMD_gpu_shader_int16) ||
  ------------------
  |  Branch (1396:13): [True: 0, False: 0]
  ------------------
 1397|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_16bit_storage) ||
  ------------------
  |  Branch (1397:13): [True: 0, False: 0]
  ------------------
 1398|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1398:13): [True: 0, False: 0]
  ------------------
 1399|      0|            parseContext.extensionTurnedOn(E_GL_NV_gpu_shader5) ||
  ------------------
  |  Branch (1399:13): [True: 0, False: 0]
  ------------------
 1400|  59.8k|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int16)) {
  ------------------
  |  Branch (1400:13): [True: 0, False: 0]
  ------------------
 1401|  59.8k|            afterType = true;
 1402|  59.8k|            return keyword;
 1403|  59.8k|        }
 1404|      0|        return identifierOrType();
 1405|  2.16k|    case INT32_T:
  ------------------
  |  Branch (1405:5): [True: 2.16k, False: 1.69M]
  ------------------
 1406|  4.32k|    case UINT32_T:
  ------------------
  |  Branch (1406:5): [True: 2.16k, False: 1.69M]
  ------------------
 1407|  4.48k|    case I32VEC2:
  ------------------
  |  Branch (1407:5): [True: 162, False: 1.69M]
  ------------------
 1408|  4.59k|    case I32VEC3:
  ------------------
  |  Branch (1408:5): [True: 108, False: 1.69M]
  ------------------
 1409|  4.69k|    case I32VEC4:
  ------------------
  |  Branch (1409:5): [True: 108, False: 1.69M]
  ------------------
 1410|  4.86k|    case U32VEC2:
  ------------------
  |  Branch (1410:5): [True: 162, False: 1.69M]
  ------------------
 1411|  4.96k|    case U32VEC3:
  ------------------
  |  Branch (1411:5): [True: 108, False: 1.69M]
  ------------------
 1412|  5.07k|    case U32VEC4:
  ------------------
  |  Branch (1412:5): [True: 108, False: 1.69M]
  ------------------
 1413|  5.07k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1413:13): [True: 5.07k, False: 0]
  ------------------
 1414|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1414:13): [True: 0, False: 0]
  ------------------
 1415|      0|            parseContext.extensionTurnedOn(E_GL_NV_gpu_shader5) ||
  ------------------
  |  Branch (1415:13): [True: 0, False: 0]
  ------------------
 1416|  5.07k|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int32)) {
  ------------------
  |  Branch (1416:13): [True: 0, False: 0]
  ------------------
 1417|  5.07k|            afterType = true;
 1418|  5.07k|            return keyword;
 1419|  5.07k|        }
 1420|      0|        return identifierOrType();
 1421|  2.05k|    case FLOAT32_T:
  ------------------
  |  Branch (1421:5): [True: 2.05k, False: 1.69M]
  ------------------
 1422|  2.16k|    case F32VEC2:
  ------------------
  |  Branch (1422:5): [True: 108, False: 1.69M]
  ------------------
 1423|  2.26k|    case F32VEC3:
  ------------------
  |  Branch (1423:5): [True: 108, False: 1.69M]
  ------------------
 1424|  2.37k|    case F32VEC4:
  ------------------
  |  Branch (1424:5): [True: 108, False: 1.69M]
  ------------------
 1425|  2.37k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1425:13): [True: 2.37k, False: 0]
  ------------------
 1426|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1426:13): [True: 0, False: 0]
  ------------------
 1427|      0|            parseContext.extensionTurnedOn(E_GL_NV_gpu_shader5) ||
  ------------------
  |  Branch (1427:13): [True: 0, False: 0]
  ------------------
 1428|  2.37k|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float32)) {
  ------------------
  |  Branch (1428:13): [True: 0, False: 0]
  ------------------
 1429|  2.37k|            afterType = true;
 1430|  2.37k|            return keyword;
 1431|  2.37k|        }
 1432|      0|        return identifierOrType();
 1433|      0|    case F32MAT2:
  ------------------
  |  Branch (1433:5): [True: 0, False: 1.69M]
  ------------------
 1434|      0|    case F32MAT3:
  ------------------
  |  Branch (1434:5): [True: 0, False: 1.69M]
  ------------------
 1435|      0|    case F32MAT4:
  ------------------
  |  Branch (1435:5): [True: 0, False: 1.69M]
  ------------------
 1436|      0|    case F32MAT2X2:
  ------------------
  |  Branch (1436:5): [True: 0, False: 1.69M]
  ------------------
 1437|      0|    case F32MAT2X3:
  ------------------
  |  Branch (1437:5): [True: 0, False: 1.69M]
  ------------------
 1438|      0|    case F32MAT2X4:
  ------------------
  |  Branch (1438:5): [True: 0, False: 1.69M]
  ------------------
 1439|      0|    case F32MAT3X2:
  ------------------
  |  Branch (1439:5): [True: 0, False: 1.69M]
  ------------------
 1440|      0|    case F32MAT3X3:
  ------------------
  |  Branch (1440:5): [True: 0, False: 1.69M]
  ------------------
 1441|      0|    case F32MAT3X4:
  ------------------
  |  Branch (1441:5): [True: 0, False: 1.69M]
  ------------------
 1442|      0|    case F32MAT4X2:
  ------------------
  |  Branch (1442:5): [True: 0, False: 1.69M]
  ------------------
 1443|      0|    case F32MAT4X3:
  ------------------
  |  Branch (1443:5): [True: 0, False: 1.69M]
  ------------------
 1444|      0|    case F32MAT4X4:
  ------------------
  |  Branch (1444:5): [True: 0, False: 1.69M]
  ------------------
 1445|      0|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1445:13): [True: 0, False: 0]
  ------------------
 1446|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1446:13): [True: 0, False: 0]
  ------------------
 1447|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float32)) {
  ------------------
  |  Branch (1447:13): [True: 0, False: 0]
  ------------------
 1448|      0|            afterType = true;
 1449|      0|            return keyword;
 1450|      0|        }
 1451|      0|        return identifierOrType();
 1452|       |
 1453|  3.80k|    case FLOAT64_T:
  ------------------
  |  Branch (1453:5): [True: 3.80k, False: 1.69M]
  ------------------
 1454|  6.23k|    case F64VEC2:
  ------------------
  |  Branch (1454:5): [True: 2.43k, False: 1.69M]
  ------------------
 1455|  8.55k|    case F64VEC3:
  ------------------
  |  Branch (1455:5): [True: 2.32k, False: 1.69M]
  ------------------
 1456|  10.8k|    case F64VEC4:
  ------------------
  |  Branch (1456:5): [True: 2.32k, False: 1.69M]
  ------------------
 1457|  10.8k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1457:13): [True: 10.8k, False: 0]
  ------------------
 1458|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1458:13): [True: 0, False: 0]
  ------------------
 1459|      0|            (parseContext.extensionTurnedOn(E_GL_NV_gpu_shader5) && 
  ------------------
  |  Branch (1459:14): [True: 0, False: 0]
  ------------------
 1460|      0|             parseContext.extensionTurnedOn(E_GL_ARB_gpu_shader_fp64)) ||
  ------------------
  |  Branch (1460:14): [True: 0, False: 0]
  ------------------
 1461|  10.8k|             parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float64)) {
  ------------------
  |  Branch (1461:14): [True: 0, False: 0]
  ------------------
 1462|  10.8k|            afterType = true;
 1463|  10.8k|            return keyword;
 1464|  10.8k|        }
 1465|      0|        return identifierOrType();
 1466|      0|    case F64MAT2:
  ------------------
  |  Branch (1466:5): [True: 0, False: 1.69M]
  ------------------
 1467|      0|    case F64MAT3:
  ------------------
  |  Branch (1467:5): [True: 0, False: 1.69M]
  ------------------
 1468|      0|    case F64MAT4:
  ------------------
  |  Branch (1468:5): [True: 0, False: 1.69M]
  ------------------
 1469|      0|    case F64MAT2X2:
  ------------------
  |  Branch (1469:5): [True: 0, False: 1.69M]
  ------------------
 1470|      0|    case F64MAT2X3:
  ------------------
  |  Branch (1470:5): [True: 0, False: 1.69M]
  ------------------
 1471|      0|    case F64MAT2X4:
  ------------------
  |  Branch (1471:5): [True: 0, False: 1.69M]
  ------------------
 1472|      0|    case F64MAT3X2:
  ------------------
  |  Branch (1472:5): [True: 0, False: 1.69M]
  ------------------
 1473|      0|    case F64MAT3X3:
  ------------------
  |  Branch (1473:5): [True: 0, False: 1.69M]
  ------------------
 1474|      0|    case F64MAT3X4:
  ------------------
  |  Branch (1474:5): [True: 0, False: 1.69M]
  ------------------
 1475|      0|    case F64MAT4X2:
  ------------------
  |  Branch (1475:5): [True: 0, False: 1.69M]
  ------------------
 1476|      0|    case F64MAT4X3:
  ------------------
  |  Branch (1476:5): [True: 0, False: 1.69M]
  ------------------
 1477|      0|    case F64MAT4X4:
  ------------------
  |  Branch (1477:5): [True: 0, False: 1.69M]
  ------------------
 1478|      0|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1478:13): [True: 0, False: 0]
  ------------------
 1479|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1479:13): [True: 0, False: 0]
  ------------------
 1480|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float64)) {
  ------------------
  |  Branch (1480:13): [True: 0, False: 0]
  ------------------
 1481|      0|            afterType = true;
 1482|      0|            return keyword;
 1483|      0|        }
 1484|      0|        return identifierOrType();
 1485|       |
 1486|  33.7k|    case FLOAT16_T:
  ------------------
  |  Branch (1486:5): [True: 33.7k, False: 1.66M]
  ------------------
 1487|  59.2k|    case F16VEC2:
  ------------------
  |  Branch (1487:5): [True: 25.5k, False: 1.67M]
  ------------------
 1488|  76.8k|    case F16VEC3:
  ------------------
  |  Branch (1488:5): [True: 17.5k, False: 1.68M]
  ------------------
 1489|   120k|    case F16VEC4:
  ------------------
  |  Branch (1489:5): [True: 43.9k, False: 1.65M]
  ------------------
 1490|   120k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1490:13): [True: 120k, False: 0]
  ------------------
 1491|      0|            parseContext.extensionTurnedOn(E_GL_AMD_gpu_shader_half_float) ||
  ------------------
  |  Branch (1491:13): [True: 0, False: 0]
  ------------------
 1492|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_16bit_storage) ||
  ------------------
  |  Branch (1492:13): [True: 0, False: 0]
  ------------------
 1493|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1493:13): [True: 0, False: 0]
  ------------------
 1494|      0|            parseContext.extensionTurnedOn(E_GL_NV_gpu_shader5) ||
  ------------------
  |  Branch (1494:13): [True: 0, False: 0]
  ------------------
 1495|   120k|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float16)) {
  ------------------
  |  Branch (1495:13): [True: 0, False: 0]
  ------------------
 1496|   120k|            afterType = true;
 1497|   120k|            return keyword;
 1498|   120k|        }
 1499|      0|        return identifierOrType();
 1500|       |
 1501|    243|    case F16MAT2:
  ------------------
  |  Branch (1501:5): [True: 243, False: 1.69M]
  ------------------
 1502|    486|    case F16MAT3:
  ------------------
  |  Branch (1502:5): [True: 243, False: 1.69M]
  ------------------
 1503|    729|    case F16MAT4:
  ------------------
  |  Branch (1503:5): [True: 243, False: 1.69M]
  ------------------
 1504|    729|    case F16MAT2X2:
  ------------------
  |  Branch (1504:5): [True: 0, False: 1.69M]
  ------------------
 1505|    891|    case F16MAT2X3:
  ------------------
  |  Branch (1505:5): [True: 162, False: 1.69M]
  ------------------
 1506|  1.05k|    case F16MAT2X4:
  ------------------
  |  Branch (1506:5): [True: 162, False: 1.69M]
  ------------------
 1507|  1.21k|    case F16MAT3X2:
  ------------------
  |  Branch (1507:5): [True: 162, False: 1.69M]
  ------------------
 1508|  1.21k|    case F16MAT3X3:
  ------------------
  |  Branch (1508:5): [True: 0, False: 1.69M]
  ------------------
 1509|  1.37k|    case F16MAT3X4:
  ------------------
  |  Branch (1509:5): [True: 162, False: 1.69M]
  ------------------
 1510|  1.53k|    case F16MAT4X2:
  ------------------
  |  Branch (1510:5): [True: 162, False: 1.69M]
  ------------------
 1511|  1.70k|    case F16MAT4X3:
  ------------------
  |  Branch (1511:5): [True: 162, False: 1.69M]
  ------------------
 1512|  1.70k|    case F16MAT4X4:
  ------------------
  |  Branch (1512:5): [True: 0, False: 1.69M]
  ------------------
 1513|  1.70k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1513:13): [True: 1.70k, False: 0]
  ------------------
 1514|      0|            parseContext.extensionTurnedOn(E_GL_AMD_gpu_shader_half_float) ||
  ------------------
  |  Branch (1514:13): [True: 0, False: 0]
  ------------------
 1515|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1515:13): [True: 0, False: 0]
  ------------------
 1516|  1.70k|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float16)) {
  ------------------
  |  Branch (1516:13): [True: 0, False: 0]
  ------------------
 1517|  1.70k|            afterType = true;
 1518|  1.70k|            return keyword;
 1519|  1.70k|        }
 1520|       |
 1521|      0|        return identifierOrType();
 1522|       |
 1523|    486|    case BFLOAT16_T:
  ------------------
  |  Branch (1523:5): [True: 486, False: 1.69M]
  ------------------
 1524|    756|    case BF16VEC2:
  ------------------
  |  Branch (1524:5): [True: 270, False: 1.69M]
  ------------------
 1525|    918|    case BF16VEC3:
  ------------------
  |  Branch (1525:5): [True: 162, False: 1.69M]
  ------------------
 1526|  1.18k|    case BF16VEC4:
  ------------------
  |  Branch (1526:5): [True: 270, False: 1.69M]
  ------------------
 1527|  1.18k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1527:13): [True: 1.18k, False: 0]
  ------------------
 1528|  1.18k|            parseContext.extensionTurnedOn(E_GL_EXT_bfloat16)) {
  ------------------
  |  Branch (1528:13): [True: 0, False: 0]
  ------------------
 1529|  1.18k|            afterType = true;
 1530|  1.18k|            return keyword;
 1531|  1.18k|        }
 1532|       |
 1533|      0|        return identifierOrType();
 1534|       |
 1535|    324|    case FLOATE5M2_T:
  ------------------
  |  Branch (1535:5): [True: 324, False: 1.69M]
  ------------------
 1536|    540|    case FE5M2VEC2:
  ------------------
  |  Branch (1536:5): [True: 216, False: 1.69M]
  ------------------
 1537|    648|    case FE5M2VEC3:
  ------------------
  |  Branch (1537:5): [True: 108, False: 1.69M]
  ------------------
 1538|    864|    case FE5M2VEC4:
  ------------------
  |  Branch (1538:5): [True: 216, False: 1.69M]
  ------------------
 1539|    864|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1539:13): [True: 864, False: 0]
  ------------------
 1540|    864|            parseContext.extensionTurnedOn(E_GL_EXT_float_e5m2)) {
  ------------------
  |  Branch (1540:13): [True: 0, False: 0]
  ------------------
 1541|    864|            afterType = true;
 1542|    864|            return keyword;
 1543|    864|        }
 1544|       |
 1545|      0|        return identifierOrType();
 1546|       |
 1547|    324|    case FLOATE4M3_T:
  ------------------
  |  Branch (1547:5): [True: 324, False: 1.69M]
  ------------------
 1548|    540|    case FE4M3VEC2:
  ------------------
  |  Branch (1548:5): [True: 216, False: 1.69M]
  ------------------
 1549|    648|    case FE4M3VEC3:
  ------------------
  |  Branch (1549:5): [True: 108, False: 1.69M]
  ------------------
 1550|    864|    case FE4M3VEC4:
  ------------------
  |  Branch (1550:5): [True: 216, False: 1.69M]
  ------------------
 1551|    864|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1551:13): [True: 864, False: 0]
  ------------------
 1552|    864|            parseContext.extensionTurnedOn(E_GL_EXT_float_e4m3)) {
  ------------------
  |  Branch (1552:13): [True: 0, False: 0]
  ------------------
 1553|    864|            afterType = true;
 1554|    864|            return keyword;
 1555|    864|        }
 1556|       |
 1557|      0|        return identifierOrType();
 1558|       |
 1559|  1.09k|    case SAMPLERCUBEARRAY:
  ------------------
  |  Branch (1559:5): [True: 1.09k, False: 1.69M]
  ------------------
 1560|  1.68k|    case SAMPLERCUBEARRAYSHADOW:
  ------------------
  |  Branch (1560:5): [True: 588, False: 1.69M]
  ------------------
 1561|  2.77k|    case ISAMPLERCUBEARRAY:
  ------------------
  |  Branch (1561:5): [True: 1.09k, False: 1.69M]
  ------------------
 1562|  3.86k|    case USAMPLERCUBEARRAY:
  ------------------
  |  Branch (1562:5): [True: 1.09k, False: 1.69M]
  ------------------
 1563|  3.86k|        afterType = true;
 1564|  3.86k|        if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1564:14): [True: 0, False: 3.86k]
  |  Branch (1564:44): [True: 0, False: 0]
  ------------------
 1565|  3.86k|            parseContext.extensionsTurnedOn(Num_AEP_texture_cube_map_array, AEP_texture_cube_map_array))
  ------------------
  |  Branch (1565:13): [True: 0, False: 3.86k]
  ------------------
 1566|      0|            return keyword;
 1567|  3.86k|        if (parseContext.isEsProfile() || (parseContext.version < 400 &&
  ------------------
  |  Branch (1567:13): [True: 0, False: 3.86k]
  |  Branch (1567:44): [True: 0, False: 3.86k]
  ------------------
 1568|      0|            ! parseContext.extensionTurnedOn(E_GL_ARB_texture_cube_map_array)
  ------------------
  |  Branch (1568:13): [True: 0, False: 0]
  ------------------
 1569|      0|            && ! parseContext.extensionsTurnedOn(Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5)))
  ------------------
  |  Branch (1569:16): [True: 0, False: 0]
  ------------------
 1570|      0|            reservedWord();
 1571|  3.86k|        return keyword;
 1572|       |
 1573|     30|    case TEXTURECUBEARRAY:
  ------------------
  |  Branch (1573:5): [True: 30, False: 1.69M]
  ------------------
 1574|     60|    case ITEXTURECUBEARRAY:
  ------------------
  |  Branch (1574:5): [True: 30, False: 1.69M]
  ------------------
 1575|     90|    case UTEXTURECUBEARRAY:
  ------------------
  |  Branch (1575:5): [True: 30, False: 1.69M]
  ------------------
 1576|     90|        if (parseContext.spvVersion.vulkan > 0)
  ------------------
  |  Branch (1576:13): [True: 90, False: 0]
  ------------------
 1577|     90|            return keyword;
 1578|      0|        else
 1579|      0|            return identifierOrType();
 1580|       |
 1581|  97.9k|    case UINT:
  ------------------
  |  Branch (1581:5): [True: 97.9k, False: 1.60M]
  ------------------
 1582|   106k|    case UVEC2:
  ------------------
  |  Branch (1582:5): [True: 8.51k, False: 1.69M]
  ------------------
 1583|   114k|    case UVEC3:
  ------------------
  |  Branch (1583:5): [True: 8.34k, False: 1.69M]
  ------------------
 1584|   163k|    case UVEC4:
  ------------------
  |  Branch (1584:5): [True: 48.4k, False: 1.65M]
  ------------------
 1585|   163k|    case SAMPLERCUBESHADOW:
  ------------------
  |  Branch (1585:5): [True: 718, False: 1.69M]
  ------------------
 1586|   166k|    case SAMPLER2DARRAY:
  ------------------
  |  Branch (1586:5): [True: 2.59k, False: 1.69M]
  ------------------
 1587|   167k|    case SAMPLER2DARRAYSHADOW:
  ------------------
  |  Branch (1587:5): [True: 990, False: 1.69M]
  ------------------
 1588|   170k|    case ISAMPLER2D:
  ------------------
  |  Branch (1588:5): [True: 3.21k, False: 1.69M]
  ------------------
 1589|   172k|    case ISAMPLER3D:
  ------------------
  |  Branch (1589:5): [True: 1.68k, False: 1.69M]
  ------------------
 1590|   173k|    case ISAMPLERCUBE:
  ------------------
  |  Branch (1590:5): [True: 1.09k, False: 1.69M]
  ------------------
 1591|   176k|    case ISAMPLER2DARRAY:
  ------------------
  |  Branch (1591:5): [True: 2.56k, False: 1.69M]
  ------------------
 1592|   179k|    case USAMPLER2D:
  ------------------
  |  Branch (1592:5): [True: 3.21k, False: 1.69M]
  ------------------
 1593|   180k|    case USAMPLER3D:
  ------------------
  |  Branch (1593:5): [True: 1.68k, False: 1.69M]
  ------------------
 1594|   182k|    case USAMPLERCUBE:
  ------------------
  |  Branch (1594:5): [True: 1.09k, False: 1.69M]
  ------------------
 1595|   184k|    case USAMPLER2DARRAY:
  ------------------
  |  Branch (1595:5): [True: 2.56k, False: 1.69M]
  ------------------
 1596|   184k|        afterType = true;
 1597|   184k|        if (keyword == SAMPLER2DARRAY || keyword == SAMPLER2DARRAYSHADOW) {
  ------------------
  |  Branch (1597:13): [True: 2.59k, False: 182k]
  |  Branch (1597:42): [True: 990, False: 181k]
  ------------------
 1598|  3.58k|            if (!parseContext.isEsProfile() &&
  ------------------
  |  Branch (1598:17): [True: 3.57k, False: 2]
  ------------------
 1599|  3.57k|                (parseContext.extensionTurnedOn(E_GL_EXT_texture_array) || parseContext.symbolTable.atBuiltInLevel())) {
  ------------------
  |  Branch (1599:18): [True: 0, False: 3.57k]
  |  Branch (1599:76): [True: 3.57k, False: 0]
  ------------------
 1600|  3.57k|                return keyword;
 1601|  3.57k|            }
 1602|  3.58k|        }
 1603|   181k|        return nonreservedKeyword(300, 130);
 1604|       |
 1605|  2.08k|    case SAMPLER3D:
  ------------------
  |  Branch (1605:5): [True: 2.08k, False: 1.69M]
  ------------------
 1606|  2.08k|        afterType = true;
 1607|  2.08k|        if (parseContext.isEsProfile() && parseContext.version < 300) {
  ------------------
  |  Branch (1607:13): [True: 248, False: 1.83k]
  |  Branch (1607:43): [True: 244, False: 4]
  ------------------
 1608|    244|            if (!parseContext.extensionTurnedOn(E_GL_OES_texture_3D))
  ------------------
  |  Branch (1608:17): [True: 244, False: 0]
  ------------------
 1609|    244|                reservedWord();
 1610|    244|        }
 1611|  2.08k|        return keyword;
 1612|       |
 1613|  1.63k|    case SAMPLER2DSHADOW:
  ------------------
  |  Branch (1613:5): [True: 1.63k, False: 1.69M]
  ------------------
 1614|  1.63k|        afterType = true;
 1615|  1.63k|        if (parseContext.isEsProfile() && parseContext.version < 300) {
  ------------------
  |  Branch (1615:13): [True: 64, False: 1.56k]
  |  Branch (1615:43): [True: 60, False: 4]
  ------------------
 1616|     60|            if (!parseContext.extensionTurnedOn(E_GL_EXT_shadow_samplers))
  ------------------
  |  Branch (1616:17): [True: 60, False: 0]
  ------------------
 1617|     60|                reservedWord();
 1618|     60|        }
 1619|  1.63k|        return keyword;
 1620|       |
 1621|    382|    case TEXTURE2D:
  ------------------
  |  Branch (1621:5): [True: 382, False: 1.69M]
  ------------------
 1622|    469|    case TEXTURECUBE:
  ------------------
  |  Branch (1622:5): [True: 87, False: 1.69M]
  ------------------
 1623|    559|    case TEXTURE2DARRAY:
  ------------------
  |  Branch (1623:5): [True: 90, False: 1.69M]
  ------------------
 1624|    649|    case ITEXTURE2D:
  ------------------
  |  Branch (1624:5): [True: 90, False: 1.69M]
  ------------------
 1625|    739|    case ITEXTURE3D:
  ------------------
  |  Branch (1625:5): [True: 90, False: 1.69M]
  ------------------
 1626|    769|    case ITEXTURECUBE:
  ------------------
  |  Branch (1626:5): [True: 30, False: 1.69M]
  ------------------
 1627|    859|    case ITEXTURE2DARRAY:
  ------------------
  |  Branch (1627:5): [True: 90, False: 1.69M]
  ------------------
 1628|    949|    case UTEXTURE2D:
  ------------------
  |  Branch (1628:5): [True: 90, False: 1.69M]
  ------------------
 1629|  1.03k|    case UTEXTURE3D:
  ------------------
  |  Branch (1629:5): [True: 90, False: 1.69M]
  ------------------
 1630|  1.06k|    case UTEXTURECUBE:
  ------------------
  |  Branch (1630:5): [True: 30, False: 1.69M]
  ------------------
 1631|  1.15k|    case UTEXTURE2DARRAY:
  ------------------
  |  Branch (1631:5): [True: 90, False: 1.69M]
  ------------------
 1632|  1.30k|    case TEXTURE3D:
  ------------------
  |  Branch (1632:5): [True: 147, False: 1.69M]
  ------------------
 1633|  1.33k|    case SAMPLER:
  ------------------
  |  Branch (1633:5): [True: 32, False: 1.69M]
  ------------------
 1634|  1.33k|    case SAMPLERSHADOW:
  ------------------
  |  Branch (1634:5): [True: 0, False: 1.69M]
  ------------------
 1635|  1.33k|        if (parseContext.spvVersion.vulkan > 0)
  ------------------
  |  Branch (1635:13): [True: 1.10k, False: 231]
  ------------------
 1636|  1.10k|            return keyword;
 1637|    231|        else
 1638|    231|            return identifierOrType();
 1639|       |
 1640|  1.44k|    case ISAMPLER1D:
  ------------------
  |  Branch (1640:5): [True: 1.44k, False: 1.69M]
  ------------------
 1641|  2.23k|    case ISAMPLER1DARRAY:
  ------------------
  |  Branch (1641:5): [True: 798, False: 1.69M]
  ------------------
 1642|  2.92k|    case SAMPLER1DARRAYSHADOW:
  ------------------
  |  Branch (1642:5): [True: 690, False: 1.69M]
  ------------------
 1643|  4.36k|    case USAMPLER1D:
  ------------------
  |  Branch (1643:5): [True: 1.44k, False: 1.69M]
  ------------------
 1644|  5.16k|    case USAMPLER1DARRAY:
  ------------------
  |  Branch (1644:5): [True: 798, False: 1.69M]
  ------------------
 1645|  5.16k|        afterType = true;
 1646|  5.16k|        if (keyword == SAMPLER1DARRAYSHADOW) {
  ------------------
  |  Branch (1646:13): [True: 690, False: 4.47k]
  ------------------
 1647|    690|            if (!parseContext.isEsProfile() &&
  ------------------
  |  Branch (1647:17): [True: 690, False: 0]
  ------------------
 1648|    690|                (parseContext.extensionTurnedOn(E_GL_EXT_texture_array) || parseContext.symbolTable.atBuiltInLevel())) {
  ------------------
  |  Branch (1648:18): [True: 0, False: 690]
  |  Branch (1648:76): [True: 690, False: 0]
  ------------------
 1649|    690|                return keyword;
 1650|    690|            }
 1651|    690|        }
 1652|  4.47k|        return es30ReservedFromGLSL(130);
 1653|  1.42k|    case ISAMPLER2DRECT:
  ------------------
  |  Branch (1653:5): [True: 1.42k, False: 1.69M]
  ------------------
 1654|  2.85k|    case USAMPLER2DRECT:
  ------------------
  |  Branch (1654:5): [True: 1.42k, False: 1.69M]
  ------------------
 1655|  2.85k|        afterType = true;
 1656|  2.85k|        return es30ReservedFromGLSL(140);
 1657|       |
 1658|     54|    case SAMPLERBUFFER:
  ------------------
  |  Branch (1658:5): [True: 54, False: 1.69M]
  ------------------
 1659|     54|        afterType = true;
 1660|     54|        if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1660:14): [True: 0, False: 54]
  |  Branch (1660:44): [True: 0, False: 0]
  ------------------
 1661|     54|            parseContext.extensionsTurnedOn(Num_AEP_texture_buffer, AEP_texture_buffer))
  ------------------
  |  Branch (1661:13): [True: 0, False: 54]
  ------------------
 1662|      0|            return keyword;
 1663|     54|        return es30ReservedFromGLSL(130);
 1664|       |
 1665|     54|    case ISAMPLERBUFFER:
  ------------------
  |  Branch (1665:5): [True: 54, False: 1.69M]
  ------------------
 1666|    108|    case USAMPLERBUFFER:
  ------------------
  |  Branch (1666:5): [True: 54, False: 1.69M]
  ------------------
 1667|    108|        afterType = true;
 1668|    108|        if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1668:14): [True: 0, False: 108]
  |  Branch (1668:44): [True: 0, False: 0]
  ------------------
 1669|    108|            parseContext.extensionsTurnedOn(Num_AEP_texture_buffer, AEP_texture_buffer))
  ------------------
  |  Branch (1669:13): [True: 0, False: 108]
  ------------------
 1670|      0|            return keyword;
 1671|    108|        return es30ReservedFromGLSL(140);
 1672|       |
 1673|    162|    case SAMPLER2DMS:
  ------------------
  |  Branch (1673:5): [True: 162, False: 1.69M]
  ------------------
 1674|    324|    case ISAMPLER2DMS:
  ------------------
  |  Branch (1674:5): [True: 162, False: 1.69M]
  ------------------
 1675|    486|    case USAMPLER2DMS:
  ------------------
  |  Branch (1675:5): [True: 162, False: 1.69M]
  ------------------
 1676|    486|        afterType = true;
 1677|    486|        if (parseContext.isEsProfile() && parseContext.version >= 310)
  ------------------
  |  Branch (1677:13): [True: 0, False: 486]
  |  Branch (1677:43): [True: 0, False: 0]
  ------------------
 1678|      0|            return keyword;
 1679|    486|        if (!parseContext.isEsProfile() && (parseContext.version > 140 ||
  ------------------
  |  Branch (1679:13): [True: 486, False: 0]
  |  Branch (1679:45): [True: 486, False: 0]
  ------------------
 1680|      0|            (parseContext.version == 140 && parseContext.extensionsTurnedOn(1, &E_GL_ARB_texture_multisample))))
  ------------------
  |  Branch (1680:14): [True: 0, False: 0]
  |  Branch (1680:45): [True: 0, False: 0]
  ------------------
 1681|    486|            return keyword;
 1682|      0|        return es30ReservedFromGLSL(150);
 1683|       |
 1684|    162|    case SAMPLER2DMSARRAY:
  ------------------
  |  Branch (1684:5): [True: 162, False: 1.69M]
  ------------------
 1685|    324|    case ISAMPLER2DMSARRAY:
  ------------------
  |  Branch (1685:5): [True: 162, False: 1.69M]
  ------------------
 1686|    486|    case USAMPLER2DMSARRAY:
  ------------------
  |  Branch (1686:5): [True: 162, False: 1.69M]
  ------------------
 1687|    486|        afterType = true;
 1688|    486|        if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1688:14): [True: 0, False: 486]
  |  Branch (1688:44): [True: 0, False: 0]
  ------------------
 1689|    486|            parseContext.extensionsTurnedOn(1, &E_GL_OES_texture_storage_multisample_2d_array))
  ------------------
  |  Branch (1689:13): [True: 0, False: 486]
  ------------------
 1690|      0|            return keyword;
 1691|    486|        if (!parseContext.isEsProfile() && (parseContext.version > 140 ||
  ------------------
  |  Branch (1691:13): [True: 486, False: 0]
  |  Branch (1691:45): [True: 486, False: 0]
  ------------------
 1692|      0|            (parseContext.version == 140 && parseContext.extensionsTurnedOn(1, &E_GL_ARB_texture_multisample))))
  ------------------
  |  Branch (1692:14): [True: 0, False: 0]
  |  Branch (1692:45): [True: 0, False: 0]
  ------------------
 1693|    486|            return keyword;
 1694|      0|        return es30ReservedFromGLSL(150);
 1695|       |
 1696|  1.47k|    case SAMPLER1D:
  ------------------
  |  Branch (1696:5): [True: 1.47k, False: 1.69M]
  ------------------
 1697|  2.43k|    case SAMPLER1DSHADOW:
  ------------------
  |  Branch (1697:5): [True: 954, False: 1.69M]
  ------------------
 1698|  2.43k|        afterType = true;
 1699|  2.43k|        if (parseContext.isEsProfile())
  ------------------
  |  Branch (1699:13): [True: 0, False: 2.43k]
  ------------------
 1700|      0|            reservedWord();
 1701|  2.43k|        return keyword;
 1702|       |
 1703|  1.42k|    case SAMPLER2DRECT:
  ------------------
  |  Branch (1703:5): [True: 1.42k, False: 1.69M]
  ------------------
 1704|  2.20k|    case SAMPLER2DRECTSHADOW:
  ------------------
  |  Branch (1704:5): [True: 777, False: 1.69M]
  ------------------
 1705|  2.20k|        afterType = true;
 1706|  2.20k|        if (parseContext.isEsProfile())
  ------------------
  |  Branch (1706:13): [True: 0, False: 2.20k]
  ------------------
 1707|      0|            reservedWord();
 1708|  2.20k|        else if (parseContext.version < 140 && ! parseContext.symbolTable.atBuiltInLevel() && ! parseContext.extensionTurnedOn(E_GL_ARB_texture_rectangle)) {
  ------------------
  |  Branch (1708:18): [True: 0, False: 2.20k]
  |  Branch (1708:48): [True: 0, False: 0]
  |  Branch (1708:95): [True: 0, False: 0]
  ------------------
 1709|      0|            if (parseContext.relaxedErrors())
  ------------------
  |  Branch (1709:17): [True: 0, False: 0]
  ------------------
 1710|      0|                parseContext.requireExtensions(loc, 1, &E_GL_ARB_texture_rectangle, "texture-rectangle sampler keyword");
 1711|      0|            else
 1712|      0|                reservedWord();
 1713|      0|        }
 1714|  2.20k|        return keyword;
 1715|       |
 1716|    825|    case SAMPLER1DARRAY:
  ------------------
  |  Branch (1716:5): [True: 825, False: 1.69M]
  ------------------
 1717|    825|        afterType = true;
 1718|    825|        if (parseContext.isEsProfile() && parseContext.version == 300)
  ------------------
  |  Branch (1718:13): [True: 0, False: 825]
  |  Branch (1718:43): [True: 0, False: 0]
  ------------------
 1719|      0|            reservedWord();
 1720|    825|        else if ((parseContext.isEsProfile() && parseContext.version < 300) ||
  ------------------
  |  Branch (1720:19): [True: 0, False: 825]
  |  Branch (1720:49): [True: 0, False: 0]
  ------------------
 1721|    825|                 ((!parseContext.isEsProfile() && parseContext.version < 130) &&
  ------------------
  |  Branch (1721:20): [True: 825, False: 0]
  |  Branch (1721:51): [True: 0, False: 825]
  ------------------
 1722|      0|                   !parseContext.symbolTable.atBuiltInLevel() &&
  ------------------
  |  Branch (1722:20): [True: 0, False: 0]
  ------------------
 1723|      0|                   !parseContext.extensionTurnedOn(E_GL_EXT_texture_array)))
  ------------------
  |  Branch (1723:20): [True: 0, False: 0]
  ------------------
 1724|      0|            return identifierOrType();
 1725|    825|        return keyword;
 1726|       |
 1727|    106|    case SAMPLEREXTERNALOES:
  ------------------
  |  Branch (1727:5): [True: 106, False: 1.69M]
  ------------------
 1728|    106|        afterType = true;
 1729|    106|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1729:13): [True: 106, False: 0]
  ------------------
 1730|      0|            parseContext.extensionTurnedOn(E_GL_OES_EGL_image_external) ||
  ------------------
  |  Branch (1730:13): [True: 0, False: 0]
  ------------------
 1731|      0|            parseContext.extensionTurnedOn(E_GL_OES_EGL_image_external_essl3))
  ------------------
  |  Branch (1731:13): [True: 0, False: 0]
  ------------------
 1732|    106|            return keyword;
 1733|      0|        return identifierOrType();
 1734|       |
 1735|    256|    case SAMPLEREXTERNAL2DY2YEXT:
  ------------------
  |  Branch (1735:5): [True: 256, False: 1.69M]
  ------------------
 1736|    256|        afterType = true;
 1737|    256|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1737:13): [True: 256, False: 0]
  ------------------
 1738|      0|            parseContext.extensionTurnedOn(E_GL_EXT_YUV_target))
  ------------------
  |  Branch (1738:13): [True: 0, False: 0]
  ------------------
 1739|    256|            return keyword;
 1740|      0|        return identifierOrType();
 1741|       |
 1742|     60|    case ITEXTURE1DARRAY:
  ------------------
  |  Branch (1742:5): [True: 60, False: 1.69M]
  ------------------
 1743|    120|    case UTEXTURE1D:
  ------------------
  |  Branch (1743:5): [True: 60, False: 1.69M]
  ------------------
 1744|    180|    case ITEXTURE1D:
  ------------------
  |  Branch (1744:5): [True: 60, False: 1.69M]
  ------------------
 1745|    240|    case UTEXTURE1DARRAY:
  ------------------
  |  Branch (1745:5): [True: 60, False: 1.69M]
  ------------------
 1746|    270|    case TEXTUREBUFFER:
  ------------------
  |  Branch (1746:5): [True: 30, False: 1.69M]
  ------------------
 1747|    345|    case ITEXTURE2DRECT:
  ------------------
  |  Branch (1747:5): [True: 75, False: 1.69M]
  ------------------
 1748|    420|    case UTEXTURE2DRECT:
  ------------------
  |  Branch (1748:5): [True: 75, False: 1.69M]
  ------------------
 1749|    450|    case ITEXTUREBUFFER:
  ------------------
  |  Branch (1749:5): [True: 30, False: 1.69M]
  ------------------
 1750|    480|    case UTEXTUREBUFFER:
  ------------------
  |  Branch (1750:5): [True: 30, False: 1.69M]
  ------------------
 1751|    540|    case TEXTURE2DMS:
  ------------------
  |  Branch (1751:5): [True: 60, False: 1.69M]
  ------------------
 1752|    600|    case ITEXTURE2DMS:
  ------------------
  |  Branch (1752:5): [True: 60, False: 1.69M]
  ------------------
 1753|    660|    case UTEXTURE2DMS:
  ------------------
  |  Branch (1753:5): [True: 60, False: 1.69M]
  ------------------
 1754|    720|    case TEXTURE2DMSARRAY:
  ------------------
  |  Branch (1754:5): [True: 60, False: 1.69M]
  ------------------
 1755|    780|    case ITEXTURE2DMSARRAY:
  ------------------
  |  Branch (1755:5): [True: 60, False: 1.69M]
  ------------------
 1756|    840|    case UTEXTURE2DMSARRAY:
  ------------------
  |  Branch (1756:5): [True: 60, False: 1.69M]
  ------------------
 1757|    912|    case TEXTURE1D:
  ------------------
  |  Branch (1757:5): [True: 72, False: 1.69M]
  ------------------
 1758|    987|    case TEXTURE2DRECT:
  ------------------
  |  Branch (1758:5): [True: 75, False: 1.69M]
  ------------------
 1759|  1.04k|    case TEXTURE1DARRAY:
  ------------------
  |  Branch (1759:5): [True: 60, False: 1.69M]
  ------------------
 1760|  1.04k|        if (parseContext.spvVersion.vulkan > 0)
  ------------------
  |  Branch (1760:13): [True: 1.03k, False: 12]
  ------------------
 1761|  1.03k|            return keyword;
 1762|     12|        else
 1763|     12|            return identifierOrType();
 1764|       |
 1765|      1|    case SUBPASSINPUT:
  ------------------
  |  Branch (1765:5): [True: 1, False: 1.69M]
  ------------------
 1766|      1|    case SUBPASSINPUTMS:
  ------------------
  |  Branch (1766:5): [True: 0, False: 1.69M]
  ------------------
 1767|      2|    case ISUBPASSINPUT:
  ------------------
  |  Branch (1767:5): [True: 1, False: 1.69M]
  ------------------
 1768|      2|    case ISUBPASSINPUTMS:
  ------------------
  |  Branch (1768:5): [True: 0, False: 1.69M]
  ------------------
 1769|      3|    case USUBPASSINPUT:
  ------------------
  |  Branch (1769:5): [True: 1, False: 1.69M]
  ------------------
 1770|      3|    case USUBPASSINPUTMS:
  ------------------
  |  Branch (1770:5): [True: 0, False: 1.69M]
  ------------------
 1771|      5|    case ATTACHMENTEXT:
  ------------------
  |  Branch (1771:5): [True: 2, False: 1.69M]
  ------------------
 1772|      7|    case IATTACHMENTEXT:
  ------------------
  |  Branch (1772:5): [True: 2, False: 1.69M]
  ------------------
 1773|      9|    case UATTACHMENTEXT:
  ------------------
  |  Branch (1773:5): [True: 2, False: 1.69M]
  ------------------
 1774|      9|        if (parseContext.spvVersion.vulkan > 0)
  ------------------
  |  Branch (1774:13): [True: 9, False: 0]
  ------------------
 1775|      9|            return keyword;
 1776|      0|        else
 1777|      0|            return identifierOrType();
 1778|       |
 1779|  2.66k|    case F16SAMPLER1D:
  ------------------
  |  Branch (1779:5): [True: 2.66k, False: 1.69M]
  ------------------
 1780|  8.85k|    case F16SAMPLER2D:
  ------------------
  |  Branch (1780:5): [True: 6.19k, False: 1.69M]
  ------------------
 1781|  11.9k|    case F16SAMPLER3D:
  ------------------
  |  Branch (1781:5): [True: 3.13k, False: 1.69M]
  ------------------
 1782|  14.8k|    case F16SAMPLER2DRECT:
  ------------------
  |  Branch (1782:5): [True: 2.82k, False: 1.69M]
  ------------------
 1783|  16.7k|    case F16SAMPLERCUBE:
  ------------------
  |  Branch (1783:5): [True: 1.96k, False: 1.69M]
  ------------------
 1784|  18.1k|    case F16SAMPLER1DARRAY:
  ------------------
  |  Branch (1784:5): [True: 1.38k, False: 1.69M]
  ------------------
 1785|  23.0k|    case F16SAMPLER2DARRAY:
  ------------------
  |  Branch (1785:5): [True: 4.90k, False: 1.69M]
  ------------------
 1786|  25.0k|    case F16SAMPLERCUBEARRAY:
  ------------------
  |  Branch (1786:5): [True: 1.96k, False: 1.69M]
  ------------------
 1787|  25.1k|    case F16SAMPLERBUFFER:
  ------------------
  |  Branch (1787:5): [True: 81, False: 1.69M]
  ------------------
 1788|  25.2k|    case F16SAMPLER2DMS:
  ------------------
  |  Branch (1788:5): [True: 162, False: 1.69M]
  ------------------
 1789|  25.4k|    case F16SAMPLER2DMSARRAY:
  ------------------
  |  Branch (1789:5): [True: 162, False: 1.69M]
  ------------------
 1790|  27.0k|    case F16SAMPLER1DSHADOW:
  ------------------
  |  Branch (1790:5): [True: 1.64k, False: 1.69M]
  ------------------
 1791|  29.9k|    case F16SAMPLER2DSHADOW:
  ------------------
  |  Branch (1791:5): [True: 2.86k, False: 1.69M]
  ------------------
 1792|  31.1k|    case F16SAMPLER1DARRAYSHADOW:
  ------------------
  |  Branch (1792:5): [True: 1.16k, False: 1.69M]
  ------------------
 1793|  32.6k|    case F16SAMPLER2DARRAYSHADOW:
  ------------------
  |  Branch (1793:5): [True: 1.54k, False: 1.69M]
  ------------------
 1794|  34.1k|    case F16SAMPLER2DRECTSHADOW:
  ------------------
  |  Branch (1794:5): [True: 1.52k, False: 1.69M]
  ------------------
 1795|  35.3k|    case F16SAMPLERCUBESHADOW:
  ------------------
  |  Branch (1795:5): [True: 1.16k, False: 1.69M]
  ------------------
 1796|  36.2k|    case F16SAMPLERCUBEARRAYSHADOW:
  ------------------
  |  Branch (1796:5): [True: 852, False: 1.69M]
  ------------------
 1797|       |
 1798|  36.8k|    case F16IMAGE1D:
  ------------------
  |  Branch (1798:5): [True: 621, False: 1.69M]
  ------------------
 1799|  37.5k|    case F16IMAGE2D:
  ------------------
  |  Branch (1799:5): [True: 675, False: 1.69M]
  ------------------
 1800|  38.1k|    case F16IMAGE3D:
  ------------------
  |  Branch (1800:5): [True: 675, False: 1.69M]
  ------------------
 1801|  38.7k|    case F16IMAGE2DRECT:
  ------------------
  |  Branch (1801:5): [True: 594, False: 1.69M]
  ------------------
 1802|  39.4k|    case F16IMAGECUBE:
  ------------------
  |  Branch (1802:5): [True: 675, False: 1.69M]
  ------------------
 1803|  40.0k|    case F16IMAGE1DARRAY:
  ------------------
  |  Branch (1803:5): [True: 621, False: 1.69M]
  ------------------
 1804|  40.7k|    case F16IMAGE2DARRAY:
  ------------------
  |  Branch (1804:5): [True: 675, False: 1.69M]
  ------------------
 1805|  41.4k|    case F16IMAGECUBEARRAY:
  ------------------
  |  Branch (1805:5): [True: 675, False: 1.69M]
  ------------------
 1806|  41.9k|    case F16IMAGEBUFFER:
  ------------------
  |  Branch (1806:5): [True: 567, False: 1.69M]
  ------------------
 1807|  42.6k|    case F16IMAGE2DMS:
  ------------------
  |  Branch (1807:5): [True: 621, False: 1.69M]
  ------------------
 1808|  43.2k|    case F16IMAGE2DMSARRAY:
  ------------------
  |  Branch (1808:5): [True: 621, False: 1.69M]
  ------------------
 1809|       |
 1810|  43.3k|    case F16TEXTURE1D:
  ------------------
  |  Branch (1810:5): [True: 90, False: 1.69M]
  ------------------
 1811|  43.4k|    case F16TEXTURE2D:
  ------------------
  |  Branch (1811:5): [True: 150, False: 1.69M]
  ------------------
 1812|  43.6k|    case F16TEXTURE3D:
  ------------------
  |  Branch (1812:5): [True: 150, False: 1.69M]
  ------------------
 1813|  43.7k|    case F16TEXTURE2DRECT:
  ------------------
  |  Branch (1813:5): [True: 135, False: 1.69M]
  ------------------
 1814|  43.7k|    case F16TEXTURECUBE:
  ------------------
  |  Branch (1814:5): [True: 30, False: 1.69M]
  ------------------
 1815|  43.8k|    case F16TEXTURE1DARRAY:
  ------------------
  |  Branch (1815:5): [True: 90, False: 1.69M]
  ------------------
 1816|  44.0k|    case F16TEXTURE2DARRAY:
  ------------------
  |  Branch (1816:5): [True: 150, False: 1.69M]
  ------------------
 1817|  44.0k|    case F16TEXTURECUBEARRAY:
  ------------------
  |  Branch (1817:5): [True: 30, False: 1.69M]
  ------------------
 1818|  44.1k|    case F16TEXTUREBUFFER:
  ------------------
  |  Branch (1818:5): [True: 45, False: 1.69M]
  ------------------
 1819|  44.1k|    case F16TEXTURE2DMS:
  ------------------
  |  Branch (1819:5): [True: 90, False: 1.69M]
  ------------------
 1820|  44.2k|    case F16TEXTURE2DMSARRAY:
  ------------------
  |  Branch (1820:5): [True: 90, False: 1.69M]
  ------------------
 1821|       |
 1822|  44.2k|    case F16SUBPASSINPUT:
  ------------------
  |  Branch (1822:5): [True: 0, False: 1.69M]
  ------------------
 1823|  44.2k|    case F16SUBPASSINPUTMS:
  ------------------
  |  Branch (1823:5): [True: 0, False: 1.69M]
  ------------------
 1824|  44.2k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1824:13): [True: 44.2k, False: 0]
  ------------------
 1825|  44.2k|            parseContext.extensionTurnedOn(E_GL_AMD_gpu_shader_half_float_fetch)) {
  ------------------
  |  Branch (1825:13): [True: 0, False: 0]
  ------------------
 1826|  44.2k|            afterType = true;
 1827|  44.2k|            return keyword;
 1828|  44.2k|        }
 1829|      0|        return identifierOrType();
 1830|       |
 1831|      0|    case EXPLICITINTERPAMD:
  ------------------
  |  Branch (1831:5): [True: 0, False: 1.69M]
  ------------------
 1832|      0|        if (parseContext.extensionTurnedOn(E_GL_AMD_shader_explicit_vertex_parameter))
  ------------------
  |  Branch (1832:13): [True: 0, False: 0]
  ------------------
 1833|      0|            return keyword;
 1834|      0|        return identifierOrType();
 1835|       |
 1836|      0|    case PERVERTEXNV:
  ------------------
  |  Branch (1836:5): [True: 0, False: 1.69M]
  ------------------
 1837|      0|        if ((!parseContext.isEsProfile() && parseContext.version >= 450) ||
  ------------------
  |  Branch (1837:14): [True: 0, False: 0]
  |  Branch (1837:45): [True: 0, False: 0]
  ------------------
 1838|      0|            parseContext.extensionTurnedOn(E_GL_NV_fragment_shader_barycentric))
  ------------------
  |  Branch (1838:13): [True: 0, False: 0]
  ------------------
 1839|      0|            return keyword;
 1840|      0|        return identifierOrType();
 1841|       |
 1842|      0|    case PERVERTEXEXT:
  ------------------
  |  Branch (1842:5): [True: 0, False: 1.69M]
  ------------------
 1843|      0|        if ((!parseContext.isEsProfile() && parseContext.version >= 450) ||
  ------------------
  |  Branch (1843:14): [True: 0, False: 0]
  |  Branch (1843:45): [True: 0, False: 0]
  ------------------
 1844|      0|            parseContext.extensionTurnedOn(E_GL_EXT_fragment_shader_barycentric))
  ------------------
  |  Branch (1844:13): [True: 0, False: 0]
  ------------------
 1845|      0|            return keyword;
 1846|      0|        return identifierOrType();
 1847|       |
 1848|      0|    case PRECISE:
  ------------------
  |  Branch (1848:5): [True: 0, False: 1.69M]
  ------------------
 1849|      0|        if ((parseContext.isEsProfile() &&
  ------------------
  |  Branch (1849:14): [True: 0, False: 0]
  ------------------
 1850|      0|             (parseContext.version >= 320 || parseContext.extensionsTurnedOn(Num_AEP_gpu_shader5, AEP_gpu_shader5))) ||
  ------------------
  |  Branch (1850:15): [True: 0, False: 0]
  |  Branch (1850:46): [True: 0, False: 0]
  ------------------
 1851|      0|            (!parseContext.isEsProfile() &&
  ------------------
  |  Branch (1851:14): [True: 0, False: 0]
  ------------------
 1852|      0|             (parseContext.version >= 400 
  ------------------
  |  Branch (1852:15): [True: 0, False: 0]
  ------------------
 1853|      0|             || parseContext.extensionsTurnedOn(Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5))))
  ------------------
  |  Branch (1853:17): [True: 0, False: 0]
  ------------------
 1854|      0|            return keyword;
 1855|      0|        if (parseContext.isEsProfile() && parseContext.version == 310) {
  ------------------
  |  Branch (1855:13): [True: 0, False: 0]
  |  Branch (1855:43): [True: 0, False: 0]
  ------------------
 1856|      0|            reservedWord();
 1857|      0|            return keyword;
 1858|      0|        }
 1859|      0|        return identifierOrType();
 1860|       |
 1861|     27|    case PERPRIMITIVENV:
  ------------------
  |  Branch (1861:5): [True: 27, False: 1.69M]
  ------------------
 1862|    162|    case PERVIEWNV:
  ------------------
  |  Branch (1862:5): [True: 135, False: 1.69M]
  ------------------
 1863|    162|    case PERTASKNV:
  ------------------
  |  Branch (1863:5): [True: 0, False: 1.69M]
  ------------------
 1864|    162|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1864:13): [True: 162, False: 0]
  ------------------
 1865|      0|            parseContext.extensionTurnedOn(E_GL_NV_mesh_shader))
  ------------------
  |  Branch (1865:13): [True: 0, False: 0]
  ------------------
 1866|    162|            return keyword;
 1867|      0|        return identifierOrType();
 1868|       |
 1869|     27|    case PERPRIMITIVEEXT:
  ------------------
  |  Branch (1869:5): [True: 27, False: 1.69M]
  ------------------
 1870|     27|    case TASKPAYLOADWORKGROUPEXT:
  ------------------
  |  Branch (1870:5): [True: 0, False: 1.69M]
  ------------------
 1871|     27|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1871:13): [True: 27, False: 0]
  ------------------
 1872|      0|            parseContext.extensionTurnedOn(E_GL_EXT_mesh_shader))
  ------------------
  |  Branch (1872:13): [True: 0, False: 0]
  ------------------
 1873|     27|            return keyword;
 1874|      0|        return identifierOrType();
 1875|       |
 1876|    567|    case FCOOPMATNV:
  ------------------
  |  Branch (1876:5): [True: 567, False: 1.69M]
  ------------------
 1877|    567|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1877:13): [True: 567, False: 0]
  ------------------
 1878|    567|            parseContext.extensionTurnedOn(E_GL_NV_cooperative_matrix)) {
  ------------------
  |  Branch (1878:13): [True: 0, False: 0]
  ------------------
 1879|    567|            afterType = true;
 1880|    567|            return keyword;
 1881|    567|        }
 1882|      0|        return identifierOrType();
 1883|       |
 1884|    756|    case UCOOPMATNV:
  ------------------
  |  Branch (1884:5): [True: 756, False: 1.69M]
  ------------------
 1885|  1.51k|    case ICOOPMATNV:
  ------------------
  |  Branch (1885:5): [True: 756, False: 1.69M]
  ------------------
 1886|  1.51k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1886:13): [True: 1.51k, False: 0]
  ------------------
 1887|  1.51k|            parseContext.extensionTurnedOn(E_GL_NV_integer_cooperative_matrix)) {
  ------------------
  |  Branch (1887:13): [True: 0, False: 0]
  ------------------
 1888|  1.51k|            afterType = true;
 1889|  1.51k|            return keyword;
 1890|  1.51k|        }
 1891|      0|        return identifierOrType();
 1892|  1.64k|    case TENSORARM:
  ------------------
  |  Branch (1892:5): [True: 1.64k, False: 1.69M]
  ------------------
 1893|  1.64k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1893:13): [True: 1.64k, False: 0]
  ------------------
 1894|  1.64k|            parseContext.extensionTurnedOn(E_GL_ARM_tensors)) {
  ------------------
  |  Branch (1894:13): [True: 0, False: 0]
  ------------------
 1895|  1.64k|            afterType = true;
 1896|  1.64k|            return keyword;
 1897|  1.64k|        }
 1898|      0|        return identifierOrType();
 1899|       |
 1900|  5.72k|    case COOPMAT:
  ------------------
  |  Branch (1900:5): [True: 5.72k, False: 1.69M]
  ------------------
 1901|  5.72k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1901:13): [True: 5.72k, False: 0]
  ------------------
 1902|  5.72k|            parseContext.extensionTurnedOn(E_GL_KHR_cooperative_matrix)) {
  ------------------
  |  Branch (1902:13): [True: 0, False: 0]
  ------------------
 1903|  5.72k|            afterType = true;
 1904|  5.72k|            return keyword;
 1905|  5.72k|        }
 1906|      0|        return identifierOrType();
 1907|       |
 1908|  21.4k|    case COOPVECNV:
  ------------------
  |  Branch (1908:5): [True: 21.4k, False: 1.67M]
  ------------------
 1909|  21.4k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1909:13): [True: 21.4k, False: 0]
  ------------------
 1910|  21.4k|            parseContext.extensionTurnedOn(E_GL_NV_cooperative_vector)) {
  ------------------
  |  Branch (1910:13): [True: 0, False: 0]
  ------------------
 1911|  21.4k|            afterType = true;
 1912|  21.4k|            return keyword;
 1913|  21.4k|        }
 1914|      0|        return identifierOrType();
 1915|       |
 1916|  16.2k|    case VECTOR:
  ------------------
  |  Branch (1916:5): [True: 16.2k, False: 1.68M]
  ------------------
 1917|  16.2k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1917:13): [True: 16.2k, False: 0]
  ------------------
 1918|  16.2k|            parseContext.extensionTurnedOn(E_GL_EXT_long_vector)) {
  ------------------
  |  Branch (1918:13): [True: 0, False: 0]
  ------------------
 1919|  16.2k|            afterType = true;
 1920|  16.2k|            return keyword;
 1921|  16.2k|        }
 1922|      0|        return identifierOrType();
 1923|       |
 1924|      0|    case DEMOTE:
  ------------------
  |  Branch (1924:5): [True: 0, False: 1.69M]
  ------------------
 1925|      0|        if (parseContext.extensionTurnedOn(E_GL_EXT_demote_to_helper_invocation))
  ------------------
  |  Branch (1925:13): [True: 0, False: 0]
  ------------------
 1926|      0|            return keyword;
 1927|      0|        else
 1928|      0|            return identifierOrType();
 1929|       |
 1930|      0|    case SPIRV_INSTRUCTION:
  ------------------
  |  Branch (1930:5): [True: 0, False: 1.69M]
  ------------------
 1931|      0|    case SPIRV_EXECUTION_MODE:
  ------------------
  |  Branch (1931:5): [True: 0, False: 1.69M]
  ------------------
 1932|      0|    case SPIRV_EXECUTION_MODE_ID:
  ------------------
  |  Branch (1932:5): [True: 0, False: 1.69M]
  ------------------
 1933|      0|    case SPIRV_DECORATE:
  ------------------
  |  Branch (1933:5): [True: 0, False: 1.69M]
  ------------------
 1934|      0|    case SPIRV_DECORATE_ID:
  ------------------
  |  Branch (1934:5): [True: 0, False: 1.69M]
  ------------------
 1935|      0|    case SPIRV_DECORATE_STRING:
  ------------------
  |  Branch (1935:5): [True: 0, False: 1.69M]
  ------------------
 1936|      0|    case SPIRV_TYPE:
  ------------------
  |  Branch (1936:5): [True: 0, False: 1.69M]
  ------------------
 1937|      0|    case SPIRV_STORAGE_CLASS:
  ------------------
  |  Branch (1937:5): [True: 0, False: 1.69M]
  ------------------
 1938|      0|    case SPIRV_BY_REFERENCE:
  ------------------
  |  Branch (1938:5): [True: 0, False: 1.69M]
  ------------------
 1939|      0|    case SPIRV_LITERAL:
  ------------------
  |  Branch (1939:5): [True: 0, False: 1.69M]
  ------------------
 1940|      0|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1940:13): [True: 0, False: 0]
  ------------------
 1941|      0|            parseContext.extensionTurnedOn(E_GL_EXT_spirv_intrinsics))
  ------------------
  |  Branch (1941:13): [True: 0, False: 0]
  ------------------
 1942|      0|            return keyword;
 1943|      0|        return identifierOrType();
 1944|       |
 1945|      0|    case HITOBJECTNV:
  ------------------
  |  Branch (1945:5): [True: 0, False: 1.69M]
  ------------------
 1946|      0|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1946:13): [True: 0, False: 0]
  ------------------
 1947|      0|            (!parseContext.isEsProfile() && parseContext.version >= 460
  ------------------
  |  Branch (1947:14): [True: 0, False: 0]
  |  Branch (1947:45): [True: 0, False: 0]
  ------------------
 1948|      0|                 && parseContext.extensionTurnedOn(E_GL_NV_shader_invocation_reorder)))
  ------------------
  |  Branch (1948:21): [True: 0, False: 0]
  ------------------
 1949|      0|            return keyword;
 1950|      0|        return identifierOrType();
 1951|       |
 1952|      0|    case HITOBJECTEXT:
  ------------------
  |  Branch (1952:5): [True: 0, False: 1.69M]
  ------------------
 1953|      0|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1953:13): [True: 0, False: 0]
  ------------------
 1954|      0|            (!parseContext.isEsProfile() && parseContext.version >= 460
  ------------------
  |  Branch (1954:14): [True: 0, False: 0]
  |  Branch (1954:45): [True: 0, False: 0]
  ------------------
 1955|      0|                 && parseContext.extensionTurnedOn(E_GL_EXT_shader_invocation_reorder)))
  ------------------
  |  Branch (1955:21): [True: 0, False: 0]
  ------------------
 1956|      0|            return keyword;
 1957|      0|        return identifierOrType();
 1958|       |
 1959|      0|    case HITOBJECTATTRNV:
  ------------------
  |  Branch (1959:5): [True: 0, False: 1.69M]
  ------------------
 1960|      0|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1960:13): [True: 0, False: 0]
  ------------------
 1961|      0|            (!parseContext.isEsProfile() && parseContext.version >= 460
  ------------------
  |  Branch (1961:14): [True: 0, False: 0]
  |  Branch (1961:45): [True: 0, False: 0]
  ------------------
 1962|      0|                 && parseContext.extensionTurnedOn(E_GL_NV_shader_invocation_reorder)))
  ------------------
  |  Branch (1962:21): [True: 0, False: 0]
  ------------------
 1963|      0|            return keyword;
 1964|      0|        return identifierOrType();
 1965|       |
 1966|      0|    case HITOBJECTATTREXT:
  ------------------
  |  Branch (1966:5): [True: 0, False: 1.69M]
  ------------------
 1967|      0|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1967:13): [True: 0, False: 0]
  ------------------
 1968|      0|            (!parseContext.isEsProfile() && parseContext.version >= 460
  ------------------
  |  Branch (1968:14): [True: 0, False: 0]
  |  Branch (1968:45): [True: 0, False: 0]
  ------------------
 1969|      0|                 && parseContext.extensionTurnedOn(E_GL_EXT_shader_invocation_reorder)))
  ------------------
  |  Branch (1969:21): [True: 0, False: 0]
  ------------------
 1970|      0|            return keyword;
 1971|      0|        return identifierOrType();
 1972|       |
 1973|    351|    case FUNCTION:
  ------------------
  |  Branch (1973:5): [True: 351, False: 1.69M]
  ------------------
 1974|  1.97k|    case TENSORLAYOUTNV:
  ------------------
  |  Branch (1974:5): [True: 1.62k, False: 1.69M]
  ------------------
 1975|  2.97k|    case TENSORVIEWNV:
  ------------------
  |  Branch (1975:5): [True: 999, False: 1.69M]
  ------------------
 1976|  2.97k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1976:13): [True: 2.97k, False: 0]
  ------------------
 1977|  2.97k|            parseContext.extensionTurnedOn(E_GL_NV_cooperative_matrix2)) {
  ------------------
  |  Branch (1977:13): [True: 0, False: 0]
  ------------------
 1978|  2.97k|            afterType = true;
 1979|  2.97k|            return keyword;
 1980|  2.97k|        }
 1981|      0|        return identifierOrType();
 1982|       |
 1983|      0|    case RESOURCEHEAP:
  ------------------
  |  Branch (1983:5): [True: 0, False: 1.69M]
  ------------------
 1984|      0|    case SAMPLERHEAP:
  ------------------
  |  Branch (1984:5): [True: 0, False: 1.69M]
  ------------------
 1985|      0|        if (parseContext.extensionTurnedOn(E_GL_EXT_structured_descriptor_heap) &&
  ------------------
  |  Branch (1985:13): [True: 0, False: 0]
  ------------------
 1986|      0|            parseContext.extensionTurnedOn(E_GL_EXT_descriptor_heap))
  ------------------
  |  Branch (1986:13): [True: 0, False: 0]
  ------------------
 1987|      0|            return keyword;
 1988|      0|        return identifierOrType();
 1989|       |
 1990|      0|    default:
  ------------------
  |  Branch (1990:5): [True: 0, False: 1.69M]
  ------------------
 1991|      0|        parseContext.infoSink.info.message(EPrefixInternalError, "Unknown glslang keyword", loc);
 1992|      0|        return 0;
 1993|  1.69M|    }
 1994|  1.69M|}
_ZN7glslang12TScanContext16identifierOrTypeEv:
 1997|   592k|{
 1998|   592k|    parserToken->sType.lex.string = NewPoolTString(tokenText);
 1999|   592k|    if (field)
  ------------------
  |  Branch (1999:9): [True: 342, False: 592k]
  ------------------
 2000|    342|        return IDENTIFIER;
 2001|       |
 2002|       |    // If we see an identifier right after a type, this might be a declarator.
 2003|       |    // But not in template parameters (inside angle brackets), array expressions (inside square brackets),
 2004|       |    // or function parameters (inside parentheses)
 2005|   592k|    if (afterType && angleBracketDepth == 0 && squareBracketDepth == 0 && parenDepth == 0) {
  ------------------
  |  Branch (2005:9): [True: 590k, False: 1.51k]
  |  Branch (2005:22): [True: 590k, False: 192]
  |  Branch (2005:48): [True: 589k, False: 704]
  |  Branch (2005:75): [True: 374k, False: 215k]
  ------------------
 2006|   374k|        afterDeclarator = true;
 2007|   374k|        afterType = false;
 2008|   374k|        return IDENTIFIER;
 2009|   374k|    }
 2010|       |
 2011|   217k|    parserToken->sType.lex.symbol = parseContext.symbolTable.find(*parserToken->sType.lex.string);
 2012|   217k|    if ((afterType == false && afterStruct == false) && parserToken->sType.lex.symbol != nullptr) {
  ------------------
  |  Branch (2012:10): [True: 1.51k, False: 215k]
  |  Branch (2012:32): [True: 1.40k, False: 111]
  |  Branch (2012:57): [True: 503, False: 899]
  ------------------
 2013|    503|        if (const TVariable* variable = parserToken->sType.lex.symbol->getAsVariable()) {
  ------------------
  |  Branch (2013:30): [True: 503, False: 0]
  ------------------
 2014|    503|            if (variable->isUserType() &&
  ------------------
  |  Branch (2014:17): [True: 381, False: 122]
  ------------------
 2015|       |                // treat redeclaration of forward-declared buffer/uniform reference as an identifier
 2016|    381|                !(variable->getType().isReference() && afterBuffer)) {
  ------------------
  |  Branch (2016:19): [True: 0, False: 381]
  |  Branch (2016:56): [True: 0, False: 0]
  ------------------
 2017|       |
 2018|       |                // If we're in a declarator list (like "float a, B;"), treat struct names as IDENTIFIER
 2019|       |                // to fix GitHub issue #3931
 2020|    381|                if (inDeclaratorList) {
  ------------------
  |  Branch (2020:21): [True: 0, False: 381]
  ------------------
 2021|      0|                    return IDENTIFIER;
 2022|      0|                }
 2023|       |                
 2024|    381|                afterType = true;
 2025|    381|                return TYPE_NAME;
 2026|    381|            }
 2027|    503|        }
 2028|    503|    }
 2029|       |
 2030|   217k|    return IDENTIFIER;
 2031|   217k|}
_ZN7glslang12TScanContext12reservedWordEv:
 2037|    304|{
 2038|    304|    if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (2038:9): [True: 0, False: 304]
  ------------------
 2039|      0|        parseContext.error(loc, "Reserved word.", tokenText, "", "");
 2040|       |
 2041|    304|    return 0;
 2042|    304|}
_ZN7glslang12TScanContext20es30ReservedFromGLSLEi:
 2061|  79.2k|{
 2062|  79.2k|    if (parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (2062:9): [True: 79.2k, False: 0]
  ------------------
 2063|  79.2k|        return keyword;
 2064|       |
 2065|      0|    if ((parseContext.isEsProfile() && parseContext.version < 300) ||
  ------------------
  |  Branch (2065:10): [True: 0, False: 0]
  |  Branch (2065:40): [True: 0, False: 0]
  ------------------
 2066|      0|        (!parseContext.isEsProfile() && parseContext.version < version)) {
  ------------------
  |  Branch (2066:10): [True: 0, False: 0]
  |  Branch (2066:41): [True: 0, False: 0]
  ------------------
 2067|      0|            if (parseContext.isForwardCompatible())
  ------------------
  |  Branch (2067:17): [True: 0, False: 0]
  ------------------
 2068|      0|                parseContext.warn(loc, "future reserved word in ES 300 and keyword in GLSL", tokenText, "");
 2069|       |
 2070|      0|            return identifierOrType();
 2071|      0|    } else if (parseContext.isEsProfile() && parseContext.version >= 300)
  ------------------
  |  Branch (2071:16): [True: 0, False: 0]
  |  Branch (2071:46): [True: 0, False: 0]
  ------------------
 2072|      0|        reservedWord();
 2073|       |
 2074|      0|    return keyword;
 2075|      0|}
_ZN7glslang12TScanContext18nonreservedKeywordEii:
 2080|   181k|{
 2081|   181k|    if ((parseContext.isEsProfile() && parseContext.version < esVersion) ||
  ------------------
  |  Branch (2081:10): [True: 289, False: 180k]
  |  Branch (2081:40): [True: 0, False: 289]
  ------------------
 2082|   181k|        (!parseContext.isEsProfile() && parseContext.version < nonEsVersion)) {
  ------------------
  |  Branch (2082:10): [True: 180k, False: 289]
  |  Branch (2082:41): [True: 0, False: 180k]
  ------------------
 2083|      0|        if (parseContext.isForwardCompatible())
  ------------------
  |  Branch (2083:13): [True: 0, False: 0]
  ------------------
 2084|      0|            parseContext.warn(loc, "using future keyword", tokenText, "");
 2085|       |
 2086|      0|        return identifierOrType();
 2087|      0|    }
 2088|       |
 2089|   181k|    return keyword;
 2090|   181k|}
_ZN7glslang12TScanContext16precisionKeywordEv:
 2093|  55.8k|{
 2094|  55.8k|    if (parseContext.isEsProfile() || parseContext.version >= 130)
  ------------------
  |  Branch (2094:9): [True: 610, False: 55.2k]
  |  Branch (2094:39): [True: 55.2k, False: 0]
  ------------------
 2095|  55.8k|        return keyword;
 2096|       |
 2097|      0|    if (parseContext.isForwardCompatible())
  ------------------
  |  Branch (2097:9): [True: 0, False: 0]
  ------------------
 2098|      0|        parseContext.warn(loc, "using ES precision qualifier keyword", tokenText, "");
 2099|       |
 2100|      0|    return identifierOrType();
 2101|  55.8k|}
_ZN7glslang12TScanContext6matNxMEv:
 2104|  1.08k|{
 2105|  1.08k|    afterType = true;
 2106|       |
 2107|  1.08k|    if (parseContext.version > 110)
  ------------------
  |  Branch (2107:9): [True: 1.08k, False: 0]
  ------------------
 2108|  1.08k|        return keyword;
 2109|       |
 2110|      0|    if (parseContext.isForwardCompatible())
  ------------------
  |  Branch (2110:9): [True: 0, False: 0]
  ------------------
 2111|      0|        parseContext.warn(loc, "using future non-square matrix type keyword", tokenText, "");
 2112|       |
 2113|      0|    return identifierOrType();
 2114|  1.08k|}
_ZN7glslang12TScanContext4dMatEv:
 2117|  2.33k|{
 2118|  2.33k|    afterType = true;
 2119|       |
 2120|  2.33k|    if (parseContext.isEsProfile() && parseContext.version >= 300) {
  ------------------
  |  Branch (2120:9): [True: 0, False: 2.33k]
  |  Branch (2120:39): [True: 0, False: 0]
  ------------------
 2121|      0|        reservedWord();
 2122|       |
 2123|      0|        return keyword;
 2124|      0|    }
 2125|       |
 2126|  2.33k|    if (!parseContext.isEsProfile() && (parseContext.version >= 400 ||
  ------------------
  |  Branch (2126:9): [True: 2.33k, False: 0]
  |  Branch (2126:41): [True: 2.27k, False: 63]
  ------------------
 2127|     63|        parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (2127:9): [True: 63, False: 0]
  ------------------
 2128|      0|        (parseContext.version >= 150 && parseContext.extensionTurnedOn(E_GL_ARB_gpu_shader_fp64)) ||
  ------------------
  |  Branch (2128:10): [True: 0, False: 0]
  |  Branch (2128:41): [True: 0, False: 0]
  ------------------
 2129|      0|        (parseContext.version >= 150 && parseContext.extensionTurnedOn(E_GL_ARB_vertex_attrib_64bit)
  ------------------
  |  Branch (2129:10): [True: 0, False: 0]
  |  Branch (2129:41): [True: 0, False: 0]
  ------------------
 2130|      0|         && parseContext.language == EShLangVertex)))
  ------------------
  |  Branch (2130:13): [True: 0, False: 0]
  ------------------
 2131|  2.33k|        return keyword;
 2132|       |
 2133|      0|    if (parseContext.isForwardCompatible())
  ------------------
  |  Branch (2133:9): [True: 0, False: 0]
  ------------------
 2134|      0|        parseContext.warn(loc, "using future type keyword", tokenText, "");
 2135|       |
 2136|      0|    return identifierOrType();
 2137|  2.33k|}
_ZN7glslang12TScanContext20firstGenerationImageEb:
 2140|  25.5k|{
 2141|  25.5k|    if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (2141:9): [True: 25.5k, False: 0]
  ------------------
 2142|      0|        (!parseContext.isEsProfile() && (parseContext.version >= 420 ||
  ------------------
  |  Branch (2142:10): [True: 0, False: 0]
  |  Branch (2142:42): [True: 0, False: 0]
  ------------------
 2143|      0|         parseContext.extensionTurnedOn(E_GL_ARB_shader_image_load_store))) ||
  ------------------
  |  Branch (2143:10): [True: 0, False: 0]
  ------------------
 2144|      0|        (inEs310 && parseContext.isEsProfile() && parseContext.version >= 310))
  ------------------
  |  Branch (2144:10): [True: 0, False: 0]
  |  Branch (2144:21): [True: 0, False: 0]
  |  Branch (2144:51): [True: 0, False: 0]
  ------------------
 2145|  25.5k|        return keyword;
 2146|       |
 2147|      0|    if ((parseContext.isEsProfile() && parseContext.version >= 300) ||
  ------------------
  |  Branch (2147:10): [True: 0, False: 0]
  |  Branch (2147:40): [True: 0, False: 0]
  ------------------
 2148|      0|        (!parseContext.isEsProfile() && parseContext.version >= 130)) {
  ------------------
  |  Branch (2148:10): [True: 0, False: 0]
  |  Branch (2148:41): [True: 0, False: 0]
  ------------------
 2149|      0|        reservedWord();
 2150|       |
 2151|      0|        return keyword;
 2152|      0|    }
 2153|       |
 2154|      0|    if (parseContext.isForwardCompatible())
  ------------------
  |  Branch (2154:9): [True: 0, False: 0]
  ------------------
 2155|      0|        parseContext.warn(loc, "using future type keyword", tokenText, "");
 2156|       |
 2157|      0|    return identifierOrType();
 2158|      0|}
_ZN7glslang12TScanContext21secondGenerationImageEv:
 2161|  9.58k|{
 2162|  9.58k|    if (parseContext.isEsProfile() && parseContext.version >= 310) {
  ------------------
  |  Branch (2162:9): [True: 0, False: 9.58k]
  |  Branch (2162:39): [True: 0, False: 0]
  ------------------
 2163|      0|        reservedWord();
 2164|      0|        return keyword;
 2165|      0|    }
 2166|       |
 2167|  9.58k|    if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (2167:9): [True: 9.58k, False: 0]
  ------------------
 2168|      0|        (!parseContext.isEsProfile() &&
  ------------------
  |  Branch (2168:10): [True: 0, False: 0]
  ------------------
 2169|      0|         (parseContext.version >= 420 || parseContext.extensionTurnedOn(E_GL_ARB_shader_image_load_store))))
  ------------------
  |  Branch (2169:11): [True: 0, False: 0]
  |  Branch (2169:42): [True: 0, False: 0]
  ------------------
 2170|  9.58k|        return keyword;
 2171|       |
 2172|      0|    if (parseContext.isForwardCompatible())
  ------------------
  |  Branch (2172:9): [True: 0, False: 0]
  ------------------
 2173|      0|        parseContext.warn(loc, "using future type keyword", tokenText, "");
 2174|       |
 2175|      0|    return identifierOrType();
 2176|  9.58k|}
_ZN7glslang12TParserTokenC2ER7YYSTYPE:
  281|  4.15M|    explicit TParserToken(YYSTYPE& b) : sType(b) { }
Scan.cpp:_ZNK12_GLOBAL__N_18str_hashclEPKc:
  312|  4.58M|    {
  313|       |        // djb2
  314|  4.58M|        unsigned long hash = 5381;
  315|  4.58M|        int c;
  316|       |
  317|  40.3M|        while ((c = *str++) != 0)
  ------------------
  |  Branch (317:16): [True: 35.7M, False: 4.58M]
  ------------------
  318|  35.7M|            hash = ((hash << 5) + hash) + c;
  319|       |
  320|  4.58M|        return hash;
  321|  4.58M|    }
Scan.cpp:_ZNK12_GLOBAL__N_16str_eqclEPKcS2_:
  304|  1.69M|    {
  305|  1.69M|        return strcmp(lhs, rhs) == 0;
  306|  1.69M|    }

ShInitialize:
 1334|    217|{
 1335|    217|#ifndef DISABLE_THREAD_SUPPORT
 1336|    217|    const std::lock_guard<std::mutex> lock(init_lock);
 1337|    217|#endif
 1338|    217|    ++NumberOfClients;
 1339|       |
 1340|    217|    if (PerProcessGPA == nullptr)
  ------------------
  |  Branch (1340:9): [True: 217, False: 0]
  ------------------
 1341|    217|        PerProcessGPA = new TPoolAllocator();
 1342|       |
 1343|    217|    return 1;
 1344|    217|}
ShFinalize:
 1391|    217|{
 1392|    217|#ifndef DISABLE_THREAD_SUPPORT
 1393|    217|    const std::lock_guard<std::mutex> lock(init_lock);
 1394|    217|#endif
 1395|    217|    --NumberOfClients;
 1396|    217|    assert(NumberOfClients >= 0);
 1397|    217|    if (NumberOfClients > 0)
  ------------------
  |  Branch (1397:9): [True: 0, False: 217]
  ------------------
 1398|      0|        return 1;
 1399|       |
 1400|  3.90k|    for (int version = 0; version < VersionCount; ++version) {
  ------------------
  |  Branch (1400:27): [True: 3.68k, False: 217]
  ------------------
 1401|  18.4k|        for (int spvVersion = 0; spvVersion < SpvVersionCount; ++spvVersion) {
  ------------------
  |  Branch (1401:34): [True: 14.7k, False: 3.68k]
  ------------------
 1402|  73.7k|            for (int p = 0; p < ProfileCount; ++p) {
  ------------------
  |  Branch (1402:29): [True: 59.0k, False: 14.7k]
  ------------------
 1403|   177k|                for (int source = 0; source < SourceCount; ++source) {
  ------------------
  |  Branch (1403:38): [True: 118k, False: 59.0k]
  ------------------
 1404|  1.77M|                    for (int stage = 0; stage < EShLangCount; ++stage) {
  ------------------
  |  Branch (1404:41): [True: 1.65M, False: 118k]
  ------------------
 1405|  1.65M|                        delete SharedSymbolTables[version][spvVersion][p][source][stage];
 1406|  1.65M|                        SharedSymbolTables[version][spvVersion][p][source][stage] = nullptr;
 1407|  1.65M|                    }
 1408|   118k|                }
 1409|  59.0k|            }
 1410|  14.7k|        }
 1411|  3.68k|    }
 1412|       |
 1413|  3.90k|    for (int version = 0; version < VersionCount; ++version) {
  ------------------
  |  Branch (1413:27): [True: 3.68k, False: 217]
  ------------------
 1414|  18.4k|        for (int spvVersion = 0; spvVersion < SpvVersionCount; ++spvVersion) {
  ------------------
  |  Branch (1414:34): [True: 14.7k, False: 3.68k]
  ------------------
 1415|  73.7k|            for (int p = 0; p < ProfileCount; ++p) {
  ------------------
  |  Branch (1415:29): [True: 59.0k, False: 14.7k]
  ------------------
 1416|   177k|                for (int source = 0; source < SourceCount; ++source) {
  ------------------
  |  Branch (1416:38): [True: 118k, False: 59.0k]
  ------------------
 1417|   354k|                    for (int pc = 0; pc < EPcCount; ++pc) {
  ------------------
  |  Branch (1417:38): [True: 236k, False: 118k]
  ------------------
 1418|   236k|                        delete CommonSymbolTable[version][spvVersion][p][source][pc];
 1419|   236k|                        CommonSymbolTable[version][spvVersion][p][source][pc] = nullptr;
 1420|   236k|                    }
 1421|   118k|                }
 1422|  59.0k|            }
 1423|  14.7k|        }
 1424|  3.68k|    }
 1425|       |
 1426|    217|    if (PerProcessGPA != nullptr) {
  ------------------
  |  Branch (1426:9): [True: 217, False: 0]
  ------------------
 1427|    217|        delete PerProcessGPA;
 1428|    217|        PerProcessGPA = nullptr;
 1429|    217|    }
 1430|       |
 1431|    217|    return 1;
 1432|    217|}
_ZN7glslang17InitializeProcessEv:
 1720|    217|{
 1721|    217|    return ShInitialize() != 0;
 1722|    217|}
_ZN7glslang15FinalizeProcessEv:
 1725|    217|{
 1726|    217|    ShFinalize();
 1727|    217|}
_ZN7glslang7TShaderC2E11EShLanguage:
 1740|    217|    : stage(s), lengths(nullptr), stringNames(nullptr), preamble(""), overrideVersion(0)
 1741|    217|{
 1742|    217|    pool = new TPoolAllocator;
 1743|    217|    infoSink = new TInfoSink;
 1744|    217|    compiler = new TDeferredCompiler(stage, *infoSink);
 1745|    217|    intermediate = new TIntermediate(s);
 1746|       |
 1747|       |    // clear environment (avoid constructors in them for use in a C interface)
 1748|    217|    environment.input.languageFamily = EShSourceNone;
 1749|    217|    environment.input.dialect = EShClientNone;
 1750|    217|    environment.input.vulkanRulesRelaxed = false;
 1751|    217|    environment.client.client = EShClientNone;
 1752|    217|    environment.target.language = EShTargetNone;
 1753|    217|    environment.target.hlslFunctionality1 = false;
 1754|    217|}
_ZN7glslang7TShaderD2Ev:
 1757|    217|{
 1758|    217|    delete infoSink;
 1759|    217|    delete compiler;
 1760|    217|    delete intermediate;
 1761|    217|    delete pool;
 1762|    217|}
_ZN7glslang7TShader21setStringsWithLengthsEPKPKcPKii:
 1772|    217|{
 1773|    217|    strings = s;
 1774|    217|    numStrings = n;
 1775|    217|    lengths = l;
 1776|    217|}
_ZN7glslang7TShader13setEntryPointEPKc:
 1788|    217|{
 1789|    217|    intermediate->setEntryPointName(entryPoint);
 1790|    217|}
_ZN7glslang7TShader5parseEPK16TBuiltInResourcei8EProfilebb11EShMessagesRNS0_8IncluderE:
 1888|    217|{
 1889|    217|    SetThreadPoolAllocator(pool);
 1890|       |
 1891|    217|    if (! preamble)
  ------------------
  |  Branch (1891:9): [True: 0, False: 217]
  ------------------
 1892|      0|        preamble = "";
 1893|       |
 1894|    217|    return CompileDeferred(compiler, strings, numStrings, lengths, stringNames,
 1895|    217|                           preamble, EShOptNone, builtInResources, defaultVersion,
 1896|    217|                           defaultProfile, forceDefaultVersionAndProfile, overrideVersion,
 1897|    217|                           forwardCompatible, messages, *intermediate, includer, sourceEntryPointName,
 1898|    217|                           &environment, compileOnly);
 1899|    217|}
ShaderLang.cpp:_ZN12_GLOBAL__N_115CompileDeferredEP9TCompilerPKPKciPKiS5_S3_20EShOptimizationLevelPK16TBuiltInResourcei8EProfilebib11EShMessagesRN7glslang13TIntermediateERNSE_7TShader8IncluderENSt3__112basic_stringIcNSK_11char_traitsIcEENSK_9allocatorIcEEEEPNSE_12TEnvironmentEb:
 1319|    217|{
 1320|    217|    DoFullParse parser;
 1321|    217|    return ProcessDeferred(compiler, shaderStrings, numStrings, inputLengths, stringNames,
 1322|    217|                           preamble, optLevel, resources, defaultVersion,
 1323|    217|                           defaultProfile, forceDefaultVersionAndProfile, overrideVersion,
 1324|    217|                           forwardCompatible, messages, intermediate, parser,
 1325|    217|                           true, includer, sourceEntryPointName, environment, compileOnly);
 1326|    217|}
ShaderLang.cpp:_ZN12_GLOBAL__N_115ProcessDeferredINS_11DoFullParseEEEbP9TCompilerPKPKciPKiS7_S5_20EShOptimizationLevelPK16TBuiltInResourcei8EProfilebib11EShMessagesRN7glslang13TIntermediateERT_bRNSG_7TShader8IncluderENSt3__112basic_stringIcNSO_11char_traitsIcEENSO_9allocatorIcEEEEPKNSG_12TEnvironmentEb:
  820|    217|{
  821|       |    // This must be undone (.pop()) by the caller, after it finishes consuming the created tree.
  822|    217|    GetThreadPoolAllocator().push();
  823|       |
  824|    217|    if (numStrings == 0)
  ------------------
  |  Branch (824:9): [True: 0, False: 217]
  ------------------
  825|      0|        return true;
  826|       |
  827|       |    // Move to length-based strings, rather than null-terminated strings.
  828|       |    // Also, add strings to include the preamble and to ensure the shader is not null,
  829|       |    // which lets the grammar accept what was a null (post preprocessing) shader.
  830|       |    //
  831|       |    // Shader will look like
  832|       |    //   string 0:                system preamble
  833|       |    //   string 1:                custom preamble
  834|       |    //   string 2...numStrings+1: user's shader
  835|       |    //   string numStrings+2:     "int;"
  836|    217|    const int numPre = 2;
  837|    217|    const int numPost = requireNonempty? 1 : 0;
  ------------------
  |  Branch (837:25): [True: 217, False: 0]
  ------------------
  838|    217|    const int numTotal = numPre + numStrings + numPost;
  839|    217|    std::unique_ptr<size_t[]> lengths(new size_t[numTotal]);
  840|    217|    std::unique_ptr<const char*[]> strings(new const char*[numTotal]);
  841|    217|    std::unique_ptr<const char*[]> names(new const char*[numTotal]);
  842|    434|    for (int s = 0; s < numStrings; ++s) {
  ------------------
  |  Branch (842:21): [True: 217, False: 217]
  ------------------
  843|    217|        strings[s + numPre] = shaderStrings[s];
  844|    217|        if (inputLengths == nullptr || inputLengths[s] < 0)
  ------------------
  |  Branch (844:13): [True: 0, False: 217]
  |  Branch (844:40): [True: 0, False: 217]
  ------------------
  845|      0|            lengths[s + numPre] = strlen(shaderStrings[s]);
  846|    217|        else
  847|    217|            lengths[s + numPre] = inputLengths[s];
  848|    217|    }
  849|    217|    if (stringNames != nullptr) {
  ------------------
  |  Branch (849:9): [True: 0, False: 217]
  ------------------
  850|      0|        for (int s = 0; s < numStrings; ++s)
  ------------------
  |  Branch (850:25): [True: 0, False: 0]
  ------------------
  851|      0|            names[s + numPre] = stringNames[s];
  852|    217|    } else {
  853|    434|        for (int s = 0; s < numStrings; ++s)
  ------------------
  |  Branch (853:25): [True: 217, False: 217]
  ------------------
  854|    217|            names[s + numPre] = nullptr;
  855|    217|    }
  856|       |
  857|       |    // Get all the stages, languages, clients, and other environment
  858|       |    // stuff sorted out.
  859|    217|    EShSource sourceGuess = (messages & EShMsgReadHlsl) != 0 ? EShSourceHlsl : EShSourceGlsl;
  ------------------
  |  Branch (859:29): [True: 110, False: 107]
  ------------------
  860|    217|    SpvVersion spvVersion;
  861|    217|    EShLanguage stage = compiler->getLanguage();
  862|    217|    TranslateEnvironment(environment, messages, sourceGuess, stage, spvVersion);
  863|    217|#ifdef ENABLE_HLSL
  864|    217|    EShSource source = sourceGuess;
  865|    217|    if (environment != nullptr && environment->target.hlslFunctionality1)
  ------------------
  |  Branch (865:9): [True: 217, False: 0]
  |  Branch (865:35): [True: 0, False: 217]
  ------------------
  866|      0|        intermediate.setHlslFunctionality1();
  867|       |#else
  868|       |    const EShSource source = EShSourceGlsl;
  869|       |#endif
  870|       |    // First, without using the preprocessor or parser, find the #version, so we know what
  871|       |    // symbol tables, processing rules, etc. to set up.  This does not need the extra strings
  872|       |    // outlined above, just the user shader, after the system and user preambles.
  873|    217|    glslang::TInputScanner userInput(numStrings, &strings[numPre], &lengths[numPre]);
  874|    217|    int version = 0;
  875|    217|    EProfile profile = ENoProfile;
  876|    217|    bool versionNotFirstToken = false;
  877|    217|    bool versionNotFirst = (source == EShSourceHlsl)
  ------------------
  |  Branch (877:28): [True: 110, False: 107]
  ------------------
  878|    217|                                ? true
  879|    217|                                : userInput.scanVersion(version, profile, versionNotFirstToken);
  880|    217|    bool versionNotFound = version == 0;
  881|    217|    if (forceDefaultVersionAndProfile && source == EShSourceGlsl) {
  ------------------
  |  Branch (881:9): [True: 0, False: 217]
  |  Branch (881:42): [True: 0, False: 0]
  ------------------
  882|      0|        if (! (messages & EShMsgSuppressWarnings) && ! versionNotFound &&
  ------------------
  |  Branch (882:13): [True: 0, False: 0]
  |  Branch (882:54): [True: 0, False: 0]
  ------------------
  883|      0|            (version != defaultVersion || profile != defaultProfile)) {
  ------------------
  |  Branch (883:14): [True: 0, False: 0]
  |  Branch (883:43): [True: 0, False: 0]
  ------------------
  884|      0|            compiler->infoSink.info << "Warning, (version, profile) forced to be ("
  885|      0|                                    << defaultVersion << ", " << ProfileName(defaultProfile)
  886|      0|                                    << "), while in source code it is ("
  887|      0|                                    << version << ", " << ProfileName(profile) << ")\n";
  888|      0|        }
  889|       |
  890|      0|        if (versionNotFound) {
  ------------------
  |  Branch (890:13): [True: 0, False: 0]
  ------------------
  891|      0|            versionNotFirstToken = false;
  892|      0|            versionNotFirst = false;
  893|      0|            versionNotFound = false;
  894|      0|        }
  895|      0|        version = defaultVersion;
  896|      0|        profile = defaultProfile;
  897|      0|    }
  898|    217|    if (source == EShSourceGlsl && overrideVersion != 0) {
  ------------------
  |  Branch (898:9): [True: 107, False: 110]
  |  Branch (898:36): [True: 0, False: 107]
  ------------------
  899|      0|        version = overrideVersion;
  900|      0|    }
  901|       |
  902|    217|    bool goodVersion = DeduceVersionProfile(compiler->infoSink, stage,
  903|    217|                                            versionNotFirst, defaultVersion, source, version, profile, spvVersion);
  904|    217|    bool versionWillBeError = (versionNotFound || (profile == EEsProfile && version >= 300 && versionNotFirst));
  ------------------
  |  Branch (904:32): [True: 187, False: 30]
  |  Branch (904:52): [True: 1, False: 29]
  |  Branch (904:77): [True: 1, False: 0]
  |  Branch (904:95): [True: 1, False: 0]
  ------------------
  905|    217|    bool warnVersionNotFirst = false;
  906|    217|    if (! versionWillBeError && versionNotFirstToken) {
  ------------------
  |  Branch (906:9): [True: 29, False: 188]
  |  Branch (906:33): [True: 29, False: 0]
  ------------------
  907|     29|        if (messages & EShMsgRelaxedErrors)
  ------------------
  |  Branch (907:13): [True: 1, False: 28]
  ------------------
  908|      1|            warnVersionNotFirst = true;
  909|     28|        else
  910|     28|            versionWillBeError = true;
  911|     29|    }
  912|       |
  913|    217|    intermediate.setSource(source);
  914|    217|    intermediate.setVersion(version);
  915|    217|    intermediate.setProfile(profile);
  916|    217|    intermediate.setSpv(spvVersion);
  917|    217|    RecordProcesses(intermediate, messages, sourceEntryPointName);
  918|    217|    if (spvVersion.vulkan > 0)
  ------------------
  |  Branch (918:9): [True: 123, False: 94]
  ------------------
  919|    123|        intermediate.setOriginUpperLeft();
  920|    217|#ifdef ENABLE_HLSL
  921|    217|    if ((messages & EShMsgHlslOffsets) || source == EShSourceHlsl)
  ------------------
  |  Branch (921:9): [True: 82, False: 135]
  |  Branch (921:43): [True: 33, False: 102]
  ------------------
  922|    115|        intermediate.setHlslOffsets();
  923|    217|#endif
  924|    217|    if (messages & EShMsgDebugInfo) {
  ------------------
  |  Branch (924:9): [True: 163, False: 54]
  ------------------
  925|    163|        intermediate.setSourceFile(names[numPre]);
  926|    326|        for (int s = 0; s < numStrings; ++s) {
  ------------------
  |  Branch (926:25): [True: 163, False: 163]
  ------------------
  927|       |            // The string may not be null-terminated, so make sure we provide
  928|       |            // the length along with the string.
  929|    163|            intermediate.addSourceText(strings[numPre + s], lengths[numPre + s]);
  930|    163|        }
  931|    163|    }
  932|    217|    if (!SetupBuiltinSymbolTable(version, profile, spvVersion, source)) {
  ------------------
  |  Branch (932:9): [True: 80, False: 137]
  ------------------
  933|     80|        return false;
  934|     80|    }
  935|       |
  936|    137|    TSymbolTable* cachedTable = SharedSymbolTables[MapVersionToIndex(version)]
  937|    137|                                                  [MapSpvVersionToIndex(spvVersion)]
  938|    137|                                                  [MapProfileToIndex(profile)]
  939|    137|                                                  [MapSourceToIndex(source)]
  940|    137|                                                  [stage];
  941|       |
  942|       |    // Dynamically allocate the symbol table so we can control when it is deallocated WRT the pool.
  943|    137|    std::unique_ptr<TSymbolTable> symbolTable(new TSymbolTable);
  944|    137|    if (cachedTable)
  ------------------
  |  Branch (944:9): [True: 137, False: 0]
  ------------------
  945|    137|        symbolTable->adoptLevels(*cachedTable);
  946|       |
  947|    137|    if (intermediate.getUniqueId() != 0)
  ------------------
  |  Branch (947:9): [True: 0, False: 137]
  ------------------
  948|      0|        symbolTable->overwriteUniqueId(intermediate.getUniqueId());
  949|       |
  950|       |    // Add built-in symbols that are potentially context dependent;
  951|       |    // they get popped again further down.
  952|    137|    if (! AddContextSpecificSymbols(resources, compiler->infoSink, *symbolTable, version, profile, spvVersion,
  ------------------
  |  Branch (952:9): [True: 0, False: 137]
  ------------------
  953|    137|                                    stage, source)) {
  954|      0|        return false;
  955|      0|    }
  956|       |
  957|    137|    if (messages & EShMsgBuiltinSymbolTable)
  ------------------
  |  Branch (957:9): [True: 97, False: 40]
  ------------------
  958|     97|        DumpBuiltinSymbolTable(compiler->infoSink, *symbolTable);
  959|       |
  960|       |    //
  961|       |    // Now we can process the full shader under proper symbols and rules.
  962|       |    //
  963|       |
  964|    137|    std::unique_ptr<TParseContextBase> parseContext(CreateParseContext(*symbolTable, intermediate, version, profile, source,
  965|    137|                                                    stage, compiler->infoSink,
  966|    137|                                                    spvVersion, forwardCompatible, messages, false, sourceEntryPointName));
  967|    137|    parseContext->compileOnly = compileOnly;
  968|    137|    TPpContext ppContext(*parseContext, names[numPre] ? names[numPre] : "", includer);
  ------------------
  |  Branch (968:41): [True: 0, False: 137]
  ------------------
  969|       |
  970|       |    // only GLSL (bison triggered, really) needs an externally set scan context
  971|    137|    glslang::TScanContext scanContext(*parseContext);
  972|    137|    if (source == EShSourceGlsl)
  ------------------
  |  Branch (972:9): [True: 27, False: 110]
  ------------------
  973|     27|        parseContext->setScanContext(&scanContext);
  974|       |
  975|    137|    parseContext->setPpContext(&ppContext);
  976|    137|    parseContext->setLimits(*resources);
  977|    137|    if (! goodVersion)
  ------------------
  |  Branch (977:9): [True: 12, False: 125]
  ------------------
  978|     12|        parseContext->addError();
  979|    137|    if (warnVersionNotFirst) {
  ------------------
  |  Branch (979:9): [True: 1, False: 136]
  ------------------
  980|      1|        TSourceLoc loc;
  981|      1|        loc.init();
  982|      1|        parseContext->warn(loc, "Illegal to have non-comment, non-whitespace tokens before #version", "#version", "");
  983|      1|    }
  984|       |
  985|    137|    parseContext->initializeExtensionBehavior();
  986|       |
  987|       |    // Fill in the strings as outlined above.
  988|    137|    std::string preamble;
  989|    137|    parseContext->getPreamble(preamble);
  990|    137|    strings[0] = preamble.c_str();
  991|    137|    lengths[0] = strlen(strings[0]);
  992|    137|    names[0] = nullptr;
  993|    137|    strings[1] = customPreamble;
  994|    137|    lengths[1] = strlen(strings[1]);
  995|    137|    names[1] = nullptr;
  996|    137|    assert(2 == numPre);
  997|    137|    if (requireNonempty) {
  ------------------
  |  Branch (997:9): [True: 137, False: 0]
  ------------------
  998|    137|        const int postIndex = numStrings + numPre;
  999|    137|        strings[postIndex] = "\n int;";
 1000|    137|        lengths[postIndex] = strlen(strings[numStrings + numPre]);
 1001|    137|        names[postIndex] = nullptr;
 1002|    137|    }
 1003|    137|    TInputScanner fullInput(numStrings + numPre + numPost, strings.get(), lengths.get(), names.get(), numPre, numPost);
 1004|       |
 1005|       |    // Push a new symbol allocation scope that will get used for the shader's globals.
 1006|    137|    symbolTable->push();
 1007|       |
 1008|    137|    bool success = processingContext(*parseContext, ppContext, fullInput,
 1009|    137|                                     versionWillBeError, *symbolTable,
 1010|    137|                                     intermediate, optLevel, messages);
 1011|    137|    intermediate.setUniqueId(symbolTable->getMaxSymbolId());
 1012|    137|    return success;
 1013|    137|}
ShaderLang.cpp:_ZN12_GLOBAL__N_120TranslateEnvironmentEPKN7glslang12TEnvironmentER11EShMessagesRNS0_9EShSourceER11EShLanguageRNS0_10SpvVersionE:
  702|    217|{
  703|       |    // Set up environmental defaults, first ignoring 'environment'.
  704|    217|    if (messages & EShMsgSpvRules)
  ------------------
  |  Branch (704:9): [True: 0, False: 217]
  ------------------
  705|      0|        spvVersion.spv = EShTargetSpv_1_0;
  706|    217|    if (messages & EShMsgVulkanRules) {
  ------------------
  |  Branch (706:9): [True: 123, False: 94]
  ------------------
  707|    123|        spvVersion.vulkan = EShTargetVulkan_1_0;
  708|    123|        spvVersion.vulkanGlsl = 100;
  709|    123|    } else if (spvVersion.spv != 0)
  ------------------
  |  Branch (709:16): [True: 0, False: 94]
  ------------------
  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|    217|    if (environment != nullptr) {
  ------------------
  |  Branch (715:9): [True: 217, False: 0]
  ------------------
  716|       |        // input language
  717|    217|        if (environment->input.languageFamily != EShSourceNone) {
  ------------------
  |  Branch (717:13): [True: 0, False: 217]
  ------------------
  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|    217|        switch (environment->client.client) {
  752|      0|        case EShClientVulkan:
  ------------------
  |  Branch (752:9): [True: 0, False: 217]
  ------------------
  753|      0|            spvVersion.vulkan = environment->client.version;
  754|      0|            break;
  755|    217|        default:
  ------------------
  |  Branch (755:9): [True: 217, False: 0]
  ------------------
  756|    217|            break;
  757|    217|        }
  758|       |
  759|       |        // generated code
  760|    217|        switch (environment->target.language) {
  761|      0|        case EshTargetSpv:
  ------------------
  |  Branch (761:9): [True: 0, False: 217]
  ------------------
  762|      0|            spvVersion.spv = environment->target.version;
  763|      0|            break;
  764|    217|        default:
  ------------------
  |  Branch (764:9): [True: 217, False: 0]
  ------------------
  765|    217|            break;
  766|    217|        }
  767|    217|    }
  768|    217|}
ShaderLang.cpp:_ZN12_GLOBAL__N_120DeduceVersionProfileER9TInfoSink11EShLanguagebiN7glslang9EShSourceERiR8EProfileRKNS3_10SpvVersionE:
  512|    217|{
  513|    217|    const int FirstProfileVersion = 150;
  514|    217|    bool correct = true;
  515|       |
  516|    217|    if (source == EShSourceHlsl) {
  ------------------
  |  Branch (516:9): [True: 110, False: 107]
  ------------------
  517|    110|        version = 500;          // shader model; currently a characteristic of glslang, not the input
  518|    110|        profile = ECoreProfile; // allow doubles in prototype parsing
  519|    110|        return correct;
  520|    110|    }
  521|       |
  522|       |    // Get a version...
  523|    107|    if (version == 0) {
  ------------------
  |  Branch (523:9): [True: 77, False: 30]
  ------------------
  524|     77|        version = defaultVersion;
  525|       |        // infoSink.info.message(EPrefixWarning, "#version: statement missing; use #version on first line of shader");
  526|     77|    }
  527|       |
  528|       |    // Get a good profile...
  529|    107|    if (profile == ENoProfile) {
  ------------------
  |  Branch (529:9): [True: 105, False: 2]
  ------------------
  530|    105|        if (version == 300 || version == 310 || version == 320) {
  ------------------
  |  Branch (530:13): [True: 1, False: 104]
  |  Branch (530:31): [True: 0, False: 104]
  |  Branch (530:49): [True: 0, False: 104]
  ------------------
  531|      1|            correct = false;
  532|      1|            infoSink.info.message(EPrefixError, "#version: versions 300, 310, and 320 require specifying the 'es' profile");
  533|      1|            profile = EEsProfile;
  534|    104|        } else if (version == 100)
  ------------------
  |  Branch (534:20): [True: 77, False: 27]
  ------------------
  535|     77|            profile = EEsProfile;
  536|     27|        else if (version >= FirstProfileVersion)
  ------------------
  |  Branch (536:18): [True: 17, False: 10]
  ------------------
  537|     17|            profile = ECoreProfile;
  538|     10|        else
  539|     10|            profile = ENoProfile;
  540|    105|    } else {
  541|       |        // a profile was provided...
  542|      2|        if (version < 150) {
  ------------------
  |  Branch (542:13): [True: 1, False: 1]
  ------------------
  543|      1|            correct = false;
  544|      1|            infoSink.info.message(EPrefixError, "#version: versions before 150 do not allow a profile token");
  545|      1|            if (version == 100)
  ------------------
  |  Branch (545:17): [True: 0, False: 1]
  ------------------
  546|      0|                profile = EEsProfile;
  547|      1|            else
  548|      1|                profile = ENoProfile;
  549|      1|        } else if (version == 300 || version == 310 || version == 320) {
  ------------------
  |  Branch (549:20): [True: 0, False: 1]
  |  Branch (549:38): [True: 0, False: 1]
  |  Branch (549:56): [True: 0, False: 1]
  ------------------
  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|      1|        } else {
  556|      1|            if (profile == EEsProfile) {
  ------------------
  |  Branch (556:17): [True: 1, False: 0]
  ------------------
  557|      1|                correct = false;
  558|      1|                infoSink.info.message(EPrefixError, "#version: only version 300, 310, and 320 support the es profile");
  559|      1|                if (version >= FirstProfileVersion)
  ------------------
  |  Branch (559:21): [True: 1, False: 0]
  ------------------
  560|      1|                    profile = ECoreProfile;
  561|      0|                else
  562|      0|                    profile = ENoProfile;
  563|      1|            }
  564|       |            // else: typical desktop case... e.g., "#version 410 core"
  565|      1|        }
  566|      2|    }
  567|       |
  568|       |    // Fix version...
  569|    107|    switch (version) {
  570|       |    // ES versions
  571|     77|    case 100: break;
  ------------------
  |  Branch (571:5): [True: 77, False: 30]
  ------------------
  572|      1|    case 300: break;
  ------------------
  |  Branch (572:5): [True: 1, False: 106]
  ------------------
  573|      0|    case 310: break;
  ------------------
  |  Branch (573:5): [True: 0, False: 107]
  ------------------
  574|      0|    case 320: break;
  ------------------
  |  Branch (574:5): [True: 0, False: 107]
  ------------------
  575|       |
  576|       |    // desktop versions
  577|      1|    case 110: break;
  ------------------
  |  Branch (577:5): [True: 1, False: 106]
  ------------------
  578|      0|    case 120: break;
  ------------------
  |  Branch (578:5): [True: 0, False: 107]
  ------------------
  579|      0|    case 130: break;
  ------------------
  |  Branch (579:5): [True: 0, False: 107]
  ------------------
  580|      0|    case 140: break;
  ------------------
  |  Branch (580:5): [True: 0, False: 107]
  ------------------
  581|      0|    case 150: break;
  ------------------
  |  Branch (581:5): [True: 0, False: 107]
  ------------------
  582|      1|    case 330: break;
  ------------------
  |  Branch (582:5): [True: 1, False: 106]
  ------------------
  583|      0|    case 400: break;
  ------------------
  |  Branch (583:5): [True: 0, False: 107]
  ------------------
  584|      0|    case 410: break;
  ------------------
  |  Branch (584:5): [True: 0, False: 107]
  ------------------
  585|      0|    case 420: break;
  ------------------
  |  Branch (585:5): [True: 0, False: 107]
  ------------------
  586|      0|    case 430: break;
  ------------------
  |  Branch (586:5): [True: 0, False: 107]
  ------------------
  587|      0|    case 440: break;
  ------------------
  |  Branch (587:5): [True: 0, False: 107]
  ------------------
  588|      0|    case 450: break;
  ------------------
  |  Branch (588:5): [True: 0, False: 107]
  ------------------
  589|      0|    case 460: break;
  ------------------
  |  Branch (589:5): [True: 0, False: 107]
  ------------------
  590|       |
  591|       |    // unknown version
  592|     27|    default:
  ------------------
  |  Branch (592:5): [True: 27, False: 80]
  ------------------
  593|     27|        correct = false;
  594|     27|        infoSink.info.message(EPrefixError, "version not supported");
  595|     27|        if (profile == EEsProfile)
  ------------------
  |  Branch (595:13): [True: 0, False: 27]
  ------------------
  596|      0|            version = 310;
  597|     27|        else {
  598|     27|            version = 450;
  599|     27|            profile = ECoreProfile;
  600|     27|        }
  601|     27|        break;
  602|    107|    }
  603|       |
  604|       |    // Correct for stage type...
  605|    107|    switch (stage) {
  606|      0|    case EShLangGeometry:
  ------------------
  |  Branch (606:5): [True: 0, False: 107]
  ------------------
  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: 107]
  ------------------
  617|      0|    case EShLangTessEvaluation:
  ------------------
  |  Branch (617:5): [True: 0, False: 107]
  ------------------
  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: 107]
  ------------------
  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: 107]
  ------------------
  636|      0|    case EShLangIntersect:
  ------------------
  |  Branch (636:5): [True: 0, False: 107]
  ------------------
  637|      0|    case EShLangAnyHit:
  ------------------
  |  Branch (637:5): [True: 0, False: 107]
  ------------------
  638|      0|    case EShLangClosestHit:
  ------------------
  |  Branch (638:5): [True: 0, False: 107]
  ------------------
  639|      0|    case EShLangMiss:
  ------------------
  |  Branch (639:5): [True: 0, False: 107]
  ------------------
  640|      0|    case EShLangCallable:
  ------------------
  |  Branch (640:5): [True: 0, False: 107]
  ------------------
  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: 107]
  ------------------
  648|      0|    case EShLangTask:
  ------------------
  |  Branch (648:5): [True: 0, False: 107]
  ------------------
  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|    107|    default:
  ------------------
  |  Branch (656:5): [True: 107, False: 0]
  ------------------
  657|    107|        break;
  658|    107|    }
  659|       |
  660|    107|    if (profile == EEsProfile && version >= 300 && versionNotFirst) {
  ------------------
  |  Branch (660:9): [True: 78, False: 29]
  |  Branch (660:34): [True: 1, False: 77]
  |  Branch (660:52): [True: 1, False: 0]
  ------------------
  661|      1|        correct = false;
  662|      1|        infoSink.info.message(EPrefixError, "#version: statement must appear first in es-profile shader; before comments or newlines");
  663|      1|    }
  664|       |
  665|       |    // Check for SPIR-V compatibility
  666|    107|    if (spvVersion.spv != 0) {
  ------------------
  |  Branch (666:9): [True: 0, False: 107]
  ------------------
  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|    107|    return correct;
  694|    107|}
ShaderLang.cpp:_ZN12_GLOBAL__N_115RecordProcessesERN7glslang13TIntermediateE11EShMessagesRKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE:
  773|    217|{
  774|    217|    if ((messages & EShMsgRelaxedErrors) != 0)
  ------------------
  |  Branch (774:9): [True: 2, False: 215]
  ------------------
  775|      2|        intermediate.addProcess("relaxed-errors");
  776|    217|    if ((messages & EShMsgSuppressWarnings) != 0)
  ------------------
  |  Branch (776:9): [True: 0, False: 217]
  ------------------
  777|      0|        intermediate.addProcess("suppress-warnings");
  778|    217|    if ((messages & EShMsgKeepUncalled) != 0)
  ------------------
  |  Branch (778:9): [True: 116, False: 101]
  ------------------
  779|    116|        intermediate.addProcess("keep-uncalled");
  780|    217|    if (sourceEntryPointName.size() > 0) {
  ------------------
  |  Branch (780:9): [True: 0, False: 217]
  ------------------
  781|      0|        intermediate.addProcess("source-entrypoint");
  782|      0|        intermediate.addProcessArgument(sourceEntryPointName);
  783|      0|    }
  784|    217|}
ShaderLang.cpp:_ZN12_GLOBAL__N_123SetupBuiltinSymbolTableEi8EProfileRKN7glslang10SpvVersionENS1_9EShSourceE:
  427|    217|{
  428|    217|    TInfoSink infoSink;
  429|    217|    bool success;
  430|       |
  431|       |    // Make sure only one thread tries to do this at a time
  432|    217|#ifndef DISABLE_THREAD_SUPPORT
  433|    217|    const std::lock_guard<std::mutex> lock(init_lock);
  434|    217|#endif
  435|       |
  436|       |    // See if it's already been done for this version/profile combination
  437|    217|    int versionIndex = MapVersionToIndex(version);
  438|    217|    int spvVersionIndex = MapSpvVersionToIndex(spvVersion);
  439|    217|    int profileIndex = MapProfileToIndex(profile);
  440|    217|    int sourceIndex = MapSourceToIndex(source);
  441|    217|    if (CommonSymbolTable[versionIndex][spvVersionIndex][profileIndex][sourceIndex][EPcGeneral]) {
  ------------------
  |  Branch (441:9): [True: 0, False: 217]
  ------------------
  442|      0|        return true;
  443|      0|    }
  444|       |
  445|       |    // Switch to a new pool
  446|    217|    TPoolAllocator& previousAllocator = GetThreadPoolAllocator();
  447|    217|    TPoolAllocator* builtInPoolAllocator = new TPoolAllocator;
  448|    217|    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|    217|    TSymbolTable* commonTable[EPcCount];
  452|    217|    TSymbolTable* stageTables[EShLangCount];
  453|    651|    for (int precClass = 0; precClass < EPcCount; ++precClass)
  ------------------
  |  Branch (453:29): [True: 434, False: 217]
  ------------------
  454|    434|        commonTable[precClass] = new TSymbolTable;
  455|  3.25k|    for (int stage = 0; stage < EShLangCount; ++stage)
  ------------------
  |  Branch (455:25): [True: 3.03k, False: 217]
  ------------------
  456|  3.03k|        stageTables[stage] = new TSymbolTable;
  457|       |
  458|       |    // Generate the local symbol tables using the new pool
  459|    217|    if (!InitializeSymbolTables(infoSink, commonTable, stageTables, version, profile, spvVersion, source)) {
  ------------------
  |  Branch (459:9): [True: 80, False: 137]
  ------------------
  460|     80|        success = false;
  461|     80|        goto cleanup;
  462|     80|    }
  463|       |
  464|       |    // Switch to the process-global pool
  465|    137|    SetThreadPoolAllocator(PerProcessGPA);
  466|       |
  467|       |    // Copy the local symbol tables from the new pool to the global tables using the process-global pool
  468|    411|    for (int precClass = 0; precClass < EPcCount; ++precClass) {
  ------------------
  |  Branch (468:29): [True: 274, False: 137]
  ------------------
  469|    274|        if (! commonTable[precClass]->isEmpty()) {
  ------------------
  |  Branch (469:13): [True: 152, False: 122]
  ------------------
  470|    152|            CommonSymbolTable[versionIndex][spvVersionIndex][profileIndex][sourceIndex][precClass] = new TSymbolTable;
  471|    152|            CommonSymbolTable[versionIndex][spvVersionIndex][profileIndex][sourceIndex][precClass]->copyTable(*commonTable[precClass]);
  472|    152|            CommonSymbolTable[versionIndex][spvVersionIndex][profileIndex][sourceIndex][precClass]->readOnly();
  473|    152|        }
  474|    274|    }
  475|  2.05k|    for (int stage = 0; stage < EShLangCount; ++stage) {
  ------------------
  |  Branch (475:25): [True: 1.91k, False: 137]
  ------------------
  476|  1.91k|        if (! stageTables[stage]->isEmpty()) {
  ------------------
  |  Branch (476:13): [True: 1.73k, False: 180]
  ------------------
  477|  1.73k|            SharedSymbolTables[versionIndex][spvVersionIndex][profileIndex][sourceIndex][stage] = new TSymbolTable;
  478|  1.73k|            SharedSymbolTables[versionIndex][spvVersionIndex][profileIndex][sourceIndex][stage]->adoptLevels(*CommonSymbolTable
  479|  1.73k|                              [versionIndex][spvVersionIndex][profileIndex][sourceIndex][CommonIndex(profile, (EShLanguage)stage)]);
  480|  1.73k|            SharedSymbolTables[versionIndex][spvVersionIndex][profileIndex][sourceIndex][stage]->copyTable(*stageTables[stage]);
  481|  1.73k|            SharedSymbolTables[versionIndex][spvVersionIndex][profileIndex][sourceIndex][stage]->readOnly();
  482|  1.73k|        }
  483|  1.91k|    }
  484|    137|    success = true;
  485|       |
  486|    217|cleanup:
  487|       |    // Clean up the local tables before deleting the pool they used.
  488|    651|    for (int precClass = 0; precClass < EPcCount; ++precClass)
  ------------------
  |  Branch (488:29): [True: 434, False: 217]
  ------------------
  489|    434|        delete commonTable[precClass];
  490|  3.25k|    for (int stage = 0; stage < EShLangCount; ++stage)
  ------------------
  |  Branch (490:25): [True: 3.03k, False: 217]
  ------------------
  491|  3.03k|        delete stageTables[stage];
  492|       |
  493|    217|    delete builtInPoolAllocator;
  494|    217|    SetThreadPoolAllocator(&previousAllocator);
  495|       |
  496|    217|    return success;
  497|    137|}
ShaderLang.cpp:_ZN12_GLOBAL__N_122InitializeSymbolTablesER9TInfoSinkPPN7glslang12TSymbolTableES5_i8EProfileRKNS2_10SpvVersionENS2_9EShSourceE:
  322|    217|{
  323|    217|    bool success = true;
  324|    217|    std::unique_ptr<TBuiltInParseables> builtInParseables(CreateBuiltInParseables(infoSink, source));
  325|       |
  326|    217|    if (builtInParseables == nullptr)
  ------------------
  |  Branch (326:9): [True: 0, False: 217]
  ------------------
  327|      0|        return false;
  328|       |
  329|    217|    builtInParseables->initialize(version, profile, spvVersion);
  330|       |
  331|       |    // do the common tables
  332|    217|    success &= InitializeSymbolTable(builtInParseables->getCommonString(), version, profile, spvVersion, EShLangVertex, source,
  333|    217|                          infoSink, *commonTable[EPcGeneral]);
  334|    217|    if (profile == EEsProfile)
  ------------------
  |  Branch (334:9): [True: 78, False: 139]
  ------------------
  335|     78|        success &= InitializeSymbolTable(builtInParseables->getCommonString(), version, profile, spvVersion, EShLangFragment, source,
  336|     78|                              infoSink, *commonTable[EPcFragment]);
  337|       |
  338|       |    // do the per-stage tables
  339|       |
  340|       |    // always have vertex and fragment
  341|    217|    success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangVertex, source,
  342|    217|                               infoSink, commonTable, symbolTables);
  343|    217|    success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangFragment, source,
  344|    217|                               infoSink, commonTable, symbolTables);
  345|       |
  346|       |    // check for tessellation
  347|    217|    if ((profile != EEsProfile && version >= 150) ||
  ------------------
  |  Branch (347:10): [True: 139, False: 78]
  |  Branch (347:35): [True: 138, False: 1]
  ------------------
  348|    138|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (348:10): [True: 78, False: 1]
  |  Branch (348:35): [True: 0, False: 78]
  ------------------
  349|    138|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangTessControl, source,
  350|    138|                                   infoSink, commonTable, symbolTables);
  351|    138|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangTessEvaluation, source,
  352|    138|                                   infoSink, commonTable, symbolTables);
  353|    138|    }
  354|       |
  355|       |    // check for geometry
  356|    217|    if ((profile != EEsProfile && version >= 150) ||
  ------------------
  |  Branch (356:10): [True: 139, False: 78]
  |  Branch (356:35): [True: 138, False: 1]
  ------------------
  357|     79|        (profile == EEsProfile && version >= 310))
  ------------------
  |  Branch (357:10): [True: 78, False: 1]
  |  Branch (357:35): [True: 0, False: 78]
  ------------------
  358|    138|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangGeometry, source,
  359|    138|                                   infoSink, commonTable, symbolTables);
  360|       |
  361|       |    // check for compute
  362|    217|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (362:10): [True: 139, False: 78]
  |  Branch (362:35): [True: 137, False: 2]
  ------------------
  363|     80|        (profile == EEsProfile && version >= 310))
  ------------------
  |  Branch (363:10): [True: 78, False: 2]
  |  Branch (363:35): [True: 0, False: 78]
  ------------------
  364|    137|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangCompute, source,
  365|    137|                                   infoSink, commonTable, symbolTables);
  366|       |
  367|       |    // check for ray tracing stages
  368|    217|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (368:9): [True: 139, False: 78]
  |  Branch (368:34): [True: 137, False: 2]
  ------------------
  369|    137|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangRayGen, source,
  370|    137|            infoSink, commonTable, symbolTables);
  371|    137|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangIntersect, source,
  372|    137|            infoSink, commonTable, symbolTables);
  373|    137|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangAnyHit, source,
  374|    137|            infoSink, commonTable, symbolTables);
  375|    137|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangClosestHit, source,
  376|    137|            infoSink, commonTable, symbolTables);
  377|    137|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangMiss, source,
  378|    137|            infoSink, commonTable, symbolTables);
  379|    137|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangCallable, source,
  380|    137|            infoSink, commonTable, symbolTables);
  381|    137|    }
  382|       |
  383|       |    // check for mesh
  384|    217|    if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (384:10): [True: 139, False: 78]
  |  Branch (384:35): [True: 137, False: 2]
  ------------------
  385|     80|        (profile == EEsProfile && version >= 320))
  ------------------
  |  Branch (385:10): [True: 78, False: 2]
  |  Branch (385:35): [True: 0, False: 78]
  ------------------
  386|    137|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangMesh, source,
  387|    137|                                   infoSink, commonTable, symbolTables);
  388|       |
  389|       |    // check for task
  390|    217|    if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (390:10): [True: 139, False: 78]
  |  Branch (390:35): [True: 137, False: 2]
  ------------------
  391|     80|        (profile == EEsProfile && version >= 320))
  ------------------
  |  Branch (391:10): [True: 78, False: 2]
  |  Branch (391:35): [True: 0, False: 78]
  ------------------
  392|    137|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangTask, source,
  393|    137|                                   infoSink, commonTable, symbolTables);
  394|       |
  395|    217|    return success;
  396|    217|}
ShaderLang.cpp:_ZN12_GLOBAL__N_123CreateBuiltInParseablesER9TInfoSinkN7glslang9EShSourceE:
   94|    354|{
   95|    354|    switch (source) {
   96|    134|    case EShSourceGlsl: return new TBuiltIns();              // GLSL builtIns
  ------------------
  |  Branch (96:5): [True: 134, False: 220]
  ------------------
   97|      0|#ifdef ENABLE_HLSL
   98|    220|    case EShSourceHlsl: return new TBuiltInParseablesHlsl(); // HLSL intrinsics
  ------------------
  |  Branch (98:5): [True: 220, False: 134]
  ------------------
   99|      0|#endif
  100|       |
  101|      0|    default:
  ------------------
  |  Branch (101:5): [True: 0, False: 354]
  ------------------
  102|      0|        infoSink.info.message(EPrefixInternalError, "Unable to determine source language");
  103|      0|        return nullptr;
  104|    354|    }
  105|    354|}
ShaderLang.cpp:_ZN12_GLOBAL__N_121InitializeSymbolTableERKNSt3__112basic_stringIcNS0_11char_traitsIcEEN7glslang14pool_allocatorIcEEEEi8EProfileRKNS4_10SpvVersionE11EShLanguageNS4_9EShSourceER9TInfoSinkRNS4_12TSymbolTableE:
  249|  2.51k|{
  250|  2.51k|    TIntermediate intermediate(language, version, profile);
  251|       |
  252|  2.51k|    intermediate.setSource(source);
  253|       |
  254|  2.51k|    std::unique_ptr<TParseContextBase> parseContext(CreateParseContext(symbolTable, intermediate, version, profile, source,
  255|  2.51k|                                                                       language, infoSink, spvVersion, true, EShMsgDefault,
  256|  2.51k|                                                                       true));
  257|       |
  258|  2.51k|    TShader::ForbidIncluder includer;
  259|  2.51k|    TPpContext ppContext(*parseContext, "", includer);
  260|  2.51k|    TScanContext scanContext(*parseContext);
  261|  2.51k|    parseContext->setScanContext(&scanContext);
  262|  2.51k|    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|  2.51k|    symbolTable.push();
  271|       |
  272|  2.51k|    const char* builtInShaders[2];
  273|  2.51k|    size_t builtInLengths[2];
  274|  2.51k|    builtInShaders[0] = builtIns.c_str();
  275|  2.51k|    builtInLengths[0] = builtIns.size();
  276|       |
  277|  2.51k|    if (builtInLengths[0] == 0)
  ------------------
  |  Branch (277:9): [True: 1.65k, False: 863]
  ------------------
  278|  1.65k|        return true;
  279|       |
  280|    863|    TInputScanner input(1, builtInShaders, builtInLengths);
  281|    863|    if (! parseContext->parseShaderStrings(ppContext, input) != 0) {
  ------------------
  |  Branch (281:9): [True: 207, False: 656]
  ------------------
  282|    207|        infoSink.info.message(EPrefixInternalError, "Unable to parse built-ins");
  283|    207|        printf("Unable to parse built-ins\n%s\n", infoSink.info.c_str());
  284|    207|        printf("%s\n", builtInShaders[0]);
  285|       |
  286|    207|        return false;
  287|    207|    }
  288|       |
  289|    656|    return true;
  290|    863|}
ShaderLang.cpp:_ZN12_GLOBAL__N_126InitializeStageSymbolTableERN7glslang18TBuiltInParseablesEi8EProfileRKNS0_10SpvVersionE11EShLanguageNS0_9EShSourceER9TInfoSinkPPNS0_12TSymbolTableESD_:
  303|  2.08k|{
  304|  2.08k|    (*symbolTables[language]).adoptLevels(*commonTable[CommonIndex(profile, language)]);
  305|  2.08k|    if (!InitializeSymbolTable(builtInParseables.getStageString(language), version, profile, spvVersion, language, source,
  ------------------
  |  Branch (305:9): [True: 79, False: 2.00k]
  ------------------
  306|  2.08k|                          infoSink, *symbolTables[language]))
  307|     79|        return false;
  308|  2.00k|    builtInParseables.identifyBuiltIns(version, profile, spvVersion, language, *symbolTables[language]);
  309|  2.00k|    if (profile == EEsProfile && version >= 300)
  ------------------
  |  Branch (309:9): [True: 94, False: 1.90k]
  |  Branch (309:34): [True: 2, False: 92]
  ------------------
  310|      2|        (*symbolTables[language]).setNoBuiltInRedeclarations();
  311|  2.00k|    if (version == 110)
  ------------------
  |  Branch (311:9): [True: 1, False: 2.00k]
  ------------------
  312|      1|        (*symbolTables[language]).setSeparateNameSpaces();
  313|       |
  314|  2.00k|    return true;
  315|  2.08k|}
ShaderLang.cpp:_ZN12_GLOBAL__N_111CommonIndexE8EProfile11EShLanguage:
  293|  3.81k|{
  294|  3.81k|    return (profile == EEsProfile && language == EShLangFragment) ? EPcFragment : EPcGeneral;
  ------------------
  |  Branch (294:13): [True: 186, False: 3.63k]
  |  Branch (294:38): [True: 93, False: 93]
  ------------------
  295|  3.81k|}
ShaderLang.cpp:_ZN12_GLOBAL__N_117MapVersionToIndexEi:
  138|    354|{
  139|    354|    int index = 0;
  140|       |
  141|    354|    switch (version) {
  142|     92|    case 100: index =  0; break;
  ------------------
  |  Branch (142:5): [True: 92, False: 262]
  ------------------
  143|      1|    case 110: index =  1; break;
  ------------------
  |  Branch (143:5): [True: 1, False: 353]
  ------------------
  144|      0|    case 120: index =  2; break;
  ------------------
  |  Branch (144:5): [True: 0, False: 354]
  ------------------
  145|      0|    case 130: index =  3; break;
  ------------------
  |  Branch (145:5): [True: 0, False: 354]
  ------------------
  146|      0|    case 140: index =  4; break;
  ------------------
  |  Branch (146:5): [True: 0, False: 354]
  ------------------
  147|      0|    case 150: index =  5; break;
  ------------------
  |  Branch (147:5): [True: 0, False: 354]
  ------------------
  148|      1|    case 300: index =  6; break;
  ------------------
  |  Branch (148:5): [True: 1, False: 353]
  ------------------
  149|      1|    case 330: index =  7; break;
  ------------------
  |  Branch (149:5): [True: 1, False: 353]
  ------------------
  150|      0|    case 400: index =  8; break;
  ------------------
  |  Branch (150:5): [True: 0, False: 354]
  ------------------
  151|      0|    case 410: index =  9; break;
  ------------------
  |  Branch (151:5): [True: 0, False: 354]
  ------------------
  152|      0|    case 420: index = 10; break;
  ------------------
  |  Branch (152:5): [True: 0, False: 354]
  ------------------
  153|      0|    case 430: index = 11; break;
  ------------------
  |  Branch (153:5): [True: 0, False: 354]
  ------------------
  154|      0|    case 440: index = 12; break;
  ------------------
  |  Branch (154:5): [True: 0, False: 354]
  ------------------
  155|      0|    case 310: index = 13; break;
  ------------------
  |  Branch (155:5): [True: 0, False: 354]
  ------------------
  156|     39|    case 450: index = 14; break;
  ------------------
  |  Branch (156:5): [True: 39, False: 315]
  ------------------
  157|    220|    case 500: index =  0; break; // HLSL
  ------------------
  |  Branch (157:5): [True: 220, False: 134]
  ------------------
  158|      0|    case 320: index = 15; break;
  ------------------
  |  Branch (158:5): [True: 0, False: 354]
  ------------------
  159|      0|    case 460: index = 16; break;
  ------------------
  |  Branch (159:5): [True: 0, False: 354]
  ------------------
  160|      0|    default:  assert(0);  break;
  ------------------
  |  Branch (160:5): [True: 0, False: 354]
  ------------------
  161|    354|    }
  162|       |
  163|    354|    assert(index < VersionCount);
  164|       |
  165|    354|    return index;
  166|    354|}
ShaderLang.cpp:_ZN12_GLOBAL__N_120MapSpvVersionToIndexERKN7glslang10SpvVersionE:
  171|    354|{
  172|    354|    int index = 0;
  173|       |
  174|    354|    if (spvVersion.openGl > 0)
  ------------------
  |  Branch (174:9): [True: 0, False: 354]
  ------------------
  175|      0|        index = 1;
  176|    354|    else if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (176:14): [True: 166, False: 188]
  ------------------
  177|    166|        if (!spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (177:13): [True: 166, False: 0]
  ------------------
  178|    166|            index = 2;
  179|      0|        else
  180|      0|            index = 3;
  181|    166|    }
  182|       |
  183|    354|    assert(index < SpvVersionCount);
  184|       |
  185|    354|    return index;
  186|    354|}
ShaderLang.cpp:_ZN12_GLOBAL__N_117MapProfileToIndexE8EProfile:
  191|    354|{
  192|    354|    int index = 0;
  193|       |
  194|    354|    switch (profile) {
  195|      1|    case ENoProfile:            index = 0; break;
  ------------------
  |  Branch (195:5): [True: 1, False: 353]
  ------------------
  196|    260|    case ECoreProfile:          index = 1; break;
  ------------------
  |  Branch (196:5): [True: 260, False: 94]
  ------------------
  197|      0|    case ECompatibilityProfile: index = 2; break;
  ------------------
  |  Branch (197:5): [True: 0, False: 354]
  ------------------
  198|     93|    case EEsProfile:            index = 3; break;
  ------------------
  |  Branch (198:5): [True: 93, False: 261]
  ------------------
  199|      0|    default:                               break;
  ------------------
  |  Branch (199:5): [True: 0, False: 354]
  ------------------
  200|    354|    }
  201|       |
  202|    354|    assert(index < ProfileCount);
  203|       |
  204|    354|    return index;
  205|    354|}
ShaderLang.cpp:_ZN12_GLOBAL__N_116MapSourceToIndexEN7glslang9EShSourceE:
  210|    354|{
  211|    354|    int index = 0;
  212|       |
  213|    354|    switch (source) {
  214|    134|    case EShSourceGlsl: index = 0; break;
  ------------------
  |  Branch (214:5): [True: 134, False: 220]
  ------------------
  215|    220|    case EShSourceHlsl: index = 1; break;
  ------------------
  |  Branch (215:5): [True: 220, False: 134]
  ------------------
  216|      0|    default:                       break;
  ------------------
  |  Branch (216:5): [True: 0, False: 354]
  ------------------
  217|    354|    }
  218|       |
  219|    354|    assert(index < SourceCount);
  220|       |
  221|    354|    return index;
  222|    354|}
ShaderLang.cpp:_ZN12_GLOBAL__N_125AddContextSpecificSymbolsEPK16TBuiltInResourceR9TInfoSinkRN7glslang12TSymbolTableEi8EProfileRKNS5_10SpvVersionE11EShLanguageNS5_9EShSourceE:
  400|    137|{
  401|    137|    std::unique_ptr<TBuiltInParseables> builtInParseables(CreateBuiltInParseables(infoSink, source));
  402|       |
  403|    137|    if (builtInParseables == nullptr)
  ------------------
  |  Branch (403:9): [True: 0, False: 137]
  ------------------
  404|      0|        return false;
  405|       |
  406|    137|    builtInParseables->initialize(*resources, version, profile, spvVersion, language);
  407|    137|    if (!InitializeSymbolTable(builtInParseables->getCommonString(), version, profile, spvVersion, language, source, infoSink, symbolTable))
  ------------------
  |  Branch (407:9): [True: 0, False: 137]
  ------------------
  408|      0|        return false;
  409|    137|    builtInParseables->identifyBuiltIns(version, profile, spvVersion, language, symbolTable, *resources);
  410|       |
  411|    137|    return true;
  412|    137|}
ShaderLang.cpp:_ZN12_GLOBAL__N_122DumpBuiltinSymbolTableER9TInfoSinkRKN7glslang12TSymbolTableE:
  501|     97|{
  502|     97|    infoSink.debug << "BuiltinSymbolTable {\n";
  503|       |
  504|     97|    symbolTable.dump(infoSink, true);
  505|       |
  506|     97|    infoSink.debug << "}\n";
  507|     97|}
ShaderLang.cpp:_ZN12_GLOBAL__N_118CreateParseContextERN7glslang12TSymbolTableERNS0_13TIntermediateEi8EProfileNS0_9EShSourceE11EShLanguageR9TInfoSinkNS0_10SpvVersionEb11EShMessagesbNSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEE:
  113|  2.65k|{
  114|  2.65k|    switch (source) {
  115|    780|    case EShSourceGlsl: {
  ------------------
  |  Branch (115:5): [True: 780, False: 1.87k]
  ------------------
  116|    780|        if (sourceEntryPointName.size() == 0)
  ------------------
  |  Branch (116:13): [True: 780, False: 0]
  ------------------
  117|    780|            intermediate.setEntryPointName("main");
  118|    780|        TString entryPoint = sourceEntryPointName.c_str();
  119|    780|        return new TParseContext(symbolTable, intermediate, parsingBuiltIns, version, profile, spvVersion,
  120|    780|                                 language, infoSink, forwardCompatible, messages, &entryPoint);
  121|      0|    }
  122|      0|#ifdef ENABLE_HLSL
  123|  1.87k|    case EShSourceHlsl:
  ------------------
  |  Branch (123:5): [True: 1.87k, False: 780]
  ------------------
  124|  1.87k|        return new HlslParseContext(symbolTable, intermediate, parsingBuiltIns, version, profile, spvVersion,
  125|  1.87k|                                    language, infoSink, sourceEntryPointName.c_str(), forwardCompatible, messages);
  126|      0|#endif
  127|      0|    default:
  ------------------
  |  Branch (127:5): [True: 0, False: 2.65k]
  ------------------
  128|      0|        infoSink.info.message(EPrefixInternalError, "Unable to determine source language");
  129|      0|        return nullptr;
  130|  2.65k|    }
  131|  2.65k|}
ShaderLang.cpp:_ZN12_GLOBAL__N_111DoFullParseclERN7glslang17TParseContextBaseERNS1_10TPpContextERNS1_13TInputScannerEbRNS1_12TSymbolTableERNS1_13TIntermediateE20EShOptimizationLevel11EShMessages:
 1230|    137|    {
 1231|    137|        bool success = true;
 1232|       |        // Parse the full shader.
 1233|    137|        if (! parseContext.parseShaderStrings(ppContext, fullInput, versionWillBeError))
  ------------------
  |  Branch (1233:13): [True: 137, False: 0]
  ------------------
 1234|    137|            success = false;
 1235|       |
 1236|    137|        if (success && intermediate.getTreeRoot()) {
  ------------------
  |  Branch (1236:13): [True: 0, False: 137]
  |  Branch (1236:24): [True: 0, False: 0]
  ------------------
 1237|      0|            if (optLevel == EShOptNoGeneration)
  ------------------
  |  Branch (1237:17): [True: 0, False: 0]
  ------------------
 1238|      0|                parseContext.infoSink.info.message(EPrefixNone, "No errors.  No code generation or linking was requested.");
 1239|      0|            else
 1240|      0|                success = intermediate.postProcess(intermediate.getTreeRoot(), parseContext.getLanguage());
 1241|    137|        } else if (! success) {
  ------------------
  |  Branch (1241:20): [True: 137, False: 0]
  ------------------
 1242|    137|            parseContext.infoSink.info.prefix(EPrefixError);
 1243|    137|            parseContext.infoSink.info << parseContext.getNumErrors() << " compilation errors.  No code generated.\n\n";
 1244|    137|        }
 1245|       |
 1246|    137|        if (messages & EShMsgAST)
  ------------------
  |  Branch (1246:13): [True: 0, False: 137]
  ------------------
 1247|      0|            intermediate.output(parseContext.infoSink, true);
 1248|       |
 1249|    137|        return success;
 1250|    137|    }
_ZN7glslang17TDeferredCompilerC2E11EShLanguageR9TInfoSink:
 1731|    217|    TDeferredCompiler(EShLanguage s, TInfoSink& i) : TCompiler(s, i) { }

_ZNK7glslang5TType16buildMangledNameERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
   57|  2.00M|{
   58|  2.00M|    if (isTensorARM())
  ------------------
  |  Branch (58:9): [True: 1.64k, False: 2.00M]
  ------------------
   59|  1.64k|        mangledName += 'T';
   60|  2.00M|    else if (isMatrix())
  ------------------
  |  Branch (60:14): [True: 417k, False: 1.58M]
  ------------------
   61|   417k|        mangledName += 'm';
   62|  1.58M|    else if (isVector())
  ------------------
  |  Branch (62:14): [True: 677k, False: 911k]
  ------------------
   63|   677k|        mangledName += 'v';
   64|       |
   65|  2.00M|    if (isCoopVecNV())
  ------------------
  |  Branch (65:9): [True: 21.2k, False: 1.98M]
  ------------------
   66|  21.2k|        mangledName += "coopvec";
   67|       |
   68|  2.00M|    switch (basicType) {
   69|   594k|    case EbtFloat:              mangledName += 'f';      break;
  ------------------
  |  Branch (69:5): [True: 594k, False: 1.41M]
  ------------------
   70|   483k|    case EbtInt:                mangledName += 'i';      break;
  ------------------
  |  Branch (70:5): [True: 483k, False: 1.52M]
  ------------------
   71|   316k|    case EbtUint:               mangledName += 'u';      break;
  ------------------
  |  Branch (71:5): [True: 316k, False: 1.69M]
  ------------------
   72|  28.2k|    case EbtBool:               mangledName += 'b';      break;
  ------------------
  |  Branch (72:5): [True: 28.2k, False: 1.97M]
  ------------------
   73|  48.4k|    case EbtDouble:             mangledName += 'd';      break;
  ------------------
  |  Branch (73:5): [True: 48.4k, False: 1.95M]
  ------------------
   74|  77.8k|    case EbtFloat16:            mangledName += "f16";    break;
  ------------------
  |  Branch (74:5): [True: 77.8k, False: 1.92M]
  ------------------
   75|    864|    case EbtBFloat16:           mangledName += "bf16";   break;
  ------------------
  |  Branch (75:5): [True: 864, False: 2.00M]
  ------------------
   76|    648|    case EbtFloatE5M2:          mangledName += "fe5m2";  break;
  ------------------
  |  Branch (76:5): [True: 648, False: 2.00M]
  ------------------
   77|    648|    case EbtFloatE4M3:          mangledName += "fe4m3";  break;
  ------------------
  |  Branch (77:5): [True: 648, False: 2.00M]
  ------------------
   78|  14.7k|    case EbtInt8:               mangledName += "i8";     break;
  ------------------
  |  Branch (78:5): [True: 14.7k, False: 1.99M]
  ------------------
   79|  14.2k|    case EbtUint8:              mangledName += "u8";     break;
  ------------------
  |  Branch (79:5): [True: 14.2k, False: 1.99M]
  ------------------
   80|  19.1k|    case EbtInt16:              mangledName += "i16";    break;
  ------------------
  |  Branch (80:5): [True: 19.1k, False: 1.98M]
  ------------------
   81|  17.9k|    case EbtUint16:             mangledName += "u16";    break;
  ------------------
  |  Branch (81:5): [True: 17.9k, False: 1.98M]
  ------------------
   82|  24.1k|    case EbtInt64:              mangledName += "i64";    break;
  ------------------
  |  Branch (82:5): [True: 24.1k, False: 1.98M]
  ------------------
   83|  36.1k|    case EbtUint64:             mangledName += "u64";    break;
  ------------------
  |  Branch (83:5): [True: 36.1k, False: 1.97M]
  ------------------
   84|    144|    case EbtAtomicUint:         mangledName += "au";     break;
  ------------------
  |  Branch (84:5): [True: 144, False: 2.00M]
  ------------------
   85|      0|    case EbtAccStruct:          mangledName += "as";     break;
  ------------------
  |  Branch (85:5): [True: 0, False: 2.00M]
  ------------------
   86|      0|    case EbtRayQuery:           mangledName += "rq";     break;
  ------------------
  |  Branch (86:5): [True: 0, False: 2.00M]
  ------------------
   87|      0|    case EbtSpirvType:          mangledName += "spv-t";  break;
  ------------------
  |  Branch (87:5): [True: 0, False: 2.00M]
  ------------------
   88|      0|    case EbtHitObjectNV:        mangledName += "ho";     break;
  ------------------
  |  Branch (88:5): [True: 0, False: 2.00M]
  ------------------
   89|      0|    case EbtHitObjectEXT:       mangledName += "ho";     break;
  ------------------
  |  Branch (89:5): [True: 0, False: 2.00M]
  ------------------
   90|    999|    case EbtTensorLayoutNV:     mangledName += "tl";     break;
  ------------------
  |  Branch (90:5): [True: 999, False: 2.00M]
  ------------------
   91|    513|    case EbtTensorViewNV:       mangledName += "tv";     break;
  ------------------
  |  Branch (91:5): [True: 513, False: 2.00M]
  ------------------
   92|   289k|    case EbtSampler:
  ------------------
  |  Branch (92:5): [True: 289k, False: 1.71M]
  ------------------
   93|   289k|        switch (sampler.type) {
   94|  44.2k|        case EbtFloat16: mangledName += "f16"; break;
  ------------------
  |  Branch (94:9): [True: 44.2k, False: 244k]
  ------------------
   95|  51.1k|        case EbtInt:   mangledName += "i"; break;
  ------------------
  |  Branch (95:9): [True: 51.1k, False: 237k]
  ------------------
   96|  51.1k|        case EbtUint:  mangledName += "u"; break;
  ------------------
  |  Branch (96:9): [True: 51.1k, False: 237k]
  ------------------
   97|  7.02k|        case EbtInt64:   mangledName += "i64"; break;
  ------------------
  |  Branch (97:9): [True: 7.02k, False: 282k]
  ------------------
   98|  7.02k|        case EbtUint64:  mangledName += "u64"; break;
  ------------------
  |  Branch (98:9): [True: 7.02k, False: 282k]
  ------------------
   99|   128k|        default: break; // some compilers want this
  ------------------
  |  Branch (99:9): [True: 128k, False: 160k]
  ------------------
  100|   289k|        }
  101|   289k|        if (sampler.isImageClass())
  ------------------
  |  Branch (101:13): [True: 50.7k, False: 238k]
  ------------------
  102|  50.7k|            mangledName += "I";  // a normal image or subpass
  103|   238k|        else if (sampler.isPureSampler())
  ------------------
  |  Branch (103:18): [True: 68.6k, False: 169k]
  ------------------
  104|  68.6k|            mangledName += "p";  // a "pure" sampler
  105|   169k|        else if (!sampler.isCombined())
  ------------------
  |  Branch (105:18): [True: 83.9k, False: 85.7k]
  ------------------
  106|  83.9k|            mangledName += "t";  // a "pure" texture
  107|  85.7k|        else
  108|  85.7k|            mangledName += "s";  // traditional combined sampler
  109|   289k|        if (sampler.isArrayed())
  ------------------
  |  Branch (109:13): [True: 84.3k, False: 204k]
  ------------------
  110|  84.3k|            mangledName += "A";
  111|   289k|        if (sampler.isShadow())
  ------------------
  |  Branch (111:13): [True: 43.5k, False: 245k]
  ------------------
  112|  43.5k|            mangledName += "S";
  113|   289k|        if (sampler.isExternal())
  ------------------
  |  Branch (113:13): [True: 106, False: 288k]
  ------------------
  114|    106|            mangledName += "E";
  115|   289k|        if (sampler.isYuv())
  ------------------
  |  Branch (115:13): [True: 256, False: 288k]
  ------------------
  116|    256|            mangledName += "Y";
  117|   289k|        switch (sampler.dim) {
  118|   104k|        case Esd2D:       mangledName += "2";  break;
  ------------------
  |  Branch (118:9): [True: 104k, False: 184k]
  ------------------
  119|  19.3k|        case Esd3D:       mangledName += "3";  break;
  ------------------
  |  Branch (119:9): [True: 19.3k, False: 269k]
  ------------------
  120|  36.8k|        case EsdCube:     mangledName += "C";  break;
  ------------------
  |  Branch (120:9): [True: 36.8k, False: 252k]
  ------------------
  121|  38.4k|        case Esd1D:       mangledName += "1";  break;
  ------------------
  |  Branch (121:9): [True: 38.4k, False: 250k]
  ------------------
  122|  13.3k|        case EsdRect:     mangledName += "R2"; break;
  ------------------
  |  Branch (122:9): [True: 13.3k, False: 275k]
  ------------------
  123|  5.10k|        case EsdBuffer:   mangledName += "B";  break;
  ------------------
  |  Branch (123:9): [True: 5.10k, False: 283k]
  ------------------
  124|  2.64k|        case EsdSubpass:  mangledName += "P";  break;
  ------------------
  |  Branch (124:9): [True: 2.64k, False: 286k]
  ------------------
  125|  68.6k|        default: break; // some compilers want this
  ------------------
  |  Branch (125:9): [True: 68.6k, False: 220k]
  ------------------
  126|   289k|        }
  127|       |
  128|   289k|#ifdef ENABLE_HLSL
  129|   289k|        if (sampler.hasReturnStruct()) {
  ------------------
  |  Branch (129:13): [True: 0, False: 289k]
  ------------------
  130|       |            // Name mangle for sampler return struct uses struct table index.
  131|      0|            mangledName += "-tx-struct";
  132|       |
  133|      0|            char text[16]; // plenty enough space for the small integers.
  134|      0|            snprintf(text, sizeof(text), "%u-", sampler.getStructReturnIndex());
  135|      0|            mangledName += text;
  136|   289k|        } else {
  137|   289k|            switch (sampler.getVectorSize()) {
  ------------------
  |  Branch (137:21): [True: 289k, False: 0]
  ------------------
  138|  17.1k|            case 1: mangledName += "1"; break;
  ------------------
  |  Branch (138:13): [True: 17.1k, False: 271k]
  ------------------
  139|  50.1k|            case 2: mangledName += "2"; break;
  ------------------
  |  Branch (139:13): [True: 50.1k, False: 238k]
  ------------------
  140|  6.93k|            case 3: mangledName += "3"; break;
  ------------------
  |  Branch (140:13): [True: 6.93k, False: 282k]
  ------------------
  141|   214k|            case 4: break; // default to prior name mangle behavior
  ------------------
  |  Branch (141:13): [True: 214k, False: 74.2k]
  ------------------
  142|   289k|            }
  143|   289k|        }
  144|   289k|#endif
  145|       |
  146|   289k|        if (sampler.isMultiSample())
  ------------------
  |  Branch (146:13): [True: 13.9k, False: 275k]
  ------------------
  147|  13.9k|            mangledName += "M";
  148|   289k|        break;
  149|    324|    case EbtStruct:
  ------------------
  |  Branch (149:5): [True: 324, False: 2.00M]
  ------------------
  150|    324|    case EbtBlock:
  ------------------
  |  Branch (150:5): [True: 0, False: 2.00M]
  ------------------
  151|    324|        if (basicType == EbtStruct)
  ------------------
  |  Branch (151:13): [True: 324, False: 0]
  ------------------
  152|    324|            mangledName += "struct-";
  153|      0|        else
  154|      0|            mangledName += "block-";
  155|    324|        if (typeName)
  ------------------
  |  Branch (155:13): [True: 324, False: 0]
  ------------------
  156|    324|            mangledName += *typeName;
  157|  1.94k|        for (unsigned int i = 0; i < structure->size(); ++i) {
  ------------------
  |  Branch (157:34): [True: 1.62k, False: 324]
  ------------------
  158|  1.62k|            if ((*structure)[i].type->getBasicType() == EbtVoid)
  ------------------
  |  Branch (158:17): [True: 0, False: 1.62k]
  ------------------
  159|      0|                continue;
  160|  1.62k|            mangledName += '-';
  161|  1.62k|            (*structure)[i].type->buildMangledName(mangledName);
  162|  1.62k|        }
  163|    324|        break;
  164|  38.3k|    default:
  ------------------
  |  Branch (164:5): [True: 38.3k, False: 1.96M]
  ------------------
  165|  38.3k|        break;
  166|  2.00M|    }
  167|       |
  168|  2.00M|    if (getVectorSize() > 0)
  ------------------
  |  Branch (168:9): [True: 1.59M, False: 417k]
  ------------------
  169|  1.59M|        mangledName += static_cast<char>('0' + getVectorSize());
  170|   417k|    else {
  171|   417k|        mangledName += static_cast<char>('0' + getMatrixCols());
  172|   417k|        mangledName += static_cast<char>('0' + getMatrixRows());
  173|   417k|    }
  174|       |
  175|  2.00M|    if (typeParameters) {
  ------------------
  |  Branch (175:9): [True: 0, False: 2.00M]
  ------------------
  176|      0|        const int maxSize = 11;
  177|      0|        char buf[maxSize];
  178|      0|        for (int i = 0; i < typeParameters->arraySizes->getNumDims(); ++i) {
  ------------------
  |  Branch (178:25): [True: 0, False: 0]
  ------------------
  179|      0|            if (typeParameters->arraySizes->getDimNode(i)) {
  ------------------
  |  Branch (179:17): [True: 0, False: 0]
  ------------------
  180|      0|                if (typeParameters->arraySizes->getDimNode(i)->getAsSymbolNode())
  ------------------
  |  Branch (180:21): [True: 0, False: 0]
  ------------------
  181|      0|                    snprintf(buf, maxSize, "s%lld", typeParameters->arraySizes->getDimNode(i)->getAsSymbolNode()->getId());
  182|      0|                else
  183|      0|                    snprintf(buf, maxSize, "s%p", typeParameters->arraySizes->getDimNode(i));
  184|      0|            } else
  185|      0|                snprintf(buf, maxSize, "%d", typeParameters->arraySizes->getDimSize(i));
  186|      0|            mangledName += '<';
  187|      0|            mangledName += buf;
  188|      0|            mangledName += '>';
  189|      0|        }
  190|      0|    }
  191|       |
  192|  2.00M|    if (arraySizes) {
  ------------------
  |  Branch (192:9): [True: 37.2k, False: 1.97M]
  ------------------
  193|  37.2k|        const int maxSize = 11;
  194|  37.2k|        char buf[maxSize];
  195|  74.5k|        for (int i = 0; i < arraySizes->getNumDims(); ++i) {
  ------------------
  |  Branch (195:25): [True: 37.2k, False: 37.2k]
  ------------------
  196|  37.2k|            if (arraySizes->getDimNode(i)) {
  ------------------
  |  Branch (196:17): [True: 0, False: 37.2k]
  ------------------
  197|      0|                if (arraySizes->getDimNode(i)->getAsSymbolNode())
  ------------------
  |  Branch (197:21): [True: 0, False: 0]
  ------------------
  198|      0|                    snprintf(buf, maxSize, "s%lld", arraySizes->getDimNode(i)->getAsSymbolNode()->getId());
  199|      0|                else
  200|      0|                    snprintf(buf, maxSize, "s%p", (void*)(arraySizes->getDimNode(i)));
  201|      0|            } else
  202|  37.2k|                snprintf(buf, maxSize, "%d", arraySizes->getDimSize(i));
  203|  37.2k|            mangledName += '[';
  204|  37.2k|            mangledName += buf;
  205|  37.2k|            mangledName += ']';
  206|  37.2k|        }
  207|  37.2k|    }
  208|  2.00M|}
_ZNK7glslang7TSymbol14dumpExtensionsER9TInfoSink:
  215|   404k|{
  216|   404k|    int numExtensions = getNumExtensions();
  217|   404k|    if (numExtensions) {
  ------------------
  |  Branch (217:9): [True: 45.1k, False: 359k]
  ------------------
  218|  45.1k|        infoSink.debug << " <";
  219|       |
  220|  90.3k|        for (int i = 0; i < numExtensions; i++)
  ------------------
  |  Branch (220:25): [True: 45.1k, False: 45.1k]
  ------------------
  221|  45.1k|            infoSink.debug << getExtensions()[i] << ",";
  222|       |
  223|  45.1k|        infoSink.debug << ">";
  224|  45.1k|    }
  225|   404k|}
_ZNK7glslang9TVariable4dumpER9TInfoSinkb:
  228|  1.60k|{
  229|  1.60k|    if (complete) {
  ------------------
  |  Branch (229:9): [True: 1.60k, False: 0]
  ------------------
  230|  1.60k|        infoSink.debug << getName().c_str() << ": " << type.getCompleteString();
  231|  1.60k|        dumpExtensions(infoSink);
  232|  1.60k|    } else {
  233|      0|        infoSink.debug << getName().c_str() << ": " << type.getStorageQualifierString() << " "
  234|      0|                       << type.getBasicTypeString();
  235|       |
  236|      0|        if (type.isArray())
  ------------------
  |  Branch (236:13): [True: 0, False: 0]
  ------------------
  237|      0|            infoSink.debug << "[0]";
  238|      0|    }
  239|       |
  240|  1.60k|    infoSink.debug << "\n";
  241|  1.60k|}
_ZNK7glslang9TFunction4dumpER9TInfoSinkb:
  244|   402k|{
  245|   402k|    if (complete) {
  ------------------
  |  Branch (245:9): [True: 402k, False: 0]
  ------------------
  246|   402k|        infoSink.debug << getName().c_str() << ": " << returnType.getCompleteString() << " " << getName().c_str()
  247|   402k|                       << "(";
  248|       |
  249|   402k|        int numParams = getParamCount();
  250|  1.36M|        for (int i = 0; i < numParams; i++) {
  ------------------
  |  Branch (250:25): [True: 957k, False: 402k]
  ------------------
  251|   957k|            const TParameter &param = parameters[i];
  252|   957k|            infoSink.debug << param.type->getCompleteString() << " "
  253|   957k|                           << (param.type->isStruct() ? "of " + param.type->getTypeName() + " " : "")
  ------------------
  |  Branch (253:32): [True: 96, False: 957k]
  ------------------
  254|   957k|                           << (param.name ? *param.name : "") << (i < numParams - 1 ? "," : "");
  ------------------
  |  Branch (254:32): [True: 59.1k, False: 898k]
  |  Branch (254:67): [True: 557k, False: 399k]
  ------------------
  255|   957k|        }
  256|       |
  257|   402k|        infoSink.debug << ")";
  258|   402k|        dumpExtensions(infoSink);
  259|   402k|    } else {
  260|      0|        infoSink.debug << getName().c_str() << ": " << returnType.getBasicTypeString() << " "
  261|      0|                       << getMangledName().c_str() << "n";
  262|      0|    }
  263|       |
  264|   402k|    infoSink.debug << "\n";
  265|   402k|}
_ZNK7glslang11TAnonMember4dumpER9TInfoSinkb:
  268|     32|{
  269|     32|    TInfoSink.debug << "anonymous member " << getMemberNumber() << " of " << getAnonContainer().getName().c_str()
  270|     32|                    << "\n";
  271|     32|}
_ZNK7glslang17TSymbolTableLevel4dumpER9TInfoSinkb:
  274|    291|{
  275|    291|    tLevel::const_iterator it;
  276|   404k|    for (it = level.begin(); it != level.end(); ++it)
  ------------------
  |  Branch (276:30): [True: 404k, False: 291]
  ------------------
  277|   404k|        (*it).second->dump(infoSink, complete);
  278|    291|}
_ZNK7glslang12TSymbolTable4dumpER9TInfoSinkb:
  281|     97|{
  282|    388|    for (int level = currentLevel(); level >= 0; --level) {
  ------------------
  |  Branch (282:38): [True: 291, False: 97]
  ------------------
  283|    291|        infoSink.debug << "LEVEL " << level << "\n";
  284|    291|        table[level]->dump(infoSink, complete);
  285|    291|    }
  286|     97|}
_ZN7glslang9TFunctionD2Ev:
  292|  1.38M|{
  293|  4.80M|    for (TParamList::iterator i = parameters.begin(); i != parameters.end(); ++i)
  ------------------
  |  Branch (293:55): [True: 3.41M, False: 1.38M]
  ------------------
  294|  3.41M|        delete (*i).type;
  295|  1.38M|}
_ZN7glslang17TSymbolTableLevelD2Ev:
  301|  4.54k|{
  302|  1.41M|    for (tLevel::iterator it = level.begin(); it != level.end(); ++it) {
  ------------------
  |  Branch (302:47): [True: 1.40M, False: 4.54k]
  ------------------
  303|  1.40M|        const TString& name = it->first;
  304|  1.40M|        auto retargetIter = std::find_if(retargetedSymbols.begin(), retargetedSymbols.end(),
  305|  1.40M|                                      [&name](const std::pair<TString, TString>& i) { return i.first == name; });
  306|  1.40M|        if (retargetIter == retargetedSymbols.end())
  ------------------
  |  Branch (306:13): [True: 1.40M, False: 0]
  ------------------
  307|  1.40M|            delete (*it).second;
  308|  1.40M|    }
  309|       |
  310|       |
  311|  4.54k|    delete [] defaultPrecision;
  312|  4.54k|}
_ZN7glslang17TSymbolTableLevel16relateToOperatorEPKcNS_9TOperatorE:
  319|   941k|{
  320|   941k|    tLevel::const_iterator candidate = level.lower_bound(name);
  321|  10.8M|    while (candidate != level.end()) {
  ------------------
  |  Branch (321:12): [True: 10.4M, False: 387k]
  ------------------
  322|  10.4M|        const TString& candidateName = (*candidate).first;
  323|  10.4M|        TString::size_type parenAt = candidateName.find_first_of('(');
  324|  10.4M|        if (parenAt != candidateName.npos && candidateName.compare(0, parenAt, name) == 0) {
  ------------------
  |  Branch (324:13): [True: 10.3M, False: 37.5k]
  |  Branch (324:46): [True: 9.87M, False: 516k]
  ------------------
  325|  9.87M|            TFunction* function = (*candidate).second->getAsFunction();
  326|  9.87M|            function->relateToOperator(op);
  327|  9.87M|        } else
  328|   554k|            break;
  329|  9.87M|        ++candidate;
  330|  9.87M|    }
  331|   941k|}
_ZN7glslang17TSymbolTableLevel21setFunctionExtensionsEPKciPKS2_:
  336|  15.5k|{
  337|  15.5k|    tLevel::const_iterator candidate = level.lower_bound(name);
  338|   104k|    while (candidate != level.end()) {
  ------------------
  |  Branch (338:12): [True: 101k, False: 2.18k]
  ------------------
  339|   101k|        const TString& candidateName = (*candidate).first;
  340|   101k|        TString::size_type parenAt = candidateName.find_first_of('(');
  341|   101k|        if (parenAt != candidateName.npos && candidateName.compare(0, parenAt, name) == 0) {
  ------------------
  |  Branch (341:13): [True: 100k, False: 1.26k]
  |  Branch (341:46): [True: 88.5k, False: 12.0k]
  ------------------
  342|  88.5k|            TSymbol* symbol = candidate->second;
  343|  88.5k|            symbol->setExtensions(num, extensions);
  344|  88.5k|        } else
  345|  13.3k|            break;
  346|  88.5k|        ++candidate;
  347|  88.5k|    }
  348|  15.5k|}
_ZN7glslang17TSymbolTableLevel29setFunctionExtensionsCallbackEPKcRKNSt3__18functionIFNS3_6vectorIS2_NS3_9allocatorIS2_EEEES2_EEE:
  352|    540|{
  353|    540|    tLevel::const_iterator candidate = level.lower_bound(name);
  354|  18.5k|    while (candidate != level.end()) {
  ------------------
  |  Branch (354:12): [True: 18.5k, False: 0]
  ------------------
  355|  18.5k|        const TString& candidateName = (*candidate).first;
  356|  18.5k|        TString::size_type parenAt = candidateName.find_first_of('(');
  357|  18.5k|        if (parenAt != candidateName.npos && candidateName.compare(0, parenAt, name) == 0) {
  ------------------
  |  Branch (357:13): [True: 18.5k, False: 0]
  |  Branch (357:46): [True: 18.0k, False: 540]
  ------------------
  358|  18.0k|            TSymbol* symbol = candidate->second;
  359|       |
  360|  18.0k|            auto exts = func(candidateName.c_str());
  361|  18.0k|            symbol->setExtensions(exts.size(), exts.data());
  362|  18.0k|        } else
  363|    540|            break;
  364|  18.0k|        ++candidate;
  365|  18.0k|    }
  366|    540|}
_ZN7glslang17TSymbolTableLevel8readOnlyEv:
  382|  3.62k|{
  383|  8.39M|    for (tLevel::iterator it = level.begin(); it != level.end(); ++it)
  ------------------
  |  Branch (383:47): [True: 8.38M, False: 3.62k]
  ------------------
  384|  8.38M|        (*it).second->makeReadOnly();
  385|  3.62k|}
_ZN7glslang7TSymbolC2ERKS0_:
  391|   597k|{
  392|   597k|    name = NewPoolTString(copyOf.name->c_str());
  393|   597k|    mangledName = NewPoolTString(copyOf.mangledName->c_str());
  394|   597k|    uniqueId = copyOf.uniqueId;
  395|   597k|    writable = true;
  396|   597k|}
_ZN7glslang9TVariableC2ERKS0_:
  398|  7.22k|TVariable::TVariable(const TVariable& copyOf) : TSymbol(copyOf)
  399|  7.22k|{
  400|  7.22k|    type.deepCopy(copyOf.type);
  401|  7.22k|    userType = copyOf.userType;
  402|       |
  403|       |    // we don't support specialization-constant subtrees in cloned tables, only extensions
  404|  7.22k|    constSubtree = nullptr;
  405|  7.22k|    extensions = nullptr;
  406|  7.22k|    memberExtensions = nullptr;
  407|  7.22k|    if (copyOf.getNumExtensions() > 0)
  ------------------
  |  Branch (407:9): [True: 3.65k, False: 3.57k]
  ------------------
  408|  3.65k|        setExtensions(copyOf.getNumExtensions(), copyOf.getExtensions());
  409|  7.22k|    if (copyOf.hasMemberExtensions()) {
  ------------------
  |  Branch (409:9): [True: 72, False: 7.15k]
  ------------------
  410|    516|        for (int m = 0; m < (int)copyOf.type.getStruct()->size(); ++m) {
  ------------------
  |  Branch (410:25): [True: 444, False: 72]
  ------------------
  411|    444|            if (copyOf.getNumMemberExtensions(m) > 0)
  ------------------
  |  Branch (411:17): [True: 348, False: 96]
  ------------------
  412|    348|                setMemberExtensions(m, copyOf.getNumMemberExtensions(m), copyOf.getMemberExtensions(m));
  413|    444|        }
  414|     72|    }
  415|       |
  416|  7.22k|    if (! copyOf.constArray.empty()) {
  ------------------
  |  Branch (416:9): [True: 1.35k, False: 5.86k]
  ------------------
  417|       |        assert(! copyOf.type.isStruct());
  418|  1.35k|        TConstUnionArray newArray(copyOf.constArray, 0, copyOf.constArray.size());
  419|  1.35k|        constArray = newArray;
  420|  1.35k|    }
  421|  7.22k|}
_ZNK7glslang9TVariable5cloneEv:
  424|  7.22k|{
  425|  7.22k|    TVariable *variable = new TVariable(*this);
  426|       |
  427|  7.22k|    return variable;
  428|  7.22k|}
_ZN7glslang9TFunctionC2ERKS0_:
  430|   590k|TFunction::TFunction(const TFunction& copyOf) : TSymbol(copyOf)
  431|   590k|{
  432|  2.02M|    for (unsigned int i = 0; i < copyOf.parameters.size(); ++i) {
  ------------------
  |  Branch (432:30): [True: 1.43M, False: 590k]
  ------------------
  433|  1.43M|        TParameter param{};
  434|  1.43M|        parameters.push_back(param);
  435|  1.43M|        (void)parameters.back().copyParam(copyOf.parameters[i]);
  436|  1.43M|    }
  437|       |
  438|   590k|    extensions = nullptr;
  439|   590k|    if (copyOf.getNumExtensions() > 0)
  ------------------
  |  Branch (439:9): [True: 74.9k, False: 515k]
  ------------------
  440|  74.9k|        setExtensions(copyOf.getNumExtensions(), copyOf.getExtensions());
  441|   590k|    returnType.deepCopy(copyOf.returnType);
  442|   590k|    mangledName = copyOf.mangledName;
  443|   590k|    op = copyOf.op;
  444|   590k|    defined = copyOf.defined;
  445|   590k|    prototyped = copyOf.prototyped;
  446|   590k|    implicitThis = copyOf.implicitThis;
  447|   590k|    variadic = copyOf.variadic;
  448|   590k|    illegalImplicitThis = copyOf.illegalImplicitThis;
  449|   590k|    defaultParamCount = copyOf.defaultParamCount;
  450|   590k|    spirvInst = copyOf.spirvInst;
  451|   590k|}
_ZNK7glslang9TFunction5cloneEv:
  454|   590k|{
  455|   590k|    TFunction *function = new TFunction(*this);
  456|       |
  457|   590k|    return function;
  458|   590k|}
_ZNK7glslang17TSymbolTableLevel5cloneEv:
  471|  1.89k|{
  472|  1.89k|    TSymbolTableLevel *symTableLevel = new TSymbolTableLevel();
  473|  1.89k|    symTableLevel->anonId = anonId;
  474|  1.89k|    symTableLevel->thisLevel = thisLevel;
  475|  1.89k|    symTableLevel->retargetedSymbols.clear();
  476|  1.89k|    for (auto &s : retargetedSymbols) {
  ------------------
  |  Branch (476:18): [True: 0, False: 1.89k]
  ------------------
  477|      0|        symTableLevel->retargetedSymbols.push_back({s.first, s.second});
  478|      0|    }
  479|  1.89k|    std::vector<bool> containerCopied(anonId, false);
  480|  1.89k|    tLevel::const_iterator iter;
  481|   599k|    for (iter = level.begin(); iter != level.end(); ++iter) {
  ------------------
  |  Branch (481:32): [True: 597k, False: 1.89k]
  ------------------
  482|   597k|        const TAnonMember* anon = iter->second->getAsAnonMember();
  483|   597k|        if (anon) {
  ------------------
  |  Branch (483:13): [True: 144, False: 597k]
  ------------------
  484|       |            // Insert all the anonymous members of this same container at once,
  485|       |            // avoid inserting the remaining members in the future, once this has been done,
  486|       |            // allowing them to all be part of the same new container.
  487|    144|            if (! containerCopied[anon->getAnonId()]) {
  ------------------
  |  Branch (487:17): [True: 36, False: 108]
  ------------------
  488|     36|                TVariable* container = anon->getAnonContainer().clone();
  489|     36|                container->changeName(NewPoolTString(""));
  490|       |                // insert the container and all its members
  491|     36|                symTableLevel->insert(*container, false);
  492|     36|                containerCopied[anon->getAnonId()] = true;
  493|     36|            }
  494|   597k|        } else {
  495|   597k|            const TString& name = iter->first;
  496|   597k|            auto retargetIter = std::find_if(retargetedSymbols.begin(), retargetedSymbols.end(),
  497|   597k|                                          [&name](const std::pair<TString, TString>& i) { return i.first == name; });
  498|   597k|            if (retargetIter != retargetedSymbols.end())
  ------------------
  |  Branch (498:17): [True: 0, False: 597k]
  ------------------
  499|      0|                continue;
  500|   597k|            symTableLevel->insert(*iter->second->clone(), false);
  501|   597k|        }
  502|   597k|    }
  503|       |    // Now point retargeted symbols to the newly created versions of them
  504|  1.89k|    for (auto &s : retargetedSymbols) {
  ------------------
  |  Branch (504:18): [True: 0, False: 1.89k]
  ------------------
  505|      0|        TSymbol* sym = symTableLevel->find(s.second);
  506|      0|        if (!sym)
  ------------------
  |  Branch (506:13): [True: 0, False: 0]
  ------------------
  507|      0|            continue;
  508|      0|        symTableLevel->insert(s.first, sym);
  509|      0|    }
  510|       |
  511|  1.89k|    return symTableLevel;
  512|  1.89k|}
_ZN7glslang12TSymbolTable9copyTableERKS0_:
  515|  1.89k|{
  516|  1.89k|    assert(adoptedLevels == copyOf.adoptedLevels);
  517|       |
  518|  1.89k|    uniqueId = copyOf.uniqueId;
  519|  1.89k|    noBuiltInRedeclarations = copyOf.noBuiltInRedeclarations;
  520|  1.89k|    separateNameSpaces = copyOf.separateNameSpaces;
  521|  3.78k|    for (unsigned int i = copyOf.adoptedLevels; i < copyOf.table.size(); ++i)
  ------------------
  |  Branch (521:49): [True: 1.89k, False: 1.89k]
  ------------------
  522|  1.89k|        table.push_back(copyOf.table[i]->clone());
  523|  1.89k|}

_ZN7glslang14TParseVersions27initializeExtensionBehaviorEv:
  160|    137|{
  161|    137|    typedef struct {
  162|    137|        const char *const extensionName;
  163|    137|        EShTargetLanguageVersion minSpvVersion;
  164|    137|    } extensionData;
  165|       |
  166|    137|    const extensionData exts[] = { {E_GL_EXT_ray_tracing, EShTargetSpv_1_4},
  167|    137|                                   {E_GL_NV_ray_tracing_motion_blur, EShTargetSpv_1_4},
  168|    137|                                   {E_GL_EXT_mesh_shader, EShTargetSpv_1_4},
  169|    137|                                   {E_GL_NV_cooperative_matrix2, EShTargetSpv_1_6},
  170|    137|                                   {E_GL_NV_cooperative_matrix_decode_vector, EShTargetSpv_1_6}
  171|    137|                                 };
  172|       |
  173|    822|    for (size_t ii = 0; ii < sizeof(exts) / sizeof(exts[0]); ii++) {
  ------------------
  |  Branch (173:25): [True: 685, False: 137]
  ------------------
  174|       |        // Add only extensions which require > spv1.0 to save space in map
  175|    685|        if (exts[ii].minSpvVersion > EShTargetSpv_1_0) {
  ------------------
  |  Branch (175:13): [True: 685, False: 0]
  ------------------
  176|    685|            extensionMinSpv[exts[ii].extensionName] = exts[ii].minSpvVersion;
  177|    685|        }
  178|    685|    }
  179|       |
  180|    137|    extensionBehavior[E_GL_OES_texture_3D]                   = EBhDisable;
  181|    137|    extensionBehavior[E_GL_OES_standard_derivatives]         = EBhDisable;
  182|    137|    extensionBehavior[E_GL_EXT_frag_depth]                   = EBhDisable;
  183|    137|    extensionBehavior[E_GL_OES_EGL_image_external]           = EBhDisable;
  184|    137|    extensionBehavior[E_GL_OES_EGL_image_external_essl3]     = EBhDisable;
  185|    137|    extensionBehavior[E_GL_EXT_YUV_target]                   = EBhDisable;
  186|    137|    extensionBehavior[E_GL_EXT_shader_texture_lod]           = EBhDisable;
  187|    137|    extensionBehavior[E_GL_EXT_shadow_samplers]              = EBhDisable;
  188|    137|    extensionBehavior[E_GL_ARB_texture_rectangle]            = EBhDisable;
  189|    137|    extensionBehavior[E_GL_3DL_array_objects]                = EBhDisable;
  190|    137|    extensionBehavior[E_GL_ARB_shading_language_420pack]     = EBhDisable;
  191|    137|    extensionBehavior[E_GL_ARB_texture_gather]               = EBhDisable;
  192|    137|    extensionBehavior[E_GL_ARB_gpu_shader5]                  = EBhDisable;
  193|    137|    extensionBehavior[E_GL_ARB_separate_shader_objects]      = EBhDisable;
  194|    137|    extensionBehavior[E_GL_ARB_compute_shader]               = EBhDisable;
  195|    137|    extensionBehavior[E_GL_ARB_tessellation_shader]          = EBhDisable;
  196|    137|    extensionBehavior[E_GL_ARB_enhanced_layouts]             = EBhDisable;
  197|    137|    extensionBehavior[E_GL_ARB_texture_cube_map_array]       = EBhDisable;
  198|    137|    extensionBehavior[E_GL_ARB_texture_multisample]          = EBhDisable;
  199|    137|    extensionBehavior[E_GL_ARB_shader_texture_lod]           = EBhDisable;
  200|    137|    extensionBehavior[E_GL_ARB_explicit_attrib_location]     = EBhDisable;
  201|    137|    extensionBehavior[E_GL_ARB_explicit_uniform_location]    = EBhDisable;
  202|    137|    extensionBehavior[E_GL_ARB_shader_image_load_store]      = EBhDisable;
  203|    137|    extensionBehavior[E_GL_ARB_shader_atomic_counters]       = EBhDisable;
  204|    137|    extensionBehavior[E_GL_ARB_shader_atomic_counter_ops]    = EBhDisable;
  205|    137|    extensionBehavior[E_GL_ARB_shader_draw_parameters]       = EBhDisable;
  206|    137|    extensionBehavior[E_GL_ARB_shader_group_vote]            = EBhDisable;
  207|    137|    extensionBehavior[E_GL_ARB_derivative_control]           = EBhDisable;
  208|    137|    extensionBehavior[E_GL_ARB_shader_texture_image_samples] = EBhDisable;
  209|    137|    extensionBehavior[E_GL_ARB_viewport_array]               = EBhDisable;
  210|    137|    extensionBehavior[E_GL_ARB_gpu_shader_int64]             = EBhDisable;
  211|    137|    extensionBehavior[E_GL_ARB_gpu_shader_fp64]              = EBhDisable;
  212|    137|    extensionBehavior[E_GL_ARB_shader_ballot]                = EBhDisable;
  213|    137|    extensionBehavior[E_GL_ARB_sparse_texture2]              = EBhDisable;
  214|    137|    extensionBehavior[E_GL_ARB_sparse_texture_clamp]         = EBhDisable;
  215|    137|    extensionBehavior[E_GL_ARB_shader_stencil_export]        = EBhDisable;
  216|       |//    extensionBehavior[E_GL_ARB_cull_distance]                = EBhDisable;    // present for 4.5, but need extension control over block members
  217|    137|    extensionBehavior[E_GL_ARB_post_depth_coverage]          = EBhDisable;
  218|    137|    extensionBehavior[E_GL_ARB_shader_viewport_layer_array]  = EBhDisable;
  219|    137|    extensionBehavior[E_GL_ARB_fragment_shader_interlock]    = EBhDisable;
  220|    137|    extensionBehavior[E_GL_ARB_shader_clock]                 = EBhDisable;
  221|    137|    extensionBehavior[E_GL_ARB_uniform_buffer_object]        = EBhDisable;
  222|    137|    extensionBehavior[E_GL_ARB_sample_shading]               = EBhDisable;
  223|    137|    extensionBehavior[E_GL_ARB_shader_bit_encoding]          = EBhDisable;
  224|    137|    extensionBehavior[E_GL_ARB_shader_image_size]            = EBhDisable;
  225|    137|    extensionBehavior[E_GL_ARB_shader_storage_buffer_object] = EBhDisable;
  226|    137|    extensionBehavior[E_GL_ARB_shading_language_packing]     = EBhDisable;
  227|    137|    extensionBehavior[E_GL_ARB_texture_query_lod]            = EBhDisable;
  228|    137|    extensionBehavior[E_GL_ARB_vertex_attrib_64bit]          = EBhDisable;
  229|    137|    extensionBehavior[E_GL_NV_gpu_shader5]                   = EBhDisable;
  230|    137|    extensionBehavior[E_GL_ARB_draw_instanced]               = EBhDisable;
  231|    137|    extensionBehavior[E_GL_ARB_bindless_texture]             = EBhDisable;
  232|    137|    extensionBehavior[E_GL_ARB_fragment_coord_conventions]   = EBhDisable;
  233|    137|    extensionBehavior[E_GL_ARB_conservative_depth]           = EBhDisable;
  234|       |
  235|       |
  236|    137|    extensionBehavior[E_GL_KHR_shader_subgroup_basic]            = EBhDisable;
  237|    137|    extensionBehavior[E_GL_KHR_shader_subgroup_vote]             = EBhDisable;
  238|    137|    extensionBehavior[E_GL_KHR_shader_subgroup_arithmetic]       = EBhDisable;
  239|    137|    extensionBehavior[E_GL_KHR_shader_subgroup_ballot]           = EBhDisable;
  240|    137|    extensionBehavior[E_GL_KHR_shader_subgroup_shuffle]          = EBhDisable;
  241|    137|    extensionBehavior[E_GL_KHR_shader_subgroup_shuffle_relative] = EBhDisable;
  242|    137|    extensionBehavior[E_GL_KHR_shader_subgroup_rotate]           = EBhDisable;
  243|    137|    extensionBehavior[E_GL_KHR_shader_subgroup_clustered]        = EBhDisable;
  244|    137|    extensionBehavior[E_GL_KHR_shader_subgroup_quad]             = EBhDisable;
  245|    137|    extensionBehavior[E_GL_KHR_memory_scope_semantics]           = EBhDisable;
  246|       |
  247|    137|    extensionBehavior[E_GL_EXT_shader_atomic_int64]              = EBhDisable;
  248|       |
  249|    137|    extensionBehavior[E_GL_EXT_shader_non_constant_global_initializers] = EBhDisable;
  250|    137|    extensionBehavior[E_GL_EXT_shader_image_load_formatted]             = EBhDisable;
  251|    137|    extensionBehavior[E_GL_EXT_post_depth_coverage]                     = EBhDisable;
  252|    137|    extensionBehavior[E_GL_EXT_control_flow_attributes]                 = EBhDisable;
  253|    137|    extensionBehavior[E_GL_EXT_nonuniform_qualifier]                    = EBhDisable;
  254|    137|    extensionBehavior[E_GL_EXT_samplerless_texture_functions]           = EBhDisable;
  255|    137|    extensionBehavior[E_GL_EXT_scalar_block_layout]                     = EBhDisable;
  256|    137|    extensionBehavior[E_GL_EXT_fragment_invocation_density]             = EBhDisable;
  257|    137|    extensionBehavior[E_GL_EXT_buffer_reference]                        = EBhDisable;
  258|    137|    extensionBehavior[E_GL_EXT_buffer_reference2]                       = EBhDisable;
  259|    137|    extensionBehavior[E_GL_EXT_buffer_reference_uvec2]                  = EBhDisable;
  260|    137|    extensionBehavior[E_GL_EXT_demote_to_helper_invocation]             = EBhDisable;
  261|    137|    extensionBehavior[E_GL_EXT_debug_printf]                            = EBhDisable;
  262|       |
  263|    137|    extensionBehavior[E_GL_EXT_shader_16bit_storage]                    = EBhDisable;
  264|    137|    extensionBehavior[E_GL_EXT_shader_8bit_storage]                     = EBhDisable;
  265|    137|    extensionBehavior[E_GL_EXT_subgroup_uniform_control_flow]           = EBhDisable;
  266|    137|    extensionBehavior[E_GL_EXT_maximal_reconvergence]                   = EBhDisable;
  267|       |
  268|    137|    extensionBehavior[E_GL_EXT_fragment_shader_barycentric]             = EBhDisable;
  269|    137|    extensionBehavior[E_GL_EXT_expect_assume]                           = EBhDisable;
  270|       |
  271|    137|    extensionBehavior[E_GL_EXT_control_flow_attributes2]                = EBhDisable;
  272|    137|    extensionBehavior[E_GL_EXT_spec_constant_composites]                = EBhDisable;
  273|    137|    extensionBehavior[E_GL_EXT_abort]                                   = EBhDisable;
  274|       |
  275|    137|    extensionBehavior[E_GL_KHR_cooperative_matrix]                      = EBhDisable;
  276|    137|    extensionBehavior[E_GL_NV_cooperative_vector]                       = EBhDisable;
  277|       |
  278|       |    // #line and #include
  279|    137|    extensionBehavior[E_GL_GOOGLE_cpp_style_line_directive]          = EBhDisable;
  280|    137|    extensionBehavior[E_GL_GOOGLE_include_directive]                 = EBhDisable;
  281|    137|    extensionBehavior[E_GL_ARB_shading_language_include]             = EBhDisable;
  282|       |
  283|    137|    extensionBehavior[E_GL_AMD_shader_ballot]                        = EBhDisable;
  284|    137|    extensionBehavior[E_GL_AMD_shader_trinary_minmax]                = EBhDisable;
  285|    137|    extensionBehavior[E_GL_AMD_shader_explicit_vertex_parameter]     = EBhDisable;
  286|    137|    extensionBehavior[E_GL_AMD_gcn_shader]                           = EBhDisable;
  287|    137|    extensionBehavior[E_GL_AMD_gpu_shader_half_float]                = EBhDisable;
  288|    137|    extensionBehavior[E_GL_AMD_texture_gather_bias_lod]              = EBhDisable;
  289|    137|    extensionBehavior[E_GL_AMD_gpu_shader_int16]                     = EBhDisable;
  290|    137|    extensionBehavior[E_GL_AMD_shader_image_load_store_lod]          = EBhDisable;
  291|    137|    extensionBehavior[E_GL_AMD_shader_fragment_mask]                 = EBhDisable;
  292|    137|    extensionBehavior[E_GL_AMD_gpu_shader_half_float_fetch]          = EBhDisable;
  293|    137|    extensionBehavior[E_GL_AMD_shader_early_and_late_fragment_tests] = EBhDisable;
  294|       |
  295|    137|    extensionBehavior[E_GL_INTEL_shader_integer_functions2]          = EBhDisable;
  296|       |
  297|    137|    extensionBehavior[E_GL_NV_sample_mask_override_coverage]         = EBhDisable;
  298|    137|    extensionBehavior[E_SPV_NV_geometry_shader_passthrough]          = EBhDisable;
  299|    137|    extensionBehavior[E_GL_NV_viewport_array2]                       = EBhDisable;
  300|    137|    extensionBehavior[E_GL_NV_stereo_view_rendering]                 = EBhDisable;
  301|    137|    extensionBehavior[E_GL_NVX_multiview_per_view_attributes]        = EBhDisable;
  302|    137|    extensionBehavior[E_GL_NV_shader_atomic_int64]                   = EBhDisable;
  303|    137|    extensionBehavior[E_GL_NV_conservative_raster_underestimation]   = EBhDisable;
  304|    137|    extensionBehavior[E_GL_NV_shader_noperspective_interpolation]    = EBhDisable;
  305|    137|    extensionBehavior[E_GL_NV_shader_subgroup_partitioned]           = EBhDisable;
  306|    137|    extensionBehavior[E_GL_NV_shading_rate_image]                    = EBhDisable;
  307|    137|    extensionBehavior[E_GL_NV_ray_tracing]                           = EBhDisable;
  308|    137|    extensionBehavior[E_GL_NV_ray_tracing_motion_blur]               = EBhDisable;
  309|    137|    extensionBehavior[E_GL_NV_fragment_shader_barycentric]           = EBhDisable;
  310|    137|    extensionBehavior[E_GL_KHR_compute_shader_derivatives]           = EBhDisable;
  311|    137|    extensionBehavior[E_GL_NV_compute_shader_derivatives]            = EBhDisable;
  312|    137|    extensionBehavior[E_GL_NV_shader_texture_footprint]              = EBhDisable;
  313|    137|    extensionBehavior[E_GL_NV_mesh_shader]                           = EBhDisable;
  314|    137|    extensionBehavior[E_GL_NV_cooperative_matrix]                    = EBhDisable;
  315|    137|    extensionBehavior[E_GL_NV_shader_sm_builtins]                    = EBhDisable;
  316|    137|    extensionBehavior[E_GL_NV_integer_cooperative_matrix]            = EBhDisable;
  317|    137|    extensionBehavior[E_GL_NV_shader_invocation_reorder]             = EBhDisable;
  318|    137|    extensionBehavior[E_GL_NV_displacement_micromap]                 = EBhDisable;
  319|    137|    extensionBehavior[E_GL_NV_shader_atomic_fp16_vector]             = EBhDisable;
  320|    137|    extensionBehavior[E_GL_NV_cooperative_matrix2]                   = EBhDisable;
  321|    137|    extensionBehavior[E_GL_NV_cooperative_matrix_decode_vector]      = EBhDisable;
  322|    137|    extensionBehavior[E_GL_NV_cluster_acceleration_structure]        = EBhDisable;
  323|    137|    extensionBehavior[E_GL_NV_linear_swept_spheres]                  = EBhDisable;
  324|    137|    extensionBehavior[E_GL_NV_push_constant_bank]                    = EBhDisable;
  325|    137|    extensionBehavior[E_GL_NV_explicit_typecast]                     = EBhDisable;
  326|       |
  327|       |    // ARM
  328|    137|    extensionBehavior[E_GL_ARM_shader_core_builtins]                 = EBhDisable;
  329|    137|    extensionBehavior[E_GL_ARM_tensors]                              = EBhDisable;
  330|    137|    extensionBehavior[E_GL_ARM_tensors_bfloat16]                     = EBhDisable;
  331|    137|    extensionBehavior[E_GL_ARM_tensors_float_e5m2]                   = EBhDisable;
  332|    137|    extensionBehavior[E_GL_ARM_tensors_float_e4m3]                   = EBhDisable;
  333|       |
  334|       |    // QCOM
  335|    137|    extensionBehavior[E_GL_QCOM_image_processing]                    = EBhDisable;
  336|    137|    extensionBehavior[E_GL_QCOM_image_processing2]                   = EBhDisable;
  337|    137|    extensionBehavior[E_GL_QCOM_tile_shading]                        = EBhDisable;
  338|    137|    extensionBehavior[E_GL_QCOM_cooperative_matrix_conversion]       = EBhDisable;
  339|       |
  340|       |    // AEP
  341|    137|    extensionBehavior[E_GL_ANDROID_extension_pack_es31a]             = EBhDisable;
  342|    137|    extensionBehavior[E_GL_KHR_blend_equation_advanced]              = EBhDisable;
  343|    137|    extensionBehavior[E_GL_OES_sample_variables]                     = EBhDisable;
  344|    137|    extensionBehavior[E_GL_OES_shader_image_atomic]                  = EBhDisable;
  345|    137|    extensionBehavior[E_GL_OES_shader_multisample_interpolation]     = EBhDisable;
  346|    137|    extensionBehavior[E_GL_OES_texture_storage_multisample_2d_array] = EBhDisable;
  347|    137|    extensionBehavior[E_GL_EXT_geometry_shader]                      = EBhDisable;
  348|    137|    extensionBehavior[E_GL_EXT_geometry_point_size]                  = EBhDisable;
  349|    137|    extensionBehavior[E_GL_EXT_gpu_shader5]                          = EBhDisable;
  350|    137|    extensionBehavior[E_GL_EXT_primitive_bounding_box]               = EBhDisable;
  351|    137|    extensionBehavior[E_GL_EXT_shader_io_blocks]                     = EBhDisable;
  352|    137|    extensionBehavior[E_GL_EXT_tessellation_shader]                  = EBhDisable;
  353|    137|    extensionBehavior[E_GL_EXT_tessellation_point_size]              = EBhDisable;
  354|    137|    extensionBehavior[E_GL_EXT_texture_buffer]                       = EBhDisable;
  355|    137|    extensionBehavior[E_GL_EXT_texture_cube_map_array]               = EBhDisable;
  356|    137|    extensionBehavior[E_GL_EXT_null_initializer]                     = EBhDisable;
  357|    137|    extensionBehavior[E_GL_EXT_descriptor_heap]                      = EBhDisable;
  358|       |
  359|       |    // OES matching AEP
  360|    137|    extensionBehavior[E_GL_OES_geometry_shader]          = EBhDisable;
  361|    137|    extensionBehavior[E_GL_OES_geometry_point_size]      = EBhDisable;
  362|    137|    extensionBehavior[E_GL_OES_gpu_shader5]              = EBhDisable;
  363|    137|    extensionBehavior[E_GL_OES_primitive_bounding_box]   = EBhDisable;
  364|    137|    extensionBehavior[E_GL_OES_shader_io_blocks]         = EBhDisable;
  365|    137|    extensionBehavior[E_GL_OES_tessellation_shader]      = EBhDisable;
  366|    137|    extensionBehavior[E_GL_OES_tessellation_point_size]  = EBhDisable;
  367|    137|    extensionBehavior[E_GL_OES_texture_buffer]           = EBhDisable;
  368|    137|    extensionBehavior[E_GL_OES_texture_cube_map_array]   = EBhDisable;
  369|    137|    extensionBehavior[E_GL_EXT_shader_integer_mix]       = EBhDisable;
  370|       |
  371|       |    // EXT extensions
  372|    137|    extensionBehavior[E_GL_EXT_device_group]                = EBhDisable;
  373|    137|    extensionBehavior[E_GL_EXT_multiview]                   = EBhDisable;
  374|    137|    extensionBehavior[E_GL_EXT_shader_realtime_clock]       = EBhDisable;
  375|    137|    extensionBehavior[E_GL_EXT_ray_tracing]                 = EBhDisable;
  376|    137|    extensionBehavior[E_GL_EXT_ray_query]                   = EBhDisable;
  377|    137|    extensionBehavior[E_GL_EXT_ray_flags_primitive_culling] = EBhDisable;
  378|    137|    extensionBehavior[E_GL_EXT_ray_cull_mask]               = EBhDisable;
  379|    137|    extensionBehavior[E_GL_EXT_blend_func_extended]         = EBhDisable;
  380|    137|    extensionBehavior[E_GL_EXT_shader_implicit_conversions] = EBhDisable;
  381|    137|    extensionBehavior[E_GL_EXT_fragment_shading_rate]       = EBhDisable;
  382|    137|    extensionBehavior[E_GL_EXT_shader_image_int64]          = EBhDisable;
  383|    137|    extensionBehavior[E_GL_EXT_terminate_invocation]        = EBhDisable;
  384|    137|    extensionBehavior[E_GL_EXT_shared_memory_block]         = EBhDisable;
  385|    137|    extensionBehavior[E_GL_EXT_spirv_intrinsics]            = EBhDisable;
  386|    137|    extensionBehavior[E_GL_EXT_mesh_shader]                 = EBhDisable;
  387|    137|    extensionBehavior[E_GL_EXT_opacity_micromap]            = EBhDisable;
  388|    137|    extensionBehavior[E_GL_EXT_shader_quad_control]         = EBhDisable;
  389|    137|    extensionBehavior[E_GL_EXT_ray_tracing_position_fetch]  = EBhDisable;
  390|    137|    extensionBehavior[E_GL_EXT_shader_tile_image]           = EBhDisable;
  391|    137|    extensionBehavior[E_GL_EXT_texture_shadow_lod]          = EBhDisable;
  392|    137|    extensionBehavior[E_GL_EXT_draw_instanced]              = EBhDisable;
  393|    137|    extensionBehavior[E_GL_EXT_texture_array]               = EBhDisable;
  394|    137|    extensionBehavior[E_GL_EXT_texture_offset_non_const]    = EBhDisable;
  395|    137|    extensionBehavior[E_GL_EXT_nontemporal_keyword]         = EBhDisable;
  396|    137|    extensionBehavior[E_GL_EXT_bfloat16]                    = EBhDisable;
  397|    137|    extensionBehavior[E_GL_EXT_float_e4m3]                  = EBhDisable;
  398|    137|    extensionBehavior[E_GL_EXT_float_e5m2]                  = EBhDisable;
  399|    137|    extensionBehavior[E_GL_EXT_uniform_buffer_unsized_array] = EBhDisable;
  400|    137|    extensionBehavior[E_GL_EXT_shader_64bit_indexing]       = EBhDisable;
  401|    137|    extensionBehavior[E_GL_EXT_conservative_depth]          = EBhDisable;
  402|    137|    extensionBehavior[E_GL_EXT_long_vector]                 = EBhDisable;
  403|       |
  404|       |    // OVR extensions
  405|    137|    extensionBehavior[E_GL_OVR_multiview]                = EBhDisable;
  406|    137|    extensionBehavior[E_GL_OVR_multiview2]               = EBhDisable;
  407|       |
  408|       |    // explicit types
  409|    137|    extensionBehavior[E_GL_EXT_shader_explicit_arithmetic_types]         = EBhDisable;
  410|    137|    extensionBehavior[E_GL_EXT_shader_explicit_arithmetic_types_int8]    = EBhDisable;
  411|    137|    extensionBehavior[E_GL_EXT_shader_explicit_arithmetic_types_int16]   = EBhDisable;
  412|    137|    extensionBehavior[E_GL_EXT_shader_explicit_arithmetic_types_int32]   = EBhDisable;
  413|    137|    extensionBehavior[E_GL_EXT_shader_explicit_arithmetic_types_int64]   = EBhDisable;
  414|    137|    extensionBehavior[E_GL_EXT_shader_explicit_arithmetic_types_float16] = EBhDisable;
  415|    137|    extensionBehavior[E_GL_EXT_shader_explicit_arithmetic_types_float32] = EBhDisable;
  416|    137|    extensionBehavior[E_GL_EXT_shader_explicit_arithmetic_types_float64] = EBhDisable;
  417|       |
  418|       |    // subgroup extended types
  419|    137|    extensionBehavior[E_GL_EXT_shader_subgroup_extended_types_int8]    = EBhDisable;
  420|    137|    extensionBehavior[E_GL_EXT_shader_subgroup_extended_types_int16]   = EBhDisable;
  421|    137|    extensionBehavior[E_GL_EXT_shader_subgroup_extended_types_int64]   = EBhDisable;
  422|    137|    extensionBehavior[E_GL_EXT_shader_subgroup_extended_types_float16] = EBhDisable;
  423|    137|    extensionBehavior[E_GL_EXT_shader_atomic_float]                    = EBhDisable;
  424|    137|    extensionBehavior[E_GL_EXT_shader_atomic_float2]                   = EBhDisable;
  425|       |
  426|    137|    extensionBehavior[E_GL_EXT_integer_dot_product]                    = EBhDisable;
  427|       |
  428|    137|    extensionBehavior[E_GL_EXT_shader_invocation_reorder]              = EBhDisable;
  429|       |
  430|       |    // Record extensions not for spv.
  431|    137|    spvUnsupportedExt.push_back(E_GL_ARB_bindless_texture);
  432|    137|}
_ZN7glslang14TParseVersions11getPreambleERNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
  437|    137|{
  438|    137|    if (isEsProfile()) {
  ------------------
  |  Branch (438:9): [True: 15, False: 122]
  ------------------
  439|     15|        preamble =
  440|     15|            "#define GL_ES 1\n"
  441|     15|            "#define GL_FRAGMENT_PRECISION_HIGH 1\n"
  442|     15|            "#define GL_OES_texture_3D 1\n"
  443|     15|            "#define GL_OES_standard_derivatives 1\n"
  444|     15|            "#define GL_EXT_frag_depth 1\n"
  445|     15|            "#define GL_OES_EGL_image_external 1\n"
  446|     15|            "#define GL_OES_EGL_image_external_essl3 1\n"
  447|     15|            "#define GL_EXT_YUV_target 1\n"
  448|     15|            "#define GL_EXT_shader_texture_lod 1\n"
  449|     15|            "#define GL_EXT_shadow_samplers 1\n"
  450|     15|            "#define GL_EXT_fragment_shading_rate 1\n"
  451|     15|            "#define GL_EXT_conservative_depth 1\n"
  452|       |
  453|       |            // AEP
  454|     15|            "#define GL_ANDROID_extension_pack_es31a 1\n"
  455|     15|            "#define GL_OES_sample_variables 1\n"
  456|     15|            "#define GL_OES_shader_image_atomic 1\n"
  457|     15|            "#define GL_OES_shader_multisample_interpolation 1\n"
  458|     15|            "#define GL_OES_texture_storage_multisample_2d_array 1\n"
  459|     15|            "#define GL_EXT_geometry_shader 1\n"
  460|     15|            "#define GL_EXT_geometry_point_size 1\n"
  461|     15|            "#define GL_EXT_gpu_shader5 1\n"
  462|     15|            "#define GL_EXT_primitive_bounding_box 1\n"
  463|     15|            "#define GL_EXT_shader_io_blocks 1\n"
  464|     15|            "#define GL_EXT_tessellation_shader 1\n"
  465|     15|            "#define GL_EXT_tessellation_point_size 1\n"
  466|     15|            "#define GL_EXT_texture_buffer 1\n"
  467|     15|            "#define GL_EXT_texture_cube_map_array 1\n"
  468|     15|            "#define GL_EXT_shader_implicit_conversions 1\n"
  469|     15|            "#define GL_EXT_shader_integer_mix 1\n"
  470|     15|            "#define GL_EXT_blend_func_extended 1\n"
  471|     15|            "#define GL_EXT_descriptor_heap 1\n"
  472|       |
  473|       |            // OES matching AEP
  474|     15|            "#define GL_OES_geometry_shader 1\n"
  475|     15|            "#define GL_OES_geometry_point_size 1\n"
  476|     15|            "#define GL_OES_gpu_shader5 1\n"
  477|     15|            "#define GL_OES_primitive_bounding_box 1\n"
  478|     15|            "#define GL_OES_shader_io_blocks 1\n"
  479|     15|            "#define GL_OES_tessellation_shader 1\n"
  480|     15|            "#define GL_OES_tessellation_point_size 1\n"
  481|     15|            "#define GL_OES_texture_buffer 1\n"
  482|     15|            "#define GL_OES_texture_cube_map_array 1\n"
  483|     15|            "#define GL_EXT_shader_non_constant_global_initializers 1\n"
  484|       |
  485|     15|            "#define GL_QCOM_image_processing 1\n"
  486|     15|            "#define GL_QCOM_image_processing2 1\n"
  487|     15|            "#define GL_QCOM_tile_shading 1\n"
  488|     15|            "#define GL_QCOM_cooperative_matrix_conversion 1\n"
  489|     15|            ;
  490|       |
  491|     15|            if (version >= 300) {
  ------------------
  |  Branch (491:17): [True: 0, False: 15]
  ------------------
  492|      0|                preamble += "#define GL_NV_shader_noperspective_interpolation 1\n";
  493|      0|            }
  494|     15|            if (version >= 310) {
  ------------------
  |  Branch (494:17): [True: 0, False: 15]
  ------------------
  495|      0|                preamble += "#define GL_EXT_null_initializer 1\n";
  496|      0|                preamble += "#define GL_EXT_subgroup_uniform_control_flow 1\n";
  497|      0|                preamble += "#define GL_EXT_maximal_reconvergence 1\n";
  498|      0|            }
  499|       |
  500|    122|    } else { // !isEsProfile()
  501|    122|        preamble =
  502|    122|            "#define GL_ARB_texture_rectangle 1\n"
  503|    122|            "#define GL_ARB_shading_language_420pack 1\n"
  504|    122|            "#define GL_ARB_texture_gather 1\n"
  505|    122|            "#define GL_ARB_gpu_shader5 1\n"
  506|    122|            "#define GL_ARB_separate_shader_objects 1\n"
  507|    122|            "#define GL_ARB_compute_shader 1\n"
  508|    122|            "#define GL_ARB_tessellation_shader 1\n"
  509|    122|            "#define GL_ARB_enhanced_layouts 1\n"
  510|    122|            "#define GL_ARB_texture_cube_map_array 1\n"
  511|    122|            "#define GL_ARB_texture_multisample 1\n"
  512|    122|            "#define GL_ARB_shader_texture_lod 1\n"
  513|    122|            "#define GL_ARB_explicit_attrib_location 1\n"
  514|    122|            "#define GL_ARB_explicit_uniform_location 1\n"
  515|    122|            "#define GL_ARB_shader_image_load_store 1\n"
  516|    122|            "#define GL_ARB_shader_atomic_counters 1\n"
  517|    122|            "#define GL_ARB_shader_draw_parameters 1\n"
  518|    122|            "#define GL_ARB_shader_group_vote 1\n"
  519|    122|            "#define GL_ARB_derivative_control 1\n"
  520|    122|            "#define GL_ARB_shader_texture_image_samples 1\n"
  521|    122|            "#define GL_ARB_viewport_array 1\n"
  522|    122|            "#define GL_ARB_gpu_shader_int64 1\n"
  523|    122|            "#define GL_ARB_gpu_shader_fp64 1\n"
  524|    122|            "#define GL_ARB_shader_ballot 1\n"
  525|    122|            "#define GL_ARB_sparse_texture2 1\n"
  526|    122|            "#define GL_ARB_sparse_texture_clamp 1\n"
  527|    122|            "#define GL_ARB_shader_stencil_export 1\n"
  528|    122|            "#define GL_ARB_sample_shading 1\n"
  529|    122|            "#define GL_ARB_shader_image_size 1\n"
  530|    122|            "#define GL_ARB_shading_language_packing 1\n"
  531|       |//            "#define GL_ARB_cull_distance 1\n"    // present for 4.5, but need extension control over block members
  532|    122|            "#define GL_ARB_post_depth_coverage 1\n"
  533|    122|            "#define GL_ARB_fragment_shader_interlock 1\n"
  534|    122|            "#define GL_ARB_uniform_buffer_object 1\n"
  535|    122|            "#define GL_ARB_shader_bit_encoding 1\n"
  536|    122|            "#define GL_ARB_shader_storage_buffer_object 1\n"
  537|    122|            "#define GL_ARB_texture_query_lod 1\n"
  538|    122|            "#define GL_ARB_vertex_attrib_64bit 1\n"
  539|    122|            "#define GL_NV_gpu_shader5 1\n"
  540|    122|            "#define GL_ARB_draw_instanced 1\n"
  541|    122|            "#define GL_ARB_fragment_coord_conventions 1\n"
  542|    122|            "#define GL_ARB_conservative_depth 1\n"
  543|       |
  544|    122|            "#define GL_EXT_shader_non_constant_global_initializers 1\n"
  545|    122|            "#define GL_EXT_shader_image_load_formatted 1\n"
  546|    122|            "#define GL_EXT_post_depth_coverage 1\n"
  547|    122|            "#define GL_EXT_control_flow_attributes 1\n"
  548|    122|            "#define GL_EXT_nonuniform_qualifier 1\n"
  549|    122|            "#define GL_EXT_shader_16bit_storage 1\n"
  550|    122|            "#define GL_EXT_shader_8bit_storage 1\n"
  551|    122|            "#define GL_EXT_samplerless_texture_functions 1\n"
  552|    122|            "#define GL_EXT_scalar_block_layout 1\n"
  553|    122|            "#define GL_EXT_fragment_invocation_density 1\n"
  554|    122|            "#define GL_EXT_buffer_reference 1\n"
  555|    122|            "#define GL_EXT_buffer_reference2 1\n"
  556|    122|            "#define GL_EXT_buffer_reference_uvec2 1\n"
  557|    122|            "#define GL_EXT_demote_to_helper_invocation 1\n"
  558|    122|            "#define GL_EXT_debug_printf 1\n"
  559|    122|            "#define GL_EXT_fragment_shading_rate 1\n"
  560|    122|            "#define GL_EXT_shared_memory_block 1\n"
  561|    122|            "#define GL_EXT_shader_integer_mix 1\n"
  562|    122|            "#define GL_EXT_spec_constant_composites 1\n"
  563|    122|            "#define GL_EXT_abort 1\n"
  564|       |
  565|       |            // GL_KHR_shader_subgroup
  566|    122|            "#define GL_KHR_shader_subgroup_basic 1\n"
  567|    122|            "#define GL_KHR_shader_subgroup_vote 1\n"
  568|    122|            "#define GL_KHR_shader_subgroup_arithmetic 1\n"
  569|    122|            "#define GL_KHR_shader_subgroup_ballot 1\n"
  570|    122|            "#define GL_KHR_shader_subgroup_shuffle 1\n"
  571|    122|            "#define GL_KHR_shader_subgroup_shuffle_relative 1\n"
  572|    122|            "#define GL_KHR_shader_subgroup_clustered 1\n"
  573|    122|            "#define GL_KHR_shader_subgroup_quad 1\n"
  574|       |
  575|    122|            "#define GL_KHR_cooperative_matrix 1\n"
  576|       |
  577|    122|            "#define GL_EXT_shader_image_int64 1\n"
  578|    122|            "#define GL_EXT_shader_atomic_int64 1\n"
  579|    122|            "#define GL_EXT_shader_realtime_clock 1\n"
  580|    122|            "#define GL_EXT_ray_tracing 1\n"
  581|    122|            "#define GL_EXT_ray_query 1\n"
  582|    122|            "#define GL_EXT_ray_flags_primitive_culling 1\n"
  583|    122|            "#define GL_EXT_ray_cull_mask 1\n"
  584|    122|            "#define GL_EXT_ray_tracing_position_fetch 1\n"
  585|    122|            "#define GL_EXT_spirv_intrinsics 1\n"
  586|    122|            "#define GL_EXT_mesh_shader 1\n"
  587|       |
  588|    122|            "#define GL_AMD_shader_ballot 1\n"
  589|    122|            "#define GL_AMD_shader_trinary_minmax 1\n"
  590|    122|            "#define GL_AMD_shader_explicit_vertex_parameter 1\n"
  591|    122|            "#define GL_AMD_gcn_shader 1\n"
  592|    122|            "#define GL_AMD_gpu_shader_half_float 1\n"
  593|    122|            "#define GL_AMD_texture_gather_bias_lod 1\n"
  594|    122|            "#define GL_AMD_gpu_shader_int16 1\n"
  595|    122|            "#define GL_AMD_shader_image_load_store_lod 1\n"
  596|    122|            "#define GL_AMD_shader_fragment_mask 1\n"
  597|    122|            "#define GL_AMD_gpu_shader_half_float_fetch 1\n"
  598|       |
  599|    122|            "#define GL_INTEL_shader_integer_functions2 1\n"
  600|       |
  601|    122|            "#define GL_NV_sample_mask_override_coverage 1\n"
  602|    122|            "#define GL_NV_geometry_shader_passthrough 1\n"
  603|    122|            "#define GL_NV_viewport_array2 1\n"
  604|    122|            "#define GL_NV_shader_atomic_int64 1\n"
  605|    122|            "#define GL_NV_conservative_raster_underestimation 1\n"
  606|    122|            "#define GL_NV_shader_subgroup_partitioned 1\n"
  607|    122|            "#define GL_NV_shading_rate_image 1\n"
  608|    122|            "#define GL_NV_ray_tracing 1\n"
  609|    122|            "#define GL_NV_ray_tracing_motion_blur 1\n"
  610|    122|            "#define GL_NV_fragment_shader_barycentric 1\n"
  611|    122|            "#define GL_KHR_compute_shader_derivatives 1\n"
  612|    122|            "#define GL_NV_compute_shader_derivatives 1\n"
  613|    122|            "#define GL_NV_shader_texture_footprint 1\n"
  614|    122|            "#define GL_NV_mesh_shader 1\n"
  615|    122|            "#define GL_NV_cooperative_matrix 1\n"
  616|    122|            "#define GL_NV_integer_cooperative_matrix 1\n"
  617|    122|            "#define GL_NV_shader_invocation_reorder 1\n"
  618|    122|            "#define GL_NV_cooperative_matrix2 1\n"
  619|    122|            "#define GL_NV_cooperative_matrix_decode_vector 1\n"
  620|    122|            "#define GL_NV_explicit_typecast 1\n"
  621|       |
  622|    122|            "#define GL_QCOM_image_processing 1\n"
  623|    122|            "#define GL_QCOM_image_processing2 1\n"
  624|    122|            "#define GL_QCOM_tile_shading 1\n"
  625|    122|            "#define GL_QCOM_cooperative_matrix_conversion 1\n"
  626|       |
  627|    122|            "#define GL_EXT_shader_explicit_arithmetic_types 1\n"
  628|    122|            "#define GL_EXT_shader_explicit_arithmetic_types_int8 1\n"
  629|    122|            "#define GL_EXT_shader_explicit_arithmetic_types_int16 1\n"
  630|    122|            "#define GL_EXT_shader_explicit_arithmetic_types_int32 1\n"
  631|    122|            "#define GL_EXT_shader_explicit_arithmetic_types_int64 1\n"
  632|    122|            "#define GL_EXT_shader_explicit_arithmetic_types_float16 1\n"
  633|    122|            "#define GL_EXT_shader_explicit_arithmetic_types_float32 1\n"
  634|    122|            "#define GL_EXT_shader_explicit_arithmetic_types_float64 1\n"
  635|       |
  636|    122|            "#define GL_EXT_shader_subgroup_extended_types_int8 1\n"
  637|    122|            "#define GL_EXT_shader_subgroup_extended_types_int16 1\n"
  638|    122|            "#define GL_EXT_shader_subgroup_extended_types_int64 1\n"
  639|    122|            "#define GL_EXT_shader_subgroup_extended_types_float16 1\n"
  640|       |
  641|    122|            "#define GL_EXT_shader_atomic_float 1\n"
  642|    122|            "#define GL_EXT_shader_atomic_float2 1\n"
  643|       |
  644|    122|            "#define GL_EXT_fragment_shader_barycentric 1\n"
  645|    122|            "#define GL_EXT_shader_quad_control 1\n"
  646|    122|            "#define GL_EXT_texture_array 1\n"
  647|       |
  648|    122|            "#define GL_EXT_control_flow_attributes2 1\n"
  649|       |
  650|    122|            "#define GL_EXT_integer_dot_product 1\n"
  651|    122|            "#define GL_EXT_bfloat16 1\n"
  652|    122|            "#define GL_EXT_float_e5m2 1\n"
  653|    122|            "#define GL_EXT_float_e4m3 1\n"
  654|    122|            "#define GL_EXT_uniform_buffer_unsized_array 1\n"
  655|    122|            "#define GL_EXT_shader_64bit_indexing 1\n"
  656|       |
  657|    122|            "#define GL_EXT_shader_invocation_reorder 1\n"
  658|    122|            "#define GL_EXT_descriptor_heap 1\n"
  659|    122|            ;
  660|       |
  661|    122|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (661:13): [True: 122, False: 0]
  ------------------
  662|    122|            preamble += "#define GL_ARB_bindless_texture 1\n";
  663|    122|        }
  664|       |
  665|    122|        if (version >= 150) {
  ------------------
  |  Branch (665:13): [True: 122, False: 0]
  ------------------
  666|       |            // define GL_core_profile and GL_compatibility_profile
  667|    122|            preamble += "#define GL_core_profile 1\n";
  668|       |
  669|    122|            if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (669:17): [True: 0, False: 122]
  ------------------
  670|      0|                preamble += "#define GL_compatibility_profile 1\n";
  671|    122|        }
  672|    122|        if (version >= 140) {
  ------------------
  |  Branch (672:13): [True: 122, False: 0]
  ------------------
  673|    122|            preamble += "#define GL_EXT_null_initializer 1\n";
  674|    122|            preamble += "#define GL_EXT_subgroup_uniform_control_flow 1\n";
  675|    122|            preamble += "#define GL_EXT_maximal_reconvergence 1\n";
  676|    122|        }
  677|    122|        if (version >= 130) {
  ------------------
  |  Branch (677:13): [True: 122, False: 0]
  ------------------
  678|    122|            preamble +="#define GL_FRAGMENT_PRECISION_HIGH 1\n";
  679|    122|        }
  680|       |
  681|    122|        if (version >= 460) {
  ------------------
  |  Branch (681:13): [True: 110, False: 12]
  ------------------
  682|    110|            preamble +=
  683|    110|                "#define GL_ARM_tensors 1\n"
  684|    110|                "#define GL_ARM_tensors_bfloat16 1\n"
  685|    110|                "#define GL_ARM_tensors_float_e5m2 1\n"
  686|    110|                "#define GL_ARM_tensors_float_e4m3 1\n"
  687|    110|                ;
  688|    110|        }
  689|    122|    }
  690|       |
  691|    137|    if ((!isEsProfile() && version >= 460) ||
  ------------------
  |  Branch (691:10): [True: 122, False: 15]
  |  Branch (691:28): [True: 110, False: 12]
  ------------------
  692|    110|        (isEsProfile() && version >= 320)) {
  ------------------
  |  Branch (692:10): [True: 15, False: 12]
  |  Branch (692:27): [True: 0, False: 15]
  ------------------
  693|    110|        preamble += "#define GL_EXT_nontemporal_keyword 1\n";
  694|    110|    }
  695|       |
  696|    137|    if ((!isEsProfile() && version >= 140) ||
  ------------------
  |  Branch (696:10): [True: 122, False: 15]
  |  Branch (696:28): [True: 122, False: 0]
  ------------------
  697|    122|        (isEsProfile() && version >= 310)) {
  ------------------
  |  Branch (697:10): [True: 15, False: 0]
  |  Branch (697:27): [True: 0, False: 15]
  ------------------
  698|    122|        preamble +=
  699|    122|            "#define GL_EXT_device_group 1\n"
  700|    122|            "#define GL_EXT_multiview 1\n"
  701|    122|            "#define GL_NV_shader_sm_builtins 1\n"
  702|    122|            ;
  703|    122|    }
  704|       |
  705|    137|    if ((!isEsProfile() && version >= 130) ||
  ------------------
  |  Branch (705:10): [True: 122, False: 15]
  |  Branch (705:28): [True: 122, False: 0]
  ------------------
  706|    122|        (isEsProfile() && version >= 300)) {
  ------------------
  |  Branch (706:10): [True: 15, False: 0]
  |  Branch (706:27): [True: 0, False: 15]
  ------------------
  707|    122|        preamble += "#define GL_EXT_texture_offset_non_const 1\n";
  708|    122|    }
  709|       |
  710|    137|    if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (710:9): [True: 122, False: 15]
  ------------------
  711|    122|        preamble +=
  712|    122|            "#define GL_OVR_multiview 1\n"
  713|    122|            "#define GL_OVR_multiview2 1\n"
  714|    122|            ;
  715|    122|    }
  716|       |
  717|       |    // #line and #include
  718|    137|    preamble +=
  719|    137|            "#define GL_GOOGLE_cpp_style_line_directive 1\n"
  720|    137|            "#define GL_GOOGLE_include_directive 1\n"
  721|    137|            "#define GL_KHR_blend_equation_advanced 1\n"
  722|    137|            ;
  723|       |
  724|       |    // other general extensions
  725|    137|    preamble +=
  726|    137|            "#define GL_EXT_terminate_invocation 1\n"
  727|    137|            ;
  728|       |
  729|       |    // #define VULKAN XXXX
  730|    137|    const int numberBufSize = 12;
  731|    137|    char numberBuf[numberBufSize];
  732|    137|    if (spvVersion.vulkanGlsl > 0) {
  ------------------
  |  Branch (732:9): [True: 43, False: 94]
  ------------------
  733|     43|        preamble += "#define VULKAN ";
  734|     43|        snprintf(numberBuf, numberBufSize, "%d", spvVersion.vulkanGlsl);
  735|     43|        preamble += numberBuf;
  736|     43|        preamble += "\n";
  737|     43|    }
  738|       |
  739|       |    // #define GL_SPIRV XXXX
  740|    137|    if (spvVersion.openGl > 0) {
  ------------------
  |  Branch (740:9): [True: 0, False: 137]
  ------------------
  741|      0|        preamble += "#define GL_SPIRV ";
  742|      0|        snprintf(numberBuf, numberBufSize, "%d", spvVersion.openGl);
  743|      0|        preamble += numberBuf;
  744|      0|        preamble += "\n";
  745|      0|    }
  746|       |
  747|       |    // GL_EXT_spirv_intrinsics
  748|    137|    if (!isEsProfile()) {
  ------------------
  |  Branch (748:9): [True: 122, False: 15]
  ------------------
  749|    122|        switch (language) {
  750|    122|        case EShLangVertex:         preamble += "#define GL_VERTEX_SHADER 1 \n";                    break;
  ------------------
  |  Branch (750:9): [True: 122, False: 0]
  ------------------
  751|      0|        case EShLangTessControl:    preamble += "#define GL_TESSELLATION_CONTROL_SHADER 1 \n";      break;
  ------------------
  |  Branch (751:9): [True: 0, False: 122]
  ------------------
  752|      0|        case EShLangTessEvaluation: preamble += "#define GL_TESSELLATION_EVALUATION_SHADER 1 \n";   break;
  ------------------
  |  Branch (752:9): [True: 0, False: 122]
  ------------------
  753|      0|        case EShLangGeometry:       preamble += "#define GL_GEOMETRY_SHADER 1 \n";                  break;
  ------------------
  |  Branch (753:9): [True: 0, False: 122]
  ------------------
  754|      0|        case EShLangFragment:       preamble += "#define GL_FRAGMENT_SHADER 1 \n";                  break;
  ------------------
  |  Branch (754:9): [True: 0, False: 122]
  ------------------
  755|      0|        case EShLangCompute:        preamble += "#define GL_COMPUTE_SHADER 1 \n";                   break;
  ------------------
  |  Branch (755:9): [True: 0, False: 122]
  ------------------
  756|      0|        case EShLangRayGen:         preamble += "#define GL_RAY_GENERATION_SHADER_EXT 1 \n";        break;
  ------------------
  |  Branch (756:9): [True: 0, False: 122]
  ------------------
  757|      0|        case EShLangIntersect:      preamble += "#define GL_INTERSECTION_SHADER_EXT 1 \n";          break;
  ------------------
  |  Branch (757:9): [True: 0, False: 122]
  ------------------
  758|      0|        case EShLangAnyHit:         preamble += "#define GL_ANY_HIT_SHADER_EXT 1 \n";               break;
  ------------------
  |  Branch (758:9): [True: 0, False: 122]
  ------------------
  759|      0|        case EShLangClosestHit:     preamble += "#define GL_CLOSEST_HIT_SHADER_EXT 1 \n";           break;
  ------------------
  |  Branch (759:9): [True: 0, False: 122]
  ------------------
  760|      0|        case EShLangMiss:           preamble += "#define GL_MISS_SHADER_EXT 1 \n";                  break;
  ------------------
  |  Branch (760:9): [True: 0, False: 122]
  ------------------
  761|      0|        case EShLangCallable:       preamble += "#define GL_CALLABLE_SHADER_EXT 1 \n";              break;
  ------------------
  |  Branch (761:9): [True: 0, False: 122]
  ------------------
  762|      0|        case EShLangTask:           preamble += "#define GL_TASK_SHADER_EXT 1 \n";                  break;
  ------------------
  |  Branch (762:9): [True: 0, False: 122]
  ------------------
  763|      0|        case EShLangMesh:           preamble += "#define GL_MESH_SHADER_EXT 1 \n";                  break;
  ------------------
  |  Branch (763:9): [True: 0, False: 122]
  ------------------
  764|      0|        default:                                                                                    break;
  ------------------
  |  Branch (764:9): [True: 0, False: 122]
  ------------------
  765|    122|        }
  766|    122|    }
  767|    137|}
_ZN7glslang14TParseVersions12requireStageERKNS_10TSourceLocE15EShLanguageMaskPKc:
  801|    571|{
  802|    571|    if (((1 << language) & languageMask) == 0)
  ------------------
  |  Branch (802:9): [True: 0, False: 571]
  ------------------
  803|      0|        error(loc, "not supported in this stage:", featureDesc, StageName(language));
  804|    571|}
_ZN7glslang14TParseVersions12requireStageERKNS_10TSourceLocE11EShLanguagePKc:
  809|    157|{
  810|    157|    requireStage(loc, static_cast<EShLanguageMask>(1 << stage), featureDesc);
  811|    157|}
_ZN7glslang14TParseVersions14requireProfileERKNS_10TSourceLocEiPKc:
  823|  33.1k|{
  824|  33.1k|    if (! (profile & profileMask))
  ------------------
  |  Branch (824:9): [True: 0, False: 33.1k]
  ------------------
  825|      0|        error(loc, "not supported with this profile:", featureDesc, ProfileName(profile));
  826|  33.1k|}
_ZN7glslang14TParseVersions15profileRequiresERKNS_10TSourceLocEiiiPKPKcS5_:
  847|   487k|{
  848|   487k|    if (profile & profileMask) {
  ------------------
  |  Branch (848:9): [True: 13.7k, False: 474k]
  ------------------
  849|  13.7k|        bool okay = minVersion > 0 && version >= minVersion;
  ------------------
  |  Branch (849:21): [True: 13.7k, False: 0]
  |  Branch (849:39): [True: 12.5k, False: 1.18k]
  ------------------
  850|  15.9k|        for (int i = 0; i < numExtensions; ++i) {
  ------------------
  |  Branch (850:25): [True: 2.16k, False: 13.7k]
  ------------------
  851|  2.16k|            switch (getExtensionBehavior(extensions[i])) {
  852|      0|            case EBhWarn:
  ------------------
  |  Branch (852:13): [True: 0, False: 2.16k]
  ------------------
  853|      0|                infoSink.info.message(EPrefixWarning, ("extension " + TString(extensions[i]) + " is being used for " + featureDesc).c_str(), loc, messages & EShMsgAbsolutePath, messages & EShMsgDisplayErrorColumn);
  854|      0|                [[fallthrough]];
  855|      0|            case EBhRequire:
  ------------------
  |  Branch (855:13): [True: 0, False: 2.16k]
  ------------------
  856|      0|            case EBhEnable:
  ------------------
  |  Branch (856:13): [True: 0, False: 2.16k]
  ------------------
  857|      0|                okay = true;
  858|      0|                break;
  859|  2.16k|            default: break; // some compilers want this
  ------------------
  |  Branch (859:13): [True: 2.16k, False: 0]
  ------------------
  860|  2.16k|            }
  861|  2.16k|        }
  862|  13.7k|        if (! okay)
  ------------------
  |  Branch (862:13): [True: 1.18k, False: 12.5k]
  ------------------
  863|  1.18k|            error(loc, "not supported for this version or the enabled extensions", featureDesc, "");
  864|  13.7k|    }
  865|   487k|}
_ZN7glslang14TParseVersions15profileRequiresERKNS_10TSourceLocEiiPKcS5_:
  870|   487k|{
  871|   487k|    profileRequires(loc, profileMask, minVersion, extension ? 1 : 0, &extension, featureDesc);
  ------------------
  |  Branch (871:51): [True: 28.5k, False: 458k]
  ------------------
  872|   487k|}
_ZN7glslang14TParseVersions15checkDeprecatedERKNS_10TSourceLocEiiPKc:
  884|     38|{
  885|     38|    if (profile & profileMask) {
  ------------------
  |  Branch (885:9): [True: 19, False: 19]
  ------------------
  886|     19|        if (version >= depVersion) {
  ------------------
  |  Branch (886:13): [True: 0, False: 19]
  ------------------
  887|      0|            if (forwardCompatible)
  ------------------
  |  Branch (887:17): [True: 0, False: 0]
  ------------------
  888|      0|                error(loc, "deprecated, may be removed in future release", featureDesc, "");
  889|      0|            else if (! suppressWarnings())
  ------------------
  |  Branch (889:22): [True: 0, False: 0]
  ------------------
  890|      0|                infoSink.info.message(EPrefixWarning, (TString(featureDesc) + " deprecated in version " +
  891|      0|                                                       String(depVersion) + "; may be removed in future release").c_str(), 
  892|      0|                                                       loc, messages & EShMsgAbsolutePath, messages & EShMsgDisplayErrorColumn);
  893|      0|        }
  894|     19|    }
  895|     38|}
_ZN7glslang14TParseVersions17requireNotRemovedERKNS_10TSourceLocEiiPKc:
  902|     38|{
  903|     38|    if (profile & profileMask) {
  ------------------
  |  Branch (903:9): [True: 0, False: 38]
  ------------------
  904|      0|        if (version >= removedVersion) {
  ------------------
  |  Branch (904:13): [True: 0, False: 0]
  ------------------
  905|      0|            const int maxSize = 60;
  906|      0|            char buf[maxSize];
  907|      0|            snprintf(buf, maxSize, "%s profile; removed in version %d", ProfileName(profile), removedVersion);
  908|      0|            error(loc, "no longer supported in", featureDesc, buf);
  909|      0|        }
  910|      0|    }
  911|     38|}
_ZN7glslang14TParseVersions24checkExtensionsRequestedERKNS_10TSourceLocEiPKPKcS5_:
  916|    129|{
  917|       |    // First, see if any of the extensions are enabled
  918|    258|    for (int i = 0; i < numExtensions; ++i) {
  ------------------
  |  Branch (918:21): [True: 129, False: 129]
  ------------------
  919|    129|        TExtensionBehavior behavior = getExtensionBehavior(extensions[i]);
  920|    129|        if (behavior == EBhEnable || behavior == EBhRequire)
  ------------------
  |  Branch (920:13): [True: 0, False: 129]
  |  Branch (920:38): [True: 0, False: 129]
  ------------------
  921|      0|            return true;
  922|    129|    }
  923|       |
  924|       |    // See if any extensions want to give a warning on use; give warnings for all such extensions
  925|    129|    bool warned = false;
  926|    258|    for (int i = 0; i < numExtensions; ++i) {
  ------------------
  |  Branch (926:21): [True: 129, False: 129]
  ------------------
  927|    129|        TExtensionBehavior behavior = getExtensionBehavior(extensions[i]);
  928|    129|        if (behavior == EBhDisable && relaxedErrors()) {
  ------------------
  |  Branch (928:13): [True: 0, False: 129]
  |  Branch (928:39): [True: 0, False: 0]
  ------------------
  929|      0|            infoSink.info.message(EPrefixWarning, "The following extension must be enabled to use this feature:", loc,
  930|      0|                                  messages & EShMsgAbsolutePath, messages & EShMsgDisplayErrorColumn);
  931|      0|            behavior = EBhWarn;
  932|      0|        }
  933|    129|        if (behavior == EBhWarn) {
  ------------------
  |  Branch (933:13): [True: 0, False: 129]
  ------------------
  934|      0|            infoSink.info.message(EPrefixWarning,
  935|      0|                                  ("extension " + TString(extensions[i]) + " is being used for " + featureDesc).c_str(),
  936|      0|                                  loc, messages & EShMsgAbsolutePath, messages & EShMsgDisplayErrorColumn);
  937|      0|            warned = true;
  938|      0|        }
  939|    129|    }
  940|    129|    if (warned)
  ------------------
  |  Branch (940:9): [True: 0, False: 129]
  ------------------
  941|      0|        return true;
  942|    129|    return false;
  943|    129|}
_ZN7glslang14TParseVersions20getExtensionBehaviorEPKc:
  986|   116k|{
  987|   116k|    auto iter = extensionBehavior.find(TString(extension));
  988|   116k|    if (iter == extensionBehavior.end())
  ------------------
  |  Branch (988:9): [True: 113k, False: 2.46k]
  ------------------
  989|   113k|        return EBhMissing;
  990|  2.46k|    else
  991|  2.46k|        return iter->second;
  992|   116k|}
_ZN7glslang14TParseVersions17extensionTurnedOnEPKc:
  996|   113k|{
  997|   113k|      switch (getExtensionBehavior(extension)) {
  998|      0|      case EBhEnable:
  ------------------
  |  Branch (998:7): [True: 0, False: 113k]
  ------------------
  999|      0|      case EBhRequire:
  ------------------
  |  Branch (999:7): [True: 0, False: 113k]
  ------------------
 1000|      0|      case EBhWarn:
  ------------------
  |  Branch (1000:7): [True: 0, False: 113k]
  ------------------
 1001|      0|          return true;
 1002|   113k|      default:
  ------------------
  |  Branch (1002:7): [True: 113k, False: 0]
  ------------------
 1003|   113k|          break;
 1004|   113k|      }
 1005|   113k|      return false;
 1006|   113k|}
_ZN7glslang14TParseVersions18extensionsTurnedOnEiPKPKc:
 1009|  10.7k|{
 1010|  31.6k|    for (int i = 0; i < numExtensions; ++i) {
  ------------------
  |  Branch (1010:21): [True: 20.9k, False: 10.7k]
  ------------------
 1011|  20.9k|        if (extensionTurnedOn(extensions[i]))
  ------------------
  |  Branch (1011:13): [True: 0, False: 20.9k]
  ------------------
 1012|      0|            return true;
 1013|  20.9k|    }
 1014|  10.7k|    return false;
 1015|  10.7k|}
_ZN7glslang14TParseVersions16fullIntegerCheckERKNS_10TSourceLocEPKc:
 1232|   165k|{
 1233|   165k|    profileRequires(loc, ENoProfile, 130, nullptr, op);
 1234|   165k|    profileRequires(loc, EEsProfile, 300, nullptr, op);
 1235|   165k|}
_ZN7glslang14TParseVersions11doubleCheckERKNS_10TSourceLocEPKc:
 1239|    573|{
 1240|       |
 1241|       |    //requireProfile(loc, ECoreProfile | ECompatibilityProfile, op);
 1242|    573|    if (language == EShLangVertex) {
  ------------------
  |  Branch (1242:9): [True: 573, False: 0]
  ------------------
 1243|    573|        const char* const f64_Extensions[] = {E_GL_ARB_gpu_shader_fp64, E_GL_ARB_vertex_attrib_64bit};
 1244|    573|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 400, 2, f64_Extensions, op);
 1245|    573|    } else
 1246|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 400, E_GL_ARB_gpu_shader_fp64, op);
 1247|    573|}
_ZN7glslang14TParseVersions12float16CheckERKNS_10TSourceLocEPKcb:
 1251|  1.70k|{
 1252|  1.70k|    if (!builtIn) {
  ------------------
  |  Branch (1252:9): [True: 0, False: 1.70k]
  ------------------
 1253|      0|        const char* const extensions[] = {
 1254|      0|                                           E_GL_AMD_gpu_shader_half_float,
 1255|      0|                                           E_GL_EXT_shader_explicit_arithmetic_types,
 1256|      0|                                           E_GL_EXT_shader_explicit_arithmetic_types_float16};
 1257|      0|        requireExtensions(loc, sizeof(extensions)/sizeof(extensions[0]), extensions, op);
 1258|      0|    }
 1259|  1.70k|}
_ZN7glslang14TParseVersions24float16ScalarVectorCheckERKNS_10TSourceLocEPKcb:
 1335|   120k|{
 1336|   120k|    if (!builtIn) {
  ------------------
  |  Branch (1336:9): [True: 0, False: 120k]
  ------------------
 1337|      0|        const char* const extensions[] = {
 1338|      0|                                           E_GL_AMD_gpu_shader_half_float,
 1339|      0|                                           E_GL_EXT_shader_16bit_storage,
 1340|      0|                                           E_GL_EXT_shader_explicit_arithmetic_types,
 1341|      0|                                           E_GL_NV_gpu_shader5,
 1342|      0|                                           E_GL_EXT_shader_explicit_arithmetic_types_float16};
 1343|      0|        requireExtensions(loc, sizeof(extensions)/sizeof(extensions[0]), extensions, op);
 1344|      0|    }
 1345|   120k|}
_ZN7glslang14TParseVersions25bfloat16ScalarVectorCheckERKNS_10TSourceLocEPKcb:
 1348|  1.18k|{
 1349|  1.18k|    if (!builtIn) {
  ------------------
  |  Branch (1349:9): [True: 0, False: 1.18k]
  ------------------
 1350|      0|        const char* const extensions[] = {
 1351|      0|                                           E_GL_EXT_bfloat16,
 1352|      0|                                         };
 1353|      0|        requireExtensions(loc, sizeof(extensions)/sizeof(extensions[0]), extensions, op);
 1354|      0|    }
 1355|  1.18k|}
_ZN7glslang14TParseVersions26floate5m2ScalarVectorCheckERKNS_10TSourceLocEPKcb:
 1358|    864|{
 1359|    864|    if (!builtIn) {
  ------------------
  |  Branch (1359:9): [True: 0, False: 864]
  ------------------
 1360|      0|        const char* const extensions[] = {
 1361|      0|                                           E_GL_EXT_float_e5m2,
 1362|      0|                                         };
 1363|      0|        requireExtensions(loc, sizeof(extensions)/sizeof(extensions[0]), extensions, op);
 1364|      0|    }
 1365|    864|}
_ZN7glslang14TParseVersions26floate4m3ScalarVectorCheckERKNS_10TSourceLocEPKcb:
 1368|    864|{
 1369|    864|    if (!builtIn) {
  ------------------
  |  Branch (1369:9): [True: 0, False: 864]
  ------------------
 1370|      0|        const char* const extensions[] = {
 1371|      0|                                           E_GL_EXT_float_e4m3,
 1372|      0|                                         };
 1373|      0|        requireExtensions(loc, sizeof(extensions)/sizeof(extensions[0]), extensions, op);
 1374|      0|    }
 1375|    864|}
_ZN7glslang14TParseVersions20explicitFloat32CheckERKNS_10TSourceLocEPKcb:
 1379|  2.37k|{
 1380|  2.37k|    if (!builtIn) {
  ------------------
  |  Branch (1380:9): [True: 0, False: 2.37k]
  ------------------
 1381|      0|        const char* const extensions[] = {E_GL_EXT_shader_explicit_arithmetic_types,
 1382|      0|                                          E_GL_NV_gpu_shader5,
 1383|      0|                                           E_GL_EXT_shader_explicit_arithmetic_types_float32};
 1384|      0|        requireExtensions(loc, sizeof(extensions) / sizeof(extensions[0]), extensions, op);
 1385|      0|    }
 1386|  2.37k|}
_ZN7glslang14TParseVersions20explicitFloat64CheckERKNS_10TSourceLocEPKcb:
 1390|  10.8k|{
 1391|  10.8k|    if (!builtIn) {
  ------------------
  |  Branch (1391:9): [True: 0, False: 10.8k]
  ------------------
 1392|      0|        const char* const extensions[] = {E_GL_EXT_shader_explicit_arithmetic_types,
 1393|      0|                                           E_GL_NV_gpu_shader5,
 1394|      0|                                           E_GL_EXT_shader_explicit_arithmetic_types_float64};
 1395|      0|        requireExtensions(loc, sizeof(extensions) / sizeof(extensions[0]), extensions, op);
 1396|      0|        requireProfile(loc, ECoreProfile | ECompatibilityProfile, op);
 1397|      0|        if(extensionTurnedOn(E_GL_ARB_gpu_shader_fp64) && extensionTurnedOn(E_GL_NV_gpu_shader5))
  ------------------
  |  Branch (1397:12): [True: 0, False: 0]
  |  Branch (1397:59): [True: 0, False: 0]
  ------------------
 1398|      0|            profileRequires(loc, ECoreProfile | ECompatibilityProfile, 150, nullptr, op);
 1399|      0|        else
 1400|      0|            profileRequires(loc, ECoreProfile | ECompatibilityProfile, 400, nullptr, op);
 1401|      0|    }
 1402|  10.8k|}
_ZN7glslang14TParseVersions18float16OpaqueCheckERKNS_10TSourceLocEPKcb:
 1416|  44.2k|{
 1417|  44.2k|    if (! builtIn) {
  ------------------
  |  Branch (1417:9): [True: 0, False: 44.2k]
  ------------------
 1418|      0|        requireExtensions(loc, 1, &E_GL_AMD_gpu_shader_half_float_fetch, op);
 1419|      0|        requireProfile(loc, ECoreProfile | ECompatibilityProfile, op);
 1420|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 400, nullptr, op);
 1421|      0|    }
 1422|  44.2k|}
_ZN7glslang14TParseVersions22int16ScalarVectorCheckERKNS_10TSourceLocEPKcb:
 1437|  59.8k|{
 1438|  59.8k|    if (! builtIn) {
  ------------------
  |  Branch (1438:9): [True: 0, False: 59.8k]
  ------------------
 1439|      0|    	const char* const extensions[] = {
 1440|      0|                                           E_GL_AMD_gpu_shader_int16,
 1441|      0|                                           E_GL_EXT_shader_16bit_storage,
 1442|      0|                                           E_GL_EXT_shader_explicit_arithmetic_types,
 1443|      0|                                           E_GL_NV_gpu_shader5,
 1444|      0|                                           E_GL_EXT_shader_explicit_arithmetic_types_int16};
 1445|      0|        requireExtensions(loc, sizeof(extensions)/sizeof(extensions[0]), extensions, op);
 1446|      0|    }
 1447|  59.8k|}
_ZN7glslang14TParseVersions21int8ScalarVectorCheckERKNS_10TSourceLocEPKcb:
 1450|  45.7k|{
 1451|  45.7k|    if (! builtIn) {
  ------------------
  |  Branch (1451:9): [True: 0, False: 45.7k]
  ------------------
 1452|      0|    	const char* const extensions[] = {
 1453|      0|                                           E_GL_EXT_shader_8bit_storage,
 1454|      0|                                           E_GL_EXT_shader_explicit_arithmetic_types,
 1455|      0|                                           E_GL_NV_gpu_shader5,
 1456|      0|                                           E_GL_EXT_shader_explicit_arithmetic_types_int8};
 1457|      0|        requireExtensions(loc, sizeof(extensions)/sizeof(extensions[0]), extensions, op);
 1458|      0|    }
 1459|  45.7k|}
_ZN7glslang14TParseVersions18explicitInt32CheckERKNS_10TSourceLocEPKcb:
 1463|  5.07k|{
 1464|  5.07k|    if (! builtIn) {
  ------------------
  |  Branch (1464:9): [True: 0, False: 5.07k]
  ------------------
 1465|      0|        const char* const extensions[] = {E_GL_EXT_shader_explicit_arithmetic_types,
 1466|      0|                                           E_GL_NV_gpu_shader5,
 1467|      0|                                           E_GL_EXT_shader_explicit_arithmetic_types_int32};
 1468|      0|        requireExtensions(loc, sizeof(extensions) / sizeof(extensions[0]), extensions, op);
 1469|      0|    }
 1470|  5.07k|}
_ZN7glslang14TParseVersions10int64CheckERKNS_10TSourceLocEPKcb:
 1474|  95.8k|{
 1475|  95.8k|    if (! builtIn) {
  ------------------
  |  Branch (1475:9): [True: 0, False: 95.8k]
  ------------------
 1476|      0|        const char* const extensions[] = {E_GL_ARB_gpu_shader_int64,
 1477|      0|                                           E_GL_EXT_shader_explicit_arithmetic_types,
 1478|      0|                                           E_GL_NV_gpu_shader5,
 1479|      0|                                           E_GL_EXT_shader_explicit_arithmetic_types_int64};
 1480|      0|        requireExtensions(loc, sizeof(extensions) / sizeof(extensions[0]), extensions, op);
 1481|      0|        requireProfile(loc, ECoreProfile | ECompatibilityProfile, op);
 1482|      0|        if (extensionTurnedOn(E_GL_NV_gpu_shader5))
  ------------------
  |  Branch (1482:13): [True: 0, False: 0]
  ------------------
 1483|      0|            profileRequires(loc, ECoreProfile | ECompatibilityProfile, 150, nullptr, op);
 1484|      0|        else
 1485|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 400, nullptr, op);
 1486|      0|    }
 1487|  95.8k|}
_ZN7glslang14TParseVersions15fcoopmatCheckNVERKNS_10TSourceLocEPKcb:
 1490|    567|{
 1491|    567|    if (!builtIn) {
  ------------------
  |  Branch (1491:9): [True: 0, False: 567]
  ------------------
 1492|      0|        const char* const extensions[] = {E_GL_NV_cooperative_matrix};
 1493|      0|        requireExtensions(loc, sizeof(extensions)/sizeof(extensions[0]), extensions, op);
 1494|      0|    }
 1495|    567|}
_ZN7glslang14TParseVersions17intcoopmatCheckNVERKNS_10TSourceLocEPKcb:
 1498|  1.51k|{
 1499|  1.51k|    if (!builtIn) {
  ------------------
  |  Branch (1499:9): [True: 0, False: 1.51k]
  ------------------
 1500|      0|        const char* const extensions[] = {E_GL_NV_integer_cooperative_matrix};
 1501|      0|        requireExtensions(loc, sizeof(extensions)/sizeof(extensions[0]), extensions, op);
 1502|      0|    }
 1503|  1.51k|}
_ZN7glslang14TParseVersions12coopmatCheckERKNS_10TSourceLocEPKcb:
 1506|  5.72k|{
 1507|  5.72k|    if (!builtIn) {
  ------------------
  |  Branch (1507:9): [True: 0, False: 5.72k]
  ------------------
 1508|      0|        const char* const extensions[] = {E_GL_KHR_cooperative_matrix};
 1509|      0|        requireExtensions(loc, sizeof(extensions)/sizeof(extensions[0]), extensions, op);
 1510|      0|    }
 1511|  5.72k|}
_ZN7glslang14TParseVersions21tensorLayoutViewCheckERKNS_10TSourceLocEPKcb:
 1522|  2.61k|{
 1523|  2.61k|    if (!builtIn) {
  ------------------
  |  Branch (1523:9): [True: 0, False: 2.61k]
  ------------------
 1524|      0|        const char* const extensions[] = {E_GL_NV_cooperative_matrix2};
 1525|      0|        requireExtensions(loc, sizeof(extensions)/sizeof(extensions[0]), extensions, op);
 1526|      0|    }
 1527|  2.61k|}
_ZN7glslang14TParseVersions12coopvecCheckERKNS_10TSourceLocEPKcb:
 1530|  21.4k|{
 1531|  21.4k|    if (!builtIn) {
  ------------------
  |  Branch (1531:9): [True: 0, False: 21.4k]
  ------------------
 1532|      0|        const char* const extensions[] = {E_GL_NV_cooperative_vector};
 1533|      0|        requireExtensions(loc, sizeof(extensions)/sizeof(extensions[0]), extensions, op);
 1534|      0|    }
 1535|  21.4k|}
_ZN7glslang14TParseVersions14tensorCheckARMERKNS_10TSourceLocEPKcb:
 1546|  1.64k|{
 1547|  1.64k|    if (!builtIn) {
  ------------------
  |  Branch (1547:9): [True: 0, False: 1.64k]
  ------------------
 1548|      0|        const char* const extensions[] = {E_GL_ARM_tensors};
 1549|      0|        requireExtensions(loc, sizeof(extensions)/sizeof(extensions[0]), extensions, op);
 1550|      0|    }
 1551|  1.64k|}
_ZN7glslang14TParseVersions15longVectorCheckERKNS_10TSourceLocEPKcb:
 1554|  16.2k|{
 1555|  16.2k|    if (!builtIn) {
  ------------------
  |  Branch (1555:9): [True: 0, False: 16.2k]
  ------------------
 1556|      0|        const char* const extensions[] = {E_GL_EXT_long_vector};
 1557|      0|        requireExtensions(loc, sizeof(extensions)/sizeof(extensions[0]), extensions, op);
 1558|      0|    }
 1559|  16.2k|}
_ZN7glslang14TParseVersions13vulkanRemovedERKNS_10TSourceLocEPKc:
 1570|    144|{
 1571|    144|    if (spvVersion.vulkan > 0 && !spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (1571:9): [True: 0, False: 144]
  |  Branch (1571:34): [True: 0, False: 0]
  ------------------
 1572|      0|        error(loc, "not allowed when using GLSL for Vulkan", op, "");
 1573|    144|}

_Z7yyparsePN7glslang13TParseContextE:
 5229|    780|{
 5230|       |/* Lookahead token kind.  */
 5231|    780|int yychar;
 5232|       |
 5233|       |
 5234|       |/* The semantic value of the lookahead symbol.  */
 5235|       |/* Default value used for initialization, for pacifying older GCCs
 5236|       |   or non-GCC compilers.  */
 5237|    780|YY_INITIAL_VALUE (static YYSTYPE yyval_default;)
  ------------------
  |  |  931|    780|# define YY_INITIAL_VALUE(Value) Value
  ------------------
 5238|    780|YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default);
  ------------------
  |  |  931|    780|# define YY_INITIAL_VALUE(Value) Value
  ------------------
 5239|       |
 5240|       |    /* Number of syntax errors so far.  */
 5241|    780|    int yynerrs = 0;
 5242|       |
 5243|    780|    yy_state_fast_t yystate = 0;
 5244|       |    /* Number of tokens to shift before error messages enabled.  */
 5245|    780|    int yyerrstatus = 0;
 5246|       |
 5247|       |    /* Refer to the stacks through separate pointers, to allow yyoverflow
 5248|       |       to reallocate them elsewhere.  */
 5249|       |
 5250|       |    /* Their size.  */
 5251|    780|    YYPTRDIFF_T yystacksize = YYINITDEPTH;
  ------------------
  |  |  838|    780|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
                  YYPTRDIFF_T yystacksize = YYINITDEPTH;
  ------------------
  |  | 4913|    780|# define YYINITDEPTH 200
  ------------------
 5252|       |
 5253|       |    /* The state stack: array, bottom, top.  */
 5254|    780|    yy_state_t yyssa[YYINITDEPTH];
 5255|    780|    yy_state_t *yyss = yyssa;
 5256|    780|    yy_state_t *yyssp = yyss;
 5257|       |
 5258|       |    /* The semantic value stack: array, bottom, top.  */
 5259|    780|    YYSTYPE yyvsa[YYINITDEPTH];
 5260|    780|    YYSTYPE *yyvs = yyvsa;
 5261|    780|    YYSTYPE *yyvsp = yyvs;
 5262|       |
 5263|    780|  int yyn;
 5264|       |  /* The return value of yyparse.  */
 5265|    780|  int yyresult;
 5266|       |  /* Lookahead symbol kind.  */
 5267|    780|  yysymbol_kind_t yytoken = YYSYMBOL_YYEMPTY;
 5268|       |  /* The variables used to return semantic value and location from the
 5269|       |     action routines.  */
 5270|    780|  YYSTYPE yyval;
 5271|       |
 5272|       |  /* Buffer for error messages, and its allocated size.  */
 5273|    780|  char yymsgbuf[128];
 5274|    780|  char *yymsg = yymsgbuf;
 5275|    780|  YYPTRDIFF_T yymsg_alloc = sizeof yymsgbuf;
  ------------------
  |  |  838|    780|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5276|       |
 5277|    780|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
 5278|       |
 5279|       |  /* The number of symbols on the RHS of the reduced rule.
 5280|       |     Keep to zero when no symbol should be popped.  */
 5281|    780|  int yylen = 0;
 5282|       |
 5283|    780|  YYDPRINTF ((stderr, "Starting parse\n"));
  ------------------
  |  | 4791|    780|# define YYDPRINTF(Args)                        \
  |  | 4792|    780|do {                                            \
  |  | 4793|    780|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (4793:7): [True: 0, False: 780]
  |  |  ------------------
  |  | 4794|    780|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4795|    780|} while (0)
  |  |  ------------------
  |  |  |  Branch (4795:10): [Folded, False: 780]
  |  |  ------------------
  ------------------
 5284|       |
 5285|    780|  yychar = YYEMPTY; /* Cause a token to be read.  */
 5286|       |
 5287|    780|  goto yysetstate;
 5288|       |
 5289|       |
 5290|       |/*------------------------------------------------------------.
 5291|       || yynewstate -- push a new state, which is found in yystate.  |
 5292|       |`------------------------------------------------------------*/
 5293|  15.1M|yynewstate:
 5294|       |  /* In all cases, when you get here, the value and location stacks
 5295|       |     have just been pushed.  So pushing a state here evens the stacks.  */
 5296|  15.1M|  yyssp++;
 5297|       |
 5298|       |
 5299|       |/*--------------------------------------------------------------------.
 5300|       || yysetstate -- set current state (the top of the stack) to yystate.  |
 5301|       |`--------------------------------------------------------------------*/
 5302|  15.1M|yysetstate:
 5303|  15.1M|  YYDPRINTF ((stderr, "Entering state %d\n", yystate));
  ------------------
  |  | 4791|  15.1M|# define YYDPRINTF(Args)                        \
  |  | 4792|  15.1M|do {                                            \
  |  | 4793|  15.1M|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (4793:7): [True: 0, False: 15.1M]
  |  |  ------------------
  |  | 4794|  15.1M|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4795|  15.1M|} while (0)
  |  |  ------------------
  |  |  |  Branch (4795:10): [Folded, False: 15.1M]
  |  |  ------------------
  ------------------
 5304|  15.1M|  YY_ASSERT (0 <= yystate && yystate < YYNSTATES);
  ------------------
  |  |  954|  15.1M|#define YY_ASSERT(E) ((void) (0 && (E)))
  |  |  ------------------
  |  |  |  Branch (954:31): [Folded, False: 15.1M]
  |  |  |  Branch (954:37): [True: 0, False: 0]
  |  |  |  Branch (954:37): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5305|  15.1M|  YY_IGNORE_USELESS_CAST_BEGIN
 5306|  15.1M|  *yyssp = YY_CAST (yy_state_t, yystate);
  ------------------
  |  |  100|  15.1M|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
 5307|  15.1M|  YY_IGNORE_USELESS_CAST_END
 5308|  15.1M|  YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 4863|  15.1M|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 4864|  15.1M|do {                                                            \
  |  | 4865|  15.1M|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (4865:7): [True: 0, False: 15.1M]
  |  |  ------------------
  |  | 4866|  15.1M|    yy_stack_print ((Bottom), (Top));                           \
  |  | 4867|  15.1M|} while (0)
  |  |  ------------------
  |  |  |  Branch (4867:10): [Folded, False: 15.1M]
  |  |  ------------------
  ------------------
 5309|       |
 5310|  15.1M|  if (yyss + yystacksize - 1 <= yyssp)
  ------------------
  |  Branch (5310:7): [True: 11, False: 15.1M]
  ------------------
 5311|       |#if !defined yyoverflow && !defined YYSTACK_RELOCATE
 5312|       |    YYNOMEM;
 5313|       |#else
 5314|     11|    {
 5315|       |      /* Get the current used size of the three stacks, in elements.  */
 5316|     11|      YYPTRDIFF_T yysize = yyssp - yyss + 1;
  ------------------
  |  |  838|     11|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5317|       |
 5318|       |# if defined yyoverflow
 5319|       |      {
 5320|       |        /* Give user a chance to reallocate the stack.  Use copies of
 5321|       |           these so that the &'s don't force the real ones into
 5322|       |           memory.  */
 5323|       |        yy_state_t *yyss1 = yyss;
 5324|       |        YYSTYPE *yyvs1 = yyvs;
 5325|       |
 5326|       |        /* Each stack pointer address is followed by the size of the
 5327|       |           data in use in that stack, in bytes.  This used to be a
 5328|       |           conditional around just the two extra args, but that might
 5329|       |           be undefined if yyoverflow is a macro.  */
 5330|       |        yyoverflow (YY_("memory exhausted"),
 5331|       |                    &yyss1, yysize * YYSIZEOF (*yyssp),
 5332|       |                    &yyvs1, yysize * YYSIZEOF (*yyvsp),
 5333|       |                    &yystacksize);
 5334|       |        yyss = yyss1;
 5335|       |        yyvs = yyvs1;
 5336|       |      }
 5337|       |# else /* defined YYSTACK_RELOCATE */
 5338|       |      /* Extend the stack our own way.  */
 5339|     11|      if (YYMAXDEPTH <= yystacksize)
  ------------------
  |  | 4924|     11|# define YYMAXDEPTH 10000
  ------------------
  |  Branch (5339:11): [True: 1, False: 10]
  ------------------
 5340|      1|        YYNOMEM;
  ------------------
  |  | 4756|      1|#define YYNOMEM         goto yyexhaustedlab
  ------------------
 5341|     10|      yystacksize *= 2;
 5342|     10|      if (YYMAXDEPTH < yystacksize)
  ------------------
  |  | 4924|     10|# define YYMAXDEPTH 10000
  ------------------
  |  Branch (5342:11): [True: 1, False: 9]
  ------------------
 5343|      1|        yystacksize = YYMAXDEPTH;
  ------------------
  |  | 4924|      1|# define YYMAXDEPTH 10000
  ------------------
 5344|       |
 5345|     10|      {
 5346|     10|        yy_state_t *yyss1 = yyss;
 5347|     10|        union yyalloc *yyptr =
 5348|     10|          YY_CAST (union yyalloc *,
  ------------------
  |  |  100|     10|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
 5349|     10|                   YYSTACK_ALLOC (YY_CAST (YYSIZE_T, YYSTACK_BYTES (yystacksize))));
 5350|     10|        if (! yyptr)
  ------------------
  |  Branch (5350:13): [True: 0, False: 10]
  ------------------
 5351|      0|          YYNOMEM;
  ------------------
  |  | 4756|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
 5352|     10|        YYSTACK_RELOCATE (yyss_alloc, yyss);
  ------------------
  |  | 1051|     10|    do                                                                  \
  |  | 1052|     10|      {                                                                 \
  |  | 1053|     10|        YYPTRDIFF_T yynewbytes;                                         \
  |  |  ------------------
  |  |  |  |  838|     10|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  |  |  ------------------
  |  | 1054|     10|        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
  |  |  ------------------
  |  |  |  | 1069|     10|      __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|     10|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1055|     10|        Stack = &yyptr->Stack_alloc;                                    \
  |  | 1056|     10|        yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  871|     10|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|     10|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  | 1035|     10|# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  871|     10|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  100|     10|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1057|     10|        yyptr += yynewbytes / YYSIZEOF (*yyptr);                        \
  |  |  ------------------
  |  |  |  |  871|     10|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|     10|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1058|     10|      }                                                                 \
  |  | 1059|     10|    while (0)
  |  |  ------------------
  |  |  |  Branch (1059:12): [Folded, False: 10]
  |  |  ------------------
  ------------------
 5353|     10|        YYSTACK_RELOCATE (yyvs_alloc, yyvs);
  ------------------
  |  | 1051|     10|    do                                                                  \
  |  | 1052|     10|      {                                                                 \
  |  | 1053|     10|        YYPTRDIFF_T yynewbytes;                                         \
  |  |  ------------------
  |  |  |  |  838|     10|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  |  |  ------------------
  |  | 1054|     10|        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
  |  |  ------------------
  |  |  |  | 1069|     10|      __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|     10|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1055|     10|        Stack = &yyptr->Stack_alloc;                                    \
  |  | 1056|     10|        yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  871|     10|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|     10|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  | 1035|     10|# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  871|     10|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  100|     10|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1057|     10|        yyptr += yynewbytes / YYSIZEOF (*yyptr);                        \
  |  |  ------------------
  |  |  |  |  871|     10|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|     10|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1058|     10|      }                                                                 \
  |  | 1059|     10|    while (0)
  |  |  ------------------
  |  |  |  Branch (1059:12): [Folded, False: 10]
  |  |  ------------------
  ------------------
 5354|     10|#  undef YYSTACK_RELOCATE
 5355|     10|        if (yyss1 != yyssa)
  ------------------
  |  Branch (5355:13): [True: 8, False: 2]
  ------------------
 5356|      8|          YYSTACK_FREE (yyss1);
  ------------------
  |  |  996|      8|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1015|      8|#   define YYFREE free
  |  |  ------------------
  ------------------
 5357|     10|      }
 5358|      0|# endif
 5359|       |
 5360|      0|      yyssp = yyss + yysize - 1;
 5361|     10|      yyvsp = yyvs + yysize - 1;
 5362|       |
 5363|     10|      YY_IGNORE_USELESS_CAST_BEGIN
 5364|     10|      YYDPRINTF ((stderr, "Stack size increased to %ld\n",
  ------------------
  |  | 4791|     10|# define YYDPRINTF(Args)                        \
  |  | 4792|     10|do {                                            \
  |  | 4793|     10|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (4793:7): [True: 0, False: 10]
  |  |  ------------------
  |  | 4794|     10|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4795|     10|} while (0)
  |  |  ------------------
  |  |  |  Branch (4795:10): [Folded, False: 10]
  |  |  ------------------
  ------------------
 5365|     10|                  YY_CAST (long, yystacksize)));
 5366|     10|      YY_IGNORE_USELESS_CAST_END
 5367|       |
 5368|     10|      if (yyss + yystacksize - 1 <= yyssp)
  ------------------
  |  Branch (5368:11): [True: 0, False: 10]
  ------------------
 5369|      0|        YYABORT;
  ------------------
  |  | 4754|      0|#define YYABORT         goto yyabortlab
  ------------------
 5370|     10|    }
 5371|  15.1M|#endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */
 5372|       |
 5373|       |
 5374|  15.1M|  if (yystate == YYFINAL)
  ------------------
  |  | 1084|  15.1M|#define YYFINAL  476
  ------------------
  |  Branch (5374:7): [True: 546, False: 15.1M]
  ------------------
 5375|    546|    YYACCEPT;
  ------------------
  |  | 4753|    546|#define YYACCEPT        goto yyacceptlab
  ------------------
 5376|       |
 5377|  15.1M|  goto yybackup;
 5378|       |
 5379|       |
 5380|       |/*-----------.
 5381|       || yybackup.  |
 5382|       |`-----------*/
 5383|  15.1M|yybackup:
 5384|       |  /* Do appropriate processing given the current state.  Read a
 5385|       |     lookahead token if we need one and don't already have one.  */
 5386|       |
 5387|       |  /* First try to decide what to do without reference to lookahead token.  */
 5388|  15.1M|  yyn = yypact[yystate];
 5389|  15.1M|  if (yypact_value_is_default (yyn))
  ------------------
  |  | 1451|  15.1M|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1448|  15.1M|#define YYPACT_NINF (-849)
  |  |  ------------------
  |  |  |  Branch (1451:3): [True: 6.32M, False: 8.86M]
  |  |  ------------------
  ------------------
 5390|  6.32M|    goto yydefault;
 5391|       |
 5392|       |  /* Not known => get a lookahead token if don't already have one.  */
 5393|       |
 5394|       |  /* YYCHAR is either empty, or end-of-input, or a valid lookahead.  */
 5395|  8.86M|  if (yychar == YYEMPTY)
  ------------------
  |  Branch (5395:7): [True: 4.15M, False: 4.70M]
  ------------------
 5396|  4.15M|    {
 5397|  4.15M|      YYDPRINTF ((stderr, "Reading a token\n"));
  ------------------
  |  | 4791|  4.15M|# define YYDPRINTF(Args)                        \
  |  | 4792|  4.15M|do {                                            \
  |  | 4793|  4.15M|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (4793:7): [True: 0, False: 4.15M]
  |  |  ------------------
  |  | 4794|  4.15M|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4795|  4.15M|} while (0)
  |  |  ------------------
  |  |  |  Branch (4795:10): [Folded, False: 4.15M]
  |  |  ------------------
  ------------------
 5398|  4.15M|      yychar = yylex (&yylval, parseContext);
  ------------------
  |  |  756|  4.15M|#define parseContext (*pParseContext)
  ------------------
 5399|  4.15M|    }
 5400|       |
 5401|  8.86M|  if (yychar <= YYEOF)
  ------------------
  |  Branch (5401:7): [True: 569, False: 8.86M]
  ------------------
 5402|    569|    {
 5403|    569|      yychar = YYEOF;
 5404|    569|      yytoken = YYSYMBOL_YYEOF;
 5405|    569|      YYDPRINTF ((stderr, "Now at end of input.\n"));
  ------------------
  |  | 4791|    569|# define YYDPRINTF(Args)                        \
  |  | 4792|    569|do {                                            \
  |  | 4793|    569|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (4793:7): [True: 0, False: 569]
  |  |  ------------------
  |  | 4794|    569|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4795|    569|} while (0)
  |  |  ------------------
  |  |  |  Branch (4795:10): [Folded, False: 569]
  |  |  ------------------
  ------------------
 5406|    569|    }
 5407|  8.86M|  else if (yychar == YYerror)
  ------------------
  |  Branch (5407:12): [True: 0, False: 8.86M]
  ------------------
 5408|      0|    {
 5409|       |      /* The scanner already issued an error message, process directly
 5410|       |         to error recovery.  But do not keep the error token as
 5411|       |         lookahead, it is too special and may lead us to an endless
 5412|       |         loop in error recovery. */
 5413|      0|      yychar = YYUNDEF;
 5414|      0|      yytoken = YYSYMBOL_YYerror;
 5415|      0|      goto yyerrlab1;
 5416|      0|    }
 5417|  8.86M|  else
 5418|  8.86M|    {
 5419|  8.86M|      yytoken = YYTRANSLATE (yychar);
  ------------------
  |  | 1104|  8.86M|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1098|  8.86M|#define YYMAXUTOK   742
  |  |  ------------------
  |  |  |  Branch (1104:4): [True: 8.86M, False: 0]
  |  |  |  Branch (1104:18): [True: 8.86M, False: 0]
  |  |  ------------------
  |  | 1105|  8.86M|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  100|  8.86M|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  |  | 1106|  8.86M|   : YYSYMBOL_YYUNDEF)
  ------------------
 5420|  8.86M|      YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
  ------------------
  |  | 4800|  8.86M|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 4801|  8.86M|do {                                                                      \
  |  | 4802|  8.86M|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (4802:7): [True: 0, False: 8.86M]
  |  |  ------------------
  |  | 4803|  8.86M|    {                                                                     \
  |  | 4804|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4805|      0|      yy_symbol_print (stderr,                                            \
  |  | 4806|      0|                  Kind, Value, pParseContext); \
  |  | 4807|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4808|      0|    }                                                                     \
  |  | 4809|  8.86M|} while (0)
  |  |  ------------------
  |  |  |  Branch (4809:10): [Folded, False: 8.86M]
  |  |  ------------------
  ------------------
 5421|  8.86M|    }
 5422|       |
 5423|       |  /* If the proper action on seeing token YYTOKEN is to reduce or to
 5424|       |     detect an error, take that action.  */
 5425|  8.86M|  yyn += yytoken;
 5426|  8.86M|  if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
  ------------------
  |  | 1086|  8.86M|#define YYLAST   13823
  ------------------
  |  Branch (5426:7): [True: 623, False: 8.86M]
  |  Branch (5426:18): [True: 0, False: 8.86M]
  |  Branch (5426:34): [True: 4.70M, False: 4.16M]
  ------------------
 5427|  4.70M|    goto yydefault;
 5428|  4.16M|  yyn = yytable[yyn];
 5429|  4.16M|  if (yyn <= 0)
  ------------------
  |  Branch (5429:7): [True: 760, False: 4.15M]
  ------------------
 5430|    760|    {
 5431|    760|      if (yytable_value_is_error (yyn))
  ------------------
  |  | 1456|    760|  0
  |  |  ------------------
  |  |  |  Branch (1456:3): [Folded, False: 760]
  |  |  ------------------
  ------------------
 5432|      0|        goto yyerrlab;
 5433|    760|      yyn = -yyn;
 5434|    760|      goto yyreduce;
 5435|    760|    }
 5436|       |
 5437|       |  /* Count tokens shifted since error; after three, turn off error
 5438|       |     status.  */
 5439|  4.15M|  if (yyerrstatus)
  ------------------
  |  Branch (5439:7): [True: 0, False: 4.15M]
  ------------------
 5440|      0|    yyerrstatus--;
 5441|       |
 5442|       |  /* Shift the lookahead token.  */
 5443|  4.15M|  YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
  ------------------
  |  | 4800|  4.15M|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 4801|  4.15M|do {                                                                      \
  |  | 4802|  4.15M|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (4802:7): [True: 0, False: 4.15M]
  |  |  ------------------
  |  | 4803|  4.15M|    {                                                                     \
  |  | 4804|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4805|      0|      yy_symbol_print (stderr,                                            \
  |  | 4806|      0|                  Kind, Value, pParseContext); \
  |  | 4807|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4808|      0|    }                                                                     \
  |  | 4809|  4.15M|} while (0)
  |  |  ------------------
  |  |  |  Branch (4809:10): [Folded, False: 4.15M]
  |  |  ------------------
  ------------------
 5444|  4.15M|  yystate = yyn;
 5445|  4.15M|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 5446|  4.15M|  *++yyvsp = yylval;
 5447|  4.15M|  YY_IGNORE_MAYBE_UNINITIALIZED_END
 5448|       |
 5449|       |  /* Discard the shifted token.  */
 5450|  4.15M|  yychar = YYEMPTY;
 5451|  4.15M|  goto yynewstate;
 5452|       |
 5453|       |
 5454|       |/*-----------------------------------------------------------.
 5455|       || yydefault -- do the default action for the current state.  |
 5456|       |`-----------------------------------------------------------*/
 5457|  11.0M|yydefault:
 5458|  11.0M|  yyn = yydefact[yystate];
 5459|  11.0M|  if (yyn == 0)
  ------------------
  |  Branch (5459:7): [True: 233, False: 11.0M]
  ------------------
 5460|    233|    goto yyerrlab;
 5461|  11.0M|  goto yyreduce;
 5462|       |
 5463|       |
 5464|       |/*-----------------------------.
 5465|       || yyreduce -- do a reduction.  |
 5466|       |`-----------------------------*/
 5467|  11.0M|yyreduce:
 5468|       |  /* yyn is the number of a rule to reduce with.  */
 5469|  11.0M|  yylen = yyr2[yyn];
 5470|       |
 5471|       |  /* If YYLEN is nonzero, implement the default value of the action:
 5472|       |     '$$ = $1'.
 5473|       |
 5474|       |     Otherwise, the following line sets YYVAL to garbage.
 5475|       |     This behavior is undocumented and Bison
 5476|       |     users should not rely upon it.  Assigning to YYVAL
 5477|       |     unconditionally makes the parser a bit smaller, and it avoids a
 5478|       |     GCC warning that YYVAL may be used uninitialized.  */
 5479|  11.0M|  yyval = yyvsp[1-yylen];
 5480|       |
 5481|       |
 5482|  11.0M|  YY_REDUCE_PRINT (yyn);
  ------------------
  |  | 4894|  11.0M|# define YY_REDUCE_PRINT(Rule)          \
  |  | 4895|  11.0M|do {                                    \
  |  | 4896|  11.0M|  if (yydebug)                          \
  |  |  ------------------
  |  |  |  Branch (4896:7): [True: 0, False: 11.0M]
  |  |  ------------------
  |  | 4897|  11.0M|    yy_reduce_print (yyssp, yyvsp, Rule, pParseContext); \
  |  | 4898|  11.0M|} while (0)
  |  |  ------------------
  |  |  |  Branch (4898:10): [Folded, False: 11.0M]
  |  |  ------------------
  ------------------
 5483|  11.0M|  switch (yyn)
 5484|  11.0M|    {
 5485|  1.50k|  case 2: /* variable_identifier: IDENTIFIER  */
  ------------------
  |  Branch (5485:3): [True: 1.50k, False: 11.0M]
  ------------------
 5486|  1.50k|#line 365 "MachineIndependent/glslang.y"
 5487|  1.50k|                 {
 5488|  1.50k|        (yyval.interm.intermTypedNode) = parseContext.handleVariable((yyvsp[0].lex).loc, (yyvsp[0].lex).symbol, (yyvsp[0].lex).string);
  ------------------
  |  |  756|  1.50k|#define parseContext (*pParseContext)
  ------------------
 5489|  1.50k|    }
 5490|  1.50k|#line 5491 "MachineIndependent/glslang_tab.cpp"
 5491|  1.50k|    break;
 5492|       |
 5493|  1.50k|  case 3: /* primary_expression: variable_identifier  */
  ------------------
  |  Branch (5493:3): [True: 1.50k, False: 11.0M]
  ------------------
 5494|  1.50k|#line 371 "MachineIndependent/glslang.y"
 5495|  1.50k|                          {
 5496|  1.50k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 5497|  1.50k|    }
 5498|  1.50k|#line 5499 "MachineIndependent/glslang_tab.cpp"
 5499|  1.50k|    break;
 5500|       |
 5501|      0|  case 4: /* primary_expression: LEFT_PAREN expression RIGHT_PAREN  */
  ------------------
  |  Branch (5501:3): [True: 0, False: 11.0M]
  ------------------
 5502|      0|#line 374 "MachineIndependent/glslang.y"
 5503|      0|                                        {
 5504|      0|        (yyval.interm.intermTypedNode) = (yyvsp[-1].interm.intermTypedNode);
 5505|      0|        if ((yyval.interm.intermTypedNode)->getAsConstantUnion())
  ------------------
  |  Branch (5505:13): [True: 0, False: 0]
  ------------------
 5506|      0|            (yyval.interm.intermTypedNode)->getAsConstantUnion()->setExpression();
 5507|      0|    }
 5508|      0|#line 5509 "MachineIndependent/glslang_tab.cpp"
 5509|      0|    break;
 5510|       |
 5511|      0|  case 5: /* primary_expression: FLOATCONSTANT  */
  ------------------
  |  Branch (5511:3): [True: 0, False: 11.0M]
  ------------------
 5512|      0|#line 379 "MachineIndependent/glslang.y"
 5513|      0|                    {
 5514|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5515|      0|    }
 5516|      0|#line 5517 "MachineIndependent/glslang_tab.cpp"
 5517|      0|    break;
 5518|       |
 5519|  12.1k|  case 6: /* primary_expression: INTCONSTANT  */
  ------------------
  |  Branch (5519:3): [True: 12.1k, False: 11.0M]
  ------------------
 5520|  12.1k|#line 382 "MachineIndependent/glslang.y"
 5521|  12.1k|                  {
 5522|  12.1k|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|  12.1k|#define parseContext (*pParseContext)
  ------------------
 5523|  12.1k|    }
 5524|  12.1k|#line 5525 "MachineIndependent/glslang_tab.cpp"
 5525|  12.1k|    break;
 5526|       |
 5527|  1.78k|  case 7: /* primary_expression: UINTCONSTANT  */
  ------------------
  |  Branch (5527:3): [True: 1.78k, False: 11.0M]
  ------------------
 5528|  1.78k|#line 385 "MachineIndependent/glslang.y"
 5529|  1.78k|                   {
 5530|  1.78k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned literal");
  ------------------
  |  |  756|  1.78k|#define parseContext (*pParseContext)
  ------------------
 5531|  1.78k|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|  1.78k|#define parseContext (*pParseContext)
  ------------------
 5532|  1.78k|    }
 5533|  1.78k|#line 5534 "MachineIndependent/glslang_tab.cpp"
 5534|  1.78k|    break;
 5535|       |
 5536|      0|  case 8: /* primary_expression: BOOLCONSTANT  */
  ------------------
  |  Branch (5536:3): [True: 0, False: 11.0M]
  ------------------
 5537|      0|#line 389 "MachineIndependent/glslang.y"
 5538|      0|                   {
 5539|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5540|      0|    }
 5541|      0|#line 5542 "MachineIndependent/glslang_tab.cpp"
 5542|      0|    break;
 5543|       |
 5544|      0|  case 9: /* primary_expression: STRING_LITERAL  */
  ------------------
  |  Branch (5544:3): [True: 0, False: 11.0M]
  ------------------
 5545|      0|#line 392 "MachineIndependent/glslang.y"
 5546|      0|                     {
 5547|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5548|      0|    }
 5549|      0|#line 5550 "MachineIndependent/glslang_tab.cpp"
 5550|      0|    break;
 5551|       |
 5552|      0|  case 10: /* primary_expression: INT32CONSTANT  */
  ------------------
  |  Branch (5552:3): [True: 0, False: 11.0M]
  ------------------
 5553|      0|#line 395 "MachineIndependent/glslang.y"
 5554|      0|                    {
 5555|      0|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed literal");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5556|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5557|      0|    }
 5558|      0|#line 5559 "MachineIndependent/glslang_tab.cpp"
 5559|      0|    break;
 5560|       |
 5561|      0|  case 11: /* primary_expression: UINT32CONSTANT  */
  ------------------
  |  Branch (5561:3): [True: 0, False: 11.0M]
  ------------------
 5562|      0|#line 399 "MachineIndependent/glslang.y"
 5563|      0|                     {
 5564|      0|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed literal");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5565|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5566|      0|    }
 5567|      0|#line 5568 "MachineIndependent/glslang_tab.cpp"
 5568|      0|    break;
 5569|       |
 5570|      0|  case 12: /* primary_expression: INT64CONSTANT  */
  ------------------
  |  Branch (5570:3): [True: 0, False: 11.0M]
  ------------------
 5571|      0|#line 403 "MachineIndependent/glslang.y"
 5572|      0|                    {
 5573|      0|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer literal");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5574|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i64, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5575|      0|    }
 5576|      0|#line 5577 "MachineIndependent/glslang_tab.cpp"
 5577|      0|    break;
 5578|       |
 5579|      0|  case 13: /* primary_expression: UINT64CONSTANT  */
  ------------------
  |  Branch (5579:3): [True: 0, False: 11.0M]
  ------------------
 5580|      0|#line 407 "MachineIndependent/glslang.y"
 5581|      0|                     {
 5582|      0|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer literal");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5583|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u64, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5584|      0|    }
 5585|      0|#line 5586 "MachineIndependent/glslang_tab.cpp"
 5586|      0|    break;
 5587|       |
 5588|      0|  case 14: /* primary_expression: INT16CONSTANT  */
  ------------------
  |  Branch (5588:3): [True: 0, False: 11.0M]
  ------------------
 5589|      0|#line 411 "MachineIndependent/glslang.y"
 5590|      0|                    {
 5591|      0|        parseContext.explicitInt16Check((yyvsp[0].lex).loc, "16-bit integer literal");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5592|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((short)(yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5593|      0|    }
 5594|      0|#line 5595 "MachineIndependent/glslang_tab.cpp"
 5595|      0|    break;
 5596|       |
 5597|      0|  case 15: /* primary_expression: UINT16CONSTANT  */
  ------------------
  |  Branch (5597:3): [True: 0, False: 11.0M]
  ------------------
 5598|      0|#line 415 "MachineIndependent/glslang.y"
 5599|      0|                     {
 5600|      0|        parseContext.explicitInt16Check((yyvsp[0].lex).loc, "16-bit unsigned integer literal");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5601|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((unsigned short)(yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5602|      0|    }
 5603|      0|#line 5604 "MachineIndependent/glslang_tab.cpp"
 5604|      0|    break;
 5605|       |
 5606|      0|  case 16: /* primary_expression: DOUBLECONSTANT  */
  ------------------
  |  Branch (5606:3): [True: 0, False: 11.0M]
  ------------------
 5607|      0|#line 419 "MachineIndependent/glslang.y"
 5608|      0|                     {
 5609|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double literal");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5610|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (5610:13): [True: 0, False: 0]
  ------------------
 5611|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double literal");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5612|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtDouble, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5613|      0|    }
 5614|      0|#line 5615 "MachineIndependent/glslang_tab.cpp"
 5615|      0|    break;
 5616|       |
 5617|      0|  case 17: /* primary_expression: FLOAT16CONSTANT  */
  ------------------
  |  Branch (5617:3): [True: 0, False: 11.0M]
  ------------------
 5618|      0|#line 425 "MachineIndependent/glslang.y"
 5619|      0|                      {
 5620|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float literal");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5621|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat16, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5622|      0|    }
 5623|      0|#line 5624 "MachineIndependent/glslang_tab.cpp"
 5624|      0|    break;
 5625|       |
 5626|  15.4k|  case 18: /* postfix_expression: primary_expression  */
  ------------------
  |  Branch (5626:3): [True: 15.4k, False: 11.0M]
  ------------------
 5627|  15.4k|#line 432 "MachineIndependent/glslang.y"
 5628|  15.4k|                         {
 5629|  15.4k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 5630|  15.4k|    }
 5631|  15.4k|#line 5632 "MachineIndependent/glslang_tab.cpp"
 5632|  15.4k|    break;
 5633|       |
 5634|      1|  case 19: /* postfix_expression: postfix_expression LEFT_BRACKET integer_expression RIGHT_BRACKET  */
  ------------------
  |  Branch (5634:3): [True: 1, False: 11.0M]
  ------------------
 5635|      1|#line 435 "MachineIndependent/glslang.y"
 5636|      1|                                                                       {
 5637|      1|        (yyval.interm.intermTypedNode) = parseContext.handleBracketDereference((yyvsp[-2].lex).loc, (yyvsp[-3].interm.intermTypedNode), (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  756|      1|#define parseContext (*pParseContext)
  ------------------
 5638|      1|    }
 5639|      1|#line 5640 "MachineIndependent/glslang_tab.cpp"
 5640|      1|    break;
 5641|       |
 5642|    403|  case 20: /* postfix_expression: function_call  */
  ------------------
  |  Branch (5642:3): [True: 403, False: 11.0M]
  ------------------
 5643|    403|#line 438 "MachineIndependent/glslang.y"
 5644|    403|                    {
 5645|    403|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 5646|    403|    }
 5647|    403|#line 5648 "MachineIndependent/glslang_tab.cpp"
 5648|    403|    break;
 5649|       |
 5650|    342|  case 21: /* postfix_expression: postfix_expression DOT IDENTIFIER  */
  ------------------
  |  Branch (5650:3): [True: 342, False: 11.0M]
  ------------------
 5651|    342|#line 441 "MachineIndependent/glslang.y"
 5652|    342|                                        {
 5653|    342|        (yyval.interm.intermTypedNode) = parseContext.handleDotDereference((yyvsp[0].lex).loc, (yyvsp[-2].interm.intermTypedNode), *(yyvsp[0].lex).string);
  ------------------
  |  |  756|    342|#define parseContext (*pParseContext)
  ------------------
 5654|    342|    }
 5655|    342|#line 5656 "MachineIndependent/glslang_tab.cpp"
 5656|    342|    break;
 5657|       |
 5658|      0|  case 22: /* postfix_expression: postfix_expression INC_OP  */
  ------------------
  |  Branch (5658:3): [True: 0, False: 11.0M]
  ------------------
 5659|      0|#line 444 "MachineIndependent/glslang.y"
 5660|      0|                                {
 5661|      0|        parseContext.variableCheck((yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5662|      0|        parseContext.lValueErrorCheck((yyvsp[0].lex).loc, "++", (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5663|      0|        (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[0].lex).loc, "++", EOpPostIncrement, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5664|      0|    }
 5665|      0|#line 5666 "MachineIndependent/glslang_tab.cpp"
 5666|      0|    break;
 5667|       |
 5668|      0|  case 23: /* postfix_expression: postfix_expression DEC_OP  */
  ------------------
  |  Branch (5668:3): [True: 0, False: 11.0M]
  ------------------
 5669|      0|#line 449 "MachineIndependent/glslang.y"
 5670|      0|                                {
 5671|      0|        parseContext.variableCheck((yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5672|      0|        parseContext.lValueErrorCheck((yyvsp[0].lex).loc, "--", (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5673|      0|        (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[0].lex).loc, "--", EOpPostDecrement, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5674|      0|    }
 5675|      0|#line 5676 "MachineIndependent/glslang_tab.cpp"
 5676|      0|    break;
 5677|       |
 5678|      1|  case 24: /* integer_expression: expression  */
  ------------------
  |  Branch (5678:3): [True: 1, False: 11.0M]
  ------------------
 5679|      1|#line 457 "MachineIndependent/glslang.y"
 5680|      1|                 {
 5681|      1|        parseContext.arrayIndexCheck((yyvsp[0].interm.intermTypedNode), "[]");
  ------------------
  |  |  756|      1|#define parseContext (*pParseContext)
  ------------------
 5682|      1|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 5683|      1|    }
 5684|      1|#line 5685 "MachineIndependent/glslang_tab.cpp"
 5685|      1|    break;
 5686|       |
 5687|    403|  case 25: /* function_call: function_call_or_method  */
  ------------------
  |  Branch (5687:3): [True: 403, False: 11.0M]
  ------------------
 5688|    403|#line 464 "MachineIndependent/glslang.y"
 5689|    403|                              {
 5690|    403|        (yyval.interm.intermTypedNode) = parseContext.handleFunctionCall((yyvsp[0].interm).loc, (yyvsp[0].interm).function, (yyvsp[0].interm).intermNode);
  ------------------
  |  |  756|    403|#define parseContext (*pParseContext)
  ------------------
 5691|    403|        delete (yyvsp[0].interm).function;
 5692|    403|    }
 5693|    403|#line 5694 "MachineIndependent/glslang_tab.cpp"
 5694|    403|    break;
 5695|       |
 5696|    403|  case 26: /* function_call_or_method: function_call_generic  */
  ------------------
  |  Branch (5696:3): [True: 403, False: 11.0M]
  ------------------
 5697|    403|#line 471 "MachineIndependent/glslang.y"
 5698|    403|                            {
 5699|    403|        (yyval.interm) = (yyvsp[0].interm);
 5700|    403|    }
 5701|    403|#line 5702 "MachineIndependent/glslang_tab.cpp"
 5702|    403|    break;
 5703|       |
 5704|    403|  case 27: /* function_call_generic: function_call_header_with_parameters RIGHT_PAREN  */
  ------------------
  |  Branch (5704:3): [True: 403, False: 11.0M]
  ------------------
 5705|    403|#line 477 "MachineIndependent/glslang.y"
 5706|    403|                                                       {
 5707|    403|        (yyval.interm) = (yyvsp[-1].interm);
 5708|    403|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 5709|    403|    }
 5710|    403|#line 5711 "MachineIndependent/glslang_tab.cpp"
 5711|    403|    break;
 5712|       |
 5713|      0|  case 28: /* function_call_generic: function_call_header_no_parameters RIGHT_PAREN  */
  ------------------
  |  Branch (5713:3): [True: 0, False: 11.0M]
  ------------------
 5714|      0|#line 481 "MachineIndependent/glslang.y"
 5715|      0|                                                     {
 5716|      0|        (yyval.interm) = (yyvsp[-1].interm);
 5717|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 5718|      0|    }
 5719|      0|#line 5720 "MachineIndependent/glslang_tab.cpp"
 5720|      0|    break;
 5721|       |
 5722|      0|  case 29: /* function_call_header_no_parameters: function_call_header VOID  */
  ------------------
  |  Branch (5722:3): [True: 0, False: 11.0M]
  ------------------
 5723|      0|#line 488 "MachineIndependent/glslang.y"
 5724|      0|                                {
 5725|      0|        (yyval.interm) = (yyvsp[-1].interm);
 5726|      0|    }
 5727|      0|#line 5728 "MachineIndependent/glslang_tab.cpp"
 5728|      0|    break;
 5729|       |
 5730|      0|  case 30: /* function_call_header_no_parameters: function_call_header  */
  ------------------
  |  Branch (5730:3): [True: 0, False: 11.0M]
  ------------------
 5731|      0|#line 491 "MachineIndependent/glslang.y"
 5732|      0|                           {
 5733|      0|        (yyval.interm) = (yyvsp[0].interm);
 5734|      0|    }
 5735|      0|#line 5736 "MachineIndependent/glslang_tab.cpp"
 5736|      0|    break;
 5737|       |
 5738|    403|  case 31: /* function_call_header_with_parameters: function_call_header assignment_expression  */
  ------------------
  |  Branch (5738:3): [True: 403, False: 11.0M]
  ------------------
 5739|    403|#line 497 "MachineIndependent/glslang.y"
 5740|    403|                                                 {
 5741|    403|        if (parseContext.spvVersion.vulkan > 0
  ------------------
  |  |  756|    403|#define parseContext (*pParseContext)
  ------------------
  |  Branch (5741:13): [True: 45, False: 358]
  ------------------
 5742|     45|            && parseContext.spvVersion.vulkanRelaxed
  ------------------
  |  |  756|     45|#define parseContext (*pParseContext)
  ------------------
  |  Branch (5742:16): [True: 0, False: 45]
  ------------------
 5743|      0|            && (yyvsp[0].interm.intermTypedNode)->getType().containsOpaque())
  ------------------
  |  Branch (5743:16): [True: 0, False: 0]
  ------------------
 5744|      0|        {
 5745|      0|            (yyval.interm).intermNode = parseContext.vkRelaxedRemapFunctionArgument((yyval.interm).loc, (yyvsp[-1].interm).function, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5746|      0|            (yyval.interm).function = (yyvsp[-1].interm).function;
 5747|      0|        }
 5748|    403|        else
 5749|    403|        {
 5750|    403|            TParameter param = { 0, new TType, {} };
 5751|    403|            param.type->shallowCopy((yyvsp[0].interm.intermTypedNode)->getType());
 5752|       |
 5753|    403|            (yyvsp[-1].interm).function->addParameter(param);
 5754|    403|            (yyval.interm).function = (yyvsp[-1].interm).function;
 5755|    403|            (yyval.interm).intermNode = (yyvsp[0].interm.intermTypedNode);
 5756|    403|        }
 5757|    403|    }
 5758|    403|#line 5759 "MachineIndependent/glslang_tab.cpp"
 5759|    403|    break;
 5760|       |
 5761|    258|  case 32: /* function_call_header_with_parameters: function_call_header_with_parameters COMMA assignment_expression  */
  ------------------
  |  Branch (5761:3): [True: 258, False: 11.0M]
  ------------------
 5762|    258|#line 515 "MachineIndependent/glslang.y"
 5763|    258|                                                                       {
 5764|    258|        if (parseContext.spvVersion.vulkan > 0
  ------------------
  |  |  756|    258|#define parseContext (*pParseContext)
  ------------------
  |  Branch (5764:13): [True: 90, False: 168]
  ------------------
 5765|     90|            && parseContext.spvVersion.vulkanRelaxed
  ------------------
  |  |  756|     90|#define parseContext (*pParseContext)
  ------------------
  |  Branch (5765:16): [True: 0, False: 90]
  ------------------
 5766|      0|            && (yyvsp[0].interm.intermTypedNode)->getType().containsOpaque())
  ------------------
  |  Branch (5766:16): [True: 0, False: 0]
  ------------------
 5767|      0|        {
 5768|      0|            TIntermNode* remappedNode = parseContext.vkRelaxedRemapFunctionArgument((yyvsp[-1].lex).loc, (yyvsp[-2].interm).function, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5769|      0|            if (remappedNode == (yyvsp[0].interm.intermTypedNode))
  ------------------
  |  Branch (5769:17): [True: 0, False: 0]
  ------------------
 5770|      0|                (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5771|      0|            else
 5772|      0|                (yyval.interm).intermNode = parseContext.intermediate.mergeAggregate((yyvsp[-2].interm).intermNode, remappedNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5773|      0|            (yyval.interm).function = (yyvsp[-2].interm).function;
 5774|      0|        }
 5775|    258|        else
 5776|    258|        {
 5777|    258|            TParameter param = { 0, new TType, {} };
 5778|    258|            param.type->shallowCopy((yyvsp[0].interm.intermTypedNode)->getType());
 5779|       |
 5780|    258|            (yyvsp[-2].interm).function->addParameter(param);
 5781|    258|            (yyval.interm).function = (yyvsp[-2].interm).function;
 5782|    258|            (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|    258|#define parseContext (*pParseContext)
  ------------------
 5783|    258|        }
 5784|    258|    }
 5785|    258|#line 5786 "MachineIndependent/glslang_tab.cpp"
 5786|    258|    break;
 5787|       |
 5788|  7.37k|  case 33: /* function_call_header: function_identifier LEFT_PAREN  */
  ------------------
  |  Branch (5788:3): [True: 7.37k, False: 11.0M]
  ------------------
 5789|  7.37k|#line 540 "MachineIndependent/glslang.y"
 5790|  7.37k|                                     {
 5791|  7.37k|        (yyval.interm) = (yyvsp[-1].interm);
 5792|  7.37k|    }
 5793|  7.37k|#line 5794 "MachineIndependent/glslang_tab.cpp"
 5794|  7.37k|    break;
 5795|       |
 5796|  6.61k|  case 34: /* function_identifier: type_specifier  */
  ------------------
  |  Branch (5796:3): [True: 6.61k, False: 11.0M]
  ------------------
 5797|  6.61k|#line 548 "MachineIndependent/glslang.y"
 5798|  6.61k|                     {
 5799|       |        // Constructor
 5800|  6.61k|        (yyval.interm).intermNode = 0;
 5801|  6.61k|        (yyval.interm).function = parseContext.handleConstructorCall((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type));
  ------------------
  |  |  756|  6.61k|#define parseContext (*pParseContext)
  ------------------
 5802|  6.61k|    }
 5803|  6.61k|#line 5804 "MachineIndependent/glslang_tab.cpp"
 5804|  6.61k|    break;
 5805|       |
 5806|    760|  case 35: /* function_identifier: postfix_expression  */
  ------------------
  |  Branch (5806:3): [True: 760, False: 11.0M]
  ------------------
 5807|    760|#line 553 "MachineIndependent/glslang.y"
 5808|    760|                         {
 5809|       |        //
 5810|       |        // Should be a method or subroutine call, but we haven't recognized the arguments yet.
 5811|       |        //
 5812|    760|        (yyval.interm).function = 0;
 5813|    760|        (yyval.interm).intermNode = 0;
 5814|       |
 5815|    760|        TIntermMethod* method = (yyvsp[0].interm.intermTypedNode)->getAsMethodNode();
 5816|    760|        if (method) {
  ------------------
  |  Branch (5816:13): [True: 0, False: 760]
  ------------------
 5817|      0|            (yyval.interm).function = new TFunction(&method->getMethodName(), method->getType(), EOpArrayLength);
 5818|      0|            (yyval.interm).intermNode = method->getObject();
 5819|    760|        } else {
 5820|    760|            TIntermSymbol* symbol = (yyvsp[0].interm.intermTypedNode)->getAsSymbolNode();
 5821|    760|            if (symbol) {
  ------------------
  |  Branch (5821:17): [True: 605, False: 155]
  ------------------
 5822|    605|                parseContext.reservedErrorCheck(symbol->getLoc(), symbol->getName());
  ------------------
  |  |  756|    605|#define parseContext (*pParseContext)
  ------------------
 5823|    605|                TFunction *function = new TFunction(&symbol->getName(), TType(EbtVoid));
 5824|    605|                (yyval.interm).function = function;
 5825|    605|            } else
 5826|    155|                parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "function call, method, or subroutine call expected", "", "");
  ------------------
  |  |  756|    155|#define parseContext (*pParseContext)
  ------------------
 5827|    760|        }
 5828|       |
 5829|    760|        if ((yyval.interm).function == 0) {
  ------------------
  |  Branch (5829:13): [True: 155, False: 605]
  ------------------
 5830|       |            // error recover
 5831|    155|            TString* empty = NewPoolTString("");
 5832|    155|            (yyval.interm).function = new TFunction(empty, TType(EbtVoid), EOpNull);
 5833|    155|        }
 5834|    760|    }
 5835|    760|#line 5836 "MachineIndependent/glslang_tab.cpp"
 5836|    760|    break;
 5837|       |
 5838|      0|  case 36: /* function_identifier: non_uniform_qualifier  */
  ------------------
  |  Branch (5838:3): [True: 0, False: 11.0M]
  ------------------
 5839|      0|#line 580 "MachineIndependent/glslang.y"
 5840|      0|                            {
 5841|       |        // Constructor
 5842|      0|        (yyval.interm).intermNode = 0;
 5843|      0|        (yyval.interm).function = parseContext.handleConstructorCall((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5844|      0|    }
 5845|      0|#line 5846 "MachineIndependent/glslang_tab.cpp"
 5846|      0|    break;
 5847|       |
 5848|  14.4k|  case 37: /* unary_expression: postfix_expression  */
  ------------------
  |  Branch (5848:3): [True: 14.4k, False: 11.0M]
  ------------------
 5849|  14.4k|#line 588 "MachineIndependent/glslang.y"
 5850|  14.4k|                         {
 5851|  14.4k|        parseContext.variableCheck((yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|  14.4k|#define parseContext (*pParseContext)
  ------------------
 5852|  14.4k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 5853|  14.4k|        if (TIntermMethod* method = (yyvsp[0].interm.intermTypedNode)->getAsMethodNode())
  ------------------
  |  Branch (5853:28): [True: 0, False: 14.4k]
  ------------------
 5854|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "incomplete method syntax", method->getMethodName().c_str(), "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5855|  14.4k|    }
 5856|  14.4k|#line 5857 "MachineIndependent/glslang_tab.cpp"
 5857|  14.4k|    break;
 5858|       |
 5859|      0|  case 38: /* unary_expression: INC_OP unary_expression  */
  ------------------
  |  Branch (5859:3): [True: 0, False: 11.0M]
  ------------------
 5860|      0|#line 594 "MachineIndependent/glslang.y"
 5861|      0|                              {
 5862|      0|        parseContext.lValueErrorCheck((yyvsp[-1].lex).loc, "++", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5863|      0|        (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[-1].lex).loc, "++", EOpPreIncrement, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5864|      0|    }
 5865|      0|#line 5866 "MachineIndependent/glslang_tab.cpp"
 5866|      0|    break;
 5867|       |
 5868|      0|  case 39: /* unary_expression: DEC_OP unary_expression  */
  ------------------
  |  Branch (5868:3): [True: 0, False: 11.0M]
  ------------------
 5869|      0|#line 598 "MachineIndependent/glslang.y"
 5870|      0|                              {
 5871|      0|        parseContext.lValueErrorCheck((yyvsp[-1].lex).loc, "--", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5872|      0|        (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[-1].lex).loc, "--", EOpPreDecrement, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5873|      0|    }
 5874|      0|#line 5875 "MachineIndependent/glslang_tab.cpp"
 5875|      0|    break;
 5876|       |
 5877|  1.02k|  case 40: /* unary_expression: unary_operator unary_expression  */
  ------------------
  |  Branch (5877:3): [True: 1.02k, False: 11.0M]
  ------------------
 5878|  1.02k|#line 602 "MachineIndependent/glslang.y"
 5879|  1.02k|                                      {
 5880|  1.02k|        if ((yyvsp[-1].interm).op != EOpNull) {
  ------------------
  |  Branch (5880:13): [True: 897, False: 124]
  ------------------
 5881|    897|            char errorOp[2] = {0, 0};
 5882|    897|            switch((yyvsp[-1].interm).op) {
 5883|     90|            case EOpNegative:   errorOp[0] = '-'; break;
  ------------------
  |  Branch (5883:13): [True: 90, False: 807]
  ------------------
 5884|    807|            case EOpLogicalNot: errorOp[0] = '!'; break;
  ------------------
  |  Branch (5884:13): [True: 807, False: 90]
  ------------------
 5885|      0|            case EOpBitwiseNot: errorOp[0] = '~'; break;
  ------------------
  |  Branch (5885:13): [True: 0, False: 897]
  ------------------
 5886|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (5886:13): [True: 0, False: 897]
  ------------------
 5887|    897|            }
 5888|    897|            (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[-1].interm).loc, errorOp, (yyvsp[-1].interm).op, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|    897|#define parseContext (*pParseContext)
  ------------------
 5889|    897|        } else {
 5890|    124|            (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 5891|    124|            if ((yyval.interm.intermTypedNode)->getAsConstantUnion())
  ------------------
  |  Branch (5891:17): [True: 124, False: 0]
  ------------------
 5892|    124|                (yyval.interm.intermTypedNode)->getAsConstantUnion()->setExpression();
 5893|    124|        }
 5894|  1.02k|    }
 5895|  1.02k|#line 5896 "MachineIndependent/glslang_tab.cpp"
 5896|  1.02k|    break;
 5897|       |
 5898|  1.02k|  case 41: /* unary_expression: LEFT_PAREN type_specifier_nonarray RIGHT_PAREN unary_expression  */
  ------------------
  |  Branch (5898:3): [True: 0, False: 11.0M]
  ------------------
 5899|      0|#line 618 "MachineIndependent/glslang.y"
 5900|      0|                                                                      {
 5901|      0|        (yyval.interm.intermTypedNode) = parseContext.handleTypeCast((yyvsp[-3].lex).loc, new TType((yyvsp[-2].interm.type)), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5902|      0|    }
 5903|      0|#line 5904 "MachineIndependent/glslang_tab.cpp"
 5904|      0|    break;
 5905|       |
 5906|    124|  case 42: /* unary_operator: PLUS  */
  ------------------
  |  Branch (5906:3): [True: 124, False: 11.0M]
  ------------------
 5907|    124|#line 625 "MachineIndependent/glslang.y"
 5908|    124|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpNull; }
 5909|    124|#line 5910 "MachineIndependent/glslang_tab.cpp"
 5910|    124|    break;
 5911|       |
 5912|     90|  case 43: /* unary_operator: DASH  */
  ------------------
  |  Branch (5912:3): [True: 90, False: 11.0M]
  ------------------
 5913|     90|#line 626 "MachineIndependent/glslang.y"
 5914|     90|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpNegative; }
 5915|     90|#line 5916 "MachineIndependent/glslang_tab.cpp"
 5916|     90|    break;
 5917|       |
 5918|    921|  case 44: /* unary_operator: BANG  */
  ------------------
  |  Branch (5918:3): [True: 921, False: 11.0M]
  ------------------
 5919|    921|#line 627 "MachineIndependent/glslang.y"
 5920|    921|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpLogicalNot; }
 5921|    921|#line 5922 "MachineIndependent/glslang_tab.cpp"
 5922|    921|    break;
 5923|       |
 5924|      0|  case 45: /* unary_operator: TILDE  */
  ------------------
  |  Branch (5924:3): [True: 0, False: 11.0M]
  ------------------
 5925|      0|#line 628 "MachineIndependent/glslang.y"
 5926|      0|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpBitwiseNot;
 5927|      0|              parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bitwise not"); }
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5928|      0|#line 5929 "MachineIndependent/glslang_tab.cpp"
 5929|      0|    break;
 5930|       |
 5931|  14.3k|  case 46: /* multiplicative_expression: unary_expression  */
  ------------------
  |  Branch (5931:3): [True: 14.3k, False: 11.0M]
  ------------------
 5932|  14.3k|#line 634 "MachineIndependent/glslang.y"
 5933|  14.3k|                       { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 5934|  14.3k|#line 5935 "MachineIndependent/glslang_tab.cpp"
 5935|  14.3k|    break;
 5936|       |
 5937|    117|  case 47: /* multiplicative_expression: multiplicative_expression STAR unary_expression  */
  ------------------
  |  Branch (5937:3): [True: 117, False: 11.0M]
  ------------------
 5938|    117|#line 635 "MachineIndependent/glslang.y"
 5939|    117|                                                      {
 5940|    117|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "*", EOpMul, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|    117|#define parseContext (*pParseContext)
  ------------------
 5941|    117|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (5941:13): [True: 0, False: 117]
  ------------------
 5942|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 5943|    117|    }
 5944|    117|#line 5945 "MachineIndependent/glslang_tab.cpp"
 5945|    117|    break;
 5946|       |
 5947|      0|  case 48: /* multiplicative_expression: multiplicative_expression SLASH unary_expression  */
  ------------------
  |  Branch (5947:3): [True: 0, False: 11.0M]
  ------------------
 5948|      0|#line 640 "MachineIndependent/glslang.y"
 5949|      0|                                                       {
 5950|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "/", EOpDiv, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5951|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (5951:13): [True: 0, False: 0]
  ------------------
 5952|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 5953|      0|    }
 5954|      0|#line 5955 "MachineIndependent/glslang_tab.cpp"
 5955|      0|    break;
 5956|       |
 5957|      0|  case 49: /* multiplicative_expression: multiplicative_expression PERCENT unary_expression  */
  ------------------
  |  Branch (5957:3): [True: 0, False: 11.0M]
  ------------------
 5958|      0|#line 645 "MachineIndependent/glslang.y"
 5959|      0|                                                         {
 5960|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "%");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5961|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "%", EOpMod, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5962|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (5962:13): [True: 0, False: 0]
  ------------------
 5963|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 5964|      0|    }
 5965|      0|#line 5966 "MachineIndependent/glslang_tab.cpp"
 5966|      0|    break;
 5967|       |
 5968|  13.5k|  case 50: /* additive_expression: multiplicative_expression  */
  ------------------
  |  Branch (5968:3): [True: 13.5k, False: 11.0M]
  ------------------
 5969|  13.5k|#line 654 "MachineIndependent/glslang.y"
 5970|  13.5k|                                { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 5971|  13.5k|#line 5972 "MachineIndependent/glslang_tab.cpp"
 5972|  13.5k|    break;
 5973|       |
 5974|    362|  case 51: /* additive_expression: additive_expression PLUS multiplicative_expression  */
  ------------------
  |  Branch (5974:3): [True: 362, False: 11.0M]
  ------------------
 5975|    362|#line 655 "MachineIndependent/glslang.y"
 5976|    362|                                                         {
 5977|    362|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "+", EOpAdd, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|    362|#define parseContext (*pParseContext)
  ------------------
 5978|    362|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (5978:13): [True: 0, False: 362]
  ------------------
 5979|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 5980|    362|    }
 5981|    362|#line 5982 "MachineIndependent/glslang_tab.cpp"
 5982|    362|    break;
 5983|       |
 5984|    136|  case 52: /* additive_expression: additive_expression DASH multiplicative_expression  */
  ------------------
  |  Branch (5984:3): [True: 136, False: 11.0M]
  ------------------
 5985|    136|#line 660 "MachineIndependent/glslang.y"
 5986|    136|                                                         {
 5987|    136|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "-", EOpSub, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|    136|#define parseContext (*pParseContext)
  ------------------
 5988|    136|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (5988:13): [True: 0, False: 136]
  ------------------
 5989|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 5990|    136|    }
 5991|    136|#line 5992 "MachineIndependent/glslang_tab.cpp"
 5992|    136|    break;
 5993|       |
 5994|  13.5k|  case 53: /* shift_expression: additive_expression  */
  ------------------
  |  Branch (5994:3): [True: 13.5k, False: 11.0M]
  ------------------
 5995|  13.5k|#line 668 "MachineIndependent/glslang.y"
 5996|  13.5k|                          { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 5997|  13.5k|#line 5998 "MachineIndependent/glslang_tab.cpp"
 5998|  13.5k|    break;
 5999|       |
 6000|      0|  case 54: /* shift_expression: shift_expression LEFT_OP additive_expression  */
  ------------------
  |  Branch (6000:3): [True: 0, False: 11.0M]
  ------------------
 6001|      0|#line 669 "MachineIndependent/glslang.y"
 6002|      0|                                                   {
 6003|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bit shift left");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6004|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "<<", EOpLeftShift, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6005|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6005:13): [True: 0, False: 0]
  ------------------
 6006|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6007|      0|    }
 6008|      0|#line 6009 "MachineIndependent/glslang_tab.cpp"
 6009|      0|    break;
 6010|       |
 6011|      0|  case 55: /* shift_expression: shift_expression RIGHT_OP additive_expression  */
  ------------------
  |  Branch (6011:3): [True: 0, False: 11.0M]
  ------------------
 6012|      0|#line 675 "MachineIndependent/glslang.y"
 6013|      0|                                                    {
 6014|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bit shift right");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6015|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, ">>", EOpRightShift, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6016|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6016:13): [True: 0, False: 0]
  ------------------
 6017|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6018|      0|    }
 6019|      0|#line 6020 "MachineIndependent/glslang_tab.cpp"
 6020|      0|    break;
 6021|       |
 6022|  13.5k|  case 56: /* relational_expression: shift_expression  */
  ------------------
  |  Branch (6022:3): [True: 13.5k, False: 11.0M]
  ------------------
 6023|  13.5k|#line 684 "MachineIndependent/glslang.y"
 6024|  13.5k|                       { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6025|  13.5k|#line 6026 "MachineIndependent/glslang_tab.cpp"
 6026|  13.5k|    break;
 6027|       |
 6028|      1|  case 57: /* relational_expression: relational_expression LEFT_ANGLE shift_expression  */
  ------------------
  |  Branch (6028:3): [True: 1, False: 11.0M]
  ------------------
 6029|      1|#line 685 "MachineIndependent/glslang.y"
 6030|      1|                                                        {
 6031|      1|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "<", EOpLessThan, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      1|#define parseContext (*pParseContext)
  ------------------
 6032|      1|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6032:13): [True: 0, False: 1]
  ------------------
 6033|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6034|      1|    }
 6035|      1|#line 6036 "MachineIndependent/glslang_tab.cpp"
 6036|      1|    break;
 6037|       |
 6038|      0|  case 58: /* relational_expression: relational_expression RIGHT_ANGLE shift_expression  */
  ------------------
  |  Branch (6038:3): [True: 0, False: 11.0M]
  ------------------
 6039|      0|#line 690 "MachineIndependent/glslang.y"
 6040|      0|                                                          {
 6041|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, ">", EOpGreaterThan, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6042|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6042:13): [True: 0, False: 0]
  ------------------
 6043|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6044|      0|    }
 6045|      0|#line 6046 "MachineIndependent/glslang_tab.cpp"
 6046|      0|    break;
 6047|       |
 6048|      0|  case 59: /* relational_expression: relational_expression LE_OP shift_expression  */
  ------------------
  |  Branch (6048:3): [True: 0, False: 11.0M]
  ------------------
 6049|      0|#line 695 "MachineIndependent/glslang.y"
 6050|      0|                                                    {
 6051|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "<=", EOpLessThanEqual, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6052|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6052:13): [True: 0, False: 0]
  ------------------
 6053|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6054|      0|    }
 6055|      0|#line 6056 "MachineIndependent/glslang_tab.cpp"
 6056|      0|    break;
 6057|       |
 6058|      0|  case 60: /* relational_expression: relational_expression GE_OP shift_expression  */
  ------------------
  |  Branch (6058:3): [True: 0, False: 11.0M]
  ------------------
 6059|      0|#line 700 "MachineIndependent/glslang.y"
 6060|      0|                                                    {
 6061|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, ">=", EOpGreaterThanEqual, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6062|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6062:13): [True: 0, False: 0]
  ------------------
 6063|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6064|      0|    }
 6065|      0|#line 6066 "MachineIndependent/glslang_tab.cpp"
 6066|      0|    break;
 6067|       |
 6068|  13.5k|  case 61: /* equality_expression: relational_expression  */
  ------------------
  |  Branch (6068:3): [True: 13.5k, False: 11.0M]
  ------------------
 6069|  13.5k|#line 708 "MachineIndependent/glslang.y"
 6070|  13.5k|                            { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6071|  13.5k|#line 6072 "MachineIndependent/glslang_tab.cpp"
 6072|  13.5k|    break;
 6073|       |
 6074|      0|  case 62: /* equality_expression: equality_expression EQ_OP relational_expression  */
  ------------------
  |  Branch (6074:3): [True: 0, False: 11.0M]
  ------------------
 6075|      0|#line 709 "MachineIndependent/glslang.y"
 6076|      0|                                                       {
 6077|      0|        parseContext.arrayObjectCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "array comparison");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6078|      0|        parseContext.opaqueCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "==");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6079|      0|        parseContext.specializationCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "==");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6080|      0|        parseContext.referenceCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "==");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6081|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "==", EOpEqual, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6082|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6082:13): [True: 0, False: 0]
  ------------------
 6083|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6084|      0|    }
 6085|      0|#line 6086 "MachineIndependent/glslang_tab.cpp"
 6086|      0|    break;
 6087|       |
 6088|      0|  case 63: /* equality_expression: equality_expression NE_OP relational_expression  */
  ------------------
  |  Branch (6088:3): [True: 0, False: 11.0M]
  ------------------
 6089|      0|#line 718 "MachineIndependent/glslang.y"
 6090|      0|                                                      {
 6091|      0|        parseContext.arrayObjectCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "array comparison");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6092|      0|        parseContext.opaqueCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "!=");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6093|      0|        parseContext.specializationCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "!=");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6094|      0|        parseContext.referenceCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "!=");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6095|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "!=", EOpNotEqual, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6096|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6096:13): [True: 0, False: 0]
  ------------------
 6097|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6098|      0|    }
 6099|      0|#line 6100 "MachineIndependent/glslang_tab.cpp"
 6100|      0|    break;
 6101|       |
 6102|  13.5k|  case 64: /* and_expression: equality_expression  */
  ------------------
  |  Branch (6102:3): [True: 13.5k, False: 11.0M]
  ------------------
 6103|  13.5k|#line 730 "MachineIndependent/glslang.y"
 6104|  13.5k|                          { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6105|  13.5k|#line 6106 "MachineIndependent/glslang_tab.cpp"
 6106|  13.5k|    break;
 6107|       |
 6108|      1|  case 65: /* and_expression: and_expression AMPERSAND equality_expression  */
  ------------------
  |  Branch (6108:3): [True: 1, False: 11.0M]
  ------------------
 6109|      1|#line 731 "MachineIndependent/glslang.y"
 6110|      1|                                                   {
 6111|      1|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bitwise and");
  ------------------
  |  |  756|      1|#define parseContext (*pParseContext)
  ------------------
 6112|      1|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "&", EOpAnd, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      1|#define parseContext (*pParseContext)
  ------------------
 6113|      1|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6113:13): [True: 0, False: 1]
  ------------------
 6114|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6115|      1|    }
 6116|      1|#line 6117 "MachineIndependent/glslang_tab.cpp"
 6117|      1|    break;
 6118|       |
 6119|  13.5k|  case 66: /* exclusive_or_expression: and_expression  */
  ------------------
  |  Branch (6119:3): [True: 13.5k, False: 11.0M]
  ------------------
 6120|  13.5k|#line 740 "MachineIndependent/glslang.y"
 6121|  13.5k|                     { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6122|  13.5k|#line 6123 "MachineIndependent/glslang_tab.cpp"
 6123|  13.5k|    break;
 6124|       |
 6125|      0|  case 67: /* exclusive_or_expression: exclusive_or_expression CARET and_expression  */
  ------------------
  |  Branch (6125:3): [True: 0, False: 11.0M]
  ------------------
 6126|      0|#line 741 "MachineIndependent/glslang.y"
 6127|      0|                                                   {
 6128|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bitwise exclusive or");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6129|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "^", EOpExclusiveOr, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6130|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6130:13): [True: 0, False: 0]
  ------------------
 6131|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6132|      0|    }
 6133|      0|#line 6134 "MachineIndependent/glslang_tab.cpp"
 6134|      0|    break;
 6135|       |
 6136|  13.5k|  case 68: /* inclusive_or_expression: exclusive_or_expression  */
  ------------------
  |  Branch (6136:3): [True: 13.5k, False: 11.0M]
  ------------------
 6137|  13.5k|#line 750 "MachineIndependent/glslang.y"
 6138|  13.5k|                              { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6139|  13.5k|#line 6140 "MachineIndependent/glslang_tab.cpp"
 6140|  13.5k|    break;
 6141|       |
 6142|      0|  case 69: /* inclusive_or_expression: inclusive_or_expression VERTICAL_BAR exclusive_or_expression  */
  ------------------
  |  Branch (6142:3): [True: 0, False: 11.0M]
  ------------------
 6143|      0|#line 751 "MachineIndependent/glslang.y"
 6144|      0|                                                                   {
 6145|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bitwise inclusive or");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6146|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "|", EOpInclusiveOr, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6147|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6147:13): [True: 0, False: 0]
  ------------------
 6148|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6149|      0|    }
 6150|      0|#line 6151 "MachineIndependent/glslang_tab.cpp"
 6151|      0|    break;
 6152|       |
 6153|  13.5k|  case 70: /* logical_and_expression: inclusive_or_expression  */
  ------------------
  |  Branch (6153:3): [True: 13.5k, False: 11.0M]
  ------------------
 6154|  13.5k|#line 760 "MachineIndependent/glslang.y"
 6155|  13.5k|                              { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6156|  13.5k|#line 6157 "MachineIndependent/glslang_tab.cpp"
 6157|  13.5k|    break;
 6158|       |
 6159|      0|  case 71: /* logical_and_expression: logical_and_expression AND_OP inclusive_or_expression  */
  ------------------
  |  Branch (6159:3): [True: 0, False: 11.0M]
  ------------------
 6160|      0|#line 761 "MachineIndependent/glslang.y"
 6161|      0|                                                            {
 6162|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "&&", EOpLogicalAnd, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6163|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6163:13): [True: 0, False: 0]
  ------------------
 6164|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6165|      0|    }
 6166|      0|#line 6167 "MachineIndependent/glslang_tab.cpp"
 6167|      0|    break;
 6168|       |
 6169|  13.5k|  case 72: /* logical_xor_expression: logical_and_expression  */
  ------------------
  |  Branch (6169:3): [True: 13.5k, False: 11.0M]
  ------------------
 6170|  13.5k|#line 769 "MachineIndependent/glslang.y"
 6171|  13.5k|                             { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6172|  13.5k|#line 6173 "MachineIndependent/glslang_tab.cpp"
 6173|  13.5k|    break;
 6174|       |
 6175|      0|  case 73: /* logical_xor_expression: logical_xor_expression XOR_OP logical_and_expression  */
  ------------------
  |  Branch (6175:3): [True: 0, False: 11.0M]
  ------------------
 6176|      0|#line 770 "MachineIndependent/glslang.y"
 6177|      0|                                                            {
 6178|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "^^", EOpLogicalXor, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6179|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6179:13): [True: 0, False: 0]
  ------------------
 6180|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6181|      0|    }
 6182|      0|#line 6183 "MachineIndependent/glslang_tab.cpp"
 6183|      0|    break;
 6184|       |
 6185|  13.5k|  case 74: /* logical_or_expression: logical_xor_expression  */
  ------------------
  |  Branch (6185:3): [True: 13.5k, False: 11.0M]
  ------------------
 6186|  13.5k|#line 778 "MachineIndependent/glslang.y"
 6187|  13.5k|                             { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6188|  13.5k|#line 6189 "MachineIndependent/glslang_tab.cpp"
 6189|  13.5k|    break;
 6190|       |
 6191|      0|  case 75: /* logical_or_expression: logical_or_expression OR_OP logical_xor_expression  */
  ------------------
  |  Branch (6191:3): [True: 0, False: 11.0M]
  ------------------
 6192|      0|#line 779 "MachineIndependent/glslang.y"
 6193|      0|                                                          {
 6194|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "||", EOpLogicalOr, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6195|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6195:13): [True: 0, False: 0]
  ------------------
 6196|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6197|      0|    }
 6198|      0|#line 6199 "MachineIndependent/glslang_tab.cpp"
 6199|      0|    break;
 6200|       |
 6201|  12.5k|  case 76: /* conditional_expression: logical_or_expression  */
  ------------------
  |  Branch (6201:3): [True: 12.5k, False: 11.0M]
  ------------------
 6202|  12.5k|#line 787 "MachineIndependent/glslang.y"
 6203|  12.5k|                            { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6204|  12.5k|#line 6205 "MachineIndependent/glslang_tab.cpp"
 6205|  12.5k|    break;
 6206|       |
 6207|    990|  case 77: /* $@1: %empty  */
  ------------------
  |  Branch (6207:3): [True: 990, False: 11.0M]
  ------------------
 6208|    990|#line 788 "MachineIndependent/glslang.y"
 6209|    990|                                     {
 6210|    990|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|    990|#define parseContext (*pParseContext)
  ------------------
 6211|    990|    }
 6212|    990|#line 6213 "MachineIndependent/glslang_tab.cpp"
 6213|    990|    break;
 6214|       |
 6215|    731|  case 78: /* conditional_expression: logical_or_expression QUESTION $@1 expression COLON assignment_expression  */
  ------------------
  |  Branch (6215:3): [True: 731, False: 11.0M]
  ------------------
 6216|    731|#line 791 "MachineIndependent/glslang.y"
 6217|    731|                                             {
 6218|    731|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|    731|#define parseContext (*pParseContext)
  ------------------
 6219|    731|        parseContext.boolCheck((yyvsp[-4].lex).loc, (yyvsp[-5].interm.intermTypedNode));
  ------------------
  |  |  756|    731|#define parseContext (*pParseContext)
  ------------------
 6220|    731|        parseContext.rValueErrorCheck((yyvsp[-4].lex).loc, "?", (yyvsp[-5].interm.intermTypedNode));
  ------------------
  |  |  756|    731|#define parseContext (*pParseContext)
  ------------------
 6221|    731|        parseContext.rValueErrorCheck((yyvsp[-1].lex).loc, ":", (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  756|    731|#define parseContext (*pParseContext)
  ------------------
 6222|    731|        parseContext.rValueErrorCheck((yyvsp[-1].lex).loc, ":", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|    731|#define parseContext (*pParseContext)
  ------------------
 6223|    731|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addSelection((yyvsp[-5].interm.intermTypedNode), (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode), (yyvsp[-4].lex).loc);
  ------------------
  |  |  756|    731|#define parseContext (*pParseContext)
  ------------------
 6224|    731|        if ((yyval.interm.intermTypedNode) == 0) {
  ------------------
  |  Branch (6224:13): [True: 407, False: 324]
  ------------------
 6225|    407|            parseContext.binaryOpError((yyvsp[-4].lex).loc, ":", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  756|    407|#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()));
  ------------------
  |  |  756|    407|#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()));
  ------------------
  |  |  756|    407|#define parseContext (*pParseContext)
  ------------------
 6226|    407|            (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6227|    407|        }
 6228|    731|    }
 6229|    731|#line 6230 "MachineIndependent/glslang_tab.cpp"
 6230|    731|    break;
 6231|       |
 6232|  8.08k|  case 79: /* assignment_expression: conditional_expression  */
  ------------------
  |  Branch (6232:3): [True: 8.08k, False: 11.0M]
  ------------------
 6233|  8.08k|#line 806 "MachineIndependent/glslang.y"
 6234|  8.08k|                             { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6235|  8.08k|#line 6236 "MachineIndependent/glslang_tab.cpp"
 6236|  8.08k|    break;
 6237|       |
 6238|      0|  case 80: /* assignment_expression: unary_expression assignment_operator assignment_expression  */
  ------------------
  |  Branch (6238:3): [True: 0, False: 11.0M]
  ------------------
 6239|      0|#line 807 "MachineIndependent/glslang.y"
 6240|      0|                                                                 {
 6241|      0|        parseContext.arrayObjectCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "array assignment");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6242|      0|        parseContext.opaqueCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "=");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6243|      0|        parseContext.storage16BitAssignmentCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "=");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6244|      0|        parseContext.specializationCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "=");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6245|      0|        parseContext.lValueErrorCheck((yyvsp[-1].interm).loc, "assign", (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6246|      0|        parseContext.rValueErrorCheck((yyvsp[-1].interm).loc, "assign", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6247|      0|        (yyval.interm.intermTypedNode) = parseContext.addAssign((yyvsp[-1].interm).loc, (yyvsp[-1].interm).op, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6248|      0|        if ((yyval.interm.intermTypedNode) == 0) {
  ------------------
  |  Branch (6248:13): [True: 0, False: 0]
  ------------------
 6249|      0|            parseContext.assignError((yyvsp[-1].interm).loc, "assign", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  756|      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()));
  ------------------
  |  |  756|      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()));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6250|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6251|      0|        }
 6252|      0|    }
 6253|      0|#line 6254 "MachineIndependent/glslang_tab.cpp"
 6254|      0|    break;
 6255|       |
 6256|      0|  case 81: /* assignment_operator: EQUAL  */
  ------------------
  |  Branch (6256:3): [True: 0, False: 11.0M]
  ------------------
 6257|      0|#line 823 "MachineIndependent/glslang.y"
 6258|      0|            {
 6259|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6260|      0|        (yyval.interm).op = EOpAssign;
 6261|      0|    }
 6262|      0|#line 6263 "MachineIndependent/glslang_tab.cpp"
 6263|      0|    break;
 6264|       |
 6265|      0|  case 82: /* assignment_operator: MUL_ASSIGN  */
  ------------------
  |  Branch (6265:3): [True: 0, False: 11.0M]
  ------------------
 6266|      0|#line 827 "MachineIndependent/glslang.y"
 6267|      0|                 {
 6268|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6269|      0|        (yyval.interm).op = EOpMulAssign;
 6270|      0|    }
 6271|      0|#line 6272 "MachineIndependent/glslang_tab.cpp"
 6272|      0|    break;
 6273|       |
 6274|      0|  case 83: /* assignment_operator: DIV_ASSIGN  */
  ------------------
  |  Branch (6274:3): [True: 0, False: 11.0M]
  ------------------
 6275|      0|#line 831 "MachineIndependent/glslang.y"
 6276|      0|                 {
 6277|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6278|      0|        (yyval.interm).op = EOpDivAssign;
 6279|      0|    }
 6280|      0|#line 6281 "MachineIndependent/glslang_tab.cpp"
 6281|      0|    break;
 6282|       |
 6283|      0|  case 84: /* assignment_operator: MOD_ASSIGN  */
  ------------------
  |  Branch (6283:3): [True: 0, False: 11.0M]
  ------------------
 6284|      0|#line 835 "MachineIndependent/glslang.y"
 6285|      0|                 {
 6286|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "%=");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6287|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6288|      0|        (yyval.interm).op = EOpModAssign;
 6289|      0|    }
 6290|      0|#line 6291 "MachineIndependent/glslang_tab.cpp"
 6291|      0|    break;
 6292|       |
 6293|      0|  case 85: /* assignment_operator: ADD_ASSIGN  */
  ------------------
  |  Branch (6293:3): [True: 0, False: 11.0M]
  ------------------
 6294|      0|#line 840 "MachineIndependent/glslang.y"
 6295|      0|                 {
 6296|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6297|      0|        (yyval.interm).op = EOpAddAssign;
 6298|      0|    }
 6299|      0|#line 6300 "MachineIndependent/glslang_tab.cpp"
 6300|      0|    break;
 6301|       |
 6302|      0|  case 86: /* assignment_operator: SUB_ASSIGN  */
  ------------------
  |  Branch (6302:3): [True: 0, False: 11.0M]
  ------------------
 6303|      0|#line 844 "MachineIndependent/glslang.y"
 6304|      0|                 {
 6305|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6306|      0|        (yyval.interm).op = EOpSubAssign;
 6307|      0|    }
 6308|      0|#line 6309 "MachineIndependent/glslang_tab.cpp"
 6309|      0|    break;
 6310|       |
 6311|      0|  case 87: /* assignment_operator: LEFT_ASSIGN  */
  ------------------
  |  Branch (6311:3): [True: 0, False: 11.0M]
  ------------------
 6312|      0|#line 848 "MachineIndependent/glslang.y"
 6313|      0|                  {
 6314|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bit-shift left assign");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6315|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpLeftShiftAssign;
 6316|      0|    }
 6317|      0|#line 6318 "MachineIndependent/glslang_tab.cpp"
 6318|      0|    break;
 6319|       |
 6320|      0|  case 88: /* assignment_operator: RIGHT_ASSIGN  */
  ------------------
  |  Branch (6320:3): [True: 0, False: 11.0M]
  ------------------
 6321|      0|#line 852 "MachineIndependent/glslang.y"
 6322|      0|                   {
 6323|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bit-shift right assign");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6324|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpRightShiftAssign;
 6325|      0|    }
 6326|      0|#line 6327 "MachineIndependent/glslang_tab.cpp"
 6327|      0|    break;
 6328|       |
 6329|      0|  case 89: /* assignment_operator: AND_ASSIGN  */
  ------------------
  |  Branch (6329:3): [True: 0, False: 11.0M]
  ------------------
 6330|      0|#line 856 "MachineIndependent/glslang.y"
 6331|      0|                 {
 6332|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bitwise-and assign");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6333|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpAndAssign;
 6334|      0|    }
 6335|      0|#line 6336 "MachineIndependent/glslang_tab.cpp"
 6336|      0|    break;
 6337|       |
 6338|      0|  case 90: /* assignment_operator: XOR_ASSIGN  */
  ------------------
  |  Branch (6338:3): [True: 0, False: 11.0M]
  ------------------
 6339|      0|#line 860 "MachineIndependent/glslang.y"
 6340|      0|                 {
 6341|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bitwise-xor assign");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6342|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpExclusiveOrAssign;
 6343|      0|    }
 6344|      0|#line 6345 "MachineIndependent/glslang_tab.cpp"
 6345|      0|    break;
 6346|       |
 6347|      0|  case 91: /* assignment_operator: OR_ASSIGN  */
  ------------------
  |  Branch (6347:3): [True: 0, False: 11.0M]
  ------------------
 6348|      0|#line 864 "MachineIndependent/glslang.y"
 6349|      0|                {
 6350|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bitwise-or assign");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6351|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpInclusiveOrAssign;
 6352|      0|    }
 6353|      0|#line 6354 "MachineIndependent/glslang_tab.cpp"
 6354|      0|    break;
 6355|       |
 6356|    952|  case 92: /* expression: assignment_expression  */
  ------------------
  |  Branch (6356:3): [True: 952, False: 11.0M]
  ------------------
 6357|    952|#line 871 "MachineIndependent/glslang.y"
 6358|    952|                            {
 6359|    952|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6360|    952|    }
 6361|    952|#line 6362 "MachineIndependent/glslang_tab.cpp"
 6362|    952|    break;
 6363|       |
 6364|      0|  case 93: /* expression: expression COMMA assignment_expression  */
  ------------------
  |  Branch (6364:3): [True: 0, False: 11.0M]
  ------------------
 6365|      0|#line 874 "MachineIndependent/glslang.y"
 6366|      0|                                             {
 6367|      0|        parseContext.samplerConstructorLocationCheck((yyvsp[-1].lex).loc, ",", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6368|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addComma((yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6369|      0|        if ((yyval.interm.intermTypedNode) == 0) {
  ------------------
  |  Branch (6369:13): [True: 0, False: 0]
  ------------------
 6370|      0|            parseContext.binaryOpError((yyvsp[-1].lex).loc, ",", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  756|      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()));
  ------------------
  |  |  756|      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()));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6371|      0|            (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6372|      0|        }
 6373|      0|    }
 6374|      0|#line 6375 "MachineIndependent/glslang_tab.cpp"
 6375|      0|    break;
 6376|       |
 6377|      0|  case 94: /* constant_expression: conditional_expression  */
  ------------------
  |  Branch (6377:3): [True: 0, False: 11.0M]
  ------------------
 6378|      0|#line 885 "MachineIndependent/glslang.y"
 6379|      0|                             {
 6380|      0|        parseContext.constantValueCheck((yyvsp[0].interm.intermTypedNode), "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6381|      0|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6382|      0|    }
 6383|      0|#line 6384 "MachineIndependent/glslang_tab.cpp"
 6384|      0|    break;
 6385|       |
 6386|   356k|  case 95: /* declaration: function_prototype SEMICOLON  */
  ------------------
  |  Branch (6386:3): [True: 356k, False: 10.6M]
  ------------------
 6387|   356k|#line 892 "MachineIndependent/glslang.y"
 6388|   356k|                                   {
 6389|   356k|        parseContext.handleFunctionDeclarator((yyvsp[-1].interm).loc, *(yyvsp[-1].interm).function, true /* prototype */);
  ------------------
  |  |  756|   356k|#define parseContext (*pParseContext)
  ------------------
 6390|   356k|        (yyval.interm.intermNode) = 0;
 6391|       |        // TODO: 4.0 functionality: subroutines: make the identifier a user type for this signature
 6392|   356k|    }
 6393|   356k|#line 6394 "MachineIndependent/glslang_tab.cpp"
 6394|   356k|    break;
 6395|       |
 6396|      0|  case 96: /* declaration: spirv_instruction_qualifier function_prototype SEMICOLON  */
  ------------------
  |  Branch (6396:3): [True: 0, False: 11.0M]
  ------------------
 6397|      0|#line 897 "MachineIndependent/glslang.y"
 6398|      0|                                                               {
 6399|      0|        parseContext.requireExtensions((yyvsp[-1].interm).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V instruction qualifier");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6400|      0|        (yyvsp[-1].interm).function->setSpirvInstruction(*(yyvsp[-2].interm.spirvInst)); // Attach SPIR-V intruction qualifier
 6401|      0|        parseContext.handleFunctionDeclarator((yyvsp[-1].interm).loc, *(yyvsp[-1].interm).function, true /* prototype */);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6402|      0|        (yyval.interm.intermNode) = 0;
 6403|       |        // TODO: 4.0 functionality: subroutines: make the identifier a user type for this signature
 6404|      0|    }
 6405|      0|#line 6406 "MachineIndependent/glslang_tab.cpp"
 6406|      0|    break;
 6407|       |
 6408|      0|  case 97: /* declaration: spirv_execution_mode_qualifier SEMICOLON  */
  ------------------
  |  Branch (6408:3): [True: 0, False: 11.0M]
  ------------------
 6409|      0|#line 904 "MachineIndependent/glslang.y"
 6410|      0|                                               {
 6411|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "SPIR-V execution mode qualifier");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6412|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V execution mode qualifier");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6413|      0|        (yyval.interm.intermNode) = 0;
 6414|      0|    }
 6415|      0|#line 6416 "MachineIndependent/glslang_tab.cpp"
 6416|      0|    break;
 6417|       |
 6418|  16.0k|  case 98: /* declaration: init_declarator_list SEMICOLON  */
  ------------------
  |  Branch (6418:3): [True: 16.0k, False: 11.0M]
  ------------------
 6419|  16.0k|#line 909 "MachineIndependent/glslang.y"
 6420|  16.0k|                                     {
 6421|  16.0k|        if ((yyvsp[-1].interm).intermNode && (yyvsp[-1].interm).intermNode->getAsAggregate())
  ------------------
  |  Branch (6421:13): [True: 0, False: 16.0k]
  |  Branch (6421:46): [True: 0, False: 0]
  ------------------
 6422|      0|            (yyvsp[-1].interm).intermNode->getAsAggregate()->setOperator(EOpSequence);
 6423|  16.0k|        (yyval.interm.intermNode) = (yyvsp[-1].interm).intermNode;
 6424|  16.0k|    }
 6425|  16.0k|#line 6426 "MachineIndependent/glslang_tab.cpp"
 6426|  16.0k|    break;
 6427|       |
 6428|      0|  case 99: /* declaration: PRECISION precision_qualifier type_specifier SEMICOLON  */
  ------------------
  |  Branch (6428:3): [True: 0, False: 11.0M]
  ------------------
 6429|      0|#line 914 "MachineIndependent/glslang.y"
 6430|      0|                                                             {
 6431|      0|        parseContext.profileRequires((yyvsp[-3].lex).loc, ENoProfile, 130, 0, "precision statement");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6432|       |        // lazy setting of the previous scope's defaults, has effect only the first time it is called in a particular scope
 6433|      0|        parseContext.symbolTable.setPreviousDefaultPrecisions(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.setPreviousDefaultPrecisions(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6434|      0|        parseContext.setDefaultPrecision((yyvsp[-3].lex).loc, (yyvsp[-1].interm.type), (yyvsp[-2].interm.type).qualifier.precision);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6435|      0|        (yyval.interm.intermNode) = 0;
 6436|      0|    }
 6437|      0|#line 6438 "MachineIndependent/glslang_tab.cpp"
 6438|      0|    break;
 6439|       |
 6440|     84|  case 100: /* declaration: block_structure SEMICOLON  */
  ------------------
  |  Branch (6440:3): [True: 84, False: 11.0M]
  ------------------
 6441|     84|#line 921 "MachineIndependent/glslang.y"
 6442|     84|                                {
 6443|     84|        (yyval.interm.intermNode) = parseContext.declareBlock((yyvsp[-1].interm).loc, *(yyvsp[-1].interm).typeList);
  ------------------
  |  |  756|     84|#define parseContext (*pParseContext)
  ------------------
 6444|     84|    }
 6445|     84|#line 6446 "MachineIndependent/glslang_tab.cpp"
 6446|     84|    break;
 6447|       |
 6448|      0|  case 101: /* declaration: block_structure IDENTIFIER SEMICOLON  */
  ------------------
  |  Branch (6448:3): [True: 0, False: 11.0M]
  ------------------
 6449|      0|#line 924 "MachineIndependent/glslang.y"
 6450|      0|                                           {
 6451|      0|        (yyval.interm.intermNode) = parseContext.declareBlock((yyvsp[-2].interm).loc, *(yyvsp[-2].interm).typeList, (yyvsp[-1].lex).string);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6452|      0|    }
 6453|      0|#line 6454 "MachineIndependent/glslang_tab.cpp"
 6454|      0|    break;
 6455|       |
 6456|    164|  case 102: /* declaration: block_structure IDENTIFIER array_specifier SEMICOLON  */
  ------------------
  |  Branch (6456:3): [True: 164, False: 11.0M]
  ------------------
 6457|    164|#line 927 "MachineIndependent/glslang.y"
 6458|    164|                                                           {
 6459|    164|        (yyval.interm.intermNode) = parseContext.declareBlock((yyvsp[-3].interm).loc, *(yyvsp[-3].interm).typeList, (yyvsp[-2].lex).string, (yyvsp[-1].interm).arraySizes);
  ------------------
  |  |  756|    164|#define parseContext (*pParseContext)
  ------------------
 6460|    164|    }
 6461|    164|#line 6462 "MachineIndependent/glslang_tab.cpp"
 6462|    164|    break;
 6463|       |
 6464|      0|  case 103: /* declaration: type_qualifier SEMICOLON  */
  ------------------
  |  Branch (6464:3): [True: 0, False: 11.0M]
  ------------------
 6465|      0|#line 930 "MachineIndependent/glslang.y"
 6466|      0|                               {
 6467|      0|        parseContext.globalQualifierFixCheck((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6468|      0|        parseContext.updateStandaloneQualifierDefaults((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6469|      0|        (yyval.interm.intermNode) = 0;
 6470|      0|    }
 6471|      0|#line 6472 "MachineIndependent/glslang_tab.cpp"
 6472|      0|    break;
 6473|       |
 6474|      0|  case 104: /* declaration: type_qualifier identifier_list SEMICOLON  */
  ------------------
  |  Branch (6474:3): [True: 0, False: 11.0M]
  ------------------
 6475|      0|#line 935 "MachineIndependent/glslang.y"
 6476|      0|                                               {
 6477|      0|        parseContext.checkNoShaderLayouts((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).shaderQualifiers);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6478|      0|        parseContext.addQualifierToExisting((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).qualifier, *(yyvsp[-1].interm.identifierList));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6479|      0|        (yyval.interm.intermNode) = 0;
 6480|      0|    }
 6481|      0|#line 6482 "MachineIndependent/glslang_tab.cpp"
 6482|      0|    break;
 6483|       |
 6484|    248|  case 105: /* $@2: %empty  */
  ------------------
  |  Branch (6484:3): [True: 248, False: 11.0M]
  ------------------
 6485|    248|#line 943 "MachineIndependent/glslang.y"
 6486|    248|                                           { parseContext.nestedBlockCheck((yyvsp[-2].interm.type).loc); }
  ------------------
  |  |  756|    248|#define parseContext (*pParseContext)
  ------------------
 6487|    248|#line 6488 "MachineIndependent/glslang_tab.cpp"
 6488|    248|    break;
 6489|       |
 6490|    248|  case 106: /* block_structure: type_qualifier IDENTIFIER LEFT_BRACE $@2 struct_declaration_without_heap RIGHT_BRACE  */
  ------------------
  |  Branch (6490:3): [True: 248, False: 11.0M]
  ------------------
 6491|    248|#line 943 "MachineIndependent/glslang.y"
 6492|    248|                                                                                                                                  {
 6493|    248|        --parseContext.blockNestingLevel;
  ------------------
  |  |  756|    248|#define parseContext (*pParseContext)
  ------------------
 6494|    248|        parseContext.blockName = (yyvsp[-4].lex).string;
  ------------------
  |  |  756|    248|#define parseContext (*pParseContext)
  ------------------
 6495|    248|        parseContext.globalQualifierFixCheck((yyvsp[-5].interm.type).loc, (yyvsp[-5].interm.type).qualifier);
  ------------------
  |  |  756|    248|#define parseContext (*pParseContext)
  ------------------
 6496|    248|        parseContext.checkNoShaderLayouts((yyvsp[-5].interm.type).loc, (yyvsp[-5].interm.type).shaderQualifiers);
  ------------------
  |  |  756|    248|#define parseContext (*pParseContext)
  ------------------
 6497|    248|        parseContext.currentBlockQualifier = (yyvsp[-5].interm.type).qualifier;
  ------------------
  |  |  756|    496|#define parseContext (*pParseContext)
  ------------------
 6498|    248|        (yyval.interm).loc = (yyvsp[-5].interm.type).loc;
 6499|    248|        (yyval.interm).typeList = (yyvsp[-1].interm.typeList);
 6500|    248|    }
 6501|    248|#line 6502 "MachineIndependent/glslang_tab.cpp"
 6502|    248|    break;
 6503|       |
 6504|      0|  case 107: /* identifier_list: IDENTIFIER  */
  ------------------
  |  Branch (6504:3): [True: 0, False: 11.0M]
  ------------------
 6505|      0|#line 955 "MachineIndependent/glslang.y"
 6506|      0|                 {
 6507|      0|        (yyval.interm.identifierList) = new TIdentifierList;
 6508|      0|        (yyval.interm.identifierList)->push_back((yyvsp[0].lex).string);
 6509|      0|    }
 6510|      0|#line 6511 "MachineIndependent/glslang_tab.cpp"
 6511|      0|    break;
 6512|       |
 6513|      0|  case 108: /* identifier_list: identifier_list COMMA IDENTIFIER  */
  ------------------
  |  Branch (6513:3): [True: 0, False: 11.0M]
  ------------------
 6514|      0|#line 959 "MachineIndependent/glslang.y"
 6515|      0|                                       {
 6516|      0|        (yyval.interm.identifierList) = (yyvsp[-2].interm.identifierList);
 6517|      0|        (yyval.interm.identifierList)->push_back((yyvsp[0].lex).string);
 6518|      0|    }
 6519|      0|#line 6520 "MachineIndependent/glslang_tab.cpp"
 6520|      0|    break;
 6521|       |
 6522|   356k|  case 109: /* function_prototype: function_declarator RIGHT_PAREN  */
  ------------------
  |  Branch (6522:3): [True: 356k, False: 10.6M]
  ------------------
 6523|   356k|#line 966 "MachineIndependent/glslang.y"
 6524|   356k|                                       {
 6525|   356k|        (yyval.interm).function = (yyvsp[-1].interm.function);
 6526|   356k|        if (parseContext.compileOnly) (yyval.interm).function->setExport();
  ------------------
  |  |  756|   356k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6526:13): [True: 0, False: 356k]
  ------------------
 6527|   356k|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6528|   356k|    }
 6529|   356k|#line 6530 "MachineIndependent/glslang_tab.cpp"
 6530|   356k|    break;
 6531|       |
 6532|      0|  case 110: /* function_prototype: function_declarator RIGHT_PAREN attribute  */
  ------------------
  |  Branch (6532:3): [True: 0, False: 11.0M]
  ------------------
 6533|      0|#line 971 "MachineIndependent/glslang.y"
 6534|      0|                                                {
 6535|      0|        (yyval.interm).function = (yyvsp[-2].interm.function);
 6536|      0|        if (parseContext.compileOnly) (yyval.interm).function->setExport();
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6536:13): [True: 0, False: 0]
  ------------------
 6537|      0|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 6538|      0|        const char * extensions[2] = { E_GL_EXT_subgroup_uniform_control_flow, E_GL_EXT_maximal_reconvergence };
 6539|      0|        parseContext.requireExtensions((yyvsp[-1].lex).loc, 2, extensions, "attribute");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6540|      0|        parseContext.handleFunctionAttributes((yyvsp[-1].lex).loc, *(yyvsp[0].interm.attributes));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6541|      0|    }
 6542|      0|#line 6543 "MachineIndependent/glslang_tab.cpp"
 6543|      0|    break;
 6544|       |
 6545|      0|  case 111: /* function_prototype: attribute function_declarator RIGHT_PAREN  */
  ------------------
  |  Branch (6545:3): [True: 0, False: 11.0M]
  ------------------
 6546|      0|#line 979 "MachineIndependent/glslang.y"
 6547|      0|                                                {
 6548|      0|        (yyval.interm).function = (yyvsp[-1].interm.function);
 6549|      0|        if (parseContext.compileOnly) (yyval.interm).function->setExport();
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6549:13): [True: 0, False: 0]
  ------------------
 6550|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6551|      0|        const char * extensions[2] = { E_GL_EXT_subgroup_uniform_control_flow, E_GL_EXT_maximal_reconvergence };
 6552|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 2, extensions, "attribute");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6553|      0|        parseContext.handleFunctionAttributes((yyvsp[0].lex).loc, *(yyvsp[-2].interm.attributes));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6554|      0|    }
 6555|      0|#line 6556 "MachineIndependent/glslang_tab.cpp"
 6556|      0|    break;
 6557|       |
 6558|      0|  case 112: /* function_prototype: attribute function_declarator RIGHT_PAREN attribute  */
  ------------------
  |  Branch (6558:3): [True: 0, False: 11.0M]
  ------------------
 6559|      0|#line 987 "MachineIndependent/glslang.y"
 6560|      0|                                                          {
 6561|      0|        (yyval.interm).function = (yyvsp[-2].interm.function);
 6562|      0|        if (parseContext.compileOnly) (yyval.interm).function->setExport();
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6562:13): [True: 0, False: 0]
  ------------------
 6563|      0|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 6564|      0|        const char * extensions[2] = { E_GL_EXT_subgroup_uniform_control_flow, E_GL_EXT_maximal_reconvergence };
 6565|      0|        parseContext.requireExtensions((yyvsp[-1].lex).loc, 2, extensions, "attribute");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6566|      0|        parseContext.handleFunctionAttributes((yyvsp[-1].lex).loc, *(yyvsp[-3].interm.attributes));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6567|      0|        parseContext.handleFunctionAttributes((yyvsp[-1].lex).loc, *(yyvsp[0].interm.attributes));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6568|      0|    }
 6569|      0|#line 6570 "MachineIndependent/glslang_tab.cpp"
 6570|      0|    break;
 6571|       |
 6572|    969|  case 113: /* function_declarator: function_header  */
  ------------------
  |  Branch (6572:3): [True: 969, False: 11.0M]
  ------------------
 6573|    969|#line 999 "MachineIndependent/glslang.y"
 6574|    969|                      {
 6575|    969|        (yyval.interm.function) = (yyvsp[0].interm.function);
 6576|    969|    }
 6577|    969|#line 6578 "MachineIndependent/glslang_tab.cpp"
 6578|    969|    break;
 6579|       |
 6580|   355k|  case 114: /* function_declarator: function_header_with_parameters  */
  ------------------
  |  Branch (6580:3): [True: 355k, False: 10.6M]
  ------------------
 6581|   355k|#line 1002 "MachineIndependent/glslang.y"
 6582|   355k|                                      {
 6583|   355k|        (yyval.interm.function) = (yyvsp[0].interm.function);
 6584|   355k|    }
 6585|   355k|#line 6586 "MachineIndependent/glslang_tab.cpp"
 6586|   355k|    break;
 6587|       |
 6588|   355k|  case 115: /* function_header_with_parameters: function_header parameter_declaration  */
  ------------------
  |  Branch (6588:3): [True: 355k, False: 10.6M]
  ------------------
 6589|   355k|#line 1009 "MachineIndependent/glslang.y"
 6590|   355k|                                            {
 6591|       |        // Add the parameter
 6592|   355k|        (yyval.interm.function) = (yyvsp[-1].interm.function);
 6593|   355k|        if ((yyvsp[0].interm).param.type->getBasicType() != EbtVoid)
  ------------------
  |  Branch (6593:13): [True: 355k, False: 56]
  ------------------
 6594|   355k|        {
 6595|   355k|            if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  756|   355k|#define parseContext (*pParseContext)
  ------------------
                          if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  756|   202k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6595:19): [True: 202k, False: 153k]
  |  Branch (6595:57): [True: 0, False: 202k]
  ------------------
 6596|   355k|                (yyvsp[-1].interm.function)->addParameter((yyvsp[0].interm).param);
 6597|      0|            else
 6598|      0|                parseContext.vkRelaxedRemapFunctionParameter((yyvsp[-1].interm.function), (yyvsp[0].interm).param);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6599|   355k|        }
 6600|     56|        else
 6601|     56|            delete (yyvsp[0].interm).param.type;
 6602|   355k|    }
 6603|   355k|#line 6604 "MachineIndependent/glslang_tab.cpp"
 6604|   355k|    break;
 6605|       |
 6606|   660k|  case 116: /* function_header_with_parameters: function_header_with_parameters COMMA parameter_declaration  */
  ------------------
  |  Branch (6606:3): [True: 660k, False: 10.3M]
  ------------------
 6607|   660k|#line 1022 "MachineIndependent/glslang.y"
 6608|   660k|                                                                  {
 6609|       |        //
 6610|       |        // Only first parameter of one-parameter functions can be void
 6611|       |        // The check for named parameters not being void is done in parameter_declarator
 6612|       |        //
 6613|   660k|        if ((yyvsp[0].interm).param.type->getBasicType() == EbtVoid) {
  ------------------
  |  Branch (6613:13): [True: 0, False: 660k]
  ------------------
 6614|       |            //
 6615|       |            // This parameter > first is void
 6616|       |            //
 6617|      0|            parseContext.error((yyvsp[-1].lex).loc, "cannot be an argument type except for '(void)'", "void", "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6618|      0|            delete (yyvsp[0].interm).param.type;
 6619|   660k|        } else {
 6620|       |            // Add the parameter
 6621|   660k|            (yyval.interm.function) = (yyvsp[-2].interm.function);
 6622|   660k|            if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  756|   660k|#define parseContext (*pParseContext)
  ------------------
                          if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  756|   361k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6622:19): [True: 361k, False: 298k]
  |  Branch (6622:57): [True: 0, False: 361k]
  ------------------
 6623|   660k|                (yyvsp[-2].interm.function)->addParameter((yyvsp[0].interm).param);
 6624|      0|            else
 6625|      0|                parseContext.vkRelaxedRemapFunctionParameter((yyvsp[-2].interm.function), (yyvsp[0].interm).param);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6626|   660k|        }
 6627|   660k|    }
 6628|   660k|#line 6629 "MachineIndependent/glslang_tab.cpp"
 6629|   660k|    break;
 6630|       |
 6631|  1.62k|  case 117: /* function_header_with_parameters: function_header_with_parameters COMMA DOT DOT DOT  */
  ------------------
  |  Branch (6631:3): [True: 1.62k, False: 11.0M]
  ------------------
 6632|  1.62k|#line 1042 "MachineIndependent/glslang.y"
 6633|  1.62k|                                                        {
 6634|  1.62k|        (yyval.interm.function) = (yyvsp[-4].interm.function);
 6635|  1.62k|        parseContext.makeVariadic((yyvsp[-4].interm.function), (yyvsp[-2].lex).loc);
  ------------------
  |  |  756|  1.62k|#define parseContext (*pParseContext)
  ------------------
 6636|  1.62k|    }
 6637|  1.62k|#line 6638 "MachineIndependent/glslang_tab.cpp"
 6638|  1.62k|    break;
 6639|       |
 6640|   356k|  case 118: /* function_header: fully_specified_type IDENTIFIER LEFT_PAREN  */
  ------------------
  |  Branch (6640:3): [True: 356k, False: 10.6M]
  ------------------
 6641|   356k|#line 1049 "MachineIndependent/glslang.y"
 6642|   356k|                                                 {
 6643|   356k|        if ((yyvsp[-2].interm.type).qualifier.storage != EvqGlobal && (yyvsp[-2].interm.type).qualifier.storage != EvqTemporary) {
  ------------------
  |  Branch (6643:13): [True: 0, False: 356k]
  |  Branch (6643:71): [True: 0, False: 0]
  ------------------
 6644|      0|            parseContext.error((yyvsp[-1].lex).loc, "no qualifiers allowed for function return",
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6645|      0|                               GetStorageQualifierString((yyvsp[-2].interm.type).qualifier.storage), "");
 6646|      0|        }
 6647|   356k|        if ((yyvsp[-2].interm.type).arraySizes)
  ------------------
  |  Branch (6647:13): [True: 0, False: 356k]
  ------------------
 6648|      0|            parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6649|       |
 6650|       |        // Add the function as a prototype after parsing it (we do not support recursion)
 6651|   356k|        TFunction *function;
 6652|   356k|        TType type((yyvsp[-2].interm.type));
 6653|       |
 6654|       |        // Potentially rename shader entry point function.  No-op most of the time.
 6655|   356k|        parseContext.renameShaderFunction((yyvsp[-1].lex).string);
  ------------------
  |  |  756|   356k|#define parseContext (*pParseContext)
  ------------------
 6656|       |
 6657|       |        // Make the function
 6658|   356k|        function = new TFunction((yyvsp[-1].lex).string, type);
 6659|   356k|        (yyval.interm.function) = function;
 6660|   356k|    }
 6661|   356k|#line 6662 "MachineIndependent/glslang_tab.cpp"
 6662|   356k|    break;
 6663|       |
 6664|   207k|  case 119: /* parameter_declarator: type_specifier IDENTIFIER  */
  ------------------
  |  Branch (6664:3): [True: 207k, False: 10.8M]
  ------------------
 6665|   207k|#line 1072 "MachineIndependent/glslang.y"
 6666|   207k|                                {
 6667|   207k|        if ((yyvsp[-1].interm.type).arraySizes) {
  ------------------
  |  Branch (6667:13): [True: 26.3k, False: 181k]
  ------------------
 6668|  26.3k|            parseContext.profileRequires((yyvsp[-1].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  756|  26.3k|#define parseContext (*pParseContext)
  ------------------
 6669|  26.3k|            parseContext.profileRequires((yyvsp[-1].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  756|  26.3k|#define parseContext (*pParseContext)
  ------------------
 6670|  26.3k|            parseContext.arraySizeRequiredCheck((yyvsp[-1].interm.type).loc, *(yyvsp[-1].interm.type).arraySizes);
  ------------------
  |  |  756|  26.3k|#define parseContext (*pParseContext)
  ------------------
 6671|  26.3k|        }
 6672|   207k|        if ((yyvsp[-1].interm.type).basicType == EbtVoid) {
  ------------------
  |  Branch (6672:13): [True: 0, False: 207k]
  ------------------
 6673|      0|            parseContext.error((yyvsp[0].lex).loc, "illegal use of type 'void'", (yyvsp[0].lex).string->c_str(), "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6674|      0|        }
 6675|   207k|        parseContext.reservedErrorCheck((yyvsp[0].lex).loc, *(yyvsp[0].lex).string);
  ------------------
  |  |  756|   207k|#define parseContext (*pParseContext)
  ------------------
 6676|       |
 6677|   207k|        TParameter param = {(yyvsp[0].lex).string, new TType((yyvsp[-1].interm.type)), {}};
 6678|   207k|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6679|   207k|        (yyval.interm).param = param;
 6680|   207k|    }
 6681|   207k|#line 6682 "MachineIndependent/glslang_tab.cpp"
 6682|   207k|    break;
 6683|       |
 6684|  5.88k|  case 120: /* parameter_declarator: type_specifier IDENTIFIER array_specifier  */
  ------------------
  |  Branch (6684:3): [True: 5.88k, False: 11.0M]
  ------------------
 6685|  5.88k|#line 1087 "MachineIndependent/glslang.y"
 6686|  5.88k|                                                {
 6687|  5.88k|        if ((yyvsp[-2].interm.type).arraySizes) {
  ------------------
  |  Branch (6687:13): [True: 0, False: 5.88k]
  ------------------
 6688|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6689|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6690|      0|            parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6691|      0|        }
 6692|  5.88k|        TType* type = new TType((yyvsp[-2].interm.type));
 6693|  5.88k|        type->transferArraySizes((yyvsp[0].interm).arraySizes);
 6694|  5.88k|        type->copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
 6695|       |
 6696|  5.88k|        parseContext.arrayOfArrayVersionCheck((yyvsp[-1].lex).loc, type->getArraySizes());
  ------------------
  |  |  756|  5.88k|#define parseContext (*pParseContext)
  ------------------
 6697|  5.88k|        parseContext.arraySizeRequiredCheck((yyvsp[0].interm).loc, *(yyvsp[0].interm).arraySizes);
  ------------------
  |  |  756|  5.88k|#define parseContext (*pParseContext)
  ------------------
 6698|  5.88k|        parseContext.reservedErrorCheck((yyvsp[-1].lex).loc, *(yyvsp[-1].lex).string);
  ------------------
  |  |  756|  5.88k|#define parseContext (*pParseContext)
  ------------------
 6699|       |
 6700|  5.88k|        TParameter param = { (yyvsp[-1].lex).string, type, {} };
 6701|       |
 6702|  5.88k|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 6703|  5.88k|        (yyval.interm).param = param;
 6704|  5.88k|    }
 6705|  5.88k|#line 6706 "MachineIndependent/glslang_tab.cpp"
 6706|  5.88k|    break;
 6707|       |
 6708|  1.62k|  case 121: /* parameter_declarator: type_specifier IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (6708:3): [True: 1.62k, False: 11.0M]
  ------------------
 6709|  1.62k|#line 1106 "MachineIndependent/glslang.y"
 6710|  1.62k|                                                  {
 6711|  1.62k|        TParameter param = parseContext.getParamWithDefault((yyvsp[-3].interm.type), (yyvsp[-2].lex).string, (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|  1.62k|#define parseContext (*pParseContext)
  ------------------
 6712|  1.62k|        (yyval.interm).loc = (yyvsp[-2].lex).loc;
 6713|  1.62k|        (yyval.interm).param = param;
 6714|  1.62k|    }
 6715|  1.62k|#line 6716 "MachineIndependent/glslang_tab.cpp"
 6716|  1.62k|    break;
 6717|       |
 6718|  27.4k|  case 122: /* parameter_declaration: type_qualifier parameter_declarator  */
  ------------------
  |  Branch (6718:3): [True: 27.4k, False: 11.0M]
  ------------------
 6719|  27.4k|#line 1117 "MachineIndependent/glslang.y"
 6720|  27.4k|                                          {
 6721|  27.4k|        (yyval.interm) = (yyvsp[0].interm);
 6722|  27.4k|        if ((yyvsp[-1].interm.type).qualifier.precision != EpqNone)
  ------------------
  |  Branch (6722:13): [True: 558, False: 26.8k]
  ------------------
 6723|    558|            (yyval.interm).param.type->getQualifier().precision = (yyvsp[-1].interm.type).qualifier.precision;
 6724|  27.4k|        parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  756|  27.4k|#define parseContext (*pParseContext)
  ------------------
 6725|       |
 6726|  27.4k|        parseContext.checkNoShaderLayouts((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
  ------------------
  |  |  756|  27.4k|#define parseContext (*pParseContext)
  ------------------
 6727|  27.4k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, (yyvsp[-1].interm.type).qualifier.storage, *(yyval.interm).param.type);
  ------------------
  |  |  756|  27.4k|#define parseContext (*pParseContext)
  ------------------
 6728|  27.4k|        parseContext.paramCheckFix((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, *(yyval.interm).param.type);
  ------------------
  |  |  756|  27.4k|#define parseContext (*pParseContext)
  ------------------
 6729|       |
 6730|  27.4k|    }
 6731|  27.4k|#line 6732 "MachineIndependent/glslang_tab.cpp"
 6732|  27.4k|    break;
 6733|       |
 6734|   187k|  case 123: /* parameter_declaration: parameter_declarator  */
  ------------------
  |  Branch (6734:3): [True: 187k, False: 10.8M]
  ------------------
 6735|   187k|#line 1128 "MachineIndependent/glslang.y"
 6736|   187k|                           {
 6737|   187k|        (yyval.interm) = (yyvsp[0].interm);
 6738|       |
 6739|   187k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, EvqIn, *(yyvsp[0].interm).param.type);
  ------------------
  |  |  756|   187k|#define parseContext (*pParseContext)
  ------------------
 6740|   187k|        parseContext.paramCheckFixStorage((yyvsp[0].interm).loc, EvqTemporary, *(yyval.interm).param.type);
  ------------------
  |  |  756|   187k|#define parseContext (*pParseContext)
  ------------------
 6741|   187k|        parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  756|   187k|#define parseContext (*pParseContext)
  ------------------
 6742|   187k|    }
 6743|   187k|#line 6744 "MachineIndependent/glslang_tab.cpp"
 6744|   187k|    break;
 6745|       |
 6746|   100k|  case 124: /* parameter_declaration: type_qualifier parameter_type_specifier  */
  ------------------
  |  Branch (6746:3): [True: 100k, False: 10.9M]
  ------------------
 6747|   100k|#line 1138 "MachineIndependent/glslang.y"
 6748|   100k|                                              {
 6749|   100k|        (yyval.interm) = (yyvsp[0].interm);
 6750|   100k|        if ((yyvsp[-1].interm.type).qualifier.precision != EpqNone)
  ------------------
  |  Branch (6750:13): [True: 14.1k, False: 86.5k]
  ------------------
 6751|  14.1k|            (yyval.interm).param.type->getQualifier().precision = (yyvsp[-1].interm.type).qualifier.precision;
 6752|   100k|        parseContext.precisionQualifierCheck((yyvsp[-1].interm.type).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  756|   100k|#define parseContext (*pParseContext)
  ------------------
 6753|       |
 6754|   100k|        parseContext.checkNoShaderLayouts((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
  ------------------
  |  |  756|   100k|#define parseContext (*pParseContext)
  ------------------
 6755|   100k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, (yyvsp[-1].interm.type).qualifier.storage, *(yyval.interm).param.type);
  ------------------
  |  |  756|   100k|#define parseContext (*pParseContext)
  ------------------
 6756|   100k|        parseContext.paramCheckFix((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, *(yyval.interm).param.type);
  ------------------
  |  |  756|   100k|#define parseContext (*pParseContext)
  ------------------
 6757|   100k|    }
 6758|   100k|#line 6759 "MachineIndependent/glslang_tab.cpp"
 6759|   100k|    break;
 6760|       |
 6761|   700k|  case 125: /* parameter_declaration: parameter_type_specifier  */
  ------------------
  |  Branch (6761:3): [True: 700k, False: 10.3M]
  ------------------
 6762|   700k|#line 1148 "MachineIndependent/glslang.y"
 6763|   700k|                               {
 6764|   700k|        (yyval.interm) = (yyvsp[0].interm);
 6765|       |
 6766|   700k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, EvqIn, *(yyvsp[0].interm).param.type);
  ------------------
  |  |  756|   700k|#define parseContext (*pParseContext)
  ------------------
 6767|   700k|        parseContext.paramCheckFixStorage((yyvsp[0].interm).loc, EvqTemporary, *(yyval.interm).param.type);
  ------------------
  |  |  756|   700k|#define parseContext (*pParseContext)
  ------------------
 6768|   700k|        parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  756|   700k|#define parseContext (*pParseContext)
  ------------------
 6769|   700k|    }
 6770|   700k|#line 6771 "MachineIndependent/glslang_tab.cpp"
 6771|   700k|    break;
 6772|       |
 6773|   800k|  case 126: /* parameter_type_specifier: type_specifier  */
  ------------------
  |  Branch (6773:3): [True: 800k, False: 10.2M]
  ------------------
 6774|   800k|#line 1158 "MachineIndependent/glslang.y"
 6775|   800k|                     {
 6776|   800k|        TParameter param = { 0, new TType((yyvsp[0].interm.type)), {} };
 6777|   800k|        (yyval.interm).param = param;
 6778|   800k|        if ((yyvsp[0].interm.type).arraySizes)
  ------------------
  |  Branch (6778:13): [True: 5.04k, False: 795k]
  ------------------
 6779|  5.04k|            parseContext.arraySizeRequiredCheck((yyvsp[0].interm.type).loc, *(yyvsp[0].interm.type).arraySizes);
  ------------------
  |  |  756|  5.04k|#define parseContext (*pParseContext)
  ------------------
 6780|   800k|    }
 6781|   800k|#line 6782 "MachineIndependent/glslang_tab.cpp"
 6782|   800k|    break;
 6783|       |
 6784|  16.2k|  case 127: /* init_declarator_list: single_declaration  */
  ------------------
  |  Branch (6784:3): [True: 16.2k, False: 11.0M]
  ------------------
 6785|  16.2k|#line 1167 "MachineIndependent/glslang.y"
 6786|  16.2k|                         {
 6787|  16.2k|        (yyval.interm) = (yyvsp[0].interm);
 6788|  16.2k|    }
 6789|  16.2k|#line 6790 "MachineIndependent/glslang_tab.cpp"
 6790|  16.2k|    break;
 6791|       |
 6792|      0|  case 128: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER  */
  ------------------
  |  Branch (6792:3): [True: 0, False: 11.0M]
  ------------------
 6793|      0|#line 1170 "MachineIndependent/glslang.y"
 6794|      0|                                            {
 6795|      0|        (yyval.interm) = (yyvsp[-2].interm);
 6796|      0|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[0].lex).loc, *(yyvsp[0].lex).string, (yyvsp[-2].interm).type);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6797|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, declNode, (yyvsp[0].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6798|      0|    }
 6799|      0|#line 6800 "MachineIndependent/glslang_tab.cpp"
 6800|      0|    break;
 6801|       |
 6802|      0|  case 129: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER array_specifier  */
  ------------------
  |  Branch (6802:3): [True: 0, False: 11.0M]
  ------------------
 6803|      0|#line 1175 "MachineIndependent/glslang.y"
 6804|      0|                                                            {
 6805|      0|        (yyval.interm) = (yyvsp[-3].interm);
 6806|      0|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-1].lex).loc, *(yyvsp[-1].lex).string, (yyvsp[-3].interm).type, (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6807|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-3].interm).intermNode, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6808|      0|    }
 6809|      0|#line 6810 "MachineIndependent/glslang_tab.cpp"
 6810|      0|    break;
 6811|       |
 6812|      0|  case 130: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER array_specifier EQUAL initializer  */
  ------------------
  |  Branch (6812:3): [True: 0, False: 11.0M]
  ------------------
 6813|      0|#line 1180 "MachineIndependent/glslang.y"
 6814|      0|                                                                              {
 6815|      0|        (yyval.interm).type = (yyvsp[-5].interm).type;
 6816|      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));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6817|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-5].interm).intermNode, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6818|      0|    }
 6819|      0|#line 6820 "MachineIndependent/glslang_tab.cpp"
 6820|      0|    break;
 6821|       |
 6822|      0|  case 131: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (6822:3): [True: 0, False: 11.0M]
  ------------------
 6823|      0|#line 1185 "MachineIndependent/glslang.y"
 6824|      0|                                                              {
 6825|      0|        (yyval.interm).type = (yyvsp[-4].interm).type;
 6826|      0|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[-4].interm).type, 0, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6827|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-4].interm).intermNode, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6828|      0|    }
 6829|      0|#line 6830 "MachineIndependent/glslang_tab.cpp"
 6830|      0|    break;
 6831|       |
 6832|    316|  case 132: /* single_declaration: fully_specified_type  */
  ------------------
  |  Branch (6832:3): [True: 316, False: 11.0M]
  ------------------
 6833|    316|#line 1193 "MachineIndependent/glslang.y"
 6834|    316|                           {
 6835|    316|        (yyval.interm).type = (yyvsp[0].interm.type);
 6836|    316|        (yyval.interm).intermNode = 0;
 6837|    316|        parseContext.declareTypeDefaults((yyval.interm).loc, (yyval.interm).type);
  ------------------
  |  |  756|    316|#define parseContext (*pParseContext)
  ------------------
 6838|    316|    }
 6839|    316|#line 6840 "MachineIndependent/glslang_tab.cpp"
 6840|    316|    break;
 6841|       |
 6842|  11.1k|  case 133: /* single_declaration: fully_specified_type IDENTIFIER  */
  ------------------
  |  Branch (6842:3): [True: 11.1k, False: 11.0M]
  ------------------
 6843|  11.1k|#line 1198 "MachineIndependent/glslang.y"
 6844|  11.1k|                                      {
 6845|  11.1k|        (yyval.interm).type = (yyvsp[-1].interm.type);
 6846|  11.1k|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[0].lex).loc, *(yyvsp[0].lex).string, (yyvsp[-1].interm.type));
  ------------------
  |  |  756|  11.1k|#define parseContext (*pParseContext)
  ------------------
 6847|  11.1k|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[0].lex).loc);
  ------------------
  |  |  756|  11.1k|#define parseContext (*pParseContext)
  ------------------
 6848|       |
 6849|  11.1k|    }
 6850|  11.1k|#line 6851 "MachineIndependent/glslang_tab.cpp"
 6851|  11.1k|    break;
 6852|       |
 6853|    647|  case 134: /* single_declaration: fully_specified_type IDENTIFIER array_specifier  */
  ------------------
  |  Branch (6853:3): [True: 647, False: 11.0M]
  ------------------
 6854|    647|#line 1204 "MachineIndependent/glslang.y"
 6855|    647|                                                      {
 6856|    647|        (yyval.interm).type = (yyvsp[-2].interm.type);
 6857|    647|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-1].lex).loc, *(yyvsp[-1].lex).string, (yyvsp[-2].interm.type), (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  756|    647|#define parseContext (*pParseContext)
  ------------------
 6858|    647|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|    647|#define parseContext (*pParseContext)
  ------------------
 6859|    647|    }
 6860|    647|#line 6861 "MachineIndependent/glslang_tab.cpp"
 6861|    647|    break;
 6862|       |
 6863|      0|  case 135: /* single_declaration: fully_specified_type IDENTIFIER array_specifier EQUAL initializer  */
  ------------------
  |  Branch (6863:3): [True: 0, False: 11.0M]
  ------------------
 6864|      0|#line 1209 "MachineIndependent/glslang.y"
 6865|      0|                                                                        {
 6866|      0|        (yyval.interm).type = (yyvsp[-4].interm.type);
 6867|      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));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6868|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[-3].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6869|      0|    }
 6870|      0|#line 6871 "MachineIndependent/glslang_tab.cpp"
 6871|      0|    break;
 6872|       |
 6873|  4.12k|  case 136: /* single_declaration: fully_specified_type IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (6873:3): [True: 4.12k, False: 11.0M]
  ------------------
 6874|  4.12k|#line 1214 "MachineIndependent/glslang.y"
 6875|  4.12k|                                                        {
 6876|  4.12k|        (yyval.interm).type = (yyvsp[-3].interm.type);
 6877|  4.12k|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[-3].interm.type), 0, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|  4.12k|#define parseContext (*pParseContext)
  ------------------
 6878|  4.12k|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[-2].lex).loc);
  ------------------
  |  |  756|  4.12k|#define parseContext (*pParseContext)
  ------------------
 6879|  4.12k|    }
 6880|  4.12k|#line 6881 "MachineIndependent/glslang_tab.cpp"
 6881|  4.12k|    break;
 6882|       |
 6883|   336k|  case 137: /* fully_specified_type: type_specifier  */
  ------------------
  |  Branch (6883:3): [True: 336k, False: 10.6M]
  ------------------
 6884|   336k|#line 1223 "MachineIndependent/glslang.y"
 6885|   336k|                     {
 6886|   336k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 6887|       |
 6888|   336k|        parseContext.globalQualifierTypeCheck((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier, (yyval.interm.type));
  ------------------
  |  |  756|   336k|#define parseContext (*pParseContext)
  ------------------
 6889|   336k|        if ((yyvsp[0].interm.type).arraySizes) {
  ------------------
  |  Branch (6889:13): [True: 0, False: 336k]
  ------------------
 6890|      0|            parseContext.profileRequires((yyvsp[0].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6891|      0|            parseContext.profileRequires((yyvsp[0].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6892|      0|        }
 6893|   336k|        parseContext.precisionQualifierCheck((yyval.interm.type).loc, (yyval.interm.type).basicType, (yyval.interm.type).qualifier, (yyval.interm.type).hasTypeParameter());
  ------------------
  |  |  756|   336k|#define parseContext (*pParseContext)
  ------------------
 6894|   336k|    }
 6895|   336k|#line 6896 "MachineIndependent/glslang_tab.cpp"
 6896|   336k|    break;
 6897|       |
 6898|  36.2k|  case 138: /* fully_specified_type: type_qualifier type_specifier  */
  ------------------
  |  Branch (6898:3): [True: 36.2k, False: 11.0M]
  ------------------
 6899|  36.2k|#line 1233 "MachineIndependent/glslang.y"
 6900|  36.2k|                                     {
 6901|  36.2k|        parseContext.globalQualifierFixCheck((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, false, &(yyvsp[0].interm.type));
  ------------------
  |  |  756|  36.2k|#define parseContext (*pParseContext)
  ------------------
 6902|  36.2k|        parseContext.globalQualifierTypeCheck((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, (yyvsp[0].interm.type));
  ------------------
  |  |  756|  36.2k|#define parseContext (*pParseContext)
  ------------------
 6903|       |
 6904|  36.2k|        if ((yyvsp[0].interm.type).arraySizes) {
  ------------------
  |  Branch (6904:13): [True: 0, False: 36.2k]
  ------------------
 6905|      0|            parseContext.profileRequires((yyvsp[0].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6906|      0|            parseContext.profileRequires((yyvsp[0].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6907|      0|        }
 6908|       |
 6909|  36.2k|        if ((yyvsp[0].interm.type).arraySizes && parseContext.arrayQualifierError((yyvsp[0].interm.type).loc, (yyvsp[-1].interm.type).qualifier))
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6909:13): [True: 0, False: 36.2k]
  |  Branch (6909:50): [True: 0, False: 0]
  ------------------
 6910|      0|            (yyvsp[0].interm.type).arraySizes = nullptr;
 6911|       |
 6912|  36.2k|        parseContext.checkNoShaderLayouts((yyvsp[0].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
  ------------------
  |  |  756|  36.2k|#define parseContext (*pParseContext)
  ------------------
 6913|  36.2k|        (yyvsp[0].interm.type).shaderQualifiers.merge((yyvsp[-1].interm.type).shaderQualifiers);
 6914|  36.2k|        parseContext.mergeQualifiers((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier, (yyvsp[-1].interm.type).qualifier, true);
  ------------------
  |  |  756|  36.2k|#define parseContext (*pParseContext)
  ------------------
 6915|  36.2k|        parseContext.precisionQualifierCheck((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).basicType, (yyvsp[0].interm.type).qualifier, (yyvsp[0].interm.type).hasTypeParameter());
  ------------------
  |  |  756|  36.2k|#define parseContext (*pParseContext)
  ------------------
 6916|       |
 6917|  36.2k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 6918|       |
 6919|  36.2k|        if (! (yyval.interm.type).qualifier.isInterpolation() &&
  ------------------
  |  Branch (6919:13): [True: 35.8k, False: 421]
  ------------------
 6920|  35.8k|            ((parseContext.language == EShLangVertex   && (yyval.interm.type).qualifier.storage == EvqVaryingOut) ||
  ------------------
  |  |  756|  35.8k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6920:15): [True: 24.4k, False: 11.3k]
  |  Branch (6920:59): [True: 222, False: 24.2k]
  ------------------
 6921|  35.5k|             (parseContext.language == EShLangFragment && (yyval.interm.type).qualifier.storage == EvqVaryingIn)))
  ------------------
  |  |  756|  35.5k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6921:15): [True: 380, False: 35.2k]
  |  Branch (6921:59): [True: 180, False: 200]
  ------------------
 6922|    402|            (yyval.interm.type).qualifier.smooth = true;
 6923|  36.2k|    }
 6924|  36.2k|#line 6925 "MachineIndependent/glslang_tab.cpp"
 6925|  36.2k|    break;
 6926|       |
 6927|      0|  case 139: /* invariant_qualifier: INVARIANT  */
  ------------------
  |  Branch (6927:3): [True: 0, False: 11.0M]
  ------------------
 6928|      0|#line 1260 "MachineIndependent/glslang.y"
 6929|      0|                {
 6930|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "invariant");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6931|      0|        parseContext.profileRequires((yyval.interm.type).loc, ENoProfile, 120, 0, "invariant");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6932|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 6933|      0|        (yyval.interm.type).qualifier.invariant = true;
 6934|      0|    }
 6935|      0|#line 6936 "MachineIndependent/glslang_tab.cpp"
 6936|      0|    break;
 6937|       |
 6938|      0|  case 140: /* interpolation_qualifier: SMOOTH  */
  ------------------
  |  Branch (6938:3): [True: 0, False: 11.0M]
  ------------------
 6939|      0|#line 1269 "MachineIndependent/glslang.y"
 6940|      0|             {
 6941|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "smooth");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6942|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "smooth");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6943|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "smooth");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6944|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 6945|      0|        (yyval.interm.type).qualifier.smooth = true;
 6946|      0|    }
 6947|      0|#line 6948 "MachineIndependent/glslang_tab.cpp"
 6948|      0|    break;
 6949|       |
 6950|    421|  case 141: /* interpolation_qualifier: FLAT  */
  ------------------
  |  Branch (6950:3): [True: 421, False: 11.0M]
  ------------------
 6951|    421|#line 1276 "MachineIndependent/glslang.y"
 6952|    421|           {
 6953|    421|        parseContext.globalCheck((yyvsp[0].lex).loc, "flat");
  ------------------
  |  |  756|    421|#define parseContext (*pParseContext)
  ------------------
 6954|    421|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "flat");
  ------------------
  |  |  756|    421|#define parseContext (*pParseContext)
  ------------------
 6955|    421|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "flat");
  ------------------
  |  |  756|    421|#define parseContext (*pParseContext)
  ------------------
 6956|    421|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 6957|    421|        (yyval.interm.type).qualifier.flat = true;
 6958|    421|    }
 6959|    421|#line 6960 "MachineIndependent/glslang_tab.cpp"
 6960|    421|    break;
 6961|       |
 6962|      0|  case 142: /* interpolation_qualifier: NOPERSPECTIVE  */
  ------------------
  |  Branch (6962:3): [True: 0, False: 11.0M]
  ------------------
 6963|      0|#line 1283 "MachineIndependent/glslang.y"
 6964|      0|                    {
 6965|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "noperspective");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6966|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 0, E_GL_NV_shader_noperspective_interpolation, "noperspective");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6967|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "noperspective");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6968|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 6969|      0|        (yyval.interm.type).qualifier.nopersp = true;
 6970|      0|    }
 6971|      0|#line 6972 "MachineIndependent/glslang_tab.cpp"
 6972|      0|    break;
 6973|       |
 6974|      0|  case 143: /* interpolation_qualifier: EXPLICITINTERPAMD  */
  ------------------
  |  Branch (6974:3): [True: 0, False: 11.0M]
  ------------------
 6975|      0|#line 1290 "MachineIndependent/glslang.y"
 6976|      0|                        {
 6977|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "__explicitInterpAMD");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6978|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 450, E_GL_AMD_shader_explicit_vertex_parameter, "explicit interpolation");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6979|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECompatibilityProfile, 450, E_GL_AMD_shader_explicit_vertex_parameter, "explicit interpolation");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6980|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 6981|      0|        (yyval.interm.type).qualifier.explicitInterp = true;
 6982|      0|    }
 6983|      0|#line 6984 "MachineIndependent/glslang_tab.cpp"
 6984|      0|    break;
 6985|       |
 6986|      0|  case 144: /* interpolation_qualifier: PERVERTEXNV  */
  ------------------
  |  Branch (6986:3): [True: 0, False: 11.0M]
  ------------------
 6987|      0|#line 1297 "MachineIndependent/glslang.y"
 6988|      0|                  {
 6989|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "pervertexNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6990|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 0, E_GL_NV_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6991|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECompatibilityProfile, 0, E_GL_NV_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6992|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 0, E_GL_NV_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6993|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 6994|      0|        (yyval.interm.type).qualifier.pervertexNV = true;
 6995|      0|    }
 6996|      0|#line 6997 "MachineIndependent/glslang_tab.cpp"
 6997|      0|    break;
 6998|       |
 6999|      0|  case 145: /* interpolation_qualifier: PERVERTEXEXT  */
  ------------------
  |  Branch (6999:3): [True: 0, False: 11.0M]
  ------------------
 7000|      0|#line 1305 "MachineIndependent/glslang.y"
 7001|      0|                   {
 7002|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "pervertexEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7003|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 0, E_GL_EXT_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7004|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECompatibilityProfile, 0, E_GL_EXT_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7005|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 0, E_GL_EXT_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7006|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7007|      0|        (yyval.interm.type).qualifier.pervertexEXT = true;
 7008|      0|    }
 7009|      0|#line 7010 "MachineIndependent/glslang_tab.cpp"
 7010|      0|    break;
 7011|       |
 7012|     27|  case 146: /* interpolation_qualifier: PERPRIMITIVENV  */
  ------------------
  |  Branch (7012:3): [True: 27, False: 11.0M]
  ------------------
 7013|     27|#line 1313 "MachineIndependent/glslang.y"
 7014|     27|                     {
 7015|       |        // No need for profile version or extension check. Shader stage already checks both.
 7016|     27|        parseContext.globalCheck((yyvsp[0].lex).loc, "perprimitiveNV");
  ------------------
  |  |  756|     27|#define parseContext (*pParseContext)
  ------------------
 7017|     27|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangFragmentMask | EShLangMeshMask), "perprimitiveNV");
  ------------------
  |  |  756|     27|#define parseContext (*pParseContext)
  ------------------
 7018|       |        // Fragment shader stage doesn't check for extension. So we explicitly add below extension check.
 7019|     27|        if (parseContext.language == EShLangFragment)
  ------------------
  |  |  756|     27|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7019:13): [True: 0, False: 27]
  ------------------
 7020|      0|            parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_NV_mesh_shader, "perprimitiveNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7021|     27|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7022|     27|        (yyval.interm.type).qualifier.perPrimitiveNV = true;
 7023|     27|    }
 7024|     27|#line 7025 "MachineIndependent/glslang_tab.cpp"
 7025|     27|    break;
 7026|       |
 7027|     27|  case 147: /* interpolation_qualifier: PERPRIMITIVEEXT  */
  ------------------
  |  Branch (7027:3): [True: 27, False: 11.0M]
  ------------------
 7028|     27|#line 1323 "MachineIndependent/glslang.y"
 7029|     27|                      {
 7030|       |        // No need for profile version or extension check. Shader stage already checks both.
 7031|     27|        parseContext.globalCheck((yyvsp[0].lex).loc, "perprimitiveEXT");
  ------------------
  |  |  756|     27|#define parseContext (*pParseContext)
  ------------------
 7032|     27|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangFragmentMask | EShLangMeshMask), "perprimitiveEXT");
  ------------------
  |  |  756|     27|#define parseContext (*pParseContext)
  ------------------
 7033|       |        // Fragment shader stage doesn't check for extension. So we explicitly add below extension check.
 7034|     27|        if (parseContext.language == EShLangFragment)
  ------------------
  |  |  756|     27|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7034:13): [True: 0, False: 27]
  ------------------
 7035|      0|            parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_mesh_shader, "perprimitiveEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7036|     27|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7037|     27|        (yyval.interm.type).qualifier.perPrimitiveNV = true;
 7038|     27|    }
 7039|     27|#line 7040 "MachineIndependent/glslang_tab.cpp"
 7040|     27|    break;
 7041|       |
 7042|    135|  case 148: /* interpolation_qualifier: PERVIEWNV  */
  ------------------
  |  Branch (7042:3): [True: 135, False: 11.0M]
  ------------------
 7043|    135|#line 1333 "MachineIndependent/glslang.y"
 7044|    135|                {
 7045|       |        // No need for profile version or extension check. Shader stage already checks both.
 7046|    135|        parseContext.globalCheck((yyvsp[0].lex).loc, "perviewNV");
  ------------------
  |  |  756|    135|#define parseContext (*pParseContext)
  ------------------
 7047|    135|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangMesh, "perviewNV");
  ------------------
  |  |  756|    135|#define parseContext (*pParseContext)
  ------------------
 7048|    135|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7049|    135|        (yyval.interm.type).qualifier.perViewNV = true;
 7050|    135|    }
 7051|    135|#line 7052 "MachineIndependent/glslang_tab.cpp"
 7052|    135|    break;
 7053|       |
 7054|      0|  case 149: /* interpolation_qualifier: PERTASKNV  */
  ------------------
  |  Branch (7054:3): [True: 0, False: 11.0M]
  ------------------
 7055|      0|#line 1340 "MachineIndependent/glslang.y"
 7056|      0|                {
 7057|       |        // No need for profile version or extension check. Shader stage already checks both.
 7058|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "taskNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7059|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangTaskMask | EShLangMeshMask), "taskNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7060|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7061|      0|        (yyval.interm.type).qualifier.perTaskNV = true;
 7062|      0|    }
 7063|      0|#line 7064 "MachineIndependent/glslang_tab.cpp"
 7064|      0|    break;
 7065|       |
 7066|      0|  case 150: /* layout_qualifier: LAYOUT LEFT_PAREN layout_qualifier_id_list RIGHT_PAREN  */
  ------------------
  |  Branch (7066:3): [True: 0, False: 11.0M]
  ------------------
 7067|      0|#line 1350 "MachineIndependent/glslang.y"
 7068|      0|                                                             {
 7069|      0|        (yyval.interm.type) = (yyvsp[-1].interm.type);
 7070|      0|    }
 7071|      0|#line 7072 "MachineIndependent/glslang_tab.cpp"
 7072|      0|    break;
 7073|       |
 7074|      0|  case 151: /* layout_qualifier_id_list: layout_qualifier_id  */
  ------------------
  |  Branch (7074:3): [True: 0, False: 11.0M]
  ------------------
 7075|      0|#line 1356 "MachineIndependent/glslang.y"
 7076|      0|                          {
 7077|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7078|      0|    }
 7079|      0|#line 7080 "MachineIndependent/glslang_tab.cpp"
 7080|      0|    break;
 7081|       |
 7082|      0|  case 152: /* layout_qualifier_id_list: layout_qualifier_id_list COMMA layout_qualifier_id  */
  ------------------
  |  Branch (7082:3): [True: 0, False: 11.0M]
  ------------------
 7083|      0|#line 1359 "MachineIndependent/glslang.y"
 7084|      0|                                                         {
 7085|      0|        (yyval.interm.type) = (yyvsp[-2].interm.type);
 7086|      0|        (yyval.interm.type).shaderQualifiers.merge((yyvsp[0].interm.type).shaderQualifiers);
 7087|      0|        parseContext.mergeObjectLayoutQualifiers((yyval.interm.type).qualifier, (yyvsp[0].interm.type).qualifier, false);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7088|      0|    }
 7089|      0|#line 7090 "MachineIndependent/glslang_tab.cpp"
 7090|      0|    break;
 7091|       |
 7092|      0|  case 153: /* layout_qualifier_id: IDENTIFIER  */
  ------------------
  |  Branch (7092:3): [True: 0, False: 11.0M]
  ------------------
 7093|      0|#line 1366 "MachineIndependent/glslang.y"
 7094|      0|                 {
 7095|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7096|      0|        parseContext.setLayoutQualifier((yyvsp[0].lex).loc, (yyval.interm.type), *(yyvsp[0].lex).string);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7097|      0|    }
 7098|      0|#line 7099 "MachineIndependent/glslang_tab.cpp"
 7099|      0|    break;
 7100|       |
 7101|      0|  case 154: /* layout_qualifier_id: IDENTIFIER EQUAL constant_expression  */
  ------------------
  |  Branch (7101:3): [True: 0, False: 11.0M]
  ------------------
 7102|      0|#line 1370 "MachineIndependent/glslang.y"
 7103|      0|                                           {
 7104|      0|        (yyval.interm.type).init((yyvsp[-2].lex).loc);
 7105|      0|        parseContext.setLayoutQualifier((yyvsp[-2].lex).loc, (yyval.interm.type), *(yyvsp[-2].lex).string, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7106|      0|    }
 7107|      0|#line 7108 "MachineIndependent/glslang_tab.cpp"
 7108|      0|    break;
 7109|       |
 7110|      0|  case 155: /* layout_qualifier_id: SHARED  */
  ------------------
  |  Branch (7110:3): [True: 0, False: 11.0M]
  ------------------
 7111|      0|#line 1374 "MachineIndependent/glslang.y"
 7112|      0|             { // because "shared" is both an identifier and a keyword
 7113|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7114|      0|        TString strShared("shared");
 7115|      0|        parseContext.setLayoutQualifier((yyvsp[0].lex).loc, (yyval.interm.type), strShared);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7116|      0|    }
 7117|      0|#line 7118 "MachineIndependent/glslang_tab.cpp"
 7118|      0|    break;
 7119|       |
 7120|      0|  case 156: /* precise_qualifier: PRECISE  */
  ------------------
  |  Branch (7120:3): [True: 0, False: 11.0M]
  ------------------
 7121|      0|#line 1382 "MachineIndependent/glslang.y"
 7122|      0|              {
 7123|      0|        parseContext.profileRequires((yyval.interm.type).loc, ECoreProfile | ECompatibilityProfile, 400, E_GL_ARB_gpu_shader5, "precise");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7124|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 320, Num_AEP_gpu_shader5, AEP_gpu_shader5, "precise");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7125|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7126|      0|        (yyval.interm.type).qualifier.noContraction = true;
 7127|      0|    }
 7128|      0|#line 7129 "MachineIndependent/glslang_tab.cpp"
 7129|      0|    break;
 7130|       |
 7131|   164k|  case 157: /* type_qualifier: single_type_qualifier  */
  ------------------
  |  Branch (7131:3): [True: 164k, False: 10.8M]
  ------------------
 7132|   164k|#line 1391 "MachineIndependent/glslang.y"
 7133|   164k|                            {
 7134|   164k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7135|   164k|    }
 7136|   164k|#line 7137 "MachineIndependent/glslang_tab.cpp"
 7137|   164k|    break;
 7138|       |
 7139|   137k|  case 158: /* type_qualifier: type_qualifier single_type_qualifier  */
  ------------------
  |  Branch (7139:3): [True: 137k, False: 10.8M]
  ------------------
 7140|   137k|#line 1394 "MachineIndependent/glslang.y"
 7141|   137k|                                           {
 7142|   137k|        (yyval.interm.type) = (yyvsp[-1].interm.type);
 7143|   137k|        if ((yyval.interm.type).basicType == EbtVoid)
  ------------------
  |  Branch (7143:13): [True: 137k, False: 0]
  ------------------
 7144|   137k|            (yyval.interm.type).basicType = (yyvsp[0].interm.type).basicType;
 7145|       |
 7146|   137k|        (yyval.interm.type).shaderQualifiers.merge((yyvsp[0].interm.type).shaderQualifiers);
 7147|   137k|        parseContext.mergeQualifiers((yyval.interm.type).loc, (yyval.interm.type).qualifier, (yyvsp[0].interm.type).qualifier, false);
  ------------------
  |  |  756|   137k|#define parseContext (*pParseContext)
  ------------------
 7148|   137k|    }
 7149|   137k|#line 7150 "MachineIndependent/glslang_tab.cpp"
 7150|   137k|    break;
 7151|       |
 7152|   245k|  case 159: /* single_type_qualifier: storage_qualifier  */
  ------------------
  |  Branch (7152:3): [True: 245k, False: 10.7M]
  ------------------
 7153|   245k|#line 1405 "MachineIndependent/glslang.y"
 7154|   245k|                        {
 7155|   245k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7156|   245k|    }
 7157|   245k|#line 7158 "MachineIndependent/glslang_tab.cpp"
 7158|   245k|    break;
 7159|       |
 7160|      0|  case 160: /* single_type_qualifier: layout_qualifier  */
  ------------------
  |  Branch (7160:3): [True: 0, False: 11.0M]
  ------------------
 7161|      0|#line 1408 "MachineIndependent/glslang.y"
 7162|      0|                       {
 7163|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7164|      0|    }
 7165|      0|#line 7166 "MachineIndependent/glslang_tab.cpp"
 7166|      0|    break;
 7167|       |
 7168|  55.8k|  case 161: /* single_type_qualifier: precision_qualifier  */
  ------------------
  |  Branch (7168:3): [True: 55.8k, False: 10.9M]
  ------------------
 7169|  55.8k|#line 1411 "MachineIndependent/glslang.y"
 7170|  55.8k|                          {
 7171|  55.8k|        parseContext.checkPrecisionQualifier((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier.precision);
  ------------------
  |  |  756|  55.8k|#define parseContext (*pParseContext)
  ------------------
 7172|  55.8k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7173|  55.8k|    }
 7174|  55.8k|#line 7175 "MachineIndependent/glslang_tab.cpp"
 7175|  55.8k|    break;
 7176|       |
 7177|    610|  case 162: /* single_type_qualifier: interpolation_qualifier  */
  ------------------
  |  Branch (7177:3): [True: 610, False: 11.0M]
  ------------------
 7178|    610|#line 1415 "MachineIndependent/glslang.y"
 7179|    610|                              {
 7180|       |        // allow inheritance of storage qualifier from block declaration
 7181|    610|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7182|    610|    }
 7183|    610|#line 7184 "MachineIndependent/glslang_tab.cpp"
 7184|    610|    break;
 7185|       |
 7186|      0|  case 163: /* single_type_qualifier: invariant_qualifier  */
  ------------------
  |  Branch (7186:3): [True: 0, False: 11.0M]
  ------------------
 7187|      0|#line 1419 "MachineIndependent/glslang.y"
 7188|      0|                          {
 7189|       |        // allow inheritance of storage qualifier from block declaration
 7190|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7191|      0|    }
 7192|      0|#line 7193 "MachineIndependent/glslang_tab.cpp"
 7193|      0|    break;
 7194|       |
 7195|      0|  case 164: /* single_type_qualifier: precise_qualifier  */
  ------------------
  |  Branch (7195:3): [True: 0, False: 11.0M]
  ------------------
 7196|      0|#line 1423 "MachineIndependent/glslang.y"
 7197|      0|                        {
 7198|       |        // allow inheritance of storage qualifier from block declaration
 7199|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7200|      0|    }
 7201|      0|#line 7202 "MachineIndependent/glslang_tab.cpp"
 7202|      0|    break;
 7203|       |
 7204|      0|  case 165: /* single_type_qualifier: non_uniform_qualifier  */
  ------------------
  |  Branch (7204:3): [True: 0, False: 11.0M]
  ------------------
 7205|      0|#line 1427 "MachineIndependent/glslang.y"
 7206|      0|                            {
 7207|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7208|      0|    }
 7209|      0|#line 7210 "MachineIndependent/glslang_tab.cpp"
 7210|      0|    break;
 7211|       |
 7212|      0|  case 166: /* single_type_qualifier: spirv_storage_class_qualifier  */
  ------------------
  |  Branch (7212:3): [True: 0, False: 11.0M]
  ------------------
 7213|      0|#line 1430 "MachineIndependent/glslang.y"
 7214|      0|                                    {
 7215|      0|        parseContext.globalCheck((yyvsp[0].interm.type).loc, "spirv_storage_class");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7216|      0|        parseContext.requireExtensions((yyvsp[0].interm.type).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V storage class qualifier");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7217|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7218|      0|    }
 7219|      0|#line 7220 "MachineIndependent/glslang_tab.cpp"
 7220|      0|    break;
 7221|       |
 7222|      0|  case 167: /* single_type_qualifier: spirv_decorate_qualifier  */
  ------------------
  |  Branch (7222:3): [True: 0, False: 11.0M]
  ------------------
 7223|      0|#line 1435 "MachineIndependent/glslang.y"
 7224|      0|                               {
 7225|      0|        parseContext.requireExtensions((yyvsp[0].interm.type).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V decorate qualifier");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7226|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7227|      0|    }
 7228|      0|#line 7229 "MachineIndependent/glslang_tab.cpp"
 7229|      0|    break;
 7230|       |
 7231|      0|  case 168: /* single_type_qualifier: SPIRV_BY_REFERENCE  */
  ------------------
  |  Branch (7231:3): [True: 0, False: 11.0M]
  ------------------
 7232|      0|#line 1439 "MachineIndependent/glslang.y"
 7233|      0|                         {
 7234|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_spirv_intrinsics, "spirv_by_reference");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7235|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7236|      0|        (yyval.interm.type).qualifier.setSpirvByReference();
 7237|      0|    }
 7238|      0|#line 7239 "MachineIndependent/glslang_tab.cpp"
 7239|      0|    break;
 7240|       |
 7241|      0|  case 169: /* single_type_qualifier: SPIRV_LITERAL  */
  ------------------
  |  Branch (7241:3): [True: 0, False: 11.0M]
  ------------------
 7242|      0|#line 1444 "MachineIndependent/glslang.y"
 7243|      0|                    {
 7244|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_spirv_intrinsics, "spirv_by_literal");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7245|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7246|      0|        (yyval.interm.type).qualifier.setSpirvLiteral();
 7247|      0|    }
 7248|      0|#line 7249 "MachineIndependent/glslang_tab.cpp"
 7249|      0|    break;
 7250|       |
 7251|  4.12k|  case 170: /* storage_qualifier: CONST  */
  ------------------
  |  Branch (7251:3): [True: 4.12k, False: 11.0M]
  ------------------
 7252|  4.12k|#line 1452 "MachineIndependent/glslang.y"
 7253|  4.12k|            {
 7254|  4.12k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7255|  4.12k|        (yyval.interm.type).qualifier.storage = EvqConst;  // will later turn into EvqConstReadOnly, if the initializer is not constant
 7256|  4.12k|    }
 7257|  4.12k|#line 7258 "MachineIndependent/glslang_tab.cpp"
 7258|  4.12k|    break;
 7259|       |
 7260|  2.91k|  case 171: /* storage_qualifier: INOUT  */
  ------------------
  |  Branch (7260:3): [True: 2.91k, False: 11.0M]
  ------------------
 7261|  2.91k|#line 1456 "MachineIndependent/glslang.y"
 7262|  2.91k|            {
 7263|  2.91k|        parseContext.globalCheck((yyvsp[0].lex).loc, "inout");
  ------------------
  |  |  756|  2.91k|#define parseContext (*pParseContext)
  ------------------
 7264|  2.91k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7265|  2.91k|        (yyval.interm.type).qualifier.storage = EvqInOut;
 7266|  2.91k|    }
 7267|  2.91k|#line 7268 "MachineIndependent/glslang_tab.cpp"
 7268|  2.91k|    break;
 7269|       |
 7270|  10.3k|  case 172: /* storage_qualifier: IN  */
  ------------------
  |  Branch (7270:3): [True: 10.3k, False: 11.0M]
  ------------------
 7271|  10.3k|#line 1461 "MachineIndependent/glslang.y"
 7272|  10.3k|         {
 7273|  10.3k|        parseContext.globalCheck((yyvsp[0].lex).loc, "in");
  ------------------
  |  |  756|  10.3k|#define parseContext (*pParseContext)
  ------------------
 7274|  10.3k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7275|       |        // whether this is a parameter "in" or a pipeline "in" will get sorted out a bit later
 7276|  10.3k|        (yyval.interm.type).qualifier.storage = EvqIn;
 7277|  10.3k|    }
 7278|  10.3k|#line 7279 "MachineIndependent/glslang_tab.cpp"
 7279|  10.3k|    break;
 7280|       |
 7281|  45.3k|  case 173: /* storage_qualifier: OUT  */
  ------------------
  |  Branch (7281:3): [True: 45.3k, False: 10.9M]
  ------------------
 7282|  45.3k|#line 1467 "MachineIndependent/glslang.y"
 7283|  45.3k|          {
 7284|  45.3k|        parseContext.globalCheck((yyvsp[0].lex).loc, "out");
  ------------------
  |  |  756|  45.3k|#define parseContext (*pParseContext)
  ------------------
 7285|  45.3k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7286|       |        // whether this is a parameter "out" or a pipeline "out" will get sorted out a bit later
 7287|  45.3k|        (yyval.interm.type).qualifier.storage = EvqOut;
 7288|  45.3k|    }
 7289|  45.3k|#line 7290 "MachineIndependent/glslang_tab.cpp"
 7290|  45.3k|    break;
 7291|       |
 7292|      0|  case 174: /* storage_qualifier: CENTROID  */
  ------------------
  |  Branch (7292:3): [True: 0, False: 11.0M]
  ------------------
 7293|      0|#line 1473 "MachineIndependent/glslang.y"
 7294|      0|               {
 7295|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 120, 0, "centroid");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7296|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "centroid");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7297|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "centroid");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7298|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7299|      0|        (yyval.interm.type).qualifier.centroid = true;
 7300|      0|    }
 7301|      0|#line 7302 "MachineIndependent/glslang_tab.cpp"
 7302|      0|    break;
 7303|       |
 7304|    432|  case 175: /* storage_qualifier: UNIFORM  */
  ------------------
  |  Branch (7304:3): [True: 432, False: 11.0M]
  ------------------
 7305|    432|#line 1480 "MachineIndependent/glslang.y"
 7306|    432|              {
 7307|    432|        parseContext.globalCheck((yyvsp[0].lex).loc, "uniform");
  ------------------
  |  |  756|    432|#define parseContext (*pParseContext)
  ------------------
 7308|    432|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7309|    432|        (yyval.interm.type).qualifier.storage = EvqUniform;
 7310|    432|    }
 7311|    432|#line 7312 "MachineIndependent/glslang_tab.cpp"
 7312|    432|    break;
 7313|       |
 7314|      0|  case 176: /* storage_qualifier: TILEIMAGEEXT  */
  ------------------
  |  Branch (7314:3): [True: 0, False: 11.0M]
  ------------------
 7315|      0|#line 1485 "MachineIndependent/glslang.y"
 7316|      0|                   {
 7317|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "tileImageEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7318|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7319|      0|        (yyval.interm.type).qualifier.storage = EvqTileImageEXT;
 7320|      0|    }
 7321|      0|#line 7322 "MachineIndependent/glslang_tab.cpp"
 7322|      0|    break;
 7323|       |
 7324|      0|  case 177: /* storage_qualifier: SHARED  */
  ------------------
  |  Branch (7324:3): [True: 0, False: 11.0M]
  ------------------
 7325|      0|#line 1490 "MachineIndependent/glslang.y"
 7326|      0|             {
 7327|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "shared");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7328|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, 430, E_GL_ARB_compute_shader, "shared");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7329|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 310, 0, "shared");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7330|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangComputeMask | EShLangMeshMask | EShLangTaskMask), "shared");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7331|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7332|      0|        (yyval.interm.type).qualifier.storage = EvqShared;
 7333|      0|    }
 7334|      0|#line 7335 "MachineIndependent/glslang_tab.cpp"
 7335|      0|    break;
 7336|       |
 7337|      0|  case 178: /* storage_qualifier: BUFFER  */
  ------------------
  |  Branch (7337:3): [True: 0, False: 11.0M]
  ------------------
 7338|      0|#line 1498 "MachineIndependent/glslang.y"
 7339|      0|             {
 7340|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "buffer");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7341|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7342|      0|        (yyval.interm.type).qualifier.storage = EvqBuffer;
 7343|      0|    }
 7344|      0|#line 7345 "MachineIndependent/glslang_tab.cpp"
 7345|      0|    break;
 7346|       |
 7347|     13|  case 179: /* storage_qualifier: ATTRIBUTE  */
  ------------------
  |  Branch (7347:3): [True: 13, False: 11.0M]
  ------------------
 7348|     13|#line 1503 "MachineIndependent/glslang.y"
 7349|     13|                {
 7350|     13|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangVertex, "attribute");
  ------------------
  |  |  756|     13|#define parseContext (*pParseContext)
  ------------------
 7351|     13|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ECoreProfile, 130, "attribute");
  ------------------
  |  |  756|     13|#define parseContext (*pParseContext)
  ------------------
 7352|     13|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ENoProfile, 130, "attribute");
  ------------------
  |  |  756|     13|#define parseContext (*pParseContext)
  ------------------
 7353|     13|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, ECoreProfile, 420, "attribute");
  ------------------
  |  |  756|     13|#define parseContext (*pParseContext)
  ------------------
 7354|     13|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, EEsProfile, 300, "attribute");
  ------------------
  |  |  756|     13|#define parseContext (*pParseContext)
  ------------------
 7355|       |
 7356|     13|        parseContext.globalCheck((yyvsp[0].lex).loc, "attribute");
  ------------------
  |  |  756|     13|#define parseContext (*pParseContext)
  ------------------
 7357|       |
 7358|     13|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7359|     13|        (yyval.interm.type).qualifier.storage = EvqVaryingIn;
 7360|     13|    }
 7361|     13|#line 7362 "MachineIndependent/glslang_tab.cpp"
 7362|     13|    break;
 7363|       |
 7364|      6|  case 180: /* storage_qualifier: VARYING  */
  ------------------
  |  Branch (7364:3): [True: 6, False: 11.0M]
  ------------------
 7365|      6|#line 1515 "MachineIndependent/glslang.y"
 7366|      6|              {
 7367|      6|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ENoProfile, 130, "varying");
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
 7368|      6|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ECoreProfile, 130, "varying");
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
 7369|      6|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, ECoreProfile, 420, "varying");
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
 7370|      6|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, EEsProfile, 300, "varying");
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
 7371|       |
 7372|      6|        parseContext.globalCheck((yyvsp[0].lex).loc, "varying");
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
 7373|       |
 7374|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7375|      6|        if (parseContext.language == EShLangVertex)
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7375:13): [True: 6, False: 0]
  ------------------
 7376|      6|            (yyval.interm.type).qualifier.storage = EvqVaryingOut;
 7377|      0|        else
 7378|      0|            (yyval.interm.type).qualifier.storage = EvqVaryingIn;
 7379|      6|    }
 7380|      6|#line 7381 "MachineIndependent/glslang_tab.cpp"
 7381|      6|    break;
 7382|       |
 7383|    112|  case 181: /* storage_qualifier: PATCH  */
  ------------------
  |  Branch (7383:3): [True: 112, False: 11.0M]
  ------------------
 7384|    112|#line 1529 "MachineIndependent/glslang.y"
 7385|    112|            {
 7386|    112|        parseContext.globalCheck((yyvsp[0].lex).loc, "patch");
  ------------------
  |  |  756|    112|#define parseContext (*pParseContext)
  ------------------
 7387|    112|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangTessControlMask | EShLangTessEvaluationMask), "patch");
  ------------------
  |  |  756|    112|#define parseContext (*pParseContext)
  ------------------
 7388|    112|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7389|    112|        (yyval.interm.type).qualifier.patch = true;
 7390|    112|    }
 7391|    112|#line 7392 "MachineIndependent/glslang_tab.cpp"
 7392|    112|    break;
 7393|       |
 7394|      0|  case 182: /* storage_qualifier: SAMPLE  */
  ------------------
  |  Branch (7394:3): [True: 0, False: 11.0M]
  ------------------
 7395|      0|#line 1535 "MachineIndependent/glslang.y"
 7396|      0|             {
 7397|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "sample");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7398|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7399|      0|        (yyval.interm.type).qualifier.sample = true;
 7400|      0|    }
 7401|      0|#line 7402 "MachineIndependent/glslang_tab.cpp"
 7402|      0|    break;
 7403|       |
 7404|      0|  case 183: /* storage_qualifier: RESOURCEHEAP  */
  ------------------
  |  Branch (7404:3): [True: 0, False: 11.0M]
  ------------------
 7405|      0|#line 1540 "MachineIndependent/glslang.y"
 7406|      0|                   {
 7407|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "resourceHeap");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7408|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7409|      0|        (yyval.interm.type).qualifier.storage = EvqResourceHeap;
 7410|      0|    }
 7411|      0|#line 7412 "MachineIndependent/glslang_tab.cpp"
 7412|      0|    break;
 7413|       |
 7414|      0|  case 184: /* storage_qualifier: SAMPLERHEAP  */
  ------------------
  |  Branch (7414:3): [True: 0, False: 11.0M]
  ------------------
 7415|      0|#line 1545 "MachineIndependent/glslang.y"
 7416|      0|                  {
 7417|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "samplerHeap");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7418|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7419|      0|        (yyval.interm.type).qualifier.storage = EvqSamplerHeap;
 7420|      0|    }
 7421|      0|#line 7422 "MachineIndependent/glslang_tab.cpp"
 7422|      0|    break;
 7423|       |
 7424|      0|  case 185: /* storage_qualifier: HITATTRNV  */
  ------------------
  |  Branch (7424:3): [True: 0, False: 11.0M]
  ------------------
 7425|      0|#line 1550 "MachineIndependent/glslang.y"
 7426|      0|                {
 7427|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7428|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangIntersectMask | EShLangClosestHitMask
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7429|      0|            | EShLangAnyHitMask), "hitAttributeNV");
 7430|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "hitAttributeNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7431|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7432|      0|        (yyval.interm.type).qualifier.storage = EvqHitAttr;
 7433|      0|    }
 7434|      0|#line 7435 "MachineIndependent/glslang_tab.cpp"
 7435|      0|    break;
 7436|       |
 7437|      0|  case 186: /* storage_qualifier: HITOBJECTATTRNV  */
  ------------------
  |  Branch (7437:3): [True: 0, False: 11.0M]
  ------------------
 7438|      0|#line 1558 "MachineIndependent/glslang.y"
 7439|      0|                      {
 7440|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7441|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7442|      0|            | EShLangMissMask), "hitObjectAttributeNV");
 7443|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_shader_invocation_reorder, "hitObjectAttributeNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7444|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7445|      0|        (yyval.interm.type).qualifier.storage = EvqHitObjectAttrNV;
 7446|      0|    }
 7447|      0|#line 7448 "MachineIndependent/glslang_tab.cpp"
 7448|      0|    break;
 7449|       |
 7450|      0|  case 187: /* storage_qualifier: HITOBJECTATTREXT  */
  ------------------
  |  Branch (7450:3): [True: 0, False: 11.0M]
  ------------------
 7451|      0|#line 1566 "MachineIndependent/glslang.y"
 7452|      0|                       {
 7453|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7454|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7455|      0|            | EShLangMissMask), "hitObjectAttributeEXT");
 7456|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_shader_invocation_reorder, "hitObjectAttributeEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7457|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7458|      0|        (yyval.interm.type).qualifier.storage = EvqHitObjectAttrEXT;
 7459|      0|    }
 7460|      0|#line 7461 "MachineIndependent/glslang_tab.cpp"
 7461|      0|    break;
 7462|       |
 7463|      0|  case 188: /* storage_qualifier: HITATTREXT  */
  ------------------
  |  Branch (7463:3): [True: 0, False: 11.0M]
  ------------------
 7464|      0|#line 1574 "MachineIndependent/glslang.y"
 7465|      0|                 {
 7466|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7467|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangIntersectMask | EShLangClosestHitMask
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7468|      0|            | EShLangAnyHitMask), "hitAttributeEXT");
 7469|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "hitAttributeNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7470|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7471|      0|        (yyval.interm.type).qualifier.storage = EvqHitAttr;
 7472|      0|    }
 7473|      0|#line 7474 "MachineIndependent/glslang_tab.cpp"
 7474|      0|    break;
 7475|       |
 7476|      0|  case 189: /* storage_qualifier: PAYLOADNV  */
  ------------------
  |  Branch (7476:3): [True: 0, False: 11.0M]
  ------------------
 7477|      0|#line 1582 "MachineIndependent/glslang.y"
 7478|      0|                {
 7479|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7480|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask |
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7481|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadNV");
 7482|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "rayPayloadNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7483|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7484|      0|        (yyval.interm.type).qualifier.storage = EvqPayload;
 7485|      0|    }
 7486|      0|#line 7487 "MachineIndependent/glslang_tab.cpp"
 7487|      0|    break;
 7488|       |
 7489|      0|  case 190: /* storage_qualifier: PAYLOADEXT  */
  ------------------
  |  Branch (7489:3): [True: 0, False: 11.0M]
  ------------------
 7490|      0|#line 1590 "MachineIndependent/glslang.y"
 7491|      0|                 {
 7492|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7493|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask |
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7494|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadEXT");
 7495|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "rayPayloadEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7496|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7497|      0|        (yyval.interm.type).qualifier.storage = EvqPayload;
 7498|      0|    }
 7499|      0|#line 7500 "MachineIndependent/glslang_tab.cpp"
 7500|      0|    break;
 7501|       |
 7502|      0|  case 191: /* storage_qualifier: PAYLOADINNV  */
  ------------------
  |  Branch (7502:3): [True: 0, False: 11.0M]
  ------------------
 7503|      0|#line 1598 "MachineIndependent/glslang.y"
 7504|      0|                  {
 7505|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadInNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7506|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangClosestHitMask |
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7507|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadInNV");
 7508|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "rayPayloadInNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7509|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7510|      0|        (yyval.interm.type).qualifier.storage = EvqPayloadIn;
 7511|      0|    }
 7512|      0|#line 7513 "MachineIndependent/glslang_tab.cpp"
 7513|      0|    break;
 7514|       |
 7515|      0|  case 192: /* storage_qualifier: PAYLOADINEXT  */
  ------------------
  |  Branch (7515:3): [True: 0, False: 11.0M]
  ------------------
 7516|      0|#line 1606 "MachineIndependent/glslang.y"
 7517|      0|                   {
 7518|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadInEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7519|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangClosestHitMask |
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7520|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadInEXT");
 7521|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "rayPayloadInEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7522|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7523|      0|        (yyval.interm.type).qualifier.storage = EvqPayloadIn;
 7524|      0|    }
 7525|      0|#line 7526 "MachineIndependent/glslang_tab.cpp"
 7526|      0|    break;
 7527|       |
 7528|      0|  case 193: /* storage_qualifier: CALLDATANV  */
  ------------------
  |  Branch (7528:3): [True: 0, False: 11.0M]
  ------------------
 7529|      0|#line 1614 "MachineIndependent/glslang.y"
 7530|      0|                 {
 7531|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7532|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask |
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7533|      0|            EShLangClosestHitMask | EShLangMissMask | EShLangCallableMask), "callableDataNV");
 7534|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "callableDataNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7535|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7536|      0|        (yyval.interm.type).qualifier.storage = EvqCallableData;
 7537|      0|    }
 7538|      0|#line 7539 "MachineIndependent/glslang_tab.cpp"
 7539|      0|    break;
 7540|       |
 7541|      0|  case 194: /* storage_qualifier: CALLDATAEXT  */
  ------------------
  |  Branch (7541:3): [True: 0, False: 11.0M]
  ------------------
 7542|      0|#line 1622 "MachineIndependent/glslang.y"
 7543|      0|                  {
 7544|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7545|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask |
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7546|      0|            EShLangClosestHitMask | EShLangMissMask | EShLangCallableMask), "callableDataEXT");
 7547|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "callableDataEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7548|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7549|      0|        (yyval.interm.type).qualifier.storage = EvqCallableData;
 7550|      0|    }
 7551|      0|#line 7552 "MachineIndependent/glslang_tab.cpp"
 7552|      0|    break;
 7553|       |
 7554|      0|  case 195: /* storage_qualifier: CALLDATAINNV  */
  ------------------
  |  Branch (7554:3): [True: 0, False: 11.0M]
  ------------------
 7555|      0|#line 1630 "MachineIndependent/glslang.y"
 7556|      0|                   {
 7557|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataInNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7558|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangCallableMask), "callableDataInNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7559|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "callableDataInNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7560|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7561|      0|        (yyval.interm.type).qualifier.storage = EvqCallableDataIn;
 7562|      0|    }
 7563|      0|#line 7564 "MachineIndependent/glslang_tab.cpp"
 7564|      0|    break;
 7565|       |
 7566|      0|  case 196: /* storage_qualifier: CALLDATAINEXT  */
  ------------------
  |  Branch (7566:3): [True: 0, False: 11.0M]
  ------------------
 7567|      0|#line 1637 "MachineIndependent/glslang.y"
 7568|      0|                    {
 7569|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataInEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7570|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangCallableMask), "callableDataInEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7571|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "callableDataInEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7572|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7573|      0|        (yyval.interm.type).qualifier.storage = EvqCallableDataIn;
 7574|      0|    }
 7575|      0|#line 7576 "MachineIndependent/glslang_tab.cpp"
 7576|      0|    break;
 7577|       |
 7578|  56.5k|  case 197: /* storage_qualifier: COHERENT  */
  ------------------
  |  Branch (7578:3): [True: 56.5k, False: 10.9M]
  ------------------
 7579|  56.5k|#line 1644 "MachineIndependent/glslang.y"
 7580|  56.5k|               {
 7581|  56.5k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7582|  56.5k|        (yyval.interm.type).qualifier.coherent = true;
 7583|  56.5k|    }
 7584|  56.5k|#line 7585 "MachineIndependent/glslang_tab.cpp"
 7585|  56.5k|    break;
 7586|       |
 7587|      0|  case 198: /* storage_qualifier: DEVICECOHERENT  */
  ------------------
  |  Branch (7587:3): [True: 0, False: 11.0M]
  ------------------
 7588|      0|#line 1648 "MachineIndependent/glslang.y"
 7589|      0|                     {
 7590|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7591|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "devicecoherent");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7592|      0|        (yyval.interm.type).qualifier.devicecoherent = true;
 7593|      0|    }
 7594|      0|#line 7595 "MachineIndependent/glslang_tab.cpp"
 7595|      0|    break;
 7596|       |
 7597|      0|  case 199: /* storage_qualifier: QUEUEFAMILYCOHERENT  */
  ------------------
  |  Branch (7597:3): [True: 0, False: 11.0M]
  ------------------
 7598|      0|#line 1653 "MachineIndependent/glslang.y"
 7599|      0|                          {
 7600|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7601|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "queuefamilycoherent");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7602|      0|        (yyval.interm.type).qualifier.queuefamilycoherent = true;
 7603|      0|    }
 7604|      0|#line 7605 "MachineIndependent/glslang_tab.cpp"
 7605|      0|    break;
 7606|       |
 7607|      0|  case 200: /* storage_qualifier: WORKGROUPCOHERENT  */
  ------------------
  |  Branch (7607:3): [True: 0, False: 11.0M]
  ------------------
 7608|      0|#line 1658 "MachineIndependent/glslang.y"
 7609|      0|                        {
 7610|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7611|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "workgroupcoherent");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7612|      0|        (yyval.interm.type).qualifier.workgroupcoherent = true;
 7613|      0|    }
 7614|      0|#line 7615 "MachineIndependent/glslang_tab.cpp"
 7615|      0|    break;
 7616|       |
 7617|      0|  case 201: /* storage_qualifier: SUBGROUPCOHERENT  */
  ------------------
  |  Branch (7617:3): [True: 0, False: 11.0M]
  ------------------
 7618|      0|#line 1663 "MachineIndependent/glslang.y"
 7619|      0|                       {
 7620|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7621|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "subgroupcoherent");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7622|      0|        (yyval.interm.type).qualifier.subgroupcoherent = true;
 7623|      0|    }
 7624|      0|#line 7625 "MachineIndependent/glslang_tab.cpp"
 7625|      0|    break;
 7626|       |
 7627|      0|  case 202: /* storage_qualifier: NONPRIVATE  */
  ------------------
  |  Branch (7627:3): [True: 0, False: 11.0M]
  ------------------
 7628|      0|#line 1668 "MachineIndependent/glslang.y"
 7629|      0|                 {
 7630|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7631|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "nonprivate");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7632|      0|        (yyval.interm.type).qualifier.nonprivate = true;
 7633|      0|    }
 7634|      0|#line 7635 "MachineIndependent/glslang_tab.cpp"
 7635|      0|    break;
 7636|       |
 7637|      0|  case 203: /* storage_qualifier: SHADERCALLCOHERENT  */
  ------------------
  |  Branch (7637:3): [True: 0, False: 11.0M]
  ------------------
 7638|      0|#line 1673 "MachineIndependent/glslang.y"
 7639|      0|                         {
 7640|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7641|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_ray_tracing, "shadercallcoherent");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7642|      0|        (yyval.interm.type).qualifier.shadercallcoherent = true;
 7643|      0|    }
 7644|      0|#line 7645 "MachineIndependent/glslang_tab.cpp"
 7645|      0|    break;
 7646|       |
 7647|  58.7k|  case 204: /* storage_qualifier: VOLATILE  */
  ------------------
  |  Branch (7647:3): [True: 58.7k, False: 10.9M]
  ------------------
 7648|  58.7k|#line 1678 "MachineIndependent/glslang.y"
 7649|  58.7k|               {
 7650|  58.7k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7651|  58.7k|        (yyval.interm.type).qualifier.volatil = true;
 7652|  58.7k|    }
 7653|  58.7k|#line 7654 "MachineIndependent/glslang_tab.cpp"
 7654|  58.7k|    break;
 7655|       |
 7656|      0|  case 205: /* storage_qualifier: RESTRICT  */
  ------------------
  |  Branch (7656:3): [True: 0, False: 11.0M]
  ------------------
 7657|      0|#line 1682 "MachineIndependent/glslang.y"
 7658|      0|               {
 7659|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7660|      0|        (yyval.interm.type).qualifier.restrict = true;
 7661|      0|    }
 7662|      0|#line 7663 "MachineIndependent/glslang_tab.cpp"
 7663|      0|    break;
 7664|       |
 7665|  8.55k|  case 206: /* storage_qualifier: READONLY  */
  ------------------
  |  Branch (7665:3): [True: 8.55k, False: 11.0M]
  ------------------
 7666|  8.55k|#line 1686 "MachineIndependent/glslang.y"
 7667|  8.55k|               {
 7668|  8.55k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7669|  8.55k|        (yyval.interm.type).qualifier.readonly = true;
 7670|  8.55k|    }
 7671|  8.55k|#line 7672 "MachineIndependent/glslang_tab.cpp"
 7672|  8.55k|    break;
 7673|       |
 7674|  6.45k|  case 207: /* storage_qualifier: WRITEONLY  */
  ------------------
  |  Branch (7674:3): [True: 6.45k, False: 11.0M]
  ------------------
 7675|  6.45k|#line 1690 "MachineIndependent/glslang.y"
 7676|  6.45k|                {
 7677|  6.45k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7678|  6.45k|        (yyval.interm.type).qualifier.writeonly = true;
 7679|  6.45k|    }
 7680|  6.45k|#line 7681 "MachineIndependent/glslang_tab.cpp"
 7681|  6.45k|    break;
 7682|       |
 7683|  51.8k|  case 208: /* storage_qualifier: NONTEMPORAL  */
  ------------------
  |  Branch (7683:3): [True: 51.8k, False: 10.9M]
  ------------------
 7684|  51.8k|#line 1694 "MachineIndependent/glslang.y"
 7685|  51.8k|                  {
 7686|  51.8k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7687|  51.8k|        (yyval.interm.type).qualifier.nontemporal  = true;
 7688|  51.8k|    }
 7689|  51.8k|#line 7690 "MachineIndependent/glslang_tab.cpp"
 7690|  51.8k|    break;
 7691|       |
 7692|      0|  case 209: /* storage_qualifier: SUBROUTINE  */
  ------------------
  |  Branch (7692:3): [True: 0, False: 11.0M]
  ------------------
 7693|      0|#line 1698 "MachineIndependent/glslang.y"
 7694|      0|                 {
 7695|      0|        parseContext.spvRemoved((yyvsp[0].lex).loc, "subroutine");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7696|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "subroutine");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7697|      0|        parseContext.unimplemented((yyvsp[0].lex).loc, "subroutine");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7698|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7699|      0|    }
 7700|      0|#line 7701 "MachineIndependent/glslang_tab.cpp"
 7701|      0|    break;
 7702|       |
 7703|      0|  case 210: /* storage_qualifier: SUBROUTINE LEFT_PAREN type_name_list RIGHT_PAREN  */
  ------------------
  |  Branch (7703:3): [True: 0, False: 11.0M]
  ------------------
 7704|      0|#line 1704 "MachineIndependent/glslang.y"
 7705|      0|                                                       {
 7706|      0|        parseContext.spvRemoved((yyvsp[-3].lex).loc, "subroutine");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7707|      0|        parseContext.globalCheck((yyvsp[-3].lex).loc, "subroutine");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7708|      0|        parseContext.unimplemented((yyvsp[-3].lex).loc, "subroutine");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7709|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc);
 7710|      0|    }
 7711|      0|#line 7712 "MachineIndependent/glslang_tab.cpp"
 7712|      0|    break;
 7713|       |
 7714|      0|  case 211: /* storage_qualifier: TASKPAYLOADWORKGROUPEXT  */
  ------------------
  |  Branch (7714:3): [True: 0, False: 11.0M]
  ------------------
 7715|      0|#line 1710 "MachineIndependent/glslang.y"
 7716|      0|                              {
 7717|       |        // No need for profile version or extension check. Shader stage already checks both.
 7718|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "taskPayloadSharedEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7719|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangTaskMask | EShLangMeshMask), "taskPayloadSharedEXT  ");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7720|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7721|      0|        (yyval.interm.type).qualifier.storage = EvqtaskPayloadSharedEXT;
 7722|      0|    }
 7723|      0|#line 7724 "MachineIndependent/glslang_tab.cpp"
 7724|      0|    break;
 7725|       |
 7726|      0|  case 212: /* non_uniform_qualifier: NONUNIFORM  */
  ------------------
  |  Branch (7726:3): [True: 0, False: 11.0M]
  ------------------
 7727|      0|#line 1720 "MachineIndependent/glslang.y"
 7728|      0|                 {
 7729|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7730|      0|        (yyval.interm.type).qualifier.nonUniform = true;
 7731|      0|    }
 7732|      0|#line 7733 "MachineIndependent/glslang_tab.cpp"
 7733|      0|    break;
 7734|       |
 7735|      0|  case 213: /* type_name_list: IDENTIFIER  */
  ------------------
  |  Branch (7735:3): [True: 0, False: 11.0M]
  ------------------
 7736|      0|#line 1727 "MachineIndependent/glslang.y"
 7737|      0|                 {
 7738|       |        // TODO
 7739|      0|    }
 7740|      0|#line 7741 "MachineIndependent/glslang_tab.cpp"
 7741|      0|    break;
 7742|       |
 7743|      0|  case 214: /* type_name_list: type_name_list COMMA IDENTIFIER  */
  ------------------
  |  Branch (7743:3): [True: 0, False: 11.0M]
  ------------------
 7744|      0|#line 1730 "MachineIndependent/glslang.y"
 7745|      0|                                      {
 7746|       |        // TODO: 4.0 semantics: subroutines
 7747|       |        // 1) make sure each identifier is a type declared earlier with SUBROUTINE
 7748|       |        // 2) save all of the identifiers for future comparison with the declared function
 7749|      0|    }
 7750|      0|#line 7751 "MachineIndependent/glslang_tab.cpp"
 7751|      0|    break;
 7752|       |
 7753|  1.36M|  case 215: /* type_specifier: type_specifier_nonarray type_parameter_specifier_opt  */
  ------------------
  |  Branch (7753:3): [True: 1.36M, False: 9.67M]
  ------------------
 7754|  1.36M|#line 1738 "MachineIndependent/glslang.y"
 7755|  1.36M|                                                           {
 7756|  1.36M|        (yyval.interm.type) = (yyvsp[-1].interm.type);
 7757|  1.36M|        (yyval.interm.type).qualifier.precision = parseContext.getDefaultPrecision((yyval.interm.type));
  ------------------
  |  |  756|  1.36M|#define parseContext (*pParseContext)
  ------------------
 7758|  1.36M|        (yyval.interm.type).typeParameters = (yyvsp[0].interm.typeParameters);
 7759|  1.36M|        parseContext.typeParametersCheck((yyvsp[-1].interm.type).loc, (yyval.interm.type));
  ------------------
  |  |  756|  1.36M|#define parseContext (*pParseContext)
  ------------------
 7760|       |
 7761|  1.36M|    }
 7762|  1.36M|#line 7763 "MachineIndependent/glslang_tab.cpp"
 7763|  1.36M|    break;
 7764|       |
 7765|  31.3k|  case 216: /* type_specifier: type_specifier_nonarray type_parameter_specifier_opt array_specifier  */
  ------------------
  |  Branch (7765:3): [True: 31.3k, False: 11.0M]
  ------------------
 7766|  31.3k|#line 1745 "MachineIndependent/glslang.y"
 7767|  31.3k|                                                                           {
 7768|  31.3k|        parseContext.arrayOfArrayVersionCheck((yyvsp[0].interm).loc, (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  756|  31.3k|#define parseContext (*pParseContext)
  ------------------
 7769|  31.3k|        (yyval.interm.type) = (yyvsp[-2].interm.type);
 7770|  31.3k|        (yyval.interm.type).qualifier.precision = parseContext.getDefaultPrecision((yyval.interm.type));
  ------------------
  |  |  756|  31.3k|#define parseContext (*pParseContext)
  ------------------
 7771|  31.3k|        (yyval.interm.type).typeParameters = (yyvsp[-1].interm.typeParameters);
 7772|  31.3k|        (yyval.interm.type).arraySizes = (yyvsp[0].interm).arraySizes;
 7773|  31.3k|        parseContext.typeParametersCheck((yyvsp[-2].interm.type).loc, (yyval.interm.type));
  ------------------
  |  |  756|  31.3k|#define parseContext (*pParseContext)
  ------------------
 7774|  31.3k|    }
 7775|  31.3k|#line 7776 "MachineIndependent/glslang_tab.cpp"
 7776|  31.3k|    break;
 7777|       |
 7778|  33.5k|  case 217: /* array_specifier: LEFT_BRACKET RIGHT_BRACKET  */
  ------------------
  |  Branch (7778:3): [True: 33.5k, False: 11.0M]
  ------------------
 7779|  33.5k|#line 1756 "MachineIndependent/glslang.y"
 7780|  33.5k|                                 {
 7781|  33.5k|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 7782|  33.5k|        (yyval.interm).arraySizes = new TArraySizes;
 7783|  33.5k|        (yyval.interm).arraySizes->addInnerSize();
 7784|  33.5k|    }
 7785|  33.5k|#line 7786 "MachineIndependent/glslang_tab.cpp"
 7786|  33.5k|    break;
 7787|       |
 7788|  5.23k|  case 218: /* array_specifier: LEFT_BRACKET conditional_expression RIGHT_BRACKET  */
  ------------------
  |  Branch (7788:3): [True: 5.23k, False: 11.0M]
  ------------------
 7789|  5.23k|#line 1761 "MachineIndependent/glslang.y"
 7790|  5.23k|                                                        {
 7791|  5.23k|        (yyval.interm).loc = (yyvsp[-2].lex).loc;
 7792|  5.23k|        (yyval.interm).arraySizes = new TArraySizes;
 7793|       |
 7794|  5.23k|        TArraySize size;
 7795|  5.23k|        parseContext.arraySizeCheck((yyvsp[-1].interm.intermTypedNode)->getLoc(), (yyvsp[-1].interm.intermTypedNode), size, "array size");
  ------------------
  |  |  756|  5.23k|#define parseContext (*pParseContext)
  ------------------
 7796|  5.23k|        (yyval.interm).arraySizes->addInnerSize(size);
 7797|  5.23k|    }
 7798|  5.23k|#line 7799 "MachineIndependent/glslang_tab.cpp"
 7799|  5.23k|    break;
 7800|       |
 7801|     81|  case 219: /* array_specifier: array_specifier LEFT_BRACKET RIGHT_BRACKET  */
  ------------------
  |  Branch (7801:3): [True: 81, False: 11.0M]
  ------------------
 7802|     81|#line 1769 "MachineIndependent/glslang.y"
 7803|     81|                                                 {
 7804|     81|        (yyval.interm) = (yyvsp[-2].interm);
 7805|     81|        (yyval.interm).arraySizes->addInnerSize();
 7806|     81|    }
 7807|     81|#line 7808 "MachineIndependent/glslang_tab.cpp"
 7808|     81|    break;
 7809|       |
 7810|      0|  case 220: /* array_specifier: array_specifier LEFT_BRACKET conditional_expression RIGHT_BRACKET  */
  ------------------
  |  Branch (7810:3): [True: 0, False: 11.0M]
  ------------------
 7811|      0|#line 1773 "MachineIndependent/glslang.y"
 7812|      0|                                                                        {
 7813|      0|        (yyval.interm) = (yyvsp[-3].interm);
 7814|       |
 7815|      0|        TArraySize size;
 7816|      0|        parseContext.arraySizeCheck((yyvsp[-1].interm.intermTypedNode)->getLoc(), (yyvsp[-1].interm.intermTypedNode), size, "array size");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7817|      0|        (yyval.interm).arraySizes->addInnerSize(size);
 7818|      0|    }
 7819|      0|#line 7820 "MachineIndependent/glslang_tab.cpp"
 7820|      0|    break;
 7821|       |
 7822|      0|  case 221: /* type_parameter_specifier_opt: type_parameter_specifier  */
  ------------------
  |  Branch (7822:3): [True: 0, False: 11.0M]
  ------------------
 7823|      0|#line 1783 "MachineIndependent/glslang.y"
 7824|      0|                               {
 7825|      0|        (yyval.interm.typeParameters) = (yyvsp[0].interm.typeParameters);
 7826|      0|    }
 7827|      0|#line 7828 "MachineIndependent/glslang_tab.cpp"
 7828|      0|    break;
 7829|       |
 7830|  1.39M|  case 222: /* type_parameter_specifier_opt: %empty  */
  ------------------
  |  Branch (7830:3): [True: 1.39M, False: 9.63M]
  ------------------
 7831|  1.39M|#line 1786 "MachineIndependent/glslang.y"
 7832|  1.39M|                        {
 7833|  1.39M|        (yyval.interm.typeParameters) = 0;
 7834|  1.39M|    }
 7835|  1.39M|#line 7836 "MachineIndependent/glslang_tab.cpp"
 7836|  1.39M|    break;
 7837|       |
 7838|      0|  case 223: /* type_parameter_specifier: LEFT_ANGLE type_parameter_specifier_list RIGHT_ANGLE  */
  ------------------
  |  Branch (7838:3): [True: 0, False: 11.0M]
  ------------------
 7839|      0|#line 1792 "MachineIndependent/glslang.y"
 7840|      0|                                                           {
 7841|      0|        (yyval.interm.typeParameters) = (yyvsp[-1].interm.typeParameters);
 7842|      0|    }
 7843|      0|#line 7844 "MachineIndependent/glslang_tab.cpp"
 7844|      0|    break;
 7845|       |
 7846|      0|  case 224: /* type_parameter_specifier_list: type_specifier  */
  ------------------
  |  Branch (7846:3): [True: 0, False: 11.0M]
  ------------------
 7847|      0|#line 1798 "MachineIndependent/glslang.y"
 7848|      0|                     {
 7849|      0|        (yyval.interm.typeParameters) = new TTypeParameters;
 7850|      0|        (yyval.interm.typeParameters)->arraySizes = new TArraySizes;
 7851|      0|        (yyval.interm.typeParameters)->spirvType = (yyvsp[0].interm.type).spirvType;
 7852|      0|        (yyval.interm.typeParameters)->basicType = (yyvsp[0].interm.type).basicType;
 7853|      0|    }
 7854|      0|#line 7855 "MachineIndependent/glslang_tab.cpp"
 7855|      0|    break;
 7856|       |
 7857|      0|  case 225: /* type_parameter_specifier_list: unary_expression  */
  ------------------
  |  Branch (7857:3): [True: 0, False: 11.0M]
  ------------------
 7858|      0|#line 1804 "MachineIndependent/glslang.y"
 7859|      0|                       {
 7860|      0|        (yyval.interm.typeParameters) = new TTypeParameters;
 7861|      0|        (yyval.interm.typeParameters)->arraySizes = new TArraySizes;
 7862|       |
 7863|      0|        TArraySize size;
 7864|      0|        parseContext.arraySizeCheck((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode), size, "type parameter", true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7865|      0|        (yyval.interm.typeParameters)->arraySizes->addInnerSize(size);
 7866|      0|    }
 7867|      0|#line 7868 "MachineIndependent/glslang_tab.cpp"
 7868|      0|    break;
 7869|       |
 7870|      0|  case 226: /* type_parameter_specifier_list: type_parameter_specifier_list COMMA unary_expression  */
  ------------------
  |  Branch (7870:3): [True: 0, False: 11.0M]
  ------------------
 7871|      0|#line 1812 "MachineIndependent/glslang.y"
 7872|      0|                                                           {
 7873|      0|        (yyval.interm.typeParameters) = (yyvsp[-2].interm.typeParameters);
 7874|       |
 7875|      0|        TArraySize size;
 7876|      0|        parseContext.arraySizeCheck((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode), size, "type parameter", true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7877|      0|        (yyval.interm.typeParameters)->arraySizes->addInnerSize(size);
 7878|      0|    }
 7879|      0|#line 7880 "MachineIndependent/glslang_tab.cpp"
 7880|      0|    break;
 7881|       |
 7882|  29.7k|  case 227: /* type_specifier_nonarray: VOID  */
  ------------------
  |  Branch (7882:3): [True: 29.7k, False: 11.0M]
  ------------------
 7883|  29.7k|#line 1822 "MachineIndependent/glslang.y"
 7884|  29.7k|           {
 7885|  29.7k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  29.7k|#define parseContext (*pParseContext)
  ------------------
 7886|  29.7k|        (yyval.interm.type).basicType = EbtVoid;
 7887|  29.7k|    }
 7888|  29.7k|#line 7889 "MachineIndependent/glslang_tab.cpp"
 7889|  29.7k|    break;
 7890|       |
 7891|   101k|  case 228: /* type_specifier_nonarray: FLOAT  */
  ------------------
  |  Branch (7891:3): [True: 101k, False: 10.9M]
  ------------------
 7892|   101k|#line 1826 "MachineIndependent/glslang.y"
 7893|   101k|            {
 7894|   101k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|   101k|#define parseContext (*pParseContext)
  ------------------
 7895|   101k|        (yyval.interm.type).basicType = EbtFloat;
 7896|   101k|    }
 7897|   101k|#line 7898 "MachineIndependent/glslang_tab.cpp"
 7898|   101k|    break;
 7899|       |
 7900|   202k|  case 229: /* type_specifier_nonarray: INT  */
  ------------------
  |  Branch (7900:3): [True: 202k, False: 10.8M]
  ------------------
 7901|   202k|#line 1830 "MachineIndependent/glslang.y"
 7902|   202k|          {
 7903|   202k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|   202k|#define parseContext (*pParseContext)
  ------------------
 7904|   202k|        (yyval.interm.type).basicType = EbtInt;
 7905|   202k|    }
 7906|   202k|#line 7907 "MachineIndependent/glslang_tab.cpp"
 7907|   202k|    break;
 7908|       |
 7909|  97.9k|  case 230: /* type_specifier_nonarray: UINT  */
  ------------------
  |  Branch (7909:3): [True: 97.9k, False: 10.9M]
  ------------------
 7910|  97.9k|#line 1834 "MachineIndependent/glslang.y"
 7911|  97.9k|           {
 7912|  97.9k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer");
  ------------------
  |  |  756|  97.9k|#define parseContext (*pParseContext)
  ------------------
 7913|  97.9k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  97.9k|#define parseContext (*pParseContext)
  ------------------
 7914|  97.9k|        (yyval.interm.type).basicType = EbtUint;
 7915|  97.9k|    }
 7916|  97.9k|#line 7917 "MachineIndependent/glslang_tab.cpp"
 7917|  97.9k|    break;
 7918|       |
 7919|  15.6k|  case 231: /* type_specifier_nonarray: BOOL  */
  ------------------
  |  Branch (7919:3): [True: 15.6k, False: 11.0M]
  ------------------
 7920|  15.6k|#line 1839 "MachineIndependent/glslang.y"
 7921|  15.6k|           {
 7922|  15.6k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  15.6k|#define parseContext (*pParseContext)
  ------------------
 7923|  15.6k|        (yyval.interm.type).basicType = EbtBool;
 7924|  15.6k|    }
 7925|  15.6k|#line 7926 "MachineIndependent/glslang_tab.cpp"
 7926|  15.6k|    break;
 7927|       |
 7928|  68.3k|  case 232: /* type_specifier_nonarray: VEC2  */
  ------------------
  |  Branch (7928:3): [True: 68.3k, False: 10.9M]
  ------------------
 7929|  68.3k|#line 1843 "MachineIndependent/glslang.y"
 7930|  68.3k|           {
 7931|  68.3k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  68.3k|#define parseContext (*pParseContext)
  ------------------
 7932|  68.3k|        (yyval.interm.type).basicType = EbtFloat;
 7933|  68.3k|        (yyval.interm.type).setVector(2);
 7934|  68.3k|    }
 7935|  68.3k|#line 7936 "MachineIndependent/glslang_tab.cpp"
 7936|  68.3k|    break;
 7937|       |
 7938|  60.7k|  case 233: /* type_specifier_nonarray: VEC3  */
  ------------------
  |  Branch (7938:3): [True: 60.7k, False: 10.9M]
  ------------------
 7939|  60.7k|#line 1848 "MachineIndependent/glslang.y"
 7940|  60.7k|           {
 7941|  60.7k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  60.7k|#define parseContext (*pParseContext)
  ------------------
 7942|  60.7k|        (yyval.interm.type).basicType = EbtFloat;
 7943|  60.7k|        (yyval.interm.type).setVector(3);
 7944|  60.7k|    }
 7945|  60.7k|#line 7946 "MachineIndependent/glslang_tab.cpp"
 7946|  60.7k|    break;
 7947|       |
 7948|  57.2k|  case 234: /* type_specifier_nonarray: VEC4  */
  ------------------
  |  Branch (7948:3): [True: 57.2k, False: 10.9M]
  ------------------
 7949|  57.2k|#line 1853 "MachineIndependent/glslang.y"
 7950|  57.2k|           {
 7951|  57.2k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  57.2k|#define parseContext (*pParseContext)
  ------------------
 7952|  57.2k|        (yyval.interm.type).basicType = EbtFloat;
 7953|  57.2k|        (yyval.interm.type).setVector(4);
 7954|  57.2k|    }
 7955|  57.2k|#line 7956 "MachineIndependent/glslang_tab.cpp"
 7956|  57.2k|    break;
 7957|       |
 7958|  8.04k|  case 235: /* type_specifier_nonarray: BVEC2  */
  ------------------
  |  Branch (7958:3): [True: 8.04k, False: 11.0M]
  ------------------
 7959|  8.04k|#line 1858 "MachineIndependent/glslang.y"
 7960|  8.04k|            {
 7961|  8.04k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  8.04k|#define parseContext (*pParseContext)
  ------------------
 7962|  8.04k|        (yyval.interm.type).basicType = EbtBool;
 7963|  8.04k|        (yyval.interm.type).setVector(2);
 7964|  8.04k|    }
 7965|  8.04k|#line 7966 "MachineIndependent/glslang_tab.cpp"
 7966|  8.04k|    break;
 7967|       |
 7968|  8.04k|  case 236: /* type_specifier_nonarray: BVEC3  */
  ------------------
  |  Branch (7968:3): [True: 8.04k, False: 11.0M]
  ------------------
 7969|  8.04k|#line 1863 "MachineIndependent/glslang.y"
 7970|  8.04k|            {
 7971|  8.04k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  8.04k|#define parseContext (*pParseContext)
  ------------------
 7972|  8.04k|        (yyval.interm.type).basicType = EbtBool;
 7973|  8.04k|        (yyval.interm.type).setVector(3);
 7974|  8.04k|    }
 7975|  8.04k|#line 7976 "MachineIndependent/glslang_tab.cpp"
 7976|  8.04k|    break;
 7977|       |
 7978|  8.04k|  case 237: /* type_specifier_nonarray: BVEC4  */
  ------------------
  |  Branch (7978:3): [True: 8.04k, False: 11.0M]
  ------------------
 7979|  8.04k|#line 1868 "MachineIndependent/glslang.y"
 7980|  8.04k|            {
 7981|  8.04k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  8.04k|#define parseContext (*pParseContext)
  ------------------
 7982|  8.04k|        (yyval.interm.type).basicType = EbtBool;
 7983|  8.04k|        (yyval.interm.type).setVector(4);
 7984|  8.04k|    }
 7985|  8.04k|#line 7986 "MachineIndependent/glslang_tab.cpp"
 7986|  8.04k|    break;
 7987|       |
 7988|  53.8k|  case 238: /* type_specifier_nonarray: IVEC2  */
  ------------------
  |  Branch (7988:3): [True: 53.8k, False: 10.9M]
  ------------------
 7989|  53.8k|#line 1873 "MachineIndependent/glslang.y"
 7990|  53.8k|            {
 7991|  53.8k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  53.8k|#define parseContext (*pParseContext)
  ------------------
 7992|  53.8k|        (yyval.interm.type).basicType = EbtInt;
 7993|  53.8k|        (yyval.interm.type).setVector(2);
 7994|  53.8k|    }
 7995|  53.8k|#line 7996 "MachineIndependent/glslang_tab.cpp"
 7996|  53.8k|    break;
 7997|       |
 7998|  37.6k|  case 239: /* type_specifier_nonarray: IVEC3  */
  ------------------
  |  Branch (7998:3): [True: 37.6k, False: 10.9M]
  ------------------
 7999|  37.6k|#line 1878 "MachineIndependent/glslang.y"
 8000|  37.6k|            {
 8001|  37.6k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  37.6k|#define parseContext (*pParseContext)
  ------------------
 8002|  37.6k|        (yyval.interm.type).basicType = EbtInt;
 8003|  37.6k|        (yyval.interm.type).setVector(3);
 8004|  37.6k|    }
 8005|  37.6k|#line 8006 "MachineIndependent/glslang_tab.cpp"
 8006|  37.6k|    break;
 8007|       |
 8008|  23.4k|  case 240: /* type_specifier_nonarray: IVEC4  */
  ------------------
  |  Branch (8008:3): [True: 23.4k, False: 11.0M]
  ------------------
 8009|  23.4k|#line 1883 "MachineIndependent/glslang.y"
 8010|  23.4k|            {
 8011|  23.4k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  23.4k|#define parseContext (*pParseContext)
  ------------------
 8012|  23.4k|        (yyval.interm.type).basicType = EbtInt;
 8013|  23.4k|        (yyval.interm.type).setVector(4);
 8014|  23.4k|    }
 8015|  23.4k|#line 8016 "MachineIndependent/glslang_tab.cpp"
 8016|  23.4k|    break;
 8017|       |
 8018|  8.51k|  case 241: /* type_specifier_nonarray: UVEC2  */
  ------------------
  |  Branch (8018:3): [True: 8.51k, False: 11.0M]
  ------------------
 8019|  8.51k|#line 1888 "MachineIndependent/glslang.y"
 8020|  8.51k|            {
 8021|  8.51k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
  ------------------
  |  |  756|  8.51k|#define parseContext (*pParseContext)
  ------------------
 8022|  8.51k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  8.51k|#define parseContext (*pParseContext)
  ------------------
 8023|  8.51k|        (yyval.interm.type).basicType = EbtUint;
 8024|  8.51k|        (yyval.interm.type).setVector(2);
 8025|  8.51k|    }
 8026|  8.51k|#line 8027 "MachineIndependent/glslang_tab.cpp"
 8027|  8.51k|    break;
 8028|       |
 8029|  8.34k|  case 242: /* type_specifier_nonarray: UVEC3  */
  ------------------
  |  Branch (8029:3): [True: 8.34k, False: 11.0M]
  ------------------
 8030|  8.34k|#line 1894 "MachineIndependent/glslang.y"
 8031|  8.34k|            {
 8032|  8.34k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
  ------------------
  |  |  756|  8.34k|#define parseContext (*pParseContext)
  ------------------
 8033|  8.34k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  8.34k|#define parseContext (*pParseContext)
  ------------------
 8034|  8.34k|        (yyval.interm.type).basicType = EbtUint;
 8035|  8.34k|        (yyval.interm.type).setVector(3);
 8036|  8.34k|    }
 8037|  8.34k|#line 8038 "MachineIndependent/glslang_tab.cpp"
 8038|  8.34k|    break;
 8039|       |
 8040|  48.4k|  case 243: /* type_specifier_nonarray: UVEC4  */
  ------------------
  |  Branch (8040:3): [True: 48.4k, False: 10.9M]
  ------------------
 8041|  48.4k|#line 1900 "MachineIndependent/glslang.y"
 8042|  48.4k|            {
 8043|  48.4k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
  ------------------
  |  |  756|  48.4k|#define parseContext (*pParseContext)
  ------------------
 8044|  48.4k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  48.4k|#define parseContext (*pParseContext)
  ------------------
 8045|  48.4k|        (yyval.interm.type).basicType = EbtUint;
 8046|  48.4k|        (yyval.interm.type).setVector(4);
 8047|  48.4k|    }
 8048|  48.4k|#line 8049 "MachineIndependent/glslang_tab.cpp"
 8049|  48.4k|    break;
 8050|       |
 8051|    735|  case 244: /* type_specifier_nonarray: MAT2  */
  ------------------
  |  Branch (8051:3): [True: 735, False: 11.0M]
  ------------------
 8052|    735|#line 1906 "MachineIndependent/glslang.y"
 8053|    735|           {
 8054|    735|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    735|#define parseContext (*pParseContext)
  ------------------
 8055|    735|        (yyval.interm.type).basicType = EbtFloat;
 8056|    735|        (yyval.interm.type).setMatrix(2, 2);
 8057|    735|    }
 8058|    735|#line 8059 "MachineIndependent/glslang_tab.cpp"
 8059|    735|    break;
 8060|       |
 8061|    735|  case 245: /* type_specifier_nonarray: MAT3  */
  ------------------
  |  Branch (8061:3): [True: 735, False: 11.0M]
  ------------------
 8062|    735|#line 1911 "MachineIndependent/glslang.y"
 8063|    735|           {
 8064|    735|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    735|#define parseContext (*pParseContext)
  ------------------
 8065|    735|        (yyval.interm.type).basicType = EbtFloat;
 8066|    735|        (yyval.interm.type).setMatrix(3, 3);
 8067|    735|    }
 8068|    735|#line 8069 "MachineIndependent/glslang_tab.cpp"
 8069|    735|    break;
 8070|       |
 8071|    735|  case 246: /* type_specifier_nonarray: MAT4  */
  ------------------
  |  Branch (8071:3): [True: 735, False: 11.0M]
  ------------------
 8072|    735|#line 1916 "MachineIndependent/glslang.y"
 8073|    735|           {
 8074|    735|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    735|#define parseContext (*pParseContext)
  ------------------
 8075|    735|        (yyval.interm.type).basicType = EbtFloat;
 8076|    735|        (yyval.interm.type).setMatrix(4, 4);
 8077|    735|    }
 8078|    735|#line 8079 "MachineIndependent/glslang_tab.cpp"
 8079|    735|    break;
 8080|       |
 8081|      0|  case 247: /* type_specifier_nonarray: MAT2X2  */
  ------------------
  |  Branch (8081:3): [True: 0, False: 11.0M]
  ------------------
 8082|      0|#line 1921 "MachineIndependent/glslang.y"
 8083|      0|             {
 8084|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8085|      0|        (yyval.interm.type).basicType = EbtFloat;
 8086|      0|        (yyval.interm.type).setMatrix(2, 2);
 8087|      0|    }
 8088|      0|#line 8089 "MachineIndependent/glslang_tab.cpp"
 8089|      0|    break;
 8090|       |
 8091|    180|  case 248: /* type_specifier_nonarray: MAT2X3  */
  ------------------
  |  Branch (8091:3): [True: 180, False: 11.0M]
  ------------------
 8092|    180|#line 1926 "MachineIndependent/glslang.y"
 8093|    180|             {
 8094|    180|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    180|#define parseContext (*pParseContext)
  ------------------
 8095|    180|        (yyval.interm.type).basicType = EbtFloat;
 8096|    180|        (yyval.interm.type).setMatrix(2, 3);
 8097|    180|    }
 8098|    180|#line 8099 "MachineIndependent/glslang_tab.cpp"
 8099|    180|    break;
 8100|       |
 8101|    180|  case 249: /* type_specifier_nonarray: MAT2X4  */
  ------------------
  |  Branch (8101:3): [True: 180, False: 11.0M]
  ------------------
 8102|    180|#line 1931 "MachineIndependent/glslang.y"
 8103|    180|             {
 8104|    180|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    180|#define parseContext (*pParseContext)
  ------------------
 8105|    180|        (yyval.interm.type).basicType = EbtFloat;
 8106|    180|        (yyval.interm.type).setMatrix(2, 4);
 8107|    180|    }
 8108|    180|#line 8109 "MachineIndependent/glslang_tab.cpp"
 8109|    180|    break;
 8110|       |
 8111|    180|  case 250: /* type_specifier_nonarray: MAT3X2  */
  ------------------
  |  Branch (8111:3): [True: 180, False: 11.0M]
  ------------------
 8112|    180|#line 1936 "MachineIndependent/glslang.y"
 8113|    180|             {
 8114|    180|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    180|#define parseContext (*pParseContext)
  ------------------
 8115|    180|        (yyval.interm.type).basicType = EbtFloat;
 8116|    180|        (yyval.interm.type).setMatrix(3, 2);
 8117|    180|    }
 8118|    180|#line 8119 "MachineIndependent/glslang_tab.cpp"
 8119|    180|    break;
 8120|       |
 8121|      0|  case 251: /* type_specifier_nonarray: MAT3X3  */
  ------------------
  |  Branch (8121:3): [True: 0, False: 11.0M]
  ------------------
 8122|      0|#line 1941 "MachineIndependent/glslang.y"
 8123|      0|             {
 8124|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8125|      0|        (yyval.interm.type).basicType = EbtFloat;
 8126|      0|        (yyval.interm.type).setMatrix(3, 3);
 8127|      0|    }
 8128|      0|#line 8129 "MachineIndependent/glslang_tab.cpp"
 8129|      0|    break;
 8130|       |
 8131|    180|  case 252: /* type_specifier_nonarray: MAT3X4  */
  ------------------
  |  Branch (8131:3): [True: 180, False: 11.0M]
  ------------------
 8132|    180|#line 1946 "MachineIndependent/glslang.y"
 8133|    180|             {
 8134|    180|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    180|#define parseContext (*pParseContext)
  ------------------
 8135|    180|        (yyval.interm.type).basicType = EbtFloat;
 8136|    180|        (yyval.interm.type).setMatrix(3, 4);
 8137|    180|    }
 8138|    180|#line 8139 "MachineIndependent/glslang_tab.cpp"
 8139|    180|    break;
 8140|       |
 8141|    180|  case 253: /* type_specifier_nonarray: MAT4X2  */
  ------------------
  |  Branch (8141:3): [True: 180, False: 11.0M]
  ------------------
 8142|    180|#line 1951 "MachineIndependent/glslang.y"
 8143|    180|             {
 8144|    180|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    180|#define parseContext (*pParseContext)
  ------------------
 8145|    180|        (yyval.interm.type).basicType = EbtFloat;
 8146|    180|        (yyval.interm.type).setMatrix(4, 2);
 8147|    180|    }
 8148|    180|#line 8149 "MachineIndependent/glslang_tab.cpp"
 8149|    180|    break;
 8150|       |
 8151|    180|  case 254: /* type_specifier_nonarray: MAT4X3  */
  ------------------
  |  Branch (8151:3): [True: 180, False: 11.0M]
  ------------------
 8152|    180|#line 1956 "MachineIndependent/glslang.y"
 8153|    180|             {
 8154|    180|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    180|#define parseContext (*pParseContext)
  ------------------
 8155|    180|        (yyval.interm.type).basicType = EbtFloat;
 8156|    180|        (yyval.interm.type).setMatrix(4, 3);
 8157|    180|    }
 8158|    180|#line 8159 "MachineIndependent/glslang_tab.cpp"
 8159|    180|    break;
 8160|       |
 8161|      0|  case 255: /* type_specifier_nonarray: MAT4X4  */
  ------------------
  |  Branch (8161:3): [True: 0, False: 11.0M]
  ------------------
 8162|      0|#line 1961 "MachineIndependent/glslang.y"
 8163|      0|             {
 8164|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8165|      0|        (yyval.interm.type).basicType = EbtFloat;
 8166|      0|        (yyval.interm.type).setMatrix(4, 4);
 8167|      0|    }
 8168|      0|#line 8169 "MachineIndependent/glslang_tab.cpp"
 8169|      0|    break;
 8170|       |
 8171|  7.82k|  case 256: /* type_specifier_nonarray: DOUBLE  */
  ------------------
  |  Branch (8171:3): [True: 7.82k, False: 11.0M]
  ------------------
 8172|  7.82k|#line 1966 "MachineIndependent/glslang.y"
 8173|  7.82k|             {
 8174|  7.82k|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double");
  ------------------
  |  |  756|  7.82k|#define parseContext (*pParseContext)
  ------------------
 8175|  7.82k|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|  7.82k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8175:13): [True: 0, False: 7.82k]
  ------------------
 8176|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8177|  7.82k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  7.82k|#define parseContext (*pParseContext)
  ------------------
 8178|  7.82k|        (yyval.interm.type).basicType = EbtDouble;
 8179|  7.82k|    }
 8180|  7.82k|#line 8181 "MachineIndependent/glslang_tab.cpp"
 8181|  7.82k|    break;
 8182|       |
 8183|    486|  case 257: /* type_specifier_nonarray: BFLOAT16_T  */
  ------------------
  |  Branch (8183:3): [True: 486, False: 11.0M]
  ------------------
 8184|    486|#line 1973 "MachineIndependent/glslang.y"
 8185|    486|                 {
 8186|    486|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "bfloat16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    486|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "bfloat16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    486|#define parseContext (*pParseContext)
  ------------------
 8187|    486|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    486|#define parseContext (*pParseContext)
  ------------------
 8188|    486|        (yyval.interm.type).basicType = EbtBFloat16;
 8189|    486|    }
 8190|    486|#line 8191 "MachineIndependent/glslang_tab.cpp"
 8191|    486|    break;
 8192|       |
 8193|    324|  case 258: /* type_specifier_nonarray: FLOATE5M2_T  */
  ------------------
  |  Branch (8193:3): [True: 324, False: 11.0M]
  ------------------
 8194|    324|#line 1978 "MachineIndependent/glslang.y"
 8195|    324|                  {
 8196|    324|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate5m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    324|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate5m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    324|#define parseContext (*pParseContext)
  ------------------
 8197|    324|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    324|#define parseContext (*pParseContext)
  ------------------
 8198|    324|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8199|    324|    }
 8200|    324|#line 8201 "MachineIndependent/glslang_tab.cpp"
 8201|    324|    break;
 8202|       |
 8203|    324|  case 259: /* type_specifier_nonarray: FLOATE4M3_T  */
  ------------------
  |  Branch (8203:3): [True: 324, False: 11.0M]
  ------------------
 8204|    324|#line 1983 "MachineIndependent/glslang.y"
 8205|    324|                  {
 8206|    324|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate4m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    324|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate4m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    324|#define parseContext (*pParseContext)
  ------------------
 8207|    324|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    324|#define parseContext (*pParseContext)
  ------------------
 8208|    324|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8209|    324|    }
 8210|    324|#line 8211 "MachineIndependent/glslang_tab.cpp"
 8211|    324|    break;
 8212|       |
 8213|  33.7k|  case 260: /* type_specifier_nonarray: FLOAT16_T  */
  ------------------
  |  Branch (8213:3): [True: 33.7k, False: 11.0M]
  ------------------
 8214|  33.7k|#line 1988 "MachineIndependent/glslang.y"
 8215|  33.7k|                {
 8216|  33.7k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "float16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  33.7k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "float16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  33.7k|#define parseContext (*pParseContext)
  ------------------
 8217|  33.7k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  33.7k|#define parseContext (*pParseContext)
  ------------------
 8218|  33.7k|        (yyval.interm.type).basicType = EbtFloat16;
 8219|  33.7k|    }
 8220|  33.7k|#line 8221 "MachineIndependent/glslang_tab.cpp"
 8221|  33.7k|    break;
 8222|       |
 8223|  2.05k|  case 261: /* type_specifier_nonarray: FLOAT32_T  */
  ------------------
  |  Branch (8223:3): [True: 2.05k, False: 11.0M]
  ------------------
 8224|  2.05k|#line 1993 "MachineIndependent/glslang.y"
 8225|  2.05k|                {
 8226|  2.05k|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  2.05k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  2.05k|#define parseContext (*pParseContext)
  ------------------
 8227|  2.05k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  2.05k|#define parseContext (*pParseContext)
  ------------------
 8228|  2.05k|        (yyval.interm.type).basicType = EbtFloat;
 8229|  2.05k|    }
 8230|  2.05k|#line 8231 "MachineIndependent/glslang_tab.cpp"
 8231|  2.05k|    break;
 8232|       |
 8233|  3.80k|  case 262: /* type_specifier_nonarray: FLOAT64_T  */
  ------------------
  |  Branch (8233:3): [True: 3.80k, False: 11.0M]
  ------------------
 8234|  3.80k|#line 1998 "MachineIndependent/glslang.y"
 8235|  3.80k|                {
 8236|  3.80k|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  3.80k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  3.80k|#define parseContext (*pParseContext)
  ------------------
 8237|  3.80k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  3.80k|#define parseContext (*pParseContext)
  ------------------
 8238|  3.80k|        (yyval.interm.type).basicType = EbtDouble;
 8239|  3.80k|    }
 8240|  3.80k|#line 8241 "MachineIndependent/glslang_tab.cpp"
 8241|  3.80k|    break;
 8242|       |
 8243|  7.58k|  case 263: /* type_specifier_nonarray: INT8_T  */
  ------------------
  |  Branch (8243:3): [True: 7.58k, False: 11.0M]
  ------------------
 8244|  7.58k|#line 2003 "MachineIndependent/glslang.y"
 8245|  7.58k|             {
 8246|  7.58k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  7.58k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  7.58k|#define parseContext (*pParseContext)
  ------------------
 8247|  7.58k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  7.58k|#define parseContext (*pParseContext)
  ------------------
 8248|  7.58k|        (yyval.interm.type).basicType = EbtInt8;
 8249|  7.58k|    }
 8250|  7.58k|#line 8251 "MachineIndependent/glslang_tab.cpp"
 8251|  7.58k|    break;
 8252|       |
 8253|  6.93k|  case 264: /* type_specifier_nonarray: UINT8_T  */
  ------------------
  |  Branch (8253:3): [True: 6.93k, False: 11.0M]
  ------------------
 8254|  6.93k|#line 2008 "MachineIndependent/glslang.y"
 8255|  6.93k|              {
 8256|  6.93k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  6.93k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  6.93k|#define parseContext (*pParseContext)
  ------------------
 8257|  6.93k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  6.93k|#define parseContext (*pParseContext)
  ------------------
 8258|  6.93k|        (yyval.interm.type).basicType = EbtUint8;
 8259|  6.93k|    }
 8260|  6.93k|#line 8261 "MachineIndependent/glslang_tab.cpp"
 8261|  6.93k|    break;
 8262|       |
 8263|  9.36k|  case 265: /* type_specifier_nonarray: INT16_T  */
  ------------------
  |  Branch (8263:3): [True: 9.36k, False: 11.0M]
  ------------------
 8264|  9.36k|#line 2013 "MachineIndependent/glslang.y"
 8265|  9.36k|              {
 8266|  9.36k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  9.36k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  9.36k|#define parseContext (*pParseContext)
  ------------------
 8267|  9.36k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  9.36k|#define parseContext (*pParseContext)
  ------------------
 8268|  9.36k|        (yyval.interm.type).basicType = EbtInt16;
 8269|  9.36k|    }
 8270|  9.36k|#line 8271 "MachineIndependent/glslang_tab.cpp"
 8271|  9.36k|    break;
 8272|       |
 8273|  8.28k|  case 266: /* type_specifier_nonarray: UINT16_T  */
  ------------------
  |  Branch (8273:3): [True: 8.28k, False: 11.0M]
  ------------------
 8274|  8.28k|#line 2018 "MachineIndependent/glslang.y"
 8275|  8.28k|               {
 8276|  8.28k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  8.28k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  8.28k|#define parseContext (*pParseContext)
  ------------------
 8277|  8.28k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  8.28k|#define parseContext (*pParseContext)
  ------------------
 8278|  8.28k|        (yyval.interm.type).basicType = EbtUint16;
 8279|  8.28k|    }
 8280|  8.28k|#line 8281 "MachineIndependent/glslang_tab.cpp"
 8281|  8.28k|    break;
 8282|       |
 8283|  2.16k|  case 267: /* type_specifier_nonarray: INT32_T  */
  ------------------
  |  Branch (8283:3): [True: 2.16k, False: 11.0M]
  ------------------
 8284|  2.16k|#line 2023 "MachineIndependent/glslang.y"
 8285|  2.16k|              {
 8286|  2.16k|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  2.16k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  2.16k|#define parseContext (*pParseContext)
  ------------------
 8287|  2.16k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  2.16k|#define parseContext (*pParseContext)
  ------------------
 8288|  2.16k|        (yyval.interm.type).basicType = EbtInt;
 8289|  2.16k|    }
 8290|  2.16k|#line 8291 "MachineIndependent/glslang_tab.cpp"
 8291|  2.16k|    break;
 8292|       |
 8293|  2.16k|  case 268: /* type_specifier_nonarray: UINT32_T  */
  ------------------
  |  Branch (8293:3): [True: 2.16k, False: 11.0M]
  ------------------
 8294|  2.16k|#line 2028 "MachineIndependent/glslang.y"
 8295|  2.16k|               {
 8296|  2.16k|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  2.16k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  2.16k|#define parseContext (*pParseContext)
  ------------------
 8297|  2.16k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  2.16k|#define parseContext (*pParseContext)
  ------------------
 8298|  2.16k|        (yyval.interm.type).basicType = EbtUint;
 8299|  2.16k|    }
 8300|  2.16k|#line 8301 "MachineIndependent/glslang_tab.cpp"
 8301|  2.16k|    break;
 8302|       |
 8303|  20.8k|  case 269: /* type_specifier_nonarray: INT64_T  */
  ------------------
  |  Branch (8303:3): [True: 20.8k, False: 11.0M]
  ------------------
 8304|  20.8k|#line 2033 "MachineIndependent/glslang.y"
 8305|  20.8k|              {
 8306|  20.8k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  20.8k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  20.8k|#define parseContext (*pParseContext)
  ------------------
 8307|  20.8k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  20.8k|#define parseContext (*pParseContext)
  ------------------
 8308|  20.8k|        (yyval.interm.type).basicType = EbtInt64;
 8309|  20.8k|    }
 8310|  20.8k|#line 8311 "MachineIndependent/glslang_tab.cpp"
 8311|  20.8k|    break;
 8312|       |
 8313|  34.4k|  case 270: /* type_specifier_nonarray: UINT64_T  */
  ------------------
  |  Branch (8313:3): [True: 34.4k, False: 11.0M]
  ------------------
 8314|  34.4k|#line 2038 "MachineIndependent/glslang.y"
 8315|  34.4k|               {
 8316|  34.4k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  34.4k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  34.4k|#define parseContext (*pParseContext)
  ------------------
 8317|  34.4k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  34.4k|#define parseContext (*pParseContext)
  ------------------
 8318|  34.4k|        (yyval.interm.type).basicType = EbtUint64;
 8319|  34.4k|    }
 8320|  34.4k|#line 8321 "MachineIndependent/glslang_tab.cpp"
 8321|  34.4k|    break;
 8322|       |
 8323|  6.37k|  case 271: /* type_specifier_nonarray: DVEC2  */
  ------------------
  |  Branch (8323:3): [True: 6.37k, False: 11.0M]
  ------------------
 8324|  6.37k|#line 2043 "MachineIndependent/glslang.y"
 8325|  6.37k|            {
 8326|  6.37k|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
  ------------------
  |  |  756|  6.37k|#define parseContext (*pParseContext)
  ------------------
 8327|  6.37k|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|  6.37k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8327:13): [True: 0, False: 6.37k]
  ------------------
 8328|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8329|  6.37k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  6.37k|#define parseContext (*pParseContext)
  ------------------
 8330|  6.37k|        (yyval.interm.type).basicType = EbtDouble;
 8331|  6.37k|        (yyval.interm.type).setVector(2);
 8332|  6.37k|    }
 8333|  6.37k|#line 8334 "MachineIndependent/glslang_tab.cpp"
 8334|  6.37k|    break;
 8335|       |
 8336|  6.35k|  case 272: /* type_specifier_nonarray: DVEC3  */
  ------------------
  |  Branch (8336:3): [True: 6.35k, False: 11.0M]
  ------------------
 8337|  6.35k|#line 2051 "MachineIndependent/glslang.y"
 8338|  6.35k|            {
 8339|  6.35k|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
  ------------------
  |  |  756|  6.35k|#define parseContext (*pParseContext)
  ------------------
 8340|  6.35k|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|  6.35k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8340:13): [True: 0, False: 6.35k]
  ------------------
 8341|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8342|  6.35k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  6.35k|#define parseContext (*pParseContext)
  ------------------
 8343|  6.35k|        (yyval.interm.type).basicType = EbtDouble;
 8344|  6.35k|        (yyval.interm.type).setVector(3);
 8345|  6.35k|    }
 8346|  6.35k|#line 8347 "MachineIndependent/glslang_tab.cpp"
 8347|  6.35k|    break;
 8348|       |
 8349|  6.37k|  case 273: /* type_specifier_nonarray: DVEC4  */
  ------------------
  |  Branch (8349:3): [True: 6.37k, False: 11.0M]
  ------------------
 8350|  6.37k|#line 2059 "MachineIndependent/glslang.y"
 8351|  6.37k|            {
 8352|  6.37k|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
  ------------------
  |  |  756|  6.37k|#define parseContext (*pParseContext)
  ------------------
 8353|  6.37k|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|  6.37k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8353:13): [True: 0, False: 6.37k]
  ------------------
 8354|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8355|  6.37k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  6.37k|#define parseContext (*pParseContext)
  ------------------
 8356|  6.37k|        (yyval.interm.type).basicType = EbtDouble;
 8357|  6.37k|        (yyval.interm.type).setVector(4);
 8358|  6.37k|    }
 8359|  6.37k|#line 8360 "MachineIndependent/glslang_tab.cpp"
 8360|  6.37k|    break;
 8361|       |
 8362|    270|  case 274: /* type_specifier_nonarray: BF16VEC2  */
  ------------------
  |  Branch (8362:3): [True: 270, False: 11.0M]
  ------------------
 8363|    270|#line 2067 "MachineIndependent/glslang.y"
 8364|    270|               {
 8365|    270|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    270|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    270|#define parseContext (*pParseContext)
  ------------------
 8366|    270|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    270|#define parseContext (*pParseContext)
  ------------------
 8367|    270|        (yyval.interm.type).basicType = EbtBFloat16;
 8368|    270|        (yyval.interm.type).setVector(2);
 8369|    270|    }
 8370|    270|#line 8371 "MachineIndependent/glslang_tab.cpp"
 8371|    270|    break;
 8372|       |
 8373|    162|  case 275: /* type_specifier_nonarray: BF16VEC3  */
  ------------------
  |  Branch (8373:3): [True: 162, False: 11.0M]
  ------------------
 8374|    162|#line 2073 "MachineIndependent/glslang.y"
 8375|    162|               {
 8376|    162|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
 8377|    162|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
 8378|    162|        (yyval.interm.type).basicType = EbtBFloat16;
 8379|    162|        (yyval.interm.type).setVector(3);
 8380|    162|    }
 8381|    162|#line 8382 "MachineIndependent/glslang_tab.cpp"
 8382|    162|    break;
 8383|       |
 8384|    270|  case 276: /* type_specifier_nonarray: BF16VEC4  */
  ------------------
  |  Branch (8384:3): [True: 270, False: 11.0M]
  ------------------
 8385|    270|#line 2079 "MachineIndependent/glslang.y"
 8386|    270|               {
 8387|    270|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    270|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    270|#define parseContext (*pParseContext)
  ------------------
 8388|    270|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    270|#define parseContext (*pParseContext)
  ------------------
 8389|    270|        (yyval.interm.type).basicType = EbtBFloat16;
 8390|    270|        (yyval.interm.type).setVector(4);
 8391|    270|    }
 8392|    270|#line 8393 "MachineIndependent/glslang_tab.cpp"
 8393|    270|    break;
 8394|       |
 8395|    216|  case 277: /* type_specifier_nonarray: FE5M2VEC2  */
  ------------------
  |  Branch (8395:3): [True: 216, False: 11.0M]
  ------------------
 8396|    216|#line 2085 "MachineIndependent/glslang.y"
 8397|    216|                {
 8398|    216|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    216|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    216|#define parseContext (*pParseContext)
  ------------------
 8399|    216|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    216|#define parseContext (*pParseContext)
  ------------------
 8400|    216|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8401|    216|        (yyval.interm.type).setVector(2);
 8402|    216|    }
 8403|    216|#line 8404 "MachineIndependent/glslang_tab.cpp"
 8404|    216|    break;
 8405|       |
 8406|    108|  case 278: /* type_specifier_nonarray: FE5M2VEC3  */
  ------------------
  |  Branch (8406:3): [True: 108, False: 11.0M]
  ------------------
 8407|    108|#line 2091 "MachineIndependent/glslang.y"
 8408|    108|                {
 8409|    108|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    108|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    108|#define parseContext (*pParseContext)
  ------------------
 8410|    108|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    108|#define parseContext (*pParseContext)
  ------------------
 8411|    108|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8412|    108|        (yyval.interm.type).setVector(3);
 8413|    108|    }
 8414|    108|#line 8415 "MachineIndependent/glslang_tab.cpp"
 8415|    108|    break;
 8416|       |
 8417|    216|  case 279: /* type_specifier_nonarray: FE5M2VEC4  */
  ------------------
  |  Branch (8417:3): [True: 216, False: 11.0M]
  ------------------
 8418|    216|#line 2097 "MachineIndependent/glslang.y"
 8419|    216|                {
 8420|    216|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    216|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    216|#define parseContext (*pParseContext)
  ------------------
 8421|    216|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    216|#define parseContext (*pParseContext)
  ------------------
 8422|    216|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8423|    216|        (yyval.interm.type).setVector(4);
 8424|    216|    }
 8425|    216|#line 8426 "MachineIndependent/glslang_tab.cpp"
 8426|    216|    break;
 8427|       |
 8428|    216|  case 280: /* type_specifier_nonarray: FE4M3VEC2  */
  ------------------
  |  Branch (8428:3): [True: 216, False: 11.0M]
  ------------------
 8429|    216|#line 2103 "MachineIndependent/glslang.y"
 8430|    216|                {
 8431|    216|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    216|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    216|#define parseContext (*pParseContext)
  ------------------
 8432|    216|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    216|#define parseContext (*pParseContext)
  ------------------
 8433|    216|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8434|    216|        (yyval.interm.type).setVector(2);
 8435|    216|    }
 8436|    216|#line 8437 "MachineIndependent/glslang_tab.cpp"
 8437|    216|    break;
 8438|       |
 8439|    108|  case 281: /* type_specifier_nonarray: FE4M3VEC3  */
  ------------------
  |  Branch (8439:3): [True: 108, False: 11.0M]
  ------------------
 8440|    108|#line 2109 "MachineIndependent/glslang.y"
 8441|    108|                {
 8442|    108|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    108|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    108|#define parseContext (*pParseContext)
  ------------------
 8443|    108|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    108|#define parseContext (*pParseContext)
  ------------------
 8444|    108|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8445|    108|        (yyval.interm.type).setVector(3);
 8446|    108|    }
 8447|    108|#line 8448 "MachineIndependent/glslang_tab.cpp"
 8448|    108|    break;
 8449|       |
 8450|    216|  case 282: /* type_specifier_nonarray: FE4M3VEC4  */
  ------------------
  |  Branch (8450:3): [True: 216, False: 11.0M]
  ------------------
 8451|    216|#line 2115 "MachineIndependent/glslang.y"
 8452|    216|                {
 8453|    216|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    216|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    216|#define parseContext (*pParseContext)
  ------------------
 8454|    216|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    216|#define parseContext (*pParseContext)
  ------------------
 8455|    216|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8456|    216|        (yyval.interm.type).setVector(4);
 8457|    216|    }
 8458|    216|#line 8459 "MachineIndependent/glslang_tab.cpp"
 8459|    216|    break;
 8460|       |
 8461|  25.5k|  case 283: /* type_specifier_nonarray: F16VEC2  */
  ------------------
  |  Branch (8461:3): [True: 25.5k, False: 11.0M]
  ------------------
 8462|  25.5k|#line 2121 "MachineIndependent/glslang.y"
 8463|  25.5k|              {
 8464|  25.5k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  25.5k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  25.5k|#define parseContext (*pParseContext)
  ------------------
 8465|  25.5k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  25.5k|#define parseContext (*pParseContext)
  ------------------
 8466|  25.5k|        (yyval.interm.type).basicType = EbtFloat16;
 8467|  25.5k|        (yyval.interm.type).setVector(2);
 8468|  25.5k|    }
 8469|  25.5k|#line 8470 "MachineIndependent/glslang_tab.cpp"
 8470|  25.5k|    break;
 8471|       |
 8472|  17.5k|  case 284: /* type_specifier_nonarray: F16VEC3  */
  ------------------
  |  Branch (8472:3): [True: 17.5k, False: 11.0M]
  ------------------
 8473|  17.5k|#line 2127 "MachineIndependent/glslang.y"
 8474|  17.5k|              {
 8475|  17.5k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  17.5k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  17.5k|#define parseContext (*pParseContext)
  ------------------
 8476|  17.5k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  17.5k|#define parseContext (*pParseContext)
  ------------------
 8477|  17.5k|        (yyval.interm.type).basicType = EbtFloat16;
 8478|  17.5k|        (yyval.interm.type).setVector(3);
 8479|  17.5k|    }
 8480|  17.5k|#line 8481 "MachineIndependent/glslang_tab.cpp"
 8481|  17.5k|    break;
 8482|       |
 8483|  43.9k|  case 285: /* type_specifier_nonarray: F16VEC4  */
  ------------------
  |  Branch (8483:3): [True: 43.9k, False: 10.9M]
  ------------------
 8484|  43.9k|#line 2133 "MachineIndependent/glslang.y"
 8485|  43.9k|              {
 8486|  43.9k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  43.9k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  43.9k|#define parseContext (*pParseContext)
  ------------------
 8487|  43.9k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  43.9k|#define parseContext (*pParseContext)
  ------------------
 8488|  43.9k|        (yyval.interm.type).basicType = EbtFloat16;
 8489|  43.9k|        (yyval.interm.type).setVector(4);
 8490|  43.9k|    }
 8491|  43.9k|#line 8492 "MachineIndependent/glslang_tab.cpp"
 8492|  43.9k|    break;
 8493|       |
 8494|    108|  case 286: /* type_specifier_nonarray: F32VEC2  */
  ------------------
  |  Branch (8494:3): [True: 108, False: 11.0M]
  ------------------
 8495|    108|#line 2139 "MachineIndependent/glslang.y"
 8496|    108|              {
 8497|    108|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    108|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    108|#define parseContext (*pParseContext)
  ------------------
 8498|    108|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    108|#define parseContext (*pParseContext)
  ------------------
 8499|    108|        (yyval.interm.type).basicType = EbtFloat;
 8500|    108|        (yyval.interm.type).setVector(2);
 8501|    108|    }
 8502|    108|#line 8503 "MachineIndependent/glslang_tab.cpp"
 8503|    108|    break;
 8504|       |
 8505|    108|  case 287: /* type_specifier_nonarray: F32VEC3  */
  ------------------
  |  Branch (8505:3): [True: 108, False: 11.0M]
  ------------------
 8506|    108|#line 2145 "MachineIndependent/glslang.y"
 8507|    108|              {
 8508|    108|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    108|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    108|#define parseContext (*pParseContext)
  ------------------
 8509|    108|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    108|#define parseContext (*pParseContext)
  ------------------
 8510|    108|        (yyval.interm.type).basicType = EbtFloat;
 8511|    108|        (yyval.interm.type).setVector(3);
 8512|    108|    }
 8513|    108|#line 8514 "MachineIndependent/glslang_tab.cpp"
 8514|    108|    break;
 8515|       |
 8516|    108|  case 288: /* type_specifier_nonarray: F32VEC4  */
  ------------------
  |  Branch (8516:3): [True: 108, False: 11.0M]
  ------------------
 8517|    108|#line 2151 "MachineIndependent/glslang.y"
 8518|    108|              {
 8519|    108|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    108|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    108|#define parseContext (*pParseContext)
  ------------------
 8520|    108|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    108|#define parseContext (*pParseContext)
  ------------------
 8521|    108|        (yyval.interm.type).basicType = EbtFloat;
 8522|    108|        (yyval.interm.type).setVector(4);
 8523|    108|    }
 8524|    108|#line 8525 "MachineIndependent/glslang_tab.cpp"
 8525|    108|    break;
 8526|       |
 8527|  2.43k|  case 289: /* type_specifier_nonarray: F64VEC2  */
  ------------------
  |  Branch (8527:3): [True: 2.43k, False: 11.0M]
  ------------------
 8528|  2.43k|#line 2157 "MachineIndependent/glslang.y"
 8529|  2.43k|              {
 8530|  2.43k|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  2.43k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  2.43k|#define parseContext (*pParseContext)
  ------------------
 8531|  2.43k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  2.43k|#define parseContext (*pParseContext)
  ------------------
 8532|  2.43k|        (yyval.interm.type).basicType = EbtDouble;
 8533|  2.43k|        (yyval.interm.type).setVector(2);
 8534|  2.43k|    }
 8535|  2.43k|#line 8536 "MachineIndependent/glslang_tab.cpp"
 8536|  2.43k|    break;
 8537|       |
 8538|  2.32k|  case 290: /* type_specifier_nonarray: F64VEC3  */
  ------------------
  |  Branch (8538:3): [True: 2.32k, False: 11.0M]
  ------------------
 8539|  2.32k|#line 2163 "MachineIndependent/glslang.y"
 8540|  2.32k|              {
 8541|  2.32k|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  2.32k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  2.32k|#define parseContext (*pParseContext)
  ------------------
 8542|  2.32k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  2.32k|#define parseContext (*pParseContext)
  ------------------
 8543|  2.32k|        (yyval.interm.type).basicType = EbtDouble;
 8544|  2.32k|        (yyval.interm.type).setVector(3);
 8545|  2.32k|    }
 8546|  2.32k|#line 8547 "MachineIndependent/glslang_tab.cpp"
 8547|  2.32k|    break;
 8548|       |
 8549|  2.32k|  case 291: /* type_specifier_nonarray: F64VEC4  */
  ------------------
  |  Branch (8549:3): [True: 2.32k, False: 11.0M]
  ------------------
 8550|  2.32k|#line 2169 "MachineIndependent/glslang.y"
 8551|  2.32k|              {
 8552|  2.32k|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  2.32k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  2.32k|#define parseContext (*pParseContext)
  ------------------
 8553|  2.32k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  2.32k|#define parseContext (*pParseContext)
  ------------------
 8554|  2.32k|        (yyval.interm.type).basicType = EbtDouble;
 8555|  2.32k|        (yyval.interm.type).setVector(4);
 8556|  2.32k|    }
 8557|  2.32k|#line 8558 "MachineIndependent/glslang_tab.cpp"
 8558|  2.32k|    break;
 8559|       |
 8560|  5.40k|  case 292: /* type_specifier_nonarray: I8VEC2  */
  ------------------
  |  Branch (8560:3): [True: 5.40k, False: 11.0M]
  ------------------
 8561|  5.40k|#line 2175 "MachineIndependent/glslang.y"
 8562|  5.40k|             {
 8563|  5.40k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  5.40k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  5.40k|#define parseContext (*pParseContext)
  ------------------
 8564|  5.40k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  5.40k|#define parseContext (*pParseContext)
  ------------------
 8565|  5.40k|        (yyval.interm.type).basicType = EbtInt8;
 8566|  5.40k|        (yyval.interm.type).setVector(2);
 8567|  5.40k|    }
 8568|  5.40k|#line 8569 "MachineIndependent/glslang_tab.cpp"
 8569|  5.40k|    break;
 8570|       |
 8571|  5.23k|  case 293: /* type_specifier_nonarray: I8VEC3  */
  ------------------
  |  Branch (8571:3): [True: 5.23k, False: 11.0M]
  ------------------
 8572|  5.23k|#line 2181 "MachineIndependent/glslang.y"
 8573|  5.23k|             {
 8574|  5.23k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  5.23k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  5.23k|#define parseContext (*pParseContext)
  ------------------
 8575|  5.23k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  5.23k|#define parseContext (*pParseContext)
  ------------------
 8576|  5.23k|        (yyval.interm.type).basicType = EbtInt8;
 8577|  5.23k|        (yyval.interm.type).setVector(3);
 8578|  5.23k|    }
 8579|  5.23k|#line 8580 "MachineIndependent/glslang_tab.cpp"
 8580|  5.23k|    break;
 8581|       |
 8582|  5.40k|  case 294: /* type_specifier_nonarray: I8VEC4  */
  ------------------
  |  Branch (8582:3): [True: 5.40k, False: 11.0M]
  ------------------
 8583|  5.40k|#line 2187 "MachineIndependent/glslang.y"
 8584|  5.40k|             {
 8585|  5.40k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  5.40k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  5.40k|#define parseContext (*pParseContext)
  ------------------
 8586|  5.40k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  5.40k|#define parseContext (*pParseContext)
  ------------------
 8587|  5.40k|        (yyval.interm.type).basicType = EbtInt8;
 8588|  5.40k|        (yyval.interm.type).setVector(4);
 8589|  5.40k|    }
 8590|  5.40k|#line 8591 "MachineIndependent/glslang_tab.cpp"
 8591|  5.40k|    break;
 8592|       |
 8593|  7.23k|  case 295: /* type_specifier_nonarray: I16VEC2  */
  ------------------
  |  Branch (8593:3): [True: 7.23k, False: 11.0M]
  ------------------
 8594|  7.23k|#line 2193 "MachineIndependent/glslang.y"
 8595|  7.23k|              {
 8596|  7.23k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  7.23k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  7.23k|#define parseContext (*pParseContext)
  ------------------
 8597|  7.23k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  7.23k|#define parseContext (*pParseContext)
  ------------------
 8598|  7.23k|        (yyval.interm.type).basicType = EbtInt16;
 8599|  7.23k|        (yyval.interm.type).setVector(2);
 8600|  7.23k|    }
 8601|  7.23k|#line 8602 "MachineIndependent/glslang_tab.cpp"
 8602|  7.23k|    break;
 8603|       |
 8604|  7.02k|  case 296: /* type_specifier_nonarray: I16VEC3  */
  ------------------
  |  Branch (8604:3): [True: 7.02k, False: 11.0M]
  ------------------
 8605|  7.02k|#line 2199 "MachineIndependent/glslang.y"
 8606|  7.02k|              {
 8607|  7.02k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  7.02k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  7.02k|#define parseContext (*pParseContext)
  ------------------
 8608|  7.02k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  7.02k|#define parseContext (*pParseContext)
  ------------------
 8609|  7.02k|        (yyval.interm.type).basicType = EbtInt16;
 8610|  7.02k|        (yyval.interm.type).setVector(3);
 8611|  7.02k|    }
 8612|  7.02k|#line 8613 "MachineIndependent/glslang_tab.cpp"
 8613|  7.02k|    break;
 8614|       |
 8615|  7.23k|  case 297: /* type_specifier_nonarray: I16VEC4  */
  ------------------
  |  Branch (8615:3): [True: 7.23k, False: 11.0M]
  ------------------
 8616|  7.23k|#line 2205 "MachineIndependent/glslang.y"
 8617|  7.23k|              {
 8618|  7.23k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  7.23k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  7.23k|#define parseContext (*pParseContext)
  ------------------
 8619|  7.23k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  7.23k|#define parseContext (*pParseContext)
  ------------------
 8620|  7.23k|        (yyval.interm.type).basicType = EbtInt16;
 8621|  7.23k|        (yyval.interm.type).setVector(4);
 8622|  7.23k|    }
 8623|  7.23k|#line 8624 "MachineIndependent/glslang_tab.cpp"
 8624|  7.23k|    break;
 8625|       |
 8626|    162|  case 298: /* type_specifier_nonarray: I32VEC2  */
  ------------------
  |  Branch (8626:3): [True: 162, False: 11.0M]
  ------------------
 8627|    162|#line 2211 "MachineIndependent/glslang.y"
 8628|    162|              {
 8629|    162|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
 8630|    162|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
 8631|    162|        (yyval.interm.type).basicType = EbtInt;
 8632|    162|        (yyval.interm.type).setVector(2);
 8633|    162|    }
 8634|    162|#line 8635 "MachineIndependent/glslang_tab.cpp"
 8635|    162|    break;
 8636|       |
 8637|    108|  case 299: /* type_specifier_nonarray: I32VEC3  */
  ------------------
  |  Branch (8637:3): [True: 108, False: 11.0M]
  ------------------
 8638|    108|#line 2217 "MachineIndependent/glslang.y"
 8639|    108|              {
 8640|    108|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    108|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    108|#define parseContext (*pParseContext)
  ------------------
 8641|    108|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    108|#define parseContext (*pParseContext)
  ------------------
 8642|    108|        (yyval.interm.type).basicType = EbtInt;
 8643|    108|        (yyval.interm.type).setVector(3);
 8644|    108|    }
 8645|    108|#line 8646 "MachineIndependent/glslang_tab.cpp"
 8646|    108|    break;
 8647|       |
 8648|    108|  case 300: /* type_specifier_nonarray: I32VEC4  */
  ------------------
  |  Branch (8648:3): [True: 108, False: 11.0M]
  ------------------
 8649|    108|#line 2223 "MachineIndependent/glslang.y"
 8650|    108|              {
 8651|    108|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    108|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    108|#define parseContext (*pParseContext)
  ------------------
 8652|    108|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    108|#define parseContext (*pParseContext)
  ------------------
 8653|    108|        (yyval.interm.type).basicType = EbtInt;
 8654|    108|        (yyval.interm.type).setVector(4);
 8655|    108|    }
 8656|    108|#line 8657 "MachineIndependent/glslang_tab.cpp"
 8657|    108|    break;
 8658|       |
 8659|  6.45k|  case 301: /* type_specifier_nonarray: I64VEC2  */
  ------------------
  |  Branch (8659:3): [True: 6.45k, False: 11.0M]
  ------------------
 8660|  6.45k|#line 2229 "MachineIndependent/glslang.y"
 8661|  6.45k|              {
 8662|  6.45k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  6.45k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  6.45k|#define parseContext (*pParseContext)
  ------------------
 8663|  6.45k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  6.45k|#define parseContext (*pParseContext)
  ------------------
 8664|  6.45k|        (yyval.interm.type).basicType = EbtInt64;
 8665|  6.45k|        (yyval.interm.type).setVector(2);
 8666|  6.45k|    }
 8667|  6.45k|#line 8668 "MachineIndependent/glslang_tab.cpp"
 8668|  6.45k|    break;
 8669|       |
 8670|  6.34k|  case 302: /* type_specifier_nonarray: I64VEC3  */
  ------------------
  |  Branch (8670:3): [True: 6.34k, False: 11.0M]
  ------------------
 8671|  6.34k|#line 2235 "MachineIndependent/glslang.y"
 8672|  6.34k|              {
 8673|  6.34k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  6.34k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  6.34k|#define parseContext (*pParseContext)
  ------------------
 8674|  6.34k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  6.34k|#define parseContext (*pParseContext)
  ------------------
 8675|  6.34k|        (yyval.interm.type).basicType = EbtInt64;
 8676|  6.34k|        (yyval.interm.type).setVector(3);
 8677|  6.34k|    }
 8678|  6.34k|#line 8679 "MachineIndependent/glslang_tab.cpp"
 8679|  6.34k|    break;
 8680|       |
 8681|  7.77k|  case 303: /* type_specifier_nonarray: I64VEC4  */
  ------------------
  |  Branch (8681:3): [True: 7.77k, False: 11.0M]
  ------------------
 8682|  7.77k|#line 2241 "MachineIndependent/glslang.y"
 8683|  7.77k|              {
 8684|  7.77k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  7.77k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  7.77k|#define parseContext (*pParseContext)
  ------------------
 8685|  7.77k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  7.77k|#define parseContext (*pParseContext)
  ------------------
 8686|  7.77k|        (yyval.interm.type).basicType = EbtInt64;
 8687|  7.77k|        (yyval.interm.type).setVector(4);
 8688|  7.77k|    }
 8689|  7.77k|#line 8690 "MachineIndependent/glslang_tab.cpp"
 8690|  7.77k|    break;
 8691|       |
 8692|  5.13k|  case 304: /* type_specifier_nonarray: U8VEC2  */
  ------------------
  |  Branch (8692:3): [True: 5.13k, False: 11.0M]
  ------------------
 8693|  5.13k|#line 2247 "MachineIndependent/glslang.y"
 8694|  5.13k|             {
 8695|  5.13k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  5.13k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  5.13k|#define parseContext (*pParseContext)
  ------------------
 8696|  5.13k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  5.13k|#define parseContext (*pParseContext)
  ------------------
 8697|  5.13k|        (yyval.interm.type).basicType = EbtUint8;
 8698|  5.13k|        (yyval.interm.type).setVector(2);
 8699|  5.13k|    }
 8700|  5.13k|#line 8701 "MachineIndependent/glslang_tab.cpp"
 8701|  5.13k|    break;
 8702|       |
 8703|  4.96k|  case 305: /* type_specifier_nonarray: U8VEC3  */
  ------------------
  |  Branch (8703:3): [True: 4.96k, False: 11.0M]
  ------------------
 8704|  4.96k|#line 2253 "MachineIndependent/glslang.y"
 8705|  4.96k|             {
 8706|  4.96k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  4.96k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  4.96k|#define parseContext (*pParseContext)
  ------------------
 8707|  4.96k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  4.96k|#define parseContext (*pParseContext)
  ------------------
 8708|  4.96k|        (yyval.interm.type).basicType = EbtUint8;
 8709|  4.96k|        (yyval.interm.type).setVector(3);
 8710|  4.96k|    }
 8711|  4.96k|#line 8712 "MachineIndependent/glslang_tab.cpp"
 8712|  4.96k|    break;
 8713|       |
 8714|  5.13k|  case 306: /* type_specifier_nonarray: U8VEC4  */
  ------------------
  |  Branch (8714:3): [True: 5.13k, False: 11.0M]
  ------------------
 8715|  5.13k|#line 2259 "MachineIndependent/glslang.y"
 8716|  5.13k|             {
 8717|  5.13k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  5.13k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  5.13k|#define parseContext (*pParseContext)
  ------------------
 8718|  5.13k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  5.13k|#define parseContext (*pParseContext)
  ------------------
 8719|  5.13k|        (yyval.interm.type).basicType = EbtUint8;
 8720|  5.13k|        (yyval.interm.type).setVector(4);
 8721|  5.13k|    }
 8722|  5.13k|#line 8723 "MachineIndependent/glslang_tab.cpp"
 8723|  5.13k|    break;
 8724|       |
 8725|  6.96k|  case 307: /* type_specifier_nonarray: U16VEC2  */
  ------------------
  |  Branch (8725:3): [True: 6.96k, False: 11.0M]
  ------------------
 8726|  6.96k|#line 2265 "MachineIndependent/glslang.y"
 8727|  6.96k|              {
 8728|  6.96k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  6.96k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  6.96k|#define parseContext (*pParseContext)
  ------------------
 8729|  6.96k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  6.96k|#define parseContext (*pParseContext)
  ------------------
 8730|  6.96k|        (yyval.interm.type).basicType = EbtUint16;
 8731|  6.96k|        (yyval.interm.type).setVector(2);
 8732|  6.96k|    }
 8733|  6.96k|#line 8734 "MachineIndependent/glslang_tab.cpp"
 8734|  6.96k|    break;
 8735|       |
 8736|  6.75k|  case 308: /* type_specifier_nonarray: U16VEC3  */
  ------------------
  |  Branch (8736:3): [True: 6.75k, False: 11.0M]
  ------------------
 8737|  6.75k|#line 2271 "MachineIndependent/glslang.y"
 8738|  6.75k|              {
 8739|  6.75k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  6.75k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  6.75k|#define parseContext (*pParseContext)
  ------------------
 8740|  6.75k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  6.75k|#define parseContext (*pParseContext)
  ------------------
 8741|  6.75k|        (yyval.interm.type).basicType = EbtUint16;
 8742|  6.75k|        (yyval.interm.type).setVector(3);
 8743|  6.75k|    }
 8744|  6.75k|#line 8745 "MachineIndependent/glslang_tab.cpp"
 8745|  6.75k|    break;
 8746|       |
 8747|  6.96k|  case 309: /* type_specifier_nonarray: U16VEC4  */
  ------------------
  |  Branch (8747:3): [True: 6.96k, False: 11.0M]
  ------------------
 8748|  6.96k|#line 2277 "MachineIndependent/glslang.y"
 8749|  6.96k|              {
 8750|  6.96k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  6.96k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  6.96k|#define parseContext (*pParseContext)
  ------------------
 8751|  6.96k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  6.96k|#define parseContext (*pParseContext)
  ------------------
 8752|  6.96k|        (yyval.interm.type).basicType = EbtUint16;
 8753|  6.96k|        (yyval.interm.type).setVector(4);
 8754|  6.96k|    }
 8755|  6.96k|#line 8756 "MachineIndependent/glslang_tab.cpp"
 8756|  6.96k|    break;
 8757|       |
 8758|    162|  case 310: /* type_specifier_nonarray: U32VEC2  */
  ------------------
  |  Branch (8758:3): [True: 162, False: 11.0M]
  ------------------
 8759|    162|#line 2283 "MachineIndependent/glslang.y"
 8760|    162|              {
 8761|    162|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
 8762|    162|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
 8763|    162|        (yyval.interm.type).basicType = EbtUint;
 8764|    162|        (yyval.interm.type).setVector(2);
 8765|    162|    }
 8766|    162|#line 8767 "MachineIndependent/glslang_tab.cpp"
 8767|    162|    break;
 8768|       |
 8769|    108|  case 311: /* type_specifier_nonarray: U32VEC3  */
  ------------------
  |  Branch (8769:3): [True: 108, False: 11.0M]
  ------------------
 8770|    108|#line 2289 "MachineIndependent/glslang.y"
 8771|    108|              {
 8772|    108|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    108|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    108|#define parseContext (*pParseContext)
  ------------------
 8773|    108|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    108|#define parseContext (*pParseContext)
  ------------------
 8774|    108|        (yyval.interm.type).basicType = EbtUint;
 8775|    108|        (yyval.interm.type).setVector(3);
 8776|    108|    }
 8777|    108|#line 8778 "MachineIndependent/glslang_tab.cpp"
 8778|    108|    break;
 8779|       |
 8780|    108|  case 312: /* type_specifier_nonarray: U32VEC4  */
  ------------------
  |  Branch (8780:3): [True: 108, False: 11.0M]
  ------------------
 8781|    108|#line 2295 "MachineIndependent/glslang.y"
 8782|    108|              {
 8783|    108|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    108|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    108|#define parseContext (*pParseContext)
  ------------------
 8784|    108|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    108|#define parseContext (*pParseContext)
  ------------------
 8785|    108|        (yyval.interm.type).basicType = EbtUint;
 8786|    108|        (yyval.interm.type).setVector(4);
 8787|    108|    }
 8788|    108|#line 8789 "MachineIndependent/glslang_tab.cpp"
 8789|    108|    break;
 8790|       |
 8791|  6.23k|  case 313: /* type_specifier_nonarray: U64VEC2  */
  ------------------
  |  Branch (8791:3): [True: 6.23k, False: 11.0M]
  ------------------
 8792|  6.23k|#line 2301 "MachineIndependent/glslang.y"
 8793|  6.23k|              {
 8794|  6.23k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  6.23k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  6.23k|#define parseContext (*pParseContext)
  ------------------
 8795|  6.23k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  6.23k|#define parseContext (*pParseContext)
  ------------------
 8796|  6.23k|        (yyval.interm.type).basicType = EbtUint64;
 8797|  6.23k|        (yyval.interm.type).setVector(2);
 8798|  6.23k|    }
 8799|  6.23k|#line 8800 "MachineIndependent/glslang_tab.cpp"
 8800|  6.23k|    break;
 8801|       |
 8802|  6.12k|  case 314: /* type_specifier_nonarray: U64VEC3  */
  ------------------
  |  Branch (8802:3): [True: 6.12k, False: 11.0M]
  ------------------
 8803|  6.12k|#line 2307 "MachineIndependent/glslang.y"
 8804|  6.12k|              {
 8805|  6.12k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  6.12k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  6.12k|#define parseContext (*pParseContext)
  ------------------
 8806|  6.12k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  6.12k|#define parseContext (*pParseContext)
  ------------------
 8807|  6.12k|        (yyval.interm.type).basicType = EbtUint64;
 8808|  6.12k|        (yyval.interm.type).setVector(3);
 8809|  6.12k|    }
 8810|  6.12k|#line 8811 "MachineIndependent/glslang_tab.cpp"
 8811|  6.12k|    break;
 8812|       |
 8813|  7.56k|  case 315: /* type_specifier_nonarray: U64VEC4  */
  ------------------
  |  Branch (8813:3): [True: 7.56k, False: 11.0M]
  ------------------
 8814|  7.56k|#line 2313 "MachineIndependent/glslang.y"
 8815|  7.56k|              {
 8816|  7.56k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  7.56k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  7.56k|#define parseContext (*pParseContext)
  ------------------
 8817|  7.56k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  7.56k|#define parseContext (*pParseContext)
  ------------------
 8818|  7.56k|        (yyval.interm.type).basicType = EbtUint64;
 8819|  7.56k|        (yyval.interm.type).setVector(4);
 8820|  7.56k|    }
 8821|  7.56k|#line 8822 "MachineIndependent/glslang_tab.cpp"
 8822|  7.56k|    break;
 8823|       |
 8824|    581|  case 316: /* type_specifier_nonarray: DMAT2  */
  ------------------
  |  Branch (8824:3): [True: 581, False: 11.0M]
  ------------------
 8825|    581|#line 2319 "MachineIndependent/glslang.y"
 8826|    581|            {
 8827|    581|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|    581|#define parseContext (*pParseContext)
  ------------------
 8828|    581|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|    581|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8828:13): [True: 329, False: 252]
  ------------------
 8829|    329|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|    329|#define parseContext (*pParseContext)
  ------------------
 8830|    581|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    581|#define parseContext (*pParseContext)
  ------------------
 8831|    581|        (yyval.interm.type).basicType = EbtDouble;
 8832|    581|        (yyval.interm.type).setMatrix(2, 2);
 8833|    581|    }
 8834|    581|#line 8835 "MachineIndependent/glslang_tab.cpp"
 8835|    581|    break;
 8836|       |
 8837|    291|  case 317: /* type_specifier_nonarray: DMAT3  */
  ------------------
  |  Branch (8837:3): [True: 291, False: 11.0M]
  ------------------
 8838|    291|#line 2327 "MachineIndependent/glslang.y"
 8839|    291|            {
 8840|    291|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|    291|#define parseContext (*pParseContext)
  ------------------
 8841|    291|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|    291|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8841:13): [True: 39, False: 252]
  ------------------
 8842|     39|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|     39|#define parseContext (*pParseContext)
  ------------------
 8843|    291|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    291|#define parseContext (*pParseContext)
  ------------------
 8844|    291|        (yyval.interm.type).basicType = EbtDouble;
 8845|    291|        (yyval.interm.type).setMatrix(3, 3);
 8846|    291|    }
 8847|    291|#line 8848 "MachineIndependent/glslang_tab.cpp"
 8848|    291|    break;
 8849|       |
 8850|    252|  case 318: /* type_specifier_nonarray: DMAT4  */
  ------------------
  |  Branch (8850:3): [True: 252, False: 11.0M]
  ------------------
 8851|    252|#line 2335 "MachineIndependent/glslang.y"
 8852|    252|            {
 8853|    252|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|    252|#define parseContext (*pParseContext)
  ------------------
 8854|    252|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|    252|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8854:13): [True: 0, False: 252]
  ------------------
 8855|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8856|    252|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    252|#define parseContext (*pParseContext)
  ------------------
 8857|    252|        (yyval.interm.type).basicType = EbtDouble;
 8858|    252|        (yyval.interm.type).setMatrix(4, 4);
 8859|    252|    }
 8860|    252|#line 8861 "MachineIndependent/glslang_tab.cpp"
 8861|    252|    break;
 8862|       |
 8863|      0|  case 319: /* type_specifier_nonarray: DMAT2X2  */
  ------------------
  |  Branch (8863:3): [True: 0, False: 11.0M]
  ------------------
 8864|      0|#line 2343 "MachineIndependent/glslang.y"
 8865|      0|              {
 8866|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8867|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8867:13): [True: 0, False: 0]
  ------------------
 8868|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8869|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8870|      0|        (yyval.interm.type).basicType = EbtDouble;
 8871|      0|        (yyval.interm.type).setMatrix(2, 2);
 8872|      0|    }
 8873|      0|#line 8874 "MachineIndependent/glslang_tab.cpp"
 8874|      0|    break;
 8875|       |
 8876|    251|  case 320: /* type_specifier_nonarray: DMAT2X3  */
  ------------------
  |  Branch (8876:3): [True: 251, False: 11.0M]
  ------------------
 8877|    251|#line 2351 "MachineIndependent/glslang.y"
 8878|    251|              {
 8879|    251|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|    251|#define parseContext (*pParseContext)
  ------------------
 8880|    251|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|    251|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8880:13): [True: 83, False: 168]
  ------------------
 8881|     83|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|     83|#define parseContext (*pParseContext)
  ------------------
 8882|    251|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    251|#define parseContext (*pParseContext)
  ------------------
 8883|    251|        (yyval.interm.type).basicType = EbtDouble;
 8884|    251|        (yyval.interm.type).setMatrix(2, 3);
 8885|    251|    }
 8886|    251|#line 8887 "MachineIndependent/glslang_tab.cpp"
 8887|    251|    break;
 8888|       |
 8889|    168|  case 321: /* type_specifier_nonarray: DMAT2X4  */
  ------------------
  |  Branch (8889:3): [True: 168, False: 11.0M]
  ------------------
 8890|    168|#line 2359 "MachineIndependent/glslang.y"
 8891|    168|              {
 8892|    168|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|    168|#define parseContext (*pParseContext)
  ------------------
 8893|    168|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|    168|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8893:13): [True: 0, False: 168]
  ------------------
 8894|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8895|    168|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    168|#define parseContext (*pParseContext)
  ------------------
 8896|    168|        (yyval.interm.type).basicType = EbtDouble;
 8897|    168|        (yyval.interm.type).setMatrix(2, 4);
 8898|    168|    }
 8899|    168|#line 8900 "MachineIndependent/glslang_tab.cpp"
 8900|    168|    break;
 8901|       |
 8902|    168|  case 322: /* type_specifier_nonarray: DMAT3X2  */
  ------------------
  |  Branch (8902:3): [True: 168, False: 11.0M]
  ------------------
 8903|    168|#line 2367 "MachineIndependent/glslang.y"
 8904|    168|              {
 8905|    168|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|    168|#define parseContext (*pParseContext)
  ------------------
 8906|    168|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|    168|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8906:13): [True: 0, False: 168]
  ------------------
 8907|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8908|    168|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    168|#define parseContext (*pParseContext)
  ------------------
 8909|    168|        (yyval.interm.type).basicType = EbtDouble;
 8910|    168|        (yyval.interm.type).setMatrix(3, 2);
 8911|    168|    }
 8912|    168|#line 8913 "MachineIndependent/glslang_tab.cpp"
 8913|    168|    break;
 8914|       |
 8915|      0|  case 323: /* type_specifier_nonarray: DMAT3X3  */
  ------------------
  |  Branch (8915:3): [True: 0, False: 11.0M]
  ------------------
 8916|      0|#line 2375 "MachineIndependent/glslang.y"
 8917|      0|              {
 8918|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8919|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8919:13): [True: 0, False: 0]
  ------------------
 8920|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8921|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8922|      0|        (yyval.interm.type).basicType = EbtDouble;
 8923|      0|        (yyval.interm.type).setMatrix(3, 3);
 8924|      0|    }
 8925|      0|#line 8926 "MachineIndependent/glslang_tab.cpp"
 8926|      0|    break;
 8927|       |
 8928|    168|  case 324: /* type_specifier_nonarray: DMAT3X4  */
  ------------------
  |  Branch (8928:3): [True: 168, False: 11.0M]
  ------------------
 8929|    168|#line 2383 "MachineIndependent/glslang.y"
 8930|    168|              {
 8931|    168|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|    168|#define parseContext (*pParseContext)
  ------------------
 8932|    168|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|    168|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8932:13): [True: 0, False: 168]
  ------------------
 8933|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8934|    168|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    168|#define parseContext (*pParseContext)
  ------------------
 8935|    168|        (yyval.interm.type).basicType = EbtDouble;
 8936|    168|        (yyval.interm.type).setMatrix(3, 4);
 8937|    168|    }
 8938|    168|#line 8939 "MachineIndependent/glslang_tab.cpp"
 8939|    168|    break;
 8940|       |
 8941|    168|  case 325: /* type_specifier_nonarray: DMAT4X2  */
  ------------------
  |  Branch (8941:3): [True: 168, False: 11.0M]
  ------------------
 8942|    168|#line 2391 "MachineIndependent/glslang.y"
 8943|    168|              {
 8944|    168|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|    168|#define parseContext (*pParseContext)
  ------------------
 8945|    168|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|    168|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8945:13): [True: 0, False: 168]
  ------------------
 8946|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8947|    168|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    168|#define parseContext (*pParseContext)
  ------------------
 8948|    168|        (yyval.interm.type).basicType = EbtDouble;
 8949|    168|        (yyval.interm.type).setMatrix(4, 2);
 8950|    168|    }
 8951|    168|#line 8952 "MachineIndependent/glslang_tab.cpp"
 8952|    168|    break;
 8953|       |
 8954|    290|  case 326: /* type_specifier_nonarray: DMAT4X3  */
  ------------------
  |  Branch (8954:3): [True: 290, False: 11.0M]
  ------------------
 8955|    290|#line 2399 "MachineIndependent/glslang.y"
 8956|    290|              {
 8957|    290|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|    290|#define parseContext (*pParseContext)
  ------------------
 8958|    290|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|    290|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8958:13): [True: 122, False: 168]
  ------------------
 8959|    122|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|    122|#define parseContext (*pParseContext)
  ------------------
 8960|    290|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    290|#define parseContext (*pParseContext)
  ------------------
 8961|    290|        (yyval.interm.type).basicType = EbtDouble;
 8962|    290|        (yyval.interm.type).setMatrix(4, 3);
 8963|    290|    }
 8964|    290|#line 8965 "MachineIndependent/glslang_tab.cpp"
 8965|    290|    break;
 8966|       |
 8967|      0|  case 327: /* type_specifier_nonarray: DMAT4X4  */
  ------------------
  |  Branch (8967:3): [True: 0, False: 11.0M]
  ------------------
 8968|      0|#line 2407 "MachineIndependent/glslang.y"
 8969|      0|              {
 8970|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8971|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8971:13): [True: 0, False: 0]
  ------------------
 8972|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8973|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8974|      0|        (yyval.interm.type).basicType = EbtDouble;
 8975|      0|        (yyval.interm.type).setMatrix(4, 4);
 8976|      0|    }
 8977|      0|#line 8978 "MachineIndependent/glslang_tab.cpp"
 8978|      0|    break;
 8979|       |
 8980|    243|  case 328: /* type_specifier_nonarray: F16MAT2  */
  ------------------
  |  Branch (8980:3): [True: 243, False: 11.0M]
  ------------------
 8981|    243|#line 2415 "MachineIndependent/glslang.y"
 8982|    243|              {
 8983|    243|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    243|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    243|#define parseContext (*pParseContext)
  ------------------
 8984|    243|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    243|#define parseContext (*pParseContext)
  ------------------
 8985|    243|        (yyval.interm.type).basicType = EbtFloat16;
 8986|    243|        (yyval.interm.type).setMatrix(2, 2);
 8987|    243|    }
 8988|    243|#line 8989 "MachineIndependent/glslang_tab.cpp"
 8989|    243|    break;
 8990|       |
 8991|    243|  case 329: /* type_specifier_nonarray: F16MAT3  */
  ------------------
  |  Branch (8991:3): [True: 243, False: 11.0M]
  ------------------
 8992|    243|#line 2421 "MachineIndependent/glslang.y"
 8993|    243|              {
 8994|    243|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    243|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    243|#define parseContext (*pParseContext)
  ------------------
 8995|    243|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    243|#define parseContext (*pParseContext)
  ------------------
 8996|    243|        (yyval.interm.type).basicType = EbtFloat16;
 8997|    243|        (yyval.interm.type).setMatrix(3, 3);
 8998|    243|    }
 8999|    243|#line 9000 "MachineIndependent/glslang_tab.cpp"
 9000|    243|    break;
 9001|       |
 9002|    243|  case 330: /* type_specifier_nonarray: F16MAT4  */
  ------------------
  |  Branch (9002:3): [True: 243, False: 11.0M]
  ------------------
 9003|    243|#line 2427 "MachineIndependent/glslang.y"
 9004|    243|              {
 9005|    243|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    243|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    243|#define parseContext (*pParseContext)
  ------------------
 9006|    243|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    243|#define parseContext (*pParseContext)
  ------------------
 9007|    243|        (yyval.interm.type).basicType = EbtFloat16;
 9008|    243|        (yyval.interm.type).setMatrix(4, 4);
 9009|    243|    }
 9010|    243|#line 9011 "MachineIndependent/glslang_tab.cpp"
 9011|    243|    break;
 9012|       |
 9013|      0|  case 331: /* type_specifier_nonarray: F16MAT2X2  */
  ------------------
  |  Branch (9013:3): [True: 0, False: 11.0M]
  ------------------
 9014|      0|#line 2433 "MachineIndependent/glslang.y"
 9015|      0|                {
 9016|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9017|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9018|      0|        (yyval.interm.type).basicType = EbtFloat16;
 9019|      0|        (yyval.interm.type).setMatrix(2, 2);
 9020|      0|    }
 9021|      0|#line 9022 "MachineIndependent/glslang_tab.cpp"
 9022|      0|    break;
 9023|       |
 9024|    162|  case 332: /* type_specifier_nonarray: F16MAT2X3  */
  ------------------
  |  Branch (9024:3): [True: 162, False: 11.0M]
  ------------------
 9025|    162|#line 2439 "MachineIndependent/glslang.y"
 9026|    162|                {
 9027|    162|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
 9028|    162|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
 9029|    162|        (yyval.interm.type).basicType = EbtFloat16;
 9030|    162|        (yyval.interm.type).setMatrix(2, 3);
 9031|    162|    }
 9032|    162|#line 9033 "MachineIndependent/glslang_tab.cpp"
 9033|    162|    break;
 9034|       |
 9035|    162|  case 333: /* type_specifier_nonarray: F16MAT2X4  */
  ------------------
  |  Branch (9035:3): [True: 162, False: 11.0M]
  ------------------
 9036|    162|#line 2445 "MachineIndependent/glslang.y"
 9037|    162|                {
 9038|    162|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
 9039|    162|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
 9040|    162|        (yyval.interm.type).basicType = EbtFloat16;
 9041|    162|        (yyval.interm.type).setMatrix(2, 4);
 9042|    162|    }
 9043|    162|#line 9044 "MachineIndependent/glslang_tab.cpp"
 9044|    162|    break;
 9045|       |
 9046|    162|  case 334: /* type_specifier_nonarray: F16MAT3X2  */
  ------------------
  |  Branch (9046:3): [True: 162, False: 11.0M]
  ------------------
 9047|    162|#line 2451 "MachineIndependent/glslang.y"
 9048|    162|                {
 9049|    162|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
 9050|    162|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
 9051|    162|        (yyval.interm.type).basicType = EbtFloat16;
 9052|    162|        (yyval.interm.type).setMatrix(3, 2);
 9053|    162|    }
 9054|    162|#line 9055 "MachineIndependent/glslang_tab.cpp"
 9055|    162|    break;
 9056|       |
 9057|      0|  case 335: /* type_specifier_nonarray: F16MAT3X3  */
  ------------------
  |  Branch (9057:3): [True: 0, False: 11.0M]
  ------------------
 9058|      0|#line 2457 "MachineIndependent/glslang.y"
 9059|      0|                {
 9060|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9061|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9062|      0|        (yyval.interm.type).basicType = EbtFloat16;
 9063|      0|        (yyval.interm.type).setMatrix(3, 3);
 9064|      0|    }
 9065|      0|#line 9066 "MachineIndependent/glslang_tab.cpp"
 9066|      0|    break;
 9067|       |
 9068|    162|  case 336: /* type_specifier_nonarray: F16MAT3X4  */
  ------------------
  |  Branch (9068:3): [True: 162, False: 11.0M]
  ------------------
 9069|    162|#line 2463 "MachineIndependent/glslang.y"
 9070|    162|                {
 9071|    162|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
 9072|    162|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
 9073|    162|        (yyval.interm.type).basicType = EbtFloat16;
 9074|    162|        (yyval.interm.type).setMatrix(3, 4);
 9075|    162|    }
 9076|    162|#line 9077 "MachineIndependent/glslang_tab.cpp"
 9077|    162|    break;
 9078|       |
 9079|    162|  case 337: /* type_specifier_nonarray: F16MAT4X2  */
  ------------------
  |  Branch (9079:3): [True: 162, False: 11.0M]
  ------------------
 9080|    162|#line 2469 "MachineIndependent/glslang.y"
 9081|    162|                {
 9082|    162|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
 9083|    162|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
 9084|    162|        (yyval.interm.type).basicType = EbtFloat16;
 9085|    162|        (yyval.interm.type).setMatrix(4, 2);
 9086|    162|    }
 9087|    162|#line 9088 "MachineIndependent/glslang_tab.cpp"
 9088|    162|    break;
 9089|       |
 9090|    162|  case 338: /* type_specifier_nonarray: F16MAT4X3  */
  ------------------
  |  Branch (9090:3): [True: 162, False: 11.0M]
  ------------------
 9091|    162|#line 2475 "MachineIndependent/glslang.y"
 9092|    162|                {
 9093|    162|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
 9094|    162|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
 9095|    162|        (yyval.interm.type).basicType = EbtFloat16;
 9096|    162|        (yyval.interm.type).setMatrix(4, 3);
 9097|    162|    }
 9098|    162|#line 9099 "MachineIndependent/glslang_tab.cpp"
 9099|    162|    break;
 9100|       |
 9101|      0|  case 339: /* type_specifier_nonarray: F16MAT4X4  */
  ------------------
  |  Branch (9101:3): [True: 0, False: 11.0M]
  ------------------
 9102|      0|#line 2481 "MachineIndependent/glslang.y"
 9103|      0|                {
 9104|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9105|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9106|      0|        (yyval.interm.type).basicType = EbtFloat16;
 9107|      0|        (yyval.interm.type).setMatrix(4, 4);
 9108|      0|    }
 9109|      0|#line 9110 "MachineIndependent/glslang_tab.cpp"
 9110|      0|    break;
 9111|       |
 9112|      0|  case 340: /* type_specifier_nonarray: F32MAT2  */
  ------------------
  |  Branch (9112:3): [True: 0, False: 11.0M]
  ------------------
 9113|      0|#line 2487 "MachineIndependent/glslang.y"
 9114|      0|              {
 9115|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9116|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9117|      0|        (yyval.interm.type).basicType = EbtFloat;
 9118|      0|        (yyval.interm.type).setMatrix(2, 2);
 9119|      0|    }
 9120|      0|#line 9121 "MachineIndependent/glslang_tab.cpp"
 9121|      0|    break;
 9122|       |
 9123|      0|  case 341: /* type_specifier_nonarray: F32MAT3  */
  ------------------
  |  Branch (9123:3): [True: 0, False: 11.0M]
  ------------------
 9124|      0|#line 2493 "MachineIndependent/glslang.y"
 9125|      0|              {
 9126|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9127|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9128|      0|        (yyval.interm.type).basicType = EbtFloat;
 9129|      0|        (yyval.interm.type).setMatrix(3, 3);
 9130|      0|    }
 9131|      0|#line 9132 "MachineIndependent/glslang_tab.cpp"
 9132|      0|    break;
 9133|       |
 9134|      0|  case 342: /* type_specifier_nonarray: F32MAT4  */
  ------------------
  |  Branch (9134:3): [True: 0, False: 11.0M]
  ------------------
 9135|      0|#line 2499 "MachineIndependent/glslang.y"
 9136|      0|              {
 9137|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9138|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9139|      0|        (yyval.interm.type).basicType = EbtFloat;
 9140|      0|        (yyval.interm.type).setMatrix(4, 4);
 9141|      0|    }
 9142|      0|#line 9143 "MachineIndependent/glslang_tab.cpp"
 9143|      0|    break;
 9144|       |
 9145|      0|  case 343: /* type_specifier_nonarray: F32MAT2X2  */
  ------------------
  |  Branch (9145:3): [True: 0, False: 11.0M]
  ------------------
 9146|      0|#line 2505 "MachineIndependent/glslang.y"
 9147|      0|                {
 9148|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9149|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9150|      0|        (yyval.interm.type).basicType = EbtFloat;
 9151|      0|        (yyval.interm.type).setMatrix(2, 2);
 9152|      0|    }
 9153|      0|#line 9154 "MachineIndependent/glslang_tab.cpp"
 9154|      0|    break;
 9155|       |
 9156|      0|  case 344: /* type_specifier_nonarray: F32MAT2X3  */
  ------------------
  |  Branch (9156:3): [True: 0, False: 11.0M]
  ------------------
 9157|      0|#line 2511 "MachineIndependent/glslang.y"
 9158|      0|                {
 9159|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9160|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9161|      0|        (yyval.interm.type).basicType = EbtFloat;
 9162|      0|        (yyval.interm.type).setMatrix(2, 3);
 9163|      0|    }
 9164|      0|#line 9165 "MachineIndependent/glslang_tab.cpp"
 9165|      0|    break;
 9166|       |
 9167|      0|  case 345: /* type_specifier_nonarray: F32MAT2X4  */
  ------------------
  |  Branch (9167:3): [True: 0, False: 11.0M]
  ------------------
 9168|      0|#line 2517 "MachineIndependent/glslang.y"
 9169|      0|                {
 9170|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9171|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9172|      0|        (yyval.interm.type).basicType = EbtFloat;
 9173|      0|        (yyval.interm.type).setMatrix(2, 4);
 9174|      0|    }
 9175|      0|#line 9176 "MachineIndependent/glslang_tab.cpp"
 9176|      0|    break;
 9177|       |
 9178|      0|  case 346: /* type_specifier_nonarray: F32MAT3X2  */
  ------------------
  |  Branch (9178:3): [True: 0, False: 11.0M]
  ------------------
 9179|      0|#line 2523 "MachineIndependent/glslang.y"
 9180|      0|                {
 9181|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9182|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9183|      0|        (yyval.interm.type).basicType = EbtFloat;
 9184|      0|        (yyval.interm.type).setMatrix(3, 2);
 9185|      0|    }
 9186|      0|#line 9187 "MachineIndependent/glslang_tab.cpp"
 9187|      0|    break;
 9188|       |
 9189|      0|  case 347: /* type_specifier_nonarray: F32MAT3X3  */
  ------------------
  |  Branch (9189:3): [True: 0, False: 11.0M]
  ------------------
 9190|      0|#line 2529 "MachineIndependent/glslang.y"
 9191|      0|                {
 9192|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9193|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9194|      0|        (yyval.interm.type).basicType = EbtFloat;
 9195|      0|        (yyval.interm.type).setMatrix(3, 3);
 9196|      0|    }
 9197|      0|#line 9198 "MachineIndependent/glslang_tab.cpp"
 9198|      0|    break;
 9199|       |
 9200|      0|  case 348: /* type_specifier_nonarray: F32MAT3X4  */
  ------------------
  |  Branch (9200:3): [True: 0, False: 11.0M]
  ------------------
 9201|      0|#line 2535 "MachineIndependent/glslang.y"
 9202|      0|                {
 9203|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9204|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9205|      0|        (yyval.interm.type).basicType = EbtFloat;
 9206|      0|        (yyval.interm.type).setMatrix(3, 4);
 9207|      0|    }
 9208|      0|#line 9209 "MachineIndependent/glslang_tab.cpp"
 9209|      0|    break;
 9210|       |
 9211|      0|  case 349: /* type_specifier_nonarray: F32MAT4X2  */
  ------------------
  |  Branch (9211:3): [True: 0, False: 11.0M]
  ------------------
 9212|      0|#line 2541 "MachineIndependent/glslang.y"
 9213|      0|                {
 9214|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9215|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9216|      0|        (yyval.interm.type).basicType = EbtFloat;
 9217|      0|        (yyval.interm.type).setMatrix(4, 2);
 9218|      0|    }
 9219|      0|#line 9220 "MachineIndependent/glslang_tab.cpp"
 9220|      0|    break;
 9221|       |
 9222|      0|  case 350: /* type_specifier_nonarray: F32MAT4X3  */
  ------------------
  |  Branch (9222:3): [True: 0, False: 11.0M]
  ------------------
 9223|      0|#line 2547 "MachineIndependent/glslang.y"
 9224|      0|                {
 9225|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9226|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9227|      0|        (yyval.interm.type).basicType = EbtFloat;
 9228|      0|        (yyval.interm.type).setMatrix(4, 3);
 9229|      0|    }
 9230|      0|#line 9231 "MachineIndependent/glslang_tab.cpp"
 9231|      0|    break;
 9232|       |
 9233|      0|  case 351: /* type_specifier_nonarray: F32MAT4X4  */
  ------------------
  |  Branch (9233:3): [True: 0, False: 11.0M]
  ------------------
 9234|      0|#line 2553 "MachineIndependent/glslang.y"
 9235|      0|                {
 9236|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9237|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9238|      0|        (yyval.interm.type).basicType = EbtFloat;
 9239|      0|        (yyval.interm.type).setMatrix(4, 4);
 9240|      0|    }
 9241|      0|#line 9242 "MachineIndependent/glslang_tab.cpp"
 9242|      0|    break;
 9243|       |
 9244|      0|  case 352: /* type_specifier_nonarray: F64MAT2  */
  ------------------
  |  Branch (9244:3): [True: 0, False: 11.0M]
  ------------------
 9245|      0|#line 2559 "MachineIndependent/glslang.y"
 9246|      0|              {
 9247|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9248|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9249|      0|        (yyval.interm.type).basicType = EbtDouble;
 9250|      0|        (yyval.interm.type).setMatrix(2, 2);
 9251|      0|    }
 9252|      0|#line 9253 "MachineIndependent/glslang_tab.cpp"
 9253|      0|    break;
 9254|       |
 9255|      0|  case 353: /* type_specifier_nonarray: F64MAT3  */
  ------------------
  |  Branch (9255:3): [True: 0, False: 11.0M]
  ------------------
 9256|      0|#line 2565 "MachineIndependent/glslang.y"
 9257|      0|              {
 9258|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9259|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9260|      0|        (yyval.interm.type).basicType = EbtDouble;
 9261|      0|        (yyval.interm.type).setMatrix(3, 3);
 9262|      0|    }
 9263|      0|#line 9264 "MachineIndependent/glslang_tab.cpp"
 9264|      0|    break;
 9265|       |
 9266|      0|  case 354: /* type_specifier_nonarray: F64MAT4  */
  ------------------
  |  Branch (9266:3): [True: 0, False: 11.0M]
  ------------------
 9267|      0|#line 2571 "MachineIndependent/glslang.y"
 9268|      0|              {
 9269|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9270|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9271|      0|        (yyval.interm.type).basicType = EbtDouble;
 9272|      0|        (yyval.interm.type).setMatrix(4, 4);
 9273|      0|    }
 9274|      0|#line 9275 "MachineIndependent/glslang_tab.cpp"
 9275|      0|    break;
 9276|       |
 9277|      0|  case 355: /* type_specifier_nonarray: F64MAT2X2  */
  ------------------
  |  Branch (9277:3): [True: 0, False: 11.0M]
  ------------------
 9278|      0|#line 2577 "MachineIndependent/glslang.y"
 9279|      0|                {
 9280|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9281|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9282|      0|        (yyval.interm.type).basicType = EbtDouble;
 9283|      0|        (yyval.interm.type).setMatrix(2, 2);
 9284|      0|    }
 9285|      0|#line 9286 "MachineIndependent/glslang_tab.cpp"
 9286|      0|    break;
 9287|       |
 9288|      0|  case 356: /* type_specifier_nonarray: F64MAT2X3  */
  ------------------
  |  Branch (9288:3): [True: 0, False: 11.0M]
  ------------------
 9289|      0|#line 2583 "MachineIndependent/glslang.y"
 9290|      0|                {
 9291|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9292|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9293|      0|        (yyval.interm.type).basicType = EbtDouble;
 9294|      0|        (yyval.interm.type).setMatrix(2, 3);
 9295|      0|    }
 9296|      0|#line 9297 "MachineIndependent/glslang_tab.cpp"
 9297|      0|    break;
 9298|       |
 9299|      0|  case 357: /* type_specifier_nonarray: F64MAT2X4  */
  ------------------
  |  Branch (9299:3): [True: 0, False: 11.0M]
  ------------------
 9300|      0|#line 2589 "MachineIndependent/glslang.y"
 9301|      0|                {
 9302|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9303|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9304|      0|        (yyval.interm.type).basicType = EbtDouble;
 9305|      0|        (yyval.interm.type).setMatrix(2, 4);
 9306|      0|    }
 9307|      0|#line 9308 "MachineIndependent/glslang_tab.cpp"
 9308|      0|    break;
 9309|       |
 9310|      0|  case 358: /* type_specifier_nonarray: F64MAT3X2  */
  ------------------
  |  Branch (9310:3): [True: 0, False: 11.0M]
  ------------------
 9311|      0|#line 2595 "MachineIndependent/glslang.y"
 9312|      0|                {
 9313|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9314|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9315|      0|        (yyval.interm.type).basicType = EbtDouble;
 9316|      0|        (yyval.interm.type).setMatrix(3, 2);
 9317|      0|    }
 9318|      0|#line 9319 "MachineIndependent/glslang_tab.cpp"
 9319|      0|    break;
 9320|       |
 9321|      0|  case 359: /* type_specifier_nonarray: F64MAT3X3  */
  ------------------
  |  Branch (9321:3): [True: 0, False: 11.0M]
  ------------------
 9322|      0|#line 2601 "MachineIndependent/glslang.y"
 9323|      0|                {
 9324|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9325|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9326|      0|        (yyval.interm.type).basicType = EbtDouble;
 9327|      0|        (yyval.interm.type).setMatrix(3, 3);
 9328|      0|    }
 9329|      0|#line 9330 "MachineIndependent/glslang_tab.cpp"
 9330|      0|    break;
 9331|       |
 9332|      0|  case 360: /* type_specifier_nonarray: F64MAT3X4  */
  ------------------
  |  Branch (9332:3): [True: 0, False: 11.0M]
  ------------------
 9333|      0|#line 2607 "MachineIndependent/glslang.y"
 9334|      0|                {
 9335|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9336|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9337|      0|        (yyval.interm.type).basicType = EbtDouble;
 9338|      0|        (yyval.interm.type).setMatrix(3, 4);
 9339|      0|    }
 9340|      0|#line 9341 "MachineIndependent/glslang_tab.cpp"
 9341|      0|    break;
 9342|       |
 9343|      0|  case 361: /* type_specifier_nonarray: F64MAT4X2  */
  ------------------
  |  Branch (9343:3): [True: 0, False: 11.0M]
  ------------------
 9344|      0|#line 2613 "MachineIndependent/glslang.y"
 9345|      0|                {
 9346|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9347|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9348|      0|        (yyval.interm.type).basicType = EbtDouble;
 9349|      0|        (yyval.interm.type).setMatrix(4, 2);
 9350|      0|    }
 9351|      0|#line 9352 "MachineIndependent/glslang_tab.cpp"
 9352|      0|    break;
 9353|       |
 9354|      0|  case 362: /* type_specifier_nonarray: F64MAT4X3  */
  ------------------
  |  Branch (9354:3): [True: 0, False: 11.0M]
  ------------------
 9355|      0|#line 2619 "MachineIndependent/glslang.y"
 9356|      0|                {
 9357|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9358|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9359|      0|        (yyval.interm.type).basicType = EbtDouble;
 9360|      0|        (yyval.interm.type).setMatrix(4, 3);
 9361|      0|    }
 9362|      0|#line 9363 "MachineIndependent/glslang_tab.cpp"
 9363|      0|    break;
 9364|       |
 9365|      0|  case 363: /* type_specifier_nonarray: F64MAT4X4  */
  ------------------
  |  Branch (9365:3): [True: 0, False: 11.0M]
  ------------------
 9366|      0|#line 2625 "MachineIndependent/glslang.y"
 9367|      0|                {
 9368|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9369|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9370|      0|        (yyval.interm.type).basicType = EbtDouble;
 9371|      0|        (yyval.interm.type).setMatrix(4, 4);
 9372|      0|    }
 9373|      0|#line 9374 "MachineIndependent/glslang_tab.cpp"
 9374|      0|    break;
 9375|       |
 9376|      0|  case 364: /* type_specifier_nonarray: ACCSTRUCTNV  */
  ------------------
  |  Branch (9376:3): [True: 0, False: 11.0M]
  ------------------
 9377|      0|#line 2631 "MachineIndependent/glslang.y"
 9378|      0|                  {
 9379|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9380|      0|       (yyval.interm.type).basicType = EbtAccStruct;
 9381|      0|    }
 9382|      0|#line 9383 "MachineIndependent/glslang_tab.cpp"
 9383|      0|    break;
 9384|       |
 9385|      0|  case 365: /* type_specifier_nonarray: ACCSTRUCTEXT  */
  ------------------
  |  Branch (9385:3): [True: 0, False: 11.0M]
  ------------------
 9386|      0|#line 2635 "MachineIndependent/glslang.y"
 9387|      0|                   {
 9388|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9389|      0|       (yyval.interm.type).basicType = EbtAccStruct;
 9390|      0|    }
 9391|      0|#line 9392 "MachineIndependent/glslang_tab.cpp"
 9392|      0|    break;
 9393|       |
 9394|      0|  case 366: /* type_specifier_nonarray: RAYQUERYEXT  */
  ------------------
  |  Branch (9394:3): [True: 0, False: 11.0M]
  ------------------
 9395|      0|#line 2639 "MachineIndependent/glslang.y"
 9396|      0|                  {
 9397|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9398|      0|       (yyval.interm.type).basicType = EbtRayQuery;
 9399|      0|    }
 9400|      0|#line 9401 "MachineIndependent/glslang_tab.cpp"
 9401|      0|    break;
 9402|       |
 9403|    144|  case 367: /* type_specifier_nonarray: ATOMIC_UINT  */
  ------------------
  |  Branch (9403:3): [True: 144, False: 11.0M]
  ------------------
 9404|    144|#line 2643 "MachineIndependent/glslang.y"
 9405|    144|                  {
 9406|    144|        parseContext.vulkanRemoved((yyvsp[0].lex).loc, "atomic counter types");
  ------------------
  |  |  756|    144|#define parseContext (*pParseContext)
  ------------------
 9407|    144|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    144|#define parseContext (*pParseContext)
  ------------------
 9408|    144|        (yyval.interm.type).basicType = EbtAtomicUint;
 9409|    144|    }
 9410|    144|#line 9411 "MachineIndependent/glslang_tab.cpp"
 9411|    144|    break;
 9412|       |
 9413|  1.47k|  case 368: /* type_specifier_nonarray: SAMPLER1D  */
  ------------------
  |  Branch (9413:3): [True: 1.47k, False: 11.0M]
  ------------------
 9414|  1.47k|#line 2648 "MachineIndependent/glslang.y"
 9415|  1.47k|                {
 9416|  1.47k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.47k|#define parseContext (*pParseContext)
  ------------------
 9417|  1.47k|        (yyval.interm.type).basicType = EbtSampler;
 9418|  1.47k|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D);
 9419|  1.47k|    }
 9420|  1.47k|#line 9421 "MachineIndependent/glslang_tab.cpp"
 9421|  1.47k|    break;
 9422|       |
 9423|  4.38k|  case 369: /* type_specifier_nonarray: SAMPLER2D  */
  ------------------
  |  Branch (9423:3): [True: 4.38k, False: 11.0M]
  ------------------
 9424|  4.38k|#line 2653 "MachineIndependent/glslang.y"
 9425|  4.38k|                {
 9426|  4.38k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  4.38k|#define parseContext (*pParseContext)
  ------------------
 9427|  4.38k|        (yyval.interm.type).basicType = EbtSampler;
 9428|  4.38k|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D);
 9429|  4.38k|    }
 9430|  4.38k|#line 9431 "MachineIndependent/glslang_tab.cpp"
 9431|  4.38k|    break;
 9432|       |
 9433|  2.08k|  case 370: /* type_specifier_nonarray: SAMPLER3D  */
  ------------------
  |  Branch (9433:3): [True: 2.08k, False: 11.0M]
  ------------------
 9434|  2.08k|#line 2658 "MachineIndependent/glslang.y"
 9435|  2.08k|                {
 9436|  2.08k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  2.08k|#define parseContext (*pParseContext)
  ------------------
 9437|  2.08k|        (yyval.interm.type).basicType = EbtSampler;
 9438|  2.08k|        (yyval.interm.type).sampler.set(EbtFloat, Esd3D);
 9439|  2.08k|    }
 9440|  2.08k|#line 9441 "MachineIndependent/glslang_tab.cpp"
 9441|  2.08k|    break;
 9442|       |
 9443|  1.27k|  case 371: /* type_specifier_nonarray: SAMPLERCUBE  */
  ------------------
  |  Branch (9443:3): [True: 1.27k, False: 11.0M]
  ------------------
 9444|  1.27k|#line 2663 "MachineIndependent/glslang.y"
 9445|  1.27k|                  {
 9446|  1.27k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.27k|#define parseContext (*pParseContext)
  ------------------
 9447|  1.27k|        (yyval.interm.type).basicType = EbtSampler;
 9448|  1.27k|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube);
 9449|  1.27k|    }
 9450|  1.27k|#line 9451 "MachineIndependent/glslang_tab.cpp"
 9451|  1.27k|    break;
 9452|       |
 9453|  1.63k|  case 372: /* type_specifier_nonarray: SAMPLER2DSHADOW  */
  ------------------
  |  Branch (9453:3): [True: 1.63k, False: 11.0M]
  ------------------
 9454|  1.63k|#line 2668 "MachineIndependent/glslang.y"
 9455|  1.63k|                      {
 9456|  1.63k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.63k|#define parseContext (*pParseContext)
  ------------------
 9457|  1.63k|        (yyval.interm.type).basicType = EbtSampler;
 9458|  1.63k|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, false, true);
 9459|  1.63k|    }
 9460|  1.63k|#line 9461 "MachineIndependent/glslang_tab.cpp"
 9461|  1.63k|    break;
 9462|       |
 9463|    718|  case 373: /* type_specifier_nonarray: SAMPLERCUBESHADOW  */
  ------------------
  |  Branch (9463:3): [True: 718, False: 11.0M]
  ------------------
 9464|    718|#line 2673 "MachineIndependent/glslang.y"
 9465|    718|                        {
 9466|    718|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    718|#define parseContext (*pParseContext)
  ------------------
 9467|    718|        (yyval.interm.type).basicType = EbtSampler;
 9468|    718|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube, false, true);
 9469|    718|    }
 9470|    718|#line 9471 "MachineIndependent/glslang_tab.cpp"
 9471|    718|    break;
 9472|       |
 9473|  2.59k|  case 374: /* type_specifier_nonarray: SAMPLER2DARRAY  */
  ------------------
  |  Branch (9473:3): [True: 2.59k, False: 11.0M]
  ------------------
 9474|  2.59k|#line 2678 "MachineIndependent/glslang.y"
 9475|  2.59k|                     {
 9476|  2.59k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  2.59k|#define parseContext (*pParseContext)
  ------------------
 9477|  2.59k|        (yyval.interm.type).basicType = EbtSampler;
 9478|  2.59k|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, true);
 9479|  2.59k|    }
 9480|  2.59k|#line 9481 "MachineIndependent/glslang_tab.cpp"
 9481|  2.59k|    break;
 9482|       |
 9483|    990|  case 375: /* type_specifier_nonarray: SAMPLER2DARRAYSHADOW  */
  ------------------
  |  Branch (9483:3): [True: 990, False: 11.0M]
  ------------------
 9484|    990|#line 2683 "MachineIndependent/glslang.y"
 9485|    990|                           {
 9486|    990|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    990|#define parseContext (*pParseContext)
  ------------------
 9487|    990|        (yyval.interm.type).basicType = EbtSampler;
 9488|    990|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, true, true);
 9489|    990|    }
 9490|    990|#line 9491 "MachineIndependent/glslang_tab.cpp"
 9491|    990|    break;
 9492|       |
 9493|    954|  case 376: /* type_specifier_nonarray: SAMPLER1DSHADOW  */
  ------------------
  |  Branch (9493:3): [True: 954, False: 11.0M]
  ------------------
 9494|    954|#line 2688 "MachineIndependent/glslang.y"
 9495|    954|                      {
 9496|    954|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    954|#define parseContext (*pParseContext)
  ------------------
 9497|    954|        (yyval.interm.type).basicType = EbtSampler;
 9498|    954|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D, false, true);
 9499|    954|    }
 9500|    954|#line 9501 "MachineIndependent/glslang_tab.cpp"
 9501|    954|    break;
 9502|       |
 9503|    825|  case 377: /* type_specifier_nonarray: SAMPLER1DARRAY  */
  ------------------
  |  Branch (9503:3): [True: 825, False: 11.0M]
  ------------------
 9504|    825|#line 2693 "MachineIndependent/glslang.y"
 9505|    825|                     {
 9506|    825|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    825|#define parseContext (*pParseContext)
  ------------------
 9507|    825|        (yyval.interm.type).basicType = EbtSampler;
 9508|    825|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D, true);
 9509|    825|    }
 9510|    825|#line 9511 "MachineIndependent/glslang_tab.cpp"
 9511|    825|    break;
 9512|       |
 9513|    690|  case 378: /* type_specifier_nonarray: SAMPLER1DARRAYSHADOW  */
  ------------------
  |  Branch (9513:3): [True: 690, False: 11.0M]
  ------------------
 9514|    690|#line 2698 "MachineIndependent/glslang.y"
 9515|    690|                           {
 9516|    690|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    690|#define parseContext (*pParseContext)
  ------------------
 9517|    690|        (yyval.interm.type).basicType = EbtSampler;
 9518|    690|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D, true, true);
 9519|    690|    }
 9520|    690|#line 9521 "MachineIndependent/glslang_tab.cpp"
 9521|    690|    break;
 9522|       |
 9523|  1.09k|  case 379: /* type_specifier_nonarray: SAMPLERCUBEARRAY  */
  ------------------
  |  Branch (9523:3): [True: 1.09k, False: 11.0M]
  ------------------
 9524|  1.09k|#line 2703 "MachineIndependent/glslang.y"
 9525|  1.09k|                       {
 9526|  1.09k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.09k|#define parseContext (*pParseContext)
  ------------------
 9527|  1.09k|        (yyval.interm.type).basicType = EbtSampler;
 9528|  1.09k|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube, true);
 9529|  1.09k|    }
 9530|  1.09k|#line 9531 "MachineIndependent/glslang_tab.cpp"
 9531|  1.09k|    break;
 9532|       |
 9533|    588|  case 380: /* type_specifier_nonarray: SAMPLERCUBEARRAYSHADOW  */
  ------------------
  |  Branch (9533:3): [True: 588, False: 11.0M]
  ------------------
 9534|    588|#line 2708 "MachineIndependent/glslang.y"
 9535|    588|                             {
 9536|    588|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    588|#define parseContext (*pParseContext)
  ------------------
 9537|    588|        (yyval.interm.type).basicType = EbtSampler;
 9538|    588|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube, true, true);
 9539|    588|    }
 9540|    588|#line 9541 "MachineIndependent/glslang_tab.cpp"
 9541|    588|    break;
 9542|       |
 9543|  2.66k|  case 381: /* type_specifier_nonarray: F16SAMPLER1D  */
  ------------------
  |  Branch (9543:3): [True: 2.66k, False: 11.0M]
  ------------------
 9544|  2.66k|#line 2713 "MachineIndependent/glslang.y"
 9545|  2.66k|                   {
 9546|  2.66k|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  2.66k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  2.66k|#define parseContext (*pParseContext)
  ------------------
 9547|  2.66k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  2.66k|#define parseContext (*pParseContext)
  ------------------
 9548|  2.66k|        (yyval.interm.type).basicType = EbtSampler;
 9549|  2.66k|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D);
 9550|  2.66k|    }
 9551|  2.66k|#line 9552 "MachineIndependent/glslang_tab.cpp"
 9552|  2.66k|    break;
 9553|       |
 9554|  6.19k|  case 382: /* type_specifier_nonarray: F16SAMPLER2D  */
  ------------------
  |  Branch (9554:3): [True: 6.19k, False: 11.0M]
  ------------------
 9555|  6.19k|#line 2719 "MachineIndependent/glslang.y"
 9556|  6.19k|                   {
 9557|  6.19k|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  6.19k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  6.19k|#define parseContext (*pParseContext)
  ------------------
 9558|  6.19k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  6.19k|#define parseContext (*pParseContext)
  ------------------
 9559|  6.19k|        (yyval.interm.type).basicType = EbtSampler;
 9560|  6.19k|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D);
 9561|  6.19k|    }
 9562|  6.19k|#line 9563 "MachineIndependent/glslang_tab.cpp"
 9563|  6.19k|    break;
 9564|       |
 9565|  3.13k|  case 383: /* type_specifier_nonarray: F16SAMPLER3D  */
  ------------------
  |  Branch (9565:3): [True: 3.13k, False: 11.0M]
  ------------------
 9566|  3.13k|#line 2725 "MachineIndependent/glslang.y"
 9567|  3.13k|                   {
 9568|  3.13k|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  3.13k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  3.13k|#define parseContext (*pParseContext)
  ------------------
 9569|  3.13k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  3.13k|#define parseContext (*pParseContext)
  ------------------
 9570|  3.13k|        (yyval.interm.type).basicType = EbtSampler;
 9571|  3.13k|        (yyval.interm.type).sampler.set(EbtFloat16, Esd3D);
 9572|  3.13k|    }
 9573|  3.13k|#line 9574 "MachineIndependent/glslang_tab.cpp"
 9574|  3.13k|    break;
 9575|       |
 9576|  1.96k|  case 384: /* type_specifier_nonarray: F16SAMPLERCUBE  */
  ------------------
  |  Branch (9576:3): [True: 1.96k, False: 11.0M]
  ------------------
 9577|  1.96k|#line 2731 "MachineIndependent/glslang.y"
 9578|  1.96k|                     {
 9579|  1.96k|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.96k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.96k|#define parseContext (*pParseContext)
  ------------------
 9580|  1.96k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.96k|#define parseContext (*pParseContext)
  ------------------
 9581|  1.96k|        (yyval.interm.type).basicType = EbtSampler;
 9582|  1.96k|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube);
 9583|  1.96k|    }
 9584|  1.96k|#line 9585 "MachineIndependent/glslang_tab.cpp"
 9585|  1.96k|    break;
 9586|       |
 9587|  1.64k|  case 385: /* type_specifier_nonarray: F16SAMPLER1DSHADOW  */
  ------------------
  |  Branch (9587:3): [True: 1.64k, False: 11.0M]
  ------------------
 9588|  1.64k|#line 2737 "MachineIndependent/glslang.y"
 9589|  1.64k|                         {
 9590|  1.64k|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.64k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.64k|#define parseContext (*pParseContext)
  ------------------
 9591|  1.64k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.64k|#define parseContext (*pParseContext)
  ------------------
 9592|  1.64k|        (yyval.interm.type).basicType = EbtSampler;
 9593|  1.64k|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D, false, true);
 9594|  1.64k|    }
 9595|  1.64k|#line 9596 "MachineIndependent/glslang_tab.cpp"
 9596|  1.64k|    break;
 9597|       |
 9598|  2.86k|  case 386: /* type_specifier_nonarray: F16SAMPLER2DSHADOW  */
  ------------------
  |  Branch (9598:3): [True: 2.86k, False: 11.0M]
  ------------------
 9599|  2.86k|#line 2743 "MachineIndependent/glslang.y"
 9600|  2.86k|                         {
 9601|  2.86k|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  2.86k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  2.86k|#define parseContext (*pParseContext)
  ------------------
 9602|  2.86k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  2.86k|#define parseContext (*pParseContext)
  ------------------
 9603|  2.86k|        (yyval.interm.type).basicType = EbtSampler;
 9604|  2.86k|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, false, true);
 9605|  2.86k|    }
 9606|  2.86k|#line 9607 "MachineIndependent/glslang_tab.cpp"
 9607|  2.86k|    break;
 9608|       |
 9609|  1.16k|  case 387: /* type_specifier_nonarray: F16SAMPLERCUBESHADOW  */
  ------------------
  |  Branch (9609:3): [True: 1.16k, False: 11.0M]
  ------------------
 9610|  1.16k|#line 2749 "MachineIndependent/glslang.y"
 9611|  1.16k|                           {
 9612|  1.16k|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.16k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.16k|#define parseContext (*pParseContext)
  ------------------
 9613|  1.16k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.16k|#define parseContext (*pParseContext)
  ------------------
 9614|  1.16k|        (yyval.interm.type).basicType = EbtSampler;
 9615|  1.16k|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube, false, true);
 9616|  1.16k|    }
 9617|  1.16k|#line 9618 "MachineIndependent/glslang_tab.cpp"
 9618|  1.16k|    break;
 9619|       |
 9620|  1.38k|  case 388: /* type_specifier_nonarray: F16SAMPLER1DARRAY  */
  ------------------
  |  Branch (9620:3): [True: 1.38k, False: 11.0M]
  ------------------
 9621|  1.38k|#line 2755 "MachineIndependent/glslang.y"
 9622|  1.38k|                        {
 9623|  1.38k|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.38k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.38k|#define parseContext (*pParseContext)
  ------------------
 9624|  1.38k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.38k|#define parseContext (*pParseContext)
  ------------------
 9625|  1.38k|        (yyval.interm.type).basicType = EbtSampler;
 9626|  1.38k|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D, true);
 9627|  1.38k|    }
 9628|  1.38k|#line 9629 "MachineIndependent/glslang_tab.cpp"
 9629|  1.38k|    break;
 9630|       |
 9631|  4.90k|  case 389: /* type_specifier_nonarray: F16SAMPLER2DARRAY  */
  ------------------
  |  Branch (9631:3): [True: 4.90k, False: 11.0M]
  ------------------
 9632|  4.90k|#line 2761 "MachineIndependent/glslang.y"
 9633|  4.90k|                        {
 9634|  4.90k|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  4.90k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  4.90k|#define parseContext (*pParseContext)
  ------------------
 9635|  4.90k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  4.90k|#define parseContext (*pParseContext)
  ------------------
 9636|  4.90k|        (yyval.interm.type).basicType = EbtSampler;
 9637|  4.90k|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true);
 9638|  4.90k|    }
 9639|  4.90k|#line 9640 "MachineIndependent/glslang_tab.cpp"
 9640|  4.90k|    break;
 9641|       |
 9642|  1.16k|  case 390: /* type_specifier_nonarray: F16SAMPLER1DARRAYSHADOW  */
  ------------------
  |  Branch (9642:3): [True: 1.16k, False: 11.0M]
  ------------------
 9643|  1.16k|#line 2767 "MachineIndependent/glslang.y"
 9644|  1.16k|                              {
 9645|  1.16k|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.16k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.16k|#define parseContext (*pParseContext)
  ------------------
 9646|  1.16k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.16k|#define parseContext (*pParseContext)
  ------------------
 9647|  1.16k|        (yyval.interm.type).basicType = EbtSampler;
 9648|  1.16k|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D, true, true);
 9649|  1.16k|    }
 9650|  1.16k|#line 9651 "MachineIndependent/glslang_tab.cpp"
 9651|  1.16k|    break;
 9652|       |
 9653|  1.54k|  case 391: /* type_specifier_nonarray: F16SAMPLER2DARRAYSHADOW  */
  ------------------
  |  Branch (9653:3): [True: 1.54k, False: 11.0M]
  ------------------
 9654|  1.54k|#line 2773 "MachineIndependent/glslang.y"
 9655|  1.54k|                              {
 9656|  1.54k|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.54k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.54k|#define parseContext (*pParseContext)
  ------------------
 9657|  1.54k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.54k|#define parseContext (*pParseContext)
  ------------------
 9658|  1.54k|        (yyval.interm.type).basicType = EbtSampler;
 9659|  1.54k|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true, true);
 9660|  1.54k|    }
 9661|  1.54k|#line 9662 "MachineIndependent/glslang_tab.cpp"
 9662|  1.54k|    break;
 9663|       |
 9664|  1.96k|  case 392: /* type_specifier_nonarray: F16SAMPLERCUBEARRAY  */
  ------------------
  |  Branch (9664:3): [True: 1.96k, False: 11.0M]
  ------------------
 9665|  1.96k|#line 2779 "MachineIndependent/glslang.y"
 9666|  1.96k|                          {
 9667|  1.96k|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.96k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.96k|#define parseContext (*pParseContext)
  ------------------
 9668|  1.96k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.96k|#define parseContext (*pParseContext)
  ------------------
 9669|  1.96k|        (yyval.interm.type).basicType = EbtSampler;
 9670|  1.96k|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube, true);
 9671|  1.96k|    }
 9672|  1.96k|#line 9673 "MachineIndependent/glslang_tab.cpp"
 9673|  1.96k|    break;
 9674|       |
 9675|    852|  case 393: /* type_specifier_nonarray: F16SAMPLERCUBEARRAYSHADOW  */
  ------------------
  |  Branch (9675:3): [True: 852, False: 11.0M]
  ------------------
 9676|    852|#line 2785 "MachineIndependent/glslang.y"
 9677|    852|                                {
 9678|    852|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    852|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    852|#define parseContext (*pParseContext)
  ------------------
 9679|    852|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    852|#define parseContext (*pParseContext)
  ------------------
 9680|    852|        (yyval.interm.type).basicType = EbtSampler;
 9681|    852|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube, true, true);
 9682|    852|    }
 9683|    852|#line 9684 "MachineIndependent/glslang_tab.cpp"
 9684|    852|    break;
 9685|       |
 9686|  1.44k|  case 394: /* type_specifier_nonarray: ISAMPLER1D  */
  ------------------
  |  Branch (9686:3): [True: 1.44k, False: 11.0M]
  ------------------
 9687|  1.44k|#line 2791 "MachineIndependent/glslang.y"
 9688|  1.44k|                 {
 9689|  1.44k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.44k|#define parseContext (*pParseContext)
  ------------------
 9690|  1.44k|        (yyval.interm.type).basicType = EbtSampler;
 9691|  1.44k|        (yyval.interm.type).sampler.set(EbtInt, Esd1D);
 9692|  1.44k|    }
 9693|  1.44k|#line 9694 "MachineIndependent/glslang_tab.cpp"
 9694|  1.44k|    break;
 9695|       |
 9696|  3.21k|  case 395: /* type_specifier_nonarray: ISAMPLER2D  */
  ------------------
  |  Branch (9696:3): [True: 3.21k, False: 11.0M]
  ------------------
 9697|  3.21k|#line 2796 "MachineIndependent/glslang.y"
 9698|  3.21k|                 {
 9699|  3.21k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  3.21k|#define parseContext (*pParseContext)
  ------------------
 9700|  3.21k|        (yyval.interm.type).basicType = EbtSampler;
 9701|  3.21k|        (yyval.interm.type).sampler.set(EbtInt, Esd2D);
 9702|  3.21k|    }
 9703|  3.21k|#line 9704 "MachineIndependent/glslang_tab.cpp"
 9704|  3.21k|    break;
 9705|       |
 9706|  1.68k|  case 396: /* type_specifier_nonarray: ISAMPLER3D  */
  ------------------
  |  Branch (9706:3): [True: 1.68k, False: 11.0M]
  ------------------
 9707|  1.68k|#line 2801 "MachineIndependent/glslang.y"
 9708|  1.68k|                 {
 9709|  1.68k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.68k|#define parseContext (*pParseContext)
  ------------------
 9710|  1.68k|        (yyval.interm.type).basicType = EbtSampler;
 9711|  1.68k|        (yyval.interm.type).sampler.set(EbtInt, Esd3D);
 9712|  1.68k|    }
 9713|  1.68k|#line 9714 "MachineIndependent/glslang_tab.cpp"
 9714|  1.68k|    break;
 9715|       |
 9716|  1.09k|  case 397: /* type_specifier_nonarray: ISAMPLERCUBE  */
  ------------------
  |  Branch (9716:3): [True: 1.09k, False: 11.0M]
  ------------------
 9717|  1.09k|#line 2806 "MachineIndependent/glslang.y"
 9718|  1.09k|                   {
 9719|  1.09k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.09k|#define parseContext (*pParseContext)
  ------------------
 9720|  1.09k|        (yyval.interm.type).basicType = EbtSampler;
 9721|  1.09k|        (yyval.interm.type).sampler.set(EbtInt, EsdCube);
 9722|  1.09k|    }
 9723|  1.09k|#line 9724 "MachineIndependent/glslang_tab.cpp"
 9724|  1.09k|    break;
 9725|       |
 9726|  2.56k|  case 398: /* type_specifier_nonarray: ISAMPLER2DARRAY  */
  ------------------
  |  Branch (9726:3): [True: 2.56k, False: 11.0M]
  ------------------
 9727|  2.56k|#line 2811 "MachineIndependent/glslang.y"
 9728|  2.56k|                      {
 9729|  2.56k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  2.56k|#define parseContext (*pParseContext)
  ------------------
 9730|  2.56k|        (yyval.interm.type).basicType = EbtSampler;
 9731|  2.56k|        (yyval.interm.type).sampler.set(EbtInt, Esd2D, true);
 9732|  2.56k|    }
 9733|  2.56k|#line 9734 "MachineIndependent/glslang_tab.cpp"
 9734|  2.56k|    break;
 9735|       |
 9736|  3.21k|  case 399: /* type_specifier_nonarray: USAMPLER2D  */
  ------------------
  |  Branch (9736:3): [True: 3.21k, False: 11.0M]
  ------------------
 9737|  3.21k|#line 2816 "MachineIndependent/glslang.y"
 9738|  3.21k|                 {
 9739|  3.21k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  3.21k|#define parseContext (*pParseContext)
  ------------------
 9740|  3.21k|        (yyval.interm.type).basicType = EbtSampler;
 9741|  3.21k|        (yyval.interm.type).sampler.set(EbtUint, Esd2D);
 9742|  3.21k|    }
 9743|  3.21k|#line 9744 "MachineIndependent/glslang_tab.cpp"
 9744|  3.21k|    break;
 9745|       |
 9746|  1.68k|  case 400: /* type_specifier_nonarray: USAMPLER3D  */
  ------------------
  |  Branch (9746:3): [True: 1.68k, False: 11.0M]
  ------------------
 9747|  1.68k|#line 2821 "MachineIndependent/glslang.y"
 9748|  1.68k|                 {
 9749|  1.68k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.68k|#define parseContext (*pParseContext)
  ------------------
 9750|  1.68k|        (yyval.interm.type).basicType = EbtSampler;
 9751|  1.68k|        (yyval.interm.type).sampler.set(EbtUint, Esd3D);
 9752|  1.68k|    }
 9753|  1.68k|#line 9754 "MachineIndependent/glslang_tab.cpp"
 9754|  1.68k|    break;
 9755|       |
 9756|  1.09k|  case 401: /* type_specifier_nonarray: USAMPLERCUBE  */
  ------------------
  |  Branch (9756:3): [True: 1.09k, False: 11.0M]
  ------------------
 9757|  1.09k|#line 2826 "MachineIndependent/glslang.y"
 9758|  1.09k|                   {
 9759|  1.09k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.09k|#define parseContext (*pParseContext)
  ------------------
 9760|  1.09k|        (yyval.interm.type).basicType = EbtSampler;
 9761|  1.09k|        (yyval.interm.type).sampler.set(EbtUint, EsdCube);
 9762|  1.09k|    }
 9763|  1.09k|#line 9764 "MachineIndependent/glslang_tab.cpp"
 9764|  1.09k|    break;
 9765|       |
 9766|    798|  case 402: /* type_specifier_nonarray: ISAMPLER1DARRAY  */
  ------------------
  |  Branch (9766:3): [True: 798, False: 11.0M]
  ------------------
 9767|    798|#line 2831 "MachineIndependent/glslang.y"
 9768|    798|                      {
 9769|    798|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    798|#define parseContext (*pParseContext)
  ------------------
 9770|    798|        (yyval.interm.type).basicType = EbtSampler;
 9771|    798|        (yyval.interm.type).sampler.set(EbtInt, Esd1D, true);
 9772|    798|    }
 9773|    798|#line 9774 "MachineIndependent/glslang_tab.cpp"
 9774|    798|    break;
 9775|       |
 9776|  1.09k|  case 403: /* type_specifier_nonarray: ISAMPLERCUBEARRAY  */
  ------------------
  |  Branch (9776:3): [True: 1.09k, False: 11.0M]
  ------------------
 9777|  1.09k|#line 2836 "MachineIndependent/glslang.y"
 9778|  1.09k|                        {
 9779|  1.09k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.09k|#define parseContext (*pParseContext)
  ------------------
 9780|  1.09k|        (yyval.interm.type).basicType = EbtSampler;
 9781|  1.09k|        (yyval.interm.type).sampler.set(EbtInt, EsdCube, true);
 9782|  1.09k|    }
 9783|  1.09k|#line 9784 "MachineIndependent/glslang_tab.cpp"
 9784|  1.09k|    break;
 9785|       |
 9786|  1.44k|  case 404: /* type_specifier_nonarray: USAMPLER1D  */
  ------------------
  |  Branch (9786:3): [True: 1.44k, False: 11.0M]
  ------------------
 9787|  1.44k|#line 2841 "MachineIndependent/glslang.y"
 9788|  1.44k|                 {
 9789|  1.44k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.44k|#define parseContext (*pParseContext)
  ------------------
 9790|  1.44k|        (yyval.interm.type).basicType = EbtSampler;
 9791|  1.44k|        (yyval.interm.type).sampler.set(EbtUint, Esd1D);
 9792|  1.44k|    }
 9793|  1.44k|#line 9794 "MachineIndependent/glslang_tab.cpp"
 9794|  1.44k|    break;
 9795|       |
 9796|    798|  case 405: /* type_specifier_nonarray: USAMPLER1DARRAY  */
  ------------------
  |  Branch (9796:3): [True: 798, False: 11.0M]
  ------------------
 9797|    798|#line 2846 "MachineIndependent/glslang.y"
 9798|    798|                      {
 9799|    798|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    798|#define parseContext (*pParseContext)
  ------------------
 9800|    798|        (yyval.interm.type).basicType = EbtSampler;
 9801|    798|        (yyval.interm.type).sampler.set(EbtUint, Esd1D, true);
 9802|    798|    }
 9803|    798|#line 9804 "MachineIndependent/glslang_tab.cpp"
 9804|    798|    break;
 9805|       |
 9806|  1.09k|  case 406: /* type_specifier_nonarray: USAMPLERCUBEARRAY  */
  ------------------
  |  Branch (9806:3): [True: 1.09k, False: 11.0M]
  ------------------
 9807|  1.09k|#line 2851 "MachineIndependent/glslang.y"
 9808|  1.09k|                        {
 9809|  1.09k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.09k|#define parseContext (*pParseContext)
  ------------------
 9810|  1.09k|        (yyval.interm.type).basicType = EbtSampler;
 9811|  1.09k|        (yyval.interm.type).sampler.set(EbtUint, EsdCube, true);
 9812|  1.09k|    }
 9813|  1.09k|#line 9814 "MachineIndependent/glslang_tab.cpp"
 9814|  1.09k|    break;
 9815|       |
 9816|     30|  case 407: /* type_specifier_nonarray: TEXTURECUBEARRAY  */
  ------------------
  |  Branch (9816:3): [True: 30, False: 11.0M]
  ------------------
 9817|     30|#line 2856 "MachineIndependent/glslang.y"
 9818|     30|                       {
 9819|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     30|#define parseContext (*pParseContext)
  ------------------
 9820|     30|        (yyval.interm.type).basicType = EbtSampler;
 9821|     30|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdCube, true);
 9822|     30|    }
 9823|     30|#line 9824 "MachineIndependent/glslang_tab.cpp"
 9824|     30|    break;
 9825|       |
 9826|     30|  case 408: /* type_specifier_nonarray: ITEXTURECUBEARRAY  */
  ------------------
  |  Branch (9826:3): [True: 30, False: 11.0M]
  ------------------
 9827|     30|#line 2861 "MachineIndependent/glslang.y"
 9828|     30|                        {
 9829|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     30|#define parseContext (*pParseContext)
  ------------------
 9830|     30|        (yyval.interm.type).basicType = EbtSampler;
 9831|     30|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdCube, true);
 9832|     30|    }
 9833|     30|#line 9834 "MachineIndependent/glslang_tab.cpp"
 9834|     30|    break;
 9835|       |
 9836|     30|  case 409: /* type_specifier_nonarray: UTEXTURECUBEARRAY  */
  ------------------
  |  Branch (9836:3): [True: 30, False: 11.0M]
  ------------------
 9837|     30|#line 2866 "MachineIndependent/glslang.y"
 9838|     30|                        {
 9839|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     30|#define parseContext (*pParseContext)
  ------------------
 9840|     30|        (yyval.interm.type).basicType = EbtSampler;
 9841|     30|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdCube, true);
 9842|     30|    }
 9843|     30|#line 9844 "MachineIndependent/glslang_tab.cpp"
 9844|     30|    break;
 9845|       |
 9846|  2.56k|  case 410: /* type_specifier_nonarray: USAMPLER2DARRAY  */
  ------------------
  |  Branch (9846:3): [True: 2.56k, False: 11.0M]
  ------------------
 9847|  2.56k|#line 2871 "MachineIndependent/glslang.y"
 9848|  2.56k|                      {
 9849|  2.56k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  2.56k|#define parseContext (*pParseContext)
  ------------------
 9850|  2.56k|        (yyval.interm.type).basicType = EbtSampler;
 9851|  2.56k|        (yyval.interm.type).sampler.set(EbtUint, Esd2D, true);
 9852|  2.56k|    }
 9853|  2.56k|#line 9854 "MachineIndependent/glslang_tab.cpp"
 9854|  2.56k|    break;
 9855|       |
 9856|     90|  case 411: /* type_specifier_nonarray: TEXTURE2D  */
  ------------------
  |  Branch (9856:3): [True: 90, False: 11.0M]
  ------------------
 9857|     90|#line 2876 "MachineIndependent/glslang.y"
 9858|     90|                {
 9859|     90|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     90|#define parseContext (*pParseContext)
  ------------------
 9860|     90|        (yyval.interm.type).basicType = EbtSampler;
 9861|     90|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D);
 9862|     90|    }
 9863|     90|#line 9864 "MachineIndependent/glslang_tab.cpp"
 9864|     90|    break;
 9865|       |
 9866|     90|  case 412: /* type_specifier_nonarray: TEXTURE3D  */
  ------------------
  |  Branch (9866:3): [True: 90, False: 11.0M]
  ------------------
 9867|     90|#line 2881 "MachineIndependent/glslang.y"
 9868|     90|                {
 9869|     90|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     90|#define parseContext (*pParseContext)
  ------------------
 9870|     90|        (yyval.interm.type).basicType = EbtSampler;
 9871|     90|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd3D);
 9872|     90|    }
 9873|     90|#line 9874 "MachineIndependent/glslang_tab.cpp"
 9874|     90|    break;
 9875|       |
 9876|     90|  case 413: /* type_specifier_nonarray: TEXTURE2DARRAY  */
  ------------------
  |  Branch (9876:3): [True: 90, False: 11.0M]
  ------------------
 9877|     90|#line 2886 "MachineIndependent/glslang.y"
 9878|     90|                     {
 9879|     90|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     90|#define parseContext (*pParseContext)
  ------------------
 9880|     90|        (yyval.interm.type).basicType = EbtSampler;
 9881|     90|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, true);
 9882|     90|    }
 9883|     90|#line 9884 "MachineIndependent/glslang_tab.cpp"
 9884|     90|    break;
 9885|       |
 9886|     30|  case 414: /* type_specifier_nonarray: TEXTURECUBE  */
  ------------------
  |  Branch (9886:3): [True: 30, False: 11.0M]
  ------------------
 9887|     30|#line 2891 "MachineIndependent/glslang.y"
 9888|     30|                  {
 9889|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     30|#define parseContext (*pParseContext)
  ------------------
 9890|     30|        (yyval.interm.type).basicType = EbtSampler;
 9891|     30|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdCube);
 9892|     30|    }
 9893|     30|#line 9894 "MachineIndependent/glslang_tab.cpp"
 9894|     30|    break;
 9895|       |
 9896|     90|  case 415: /* type_specifier_nonarray: ITEXTURE2D  */
  ------------------
  |  Branch (9896:3): [True: 90, False: 11.0M]
  ------------------
 9897|     90|#line 2896 "MachineIndependent/glslang.y"
 9898|     90|                 {
 9899|     90|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     90|#define parseContext (*pParseContext)
  ------------------
 9900|     90|        (yyval.interm.type).basicType = EbtSampler;
 9901|     90|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D);
 9902|     90|    }
 9903|     90|#line 9904 "MachineIndependent/glslang_tab.cpp"
 9904|     90|    break;
 9905|       |
 9906|     90|  case 416: /* type_specifier_nonarray: ITEXTURE3D  */
  ------------------
  |  Branch (9906:3): [True: 90, False: 11.0M]
  ------------------
 9907|     90|#line 2901 "MachineIndependent/glslang.y"
 9908|     90|                 {
 9909|     90|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     90|#define parseContext (*pParseContext)
  ------------------
 9910|     90|        (yyval.interm.type).basicType = EbtSampler;
 9911|     90|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd3D);
 9912|     90|    }
 9913|     90|#line 9914 "MachineIndependent/glslang_tab.cpp"
 9914|     90|    break;
 9915|       |
 9916|     30|  case 417: /* type_specifier_nonarray: ITEXTURECUBE  */
  ------------------
  |  Branch (9916:3): [True: 30, False: 11.0M]
  ------------------
 9917|     30|#line 2906 "MachineIndependent/glslang.y"
 9918|     30|                   {
 9919|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     30|#define parseContext (*pParseContext)
  ------------------
 9920|     30|        (yyval.interm.type).basicType = EbtSampler;
 9921|     30|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdCube);
 9922|     30|    }
 9923|     30|#line 9924 "MachineIndependent/glslang_tab.cpp"
 9924|     30|    break;
 9925|       |
 9926|     90|  case 418: /* type_specifier_nonarray: ITEXTURE2DARRAY  */
  ------------------
  |  Branch (9926:3): [True: 90, False: 11.0M]
  ------------------
 9927|     90|#line 2911 "MachineIndependent/glslang.y"
 9928|     90|                      {
 9929|     90|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     90|#define parseContext (*pParseContext)
  ------------------
 9930|     90|        (yyval.interm.type).basicType = EbtSampler;
 9931|     90|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, true);
 9932|     90|    }
 9933|     90|#line 9934 "MachineIndependent/glslang_tab.cpp"
 9934|     90|    break;
 9935|       |
 9936|     90|  case 419: /* type_specifier_nonarray: UTEXTURE2D  */
  ------------------
  |  Branch (9936:3): [True: 90, False: 11.0M]
  ------------------
 9937|     90|#line 2916 "MachineIndependent/glslang.y"
 9938|     90|                 {
 9939|     90|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     90|#define parseContext (*pParseContext)
  ------------------
 9940|     90|        (yyval.interm.type).basicType = EbtSampler;
 9941|     90|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D);
 9942|     90|    }
 9943|     90|#line 9944 "MachineIndependent/glslang_tab.cpp"
 9944|     90|    break;
 9945|       |
 9946|     90|  case 420: /* type_specifier_nonarray: UTEXTURE3D  */
  ------------------
  |  Branch (9946:3): [True: 90, False: 11.0M]
  ------------------
 9947|     90|#line 2921 "MachineIndependent/glslang.y"
 9948|     90|                 {
 9949|     90|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     90|#define parseContext (*pParseContext)
  ------------------
 9950|     90|        (yyval.interm.type).basicType = EbtSampler;
 9951|     90|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd3D);
 9952|     90|    }
 9953|     90|#line 9954 "MachineIndependent/glslang_tab.cpp"
 9954|     90|    break;
 9955|       |
 9956|     30|  case 421: /* type_specifier_nonarray: UTEXTURECUBE  */
  ------------------
  |  Branch (9956:3): [True: 30, False: 11.0M]
  ------------------
 9957|     30|#line 2926 "MachineIndependent/glslang.y"
 9958|     30|                   {
 9959|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     30|#define parseContext (*pParseContext)
  ------------------
 9960|     30|        (yyval.interm.type).basicType = EbtSampler;
 9961|     30|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdCube);
 9962|     30|    }
 9963|     30|#line 9964 "MachineIndependent/glslang_tab.cpp"
 9964|     30|    break;
 9965|       |
 9966|     90|  case 422: /* type_specifier_nonarray: UTEXTURE2DARRAY  */
  ------------------
  |  Branch (9966:3): [True: 90, False: 11.0M]
  ------------------
 9967|     90|#line 2931 "MachineIndependent/glslang.y"
 9968|     90|                      {
 9969|     90|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     90|#define parseContext (*pParseContext)
  ------------------
 9970|     90|        (yyval.interm.type).basicType = EbtSampler;
 9971|     90|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, true);
 9972|     90|    }
 9973|     90|#line 9974 "MachineIndependent/glslang_tab.cpp"
 9974|     90|    break;
 9975|       |
 9976|      0|  case 423: /* type_specifier_nonarray: SAMPLER  */
  ------------------
  |  Branch (9976:3): [True: 0, False: 11.0M]
  ------------------
 9977|      0|#line 2936 "MachineIndependent/glslang.y"
 9978|      0|              {
 9979|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9980|      0|        (yyval.interm.type).basicType = EbtSampler;
 9981|      0|        (yyval.interm.type).sampler.setPureSampler(false);
 9982|      0|    }
 9983|      0|#line 9984 "MachineIndependent/glslang_tab.cpp"
 9984|      0|    break;
 9985|       |
 9986|      0|  case 424: /* type_specifier_nonarray: SAMPLERSHADOW  */
  ------------------
  |  Branch (9986:3): [True: 0, False: 11.0M]
  ------------------
 9987|      0|#line 2941 "MachineIndependent/glslang.y"
 9988|      0|                    {
 9989|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 9990|      0|        (yyval.interm.type).basicType = EbtSampler;
 9991|      0|        (yyval.interm.type).sampler.setPureSampler(true);
 9992|      0|    }
 9993|      0|#line 9994 "MachineIndependent/glslang_tab.cpp"
 9994|      0|    break;
 9995|       |
 9996|  1.42k|  case 425: /* type_specifier_nonarray: SAMPLER2DRECT  */
  ------------------
  |  Branch (9996:3): [True: 1.42k, False: 11.0M]
  ------------------
 9997|  1.42k|#line 2946 "MachineIndependent/glslang.y"
 9998|  1.42k|                    {
 9999|  1.42k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.42k|#define parseContext (*pParseContext)
  ------------------
10000|  1.42k|        (yyval.interm.type).basicType = EbtSampler;
10001|  1.42k|        (yyval.interm.type).sampler.set(EbtFloat, EsdRect);
10002|  1.42k|    }
10003|  1.42k|#line 10004 "MachineIndependent/glslang_tab.cpp"
10004|  1.42k|    break;
10005|       |
10006|    777|  case 426: /* type_specifier_nonarray: SAMPLER2DRECTSHADOW  */
  ------------------
  |  Branch (10006:3): [True: 777, False: 11.0M]
  ------------------
10007|    777|#line 2951 "MachineIndependent/glslang.y"
10008|    777|                          {
10009|    777|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    777|#define parseContext (*pParseContext)
  ------------------
10010|    777|        (yyval.interm.type).basicType = EbtSampler;
10011|    777|        (yyval.interm.type).sampler.set(EbtFloat, EsdRect, false, true);
10012|    777|    }
10013|    777|#line 10014 "MachineIndependent/glslang_tab.cpp"
10014|    777|    break;
10015|       |
10016|  2.82k|  case 427: /* type_specifier_nonarray: F16SAMPLER2DRECT  */
  ------------------
  |  Branch (10016:3): [True: 2.82k, False: 11.0M]
  ------------------
10017|  2.82k|#line 2956 "MachineIndependent/glslang.y"
10018|  2.82k|                       {
10019|  2.82k|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  2.82k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  2.82k|#define parseContext (*pParseContext)
  ------------------
10020|  2.82k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  2.82k|#define parseContext (*pParseContext)
  ------------------
10021|  2.82k|        (yyval.interm.type).basicType = EbtSampler;
10022|  2.82k|        (yyval.interm.type).sampler.set(EbtFloat16, EsdRect);
10023|  2.82k|    }
10024|  2.82k|#line 10025 "MachineIndependent/glslang_tab.cpp"
10025|  2.82k|    break;
10026|       |
10027|  1.52k|  case 428: /* type_specifier_nonarray: F16SAMPLER2DRECTSHADOW  */
  ------------------
  |  Branch (10027:3): [True: 1.52k, False: 11.0M]
  ------------------
10028|  1.52k|#line 2962 "MachineIndependent/glslang.y"
10029|  1.52k|                             {
10030|  1.52k|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.52k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.52k|#define parseContext (*pParseContext)
  ------------------
10031|  1.52k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.52k|#define parseContext (*pParseContext)
  ------------------
10032|  1.52k|        (yyval.interm.type).basicType = EbtSampler;
10033|  1.52k|        (yyval.interm.type).sampler.set(EbtFloat16, EsdRect, false, true);
10034|  1.52k|    }
10035|  1.52k|#line 10036 "MachineIndependent/glslang_tab.cpp"
10036|  1.52k|    break;
10037|       |
10038|  1.42k|  case 429: /* type_specifier_nonarray: ISAMPLER2DRECT  */
  ------------------
  |  Branch (10038:3): [True: 1.42k, False: 11.0M]
  ------------------
10039|  1.42k|#line 2968 "MachineIndependent/glslang.y"
10040|  1.42k|                     {
10041|  1.42k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.42k|#define parseContext (*pParseContext)
  ------------------
10042|  1.42k|        (yyval.interm.type).basicType = EbtSampler;
10043|  1.42k|        (yyval.interm.type).sampler.set(EbtInt, EsdRect);
10044|  1.42k|    }
10045|  1.42k|#line 10046 "MachineIndependent/glslang_tab.cpp"
10046|  1.42k|    break;
10047|       |
10048|  1.42k|  case 430: /* type_specifier_nonarray: USAMPLER2DRECT  */
  ------------------
  |  Branch (10048:3): [True: 1.42k, False: 11.0M]
  ------------------
10049|  1.42k|#line 2973 "MachineIndependent/glslang.y"
10050|  1.42k|                     {
10051|  1.42k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.42k|#define parseContext (*pParseContext)
  ------------------
10052|  1.42k|        (yyval.interm.type).basicType = EbtSampler;
10053|  1.42k|        (yyval.interm.type).sampler.set(EbtUint, EsdRect);
10054|  1.42k|    }
10055|  1.42k|#line 10056 "MachineIndependent/glslang_tab.cpp"
10056|  1.42k|    break;
10057|       |
10058|     54|  case 431: /* type_specifier_nonarray: SAMPLERBUFFER  */
  ------------------
  |  Branch (10058:3): [True: 54, False: 11.0M]
  ------------------
10059|     54|#line 2978 "MachineIndependent/glslang.y"
10060|     54|                    {
10061|     54|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     54|#define parseContext (*pParseContext)
  ------------------
10062|     54|        (yyval.interm.type).basicType = EbtSampler;
10063|     54|        (yyval.interm.type).sampler.set(EbtFloat, EsdBuffer);
10064|     54|    }
10065|     54|#line 10066 "MachineIndependent/glslang_tab.cpp"
10066|     54|    break;
10067|       |
10068|     81|  case 432: /* type_specifier_nonarray: F16SAMPLERBUFFER  */
  ------------------
  |  Branch (10068:3): [True: 81, False: 11.0M]
  ------------------
10069|     81|#line 2983 "MachineIndependent/glslang.y"
10070|     81|                       {
10071|     81|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     81|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     81|#define parseContext (*pParseContext)
  ------------------
10072|     81|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     81|#define parseContext (*pParseContext)
  ------------------
10073|     81|        (yyval.interm.type).basicType = EbtSampler;
10074|     81|        (yyval.interm.type).sampler.set(EbtFloat16, EsdBuffer);
10075|     81|    }
10076|     81|#line 10077 "MachineIndependent/glslang_tab.cpp"
10077|     81|    break;
10078|       |
10079|     54|  case 433: /* type_specifier_nonarray: ISAMPLERBUFFER  */
  ------------------
  |  Branch (10079:3): [True: 54, False: 11.0M]
  ------------------
10080|     54|#line 2989 "MachineIndependent/glslang.y"
10081|     54|                     {
10082|     54|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     54|#define parseContext (*pParseContext)
  ------------------
10083|     54|        (yyval.interm.type).basicType = EbtSampler;
10084|     54|        (yyval.interm.type).sampler.set(EbtInt, EsdBuffer);
10085|     54|    }
10086|     54|#line 10087 "MachineIndependent/glslang_tab.cpp"
10087|     54|    break;
10088|       |
10089|     54|  case 434: /* type_specifier_nonarray: USAMPLERBUFFER  */
  ------------------
  |  Branch (10089:3): [True: 54, False: 11.0M]
  ------------------
10090|     54|#line 2994 "MachineIndependent/glslang.y"
10091|     54|                     {
10092|     54|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     54|#define parseContext (*pParseContext)
  ------------------
10093|     54|        (yyval.interm.type).basicType = EbtSampler;
10094|     54|        (yyval.interm.type).sampler.set(EbtUint, EsdBuffer);
10095|     54|    }
10096|     54|#line 10097 "MachineIndependent/glslang_tab.cpp"
10097|     54|    break;
10098|       |
10099|    162|  case 435: /* type_specifier_nonarray: SAMPLER2DMS  */
  ------------------
  |  Branch (10099:3): [True: 162, False: 11.0M]
  ------------------
10100|    162|#line 2999 "MachineIndependent/glslang.y"
10101|    162|                  {
10102|    162|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
10103|    162|        (yyval.interm.type).basicType = EbtSampler;
10104|    162|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, false, false, true);
10105|    162|    }
10106|    162|#line 10107 "MachineIndependent/glslang_tab.cpp"
10107|    162|    break;
10108|       |
10109|    162|  case 436: /* type_specifier_nonarray: F16SAMPLER2DMS  */
  ------------------
  |  Branch (10109:3): [True: 162, False: 11.0M]
  ------------------
10110|    162|#line 3004 "MachineIndependent/glslang.y"
10111|    162|                     {
10112|    162|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
10113|    162|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
10114|    162|        (yyval.interm.type).basicType = EbtSampler;
10115|    162|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, false, false, true);
10116|    162|    }
10117|    162|#line 10118 "MachineIndependent/glslang_tab.cpp"
10118|    162|    break;
10119|       |
10120|    162|  case 437: /* type_specifier_nonarray: ISAMPLER2DMS  */
  ------------------
  |  Branch (10120:3): [True: 162, False: 11.0M]
  ------------------
10121|    162|#line 3010 "MachineIndependent/glslang.y"
10122|    162|                   {
10123|    162|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
10124|    162|        (yyval.interm.type).basicType = EbtSampler;
10125|    162|        (yyval.interm.type).sampler.set(EbtInt, Esd2D, false, false, true);
10126|    162|    }
10127|    162|#line 10128 "MachineIndependent/glslang_tab.cpp"
10128|    162|    break;
10129|       |
10130|    162|  case 438: /* type_specifier_nonarray: USAMPLER2DMS  */
  ------------------
  |  Branch (10130:3): [True: 162, False: 11.0M]
  ------------------
10131|    162|#line 3015 "MachineIndependent/glslang.y"
10132|    162|                   {
10133|    162|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
10134|    162|        (yyval.interm.type).basicType = EbtSampler;
10135|    162|        (yyval.interm.type).sampler.set(EbtUint, Esd2D, false, false, true);
10136|    162|    }
10137|    162|#line 10138 "MachineIndependent/glslang_tab.cpp"
10138|    162|    break;
10139|       |
10140|    162|  case 439: /* type_specifier_nonarray: SAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10140:3): [True: 162, False: 11.0M]
  ------------------
10141|    162|#line 3020 "MachineIndependent/glslang.y"
10142|    162|                       {
10143|    162|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
10144|    162|        (yyval.interm.type).basicType = EbtSampler;
10145|    162|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, true, false, true);
10146|    162|    }
10147|    162|#line 10148 "MachineIndependent/glslang_tab.cpp"
10148|    162|    break;
10149|       |
10150|    162|  case 440: /* type_specifier_nonarray: F16SAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10150:3): [True: 162, False: 11.0M]
  ------------------
10151|    162|#line 3025 "MachineIndependent/glslang.y"
10152|    162|                          {
10153|    162|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
10154|    162|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
10155|    162|        (yyval.interm.type).basicType = EbtSampler;
10156|    162|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true, false, true);
10157|    162|    }
10158|    162|#line 10159 "MachineIndependent/glslang_tab.cpp"
10159|    162|    break;
10160|       |
10161|    162|  case 441: /* type_specifier_nonarray: ISAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10161:3): [True: 162, False: 11.0M]
  ------------------
10162|    162|#line 3031 "MachineIndependent/glslang.y"
10163|    162|                        {
10164|    162|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
10165|    162|        (yyval.interm.type).basicType = EbtSampler;
10166|    162|        (yyval.interm.type).sampler.set(EbtInt, Esd2D, true, false, true);
10167|    162|    }
10168|    162|#line 10169 "MachineIndependent/glslang_tab.cpp"
10169|    162|    break;
10170|       |
10171|    162|  case 442: /* type_specifier_nonarray: USAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10171:3): [True: 162, False: 11.0M]
  ------------------
10172|    162|#line 3036 "MachineIndependent/glslang.y"
10173|    162|                        {
10174|    162|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    162|#define parseContext (*pParseContext)
  ------------------
10175|    162|        (yyval.interm.type).basicType = EbtSampler;
10176|    162|        (yyval.interm.type).sampler.set(EbtUint, Esd2D, true, false, true);
10177|    162|    }
10178|    162|#line 10179 "MachineIndependent/glslang_tab.cpp"
10179|    162|    break;
10180|       |
10181|     60|  case 443: /* type_specifier_nonarray: TEXTURE1D  */
  ------------------
  |  Branch (10181:3): [True: 60, False: 11.0M]
  ------------------
10182|     60|#line 3041 "MachineIndependent/glslang.y"
10183|     60|                {
10184|     60|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     60|#define parseContext (*pParseContext)
  ------------------
10185|     60|        (yyval.interm.type).basicType = EbtSampler;
10186|     60|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd1D);
10187|     60|    }
10188|     60|#line 10189 "MachineIndependent/glslang_tab.cpp"
10189|     60|    break;
10190|       |
10191|     90|  case 444: /* type_specifier_nonarray: F16TEXTURE1D  */
  ------------------
  |  Branch (10191:3): [True: 90, False: 11.0M]
  ------------------
10192|     90|#line 3046 "MachineIndependent/glslang.y"
10193|     90|                   {
10194|     90|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     90|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     90|#define parseContext (*pParseContext)
  ------------------
10195|     90|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     90|#define parseContext (*pParseContext)
  ------------------
10196|     90|        (yyval.interm.type).basicType = EbtSampler;
10197|     90|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd1D);
10198|     90|    }
10199|     90|#line 10200 "MachineIndependent/glslang_tab.cpp"
10200|     90|    break;
10201|       |
10202|    150|  case 445: /* type_specifier_nonarray: F16TEXTURE2D  */
  ------------------
  |  Branch (10202:3): [True: 150, False: 11.0M]
  ------------------
10203|    150|#line 3052 "MachineIndependent/glslang.y"
10204|    150|                   {
10205|    150|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    150|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    150|#define parseContext (*pParseContext)
  ------------------
10206|    150|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    150|#define parseContext (*pParseContext)
  ------------------
10207|    150|        (yyval.interm.type).basicType = EbtSampler;
10208|    150|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D);
10209|    150|    }
10210|    150|#line 10211 "MachineIndependent/glslang_tab.cpp"
10211|    150|    break;
10212|       |
10213|    150|  case 446: /* type_specifier_nonarray: F16TEXTURE3D  */
  ------------------
  |  Branch (10213:3): [True: 150, False: 11.0M]
  ------------------
10214|    150|#line 3058 "MachineIndependent/glslang.y"
10215|    150|                   {
10216|    150|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    150|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    150|#define parseContext (*pParseContext)
  ------------------
10217|    150|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    150|#define parseContext (*pParseContext)
  ------------------
10218|    150|        (yyval.interm.type).basicType = EbtSampler;
10219|    150|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd3D);
10220|    150|    }
10221|    150|#line 10222 "MachineIndependent/glslang_tab.cpp"
10222|    150|    break;
10223|       |
10224|     30|  case 447: /* type_specifier_nonarray: F16TEXTURECUBE  */
  ------------------
  |  Branch (10224:3): [True: 30, False: 11.0M]
  ------------------
10225|     30|#line 3064 "MachineIndependent/glslang.y"
10226|     30|                     {
10227|     30|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     30|#define parseContext (*pParseContext)
  ------------------
10228|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     30|#define parseContext (*pParseContext)
  ------------------
10229|     30|        (yyval.interm.type).basicType = EbtSampler;
10230|     30|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdCube);
10231|     30|    }
10232|     30|#line 10233 "MachineIndependent/glslang_tab.cpp"
10233|     30|    break;
10234|       |
10235|     60|  case 448: /* type_specifier_nonarray: TEXTURE1DARRAY  */
  ------------------
  |  Branch (10235:3): [True: 60, False: 11.0M]
  ------------------
10236|     60|#line 3070 "MachineIndependent/glslang.y"
10237|     60|                     {
10238|     60|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     60|#define parseContext (*pParseContext)
  ------------------
10239|     60|        (yyval.interm.type).basicType = EbtSampler;
10240|     60|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd1D, true);
10241|     60|    }
10242|     60|#line 10243 "MachineIndependent/glslang_tab.cpp"
10243|     60|    break;
10244|       |
10245|     90|  case 449: /* type_specifier_nonarray: F16TEXTURE1DARRAY  */
  ------------------
  |  Branch (10245:3): [True: 90, False: 11.0M]
  ------------------
10246|     90|#line 3075 "MachineIndependent/glslang.y"
10247|     90|                        {
10248|     90|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     90|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     90|#define parseContext (*pParseContext)
  ------------------
10249|     90|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     90|#define parseContext (*pParseContext)
  ------------------
10250|     90|        (yyval.interm.type).basicType = EbtSampler;
10251|     90|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd1D, true);
10252|     90|    }
10253|     90|#line 10254 "MachineIndependent/glslang_tab.cpp"
10254|     90|    break;
10255|       |
10256|    150|  case 450: /* type_specifier_nonarray: F16TEXTURE2DARRAY  */
  ------------------
  |  Branch (10256:3): [True: 150, False: 11.0M]
  ------------------
10257|    150|#line 3081 "MachineIndependent/glslang.y"
10258|    150|                        {
10259|    150|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    150|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    150|#define parseContext (*pParseContext)
  ------------------
10260|    150|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    150|#define parseContext (*pParseContext)
  ------------------
10261|    150|        (yyval.interm.type).basicType = EbtSampler;
10262|    150|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, true);
10263|    150|    }
10264|    150|#line 10265 "MachineIndependent/glslang_tab.cpp"
10265|    150|    break;
10266|       |
10267|     30|  case 451: /* type_specifier_nonarray: F16TEXTURECUBEARRAY  */
  ------------------
  |  Branch (10267:3): [True: 30, False: 11.0M]
  ------------------
10268|     30|#line 3087 "MachineIndependent/glslang.y"
10269|     30|                          {
10270|     30|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     30|#define parseContext (*pParseContext)
  ------------------
10271|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     30|#define parseContext (*pParseContext)
  ------------------
10272|     30|        (yyval.interm.type).basicType = EbtSampler;
10273|     30|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdCube, true);
10274|     30|    }
10275|     30|#line 10276 "MachineIndependent/glslang_tab.cpp"
10276|     30|    break;
10277|       |
10278|     60|  case 452: /* type_specifier_nonarray: ITEXTURE1D  */
  ------------------
  |  Branch (10278:3): [True: 60, False: 11.0M]
  ------------------
10279|     60|#line 3093 "MachineIndependent/glslang.y"
10280|     60|                 {
10281|     60|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     60|#define parseContext (*pParseContext)
  ------------------
10282|     60|        (yyval.interm.type).basicType = EbtSampler;
10283|     60|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd1D);
10284|     60|    }
10285|     60|#line 10286 "MachineIndependent/glslang_tab.cpp"
10286|     60|    break;
10287|       |
10288|     60|  case 453: /* type_specifier_nonarray: ITEXTURE1DARRAY  */
  ------------------
  |  Branch (10288:3): [True: 60, False: 11.0M]
  ------------------
10289|     60|#line 3098 "MachineIndependent/glslang.y"
10290|     60|                      {
10291|     60|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     60|#define parseContext (*pParseContext)
  ------------------
10292|     60|        (yyval.interm.type).basicType = EbtSampler;
10293|     60|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd1D, true);
10294|     60|    }
10295|     60|#line 10296 "MachineIndependent/glslang_tab.cpp"
10296|     60|    break;
10297|       |
10298|     60|  case 454: /* type_specifier_nonarray: UTEXTURE1D  */
  ------------------
  |  Branch (10298:3): [True: 60, False: 11.0M]
  ------------------
10299|     60|#line 3103 "MachineIndependent/glslang.y"
10300|     60|                 {
10301|     60|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     60|#define parseContext (*pParseContext)
  ------------------
10302|     60|        (yyval.interm.type).basicType = EbtSampler;
10303|     60|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd1D);
10304|     60|    }
10305|     60|#line 10306 "MachineIndependent/glslang_tab.cpp"
10306|     60|    break;
10307|       |
10308|     60|  case 455: /* type_specifier_nonarray: UTEXTURE1DARRAY  */
  ------------------
  |  Branch (10308:3): [True: 60, False: 11.0M]
  ------------------
10309|     60|#line 3108 "MachineIndependent/glslang.y"
10310|     60|                      {
10311|     60|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     60|#define parseContext (*pParseContext)
  ------------------
10312|     60|        (yyval.interm.type).basicType = EbtSampler;
10313|     60|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd1D, true);
10314|     60|    }
10315|     60|#line 10316 "MachineIndependent/glslang_tab.cpp"
10316|     60|    break;
10317|       |
10318|     75|  case 456: /* type_specifier_nonarray: TEXTURE2DRECT  */
  ------------------
  |  Branch (10318:3): [True: 75, False: 11.0M]
  ------------------
10319|     75|#line 3113 "MachineIndependent/glslang.y"
10320|     75|                    {
10321|     75|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     75|#define parseContext (*pParseContext)
  ------------------
10322|     75|        (yyval.interm.type).basicType = EbtSampler;
10323|     75|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdRect);
10324|     75|    }
10325|     75|#line 10326 "MachineIndependent/glslang_tab.cpp"
10326|     75|    break;
10327|       |
10328|    135|  case 457: /* type_specifier_nonarray: F16TEXTURE2DRECT  */
  ------------------
  |  Branch (10328:3): [True: 135, False: 11.0M]
  ------------------
10329|    135|#line 3118 "MachineIndependent/glslang.y"
10330|    135|                       {
10331|    135|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    135|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    135|#define parseContext (*pParseContext)
  ------------------
10332|    135|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    135|#define parseContext (*pParseContext)
  ------------------
10333|    135|        (yyval.interm.type).basicType = EbtSampler;
10334|    135|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdRect);
10335|    135|    }
10336|    135|#line 10337 "MachineIndependent/glslang_tab.cpp"
10337|    135|    break;
10338|       |
10339|     75|  case 458: /* type_specifier_nonarray: ITEXTURE2DRECT  */
  ------------------
  |  Branch (10339:3): [True: 75, False: 11.0M]
  ------------------
10340|     75|#line 3124 "MachineIndependent/glslang.y"
10341|     75|                     {
10342|     75|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     75|#define parseContext (*pParseContext)
  ------------------
10343|     75|        (yyval.interm.type).basicType = EbtSampler;
10344|     75|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdRect);
10345|     75|    }
10346|     75|#line 10347 "MachineIndependent/glslang_tab.cpp"
10347|     75|    break;
10348|       |
10349|     75|  case 459: /* type_specifier_nonarray: UTEXTURE2DRECT  */
  ------------------
  |  Branch (10349:3): [True: 75, False: 11.0M]
  ------------------
10350|     75|#line 3129 "MachineIndependent/glslang.y"
10351|     75|                     {
10352|     75|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     75|#define parseContext (*pParseContext)
  ------------------
10353|     75|        (yyval.interm.type).basicType = EbtSampler;
10354|     75|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdRect);
10355|     75|    }
10356|     75|#line 10357 "MachineIndependent/glslang_tab.cpp"
10357|     75|    break;
10358|       |
10359|     30|  case 460: /* type_specifier_nonarray: TEXTUREBUFFER  */
  ------------------
  |  Branch (10359:3): [True: 30, False: 11.0M]
  ------------------
10360|     30|#line 3134 "MachineIndependent/glslang.y"
10361|     30|                    {
10362|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     30|#define parseContext (*pParseContext)
  ------------------
10363|     30|        (yyval.interm.type).basicType = EbtSampler;
10364|     30|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdBuffer);
10365|     30|    }
10366|     30|#line 10367 "MachineIndependent/glslang_tab.cpp"
10367|     30|    break;
10368|       |
10369|     45|  case 461: /* type_specifier_nonarray: F16TEXTUREBUFFER  */
  ------------------
  |  Branch (10369:3): [True: 45, False: 11.0M]
  ------------------
10370|     45|#line 3139 "MachineIndependent/glslang.y"
10371|     45|                       {
10372|     45|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     45|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     45|#define parseContext (*pParseContext)
  ------------------
10373|     45|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     45|#define parseContext (*pParseContext)
  ------------------
10374|     45|        (yyval.interm.type).basicType = EbtSampler;
10375|     45|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdBuffer);
10376|     45|    }
10377|     45|#line 10378 "MachineIndependent/glslang_tab.cpp"
10378|     45|    break;
10379|       |
10380|     30|  case 462: /* type_specifier_nonarray: ITEXTUREBUFFER  */
  ------------------
  |  Branch (10380:3): [True: 30, False: 11.0M]
  ------------------
10381|     30|#line 3145 "MachineIndependent/glslang.y"
10382|     30|                     {
10383|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     30|#define parseContext (*pParseContext)
  ------------------
10384|     30|        (yyval.interm.type).basicType = EbtSampler;
10385|     30|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdBuffer);
10386|     30|    }
10387|     30|#line 10388 "MachineIndependent/glslang_tab.cpp"
10388|     30|    break;
10389|       |
10390|     30|  case 463: /* type_specifier_nonarray: UTEXTUREBUFFER  */
  ------------------
  |  Branch (10390:3): [True: 30, False: 11.0M]
  ------------------
10391|     30|#line 3150 "MachineIndependent/glslang.y"
10392|     30|                     {
10393|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     30|#define parseContext (*pParseContext)
  ------------------
10394|     30|        (yyval.interm.type).basicType = EbtSampler;
10395|     30|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdBuffer);
10396|     30|    }
10397|     30|#line 10398 "MachineIndependent/glslang_tab.cpp"
10398|     30|    break;
10399|       |
10400|     60|  case 464: /* type_specifier_nonarray: TEXTURE2DMS  */
  ------------------
  |  Branch (10400:3): [True: 60, False: 11.0M]
  ------------------
10401|     60|#line 3155 "MachineIndependent/glslang.y"
10402|     60|                  {
10403|     60|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     60|#define parseContext (*pParseContext)
  ------------------
10404|     60|        (yyval.interm.type).basicType = EbtSampler;
10405|     60|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, false, false, true);
10406|     60|    }
10407|     60|#line 10408 "MachineIndependent/glslang_tab.cpp"
10408|     60|    break;
10409|       |
10410|     90|  case 465: /* type_specifier_nonarray: F16TEXTURE2DMS  */
  ------------------
  |  Branch (10410:3): [True: 90, False: 11.0M]
  ------------------
10411|     90|#line 3160 "MachineIndependent/glslang.y"
10412|     90|                     {
10413|     90|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     90|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     90|#define parseContext (*pParseContext)
  ------------------
10414|     90|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     90|#define parseContext (*pParseContext)
  ------------------
10415|     90|        (yyval.interm.type).basicType = EbtSampler;
10416|     90|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, false, false, true);
10417|     90|    }
10418|     90|#line 10419 "MachineIndependent/glslang_tab.cpp"
10419|     90|    break;
10420|       |
10421|     60|  case 466: /* type_specifier_nonarray: ITEXTURE2DMS  */
  ------------------
  |  Branch (10421:3): [True: 60, False: 11.0M]
  ------------------
10422|     60|#line 3166 "MachineIndependent/glslang.y"
10423|     60|                   {
10424|     60|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     60|#define parseContext (*pParseContext)
  ------------------
10425|     60|        (yyval.interm.type).basicType = EbtSampler;
10426|     60|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, false, false, true);
10427|     60|    }
10428|     60|#line 10429 "MachineIndependent/glslang_tab.cpp"
10429|     60|    break;
10430|       |
10431|     60|  case 467: /* type_specifier_nonarray: UTEXTURE2DMS  */
  ------------------
  |  Branch (10431:3): [True: 60, False: 11.0M]
  ------------------
10432|     60|#line 3171 "MachineIndependent/glslang.y"
10433|     60|                   {
10434|     60|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     60|#define parseContext (*pParseContext)
  ------------------
10435|     60|        (yyval.interm.type).basicType = EbtSampler;
10436|     60|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, false, false, true);
10437|     60|    }
10438|     60|#line 10439 "MachineIndependent/glslang_tab.cpp"
10439|     60|    break;
10440|       |
10441|     60|  case 468: /* type_specifier_nonarray: TEXTURE2DMSARRAY  */
  ------------------
  |  Branch (10441:3): [True: 60, False: 11.0M]
  ------------------
10442|     60|#line 3176 "MachineIndependent/glslang.y"
10443|     60|                       {
10444|     60|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     60|#define parseContext (*pParseContext)
  ------------------
10445|     60|        (yyval.interm.type).basicType = EbtSampler;
10446|     60|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, true, false, true);
10447|     60|    }
10448|     60|#line 10449 "MachineIndependent/glslang_tab.cpp"
10449|     60|    break;
10450|       |
10451|     90|  case 469: /* type_specifier_nonarray: F16TEXTURE2DMSARRAY  */
  ------------------
  |  Branch (10451:3): [True: 90, False: 11.0M]
  ------------------
10452|     90|#line 3181 "MachineIndependent/glslang.y"
10453|     90|                          {
10454|     90|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     90|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     90|#define parseContext (*pParseContext)
  ------------------
10455|     90|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     90|#define parseContext (*pParseContext)
  ------------------
10456|     90|        (yyval.interm.type).basicType = EbtSampler;
10457|     90|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, true, false, true);
10458|     90|    }
10459|     90|#line 10460 "MachineIndependent/glslang_tab.cpp"
10460|     90|    break;
10461|       |
10462|     60|  case 470: /* type_specifier_nonarray: ITEXTURE2DMSARRAY  */
  ------------------
  |  Branch (10462:3): [True: 60, False: 11.0M]
  ------------------
10463|     60|#line 3187 "MachineIndependent/glslang.y"
10464|     60|                        {
10465|     60|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     60|#define parseContext (*pParseContext)
  ------------------
10466|     60|        (yyval.interm.type).basicType = EbtSampler;
10467|     60|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, true, false, true);
10468|     60|    }
10469|     60|#line 10470 "MachineIndependent/glslang_tab.cpp"
10470|     60|    break;
10471|       |
10472|     60|  case 471: /* type_specifier_nonarray: UTEXTURE2DMSARRAY  */
  ------------------
  |  Branch (10472:3): [True: 60, False: 11.0M]
  ------------------
10473|     60|#line 3192 "MachineIndependent/glslang.y"
10474|     60|                        {
10475|     60|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     60|#define parseContext (*pParseContext)
  ------------------
10476|     60|        (yyval.interm.type).basicType = EbtSampler;
10477|     60|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, true, false, true);
10478|     60|    }
10479|     60|#line 10480 "MachineIndependent/glslang_tab.cpp"
10480|     60|    break;
10481|       |
10482|    621|  case 472: /* type_specifier_nonarray: IMAGE1D  */
  ------------------
  |  Branch (10482:3): [True: 621, False: 11.0M]
  ------------------
10483|    621|#line 3197 "MachineIndependent/glslang.y"
10484|    621|              {
10485|    621|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
10486|    621|        (yyval.interm.type).basicType = EbtSampler;
10487|    621|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd1D);
10488|    621|    }
10489|    621|#line 10490 "MachineIndependent/glslang_tab.cpp"
10490|    621|    break;
10491|       |
10492|    621|  case 473: /* type_specifier_nonarray: F16IMAGE1D  */
  ------------------
  |  Branch (10492:3): [True: 621, False: 11.0M]
  ------------------
10493|    621|#line 3202 "MachineIndependent/glslang.y"
10494|    621|                 {
10495|    621|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
10496|    621|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
10497|    621|        (yyval.interm.type).basicType = EbtSampler;
10498|    621|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd1D);
10499|    621|    }
10500|    621|#line 10501 "MachineIndependent/glslang_tab.cpp"
10501|    621|    break;
10502|       |
10503|    621|  case 474: /* type_specifier_nonarray: IIMAGE1D  */
  ------------------
  |  Branch (10503:3): [True: 621, False: 11.0M]
  ------------------
10504|    621|#line 3208 "MachineIndependent/glslang.y"
10505|    621|               {
10506|    621|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
10507|    621|        (yyval.interm.type).basicType = EbtSampler;
10508|    621|        (yyval.interm.type).sampler.setImage(EbtInt, Esd1D);
10509|    621|    }
10510|    621|#line 10511 "MachineIndependent/glslang_tab.cpp"
10511|    621|    break;
10512|       |
10513|    621|  case 475: /* type_specifier_nonarray: UIMAGE1D  */
  ------------------
  |  Branch (10513:3): [True: 621, False: 11.0M]
  ------------------
10514|    621|#line 3213 "MachineIndependent/glslang.y"
10515|    621|               {
10516|    621|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
10517|    621|        (yyval.interm.type).basicType = EbtSampler;
10518|    621|        (yyval.interm.type).sampler.setImage(EbtUint, Esd1D);
10519|    621|    }
10520|    621|#line 10521 "MachineIndependent/glslang_tab.cpp"
10521|    621|    break;
10522|       |
10523|    675|  case 476: /* type_specifier_nonarray: IMAGE2D  */
  ------------------
  |  Branch (10523:3): [True: 675, False: 11.0M]
  ------------------
10524|    675|#line 3218 "MachineIndependent/glslang.y"
10525|    675|              {
10526|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10527|    675|        (yyval.interm.type).basicType = EbtSampler;
10528|    675|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D);
10529|    675|    }
10530|    675|#line 10531 "MachineIndependent/glslang_tab.cpp"
10531|    675|    break;
10532|       |
10533|    675|  case 477: /* type_specifier_nonarray: F16IMAGE2D  */
  ------------------
  |  Branch (10533:3): [True: 675, False: 11.0M]
  ------------------
10534|    675|#line 3223 "MachineIndependent/glslang.y"
10535|    675|                 {
10536|    675|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10537|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10538|    675|        (yyval.interm.type).basicType = EbtSampler;
10539|    675|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D);
10540|    675|    }
10541|    675|#line 10542 "MachineIndependent/glslang_tab.cpp"
10542|    675|    break;
10543|       |
10544|    675|  case 478: /* type_specifier_nonarray: IIMAGE2D  */
  ------------------
  |  Branch (10544:3): [True: 675, False: 11.0M]
  ------------------
10545|    675|#line 3229 "MachineIndependent/glslang.y"
10546|    675|               {
10547|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10548|    675|        (yyval.interm.type).basicType = EbtSampler;
10549|    675|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D);
10550|    675|    }
10551|    675|#line 10552 "MachineIndependent/glslang_tab.cpp"
10552|    675|    break;
10553|       |
10554|    675|  case 479: /* type_specifier_nonarray: UIMAGE2D  */
  ------------------
  |  Branch (10554:3): [True: 675, False: 11.0M]
  ------------------
10555|    675|#line 3234 "MachineIndependent/glslang.y"
10556|    675|               {
10557|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10558|    675|        (yyval.interm.type).basicType = EbtSampler;
10559|    675|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D);
10560|    675|    }
10561|    675|#line 10562 "MachineIndependent/glslang_tab.cpp"
10562|    675|    break;
10563|       |
10564|    675|  case 480: /* type_specifier_nonarray: IMAGE3D  */
  ------------------
  |  Branch (10564:3): [True: 675, False: 11.0M]
  ------------------
10565|    675|#line 3239 "MachineIndependent/glslang.y"
10566|    675|              {
10567|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10568|    675|        (yyval.interm.type).basicType = EbtSampler;
10569|    675|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd3D);
10570|    675|    }
10571|    675|#line 10572 "MachineIndependent/glslang_tab.cpp"
10572|    675|    break;
10573|       |
10574|    675|  case 481: /* type_specifier_nonarray: F16IMAGE3D  */
  ------------------
  |  Branch (10574:3): [True: 675, False: 11.0M]
  ------------------
10575|    675|#line 3244 "MachineIndependent/glslang.y"
10576|    675|                 {
10577|    675|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10578|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10579|    675|        (yyval.interm.type).basicType = EbtSampler;
10580|    675|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd3D);
10581|    675|    }
10582|    675|#line 10583 "MachineIndependent/glslang_tab.cpp"
10583|    675|    break;
10584|       |
10585|    675|  case 482: /* type_specifier_nonarray: IIMAGE3D  */
  ------------------
  |  Branch (10585:3): [True: 675, False: 11.0M]
  ------------------
10586|    675|#line 3250 "MachineIndependent/glslang.y"
10587|    675|               {
10588|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10589|    675|        (yyval.interm.type).basicType = EbtSampler;
10590|    675|        (yyval.interm.type).sampler.setImage(EbtInt, Esd3D);
10591|    675|    }
10592|    675|#line 10593 "MachineIndependent/glslang_tab.cpp"
10593|    675|    break;
10594|       |
10595|    675|  case 483: /* type_specifier_nonarray: UIMAGE3D  */
  ------------------
  |  Branch (10595:3): [True: 675, False: 11.0M]
  ------------------
10596|    675|#line 3255 "MachineIndependent/glslang.y"
10597|    675|               {
10598|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10599|    675|        (yyval.interm.type).basicType = EbtSampler;
10600|    675|        (yyval.interm.type).sampler.setImage(EbtUint, Esd3D);
10601|    675|    }
10602|    675|#line 10603 "MachineIndependent/glslang_tab.cpp"
10603|    675|    break;
10604|       |
10605|    594|  case 484: /* type_specifier_nonarray: IMAGE2DRECT  */
  ------------------
  |  Branch (10605:3): [True: 594, False: 11.0M]
  ------------------
10606|    594|#line 3260 "MachineIndependent/glslang.y"
10607|    594|                  {
10608|    594|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    594|#define parseContext (*pParseContext)
  ------------------
10609|    594|        (yyval.interm.type).basicType = EbtSampler;
10610|    594|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdRect);
10611|    594|    }
10612|    594|#line 10613 "MachineIndependent/glslang_tab.cpp"
10613|    594|    break;
10614|       |
10615|    594|  case 485: /* type_specifier_nonarray: F16IMAGE2DRECT  */
  ------------------
  |  Branch (10615:3): [True: 594, False: 11.0M]
  ------------------
10616|    594|#line 3265 "MachineIndependent/glslang.y"
10617|    594|                     {
10618|    594|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    594|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    594|#define parseContext (*pParseContext)
  ------------------
10619|    594|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    594|#define parseContext (*pParseContext)
  ------------------
10620|    594|        (yyval.interm.type).basicType = EbtSampler;
10621|    594|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdRect);
10622|    594|    }
10623|    594|#line 10624 "MachineIndependent/glslang_tab.cpp"
10624|    594|    break;
10625|       |
10626|    594|  case 486: /* type_specifier_nonarray: IIMAGE2DRECT  */
  ------------------
  |  Branch (10626:3): [True: 594, False: 11.0M]
  ------------------
10627|    594|#line 3271 "MachineIndependent/glslang.y"
10628|    594|                   {
10629|    594|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    594|#define parseContext (*pParseContext)
  ------------------
10630|    594|        (yyval.interm.type).basicType = EbtSampler;
10631|    594|        (yyval.interm.type).sampler.setImage(EbtInt, EsdRect);
10632|    594|    }
10633|    594|#line 10634 "MachineIndependent/glslang_tab.cpp"
10634|    594|    break;
10635|       |
10636|    594|  case 487: /* type_specifier_nonarray: UIMAGE2DRECT  */
  ------------------
  |  Branch (10636:3): [True: 594, False: 11.0M]
  ------------------
10637|    594|#line 3276 "MachineIndependent/glslang.y"
10638|    594|                   {
10639|    594|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    594|#define parseContext (*pParseContext)
  ------------------
10640|    594|        (yyval.interm.type).basicType = EbtSampler;
10641|    594|        (yyval.interm.type).sampler.setImage(EbtUint, EsdRect);
10642|    594|    }
10643|    594|#line 10644 "MachineIndependent/glslang_tab.cpp"
10644|    594|    break;
10645|       |
10646|    675|  case 488: /* type_specifier_nonarray: IMAGECUBE  */
  ------------------
  |  Branch (10646:3): [True: 675, False: 11.0M]
  ------------------
10647|    675|#line 3281 "MachineIndependent/glslang.y"
10648|    675|                {
10649|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10650|    675|        (yyval.interm.type).basicType = EbtSampler;
10651|    675|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdCube);
10652|    675|    }
10653|    675|#line 10654 "MachineIndependent/glslang_tab.cpp"
10654|    675|    break;
10655|       |
10656|    675|  case 489: /* type_specifier_nonarray: F16IMAGECUBE  */
  ------------------
  |  Branch (10656:3): [True: 675, False: 11.0M]
  ------------------
10657|    675|#line 3286 "MachineIndependent/glslang.y"
10658|    675|                   {
10659|    675|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10660|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10661|    675|        (yyval.interm.type).basicType = EbtSampler;
10662|    675|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdCube);
10663|    675|    }
10664|    675|#line 10665 "MachineIndependent/glslang_tab.cpp"
10665|    675|    break;
10666|       |
10667|    675|  case 490: /* type_specifier_nonarray: IIMAGECUBE  */
  ------------------
  |  Branch (10667:3): [True: 675, False: 11.0M]
  ------------------
10668|    675|#line 3292 "MachineIndependent/glslang.y"
10669|    675|                 {
10670|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10671|    675|        (yyval.interm.type).basicType = EbtSampler;
10672|    675|        (yyval.interm.type).sampler.setImage(EbtInt, EsdCube);
10673|    675|    }
10674|    675|#line 10675 "MachineIndependent/glslang_tab.cpp"
10675|    675|    break;
10676|       |
10677|    675|  case 491: /* type_specifier_nonarray: UIMAGECUBE  */
  ------------------
  |  Branch (10677:3): [True: 675, False: 11.0M]
  ------------------
10678|    675|#line 3297 "MachineIndependent/glslang.y"
10679|    675|                 {
10680|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10681|    675|        (yyval.interm.type).basicType = EbtSampler;
10682|    675|        (yyval.interm.type).sampler.setImage(EbtUint, EsdCube);
10683|    675|    }
10684|    675|#line 10685 "MachineIndependent/glslang_tab.cpp"
10685|    675|    break;
10686|       |
10687|    567|  case 492: /* type_specifier_nonarray: IMAGEBUFFER  */
  ------------------
  |  Branch (10687:3): [True: 567, False: 11.0M]
  ------------------
10688|    567|#line 3302 "MachineIndependent/glslang.y"
10689|    567|                  {
10690|    567|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    567|#define parseContext (*pParseContext)
  ------------------
10691|    567|        (yyval.interm.type).basicType = EbtSampler;
10692|    567|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdBuffer);
10693|    567|    }
10694|    567|#line 10695 "MachineIndependent/glslang_tab.cpp"
10695|    567|    break;
10696|       |
10697|    567|  case 493: /* type_specifier_nonarray: F16IMAGEBUFFER  */
  ------------------
  |  Branch (10697:3): [True: 567, False: 11.0M]
  ------------------
10698|    567|#line 3307 "MachineIndependent/glslang.y"
10699|    567|                     {
10700|    567|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    567|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    567|#define parseContext (*pParseContext)
  ------------------
10701|    567|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    567|#define parseContext (*pParseContext)
  ------------------
10702|    567|        (yyval.interm.type).basicType = EbtSampler;
10703|    567|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdBuffer);
10704|    567|    }
10705|    567|#line 10706 "MachineIndependent/glslang_tab.cpp"
10706|    567|    break;
10707|       |
10708|    567|  case 494: /* type_specifier_nonarray: IIMAGEBUFFER  */
  ------------------
  |  Branch (10708:3): [True: 567, False: 11.0M]
  ------------------
10709|    567|#line 3313 "MachineIndependent/glslang.y"
10710|    567|                   {
10711|    567|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    567|#define parseContext (*pParseContext)
  ------------------
10712|    567|        (yyval.interm.type).basicType = EbtSampler;
10713|    567|        (yyval.interm.type).sampler.setImage(EbtInt, EsdBuffer);
10714|    567|    }
10715|    567|#line 10716 "MachineIndependent/glslang_tab.cpp"
10716|    567|    break;
10717|       |
10718|    567|  case 495: /* type_specifier_nonarray: UIMAGEBUFFER  */
  ------------------
  |  Branch (10718:3): [True: 567, False: 11.0M]
  ------------------
10719|    567|#line 3318 "MachineIndependent/glslang.y"
10720|    567|                   {
10721|    567|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    567|#define parseContext (*pParseContext)
  ------------------
10722|    567|        (yyval.interm.type).basicType = EbtSampler;
10723|    567|        (yyval.interm.type).sampler.setImage(EbtUint, EsdBuffer);
10724|    567|    }
10725|    567|#line 10726 "MachineIndependent/glslang_tab.cpp"
10726|    567|    break;
10727|       |
10728|    621|  case 496: /* type_specifier_nonarray: IMAGE1DARRAY  */
  ------------------
  |  Branch (10728:3): [True: 621, False: 11.0M]
  ------------------
10729|    621|#line 3323 "MachineIndependent/glslang.y"
10730|    621|                   {
10731|    621|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
10732|    621|        (yyval.interm.type).basicType = EbtSampler;
10733|    621|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd1D, true);
10734|    621|    }
10735|    621|#line 10736 "MachineIndependent/glslang_tab.cpp"
10736|    621|    break;
10737|       |
10738|    621|  case 497: /* type_specifier_nonarray: F16IMAGE1DARRAY  */
  ------------------
  |  Branch (10738:3): [True: 621, False: 11.0M]
  ------------------
10739|    621|#line 3328 "MachineIndependent/glslang.y"
10740|    621|                      {
10741|    621|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
10742|    621|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
10743|    621|        (yyval.interm.type).basicType = EbtSampler;
10744|    621|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd1D, true);
10745|    621|    }
10746|    621|#line 10747 "MachineIndependent/glslang_tab.cpp"
10747|    621|    break;
10748|       |
10749|    621|  case 498: /* type_specifier_nonarray: IIMAGE1DARRAY  */
  ------------------
  |  Branch (10749:3): [True: 621, False: 11.0M]
  ------------------
10750|    621|#line 3334 "MachineIndependent/glslang.y"
10751|    621|                    {
10752|    621|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
10753|    621|        (yyval.interm.type).basicType = EbtSampler;
10754|    621|        (yyval.interm.type).sampler.setImage(EbtInt, Esd1D, true);
10755|    621|    }
10756|    621|#line 10757 "MachineIndependent/glslang_tab.cpp"
10757|    621|    break;
10758|       |
10759|    621|  case 499: /* type_specifier_nonarray: UIMAGE1DARRAY  */
  ------------------
  |  Branch (10759:3): [True: 621, False: 11.0M]
  ------------------
10760|    621|#line 3339 "MachineIndependent/glslang.y"
10761|    621|                    {
10762|    621|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
10763|    621|        (yyval.interm.type).basicType = EbtSampler;
10764|    621|        (yyval.interm.type).sampler.setImage(EbtUint, Esd1D, true);
10765|    621|    }
10766|    621|#line 10767 "MachineIndependent/glslang_tab.cpp"
10767|    621|    break;
10768|       |
10769|    675|  case 500: /* type_specifier_nonarray: IMAGE2DARRAY  */
  ------------------
  |  Branch (10769:3): [True: 675, False: 11.0M]
  ------------------
10770|    675|#line 3344 "MachineIndependent/glslang.y"
10771|    675|                   {
10772|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10773|    675|        (yyval.interm.type).basicType = EbtSampler;
10774|    675|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, true);
10775|    675|    }
10776|    675|#line 10777 "MachineIndependent/glslang_tab.cpp"
10777|    675|    break;
10778|       |
10779|    675|  case 501: /* type_specifier_nonarray: F16IMAGE2DARRAY  */
  ------------------
  |  Branch (10779:3): [True: 675, False: 11.0M]
  ------------------
10780|    675|#line 3349 "MachineIndependent/glslang.y"
10781|    675|                      {
10782|    675|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10783|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10784|    675|        (yyval.interm.type).basicType = EbtSampler;
10785|    675|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, true);
10786|    675|    }
10787|    675|#line 10788 "MachineIndependent/glslang_tab.cpp"
10788|    675|    break;
10789|       |
10790|    675|  case 502: /* type_specifier_nonarray: IIMAGE2DARRAY  */
  ------------------
  |  Branch (10790:3): [True: 675, False: 11.0M]
  ------------------
10791|    675|#line 3355 "MachineIndependent/glslang.y"
10792|    675|                    {
10793|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10794|    675|        (yyval.interm.type).basicType = EbtSampler;
10795|    675|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D, true);
10796|    675|    }
10797|    675|#line 10798 "MachineIndependent/glslang_tab.cpp"
10798|    675|    break;
10799|       |
10800|    675|  case 503: /* type_specifier_nonarray: UIMAGE2DARRAY  */
  ------------------
  |  Branch (10800:3): [True: 675, False: 11.0M]
  ------------------
10801|    675|#line 3360 "MachineIndependent/glslang.y"
10802|    675|                    {
10803|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10804|    675|        (yyval.interm.type).basicType = EbtSampler;
10805|    675|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D, true);
10806|    675|    }
10807|    675|#line 10808 "MachineIndependent/glslang_tab.cpp"
10808|    675|    break;
10809|       |
10810|    675|  case 504: /* type_specifier_nonarray: IMAGECUBEARRAY  */
  ------------------
  |  Branch (10810:3): [True: 675, False: 11.0M]
  ------------------
10811|    675|#line 3365 "MachineIndependent/glslang.y"
10812|    675|                     {
10813|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10814|    675|        (yyval.interm.type).basicType = EbtSampler;
10815|    675|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdCube, true);
10816|    675|    }
10817|    675|#line 10818 "MachineIndependent/glslang_tab.cpp"
10818|    675|    break;
10819|       |
10820|    675|  case 505: /* type_specifier_nonarray: F16IMAGECUBEARRAY  */
  ------------------
  |  Branch (10820:3): [True: 675, False: 11.0M]
  ------------------
10821|    675|#line 3370 "MachineIndependent/glslang.y"
10822|    675|                        {
10823|    675|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10824|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10825|    675|        (yyval.interm.type).basicType = EbtSampler;
10826|    675|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdCube, true);
10827|    675|    }
10828|    675|#line 10829 "MachineIndependent/glslang_tab.cpp"
10829|    675|    break;
10830|       |
10831|    675|  case 506: /* type_specifier_nonarray: IIMAGECUBEARRAY  */
  ------------------
  |  Branch (10831:3): [True: 675, False: 11.0M]
  ------------------
10832|    675|#line 3376 "MachineIndependent/glslang.y"
10833|    675|                      {
10834|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10835|    675|        (yyval.interm.type).basicType = EbtSampler;
10836|    675|        (yyval.interm.type).sampler.setImage(EbtInt, EsdCube, true);
10837|    675|    }
10838|    675|#line 10839 "MachineIndependent/glslang_tab.cpp"
10839|    675|    break;
10840|       |
10841|    675|  case 507: /* type_specifier_nonarray: UIMAGECUBEARRAY  */
  ------------------
  |  Branch (10841:3): [True: 675, False: 11.0M]
  ------------------
10842|    675|#line 3381 "MachineIndependent/glslang.y"
10843|    675|                      {
10844|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10845|    675|        (yyval.interm.type).basicType = EbtSampler;
10846|    675|        (yyval.interm.type).sampler.setImage(EbtUint, EsdCube, true);
10847|    675|    }
10848|    675|#line 10849 "MachineIndependent/glslang_tab.cpp"
10849|    675|    break;
10850|       |
10851|    621|  case 508: /* type_specifier_nonarray: IMAGE2DMS  */
  ------------------
  |  Branch (10851:3): [True: 621, False: 11.0M]
  ------------------
10852|    621|#line 3386 "MachineIndependent/glslang.y"
10853|    621|                {
10854|    621|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
10855|    621|        (yyval.interm.type).basicType = EbtSampler;
10856|    621|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, false, false, true);
10857|    621|    }
10858|    621|#line 10859 "MachineIndependent/glslang_tab.cpp"
10859|    621|    break;
10860|       |
10861|    621|  case 509: /* type_specifier_nonarray: F16IMAGE2DMS  */
  ------------------
  |  Branch (10861:3): [True: 621, False: 11.0M]
  ------------------
10862|    621|#line 3391 "MachineIndependent/glslang.y"
10863|    621|                   {
10864|    621|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
10865|    621|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
10866|    621|        (yyval.interm.type).basicType = EbtSampler;
10867|    621|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, false, false, true);
10868|    621|    }
10869|    621|#line 10870 "MachineIndependent/glslang_tab.cpp"
10870|    621|    break;
10871|       |
10872|    621|  case 510: /* type_specifier_nonarray: IIMAGE2DMS  */
  ------------------
  |  Branch (10872:3): [True: 621, False: 11.0M]
  ------------------
10873|    621|#line 3397 "MachineIndependent/glslang.y"
10874|    621|                 {
10875|    621|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
10876|    621|        (yyval.interm.type).basicType = EbtSampler;
10877|    621|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D, false, false, true);
10878|    621|    }
10879|    621|#line 10880 "MachineIndependent/glslang_tab.cpp"
10880|    621|    break;
10881|       |
10882|    621|  case 511: /* type_specifier_nonarray: UIMAGE2DMS  */
  ------------------
  |  Branch (10882:3): [True: 621, False: 11.0M]
  ------------------
10883|    621|#line 3402 "MachineIndependent/glslang.y"
10884|    621|                 {
10885|    621|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
10886|    621|        (yyval.interm.type).basicType = EbtSampler;
10887|    621|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D, false, false, true);
10888|    621|    }
10889|    621|#line 10890 "MachineIndependent/glslang_tab.cpp"
10890|    621|    break;
10891|       |
10892|    621|  case 512: /* type_specifier_nonarray: IMAGE2DMSARRAY  */
  ------------------
  |  Branch (10892:3): [True: 621, False: 11.0M]
  ------------------
10893|    621|#line 3407 "MachineIndependent/glslang.y"
10894|    621|                     {
10895|    621|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
10896|    621|        (yyval.interm.type).basicType = EbtSampler;
10897|    621|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, true, false, true);
10898|    621|    }
10899|    621|#line 10900 "MachineIndependent/glslang_tab.cpp"
10900|    621|    break;
10901|       |
10902|    621|  case 513: /* type_specifier_nonarray: F16IMAGE2DMSARRAY  */
  ------------------
  |  Branch (10902:3): [True: 621, False: 11.0M]
  ------------------
10903|    621|#line 3412 "MachineIndependent/glslang.y"
10904|    621|                        {
10905|    621|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
10906|    621|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
10907|    621|        (yyval.interm.type).basicType = EbtSampler;
10908|    621|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, true, false, true);
10909|    621|    }
10910|    621|#line 10911 "MachineIndependent/glslang_tab.cpp"
10911|    621|    break;
10912|       |
10913|    621|  case 514: /* type_specifier_nonarray: IIMAGE2DMSARRAY  */
  ------------------
  |  Branch (10913:3): [True: 621, False: 11.0M]
  ------------------
10914|    621|#line 3418 "MachineIndependent/glslang.y"
10915|    621|                      {
10916|    621|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
10917|    621|        (yyval.interm.type).basicType = EbtSampler;
10918|    621|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D, true, false, true);
10919|    621|    }
10920|    621|#line 10921 "MachineIndependent/glslang_tab.cpp"
10921|    621|    break;
10922|       |
10923|    621|  case 515: /* type_specifier_nonarray: UIMAGE2DMSARRAY  */
  ------------------
  |  Branch (10923:3): [True: 621, False: 11.0M]
  ------------------
10924|    621|#line 3423 "MachineIndependent/glslang.y"
10925|    621|                      {
10926|    621|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
10927|    621|        (yyval.interm.type).basicType = EbtSampler;
10928|    621|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D, true, false, true);
10929|    621|    }
10930|    621|#line 10931 "MachineIndependent/glslang_tab.cpp"
10931|    621|    break;
10932|       |
10933|    621|  case 516: /* type_specifier_nonarray: I64IMAGE1D  */
  ------------------
  |  Branch (10933:3): [True: 621, False: 11.0M]
  ------------------
10934|    621|#line 3428 "MachineIndependent/glslang.y"
10935|    621|                 {
10936|    621|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
10937|    621|        (yyval.interm.type).basicType = EbtSampler;
10938|    621|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd1D);
10939|    621|    }
10940|    621|#line 10941 "MachineIndependent/glslang_tab.cpp"
10941|    621|    break;
10942|       |
10943|    621|  case 517: /* type_specifier_nonarray: U64IMAGE1D  */
  ------------------
  |  Branch (10943:3): [True: 621, False: 11.0M]
  ------------------
10944|    621|#line 3433 "MachineIndependent/glslang.y"
10945|    621|                 {
10946|    621|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
10947|    621|        (yyval.interm.type).basicType = EbtSampler;
10948|    621|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd1D);
10949|    621|    }
10950|    621|#line 10951 "MachineIndependent/glslang_tab.cpp"
10951|    621|    break;
10952|       |
10953|    675|  case 518: /* type_specifier_nonarray: I64IMAGE2D  */
  ------------------
  |  Branch (10953:3): [True: 675, False: 11.0M]
  ------------------
10954|    675|#line 3438 "MachineIndependent/glslang.y"
10955|    675|                 {
10956|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10957|    675|        (yyval.interm.type).basicType = EbtSampler;
10958|    675|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D);
10959|    675|    }
10960|    675|#line 10961 "MachineIndependent/glslang_tab.cpp"
10961|    675|    break;
10962|       |
10963|    675|  case 519: /* type_specifier_nonarray: U64IMAGE2D  */
  ------------------
  |  Branch (10963:3): [True: 675, False: 11.0M]
  ------------------
10964|    675|#line 3443 "MachineIndependent/glslang.y"
10965|    675|                 {
10966|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10967|    675|        (yyval.interm.type).basicType = EbtSampler;
10968|    675|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D);
10969|    675|    }
10970|    675|#line 10971 "MachineIndependent/glslang_tab.cpp"
10971|    675|    break;
10972|       |
10973|    675|  case 520: /* type_specifier_nonarray: I64IMAGE3D  */
  ------------------
  |  Branch (10973:3): [True: 675, False: 11.0M]
  ------------------
10974|    675|#line 3448 "MachineIndependent/glslang.y"
10975|    675|                 {
10976|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10977|    675|        (yyval.interm.type).basicType = EbtSampler;
10978|    675|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd3D);
10979|    675|    }
10980|    675|#line 10981 "MachineIndependent/glslang_tab.cpp"
10981|    675|    break;
10982|       |
10983|    675|  case 521: /* type_specifier_nonarray: U64IMAGE3D  */
  ------------------
  |  Branch (10983:3): [True: 675, False: 11.0M]
  ------------------
10984|    675|#line 3453 "MachineIndependent/glslang.y"
10985|    675|                 {
10986|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
10987|    675|        (yyval.interm.type).basicType = EbtSampler;
10988|    675|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd3D);
10989|    675|    }
10990|    675|#line 10991 "MachineIndependent/glslang_tab.cpp"
10991|    675|    break;
10992|       |
10993|    594|  case 522: /* type_specifier_nonarray: I64IMAGE2DRECT  */
  ------------------
  |  Branch (10993:3): [True: 594, False: 11.0M]
  ------------------
10994|    594|#line 3458 "MachineIndependent/glslang.y"
10995|    594|                     {
10996|    594|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    594|#define parseContext (*pParseContext)
  ------------------
10997|    594|        (yyval.interm.type).basicType = EbtSampler;
10998|    594|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdRect);
10999|    594|    }
11000|    594|#line 11001 "MachineIndependent/glslang_tab.cpp"
11001|    594|    break;
11002|       |
11003|    594|  case 523: /* type_specifier_nonarray: U64IMAGE2DRECT  */
  ------------------
  |  Branch (11003:3): [True: 594, False: 11.0M]
  ------------------
11004|    594|#line 3463 "MachineIndependent/glslang.y"
11005|    594|                     {
11006|    594|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    594|#define parseContext (*pParseContext)
  ------------------
11007|    594|        (yyval.interm.type).basicType = EbtSampler;
11008|    594|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdRect);
11009|    594|    }
11010|    594|#line 11011 "MachineIndependent/glslang_tab.cpp"
11011|    594|    break;
11012|       |
11013|    675|  case 524: /* type_specifier_nonarray: I64IMAGECUBE  */
  ------------------
  |  Branch (11013:3): [True: 675, False: 11.0M]
  ------------------
11014|    675|#line 3468 "MachineIndependent/glslang.y"
11015|    675|                   {
11016|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
11017|    675|        (yyval.interm.type).basicType = EbtSampler;
11018|    675|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdCube);
11019|    675|    }
11020|    675|#line 11021 "MachineIndependent/glslang_tab.cpp"
11021|    675|    break;
11022|       |
11023|    675|  case 525: /* type_specifier_nonarray: U64IMAGECUBE  */
  ------------------
  |  Branch (11023:3): [True: 675, False: 11.0M]
  ------------------
11024|    675|#line 3473 "MachineIndependent/glslang.y"
11025|    675|                   {
11026|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
11027|    675|        (yyval.interm.type).basicType = EbtSampler;
11028|    675|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdCube);
11029|    675|    }
11030|    675|#line 11031 "MachineIndependent/glslang_tab.cpp"
11031|    675|    break;
11032|       |
11033|    567|  case 526: /* type_specifier_nonarray: I64IMAGEBUFFER  */
  ------------------
  |  Branch (11033:3): [True: 567, False: 11.0M]
  ------------------
11034|    567|#line 3478 "MachineIndependent/glslang.y"
11035|    567|                     {
11036|    567|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    567|#define parseContext (*pParseContext)
  ------------------
11037|    567|        (yyval.interm.type).basicType = EbtSampler;
11038|    567|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdBuffer);
11039|    567|    }
11040|    567|#line 11041 "MachineIndependent/glslang_tab.cpp"
11041|    567|    break;
11042|       |
11043|    567|  case 527: /* type_specifier_nonarray: U64IMAGEBUFFER  */
  ------------------
  |  Branch (11043:3): [True: 567, False: 11.0M]
  ------------------
11044|    567|#line 3483 "MachineIndependent/glslang.y"
11045|    567|                     {
11046|    567|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    567|#define parseContext (*pParseContext)
  ------------------
11047|    567|        (yyval.interm.type).basicType = EbtSampler;
11048|    567|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdBuffer);
11049|    567|    }
11050|    567|#line 11051 "MachineIndependent/glslang_tab.cpp"
11051|    567|    break;
11052|       |
11053|    621|  case 528: /* type_specifier_nonarray: I64IMAGE1DARRAY  */
  ------------------
  |  Branch (11053:3): [True: 621, False: 11.0M]
  ------------------
11054|    621|#line 3488 "MachineIndependent/glslang.y"
11055|    621|                      {
11056|    621|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
11057|    621|        (yyval.interm.type).basicType = EbtSampler;
11058|    621|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd1D, true);
11059|    621|    }
11060|    621|#line 11061 "MachineIndependent/glslang_tab.cpp"
11061|    621|    break;
11062|       |
11063|    621|  case 529: /* type_specifier_nonarray: U64IMAGE1DARRAY  */
  ------------------
  |  Branch (11063:3): [True: 621, False: 11.0M]
  ------------------
11064|    621|#line 3493 "MachineIndependent/glslang.y"
11065|    621|                      {
11066|    621|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
11067|    621|        (yyval.interm.type).basicType = EbtSampler;
11068|    621|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd1D, true);
11069|    621|    }
11070|    621|#line 11071 "MachineIndependent/glslang_tab.cpp"
11071|    621|    break;
11072|       |
11073|    675|  case 530: /* type_specifier_nonarray: I64IMAGE2DARRAY  */
  ------------------
  |  Branch (11073:3): [True: 675, False: 11.0M]
  ------------------
11074|    675|#line 3498 "MachineIndependent/glslang.y"
11075|    675|                      {
11076|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
11077|    675|        (yyval.interm.type).basicType = EbtSampler;
11078|    675|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, true);
11079|    675|    }
11080|    675|#line 11081 "MachineIndependent/glslang_tab.cpp"
11081|    675|    break;
11082|       |
11083|    675|  case 531: /* type_specifier_nonarray: U64IMAGE2DARRAY  */
  ------------------
  |  Branch (11083:3): [True: 675, False: 11.0M]
  ------------------
11084|    675|#line 3503 "MachineIndependent/glslang.y"
11085|    675|                      {
11086|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
11087|    675|        (yyval.interm.type).basicType = EbtSampler;
11088|    675|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, true);
11089|    675|    }
11090|    675|#line 11091 "MachineIndependent/glslang_tab.cpp"
11091|    675|    break;
11092|       |
11093|    675|  case 532: /* type_specifier_nonarray: I64IMAGECUBEARRAY  */
  ------------------
  |  Branch (11093:3): [True: 675, False: 11.0M]
  ------------------
11094|    675|#line 3508 "MachineIndependent/glslang.y"
11095|    675|                        {
11096|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
11097|    675|        (yyval.interm.type).basicType = EbtSampler;
11098|    675|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdCube, true);
11099|    675|    }
11100|    675|#line 11101 "MachineIndependent/glslang_tab.cpp"
11101|    675|    break;
11102|       |
11103|    675|  case 533: /* type_specifier_nonarray: U64IMAGECUBEARRAY  */
  ------------------
  |  Branch (11103:3): [True: 675, False: 11.0M]
  ------------------
11104|    675|#line 3513 "MachineIndependent/glslang.y"
11105|    675|                        {
11106|    675|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    675|#define parseContext (*pParseContext)
  ------------------
11107|    675|        (yyval.interm.type).basicType = EbtSampler;
11108|    675|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdCube, true);
11109|    675|    }
11110|    675|#line 11111 "MachineIndependent/glslang_tab.cpp"
11111|    675|    break;
11112|       |
11113|    621|  case 534: /* type_specifier_nonarray: I64IMAGE2DMS  */
  ------------------
  |  Branch (11113:3): [True: 621, False: 11.0M]
  ------------------
11114|    621|#line 3518 "MachineIndependent/glslang.y"
11115|    621|                   {
11116|    621|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
11117|    621|        (yyval.interm.type).basicType = EbtSampler;
11118|    621|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, false, false, true);
11119|    621|    }
11120|    621|#line 11121 "MachineIndependent/glslang_tab.cpp"
11121|    621|    break;
11122|       |
11123|    621|  case 535: /* type_specifier_nonarray: U64IMAGE2DMS  */
  ------------------
  |  Branch (11123:3): [True: 621, False: 11.0M]
  ------------------
11124|    621|#line 3523 "MachineIndependent/glslang.y"
11125|    621|                   {
11126|    621|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
11127|    621|        (yyval.interm.type).basicType = EbtSampler;
11128|    621|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, false, false, true);
11129|    621|    }
11130|    621|#line 11131 "MachineIndependent/glslang_tab.cpp"
11131|    621|    break;
11132|       |
11133|    621|  case 536: /* type_specifier_nonarray: I64IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11133:3): [True: 621, False: 11.0M]
  ------------------
11134|    621|#line 3528 "MachineIndependent/glslang.y"
11135|    621|                        {
11136|    621|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
11137|    621|        (yyval.interm.type).basicType = EbtSampler;
11138|    621|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, true, false, true);
11139|    621|    }
11140|    621|#line 11141 "MachineIndependent/glslang_tab.cpp"
11141|    621|    break;
11142|       |
11143|    621|  case 537: /* type_specifier_nonarray: U64IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11143:3): [True: 621, False: 11.0M]
  ------------------
11144|    621|#line 3533 "MachineIndependent/glslang.y"
11145|    621|                        {
11146|    621|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    621|#define parseContext (*pParseContext)
  ------------------
11147|    621|        (yyval.interm.type).basicType = EbtSampler;
11148|    621|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, true, false, true);
11149|    621|    }
11150|    621|#line 11151 "MachineIndependent/glslang_tab.cpp"
11151|    621|    break;
11152|       |
11153|    106|  case 538: /* type_specifier_nonarray: SAMPLEREXTERNALOES  */
  ------------------
  |  Branch (11153:3): [True: 106, False: 11.0M]
  ------------------
11154|    106|#line 3538 "MachineIndependent/glslang.y"
11155|    106|                         {  // GL_OES_EGL_image_external
11156|    106|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    106|#define parseContext (*pParseContext)
  ------------------
11157|    106|        (yyval.interm.type).basicType = EbtSampler;
11158|    106|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D);
11159|    106|        (yyval.interm.type).sampler.external = true;
11160|    106|    }
11161|    106|#line 11162 "MachineIndependent/glslang_tab.cpp"
11162|    106|    break;
11163|       |
11164|    256|  case 539: /* type_specifier_nonarray: SAMPLEREXTERNAL2DY2YEXT  */
  ------------------
  |  Branch (11164:3): [True: 256, False: 11.0M]
  ------------------
11165|    256|#line 3544 "MachineIndependent/glslang.y"
11166|    256|                              { // GL_EXT_YUV_target
11167|    256|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    256|#define parseContext (*pParseContext)
  ------------------
11168|    256|        (yyval.interm.type).basicType = EbtSampler;
11169|    256|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D);
11170|    256|        (yyval.interm.type).sampler.yuv = true;
11171|    256|    }
11172|    256|#line 11173 "MachineIndependent/glslang_tab.cpp"
11173|    256|    break;
11174|       |
11175|      2|  case 540: /* type_specifier_nonarray: ATTACHMENTEXT  */
  ------------------
  |  Branch (11175:3): [True: 2, False: 11.0M]
  ------------------
11176|      2|#line 3550 "MachineIndependent/glslang.y"
11177|      2|                    {
11178|      2|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "attachmentEXT input");
  ------------------
  |  |  756|      2|#define parseContext (*pParseContext)
  ------------------
11179|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      2|#define parseContext (*pParseContext)
  ------------------
11180|      2|        (yyval.interm.type).basicType = EbtSampler;
11181|      2|        (yyval.interm.type).sampler.setAttachmentEXT(EbtFloat);
11182|      2|    }
11183|      2|#line 11184 "MachineIndependent/glslang_tab.cpp"
11184|      2|    break;
11185|       |
11186|      2|  case 541: /* type_specifier_nonarray: IATTACHMENTEXT  */
  ------------------
  |  Branch (11186:3): [True: 2, False: 11.0M]
  ------------------
11187|      2|#line 3556 "MachineIndependent/glslang.y"
11188|      2|                     {
11189|      2|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "attachmentEXT input");
  ------------------
  |  |  756|      2|#define parseContext (*pParseContext)
  ------------------
11190|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      2|#define parseContext (*pParseContext)
  ------------------
11191|      2|        (yyval.interm.type).basicType = EbtSampler;
11192|      2|        (yyval.interm.type).sampler.setAttachmentEXT(EbtInt);
11193|      2|    }
11194|      2|#line 11195 "MachineIndependent/glslang_tab.cpp"
11195|      2|    break;
11196|       |
11197|      2|  case 542: /* type_specifier_nonarray: UATTACHMENTEXT  */
  ------------------
  |  Branch (11197:3): [True: 2, False: 11.0M]
  ------------------
11198|      2|#line 3562 "MachineIndependent/glslang.y"
11199|      2|                     {
11200|      2|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "attachmentEXT input");
  ------------------
  |  |  756|      2|#define parseContext (*pParseContext)
  ------------------
11201|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      2|#define parseContext (*pParseContext)
  ------------------
11202|      2|        (yyval.interm.type).basicType = EbtSampler;
11203|      2|        (yyval.interm.type).sampler.setAttachmentEXT(EbtUint);
11204|      2|    }
11205|      2|#line 11206 "MachineIndependent/glslang_tab.cpp"
11206|      2|    break;
11207|       |
11208|      1|  case 543: /* type_specifier_nonarray: SUBPASSINPUT  */
  ------------------
  |  Branch (11208:3): [True: 1, False: 11.0M]
  ------------------
11209|      1|#line 3568 "MachineIndependent/glslang.y"
11210|      1|                   {
11211|      1|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  756|      1|#define parseContext (*pParseContext)
  ------------------
11212|      1|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      1|#define parseContext (*pParseContext)
  ------------------
11213|      1|        (yyval.interm.type).basicType = EbtSampler;
11214|      1|        (yyval.interm.type).sampler.setSubpass(EbtFloat);
11215|      1|    }
11216|      1|#line 11217 "MachineIndependent/glslang_tab.cpp"
11217|      1|    break;
11218|       |
11219|      0|  case 544: /* type_specifier_nonarray: SUBPASSINPUTMS  */
  ------------------
  |  Branch (11219:3): [True: 0, False: 11.0M]
  ------------------
11220|      0|#line 3574 "MachineIndependent/glslang.y"
11221|      0|                     {
11222|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11223|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11224|      0|        (yyval.interm.type).basicType = EbtSampler;
11225|      0|        (yyval.interm.type).sampler.setSubpass(EbtFloat, true);
11226|      0|    }
11227|      0|#line 11228 "MachineIndependent/glslang_tab.cpp"
11228|      0|    break;
11229|       |
11230|      0|  case 545: /* type_specifier_nonarray: F16SUBPASSINPUT  */
  ------------------
  |  Branch (11230:3): [True: 0, False: 11.0M]
  ------------------
11231|      0|#line 3580 "MachineIndependent/glslang.y"
11232|      0|                      {
11233|      0|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11234|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11235|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11236|      0|        (yyval.interm.type).basicType = EbtSampler;
11237|      0|        (yyval.interm.type).sampler.setSubpass(EbtFloat16);
11238|      0|    }
11239|      0|#line 11240 "MachineIndependent/glslang_tab.cpp"
11240|      0|    break;
11241|       |
11242|      0|  case 546: /* type_specifier_nonarray: F16SUBPASSINPUTMS  */
  ------------------
  |  Branch (11242:3): [True: 0, False: 11.0M]
  ------------------
11243|      0|#line 3587 "MachineIndependent/glslang.y"
11244|      0|                        {
11245|      0|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11246|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11247|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11248|      0|        (yyval.interm.type).basicType = EbtSampler;
11249|      0|        (yyval.interm.type).sampler.setSubpass(EbtFloat16, true);
11250|      0|    }
11251|      0|#line 11252 "MachineIndependent/glslang_tab.cpp"
11252|      0|    break;
11253|       |
11254|      1|  case 547: /* type_specifier_nonarray: ISUBPASSINPUT  */
  ------------------
  |  Branch (11254:3): [True: 1, False: 11.0M]
  ------------------
11255|      1|#line 3594 "MachineIndependent/glslang.y"
11256|      1|                    {
11257|      1|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  756|      1|#define parseContext (*pParseContext)
  ------------------
11258|      1|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      1|#define parseContext (*pParseContext)
  ------------------
11259|      1|        (yyval.interm.type).basicType = EbtSampler;
11260|      1|        (yyval.interm.type).sampler.setSubpass(EbtInt);
11261|      1|    }
11262|      1|#line 11263 "MachineIndependent/glslang_tab.cpp"
11263|      1|    break;
11264|       |
11265|      0|  case 548: /* type_specifier_nonarray: ISUBPASSINPUTMS  */
  ------------------
  |  Branch (11265:3): [True: 0, False: 11.0M]
  ------------------
11266|      0|#line 3600 "MachineIndependent/glslang.y"
11267|      0|                      {
11268|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11269|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11270|      0|        (yyval.interm.type).basicType = EbtSampler;
11271|      0|        (yyval.interm.type).sampler.setSubpass(EbtInt, true);
11272|      0|    }
11273|      0|#line 11274 "MachineIndependent/glslang_tab.cpp"
11274|      0|    break;
11275|       |
11276|      1|  case 549: /* type_specifier_nonarray: USUBPASSINPUT  */
  ------------------
  |  Branch (11276:3): [True: 1, False: 11.0M]
  ------------------
11277|      1|#line 3606 "MachineIndependent/glslang.y"
11278|      1|                    {
11279|      1|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  756|      1|#define parseContext (*pParseContext)
  ------------------
11280|      1|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      1|#define parseContext (*pParseContext)
  ------------------
11281|      1|        (yyval.interm.type).basicType = EbtSampler;
11282|      1|        (yyval.interm.type).sampler.setSubpass(EbtUint);
11283|      1|    }
11284|      1|#line 11285 "MachineIndependent/glslang_tab.cpp"
11285|      1|    break;
11286|       |
11287|      0|  case 550: /* type_specifier_nonarray: USUBPASSINPUTMS  */
  ------------------
  |  Branch (11287:3): [True: 0, False: 11.0M]
  ------------------
11288|      0|#line 3612 "MachineIndependent/glslang.y"
11289|      0|                      {
11290|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11291|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11292|      0|        (yyval.interm.type).basicType = EbtSampler;
11293|      0|        (yyval.interm.type).sampler.setSubpass(EbtUint, true);
11294|      0|    }
11295|      0|#line 11296 "MachineIndependent/glslang_tab.cpp"
11296|      0|    break;
11297|       |
11298|    567|  case 551: /* type_specifier_nonarray: FCOOPMATNV  */
  ------------------
  |  Branch (11298:3): [True: 567, False: 11.0M]
  ------------------
11299|    567|#line 3618 "MachineIndependent/glslang.y"
11300|    567|                 {
11301|    567|        parseContext.fcoopmatCheckNV((yyvsp[0].lex).loc, "fcoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    567|#define parseContext (*pParseContext)
  ------------------
                      parseContext.fcoopmatCheckNV((yyvsp[0].lex).loc, "fcoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    567|#define parseContext (*pParseContext)
  ------------------
11302|    567|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    567|#define parseContext (*pParseContext)
  ------------------
11303|    567|        (yyval.interm.type).basicType = EbtFloat;
11304|    567|        (yyval.interm.type).coopmatNV = true;
11305|    567|        (yyval.interm.type).coopmatKHR = false;
11306|    567|    }
11307|    567|#line 11308 "MachineIndependent/glslang_tab.cpp"
11308|    567|    break;
11309|       |
11310|    756|  case 552: /* type_specifier_nonarray: ICOOPMATNV  */
  ------------------
  |  Branch (11310:3): [True: 756, False: 11.0M]
  ------------------
11311|    756|#line 3625 "MachineIndependent/glslang.y"
11312|    756|                 {
11313|    756|        parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "icoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    756|#define parseContext (*pParseContext)
  ------------------
                      parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "icoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    756|#define parseContext (*pParseContext)
  ------------------
11314|    756|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    756|#define parseContext (*pParseContext)
  ------------------
11315|    756|        (yyval.interm.type).basicType = EbtInt;
11316|    756|        (yyval.interm.type).coopmatNV = true;
11317|    756|        (yyval.interm.type).coopmatKHR = false;
11318|    756|    }
11319|    756|#line 11320 "MachineIndependent/glslang_tab.cpp"
11320|    756|    break;
11321|       |
11322|    756|  case 553: /* type_specifier_nonarray: UCOOPMATNV  */
  ------------------
  |  Branch (11322:3): [True: 756, False: 11.0M]
  ------------------
11323|    756|#line 3632 "MachineIndependent/glslang.y"
11324|    756|                 {
11325|    756|        parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "ucoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    756|#define parseContext (*pParseContext)
  ------------------
                      parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "ucoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    756|#define parseContext (*pParseContext)
  ------------------
11326|    756|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    756|#define parseContext (*pParseContext)
  ------------------
11327|    756|        (yyval.interm.type).basicType = EbtUint;
11328|    756|        (yyval.interm.type).coopmatNV = true;
11329|    756|        (yyval.interm.type).coopmatKHR = false;
11330|    756|    }
11331|    756|#line 11332 "MachineIndependent/glslang_tab.cpp"
11332|    756|    break;
11333|       |
11334|  5.72k|  case 554: /* type_specifier_nonarray: COOPMAT  */
  ------------------
  |  Branch (11334:3): [True: 5.72k, False: 11.0M]
  ------------------
11335|  5.72k|#line 3639 "MachineIndependent/glslang.y"
11336|  5.72k|              {
11337|  5.72k|        parseContext.coopmatCheck((yyvsp[0].lex).loc, "coopmat", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  5.72k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.coopmatCheck((yyvsp[0].lex).loc, "coopmat", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  5.72k|#define parseContext (*pParseContext)
  ------------------
11338|  5.72k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  5.72k|#define parseContext (*pParseContext)
  ------------------
11339|  5.72k|        (yyval.interm.type).basicType = EbtCoopmat;
11340|  5.72k|        (yyval.interm.type).coopmatNV = false;
11341|  5.72k|        (yyval.interm.type).coopmatKHR = true;
11342|  5.72k|    }
11343|  5.72k|#line 11344 "MachineIndependent/glslang_tab.cpp"
11344|  5.72k|    break;
11345|       |
11346|  1.62k|  case 555: /* type_specifier_nonarray: TENSORLAYOUTNV  */
  ------------------
  |  Branch (11346:3): [True: 1.62k, False: 11.0M]
  ------------------
11347|  1.62k|#line 3646 "MachineIndependent/glslang.y"
11348|  1.62k|                     {
11349|  1.62k|        parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorLayoutNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.62k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorLayoutNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.62k|#define parseContext (*pParseContext)
  ------------------
11350|  1.62k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.62k|#define parseContext (*pParseContext)
  ------------------
11351|  1.62k|        (yyval.interm.type).basicType = EbtTensorLayoutNV;
11352|  1.62k|    }
11353|  1.62k|#line 11354 "MachineIndependent/glslang_tab.cpp"
11354|  1.62k|    break;
11355|       |
11356|    999|  case 556: /* type_specifier_nonarray: TENSORVIEWNV  */
  ------------------
  |  Branch (11356:3): [True: 999, False: 11.0M]
  ------------------
11357|    999|#line 3651 "MachineIndependent/glslang.y"
11358|    999|                   {
11359|    999|        parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorViewNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    999|#define parseContext (*pParseContext)
  ------------------
                      parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorViewNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    999|#define parseContext (*pParseContext)
  ------------------
11360|    999|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    999|#define parseContext (*pParseContext)
  ------------------
11361|    999|        (yyval.interm.type).basicType = EbtTensorViewNV;
11362|    999|    }
11363|    999|#line 11364 "MachineIndependent/glslang_tab.cpp"
11364|    999|    break;
11365|       |
11366|    351|  case 557: /* type_specifier_nonarray: FUNCTION  */
  ------------------
  |  Branch (11366:3): [True: 351, False: 11.0M]
  ------------------
11367|    351|#line 3656 "MachineIndependent/glslang.y"
11368|    351|               {
11369|    351|        (yyval.interm.type).init((yyvsp[0].lex).loc);
11370|    351|        (yyval.interm.type).basicType = EbtFunction;
11371|    351|    }
11372|    351|#line 11373 "MachineIndependent/glslang_tab.cpp"
11373|    351|    break;
11374|       |
11375|  21.4k|  case 558: /* type_specifier_nonarray: COOPVECNV  */
  ------------------
  |  Branch (11375:3): [True: 21.4k, False: 11.0M]
  ------------------
11376|  21.4k|#line 3660 "MachineIndependent/glslang.y"
11377|  21.4k|                {
11378|  21.4k|        parseContext.coopvecCheck((yyvsp[0].lex).loc, "coopvecNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  21.4k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.coopvecCheck((yyvsp[0].lex).loc, "coopvecNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  21.4k|#define parseContext (*pParseContext)
  ------------------
11379|  21.4k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  21.4k|#define parseContext (*pParseContext)
  ------------------
11380|  21.4k|        (yyval.interm.type).basicType = EbtCoopvecNV;
11381|  21.4k|        (yyval.interm.type).coopvecNV = true;
11382|  21.4k|    }
11383|  21.4k|#line 11384 "MachineIndependent/glslang_tab.cpp"
11384|  21.4k|    break;
11385|       |
11386|  1.64k|  case 559: /* type_specifier_nonarray: TENSORARM  */
  ------------------
  |  Branch (11386:3): [True: 1.64k, False: 11.0M]
  ------------------
11387|  1.64k|#line 3666 "MachineIndependent/glslang.y"
11388|  1.64k|                {
11389|  1.64k|        parseContext.tensorCheckARM((yyvsp[0].lex).loc, "tensorARM", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.64k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.tensorCheckARM((yyvsp[0].lex).loc, "tensorARM", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.64k|#define parseContext (*pParseContext)
  ------------------
11390|  1.64k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.64k|#define parseContext (*pParseContext)
  ------------------
11391|  1.64k|        (yyval.interm.type).tensorRankARM = 1; // placeholder value
11392|  1.64k|        (yyval.interm.type).basicType = EbtTensorARM;
11393|  1.64k|    }
11394|  1.64k|#line 11395 "MachineIndependent/glslang_tab.cpp"
11395|  1.64k|    break;
11396|       |
11397|  16.2k|  case 560: /* type_specifier_nonarray: VECTOR  */
  ------------------
  |  Branch (11397:3): [True: 16.2k, False: 11.0M]
  ------------------
11398|  16.2k|#line 3672 "MachineIndependent/glslang.y"
11399|  16.2k|             {
11400|  16.2k|        parseContext.longVectorCheck((yyvsp[0].lex).loc, "vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  16.2k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.longVectorCheck((yyvsp[0].lex).loc, "vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  16.2k|#define parseContext (*pParseContext)
  ------------------
11401|  16.2k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  16.2k|#define parseContext (*pParseContext)
  ------------------
11402|  16.2k|        (yyval.interm.type).basicType = EbtLongVector;
11403|  16.2k|        (yyval.interm.type).longVector = true;
11404|  16.2k|    }
11405|  16.2k|#line 11406 "MachineIndependent/glslang_tab.cpp"
11406|  16.2k|    break;
11407|       |
11408|      0|  case 561: /* type_specifier_nonarray: spirv_type_specifier  */
  ------------------
  |  Branch (11408:3): [True: 0, False: 11.0M]
  ------------------
11409|      0|#line 3678 "MachineIndependent/glslang.y"
11410|      0|                           {
11411|      0|        parseContext.requireExtensions((yyvsp[0].interm.type).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V type specifier");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11412|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
11413|      0|    }
11414|      0|#line 11415 "MachineIndependent/glslang_tab.cpp"
11415|      0|    break;
11416|       |
11417|      0|  case 562: /* type_specifier_nonarray: HITOBJECTNV  */
  ------------------
  |  Branch (11417:3): [True: 0, False: 11.0M]
  ------------------
11418|      0|#line 3682 "MachineIndependent/glslang.y"
11419|      0|                  {
11420|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11421|      0|       (yyval.interm.type).basicType = EbtHitObjectNV;
11422|      0|    }
11423|      0|#line 11424 "MachineIndependent/glslang_tab.cpp"
11424|      0|    break;
11425|       |
11426|      0|  case 563: /* type_specifier_nonarray: HITOBJECTEXT  */
  ------------------
  |  Branch (11426:3): [True: 0, False: 11.0M]
  ------------------
11427|      0|#line 3686 "MachineIndependent/glslang.y"
11428|      0|                   {
11429|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11430|      0|       (yyval.interm.type).basicType = EbtHitObjectEXT;
11431|      0|    }
11432|      0|#line 11433 "MachineIndependent/glslang_tab.cpp"
11433|      0|    break;
11434|       |
11435|    111|  case 564: /* type_specifier_nonarray: struct_specifier  */
  ------------------
  |  Branch (11435:3): [True: 111, False: 11.0M]
  ------------------
11436|    111|#line 3690 "MachineIndependent/glslang.y"
11437|    111|                       {
11438|    111|        (yyval.interm.type) = (yyvsp[0].interm.type);
11439|    111|        (yyval.interm.type).qualifier.storage = parseContext.symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary;
  ------------------
  |  |  756|    111|#define parseContext (*pParseContext)
  ------------------
  |  Branch (11439:49): [True: 111, False: 0]
  ------------------
11440|    111|        parseContext.structTypeCheck((yyval.interm.type).loc, (yyval.interm.type));
  ------------------
  |  |  756|    111|#define parseContext (*pParseContext)
  ------------------
11441|    111|    }
11442|    111|#line 11443 "MachineIndependent/glslang_tab.cpp"
11443|    111|    break;
11444|       |
11445|    381|  case 565: /* type_specifier_nonarray: TYPE_NAME  */
  ------------------
  |  Branch (11445:3): [True: 381, False: 11.0M]
  ------------------
11446|    381|#line 3695 "MachineIndependent/glslang.y"
11447|    381|                {
11448|       |        //
11449|       |        // This is for user defined type names.  The lexical phase looked up the
11450|       |        // type.
11451|       |        //
11452|    381|        if (const TVariable* variable = ((yyvsp[0].lex).symbol)->getAsVariable()) {
  ------------------
  |  Branch (11452:30): [True: 381, False: 0]
  ------------------
11453|    381|            const TType& structure = variable->getType();
11454|    381|            (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    381|#define parseContext (*pParseContext)
  ------------------
11455|    381|            (yyval.interm.type).basicType = EbtStruct;
11456|    381|            (yyval.interm.type).userDef = &structure;
11457|    381|        } else
11458|      0|            parseContext.error((yyvsp[0].lex).loc, "expected type name", (yyvsp[0].lex).string->c_str(), "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11459|    381|    }
11460|    381|#line 11461 "MachineIndependent/glslang_tab.cpp"
11461|    381|    break;
11462|       |
11463|  54.5k|  case 566: /* precision_qualifier: HIGH_PRECISION  */
  ------------------
  |  Branch (11463:3): [True: 54.5k, False: 10.9M]
  ------------------
11464|  54.5k|#line 3711 "MachineIndependent/glslang.y"
11465|  54.5k|                     {
11466|  54.5k|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "highp precision qualifier");
  ------------------
  |  |  756|  54.5k|#define parseContext (*pParseContext)
  ------------------
11467|  54.5k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  54.5k|#define parseContext (*pParseContext)
  ------------------
11468|  54.5k|        parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqHigh);
  ------------------
  |  |  756|  54.5k|#define parseContext (*pParseContext)
  ------------------
11469|  54.5k|    }
11470|  54.5k|#line 11471 "MachineIndependent/glslang_tab.cpp"
11471|  54.5k|    break;
11472|       |
11473|  1.01k|  case 567: /* precision_qualifier: MEDIUM_PRECISION  */
  ------------------
  |  Branch (11473:3): [True: 1.01k, False: 11.0M]
  ------------------
11474|  1.01k|#line 3716 "MachineIndependent/glslang.y"
11475|  1.01k|                       {
11476|  1.01k|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "mediump precision qualifier");
  ------------------
  |  |  756|  1.01k|#define parseContext (*pParseContext)
  ------------------
11477|  1.01k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.01k|#define parseContext (*pParseContext)
  ------------------
11478|  1.01k|        parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqMedium);
  ------------------
  |  |  756|  1.01k|#define parseContext (*pParseContext)
  ------------------
11479|  1.01k|    }
11480|  1.01k|#line 11481 "MachineIndependent/glslang_tab.cpp"
11481|  1.01k|    break;
11482|       |
11483|    272|  case 568: /* precision_qualifier: LOW_PRECISION  */
  ------------------
  |  Branch (11483:3): [True: 272, False: 11.0M]
  ------------------
11484|    272|#line 3721 "MachineIndependent/glslang.y"
11485|    272|                    {
11486|    272|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "lowp precision qualifier");
  ------------------
  |  |  756|    272|#define parseContext (*pParseContext)
  ------------------
11487|    272|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    272|#define parseContext (*pParseContext)
  ------------------
11488|    272|        parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqLow);
  ------------------
  |  |  756|    272|#define parseContext (*pParseContext)
  ------------------
11489|    272|    }
11490|    272|#line 11491 "MachineIndependent/glslang_tab.cpp"
11491|    272|    break;
11492|       |
11493|    111|  case 569: /* $@3: %empty  */
  ------------------
  |  Branch (11493:3): [True: 111, False: 11.0M]
  ------------------
11494|    111|#line 3729 "MachineIndependent/glslang.y"
11495|    111|                                   { parseContext.nestedStructCheck((yyvsp[-2].lex).loc); }
  ------------------
  |  |  756|    111|#define parseContext (*pParseContext)
  ------------------
11496|    111|#line 11497 "MachineIndependent/glslang_tab.cpp"
11497|    111|    break;
11498|       |
11499|    111|  case 570: /* struct_specifier: STRUCT IDENTIFIER LEFT_BRACE $@3 struct_declaration_list RIGHT_BRACE  */
  ------------------
  |  Branch (11499:3): [True: 111, False: 11.0M]
  ------------------
11500|    111|#line 3729 "MachineIndependent/glslang.y"
11501|    111|                                                                                                                   {
11502|    111|        TType* structure = new TType((yyvsp[-1].interm.typeList), *(yyvsp[-4].lex).string);
11503|    111|        parseContext.structArrayCheck((yyvsp[-4].lex).loc, *structure);
  ------------------
  |  |  756|    111|#define parseContext (*pParseContext)
  ------------------
11504|       |
11505|    111|        TVariable* userTypeDef = new TVariable((yyvsp[-4].lex).string, *structure, true);
11506|    111|        if (! parseContext.symbolTable.insert(*userTypeDef))
  ------------------
  |  |  756|    111|#define parseContext (*pParseContext)
  ------------------
  |  Branch (11506:13): [True: 0, False: 111]
  ------------------
11507|      0|            parseContext.error((yyvsp[-4].lex).loc, "redefinition", (yyvsp[-4].lex).string->c_str(), "struct");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11508|    111|        else if (parseContext.spvVersion.vulkanRelaxed
  ------------------
  |  |  756|    111|#define parseContext (*pParseContext)
  ------------------
  |  Branch (11508:18): [True: 0, False: 111]
  ------------------
11509|      0|                 && structure->containsOpaque())
  ------------------
  |  Branch (11509:21): [True: 0, False: 0]
  ------------------
11510|      0|            parseContext.relaxedSymbols.push_back(structure->getTypeName());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11511|       |
11512|    111|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
11513|    111|        (yyval.interm.type).basicType = EbtStruct;
11514|    111|        (yyval.interm.type).userDef = structure;
11515|    111|        --parseContext.structNestingLevel;
  ------------------
  |  |  756|    111|#define parseContext (*pParseContext)
  ------------------
11516|    111|    }
11517|    111|#line 11518 "MachineIndependent/glslang_tab.cpp"
11518|    111|    break;
11519|       |
11520|      0|  case 571: /* $@4: %empty  */
  ------------------
  |  Branch (11520:3): [True: 0, False: 11.0M]
  ------------------
11521|      0|#line 3745 "MachineIndependent/glslang.y"
11522|      0|                        { parseContext.nestedStructCheck((yyvsp[-1].lex).loc); }
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11523|      0|#line 11524 "MachineIndependent/glslang_tab.cpp"
11524|      0|    break;
11525|       |
11526|      0|  case 572: /* struct_specifier: STRUCT LEFT_BRACE $@4 struct_declaration_list RIGHT_BRACE  */
  ------------------
  |  Branch (11526:3): [True: 0, False: 11.0M]
  ------------------
11527|      0|#line 3745 "MachineIndependent/glslang.y"
11528|      0|                                                                                                        {
11529|      0|        TType* structure = new TType((yyvsp[-1].interm.typeList), TString(""));
11530|      0|        (yyval.interm.type).init((yyvsp[-4].lex).loc);
11531|      0|        (yyval.interm.type).basicType = EbtStruct;
11532|      0|        (yyval.interm.type).userDef = structure;
11533|      0|        --parseContext.structNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11534|      0|    }
11535|      0|#line 11536 "MachineIndependent/glslang_tab.cpp"
11536|      0|    break;
11537|       |
11538|    111|  case 573: /* struct_declaration_list: struct_declaration_without_heap  */
  ------------------
  |  Branch (11538:3): [True: 111, False: 11.0M]
  ------------------
11539|    111|#line 3755 "MachineIndependent/glslang.y"
11540|    111|                                      {
11541|    111|        (yyval.interm.typeList) = (yyvsp[0].interm.typeList);
11542|    111|    }
11543|    111|#line 11544 "MachineIndependent/glslang_tab.cpp"
11544|    111|    break;
11545|       |
11546|      0|  case 574: /* struct_declaration_list: struct_declaration_with_heap  */
  ------------------
  |  Branch (11546:3): [True: 0, False: 11.0M]
  ------------------
11547|      0|#line 3758 "MachineIndependent/glslang.y"
11548|      0|                                   {
11549|      0|        (yyval.interm.typeList) = (yyvsp[0].interm.typeList);
11550|      0|    }
11551|      0|#line 11552 "MachineIndependent/glslang_tab.cpp"
11552|      0|    break;
11553|       |
11554|      0|  case 575: /* struct_declaration_list: struct_declaration_with_heap struct_declaration_without_heap  */
  ------------------
  |  Branch (11554:3): [True: 0, False: 11.0M]
  ------------------
11555|      0|#line 3761 "MachineIndependent/glslang.y"
11556|      0|                                                                   {
11557|      0|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
11558|      0|        for (unsigned int i = 0; i < (yyvsp[0].interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (11558:34): [True: 0, False: 0]
  ------------------
11559|      0|            for (unsigned int j = 0; j < (yyval.interm.typeList)->size(); ++j) {
  ------------------
  |  Branch (11559:38): [True: 0, False: 0]
  ------------------
11560|      0|                if ((*(yyval.interm.typeList))[j].type->getFieldName() == (*(yyvsp[0].interm.typeList))[i].type->getFieldName())
  ------------------
  |  Branch (11560:21): [True: 0, False: 0]
  ------------------
11561|      0|                    parseContext.error((*(yyvsp[0].interm.typeList))[i].loc, "duplicate member name:", "", (*(yyvsp[0].interm.typeList))[i].type->getFieldName().c_str());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11562|      0|            }
11563|      0|            (yyval.interm.typeList)->push_back((*(yyvsp[0].interm.typeList))[i]);
11564|      0|        }
11565|      0|    }
11566|      0|#line 11567 "MachineIndependent/glslang_tab.cpp"
11567|      0|    break;
11568|       |
11569|      0|  case 576: /* struct_declaration_list: struct_declaration_without_heap struct_declaration_with_heap  */
  ------------------
  |  Branch (11569:3): [True: 0, False: 11.0M]
  ------------------
11570|      0|#line 3771 "MachineIndependent/glslang.y"
11571|      0|                                                                   {
11572|      0|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
11573|      0|        for (unsigned int i = 0; i < (yyvsp[0].interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (11573:34): [True: 0, False: 0]
  ------------------
11574|      0|            for (unsigned int j = 0; j < (yyval.interm.typeList)->size(); ++j) {
  ------------------
  |  Branch (11574:38): [True: 0, False: 0]
  ------------------
11575|      0|                if ((*(yyval.interm.typeList))[j].type->getFieldName() == (*(yyvsp[0].interm.typeList))[i].type->getFieldName())
  ------------------
  |  Branch (11575:21): [True: 0, False: 0]
  ------------------
11576|      0|                    parseContext.error((*(yyvsp[0].interm.typeList))[i].loc, "duplicate member name:", "", (*(yyvsp[0].interm.typeList))[i].type->getFieldName().c_str());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11577|      0|            }
11578|      0|            (yyval.interm.typeList)->push_back((*(yyvsp[0].interm.typeList))[i]);
11579|      0|        }
11580|      0|    }
11581|      0|#line 11582 "MachineIndependent/glslang_tab.cpp"
11582|      0|    break;
11583|       |
11584|      0|  case 577: /* struct_declaration_with_heap: block_heap_inner_structure struct_declarator_list SEMICOLON  */
  ------------------
  |  Branch (11584:3): [True: 0, False: 11.0M]
  ------------------
11585|      0|#line 3784 "MachineIndependent/glslang.y"
11586|      0|                                                                  {
11587|      0|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
11588|      0|        parseContext.voidErrorCheck((yyvsp[-2].interm.type).loc, (*(yyvsp[-1].interm.typeList))[0].type->getFieldName(), (yyvsp[-2].interm.type).basicType);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11589|      0|        parseContext.precisionQualifierCheck((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).basicType, (yyvsp[-2].interm.type).qualifier, (yyvsp[-2].interm.type).hasTypeParameter());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11590|       |
11591|      0|        for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (11591:34): [True: 0, False: 0]
  ------------------
11592|      0|            TType type((yyvsp[-2].interm.type));
11593|      0|            type.setFieldName((*(yyval.interm.typeList))[i].type->getFieldName());
11594|      0|            type.transferArraySizes((*(yyval.interm.typeList))[i].type->getArraySizes());
11595|      0|            type.copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
11596|      0|            parseContext.arrayOfArrayVersionCheck((*(yyval.interm.typeList))[i].loc, type.getArraySizes());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11597|      0|            (*(yyval.interm.typeList))[i].type->shallowCopy(type);
11598|      0|        }
11599|      0|    }
11600|      0|#line 11601 "MachineIndependent/glslang_tab.cpp"
11601|      0|    break;
11602|       |
11603|      0|  case 578: /* $@5: %empty  */
  ------------------
  |  Branch (11603:3): [True: 0, False: 11.0M]
  ------------------
11604|      0|#line 3801 "MachineIndependent/glslang.y"
11605|      0|                                { parseContext.nestedBlockCheck((yyvsp[-1].interm.type).loc, true); }
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11606|      0|#line 11607 "MachineIndependent/glslang_tab.cpp"
11607|      0|    break;
11608|       |
11609|      0|  case 579: /* block_heap_inner_structure: type_qualifier LEFT_BRACE $@5 struct_declaration_without_heap RIGHT_BRACE  */
  ------------------
  |  Branch (11609:3): [True: 0, False: 11.0M]
  ------------------
11610|      0|#line 3801 "MachineIndependent/glslang.y"
11611|      0|                                                                                                                             {
11612|      0|        --parseContext.blockNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11613|      0|        parseContext.globalQualifierFixCheck((yyvsp[-4].interm.type).loc, (yyvsp[-4].interm.type).qualifier);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11614|      0|        parseContext.checkNoShaderLayouts((yyvsp[-4].interm.type).loc, (yyvsp[-4].interm.type).shaderQualifiers);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11615|      0|        (yyval.interm.type).init((yyvsp[-4].interm.type).loc);
11616|      0|        TType* innerStructure = new TType((yyvsp[-1].interm.typeList), TString(""));
11617|      0|        (yyval.interm.type).basicType = EbtBlock;
11618|      0|        (yyval.interm.type).userDef = innerStructure;
11619|      0|        (yyval.interm.type).qualifier = (yyvsp[-4].interm.type).qualifier;
11620|      0|        (yyval.interm.type).qualifier.layoutDescriptorHeap = true;
11621|      0|        (yyval.interm.type).qualifier.layoutDescriptorInnerBlock = true;
11622|      0|    }
11623|      0|#line 11624 "MachineIndependent/glslang_tab.cpp"
11624|      0|    break;
11625|       |
11626|    359|  case 580: /* struct_declaration_without_heap: struct_declaration  */
  ------------------
  |  Branch (11626:3): [True: 359, False: 11.0M]
  ------------------
11627|    359|#line 3816 "MachineIndependent/glslang.y"
11628|    359|                         {
11629|    359|        (yyval.interm.typeList) = (yyvsp[0].interm.typeList);
11630|    359|    }
11631|    359|#line 11632 "MachineIndependent/glslang_tab.cpp"
11632|    359|    break;
11633|       |
11634|  1.42k|  case 581: /* struct_declaration_without_heap: struct_declaration_without_heap struct_declaration  */
  ------------------
  |  Branch (11634:3): [True: 1.42k, False: 11.0M]
  ------------------
11635|  1.42k|#line 3819 "MachineIndependent/glslang.y"
11636|  1.42k|                                                         {
11637|  1.42k|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
11638|  2.84k|        for (unsigned int i = 0; i < (yyvsp[0].interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (11638:34): [True: 1.42k, False: 1.42k]
  ------------------
11639|  5.41k|            for (unsigned int j = 0; j < (yyval.interm.typeList)->size(); ++j) {
  ------------------
  |  Branch (11639:38): [True: 3.99k, False: 1.42k]
  ------------------
11640|  3.99k|                if ((*(yyval.interm.typeList))[j].type->getFieldName() == (*(yyvsp[0].interm.typeList))[i].type->getFieldName())
  ------------------
  |  Branch (11640:21): [True: 0, False: 3.99k]
  ------------------
11641|      0|                    parseContext.error((*(yyvsp[0].interm.typeList))[i].loc, "duplicate member name:", "", (*(yyvsp[0].interm.typeList))[i].type->getFieldName().c_str());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11642|  3.99k|            }
11643|  1.42k|            (yyval.interm.typeList)->push_back((*(yyvsp[0].interm.typeList))[i]);
11644|  1.42k|        }
11645|  1.42k|    }
11646|  1.42k|#line 11647 "MachineIndependent/glslang_tab.cpp"
11647|  1.42k|    break;
11648|       |
11649|  1.55k|  case 582: /* struct_declaration: type_specifier struct_declarator_list SEMICOLON  */
  ------------------
  |  Branch (11649:3): [True: 1.55k, False: 11.0M]
  ------------------
11650|  1.55k|#line 3832 "MachineIndependent/glslang.y"
11651|  1.55k|                                                      {
11652|  1.55k|        if ((yyvsp[-2].interm.type).arraySizes) {
  ------------------
  |  Branch (11652:13): [True: 0, False: 1.55k]
  ------------------
11653|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11654|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11655|      0|            if (parseContext.isEsProfile())
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (11655:17): [True: 0, False: 0]
  ------------------
11656|      0|                parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11657|      0|        }
11658|       |
11659|  1.55k|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
11660|       |
11661|  1.55k|        parseContext.voidErrorCheck((yyvsp[-2].interm.type).loc, (*(yyvsp[-1].interm.typeList))[0].type->getFieldName(), (yyvsp[-2].interm.type).basicType);
  ------------------
  |  |  756|  1.55k|#define parseContext (*pParseContext)
  ------------------
11662|  1.55k|        parseContext.precisionQualifierCheck((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).basicType, (yyvsp[-2].interm.type).qualifier, (yyvsp[-2].interm.type).hasTypeParameter());
  ------------------
  |  |  756|  1.55k|#define parseContext (*pParseContext)
  ------------------
11663|       |
11664|  3.10k|        for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (11664:34): [True: 1.55k, False: 1.55k]
  ------------------
11665|  1.55k|            TType type((yyvsp[-2].interm.type));
11666|  1.55k|            type.setFieldName((*(yyval.interm.typeList))[i].type->getFieldName());
11667|  1.55k|            type.transferArraySizes((*(yyval.interm.typeList))[i].type->getArraySizes());
11668|  1.55k|            type.copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
11669|  1.55k|            parseContext.arrayOfArrayVersionCheck((*(yyval.interm.typeList))[i].loc, type.getArraySizes());
  ------------------
  |  |  756|  1.55k|#define parseContext (*pParseContext)
  ------------------
11670|  1.55k|            (*(yyval.interm.typeList))[i].type->shallowCopy(type);
11671|  1.55k|        }
11672|  1.55k|    }
11673|  1.55k|#line 11674 "MachineIndependent/glslang_tab.cpp"
11674|  1.55k|    break;
11675|       |
11676|    225|  case 583: /* struct_declaration: type_qualifier type_specifier struct_declarator_list SEMICOLON  */
  ------------------
  |  Branch (11676:3): [True: 225, False: 11.0M]
  ------------------
11677|    225|#line 3854 "MachineIndependent/glslang.y"
11678|    225|                                                                     {
11679|    225|        if ((yyvsp[-2].interm.type).arraySizes) {
  ------------------
  |  Branch (11679:13): [True: 0, False: 225]
  ------------------
11680|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11681|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11682|      0|            if (parseContext.isEsProfile())
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (11682:17): [True: 0, False: 0]
  ------------------
11683|      0|                parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11684|      0|        }
11685|       |
11686|    225|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
11687|       |
11688|    225|        parseContext.memberQualifierCheck((yyvsp[-3].interm.type));
  ------------------
  |  |  756|    225|#define parseContext (*pParseContext)
  ------------------
11689|    225|        parseContext.voidErrorCheck((yyvsp[-2].interm.type).loc, (*(yyvsp[-1].interm.typeList))[0].type->getFieldName(), (yyvsp[-2].interm.type).basicType);
  ------------------
  |  |  756|    225|#define parseContext (*pParseContext)
  ------------------
11690|    225|        parseContext.mergeQualifiers((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).qualifier, (yyvsp[-3].interm.type).qualifier, true);
  ------------------
  |  |  756|    225|#define parseContext (*pParseContext)
  ------------------
11691|    225|        parseContext.precisionQualifierCheck((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).basicType, (yyvsp[-2].interm.type).qualifier, (yyvsp[-2].interm.type).hasTypeParameter());
  ------------------
  |  |  756|    225|#define parseContext (*pParseContext)
  ------------------
11692|       |
11693|    450|        for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (11693:34): [True: 225, False: 225]
  ------------------
11694|    225|            TType type((yyvsp[-2].interm.type));
11695|    225|            type.setFieldName((*(yyval.interm.typeList))[i].type->getFieldName());
11696|    225|            type.transferArraySizes((*(yyval.interm.typeList))[i].type->getArraySizes());
11697|    225|            type.copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
11698|    225|            parseContext.arrayOfArrayVersionCheck((*(yyval.interm.typeList))[i].loc, type.getArraySizes());
  ------------------
  |  |  756|    225|#define parseContext (*pParseContext)
  ------------------
11699|    225|            (*(yyval.interm.typeList))[i].type->shallowCopy(type);
11700|    225|        }
11701|    225|    }
11702|    225|#line 11703 "MachineIndependent/glslang_tab.cpp"
11703|    225|    break;
11704|       |
11705|  1.77k|  case 584: /* struct_declarator_list: struct_declarator  */
  ------------------
  |  Branch (11705:3): [True: 1.77k, False: 11.0M]
  ------------------
11706|  1.77k|#line 3881 "MachineIndependent/glslang.y"
11707|  1.77k|                        {
11708|  1.77k|        (yyval.interm.typeList) = new TTypeList;
11709|  1.77k|        (yyval.interm.typeList)->push_back((yyvsp[0].interm.typeLine));
11710|  1.77k|    }
11711|  1.77k|#line 11712 "MachineIndependent/glslang_tab.cpp"
11712|  1.77k|    break;
11713|       |
11714|      0|  case 585: /* struct_declarator_list: struct_declarator_list COMMA struct_declarator  */
  ------------------
  |  Branch (11714:3): [True: 0, False: 11.0M]
  ------------------
11715|      0|#line 3885 "MachineIndependent/glslang.y"
11716|      0|                                                     {
11717|      0|        (yyval.interm.typeList)->push_back((yyvsp[0].interm.typeLine));
11718|      0|    }
11719|      0|#line 11720 "MachineIndependent/glslang_tab.cpp"
11720|      0|    break;
11721|       |
11722|  1.09k|  case 586: /* struct_declarator: IDENTIFIER  */
  ------------------
  |  Branch (11722:3): [True: 1.09k, False: 11.0M]
  ------------------
11723|  1.09k|#line 3891 "MachineIndependent/glslang.y"
11724|  1.09k|                 {
11725|  1.09k|        (yyval.interm.typeLine).type = new TType(EbtVoid);
11726|  1.09k|        (yyval.interm.typeLine).loc = (yyvsp[0].lex).loc;
11727|  1.09k|        (yyval.interm.typeLine).type->setFieldName(*(yyvsp[0].lex).string);
11728|  1.09k|    }
11729|  1.09k|#line 11730 "MachineIndependent/glslang_tab.cpp"
11730|  1.09k|    break;
11731|       |
11732|    680|  case 587: /* struct_declarator: IDENTIFIER array_specifier  */
  ------------------
  |  Branch (11732:3): [True: 680, False: 11.0M]
  ------------------
11733|    680|#line 3896 "MachineIndependent/glslang.y"
11734|    680|                                 {
11735|    680|        parseContext.arrayOfArrayVersionCheck((yyvsp[-1].lex).loc, (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  756|    680|#define parseContext (*pParseContext)
  ------------------
11736|       |
11737|    680|        (yyval.interm.typeLine).type = new TType(EbtVoid);
11738|    680|        (yyval.interm.typeLine).loc = (yyvsp[-1].lex).loc;
11739|    680|        (yyval.interm.typeLine).type->setFieldName(*(yyvsp[-1].lex).string);
11740|    680|        (yyval.interm.typeLine).type->transferArraySizes((yyvsp[0].interm).arraySizes);
11741|    680|    }
11742|    680|#line 11743 "MachineIndependent/glslang_tab.cpp"
11743|    680|    break;
11744|       |
11745|  5.74k|  case 588: /* initializer: assignment_expression  */
  ------------------
  |  Branch (11745:3): [True: 5.74k, False: 11.0M]
  ------------------
11746|  5.74k|#line 3907 "MachineIndependent/glslang.y"
11747|  5.74k|                            {
11748|  5.74k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
11749|  5.74k|    }
11750|  5.74k|#line 11751 "MachineIndependent/glslang_tab.cpp"
11751|  5.74k|    break;
11752|       |
11753|      0|  case 589: /* initializer: LEFT_BRACE initializer_list RIGHT_BRACE  */
  ------------------
  |  Branch (11753:3): [True: 0, False: 11.0M]
  ------------------
11754|      0|#line 3910 "MachineIndependent/glslang.y"
11755|      0|                                              {
11756|      0|        const char* initFeature = "{ } style initializers";
11757|      0|        parseContext.requireProfile((yyvsp[-2].lex).loc, ~EEsProfile, initFeature);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11758|      0|        parseContext.profileRequires((yyvsp[-2].lex).loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, initFeature);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11759|      0|        (yyval.interm.intermTypedNode) = (yyvsp[-1].interm.intermTypedNode);
11760|      0|    }
11761|      0|#line 11762 "MachineIndependent/glslang_tab.cpp"
11762|      0|    break;
11763|       |
11764|      0|  case 590: /* initializer: LEFT_BRACE initializer_list COMMA RIGHT_BRACE  */
  ------------------
  |  Branch (11764:3): [True: 0, False: 11.0M]
  ------------------
11765|      0|#line 3916 "MachineIndependent/glslang.y"
11766|      0|                                                    {
11767|      0|        const char* initFeature = "{ } style initializers";
11768|      0|        parseContext.requireProfile((yyvsp[-3].lex).loc, ~EEsProfile, initFeature);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11769|      0|        parseContext.profileRequires((yyvsp[-3].lex).loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, initFeature);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11770|      0|        (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
11771|      0|    }
11772|      0|#line 11773 "MachineIndependent/glslang_tab.cpp"
11773|      0|    break;
11774|       |
11775|      0|  case 591: /* initializer: LEFT_BRACE RIGHT_BRACE  */
  ------------------
  |  Branch (11775:3): [True: 0, False: 11.0M]
  ------------------
11776|      0|#line 3922 "MachineIndependent/glslang.y"
11777|      0|                             {
11778|      0|        const char* initFeature = "empty { } initializer";
11779|      0|        parseContext.profileRequires((yyvsp[-1].lex).loc, EEsProfile, 0, E_GL_EXT_null_initializer, initFeature);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11780|      0|        parseContext.profileRequires((yyvsp[-1].lex).loc, ~EEsProfile, 0, E_GL_EXT_null_initializer, initFeature);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11781|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.makeAggregate((yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11782|      0|    }
11783|      0|#line 11784 "MachineIndependent/glslang_tab.cpp"
11784|      0|    break;
11785|       |
11786|      0|  case 592: /* initializer_list: initializer  */
  ------------------
  |  Branch (11786:3): [True: 0, False: 11.0M]
  ------------------
11787|      0|#line 3931 "MachineIndependent/glslang.y"
11788|      0|                  {
11789|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.growAggregate(0, (yyvsp[0].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode)->getLoc());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11790|      0|    }
11791|      0|#line 11792 "MachineIndependent/glslang_tab.cpp"
11792|      0|    break;
11793|       |
11794|      0|  case 593: /* initializer_list: initializer_list COMMA initializer  */
  ------------------
  |  Branch (11794:3): [True: 0, False: 11.0M]
  ------------------
11795|      0|#line 3934 "MachineIndependent/glslang.y"
11796|      0|                                         {
11797|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11798|      0|    }
11799|      0|#line 11800 "MachineIndependent/glslang_tab.cpp"
11800|      0|    break;
11801|       |
11802|      0|  case 594: /* declaration_statement: declaration  */
  ------------------
  |  Branch (11802:3): [True: 0, False: 11.0M]
  ------------------
11803|      0|#line 3940 "MachineIndependent/glslang.y"
11804|      0|                  { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
11805|      0|#line 11806 "MachineIndependent/glslang_tab.cpp"
11806|      0|    break;
11807|       |
11808|      0|  case 595: /* statement: compound_statement  */
  ------------------
  |  Branch (11808:3): [True: 0, False: 11.0M]
  ------------------
11809|      0|#line 3944 "MachineIndependent/glslang.y"
11810|      0|                          { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
11811|      0|#line 11812 "MachineIndependent/glslang_tab.cpp"
11812|      0|    break;
11813|       |
11814|      0|  case 596: /* statement: simple_statement  */
  ------------------
  |  Branch (11814:3): [True: 0, False: 11.0M]
  ------------------
11815|      0|#line 3945 "MachineIndependent/glslang.y"
11816|      0|                          { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
11817|      0|#line 11818 "MachineIndependent/glslang_tab.cpp"
11818|      0|    break;
11819|       |
11820|      0|  case 597: /* simple_statement: declaration_statement  */
  ------------------
  |  Branch (11820:3): [True: 0, False: 11.0M]
  ------------------
11821|      0|#line 3951 "MachineIndependent/glslang.y"
11822|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
11823|      0|#line 11824 "MachineIndependent/glslang_tab.cpp"
11824|      0|    break;
11825|       |
11826|      0|  case 598: /* simple_statement: expression_statement  */
  ------------------
  |  Branch (11826:3): [True: 0, False: 11.0M]
  ------------------
11827|      0|#line 3952 "MachineIndependent/glslang.y"
11828|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
11829|      0|#line 11830 "MachineIndependent/glslang_tab.cpp"
11830|      0|    break;
11831|       |
11832|      0|  case 599: /* simple_statement: selection_statement  */
  ------------------
  |  Branch (11832:3): [True: 0, False: 11.0M]
  ------------------
11833|      0|#line 3953 "MachineIndependent/glslang.y"
11834|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
11835|      0|#line 11836 "MachineIndependent/glslang_tab.cpp"
11836|      0|    break;
11837|       |
11838|      0|  case 600: /* simple_statement: switch_statement  */
  ------------------
  |  Branch (11838:3): [True: 0, False: 11.0M]
  ------------------
11839|      0|#line 3954 "MachineIndependent/glslang.y"
11840|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
11841|      0|#line 11842 "MachineIndependent/glslang_tab.cpp"
11842|      0|    break;
11843|       |
11844|      0|  case 601: /* simple_statement: case_label  */
  ------------------
  |  Branch (11844:3): [True: 0, False: 11.0M]
  ------------------
11845|      0|#line 3955 "MachineIndependent/glslang.y"
11846|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
11847|      0|#line 11848 "MachineIndependent/glslang_tab.cpp"
11848|      0|    break;
11849|       |
11850|      0|  case 602: /* simple_statement: iteration_statement  */
  ------------------
  |  Branch (11850:3): [True: 0, False: 11.0M]
  ------------------
11851|      0|#line 3956 "MachineIndependent/glslang.y"
11852|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
11853|      0|#line 11854 "MachineIndependent/glslang_tab.cpp"
11854|      0|    break;
11855|       |
11856|      0|  case 603: /* simple_statement: jump_statement  */
  ------------------
  |  Branch (11856:3): [True: 0, False: 11.0M]
  ------------------
11857|      0|#line 3957 "MachineIndependent/glslang.y"
11858|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
11859|      0|#line 11860 "MachineIndependent/glslang_tab.cpp"
11860|      0|    break;
11861|       |
11862|      0|  case 604: /* simple_statement: demote_statement  */
  ------------------
  |  Branch (11862:3): [True: 0, False: 11.0M]
  ------------------
11863|      0|#line 3958 "MachineIndependent/glslang.y"
11864|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
11865|      0|#line 11866 "MachineIndependent/glslang_tab.cpp"
11866|      0|    break;
11867|       |
11868|      0|  case 605: /* demote_statement: DEMOTE SEMICOLON  */
  ------------------
  |  Branch (11868:3): [True: 0, False: 11.0M]
  ------------------
11869|      0|#line 3962 "MachineIndependent/glslang.y"
11870|      0|                       {
11871|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangFragment, "demote");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11872|      0|        parseContext.requireExtensions((yyvsp[-1].lex).loc, 1, &E_GL_EXT_demote_to_helper_invocation, "demote");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11873|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpDemote, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11874|      0|    }
11875|      0|#line 11876 "MachineIndependent/glslang_tab.cpp"
11876|      0|    break;
11877|       |
11878|      0|  case 606: /* compound_statement: LEFT_BRACE RIGHT_BRACE  */
  ------------------
  |  Branch (11878:3): [True: 0, False: 11.0M]
  ------------------
11879|      0|#line 3970 "MachineIndependent/glslang.y"
11880|      0|                             { (yyval.interm.intermNode) = 0; }
11881|      0|#line 11882 "MachineIndependent/glslang_tab.cpp"
11882|      0|    break;
11883|       |
11884|      0|  case 607: /* $@6: %empty  */
  ------------------
  |  Branch (11884:3): [True: 0, False: 11.0M]
  ------------------
11885|      0|#line 3971 "MachineIndependent/glslang.y"
11886|      0|                 {
11887|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11888|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11889|      0|    }
11890|      0|#line 11891 "MachineIndependent/glslang_tab.cpp"
11891|      0|    break;
11892|       |
11893|      0|  case 608: /* $@7: %empty  */
  ------------------
  |  Branch (11893:3): [True: 0, False: 11.0M]
  ------------------
11894|      0|#line 3975 "MachineIndependent/glslang.y"
11895|      0|                     {
11896|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11897|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11898|      0|    }
11899|      0|#line 11900 "MachineIndependent/glslang_tab.cpp"
11900|      0|    break;
11901|       |
11902|      0|  case 609: /* compound_statement: LEFT_BRACE $@6 statement_list $@7 RIGHT_BRACE  */
  ------------------
  |  Branch (11902:3): [True: 0, False: 11.0M]
  ------------------
11903|      0|#line 3979 "MachineIndependent/glslang.y"
11904|      0|                  {
11905|      0|        if ((yyvsp[-2].interm.intermNode) && (yyvsp[-2].interm.intermNode)->getAsAggregate()) {
  ------------------
  |  Branch (11905:13): [True: 0, False: 0]
  |  Branch (11905:46): [True: 0, False: 0]
  ------------------
11906|      0|            (yyvsp[-2].interm.intermNode)->getAsAggregate()->setOperator(parseContext.intermediate.getDebugInfo() ? EOpScope : EOpSequence);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (11906:74): [True: 0, False: 0]
  ------------------
11907|      0|            (yyvsp[-2].interm.intermNode)->getAsAggregate()->setEndLoc((yyvsp[0].lex).loc);
11908|      0|        }
11909|      0|        (yyval.interm.intermNode) = (yyvsp[-2].interm.intermNode);
11910|      0|    }
11911|      0|#line 11912 "MachineIndependent/glslang_tab.cpp"
11912|      0|    break;
11913|       |
11914|      0|  case 610: /* statement_no_new_scope: compound_statement_no_new_scope  */
  ------------------
  |  Branch (11914:3): [True: 0, False: 11.0M]
  ------------------
11915|      0|#line 3989 "MachineIndependent/glslang.y"
11916|      0|                                      { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
11917|      0|#line 11918 "MachineIndependent/glslang_tab.cpp"
11918|      0|    break;
11919|       |
11920|      0|  case 611: /* statement_no_new_scope: simple_statement  */
  ------------------
  |  Branch (11920:3): [True: 0, False: 11.0M]
  ------------------
11921|      0|#line 3990 "MachineIndependent/glslang.y"
11922|      0|                                      { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
11923|      0|#line 11924 "MachineIndependent/glslang_tab.cpp"
11924|      0|    break;
11925|       |
11926|      0|  case 612: /* $@8: %empty  */
  ------------------
  |  Branch (11926:3): [True: 0, False: 11.0M]
  ------------------
11927|      0|#line 3994 "MachineIndependent/glslang.y"
11928|      0|      {
11929|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11930|      0|    }
11931|      0|#line 11932 "MachineIndependent/glslang_tab.cpp"
11932|      0|    break;
11933|       |
11934|      0|  case 613: /* statement_scoped: $@8 compound_statement  */
  ------------------
  |  Branch (11934:3): [True: 0, False: 11.0M]
  ------------------
11935|      0|#line 3997 "MachineIndependent/glslang.y"
11936|      0|                          {
11937|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11938|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
11939|      0|    }
11940|      0|#line 11941 "MachineIndependent/glslang_tab.cpp"
11941|      0|    break;
11942|       |
11943|      0|  case 614: /* $@9: %empty  */
  ------------------
  |  Branch (11943:3): [True: 0, False: 11.0M]
  ------------------
11944|      0|#line 4001 "MachineIndependent/glslang.y"
11945|      0|      {
11946|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11947|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11948|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11949|      0|    }
11950|      0|#line 11951 "MachineIndependent/glslang_tab.cpp"
11951|      0|    break;
11952|       |
11953|      0|  case 615: /* statement_scoped: $@9 simple_statement  */
  ------------------
  |  Branch (11953:3): [True: 0, False: 11.0M]
  ------------------
11954|      0|#line 4006 "MachineIndependent/glslang.y"
11955|      0|                       {
11956|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11957|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11958|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11959|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
11960|      0|    }
11961|      0|#line 11962 "MachineIndependent/glslang_tab.cpp"
11962|      0|    break;
11963|       |
11964|      0|  case 616: /* compound_statement_no_new_scope: LEFT_BRACE RIGHT_BRACE  */
  ------------------
  |  Branch (11964:3): [True: 0, False: 11.0M]
  ------------------
11965|      0|#line 4015 "MachineIndependent/glslang.y"
11966|      0|                             {
11967|      0|        (yyval.interm.intermNode) = 0;
11968|      0|    }
11969|      0|#line 11970 "MachineIndependent/glslang_tab.cpp"
11970|      0|    break;
11971|       |
11972|      0|  case 617: /* compound_statement_no_new_scope: LEFT_BRACE statement_list RIGHT_BRACE  */
  ------------------
  |  Branch (11972:3): [True: 0, False: 11.0M]
  ------------------
11973|      0|#line 4018 "MachineIndependent/glslang.y"
11974|      0|                                            {
11975|      0|        if ((yyvsp[-1].interm.intermNode) && (yyvsp[-1].interm.intermNode)->getAsAggregate()) {
  ------------------
  |  Branch (11975:13): [True: 0, False: 0]
  |  Branch (11975:46): [True: 0, False: 0]
  ------------------
11976|      0|            (yyvsp[-1].interm.intermNode)->getAsAggregate()->setOperator(EOpSequence);
11977|      0|            (yyvsp[-1].interm.intermNode)->getAsAggregate()->setEndLoc((yyvsp[0].lex).loc);
11978|      0|        }
11979|      0|        (yyval.interm.intermNode) = (yyvsp[-1].interm.intermNode);
11980|      0|    }
11981|      0|#line 11982 "MachineIndependent/glslang_tab.cpp"
11982|      0|    break;
11983|       |
11984|      0|  case 618: /* statement_list: statement  */
  ------------------
  |  Branch (11984:3): [True: 0, False: 11.0M]
  ------------------
11985|      0|#line 4028 "MachineIndependent/glslang.y"
11986|      0|                {
11987|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11988|      0|        if ((yyvsp[0].interm.intermNode) && (yyvsp[0].interm.intermNode)->getAsBranchNode() && ((yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpCase ||
  ------------------
  |  Branch (11988:13): [True: 0, False: 0]
  |  Branch (11988:45): [True: 0, False: 0]
  |  Branch (11988:97): [True: 0, False: 0]
  ------------------
11989|      0|                                            (yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpDefault)) {
  ------------------
  |  Branch (11989:45): [True: 0, False: 0]
  ------------------
11990|      0|            parseContext.wrapupSwitchSubsequence(0, (yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11991|      0|            (yyval.interm.intermNode) = 0;  // start a fresh subsequence for what's after this case
11992|      0|        }
11993|      0|    }
11994|      0|#line 11995 "MachineIndependent/glslang_tab.cpp"
11995|      0|    break;
11996|       |
11997|      0|  case 619: /* statement_list: statement_list statement  */
  ------------------
  |  Branch (11997:3): [True: 0, False: 11.0M]
  ------------------
11998|      0|#line 4036 "MachineIndependent/glslang.y"
11999|      0|                               {
12000|      0|        if ((yyvsp[0].interm.intermNode) && (yyvsp[0].interm.intermNode)->getAsBranchNode() && ((yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpCase ||
  ------------------
  |  Branch (12000:13): [True: 0, False: 0]
  |  Branch (12000:45): [True: 0, False: 0]
  |  Branch (12000:97): [True: 0, False: 0]
  ------------------
12001|      0|                                            (yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpDefault)) {
  ------------------
  |  Branch (12001:45): [True: 0, False: 0]
  ------------------
12002|      0|            parseContext.wrapupSwitchSubsequence((yyvsp[-1].interm.intermNode) ? (yyvsp[-1].interm.intermNode)->getAsAggregate() : 0, (yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12002:50): [True: 0, False: 0]
  ------------------
12003|      0|            (yyval.interm.intermNode) = 0;  // start a fresh subsequence for what's after this case
12004|      0|        } else
12005|      0|            (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-1].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12006|      0|    }
12007|      0|#line 12008 "MachineIndependent/glslang_tab.cpp"
12008|      0|    break;
12009|       |
12010|      0|  case 620: /* expression_statement: SEMICOLON  */
  ------------------
  |  Branch (12010:3): [True: 0, False: 11.0M]
  ------------------
12011|      0|#line 4047 "MachineIndependent/glslang.y"
12012|      0|                 { (yyval.interm.intermNode) = 0; }
12013|      0|#line 12014 "MachineIndependent/glslang_tab.cpp"
12014|      0|    break;
12015|       |
12016|      0|  case 621: /* expression_statement: expression SEMICOLON  */
  ------------------
  |  Branch (12016:3): [True: 0, False: 11.0M]
  ------------------
12017|      0|#line 4048 "MachineIndependent/glslang.y"
12018|      0|                            { (yyval.interm.intermNode) = static_cast<TIntermNode*>((yyvsp[-1].interm.intermTypedNode)); }
12019|      0|#line 12020 "MachineIndependent/glslang_tab.cpp"
12020|      0|    break;
12021|       |
12022|      0|  case 622: /* selection_statement: selection_statement_nonattributed  */
  ------------------
  |  Branch (12022:3): [True: 0, False: 11.0M]
  ------------------
12023|      0|#line 4052 "MachineIndependent/glslang.y"
12024|      0|                                        {
12025|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12026|      0|    }
12027|      0|#line 12028 "MachineIndependent/glslang_tab.cpp"
12028|      0|    break;
12029|       |
12030|      0|  case 623: /* selection_statement: attribute selection_statement_nonattributed  */
  ------------------
  |  Branch (12030:3): [True: 0, False: 11.0M]
  ------------------
12031|      0|#line 4055 "MachineIndependent/glslang.y"
12032|      0|                                                  {
12033|      0|        parseContext.requireExtensions((yyvsp[0].interm.intermNode)->getLoc(), 1, &E_GL_EXT_control_flow_attributes, "attribute");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12034|      0|        parseContext.handleSelectionAttributes(*(yyvsp[-1].interm.attributes), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12035|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12036|      0|    }
12037|      0|#line 12038 "MachineIndependent/glslang_tab.cpp"
12038|      0|    break;
12039|       |
12040|      0|  case 624: /* selection_statement_nonattributed: IF LEFT_PAREN expression RIGHT_PAREN selection_rest_statement  */
  ------------------
  |  Branch (12040:3): [True: 0, False: 11.0M]
  ------------------
12041|      0|#line 4062 "MachineIndependent/glslang.y"
12042|      0|                                                                    {
12043|      0|        parseContext.boolCheck((yyvsp[-4].lex).loc, (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12044|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addSelection((yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.nodePair), (yyvsp[-4].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12045|      0|    }
12046|      0|#line 12047 "MachineIndependent/glslang_tab.cpp"
12047|      0|    break;
12048|       |
12049|      0|  case 625: /* selection_rest_statement: statement_scoped ELSE statement_scoped  */
  ------------------
  |  Branch (12049:3): [True: 0, False: 11.0M]
  ------------------
12050|      0|#line 4069 "MachineIndependent/glslang.y"
12051|      0|                                             {
12052|      0|        (yyval.interm.nodePair).node1 = (yyvsp[-2].interm.intermNode);
12053|      0|        (yyval.interm.nodePair).node2 = (yyvsp[0].interm.intermNode);
12054|      0|    }
12055|      0|#line 12056 "MachineIndependent/glslang_tab.cpp"
12056|      0|    break;
12057|       |
12058|      0|  case 626: /* selection_rest_statement: statement_scoped  */
  ------------------
  |  Branch (12058:3): [True: 0, False: 11.0M]
  ------------------
12059|      0|#line 4073 "MachineIndependent/glslang.y"
12060|      0|                       {
12061|      0|        (yyval.interm.nodePair).node1 = (yyvsp[0].interm.intermNode);
12062|      0|        (yyval.interm.nodePair).node2 = 0;
12063|      0|    }
12064|      0|#line 12065 "MachineIndependent/glslang_tab.cpp"
12065|      0|    break;
12066|       |
12067|      0|  case 627: /* condition: expression  */
  ------------------
  |  Branch (12067:3): [True: 0, False: 11.0M]
  ------------------
12068|      0|#line 4081 "MachineIndependent/glslang.y"
12069|      0|                 {
12070|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermTypedNode);
12071|      0|        parseContext.boolCheck((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12072|      0|    }
12073|      0|#line 12074 "MachineIndependent/glslang_tab.cpp"
12074|      0|    break;
12075|       |
12076|      0|  case 628: /* condition: fully_specified_type IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (12076:3): [True: 0, False: 11.0M]
  ------------------
12077|      0|#line 4085 "MachineIndependent/glslang.y"
12078|      0|                                                        {
12079|      0|        parseContext.boolCheck((yyvsp[-2].lex).loc, (yyvsp[-3].interm.type));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12080|       |
12081|      0|        TType type((yyvsp[-3].interm.type));
12082|      0|        (yyval.interm.intermNode) = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[-3].interm.type), 0, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12083|      0|    }
12084|      0|#line 12085 "MachineIndependent/glslang_tab.cpp"
12085|      0|    break;
12086|       |
12087|      0|  case 629: /* switch_statement: switch_statement_nonattributed  */
  ------------------
  |  Branch (12087:3): [True: 0, False: 11.0M]
  ------------------
12088|      0|#line 4094 "MachineIndependent/glslang.y"
12089|      0|                                     {
12090|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12091|      0|    }
12092|      0|#line 12093 "MachineIndependent/glslang_tab.cpp"
12093|      0|    break;
12094|       |
12095|      0|  case 630: /* switch_statement: attribute switch_statement_nonattributed  */
  ------------------
  |  Branch (12095:3): [True: 0, False: 11.0M]
  ------------------
12096|      0|#line 4097 "MachineIndependent/glslang.y"
12097|      0|                                               {
12098|      0|        parseContext.requireExtensions((yyvsp[0].interm.intermNode)->getLoc(), 1, &E_GL_EXT_control_flow_attributes, "attribute");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12099|      0|        parseContext.handleSwitchAttributes(*(yyvsp[-1].interm.attributes), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12100|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12101|      0|    }
12102|      0|#line 12103 "MachineIndependent/glslang_tab.cpp"
12103|      0|    break;
12104|       |
12105|      0|  case 631: /* $@10: %empty  */
  ------------------
  |  Branch (12105:3): [True: 0, False: 11.0M]
  ------------------
12106|      0|#line 4104 "MachineIndependent/glslang.y"
12107|      0|                                               {
12108|       |        // start new switch sequence on the switch stack
12109|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12110|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12111|      0|        parseContext.switchSequenceStack.push_back(new TIntermSequence);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12112|      0|        parseContext.switchLevel.push_back(parseContext.statementNestingLevel);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.switchLevel.push_back(parseContext.statementNestingLevel);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12113|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12114|      0|    }
12115|      0|#line 12116 "MachineIndependent/glslang_tab.cpp"
12116|      0|    break;
12117|       |
12118|      0|  case 632: /* switch_statement_nonattributed: SWITCH LEFT_PAREN expression RIGHT_PAREN $@10 LEFT_BRACE switch_statement_list RIGHT_BRACE  */
  ------------------
  |  Branch (12118:3): [True: 0, False: 11.0M]
  ------------------
12119|      0|#line 4112 "MachineIndependent/glslang.y"
12120|      0|                                                 {
12121|      0|        (yyval.interm.intermNode) = parseContext.addSwitch((yyvsp[-7].lex).loc, (yyvsp[-5].interm.intermTypedNode), (yyvsp[-1].interm.intermNode) ? (yyvsp[-1].interm.intermNode)->getAsAggregate() : 0);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12121:117): [True: 0, False: 0]
  ------------------
12122|      0|        delete parseContext.switchSequenceStack.back();
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12123|      0|        parseContext.switchSequenceStack.pop_back();
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12124|      0|        parseContext.switchLevel.pop_back();
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12125|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12126|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12127|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12128|      0|    }
12129|      0|#line 12130 "MachineIndependent/glslang_tab.cpp"
12130|      0|    break;
12131|       |
12132|      0|  case 633: /* switch_statement_list: %empty  */
  ------------------
  |  Branch (12132:3): [True: 0, False: 11.0M]
  ------------------
12133|      0|#line 4124 "MachineIndependent/glslang.y"
12134|      0|                    {
12135|      0|        (yyval.interm.intermNode) = 0;
12136|      0|    }
12137|      0|#line 12138 "MachineIndependent/glslang_tab.cpp"
12138|      0|    break;
12139|       |
12140|      0|  case 634: /* switch_statement_list: statement_list  */
  ------------------
  |  Branch (12140:3): [True: 0, False: 11.0M]
  ------------------
12141|      0|#line 4127 "MachineIndependent/glslang.y"
12142|      0|                     {
12143|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12144|      0|    }
12145|      0|#line 12146 "MachineIndependent/glslang_tab.cpp"
12146|      0|    break;
12147|       |
12148|      0|  case 635: /* case_label: CASE expression COLON  */
  ------------------
  |  Branch (12148:3): [True: 0, False: 11.0M]
  ------------------
12149|      0|#line 4133 "MachineIndependent/glslang.y"
12150|      0|                            {
12151|      0|        (yyval.interm.intermNode) = 0;
12152|      0|        if (parseContext.switchLevel.size() == 0)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12152:13): [True: 0, False: 0]
  ------------------
12153|      0|            parseContext.error((yyvsp[-2].lex).loc, "cannot appear outside switch statement", "case", "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12154|      0|        else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12154:18): [True: 0, False: 0]
  ------------------
12155|      0|            parseContext.error((yyvsp[-2].lex).loc, "cannot be nested inside control flow", "case", "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12156|      0|        else {
12157|      0|            parseContext.constantValueCheck((yyvsp[-1].interm.intermTypedNode), "case");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12158|      0|            parseContext.integerCheck((yyvsp[-1].interm.intermTypedNode), "case");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12159|      0|            (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpCase, (yyvsp[-1].interm.intermTypedNode), (yyvsp[-2].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12160|      0|        }
12161|      0|    }
12162|      0|#line 12163 "MachineIndependent/glslang_tab.cpp"
12163|      0|    break;
12164|       |
12165|      0|  case 636: /* case_label: DEFAULT COLON  */
  ------------------
  |  Branch (12165:3): [True: 0, False: 11.0M]
  ------------------
12166|      0|#line 4145 "MachineIndependent/glslang.y"
12167|      0|                    {
12168|      0|        (yyval.interm.intermNode) = 0;
12169|      0|        if (parseContext.switchLevel.size() == 0)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12169:13): [True: 0, False: 0]
  ------------------
12170|      0|            parseContext.error((yyvsp[-1].lex).loc, "cannot appear outside switch statement", "default", "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12171|      0|        else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12171:18): [True: 0, False: 0]
  ------------------
12172|      0|            parseContext.error((yyvsp[-1].lex).loc, "cannot be nested inside control flow", "default", "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12173|      0|        else
12174|      0|            (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpDefault, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12175|      0|    }
12176|      0|#line 12177 "MachineIndependent/glslang_tab.cpp"
12177|      0|    break;
12178|       |
12179|      0|  case 637: /* iteration_statement: iteration_statement_nonattributed  */
  ------------------
  |  Branch (12179:3): [True: 0, False: 11.0M]
  ------------------
12180|      0|#line 4157 "MachineIndependent/glslang.y"
12181|      0|                                        {
12182|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12183|      0|    }
12184|      0|#line 12185 "MachineIndependent/glslang_tab.cpp"
12185|      0|    break;
12186|       |
12187|      0|  case 638: /* iteration_statement: attribute iteration_statement_nonattributed  */
  ------------------
  |  Branch (12187:3): [True: 0, False: 11.0M]
  ------------------
12188|      0|#line 4160 "MachineIndependent/glslang.y"
12189|      0|                                                  {
12190|      0|        const char * extensions[2] = { E_GL_EXT_control_flow_attributes, E_GL_EXT_control_flow_attributes2 };
12191|      0|        parseContext.requireExtensions((yyvsp[0].interm.intermNode)->getLoc(), 2, extensions, "attribute");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12192|      0|        parseContext.handleLoopAttributes(*(yyvsp[-1].interm.attributes), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12193|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12194|      0|    }
12195|      0|#line 12196 "MachineIndependent/glslang_tab.cpp"
12196|      0|    break;
12197|       |
12198|      0|  case 639: /* $@11: %empty  */
  ------------------
  |  Branch (12198:3): [True: 0, False: 11.0M]
  ------------------
12199|      0|#line 4168 "MachineIndependent/glslang.y"
12200|      0|                       {
12201|      0|        if (! parseContext.limits.whileLoops)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12201:13): [True: 0, False: 0]
  ------------------
12202|      0|            parseContext.error((yyvsp[-1].lex).loc, "while loops not available", "limitation", "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12203|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12204|      0|        ++parseContext.loopNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12205|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12206|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12207|      0|    }
12208|      0|#line 12209 "MachineIndependent/glslang_tab.cpp"
12209|      0|    break;
12210|       |
12211|      0|  case 640: /* iteration_statement_nonattributed: WHILE LEFT_PAREN $@11 condition RIGHT_PAREN statement_no_new_scope  */
  ------------------
  |  Branch (12211:3): [True: 0, False: 11.0M]
  ------------------
12212|      0|#line 4176 "MachineIndependent/glslang.y"
12213|      0|                                                   {
12214|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12215|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addLoop((yyvsp[0].interm.intermNode), (yyvsp[-2].interm.intermNode), 0, true, (yyvsp[-5].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12216|      0|        if (parseContext.intermediate.getDebugInfo()) {
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12216:13): [True: 0, False: 0]
  ------------------
12217|      0|            (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyval.interm.intermNode), (yyvsp[-5].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12218|      0|            (yyval.interm.intermNode)->getAsAggregate()->setOperator(EOpScope);
12219|      0|        }
12220|      0|        --parseContext.loopNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12221|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12222|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12223|      0|    }
12224|      0|#line 12225 "MachineIndependent/glslang_tab.cpp"
12225|      0|    break;
12226|       |
12227|      0|  case 641: /* $@12: %empty  */
  ------------------
  |  Branch (12227:3): [True: 0, False: 11.0M]
  ------------------
12228|      0|#line 4187 "MachineIndependent/glslang.y"
12229|      0|         {
12230|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12231|      0|        ++parseContext.loopNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12232|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12233|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12234|      0|    }
12235|      0|#line 12236 "MachineIndependent/glslang_tab.cpp"
12236|      0|    break;
12237|       |
12238|      0|  case 642: /* iteration_statement_nonattributed: DO $@12 statement WHILE LEFT_PAREN expression RIGHT_PAREN SEMICOLON  */
  ------------------
  |  Branch (12238:3): [True: 0, False: 11.0M]
  ------------------
12239|      0|#line 4193 "MachineIndependent/glslang.y"
12240|      0|                                                                  {
12241|      0|        if (! parseContext.limits.whileLoops)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12241:13): [True: 0, False: 0]
  ------------------
12242|      0|            parseContext.error((yyvsp[-7].lex).loc, "do-while loops not available", "limitation", "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12243|       |
12244|      0|        parseContext.boolCheck((yyvsp[0].lex).loc, (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12245|       |
12246|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addLoop((yyvsp[-5].interm.intermNode), (yyvsp[-2].interm.intermTypedNode), 0, false, (yyvsp[-4].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12247|      0|        if (parseContext.intermediate.getDebugInfo()) {
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12247:13): [True: 0, False: 0]
  ------------------
12248|      0|            (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyval.interm.intermNode), (yyvsp[-4].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12249|      0|            (yyval.interm.intermNode)->getAsAggregate()->setOperator(EOpScope);
12250|      0|        }
12251|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12252|      0|        --parseContext.loopNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12253|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12254|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12255|      0|    }
12256|      0|#line 12257 "MachineIndependent/glslang_tab.cpp"
12257|      0|    break;
12258|       |
12259|      0|  case 643: /* $@13: %empty  */
  ------------------
  |  Branch (12259:3): [True: 0, False: 11.0M]
  ------------------
12260|      0|#line 4209 "MachineIndependent/glslang.y"
12261|      0|                     {
12262|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12263|      0|        ++parseContext.loopNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12264|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12265|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12266|      0|    }
12267|      0|#line 12268 "MachineIndependent/glslang_tab.cpp"
12268|      0|    break;
12269|       |
12270|      0|  case 644: /* iteration_statement_nonattributed: FOR LEFT_PAREN $@13 for_init_statement for_rest_statement RIGHT_PAREN statement_no_new_scope  */
  ------------------
  |  Branch (12270:3): [True: 0, False: 11.0M]
  ------------------
12271|      0|#line 4215 "MachineIndependent/glslang.y"
12272|      0|                                                                               {
12273|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12274|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[-3].interm.intermNode), (yyvsp[-5].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12275|      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);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12276|      0|        if (! parseContext.limits.nonInductiveForLoops)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12276:13): [True: 0, False: 0]
  ------------------
12277|      0|            parseContext.inductiveLoopCheck((yyvsp[-6].lex).loc, (yyvsp[-3].interm.intermNode), forLoop);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12278|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyval.interm.intermNode), forLoop, (yyvsp[-6].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12279|      0|        (yyval.interm.intermNode)->getAsAggregate()->setOperator(parseContext.intermediate.getDebugInfo() ? EOpScope : EOpSequence);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12279:66): [True: 0, False: 0]
  ------------------
12280|      0|        --parseContext.loopNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12281|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12282|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12283|      0|    }
12284|      0|#line 12285 "MachineIndependent/glslang_tab.cpp"
12285|      0|    break;
12286|       |
12287|      0|  case 645: /* for_init_statement: expression_statement  */
  ------------------
  |  Branch (12287:3): [True: 0, False: 11.0M]
  ------------------
12288|      0|#line 4230 "MachineIndependent/glslang.y"
12289|      0|                           {
12290|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12291|      0|    }
12292|      0|#line 12293 "MachineIndependent/glslang_tab.cpp"
12293|      0|    break;
12294|       |
12295|      0|  case 646: /* for_init_statement: declaration_statement  */
  ------------------
  |  Branch (12295:3): [True: 0, False: 11.0M]
  ------------------
12296|      0|#line 4233 "MachineIndependent/glslang.y"
12297|      0|                            {
12298|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12299|      0|    }
12300|      0|#line 12301 "MachineIndependent/glslang_tab.cpp"
12301|      0|    break;
12302|       |
12303|      0|  case 647: /* conditionopt: condition  */
  ------------------
  |  Branch (12303:3): [True: 0, False: 11.0M]
  ------------------
12304|      0|#line 4239 "MachineIndependent/glslang.y"
12305|      0|                {
12306|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12307|      0|    }
12308|      0|#line 12309 "MachineIndependent/glslang_tab.cpp"
12309|      0|    break;
12310|       |
12311|      0|  case 648: /* conditionopt: %empty  */
  ------------------
  |  Branch (12311:3): [True: 0, False: 11.0M]
  ------------------
12312|      0|#line 4242 "MachineIndependent/glslang.y"
12313|      0|                        {
12314|      0|        (yyval.interm.intermNode) = 0;
12315|      0|    }
12316|      0|#line 12317 "MachineIndependent/glslang_tab.cpp"
12317|      0|    break;
12318|       |
12319|      0|  case 649: /* for_rest_statement: conditionopt SEMICOLON  */
  ------------------
  |  Branch (12319:3): [True: 0, False: 11.0M]
  ------------------
12320|      0|#line 4248 "MachineIndependent/glslang.y"
12321|      0|                             {
12322|      0|        (yyval.interm.nodePair).node1 = (yyvsp[-1].interm.intermNode);
12323|      0|        (yyval.interm.nodePair).node2 = 0;
12324|      0|    }
12325|      0|#line 12326 "MachineIndependent/glslang_tab.cpp"
12326|      0|    break;
12327|       |
12328|      0|  case 650: /* for_rest_statement: conditionopt SEMICOLON expression  */
  ------------------
  |  Branch (12328:3): [True: 0, False: 11.0M]
  ------------------
12329|      0|#line 4252 "MachineIndependent/glslang.y"
12330|      0|                                         {
12331|      0|        (yyval.interm.nodePair).node1 = (yyvsp[-2].interm.intermNode);
12332|      0|        (yyval.interm.nodePair).node2 = (yyvsp[0].interm.intermTypedNode);
12333|      0|    }
12334|      0|#line 12335 "MachineIndependent/glslang_tab.cpp"
12335|      0|    break;
12336|       |
12337|      0|  case 651: /* jump_statement: CONTINUE SEMICOLON  */
  ------------------
  |  Branch (12337:3): [True: 0, False: 11.0M]
  ------------------
12338|      0|#line 4259 "MachineIndependent/glslang.y"
12339|      0|                         {
12340|      0|        if (parseContext.loopNestingLevel <= 0)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12340:13): [True: 0, False: 0]
  ------------------
12341|      0|            parseContext.error((yyvsp[-1].lex).loc, "continue statement only allowed in loops", "", "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12342|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpContinue, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12343|      0|    }
12344|      0|#line 12345 "MachineIndependent/glslang_tab.cpp"
12345|      0|    break;
12346|       |
12347|      0|  case 652: /* jump_statement: BREAK SEMICOLON  */
  ------------------
  |  Branch (12347:3): [True: 0, False: 11.0M]
  ------------------
12348|      0|#line 4264 "MachineIndependent/glslang.y"
12349|      0|                      {
12350|      0|        if (parseContext.loopNestingLevel + parseContext.switchSequenceStack.size() <= 0)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.loopNestingLevel + parseContext.switchSequenceStack.size() <= 0)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12350:13): [True: 0, False: 0]
  ------------------
12351|      0|            parseContext.error((yyvsp[-1].lex).loc, "break statement only allowed in switch and loops", "", "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12352|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpBreak, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12353|      0|    }
12354|      0|#line 12355 "MachineIndependent/glslang_tab.cpp"
12355|      0|    break;
12356|       |
12357|      0|  case 653: /* jump_statement: RETURN SEMICOLON  */
  ------------------
  |  Branch (12357:3): [True: 0, False: 11.0M]
  ------------------
12358|      0|#line 4269 "MachineIndependent/glslang.y"
12359|      0|                       {
12360|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpReturn, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12361|      0|        if (parseContext.currentFunctionType->getBasicType() != EbtVoid)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12361:13): [True: 0, False: 0]
  ------------------
12362|      0|            parseContext.error((yyvsp[-1].lex).loc, "non-void function must return a value", "return", "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12363|      0|        if (parseContext.inMain)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12363:13): [True: 0, False: 0]
  ------------------
12364|      0|            parseContext.postEntryPointReturn = true;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12365|      0|    }
12366|      0|#line 12367 "MachineIndependent/glslang_tab.cpp"
12367|      0|    break;
12368|       |
12369|      0|  case 654: /* jump_statement: RETURN expression SEMICOLON  */
  ------------------
  |  Branch (12369:3): [True: 0, False: 11.0M]
  ------------------
12370|      0|#line 4276 "MachineIndependent/glslang.y"
12371|      0|                                  {
12372|      0|        (yyval.interm.intermNode) = parseContext.handleReturnValue((yyvsp[-2].lex).loc, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12373|      0|    }
12374|      0|#line 12375 "MachineIndependent/glslang_tab.cpp"
12375|      0|    break;
12376|       |
12377|      0|  case 655: /* jump_statement: DISCARD SEMICOLON  */
  ------------------
  |  Branch (12377:3): [True: 0, False: 11.0M]
  ------------------
12378|      0|#line 4279 "MachineIndependent/glslang.y"
12379|      0|                        {
12380|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangFragment, "discard");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12381|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpKill, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12382|      0|    }
12383|      0|#line 12384 "MachineIndependent/glslang_tab.cpp"
12384|      0|    break;
12385|       |
12386|      0|  case 656: /* jump_statement: TERMINATE_INVOCATION SEMICOLON  */
  ------------------
  |  Branch (12386:3): [True: 0, False: 11.0M]
  ------------------
12387|      0|#line 4283 "MachineIndependent/glslang.y"
12388|      0|                                     {
12389|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangFragment, "terminateInvocation");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12390|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpTerminateInvocation, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12391|      0|    }
12392|      0|#line 12393 "MachineIndependent/glslang_tab.cpp"
12393|      0|    break;
12394|       |
12395|      0|  case 657: /* jump_statement: TERMINATE_RAY SEMICOLON  */
  ------------------
  |  Branch (12395:3): [True: 0, False: 11.0M]
  ------------------
12396|      0|#line 4287 "MachineIndependent/glslang.y"
12397|      0|                              {
12398|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangAnyHit, "terminateRayEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12399|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpTerminateRayKHR, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12400|      0|    }
12401|      0|#line 12402 "MachineIndependent/glslang_tab.cpp"
12402|      0|    break;
12403|       |
12404|      0|  case 658: /* jump_statement: IGNORE_INTERSECTION SEMICOLON  */
  ------------------
  |  Branch (12404:3): [True: 0, False: 11.0M]
  ------------------
12405|      0|#line 4291 "MachineIndependent/glslang.y"
12406|      0|                                    {
12407|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangAnyHit, "ignoreIntersectionEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12408|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpIgnoreIntersectionKHR, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12409|      0|    }
12410|      0|#line 12411 "MachineIndependent/glslang_tab.cpp"
12411|      0|    break;
12412|       |
12413|    753|  case 659: /* translation_unit: external_declaration  */
  ------------------
  |  Branch (12413:3): [True: 753, False: 11.0M]
  ------------------
12414|    753|#line 4300 "MachineIndependent/glslang.y"
12415|    753|                           {
12416|    753|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12417|    753|        parseContext.intermediate.setTreeRoot((yyval.interm.intermNode));
  ------------------
  |  |  756|    753|#define parseContext (*pParseContext)
  ------------------
12418|    753|    }
12419|    753|#line 12420 "MachineIndependent/glslang_tab.cpp"
12420|    753|    break;
12421|       |
12422|   372k|  case 660: /* translation_unit: translation_unit external_declaration  */
  ------------------
  |  Branch (12422:3): [True: 372k, False: 10.6M]
  ------------------
12423|   372k|#line 4304 "MachineIndependent/glslang.y"
12424|   372k|                                            {
12425|   372k|        if ((yyvsp[0].interm.intermNode) != nullptr) {
  ------------------
  |  Branch (12425:13): [True: 0, False: 372k]
  ------------------
12426|      0|            (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-1].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12427|      0|            parseContext.intermediate.setTreeRoot((yyval.interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12428|      0|        }
12429|   372k|    }
12430|   372k|#line 12431 "MachineIndependent/glslang_tab.cpp"
12431|   372k|    break;
12432|       |
12433|      0|  case 661: /* external_declaration: function_definition  */
  ------------------
  |  Branch (12433:3): [True: 0, False: 11.0M]
  ------------------
12434|      0|#line 4313 "MachineIndependent/glslang.y"
12435|      0|                          {
12436|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12437|      0|    }
12438|      0|#line 12439 "MachineIndependent/glslang_tab.cpp"
12439|      0|    break;
12440|       |
12441|   373k|  case 662: /* external_declaration: declaration  */
  ------------------
  |  Branch (12441:3): [True: 373k, False: 10.6M]
  ------------------
12442|   373k|#line 4316 "MachineIndependent/glslang.y"
12443|   373k|                  {
12444|   373k|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12445|   373k|    }
12446|   373k|#line 12447 "MachineIndependent/glslang_tab.cpp"
12447|   373k|    break;
12448|       |
12449|      0|  case 663: /* external_declaration: SEMICOLON  */
  ------------------
  |  Branch (12449:3): [True: 0, False: 11.0M]
  ------------------
12450|      0|#line 4319 "MachineIndependent/glslang.y"
12451|      0|                {
12452|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ~EEsProfile, "extraneous semicolon");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12453|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ~EEsProfile, 460, nullptr, "extraneous semicolon");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12454|      0|        (yyval.interm.intermNode) = nullptr;
12455|      0|    }
12456|      0|#line 12457 "MachineIndependent/glslang_tab.cpp"
12457|      0|    break;
12458|       |
12459|      0|  case 664: /* $@14: %empty  */
  ------------------
  |  Branch (12459:3): [True: 0, False: 11.0M]
  ------------------
12460|      0|#line 4327 "MachineIndependent/glslang.y"
12461|      0|                         {
12462|      0|        (yyvsp[0].interm).function = parseContext.handleFunctionDeclarator((yyvsp[0].interm).loc, *(yyvsp[0].interm).function, false /* not prototype */);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12463|      0|        (yyvsp[0].interm).intermNode = parseContext.handleFunctionDefinition((yyvsp[0].interm).loc, *(yyvsp[0].interm).function);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12464|       |
12465|       |        // For ES 100 only, according to ES shading language 100 spec: A function
12466|       |        // body has a scope nested inside the function's definition.
12467|      0|        if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12467:13): [True: 0, False: 0]
  |  Branch (12467:51): [True: 0, False: 0]
  ------------------
12468|      0|        {
12469|      0|            parseContext.symbolTable.push();
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12470|      0|            ++parseContext.statementNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12471|      0|        }
12472|      0|    }
12473|      0|#line 12474 "MachineIndependent/glslang_tab.cpp"
12474|      0|    break;
12475|       |
12476|      0|  case 665: /* function_definition: function_prototype $@14 compound_statement_no_new_scope  */
  ------------------
  |  Branch (12476:3): [True: 0, False: 11.0M]
  ------------------
12477|      0|#line 4339 "MachineIndependent/glslang.y"
12478|      0|                                    {
12479|       |        //   May be best done as post process phase on intermediate code
12480|      0|        if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsValue)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsValue)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12480:13): [True: 0, False: 0]
  |  Branch (12480:76): [True: 0, False: 0]
  ------------------
12481|      0|            parseContext.error((yyvsp[-2].interm).loc, "function does not return a value:", "", (yyvsp[-2].interm).function->getName().c_str());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12482|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12483|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, (yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12484|      0|        (yyval.interm.intermNode)->getAsAggregate()->setLinkType((yyvsp[-2].interm).function->getLinkType());
12485|      0|        parseContext.intermediate.setAggregateOperator((yyval.interm.intermNode), EOpFunction, (yyvsp[-2].interm).function->getType(), (yyvsp[-2].interm).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12486|      0|        (yyval.interm.intermNode)->getAsAggregate()->setName((yyvsp[-2].interm).function->getMangledName().c_str());
12487|       |
12488|       |        // store the pragma information for debug and optimize and other vendor specific
12489|       |        // information. This information can be queried from the parse tree
12490|      0|        (yyval.interm.intermNode)->getAsAggregate()->setOptimize(parseContext.contextPragma.optimize);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12491|      0|        (yyval.interm.intermNode)->getAsAggregate()->setDebug(parseContext.contextPragma.debug);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12492|      0|        (yyval.interm.intermNode)->getAsAggregate()->setPragmaTable(parseContext.contextPragma.pragmaTable);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12493|       |
12494|       |        // Set currentFunctionType to empty pointer when goes outside of the function
12495|      0|        parseContext.currentFunctionType = nullptr;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12496|       |
12497|       |        // For ES 100 only, according to ES shading language 100 spec: A function
12498|       |        // body has a scope nested inside the function's definition.
12499|      0|        if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12499:13): [True: 0, False: 0]
  |  Branch (12499:51): [True: 0, False: 0]
  ------------------
12500|      0|        {
12501|      0|            parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12502|      0|            --parseContext.statementNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12503|      0|        }
12504|      0|    }
12505|      0|#line 12506 "MachineIndependent/glslang_tab.cpp"
12506|      0|    break;
12507|       |
12508|      0|  case 666: /* attribute: LEFT_BRACKET LEFT_BRACKET attribute_list RIGHT_BRACKET RIGHT_BRACKET  */
  ------------------
  |  Branch (12508:3): [True: 0, False: 11.0M]
  ------------------
12509|      0|#line 4369 "MachineIndependent/glslang.y"
12510|      0|                                                                           {
12511|      0|        (yyval.interm.attributes) = (yyvsp[-2].interm.attributes);
12512|      0|    }
12513|      0|#line 12514 "MachineIndependent/glslang_tab.cpp"
12514|      0|    break;
12515|       |
12516|      0|  case 667: /* attribute_list: single_attribute  */
  ------------------
  |  Branch (12516:3): [True: 0, False: 11.0M]
  ------------------
12517|      0|#line 4374 "MachineIndependent/glslang.y"
12518|      0|                       {
12519|      0|        (yyval.interm.attributes) = (yyvsp[0].interm.attributes);
12520|      0|    }
12521|      0|#line 12522 "MachineIndependent/glslang_tab.cpp"
12522|      0|    break;
12523|       |
12524|      0|  case 668: /* attribute_list: attribute_list COMMA single_attribute  */
  ------------------
  |  Branch (12524:3): [True: 0, False: 11.0M]
  ------------------
12525|      0|#line 4377 "MachineIndependent/glslang.y"
12526|      0|                                            {
12527|      0|        (yyval.interm.attributes) = parseContext.mergeAttributes((yyvsp[-2].interm.attributes), (yyvsp[0].interm.attributes));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12528|      0|    }
12529|      0|#line 12530 "MachineIndependent/glslang_tab.cpp"
12530|      0|    break;
12531|       |
12532|      0|  case 669: /* single_attribute: IDENTIFIER  */
  ------------------
  |  Branch (12532:3): [True: 0, False: 11.0M]
  ------------------
12533|      0|#line 4382 "MachineIndependent/glslang.y"
12534|      0|                 {
12535|      0|        (yyval.interm.attributes) = parseContext.makeAttributes(*(yyvsp[0].lex).string);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12536|      0|    }
12537|      0|#line 12538 "MachineIndependent/glslang_tab.cpp"
12538|      0|    break;
12539|       |
12540|      0|  case 670: /* single_attribute: IDENTIFIER LEFT_PAREN constant_expression RIGHT_PAREN  */
  ------------------
  |  Branch (12540:3): [True: 0, False: 11.0M]
  ------------------
12541|      0|#line 4385 "MachineIndependent/glslang.y"
12542|      0|                                                            {
12543|      0|        (yyval.interm.attributes) = parseContext.makeAttributes(*(yyvsp[-3].lex).string, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12544|      0|    }
12545|      0|#line 12546 "MachineIndependent/glslang_tab.cpp"
12546|      0|    break;
12547|       |
12548|      0|  case 671: /* spirv_requirements_list: spirv_requirements_parameter  */
  ------------------
  |  Branch (12548:3): [True: 0, False: 11.0M]
  ------------------
12549|      0|#line 4390 "MachineIndependent/glslang.y"
12550|      0|                                   {
12551|      0|        (yyval.interm.spirvReq) = (yyvsp[0].interm.spirvReq);
12552|      0|    }
12553|      0|#line 12554 "MachineIndependent/glslang_tab.cpp"
12554|      0|    break;
12555|       |
12556|      0|  case 672: /* spirv_requirements_list: spirv_requirements_list COMMA spirv_requirements_parameter  */
  ------------------
  |  Branch (12556:3): [True: 0, False: 11.0M]
  ------------------
12557|      0|#line 4393 "MachineIndependent/glslang.y"
12558|      0|                                                                 {
12559|      0|        (yyval.interm.spirvReq) = parseContext.mergeSpirvRequirements((yyvsp[-1].lex).loc, (yyvsp[-2].interm.spirvReq), (yyvsp[0].interm.spirvReq));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12560|      0|    }
12561|      0|#line 12562 "MachineIndependent/glslang_tab.cpp"
12562|      0|    break;
12563|       |
12564|      0|  case 673: /* spirv_requirements_parameter: IDENTIFIER EQUAL LEFT_BRACKET spirv_extension_list RIGHT_BRACKET  */
  ------------------
  |  Branch (12564:3): [True: 0, False: 11.0M]
  ------------------
12565|      0|#line 4398 "MachineIndependent/glslang.y"
12566|      0|                                                                       {
12567|      0|        (yyval.interm.spirvReq) = parseContext.makeSpirvRequirement((yyvsp[-3].lex).loc, *(yyvsp[-4].lex).string, (yyvsp[-1].interm.intermNode)->getAsAggregate(), nullptr);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12568|      0|    }
12569|      0|#line 12570 "MachineIndependent/glslang_tab.cpp"
12570|      0|    break;
12571|       |
12572|      0|  case 674: /* spirv_requirements_parameter: IDENTIFIER EQUAL LEFT_BRACKET spirv_capability_list RIGHT_BRACKET  */
  ------------------
  |  Branch (12572:3): [True: 0, False: 11.0M]
  ------------------
12573|      0|#line 4401 "MachineIndependent/glslang.y"
12574|      0|                                                                        {
12575|      0|        (yyval.interm.spirvReq) = parseContext.makeSpirvRequirement((yyvsp[-3].lex).loc, *(yyvsp[-4].lex).string, nullptr, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12576|      0|    }
12577|      0|#line 12578 "MachineIndependent/glslang_tab.cpp"
12578|      0|    break;
12579|       |
12580|      0|  case 675: /* spirv_extension_list: STRING_LITERAL  */
  ------------------
  |  Branch (12580:3): [True: 0, False: 11.0M]
  ------------------
12581|      0|#line 4406 "MachineIndependent/glslang.y"
12582|      0|                     {
12583|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12584|      0|    }
12585|      0|#line 12586 "MachineIndependent/glslang_tab.cpp"
12586|      0|    break;
12587|       |
12588|      0|  case 676: /* spirv_extension_list: spirv_extension_list COMMA STRING_LITERAL  */
  ------------------
  |  Branch (12588:3): [True: 0, False: 11.0M]
  ------------------
12589|      0|#line 4409 "MachineIndependent/glslang.y"
12590|      0|                                                {
12591|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  756|      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));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12592|      0|    }
12593|      0|#line 12594 "MachineIndependent/glslang_tab.cpp"
12594|      0|    break;
12595|       |
12596|      0|  case 677: /* spirv_capability_list: INTCONSTANT  */
  ------------------
  |  Branch (12596:3): [True: 0, False: 11.0M]
  ------------------
12597|      0|#line 4414 "MachineIndependent/glslang.y"
12598|      0|                  {
12599|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12600|      0|    }
12601|      0|#line 12602 "MachineIndependent/glslang_tab.cpp"
12602|      0|    break;
12603|       |
12604|      0|  case 678: /* spirv_capability_list: spirv_capability_list COMMA INTCONSTANT  */
  ------------------
  |  Branch (12604:3): [True: 0, False: 11.0M]
  ------------------
12605|      0|#line 4417 "MachineIndependent/glslang.y"
12606|      0|                                              {
12607|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  756|      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));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12608|      0|    }
12609|      0|#line 12610 "MachineIndependent/glslang_tab.cpp"
12610|      0|    break;
12611|       |
12612|      0|  case 679: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (12612:3): [True: 0, False: 11.0M]
  ------------------
12613|      0|#line 4422 "MachineIndependent/glslang.y"
12614|      0|                                                              {
12615|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-1].lex).i);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12616|      0|        (yyval.interm.intermNode) = 0;
12617|      0|    }
12618|      0|#line 12619 "MachineIndependent/glslang_tab.cpp"
12619|      0|    break;
12620|       |
12621|      0|  case 680: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (12621:3): [True: 0, False: 11.0M]
  ------------------
12622|      0|#line 4426 "MachineIndependent/glslang.y"
12623|      0|                                                                                            {
12624|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12625|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-1].lex).i);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12626|      0|        (yyval.interm.intermNode) = 0;
12627|      0|    }
12628|      0|#line 12629 "MachineIndependent/glslang_tab.cpp"
12629|      0|    break;
12630|       |
12631|      0|  case 681: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN INTCONSTANT COMMA spirv_execution_mode_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (12631:3): [True: 0, False: 11.0M]
  ------------------
12632|      0|#line 4431 "MachineIndependent/glslang.y"
12633|      0|                                                                                                        {
12634|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12635|      0|        (yyval.interm.intermNode) = 0;
12636|      0|    }
12637|      0|#line 12638 "MachineIndependent/glslang_tab.cpp"
12638|      0|    break;
12639|       |
12640|      0|  case 682: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_execution_mode_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (12640:3): [True: 0, False: 11.0M]
  ------------------
12641|      0|#line 4435 "MachineIndependent/glslang.y"
12642|      0|                                                                                                                                      {
12643|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12644|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12645|      0|        (yyval.interm.intermNode) = 0;
12646|      0|    }
12647|      0|#line 12648 "MachineIndependent/glslang_tab.cpp"
12648|      0|    break;
12649|       |
12650|      0|  case 683: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE_ID LEFT_PAREN INTCONSTANT COMMA spirv_execution_mode_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (12650:3): [True: 0, False: 11.0M]
  ------------------
12651|      0|#line 4440 "MachineIndependent/glslang.y"
12652|      0|                                                                                                              {
12653|      0|        parseContext.intermediate.insertSpirvExecutionModeId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12654|      0|        (yyval.interm.intermNode) = 0;
12655|      0|    }
12656|      0|#line 12657 "MachineIndependent/glslang_tab.cpp"
12657|      0|    break;
12658|       |
12659|      0|  case 684: /* 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 (12659:3): [True: 0, False: 11.0M]
  ------------------
12660|      0|#line 4444 "MachineIndependent/glslang.y"
12661|      0|                                                                                                                                            {
12662|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12663|      0|        parseContext.intermediate.insertSpirvExecutionModeId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12664|      0|        (yyval.interm.intermNode) = 0;
12665|      0|    }
12666|      0|#line 12667 "MachineIndependent/glslang_tab.cpp"
12667|      0|    break;
12668|       |
12669|      0|  case 685: /* spirv_execution_mode_parameter_list: spirv_execution_mode_parameter  */
  ------------------
  |  Branch (12669:3): [True: 0, False: 11.0M]
  ------------------
12670|      0|#line 4451 "MachineIndependent/glslang.y"
12671|      0|                                     {
12672|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12673|      0|    }
12674|      0|#line 12675 "MachineIndependent/glslang_tab.cpp"
12675|      0|    break;
12676|       |
12677|      0|  case 686: /* spirv_execution_mode_parameter_list: spirv_execution_mode_parameter_list COMMA spirv_execution_mode_parameter  */
  ------------------
  |  Branch (12677:3): [True: 0, False: 11.0M]
  ------------------
12678|      0|#line 4454 "MachineIndependent/glslang.y"
12679|      0|                                                                               {
12680|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12681|      0|    }
12682|      0|#line 12683 "MachineIndependent/glslang_tab.cpp"
12683|      0|    break;
12684|       |
12685|      0|  case 687: /* spirv_execution_mode_parameter: FLOATCONSTANT  */
  ------------------
  |  Branch (12685:3): [True: 0, False: 11.0M]
  ------------------
12686|      0|#line 4459 "MachineIndependent/glslang.y"
12687|      0|                    {
12688|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12689|      0|    }
12690|      0|#line 12691 "MachineIndependent/glslang_tab.cpp"
12691|      0|    break;
12692|       |
12693|      0|  case 688: /* spirv_execution_mode_parameter: INTCONSTANT  */
  ------------------
  |  Branch (12693:3): [True: 0, False: 11.0M]
  ------------------
12694|      0|#line 4462 "MachineIndependent/glslang.y"
12695|      0|                  {
12696|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12697|      0|    }
12698|      0|#line 12699 "MachineIndependent/glslang_tab.cpp"
12699|      0|    break;
12700|       |
12701|      0|  case 689: /* spirv_execution_mode_parameter: UINTCONSTANT  */
  ------------------
  |  Branch (12701:3): [True: 0, False: 11.0M]
  ------------------
12702|      0|#line 4465 "MachineIndependent/glslang.y"
12703|      0|                   {
12704|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12705|      0|    }
12706|      0|#line 12707 "MachineIndependent/glslang_tab.cpp"
12707|      0|    break;
12708|       |
12709|      0|  case 690: /* spirv_execution_mode_parameter: BOOLCONSTANT  */
  ------------------
  |  Branch (12709:3): [True: 0, False: 11.0M]
  ------------------
12710|      0|#line 4468 "MachineIndependent/glslang.y"
12711|      0|                   {
12712|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12713|      0|    }
12714|      0|#line 12715 "MachineIndependent/glslang_tab.cpp"
12715|      0|    break;
12716|       |
12717|      0|  case 691: /* spirv_execution_mode_parameter: STRING_LITERAL  */
  ------------------
  |  Branch (12717:3): [True: 0, False: 11.0M]
  ------------------
12718|      0|#line 4471 "MachineIndependent/glslang.y"
12719|      0|                     {
12720|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12721|      0|    }
12722|      0|#line 12723 "MachineIndependent/glslang_tab.cpp"
12723|      0|    break;
12724|       |
12725|      0|  case 692: /* spirv_execution_mode_id_parameter_list: constant_expression  */
  ------------------
  |  Branch (12725:3): [True: 0, False: 11.0M]
  ------------------
12726|      0|#line 4476 "MachineIndependent/glslang.y"
12727|      0|                          {
12728|      0|        if ((yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (12728:13): [True: 0, False: 0]
  ------------------
12729|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtInt &&
  ------------------
  |  Branch (12729:13): [True: 0, False: 0]
  ------------------
12730|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtUint &&
  ------------------
  |  Branch (12730:13): [True: 0, False: 0]
  ------------------
12731|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtBool &&
  ------------------
  |  Branch (12731:13): [True: 0, False: 0]
  ------------------
12732|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtString)
  ------------------
  |  Branch (12732:13): [True: 0, False: 0]
  ------------------
12733|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "this type not allowed", (yyvsp[0].interm.intermTypedNode)->getType().getBasicString(), "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12734|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12735|      0|    }
12736|      0|#line 12737 "MachineIndependent/glslang_tab.cpp"
12737|      0|    break;
12738|       |
12739|      0|  case 693: /* spirv_execution_mode_id_parameter_list: spirv_execution_mode_id_parameter_list COMMA constant_expression  */
  ------------------
  |  Branch (12739:3): [True: 0, False: 11.0M]
  ------------------
12740|      0|#line 4485 "MachineIndependent/glslang.y"
12741|      0|                                                                       {
12742|      0|        if ((yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (12742:13): [True: 0, False: 0]
  ------------------
12743|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtInt &&
  ------------------
  |  Branch (12743:13): [True: 0, False: 0]
  ------------------
12744|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtUint &&
  ------------------
  |  Branch (12744:13): [True: 0, False: 0]
  ------------------
12745|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtBool &&
  ------------------
  |  Branch (12745:13): [True: 0, False: 0]
  ------------------
12746|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtString)
  ------------------
  |  Branch (12746:13): [True: 0, False: 0]
  ------------------
12747|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "this type not allowed", (yyvsp[0].interm.intermTypedNode)->getType().getBasicString(), "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12748|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12749|      0|    }
12750|      0|#line 12751 "MachineIndependent/glslang_tab.cpp"
12751|      0|    break;
12752|       |
12753|      0|  case 694: /* spirv_storage_class_qualifier: SPIRV_STORAGE_CLASS LEFT_PAREN INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (12753:3): [True: 0, False: 11.0M]
  ------------------
12754|      0|#line 4496 "MachineIndependent/glslang.y"
12755|      0|                                                             {
12756|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc);
12757|      0|        (yyval.interm.type).qualifier.storage = EvqSpirvStorageClass;
12758|      0|        (yyval.interm.type).qualifier.spirvStorageClass = (yyvsp[-1].lex).i;
12759|      0|    }
12760|      0|#line 12761 "MachineIndependent/glslang_tab.cpp"
12761|      0|    break;
12762|       |
12763|      0|  case 695: /* spirv_storage_class_qualifier: SPIRV_STORAGE_CLASS LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (12763:3): [True: 0, False: 11.0M]
  ------------------
12764|      0|#line 4501 "MachineIndependent/glslang.y"
12765|      0|                                                                                           {
12766|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
12767|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12768|      0|        (yyval.interm.type).qualifier.storage = EvqSpirvStorageClass;
12769|      0|        (yyval.interm.type).qualifier.spirvStorageClass = (yyvsp[-1].lex).i;
12770|      0|    }
12771|      0|#line 12772 "MachineIndependent/glslang_tab.cpp"
12772|      0|    break;
12773|       |
12774|      0|  case 696: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (12774:3): [True: 0, False: 11.0M]
  ------------------
12775|      0|#line 4509 "MachineIndependent/glslang.y"
12776|      0|                                                       {
12777|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc);
12778|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-1].lex).i);
12779|      0|    }
12780|      0|#line 12781 "MachineIndependent/glslang_tab.cpp"
12781|      0|    break;
12782|       |
12783|      0|  case 697: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (12783:3): [True: 0, False: 11.0M]
  ------------------
12784|      0|#line 4513 "MachineIndependent/glslang.y"
12785|      0|                                                                                     {
12786|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
12787|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12788|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-1].lex).i);
12789|      0|    }
12790|      0|#line 12791 "MachineIndependent/glslang_tab.cpp"
12791|      0|    break;
12792|       |
12793|      0|  case 698: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN INTCONSTANT COMMA spirv_decorate_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (12793:3): [True: 0, False: 11.0M]
  ------------------
12794|      0|#line 4518 "MachineIndependent/glslang.y"
12795|      0|                                                                                            {
12796|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
12797|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
12798|      0|    }
12799|      0|#line 12800 "MachineIndependent/glslang_tab.cpp"
12800|      0|    break;
12801|       |
12802|      0|  case 699: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_decorate_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (12802:3): [True: 0, False: 11.0M]
  ------------------
12803|      0|#line 4522 "MachineIndependent/glslang.y"
12804|      0|                                                                                                                          {
12805|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc);
12806|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12807|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
12808|      0|    }
12809|      0|#line 12810 "MachineIndependent/glslang_tab.cpp"
12810|      0|    break;
12811|       |
12812|      0|  case 700: /* spirv_decorate_qualifier: SPIRV_DECORATE_ID LEFT_PAREN INTCONSTANT COMMA spirv_decorate_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (12812:3): [True: 0, False: 11.0M]
  ------------------
12813|      0|#line 4527 "MachineIndependent/glslang.y"
12814|      0|                                                                                                  {
12815|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
12816|      0|        (yyval.interm.type).qualifier.setSpirvDecorateId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
12817|      0|    }
12818|      0|#line 12819 "MachineIndependent/glslang_tab.cpp"
12819|      0|    break;
12820|       |
12821|      0|  case 701: /* spirv_decorate_qualifier: SPIRV_DECORATE_ID LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_decorate_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (12821:3): [True: 0, False: 11.0M]
  ------------------
12822|      0|#line 4531 "MachineIndependent/glslang.y"
12823|      0|                                                                                                                                {
12824|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc);
12825|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12826|      0|        (yyval.interm.type).qualifier.setSpirvDecorateId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
12827|      0|    }
12828|      0|#line 12829 "MachineIndependent/glslang_tab.cpp"
12829|      0|    break;
12830|       |
12831|      0|  case 702: /* spirv_decorate_qualifier: SPIRV_DECORATE_STRING LEFT_PAREN INTCONSTANT COMMA spirv_decorate_string_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (12831:3): [True: 0, False: 11.0M]
  ------------------
12832|      0|#line 4536 "MachineIndependent/glslang.y"
12833|      0|                                                                                                          {
12834|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
12835|      0|        (yyval.interm.type).qualifier.setSpirvDecorateString((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
12836|      0|    }
12837|      0|#line 12838 "MachineIndependent/glslang_tab.cpp"
12838|      0|    break;
12839|       |
12840|      0|  case 703: /* spirv_decorate_qualifier: SPIRV_DECORATE_STRING LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_decorate_string_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (12840:3): [True: 0, False: 11.0M]
  ------------------
12841|      0|#line 4540 "MachineIndependent/glslang.y"
12842|      0|                                                                                                                                        {
12843|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc);
12844|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12845|      0|        (yyval.interm.type).qualifier.setSpirvDecorateString((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
12846|      0|    }
12847|      0|#line 12848 "MachineIndependent/glslang_tab.cpp"
12848|      0|    break;
12849|       |
12850|      0|  case 704: /* spirv_decorate_parameter_list: spirv_decorate_parameter  */
  ------------------
  |  Branch (12850:3): [True: 0, False: 11.0M]
  ------------------
12851|      0|#line 4547 "MachineIndependent/glslang.y"
12852|      0|                               {
12853|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12854|      0|    }
12855|      0|#line 12856 "MachineIndependent/glslang_tab.cpp"
12856|      0|    break;
12857|       |
12858|      0|  case 705: /* spirv_decorate_parameter_list: spirv_decorate_parameter_list COMMA spirv_decorate_parameter  */
  ------------------
  |  Branch (12858:3): [True: 0, False: 11.0M]
  ------------------
12859|      0|#line 4550 "MachineIndependent/glslang.y"
12860|      0|                                                                   {
12861|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12862|      0|    }
12863|      0|#line 12864 "MachineIndependent/glslang_tab.cpp"
12864|      0|    break;
12865|       |
12866|      0|  case 706: /* spirv_decorate_parameter: FLOATCONSTANT  */
  ------------------
  |  Branch (12866:3): [True: 0, False: 11.0M]
  ------------------
12867|      0|#line 4555 "MachineIndependent/glslang.y"
12868|      0|                    {
12869|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12870|      0|    }
12871|      0|#line 12872 "MachineIndependent/glslang_tab.cpp"
12872|      0|    break;
12873|       |
12874|      0|  case 707: /* spirv_decorate_parameter: INTCONSTANT  */
  ------------------
  |  Branch (12874:3): [True: 0, False: 11.0M]
  ------------------
12875|      0|#line 4558 "MachineIndependent/glslang.y"
12876|      0|                  {
12877|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12878|      0|    }
12879|      0|#line 12880 "MachineIndependent/glslang_tab.cpp"
12880|      0|    break;
12881|       |
12882|      0|  case 708: /* spirv_decorate_parameter: UINTCONSTANT  */
  ------------------
  |  Branch (12882:3): [True: 0, False: 11.0M]
  ------------------
12883|      0|#line 4561 "MachineIndependent/glslang.y"
12884|      0|                   {
12885|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12886|      0|    }
12887|      0|#line 12888 "MachineIndependent/glslang_tab.cpp"
12888|      0|    break;
12889|       |
12890|      0|  case 709: /* spirv_decorate_parameter: BOOLCONSTANT  */
  ------------------
  |  Branch (12890:3): [True: 0, False: 11.0M]
  ------------------
12891|      0|#line 4564 "MachineIndependent/glslang.y"
12892|      0|                   {
12893|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12894|      0|    }
12895|      0|#line 12896 "MachineIndependent/glslang_tab.cpp"
12896|      0|    break;
12897|       |
12898|      0|  case 710: /* spirv_decorate_id_parameter_list: spirv_decorate_id_parameter  */
  ------------------
  |  Branch (12898:3): [True: 0, False: 11.0M]
  ------------------
12899|      0|#line 4569 "MachineIndependent/glslang.y"
12900|      0|                                  {
12901|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12902|      0|    }
12903|      0|#line 12904 "MachineIndependent/glslang_tab.cpp"
12904|      0|    break;
12905|       |
12906|      0|  case 711: /* spirv_decorate_id_parameter_list: spirv_decorate_id_parameter_list COMMA spirv_decorate_id_parameter  */
  ------------------
  |  Branch (12906:3): [True: 0, False: 11.0M]
  ------------------
12907|      0|#line 4572 "MachineIndependent/glslang.y"
12908|      0|                                                                         {
12909|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12910|      0|    }
12911|      0|#line 12912 "MachineIndependent/glslang_tab.cpp"
12912|      0|    break;
12913|       |
12914|      0|  case 712: /* spirv_decorate_id_parameter: variable_identifier  */
  ------------------
  |  Branch (12914:3): [True: 0, False: 11.0M]
  ------------------
12915|      0|#line 4577 "MachineIndependent/glslang.y"
12916|      0|                          {
12917|      0|        if ((yyvsp[0].interm.intermTypedNode)->getAsConstantUnion() || (yyvsp[0].interm.intermTypedNode)->getAsSymbolNode())
  ------------------
  |  Branch (12917:13): [True: 0, False: 0]
  |  Branch (12917:72): [True: 0, False: 0]
  ------------------
12918|      0|            (yyval.interm.intermNode) = (yyvsp[0].interm.intermTypedNode);
12919|      0|        else
12920|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "only allow constants or variables which are not elements of a composite", "", "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12921|      0|    }
12922|      0|#line 12923 "MachineIndependent/glslang_tab.cpp"
12923|      0|    break;
12924|       |
12925|      0|  case 713: /* spirv_decorate_id_parameter: FLOATCONSTANT  */
  ------------------
  |  Branch (12925:3): [True: 0, False: 11.0M]
  ------------------
12926|      0|#line 4583 "MachineIndependent/glslang.y"
12927|      0|                    {
12928|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12929|      0|    }
12930|      0|#line 12931 "MachineIndependent/glslang_tab.cpp"
12931|      0|    break;
12932|       |
12933|      0|  case 714: /* spirv_decorate_id_parameter: INTCONSTANT  */
  ------------------
  |  Branch (12933:3): [True: 0, False: 11.0M]
  ------------------
12934|      0|#line 4586 "MachineIndependent/glslang.y"
12935|      0|                  {
12936|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12937|      0|    }
12938|      0|#line 12939 "MachineIndependent/glslang_tab.cpp"
12939|      0|    break;
12940|       |
12941|      0|  case 715: /* spirv_decorate_id_parameter: UINTCONSTANT  */
  ------------------
  |  Branch (12941:3): [True: 0, False: 11.0M]
  ------------------
12942|      0|#line 4589 "MachineIndependent/glslang.y"
12943|      0|                   {
12944|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12945|      0|    }
12946|      0|#line 12947 "MachineIndependent/glslang_tab.cpp"
12947|      0|    break;
12948|       |
12949|      0|  case 716: /* spirv_decorate_id_parameter: BOOLCONSTANT  */
  ------------------
  |  Branch (12949:3): [True: 0, False: 11.0M]
  ------------------
12950|      0|#line 4592 "MachineIndependent/glslang.y"
12951|      0|                   {
12952|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12953|      0|    }
12954|      0|#line 12955 "MachineIndependent/glslang_tab.cpp"
12955|      0|    break;
12956|       |
12957|      0|  case 717: /* spirv_decorate_string_parameter_list: STRING_LITERAL  */
  ------------------
  |  Branch (12957:3): [True: 0, False: 11.0M]
  ------------------
12958|      0|#line 4597 "MachineIndependent/glslang.y"
12959|      0|                     {
12960|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12961|      0|            parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12962|      0|    }
12963|      0|#line 12964 "MachineIndependent/glslang_tab.cpp"
12964|      0|    break;
12965|       |
12966|      0|  case 718: /* spirv_decorate_string_parameter_list: spirv_decorate_string_parameter_list COMMA STRING_LITERAL  */
  ------------------
  |  Branch (12966:3): [True: 0, False: 11.0M]
  ------------------
12967|      0|#line 4601 "MachineIndependent/glslang.y"
12968|      0|                                                                {
12969|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  756|      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));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12970|      0|    }
12971|      0|#line 12972 "MachineIndependent/glslang_tab.cpp"
12972|      0|    break;
12973|       |
12974|      0|  case 719: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_instruction_qualifier_list COMMA spirv_type_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (12974:3): [True: 0, False: 11.0M]
  ------------------
12975|      0|#line 4606 "MachineIndependent/glslang.y"
12976|      0|                                                                                                         {
12977|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12978|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-3].interm.spirvInst), (yyvsp[-1].interm.spirvTypeParams));
12979|      0|    }
12980|      0|#line 12981 "MachineIndependent/glslang_tab.cpp"
12981|      0|    break;
12982|       |
12983|      0|  case 720: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_requirements_list COMMA spirv_instruction_qualifier_list COMMA spirv_type_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (12983:3): [True: 0, False: 11.0M]
  ------------------
12984|      0|#line 4610 "MachineIndependent/glslang.y"
12985|      0|                                                                                                                                       {
12986|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12987|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12988|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-3].interm.spirvInst), (yyvsp[-1].interm.spirvTypeParams));
12989|      0|    }
12990|      0|#line 12991 "MachineIndependent/glslang_tab.cpp"
12991|      0|    break;
12992|       |
12993|      0|  case 721: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (12993:3): [True: 0, False: 11.0M]
  ------------------
12994|      0|#line 4615 "MachineIndependent/glslang.y"
12995|      0|                                                                         {
12996|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
12997|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-1].interm.spirvInst));
12998|      0|    }
12999|      0|#line 13000 "MachineIndependent/glslang_tab.cpp"
13000|      0|    break;
13001|       |
13002|      0|  case 722: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_requirements_list COMMA spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13002:3): [True: 0, False: 11.0M]
  ------------------
13003|      0|#line 4619 "MachineIndependent/glslang.y"
13004|      0|                                                                                                       {
13005|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
13006|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
13007|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-1].interm.spirvInst));
13008|      0|    }
13009|      0|#line 13010 "MachineIndependent/glslang_tab.cpp"
13010|      0|    break;
13011|       |
13012|      0|  case 723: /* spirv_type_parameter_list: spirv_type_parameter  */
  ------------------
  |  Branch (13012:3): [True: 0, False: 11.0M]
  ------------------
13013|      0|#line 4626 "MachineIndependent/glslang.y"
13014|      0|                           {
13015|      0|        (yyval.interm.spirvTypeParams) = (yyvsp[0].interm.spirvTypeParams);
13016|      0|    }
13017|      0|#line 13018 "MachineIndependent/glslang_tab.cpp"
13018|      0|    break;
13019|       |
13020|      0|  case 724: /* spirv_type_parameter_list: spirv_type_parameter_list COMMA spirv_type_parameter  */
  ------------------
  |  Branch (13020:3): [True: 0, False: 11.0M]
  ------------------
13021|      0|#line 4629 "MachineIndependent/glslang.y"
13022|      0|                                                           {
13023|      0|        (yyval.interm.spirvTypeParams) = parseContext.mergeSpirvTypeParameters((yyvsp[-2].interm.spirvTypeParams), (yyvsp[0].interm.spirvTypeParams));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
13024|      0|    }
13025|      0|#line 13026 "MachineIndependent/glslang_tab.cpp"
13026|      0|    break;
13027|       |
13028|      0|  case 725: /* spirv_type_parameter: constant_expression  */
  ------------------
  |  Branch (13028:3): [True: 0, False: 11.0M]
  ------------------
13029|      0|#line 4634 "MachineIndependent/glslang.y"
13030|      0|                          {
13031|      0|        (yyval.interm.spirvTypeParams) = parseContext.makeSpirvTypeParameters((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode)->getAsConstantUnion());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
13032|      0|    }
13033|      0|#line 13034 "MachineIndependent/glslang_tab.cpp"
13034|      0|    break;
13035|       |
13036|      0|  case 726: /* spirv_type_parameter: type_specifier_nonarray  */
  ------------------
  |  Branch (13036:3): [True: 0, False: 11.0M]
  ------------------
13037|      0|#line 4637 "MachineIndependent/glslang.y"
13038|      0|                              {
13039|      0|        (yyval.interm.spirvTypeParams) = parseContext.makeSpirvTypeParameters((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
13040|      0|    }
13041|      0|#line 13042 "MachineIndependent/glslang_tab.cpp"
13042|      0|    break;
13043|       |
13044|      0|  case 727: /* spirv_instruction_qualifier: SPIRV_INSTRUCTION LEFT_PAREN spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13044:3): [True: 0, False: 11.0M]
  ------------------
13045|      0|#line 4642 "MachineIndependent/glslang.y"
13046|      0|                                                                                {
13047|      0|        (yyval.interm.spirvInst) = (yyvsp[-1].interm.spirvInst);
13048|      0|    }
13049|      0|#line 13050 "MachineIndependent/glslang_tab.cpp"
13050|      0|    break;
13051|       |
13052|      0|  case 728: /* spirv_instruction_qualifier: SPIRV_INSTRUCTION LEFT_PAREN spirv_requirements_list COMMA spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13052:3): [True: 0, False: 11.0M]
  ------------------
13053|      0|#line 4645 "MachineIndependent/glslang.y"
13054|      0|                                                                                                              {
13055|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
13056|      0|        (yyval.interm.spirvInst) = (yyvsp[-1].interm.spirvInst);
13057|      0|    }
13058|      0|#line 13059 "MachineIndependent/glslang_tab.cpp"
13059|      0|    break;
13060|       |
13061|      0|  case 729: /* spirv_instruction_qualifier_list: spirv_instruction_qualifier_id  */
  ------------------
  |  Branch (13061:3): [True: 0, False: 11.0M]
  ------------------
13062|      0|#line 4651 "MachineIndependent/glslang.y"
13063|      0|                                     {
13064|      0|        (yyval.interm.spirvInst) = (yyvsp[0].interm.spirvInst);
13065|      0|    }
13066|      0|#line 13067 "MachineIndependent/glslang_tab.cpp"
13067|      0|    break;
13068|       |
13069|      0|  case 730: /* spirv_instruction_qualifier_list: spirv_instruction_qualifier_list COMMA spirv_instruction_qualifier_id  */
  ------------------
  |  Branch (13069:3): [True: 0, False: 11.0M]
  ------------------
13070|      0|#line 4654 "MachineIndependent/glslang.y"
13071|      0|                                                                            {
13072|      0|        (yyval.interm.spirvInst) = parseContext.mergeSpirvInstruction((yyvsp[-1].lex).loc, (yyvsp[-2].interm.spirvInst), (yyvsp[0].interm.spirvInst));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
13073|      0|    }
13074|      0|#line 13075 "MachineIndependent/glslang_tab.cpp"
13075|      0|    break;
13076|       |
13077|      0|  case 731: /* spirv_instruction_qualifier_id: IDENTIFIER EQUAL STRING_LITERAL  */
  ------------------
  |  Branch (13077:3): [True: 0, False: 11.0M]
  ------------------
13078|      0|#line 4659 "MachineIndependent/glslang.y"
13079|      0|                                      {
13080|      0|        (yyval.interm.spirvInst) = parseContext.makeSpirvInstruction((yyvsp[-1].lex).loc, *(yyvsp[-2].lex).string, *(yyvsp[0].lex).string);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
13081|      0|    }
13082|      0|#line 13083 "MachineIndependent/glslang_tab.cpp"
13083|      0|    break;
13084|       |
13085|      0|  case 732: /* spirv_instruction_qualifier_id: IDENTIFIER EQUAL INTCONSTANT  */
  ------------------
  |  Branch (13085:3): [True: 0, False: 11.0M]
  ------------------
13086|      0|#line 4662 "MachineIndependent/glslang.y"
13087|      0|                                   {
13088|      0|        (yyval.interm.spirvInst) = parseContext.makeSpirvInstruction((yyvsp[-1].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[0].lex).i);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
13089|      0|    }
13090|      0|#line 13091 "MachineIndependent/glslang_tab.cpp"
13091|      0|    break;
13092|       |
13093|       |
13094|      0|#line 13095 "MachineIndependent/glslang_tab.cpp"
13095|       |
13096|      0|      default: break;
  ------------------
  |  Branch (13096:7): [True: 0, False: 11.0M]
  ------------------
13097|  11.0M|    }
13098|       |  /* User semantic actions sometimes alter yychar, and that requires
13099|       |     that yytoken be updated with the new translation.  We take the
13100|       |     approach of translating immediately before every use of yytoken.
13101|       |     One alternative is translating here after every semantic action,
13102|       |     but that translation would be missed if the semantic action invokes
13103|       |     YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or
13104|       |     if it invokes YYBACKUP.  In the case of YYABORT or YYACCEPT, an
13105|       |     incorrect destructor might then be invoked immediately.  In the
13106|       |     case of YYERROR or YYBACKUP, subsequent parser actions might lead
13107|       |     to an incorrect destructor call or verbose syntax error message
13108|       |     before the lookahead is translated.  */
13109|  11.0M|  YY_SYMBOL_PRINT ("-> $$ =", YY_CAST (yysymbol_kind_t, yyr1[yyn]), &yyval, &yyloc);
  ------------------
  |  | 4800|  11.0M|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 4801|  11.0M|do {                                                                      \
  |  | 4802|  11.0M|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (4802:7): [True: 0, False: 11.0M]
  |  |  ------------------
  |  | 4803|  11.0M|    {                                                                     \
  |  | 4804|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4805|      0|      yy_symbol_print (stderr,                                            \
  |  | 4806|      0|                  Kind, Value, pParseContext); \
  |  | 4807|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4808|      0|    }                                                                     \
  |  | 4809|  11.0M|} while (0)
  |  |  ------------------
  |  |  |  Branch (4809:10): [Folded, False: 11.0M]
  |  |  ------------------
  ------------------
13110|       |
13111|  11.0M|  YYPOPSTACK (yylen);
  ------------------
  |  | 5277|  11.0M|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13112|  11.0M|  yylen = 0;
13113|       |
13114|  11.0M|  *++yyvsp = yyval;
13115|       |
13116|       |  /* Now 'shift' the result of the reduction.  Determine what state
13117|       |     that goes to, based on the state we popped back to and the rule
13118|       |     number reduced by.  */
13119|  11.0M|  {
13120|  11.0M|    const int yylhs = yyr1[yyn] - YYNTOKENS;
  ------------------
  |  | 1089|  11.0M|#define YYNTOKENS  488
  ------------------
13121|  11.0M|    const int yyi = yypgoto[yylhs] + *yyssp;
13122|  11.0M|    yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp
  ------------------
  |  | 1086|  17.1M|#define YYLAST   13823
  ------------------
  |  Branch (13122:16): [True: 6.08M, False: 4.94M]
  |  Branch (13122:28): [True: 6.08M, False: 0]
  |  Branch (13122:45): [True: 3.73M, False: 2.35M]
  ------------------
13123|  11.0M|               ? yytable[yyi]
13124|  11.0M|               : yydefgoto[yylhs]);
13125|  11.0M|  }
13126|       |
13127|  11.0M|  goto yynewstate;
13128|       |
13129|       |
13130|       |/*--------------------------------------.
13131|       || yyerrlab -- here on detecting error.  |
13132|       |`--------------------------------------*/
13133|    233|yyerrlab:
13134|       |  /* Make sure we have latest lookahead translation.  See comments at
13135|       |     user semantic actions for why this is necessary.  */
13136|    233|  yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar);
  ------------------
  |  | 1104|    466|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1098|    233|#define YYMAXUTOK   742
  |  |  ------------------
  |  |  |  Branch (1104:4): [True: 233, False: 0]
  |  |  |  Branch (1104:18): [True: 233, False: 0]
  |  |  ------------------
  |  | 1105|    466|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  100|    233|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  |  | 1106|    466|   : YYSYMBOL_YYUNDEF)
  ------------------
  |  Branch (13136:13): [True: 0, False: 233]
  ------------------
13137|       |  /* If not already recovering from an error, report this error.  */
13138|    233|  if (!yyerrstatus)
  ------------------
  |  Branch (13138:7): [True: 233, False: 0]
  ------------------
13139|    233|    {
13140|    233|      ++yynerrs;
13141|    233|      {
13142|    233|        yypcontext_t yyctx
13143|    233|          = {yyssp, yytoken};
13144|    233|        char const *yymsgp = YY_("syntax error");
  ------------------
  |  |  888|    233|#  define YY_(Msgid) Msgid
  ------------------
13145|    233|        int yysyntax_error_status;
13146|    233|        yysyntax_error_status = yysyntax_error (&yymsg_alloc, &yymsg, &yyctx);
13147|    233|        if (yysyntax_error_status == 0)
  ------------------
  |  Branch (13147:13): [True: 233, False: 0]
  ------------------
13148|    233|          yymsgp = yymsg;
13149|      0|        else if (yysyntax_error_status == -1)
  ------------------
  |  Branch (13149:18): [True: 0, False: 0]
  ------------------
13150|      0|          {
13151|      0|            if (yymsg != yymsgbuf)
  ------------------
  |  Branch (13151:17): [True: 0, False: 0]
  ------------------
13152|      0|              YYSTACK_FREE (yymsg);
  ------------------
  |  |  996|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1015|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
13153|      0|            yymsg = YY_CAST (char *,
  ------------------
  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
13154|      0|                             YYSTACK_ALLOC (YY_CAST (YYSIZE_T, yymsg_alloc)));
13155|      0|            if (yymsg)
  ------------------
  |  Branch (13155:17): [True: 0, False: 0]
  ------------------
13156|      0|              {
13157|      0|                yysyntax_error_status
13158|      0|                  = yysyntax_error (&yymsg_alloc, &yymsg, &yyctx);
13159|      0|                yymsgp = yymsg;
13160|      0|              }
13161|      0|            else
13162|      0|              {
13163|      0|                yymsg = yymsgbuf;
13164|      0|                yymsg_alloc = sizeof yymsgbuf;
13165|      0|                yysyntax_error_status = YYENOMEM;
13166|      0|              }
13167|      0|          }
13168|    233|        yyerror (pParseContext, yymsgp);
  ------------------
  |  |  757|    233|#define yyerror(context, msg) context->parserError(msg)
  ------------------
13169|    233|        if (yysyntax_error_status == YYENOMEM)
  ------------------
  |  Branch (13169:13): [True: 0, False: 233]
  ------------------
13170|      0|          YYNOMEM;
  ------------------
  |  | 4756|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
13171|    233|      }
13172|    233|    }
13173|       |
13174|    233|  if (yyerrstatus == 3)
  ------------------
  |  Branch (13174:7): [True: 0, False: 233]
  ------------------
13175|      0|    {
13176|       |      /* If just tried and failed to reuse lookahead token after an
13177|       |         error, discard it.  */
13178|       |
13179|      0|      if (yychar <= YYEOF)
  ------------------
  |  Branch (13179:11): [True: 0, False: 0]
  ------------------
13180|      0|        {
13181|       |          /* Return failure if at end of input.  */
13182|      0|          if (yychar == YYEOF)
  ------------------
  |  Branch (13182:15): [True: 0, False: 0]
  ------------------
13183|      0|            YYABORT;
  ------------------
  |  | 4754|      0|#define YYABORT         goto yyabortlab
  ------------------
13184|      0|        }
13185|      0|      else
13186|      0|        {
13187|      0|          yydestruct ("Error: discarding",
13188|      0|                      yytoken, &yylval, pParseContext);
13189|      0|          yychar = YYEMPTY;
13190|      0|        }
13191|      0|    }
13192|       |
13193|       |  /* Else will try to reuse lookahead token after shifting the error
13194|       |     token.  */
13195|    233|  goto yyerrlab1;
13196|       |
13197|       |
13198|       |/*---------------------------------------------------.
13199|       || yyerrorlab -- error raised explicitly by YYERROR.  |
13200|       |`---------------------------------------------------*/
13201|    233|yyerrorlab:
13202|       |  /* Pacify compilers when the user code never invokes YYERROR and the
13203|       |     label yyerrorlab therefore never appears in user code.  */
13204|      0|  if (0)
  ------------------
  |  Branch (13204:7): [Folded, False: 0]
  ------------------
13205|      0|    YYERROR;
  ------------------
  |  | 4755|      0|#define YYERROR         goto yyerrorlab
  ------------------
13206|      0|  ++yynerrs;
13207|       |
13208|       |  /* Do not reclaim the symbols of the rule whose action triggered
13209|       |     this YYERROR.  */
13210|      0|  YYPOPSTACK (yylen);
  ------------------
  |  | 5277|      0|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13211|      0|  yylen = 0;
13212|      0|  YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 4863|      0|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 4864|      0|do {                                                            \
  |  | 4865|      0|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (4865:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 4866|      0|    yy_stack_print ((Bottom), (Top));                           \
  |  | 4867|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (4867:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
13213|      0|  yystate = *yyssp;
13214|      0|  goto yyerrlab1;
13215|       |
13216|       |
13217|       |/*-------------------------------------------------------------.
13218|       || yyerrlab1 -- common code for both syntax error and YYERROR.  |
13219|       |`-------------------------------------------------------------*/
13220|    233|yyerrlab1:
13221|    233|  yyerrstatus = 3;      /* Each real token shifted decrements this.  */
13222|       |
13223|       |  /* Pop stack until we find a state that shifts the error token.  */
13224|    233|  for (;;)
13225|  2.68k|    {
13226|  2.68k|      yyn = yypact[yystate];
13227|  2.68k|      if (!yypact_value_is_default (yyn))
  ------------------
  |  | 1451|  2.68k|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1448|  2.68k|#define YYPACT_NINF (-849)
  |  |  ------------------
  ------------------
  |  Branch (13227:11): [True: 2.62k, False: 59]
  ------------------
13228|  2.62k|        {
13229|  2.62k|          yyn += YYSYMBOL_YYerror;
13230|  2.62k|          if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror)
  ------------------
  |  | 1086|  4.86k|#define YYLAST   13823
  ------------------
  |  Branch (13230:15): [True: 2.24k, False: 385]
  |  Branch (13230:27): [True: 2.24k, False: 0]
  |  Branch (13230:44): [True: 0, False: 2.24k]
  ------------------
13231|      0|            {
13232|      0|              yyn = yytable[yyn];
13233|      0|              if (0 < yyn)
  ------------------
  |  Branch (13233:19): [True: 0, False: 0]
  ------------------
13234|      0|                break;
13235|      0|            }
13236|  2.62k|        }
13237|       |
13238|       |      /* Pop the current state because it cannot handle the error token.  */
13239|  2.68k|      if (yyssp == yyss)
  ------------------
  |  Branch (13239:11): [True: 233, False: 2.45k]
  ------------------
13240|    233|        YYABORT;
  ------------------
  |  | 4754|    233|#define YYABORT         goto yyabortlab
  ------------------
13241|       |
13242|       |
13243|  2.45k|      yydestruct ("Error: popping",
13244|  2.45k|                  YY_ACCESSING_SYMBOL (yystate), yyvsp, pParseContext);
  ------------------
  |  | 1271|  2.45k|#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
  |  |  ------------------
  |  |  |  |  100|  2.45k|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
13245|  2.45k|      YYPOPSTACK (1);
  ------------------
  |  | 5277|  2.45k|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13246|  2.45k|      yystate = *yyssp;
13247|  2.45k|      YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 4863|  2.45k|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 4864|  2.45k|do {                                                            \
  |  | 4865|  2.45k|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (4865:7): [True: 0, False: 2.45k]
  |  |  ------------------
  |  | 4866|  2.45k|    yy_stack_print ((Bottom), (Top));                           \
  |  | 4867|  2.45k|} while (0)
  |  |  ------------------
  |  |  |  Branch (4867:10): [Folded, False: 2.45k]
  |  |  ------------------
  ------------------
13248|  2.45k|    }
13249|       |
13250|      0|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
13251|      0|  *++yyvsp = yylval;
13252|      0|  YY_IGNORE_MAYBE_UNINITIALIZED_END
13253|       |
13254|       |
13255|       |  /* Shift the error token.  */
13256|      0|  YY_SYMBOL_PRINT ("Shifting", YY_ACCESSING_SYMBOL (yyn), yyvsp, yylsp);
  ------------------
  |  | 4800|      0|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 4801|      0|do {                                                                      \
  |  | 4802|      0|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (4802:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 4803|      0|    {                                                                     \
  |  | 4804|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4805|      0|      yy_symbol_print (stderr,                                            \
  |  | 4806|      0|                  Kind, Value, pParseContext); \
  |  | 4807|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4808|      0|    }                                                                     \
  |  | 4809|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (4809:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
13257|       |
13258|      0|  yystate = yyn;
13259|      0|  goto yynewstate;
13260|       |
13261|       |
13262|       |/*-------------------------------------.
13263|       || yyacceptlab -- YYACCEPT comes here.  |
13264|       |`-------------------------------------*/
13265|    546|yyacceptlab:
13266|    546|  yyresult = 0;
13267|    546|  goto yyreturnlab;
13268|       |
13269|       |
13270|       |/*-----------------------------------.
13271|       || yyabortlab -- YYABORT comes here.  |
13272|       |`-----------------------------------*/
13273|    233|yyabortlab:
13274|    233|  yyresult = 1;
13275|    233|  goto yyreturnlab;
13276|       |
13277|       |
13278|       |/*-----------------------------------------------------------.
13279|       || yyexhaustedlab -- YYNOMEM (memory exhaustion) comes here.  |
13280|       |`-----------------------------------------------------------*/
13281|      1|yyexhaustedlab:
13282|      1|  yyerror (pParseContext, YY_("memory exhausted"));
  ------------------
  |  |  757|      1|#define yyerror(context, msg) context->parserError(msg)
  ------------------
13283|      1|  yyresult = 2;
13284|      1|  goto yyreturnlab;
13285|       |
13286|       |
13287|       |/*----------------------------------------------------------.
13288|       || yyreturnlab -- parsing is finished, clean up and return.  |
13289|       |`----------------------------------------------------------*/
13290|    780|yyreturnlab:
13291|    780|  if (yychar != YYEMPTY)
  ------------------
  |  Branch (13291:7): [True: 233, False: 547]
  ------------------
13292|    233|    {
13293|       |      /* Make sure we have latest lookahead translation.  See comments at
13294|       |         user semantic actions for why this is necessary.  */
13295|    233|      yytoken = YYTRANSLATE (yychar);
  ------------------
  |  | 1104|    233|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1098|    233|#define YYMAXUTOK   742
  |  |  ------------------
  |  |  |  Branch (1104:4): [True: 233, False: 0]
  |  |  |  Branch (1104:18): [True: 233, False: 0]
  |  |  ------------------
  |  | 1105|    233|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  100|    233|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  |  | 1106|    233|   : YYSYMBOL_YYUNDEF)
  ------------------
13296|    233|      yydestruct ("Cleanup: discarding lookahead",
13297|    233|                  yytoken, &yylval, pParseContext);
13298|    233|    }
13299|       |  /* Do not reclaim the symbols of the rule whose action triggered
13300|       |     this YYABORT or YYACCEPT.  */
13301|    780|  YYPOPSTACK (yylen);
  ------------------
  |  | 5277|    780|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13302|    780|  YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 4863|    780|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 4864|    780|do {                                                            \
  |  | 4865|    780|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (4865:7): [True: 0, False: 780]
  |  |  ------------------
  |  | 4866|    780|    yy_stack_print ((Bottom), (Top));                           \
  |  | 4867|    780|} while (0)
  |  |  ------------------
  |  |  |  Branch (4867:10): [Folded, False: 780]
  |  |  ------------------
  ------------------
13303|  11.8k|  while (yyssp != yyss)
  ------------------
  |  Branch (13303:10): [True: 11.0k, False: 780]
  ------------------
13304|  11.0k|    {
13305|  11.0k|      yydestruct ("Cleanup: popping",
13306|  11.0k|                  YY_ACCESSING_SYMBOL (+*yyssp), yyvsp, pParseContext);
  ------------------
  |  | 1271|  11.0k|#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
  |  |  ------------------
  |  |  |  |  100|  11.0k|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
13307|  11.0k|      YYPOPSTACK (1);
  ------------------
  |  | 5277|  11.0k|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13308|  11.0k|    }
13309|    780|#ifndef yyoverflow
13310|    780|  if (yyss != yyssa)
  ------------------
  |  Branch (13310:7): [True: 2, False: 778]
  ------------------
13311|      2|    YYSTACK_FREE (yyss);
  ------------------
  |  |  996|      2|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1015|      2|#   define YYFREE free
  |  |  ------------------
  ------------------
13312|    780|#endif
13313|    780|  if (yymsg != yymsgbuf)
  ------------------
  |  Branch (13313:7): [True: 0, False: 780]
  ------------------
13314|      0|    YYSTACK_FREE (yymsg);
  ------------------
  |  |  996|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1015|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
13315|    780|  return yyresult;
13316|    233|}
glslang_tab.cpp:_ZL14yysyntax_errorPlPPcPK12yypcontext_t:
 5121|    233|{
 5122|    233|  enum { YYARGS_MAX = 5 };
 5123|       |  /* Internationalized format string. */
 5124|    233|  const char *yyformat = YY_NULLPTR;
  ------------------
  |  |  110|    233|#    define YY_NULLPTR nullptr
  ------------------
 5125|       |  /* Arguments of yyformat: reported tokens (one for the "unexpected",
 5126|       |     one per "expected"). */
 5127|    233|  yysymbol_kind_t yyarg[YYARGS_MAX];
 5128|       |  /* Cumulated lengths of YYARG.  */
 5129|    233|  YYPTRDIFF_T yysize = 0;
  ------------------
  |  |  838|    233|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5130|       |
 5131|       |  /* Actual size of YYARG. */
 5132|    233|  int yycount = yy_syntax_error_arguments (yyctx, yyarg, YYARGS_MAX);
 5133|    233|  if (yycount == YYENOMEM)
  ------------------
  |  Branch (5133:7): [True: 0, False: 233]
  ------------------
 5134|      0|    return YYENOMEM;
 5135|       |
 5136|    233|  switch (yycount)
 5137|    233|    {
 5138|      0|#define YYCASE_(N, S)                       \
 5139|      0|      case N:                               \
 5140|      0|        yyformat = S;                       \
 5141|      0|        break
 5142|      0|    default: /* Avoid compiler warnings. */
  ------------------
  |  Branch (5142:5): [True: 0, False: 233]
  ------------------
 5143|      0|      YYCASE_(0, YY_("syntax error"));
  ------------------
  |  | 5139|      0|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5139:7): [True: 0, False: 233]
  |  |  ------------------
  |  | 5140|      0|        yyformat = S;                       \
  |  | 5141|      0|        break
  ------------------
 5144|     25|      YYCASE_(1, YY_("syntax error, unexpected %s"));
  ------------------
  |  | 5139|     25|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5139:7): [True: 25, False: 208]
  |  |  ------------------
  |  | 5140|     25|        yyformat = S;                       \
  |  | 5141|     25|        break
  ------------------
 5145|      3|      YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s"));
  ------------------
  |  | 5139|      3|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5139:7): [True: 3, False: 230]
  |  |  ------------------
  |  | 5140|      3|        yyformat = S;                       \
  |  | 5141|      3|        break
  ------------------
 5146|    205|      YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s"));
  ------------------
  |  | 5139|    205|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5139:7): [True: 205, False: 28]
  |  |  ------------------
  |  | 5140|    205|        yyformat = S;                       \
  |  | 5141|    205|        break
  ------------------
 5147|      0|      YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s"));
  ------------------
  |  | 5139|      0|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5139:7): [True: 0, False: 233]
  |  |  ------------------
  |  | 5140|      0|        yyformat = S;                       \
  |  | 5141|      0|        break
  ------------------
 5148|    233|      YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"));
  ------------------
  |  | 5139|      0|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5139:7): [True: 0, False: 233]
  |  |  ------------------
  |  | 5140|      0|        yyformat = S;                       \
  |  | 5141|      0|        break
  ------------------
 5149|    233|#undef YYCASE_
 5150|    233|    }
 5151|       |
 5152|       |  /* Compute error message size.  Don't count the "%s"s, but reserve
 5153|       |     room for the terminator.  */
 5154|    233|  yysize = yystrlen (yyformat) - 2 * yycount + 1;
  ------------------
  |  | 4980|    233|#  define yystrlen(S) (YY_CAST (YYPTRDIFF_T, strlen (S)))
  |  |  ------------------
  |  |  |  |  100|    233|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
 5155|    233|  {
 5156|    233|    int yyi;
 5157|    879|    for (yyi = 0; yyi < yycount; ++yyi)
  ------------------
  |  Branch (5157:19): [True: 646, False: 233]
  ------------------
 5158|    646|      {
 5159|    646|        YYPTRDIFF_T yysize1
  ------------------
  |  |  838|    646|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5160|    646|          = yysize + yytnamerr (YY_NULLPTR, yytname[yyarg[yyi]]);
  ------------------
  |  |  110|    646|#    define YY_NULLPTR nullptr
  ------------------
 5161|    646|        if (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)
  ------------------
  |  |  998|    646|#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
  |  |  ------------------
  |  |  |  |  866|    646|  YY_CAST (YYPTRDIFF_T,                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|  1.29k|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (100:50): [True: 646, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5161:13): [True: 646, False: 0]
  |  Branch (5161:34): [True: 646, False: 0]
  ------------------
 5162|    646|          yysize = yysize1;
 5163|      0|        else
 5164|      0|          return YYENOMEM;
 5165|    646|      }
 5166|    233|  }
 5167|       |
 5168|    233|  if (*yymsg_alloc < yysize)
  ------------------
  |  Branch (5168:7): [True: 0, False: 233]
  ------------------
 5169|      0|    {
 5170|      0|      *yymsg_alloc = 2 * yysize;
 5171|      0|      if (! (yysize <= *yymsg_alloc
  ------------------
  |  Branch (5171:14): [True: 0, False: 0]
  ------------------
 5172|      0|             && *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM))
  ------------------
  |  |  998|      0|#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
  |  |  ------------------
  |  |  |  |  866|      0|  YY_CAST (YYPTRDIFF_T,                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (100:50): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5172:17): [True: 0, False: 0]
  ------------------
 5173|      0|        *yymsg_alloc = YYSTACK_ALLOC_MAXIMUM;
  ------------------
  |  |  998|      0|#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
  |  |  ------------------
  |  |  |  |  866|      0|  YY_CAST (YYPTRDIFF_T,                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (100:50): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5174|      0|      return -1;
 5175|      0|    }
 5176|       |
 5177|       |  /* Avoid sprintf, as that infringes on the user's name space.
 5178|       |     Don't have undefined behavior even if the translation
 5179|       |     produced a string with the wrong number of "%s"s.  */
 5180|    233|  {
 5181|    233|    char *yyp = *yymsg;
 5182|    233|    int yyi = 0;
 5183|  10.0k|    while ((*yyp = *yyformat) != '\0')
  ------------------
  |  Branch (5183:12): [True: 9.78k, False: 233]
  ------------------
 5184|  9.78k|      if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount)
  ------------------
  |  Branch (5184:11): [True: 646, False: 9.14k]
  |  Branch (5184:26): [True: 646, False: 0]
  |  Branch (5184:48): [True: 646, False: 0]
  ------------------
 5185|    646|        {
 5186|    646|          yyp += yytnamerr (yyp, yytname[yyarg[yyi++]]);
 5187|    646|          yyformat += 2;
 5188|    646|        }
 5189|  9.14k|      else
 5190|  9.14k|        {
 5191|  9.14k|          ++yyp;
 5192|  9.14k|          ++yyformat;
 5193|  9.14k|        }
 5194|    233|  }
 5195|    233|  return 0;
 5196|    233|}
glslang_tab.cpp:_ZL25yy_syntax_error_argumentsPK12yypcontext_tP15yysymbol_kind_ti:
 5068|    233|{
 5069|       |  /* Actual size of YYARG. */
 5070|    233|  int yycount = 0;
 5071|       |  /* There are many possibilities here to consider:
 5072|       |     - If this state is a consistent state with a default action, then
 5073|       |       the only way this function was invoked is if the default action
 5074|       |       is an error action.  In that case, don't check for expected
 5075|       |       tokens because there are none.
 5076|       |     - The only way there can be no lookahead present (in yychar) is if
 5077|       |       this state is a consistent state with a default action.  Thus,
 5078|       |       detecting the absence of a lookahead is sufficient to determine
 5079|       |       that there is no unexpected or expected token to report.  In that
 5080|       |       case, just report a simple "syntax error".
 5081|       |     - Don't assume there isn't a lookahead just because this state is a
 5082|       |       consistent state with a default action.  There might have been a
 5083|       |       previous inconsistent state, consistent state with a non-default
 5084|       |       action, or user semantic action that manipulated yychar.
 5085|       |     - Of course, the expected token list depends on states to have
 5086|       |       correct lookahead information, and it depends on the parser not
 5087|       |       to perform extra reductions after fetching a lookahead from the
 5088|       |       scanner and before detecting a syntax error.  Thus, state merging
 5089|       |       (from LALR or IELR) and default reductions corrupt the expected
 5090|       |       token list.  However, the list is correct for canonical LR with
 5091|       |       one exception: it will still contain any token that will not be
 5092|       |       accepted due to an error action in a later state.
 5093|       |  */
 5094|    233|  if (yyctx->yytoken != YYSYMBOL_YYEMPTY)
  ------------------
  |  Branch (5094:7): [True: 233, False: 0]
  ------------------
 5095|    233|    {
 5096|    233|      int yyn;
 5097|    233|      if (yyarg)
  ------------------
  |  Branch (5097:11): [True: 233, False: 0]
  ------------------
 5098|    233|        yyarg[yycount] = yyctx->yytoken;
 5099|    233|      ++yycount;
 5100|    233|      yyn = yypcontext_expected_tokens (yyctx,
 5101|    233|                                        yyarg ? yyarg + 1 : yyarg, yyargn - 1);
  ------------------
  |  Branch (5101:41): [True: 233, False: 0]
  ------------------
 5102|    233|      if (yyn == YYENOMEM)
  ------------------
  |  Branch (5102:11): [True: 0, False: 233]
  ------------------
 5103|      0|        return YYENOMEM;
 5104|    233|      else
 5105|    233|        yycount += yyn;
 5106|    233|    }
 5107|    233|  return yycount;
 5108|    233|}
glslang_tab.cpp:_ZL26yypcontext_expected_tokensPK12yypcontext_tP15yysymbol_kind_ti:
 4944|    233|{
 4945|       |  /* Actual size of YYARG. */
 4946|    233|  int yycount = 0;
 4947|    233|  int yyn = yypact[+*yyctx->yyssp];
 4948|    233|  if (!yypact_value_is_default (yyn))
  ------------------
  |  | 1451|    233|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1448|    233|#define YYPACT_NINF (-849)
  |  |  ------------------
  ------------------
  |  Branch (4948:7): [True: 233, False: 0]
  ------------------
 4949|    233|    {
 4950|       |      /* Start YYX at -YYN if negative to avoid negative indexes in
 4951|       |         YYCHECK.  In other words, skip the first -YYN actions for
 4952|       |         this state because they are default actions.  */
 4953|    233|      int yyxbegin = yyn < 0 ? -yyn : 0;
  ------------------
  |  Branch (4953:22): [True: 207, False: 26]
  ------------------
 4954|       |      /* Stay within bounds of both yycheck and yytname.  */
 4955|    233|      int yychecklim = YYLAST - yyn + 1;
  ------------------
  |  | 1086|    233|#define YYLAST   13823
  ------------------
 4956|    233|      int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
  ------------------
  |  | 1089|    233|#define YYNTOKENS  488
  ------------------
                    int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
  ------------------
  |  | 1089|    233|#define YYNTOKENS  488
  ------------------
  |  Branch (4956:20): [True: 0, False: 233]
  ------------------
 4957|    233|      int yyx;
 4958|  38.0k|      for (yyx = yyxbegin; yyx < yyxend; ++yyx)
  ------------------
  |  Branch (4958:28): [True: 37.8k, False: 208]
  ------------------
 4959|  37.8k|        if (yycheck[yyx + yyn] == yyx && yyx != YYSYMBOL_YYerror
  ------------------
  |  Branch (4959:13): [True: 538, False: 37.3k]
  |  Branch (4959:42): [True: 538, False: 0]
  ------------------
 4960|      0|            && !yytable_value_is_error (yytable[yyx + yyn]))
  ------------------
  |  | 1456|      0|  0
  ------------------
  |  Branch (4960:16): [True: 0, Folded]
  ------------------
 4961|    538|          {
 4962|    538|            if (!yyarg)
  ------------------
  |  Branch (4962:17): [True: 0, False: 538]
  ------------------
 4963|      0|              ++yycount;
 4964|    538|            else if (yycount == yyargn)
  ------------------
  |  Branch (4964:22): [True: 25, False: 513]
  ------------------
 4965|     25|              return 0;
 4966|    513|            else
 4967|    513|              yyarg[yycount++] = YY_CAST (yysymbol_kind_t, yyx);
  ------------------
  |  |  100|    513|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
 4968|    538|          }
 4969|    233|    }
 4970|    208|  if (yyarg && yycount == 0 && 0 < yyargn)
  ------------------
  |  Branch (4970:7): [True: 208, False: 0]
  |  Branch (4970:16): [True: 0, False: 208]
  |  Branch (4970:32): [True: 0, False: 0]
  ------------------
 4971|      0|    yyarg[0] = YYSYMBOL_YYEMPTY;
 4972|    208|  return yycount;
 4973|    233|}
glslang_tab.cpp:_ZL9yytnamerrPcPKc:
 5024|  1.29k|{
 5025|  1.29k|  if (*yystr == '"')
  ------------------
  |  Branch (5025:7): [True: 46, False: 1.24k]
  ------------------
 5026|     46|    {
 5027|     46|      YYPTRDIFF_T yyn = 0;
  ------------------
  |  |  838|     46|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5028|     46|      char const *yyp = yystr;
 5029|     46|      for (;;)
 5030|    552|        switch (*++yyp)
 5031|    552|          {
 5032|      0|          case '\'':
  ------------------
  |  Branch (5032:11): [True: 0, False: 552]
  ------------------
 5033|      0|          case ',':
  ------------------
  |  Branch (5033:11): [True: 0, False: 552]
  ------------------
 5034|      0|            goto do_not_strip_quotes;
 5035|       |
 5036|      0|          case '\\':
  ------------------
  |  Branch (5036:11): [True: 0, False: 552]
  ------------------
 5037|      0|            if (*++yyp != '\\')
  ------------------
  |  Branch (5037:17): [True: 0, False: 0]
  ------------------
 5038|      0|              goto do_not_strip_quotes;
 5039|      0|            else
 5040|      0|              goto append;
 5041|       |
 5042|      0|          append:
 5043|    506|          default:
  ------------------
  |  Branch (5043:11): [True: 506, False: 46]
  ------------------
 5044|    506|            if (yyres)
  ------------------
  |  Branch (5044:17): [True: 253, False: 253]
  ------------------
 5045|    253|              yyres[yyn] = *yyp;
 5046|    506|            yyn++;
 5047|    506|            break;
 5048|       |
 5049|     46|          case '"':
  ------------------
  |  Branch (5049:11): [True: 46, False: 506]
  ------------------
 5050|     46|            if (yyres)
  ------------------
  |  Branch (5050:17): [True: 23, False: 23]
  ------------------
 5051|     23|              yyres[yyn] = '\0';
 5052|     46|            return yyn;
 5053|    552|          }
 5054|      0|    do_not_strip_quotes: ;
 5055|      0|    }
 5056|       |
 5057|  1.24k|  if (yyres)
  ------------------
  |  Branch (5057:7): [True: 623, False: 623]
  ------------------
 5058|    623|    return yystpcpy (yyres, yystr) - yyres;
  ------------------
  |  | 4996|    623|#  define yystpcpy stpcpy
  ------------------
 5059|    623|  else
 5060|    623|    return yystrlen (yystr);
  ------------------
  |  | 4980|    623|#  define yystrlen(S) (YY_CAST (YYPTRDIFF_T, strlen (S)))
  |  |  ------------------
  |  |  |  |  100|    623|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
 5061|  1.24k|}
glslang_tab.cpp:_ZL10yydestructPKc15yysymbol_kind_tP7YYSTYPEPN7glslang13TParseContextE:
 5206|  13.7k|{
 5207|  13.7k|  YY_USE (yyvaluep);
  ------------------
  |  |  911|  13.7k|# define YY_USE(E) ((void) (E))
  ------------------
 5208|  13.7k|  YY_USE (pParseContext);
  ------------------
  |  |  911|  13.7k|# define YY_USE(E) ((void) (E))
  ------------------
 5209|  13.7k|  if (!yymsg)
  ------------------
  |  Branch (5209:7): [True: 0, False: 13.7k]
  ------------------
 5210|      0|    yymsg = "Deleting";
 5211|  13.7k|  YY_SYMBOL_PRINT (yymsg, yykind, yyvaluep, yylocationp);
  ------------------
  |  | 4800|  13.7k|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 4801|  13.7k|do {                                                                      \
  |  | 4802|  13.7k|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (4802:7): [True: 0, False: 13.7k]
  |  |  ------------------
  |  | 4803|  13.7k|    {                                                                     \
  |  | 4804|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4805|      0|      yy_symbol_print (stderr,                                            \
  |  | 4806|      0|                  Kind, Value, pParseContext); \
  |  | 4807|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4808|      0|    }                                                                     \
  |  | 4809|  13.7k|} while (0)
  |  |  ------------------
  |  |  |  Branch (4809:10): [Folded, False: 13.7k]
  |  |  ------------------
  ------------------
 5212|       |
 5213|  13.7k|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 5214|  13.7k|  YY_USE (yykind);
  ------------------
  |  |  911|  13.7k|# define YY_USE(E) ((void) (E))
  ------------------
 5215|  13.7k|  YY_IGNORE_MAYBE_UNINITIALIZED_END
 5216|  13.7k|}

_ZN7glslang15TConstTraverser14visitAggregateENS_6TVisitEPNS_16TIntermAggregateE:
   72|    441|{
   73|    441|    if (! node->isConstructor() && node->getOp() != EOpComma) {
  ------------------
  |  Branch (73:9): [True: 0, False: 441]
  |  Branch (73:36): [True: 0, False: 0]
  ------------------
   74|      0|        error = true;
   75|       |
   76|      0|        return false;
   77|      0|    }
   78|       |
   79|    441|    bool flag = node->getSequence().size() == 1 && node->getSequence()[0]->getAsTyped()->getAsConstantUnion();
  ------------------
  |  Branch (79:17): [True: 312, False: 129]
  |  Branch (79:52): [True: 312, False: 0]
  ------------------
   80|    441|    if (flag) {
  ------------------
  |  Branch (80:9): [True: 312, False: 129]
  ------------------
   81|    312|        singleConstantParam = true;
   82|    312|        constructorType = node->getOp();
   83|    312|        size = node->getType().computeNumComponents();
   84|       |
   85|    312|        if (node->getType().isMatrix()) {
  ------------------
  |  Branch (85:13): [True: 0, False: 312]
  ------------------
   86|      0|            isMatrix = true;
   87|      0|            matrixCols = node->getType().getMatrixCols();
   88|      0|            matrixRows = node->getType().getMatrixRows();
   89|      0|        }
   90|    312|    }
   91|       |
   92|    441|    for (TIntermSequence::iterator p = node->getSequence().begin();
   93|  1.14k|                                   p != node->getSequence().end(); p++) {
  ------------------
  |  Branch (93:36): [True: 699, False: 441]
  ------------------
   94|       |
   95|    699|        if (node->getOp() == EOpComma)
  ------------------
  |  Branch (95:13): [True: 0, False: 699]
  ------------------
   96|      0|            index = 0;
   97|       |
   98|    699|        (*p)->traverse(this);
   99|    699|    }
  100|    441|    if (flag)
  ------------------
  |  Branch (100:9): [True: 312, False: 129]
  ------------------
  101|    312|    {
  102|    312|        singleConstantParam = false;
  103|    312|        constructorType = EOpNull;
  104|    312|        size = 0;
  105|    312|        isMatrix = false;
  106|    312|        matrixCols = 0;
  107|    312|        matrixRows = 0;
  108|    312|    }
  109|       |
  110|    441|    return false;
  111|    441|}
_ZN7glslang15TConstTraverser18visitConstantUnionEPNS_20TIntermConstantUnionE:
  114|    699|{
  115|    699|    TConstUnionArray leftUnionArray(unionArray);
  116|    699|    int instanceSize = type.computeNumComponents();
  117|       |
  118|    699|    if (index >= instanceSize)
  ------------------
  |  Branch (118:9): [True: 0, False: 699]
  ------------------
  119|      0|        return;
  120|       |
  121|    699|    if (! singleConstantParam) {
  ------------------
  |  Branch (121:9): [True: 387, False: 312]
  ------------------
  122|    387|        int rightUnionSize = node->getType().computeNumComponents();
  123|       |
  124|    387|        const TConstUnionArray& rightUnionArray = node->getConstArray();
  125|    774|        for (int i = 0; i < rightUnionSize; i++) {
  ------------------
  |  Branch (125:25): [True: 387, False: 387]
  ------------------
  126|    387|            if (index >= instanceSize)
  ------------------
  |  Branch (126:17): [True: 0, False: 387]
  ------------------
  127|      0|                return;
  128|    387|            leftUnionArray[index] = rightUnionArray[i];
  129|       |
  130|    387|            index++;
  131|    387|        }
  132|    387|    } else {
  133|    312|        int endIndex = index + size;
  134|    312|        const TConstUnionArray& rightUnionArray = node->getConstArray();
  135|    312|        if (! isMatrix) {
  ------------------
  |  Branch (135:13): [True: 312, False: 0]
  ------------------
  136|    312|            int count = 0;
  137|    312|            int nodeComps = node->getType().computeNumComponents();
  138|    936|            for (int i = index; i < endIndex; i++) {
  ------------------
  |  Branch (138:33): [True: 624, False: 312]
  ------------------
  139|    624|                if (i >= instanceSize)
  ------------------
  |  Branch (139:21): [True: 0, False: 624]
  ------------------
  140|      0|                    return;
  141|       |
  142|    624|                leftUnionArray[i] = rightUnionArray[count];
  143|       |
  144|    624|                (index)++;
  145|       |
  146|    624|                if (nodeComps > 1)
  ------------------
  |  Branch (146:21): [True: 0, False: 624]
  ------------------
  147|      0|                    count++;
  148|    624|            }
  149|    312|        } 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|    312|    }
  197|    699|}
_ZN7glslang13TIntermediate14parseConstTreeEP11TIntermNodeNS_16TConstUnionArrayENS_9TOperatorERKNS_5TTypeEb:
  200|    441|{
  201|    441|    if (root == nullptr)
  ------------------
  |  Branch (201:9): [True: 0, False: 441]
  ------------------
  202|      0|        return false;
  203|       |
  204|    441|    TConstTraverser it(unionArray, singleConstantParam, constructorType, t);
  205|       |
  206|    441|    root->traverse(&it);
  207|    441|    if (it.error)
  ------------------
  |  Branch (207:9): [True: 0, False: 441]
  ------------------
  208|      0|        return true;
  209|    441|    else
  210|    441|        return false;
  211|    441|}
_ZN7glslang15TConstTraverserC2ERKNS_16TConstUnionArrayEbNS_9TOperatorERKNS_5TTypeE:
   47|    441|      : unionArray(cUnion), type(t),
   48|    441|        constructorType(constructType), singleConstantParam(singleConstParam), error(false), isMatrix(false),
   49|    441|        matrixCols(0), matrixRows(0) {  index = 0; tOp = EOpNull; }

_ZN7glslang10TPpContext9CPPdefineEPNS_8TPpTokenE:
   96|  20.4k|{
   97|  20.4k|    MacroSymbol mac;
   98|       |
   99|       |    // get the macro name
  100|  20.4k|    int token = scanToken(ppToken);
  101|  20.4k|    if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (101:9): [True: 0, False: 20.4k]
  ------------------
  102|      0|        parseContext.ppError(ppToken->loc, "must be followed by macro name", "#define", "");
  103|      0|        return token;
  104|      0|    }
  105|  20.4k|    if (ppToken->loc.string >= 0) {
  ------------------
  |  Branch (105:9): [True: 31, False: 20.4k]
  ------------------
  106|       |        // We are in user code; check for reserved name use:
  107|     31|        parseContext.reservedPpErrorCheck(ppToken->loc, ppToken->name, "#define");
  108|     31|    }
  109|       |
  110|       |    // save the macro name
  111|  20.4k|    const int defAtom = atomStrings.getAddAtom(ppToken->name);
  112|  20.4k|    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|  20.4k|    token = scanToken(ppToken);
  116|  20.4k|    if (token == '(' && !ppToken->space) {
  ------------------
  |  Branch (116:9): [True: 1, False: 20.4k]
  |  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|  20.4k|    } else if (token != '\n' && token != EndOfInput && !ppToken->space) {
  ------------------
  |  Branch (149:16): [True: 20.4k, False: 8]
  |  Branch (149:33): [True: 20.4k, False: 0]
  |  Branch (149:56): [True: 0, False: 20.4k]
  ------------------
  150|      0|        parseContext.ppWarn(ppToken->loc, "missing space after macro name", "#define", "");
  151|       |
  152|      0|        return token;
  153|      0|    }
  154|       |
  155|  20.4k|    int pendingPoundSymbols = 0;
  156|  20.4k|    TPpToken savePound;
  157|       |    // record the definition of the macro
  158|   100k|    while (token != '\n' && token != EndOfInput) {
  ------------------
  |  Branch (158:12): [True: 80.0k, False: 20.4k]
  |  Branch (158:29): [True: 80.0k, False: 2]
  ------------------
  159|  80.0k|        if (token == '#') {
  ------------------
  |  Branch (159:13): [True: 22, False: 79.9k]
  ------------------
  160|     22|            pendingPoundSymbols++;
  161|     22|            if (pendingPoundSymbols == 0) {
  ------------------
  |  Branch (161:17): [True: 0, False: 22]
  ------------------
  162|      0|                savePound = *ppToken;
  163|      0|            }
  164|  79.9k|        } else if (pendingPoundSymbols == 0) {
  ------------------
  |  Branch (164:20): [True: 79.9k, False: 11]
  ------------------
  165|  79.9k|            mac.body.putToken(token, ppToken);
  166|  79.9k|        } else if (pendingPoundSymbols == 1) {
  ------------------
  |  Branch (166:20): [True: 0, False: 11]
  ------------------
  167|       |            // A single #: stringify
  168|      0|            parseContext.requireProfile(ppToken->loc, ~EEsProfile, "stringify (#)");
  169|      0|            parseContext.profileRequires(ppToken->loc, ~EEsProfile, 130, nullptr, "stringify (#)");
  170|      0|            bool isArg = false;
  171|      0|            if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (171:17): [True: 0, False: 0]
  ------------------
  172|      0|                for (int i = (int)mac.args.size() - 1; i >= 0; i--) {
  ------------------
  |  Branch (172:56): [True: 0, False: 0]
  ------------------
  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|      0|            }
  179|      0|            if (!isArg) {
  ------------------
  |  Branch (179:17): [True: 0, False: 0]
  ------------------
  180|      0|                parseContext.ppError(ppToken->loc, "'#' is not followed by a macro parameter.", "#", "");
  181|      0|                return token;
  182|      0|            }
  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|     11|        } else if (pendingPoundSymbols % 2 == 0) {
  ------------------
  |  Branch (187:20): [True: 11, False: 0]
  ------------------
  188|       |            // Any number of pastes '##' in a row: idempotent, just becomes one paste
  189|     11|            parseContext.requireProfile(ppToken->loc, ~EEsProfile, "token pasting (##)");
  190|     11|            parseContext.profileRequires(ppToken->loc, ~EEsProfile, 130, nullptr, "token pasting (##)");
  191|     22|            for (int i = 0; i < pendingPoundSymbols / 2; i++) {
  ------------------
  |  Branch (191:29): [True: 11, False: 11]
  ------------------
  192|     11|                mac.body.putToken(PpAtomPaste, &savePound);
  193|     11|            }
  194|     11|            mac.body.putToken(token, ppToken);
  195|     11|            pendingPoundSymbols = 0;
  196|     11|        } 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|  80.0k|        token = scanToken(ppToken);
  203|  80.0k|    }
  204|  20.4k|    if (pendingPoundSymbols != 0) {
  ------------------
  |  Branch (204:9): [True: 0, False: 20.4k]
  ------------------
  205|      0|        parseContext.ppError(ppToken->loc, "Macro ended with incomplete '#' paste/stringify operators", "#", "");
  206|      0|    }
  207|       |
  208|       |    // check for duplicate definition
  209|  20.4k|    MacroSymbol* existing = lookupMacroDef(defAtom);
  210|  20.4k|    if (existing != nullptr) {
  ------------------
  |  Branch (210:9): [True: 3, False: 20.4k]
  ------------------
  211|      3|        if (! existing->undef) {
  ------------------
  |  Branch (211:13): [True: 3, 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|      3|            if (existing->functionLike != mac.functionLike) {
  ------------------
  |  Branch (217:17): [True: 0, False: 3]
  ------------------
  218|      0|                parseContext.ppError(defineLoc, "Macro redefined; function-like versus object-like:", "#define",
  219|      0|                    atomStrings.getString(defAtom));
  220|      3|            } else if (existing->args.size() != mac.args.size()) {
  ------------------
  |  Branch (220:24): [True: 0, False: 3]
  ------------------
  221|      0|                parseContext.ppError(defineLoc, "Macro redefined; different number of arguments:", "#define",
  222|      0|                    atomStrings.getString(defAtom));
  223|      3|            } else {
  224|      3|                if (existing->args != mac.args) {
  ------------------
  |  Branch (224:21): [True: 0, False: 3]
  ------------------
  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|      3|                existing->body.reset();
  230|      3|                mac.body.reset();
  231|      3|                int newToken;
  232|      3|                bool firstToken = true;
  233|      3|                do {
  234|      3|                    int oldToken;
  235|      3|                    TPpToken oldPpToken;
  236|      3|                    TPpToken newPpToken;
  237|      3|                    oldToken = existing->body.getToken(parseContext, &oldPpToken);
  238|      3|                    newToken = mac.body.getToken(parseContext, &newPpToken);
  239|       |                    // for the first token, preceding spaces don't matter
  240|      3|                    if (firstToken) {
  ------------------
  |  Branch (240:25): [True: 3, False: 0]
  ------------------
  241|      3|                        newPpToken.space = oldPpToken.space;
  242|      3|                        firstToken = false;
  243|      3|                    }
  244|      3|                    if (oldToken != newToken || oldPpToken != newPpToken) {
  ------------------
  |  Branch (244:25): [True: 0, False: 3]
  |  Branch (244:49): [True: 1, False: 2]
  ------------------
  245|      1|                        parseContext.ppError(defineLoc, "Macro redefined; different substitutions:", "#define",
  246|      1|                            atomStrings.getString(defAtom));
  247|      1|                        break;
  248|      1|                    }
  249|      3|                } while (newToken != EndOfInput);
  ------------------
  |  Branch (249:26): [True: 0, False: 2]
  ------------------
  250|      3|            }
  251|      3|        }
  252|      3|        *existing = mac;
  253|      3|    } else
  254|  20.4k|        addMacroDef(defAtom, mac);
  255|       |
  256|  20.4k|    return '\n';
  257|  20.4k|}
_ZN7glslang10TPpContext7CPPelseEiPNS_8TPpTokenE:
  287|    140|{
  288|    140|    inElseSkip = true;
  289|    140|    int depth = 0;
  290|    140|    int token = scanToken(ppToken);
  291|       |
  292|  2.71M|    while (token != EndOfInput) {
  ------------------
  |  Branch (292:12): [True: 2.71M, False: 10]
  ------------------
  293|  2.71M|        if (token != '#') {
  ------------------
  |  Branch (293:13): [True: 2.29M, False: 426k]
  ------------------
  294|  9.12M|            while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (294:20): [True: 6.83M, False: 2.29M]
  |  Branch (294:37): [True: 6.83M, False: 102]
  ------------------
  295|  6.83M|                token = scanToken(ppToken);
  296|       |
  297|  2.29M|            if (token == EndOfInput)
  ------------------
  |  Branch (297:17): [True: 102, False: 2.29M]
  ------------------
  298|    102|                return token;
  299|       |
  300|  2.29M|            token = scanToken(ppToken);
  301|  2.29M|            continue;
  302|  2.29M|        }
  303|       |
  304|   426k|        if ((token = scanToken(ppToken)) != PpAtomIdentifier)
  ------------------
  |  Branch (304:13): [True: 51.2k, False: 374k]
  ------------------
  305|  51.2k|            continue;
  306|       |
  307|   374k|        int nextAtom = atomStrings.getAtom(ppToken->name);
  308|   374k|        if (nextAtom == PpAtomIf || nextAtom == PpAtomIfdef || nextAtom == PpAtomIfndef) {
  ------------------
  |  Branch (308:13): [True: 1.61k, False: 373k]
  |  Branch (308:37): [True: 173, False: 373k]
  |  Branch (308:64): [True: 1, False: 373k]
  ------------------
  309|  1.78k|            depth++;
  310|  1.78k|            if (ifdepth >= maxIfNesting || elsetracker >= maxIfNesting) {
  ------------------
  |  Branch (310:17): [True: 0, False: 1.78k]
  |  Branch (310:44): [True: 0, False: 1.78k]
  ------------------
  311|      0|                parseContext.ppError(ppToken->loc, "maximum nesting depth exceeded", "#if/#ifdef/#ifndef", "");
  312|      0|                return EndOfInput;
  313|  1.78k|            } else {
  314|  1.78k|                ifdepth++;
  315|  1.78k|                elsetracker++;
  316|  1.78k|            }
  317|   373k|        } else if (nextAtom == PpAtomEndif) {
  ------------------
  |  Branch (317:20): [True: 586, False: 372k]
  ------------------
  318|    586|            token = extraTokenCheck(nextAtom, ppToken, scanToken(ppToken));
  319|    586|            elseSeen[elsetracker] = false;
  320|    586|            --elsetracker;
  321|    586|            if (depth == 0) {
  ------------------
  |  Branch (321:17): [True: 17, False: 569]
  ------------------
  322|       |                // found the #endif we are looking for
  323|     17|                if (ifdepth > 0)
  ------------------
  |  Branch (323:21): [True: 17, False: 0]
  ------------------
  324|     17|                    --ifdepth;
  325|     17|                break;
  326|     17|            }
  327|    569|            --depth;
  328|    569|            --ifdepth;
  329|   372k|        } else if (matchelse && depth == 0) {
  ------------------
  |  Branch (329:20): [True: 372k, False: 0]
  |  Branch (329:33): [True: 79.4k, False: 292k]
  ------------------
  330|  79.4k|            if (nextAtom == PpAtomElse) {
  ------------------
  |  Branch (330:17): [True: 0, False: 79.4k]
  ------------------
  331|      0|                elseSeen[elsetracker] = true;
  332|      0|                token = extraTokenCheck(nextAtom, ppToken, scanToken(ppToken));
  333|       |                // found the #else we are looking for
  334|      0|                break;
  335|  79.4k|            } else if (nextAtom == PpAtomElif) {
  ------------------
  |  Branch (335:24): [True: 11, False: 79.4k]
  ------------------
  336|     11|                if (elseSeen[elsetracker])
  ------------------
  |  Branch (336:21): [True: 0, False: 11]
  ------------------
  337|      0|                    parseContext.ppError(ppToken->loc, "#elif after #else", "#elif", "");
  338|       |                /* we decrement ifdepth here, because CPPif will increment
  339|       |                * it and we really want to leave it alone */
  340|     11|                if (ifdepth > 0) {
  ------------------
  |  Branch (340:21): [True: 11, False: 0]
  ------------------
  341|     11|                    --ifdepth;
  342|     11|                    elseSeen[elsetracker] = false;
  343|     11|                    --elsetracker;
  344|     11|                }
  345|     11|                inElseSkip = false;
  346|     11|                return CPPif(ppToken);
  347|     11|            }
  348|   292k|        } else if (nextAtom == PpAtomElse) {
  ------------------
  |  Branch (348:20): [True: 26, False: 292k]
  ------------------
  349|     26|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (349:17): [True: 0, False: 26]
  ------------------
  350|      0|                parseContext.ppError(ppToken->loc, "#else after #else", "#else", "");
  351|     26|            else
  352|     26|                elseSeen[elsetracker] = true;
  353|     26|            token = extraTokenCheck(nextAtom, ppToken, scanToken(ppToken));
  354|   292k|        } else if (nextAtom == PpAtomElif) {
  ------------------
  |  Branch (354:20): [True: 314, False: 292k]
  ------------------
  355|    314|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (355:17): [True: 0, False: 314]
  ------------------
  356|      0|                parseContext.ppError(ppToken->loc, "#elif after #else", "#elif", "");
  357|    314|        }
  358|   374k|    }
  359|       |    
  360|     27|    inElseSkip = false;
  361|     27|    return token;
  362|    140|}
_ZN7glslang10TPpContext15extraTokenCheckEiPNS_8TPpTokenEi:
  366|    773|{
  367|    773|    if (token != '\n' && token != EndOfInput) {
  ------------------
  |  Branch (367:9): [True: 1, False: 772]
  |  Branch (367:26): [True: 1, False: 0]
  ------------------
  368|      1|        static const char* message = "unexpected tokens following directive";
  369|       |
  370|      1|        const char* label;
  371|      1|        if (contextAtom == PpAtomElse)
  ------------------
  |  Branch (371:13): [True: 0, False: 1]
  ------------------
  372|      0|            label = "#else";
  373|      1|        else if (contextAtom == PpAtomElif)
  ------------------
  |  Branch (373:18): [True: 0, False: 1]
  ------------------
  374|      0|            label = "#elif";
  375|      1|        else if (contextAtom == PpAtomEndif)
  ------------------
  |  Branch (375:18): [True: 0, False: 1]
  ------------------
  376|      0|            label = "#endif";
  377|      1|        else if (contextAtom == PpAtomIf)
  ------------------
  |  Branch (377:18): [True: 1, False: 0]
  ------------------
  378|      1|            label = "#if";
  379|      0|        else if (contextAtom == PpAtomLine)
  ------------------
  |  Branch (379:18): [True: 0, False: 0]
  ------------------
  380|      0|            label = "#line";
  381|      0|        else
  382|      0|            label = "";
  383|       |
  384|      1|        if (parseContext.relaxedErrors())
  ------------------
  |  Branch (384:13): [True: 0, False: 1]
  ------------------
  385|      0|            parseContext.ppWarn(ppToken->loc, message, label, "");
  386|      1|        else
  387|      1|            parseContext.ppError(ppToken->loc, message, label, "");
  388|       |
  389|      3|        while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (389:16): [True: 2, False: 1]
  |  Branch (389:33): [True: 2, False: 0]
  ------------------
  390|      2|            token = scanToken(ppToken);
  391|      1|    }
  392|       |
  393|    773|    return token;
  394|    773|}
_ZN7glslang10TPpContext4evalEiibRiRbPNS_8TPpTokenE:
  464|  35.0k|{
  465|  35.0k|    TSourceLoc loc = ppToken->loc;  // because we sometimes read the newline before reporting the error
  466|  35.0k|    if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (466:9): [True: 41, False: 35.0k]
  ------------------
  467|     41|        if (strcmp("defined", ppToken->name) == 0) {
  ------------------
  |  Branch (467:13): [True: 23, False: 18]
  ------------------
  468|     23|            if (! parseContext.isReadingHLSL() && isMacroInput()) {
  ------------------
  |  Branch (468:17): [True: 8, False: 15]
  |  Branch (468:51): [True: 0, False: 8]
  ------------------
  469|      0|                if (parseContext.relaxedErrors())
  ------------------
  |  Branch (469:21): [True: 0, False: 0]
  ------------------
  470|      0|                    parseContext.ppWarn(ppToken->loc, "nonportable when expanded from macros for preprocessor expression",
  471|      0|                        "defined", "");
  472|      0|                else
  473|      0|                    parseContext.ppError(ppToken->loc, "cannot use in preprocessor expression when expanded from macros",
  474|      0|                        "defined", "");
  475|      0|            }
  476|     23|            bool needclose = 0;
  477|     23|            token = scanToken(ppToken);
  478|     23|            if (token == '(') {
  ------------------
  |  Branch (478:17): [True: 22, False: 1]
  ------------------
  479|     22|                needclose = true;
  480|     22|                token = scanToken(ppToken);
  481|     22|            }
  482|     23|            if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (482:17): [True: 1, False: 22]
  ------------------
  483|      1|                parseContext.ppError(loc, "incorrect directive, expected identifier", "preprocessor evaluation", "");
  484|      1|                err = true;
  485|      1|                res = 0;
  486|       |
  487|      1|                return token;
  488|      1|            }
  489|       |
  490|     22|            MacroSymbol* macro = lookupMacroDef(atomStrings.getAtom(ppToken->name));
  491|     22|            res = macro != nullptr ? !macro->undef : 0;
  ------------------
  |  Branch (491:19): [True: 0, False: 22]
  ------------------
  492|     22|            token = scanToken(ppToken);
  493|     22|            if (needclose) {
  ------------------
  |  Branch (493:17): [True: 22, False: 0]
  ------------------
  494|     22|                if (token != ')') {
  ------------------
  |  Branch (494:21): [True: 0, False: 22]
  ------------------
  495|      0|                    parseContext.ppError(loc, "expected ')'", "preprocessor evaluation", "");
  496|      0|                    err = true;
  497|      0|                    res = 0;
  498|       |
  499|      0|                    return token;
  500|      0|                }
  501|     22|                token = scanToken(ppToken);
  502|     22|            }
  503|     22|        } else {
  504|     18|            token = tokenPaste(token, *ppToken);
  505|     18|            token = evalToToken(token, shortCircuit, res, err, ppToken);
  506|     18|            return eval(token, precedence, shortCircuit, res, err, ppToken);
  507|     18|        }
  508|  35.0k|    } else if (token == PpAtomConstInt) {
  ------------------
  |  Branch (508:16): [True: 142, False: 34.9k]
  ------------------
  509|    142|        res = ppToken->ival;
  510|    142|        token = scanToken(ppToken);
  511|  34.9k|    } else if (token == '(') {
  ------------------
  |  Branch (511:16): [True: 34.6k, False: 297]
  ------------------
  512|  34.6k|        token = scanToken(ppToken);
  513|  34.6k|        token = eval(token, MIN_PRECEDENCE, shortCircuit, res, err, ppToken);
  514|  34.6k|        if (! err) {
  ------------------
  |  Branch (514:13): [True: 0, False: 34.6k]
  ------------------
  515|      0|            if (token != ')') {
  ------------------
  |  Branch (515:17): [True: 0, False: 0]
  ------------------
  516|      0|                parseContext.ppError(loc, "expected ')'", "preprocessor evaluation", "");
  517|      0|                err = true;
  518|      0|                res = 0;
  519|       |
  520|      0|                return token;
  521|      0|            }
  522|      0|            token = scanToken(ppToken);
  523|      0|        }
  524|  34.6k|    } else {
  525|    297|        int op = NUM_ELEMENTS(unop) - 1;
  ------------------
  |  |  461|    297|#define NUM_ELEMENTS(A) (sizeof(A) / sizeof(A[0]))
  ------------------
  526|    825|        for (; op >= 0; op--) {
  ------------------
  |  Branch (526:16): [True: 823, False: 2]
  ------------------
  527|    823|            if (unop[op].token == token)
  ------------------
  |  Branch (527:17): [True: 295, False: 528]
  ------------------
  528|    295|                break;
  529|    823|        }
  530|    297|        if (op >= 0) {
  ------------------
  |  Branch (530:13): [True: 295, False: 2]
  ------------------
  531|    295|            token = scanToken(ppToken);
  532|    295|            token = eval(token, UNARY, shortCircuit, res, err, ppToken);
  533|    295|            res = unop[op].op(res);
  534|    295|        } else {
  535|      2|            parseContext.ppError(loc, "bad expression", "preprocessor evaluation", "");
  536|      2|            err = true;
  537|      2|            res = 0;
  538|       |
  539|      2|            return token;
  540|      2|        }
  541|    297|    }
  542|       |
  543|  35.0k|    token = evalToToken(token, shortCircuit, res, err, ppToken);
  544|       |
  545|       |    // Perform evaluation of binary operation, if there is one, otherwise we are done.
  546|  35.0k|    while (! err) {
  ------------------
  |  Branch (546:12): [True: 479, False: 34.6k]
  ------------------
  547|    479|        if (token == ')' || token == '\n')
  ------------------
  |  Branch (547:13): [True: 0, False: 479]
  |  Branch (547:29): [True: 452, False: 27]
  ------------------
  548|    452|            break;
  549|     27|        int op;
  550|    384|        for (op = NUM_ELEMENTS(binop) - 1; op >= 0; op--) {
  ------------------
  |  |  461|     27|#define NUM_ELEMENTS(A) (sizeof(A) / sizeof(A[0]))
  ------------------
  |  Branch (550:44): [True: 384, False: 0]
  ------------------
  551|    384|            if (binop[op].token == token)
  ------------------
  |  Branch (551:17): [True: 27, False: 357]
  ------------------
  552|     27|                break;
  553|    384|        }
  554|     27|        if (op < 0 || binop[op].precedence <= precedence)
  ------------------
  |  Branch (554:13): [True: 0, False: 27]
  |  Branch (554:23): [True: 7, False: 20]
  ------------------
  555|      7|            break;
  556|     20|        int leftSide = res;
  557|       |
  558|       |        // Setup short-circuiting, needed for ES, unless already in a short circuit.
  559|       |        // (Once in a short-circuit, can't turn off again, until that whole subexpression is done.
  560|     20|        if (! shortCircuit) {
  ------------------
  |  Branch (560:13): [True: 20, False: 0]
  ------------------
  561|     20|            if ((token == PpAtomOr  && leftSide == 1) ||
  ------------------
  |  Branch (561:18): [True: 4, False: 16]
  |  Branch (561:40): [True: 0, False: 4]
  ------------------
  562|     20|                (token == PpAtomAnd && leftSide == 0))
  ------------------
  |  Branch (562:18): [True: 0, False: 20]
  |  Branch (562:40): [True: 0, False: 0]
  ------------------
  563|      0|                shortCircuit = true;
  564|     20|        }
  565|       |
  566|     20|        token = scanToken(ppToken);
  567|     20|        token = eval(token, binop[op].precedence, shortCircuit, res, err, ppToken);
  568|       |
  569|     20|        if (binop[op].op == op_div || binop[op].op == op_mod) {
  ------------------
  |  Branch (569:13): [True: 0, False: 20]
  |  Branch (569:39): [True: 0, False: 20]
  ------------------
  570|      0|            if (res == 0) {
  ------------------
  |  Branch (570:17): [True: 0, False: 0]
  ------------------
  571|      0|                parseContext.ppError(loc, "division by 0", "preprocessor evaluation", "");
  572|      0|                res = 1;
  573|      0|            }
  574|      0|        }
  575|     20|        res = binop[op].op(leftSide, res);
  576|     20|    }
  577|       |
  578|  35.0k|    return token;
  579|  35.0k|}
_ZN7glslang10TPpContext11evalToTokenEibRiRbPNS_8TPpTokenE:
  583|  35.0k|{
  584|  35.1k|    while (token == PpAtomIdentifier && strcmp("defined", ppToken->name) != 0) {
  ------------------
  |  Branch (584:12): [True: 18, False: 35.0k]
  |  Branch (584:41): [True: 18, False: 0]
  ------------------
  585|     18|        switch (MacroExpand(ppToken, true, false)) {
  ------------------
  |  Branch (585:17): [True: 18, False: 0]
  ------------------
  586|      0|        case MacroExpandNotStarted:
  ------------------
  |  Branch (586:9): [True: 0, False: 18]
  ------------------
  587|      0|        case MacroExpandError:
  ------------------
  |  Branch (587:9): [True: 0, False: 18]
  ------------------
  588|      0|            parseContext.ppError(ppToken->loc, "can't evaluate expression", "preprocessor evaluation", "");
  589|      0|            err = true;
  590|      0|            res = 0;
  591|      0|            break;
  592|      0|        case MacroExpandStarted:
  ------------------
  |  Branch (592:9): [True: 0, False: 18]
  ------------------
  593|      0|            break;
  594|     18|        case MacroExpandUndef:
  ------------------
  |  Branch (594:9): [True: 18, False: 0]
  ------------------
  595|     18|            if (! shortCircuit && parseContext.isEsProfile()) {
  ------------------
  |  Branch (595:17): [True: 18, False: 0]
  |  Branch (595:35): [True: 0, False: 18]
  ------------------
  596|      0|                const char* message = "undefined macro in expression not allowed in es profile";
  597|      0|                if (parseContext.relaxedErrors())
  ------------------
  |  Branch (597:21): [True: 0, False: 0]
  ------------------
  598|      0|                    parseContext.ppWarn(ppToken->loc, message, "preprocessor evaluation", ppToken->name);
  599|      0|                else
  600|      0|                    parseContext.ppError(ppToken->loc, message, "preprocessor evaluation", ppToken->name);
  601|      0|            }
  602|     18|            break;
  603|     18|        }
  604|     18|        token = scanToken(ppToken);
  605|     18|        if (err)
  ------------------
  |  Branch (605:13): [True: 0, False: 18]
  ------------------
  606|      0|            break;
  607|     18|    }
  608|       |
  609|  35.0k|    return token;
  610|  35.0k|}
_ZN7glslang10TPpContext5CPPifEPNS_8TPpTokenE:
  614|    147|{
  615|    147|    int token = scanToken(ppToken);
  616|    147|    if (ifdepth >= maxIfNesting || elsetracker >= maxIfNesting) {
  ------------------
  |  Branch (616:9): [True: 0, False: 147]
  |  Branch (616:36): [True: 0, False: 147]
  ------------------
  617|      0|        parseContext.ppError(ppToken->loc, "maximum nesting depth exceeded", "#if", "");
  618|      0|        return EndOfInput;
  619|    147|    } else {
  620|    147|        elsetracker++;
  621|    147|        ifdepth++;
  622|    147|    }
  623|    147|    int res = 0;
  624|    147|    bool err = false;
  625|    147|    token = eval(token, MIN_PRECEDENCE, false, res, err, ppToken);
  626|    147|    token = extraTokenCheck(PpAtomIf, ppToken, token);
  627|    147|    if (!res && !err)
  ------------------
  |  Branch (627:9): [True: 134, False: 13]
  |  Branch (627:17): [True: 131, False: 3]
  ------------------
  628|    131|        token = CPPelse(1, ppToken);
  629|       |
  630|    147|    return token;
  631|    147|}
_ZN7glslang10TPpContext8CPPifdefEiPNS_8TPpTokenE:
  635|      9|{
  636|      9|    int token = scanToken(ppToken);
  637|      9|    if (ifdepth > maxIfNesting || elsetracker > maxIfNesting) {
  ------------------
  |  Branch (637:9): [True: 0, False: 9]
  |  Branch (637:35): [True: 0, False: 9]
  ------------------
  638|      0|        parseContext.ppError(ppToken->loc, "maximum nesting depth exceeded", "#ifdef", "");
  639|      0|        return EndOfInput;
  640|      9|    } else {
  641|      9|        elsetracker++;
  642|      9|        ifdepth++;
  643|      9|    }
  644|       |
  645|      9|    if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (645:9): [True: 0, False: 9]
  ------------------
  646|      0|        if (defined)
  ------------------
  |  Branch (646:13): [True: 0, False: 0]
  ------------------
  647|      0|            parseContext.ppError(ppToken->loc, "must be followed by macro name", "#ifdef", "");
  648|      0|        else
  649|      0|            parseContext.ppError(ppToken->loc, "must be followed by macro name", "#ifndef", "");
  650|      9|    } else {
  651|      9|        MacroSymbol* macro = lookupMacroDef(atomStrings.getAtom(ppToken->name));
  652|      9|        token = scanToken(ppToken);
  653|      9|        if (token != '\n') {
  ------------------
  |  Branch (653:13): [True: 2, False: 7]
  ------------------
  654|      2|            parseContext.ppError(ppToken->loc, "unexpected tokens following #ifdef directive - expected a newline", "#ifdef", "");
  655|      4|            while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (655:20): [True: 3, False: 1]
  |  Branch (655:37): [True: 2, False: 1]
  ------------------
  656|      2|                token = scanToken(ppToken);
  657|      2|        }
  658|      9|        if (((macro != nullptr && !macro->undef) ? 1 : 0) != defined)
  ------------------
  |  Branch (658:13): [True: 9, False: 0]
  |  Branch (658:15): [True: 0, False: 9]
  |  Branch (658:35): [True: 0, False: 0]
  ------------------
  659|      9|            token = CPPelse(1, ppToken);
  660|      9|    }
  661|       |
  662|      9|    return token;
  663|      9|}
_ZN7glslang10TPpContext9CPPpragmaEPNS_8TPpTokenE:
  843|      2|{
  844|      2|    char SrcStrName[2];
  845|      2|    TVector<TString> tokens;
  846|       |
  847|      2|    TSourceLoc loc = ppToken->loc;  // because we go to the next line before processing
  848|      2|    int token = scanToken(ppToken);
  849|    778|    while (token != '\n' && token != EndOfInput) {
  ------------------
  |  Branch (849:12): [True: 777, False: 1]
  |  Branch (849:29): [True: 776, False: 1]
  ------------------
  850|    776|        switch (token) {
  851|    127|        case PpAtomIdentifier:
  ------------------
  |  Branch (851:9): [True: 127, False: 649]
  ------------------
  852|    245|        case PpAtomConstInt:
  ------------------
  |  Branch (852:9): [True: 118, False: 658]
  ------------------
  853|    252|        case PpAtomConstUint:
  ------------------
  |  Branch (853:9): [True: 7, False: 769]
  ------------------
  854|    252|        case PpAtomConstInt64:
  ------------------
  |  Branch (854:9): [True: 0, False: 776]
  ------------------
  855|    252|        case PpAtomConstUint64:
  ------------------
  |  Branch (855:9): [True: 0, False: 776]
  ------------------
  856|    252|        case PpAtomConstInt16:
  ------------------
  |  Branch (856:9): [True: 0, False: 776]
  ------------------
  857|    252|        case PpAtomConstUint16:
  ------------------
  |  Branch (857:9): [True: 0, False: 776]
  ------------------
  858|    252|        case PpAtomConstFloat:
  ------------------
  |  Branch (858:9): [True: 0, False: 776]
  ------------------
  859|    252|        case PpAtomConstDouble:
  ------------------
  |  Branch (859:9): [True: 0, False: 776]
  ------------------
  860|    253|        case PpAtomConstFloat16:
  ------------------
  |  Branch (860:9): [True: 1, False: 775]
  ------------------
  861|    253|            tokens.push_back(ppToken->name);
  862|    253|            break;
  863|    523|        default:
  ------------------
  |  Branch (863:9): [True: 523, False: 253]
  ------------------
  864|    523|            SrcStrName[0] = (char)token;
  865|    523|            SrcStrName[1] = '\0';
  866|    523|            tokens.push_back(SrcStrName);
  867|    776|        }
  868|    776|        token = scanToken(ppToken);
  869|    776|    }
  870|       |
  871|      2|    if (token == EndOfInput)
  ------------------
  |  Branch (871:9): [True: 1, False: 1]
  ------------------
  872|      1|        parseContext.ppError(loc, "directive must end with a newline", "#pragma", "");
  873|      1|    else
  874|      1|        parseContext.handlePragma(loc, tokens);
  875|       |
  876|      2|    return token;
  877|      2|}
_ZN7glslang10TPpContext11readCPPlineEPNS_8TPpTokenE:
  969|  20.6k|{
  970|  20.6k|    int token = scanToken(ppToken);
  971|       |
  972|  20.6k|    if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (972:9): [True: 20.6k, False: 0]
  ------------------
  973|  20.6k|        switch (atomStrings.getAtom(ppToken->name)) {
  974|  20.4k|        case PpAtomDefine:
  ------------------
  |  Branch (974:9): [True: 20.4k, False: 164]
  ------------------
  975|  20.4k|            token = CPPdefine(ppToken);
  976|  20.4k|            break;
  977|      0|        case PpAtomElse:
  ------------------
  |  Branch (977:9): [True: 0, False: 20.6k]
  ------------------
  978|      0|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (978:17): [True: 0, False: 0]
  ------------------
  979|      0|                parseContext.ppError(ppToken->loc, "#else after #else", "#else", "");
  980|      0|            elseSeen[elsetracker] = true;
  981|      0|            if (ifdepth == 0)
  ------------------
  |  Branch (981:17): [True: 0, False: 0]
  ------------------
  982|      0|                parseContext.ppError(ppToken->loc, "mismatched statements", "#else", "");
  983|      0|            token = extraTokenCheck(PpAtomElse, ppToken, scanToken(ppToken));
  984|      0|            token = CPPelse(0, ppToken);
  985|      0|            break;
  986|      0|        case PpAtomElif:
  ------------------
  |  Branch (986:9): [True: 0, False: 20.6k]
  ------------------
  987|      0|            if (ifdepth == 0)
  ------------------
  |  Branch (987:17): [True: 0, False: 0]
  ------------------
  988|      0|                parseContext.ppError(ppToken->loc, "mismatched statements", "#elif", "");
  989|      0|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (989:17): [True: 0, False: 0]
  ------------------
  990|      0|                parseContext.ppError(ppToken->loc, "#elif after #else", "#elif", "");
  991|       |            // this token is really a dont care, but we still need to eat the tokens
  992|      0|            token = scanToken(ppToken);
  993|      0|            while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (993:20): [True: 0, False: 0]
  |  Branch (993:37): [True: 0, False: 0]
  ------------------
  994|      0|                token = scanToken(ppToken);
  995|      0|            token = CPPelse(0, ppToken);
  996|      0|            break;
  997|     14|        case PpAtomEndif:
  ------------------
  |  Branch (997:9): [True: 14, False: 20.6k]
  ------------------
  998|     14|            if (ifdepth == 0)
  ------------------
  |  Branch (998:17): [True: 3, False: 11]
  ------------------
  999|      3|                parseContext.ppError(ppToken->loc, "mismatched statements", "#endif", "");
 1000|     11|            else {
 1001|     11|                elseSeen[elsetracker] = false;
 1002|     11|                --elsetracker;
 1003|     11|                --ifdepth;
 1004|     11|            }
 1005|     14|            token = extraTokenCheck(PpAtomEndif, ppToken, scanToken(ppToken));
 1006|     14|            break;
 1007|    136|        case PpAtomIf:
  ------------------
  |  Branch (1007:9): [True: 136, False: 20.5k]
  ------------------
 1008|    136|            token = CPPif(ppToken);
 1009|    136|            break;
 1010|      9|        case PpAtomIfdef:
  ------------------
  |  Branch (1010:9): [True: 9, False: 20.6k]
  ------------------
 1011|      9|            token = CPPifdef(1, ppToken);
 1012|      9|            break;
 1013|      0|        case PpAtomIfndef:
  ------------------
  |  Branch (1013:9): [True: 0, False: 20.6k]
  ------------------
 1014|      0|            token = CPPifdef(0, ppToken);
 1015|      0|            break;
 1016|      0|        case PpAtomLine:
  ------------------
  |  Branch (1016:9): [True: 0, False: 20.6k]
  ------------------
 1017|      0|            token = CPPline(ppToken);
 1018|      0|            break;
 1019|      0|        case PpAtomInclude:
  ------------------
  |  Branch (1019:9): [True: 0, False: 20.6k]
  ------------------
 1020|      0|            if(!parseContext.isReadingHLSL()) {
  ------------------
  |  Branch (1020:16): [True: 0, False: 0]
  ------------------
 1021|      0|                const std::array exts = { E_GL_GOOGLE_include_directive, E_GL_ARB_shading_language_include };
 1022|      0|                parseContext.ppRequireExtensions(ppToken->loc, exts, "#include");
 1023|      0|            }
 1024|      0|            token = CPPinclude(ppToken);
 1025|      0|            break;
 1026|      2|        case PpAtomPragma:
  ------------------
  |  Branch (1026:9): [True: 2, False: 20.6k]
  ------------------
 1027|      2|            token = CPPpragma(ppToken);
 1028|      2|            break;
 1029|      0|        case PpAtomUndef:
  ------------------
  |  Branch (1029:9): [True: 0, False: 20.6k]
  ------------------
 1030|      0|            token = CPPundef(ppToken);
 1031|      0|            break;
 1032|      0|        case PpAtomError:
  ------------------
  |  Branch (1032:9): [True: 0, False: 20.6k]
  ------------------
 1033|      0|            token = CPPerror(ppToken);
 1034|      0|            break;
 1035|      0|        case PpAtomVersion:
  ------------------
  |  Branch (1035:9): [True: 0, False: 20.6k]
  ------------------
 1036|      0|            token = CPPversion(ppToken);
 1037|      0|            break;
 1038|      0|        case PpAtomExtension:
  ------------------
  |  Branch (1038:9): [True: 0, False: 20.6k]
  ------------------
 1039|      0|            token = CPPextension(ppToken);
 1040|      0|            break;
 1041|      3|        default:
  ------------------
  |  Branch (1041:9): [True: 3, False: 20.6k]
  ------------------
 1042|      3|            parseContext.ppError(ppToken->loc, "invalid directive:", "#", ppToken->name);
 1043|      3|            break;
 1044|  20.6k|        }
 1045|  20.6k|    } else if (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (1045:16): [True: 0, False: 0]
  |  Branch (1045:33): [True: 0, False: 0]
  ------------------
 1046|      0|        parseContext.ppError(ppToken->loc, "invalid directive", "#", "");
 1047|       |
 1048|  20.7k|    while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (1048:12): [True: 209, False: 20.5k]
  |  Branch (1048:29): [True: 96, False: 113]
  ------------------
 1049|     96|        token = scanToken(ppToken);
 1050|       |
 1051|  20.6k|    return token;
 1052|  20.6k|}
_ZN7glslang10TPpContext11tMacroInput4scanEPNS_8TPpTokenE:
 1131|  34.4k|{
 1132|  34.4k|    int token;
 1133|  34.4k|    do {
 1134|  34.4k|        token = mac->body.getToken(pp->parseContext, ppToken);
 1135|  34.4k|    } while (token == ' ');  // handle white space in macro
  ------------------
  |  Branch (1135:14): [True: 0, False: 34.4k]
  ------------------
 1136|       |
 1137|       |    // Hash operators basically turn off a round of macro substitution
 1138|       |    // (the round done on the argument before the round done on the RHS of the
 1139|       |    // macro definition):
 1140|       |    //
 1141|       |    // "A parameter in the replacement list, unless preceded by a # or ##
 1142|       |    // preprocessing token or followed by a ## preprocessing token (see below),
 1143|       |    // is replaced by the corresponding argument after all macros contained
 1144|       |    // therein have been expanded."
 1145|       |    //
 1146|       |    // "If, in the replacement list, a parameter is immediately preceded or
 1147|       |    // followed by a ## preprocessing token, the parameter is replaced by the
 1148|       |    // corresponding argument's preprocessing token sequence."
 1149|       |
 1150|  34.4k|    bool pasting = false;
 1151|  34.4k|    if (postpaste) {
  ------------------
  |  Branch (1151:9): [True: 0, False: 34.4k]
  ------------------
 1152|       |        // don't expand next token
 1153|      0|        pasting = true;
 1154|      0|        postpaste = false;
 1155|      0|    }
 1156|       |
 1157|  34.4k|    if (prepaste) {
  ------------------
  |  Branch (1157:9): [True: 0, False: 34.4k]
  ------------------
 1158|       |        // already know we should be on a ##, verify
 1159|      0|        assert(token == PpAtomPaste);
 1160|      0|        prepaste = false;
 1161|      0|        postpaste = true;
 1162|      0|    }
 1163|       |
 1164|       |    // see if are preceding a ##
 1165|  34.4k|    if (mac->body.peekTokenizedPasting(false)) {
  ------------------
  |  Branch (1165:9): [True: 0, False: 34.4k]
  ------------------
 1166|      0|        prepaste = true;
 1167|      0|        pasting = true;
 1168|      0|    }
 1169|       |
 1170|       |
 1171|       |    // TODO: preprocessor:  properly handle whitespace (or lack of it) between tokens when expanding
 1172|  34.4k|    if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (1172:9): [True: 9.20k, False: 25.2k]
  ------------------
 1173|  9.20k|        int i;
 1174|  9.20k|        for (i = (int)mac->args.size() - 1; i >= 0; i--)
  ------------------
  |  Branch (1174:45): [True: 0, False: 9.20k]
  ------------------
 1175|      0|            if (strcmp(pp->atomStrings.getString(mac->args[i]), ppToken->name) == 0)
  ------------------
  |  Branch (1175:17): [True: 0, False: 0]
  ------------------
 1176|      0|                break;
 1177|  9.20k|        if (i >= 0) {
  ------------------
  |  Branch (1177:13): [True: 0, False: 9.20k]
  ------------------
 1178|      0|            TokenStream* arg = expandedArgs[i];
 1179|      0|            bool expanded = !!arg && !pasting;
  ------------------
  |  Branch (1179:29): [True: 0, False: 0]
  |  Branch (1179:38): [True: 0, False: 0]
  ------------------
 1180|       |            // HLSL does expand macros before concatenation
 1181|      0|            if (arg == nullptr || (pasting && !pp->parseContext.isReadingHLSL()) ) {
  ------------------
  |  Branch (1181:17): [True: 0, False: 0]
  |  Branch (1181:36): [True: 0, False: 0]
  |  Branch (1181:47): [True: 0, False: 0]
  ------------------
 1182|      0|                arg = args[i];
 1183|      0|            }
 1184|      0|            pp->pushTokenStreamInput(*arg, prepaste, expanded);
 1185|       |
 1186|      0|            return pp->scanToken(ppToken);
 1187|      0|        }
 1188|  9.20k|    }
 1189|       |
 1190|  34.4k|    if (token == EndOfInput)
  ------------------
  |  Branch (1190:9): [True: 39, False: 34.4k]
  ------------------
 1191|     39|        mac->busy = 0;
 1192|       |
 1193|  34.4k|    return token;
 1194|  34.4k|}
_ZN7glslang10TPpContext10tZeroInput4scanEPNS_8TPpTokenE:
 1198|     36|{
 1199|     36|    if (done)
  ------------------
  |  Branch (1199:9): [True: 18, False: 18]
  ------------------
 1200|     18|        return EndOfInput;
 1201|       |
 1202|     18|    ppToken->name[0] = '0';
 1203|     18|    ppToken->name[1] = 0;
 1204|     18|    ppToken->ival = 0;
 1205|     18|    ppToken->space = false;
 1206|     18|    done = true;
 1207|       |
 1208|     18|    return PpAtomConstInt;
 1209|     36|}
_ZN7glslang10TPpContext11MacroExpandEPNS_8TPpTokenEbb:
 1224|  4.35M|{
 1225|  4.35M|    ppToken->space = false;
 1226|  4.35M|    int macroAtom = atomStrings.getAtom(ppToken->name);
 1227|  4.35M|    if (ppToken->fullyExpanded)
  ------------------
  |  Branch (1227:9): [True: 0, False: 4.35M]
  ------------------
 1228|      0|        return MacroExpandNotStarted;
 1229|       |
 1230|  4.35M|    switch (macroAtom) {
 1231|      0|    case PpAtomLineMacro:
  ------------------
  |  Branch (1231:5): [True: 0, False: 4.35M]
  ------------------
 1232|       |        // Arguments which are macro have been replaced in the first stage.
 1233|      0|        if (ppToken->ival == 0)
  ------------------
  |  Branch (1233:13): [True: 0, False: 0]
  ------------------
 1234|      0|            ppToken->ival = parseContext.getCurrentLoc().line;
 1235|      0|        snprintf(ppToken->name, sizeof(ppToken->name), "%d", ppToken->ival);
 1236|      0|        UngetToken(PpAtomConstInt, ppToken);
 1237|      0|        return MacroExpandStarted;
 1238|       |
 1239|      0|    case PpAtomFileMacro: {
  ------------------
  |  Branch (1239:5): [True: 0, False: 4.35M]
  ------------------
 1240|      0|        if (parseContext.getCurrentLoc().name)
  ------------------
  |  Branch (1240:13): [True: 0, False: 0]
  ------------------
 1241|      0|            parseContext.ppRequireExtensions(ppToken->loc, 1, &E_GL_GOOGLE_cpp_style_line_directive, "filename-based __FILE__");
 1242|      0|        ppToken->ival = parseContext.getCurrentLoc().string;
 1243|      0|        snprintf(ppToken->name, sizeof(ppToken->name), "%s", ppToken->loc.getStringNameOrNum().c_str());
 1244|      0|        UngetToken(PpAtomConstInt, ppToken);
 1245|      0|        return MacroExpandStarted;
 1246|      0|    }
 1247|       |
 1248|      0|    case PpAtomVersionMacro:
  ------------------
  |  Branch (1248:5): [True: 0, False: 4.35M]
  ------------------
 1249|      0|        ppToken->ival = parseContext.version;
 1250|      0|        snprintf(ppToken->name, sizeof(ppToken->name), "%d", ppToken->ival);
 1251|      0|        UngetToken(PpAtomConstInt, ppToken);
 1252|      0|        return MacroExpandStarted;
 1253|       |
 1254|  4.35M|    default:
  ------------------
  |  Branch (1254:5): [True: 4.35M, False: 0]
  ------------------
 1255|  4.35M|        break;
 1256|  4.35M|    }
 1257|       |
 1258|  4.35M|    MacroSymbol* macro = macroAtom == 0 ? nullptr : lookupMacroDef(macroAtom);
  ------------------
  |  Branch (1258:26): [True: 4.34M, False: 6.69k]
  ------------------
 1259|       |
 1260|       |    // no recursive expansions
 1261|  4.35M|    if (macro != nullptr && macro->busy) {
  ------------------
  |  Branch (1261:9): [True: 6.69k, False: 4.34M]
  |  Branch (1261:29): [True: 6.64k, False: 53]
  ------------------
 1262|  6.64k|        ppToken->fullyExpanded = true;
 1263|  6.64k|        return MacroExpandNotStarted;
 1264|  6.64k|    }
 1265|       |
 1266|       |    // not expanding undefined macros
 1267|  4.34M|    if ((macro == nullptr || macro->undef) && ! expandUndef)
  ------------------
  |  Branch (1267:10): [True: 4.34M, False: 53]
  |  Branch (1267:30): [True: 0, False: 53]
  |  Branch (1267:47): [True: 4.34M, False: 18]
  ------------------
 1268|  4.34M|        return MacroExpandNotStarted;
 1269|       |
 1270|       |    // 0 is the value of an undefined macro
 1271|     71|    if ((macro == nullptr || macro->undef) && expandUndef) {
  ------------------
  |  Branch (1271:10): [True: 18, False: 53]
  |  Branch (1271:30): [True: 0, False: 53]
  |  Branch (1271:47): [True: 18, False: 0]
  ------------------
 1272|     18|        pushInput(new tZeroInput(this));
 1273|     18|        return MacroExpandUndef;
 1274|     18|    }
 1275|       |
 1276|     53|    tMacroInput *in = new tMacroInput(this);
 1277|       |
 1278|     53|    TSourceLoc loc = ppToken->loc;  // in case we go to the next line before discovering the error
 1279|     53|    in->mac = macro;
 1280|     53|    if (macro->functionLike) {
  ------------------
  |  Branch (1280:9): [True: 1, False: 52]
  ------------------
 1281|       |        // We don't know yet if this will be a successful call of a
 1282|       |        // function-like macro; need to look for a '(', but without trashing
 1283|       |        // the passed in ppToken, until we know we are no longer speculative.
 1284|      1|        TPpToken parenToken;
 1285|      1|        int token = scanToken(&parenToken);
 1286|      1|        if (newLineOkay) {
  ------------------
  |  Branch (1286:13): [True: 1, False: 0]
  ------------------
 1287|      1|            while (token == '\n')
  ------------------
  |  Branch (1287:20): [True: 0, False: 1]
  ------------------
 1288|      0|                token = scanToken(&parenToken);
 1289|      1|        }
 1290|      1|        if (token != '(') {
  ------------------
  |  Branch (1290:13): [True: 0, False: 1]
  ------------------
 1291|       |            // Function-like macro called with object-like syntax: okay, don't expand.
 1292|       |            // (We ate exactly one token that might not be white space; put it back.
 1293|      0|            UngetToken(token, &parenToken);
 1294|      0|            delete in;
 1295|      0|            return MacroExpandNotStarted;
 1296|      0|        }
 1297|      1|        in->args.resize(in->mac->args.size());
 1298|      2|        for (size_t i = 0; i < in->mac->args.size(); i++)
  ------------------
  |  Branch (1298:28): [True: 1, False: 1]
  ------------------
 1299|      1|            in->args[i] = new TokenStream;
 1300|      1|        in->expandedArgs.resize(in->mac->args.size());
 1301|      2|        for (size_t i = 0; i < in->mac->args.size(); i++)
  ------------------
  |  Branch (1301:28): [True: 1, False: 1]
  ------------------
 1302|      1|            in->expandedArgs[i] = nullptr;
 1303|      1|        size_t arg = 0;
 1304|      1|        bool tokenRecorded = false;
 1305|      1|        do {
 1306|      1|            TVector<char> nestStack;
 1307|     90|            while (true) {
  ------------------
  |  Branch (1307:20): [True: 90, Folded]
  ------------------
 1308|     90|                token = scanToken(ppToken);
 1309|     90|                if (token == EndOfInput || token == tMarkerInput::marker) {
  ------------------
  |  Branch (1309:21): [True: 0, False: 90]
  |  Branch (1309:44): [True: 0, False: 90]
  ------------------
 1310|      0|                    parseContext.ppError(loc, "End of input in macro", "macro expansion", atomStrings.getString(macroAtom));
 1311|      0|                    delete in;
 1312|      0|                    return MacroExpandError;
 1313|      0|                }
 1314|     90|                if (token == '\n') {
  ------------------
  |  Branch (1314:21): [True: 10, False: 80]
  ------------------
 1315|     10|                    if (! newLineOkay) {
  ------------------
  |  Branch (1315:25): [True: 0, False: 10]
  ------------------
 1316|      0|                        parseContext.ppError(loc, "End of line in macro substitution:", "macro expansion", atomStrings.getString(macroAtom));
 1317|      0|                        delete in;
 1318|      0|                        return MacroExpandError;
 1319|      0|                    }
 1320|     10|                    continue;
 1321|     10|                }
 1322|     80|                if (token == '#') {
  ------------------
  |  Branch (1322:21): [True: 0, False: 80]
  ------------------
 1323|      0|                    parseContext.ppError(ppToken->loc, "unexpected '#'", "macro expansion", atomStrings.getString(macroAtom));
 1324|      0|                    delete in;
 1325|      0|                    return MacroExpandError;
 1326|      0|                }
 1327|     80|                if (in->mac->args.size() == 0 && token != ')')
  ------------------
  |  Branch (1327:21): [True: 0, False: 80]
  |  Branch (1327:50): [True: 0, False: 0]
  ------------------
 1328|      0|                    break;
 1329|     80|                if (nestStack.size() == 0 && (token == ',' || token == ')'))
  ------------------
  |  Branch (1329:21): [True: 80, False: 0]
  |  Branch (1329:47): [True: 1, False: 79]
  |  Branch (1329:63): [True: 0, False: 79]
  ------------------
 1330|      1|                    break;
 1331|     79|                if (token == '(')
  ------------------
  |  Branch (1331:21): [True: 0, False: 79]
  ------------------
 1332|      0|                    nestStack.push_back(')');
 1333|     79|                else if (token == '{' && parseContext.isReadingHLSL())
  ------------------
  |  Branch (1333:26): [True: 0, False: 79]
  |  Branch (1333:42): [True: 0, False: 0]
  ------------------
 1334|      0|                    nestStack.push_back('}');
 1335|     79|                else if (nestStack.size() > 0 && token == nestStack.back())
  ------------------
  |  Branch (1335:26): [True: 0, False: 79]
  |  Branch (1335:50): [True: 0, False: 0]
  ------------------
 1336|      0|                    nestStack.pop_back();
 1337|       |
 1338|       |                //Macro replacement list is expanded in the last stage.
 1339|     79|                if (atomStrings.getAtom(ppToken->name) == PpAtomLineMacro)
  ------------------
  |  Branch (1339:21): [True: 0, False: 79]
  ------------------
 1340|      0|                    ppToken->ival = parseContext.getCurrentLoc().line;
 1341|       |
 1342|     79|                in->args[arg]->putToken(token, ppToken);
 1343|     79|                tokenRecorded = true;
 1344|     79|            }
 1345|       |            // end of single argument scan
 1346|       |
 1347|      1|            if (token == ')') {
  ------------------
  |  Branch (1347:17): [True: 0, False: 1]
  ------------------
 1348|       |                // closing paren of call
 1349|      0|                if (in->mac->args.size() == 1 && !tokenRecorded)
  ------------------
  |  Branch (1349:21): [True: 0, False: 0]
  |  Branch (1349:50): [True: 0, False: 0]
  ------------------
 1350|      0|                    break;
 1351|      0|                arg++;
 1352|      0|                break;
 1353|      0|            }
 1354|      1|            arg++;
 1355|      1|        } while (arg < in->mac->args.size());
  ------------------
  |  Branch (1355:18): [True: 0, False: 1]
  ------------------
 1356|       |        // end of all arguments scan
 1357|       |
 1358|      1|        if (arg < in->mac->args.size())
  ------------------
  |  Branch (1358:13): [True: 0, False: 1]
  ------------------
 1359|      0|            parseContext.ppError(loc, "Too few args in Macro", "macro expansion", atomStrings.getString(macroAtom));
 1360|      1|        else if (token != ')') {
  ------------------
  |  Branch (1360:18): [True: 1, False: 0]
  ------------------
 1361|       |            // Error recover code; find end of call, if possible
 1362|      1|            int depth = 0;
 1363|  94.4k|            while (token != EndOfInput && (depth > 0 || token != ')')) {
  ------------------
  |  Branch (1363:20): [True: 94.4k, False: 1]
  |  Branch (1363:44): [True: 94.4k, False: 10]
  |  Branch (1363:57): [True: 10, False: 0]
  ------------------
 1364|  94.4k|                if (token == ')' || token == '}')
  ------------------
  |  Branch (1364:21): [True: 398, False: 94.0k]
  |  Branch (1364:37): [True: 1, False: 94.0k]
  ------------------
 1365|    399|                    depth--;
 1366|  94.4k|                token = scanToken(ppToken);
 1367|  94.4k|                if (token == '(' || token == '{')
  ------------------
  |  Branch (1367:21): [True: 1.78k, False: 92.6k]
  |  Branch (1367:37): [True: 91, False: 92.5k]
  ------------------
 1368|  1.87k|                    depth++;
 1369|  94.4k|            }
 1370|       |
 1371|      1|            if (token == EndOfInput) {
  ------------------
  |  Branch (1371:17): [True: 1, False: 0]
  ------------------
 1372|      1|                parseContext.ppError(loc, "End of input in macro", "macro expansion", atomStrings.getString(macroAtom));
 1373|      1|                delete in;
 1374|      1|                return MacroExpandError;
 1375|      1|            }
 1376|      0|            parseContext.ppError(loc, "Too many args in macro", "macro expansion", atomStrings.getString(macroAtom));
 1377|      0|        }
 1378|       |
 1379|       |        // We need both expanded and non-expanded forms of the argument, for whether or
 1380|       |        // not token pasting will be applied later when the argument is consumed next to ##.
 1381|      0|        for (size_t i = 0; i < in->mac->args.size(); i++)
  ------------------
  |  Branch (1381:28): [True: 0, False: 0]
  ------------------
 1382|      0|            in->expandedArgs[i] = PrescanMacroArg(*in->args[i], ppToken, newLineOkay);
 1383|      0|    }
 1384|       |
 1385|     52|    pushInput(in);
 1386|     52|    macro->busy = 1;
 1387|     52|    macro->body.reset();
 1388|       |
 1389|     52|    return MacroExpandStarted;
 1390|     53|}
Pp.cpp:_ZN7glslang12_GLOBAL__N_16op_posEi:
  422|    115|    int op_pos(int a) { return a; }
Pp.cpp:_ZN7glslang12_GLOBAL__N_16op_negEi:
  423|      2|    int op_neg(int a) { return a == INT_MIN ? INT_MIN : -a; }
  ------------------
  |  Branch (423:32): [True: 0, False: 2]
  ------------------
Pp.cpp:_ZN7glslang12_GLOBAL__N_17op_cmplEi:
  424|    171|    int op_cmpl(int a) { return ~a; }
Pp.cpp:_ZN7glslang12_GLOBAL__N_16op_notEi:
  425|      7|    int op_not(int a) { return !a; }
Pp.cpp:_ZN7glslang12_GLOBAL__N_18op_logorEii:
  404|      4|    int op_logor(int a, int b) { return a || b; }
  ------------------
  |  Branch (404:41): [True: 0, False: 4]
  |  Branch (404:46): [True: 0, False: 4]
  ------------------
Pp.cpp:_ZN7glslang12_GLOBAL__N_16op_andEii:
  408|     14|    int op_and(int a, int b) { return a & b; }
Pp.cpp:_ZN7glslang12_GLOBAL__N_15op_ltEii:
  414|      2|    int op_lt(int a, int b) { return a < b; }

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

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

_ZN7glslang8TPpTokenC2Ev:
   93|  16.5M|    TPpToken() { clear(); }
_ZN7glslang8TPpToken5clearEv:
   95|  35.4M|    {
   96|  35.4M|        space = false;
   97|  35.4M|        i64val = 0;
   98|  35.4M|        loc.init();
   99|  35.4M|        name[0] = 0;
  100|  35.4M|        fullyExpanded = false;
  101|  35.4M|    }
_ZNK7glslang8TPpTokeneqERKS0_:
  105|      3|    {
  106|      3|        return space == right.space &&
  ------------------
  |  Branch (106:16): [True: 3, False: 0]
  ------------------
  107|      3|               ival == right.ival && dval == right.dval && i64val == right.i64val &&
  ------------------
  |  Branch (107:16): [True: 2, False: 1]
  |  Branch (107:38): [True: 2, False: 0]
  |  Branch (107:60): [True: 2, False: 0]
  ------------------
  108|      2|               strncmp(name, right.name, MaxTokenLength) == 0;
  ------------------
  |  Branch (108:16): [True: 2, False: 0]
  ------------------
  109|      3|    }
_ZNK7glslang8TPpTokenneERKS0_:
  110|      3|    bool operator!=(const TPpToken& right) const { return ! operator==(right); }
_ZNK7glslang14TStringAtomMap7getAtomEPKc:
  141|  4.76M|    {
  142|  4.76M|        auto it = atomMap.find(s);
  143|  4.76M|        return it == atomMap.end() ? 0 : it->second;
  ------------------
  |  Branch (143:16): [True: 4.71M, False: 55.3k]
  ------------------
  144|  4.76M|    }
_ZN7glslang14TStringAtomMap10getAddAtomEPKc:
  148|  20.4k|    {
  149|  20.4k|        int atom = getAtom(s);
  150|  20.4k|        if (atom == 0) {
  ------------------
  |  Branch (150:13): [True: 20.4k, False: 4]
  ------------------
  151|  20.4k|            atom = nextAtom++;
  152|  20.4k|            addAtomFixed(s, atom);
  153|  20.4k|        }
  154|  20.4k|        return atom;
  155|  20.4k|    }
_ZNK7glslang14TStringAtomMap9getStringEi:
  158|  3.91M|    const char* getString(int atom) const { return stringMap[atom]->c_str(); }
_ZN7glslang14TStringAtomMap12addAtomFixedEPKci:
  176|   200k|    {
  177|   200k|        auto it = atomMap.insert(std::pair<TString, int>(s, atom)).first;
  178|   200k|        if (stringMap.size() < (size_t)atom + 1)
  ------------------
  |  Branch (178:13): [True: 2.90k, False: 197k]
  ------------------
  179|  2.90k|            stringMap.resize(atom + 100, &badToken);
  180|   200k|        stringMap[atom] = &it->first;
  181|   200k|    }
_ZN7glslang10TPpContext6tInputC2EPS0_:
  208|  1.07k|        tInput(TPpContext* p) : done(false), pp(p) { }
_ZN7glslang10TPpContext6tInputD2Ev:
  209|  1.07k|        virtual ~tInput() { }
_ZN7glslang10TPpContext6tInput11peekPastingEv:
  214|  8.98M|        virtual bool peekPasting() { return false; }             // true when about to see ##
_ZN7glslang10TPpContext6tInput12isMacroInputEv:
  217|      8|        virtual bool isMacroInput() { return false; }
_ZN7glslang10TPpContext6tInput13isStringInputEv:
  218|  34.4k|        virtual bool isStringInput() { return false; }
_ZN7glslang10TPpContext6tInput15notifyActivatedEv:
  221|  1.07k|        virtual void notifyActivated() {}
_ZN7glslang10TPpContext6tInput13notifyDeletedEv:
  223|  1.07k|        virtual void notifyDeleted() {}
_ZN7glslang10TPpContext9pushInputEPNS0_6tInputE:
  232|  1.07k|    {
  233|  1.07k|        inputStack.push_back(in);
  234|  1.07k|        in->notifyActivated();
  235|  1.07k|    }
_ZN7glslang10TPpContext8popInputEv:
  237|  1.07k|    {
  238|  1.07k|        inputStack.back()->notifyDeleted();
  239|  1.07k|        delete inputStack.back();
  240|  1.07k|        inputStack.pop_back();
  241|  1.07k|    }
_ZN7glslang10TPpContext11TokenStream5TokenC2EiRKNS_8TPpTokenE:
  255|  80.0k|                atom(atom),
  256|  80.0k|                space(ppToken.space),
  257|  80.0k|                i64val(ppToken.i64val),
  258|  80.0k|                name(ppToken.name) { }
_ZN7glslang10TPpContext11TokenStream5Token3getERNS_8TPpTokenE:
  260|  34.4k|            {
  261|  34.4k|                ppToken.clear();
  262|  34.4k|                ppToken.space = space;
  263|  34.4k|                ppToken.i64val = i64val;
  264|  34.4k|                snprintf(ppToken.name, sizeof(ppToken.name), "%s", name.c_str());
  265|  34.4k|                return atom;
  266|  34.4k|            }
_ZNK7glslang10TPpContext11TokenStream5Token6isAtomEi:
  267|  68.8k|            bool isAtom(int a) const { return atom == a; }
_ZN7glslang10TPpContext11TokenStreamC2Ev:
  278|  40.9k|        TokenStream() : currentPos(0) { }
_ZN7glslang10TPpContext11TokenStream9peekTokenEi:
  281|  68.9k|        bool peekToken(int atom) { return !atEnd() && stream[currentPos].isAtom(atom); }
  ------------------
  |  Branch (281:43): [True: 68.8k, False: 156]
  |  Branch (281:55): [True: 0, False: 68.8k]
  ------------------
_ZN7glslang10TPpContext11TokenStream5atEndEv:
  312|   103k|        bool atEnd() { return currentPos >= stream.size(); }
_ZN7glslang10TPpContext11TokenStream5resetEv:
  314|     58|        void reset() { currentPos = 0; }
_ZN7glslang10TPpContext11MacroSymbolC2Ev:
  326|  40.9k|        MacroSymbol() : functionLike(0), busy(0), undef(0) { }
_ZN7glslang10TPpContext14lookupMacroDefEi:
  337|  27.2k|    {
  338|  27.2k|        auto existingMacroIt = macroDefs.find(atom);
  339|  27.2k|        return (existingMacroIt == macroDefs.end()) ? nullptr : &(existingMacroIt->second);
  ------------------
  |  Branch (339:16): [True: 20.5k, False: 6.69k]
  ------------------
  340|  27.2k|    }
_ZN7glslang10TPpContext11addMacroDefEiRNS0_11MacroSymbolE:
  341|  20.4k|    void addMacroDef(int atom, MacroSymbol& macroDef) { macroDefs[atom] = macroDef; }
_ZN7glslang10TPpContext9scanTokenEPNS_8TPpTokenE:
  364|  18.8M|    {
  365|  18.8M|        int token = EndOfInput;
  366|       |
  367|  18.8M|        while (! inputStack.empty()) {
  ------------------
  |  Branch (367:16): [True: 18.8M, False: 777]
  ------------------
  368|  18.8M|            token = inputStack.back()->scan(ppToken);
  369|  18.8M|            if (token != EndOfInput || inputStack.empty())
  ------------------
  |  Branch (369:17): [True: 18.8M, False: 831]
  |  Branch (369:40): [True: 0, False: 831]
  ------------------
  370|  18.8M|                break;
  371|    831|            popInput();
  372|    831|        }
  373|  18.8M|        if (!inputStack.empty() && inputStack.back()->isStringInput() && !inElseSkip) {
  ------------------
  |  Branch (373:13): [True: 18.8M, False: 777]
  |  Branch (373:36): [True: 18.8M, False: 34.4k]
  |  Branch (373:74): [True: 9.25M, False: 9.55M]
  ------------------
  374|  9.25M|            if (token == '\n') {
  ------------------
  |  Branch (374:17): [True: 765k, False: 8.49M]
  ------------------
  375|   765k|                lastLineTokens.clear();
  376|   765k|                lastLineTokenLocs.clear();
  377|  8.49M|            } else {
  378|  8.49M|                lastLineTokens.push_back(token);
  379|  8.49M|                lastLineTokenLocs.push_back(ppToken->loc);
  380|  8.49M|            }
  381|  9.25M|        }
  382|  18.8M|        return token;
  383|  18.8M|    }
_ZN7glslang10TPpContext7getCharEv:
  384|  69.6k|    int  getChar() { return inputStack.back()->getch(); }
_ZN7glslang10TPpContext9ungetCharEv:
  385|  15.7k|    void ungetChar() { inputStack.back()->ungetch(); }
_ZN7glslang10TPpContext11peekPastingEv:
  386|  9.02M|    bool peekPasting() { return !inputStack.empty() && inputStack.back()->peekPasting(); }
  ------------------
  |  Branch (386:33): [True: 9.02M, False: 660]
  |  Branch (386:56): [True: 0, False: 9.02M]
  ------------------
_ZN7glslang10TPpContext12isMacroInputEv:
  392|      8|    bool isMacroInput() { return inputStack.size() > 0 && inputStack.back()->isMacroInput(); }
  ------------------
  |  Branch (392:34): [True: 8, False: 0]
  |  Branch (392:59): [True: 0, False: 8]
  ------------------
_ZN7glslang10TPpContext11tMacroInputC2EPS0_:
  402|     53|        tMacroInput(TPpContext* pp) : tInput(pp), prepaste(false), postpaste(false) { }
_ZN7glslang10TPpContext11tMacroInputD2Ev:
  404|     53|        {
  405|     54|            for (size_t i = 0; i < args.size(); ++i)
  ------------------
  |  Branch (405:32): [True: 1, False: 53]
  ------------------
  406|      1|                delete args[i];
  407|     54|            for (size_t i = 0; i < expandedArgs.size(); ++i)
  ------------------
  |  Branch (407:32): [True: 1, False: 53]
  ------------------
  408|      1|                delete expandedArgs[i];
  409|     53|        }
_ZN7glslang10TPpContext11tMacroInput11peekPastingEv:
  414|  34.4k|        bool peekPasting() override { return prepaste; }
_ZN7glslang10TPpContext10tZeroInputC2EPS0_:
  478|     18|        tZeroInput(TPpContext* pp) : tInput(pp) { }
_ZN7glslang10TPpContext12tStringInputC2EPS0_RNS_13TInputScannerE:
  564|  1.00k|        tStringInput(TPpContext* pp, TInputScanner& i) : tInput(pp), input(&i) { }
_ZN7glslang10TPpContext12tStringInput13isStringInputEv:
  566|  18.8M|        bool isStringInput() override { return true; }
_ZN7glslang10TPpContext12tStringInput5getchEv:
  571|  69.7M|        {
  572|  69.7M|            int ch = input->get();
  573|       |
  574|  69.7M|            if (ch == '\\') {
  ------------------
  |  Branch (574:17): [True: 105k, False: 69.6M]
  ------------------
  575|       |                // Move past escaped newlines, as many as sequentially exist
  576|   106k|                do {
  577|   106k|                    if (input->peek() == '\r' || input->peek() == '\n') {
  ------------------
  |  Branch (577:25): [True: 57.9k, False: 48.1k]
  |  Branch (577:50): [True: 1.02k, False: 47.1k]
  ------------------
  578|  58.9k|                        bool allowed = pp->parseContext.lineContinuationCheck(input->getSourceLoc(), pp->inComment);
  579|  58.9k|                        if (! allowed && pp->inComment)
  ------------------
  |  Branch (579:29): [True: 5.17k, False: 53.7k]
  |  Branch (579:42): [True: 3.99k, False: 1.18k]
  ------------------
  580|  3.99k|                            return '\\';
  581|       |
  582|       |                        // escape one newline now
  583|  54.9k|                        ch = input->get();
  584|  54.9k|                        int nextch = input->get();
  585|  54.9k|                        if (ch == '\r' && nextch == '\n')
  ------------------
  |  Branch (585:29): [True: 53.9k, False: 1.01k]
  |  Branch (585:43): [True: 2.13k, False: 51.7k]
  ------------------
  586|  2.13k|                            ch = input->get();
  587|  52.7k|                        else
  588|  52.7k|                            ch = nextch;
  589|  54.9k|                    } else
  590|  47.1k|                        return '\\';
  591|   106k|                } while (ch == '\\');
  ------------------
  |  Branch (591:26): [True: 559, False: 54.3k]
  ------------------
  592|   105k|            }
  593|       |
  594|       |            // handle any non-escaped newline
  595|  69.7M|            if (ch == '\r' || ch == '\n') {
  ------------------
  |  Branch (595:17): [True: 3.01M, False: 66.7M]
  |  Branch (595:31): [True: 2.14M, False: 64.5M]
  ------------------
  596|  5.15M|                if (ch == '\r' && input->peek() == '\n')
  ------------------
  |  Branch (596:21): [True: 3.01M, False: 2.14M]
  |  Branch (596:35): [True: 16.0k, False: 2.99M]
  ------------------
  597|  16.0k|                    input->get();
  598|  5.15M|                return '\n';
  599|  5.15M|            }
  600|       |
  601|  64.5M|            return ch;
  602|  69.7M|        }
_ZN7glslang10TPpContext12tStringInput7ungetchEv:
  609|  7.72M|        {
  610|  7.72M|            input->unget();
  611|       |
  612|  7.72M|            do {
  613|  7.72M|                int ch = input->peek();
  614|  7.72M|                if (ch == '\r' || ch == '\n') {
  ------------------
  |  Branch (614:21): [True: 1.28M, False: 6.44M]
  |  Branch (614:35): [True: 484k, False: 5.95M]
  ------------------
  615|  1.76M|                    if (ch == '\n') {
  ------------------
  |  Branch (615:25): [True: 484k, False: 1.28M]
  ------------------
  616|       |                        // correct for two-character newline
  617|   484k|                        input->unget();
  618|   484k|                        if (input->peek() != '\r')
  ------------------
  |  Branch (618:29): [True: 483k, False: 1.23k]
  ------------------
  619|   483k|                            input->get();
  620|   484k|                    }
  621|       |                    // now in front of a complete newline, move past an escape character
  622|  1.76M|                    input->unget();
  623|  1.76M|                    if (input->peek() == '\\')
  ------------------
  |  Branch (623:25): [True: 63, False: 1.76M]
  ------------------
  624|     63|                        input->unget();
  625|  1.76M|                    else {
  626|  1.76M|                        input->get();
  627|  1.76M|                        break;
  628|  1.76M|                    }
  629|  1.76M|                } else
  630|  5.95M|                    break;
  631|  7.72M|            } while (true);
  ------------------
  |  Branch (631:22): [True: 63, Folded]
  ------------------
  632|  7.72M|        }

_ZN7glslang10TPpContext11lFloatConstEiiPNS_8TPpTokenE:
  113|  30.8k|{
  114|  30.8k|    const auto saveName = [&](int ch) {
  115|  30.8k|        if (len <= MaxTokenLength)
  116|  30.8k|            ppToken->name[len++] = static_cast<char>(ch);
  117|  30.8k|    };
  118|       |
  119|       |    // find the range of non-zero digits before the decimal point
  120|  30.8k|    int startNonZero = 0;
  121|  86.4k|    while (startNonZero < len && ppToken->name[startNonZero] == '0')
  ------------------
  |  Branch (121:12): [True: 67.1k, False: 19.3k]
  |  Branch (121:34): [True: 55.6k, False: 11.4k]
  ------------------
  122|  55.6k|        ++startNonZero;
  123|  30.8k|    int endNonZero = len;
  124|  30.9k|    while (endNonZero > startNonZero && ppToken->name[endNonZero-1] == '0')
  ------------------
  |  Branch (124:12): [True: 11.6k, False: 19.3k]
  |  Branch (124:41): [True: 162, False: 11.4k]
  ------------------
  125|    162|        --endNonZero;
  126|  30.8k|    int numWholeNumberDigits = endNonZero - startNonZero;
  127|       |
  128|       |    // accumulate the range's value
  129|  30.8k|    bool fastPath = numWholeNumberDigits <= 15;  // when the number gets too complex, set to false
  130|  30.8k|    unsigned long long wholeNumber = 0;
  131|  30.8k|    if (fastPath) {
  ------------------
  |  Branch (131:9): [True: 29.1k, False: 1.64k]
  ------------------
  132|  52.1k|        for (int i = startNonZero; i < endNonZero; ++i)
  ------------------
  |  Branch (132:36): [True: 23.0k, False: 29.1k]
  ------------------
  133|  23.0k|            wholeNumber = wholeNumber * 10 + (ppToken->name[i] - '0');
  134|  29.1k|    }
  135|  30.8k|    int decimalShift = len - endNonZero;
  136|       |
  137|       |    // Decimal point:
  138|  30.8k|    bool hasDecimalOrExponent = false;
  139|  30.8k|    if (ch == '.') {
  ------------------
  |  Branch (139:9): [True: 13.4k, False: 17.3k]
  ------------------
  140|  13.4k|        hasDecimalOrExponent = true;
  141|  13.4k|        saveName(ch);
  142|  13.4k|        ch = getChar();
  143|  13.4k|        int firstDecimal = len;
  144|       |
  145|  13.4k|#ifdef ENABLE_HLSL
  146|       |        // 1.#INF or -1.#INF
  147|  13.4k|        if (ch == '#' && (ifdepth > 0 || parseContext.intermediate.getSource() == EShSourceHlsl)) {
  ------------------
  |  Branch (147:13): [True: 3, False: 13.4k]
  |  Branch (147:27): [True: 3, False: 0]
  |  Branch (147:42): [True: 0, False: 0]
  ------------------
  148|      3|            if ((len <  2) ||
  ------------------
  |  Branch (148:17): [True: 0, False: 3]
  ------------------
  149|      3|                (len == 2 && ppToken->name[0] != '1') ||
  ------------------
  |  Branch (149:18): [True: 0, False: 3]
  |  Branch (149:30): [True: 0, False: 0]
  ------------------
  150|      3|                (len == 3 && ppToken->name[1] != '1' && !(ppToken->name[0] == '-' || ppToken->name[0] == '+')) ||
  ------------------
  |  Branch (150:18): [True: 0, False: 3]
  |  Branch (150:30): [True: 0, False: 0]
  |  Branch (150:59): [True: 0, False: 0]
  |  Branch (150:86): [True: 0, False: 0]
  ------------------
  151|      3|                (len >  3))
  ------------------
  |  Branch (151:17): [True: 3, False: 0]
  ------------------
  152|      3|                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|      3|        }
  173|  13.4k|#endif
  174|       |
  175|       |        // Consume leading-zero digits after the decimal point
  176|  24.5k|        while (ch == '0') {
  ------------------
  |  Branch (176:16): [True: 11.0k, False: 13.4k]
  ------------------
  177|  11.0k|            saveName(ch);
  178|  11.0k|            ch = getChar();
  179|  11.0k|        }
  180|  13.4k|        int startNonZeroDecimal = len;
  181|  13.4k|        int endNonZeroDecimal = len;
  182|       |
  183|       |        // Consume remaining digits, up to the exponent
  184|  21.7k|        while (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (184:16): [True: 19.0k, False: 2.72k]
  |  Branch (184:29): [True: 8.28k, False: 10.7k]
  ------------------
  185|  8.28k|            saveName(ch);
  186|  8.28k|            if (ch != '0')
  ------------------
  |  Branch (186:17): [True: 7.35k, False: 930]
  ------------------
  187|  7.35k|                endNonZeroDecimal = len;
  188|  8.28k|            ch = getChar();
  189|  8.28k|        }
  190|       |
  191|       |        // Compute accumulation up to the last non-zero digit
  192|  13.4k|        if (endNonZeroDecimal > startNonZeroDecimal) {
  ------------------
  |  Branch (192:13): [True: 4.25k, False: 9.22k]
  ------------------
  193|  4.25k|            numWholeNumberDigits += endNonZeroDecimal - endNonZero - 1; // don't include the "."
  194|  4.25k|            if (numWholeNumberDigits > 15)
  ------------------
  |  Branch (194:17): [True: 20, False: 4.23k]
  ------------------
  195|     20|                fastPath = false;
  196|  4.25k|            if (fastPath) {
  ------------------
  |  Branch (196:17): [True: 4.23k, False: 20]
  ------------------
  197|  15.0k|                for (int i = endNonZero; i < endNonZeroDecimal; ++i) {
  ------------------
  |  Branch (197:42): [True: 10.8k, False: 4.23k]
  ------------------
  198|  10.8k|                    if (ppToken->name[i] != '.')
  ------------------
  |  Branch (198:25): [True: 6.56k, False: 4.23k]
  ------------------
  199|  6.56k|                        wholeNumber = wholeNumber * 10 + (ppToken->name[i] - '0');
  200|  10.8k|                }
  201|  4.23k|            }
  202|  4.25k|            decimalShift = firstDecimal - endNonZeroDecimal;
  203|  4.25k|        }
  204|  13.4k|    }
  205|       |
  206|       |    // Exponent:
  207|  30.8k|    bool negativeExponent = false;
  208|  30.8k|    double exponentValue = 0.0;
  209|  30.8k|    int exponent = 0;
  210|  30.8k|    {
  211|  30.8k|        if (ch == 'e' || ch == 'E') {
  ------------------
  |  Branch (211:13): [True: 5.86k, False: 24.9k]
  |  Branch (211:26): [True: 2.26k, False: 22.6k]
  ------------------
  212|  8.12k|            hasDecimalOrExponent = true;
  213|  8.12k|            saveName(ch);
  214|  8.12k|            ch = getChar();
  215|  8.12k|            if (ch == '+' || ch == '-') {
  ------------------
  |  Branch (215:17): [True: 0, False: 8.12k]
  |  Branch (215:30): [True: 395, False: 7.73k]
  ------------------
  216|    395|                negativeExponent = ch == '-';
  217|    395|                saveName(ch);
  218|    395|                ch = getChar();
  219|    395|            }
  220|  8.12k|            if (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (220:17): [True: 8.12k, False: 0]
  |  Branch (220:30): [True: 8.11k, False: 12]
  ------------------
  221|  35.0k|                while (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (221:24): [True: 33.3k, False: 1.78k]
  |  Branch (221:37): [True: 26.9k, False: 6.33k]
  ------------------
  222|  26.9k|                    if (exponent < 500) {
  ------------------
  |  Branch (222:25): [True: 17.3k, False: 9.60k]
  ------------------
  223|  17.3k|                        exponent = exponent * 10 + (ch - '0');
  224|  17.3k|                    }
  225|  26.9k|                    saveName(ch);
  226|  26.9k|                    ch = getChar();
  227|  26.9k|                }
  228|  8.11k|            } else {
  229|     12|                parseContext.ppError(ppToken->loc, "bad character in float exponent", "", "");
  230|     12|            }
  231|  8.12k|        }
  232|       |
  233|       |        // Compensate for location of decimal
  234|  30.8k|        if (negativeExponent)
  ------------------
  |  Branch (234:13): [True: 395, False: 30.4k]
  ------------------
  235|    395|            exponent -= decimalShift;
  236|  30.4k|        else {
  237|  30.4k|            exponent += decimalShift;
  238|  30.4k|            if (exponent < 0) {
  ------------------
  |  Branch (238:17): [True: 4.25k, False: 26.1k]
  ------------------
  239|  4.25k|                negativeExponent = true;
  240|  4.25k|                exponent = -exponent;
  241|  4.25k|            }
  242|  30.4k|        }
  243|  30.8k|        if (exponent > 22)
  ------------------
  |  Branch (243:13): [True: 6.64k, False: 24.1k]
  ------------------
  244|  6.64k|            fastPath = false;
  245|       |
  246|  30.8k|        if (fastPath) {
  ------------------
  |  Branch (246:13): [True: 22.5k, False: 8.28k]
  ------------------
  247|       |            // Compute the floating-point value of the exponent
  248|  22.5k|            exponentValue = 1.0;
  249|  22.5k|            if (exponent > 0) {
  ------------------
  |  Branch (249:17): [True: 5.72k, False: 16.7k]
  ------------------
  250|  5.72k|                double expFactor = 10;
  251|  15.9k|                while (exponent > 0) {
  ------------------
  |  Branch (251:24): [True: 10.2k, False: 5.72k]
  ------------------
  252|  10.2k|                    if (exponent & 0x1)
  ------------------
  |  Branch (252:25): [True: 7.11k, False: 3.12k]
  ------------------
  253|  7.11k|                        exponentValue *= expFactor;
  254|  10.2k|                    expFactor *= expFactor;
  255|  10.2k|                    exponent >>= 1;
  256|  10.2k|                }
  257|  5.72k|            }
  258|  22.5k|        }
  259|  30.8k|    }
  260|       |
  261|       |    // Suffix:
  262|  30.8k|    bool isDouble = false;
  263|  30.8k|    bool isFloat16 = false;
  264|  30.8k|    if (ch == 'l' || ch == 'L') {
  ------------------
  |  Branch (264:9): [True: 110, False: 30.7k]
  |  Branch (264:22): [True: 4.33k, False: 26.3k]
  ------------------
  265|  4.44k|        if (ifdepth == 0 && parseContext.intermediate.getSource() == EShSourceGlsl)
  ------------------
  |  Branch (265:13): [True: 27, False: 4.41k]
  |  Branch (265:29): [True: 0, False: 27]
  ------------------
  266|      0|            parseContext.doubleCheck(ppToken->loc, "double floating-point suffix");
  267|  4.44k|        if (ifdepth == 0 && !hasDecimalOrExponent)
  ------------------
  |  Branch (267:13): [True: 27, False: 4.41k]
  |  Branch (267:29): [True: 0, False: 27]
  ------------------
  268|      0|            parseContext.ppError(ppToken->loc, "float literal needs a decimal point or exponent", "", "");
  269|  4.44k|        if (parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (269:13): [True: 424, False: 4.01k]
  ------------------
  270|    424|            int ch2 = getChar();
  271|    424|            if (ch2 != 'f' && ch2 != 'F') {
  ------------------
  |  Branch (271:17): [True: 424, False: 0]
  |  Branch (271:31): [True: 424, False: 0]
  ------------------
  272|    424|                ungetChar();
  273|    424|                ungetChar();
  274|    424|            } else {
  275|      0|                saveName(ch);
  276|      0|                saveName(ch2);
  277|      0|                isDouble = true;
  278|      0|            }
  279|  4.01k|        } else if (parseContext.intermediate.getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (279:20): [True: 4.01k, False: 0]
  ------------------
  280|  4.01k|            saveName(ch);
  281|  4.01k|            isDouble = true;
  282|  4.01k|        }
  283|  26.3k|    } else if (ch == 'h' || ch == 'H') {
  ------------------
  |  Branch (283:16): [True: 3.83k, False: 22.5k]
  |  Branch (283:29): [True: 2.76k, False: 19.7k]
  ------------------
  284|  6.60k|        if (ifdepth == 0 && parseContext.intermediate.getSource() == EShSourceGlsl)
  ------------------
  |  Branch (284:13): [True: 82, False: 6.52k]
  |  Branch (284:29): [True: 0, False: 82]
  ------------------
  285|      0|            parseContext.float16Check(ppToken->loc, "half floating-point suffix");
  286|  6.60k|        if (ifdepth == 0 && !hasDecimalOrExponent)
  ------------------
  |  Branch (286:13): [True: 82, False: 6.52k]
  |  Branch (286:29): [True: 35, False: 47]
  ------------------
  287|     35|            parseContext.ppError(ppToken->loc, "float literal needs a decimal point or exponent", "", "");
  288|  6.60k|        if (parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (288:13): [True: 786, False: 5.81k]
  ------------------
  289|    786|            int ch2 = getChar();
  290|    786|            if (ch2 != 'f' && ch2 != 'F') {
  ------------------
  |  Branch (290:17): [True: 637, False: 149]
  |  Branch (290:31): [True: 637, False: 0]
  ------------------
  291|    637|                ungetChar();
  292|    637|                ungetChar();
  293|    637|            } else {
  294|    149|                saveName(ch);
  295|    149|                saveName(ch2);
  296|    149|                isFloat16 = true;
  297|    149|            }
  298|  5.81k|        } else if (parseContext.intermediate.getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (298:20): [True: 5.81k, False: 0]
  ------------------
  299|  5.81k|            saveName(ch);
  300|  5.81k|            isFloat16 = true;
  301|  5.81k|        }
  302|  6.60k|    } else
  303|  19.7k|    if (ch == 'f' || ch == 'F') {
  ------------------
  |  Branch (303:9): [True: 3.98k, False: 15.7k]
  |  Branch (303:22): [True: 2.15k, False: 13.6k]
  ------------------
  304|  6.13k|        if (ifdepth == 0)
  ------------------
  |  Branch (304:13): [True: 22, False: 6.11k]
  ------------------
  305|     22|            parseContext.profileRequires(ppToken->loc,  EEsProfile, 300, nullptr, "floating-point suffix");
  306|  6.13k|        if (ifdepth == 0 && !parseContext.relaxedErrors())
  ------------------
  |  Branch (306:13): [True: 22, False: 6.11k]
  |  Branch (306:29): [True: 22, False: 0]
  ------------------
  307|     22|            parseContext.profileRequires(ppToken->loc, ~EEsProfile, 120, nullptr, "floating-point suffix");
  308|  6.13k|        if (ifdepth == 0 && !hasDecimalOrExponent)
  ------------------
  |  Branch (308:13): [True: 22, False: 6.11k]
  |  Branch (308:29): [True: 22, False: 0]
  ------------------
  309|     22|            parseContext.ppError(ppToken->loc, "float literal needs a decimal point or exponent", "", "");
  310|  6.13k|        saveName(ch);
  311|  6.13k|    } else
  312|  13.6k|        ungetChar();
  313|       |
  314|       |    // Patch up the name and length for overflow
  315|       |
  316|  30.8k|    if (len > MaxTokenLength) {
  ------------------
  |  Branch (316:9): [True: 0, False: 30.8k]
  ------------------
  317|      0|        len = MaxTokenLength;
  318|      0|        parseContext.ppError(ppToken->loc, "float literal too long", "", "");
  319|      0|    }
  320|  30.8k|    ppToken->name[len] = '\0';
  321|       |
  322|       |    // Compute the numerical value
  323|  30.8k|    if (fastPath) {
  ------------------
  |  Branch (323:9): [True: 22.5k, False: 8.28k]
  ------------------
  324|       |        // compute the floating-point value of the exponent
  325|  22.5k|        if (exponentValue == 0.0)
  ------------------
  |  Branch (325:13): [True: 0, False: 22.5k]
  ------------------
  326|      0|            ppToken->dval = (double)wholeNumber;
  327|  22.5k|        else if (negativeExponent)
  ------------------
  |  Branch (327:18): [True: 4.23k, False: 18.2k]
  ------------------
  328|  4.23k|            ppToken->dval = (double)wholeNumber / exponentValue;
  329|  18.2k|        else
  330|  18.2k|            ppToken->dval = (double)wholeNumber * exponentValue;
  331|  22.5k|    } else {
  332|       |        // slow path
  333|  8.28k|        ppToken->dval = 0.0;
  334|       |
  335|       |        // remove suffix
  336|  8.28k|        TString numstr(ppToken->name);
  337|  8.28k|        if (numstr.back() == 'f' || numstr.back() == 'F')
  ------------------
  |  Branch (337:13): [True: 1.29k, False: 6.99k]
  |  Branch (337:37): [True: 920, False: 6.07k]
  ------------------
  338|  2.21k|            numstr.pop_back();
  339|  8.28k|        if (numstr.back() == 'h' || numstr.back() == 'H')
  ------------------
  |  Branch (339:13): [True: 293, False: 7.99k]
  |  Branch (339:37): [True: 0, False: 7.99k]
  ------------------
  340|    293|            numstr.pop_back();
  341|  8.28k|        if (numstr.back() == 'l' || numstr.back() == 'L')
  ------------------
  |  Branch (341:13): [True: 2, False: 8.28k]
  |  Branch (341:37): [True: 0, False: 8.28k]
  ------------------
  342|      2|            numstr.pop_back();
  343|       |
  344|       |        // use platform library
  345|  8.28k|        strtodStream.clear();
  346|  8.28k|        strtodStream.str(numstr.c_str());
  347|  8.28k|        strtodStream >> ppToken->dval;
  348|  8.28k|        if (strtodStream.fail()) {
  ------------------
  |  Branch (348:13): [True: 1.29k, False: 6.99k]
  ------------------
  349|       |            // Assume failure combined with a large exponent was overflow, in
  350|       |            // an attempt to set INF.
  351|  1.29k|            if (!negativeExponent && exponent + numWholeNumberDigits > 300)
  ------------------
  |  Branch (351:17): [True: 1.29k, False: 0]
  |  Branch (351:38): [True: 1.29k, False: 0]
  ------------------
  352|  1.29k|                ppToken->i64val = 0x7ff0000000000000; // +Infinity
  353|       |            // Assume failure combined with a small exponent was overflow.
  354|  1.29k|            if (negativeExponent && exponent + numWholeNumberDigits > 300)
  ------------------
  |  Branch (354:17): [True: 0, False: 1.29k]
  |  Branch (354:37): [True: 0, False: 0]
  ------------------
  355|      0|                ppToken->dval = 0.0;
  356|       |            // Unknown reason for failure. Theory is that either
  357|       |            //  - the 0.0 is still there, or
  358|       |            //  - something reasonable was written that is better than 0.0
  359|  1.29k|        }
  360|  8.28k|    }
  361|       |
  362|       |    // Return the right token type
  363|  30.8k|    if (isDouble)
  ------------------
  |  Branch (363:9): [True: 4.01k, False: 26.7k]
  ------------------
  364|  4.01k|        return PpAtomConstDouble;
  365|  26.7k|    else if (isFloat16)
  ------------------
  |  Branch (365:14): [True: 5.96k, False: 20.8k]
  ------------------
  366|  5.96k|        return PpAtomConstFloat16;
  367|  20.8k|    else
  368|  20.8k|        return PpAtomConstFloat;
  369|  30.8k|}
_ZN7glslang10TPpContext16characterLiteralEPNS_8TPpTokenE:
  378|     57|{
  379|     57|    ppToken->name[0] = 0;
  380|     57|    ppToken->ival = 0;
  381|       |
  382|     57|    if (parseContext.intermediate.getSource() != EShSourceHlsl) {
  ------------------
  |  Branch (382:9): [True: 40, False: 17]
  ------------------
  383|       |        // illegal, except in macro definition, for which case we report the character
  384|     40|        return '\'';
  385|     40|    }
  386|       |
  387|     17|    int ch = getChar();
  388|     17|    switch (ch) {
  389|     11|    case '\'':
  ------------------
  |  Branch (389:5): [True: 11, False: 6]
  ------------------
  390|       |        // As empty sequence:  ''
  391|     11|        parseContext.ppError(ppToken->loc, "unexpected", "\'", "");
  392|     11|        return PpAtomConstInt;
  393|      0|    case '\\':
  ------------------
  |  Branch (393:5): [True: 0, False: 17]
  ------------------
  394|       |        // As escape sequence:  '\XXX'
  395|      0|        switch (ch = getChar()) {
  396|      0|        case 'a':
  ------------------
  |  Branch (396:9): [True: 0, False: 0]
  ------------------
  397|      0|            ppToken->ival = 7;
  398|      0|            break;
  399|      0|        case 'b':
  ------------------
  |  Branch (399:9): [True: 0, False: 0]
  ------------------
  400|      0|            ppToken->ival = 8;
  401|      0|            break;
  402|      0|        case 't':
  ------------------
  |  Branch (402:9): [True: 0, False: 0]
  ------------------
  403|      0|            ppToken->ival = 9;
  404|      0|            break;
  405|      0|        case 'n':
  ------------------
  |  Branch (405:9): [True: 0, False: 0]
  ------------------
  406|      0|            ppToken->ival = 10;
  407|      0|            break;
  408|      0|        case 'v':
  ------------------
  |  Branch (408:9): [True: 0, False: 0]
  ------------------
  409|      0|            ppToken->ival = 11;
  410|      0|            break;
  411|      0|        case 'f':
  ------------------
  |  Branch (411:9): [True: 0, False: 0]
  ------------------
  412|      0|            ppToken->ival = 12;
  413|      0|            break;
  414|      0|        case 'r':
  ------------------
  |  Branch (414:9): [True: 0, False: 0]
  ------------------
  415|      0|            ppToken->ival = 13;
  416|      0|            break;
  417|      0|        case 'x':
  ------------------
  |  Branch (417:9): [True: 0, False: 0]
  ------------------
  418|      0|        case '0':
  ------------------
  |  Branch (418:9): [True: 0, False: 0]
  ------------------
  419|      0|            parseContext.ppError(ppToken->loc, "octal and hex sequences not supported", "\\", "");
  420|      0|            break;
  421|      0|        default:
  ------------------
  |  Branch (421:9): [True: 0, False: 0]
  ------------------
  422|       |            // This catches '\'', '\"', '\?', etc.
  423|       |            // Also, things like '\C' mean the same thing as 'C'
  424|       |            // (after the above cases are filtered out).
  425|      0|            ppToken->ival = ch;
  426|      0|            break;
  427|      0|        }
  428|      0|        break;
  429|      6|    default:
  ------------------
  |  Branch (429:5): [True: 6, False: 11]
  ------------------
  430|      6|        ppToken->ival = ch;
  431|      6|        break;
  432|     17|    }
  433|      6|    ppToken->name[0] = (char)ppToken->ival;
  434|      6|    ppToken->name[1] = '\0';
  435|      6|    ch = getChar();
  436|      6|    if (ch != '\'') {
  ------------------
  |  Branch (436:9): [True: 6, False: 0]
  ------------------
  437|      6|        parseContext.ppError(ppToken->loc, "expected", "\'", "");
  438|       |        // Look ahead for a closing '
  439|     76|        do {
  440|     76|            ch = getChar();
  441|     76|        } while (ch != '\'' && ch != EndOfInput && ch != '\n');
  ------------------
  |  Branch (441:18): [True: 76, False: 0]
  |  Branch (441:32): [True: 74, False: 2]
  |  Branch (441:52): [True: 70, False: 4]
  ------------------
  442|      6|    }
  443|       |
  444|      6|    return PpAtomConstInt;
  445|     17|}
_ZN7glslang10TPpContext12tStringInput4scanEPNS_8TPpTokenE:
  459|  18.8M|{
  460|  18.8M|    int AlreadyComplained = 0;
  461|  18.8M|    int len = 0;
  462|  18.8M|    int ch = 0;
  463|  18.8M|    int ii = 0;
  464|  18.8M|    unsigned long long ival = 0;
  465|  18.8M|    const auto floatingPointChar = [&](int ch) { return ch == '.' || ch == 'e' || ch == 'E' ||
  466|  18.8M|                                                                     ch == 'f' || ch == 'F' ||
  467|  18.8M|                                                                     ch == 'h' || ch == 'H'; };
  468|       |
  469|  18.8M|    static const char* const Int64_Extensions[] = {
  470|  18.8M|        E_GL_ARB_gpu_shader_int64,
  471|  18.8M|        E_GL_EXT_shader_explicit_arithmetic_types,
  472|  18.8M|        E_GL_NV_gpu_shader5,
  473|  18.8M|        E_GL_EXT_shader_explicit_arithmetic_types_int64 };
  474|  18.8M|    static const int Num_Int64_Extensions = sizeof(Int64_Extensions) / sizeof(Int64_Extensions[0]);
  475|       |
  476|  18.8M|    static const char* const Int16_Extensions[] = {
  477|  18.8M|        E_GL_AMD_gpu_shader_int16,
  478|  18.8M|        E_GL_EXT_shader_explicit_arithmetic_types,
  479|  18.8M|        E_GL_EXT_shader_explicit_arithmetic_types_int16 };
  480|  18.8M|    static const int Num_Int16_Extensions = sizeof(Int16_Extensions) / sizeof(Int16_Extensions[0]);
  481|       |
  482|  18.8M|    ppToken->clear();
  483|  18.8M|    ch = getch();
  484|  18.8M|    for (;;) {
  485|  22.3M|        while (ch == ' ' || ch == '\t') {
  ------------------
  |  Branch (485:16): [True: 3.53M, False: 18.8M]
  |  Branch (485:29): [True: 38.9k, False: 18.8M]
  ------------------
  486|  3.57M|            ppToken->space = true;
  487|  3.57M|            ch = getch();
  488|  3.57M|        }
  489|       |
  490|  18.8M|        ppToken->loc = pp->parseContext.getCurrentLoc();
  491|  18.8M|        len = 0;
  492|  18.8M|        switch (ch) {
  493|  10.8M|        default:
  ------------------
  |  Branch (493:9): [True: 10.8M, False: 8.01M]
  ------------------
  494|       |            // Single character token, including EndOfInput, '#' and '\' (escaped newlines are handled at a lower level, so this is just a '\' token)
  495|  10.8M|            if (ch > PpAtomMaxSingle)
  ------------------
  |  Branch (495:17): [True: 1.58M, False: 9.22M]
  ------------------
  496|  1.58M|                ch = PpAtomBadToken;
  497|  10.8M|            return ch;
  498|       |
  499|  39.1k|        case 'A': case 'B': case 'C': case 'D': case 'E':
  ------------------
  |  Branch (499:9): [True: 11.2k, False: 18.8M]
  |  Branch (499:19): [True: 2.27k, False: 18.8M]
  |  Branch (499:29): [True: 3.58k, False: 18.8M]
  |  Branch (499:39): [True: 9.08k, False: 18.8M]
  |  Branch (499:49): [True: 13.0k, False: 18.8M]
  ------------------
  500|   165k|        case 'F': case 'G': case 'H': case 'I': case 'J':
  ------------------
  |  Branch (500:9): [True: 6.47k, False: 18.8M]
  |  Branch (500:19): [True: 34.6k, False: 18.7M]
  |  Branch (500:29): [True: 589, False: 18.8M]
  |  Branch (500:39): [True: 82.4k, False: 18.7M]
  |  Branch (500:49): [True: 1.84k, False: 18.8M]
  ------------------
  501|   203k|        case 'K': case 'L': case 'M': case 'N': case 'O':
  ------------------
  |  Branch (501:9): [True: 13.8k, False: 18.8M]
  |  Branch (501:19): [True: 4.41k, False: 18.8M]
  |  Branch (501:29): [True: 16.5k, False: 18.8M]
  |  Branch (501:39): [True: 1.04k, False: 18.8M]
  |  Branch (501:49): [True: 2.84k, False: 18.8M]
  ------------------
  502|   349k|        case 'P': case 'Q': case 'R': case 'S': case 'T':
  ------------------
  |  Branch (502:9): [True: 7.90k, False: 18.8M]
  |  Branch (502:19): [True: 7.13k, False: 18.8M]
  |  Branch (502:29): [True: 7.40k, False: 18.8M]
  |  Branch (502:39): [True: 35.3k, False: 18.7M]
  |  Branch (502:49): [True: 87.7k, False: 18.7M]
  ------------------
  503|   397k|        case 'U': case 'V': case 'W': case 'X': case 'Y':
  ------------------
  |  Branch (503:9): [True: 18.1k, False: 18.7M]
  |  Branch (503:19): [True: 1.37k, False: 18.8M]
  |  Branch (503:29): [True: 25.3k, False: 18.7M]
  |  Branch (503:39): [True: 2.18k, False: 18.8M]
  |  Branch (503:49): [True: 1.18k, False: 18.8M]
  ------------------
  504|   507k|        case 'Z': case '_':
  ------------------
  |  Branch (504:9): [True: 286, False: 18.8M]
  |  Branch (504:19): [True: 109k, False: 18.7M]
  ------------------
  505|  1.21M|        case 'a': case 'b': case 'c': case 'd': case 'e':
  ------------------
  |  Branch (505:9): [True: 93.6k, False: 18.7M]
  |  Branch (505:19): [True: 193k, False: 18.6M]
  |  Branch (505:29): [True: 212k, False: 18.6M]
  |  Branch (505:39): [True: 160k, False: 18.6M]
  |  Branch (505:49): [True: 49.7k, False: 18.7M]
  ------------------
  506|  3.22M|        case 'f': case 'g': case 'h': case 'i': case 'j':
  ------------------
  |  Branch (506:9): [True: 939k, False: 17.8M]
  |  Branch (506:19): [True: 60.3k, False: 18.7M]
  |  Branch (506:29): [True: 67.5k, False: 18.7M]
  |  Branch (506:39): [True: 938k, False: 17.8M]
  |  Branch (506:49): [True: 1.92k, False: 18.8M]
  ------------------
  507|  3.66M|        case 'k': case 'l': case 'm': case 'n': case 'o':
  ------------------
  |  Branch (507:9): [True: 3.00k, False: 18.8M]
  |  Branch (507:19): [True: 80.3k, False: 18.7M]
  |  Branch (507:29): [True: 142k, False: 18.6M]
  |  Branch (507:39): [True: 64.9k, False: 18.7M]
  |  Branch (507:49): [True: 154k, False: 18.6M]
  ------------------
  508|  4.19M|        case 'p': case 'q': case 'r': case 's': case 't':
  ------------------
  |  Branch (508:9): [True: 10.9k, False: 18.8M]
  |  Branch (508:19): [True: 2.91k, False: 18.8M]
  |  Branch (508:29): [True: 73.8k, False: 18.7M]
  |  Branch (508:39): [True: 257k, False: 18.5M]
  |  Branch (508:49): [True: 181k, False: 18.6M]
  ------------------
  509|  5.62M|        case 'u': case 'v': case 'w': case 'x': case 'y':
  ------------------
  |  Branch (509:9): [True: 597k, False: 18.2M]
  |  Branch (509:19): [True: 805k, False: 18.0M]
  |  Branch (509:29): [True: 11.4k, False: 18.8M]
  |  Branch (509:39): [True: 5.94k, False: 18.8M]
  |  Branch (509:49): [True: 2.96k, False: 18.8M]
  ------------------
  510|  5.62M|        case 'z':
  ------------------
  |  Branch (510:9): [True: 354, False: 18.8M]
  ------------------
  511|  38.9M|            do {
  512|  38.9M|                if (len < MaxTokenLength) {
  ------------------
  |  Branch (512:21): [True: 38.9M, False: 0]
  ------------------
  513|  38.9M|                    ppToken->name[len++] = (char)ch;
  514|  38.9M|                    ch = getch();
  515|  38.9M|                } else {
  516|      0|                    if (! AlreadyComplained) {
  ------------------
  |  Branch (516:25): [True: 0, False: 0]
  ------------------
  517|      0|                        pp->parseContext.ppError(ppToken->loc, "name too long", "", "");
  518|      0|                        AlreadyComplained = 1;
  519|      0|                    }
  520|      0|                    ch = getch();
  521|      0|                }
  522|  38.9M|            } while ((ch >= 'a' && ch <= 'z') ||
  ------------------
  |  Branch (522:23): [True: 25.9M, False: 13.0M]
  |  Branch (522:36): [True: 25.7M, False: 138k]
  ------------------
  523|  13.1M|                     (ch >= 'A' && ch <= 'Z') ||
  ------------------
  |  Branch (523:23): [True: 3.70M, False: 9.44M]
  |  Branch (523:36): [True: 2.96M, False: 746k]
  ------------------
  524|  10.1M|                     (ch >= '0' && ch <= '9') ||
  ------------------
  |  Branch (524:23): [True: 5.02M, False: 5.16M]
  |  Branch (524:36): [True: 4.01M, False: 1.00M]
  ------------------
  525|  6.17M|                     ch == '_');
  ------------------
  |  Branch (525:22): [True: 555k, False: 5.62M]
  ------------------
  526|       |
  527|       |            // line continuation with no token before or after makes len == 0, and need to start over skipping white space, etc.
  528|  5.62M|            if (len == 0)
  ------------------
  |  Branch (528:17): [True: 0, False: 5.62M]
  ------------------
  529|      0|                continue;
  530|       |
  531|  5.62M|            ppToken->name[len] = '\0';
  532|  5.62M|            ungetch();
  533|  5.62M|            return PpAtomIdentifier;
  534|  73.4k|        case '0':
  ------------------
  |  Branch (534:9): [True: 73.4k, False: 18.7M]
  ------------------
  535|  73.4k|            ppToken->name[len++] = (char)ch;
  536|  73.4k|            ch = getch();
  537|  73.4k|            if (ch == 'x' || ch == 'X') {
  ------------------
  |  Branch (537:17): [True: 4.44k, False: 68.9k]
  |  Branch (537:30): [True: 466, False: 68.4k]
  ------------------
  538|       |                // must be hexadecimal
  539|       |
  540|  4.91k|                bool isUnsigned = false;
  541|  4.91k|                bool isInt64 = false;
  542|  4.91k|                bool isInt16 = false;
  543|  4.91k|                ppToken->name[len++] = (char)ch;
  544|  4.91k|                ch = getch();
  545|  4.91k|                if ((ch >= '0' && ch <= '9') ||
  ------------------
  |  Branch (545:22): [True: 4.90k, False: 3]
  |  Branch (545:35): [True: 945, False: 3.96k]
  ------------------
  546|  3.96k|                    (ch >= 'A' && ch <= 'F') ||
  ------------------
  |  Branch (546:22): [True: 3.96k, False: 3]
  |  Branch (546:35): [True: 3.95k, False: 3]
  ------------------
  547|  4.90k|                    (ch >= 'a' && ch <= 'f')) {
  ------------------
  |  Branch (547:22): [True: 3, False: 3]
  |  Branch (547:35): [True: 3, False: 0]
  ------------------
  548|       |
  549|  4.90k|                    ival = 0;
  550|  8.29k|                    do {
  551|  8.29k|                        if (len < MaxTokenLength && ival <= 0x7fffffffffffffffull) {
  ------------------
  |  Branch (551:29): [True: 8.29k, False: 0]
  |  Branch (551:53): [True: 8.29k, False: 0]
  ------------------
  552|  8.29k|                            ppToken->name[len++] = (char)ch;
  553|  8.29k|                            if (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (553:33): [True: 8.29k, False: 0]
  |  Branch (553:46): [True: 3.80k, False: 4.48k]
  ------------------
  554|  3.80k|                                ii = ch - '0';
  555|  4.48k|                            } else if (ch >= 'A' && ch <= 'F') {
  ------------------
  |  Branch (555:40): [True: 4.48k, False: 0]
  |  Branch (555:53): [True: 4.38k, False: 98]
  ------------------
  556|  4.38k|                                ii = ch - 'A' + 10;
  557|  4.38k|                            } else if (ch >= 'a' && ch <= 'f') {
  ------------------
  |  Branch (557:40): [True: 98, False: 0]
  |  Branch (557:53): [True: 98, False: 0]
  ------------------
  558|     98|                                ii = ch - 'a' + 10;
  559|     98|                            } else
  560|      0|                                pp->parseContext.ppError(ppToken->loc, "bad digit in hexadecimal literal", "", "");
  561|  8.29k|                            ival = (ival << 4) | ii;
  562|  8.29k|                        } else {
  563|      0|                            if (! AlreadyComplained) {
  ------------------
  |  Branch (563:33): [True: 0, False: 0]
  ------------------
  564|      0|                                if(len < MaxTokenLength)
  ------------------
  |  Branch (564:36): [True: 0, False: 0]
  ------------------
  565|      0|                                    pp->parseContext.ppError(ppToken->loc, "hexadecimal literal too big", "", "");
  566|      0|                                else
  567|      0|                                    pp->parseContext.ppError(ppToken->loc, "hexadecimal literal too long", "", "");
  568|      0|                                AlreadyComplained = 1;
  569|      0|                            }
  570|      0|                            ival = 0xffffffffffffffffull;
  571|      0|                        }
  572|  8.29k|                        ch = getch();
  573|  8.29k|                    } while ((ch >= '0' && ch <= '9') ||
  ------------------
  |  Branch (573:31): [True: 7.96k, False: 327]
  |  Branch (573:44): [True: 2.86k, False: 5.10k]
  ------------------
  574|  5.43k|                             (ch >= 'A' && ch <= 'F') ||
  ------------------
  |  Branch (574:31): [True: 4.50k, False: 921]
  |  Branch (574:44): [True: 428, False: 4.08k]
  ------------------
  575|  5.00k|                             (ch >= 'a' && ch <= 'f'));
  ------------------
  |  Branch (575:31): [True: 431, False: 4.57k]
  |  Branch (575:44): [True: 95, False: 336]
  ------------------
  576|  4.90k|                } else {
  577|      3|                    pp->parseContext.ppError(ppToken->loc, "bad digit in hexadecimal literal", "", "");
  578|      3|                }
  579|  4.91k|                if (ch == 'u' || ch == 'U') {
  ------------------
  |  Branch (579:21): [True: 0, False: 4.91k]
  |  Branch (579:34): [True: 117, False: 4.79k]
  ------------------
  580|    117|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (580:25): [True: 117, False: 0]
  ------------------
  581|    117|                        ppToken->name[len++] = (char)ch;
  582|    117|                    isUnsigned = true;
  583|       |
  584|    117|                    int nextCh = getch();
  585|    117|                    if (nextCh == 'l' || nextCh == 'L') {
  ------------------
  |  Branch (585:25): [True: 0, False: 117]
  |  Branch (585:42): [True: 0, False: 117]
  ------------------
  586|      0|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (586:29): [True: 0, False: 0]
  ------------------
  587|      0|                            ppToken->name[len++] = (char)nextCh;
  588|      0|                        isInt64 = true;
  589|      0|                    } else
  590|    117|                        ungetch();
  591|       |
  592|    117|                    nextCh = getch();
  593|    117|                    if ((nextCh == 's' || nextCh == 'S') &&
  ------------------
  |  Branch (593:26): [True: 0, False: 117]
  |  Branch (593:43): [True: 0, False: 117]
  ------------------
  594|      0|                            pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (594:29): [True: 0, False: 0]
  ------------------
  595|      0|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (595:29): [True: 0, False: 0]
  ------------------
  596|      0|                            ppToken->name[len++] = (char)nextCh;
  597|      0|                        isInt16 = true;
  598|      0|                    } else
  599|    117|                        ungetch();
  600|  4.79k|                } else if (ch == 'l' || ch == 'L') {
  ------------------
  |  Branch (600:28): [True: 44, False: 4.74k]
  |  Branch (600:41): [True: 2, False: 4.74k]
  ------------------
  601|     46|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (601:25): [True: 46, False: 0]
  ------------------
  602|     46|                        ppToken->name[len++] = (char)ch;
  603|     46|                    isInt64 = true;
  604|  4.74k|                } else if ((ch == 's' || ch == 'S') &&
  ------------------
  |  Branch (604:29): [True: 0, False: 4.74k]
  |  Branch (604:42): [True: 2.40k, False: 2.34k]
  ------------------
  605|  2.40k|                           pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (605:28): [True: 329, False: 2.07k]
  ------------------
  606|    329|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (606:25): [True: 329, False: 0]
  ------------------
  607|    329|                        ppToken->name[len++] = (char)ch;
  608|    329|                    isInt16 = true;
  609|    329|                } else
  610|  4.41k|                    ungetch();
  611|  4.91k|                ppToken->name[len] = '\0';
  612|       |
  613|  4.91k|                if (isInt64 && pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (613:21): [True: 46, False: 4.86k]
  |  Branch (613:32): [True: 15, False: 31]
  ------------------
  614|     15|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (614:25): [True: 0, False: 15]
  ------------------
  615|      0|                        pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile,
  616|      0|                                                        "64-bit hexadecimal literal");
  617|      0|                        pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0,
  618|      0|                            Num_Int64_Extensions, Int64_Extensions, "64-bit hexadecimal literal");
  619|      0|                    }
  620|     15|                    ppToken->i64val = ival;
  621|     15|                    return isUnsigned ? PpAtomConstUint64 : PpAtomConstInt64;
  ------------------
  |  Branch (621:28): [True: 0, False: 15]
  ------------------
  622|  4.89k|                } else if (isInt16) {
  ------------------
  |  Branch (622:28): [True: 329, False: 4.56k]
  ------------------
  623|    329|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (623:25): [True: 0, False: 329]
  ------------------
  624|      0|                        if (pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (624:29): [True: 0, False: 0]
  ------------------
  625|      0|                            pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile,
  626|      0|                                                             "16-bit hexadecimal literal");
  627|      0|                            pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0,
  628|      0|                                Num_Int16_Extensions, Int16_Extensions, "16-bit hexadecimal literal");
  629|      0|                        }
  630|      0|                    }
  631|    329|                    ppToken->ival = (int)ival;
  632|    329|                    return isUnsigned ? PpAtomConstUint16 : PpAtomConstInt16;
  ------------------
  |  Branch (632:28): [True: 0, False: 329]
  ------------------
  633|  4.56k|                } else {
  634|  4.56k|                    if (ival > 0xffffffffu && !AlreadyComplained)
  ------------------
  |  Branch (634:25): [True: 0, False: 4.56k]
  |  Branch (634:47): [True: 0, False: 0]
  ------------------
  635|      0|                        pp->parseContext.ppError(ppToken->loc, "hexadecimal literal too big", "", "");
  636|  4.56k|                    ppToken->ival = (int)ival;
  637|  4.56k|                    return isUnsigned ? PpAtomConstUint : PpAtomConstInt;
  ------------------
  |  Branch (637:28): [True: 117, False: 4.44k]
  ------------------
  638|  4.56k|                }
  639|  68.4k|            } else if ((ch == 'b' || ch == 'B') && pp->parseContext.intermediate.getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (639:25): [True: 0, False: 68.4k]
  |  Branch (639:38): [True: 1, False: 68.4k]
  |  Branch (639:52): [True: 1, False: 0]
  ------------------
  640|       |                // must be binary
  641|      1|                bool isUnsigned = false;
  642|      1|                bool isInt64 = false;
  643|      1|                bool isInt16 = false;
  644|      1|                ppToken->name[len++] = (char)ch;
  645|      1|                ch = getch();
  646|       |
  647|       |                // Check value
  648|      1|                if ((ch == '0' || ch == '1'))
  ------------------
  |  Branch (648:22): [True: 0, False: 1]
  |  Branch (648:35): [True: 0, False: 1]
  ------------------
  649|      0|                {
  650|      0|                    ival = 0;
  651|      0|                    do {
  652|      0|                        if (len < MaxTokenLength && ival <= 0x7fffffffffffffffull) {
  ------------------
  |  Branch (652:29): [True: 0, False: 0]
  |  Branch (652:53): [True: 0, False: 0]
  ------------------
  653|      0|                            ppToken->name[len++] = (char)ch;
  654|      0|                            if (ch == '0' || ch == '1') {
  ------------------
  |  Branch (654:33): [True: 0, False: 0]
  |  Branch (654:46): [True: 0, False: 0]
  ------------------
  655|      0|                                ii = ch - '0';
  656|      0|                            } else {
  657|      0|                                pp->parseContext.ppError(ppToken->loc, "bad digit in binary literal", "", "");
  658|      0|                            }
  659|      0|                            ival = (ival << 1) | ii;
  660|      0|                        }
  661|      0|                        else
  662|      0|                        {
  663|      0|                            if (! AlreadyComplained) {
  ------------------
  |  Branch (663:33): [True: 0, False: 0]
  ------------------
  664|      0|                                if(len < MaxTokenLength)
  ------------------
  |  Branch (664:36): [True: 0, False: 0]
  ------------------
  665|      0|                                    pp->parseContext.ppError(ppToken->loc, "binary literal too big", "", "");
  666|      0|                                else
  667|      0|                                    pp->parseContext.ppError(ppToken->loc, "binary literal too long", "", "");
  668|      0|                                AlreadyComplained = 1;
  669|      0|                            }
  670|      0|                            ival = 0xffffffffffffffffull;
  671|      0|                        }
  672|      0|                        ch = getch();
  673|      0|                    } while (ch == '0' || ch == '1');
  ------------------
  |  Branch (673:30): [True: 0, False: 0]
  |  Branch (673:43): [True: 0, False: 0]
  ------------------
  674|      0|                }
  675|      1|                else
  676|      1|                {
  677|      1|                   pp->parseContext.ppError(ppToken->loc, "bad digit in binary literal", "", "");
  678|      1|                }
  679|       |
  680|       |                // check type
  681|      1|                if (ch == 'u' || ch == 'U') {
  ------------------
  |  Branch (681:21): [True: 0, False: 1]
  |  Branch (681:34): [True: 0, False: 1]
  ------------------
  682|      0|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (682:25): [True: 0, False: 0]
  ------------------
  683|      0|                        ppToken->name[len++] = (char)ch;
  684|      0|                    isUnsigned = true;
  685|       |
  686|      0|                    int nextCh = getch();
  687|      0|                    if (nextCh == 'l' || nextCh == 'L') {
  ------------------
  |  Branch (687:25): [True: 0, False: 0]
  |  Branch (687:42): [True: 0, False: 0]
  ------------------
  688|      0|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (688:29): [True: 0, False: 0]
  ------------------
  689|      0|                            ppToken->name[len++] = (char)nextCh;
  690|      0|                        isInt64 = true;
  691|      0|                    } else
  692|      0|                        ungetch();
  693|       |
  694|      0|                    nextCh = getch();
  695|      0|                    if ((nextCh == 's' || nextCh == 'S') &&
  ------------------
  |  Branch (695:26): [True: 0, False: 0]
  |  Branch (695:43): [True: 0, False: 0]
  ------------------
  696|      0|                                pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (696:33): [True: 0, False: 0]
  ------------------
  697|      0|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (697:29): [True: 0, False: 0]
  ------------------
  698|      0|                            ppToken->name[len++] = (char)nextCh;
  699|      0|                        isInt16 = true;
  700|      0|                    } else
  701|      0|                        ungetch();
  702|      1|                } else if (ch == 'l' || ch == 'L') {
  ------------------
  |  Branch (702:28): [True: 0, False: 1]
  |  Branch (702:41): [True: 0, False: 1]
  ------------------
  703|      0|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (703:25): [True: 0, False: 0]
  ------------------
  704|      0|                        ppToken->name[len++] = (char)ch;
  705|      0|                    isInt64 = true;
  706|      1|                } else if ((ch == 's' || ch == 'S') &&
  ------------------
  |  Branch (706:29): [True: 0, False: 1]
  |  Branch (706:42): [True: 0, False: 1]
  ------------------
  707|      0|                                pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (707:33): [True: 0, False: 0]
  ------------------
  708|      0|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (708:25): [True: 0, False: 0]
  ------------------
  709|      0|                        ppToken->name[len++] = (char)ch;
  710|      0|                    isInt16 = true;
  711|      1|                } else {
  712|      1|                    ungetch();
  713|      1|                }
  714|      1|                ppToken->name[len] = '\0';
  715|       |
  716|       |                // Assign value
  717|      1|                if (isInt64 && pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (717:21): [True: 0, False: 1]
  |  Branch (717:32): [True: 0, False: 0]
  ------------------
  718|      0|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (718:25): [True: 0, False: 0]
  ------------------
  719|      0|                        pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile,
  720|      0|                                                        "64-bit binary literal");
  721|      0|                        pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0,
  722|      0|                            Num_Int64_Extensions, Int64_Extensions, "64-bit binary literal");
  723|      0|                    }
  724|      0|                    ppToken->i64val = ival;
  725|      0|                    return isUnsigned ? PpAtomConstUint64 : PpAtomConstInt64;
  ------------------
  |  Branch (725:28): [True: 0, False: 0]
  ------------------
  726|      1|                } else if (isInt16) {
  ------------------
  |  Branch (726:28): [True: 0, False: 1]
  ------------------
  727|      0|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (727:25): [True: 0, False: 0]
  ------------------
  728|      0|                        if (pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (728:29): [True: 0, False: 0]
  ------------------
  729|      0|                            pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile,
  730|      0|                                                            "16-bit binary literal");
  731|      0|                            pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0,
  732|      0|                                Num_Int16_Extensions, Int16_Extensions, "16-bit binary literal");
  733|      0|                        }
  734|      0|                    }
  735|      0|                    ppToken->ival = (int)ival;
  736|      0|                    return isUnsigned ? PpAtomConstUint16 : PpAtomConstInt16;
  ------------------
  |  Branch (736:28): [True: 0, False: 0]
  ------------------
  737|      1|                } else {
  738|      1|                    ppToken->ival = (int)ival;
  739|      1|                    return isUnsigned ? PpAtomConstUint : PpAtomConstInt;
  ------------------
  |  Branch (739:28): [True: 0, False: 1]
  ------------------
  740|      1|                }
  741|  68.4k|            } else {
  742|       |                // could be octal integer or floating point, speculative pursue octal until it must be floating point
  743|       |
  744|  68.4k|                bool isUnsigned = false;
  745|  68.4k|                bool isInt64 = false;
  746|  68.4k|                bool isInt16 = false;
  747|  68.4k|                bool octalOverflow = false;
  748|  68.4k|                bool nonOctal = false;
  749|  68.4k|                ival = 0;
  750|       |
  751|       |                // see how much octal-like stuff we can read
  752|   140k|                while (ch >= '0' && ch <= '7') {
  ------------------
  |  Branch (752:24): [True: 103k, False: 37.7k]
  |  Branch (752:37): [True: 72.3k, False: 30.7k]
  ------------------
  753|  72.3k|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (753:25): [True: 72.3k, False: 0]
  ------------------
  754|  72.3k|                        ppToken->name[len++] = (char)ch;
  755|      0|                    else if (! AlreadyComplained) {
  ------------------
  |  Branch (755:30): [True: 0, False: 0]
  ------------------
  756|      0|                        pp->parseContext.ppError(ppToken->loc, "numeric literal too long", "", "");
  757|      0|                        AlreadyComplained = 1;
  758|      0|                    }
  759|  72.3k|                    if (ival <= 0x1fffffffffffffffull) {
  ------------------
  |  Branch (759:25): [True: 72.2k, False: 78]
  ------------------
  760|  72.2k|                        ii = ch - '0';
  761|  72.2k|                        ival = (ival << 3) | ii;
  762|  72.2k|                    } else
  763|     78|                        octalOverflow = true;
  764|  72.3k|                    ch = getch();
  765|  72.3k|                }
  766|       |
  767|       |                // could be part of a float...
  768|  68.4k|                if (ch == '8' || ch == '9') {
  ------------------
  |  Branch (768:21): [True: 1.58k, False: 66.9k]
  |  Branch (768:34): [True: 45, False: 66.8k]
  ------------------
  769|  1.62k|                    nonOctal = true;
  770|  24.0k|                    do {
  771|  24.0k|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (771:29): [True: 24.0k, False: 0]
  ------------------
  772|  24.0k|                            ppToken->name[len++] = (char)ch;
  773|      0|                        else if (! AlreadyComplained) {
  ------------------
  |  Branch (773:34): [True: 0, False: 0]
  ------------------
  774|      0|                            pp->parseContext.ppError(ppToken->loc, "numeric literal too long", "", "");
  775|      0|                            AlreadyComplained = 1;
  776|      0|                        }
  777|  24.0k|                        ch = getch();
  778|  24.0k|                    } while (ch >= '0' && ch <= '9');
  ------------------
  |  Branch (778:30): [True: 24.0k, False: 0]
  |  Branch (778:43): [True: 22.4k, False: 1.62k]
  ------------------
  779|  1.62k|                }
  780|  68.4k|                if (floatingPointChar(ch))
  ------------------
  |  Branch (780:21): [True: 8.82k, False: 59.6k]
  ------------------
  781|  8.82k|                    return pp->lFloatConst(len, ch, ppToken);
  782|       |
  783|       |                // wasn't a float, so must be octal...
  784|  59.6k|                if (nonOctal)
  ------------------
  |  Branch (784:21): [True: 3, False: 59.6k]
  ------------------
  785|      3|                    pp->parseContext.ppError(ppToken->loc, "octal literal digit too large", "", "");
  786|       |
  787|  59.6k|                if (ch == 'u' || ch == 'U') {
  ------------------
  |  Branch (787:21): [True: 625, False: 59.0k]
  |  Branch (787:34): [True: 3.47k, False: 55.5k]
  ------------------
  788|  4.09k|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (788:25): [True: 4.09k, False: 0]
  ------------------
  789|  4.09k|                        ppToken->name[len++] = (char)ch;
  790|  4.09k|                    isUnsigned = true;
  791|       |
  792|  4.09k|                    int nextCh = getch();
  793|  4.09k|                    if (nextCh == 'l' || nextCh == 'L') {
  ------------------
  |  Branch (793:25): [True: 0, False: 4.09k]
  |  Branch (793:42): [True: 63, False: 4.03k]
  ------------------
  794|     63|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (794:29): [True: 63, False: 0]
  ------------------
  795|     63|                            ppToken->name[len++] = (char)nextCh;
  796|     63|                        isInt64 = true;
  797|     63|                    } else
  798|  4.03k|                        ungetch();
  799|       |
  800|  4.09k|                    nextCh = getch();
  801|  4.09k|                    if ((nextCh == 's' || nextCh == 'S') && 
  ------------------
  |  Branch (801:26): [True: 88, False: 4.00k]
  |  Branch (801:43): [True: 372, False: 3.63k]
  ------------------
  802|    460|                                pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (802:33): [True: 163, False: 297]
  ------------------
  803|    163|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (803:29): [True: 163, False: 0]
  ------------------
  804|    163|                            ppToken->name[len++] = (char)nextCh;
  805|    163|                        isInt16 = true;
  806|    163|                    } else
  807|  3.93k|                        ungetch();
  808|  55.5k|                } else if (ch == 'l' || ch == 'L') {
  ------------------
  |  Branch (808:28): [True: 935, False: 54.6k]
  |  Branch (808:41): [True: 2.28k, False: 52.3k]
  ------------------
  809|  3.22k|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (809:25): [True: 3.22k, False: 0]
  ------------------
  810|  3.22k|                        ppToken->name[len++] = (char)ch;
  811|  3.22k|                    isInt64 = true;
  812|  52.3k|                } else if ((ch == 's' || ch == 'S') && 
  ------------------
  |  Branch (812:29): [True: 136, False: 52.2k]
  |  Branch (812:42): [True: 2, False: 52.2k]
  ------------------
  813|    138|                                pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (813:33): [True: 15, False: 123]
  ------------------
  814|     15|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (814:25): [True: 15, False: 0]
  ------------------
  815|     15|                        ppToken->name[len++] = (char)ch;
  816|     15|                    isInt16 = true;
  817|     15|                } else
  818|  52.3k|                    ungetch();
  819|  59.6k|                ppToken->name[len] = '\0';
  820|       |
  821|  59.6k|                if (!isInt64 && ival > 0xffffffffu)
  ------------------
  |  Branch (821:21): [True: 56.3k, False: 3.28k]
  |  Branch (821:33): [True: 8, False: 56.3k]
  ------------------
  822|      8|                    octalOverflow = true;
  823|       |
  824|  59.6k|                if (octalOverflow)
  ------------------
  |  Branch (824:21): [True: 8, False: 59.6k]
  ------------------
  825|      8|                    pp->parseContext.ppError(ppToken->loc, "octal literal too big", "", "");
  826|       |
  827|  59.6k|                if (isInt64 && pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (827:21): [True: 3.28k, False: 56.3k]
  |  Branch (827:32): [True: 468, False: 2.81k]
  ------------------
  828|    468|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (828:25): [True: 0, False: 468]
  ------------------
  829|      0|                        pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile,
  830|      0|                                                        "64-bit octal literal");
  831|      0|                        pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0,
  832|      0|                            Num_Int64_Extensions, Int64_Extensions, "64-bit octal literal");
  833|      0|                    }
  834|    468|                    ppToken->i64val = ival;
  835|    468|                    return isUnsigned ? PpAtomConstUint64 : PpAtomConstInt64;
  ------------------
  |  Branch (835:28): [True: 23, False: 445]
  ------------------
  836|  59.1k|                } else if (isInt16) {
  ------------------
  |  Branch (836:28): [True: 178, False: 59.0k]
  ------------------
  837|    178|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (837:25): [True: 0, False: 178]
  ------------------
  838|      0|                        if (pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (838:29): [True: 0, False: 0]
  ------------------
  839|      0|                            pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile,
  840|      0|                                                            "16-bit octal literal");
  841|      0|                            pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0,
  842|      0|                                Num_Int16_Extensions, Int16_Extensions, "16-bit octal literal");
  843|      0|                        }
  844|      0|                    }
  845|    178|                    ppToken->ival = (int)ival;
  846|    178|                    return isUnsigned ? PpAtomConstUint16 : PpAtomConstInt16;
  ------------------
  |  Branch (846:28): [True: 163, False: 15]
  ------------------
  847|  59.0k|                } else {
  848|  59.0k|                    ppToken->ival = (int)ival;
  849|  59.0k|                    return isUnsigned ? PpAtomConstUint : PpAtomConstInt;
  ------------------
  |  Branch (849:28): [True: 3.91k, False: 55.1k]
  ------------------
  850|  59.0k|                }
  851|  59.6k|            }
  852|      0|            break;
  853|   193k|        case '1': case '2': case '3': case '4':
  ------------------
  |  Branch (853:9): [True: 104k, False: 18.7M]
  |  Branch (853:19): [True: 57.4k, False: 18.7M]
  |  Branch (853:29): [True: 18.1k, False: 18.7M]
  |  Branch (853:39): [True: 13.5k, False: 18.8M]
  ------------------
  854|   239k|        case '5': case '6': case '7': case '8': case '9':
  ------------------
  |  Branch (854:9): [True: 11.7k, False: 18.8M]
  |  Branch (854:19): [True: 10.3k, False: 18.8M]
  |  Branch (854:29): [True: 7.59k, False: 18.8M]
  |  Branch (854:39): [True: 9.24k, False: 18.8M]
  |  Branch (854:49): [True: 7.43k, False: 18.8M]
  ------------------
  855|       |            // can't be hexadecimal or octal, is either decimal or floating point
  856|       |
  857|   383k|            do {
  858|   383k|                if (len < MaxTokenLength)
  ------------------
  |  Branch (858:21): [True: 383k, False: 0]
  ------------------
  859|   383k|                    ppToken->name[len++] = (char)ch;
  860|      0|                else if (! AlreadyComplained) {
  ------------------
  |  Branch (860:26): [True: 0, False: 0]
  ------------------
  861|      0|                    pp->parseContext.ppError(ppToken->loc, "numeric literal too long", "", "");
  862|      0|                    AlreadyComplained = 1;
  863|      0|                }
  864|   383k|                ch = getch();
  865|   383k|            } while (ch >= '0' && ch <= '9');
  ------------------
  |  Branch (865:22): [True: 300k, False: 82.8k]
  |  Branch (865:35): [True: 143k, False: 157k]
  ------------------
  866|   239k|            if (floatingPointChar(ch))
  ------------------
  |  Branch (866:17): [True: 8.82k, False: 231k]
  ------------------
  867|  8.82k|                return pp->lFloatConst(len, ch, ppToken);
  868|   231k|            else {
  869|       |                // Finish handling signed and unsigned integers
  870|   231k|                int numericLen = len;
  871|   231k|                bool isUnsigned = false;
  872|   231k|                bool isInt64 = false;
  873|   231k|                bool isInt16 = false;
  874|   231k|                if (ch == 'u' || ch == 'U') {
  ------------------
  |  Branch (874:21): [True: 5.05k, False: 226k]
  |  Branch (874:34): [True: 1.80k, False: 224k]
  ------------------
  875|  6.85k|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (875:25): [True: 6.85k, False: 0]
  ------------------
  876|  6.85k|                        ppToken->name[len++] = (char)ch;
  877|  6.85k|                    isUnsigned = true;
  878|       |
  879|  6.85k|                    int nextCh = getch();
  880|  6.85k|                    if (nextCh == 'l' || nextCh == 'L') {
  ------------------
  |  Branch (880:25): [True: 2.67k, False: 4.18k]
  |  Branch (880:42): [True: 643, False: 3.54k]
  ------------------
  881|  3.31k|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (881:29): [True: 3.31k, False: 0]
  ------------------
  882|  3.31k|                            ppToken->name[len++] = (char)nextCh;
  883|  3.31k|                        isInt64 = true;
  884|  3.31k|                    } else
  885|  3.54k|                        ungetch();
  886|       |
  887|  6.85k|                    nextCh = getch();
  888|  6.85k|                    if ((nextCh == 's' || nextCh == 'S') &&
  ------------------
  |  Branch (888:26): [True: 1.00k, False: 5.85k]
  |  Branch (888:43): [True: 85, False: 5.76k]
  ------------------
  889|  1.08k|                                pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (889:33): [True: 132, False: 954]
  ------------------
  890|    132|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (890:29): [True: 132, False: 0]
  ------------------
  891|    132|                            ppToken->name[len++] = (char)nextCh;
  892|    132|                        isInt16 = true;
  893|    132|                    } else
  894|  6.72k|                        ungetch();
  895|   224k|                } else if (ch == 'l' || ch == 'L') {
  ------------------
  |  Branch (895:28): [True: 22, False: 224k]
  |  Branch (895:41): [True: 815, False: 223k]
  ------------------
  896|    837|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (896:25): [True: 837, False: 0]
  ------------------
  897|    837|                        ppToken->name[len++] = (char)ch;
  898|    837|                    isInt64 = true;
  899|   223k|                } else if ((ch == 's' || ch == 'S') &&
  ------------------
  |  Branch (899:29): [True: 12.7k, False: 210k]
  |  Branch (899:42): [True: 2.27k, False: 208k]
  ------------------
  900|  14.9k|                                pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (900:33): [True: 1.68k, False: 13.3k]
  ------------------
  901|  1.68k|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (901:25): [True: 1.68k, False: 0]
  ------------------
  902|  1.68k|                        ppToken->name[len++] = (char)ch;
  903|  1.68k|                    isInt16 = true;
  904|  1.68k|                } else
  905|   221k|                    ungetch();
  906|       |
  907|   231k|                ppToken->name[len] = '\0';
  908|   231k|                ival = 0;
  909|   231k|                const unsigned oneTenthMaxInt  = 0xFFFFFFFFu / 10;
  910|   231k|                const unsigned remainderMaxInt = 0xFFFFFFFFu - 10 * oneTenthMaxInt;
  911|   231k|                const unsigned long long oneTenthMaxInt64  = 0xFFFFFFFFFFFFFFFFull / 10;
  912|   231k|                const unsigned long long remainderMaxInt64 = 0xFFFFFFFFFFFFFFFFull - 10 * oneTenthMaxInt64;
  913|   231k|                const unsigned short oneTenthMaxInt16  = 0xFFFFu / 10;
  914|   231k|                const unsigned short remainderMaxInt16 = 0xFFFFu - 10 * oneTenthMaxInt16;
  915|   580k|                for (int i = 0; i < numericLen; i++) {
  ------------------
  |  Branch (915:33): [True: 349k, False: 231k]
  ------------------
  916|   349k|                    ch = ppToken->name[i] - '0';
  917|   349k|                    bool overflow = false;
  918|   349k|                    if (isInt64)
  ------------------
  |  Branch (918:25): [True: 4.33k, False: 345k]
  ------------------
  919|  4.33k|                        overflow = (ival > oneTenthMaxInt64 || (ival == oneTenthMaxInt64 && (unsigned long long)ch > remainderMaxInt64));
  ------------------
  |  Branch (919:37): [True: 0, False: 4.33k]
  |  Branch (919:65): [True: 2, False: 4.33k]
  |  Branch (919:93): [True: 2, False: 0]
  ------------------
  920|   345k|                    else if (isInt16)
  ------------------
  |  Branch (920:30): [True: 4.78k, False: 340k]
  ------------------
  921|  4.78k|                        overflow = (ival > oneTenthMaxInt16 || (ival == oneTenthMaxInt16 && (unsigned short)ch > remainderMaxInt16));
  ------------------
  |  Branch (921:37): [True: 0, False: 4.78k]
  |  Branch (921:65): [True: 0, False: 4.78k]
  |  Branch (921:93): [True: 0, False: 0]
  ------------------
  922|   340k|                    else
  923|   340k|                        overflow = (ival > oneTenthMaxInt || (ival == oneTenthMaxInt && (unsigned)ch > remainderMaxInt));
  ------------------
  |  Branch (923:37): [True: 28, False: 340k]
  |  Branch (923:63): [True: 1.09k, False: 339k]
  |  Branch (923:89): [True: 0, False: 1.09k]
  ------------------
  924|   349k|                    if (overflow) {
  ------------------
  |  Branch (924:25): [True: 30, False: 349k]
  ------------------
  925|     30|                        pp->parseContext.ppError(ppToken->loc, "numeric literal too big", "", "");
  926|     30|                        ival = 0xFFFFFFFFFFFFFFFFull;
  927|     30|                        break;
  928|     30|                    } else
  929|   349k|                        ival = ival * 10 + ch;
  930|   349k|                }
  931|       |
  932|   231k|                if (isInt64 && pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (932:21): [True: 4.15k, False: 226k]
  |  Branch (932:32): [True: 615, False: 3.53k]
  ------------------
  933|    615|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (933:25): [True: 0, False: 615]
  ------------------
  934|      0|                        pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile,
  935|      0|                                                        "64-bit literal");
  936|      0|                        pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0,
  937|      0|                            Num_Int64_Extensions, Int64_Extensions, "64-bit literal");
  938|      0|                    }
  939|    615|                    ppToken->i64val = ival;
  940|    615|                    return isUnsigned ? PpAtomConstUint64 : PpAtomConstInt64;
  ------------------
  |  Branch (940:28): [True: 494, False: 121]
  ------------------
  941|   230k|                } else if (isInt16) {
  ------------------
  |  Branch (941:28): [True: 1.82k, False: 228k]
  ------------------
  942|  1.82k|                    if (pp->ifdepth == 0 && pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (942:25): [True: 0, False: 1.82k]
  |  Branch (942:45): [True: 0, False: 0]
  ------------------
  943|      0|                        pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile,
  944|      0|                                                        "16-bit  literal");
  945|      0|                        pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0,
  946|      0|                            Num_Int16_Extensions, Int16_Extensions, "16-bit literal");
  947|      0|                    }
  948|  1.82k|                    ppToken->ival = (int)ival;
  949|  1.82k|                    return isUnsigned ? PpAtomConstUint16 : PpAtomConstInt16;
  ------------------
  |  Branch (949:28): [True: 132, False: 1.68k]
  ------------------
  950|   228k|                } else {
  951|   228k|                    ppToken->ival = (int)ival;
  952|   228k|                    return isUnsigned ? PpAtomConstUint : PpAtomConstInt;
  ------------------
  |  Branch (952:28): [True: 6.22k, False: 222k]
  ------------------
  953|   228k|                }
  954|   231k|            }
  955|      0|            break;
  956|  17.8k|        case '-':
  ------------------
  |  Branch (956:9): [True: 17.8k, False: 18.7M]
  ------------------
  957|  17.8k|            ch = getch();
  958|  17.8k|            if (ch == '-') {
  ------------------
  |  Branch (958:17): [True: 1.01k, False: 16.8k]
  ------------------
  959|  1.01k|                return PpAtomDecrement;
  960|  16.8k|            } else if (ch == '=') {
  ------------------
  |  Branch (960:24): [True: 0, False: 16.8k]
  ------------------
  961|      0|                return PPAtomSubAssign;
  962|  16.8k|            } else {
  963|  16.8k|                ungetch();
  964|  16.8k|                return '-';
  965|  16.8k|            }
  966|   147k|        case '+':
  ------------------
  |  Branch (966:9): [True: 147k, False: 18.6M]
  ------------------
  967|   147k|            ch = getch();
  968|   147k|            if (ch == '+') {
  ------------------
  |  Branch (968:17): [True: 98.3k, False: 48.9k]
  ------------------
  969|  98.3k|                return PpAtomIncrement;
  970|  98.3k|            } else if (ch == '=') {
  ------------------
  |  Branch (970:24): [True: 263, False: 48.6k]
  ------------------
  971|    263|                return PPAtomAddAssign;
  972|  48.6k|            } else {
  973|  48.6k|                ungetch();
  974|  48.6k|                return '+';
  975|  48.6k|            }
  976|  16.8k|        case '*':
  ------------------
  |  Branch (976:9): [True: 16.8k, False: 18.8M]
  ------------------
  977|  16.8k|            ch = getch();
  978|  16.8k|            if (ch == '=') {
  ------------------
  |  Branch (978:17): [True: 14, False: 16.8k]
  ------------------
  979|     14|                return PPAtomMulAssign;
  980|  16.8k|            } else {
  981|  16.8k|                ungetch();
  982|  16.8k|                return '*';
  983|  16.8k|            }
  984|  15.6k|        case '%':
  ------------------
  |  Branch (984:9): [True: 15.6k, False: 18.8M]
  ------------------
  985|  15.6k|            ch = getch();
  986|  15.6k|            if (ch == '=') {
  ------------------
  |  Branch (986:17): [True: 2, False: 15.6k]
  ------------------
  987|      2|                return PPAtomModAssign;
  988|  15.6k|            } else {
  989|  15.6k|                ungetch();
  990|  15.6k|                return '%';
  991|  15.6k|            }
  992|  2.24k|        case '^':
  ------------------
  |  Branch (992:9): [True: 2.24k, False: 18.8M]
  ------------------
  993|  2.24k|            ch = getch();
  994|  2.24k|            if (ch == '^') {
  ------------------
  |  Branch (994:17): [True: 1.00k, False: 1.23k]
  ------------------
  995|  1.00k|                return PpAtomXor;
  996|  1.23k|            } else {
  997|  1.23k|                if (ch == '=')
  ------------------
  |  Branch (997:21): [True: 0, False: 1.23k]
  ------------------
  998|      0|                    return PpAtomXorAssign;
  999|  1.23k|                else{
 1000|  1.23k|                    ungetch();
 1001|  1.23k|                    return '^';
 1002|  1.23k|                }
 1003|  1.23k|            }
 1004|       |
 1005|  76.5k|        case '=':
  ------------------
  |  Branch (1005:9): [True: 76.5k, False: 18.7M]
  ------------------
 1006|  76.5k|            ch = getch();
 1007|  76.5k|            if (ch == '=') {
  ------------------
  |  Branch (1007:17): [True: 16.8k, False: 59.7k]
  ------------------
 1008|  16.8k|                return PpAtomEQ;
 1009|  59.7k|            } else {
 1010|  59.7k|                ungetch();
 1011|  59.7k|                return '=';
 1012|  59.7k|            }
 1013|  9.63k|        case '!':
  ------------------
  |  Branch (1013:9): [True: 9.63k, False: 18.8M]
  ------------------
 1014|  9.63k|            ch = getch();
 1015|  9.63k|            if (ch == '=') {
  ------------------
  |  Branch (1015:17): [True: 0, False: 9.63k]
  ------------------
 1016|      0|                return PpAtomNE;
 1017|  9.63k|            } else {
 1018|  9.63k|                ungetch();
 1019|  9.63k|                return '!';
 1020|  9.63k|            }
 1021|  33.4k|        case '|':
  ------------------
  |  Branch (1021:9): [True: 33.4k, False: 18.7M]
  ------------------
 1022|  33.4k|            ch = getch();
 1023|  33.4k|            if (ch == '|') {
  ------------------
  |  Branch (1023:17): [True: 3.29k, False: 30.1k]
  ------------------
 1024|  3.29k|                return PpAtomOr;
 1025|  30.1k|            } else if (ch == '=') {
  ------------------
  |  Branch (1025:24): [True: 0, False: 30.1k]
  ------------------
 1026|      0|                return PpAtomOrAssign;
 1027|  30.1k|            } else {
 1028|  30.1k|                ungetch();
 1029|  30.1k|                return '|';
 1030|  30.1k|            }
 1031|  1.09k|        case '&':
  ------------------
  |  Branch (1031:9): [True: 1.09k, False: 18.8M]
  ------------------
 1032|  1.09k|            ch = getch();
 1033|  1.09k|            if (ch == '&') {
  ------------------
  |  Branch (1033:17): [True: 9, False: 1.08k]
  ------------------
 1034|      9|                return PpAtomAnd;
 1035|  1.08k|            } else if (ch == '=') {
  ------------------
  |  Branch (1035:24): [True: 0, False: 1.08k]
  ------------------
 1036|      0|                return PpAtomAndAssign;
 1037|  1.08k|            } else {
 1038|  1.08k|                ungetch();
 1039|  1.08k|                return '&';
 1040|  1.08k|            }
 1041|   100k|        case '<':
  ------------------
  |  Branch (1041:9): [True: 100k, False: 18.7M]
  ------------------
 1042|   100k|            ch = getch();
 1043|   100k|            if (ch == '<') {
  ------------------
  |  Branch (1043:17): [True: 583, False: 99.8k]
  ------------------
 1044|    583|                ch = getch();
 1045|    583|                if (ch == '=')
  ------------------
  |  Branch (1045:21): [True: 0, False: 583]
  ------------------
 1046|      0|                    return PpAtomLeftAssign;
 1047|    583|                else {
 1048|    583|                    ungetch();
 1049|    583|                    return PpAtomLeft;
 1050|    583|                }
 1051|  99.8k|            } else if (ch == '=') {
  ------------------
  |  Branch (1051:24): [True: 0, False: 99.8k]
  ------------------
 1052|      0|                return PpAtomLE;
 1053|  99.8k|            } else {
 1054|  99.8k|                ungetch();
 1055|  99.8k|                return '<';
 1056|  99.8k|            }
 1057|  92.2k|        case '>':
  ------------------
  |  Branch (1057:9): [True: 92.2k, False: 18.7M]
  ------------------
 1058|  92.2k|            ch = getch();
 1059|  92.2k|            if (ch == '>') {
  ------------------
  |  Branch (1059:17): [True: 479, False: 91.7k]
  ------------------
 1060|    479|                ch = getch();
 1061|    479|                if (ch == '=')
  ------------------
  |  Branch (1061:21): [True: 0, False: 479]
  ------------------
 1062|      0|                    return PpAtomRightAssign;
 1063|    479|                else {
 1064|    479|                    ungetch();
 1065|    479|                    return PpAtomRight;
 1066|    479|                }
 1067|  91.7k|            } else if (ch == '=') {
  ------------------
  |  Branch (1067:24): [True: 109, False: 91.6k]
  ------------------
 1068|    109|                return PpAtomGE;
 1069|  91.6k|            } else {
 1070|  91.6k|                ungetch();
 1071|  91.6k|                return '>';
 1072|  91.6k|            }
 1073|  66.0k|        case '.':
  ------------------
  |  Branch (1073:9): [True: 66.0k, False: 18.7M]
  ------------------
 1074|  66.0k|            ch = getch();
 1075|  66.0k|            if (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (1075:17): [True: 16.4k, False: 49.5k]
  |  Branch (1075:30): [True: 13.1k, False: 3.32k]
  ------------------
 1076|  13.1k|                ungetch();
 1077|  13.1k|                return pp->lFloatConst(0, '.', ppToken);
 1078|  52.9k|            } else {
 1079|  52.9k|                ungetch();
 1080|  52.9k|                return '.';
 1081|  52.9k|            }
 1082|  1.44M|        case '/':
  ------------------
  |  Branch (1082:9): [True: 1.44M, False: 17.3M]
  ------------------
 1083|  1.44M|            ch = getch();
 1084|  1.44M|            if (ch == '/') {
  ------------------
  |  Branch (1084:17): [True: 158k, False: 1.28M]
  ------------------
 1085|   158k|                pp->inComment = true;
 1086|  2.74M|                do {
 1087|  2.74M|                    ch = getch();
 1088|  2.74M|                } while (ch != '\n' && ch != EndOfInput);
  ------------------
  |  Branch (1088:26): [True: 2.58M, False: 158k]
  |  Branch (1088:40): [True: 2.58M, False: 0]
  ------------------
 1089|   158k|                ppToken->space = true;
 1090|   158k|                pp->inComment = false;
 1091|       |
 1092|   158k|                return ch;
 1093|  1.28M|            } else if (ch == '*') {
  ------------------
  |  Branch (1093:24): [True: 7.54k, False: 1.27M]
  ------------------
 1094|  7.54k|                ch = getch();
 1095|  17.2k|                do {
 1096|  2.99M|                    while (ch != '*') {
  ------------------
  |  Branch (1096:28): [True: 2.97M, False: 17.2k]
  ------------------
 1097|  2.97M|                        if (ch == EndOfInput) {
  ------------------
  |  Branch (1097:29): [True: 10, False: 2.97M]
  ------------------
 1098|     10|                            pp->parseContext.ppError(ppToken->loc, "End of input in comment", "comment", "");
 1099|     10|                            return ch;
 1100|     10|                        }
 1101|  2.97M|                        ch = getch();
 1102|  2.97M|                    }
 1103|  17.2k|                    ch = getch();
 1104|  17.2k|                    if (ch == EndOfInput) {
  ------------------
  |  Branch (1104:25): [True: 0, False: 17.2k]
  ------------------
 1105|      0|                        pp->parseContext.ppError(ppToken->loc, "End of input in comment", "comment", "");
 1106|      0|                        return ch;
 1107|      0|                    }
 1108|  17.2k|                } while (ch != '/');
  ------------------
  |  Branch (1108:26): [True: 9.68k, False: 7.53k]
  ------------------
 1109|  7.53k|                ppToken->space = true;
 1110|       |                // loop again to get the next token...
 1111|  7.53k|                break;
 1112|  1.27M|            } else if (ch == '=') {
  ------------------
  |  Branch (1112:24): [True: 114, False: 1.27M]
  ------------------
 1113|    114|                return PPAtomDivAssign;
 1114|  1.27M|            } else {
 1115|  1.27M|                ungetch();
 1116|  1.27M|                return '/';
 1117|  1.27M|            }
 1118|      0|            break;
 1119|     57|        case '\'':
  ------------------
  |  Branch (1119:9): [True: 57, False: 18.8M]
  ------------------
 1120|     57|            return pp->characterLiteral(ppToken);
 1121|    391|        case '"':
  ------------------
  |  Branch (1121:9): [True: 391, False: 18.8M]
  ------------------
 1122|       |            // #include uses scanHeaderName() to ignore these escape sequences.
 1123|    391|            ch = getch();
 1124|  2.12k|            while (ch != '"' && ch != '\n' && ch != EndOfInput) {
  ------------------
  |  Branch (1124:20): [True: 1.74k, False: 380]
  |  Branch (1124:33): [True: 1.73k, False: 11]
  |  Branch (1124:47): [True: 1.73k, False: 0]
  ------------------
 1125|  1.73k|                if (len < MaxTokenLength) {
  ------------------
  |  Branch (1125:21): [True: 1.73k, False: 0]
  ------------------
 1126|  1.73k|                    if (ch == '\\' && !pp->disableEscapeSequences) {
  ------------------
  |  Branch (1126:25): [True: 13, False: 1.72k]
  |  Branch (1126:39): [True: 13, False: 0]
  ------------------
 1127|     13|                        int nextCh = getch();
 1128|     13|                        switch (nextCh) {
 1129|      0|                        case '\'': ch = 0x27; break;
  ------------------
  |  Branch (1129:25): [True: 0, False: 13]
  ------------------
 1130|      0|                        case '"':  ch = 0x22; break;
  ------------------
  |  Branch (1130:25): [True: 0, False: 13]
  ------------------
 1131|      0|                        case '?':  ch = 0x3f; break;
  ------------------
  |  Branch (1131:25): [True: 0, False: 13]
  ------------------
 1132|     10|                        case '\\': ch = 0x5c; break;
  ------------------
  |  Branch (1132:25): [True: 10, False: 3]
  ------------------
 1133|      0|                        case 'a':  ch = 0x07; break;
  ------------------
  |  Branch (1133:25): [True: 0, False: 13]
  ------------------
 1134|      0|                        case 'b':  ch = 0x08; break;
  ------------------
  |  Branch (1134:25): [True: 0, False: 13]
  ------------------
 1135|      0|                        case 'f':  ch = 0x0c; break;
  ------------------
  |  Branch (1135:25): [True: 0, False: 13]
  ------------------
 1136|      0|                        case 'n':  ch = 0x0a; break;
  ------------------
  |  Branch (1136:25): [True: 0, False: 13]
  ------------------
 1137|      0|                        case 'r':  ch = 0x0d; break;
  ------------------
  |  Branch (1137:25): [True: 0, False: 13]
  ------------------
 1138|      0|                        case 't':  ch = 0x09; break;
  ------------------
  |  Branch (1138:25): [True: 0, False: 13]
  ------------------
 1139|      0|                        case 'v':  ch = 0x0b; break;
  ------------------
  |  Branch (1139:25): [True: 0, False: 13]
  ------------------
 1140|      0|                        case 'x': 
  ------------------
  |  Branch (1140:25): [True: 0, False: 13]
  ------------------
 1141|       |                            // Hex value, arbitrary number of characters. Terminated by the first
 1142|       |                            // non-hex digit
 1143|      0|                            {
 1144|      0|                                int numDigits = 0;
 1145|      0|                                ch = 0;
 1146|      0|                                while (true) {
  ------------------
  |  Branch (1146:40): [True: 0, Folded]
  ------------------
 1147|      0|                                    nextCh = getch();
 1148|      0|                                    if (nextCh >= '0' && nextCh <= '9')
  ------------------
  |  Branch (1148:41): [True: 0, False: 0]
  |  Branch (1148:58): [True: 0, False: 0]
  ------------------
 1149|      0|                                        nextCh -= '0';
 1150|      0|                                    else if (nextCh >= 'A' && nextCh <= 'F')
  ------------------
  |  Branch (1150:46): [True: 0, False: 0]
  |  Branch (1150:63): [True: 0, False: 0]
  ------------------
 1151|      0|                                        nextCh -= 'A' - 10;
 1152|      0|                                    else if (nextCh >= 'a' && nextCh <= 'f')
  ------------------
  |  Branch (1152:46): [True: 0, False: 0]
  |  Branch (1152:63): [True: 0, False: 0]
  ------------------
 1153|      0|                                        nextCh -= 'a' - 10;
 1154|      0|                                    else {
 1155|      0|                                        ungetch();
 1156|      0|                                        break;
 1157|      0|                                    }
 1158|      0|                                    numDigits++;
 1159|      0|                                    ch = ch * 0x10 + nextCh;
 1160|      0|                                }
 1161|      0|                                if (numDigits == 0) {
  ------------------
  |  Branch (1161:37): [True: 0, False: 0]
  ------------------
 1162|      0|                                    pp->parseContext.ppError(ppToken->loc, "Expected hex value in escape sequence", "string", "");
 1163|      0|                                }
 1164|      0|                                break;
 1165|      0|                            }
 1166|      0|                        case '0':
  ------------------
  |  Branch (1166:25): [True: 0, False: 13]
  ------------------
 1167|      0|                        case '1':
  ------------------
  |  Branch (1167:25): [True: 0, False: 13]
  ------------------
 1168|      0|                        case '2':
  ------------------
  |  Branch (1168:25): [True: 0, False: 13]
  ------------------
 1169|      0|                        case '3':
  ------------------
  |  Branch (1169:25): [True: 0, False: 13]
  ------------------
 1170|      0|                        case '4':
  ------------------
  |  Branch (1170:25): [True: 0, False: 13]
  ------------------
 1171|      0|                        case '5':
  ------------------
  |  Branch (1171:25): [True: 0, False: 13]
  ------------------
 1172|      0|                        case '6':
  ------------------
  |  Branch (1172:25): [True: 0, False: 13]
  ------------------
 1173|      0|                        case '7':
  ------------------
  |  Branch (1173:25): [True: 0, False: 13]
  ------------------
 1174|       |                            // Octal value, up to three octal digits
 1175|      0|                            {
 1176|      0|                                int numDigits = 1;
 1177|      0|                                ch = nextCh - '0';
 1178|      0|                                while (numDigits < 3) {
  ------------------
  |  Branch (1178:40): [True: 0, False: 0]
  ------------------
 1179|      0|                                    nextCh = getch();
 1180|      0|                                    if (nextCh >= '0' && nextCh <= '7')
  ------------------
  |  Branch (1180:41): [True: 0, False: 0]
  |  Branch (1180:58): [True: 0, False: 0]
  ------------------
 1181|      0|                                        nextCh -= '0';
 1182|      0|                                    else {
 1183|      0|                                        ungetch();
 1184|      0|                                        break;
 1185|      0|                                    }
 1186|      0|                                    numDigits++;
 1187|      0|                                    ch = ch * 8 + nextCh;
 1188|      0|                                }
 1189|      0|                                break;
 1190|      0|                            }
 1191|      3|                        default:
  ------------------
  |  Branch (1191:25): [True: 3, False: 10]
  ------------------
 1192|      3|                            pp->parseContext.ppError(ppToken->loc, "Invalid escape sequence", "string", "");
 1193|      3|                            break;
 1194|     13|                        }
 1195|     13|                    }
 1196|  1.73k|                    ppToken->name[len] = (char)ch;
 1197|  1.73k|                    len++;
 1198|  1.73k|                    ch = getch();
 1199|  1.73k|                } else
 1200|      0|                    break;
 1201|  1.73k|            };
 1202|    391|            ppToken->name[len] = '\0';
 1203|    391|            if (ch != '"') {
  ------------------
  |  Branch (1203:17): [True: 11, False: 380]
  ------------------
 1204|     11|                ungetch();
 1205|     11|                pp->parseContext.ppError(ppToken->loc, "End of line in string", "string", "");
 1206|     11|            }
 1207|    391|            return PpAtomConstString;
 1208|  56.6k|        case ':':
  ------------------
  |  Branch (1208:9): [True: 56.6k, False: 18.7M]
  ------------------
 1209|  56.6k|            ch = getch();
 1210|  56.6k|            if (ch == ':')
  ------------------
  |  Branch (1210:17): [True: 1.28k, False: 55.3k]
  ------------------
 1211|  1.28k|                return PpAtomColonColon;
 1212|  55.3k|            ungetch();
 1213|  55.3k|            return ':';
 1214|  18.8M|        }
 1215|       |
 1216|  7.53k|        ch = getch();
 1217|  7.53k|    }
 1218|  18.8M|}
_ZN7glslang10TPpContext8tokenizeERNS_8TPpTokenE:
 1227|  8.28M|{
 1228|  8.28M|    int stringifyDepth = 0;
 1229|  8.28M|    TPpToken stringifiedToken; // Tokens are appended to this as they come in
 1230|  9.02M|    for (;;) {
 1231|  9.02M|        int token = scanToken(&ppToken);
 1232|       |
 1233|       |        // Handle token-pasting logic
 1234|  9.02M|        token = tokenPaste(token, ppToken);
 1235|       |
 1236|  9.02M|        if (token == EndOfInput) {
  ------------------
  |  Branch (1236:13): [True: 660, False: 9.02M]
  ------------------
 1237|    660|            missingEndifCheck();
 1238|    660|            return EndOfInput;
 1239|    660|        }
 1240|  9.02M|        if (token == '#') {
  ------------------
  |  Branch (1240:13): [True: 20.6k, False: 8.99M]
  ------------------
 1241|  20.6k|            if (previous_token == '\n') {
  ------------------
  |  Branch (1241:17): [True: 20.6k, False: 0]
  ------------------
 1242|  20.6k|                token = readCPPline(&ppToken);
 1243|  20.6k|                if (token == EndOfInput) {
  ------------------
  |  Branch (1243:21): [True: 113, False: 20.5k]
  ------------------
 1244|    113|                    missingEndifCheck();
 1245|    113|                    return EndOfInput;
 1246|    113|                }
 1247|  20.5k|                continue;
 1248|  20.6k|            } else {
 1249|      0|                parseContext.ppError(ppToken.loc, "preprocessor directive cannot be preceded by another token", "#", "");
 1250|      0|                return EndOfInput;
 1251|      0|            }
 1252|  20.6k|        }
 1253|  8.99M|        previous_token = token;
 1254|       |
 1255|  8.99M|        if (token == '\n')
  ------------------
  |  Branch (1255:13): [True: 718k, False: 8.28M]
  ------------------
 1256|   718k|            continue;
 1257|       |
 1258|  8.28M|        if (token == tStringifyLevelInput::PUSH) {
  ------------------
  |  Branch (1258:13): [True: 0, False: 8.28M]
  ------------------
 1259|      0|            stringifyDepth++;
 1260|      0|            continue;
 1261|      0|        }
 1262|  8.28M|        if (token == tStringifyLevelInput::POP) {
  ------------------
  |  Branch (1262:13): [True: 0, False: 8.28M]
  ------------------
 1263|      0|            assert(stringifyDepth > 0);
 1264|      0|            stringifyDepth--;
 1265|      0|            if (stringifyDepth == 0) {
  ------------------
  |  Branch (1265:17): [True: 0, False: 0]
  ------------------
 1266|      0|                snprintf(ppToken.name, sizeof(ppToken.name), "%s", stringifiedToken.name);
 1267|      0|                return PpAtomConstString;
 1268|      0|            }
 1269|      0|            continue;
 1270|      0|        }
 1271|       |
 1272|       |        // expand macros
 1273|  8.28M|        if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (1273:13): [True: 4.35M, False: 3.92M]
  ------------------
 1274|  4.35M|            switch (MacroExpand(&ppToken, false, true)) {
  ------------------
  |  Branch (1274:21): [True: 4.35M, False: 0]
  ------------------
 1275|  4.35M|            case MacroExpandNotStarted:
  ------------------
  |  Branch (1275:13): [True: 4.35M, False: 53]
  ------------------
 1276|  4.35M|                break;
 1277|      1|            case MacroExpandError:
  ------------------
  |  Branch (1277:13): [True: 1, False: 4.35M]
  ------------------
 1278|      1|                return EndOfInput;
 1279|     52|            case MacroExpandStarted:
  ------------------
  |  Branch (1279:13): [True: 52, False: 4.35M]
  ------------------
 1280|     52|            case MacroExpandUndef:
  ------------------
  |  Branch (1280:13): [True: 0, False: 4.35M]
  ------------------
 1281|     52|                continue;
 1282|  4.35M|            }
 1283|  4.35M|        }
 1284|       |
 1285|  8.28M|        bool needStringSupport = ifdepth == 0 && (token == PpAtomConstString || stringifyDepth > 0);
  ------------------
  |  Branch (1285:34): [True: 8.28M, False: 7]
  |  Branch (1285:51): [True: 0, False: 8.28M]
  |  Branch (1285:81): [True: 0, False: 8.28M]
  ------------------
 1286|  8.28M|        if (needStringSupport && parseContext.intermediate.getSource() != EShSourceHlsl) {
  ------------------
  |  Branch (1286:13): [True: 0, False: 8.28M]
  |  Branch (1286:34): [True: 0, False: 0]
  ------------------
 1287|       |            // HLSL allows string literals.
 1288|       |            // GLSL allows string literals with GL_EXT_debug_printf.
 1289|      0|            const char* const string_literal_EXTs[] = { E_GL_EXT_debug_printf, E_GL_EXT_spirv_intrinsics, E_GL_EXT_abort };
 1290|      0|            parseContext.requireExtensions(ppToken.loc, 3, string_literal_EXTs, "string literal");
 1291|      0|            if (!parseContext.extensionTurnedOn(E_GL_EXT_debug_printf) &&
  ------------------
  |  Branch (1291:17): [True: 0, False: 0]
  ------------------
 1292|      0|                !parseContext.extensionTurnedOn(E_GL_EXT_spirv_intrinsics)&&
  ------------------
  |  Branch (1292:17): [True: 0, False: 0]
  ------------------
 1293|      0|                !parseContext.extensionTurnedOn(E_GL_EXT_abort)) {
  ------------------
  |  Branch (1293:17): [True: 0, False: 0]
  ------------------
 1294|      0|                continue;
 1295|      0|            }
 1296|      0|        }
 1297|       |
 1298|  8.28M|        switch (token) {
 1299|      0|        case PpAtomConstString:
  ------------------
  |  Branch (1299:9): [True: 0, False: 8.28M]
  ------------------
 1300|      0|            break;
 1301|  4.35M|        case PpAtomIdentifier:
  ------------------
  |  Branch (1301:9): [True: 4.35M, False: 3.92M]
  ------------------
 1302|  4.36M|        case PpAtomConstInt:
  ------------------
  |  Branch (1302:9): [True: 12.1k, False: 8.26M]
  ------------------
 1303|  4.36M|        case PpAtomConstUint:
  ------------------
  |  Branch (1303:9): [True: 1.78k, False: 8.27M]
  ------------------
 1304|  4.36M|        case PpAtomConstFloat:
  ------------------
  |  Branch (1304:9): [True: 0, False: 8.28M]
  ------------------
 1305|  4.36M|        case PpAtomConstInt64:
  ------------------
  |  Branch (1305:9): [True: 0, False: 8.28M]
  ------------------
 1306|  4.36M|        case PpAtomConstUint64:
  ------------------
  |  Branch (1306:9): [True: 0, False: 8.28M]
  ------------------
 1307|  4.36M|        case PpAtomConstInt16:
  ------------------
  |  Branch (1307:9): [True: 0, False: 8.28M]
  ------------------
 1308|  4.36M|        case PpAtomConstUint16:
  ------------------
  |  Branch (1308:9): [True: 0, False: 8.28M]
  ------------------
 1309|  4.36M|        case PpAtomConstDouble:
  ------------------
  |  Branch (1309:9): [True: 0, False: 8.28M]
  ------------------
 1310|  4.36M|        case PpAtomConstFloat16:
  ------------------
  |  Branch (1310:9): [True: 0, False: 8.28M]
  ------------------
 1311|  4.36M|            if (ppToken.name[0] == '\0')
  ------------------
  |  Branch (1311:17): [True: 0, False: 4.36M]
  ------------------
 1312|      0|                continue;
 1313|  4.36M|            break;
 1314|  4.36M|        case '\'':
  ------------------
  |  Branch (1314:9): [True: 0, False: 8.28M]
  ------------------
 1315|      0|            parseContext.ppError(ppToken.loc, "character literals not supported", "\'", "");
 1316|      0|            continue;
 1317|  3.91M|        default:
  ------------------
  |  Branch (1317:9): [True: 3.91M, False: 4.36M]
  ------------------
 1318|  3.91M|            snprintf(ppToken.name, sizeof(ppToken.name), "%s", atomStrings.getString(token));
 1319|  3.91M|            break;
 1320|  8.28M|        }
 1321|  8.28M|        if (stringifyDepth > 0) {
  ------------------
  |  Branch (1321:13): [True: 0, False: 8.28M]
  ------------------
 1322|      0|            size_t existingLen = strlen(stringifiedToken.name);
 1323|      0|            char* dst = stringifiedToken.name + existingLen;
 1324|       |            // stringify_depth would determine how many layers of \\\"\\\" are needed, if we wanted to.
 1325|      0|            if (ppToken.space) {
  ------------------
  |  Branch (1325:17): [True: 0, False: 0]
  ------------------
 1326|      0|                snprintf(dst, sizeof(stringifiedToken.name) - existingLen - 1, " %s", ppToken.name);
 1327|      0|            } else {
 1328|      0|                snprintf(dst, sizeof(stringifiedToken.name) - existingLen, "%s", ppToken.name);
 1329|      0|            }
 1330|      0|            continue;
 1331|      0|        }
 1332|       |
 1333|  8.28M|        return token;
 1334|  8.28M|    }
 1335|  8.28M|}
_ZN7glslang10TPpContext10tokenPasteEiRNS_8TPpTokenE:
 1343|  9.02M|{
 1344|       |    // starting with ## is illegal, skip to next token
 1345|  9.02M|    if (token == PpAtomPaste) {
  ------------------
  |  Branch (1345:9): [True: 0, False: 9.02M]
  ------------------
 1346|      0|        parseContext.ppError(ppToken.loc, "unexpected location", "##", "");
 1347|      0|        return scanToken(&ppToken);
 1348|      0|    }
 1349|       |
 1350|  9.02M|    int resultToken = token; // "foo" pasted with "35" is an identifier, not a number
 1351|       |
 1352|       |    // ## can be chained, process all in the chain at once
 1353|  9.02M|    while (peekPasting()) {
  ------------------
  |  Branch (1353:12): [True: 0, False: 9.02M]
  ------------------
 1354|      0|        TPpToken pastedPpToken;
 1355|       |
 1356|       |        // next token has to be ##
 1357|      0|        token = scanToken(&pastedPpToken);
 1358|      0|        assert(token == PpAtomPaste);
 1359|       |
 1360|       |        // This covers end of macro expansion
 1361|      0|        if (endOfReplacementList()) {
  ------------------
  |  Branch (1361:13): [True: 0, False: 0]
  ------------------
 1362|       |            // this should be unreachable, incomplete #/## sequences are caught at macro parsing time.
 1363|      0|            parseContext.ppError(ppToken.loc, "unexpected location; end of replacement list", "##", "");
 1364|      0|            break;
 1365|      0|        }
 1366|       |
 1367|       |        // Get the token(s) after the ##.
 1368|       |        // Because of "space" semantics, and prior tokenization, what
 1369|       |        // appeared a single token, e.g. "3A", might have been tokenized
 1370|       |        // into two tokens "3" and "A", but the "A" will have 'space' set to
 1371|       |        // false.  Accumulate all of these to recreate the original lexical
 1372|       |        // appearing token.
 1373|      0|        do {
 1374|      0|            token = scanToken(&pastedPpToken);
 1375|       |
 1376|       |            // This covers end of argument expansion
 1377|      0|            if (token == tMarkerInput::marker) {
  ------------------
  |  Branch (1377:17): [True: 0, False: 0]
  ------------------
 1378|      0|                parseContext.ppError(ppToken.loc, "unexpected location; end of argument", "##", "");
 1379|      0|                return resultToken;
 1380|      0|            }
 1381|       |
 1382|       |            // get the token text
 1383|      0|            switch (resultToken) {
 1384|      0|            case PpAtomIdentifier:
  ------------------
  |  Branch (1384:13): [True: 0, False: 0]
  ------------------
 1385|       |                // already have the correct text in token.names
 1386|      0|                break;
 1387|      0|            case '=':
  ------------------
  |  Branch (1387:13): [True: 0, False: 0]
  ------------------
 1388|      0|            case '!':
  ------------------
  |  Branch (1388:13): [True: 0, False: 0]
  ------------------
 1389|      0|            case '-':
  ------------------
  |  Branch (1389:13): [True: 0, False: 0]
  ------------------
 1390|      0|            case '~':
  ------------------
  |  Branch (1390:13): [True: 0, False: 0]
  ------------------
 1391|      0|            case '+':
  ------------------
  |  Branch (1391:13): [True: 0, False: 0]
  ------------------
 1392|      0|            case '*':
  ------------------
  |  Branch (1392:13): [True: 0, False: 0]
  ------------------
 1393|      0|            case '/':
  ------------------
  |  Branch (1393:13): [True: 0, False: 0]
  ------------------
 1394|      0|            case '%':
  ------------------
  |  Branch (1394:13): [True: 0, False: 0]
  ------------------
 1395|      0|            case '<':
  ------------------
  |  Branch (1395:13): [True: 0, False: 0]
  ------------------
 1396|      0|            case '>':
  ------------------
  |  Branch (1396:13): [True: 0, False: 0]
  ------------------
 1397|      0|            case '|':
  ------------------
  |  Branch (1397:13): [True: 0, False: 0]
  ------------------
 1398|      0|            case '^':
  ------------------
  |  Branch (1398:13): [True: 0, False: 0]
  ------------------
 1399|      0|            case '&':
  ------------------
  |  Branch (1399:13): [True: 0, False: 0]
  ------------------
 1400|      0|            case PpAtomRight:
  ------------------
  |  Branch (1400:13): [True: 0, False: 0]
  ------------------
 1401|      0|            case PpAtomLeft:
  ------------------
  |  Branch (1401:13): [True: 0, False: 0]
  ------------------
 1402|      0|            case PpAtomAnd:
  ------------------
  |  Branch (1402:13): [True: 0, False: 0]
  ------------------
 1403|      0|            case PpAtomOr:
  ------------------
  |  Branch (1403:13): [True: 0, False: 0]
  ------------------
 1404|      0|            case PpAtomXor:
  ------------------
  |  Branch (1404:13): [True: 0, False: 0]
  ------------------
 1405|      0|                snprintf(ppToken.name, sizeof(ppToken.name), "%s", atomStrings.getString(resultToken));
 1406|      0|                snprintf(pastedPpToken.name, sizeof(pastedPpToken.name), "%s", atomStrings.getString(token));
 1407|      0|                break;
 1408|      0|            default:
  ------------------
  |  Branch (1408:13): [True: 0, False: 0]
  ------------------
 1409|      0|                parseContext.ppError(ppToken.loc, "not supported for these tokens", "##", "");
 1410|      0|                return resultToken;
 1411|      0|            }
 1412|       |
 1413|       |            // combine the tokens
 1414|      0|            if (strlen(ppToken.name) + strlen(pastedPpToken.name) > MaxTokenLength) {
  ------------------
  |  Branch (1414:17): [True: 0, False: 0]
  ------------------
 1415|      0|                parseContext.ppError(ppToken.loc, "combined tokens are too long", "##", "");
 1416|      0|                return resultToken;
 1417|      0|            }
 1418|      0|            snprintf(&ppToken.name[0] + strlen(ppToken.name), sizeof(ppToken.name) - strlen(ppToken.name),
 1419|      0|                "%s", pastedPpToken.name);
 1420|       |
 1421|       |            // correct the kind of token we are making, if needed (identifiers stay identifiers)
 1422|      0|            if (resultToken != PpAtomIdentifier) {
  ------------------
  |  Branch (1422:17): [True: 0, False: 0]
  ------------------
 1423|      0|                int newToken = atomStrings.getAtom(ppToken.name);
 1424|      0|                if (newToken > 0)
  ------------------
  |  Branch (1424:21): [True: 0, False: 0]
  ------------------
 1425|      0|                    resultToken = newToken;
 1426|      0|                else
 1427|      0|                    parseContext.ppError(ppToken.loc, "combined token is invalid", "##", "");
 1428|      0|            }
 1429|      0|        } while (peekContinuedPasting(resultToken));
  ------------------
  |  Branch (1429:18): [True: 0, False: 0]
  ------------------
 1430|      0|    }
 1431|       |
 1432|  9.02M|    return resultToken;
 1433|  9.02M|}
_ZN7glslang10TPpContext17missingEndifCheckEv:
 1437|    773|{
 1438|    773|    if (ifdepth > 0)
  ------------------
  |  Branch (1438:9): [True: 114, False: 659]
  ------------------
 1439|    114|        parseContext.ppError(parseContext.getCurrentLoc(), "missing #endif", "", "");
 1440|    773|}
PpScanner.cpp:_ZZN7glslang10TPpContext11lFloatConstEiiPNS_8TPpTokenEENK3$_0clEi:
  114|  84.6k|    const auto saveName = [&](int ch) {
  115|  84.6k|        if (len <= MaxTokenLength)
  ------------------
  |  Branch (115:13): [True: 84.6k, False: 0]
  ------------------
  116|  84.6k|            ppToken->name[len++] = static_cast<char>(ch);
  117|  84.6k|    };
PpScanner.cpp:_ZZN7glslang10TPpContext12tStringInput4scanEPNS_8TPpTokenEENK3$_0clEi:
  465|   308k|    const auto floatingPointChar = [&](int ch) { return ch == '.' || ch == 'e' || ch == 'E' ||
  ------------------
  |  Branch (465:57): [True: 320, False: 308k]
  |  Branch (465:70): [True: 5.86k, False: 302k]
  |  Branch (465:83): [True: 2.26k, False: 299k]
  ------------------
  466|   299k|                                                                     ch == 'f' || ch == 'F' ||
  ------------------
  |  Branch (466:70): [True: 3.98k, False: 295k]
  |  Branch (466:83): [True: 1.22k, False: 294k]
  ------------------
  467|   294k|                                                                     ch == 'h' || ch == 'H'; };
  ------------------
  |  Branch (467:70): [True: 3.03k, False: 291k]
  |  Branch (467:83): [True: 959, False: 290k]
  ------------------

_ZN7glslang10TPpContext11TokenStream8putTokenEiPNS_8TPpTokenE:
  102|  80.0k|{
  103|  80.0k|    TokenStream::Token streamToken(atom, *ppToken);
  104|  80.0k|    stream.push_back(streamToken);
  105|  80.0k|}
_ZN7glslang10TPpContext11TokenStream8getTokenERNS_17TParseContextBaseEPNS_8TPpTokenE:
  109|  34.4k|{
  110|  34.4k|    if (atEnd())
  ------------------
  |  Branch (110:9): [True: 43, False: 34.4k]
  ------------------
  111|     43|        return EndOfInput;
  112|       |
  113|  34.4k|    int atom = stream[currentPos++].get(*ppToken);
  114|  34.4k|    ppToken->loc = parseContext.getCurrentLoc();
  115|       |
  116|  34.4k|    return atom;
  117|  34.4k|}
_ZN7glslang10TPpContext11TokenStream20peekTokenizedPastingEb:
  125|  34.4k|{
  126|       |    // 1. preceding ##?
  127|       |
  128|  34.4k|    size_t savePos = currentPos;
  129|       |    // skip white space
  130|  34.4k|    while (peekToken(' '))
  ------------------
  |  Branch (130:12): [True: 0, False: 34.4k]
  ------------------
  131|      0|        ++currentPos;
  132|  34.4k|    if (peekToken(PpAtomPaste)) {
  ------------------
  |  Branch (132:9): [True: 0, False: 34.4k]
  ------------------
  133|      0|        currentPos = savePos;
  134|      0|        return true;
  135|      0|    }
  136|       |
  137|       |    // 2. last token and we've been told after this there will be a ##
  138|       |
  139|  34.4k|    if (! lastTokenPastes) {
  ------------------
  |  Branch (139:9): [True: 34.4k, False: 0]
  ------------------
  140|  34.4k|        currentPos = savePos;
  141|  34.4k|        return false;
  142|  34.4k|    }
  143|       |    // Getting here means the last token will be pasted, after this
  144|       |
  145|       |    // Are we at the last non-whitespace token?
  146|      0|    savePos = currentPos;
  147|      0|    bool moreTokens = false;
  148|      0|    do {
  149|      0|        if (atEnd())
  ------------------
  |  Branch (149:13): [True: 0, False: 0]
  ------------------
  150|      0|            break;
  151|      0|        if (!peekToken(' ')) {
  ------------------
  |  Branch (151:13): [True: 0, False: 0]
  ------------------
  152|      0|            moreTokens = true;
  153|      0|            break;
  154|      0|        }
  155|      0|        ++currentPos;
  156|      0|    } while (true);
  ------------------
  |  Branch (156:14): [True: 0, Folded]
  ------------------
  157|      0|    currentPos = savePos;
  158|       |
  159|      0|    return !moreTokens;
  160|  34.4k|}

Initialize.cpp:_ZN4spanIKN7glslang12_GLOBAL__N_110VersioningEEC2Ev:
   50|     90|    span() = default;
Initialize.cpp:_ZNK4spanIKN7glslang12_GLOBAL__N_115BuiltInFunctionEE5beginEv:
   58|    241|    const_iterator begin() const { return data_; }
Initialize.cpp:_ZNK4spanIKN7glslang12_GLOBAL__N_115BuiltInFunctionEE3endEv:
   61|    241|    const_iterator end() const { return data_ + count_; }
Initialize.cpp:_ZNK4spanIKN7glslang12_GLOBAL__N_110VersioningEE5emptyEv:
   73|  8.85k|    bool empty() const { return count_ == 0; }
Initialize.cpp:_ZNK4spanIKN7glslang12_GLOBAL__N_110VersioningEE5beginEv:
   58|  3.63k|    const_iterator begin() const { return data_; }
Initialize.cpp:_ZNK4spanIKN7glslang12_GLOBAL__N_110VersioningEE3endEv:
   61|  3.63k|    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|    107|    span(Container &c) : data_(c.data()), count_(c.size()) {}
Initialize.cpp:_ZN4spanIKN7glslang12_GLOBAL__N_115BuiltInFunctionEEC2IKNSt3__15arrayIS2_Lm3EEEEERT_:
   55|    134|    span(Container &c) : data_(c.data()), count_(c.size()) {}

_ZN7glslang7TShader5parseEPK16TBuiltInResourceib11EShMessages:
  685|    217|    {
  686|    217|        return parse(builtInResources, defaultVersion, ENoProfile, false, forwardCompatible, messages);
  687|    217|    }
_ZN7glslang7TShader5parseEPK16TBuiltInResourcei8EProfilebb11EShMessages:
  678|    217|    {
  679|    217|        TShader::ForbidIncluder includer;
  680|    217|        return parse(res, defaultVersion, defaultProfile, forceDefaultVersionAndProfile, forwardCompatible, messages, includer);
  681|    217|    }
_ZN7glslang7TShader8IncluderD2Ev:
  662|    217|        virtual ~Includer() {}

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

