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

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

_ZN7glslang11HlslGrammar5parseEv:
   65|     56|{
   66|     56|    advanceToken();
   67|     56|    return acceptCompilationUnit();
   68|     56|}
_ZN7glslang11HlslGrammar8expectedEPKc:
   71|     53|{
   72|     53|    parseContext.error(token.loc, "Expected", syntax, "");
   73|     53|}
_ZN7glslang11HlslGrammar16acceptIdentifierERNS_9HlslTokenE:
   87|   476k|{
   88|       |    // IDENTIFIER
   89|   476k|    if (peekTokenClass(EHTokIdentifier)) {
  ------------------
  |  Branch (89:9): [True: 112k, False: 364k]
  ------------------
   90|   112k|        idToken = token;
   91|   112k|        advanceToken();
   92|   112k|        return true;
   93|   112k|    }
   94|       |
   95|       |    // THIS
   96|       |    // -> maps to the IDENTIFIER spelled with the internal special name for 'this'
   97|   364k|    if (peekTokenClass(EHTokThis)) {
  ------------------
  |  Branch (97:9): [True: 0, False: 364k]
  ------------------
   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|   364k|    const char* idString = getTypeString(peek());
  113|   364k|    if (idString == nullptr)
  ------------------
  |  Branch (113:9): [True: 364k, False: 0]
  ------------------
  114|   364k|        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|   364k|}
_ZN7glslang11HlslGrammar21acceptCompilationUnitEv:
  130|     56|{
  131|     56|    if (! acceptDeclarationList(unitNode))
  ------------------
  |  Branch (131:9): [True: 2, False: 54]
  ------------------
  132|      2|        return false;
  133|       |
  134|     54|    if (! peekTokenClass(EHTokNone))
  ------------------
  |  Branch (134:9): [True: 0, False: 54]
  ------------------
  135|      0|        return false;
  136|       |
  137|       |    // set root of AST
  138|     54|    if (unitNode && !unitNode->getAsAggregate())
  ------------------
  |  Branch (138:9): [True: 0, False: 54]
  |  Branch (138:21): [True: 0, False: 0]
  ------------------
  139|      0|        unitNode = intermediate.growAggregate(nullptr, unitNode);
  140|     54|    intermediate.setTreeRoot(unitNode);
  141|       |
  142|     54|    return true;
  143|     54|}
_ZN7glslang11HlslGrammar21acceptDeclarationListERP11TIntermNode:
  156|     56|{
  157|   112k|    do {
  158|       |        // HLSL allows extra semicolons between global declarations
  159|   112k|        do { } while (acceptTokenClass(EHTokSemicolon));
  ------------------
  |  Branch (159:23): [True: 4, False: 112k]
  ------------------
  160|       |
  161|       |        // EOF or RIGHT_BRACE
  162|   112k|        if (peekTokenClass(EHTokNone) || peekTokenClass(EHTokRightBrace))
  ------------------
  |  Branch (162:13): [True: 54, False: 112k]
  |  Branch (162:42): [True: 0, False: 112k]
  ------------------
  163|     54|            return true;
  164|       |
  165|       |        // declaration
  166|   112k|        if (! acceptDeclaration(nodeList)) {
  ------------------
  |  Branch (166:13): [True: 2, False: 112k]
  ------------------
  167|      2|            expected("declaration");
  168|      2|            return false;
  169|      2|        }
  170|   112k|    } while (true);
  ------------------
  |  Branch (170:14): [True: 112k, Folded]
  ------------------
  171|       |
  172|      0|    return true;
  173|     56|}
_ZN7glslang11HlslGrammar18acceptSamplerStateEv:
  193|      1|{
  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|      1|    if (! acceptTokenClass(EHTokLeftBrace))
  ------------------
  |  Branch (197:9): [True: 1, False: 0]
  ------------------
  198|      1|        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|   112k|{
  335|       |    // NAMESPACE IDENTIFIER LEFT_BRACE declaration_list RIGHT_BRACE
  336|   112k|    if (acceptTokenClass(EHTokNamespace)) {
  ------------------
  |  Branch (336:9): [True: 0, False: 112k]
  ------------------
  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|   112k|    bool declarator_list = false; // true when processing comma separation
  360|       |
  361|       |    // attributes
  362|   112k|    TFunctionDeclarator declarator;
  363|   112k|    acceptAttributes(declarator.attributes);
  364|       |
  365|       |    // typedef
  366|   112k|    bool typedefDecl = acceptTokenClass(EHTokTypedef);
  367|       |
  368|   112k|    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|   112k|    bool forbidDeclarators = (peekTokenClass(EHTokCBuffer) || peekTokenClass(EHTokTBuffer));
  ------------------
  |  Branch (379:31): [True: 0, False: 112k]
  |  Branch (379:63): [True: 0, False: 112k]
  ------------------
  380|       |    // fully_specified_type
  381|   112k|    if (! acceptFullySpecifiedType(declaredType, nodeList, declarator.attributes, forbidDeclarators))
  ------------------
  |  Branch (381:9): [True: 1, False: 112k]
  ------------------
  382|      1|        return false;
  383|       |
  384|       |    // cbuffer and tbuffer end with the closing '}'.
  385|       |    // No semicolon is included.
  386|   112k|    if (forbidDeclarators)
  ------------------
  |  Branch (386:9): [True: 0, False: 112k]
  ------------------
  387|      0|        return true;
  388|       |
  389|       |    // Check if there are invalid in/out qualifiers
  390|   112k|    switch (declaredType.getQualifier().storage) {
  391|      0|    case EvqIn:
  ------------------
  |  Branch (391:5): [True: 0, False: 112k]
  ------------------
  392|      0|    case EvqOut:
  ------------------
  |  Branch (392:5): [True: 0, False: 112k]
  ------------------
  393|      0|    case EvqInOut:
  ------------------
  |  Branch (393:5): [True: 0, False: 112k]
  ------------------
  394|      0|        parseContext.error(token.loc, "in/out qualifiers are only valid on parameters", token.getCStrOrEmpty(), "");
  395|      0|        break;
  396|   112k|    default:
  ------------------
  |  Branch (396:5): [True: 112k, False: 0]
  ------------------
  397|   112k|        break;
  398|   112k|    }
  399|       |
  400|       |    // declarator_list
  401|       |    //    : declarator
  402|       |    //         : identifier
  403|   112k|    HlslToken idToken;
  404|   112k|    TIntermAggregate* initializers = nullptr;
  405|   224k|    while (acceptIdentifier(idToken)) {
  ------------------
  |  Branch (405:12): [True: 112k, False: 112k]
  ------------------
  406|   112k|        TString *fullName = idToken.string;
  407|   112k|        if (parseContext.symbolTable.atGlobalLevel())
  ------------------
  |  Branch (407:13): [True: 112k, False: 0]
  ------------------
  408|   112k|            parseContext.getFullNamespaceName(fullName);
  409|   112k|        if (peekTokenClass(EHTokLeftParen)) {
  ------------------
  |  Branch (409:13): [True: 112k, False: 1]
  ------------------
  410|       |            // looks like function parameters
  411|       |
  412|       |            // merge in the attributes into the return type
  413|   112k|            parseContext.transferTypeAttributes(token.loc, declarator.attributes, declaredType, true);
  414|       |
  415|       |            // Potentially rename shader entry point function.  No-op most of the time.
  416|   112k|            parseContext.renameShaderFunction(fullName);
  417|       |
  418|       |            // function_parameters
  419|   112k|            declarator.function = new TFunction(fullName, declaredType);
  420|   112k|            if (!acceptFunctionParameters(*declarator.function)) {
  ------------------
  |  Branch (420:17): [True: 0, False: 112k]
  ------------------
  421|      0|                expected("function parameter list");
  422|      0|                return false;
  423|      0|            }
  424|       |
  425|       |            // post_decls
  426|   112k|            acceptPostDecls(declarator.function->getWritableType().getQualifier());
  427|       |
  428|       |            // compound_statement (function body definition) or just a prototype?
  429|   112k|            declarator.loc = token.loc;
  430|   112k|            if (peekTokenClass(EHTokLeftBrace)) {
  ------------------
  |  Branch (430:17): [True: 0, False: 112k]
  ------------------
  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|   112k|            } else {
  437|   112k|                if (typedefDecl)
  ------------------
  |  Branch (437:21): [True: 0, False: 112k]
  ------------------
  438|      0|                    parseContext.error(idToken.loc, "function typedefs not implemented", "{", "");
  439|   112k|                parseContext.handleFunctionDeclarator(declarator.loc, *declarator.function, true);
  440|   112k|            }
  441|   112k|        } else {
  442|       |            // A variable declaration.
  443|       |
  444|       |            // merge in the attributes, the first time around, into the shared type
  445|      1|            if (! declarator_list)
  ------------------
  |  Branch (445:17): [True: 1, False: 0]
  ------------------
  446|      1|                parseContext.transferTypeAttributes(token.loc, declarator.attributes, declaredType);
  447|       |
  448|       |            // Fix the storage qualifier if it's a global.
  449|      1|            if (declaredType.getQualifier().storage == EvqTemporary && parseContext.symbolTable.atGlobalLevel())
  ------------------
  |  Branch (449:17): [True: 1, False: 0]
  |  Branch (449:72): [True: 1, False: 0]
  ------------------
  450|      1|                declaredType.getQualifier().storage = EvqUniform;
  451|       |
  452|       |            // recognize array_specifier
  453|      1|            TArraySizes* arraySizes = nullptr;
  454|      1|            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|      1|            TType variableType;
  459|      1|            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|      1|            variableType.transferArraySizes(arraySizes);
  465|      1|            variableType.copyArrayInnerSizes(declaredType.getArraySizes());
  466|       |
  467|       |            // samplers accept immediate sampler state
  468|      1|            if (variableType.getBasicType() == EbtSampler) {
  ------------------
  |  Branch (468:17): [True: 1, False: 0]
  ------------------
  469|      1|                if (! acceptSamplerState())
  ------------------
  |  Branch (469:21): [True: 0, False: 1]
  ------------------
  470|      0|                    return false;
  471|      1|            }
  472|       |
  473|       |            // post_decls
  474|      1|            acceptPostDecls(variableType.getQualifier());
  475|       |
  476|       |            // EQUAL assignment_expression
  477|      1|            TIntermTyped* expressionNode = nullptr;
  478|      1|            if (acceptTokenClass(EHTokAssign)) {
  ------------------
  |  Branch (478:17): [True: 0, False: 1]
  ------------------
  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|      1|            if (!(variableType.getBasicType() == EbtString && !variableType.getQualifier().isConstant()) &&
  ------------------
  |  Branch (489:19): [True: 0, False: 1]
  |  Branch (489:63): [True: 0, False: 0]
  ------------------
  490|      1|                parseContext.getAnnotationNestingLevel() == 0) {
  ------------------
  |  Branch (490:17): [True: 1, False: 0]
  ------------------
  491|      1|                if (typedefDecl)
  ------------------
  |  Branch (491:21): [True: 0, False: 1]
  ------------------
  492|      0|                    parseContext.declareTypedef(idToken.loc, *fullName, variableType);
  493|      1|                else if (variableType.getBasicType() == EbtBlock) {
  ------------------
  |  Branch (493:26): [True: 0, False: 1]
  ------------------
  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|      1|                } else {
  499|      1|                    if (variableType.getQualifier().storage == EvqUniform && ! variableType.containsOpaque()) {
  ------------------
  |  Branch (499:25): [True: 1, False: 0]
  |  Branch (499:78): [True: 0, False: 1]
  ------------------
  500|       |                        // this isn't really an individual variable, but a member of the $Global buffer
  501|      0|                        parseContext.growGlobalUniformBlock(idToken.loc, variableType, *fullName);
  502|      1|                    } 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|      1|                        initializers = intermediate.growAggregate(initializers, 
  507|      1|                            parseContext.declareVariable(idToken.loc, *fullName, variableType, expressionNode),
  508|      1|                            idToken.loc);
  509|      1|                    }
  510|      1|                }
  511|      1|            }
  512|      1|        }
  513|       |
  514|       |        // COMMA
  515|   112k|        if (acceptTokenClass(EHTokComma))
  ------------------
  |  Branch (515:13): [True: 0, False: 112k]
  ------------------
  516|      0|            declarator_list = true;
  517|   112k|    }
  518|       |
  519|       |    // The top-level initializer node is a sequence.
  520|   112k|    if (initializers != nullptr)
  ------------------
  |  Branch (520:9): [True: 0, False: 112k]
  ------------------
  521|      0|        initializers->setOperator(EOpSequence);
  522|       |
  523|       |    // if we have a locally scoped static, it needs a globally scoped initializer
  524|   112k|    if (declaredType.getQualifier().storage == EvqGlobal && !parseContext.symbolTable.atGlobalLevel()) {
  ------------------
  |  Branch (524:9): [True: 0, False: 112k]
  |  Branch (524:61): [True: 0, False: 0]
  ------------------
  525|      0|        unitNode = intermediate.growAggregate(unitNode, initializers, idToken.loc);
  526|   112k|    } else {
  527|       |        // Add the initializers' aggregate to the nodeList we were handed.
  528|   112k|        if (nodeList)
  ------------------
  |  Branch (528:13): [True: 0, False: 112k]
  ------------------
  529|      0|            nodeList = intermediate.growAggregate(nodeList, initializers);
  530|   112k|        else
  531|   112k|            nodeList = initializers;
  532|   112k|    }
  533|       |
  534|       |    // SEMICOLON
  535|   112k|    if (! acceptTokenClass(EHTokSemicolon)) {
  ------------------
  |  Branch (535:9): [True: 1, False: 112k]
  ------------------
  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|      1|        if (peek() == EHTokAssign || peek() == EHTokLeftBracket || peek() == EHTokDot || peek() == EHTokComma)
  ------------------
  |  Branch (540:13): [True: 0, False: 1]
  |  Branch (540:38): [True: 0, False: 1]
  |  Branch (540:68): [True: 0, False: 1]
  |  Branch (540:90): [True: 0, False: 1]
  ------------------
  541|      0|            recedeToken();
  542|      1|        else
  543|      1|            expected(";");
  544|      1|        return false;
  545|      1|    }
  546|       |
  547|   112k|    return true;
  548|   112k|}
_ZN7glslang11HlslGrammar24acceptFullySpecifiedTypeERNS_5TTypeERKNS_5TListINS_14TAttributeArgsEEE:
  603|   251k|{
  604|   251k|    TIntermNode* nodeList = nullptr;
  605|   251k|    return acceptFullySpecifiedType(type, nodeList, attributes);
  606|   251k|}
_ZN7glslang11HlslGrammar24acceptFullySpecifiedTypeERNS_5TTypeERP11TIntermNodeRKNS_5TListINS_14TAttributeArgsEEEb:
  608|   363k|{
  609|       |    // type_qualifier
  610|   363k|    TQualifier qualifier;
  611|   363k|    qualifier.clear();
  612|   363k|    if (! acceptPreQualifier(qualifier))
  ------------------
  |  Branch (612:9): [True: 0, False: 363k]
  ------------------
  613|      0|        return false;
  614|   363k|    TSourceLoc loc = token.loc;
  615|       |
  616|       |    // type_specifier
  617|   363k|    if (! acceptType(type, nodeList)) {
  ------------------
  |  Branch (617:9): [True: 1, False: 363k]
  ------------------
  618|       |        // If this is not a type, we may have inadvertently gone down a wrong path
  619|       |        // by parsing "sample", which can be treated like either an identifier or a
  620|       |        // qualifier.  Back it out, if we did.
  621|      1|        if (qualifier.sample)
  ------------------
  |  Branch (621:13): [True: 0, False: 1]
  ------------------
  622|      0|            recedeToken();
  623|       |
  624|      1|        return false;
  625|      1|    }
  626|       |
  627|       |    // type_qualifier
  628|   363k|    if (! acceptPostQualifier(qualifier))
  ------------------
  |  Branch (628:9): [True: 0, False: 363k]
  ------------------
  629|      0|       return false;
  630|       |
  631|   363k|    if (type.getBasicType() == EbtBlock) {
  ------------------
  |  Branch (631:9): [True: 0, False: 363k]
  ------------------
  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|   363k|    } else {
  644|       |        // Some qualifiers are set when parsing the type.  Merge those with
  645|       |        // whatever comes from acceptPreQualifier and acceptPostQualifier.
  646|   363k|        assert(qualifier.layoutFormat == ElfNone);
  647|       |
  648|   363k|        qualifier.layoutFormat = type.getQualifier().layoutFormat;
  649|   363k|        qualifier.precision    = type.getQualifier().precision;
  650|       |
  651|   363k|        if (type.getQualifier().storage == EvqOut ||
  ------------------
  |  Branch (651:13): [True: 0, False: 363k]
  ------------------
  652|   363k|            type.getQualifier().storage == EvqBuffer) {
  ------------------
  |  Branch (652:13): [True: 0, False: 363k]
  ------------------
  653|      0|            qualifier.storage      = type.getQualifier().storage;
  654|      0|            qualifier.readonly     = type.getQualifier().readonly;
  655|      0|        }
  656|       |
  657|   363k|        if (type.isBuiltIn())
  ------------------
  |  Branch (657:13): [True: 0, False: 363k]
  ------------------
  658|      0|            qualifier.builtIn = type.getQualifier().builtIn;
  659|       |
  660|   363k|        type.getQualifier() = qualifier;
  661|   363k|    }
  662|       |
  663|   363k|    return true;
  664|   363k|}
_ZN7glslang11HlslGrammar18acceptPreQualifierERNS_10TQualifierE:
  672|   363k|{
  673|   388k|    do {
  674|   388k|        switch (peek()) {
  675|      0|        case EHTokStatic:
  ------------------
  |  Branch (675:9): [True: 0, False: 388k]
  ------------------
  676|      0|            qualifier.storage = EvqGlobal;
  677|      0|            break;
  678|      0|        case EHTokExtern:
  ------------------
  |  Branch (678:9): [True: 0, False: 388k]
  ------------------
  679|       |            // TODO: no meaning in glslang?
  680|      0|            break;
  681|      0|        case EHTokShared:
  ------------------
  |  Branch (681:9): [True: 0, False: 388k]
  ------------------
  682|       |            // TODO: hint
  683|      0|            break;
  684|      0|        case EHTokGroupShared:
  ------------------
  |  Branch (684:9): [True: 0, False: 388k]
  ------------------
  685|      0|            qualifier.storage = EvqShared;
  686|      0|            break;
  687|      0|        case EHTokUniform:
  ------------------
  |  Branch (687:9): [True: 0, False: 388k]
  ------------------
  688|      0|            qualifier.storage = EvqUniform;
  689|      0|            break;
  690|      0|        case EHTokConst:
  ------------------
  |  Branch (690:9): [True: 0, False: 388k]
  ------------------
  691|      0|            qualifier.storage = EvqConst;
  692|      0|            break;
  693|      0|        case EHTokVolatile:
  ------------------
  |  Branch (693:9): [True: 0, False: 388k]
  ------------------
  694|      0|            qualifier.volatil = true;
  695|      0|            break;
  696|      0|        case EHTokLinear:
  ------------------
  |  Branch (696:9): [True: 0, False: 388k]
  ------------------
  697|      0|            qualifier.smooth = true;
  698|      0|            break;
  699|      0|        case EHTokCentroid:
  ------------------
  |  Branch (699:9): [True: 0, False: 388k]
  ------------------
  700|      0|            qualifier.centroid = true;
  701|      0|            break;
  702|      0|        case EHTokNointerpolation:
  ------------------
  |  Branch (702:9): [True: 0, False: 388k]
  ------------------
  703|      0|            qualifier.flat = true;
  704|      0|            break;
  705|      0|        case EHTokNoperspective:
  ------------------
  |  Branch (705:9): [True: 0, False: 388k]
  ------------------
  706|      0|            qualifier.nopersp = true;
  707|      0|            break;
  708|      0|        case EHTokSample:
  ------------------
  |  Branch (708:9): [True: 0, False: 388k]
  ------------------
  709|      0|            qualifier.sample = true;
  710|      0|            break;
  711|      0|        case EHTokRowMajor:
  ------------------
  |  Branch (711:9): [True: 0, False: 388k]
  ------------------
  712|      0|            qualifier.layoutMatrix = ElmColumnMajor;
  713|      0|            break;
  714|      0|        case EHTokColumnMajor:
  ------------------
  |  Branch (714:9): [True: 0, False: 388k]
  ------------------
  715|      0|            qualifier.layoutMatrix = ElmRowMajor;
  716|      0|            break;
  717|      0|        case EHTokPrecise:
  ------------------
  |  Branch (717:9): [True: 0, False: 388k]
  ------------------
  718|      0|            qualifier.noContraction = true;
  719|      0|            break;
  720|      0|        case EHTokIn:
  ------------------
  |  Branch (720:9): [True: 0, False: 388k]
  ------------------
  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|  24.3k|        case EHTokOut:
  ------------------
  |  Branch (725:9): [True: 24.3k, False: 363k]
  ------------------
  726|  24.3k|            qualifier.storage = (qualifier.storage == EvqIn) ? EvqInOut : EvqOut;
  ------------------
  |  Branch (726:33): [True: 0, False: 24.3k]
  ------------------
  727|  24.3k|            break;
  728|      0|        case EHTokInOut:
  ------------------
  |  Branch (728:9): [True: 0, False: 388k]
  ------------------
  729|      0|            qualifier.storage = EvqInOut;
  730|      0|            break;
  731|      0|        case EHTokLayout:
  ------------------
  |  Branch (731:9): [True: 0, False: 388k]
  ------------------
  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: 388k]
  ------------------
  736|      0|            qualifier.coherent = true;
  737|      0|            break;
  738|      0|        case EHTokInline:
  ------------------
  |  Branch (738:9): [True: 0, False: 388k]
  ------------------
  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: 388k]
  ------------------
  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: 388k]
  ------------------
  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: 388k]
  ------------------
  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: 388k]
  ------------------
  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: 388k]
  ------------------
  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|   363k|        default:
  ------------------
  |  Branch (770:9): [True: 363k, False: 24.3k]
  ------------------
  771|   363k|            return true;
  772|   388k|        }
  773|  24.3k|        advanceToken();
  774|  24.3k|    } while (true);
  ------------------
  |  Branch (774:14): [True: 24.3k, Folded]
  ------------------
  775|   363k|}
_ZN7glslang11HlslGrammar19acceptPostQualifierERNS_10TQualifierE:
  783|   363k|{
  784|   363k|    do {
  785|   363k|        switch (peek()) {
  786|      0|        case EHTokConst:
  ------------------
  |  Branch (786:9): [True: 0, False: 363k]
  ------------------
  787|      0|            qualifier.storage = EvqConst;
  788|      0|            break;
  789|   363k|        default:
  ------------------
  |  Branch (789:9): [True: 363k, False: 0]
  ------------------
  790|   363k|            return true;
  791|   363k|        }
  792|      0|        advanceToken();
  793|      0|    } while (true);
  ------------------
  |  Branch (793:14): [True: 0, Folded]
  ------------------
  794|   363k|}
_ZN7glslang11HlslGrammar22acceptSubpassInputTypeERNS_5TTypeE:
 1172|    672|{
 1173|       |    // read subpass type
 1174|    672|    const EHlslTokenClass subpassInputType = peek();
 1175|       |
 1176|    672|    bool multisample;
 1177|       |
 1178|    672|    switch (subpassInputType) {
 1179|    336|    case EHTokSubpassInput:   multisample = false; break;
  ------------------
  |  Branch (1179:5): [True: 336, False: 336]
  ------------------
 1180|    336|    case EHTokSubpassInputMS: multisample = true;  break;
  ------------------
  |  Branch (1180:5): [True: 336, False: 336]
  ------------------
 1181|      0|    default:
  ------------------
  |  Branch (1181:5): [True: 0, False: 672]
  ------------------
 1182|      0|        return false;  // not a subpass input declaration
 1183|    672|    }
 1184|       |
 1185|    672|    advanceToken();  // consume the sampler type keyword
 1186|       |
 1187|    672|    TType subpassType(EbtFloat, EvqUniform, 4); // default type is float4
 1188|       |
 1189|    672|    if (acceptTokenClass(EHTokLeftAngle)) {
  ------------------
  |  Branch (1189:9): [True: 672, False: 0]
  ------------------
 1190|    672|        if (! acceptType(subpassType)) {
  ------------------
  |  Branch (1190:13): [True: 0, False: 672]
  ------------------
 1191|      0|            expected("scalar or vector type");
 1192|      0|            return false;
 1193|      0|        }
 1194|       |
 1195|    672|        const TBasicType basicRetType = subpassType.getBasicType() ;
 1196|       |
 1197|    672|        switch (basicRetType) {
 1198|    224|        case EbtFloat:
  ------------------
  |  Branch (1198:9): [True: 224, False: 448]
  ------------------
 1199|    448|        case EbtUint:
  ------------------
  |  Branch (1199:9): [True: 224, False: 448]
  ------------------
 1200|    672|        case EbtInt:
  ------------------
  |  Branch (1200:9): [True: 224, False: 448]
  ------------------
 1201|    672|        case EbtStruct:
  ------------------
  |  Branch (1201:9): [True: 0, False: 672]
  ------------------
 1202|    672|            break;
 1203|      0|        default:
  ------------------
  |  Branch (1203:9): [True: 0, False: 672]
  ------------------
 1204|      0|            unimplemented("basic type in subpass input");
 1205|      0|            return false;
 1206|    672|        }
 1207|       |
 1208|    672|        if (! acceptTokenClass(EHTokRightAngle)) {
  ------------------
  |  Branch (1208:13): [True: 0, False: 672]
  ------------------
 1209|      0|            expected("right angle bracket");
 1210|      0|            return false;
 1211|      0|        }
 1212|    672|    }
 1213|       |
 1214|    672|    const TBasicType subpassBasicType = subpassType.isStruct() ? (*subpassType.getStruct())[0].type->getBasicType()
  ------------------
  |  Branch (1214:41): [True: 0, False: 672]
  ------------------
 1215|    672|        : subpassType.getBasicType();
 1216|       |
 1217|    672|    TSampler sampler;
 1218|    672|    sampler.setSubpass(subpassBasicType, multisample);
 1219|       |
 1220|       |    // Remember the declared return type.  Function returns false on error.
 1221|    672|    if (!parseContext.setTextureReturnType(sampler, subpassType, token.loc))
  ------------------
  |  Branch (1221:9): [True: 0, False: 672]
  ------------------
 1222|      0|        return false;
 1223|       |
 1224|    672|    type.shallowCopy(TType(sampler, EvqUniform));
 1225|       |
 1226|    672|    return true;
 1227|    672|}
_ZN7glslang11HlslGrammar17acceptSamplerTypeERNS_5TTypeE:
 1281|  17.4k|{
 1282|       |    // read sampler type
 1283|  17.4k|    const EHlslTokenClass samplerType = peek();
 1284|       |
 1285|       |    // TODO: for DX9
 1286|       |    // TSamplerDim dim = EsdNone;
 1287|       |
 1288|  17.4k|    bool isShadow = false;
 1289|       |
 1290|  17.4k|    switch (samplerType) {
 1291|  10.2k|    case EHTokSampler:      break;
  ------------------
  |  Branch (1291:5): [True: 10.2k, False: 7.22k]
  ------------------
 1292|      0|    case EHTokSampler1d:    /*dim = Esd1D*/; break;
  ------------------
  |  Branch (1292:5): [True: 0, False: 17.4k]
  ------------------
 1293|    169|    case EHTokSampler2d:    /*dim = Esd2D*/; break;
  ------------------
  |  Branch (1293:5): [True: 169, False: 17.3k]
  ------------------
 1294|    168|    case EHTokSampler3d:    /*dim = Esd3D*/; break;
  ------------------
  |  Branch (1294:5): [True: 168, False: 17.3k]
  ------------------
 1295|    168|    case EHTokSamplerCube:  /*dim = EsdCube*/; break;
  ------------------
  |  Branch (1295:5): [True: 168, False: 17.3k]
  ------------------
 1296|      0|    case EHTokSamplerState: break;
  ------------------
  |  Branch (1296:5): [True: 0, False: 17.4k]
  ------------------
 1297|  6.72k|    case EHTokSamplerComparisonState: isShadow = true; break;
  ------------------
  |  Branch (1297:5): [True: 6.72k, False: 10.7k]
  ------------------
 1298|      0|    default:
  ------------------
  |  Branch (1298:5): [True: 0, False: 17.4k]
  ------------------
 1299|      0|        return false;  // not a sampler declaration
 1300|  17.4k|    }
 1301|       |
 1302|  17.4k|    advanceToken();  // consume the sampler type keyword
 1303|       |
 1304|  17.4k|    TArraySizes* arraySizes = nullptr; // TODO: array
 1305|       |
 1306|  17.4k|    TSampler sampler;
 1307|  17.4k|    sampler.setPureSampler(isShadow);
 1308|       |
 1309|  17.4k|    type.shallowCopy(TType(sampler, EvqUniform, arraySizes));
 1310|       |
 1311|  17.4k|    return true;
 1312|  17.4k|}
_ZN7glslang11HlslGrammar17acceptTextureTypeERNS_5TTypeE:
 1333|  22.0k|{
 1334|  22.0k|    const EHlslTokenClass textureType = peek();
 1335|       |
 1336|  22.0k|    TSamplerDim dim = EsdNone;
 1337|  22.0k|    bool array = false;
 1338|  22.0k|    bool ms    = false;
 1339|  22.0k|    bool image = false;
 1340|  22.0k|    bool combined = true;
 1341|       |
 1342|  22.0k|    switch (textureType) {
 1343|     84|    case EHTokBuffer:            dim = EsdBuffer; combined = false;    break;
  ------------------
  |  Branch (1343:5): [True: 84, False: 22.0k]
  ------------------
 1344|  1.68k|    case EHTokTexture1d:         dim = Esd1D;                          break;
  ------------------
  |  Branch (1344:5): [True: 1.68k, False: 20.4k]
  ------------------
 1345|  1.68k|    case EHTokTexture1darray:    dim = Esd1D; array = true;            break;
  ------------------
  |  Branch (1345:5): [True: 1.68k, False: 20.4k]
  ------------------
 1346|  5.62k|    case EHTokTexture2d:         dim = Esd2D;                          break;
  ------------------
  |  Branch (1346:5): [True: 5.62k, False: 16.4k]
  ------------------
 1347|  5.62k|    case EHTokTexture2darray:    dim = Esd2D; array = true;            break;
  ------------------
  |  Branch (1347:5): [True: 5.62k, False: 16.4k]
  ------------------
 1348|  1.34k|    case EHTokTexture3d:         dim = Esd3D;                          break;
  ------------------
  |  Branch (1348:5): [True: 1.34k, False: 20.7k]
  ------------------
 1349|  1.84k|    case EHTokTextureCube:       dim = EsdCube;                        break;
  ------------------
  |  Branch (1349:5): [True: 1.84k, False: 20.2k]
  ------------------
 1350|  1.84k|    case EHTokTextureCubearray:  dim = EsdCube; array = true;          break;
  ------------------
  |  Branch (1350:5): [True: 1.84k, False: 20.2k]
  ------------------
 1351|    420|    case EHTokTexture2DMS:       dim = Esd2D; ms = true;               break;
  ------------------
  |  Branch (1351:5): [True: 420, False: 21.6k]
  ------------------
 1352|    420|    case EHTokTexture2DMSarray:  dim = Esd2D; array = true; ms = true; break;
  ------------------
  |  Branch (1352:5): [True: 420, False: 21.6k]
  ------------------
 1353|    252|    case EHTokRWBuffer:          dim = EsdBuffer; image=true;          break;
  ------------------
  |  Branch (1353:5): [True: 252, False: 21.8k]
  ------------------
 1354|    252|    case EHTokRWTexture1d:       dim = Esd1D; array=false; image=true; break;
  ------------------
  |  Branch (1354:5): [True: 252, False: 21.8k]
  ------------------
 1355|    252|    case EHTokRWTexture1darray:  dim = Esd1D; array=true;  image=true; break;
  ------------------
  |  Branch (1355:5): [True: 252, False: 21.8k]
  ------------------
 1356|    252|    case EHTokRWTexture2d:       dim = Esd2D; array=false; image=true; break;
  ------------------
  |  Branch (1356:5): [True: 252, False: 21.8k]
  ------------------
 1357|    252|    case EHTokRWTexture2darray:  dim = Esd2D; array=true;  image=true; break;
  ------------------
  |  Branch (1357:5): [True: 252, False: 21.8k]
  ------------------
 1358|    252|    case EHTokRWTexture3d:       dim = Esd3D; array=false; image=true; break;
  ------------------
  |  Branch (1358:5): [True: 252, False: 21.8k]
  ------------------
 1359|      0|    default:
  ------------------
  |  Branch (1359:5): [True: 0, False: 22.0k]
  ------------------
 1360|      0|        return false;  // not a texture declaration
 1361|  22.0k|    }
 1362|       |
 1363|  22.0k|    advanceToken();  // consume the texture object keyword
 1364|       |
 1365|  22.0k|    TType txType(EbtFloat, EvqUniform, 4); // default type is float4
 1366|       |
 1367|  22.0k|    TIntermTyped* msCount = nullptr;
 1368|       |
 1369|       |    // texture type: required for multisample types and RWBuffer/RWTextures!
 1370|  22.0k|    if (acceptTokenClass(EHTokLeftAngle)) {
  ------------------
  |  Branch (1370:9): [True: 22.0k, False: 0]
  ------------------
 1371|  22.0k|        if (! acceptType(txType)) {
  ------------------
  |  Branch (1371:13): [True: 0, False: 22.0k]
  ------------------
 1372|      0|            expected("scalar or vector type");
 1373|      0|            return false;
 1374|      0|        }
 1375|       |
 1376|  22.0k|        const TBasicType basicRetType = txType.getBasicType() ;
 1377|       |
 1378|  22.0k|        switch (basicRetType) {
 1379|  7.36k|        case EbtFloat:
  ------------------
  |  Branch (1379:9): [True: 7.36k, False: 14.7k]
  ------------------
 1380|  14.7k|        case EbtUint:
  ------------------
  |  Branch (1380:9): [True: 7.36k, False: 14.7k]
  ------------------
 1381|  22.0k|        case EbtInt:
  ------------------
  |  Branch (1381:9): [True: 7.36k, False: 14.7k]
  ------------------
 1382|  22.0k|        case EbtStruct:
  ------------------
  |  Branch (1382:9): [True: 0, False: 22.0k]
  ------------------
 1383|  22.0k|            break;
 1384|      0|        default:
  ------------------
  |  Branch (1384:9): [True: 0, False: 22.0k]
  ------------------
 1385|      0|            unimplemented("basic type in texture");
 1386|      0|            return false;
 1387|  22.0k|        }
 1388|       |
 1389|       |        // Buffers can handle small mats if they fit in 4 components
 1390|  22.0k|        if (dim == EsdBuffer && txType.isMatrix()) {
  ------------------
  |  Branch (1390:13): [True: 336, False: 21.7k]
  |  Branch (1390:33): [True: 0, False: 336]
  ------------------
 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|  22.0k|        if (!txType.isScalar() && !txType.isVector() && !txType.isStruct()) {
  ------------------
  |  Branch (1401:13): [True: 22.0k, False: 0]
  |  Branch (1401:35): [True: 0, False: 22.0k]
  |  Branch (1401:57): [True: 0, False: 0]
  ------------------
 1402|      0|            expected("scalar, vector, or struct type");
 1403|      0|            return false;
 1404|      0|        }
 1405|       |
 1406|  22.0k|        if (ms && acceptTokenClass(EHTokComma)) {
  ------------------
  |  Branch (1406:13): [True: 840, False: 21.2k]
  |  Branch (1406:19): [True: 0, False: 840]
  ------------------
 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|  22.0k|        if (! acceptTokenClass(EHTokRightAngle)) {
  ------------------
  |  Branch (1417:13): [True: 0, False: 22.0k]
  ------------------
 1418|      0|            expected("right angle bracket");
 1419|      0|            return false;
 1420|      0|        }
 1421|  22.0k|    } 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|  22.0k|    TArraySizes* arraySizes = nullptr;
 1430|  22.0k|    const bool shadow = false; // declared on the sampler
 1431|       |
 1432|  22.0k|    TSampler sampler;
 1433|  22.0k|    TLayoutFormat format = ElfNone;
 1434|       |
 1435|       |    // Buffer, RWBuffer and RWTexture (images) require a TLayoutFormat.  We handle only a limit set.
 1436|  22.0k|    if (image || dim == EsdBuffer)
  ------------------
  |  Branch (1436:9): [True: 1.51k, False: 20.5k]
  |  Branch (1436:18): [True: 84, False: 20.4k]
  ------------------
 1437|  1.59k|        format = parseContext.getLayoutFromTxType(token.loc, txType);
 1438|       |
 1439|  22.0k|    const TBasicType txBasicType = txType.isStruct() ? (*txType.getStruct())[0].type->getBasicType()
  ------------------
  |  Branch (1439:36): [True: 0, False: 22.0k]
  ------------------
 1440|  22.0k|        : txType.getBasicType();
 1441|       |
 1442|       |    // Non-image Buffers are combined
 1443|  22.0k|    if (dim == EsdBuffer && !image) {
  ------------------
  |  Branch (1443:9): [True: 336, False: 21.7k]
  |  Branch (1443:29): [True: 84, False: 252]
  ------------------
 1444|     84|        sampler.set(txType.getBasicType(), dim, array);
 1445|  22.0k|    } else {
 1446|       |        // DX10 textures are separated.  TODO: DX9.
 1447|  22.0k|        if (image) {
  ------------------
  |  Branch (1447:13): [True: 1.51k, False: 20.4k]
  ------------------
 1448|  1.51k|            sampler.setImage(txBasicType, dim, array, shadow, ms);
 1449|  20.4k|        } else {
 1450|  20.4k|            sampler.setTexture(txBasicType, dim, array, shadow, ms);
 1451|  20.4k|        }
 1452|  22.0k|    }
 1453|       |
 1454|       |    // Remember the declared return type.  Function returns false on error.
 1455|  22.0k|    if (!parseContext.setTextureReturnType(sampler, txType, token.loc))
  ------------------
  |  Branch (1455:9): [True: 0, False: 22.0k]
  ------------------
 1456|      0|        return false;
 1457|       |
 1458|       |    // Force uncombined, if necessary
 1459|  22.0k|    if (!combined)
  ------------------
  |  Branch (1459:9): [True: 84, False: 22.0k]
  ------------------
 1460|     84|        sampler.combined = false;
 1461|       |
 1462|  22.0k|    type.shallowCopy(TType(sampler, EvqUniform, arraySizes));
 1463|  22.0k|    type.getQualifier().layoutFormat = format;
 1464|       |
 1465|  22.0k|    return true;
 1466|  22.0k|}
_ZN7glslang11HlslGrammar10acceptTypeERNS_5TTypeE:
 1472|  22.8k|{
 1473|  22.8k|    TIntermNode* nodeList = nullptr;
 1474|  22.8k|    return acceptType(type, nodeList);
 1475|  22.8k|}
_ZN7glslang11HlslGrammar10acceptTypeERNS_5TTypeERP11TIntermNode:
 1477|   386k|{
 1478|       |    // Basic types for min* types, use native halfs if the option allows them.
 1479|   386k|    bool enable16BitTypes = parseContext.hlslEnable16BitTypes();
 1480|       |
 1481|   386k|    const TBasicType min16float_bt = enable16BitTypes ? EbtFloat16 : EbtFloat;
  ------------------
  |  Branch (1481:38): [True: 130, False: 386k]
  ------------------
 1482|   386k|    const TBasicType min10float_bt = enable16BitTypes ? EbtFloat16 : EbtFloat;
  ------------------
  |  Branch (1482:38): [True: 130, False: 386k]
  ------------------
 1483|   386k|    const TBasicType half_bt       = enable16BitTypes ? EbtFloat16 : EbtFloat;
  ------------------
  |  Branch (1483:38): [True: 130, False: 386k]
  ------------------
 1484|   386k|    const TBasicType min16int_bt   = enable16BitTypes ? EbtInt16   : EbtInt;
  ------------------
  |  Branch (1484:38): [True: 130, False: 386k]
  ------------------
 1485|   386k|    const TBasicType min12int_bt   = enable16BitTypes ? EbtInt16   : EbtInt;
  ------------------
  |  Branch (1485:38): [True: 130, False: 386k]
  ------------------
 1486|   386k|    const TBasicType min16uint_bt  = enable16BitTypes ? EbtUint16  : EbtUint;
  ------------------
  |  Branch (1486:38): [True: 130, False: 386k]
  ------------------
 1487|       |
 1488|       |    // Some types might have turned into identifiers. Take the hit for checking
 1489|       |    // when this has happened.
 1490|   386k|    if (typeIdentifiers) {
  ------------------
  |  Branch (1490:9): [True: 0, False: 386k]
  ------------------
 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|   386k|    bool isUnorm = false;
 1501|   386k|    bool isSnorm = false;
 1502|       |
 1503|       |    // Accept snorm and unorm.  Presently, this is ignored, save for an error check below.
 1504|   386k|    switch (peek()) {
 1505|      0|    case EHTokUnorm:
  ------------------
  |  Branch (1505:5): [True: 0, False: 386k]
  ------------------
 1506|      0|        isUnorm = true;
 1507|      0|        advanceToken();  // eat the token
 1508|      0|        break;
 1509|      0|    case EHTokSNorm:
  ------------------
  |  Branch (1509:5): [True: 0, False: 386k]
  ------------------
 1510|      0|        isSnorm = true;
 1511|      0|        advanceToken();  // eat the token
 1512|      0|        break;
 1513|   386k|    default:
  ------------------
  |  Branch (1513:5): [True: 386k, False: 0]
  ------------------
 1514|   386k|        break;
 1515|   386k|    }
 1516|       |
 1517|   386k|    switch (peek()) {
 1518|      0|    case EHTokVector:
  ------------------
  |  Branch (1518:5): [True: 0, False: 386k]
  ------------------
 1519|      0|        return acceptVectorTemplateType(type);
 1520|      0|        break;
 1521|       |
 1522|      0|    case EHTokMatrix:
  ------------------
  |  Branch (1522:5): [True: 0, False: 386k]
  ------------------
 1523|      0|        return acceptMatrixTemplateType(type);
 1524|      0|        break;
 1525|       |
 1526|      0|    case EHTokPointStream:            // fall through
  ------------------
  |  Branch (1526:5): [True: 0, False: 386k]
  ------------------
 1527|      0|    case EHTokLineStream:             // ...
  ------------------
  |  Branch (1527:5): [True: 0, False: 386k]
  ------------------
 1528|      0|    case EHTokTriangleStream:         // ...
  ------------------
  |  Branch (1528:5): [True: 0, False: 386k]
  ------------------
 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: 386k]
  ------------------
 1541|      0|    case EHTokOutputPatch:            // ...
  ------------------
  |  Branch (1541:5): [True: 0, False: 386k]
  ------------------
 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|  10.2k|    case EHTokSampler:                // fall through
  ------------------
  |  Branch (1549:5): [True: 10.2k, False: 376k]
  ------------------
 1550|  10.2k|    case EHTokSampler1d:              // ...
  ------------------
  |  Branch (1550:5): [True: 0, False: 386k]
  ------------------
 1551|  10.4k|    case EHTokSampler2d:              // ...
  ------------------
  |  Branch (1551:5): [True: 169, False: 386k]
  ------------------
 1552|  10.5k|    case EHTokSampler3d:              // ...
  ------------------
  |  Branch (1552:5): [True: 168, False: 386k]
  ------------------
 1553|  10.7k|    case EHTokSamplerCube:            // ...
  ------------------
  |  Branch (1553:5): [True: 168, False: 386k]
  ------------------
 1554|  10.7k|        if (parseContext.hlslDX9Compatible())
  ------------------
  |  Branch (1554:13): [True: 0, False: 10.7k]
  ------------------
 1555|      0|            return acceptSamplerTypeDX9(type);
 1556|  10.7k|        else
 1557|  10.7k|            return acceptSamplerType(type);
 1558|      0|        break;
 1559|       |
 1560|      0|    case EHTokSamplerState:           // fall through
  ------------------
  |  Branch (1560:5): [True: 0, False: 386k]
  ------------------
 1561|  6.72k|    case EHTokSamplerComparisonState: // ...
  ------------------
  |  Branch (1561:5): [True: 6.72k, False: 380k]
  ------------------
 1562|  6.72k|        return acceptSamplerType(type);
 1563|      0|        break;
 1564|       |
 1565|    336|    case EHTokSubpassInput:           // fall through
  ------------------
  |  Branch (1565:5): [True: 336, False: 386k]
  ------------------
 1566|    672|    case EHTokSubpassInputMS:         // ...
  ------------------
  |  Branch (1566:5): [True: 336, False: 386k]
  ------------------
 1567|    672|        return acceptSubpassInputType(type);
 1568|      0|        break;
 1569|       |
 1570|     84|    case EHTokBuffer:                 // fall through
  ------------------
  |  Branch (1570:5): [True: 84, False: 386k]
  ------------------
 1571|  1.76k|    case EHTokTexture1d:              // ...
  ------------------
  |  Branch (1571:5): [True: 1.68k, False: 385k]
  ------------------
 1572|  3.44k|    case EHTokTexture1darray:         // ...
  ------------------
  |  Branch (1572:5): [True: 1.68k, False: 385k]
  ------------------
 1573|  9.07k|    case EHTokTexture2d:              // ...
  ------------------
  |  Branch (1573:5): [True: 5.62k, False: 381k]
  ------------------
 1574|  14.7k|    case EHTokTexture2darray:         // ...
  ------------------
  |  Branch (1574:5): [True: 5.62k, False: 381k]
  ------------------
 1575|  16.0k|    case EHTokTexture3d:              // ...
  ------------------
  |  Branch (1575:5): [True: 1.34k, False: 385k]
  ------------------
 1576|  17.8k|    case EHTokTextureCube:            // ...
  ------------------
  |  Branch (1576:5): [True: 1.84k, False: 384k]
  ------------------
 1577|  19.7k|    case EHTokTextureCubearray:       // ...
  ------------------
  |  Branch (1577:5): [True: 1.84k, False: 384k]
  ------------------
 1578|  20.1k|    case EHTokTexture2DMS:            // ...
  ------------------
  |  Branch (1578:5): [True: 420, False: 386k]
  ------------------
 1579|  20.5k|    case EHTokTexture2DMSarray:       // ...
  ------------------
  |  Branch (1579:5): [True: 420, False: 386k]
  ------------------
 1580|  20.8k|    case EHTokRWTexture1d:            // ...
  ------------------
  |  Branch (1580:5): [True: 252, False: 386k]
  ------------------
 1581|  21.0k|    case EHTokRWTexture1darray:       // ...
  ------------------
  |  Branch (1581:5): [True: 252, False: 386k]
  ------------------
 1582|  21.3k|    case EHTokRWTexture2d:            // ...
  ------------------
  |  Branch (1582:5): [True: 252, False: 386k]
  ------------------
 1583|  21.5k|    case EHTokRWTexture2darray:       // ...
  ------------------
  |  Branch (1583:5): [True: 252, False: 386k]
  ------------------
 1584|  21.8k|    case EHTokRWTexture3d:            // ...
  ------------------
  |  Branch (1584:5): [True: 252, False: 386k]
  ------------------
 1585|  22.0k|    case EHTokRWBuffer:               // ...
  ------------------
  |  Branch (1585:5): [True: 252, False: 386k]
  ------------------
 1586|  22.0k|        return acceptTextureType(type);
 1587|      0|        break;
 1588|       |
 1589|      0|    case EHTokAppendStructuredBuffer:
  ------------------
  |  Branch (1589:5): [True: 0, False: 386k]
  ------------------
 1590|      0|    case EHTokByteAddressBuffer:
  ------------------
  |  Branch (1590:5): [True: 0, False: 386k]
  ------------------
 1591|      0|    case EHTokConsumeStructuredBuffer:
  ------------------
  |  Branch (1591:5): [True: 0, False: 386k]
  ------------------
 1592|      0|    case EHTokRWByteAddressBuffer:
  ------------------
  |  Branch (1592:5): [True: 0, False: 386k]
  ------------------
 1593|      0|    case EHTokRWStructuredBuffer:
  ------------------
  |  Branch (1593:5): [True: 0, False: 386k]
  ------------------
 1594|      0|    case EHTokStructuredBuffer:
  ------------------
  |  Branch (1594:5): [True: 0, False: 386k]
  ------------------
 1595|      0|        return acceptStructBufferType(type);
 1596|      0|        break;
 1597|       |
 1598|      0|    case EHTokTextureBuffer:
  ------------------
  |  Branch (1598:5): [True: 0, False: 386k]
  ------------------
 1599|      0|        return acceptTextureBufferType(type);
 1600|      0|        break;
 1601|       |
 1602|      0|    case EHTokConstantBuffer:
  ------------------
  |  Branch (1602:5): [True: 0, False: 386k]
  ------------------
 1603|      0|        return acceptConstantBufferType(type);
 1604|       |
 1605|      0|    case EHTokClass:
  ------------------
  |  Branch (1605:5): [True: 0, False: 386k]
  ------------------
 1606|      0|    case EHTokStruct:
  ------------------
  |  Branch (1606:5): [True: 0, False: 386k]
  ------------------
 1607|      0|    case EHTokCBuffer:
  ------------------
  |  Branch (1607:5): [True: 0, False: 386k]
  ------------------
 1608|      0|    case EHTokTBuffer:
  ------------------
  |  Branch (1608:5): [True: 0, False: 386k]
  ------------------
 1609|      0|        return acceptStruct(type, nodeList);
 1610|       |
 1611|     48|    case EHTokIdentifier:
  ------------------
  |  Branch (1611:5): [True: 48, False: 386k]
  ------------------
 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|     48|        if (parseContext.lookupUserType(*token.string, type) != nullptr) {
  ------------------
  |  Branch (1615:13): [True: 0, False: 48]
  ------------------
 1616|      0|            advanceToken();
 1617|      0|            return true;
 1618|      0|        } else
 1619|     48|            return false;
 1620|       |
 1621|  25.0k|    case EHTokVoid:
  ------------------
  |  Branch (1621:5): [True: 25.0k, False: 361k]
  ------------------
 1622|  25.0k|        new(&type) TType(EbtVoid);
 1623|  25.0k|        break;
 1624|       |
 1625|      0|    case EHTokString:
  ------------------
  |  Branch (1625:5): [True: 0, False: 386k]
  ------------------
 1626|      0|        new(&type) TType(EbtString);
 1627|      0|        break;
 1628|       |
 1629|  26.4k|    case EHTokFloat:
  ------------------
  |  Branch (1629:5): [True: 26.4k, False: 360k]
  ------------------
 1630|  26.4k|        new(&type) TType(EbtFloat);
 1631|  26.4k|        break;
 1632|  2.18k|    case EHTokFloat1:
  ------------------
  |  Branch (1632:5): [True: 2.18k, False: 384k]
  ------------------
 1633|  2.18k|        new(&type) TType(EbtFloat);
 1634|  2.18k|        type.makeVector();
 1635|  2.18k|        break;
 1636|  18.0k|    case EHTokFloat2:
  ------------------
  |  Branch (1636:5): [True: 18.0k, False: 368k]
  ------------------
 1637|  18.0k|        new(&type) TType(EbtFloat, EvqTemporary, 2);
 1638|  18.0k|        break;
 1639|  15.3k|    case EHTokFloat3:
  ------------------
  |  Branch (1639:5): [True: 15.3k, False: 371k]
  ------------------
 1640|  15.3k|        new(&type) TType(EbtFloat, EvqTemporary, 3);
 1641|  15.3k|        break;
 1642|  16.0k|    case EHTokFloat4:
  ------------------
  |  Branch (1642:5): [True: 16.0k, False: 370k]
  ------------------
 1643|  16.0k|        new(&type) TType(EbtFloat, EvqTemporary, 4);
 1644|  16.0k|        break;
 1645|       |
 1646|  1.26k|    case EHTokDouble:
  ------------------
  |  Branch (1646:5): [True: 1.26k, False: 385k]
  ------------------
 1647|  1.26k|        new(&type) TType(EbtDouble);
 1648|  1.26k|        break;
 1649|      0|    case EHTokDouble1:
  ------------------
  |  Branch (1649:5): [True: 0, False: 386k]
  ------------------
 1650|      0|        new(&type) TType(EbtDouble);
 1651|      0|        type.makeVector();
 1652|      0|        break;
 1653|  1.26k|    case EHTokDouble2:
  ------------------
  |  Branch (1653:5): [True: 1.26k, False: 385k]
  ------------------
 1654|  1.26k|        new(&type) TType(EbtDouble, EvqTemporary, 2);
 1655|  1.26k|        break;
 1656|  1.20k|    case EHTokDouble3:
  ------------------
  |  Branch (1656:5): [True: 1.20k, False: 385k]
  ------------------
 1657|  1.20k|        new(&type) TType(EbtDouble, EvqTemporary, 3);
 1658|  1.20k|        break;
 1659|  1.20k|    case EHTokDouble4:
  ------------------
  |  Branch (1659:5): [True: 1.20k, False: 385k]
  ------------------
 1660|  1.20k|        new(&type) TType(EbtDouble, EvqTemporary, 4);
 1661|  1.20k|        break;
 1662|       |
 1663|  7.22k|    case EHTokInt:
  ------------------
  |  Branch (1663:5): [True: 7.22k, False: 379k]
  ------------------
 1664|  7.22k|    case EHTokDword:
  ------------------
  |  Branch (1664:5): [True: 0, False: 386k]
  ------------------
 1665|  7.22k|        new(&type) TType(EbtInt);
 1666|  7.22k|        break;
 1667|  1.51k|    case EHTokInt1:
  ------------------
  |  Branch (1667:5): [True: 1.51k, False: 385k]
  ------------------
 1668|  1.51k|        new(&type) TType(EbtInt);
 1669|  1.51k|        type.makeVector();
 1670|  1.51k|        break;
 1671|  25.0k|    case EHTokInt2:
  ------------------
  |  Branch (1671:5): [True: 25.0k, False: 361k]
  ------------------
 1672|  25.0k|        new(&type) TType(EbtInt, EvqTemporary, 2);
 1673|  25.0k|        break;
 1674|  4.95k|    case EHTokInt3:
  ------------------
  |  Branch (1674:5): [True: 4.95k, False: 381k]
  ------------------
 1675|  4.95k|        new(&type) TType(EbtInt, EvqTemporary, 3);
 1676|  4.95k|        break;
 1677|  10.2k|    case EHTokInt4:
  ------------------
  |  Branch (1677:5): [True: 10.2k, False: 376k]
  ------------------
 1678|  10.2k|        new(&type) TType(EbtInt, EvqTemporary, 4);
 1679|  10.2k|        break;
 1680|       |
 1681|  14.1k|    case EHTokUint:
  ------------------
  |  Branch (1681:5): [True: 14.1k, False: 372k]
  ------------------
 1682|  14.1k|        new(&type) TType(EbtUint);
 1683|  14.1k|        break;
 1684|  1.45k|    case EHTokUint1:
  ------------------
  |  Branch (1684:5): [True: 1.45k, False: 385k]
  ------------------
 1685|  1.45k|        new(&type) TType(EbtUint);
 1686|  1.45k|        type.makeVector();
 1687|  1.45k|        break;
 1688|  7.47k|    case EHTokUint2:
  ------------------
  |  Branch (1688:5): [True: 7.47k, False: 379k]
  ------------------
 1689|  7.47k|        new(&type) TType(EbtUint, EvqTemporary, 2);
 1690|  7.47k|        break;
 1691|  3.64k|    case EHTokUint3:
  ------------------
  |  Branch (1691:5): [True: 3.64k, False: 383k]
  ------------------
 1692|  3.64k|        new(&type) TType(EbtUint, EvqTemporary, 3);
 1693|  3.64k|        break;
 1694|  9.94k|    case EHTokUint4:
  ------------------
  |  Branch (1694:5): [True: 9.94k, False: 376k]
  ------------------
 1695|  9.94k|        new(&type) TType(EbtUint, EvqTemporary, 4);
 1696|  9.94k|        break;
 1697|       |
 1698|      0|    case EHTokUint64:
  ------------------
  |  Branch (1698:5): [True: 0, False: 386k]
  ------------------
 1699|      0|        new(&type) TType(EbtUint64);
 1700|      0|        break;
 1701|       |
 1702|  5.40k|    case EHTokBool:
  ------------------
  |  Branch (1702:5): [True: 5.40k, False: 381k]
  ------------------
 1703|  5.40k|        new(&type) TType(EbtBool);
 1704|  5.40k|        break;
 1705|      0|    case EHTokBool1:
  ------------------
  |  Branch (1705:5): [True: 0, False: 386k]
  ------------------
 1706|      0|        new(&type) TType(EbtBool);
 1707|      0|        type.makeVector();
 1708|      0|        break;
 1709|    168|    case EHTokBool2:
  ------------------
  |  Branch (1709:5): [True: 168, False: 386k]
  ------------------
 1710|    168|        new(&type) TType(EbtBool, EvqTemporary, 2);
 1711|    168|        break;
 1712|    168|    case EHTokBool3:
  ------------------
  |  Branch (1712:5): [True: 168, False: 386k]
  ------------------
 1713|    168|        new(&type) TType(EbtBool, EvqTemporary, 3);
 1714|    168|        break;
 1715|    168|    case EHTokBool4:
  ------------------
  |  Branch (1715:5): [True: 168, False: 386k]
  ------------------
 1716|    168|        new(&type) TType(EbtBool, EvqTemporary, 4);
 1717|    168|        break;
 1718|       |
 1719|      0|    case EHTokHalf:
  ------------------
  |  Branch (1719:5): [True: 0, False: 386k]
  ------------------
 1720|      0|        new(&type) TType(half_bt, EvqTemporary);
 1721|      0|        break;
 1722|      0|    case EHTokHalf1:
  ------------------
  |  Branch (1722:5): [True: 0, False: 386k]
  ------------------
 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: 386k]
  ------------------
 1727|      0|        new(&type) TType(half_bt, EvqTemporary, 2);
 1728|      0|        break;
 1729|      0|    case EHTokHalf3:
  ------------------
  |  Branch (1729:5): [True: 0, False: 386k]
  ------------------
 1730|      0|        new(&type) TType(half_bt, EvqTemporary, 3);
 1731|      0|        break;
 1732|      0|    case EHTokHalf4:
  ------------------
  |  Branch (1732:5): [True: 0, False: 386k]
  ------------------
 1733|      0|        new(&type) TType(half_bt, EvqTemporary, 4);
 1734|      0|        break;
 1735|       |
 1736|      0|    case EHTokMin16float:
  ------------------
  |  Branch (1736:5): [True: 0, False: 386k]
  ------------------
 1737|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium);
 1738|      0|        break;
 1739|      0|    case EHTokMin16float1:
  ------------------
  |  Branch (1739:5): [True: 0, False: 386k]
  ------------------
 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: 386k]
  ------------------
 1744|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 2);
 1745|      0|        break;
 1746|      0|    case EHTokMin16float3:
  ------------------
  |  Branch (1746:5): [True: 0, False: 386k]
  ------------------
 1747|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 3);
 1748|      0|        break;
 1749|      0|    case EHTokMin16float4:
  ------------------
  |  Branch (1749:5): [True: 0, False: 386k]
  ------------------
 1750|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 4);
 1751|      0|        break;
 1752|       |
 1753|      0|    case EHTokMin10float:
  ------------------
  |  Branch (1753:5): [True: 0, False: 386k]
  ------------------
 1754|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium);
 1755|      0|        break;
 1756|      0|    case EHTokMin10float1:
  ------------------
  |  Branch (1756:5): [True: 0, False: 386k]
  ------------------
 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: 386k]
  ------------------
 1761|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 2);
 1762|      0|        break;
 1763|      0|    case EHTokMin10float3:
  ------------------
  |  Branch (1763:5): [True: 0, False: 386k]
  ------------------
 1764|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 3);
 1765|      0|        break;
 1766|      0|    case EHTokMin10float4:
  ------------------
  |  Branch (1766:5): [True: 0, False: 386k]
  ------------------
 1767|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 4);
 1768|      0|        break;
 1769|       |
 1770|      0|    case EHTokMin16int:
  ------------------
  |  Branch (1770:5): [True: 0, False: 386k]
  ------------------
 1771|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium);
 1772|      0|        break;
 1773|      0|    case EHTokMin16int1:
  ------------------
  |  Branch (1773:5): [True: 0, False: 386k]
  ------------------
 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: 386k]
  ------------------
 1778|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 2);
 1779|      0|        break;
 1780|      0|    case EHTokMin16int3:
  ------------------
  |  Branch (1780:5): [True: 0, False: 386k]
  ------------------
 1781|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 3);
 1782|      0|        break;
 1783|      0|    case EHTokMin16int4:
  ------------------
  |  Branch (1783:5): [True: 0, False: 386k]
  ------------------
 1784|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 4);
 1785|      0|        break;
 1786|       |
 1787|      0|    case EHTokMin12int:
  ------------------
  |  Branch (1787:5): [True: 0, False: 386k]
  ------------------
 1788|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium);
 1789|      0|        break;
 1790|      0|    case EHTokMin12int1:
  ------------------
  |  Branch (1790:5): [True: 0, False: 386k]
  ------------------
 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: 386k]
  ------------------
 1795|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 2);
 1796|      0|        break;
 1797|      0|    case EHTokMin12int3:
  ------------------
  |  Branch (1797:5): [True: 0, False: 386k]
  ------------------
 1798|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 3);
 1799|      0|        break;
 1800|      0|    case EHTokMin12int4:
  ------------------
  |  Branch (1800:5): [True: 0, False: 386k]
  ------------------
 1801|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 4);
 1802|      0|        break;
 1803|       |
 1804|      0|    case EHTokMin16uint:
  ------------------
  |  Branch (1804:5): [True: 0, False: 386k]
  ------------------
 1805|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium);
 1806|      0|        break;
 1807|      0|    case EHTokMin16uint1:
  ------------------
  |  Branch (1807:5): [True: 0, False: 386k]
  ------------------
 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: 386k]
  ------------------
 1812|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 2);
 1813|      0|        break;
 1814|      0|    case EHTokMin16uint3:
  ------------------
  |  Branch (1814:5): [True: 0, False: 386k]
  ------------------
 1815|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 3);
 1816|      0|        break;
 1817|      0|    case EHTokMin16uint4:
  ------------------
  |  Branch (1817:5): [True: 0, False: 386k]
  ------------------
 1818|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 4);
 1819|      0|        break;
 1820|       |
 1821|  2.12k|    case EHTokInt1x1:
  ------------------
  |  Branch (1821:5): [True: 2.12k, False: 384k]
  ------------------
 1822|  2.12k|        new(&type) TType(EbtInt, EvqTemporary, 0, 1, 1);
 1823|  2.12k|        break;
 1824|  2.12k|    case EHTokInt1x2:
  ------------------
  |  Branch (1824:5): [True: 2.12k, False: 384k]
  ------------------
 1825|  2.12k|        new(&type) TType(EbtInt, EvqTemporary, 0, 1, 2);
 1826|  2.12k|        break;
 1827|  2.12k|    case EHTokInt1x3:
  ------------------
  |  Branch (1827:5): [True: 2.12k, False: 384k]
  ------------------
 1828|  2.12k|        new(&type) TType(EbtInt, EvqTemporary, 0, 1, 3);
 1829|  2.12k|        break;
 1830|  2.12k|    case EHTokInt1x4:
  ------------------
  |  Branch (1830:5): [True: 2.12k, False: 384k]
  ------------------
 1831|  2.12k|        new(&type) TType(EbtInt, EvqTemporary, 0, 1, 4);
 1832|  2.12k|        break;
 1833|  2.12k|    case EHTokInt2x1:
  ------------------
  |  Branch (1833:5): [True: 2.12k, False: 384k]
  ------------------
 1834|  2.12k|        new(&type) TType(EbtInt, EvqTemporary, 0, 2, 1);
 1835|  2.12k|        break;
 1836|  2.12k|    case EHTokInt2x2:
  ------------------
  |  Branch (1836:5): [True: 2.12k, False: 384k]
  ------------------
 1837|  2.12k|        new(&type) TType(EbtInt, EvqTemporary, 0, 2, 2);
 1838|  2.12k|        break;
 1839|  2.12k|    case EHTokInt2x3:
  ------------------
  |  Branch (1839:5): [True: 2.12k, False: 384k]
  ------------------
 1840|  2.12k|        new(&type) TType(EbtInt, EvqTemporary, 0, 2, 3);
 1841|  2.12k|        break;
 1842|  2.12k|    case EHTokInt2x4:
  ------------------
  |  Branch (1842:5): [True: 2.12k, False: 384k]
  ------------------
 1843|  2.12k|        new(&type) TType(EbtInt, EvqTemporary, 0, 2, 4);
 1844|  2.12k|        break;
 1845|  2.12k|    case EHTokInt3x1:
  ------------------
  |  Branch (1845:5): [True: 2.12k, False: 384k]
  ------------------
 1846|  2.12k|        new(&type) TType(EbtInt, EvqTemporary, 0, 3, 1);
 1847|  2.12k|        break;
 1848|  2.12k|    case EHTokInt3x2:
  ------------------
  |  Branch (1848:5): [True: 2.12k, False: 384k]
  ------------------
 1849|  2.12k|        new(&type) TType(EbtInt, EvqTemporary, 0, 3, 2);
 1850|  2.12k|        break;
 1851|  2.12k|    case EHTokInt3x3:
  ------------------
  |  Branch (1851:5): [True: 2.12k, False: 384k]
  ------------------
 1852|  2.12k|        new(&type) TType(EbtInt, EvqTemporary, 0, 3, 3);
 1853|  2.12k|        break;
 1854|  2.12k|    case EHTokInt3x4:
  ------------------
  |  Branch (1854:5): [True: 2.12k, False: 384k]
  ------------------
 1855|  2.12k|        new(&type) TType(EbtInt, EvqTemporary, 0, 3, 4);
 1856|  2.12k|        break;
 1857|  2.12k|    case EHTokInt4x1:
  ------------------
  |  Branch (1857:5): [True: 2.12k, False: 384k]
  ------------------
 1858|  2.12k|        new(&type) TType(EbtInt, EvqTemporary, 0, 4, 1);
 1859|  2.12k|        break;
 1860|  2.12k|    case EHTokInt4x2:
  ------------------
  |  Branch (1860:5): [True: 2.12k, False: 384k]
  ------------------
 1861|  2.12k|        new(&type) TType(EbtInt, EvqTemporary, 0, 4, 2);
 1862|  2.12k|        break;
 1863|  2.12k|    case EHTokInt4x3:
  ------------------
  |  Branch (1863:5): [True: 2.12k, False: 384k]
  ------------------
 1864|  2.12k|        new(&type) TType(EbtInt, EvqTemporary, 0, 4, 3);
 1865|  2.12k|        break;
 1866|  2.12k|    case EHTokInt4x4:
  ------------------
  |  Branch (1866:5): [True: 2.12k, False: 384k]
  ------------------
 1867|  2.12k|        new(&type) TType(EbtInt, EvqTemporary, 0, 4, 4);
 1868|  2.12k|        break;
 1869|       |
 1870|  1.96k|    case EHTokUint1x1:
  ------------------
  |  Branch (1870:5): [True: 1.96k, False: 384k]
  ------------------
 1871|  1.96k|        new(&type) TType(EbtUint, EvqTemporary, 0, 1, 1);
 1872|  1.96k|        break;
 1873|  1.96k|    case EHTokUint1x2:
  ------------------
  |  Branch (1873:5): [True: 1.96k, False: 384k]
  ------------------
 1874|  1.96k|        new(&type) TType(EbtUint, EvqTemporary, 0, 1, 2);
 1875|  1.96k|        break;
 1876|  1.96k|    case EHTokUint1x3:
  ------------------
  |  Branch (1876:5): [True: 1.96k, False: 384k]
  ------------------
 1877|  1.96k|        new(&type) TType(EbtUint, EvqTemporary, 0, 1, 3);
 1878|  1.96k|        break;
 1879|  1.96k|    case EHTokUint1x4:
  ------------------
  |  Branch (1879:5): [True: 1.96k, False: 384k]
  ------------------
 1880|  1.96k|        new(&type) TType(EbtUint, EvqTemporary, 0, 1, 4);
 1881|  1.96k|        break;
 1882|  1.96k|    case EHTokUint2x1:
  ------------------
  |  Branch (1882:5): [True: 1.96k, False: 384k]
  ------------------
 1883|  1.96k|        new(&type) TType(EbtUint, EvqTemporary, 0, 2, 1);
 1884|  1.96k|        break;
 1885|  1.96k|    case EHTokUint2x2:
  ------------------
  |  Branch (1885:5): [True: 1.96k, False: 384k]
  ------------------
 1886|  1.96k|        new(&type) TType(EbtUint, EvqTemporary, 0, 2, 2);
 1887|  1.96k|        break;
 1888|  1.96k|    case EHTokUint2x3:
  ------------------
  |  Branch (1888:5): [True: 1.96k, False: 384k]
  ------------------
 1889|  1.96k|        new(&type) TType(EbtUint, EvqTemporary, 0, 2, 3);
 1890|  1.96k|        break;
 1891|  1.96k|    case EHTokUint2x4:
  ------------------
  |  Branch (1891:5): [True: 1.96k, False: 384k]
  ------------------
 1892|  1.96k|        new(&type) TType(EbtUint, EvqTemporary, 0, 2, 4);
 1893|  1.96k|        break;
 1894|  1.96k|    case EHTokUint3x1:
  ------------------
  |  Branch (1894:5): [True: 1.96k, False: 384k]
  ------------------
 1895|  1.96k|        new(&type) TType(EbtUint, EvqTemporary, 0, 3, 1);
 1896|  1.96k|        break;
 1897|  1.96k|    case EHTokUint3x2:
  ------------------
  |  Branch (1897:5): [True: 1.96k, False: 384k]
  ------------------
 1898|  1.96k|        new(&type) TType(EbtUint, EvqTemporary, 0, 3, 2);
 1899|  1.96k|        break;
 1900|  1.96k|    case EHTokUint3x3:
  ------------------
  |  Branch (1900:5): [True: 1.96k, False: 384k]
  ------------------
 1901|  1.96k|        new(&type) TType(EbtUint, EvqTemporary, 0, 3, 3);
 1902|  1.96k|        break;
 1903|  1.96k|    case EHTokUint3x4:
  ------------------
  |  Branch (1903:5): [True: 1.96k, False: 384k]
  ------------------
 1904|  1.96k|        new(&type) TType(EbtUint, EvqTemporary, 0, 3, 4);
 1905|  1.96k|        break;
 1906|  1.96k|    case EHTokUint4x1:
  ------------------
  |  Branch (1906:5): [True: 1.96k, False: 384k]
  ------------------
 1907|  1.96k|        new(&type) TType(EbtUint, EvqTemporary, 0, 4, 1);
 1908|  1.96k|        break;
 1909|  1.96k|    case EHTokUint4x2:
  ------------------
  |  Branch (1909:5): [True: 1.96k, False: 384k]
  ------------------
 1910|  1.96k|        new(&type) TType(EbtUint, EvqTemporary, 0, 4, 2);
 1911|  1.96k|        break;
 1912|  1.96k|    case EHTokUint4x3:
  ------------------
  |  Branch (1912:5): [True: 1.96k, False: 384k]
  ------------------
 1913|  1.96k|        new(&type) TType(EbtUint, EvqTemporary, 0, 4, 3);
 1914|  1.96k|        break;
 1915|  1.96k|    case EHTokUint4x4:
  ------------------
  |  Branch (1915:5): [True: 1.96k, False: 384k]
  ------------------
 1916|  1.96k|        new(&type) TType(EbtUint, EvqTemporary, 0, 4, 4);
 1917|  1.96k|        break;
 1918|       |
 1919|    224|    case EHTokBool1x1:
  ------------------
  |  Branch (1919:5): [True: 224, False: 386k]
  ------------------
 1920|    224|        new(&type) TType(EbtBool, EvqTemporary, 0, 1, 1);
 1921|    224|        break;
 1922|    224|    case EHTokBool1x2:
  ------------------
  |  Branch (1922:5): [True: 224, False: 386k]
  ------------------
 1923|    224|        new(&type) TType(EbtBool, EvqTemporary, 0, 1, 2);
 1924|    224|        break;
 1925|    224|    case EHTokBool1x3:
  ------------------
  |  Branch (1925:5): [True: 224, False: 386k]
  ------------------
 1926|    224|        new(&type) TType(EbtBool, EvqTemporary, 0, 1, 3);
 1927|    224|        break;
 1928|    224|    case EHTokBool1x4:
  ------------------
  |  Branch (1928:5): [True: 224, False: 386k]
  ------------------
 1929|    224|        new(&type) TType(EbtBool, EvqTemporary, 0, 1, 4);
 1930|    224|        break;
 1931|    224|    case EHTokBool2x1:
  ------------------
  |  Branch (1931:5): [True: 224, False: 386k]
  ------------------
 1932|    224|        new(&type) TType(EbtBool, EvqTemporary, 0, 2, 1);
 1933|    224|        break;
 1934|    224|    case EHTokBool2x2:
  ------------------
  |  Branch (1934:5): [True: 224, False: 386k]
  ------------------
 1935|    224|        new(&type) TType(EbtBool, EvqTemporary, 0, 2, 2);
 1936|    224|        break;
 1937|    224|    case EHTokBool2x3:
  ------------------
  |  Branch (1937:5): [True: 224, False: 386k]
  ------------------
 1938|    224|        new(&type) TType(EbtBool, EvqTemporary, 0, 2, 3);
 1939|    224|        break;
 1940|    224|    case EHTokBool2x4:
  ------------------
  |  Branch (1940:5): [True: 224, False: 386k]
  ------------------
 1941|    224|        new(&type) TType(EbtBool, EvqTemporary, 0, 2, 4);
 1942|    224|        break;
 1943|    224|    case EHTokBool3x1:
  ------------------
  |  Branch (1943:5): [True: 224, False: 386k]
  ------------------
 1944|    224|        new(&type) TType(EbtBool, EvqTemporary, 0, 3, 1);
 1945|    224|        break;
 1946|    224|    case EHTokBool3x2:
  ------------------
  |  Branch (1946:5): [True: 224, False: 386k]
  ------------------
 1947|    224|        new(&type) TType(EbtBool, EvqTemporary, 0, 3, 2);
 1948|    224|        break;
 1949|    224|    case EHTokBool3x3:
  ------------------
  |  Branch (1949:5): [True: 224, False: 386k]
  ------------------
 1950|    224|        new(&type) TType(EbtBool, EvqTemporary, 0, 3, 3);
 1951|    224|        break;
 1952|    224|    case EHTokBool3x4:
  ------------------
  |  Branch (1952:5): [True: 224, False: 386k]
  ------------------
 1953|    224|        new(&type) TType(EbtBool, EvqTemporary, 0, 3, 4);
 1954|    224|        break;
 1955|    224|    case EHTokBool4x1:
  ------------------
  |  Branch (1955:5): [True: 224, False: 386k]
  ------------------
 1956|    224|        new(&type) TType(EbtBool, EvqTemporary, 0, 4, 1);
 1957|    224|        break;
 1958|    224|    case EHTokBool4x2:
  ------------------
  |  Branch (1958:5): [True: 224, False: 386k]
  ------------------
 1959|    224|        new(&type) TType(EbtBool, EvqTemporary, 0, 4, 2);
 1960|    224|        break;
 1961|    224|    case EHTokBool4x3:
  ------------------
  |  Branch (1961:5): [True: 224, False: 386k]
  ------------------
 1962|    224|        new(&type) TType(EbtBool, EvqTemporary, 0, 4, 3);
 1963|    224|        break;
 1964|    224|    case EHTokBool4x4:
  ------------------
  |  Branch (1964:5): [True: 224, False: 386k]
  ------------------
 1965|    224|        new(&type) TType(EbtBool, EvqTemporary, 0, 4, 4);
 1966|    224|        break;
 1967|       |
 1968|  4.53k|    case EHTokFloat1x1:
  ------------------
  |  Branch (1968:5): [True: 4.53k, False: 382k]
  ------------------
 1969|  4.53k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 1, 1);
 1970|  4.53k|        break;
 1971|  4.53k|    case EHTokFloat1x2:
  ------------------
  |  Branch (1971:5): [True: 4.53k, False: 382k]
  ------------------
 1972|  4.53k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 1, 2);
 1973|  4.53k|        break;
 1974|  4.53k|    case EHTokFloat1x3:
  ------------------
  |  Branch (1974:5): [True: 4.53k, False: 382k]
  ------------------
 1975|  4.53k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 1, 3);
 1976|  4.53k|        break;
 1977|  4.53k|    case EHTokFloat1x4:
  ------------------
  |  Branch (1977:5): [True: 4.53k, False: 382k]
  ------------------
 1978|  4.53k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 1, 4);
 1979|  4.53k|        break;
 1980|  4.53k|    case EHTokFloat2x1:
  ------------------
  |  Branch (1980:5): [True: 4.53k, False: 382k]
  ------------------
 1981|  4.53k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 2, 1);
 1982|  4.53k|        break;
 1983|  4.53k|    case EHTokFloat2x2:
  ------------------
  |  Branch (1983:5): [True: 4.53k, False: 382k]
  ------------------
 1984|  4.53k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 2, 2);
 1985|  4.53k|        break;
 1986|  4.53k|    case EHTokFloat2x3:
  ------------------
  |  Branch (1986:5): [True: 4.53k, False: 382k]
  ------------------
 1987|  4.53k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 2, 3);
 1988|  4.53k|        break;
 1989|  4.53k|    case EHTokFloat2x4:
  ------------------
  |  Branch (1989:5): [True: 4.53k, False: 382k]
  ------------------
 1990|  4.53k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 2, 4);
 1991|  4.53k|        break;
 1992|  4.53k|    case EHTokFloat3x1:
  ------------------
  |  Branch (1992:5): [True: 4.53k, False: 382k]
  ------------------
 1993|  4.53k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 3, 1);
 1994|  4.53k|        break;
 1995|  4.53k|    case EHTokFloat3x2:
  ------------------
  |  Branch (1995:5): [True: 4.53k, False: 382k]
  ------------------
 1996|  4.53k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 3, 2);
 1997|  4.53k|        break;
 1998|  4.53k|    case EHTokFloat3x3:
  ------------------
  |  Branch (1998:5): [True: 4.53k, False: 382k]
  ------------------
 1999|  4.53k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 3, 3);
 2000|  4.53k|        break;
 2001|  4.53k|    case EHTokFloat3x4:
  ------------------
  |  Branch (2001:5): [True: 4.53k, False: 382k]
  ------------------
 2002|  4.53k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 3, 4);
 2003|  4.53k|        break;
 2004|  4.53k|    case EHTokFloat4x1:
  ------------------
  |  Branch (2004:5): [True: 4.53k, False: 382k]
  ------------------
 2005|  4.53k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 4, 1);
 2006|  4.53k|        break;
 2007|  4.53k|    case EHTokFloat4x2:
  ------------------
  |  Branch (2007:5): [True: 4.53k, False: 382k]
  ------------------
 2008|  4.53k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 4, 2);
 2009|  4.53k|        break;
 2010|  4.53k|    case EHTokFloat4x3:
  ------------------
  |  Branch (2010:5): [True: 4.53k, False: 382k]
  ------------------
 2011|  4.53k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 4, 3);
 2012|  4.53k|        break;
 2013|  4.53k|    case EHTokFloat4x4:
  ------------------
  |  Branch (2013:5): [True: 4.53k, False: 382k]
  ------------------
 2014|  4.53k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 4, 4);
 2015|  4.53k|        break;
 2016|       |
 2017|      0|    case EHTokHalf1x1:
  ------------------
  |  Branch (2017:5): [True: 0, False: 386k]
  ------------------
 2018|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 1, 1);
 2019|      0|        break;
 2020|      0|    case EHTokHalf1x2:
  ------------------
  |  Branch (2020:5): [True: 0, False: 386k]
  ------------------
 2021|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 1, 2);
 2022|      0|        break;
 2023|      0|    case EHTokHalf1x3:
  ------------------
  |  Branch (2023:5): [True: 0, False: 386k]
  ------------------
 2024|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 1, 3);
 2025|      0|        break;
 2026|      0|    case EHTokHalf1x4:
  ------------------
  |  Branch (2026:5): [True: 0, False: 386k]
  ------------------
 2027|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 1, 4);
 2028|      0|        break;
 2029|      0|    case EHTokHalf2x1:
  ------------------
  |  Branch (2029:5): [True: 0, False: 386k]
  ------------------
 2030|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 2, 1);
 2031|      0|        break;
 2032|      0|    case EHTokHalf2x2:
  ------------------
  |  Branch (2032:5): [True: 0, False: 386k]
  ------------------
 2033|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 2, 2);
 2034|      0|        break;
 2035|      0|    case EHTokHalf2x3:
  ------------------
  |  Branch (2035:5): [True: 0, False: 386k]
  ------------------
 2036|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 2, 3);
 2037|      0|        break;
 2038|      0|    case EHTokHalf2x4:
  ------------------
  |  Branch (2038:5): [True: 0, False: 386k]
  ------------------
 2039|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 2, 4);
 2040|      0|        break;
 2041|      0|    case EHTokHalf3x1:
  ------------------
  |  Branch (2041:5): [True: 0, False: 386k]
  ------------------
 2042|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 3, 1);
 2043|      0|        break;
 2044|      0|    case EHTokHalf3x2:
  ------------------
  |  Branch (2044:5): [True: 0, False: 386k]
  ------------------
 2045|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 3, 2);
 2046|      0|        break;
 2047|      0|    case EHTokHalf3x3:
  ------------------
  |  Branch (2047:5): [True: 0, False: 386k]
  ------------------
 2048|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 3, 3);
 2049|      0|        break;
 2050|      0|    case EHTokHalf3x4:
  ------------------
  |  Branch (2050:5): [True: 0, False: 386k]
  ------------------
 2051|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 3, 4);
 2052|      0|        break;
 2053|      0|    case EHTokHalf4x1:
  ------------------
  |  Branch (2053:5): [True: 0, False: 386k]
  ------------------
 2054|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 4, 1);
 2055|      0|        break;
 2056|      0|    case EHTokHalf4x2:
  ------------------
  |  Branch (2056:5): [True: 0, False: 386k]
  ------------------
 2057|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 4, 2);
 2058|      0|        break;
 2059|      0|    case EHTokHalf4x3:
  ------------------
  |  Branch (2059:5): [True: 0, False: 386k]
  ------------------
 2060|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 4, 3);
 2061|      0|        break;
 2062|      0|    case EHTokHalf4x4:
  ------------------
  |  Branch (2062:5): [True: 0, False: 386k]
  ------------------
 2063|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 4, 4);
 2064|      0|        break;
 2065|       |
 2066|    336|    case EHTokDouble1x1:
  ------------------
  |  Branch (2066:5): [True: 336, False: 386k]
  ------------------
 2067|    336|        new(&type) TType(EbtDouble, EvqTemporary, 0, 1, 1);
 2068|    336|        break;
 2069|    336|    case EHTokDouble1x2:
  ------------------
  |  Branch (2069:5): [True: 336, False: 386k]
  ------------------
 2070|    336|        new(&type) TType(EbtDouble, EvqTemporary, 0, 1, 2);
 2071|    336|        break;
 2072|    336|    case EHTokDouble1x3:
  ------------------
  |  Branch (2072:5): [True: 336, False: 386k]
  ------------------
 2073|    336|        new(&type) TType(EbtDouble, EvqTemporary, 0, 1, 3);
 2074|    336|        break;
 2075|    336|    case EHTokDouble1x4:
  ------------------
  |  Branch (2075:5): [True: 336, False: 386k]
  ------------------
 2076|    336|        new(&type) TType(EbtDouble, EvqTemporary, 0, 1, 4);
 2077|    336|        break;
 2078|    336|    case EHTokDouble2x1:
  ------------------
  |  Branch (2078:5): [True: 336, False: 386k]
  ------------------
 2079|    336|        new(&type) TType(EbtDouble, EvqTemporary, 0, 2, 1);
 2080|    336|        break;
 2081|    336|    case EHTokDouble2x2:
  ------------------
  |  Branch (2081:5): [True: 336, False: 386k]
  ------------------
 2082|    336|        new(&type) TType(EbtDouble, EvqTemporary, 0, 2, 2);
 2083|    336|        break;
 2084|    336|    case EHTokDouble2x3:
  ------------------
  |  Branch (2084:5): [True: 336, False: 386k]
  ------------------
 2085|    336|        new(&type) TType(EbtDouble, EvqTemporary, 0, 2, 3);
 2086|    336|        break;
 2087|    336|    case EHTokDouble2x4:
  ------------------
  |  Branch (2087:5): [True: 336, False: 386k]
  ------------------
 2088|    336|        new(&type) TType(EbtDouble, EvqTemporary, 0, 2, 4);
 2089|    336|        break;
 2090|    336|    case EHTokDouble3x1:
  ------------------
  |  Branch (2090:5): [True: 336, False: 386k]
  ------------------
 2091|    336|        new(&type) TType(EbtDouble, EvqTemporary, 0, 3, 1);
 2092|    336|        break;
 2093|    336|    case EHTokDouble3x2:
  ------------------
  |  Branch (2093:5): [True: 336, False: 386k]
  ------------------
 2094|    336|        new(&type) TType(EbtDouble, EvqTemporary, 0, 3, 2);
 2095|    336|        break;
 2096|    336|    case EHTokDouble3x3:
  ------------------
  |  Branch (2096:5): [True: 336, False: 386k]
  ------------------
 2097|    336|        new(&type) TType(EbtDouble, EvqTemporary, 0, 3, 3);
 2098|    336|        break;
 2099|    336|    case EHTokDouble3x4:
  ------------------
  |  Branch (2099:5): [True: 336, False: 386k]
  ------------------
 2100|    336|        new(&type) TType(EbtDouble, EvqTemporary, 0, 3, 4);
 2101|    336|        break;
 2102|    336|    case EHTokDouble4x1:
  ------------------
  |  Branch (2102:5): [True: 336, False: 386k]
  ------------------
 2103|    336|        new(&type) TType(EbtDouble, EvqTemporary, 0, 4, 1);
 2104|    336|        break;
 2105|    336|    case EHTokDouble4x2:
  ------------------
  |  Branch (2105:5): [True: 336, False: 386k]
  ------------------
 2106|    336|        new(&type) TType(EbtDouble, EvqTemporary, 0, 4, 2);
 2107|    336|        break;
 2108|    336|    case EHTokDouble4x3:
  ------------------
  |  Branch (2108:5): [True: 336, False: 386k]
  ------------------
 2109|    336|        new(&type) TType(EbtDouble, EvqTemporary, 0, 4, 3);
 2110|    336|        break;
 2111|    336|    case EHTokDouble4x4:
  ------------------
  |  Branch (2111:5): [True: 336, False: 386k]
  ------------------
 2112|    336|        new(&type) TType(EbtDouble, EvqTemporary, 0, 4, 4);
 2113|    336|        break;
 2114|       |
 2115|      0|    case EHTokMin16float1x1:
  ------------------
  |  Branch (2115:5): [True: 0, False: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 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: 386k]
  ------------------
 2357|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 4, 4);
 2358|      0|        break;
 2359|       |
 2360|      1|    default:
  ------------------
  |  Branch (2360:5): [True: 1, False: 386k]
  ------------------
 2361|      1|        return false;
 2362|   386k|    }
 2363|       |
 2364|   346k|    advanceToken();
 2365|       |
 2366|   346k|    if ((isUnorm || isSnorm) && !type.isFloatingDomain()) {
  ------------------
  |  Branch (2366:10): [True: 0, False: 346k]
  |  Branch (2366:21): [True: 0, False: 346k]
  |  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|   346k|    return true;
 2372|   346k|}
_ZN7glslang11HlslGrammar24acceptFunctionParametersERNS_9TFunctionE:
 2826|   112k|{
 2827|   112k|    parseContext.beginParameterParsing(function);
 2828|       |
 2829|       |    // LEFT_PAREN
 2830|   112k|    if (! acceptTokenClass(EHTokLeftParen))
  ------------------
  |  Branch (2830:9): [True: 0, False: 112k]
  ------------------
 2831|      0|        return false;
 2832|       |
 2833|       |    // VOID RIGHT_PAREN
 2834|   112k|    if (! acceptTokenClass(EHTokVoid)) {
  ------------------
  |  Branch (2834:9): [True: 111k, False: 980]
  ------------------
 2835|   251k|        do {
 2836|       |            // parameter_declaration
 2837|   251k|            if (! acceptParameterDeclaration(function))
  ------------------
  |  Branch (2837:17): [True: 0, False: 251k]
  ------------------
 2838|      0|                break;
 2839|       |
 2840|       |            // COMMA
 2841|   251k|            if (! acceptTokenClass(EHTokComma))
  ------------------
  |  Branch (2841:17): [True: 111k, False: 140k]
  ------------------
 2842|   111k|                break;
 2843|   251k|        } while (true);
  ------------------
  |  Branch (2843:18): [True: 140k, Folded]
  ------------------
 2844|   111k|    }
 2845|       |
 2846|       |    // RIGHT_PAREN
 2847|   112k|    if (! acceptTokenClass(EHTokRightParen)) {
  ------------------
  |  Branch (2847:9): [True: 0, False: 112k]
  ------------------
 2848|      0|        expected(")");
 2849|      0|        return false;
 2850|      0|    }
 2851|       |
 2852|   112k|    return true;
 2853|   112k|}
_ZN7glslang11HlslGrammar33acceptDefaultParameterDeclarationERKNS_5TTypeERPNS_12TIntermTypedE:
 2859|   251k|{
 2860|   251k|    node = nullptr;
 2861|       |
 2862|       |    // Valid not to have a default_parameter_declaration
 2863|   251k|    if (!acceptTokenClass(EHTokAssign))
  ------------------
  |  Branch (2863:9): [True: 251k, False: 0]
  ------------------
 2864|   251k|        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|   251k|{
 2912|       |    // attributes
 2913|   251k|    TAttributes attributes;
 2914|   251k|    acceptAttributes(attributes);
 2915|       |
 2916|       |    // fully_specified_type
 2917|   251k|    TType* type = new TType;
 2918|   251k|    if (! acceptFullySpecifiedType(*type, attributes))
  ------------------
  |  Branch (2918:9): [True: 0, False: 251k]
  ------------------
 2919|      0|        return false;
 2920|       |
 2921|       |    // merge in the attributes
 2922|   251k|    parseContext.transferTypeAttributes(token.loc, attributes, *type);
 2923|       |
 2924|       |    // identifier
 2925|   251k|    HlslToken idToken;
 2926|   251k|    acceptIdentifier(idToken);
 2927|       |
 2928|       |    // array_specifier
 2929|   251k|    TArraySizes* arraySizes = nullptr;
 2930|   251k|    acceptArraySpecifier(arraySizes);
 2931|   251k|    if (arraySizes) {
  ------------------
  |  Branch (2931:9): [True: 0, False: 251k]
  ------------------
 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|   251k|    acceptPostDecls(type->getQualifier());
 2942|       |
 2943|   251k|    TIntermTyped* defaultValue;
 2944|   251k|    if (!acceptDefaultParameterDeclaration(*type, defaultValue))
  ------------------
  |  Branch (2944:9): [True: 0, False: 251k]
  ------------------
 2945|      0|        return false;
 2946|       |
 2947|   251k|    parseContext.paramFix(*type);
 2948|       |
 2949|       |    // If any prior parameters have default values, all the parameters after that must as well.
 2950|   251k|    if (defaultValue == nullptr && function.getDefaultParamCount() > 0) {
  ------------------
  |  Branch (2950:9): [True: 251k, False: 0]
  |  Branch (2950:36): [True: 0, False: 251k]
  ------------------
 2951|      0|        parseContext.error(idToken.loc, "invalid parameter after default value parameters", idToken.getCStrOrEmpty(), "");
 2952|      0|        return false;
 2953|      0|    }
 2954|       |
 2955|   251k|    TParameter param = { idToken.string, type, defaultValue };
 2956|   251k|    function.addParameter(param);
 2957|       |
 2958|   251k|    return true;
 2959|   251k|}
_ZN7glslang11HlslGrammar16acceptExpressionERPNS_12TIntermTypedE:
 3051|     37|{
 3052|     37|    node = nullptr;
 3053|       |
 3054|       |    // assignment_expression
 3055|     37|    if (! acceptAssignmentExpression(node))
  ------------------
  |  Branch (3055:9): [True: 33, False: 4]
  ------------------
 3056|     33|        return false;
 3057|       |
 3058|      4|    if (! peekTokenClass(EHTokComma))
  ------------------
  |  Branch (3058:9): [True: 4, False: 0]
  ------------------
 3059|      4|        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|    131|{
 3151|       |    // initializer
 3152|    131|    if (peekTokenClass(EHTokLeftBrace)) {
  ------------------
  |  Branch (3152:9): [True: 0, False: 131]
  ------------------
 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|    131|    if (! acceptConditionalExpression(node))
  ------------------
  |  Branch (3161:9): [True: 120, False: 11]
  ------------------
 3162|    120|        return false;
 3163|       |
 3164|       |    // assignment operation?
 3165|     11|    TOperator assignOp = HlslOpMap::assignment(peek());
 3166|     11|    if (assignOp == EOpNull)
  ------------------
  |  Branch (3166:9): [True: 11, False: 0]
  ------------------
 3167|     11|        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|    131|{
 3206|       |    // binary_expression
 3207|    131|    if (! acceptBinaryExpression(node, PlLogicalOr))
  ------------------
  |  Branch (3207:9): [True: 120, False: 11]
  ------------------
 3208|    120|        return false;
 3209|       |
 3210|     11|    if (! acceptTokenClass(EHTokQuestion))
  ------------------
  |  Branch (3210:9): [True: 7, False: 4]
  ------------------
 3211|      7|        return true;
 3212|       |
 3213|      4|    node = parseContext.convertConditionalExpression(token.loc, node, false);
 3214|      4|    if (node == nullptr)
  ------------------
  |  Branch (3214:9): [True: 0, False: 4]
  ------------------
 3215|      0|        return false;
 3216|       |
 3217|      4|    ++parseContext.controlFlowNestingLevel;  // this only needs to work right if no errors
 3218|       |
 3219|      4|    TIntermTyped* trueNode = nullptr;
 3220|      4|    if (! acceptExpression(trueNode)) {
  ------------------
  |  Branch (3220:9): [True: 0, False: 4]
  ------------------
 3221|      0|        expected("expression after ?");
 3222|      0|        return false;
 3223|      0|    }
 3224|      4|    TSourceLoc loc = token.loc;
 3225|       |
 3226|      4|    if (! acceptTokenClass(EHTokColon)) {
  ------------------
  |  Branch (3226:9): [True: 0, False: 4]
  ------------------
 3227|      0|        expected(":");
 3228|      0|        return false;
 3229|      0|    }
 3230|       |
 3231|      4|    TIntermTyped* falseNode = nullptr;
 3232|      4|    if (! acceptAssignmentExpression(falseNode)) {
  ------------------
  |  Branch (3232:9): [True: 0, False: 4]
  ------------------
 3233|      0|        expected("expression after :");
 3234|      0|        return false;
 3235|      0|    }
 3236|       |
 3237|      4|    --parseContext.controlFlowNestingLevel;
 3238|       |
 3239|      4|    node = intermediate.addSelection(node, trueNode, falseNode, loc);
 3240|      4|    if (!node) {
  ------------------
  |  Branch (3240:9): [True: 0, False: 4]
  ------------------
 3241|      0|        parseContext.binaryOpError(loc, ":", trueNode->getCompleteString(), falseNode->getCompleteString());
 3242|      0|        return false;
 3243|      0|    }
 3244|       |
 3245|      4|    return true;
 3246|      4|}
_ZN7glslang11HlslGrammar22acceptBinaryExpressionERPNS_12TIntermTypedENS_15PrecedenceLevelE:
 3259|  1.58k|{
 3260|  1.58k|    if (precedenceLevel > PlMul)
  ------------------
  |  Branch (3260:9): [True: 140, False: 1.44k]
  ------------------
 3261|    140|        return acceptUnaryExpression(node);
 3262|       |
 3263|       |    // assignment_expression
 3264|  1.44k|    if (! acceptBinaryExpression(node, (PrecedenceLevel)(precedenceLevel + 1)))
  ------------------
  |  Branch (3264:9): [True: 1.31k, False: 130]
  ------------------
 3265|  1.31k|        return false;
 3266|       |
 3267|    132|    do {
 3268|    132|        TOperator op = HlslOpMap::binary(peek());
 3269|    132|        PrecedenceLevel tokenLevel = HlslOpMap::precedenceLevel(op);
 3270|    132|        if (tokenLevel < precedenceLevel)
  ------------------
  |  Branch (3270:13): [True: 123, False: 9]
  ------------------
 3271|    123|            return true;
 3272|       |
 3273|       |        // ... op
 3274|      9|        TSourceLoc loc = token.loc;
 3275|      9|        advanceToken();
 3276|       |
 3277|       |        // ... expression
 3278|      9|        TIntermTyped* rightNode = nullptr;
 3279|      9|        if (! acceptBinaryExpression(rightNode, (PrecedenceLevel)(precedenceLevel + 1))) {
  ------------------
  |  Branch (3279:13): [True: 7, False: 2]
  ------------------
 3280|      7|            expected("expression");
 3281|      7|            return false;
 3282|      7|        }
 3283|       |
 3284|      2|        node = intermediate.addBinaryMath(op, node, rightNode, loc);
 3285|      2|        if (node == nullptr) {
  ------------------
  |  Branch (3285:13): [True: 0, False: 2]
  ------------------
 3286|      0|            parseContext.error(loc, "Could not perform requested binary operation", "", "");
 3287|      0|            return false;
 3288|      0|        }
 3289|      2|    } while (true);
  ------------------
  |  Branch (3289:14): [True: 2, Folded]
  ------------------
 3290|    130|}
_ZN7glslang11HlslGrammar21acceptUnaryExpressionERPNS_12TIntermTypedE:
 3303|    147|{
 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|    147|    if (acceptTokenClass(EHTokLeftParen)) {
  ------------------
  |  Branch (3307:9): [True: 0, False: 147]
  ------------------
 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|    147|    TOperator unaryOp = HlslOpMap::preUnary(peek());
 3354|       |
 3355|       |    // postfix_expression (if no unary operator)
 3356|    147|    if (unaryOp == EOpNull)
  ------------------
  |  Branch (3356:9): [True: 140, False: 7]
  ------------------
 3357|    140|        return acceptPostfixExpression(node);
 3358|       |
 3359|       |    // op unary_expression
 3360|      7|    TSourceLoc loc = token.loc;
 3361|      7|    advanceToken();
 3362|      7|    if (! acceptUnaryExpression(node))
  ------------------
  |  Branch (3362:9): [True: 0, False: 7]
  ------------------
 3363|      0|        return false;
 3364|       |
 3365|       |    // + is a no-op
 3366|      7|    if (unaryOp == EOpAdd)
  ------------------
  |  Branch (3366:9): [True: 2, False: 5]
  ------------------
 3367|      2|        return true;
 3368|       |
 3369|      5|    node = intermediate.addUnaryMath(unaryOp, node, loc);
 3370|       |
 3371|       |    // These unary ops require lvalues
 3372|      5|    if (unaryOp == EOpPreIncrement || unaryOp == EOpPreDecrement)
  ------------------
  |  Branch (3372:9): [True: 0, False: 5]
  |  Branch (3372:39): [True: 0, False: 5]
  ------------------
 3373|      0|        node = parseContext.handleLvalue(loc, "unary operator", node);
 3374|       |
 3375|      5|    return node != nullptr;
 3376|      7|}
_ZN7glslang11HlslGrammar23acceptPostfixExpressionERPNS_12TIntermTypedE:
 3392|    140|{
 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|    140|    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|    140|    if (acceptTokenClass(EHTokLeftParen)) {
  ------------------
  |  Branch (3401:9): [True: 0, False: 140]
  ------------------
 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|    140|    } else if (acceptLiteral(node)) {
  ------------------
  |  Branch (3411:16): [True: 11, False: 129]
  ------------------
 3412|       |        // literal (nothing else to do yet)
 3413|    129|    } else if (acceptConstructor(node)) {
  ------------------
  |  Branch (3413:16): [True: 2, False: 127]
  ------------------
 3414|       |        // constructor (nothing else to do yet)
 3415|    127|    } else if (acceptIdentifier(idToken)) {
  ------------------
  |  Branch (3415:16): [True: 48, False: 79]
  ------------------
 3416|       |        // user-type, namespace name, variable, or function name
 3417|     48|        TString* fullName = idToken.string;
 3418|     48|        while (acceptTokenClass(EHTokColonColon)) {
  ------------------
  |  Branch (3418:16): [True: 0, False: 48]
  ------------------
 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|     48|        if (! peekTokenClass(EHTokLeftParen)) {
  ------------------
  |  Branch (3429:13): [True: 40, False: 8]
  ------------------
 3430|     40|            node = parseContext.handleVariable(idToken.loc, fullName);
 3431|     40|            if (node == nullptr)
  ------------------
  |  Branch (3431:17): [True: 0, False: 40]
  ------------------
 3432|      0|                return false;
 3433|     40|        } else if (acceptFunctionCall(idToken.loc, *fullName, node, nullptr)) {
  ------------------
  |  Branch (3433:20): [True: 0, False: 8]
  ------------------
 3434|       |            // function_call (nothing else to do yet)
 3435|      8|        } else {
 3436|      8|            expected("function call arguments");
 3437|      8|            return false;
 3438|      8|        }
 3439|     79|    } else {
 3440|       |        // nothing found, can't post operate
 3441|     79|        return false;
 3442|     79|    }
 3443|       |
 3444|       |    // Something was found, chain as many postfix operations as exist.
 3445|     54|    do {
 3446|     54|        TSourceLoc loc = token.loc;
 3447|     54|        TOperator postOp = HlslOpMap::postUnary(peek());
 3448|       |
 3449|       |        // Consume only a valid post-unary operator, otherwise we are done.
 3450|     54|        switch (postOp) {
 3451|      1|        case EOpIndexDirectStruct:
  ------------------
  |  Branch (3451:9): [True: 1, False: 53]
  ------------------
 3452|     34|        case EOpIndexIndirect:
  ------------------
  |  Branch (3452:9): [True: 33, False: 21]
  ------------------
 3453|     34|        case EOpPostIncrement:
  ------------------
  |  Branch (3453:9): [True: 0, False: 54]
  ------------------
 3454|     34|        case EOpPostDecrement:
  ------------------
  |  Branch (3454:9): [True: 0, False: 54]
  ------------------
 3455|     34|        case EOpScoping:
  ------------------
  |  Branch (3455:9): [True: 0, False: 54]
  ------------------
 3456|     34|            advanceToken();
 3457|     34|            break;
 3458|     20|        default:
  ------------------
  |  Branch (3458:9): [True: 20, False: 34]
  ------------------
 3459|     20|            return true;
 3460|     54|        }
 3461|       |
 3462|       |        // We have a valid post-unary operator, process it.
 3463|     34|        switch (postOp) {
 3464|      0|        case EOpScoping:
  ------------------
  |  Branch (3464:9): [True: 0, False: 34]
  ------------------
 3465|      1|        case EOpIndexDirectStruct:
  ------------------
  |  Branch (3465:9): [True: 1, False: 33]
  ------------------
 3466|      1|        {
 3467|       |            // DOT IDENTIFIER
 3468|       |            // includes swizzles, member variables, and member functions
 3469|      1|            HlslToken field;
 3470|      1|            if (! acceptIdentifier(field)) {
  ------------------
  |  Branch (3470:17): [True: 0, False: 1]
  ------------------
 3471|      0|                expected("swizzle or member");
 3472|      0|                return false;
 3473|      0|            }
 3474|       |
 3475|      1|            if (peekTokenClass(EHTokLeftParen)) {
  ------------------
  |  Branch (3475:17): [True: 0, False: 1]
  ------------------
 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|      1|                node = parseContext.handleDotDereference(field.loc, node, *field.string);
 3486|       |
 3487|      1|            break;
 3488|      1|        }
 3489|     33|        case EOpIndexIndirect:
  ------------------
  |  Branch (3489:9): [True: 33, False: 1]
  ------------------
 3490|     33|        {
 3491|       |            // LEFT_BRACKET integer_expression RIGHT_BRACKET
 3492|     33|            TIntermTyped* indexNode = nullptr;
 3493|     33|            if (! acceptExpression(indexNode) ||
  ------------------
  |  Branch (3493:17): [True: 33, False: 0]
  ------------------
 3494|     33|                ! peekTokenClass(EHTokRightBracket)) {
  ------------------
  |  Branch (3494:17): [True: 0, False: 0]
  ------------------
 3495|     33|                expected("expression followed by ']'");
 3496|     33|                return false;
 3497|     33|            }
 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: 34]
  ------------------
 3505|       |            // INC_OP
 3506|       |            // fall through
 3507|      0|        case EOpPostDecrement:
  ------------------
  |  Branch (3507:9): [True: 0, False: 34]
  ------------------
 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: 34]
  ------------------
 3513|      0|            assert(0);
 3514|      0|            break;
 3515|     34|        }
 3516|     34|    } while (true);
  ------------------
  |  Branch (3516:14): [True: 1, Folded]
  ------------------
 3517|     53|}
_ZN7glslang11HlslGrammar17acceptConstructorERPNS_12TIntermTypedE:
 3523|    129|{
 3524|       |    // type
 3525|    129|    TType type;
 3526|    129|    if (acceptType(type)) {
  ------------------
  |  Branch (3526:9): [True: 81, False: 48]
  ------------------
 3527|     81|        TFunction* constructorFunction = parseContext.makeConstructorCall(token.loc, type);
 3528|     81|        if (constructorFunction == nullptr)
  ------------------
  |  Branch (3528:13): [True: 0, False: 81]
  ------------------
 3529|      0|            return false;
 3530|       |
 3531|       |        // arguments
 3532|     81|        TIntermTyped* arguments = nullptr;
 3533|     81|        if (! acceptArguments(constructorFunction, arguments)) {
  ------------------
  |  Branch (3533:13): [True: 79, False: 2]
  ------------------
 3534|       |            // It's possible this is a type keyword used as an identifier.  Put the token back
 3535|       |            // for later use.
 3536|     79|            recedeToken();
 3537|     79|            return false;
 3538|     79|        }
 3539|       |
 3540|      2|        if (arguments == nullptr) {
  ------------------
  |  Branch (3540:13): [True: 0, False: 2]
  ------------------
 3541|      0|            expected("one or more arguments");
 3542|      0|            return false;
 3543|      0|        }
 3544|       |
 3545|       |        // hook it up
 3546|      2|        node = parseContext.handleFunctionCall(token.loc, constructorFunction, arguments);
 3547|       |
 3548|      2|        return node != nullptr;
 3549|      2|    }
 3550|       |
 3551|     48|    return false;
 3552|    129|}
_ZN7glslang11HlslGrammar18acceptFunctionCallERKNS_10TSourceLocERNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERPNS_12TIntermTypedESD_:
 3560|      8|{
 3561|       |    // name
 3562|      8|    TString* functionName = nullptr;
 3563|      8|    if (baseObject == nullptr) {
  ------------------
  |  Branch (3563:9): [True: 8, False: 0]
  ------------------
 3564|      8|        functionName = &name;
 3565|      8|    } 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|      8|    TFunction* function = new TFunction(functionName, TType(EbtVoid));
 3583|       |
 3584|       |    // arguments
 3585|      8|    TIntermTyped* arguments = nullptr;
 3586|      8|    if (baseObject != nullptr) {
  ------------------
  |  Branch (3586:9): [True: 0, False: 8]
  ------------------
 3587|       |        // Non-static member functions have an implicit first argument of the base object.
 3588|      0|        parseContext.handleFunctionArgument(function, arguments, baseObject);
 3589|      0|    }
 3590|      8|    if (! acceptArguments(function, arguments))
  ------------------
  |  Branch (3590:9): [True: 8, False: 0]
  ------------------
 3591|      8|        return false;
 3592|       |
 3593|       |    // call
 3594|      0|    node = parseContext.handleFunctionCall(loc, function, arguments);
 3595|       |
 3596|      0|    return node != nullptr;
 3597|      8|}
_ZN7glslang11HlslGrammar15acceptArgumentsEPNS_9TFunctionERPNS_12TIntermTypedE:
 3606|     89|{
 3607|       |    // LEFT_PAREN
 3608|     89|    if (! acceptTokenClass(EHTokLeftParen))
  ------------------
  |  Branch (3608:9): [True: 0, False: 89]
  ------------------
 3609|      0|        return false;
 3610|       |
 3611|       |    // RIGHT_PAREN
 3612|     89|    if (acceptTokenClass(EHTokRightParen))
  ------------------
  |  Branch (3612:9): [True: 0, False: 89]
  ------------------
 3613|      0|        return true;
 3614|       |
 3615|       |    // must now be at least one expression...
 3616|     89|    do {
 3617|       |        // expression
 3618|     89|        TIntermTyped* arg;
 3619|     89|        if (! acceptAssignmentExpression(arg))
  ------------------
  |  Branch (3619:13): [True: 86, False: 3]
  ------------------
 3620|     86|            return false;
 3621|       |
 3622|       |        // hook it up
 3623|      3|        parseContext.handleFunctionArgument(function, arguments, arg);
 3624|       |
 3625|       |        // COMMA
 3626|      3|        if (! acceptTokenClass(EHTokComma))
  ------------------
  |  Branch (3626:13): [True: 3, False: 0]
  ------------------
 3627|      3|            break;
 3628|      3|    } while (true);
  ------------------
  |  Branch (3628:14): [True: 0, Folded]
  ------------------
 3629|       |
 3630|       |    // RIGHT_PAREN
 3631|      3|    if (! acceptTokenClass(EHTokRightParen)) {
  ------------------
  |  Branch (3631:9): [True: 1, False: 2]
  ------------------
 3632|      1|        expected(")");
 3633|      1|        return false;
 3634|      1|    }
 3635|       |
 3636|      2|    return true;
 3637|      3|}
_ZN7glslang11HlslGrammar13acceptLiteralERPNS_12TIntermTypedE:
 3640|    140|{
 3641|    140|    switch (token.tokenClass) {
 3642|     10|    case EHTokIntConstant:
  ------------------
  |  Branch (3642:5): [True: 10, False: 130]
  ------------------
 3643|     10|        node = intermediate.addConstantUnion(token.i, token.loc, true);
 3644|     10|        break;
 3645|      1|    case EHTokUintConstant:
  ------------------
  |  Branch (3645:5): [True: 1, False: 139]
  ------------------
 3646|      1|        node = intermediate.addConstantUnion(token.u, token.loc, true);
 3647|      1|        break;
 3648|      0|    case EHTokFloat16Constant:
  ------------------
  |  Branch (3648:5): [True: 0, False: 140]
  ------------------
 3649|      0|        node = intermediate.addConstantUnion(token.d, EbtFloat16, token.loc, true);
 3650|      0|        break;
 3651|      0|    case EHTokFloatConstant:
  ------------------
  |  Branch (3651:5): [True: 0, False: 140]
  ------------------
 3652|      0|        node = intermediate.addConstantUnion(token.d, EbtFloat, token.loc, true);
 3653|      0|        break;
 3654|      0|    case EHTokDoubleConstant:
  ------------------
  |  Branch (3654:5): [True: 0, False: 140]
  ------------------
 3655|      0|        node = intermediate.addConstantUnion(token.d, EbtDouble, token.loc, true);
 3656|      0|        break;
 3657|      0|    case EHTokBoolConstant:
  ------------------
  |  Branch (3657:5): [True: 0, False: 140]
  ------------------
 3658|      0|        node = intermediate.addConstantUnion(token.b, token.loc, true);
 3659|      0|        break;
 3660|      0|    case EHTokStringConstant:
  ------------------
  |  Branch (3660:5): [True: 0, False: 140]
  ------------------
 3661|      0|        node = intermediate.addConstantUnion(token.string, token.loc, true);
 3662|      0|        break;
 3663|       |
 3664|    129|    default:
  ------------------
  |  Branch (3664:5): [True: 129, False: 11]
  ------------------
 3665|    129|        return false;
 3666|    140|    }
 3667|       |
 3668|     11|    advanceToken();
 3669|       |
 3670|     11|    return true;
 3671|    140|}
_ZN7glslang11HlslGrammar16acceptAttributesERNS_5TListINS_14TAttributeArgsEEE:
 3847|   363k|{
 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|   363k|    do {
 3852|   363k|        HlslToken attributeToken;
 3853|       |
 3854|       |        // LEFT_BRACKET?
 3855|   363k|        if (! acceptTokenClass(EHTokLeftBracket))
  ------------------
  |  Branch (3855:13): [True: 363k, False: 0]
  ------------------
 3856|   363k|            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|   363k|}
_ZN7glslang11HlslGrammar20acceptArraySpecifierERPNS_11TArraySizesE:
 4278|   251k|{
 4279|   251k|    arraySizes = nullptr;
 4280|       |
 4281|       |    // Early-out if there aren't any array dimensions
 4282|   251k|    if (!peekTokenClass(EHTokLeftBracket))
  ------------------
  |  Branch (4282:9): [True: 251k, False: 1]
  ------------------
 4283|   251k|        return;
 4284|       |
 4285|       |    // If we get here, we have at least one array dimension.  This will track the sizes we find.
 4286|      1|    arraySizes = new TArraySizes;
 4287|       |
 4288|       |    // Collect each array dimension.
 4289|      1|    while (acceptTokenClass(EHTokLeftBracket)) {
  ------------------
  |  Branch (4289:12): [True: 1, False: 0]
  ------------------
 4290|      1|        TSourceLoc loc = token.loc;
 4291|      1|        TIntermTyped* sizeExpr = nullptr;
 4292|       |
 4293|       |        // Array sizing expression is optional.  If omitted, array will be later sized by initializer list.
 4294|      1|        const bool hasArraySize = acceptAssignmentExpression(sizeExpr);
 4295|       |
 4296|      1|        if (! acceptTokenClass(EHTokRightBracket)) {
  ------------------
  |  Branch (4296:13): [True: 1, False: 0]
  ------------------
 4297|      1|            expected("]");
 4298|      1|            return;
 4299|      1|        }
 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|      1|}
_ZN7glslang11HlslGrammar15acceptPostDeclsERNS_10TQualifierE:
 4323|   363k|{
 4324|   363k|    bool found = false;
 4325|       |
 4326|   363k|    do {
 4327|       |        // COLON
 4328|   363k|        if (acceptTokenClass(EHTokColon)) {
  ------------------
  |  Branch (4328:13): [True: 0, False: 363k]
  ------------------
 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|   363k|        } else if (peekTokenClass(EHTokLeftAngle)) {
  ------------------
  |  Branch (4416:20): [True: 0, False: 363k]
  ------------------
 4417|      0|            found = true;
 4418|      0|            acceptAnnotations(qualifier);
 4419|      0|        } else
 4420|   363k|            break;
 4421|       |
 4422|   363k|    } while (true);
  ------------------
  |  Branch (4422:14): [True: 0, Folded]
  ------------------
 4423|       |
 4424|   363k|    return found;
 4425|   363k|}
_ZNK7glslang11HlslGrammar13getTypeStringENS_15EHlslTokenClassE:
 4462|   364k|{
 4463|   364k|    switch (tokenClass) {
 4464|      0|    case EHTokSample:     return "sample";
  ------------------
  |  Branch (4464:5): [True: 0, False: 364k]
  ------------------
 4465|      0|    case EHTokHalf:       return "half";
  ------------------
  |  Branch (4465:5): [True: 0, False: 364k]
  ------------------
 4466|      0|    case EHTokHalf1x1:    return "half1x1";
  ------------------
  |  Branch (4466:5): [True: 0, False: 364k]
  ------------------
 4467|      0|    case EHTokHalf1x2:    return "half1x2";
  ------------------
  |  Branch (4467:5): [True: 0, False: 364k]
  ------------------
 4468|      0|    case EHTokHalf1x3:    return "half1x3";
  ------------------
  |  Branch (4468:5): [True: 0, False: 364k]
  ------------------
 4469|      0|    case EHTokHalf1x4:    return "half1x4";
  ------------------
  |  Branch (4469:5): [True: 0, False: 364k]
  ------------------
 4470|      0|    case EHTokHalf2x1:    return "half2x1";
  ------------------
  |  Branch (4470:5): [True: 0, False: 364k]
  ------------------
 4471|      0|    case EHTokHalf2x2:    return "half2x2";
  ------------------
  |  Branch (4471:5): [True: 0, False: 364k]
  ------------------
 4472|      0|    case EHTokHalf2x3:    return "half2x3";
  ------------------
  |  Branch (4472:5): [True: 0, False: 364k]
  ------------------
 4473|      0|    case EHTokHalf2x4:    return "half2x4";
  ------------------
  |  Branch (4473:5): [True: 0, False: 364k]
  ------------------
 4474|      0|    case EHTokHalf3x1:    return "half3x1";
  ------------------
  |  Branch (4474:5): [True: 0, False: 364k]
  ------------------
 4475|      0|    case EHTokHalf3x2:    return "half3x2";
  ------------------
  |  Branch (4475:5): [True: 0, False: 364k]
  ------------------
 4476|      0|    case EHTokHalf3x3:    return "half3x3";
  ------------------
  |  Branch (4476:5): [True: 0, False: 364k]
  ------------------
 4477|      0|    case EHTokHalf3x4:    return "half3x4";
  ------------------
  |  Branch (4477:5): [True: 0, False: 364k]
  ------------------
 4478|      0|    case EHTokHalf4x1:    return "half4x1";
  ------------------
  |  Branch (4478:5): [True: 0, False: 364k]
  ------------------
 4479|      0|    case EHTokHalf4x2:    return "half4x2";
  ------------------
  |  Branch (4479:5): [True: 0, False: 364k]
  ------------------
 4480|      0|    case EHTokHalf4x3:    return "half4x3";
  ------------------
  |  Branch (4480:5): [True: 0, False: 364k]
  ------------------
 4481|      0|    case EHTokHalf4x4:    return "half4x4";
  ------------------
  |  Branch (4481:5): [True: 0, False: 364k]
  ------------------
 4482|      0|    case EHTokBool:       return "bool";
  ------------------
  |  Branch (4482:5): [True: 0, False: 364k]
  ------------------
 4483|      0|    case EHTokFloat:      return "float";
  ------------------
  |  Branch (4483:5): [True: 0, False: 364k]
  ------------------
 4484|      0|    case EHTokDouble:     return "double";
  ------------------
  |  Branch (4484:5): [True: 0, False: 364k]
  ------------------
 4485|      0|    case EHTokInt:        return "int";
  ------------------
  |  Branch (4485:5): [True: 0, False: 364k]
  ------------------
 4486|      0|    case EHTokUint:       return "uint";
  ------------------
  |  Branch (4486:5): [True: 0, False: 364k]
  ------------------
 4487|      0|    case EHTokMin16float: return "min16float";
  ------------------
  |  Branch (4487:5): [True: 0, False: 364k]
  ------------------
 4488|      0|    case EHTokMin10float: return "min10float";
  ------------------
  |  Branch (4488:5): [True: 0, False: 364k]
  ------------------
 4489|      0|    case EHTokMin16int:   return "min16int";
  ------------------
  |  Branch (4489:5): [True: 0, False: 364k]
  ------------------
 4490|      0|    case EHTokMin12int:   return "min12int";
  ------------------
  |  Branch (4490:5): [True: 0, False: 364k]
  ------------------
 4491|      0|    case EHTokConstantBuffer: return "ConstantBuffer";
  ------------------
  |  Branch (4491:5): [True: 0, False: 364k]
  ------------------
 4492|      0|    case EHTokLayout:     return "layout";
  ------------------
  |  Branch (4492:5): [True: 0, False: 364k]
  ------------------
 4493|   364k|    default:
  ------------------
  |  Branch (4493:5): [True: 364k, False: 0]
  ------------------
 4494|   364k|        return nullptr;
 4495|   364k|    }
 4496|   364k|}

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

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

_ZN7glslang16HlslParseContextC2ERNS_12TSymbolTableERNS_13TIntermediateEbi8EProfileRKNS_10SpvVersionE11EShLanguageR9TInfoSinkNSt3__112basic_stringIcNSC_11char_traitsIcEENS_14pool_allocatorIcEEEEb11EShMessages:
   59|    476|    TParseContextBase(symbolTable, interm, parsingBuiltins, version, profile, spvVersion, language, infoSink,
   60|    476|                      forwardCompatible, messages, &sourceEntryPointName),
   61|    476|    annotationNestingLevel(0),
   62|    476|    inputPatch(nullptr),
   63|    476|    nextInLocation(0), nextOutLocation(0),
   64|    476|    entryPointFunction(nullptr),
   65|    476|    entryPointFunctionBody(nullptr),
   66|    476|    gsStreamOutput(nullptr),
   67|    476|    clipDistanceOutput(nullptr),
   68|    476|    cullDistanceOutput(nullptr),
   69|    476|    clipDistanceInput(nullptr),
   70|    476|    cullDistanceInput(nullptr),
   71|    476|    parsingEntrypointParameters(false)
   72|    476|{
   73|    476|    globalUniformDefaults.clear();
   74|    476|    globalUniformDefaults.layoutMatrix = ElmRowMajor;
   75|    476|    globalUniformDefaults.layoutPacking = ElpStd140;
   76|       |
   77|    476|    globalBufferDefaults.clear();
   78|    476|    globalBufferDefaults.layoutMatrix = ElmRowMajor;
   79|    476|    globalBufferDefaults.layoutPacking = ElpStd430;
   80|       |
   81|    476|    globalInputDefaults.clear();
   82|    476|    globalOutputDefaults.clear();
   83|       |
   84|    476|    clipSemanticNSizeIn.fill(0);
   85|    476|    cullSemanticNSizeIn.fill(0);
   86|    476|    clipSemanticNSizeOut.fill(0);
   87|    476|    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|    476|    if (language == EShLangVertex ||
  ------------------
  |  Branch (92:9): [True: 112, False: 364]
  ------------------
   93|    364|        language == EShLangTessControl ||
  ------------------
  |  Branch (93:9): [True: 28, False: 336]
  ------------------
   94|    336|        language == EShLangTessEvaluation ||
  ------------------
  |  Branch (94:9): [True: 28, False: 308]
  ------------------
   95|    308|        language == EShLangGeometry)
  ------------------
  |  Branch (95:9): [True: 28, False: 280]
  ------------------
   96|    196|        globalOutputDefaults.layoutXfbBuffer = 0;
   97|       |
   98|    476|    if (language == EShLangGeometry)
  ------------------
  |  Branch (98:9): [True: 28, False: 448]
  ------------------
   99|     28|        globalOutputDefaults.layoutStream = 0;
  100|    476|}
_ZN7glslang16HlslParseContextD2Ev:
  103|    476|{
  104|    476|}
_ZN7glslang16HlslParseContext27initializeExtensionBehaviorEv:
  107|     28|{
  108|     28|    TParseContextBase::initializeExtensionBehavior();
  109|       |
  110|       |    // HLSL allows #line by default.
  111|     28|    extensionBehavior[E_GL_GOOGLE_cpp_style_line_directive] = EBhEnable;
  112|     28|}
_ZN7glslang16HlslParseContext9setLimitsERK16TBuiltInResource:
  115|     28|{
  116|     28|    resources = r;
  117|     28|    intermediate.setLimits(resources);
  118|     28|}
_ZN7glslang16HlslParseContext18parseShaderStringsERNS_10TPpContextERNS_13TInputScannerEb:
  126|     56|{
  127|     56|    currentScanner = &input;
  128|     56|    ppContext.setInput(input, versionWillBeError);
  129|       |
  130|     56|    HlslScanContext scanContext(*this, ppContext);
  131|     56|    HlslGrammar grammar(scanContext, *this);
  132|     56|    if (!grammar.parse()) {
  ------------------
  |  Branch (132:9): [True: 2, False: 54]
  ------------------
  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|      2|        const glslang::TSourceLoc& sourceLoc = input.getSourceLoc();
  136|      2|        infoSink.info << sourceLoc.getFilenameStr() << "(" << sourceLoc.line << "): error at column " << sourceLoc.column
  137|      2|                      << ", HLSL parsing failed.\n";
  138|      2|        ++numErrors;
  139|      2|        return false;
  140|      2|    }
  141|       |
  142|     54|    finish();
  143|       |
  144|     54|    return numErrors == 0;
  145|     56|}
_ZN7glslang16HlslParseContext19getLayoutFromTxTypeERKNS_10TSourceLocERKNS_5TTypeE:
  186|  1.59k|{
  187|  1.59k|    if (txType.isStruct()) {
  ------------------
  |  Branch (187:9): [True: 0, False: 1.59k]
  ------------------
  188|       |        // TODO: implement.
  189|      0|        error(loc, "unimplemented: structure type in image or buffer", "", "");
  190|      0|        return ElfNone;
  191|      0|    }
  192|       |
  193|  1.59k|    const int components = txType.getVectorSize();
  194|  1.59k|    const TBasicType txBasicType = txType.getBasicType();
  195|       |
  196|  1.59k|    const auto selectFormat = [this,&components](TLayoutFormat v1, TLayoutFormat v2, TLayoutFormat v4) -> TLayoutFormat {
  197|  1.59k|        if (intermediate.getNoStorageFormat())
  198|  1.59k|            return ElfNone;
  199|       |
  200|  1.59k|        return components == 1 ? v1 :
  201|  1.59k|               components == 2 ? v2 : v4;
  202|  1.59k|    };
  203|       |
  204|  1.59k|    switch (txBasicType) {
  205|    532|    case EbtFloat: return selectFormat(ElfR32f,  ElfRg32f,  ElfRgba32f);
  ------------------
  |  Branch (205:5): [True: 532, False: 1.06k]
  ------------------
  206|    532|    case EbtInt:   return selectFormat(ElfR32i,  ElfRg32i,  ElfRgba32i);
  ------------------
  |  Branch (206:5): [True: 532, False: 1.06k]
  ------------------
  207|    532|    case EbtUint:  return selectFormat(ElfR32ui, ElfRg32ui, ElfRgba32ui);
  ------------------
  |  Branch (207:5): [True: 532, False: 1.06k]
  ------------------
  208|      0|    default:
  ------------------
  |  Branch (208:5): [True: 0, False: 1.59k]
  ------------------
  209|      0|        error(loc, "unknown basic type in image format", "", "");
  210|      0|        return ElfNone;
  211|  1.59k|    }
  212|  1.59k|}
_ZN7glslang16HlslParseContext14handleVariableERKNS_10TSourceLocEPKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  648|     40|{
  649|     40|    int thisDepth;
  650|     40|    TSymbol* symbol = symbolTable.find(*string, thisDepth);
  651|     40|    if (symbol && symbol->getAsVariable() && symbol->getAsVariable()->isUserType()) {
  ------------------
  |  Branch (651:9): [True: 0, False: 40]
  |  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|     40|    const TVariable* variable = nullptr;
  657|     40|    const TAnonMember* anon = symbol ? symbol->getAsAnonMember() : nullptr;
  ------------------
  |  Branch (657:31): [True: 0, False: 40]
  ------------------
  658|     40|    TIntermTyped* node = nullptr;
  659|     40|    if (anon) {
  ------------------
  |  Branch (659:9): [True: 0, False: 40]
  ------------------
  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|     40|    } 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|     40|        variable = symbol ? symbol->getAsVariable() : nullptr;
  ------------------
  |  Branch (683:20): [True: 0, False: 40]
  ------------------
  684|     40|        if (variable) {
  ------------------
  |  Branch (684:13): [True: 0, False: 40]
  ------------------
  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|     40|        } else {
  691|     40|            if (symbol)
  ------------------
  |  Branch (691:17): [True: 0, False: 40]
  ------------------
  692|      0|                error(loc, "variable name expected", string->c_str(), "");
  693|     40|        }
  694|       |
  695|       |        // Recovery, if it wasn't found or was not a variable.
  696|     40|        if (variable == nullptr) {
  ------------------
  |  Branch (696:13): [True: 40, False: 0]
  ------------------
  697|     40|            error(loc, "unknown variable", string->c_str(), "");
  698|     40|            variable = new TVariable(string, TType(EbtVoid));
  699|     40|        }
  700|       |
  701|     40|        if (variable->getType().getQualifier().isFrontEndConstant())
  ------------------
  |  Branch (701:13): [True: 0, False: 40]
  ------------------
  702|      0|            node = intermediate.addConstantUnion(variable->getConstArray(), variable->getType(), loc);
  703|     40|        else
  704|     40|            node = intermediate.addSymbol(*variable, loc);
  705|     40|    }
  706|       |
  707|     40|    if (variable->getType().getQualifier().isIo())
  ------------------
  |  Branch (707:9): [True: 0, False: 40]
  ------------------
  708|      0|        intermediate.addIoAccessed(*string);
  709|       |
  710|     40|    return node;
  711|     40|}
_ZN7glslang16HlslParseContext20handleDotDereferenceERKNS_10TSourceLocEPNS_12TIntermTypedERKNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  933|      1|{
  934|      1|    variableCheck(base);
  935|       |
  936|      1|    if (base->isArray()) {
  ------------------
  |  Branch (936:9): [True: 0, False: 1]
  ------------------
  937|      0|        error(loc, "cannot apply to an array:", ".", field.c_str());
  938|      0|        return base;
  939|      0|    }
  940|       |
  941|      1|    TIntermTyped* result = base;
  942|       |
  943|      1|    if (base->getType().getBasicType() == EbtSampler) {
  ------------------
  |  Branch (943:9): [True: 0, False: 1]
  ------------------
  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|      1|    } else if (base->isVector() || base->isScalar()) {
  ------------------
  |  Branch (958:16): [True: 0, False: 1]
  |  Branch (958:36): [True: 1, False: 0]
  ------------------
  959|      1|        TSwizzleSelectors<TVectorSelector> selectors;
  960|      1|        parseSwizzleSelector(loc, field, base->getVectorSize(), selectors);
  961|       |
  962|      1|        if (base->isScalar()) {
  ------------------
  |  Branch (962:13): [True: 1, False: 0]
  ------------------
  963|      1|            if (selectors.size() == 1)
  ------------------
  |  Branch (963:17): [True: 0, False: 1]
  ------------------
  964|      0|                return result;
  965|      1|            else {
  966|      1|                TType type(base->getBasicType(), EvqTemporary, selectors.size());
  967|      1|                return addConstructor(loc, base, type);
  968|      1|            }
  969|      1|        }
  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|      1|}
_ZNK7glslang16HlslParseContext13shouldFlattenERKNS_5TTypeENS_17TStorageQualifierEb:
 1160|      1|{
 1161|      1|    switch (qualifier) {
 1162|      0|    case EvqVaryingIn:
  ------------------
  |  Branch (1162:5): [True: 0, False: 1]
  ------------------
 1163|      0|    case EvqVaryingOut:
  ------------------
  |  Branch (1163:5): [True: 0, False: 1]
  ------------------
 1164|      0|        return type.isStruct() || type.isArray();
  ------------------
  |  Branch (1164:16): [True: 0, False: 0]
  |  Branch (1164:35): [True: 0, False: 0]
  ------------------
 1165|      1|    case EvqUniform:
  ------------------
  |  Branch (1165:5): [True: 1, False: 0]
  ------------------
 1166|      1|        return (type.isArray() && intermediate.getFlattenUniformArrays() && topLevel) ||
  ------------------
  |  Branch (1166:17): [True: 1, False: 0]
  |  Branch (1166:35): [True: 0, False: 1]
  |  Branch (1166:77): [True: 0, False: 0]
  ------------------
 1167|      1|               (type.isStruct() && type.containsOpaque());
  ------------------
  |  Branch (1167:17): [True: 0, False: 1]
  |  Branch (1167:36): [True: 0, False: 0]
  ------------------
 1168|      0|    default:
  ------------------
  |  Branch (1168:5): [True: 0, False: 1]
  ------------------
 1169|      0|        return false;
 1170|      1|    };
 1171|      0|}
_ZN7glslang16HlslParseContext12trackLinkageERNS_7TSymbolE:
 1463|      1|{
 1464|      1|    TBuiltInVariable biType = symbol.getType().getQualifier().builtIn;
 1465|       |
 1466|      1|    if (biType != EbvNone)
  ------------------
  |  Branch (1466:9): [True: 0, False: 1]
  ------------------
 1467|      0|        builtInTessLinkageSymbols[biType] = symbol.clone();
 1468|       |
 1469|      1|    TParseContextBase::trackLinkage(symbol);
 1470|      1|}
_ZN7glslang16HlslParseContext24handleFunctionDeclaratorERKNS_10TSourceLocERNS_9TFunctionEb:
 1595|   112k|{
 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|   112k|    bool builtIn;
 1603|   112k|    TSymbol* symbol = symbolTable.find(function.getMangledName(), &builtIn);
 1604|   112k|    const TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr;
  ------------------
  |  Branch (1604:32): [True: 672, False: 111k]
  ------------------
 1605|       |
 1606|   112k|    if (prototype) {
  ------------------
  |  Branch (1606:9): [True: 112k, 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|   112k|        if (symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (1609:13): [True: 112k, False: 0]
  ------------------
 1610|   112k|            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|   112k|    }
 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|   112k|    if (! symbolTable.insert(function))
  ------------------
  |  Branch (1620:9): [True: 0, False: 112k]
  ------------------
 1621|      0|        error(loc, "function name is redeclaration of existing name", function.getName().c_str(), "");
 1622|   112k|}
_ZN7glslang16HlslParseContext22transferTypeAttributesERKNS_10TSourceLocERKNS_5TListINS_14TAttributeArgsEEERNS_5TTypeEb:
 1917|   363k|{
 1918|   363k|    if (attributes.size() == 0)
  ------------------
  |  Branch (1918:9): [True: 363k, False: 0]
  ------------------
 1919|   363k|        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|      3|{
 2480|      3|    TParameter param = { nullptr, new TType, nullptr };
 2481|      3|    param.type->shallowCopy(newArg->getType());
 2482|       |
 2483|      3|    function->addParameter(param);
 2484|      3|    if (arguments)
  ------------------
  |  Branch (2484:9): [True: 0, False: 3]
  ------------------
 2485|      0|        arguments = intermediate.growAggregate(arguments, newArg);
 2486|      3|    else
 2487|      3|        arguments = newArg;
 2488|      3|}
_ZN7glslang16HlslParseContext18handleFunctionCallERKNS_10TSourceLocEPNS_9TFunctionEPNS_12TIntermTypedE:
 5505|      2|{
 5506|      2|    TIntermTyped* result = nullptr;
 5507|       |
 5508|      2|    TOperator op = function->getBuiltInOp();
 5509|      2|    if (op != EOpNull) {
  ------------------
  |  Branch (5509:9): [True: 2, 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|      2|        TType type(EbtVoid);  // use this to get the type back
 5516|      2|        if (! constructorError(loc, arguments, *function, op, type)) {
  ------------------
  |  Branch (5516:13): [True: 2, False: 0]
  ------------------
 5517|       |            //
 5518|       |            // It's a constructor, of type 'type'.
 5519|       |            //
 5520|      2|            result = handleConstructor(loc, arguments, type);
 5521|      2|            if (result == nullptr) {
  ------------------
  |  Branch (5521:17): [True: 0, False: 2]
  ------------------
 5522|      0|                error(loc, "cannot construct with these arguments", type.getCompleteString().c_str(), "");
 5523|      0|                return nullptr;
 5524|      0|            }
 5525|      2|        }
 5526|      2|    } 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|      2|    if (result == nullptr)
  ------------------
  |  Branch (5682:9): [True: 0, False: 2]
  ------------------
 5683|      0|        result = intermediate.addConstantUnion(0.0, EbtFloat, loc);
 5684|       |
 5685|      2|    return result;
 5686|      2|}
_ZN7glslang16HlslParseContext19makeConstructorCallERKNS_10TSourceLocERKNS_5TTypeE:
 6224|     81|{
 6225|     81|    TOperator op = intermediate.mapTypeToConstructorOp(type);
 6226|       |
 6227|     81|    if (op == EOpNull) {
  ------------------
  |  Branch (6227:9): [True: 0, False: 81]
  ------------------
 6228|      0|        error(loc, "cannot construct this type", type.getBasicString(), "");
 6229|      0|        return nullptr;
 6230|      0|    }
 6231|       |
 6232|     81|    TString empty("");
 6233|       |
 6234|     81|    return new TFunction(&empty, type, op);
 6235|     81|}
_ZN7glslang16HlslParseContext28convertConditionalExpressionERKNS_10TSourceLocEPNS_12TIntermTypedEb:
 6461|      4|{
 6462|      4|    if (mustBeScalar && !condition->getType().isScalarOrVec1()) {
  ------------------
  |  Branch (6462:9): [True: 0, False: 4]
  |  Branch (6462:25): [True: 0, False: 0]
  ------------------
 6463|      0|        error(loc, "requires a scalar", "conditional expression", "");
 6464|      0|        return nullptr;
 6465|      0|    }
 6466|       |
 6467|      4|    return intermediate.addConversion(EOpConstructBool, TType(EbtBool, EvqTemporary, condition->getVectorSize()),
 6468|      4|                                      condition);
 6469|      4|}
_ZN7glslang16HlslParseContext13variableCheckERPNS_12TIntermTypedE:
 6507|      1|{
 6508|      1|    TIntermSymbol* symbol = nodePtr->getAsSymbolNode();
 6509|      1|    if (! symbol)
  ------------------
  |  Branch (6509:9): [True: 1, False: 0]
  ------------------
 6510|      1|        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|      2|{
 6573|      2|    type.shallowCopy(function.getType());
 6574|       |
 6575|      2|    bool constructingMatrix = false;
 6576|      2|    switch (op) {
 6577|      0|    case EOpConstructTextureSampler:
  ------------------
  |  Branch (6577:5): [True: 0, False: 2]
  ------------------
 6578|      0|        error(loc, "unhandled texture constructor", "constructor", "");
 6579|      0|        return true;
 6580|      0|    case EOpConstructMat2x2:
  ------------------
  |  Branch (6580:5): [True: 0, False: 2]
  ------------------
 6581|      0|    case EOpConstructMat2x3:
  ------------------
  |  Branch (6581:5): [True: 0, False: 2]
  ------------------
 6582|      0|    case EOpConstructMat2x4:
  ------------------
  |  Branch (6582:5): [True: 0, False: 2]
  ------------------
 6583|      0|    case EOpConstructMat3x2:
  ------------------
  |  Branch (6583:5): [True: 0, False: 2]
  ------------------
 6584|      0|    case EOpConstructMat3x3:
  ------------------
  |  Branch (6584:5): [True: 0, False: 2]
  ------------------
 6585|      0|    case EOpConstructMat3x4:
  ------------------
  |  Branch (6585:5): [True: 0, False: 2]
  ------------------
 6586|      0|    case EOpConstructMat4x2:
  ------------------
  |  Branch (6586:5): [True: 0, False: 2]
  ------------------
 6587|      0|    case EOpConstructMat4x3:
  ------------------
  |  Branch (6587:5): [True: 0, False: 2]
  ------------------
 6588|      0|    case EOpConstructMat4x4:
  ------------------
  |  Branch (6588:5): [True: 0, False: 2]
  ------------------
 6589|      0|    case EOpConstructDMat2x2:
  ------------------
  |  Branch (6589:5): [True: 0, False: 2]
  ------------------
 6590|      0|    case EOpConstructDMat2x3:
  ------------------
  |  Branch (6590:5): [True: 0, False: 2]
  ------------------
 6591|      0|    case EOpConstructDMat2x4:
  ------------------
  |  Branch (6591:5): [True: 0, False: 2]
  ------------------
 6592|      0|    case EOpConstructDMat3x2:
  ------------------
  |  Branch (6592:5): [True: 0, False: 2]
  ------------------
 6593|      0|    case EOpConstructDMat3x3:
  ------------------
  |  Branch (6593:5): [True: 0, False: 2]
  ------------------
 6594|      0|    case EOpConstructDMat3x4:
  ------------------
  |  Branch (6594:5): [True: 0, False: 2]
  ------------------
 6595|      0|    case EOpConstructDMat4x2:
  ------------------
  |  Branch (6595:5): [True: 0, False: 2]
  ------------------
 6596|      0|    case EOpConstructDMat4x3:
  ------------------
  |  Branch (6596:5): [True: 0, False: 2]
  ------------------
 6597|      0|    case EOpConstructDMat4x4:
  ------------------
  |  Branch (6597:5): [True: 0, False: 2]
  ------------------
 6598|      0|    case EOpConstructIMat2x2:
  ------------------
  |  Branch (6598:5): [True: 0, False: 2]
  ------------------
 6599|      0|    case EOpConstructIMat2x3:
  ------------------
  |  Branch (6599:5): [True: 0, False: 2]
  ------------------
 6600|      0|    case EOpConstructIMat2x4:
  ------------------
  |  Branch (6600:5): [True: 0, False: 2]
  ------------------
 6601|      0|    case EOpConstructIMat3x2:
  ------------------
  |  Branch (6601:5): [True: 0, False: 2]
  ------------------
 6602|      0|    case EOpConstructIMat3x3:
  ------------------
  |  Branch (6602:5): [True: 0, False: 2]
  ------------------
 6603|      0|    case EOpConstructIMat3x4:
  ------------------
  |  Branch (6603:5): [True: 0, False: 2]
  ------------------
 6604|      0|    case EOpConstructIMat4x2:
  ------------------
  |  Branch (6604:5): [True: 0, False: 2]
  ------------------
 6605|      0|    case EOpConstructIMat4x3:
  ------------------
  |  Branch (6605:5): [True: 0, False: 2]
  ------------------
 6606|      0|    case EOpConstructIMat4x4:
  ------------------
  |  Branch (6606:5): [True: 0, False: 2]
  ------------------
 6607|      0|    case EOpConstructUMat2x2:
  ------------------
  |  Branch (6607:5): [True: 0, False: 2]
  ------------------
 6608|      0|    case EOpConstructUMat2x3:
  ------------------
  |  Branch (6608:5): [True: 0, False: 2]
  ------------------
 6609|      0|    case EOpConstructUMat2x4:
  ------------------
  |  Branch (6609:5): [True: 0, False: 2]
  ------------------
 6610|      0|    case EOpConstructUMat3x2:
  ------------------
  |  Branch (6610:5): [True: 0, False: 2]
  ------------------
 6611|      0|    case EOpConstructUMat3x3:
  ------------------
  |  Branch (6611:5): [True: 0, False: 2]
  ------------------
 6612|      0|    case EOpConstructUMat3x4:
  ------------------
  |  Branch (6612:5): [True: 0, False: 2]
  ------------------
 6613|      0|    case EOpConstructUMat4x2:
  ------------------
  |  Branch (6613:5): [True: 0, False: 2]
  ------------------
 6614|      0|    case EOpConstructUMat4x3:
  ------------------
  |  Branch (6614:5): [True: 0, False: 2]
  ------------------
 6615|      0|    case EOpConstructUMat4x4:
  ------------------
  |  Branch (6615:5): [True: 0, False: 2]
  ------------------
 6616|      0|    case EOpConstructBMat2x2:
  ------------------
  |  Branch (6616:5): [True: 0, False: 2]
  ------------------
 6617|      0|    case EOpConstructBMat2x3:
  ------------------
  |  Branch (6617:5): [True: 0, False: 2]
  ------------------
 6618|      0|    case EOpConstructBMat2x4:
  ------------------
  |  Branch (6618:5): [True: 0, False: 2]
  ------------------
 6619|      0|    case EOpConstructBMat3x2:
  ------------------
  |  Branch (6619:5): [True: 0, False: 2]
  ------------------
 6620|      0|    case EOpConstructBMat3x3:
  ------------------
  |  Branch (6620:5): [True: 0, False: 2]
  ------------------
 6621|      0|    case EOpConstructBMat3x4:
  ------------------
  |  Branch (6621:5): [True: 0, False: 2]
  ------------------
 6622|      0|    case EOpConstructBMat4x2:
  ------------------
  |  Branch (6622:5): [True: 0, False: 2]
  ------------------
 6623|      0|    case EOpConstructBMat4x3:
  ------------------
  |  Branch (6623:5): [True: 0, False: 2]
  ------------------
 6624|      0|    case EOpConstructBMat4x4:
  ------------------
  |  Branch (6624:5): [True: 0, False: 2]
  ------------------
 6625|      0|        constructingMatrix = true;
 6626|      0|        break;
 6627|      2|    default:
  ------------------
  |  Branch (6627:5): [True: 2, False: 0]
  ------------------
 6628|      2|        break;
 6629|      2|    }
 6630|       |
 6631|       |    //
 6632|       |    // Walk the arguments for first-pass checks and collection of information.
 6633|       |    //
 6634|       |
 6635|      2|    int size = 0;
 6636|      2|    bool constType = true;
 6637|      2|    bool full = false;
 6638|      2|    bool overFull = false;
 6639|      2|    bool matrixInMatrix = false;
 6640|      2|    bool arrayArg = false;
 6641|      4|    for (int arg = 0; arg < function.getParamCount(); ++arg) {
  ------------------
  |  Branch (6641:23): [True: 2, False: 2]
  ------------------
 6642|      2|        if (function[arg].type->isArray()) {
  ------------------
  |  Branch (6642:13): [True: 0, False: 2]
  ------------------
 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|      2|        if (constructingMatrix && function[arg].type->isMatrix())
  ------------------
  |  Branch (6650:13): [True: 0, False: 2]
  |  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|      2|        if (full) {
  ------------------
  |  Branch (6655:13): [True: 0, False: 2]
  ------------------
 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|      2|        size += function[arg].type->computeNumComponents();
 6662|      2|        if (op != EOpConstructStruct && ! type.isArray() && size >= type.computeNumComponents())
  ------------------
  |  Branch (6662:13): [True: 2, False: 0]
  |  Branch (6662:41): [True: 2, False: 0]
  |  Branch (6662:61): [True: 2, False: 0]
  ------------------
 6663|      2|            full = true;
 6664|       |
 6665|      2|        if (function[arg].type->getQualifier().storage != EvqConst)
  ------------------
  |  Branch (6665:13): [True: 2, False: 0]
  ------------------
 6666|      2|            constType = false;
 6667|      2|    }
 6668|       |
 6669|      2|    if (constType)
  ------------------
  |  Branch (6669:9): [True: 0, False: 2]
  ------------------
 6670|      0|        type.getQualifier().storage = EvqConst;
 6671|       |
 6672|      2|    if (type.isArray()) {
  ------------------
  |  Branch (6672:9): [True: 0, False: 2]
  ------------------
 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|      2|    if (arrayArg && function.getParamCount() == 1 && op != EOpConstructStruct && type.isArray() &&
  ------------------
  |  Branch (6712:9): [True: 0, False: 2]
  |  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|      2|    if (arrayArg && op != EOpConstructStruct && ! type.isArrayOfArrays()) {
  ------------------
  |  Branch (6717:9): [True: 0, False: 2]
  |  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|      2|    if (matrixInMatrix && ! type.isArray()) {
  ------------------
  |  Branch (6722:9): [True: 0, False: 2]
  |  Branch (6722:27): [True: 0, False: 0]
  ------------------
 6723|      0|        return false;
 6724|      0|    }
 6725|       |
 6726|      2|    if (overFull) {
  ------------------
  |  Branch (6726:9): [True: 0, False: 2]
  ------------------
 6727|      0|        error(loc, "too many arguments", "constructor", "");
 6728|      0|        return true;
 6729|      0|    }
 6730|       |
 6731|      2|    if (op == EOpConstructStruct && ! type.isArray()) {
  ------------------
  |  Branch (6731:9): [True: 0, False: 2]
  |  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|      2|    if ((op != EOpConstructStruct && size != 1 && size < type.computeNumComponents()) ||
  ------------------
  |  Branch (6745:10): [True: 2, False: 0]
  |  Branch (6745:38): [True: 1, False: 1]
  |  Branch (6745:51): [True: 0, False: 1]
  ------------------
 6746|      2|        (op == EOpConstructStruct && size < type.computeNumComponents())) {
  ------------------
  |  Branch (6746:10): [True: 0, False: 2]
  |  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|      2|    return false;
 6752|      2|}
_ZN7glslang16HlslParseContext14voidErrorCheckERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEENS_10TBasicTypeE:
 6776|      1|{
 6777|      1|    if (basicType == EbtVoid) {
  ------------------
  |  Branch (6777:9): [True: 0, False: 1]
  ------------------
 6778|      0|        error(loc, "illegal use of type 'void'", identifier.c_str(), "");
 6779|      0|        return true;
 6780|      0|    }
 6781|       |
 6782|      1|    return false;
 6783|      1|}
_ZN7glslang16HlslParseContext12declareArrayERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_5TTypeERPNS_7TSymbolEb:
 6913|      1|{
 6914|      1|    if (symbol == nullptr) {
  ------------------
  |  Branch (6914:9): [True: 1, False: 0]
  ------------------
 6915|      1|        bool currentScope;
 6916|      1|        symbol = symbolTable.find(identifier, nullptr, &currentScope);
 6917|       |
 6918|      1|        if (symbol && builtInName(identifier) && ! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (6918:13): [True: 0, False: 1]
  |  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|      1|        if (symbol == nullptr || ! currentScope) {
  ------------------
  |  Branch (6922:13): [True: 1, 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|      1|            symbol = new TVariable(&identifier, type);
 6928|      1|            symbolTable.insert(*symbol);
 6929|      1|            if (track && symbolTable.atGlobalLevel())
  ------------------
  |  Branch (6929:17): [True: 1, False: 0]
  |  Branch (6929:26): [True: 1, False: 0]
  ------------------
 6930|      1|                trackLinkage(*symbol);
 6931|       |
 6932|      1|            return;
 6933|      1|        }
 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|      1|{
 6968|       |    //
 6969|       |    // Make the qualifier make sense, given that there is an initializer.
 6970|       |    //
 6971|      1|    if (initializer == nullptr) {
  ------------------
  |  Branch (6971:9): [True: 1, False: 0]
  ------------------
 6972|      1|        if (type.getQualifier().storage == EvqConst ||
  ------------------
  |  Branch (6972:13): [True: 0, False: 1]
  ------------------
 6973|      1|            type.getQualifier().storage == EvqConstReadOnly) {
  ------------------
  |  Branch (6973:13): [True: 0, False: 1]
  ------------------
 6974|      0|            initializer = intermediate.makeAggregate(loc);
 6975|      0|            warn(loc, "variable with qualifier 'const' not initialized; zero initializing", identifier.c_str(), "");
 6976|      0|        }
 6977|      1|    }
 6978|      1|}
_ZN7glslang16HlslParseContext8paramFixERNS_5TTypeE:
 7093|   251k|{
 7094|   251k|    switch (type.getQualifier().storage) {
 7095|      0|    case EvqConst:
  ------------------
  |  Branch (7095:5): [True: 0, False: 251k]
  ------------------
 7096|      0|        type.getQualifier().storage = EvqConstReadOnly;
 7097|      0|        break;
 7098|      0|    case EvqGlobal:
  ------------------
  |  Branch (7098:5): [True: 0, False: 251k]
  ------------------
 7099|   227k|    case EvqTemporary:
  ------------------
  |  Branch (7099:5): [True: 227k, False: 24.3k]
  ------------------
 7100|   227k|        type.getQualifier().storage = EvqIn;
 7101|   227k|        break;
 7102|      0|    case EvqBuffer:
  ------------------
  |  Branch (7102:5): [True: 0, False: 251k]
  ------------------
 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|  24.3k|    default:
  ------------------
  |  Branch (7115:5): [True: 24.3k, False: 227k]
  ------------------
 7116|  24.3k|        break;
 7117|   251k|    }
 7118|   251k|}
_ZN7glslang16HlslParseContext14lookupUserTypeERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERNS_5TTypeE:
 7976|     48|{
 7977|     48|    TSymbol* symbol = symbolTable.find(typeName);
 7978|     48|    if (symbol && symbol->getAsVariable() && symbol->getAsVariable()->isUserType()) {
  ------------------
  |  Branch (7978:9): [True: 0, False: 48]
  |  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|     48|        return nullptr;
 7983|     48|}
_ZN7glslang16HlslParseContext15declareVariableERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERNS_5TTypeEPNS_12TIntermTypedE:
 7998|      1|{
 7999|      1|    if (voidErrorCheck(loc, identifier, type.getBasicType()))
  ------------------
  |  Branch (7999:9): [True: 0, False: 1]
  ------------------
 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|      1|    const bool nonConstInitializer = (initializer != nullptr && initializer->getQualifier().storage != EvqConst);
  ------------------
  |  Branch (8010:39): [True: 0, False: 1]
  |  Branch (8010:65): [True: 0, False: 0]
  ------------------
 8011|       |
 8012|      1|    if (type.getQualifier().storage == EvqConst && symbolTable.atGlobalLevel() && nonConstInitializer) {
  ------------------
  |  Branch (8012:9): [True: 0, False: 1]
  |  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|      1|    fixConstInit(loc, identifier, type, initializer);
 8019|       |
 8020|       |    // Check for redeclaration of built-ins and/or attempting to declare a reserved name
 8021|      1|    TSymbol* symbol = nullptr;
 8022|       |
 8023|      1|    inheritGlobalDefaults(type.getQualifier());
 8024|       |
 8025|      1|    const bool flattenVar = shouldFlatten(type, type.getQualifier().storage, true);
 8026|       |
 8027|       |    // correct IO in the type
 8028|      1|    switch (type.getQualifier().storage) {
 8029|      0|    case EvqGlobal:
  ------------------
  |  Branch (8029:5): [True: 0, False: 1]
  ------------------
 8030|      0|    case EvqTemporary:
  ------------------
  |  Branch (8030:5): [True: 0, False: 1]
  ------------------
 8031|      0|        clearUniformInputOutput(type.getQualifier());
 8032|      0|        break;
 8033|      1|    case EvqUniform:
  ------------------
  |  Branch (8033:5): [True: 1, False: 0]
  ------------------
 8034|      1|    case EvqBuffer:
  ------------------
  |  Branch (8034:5): [True: 0, False: 1]
  ------------------
 8035|      1|        correctUniform(type.getQualifier());
 8036|      1|        if (type.isStruct()) {
  ------------------
  |  Branch (8036:13): [True: 0, False: 1]
  ------------------
 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|      1|        break;
 8043|      0|    default:
  ------------------
  |  Branch (8043:5): [True: 0, False: 1]
  ------------------
 8044|      0|        break;
 8045|      1|    }
 8046|       |
 8047|       |    // Declare the variable
 8048|      1|    if (type.isArray()) {
  ------------------
  |  Branch (8048:9): [True: 1, False: 0]
  ------------------
 8049|       |        // array case
 8050|      1|        declareArray(loc, identifier, type, symbol, !flattenVar);
 8051|      1|    } 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|      1|    if (symbol == nullptr)
  ------------------
  |  Branch (8059:9): [True: 0, False: 1]
  ------------------
 8060|      0|        return nullptr;
 8061|       |
 8062|      1|    if (flattenVar)
  ------------------
  |  Branch (8062:9): [True: 0, False: 1]
  ------------------
 8063|      0|        flatten(*symbol->getAsVariable(), symbolTable.atGlobalLevel());
 8064|       |
 8065|      1|    TVariable* variable = symbol->getAsVariable();
 8066|       |
 8067|      1|    if (initializer == nullptr) {
  ------------------
  |  Branch (8067:9): [True: 1, False: 0]
  ------------------
 8068|      1|        if (intermediate.getDebugInfo())
  ------------------
  |  Branch (8068:13): [True: 0, False: 1]
  ------------------
 8069|      0|            return executeDeclaration(loc, variable);
 8070|      1|        else
 8071|      1|            return nullptr;
 8072|      1|    }
 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|      1|{
 8085|      1|    if (dst.storage == EvqVaryingOut) {
  ------------------
  |  Branch (8085:9): [True: 0, False: 1]
  ------------------
 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|      1|}
_ZN7glslang16HlslParseContext17handleConstructorERKNS_10TSourceLocEPNS_12TIntermTypedERKNS_5TTypeE:
 8432|      2|{
 8433|      2|    if (node == nullptr)
  ------------------
  |  Branch (8433:9): [True: 0, False: 2]
  ------------------
 8434|      0|        return nullptr;
 8435|       |
 8436|       |    // Construct identical type
 8437|      2|    if (type == node->getType())
  ------------------
  |  Branch (8437:9): [True: 1, False: 1]
  ------------------
 8438|      1|        return node;
 8439|       |
 8440|       |    // Handle the idiom "(struct type)<scalar value>"
 8441|      1|    if (type.isStruct() && isScalarConstructor(node)) {
  ------------------
  |  Branch (8441:9): [True: 0, False: 1]
  |  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|      1|    return addConstructor(loc, node, type);
 8459|      1|}
_ZN7glslang16HlslParseContext14addConstructorERKNS_10TSourceLocEPNS_12TIntermTypedERKNS_5TTypeE:
 8470|      2|{
 8471|      2|    TIntermAggregate* aggrNode = node->getAsAggregate();
 8472|      2|    TOperator op = intermediate.mapTypeToConstructorOp(type);
 8473|       |
 8474|      2|    if (op == EOpConstructTextureSampler)
  ------------------
  |  Branch (8474:9): [True: 0, False: 2]
  ------------------
 8475|      0|        return intermediate.setAggregateOperator(aggrNode, op, type, loc);
 8476|       |
 8477|      2|    TTypeList::const_iterator memberTypes;
 8478|      2|    if (op == EOpConstructStruct)
  ------------------
  |  Branch (8478:9): [True: 0, False: 2]
  ------------------
 8479|      0|        memberTypes = type.getStruct()->begin();
 8480|       |
 8481|      2|    TType elementType;
 8482|      2|    if (type.isArray()) {
  ------------------
  |  Branch (8482:9): [True: 0, False: 2]
  ------------------
 8483|      0|        TType dereferenced(type, 0);
 8484|      0|        elementType.shallowCopy(dereferenced);
 8485|      0|    } else
 8486|      2|        elementType.shallowCopy(type);
 8487|       |
 8488|      2|    bool singleArg;
 8489|      2|    if (aggrNode != nullptr) {
  ------------------
  |  Branch (8489:9): [True: 0, False: 2]
  ------------------
 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|      2|        singleArg = true;
 8496|       |
 8497|      2|    TIntermTyped *newNode;
 8498|      2|    if (singleArg) {
  ------------------
  |  Branch (8498:9): [True: 2, 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|      2|        if (type.isArray() && node->isArray())
  ------------------
  |  Branch (8502:13): [True: 0, False: 2]
  |  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|      2|        else if (type.isArray())
  ------------------
  |  Branch (8507:18): [True: 0, False: 2]
  ------------------
 8508|      0|            newNode = constructAggregate(node, elementType, 1, node->getLoc());
 8509|      2|        else if (op == EOpConstructStruct)
  ------------------
  |  Branch (8509:18): [True: 0, False: 2]
  ------------------
 8510|      0|            newNode = constructAggregate(node, *(*memberTypes).type, 1, node->getLoc());
 8511|      2|        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|      2|            if (type.isMatrix() && node->getType().isScalarOrVec1())
  ------------------
  |  Branch (8515:17): [True: 0, False: 2]
  |  Branch (8515:36): [True: 0, False: 0]
  ------------------
 8516|      0|                node = intermediate.addShapeConversion(type, node);
 8517|       |
 8518|      2|            newNode = constructBuiltIn(type, op, node, node->getLoc(), false);
 8519|      2|        }
 8520|       |
 8521|      2|        if (newNode && (type.isArray() || op == EOpConstructStruct))
  ------------------
  |  Branch (8521:13): [True: 2, False: 0]
  |  Branch (8521:25): [True: 0, False: 2]
  |  Branch (8521:43): [True: 0, False: 2]
  ------------------
 8522|      0|            newNode = intermediate.setAggregateOperator(newNode, EOpConstructStruct, type, loc);
 8523|       |
 8524|      2|        return newNode;
 8525|      2|    }
 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|      2|{
 8570|      2|    TIntermTyped* newNode;
 8571|      2|    TOperator basicOp;
 8572|       |
 8573|       |    //
 8574|       |    // First, convert types as needed.
 8575|       |    //
 8576|      2|    switch (op) {
 8577|      0|    case EOpConstructF16Vec2:
  ------------------
  |  Branch (8577:5): [True: 0, False: 2]
  ------------------
 8578|      0|    case EOpConstructF16Vec3:
  ------------------
  |  Branch (8578:5): [True: 0, False: 2]
  ------------------
 8579|      0|    case EOpConstructF16Vec4:
  ------------------
  |  Branch (8579:5): [True: 0, False: 2]
  ------------------
 8580|      0|    case EOpConstructF16Mat2x2:
  ------------------
  |  Branch (8580:5): [True: 0, False: 2]
  ------------------
 8581|      0|    case EOpConstructF16Mat2x3:
  ------------------
  |  Branch (8581:5): [True: 0, False: 2]
  ------------------
 8582|      0|    case EOpConstructF16Mat2x4:
  ------------------
  |  Branch (8582:5): [True: 0, False: 2]
  ------------------
 8583|      0|    case EOpConstructF16Mat3x2:
  ------------------
  |  Branch (8583:5): [True: 0, False: 2]
  ------------------
 8584|      0|    case EOpConstructF16Mat3x3:
  ------------------
  |  Branch (8584:5): [True: 0, False: 2]
  ------------------
 8585|      0|    case EOpConstructF16Mat3x4:
  ------------------
  |  Branch (8585:5): [True: 0, False: 2]
  ------------------
 8586|      0|    case EOpConstructF16Mat4x2:
  ------------------
  |  Branch (8586:5): [True: 0, False: 2]
  ------------------
 8587|      0|    case EOpConstructF16Mat4x3:
  ------------------
  |  Branch (8587:5): [True: 0, False: 2]
  ------------------
 8588|      0|    case EOpConstructF16Mat4x4:
  ------------------
  |  Branch (8588:5): [True: 0, False: 2]
  ------------------
 8589|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (8589:5): [True: 0, False: 2]
  ------------------
 8590|      0|        basicOp = EOpConstructFloat16;
 8591|      0|        break;
 8592|       |
 8593|      0|    case EOpConstructVec2:
  ------------------
  |  Branch (8593:5): [True: 0, False: 2]
  ------------------
 8594|      0|    case EOpConstructVec3:
  ------------------
  |  Branch (8594:5): [True: 0, False: 2]
  ------------------
 8595|      0|    case EOpConstructVec4:
  ------------------
  |  Branch (8595:5): [True: 0, False: 2]
  ------------------
 8596|      0|    case EOpConstructMat2x2:
  ------------------
  |  Branch (8596:5): [True: 0, False: 2]
  ------------------
 8597|      0|    case EOpConstructMat2x3:
  ------------------
  |  Branch (8597:5): [True: 0, False: 2]
  ------------------
 8598|      0|    case EOpConstructMat2x4:
  ------------------
  |  Branch (8598:5): [True: 0, False: 2]
  ------------------
 8599|      0|    case EOpConstructMat3x2:
  ------------------
  |  Branch (8599:5): [True: 0, False: 2]
  ------------------
 8600|      0|    case EOpConstructMat3x3:
  ------------------
  |  Branch (8600:5): [True: 0, False: 2]
  ------------------
 8601|      0|    case EOpConstructMat3x4:
  ------------------
  |  Branch (8601:5): [True: 0, False: 2]
  ------------------
 8602|      0|    case EOpConstructMat4x2:
  ------------------
  |  Branch (8602:5): [True: 0, False: 2]
  ------------------
 8603|      0|    case EOpConstructMat4x3:
  ------------------
  |  Branch (8603:5): [True: 0, False: 2]
  ------------------
 8604|      0|    case EOpConstructMat4x4:
  ------------------
  |  Branch (8604:5): [True: 0, False: 2]
  ------------------
 8605|      0|    case EOpConstructFloat:
  ------------------
  |  Branch (8605:5): [True: 0, False: 2]
  ------------------
 8606|      0|        basicOp = EOpConstructFloat;
 8607|      0|        break;
 8608|       |
 8609|      0|    case EOpConstructDVec2:
  ------------------
  |  Branch (8609:5): [True: 0, False: 2]
  ------------------
 8610|      0|    case EOpConstructDVec3:
  ------------------
  |  Branch (8610:5): [True: 0, False: 2]
  ------------------
 8611|      0|    case EOpConstructDVec4:
  ------------------
  |  Branch (8611:5): [True: 0, False: 2]
  ------------------
 8612|      0|    case EOpConstructDMat2x2:
  ------------------
  |  Branch (8612:5): [True: 0, False: 2]
  ------------------
 8613|      0|    case EOpConstructDMat2x3:
  ------------------
  |  Branch (8613:5): [True: 0, False: 2]
  ------------------
 8614|      0|    case EOpConstructDMat2x4:
  ------------------
  |  Branch (8614:5): [True: 0, False: 2]
  ------------------
 8615|      0|    case EOpConstructDMat3x2:
  ------------------
  |  Branch (8615:5): [True: 0, False: 2]
  ------------------
 8616|      0|    case EOpConstructDMat3x3:
  ------------------
  |  Branch (8616:5): [True: 0, False: 2]
  ------------------
 8617|      0|    case EOpConstructDMat3x4:
  ------------------
  |  Branch (8617:5): [True: 0, False: 2]
  ------------------
 8618|      0|    case EOpConstructDMat4x2:
  ------------------
  |  Branch (8618:5): [True: 0, False: 2]
  ------------------
 8619|      0|    case EOpConstructDMat4x3:
  ------------------
  |  Branch (8619:5): [True: 0, False: 2]
  ------------------
 8620|      0|    case EOpConstructDMat4x4:
  ------------------
  |  Branch (8620:5): [True: 0, False: 2]
  ------------------
 8621|      0|    case EOpConstructDouble:
  ------------------
  |  Branch (8621:5): [True: 0, False: 2]
  ------------------
 8622|      0|        basicOp = EOpConstructDouble;
 8623|      0|        break;
 8624|       |
 8625|      0|    case EOpConstructI16Vec2:
  ------------------
  |  Branch (8625:5): [True: 0, False: 2]
  ------------------
 8626|      0|    case EOpConstructI16Vec3:
  ------------------
  |  Branch (8626:5): [True: 0, False: 2]
  ------------------
 8627|      0|    case EOpConstructI16Vec4:
  ------------------
  |  Branch (8627:5): [True: 0, False: 2]
  ------------------
 8628|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (8628:5): [True: 0, False: 2]
  ------------------
 8629|      0|        basicOp = EOpConstructInt16;
 8630|      0|        break;
 8631|       |
 8632|      1|    case EOpConstructIVec2:
  ------------------
  |  Branch (8632:5): [True: 1, False: 1]
  ------------------
 8633|      1|    case EOpConstructIVec3:
  ------------------
  |  Branch (8633:5): [True: 0, False: 2]
  ------------------
 8634|      1|    case EOpConstructIVec4:
  ------------------
  |  Branch (8634:5): [True: 0, False: 2]
  ------------------
 8635|      1|    case EOpConstructIMat2x2:
  ------------------
  |  Branch (8635:5): [True: 0, False: 2]
  ------------------
 8636|      1|    case EOpConstructIMat2x3:
  ------------------
  |  Branch (8636:5): [True: 0, False: 2]
  ------------------
 8637|      1|    case EOpConstructIMat2x4:
  ------------------
  |  Branch (8637:5): [True: 0, False: 2]
  ------------------
 8638|      1|    case EOpConstructIMat3x2:
  ------------------
  |  Branch (8638:5): [True: 0, False: 2]
  ------------------
 8639|      1|    case EOpConstructIMat3x3:
  ------------------
  |  Branch (8639:5): [True: 0, False: 2]
  ------------------
 8640|      1|    case EOpConstructIMat3x4:
  ------------------
  |  Branch (8640:5): [True: 0, False: 2]
  ------------------
 8641|      1|    case EOpConstructIMat4x2:
  ------------------
  |  Branch (8641:5): [True: 0, False: 2]
  ------------------
 8642|      1|    case EOpConstructIMat4x3:
  ------------------
  |  Branch (8642:5): [True: 0, False: 2]
  ------------------
 8643|      1|    case EOpConstructIMat4x4:
  ------------------
  |  Branch (8643:5): [True: 0, False: 2]
  ------------------
 8644|      2|    case EOpConstructInt:
  ------------------
  |  Branch (8644:5): [True: 1, False: 1]
  ------------------
 8645|      2|        basicOp = EOpConstructInt;
 8646|      2|        break;
 8647|       |
 8648|      0|    case EOpConstructU16Vec2:
  ------------------
  |  Branch (8648:5): [True: 0, False: 2]
  ------------------
 8649|      0|    case EOpConstructU16Vec3:
  ------------------
  |  Branch (8649:5): [True: 0, False: 2]
  ------------------
 8650|      0|    case EOpConstructU16Vec4:
  ------------------
  |  Branch (8650:5): [True: 0, False: 2]
  ------------------
 8651|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (8651:5): [True: 0, False: 2]
  ------------------
 8652|      0|        basicOp = EOpConstructUint16;
 8653|      0|        break;
 8654|       |
 8655|      0|    case EOpConstructUVec2:
  ------------------
  |  Branch (8655:5): [True: 0, False: 2]
  ------------------
 8656|      0|    case EOpConstructUVec3:
  ------------------
  |  Branch (8656:5): [True: 0, False: 2]
  ------------------
 8657|      0|    case EOpConstructUVec4:
  ------------------
  |  Branch (8657:5): [True: 0, False: 2]
  ------------------
 8658|      0|    case EOpConstructUMat2x2:
  ------------------
  |  Branch (8658:5): [True: 0, False: 2]
  ------------------
 8659|      0|    case EOpConstructUMat2x3:
  ------------------
  |  Branch (8659:5): [True: 0, False: 2]
  ------------------
 8660|      0|    case EOpConstructUMat2x4:
  ------------------
  |  Branch (8660:5): [True: 0, False: 2]
  ------------------
 8661|      0|    case EOpConstructUMat3x2:
  ------------------
  |  Branch (8661:5): [True: 0, False: 2]
  ------------------
 8662|      0|    case EOpConstructUMat3x3:
  ------------------
  |  Branch (8662:5): [True: 0, False: 2]
  ------------------
 8663|      0|    case EOpConstructUMat3x4:
  ------------------
  |  Branch (8663:5): [True: 0, False: 2]
  ------------------
 8664|      0|    case EOpConstructUMat4x2:
  ------------------
  |  Branch (8664:5): [True: 0, False: 2]
  ------------------
 8665|      0|    case EOpConstructUMat4x3:
  ------------------
  |  Branch (8665:5): [True: 0, False: 2]
  ------------------
 8666|      0|    case EOpConstructUMat4x4:
  ------------------
  |  Branch (8666:5): [True: 0, False: 2]
  ------------------
 8667|      0|    case EOpConstructUint:
  ------------------
  |  Branch (8667:5): [True: 0, False: 2]
  ------------------
 8668|      0|        basicOp = EOpConstructUint;
 8669|      0|        break;
 8670|       |
 8671|      0|    case EOpConstructBVec2:
  ------------------
  |  Branch (8671:5): [True: 0, False: 2]
  ------------------
 8672|      0|    case EOpConstructBVec3:
  ------------------
  |  Branch (8672:5): [True: 0, False: 2]
  ------------------
 8673|      0|    case EOpConstructBVec4:
  ------------------
  |  Branch (8673:5): [True: 0, False: 2]
  ------------------
 8674|      0|    case EOpConstructBMat2x2:
  ------------------
  |  Branch (8674:5): [True: 0, False: 2]
  ------------------
 8675|      0|    case EOpConstructBMat2x3:
  ------------------
  |  Branch (8675:5): [True: 0, False: 2]
  ------------------
 8676|      0|    case EOpConstructBMat2x4:
  ------------------
  |  Branch (8676:5): [True: 0, False: 2]
  ------------------
 8677|      0|    case EOpConstructBMat3x2:
  ------------------
  |  Branch (8677:5): [True: 0, False: 2]
  ------------------
 8678|      0|    case EOpConstructBMat3x3:
  ------------------
  |  Branch (8678:5): [True: 0, False: 2]
  ------------------
 8679|      0|    case EOpConstructBMat3x4:
  ------------------
  |  Branch (8679:5): [True: 0, False: 2]
  ------------------
 8680|      0|    case EOpConstructBMat4x2:
  ------------------
  |  Branch (8680:5): [True: 0, False: 2]
  ------------------
 8681|      0|    case EOpConstructBMat4x3:
  ------------------
  |  Branch (8681:5): [True: 0, False: 2]
  ------------------
 8682|      0|    case EOpConstructBMat4x4:
  ------------------
  |  Branch (8682:5): [True: 0, False: 2]
  ------------------
 8683|      0|    case EOpConstructBool:
  ------------------
  |  Branch (8683:5): [True: 0, False: 2]
  ------------------
 8684|      0|        basicOp = EOpConstructBool;
 8685|      0|        break;
 8686|       |
 8687|      0|    default:
  ------------------
  |  Branch (8687:5): [True: 0, False: 2]
  ------------------
 8688|      0|        error(loc, "unsupported construction", "", "");
 8689|       |
 8690|      0|        return nullptr;
 8691|      2|    }
 8692|      2|    newNode = intermediate.addUnaryMath(basicOp, node, node->getLoc());
 8693|      2|    if (newNode == nullptr) {
  ------------------
  |  Branch (8693:9): [True: 0, False: 2]
  ------------------
 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|      2|    if (subset || (newNode != node && newNode->getType() == type))
  ------------------
  |  Branch (8703:9): [True: 0, False: 2]
  |  Branch (8703:20): [True: 1, False: 1]
  |  Branch (8703:39): [True: 0, False: 1]
  ------------------
 8704|      0|        return newNode;
 8705|       |
 8706|       |    // setAggregateOperator will insert a new node for the constructor, as needed.
 8707|      2|    return intermediate.setAggregateOperator(newNode, op, type, loc);
 8708|      2|}
_ZNK7glslang16HlslParseContext20getFullNamespaceNameERPNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 9500|   112k|{
 9501|   112k|    if (currentTypePrefix.size() == 0)
  ------------------
  |  Branch (9501:9): [True: 112k, False: 0]
  ------------------
 9502|   112k|        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|      1|{
 9711|      1|    if (qualifier.declaredBuiltIn == EbvNone)
  ------------------
  |  Branch (9711:9): [True: 1, False: 0]
  ------------------
 9712|      1|        qualifier.declaredBuiltIn = qualifier.builtIn;
 9713|       |
 9714|      1|    qualifier.builtIn = EbvNone;
 9715|      1|    qualifier.clearInterstage();
 9716|      1|    qualifier.clearInterstageLayout();
 9717|      1|}
_ZN7glslang16HlslParseContext20setTextureReturnTypeERNS_8TSamplerERKNS_5TTypeERKNS_10TSourceLocE:
 9729|  22.7k|{
 9730|       |    // Seed the output with an invalid index.  We will set it to a valid one if we can.
 9731|  22.7k|    sampler.structReturnIndex = TSampler::noReturnStruct;
 9732|       |
 9733|       |    // Arrays aren't supported.
 9734|  22.7k|    if (retType.isArray()) {
  ------------------
  |  Branch (9734:9): [True: 0, False: 22.7k]
  ------------------
 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|  22.7k|    if (retType.isVector() || retType.isScalar()) {
  ------------------
  |  Branch (9740:9): [True: 22.7k, False: 0]
  |  Branch (9740:31): [True: 0, False: 0]
  ------------------
 9741|  22.7k|        sampler.vectorSize = retType.getVectorSize();
 9742|  22.7k|        return true;
 9743|  22.7k|    }
 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|     54|{
 9879|     54|    TSourceLoc loc;
 9880|     54|    loc.init();
 9881|       |
 9882|       |    // If there's no patch constant function, or we're not a HS, do nothing.
 9883|     54|    if (patchConstantFunctionName.empty() || language != EShLangTessControl)
  ------------------
  |  Branch (9883:9): [True: 54, False: 0]
  |  Branch (9883:46): [True: 0, False: 0]
  ------------------
 9884|     54|        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|     54|{
10235|     54|    const auto endIt = std::remove_if(linkageSymbols.begin(), linkageSymbols.end(),
10236|     54|                                      [this](const TSymbol* sym) {
10237|     54|                                          const auto sbcIt = structBufferCounter.find(sym->getName());
10238|     54|                                          return sbcIt != structBufferCounter.end() && !sbcIt->second;
10239|     54|                                      });
10240|       |
10241|     54|    linkageSymbols.erase(endIt, linkageSymbols.end());
10242|     54|}
_ZN7glslang16HlslParseContext21fixTextureShadowModesEv:
10246|     54|{
10247|     54|    for (auto symbol = linkageSymbols.begin(); symbol != linkageSymbols.end(); ++symbol) {
  ------------------
  |  Branch (10247:48): [True: 0, False: 54]
  ------------------
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|     54|}
_ZN7glslang16HlslParseContext21finalizeAppendMethodsEv:
10267|     54|{
10268|     54|    TSourceLoc loc;
10269|     54|    loc.init();
10270|       |
10271|       |    // Nothing to do: bypass test for valid stream output.
10272|     54|    if (gsAppends.empty())
  ------------------
  |  Branch (10272:9): [True: 54, False: 0]
  ------------------
10273|     54|        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|     54|{
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|     54|    if (! mipsOperatorMipArg.empty()) {
  ------------------
  |  Branch (10294:9): [True: 0, False: 54]
  ------------------
10295|      0|        error(mipsOperatorMipArg.back().loc, "unterminated mips operator:", "", "");
10296|      0|    }
10297|       |
10298|     54|    removeUnusedStructBufferCounters();
10299|     54|    addPatchConstantInvocation();
10300|     54|    fixTextureShadowModes();
10301|     54|    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|     54|    if (intermediate.needsLegalization() && (messages & EShMsgHlslLegalization))
  ------------------
  |  Branch (10305:9): [True: 0, False: 54]
  |  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|     54|    TParseContextBase::finish();
10309|     54|}
hlslParseHelper.cpp:_ZZN7glslang16HlslParseContext19getLayoutFromTxTypeERKNS_10TSourceLocERKNS_5TTypeEENK3$_0clENS_13TLayoutFormatES8_S8_:
  196|  1.59k|    const auto selectFormat = [this,&components](TLayoutFormat v1, TLayoutFormat v2, TLayoutFormat v4) -> TLayoutFormat {
  197|  1.59k|        if (intermediate.getNoStorageFormat())
  ------------------
  |  Branch (197:13): [True: 0, False: 1.59k]
  ------------------
  198|      0|            return ElfNone;
  199|       |
  200|  1.59k|        return components == 1 ? v1 :
  ------------------
  |  Branch (200:16): [True: 840, False: 756]
  ------------------
  201|  1.59k|               components == 2 ? v2 : v4;
  ------------------
  |  Branch (201:16): [True: 504, False: 252]
  ------------------
  202|  1.59k|    };

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

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

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

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

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

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

_ZNK7glslang20TIntermConstantUnion4foldENS_9TOperatorEPKNS_12TIntermTypedE:
   73|      2|{
   74|       |    // For most cases, the return type matches the argument type, so set that
   75|       |    // up and just code to exceptions below.
   76|      2|    TType returnType;
   77|      2|    returnType.shallowCopy(getType());
   78|       |
   79|       |    //
   80|       |    // A pair of nodes is to be folded together
   81|       |    //
   82|       |
   83|      2|    const TIntermConstantUnion *rightNode = rightConstantNode->getAsConstantUnion();
   84|      2|    TConstUnionArray leftUnionArray = getConstArray();
   85|      2|    TConstUnionArray rightUnionArray = rightNode->getConstArray();
   86|       |
   87|       |    // Figure out the size of the result
   88|      2|    int newComps;
   89|      2|    int constComps;
   90|      2|    switch(op) {
   91|      0|    case EOpMatrixTimesMatrix:
  ------------------
  |  Branch (91:5): [True: 0, False: 2]
  ------------------
   92|      0|        newComps = rightNode->getMatrixCols() * getMatrixRows();
   93|      0|        break;
   94|      0|    case EOpMatrixTimesVector:
  ------------------
  |  Branch (94:5): [True: 0, False: 2]
  ------------------
   95|      0|        newComps = getMatrixRows();
   96|      0|        break;
   97|      0|    case EOpVectorTimesMatrix:
  ------------------
  |  Branch (97:5): [True: 0, False: 2]
  ------------------
   98|      0|        newComps = rightNode->getMatrixCols();
   99|      0|        break;
  100|      2|    default:
  ------------------
  |  Branch (100:5): [True: 2, False: 0]
  ------------------
  101|      2|        newComps = getType().computeNumComponents();
  102|      2|        constComps = rightConstantNode->getType().computeNumComponents();
  103|      2|        if (constComps == 1 && newComps > 1) {
  ------------------
  |  Branch (103:13): [True: 2, False: 0]
  |  Branch (103:32): [True: 0, False: 2]
  ------------------
  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|      2|        } else if (constComps > 1 && newComps == 1) {
  ------------------
  |  Branch (107:20): [True: 0, False: 2]
  |  Branch (107:38): [True: 0, False: 0]
  ------------------
  108|       |            // for a case like vec4 f = 1.2 + vec4(2,3,4,5);
  109|      0|            newComps = constComps;
  110|      0|            rightUnionArray = rightNode->getConstArray();
  111|      0|            TConstUnionArray smearedArray(newComps, getConstArray()[0]);
  112|      0|            leftUnionArray = smearedArray;
  113|      0|            returnType.shallowCopy(rightNode->getType());
  114|      0|        }
  115|      2|        break;
  116|      2|    }
  117|       |
  118|      2|    TConstUnionArray newConstArray(newComps);
  119|      2|    TType constBool(EbtBool, EvqConst);
  120|       |
  121|      2|    switch(op) {
  122|      1|    case EOpAdd:
  ------------------
  |  Branch (122:5): [True: 1, False: 1]
  ------------------
  123|      2|        for (int i = 0; i < newComps; i++)
  ------------------
  |  Branch (123:25): [True: 1, False: 1]
  ------------------
  124|      1|            newConstArray[i] = leftUnionArray[i] + rightUnionArray[i];
  125|      1|        break;
  126|      1|    case EOpSub:
  ------------------
  |  Branch (126:5): [True: 1, False: 1]
  ------------------
  127|      2|        for (int i = 0; i < newComps; i++)
  ------------------
  |  Branch (127:25): [True: 1, False: 1]
  ------------------
  128|      1|            newConstArray[i] = leftUnionArray[i] - rightUnionArray[i];
  129|      1|        break;
  130|       |
  131|      0|    case EOpMul:
  ------------------
  |  Branch (131:5): [True: 0, False: 2]
  ------------------
  132|      0|    case EOpVectorTimesScalar:
  ------------------
  |  Branch (132:5): [True: 0, False: 2]
  ------------------
  133|      0|    case EOpMatrixTimesScalar:
  ------------------
  |  Branch (133:5): [True: 0, False: 2]
  ------------------
  134|      0|        for (int i = 0; i < newComps; i++)
  ------------------
  |  Branch (134:25): [True: 0, False: 0]
  ------------------
  135|      0|            newConstArray[i] = leftUnionArray[i] * rightUnionArray[i];
  136|      0|        break;
  137|      0|    case EOpMatrixTimesMatrix:
  ------------------
  |  Branch (137:5): [True: 0, False: 2]
  ------------------
  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: 2]
  ------------------
  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: 2]
  ------------------
  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: 2]
  ------------------
  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: 2]
  ------------------
  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: 2]
  ------------------
  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: 2]
  ------------------
  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|      0|    case EOpAnd:
  ------------------
  |  Branch (298:5): [True: 0, False: 2]
  ------------------
  299|      0|        for (int i = 0; i < newComps; i++)
  ------------------
  |  Branch (299:25): [True: 0, False: 0]
  ------------------
  300|      0|            newConstArray[i] = leftUnionArray[i] & rightUnionArray[i];
  301|      0|        break;
  302|      0|    case EOpInclusiveOr:
  ------------------
  |  Branch (302:5): [True: 0, False: 2]
  ------------------
  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: 2]
  ------------------
  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: 2]
  ------------------
  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: 2]
  ------------------
  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: 2]
  ------------------
  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|      0|    case EOpLessThan:
  ------------------
  |  Branch (330:5): [True: 0, False: 2]
  ------------------
  331|      0|        newConstArray[0].setBConst(leftUnionArray[0] < rightUnionArray[0]);
  332|      0|        returnType.shallowCopy(constBool);
  333|      0|        break;
  334|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (334:5): [True: 0, False: 2]
  ------------------
  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: 2]
  ------------------
  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: 2]
  ------------------
  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: 2]
  ------------------
  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: 2]
  ------------------
  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: 2]
  ------------------
  356|      0|        return nullptr;
  357|      2|    }
  358|       |
  359|      2|    TIntermConstantUnion *newNode = new TIntermConstantUnion(newConstArray, returnType);
  360|      2|    newNode->setLoc(getLoc());
  361|       |
  362|      2|    return newNode;
  363|      2|}
_ZNK7glslang20TIntermConstantUnion4foldENS_9TOperatorERKNS_5TTypeE:
  371|     11|{
  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|     11|    int resultSize;
  376|     11|    bool componentWise = true;
  377|       |
  378|     11|    int objectSize = getType().computeNumComponents();
  379|     11|    switch (op) {
  380|      0|    case EOpDeterminant:
  ------------------
  |  Branch (380:5): [True: 0, False: 11]
  ------------------
  381|      0|    case EOpAny:
  ------------------
  |  Branch (381:5): [True: 0, False: 11]
  ------------------
  382|      0|    case EOpAll:
  ------------------
  |  Branch (382:5): [True: 0, False: 11]
  ------------------
  383|      0|    case EOpLength:
  ------------------
  |  Branch (383:5): [True: 0, False: 11]
  ------------------
  384|      0|        componentWise = false;
  385|      0|        resultSize = 1;
  386|      0|        break;
  387|       |
  388|      0|    case EOpEmitStreamVertex:
  ------------------
  |  Branch (388:5): [True: 0, False: 11]
  ------------------
  389|      0|    case EOpEndStreamPrimitive:
  ------------------
  |  Branch (389:5): [True: 0, False: 11]
  ------------------
  390|       |        // These don't fold
  391|      0|        return nullptr;
  392|       |
  393|      0|    case EOpPackSnorm2x16:
  ------------------
  |  Branch (393:5): [True: 0, False: 11]
  ------------------
  394|      0|    case EOpPackUnorm2x16:
  ------------------
  |  Branch (394:5): [True: 0, False: 11]
  ------------------
  395|      0|    case EOpPackHalf2x16:
  ------------------
  |  Branch (395:5): [True: 0, False: 11]
  ------------------
  396|      0|        componentWise = false;
  397|      0|        resultSize = 1;
  398|      0|        break;
  399|       |
  400|      0|    case EOpUnpackSnorm2x16:
  ------------------
  |  Branch (400:5): [True: 0, False: 11]
  ------------------
  401|      0|    case EOpUnpackUnorm2x16:
  ------------------
  |  Branch (401:5): [True: 0, False: 11]
  ------------------
  402|      0|    case EOpUnpackHalf2x16:
  ------------------
  |  Branch (402:5): [True: 0, False: 11]
  ------------------
  403|      0|        componentWise = false;
  404|      0|        resultSize = 2;
  405|      0|        break;
  406|       |
  407|      0|    case EOpPack16:
  ------------------
  |  Branch (407:5): [True: 0, False: 11]
  ------------------
  408|      0|    case EOpPack32:
  ------------------
  |  Branch (408:5): [True: 0, False: 11]
  ------------------
  409|      0|    case EOpPack64:
  ------------------
  |  Branch (409:5): [True: 0, False: 11]
  ------------------
  410|      0|    case EOpUnpack32:
  ------------------
  |  Branch (410:5): [True: 0, False: 11]
  ------------------
  411|      0|    case EOpUnpack16:
  ------------------
  |  Branch (411:5): [True: 0, False: 11]
  ------------------
  412|      0|    case EOpUnpack8:
  ------------------
  |  Branch (412:5): [True: 0, False: 11]
  ------------------
  413|      0|    case EOpNormalize:
  ------------------
  |  Branch (413:5): [True: 0, False: 11]
  ------------------
  414|      0|        componentWise = false;
  415|      0|        resultSize = objectSize;
  416|      0|        break;
  417|       |
  418|     11|    default:
  ------------------
  |  Branch (418:5): [True: 11, False: 0]
  ------------------
  419|     11|        resultSize = objectSize;
  420|     11|        break;
  421|     11|    }
  422|       |
  423|       |    // Set up for processing
  424|     11|    TConstUnionArray newConstArray(resultSize);
  425|     11|    const TConstUnionArray& unionArray = getConstArray();
  426|       |
  427|       |    // Process non-component-wise operations
  428|     11|    switch (op) {
  429|      0|    case EOpLength:
  ------------------
  |  Branch (429:5): [True: 0, False: 11]
  ------------------
  430|      0|    case EOpNormalize:
  ------------------
  |  Branch (430:5): [True: 0, False: 11]
  ------------------
  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: 11]
  ------------------
  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: 11]
  ------------------
  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: 11]
  ------------------
  467|      0|    case EOpPackUnorm2x16:
  ------------------
  |  Branch (467:5): [True: 0, False: 11]
  ------------------
  468|      0|    case EOpPackHalf2x16:
  ------------------
  |  Branch (468:5): [True: 0, False: 11]
  ------------------
  469|      0|    case EOpPack16:
  ------------------
  |  Branch (469:5): [True: 0, False: 11]
  ------------------
  470|      0|    case EOpPack32:
  ------------------
  |  Branch (470:5): [True: 0, False: 11]
  ------------------
  471|      0|    case EOpPack64:
  ------------------
  |  Branch (471:5): [True: 0, False: 11]
  ------------------
  472|      0|    case EOpUnpack32:
  ------------------
  |  Branch (472:5): [True: 0, False: 11]
  ------------------
  473|      0|    case EOpUnpack16:
  ------------------
  |  Branch (473:5): [True: 0, False: 11]
  ------------------
  474|      0|    case EOpUnpack8:
  ------------------
  |  Branch (474:5): [True: 0, False: 11]
  ------------------
  475|       |
  476|      0|    case EOpUnpackSnorm2x16:
  ------------------
  |  Branch (476:5): [True: 0, False: 11]
  ------------------
  477|      0|    case EOpUnpackUnorm2x16:
  ------------------
  |  Branch (477:5): [True: 0, False: 11]
  ------------------
  478|      0|    case EOpUnpackHalf2x16:
  ------------------
  |  Branch (478:5): [True: 0, False: 11]
  ------------------
  479|       |
  480|      0|    case EOpDeterminant:
  ------------------
  |  Branch (480:5): [True: 0, False: 11]
  ------------------
  481|      0|    case EOpMatrixInverse:
  ------------------
  |  Branch (481:5): [True: 0, False: 11]
  ------------------
  482|      0|    case EOpTranspose:
  ------------------
  |  Branch (482:5): [True: 0, False: 11]
  ------------------
  483|      0|        return nullptr;
  484|       |
  485|     11|    default:
  ------------------
  |  Branch (485:5): [True: 11, False: 0]
  ------------------
  486|     11|        assert(componentWise);
  487|     11|        break;
  488|     11|    }
  489|       |
  490|       |    // Turn off the componentwise loop
  491|     11|    if (! componentWise)
  ------------------
  |  Branch (491:9): [True: 0, False: 11]
  ------------------
  492|      0|        objectSize = 0;
  493|       |
  494|       |    // Process component-wise operations
  495|     23|    for (int i = 0; i < objectSize; i++) {
  ------------------
  |  Branch (495:21): [True: 12, False: 11]
  ------------------
  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|     12|        if (IsOpNumericConv(op)) {
  ------------------
  |  Branch (499:13): [True: 0, False: 12]
  ------------------
  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|     12|        switch (op) {
  663|      6|        case EOpNegative:
  ------------------
  |  Branch (663:9): [True: 6, False: 6]
  ------------------
  664|      6|            switch (getType().getBasicType()) {
  665|      0|            case EbtDouble:
  ------------------
  |  Branch (665:13): [True: 0, False: 6]
  ------------------
  666|      0|            case EbtFloat16:
  ------------------
  |  Branch (666:13): [True: 0, False: 6]
  ------------------
  667|      0|            case EbtBFloat16:
  ------------------
  |  Branch (667:13): [True: 0, False: 6]
  ------------------
  668|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (668:13): [True: 0, False: 6]
  ------------------
  669|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (669:13): [True: 0, False: 6]
  ------------------
  670|      0|            case EbtFloat: newConstArray[i].setDConst(-unionArray[i].getDConst()); break;
  ------------------
  |  Branch (670:13): [True: 0, False: 6]
  ------------------
  671|       |            // Note: avoid UBSAN error regarding negating 0x80000000
  672|      6|            case EbtInt:   newConstArray[i].setIConst(
  ------------------
  |  Branch (672:13): [True: 6, False: 0]
  ------------------
  673|      6|                                static_cast<unsigned int>(unionArray[i].getIConst()) == 0x80000000
  ------------------
  |  Branch (673:33): [True: 0, False: 6]
  ------------------
  674|      6|                                    ? -0x7FFFFFFF - 1
  675|      6|                                    : -unionArray[i].getIConst());
  676|      6|                           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: 6]
  ------------------
  678|      0|            case EbtInt8:  newConstArray[i].setI8Const(-unionArray[i].getI8Const()); break;
  ------------------
  |  Branch (678:13): [True: 0, False: 6]
  ------------------
  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: 6]
  ------------------
  680|      0|            case EbtInt16: newConstArray[i].setI16Const(-unionArray[i].getI16Const()); break;
  ------------------
  |  Branch (680:13): [True: 0, False: 6]
  ------------------
  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: 6]
  ------------------
  682|      0|            case EbtInt64: {
  ------------------
  |  Branch (682:13): [True: 0, False: 6]
  ------------------
  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: 6]
  ------------------
  688|      0|            default:
  ------------------
  |  Branch (688:13): [True: 0, False: 6]
  ------------------
  689|      0|                return nullptr;
  690|      6|            }
  691|      6|            break;
  692|      6|        case EOpLogicalNot:
  ------------------
  |  Branch (692:9): [True: 6, False: 6]
  ------------------
  693|      6|        case EOpVectorLogicalNot:
  ------------------
  |  Branch (693:9): [True: 0, False: 12]
  ------------------
  694|      6|            switch (getType().getBasicType()) {
  695|      6|            case EbtBool:  newConstArray[i].setBConst(!unionArray[i].getBConst()); break;
  ------------------
  |  Branch (695:13): [True: 6, False: 0]
  ------------------
  696|      0|            default:
  ------------------
  |  Branch (696:13): [True: 0, False: 6]
  ------------------
  697|      0|                return nullptr;
  698|      6|            }
  699|      6|            break;
  700|      6|        case EOpBitwiseNot:
  ------------------
  |  Branch (700:9): [True: 0, False: 12]
  ------------------
  701|      0|            newConstArray[i] = ~unionArray[i];
  702|      0|            break;
  703|      0|        case EOpRadians:
  ------------------
  |  Branch (703:9): [True: 0, False: 12]
  ------------------
  704|      0|            newConstArray[i].setDConst(unionArray[i].getDConst() * pi / 180.0);
  705|      0|            break;
  706|      0|        case EOpDegrees:
  ------------------
  |  Branch (706:9): [True: 0, False: 12]
  ------------------
  707|      0|            newConstArray[i].setDConst(unionArray[i].getDConst() * 180.0 / pi);
  708|      0|            break;
  709|      0|        case EOpSin:
  ------------------
  |  Branch (709:9): [True: 0, False: 12]
  ------------------
  710|      0|            newConstArray[i].setDConst(sin(unionArray[i].getDConst()));
  711|      0|            break;
  712|      0|        case EOpCos:
  ------------------
  |  Branch (712:9): [True: 0, False: 12]
  ------------------
  713|      0|            newConstArray[i].setDConst(cos(unionArray[i].getDConst()));
  714|      0|            break;
  715|      0|        case EOpTan:
  ------------------
  |  Branch (715:9): [True: 0, False: 12]
  ------------------
  716|      0|            newConstArray[i].setDConst(tan(unionArray[i].getDConst()));
  717|      0|            break;
  718|      0|        case EOpAsin:
  ------------------
  |  Branch (718:9): [True: 0, False: 12]
  ------------------
  719|      0|            newConstArray[i].setDConst(asin(unionArray[i].getDConst()));
  720|      0|            break;
  721|      0|        case EOpAcos:
  ------------------
  |  Branch (721:9): [True: 0, False: 12]
  ------------------
  722|      0|            newConstArray[i].setDConst(acos(unionArray[i].getDConst()));
  723|      0|            break;
  724|      0|        case EOpAtan:
  ------------------
  |  Branch (724:9): [True: 0, False: 12]
  ------------------
  725|      0|            newConstArray[i].setDConst(atan(unionArray[i].getDConst()));
  726|      0|            break;
  727|       |
  728|      0|        case EOpDPdx:
  ------------------
  |  Branch (728:9): [True: 0, False: 12]
  ------------------
  729|      0|        case EOpDPdy:
  ------------------
  |  Branch (729:9): [True: 0, False: 12]
  ------------------
  730|      0|        case EOpFwidth:
  ------------------
  |  Branch (730:9): [True: 0, False: 12]
  ------------------
  731|      0|        case EOpDPdxFine:
  ------------------
  |  Branch (731:9): [True: 0, False: 12]
  ------------------
  732|      0|        case EOpDPdyFine:
  ------------------
  |  Branch (732:9): [True: 0, False: 12]
  ------------------
  733|      0|        case EOpFwidthFine:
  ------------------
  |  Branch (733:9): [True: 0, False: 12]
  ------------------
  734|      0|        case EOpDPdxCoarse:
  ------------------
  |  Branch (734:9): [True: 0, False: 12]
  ------------------
  735|      0|        case EOpDPdyCoarse:
  ------------------
  |  Branch (735:9): [True: 0, False: 12]
  ------------------
  736|      0|        case EOpFwidthCoarse:
  ------------------
  |  Branch (736:9): [True: 0, False: 12]
  ------------------
  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: 12]
  ------------------
  742|      0|            newConstArray[i].setDConst(exp(unionArray[i].getDConst()));
  743|      0|            break;
  744|      0|        case EOpLog:
  ------------------
  |  Branch (744:9): [True: 0, False: 12]
  ------------------
  745|      0|            newConstArray[i].setDConst(log(unionArray[i].getDConst()));
  746|      0|            break;
  747|      0|        case EOpExp2:
  ------------------
  |  Branch (747:9): [True: 0, False: 12]
  ------------------
  748|      0|            newConstArray[i].setDConst(exp2(unionArray[i].getDConst()));
  749|      0|            break;
  750|      0|        case EOpLog2:
  ------------------
  |  Branch (750:9): [True: 0, False: 12]
  ------------------
  751|      0|            newConstArray[i].setDConst(log2(unionArray[i].getDConst()));
  752|      0|            break;
  753|      0|        case EOpSqrt:
  ------------------
  |  Branch (753:9): [True: 0, False: 12]
  ------------------
  754|      0|            newConstArray[i].setDConst(sqrt(unionArray[i].getDConst()));
  755|      0|            break;
  756|      0|        case EOpInverseSqrt:
  ------------------
  |  Branch (756:9): [True: 0, False: 12]
  ------------------
  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: 12]
  ------------------
  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: 12]
  ------------------
  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: 12]
  ------------------
  776|      0|            newConstArray[i].setDConst(floor(unionArray[i].getDConst()));
  777|      0|            break;
  778|      0|        case EOpTrunc:
  ------------------
  |  Branch (778:9): [True: 0, False: 12]
  ------------------
  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: 12]
  ------------------
  785|      0|            newConstArray[i].setDConst(floor(0.5 + unionArray[i].getDConst()));
  786|      0|            break;
  787|      0|        case EOpRoundEven:
  ------------------
  |  Branch (787:9): [True: 0, False: 12]
  ------------------
  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: 12]
  ------------------
  796|      0|            newConstArray[i].setDConst(ceil(unionArray[i].getDConst()));
  797|      0|            break;
  798|      0|        case EOpFract:
  ------------------
  |  Branch (798:9): [True: 0, False: 12]
  ------------------
  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: 12]
  ------------------
  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: 12]
  ------------------
  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: 12]
  ------------------
  817|      0|        case EOpConvUint64ToPtr:
  ------------------
  |  Branch (817:9): [True: 0, False: 12]
  ------------------
  818|      0|        case EOpConstructReference:
  ------------------
  |  Branch (818:9): [True: 0, False: 12]
  ------------------
  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: 12]
  ------------------
  824|      0|        case EOpCosh:
  ------------------
  |  Branch (824:9): [True: 0, False: 12]
  ------------------
  825|      0|        case EOpTanh:
  ------------------
  |  Branch (825:9): [True: 0, False: 12]
  ------------------
  826|      0|        case EOpAsinh:
  ------------------
  |  Branch (826:9): [True: 0, False: 12]
  ------------------
  827|      0|        case EOpAcosh:
  ------------------
  |  Branch (827:9): [True: 0, False: 12]
  ------------------
  828|      0|        case EOpAtanh:
  ------------------
  |  Branch (828:9): [True: 0, False: 12]
  ------------------
  829|       |
  830|      0|        case EOpFloatBitsToInt:
  ------------------
  |  Branch (830:9): [True: 0, False: 12]
  ------------------
  831|      0|        case EOpFloatBitsToUint:
  ------------------
  |  Branch (831:9): [True: 0, False: 12]
  ------------------
  832|      0|        case EOpIntBitsToFloat:
  ------------------
  |  Branch (832:9): [True: 0, False: 12]
  ------------------
  833|      0|        case EOpUintBitsToFloat:
  ------------------
  |  Branch (833:9): [True: 0, False: 12]
  ------------------
  834|      0|        case EOpDoubleBitsToInt64:
  ------------------
  |  Branch (834:9): [True: 0, False: 12]
  ------------------
  835|      0|        case EOpDoubleBitsToUint64:
  ------------------
  |  Branch (835:9): [True: 0, False: 12]
  ------------------
  836|      0|        case EOpInt64BitsToDouble:
  ------------------
  |  Branch (836:9): [True: 0, False: 12]
  ------------------
  837|      0|        case EOpUint64BitsToDouble:
  ------------------
  |  Branch (837:9): [True: 0, False: 12]
  ------------------
  838|      0|        case EOpFloat16BitsToInt16:
  ------------------
  |  Branch (838:9): [True: 0, False: 12]
  ------------------
  839|      0|        case EOpFloat16BitsToUint16:
  ------------------
  |  Branch (839:9): [True: 0, False: 12]
  ------------------
  840|      0|        case EOpInt16BitsToFloat16:
  ------------------
  |  Branch (840:9): [True: 0, False: 12]
  ------------------
  841|      0|        case EOpUint16BitsToFloat16:
  ------------------
  |  Branch (841:9): [True: 0, False: 12]
  ------------------
  842|      0|        default:
  ------------------
  |  Branch (842:9): [True: 0, False: 12]
  ------------------
  843|      0|            return nullptr;
  844|     12|        }
  845|     12|    }
  846|       |
  847|     11|    TIntermConstantUnion *newNode = new TIntermConstantUnion(newConstArray, returnType);
  848|     11|    newNode->getWritableType().getQualifier().storage = EvqConst;
  849|     11|    newNode->setLoc(getLoc());
  850|       |
  851|     11|    return newNode;
  852|     11|}
_ZN7glslang13TIntermediate4foldEPNS_16TIntermAggregateE:
  859|     51|{
  860|     51|    if (aggrNode == nullptr)
  ------------------
  |  Branch (860:9): [True: 0, False: 51]
  ------------------
  861|      0|        return aggrNode;
  862|       |
  863|     51|    if (! areAllChildConst(aggrNode))
  ------------------
  |  Branch (863:9): [True: 1, False: 50]
  ------------------
  864|      1|        return aggrNode;
  865|       |
  866|     50|    if (aggrNode->isConstructor())
  ------------------
  |  Branch (866:9): [True: 50, False: 0]
  ------------------
  867|     50|        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|     51|{
 1216|     51|    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|     51|    if (aggrNode) {
  ------------------
  |  Branch (1220:9): [True: 51, False: 0]
  ------------------
 1221|     51|        TIntermSequence& childSequenceVector = aggrNode->getSequence();
 1222|     51|        for (TIntermSequence::iterator p  = childSequenceVector.begin();
 1223|    191|                                       p != childSequenceVector.end(); p++) {
  ------------------
  |  Branch (1223:40): [True: 141, False: 50]
  ------------------
 1224|    141|            if (!(*p)->getAsTyped()->getAsConstantUnion())
  ------------------
  |  Branch (1224:17): [True: 1, False: 140]
  ------------------
 1225|      1|                return false;
 1226|    141|        }
 1227|     51|    }
 1228|       |
 1229|     50|    return allConstant;
 1230|     51|}
_ZN7glslang13TIntermediate15foldConstructorEPNS_16TIntermAggregateE:
 1233|     50|{
 1234|     50|    bool error = false;
 1235|       |
 1236|     50|    TConstUnionArray unionArray(aggrNode->getType().computeNumComponents());
 1237|     50|    if (aggrNode->getSequence().size() == 1)
  ------------------
  |  Branch (1237:9): [True: 5, False: 45]
  ------------------
 1238|      5|        error = parseConstTree(aggrNode, unionArray, aggrNode->getOp(), aggrNode->getType(), true);
 1239|     45|    else
 1240|     45|        error = parseConstTree(aggrNode, unionArray, aggrNode->getOp(), aggrNode->getType());
 1241|       |
 1242|     50|    if (error)
  ------------------
  |  Branch (1242:9): [True: 0, False: 50]
  ------------------
 1243|      0|        return aggrNode;
 1244|       |
 1245|     50|    return addConstantUnion(unionArray, aggrNode->getType(), aggrNode->getLoc());
 1246|     50|}

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

_ZN7glslang9TBuiltIns17addTabledBuiltinsEi8EProfileRKNS_10SpvVersionE:
  509|     46|{
  510|     46|    const auto forEachFunction = [&](TString& decls, const span<const BuiltInFunction>& functions) {
  511|     46|        for (const auto& fn : functions) {
  512|     46|            if (ValidVersion(fn, version, profile, spvVersion)) {
  513|     46|                AddTabledBuiltin(decls, fn);
  514|     46|                if (profile != EEsProfile) {
  515|     46|                    AddLongVectorBuiltin(decls, fn);
  516|     46|                }
  517|     46|            }
  518|     46|        }
  519|     46|    };
  520|       |
  521|     46|    forEachFunction(commonBuiltins, BaseFunctions);
  522|     46|    forEachFunction(stageBuiltins[EShLangFragment], DerivativeFunctions);
  523|       |
  524|     46|    if ((profile == EEsProfile && version >= 320) || (profile != EEsProfile && version >= 450))
  ------------------
  |  Branch (524:10): [True: 39, False: 7]
  |  Branch (524:35): [True: 0, False: 39]
  |  Branch (524:55): [True: 7, False: 39]
  |  Branch (524:80): [True: 7, False: 0]
  ------------------
  525|      7|        forEachFunction(stageBuiltins[EShLangCompute], DerivativeFunctions);
  526|     46|}
_ZN7glslang9TBuiltIns20relateTabledBuiltinsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableE:
  530|    175|{
  531|    175|    RelateTabledBuiltins(BaseFunctions, symbolTable);
  532|    175|    RelateTabledBuiltins(DerivativeFunctions, symbolTable);
  533|    175|    RelateTabledBuiltins(CustomFunctions, symbolTable);
  534|    175|}
_ZN7glslang18TBuiltInParseablesC2Ev:
  544|    147|{
  545|    147|}
_ZN7glslang18TBuiltInParseablesD2Ev:
  549|    147|{
  550|    147|}
_ZN7glslang9TBuiltInsC2Ev:
  553|     91|{
  554|       |    // Set up textual representations for making all the permutations
  555|       |    // of texturing/imaging functions.
  556|     91|    prefixes[EbtFloat] =  "";
  557|     91|    prefixes[EbtInt]   = "i";
  558|     91|    prefixes[EbtUint]  = "u";
  559|     91|    prefixes[EbtFloat16] = "f16";
  560|     91|    prefixes[EbtInt8]  = "i8";
  561|     91|    prefixes[EbtUint8] = "u8";
  562|     91|    prefixes[EbtInt16]  = "i16";
  563|     91|    prefixes[EbtUint16] = "u16";
  564|     91|    prefixes[EbtInt64]  = "i64";
  565|     91|    prefixes[EbtUint64] = "u64";
  566|       |
  567|     91|    postfixes[2] = "2";
  568|     91|    postfixes[3] = "3";
  569|     91|    postfixes[4] = "4";
  570|       |
  571|       |    // Map from symbolic class of texturing dimension to numeric dimensions.
  572|     91|    dimMap[Esd2D] = 2;
  573|     91|    dimMap[Esd3D] = 3;
  574|     91|    dimMap[EsdCube] = 3;
  575|     91|    dimMap[Esd1D] = 1;
  576|     91|    dimMap[EsdRect] = 2;
  577|     91|    dimMap[EsdBuffer] = 1;
  578|     91|    dimMap[EsdSubpass] = 2;  // potentially unused for now
  579|     91|    dimMap[EsdAttachmentEXT] = 2;  // potentially unused for now
  580|     91|}
_ZN7glslang9TBuiltIns10initializeEi8EProfileRKNS_10SpvVersionE:
  596|     46|{
  597|     46|    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|     46|    TString derivatives (
  609|     46|        "float dFdx(float p);"
  610|     46|        "vec2  dFdx(vec2  p);"
  611|     46|        "vec3  dFdx(vec3  p);"
  612|     46|        "vec4  dFdx(vec4  p);"
  613|       |
  614|     46|        "float dFdy(float p);"
  615|     46|        "vec2  dFdy(vec2  p);"
  616|     46|        "vec3  dFdy(vec3  p);"
  617|     46|        "vec4  dFdy(vec4  p);"
  618|       |
  619|     46|        "float fwidth(float p);"
  620|     46|        "vec2  fwidth(vec2  p);"
  621|     46|        "vec3  fwidth(vec3  p);"
  622|     46|        "vec4  fwidth(vec4  p);"
  623|     46|    );
  624|       |
  625|     46|    TString derivativeControls (
  626|     46|        "float dFdxFine(float p);"
  627|     46|        "vec2  dFdxFine(vec2  p);"
  628|     46|        "vec3  dFdxFine(vec3  p);"
  629|     46|        "vec4  dFdxFine(vec4  p);"
  630|       |
  631|     46|        "float dFdyFine(float p);"
  632|     46|        "vec2  dFdyFine(vec2  p);"
  633|     46|        "vec3  dFdyFine(vec3  p);"
  634|     46|        "vec4  dFdyFine(vec4  p);"
  635|       |
  636|     46|        "float fwidthFine(float p);"
  637|     46|        "vec2  fwidthFine(vec2  p);"
  638|     46|        "vec3  fwidthFine(vec3  p);"
  639|     46|        "vec4  fwidthFine(vec4  p);"
  640|       |
  641|     46|        "float dFdxCoarse(float p);"
  642|     46|        "vec2  dFdxCoarse(vec2  p);"
  643|     46|        "vec3  dFdxCoarse(vec3  p);"
  644|     46|        "vec4  dFdxCoarse(vec4  p);"
  645|       |
  646|     46|        "float dFdyCoarse(float p);"
  647|     46|        "vec2  dFdyCoarse(vec2  p);"
  648|     46|        "vec3  dFdyCoarse(vec3  p);"
  649|     46|        "vec4  dFdyCoarse(vec4  p);"
  650|       |
  651|     46|        "float fwidthCoarse(float p);"
  652|     46|        "vec2  fwidthCoarse(vec2  p);"
  653|     46|        "vec3  fwidthCoarse(vec3  p);"
  654|     46|        "vec4  fwidthCoarse(vec4  p);"
  655|     46|    );
  656|       |
  657|     46|    TString derivativesAndControl16bits (
  658|     46|        "float16_t dFdx(float16_t);"
  659|     46|        "f16vec2   dFdx(f16vec2);"
  660|     46|        "f16vec3   dFdx(f16vec3);"
  661|     46|        "f16vec4   dFdx(f16vec4);"
  662|       |
  663|     46|        "float16_t dFdy(float16_t);"
  664|     46|        "f16vec2   dFdy(f16vec2);"
  665|     46|        "f16vec3   dFdy(f16vec3);"
  666|     46|        "f16vec4   dFdy(f16vec4);"
  667|       |
  668|     46|        "float16_t dFdxFine(float16_t);"
  669|     46|        "f16vec2   dFdxFine(f16vec2);"
  670|     46|        "f16vec3   dFdxFine(f16vec3);"
  671|     46|        "f16vec4   dFdxFine(f16vec4);"
  672|       |
  673|     46|        "float16_t dFdyFine(float16_t);"
  674|     46|        "f16vec2   dFdyFine(f16vec2);"
  675|     46|        "f16vec3   dFdyFine(f16vec3);"
  676|     46|        "f16vec4   dFdyFine(f16vec4);"
  677|       |
  678|     46|        "float16_t dFdxCoarse(float16_t);"
  679|     46|        "f16vec2   dFdxCoarse(f16vec2);"
  680|     46|        "f16vec3   dFdxCoarse(f16vec3);"
  681|     46|        "f16vec4   dFdxCoarse(f16vec4);"
  682|       |
  683|     46|        "float16_t dFdyCoarse(float16_t);"
  684|     46|        "f16vec2   dFdyCoarse(f16vec2);"
  685|     46|        "f16vec3   dFdyCoarse(f16vec3);"
  686|     46|        "f16vec4   dFdyCoarse(f16vec4);"
  687|       |
  688|     46|        "float16_t fwidth(float16_t);"
  689|     46|        "f16vec2   fwidth(f16vec2);"
  690|     46|        "f16vec3   fwidth(f16vec3);"
  691|     46|        "f16vec4   fwidth(f16vec4);"
  692|       |
  693|     46|        "float16_t fwidthFine(float16_t);"
  694|     46|        "f16vec2   fwidthFine(f16vec2);"
  695|     46|        "f16vec3   fwidthFine(f16vec3);"
  696|     46|        "f16vec4   fwidthFine(f16vec4);"
  697|       |
  698|     46|        "float16_t fwidthCoarse(float16_t);"
  699|     46|        "f16vec2   fwidthCoarse(f16vec2);"
  700|     46|        "f16vec3   fwidthCoarse(f16vec3);"
  701|     46|        "f16vec4   fwidthCoarse(f16vec4);"
  702|     46|    );
  703|       |
  704|     46|    TString derivativesAndControl64bits (
  705|     46|        "float64_t dFdx(float64_t);"
  706|     46|        "f64vec2   dFdx(f64vec2);"
  707|     46|        "f64vec3   dFdx(f64vec3);"
  708|     46|        "f64vec4   dFdx(f64vec4);"
  709|       |
  710|     46|        "float64_t dFdy(float64_t);"
  711|     46|        "f64vec2   dFdy(f64vec2);"
  712|     46|        "f64vec3   dFdy(f64vec3);"
  713|     46|        "f64vec4   dFdy(f64vec4);"
  714|       |
  715|     46|        "float64_t dFdxFine(float64_t);"
  716|     46|        "f64vec2   dFdxFine(f64vec2);"
  717|     46|        "f64vec3   dFdxFine(f64vec3);"
  718|     46|        "f64vec4   dFdxFine(f64vec4);"
  719|       |
  720|     46|        "float64_t dFdyFine(float64_t);"
  721|     46|        "f64vec2   dFdyFine(f64vec2);"
  722|     46|        "f64vec3   dFdyFine(f64vec3);"
  723|     46|        "f64vec4   dFdyFine(f64vec4);"
  724|       |
  725|     46|        "float64_t dFdxCoarse(float64_t);"
  726|     46|        "f64vec2   dFdxCoarse(f64vec2);"
  727|     46|        "f64vec3   dFdxCoarse(f64vec3);"
  728|     46|        "f64vec4   dFdxCoarse(f64vec4);"
  729|       |
  730|     46|        "float64_t dFdyCoarse(float64_t);"
  731|     46|        "f64vec2   dFdyCoarse(f64vec2);"
  732|     46|        "f64vec3   dFdyCoarse(f64vec3);"
  733|     46|        "f64vec4   dFdyCoarse(f64vec4);"
  734|       |
  735|     46|        "float64_t fwidth(float64_t);"
  736|     46|        "f64vec2   fwidth(f64vec2);"
  737|     46|        "f64vec3   fwidth(f64vec3);"
  738|     46|        "f64vec4   fwidth(f64vec4);"
  739|       |
  740|     46|        "float64_t fwidthFine(float64_t);"
  741|     46|        "f64vec2   fwidthFine(f64vec2);"
  742|     46|        "f64vec3   fwidthFine(f64vec3);"
  743|     46|        "f64vec4   fwidthFine(f64vec4);"
  744|       |
  745|     46|        "float64_t fwidthCoarse(float64_t);"
  746|     46|        "f64vec2   fwidthCoarse(f64vec2);"
  747|     46|        "f64vec3   fwidthCoarse(f64vec3);"
  748|     46|        "f64vec4   fwidthCoarse(f64vec4);"
  749|     46|    );
  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|     46|    if (profile != EEsProfile && version >= 150) {  // ARB_gpu_shader_fp64
  ------------------
  |  Branch (760:9): [True: 7, False: 39]
  |  Branch (760:34): [True: 7, False: 0]
  ------------------
  761|      7|        commonBuiltins.append(
  762|       |
  763|      7|            "double sqrt(double);"
  764|      7|            "dvec2  sqrt(dvec2);"
  765|      7|            "dvec3  sqrt(dvec3);"
  766|      7|            "dvec4  sqrt(dvec4);"
  767|       |
  768|      7|            "double inversesqrt(double);"
  769|      7|            "dvec2  inversesqrt(dvec2);"
  770|      7|            "dvec3  inversesqrt(dvec3);"
  771|      7|            "dvec4  inversesqrt(dvec4);"
  772|       |
  773|      7|            "double abs(double);"
  774|      7|            "dvec2  abs(dvec2);"
  775|      7|            "dvec3  abs(dvec3);"
  776|      7|            "dvec4  abs(dvec4);"
  777|       |
  778|      7|            "double sign(double);"
  779|      7|            "dvec2  sign(dvec2);"
  780|      7|            "dvec3  sign(dvec3);"
  781|      7|            "dvec4  sign(dvec4);"
  782|       |
  783|      7|            "double floor(double);"
  784|      7|            "dvec2  floor(dvec2);"
  785|      7|            "dvec3  floor(dvec3);"
  786|      7|            "dvec4  floor(dvec4);"
  787|       |
  788|      7|            "double trunc(double);"
  789|      7|            "dvec2  trunc(dvec2);"
  790|      7|            "dvec3  trunc(dvec3);"
  791|      7|            "dvec4  trunc(dvec4);"
  792|       |
  793|      7|            "double round(double);"
  794|      7|            "dvec2  round(dvec2);"
  795|      7|            "dvec3  round(dvec3);"
  796|      7|            "dvec4  round(dvec4);"
  797|       |
  798|      7|            "double roundEven(double);"
  799|      7|            "dvec2  roundEven(dvec2);"
  800|      7|            "dvec3  roundEven(dvec3);"
  801|      7|            "dvec4  roundEven(dvec4);"
  802|       |
  803|      7|            "double ceil(double);"
  804|      7|            "dvec2  ceil(dvec2);"
  805|      7|            "dvec3  ceil(dvec3);"
  806|      7|            "dvec4  ceil(dvec4);"
  807|       |
  808|      7|            "double fract(double);"
  809|      7|            "dvec2  fract(dvec2);"
  810|      7|            "dvec3  fract(dvec3);"
  811|      7|            "dvec4  fract(dvec4);"
  812|       |
  813|      7|            "double mod(double, double);"
  814|      7|            "dvec2  mod(dvec2 , double);"
  815|      7|            "dvec3  mod(dvec3 , double);"
  816|      7|            "dvec4  mod(dvec4 , double);"
  817|      7|            "dvec2  mod(dvec2 , dvec2);"
  818|      7|            "dvec3  mod(dvec3 , dvec3);"
  819|      7|            "dvec4  mod(dvec4 , dvec4);"
  820|       |
  821|      7|            "double modf(double, out double);"
  822|      7|            "dvec2  modf(dvec2,  out dvec2);"
  823|      7|            "dvec3  modf(dvec3,  out dvec3);"
  824|      7|            "dvec4  modf(dvec4,  out dvec4);"
  825|       |
  826|      7|            "double min(double, double);"
  827|      7|            "dvec2  min(dvec2,  double);"
  828|      7|            "dvec3  min(dvec3,  double);"
  829|      7|            "dvec4  min(dvec4,  double);"
  830|      7|            "dvec2  min(dvec2,  dvec2);"
  831|      7|            "dvec3  min(dvec3,  dvec3);"
  832|      7|            "dvec4  min(dvec4,  dvec4);"
  833|       |
  834|      7|            "double max(double, double);"
  835|      7|            "dvec2  max(dvec2 , double);"
  836|      7|            "dvec3  max(dvec3 , double);"
  837|      7|            "dvec4  max(dvec4 , double);"
  838|      7|            "dvec2  max(dvec2 , dvec2);"
  839|      7|            "dvec3  max(dvec3 , dvec3);"
  840|      7|            "dvec4  max(dvec4 , dvec4);"
  841|       |
  842|      7|            "double clamp(double, double, double);"
  843|      7|            "dvec2  clamp(dvec2 , double, double);"
  844|      7|            "dvec3  clamp(dvec3 , double, double);"
  845|      7|            "dvec4  clamp(dvec4 , double, double);"
  846|      7|            "dvec2  clamp(dvec2 , dvec2 , dvec2);"
  847|      7|            "dvec3  clamp(dvec3 , dvec3 , dvec3);"
  848|      7|            "dvec4  clamp(dvec4 , dvec4 , dvec4);"
  849|       |
  850|      7|            "double mix(double, double, double);"
  851|      7|            "dvec2  mix(dvec2,  dvec2,  double);"
  852|      7|            "dvec3  mix(dvec3,  dvec3,  double);"
  853|      7|            "dvec4  mix(dvec4,  dvec4,  double);"
  854|      7|            "dvec2  mix(dvec2,  dvec2,  dvec2);"
  855|      7|            "dvec3  mix(dvec3,  dvec3,  dvec3);"
  856|      7|            "dvec4  mix(dvec4,  dvec4,  dvec4);"
  857|      7|            "double mix(double, double, bool);"
  858|      7|            "dvec2  mix(dvec2,  dvec2,  bvec2);"
  859|      7|            "dvec3  mix(dvec3,  dvec3,  bvec3);"
  860|      7|            "dvec4  mix(dvec4,  dvec4,  bvec4);"
  861|       |
  862|      7|            "double step(double, double);"
  863|      7|            "dvec2  step(dvec2 , dvec2);"
  864|      7|            "dvec3  step(dvec3 , dvec3);"
  865|      7|            "dvec4  step(dvec4 , dvec4);"
  866|      7|            "dvec2  step(double, dvec2);"
  867|      7|            "dvec3  step(double, dvec3);"
  868|      7|            "dvec4  step(double, dvec4);"
  869|       |
  870|      7|            "double smoothstep(double, double, double);"
  871|      7|            "dvec2  smoothstep(dvec2 , dvec2 , dvec2);"
  872|      7|            "dvec3  smoothstep(dvec3 , dvec3 , dvec3);"
  873|      7|            "dvec4  smoothstep(dvec4 , dvec4 , dvec4);"
  874|      7|            "dvec2  smoothstep(double, double, dvec2);"
  875|      7|            "dvec3  smoothstep(double, double, dvec3);"
  876|      7|            "dvec4  smoothstep(double, double, dvec4);"
  877|       |
  878|      7|            "bool  isnan(double);"
  879|      7|            "bvec2 isnan(dvec2);"
  880|      7|            "bvec3 isnan(dvec3);"
  881|      7|            "bvec4 isnan(dvec4);"
  882|       |
  883|      7|            "bool  isinf(double);"
  884|      7|            "bvec2 isinf(dvec2);"
  885|      7|            "bvec3 isinf(dvec3);"
  886|      7|            "bvec4 isinf(dvec4);"
  887|       |
  888|      7|            "double length(double);"
  889|      7|            "double length(dvec2);"
  890|      7|            "double length(dvec3);"
  891|      7|            "double length(dvec4);"
  892|       |
  893|      7|            "double distance(double, double);"
  894|      7|            "double distance(dvec2 , dvec2);"
  895|      7|            "double distance(dvec3 , dvec3);"
  896|      7|            "double distance(dvec4 , dvec4);"
  897|       |
  898|      7|            "double dot(double, double);"
  899|      7|            "double dot(dvec2 , dvec2);"
  900|      7|            "double dot(dvec3 , dvec3);"
  901|      7|            "double dot(dvec4 , dvec4);"
  902|       |
  903|      7|            "dvec3 cross(dvec3, dvec3);"
  904|       |
  905|      7|            "double normalize(double);"
  906|      7|            "dvec2  normalize(dvec2);"
  907|      7|            "dvec3  normalize(dvec3);"
  908|      7|            "dvec4  normalize(dvec4);"
  909|       |
  910|      7|            "double faceforward(double, double, double);"
  911|      7|            "dvec2  faceforward(dvec2,  dvec2,  dvec2);"
  912|      7|            "dvec3  faceforward(dvec3,  dvec3,  dvec3);"
  913|      7|            "dvec4  faceforward(dvec4,  dvec4,  dvec4);"
  914|       |
  915|      7|            "double reflect(double, double);"
  916|      7|            "dvec2  reflect(dvec2 , dvec2 );"
  917|      7|            "dvec3  reflect(dvec3 , dvec3 );"
  918|      7|            "dvec4  reflect(dvec4 , dvec4 );"
  919|       |
  920|      7|            "double refract(double, double, double);"
  921|      7|            "dvec2  refract(dvec2 , dvec2 , double);"
  922|      7|            "dvec3  refract(dvec3 , dvec3 , double);"
  923|      7|            "dvec4  refract(dvec4 , dvec4 , double);"
  924|       |
  925|      7|            "dmat2 matrixCompMult(dmat2, dmat2);"
  926|      7|            "dmat3 matrixCompMult(dmat3, dmat3);"
  927|      7|            "dmat4 matrixCompMult(dmat4, dmat4);"
  928|      7|            "dmat2x3 matrixCompMult(dmat2x3, dmat2x3);"
  929|      7|            "dmat2x4 matrixCompMult(dmat2x4, dmat2x4);"
  930|      7|            "dmat3x2 matrixCompMult(dmat3x2, dmat3x2);"
  931|      7|            "dmat3x4 matrixCompMult(dmat3x4, dmat3x4);"
  932|      7|            "dmat4x2 matrixCompMult(dmat4x2, dmat4x2);"
  933|      7|            "dmat4x3 matrixCompMult(dmat4x3, dmat4x3);"
  934|       |
  935|      7|            "dmat2   outerProduct(dvec2, dvec2);"
  936|      7|            "dmat3   outerProduct(dvec3, dvec3);"
  937|      7|            "dmat4   outerProduct(dvec4, dvec4);"
  938|      7|            "dmat2x3 outerProduct(dvec3, dvec2);"
  939|      7|            "dmat3x2 outerProduct(dvec2, dvec3);"
  940|      7|            "dmat2x4 outerProduct(dvec4, dvec2);"
  941|      7|            "dmat4x2 outerProduct(dvec2, dvec4);"
  942|      7|            "dmat3x4 outerProduct(dvec4, dvec3);"
  943|      7|            "dmat4x3 outerProduct(dvec3, dvec4);"
  944|       |
  945|      7|            "dmat2   transpose(dmat2);"
  946|      7|            "dmat3   transpose(dmat3);"
  947|      7|            "dmat4   transpose(dmat4);"
  948|      7|            "dmat2x3 transpose(dmat3x2);"
  949|      7|            "dmat3x2 transpose(dmat2x3);"
  950|      7|            "dmat2x4 transpose(dmat4x2);"
  951|      7|            "dmat4x2 transpose(dmat2x4);"
  952|      7|            "dmat3x4 transpose(dmat4x3);"
  953|      7|            "dmat4x3 transpose(dmat3x4);"
  954|       |
  955|      7|            "double determinant(dmat2);"
  956|      7|            "double determinant(dmat3);"
  957|      7|            "double determinant(dmat4);"
  958|       |
  959|      7|            "dmat2 inverse(dmat2);"
  960|      7|            "dmat3 inverse(dmat3);"
  961|      7|            "dmat4 inverse(dmat4);"
  962|       |
  963|      7|            "bvec2 lessThan(dvec2, dvec2);"
  964|      7|            "bvec3 lessThan(dvec3, dvec3);"
  965|      7|            "bvec4 lessThan(dvec4, dvec4);"
  966|       |
  967|      7|            "bvec2 lessThanEqual(dvec2, dvec2);"
  968|      7|            "bvec3 lessThanEqual(dvec3, dvec3);"
  969|      7|            "bvec4 lessThanEqual(dvec4, dvec4);"
  970|       |
  971|      7|            "bvec2 greaterThan(dvec2, dvec2);"
  972|      7|            "bvec3 greaterThan(dvec3, dvec3);"
  973|      7|            "bvec4 greaterThan(dvec4, dvec4);"
  974|       |
  975|      7|            "bvec2 greaterThanEqual(dvec2, dvec2);"
  976|      7|            "bvec3 greaterThanEqual(dvec3, dvec3);"
  977|      7|            "bvec4 greaterThanEqual(dvec4, dvec4);"
  978|       |
  979|      7|            "bvec2 equal(dvec2, dvec2);"
  980|      7|            "bvec3 equal(dvec3, dvec3);"
  981|      7|            "bvec4 equal(dvec4, dvec4);"
  982|       |
  983|      7|            "bvec2 notEqual(dvec2, dvec2);"
  984|      7|            "bvec3 notEqual(dvec3, dvec3);"
  985|      7|            "bvec4 notEqual(dvec4, dvec4);"
  986|       |
  987|      7|            "\n");
  988|      7|    }
  989|       |
  990|     46|    if (profile == EEsProfile && version >= 310) {  // Explicit Types
  ------------------
  |  Branch (990:9): [True: 39, False: 7]
  |  Branch (990:34): [True: 0, False: 39]
  ------------------
  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|     46|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (1186:10): [True: 7, False: 39]
  |  Branch (1186:35): [True: 7, False: 0]
  |  Branch (1186:55): [True: 39, False: 0]
  |  Branch (1186:80): [True: 0, False: 39]
  ------------------
 1187|      7|        commonBuiltins.append(
 1188|       |
 1189|      7|            "int64_t abs(int64_t);"
 1190|      7|            "i64vec2 abs(i64vec2);"
 1191|      7|            "i64vec3 abs(i64vec3);"
 1192|      7|            "i64vec4 abs(i64vec4);"
 1193|       |
 1194|      7|            "int64_t sign(int64_t);"
 1195|      7|            "i64vec2 sign(i64vec2);"
 1196|      7|            "i64vec3 sign(i64vec3);"
 1197|      7|            "i64vec4 sign(i64vec4);"
 1198|       |
 1199|      7|            "int64_t  min(int64_t,  int64_t);"
 1200|      7|            "i64vec2  min(i64vec2,  int64_t);"
 1201|      7|            "i64vec3  min(i64vec3,  int64_t);"
 1202|      7|            "i64vec4  min(i64vec4,  int64_t);"
 1203|      7|            "i64vec2  min(i64vec2,  i64vec2);"
 1204|      7|            "i64vec3  min(i64vec3,  i64vec3);"
 1205|      7|            "i64vec4  min(i64vec4,  i64vec4);"
 1206|      7|            "uint64_t min(uint64_t, uint64_t);"
 1207|      7|            "u64vec2  min(u64vec2,  uint64_t);"
 1208|      7|            "u64vec3  min(u64vec3,  uint64_t);"
 1209|      7|            "u64vec4  min(u64vec4,  uint64_t);"
 1210|      7|            "u64vec2  min(u64vec2,  u64vec2);"
 1211|      7|            "u64vec3  min(u64vec3,  u64vec3);"
 1212|      7|            "u64vec4  min(u64vec4,  u64vec4);"
 1213|       |
 1214|      7|            "int64_t  max(int64_t,  int64_t);"
 1215|      7|            "i64vec2  max(i64vec2,  int64_t);"
 1216|      7|            "i64vec3  max(i64vec3,  int64_t);"
 1217|      7|            "i64vec4  max(i64vec4,  int64_t);"
 1218|      7|            "i64vec2  max(i64vec2,  i64vec2);"
 1219|      7|            "i64vec3  max(i64vec3,  i64vec3);"
 1220|      7|            "i64vec4  max(i64vec4,  i64vec4);"
 1221|      7|            "uint64_t max(uint64_t, uint64_t);"
 1222|      7|            "u64vec2  max(u64vec2,  uint64_t);"
 1223|      7|            "u64vec3  max(u64vec3,  uint64_t);"
 1224|      7|            "u64vec4  max(u64vec4,  uint64_t);"
 1225|      7|            "u64vec2  max(u64vec2,  u64vec2);"
 1226|      7|            "u64vec3  max(u64vec3,  u64vec3);"
 1227|      7|            "u64vec4  max(u64vec4,  u64vec4);"
 1228|       |
 1229|      7|            "int64_t  clamp(int64_t,  int64_t,  int64_t);"
 1230|      7|            "i64vec2  clamp(i64vec2,  int64_t,  int64_t);"
 1231|      7|            "i64vec3  clamp(i64vec3,  int64_t,  int64_t);"
 1232|      7|            "i64vec4  clamp(i64vec4,  int64_t,  int64_t);"
 1233|      7|            "i64vec2  clamp(i64vec2,  i64vec2,  i64vec2);"
 1234|      7|            "i64vec3  clamp(i64vec3,  i64vec3,  i64vec3);"
 1235|      7|            "i64vec4  clamp(i64vec4,  i64vec4,  i64vec4);"
 1236|      7|            "uint64_t clamp(uint64_t, uint64_t, uint64_t);"
 1237|      7|            "u64vec2  clamp(u64vec2,  uint64_t, uint64_t);"
 1238|      7|            "u64vec3  clamp(u64vec3,  uint64_t, uint64_t);"
 1239|      7|            "u64vec4  clamp(u64vec4,  uint64_t, uint64_t);"
 1240|      7|            "u64vec2  clamp(u64vec2,  u64vec2,  u64vec2);"
 1241|      7|            "u64vec3  clamp(u64vec3,  u64vec3,  u64vec3);"
 1242|      7|            "u64vec4  clamp(u64vec4,  u64vec4,  u64vec4);"
 1243|       |
 1244|      7|            "int64_t  mix(int64_t,  int64_t,  bool);"
 1245|      7|            "i64vec2  mix(i64vec2,  i64vec2,  bvec2);"
 1246|      7|            "i64vec3  mix(i64vec3,  i64vec3,  bvec3);"
 1247|      7|            "i64vec4  mix(i64vec4,  i64vec4,  bvec4);"
 1248|      7|            "uint64_t mix(uint64_t, uint64_t, bool);"
 1249|      7|            "u64vec2  mix(u64vec2,  u64vec2,  bvec2);"
 1250|      7|            "u64vec3  mix(u64vec3,  u64vec3,  bvec3);"
 1251|      7|            "u64vec4  mix(u64vec4,  u64vec4,  bvec4);"
 1252|       |
 1253|      7|            "int64_t doubleBitsToInt64(float64_t);"
 1254|      7|            "i64vec2 doubleBitsToInt64(f64vec2);"
 1255|      7|            "i64vec3 doubleBitsToInt64(f64vec3);"
 1256|      7|            "i64vec4 doubleBitsToInt64(f64vec4);"
 1257|       |
 1258|      7|            "uint64_t doubleBitsToUint64(float64_t);"
 1259|      7|            "u64vec2  doubleBitsToUint64(f64vec2);"
 1260|      7|            "u64vec3  doubleBitsToUint64(f64vec3);"
 1261|      7|            "u64vec4  doubleBitsToUint64(f64vec4);"
 1262|       |
 1263|      7|            "float64_t int64BitsToDouble(int64_t);"
 1264|      7|            "f64vec2  int64BitsToDouble(i64vec2);"
 1265|      7|            "f64vec3  int64BitsToDouble(i64vec3);"
 1266|      7|            "f64vec4  int64BitsToDouble(i64vec4);"
 1267|       |
 1268|      7|            "float64_t uint64BitsToDouble(uint64_t);"
 1269|      7|            "f64vec2  uint64BitsToDouble(u64vec2);"
 1270|      7|            "f64vec3  uint64BitsToDouble(u64vec3);"
 1271|      7|            "f64vec4  uint64BitsToDouble(u64vec4);"
 1272|       |
 1273|      7|            "int64_t  packInt2x32(ivec2);"
 1274|      7|            "uint64_t packUint2x32(uvec2);"
 1275|      7|            "ivec2    unpackInt2x32(int64_t);"
 1276|      7|            "uvec2    unpackUint2x32(uint64_t);"
 1277|       |
 1278|      7|            "bvec2 lessThan(i64vec2, i64vec2);"
 1279|      7|            "bvec3 lessThan(i64vec3, i64vec3);"
 1280|      7|            "bvec4 lessThan(i64vec4, i64vec4);"
 1281|      7|            "bvec2 lessThan(u64vec2, u64vec2);"
 1282|      7|            "bvec3 lessThan(u64vec3, u64vec3);"
 1283|      7|            "bvec4 lessThan(u64vec4, u64vec4);"
 1284|       |
 1285|      7|            "bvec2 lessThanEqual(i64vec2, i64vec2);"
 1286|      7|            "bvec3 lessThanEqual(i64vec3, i64vec3);"
 1287|      7|            "bvec4 lessThanEqual(i64vec4, i64vec4);"
 1288|      7|            "bvec2 lessThanEqual(u64vec2, u64vec2);"
 1289|      7|            "bvec3 lessThanEqual(u64vec3, u64vec3);"
 1290|      7|            "bvec4 lessThanEqual(u64vec4, u64vec4);"
 1291|       |
 1292|      7|            "bvec2 greaterThan(i64vec2, i64vec2);"
 1293|      7|            "bvec3 greaterThan(i64vec3, i64vec3);"
 1294|      7|            "bvec4 greaterThan(i64vec4, i64vec4);"
 1295|      7|            "bvec2 greaterThan(u64vec2, u64vec2);"
 1296|      7|            "bvec3 greaterThan(u64vec3, u64vec3);"
 1297|      7|            "bvec4 greaterThan(u64vec4, u64vec4);"
 1298|       |
 1299|      7|            "bvec2 greaterThanEqual(i64vec2, i64vec2);"
 1300|      7|            "bvec3 greaterThanEqual(i64vec3, i64vec3);"
 1301|      7|            "bvec4 greaterThanEqual(i64vec4, i64vec4);"
 1302|      7|            "bvec2 greaterThanEqual(u64vec2, u64vec2);"
 1303|      7|            "bvec3 greaterThanEqual(u64vec3, u64vec3);"
 1304|      7|            "bvec4 greaterThanEqual(u64vec4, u64vec4);"
 1305|       |
 1306|      7|            "bvec2 equal(i64vec2, i64vec2);"
 1307|      7|            "bvec3 equal(i64vec3, i64vec3);"
 1308|      7|            "bvec4 equal(i64vec4, i64vec4);"
 1309|      7|            "bvec2 equal(u64vec2, u64vec2);"
 1310|      7|            "bvec3 equal(u64vec3, u64vec3);"
 1311|      7|            "bvec4 equal(u64vec4, u64vec4);"
 1312|       |
 1313|      7|            "bvec2 notEqual(i64vec2, i64vec2);"
 1314|      7|            "bvec3 notEqual(i64vec3, i64vec3);"
 1315|      7|            "bvec4 notEqual(i64vec4, i64vec4);"
 1316|      7|            "bvec2 notEqual(u64vec2, u64vec2);"
 1317|      7|            "bvec3 notEqual(u64vec3, u64vec3);"
 1318|      7|            "bvec4 notEqual(u64vec4, u64vec4);"
 1319|       |
 1320|      7|            "int64_t bitCount(int64_t);"
 1321|      7|            "i64vec2 bitCount(i64vec2);"
 1322|      7|            "i64vec3 bitCount(i64vec3);"
 1323|      7|            "i64vec4 bitCount(i64vec4);"
 1324|       |
 1325|      7|            "int64_t bitCount(uint64_t);"
 1326|      7|            "i64vec2 bitCount(u64vec2);"
 1327|      7|            "i64vec3 bitCount(u64vec3);"
 1328|      7|            "i64vec4 bitCount(u64vec4);"
 1329|       |
 1330|      7|            "int64_t findLSB(int64_t);"
 1331|      7|            "i64vec2 findLSB(i64vec2);"
 1332|      7|            "i64vec3 findLSB(i64vec3);"
 1333|      7|            "i64vec4 findLSB(i64vec4);"
 1334|       |
 1335|      7|            "int64_t findLSB(uint64_t);"
 1336|      7|            "i64vec2 findLSB(u64vec2);"
 1337|      7|            "i64vec3 findLSB(u64vec3);"
 1338|      7|            "i64vec4 findLSB(u64vec4);"
 1339|       |
 1340|      7|            "int64_t findMSB(int64_t);"
 1341|      7|            "i64vec2 findMSB(i64vec2);"
 1342|      7|            "i64vec3 findMSB(i64vec3);"
 1343|      7|            "i64vec4 findMSB(i64vec4);"
 1344|       |
 1345|      7|            "int64_t findMSB(uint64_t);"
 1346|      7|            "i64vec2 findMSB(u64vec2);"
 1347|      7|            "i64vec3 findMSB(u64vec3);"
 1348|      7|            "i64vec4 findMSB(u64vec4);"
 1349|       |
 1350|      7|            "\n"
 1351|      7|        );
 1352|      7|    }
 1353|       |
 1354|       |    // GL_AMD_shader_trinary_minmax
 1355|     46|    if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (1355:9): [True: 7, False: 39]
  |  Branch (1355:34): [True: 7, False: 0]
  ------------------
 1356|      7|        commonBuiltins.append(
 1357|      7|            "float min3(float, float, float);"
 1358|      7|            "vec2  min3(vec2,  vec2,  vec2);"
 1359|      7|            "vec3  min3(vec3,  vec3,  vec3);"
 1360|      7|            "vec4  min3(vec4,  vec4,  vec4);"
 1361|       |
 1362|      7|            "int   min3(int,   int,   int);"
 1363|      7|            "ivec2 min3(ivec2, ivec2, ivec2);"
 1364|      7|            "ivec3 min3(ivec3, ivec3, ivec3);"
 1365|      7|            "ivec4 min3(ivec4, ivec4, ivec4);"
 1366|       |
 1367|      7|            "uint  min3(uint,  uint,  uint);"
 1368|      7|            "uvec2 min3(uvec2, uvec2, uvec2);"
 1369|      7|            "uvec3 min3(uvec3, uvec3, uvec3);"
 1370|      7|            "uvec4 min3(uvec4, uvec4, uvec4);"
 1371|       |
 1372|      7|            "float max3(float, float, float);"
 1373|      7|            "vec2  max3(vec2,  vec2,  vec2);"
 1374|      7|            "vec3  max3(vec3,  vec3,  vec3);"
 1375|      7|            "vec4  max3(vec4,  vec4,  vec4);"
 1376|       |
 1377|      7|            "int   max3(int,   int,   int);"
 1378|      7|            "ivec2 max3(ivec2, ivec2, ivec2);"
 1379|      7|            "ivec3 max3(ivec3, ivec3, ivec3);"
 1380|      7|            "ivec4 max3(ivec4, ivec4, ivec4);"
 1381|       |
 1382|      7|            "uint  max3(uint,  uint,  uint);"
 1383|      7|            "uvec2 max3(uvec2, uvec2, uvec2);"
 1384|      7|            "uvec3 max3(uvec3, uvec3, uvec3);"
 1385|      7|            "uvec4 max3(uvec4, uvec4, uvec4);"
 1386|       |
 1387|      7|            "float mid3(float, float, float);"
 1388|      7|            "vec2  mid3(vec2,  vec2,  vec2);"
 1389|      7|            "vec3  mid3(vec3,  vec3,  vec3);"
 1390|      7|            "vec4  mid3(vec4,  vec4,  vec4);"
 1391|       |
 1392|      7|            "int   mid3(int,   int,   int);"
 1393|      7|            "ivec2 mid3(ivec2, ivec2, ivec2);"
 1394|      7|            "ivec3 mid3(ivec3, ivec3, ivec3);"
 1395|      7|            "ivec4 mid3(ivec4, ivec4, ivec4);"
 1396|       |
 1397|      7|            "uint  mid3(uint,  uint,  uint);"
 1398|      7|            "uvec2 mid3(uvec2, uvec2, uvec2);"
 1399|      7|            "uvec3 mid3(uvec3, uvec3, uvec3);"
 1400|      7|            "uvec4 mid3(uvec4, uvec4, uvec4);"
 1401|       |
 1402|      7|            "float16_t min3(float16_t, float16_t, float16_t);"
 1403|      7|            "f16vec2   min3(f16vec2,   f16vec2,   f16vec2);"
 1404|      7|            "f16vec3   min3(f16vec3,   f16vec3,   f16vec3);"
 1405|      7|            "f16vec4   min3(f16vec4,   f16vec4,   f16vec4);"
 1406|       |
 1407|      7|            "float16_t max3(float16_t, float16_t, float16_t);"
 1408|      7|            "f16vec2   max3(f16vec2,   f16vec2,   f16vec2);"
 1409|      7|            "f16vec3   max3(f16vec3,   f16vec3,   f16vec3);"
 1410|      7|            "f16vec4   max3(f16vec4,   f16vec4,   f16vec4);"
 1411|       |
 1412|      7|            "float16_t mid3(float16_t, float16_t, float16_t);"
 1413|      7|            "f16vec2   mid3(f16vec2,   f16vec2,   f16vec2);"
 1414|      7|            "f16vec3   mid3(f16vec3,   f16vec3,   f16vec3);"
 1415|      7|            "f16vec4   mid3(f16vec4,   f16vec4,   f16vec4);"
 1416|       |
 1417|      7|            "int16_t   min3(int16_t,   int16_t,   int16_t);"
 1418|      7|            "i16vec2   min3(i16vec2,   i16vec2,   i16vec2);"
 1419|      7|            "i16vec3   min3(i16vec3,   i16vec3,   i16vec3);"
 1420|      7|            "i16vec4   min3(i16vec4,   i16vec4,   i16vec4);"
 1421|       |
 1422|      7|            "int16_t   max3(int16_t,   int16_t,   int16_t);"
 1423|      7|            "i16vec2   max3(i16vec2,   i16vec2,   i16vec2);"
 1424|      7|            "i16vec3   max3(i16vec3,   i16vec3,   i16vec3);"
 1425|      7|            "i16vec4   max3(i16vec4,   i16vec4,   i16vec4);"
 1426|       |
 1427|      7|            "int16_t   mid3(int16_t,   int16_t,   int16_t);"
 1428|      7|            "i16vec2   mid3(i16vec2,   i16vec2,   i16vec2);"
 1429|      7|            "i16vec3   mid3(i16vec3,   i16vec3,   i16vec3);"
 1430|      7|            "i16vec4   mid3(i16vec4,   i16vec4,   i16vec4);"
 1431|       |
 1432|      7|            "uint16_t  min3(uint16_t,  uint16_t,  uint16_t);"
 1433|      7|            "u16vec2   min3(u16vec2,   u16vec2,   u16vec2);"
 1434|      7|            "u16vec3   min3(u16vec3,   u16vec3,   u16vec3);"
 1435|      7|            "u16vec4   min3(u16vec4,   u16vec4,   u16vec4);"
 1436|       |
 1437|      7|            "uint16_t  max3(uint16_t,  uint16_t,  uint16_t);"
 1438|      7|            "u16vec2   max3(u16vec2,   u16vec2,   u16vec2);"
 1439|      7|            "u16vec3   max3(u16vec3,   u16vec3,   u16vec3);"
 1440|      7|            "u16vec4   max3(u16vec4,   u16vec4,   u16vec4);"
 1441|       |
 1442|      7|            "uint16_t  mid3(uint16_t,  uint16_t,  uint16_t);"
 1443|      7|            "u16vec2   mid3(u16vec2,   u16vec2,   u16vec2);"
 1444|      7|            "u16vec3   mid3(u16vec3,   u16vec3,   u16vec3);"
 1445|      7|            "u16vec4   mid3(u16vec4,   u16vec4,   u16vec4);"
 1446|       |
 1447|      7|            "\n"
 1448|      7|        );
 1449|      7|    }
 1450|       |
 1451|     46|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1451:10): [True: 39, False: 7]
  |  Branch (1451:35): [True: 0, False: 39]
  ------------------
 1452|     46|        (profile != EEsProfile && version >= 430)) {
  ------------------
  |  Branch (1452:10): [True: 7, False: 39]
  |  Branch (1452:35): [True: 7, False: 0]
  ------------------
 1453|      7|        commonBuiltins.append(
 1454|      7|            "uint atomicAdd(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1455|      7|            " int atomicAdd(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1456|       |
 1457|      7|            "uint atomicMin(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1458|      7|            " int atomicMin(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1459|       |
 1460|      7|            "uint atomicMax(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1461|      7|            " int atomicMax(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1462|       |
 1463|      7|            "uint atomicAnd(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1464|      7|            " int atomicAnd(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1465|       |
 1466|      7|            "uint atomicOr (coherent volatile nontemporal inout uint, uint, int, int, int);"
 1467|      7|            " int atomicOr (coherent volatile nontemporal inout  int,  int, int, int, int);"
 1468|       |
 1469|      7|            "uint atomicXor(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1470|      7|            " int atomicXor(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1471|       |
 1472|      7|            "uint atomicExchange(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1473|      7|            " int atomicExchange(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1474|       |
 1475|      7|            "uint atomicCompSwap(coherent volatile nontemporal inout uint, uint, uint, int, int, int, int, int);"
 1476|      7|            " int atomicCompSwap(coherent volatile nontemporal inout  int,  int,  int, int, int, int, int, int);"
 1477|       |
 1478|      7|            "uint atomicLoad(coherent volatile nontemporal in uint, int, int, int);"
 1479|      7|            " int atomicLoad(coherent volatile nontemporal in  int, int, int, int);"
 1480|       |
 1481|      7|            "void atomicStore(coherent volatile nontemporal out uint, uint, int, int, int);"
 1482|      7|            "void atomicStore(coherent volatile nontemporal out  int,  int, int, int, int);"
 1483|       |
 1484|      7|            "\n");
 1485|      7|    }
 1486|       |
 1487|     46|    if (profile != EEsProfile && version >= 440) {
  ------------------
  |  Branch (1487:9): [True: 7, False: 39]
  |  Branch (1487:34): [True: 7, False: 0]
  ------------------
 1488|      7|        commonBuiltins.append(
 1489|      7|            "uint64_t atomicMin(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1490|      7|            " int64_t atomicMin(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1491|      7|            "uint64_t atomicMin(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1492|      7|            " int64_t atomicMin(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1493|      7|            "float16_t atomicMin(coherent volatile nontemporal inout float16_t, float16_t);"
 1494|      7|            "float16_t atomicMin(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1495|      7|            "   float atomicMin(coherent volatile nontemporal inout float, float);"
 1496|      7|            "   float atomicMin(coherent volatile nontemporal inout float, float, int, int, int);"
 1497|      7|            "  double atomicMin(coherent volatile nontemporal inout double, double);"
 1498|      7|            "  double atomicMin(coherent volatile nontemporal inout double, double, int, int, int);"
 1499|       |
 1500|      7|            "uint64_t atomicMax(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1501|      7|            " int64_t atomicMax(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1502|      7|            "uint64_t atomicMax(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1503|      7|            " int64_t atomicMax(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1504|      7|            "float16_t atomicMax(coherent volatile nontemporal inout float16_t, float16_t);"
 1505|      7|            "float16_t atomicMax(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1506|      7|            "   float atomicMax(coherent volatile nontemporal inout float, float);"
 1507|      7|            "   float atomicMax(coherent volatile nontemporal inout float, float, int, int, int);"
 1508|      7|            "  double atomicMax(coherent volatile nontemporal inout double, double);"
 1509|      7|            "  double atomicMax(coherent volatile nontemporal inout double, double, int, int, int);"
 1510|       |
 1511|      7|            "uint64_t atomicAnd(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1512|      7|            " int64_t atomicAnd(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1513|      7|            "uint64_t atomicAnd(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1514|      7|            " int64_t atomicAnd(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1515|       |
 1516|      7|            "uint64_t atomicOr (coherent volatile nontemporal inout uint64_t, uint64_t);"
 1517|      7|            " int64_t atomicOr (coherent volatile nontemporal inout  int64_t,  int64_t);"
 1518|      7|            "uint64_t atomicOr (coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1519|      7|            " int64_t atomicOr (coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1520|       |
 1521|      7|            "uint64_t atomicXor(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1522|      7|            " int64_t atomicXor(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1523|      7|            "uint64_t atomicXor(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1524|      7|            " int64_t atomicXor(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1525|       |
 1526|      7|            "uint64_t atomicAdd(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1527|      7|            " int64_t atomicAdd(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1528|      7|            "uint64_t atomicAdd(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1529|      7|            " int64_t atomicAdd(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1530|      7|            "float16_t atomicAdd(coherent volatile nontemporal inout float16_t, float16_t);"
 1531|      7|            "float16_t atomicAdd(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1532|      7|            "   float atomicAdd(coherent volatile nontemporal inout float, float);"
 1533|      7|            "   float atomicAdd(coherent volatile nontemporal inout float, float, int, int, int);"
 1534|      7|            "  double atomicAdd(coherent volatile nontemporal inout double, double);"
 1535|      7|            "  double atomicAdd(coherent volatile nontemporal inout double, double, int, int, int);"
 1536|       |
 1537|      7|            "uint64_t atomicExchange(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1538|      7|            " int64_t atomicExchange(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1539|      7|            "uint64_t atomicExchange(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1540|      7|            " int64_t atomicExchange(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1541|      7|            "float16_t atomicExchange(coherent volatile nontemporal inout float16_t, float16_t);"
 1542|      7|            "float16_t atomicExchange(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1543|      7|            "   float atomicExchange(coherent volatile nontemporal inout float, float);"
 1544|      7|            "   float atomicExchange(coherent volatile nontemporal inout float, float, int, int, int);"
 1545|      7|            "  double atomicExchange(coherent volatile nontemporal inout double, double);"
 1546|      7|            "  double atomicExchange(coherent volatile nontemporal inout double, double, int, int, int);"
 1547|       |
 1548|      7|            "uint64_t atomicCompSwap(coherent volatile nontemporal inout uint64_t, uint64_t, uint64_t);"
 1549|      7|            " int64_t atomicCompSwap(coherent volatile nontemporal inout  int64_t,  int64_t,  int64_t);"
 1550|      7|            "uint64_t atomicCompSwap(coherent volatile nontemporal inout uint64_t, uint64_t, uint64_t, int, int, int, int, int);"
 1551|      7|            " int64_t atomicCompSwap(coherent volatile nontemporal inout  int64_t,  int64_t,  int64_t, int, int, int, int, int);"
 1552|       |
 1553|      7|            "uint64_t atomicLoad(coherent volatile nontemporal in uint64_t, int, int, int);"
 1554|      7|            " int64_t atomicLoad(coherent volatile nontemporal in  int64_t, int, int, int);"
 1555|      7|            "float16_t atomicLoad(coherent volatile nontemporal in float16_t, int, int, int);"
 1556|      7|            "   float atomicLoad(coherent volatile nontemporal in float, int, int, int);"
 1557|      7|            "  double atomicLoad(coherent volatile nontemporal in double, int, int, int);"
 1558|       |
 1559|      7|            "void atomicStore(coherent volatile nontemporal out uint64_t, uint64_t, int, int, int);"
 1560|      7|            "void atomicStore(coherent volatile nontemporal out  int64_t,  int64_t, int, int, int);"
 1561|      7|            "void atomicStore(coherent volatile nontemporal out float16_t, float16_t, int, int, int);"
 1562|      7|            "void atomicStore(coherent volatile nontemporal out float, float, int, int, int);"
 1563|      7|            "void atomicStore(coherent volatile nontemporal out double, double, int, int, int);"
 1564|      7|            "\n");
 1565|      7|    }
 1566|       |
 1567|       |    // NV_shader_atomic_fp16_vector
 1568|     46|    if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (1568:9): [True: 7, False: 39]
  |  Branch (1568:34): [True: 7, False: 0]
  ------------------
 1569|      7|        commonBuiltins.append(
 1570|      7|            "f16vec2 atomicAdd(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1571|      7|            "f16vec4 atomicAdd(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1572|      7|            "f16vec2 atomicMin(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1573|      7|            "f16vec4 atomicMin(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1574|      7|            "f16vec2 atomicMax(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1575|      7|            "f16vec4 atomicMax(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1576|      7|            "f16vec2 atomicExchange(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1577|      7|            "f16vec4 atomicExchange(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1578|      7|            "\n");
 1579|      7|    }
 1580|       |
 1581|     46|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1581:10): [True: 39, False: 7]
  |  Branch (1581:35): [True: 0, False: 39]
  ------------------
 1582|     46|        (profile != EEsProfile && version >= 150)) { // GL_ARB_shader_bit_encoding
  ------------------
  |  Branch (1582:10): [True: 7, False: 39]
  |  Branch (1582:35): [True: 7, False: 0]
  ------------------
 1583|      7|        commonBuiltins.append(
 1584|      7|            "int   floatBitsToInt(highp float value);"
 1585|      7|            "ivec2 floatBitsToInt(highp vec2  value);"
 1586|      7|            "ivec3 floatBitsToInt(highp vec3  value);"
 1587|      7|            "ivec4 floatBitsToInt(highp vec4  value);"
 1588|       |
 1589|      7|            "uint  floatBitsToUint(highp float value);"
 1590|      7|            "uvec2 floatBitsToUint(highp vec2  value);"
 1591|      7|            "uvec3 floatBitsToUint(highp vec3  value);"
 1592|      7|            "uvec4 floatBitsToUint(highp vec4  value);"
 1593|       |
 1594|      7|            "float intBitsToFloat(highp int   value);"
 1595|      7|            "vec2  intBitsToFloat(highp ivec2 value);"
 1596|      7|            "vec3  intBitsToFloat(highp ivec3 value);"
 1597|      7|            "vec4  intBitsToFloat(highp ivec4 value);"
 1598|       |
 1599|      7|            "float uintBitsToFloat(highp uint  value);"
 1600|      7|            "vec2  uintBitsToFloat(highp uvec2 value);"
 1601|      7|            "vec3  uintBitsToFloat(highp uvec3 value);"
 1602|      7|            "vec4  uintBitsToFloat(highp uvec4 value);"
 1603|       |
 1604|      7|            "\n");
 1605|      7|    }
 1606|       |
 1607|     46|    if ((profile != EEsProfile && version >= 150) || // GL_NV_gpu_shader5
  ------------------
  |  Branch (1607:10): [True: 7, False: 39]
  |  Branch (1607:35): [True: 7, False: 0]
  ------------------
 1608|     39|        (profile == EEsProfile && version >= 310)) {    // GL_OES_gpu_shader5
  ------------------
  |  Branch (1608:10): [True: 39, False: 0]
  |  Branch (1608:35): [True: 0, False: 39]
  ------------------
 1609|       |
 1610|      7|        commonBuiltins.append(
 1611|      7|            "float  fma(float,  float,  float );"
 1612|      7|            "vec2   fma(vec2,   vec2,   vec2  );"
 1613|      7|            "vec3   fma(vec3,   vec3,   vec3  );"
 1614|      7|            "vec4   fma(vec4,   vec4,   vec4  );"
 1615|      7|            "\n");
 1616|      7|    }
 1617|       |
 1618|     46|    if (profile != EEsProfile && version >= 150) {  // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1618:9): [True: 7, False: 39]
  |  Branch (1618:34): [True: 7, False: 0]
  ------------------
 1619|      7|            commonBuiltins.append(
 1620|      7|                "double fma(double, double, double);"
 1621|      7|                "dvec2  fma(dvec2,  dvec2,  dvec2 );"
 1622|      7|                "dvec3  fma(dvec3,  dvec3,  dvec3 );"
 1623|      7|                "dvec4  fma(dvec4,  dvec4,  dvec4 );"
 1624|      7|                "\n");
 1625|      7|    }
 1626|       |
 1627|     46|    if (profile == EEsProfile && version >= 310) {  // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1627:9): [True: 39, False: 7]
  |  Branch (1627:34): [True: 0, False: 39]
  ------------------
 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|     46|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1636:10): [True: 39, False: 7]
  |  Branch (1636:35): [True: 0, False: 39]
  ------------------
 1637|     46|        (profile != EEsProfile && version >= 150)) { // GL_NV_gpu_shader5
  ------------------
  |  Branch (1637:10): [True: 7, False: 39]
  |  Branch (1637:35): [True: 7, False: 0]
  ------------------
 1638|      7|        commonBuiltins.append(
 1639|      7|            "float frexp(highp float, out highp int);"
 1640|      7|            "vec2  frexp(highp vec2,  out highp ivec2);"
 1641|      7|            "vec3  frexp(highp vec3,  out highp ivec3);"
 1642|      7|            "vec4  frexp(highp vec4,  out highp ivec4);"
 1643|       |
 1644|      7|            "float ldexp(highp float, highp int);"
 1645|      7|            "vec2  ldexp(highp vec2,  highp ivec2);"
 1646|      7|            "vec3  ldexp(highp vec3,  highp ivec3);"
 1647|      7|            "vec4  ldexp(highp vec4,  highp ivec4);"
 1648|       |
 1649|      7|            "\n");
 1650|      7|    }
 1651|       |
 1652|     46|    if (profile != EEsProfile && version >= 150) { // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1652:9): [True: 7, False: 39]
  |  Branch (1652:34): [True: 7, False: 0]
  ------------------
 1653|      7|        commonBuiltins.append(
 1654|      7|            "double frexp(double, out int);"
 1655|      7|            "dvec2  frexp( dvec2, out ivec2);"
 1656|      7|            "dvec3  frexp( dvec3, out ivec3);"
 1657|      7|            "dvec4  frexp( dvec4, out ivec4);"
 1658|       |
 1659|      7|            "double ldexp(double, int);"
 1660|      7|            "dvec2  ldexp( dvec2, ivec2);"
 1661|      7|            "dvec3  ldexp( dvec3, ivec3);"
 1662|      7|            "dvec4  ldexp( dvec4, ivec4);"
 1663|       |
 1664|      7|            "double packDouble2x32(uvec2);"
 1665|      7|            "uvec2 unpackDouble2x32(double);"
 1666|       |
 1667|      7|            "\n");
 1668|      7|    }
 1669|       |
 1670|     46|    if (profile == EEsProfile && version >= 310) { // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1670:9): [True: 39, False: 7]
  |  Branch (1670:34): [True: 0, False: 39]
  ------------------
 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|     46|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1685:10): [True: 39, False: 7]
  |  Branch (1685:35): [True: 0, False: 39]
  ------------------
 1686|     46|        (profile != EEsProfile && version >= 150)) {
  ------------------
  |  Branch (1686:10): [True: 7, False: 39]
  |  Branch (1686:35): [True: 7, False: 0]
  ------------------
 1687|      7|        commonBuiltins.append(
 1688|      7|            "highp uint packUnorm2x16(vec2);"
 1689|      7|                  "vec2 unpackUnorm2x16(highp uint);"
 1690|      7|            "\n");
 1691|      7|    }
 1692|       |
 1693|     46|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1693:10): [True: 39, False: 7]
  |  Branch (1693:35): [True: 0, False: 39]
  ------------------
 1694|     46|        (profile != EEsProfile && version >= 150)) {
  ------------------
  |  Branch (1694:10): [True: 7, False: 39]
  |  Branch (1694:35): [True: 7, False: 0]
  ------------------
 1695|      7|        commonBuiltins.append(
 1696|      7|            "highp uint packSnorm2x16(vec2);"
 1697|      7|            "      vec2 unpackSnorm2x16(highp uint);"
 1698|      7|            "highp uint packHalf2x16(vec2);"
 1699|      7|            "\n");
 1700|      7|    }
 1701|       |
 1702|     46|    if (profile == EEsProfile && version >= 300) {
  ------------------
  |  Branch (1702:9): [True: 39, False: 7]
  |  Branch (1702:34): [True: 0, False: 39]
  ------------------
 1703|      0|        commonBuiltins.append(
 1704|      0|            "mediump vec2 unpackHalf2x16(highp uint);"
 1705|      0|            "\n");
 1706|     46|    } else if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (1706:16): [True: 7, False: 39]
  |  Branch (1706:41): [True: 7, False: 0]
  ------------------
 1707|      7|        commonBuiltins.append(
 1708|      7|            "        vec2 unpackHalf2x16(highp uint);"
 1709|      7|            "\n");
 1710|      7|    }
 1711|       |
 1712|     46|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1712:10): [True: 39, False: 7]
  |  Branch (1712:35): [True: 0, False: 39]
  ------------------
 1713|     46|        (profile != EEsProfile && version >= 150)) {
  ------------------
  |  Branch (1713:10): [True: 7, False: 39]
  |  Branch (1713:35): [True: 7, False: 0]
  ------------------
 1714|      7|        commonBuiltins.append(
 1715|      7|            "highp uint packSnorm4x8(vec4);"
 1716|      7|            "highp uint packUnorm4x8(vec4);"
 1717|      7|            "\n");
 1718|      7|    }
 1719|       |
 1720|     46|    if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (1720:9): [True: 39, False: 7]
  |  Branch (1720:34): [True: 0, False: 39]
  ------------------
 1721|      0|        commonBuiltins.append(
 1722|      0|            "mediump vec4 unpackSnorm4x8(highp uint);"
 1723|      0|            "mediump vec4 unpackUnorm4x8(highp uint);"
 1724|      0|            "\n");
 1725|     46|    } else if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (1725:16): [True: 7, False: 39]
  |  Branch (1725:41): [True: 7, False: 0]
  ------------------
 1726|      7|        commonBuiltins.append(
 1727|      7|                    "vec4 unpackSnorm4x8(highp uint);"
 1728|      7|                    "vec4 unpackUnorm4x8(highp uint);"
 1729|      7|            "\n");
 1730|      7|    }
 1731|       |
 1732|       |    //
 1733|       |    // Matrix Functions.
 1734|       |    //
 1735|     46|    commonBuiltins.append(
 1736|     46|        "mat2 matrixCompMult(mat2 x, mat2 y);"
 1737|     46|        "mat3 matrixCompMult(mat3 x, mat3 y);"
 1738|     46|        "mat4 matrixCompMult(mat4 x, mat4 y);"
 1739|       |
 1740|     46|        "\n");
 1741|       |
 1742|       |    // 120 is correct for both ES and desktop
 1743|     46|    if (version >= 120) {
  ------------------
  |  Branch (1743:9): [True: 7, False: 39]
  ------------------
 1744|      7|        commonBuiltins.append(
 1745|      7|            "mat2   outerProduct(vec2 c, vec2 r);"
 1746|      7|            "mat3   outerProduct(vec3 c, vec3 r);"
 1747|      7|            "mat4   outerProduct(vec4 c, vec4 r);"
 1748|      7|            "mat2x3 outerProduct(vec3 c, vec2 r);"
 1749|      7|            "mat3x2 outerProduct(vec2 c, vec3 r);"
 1750|      7|            "mat2x4 outerProduct(vec4 c, vec2 r);"
 1751|      7|            "mat4x2 outerProduct(vec2 c, vec4 r);"
 1752|      7|            "mat3x4 outerProduct(vec4 c, vec3 r);"
 1753|      7|            "mat4x3 outerProduct(vec3 c, vec4 r);"
 1754|       |
 1755|      7|            "mat2   transpose(mat2   m);"
 1756|      7|            "mat3   transpose(mat3   m);"
 1757|      7|            "mat4   transpose(mat4   m);"
 1758|      7|            "mat2x3 transpose(mat3x2 m);"
 1759|      7|            "mat3x2 transpose(mat2x3 m);"
 1760|      7|            "mat2x4 transpose(mat4x2 m);"
 1761|      7|            "mat4x2 transpose(mat2x4 m);"
 1762|      7|            "mat3x4 transpose(mat4x3 m);"
 1763|      7|            "mat4x3 transpose(mat3x4 m);"
 1764|       |
 1765|      7|            "mat2x3 matrixCompMult(mat2x3, mat2x3);"
 1766|      7|            "mat2x4 matrixCompMult(mat2x4, mat2x4);"
 1767|      7|            "mat3x2 matrixCompMult(mat3x2, mat3x2);"
 1768|      7|            "mat3x4 matrixCompMult(mat3x4, mat3x4);"
 1769|      7|            "mat4x2 matrixCompMult(mat4x2, mat4x2);"
 1770|      7|            "mat4x3 matrixCompMult(mat4x3, mat4x3);"
 1771|       |
 1772|      7|            "\n");
 1773|       |
 1774|       |        // 150 is correct for both ES and desktop
 1775|      7|        if (version >= 150) {
  ------------------
  |  Branch (1775:13): [True: 7, False: 0]
  ------------------
 1776|      7|            commonBuiltins.append(
 1777|      7|                "float determinant(mat2 m);"
 1778|      7|                "float determinant(mat3 m);"
 1779|      7|                "float determinant(mat4 m);"
 1780|       |
 1781|      7|                "mat2 inverse(mat2 m);"
 1782|      7|                "mat3 inverse(mat3 m);"
 1783|      7|                "mat4 inverse(mat4 m);"
 1784|       |
 1785|      7|                "\n");
 1786|      7|        }
 1787|      7|    }
 1788|       |
 1789|       |    //
 1790|       |    // Original-style texture functions existing in all stages.
 1791|       |    // (Per-stage functions below.)
 1792|       |    //
 1793|     46|    if ((profile == EEsProfile && version == 100) ||
  ------------------
  |  Branch (1793:10): [True: 39, False: 7]
  |  Branch (1793:35): [True: 39, False: 0]
  ------------------
 1794|      7|         profile == ECompatibilityProfile ||
  ------------------
  |  Branch (1794:10): [True: 0, False: 7]
  ------------------
 1795|      7|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (1795:10): [True: 7, False: 0]
  |  Branch (1795:37): [True: 0, False: 7]
  ------------------
 1796|     39|         profile == ENoProfile) {
  ------------------
  |  Branch (1796:10): [True: 0, False: 7]
  ------------------
 1797|     39|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (1797:13): [True: 39, False: 0]
  ------------------
 1798|     39|            commonBuiltins.append(
 1799|     39|                "vec4 texture2D(sampler2D, vec2);"
 1800|       |
 1801|     39|                "vec4 texture2DProj(sampler2D, vec3);"
 1802|     39|                "vec4 texture2DProj(sampler2D, vec4);"
 1803|       |
 1804|     39|                "vec4 texture3D(sampler3D, vec3);"     // OES_texture_3D, but caught by keyword check
 1805|     39|                "vec4 texture3DProj(sampler3D, vec4);" // OES_texture_3D, but caught by keyword check
 1806|       |
 1807|     39|                "vec4 textureCube(samplerCube, vec3);"
 1808|       |
 1809|     39|                "\n");
 1810|     39|        }
 1811|     39|    }
 1812|       |
 1813|     46|    if ( profile == ECompatibilityProfile ||
  ------------------
  |  Branch (1813:10): [True: 0, False: 46]
  ------------------
 1814|     46|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (1814:10): [True: 7, False: 39]
  |  Branch (1814:37): [True: 0, False: 7]
  ------------------
 1815|     46|         profile == ENoProfile) {
  ------------------
  |  Branch (1815:10): [True: 0, False: 46]
  ------------------
 1816|      0|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (1816:13): [True: 0, False: 0]
  ------------------
 1817|      0|            commonBuiltins.append(
 1818|      0|                "vec4 texture1D(sampler1D, float);"
 1819|       |
 1820|      0|                "vec4 texture1DProj(sampler1D, vec2);"
 1821|      0|                "vec4 texture1DProj(sampler1D, vec4);"
 1822|       |
 1823|      0|                "vec4 shadow1D(sampler1DShadow, vec3);"
 1824|      0|                "vec4 shadow2D(sampler2DShadow, vec3);"
 1825|      0|                "vec4 shadow1DProj(sampler1DShadow, vec4);"
 1826|      0|                "vec4 shadow2DProj(sampler2DShadow, vec4);"
 1827|       |
 1828|      0|                "vec4 texture2DRect(sampler2DRect, vec2);"          // GL_ARB_texture_rectangle, caught by keyword check
 1829|      0|                "vec4 texture2DRectProj(sampler2DRect, vec3);"      // GL_ARB_texture_rectangle, caught by keyword check
 1830|      0|                "vec4 texture2DRectProj(sampler2DRect, vec4);"      // GL_ARB_texture_rectangle, caught by keyword check
 1831|      0|                "vec4 shadow2DRect(sampler2DRectShadow, vec3);"     // GL_ARB_texture_rectangle, caught by keyword check
 1832|      0|                "vec4 shadow2DRectProj(sampler2DRectShadow, vec4);" // GL_ARB_texture_rectangle, caught by keyword check
 1833|       |
 1834|      0|                "vec4 texture1DArray(sampler1DArray, vec2);"      // GL_EXT_texture_array
 1835|      0|                "vec4 texture2DArray(sampler2DArray, vec3);"      // GL_EXT_texture_array
 1836|      0|                "vec4 shadow1DArray(sampler1DArrayShadow, vec3);" // GL_EXT_texture_array
 1837|      0|                "vec4 shadow2DArray(sampler2DArrayShadow, vec4);" // GL_EXT_texture_array
 1838|      0|                "vec4 texture1DArray(sampler1DArray, vec2, float);"                // GL_EXT_texture_array
 1839|      0|                "vec4 texture2DArray(sampler2DArray, vec3, float);"                // GL_EXT_texture_array
 1840|      0|                "vec4 shadow1DArray(sampler1DArrayShadow, vec3, float);"           // GL_EXT_texture_array
 1841|      0|                "vec4 texture1DArrayLod(sampler1DArray, vec2, float);"      // GL_EXT_texture_array
 1842|      0|                "vec4 texture2DArrayLod(sampler2DArray, vec3, float);"      // GL_EXT_texture_array
 1843|      0|                "vec4 shadow1DArrayLod(sampler1DArrayShadow, vec3, float);" // GL_EXT_texture_array
 1844|      0|                "\n");
 1845|      0|        }
 1846|      0|    }
 1847|       |
 1848|     46|    if (profile == EEsProfile) {
  ------------------
  |  Branch (1848:9): [True: 39, False: 7]
  ------------------
 1849|     39|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (1849:13): [True: 39, False: 0]
  ------------------
 1850|     39|            if (version < 300) {
  ------------------
  |  Branch (1850:17): [True: 39, False: 0]
  ------------------
 1851|     39|                commonBuiltins.append(
 1852|     39|                    "vec4 texture2D(samplerExternalOES, vec2 coord);" // GL_OES_EGL_image_external
 1853|     39|                    "vec4 texture2DProj(samplerExternalOES, vec3);"   // GL_OES_EGL_image_external
 1854|     39|                    "vec4 texture2DProj(samplerExternalOES, vec4);"   // GL_OES_EGL_image_external
 1855|     39|                "\n");
 1856|     39|            } else {
 1857|      0|                commonBuiltins.append(
 1858|      0|                    "highp ivec2 textureSize(samplerExternalOES, int lod);"   // GL_OES_EGL_image_external_essl3
 1859|      0|                    "vec4 texture(samplerExternalOES, vec2);"                 // GL_OES_EGL_image_external_essl3
 1860|      0|                    "vec4 texture(samplerExternalOES, vec2, float bias);"     // GL_OES_EGL_image_external_essl3
 1861|      0|                    "vec4 textureProj(samplerExternalOES, vec3);"             // GL_OES_EGL_image_external_essl3
 1862|      0|                    "vec4 textureProj(samplerExternalOES, vec3, float bias);" // GL_OES_EGL_image_external_essl3
 1863|      0|                    "vec4 textureProj(samplerExternalOES, vec4);"             // GL_OES_EGL_image_external_essl3
 1864|      0|                    "vec4 textureProj(samplerExternalOES, vec4, float bias);" // GL_OES_EGL_image_external_essl3
 1865|      0|                    "vec4 texelFetch(samplerExternalOES, ivec2, int lod);"    // GL_OES_EGL_image_external_essl3
 1866|      0|                "\n");
 1867|      0|            }
 1868|     39|            commonBuiltins.append(
 1869|     39|                "highp ivec2 textureSize(__samplerExternal2DY2YEXT, int lod);" // GL_EXT_YUV_target
 1870|     39|                "vec4 texture(__samplerExternal2DY2YEXT, vec2);"               // GL_EXT_YUV_target
 1871|     39|                "vec4 texture(__samplerExternal2DY2YEXT, vec2, float bias);"   // GL_EXT_YUV_target
 1872|     39|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec3);"           // GL_EXT_YUV_target
 1873|     39|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec3, float bias);" // GL_EXT_YUV_target
 1874|     39|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec4);"           // GL_EXT_YUV_target
 1875|     39|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec4, float bias);" // GL_EXT_YUV_target
 1876|     39|                "vec4 texelFetch(__samplerExternal2DY2YEXT sampler, ivec2, int lod);" // GL_EXT_YUV_target
 1877|     39|                "\n");
 1878|     39|            commonBuiltins.append(
 1879|     39|                "vec4 texture2DGradEXT(sampler2D, vec2, vec2, vec2);"      // GL_EXT_shader_texture_lod
 1880|     39|                "vec4 texture2DProjGradEXT(sampler2D, vec3, vec2, vec2);"  // GL_EXT_shader_texture_lod
 1881|     39|                "vec4 texture2DProjGradEXT(sampler2D, vec4, vec2, vec2);"  // GL_EXT_shader_texture_lod
 1882|     39|                "vec4 textureCubeGradEXT(samplerCube, vec3, vec3, vec3);"  // GL_EXT_shader_texture_lod
 1883|       |
 1884|     39|                "float shadow2DEXT(sampler2DShadow, vec3);"     // GL_EXT_shadow_samplers
 1885|     39|                "float shadow2DProjEXT(sampler2DShadow, vec4);" // GL_EXT_shadow_samplers
 1886|       |
 1887|     39|                "\n");
 1888|     39|        }
 1889|     39|    }
 1890|       |
 1891|       |    //
 1892|       |    // Noise functions.
 1893|       |    //
 1894|     46|    if (spvVersion.spv == 0 && profile != EEsProfile) {
  ------------------
  |  Branch (1894:9): [True: 46, False: 0]
  |  Branch (1894:32): [True: 7, False: 39]
  ------------------
 1895|      7|        commonBuiltins.append(
 1896|      7|            "float noise1(float x);"
 1897|      7|            "float noise1(vec2  x);"
 1898|      7|            "float noise1(vec3  x);"
 1899|      7|            "float noise1(vec4  x);"
 1900|       |
 1901|      7|            "vec2 noise2(float x);"
 1902|      7|            "vec2 noise2(vec2  x);"
 1903|      7|            "vec2 noise2(vec3  x);"
 1904|      7|            "vec2 noise2(vec4  x);"
 1905|       |
 1906|      7|            "vec3 noise3(float x);"
 1907|      7|            "vec3 noise3(vec2  x);"
 1908|      7|            "vec3 noise3(vec3  x);"
 1909|      7|            "vec3 noise3(vec4  x);"
 1910|       |
 1911|      7|            "vec4 noise4(float x);"
 1912|      7|            "vec4 noise4(vec2  x);"
 1913|      7|            "vec4 noise4(vec3  x);"
 1914|      7|            "vec4 noise4(vec4  x);"
 1915|       |
 1916|      7|            "\n");
 1917|      7|    }
 1918|       |
 1919|     46|    if (spvVersion.vulkan == 0) {
  ------------------
  |  Branch (1919:9): [True: 45, False: 1]
  ------------------
 1920|       |        //
 1921|       |        // Atomic counter functions.
 1922|       |        //
 1923|     45|        if ((profile != EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1923:14): [True: 6, False: 39]
  |  Branch (1923:39): [True: 6, False: 0]
  ------------------
 1924|     39|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (1924:14): [True: 39, False: 0]
  |  Branch (1924:39): [True: 0, False: 39]
  ------------------
 1925|      6|            commonBuiltins.append(
 1926|      6|                "uint atomicCounterIncrement(atomic_uint);"
 1927|      6|                "uint atomicCounterDecrement(atomic_uint);"
 1928|      6|                "uint atomicCounter(atomic_uint);"
 1929|       |
 1930|      6|                "\n");
 1931|      6|        }
 1932|     45|        if (profile != EEsProfile && version == 450) {
  ------------------
  |  Branch (1932:13): [True: 6, False: 39]
  |  Branch (1932:38): [True: 6, False: 0]
  ------------------
 1933|      6|            commonBuiltins.append(
 1934|      6|                "uint atomicCounterAddARB(atomic_uint, uint);"
 1935|      6|                "uint atomicCounterSubtractARB(atomic_uint, uint);"
 1936|      6|                "uint atomicCounterMinARB(atomic_uint, uint);"
 1937|      6|                "uint atomicCounterMaxARB(atomic_uint, uint);"
 1938|      6|                "uint atomicCounterAndARB(atomic_uint, uint);"
 1939|      6|                "uint atomicCounterOrARB(atomic_uint, uint);"
 1940|      6|                "uint atomicCounterXorARB(atomic_uint, uint);"
 1941|      6|                "uint atomicCounterExchangeARB(atomic_uint, uint);"
 1942|      6|                "uint atomicCounterCompSwapARB(atomic_uint, uint, uint);"
 1943|       |
 1944|      6|                "\n");
 1945|      6|        }
 1946|       |
 1947|       |
 1948|     45|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (1948:13): [True: 6, False: 39]
  |  Branch (1948:38): [True: 0, False: 6]
  ------------------
 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|     45|    }
 1963|      1|    else if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (1963:14): [True: 0, False: 1]
  ------------------
 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|     46|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1995:10): [True: 39, False: 7]
  |  Branch (1995:35): [True: 0, False: 39]
  ------------------
 1996|     46|        (profile != EEsProfile && version >= 150)) { // ARB_gpu_shader5/NV_gpu_shader5
  ------------------
  |  Branch (1996:10): [True: 7, False: 39]
  |  Branch (1996:35): [True: 7, False: 0]
  ------------------
 1997|      7|        commonBuiltins.append(
 1998|      7|            "  int bitfieldExtract(  int, int, int);"
 1999|      7|            "ivec2 bitfieldExtract(ivec2, int, int);"
 2000|      7|            "ivec3 bitfieldExtract(ivec3, int, int);"
 2001|      7|            "ivec4 bitfieldExtract(ivec4, int, int);"
 2002|       |
 2003|      7|            " uint bitfieldExtract( uint, int, int);"
 2004|      7|            "uvec2 bitfieldExtract(uvec2, int, int);"
 2005|      7|            "uvec3 bitfieldExtract(uvec3, int, int);"
 2006|      7|            "uvec4 bitfieldExtract(uvec4, int, int);"
 2007|       |
 2008|      7|            "  int bitfieldInsert(  int base,   int, int, int);"
 2009|      7|            "ivec2 bitfieldInsert(ivec2 base, ivec2, int, int);"
 2010|      7|            "ivec3 bitfieldInsert(ivec3 base, ivec3, int, int);"
 2011|      7|            "ivec4 bitfieldInsert(ivec4 base, ivec4, int, int);"
 2012|       |
 2013|      7|            " uint bitfieldInsert( uint base,  uint, int, int);"
 2014|      7|            "uvec2 bitfieldInsert(uvec2 base, uvec2, int, int);"
 2015|      7|            "uvec3 bitfieldInsert(uvec3 base, uvec3, int, int);"
 2016|      7|            "uvec4 bitfieldInsert(uvec4 base, uvec4, int, int);"
 2017|       |
 2018|      7|            "\n");
 2019|      7|    }
 2020|       |
 2021|     46|    if (profile != EEsProfile && version >= 150) { //GL_ARB_gpu_shader5/GL_NV_gpu_shader5
  ------------------
  |  Branch (2021:9): [True: 7, False: 39]
  |  Branch (2021:34): [True: 7, False: 0]
  ------------------
 2022|      7|        commonBuiltins.append(
 2023|      7|            "  int findLSB(  int);"
 2024|      7|            "ivec2 findLSB(ivec2);"
 2025|      7|            "ivec3 findLSB(ivec3);"
 2026|      7|            "ivec4 findLSB(ivec4);"
 2027|       |
 2028|      7|            "  int findLSB( uint);"
 2029|      7|            "ivec2 findLSB(uvec2);"
 2030|      7|            "ivec3 findLSB(uvec3);"
 2031|      7|            "ivec4 findLSB(uvec4);"
 2032|       |
 2033|      7|            "\n");
 2034|     39|    } else if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (2034:16): [True: 39, False: 0]
  |  Branch (2034:41): [True: 0, False: 39]
  ------------------
 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|     46|    if (profile != EEsProfile && version >= 150) { //GL_ARB_gpu_shader5/GL_NV_gpu_shader5
  ------------------
  |  Branch (2049:9): [True: 7, False: 39]
  |  Branch (2049:34): [True: 7, False: 0]
  ------------------
 2050|      7|        commonBuiltins.append(
 2051|      7|            "  int bitCount(  int);"
 2052|      7|            "ivec2 bitCount(ivec2);"
 2053|      7|            "ivec3 bitCount(ivec3);"
 2054|      7|            "ivec4 bitCount(ivec4);"
 2055|       |
 2056|      7|            "  int bitCount( uint);"
 2057|      7|            "ivec2 bitCount(uvec2);"
 2058|      7|            "ivec3 bitCount(uvec3);"
 2059|      7|            "ivec4 bitCount(uvec4);"
 2060|       |
 2061|      7|            "  int findMSB(highp   int);"
 2062|      7|            "ivec2 findMSB(highp ivec2);"
 2063|      7|            "ivec3 findMSB(highp ivec3);"
 2064|      7|            "ivec4 findMSB(highp ivec4);"
 2065|       |
 2066|      7|            "  int findMSB(highp  uint);"
 2067|      7|            "ivec2 findMSB(highp uvec2);"
 2068|      7|            "ivec3 findMSB(highp uvec3);"
 2069|      7|            "ivec4 findMSB(highp uvec4);"
 2070|      7|            "\n");
 2071|      7|    }
 2072|       |
 2073|     46|    if (profile != EEsProfile && version >= 150 && version < 450) { //GL_NV_gpu_shader5
  ------------------
  |  Branch (2073:9): [True: 7, False: 39]
  |  Branch (2073:34): [True: 7, False: 0]
  |  Branch (2073:52): [True: 0, False: 7]
  ------------------
 2074|      0|        commonBuiltins.append(
 2075|      0|            "int64_t  packInt2x32(ivec2);"
 2076|      0|            "uint64_t packUint2x32(uvec2);"
 2077|      0|            "ivec2    unpackInt2x32(int64_t);"
 2078|      0|            "uvec2    unpackUint2x32(uint64_t);"
 2079|       |
 2080|      0|            "uint     packFloat2x16(f16vec2);"
 2081|      0|            "f16vec2  unpackFloat2x16(uint);"
 2082|       |
 2083|      0|            "int64_t doubleBitsToInt64(double);"
 2084|      0|            "i64vec2 doubleBitsToInt64(dvec2);"
 2085|      0|            "i64vec3 doubleBitsToInt64(dvec3);"
 2086|      0|            "i64vec4 doubleBitsToInt64(dvec4);"
 2087|       |
 2088|      0|            "uint64_t doubleBitsToUint64(double);"
 2089|      0|            "u64vec2  doubleBitsToUint64(dvec2);"
 2090|      0|            "u64vec3  doubleBitsToUint64(dvec3);"
 2091|      0|            "u64vec4  doubleBitsToUint64(dvec4);"
 2092|       |
 2093|      0|            "double int64BitsToDouble(int64_t);"
 2094|      0|            "dvec2  int64BitsToDouble(i64vec2);"
 2095|      0|            "dvec3  int64BitsToDouble(i64vec3);"
 2096|      0|            "dvec4  int64BitsToDouble(i64vec4);"
 2097|       |
 2098|      0|            "double uint64BitsToDouble(uint64_t);"
 2099|      0|            "dvec2  uint64BitsToDouble(u64vec2);"
 2100|      0|            "dvec3  uint64BitsToDouble(u64vec3);"
 2101|      0|            "dvec4  uint64BitsToDouble(u64vec4);"
 2102|       |            // Modifications to Vector Relational Functions
 2103|       |            // Introduction of explicitly sized types
 2104|      0|            "bvec2 lessThan(i64vec2, i64vec2);"
 2105|      0|            "bvec3 lessThan(i64vec3, i64vec3);"
 2106|      0|            "bvec4 lessThan(i64vec4, i64vec4);"
 2107|      0|            "bvec2 lessThan(u64vec2, u64vec2);"
 2108|      0|            "bvec3 lessThan(u64vec3, u64vec3);"
 2109|      0|            "bvec4 lessThan(u64vec4, u64vec4);"
 2110|       |
 2111|      0|            "bvec2 lessThanEqual(i64vec2, i64vec2);"
 2112|      0|            "bvec3 lessThanEqual(i64vec3, i64vec3);"
 2113|      0|            "bvec4 lessThanEqual(i64vec4, i64vec4);"
 2114|      0|            "bvec2 lessThanEqual(u64vec2, u64vec2);"
 2115|      0|            "bvec3 lessThanEqual(u64vec3, u64vec3);"
 2116|      0|            "bvec4 lessThanEqual(u64vec4, u64vec4);"
 2117|       |
 2118|      0|            "bvec2 greaterThan(i64vec2, i64vec2);"
 2119|      0|            "bvec3 greaterThan(i64vec3, i64vec3);"
 2120|      0|            "bvec4 greaterThan(i64vec4, i64vec4);"
 2121|      0|            "bvec2 greaterThan(u64vec2, u64vec2);"
 2122|      0|            "bvec3 greaterThan(u64vec3, u64vec3);"
 2123|      0|            "bvec4 greaterThan(u64vec4, u64vec4);"
 2124|       |
 2125|      0|            "bvec2 greaterThanEqual(i64vec2, i64vec2);"
 2126|      0|            "bvec3 greaterThanEqual(i64vec3, i64vec3);"
 2127|      0|            "bvec4 greaterThanEqual(i64vec4, i64vec4);"
 2128|      0|            "bvec2 greaterThanEqual(u64vec2, u64vec2);"
 2129|      0|            "bvec3 greaterThanEqual(u64vec3, u64vec3);"
 2130|      0|            "bvec4 greaterThanEqual(u64vec4, u64vec4);"
 2131|       |
 2132|      0|            "bvec2 equal(i64vec2, i64vec2);"
 2133|      0|            "bvec3 equal(i64vec3, i64vec3);"
 2134|      0|            "bvec4 equal(i64vec4, i64vec4);"
 2135|      0|            "bvec2 equal(u64vec2, u64vec2);"
 2136|      0|            "bvec3 equal(u64vec3, u64vec3);"
 2137|      0|            "bvec4 equal(u64vec4, u64vec4);"
 2138|       |
 2139|      0|            "bvec2 notEqual(i64vec2, i64vec2);"
 2140|      0|            "bvec3 notEqual(i64vec3, i64vec3);"
 2141|      0|            "bvec4 notEqual(i64vec4, i64vec4);"
 2142|      0|            "bvec2 notEqual(u64vec2, u64vec2);"
 2143|      0|            "bvec3 notEqual(u64vec3, u64vec3);"
 2144|      0|            "bvec4 notEqual(u64vec4, u64vec4);"
 2145|       |
 2146|      0|            "bvec2 lessThan(f16vec2, f16vec2);"
 2147|      0|            "bvec3 lessThan(f16vec3, f16vec3);"
 2148|      0|            "bvec4 lessThan(f16vec4, f16vec4);"
 2149|       |
 2150|      0|            "bvec2 lessThanEqual(f16vec2, f16vec2);"
 2151|      0|            "bvec3 lessThanEqual(f16vec3, f16vec3);"
 2152|      0|            "bvec4 lessThanEqual(f16vec4, f16vec4);"
 2153|       |
 2154|      0|            "bvec2 greaterThan(f16vec2, f16vec2);"
 2155|      0|            "bvec3 greaterThan(f16vec3, f16vec3);"
 2156|      0|            "bvec4 greaterThan(f16vec4, f16vec4);"
 2157|       |
 2158|      0|            "bvec2 greaterThanEqual(f16vec2, f16vec2);"
 2159|      0|            "bvec3 greaterThanEqual(f16vec3, f16vec3);"
 2160|      0|            "bvec4 greaterThanEqual(f16vec4, f16vec4);"
 2161|       |
 2162|      0|            "bvec2 equal(f16vec2, f16vec2);"
 2163|      0|            "bvec3 equal(f16vec3, f16vec3);"
 2164|      0|            "bvec4 equal(f16vec4, f16vec4);"
 2165|       |
 2166|      0|            "bvec2 notEqual(f16vec2, f16vec2);"
 2167|      0|            "bvec3 notEqual(f16vec3, f16vec3);"
 2168|      0|            "bvec4 notEqual(f16vec4, f16vec4);"
 2169|       |
 2170|       |            // Dependency on GL_ARB_gpu_shader_fp64
 2171|      0|            "bvec2 lessThan(dvec2, dvec2);"
 2172|      0|            "bvec3 lessThan(dvec3, dvec3);"
 2173|      0|            "bvec4 lessThan(dvec4, dvec4);"
 2174|       |
 2175|      0|            "bvec2 lessThanEqual(dvec2, dvec2);"
 2176|      0|            "bvec3 lessThanEqual(dvec3, dvec3);"
 2177|      0|            "bvec4 lessThanEqual(dvec4, dvec4);"
 2178|       |
 2179|      0|            "bvec2 greaterThan(dvec2, dvec2);"
 2180|      0|            "bvec3 greaterThan(dvec3, dvec3);"
 2181|      0|            "bvec4 greaterThan(dvec4, dvec4);"
 2182|       |
 2183|      0|            "bvec2 greaterThanEqual(dvec2, dvec2);"
 2184|      0|            "bvec3 greaterThanEqual(dvec3, dvec3);"
 2185|      0|            "bvec4 greaterThanEqual(dvec4, dvec4);"
 2186|       |
 2187|      0|            "bvec2 equal(dvec2, dvec2);"
 2188|      0|            "bvec3 equal(dvec3, dvec3);"
 2189|      0|            "bvec4 equal(dvec4, dvec4);"
 2190|       |
 2191|      0|            "bvec2 notEqual(dvec2, dvec2);"
 2192|      0|            "bvec3 notEqual(dvec3, dvec3);"
 2193|      0|            "bvec4 notEqual(dvec4, dvec4);"
 2194|       |
 2195|      0|            "\n");
 2196|      0|    }
 2197|       |
 2198|       |
 2199|     46|    if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (2199:9): [True: 7, False: 39]
  |  Branch (2199:34): [True: 7, False: 0]
  ------------------
 2200|      7|        commonBuiltins.append(
 2201|      7|            "bool anyThreadNV(bool);"
 2202|      7|            "bool allThreadsNV(bool);"
 2203|      7|            "bool allThreadsEqualNV(bool);"
 2204|       |
 2205|      7|            "\n");
 2206|      7|    }
 2207|       |
 2208|     46|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (2208:10): [True: 39, False: 7]
  |  Branch (2208:35): [True: 0, False: 39]
  ------------------
 2209|     46|        (profile != EEsProfile && version >= 150)) { // NV_gpu_shader5
  ------------------
  |  Branch (2209:10): [True: 7, False: 39]
  |  Branch (2209:35): [True: 7, False: 0]
  ------------------
 2210|      7|        commonBuiltins.append(
 2211|      7|            " uint uaddCarry(highp  uint, highp  uint, out lowp  uint carry);"
 2212|      7|            "uvec2 uaddCarry(highp uvec2, highp uvec2, out lowp uvec2 carry);"
 2213|      7|            "uvec3 uaddCarry(highp uvec3, highp uvec3, out lowp uvec3 carry);"
 2214|      7|            "uvec4 uaddCarry(highp uvec4, highp uvec4, out lowp uvec4 carry);"
 2215|       |
 2216|      7|            " uint usubBorrow(highp  uint, highp  uint, out lowp  uint borrow);"
 2217|      7|            "uvec2 usubBorrow(highp uvec2, highp uvec2, out lowp uvec2 borrow);"
 2218|      7|            "uvec3 usubBorrow(highp uvec3, highp uvec3, out lowp uvec3 borrow);"
 2219|      7|            "uvec4 usubBorrow(highp uvec4, highp uvec4, out lowp uvec4 borrow);"
 2220|       |
 2221|      7|            "void umulExtended(highp  uint, highp  uint, out highp  uint, out highp  uint lsb);"
 2222|      7|            "void umulExtended(highp uvec2, highp uvec2, out highp uvec2, out highp uvec2 lsb);"
 2223|      7|            "void umulExtended(highp uvec3, highp uvec3, out highp uvec3, out highp uvec3 lsb);"
 2224|      7|            "void umulExtended(highp uvec4, highp uvec4, out highp uvec4, out highp uvec4 lsb);"
 2225|       |
 2226|      7|            "void imulExtended(highp   int, highp   int, out highp   int, out highp   int lsb);"
 2227|      7|            "void imulExtended(highp ivec2, highp ivec2, out highp ivec2, out highp ivec2 lsb);"
 2228|      7|            "void imulExtended(highp ivec3, highp ivec3, out highp ivec3, out highp ivec3 lsb);"
 2229|      7|            "void imulExtended(highp ivec4, highp ivec4, out highp ivec4, out highp ivec4 lsb);"
 2230|       |
 2231|      7|            "  int bitfieldReverse(highp   int);"
 2232|      7|            "ivec2 bitfieldReverse(highp ivec2);"
 2233|      7|            "ivec3 bitfieldReverse(highp ivec3);"
 2234|      7|            "ivec4 bitfieldReverse(highp ivec4);"
 2235|       |
 2236|      7|            " uint bitfieldReverse(highp  uint);"
 2237|      7|            "uvec2 bitfieldReverse(highp uvec2);"
 2238|      7|            "uvec3 bitfieldReverse(highp uvec3);"
 2239|      7|            "uvec4 bitfieldReverse(highp uvec4);"
 2240|       |
 2241|      7|            "\n");
 2242|      7|    }
 2243|       |
 2244|     46|    if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (2244:9): [True: 39, False: 7]
  |  Branch (2244:34): [True: 0, False: 39]
  ------------------
 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|     46|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (2270:9): [True: 7, False: 39]
  |  Branch (2270:34): [True: 7, False: 0]
  ------------------
 2271|      7|        commonBuiltins.append(
 2272|      7|            "uint64_t ballotARB(bool);"
 2273|       |
 2274|      7|            "float readInvocationARB(float, uint);"
 2275|      7|            "vec2  readInvocationARB(vec2,  uint);"
 2276|      7|            "vec3  readInvocationARB(vec3,  uint);"
 2277|      7|            "vec4  readInvocationARB(vec4,  uint);"
 2278|       |
 2279|      7|            "int   readInvocationARB(int,   uint);"
 2280|      7|            "ivec2 readInvocationARB(ivec2, uint);"
 2281|      7|            "ivec3 readInvocationARB(ivec3, uint);"
 2282|      7|            "ivec4 readInvocationARB(ivec4, uint);"
 2283|       |
 2284|      7|            "uint  readInvocationARB(uint,  uint);"
 2285|      7|            "uvec2 readInvocationARB(uvec2, uint);"
 2286|      7|            "uvec3 readInvocationARB(uvec3, uint);"
 2287|      7|            "uvec4 readInvocationARB(uvec4, uint);"
 2288|       |
 2289|      7|            "float readFirstInvocationARB(float);"
 2290|      7|            "vec2  readFirstInvocationARB(vec2);"
 2291|      7|            "vec3  readFirstInvocationARB(vec3);"
 2292|      7|            "vec4  readFirstInvocationARB(vec4);"
 2293|       |
 2294|      7|            "int   readFirstInvocationARB(int);"
 2295|      7|            "ivec2 readFirstInvocationARB(ivec2);"
 2296|      7|            "ivec3 readFirstInvocationARB(ivec3);"
 2297|      7|            "ivec4 readFirstInvocationARB(ivec4);"
 2298|       |
 2299|      7|            "uint  readFirstInvocationARB(uint);"
 2300|      7|            "uvec2 readFirstInvocationARB(uvec2);"
 2301|      7|            "uvec3 readFirstInvocationARB(uvec3);"
 2302|      7|            "uvec4 readFirstInvocationARB(uvec4);"
 2303|       |
 2304|      7|            "\n");
 2305|      7|    }
 2306|       |
 2307|       |    // GL_ARB_shader_group_vote
 2308|     46|    if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (2308:9): [True: 7, False: 39]
  |  Branch (2308:34): [True: 7, False: 0]
  ------------------
 2309|      7|        commonBuiltins.append(
 2310|      7|            "bool anyInvocationARB(bool);"
 2311|      7|            "bool allInvocationsARB(bool);"
 2312|      7|            "bool allInvocationsEqualARB(bool);"
 2313|       |
 2314|      7|            "\n");
 2315|      7|    }
 2316|       |
 2317|       |    // GL_EXT_integer_dot_product
 2318|     46|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (2318:10): [True: 39, False: 7]
  |  Branch (2318:35): [True: 0, False: 39]
  ------------------
 2319|     46|        (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (2319:10): [True: 7, False: 39]
  |  Branch (2319:35): [True: 7, False: 0]
  ------------------
 2320|      7|        commonBuiltins.append(
 2321|       |
 2322|      7|            "uint dotEXT(uvec2 a, uvec2 b);"
 2323|      7|            "int dotEXT(ivec2 a, ivec2 b);"
 2324|      7|            "int dotEXT(ivec2 a, uvec2 b);"
 2325|      7|            "int dotEXT(uvec2 a, ivec2 b);"
 2326|       |
 2327|      7|            "uint dotEXT(uvec3 a, uvec3 b);"
 2328|      7|            "int dotEXT(ivec3 a, ivec3 b);"
 2329|      7|            "int dotEXT(ivec3 a, uvec3 b);"
 2330|      7|            "int dotEXT(uvec3 a, ivec3 b);"
 2331|       |
 2332|      7|            "uint dotEXT(uvec4 a, uvec4 b);"
 2333|      7|            "int dotEXT(ivec4 a, ivec4 b);"
 2334|      7|            "int dotEXT(ivec4 a, uvec4 b);"
 2335|      7|            "int dotEXT(uvec4 a, ivec4 b);"
 2336|       |
 2337|      7|            "uint dotPacked4x8EXT(uint a, uint b);"
 2338|      7|            "int dotPacked4x8EXT(int a, uint b);"
 2339|      7|            "int dotPacked4x8EXT(uint a, int b);"
 2340|      7|            "int dotPacked4x8EXT(int a, int b);"
 2341|       |
 2342|      7|            "uint dotEXT(u8vec2 a, u8vec2 b);"
 2343|      7|            "int dotEXT(i8vec2 a, u8vec2 b);"
 2344|      7|            "int dotEXT(u8vec2 a, i8vec2 b);"
 2345|      7|            "int dotEXT(i8vec2 a, i8vec2 b);"
 2346|       |
 2347|      7|            "uint dotEXT(u8vec3 a, u8vec3 b);"
 2348|      7|            "int dotEXT(i8vec3 a, u8vec3 b);"
 2349|      7|            "int dotEXT(u8vec3 a, i8vec3 b);"
 2350|      7|            "int dotEXT(i8vec3 a, i8vec3 b);"
 2351|       |
 2352|      7|            "uint dotEXT(u8vec4 a, u8vec4 b);"
 2353|      7|            "int dotEXT(i8vec4 a, u8vec4 b);"
 2354|      7|            "int dotEXT(u8vec4 a, i8vec4 b);"
 2355|      7|            "int dotEXT(i8vec4 a, i8vec4 b);"
 2356|       |
 2357|      7|            "uint dotEXT(u16vec2 a, u16vec2 b);"
 2358|      7|            "int dotEXT(i16vec2 a, u16vec2 b);"
 2359|      7|            "int dotEXT(u16vec2 a, i16vec2 b);"
 2360|      7|            "int dotEXT(i16vec2 a, i16vec2 b);"
 2361|       |
 2362|      7|            "uint dotEXT(u16vec3 a, u16vec3 b);"
 2363|      7|            "int dotEXT(i16vec3 a, u16vec3 b);"
 2364|      7|            "int dotEXT(u16vec3 a, i16vec3 b);"
 2365|      7|            "int dotEXT(i16vec3 a, i16vec3 b);"
 2366|       |
 2367|      7|            "uint dotEXT(u16vec4 a, u16vec4 b);"
 2368|      7|            "int dotEXT(i16vec4 a, u16vec4 b);"
 2369|      7|            "int dotEXT(u16vec4 a, i16vec4 b);"
 2370|      7|            "int dotEXT(i16vec4 a, i16vec4 b);"
 2371|       |
 2372|      7|            "uint64_t dotEXT(u64vec2 a, u64vec2 b);"
 2373|      7|            "int64_t dotEXT(i64vec2 a, u64vec2 b);"
 2374|      7|            "int64_t dotEXT(u64vec2 a, i64vec2 b);"
 2375|      7|            "int64_t dotEXT(i64vec2 a, i64vec2 b);"
 2376|       |
 2377|      7|            "uint64_t dotEXT(u64vec3 a, u64vec3 b);"
 2378|      7|            "int64_t dotEXT(i64vec3 a, u64vec3 b);"
 2379|      7|            "int64_t dotEXT(u64vec3 a, i64vec3 b);"
 2380|      7|            "int64_t dotEXT(i64vec3 a, i64vec3 b);"
 2381|       |
 2382|      7|            "uint64_t dotEXT(u64vec4 a, u64vec4 b);"
 2383|      7|            "int64_t dotEXT(i64vec4 a, u64vec4 b);"
 2384|      7|            "int64_t dotEXT(u64vec4 a, i64vec4 b);"
 2385|      7|            "int64_t dotEXT(i64vec4 a, i64vec4 b);"
 2386|       |
 2387|      7|            "uint dotAccSatEXT(uvec2 a, uvec2 b, uint c);"
 2388|      7|            "int dotAccSatEXT(ivec2 a, uvec2 b, int c);"
 2389|      7|            "int dotAccSatEXT(uvec2 a, ivec2 b, int c);"
 2390|      7|            "int dotAccSatEXT(ivec2 a, ivec2 b, int c);"
 2391|       |
 2392|      7|            "uint dotAccSatEXT(uvec3 a, uvec3 b, uint c);"
 2393|      7|            "int dotAccSatEXT(ivec3 a, uvec3 b, int c);"
 2394|      7|            "int dotAccSatEXT(uvec3 a, ivec3 b, int c);"
 2395|      7|            "int dotAccSatEXT(ivec3 a, ivec3 b, int c);"
 2396|       |
 2397|      7|            "uint dotAccSatEXT(uvec4 a, uvec4 b, uint c);"
 2398|      7|            "int dotAccSatEXT(ivec4 a, uvec4 b, int c);"
 2399|      7|            "int dotAccSatEXT(uvec4 a, ivec4 b, int c);"
 2400|      7|            "int dotAccSatEXT(ivec4 a, ivec4 b, int c);"
 2401|       |
 2402|      7|            "uint dotPacked4x8AccSatEXT(uint a, uint b, uint c);"
 2403|      7|            "int dotPacked4x8AccSatEXT(int a, uint b, int c);"
 2404|      7|            "int dotPacked4x8AccSatEXT(uint a, int b, int c);"
 2405|      7|            "int dotPacked4x8AccSatEXT(int a, int b, int c);"
 2406|       |
 2407|      7|            "uint dotAccSatEXT(u8vec2 a, u8vec2 b, uint c);"
 2408|      7|            "int dotAccSatEXT(i8vec2 a, u8vec2 b, int c);"
 2409|      7|            "int dotAccSatEXT(u8vec2 a, i8vec2 b, int c);"
 2410|      7|            "int dotAccSatEXT(i8vec2 a, i8vec2 b, int c);"
 2411|       |
 2412|      7|            "uint dotAccSatEXT(u8vec3 a, u8vec3 b, uint c);"
 2413|      7|            "int dotAccSatEXT(i8vec3 a, u8vec3 b, int c);"
 2414|      7|            "int dotAccSatEXT(u8vec3 a, i8vec3 b, int c);"
 2415|      7|            "int dotAccSatEXT(i8vec3 a, i8vec3 b, int c);"
 2416|       |
 2417|      7|            "uint dotAccSatEXT(u8vec4 a, u8vec4 b, uint c);"
 2418|      7|            "int dotAccSatEXT(i8vec4 a, u8vec4 b, int c);"
 2419|      7|            "int dotAccSatEXT(u8vec4 a, i8vec4 b, int c);"
 2420|      7|            "int dotAccSatEXT(i8vec4 a, i8vec4 b, int c);"
 2421|       |
 2422|      7|            "uint dotAccSatEXT(u16vec2 a, u16vec2 b, uint c);"
 2423|      7|            "int dotAccSatEXT(i16vec2 a, u16vec2 b, int c);"
 2424|      7|            "int dotAccSatEXT(u16vec2 a, i16vec2 b, int c);"
 2425|      7|            "int dotAccSatEXT(i16vec2 a, i16vec2 b, int c);"
 2426|       |
 2427|      7|            "uint dotAccSatEXT(u16vec3 a, u16vec3 b, uint c);"
 2428|      7|            "int dotAccSatEXT(i16vec3 a, u16vec3 b, int c);"
 2429|      7|            "int dotAccSatEXT(u16vec3 a, i16vec3 b, int c);"
 2430|      7|            "int dotAccSatEXT(i16vec3 a, i16vec3 b, int c);"
 2431|       |
 2432|      7|            "uint dotAccSatEXT(u16vec4 a, u16vec4 b, uint c);"
 2433|      7|            "int dotAccSatEXT(i16vec4 a, u16vec4 b, int c);"
 2434|      7|            "int dotAccSatEXT(u16vec4 a, i16vec4 b, int c);"
 2435|      7|            "int dotAccSatEXT(i16vec4 a, i16vec4 b, int c);"
 2436|       |
 2437|      7|            "uint64_t dotAccSatEXT(u64vec2 a, u64vec2 b, uint64_t c);"
 2438|      7|            "int64_t dotAccSatEXT(i64vec2 a, u64vec2 b, int64_t c);"
 2439|      7|            "int64_t dotAccSatEXT(u64vec2 a, i64vec2 b, int64_t c);"
 2440|      7|            "int64_t dotAccSatEXT(i64vec2 a, i64vec2 b, int64_t c);"
 2441|       |
 2442|      7|            "uint64_t dotAccSatEXT(u64vec3 a, u64vec3 b, uint64_t c);"
 2443|      7|            "int64_t dotAccSatEXT(i64vec3 a, u64vec3 b, int64_t c);"
 2444|      7|            "int64_t dotAccSatEXT(u64vec3 a, i64vec3 b, int64_t c);"
 2445|      7|            "int64_t dotAccSatEXT(i64vec3 a, i64vec3 b, int64_t c);"
 2446|       |
 2447|      7|            "uint64_t dotAccSatEXT(u64vec4 a, u64vec4 b, uint64_t c);"
 2448|      7|            "int64_t dotAccSatEXT(i64vec4 a, u64vec4 b, int64_t c);"
 2449|      7|            "int64_t dotAccSatEXT(u64vec4 a, i64vec4 b, int64_t c);"
 2450|      7|            "int64_t dotAccSatEXT(i64vec4 a, i64vec4 b, int64_t c);"
 2451|      7|            "\n");
 2452|      7|    }
 2453|       |
 2454|       |    // GL_KHR_shader_subgroup
 2455|     46|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (2455:10): [True: 39, False: 7]
  |  Branch (2455:35): [True: 0, False: 39]
  ------------------
 2456|     46|        (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (2456:10): [True: 7, False: 39]
  |  Branch (2456:35): [True: 7, False: 0]
  ------------------
 2457|      7|        commonBuiltins.append(
 2458|      7|            "void subgroupBarrier();"
 2459|      7|            "void subgroupMemoryBarrier();"
 2460|      7|            "void subgroupMemoryBarrierBuffer();"
 2461|      7|            "void subgroupMemoryBarrierImage();"
 2462|      7|            "bool subgroupElect();"
 2463|       |
 2464|      7|            "bool   subgroupAll(bool);\n"
 2465|      7|            "bool   subgroupAny(bool);\n"
 2466|      7|            "uvec4  subgroupBallot(bool);\n"
 2467|      7|            "bool   subgroupInverseBallot(uvec4);\n"
 2468|      7|            "bool   subgroupBallotBitExtract(uvec4, uint);\n"
 2469|      7|            "uint   subgroupBallotBitCount(uvec4);\n"
 2470|      7|            "uint   subgroupBallotInclusiveBitCount(uvec4);\n"
 2471|      7|            "uint   subgroupBallotExclusiveBitCount(uvec4);\n"
 2472|      7|            "uint   subgroupBallotFindLSB(uvec4);\n"
 2473|      7|            "uint   subgroupBallotFindMSB(uvec4);\n"
 2474|      7|            );
 2475|       |
 2476|       |        // Generate all flavors of subgroup ops.
 2477|      7|        static const char *subgroupOps[] = 
 2478|      7|        {
 2479|      7|            "bool   subgroupAllEqual(%s);\n",
 2480|      7|            "%s     subgroupBroadcast(%s, uint);\n",
 2481|      7|            "%s     subgroupBroadcastFirst(%s);\n",
 2482|      7|            "%s     subgroupShuffle(%s, uint);\n",
 2483|      7|            "%s     subgroupShuffleXor(%s, uint);\n",
 2484|      7|            "%s     subgroupShuffleUp(%s, uint delta);\n",
 2485|      7|            "%s     subgroupShuffleDown(%s, uint delta);\n",
 2486|      7|            "%s     subgroupRotate(%s, uint);\n",
 2487|      7|            "%s     subgroupClusteredRotate(%s, uint, uint);\n",
 2488|      7|            "%s     subgroupAdd(%s);\n",
 2489|      7|            "%s     subgroupMul(%s);\n",
 2490|      7|            "%s     subgroupMin(%s);\n",
 2491|      7|            "%s     subgroupMax(%s);\n",
 2492|      7|            "%s     subgroupAnd(%s);\n",
 2493|      7|            "%s     subgroupOr(%s);\n",
 2494|      7|            "%s     subgroupXor(%s);\n",
 2495|      7|            "%s     subgroupInclusiveAdd(%s);\n",
 2496|      7|            "%s     subgroupInclusiveMul(%s);\n",
 2497|      7|            "%s     subgroupInclusiveMin(%s);\n",
 2498|      7|            "%s     subgroupInclusiveMax(%s);\n",
 2499|      7|            "%s     subgroupInclusiveAnd(%s);\n",
 2500|      7|            "%s     subgroupInclusiveOr(%s);\n",
 2501|      7|            "%s     subgroupInclusiveXor(%s);\n",
 2502|      7|            "%s     subgroupExclusiveAdd(%s);\n",
 2503|      7|            "%s     subgroupExclusiveMul(%s);\n",
 2504|      7|            "%s     subgroupExclusiveMin(%s);\n",
 2505|      7|            "%s     subgroupExclusiveMax(%s);\n",
 2506|      7|            "%s     subgroupExclusiveAnd(%s);\n",
 2507|      7|            "%s     subgroupExclusiveOr(%s);\n",
 2508|      7|            "%s     subgroupExclusiveXor(%s);\n",
 2509|      7|            "%s     subgroupClusteredAdd(%s, uint);\n",
 2510|      7|            "%s     subgroupClusteredMul(%s, uint);\n",
 2511|      7|            "%s     subgroupClusteredMin(%s, uint);\n",
 2512|      7|            "%s     subgroupClusteredMax(%s, uint);\n",
 2513|      7|            "%s     subgroupClusteredAnd(%s, uint);\n",
 2514|      7|            "%s     subgroupClusteredOr(%s, uint);\n",
 2515|      7|            "%s     subgroupClusteredXor(%s, uint);\n",
 2516|      7|            "%s     subgroupQuadBroadcast(%s, uint);\n",
 2517|      7|            "%s     subgroupQuadSwapHorizontal(%s);\n",
 2518|      7|            "%s     subgroupQuadSwapVertical(%s);\n",
 2519|      7|            "%s     subgroupQuadSwapDiagonal(%s);\n",
 2520|      7|            "uvec4  subgroupPartitionNV(%s);\n",
 2521|      7|            "%s     subgroupPartitionedAddNV(%s, uvec4 ballot);\n",
 2522|      7|            "%s     subgroupPartitionedMulNV(%s, uvec4 ballot);\n",
 2523|      7|            "%s     subgroupPartitionedMinNV(%s, uvec4 ballot);\n",
 2524|      7|            "%s     subgroupPartitionedMaxNV(%s, uvec4 ballot);\n",
 2525|      7|            "%s     subgroupPartitionedAndNV(%s, uvec4 ballot);\n",
 2526|      7|            "%s     subgroupPartitionedOrNV(%s, uvec4 ballot);\n",
 2527|      7|            "%s     subgroupPartitionedXorNV(%s, uvec4 ballot);\n",
 2528|      7|            "%s     subgroupPartitionedInclusiveAddNV(%s, uvec4 ballot);\n",
 2529|      7|            "%s     subgroupPartitionedInclusiveMulNV(%s, uvec4 ballot);\n",
 2530|      7|            "%s     subgroupPartitionedInclusiveMinNV(%s, uvec4 ballot);\n",
 2531|      7|            "%s     subgroupPartitionedInclusiveMaxNV(%s, uvec4 ballot);\n",
 2532|      7|            "%s     subgroupPartitionedInclusiveAndNV(%s, uvec4 ballot);\n",
 2533|      7|            "%s     subgroupPartitionedInclusiveOrNV(%s, uvec4 ballot);\n",
 2534|      7|            "%s     subgroupPartitionedInclusiveXorNV(%s, uvec4 ballot);\n",
 2535|      7|            "%s     subgroupPartitionedExclusiveAddNV(%s, uvec4 ballot);\n",
 2536|      7|            "%s     subgroupPartitionedExclusiveMulNV(%s, uvec4 ballot);\n",
 2537|      7|            "%s     subgroupPartitionedExclusiveMinNV(%s, uvec4 ballot);\n",
 2538|      7|            "%s     subgroupPartitionedExclusiveMaxNV(%s, uvec4 ballot);\n",
 2539|      7|            "%s     subgroupPartitionedExclusiveAndNV(%s, uvec4 ballot);\n",
 2540|      7|            "%s     subgroupPartitionedExclusiveOrNV(%s, uvec4 ballot);\n",
 2541|      7|            "%s     subgroupPartitionedExclusiveXorNV(%s, uvec4 ballot);\n",
 2542|      7|        };
 2543|       |
 2544|      7|        static const char *floatTypes[] = { 
 2545|      7|            "float", "vec2", "vec3", "vec4", 
 2546|      7|            "float16_t", "f16vec2", "f16vec3", "f16vec4", 
 2547|      7|        };
 2548|      7|        static const char *doubleTypes[] = { 
 2549|      7|            "double", "dvec2", "dvec3", "dvec4", 
 2550|      7|        };
 2551|      7|        static const char *intTypes[] = { 
 2552|      7|            "int8_t", "i8vec2", "i8vec3", "i8vec4", 
 2553|      7|            "int16_t", "i16vec2", "i16vec3", "i16vec4", 
 2554|      7|            "int", "ivec2", "ivec3", "ivec4", 
 2555|      7|            "int64_t", "i64vec2", "i64vec3", "i64vec4", 
 2556|      7|            "uint8_t", "u8vec2", "u8vec3", "u8vec4", 
 2557|      7|            "uint16_t", "u16vec2", "u16vec3", "u16vec4", 
 2558|      7|            "uint", "uvec2", "uvec3", "uvec4", 
 2559|      7|            "uint64_t", "u64vec2", "u64vec3", "u64vec4", 
 2560|      7|        };
 2561|      7|        static const char *boolTypes[] = { 
 2562|      7|            "bool", "bvec2", "bvec3", "bvec4", 
 2563|      7|        };
 2564|       |
 2565|    448|        for (size_t i = 0; i < sizeof(subgroupOps)/sizeof(subgroupOps[0]); ++i) {
  ------------------
  |  Branch (2565:28): [True: 441, False: 7]
  ------------------
 2566|    441|            const char *op = subgroupOps[i];
 2567|       |
 2568|       |            // Logical operations don't support float
 2569|    441|            bool logicalOp = strstr(op, "Or") || strstr(op, "And") ||
  ------------------
  |  Branch (2569:30): [True: 49, False: 392]
  |  Branch (2569:50): [True: 49, False: 343]
  ------------------
 2570|    343|                             (strstr(op, "Xor") && !strstr(op, "ShuffleXor"));
  ------------------
  |  Branch (2570:31): [True: 56, False: 287]
  |  Branch (2570:52): [True: 49, False: 7]
  ------------------
 2571|       |            // Math operations don't support bool
 2572|    441|            bool mathOp = strstr(op, "Add") || strstr(op, "Mul") || strstr(op, "Min") || strstr(op, "Max");
  ------------------
  |  Branch (2572:27): [True: 49, False: 392]
  |  Branch (2572:48): [True: 49, False: 343]
  |  Branch (2572:69): [True: 49, False: 294]
  |  Branch (2572:90): [True: 49, False: 245]
  ------------------
 2573|       |
 2574|    441|            const int bufSize = 256;
 2575|    441|            char buf[bufSize];
 2576|       |
 2577|    441|            if (!logicalOp) {
  ------------------
  |  Branch (2577:17): [True: 294, False: 147]
  ------------------
 2578|  2.64k|                for (size_t j = 0; j < sizeof(floatTypes)/sizeof(floatTypes[0]); ++j) {
  ------------------
  |  Branch (2578:36): [True: 2.35k, False: 294]
  ------------------
 2579|  2.35k|                    snprintf(buf, bufSize, op, floatTypes[j], floatTypes[j]);
 2580|  2.35k|                    commonBuiltins.append(buf);
 2581|  2.35k|                }
 2582|    294|                if (profile != EEsProfile && version >= 400) {
  ------------------
  |  Branch (2582:21): [True: 294, False: 0]
  |  Branch (2582:46): [True: 294, False: 0]
  ------------------
 2583|  1.47k|                    for (size_t j = 0; j < sizeof(doubleTypes)/sizeof(doubleTypes[0]); ++j) {
  ------------------
  |  Branch (2583:40): [True: 1.17k, False: 294]
  ------------------
 2584|  1.17k|                        snprintf(buf, bufSize, op, doubleTypes[j], doubleTypes[j]);
 2585|  1.17k|                        commonBuiltins.append(buf);
 2586|  1.17k|                    }
 2587|    294|                }
 2588|    294|            }
 2589|    441|            if (!mathOp) {
  ------------------
  |  Branch (2589:17): [True: 245, False: 196]
  ------------------
 2590|  1.22k|                for (size_t j = 0; j < sizeof(boolTypes)/sizeof(boolTypes[0]); ++j) {
  ------------------
  |  Branch (2590:36): [True: 980, False: 245]
  ------------------
 2591|    980|                    snprintf(buf, bufSize, op, boolTypes[j], boolTypes[j]);
 2592|    980|                    commonBuiltins.append(buf);
 2593|    980|                }
 2594|    245|            }
 2595|  14.5k|            for (size_t j = 0; j < sizeof(intTypes)/sizeof(intTypes[0]); ++j) {
  ------------------
  |  Branch (2595:32): [True: 14.1k, False: 441]
  ------------------
 2596|  14.1k|                snprintf(buf, bufSize, op, intTypes[j], intTypes[j]);
 2597|  14.1k|                commonBuiltins.append(buf);
 2598|  14.1k|            }
 2599|    441|            snprintf(buf, bufSize, op, "vector", "vector");
 2600|    441|            commonBuiltins.append(buf);
 2601|    441|        }
 2602|       |
 2603|      7|        stageBuiltins[EShLangCompute].append(
 2604|      7|            "void subgroupMemoryBarrierShared();"
 2605|       |
 2606|      7|            "\n"
 2607|      7|            );
 2608|      7|        stageBuiltins[EShLangMesh].append(
 2609|      7|            "void subgroupMemoryBarrierShared();"
 2610|      7|            "\n"
 2611|      7|            );
 2612|      7|        stageBuiltins[EShLangTask].append(
 2613|      7|            "void subgroupMemoryBarrierShared();"
 2614|      7|            "\n"
 2615|      7|            );
 2616|      7|    }
 2617|       |
 2618|       |    // GL_EXT_shader_quad_control
 2619|     46|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (2619:10): [True: 39, False: 7]
  |  Branch (2619:35): [True: 0, False: 39]
  ------------------
 2620|     46|        (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (2620:10): [True: 7, False: 39]
  |  Branch (2620:35): [True: 7, False: 0]
  ------------------
 2621|      7|        commonBuiltins.append(
 2622|      7|            "bool subgroupQuadAll(bool);\n"
 2623|      7|            "bool subgroupQuadAny(bool);\n"
 2624|      7|            );
 2625|      7|    }
 2626|       |
 2627|     46|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (2627:9): [True: 7, False: 39]
  |  Branch (2627:34): [True: 0, False: 7]
  ------------------
 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|     46|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (2637:9): [True: 7, False: 39]
  |  Branch (2637:34): [True: 7, False: 0]
  ------------------
 2638|      7|        commonBuiltins.append(
 2639|      7|            "float minInvocationsAMD(float);"
 2640|      7|            "vec2  minInvocationsAMD(vec2);"
 2641|      7|            "vec3  minInvocationsAMD(vec3);"
 2642|      7|            "vec4  minInvocationsAMD(vec4);"
 2643|       |
 2644|      7|            "int   minInvocationsAMD(int);"
 2645|      7|            "ivec2 minInvocationsAMD(ivec2);"
 2646|      7|            "ivec3 minInvocationsAMD(ivec3);"
 2647|      7|            "ivec4 minInvocationsAMD(ivec4);"
 2648|       |
 2649|      7|            "uint  minInvocationsAMD(uint);"
 2650|      7|            "uvec2 minInvocationsAMD(uvec2);"
 2651|      7|            "uvec3 minInvocationsAMD(uvec3);"
 2652|      7|            "uvec4 minInvocationsAMD(uvec4);"
 2653|       |
 2654|      7|            "double minInvocationsAMD(double);"
 2655|      7|            "dvec2  minInvocationsAMD(dvec2);"
 2656|      7|            "dvec3  minInvocationsAMD(dvec3);"
 2657|      7|            "dvec4  minInvocationsAMD(dvec4);"
 2658|       |
 2659|      7|            "int64_t minInvocationsAMD(int64_t);"
 2660|      7|            "i64vec2 minInvocationsAMD(i64vec2);"
 2661|      7|            "i64vec3 minInvocationsAMD(i64vec3);"
 2662|      7|            "i64vec4 minInvocationsAMD(i64vec4);"
 2663|       |
 2664|      7|            "uint64_t minInvocationsAMD(uint64_t);"
 2665|      7|            "u64vec2  minInvocationsAMD(u64vec2);"
 2666|      7|            "u64vec3  minInvocationsAMD(u64vec3);"
 2667|      7|            "u64vec4  minInvocationsAMD(u64vec4);"
 2668|       |
 2669|      7|            "float16_t minInvocationsAMD(float16_t);"
 2670|      7|            "f16vec2   minInvocationsAMD(f16vec2);"
 2671|      7|            "f16vec3   minInvocationsAMD(f16vec3);"
 2672|      7|            "f16vec4   minInvocationsAMD(f16vec4);"
 2673|       |
 2674|      7|            "int16_t minInvocationsAMD(int16_t);"
 2675|      7|            "i16vec2 minInvocationsAMD(i16vec2);"
 2676|      7|            "i16vec3 minInvocationsAMD(i16vec3);"
 2677|      7|            "i16vec4 minInvocationsAMD(i16vec4);"
 2678|       |
 2679|      7|            "uint16_t minInvocationsAMD(uint16_t);"
 2680|      7|            "u16vec2  minInvocationsAMD(u16vec2);"
 2681|      7|            "u16vec3  minInvocationsAMD(u16vec3);"
 2682|      7|            "u16vec4  minInvocationsAMD(u16vec4);"
 2683|       |
 2684|      7|            "float minInvocationsInclusiveScanAMD(float);"
 2685|      7|            "vec2  minInvocationsInclusiveScanAMD(vec2);"
 2686|      7|            "vec3  minInvocationsInclusiveScanAMD(vec3);"
 2687|      7|            "vec4  minInvocationsInclusiveScanAMD(vec4);"
 2688|       |
 2689|      7|            "int   minInvocationsInclusiveScanAMD(int);"
 2690|      7|            "ivec2 minInvocationsInclusiveScanAMD(ivec2);"
 2691|      7|            "ivec3 minInvocationsInclusiveScanAMD(ivec3);"
 2692|      7|            "ivec4 minInvocationsInclusiveScanAMD(ivec4);"
 2693|       |
 2694|      7|            "uint  minInvocationsInclusiveScanAMD(uint);"
 2695|      7|            "uvec2 minInvocationsInclusiveScanAMD(uvec2);"
 2696|      7|            "uvec3 minInvocationsInclusiveScanAMD(uvec3);"
 2697|      7|            "uvec4 minInvocationsInclusiveScanAMD(uvec4);"
 2698|       |
 2699|      7|            "double minInvocationsInclusiveScanAMD(double);"
 2700|      7|            "dvec2  minInvocationsInclusiveScanAMD(dvec2);"
 2701|      7|            "dvec3  minInvocationsInclusiveScanAMD(dvec3);"
 2702|      7|            "dvec4  minInvocationsInclusiveScanAMD(dvec4);"
 2703|       |
 2704|      7|            "int64_t minInvocationsInclusiveScanAMD(int64_t);"
 2705|      7|            "i64vec2 minInvocationsInclusiveScanAMD(i64vec2);"
 2706|      7|            "i64vec3 minInvocationsInclusiveScanAMD(i64vec3);"
 2707|      7|            "i64vec4 minInvocationsInclusiveScanAMD(i64vec4);"
 2708|       |
 2709|      7|            "uint64_t minInvocationsInclusiveScanAMD(uint64_t);"
 2710|      7|            "u64vec2  minInvocationsInclusiveScanAMD(u64vec2);"
 2711|      7|            "u64vec3  minInvocationsInclusiveScanAMD(u64vec3);"
 2712|      7|            "u64vec4  minInvocationsInclusiveScanAMD(u64vec4);"
 2713|       |
 2714|      7|            "float16_t minInvocationsInclusiveScanAMD(float16_t);"
 2715|      7|            "f16vec2   minInvocationsInclusiveScanAMD(f16vec2);"
 2716|      7|            "f16vec3   minInvocationsInclusiveScanAMD(f16vec3);"
 2717|      7|            "f16vec4   minInvocationsInclusiveScanAMD(f16vec4);"
 2718|       |
 2719|      7|            "int16_t minInvocationsInclusiveScanAMD(int16_t);"
 2720|      7|            "i16vec2 minInvocationsInclusiveScanAMD(i16vec2);"
 2721|      7|            "i16vec3 minInvocationsInclusiveScanAMD(i16vec3);"
 2722|      7|            "i16vec4 minInvocationsInclusiveScanAMD(i16vec4);"
 2723|       |
 2724|      7|            "uint16_t minInvocationsInclusiveScanAMD(uint16_t);"
 2725|      7|            "u16vec2  minInvocationsInclusiveScanAMD(u16vec2);"
 2726|      7|            "u16vec3  minInvocationsInclusiveScanAMD(u16vec3);"
 2727|      7|            "u16vec4  minInvocationsInclusiveScanAMD(u16vec4);"
 2728|       |
 2729|      7|            "float minInvocationsExclusiveScanAMD(float);"
 2730|      7|            "vec2  minInvocationsExclusiveScanAMD(vec2);"
 2731|      7|            "vec3  minInvocationsExclusiveScanAMD(vec3);"
 2732|      7|            "vec4  minInvocationsExclusiveScanAMD(vec4);"
 2733|       |
 2734|      7|            "int   minInvocationsExclusiveScanAMD(int);"
 2735|      7|            "ivec2 minInvocationsExclusiveScanAMD(ivec2);"
 2736|      7|            "ivec3 minInvocationsExclusiveScanAMD(ivec3);"
 2737|      7|            "ivec4 minInvocationsExclusiveScanAMD(ivec4);"
 2738|       |
 2739|      7|            "uint  minInvocationsExclusiveScanAMD(uint);"
 2740|      7|            "uvec2 minInvocationsExclusiveScanAMD(uvec2);"
 2741|      7|            "uvec3 minInvocationsExclusiveScanAMD(uvec3);"
 2742|      7|            "uvec4 minInvocationsExclusiveScanAMD(uvec4);"
 2743|       |
 2744|      7|            "double minInvocationsExclusiveScanAMD(double);"
 2745|      7|            "dvec2  minInvocationsExclusiveScanAMD(dvec2);"
 2746|      7|            "dvec3  minInvocationsExclusiveScanAMD(dvec3);"
 2747|      7|            "dvec4  minInvocationsExclusiveScanAMD(dvec4);"
 2748|       |
 2749|      7|            "int64_t minInvocationsExclusiveScanAMD(int64_t);"
 2750|      7|            "i64vec2 minInvocationsExclusiveScanAMD(i64vec2);"
 2751|      7|            "i64vec3 minInvocationsExclusiveScanAMD(i64vec3);"
 2752|      7|            "i64vec4 minInvocationsExclusiveScanAMD(i64vec4);"
 2753|       |
 2754|      7|            "uint64_t minInvocationsExclusiveScanAMD(uint64_t);"
 2755|      7|            "u64vec2  minInvocationsExclusiveScanAMD(u64vec2);"
 2756|      7|            "u64vec3  minInvocationsExclusiveScanAMD(u64vec3);"
 2757|      7|            "u64vec4  minInvocationsExclusiveScanAMD(u64vec4);"
 2758|       |
 2759|      7|            "float16_t minInvocationsExclusiveScanAMD(float16_t);"
 2760|      7|            "f16vec2   minInvocationsExclusiveScanAMD(f16vec2);"
 2761|      7|            "f16vec3   minInvocationsExclusiveScanAMD(f16vec3);"
 2762|      7|            "f16vec4   minInvocationsExclusiveScanAMD(f16vec4);"
 2763|       |
 2764|      7|            "int16_t minInvocationsExclusiveScanAMD(int16_t);"
 2765|      7|            "i16vec2 minInvocationsExclusiveScanAMD(i16vec2);"
 2766|      7|            "i16vec3 minInvocationsExclusiveScanAMD(i16vec3);"
 2767|      7|            "i16vec4 minInvocationsExclusiveScanAMD(i16vec4);"
 2768|       |
 2769|      7|            "uint16_t minInvocationsExclusiveScanAMD(uint16_t);"
 2770|      7|            "u16vec2  minInvocationsExclusiveScanAMD(u16vec2);"
 2771|      7|            "u16vec3  minInvocationsExclusiveScanAMD(u16vec3);"
 2772|      7|            "u16vec4  minInvocationsExclusiveScanAMD(u16vec4);"
 2773|       |
 2774|      7|            "float maxInvocationsAMD(float);"
 2775|      7|            "vec2  maxInvocationsAMD(vec2);"
 2776|      7|            "vec3  maxInvocationsAMD(vec3);"
 2777|      7|            "vec4  maxInvocationsAMD(vec4);"
 2778|       |
 2779|      7|            "int   maxInvocationsAMD(int);"
 2780|      7|            "ivec2 maxInvocationsAMD(ivec2);"
 2781|      7|            "ivec3 maxInvocationsAMD(ivec3);"
 2782|      7|            "ivec4 maxInvocationsAMD(ivec4);"
 2783|       |
 2784|      7|            "uint  maxInvocationsAMD(uint);"
 2785|      7|            "uvec2 maxInvocationsAMD(uvec2);"
 2786|      7|            "uvec3 maxInvocationsAMD(uvec3);"
 2787|      7|            "uvec4 maxInvocationsAMD(uvec4);"
 2788|       |
 2789|      7|            "double maxInvocationsAMD(double);"
 2790|      7|            "dvec2  maxInvocationsAMD(dvec2);"
 2791|      7|            "dvec3  maxInvocationsAMD(dvec3);"
 2792|      7|            "dvec4  maxInvocationsAMD(dvec4);"
 2793|       |
 2794|      7|            "int64_t maxInvocationsAMD(int64_t);"
 2795|      7|            "i64vec2 maxInvocationsAMD(i64vec2);"
 2796|      7|            "i64vec3 maxInvocationsAMD(i64vec3);"
 2797|      7|            "i64vec4 maxInvocationsAMD(i64vec4);"
 2798|       |
 2799|      7|            "uint64_t maxInvocationsAMD(uint64_t);"
 2800|      7|            "u64vec2  maxInvocationsAMD(u64vec2);"
 2801|      7|            "u64vec3  maxInvocationsAMD(u64vec3);"
 2802|      7|            "u64vec4  maxInvocationsAMD(u64vec4);"
 2803|       |
 2804|      7|            "float16_t maxInvocationsAMD(float16_t);"
 2805|      7|            "f16vec2   maxInvocationsAMD(f16vec2);"
 2806|      7|            "f16vec3   maxInvocationsAMD(f16vec3);"
 2807|      7|            "f16vec4   maxInvocationsAMD(f16vec4);"
 2808|       |
 2809|      7|            "int16_t maxInvocationsAMD(int16_t);"
 2810|      7|            "i16vec2 maxInvocationsAMD(i16vec2);"
 2811|      7|            "i16vec3 maxInvocationsAMD(i16vec3);"
 2812|      7|            "i16vec4 maxInvocationsAMD(i16vec4);"
 2813|       |
 2814|      7|            "uint16_t maxInvocationsAMD(uint16_t);"
 2815|      7|            "u16vec2  maxInvocationsAMD(u16vec2);"
 2816|      7|            "u16vec3  maxInvocationsAMD(u16vec3);"
 2817|      7|            "u16vec4  maxInvocationsAMD(u16vec4);"
 2818|       |
 2819|      7|            "float maxInvocationsInclusiveScanAMD(float);"
 2820|      7|            "vec2  maxInvocationsInclusiveScanAMD(vec2);"
 2821|      7|            "vec3  maxInvocationsInclusiveScanAMD(vec3);"
 2822|      7|            "vec4  maxInvocationsInclusiveScanAMD(vec4);"
 2823|       |
 2824|      7|            "int   maxInvocationsInclusiveScanAMD(int);"
 2825|      7|            "ivec2 maxInvocationsInclusiveScanAMD(ivec2);"
 2826|      7|            "ivec3 maxInvocationsInclusiveScanAMD(ivec3);"
 2827|      7|            "ivec4 maxInvocationsInclusiveScanAMD(ivec4);"
 2828|       |
 2829|      7|            "uint  maxInvocationsInclusiveScanAMD(uint);"
 2830|      7|            "uvec2 maxInvocationsInclusiveScanAMD(uvec2);"
 2831|      7|            "uvec3 maxInvocationsInclusiveScanAMD(uvec3);"
 2832|      7|            "uvec4 maxInvocationsInclusiveScanAMD(uvec4);"
 2833|       |
 2834|      7|            "double maxInvocationsInclusiveScanAMD(double);"
 2835|      7|            "dvec2  maxInvocationsInclusiveScanAMD(dvec2);"
 2836|      7|            "dvec3  maxInvocationsInclusiveScanAMD(dvec3);"
 2837|      7|            "dvec4  maxInvocationsInclusiveScanAMD(dvec4);"
 2838|       |
 2839|      7|            "int64_t maxInvocationsInclusiveScanAMD(int64_t);"
 2840|      7|            "i64vec2 maxInvocationsInclusiveScanAMD(i64vec2);"
 2841|      7|            "i64vec3 maxInvocationsInclusiveScanAMD(i64vec3);"
 2842|      7|            "i64vec4 maxInvocationsInclusiveScanAMD(i64vec4);"
 2843|       |
 2844|      7|            "uint64_t maxInvocationsInclusiveScanAMD(uint64_t);"
 2845|      7|            "u64vec2  maxInvocationsInclusiveScanAMD(u64vec2);"
 2846|      7|            "u64vec3  maxInvocationsInclusiveScanAMD(u64vec3);"
 2847|      7|            "u64vec4  maxInvocationsInclusiveScanAMD(u64vec4);"
 2848|       |
 2849|      7|            "float16_t maxInvocationsInclusiveScanAMD(float16_t);"
 2850|      7|            "f16vec2   maxInvocationsInclusiveScanAMD(f16vec2);"
 2851|      7|            "f16vec3   maxInvocationsInclusiveScanAMD(f16vec3);"
 2852|      7|            "f16vec4   maxInvocationsInclusiveScanAMD(f16vec4);"
 2853|       |
 2854|      7|            "int16_t maxInvocationsInclusiveScanAMD(int16_t);"
 2855|      7|            "i16vec2 maxInvocationsInclusiveScanAMD(i16vec2);"
 2856|      7|            "i16vec3 maxInvocationsInclusiveScanAMD(i16vec3);"
 2857|      7|            "i16vec4 maxInvocationsInclusiveScanAMD(i16vec4);"
 2858|       |
 2859|      7|            "uint16_t maxInvocationsInclusiveScanAMD(uint16_t);"
 2860|      7|            "u16vec2  maxInvocationsInclusiveScanAMD(u16vec2);"
 2861|      7|            "u16vec3  maxInvocationsInclusiveScanAMD(u16vec3);"
 2862|      7|            "u16vec4  maxInvocationsInclusiveScanAMD(u16vec4);"
 2863|       |
 2864|      7|            "float maxInvocationsExclusiveScanAMD(float);"
 2865|      7|            "vec2  maxInvocationsExclusiveScanAMD(vec2);"
 2866|      7|            "vec3  maxInvocationsExclusiveScanAMD(vec3);"
 2867|      7|            "vec4  maxInvocationsExclusiveScanAMD(vec4);"
 2868|       |
 2869|      7|            "int   maxInvocationsExclusiveScanAMD(int);"
 2870|      7|            "ivec2 maxInvocationsExclusiveScanAMD(ivec2);"
 2871|      7|            "ivec3 maxInvocationsExclusiveScanAMD(ivec3);"
 2872|      7|            "ivec4 maxInvocationsExclusiveScanAMD(ivec4);"
 2873|       |
 2874|      7|            "uint  maxInvocationsExclusiveScanAMD(uint);"
 2875|      7|            "uvec2 maxInvocationsExclusiveScanAMD(uvec2);"
 2876|      7|            "uvec3 maxInvocationsExclusiveScanAMD(uvec3);"
 2877|      7|            "uvec4 maxInvocationsExclusiveScanAMD(uvec4);"
 2878|       |
 2879|      7|            "double maxInvocationsExclusiveScanAMD(double);"
 2880|      7|            "dvec2  maxInvocationsExclusiveScanAMD(dvec2);"
 2881|      7|            "dvec3  maxInvocationsExclusiveScanAMD(dvec3);"
 2882|      7|            "dvec4  maxInvocationsExclusiveScanAMD(dvec4);"
 2883|       |
 2884|      7|            "int64_t maxInvocationsExclusiveScanAMD(int64_t);"
 2885|      7|            "i64vec2 maxInvocationsExclusiveScanAMD(i64vec2);"
 2886|      7|            "i64vec3 maxInvocationsExclusiveScanAMD(i64vec3);"
 2887|      7|            "i64vec4 maxInvocationsExclusiveScanAMD(i64vec4);"
 2888|       |
 2889|      7|            "uint64_t maxInvocationsExclusiveScanAMD(uint64_t);"
 2890|      7|            "u64vec2  maxInvocationsExclusiveScanAMD(u64vec2);"
 2891|      7|            "u64vec3  maxInvocationsExclusiveScanAMD(u64vec3);"
 2892|      7|            "u64vec4  maxInvocationsExclusiveScanAMD(u64vec4);"
 2893|       |
 2894|      7|            "float16_t maxInvocationsExclusiveScanAMD(float16_t);"
 2895|      7|            "f16vec2   maxInvocationsExclusiveScanAMD(f16vec2);"
 2896|      7|            "f16vec3   maxInvocationsExclusiveScanAMD(f16vec3);"
 2897|      7|            "f16vec4   maxInvocationsExclusiveScanAMD(f16vec4);"
 2898|       |
 2899|      7|            "int16_t maxInvocationsExclusiveScanAMD(int16_t);"
 2900|      7|            "i16vec2 maxInvocationsExclusiveScanAMD(i16vec2);"
 2901|      7|            "i16vec3 maxInvocationsExclusiveScanAMD(i16vec3);"
 2902|      7|            "i16vec4 maxInvocationsExclusiveScanAMD(i16vec4);"
 2903|       |
 2904|      7|            "uint16_t maxInvocationsExclusiveScanAMD(uint16_t);"
 2905|      7|            "u16vec2  maxInvocationsExclusiveScanAMD(u16vec2);"
 2906|      7|            "u16vec3  maxInvocationsExclusiveScanAMD(u16vec3);"
 2907|      7|            "u16vec4  maxInvocationsExclusiveScanAMD(u16vec4);"
 2908|       |
 2909|      7|            "float addInvocationsAMD(float);"
 2910|      7|            "vec2  addInvocationsAMD(vec2);"
 2911|      7|            "vec3  addInvocationsAMD(vec3);"
 2912|      7|            "vec4  addInvocationsAMD(vec4);"
 2913|       |
 2914|      7|            "int   addInvocationsAMD(int);"
 2915|      7|            "ivec2 addInvocationsAMD(ivec2);"
 2916|      7|            "ivec3 addInvocationsAMD(ivec3);"
 2917|      7|            "ivec4 addInvocationsAMD(ivec4);"
 2918|       |
 2919|      7|            "uint  addInvocationsAMD(uint);"
 2920|      7|            "uvec2 addInvocationsAMD(uvec2);"
 2921|      7|            "uvec3 addInvocationsAMD(uvec3);"
 2922|      7|            "uvec4 addInvocationsAMD(uvec4);"
 2923|       |
 2924|      7|            "double  addInvocationsAMD(double);"
 2925|      7|            "dvec2   addInvocationsAMD(dvec2);"
 2926|      7|            "dvec3   addInvocationsAMD(dvec3);"
 2927|      7|            "dvec4   addInvocationsAMD(dvec4);"
 2928|       |
 2929|      7|            "int64_t addInvocationsAMD(int64_t);"
 2930|      7|            "i64vec2 addInvocationsAMD(i64vec2);"
 2931|      7|            "i64vec3 addInvocationsAMD(i64vec3);"
 2932|      7|            "i64vec4 addInvocationsAMD(i64vec4);"
 2933|       |
 2934|      7|            "uint64_t addInvocationsAMD(uint64_t);"
 2935|      7|            "u64vec2  addInvocationsAMD(u64vec2);"
 2936|      7|            "u64vec3  addInvocationsAMD(u64vec3);"
 2937|      7|            "u64vec4  addInvocationsAMD(u64vec4);"
 2938|       |
 2939|      7|            "float16_t addInvocationsAMD(float16_t);"
 2940|      7|            "f16vec2   addInvocationsAMD(f16vec2);"
 2941|      7|            "f16vec3   addInvocationsAMD(f16vec3);"
 2942|      7|            "f16vec4   addInvocationsAMD(f16vec4);"
 2943|       |
 2944|      7|            "int16_t addInvocationsAMD(int16_t);"
 2945|      7|            "i16vec2 addInvocationsAMD(i16vec2);"
 2946|      7|            "i16vec3 addInvocationsAMD(i16vec3);"
 2947|      7|            "i16vec4 addInvocationsAMD(i16vec4);"
 2948|       |
 2949|      7|            "uint16_t addInvocationsAMD(uint16_t);"
 2950|      7|            "u16vec2  addInvocationsAMD(u16vec2);"
 2951|      7|            "u16vec3  addInvocationsAMD(u16vec3);"
 2952|      7|            "u16vec4  addInvocationsAMD(u16vec4);"
 2953|       |
 2954|      7|            "float addInvocationsInclusiveScanAMD(float);"
 2955|      7|            "vec2  addInvocationsInclusiveScanAMD(vec2);"
 2956|      7|            "vec3  addInvocationsInclusiveScanAMD(vec3);"
 2957|      7|            "vec4  addInvocationsInclusiveScanAMD(vec4);"
 2958|       |
 2959|      7|            "int   addInvocationsInclusiveScanAMD(int);"
 2960|      7|            "ivec2 addInvocationsInclusiveScanAMD(ivec2);"
 2961|      7|            "ivec3 addInvocationsInclusiveScanAMD(ivec3);"
 2962|      7|            "ivec4 addInvocationsInclusiveScanAMD(ivec4);"
 2963|       |
 2964|      7|            "uint  addInvocationsInclusiveScanAMD(uint);"
 2965|      7|            "uvec2 addInvocationsInclusiveScanAMD(uvec2);"
 2966|      7|            "uvec3 addInvocationsInclusiveScanAMD(uvec3);"
 2967|      7|            "uvec4 addInvocationsInclusiveScanAMD(uvec4);"
 2968|       |
 2969|      7|            "double  addInvocationsInclusiveScanAMD(double);"
 2970|      7|            "dvec2   addInvocationsInclusiveScanAMD(dvec2);"
 2971|      7|            "dvec3   addInvocationsInclusiveScanAMD(dvec3);"
 2972|      7|            "dvec4   addInvocationsInclusiveScanAMD(dvec4);"
 2973|       |
 2974|      7|            "int64_t addInvocationsInclusiveScanAMD(int64_t);"
 2975|      7|            "i64vec2 addInvocationsInclusiveScanAMD(i64vec2);"
 2976|      7|            "i64vec3 addInvocationsInclusiveScanAMD(i64vec3);"
 2977|      7|            "i64vec4 addInvocationsInclusiveScanAMD(i64vec4);"
 2978|       |
 2979|      7|            "uint64_t addInvocationsInclusiveScanAMD(uint64_t);"
 2980|      7|            "u64vec2  addInvocationsInclusiveScanAMD(u64vec2);"
 2981|      7|            "u64vec3  addInvocationsInclusiveScanAMD(u64vec3);"
 2982|      7|            "u64vec4  addInvocationsInclusiveScanAMD(u64vec4);"
 2983|       |
 2984|      7|            "float16_t addInvocationsInclusiveScanAMD(float16_t);"
 2985|      7|            "f16vec2   addInvocationsInclusiveScanAMD(f16vec2);"
 2986|      7|            "f16vec3   addInvocationsInclusiveScanAMD(f16vec3);"
 2987|      7|            "f16vec4   addInvocationsInclusiveScanAMD(f16vec4);"
 2988|       |
 2989|      7|            "int16_t addInvocationsInclusiveScanAMD(int16_t);"
 2990|      7|            "i16vec2 addInvocationsInclusiveScanAMD(i16vec2);"
 2991|      7|            "i16vec3 addInvocationsInclusiveScanAMD(i16vec3);"
 2992|      7|            "i16vec4 addInvocationsInclusiveScanAMD(i16vec4);"
 2993|       |
 2994|      7|            "uint16_t addInvocationsInclusiveScanAMD(uint16_t);"
 2995|      7|            "u16vec2  addInvocationsInclusiveScanAMD(u16vec2);"
 2996|      7|            "u16vec3  addInvocationsInclusiveScanAMD(u16vec3);"
 2997|      7|            "u16vec4  addInvocationsInclusiveScanAMD(u16vec4);"
 2998|       |
 2999|      7|            "float addInvocationsExclusiveScanAMD(float);"
 3000|      7|            "vec2  addInvocationsExclusiveScanAMD(vec2);"
 3001|      7|            "vec3  addInvocationsExclusiveScanAMD(vec3);"
 3002|      7|            "vec4  addInvocationsExclusiveScanAMD(vec4);"
 3003|       |
 3004|      7|            "int   addInvocationsExclusiveScanAMD(int);"
 3005|      7|            "ivec2 addInvocationsExclusiveScanAMD(ivec2);"
 3006|      7|            "ivec3 addInvocationsExclusiveScanAMD(ivec3);"
 3007|      7|            "ivec4 addInvocationsExclusiveScanAMD(ivec4);"
 3008|       |
 3009|      7|            "uint  addInvocationsExclusiveScanAMD(uint);"
 3010|      7|            "uvec2 addInvocationsExclusiveScanAMD(uvec2);"
 3011|      7|            "uvec3 addInvocationsExclusiveScanAMD(uvec3);"
 3012|      7|            "uvec4 addInvocationsExclusiveScanAMD(uvec4);"
 3013|       |
 3014|      7|            "double  addInvocationsExclusiveScanAMD(double);"
 3015|      7|            "dvec2   addInvocationsExclusiveScanAMD(dvec2);"
 3016|      7|            "dvec3   addInvocationsExclusiveScanAMD(dvec3);"
 3017|      7|            "dvec4   addInvocationsExclusiveScanAMD(dvec4);"
 3018|       |
 3019|      7|            "int64_t addInvocationsExclusiveScanAMD(int64_t);"
 3020|      7|            "i64vec2 addInvocationsExclusiveScanAMD(i64vec2);"
 3021|      7|            "i64vec3 addInvocationsExclusiveScanAMD(i64vec3);"
 3022|      7|            "i64vec4 addInvocationsExclusiveScanAMD(i64vec4);"
 3023|       |
 3024|      7|            "uint64_t addInvocationsExclusiveScanAMD(uint64_t);"
 3025|      7|            "u64vec2  addInvocationsExclusiveScanAMD(u64vec2);"
 3026|      7|            "u64vec3  addInvocationsExclusiveScanAMD(u64vec3);"
 3027|      7|            "u64vec4  addInvocationsExclusiveScanAMD(u64vec4);"
 3028|       |
 3029|      7|            "float16_t addInvocationsExclusiveScanAMD(float16_t);"
 3030|      7|            "f16vec2   addInvocationsExclusiveScanAMD(f16vec2);"
 3031|      7|            "f16vec3   addInvocationsExclusiveScanAMD(f16vec3);"
 3032|      7|            "f16vec4   addInvocationsExclusiveScanAMD(f16vec4);"
 3033|       |
 3034|      7|            "int16_t addInvocationsExclusiveScanAMD(int16_t);"
 3035|      7|            "i16vec2 addInvocationsExclusiveScanAMD(i16vec2);"
 3036|      7|            "i16vec3 addInvocationsExclusiveScanAMD(i16vec3);"
 3037|      7|            "i16vec4 addInvocationsExclusiveScanAMD(i16vec4);"
 3038|       |
 3039|      7|            "uint16_t addInvocationsExclusiveScanAMD(uint16_t);"
 3040|      7|            "u16vec2  addInvocationsExclusiveScanAMD(u16vec2);"
 3041|      7|            "u16vec3  addInvocationsExclusiveScanAMD(u16vec3);"
 3042|      7|            "u16vec4  addInvocationsExclusiveScanAMD(u16vec4);"
 3043|       |
 3044|      7|            "float minInvocationsNonUniformAMD(float);"
 3045|      7|            "vec2  minInvocationsNonUniformAMD(vec2);"
 3046|      7|            "vec3  minInvocationsNonUniformAMD(vec3);"
 3047|      7|            "vec4  minInvocationsNonUniformAMD(vec4);"
 3048|       |
 3049|      7|            "int   minInvocationsNonUniformAMD(int);"
 3050|      7|            "ivec2 minInvocationsNonUniformAMD(ivec2);"
 3051|      7|            "ivec3 minInvocationsNonUniformAMD(ivec3);"
 3052|      7|            "ivec4 minInvocationsNonUniformAMD(ivec4);"
 3053|       |
 3054|      7|            "uint  minInvocationsNonUniformAMD(uint);"
 3055|      7|            "uvec2 minInvocationsNonUniformAMD(uvec2);"
 3056|      7|            "uvec3 minInvocationsNonUniformAMD(uvec3);"
 3057|      7|            "uvec4 minInvocationsNonUniformAMD(uvec4);"
 3058|       |
 3059|      7|            "double minInvocationsNonUniformAMD(double);"
 3060|      7|            "dvec2  minInvocationsNonUniformAMD(dvec2);"
 3061|      7|            "dvec3  minInvocationsNonUniformAMD(dvec3);"
 3062|      7|            "dvec4  minInvocationsNonUniformAMD(dvec4);"
 3063|       |
 3064|      7|            "int64_t minInvocationsNonUniformAMD(int64_t);"
 3065|      7|            "i64vec2 minInvocationsNonUniformAMD(i64vec2);"
 3066|      7|            "i64vec3 minInvocationsNonUniformAMD(i64vec3);"
 3067|      7|            "i64vec4 minInvocationsNonUniformAMD(i64vec4);"
 3068|       |
 3069|      7|            "uint64_t minInvocationsNonUniformAMD(uint64_t);"
 3070|      7|            "u64vec2  minInvocationsNonUniformAMD(u64vec2);"
 3071|      7|            "u64vec3  minInvocationsNonUniformAMD(u64vec3);"
 3072|      7|            "u64vec4  minInvocationsNonUniformAMD(u64vec4);"
 3073|       |
 3074|      7|            "float16_t minInvocationsNonUniformAMD(float16_t);"
 3075|      7|            "f16vec2   minInvocationsNonUniformAMD(f16vec2);"
 3076|      7|            "f16vec3   minInvocationsNonUniformAMD(f16vec3);"
 3077|      7|            "f16vec4   minInvocationsNonUniformAMD(f16vec4);"
 3078|       |
 3079|      7|            "int16_t minInvocationsNonUniformAMD(int16_t);"
 3080|      7|            "i16vec2 minInvocationsNonUniformAMD(i16vec2);"
 3081|      7|            "i16vec3 minInvocationsNonUniformAMD(i16vec3);"
 3082|      7|            "i16vec4 minInvocationsNonUniformAMD(i16vec4);"
 3083|       |
 3084|      7|            "uint16_t minInvocationsNonUniformAMD(uint16_t);"
 3085|      7|            "u16vec2  minInvocationsNonUniformAMD(u16vec2);"
 3086|      7|            "u16vec3  minInvocationsNonUniformAMD(u16vec3);"
 3087|      7|            "u16vec4  minInvocationsNonUniformAMD(u16vec4);"
 3088|       |
 3089|      7|            "float minInvocationsInclusiveScanNonUniformAMD(float);"
 3090|      7|            "vec2  minInvocationsInclusiveScanNonUniformAMD(vec2);"
 3091|      7|            "vec3  minInvocationsInclusiveScanNonUniformAMD(vec3);"
 3092|      7|            "vec4  minInvocationsInclusiveScanNonUniformAMD(vec4);"
 3093|       |
 3094|      7|            "int   minInvocationsInclusiveScanNonUniformAMD(int);"
 3095|      7|            "ivec2 minInvocationsInclusiveScanNonUniformAMD(ivec2);"
 3096|      7|            "ivec3 minInvocationsInclusiveScanNonUniformAMD(ivec3);"
 3097|      7|            "ivec4 minInvocationsInclusiveScanNonUniformAMD(ivec4);"
 3098|       |
 3099|      7|            "uint  minInvocationsInclusiveScanNonUniformAMD(uint);"
 3100|      7|            "uvec2 minInvocationsInclusiveScanNonUniformAMD(uvec2);"
 3101|      7|            "uvec3 minInvocationsInclusiveScanNonUniformAMD(uvec3);"
 3102|      7|            "uvec4 minInvocationsInclusiveScanNonUniformAMD(uvec4);"
 3103|       |
 3104|      7|            "double minInvocationsInclusiveScanNonUniformAMD(double);"
 3105|      7|            "dvec2  minInvocationsInclusiveScanNonUniformAMD(dvec2);"
 3106|      7|            "dvec3  minInvocationsInclusiveScanNonUniformAMD(dvec3);"
 3107|      7|            "dvec4  minInvocationsInclusiveScanNonUniformAMD(dvec4);"
 3108|       |
 3109|      7|            "int64_t minInvocationsInclusiveScanNonUniformAMD(int64_t);"
 3110|      7|            "i64vec2 minInvocationsInclusiveScanNonUniformAMD(i64vec2);"
 3111|      7|            "i64vec3 minInvocationsInclusiveScanNonUniformAMD(i64vec3);"
 3112|      7|            "i64vec4 minInvocationsInclusiveScanNonUniformAMD(i64vec4);"
 3113|       |
 3114|      7|            "uint64_t minInvocationsInclusiveScanNonUniformAMD(uint64_t);"
 3115|      7|            "u64vec2  minInvocationsInclusiveScanNonUniformAMD(u64vec2);"
 3116|      7|            "u64vec3  minInvocationsInclusiveScanNonUniformAMD(u64vec3);"
 3117|      7|            "u64vec4  minInvocationsInclusiveScanNonUniformAMD(u64vec4);"
 3118|       |
 3119|      7|            "float16_t minInvocationsInclusiveScanNonUniformAMD(float16_t);"
 3120|      7|            "f16vec2   minInvocationsInclusiveScanNonUniformAMD(f16vec2);"
 3121|      7|            "f16vec3   minInvocationsInclusiveScanNonUniformAMD(f16vec3);"
 3122|      7|            "f16vec4   minInvocationsInclusiveScanNonUniformAMD(f16vec4);"
 3123|       |
 3124|      7|            "int16_t minInvocationsInclusiveScanNonUniformAMD(int16_t);"
 3125|      7|            "i16vec2 minInvocationsInclusiveScanNonUniformAMD(i16vec2);"
 3126|      7|            "i16vec3 minInvocationsInclusiveScanNonUniformAMD(i16vec3);"
 3127|      7|            "i16vec4 minInvocationsInclusiveScanNonUniformAMD(i16vec4);"
 3128|       |
 3129|      7|            "uint16_t minInvocationsInclusiveScanNonUniformAMD(uint16_t);"
 3130|      7|            "u16vec2  minInvocationsInclusiveScanNonUniformAMD(u16vec2);"
 3131|      7|            "u16vec3  minInvocationsInclusiveScanNonUniformAMD(u16vec3);"
 3132|      7|            "u16vec4  minInvocationsInclusiveScanNonUniformAMD(u16vec4);"
 3133|       |
 3134|      7|            "float minInvocationsExclusiveScanNonUniformAMD(float);"
 3135|      7|            "vec2  minInvocationsExclusiveScanNonUniformAMD(vec2);"
 3136|      7|            "vec3  minInvocationsExclusiveScanNonUniformAMD(vec3);"
 3137|      7|            "vec4  minInvocationsExclusiveScanNonUniformAMD(vec4);"
 3138|       |
 3139|      7|            "int   minInvocationsExclusiveScanNonUniformAMD(int);"
 3140|      7|            "ivec2 minInvocationsExclusiveScanNonUniformAMD(ivec2);"
 3141|      7|            "ivec3 minInvocationsExclusiveScanNonUniformAMD(ivec3);"
 3142|      7|            "ivec4 minInvocationsExclusiveScanNonUniformAMD(ivec4);"
 3143|       |
 3144|      7|            "uint  minInvocationsExclusiveScanNonUniformAMD(uint);"
 3145|      7|            "uvec2 minInvocationsExclusiveScanNonUniformAMD(uvec2);"
 3146|      7|            "uvec3 minInvocationsExclusiveScanNonUniformAMD(uvec3);"
 3147|      7|            "uvec4 minInvocationsExclusiveScanNonUniformAMD(uvec4);"
 3148|       |
 3149|      7|            "double minInvocationsExclusiveScanNonUniformAMD(double);"
 3150|      7|            "dvec2  minInvocationsExclusiveScanNonUniformAMD(dvec2);"
 3151|      7|            "dvec3  minInvocationsExclusiveScanNonUniformAMD(dvec3);"
 3152|      7|            "dvec4  minInvocationsExclusiveScanNonUniformAMD(dvec4);"
 3153|       |
 3154|      7|            "int64_t minInvocationsExclusiveScanNonUniformAMD(int64_t);"
 3155|      7|            "i64vec2 minInvocationsExclusiveScanNonUniformAMD(i64vec2);"
 3156|      7|            "i64vec3 minInvocationsExclusiveScanNonUniformAMD(i64vec3);"
 3157|      7|            "i64vec4 minInvocationsExclusiveScanNonUniformAMD(i64vec4);"
 3158|       |
 3159|      7|            "uint64_t minInvocationsExclusiveScanNonUniformAMD(uint64_t);"
 3160|      7|            "u64vec2  minInvocationsExclusiveScanNonUniformAMD(u64vec2);"
 3161|      7|            "u64vec3  minInvocationsExclusiveScanNonUniformAMD(u64vec3);"
 3162|      7|            "u64vec4  minInvocationsExclusiveScanNonUniformAMD(u64vec4);"
 3163|       |
 3164|      7|            "float16_t minInvocationsExclusiveScanNonUniformAMD(float16_t);"
 3165|      7|            "f16vec2   minInvocationsExclusiveScanNonUniformAMD(f16vec2);"
 3166|      7|            "f16vec3   minInvocationsExclusiveScanNonUniformAMD(f16vec3);"
 3167|      7|            "f16vec4   minInvocationsExclusiveScanNonUniformAMD(f16vec4);"
 3168|       |
 3169|      7|            "int16_t minInvocationsExclusiveScanNonUniformAMD(int16_t);"
 3170|      7|            "i16vec2 minInvocationsExclusiveScanNonUniformAMD(i16vec2);"
 3171|      7|            "i16vec3 minInvocationsExclusiveScanNonUniformAMD(i16vec3);"
 3172|      7|            "i16vec4 minInvocationsExclusiveScanNonUniformAMD(i16vec4);"
 3173|       |
 3174|      7|            "uint16_t minInvocationsExclusiveScanNonUniformAMD(uint16_t);"
 3175|      7|            "u16vec2  minInvocationsExclusiveScanNonUniformAMD(u16vec2);"
 3176|      7|            "u16vec3  minInvocationsExclusiveScanNonUniformAMD(u16vec3);"
 3177|      7|            "u16vec4  minInvocationsExclusiveScanNonUniformAMD(u16vec4);"
 3178|       |
 3179|      7|            "float maxInvocationsNonUniformAMD(float);"
 3180|      7|            "vec2  maxInvocationsNonUniformAMD(vec2);"
 3181|      7|            "vec3  maxInvocationsNonUniformAMD(vec3);"
 3182|      7|            "vec4  maxInvocationsNonUniformAMD(vec4);"
 3183|       |
 3184|      7|            "int   maxInvocationsNonUniformAMD(int);"
 3185|      7|            "ivec2 maxInvocationsNonUniformAMD(ivec2);"
 3186|      7|            "ivec3 maxInvocationsNonUniformAMD(ivec3);"
 3187|      7|            "ivec4 maxInvocationsNonUniformAMD(ivec4);"
 3188|       |
 3189|      7|            "uint  maxInvocationsNonUniformAMD(uint);"
 3190|      7|            "uvec2 maxInvocationsNonUniformAMD(uvec2);"
 3191|      7|            "uvec3 maxInvocationsNonUniformAMD(uvec3);"
 3192|      7|            "uvec4 maxInvocationsNonUniformAMD(uvec4);"
 3193|       |
 3194|      7|            "double maxInvocationsNonUniformAMD(double);"
 3195|      7|            "dvec2  maxInvocationsNonUniformAMD(dvec2);"
 3196|      7|            "dvec3  maxInvocationsNonUniformAMD(dvec3);"
 3197|      7|            "dvec4  maxInvocationsNonUniformAMD(dvec4);"
 3198|       |
 3199|      7|            "int64_t maxInvocationsNonUniformAMD(int64_t);"
 3200|      7|            "i64vec2 maxInvocationsNonUniformAMD(i64vec2);"
 3201|      7|            "i64vec3 maxInvocationsNonUniformAMD(i64vec3);"
 3202|      7|            "i64vec4 maxInvocationsNonUniformAMD(i64vec4);"
 3203|       |
 3204|      7|            "uint64_t maxInvocationsNonUniformAMD(uint64_t);"
 3205|      7|            "u64vec2  maxInvocationsNonUniformAMD(u64vec2);"
 3206|      7|            "u64vec3  maxInvocationsNonUniformAMD(u64vec3);"
 3207|      7|            "u64vec4  maxInvocationsNonUniformAMD(u64vec4);"
 3208|       |
 3209|      7|            "float16_t maxInvocationsNonUniformAMD(float16_t);"
 3210|      7|            "f16vec2   maxInvocationsNonUniformAMD(f16vec2);"
 3211|      7|            "f16vec3   maxInvocationsNonUniformAMD(f16vec3);"
 3212|      7|            "f16vec4   maxInvocationsNonUniformAMD(f16vec4);"
 3213|       |
 3214|      7|            "int16_t maxInvocationsNonUniformAMD(int16_t);"
 3215|      7|            "i16vec2 maxInvocationsNonUniformAMD(i16vec2);"
 3216|      7|            "i16vec3 maxInvocationsNonUniformAMD(i16vec3);"
 3217|      7|            "i16vec4 maxInvocationsNonUniformAMD(i16vec4);"
 3218|       |
 3219|      7|            "uint16_t maxInvocationsNonUniformAMD(uint16_t);"
 3220|      7|            "u16vec2  maxInvocationsNonUniformAMD(u16vec2);"
 3221|      7|            "u16vec3  maxInvocationsNonUniformAMD(u16vec3);"
 3222|      7|            "u16vec4  maxInvocationsNonUniformAMD(u16vec4);"
 3223|       |
 3224|      7|            "float maxInvocationsInclusiveScanNonUniformAMD(float);"
 3225|      7|            "vec2  maxInvocationsInclusiveScanNonUniformAMD(vec2);"
 3226|      7|            "vec3  maxInvocationsInclusiveScanNonUniformAMD(vec3);"
 3227|      7|            "vec4  maxInvocationsInclusiveScanNonUniformAMD(vec4);"
 3228|       |
 3229|      7|            "int   maxInvocationsInclusiveScanNonUniformAMD(int);"
 3230|      7|            "ivec2 maxInvocationsInclusiveScanNonUniformAMD(ivec2);"
 3231|      7|            "ivec3 maxInvocationsInclusiveScanNonUniformAMD(ivec3);"
 3232|      7|            "ivec4 maxInvocationsInclusiveScanNonUniformAMD(ivec4);"
 3233|       |
 3234|      7|            "uint  maxInvocationsInclusiveScanNonUniformAMD(uint);"
 3235|      7|            "uvec2 maxInvocationsInclusiveScanNonUniformAMD(uvec2);"
 3236|      7|            "uvec3 maxInvocationsInclusiveScanNonUniformAMD(uvec3);"
 3237|      7|            "uvec4 maxInvocationsInclusiveScanNonUniformAMD(uvec4);"
 3238|       |
 3239|      7|            "double maxInvocationsInclusiveScanNonUniformAMD(double);"
 3240|      7|            "dvec2  maxInvocationsInclusiveScanNonUniformAMD(dvec2);"
 3241|      7|            "dvec3  maxInvocationsInclusiveScanNonUniformAMD(dvec3);"
 3242|      7|            "dvec4  maxInvocationsInclusiveScanNonUniformAMD(dvec4);"
 3243|       |
 3244|      7|            "int64_t maxInvocationsInclusiveScanNonUniformAMD(int64_t);"
 3245|      7|            "i64vec2 maxInvocationsInclusiveScanNonUniformAMD(i64vec2);"
 3246|      7|            "i64vec3 maxInvocationsInclusiveScanNonUniformAMD(i64vec3);"
 3247|      7|            "i64vec4 maxInvocationsInclusiveScanNonUniformAMD(i64vec4);"
 3248|       |
 3249|      7|            "uint64_t maxInvocationsInclusiveScanNonUniformAMD(uint64_t);"
 3250|      7|            "u64vec2  maxInvocationsInclusiveScanNonUniformAMD(u64vec2);"
 3251|      7|            "u64vec3  maxInvocationsInclusiveScanNonUniformAMD(u64vec3);"
 3252|      7|            "u64vec4  maxInvocationsInclusiveScanNonUniformAMD(u64vec4);"
 3253|       |
 3254|      7|            "float16_t maxInvocationsInclusiveScanNonUniformAMD(float16_t);"
 3255|      7|            "f16vec2   maxInvocationsInclusiveScanNonUniformAMD(f16vec2);"
 3256|      7|            "f16vec3   maxInvocationsInclusiveScanNonUniformAMD(f16vec3);"
 3257|      7|            "f16vec4   maxInvocationsInclusiveScanNonUniformAMD(f16vec4);"
 3258|       |
 3259|      7|            "int16_t maxInvocationsInclusiveScanNonUniformAMD(int16_t);"
 3260|      7|            "i16vec2 maxInvocationsInclusiveScanNonUniformAMD(i16vec2);"
 3261|      7|            "i16vec3 maxInvocationsInclusiveScanNonUniformAMD(i16vec3);"
 3262|      7|            "i16vec4 maxInvocationsInclusiveScanNonUniformAMD(i16vec4);"
 3263|       |
 3264|      7|            "uint16_t maxInvocationsInclusiveScanNonUniformAMD(uint16_t);"
 3265|      7|            "u16vec2  maxInvocationsInclusiveScanNonUniformAMD(u16vec2);"
 3266|      7|            "u16vec3  maxInvocationsInclusiveScanNonUniformAMD(u16vec3);"
 3267|      7|            "u16vec4  maxInvocationsInclusiveScanNonUniformAMD(u16vec4);"
 3268|       |
 3269|      7|            "float maxInvocationsExclusiveScanNonUniformAMD(float);"
 3270|      7|            "vec2  maxInvocationsExclusiveScanNonUniformAMD(vec2);"
 3271|      7|            "vec3  maxInvocationsExclusiveScanNonUniformAMD(vec3);"
 3272|      7|            "vec4  maxInvocationsExclusiveScanNonUniformAMD(vec4);"
 3273|       |
 3274|      7|            "int   maxInvocationsExclusiveScanNonUniformAMD(int);"
 3275|      7|            "ivec2 maxInvocationsExclusiveScanNonUniformAMD(ivec2);"
 3276|      7|            "ivec3 maxInvocationsExclusiveScanNonUniformAMD(ivec3);"
 3277|      7|            "ivec4 maxInvocationsExclusiveScanNonUniformAMD(ivec4);"
 3278|       |
 3279|      7|            "uint  maxInvocationsExclusiveScanNonUniformAMD(uint);"
 3280|      7|            "uvec2 maxInvocationsExclusiveScanNonUniformAMD(uvec2);"
 3281|      7|            "uvec3 maxInvocationsExclusiveScanNonUniformAMD(uvec3);"
 3282|      7|            "uvec4 maxInvocationsExclusiveScanNonUniformAMD(uvec4);"
 3283|       |
 3284|      7|            "double maxInvocationsExclusiveScanNonUniformAMD(double);"
 3285|      7|            "dvec2  maxInvocationsExclusiveScanNonUniformAMD(dvec2);"
 3286|      7|            "dvec3  maxInvocationsExclusiveScanNonUniformAMD(dvec3);"
 3287|      7|            "dvec4  maxInvocationsExclusiveScanNonUniformAMD(dvec4);"
 3288|       |
 3289|      7|            "int64_t maxInvocationsExclusiveScanNonUniformAMD(int64_t);"
 3290|      7|            "i64vec2 maxInvocationsExclusiveScanNonUniformAMD(i64vec2);"
 3291|      7|            "i64vec3 maxInvocationsExclusiveScanNonUniformAMD(i64vec3);"
 3292|      7|            "i64vec4 maxInvocationsExclusiveScanNonUniformAMD(i64vec4);"
 3293|       |
 3294|      7|            "uint64_t maxInvocationsExclusiveScanNonUniformAMD(uint64_t);"
 3295|      7|            "u64vec2  maxInvocationsExclusiveScanNonUniformAMD(u64vec2);"
 3296|      7|            "u64vec3  maxInvocationsExclusiveScanNonUniformAMD(u64vec3);"
 3297|      7|            "u64vec4  maxInvocationsExclusiveScanNonUniformAMD(u64vec4);"
 3298|       |
 3299|      7|            "float16_t maxInvocationsExclusiveScanNonUniformAMD(float16_t);"
 3300|      7|            "f16vec2   maxInvocationsExclusiveScanNonUniformAMD(f16vec2);"
 3301|      7|            "f16vec3   maxInvocationsExclusiveScanNonUniformAMD(f16vec3);"
 3302|      7|            "f16vec4   maxInvocationsExclusiveScanNonUniformAMD(f16vec4);"
 3303|       |
 3304|      7|            "int16_t maxInvocationsExclusiveScanNonUniformAMD(int16_t);"
 3305|      7|            "i16vec2 maxInvocationsExclusiveScanNonUniformAMD(i16vec2);"
 3306|      7|            "i16vec3 maxInvocationsExclusiveScanNonUniformAMD(i16vec3);"
 3307|      7|            "i16vec4 maxInvocationsExclusiveScanNonUniformAMD(i16vec4);"
 3308|       |
 3309|      7|            "uint16_t maxInvocationsExclusiveScanNonUniformAMD(uint16_t);"
 3310|      7|            "u16vec2  maxInvocationsExclusiveScanNonUniformAMD(u16vec2);"
 3311|      7|            "u16vec3  maxInvocationsExclusiveScanNonUniformAMD(u16vec3);"
 3312|      7|            "u16vec4  maxInvocationsExclusiveScanNonUniformAMD(u16vec4);"
 3313|       |
 3314|      7|            "float addInvocationsNonUniformAMD(float);"
 3315|      7|            "vec2  addInvocationsNonUniformAMD(vec2);"
 3316|      7|            "vec3  addInvocationsNonUniformAMD(vec3);"
 3317|      7|            "vec4  addInvocationsNonUniformAMD(vec4);"
 3318|       |
 3319|      7|            "int   addInvocationsNonUniformAMD(int);"
 3320|      7|            "ivec2 addInvocationsNonUniformAMD(ivec2);"
 3321|      7|            "ivec3 addInvocationsNonUniformAMD(ivec3);"
 3322|      7|            "ivec4 addInvocationsNonUniformAMD(ivec4);"
 3323|       |
 3324|      7|            "uint  addInvocationsNonUniformAMD(uint);"
 3325|      7|            "uvec2 addInvocationsNonUniformAMD(uvec2);"
 3326|      7|            "uvec3 addInvocationsNonUniformAMD(uvec3);"
 3327|      7|            "uvec4 addInvocationsNonUniformAMD(uvec4);"
 3328|       |
 3329|      7|            "double addInvocationsNonUniformAMD(double);"
 3330|      7|            "dvec2  addInvocationsNonUniformAMD(dvec2);"
 3331|      7|            "dvec3  addInvocationsNonUniformAMD(dvec3);"
 3332|      7|            "dvec4  addInvocationsNonUniformAMD(dvec4);"
 3333|       |
 3334|      7|            "int64_t addInvocationsNonUniformAMD(int64_t);"
 3335|      7|            "i64vec2 addInvocationsNonUniformAMD(i64vec2);"
 3336|      7|            "i64vec3 addInvocationsNonUniformAMD(i64vec3);"
 3337|      7|            "i64vec4 addInvocationsNonUniformAMD(i64vec4);"
 3338|       |
 3339|      7|            "uint64_t addInvocationsNonUniformAMD(uint64_t);"
 3340|      7|            "u64vec2  addInvocationsNonUniformAMD(u64vec2);"
 3341|      7|            "u64vec3  addInvocationsNonUniformAMD(u64vec3);"
 3342|      7|            "u64vec4  addInvocationsNonUniformAMD(u64vec4);"
 3343|       |
 3344|      7|            "float16_t addInvocationsNonUniformAMD(float16_t);"
 3345|      7|            "f16vec2   addInvocationsNonUniformAMD(f16vec2);"
 3346|      7|            "f16vec3   addInvocationsNonUniformAMD(f16vec3);"
 3347|      7|            "f16vec4   addInvocationsNonUniformAMD(f16vec4);"
 3348|       |
 3349|      7|            "int16_t addInvocationsNonUniformAMD(int16_t);"
 3350|      7|            "i16vec2 addInvocationsNonUniformAMD(i16vec2);"
 3351|      7|            "i16vec3 addInvocationsNonUniformAMD(i16vec3);"
 3352|      7|            "i16vec4 addInvocationsNonUniformAMD(i16vec4);"
 3353|       |
 3354|      7|            "uint16_t addInvocationsNonUniformAMD(uint16_t);"
 3355|      7|            "u16vec2  addInvocationsNonUniformAMD(u16vec2);"
 3356|      7|            "u16vec3  addInvocationsNonUniformAMD(u16vec3);"
 3357|      7|            "u16vec4  addInvocationsNonUniformAMD(u16vec4);"
 3358|       |
 3359|      7|            "float addInvocationsInclusiveScanNonUniformAMD(float);"
 3360|      7|            "vec2  addInvocationsInclusiveScanNonUniformAMD(vec2);"
 3361|      7|            "vec3  addInvocationsInclusiveScanNonUniformAMD(vec3);"
 3362|      7|            "vec4  addInvocationsInclusiveScanNonUniformAMD(vec4);"
 3363|       |
 3364|      7|            "int   addInvocationsInclusiveScanNonUniformAMD(int);"
 3365|      7|            "ivec2 addInvocationsInclusiveScanNonUniformAMD(ivec2);"
 3366|      7|            "ivec3 addInvocationsInclusiveScanNonUniformAMD(ivec3);"
 3367|      7|            "ivec4 addInvocationsInclusiveScanNonUniformAMD(ivec4);"
 3368|       |
 3369|      7|            "uint  addInvocationsInclusiveScanNonUniformAMD(uint);"
 3370|      7|            "uvec2 addInvocationsInclusiveScanNonUniformAMD(uvec2);"
 3371|      7|            "uvec3 addInvocationsInclusiveScanNonUniformAMD(uvec3);"
 3372|      7|            "uvec4 addInvocationsInclusiveScanNonUniformAMD(uvec4);"
 3373|       |
 3374|      7|            "double addInvocationsInclusiveScanNonUniformAMD(double);"
 3375|      7|            "dvec2  addInvocationsInclusiveScanNonUniformAMD(dvec2);"
 3376|      7|            "dvec3  addInvocationsInclusiveScanNonUniformAMD(dvec3);"
 3377|      7|            "dvec4  addInvocationsInclusiveScanNonUniformAMD(dvec4);"
 3378|       |
 3379|      7|            "int64_t addInvocationsInclusiveScanNonUniformAMD(int64_t);"
 3380|      7|            "i64vec2 addInvocationsInclusiveScanNonUniformAMD(i64vec2);"
 3381|      7|            "i64vec3 addInvocationsInclusiveScanNonUniformAMD(i64vec3);"
 3382|      7|            "i64vec4 addInvocationsInclusiveScanNonUniformAMD(i64vec4);"
 3383|       |
 3384|      7|            "uint64_t addInvocationsInclusiveScanNonUniformAMD(uint64_t);"
 3385|      7|            "u64vec2  addInvocationsInclusiveScanNonUniformAMD(u64vec2);"
 3386|      7|            "u64vec3  addInvocationsInclusiveScanNonUniformAMD(u64vec3);"
 3387|      7|            "u64vec4  addInvocationsInclusiveScanNonUniformAMD(u64vec4);"
 3388|       |
 3389|      7|            "float16_t addInvocationsInclusiveScanNonUniformAMD(float16_t);"
 3390|      7|            "f16vec2   addInvocationsInclusiveScanNonUniformAMD(f16vec2);"
 3391|      7|            "f16vec3   addInvocationsInclusiveScanNonUniformAMD(f16vec3);"
 3392|      7|            "f16vec4   addInvocationsInclusiveScanNonUniformAMD(f16vec4);"
 3393|       |
 3394|      7|            "int16_t addInvocationsInclusiveScanNonUniformAMD(int16_t);"
 3395|      7|            "i16vec2 addInvocationsInclusiveScanNonUniformAMD(i16vec2);"
 3396|      7|            "i16vec3 addInvocationsInclusiveScanNonUniformAMD(i16vec3);"
 3397|      7|            "i16vec4 addInvocationsInclusiveScanNonUniformAMD(i16vec4);"
 3398|       |
 3399|      7|            "uint16_t addInvocationsInclusiveScanNonUniformAMD(uint16_t);"
 3400|      7|            "u16vec2  addInvocationsInclusiveScanNonUniformAMD(u16vec2);"
 3401|      7|            "u16vec3  addInvocationsInclusiveScanNonUniformAMD(u16vec3);"
 3402|      7|            "u16vec4  addInvocationsInclusiveScanNonUniformAMD(u16vec4);"
 3403|       |
 3404|      7|            "float addInvocationsExclusiveScanNonUniformAMD(float);"
 3405|      7|            "vec2  addInvocationsExclusiveScanNonUniformAMD(vec2);"
 3406|      7|            "vec3  addInvocationsExclusiveScanNonUniformAMD(vec3);"
 3407|      7|            "vec4  addInvocationsExclusiveScanNonUniformAMD(vec4);"
 3408|       |
 3409|      7|            "int   addInvocationsExclusiveScanNonUniformAMD(int);"
 3410|      7|            "ivec2 addInvocationsExclusiveScanNonUniformAMD(ivec2);"
 3411|      7|            "ivec3 addInvocationsExclusiveScanNonUniformAMD(ivec3);"
 3412|      7|            "ivec4 addInvocationsExclusiveScanNonUniformAMD(ivec4);"
 3413|       |
 3414|      7|            "uint  addInvocationsExclusiveScanNonUniformAMD(uint);"
 3415|      7|            "uvec2 addInvocationsExclusiveScanNonUniformAMD(uvec2);"
 3416|      7|            "uvec3 addInvocationsExclusiveScanNonUniformAMD(uvec3);"
 3417|      7|            "uvec4 addInvocationsExclusiveScanNonUniformAMD(uvec4);"
 3418|       |
 3419|      7|            "double addInvocationsExclusiveScanNonUniformAMD(double);"
 3420|      7|            "dvec2  addInvocationsExclusiveScanNonUniformAMD(dvec2);"
 3421|      7|            "dvec3  addInvocationsExclusiveScanNonUniformAMD(dvec3);"
 3422|      7|            "dvec4  addInvocationsExclusiveScanNonUniformAMD(dvec4);"
 3423|       |
 3424|      7|            "int64_t addInvocationsExclusiveScanNonUniformAMD(int64_t);"
 3425|      7|            "i64vec2 addInvocationsExclusiveScanNonUniformAMD(i64vec2);"
 3426|      7|            "i64vec3 addInvocationsExclusiveScanNonUniformAMD(i64vec3);"
 3427|      7|            "i64vec4 addInvocationsExclusiveScanNonUniformAMD(i64vec4);"
 3428|       |
 3429|      7|            "uint64_t addInvocationsExclusiveScanNonUniformAMD(uint64_t);"
 3430|      7|            "u64vec2  addInvocationsExclusiveScanNonUniformAMD(u64vec2);"
 3431|      7|            "u64vec3  addInvocationsExclusiveScanNonUniformAMD(u64vec3);"
 3432|      7|            "u64vec4  addInvocationsExclusiveScanNonUniformAMD(u64vec4);"
 3433|       |
 3434|      7|            "float16_t addInvocationsExclusiveScanNonUniformAMD(float16_t);"
 3435|      7|            "f16vec2   addInvocationsExclusiveScanNonUniformAMD(f16vec2);"
 3436|      7|            "f16vec3   addInvocationsExclusiveScanNonUniformAMD(f16vec3);"
 3437|      7|            "f16vec4   addInvocationsExclusiveScanNonUniformAMD(f16vec4);"
 3438|       |
 3439|      7|            "int16_t addInvocationsExclusiveScanNonUniformAMD(int16_t);"
 3440|      7|            "i16vec2 addInvocationsExclusiveScanNonUniformAMD(i16vec2);"
 3441|      7|            "i16vec3 addInvocationsExclusiveScanNonUniformAMD(i16vec3);"
 3442|      7|            "i16vec4 addInvocationsExclusiveScanNonUniformAMD(i16vec4);"
 3443|       |
 3444|      7|            "uint16_t addInvocationsExclusiveScanNonUniformAMD(uint16_t);"
 3445|      7|            "u16vec2  addInvocationsExclusiveScanNonUniformAMD(u16vec2);"
 3446|      7|            "u16vec3  addInvocationsExclusiveScanNonUniformAMD(u16vec3);"
 3447|      7|            "u16vec4  addInvocationsExclusiveScanNonUniformAMD(u16vec4);"
 3448|       |
 3449|      7|            "float swizzleInvocationsAMD(float, uvec4);"
 3450|      7|            "vec2  swizzleInvocationsAMD(vec2,  uvec4);"
 3451|      7|            "vec3  swizzleInvocationsAMD(vec3,  uvec4);"
 3452|      7|            "vec4  swizzleInvocationsAMD(vec4,  uvec4);"
 3453|       |
 3454|      7|            "int   swizzleInvocationsAMD(int,   uvec4);"
 3455|      7|            "ivec2 swizzleInvocationsAMD(ivec2, uvec4);"
 3456|      7|            "ivec3 swizzleInvocationsAMD(ivec3, uvec4);"
 3457|      7|            "ivec4 swizzleInvocationsAMD(ivec4, uvec4);"
 3458|       |
 3459|      7|            "uint  swizzleInvocationsAMD(uint,  uvec4);"
 3460|      7|            "uvec2 swizzleInvocationsAMD(uvec2, uvec4);"
 3461|      7|            "uvec3 swizzleInvocationsAMD(uvec3, uvec4);"
 3462|      7|            "uvec4 swizzleInvocationsAMD(uvec4, uvec4);"
 3463|       |
 3464|      7|            "float swizzleInvocationsMaskedAMD(float, uvec3);"
 3465|      7|            "vec2  swizzleInvocationsMaskedAMD(vec2,  uvec3);"
 3466|      7|            "vec3  swizzleInvocationsMaskedAMD(vec3,  uvec3);"
 3467|      7|            "vec4  swizzleInvocationsMaskedAMD(vec4,  uvec3);"
 3468|       |
 3469|      7|            "int   swizzleInvocationsMaskedAMD(int,   uvec3);"
 3470|      7|            "ivec2 swizzleInvocationsMaskedAMD(ivec2, uvec3);"
 3471|      7|            "ivec3 swizzleInvocationsMaskedAMD(ivec3, uvec3);"
 3472|      7|            "ivec4 swizzleInvocationsMaskedAMD(ivec4, uvec3);"
 3473|       |
 3474|      7|            "uint  swizzleInvocationsMaskedAMD(uint,  uvec3);"
 3475|      7|            "uvec2 swizzleInvocationsMaskedAMD(uvec2, uvec3);"
 3476|      7|            "uvec3 swizzleInvocationsMaskedAMD(uvec3, uvec3);"
 3477|      7|            "uvec4 swizzleInvocationsMaskedAMD(uvec4, uvec3);"
 3478|       |
 3479|      7|            "float writeInvocationAMD(float, float, uint);"
 3480|      7|            "vec2  writeInvocationAMD(vec2,  vec2,  uint);"
 3481|      7|            "vec3  writeInvocationAMD(vec3,  vec3,  uint);"
 3482|      7|            "vec4  writeInvocationAMD(vec4,  vec4,  uint);"
 3483|       |
 3484|      7|            "int   writeInvocationAMD(int,   int,   uint);"
 3485|      7|            "ivec2 writeInvocationAMD(ivec2, ivec2, uint);"
 3486|      7|            "ivec3 writeInvocationAMD(ivec3, ivec3, uint);"
 3487|      7|            "ivec4 writeInvocationAMD(ivec4, ivec4, uint);"
 3488|       |
 3489|      7|            "uint  writeInvocationAMD(uint,  uint,  uint);"
 3490|      7|            "uvec2 writeInvocationAMD(uvec2, uvec2, uint);"
 3491|      7|            "uvec3 writeInvocationAMD(uvec3, uvec3, uint);"
 3492|      7|            "uvec4 writeInvocationAMD(uvec4, uvec4, uint);"
 3493|       |
 3494|      7|            "uint mbcntAMD(uint64_t);"
 3495|       |
 3496|      7|            "\n");
 3497|      7|    }
 3498|       |
 3499|       |    // GL_AMD_gcn_shader
 3500|     46|    if (profile != EEsProfile && version >= 440) {
  ------------------
  |  Branch (3500:9): [True: 7, False: 39]
  |  Branch (3500:34): [True: 7, False: 0]
  ------------------
 3501|      7|        commonBuiltins.append(
 3502|      7|            "float cubeFaceIndexAMD(vec3);"
 3503|      7|            "vec2  cubeFaceCoordAMD(vec3);"
 3504|      7|            "uint64_t timeAMD();"
 3505|       |
 3506|      7|            "in int gl_SIMDGroupSizeAMD;"
 3507|      7|            "\n");
 3508|      7|    }
 3509|       |
 3510|       |    // GL_AMD_shader_fragment_mask
 3511|     46|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (3511:9): [True: 7, False: 39]
  |  Branch (3511:34): [True: 7, False: 0]
  ------------------
 3512|      7|        commonBuiltins.append(
 3513|      7|            "uint fragmentMaskFetchAMD(sampler2DMS,       ivec2);"
 3514|      7|            "uint fragmentMaskFetchAMD(isampler2DMS,      ivec2);"
 3515|      7|            "uint fragmentMaskFetchAMD(usampler2DMS,      ivec2);"
 3516|       |
 3517|      7|            "uint fragmentMaskFetchAMD(sampler2DMSArray,  ivec3);"
 3518|      7|            "uint fragmentMaskFetchAMD(isampler2DMSArray, ivec3);"
 3519|      7|            "uint fragmentMaskFetchAMD(usampler2DMSArray, ivec3);"
 3520|       |
 3521|      7|            "vec4  fragmentFetchAMD(sampler2DMS,       ivec2, uint);"
 3522|      7|            "ivec4 fragmentFetchAMD(isampler2DMS,      ivec2, uint);"
 3523|      7|            "uvec4 fragmentFetchAMD(usampler2DMS,      ivec2, uint);"
 3524|       |
 3525|      7|            "vec4  fragmentFetchAMD(sampler2DMSArray,  ivec3, uint);"
 3526|      7|            "ivec4 fragmentFetchAMD(isampler2DMSArray, ivec3, uint);"
 3527|      7|            "uvec4 fragmentFetchAMD(usampler2DMSArray, ivec3, uint);"
 3528|       |
 3529|      7|            "\n");
 3530|      7|    }
 3531|       |
 3532|     46|    if ((profile != EEsProfile && version >= 130) ||
  ------------------
  |  Branch (3532:10): [True: 7, False: 39]
  |  Branch (3532:35): [True: 7, False: 0]
  ------------------
 3533|     39|        (profile == EEsProfile && version >= 300)) {
  ------------------
  |  Branch (3533:10): [True: 39, False: 0]
  |  Branch (3533:35): [True: 0, False: 39]
  ------------------
 3534|      7|        commonBuiltins.append(
 3535|      7|            "uint countLeadingZeros(uint);"
 3536|      7|            "uvec2 countLeadingZeros(uvec2);"
 3537|      7|            "uvec3 countLeadingZeros(uvec3);"
 3538|      7|            "uvec4 countLeadingZeros(uvec4);"
 3539|       |
 3540|      7|            "uint countTrailingZeros(uint);"
 3541|      7|            "uvec2 countTrailingZeros(uvec2);"
 3542|      7|            "uvec3 countTrailingZeros(uvec3);"
 3543|      7|            "uvec4 countTrailingZeros(uvec4);"
 3544|       |
 3545|      7|            "uint absoluteDifference(int, int);"
 3546|      7|            "uvec2 absoluteDifference(ivec2, ivec2);"
 3547|      7|            "uvec3 absoluteDifference(ivec3, ivec3);"
 3548|      7|            "uvec4 absoluteDifference(ivec4, ivec4);"
 3549|       |
 3550|      7|            "uint16_t absoluteDifference(int16_t, int16_t);"
 3551|      7|            "u16vec2 absoluteDifference(i16vec2, i16vec2);"
 3552|      7|            "u16vec3 absoluteDifference(i16vec3, i16vec3);"
 3553|      7|            "u16vec4 absoluteDifference(i16vec4, i16vec4);"
 3554|       |
 3555|      7|            "uint64_t absoluteDifference(int64_t, int64_t);"
 3556|      7|            "u64vec2 absoluteDifference(i64vec2, i64vec2);"
 3557|      7|            "u64vec3 absoluteDifference(i64vec3, i64vec3);"
 3558|      7|            "u64vec4 absoluteDifference(i64vec4, i64vec4);"
 3559|       |
 3560|      7|            "uint absoluteDifference(uint, uint);"
 3561|      7|            "uvec2 absoluteDifference(uvec2, uvec2);"
 3562|      7|            "uvec3 absoluteDifference(uvec3, uvec3);"
 3563|      7|            "uvec4 absoluteDifference(uvec4, uvec4);"
 3564|       |
 3565|      7|            "uint16_t absoluteDifference(uint16_t, uint16_t);"
 3566|      7|            "u16vec2 absoluteDifference(u16vec2, u16vec2);"
 3567|      7|            "u16vec3 absoluteDifference(u16vec3, u16vec3);"
 3568|      7|            "u16vec4 absoluteDifference(u16vec4, u16vec4);"
 3569|       |
 3570|      7|            "uint64_t absoluteDifference(uint64_t, uint64_t);"
 3571|      7|            "u64vec2 absoluteDifference(u64vec2, u64vec2);"
 3572|      7|            "u64vec3 absoluteDifference(u64vec3, u64vec3);"
 3573|      7|            "u64vec4 absoluteDifference(u64vec4, u64vec4);"
 3574|       |
 3575|      7|            "int addSaturate(int, int);"
 3576|      7|            "ivec2 addSaturate(ivec2, ivec2);"
 3577|      7|            "ivec3 addSaturate(ivec3, ivec3);"
 3578|      7|            "ivec4 addSaturate(ivec4, ivec4);"
 3579|       |
 3580|      7|            "int16_t addSaturate(int16_t, int16_t);"
 3581|      7|            "i16vec2 addSaturate(i16vec2, i16vec2);"
 3582|      7|            "i16vec3 addSaturate(i16vec3, i16vec3);"
 3583|      7|            "i16vec4 addSaturate(i16vec4, i16vec4);"
 3584|       |
 3585|      7|            "int64_t addSaturate(int64_t, int64_t);"
 3586|      7|            "i64vec2 addSaturate(i64vec2, i64vec2);"
 3587|      7|            "i64vec3 addSaturate(i64vec3, i64vec3);"
 3588|      7|            "i64vec4 addSaturate(i64vec4, i64vec4);"
 3589|       |
 3590|      7|            "uint addSaturate(uint, uint);"
 3591|      7|            "uvec2 addSaturate(uvec2, uvec2);"
 3592|      7|            "uvec3 addSaturate(uvec3, uvec3);"
 3593|      7|            "uvec4 addSaturate(uvec4, uvec4);"
 3594|       |
 3595|      7|            "uint16_t addSaturate(uint16_t, uint16_t);"
 3596|      7|            "u16vec2 addSaturate(u16vec2, u16vec2);"
 3597|      7|            "u16vec3 addSaturate(u16vec3, u16vec3);"
 3598|      7|            "u16vec4 addSaturate(u16vec4, u16vec4);"
 3599|       |
 3600|      7|            "uint64_t addSaturate(uint64_t, uint64_t);"
 3601|      7|            "u64vec2 addSaturate(u64vec2, u64vec2);"
 3602|      7|            "u64vec3 addSaturate(u64vec3, u64vec3);"
 3603|      7|            "u64vec4 addSaturate(u64vec4, u64vec4);"
 3604|       |
 3605|      7|            "int subtractSaturate(int, int);"
 3606|      7|            "ivec2 subtractSaturate(ivec2, ivec2);"
 3607|      7|            "ivec3 subtractSaturate(ivec3, ivec3);"
 3608|      7|            "ivec4 subtractSaturate(ivec4, ivec4);"
 3609|       |
 3610|      7|            "int16_t subtractSaturate(int16_t, int16_t);"
 3611|      7|            "i16vec2 subtractSaturate(i16vec2, i16vec2);"
 3612|      7|            "i16vec3 subtractSaturate(i16vec3, i16vec3);"
 3613|      7|            "i16vec4 subtractSaturate(i16vec4, i16vec4);"
 3614|       |
 3615|      7|            "int64_t subtractSaturate(int64_t, int64_t);"
 3616|      7|            "i64vec2 subtractSaturate(i64vec2, i64vec2);"
 3617|      7|            "i64vec3 subtractSaturate(i64vec3, i64vec3);"
 3618|      7|            "i64vec4 subtractSaturate(i64vec4, i64vec4);"
 3619|       |
 3620|      7|            "uint subtractSaturate(uint, uint);"
 3621|      7|            "uvec2 subtractSaturate(uvec2, uvec2);"
 3622|      7|            "uvec3 subtractSaturate(uvec3, uvec3);"
 3623|      7|            "uvec4 subtractSaturate(uvec4, uvec4);"
 3624|       |
 3625|      7|            "uint16_t subtractSaturate(uint16_t, uint16_t);"
 3626|      7|            "u16vec2 subtractSaturate(u16vec2, u16vec2);"
 3627|      7|            "u16vec3 subtractSaturate(u16vec3, u16vec3);"
 3628|      7|            "u16vec4 subtractSaturate(u16vec4, u16vec4);"
 3629|       |
 3630|      7|            "uint64_t subtractSaturate(uint64_t, uint64_t);"
 3631|      7|            "u64vec2 subtractSaturate(u64vec2, u64vec2);"
 3632|      7|            "u64vec3 subtractSaturate(u64vec3, u64vec3);"
 3633|      7|            "u64vec4 subtractSaturate(u64vec4, u64vec4);"
 3634|       |
 3635|      7|            "int average(int, int);"
 3636|      7|            "ivec2 average(ivec2, ivec2);"
 3637|      7|            "ivec3 average(ivec3, ivec3);"
 3638|      7|            "ivec4 average(ivec4, ivec4);"
 3639|       |
 3640|      7|            "int16_t average(int16_t, int16_t);"
 3641|      7|            "i16vec2 average(i16vec2, i16vec2);"
 3642|      7|            "i16vec3 average(i16vec3, i16vec3);"
 3643|      7|            "i16vec4 average(i16vec4, i16vec4);"
 3644|       |
 3645|      7|            "int64_t average(int64_t, int64_t);"
 3646|      7|            "i64vec2 average(i64vec2, i64vec2);"
 3647|      7|            "i64vec3 average(i64vec3, i64vec3);"
 3648|      7|            "i64vec4 average(i64vec4, i64vec4);"
 3649|       |
 3650|      7|            "uint average(uint, uint);"
 3651|      7|            "uvec2 average(uvec2, uvec2);"
 3652|      7|            "uvec3 average(uvec3, uvec3);"
 3653|      7|            "uvec4 average(uvec4, uvec4);"
 3654|       |
 3655|      7|            "uint16_t average(uint16_t, uint16_t);"
 3656|      7|            "u16vec2 average(u16vec2, u16vec2);"
 3657|      7|            "u16vec3 average(u16vec3, u16vec3);"
 3658|      7|            "u16vec4 average(u16vec4, u16vec4);"
 3659|       |
 3660|      7|            "uint64_t average(uint64_t, uint64_t);"
 3661|      7|            "u64vec2 average(u64vec2, u64vec2);"
 3662|      7|            "u64vec3 average(u64vec3, u64vec3);"
 3663|      7|            "u64vec4 average(u64vec4, u64vec4);"
 3664|       |
 3665|      7|            "int averageRounded(int, int);"
 3666|      7|            "ivec2 averageRounded(ivec2, ivec2);"
 3667|      7|            "ivec3 averageRounded(ivec3, ivec3);"
 3668|      7|            "ivec4 averageRounded(ivec4, ivec4);"
 3669|       |
 3670|      7|            "int16_t averageRounded(int16_t, int16_t);"
 3671|      7|            "i16vec2 averageRounded(i16vec2, i16vec2);"
 3672|      7|            "i16vec3 averageRounded(i16vec3, i16vec3);"
 3673|      7|            "i16vec4 averageRounded(i16vec4, i16vec4);"
 3674|       |
 3675|      7|            "int64_t averageRounded(int64_t, int64_t);"
 3676|      7|            "i64vec2 averageRounded(i64vec2, i64vec2);"
 3677|      7|            "i64vec3 averageRounded(i64vec3, i64vec3);"
 3678|      7|            "i64vec4 averageRounded(i64vec4, i64vec4);"
 3679|       |
 3680|      7|            "uint averageRounded(uint, uint);"
 3681|      7|            "uvec2 averageRounded(uvec2, uvec2);"
 3682|      7|            "uvec3 averageRounded(uvec3, uvec3);"
 3683|      7|            "uvec4 averageRounded(uvec4, uvec4);"
 3684|       |
 3685|      7|            "uint16_t averageRounded(uint16_t, uint16_t);"
 3686|      7|            "u16vec2 averageRounded(u16vec2, u16vec2);"
 3687|      7|            "u16vec3 averageRounded(u16vec3, u16vec3);"
 3688|      7|            "u16vec4 averageRounded(u16vec4, u16vec4);"
 3689|       |
 3690|      7|            "uint64_t averageRounded(uint64_t, uint64_t);"
 3691|      7|            "u64vec2 averageRounded(u64vec2, u64vec2);"
 3692|      7|            "u64vec3 averageRounded(u64vec3, u64vec3);"
 3693|      7|            "u64vec4 averageRounded(u64vec4, u64vec4);"
 3694|       |
 3695|      7|            "int multiply32x16(int, int);"
 3696|      7|            "ivec2 multiply32x16(ivec2, ivec2);"
 3697|      7|            "ivec3 multiply32x16(ivec3, ivec3);"
 3698|      7|            "ivec4 multiply32x16(ivec4, ivec4);"
 3699|       |
 3700|      7|            "uint multiply32x16(uint, uint);"
 3701|      7|            "uvec2 multiply32x16(uvec2, uvec2);"
 3702|      7|            "uvec3 multiply32x16(uvec3, uvec3);"
 3703|      7|            "uvec4 multiply32x16(uvec4, uvec4);"
 3704|      7|            "\n");
 3705|      7|    }
 3706|       |
 3707|     46|    if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (3707:10): [True: 7, False: 39]
  |  Branch (3707:35): [True: 7, False: 0]
  ------------------
 3708|     39|        (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (3708:10): [True: 39, False: 0]
  |  Branch (3708:35): [True: 0, False: 39]
  ------------------
 3709|      7|        commonBuiltins.append(
 3710|      7|            "struct gl_TextureFootprint2DNV {"
 3711|      7|                "uvec2 anchor;"
 3712|      7|                "uvec2 offset;"
 3713|      7|                "uvec2 mask;"
 3714|      7|                "uint lod;"
 3715|      7|                "uint granularity;"
 3716|      7|            "};"
 3717|       |
 3718|      7|            "struct gl_TextureFootprint3DNV {"
 3719|      7|                "uvec3 anchor;"
 3720|      7|                "uvec3 offset;"
 3721|      7|                "uvec2 mask;"
 3722|      7|                "uint lod;"
 3723|      7|                "uint granularity;"
 3724|      7|            "};"
 3725|      7|            "bool textureFootprintNV(sampler2D, vec2, int, bool, out gl_TextureFootprint2DNV);"
 3726|      7|            "bool textureFootprintNV(sampler3D, vec3, int, bool, out gl_TextureFootprint3DNV);"
 3727|      7|            "bool textureFootprintNV(sampler2D, vec2, int, bool, out gl_TextureFootprint2DNV, float);"
 3728|      7|            "bool textureFootprintNV(sampler3D, vec3, int, bool, out gl_TextureFootprint3DNV, float);"
 3729|      7|            "bool textureFootprintClampNV(sampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3730|      7|            "bool textureFootprintClampNV(sampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV);"
 3731|      7|            "bool textureFootprintClampNV(sampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV, float);"
 3732|      7|            "bool textureFootprintClampNV(sampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV, float);"
 3733|      7|            "bool textureFootprintLodNV(sampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3734|      7|            "bool textureFootprintLodNV(sampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV);"
 3735|      7|            "bool textureFootprintGradNV(sampler2D, vec2, vec2, vec2, int, bool, out gl_TextureFootprint2DNV);"
 3736|      7|            "bool textureFootprintGradClampNV(sampler2D, vec2, vec2, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3737|      7|            "\n");
 3738|      7|    }
 3739|       |
 3740|     46|    if ((profile == EEsProfile && version >= 300 && version < 310) ||
  ------------------
  |  Branch (3740:10): [True: 39, False: 7]
  |  Branch (3740:35): [True: 0, False: 39]
  |  Branch (3740:53): [True: 0, False: 0]
  ------------------
 3741|     46|        (profile != EEsProfile && version >= 150 && version < 450)) { // GL_EXT_shader_integer_mix
  ------------------
  |  Branch (3741:10): [True: 7, False: 39]
  |  Branch (3741:35): [True: 7, False: 0]
  |  Branch (3741:53): [True: 0, False: 7]
  ------------------
 3742|      0|        commonBuiltins.append("int mix(int, int, bool);"
 3743|      0|                              "ivec2 mix(ivec2, ivec2, bvec2);"
 3744|      0|                              "ivec3 mix(ivec3, ivec3, bvec3);"
 3745|      0|                              "ivec4 mix(ivec4, ivec4, bvec4);"
 3746|      0|                              "uint  mix(uint,  uint,  bool );"
 3747|      0|                              "uvec2 mix(uvec2, uvec2, bvec2);"
 3748|      0|                              "uvec3 mix(uvec3, uvec3, bvec3);"
 3749|      0|                              "uvec4 mix(uvec4, uvec4, bvec4);"
 3750|      0|                              "bool  mix(bool,  bool,  bool );"
 3751|      0|                              "bvec2 mix(bvec2, bvec2, bvec2);"
 3752|      0|                              "bvec3 mix(bvec3, bvec3, bvec3);"
 3753|      0|                              "bvec4 mix(bvec4, bvec4, bvec4);"
 3754|       |
 3755|      0|                              "\n");
 3756|      0|    }
 3757|       |
 3758|       |    // GL_AMD_gpu_shader_half_float/Explicit types
 3759|     46|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (3759:10): [True: 7, False: 39]
  |  Branch (3759:35): [True: 7, False: 0]
  |  Branch (3759:55): [True: 39, False: 0]
  |  Branch (3759:80): [True: 0, False: 39]
  ------------------
 3760|      7|        commonBuiltins.append(
 3761|      7|            "float16_t radians(float16_t);"
 3762|      7|            "f16vec2   radians(f16vec2);"
 3763|      7|            "f16vec3   radians(f16vec3);"
 3764|      7|            "f16vec4   radians(f16vec4);"
 3765|       |
 3766|      7|            "float16_t degrees(float16_t);"
 3767|      7|            "f16vec2   degrees(f16vec2);"
 3768|      7|            "f16vec3   degrees(f16vec3);"
 3769|      7|            "f16vec4   degrees(f16vec4);"
 3770|       |
 3771|      7|            "float16_t sin(float16_t);"
 3772|      7|            "f16vec2   sin(f16vec2);"
 3773|      7|            "f16vec3   sin(f16vec3);"
 3774|      7|            "f16vec4   sin(f16vec4);"
 3775|       |
 3776|      7|            "float16_t cos(float16_t);"
 3777|      7|            "f16vec2   cos(f16vec2);"
 3778|      7|            "f16vec3   cos(f16vec3);"
 3779|      7|            "f16vec4   cos(f16vec4);"
 3780|       |
 3781|      7|            "float16_t tan(float16_t);"
 3782|      7|            "f16vec2   tan(f16vec2);"
 3783|      7|            "f16vec3   tan(f16vec3);"
 3784|      7|            "f16vec4   tan(f16vec4);"
 3785|       |
 3786|      7|            "float16_t asin(float16_t);"
 3787|      7|            "f16vec2   asin(f16vec2);"
 3788|      7|            "f16vec3   asin(f16vec3);"
 3789|      7|            "f16vec4   asin(f16vec4);"
 3790|       |
 3791|      7|            "float16_t acos(float16_t);"
 3792|      7|            "f16vec2   acos(f16vec2);"
 3793|      7|            "f16vec3   acos(f16vec3);"
 3794|      7|            "f16vec4   acos(f16vec4);"
 3795|       |
 3796|      7|            "float16_t atan(float16_t, float16_t);"
 3797|      7|            "f16vec2   atan(f16vec2,   f16vec2);"
 3798|      7|            "f16vec3   atan(f16vec3,   f16vec3);"
 3799|      7|            "f16vec4   atan(f16vec4,   f16vec4);"
 3800|       |
 3801|      7|            "float16_t atan(float16_t);"
 3802|      7|            "f16vec2   atan(f16vec2);"
 3803|      7|            "f16vec3   atan(f16vec3);"
 3804|      7|            "f16vec4   atan(f16vec4);"
 3805|       |
 3806|      7|            "float16_t sinh(float16_t);"
 3807|      7|            "f16vec2   sinh(f16vec2);"
 3808|      7|            "f16vec3   sinh(f16vec3);"
 3809|      7|            "f16vec4   sinh(f16vec4);"
 3810|       |
 3811|      7|            "float16_t cosh(float16_t);"
 3812|      7|            "f16vec2   cosh(f16vec2);"
 3813|      7|            "f16vec3   cosh(f16vec3);"
 3814|      7|            "f16vec4   cosh(f16vec4);"
 3815|       |
 3816|      7|            "float16_t tanh(float16_t);"
 3817|      7|            "f16vec2   tanh(f16vec2);"
 3818|      7|            "f16vec3   tanh(f16vec3);"
 3819|      7|            "f16vec4   tanh(f16vec4);"
 3820|       |
 3821|      7|            "float16_t asinh(float16_t);"
 3822|      7|            "f16vec2   asinh(f16vec2);"
 3823|      7|            "f16vec3   asinh(f16vec3);"
 3824|      7|            "f16vec4   asinh(f16vec4);"
 3825|       |
 3826|      7|            "float16_t acosh(float16_t);"
 3827|      7|            "f16vec2   acosh(f16vec2);"
 3828|      7|            "f16vec3   acosh(f16vec3);"
 3829|      7|            "f16vec4   acosh(f16vec4);"
 3830|       |
 3831|      7|            "float16_t atanh(float16_t);"
 3832|      7|            "f16vec2   atanh(f16vec2);"
 3833|      7|            "f16vec3   atanh(f16vec3);"
 3834|      7|            "f16vec4   atanh(f16vec4);"
 3835|       |
 3836|      7|            "float16_t pow(float16_t, float16_t);"
 3837|      7|            "f16vec2   pow(f16vec2,   f16vec2);"
 3838|      7|            "f16vec3   pow(f16vec3,   f16vec3);"
 3839|      7|            "f16vec4   pow(f16vec4,   f16vec4);"
 3840|       |
 3841|      7|            "float16_t exp(float16_t);"
 3842|      7|            "f16vec2   exp(f16vec2);"
 3843|      7|            "f16vec3   exp(f16vec3);"
 3844|      7|            "f16vec4   exp(f16vec4);"
 3845|       |
 3846|      7|            "float16_t log(float16_t);"
 3847|      7|            "f16vec2   log(f16vec2);"
 3848|      7|            "f16vec3   log(f16vec3);"
 3849|      7|            "f16vec4   log(f16vec4);"
 3850|       |
 3851|      7|            "float16_t exp2(float16_t);"
 3852|      7|            "f16vec2   exp2(f16vec2);"
 3853|      7|            "f16vec3   exp2(f16vec3);"
 3854|      7|            "f16vec4   exp2(f16vec4);"
 3855|       |
 3856|      7|            "float16_t log2(float16_t);"
 3857|      7|            "f16vec2   log2(f16vec2);"
 3858|      7|            "f16vec3   log2(f16vec3);"
 3859|      7|            "f16vec4   log2(f16vec4);"
 3860|       |
 3861|      7|            "float16_t sqrt(float16_t);"
 3862|      7|            "f16vec2   sqrt(f16vec2);"
 3863|      7|            "f16vec3   sqrt(f16vec3);"
 3864|      7|            "f16vec4   sqrt(f16vec4);"
 3865|       |
 3866|      7|            "float16_t inversesqrt(float16_t);"
 3867|      7|            "f16vec2   inversesqrt(f16vec2);"
 3868|      7|            "f16vec3   inversesqrt(f16vec3);"
 3869|      7|            "f16vec4   inversesqrt(f16vec4);"
 3870|       |
 3871|      7|            "float16_t abs(float16_t);"
 3872|      7|            "f16vec2   abs(f16vec2);"
 3873|      7|            "f16vec3   abs(f16vec3);"
 3874|      7|            "f16vec4   abs(f16vec4);"
 3875|       |
 3876|      7|            "float16_t sign(float16_t);"
 3877|      7|            "f16vec2   sign(f16vec2);"
 3878|      7|            "f16vec3   sign(f16vec3);"
 3879|      7|            "f16vec4   sign(f16vec4);"
 3880|       |
 3881|      7|            "float16_t floor(float16_t);"
 3882|      7|            "f16vec2   floor(f16vec2);"
 3883|      7|            "f16vec3   floor(f16vec3);"
 3884|      7|            "f16vec4   floor(f16vec4);"
 3885|       |
 3886|      7|            "float16_t trunc(float16_t);"
 3887|      7|            "f16vec2   trunc(f16vec2);"
 3888|      7|            "f16vec3   trunc(f16vec3);"
 3889|      7|            "f16vec4   trunc(f16vec4);"
 3890|       |
 3891|      7|            "float16_t round(float16_t);"
 3892|      7|            "f16vec2   round(f16vec2);"
 3893|      7|            "f16vec3   round(f16vec3);"
 3894|      7|            "f16vec4   round(f16vec4);"
 3895|       |
 3896|      7|            "float16_t roundEven(float16_t);"
 3897|      7|            "f16vec2   roundEven(f16vec2);"
 3898|      7|            "f16vec3   roundEven(f16vec3);"
 3899|      7|            "f16vec4   roundEven(f16vec4);"
 3900|       |
 3901|      7|            "float16_t ceil(float16_t);"
 3902|      7|            "f16vec2   ceil(f16vec2);"
 3903|      7|            "f16vec3   ceil(f16vec3);"
 3904|      7|            "f16vec4   ceil(f16vec4);"
 3905|       |
 3906|      7|            "float16_t fract(float16_t);"
 3907|      7|            "f16vec2   fract(f16vec2);"
 3908|      7|            "f16vec3   fract(f16vec3);"
 3909|      7|            "f16vec4   fract(f16vec4);"
 3910|       |
 3911|      7|            "float16_t mod(float16_t, float16_t);"
 3912|      7|            "f16vec2   mod(f16vec2,   float16_t);"
 3913|      7|            "f16vec3   mod(f16vec3,   float16_t);"
 3914|      7|            "f16vec4   mod(f16vec4,   float16_t);"
 3915|      7|            "f16vec2   mod(f16vec2,   f16vec2);"
 3916|      7|            "f16vec3   mod(f16vec3,   f16vec3);"
 3917|      7|            "f16vec4   mod(f16vec4,   f16vec4);"
 3918|       |
 3919|      7|            "float16_t modf(float16_t, out float16_t);"
 3920|      7|            "f16vec2   modf(f16vec2,   out f16vec2);"
 3921|      7|            "f16vec3   modf(f16vec3,   out f16vec3);"
 3922|      7|            "f16vec4   modf(f16vec4,   out f16vec4);"
 3923|       |
 3924|      7|            "float16_t min(float16_t, float16_t);"
 3925|      7|            "f16vec2   min(f16vec2,   float16_t);"
 3926|      7|            "f16vec3   min(f16vec3,   float16_t);"
 3927|      7|            "f16vec4   min(f16vec4,   float16_t);"
 3928|      7|            "f16vec2   min(f16vec2,   f16vec2);"
 3929|      7|            "f16vec3   min(f16vec3,   f16vec3);"
 3930|      7|            "f16vec4   min(f16vec4,   f16vec4);"
 3931|       |
 3932|      7|            "float16_t max(float16_t, float16_t);"
 3933|      7|            "f16vec2   max(f16vec2,   float16_t);"
 3934|      7|            "f16vec3   max(f16vec3,   float16_t);"
 3935|      7|            "f16vec4   max(f16vec4,   float16_t);"
 3936|      7|            "f16vec2   max(f16vec2,   f16vec2);"
 3937|      7|            "f16vec3   max(f16vec3,   f16vec3);"
 3938|      7|            "f16vec4   max(f16vec4,   f16vec4);"
 3939|       |
 3940|      7|            "float16_t clamp(float16_t, float16_t, float16_t);"
 3941|      7|            "f16vec2   clamp(f16vec2,   float16_t, float16_t);"
 3942|      7|            "f16vec3   clamp(f16vec3,   float16_t, float16_t);"
 3943|      7|            "f16vec4   clamp(f16vec4,   float16_t, float16_t);"
 3944|      7|            "f16vec2   clamp(f16vec2,   f16vec2,   f16vec2);"
 3945|      7|            "f16vec3   clamp(f16vec3,   f16vec3,   f16vec3);"
 3946|      7|            "f16vec4   clamp(f16vec4,   f16vec4,   f16vec4);"
 3947|       |
 3948|      7|            "float16_t mix(float16_t, float16_t, float16_t);"
 3949|      7|            "f16vec2   mix(f16vec2,   f16vec2,   float16_t);"
 3950|      7|            "f16vec3   mix(f16vec3,   f16vec3,   float16_t);"
 3951|      7|            "f16vec4   mix(f16vec4,   f16vec4,   float16_t);"
 3952|      7|            "f16vec2   mix(f16vec2,   f16vec2,   f16vec2);"
 3953|      7|            "f16vec3   mix(f16vec3,   f16vec3,   f16vec3);"
 3954|      7|            "f16vec4   mix(f16vec4,   f16vec4,   f16vec4);"
 3955|      7|            "float16_t mix(float16_t, float16_t, bool);"
 3956|      7|            "f16vec2   mix(f16vec2,   f16vec2,   bvec2);"
 3957|      7|            "f16vec3   mix(f16vec3,   f16vec3,   bvec3);"
 3958|      7|            "f16vec4   mix(f16vec4,   f16vec4,   bvec4);"
 3959|       |
 3960|      7|            "float16_t step(float16_t, float16_t);"
 3961|      7|            "f16vec2   step(f16vec2,   f16vec2);"
 3962|      7|            "f16vec3   step(f16vec3,   f16vec3);"
 3963|      7|            "f16vec4   step(f16vec4,   f16vec4);"
 3964|      7|            "f16vec2   step(float16_t, f16vec2);"
 3965|      7|            "f16vec3   step(float16_t, f16vec3);"
 3966|      7|            "f16vec4   step(float16_t, f16vec4);"
 3967|       |
 3968|      7|            "float16_t smoothstep(float16_t, float16_t, float16_t);"
 3969|      7|            "f16vec2   smoothstep(f16vec2,   f16vec2,   f16vec2);"
 3970|      7|            "f16vec3   smoothstep(f16vec3,   f16vec3,   f16vec3);"
 3971|      7|            "f16vec4   smoothstep(f16vec4,   f16vec4,   f16vec4);"
 3972|      7|            "f16vec2   smoothstep(float16_t, float16_t, f16vec2);"
 3973|      7|            "f16vec3   smoothstep(float16_t, float16_t, f16vec3);"
 3974|      7|            "f16vec4   smoothstep(float16_t, float16_t, f16vec4);"
 3975|       |
 3976|      7|            "bool  isnan(float16_t);"
 3977|      7|            "bvec2 isnan(f16vec2);"
 3978|      7|            "bvec3 isnan(f16vec3);"
 3979|      7|            "bvec4 isnan(f16vec4);"
 3980|       |
 3981|      7|            "bool  isinf(float16_t);"
 3982|      7|            "bvec2 isinf(f16vec2);"
 3983|      7|            "bvec3 isinf(f16vec3);"
 3984|      7|            "bvec4 isinf(f16vec4);"
 3985|       |
 3986|      7|            "float16_t fma(float16_t, float16_t, float16_t);"
 3987|      7|            "f16vec2   fma(f16vec2,   f16vec2,   f16vec2);"
 3988|      7|            "f16vec3   fma(f16vec3,   f16vec3,   f16vec3);"
 3989|      7|            "f16vec4   fma(f16vec4,   f16vec4,   f16vec4);"
 3990|       |
 3991|      7|            "float16_t frexp(float16_t, out int);"
 3992|      7|            "f16vec2   frexp(f16vec2,   out ivec2);"
 3993|      7|            "f16vec3   frexp(f16vec3,   out ivec3);"
 3994|      7|            "f16vec4   frexp(f16vec4,   out ivec4);"
 3995|       |
 3996|      7|            "float16_t ldexp(float16_t, in int);"
 3997|      7|            "f16vec2   ldexp(f16vec2,   in ivec2);"
 3998|      7|            "f16vec3   ldexp(f16vec3,   in ivec3);"
 3999|      7|            "f16vec4   ldexp(f16vec4,   in ivec4);"
 4000|       |
 4001|      7|            "uint    packFloat2x16(f16vec2);"
 4002|      7|            "f16vec2 unpackFloat2x16(uint);"
 4003|       |
 4004|      7|            "float16_t length(float16_t);"
 4005|      7|            "float16_t length(f16vec2);"
 4006|      7|            "float16_t length(f16vec3);"
 4007|      7|            "float16_t length(f16vec4);"
 4008|       |
 4009|      7|            "float16_t distance(float16_t, float16_t);"
 4010|      7|            "float16_t distance(f16vec2,   f16vec2);"
 4011|      7|            "float16_t distance(f16vec3,   f16vec3);"
 4012|      7|            "float16_t distance(f16vec4,   f16vec4);"
 4013|       |
 4014|      7|            "float16_t dot(float16_t, float16_t);"
 4015|      7|            "float16_t dot(f16vec2,   f16vec2);"
 4016|      7|            "float16_t dot(f16vec3,   f16vec3);"
 4017|      7|            "float16_t dot(f16vec4,   f16vec4);"
 4018|       |
 4019|      7|            "f16vec3 cross(f16vec3, f16vec3);"
 4020|       |
 4021|      7|            "float16_t normalize(float16_t);"
 4022|      7|            "f16vec2   normalize(f16vec2);"
 4023|      7|            "f16vec3   normalize(f16vec3);"
 4024|      7|            "f16vec4   normalize(f16vec4);"
 4025|       |
 4026|      7|            "float16_t faceforward(float16_t, float16_t, float16_t);"
 4027|      7|            "f16vec2   faceforward(f16vec2,   f16vec2,   f16vec2);"
 4028|      7|            "f16vec3   faceforward(f16vec3,   f16vec3,   f16vec3);"
 4029|      7|            "f16vec4   faceforward(f16vec4,   f16vec4,   f16vec4);"
 4030|       |
 4031|      7|            "float16_t reflect(float16_t, float16_t);"
 4032|      7|            "f16vec2   reflect(f16vec2,   f16vec2);"
 4033|      7|            "f16vec3   reflect(f16vec3,   f16vec3);"
 4034|      7|            "f16vec4   reflect(f16vec4,   f16vec4);"
 4035|       |
 4036|      7|            "float16_t refract(float16_t, float16_t, float16_t);"
 4037|      7|            "f16vec2   refract(f16vec2,   f16vec2,   float16_t);"
 4038|      7|            "f16vec3   refract(f16vec3,   f16vec3,   float16_t);"
 4039|      7|            "f16vec4   refract(f16vec4,   f16vec4,   float16_t);"
 4040|       |
 4041|      7|            "f16mat2   matrixCompMult(f16mat2,   f16mat2);"
 4042|      7|            "f16mat3   matrixCompMult(f16mat3,   f16mat3);"
 4043|      7|            "f16mat4   matrixCompMult(f16mat4,   f16mat4);"
 4044|      7|            "f16mat2x3 matrixCompMult(f16mat2x3, f16mat2x3);"
 4045|      7|            "f16mat2x4 matrixCompMult(f16mat2x4, f16mat2x4);"
 4046|      7|            "f16mat3x2 matrixCompMult(f16mat3x2, f16mat3x2);"
 4047|      7|            "f16mat3x4 matrixCompMult(f16mat3x4, f16mat3x4);"
 4048|      7|            "f16mat4x2 matrixCompMult(f16mat4x2, f16mat4x2);"
 4049|      7|            "f16mat4x3 matrixCompMult(f16mat4x3, f16mat4x3);"
 4050|       |
 4051|      7|            "f16mat2   outerProduct(f16vec2, f16vec2);"
 4052|      7|            "f16mat3   outerProduct(f16vec3, f16vec3);"
 4053|      7|            "f16mat4   outerProduct(f16vec4, f16vec4);"
 4054|      7|            "f16mat2x3 outerProduct(f16vec3, f16vec2);"
 4055|      7|            "f16mat3x2 outerProduct(f16vec2, f16vec3);"
 4056|      7|            "f16mat2x4 outerProduct(f16vec4, f16vec2);"
 4057|      7|            "f16mat4x2 outerProduct(f16vec2, f16vec4);"
 4058|      7|            "f16mat3x4 outerProduct(f16vec4, f16vec3);"
 4059|      7|            "f16mat4x3 outerProduct(f16vec3, f16vec4);"
 4060|       |
 4061|      7|            "f16mat2   transpose(f16mat2);"
 4062|      7|            "f16mat3   transpose(f16mat3);"
 4063|      7|            "f16mat4   transpose(f16mat4);"
 4064|      7|            "f16mat2x3 transpose(f16mat3x2);"
 4065|      7|            "f16mat3x2 transpose(f16mat2x3);"
 4066|      7|            "f16mat2x4 transpose(f16mat4x2);"
 4067|      7|            "f16mat4x2 transpose(f16mat2x4);"
 4068|      7|            "f16mat3x4 transpose(f16mat4x3);"
 4069|      7|            "f16mat4x3 transpose(f16mat3x4);"
 4070|       |
 4071|      7|            "float16_t determinant(f16mat2);"
 4072|      7|            "float16_t determinant(f16mat3);"
 4073|      7|            "float16_t determinant(f16mat4);"
 4074|       |
 4075|      7|            "f16mat2 inverse(f16mat2);"
 4076|      7|            "f16mat3 inverse(f16mat3);"
 4077|      7|            "f16mat4 inverse(f16mat4);"
 4078|       |
 4079|      7|            "bvec2 lessThan(f16vec2, f16vec2);"
 4080|      7|            "bvec3 lessThan(f16vec3, f16vec3);"
 4081|      7|            "bvec4 lessThan(f16vec4, f16vec4);"
 4082|       |
 4083|      7|            "bvec2 lessThanEqual(f16vec2, f16vec2);"
 4084|      7|            "bvec3 lessThanEqual(f16vec3, f16vec3);"
 4085|      7|            "bvec4 lessThanEqual(f16vec4, f16vec4);"
 4086|       |
 4087|      7|            "bvec2 greaterThan(f16vec2, f16vec2);"
 4088|      7|            "bvec3 greaterThan(f16vec3, f16vec3);"
 4089|      7|            "bvec4 greaterThan(f16vec4, f16vec4);"
 4090|       |
 4091|      7|            "bvec2 greaterThanEqual(f16vec2, f16vec2);"
 4092|      7|            "bvec3 greaterThanEqual(f16vec3, f16vec3);"
 4093|      7|            "bvec4 greaterThanEqual(f16vec4, f16vec4);"
 4094|       |
 4095|      7|            "bvec2 equal(f16vec2, f16vec2);"
 4096|      7|            "bvec3 equal(f16vec3, f16vec3);"
 4097|      7|            "bvec4 equal(f16vec4, f16vec4);"
 4098|       |
 4099|      7|            "bvec2 notEqual(f16vec2, f16vec2);"
 4100|      7|            "bvec3 notEqual(f16vec3, f16vec3);"
 4101|      7|            "bvec4 notEqual(f16vec4, f16vec4);"
 4102|       |
 4103|      7|            "bfloat16_t dot(bfloat16_t, bfloat16_t);"
 4104|      7|            "bfloat16_t dot(bf16vec2,   bf16vec2);"
 4105|      7|            "bfloat16_t dot(bf16vec3,   bf16vec3);"
 4106|      7|            "bfloat16_t dot(bf16vec4,   bf16vec4);"
 4107|       |
 4108|      7|            "int16_t  bfloat16BitsToIntEXT(bfloat16_t value);"
 4109|      7|            "i16vec2  bfloat16BitsToIntEXT(bf16vec2 value);"
 4110|      7|            "i16vec3  bfloat16BitsToIntEXT(bf16vec3 value);"
 4111|      7|            "i16vec4  bfloat16BitsToIntEXT(bf16vec4 value);"
 4112|       |
 4113|      7|            "uint16_t bfloat16BitsToUintEXT(bfloat16_t value);"
 4114|      7|            "u16vec2  bfloat16BitsToUintEXT(bf16vec2 value);"
 4115|      7|            "u16vec3  bfloat16BitsToUintEXT(bf16vec3 value);"
 4116|      7|            "u16vec4  bfloat16BitsToUintEXT(bf16vec4 value);"
 4117|       |
 4118|      7|            "bfloat16_t intBitsToBFloat16EXT(int16_t value);"
 4119|      7|            "bf16vec2   intBitsToBFloat16EXT(i16vec2 value);"
 4120|      7|            "bf16vec3   intBitsToBFloat16EXT(i16vec3 value);"
 4121|      7|            "bf16vec4   intBitsToBFloat16EXT(i16vec4 value);"
 4122|       |
 4123|      7|            "bfloat16_t uintBitsToBFloat16EXT(uint16_t value);"
 4124|      7|            "bf16vec2   uintBitsToBFloat16EXT(u16vec2 value);"
 4125|      7|            "bf16vec3   uintBitsToBFloat16EXT(u16vec3 value);"
 4126|      7|            "bf16vec4   uintBitsToBFloat16EXT(u16vec4 value);"
 4127|       |
 4128|      7|            "int8_t  floate5m2BitsToIntEXT(floate5m2_t value);"
 4129|      7|            "i8vec2  floate5m2BitsToIntEXT(fe5m2vec2 value);"
 4130|      7|            "i8vec3  floate5m2BitsToIntEXT(fe5m2vec3 value);"
 4131|      7|            "i8vec4  floate5m2BitsToIntEXT(fe5m2vec4 value);"
 4132|       |
 4133|      7|            "uint8_t floate5m2BitsToUintEXT(floate5m2_t value);"
 4134|      7|            "u8vec2  floate5m2BitsToUintEXT(fe5m2vec2 value);"
 4135|      7|            "u8vec3  floate5m2BitsToUintEXT(fe5m2vec3 value);"
 4136|      7|            "u8vec4  floate5m2BitsToUintEXT(fe5m2vec4 value);"
 4137|       |
 4138|      7|            "floate5m2_t intBitsToFloate5m2EXT(int8_t value);"
 4139|      7|            "fe5m2vec2   intBitsToFloate5m2EXT(i8vec2 value);"
 4140|      7|            "fe5m2vec3   intBitsToFloate5m2EXT(i8vec3 value);"
 4141|      7|            "fe5m2vec4   intBitsToFloate5m2EXT(i8vec4 value);"
 4142|       |
 4143|      7|            "floate5m2_t uintBitsToFloate5m2EXT(uint8_t value);"
 4144|      7|            "fe5m2vec2   uintBitsToFloate5m2EXT(u8vec2 value);"
 4145|      7|            "fe5m2vec3   uintBitsToFloate5m2EXT(u8vec3 value);"
 4146|      7|            "fe5m2vec4   uintBitsToFloate5m2EXT(u8vec4 value);"
 4147|       |
 4148|      7|            "int8_t  floate4m3BitsToIntEXT(floate4m3_t value);"
 4149|      7|            "i8vec2  floate4m3BitsToIntEXT(fe4m3vec2 value);"
 4150|      7|            "i8vec3  floate4m3BitsToIntEXT(fe4m3vec3 value);"
 4151|      7|            "i8vec4  floate4m3BitsToIntEXT(fe4m3vec4 value);"
 4152|       |
 4153|      7|            "uint8_t floate4m3BitsToUintEXT(floate4m3_t value);"
 4154|      7|            "u8vec2  floate4m3BitsToUintEXT(fe4m3vec2 value);"
 4155|      7|            "u8vec3  floate4m3BitsToUintEXT(fe4m3vec3 value);"
 4156|      7|            "u8vec4  floate4m3BitsToUintEXT(fe4m3vec4 value);"
 4157|       |
 4158|      7|            "floate4m3_t intBitsToFloate4m3EXT(int8_t value);"
 4159|      7|            "fe4m3vec2   intBitsToFloate4m3EXT(i8vec2 value);"
 4160|      7|            "fe4m3vec3   intBitsToFloate4m3EXT(i8vec3 value);"
 4161|      7|            "fe4m3vec4   intBitsToFloate4m3EXT(i8vec4 value);"
 4162|       |
 4163|      7|            "floate4m3_t uintBitsToFloate4m3EXT(uint8_t value);"
 4164|      7|            "fe4m3vec2   uintBitsToFloate4m3EXT(u8vec2 value);"
 4165|      7|            "fe4m3vec3   uintBitsToFloate4m3EXT(u8vec3 value);"
 4166|      7|            "fe4m3vec4   uintBitsToFloate4m3EXT(u8vec4 value);"
 4167|       |
 4168|      7|            "void saturatedConvertEXT();"
 4169|      7|            "\n");
 4170|      7|    }
 4171|       |
 4172|       |    // Explicit types
 4173|     46|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (4173:10): [True: 7, False: 39]
  |  Branch (4173:35): [True: 7, False: 0]
  |  Branch (4173:55): [True: 39, False: 0]
  |  Branch (4173:80): [True: 0, False: 39]
  ------------------
 4174|      7|        commonBuiltins.append(
 4175|      7|            "int8_t abs(int8_t);"
 4176|      7|            "i8vec2 abs(i8vec2);"
 4177|      7|            "i8vec3 abs(i8vec3);"
 4178|      7|            "i8vec4 abs(i8vec4);"
 4179|       |
 4180|      7|            "int8_t sign(int8_t);"
 4181|      7|            "i8vec2 sign(i8vec2);"
 4182|      7|            "i8vec3 sign(i8vec3);"
 4183|      7|            "i8vec4 sign(i8vec4);"
 4184|       |
 4185|      7|            "int8_t min(int8_t x, int8_t y);"
 4186|      7|            "i8vec2 min(i8vec2 x, int8_t y);"
 4187|      7|            "i8vec3 min(i8vec3 x, int8_t y);"
 4188|      7|            "i8vec4 min(i8vec4 x, int8_t y);"
 4189|      7|            "i8vec2 min(i8vec2 x, i8vec2 y);"
 4190|      7|            "i8vec3 min(i8vec3 x, i8vec3 y);"
 4191|      7|            "i8vec4 min(i8vec4 x, i8vec4 y);"
 4192|       |
 4193|      7|            "uint8_t min(uint8_t x, uint8_t y);"
 4194|      7|            "u8vec2 min(u8vec2 x, uint8_t y);"
 4195|      7|            "u8vec3 min(u8vec3 x, uint8_t y);"
 4196|      7|            "u8vec4 min(u8vec4 x, uint8_t y);"
 4197|      7|            "u8vec2 min(u8vec2 x, u8vec2 y);"
 4198|      7|            "u8vec3 min(u8vec3 x, u8vec3 y);"
 4199|      7|            "u8vec4 min(u8vec4 x, u8vec4 y);"
 4200|       |
 4201|      7|            "int8_t max(int8_t x, int8_t y);"
 4202|      7|            "i8vec2 max(i8vec2 x, int8_t y);"
 4203|      7|            "i8vec3 max(i8vec3 x, int8_t y);"
 4204|      7|            "i8vec4 max(i8vec4 x, int8_t y);"
 4205|      7|            "i8vec2 max(i8vec2 x, i8vec2 y);"
 4206|      7|            "i8vec3 max(i8vec3 x, i8vec3 y);"
 4207|      7|            "i8vec4 max(i8vec4 x, i8vec4 y);"
 4208|       |
 4209|      7|            "uint8_t max(uint8_t x, uint8_t y);"
 4210|      7|            "u8vec2 max(u8vec2 x, uint8_t y);"
 4211|      7|            "u8vec3 max(u8vec3 x, uint8_t y);"
 4212|      7|            "u8vec4 max(u8vec4 x, uint8_t y);"
 4213|      7|            "u8vec2 max(u8vec2 x, u8vec2 y);"
 4214|      7|            "u8vec3 max(u8vec3 x, u8vec3 y);"
 4215|      7|            "u8vec4 max(u8vec4 x, u8vec4 y);"
 4216|       |
 4217|      7|            "int8_t    clamp(int8_t x, int8_t minVal, int8_t maxVal);"
 4218|      7|            "i8vec2  clamp(i8vec2  x, int8_t minVal, int8_t maxVal);"
 4219|      7|            "i8vec3  clamp(i8vec3  x, int8_t minVal, int8_t maxVal);"
 4220|      7|            "i8vec4  clamp(i8vec4  x, int8_t minVal, int8_t maxVal);"
 4221|      7|            "i8vec2  clamp(i8vec2  x, i8vec2  minVal, i8vec2  maxVal);"
 4222|      7|            "i8vec3  clamp(i8vec3  x, i8vec3  minVal, i8vec3  maxVal);"
 4223|      7|            "i8vec4  clamp(i8vec4  x, i8vec4  minVal, i8vec4  maxVal);"
 4224|       |
 4225|      7|            "uint8_t   clamp(uint8_t x, uint8_t minVal, uint8_t maxVal);"
 4226|      7|            "u8vec2  clamp(u8vec2  x, uint8_t minVal, uint8_t maxVal);"
 4227|      7|            "u8vec3  clamp(u8vec3  x, uint8_t minVal, uint8_t maxVal);"
 4228|      7|            "u8vec4  clamp(u8vec4  x, uint8_t minVal, uint8_t maxVal);"
 4229|      7|            "u8vec2  clamp(u8vec2  x, u8vec2  minVal, u8vec2  maxVal);"
 4230|      7|            "u8vec3  clamp(u8vec3  x, u8vec3  minVal, u8vec3  maxVal);"
 4231|      7|            "u8vec4  clamp(u8vec4  x, u8vec4  minVal, u8vec4  maxVal);"
 4232|       |
 4233|      7|            "int8_t  mix(int8_t,  int8_t,  bool);"
 4234|      7|            "i8vec2  mix(i8vec2,  i8vec2,  bvec2);"
 4235|      7|            "i8vec3  mix(i8vec3,  i8vec3,  bvec3);"
 4236|      7|            "i8vec4  mix(i8vec4,  i8vec4,  bvec4);"
 4237|      7|            "uint8_t mix(uint8_t, uint8_t, bool);"
 4238|      7|            "u8vec2  mix(u8vec2,  u8vec2,  bvec2);"
 4239|      7|            "u8vec3  mix(u8vec3,  u8vec3,  bvec3);"
 4240|      7|            "u8vec4  mix(u8vec4,  u8vec4,  bvec4);"
 4241|       |
 4242|      7|            "bvec2 lessThan(i8vec2, i8vec2);"
 4243|      7|            "bvec3 lessThan(i8vec3, i8vec3);"
 4244|      7|            "bvec4 lessThan(i8vec4, i8vec4);"
 4245|      7|            "bvec2 lessThan(u8vec2, u8vec2);"
 4246|      7|            "bvec3 lessThan(u8vec3, u8vec3);"
 4247|      7|            "bvec4 lessThan(u8vec4, u8vec4);"
 4248|       |
 4249|      7|            "bvec2 lessThanEqual(i8vec2, i8vec2);"
 4250|      7|            "bvec3 lessThanEqual(i8vec3, i8vec3);"
 4251|      7|            "bvec4 lessThanEqual(i8vec4, i8vec4);"
 4252|      7|            "bvec2 lessThanEqual(u8vec2, u8vec2);"
 4253|      7|            "bvec3 lessThanEqual(u8vec3, u8vec3);"
 4254|      7|            "bvec4 lessThanEqual(u8vec4, u8vec4);"
 4255|       |
 4256|      7|            "bvec2 greaterThan(i8vec2, i8vec2);"
 4257|      7|            "bvec3 greaterThan(i8vec3, i8vec3);"
 4258|      7|            "bvec4 greaterThan(i8vec4, i8vec4);"
 4259|      7|            "bvec2 greaterThan(u8vec2, u8vec2);"
 4260|      7|            "bvec3 greaterThan(u8vec3, u8vec3);"
 4261|      7|            "bvec4 greaterThan(u8vec4, u8vec4);"
 4262|       |
 4263|      7|            "bvec2 greaterThanEqual(i8vec2, i8vec2);"
 4264|      7|            "bvec3 greaterThanEqual(i8vec3, i8vec3);"
 4265|      7|            "bvec4 greaterThanEqual(i8vec4, i8vec4);"
 4266|      7|            "bvec2 greaterThanEqual(u8vec2, u8vec2);"
 4267|      7|            "bvec3 greaterThanEqual(u8vec3, u8vec3);"
 4268|      7|            "bvec4 greaterThanEqual(u8vec4, u8vec4);"
 4269|       |
 4270|      7|            "bvec2 equal(i8vec2, i8vec2);"
 4271|      7|            "bvec3 equal(i8vec3, i8vec3);"
 4272|      7|            "bvec4 equal(i8vec4, i8vec4);"
 4273|      7|            "bvec2 equal(u8vec2, u8vec2);"
 4274|      7|            "bvec3 equal(u8vec3, u8vec3);"
 4275|      7|            "bvec4 equal(u8vec4, u8vec4);"
 4276|       |
 4277|      7|            "bvec2 notEqual(i8vec2, i8vec2);"
 4278|      7|            "bvec3 notEqual(i8vec3, i8vec3);"
 4279|      7|            "bvec4 notEqual(i8vec4, i8vec4);"
 4280|      7|            "bvec2 notEqual(u8vec2, u8vec2);"
 4281|      7|            "bvec3 notEqual(u8vec3, u8vec3);"
 4282|      7|            "bvec4 notEqual(u8vec4, u8vec4);"
 4283|       |
 4284|      7|            "  int8_t bitfieldExtract(  int8_t, int8_t, int8_t);"
 4285|      7|            "i8vec2 bitfieldExtract(i8vec2, int8_t, int8_t);"
 4286|      7|            "i8vec3 bitfieldExtract(i8vec3, int8_t, int8_t);"
 4287|      7|            "i8vec4 bitfieldExtract(i8vec4, int8_t, int8_t);"
 4288|       |
 4289|      7|            " uint8_t bitfieldExtract( uint8_t, int8_t, int8_t);"
 4290|      7|            "u8vec2 bitfieldExtract(u8vec2, int8_t, int8_t);"
 4291|      7|            "u8vec3 bitfieldExtract(u8vec3, int8_t, int8_t);"
 4292|      7|            "u8vec4 bitfieldExtract(u8vec4, int8_t, int8_t);"
 4293|       |
 4294|      7|            "  int8_t bitfieldInsert(  int8_t base,   int8_t, int8_t, int8_t);"
 4295|      7|            "i8vec2 bitfieldInsert(i8vec2 base, i8vec2, int8_t, int8_t);"
 4296|      7|            "i8vec3 bitfieldInsert(i8vec3 base, i8vec3, int8_t, int8_t);"
 4297|      7|            "i8vec4 bitfieldInsert(i8vec4 base, i8vec4, int8_t, int8_t);"
 4298|       |
 4299|      7|            " uint8_t bitfieldInsert( uint8_t base,  uint8_t, int8_t, int8_t);"
 4300|      7|            "u8vec2 bitfieldInsert(u8vec2 base, u8vec2, int8_t, int8_t);"
 4301|      7|            "u8vec3 bitfieldInsert(u8vec3 base, u8vec3, int8_t, int8_t);"
 4302|      7|            "u8vec4 bitfieldInsert(u8vec4 base, u8vec4, int8_t, int8_t);"
 4303|       |
 4304|      7|            "  int8_t bitCount(  int8_t);"
 4305|      7|            "i8vec2 bitCount(i8vec2);"
 4306|      7|            "i8vec3 bitCount(i8vec3);"
 4307|      7|            "i8vec4 bitCount(i8vec4);"
 4308|       |
 4309|      7|            "  int8_t bitCount( uint8_t);"
 4310|      7|            "i8vec2 bitCount(u8vec2);"
 4311|      7|            "i8vec3 bitCount(u8vec3);"
 4312|      7|            "i8vec4 bitCount(u8vec4);"
 4313|       |
 4314|      7|            "int8_t bitfieldReverse(highp int8_t);"
 4315|      7|            "i8vec2 bitfieldReverse(highp i8vec2);"
 4316|      7|            "i8vec3 bitfieldReverse(highp i8vec3);"
 4317|      7|            "i8vec4 bitfieldReverse(highp i8vec4);"
 4318|       |
 4319|      7|            "uint8_t bitfieldReverse(highp uint8_t);"
 4320|      7|            "u8vec2  bitfieldReverse(highp u8vec2);"
 4321|      7|            "u8vec3  bitfieldReverse(highp u8vec3);"
 4322|      7|            "u8vec4  bitfieldReverse(highp u8vec4);"
 4323|       |
 4324|      7|            "  int8_t findLSB(  int8_t);"
 4325|      7|            "i8vec2 findLSB(i8vec2);"
 4326|      7|            "i8vec3 findLSB(i8vec3);"
 4327|      7|            "i8vec4 findLSB(i8vec4);"
 4328|       |
 4329|      7|            "  int8_t findLSB( uint8_t);"
 4330|      7|            "i8vec2 findLSB(u8vec2);"
 4331|      7|            "i8vec3 findLSB(u8vec3);"
 4332|      7|            "i8vec4 findLSB(u8vec4);"
 4333|       |
 4334|      7|            "  int8_t findMSB(  int8_t);"
 4335|      7|            "i8vec2 findMSB(i8vec2);"
 4336|      7|            "i8vec3 findMSB(i8vec3);"
 4337|      7|            "i8vec4 findMSB(i8vec4);"
 4338|       |
 4339|      7|            "  int8_t findMSB( uint8_t);"
 4340|      7|            "i8vec2 findMSB(u8vec2);"
 4341|      7|            "i8vec3 findMSB(u8vec3);"
 4342|      7|            "i8vec4 findMSB(u8vec4);"
 4343|       |
 4344|      7|            "int16_t abs(int16_t);"
 4345|      7|            "i16vec2 abs(i16vec2);"
 4346|      7|            "i16vec3 abs(i16vec3);"
 4347|      7|            "i16vec4 abs(i16vec4);"
 4348|       |
 4349|      7|            "int16_t sign(int16_t);"
 4350|      7|            "i16vec2 sign(i16vec2);"
 4351|      7|            "i16vec3 sign(i16vec3);"
 4352|      7|            "i16vec4 sign(i16vec4);"
 4353|       |
 4354|      7|            "int16_t min(int16_t x, int16_t y);"
 4355|      7|            "i16vec2 min(i16vec2 x, int16_t y);"
 4356|      7|            "i16vec3 min(i16vec3 x, int16_t y);"
 4357|      7|            "i16vec4 min(i16vec4 x, int16_t y);"
 4358|      7|            "i16vec2 min(i16vec2 x, i16vec2 y);"
 4359|      7|            "i16vec3 min(i16vec3 x, i16vec3 y);"
 4360|      7|            "i16vec4 min(i16vec4 x, i16vec4 y);"
 4361|       |
 4362|      7|            "uint16_t min(uint16_t x, uint16_t y);"
 4363|      7|            "u16vec2 min(u16vec2 x, uint16_t y);"
 4364|      7|            "u16vec3 min(u16vec3 x, uint16_t y);"
 4365|      7|            "u16vec4 min(u16vec4 x, uint16_t y);"
 4366|      7|            "u16vec2 min(u16vec2 x, u16vec2 y);"
 4367|      7|            "u16vec3 min(u16vec3 x, u16vec3 y);"
 4368|      7|            "u16vec4 min(u16vec4 x, u16vec4 y);"
 4369|       |
 4370|      7|            "int16_t max(int16_t x, int16_t y);"
 4371|      7|            "i16vec2 max(i16vec2 x, int16_t y);"
 4372|      7|            "i16vec3 max(i16vec3 x, int16_t y);"
 4373|      7|            "i16vec4 max(i16vec4 x, int16_t y);"
 4374|      7|            "i16vec2 max(i16vec2 x, i16vec2 y);"
 4375|      7|            "i16vec3 max(i16vec3 x, i16vec3 y);"
 4376|      7|            "i16vec4 max(i16vec4 x, i16vec4 y);"
 4377|       |
 4378|      7|            "uint16_t max(uint16_t x, uint16_t y);"
 4379|      7|            "u16vec2 max(u16vec2 x, uint16_t y);"
 4380|      7|            "u16vec3 max(u16vec3 x, uint16_t y);"
 4381|      7|            "u16vec4 max(u16vec4 x, uint16_t y);"
 4382|      7|            "u16vec2 max(u16vec2 x, u16vec2 y);"
 4383|      7|            "u16vec3 max(u16vec3 x, u16vec3 y);"
 4384|      7|            "u16vec4 max(u16vec4 x, u16vec4 y);"
 4385|       |
 4386|      7|            "int16_t    clamp(int16_t x, int16_t minVal, int16_t maxVal);"
 4387|      7|            "i16vec2  clamp(i16vec2  x, int16_t minVal, int16_t maxVal);"
 4388|      7|            "i16vec3  clamp(i16vec3  x, int16_t minVal, int16_t maxVal);"
 4389|      7|            "i16vec4  clamp(i16vec4  x, int16_t minVal, int16_t maxVal);"
 4390|      7|            "i16vec2  clamp(i16vec2  x, i16vec2  minVal, i16vec2  maxVal);"
 4391|      7|            "i16vec3  clamp(i16vec3  x, i16vec3  minVal, i16vec3  maxVal);"
 4392|      7|            "i16vec4  clamp(i16vec4  x, i16vec4  minVal, i16vec4  maxVal);"
 4393|       |
 4394|      7|            "uint16_t   clamp(uint16_t x, uint16_t minVal, uint16_t maxVal);"
 4395|      7|            "u16vec2  clamp(u16vec2  x, uint16_t minVal, uint16_t maxVal);"
 4396|      7|            "u16vec3  clamp(u16vec3  x, uint16_t minVal, uint16_t maxVal);"
 4397|      7|            "u16vec4  clamp(u16vec4  x, uint16_t minVal, uint16_t maxVal);"
 4398|      7|            "u16vec2  clamp(u16vec2  x, u16vec2  minVal, u16vec2  maxVal);"
 4399|      7|            "u16vec3  clamp(u16vec3  x, u16vec3  minVal, u16vec3  maxVal);"
 4400|      7|            "u16vec4  clamp(u16vec4  x, u16vec4  minVal, u16vec4  maxVal);"
 4401|       |
 4402|      7|            "int16_t  mix(int16_t,  int16_t,  bool);"
 4403|      7|            "i16vec2  mix(i16vec2,  i16vec2,  bvec2);"
 4404|      7|            "i16vec3  mix(i16vec3,  i16vec3,  bvec3);"
 4405|      7|            "i16vec4  mix(i16vec4,  i16vec4,  bvec4);"
 4406|      7|            "uint16_t mix(uint16_t, uint16_t, bool);"
 4407|      7|            "u16vec2  mix(u16vec2,  u16vec2,  bvec2);"
 4408|      7|            "u16vec3  mix(u16vec3,  u16vec3,  bvec3);"
 4409|      7|            "u16vec4  mix(u16vec4,  u16vec4,  bvec4);"
 4410|       |
 4411|      7|            "float16_t frexp(float16_t, out int16_t);"
 4412|      7|            "f16vec2   frexp(f16vec2,   out i16vec2);"
 4413|      7|            "f16vec3   frexp(f16vec3,   out i16vec3);"
 4414|      7|            "f16vec4   frexp(f16vec4,   out i16vec4);"
 4415|       |
 4416|      7|            "float16_t ldexp(float16_t, int16_t);"
 4417|      7|            "f16vec2   ldexp(f16vec2,   i16vec2);"
 4418|      7|            "f16vec3   ldexp(f16vec3,   i16vec3);"
 4419|      7|            "f16vec4   ldexp(f16vec4,   i16vec4);"
 4420|       |
 4421|      7|            "int16_t halfBitsToInt16(float16_t);"
 4422|      7|            "i16vec2 halfBitsToInt16(f16vec2);"
 4423|      7|            "i16vec3 halhBitsToInt16(f16vec3);"
 4424|      7|            "i16vec4 halfBitsToInt16(f16vec4);"
 4425|       |
 4426|      7|            "uint16_t halfBitsToUint16(float16_t);"
 4427|      7|            "u16vec2  halfBitsToUint16(f16vec2);"
 4428|      7|            "u16vec3  halfBitsToUint16(f16vec3);"
 4429|      7|            "u16vec4  halfBitsToUint16(f16vec4);"
 4430|       |
 4431|      7|            "int16_t float16BitsToInt16(float16_t);"
 4432|      7|            "i16vec2 float16BitsToInt16(f16vec2);"
 4433|      7|            "i16vec3 float16BitsToInt16(f16vec3);"
 4434|      7|            "i16vec4 float16BitsToInt16(f16vec4);"
 4435|       |
 4436|      7|            "uint16_t float16BitsToUint16(float16_t);"
 4437|      7|            "u16vec2  float16BitsToUint16(f16vec2);"
 4438|      7|            "u16vec3  float16BitsToUint16(f16vec3);"
 4439|      7|            "u16vec4  float16BitsToUint16(f16vec4);"
 4440|       |
 4441|      7|            "float16_t int16BitsToFloat16(int16_t);"
 4442|      7|            "f16vec2   int16BitsToFloat16(i16vec2);"
 4443|      7|            "f16vec3   int16BitsToFloat16(i16vec3);"
 4444|      7|            "f16vec4   int16BitsToFloat16(i16vec4);"
 4445|       |
 4446|      7|            "float16_t uint16BitsToFloat16(uint16_t);"
 4447|      7|            "f16vec2   uint16BitsToFloat16(u16vec2);"
 4448|      7|            "f16vec3   uint16BitsToFloat16(u16vec3);"
 4449|      7|            "f16vec4   uint16BitsToFloat16(u16vec4);"
 4450|       |
 4451|      7|            "float16_t int16BitsToHalf(int16_t);"
 4452|      7|            "f16vec2   int16BitsToHalf(i16vec2);"
 4453|      7|            "f16vec3   int16BitsToHalf(i16vec3);"
 4454|      7|            "f16vec4   int16BitsToHalf(i16vec4);"
 4455|       |
 4456|      7|            "float16_t uint16BitsToHalf(uint16_t);"
 4457|      7|            "f16vec2   uint16BitsToHalf(u16vec2);"
 4458|      7|            "f16vec3   uint16BitsToHalf(u16vec3);"
 4459|      7|            "f16vec4   uint16BitsToHalf(u16vec4);"
 4460|       |
 4461|      7|            "int      packInt2x16(i16vec2);"
 4462|      7|            "uint     packUint2x16(u16vec2);"
 4463|      7|            "int64_t  packInt4x16(i16vec4);"
 4464|      7|            "uint64_t packUint4x16(u16vec4);"
 4465|      7|            "i16vec2  unpackInt2x16(int);"
 4466|      7|            "u16vec2  unpackUint2x16(uint);"
 4467|      7|            "i16vec4  unpackInt4x16(int64_t);"
 4468|      7|            "u16vec4  unpackUint4x16(uint64_t);"
 4469|       |
 4470|      7|            "bvec2 lessThan(i16vec2, i16vec2);"
 4471|      7|            "bvec3 lessThan(i16vec3, i16vec3);"
 4472|      7|            "bvec4 lessThan(i16vec4, i16vec4);"
 4473|      7|            "bvec2 lessThan(u16vec2, u16vec2);"
 4474|      7|            "bvec3 lessThan(u16vec3, u16vec3);"
 4475|      7|            "bvec4 lessThan(u16vec4, u16vec4);"
 4476|       |
 4477|      7|            "bvec2 lessThanEqual(i16vec2, i16vec2);"
 4478|      7|            "bvec3 lessThanEqual(i16vec3, i16vec3);"
 4479|      7|            "bvec4 lessThanEqual(i16vec4, i16vec4);"
 4480|      7|            "bvec2 lessThanEqual(u16vec2, u16vec2);"
 4481|      7|            "bvec3 lessThanEqual(u16vec3, u16vec3);"
 4482|      7|            "bvec4 lessThanEqual(u16vec4, u16vec4);"
 4483|       |
 4484|      7|            "bvec2 greaterThan(i16vec2, i16vec2);"
 4485|      7|            "bvec3 greaterThan(i16vec3, i16vec3);"
 4486|      7|            "bvec4 greaterThan(i16vec4, i16vec4);"
 4487|      7|            "bvec2 greaterThan(u16vec2, u16vec2);"
 4488|      7|            "bvec3 greaterThan(u16vec3, u16vec3);"
 4489|      7|            "bvec4 greaterThan(u16vec4, u16vec4);"
 4490|       |
 4491|      7|            "bvec2 greaterThanEqual(i16vec2, i16vec2);"
 4492|      7|            "bvec3 greaterThanEqual(i16vec3, i16vec3);"
 4493|      7|            "bvec4 greaterThanEqual(i16vec4, i16vec4);"
 4494|      7|            "bvec2 greaterThanEqual(u16vec2, u16vec2);"
 4495|      7|            "bvec3 greaterThanEqual(u16vec3, u16vec3);"
 4496|      7|            "bvec4 greaterThanEqual(u16vec4, u16vec4);"
 4497|       |
 4498|      7|            "bvec2 equal(i16vec2, i16vec2);"
 4499|      7|            "bvec3 equal(i16vec3, i16vec3);"
 4500|      7|            "bvec4 equal(i16vec4, i16vec4);"
 4501|      7|            "bvec2 equal(u16vec2, u16vec2);"
 4502|      7|            "bvec3 equal(u16vec3, u16vec3);"
 4503|      7|            "bvec4 equal(u16vec4, u16vec4);"
 4504|       |
 4505|      7|            "bvec2 notEqual(i16vec2, i16vec2);"
 4506|      7|            "bvec3 notEqual(i16vec3, i16vec3);"
 4507|      7|            "bvec4 notEqual(i16vec4, i16vec4);"
 4508|      7|            "bvec2 notEqual(u16vec2, u16vec2);"
 4509|      7|            "bvec3 notEqual(u16vec3, u16vec3);"
 4510|      7|            "bvec4 notEqual(u16vec4, u16vec4);"
 4511|       |
 4512|      7|            "  int16_t bitfieldExtract(  int16_t, int16_t, int16_t);"
 4513|      7|            "i16vec2 bitfieldExtract(i16vec2, int16_t, int16_t);"
 4514|      7|            "i16vec3 bitfieldExtract(i16vec3, int16_t, int16_t);"
 4515|      7|            "i16vec4 bitfieldExtract(i16vec4, int16_t, int16_t);"
 4516|       |
 4517|      7|            " uint16_t bitfieldExtract( uint16_t, int16_t, int16_t);"
 4518|      7|            "u16vec2 bitfieldExtract(u16vec2, int16_t, int16_t);"
 4519|      7|            "u16vec3 bitfieldExtract(u16vec3, int16_t, int16_t);"
 4520|      7|            "u16vec4 bitfieldExtract(u16vec4, int16_t, int16_t);"
 4521|       |
 4522|      7|            "  int16_t bitfieldInsert(  int16_t base,   int16_t, int16_t, int16_t);"
 4523|      7|            "i16vec2 bitfieldInsert(i16vec2 base, i16vec2, int16_t, int16_t);"
 4524|      7|            "i16vec3 bitfieldInsert(i16vec3 base, i16vec3, int16_t, int16_t);"
 4525|      7|            "i16vec4 bitfieldInsert(i16vec4 base, i16vec4, int16_t, int16_t);"
 4526|       |
 4527|      7|            " uint16_t bitfieldInsert( uint16_t base,  uint16_t, int16_t, int16_t);"
 4528|      7|            "u16vec2 bitfieldInsert(u16vec2 base, u16vec2, int16_t, int16_t);"
 4529|      7|            "u16vec3 bitfieldInsert(u16vec3 base, u16vec3, int16_t, int16_t);"
 4530|      7|            "u16vec4 bitfieldInsert(u16vec4 base, u16vec4, int16_t, int16_t);"
 4531|       |
 4532|      7|            "  int16_t bitCount(  int16_t);"
 4533|      7|            "i16vec2 bitCount(i16vec2);"
 4534|      7|            "i16vec3 bitCount(i16vec3);"
 4535|      7|            "i16vec4 bitCount(i16vec4);"
 4536|       |
 4537|      7|            "  int16_t bitCount( uint16_t);"
 4538|      7|            "i16vec2 bitCount(u16vec2);"
 4539|      7|            "i16vec3 bitCount(u16vec3);"
 4540|      7|            "i16vec4 bitCount(u16vec4);"
 4541|       |
 4542|      7|            "int16_t bitfieldReverse(highp int16_t);"
 4543|      7|            "i16vec2 bitfieldReverse(highp i16vec2);"
 4544|      7|            "i16vec3 bitfieldReverse(highp i16vec3);"
 4545|      7|            "i16vec4 bitfieldReverse(highp i16vec4);"
 4546|       |
 4547|      7|            "uint16_t bitfieldReverse(highp uint16_t);"
 4548|      7|            "u16vec2  bitfieldReverse(highp u16vec2);"
 4549|      7|            "u16vec3  bitfieldReverse(highp u16vec3);"
 4550|      7|            "u16vec4  bitfieldReverse(highp u16vec4);"
 4551|       |
 4552|      7|            "  int16_t findLSB(  int16_t);"
 4553|      7|            "i16vec2 findLSB(i16vec2);"
 4554|      7|            "i16vec3 findLSB(i16vec3);"
 4555|      7|            "i16vec4 findLSB(i16vec4);"
 4556|       |
 4557|      7|            "  int16_t findLSB( uint16_t);"
 4558|      7|            "i16vec2 findLSB(u16vec2);"
 4559|      7|            "i16vec3 findLSB(u16vec3);"
 4560|      7|            "i16vec4 findLSB(u16vec4);"
 4561|       |
 4562|      7|            "  int16_t findMSB(  int16_t);"
 4563|      7|            "i16vec2 findMSB(i16vec2);"
 4564|      7|            "i16vec3 findMSB(i16vec3);"
 4565|      7|            "i16vec4 findMSB(i16vec4);"
 4566|       |
 4567|      7|            "  int16_t findMSB( uint16_t);"
 4568|      7|            "i16vec2 findMSB(u16vec2);"
 4569|      7|            "i16vec3 findMSB(u16vec3);"
 4570|      7|            "i16vec4 findMSB(u16vec4);"
 4571|       |
 4572|      7|            "int16_t  pack16(i8vec2);"
 4573|      7|            "uint16_t pack16(u8vec2);"
 4574|      7|            "int32_t  pack32(i8vec4);"
 4575|      7|            "uint32_t pack32(u8vec4);"
 4576|      7|            "int32_t  pack32(i16vec2);"
 4577|      7|            "uint32_t pack32(u16vec2);"
 4578|      7|            "int64_t  pack64(i16vec4);"
 4579|      7|            "uint64_t pack64(u16vec4);"
 4580|      7|            "int64_t  pack64(i32vec2);"
 4581|      7|            "uint64_t pack64(u32vec2);"
 4582|       |
 4583|      7|            "i8vec2   unpack8(int16_t);"
 4584|      7|            "u8vec2   unpack8(uint16_t);"
 4585|      7|            "i8vec4   unpack8(int32_t);"
 4586|      7|            "u8vec4   unpack8(uint32_t);"
 4587|      7|            "i16vec2  unpack16(int32_t);"
 4588|      7|            "u16vec2  unpack16(uint32_t);"
 4589|      7|            "i16vec4  unpack16(int64_t);"
 4590|      7|            "u16vec4  unpack16(uint64_t);"
 4591|      7|            "i32vec2  unpack32(int64_t);"
 4592|      7|            "u32vec2  unpack32(uint64_t);"
 4593|       |
 4594|       |            // GL_EXT_expect_assume
 4595|      7|            "int8_t expectEXT(int8_t, int8_t);"
 4596|      7|            "i8vec2 expectEXT(i8vec2, i8vec2);"
 4597|      7|            "i8vec3 expectEXT(i8vec3, i8vec3);"
 4598|      7|            "i8vec4 expectEXT(i8vec4, i8vec4);"
 4599|       |
 4600|      7|            "uint8_t expectEXT(uint8_t, uint8_t);"
 4601|      7|            "u8vec2 expectEXT(u8vec2, u8vec2);"
 4602|      7|            "u8vec3 expectEXT(u8vec3, u8vec3);"
 4603|      7|            "u8vec4 expectEXT(u8vec4, u8vec4);"
 4604|       |
 4605|      7|            "int16_t expectEXT(int16_t, int16_t);"
 4606|      7|            "i16vec2 expectEXT(i16vec2, i16vec2);"
 4607|      7|            "i16vec3 expectEXT(i16vec3, i16vec3);"
 4608|      7|            "i16vec4 expectEXT(i16vec4, i16vec4);"
 4609|       |
 4610|      7|            "uint16_t expectEXT(uint16_t, uint16_t);"
 4611|      7|            "u16vec2 expectEXT(u16vec2, u16vec2);"
 4612|      7|            "u16vec3 expectEXT(u16vec3, u16vec3);"
 4613|      7|            "u16vec4 expectEXT(u16vec4, u16vec4);"
 4614|       |
 4615|      7|            "int64_t expectEXT(int64_t, int64_t);"
 4616|      7|            "i64vec2 expectEXT(i64vec2, i64vec2);"
 4617|      7|            "i64vec3 expectEXT(i64vec3, i64vec3);"
 4618|      7|            "i64vec4 expectEXT(i64vec4, i64vec4);"
 4619|       |
 4620|      7|            "uint64_t expectEXT(uint64_t, uint64_t);"
 4621|      7|            "u64vec2 expectEXT(u64vec2, u64vec2);"
 4622|      7|            "u64vec3 expectEXT(u64vec3, u64vec3);"
 4623|      7|            "u64vec4 expectEXT(u64vec4, u64vec4);"
 4624|      7|            "\n");
 4625|      7|    }
 4626|       |
 4627|       |    // Builtins for GL_EXT_texture_shadow_lod
 4628|     46|    if ((profile == EEsProfile && version >= 300) || ((profile != EEsProfile && version >= 130))) { 
  ------------------
  |  Branch (4628:10): [True: 39, False: 7]
  |  Branch (4628:35): [True: 0, False: 39]
  |  Branch (4628:56): [True: 7, False: 39]
  |  Branch (4628:81): [True: 7, False: 0]
  ------------------
 4629|      7|        commonBuiltins.append(
 4630|      7|            "float texture(sampler2DArrayShadow, vec4, float);"
 4631|      7|            "float texture(samplerCubeArrayShadow, vec4, float, float);"
 4632|      7|            "float textureLod(sampler2DArrayShadow, vec4, float);"
 4633|      7|            "float textureLod(samplerCubeShadow, vec4, float);"
 4634|      7|            "float textureLod(samplerCubeArrayShadow, vec4, float, float);"
 4635|      7|            "float textureLodOffset(sampler2DArrayShadow, vec4, float, ivec2);"
 4636|      7|            "float textureOffset(sampler2DArrayShadow, vec4 , ivec2, float);"
 4637|      7|            "\n");
 4638|      7|    }
 4639|       |
 4640|     46|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (4640:9): [True: 7, False: 39]
  |  Branch (4640:34): [True: 7, False: 0]
  ------------------
 4641|      7|        stageBuiltins[EShLangFragment].append(derivativesAndControl64bits);
 4642|      7|        stageBuiltins[EShLangFragment].append(
 4643|      7|            "float64_t interpolateAtCentroid(float64_t);"
 4644|      7|            "f64vec2   interpolateAtCentroid(f64vec2);"
 4645|      7|            "f64vec3   interpolateAtCentroid(f64vec3);"
 4646|      7|            "f64vec4   interpolateAtCentroid(f64vec4);"
 4647|       |
 4648|      7|            "float64_t interpolateAtSample(float64_t, int);"
 4649|      7|            "f64vec2   interpolateAtSample(f64vec2,   int);"
 4650|      7|            "f64vec3   interpolateAtSample(f64vec3,   int);"
 4651|      7|            "f64vec4   interpolateAtSample(f64vec4,   int);"
 4652|       |
 4653|      7|            "float64_t interpolateAtOffset(float64_t, f64vec2);"
 4654|      7|            "f64vec2   interpolateAtOffset(f64vec2,   f64vec2);"
 4655|      7|            "f64vec3   interpolateAtOffset(f64vec3,   f64vec2);"
 4656|      7|            "f64vec4   interpolateAtOffset(f64vec4,   f64vec2);"
 4657|       |
 4658|      7|            "\n");
 4659|       |
 4660|      7|    }
 4661|       |
 4662|       |    // GL_EXT_expect_assume
 4663|     46|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (4663:10): [True: 39, False: 7]
  |  Branch (4663:35): [True: 0, False: 39]
  ------------------
 4664|     46|         ((profile != EEsProfile && version >= 140))) {
  ------------------
  |  Branch (4664:12): [True: 7, False: 39]
  |  Branch (4664:37): [True: 7, False: 0]
  ------------------
 4665|      7|        commonBuiltins.append(
 4666|      7|            "void assumeEXT(bool);"
 4667|       |
 4668|      7|            "bool expectEXT(bool, bool);"
 4669|      7|            "bvec2 expectEXT(bvec2, bvec2);"
 4670|      7|            "bvec3 expectEXT(bvec3, bvec3);"
 4671|      7|            "bvec4 expectEXT(bvec4, bvec4);"
 4672|       |
 4673|      7|            "int expectEXT(int, int);"
 4674|      7|            "ivec2 expectEXT(ivec2, ivec2);"
 4675|      7|            "ivec3 expectEXT(ivec3, ivec3);"
 4676|      7|            "ivec4 expectEXT(ivec4, ivec4);"
 4677|       |
 4678|      7|            "uint expectEXT(uint, uint);"
 4679|      7|            "uvec2 expectEXT(uvec2, uvec2);"
 4680|      7|            "uvec3 expectEXT(uvec3, uvec3);"
 4681|      7|            "uvec4 expectEXT(uvec4, uvec4);"
 4682|      7|            "\n");
 4683|      7|    }
 4684|       |
 4685|       |    // QCOM_image_processing
 4686|     46|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (4686:10): [True: 39, False: 7]
  |  Branch (4686:35): [True: 0, False: 39]
  ------------------
 4687|     46|         (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (4687:11): [True: 7, False: 39]
  |  Branch (4687:36): [True: 7, False: 0]
  ------------------
 4688|      7|        commonBuiltins.append(
 4689|      7|           "vec4 textureWeightedQCOM(sampler2D, vec2, sampler2DArray);"
 4690|      7|           "vec4 textureWeightedQCOM(sampler2D, vec2, sampler1DArray);"
 4691|      7|           "vec4 textureBoxFilterQCOM(sampler2D, vec2, vec2);"
 4692|      7|           "vec4 textureBlockMatchSADQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4693|      7|           "vec4 textureBlockMatchSSDQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4694|       |
 4695|      7|           "vec4 textureBlockMatchWindowSSDQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4696|      7|           "vec4 textureBlockMatchWindowSADQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4697|      7|           "vec4 textureBlockMatchGatherSSDQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4698|      7|           "vec4 textureBlockMatchGatherSADQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4699|      7|           "\n");
 4700|      7|    }
 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|     46|    if (spvVersion.vulkan == 0 && IncludeLegacy(version, profile, spvVersion))
  ------------------
  |  Branch (4713:9): [True: 45, False: 1]
  |  Branch (4713:35): [True: 0, False: 45]
  ------------------
 4714|      0|        stageBuiltins[EShLangVertex].append("vec4 ftransform();");
 4715|       |
 4716|       |    //
 4717|       |    // Original-style texture Functions with lod.
 4718|       |    //
 4719|     46|    TString* s;
 4720|     46|    if (version == 100)
  ------------------
  |  Branch (4720:9): [True: 39, False: 7]
  ------------------
 4721|     39|        s = &stageBuiltins[EShLangVertex];
 4722|      7|    else
 4723|      7|        s = &commonBuiltins;
 4724|     46|    if ((profile == EEsProfile && version == 100) ||
  ------------------
  |  Branch (4724:10): [True: 39, False: 7]
  |  Branch (4724:35): [True: 39, False: 0]
  ------------------
 4725|      7|         profile == ECompatibilityProfile ||
  ------------------
  |  Branch (4725:10): [True: 0, False: 7]
  ------------------
 4726|      7|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (4726:10): [True: 7, False: 0]
  |  Branch (4726:37): [True: 0, False: 7]
  ------------------
 4727|     39|         profile == ENoProfile) {
  ------------------
  |  Branch (4727:10): [True: 0, False: 7]
  ------------------
 4728|     39|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (4728:13): [True: 39, False: 0]
  ------------------
 4729|     39|            s->append(
 4730|     39|                "vec4 texture2DLod(sampler2D, vec2, float);"         // GL_ARB_shader_texture_lod
 4731|     39|                "vec4 texture2DProjLod(sampler2D, vec3, float);"     // GL_ARB_shader_texture_lod
 4732|     39|                "vec4 texture2DProjLod(sampler2D, vec4, float);"     // GL_ARB_shader_texture_lod
 4733|     39|                "vec4 texture3DLod(sampler3D, vec3, float);"         // GL_ARB_shader_texture_lod  // OES_texture_3D, but caught by keyword check
 4734|     39|                "vec4 texture3DProjLod(sampler3D, vec4, float);"     // GL_ARB_shader_texture_lod  // OES_texture_3D, but caught by keyword check
 4735|     39|                "vec4 textureCubeLod(samplerCube, vec3, float);"     // GL_ARB_shader_texture_lod
 4736|       |
 4737|     39|                "\n");
 4738|     39|        }
 4739|     39|    }
 4740|     46|    if ( profile == ECompatibilityProfile ||
  ------------------
  |  Branch (4740:10): [True: 0, False: 46]
  ------------------
 4741|     46|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (4741:10): [True: 7, False: 39]
  |  Branch (4741:37): [True: 0, False: 7]
  ------------------
 4742|     46|         profile == ENoProfile) {
  ------------------
  |  Branch (4742:10): [True: 0, False: 46]
  ------------------
 4743|      0|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (4743:13): [True: 0, False: 0]
  ------------------
 4744|      0|            s->append(
 4745|      0|                "vec4 texture1DLod(sampler1D, float, float);"                          // GL_ARB_shader_texture_lod
 4746|      0|                "vec4 texture1DProjLod(sampler1D, vec2, float);"                       // GL_ARB_shader_texture_lod
 4747|      0|                "vec4 texture1DProjLod(sampler1D, vec4, float);"                       // GL_ARB_shader_texture_lod
 4748|      0|                "vec4 shadow1DLod(sampler1DShadow, vec3, float);"                      // GL_ARB_shader_texture_lod
 4749|      0|                "vec4 shadow2DLod(sampler2DShadow, vec3, float);"                      // GL_ARB_shader_texture_lod
 4750|      0|                "vec4 shadow1DProjLod(sampler1DShadow, vec4, float);"                  // GL_ARB_shader_texture_lod
 4751|      0|                "vec4 shadow2DProjLod(sampler2DShadow, vec4, float);"                  // GL_ARB_shader_texture_lod
 4752|       |
 4753|      0|                "vec4 texture1DGradARB(sampler1D, float, float, float);"               // GL_ARB_shader_texture_lod
 4754|      0|                "vec4 texture1DProjGradARB(sampler1D, vec2, float, float);"            // GL_ARB_shader_texture_lod
 4755|      0|                "vec4 texture1DProjGradARB(sampler1D, vec4, float, float);"            // GL_ARB_shader_texture_lod
 4756|      0|                "vec4 texture2DGradARB(sampler2D, vec2, vec2, vec2);"                  // GL_ARB_shader_texture_lod
 4757|      0|                "vec4 texture2DProjGradARB(sampler2D, vec3, vec2, vec2);"              // GL_ARB_shader_texture_lod
 4758|      0|                "vec4 texture2DProjGradARB(sampler2D, vec4, vec2, vec2);"              // GL_ARB_shader_texture_lod
 4759|      0|                "vec4 texture3DGradARB(sampler3D, vec3, vec3, vec3);"                  // GL_ARB_shader_texture_lod
 4760|      0|                "vec4 texture3DProjGradARB(sampler3D, vec4, vec3, vec3);"              // GL_ARB_shader_texture_lod
 4761|      0|                "vec4 textureCubeGradARB(samplerCube, vec3, vec3, vec3);"              // GL_ARB_shader_texture_lod
 4762|      0|                "vec4 shadow1DGradARB(sampler1DShadow, vec3, float, float);"           // GL_ARB_shader_texture_lod
 4763|      0|                "vec4 shadow1DProjGradARB( sampler1DShadow, vec4, float, float);"      // GL_ARB_shader_texture_lod
 4764|      0|                "vec4 shadow2DGradARB(sampler2DShadow, vec3, vec2, vec2);"             // GL_ARB_shader_texture_lod
 4765|      0|                "vec4 shadow2DProjGradARB( sampler2DShadow, vec4, vec2, vec2);"        // GL_ARB_shader_texture_lod
 4766|      0|                "vec4 texture2DRectGradARB(sampler2DRect, vec2, vec2, vec2);"          // GL_ARB_shader_texture_lod
 4767|      0|                "vec4 texture2DRectProjGradARB( sampler2DRect, vec3, vec2, vec2);"     // GL_ARB_shader_texture_lod
 4768|      0|                "vec4 texture2DRectProjGradARB( sampler2DRect, vec4, vec2, vec2);"     // GL_ARB_shader_texture_lod
 4769|      0|                "vec4 shadow2DRectGradARB( sampler2DRectShadow, vec3, vec2, vec2);"    // GL_ARB_shader_texture_lod
 4770|      0|                "vec4 shadow2DRectProjGradARB(sampler2DRectShadow, vec4, vec2, vec2);" // GL_ARB_shader_texture_lod
 4771|       |
 4772|      0|                "\n");
 4773|      0|        }
 4774|      0|    }
 4775|       |
 4776|     46|    if ((profile != EEsProfile && version >= 150) ||
  ------------------
  |  Branch (4776:10): [True: 7, False: 39]
  |  Branch (4776:35): [True: 7, False: 0]
  ------------------
 4777|     39|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (4777:10): [True: 39, False: 0]
  |  Branch (4777:35): [True: 0, False: 39]
  ------------------
 4778|       |        //============================================================================
 4779|       |        //
 4780|       |        // Prototypes for built-in functions seen by geometry shaders only.
 4781|       |        //
 4782|       |        //============================================================================
 4783|      7|        if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (4783:13): [True: 7, False: 0]
  |  Branch (4783:38): [True: 7, False: 0]
  ------------------
 4784|      7|            stageBuiltins[EShLangGeometry].append(
 4785|      7|                "void EmitStreamVertex(int);"
 4786|      7|                "void EndStreamPrimitive(int);"
 4787|      7|                );
 4788|      7|        }
 4789|      7|        stageBuiltins[EShLangGeometry].append(
 4790|      7|            "void EmitVertex();"
 4791|      7|            "void EndPrimitive();"
 4792|      7|            "\n");
 4793|      7|    }
 4794|       |
 4795|       |    //============================================================================
 4796|       |    //
 4797|       |    // Prototypes for all control functions.
 4798|       |    //
 4799|       |    //============================================================================
 4800|     46|    bool esBarrier = (profile == EEsProfile && version >= 310);
  ------------------
  |  Branch (4800:23): [True: 39, False: 7]
  |  Branch (4800:48): [True: 0, False: 39]
  ------------------
 4801|     46|    if ((profile != EEsProfile && version >= 150) || esBarrier)
  ------------------
  |  Branch (4801:10): [True: 7, False: 39]
  |  Branch (4801:35): [True: 7, False: 0]
  |  Branch (4801:54): [True: 0, False: 39]
  ------------------
 4802|      7|        stageBuiltins[EShLangTessControl].append(
 4803|      7|            "void barrier();"
 4804|      7|            );
 4805|     46|    if ((profile != EEsProfile && version >= 420) || esBarrier)
  ------------------
  |  Branch (4805:10): [True: 7, False: 39]
  |  Branch (4805:35): [True: 7, False: 0]
  |  Branch (4805:54): [True: 0, False: 39]
  ------------------
 4806|      7|        stageBuiltins[EShLangCompute].append(
 4807|      7|            "void barrier();"
 4808|      7|            );
 4809|     46|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (4809:10): [True: 7, False: 39]
  |  Branch (4809:35): [True: 7, False: 0]
  |  Branch (4809:55): [True: 39, False: 0]
  |  Branch (4809:80): [True: 0, False: 39]
  ------------------
 4810|      7|        stageBuiltins[EShLangMesh].append(
 4811|      7|            "void barrier();"
 4812|      7|            );
 4813|      7|        stageBuiltins[EShLangTask].append(
 4814|      7|            "void barrier();"
 4815|      7|            );
 4816|      7|    }
 4817|     46|    if ((profile != EEsProfile && version >= 130) || esBarrier)
  ------------------
  |  Branch (4817:10): [True: 7, False: 39]
  |  Branch (4817:35): [True: 7, False: 0]
  |  Branch (4817:54): [True: 0, False: 39]
  ------------------
 4818|      7|        commonBuiltins.append(
 4819|      7|            "void memoryBarrier();"
 4820|      7|            );
 4821|     46|    if ((profile != EEsProfile && version >= 420) || esBarrier) {
  ------------------
  |  Branch (4821:10): [True: 7, False: 39]
  |  Branch (4821:35): [True: 7, False: 0]
  |  Branch (4821:54): [True: 0, False: 39]
  ------------------
 4822|      7|        commonBuiltins.append(
 4823|      7|            "void memoryBarrierBuffer();"
 4824|      7|            );
 4825|      7|        stageBuiltins[EShLangCompute].append(
 4826|      7|            "void memoryBarrierShared();"
 4827|      7|            "void groupMemoryBarrier();"
 4828|      7|            );
 4829|      7|    }
 4830|     46|    if ((profile != EEsProfile && version >= 420) || esBarrier) {
  ------------------
  |  Branch (4830:10): [True: 7, False: 39]
  |  Branch (4830:35): [True: 7, False: 0]
  |  Branch (4830:54): [True: 0, False: 39]
  ------------------
 4831|      7|        if (spvVersion.vulkan == 0 || spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (4831:13): [True: 6, False: 1]
  |  Branch (4831:39): [True: 0, False: 1]
  ------------------
 4832|      6|            commonBuiltins.append("void memoryBarrierAtomicCounter();");
 4833|      6|        }
 4834|      7|        commonBuiltins.append("void memoryBarrierImage();");
 4835|      7|    }
 4836|     46|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (4836:10): [True: 7, False: 39]
  |  Branch (4836:35): [True: 7, False: 0]
  |  Branch (4836:55): [True: 39, False: 0]
  |  Branch (4836:80): [True: 0, False: 39]
  ------------------
 4837|      7|        stageBuiltins[EShLangMesh].append(
 4838|      7|            "void memoryBarrierShared();"
 4839|      7|            "void groupMemoryBarrier();"
 4840|      7|        );
 4841|      7|        stageBuiltins[EShLangTask].append(
 4842|      7|            "void memoryBarrierShared();"
 4843|      7|            "void groupMemoryBarrier();"
 4844|      7|        );
 4845|      7|    }
 4846|       |
 4847|     46|    commonBuiltins.append("void controlBarrier(int, int, int, int);\n"
 4848|     46|                          "void memoryBarrier(int, int, int);\n");
 4849|       |
 4850|     46|    commonBuiltins.append("void debugPrintfEXT();\n");
 4851|       |
 4852|     46|    commonBuiltins.append("void abortEXT();\n");
 4853|       |
 4854|     46|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (4854:9): [True: 7, False: 39]
  |  Branch (4854:34): [True: 7, False: 0]
  ------------------
 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|      7|        stageBuiltins[EShLangCompute].append(
 4859|      7|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal float16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4860|      7|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal float[] buf, uint element, uint stride, bool colMajor);\n"
 4861|      7|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4862|      7|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4863|      7|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4864|      7|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4865|      7|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4866|      7|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4867|       |
 4868|      7|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal float16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4869|      7|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal float[] buf, uint element, uint stride, bool colMajor);\n"
 4870|      7|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal float64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4871|      7|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4872|      7|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4873|      7|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4874|      7|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4875|      7|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4876|      7|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4877|       |
 4878|      7|            "fcoopmatNV coopMatMulAddNV(fcoopmatNV A, fcoopmatNV B, fcoopmatNV C);\n"
 4879|      7|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4880|      7|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4881|      7|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 4882|      7|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4883|      7|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 4884|      7|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 4885|      7|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4886|      7|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4887|      7|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4888|      7|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4889|      7|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4890|      7|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4891|       |
 4892|      7|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4893|      7|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4894|      7|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 4895|      7|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4896|      7|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 4897|      7|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 4898|      7|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4899|      7|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4900|      7|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4901|      7|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4902|      7|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4903|      7|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4904|       |
 4905|      7|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4906|      7|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4907|      7|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 4908|      7|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4909|      7|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 4910|      7|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 4911|      7|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4912|      7|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4913|      7|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4914|      7|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4915|      7|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4916|      7|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4917|       |
 4918|      7|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4919|      7|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4920|      7|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 4921|      7|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4922|      7|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 4923|      7|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 4924|      7|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4925|      7|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4926|      7|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4927|      7|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4928|      7|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4929|      7|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4930|       |
 4931|      7|            "icoopmatNV coopMatMulAddNV(icoopmatNV A, icoopmatNV B, icoopmatNV C);\n"
 4932|      7|            "ucoopmatNV coopMatMulAddNV(ucoopmatNV A, ucoopmatNV B, ucoopmatNV C);\n"
 4933|      7|            );
 4934|       |
 4935|      7|        std::stringstream cooperativeMatrixFuncs;
 4936|       |
 4937|      7|        {
 4938|      7|            static const char *allTypes[] =
 4939|      7|            {
 4940|      7|                "float", "vec2", "vec4",
 4941|      7|                "float16_t", "f16vec2", "f16vec4",
 4942|      7|                "bfloat16_t", "bf16vec2", "bf16vec4",
 4943|      7|                "floate5m2_t", "fe5m2vec2", "fe5m2vec4",
 4944|      7|                "floate4m3_t", "fe4m3vec2", "fe4m3vec4",
 4945|      7|                "double", "dvec2", "dvec4",
 4946|      7|                "int8_t", "i8vec2", "i8vec4",
 4947|      7|                "int16_t", "i16vec2", "i16vec4",
 4948|      7|                "int", "ivec2", "ivec4",
 4949|      7|                "int64_t", "i64vec2", "i64vec4",
 4950|      7|                "uint8_t", "u8vec2", "u8vec4",
 4951|      7|                "uint16_t", "u16vec2", "u16vec4",
 4952|      7|                "uint", "uvec2", "uvec4",
 4953|      7|                "uint64_t", "u64vec2", "u64vec4",
 4954|      7|            };
 4955|     14|            for (auto elemTy : {"uint", "uint64_t"}) {
  ------------------
  |  Branch (4955:30): [True: 14, False: 7]
  ------------------
 4956|    588|                for (auto t : allTypes) {
  ------------------
  |  Branch (4956:29): [True: 588, False: 14]
  ------------------
 4957|    588|                    cooperativeMatrixFuncs << "void coopMatLoad(out coopmat m, volatile coherent nontemporal " << t << "[] buf, " << elemTy << " element, uint stride, int matrixLayout);\n";
 4958|    588|                    cooperativeMatrixFuncs << "void coopMatStore(coopmat m, volatile coherent nontemporal " << t << "[] buf, " << elemTy << " element, uint stride, int matrixLayout);\n";
 4959|    588|                }
 4960|       |                // Just use uint8_t for buffer type, we have special matching rules to allow any conversion
 4961|     14|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t);\n";
 4962|     14|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v);\n";
 4963|     14|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, __function f);\n";
 4964|     14|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v, __function f);\n";
 4965|     14|                cooperativeMatrixFuncs << "void coopMatStoreTensorNV(coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t);\n";
 4966|     14|                cooperativeMatrixFuncs << "void coopMatStoreTensorNV(coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v);\n";
 4967|     14|            }
 4968|      7|        }
 4969|       |
 4970|      7|        cooperativeMatrixFuncs <<
 4971|      7|            "coopmat coopMatMulAdd(coopmat A, coopmat B, coopmat C);\n"
 4972|      7|            "coopmat coopMatMulAdd(coopmat A, coopmat B, coopmat C, int matrixOperands);\n";
 4973|       |
 4974|      7|        commonBuiltins.append(cooperativeMatrixFuncs.str().c_str());
 4975|       |
 4976|      7|        commonBuiltins.append(
 4977|      7|            "const int gl_MatrixUseA = 0;\n"
 4978|      7|            "const int gl_MatrixUseB = 1;\n"
 4979|      7|            "const int gl_MatrixUseAccumulator = 2;\n"
 4980|      7|            "const int gl_MatrixOperandsSaturatingAccumulation = 0x10;\n"
 4981|      7|            "const int gl_CooperativeMatrixLayoutRowMajor = 0;\n"
 4982|      7|            "const int gl_CooperativeMatrixLayoutColumnMajor = 1;\n"
 4983|      7|            "const int gl_CooperativeMatrixLayoutRowBlockedInterleavedARM = 4202;\n"
 4984|      7|            "const int gl_CooperativeMatrixLayoutColumnBlockedInterleavedARM = 4203;\n"
 4985|      7|            "\n"
 4986|      7|            );
 4987|       |
 4988|      7|        commonBuiltins.append(
 4989|      7|            "void coopMatTransposeNV(out coopmat, coopmat);"
 4990|      7|            "void coopMatReduceNV(out coopmat, coopmat, int, __function);"
 4991|      7|            "void coopMatPerElementNV();"
 4992|      7|        );
 4993|       |
 4994|      7|        commonBuiltins.append(
 4995|      7|            "const int gl_CooperativeMatrixReduceRowNV = 0x1;\n"
 4996|      7|            "const int gl_CooperativeMatrixReduceColumnNV = 0x2;\n"
 4997|      7|            "const int gl_CooperativeMatrixReduceRowAndColumnNV = 0x3;\n"
 4998|      7|            "const int gl_CooperativeMatrixReduce2x2NV = 0x4;\n"
 4999|      7|            "\n"
 5000|      7|            );
 5001|       |
 5002|      7|        commonBuiltins.append(
 5003|      7|            "const int gl_CooperativeMatrixClampModeUndefinedNV = 0x0;\n"
 5004|      7|            "const int gl_CooperativeMatrixClampModeConstantNV = 0x1;\n"
 5005|      7|            "const int gl_CooperativeMatrixClampModeClampToEdgeNV = 0x2;\n"
 5006|      7|            "const int gl_CooperativeMatrixClampModeRepeatNV = 0x3;\n"
 5007|      7|            "const int gl_CooperativeMatrixClampModeMirrorRepeatNV = 0x4;\n"
 5008|      7|            "\n"
 5009|      7|            );
 5010|       |
 5011|      7|        {
 5012|      7|          std::stringstream coopMatConvFuncs;
 5013|       |
 5014|      7|          const std::string eltTypes[] = {"uint32_t", "uint", "int32_t", "int", "float32_t", "float", "float16_t"};
 5015|       |
 5016|     49|          for (auto srcEltTy : eltTypes) {
  ------------------
  |  Branch (5016:30): [True: 49, False: 7]
  ------------------
 5017|    343|            for (auto dstEltTy : eltTypes) {
  ------------------
  |  Branch (5017:32): [True: 343, False: 49]
  ------------------
 5018|    343|              coopMatConvFuncs << "void bitcastQCOM(" << srcEltTy.c_str() << " SrcArr[], " << dstEltTy.c_str()
 5019|    343|                << " DstArr[]);\n";
 5020|    343|            }
 5021|     49|          }
 5022|      7|          coopMatConvFuncs << "\n";
 5023|       |
 5024|     56|          for (auto eltTy : {"float32_t", "float16_t", "int8_t", "uint8_t", "uint32_t", "uint", "int32_t", "int"}) {
  ------------------
  |  Branch (5024:27): [True: 56, False: 7]
  ------------------
 5025|     56|            coopMatConvFuncs << "void vectorToCoopmatQCOM(" << eltTy << " SrcVec[], coopmat CM);\n";
 5026|     56|            coopMatConvFuncs << "void coopmatToVectorQCOM(coopmat CM, " << eltTy << " Dstvec[]);\n";
 5027|     56|          }
 5028|       |
 5029|     49|          for (auto eltTy : {"uint32_t", "uint", "int32_t", "int", "float32_t", "float", "float16_t"}) {
  ------------------
  |  Branch (5029:27): [True: 49, False: 7]
  ------------------
 5030|     49|            coopMatConvFuncs << "void extractSubArrayQCOM(" << eltTy << " arr[], uint index, " << eltTy << " subarr[]);\n";
 5031|     49|          }
 5032|       |
 5033|      7|          commonBuiltins.append(coopMatConvFuncs.str().c_str());
 5034|      7|        }
 5035|       |
 5036|      7|        commonBuiltins.append(
 5037|      7|            "tensorLayoutNV createTensorLayoutNV(uint Dim);\n"
 5038|      7|            "tensorLayoutNV createTensorLayoutNV(uint Dim, uint Mode);\n"
 5039|       |
 5040|      7|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0);\n"
 5041|      7|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1);\n"
 5042|      7|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1, uint blockSize2);\n"
 5043|      7|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1, uint blockSize2, uint blockSize3);\n"
 5044|      7|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1, uint blockSize2, uint blockSize3, uint blockSize4);\n"
 5045|       |
 5046|      7|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0);\n"
 5047|      7|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1);\n"
 5048|      7|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1, uint dim2);\n"
 5049|      7|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1, uint dim2, uint dim3);\n"
 5050|      7|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1, uint dim2, uint dim3, uint dim4);\n"
 5051|       |
 5052|      7|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0);\n"
 5053|      7|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1);\n"
 5054|      7|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1, uint stride2);\n"
 5055|      7|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1, uint stride2, uint stride3);\n"
 5056|      7|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1, uint stride2, uint stride3, uint stride4);\n"
 5057|       |
 5058|      7|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0);\n"
 5059|      7|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1);\n"
 5060|      7|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1, uint offset2, uint span2);\n"
 5061|      7|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1, uint offset2, uint span2, uint offset3, uint span3);\n"
 5062|      7|            "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"
 5063|       |
 5064|      7|            "tensorLayoutNV setTensorLayoutClampValueNV(tensorLayoutNV t, uint value);\n"
 5065|       |
 5066|      7|            "tensorViewNV createTensorViewNV(uint Dim);\n"
 5067|      7|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions);\n"
 5068|      7|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0);\n"
 5069|      7|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1);\n"
 5070|      7|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1, uint p2);\n"
 5071|      7|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1, uint p2, uint p3);\n"
 5072|      7|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1, uint p2, uint p3, uint p4);\n"
 5073|       |
 5074|      7|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0);\n"
 5075|      7|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1);\n"
 5076|      7|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1, uint dim2);\n"
 5077|      7|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1, uint dim2, uint dim3);\n"
 5078|      7|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1, uint dim2, uint dim3, uint dim4);\n"
 5079|       |
 5080|      7|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0);\n"
 5081|      7|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1);\n"
 5082|      7|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1, uint stride2);\n"
 5083|      7|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1, uint stride2, uint stride3);\n"
 5084|      7|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1, uint stride2, uint stride3, uint stride4);\n"
 5085|       |
 5086|      7|            "tensorViewNV setTensorViewClipNV(tensorViewNV v, uint clipRowOffset, uint clipRowSpan, uint clipColOffset, uint clipColSpan);\n"
 5087|      7|            "\n"
 5088|      7|        );
 5089|       |
 5090|       |        // GL_ARM_tensors builtins.
 5091|      7|        static const char *tensorDataTypesARM[] = {
 5092|      7|            "bool",
 5093|      7|            "int8_t", "int16_t", "int32_t", "int64_t",
 5094|      7|            "uint8_t", "uint16_t", "uint32_t", "uint64_t",
 5095|      7|            "float16_t", "float32_t", "float64_t",
 5096|      7|            "bfloat16_t", "floate5m2_t", "floate4m3_t",
 5097|      7|        };
 5098|      7|        std::ostringstream ostream;
 5099|    105|        for (auto t : tensorDataTypesARM) {
  ------------------
  |  Branch (5099:21): [True: 105, False: 7]
  ------------------
 5100|       |            // Scalar
 5101|    105|            ostream << "void tensorReadARM(readonly tensorARM t, uint coords[], out "
 5102|    105|                    << t << " data, uint tensorOperands = 0U, ...);\n";
 5103|    105|            ostream << "void tensorWriteARM(writeonly tensorARM t, uint coords[], "
 5104|    105|                    << t << " data, uint tensorOperands = 0U, ...);\n";
 5105|       |            // Array
 5106|    105|            ostream << "void tensorReadARM(readonly tensorARM t, uint coords[], "
 5107|    105|                    << t << " data[], uint tensorOperands = 0U, ...);\n";
 5108|    105|            ostream << "void tensorWriteARM(writeonly tensorARM t, uint coords[], "
 5109|    105|                    << t << " data[], uint tensorOperands = 0U, ...);\n";
 5110|    105|        }
 5111|      7|        ostream << "uint tensorSizeARM(readonly writeonly tensorARM t, uint dim);\n";
 5112|      7|        commonBuiltins.append(ostream.str());
 5113|      7|    }
 5114|       |
 5115|     46|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5115:9): [True: 7, False: 39]
  |  Branch (5115:34): [True: 7, False: 0]
  ------------------
 5116|      7|        const char *basicTypes[] = {
 5117|      7|            "int8_t",
 5118|      7|            "int16_t",
 5119|      7|            "int32_t",
 5120|      7|            "int64_t",
 5121|      7|            "uint8_t",
 5122|      7|            "uint16_t",
 5123|      7|            "uint32_t",
 5124|      7|            "uint64_t",
 5125|      7|            "float16_t",
 5126|      7|            "float32_t",
 5127|      7|            "float64_t",
 5128|      7|        };
 5129|      7|        std::string coopVecOffsetTypes[] = {
 5130|      7|            "uint",
 5131|      7|            "uint64_t",
 5132|      7|        };
 5133|     14|        for (auto offsetTy : coopVecOffsetTypes) {
  ------------------
  |  Branch (5133:28): [True: 14, False: 7]
  ------------------
 5134|    168|            for (uint32_t i = 0; i < sizeof(basicTypes)/sizeof(basicTypes[0]); ++i) {
  ------------------
  |  Branch (5134:34): [True: 154, False: 14]
  ------------------
 5135|    154|                std::string func = std::string("void coopVecMatMulNV(out coopvecNV result, ") +
 5136|    154|                                   std::string("coopvecNV v, ") +
 5137|    154|                                   std::string("int inputInterpretation, ") +
 5138|    154|                                   std::string(basicTypes[i]) + std::string("[] matrix, ") +
 5139|    154|                                   offsetTy + std::string(" matrixOffset, ") +
 5140|    154|                                   std::string("int matrixInterpretation, ") +
 5141|    154|                                   std::string("uint M, ") +
 5142|    154|                                   std::string("uint K, ") +
 5143|    154|                                   std::string("int matrixLayout, ") +
 5144|    154|                                   std::string("bool transpose, ") +
 5145|    154|                                   std::string("uint matrixStride);\n");
 5146|    154|                commonBuiltins.append(func.c_str());
 5147|       |
 5148|  1.84k|                for (uint32_t j = 0; j < sizeof(basicTypes)/sizeof(basicTypes[0]); ++j) {
  ------------------
  |  Branch (5148:38): [True: 1.69k, False: 154]
  ------------------
 5149|  1.69k|                    func = std::string("void coopVecMatMulAddNV(out coopvecNV result, ") +
 5150|  1.69k|                           std::string("coopvecNV v, ") +
 5151|  1.69k|                           std::string("int inputInterpretation, ") +
 5152|  1.69k|                           std::string(basicTypes[i]) + std::string("[] matrix, ") +
 5153|  1.69k|                           offsetTy + std::string(" matrixOffset, ") +
 5154|  1.69k|                           std::string("int matrixInterpretation, ") +
 5155|  1.69k|                           std::string(basicTypes[j]) + std::string("[] bias, ") +
 5156|  1.69k|                           offsetTy + std::string(" biasOffset, ") +
 5157|  1.69k|                           std::string("int biasInterpretation, ") +
 5158|  1.69k|                           std::string("uint M, ") +
 5159|  1.69k|                           std::string("uint K, ") +
 5160|  1.69k|                           std::string("int matrixLayout, ") +
 5161|  1.69k|                           std::string("bool transpose, ") +
 5162|  1.69k|                           std::string("uint matrixStride);\n");
 5163|  1.69k|                    commonBuiltins.append(func.c_str());
 5164|  1.69k|                }
 5165|       |
 5166|    154|                func = std::string("void coopVecOuterProductAccumulateNV(coopvecNV v1, coopvecNV v2, ") +
 5167|    154|                       std::string(basicTypes[i]) +
 5168|    154|                       std::string("[] buf, ") + offsetTy + std::string(" offset, uint stride, int matrixLayout, int matrixInterpretation);\n");
 5169|    154|                commonBuiltins.append(func.c_str());
 5170|       |            
 5171|    154|                func = std::string("void coopVecReduceSumAccumulateNV(coopvecNV v, ") +
 5172|    154|                       std::string(basicTypes[i]) +
 5173|    154|                       std::string("[] buf, ") + offsetTy + std::string(" offset);\n");
 5174|    154|                commonBuiltins.append(func.c_str());
 5175|    154|            }
 5176|     14|        }
 5177|      7|        std::string cooperativeVectorFuncs =
 5178|      7|            "coopvecNV fma(coopvecNV, coopvecNV, coopvecNV);\n"
 5179|      7|            "coopvecNV min(coopvecNV, coopvecNV);\n"
 5180|      7|            "coopvecNV max(coopvecNV, coopvecNV);\n"
 5181|      7|            "coopvecNV step(coopvecNV, coopvecNV);\n"
 5182|      7|            "coopvecNV exp(coopvecNV);\n"            
 5183|      7|            "coopvecNV log(coopvecNV);\n"            
 5184|      7|            "coopvecNV tanh(coopvecNV);\n"            
 5185|      7|            "coopvecNV atan(coopvecNV);\n"            
 5186|      7|            "coopvecNV clamp(coopvecNV, coopvecNV, coopvecNV);\n";
 5187|       |
 5188|      7|        commonBuiltins.append(cooperativeVectorFuncs.c_str());
 5189|       |
 5190|      7|        if (profile != EEsProfile) {
  ------------------
  |  Branch (5190:13): [True: 7, False: 0]
  ------------------
 5191|      7|            std::string longVectorFuncs =
 5192|       |
 5193|       |                // manually add long vector prototypes for functions not in BaseFunctions/etc
 5194|      7|                "vector frexp(vector, vector);\n"
 5195|      7|                "vector ldexp(vector, vector);\n"
 5196|      7|                "vector fma(vector, vector, vector);\n"
 5197|       |
 5198|      7|                "vector floatBitsToInt(vector);\n"
 5199|      7|                "vector floatBitsToUint(vector);\n"
 5200|      7|                "vector intBitsToFloat(vector);\n"
 5201|      7|                "vector uintBitsToFloat(vector);\n"
 5202|      7|                "vector doubleBitsToInt64(vector);"
 5203|      7|                "vector doubleBitsToUint64(vector);"
 5204|      7|                "vector int64BitsToDouble(vector);"
 5205|      7|                "vector uint64BitsToDouble(vector);"
 5206|      7|                "vector bfloat16BitsToIntEXT(vector);"
 5207|      7|                "vector bfloat16BitsToUintEXT(vector);"
 5208|      7|                "vector intBitsToBFloat16EXT(vector);"
 5209|      7|                "vector uintBitsToBFloat16EXT(vector);"
 5210|      7|                "vector halfBitsToInt16(vector);"
 5211|      7|                "vector halfBitsToUint16(vector);"
 5212|      7|                "vector float16BitsToInt16(vector);"
 5213|      7|                "vector float16BitsToUint16(vector);"
 5214|      7|                "vector int16BitsToFloat16(vector);"
 5215|      7|                "vector uint16BitsToFloat16(vector);"
 5216|      7|                "vector int16BitsToHalf(vector);"
 5217|      7|                "vector uint16BitsToHalf(vector);"
 5218|      7|                "vector floate5m2BitsToIntEXT(vector);"
 5219|      7|                "vector floate5m2BitsToUintEXT(vector);"
 5220|      7|                "vector intBitsToFloate5m2EXT(vector);"
 5221|      7|                "vector uintBitsToFloate5m2EXT(vector);"
 5222|      7|                "vector floate4m3BitsToIntEXT(vector);"
 5223|      7|                "vector floate4m3BitsToUintEXT(vector);"
 5224|      7|                "vector intBitsToFloate4m3EXT(vector);"
 5225|      7|                "vector uintBitsToFloate4m3EXT(vector);"
 5226|       |
 5227|      7|                "vector uaddCarry(highp vector, highp vector, out lowp vector carry);"
 5228|      7|                "vector usubBorrow(highp vector, highp vector, out lowp vector borrow);"
 5229|      7|                "void umulExtended(highp vector, highp vector, out highp vector, out highp vector);"
 5230|      7|                "void imulExtended(highp vector, highp vector, out highp vector, out highp vector);"
 5231|      7|                "vector bitfieldExtract(vector, int, int);"
 5232|      7|                "vector bitfieldInsert(vector, vector, int, int);"
 5233|      7|                "vector bitfieldReverse(highp vector);"
 5234|      7|                "vector bitCount(vector);"
 5235|      7|                "vector findLSB(vector);"
 5236|      7|                "vector findMSB(vector);"
 5237|       |
 5238|       |                // BaseFunctions overloads with a scalar parameter don't get generated in AddLongVectorBuiltin
 5239|      7|                "vector mod(vector, double);\n"
 5240|      7|                "vector min(vector, double);\n"
 5241|      7|                "vector max(vector, double);\n"
 5242|      7|                "vector clamp(vector, double, double);"
 5243|      7|                "vector mix(vector, vector,  double);"
 5244|      7|                "vector step(double, vector);"
 5245|      7|                "vector smoothstep(double, double, vector);"
 5246|      7|                "vector refract(vector, vector, double);"
 5247|       |
 5248|      7|                "vector mod(vector, float16_t);\n"
 5249|      7|                "vector min(vector, float16_t);\n"
 5250|      7|                "vector max(vector, float16_t);\n"
 5251|      7|                "vector clamp(vector, float16_t, float16_t);"
 5252|      7|                "vector mix(vector, vector,  float16_t);"
 5253|      7|                "vector step(float16_t, vector);"
 5254|      7|                "vector smoothstep(float16_t, float16_t, vector);"
 5255|      7|                "vector refract(vector, vector, float16_t);"
 5256|       |
 5257|      7|                "vector min(vector, uint64_t);\n"
 5258|      7|                "vector max(vector, uint64_t);\n"
 5259|      7|                "vector clamp(vector, uint64_t, uint64_t);"
 5260|      7|                "vector mix(vector, vector,  uint64_t);"
 5261|       |
 5262|      7|                "vector min(vector, int64_t);\n"
 5263|      7|                "vector max(vector, int64_t);\n"
 5264|      7|                "vector clamp(vector, int64_t, int64_t);"
 5265|      7|                "vector mix(vector, vector,  int64_t);"
 5266|       |
 5267|      7|                "vector min(vector, uint16_t);\n"
 5268|      7|                "vector max(vector, uint16_t);\n"
 5269|      7|                "vector clamp(vector, uint16_t, uint16_t);"
 5270|      7|                "vector mix(vector, vector,  uint16_t);"
 5271|       |
 5272|      7|                "vector min(vector, int16_t);\n"
 5273|      7|                "vector max(vector, int16_t);\n"
 5274|      7|                "vector clamp(vector, int16_t, int16_t);"
 5275|      7|                "vector mix(vector, vector,  int16_t);"
 5276|       |
 5277|      7|                "vector min(vector, uint8_t);\n"
 5278|      7|                "vector max(vector, uint8_t);\n"
 5279|      7|                "vector clamp(vector, uint8_t, uint8_t);"
 5280|      7|                "vector mix(vector, vector,  uint8_t);"
 5281|       |
 5282|      7|                "vector min(vector, int8_t);\n"
 5283|      7|                "vector max(vector, int8_t);\n"
 5284|      7|                "vector clamp(vector, int8_t, int8_t);"
 5285|      7|                "vector mix(vector, vector,  int8_t);"
 5286|       |
 5287|      7|                "vector expectEXT(vector, vector);"
 5288|      7|                ;
 5289|       |
 5290|      7|            std::string longVectorDerivativeFuncs =
 5291|      7|                "vector dFdxFine(vector);"
 5292|      7|                "vector dFdyFine(vector);"
 5293|      7|                "vector fwidthFine(vector);"
 5294|      7|                "vector dFdxCoarse(vector);"
 5295|      7|                "vector dFdyCoarse(vector);"
 5296|      7|                "vector fwidthCoarse(vector);"
 5297|       |
 5298|      7|                ;
 5299|      7|            commonBuiltins.append(longVectorFuncs.c_str());
 5300|      7|            stageBuiltins[EShLangFragment].append(longVectorDerivativeFuncs.c_str());
 5301|      7|            stageBuiltins[EShLangCompute].append(longVectorDerivativeFuncs.c_str());
 5302|      7|        }
 5303|       |
 5304|      7|        const char *scalarAndVectorTypes[] = {
 5305|      7|            "int8_t",
 5306|      7|            "int16_t",
 5307|      7|            "int32_t",
 5308|      7|            "int64_t",
 5309|      7|            "uint8_t",
 5310|      7|            "uint16_t",
 5311|      7|            "uint32_t",
 5312|      7|            "uint64_t",
 5313|      7|            "float16_t",
 5314|      7|            "float32_t",
 5315|      7|            "float64_t",
 5316|      7|            "i8vec2",
 5317|      7|            "i16vec2",
 5318|      7|            "i32vec2",
 5319|      7|            "i64vec2",
 5320|      7|            "u8vec2",
 5321|      7|            "u16vec2",
 5322|      7|            "u32vec2",
 5323|      7|            "u64vec2",
 5324|      7|            "f16vec2",
 5325|      7|            "f32vec2",
 5326|      7|            "f64vec2",
 5327|      7|            "i8vec3",
 5328|      7|            "i16vec3",
 5329|      7|            "i32vec3",
 5330|      7|            "i64vec3",
 5331|      7|            "u8vec3",
 5332|      7|            "u16vec3",
 5333|      7|            "u32vec3",
 5334|      7|            "u64vec3",
 5335|      7|            "f16vec3",
 5336|      7|            "f32vec3",
 5337|      7|            "f64vec3",
 5338|      7|            "i8vec4",
 5339|      7|            "i16vec4",
 5340|      7|            "i32vec4",
 5341|      7|            "i64vec4",
 5342|      7|            "u8vec4",
 5343|      7|            "u16vec4",
 5344|      7|            "u32vec4",
 5345|      7|            "u64vec4",
 5346|      7|            "f16vec4",
 5347|      7|            "f32vec4",
 5348|      7|            "f64vec4",
 5349|      7|        };
 5350|       |
 5351|     14|        for (auto offsetTy : coopVecOffsetTypes) {
  ------------------
  |  Branch (5351:28): [True: 14, False: 7]
  ------------------
 5352|    630|            for (uint32_t i = 0; i < sizeof(scalarAndVectorTypes)/sizeof(scalarAndVectorTypes[0]); ++i) {
  ------------------
  |  Branch (5352:34): [True: 616, False: 14]
  ------------------
 5353|    616|                std::string load = std::string("void coopVecLoadNV(out coopvecNV v, volatile coherent ") +
 5354|    616|                                   std::string(scalarAndVectorTypes[i]) + std::string("[] buf, ") + offsetTy + std::string(" offset);");
 5355|    616|                std::string store = std::string("void coopVecStoreNV(coopvecNV v, volatile coherent ") +
 5356|    616|                                   std::string(scalarAndVectorTypes[i]) + std::string("[] buf, ") + offsetTy + std::string(" offset);");
 5357|    616|                commonBuiltins.append(load.c_str());
 5358|    616|                commonBuiltins.append(store.c_str());
 5359|    616|            }
 5360|     14|        }
 5361|       |
 5362|      7|        commonBuiltins.append(
 5363|      7|            "const int gl_CooperativeVectorMatrixLayoutRowMajorNV = 0;\n"
 5364|      7|            "const int gl_CooperativeVectorMatrixLayoutColumnMajorNV = 1;\n"
 5365|      7|            "const int gl_CooperativeVectorMatrixLayoutInferencingOptimalNV = 2;\n"
 5366|      7|            "const int gl_CooperativeVectorMatrixLayoutTrainingOptimalNV = 3;\n"
 5367|      7|            "\n"
 5368|      7|            );
 5369|       |
 5370|      7|        commonBuiltins.append(
 5371|      7|            "const int gl_ComponentTypeFloat16NV                = 0;\n"
 5372|      7|            "const int gl_ComponentTypeFloat32NV                = 1;\n"
 5373|      7|            "const int gl_ComponentTypeFloat64NV                = 2;\n"
 5374|      7|            "const int gl_ComponentTypeSignedInt8NV             = 3;\n"
 5375|      7|            "const int gl_ComponentTypeSignedInt16NV            = 4;\n"
 5376|      7|            "const int gl_ComponentTypeSignedInt32NV            = 5;\n"
 5377|      7|            "const int gl_ComponentTypeSignedInt64NV            = 6;\n"
 5378|      7|            "const int gl_ComponentTypeUnsignedInt8NV           = 7;\n"
 5379|      7|            "const int gl_ComponentTypeUnsignedInt16NV          = 8;\n"
 5380|      7|            "const int gl_ComponentTypeUnsignedInt32NV          = 9;\n"
 5381|      7|            "const int gl_ComponentTypeUnsignedInt64NV          = 10;\n"
 5382|      7|            "const int gl_ComponentTypeSignedInt8PackedNV       = 1000491000;\n"
 5383|      7|            "const int gl_ComponentTypeUnsignedInt8PackedNV     = 1000491001;\n"
 5384|      7|            "const int gl_ComponentTypeFloatE4M3NV              = 1000491002;\n"
 5385|      7|            "const int gl_ComponentTypeFloatE5M2NV              = 1000491003;\n"
 5386|      7|            "\n"
 5387|      7|            );
 5388|      7|    }
 5389|       |
 5390|       |    //============================================================================
 5391|       |    //
 5392|       |    // Prototypes for built-in functions seen by fragment shaders only.
 5393|       |    //
 5394|       |    //============================================================================
 5395|       |
 5396|       |    //
 5397|       |    // Original-style texture Functions with bias.
 5398|       |    //
 5399|     46|    if (spvVersion.spv == 0 && (profile != EEsProfile || version == 100)) {
  ------------------
  |  Branch (5399:9): [True: 46, False: 0]
  |  Branch (5399:33): [True: 7, False: 39]
  |  Branch (5399:58): [True: 39, False: 0]
  ------------------
 5400|     46|        stageBuiltins[EShLangFragment].append(
 5401|     46|            "vec4 texture2D(sampler2D, vec2, float);"
 5402|     46|            "vec4 texture2DProj(sampler2D, vec3, float);"
 5403|     46|            "vec4 texture2DProj(sampler2D, vec4, float);"
 5404|     46|            "vec4 texture3D(sampler3D, vec3, float);"        // OES_texture_3D
 5405|     46|            "vec4 texture3DProj(sampler3D, vec4, float);"    // OES_texture_3D
 5406|     46|            "vec4 textureCube(samplerCube, vec3, float);"
 5407|       |
 5408|     46|            "\n");
 5409|     46|    }
 5410|     46|    if (spvVersion.spv == 0 && (profile != EEsProfile && version > 100)) {
  ------------------
  |  Branch (5410:9): [True: 46, False: 0]
  |  Branch (5410:33): [True: 7, False: 39]
  |  Branch (5410:58): [True: 7, False: 0]
  ------------------
 5411|      7|        stageBuiltins[EShLangFragment].append(
 5412|      7|            "vec4 texture1D(sampler1D, float, float);"
 5413|      7|            "vec4 texture1DProj(sampler1D, vec2, float);"
 5414|      7|            "vec4 texture1DProj(sampler1D, vec4, float);"
 5415|      7|            "vec4 shadow1D(sampler1DShadow, vec3, float);"
 5416|      7|            "vec4 shadow2D(sampler2DShadow, vec3, float);"
 5417|      7|            "vec4 shadow1DProj(sampler1DShadow, vec4, float);"
 5418|      7|            "vec4 shadow2DProj(sampler2DShadow, vec4, float);"
 5419|       |
 5420|      7|            "\n");
 5421|      7|    }
 5422|     46|    if (spvVersion.spv == 0 && profile == EEsProfile) {
  ------------------
  |  Branch (5422:9): [True: 46, False: 0]
  |  Branch (5422:32): [True: 39, False: 7]
  ------------------
 5423|     39|        stageBuiltins[EShLangFragment].append(
 5424|     39|            "vec4 texture2DLodEXT(sampler2D, vec2, float);"      // GL_EXT_shader_texture_lod
 5425|     39|            "vec4 texture2DProjLodEXT(sampler2D, vec3, float);"  // GL_EXT_shader_texture_lod
 5426|     39|            "vec4 texture2DProjLodEXT(sampler2D, vec4, float);"  // GL_EXT_shader_texture_lod
 5427|     39|            "vec4 textureCubeLodEXT(samplerCube, vec3, float);"  // GL_EXT_shader_texture_lod
 5428|       |
 5429|     39|            "\n");
 5430|     39|    }
 5431|       |
 5432|       |    // GL_EXT_shader_tile_image
 5433|     46|    if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (5433:9): [True: 1, False: 45]
  ------------------
 5434|      1|        stageBuiltins[EShLangFragment].append(
 5435|      1|            "lowp uint stencilAttachmentReadEXT();"
 5436|      1|            "lowp uint stencilAttachmentReadEXT(int);"
 5437|      1|            "highp float depthAttachmentReadEXT();"
 5438|      1|            "highp float depthAttachmentReadEXT(int);"
 5439|      1|            "\n");
 5440|      1|        stageBuiltins[EShLangFragment].append(
 5441|      1|            "vec4 colorAttachmentReadEXT(attachmentEXT);"
 5442|      1|            "vec4 colorAttachmentReadEXT(attachmentEXT, int);"
 5443|      1|            "ivec4 colorAttachmentReadEXT(iattachmentEXT);"
 5444|      1|            "ivec4 colorAttachmentReadEXT(iattachmentEXT, int);"
 5445|      1|            "uvec4 colorAttachmentReadEXT(uattachmentEXT);"
 5446|      1|            "uvec4 colorAttachmentReadEXT(uattachmentEXT, int);"
 5447|      1|            "\n");
 5448|      1|    }
 5449|       |
 5450|       |    // GL_ARB_derivative_control
 5451|     46|    if (profile != EEsProfile && version >= 400) {
  ------------------
  |  Branch (5451:9): [True: 7, False: 39]
  |  Branch (5451:34): [True: 7, False: 0]
  ------------------
 5452|      7|        stageBuiltins[EShLangFragment].append(derivativeControls);
 5453|      7|        stageBuiltins[EShLangFragment].append("\n");
 5454|      7|    }
 5455|       |
 5456|       |    // GL_OES_shader_multisample_interpolation
 5457|     46|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (5457:10): [True: 39, False: 7]
  |  Branch (5457:35): [True: 0, False: 39]
  ------------------
 5458|     46|        (profile != EEsProfile && version >= 150)) { // NV_gpu_shader5
  ------------------
  |  Branch (5458:10): [True: 7, False: 39]
  |  Branch (5458:35): [True: 7, False: 0]
  ------------------
 5459|      7|        stageBuiltins[EShLangFragment].append(
 5460|      7|            "float interpolateAtCentroid(float);"
 5461|      7|            "vec2  interpolateAtCentroid(vec2);"
 5462|      7|            "vec3  interpolateAtCentroid(vec3);"
 5463|      7|            "vec4  interpolateAtCentroid(vec4);"
 5464|       |
 5465|      7|            "float interpolateAtSample(float, int);"
 5466|      7|            "vec2  interpolateAtSample(vec2,  int);"
 5467|      7|            "vec3  interpolateAtSample(vec3,  int);"
 5468|      7|            "vec4  interpolateAtSample(vec4,  int);"
 5469|       |
 5470|      7|            "float interpolateAtOffset(float, vec2);"
 5471|      7|            "vec2  interpolateAtOffset(vec2,  vec2);"
 5472|      7|            "vec3  interpolateAtOffset(vec3,  vec2);"
 5473|      7|            "vec4  interpolateAtOffset(vec4,  vec2);"
 5474|       |
 5475|      7|            "\n");
 5476|      7|    }
 5477|       |
 5478|     46|    stageBuiltins[EShLangFragment].append(
 5479|     46|        "void beginInvocationInterlockARB(void);"
 5480|     46|        "void endInvocationInterlockARB(void);");
 5481|       |
 5482|     46|    stageBuiltins[EShLangFragment].append(
 5483|     46|        "bool helperInvocationEXT();"
 5484|     46|        "\n");
 5485|       |
 5486|       |    // GL_AMD_shader_explicit_vertex_parameter
 5487|     46|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5487:9): [True: 7, False: 39]
  |  Branch (5487:34): [True: 7, False: 0]
  ------------------
 5488|      7|        stageBuiltins[EShLangFragment].append(
 5489|      7|            "float interpolateAtVertexAMD(float, uint);"
 5490|      7|            "vec2  interpolateAtVertexAMD(vec2,  uint);"
 5491|      7|            "vec3  interpolateAtVertexAMD(vec3,  uint);"
 5492|      7|            "vec4  interpolateAtVertexAMD(vec4,  uint);"
 5493|       |
 5494|      7|            "int   interpolateAtVertexAMD(int,   uint);"
 5495|      7|            "ivec2 interpolateAtVertexAMD(ivec2, uint);"
 5496|      7|            "ivec3 interpolateAtVertexAMD(ivec3, uint);"
 5497|      7|            "ivec4 interpolateAtVertexAMD(ivec4, uint);"
 5498|       |
 5499|      7|            "uint  interpolateAtVertexAMD(uint,  uint);"
 5500|      7|            "uvec2 interpolateAtVertexAMD(uvec2, uint);"
 5501|      7|            "uvec3 interpolateAtVertexAMD(uvec3, uint);"
 5502|      7|            "uvec4 interpolateAtVertexAMD(uvec4, uint);"
 5503|       |
 5504|      7|            "float16_t interpolateAtVertexAMD(float16_t, uint);"
 5505|      7|            "f16vec2   interpolateAtVertexAMD(f16vec2,   uint);"
 5506|      7|            "f16vec3   interpolateAtVertexAMD(f16vec3,   uint);"
 5507|      7|            "f16vec4   interpolateAtVertexAMD(f16vec4,   uint);"
 5508|       |
 5509|      7|            "\n");
 5510|      7|    }
 5511|       |
 5512|       |    // GL_AMD_gpu_shader_half_float
 5513|     46|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5513:9): [True: 7, False: 39]
  |  Branch (5513:34): [True: 7, False: 0]
  ------------------
 5514|      7|        stageBuiltins[EShLangFragment].append(derivativesAndControl16bits);
 5515|      7|        stageBuiltins[EShLangFragment].append("\n");
 5516|       |
 5517|      7|        stageBuiltins[EShLangFragment].append(
 5518|      7|            "float16_t interpolateAtCentroid(float16_t);"
 5519|      7|            "f16vec2   interpolateAtCentroid(f16vec2);"
 5520|      7|            "f16vec3   interpolateAtCentroid(f16vec3);"
 5521|      7|            "f16vec4   interpolateAtCentroid(f16vec4);"
 5522|       |
 5523|      7|            "float16_t interpolateAtSample(float16_t, int);"
 5524|      7|            "f16vec2   interpolateAtSample(f16vec2,   int);"
 5525|      7|            "f16vec3   interpolateAtSample(f16vec3,   int);"
 5526|      7|            "f16vec4   interpolateAtSample(f16vec4,   int);"
 5527|       |
 5528|      7|            "float16_t interpolateAtOffset(float16_t, f16vec2);"
 5529|      7|            "f16vec2   interpolateAtOffset(f16vec2,   f16vec2);"
 5530|      7|            "f16vec3   interpolateAtOffset(f16vec3,   f16vec2);"
 5531|      7|            "f16vec4   interpolateAtOffset(f16vec4,   f16vec2);"
 5532|       |
 5533|      7|            "\n");
 5534|      7|    }
 5535|       |
 5536|       |    // GL_ARB_shader_clock& GL_EXT_shader_realtime_clock
 5537|     46|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5537:9): [True: 7, False: 39]
  |  Branch (5537:34): [True: 7, False: 0]
  ------------------
 5538|      7|        commonBuiltins.append(
 5539|      7|            "uvec2 clock2x32ARB();"
 5540|      7|            "uint64_t clockARB();"
 5541|      7|            "uvec2 clockRealtime2x32EXT();"
 5542|      7|            "uint64_t clockRealtimeEXT();"
 5543|      7|            "\n");
 5544|      7|    }
 5545|       |
 5546|       |    // GL_AMD_shader_fragment_mask
 5547|     46|    if (profile != EEsProfile && version >= 450 && spvVersion.vulkan > 0) {
  ------------------
  |  Branch (5547:9): [True: 7, False: 39]
  |  Branch (5547:34): [True: 7, False: 0]
  |  Branch (5547:52): [True: 1, False: 6]
  ------------------
 5548|      1|        stageBuiltins[EShLangFragment].append(
 5549|      1|            "uint fragmentMaskFetchAMD(subpassInputMS);"
 5550|      1|            "uint fragmentMaskFetchAMD(isubpassInputMS);"
 5551|      1|            "uint fragmentMaskFetchAMD(usubpassInputMS);"
 5552|       |
 5553|      1|            "vec4  fragmentFetchAMD(subpassInputMS,  uint);"
 5554|      1|            "ivec4 fragmentFetchAMD(isubpassInputMS, uint);"
 5555|      1|            "uvec4 fragmentFetchAMD(usubpassInputMS, uint);"
 5556|       |
 5557|      1|            "\n");
 5558|      1|    }
 5559|       |
 5560|       |    // Builtins for GL_NV_ray_tracing/GL_NV_ray_tracing_motion_blur/GL_EXT_ray_tracing/GL_EXT_ray_query/
 5561|       |    // GL_NV_shader_invocation_reorder/GL_KHR_ray_tracing_position_Fetch
 5562|     46|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (5562:9): [True: 7, False: 39]
  |  Branch (5562:34): [True: 0, False: 7]
  ------------------
 5563|      0|         commonBuiltins.append("void rayQueryInitializeEXT(rayQueryEXT, accelerationStructureEXT, uint, uint, vec3, float, vec3, float);"
 5564|      0|            "void rayQueryTerminateEXT(rayQueryEXT);"
 5565|      0|            "void rayQueryGenerateIntersectionEXT(rayQueryEXT, float);"
 5566|      0|            "void rayQueryConfirmIntersectionEXT(rayQueryEXT);"
 5567|      0|            "bool rayQueryProceedEXT(rayQueryEXT);"
 5568|      0|            "uint rayQueryGetIntersectionTypeEXT(rayQueryEXT, bool);"
 5569|      0|            "float rayQueryGetRayTMinEXT(rayQueryEXT);"
 5570|      0|            "uint rayQueryGetRayFlagsEXT(rayQueryEXT);"
 5571|      0|            "vec3 rayQueryGetWorldRayOriginEXT(rayQueryEXT);"
 5572|      0|            "vec3 rayQueryGetWorldRayDirectionEXT(rayQueryEXT);"
 5573|      0|            "float rayQueryGetIntersectionTEXT(rayQueryEXT, bool);"
 5574|      0|            "int rayQueryGetIntersectionInstanceCustomIndexEXT(rayQueryEXT, bool);"
 5575|      0|            "int rayQueryGetIntersectionInstanceIdEXT(rayQueryEXT, bool);"
 5576|      0|            "uint rayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetEXT(rayQueryEXT, bool);"
 5577|      0|            "int rayQueryGetIntersectionGeometryIndexEXT(rayQueryEXT, bool);"
 5578|      0|            "int rayQueryGetIntersectionPrimitiveIndexEXT(rayQueryEXT, bool);"
 5579|      0|            "vec2 rayQueryGetIntersectionBarycentricsEXT(rayQueryEXT, bool);"
 5580|      0|            "bool rayQueryGetIntersectionFrontFaceEXT(rayQueryEXT, bool);"
 5581|      0|            "bool rayQueryGetIntersectionCandidateAABBOpaqueEXT(rayQueryEXT);"
 5582|      0|            "vec3 rayQueryGetIntersectionObjectRayDirectionEXT(rayQueryEXT, bool);"
 5583|      0|            "vec3 rayQueryGetIntersectionObjectRayOriginEXT(rayQueryEXT, bool);"
 5584|      0|            "mat4x3 rayQueryGetIntersectionObjectToWorldEXT(rayQueryEXT, bool);"
 5585|      0|            "mat4x3 rayQueryGetIntersectionWorldToObjectEXT(rayQueryEXT, bool);"
 5586|      0|            "void rayQueryGetIntersectionTriangleVertexPositionsEXT(rayQueryEXT, bool, out vec3[3]);"
 5587|      0|            "int rayQueryGetIntersectionClusterIdNV(rayQueryEXT, bool);"
 5588|      0|            "vec3 rayQueryGetIntersectionSpherePositionNV(rayQueryEXT, bool);"
 5589|      0|            "float rayQueryGetIntersectionSphereRadiusNV(rayQueryEXT, bool);"
 5590|      0|            "float rayQueryGetIntersectionLSSHitValueNV(rayQueryEXT, bool);"
 5591|      0|            "void rayQueryGetIntersectionLSSPositionsNV(rayQueryEXT, bool, out vec3[2]);"
 5592|      0|            "void rayQueryGetIntersectionLSSRadiiNV(rayQueryEXT, bool, out float[2]);"
 5593|      0|            "bool rayQueryIsSphereHitNV(rayQueryEXT, bool);"
 5594|      0|            "bool rayQueryIsLSSHitNV(rayQueryEXT, bool);"
 5595|      0|            "\n");
 5596|       |
 5597|      0|        stageBuiltins[EShLangRayGen].append(
 5598|      0|            "void traceNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5599|      0|            "void traceRayMotionNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5600|      0|            "void traceRayEXT(accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5601|      0|            "void executeCallableNV(uint, int);"
 5602|      0|            "void executeCallableEXT(uint, int);"
 5603|      0|            "void hitObjectTraceRayNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5604|      0|            "void hitObjectTraceRayMotionNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5605|      0|            "void hitObjectRecordHitNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,int);"
 5606|      0|            "void hitObjectRecordHitMotionNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5607|      0|            "void hitObjectRecordHitWithIndexNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,int);"
 5608|      0|            "void hitObjectRecordHitWithIndexMotionNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,float,int);"
 5609|      0|            "void hitObjectRecordMissNV(hitObjectNV,uint,vec3,float,vec3,float);"
 5610|      0|            "void hitObjectRecordMissMotionNV(hitObjectNV,uint,vec3,float,vec3,float,float);"
 5611|      0|            "void hitObjectRecordEmptyNV(hitObjectNV);"
 5612|      0|            "void hitObjectExecuteShaderNV(hitObjectNV,int);"
 5613|      0|            "bool hitObjectIsEmptyNV(hitObjectNV);"
 5614|      0|            "bool hitObjectIsMissNV(hitObjectNV);"
 5615|      0|            "bool hitObjectIsHitNV(hitObjectNV);"
 5616|      0|            "float hitObjectGetRayTMinNV(hitObjectNV);"
 5617|      0|            "float hitObjectGetRayTMaxNV(hitObjectNV);"
 5618|      0|            "vec3 hitObjectGetWorldRayOriginNV(hitObjectNV);"
 5619|      0|            "vec3 hitObjectGetWorldRayDirectionNV(hitObjectNV);"
 5620|      0|            "vec3 hitObjectGetObjectRayOriginNV(hitObjectNV);"
 5621|      0|            "vec3 hitObjectGetObjectRayDirectionNV(hitObjectNV);"
 5622|      0|            "mat4x3 hitObjectGetWorldToObjectNV(hitObjectNV);"
 5623|      0|            "mat4x3 hitObjectGetObjectToWorldNV(hitObjectNV);"
 5624|      0|            "int hitObjectGetInstanceCustomIndexNV(hitObjectNV);"
 5625|      0|            "int hitObjectGetInstanceIdNV(hitObjectNV);"
 5626|      0|            "int hitObjectGetGeometryIndexNV(hitObjectNV);"
 5627|      0|            "int hitObjectGetPrimitiveIndexNV(hitObjectNV);"
 5628|      0|            "uint hitObjectGetHitKindNV(hitObjectNV);"
 5629|      0|            "void hitObjectGetAttributesNV(hitObjectNV,int);"
 5630|      0|            "float hitObjectGetCurrentTimeNV(hitObjectNV);"
 5631|      0|            "uint hitObjectGetShaderBindingTableRecordIndexNV(hitObjectNV);"
 5632|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleNV(hitObjectNV);"
 5633|      0|            "int hitObjectGetClusterIdNV(hitObjectNV);"
 5634|      0|            "void reorderThreadNV(uint, uint);"
 5635|      0|            "void reorderThreadNV(hitObjectNV);"
 5636|      0|            "void reorderThreadNV(hitObjectNV, uint, uint);"
 5637|      0|            "vec3 fetchMicroTriangleVertexPositionNV(accelerationStructureEXT, int, int, int, ivec2);"
 5638|      0|            "vec2 fetchMicroTriangleVertexBarycentricNV(accelerationStructureEXT, int, int, int, ivec2);"
 5639|      0|            "vec3 hitObjectGetSpherePositionNV(hitObjectNV);"
 5640|      0|            "float hitObjectGetSphereRadiusNV(hitObjectNV);"
 5641|      0|            "void hitObjectGetLSSPositionsNV(hitObjectNV, out vec3[2]);"
 5642|      0|            "void hitObjectGetLSSRadiiNV(hitObjectNV, out float[2]);"
 5643|      0|            "bool hitObjectIsSphereHitNV(hitObjectNV);"
 5644|      0|            "bool hitObjectIsLSSHitNV(hitObjectNV);"
 5645|      0|            "void hitObjectTraceRayEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5646|      0|            "void hitObjectTraceRayMotionEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5647|      0|            "void hitObjectRecordMissEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float);"
 5648|      0|            "void hitObjectRecordMissMotionEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float,float);"
 5649|      0|            "void hitObjectRecordEmptyEXT(hitObjectEXT);"
 5650|      0|            "void hitObjectExecuteShaderEXT(hitObjectEXT,int);"
 5651|      0|            "bool hitObjectIsEmptyEXT(hitObjectEXT);"
 5652|      0|            "bool hitObjectIsMissEXT(hitObjectEXT);"
 5653|      0|            "bool hitObjectIsHitEXT(hitObjectEXT);"
 5654|      0|            "float hitObjectGetRayTMinEXT(hitObjectEXT);"
 5655|      0|            "float hitObjectGetRayTMaxEXT(hitObjectEXT);"
 5656|      0|            "uint hitObjectGetRayFlagsEXT(hitObjectEXT);"
 5657|      0|            "vec3 hitObjectGetWorldRayOriginEXT(hitObjectEXT);"
 5658|      0|            "vec3 hitObjectGetWorldRayDirectionEXT(hitObjectEXT);"
 5659|      0|            "vec3 hitObjectGetObjectRayOriginEXT(hitObjectEXT);"
 5660|      0|            "vec3 hitObjectGetObjectRayDirectionEXT(hitObjectEXT);"
 5661|      0|            "mat4x3 hitObjectGetWorldToObjectEXT(hitObjectEXT);"
 5662|      0|            "mat4x3 hitObjectGetObjectToWorldEXT(hitObjectEXT);"
 5663|      0|            "int hitObjectGetInstanceCustomIndexEXT(hitObjectEXT);"
 5664|      0|            "int hitObjectGetInstanceIdEXT(hitObjectEXT);"
 5665|      0|            "int hitObjectGetGeometryIndexEXT(hitObjectEXT);"
 5666|      0|            "int hitObjectGetPrimitiveIndexEXT(hitObjectEXT);"
 5667|      0|            "uint hitObjectGetHitKindEXT(hitObjectEXT);"
 5668|      0|            "void hitObjectGetAttributesEXT(hitObjectEXT,int);"
 5669|      0|            "float hitObjectGetCurrentTimeEXT(hitObjectEXT);"
 5670|      0|            "uint hitObjectGetShaderBindingTableRecordIndexEXT(hitObjectEXT);"
 5671|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleEXT(hitObjectEXT);"
 5672|      0|            "void hitObjectSetShaderBindingTableRecordIndexEXT(hitObjectEXT, uint);"
 5673|      0|            "void hitObjectReorderExecuteEXT(hitObjectEXT,int);"
 5674|      0|            "void hitObjectReorderExecuteEXT(hitObjectEXT,uint,uint,int);"
 5675|      0|            "void hitObjectTraceReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5676|      0|            "void hitObjectTraceReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,uint,uint,int);"
 5677|      0|            "void hitObjectTraceMotionReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5678|      0|            "void hitObjectTraceMotionReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,uint,uint,int);"
 5679|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int);"
 5680|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int, uint);"
 5681|      0|            "void hitObjectGetIntersectionTriangleVertexPositionsEXT(hitObjectEXT, out vec3[3]);"
 5682|      0|            "void reorderThreadEXT(uint, uint);"
 5683|      0|            "void reorderThreadEXT(hitObjectEXT);"
 5684|      0|            "void reorderThreadEXT(hitObjectEXT, uint, uint);"
 5685|      0|            "\n");
 5686|      0|        stageBuiltins[EShLangIntersect].append(
 5687|      0|            "bool reportIntersectionNV(float, uint);"
 5688|      0|            "bool reportIntersectionEXT(float, uint);"
 5689|      0|            "\n");
 5690|      0|        stageBuiltins[EShLangAnyHit].append(
 5691|      0|            "void ignoreIntersectionNV();"
 5692|      0|            "void terminateRayNV();"
 5693|      0|            "\n");
 5694|      0|        stageBuiltins[EShLangClosestHit].append(
 5695|      0|            "void traceNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5696|      0|            "void traceRayMotionNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5697|      0|            "void traceRayEXT(accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5698|      0|            "void executeCallableNV(uint, int);"
 5699|      0|            "void executeCallableEXT(uint, int);"
 5700|      0|            "void hitObjectTraceRayNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5701|      0|            "void hitObjectTraceRayMotionNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5702|      0|            "void hitObjectRecordHitNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,int);"
 5703|      0|            "void hitObjectRecordHitMotionNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5704|      0|            "void hitObjectRecordHitWithIndexNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,int);"
 5705|      0|            "void hitObjectRecordHitWithIndexMotionNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,float,int);"
 5706|      0|            "void hitObjectRecordMissNV(hitObjectNV, uint, vec3, float, vec3, float);"
 5707|      0|            "void hitObjectRecordMissMotionNV(hitObjectNV,uint,vec3,float,vec3,float,float);"
 5708|      0|            "void hitObjectRecordEmptyNV(hitObjectNV);"
 5709|      0|            "void hitObjectExecuteShaderNV(hitObjectNV, int);"
 5710|      0|            "bool hitObjectIsEmptyNV(hitObjectNV);"
 5711|      0|            "bool hitObjectIsMissNV(hitObjectNV);"
 5712|      0|            "bool hitObjectIsHitNV(hitObjectNV);"
 5713|      0|            "float hitObjectGetRayTMinNV(hitObjectNV);"
 5714|      0|            "float hitObjectGetRayTMaxNV(hitObjectNV);"
 5715|      0|            "vec3 hitObjectGetWorldRayOriginNV(hitObjectNV);"
 5716|      0|            "vec3 hitObjectGetWorldRayDirectionNV(hitObjectNV);"
 5717|      0|            "vec3 hitObjectGetObjectRayOriginNV(hitObjectNV);"
 5718|      0|            "vec3 hitObjectGetObjectRayDirectionNV(hitObjectNV);"
 5719|      0|            "mat4x3 hitObjectGetWorldToObjectNV(hitObjectNV);"
 5720|      0|            "mat4x3 hitObjectGetObjectToWorldNV(hitObjectNV);"
 5721|      0|            "int hitObjectGetInstanceCustomIndexNV(hitObjectNV);"
 5722|      0|            "int hitObjectGetInstanceIdNV(hitObjectNV);"
 5723|      0|            "int hitObjectGetGeometryIndexNV(hitObjectNV);"
 5724|      0|            "int hitObjectGetPrimitiveIndexNV(hitObjectNV);"
 5725|      0|            "uint hitObjectGetHitKindNV(hitObjectNV);"
 5726|      0|            "void hitObjectGetAttributesNV(hitObjectNV,int);"
 5727|      0|            "float hitObjectGetCurrentTimeNV(hitObjectNV);"
 5728|      0|            "uint hitObjectGetShaderBindingTableRecordIndexNV(hitObjectNV);"
 5729|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleNV(hitObjectNV);"
 5730|      0|            "int hitObjectGetClusterIdNV(hitObjectNV);"
 5731|      0|            "vec3 hitObjectGetSpherePositionNV(hitObjectNV);"
 5732|      0|            "float hitObjectGetSphereRadiusNV(hitObjectNV);"
 5733|      0|            "void hitObjectGetLSSPositionsNV(hitObjectNV, out vec3[2]);"
 5734|      0|            "void hitObjectGetLSSRadiiNV(hitObjectNV, out float[2]);"
 5735|      0|            "bool hitObjectIsSphereHitNV(hitObjectNV);"
 5736|      0|            "bool hitObjectIsLSSHitNV(hitObjectNV);"
 5737|      0|            "void hitObjectTraceRayEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5738|      0|            "void hitObjectTraceRayMotionEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5739|      0|            "void hitObjectRecordMissEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float);"
 5740|      0|            "void hitObjectRecordMissMotionEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float,float);"
 5741|      0|            "void hitObjectRecordEmptyEXT(hitObjectEXT);"
 5742|      0|            "void hitObjectExecuteShaderEXT(hitObjectEXT,int);"
 5743|      0|            "bool hitObjectIsEmptyEXT(hitObjectEXT);"
 5744|      0|            "bool hitObjectIsMissEXT(hitObjectEXT);"
 5745|      0|            "bool hitObjectIsHitEXT(hitObjectEXT);"
 5746|      0|            "float hitObjectGetRayTMinEXT(hitObjectEXT);"
 5747|      0|            "float hitObjectGetRayTMaxEXT(hitObjectEXT);"
 5748|      0|            "uint hitObjectGetRayFlagsEXT(hitObjectEXT);"
 5749|      0|            "vec3 hitObjectGetWorldRayOriginEXT(hitObjectEXT);"
 5750|      0|            "vec3 hitObjectGetWorldRayDirectionEXT(hitObjectEXT);"
 5751|      0|            "vec3 hitObjectGetObjectRayOriginEXT(hitObjectEXT);"
 5752|      0|            "vec3 hitObjectGetObjectRayDirectionEXT(hitObjectEXT);"
 5753|      0|            "mat4x3 hitObjectGetWorldToObjectEXT(hitObjectEXT);"
 5754|      0|            "mat4x3 hitObjectGetObjectToWorldEXT(hitObjectEXT);"
 5755|      0|            "int hitObjectGetInstanceCustomIndexEXT(hitObjectEXT);"
 5756|      0|            "int hitObjectGetInstanceIdEXT(hitObjectEXT);"
 5757|      0|            "int hitObjectGetGeometryIndexEXT(hitObjectEXT);"
 5758|      0|            "int hitObjectGetPrimitiveIndexEXT(hitObjectEXT);"
 5759|      0|            "uint hitObjectGetHitKindEXT(hitObjectEXT);"
 5760|      0|            "void hitObjectGetAttributesEXT(hitObjectEXT,int);"
 5761|      0|            "float hitObjectGetCurrentTimeEXT(hitObjectEXT);"
 5762|      0|            "uint hitObjectGetShaderBindingTableRecordIndexEXT(hitObjectEXT);"
 5763|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleEXT(hitObjectEXT);"
 5764|      0|            "void hitObjectSetShaderBindingTableRecordIndexEXT(hitObjectEXT, uint);"
 5765|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT,uint, int);"
 5766|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT,uint, int, uint);"
 5767|      0|            "void hitObjectGetIntersectionTriangleVertexPositionsEXT(hitObjectEXT, out vec3[3]);"
 5768|      0|            "\n");
 5769|      0|        stageBuiltins[EShLangMiss].append(
 5770|      0|            "void traceNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5771|      0|            "void traceRayMotionNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5772|      0|            "void traceRayEXT(accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5773|      0|            "void executeCallableNV(uint, int);"
 5774|      0|            "void executeCallableEXT(uint, int);"
 5775|      0|            "void hitObjectTraceRayNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5776|      0|            "void hitObjectTraceRayMotionNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5777|      0|            "void hitObjectRecordHitNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,int);"
 5778|      0|            "void hitObjectRecordHitMotionNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5779|      0|            "void hitObjectRecordHitWithIndexNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,int);"
 5780|      0|            "void hitObjectRecordHitWithIndexMotionNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,float,int);"
 5781|      0|            "void hitObjectRecordMissNV(hitObjectNV, uint, vec3, float, vec3, float);"
 5782|      0|            "void hitObjectRecordMissMotionNV(hitObjectNV,uint,vec3,float,vec3,float,float);"
 5783|      0|            "void hitObjectRecordEmptyNV(hitObjectNV);"
 5784|      0|            "void hitObjectExecuteShaderNV(hitObjectNV, int);"
 5785|      0|            "bool hitObjectIsEmptyNV(hitObjectNV);"
 5786|      0|            "bool hitObjectIsMissNV(hitObjectNV);"
 5787|      0|            "bool hitObjectIsHitNV(hitObjectNV);"
 5788|      0|            "float hitObjectGetRayTMinNV(hitObjectNV);"
 5789|      0|            "float hitObjectGetRayTMaxNV(hitObjectNV);"
 5790|      0|            "vec3 hitObjectGetWorldRayOriginNV(hitObjectNV);"
 5791|      0|            "vec3 hitObjectGetWorldRayDirectionNV(hitObjectNV);"
 5792|      0|            "vec3 hitObjectGetObjectRayOriginNV(hitObjectNV);"
 5793|      0|            "vec3 hitObjectGetObjectRayDirectionNV(hitObjectNV);"
 5794|      0|            "mat4x3 hitObjectGetWorldToObjectNV(hitObjectNV);"
 5795|      0|            "mat4x3 hitObjectGetObjectToWorldNV(hitObjectNV);"
 5796|      0|            "int hitObjectGetInstanceCustomIndexNV(hitObjectNV);"
 5797|      0|            "int hitObjectGetInstanceIdNV(hitObjectNV);"
 5798|      0|            "int hitObjectGetGeometryIndexNV(hitObjectNV);"
 5799|      0|            "int hitObjectGetPrimitiveIndexNV(hitObjectNV);"
 5800|      0|            "uint hitObjectGetHitKindNV(hitObjectNV);"
 5801|      0|            "void hitObjectGetAttributesNV(hitObjectNV,int);"
 5802|      0|            "float hitObjectGetCurrentTimeNV(hitObjectNV);"
 5803|      0|            "uint hitObjectGetShaderBindingTableRecordIndexNV(hitObjectNV);"
 5804|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleNV(hitObjectNV);"
 5805|      0|            "int hitObjectGetClusterIdNV(hitObjectNV);"
 5806|      0|            "vec3 hitObjectGetSpherePositionNV(hitObjectNV);"
 5807|      0|            "float hitObjectGetSphereRadiusNV(hitObjectNV);"
 5808|      0|            "void hitObjectGetLSSPositionsNV(hitObjectNV, out vec3[2]);"
 5809|      0|            "void hitObjectGetLSSRadiiNV(hitObjectNV, out float[2]);"
 5810|      0|            "bool hitObjectIsSphereHitNV(hitObjectNV);"
 5811|      0|            "bool hitObjectIsLSSHitNV(hitObjectNV);"
 5812|      0|            "void hitObjectTraceRayEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5813|      0|            "void hitObjectTraceRayMotionEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5814|      0|            "void hitObjectRecordMissEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float);"
 5815|      0|            "void hitObjectRecordMissMotionEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float,float);"
 5816|      0|            "void hitObjectRecordEmptyEXT(hitObjectEXT);"
 5817|      0|            "void hitObjectExecuteShaderEXT(hitObjectEXT,int);"
 5818|      0|            "bool hitObjectIsEmptyEXT(hitObjectEXT);"
 5819|      0|            "bool hitObjectIsMissEXT(hitObjectEXT);"
 5820|      0|            "bool hitObjectIsHitEXT(hitObjectEXT);"
 5821|      0|            "float hitObjectGetRayTMinEXT(hitObjectEXT);"
 5822|      0|            "float hitObjectGetRayTMaxEXT(hitObjectEXT);"
 5823|      0|            "uint hitObjectGetRayFlagsEXT(hitObjectEXT);"
 5824|      0|            "vec3 hitObjectGetWorldRayOriginEXT(hitObjectEXT);"
 5825|      0|            "vec3 hitObjectGetWorldRayDirectionEXT(hitObjectEXT);"
 5826|      0|            "vec3 hitObjectGetObjectRayOriginEXT(hitObjectEXT);"
 5827|      0|            "vec3 hitObjectGetObjectRayDirectionEXT(hitObjectEXT);"
 5828|      0|            "mat4x3 hitObjectGetWorldToObjectEXT(hitObjectEXT);"
 5829|      0|            "mat4x3 hitObjectGetObjectToWorldEXT(hitObjectEXT);"
 5830|      0|            "int hitObjectGetInstanceCustomIndexEXT(hitObjectEXT);"
 5831|      0|            "int hitObjectGetInstanceIdEXT(hitObjectEXT);"
 5832|      0|            "int hitObjectGetGeometryIndexEXT(hitObjectEXT);"
 5833|      0|            "int hitObjectGetPrimitiveIndexEXT(hitObjectEXT);"
 5834|      0|            "uint hitObjectGetHitKindEXT(hitObjectEXT);"
 5835|      0|            "void hitObjectGetAttributesEXT(hitObjectEXT,int);"
 5836|      0|            "float hitObjectGetCurrentTimeEXT(hitObjectEXT);"
 5837|      0|            "uint hitObjectGetShaderBindingTableRecordIndexEXT(hitObjectEXT);"
 5838|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleEXT(hitObjectEXT);"
 5839|      0|            "void hitObjectSetShaderBindingTableRecordIndexEXT(hitObjectEXT, uint);"
 5840|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int);"
 5841|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int, uint);"
 5842|      0|            "void hitObjectGetIntersectionTriangleVertexPositionsEXT(hitObjectEXT, out vec3[3]);"
 5843|      0|            "\n");
 5844|      0|        stageBuiltins[EShLangCallable].append(
 5845|      0|            "void executeCallableNV(uint, int);"
 5846|      0|            "void executeCallableEXT(uint, int);"
 5847|      0|            "\n");
 5848|      0|    }
 5849|       |
 5850|       |    // GL_KHR_compute_shader_derivatives / SPV_NV_compute_shader_derivatives
 5851|     46|    if ((profile == EEsProfile && version >= 320) || (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (5851:10): [True: 39, False: 7]
  |  Branch (5851:35): [True: 0, False: 39]
  |  Branch (5851:55): [True: 7, False: 39]
  |  Branch (5851:80): [True: 7, False: 0]
  ------------------
 5852|      7|        if (profile != EEsProfile) {
  ------------------
  |  Branch (5852:13): [True: 7, False: 0]
  ------------------
 5853|      7|            stageBuiltins[EShLangCompute].append(derivatives);
 5854|      7|            stageBuiltins[EShLangTask].append(derivatives);
 5855|      7|            stageBuiltins[EShLangMesh].append(derivatives);
 5856|      7|        }
 5857|       |
 5858|      7|        stageBuiltins[EShLangCompute].append(derivativeControls);
 5859|      7|        stageBuiltins[EShLangCompute].append("\n");
 5860|       |
 5861|      7|        if (profile != EEsProfile) {
  ------------------
  |  Branch (5861:13): [True: 7, False: 0]
  ------------------
 5862|      7|            stageBuiltins[EShLangTask].append(derivativeControls);
 5863|      7|            stageBuiltins[EShLangTask].append("\n");
 5864|      7|            stageBuiltins[EShLangMesh].append(derivativeControls);
 5865|      7|            stageBuiltins[EShLangMesh].append("\n");
 5866|      7|        }
 5867|      7|    }
 5868|     46|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5868:9): [True: 7, False: 39]
  |  Branch (5868:34): [True: 7, False: 0]
  ------------------
 5869|      7|        stageBuiltins[EShLangCompute].append(derivativesAndControl16bits);
 5870|      7|        stageBuiltins[EShLangCompute].append(derivativesAndControl64bits);
 5871|      7|        stageBuiltins[EShLangCompute].append("\n");
 5872|      7|        stageBuiltins[EShLangTask].append(derivativesAndControl16bits);
 5873|      7|        stageBuiltins[EShLangTask].append(derivativesAndControl64bits);
 5874|      7|        stageBuiltins[EShLangTask].append("\n");
 5875|      7|        stageBuiltins[EShLangMesh].append(derivativesAndControl16bits);
 5876|      7|        stageBuiltins[EShLangMesh].append(derivativesAndControl64bits);
 5877|      7|        stageBuiltins[EShLangMesh].append("\n");
 5878|      7|    }
 5879|       |
 5880|       |    // Builtins for GL_NV_mesh_shader
 5881|     46|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (5881:10): [True: 7, False: 39]
  |  Branch (5881:35): [True: 7, False: 0]
  |  Branch (5881:55): [True: 39, False: 0]
  |  Branch (5881:80): [True: 0, False: 39]
  ------------------
 5882|      7|        stageBuiltins[EShLangMesh].append(
 5883|      7|            "void writePackedPrimitiveIndices4x8NV(uint, uint);"
 5884|      7|            "\n");
 5885|      7|    }
 5886|       |    // Builtins for GL_EXT_mesh_shader
 5887|     46|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (5887:10): [True: 7, False: 39]
  |  Branch (5887:35): [True: 7, False: 0]
  |  Branch (5887:55): [True: 39, False: 0]
  |  Branch (5887:80): [True: 0, False: 39]
  ------------------
 5888|       |        // Builtins for GL_EXT_mesh_shader
 5889|      7|        stageBuiltins[EShLangTask].append(
 5890|      7|            "void EmitMeshTasksEXT(uint, uint, uint);"
 5891|      7|            "\n");
 5892|       |
 5893|      7|        stageBuiltins[EShLangMesh].append(
 5894|      7|            "void SetMeshOutputsEXT(uint, uint);"
 5895|      7|            "\n");
 5896|      7|    }
 5897|       |    // Builtins for GL_NV_displacement_micromap
 5898|     46|    if ((profile != EEsProfile && version >= 460) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (5898:10): [True: 7, False: 39]
  |  Branch (5898:35): [True: 0, False: 7]
  |  Branch (5898:55): [True: 39, False: 7]
  |  Branch (5898:80): [True: 0, False: 39]
  ------------------
 5899|      0|        stageBuiltins[EShLangMesh].append(
 5900|      0|            "vec3 fetchMicroTriangleVertexPositionNV(accelerationStructureEXT, int, int, int, ivec2);"
 5901|      0|            "vec2 fetchMicroTriangleVertexBarycentricNV(accelerationStructureEXT, int, int, int, ivec2);"
 5902|      0|            "\n");
 5903|       |
 5904|      0|        stageBuiltins[EShLangCompute].append(
 5905|      0|            "vec3 fetchMicroTriangleVertexPositionNV(accelerationStructureEXT, int, int, int, ivec2);"
 5906|      0|            "vec2 fetchMicroTriangleVertexBarycentricNV(accelerationStructureEXT, int, int, int, ivec2);"
 5907|      0|            "\n");
 5908|       |
 5909|      0|    }
 5910|       |
 5911|       |
 5912|       |    //============================================================================
 5913|       |    //
 5914|       |    // Standard Uniforms
 5915|       |    //
 5916|       |    //============================================================================
 5917|       |
 5918|       |    //
 5919|       |    // Depth range in window coordinates, p. 33
 5920|       |    //
 5921|     46|    if (spvVersion.spv == 0) {
  ------------------
  |  Branch (5921:9): [True: 46, False: 0]
  ------------------
 5922|     46|        commonBuiltins.append(
 5923|     46|            "struct gl_DepthRangeParameters {"
 5924|     46|            );
 5925|     46|        if (profile == EEsProfile) {
  ------------------
  |  Branch (5925:13): [True: 39, False: 7]
  ------------------
 5926|     39|            commonBuiltins.append(
 5927|     39|                "highp float near;"   // n
 5928|     39|                "highp float far;"    // f
 5929|     39|                "highp float diff;"   // f - n
 5930|     39|                );
 5931|     39|        } else {
 5932|      7|            commonBuiltins.append(
 5933|      7|                "float near;"  // n
 5934|      7|                "float far;"   // f
 5935|      7|                "float diff;"  // f - n
 5936|      7|                );
 5937|      7|        }
 5938|       |
 5939|     46|        commonBuiltins.append(
 5940|     46|            "};"
 5941|     46|            "uniform gl_DepthRangeParameters gl_DepthRange;"
 5942|     46|            "\n");
 5943|     46|    }
 5944|       |
 5945|     46|    if (spvVersion.spv == 0 && IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (5945:9): [True: 46, False: 0]
  |  Branch (5945:32): [True: 0, False: 46]
  ------------------
 5946|       |        //
 5947|       |        // Matrix state. p. 31, 32, 37, 39, 40.
 5948|       |        //
 5949|      0|        commonBuiltins.append(
 5950|      0|            "uniform mat4  gl_ModelViewMatrix;"
 5951|      0|            "uniform mat4  gl_ProjectionMatrix;"
 5952|      0|            "uniform mat4  gl_ModelViewProjectionMatrix;"
 5953|       |
 5954|       |            //
 5955|       |            // Derived matrix state that provides inverse and transposed versions
 5956|       |            // of the matrices above.
 5957|       |            //
 5958|      0|            "uniform mat3  gl_NormalMatrix;"
 5959|       |
 5960|      0|            "uniform mat4  gl_ModelViewMatrixInverse;"
 5961|      0|            "uniform mat4  gl_ProjectionMatrixInverse;"
 5962|      0|            "uniform mat4  gl_ModelViewProjectionMatrixInverse;"
 5963|       |
 5964|      0|            "uniform mat4  gl_ModelViewMatrixTranspose;"
 5965|      0|            "uniform mat4  gl_ProjectionMatrixTranspose;"
 5966|      0|            "uniform mat4  gl_ModelViewProjectionMatrixTranspose;"
 5967|       |
 5968|      0|            "uniform mat4  gl_ModelViewMatrixInverseTranspose;"
 5969|      0|            "uniform mat4  gl_ProjectionMatrixInverseTranspose;"
 5970|      0|            "uniform mat4  gl_ModelViewProjectionMatrixInverseTranspose;"
 5971|       |
 5972|       |            //
 5973|       |            // Normal scaling p. 39.
 5974|       |            //
 5975|      0|            "uniform float gl_NormalScale;"
 5976|       |
 5977|       |            //
 5978|       |            // Point Size, p. 66, 67.
 5979|       |            //
 5980|      0|            "struct gl_PointParameters {"
 5981|      0|                "float size;"
 5982|      0|                "float sizeMin;"
 5983|      0|                "float sizeMax;"
 5984|      0|                "float fadeThresholdSize;"
 5985|      0|                "float distanceConstantAttenuation;"
 5986|      0|                "float distanceLinearAttenuation;"
 5987|      0|                "float distanceQuadraticAttenuation;"
 5988|      0|            "};"
 5989|       |
 5990|      0|            "uniform gl_PointParameters gl_Point;"
 5991|       |
 5992|       |            //
 5993|       |            // Material State p. 50, 55.
 5994|       |            //
 5995|      0|            "struct gl_MaterialParameters {"
 5996|      0|                "vec4  emission;"    // Ecm
 5997|      0|                "vec4  ambient;"     // Acm
 5998|      0|                "vec4  diffuse;"     // Dcm
 5999|      0|                "vec4  specular;"    // Scm
 6000|      0|                "float shininess;"   // Srm
 6001|      0|            "};"
 6002|      0|            "uniform gl_MaterialParameters  gl_FrontMaterial;"
 6003|      0|            "uniform gl_MaterialParameters  gl_BackMaterial;"
 6004|       |
 6005|       |            //
 6006|       |            // Light State p 50, 53, 55.
 6007|       |            //
 6008|      0|            "struct gl_LightSourceParameters {"
 6009|      0|                "vec4  ambient;"             // Acli
 6010|      0|                "vec4  diffuse;"             // Dcli
 6011|      0|                "vec4  specular;"            // Scli
 6012|      0|                "vec4  position;"            // Ppli
 6013|      0|                "vec4  halfVector;"          // Derived: Hi
 6014|      0|                "vec3  spotDirection;"       // Sdli
 6015|      0|                "float spotExponent;"        // Srli
 6016|      0|                "float spotCutoff;"          // Crli
 6017|       |                                                        // (range: [0.0,90.0], 180.0)
 6018|      0|                "float spotCosCutoff;"       // Derived: cos(Crli)
 6019|       |                                                        // (range: [1.0,0.0],-1.0)
 6020|      0|                "float constantAttenuation;" // K0
 6021|      0|                "float linearAttenuation;"   // K1
 6022|      0|                "float quadraticAttenuation;"// K2
 6023|      0|            "};"
 6024|       |
 6025|      0|            "struct gl_LightModelParameters {"
 6026|      0|                "vec4  ambient;"       // Acs
 6027|      0|            "};"
 6028|       |
 6029|      0|            "uniform gl_LightModelParameters  gl_LightModel;"
 6030|       |
 6031|       |            //
 6032|       |            // Derived state from products of light and material.
 6033|       |            //
 6034|      0|            "struct gl_LightModelProducts {"
 6035|      0|                "vec4  sceneColor;"     // Derived. Ecm + Acm * Acs
 6036|      0|            "};"
 6037|       |
 6038|      0|            "uniform gl_LightModelProducts gl_FrontLightModelProduct;"
 6039|      0|            "uniform gl_LightModelProducts gl_BackLightModelProduct;"
 6040|       |
 6041|      0|            "struct gl_LightProducts {"
 6042|      0|                "vec4  ambient;"        // Acm * Acli
 6043|      0|                "vec4  diffuse;"        // Dcm * Dcli
 6044|      0|                "vec4  specular;"       // Scm * Scli
 6045|      0|            "};"
 6046|       |
 6047|       |            //
 6048|       |            // Fog p. 161
 6049|       |            //
 6050|      0|            "struct gl_FogParameters {"
 6051|      0|                "vec4  color;"
 6052|      0|                "float density;"
 6053|      0|                "float start;"
 6054|      0|                "float end;"
 6055|      0|                "float scale;"   //  1 / (gl_FogEnd - gl_FogStart)
 6056|      0|            "};"
 6057|       |
 6058|      0|            "uniform gl_FogParameters gl_Fog;"
 6059|       |
 6060|      0|            "\n");
 6061|      0|    }
 6062|       |
 6063|       |    //============================================================================
 6064|       |    //
 6065|       |    // Define the interface to the compute shader.
 6066|       |    //
 6067|       |    //============================================================================
 6068|       |
 6069|     46|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (6069:10): [True: 7, False: 39]
  |  Branch (6069:35): [True: 7, False: 0]
  ------------------
 6070|     39|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6070:10): [True: 39, False: 0]
  |  Branch (6070:35): [True: 0, False: 39]
  ------------------
 6071|      7|        stageBuiltins[EShLangCompute].append(
 6072|      7|            "in    highp uvec3 gl_NumWorkGroups;"
 6073|      7|            "const highp uvec3 gl_WorkGroupSize = uvec3(1,1,1);"
 6074|       |
 6075|      7|            "in highp uvec3 gl_WorkGroupID;"
 6076|      7|            "in highp uvec3 gl_LocalInvocationID;"
 6077|       |
 6078|      7|            "in highp uvec3 gl_GlobalInvocationID;"
 6079|      7|            "in highp uint gl_LocalInvocationIndex;"
 6080|       |
 6081|      7|            "\n");
 6082|      7|    }
 6083|       |
 6084|     46|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6084:10): [True: 7, False: 39]
  |  Branch (6084:35): [True: 7, False: 0]
  ------------------
 6085|     39|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6085:10): [True: 39, False: 0]
  |  Branch (6085:35): [True: 0, False: 39]
  ------------------
 6086|      7|        stageBuiltins[EShLangCompute].append(
 6087|      7|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6088|      7|            "\n");
 6089|      7|    }
 6090|       |
 6091|       |    // GL_QCOM_tile_shading
 6092|     46|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (6092:10): [True: 39, False: 7]
  |  Branch (6092:35): [True: 0, False: 39]
  ------------------
 6093|     46|        (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (6093:10): [True: 7, False: 39]
  |  Branch (6093:35): [True: 0, False: 7]
  ------------------
 6094|      0|        stageBuiltins[EShLangCompute].append(
 6095|      0|            "in highp uvec2 gl_TileOffsetQCOM;"     // GL_QCOM_tile_shading
 6096|      0|            "in highp uvec3 gl_TileDimensionQCOM;"  // GL_QCOM_tile_shading
 6097|      0|            "in highp uvec2 gl_TileApronSizeQCOM;"  // GL_QCOM_tile_shading
 6098|      0|            "\n");
 6099|      0|    }
 6100|       |
 6101|       |    //============================================================================
 6102|       |    //
 6103|       |    // Define the interface to the mesh/task shader.
 6104|       |    //
 6105|       |    //============================================================================
 6106|       |
 6107|     46|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (6107:10): [True: 7, False: 39]
  |  Branch (6107:35): [True: 7, False: 0]
  |  Branch (6107:55): [True: 39, False: 0]
  |  Branch (6107:80): [True: 0, False: 39]
  ------------------
 6108|       |        // per-vertex attributes
 6109|      7|        stageBuiltins[EShLangMesh].append(
 6110|      7|            "out gl_MeshPerVertexNV {"
 6111|      7|                "vec4 gl_Position;"
 6112|      7|                "float gl_PointSize;"
 6113|      7|                "float gl_ClipDistance[];"
 6114|      7|                "float gl_CullDistance[];"
 6115|      7|                "perviewNV vec4 gl_PositionPerViewNV[];"
 6116|      7|                "perviewNV float gl_ClipDistancePerViewNV[][];"
 6117|      7|                "perviewNV float gl_CullDistancePerViewNV[][];"
 6118|      7|            "} gl_MeshVerticesNV[];"
 6119|      7|        );
 6120|       |
 6121|       |        // per-primitive attributes
 6122|      7|        stageBuiltins[EShLangMesh].append(
 6123|      7|            "perprimitiveNV out gl_MeshPerPrimitiveNV {"
 6124|      7|                "int gl_PrimitiveID;"
 6125|      7|                "int gl_Layer;"
 6126|      7|                "int gl_ViewportIndex;"
 6127|      7|                "int gl_ViewportMask[];"
 6128|      7|                "perviewNV int gl_LayerPerViewNV[];"
 6129|      7|                "perviewNV int gl_ViewportMaskPerViewNV[][];"
 6130|      7|            "} gl_MeshPrimitivesNV[];"
 6131|      7|        );
 6132|       |
 6133|      7|        stageBuiltins[EShLangMesh].append(
 6134|      7|            "out uint gl_PrimitiveCountNV;"
 6135|      7|            "out uint gl_PrimitiveIndicesNV[];"
 6136|       |
 6137|      7|            "in uint gl_MeshViewCountNV;"
 6138|      7|            "in uint gl_MeshViewIndicesNV[4];"
 6139|       |
 6140|      7|            "const highp uvec3 gl_WorkGroupSize = uvec3(1,1,1);"
 6141|       |
 6142|      7|            "in highp uvec3 gl_WorkGroupID;"
 6143|      7|            "in highp uvec3 gl_LocalInvocationID;"
 6144|       |
 6145|      7|            "in highp uvec3 gl_GlobalInvocationID;"
 6146|      7|            "in highp uint gl_LocalInvocationIndex;"
 6147|      7|            "\n");
 6148|       |
 6149|       |        // GL_EXT_mesh_shader
 6150|      7|        stageBuiltins[EShLangMesh].append(
 6151|      7|            "out uint gl_PrimitivePointIndicesEXT[];"
 6152|      7|            "out uvec2 gl_PrimitiveLineIndicesEXT[];"
 6153|      7|            "out uvec3 gl_PrimitiveTriangleIndicesEXT[];"
 6154|      7|            "in    highp uvec3 gl_NumWorkGroups;"
 6155|      7|            "\n");
 6156|       |
 6157|       |        // per-vertex attributes
 6158|      7|        stageBuiltins[EShLangMesh].append(
 6159|      7|            "out gl_MeshPerVertexEXT {"
 6160|      7|                "vec4 gl_Position;"
 6161|      7|                "float gl_PointSize;"
 6162|      7|                "float gl_ClipDistance[];"
 6163|      7|                "float gl_CullDistance[];"
 6164|      7|            "} gl_MeshVerticesEXT[];"
 6165|      7|        );
 6166|       |
 6167|       |        // per-primitive attributes
 6168|      7|        stageBuiltins[EShLangMesh].append(
 6169|      7|            "perprimitiveEXT out gl_MeshPerPrimitiveEXT {"
 6170|      7|                "int gl_PrimitiveID;"
 6171|      7|                "int gl_Layer;"
 6172|      7|                "int gl_ViewportIndex;"
 6173|      7|                "bool gl_CullPrimitiveEXT;"
 6174|      7|                "int  gl_PrimitiveShadingRateEXT;"
 6175|      7|            "} gl_MeshPrimitivesEXT[];"
 6176|      7|        );
 6177|       |
 6178|      7|        stageBuiltins[EShLangTask].append(
 6179|      7|            "out uint gl_TaskCountNV;"
 6180|       |
 6181|      7|            "const highp uvec3 gl_WorkGroupSize = uvec3(1,1,1);"
 6182|       |
 6183|      7|            "in highp uvec3 gl_WorkGroupID;"
 6184|      7|            "in highp uvec3 gl_LocalInvocationID;"
 6185|       |
 6186|      7|            "in highp uvec3 gl_GlobalInvocationID;"
 6187|      7|            "in highp uint gl_LocalInvocationIndex;"
 6188|       |
 6189|      7|            "in uint gl_MeshViewCountNV;"
 6190|      7|            "in uint gl_MeshViewIndicesNV[4];"
 6191|      7|            "in    highp uvec3 gl_NumWorkGroups;"
 6192|      7|            "\n");
 6193|      7|    }
 6194|       |
 6195|     46|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (6195:9): [True: 7, False: 39]
  |  Branch (6195:34): [True: 7, False: 0]
  ------------------
 6196|      7|        stageBuiltins[EShLangMesh].append(
 6197|      7|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6198|      7|            "in int gl_DrawIDARB;"             // GL_ARB_shader_draw_parameters
 6199|      7|            "in int gl_ViewIndex;"             // GL_EXT_multiview
 6200|      7|            "\n");
 6201|       |
 6202|      7|        stageBuiltins[EShLangTask].append(
 6203|      7|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6204|      7|            "in int gl_DrawIDARB;"             // GL_ARB_shader_draw_parameters
 6205|      7|            "\n");
 6206|       |
 6207|      7|        if (version >= 460) {
  ------------------
  |  Branch (6207:13): [True: 0, False: 7]
  ------------------
 6208|      0|            stageBuiltins[EShLangMesh].append(
 6209|      0|                "in int gl_DrawID;"
 6210|      0|                "\n");
 6211|       |
 6212|      0|            stageBuiltins[EShLangTask].append(
 6213|      0|                "in int gl_DrawID;"
 6214|      0|                "\n");
 6215|      0|        }
 6216|      7|    }
 6217|       |
 6218|       |    //============================================================================
 6219|       |    //
 6220|       |    // Define the interface to the vertex shader.
 6221|       |    //
 6222|       |    //============================================================================
 6223|       |
 6224|     46|    if (profile != EEsProfile) {
  ------------------
  |  Branch (6224:9): [True: 7, False: 39]
  ------------------
 6225|      7|        if (version < 130) {
  ------------------
  |  Branch (6225:13): [True: 0, False: 7]
  ------------------
 6226|      0|            stageBuiltins[EShLangVertex].append(
 6227|      0|                "attribute vec4  gl_Color;"
 6228|      0|                "attribute vec4  gl_SecondaryColor;"
 6229|      0|                "attribute vec3  gl_Normal;"
 6230|      0|                "attribute vec4  gl_Vertex;"
 6231|      0|                "attribute vec4  gl_MultiTexCoord0;"
 6232|      0|                "attribute vec4  gl_MultiTexCoord1;"
 6233|      0|                "attribute vec4  gl_MultiTexCoord2;"
 6234|      0|                "attribute vec4  gl_MultiTexCoord3;"
 6235|      0|                "attribute vec4  gl_MultiTexCoord4;"
 6236|      0|                "attribute vec4  gl_MultiTexCoord5;"
 6237|      0|                "attribute vec4  gl_MultiTexCoord6;"
 6238|      0|                "attribute vec4  gl_MultiTexCoord7;"
 6239|      0|                "attribute float gl_FogCoord;"
 6240|      0|                "\n");
 6241|      7|        } else if (IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6241:20): [True: 0, False: 7]
  ------------------
 6242|      0|            stageBuiltins[EShLangVertex].append(
 6243|      0|                "in vec4  gl_Color;"
 6244|      0|                "in vec4  gl_SecondaryColor;"
 6245|      0|                "in vec3  gl_Normal;"
 6246|      0|                "in vec4  gl_Vertex;"
 6247|      0|                "in vec4  gl_MultiTexCoord0;"
 6248|      0|                "in vec4  gl_MultiTexCoord1;"
 6249|      0|                "in vec4  gl_MultiTexCoord2;"
 6250|      0|                "in vec4  gl_MultiTexCoord3;"
 6251|      0|                "in vec4  gl_MultiTexCoord4;"
 6252|      0|                "in vec4  gl_MultiTexCoord5;"
 6253|      0|                "in vec4  gl_MultiTexCoord6;"
 6254|      0|                "in vec4  gl_MultiTexCoord7;"
 6255|      0|                "in float gl_FogCoord;"
 6256|      0|                "\n");
 6257|      0|        }
 6258|       |
 6259|      7|        if (version < 150) {
  ------------------
  |  Branch (6259:13): [True: 0, False: 7]
  ------------------
 6260|      0|            if (version < 130) {
  ------------------
  |  Branch (6260:17): [True: 0, False: 0]
  ------------------
 6261|      0|                stageBuiltins[EShLangVertex].append(
 6262|      0|                    "        vec4  gl_ClipVertex;"       // needs qualifier fixed later
 6263|      0|                    "varying vec4  gl_FrontColor;"
 6264|      0|                    "varying vec4  gl_BackColor;"
 6265|      0|                    "varying vec4  gl_FrontSecondaryColor;"
 6266|      0|                    "varying vec4  gl_BackSecondaryColor;"
 6267|      0|                    "varying vec4  gl_TexCoord[];"
 6268|      0|                    "varying float gl_FogFragCoord;"
 6269|      0|                    "\n");
 6270|      0|            } else if (IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6270:24): [True: 0, False: 0]
  ------------------
 6271|      0|                stageBuiltins[EShLangVertex].append(
 6272|      0|                    "    vec4  gl_ClipVertex;"       // needs qualifier fixed later
 6273|      0|                    "out vec4  gl_FrontColor;"
 6274|      0|                    "out vec4  gl_BackColor;"
 6275|      0|                    "out vec4  gl_FrontSecondaryColor;"
 6276|      0|                    "out vec4  gl_BackSecondaryColor;"
 6277|      0|                    "out vec4  gl_TexCoord[];"
 6278|      0|                    "out float gl_FogFragCoord;"
 6279|      0|                    "\n");
 6280|      0|            }
 6281|      0|            stageBuiltins[EShLangVertex].append(
 6282|      0|                "vec4 gl_Position;"   // needs qualifier fixed later
 6283|      0|                "float gl_PointSize;" // needs qualifier fixed later
 6284|      0|                );
 6285|       |
 6286|      0|            if (version == 130 || version == 140)
  ------------------
  |  Branch (6286:17): [True: 0, False: 0]
  |  Branch (6286:35): [True: 0, False: 0]
  ------------------
 6287|      0|                stageBuiltins[EShLangVertex].append(
 6288|      0|                    "out float gl_ClipDistance[];"
 6289|      0|                    );
 6290|      7|        } else {
 6291|       |            // version >= 150
 6292|      7|            stageBuiltins[EShLangVertex].append(
 6293|      7|                "out gl_PerVertex {"
 6294|      7|                    "vec4 gl_Position;"     // needs qualifier fixed later
 6295|      7|                    "float gl_PointSize;"   // needs qualifier fixed later
 6296|      7|                    "float gl_ClipDistance[];"
 6297|      7|                    );
 6298|      7|            if (IncludeLegacy(version, profile, spvVersion))
  ------------------
  |  Branch (6298:17): [True: 0, False: 7]
  ------------------
 6299|      0|                stageBuiltins[EShLangVertex].append(
 6300|      0|                    "vec4 gl_ClipVertex;"   // needs qualifier fixed later
 6301|      0|                    "vec4 gl_FrontColor;"
 6302|      0|                    "vec4 gl_BackColor;"
 6303|      0|                    "vec4 gl_FrontSecondaryColor;"
 6304|      0|                    "vec4 gl_BackSecondaryColor;"
 6305|      0|                    "vec4 gl_TexCoord[];"
 6306|      0|                    "float gl_FogFragCoord;"
 6307|      0|                    );
 6308|      7|            if (version >= 450)
  ------------------
  |  Branch (6308:17): [True: 7, False: 0]
  ------------------
 6309|      7|                stageBuiltins[EShLangVertex].append(
 6310|      7|                    "float gl_CullDistance[];"
 6311|      7|                    );
 6312|      7|            stageBuiltins[EShLangVertex].append(
 6313|      7|                "};"
 6314|      7|                "\n");
 6315|      7|        }
 6316|      7|        if (version >= 130 && spvVersion.vulkan == 0)
  ------------------
  |  Branch (6316:13): [True: 7, False: 0]
  |  Branch (6316:31): [True: 6, False: 1]
  ------------------
 6317|      6|            stageBuiltins[EShLangVertex].append(
 6318|      6|                "int gl_VertexID;"            // needs qualifier fixed later
 6319|      6|                );
 6320|      7|        if (spvVersion.vulkan == 0)
  ------------------
  |  Branch (6320:13): [True: 6, False: 1]
  ------------------
 6321|      6|            stageBuiltins[EShLangVertex].append(
 6322|      6|                "int gl_InstanceID;"          // needs qualifier fixed later
 6323|      6|                );
 6324|      7|        if (spvVersion.vulkan > 0 && version >= 140)
  ------------------
  |  Branch (6324:13): [True: 1, False: 6]
  |  Branch (6324:38): [True: 1, False: 0]
  ------------------
 6325|      1|            stageBuiltins[EShLangVertex].append(
 6326|      1|                "in int gl_VertexIndex;"
 6327|      1|                "in int gl_InstanceIndex;"
 6328|      1|                );
 6329|       |
 6330|      7|        if (spvVersion.vulkan > 0 && version >= 140 && spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (6330:13): [True: 1, False: 6]
  |  Branch (6330:38): [True: 1, False: 0]
  |  Branch (6330:56): [True: 0, False: 1]
  ------------------
 6331|      0|            stageBuiltins[EShLangVertex].append(
 6332|      0|                "in int gl_VertexID;"         // declare with 'in' qualifier
 6333|      0|                "in int gl_InstanceID;"
 6334|      0|                );
 6335|       |
 6336|      7|        if (version >= 440) {
  ------------------
  |  Branch (6336:13): [True: 7, False: 0]
  ------------------
 6337|      7|            stageBuiltins[EShLangVertex].append(
 6338|      7|                "in int gl_BaseVertexARB;"
 6339|      7|                "in int gl_BaseInstanceARB;"
 6340|      7|                "in int gl_DrawIDARB;"
 6341|      7|                );
 6342|      7|        }
 6343|      7|        if (version >= 410) {
  ------------------
  |  Branch (6343:13): [True: 7, False: 0]
  ------------------
 6344|      7|            stageBuiltins[EShLangVertex].append(
 6345|      7|                "out int gl_ViewportIndex;"
 6346|      7|                "out int gl_Layer;"
 6347|      7|                );
 6348|      7|        }
 6349|      7|        if (version >= 460) {
  ------------------
  |  Branch (6349:13): [True: 0, False: 7]
  ------------------
 6350|      0|            stageBuiltins[EShLangVertex].append(
 6351|      0|                "in int gl_BaseVertex;"
 6352|      0|                "in int gl_BaseInstance;"
 6353|      0|                "in int gl_DrawID;"
 6354|      0|                );
 6355|      0|        }
 6356|       |
 6357|      7|        if (version >= 430)
  ------------------
  |  Branch (6357:13): [True: 7, False: 0]
  ------------------
 6358|      7|            stageBuiltins[EShLangVertex].append(
 6359|      7|                "out int gl_ViewportMask[];"             // GL_NV_viewport_array2
 6360|      7|                );
 6361|       |
 6362|      7|        if (version >= 450)
  ------------------
  |  Branch (6362:13): [True: 7, False: 0]
  ------------------
 6363|      7|            stageBuiltins[EShLangVertex].append(
 6364|      7|                "out int gl_SecondaryViewportMaskNV[];"  // GL_NV_stereo_view_rendering
 6365|      7|                "out vec4 gl_SecondaryPositionNV;"       // GL_NV_stereo_view_rendering
 6366|      7|                "out vec4 gl_PositionPerViewNV[];"       // GL_NVX_multiview_per_view_attributes
 6367|      7|                "out int  gl_ViewportMaskPerViewNV[];"   // GL_NVX_multiview_per_view_attributes
 6368|      7|                );
 6369|     39|    } else {
 6370|       |        // ES profile
 6371|     39|        if (version == 100) {
  ------------------
  |  Branch (6371:13): [True: 39, False: 0]
  ------------------
 6372|     39|            stageBuiltins[EShLangVertex].append(
 6373|     39|                "highp   vec4  gl_Position;"  // needs qualifier fixed later
 6374|     39|                "mediump float gl_PointSize;" // needs qualifier fixed later
 6375|     39|                "highp int gl_InstanceID;" // needs qualifier fixed later
 6376|     39|                );
 6377|     39|        } else {
 6378|      0|            if (spvVersion.vulkan == 0 || spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (6378:17): [True: 0, False: 0]
  |  Branch (6378:43): [True: 0, False: 0]
  ------------------
 6379|      0|                stageBuiltins[EShLangVertex].append(
 6380|      0|                    "in highp int gl_VertexID;"      // needs qualifier fixed later
 6381|      0|                    "in highp int gl_InstanceID;"    // needs qualifier fixed later
 6382|      0|                    );
 6383|      0|            if (spvVersion.vulkan > 0)
  ------------------
  |  Branch (6383:17): [True: 0, False: 0]
  ------------------
 6384|      0|                stageBuiltins[EShLangVertex].append(
 6385|      0|                    "in highp int gl_VertexIndex;"
 6386|      0|                    "in highp int gl_InstanceIndex;"
 6387|      0|                    );
 6388|      0|            if (version < 310)
  ------------------
  |  Branch (6388:17): [True: 0, False: 0]
  ------------------
 6389|      0|                stageBuiltins[EShLangVertex].append(
 6390|      0|                    "highp vec4  gl_Position;"    // needs qualifier fixed later
 6391|      0|                    "highp float gl_PointSize;"   // needs qualifier fixed later
 6392|      0|                    );
 6393|      0|            else
 6394|      0|                stageBuiltins[EShLangVertex].append(
 6395|      0|                    "out gl_PerVertex {"
 6396|      0|                        "highp vec4  gl_Position;"    // needs qualifier fixed later
 6397|      0|                        "highp float gl_PointSize;"   // needs qualifier fixed later
 6398|      0|                    "};"
 6399|      0|                    );
 6400|      0|        }
 6401|     39|    }
 6402|       |
 6403|     46|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6403:10): [True: 7, False: 39]
  |  Branch (6403:35): [True: 7, False: 0]
  ------------------
 6404|     39|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6404:10): [True: 39, False: 0]
  |  Branch (6404:35): [True: 0, False: 39]
  ------------------
 6405|      7|        stageBuiltins[EShLangVertex].append(
 6406|      7|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6407|      7|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6408|      7|            "\n");
 6409|      7|    }
 6410|       |
 6411|     46|    if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (6411:9): [True: 7, False: 39]
  ------------------
 6412|      7|        stageBuiltins[EShLangVertex].append(
 6413|      7|            "in highp uint gl_ViewID_OVR;"     // GL_OVR_multiview, GL_OVR_multiview2
 6414|      7|            "\n");
 6415|      7|    }
 6416|       |
 6417|     46|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6417:10): [True: 7, False: 39]
  |  Branch (6417:35): [True: 7, False: 0]
  |  Branch (6417:55): [True: 39, False: 0]
  |  Branch (6417:80): [True: 0, False: 39]
  ------------------
 6418|      7|        stageBuiltins[EShLangVertex].append(
 6419|      7|            "out highp int gl_PrimitiveShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6420|      7|            "\n");
 6421|      7|    }
 6422|       |
 6423|       |    //============================================================================
 6424|       |    //
 6425|       |    // Define the interface to the geometry shader.
 6426|       |    //
 6427|       |    //============================================================================
 6428|       |
 6429|     46|    if (profile == ECoreProfile || profile == ECompatibilityProfile) {
  ------------------
  |  Branch (6429:9): [True: 7, False: 39]
  |  Branch (6429:36): [True: 0, False: 39]
  ------------------
 6430|      7|        stageBuiltins[EShLangGeometry].append(
 6431|      7|            "in gl_PerVertex {"
 6432|      7|                "vec4 gl_Position;"
 6433|      7|                "float gl_PointSize;"
 6434|      7|                "float gl_ClipDistance[];"
 6435|      7|                );
 6436|      7|        if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (6436:13): [True: 0, False: 7]
  ------------------
 6437|      0|            stageBuiltins[EShLangGeometry].append(
 6438|      0|                "vec4 gl_ClipVertex;"
 6439|      0|                "vec4 gl_FrontColor;"
 6440|      0|                "vec4 gl_BackColor;"
 6441|      0|                "vec4 gl_FrontSecondaryColor;"
 6442|      0|                "vec4 gl_BackSecondaryColor;"
 6443|      0|                "vec4 gl_TexCoord[];"
 6444|      0|                "float gl_FogFragCoord;"
 6445|      0|                );
 6446|      7|        if (version >= 450)
  ------------------
  |  Branch (6446:13): [True: 7, False: 0]
  ------------------
 6447|      7|            stageBuiltins[EShLangGeometry].append(
 6448|      7|                "float gl_CullDistance[];"
 6449|      7|                "vec4 gl_SecondaryPositionNV;"   // GL_NV_stereo_view_rendering
 6450|      7|                "vec4 gl_PositionPerViewNV[];"   // GL_NVX_multiview_per_view_attributes
 6451|      7|                );
 6452|      7|        stageBuiltins[EShLangGeometry].append(
 6453|      7|            "} gl_in[];"
 6454|       |
 6455|      7|            "in int gl_PrimitiveIDIn;"
 6456|      7|            "out gl_PerVertex {"
 6457|      7|                "vec4 gl_Position;"
 6458|      7|                "float gl_PointSize;"
 6459|      7|                "float gl_ClipDistance[];"
 6460|      7|                "\n");
 6461|      7|        if (profile == ECompatibilityProfile && version >= 400)
  ------------------
  |  Branch (6461:13): [True: 0, False: 7]
  |  Branch (6461:49): [True: 0, False: 0]
  ------------------
 6462|      0|            stageBuiltins[EShLangGeometry].append(
 6463|      0|                "vec4 gl_ClipVertex;"
 6464|      0|                "vec4 gl_FrontColor;"
 6465|      0|                "vec4 gl_BackColor;"
 6466|      0|                "vec4 gl_FrontSecondaryColor;"
 6467|      0|                "vec4 gl_BackSecondaryColor;"
 6468|      0|                "vec4 gl_TexCoord[];"
 6469|      0|                "float gl_FogFragCoord;"
 6470|      0|                );
 6471|      7|        if (version >= 450)
  ------------------
  |  Branch (6471:13): [True: 7, False: 0]
  ------------------
 6472|      7|            stageBuiltins[EShLangGeometry].append(
 6473|      7|                "float gl_CullDistance[];"
 6474|      7|                );
 6475|      7|        stageBuiltins[EShLangGeometry].append(
 6476|      7|            "};"
 6477|       |
 6478|      7|            "out int gl_PrimitiveID;"
 6479|      7|            "out int gl_Layer;");
 6480|       |
 6481|      7|        if (version >= 150)
  ------------------
  |  Branch (6481:13): [True: 7, False: 0]
  ------------------
 6482|      7|            stageBuiltins[EShLangGeometry].append(
 6483|      7|            "out int gl_ViewportIndex;"
 6484|      7|            );
 6485|       |
 6486|      7|        if (profile == ECompatibilityProfile && version < 400)
  ------------------
  |  Branch (6486:13): [True: 0, False: 7]
  |  Branch (6486:49): [True: 0, False: 0]
  ------------------
 6487|      0|            stageBuiltins[EShLangGeometry].append(
 6488|      0|            "out vec4 gl_ClipVertex;"
 6489|      0|            );
 6490|       |
 6491|      7|        if (version >= 150)
  ------------------
  |  Branch (6491:13): [True: 7, False: 0]
  ------------------
 6492|      7|            stageBuiltins[EShLangGeometry].append(
 6493|      7|            "in int gl_InvocationID;"
 6494|      7|            );
 6495|       |
 6496|      7|        if (version >= 430)
  ------------------
  |  Branch (6496:13): [True: 7, False: 0]
  ------------------
 6497|      7|            stageBuiltins[EShLangGeometry].append(
 6498|      7|                "out int gl_ViewportMask[];"               // GL_NV_viewport_array2
 6499|      7|            );
 6500|       |
 6501|      7|        if (version >= 450)
  ------------------
  |  Branch (6501:13): [True: 7, False: 0]
  ------------------
 6502|      7|            stageBuiltins[EShLangGeometry].append(
 6503|      7|                "out int gl_SecondaryViewportMaskNV[];"    // GL_NV_stereo_view_rendering
 6504|      7|                "out vec4 gl_SecondaryPositionNV;"         // GL_NV_stereo_view_rendering
 6505|      7|                "out vec4 gl_PositionPerViewNV[];"         // GL_NVX_multiview_per_view_attributes
 6506|      7|                "out int  gl_ViewportMaskPerViewNV[];"     // GL_NVX_multiview_per_view_attributes
 6507|      7|            );
 6508|       |
 6509|      7|        stageBuiltins[EShLangGeometry].append("\n");
 6510|     39|    } else if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (6510:16): [True: 39, False: 0]
  |  Branch (6510:41): [True: 0, False: 39]
  ------------------
 6511|      0|        stageBuiltins[EShLangGeometry].append(
 6512|      0|            "in gl_PerVertex {"
 6513|      0|                "highp vec4 gl_Position;"
 6514|      0|                "highp float gl_PointSize;"
 6515|      0|            "} gl_in[];"
 6516|      0|            "\n"
 6517|      0|            "in highp int gl_PrimitiveIDIn;"
 6518|      0|            "in highp int gl_InvocationID;"
 6519|      0|            "\n"
 6520|      0|            "out gl_PerVertex {"
 6521|      0|                "highp vec4 gl_Position;"
 6522|      0|                "highp float gl_PointSize;"
 6523|      0|            "};"
 6524|      0|            "\n"
 6525|      0|            "out highp int gl_PrimitiveID;"
 6526|      0|            "out highp int gl_Layer;"
 6527|      0|            "\n"
 6528|      0|            );
 6529|      0|    }
 6530|       |
 6531|     46|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6531:10): [True: 7, False: 39]
  |  Branch (6531:35): [True: 7, False: 0]
  ------------------
 6532|     39|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6532:10): [True: 39, False: 0]
  |  Branch (6532:35): [True: 0, False: 39]
  ------------------
 6533|      7|        stageBuiltins[EShLangGeometry].append(
 6534|      7|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6535|      7|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6536|      7|            "\n");
 6537|      7|    }
 6538|       |
 6539|     46|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6539:10): [True: 7, False: 39]
  |  Branch (6539:35): [True: 7, False: 0]
  |  Branch (6539:55): [True: 39, False: 0]
  |  Branch (6539:80): [True: 0, False: 39]
  ------------------
 6540|      7|        stageBuiltins[EShLangGeometry].append(
 6541|      7|            "out highp int gl_PrimitiveShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6542|      7|            "\n");
 6543|      7|    }
 6544|       |
 6545|       |    //============================================================================
 6546|       |    //
 6547|       |    // Define the interface to the tessellation control shader.
 6548|       |    //
 6549|       |    //============================================================================
 6550|       |
 6551|     46|    if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (6551:9): [True: 7, False: 39]
  |  Branch (6551:34): [True: 7, False: 0]
  ------------------
 6552|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6553|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6554|       |
 6555|      7|        stageBuiltins[EShLangTessControl].append(
 6556|      7|            "in int gl_PatchVerticesIn;"
 6557|      7|            "in int gl_PrimitiveID;"
 6558|      7|            "in int gl_InvocationID;"
 6559|       |
 6560|      7|            "out gl_PerVertex {"
 6561|      7|                "vec4 gl_Position;"
 6562|      7|                "float gl_PointSize;"
 6563|      7|                "float gl_ClipDistance[];"
 6564|      7|                );
 6565|      7|        if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (6565:13): [True: 0, False: 7]
  ------------------
 6566|      0|            stageBuiltins[EShLangTessControl].append(
 6567|      0|                "vec4 gl_ClipVertex;"
 6568|      0|                "vec4 gl_FrontColor;"
 6569|      0|                "vec4 gl_BackColor;"
 6570|      0|                "vec4 gl_FrontSecondaryColor;"
 6571|      0|                "vec4 gl_BackSecondaryColor;"
 6572|      0|                "vec4 gl_TexCoord[];"
 6573|      0|                "float gl_FogFragCoord;"
 6574|      0|                );
 6575|      7|        if (version >= 450)
  ------------------
  |  Branch (6575:13): [True: 7, False: 0]
  ------------------
 6576|      7|            stageBuiltins[EShLangTessControl].append(
 6577|      7|                "float gl_CullDistance[];"
 6578|      7|            );
 6579|      7|        if (version >= 430)
  ------------------
  |  Branch (6579:13): [True: 7, False: 0]
  ------------------
 6580|      7|            stageBuiltins[EShLangTessControl].append(
 6581|      7|                "int  gl_ViewportMask[];"             // GL_NV_viewport_array2
 6582|      7|            );
 6583|      7|        if (version >= 450)
  ------------------
  |  Branch (6583:13): [True: 7, False: 0]
  ------------------
 6584|      7|            stageBuiltins[EShLangTessControl].append(
 6585|      7|                "vec4 gl_SecondaryPositionNV;"        // GL_NV_stereo_view_rendering
 6586|      7|                "int  gl_SecondaryViewportMaskNV[];"  // GL_NV_stereo_view_rendering
 6587|      7|                "vec4 gl_PositionPerViewNV[];"        // GL_NVX_multiview_per_view_attributes
 6588|      7|                "int  gl_ViewportMaskPerViewNV[];"    // GL_NVX_multiview_per_view_attributes
 6589|      7|                );
 6590|      7|        stageBuiltins[EShLangTessControl].append(
 6591|      7|            "} gl_out[];"
 6592|       |
 6593|      7|            "patch out float gl_TessLevelOuter[4];"
 6594|      7|            "patch out float gl_TessLevelInner[2];"
 6595|      7|            "\n");
 6596|       |
 6597|      7|        if (version >= 410)
  ------------------
  |  Branch (6597:13): [True: 7, False: 0]
  ------------------
 6598|      7|            stageBuiltins[EShLangTessControl].append(
 6599|      7|                "out int gl_ViewportIndex;"
 6600|      7|                "out int gl_Layer;"
 6601|      7|                "\n");
 6602|       |
 6603|     39|    } else {
 6604|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6605|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6606|       |
 6607|     39|        stageBuiltins[EShLangTessControl].append(
 6608|     39|            "in highp int gl_PatchVerticesIn;"
 6609|     39|            "in highp int gl_PrimitiveID;"
 6610|     39|            "in highp int gl_InvocationID;"
 6611|       |
 6612|     39|            "out gl_PerVertex {"
 6613|     39|                "highp vec4 gl_Position;"
 6614|     39|                "highp float gl_PointSize;"
 6615|     39|                );
 6616|     39|        stageBuiltins[EShLangTessControl].append(
 6617|     39|            "} gl_out[];"
 6618|       |
 6619|     39|            "patch out highp float gl_TessLevelOuter[4];"
 6620|     39|            "patch out highp float gl_TessLevelInner[2];"
 6621|     39|            "patch out highp vec4 gl_BoundingBoxOES[2];"
 6622|     39|            "patch out highp vec4 gl_BoundingBoxEXT[2];"
 6623|     39|            "\n");
 6624|     39|        if (profile == EEsProfile && version >= 320) {
  ------------------
  |  Branch (6624:13): [True: 39, False: 0]
  |  Branch (6624:38): [True: 0, False: 39]
  ------------------
 6625|      0|            stageBuiltins[EShLangTessControl].append(
 6626|      0|                "patch out highp vec4 gl_BoundingBox[2];"
 6627|      0|                "\n"
 6628|      0|            );
 6629|      0|        }
 6630|     39|    }
 6631|       |
 6632|     46|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6632:10): [True: 7, False: 39]
  |  Branch (6632:35): [True: 7, False: 0]
  ------------------
 6633|     39|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6633:10): [True: 39, False: 0]
  |  Branch (6633:35): [True: 0, False: 39]
  ------------------
 6634|      7|        stageBuiltins[EShLangTessControl].append(
 6635|      7|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6636|      7|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6637|      7|            "\n");
 6638|      7|    }
 6639|       |
 6640|       |    //============================================================================
 6641|       |    //
 6642|       |    // Define the interface to the tessellation evaluation shader.
 6643|       |    //
 6644|       |    //============================================================================
 6645|       |
 6646|     46|    if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (6646:9): [True: 7, False: 39]
  |  Branch (6646:34): [True: 7, False: 0]
  ------------------
 6647|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6648|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6649|       |
 6650|      7|        stageBuiltins[EShLangTessEvaluation].append(
 6651|      7|            "in int gl_PatchVerticesIn;"
 6652|      7|            "in int gl_PrimitiveID;"
 6653|      7|            "in vec3 gl_TessCoord;"
 6654|       |
 6655|      7|            "patch in float gl_TessLevelOuter[4];"
 6656|      7|            "patch in float gl_TessLevelInner[2];"
 6657|       |
 6658|      7|            "out gl_PerVertex {"
 6659|      7|                "vec4 gl_Position;"
 6660|      7|                "float gl_PointSize;"
 6661|      7|                "float gl_ClipDistance[];"
 6662|      7|            );
 6663|      7|        if (version >= 400 && profile == ECompatibilityProfile)
  ------------------
  |  Branch (6663:13): [True: 7, False: 0]
  |  Branch (6663:31): [True: 0, False: 7]
  ------------------
 6664|      0|            stageBuiltins[EShLangTessEvaluation].append(
 6665|      0|                "vec4 gl_ClipVertex;"
 6666|      0|                "vec4 gl_FrontColor;"
 6667|      0|                "vec4 gl_BackColor;"
 6668|      0|                "vec4 gl_FrontSecondaryColor;"
 6669|      0|                "vec4 gl_BackSecondaryColor;"
 6670|      0|                "vec4 gl_TexCoord[];"
 6671|      0|                "float gl_FogFragCoord;"
 6672|      0|                );
 6673|      7|        if (version >= 450)
  ------------------
  |  Branch (6673:13): [True: 7, False: 0]
  ------------------
 6674|      7|            stageBuiltins[EShLangTessEvaluation].append(
 6675|      7|                "float gl_CullDistance[];"
 6676|      7|                );
 6677|      7|        stageBuiltins[EShLangTessEvaluation].append(
 6678|      7|            "};"
 6679|      7|            "\n");
 6680|       |
 6681|      7|        if (version >= 410)
  ------------------
  |  Branch (6681:13): [True: 7, False: 0]
  ------------------
 6682|      7|            stageBuiltins[EShLangTessEvaluation].append(
 6683|      7|                "out int gl_ViewportIndex;"
 6684|      7|                "out int gl_Layer;"
 6685|      7|                "\n");
 6686|       |
 6687|      7|        if (version >= 430)
  ------------------
  |  Branch (6687:13): [True: 7, False: 0]
  ------------------
 6688|      7|            stageBuiltins[EShLangTessEvaluation].append(
 6689|      7|                "out int  gl_ViewportMask[];"             // GL_NV_viewport_array2
 6690|      7|            );
 6691|       |
 6692|      7|        if (version >= 450)
  ------------------
  |  Branch (6692:13): [True: 7, False: 0]
  ------------------
 6693|      7|            stageBuiltins[EShLangTessEvaluation].append(
 6694|      7|                "out vec4 gl_SecondaryPositionNV;"        // GL_NV_stereo_view_rendering
 6695|      7|                "out int  gl_SecondaryViewportMaskNV[];"  // GL_NV_stereo_view_rendering
 6696|      7|                "out vec4 gl_PositionPerViewNV[];"        // GL_NVX_multiview_per_view_attributes
 6697|      7|                "out int  gl_ViewportMaskPerViewNV[];"    // GL_NVX_multiview_per_view_attributes
 6698|      7|                );
 6699|       |
 6700|     39|    } else if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (6700:16): [True: 39, False: 0]
  |  Branch (6700:41): [True: 0, False: 39]
  ------------------
 6701|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6702|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6703|       |
 6704|      0|        stageBuiltins[EShLangTessEvaluation].append(
 6705|      0|            "in highp int gl_PatchVerticesIn;"
 6706|      0|            "in highp int gl_PrimitiveID;"
 6707|      0|            "in highp vec3 gl_TessCoord;"
 6708|       |
 6709|      0|            "patch in highp float gl_TessLevelOuter[4];"
 6710|      0|            "patch in highp float gl_TessLevelInner[2];"
 6711|       |
 6712|      0|            "out gl_PerVertex {"
 6713|      0|                "highp vec4 gl_Position;"
 6714|      0|                "highp float gl_PointSize;"
 6715|      0|            );
 6716|      0|        stageBuiltins[EShLangTessEvaluation].append(
 6717|      0|            "};"
 6718|      0|            "\n");
 6719|      0|    }
 6720|       |
 6721|     46|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6721:10): [True: 7, False: 39]
  |  Branch (6721:35): [True: 7, False: 0]
  ------------------
 6722|     39|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6722:10): [True: 39, False: 0]
  |  Branch (6722:35): [True: 0, False: 39]
  ------------------
 6723|      7|        stageBuiltins[EShLangTessEvaluation].append(
 6724|      7|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6725|      7|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6726|      7|            "\n");
 6727|      7|    }
 6728|       |
 6729|       |    //============================================================================
 6730|       |    //
 6731|       |    // Define the interface to the fragment shader.
 6732|       |    //
 6733|       |    //============================================================================
 6734|       |
 6735|     46|    if (profile != EEsProfile) {
  ------------------
  |  Branch (6735:9): [True: 7, False: 39]
  ------------------
 6736|       |
 6737|      7|        stageBuiltins[EShLangFragment].append(
 6738|      7|            "vec4  gl_FragCoord;"   // needs qualifier fixed later
 6739|      7|            "bool  gl_FrontFacing;" // needs qualifier fixed later
 6740|      7|            "float gl_FragDepth;"   // needs qualifier fixed later
 6741|      7|            );
 6742|      7|        if (version >= 120)
  ------------------
  |  Branch (6742:13): [True: 7, False: 0]
  ------------------
 6743|      7|            stageBuiltins[EShLangFragment].append(
 6744|      7|                "vec2 gl_PointCoord;"  // needs qualifier fixed later
 6745|      7|                );
 6746|      7|        if (version >= 140)
  ------------------
  |  Branch (6746:13): [True: 7, False: 0]
  ------------------
 6747|      7|            stageBuiltins[EShLangFragment].append(
 6748|      7|                "out int gl_FragStencilRefARB;"
 6749|      7|                );
 6750|      7|        if (IncludeLegacy(version, profile, spvVersion) || (! ForwardCompatibility && version < 420))
  ------------------
  |  Branch (6750:13): [True: 0, False: 7]
  |  Branch (6750:61): [True: 7, Folded]
  |  Branch (6750:87): [True: 0, False: 7]
  ------------------
 6751|      0|            stageBuiltins[EShLangFragment].append(
 6752|      0|                "vec4 gl_FragColor;"   // needs qualifier fixed later
 6753|      0|                );
 6754|       |
 6755|      7|        if (version < 130) {
  ------------------
  |  Branch (6755:13): [True: 0, False: 7]
  ------------------
 6756|      0|            stageBuiltins[EShLangFragment].append(
 6757|      0|                "varying vec4  gl_Color;"
 6758|      0|                "varying vec4  gl_SecondaryColor;"
 6759|      0|                "varying vec4  gl_TexCoord[];"
 6760|      0|                "varying float gl_FogFragCoord;"
 6761|      0|                );
 6762|      7|        } else {
 6763|      7|            stageBuiltins[EShLangFragment].append(
 6764|      7|                "in float gl_ClipDistance[];"
 6765|      7|                );
 6766|       |
 6767|      7|            if (IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6767:17): [True: 0, False: 7]
  ------------------
 6768|      0|                if (version < 150)
  ------------------
  |  Branch (6768:21): [True: 0, False: 0]
  ------------------
 6769|      0|                    stageBuiltins[EShLangFragment].append(
 6770|      0|                        "in float gl_FogFragCoord;"
 6771|      0|                        "in vec4  gl_TexCoord[];"
 6772|      0|                        "in vec4  gl_Color;"
 6773|      0|                        "in vec4  gl_SecondaryColor;"
 6774|      0|                        );
 6775|      0|                else
 6776|      0|                    stageBuiltins[EShLangFragment].append(
 6777|      0|                        "in gl_PerFragment {"
 6778|      0|                            "in float gl_FogFragCoord;"
 6779|      0|                            "in vec4  gl_TexCoord[];"
 6780|      0|                            "in vec4  gl_Color;"
 6781|      0|                            "in vec4  gl_SecondaryColor;"
 6782|      0|                        "};"
 6783|      0|                        );
 6784|      0|            }
 6785|      7|        }
 6786|       |
 6787|      7|        if (version >= 150)
  ------------------
  |  Branch (6787:13): [True: 7, False: 0]
  ------------------
 6788|      7|            stageBuiltins[EShLangFragment].append(
 6789|      7|                "flat in int gl_PrimitiveID;"
 6790|      7|                );
 6791|       |
 6792|      7|        if (version >= 130) { // ARB_sample_shading
  ------------------
  |  Branch (6792:13): [True: 7, False: 0]
  ------------------
 6793|      7|            stageBuiltins[EShLangFragment].append(
 6794|      7|                "flat in  int  gl_SampleID;"
 6795|      7|                "     in  vec2 gl_SamplePosition;"
 6796|      7|                "     out int  gl_SampleMask[];"
 6797|      7|                );
 6798|       |
 6799|      7|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (6799:17): [True: 7, False: 0]
  ------------------
 6800|      7|                stageBuiltins[EShLangFragment].append(
 6801|      7|                    "uniform int gl_NumSamples;"
 6802|      7|                );
 6803|      7|            }
 6804|      7|        }
 6805|       |
 6806|      7|        if (version >= 150)
  ------------------
  |  Branch (6806:13): [True: 7, False: 0]
  ------------------
 6807|      7|            stageBuiltins[EShLangFragment].append(
 6808|      7|                "flat in  int  gl_SampleMaskIn[];"
 6809|      7|            );
 6810|       |
 6811|      7|        if (version >= 430)
  ------------------
  |  Branch (6811:13): [True: 7, False: 0]
  ------------------
 6812|      7|            stageBuiltins[EShLangFragment].append(
 6813|      7|                "flat in int gl_Layer;"
 6814|      7|                "flat in int gl_ViewportIndex;"
 6815|      7|                );
 6816|       |
 6817|      7|        if (version >= 450)
  ------------------
  |  Branch (6817:13): [True: 7, False: 0]
  ------------------
 6818|      7|            stageBuiltins[EShLangFragment].append(
 6819|      7|                "in float gl_CullDistance[];"
 6820|      7|                "bool gl_HelperInvocation;"     // needs qualifier fixed later
 6821|      7|                );
 6822|       |
 6823|      7|        if (version >= 450)
  ------------------
  |  Branch (6823:13): [True: 7, False: 0]
  ------------------
 6824|      7|            stageBuiltins[EShLangFragment].append( // GL_EXT_fragment_invocation_density
 6825|      7|                "flat in ivec2 gl_FragSizeEXT;"
 6826|      7|                "flat in int   gl_FragInvocationCountEXT;"
 6827|      7|                );
 6828|       |
 6829|      7|        if (version >= 450)
  ------------------
  |  Branch (6829:13): [True: 7, False: 0]
  ------------------
 6830|      7|            stageBuiltins[EShLangFragment].append(
 6831|      7|                "in vec2 gl_BaryCoordNoPerspAMD;"
 6832|      7|                "in vec2 gl_BaryCoordNoPerspCentroidAMD;"
 6833|      7|                "in vec2 gl_BaryCoordNoPerspSampleAMD;"
 6834|      7|                "in vec2 gl_BaryCoordSmoothAMD;"
 6835|      7|                "in vec2 gl_BaryCoordSmoothCentroidAMD;"
 6836|      7|                "in vec2 gl_BaryCoordSmoothSampleAMD;"
 6837|      7|                "in vec3 gl_BaryCoordPullModelAMD;"
 6838|      7|                );
 6839|       |
 6840|      7|        if (version >= 430)
  ------------------
  |  Branch (6840:13): [True: 7, False: 0]
  ------------------
 6841|      7|            stageBuiltins[EShLangFragment].append(
 6842|      7|                "in bool gl_FragFullyCoveredNV;"
 6843|      7|                );
 6844|      7|        if (version >= 450)
  ------------------
  |  Branch (6844:13): [True: 7, False: 0]
  ------------------
 6845|      7|            stageBuiltins[EShLangFragment].append(
 6846|      7|                "flat in ivec2 gl_FragmentSizeNV;"          // GL_NV_shading_rate_image
 6847|      7|                "flat in int   gl_InvocationsPerPixelNV;"
 6848|      7|                "in vec3 gl_BaryCoordNV;"                   // GL_NV_fragment_shader_barycentric
 6849|      7|                "in vec3 gl_BaryCoordNoPerspNV;"
 6850|      7|                "in vec3 gl_BaryCoordEXT;"                  // GL_EXT_fragment_shader_barycentric
 6851|      7|                "in vec3 gl_BaryCoordNoPerspEXT;"
 6852|      7|                );
 6853|       |
 6854|      7|        if (version >= 450)
  ------------------
  |  Branch (6854:13): [True: 7, False: 0]
  ------------------
 6855|      7|            stageBuiltins[EShLangFragment].append(
 6856|      7|                "flat in int gl_ShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6857|      7|            );
 6858|       |
 6859|     39|    } else {
 6860|       |        // ES profile
 6861|       |
 6862|     39|        if (version == 100) {
  ------------------
  |  Branch (6862:13): [True: 39, False: 0]
  ------------------
 6863|     39|            stageBuiltins[EShLangFragment].append(
 6864|     39|                "mediump vec4 gl_FragCoord;"    // needs qualifier fixed later
 6865|     39|                "        bool gl_FrontFacing;"  // needs qualifier fixed later
 6866|     39|                "mediump vec4 gl_FragColor;"    // needs qualifier fixed later
 6867|     39|                "mediump vec2 gl_PointCoord;"   // needs qualifier fixed later
 6868|     39|                );
 6869|     39|        }
 6870|     39|        if (version >= 300) {
  ------------------
  |  Branch (6870:13): [True: 0, False: 39]
  ------------------
 6871|      0|            stageBuiltins[EShLangFragment].append(
 6872|      0|                "highp   vec4  gl_FragCoord;"    // needs qualifier fixed later
 6873|      0|                "        bool  gl_FrontFacing;"  // needs qualifier fixed later
 6874|      0|                "mediump vec2  gl_PointCoord;"   // needs qualifier fixed later
 6875|      0|                "highp   float gl_FragDepth;"    // needs qualifier fixed later
 6876|      0|                );
 6877|      0|        }
 6878|     39|        if (version >= 310) {
  ------------------
  |  Branch (6878:13): [True: 0, False: 39]
  ------------------
 6879|      0|            stageBuiltins[EShLangFragment].append(
 6880|      0|                "bool gl_HelperInvocation;"          // needs qualifier fixed later
 6881|      0|                "flat in highp int gl_PrimitiveID;"  // needs qualifier fixed later
 6882|      0|                "flat in highp int gl_Layer;"        // needs qualifier fixed later
 6883|      0|                );
 6884|       |
 6885|      0|            stageBuiltins[EShLangFragment].append(  // GL_OES_sample_variables
 6886|      0|                "flat  in lowp     int gl_SampleID;"
 6887|      0|                "      in mediump vec2 gl_SamplePosition;"
 6888|      0|                "flat  in highp    int gl_SampleMaskIn[];"
 6889|      0|                "     out highp    int gl_SampleMask[];"
 6890|      0|                );
 6891|      0|            if (spvVersion.spv == 0)
  ------------------
  |  Branch (6891:17): [True: 0, False: 0]
  ------------------
 6892|      0|                stageBuiltins[EShLangFragment].append(  // GL_OES_sample_variables
 6893|      0|                    "uniform lowp int gl_NumSamples;"
 6894|      0|                    );
 6895|      0|        }
 6896|     39|        stageBuiltins[EShLangFragment].append(
 6897|     39|            "highp float gl_FragDepthEXT;"       // GL_EXT_frag_depth
 6898|     39|            );
 6899|       |
 6900|     39|        if (version >= 310)
  ------------------
  |  Branch (6900:13): [True: 0, False: 39]
  ------------------
 6901|      0|            stageBuiltins[EShLangFragment].append( // GL_EXT_fragment_invocation_density
 6902|      0|                "flat in ivec2 gl_FragSizeEXT;"
 6903|      0|                "flat in int   gl_FragInvocationCountEXT;"
 6904|      0|            );
 6905|     39|        if (version >= 320)
  ------------------
  |  Branch (6905:13): [True: 0, False: 39]
  ------------------
 6906|      0|            stageBuiltins[EShLangFragment].append( // GL_NV_shading_rate_image
 6907|      0|                "flat in ivec2 gl_FragmentSizeNV;"
 6908|      0|                "flat in int   gl_InvocationsPerPixelNV;"
 6909|      0|            );
 6910|     39|        if (version >= 320)
  ------------------
  |  Branch (6910:13): [True: 0, False: 39]
  ------------------
 6911|      0|            stageBuiltins[EShLangFragment].append(
 6912|      0|                "in vec3 gl_BaryCoordNV;"
 6913|      0|                "in vec3 gl_BaryCoordNoPerspNV;"
 6914|      0|                "in vec3 gl_BaryCoordEXT;"
 6915|      0|                "in vec3 gl_BaryCoordNoPerspEXT;"
 6916|      0|            );
 6917|     39|        if (version >= 310)
  ------------------
  |  Branch (6917:13): [True: 0, False: 39]
  ------------------
 6918|      0|            stageBuiltins[EShLangFragment].append(
 6919|      0|                "flat in highp int gl_ShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6920|      0|            );
 6921|     39|    }
 6922|       |
 6923|     46|    stageBuiltins[EShLangFragment].append("\n");
 6924|       |
 6925|     46|    if (version >= 130)
  ------------------
  |  Branch (6925:9): [True: 7, False: 39]
  ------------------
 6926|      7|        add2ndGenerationSamplingImaging(version, profile, spvVersion);
 6927|       |
 6928|     46|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6928:10): [True: 7, False: 39]
  |  Branch (6928:35): [True: 7, False: 0]
  ------------------
 6929|     39|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6929:10): [True: 39, False: 0]
  |  Branch (6929:35): [True: 0, False: 39]
  ------------------
 6930|      7|        stageBuiltins[EShLangFragment].append(
 6931|      7|            "flat in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6932|      7|            "flat in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6933|      7|            "\n");
 6934|      7|    }
 6935|       |
 6936|     46|    if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (6936:9): [True: 7, False: 39]
  ------------------
 6937|      7|        stageBuiltins[EShLangFragment].append(
 6938|      7|            "flat in highp uint gl_ViewID_OVR;"     // GL_OVR_multiview, GL_OVR_multiview2
 6939|      7|            "\n");
 6940|      7|    }
 6941|       |    
 6942|       |    // GL_QCOM_tile_shading
 6943|     46|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (6943:10): [True: 39, False: 7]
  |  Branch (6943:35): [True: 0, False: 39]
  ------------------
 6944|     46|        (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (6944:10): [True: 7, False: 39]
  |  Branch (6944:35): [True: 0, False: 7]
  ------------------
 6945|      0|        stageBuiltins[EShLangFragment].append(
 6946|      0|            "flat in highp uvec2 gl_TileOffsetQCOM;"     // GL_QCOM_tile_shading
 6947|      0|            "flat in highp uvec3 gl_TileDimensionQCOM;"  // GL_QCOM_tile_shading
 6948|      0|            "flat in highp uvec2 gl_TileApronSizeQCOM;"  // GL_QCOM_tile_shading
 6949|      0|            "\n");
 6950|      0|    }
 6951|       |
 6952|       |    // GL_ARB_shader_ballot
 6953|     46|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (6953:9): [True: 7, False: 39]
  |  Branch (6953:34): [True: 7, False: 0]
  ------------------
 6954|      7|        const char* ballotDecls =
 6955|      7|            "uniform uint gl_SubGroupSizeARB;"
 6956|      7|            "in uint     gl_SubGroupInvocationARB;"
 6957|      7|            "in uint64_t gl_SubGroupEqMaskARB;"
 6958|      7|            "in uint64_t gl_SubGroupGeMaskARB;"
 6959|      7|            "in uint64_t gl_SubGroupGtMaskARB;"
 6960|      7|            "in uint64_t gl_SubGroupLeMaskARB;"
 6961|      7|            "in uint64_t gl_SubGroupLtMaskARB;"
 6962|      7|            "\n";
 6963|      7|        const char* rtBallotDecls =
 6964|      7|            "uniform volatile uint gl_SubGroupSizeARB;"
 6965|      7|            "in volatile uint     gl_SubGroupInvocationARB;"
 6966|      7|            "in volatile uint64_t gl_SubGroupEqMaskARB;"
 6967|      7|            "in volatile uint64_t gl_SubGroupGeMaskARB;"
 6968|      7|            "in volatile uint64_t gl_SubGroupGtMaskARB;"
 6969|      7|            "in volatile uint64_t gl_SubGroupLeMaskARB;"
 6970|      7|            "in volatile uint64_t gl_SubGroupLtMaskARB;"
 6971|      7|            "\n";
 6972|      7|        const char* fragmentBallotDecls =
 6973|      7|            "uniform uint gl_SubGroupSizeARB;"
 6974|      7|            "flat in uint     gl_SubGroupInvocationARB;"
 6975|      7|            "flat in uint64_t gl_SubGroupEqMaskARB;"
 6976|      7|            "flat in uint64_t gl_SubGroupGeMaskARB;"
 6977|      7|            "flat in uint64_t gl_SubGroupGtMaskARB;"
 6978|      7|            "flat in uint64_t gl_SubGroupLeMaskARB;"
 6979|      7|            "flat in uint64_t gl_SubGroupLtMaskARB;"
 6980|      7|            "\n";
 6981|      7|        stageBuiltins[EShLangVertex]        .append(ballotDecls);
 6982|      7|        stageBuiltins[EShLangTessControl]   .append(ballotDecls);
 6983|      7|        stageBuiltins[EShLangTessEvaluation].append(ballotDecls);
 6984|      7|        stageBuiltins[EShLangGeometry]      .append(ballotDecls);
 6985|      7|        stageBuiltins[EShLangCompute]       .append(ballotDecls);
 6986|      7|        stageBuiltins[EShLangFragment]      .append(fragmentBallotDecls);
 6987|      7|        stageBuiltins[EShLangMesh]        .append(ballotDecls);
 6988|      7|        stageBuiltins[EShLangTask]        .append(ballotDecls);
 6989|      7|        stageBuiltins[EShLangRayGen]        .append(rtBallotDecls);
 6990|      7|        stageBuiltins[EShLangIntersect]     .append(rtBallotDecls);
 6991|       |        // No volatile qualifier on these builtins in any-hit
 6992|      7|        stageBuiltins[EShLangAnyHit]        .append(ballotDecls);
 6993|      7|        stageBuiltins[EShLangClosestHit]    .append(rtBallotDecls);
 6994|      7|        stageBuiltins[EShLangMiss]          .append(rtBallotDecls);
 6995|      7|        stageBuiltins[EShLangCallable]      .append(rtBallotDecls);
 6996|      7|    }
 6997|       |
 6998|       |    // GL_KHR_shader_subgroup
 6999|     46|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (6999:10): [True: 39, False: 7]
  |  Branch (6999:35): [True: 0, False: 39]
  ------------------
 7000|     46|        (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (7000:10): [True: 7, False: 39]
  |  Branch (7000:35): [True: 7, False: 0]
  ------------------
 7001|      7|        const char* subgroupDecls =
 7002|      7|            "in mediump uint  gl_SubgroupSize;"
 7003|      7|            "in mediump uint  gl_SubgroupInvocationID;"
 7004|      7|            "in highp   uvec4 gl_SubgroupEqMask;"
 7005|      7|            "in highp   uvec4 gl_SubgroupGeMask;"
 7006|      7|            "in highp   uvec4 gl_SubgroupGtMask;"
 7007|      7|            "in highp   uvec4 gl_SubgroupLeMask;"
 7008|      7|            "in highp   uvec4 gl_SubgroupLtMask;"
 7009|       |            // GL_NV_shader_sm_builtins
 7010|      7|            "in highp   uint  gl_WarpsPerSMNV;"
 7011|      7|            "in highp   uint  gl_SMCountNV;"
 7012|      7|            "in highp   uint  gl_WarpIDNV;"
 7013|      7|            "in highp   uint  gl_SMIDNV;"
 7014|       |            // GL_ARM_shader_core_builtins
 7015|      7|            "in highp   uint  gl_CoreIDARM;"
 7016|      7|            "in highp   uint  gl_CoreCountARM;"
 7017|      7|            "in highp   uint  gl_CoreMaxIDARM;"
 7018|      7|            "in highp   uint  gl_WarpIDARM;"
 7019|      7|            "in highp   uint  gl_WarpMaxIDARM;"
 7020|      7|            "\n";
 7021|      7|        const char* fragmentSubgroupDecls =
 7022|      7|            "flat in mediump uint  gl_SubgroupSize;"
 7023|      7|            "flat in mediump uint  gl_SubgroupInvocationID;"
 7024|      7|            "flat in highp   uvec4 gl_SubgroupEqMask;"
 7025|      7|            "flat in highp   uvec4 gl_SubgroupGeMask;"
 7026|      7|            "flat in highp   uvec4 gl_SubgroupGtMask;"
 7027|      7|            "flat in highp   uvec4 gl_SubgroupLeMask;"
 7028|      7|            "flat in highp   uvec4 gl_SubgroupLtMask;"
 7029|       |            // GL_NV_shader_sm_builtins
 7030|      7|            "flat in highp   uint  gl_WarpsPerSMNV;"
 7031|      7|            "flat in highp   uint  gl_SMCountNV;"
 7032|      7|            "flat in highp   uint  gl_WarpIDNV;"
 7033|      7|            "flat in highp   uint  gl_SMIDNV;"
 7034|       |            // GL_ARM_shader_core_builtins
 7035|      7|            "flat in highp   uint  gl_CoreIDARM;"
 7036|      7|            "flat in highp   uint  gl_CoreCountARM;"
 7037|      7|            "flat in highp   uint  gl_CoreMaxIDARM;"
 7038|      7|            "flat in highp   uint  gl_WarpIDARM;"
 7039|      7|            "flat in highp   uint  gl_WarpMaxIDARM;"
 7040|      7|            "\n";
 7041|      7|        const char* computeSubgroupDecls =
 7042|      7|            "in highp   uint  gl_NumSubgroups;"
 7043|      7|            "in highp   uint  gl_SubgroupID;"
 7044|      7|            "\n";
 7045|       |        // These builtins are volatile for RT stages
 7046|      7|        const char* rtSubgroupDecls =
 7047|      7|            "in mediump volatile uint  gl_SubgroupSize;"
 7048|      7|            "in mediump volatile uint  gl_SubgroupInvocationID;"
 7049|      7|            "in highp   volatile uvec4 gl_SubgroupEqMask;"
 7050|      7|            "in highp   volatile uvec4 gl_SubgroupGeMask;"
 7051|      7|            "in highp   volatile uvec4 gl_SubgroupGtMask;"
 7052|      7|            "in highp   volatile uvec4 gl_SubgroupLeMask;"
 7053|      7|            "in highp   volatile uvec4 gl_SubgroupLtMask;"
 7054|       |            // GL_NV_shader_sm_builtins
 7055|      7|            "in highp    uint  gl_WarpsPerSMNV;"
 7056|      7|            "in highp    uint  gl_SMCountNV;"
 7057|      7|            "in highp volatile uint  gl_WarpIDNV;"
 7058|      7|            "in highp volatile uint  gl_SMIDNV;"
 7059|       |            // GL_ARM_shader_core_builtins
 7060|      7|            "in highp   uint  gl_CoreIDARM;"
 7061|      7|            "in highp   uint  gl_CoreCountARM;"
 7062|      7|            "in highp   uint  gl_CoreMaxIDARM;"
 7063|      7|            "in highp   uint  gl_WarpIDARM;"
 7064|      7|            "in highp   uint  gl_WarpMaxIDARM;"
 7065|      7|            "\n";
 7066|       |
 7067|      7|        stageBuiltins[EShLangVertex]        .append(subgroupDecls);
 7068|      7|        stageBuiltins[EShLangTessControl]   .append(subgroupDecls);
 7069|      7|        stageBuiltins[EShLangTessEvaluation].append(subgroupDecls);
 7070|      7|        stageBuiltins[EShLangGeometry]      .append(subgroupDecls);
 7071|      7|        stageBuiltins[EShLangCompute]       .append(subgroupDecls);
 7072|      7|        stageBuiltins[EShLangCompute]       .append(computeSubgroupDecls);
 7073|      7|        stageBuiltins[EShLangFragment]      .append(fragmentSubgroupDecls);
 7074|      7|        stageBuiltins[EShLangMesh]        .append(subgroupDecls);
 7075|      7|        stageBuiltins[EShLangMesh]        .append(computeSubgroupDecls);
 7076|      7|        stageBuiltins[EShLangTask]        .append(subgroupDecls);
 7077|      7|        stageBuiltins[EShLangTask]        .append(computeSubgroupDecls);
 7078|      7|        stageBuiltins[EShLangRayGen]        .append(rtSubgroupDecls);
 7079|      7|        stageBuiltins[EShLangIntersect]     .append(rtSubgroupDecls);
 7080|       |        // No volatile qualifier on these builtins in any-hit
 7081|      7|        stageBuiltins[EShLangAnyHit]        .append(subgroupDecls);
 7082|      7|        stageBuiltins[EShLangClosestHit]    .append(rtSubgroupDecls);
 7083|      7|        stageBuiltins[EShLangMiss]          .append(rtSubgroupDecls);
 7084|      7|        stageBuiltins[EShLangCallable]      .append(rtSubgroupDecls);
 7085|      7|    }
 7086|       |
 7087|       |    // GL_NV_ray_tracing/GL_EXT_ray_tracing
 7088|     46|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (7088:9): [True: 7, False: 39]
  |  Branch (7088:34): [True: 0, False: 7]
  ------------------
 7089|       |
 7090|      0|        const char *constRayFlags =
 7091|      0|            "const uint gl_RayFlagsNoneNV = 0U;"
 7092|      0|            "const uint gl_RayFlagsNoneEXT = 0U;"
 7093|      0|            "const uint gl_RayFlagsOpaqueNV = 1U;"
 7094|      0|            "const uint gl_RayFlagsOpaqueEXT = 1U;"
 7095|      0|            "const uint gl_RayFlagsNoOpaqueNV = 2U;"
 7096|      0|            "const uint gl_RayFlagsNoOpaqueEXT = 2U;"
 7097|      0|            "const uint gl_RayFlagsTerminateOnFirstHitNV = 4U;"
 7098|      0|            "const uint gl_RayFlagsTerminateOnFirstHitEXT = 4U;"
 7099|      0|            "const uint gl_RayFlagsSkipClosestHitShaderNV = 8U;"
 7100|      0|            "const uint gl_RayFlagsSkipClosestHitShaderEXT = 8U;"
 7101|      0|            "const uint gl_RayFlagsCullBackFacingTrianglesNV = 16U;"
 7102|      0|            "const uint gl_RayFlagsCullBackFacingTrianglesEXT = 16U;"
 7103|      0|            "const uint gl_RayFlagsCullFrontFacingTrianglesNV = 32U;"
 7104|      0|            "const uint gl_RayFlagsCullFrontFacingTrianglesEXT = 32U;"
 7105|      0|            "const uint gl_RayFlagsCullOpaqueNV = 64U;"
 7106|      0|            "const uint gl_RayFlagsCullOpaqueEXT = 64U;"
 7107|      0|            "const uint gl_RayFlagsCullNoOpaqueNV = 128U;"
 7108|      0|            "const uint gl_RayFlagsCullNoOpaqueEXT = 128U;"
 7109|      0|            "const uint gl_RayFlagsSkipTrianglesEXT = 256U;"
 7110|      0|            "const uint gl_RayFlagsSkipBuiltinPrimitivesNV = 256U;"
 7111|      0|            "const uint gl_RayFlagsSkipAABBEXT = 512U;"
 7112|      0|            "const uint gl_RayFlagsForceOpacityMicromap2StateEXT = 1024U;"
 7113|      0|            "const uint gl_HitKindFrontFacingTriangleEXT = 254U;"
 7114|      0|            "const uint gl_HitKindBackFacingTriangleEXT = 255U;"
 7115|      0|            "in    uint gl_HitKindFrontFacingMicroTriangleNV;"
 7116|      0|            "in    uint gl_HitKindBackFacingMicroTriangleNV;"
 7117|      0|            "const int  gl_ClusterIDNoneNV = -1;"
 7118|      0|            "\n";
 7119|       |
 7120|      0|        const char *constRayQueryIntersection =
 7121|      0|            "const uint gl_RayQueryCandidateIntersectionEXT = 0U;"
 7122|      0|            "const uint gl_RayQueryCommittedIntersectionEXT = 1U;"
 7123|      0|            "const uint gl_RayQueryCommittedIntersectionNoneEXT = 0U;"
 7124|      0|            "const uint gl_RayQueryCommittedIntersectionTriangleEXT = 1U;"
 7125|      0|            "const uint gl_RayQueryCommittedIntersectionGeneratedEXT = 2U;"
 7126|      0|            "const uint gl_RayQueryCandidateIntersectionTriangleEXT = 0U;"
 7127|      0|            "const uint gl_RayQueryCandidateIntersectionAABBEXT = 1U;"
 7128|      0|            "\n";
 7129|       |
 7130|      0|        const char *rayGenDecls =
 7131|      0|            "in    uvec3  gl_LaunchIDNV;"
 7132|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7133|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7134|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7135|      0|            "\n";
 7136|      0|        const char *intersectDecls =
 7137|      0|            "in    uvec3  gl_LaunchIDNV;"
 7138|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7139|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7140|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7141|      0|            "in     int   gl_PrimitiveID;"
 7142|      0|            "in     int   gl_InstanceID;"
 7143|      0|            "in     int   gl_InstanceCustomIndexNV;"
 7144|      0|            "in     int   gl_InstanceCustomIndexEXT;"
 7145|      0|            "in     int   gl_GeometryIndexEXT;"
 7146|      0|            "in    vec3   gl_WorldRayOriginNV;"
 7147|      0|            "in    vec3   gl_WorldRayOriginEXT;"
 7148|      0|            "in    vec3   gl_WorldRayDirectionNV;"
 7149|      0|            "in    vec3   gl_WorldRayDirectionEXT;"
 7150|      0|            "in    vec3   gl_ObjectRayOriginNV;"
 7151|      0|            "in    vec3   gl_ObjectRayOriginEXT;"
 7152|      0|            "in    vec3   gl_ObjectRayDirectionNV;"
 7153|      0|            "in    vec3   gl_ObjectRayDirectionEXT;"
 7154|      0|            "in    float  gl_RayTminNV;"
 7155|      0|            "in    float  gl_RayTminEXT;"
 7156|      0|            "in    float  gl_RayTmaxNV;"
 7157|      0|            "in volatile float gl_RayTmaxEXT;"
 7158|      0|            "in    mat4x3 gl_ObjectToWorldNV;"
 7159|      0|            "in    mat4x3 gl_ObjectToWorldEXT;"
 7160|      0|            "in    mat3x4 gl_ObjectToWorld3x4EXT;"
 7161|      0|            "in    mat4x3 gl_WorldToObjectNV;"
 7162|      0|            "in    mat4x3 gl_WorldToObjectEXT;"
 7163|      0|            "in    mat3x4 gl_WorldToObject3x4EXT;"
 7164|      0|            "in    uint   gl_IncomingRayFlagsNV;"
 7165|      0|            "in    uint   gl_IncomingRayFlagsEXT;"
 7166|      0|            "in    float  gl_CurrentRayTimeNV;"
 7167|      0|            "in    uint   gl_CullMaskEXT;"
 7168|      0|            "\n";
 7169|      0|        const char *hitDecls =
 7170|      0|            "in    uvec3  gl_LaunchIDNV;"
 7171|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7172|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7173|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7174|      0|            "in     int   gl_PrimitiveID;"
 7175|      0|            "in     int   gl_InstanceID;"
 7176|      0|            "in     int   gl_InstanceCustomIndexNV;"
 7177|      0|            "in     int   gl_InstanceCustomIndexEXT;"
 7178|      0|            "in     int   gl_GeometryIndexEXT;"
 7179|      0|            "in    vec3   gl_WorldRayOriginNV;"
 7180|      0|            "in    vec3   gl_WorldRayOriginEXT;"
 7181|      0|            "in    vec3   gl_WorldRayDirectionNV;"
 7182|      0|            "in    vec3   gl_WorldRayDirectionEXT;"
 7183|      0|            "in    vec3   gl_ObjectRayOriginNV;"
 7184|      0|            "in    vec3   gl_ObjectRayOriginEXT;"
 7185|      0|            "in    vec3   gl_ObjectRayDirectionNV;"
 7186|      0|            "in    vec3   gl_ObjectRayDirectionEXT;"
 7187|      0|            "in    float  gl_RayTminNV;"
 7188|      0|            "in    float  gl_RayTminEXT;"
 7189|      0|            "in    float  gl_RayTmaxNV;"
 7190|      0|            "in    float  gl_RayTmaxEXT;"
 7191|      0|            "in    float  gl_HitTNV;"
 7192|      0|            "in    float  gl_HitTEXT;"
 7193|      0|            "in    uint   gl_HitKindNV;"
 7194|      0|            "in    uint   gl_HitKindEXT;"
 7195|      0|            "in    mat4x3 gl_ObjectToWorldNV;"
 7196|      0|            "in    mat4x3 gl_ObjectToWorldEXT;"
 7197|      0|            "in    mat3x4 gl_ObjectToWorld3x4EXT;"
 7198|      0|            "in    mat4x3 gl_WorldToObjectNV;"
 7199|      0|            "in    mat4x3 gl_WorldToObjectEXT;"
 7200|      0|            "in    mat3x4 gl_WorldToObject3x4EXT;"
 7201|      0|            "in    uint   gl_IncomingRayFlagsNV;"
 7202|      0|            "in    uint   gl_IncomingRayFlagsEXT;"
 7203|      0|            "in    float  gl_CurrentRayTimeNV;"
 7204|      0|            "in    uint   gl_CullMaskEXT;"
 7205|      0|            "in    vec3   gl_HitTriangleVertexPositionsEXT[3];"
 7206|      0|            "in    vec3   gl_HitMicroTriangleVertexPositionsNV[3];"
 7207|      0|            "in    vec2   gl_HitMicroTriangleVertexBarycentricsNV[3];"
 7208|      0|            "in    int    gl_ClusterIDNV;"
 7209|      0|            "in    bool   gl_HitIsSphereNV;"
 7210|      0|            "in    bool   gl_HitIsLSSNV;"
 7211|      0|            "in    vec3   gl_HitSpherePositionNV;"
 7212|      0|            "in    float  gl_HitSphereRadiusNV;"
 7213|      0|            "in    vec3   gl_HitLSSPositionsNV[2];"
 7214|      0|            "in    float  gl_HitLSSRadiiNV[2];"
 7215|      0|            "\n";
 7216|       |
 7217|      0|        const char *missDecls =
 7218|      0|            "in    uvec3  gl_LaunchIDNV;"
 7219|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7220|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7221|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7222|      0|            "in    vec3   gl_WorldRayOriginNV;"
 7223|      0|            "in    vec3   gl_WorldRayOriginEXT;"
 7224|      0|            "in    vec3   gl_WorldRayDirectionNV;"
 7225|      0|            "in    vec3   gl_WorldRayDirectionEXT;"
 7226|      0|            "in    vec3   gl_ObjectRayOriginNV;"
 7227|      0|            "in    vec3   gl_ObjectRayDirectionNV;"
 7228|      0|            "in    float  gl_RayTminNV;"
 7229|      0|            "in    float  gl_RayTminEXT;"
 7230|      0|            "in    float  gl_RayTmaxNV;"
 7231|      0|            "in    float  gl_RayTmaxEXT;"
 7232|      0|            "in    uint   gl_IncomingRayFlagsNV;"
 7233|      0|            "in    uint   gl_IncomingRayFlagsEXT;"
 7234|      0|            "in    float  gl_CurrentRayTimeNV;"
 7235|      0|            "in    uint   gl_CullMaskEXT;"
 7236|      0|            "\n";
 7237|       |
 7238|      0|        const char *callableDecls =
 7239|      0|            "in    uvec3  gl_LaunchIDNV;"
 7240|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7241|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7242|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7243|      0|            "\n";
 7244|       |
 7245|       |
 7246|      0|        commonBuiltins.append(constRayQueryIntersection);
 7247|      0|        commonBuiltins.append(constRayFlags);
 7248|       |
 7249|      0|        stageBuiltins[EShLangRayGen].append(rayGenDecls);
 7250|      0|        stageBuiltins[EShLangIntersect].append(intersectDecls);
 7251|      0|        stageBuiltins[EShLangAnyHit].append(hitDecls);
 7252|      0|        stageBuiltins[EShLangClosestHit].append(hitDecls);
 7253|      0|        stageBuiltins[EShLangMiss].append(missDecls);
 7254|      0|        stageBuiltins[EShLangCallable].append(callableDecls);
 7255|       |
 7256|      0|    }
 7257|       |
 7258|     46|    if ((profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (7258:10): [True: 7, False: 39]
  |  Branch (7258:35): [True: 7, False: 0]
  ------------------
 7259|      7|        const char *deviceIndex =
 7260|      7|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 7261|      7|            "\n";
 7262|       |
 7263|      7|        stageBuiltins[EShLangRayGen].append(deviceIndex);
 7264|      7|        stageBuiltins[EShLangIntersect].append(deviceIndex);
 7265|      7|        stageBuiltins[EShLangAnyHit].append(deviceIndex);
 7266|      7|        stageBuiltins[EShLangClosestHit].append(deviceIndex);
 7267|      7|        stageBuiltins[EShLangMiss].append(deviceIndex);
 7268|      7|    }
 7269|       |
 7270|     46|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (7270:10): [True: 7, False: 39]
  |  Branch (7270:35): [True: 7, False: 0]
  ------------------
 7271|     39|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7271:10): [True: 39, False: 0]
  |  Branch (7271:35): [True: 0, False: 39]
  ------------------
 7272|      7|        commonBuiltins.append("const int gl_ScopeDevice      = 1;\n");
 7273|      7|        commonBuiltins.append("const int gl_ScopeWorkgroup   = 2;\n");
 7274|      7|        commonBuiltins.append("const int gl_ScopeSubgroup    = 3;\n");
 7275|      7|        commonBuiltins.append("const int gl_ScopeInvocation  = 4;\n");
 7276|      7|        commonBuiltins.append("const int gl_ScopeQueueFamily = 5;\n");
 7277|      7|        commonBuiltins.append("const int gl_ScopeShaderCallEXT = 6;\n");
 7278|       |
 7279|      7|        commonBuiltins.append("const int gl_SemanticsRelaxed         = 0x0;\n");
 7280|      7|        commonBuiltins.append("const int gl_SemanticsAcquire         = 0x2;\n");
 7281|      7|        commonBuiltins.append("const int gl_SemanticsRelease         = 0x4;\n");
 7282|      7|        commonBuiltins.append("const int gl_SemanticsAcquireRelease  = 0x8;\n");
 7283|      7|        commonBuiltins.append("const int gl_SemanticsMakeAvailable   = 0x2000;\n");
 7284|      7|        commonBuiltins.append("const int gl_SemanticsMakeVisible     = 0x4000;\n");
 7285|      7|        commonBuiltins.append("const int gl_SemanticsVolatile        = 0x8000;\n");
 7286|       |
 7287|      7|        commonBuiltins.append("const int gl_StorageSemanticsNone     = 0x0;\n");
 7288|      7|        commonBuiltins.append("const int gl_StorageSemanticsBuffer   = 0x40;\n");
 7289|      7|        commonBuiltins.append("const int gl_StorageSemanticsShared   = 0x100;\n");
 7290|      7|        commonBuiltins.append("const int gl_StorageSemanticsImage    = 0x800;\n");
 7291|      7|        commonBuiltins.append("const int gl_StorageSemanticsOutput   = 0x1000;\n");
 7292|      7|    }
 7293|       |
 7294|       |    // Adding these to common built-ins triggers an assert due to a memory corruption in related code when testing
 7295|       |    // So instead add to each stage individually, avoiding the GLSLang bug
 7296|     46|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7296:10): [True: 7, False: 39]
  |  Branch (7296:35): [True: 7, False: 0]
  |  Branch (7296:55): [True: 39, False: 0]
  |  Branch (7296:80): [True: 0, False: 39]
  ------------------
 7297|    105|        for (int stage=EShLangVertex; stage<EShLangCount; stage++)
  ------------------
  |  Branch (7297:39): [True: 98, False: 7]
  ------------------
 7298|     98|        {
 7299|     98|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag2VerticalPixelsEXT       = 1;\n");
 7300|     98|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag4VerticalPixelsEXT       = 2;\n");
 7301|     98|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag2HorizontalPixelsEXT     = 4;\n");
 7302|     98|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag4HorizontalPixelsEXT     = 8;\n");
 7303|     98|        }
 7304|      7|    }
 7305|       |    
 7306|       |    // GL_EXT_shader_image_int64
 7307|     46|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (7307:10): [True: 7, False: 39]
  |  Branch (7307:35): [True: 7, False: 0]
  ------------------
 7308|     39|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7308:10): [True: 39, False: 0]
  |  Branch (7308:35): [True: 0, False: 39]
  ------------------
 7309|       |            
 7310|      7|        const TBasicType bTypes[] = { EbtInt64, EbtUint64 };
 7311|     21|        for (int ms = 0; ms <= 1; ++ms) { // loop over "bool" multisample or not
  ------------------
  |  Branch (7311:26): [True: 14, False: 7]
  ------------------
 7312|     42|            for (int arrayed = 0; arrayed <= 1; ++arrayed) { // loop over "bool" arrayed or not
  ------------------
  |  Branch (7312:35): [True: 28, False: 14]
  ------------------
 7313|    196|                for (int dim = Esd1D; dim < EsdSubpass; ++dim) { // 1D, ..., buffer
  ------------------
  |  Branch (7313:39): [True: 168, False: 28]
  ------------------
 7314|    168|                    if ((dim == Esd1D || dim == EsdRect) && profile == EEsProfile)
  ------------------
  |  Branch (7314:26): [True: 28, False: 140]
  |  Branch (7314:42): [True: 28, False: 112]
  |  Branch (7314:61): [True: 0, False: 56]
  ------------------
 7315|      0|                        continue;
 7316|       |                    
 7317|    168|                    if ((dim == Esd3D || dim == EsdRect || dim == EsdBuffer) && arrayed)
  ------------------
  |  Branch (7317:26): [True: 28, False: 140]
  |  Branch (7317:42): [True: 28, False: 112]
  |  Branch (7317:60): [True: 28, False: 84]
  |  Branch (7317:81): [True: 42, False: 42]
  ------------------
 7318|     42|                        continue;
 7319|       |                    
 7320|    126|                    if (dim != Esd2D && ms)
  ------------------
  |  Branch (7320:25): [True: 98, False: 28]
  |  Branch (7320:41): [True: 49, False: 49]
  ------------------
 7321|     49|                        continue;
 7322|       |                    
 7323|       |                    // Loop over the bTypes
 7324|    231|                    for (size_t bType = 0; bType < sizeof(bTypes)/sizeof(TBasicType); ++bType) {
  ------------------
  |  Branch (7324:44): [True: 154, False: 77]
  ------------------
 7325|       |                        //
 7326|       |                        // Now, make all the function prototypes for the type we just built...
 7327|       |                        //
 7328|    154|                        TSampler sampler;
 7329|       |                    
 7330|    154|                        sampler.setImage(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false,
  ------------------
  |  Branch (7330:75): [True: 56, False: 98]
  ------------------
 7331|    154|                                                                          false,
 7332|    154|                                                                          ms      ? true : false);
  ------------------
  |  Branch (7332:75): [True: 28, False: 126]
  ------------------
 7333|       |
 7334|    154|                        TString typeName = TString{sampler.getString()};
 7335|       |
 7336|    154|                        addQueryFunctions(sampler, typeName, version, profile);
 7337|    154|                        addImageFunctions(sampler, typeName, version, profile);
 7338|    154|                    }
 7339|     77|                }
 7340|     28|            }
 7341|     14|        }
 7342|      7|    }
 7343|       |
 7344|       |    // printf("%s\n", commonBuiltins.c_str());
 7345|       |    // printf("%s\n", stageBuiltins[EShLangFragment].c_str());
 7346|     46|}
_ZN7glslang9TBuiltIns31add2ndGenerationSamplingImagingEi8EProfileRKNS_10SpvVersionE:
 7353|      7|{
 7354|       |    //
 7355|       |    // In this function proper, enumerate the types, then calls the next set of functions
 7356|       |    // to enumerate all the uses for that type.
 7357|       |    //
 7358|       |
 7359|       |    // enumerate all the types
 7360|      7|    const TBasicType bTypes[] = { EbtFloat, EbtInt, EbtUint,
 7361|      7|         EbtFloat16
 7362|      7|    };
 7363|      7|    bool skipBuffer = (profile == EEsProfile && version < 310) || (profile != EEsProfile && version < 140);
  ------------------
  |  Branch (7363:24): [True: 0, False: 7]
  |  Branch (7363:49): [True: 0, False: 0]
  |  Branch (7363:68): [True: 7, False: 0]
  |  Branch (7363:93): [True: 0, False: 7]
  ------------------
 7364|      7|    bool skipCubeArrayed = (profile == EEsProfile && version < 310) || (profile != EEsProfile && version < 130);
  ------------------
  |  Branch (7364:29): [True: 0, False: 7]
  |  Branch (7364:54): [True: 0, False: 0]
  |  Branch (7364:73): [True: 7, False: 0]
  |  Branch (7364:98): [True: 0, False: 7]
  ------------------
 7365|     21|    for (int image = 0; image <= 1; ++image) // loop over "bool" image vs sampler
  ------------------
  |  Branch (7365:25): [True: 14, False: 7]
  ------------------
 7366|     14|    {
 7367|     42|        for (int shadow = 0; shadow <= 1; ++shadow) { // loop over "bool" shadow or not
  ------------------
  |  Branch (7367:30): [True: 28, False: 14]
  ------------------
 7368|     84|            for (int ms = 0; ms <= 1; ++ms) // loop over "bool" multisample or not
  ------------------
  |  Branch (7368:30): [True: 56, False: 28]
  ------------------
 7369|     56|            {
 7370|     56|                if ((ms || image) && shadow)
  ------------------
  |  Branch (7370:22): [True: 28, False: 28]
  |  Branch (7370:28): [True: 14, False: 14]
  |  Branch (7370:38): [True: 21, False: 21]
  ------------------
 7371|     21|                    continue;
 7372|     35|                if (ms && profile != EEsProfile && version < 140)
  ------------------
  |  Branch (7372:21): [True: 14, False: 21]
  |  Branch (7372:27): [True: 14, False: 0]
  |  Branch (7372:52): [True: 0, False: 14]
  ------------------
 7373|      0|                    continue;
 7374|     35|                if (ms && image && profile == EEsProfile)
  ------------------
  |  Branch (7374:21): [True: 14, False: 21]
  |  Branch (7374:27): [True: 7, False: 7]
  |  Branch (7374:36): [True: 0, False: 7]
  ------------------
 7375|      0|                    continue;
 7376|     35|                if (ms && profile == EEsProfile && version < 310)
  ------------------
  |  Branch (7376:21): [True: 14, False: 21]
  |  Branch (7376:27): [True: 0, False: 14]
  |  Branch (7376:52): [True: 0, False: 0]
  ------------------
 7377|      0|                    continue;
 7378|       |
 7379|    105|                for (int arrayed = 0; arrayed <= 1; ++arrayed) { // loop over "bool" arrayed or not
  ------------------
  |  Branch (7379:39): [True: 70, False: 35]
  ------------------
 7380|    630|                    for (int dim = Esd1D; dim < EsdNumDims; ++dim) { // 1D, ..., buffer, subpass
  ------------------
  |  Branch (7380:43): [True: 560, False: 70]
  ------------------
 7381|    560|                        if (dim == EsdAttachmentEXT)
  ------------------
  |  Branch (7381:29): [True: 70, False: 490]
  ------------------
 7382|     70|                            continue;
 7383|    490|                        if (dim == EsdSubpass && spvVersion.vulkan == 0)
  ------------------
  |  Branch (7383:29): [True: 70, False: 420]
  |  Branch (7383:50): [True: 60, False: 10]
  ------------------
 7384|     60|                            continue;
 7385|    430|                        if (dim == EsdSubpass && (image || shadow || arrayed))
  ------------------
  |  Branch (7385:29): [True: 10, False: 420]
  |  Branch (7385:51): [True: 4, False: 6]
  |  Branch (7385:60): [True: 2, False: 4]
  |  Branch (7385:70): [True: 2, False: 2]
  ------------------
 7386|      8|                            continue;
 7387|    422|                        if ((dim == Esd1D || dim == EsdRect) && profile == EEsProfile)
  ------------------
  |  Branch (7387:30): [True: 70, False: 352]
  |  Branch (7387:46): [True: 70, False: 282]
  |  Branch (7387:65): [True: 0, False: 140]
  ------------------
 7388|      0|                            continue;
 7389|    422|                        if (dim == EsdSubpass && spvVersion.vulkan == 0)
  ------------------
  |  Branch (7389:29): [True: 2, False: 420]
  |  Branch (7389:50): [True: 0, False: 2]
  ------------------
 7390|      0|                            continue;
 7391|    422|                        if (dim == EsdSubpass && (image || shadow || arrayed))
  ------------------
  |  Branch (7391:29): [True: 2, False: 420]
  |  Branch (7391:51): [True: 0, False: 2]
  |  Branch (7391:60): [True: 0, False: 2]
  |  Branch (7391:70): [True: 0, False: 2]
  ------------------
 7392|      0|                            continue;
 7393|    422|                        if ((dim == Esd1D || dim == EsdRect) && profile == EEsProfile)
  ------------------
  |  Branch (7393:30): [True: 70, False: 352]
  |  Branch (7393:46): [True: 70, False: 282]
  |  Branch (7393:65): [True: 0, False: 140]
  ------------------
 7394|      0|                            continue;
 7395|    422|                        if (dim != Esd2D && dim != EsdSubpass && ms)
  ------------------
  |  Branch (7395:29): [True: 352, False: 70]
  |  Branch (7395:45): [True: 350, False: 2]
  |  Branch (7395:66): [True: 140, False: 210]
  ------------------
 7396|    140|                            continue;
 7397|    282|                        if (dim == EsdBuffer && skipBuffer)
  ------------------
  |  Branch (7397:29): [True: 42, False: 240]
  |  Branch (7397:49): [True: 0, False: 42]
  ------------------
 7398|      0|                            continue;
 7399|    282|                        if (dim == EsdBuffer && (shadow || arrayed || ms))
  ------------------
  |  Branch (7399:29): [True: 42, False: 240]
  |  Branch (7399:50): [True: 14, False: 28]
  |  Branch (7399:60): [True: 14, False: 14]
  |  Branch (7399:71): [True: 0, False: 14]
  ------------------
 7400|     28|                            continue;
 7401|    254|                        if (ms && arrayed && profile == EEsProfile && version < 310)
  ------------------
  |  Branch (7401:29): [True: 29, False: 225]
  |  Branch (7401:35): [True: 14, False: 15]
  |  Branch (7401:46): [True: 0, False: 14]
  |  Branch (7401:71): [True: 0, False: 0]
  ------------------
 7402|      0|                            continue;
 7403|    254|                        if (dim == Esd3D && shadow)
  ------------------
  |  Branch (7403:29): [True: 42, False: 212]
  |  Branch (7403:45): [True: 14, False: 28]
  ------------------
 7404|     14|                            continue;
 7405|    240|                        if (dim == EsdCube && arrayed && skipCubeArrayed)
  ------------------
  |  Branch (7405:29): [True: 42, False: 198]
  |  Branch (7405:47): [True: 21, False: 21]
  |  Branch (7405:58): [True: 0, False: 21]
  ------------------
 7406|      0|                            continue;
 7407|    240|                        if ((dim == Esd3D || dim == EsdRect) && arrayed)
  ------------------
  |  Branch (7407:30): [True: 28, False: 212]
  |  Branch (7407:46): [True: 42, False: 170]
  |  Branch (7407:65): [True: 35, False: 35]
  ------------------
 7408|     35|                            continue;
 7409|       |
 7410|       |                        // Loop over the bTypes
 7411|  1.02k|                        for (size_t bType = 0; bType < sizeof(bTypes)/sizeof(TBasicType); ++bType) {
  ------------------
  |  Branch (7411:48): [True: 820, False: 205]
  ------------------
 7412|    820|                            if (bTypes[bType] == EbtFloat16 && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (7412:33): [True: 205, False: 615]
  |  Branch (7412:65): [True: 0, False: 205]
  |  Branch (7412:90): [True: 0, False: 205]
  ------------------
 7413|      0|                                continue;
 7414|    820|                            if (dim == EsdRect && version < 140 && bType > 0)
  ------------------
  |  Branch (7414:33): [True: 84, False: 736]
  |  Branch (7414:51): [True: 0, False: 84]
  |  Branch (7414:68): [True: 0, False: 0]
  ------------------
 7415|      0|                                continue;
 7416|    820|                            if (shadow && (bTypes[bType] == EbtInt || bTypes[bType] == EbtUint))
  ------------------
  |  Branch (7416:33): [True: 196, False: 624]
  |  Branch (7416:44): [True: 49, False: 147]
  |  Branch (7416:71): [True: 49, False: 98]
  ------------------
 7417|     98|                                continue;
 7418|       |                            //
 7419|       |                            // Now, make all the function prototypes for the type we just built...
 7420|       |                            //
 7421|    722|                            TSampler sampler;
 7422|    722|                            if (dim == EsdSubpass) {
  ------------------
  |  Branch (7422:33): [True: 8, False: 714]
  ------------------
 7423|      8|                                sampler.setSubpass(bTypes[bType], ms ? true : false);
  ------------------
  |  Branch (7423:67): [True: 4, False: 4]
  ------------------
 7424|    714|                            } else if (dim == EsdAttachmentEXT) {
  ------------------
  |  Branch (7424:40): [True: 0, False: 714]
  ------------------
 7425|      0|                                sampler.setAttachmentEXT(bTypes[bType]);
 7426|      0|                            } else
 7427|    714|                            if (image) {
  ------------------
  |  Branch (7427:33): [True: 308, False: 406]
  ------------------
 7428|    308|                                sampler.setImage(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false,
  ------------------
  |  Branch (7428:83): [True: 112, False: 196]
  ------------------
 7429|    308|                                                                                  shadow  ? true : false,
  ------------------
  |  Branch (7429:83): [True: 0, False: 308]
  ------------------
 7430|    308|                                                                                  ms      ? true : false);
  ------------------
  |  Branch (7430:83): [True: 56, False: 252]
  ------------------
 7431|    406|                            } else {
 7432|    406|                                sampler.set(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false,
  ------------------
  |  Branch (7432:78): [True: 154, False: 252]
  ------------------
 7433|    406|                                                                             shadow  ? true : false,
  ------------------
  |  Branch (7433:78): [True: 98, False: 308]
  ------------------
 7434|    406|                                                                             ms      ? true : false);
  ------------------
  |  Branch (7434:78): [True: 56, False: 350]
  ------------------
 7435|    406|                            }
 7436|       |
 7437|    722|                            TString typeName = TString{sampler.getString()};
 7438|       |
 7439|    722|                            if (dim == EsdSubpass) {
  ------------------
  |  Branch (7439:33): [True: 8, False: 714]
  ------------------
 7440|      8|                                addSubpassSampling(sampler, typeName, version, profile);
 7441|      8|                                continue;
 7442|      8|                            }
 7443|       |
 7444|    714|                            addQueryFunctions(sampler, typeName, version, profile);
 7445|       |
 7446|    714|                            if (image)
  ------------------
  |  Branch (7446:33): [True: 308, False: 406]
  ------------------
 7447|    308|                                addImageFunctions(sampler, typeName, version, profile);
 7448|    406|                            else {
 7449|    406|                                addSamplingFunctions(sampler, typeName, version, profile);
 7450|    406|                                addGatherFunctions(sampler, typeName, version, profile);
 7451|    406|                                if (spvVersion.vulkan > 0 && sampler.isCombined() && !sampler.shadow) {
  ------------------
  |  Branch (7451:37): [True: 58, False: 348]
  |  Branch (7451:62): [True: 58, False: 0]
  |  Branch (7451:86): [True: 44, False: 14]
  ------------------
 7452|       |                                    // Base Vulkan allows texelFetch() for
 7453|       |                                    // textureBuffer (i.e. without sampler).
 7454|       |                                    //
 7455|       |                                    // GL_EXT_samplerless_texture_functions
 7456|       |                                    // allows texelFetch() and query functions
 7457|       |                                    // (other than textureQueryLod()) for all
 7458|       |                                    // texture types.
 7459|     44|                                    sampler.setTexture(sampler.type, sampler.dim, sampler.arrayed, sampler.shadow,
 7460|     44|                                                       sampler.ms);
 7461|     44|                                    TString textureTypeName = TString{sampler.getString()};
 7462|     44|                                    addSamplingFunctions(sampler, textureTypeName, version, profile);
 7463|     44|                                    addQueryFunctions(sampler, textureTypeName, version, profile);
 7464|     44|                                }
 7465|    406|                            }
 7466|    714|                        }
 7467|    205|                    }
 7468|     70|                }
 7469|     35|            }
 7470|     28|        }
 7471|     14|    }
 7472|       |
 7473|       |    //
 7474|       |    // sparseTexelsResidentARB()
 7475|       |    //
 7476|      7|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7476:9): [True: 7, False: 0]
  |  Branch (7476:34): [True: 7, False: 0]
  ------------------
 7477|      7|        commonBuiltins.append("bool sparseTexelsResidentARB(int code);\n");
 7478|      7|    }
 7479|      7|}
_ZN7glslang9TBuiltIns17addQueryFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7488|    912|{
 7489|       |    //
 7490|       |    // textureSize() and imageSize()
 7491|       |    //
 7492|       |
 7493|    912|    int sizeDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0) - (sampler.dim == EsdCube ? 1 : 0);
  ------------------
  |  Branch (7493:43): [True: 338, False: 574]
  |  Branch (7493:71): [True: 176, False: 736]
  ------------------
 7494|       |
 7495|    912|    if (sampler.isImage() && ((profile == EEsProfile && version < 310) || (profile != EEsProfile && version < 420)))
  ------------------
  |  Branch (7495:9): [True: 462, False: 450]
  |  Branch (7495:32): [True: 0, False: 462]
  |  Branch (7495:57): [True: 0, False: 0]
  |  Branch (7495:76): [True: 462, False: 0]
  |  Branch (7495:101): [True: 0, False: 462]
  ------------------
 7496|      0|        return;
 7497|       |
 7498|    912|    if (profile == EEsProfile)
  ------------------
  |  Branch (7498:9): [True: 0, False: 912]
  ------------------
 7499|      0|        commonBuiltins.append("highp ");
 7500|    912|    if (sizeDims == 1)
  ------------------
  |  Branch (7500:9): [True: 162, False: 750]
  ------------------
 7501|    162|        commonBuiltins.append("int");
 7502|    750|    else {
 7503|    750|        commonBuiltins.append("ivec");
 7504|    750|        commonBuiltins.append(postfixes[sizeDims]);
 7505|    750|    }
 7506|    912|    if (sampler.isImage())
  ------------------
  |  Branch (7506:9): [True: 462, False: 450]
  ------------------
 7507|    462|        commonBuiltins.append(" imageSize(readonly writeonly volatile coherent nontemporal ");
 7508|    450|    else
 7509|    450|        commonBuiltins.append(" textureSize(");
 7510|    912|    commonBuiltins.append(typeName);
 7511|    912|    if (! sampler.isImage() && ! sampler.isRect() && ! sampler.isBuffer() && ! sampler.isMultiSample())
  ------------------
  |  Branch (7511:9): [True: 450, False: 462]
  |  Branch (7511:32): [True: 404, False: 46]
  |  Branch (7511:54): [True: 372, False: 32]
  |  Branch (7511:78): [True: 308, False: 64]
  ------------------
 7512|    308|        commonBuiltins.append(",int);\n");
 7513|    604|    else
 7514|    604|        commonBuiltins.append(");\n");
 7515|       |
 7516|       |    //
 7517|       |    // textureSamples() and imageSamples()
 7518|       |    //
 7519|       |
 7520|       |    // GL_ARB_shader_texture_image_samples
 7521|       |    // TODO: spec issue? there are no memory qualifiers; how to query a writeonly/readonly image, etc?
 7522|    912|    if (profile != EEsProfile && version >= 430 && sampler.isMultiSample()) {
  ------------------
  |  Branch (7522:9): [True: 912, False: 0]
  |  Branch (7522:34): [True: 912, False: 0]
  |  Branch (7522:52): [True: 148, False: 764]
  ------------------
 7523|    148|        commonBuiltins.append("int ");
 7524|    148|        if (sampler.isImage())
  ------------------
  |  Branch (7524:13): [True: 84, False: 64]
  ------------------
 7525|     84|            commonBuiltins.append("imageSamples(readonly writeonly volatile coherent nontemporal ");
 7526|     64|        else
 7527|     64|            commonBuiltins.append("textureSamples(");
 7528|    148|        commonBuiltins.append(typeName);
 7529|    148|        commonBuiltins.append(");\n");
 7530|    148|    }
 7531|       |
 7532|       |    //
 7533|       |    // textureQueryLod()
 7534|       |    // Also enabled with extension GL_ARB_texture_query_lod
 7535|       |    // Extension GL_ARB_texture_query_lod says that textureQueryLOD() also exist at extension.
 7536|       |
 7537|    912|    if (profile != EEsProfile && version >= 150 && sampler.isCombined() && sampler.dim != EsdRect &&
  ------------------
  |  Branch (7537:9): [True: 912, False: 0]
  |  Branch (7537:34): [True: 912, False: 0]
  |  Branch (7537:52): [True: 406, False: 506]
  |  Branch (7537:76): [True: 364, False: 42]
  ------------------
 7538|    364|        ! sampler.isMultiSample() && ! sampler.isBuffer()) {
  ------------------
  |  Branch (7538:9): [True: 308, False: 56]
  |  Branch (7538:38): [True: 280, False: 28]
  ------------------
 7539|       |
 7540|    280|        const TString funcName[2] = {"vec2 textureQueryLod(", "vec2 textureQueryLOD("};
 7541|       |
 7542|    840|        for (int i = 0; i < 2; ++i){
  ------------------
  |  Branch (7542:25): [True: 560, False: 280]
  ------------------
 7543|  1.68k|            for (int f16TexAddr = 0; f16TexAddr < 2; ++f16TexAddr) {
  ------------------
  |  Branch (7543:38): [True: 1.12k, False: 560]
  ------------------
 7544|  1.12k|                if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (7544:21): [True: 560, False: 560]
  |  Branch (7544:35): [True: 378, False: 182]
  ------------------
 7545|    378|                    continue;
 7546|    742|                stageBuiltins[EShLangFragment].append(funcName[i]);
 7547|    742|                stageBuiltins[EShLangFragment].append(typeName);
 7548|    742|                if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7548:21): [True: 224, False: 518]
  ------------------
 7549|    224|                    if (f16TexAddr)
  ------------------
  |  Branch (7549:25): [True: 56, False: 168]
  ------------------
 7550|     56|                        stageBuiltins[EShLangFragment].append(", float16_t");
 7551|    168|                    else
 7552|    168|                        stageBuiltins[EShLangFragment].append(", float");
 7553|    518|                else {
 7554|    518|                    if (f16TexAddr)
  ------------------
  |  Branch (7554:25): [True: 126, False: 392]
  ------------------
 7555|    126|                        stageBuiltins[EShLangFragment].append(", f16vec");
 7556|    392|                    else
 7557|    392|                        stageBuiltins[EShLangFragment].append(", vec");
 7558|    518|                    stageBuiltins[EShLangFragment].append(postfixes[dimMap[sampler.dim]]);
 7559|    518|                }
 7560|    742|                stageBuiltins[EShLangFragment].append(");\n");
 7561|    742|            }
 7562|       |
 7563|    560|            stageBuiltins[EShLangCompute].append(funcName[i]);
 7564|    560|            stageBuiltins[EShLangCompute].append(typeName);
 7565|    560|            if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7565:17): [True: 168, False: 392]
  ------------------
 7566|    168|                stageBuiltins[EShLangCompute].append(", float");
 7567|    392|            else {
 7568|    392|                stageBuiltins[EShLangCompute].append(", vec");
 7569|    392|                stageBuiltins[EShLangCompute].append(postfixes[dimMap[sampler.dim]]);
 7570|    392|            }
 7571|    560|            stageBuiltins[EShLangCompute].append(");\n");
 7572|       |
 7573|    560|            stageBuiltins[EShLangTask].append(funcName[i]);
 7574|    560|            stageBuiltins[EShLangTask].append(typeName);
 7575|    560|            if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7575:17): [True: 168, False: 392]
  ------------------
 7576|    168|                stageBuiltins[EShLangTask].append(", float");
 7577|    392|            else {
 7578|    392|                stageBuiltins[EShLangTask].append(", vec");
 7579|    392|                stageBuiltins[EShLangTask].append(postfixes[dimMap[sampler.dim]]);
 7580|    392|            }
 7581|    560|            stageBuiltins[EShLangTask].append(");\n");
 7582|       |
 7583|    560|            stageBuiltins[EShLangMesh].append(funcName[i]);
 7584|    560|            stageBuiltins[EShLangMesh].append(typeName);
 7585|    560|            if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7585:17): [True: 168, False: 392]
  ------------------
 7586|    168|                stageBuiltins[EShLangMesh].append(", float");
 7587|    392|            else {
 7588|    392|                stageBuiltins[EShLangMesh].append(", vec");
 7589|    392|                stageBuiltins[EShLangMesh].append(postfixes[dimMap[sampler.dim]]);
 7590|    392|            }
 7591|    560|            stageBuiltins[EShLangMesh].append(");\n");
 7592|    560|        }
 7593|    280|    }
 7594|       |
 7595|       |    //
 7596|       |    // textureQueryLevels()
 7597|       |    //
 7598|       |
 7599|    912|    if (profile != EEsProfile && version >= 430 && ! sampler.isImage() && sampler.dim != EsdRect &&
  ------------------
  |  Branch (7599:9): [True: 912, False: 0]
  |  Branch (7599:34): [True: 912, False: 0]
  |  Branch (7599:52): [True: 450, False: 462]
  |  Branch (7599:75): [True: 404, False: 46]
  ------------------
 7600|    404|        ! sampler.isMultiSample() && ! sampler.isBuffer()) {
  ------------------
  |  Branch (7600:9): [True: 340, False: 64]
  |  Branch (7600:38): [True: 308, False: 32]
  ------------------
 7601|    308|        commonBuiltins.append("int textureQueryLevels(");
 7602|    308|        commonBuiltins.append(typeName);
 7603|    308|        commonBuiltins.append(");\n");
 7604|    308|    }
 7605|    912|}
_ZN7glslang9TBuiltIns17addImageFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7614|    462|{
 7615|    462|    int dims = dimMap[sampler.dim];
 7616|       |    // most things with an array add a dimension, except for cubemaps
 7617|    462|    if (sampler.arrayed && sampler.dim != EsdCube)
  ------------------
  |  Branch (7617:9): [True: 168, False: 294]
  |  Branch (7617:28): [True: 126, False: 42]
  ------------------
 7618|    126|        ++dims;
 7619|       |
 7620|    462|    TString imageParams = typeName;
 7621|    462|    if (dims == 1)
  ------------------
  |  Branch (7621:9): [True: 84, False: 378]
  ------------------
 7622|     84|        imageParams.append(", int");
 7623|    378|    else {
 7624|    378|        imageParams.append(", ivec");
 7625|    378|        imageParams.append(postfixes[dims]);
 7626|    378|    }
 7627|    462|    if (sampler.isMultiSample())
  ------------------
  |  Branch (7627:9): [True: 84, False: 378]
  ------------------
 7628|     84|        imageParams.append(", int");
 7629|       |
 7630|    462|    if (profile == EEsProfile)
  ------------------
  |  Branch (7630:9): [True: 0, False: 462]
  ------------------
 7631|      0|        commonBuiltins.append("highp ");
 7632|    462|    commonBuiltins.append(prefixes[sampler.type]);
 7633|    462|    commonBuiltins.append("vec4 imageLoad(readonly volatile coherent nontemporal ");
 7634|    462|    commonBuiltins.append(imageParams);
 7635|    462|    commonBuiltins.append(");\n");
 7636|       |
 7637|    462|    commonBuiltins.append("void imageStore(writeonly volatile coherent nontemporal ");
 7638|    462|    commonBuiltins.append(imageParams);
 7639|    462|    commonBuiltins.append(", ");
 7640|    462|    commonBuiltins.append(prefixes[sampler.type]);
 7641|    462|    commonBuiltins.append("vec4);\n");
 7642|       |
 7643|    462|    if (! sampler.is1D() && ! sampler.isBuffer() && profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7643:9): [True: 378, False: 84]
  |  Branch (7643:29): [True: 336, False: 42]
  |  Branch (7643:53): [True: 336, False: 0]
  |  Branch (7643:78): [True: 336, False: 0]
  ------------------
 7644|    336|        commonBuiltins.append("int sparseImageLoadARB(readonly volatile coherent nontemporal ");
 7645|    336|        commonBuiltins.append(imageParams);
 7646|    336|        commonBuiltins.append(", out ");
 7647|    336|        commonBuiltins.append(prefixes[sampler.type]);
 7648|    336|        commonBuiltins.append("vec4");
 7649|    336|        commonBuiltins.append(");\n");
 7650|    336|    }
 7651|       |
 7652|    462|    if ( profile != EEsProfile ||
  ------------------
  |  Branch (7652:10): [True: 462, False: 0]
  ------------------
 7653|    462|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7653:10): [True: 0, False: 0]
  |  Branch (7653:35): [True: 0, False: 0]
  ------------------
 7654|    462|        if (sampler.type == EbtInt || sampler.type == EbtUint || sampler.type == EbtInt64 || sampler.type == EbtUint64 ) {
  ------------------
  |  Branch (7654:13): [True: 77, False: 385]
  |  Branch (7654:39): [True: 77, False: 308]
  |  Branch (7654:66): [True: 77, False: 231]
  |  Branch (7654:94): [True: 77, False: 154]
  ------------------
 7655|       |            
 7656|    308|            const char* dataType;
 7657|    308|            switch (sampler.type) {
 7658|     77|                case(EbtInt): dataType = "highp int"; break;
  ------------------
  |  Branch (7658:17): [True: 77, False: 231]
  ------------------
 7659|     77|                case(EbtUint): dataType = "highp uint"; break;
  ------------------
  |  Branch (7659:17): [True: 77, False: 231]
  ------------------
 7660|     77|                case(EbtInt64): dataType = "highp int64_t"; break;
  ------------------
  |  Branch (7660:17): [True: 77, False: 231]
  ------------------
 7661|     77|                case(EbtUint64): dataType = "highp uint64_t"; break;
  ------------------
  |  Branch (7661:17): [True: 77, False: 231]
  ------------------
 7662|      0|                default: dataType = "";
  ------------------
  |  Branch (7662:17): [True: 0, False: 308]
  ------------------
 7663|    308|            }
 7664|       |
 7665|    308|            const int numBuiltins = 7;
 7666|       |
 7667|    308|            static const char* atomicFunc[numBuiltins] = {
 7668|    308|                " imageAtomicAdd(volatile coherent nontemporal ",
 7669|    308|                " imageAtomicMin(volatile coherent nontemporal ",
 7670|    308|                " imageAtomicMax(volatile coherent nontemporal ",
 7671|    308|                " imageAtomicAnd(volatile coherent nontemporal ",
 7672|    308|                " imageAtomicOr(volatile coherent nontemporal ",
 7673|    308|                " imageAtomicXor(volatile coherent nontemporal ",
 7674|    308|                " imageAtomicExchange(volatile coherent nontemporal "
 7675|    308|            };
 7676|       |
 7677|       |            // Loop twice to add prototypes with/without scope/semantics
 7678|    924|            for (int j = 0; j < 2; ++j) {
  ------------------
  |  Branch (7678:29): [True: 616, False: 308]
  ------------------
 7679|  4.92k|                for (size_t i = 0; i < numBuiltins; ++i) {
  ------------------
  |  Branch (7679:36): [True: 4.31k, False: 616]
  ------------------
 7680|  4.31k|                    commonBuiltins.append(dataType);
 7681|  4.31k|                    commonBuiltins.append(atomicFunc[i]);
 7682|  4.31k|                    commonBuiltins.append(imageParams);
 7683|  4.31k|                    commonBuiltins.append(", ");
 7684|  4.31k|                    commonBuiltins.append(dataType);
 7685|  4.31k|                    if (j == 1) {
  ------------------
  |  Branch (7685:25): [True: 2.15k, False: 2.15k]
  ------------------
 7686|  2.15k|                        commonBuiltins.append(", int, int, int");
 7687|  2.15k|                    }
 7688|  4.31k|                    commonBuiltins.append(");\n");
 7689|  4.31k|                }
 7690|       |
 7691|    616|                commonBuiltins.append(dataType);
 7692|    616|                commonBuiltins.append(" imageAtomicCompSwap(volatile coherent nontemporal ");
 7693|    616|                commonBuiltins.append(imageParams);
 7694|    616|                commonBuiltins.append(", ");
 7695|    616|                commonBuiltins.append(dataType);
 7696|    616|                commonBuiltins.append(", ");
 7697|    616|                commonBuiltins.append(dataType);
 7698|    616|                if (j == 1) {
  ------------------
  |  Branch (7698:21): [True: 308, False: 308]
  ------------------
 7699|    308|                    commonBuiltins.append(", int, int, int, int, int");
 7700|    308|                }
 7701|    616|                commonBuiltins.append(");\n");
 7702|    616|            }
 7703|       |
 7704|    308|            commonBuiltins.append(dataType);
 7705|    308|            commonBuiltins.append(" imageAtomicLoad(volatile coherent nontemporal ");
 7706|    308|            commonBuiltins.append(imageParams);
 7707|    308|            commonBuiltins.append(", int, int, int);\n");
 7708|       |
 7709|    308|            commonBuiltins.append("void imageAtomicStore(volatile coherent nontemporal ");
 7710|    308|            commonBuiltins.append(imageParams);
 7711|    308|            commonBuiltins.append(", ");
 7712|    308|            commonBuiltins.append(dataType);
 7713|    308|            commonBuiltins.append(", int, int, int);\n");
 7714|       |
 7715|    308|        } else {
 7716|       |            // not int or uint
 7717|       |            // GL_ARB_ES3_1_compatibility
 7718|       |            // TODO: spec issue: are there restrictions on the kind of layout() that can be used?  what about dropping memory qualifiers?
 7719|    154|            if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (7719:17): [True: 0, False: 154]
  |  Branch (7719:42): [True: 0, False: 0]
  ------------------
 7720|      0|                commonBuiltins.append("float imageAtomicExchange(volatile coherent nontemporal ");
 7721|      0|                commonBuiltins.append(imageParams);
 7722|      0|                commonBuiltins.append(", float);\n");
 7723|      0|            }
 7724|       |
 7725|       |            // GL_NV_shader_atomic_fp16_vector
 7726|    154|            if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (7726:17): [True: 154, False: 0]
  |  Branch (7726:42): [True: 154, False: 0]
  ------------------
 7727|    154|                const int numFp16Builtins = 4;
 7728|    154|                const char* atomicFp16Func[numFp16Builtins] = {
 7729|    154|                    " imageAtomicAdd(volatile coherent nontemporal ",
 7730|    154|                    " imageAtomicMin(volatile coherent nontemporal ",
 7731|    154|                    " imageAtomicMax(volatile coherent nontemporal ",
 7732|    154|                    " imageAtomicExchange(volatile coherent nontemporal "
 7733|    154|                };
 7734|    154|                const int numFp16DataTypes = 2;
 7735|    154|                const char* atomicFp16DataTypes[numFp16DataTypes] = {
 7736|    154|                    "f16vec2",
 7737|    154|                    "f16vec4"
 7738|    154|                };
 7739|       |                // Loop twice to add prototypes with/without scope/semantics
 7740|    462|                for (int j = 0; j < numFp16DataTypes; ++j) {
  ------------------
  |  Branch (7740:33): [True: 308, False: 154]
  ------------------
 7741|  1.54k|                    for (int i = 0; i < numFp16Builtins; ++i) {
  ------------------
  |  Branch (7741:37): [True: 1.23k, False: 308]
  ------------------
 7742|  1.23k|                        commonBuiltins.append(atomicFp16DataTypes[j]);
 7743|  1.23k|                        commonBuiltins.append(atomicFp16Func[i]);
 7744|  1.23k|                        commonBuiltins.append(imageParams);
 7745|  1.23k|                        commonBuiltins.append(", ");
 7746|  1.23k|                        commonBuiltins.append(atomicFp16DataTypes[j]);
 7747|  1.23k|                        commonBuiltins.append(");\n");
 7748|  1.23k|                    }
 7749|    308|                }
 7750|    154|            }
 7751|       |
 7752|    154|            if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7752:17): [True: 154, False: 0]
  |  Branch (7752:42): [True: 154, False: 0]
  ------------------
 7753|    154|                commonBuiltins.append("float imageAtomicAdd(volatile coherent nontemporal ");
 7754|    154|                commonBuiltins.append(imageParams);
 7755|    154|                commonBuiltins.append(", float);\n");
 7756|       |
 7757|    154|                commonBuiltins.append("float imageAtomicAdd(volatile coherent nontemporal ");
 7758|    154|                commonBuiltins.append(imageParams);
 7759|    154|                commonBuiltins.append(", float");
 7760|    154|                commonBuiltins.append(", int, int, int);\n");
 7761|       |
 7762|    154|                commonBuiltins.append("float imageAtomicExchange(volatile coherent nontemporal ");
 7763|    154|                commonBuiltins.append(imageParams);
 7764|    154|                commonBuiltins.append(", float);\n");
 7765|       |
 7766|    154|                commonBuiltins.append("float imageAtomicExchange(volatile coherent nontemporal ");
 7767|    154|                commonBuiltins.append(imageParams);
 7768|    154|                commonBuiltins.append(", float");
 7769|    154|                commonBuiltins.append(", int, int, int);\n");
 7770|       |
 7771|    154|                commonBuiltins.append("float imageAtomicLoad(readonly volatile coherent nontemporal ");
 7772|    154|                commonBuiltins.append(imageParams);
 7773|    154|                commonBuiltins.append(", int, int, int);\n");
 7774|       |
 7775|    154|                commonBuiltins.append("void imageAtomicStore(writeonly volatile coherent nontemporal ");
 7776|    154|                commonBuiltins.append(imageParams);
 7777|    154|                commonBuiltins.append(", float");
 7778|    154|                commonBuiltins.append(", int, int, int);\n");
 7779|       |
 7780|    154|                commonBuiltins.append("float imageAtomicMin(volatile coherent nontemporal ");
 7781|    154|                commonBuiltins.append(imageParams);
 7782|    154|                commonBuiltins.append(", float);\n");
 7783|       |
 7784|    154|                commonBuiltins.append("float imageAtomicMin(volatile coherent nontemporal ");
 7785|    154|                commonBuiltins.append(imageParams);
 7786|    154|                commonBuiltins.append(", float");
 7787|    154|                commonBuiltins.append(", int, int, int);\n");
 7788|       |
 7789|    154|                commonBuiltins.append("float imageAtomicMax(volatile coherent nontemporal ");
 7790|    154|                commonBuiltins.append(imageParams);
 7791|    154|                commonBuiltins.append(", float);\n");
 7792|       |
 7793|    154|                commonBuiltins.append("float imageAtomicMax(volatile coherent nontemporal ");
 7794|    154|                commonBuiltins.append(imageParams);
 7795|    154|                commonBuiltins.append(", float");
 7796|    154|                commonBuiltins.append(", int, int, int);\n");
 7797|    154|            }
 7798|    154|        }
 7799|    462|    }
 7800|       |
 7801|    462|    if (sampler.dim == EsdRect || sampler.dim == EsdBuffer || sampler.shadow || sampler.isMultiSample())
  ------------------
  |  Branch (7801:9): [True: 42, False: 420]
  |  Branch (7801:35): [True: 42, False: 378]
  |  Branch (7801:63): [True: 0, False: 378]
  |  Branch (7801:81): [True: 84, False: 294]
  ------------------
 7802|    168|        return;
 7803|       |
 7804|    294|    if (profile == EEsProfile || version < 450)
  ------------------
  |  Branch (7804:9): [True: 0, False: 294]
  |  Branch (7804:34): [True: 0, False: 294]
  ------------------
 7805|      0|        return;
 7806|       |
 7807|    294|    TString imageLodParams = typeName;
 7808|    294|    if (dims == 1)
  ------------------
  |  Branch (7808:9): [True: 42, False: 252]
  ------------------
 7809|     42|        imageLodParams.append(", int");
 7810|    252|    else {
 7811|    252|        imageLodParams.append(", ivec");
 7812|    252|        imageLodParams.append(postfixes[dims]);
 7813|    252|    }
 7814|    294|    imageLodParams.append(", int");
 7815|       |
 7816|    294|    commonBuiltins.append(prefixes[sampler.type]);
 7817|    294|    commonBuiltins.append("vec4 imageLoadLodAMD(readonly volatile coherent nontemporal ");
 7818|    294|    commonBuiltins.append(imageLodParams);
 7819|    294|    commonBuiltins.append(");\n");
 7820|       |
 7821|    294|    commonBuiltins.append("void imageStoreLodAMD(writeonly volatile coherent nontemporal ");
 7822|    294|    commonBuiltins.append(imageLodParams);
 7823|    294|    commonBuiltins.append(", ");
 7824|    294|    commonBuiltins.append(prefixes[sampler.type]);
 7825|    294|    commonBuiltins.append("vec4);\n");
 7826|       |
 7827|    294|    if (! sampler.is1D()) {
  ------------------
  |  Branch (7827:9): [True: 210, False: 84]
  ------------------
 7828|    210|        commonBuiltins.append("int sparseImageLoadLodAMD(readonly volatile coherent nontemporal ");
 7829|    210|        commonBuiltins.append(imageLodParams);
 7830|    210|        commonBuiltins.append(", out ");
 7831|    210|        commonBuiltins.append(prefixes[sampler.type]);
 7832|    210|        commonBuiltins.append("vec4");
 7833|    210|        commonBuiltins.append(");\n");
 7834|    210|    }
 7835|    294|}
_ZN7glslang9TBuiltIns18addSubpassSamplingENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7844|      8|{
 7845|      8|    stageBuiltins[EShLangFragment].append(prefixes[sampler.type]);
 7846|      8|    stageBuiltins[EShLangFragment].append("vec4 subpassLoad");
 7847|      8|    stageBuiltins[EShLangFragment].append("(");
 7848|      8|    stageBuiltins[EShLangFragment].append(typeName.c_str());
 7849|      8|    if (sampler.isMultiSample())
  ------------------
  |  Branch (7849:9): [True: 4, False: 4]
  ------------------
 7850|      4|        stageBuiltins[EShLangFragment].append(", int");
 7851|      8|    stageBuiltins[EShLangFragment].append(");\n");
 7852|      8|}
_ZN7glslang9TBuiltIns20addSamplingFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7861|    450|{
 7862|       |    //
 7863|       |    // texturing
 7864|       |    //
 7865|  1.35k|    for (int proj = 0; proj <= 1; ++proj) { // loop over "bool" projective or not
  ------------------
  |  Branch (7865:24): [True: 900, False: 450]
  ------------------
 7866|       |
 7867|    900|        if (proj && (sampler.dim == EsdCube || sampler.isBuffer() || sampler.arrayed || sampler.isMultiSample()
  ------------------
  |  Branch (7867:13): [True: 450, False: 450]
  |  Branch (7867:22): [True: 92, False: 358]
  |  Branch (7867:48): [True: 32, False: 326]
  |  Branch (7867:70): [True: 124, False: 202]
  |  Branch (7867:89): [True: 32, False: 170]
  ------------------
 7868|    170|            || !sampler.isCombined()))
  ------------------
  |  Branch (7868:16): [True: 16, False: 154]
  ------------------
 7869|    296|            continue;
 7870|       |
 7871|  1.81k|        for (int lod = 0; lod <= 1; ++lod) {
  ------------------
  |  Branch (7871:27): [True: 1.20k, False: 604]
  ------------------
 7872|       |
 7873|  1.20k|            if (lod && (sampler.isBuffer() || sampler.isRect() || sampler.isMultiSample() || !sampler.isCombined()))
  ------------------
  |  Branch (7873:17): [True: 604, False: 604]
  |  Branch (7873:25): [True: 32, False: 572]
  |  Branch (7873:47): [True: 88, False: 484]
  |  Branch (7873:67): [True: 64, False: 420]
  |  Branch (7873:94): [True: 28, False: 392]
  ------------------
 7874|    212|                continue;
 7875|    996|            if (lod && sampler.dim == Esd2D && sampler.arrayed && sampler.shadow)
  ------------------
  |  Branch (7875:17): [True: 392, False: 604]
  |  Branch (7875:24): [True: 126, False: 266]
  |  Branch (7875:48): [True: 42, False: 84]
  |  Branch (7875:67): [True: 14, False: 28]
  ------------------
 7876|     14|                continue;
 7877|    982|            if (lod && sampler.dim == EsdCube && sampler.shadow)
  ------------------
  |  Branch (7877:17): [True: 378, False: 604]
  |  Branch (7877:24): [True: 84, False: 294]
  |  Branch (7877:50): [True: 28, False: 56]
  ------------------
 7878|     28|                continue;
 7879|       |
 7880|  2.86k|            for (int bias = 0; bias <= 1; ++bias) {
  ------------------
  |  Branch (7880:32): [True: 1.90k, False: 954]
  ------------------
 7881|       |
 7882|  1.90k|                if (bias && (lod || sampler.isMultiSample() || !sampler.isCombined()))
  ------------------
  |  Branch (7882:21): [True: 954, False: 954]
  |  Branch (7882:30): [True: 350, False: 604]
  |  Branch (7882:37): [True: 64, False: 540]
  |  Branch (7882:64): [True: 36, False: 504]
  ------------------
 7883|    450|                    continue;
 7884|  1.45k|                if (bias && (sampler.dim == Esd2D || sampler.dim == EsdCube) && sampler.shadow && sampler.arrayed)
  ------------------
  |  Branch (7884:21): [True: 504, False: 954]
  |  Branch (7884:30): [True: 126, False: 378]
  |  Branch (7884:54): [True: 84, False: 294]
  |  Branch (7884:81): [True: 70, False: 140]
  |  Branch (7884:99): [True: 28, False: 42]
  ------------------
 7885|     28|                    continue;
 7886|  1.43k|                if (bias && (sampler.isRect() || sampler.isBuffer()))
  ------------------
  |  Branch (7886:21): [True: 476, False: 954]
  |  Branch (7886:30): [True: 84, False: 392]
  |  Branch (7886:50): [True: 28, False: 364]
  ------------------
 7887|    112|                    continue;
 7888|       |
 7889|  3.95k|                for (int offset = 0; offset <= 1; ++offset) { // loop over "bool" offset or not
  ------------------
  |  Branch (7889:38): [True: 2.63k, False: 1.31k]
  ------------------
 7890|       |
 7891|  2.63k|                    if (proj + offset + bias + lod > 3)
  ------------------
  |  Branch (7891:25): [True: 0, False: 2.63k]
  ------------------
 7892|      0|                        continue;
 7893|  2.63k|                    if (offset && (sampler.dim == EsdCube || sampler.isBuffer() || sampler.isMultiSample()))
  ------------------
  |  Branch (7893:25): [True: 1.31k, False: 1.31k]
  |  Branch (7893:36): [True: 218, False: 1.10k]
  |  Branch (7893:62): [True: 32, False: 1.06k]
  |  Branch (7893:84): [True: 64, False: 1.00k]
  ------------------
 7894|    314|                        continue;
 7895|       |
 7896|  6.96k|                    for (int fetch = 0; fetch <= 1; ++fetch) { // loop over "bool" fetch or not
  ------------------
  |  Branch (7896:41): [True: 4.64k, False: 2.32k]
  ------------------
 7897|       |
 7898|  4.64k|                        if (proj + offset + fetch + bias + lod > 3)
  ------------------
  |  Branch (7898:29): [True: 224, False: 4.42k]
  ------------------
 7899|    224|                            continue;
 7900|  4.42k|                        if (fetch && (lod || bias))
  ------------------
  |  Branch (7900:29): [True: 2.09k, False: 2.32k]
  |  Branch (7900:39): [True: 532, False: 1.56k]
  |  Branch (7900:46): [True: 546, False: 1.02k]
  ------------------
 7901|  1.07k|                            continue;
 7902|  3.34k|                        if (fetch && (sampler.shadow || sampler.dim == EsdCube))
  ------------------
  |  Branch (7902:29): [True: 1.02k, False: 2.32k]
  |  Branch (7902:39): [True: 252, False: 768]
  |  Branch (7902:57): [True: 64, False: 704]
  ------------------
 7903|    316|                            continue;
 7904|  3.02k|                        if (fetch == 0 && (sampler.isMultiSample() || sampler.isBuffer()
  ------------------
  |  Branch (7904:29): [True: 2.32k, False: 704]
  |  Branch (7904:44): [True: 64, False: 2.25k]
  |  Branch (7904:71): [True: 32, False: 2.22k]
  ------------------
 7905|  2.22k|                            || !sampler.isCombined()))
  ------------------
  |  Branch (7905:32): [True: 56, False: 2.17k]
  ------------------
 7906|    152|                            continue;
 7907|       |
 7908|  8.62k|                        for (int grad = 0; grad <= 1; ++grad) { // loop over "bool" grad or not
  ------------------
  |  Branch (7908:44): [True: 5.74k, False: 2.87k]
  ------------------
 7909|       |
 7910|  5.74k|                            if (grad && (lod || bias || sampler.isMultiSample() || !sampler.isCombined()))
  ------------------
  |  Branch (7910:33): [True: 2.87k, False: 2.87k]
  |  Branch (7910:42): [True: 644, False: 2.23k]
  |  Branch (7910:49): [True: 658, False: 1.57k]
  |  Branch (7910:57): [True: 64, False: 1.50k]
  |  Branch (7910:84): [True: 52, False: 1.45k]
  ------------------
 7911|  1.41k|                                continue;
 7912|  4.33k|                            if (grad && sampler.isBuffer())
  ------------------
  |  Branch (7912:33): [True: 1.45k, False: 2.87k]
  |  Branch (7912:41): [True: 28, False: 1.42k]
  ------------------
 7913|     28|                                continue;
 7914|  4.30k|                            if (proj + offset + fetch + grad + bias + lod > 3)
  ------------------
  |  Branch (7914:33): [True: 112, False: 4.19k]
  ------------------
 7915|    112|                                continue;
 7916|       |
 7917|  12.5k|                            for (int extraProj = 0; extraProj <= 1; ++extraProj) {
  ------------------
  |  Branch (7917:53): [True: 8.38k, False: 4.19k]
  ------------------
 7918|  8.38k|                                bool compare = false;
 7919|  8.38k|                                int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (7919:72): [True: 2.05k, False: 6.32k]
  ------------------
 7920|       |                                // skip dummy unused second component for 1D non-array shadows
 7921|  8.38k|                                if (sampler.shadow && totalDims < 2)
  ------------------
  |  Branch (7921:37): [True: 1.59k, False: 6.78k]
  |  Branch (7921:55): [True: 448, False: 1.14k]
  ------------------
 7922|    448|                                    totalDims = 2;
 7923|  8.38k|                                totalDims += (sampler.shadow ? 1 : 0) + proj;
  ------------------
  |  Branch (7923:47): [True: 1.59k, False: 6.78k]
  ------------------
 7924|  8.38k|                                if (totalDims > 4 && sampler.shadow) {
  ------------------
  |  Branch (7924:37): [True: 56, False: 8.32k]
  |  Branch (7924:54): [True: 56, False: 0]
  ------------------
 7925|     56|                                    compare = true;
 7926|     56|                                    totalDims = 4;
 7927|     56|                                }
 7928|  8.38k|                                assert(totalDims <= 4);
 7929|       |
 7930|  8.38k|                                if (extraProj && ! proj)
  ------------------
  |  Branch (7930:37): [True: 4.19k, False: 4.19k]
  |  Branch (7930:50): [True: 2.79k, False: 1.40k]
  ------------------
 7931|  2.79k|                                    continue;
 7932|  5.59k|                                if (extraProj && (sampler.dim == Esd3D || sampler.shadow || !sampler.isCombined()))
  ------------------
  |  Branch (7932:37): [True: 1.40k, False: 4.19k]
  |  Branch (7932:51): [True: 308, False: 1.09k]
  |  Branch (7932:75): [True: 280, False: 812]
  |  Branch (7932:93): [True: 0, False: 812]
  ------------------
 7933|    588|                                    continue;
 7934|       |
 7935|       |                                // loop over 16-bit floating-point texel addressing
 7936|  15.0k|                                for (int f16TexAddr = 0; f16TexAddr <= 1; ++f16TexAddr)
  ------------------
  |  Branch (7936:58): [True: 10.0k, False: 5.00k]
  ------------------
 7937|  10.0k|                                {
 7938|  10.0k|                                    if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (7938:41): [True: 5.00k, False: 5.00k]
  |  Branch (7938:55): [True: 3.55k, False: 1.45k]
  ------------------
 7939|  3.55k|                                        continue;
 7940|  6.45k|                                    if (f16TexAddr && sampler.shadow && ! compare) {
  ------------------
  |  Branch (7940:41): [True: 1.45k, False: 5.00k]
  |  Branch (7940:55): [True: 399, False: 1.05k]
  |  Branch (7940:73): [True: 385, False: 14]
  ------------------
 7941|    385|                                        compare = true; // compare argument is always present
 7942|    385|                                        totalDims--;
 7943|    385|                                    }
 7944|       |                                    // loop over "bool" lod clamp
 7945|  19.3k|                                    for (int lodClamp = 0; lodClamp <= 1 ;++lodClamp)
  ------------------
  |  Branch (7945:60): [True: 12.9k, False: 6.45k]
  ------------------
 7946|  12.9k|                                    {
 7947|  12.9k|                                        if (lodClamp && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (7947:45): [True: 6.45k, False: 6.45k]
  |  Branch (7947:58): [True: 0, False: 6.45k]
  |  Branch (7947:83): [True: 0, False: 6.45k]
  ------------------
 7948|      0|                                            continue;
 7949|  12.9k|                                        if (lodClamp && (proj || lod || fetch))
  ------------------
  |  Branch (7949:45): [True: 6.45k, False: 6.45k]
  |  Branch (7949:58): [True: 2.83k, False: 3.61k]
  |  Branch (7949:66): [True: 546, False: 3.07k]
  |  Branch (7949:73): [True: 1.02k, False: 2.05k]
  ------------------
 7950|  4.40k|                                            continue;
 7951|       |
 7952|       |                                        // loop over "bool" sparse or not
 7953|  25.5k|                                        for (int sparse = 0; sparse <= 1; ++sparse)
  ------------------
  |  Branch (7953:62): [True: 17.0k, False: 8.50k]
  ------------------
 7954|  17.0k|                                        {
 7955|  17.0k|                                            if (sparse && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (7955:49): [True: 8.50k, False: 8.50k]
  |  Branch (7955:60): [True: 0, False: 8.50k]
  |  Branch (7955:85): [True: 0, False: 8.50k]
  ------------------
 7956|      0|                                                continue;
 7957|       |                                            // Sparse sampling is not for 1D/1D array texture, buffer texture, and
 7958|       |                                            // projective texture
 7959|  17.0k|                                            if (sparse && (sampler.is1D() || sampler.isBuffer() || proj))
  ------------------
  |  Branch (7959:49): [True: 8.50k, False: 8.50k]
  |  Branch (7959:60): [True: 2.80k, False: 5.69k]
  |  Branch (7959:78): [True: 40, False: 5.65k]
  |  Branch (7959:100): [True: 1.89k, False: 3.76k]
  ------------------
 7960|  4.74k|                                                continue;
 7961|       |
 7962|  12.2k|                                            TString s;
 7963|       |
 7964|       |                                            // return type
 7965|  12.2k|                                            if (sparse)
  ------------------
  |  Branch (7965:49): [True: 3.76k, False: 8.50k]
  ------------------
 7966|  3.76k|                                                s.append("int ");
 7967|  8.50k|                                            else {
 7968|  8.50k|                                                if (sampler.shadow)
  ------------------
  |  Branch (7968:53): [True: 1.84k, False: 6.65k]
  ------------------
 7969|  1.84k|                                                    if (sampler.type == EbtFloat16)
  ------------------
  |  Branch (7969:57): [True: 1.23k, False: 616]
  ------------------
 7970|  1.23k|                                                        s.append("float16_t ");
 7971|    616|                                                    else
 7972|    616|                                                        s.append("float ");
 7973|  6.65k|                                                else {
 7974|  6.65k|                                                    s.append(prefixes[sampler.type]);
 7975|  6.65k|                                                    s.append("vec4 ");
 7976|  6.65k|                                                }
 7977|  8.50k|                                            }
 7978|       |
 7979|       |                                            // name
 7980|  12.2k|                                            if (sparse) {
  ------------------
  |  Branch (7980:49): [True: 3.76k, False: 8.50k]
  ------------------
 7981|  3.76k|                                                if (fetch)
  ------------------
  |  Branch (7981:53): [True: 680, False: 3.08k]
  ------------------
 7982|    680|                                                    s.append("sparseTexel");
 7983|  3.08k|                                                else
 7984|  3.08k|                                                    s.append("sparseTexture");
 7985|  3.76k|                                            }
 7986|  8.50k|                                            else {
 7987|  8.50k|                                                if (fetch)
  ------------------
  |  Branch (7987:53): [True: 1.75k, False: 6.74k]
  ------------------
 7988|  1.75k|                                                    s.append("texel");
 7989|  6.74k|                                                else
 7990|  6.74k|                                                    s.append("texture");
 7991|  8.50k|                                            }
 7992|  12.2k|                                            if (proj)
  ------------------
  |  Branch (7992:49): [True: 2.83k, False: 9.42k]
  ------------------
 7993|  2.83k|                                                s.append("Proj");
 7994|  12.2k|                                            if (lod)
  ------------------
  |  Branch (7994:49): [True: 1.30k, False: 10.9k]
  ------------------
 7995|  1.30k|                                                s.append("Lod");
 7996|  12.2k|                                            if (grad)
  ------------------
  |  Branch (7996:49): [True: 4.08k, False: 8.18k]
  ------------------
 7997|  4.08k|                                                s.append("Grad");
 7998|  12.2k|                                            if (fetch)
  ------------------
  |  Branch (7998:49): [True: 2.43k, False: 9.82k]
  ------------------
 7999|  2.43k|                                                s.append("Fetch");
 8000|  12.2k|                                            if (offset)
  ------------------
  |  Branch (8000:49): [True: 5.20k, False: 7.05k]
  ------------------
 8001|  5.20k|                                                s.append("Offset");
 8002|  12.2k|                                            if (lodClamp)
  ------------------
  |  Branch (8002:49): [True: 3.43k, False: 8.83k]
  ------------------
 8003|  3.43k|                                                s.append("Clamp");
 8004|  12.2k|                                            if (lodClamp != 0 || sparse)
  ------------------
  |  Branch (8004:49): [True: 3.43k, False: 8.83k]
  |  Branch (8004:66): [True: 2.38k, False: 6.45k]
  ------------------
 8005|  5.81k|                                                s.append("ARB");
 8006|  12.2k|                                            s.append("(");
 8007|       |
 8008|       |                                            // sampler type
 8009|  12.2k|                                            s.append(typeName);
 8010|       |                                            // P coordinate
 8011|  12.2k|                                            if (extraProj) {
  ------------------
  |  Branch (8011:49): [True: 1.01k, False: 11.2k]
  ------------------
 8012|  1.01k|                                                if (f16TexAddr)
  ------------------
  |  Branch (8012:53): [True: 203, False: 812]
  ------------------
 8013|    203|                                                    s.append(",f16vec4");
 8014|    812|                                                else
 8015|    812|                                                    s.append(",vec4");
 8016|  11.2k|                                            } else {
 8017|  11.2k|                                                s.append(",");
 8018|  11.2k|                                                TBasicType t = fetch ? EbtInt : (f16TexAddr ? EbtFloat16 : EbtFloat);
  ------------------
  |  Branch (8018:64): [True: 2.12k, False: 9.12k]
  |  Branch (8018:82): [True: 2.18k, False: 6.94k]
  ------------------
 8019|  11.2k|                                                if (totalDims == 1)
  ------------------
  |  Branch (8019:53): [True: 680, False: 10.5k]
  ------------------
 8020|    680|                                                    s.append(TType::getBasicString(t));
 8021|  10.5k|                                                else {
 8022|  10.5k|                                                    s.append(prefixes[t]);
 8023|  10.5k|                                                    s.append("vec");
 8024|  10.5k|                                                    s.append(postfixes[totalDims]);
 8025|  10.5k|                                                }
 8026|  11.2k|                                            }
 8027|       |                                            // non-optional compare
 8028|  12.2k|                                            if (compare)
  ------------------
  |  Branch (8028:49): [True: 1.00k, False: 11.2k]
  ------------------
 8029|  1.00k|                                                s.append(",float");
 8030|       |
 8031|       |                                            // non-optional lod argument (lod that's not driven by lod loop) or sample
 8032|  12.2k|                                            if ((fetch && !sampler.isBuffer() &&
  ------------------
  |  Branch (8032:50): [True: 2.43k, False: 9.82k]
  |  Branch (8032:59): [True: 2.39k, False: 40]
  ------------------
 8033|  2.39k|                                                 !sampler.isRect() && !sampler.isMultiSample())
  ------------------
  |  Branch (8033:50): [True: 1.88k, False: 510]
  |  Branch (8033:71): [True: 1.72k, False: 160]
  ------------------
 8034|  10.5k|                                                 || (sampler.isMultiSample() && fetch))
  ------------------
  |  Branch (8034:54): [True: 160, False: 10.3k]
  |  Branch (8034:81): [True: 160, False: 0]
  ------------------
 8035|  1.88k|                                                s.append(",int");
 8036|       |                                            // non-optional lod
 8037|  12.2k|                                            if (lod) {
  ------------------
  |  Branch (8037:49): [True: 1.30k, False: 10.9k]
  ------------------
 8038|  1.30k|                                                if (f16TexAddr)
  ------------------
  |  Branch (8038:53): [True: 294, False: 1.00k]
  ------------------
 8039|    294|                                                    s.append(",float16_t");
 8040|  1.00k|                                                else
 8041|  1.00k|                                                    s.append(",float");
 8042|  1.30k|                                            }
 8043|       |
 8044|       |                                            // gradient arguments
 8045|  12.2k|                                            if (grad) {
  ------------------
  |  Branch (8045:49): [True: 4.08k, False: 8.18k]
  ------------------
 8046|  4.08k|                                                if (dimMap[sampler.dim] == 1) {
  ------------------
  |  Branch (8046:53): [True: 840, False: 3.24k]
  ------------------
 8047|    840|                                                    if (f16TexAddr)
  ------------------
  |  Branch (8047:57): [True: 196, False: 644]
  ------------------
 8048|    196|                                                        s.append(",float16_t,float16_t");
 8049|    644|                                                    else
 8050|    644|                                                        s.append(",float,float");
 8051|  3.24k|                                                } else {
 8052|  3.24k|                                                    if (f16TexAddr)
  ------------------
  |  Branch (8052:57): [True: 749, False: 2.49k]
  ------------------
 8053|    749|                                                        s.append(",f16vec");
 8054|  2.49k|                                                    else
 8055|  2.49k|                                                        s.append(",vec");
 8056|  3.24k|                                                    s.append(postfixes[dimMap[sampler.dim]]);
 8057|  3.24k|                                                    if (f16TexAddr)
  ------------------
  |  Branch (8057:57): [True: 749, False: 2.49k]
  ------------------
 8058|    749|                                                        s.append(",f16vec");
 8059|  2.49k|                                                    else
 8060|  2.49k|                                                        s.append(",vec");
 8061|  3.24k|                                                    s.append(postfixes[dimMap[sampler.dim]]);
 8062|  3.24k|                                                }
 8063|  4.08k|                                            }
 8064|       |                                            // offset
 8065|  12.2k|                                            if (offset) {
  ------------------
  |  Branch (8065:49): [True: 5.20k, False: 7.05k]
  ------------------
 8066|  5.20k|                                                if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (8066:53): [True: 1.36k, False: 3.84k]
  ------------------
 8067|  1.36k|                                                    s.append(",int");
 8068|  3.84k|                                                else {
 8069|  3.84k|                                                    s.append(",ivec");
 8070|  3.84k|                                                    s.append(postfixes[dimMap[sampler.dim]]);
 8071|  3.84k|                                                }
 8072|  5.20k|                                            }
 8073|       |
 8074|       |                                            // lod clamp
 8075|  12.2k|                                            if (lodClamp) {
  ------------------
  |  Branch (8075:49): [True: 3.43k, False: 8.83k]
  ------------------
 8076|  3.43k|                                                if (f16TexAddr)
  ------------------
  |  Branch (8076:53): [True: 826, False: 2.60k]
  ------------------
 8077|    826|                                                    s.append(",float16_t");
 8078|  2.60k|                                                else
 8079|  2.60k|                                                    s.append(",float");
 8080|  3.43k|                                            }
 8081|       |                                            // texel out (for sparse texture)
 8082|  12.2k|                                            if (sparse) {
  ------------------
  |  Branch (8082:49): [True: 3.76k, False: 8.50k]
  ------------------
 8083|  3.76k|                                                s.append(",out ");
 8084|  3.76k|                                                if (sampler.shadow)
  ------------------
  |  Branch (8084:53): [True: 840, False: 2.92k]
  ------------------
 8085|    840|                                                    if (sampler.type == EbtFloat16)
  ------------------
  |  Branch (8085:57): [True: 560, False: 280]
  ------------------
 8086|    560|                                                        s.append("float16_t");
 8087|    280|                                                    else
 8088|    280|                                                        s.append("float");
 8089|  2.92k|                                                else {
 8090|  2.92k|                                                    s.append(prefixes[sampler.type]);
 8091|  2.92k|                                                    s.append("vec4");
 8092|  2.92k|                                                }
 8093|  3.76k|                                            }
 8094|       |                                            // optional bias
 8095|  12.2k|                                            if (bias) {
  ------------------
  |  Branch (8095:49): [True: 2.25k, False: 10.0k]
  ------------------
 8096|  2.25k|                                                if (f16TexAddr)
  ------------------
  |  Branch (8096:53): [True: 518, False: 1.73k]
  ------------------
 8097|    518|                                                    s.append(",float16_t");
 8098|  1.73k|                                                else
 8099|  1.73k|                                                    s.append(",float");
 8100|  2.25k|                                            }
 8101|  12.2k|                                            s.append(");\n");
 8102|       |
 8103|       |                                            // Add to the per-language set of built-ins
 8104|  12.2k|                                            if (!grad && (bias || lodClamp != 0)) {
  ------------------
  |  Branch (8104:49): [True: 8.18k, False: 4.08k]
  |  Branch (8104:59): [True: 2.25k, False: 5.92k]
  |  Branch (8104:67): [True: 1.26k, False: 4.66k]
  ------------------
 8105|  3.51k|                                                stageBuiltins[EShLangFragment].append(s);
 8106|  3.51k|                                                stageBuiltins[EShLangCompute].append(s);
 8107|  3.51k|                                            } else
 8108|  8.74k|                                                commonBuiltins.append(s);
 8109|       |
 8110|  12.2k|                                        }
 8111|  8.50k|                                    }
 8112|  6.45k|                                }
 8113|  5.00k|                            }
 8114|  4.19k|                        }
 8115|  2.87k|                    }
 8116|  2.32k|                }
 8117|  1.31k|            }
 8118|    954|        }
 8119|    604|    }
 8120|    450|}
_ZN7glslang9TBuiltIns18addGatherFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 8129|    406|{
 8130|    406|    switch (sampler.dim) {
 8131|    140|    case Esd2D:
  ------------------
  |  Branch (8131:5): [True: 140, False: 266]
  ------------------
 8132|    182|    case EsdRect:
  ------------------
  |  Branch (8132:5): [True: 42, False: 364]
  ------------------
 8133|    266|    case EsdCube:
  ------------------
  |  Branch (8133:5): [True: 84, False: 322]
  ------------------
 8134|    266|        break;
 8135|    140|    default:
  ------------------
  |  Branch (8135:5): [True: 140, False: 266]
  ------------------
 8136|    140|        return;
 8137|    406|    }
 8138|       |
 8139|    266|    if (sampler.isMultiSample())
  ------------------
  |  Branch (8139:9): [True: 56, False: 210]
  ------------------
 8140|     56|        return;
 8141|       |
 8142|    210|    if (version < 140 && sampler.dim == EsdRect && sampler.type != EbtFloat)
  ------------------
  |  Branch (8142:9): [True: 0, False: 210]
  |  Branch (8142:26): [True: 0, False: 0]
  |  Branch (8142:52): [True: 0, False: 0]
  ------------------
 8143|      0|        return;
 8144|       |
 8145|    630|    for (int f16TexAddr = 0; f16TexAddr <= 1; ++f16TexAddr) { // loop over 16-bit floating-point texel addressing
  ------------------
  |  Branch (8145:30): [True: 420, False: 210]
  ------------------
 8146|       |
 8147|    420|        if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (8147:13): [True: 210, False: 210]
  |  Branch (8147:27): [True: 140, False: 70]
  ------------------
 8148|    140|            continue;
 8149|  1.12k|        for (int offset = 0; offset < 3; ++offset) { // loop over three forms of offset in the call name:  none, Offset, and Offsets
  ------------------
  |  Branch (8149:30): [True: 840, False: 280]
  ------------------
 8150|       |
 8151|  2.52k|            for (int comp = 0; comp < 2; ++comp) { // loop over presence of comp argument
  ------------------
  |  Branch (8151:32): [True: 1.68k, False: 840]
  ------------------
 8152|       |
 8153|  1.68k|                if (comp > 0 && sampler.shadow)
  ------------------
  |  Branch (8153:21): [True: 840, False: 840]
  |  Branch (8153:33): [True: 315, False: 525]
  ------------------
 8154|    315|                    continue;
 8155|       |
 8156|  1.36k|                if (offset > 0 && sampler.dim == EsdCube)
  ------------------
  |  Branch (8156:21): [True: 910, False: 455]
  |  Branch (8156:35): [True: 364, False: 546]
  ------------------
 8157|    364|                    continue;
 8158|       |
 8159|  3.00k|                for (int sparse = 0; sparse <= 1; ++sparse) { // loop over "bool" sparse or not
  ------------------
  |  Branch (8159:38): [True: 2.00k, False: 1.00k]
  ------------------
 8160|  2.00k|                    if (sparse && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8160:25): [True: 1.00k, False: 1.00k]
  |  Branch (8160:36): [True: 0, False: 1.00k]
  |  Branch (8160:61): [True: 0, False: 1.00k]
  ------------------
 8161|      0|                        continue;
 8162|       |
 8163|  2.00k|                    TString s;
 8164|       |
 8165|       |                    // return type
 8166|  2.00k|                    if (sparse)
  ------------------
  |  Branch (8166:25): [True: 1.00k, False: 1.00k]
  ------------------
 8167|  1.00k|                        s.append("int ");
 8168|  1.00k|                    else {
 8169|  1.00k|                        s.append(prefixes[sampler.type]);
 8170|  1.00k|                        s.append("vec4 ");
 8171|  1.00k|                    }
 8172|       |
 8173|       |                    // name
 8174|  2.00k|                    if (sparse)
  ------------------
  |  Branch (8174:25): [True: 1.00k, False: 1.00k]
  ------------------
 8175|  1.00k|                        s.append("sparseTextureGather");
 8176|  1.00k|                    else
 8177|  1.00k|                        s.append("textureGather");
 8178|  2.00k|                    switch (offset) {
 8179|    546|                    case 1:
  ------------------
  |  Branch (8179:21): [True: 546, False: 1.45k]
  ------------------
 8180|    546|                        s.append("Offset");
 8181|    546|                        break;
 8182|    546|                    case 2:
  ------------------
  |  Branch (8182:21): [True: 546, False: 1.45k]
  ------------------
 8183|    546|                        s.append("Offsets");
 8184|    546|                        break;
 8185|    910|                    default:
  ------------------
  |  Branch (8185:21): [True: 910, False: 1.09k]
  ------------------
 8186|    910|                        break;
 8187|  2.00k|                    }
 8188|  2.00k|                    if (sparse)
  ------------------
  |  Branch (8188:25): [True: 1.00k, False: 1.00k]
  ------------------
 8189|  1.00k|                        s.append("ARB");
 8190|  2.00k|                    s.append("(");
 8191|       |
 8192|       |                    // sampler type argument
 8193|  2.00k|                    s.append(typeName);
 8194|       |
 8195|       |                    // P coordinate argument
 8196|  2.00k|                    if (f16TexAddr)
  ------------------
  |  Branch (8196:25): [True: 462, False: 1.54k]
  ------------------
 8197|    462|                        s.append(",f16vec");
 8198|  1.54k|                    else
 8199|  1.54k|                        s.append(",vec");
 8200|  2.00k|                    int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8200:60): [True: 728, False: 1.27k]
  ------------------
 8201|  2.00k|                    s.append(postfixes[totalDims]);
 8202|       |
 8203|       |                    // refZ argument
 8204|  2.00k|                    if (sampler.shadow)
  ------------------
  |  Branch (8204:25): [True: 462, False: 1.54k]
  ------------------
 8205|    462|                        s.append(",float");
 8206|       |
 8207|       |                    // offset argument
 8208|  2.00k|                    if (offset > 0) {
  ------------------
  |  Branch (8208:25): [True: 1.09k, False: 910]
  ------------------
 8209|  1.09k|                        s.append(",ivec2");
 8210|  1.09k|                        if (offset == 2)
  ------------------
  |  Branch (8210:29): [True: 546, False: 546]
  ------------------
 8211|    546|                            s.append("[4]");
 8212|  1.09k|                    }
 8213|       |
 8214|       |                    // texel out (for sparse texture)
 8215|  2.00k|                    if (sparse) {
  ------------------
  |  Branch (8215:25): [True: 1.00k, False: 1.00k]
  ------------------
 8216|  1.00k|                        s.append(",out ");
 8217|  1.00k|                        s.append(prefixes[sampler.type]);
 8218|  1.00k|                        s.append("vec4 ");
 8219|  1.00k|                    }
 8220|       |
 8221|       |                    // comp argument
 8222|  2.00k|                    if (comp)
  ------------------
  |  Branch (8222:25): [True: 770, False: 1.23k]
  ------------------
 8223|    770|                        s.append(",int");
 8224|       |
 8225|  2.00k|                    s.append(");\n");
 8226|  2.00k|                    commonBuiltins.append(s);
 8227|  2.00k|                }
 8228|  1.00k|            }
 8229|    840|        }
 8230|    280|    }
 8231|       |
 8232|    210|    if (sampler.dim == EsdRect || sampler.shadow)
  ------------------
  |  Branch (8232:9): [True: 42, False: 168]
  |  Branch (8232:35): [True: 56, False: 112]
  ------------------
 8233|     98|        return;
 8234|       |
 8235|    112|    if (profile == EEsProfile || version < 450)
  ------------------
  |  Branch (8235:9): [True: 0, False: 112]
  |  Branch (8235:34): [True: 0, False: 112]
  ------------------
 8236|      0|        return;
 8237|       |
 8238|    336|    for (int bias = 0; bias < 2; ++bias) { // loop over presence of bias argument
  ------------------
  |  Branch (8238:24): [True: 224, False: 112]
  ------------------
 8239|       |
 8240|    672|        for (int lod = 0; lod < 2; ++lod) { // loop over presence of lod argument
  ------------------
  |  Branch (8240:27): [True: 448, False: 224]
  ------------------
 8241|       |
 8242|    448|            if ((lod && bias) || (lod == 0 && bias == 0))
  ------------------
  |  Branch (8242:18): [True: 224, False: 224]
  |  Branch (8242:25): [True: 112, False: 112]
  |  Branch (8242:35): [True: 224, False: 112]
  |  Branch (8242:47): [True: 112, False: 112]
  ------------------
 8243|    224|                continue;
 8244|       |
 8245|    672|            for (int f16TexAddr = 0; f16TexAddr <= 1; ++f16TexAddr) { // loop over 16-bit floating-point texel addressing
  ------------------
  |  Branch (8245:38): [True: 448, False: 224]
  ------------------
 8246|       |
 8247|    448|                if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (8247:21): [True: 224, False: 224]
  |  Branch (8247:35): [True: 168, False: 56]
  ------------------
 8248|    168|                    continue;
 8249|       |
 8250|  1.12k|                for (int offset = 0; offset < 3; ++offset) { // loop over three forms of offset in the call name:  none, Offset, and Offsets
  ------------------
  |  Branch (8250:38): [True: 840, False: 280]
  ------------------
 8251|       |
 8252|  2.52k|                    for (int comp = 0; comp < 2; ++comp) { // loop over presence of comp argument
  ------------------
  |  Branch (8252:40): [True: 1.68k, False: 840]
  ------------------
 8253|       |
 8254|  1.68k|                        if (comp == 0 && bias)
  ------------------
  |  Branch (8254:29): [True: 840, False: 840]
  |  Branch (8254:42): [True: 420, False: 420]
  ------------------
 8255|    420|                            continue;
 8256|       |
 8257|  1.26k|                        if (offset > 0 && sampler.dim == EsdCube)
  ------------------
  |  Branch (8257:29): [True: 840, False: 420]
  |  Branch (8257:43): [True: 420, False: 420]
  ------------------
 8258|    420|                            continue;
 8259|       |
 8260|  2.52k|                        for (int sparse = 0; sparse <= 1; ++sparse) { // loop over "bool" sparse or not
  ------------------
  |  Branch (8260:46): [True: 1.68k, False: 840]
  ------------------
 8261|  1.68k|                            if (sparse && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8261:33): [True: 840, False: 840]
  |  Branch (8261:44): [True: 0, False: 840]
  |  Branch (8261:69): [True: 0, False: 840]
  ------------------
 8262|      0|                                continue;
 8263|       |
 8264|  1.68k|                            TString s;
 8265|       |
 8266|       |                            // return type
 8267|  1.68k|                            if (sparse)
  ------------------
  |  Branch (8267:33): [True: 840, False: 840]
  ------------------
 8268|    840|                                s.append("int ");
 8269|    840|                            else {
 8270|    840|                                s.append(prefixes[sampler.type]);
 8271|    840|                                s.append("vec4 ");
 8272|    840|                            }
 8273|       |
 8274|       |                            // name
 8275|  1.68k|                            if (sparse)
  ------------------
  |  Branch (8275:33): [True: 840, False: 840]
  ------------------
 8276|    840|                                s.append("sparseTextureGather");
 8277|    840|                            else
 8278|    840|                                s.append("textureGather");
 8279|       |
 8280|  1.68k|                            if (lod)
  ------------------
  |  Branch (8280:33): [True: 1.12k, False: 560]
  ------------------
 8281|  1.12k|                                s.append("Lod");
 8282|       |
 8283|  1.68k|                            switch (offset) {
 8284|    420|                            case 1:
  ------------------
  |  Branch (8284:29): [True: 420, False: 1.26k]
  ------------------
 8285|    420|                                s.append("Offset");
 8286|    420|                                break;
 8287|    420|                            case 2:
  ------------------
  |  Branch (8287:29): [True: 420, False: 1.26k]
  ------------------
 8288|    420|                                s.append("Offsets");
 8289|    420|                                break;
 8290|    840|                            default:
  ------------------
  |  Branch (8290:29): [True: 840, False: 840]
  ------------------
 8291|    840|                                break;
 8292|  1.68k|                            }
 8293|       |
 8294|  1.68k|                            if (lod)
  ------------------
  |  Branch (8294:33): [True: 1.12k, False: 560]
  ------------------
 8295|  1.12k|                                s.append("AMD");
 8296|    560|                            else if (sparse)
  ------------------
  |  Branch (8296:38): [True: 280, False: 280]
  ------------------
 8297|    280|                                s.append("ARB");
 8298|       |
 8299|  1.68k|                            s.append("(");
 8300|       |
 8301|       |                            // sampler type argument
 8302|  1.68k|                            s.append(typeName);
 8303|       |
 8304|       |                            // P coordinate argument
 8305|  1.68k|                            if (f16TexAddr)
  ------------------
  |  Branch (8305:33): [True: 336, False: 1.34k]
  ------------------
 8306|    336|                                s.append(",f16vec");
 8307|  1.34k|                            else
 8308|  1.34k|                                s.append(",vec");
 8309|  1.68k|                            int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8309:68): [True: 840, False: 840]
  ------------------
 8310|  1.68k|                            s.append(postfixes[totalDims]);
 8311|       |
 8312|       |                            // lod argument
 8313|  1.68k|                            if (lod) {
  ------------------
  |  Branch (8313:33): [True: 1.12k, False: 560]
  ------------------
 8314|  1.12k|                                if (f16TexAddr)
  ------------------
  |  Branch (8314:37): [True: 224, False: 896]
  ------------------
 8315|    224|                                    s.append(",float16_t");
 8316|    896|                                else
 8317|    896|                                    s.append(",float");
 8318|  1.12k|                            }
 8319|       |
 8320|       |                            // offset argument
 8321|  1.68k|                            if (offset > 0) {
  ------------------
  |  Branch (8321:33): [True: 840, False: 840]
  ------------------
 8322|    840|                                s.append(",ivec2");
 8323|    840|                                if (offset == 2)
  ------------------
  |  Branch (8323:37): [True: 420, False: 420]
  ------------------
 8324|    420|                                    s.append("[4]");
 8325|    840|                            }
 8326|       |
 8327|       |                            // texel out (for sparse texture)
 8328|  1.68k|                            if (sparse) {
  ------------------
  |  Branch (8328:33): [True: 840, False: 840]
  ------------------
 8329|    840|                                s.append(",out ");
 8330|    840|                                s.append(prefixes[sampler.type]);
 8331|    840|                                s.append("vec4 ");
 8332|    840|                            }
 8333|       |
 8334|       |                            // comp argument
 8335|  1.68k|                            if (comp)
  ------------------
  |  Branch (8335:33): [True: 1.12k, False: 560]
  ------------------
 8336|  1.12k|                                s.append(",int");
 8337|       |
 8338|       |                            // bias argument
 8339|  1.68k|                            if (bias) {
  ------------------
  |  Branch (8339:33): [True: 560, False: 1.12k]
  ------------------
 8340|    560|                                if (f16TexAddr)
  ------------------
  |  Branch (8340:37): [True: 112, False: 448]
  ------------------
 8341|    112|                                    s.append(",float16_t");
 8342|    448|                                else
 8343|    448|                                    s.append(",float");
 8344|    560|                            }
 8345|       |
 8346|  1.68k|                            s.append(");\n");
 8347|  1.68k|                            if (bias) {
  ------------------
  |  Branch (8347:33): [True: 560, False: 1.12k]
  ------------------
 8348|    560|                                stageBuiltins[EShLangFragment].append(s);
 8349|    560|                                stageBuiltins[EShLangCompute].append(s);
 8350|    560|                                stageBuiltins[EShLangTask].append(s);
 8351|    560|                                stageBuiltins[EShLangMesh].append(s);
 8352|    560|                            } else
 8353|  1.12k|                                commonBuiltins.append(s);
 8354|  1.68k|                        }
 8355|    840|                    }
 8356|    840|                }
 8357|    280|            }
 8358|    224|        }
 8359|    224|    }
 8360|    112|}
_ZN7glslang9TBuiltIns10initializeERK16TBuiltInResourcei8EProfileRKNS_10SpvVersionE11EShLanguage:
 8370|     45|{
 8371|       |    //
 8372|       |    // Initialize the context-dependent (resource-dependent) built-in strings for parsing.
 8373|       |    //
 8374|       |
 8375|       |    //============================================================================
 8376|       |    //
 8377|       |    // Standard Uniforms
 8378|       |    //
 8379|       |    //============================================================================
 8380|       |
 8381|     45|    TString& s = commonBuiltins;
 8382|     45|    const int maxSize = 200;
 8383|     45|    char builtInConstant[maxSize];
 8384|       |
 8385|       |    //
 8386|       |    // Build string of implementation dependent constants.
 8387|       |    //
 8388|       |
 8389|     45|    if (profile == EEsProfile) {
  ------------------
  |  Branch (8389:9): [True: 39, False: 6]
  ------------------
 8390|     39|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexAttribs = %d;", resources.maxVertexAttribs);
 8391|     39|        s.append(builtInConstant);
 8392|       |
 8393|     39|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexUniformVectors = %d;", resources.maxVertexUniformVectors);
 8394|     39|        s.append(builtInConstant);
 8395|       |
 8396|     39|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexTextureImageUnits = %d;", resources.maxVertexTextureImageUnits);
 8397|     39|        s.append(builtInConstant);
 8398|       |
 8399|     39|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxCombinedTextureImageUnits = %d;", resources.maxCombinedTextureImageUnits);
 8400|     39|        s.append(builtInConstant);
 8401|       |
 8402|     39|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxTextureImageUnits = %d;", resources.maxTextureImageUnits);
 8403|     39|        s.append(builtInConstant);
 8404|       |
 8405|     39|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxFragmentUniformVectors = %d;", resources.maxFragmentUniformVectors);
 8406|     39|        s.append(builtInConstant);
 8407|       |
 8408|     39|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxDrawBuffers = %d;", resources.maxDrawBuffers);
 8409|     39|        s.append(builtInConstant);
 8410|       |
 8411|     39|        if (version == 100) {
  ------------------
  |  Branch (8411:13): [True: 39, False: 0]
  ------------------
 8412|     39|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVaryingVectors = %d;", resources.maxVaryingVectors);
 8413|     39|            s.append(builtInConstant);
 8414|     39|        } else {
 8415|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexOutputVectors = %d;", resources.maxVertexOutputVectors);
 8416|      0|            s.append(builtInConstant);
 8417|       |
 8418|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxFragmentInputVectors = %d;", resources.maxFragmentInputVectors);
 8419|      0|            s.append(builtInConstant);
 8420|       |
 8421|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MinProgramTexelOffset = %d;", resources.minProgramTexelOffset);
 8422|      0|            s.append(builtInConstant);
 8423|       |
 8424|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxProgramTexelOffset = %d;", resources.maxProgramTexelOffset);
 8425|      0|            s.append(builtInConstant);
 8426|      0|        }
 8427|       |
 8428|     39|        if (version >= 310) {
  ------------------
  |  Branch (8428:13): [True: 0, False: 39]
  ------------------
 8429|       |            // geometry
 8430|       |
 8431|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryInputComponents = %d;", resources.maxGeometryInputComponents);
 8432|      0|            s.append(builtInConstant);
 8433|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputComponents = %d;", resources.maxGeometryOutputComponents);
 8434|      0|            s.append(builtInConstant);
 8435|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryImageUniforms = %d;", resources.maxGeometryImageUniforms);
 8436|      0|            s.append(builtInConstant);
 8437|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTextureImageUnits = %d;", resources.maxGeometryTextureImageUnits);
 8438|      0|            s.append(builtInConstant);
 8439|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputVertices = %d;", resources.maxGeometryOutputVertices);
 8440|      0|            s.append(builtInConstant);
 8441|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTotalOutputComponents = %d;", resources.maxGeometryTotalOutputComponents);
 8442|      0|            s.append(builtInConstant);
 8443|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryUniformComponents = %d;", resources.maxGeometryUniformComponents);
 8444|      0|            s.append(builtInConstant);
 8445|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounters = %d;", resources.maxGeometryAtomicCounters);
 8446|      0|            s.append(builtInConstant);
 8447|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounterBuffers = %d;", resources.maxGeometryAtomicCounterBuffers);
 8448|      0|            s.append(builtInConstant);
 8449|       |
 8450|       |            // tessellation
 8451|       |
 8452|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlInputComponents = %d;", resources.maxTessControlInputComponents);
 8453|      0|            s.append(builtInConstant);
 8454|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlOutputComponents = %d;", resources.maxTessControlOutputComponents);
 8455|      0|            s.append(builtInConstant);
 8456|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTextureImageUnits = %d;", resources.maxTessControlTextureImageUnits);
 8457|      0|            s.append(builtInConstant);
 8458|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlUniformComponents = %d;", resources.maxTessControlUniformComponents);
 8459|      0|            s.append(builtInConstant);
 8460|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTotalOutputComponents = %d;", resources.maxTessControlTotalOutputComponents);
 8461|      0|            s.append(builtInConstant);
 8462|       |
 8463|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationInputComponents = %d;", resources.maxTessEvaluationInputComponents);
 8464|      0|            s.append(builtInConstant);
 8465|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationOutputComponents = %d;", resources.maxTessEvaluationOutputComponents);
 8466|      0|            s.append(builtInConstant);
 8467|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationTextureImageUnits = %d;", resources.maxTessEvaluationTextureImageUnits);
 8468|      0|            s.append(builtInConstant);
 8469|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationUniformComponents = %d;", resources.maxTessEvaluationUniformComponents);
 8470|      0|            s.append(builtInConstant);
 8471|       |
 8472|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessPatchComponents = %d;", resources.maxTessPatchComponents);
 8473|      0|            s.append(builtInConstant);
 8474|       |
 8475|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxPatchVertices = %d;", resources.maxPatchVertices);
 8476|      0|            s.append(builtInConstant);
 8477|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessGenLevel = %d;", resources.maxTessGenLevel);
 8478|      0|            s.append(builtInConstant);
 8479|       |
 8480|       |            // this is here instead of with the others in initialize(version, profile) due to the dependence on gl_MaxPatchVertices
 8481|      0|            if (language == EShLangTessControl || language == EShLangTessEvaluation) {
  ------------------
  |  Branch (8481:17): [True: 0, False: 0]
  |  Branch (8481:51): [True: 0, False: 0]
  ------------------
 8482|      0|                s.append(
 8483|      0|                    "in gl_PerVertex {"
 8484|      0|                        "highp vec4 gl_Position;"
 8485|      0|                        "highp float gl_PointSize;"
 8486|      0|                        "highp vec4 gl_SecondaryPositionNV;"  // GL_NV_stereo_view_rendering
 8487|      0|                        "highp vec4 gl_PositionPerViewNV[];"  // GL_NVX_multiview_per_view_attributes
 8488|      0|                    "} gl_in[gl_MaxPatchVertices];"
 8489|      0|                    "\n");
 8490|      0|            }
 8491|      0|        }
 8492|       |
 8493|     39|        if (version >= 320) {
  ------------------
  |  Branch (8493:13): [True: 0, False: 39]
  ------------------
 8494|       |            // tessellation
 8495|       |
 8496|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlImageUniforms = %d;", resources.maxTessControlImageUniforms);
 8497|      0|            s.append(builtInConstant);
 8498|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationImageUniforms = %d;", resources.maxTessEvaluationImageUniforms);
 8499|      0|            s.append(builtInConstant);
 8500|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounters = %d;", resources.maxTessControlAtomicCounters);
 8501|      0|            s.append(builtInConstant);
 8502|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounters = %d;", resources.maxTessEvaluationAtomicCounters);
 8503|      0|            s.append(builtInConstant);
 8504|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounterBuffers = %d;", resources.maxTessControlAtomicCounterBuffers);
 8505|      0|            s.append(builtInConstant);
 8506|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounterBuffers = %d;", resources.maxTessEvaluationAtomicCounterBuffers);
 8507|      0|            s.append(builtInConstant);
 8508|      0|        }
 8509|       |
 8510|     39|        if (version >= 100) {
  ------------------
  |  Branch (8510:13): [True: 39, False: 0]
  ------------------
 8511|       |            // GL_EXT_blend_func_extended
 8512|     39|            snprintf(builtInConstant, maxSize, "const mediump int gl_MaxDualSourceDrawBuffersEXT = %d;", resources.maxDualSourceDrawBuffersEXT);
 8513|     39|            s.append(builtInConstant);
 8514|       |            // this is here instead of with the others in initialize(version, profile) due to the dependence on gl_MaxDualSourceDrawBuffersEXT
 8515|     39|            if (language == EShLangFragment) {
  ------------------
  |  Branch (8515:17): [True: 0, False: 39]
  ------------------
 8516|      0|                s.append(
 8517|      0|                    "mediump vec4 gl_SecondaryFragColorEXT;"
 8518|      0|                    "mediump vec4 gl_SecondaryFragDataEXT[gl_MaxDualSourceDrawBuffersEXT];"
 8519|      0|                    "\n");
 8520|      0|            }
 8521|     39|        }
 8522|     39|    } else {
 8523|       |        // non-ES profile
 8524|       |
 8525|      6|        if (version > 400) {
  ------------------
  |  Branch (8525:13): [True: 6, False: 0]
  ------------------
 8526|      6|            snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexUniformVectors = %d;", resources.maxVertexUniformVectors);
 8527|      6|            s.append(builtInConstant);
 8528|       |
 8529|      6|            snprintf(builtInConstant, maxSize, "const int  gl_MaxFragmentUniformVectors = %d;", resources.maxFragmentUniformVectors);
 8530|      6|            s.append(builtInConstant);
 8531|       |
 8532|      6|            snprintf(builtInConstant, maxSize, "const int  gl_MaxVaryingVectors = %d;", resources.maxVaryingVectors);
 8533|      6|            s.append(builtInConstant);
 8534|      6|        }
 8535|       |
 8536|      6|        snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexAttribs = %d;", resources.maxVertexAttribs);
 8537|      6|        s.append(builtInConstant);
 8538|       |
 8539|      6|        snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexTextureImageUnits = %d;", resources.maxVertexTextureImageUnits);
 8540|      6|        s.append(builtInConstant);
 8541|       |
 8542|      6|        snprintf(builtInConstant, maxSize, "const int  gl_MaxCombinedTextureImageUnits = %d;", resources.maxCombinedTextureImageUnits);
 8543|      6|        s.append(builtInConstant);
 8544|       |
 8545|      6|        snprintf(builtInConstant, maxSize, "const int  gl_MaxTextureImageUnits = %d;", resources.maxTextureImageUnits);
 8546|      6|        s.append(builtInConstant);
 8547|       |
 8548|      6|        snprintf(builtInConstant, maxSize, "const int  gl_MaxDrawBuffers = %d;", resources.maxDrawBuffers);
 8549|      6|        s.append(builtInConstant);
 8550|       |
 8551|      6|        snprintf(builtInConstant, maxSize, "const int  gl_MaxLights = %d;", resources.maxLights);
 8552|      6|        s.append(builtInConstant);
 8553|       |
 8554|      6|        snprintf(builtInConstant, maxSize, "const int  gl_MaxClipPlanes = %d;", resources.maxClipPlanes);
 8555|      6|        s.append(builtInConstant);
 8556|       |
 8557|      6|        snprintf(builtInConstant, maxSize, "const int  gl_MaxTextureUnits = %d;", resources.maxTextureUnits);
 8558|      6|        s.append(builtInConstant);
 8559|       |
 8560|      6|        snprintf(builtInConstant, maxSize, "const int  gl_MaxTextureCoords = %d;", resources.maxTextureCoords);
 8561|      6|        s.append(builtInConstant);
 8562|       |
 8563|      6|        snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexUniformComponents = %d;", resources.maxVertexUniformComponents);
 8564|      6|        s.append(builtInConstant);
 8565|       |
 8566|       |        // Moved from just being deprecated into compatibility profile only as of 4.20
 8567|      6|        if (version < 420 || profile == ECompatibilityProfile) {
  ------------------
  |  Branch (8567:13): [True: 0, False: 6]
  |  Branch (8567:30): [True: 0, False: 6]
  ------------------
 8568|      0|            snprintf(builtInConstant, maxSize, "const int  gl_MaxVaryingFloats = %d;", resources.maxVaryingFloats);
 8569|      0|            s.append(builtInConstant);
 8570|      0|        }
 8571|       |
 8572|      6|        snprintf(builtInConstant, maxSize, "const int  gl_MaxFragmentUniformComponents = %d;", resources.maxFragmentUniformComponents);
 8573|      6|        s.append(builtInConstant);
 8574|       |
 8575|      6|        if (spvVersion.spv == 0 && IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (8575:13): [True: 6, False: 0]
  |  Branch (8575:36): [True: 0, False: 6]
  ------------------
 8576|       |            //
 8577|       |            // OpenGL'uniform' state.  Page numbers are in reference to version
 8578|       |            // 1.4 of the OpenGL specification.
 8579|       |            //
 8580|       |
 8581|       |            //
 8582|       |            // Matrix state. p. 31, 32, 37, 39, 40.
 8583|       |            //
 8584|      0|            s.append("uniform mat4  gl_TextureMatrix[gl_MaxTextureCoords];"
 8585|       |
 8586|       |            //
 8587|       |            // Derived matrix state that provides inverse and transposed versions
 8588|       |            // of the matrices above.
 8589|       |            //
 8590|      0|                        "uniform mat4  gl_TextureMatrixInverse[gl_MaxTextureCoords];"
 8591|       |
 8592|      0|                        "uniform mat4  gl_TextureMatrixTranspose[gl_MaxTextureCoords];"
 8593|       |
 8594|      0|                        "uniform mat4  gl_TextureMatrixInverseTranspose[gl_MaxTextureCoords];"
 8595|       |
 8596|       |            //
 8597|       |            // Clip planes p. 42.
 8598|       |            //
 8599|      0|                        "uniform vec4  gl_ClipPlane[gl_MaxClipPlanes];"
 8600|       |
 8601|       |            //
 8602|       |            // Light State p 50, 53, 55.
 8603|       |            //
 8604|      0|                        "uniform gl_LightSourceParameters  gl_LightSource[gl_MaxLights];"
 8605|       |
 8606|       |            //
 8607|       |            // Derived state from products of light.
 8608|       |            //
 8609|      0|                        "uniform gl_LightProducts gl_FrontLightProduct[gl_MaxLights];"
 8610|      0|                        "uniform gl_LightProducts gl_BackLightProduct[gl_MaxLights];"
 8611|       |
 8612|       |            //
 8613|       |            // Texture Environment and Generation, p. 152, p. 40-42.
 8614|       |            //
 8615|      0|                        "uniform vec4  gl_TextureEnvColor[gl_MaxTextureImageUnits];"
 8616|      0|                        "uniform vec4  gl_EyePlaneS[gl_MaxTextureCoords];"
 8617|      0|                        "uniform vec4  gl_EyePlaneT[gl_MaxTextureCoords];"
 8618|      0|                        "uniform vec4  gl_EyePlaneR[gl_MaxTextureCoords];"
 8619|      0|                        "uniform vec4  gl_EyePlaneQ[gl_MaxTextureCoords];"
 8620|      0|                        "uniform vec4  gl_ObjectPlaneS[gl_MaxTextureCoords];"
 8621|      0|                        "uniform vec4  gl_ObjectPlaneT[gl_MaxTextureCoords];"
 8622|      0|                        "uniform vec4  gl_ObjectPlaneR[gl_MaxTextureCoords];"
 8623|      0|                        "uniform vec4  gl_ObjectPlaneQ[gl_MaxTextureCoords];");
 8624|      0|        }
 8625|       |
 8626|      6|        if (version >= 130) {
  ------------------
  |  Branch (8626:13): [True: 6, False: 0]
  ------------------
 8627|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxClipDistances = %d;", resources.maxClipDistances);
 8628|      6|            s.append(builtInConstant);
 8629|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxVaryingComponents = %d;", resources.maxVaryingComponents);
 8630|      6|            s.append(builtInConstant);
 8631|       |
 8632|       |            // GL_ARB_shading_language_420pack
 8633|      6|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MinProgramTexelOffset = %d;", resources.minProgramTexelOffset);
 8634|      6|            s.append(builtInConstant);
 8635|      6|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxProgramTexelOffset = %d;", resources.maxProgramTexelOffset);
 8636|      6|            s.append(builtInConstant);
 8637|      6|        }
 8638|       |
 8639|       |        // geometry
 8640|      6|        if (version >= 150) {
  ------------------
  |  Branch (8640:13): [True: 6, False: 0]
  ------------------
 8641|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryInputComponents = %d;", resources.maxGeometryInputComponents);
 8642|      6|            s.append(builtInConstant);
 8643|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputComponents = %d;", resources.maxGeometryOutputComponents);
 8644|      6|            s.append(builtInConstant);
 8645|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTextureImageUnits = %d;", resources.maxGeometryTextureImageUnits);
 8646|      6|            s.append(builtInConstant);
 8647|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputVertices = %d;", resources.maxGeometryOutputVertices);
 8648|      6|            s.append(builtInConstant);
 8649|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTotalOutputComponents = %d;", resources.maxGeometryTotalOutputComponents);
 8650|      6|            s.append(builtInConstant);
 8651|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryUniformComponents = %d;", resources.maxGeometryUniformComponents);
 8652|      6|            s.append(builtInConstant);
 8653|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryVaryingComponents = %d;", resources.maxGeometryVaryingComponents);
 8654|      6|            s.append(builtInConstant);
 8655|       |
 8656|      6|        }
 8657|       |
 8658|      6|        if (version >= 150) {
  ------------------
  |  Branch (8658:13): [True: 6, False: 0]
  ------------------
 8659|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxVertexOutputComponents = %d;", resources.maxVertexOutputComponents);
 8660|      6|            s.append(builtInConstant);
 8661|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentInputComponents = %d;", resources.maxFragmentInputComponents);
 8662|      6|            s.append(builtInConstant);
 8663|      6|        }
 8664|       |
 8665|       |        // tessellation
 8666|      6|        if (version >= 150) {
  ------------------
  |  Branch (8666:13): [True: 6, False: 0]
  ------------------
 8667|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlInputComponents = %d;", resources.maxTessControlInputComponents);
 8668|      6|            s.append(builtInConstant);
 8669|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlOutputComponents = %d;", resources.maxTessControlOutputComponents);
 8670|      6|            s.append(builtInConstant);
 8671|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTextureImageUnits = %d;", resources.maxTessControlTextureImageUnits);
 8672|      6|            s.append(builtInConstant);
 8673|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlUniformComponents = %d;", resources.maxTessControlUniformComponents);
 8674|      6|            s.append(builtInConstant);
 8675|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTotalOutputComponents = %d;", resources.maxTessControlTotalOutputComponents);
 8676|      6|            s.append(builtInConstant);
 8677|       |
 8678|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationInputComponents = %d;", resources.maxTessEvaluationInputComponents);
 8679|      6|            s.append(builtInConstant);
 8680|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationOutputComponents = %d;", resources.maxTessEvaluationOutputComponents);
 8681|      6|            s.append(builtInConstant);
 8682|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationTextureImageUnits = %d;", resources.maxTessEvaluationTextureImageUnits);
 8683|      6|            s.append(builtInConstant);
 8684|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationUniformComponents = %d;", resources.maxTessEvaluationUniformComponents);
 8685|      6|            s.append(builtInConstant);
 8686|       |
 8687|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessPatchComponents = %d;", resources.maxTessPatchComponents);
 8688|      6|            s.append(builtInConstant);
 8689|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessGenLevel = %d;", resources.maxTessGenLevel);
 8690|      6|            s.append(builtInConstant);
 8691|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxPatchVertices = %d;", resources.maxPatchVertices);
 8692|      6|            s.append(builtInConstant);
 8693|       |
 8694|       |            // this is here instead of with the others in initialize(version, profile) due to the dependence on gl_MaxPatchVertices
 8695|      6|            if (language == EShLangTessControl || language == EShLangTessEvaluation) {
  ------------------
  |  Branch (8695:17): [True: 0, False: 6]
  |  Branch (8695:51): [True: 0, False: 6]
  ------------------
 8696|      0|                s.append(
 8697|      0|                    "in gl_PerVertex {"
 8698|      0|                        "vec4 gl_Position;"
 8699|      0|                        "float gl_PointSize;"
 8700|      0|                        "float gl_ClipDistance[];"
 8701|      0|                    );
 8702|      0|                if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (8702:21): [True: 0, False: 0]
  ------------------
 8703|      0|                    s.append(
 8704|      0|                        "vec4 gl_ClipVertex;"
 8705|      0|                        "vec4 gl_FrontColor;"
 8706|      0|                        "vec4 gl_BackColor;"
 8707|      0|                        "vec4 gl_FrontSecondaryColor;"
 8708|      0|                        "vec4 gl_BackSecondaryColor;"
 8709|      0|                        "vec4 gl_TexCoord[];"
 8710|      0|                        "float gl_FogFragCoord;"
 8711|      0|                        );
 8712|      0|                if (profile != EEsProfile && version >= 450)
  ------------------
  |  Branch (8712:21): [True: 0, False: 0]
  |  Branch (8712:46): [True: 0, False: 0]
  ------------------
 8713|      0|                    s.append(
 8714|      0|                        "float gl_CullDistance[];"
 8715|      0|                        "vec4 gl_SecondaryPositionNV;"  // GL_NV_stereo_view_rendering
 8716|      0|                        "vec4 gl_PositionPerViewNV[];"  // GL_NVX_multiview_per_view_attributes
 8717|      0|                       );
 8718|      0|                s.append(
 8719|      0|                    "} gl_in[gl_MaxPatchVertices];"
 8720|      0|                    "\n");
 8721|      0|            }
 8722|      6|        }
 8723|       |
 8724|      6|        if (version >= 150) {
  ------------------
  |  Branch (8724:13): [True: 6, False: 0]
  ------------------
 8725|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxViewports = %d;", resources.maxViewports);
 8726|      6|            s.append(builtInConstant);
 8727|      6|        }
 8728|       |
 8729|       |        // images
 8730|      6|        if (version >= 130) {
  ------------------
  |  Branch (8730:13): [True: 6, False: 0]
  ------------------
 8731|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedImageUnitsAndFragmentOutputs = %d;", resources.maxCombinedImageUnitsAndFragmentOutputs);
 8732|      6|            s.append(builtInConstant);
 8733|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxImageSamples = %d;", resources.maxImageSamples);
 8734|      6|            s.append(builtInConstant);
 8735|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlImageUniforms = %d;", resources.maxTessControlImageUniforms);
 8736|      6|            s.append(builtInConstant);
 8737|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationImageUniforms = %d;", resources.maxTessEvaluationImageUniforms);
 8738|      6|            s.append(builtInConstant);
 8739|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryImageUniforms = %d;", resources.maxGeometryImageUniforms);
 8740|      6|            s.append(builtInConstant);
 8741|      6|        }
 8742|       |
 8743|       |        // enhanced layouts
 8744|      6|        if (version >= 430) {
  ------------------
  |  Branch (8744:13): [True: 6, False: 0]
  ------------------
 8745|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxTransformFeedbackBuffers = %d;", resources.maxTransformFeedbackBuffers);
 8746|      6|            s.append(builtInConstant);
 8747|      6|            snprintf(builtInConstant, maxSize, "const int gl_MaxTransformFeedbackInterleavedComponents = %d;", resources.maxTransformFeedbackInterleavedComponents);
 8748|      6|            s.append(builtInConstant);
 8749|      6|        }
 8750|      6|    }
 8751|       |
 8752|       |    // compute
 8753|     45|    if ((profile == EEsProfile && version >= 310) || (profile != EEsProfile && version >= 420)) {
  ------------------
  |  Branch (8753:10): [True: 39, False: 6]
  |  Branch (8753:35): [True: 0, False: 39]
  |  Branch (8753:55): [True: 6, False: 39]
  |  Branch (8753:80): [True: 6, False: 0]
  ------------------
 8754|      6|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxComputeWorkGroupCount = ivec3(%d,%d,%d);", resources.maxComputeWorkGroupCountX,
 8755|      6|                                                                                                         resources.maxComputeWorkGroupCountY,
 8756|      6|                                                                                                         resources.maxComputeWorkGroupCountZ);
 8757|      6|        s.append(builtInConstant);
 8758|      6|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxComputeWorkGroupSize = ivec3(%d,%d,%d);", resources.maxComputeWorkGroupSizeX,
 8759|      6|                                                                                                        resources.maxComputeWorkGroupSizeY,
 8760|      6|                                                                                                        resources.maxComputeWorkGroupSizeZ);
 8761|      6|        s.append(builtInConstant);
 8762|       |
 8763|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeUniformComponents = %d;", resources.maxComputeUniformComponents);
 8764|      6|        s.append(builtInConstant);
 8765|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeTextureImageUnits = %d;", resources.maxComputeTextureImageUnits);
 8766|      6|        s.append(builtInConstant);
 8767|       |
 8768|       |        // GL_ARM_tensors operands.
 8769|      6|        snprintf(builtInConstant, maxSize, "const uint gl_TensorOperandsNonTemporalARM = 0x1U;");
 8770|      6|        s.append(builtInConstant);
 8771|      6|        snprintf(builtInConstant, maxSize, "const uint gl_TensorOperandsOutOfBoundsValueARM = 0x2U;");
 8772|      6|        s.append(builtInConstant);
 8773|       |
 8774|      6|        s.append("\n");
 8775|      6|    }
 8776|       |
 8777|       |    // images (some in compute below)
 8778|     45|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (8778:10): [True: 39, False: 6]
  |  Branch (8778:35): [True: 0, False: 39]
  ------------------
 8779|     45|        (profile != EEsProfile && version >= 130)) {
  ------------------
  |  Branch (8779:10): [True: 6, False: 39]
  |  Branch (8779:35): [True: 6, False: 0]
  ------------------
 8780|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxImageUnits = %d;", resources.maxImageUnits);
 8781|      6|        s.append(builtInConstant);
 8782|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedShaderOutputResources = %d;", resources.maxCombinedShaderOutputResources);
 8783|      6|        s.append(builtInConstant);
 8784|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxVertexImageUniforms = %d;", resources.maxVertexImageUniforms);
 8785|      6|        s.append(builtInConstant);
 8786|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentImageUniforms = %d;", resources.maxFragmentImageUniforms);
 8787|      6|        s.append(builtInConstant);
 8788|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedImageUniforms = %d;", resources.maxCombinedImageUniforms);
 8789|      6|        s.append(builtInConstant);
 8790|      6|    }
 8791|       |
 8792|       |    // compute
 8793|     45|    if ((profile == EEsProfile && version >= 310) || (profile != EEsProfile && version >= 420)) {
  ------------------
  |  Branch (8793:10): [True: 39, False: 6]
  |  Branch (8793:35): [True: 0, False: 39]
  |  Branch (8793:55): [True: 6, False: 39]
  |  Branch (8793:80): [True: 6, False: 0]
  ------------------
 8794|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeImageUniforms = %d;", resources.maxComputeImageUniforms);
 8795|      6|        s.append(builtInConstant);
 8796|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeAtomicCounters = %d;", resources.maxComputeAtomicCounters);
 8797|      6|        s.append(builtInConstant);
 8798|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeAtomicCounterBuffers = %d;", resources.maxComputeAtomicCounterBuffers);
 8799|      6|        s.append(builtInConstant);
 8800|       |
 8801|      6|        s.append("\n");
 8802|      6|    }
 8803|       |
 8804|       |    // atomic counters (some in compute below)
 8805|     45|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (8805:10): [True: 39, False: 6]
  |  Branch (8805:35): [True: 0, False: 39]
  ------------------
 8806|     45|        (profile != EEsProfile && version >= 420)) {
  ------------------
  |  Branch (8806:10): [True: 6, False: 39]
  |  Branch (8806:35): [True: 6, False: 0]
  ------------------
 8807|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxVertexAtomicCounters = %d;", resources.               maxVertexAtomicCounters);
 8808|      6|        s.append(builtInConstant);
 8809|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentAtomicCounters = %d;", resources.             maxFragmentAtomicCounters);
 8810|      6|        s.append(builtInConstant);
 8811|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedAtomicCounters = %d;", resources.             maxCombinedAtomicCounters);
 8812|      6|        s.append(builtInConstant);
 8813|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxAtomicCounterBindings = %d;", resources.              maxAtomicCounterBindings);
 8814|      6|        s.append(builtInConstant);
 8815|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxVertexAtomicCounterBuffers = %d;", resources.         maxVertexAtomicCounterBuffers);
 8816|      6|        s.append(builtInConstant);
 8817|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentAtomicCounterBuffers = %d;", resources.       maxFragmentAtomicCounterBuffers);
 8818|      6|        s.append(builtInConstant);
 8819|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedAtomicCounterBuffers = %d;", resources.       maxCombinedAtomicCounterBuffers);
 8820|      6|        s.append(builtInConstant);
 8821|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxAtomicCounterBufferSize = %d;", resources.            maxAtomicCounterBufferSize);
 8822|      6|        s.append(builtInConstant);
 8823|      6|    }
 8824|     45|    if (profile != EEsProfile && version >= 420) {
  ------------------
  |  Branch (8824:9): [True: 6, False: 39]
  |  Branch (8824:34): [True: 6, False: 0]
  ------------------
 8825|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounters = %d;", resources.          maxTessControlAtomicCounters);
 8826|      6|        s.append(builtInConstant);
 8827|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounters = %d;", resources.       maxTessEvaluationAtomicCounters);
 8828|      6|        s.append(builtInConstant);
 8829|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounters = %d;", resources.             maxGeometryAtomicCounters);
 8830|      6|        s.append(builtInConstant);
 8831|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounterBuffers = %d;", resources.    maxTessControlAtomicCounterBuffers);
 8832|      6|        s.append(builtInConstant);
 8833|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounterBuffers = %d;", resources. maxTessEvaluationAtomicCounterBuffers);
 8834|      6|        s.append(builtInConstant);
 8835|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounterBuffers = %d;", resources.       maxGeometryAtomicCounterBuffers);
 8836|      6|        s.append(builtInConstant);
 8837|       |
 8838|      6|        s.append("\n");
 8839|      6|    }
 8840|       |
 8841|       |    // GL_ARB_cull_distance
 8842|     45|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (8842:9): [True: 6, False: 39]
  |  Branch (8842:34): [True: 6, False: 0]
  ------------------
 8843|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxCullDistances = %d;",                resources.maxCullDistances);
 8844|      6|        s.append(builtInConstant);
 8845|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedClipAndCullDistances = %d;", resources.maxCombinedClipAndCullDistances);
 8846|      6|        s.append(builtInConstant);
 8847|      6|    }
 8848|       |
 8849|       |    // GL_ARB_ES3_1_compatibility
 8850|     45|    if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (8850:10): [True: 6, False: 39]
  |  Branch (8850:35): [True: 6, False: 0]
  ------------------
 8851|     39|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (8851:10): [True: 39, False: 0]
  |  Branch (8851:35): [True: 0, False: 39]
  ------------------
 8852|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxSamples = %d;", resources.maxSamples);
 8853|      6|        s.append(builtInConstant);
 8854|      6|    }
 8855|       |
 8856|       |    // SPV_NV_mesh_shader
 8857|     45|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (8857:10): [True: 6, False: 39]
  |  Branch (8857:35): [True: 6, False: 0]
  |  Branch (8857:55): [True: 39, False: 0]
  |  Branch (8857:80): [True: 0, False: 39]
  ------------------
 8858|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxMeshOutputVerticesNV = %d;", resources.maxMeshOutputVerticesNV);
 8859|      6|        s.append(builtInConstant);
 8860|       |
 8861|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxMeshOutputPrimitivesNV = %d;", resources.maxMeshOutputPrimitivesNV);
 8862|      6|        s.append(builtInConstant);
 8863|       |
 8864|      6|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxMeshWorkGroupSizeNV = ivec3(%d,%d,%d);", resources.maxMeshWorkGroupSizeX_NV,
 8865|      6|                                                                                                       resources.maxMeshWorkGroupSizeY_NV,
 8866|      6|                                                                                                       resources.maxMeshWorkGroupSizeZ_NV);
 8867|      6|        s.append(builtInConstant);
 8868|      6|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxTaskWorkGroupSizeNV = ivec3(%d,%d,%d);", resources.maxTaskWorkGroupSizeX_NV,
 8869|      6|                                                                                                       resources.maxTaskWorkGroupSizeY_NV,
 8870|      6|                                                                                                       resources.maxTaskWorkGroupSizeZ_NV);
 8871|      6|        s.append(builtInConstant);
 8872|       |
 8873|      6|        snprintf(builtInConstant, maxSize, "const int gl_MaxMeshViewCountNV = %d;", resources.maxMeshViewCountNV);
 8874|      6|        s.append(builtInConstant);
 8875|       |
 8876|      6|        s.append("\n");
 8877|      6|    }
 8878|       |
 8879|     45|    s.append("\n");
 8880|     45|}
_ZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableE:
 8979|    175|{
 8980|       |    //
 8981|       |    // Tag built-in variables and functions with additional qualifier and extension information
 8982|       |    // that cannot be declared with the text strings.
 8983|       |    //
 8984|       |
 8985|       |    // N.B.: a symbol should only be tagged once, and this function is called multiple times, once
 8986|       |    // per stage that's used for this profile.  So
 8987|       |    //  - generally, stick common ones in the fragment stage to ensure they are tagged exactly once
 8988|       |    //  - for ES, which has different precisions for different stages, the coarsest-grained tagging
 8989|       |    //    for a built-in used in many stages needs to be once for the fragment stage and once for
 8990|       |    //    the vertex stage
 8991|       |
 8992|    175|    switch(language) {
 8993|     46|    case EShLangVertex:
  ------------------
  |  Branch (8993:5): [True: 46, False: 129]
  ------------------
 8994|     46|        if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (8994:13): [True: 1, False: 45]
  ------------------
 8995|      1|            BuiltInVariable("gl_VertexIndex",   EbvVertexIndex,   symbolTable);
 8996|      1|            BuiltInVariable("gl_InstanceIndex", EbvInstanceIndex, symbolTable);
 8997|      1|        }
 8998|       |
 8999|     46|        if (spvVersion.vulkan == 0) {
  ------------------
  |  Branch (8999:13): [True: 45, False: 1]
  ------------------
 9000|     45|            SpecialQualifier("gl_VertexID",   EvqVertexId,   EbvVertexId,   symbolTable);
 9001|     45|            SpecialQualifier("gl_InstanceID", EvqInstanceId, EbvInstanceId, symbolTable);
 9002|     45|            if (version < 140)
  ------------------
  |  Branch (9002:17): [True: 39, False: 6]
  ------------------
 9003|     39|                symbolTable.setVariableExtensions("gl_InstanceID", 1, &E_GL_EXT_draw_instanced);
 9004|     45|        }
 9005|       |
 9006|     46|        if (spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (9006:13): [True: 1, False: 45]
  |  Branch (9006:38): [True: 0, False: 1]
  ------------------
 9007|       |            // treat these built-ins as aliases of VertexIndex and InstanceIndex
 9008|      0|            RetargetVariable("gl_InstanceID", "gl_InstanceIndex", symbolTable);
 9009|      0|            RetargetVariable("gl_VertexID", "gl_VertexIndex", symbolTable);
 9010|      0|        }
 9011|       |
 9012|     46|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9012:13): [True: 7, False: 39]
  ------------------
 9013|      7|            if (version >= 440) {
  ------------------
  |  Branch (9013:17): [True: 7, False: 0]
  ------------------
 9014|      7|                symbolTable.setVariableExtensions("gl_BaseVertexARB",   1, &E_GL_ARB_shader_draw_parameters);
 9015|      7|                symbolTable.setVariableExtensions("gl_BaseInstanceARB", 1, &E_GL_ARB_shader_draw_parameters);
 9016|      7|                symbolTable.setVariableExtensions("gl_DrawIDARB",       1, &E_GL_ARB_shader_draw_parameters);
 9017|      7|                BuiltInVariable("gl_BaseVertexARB",   EbvBaseVertex,   symbolTable);
 9018|      7|                BuiltInVariable("gl_BaseInstanceARB", EbvBaseInstance, symbolTable);
 9019|      7|                BuiltInVariable("gl_DrawIDARB",       EbvDrawId,       symbolTable);
 9020|      7|            }
 9021|      7|            if (version >= 460) {
  ------------------
  |  Branch (9021:17): [True: 0, False: 7]
  ------------------
 9022|      0|                BuiltInVariable("gl_BaseVertex",   EbvBaseVertex,   symbolTable);
 9023|      0|                BuiltInVariable("gl_BaseInstance", EbvBaseInstance, symbolTable);
 9024|      0|                BuiltInVariable("gl_DrawID",       EbvDrawId,       symbolTable);
 9025|      0|            }
 9026|      7|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
 9027|      7|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
 9028|      7|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
 9029|      7|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9030|      7|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9031|      7|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9032|      7|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9033|       |
 9034|      7|            symbolTable.setFunctionExtensions("ballotARB",              1, &E_GL_ARB_shader_ballot);
 9035|      7|            symbolTable.setFunctionExtensions("readInvocationARB",      1, &E_GL_ARB_shader_ballot);
 9036|      7|            symbolTable.setFunctionExtensions("readFirstInvocationARB", 1, &E_GL_ARB_shader_ballot);
 9037|       |
 9038|      7|            if (version >= 430) {
  ------------------
  |  Branch (9038:17): [True: 7, False: 0]
  ------------------
 9039|      7|                symbolTable.setFunctionExtensions("anyInvocationARB",       1, &E_GL_ARB_shader_group_vote);
 9040|      7|                symbolTable.setFunctionExtensions("allInvocationsARB",      1, &E_GL_ARB_shader_group_vote);
 9041|      7|                symbolTable.setFunctionExtensions("allInvocationsEqualARB", 1, &E_GL_ARB_shader_group_vote);
 9042|      7|            }
 9043|      7|            if (version >= 150) {
  ------------------
  |  Branch (9043:17): [True: 7, False: 0]
  ------------------
 9044|      7|                symbolTable.setFunctionExtensions("anyThreadNV",       1, &E_GL_NV_gpu_shader5);
 9045|      7|                symbolTable.setFunctionExtensions("allThreadsNV",      1, &E_GL_NV_gpu_shader5);
 9046|      7|                symbolTable.setFunctionExtensions("allThreadsEqualNV", 1, &E_GL_NV_gpu_shader5);
 9047|      7|            }
 9048|      7|        }
 9049|       |
 9050|       |
 9051|     46|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9051:13): [True: 7, False: 39]
  ------------------
 9052|      7|            symbolTable.setFunctionExtensions("minInvocationsAMD",                1, &E_GL_AMD_shader_ballot);
 9053|      7|            symbolTable.setFunctionExtensions("maxInvocationsAMD",                1, &E_GL_AMD_shader_ballot);
 9054|      7|            symbolTable.setFunctionExtensions("addInvocationsAMD",                1, &E_GL_AMD_shader_ballot);
 9055|      7|            symbolTable.setFunctionExtensions("minInvocationsNonUniformAMD",      1, &E_GL_AMD_shader_ballot);
 9056|      7|            symbolTable.setFunctionExtensions("maxInvocationsNonUniformAMD",      1, &E_GL_AMD_shader_ballot);
 9057|      7|            symbolTable.setFunctionExtensions("addInvocationsNonUniformAMD",      1, &E_GL_AMD_shader_ballot);
 9058|      7|            symbolTable.setFunctionExtensions("swizzleInvocationsAMD",            1, &E_GL_AMD_shader_ballot);
 9059|      7|            symbolTable.setFunctionExtensions("swizzleInvocationsWithPatternAMD", 1, &E_GL_AMD_shader_ballot);
 9060|      7|            symbolTable.setFunctionExtensions("writeInvocationAMD",               1, &E_GL_AMD_shader_ballot);
 9061|      7|            symbolTable.setFunctionExtensions("mbcntAMD",                         1, &E_GL_AMD_shader_ballot);
 9062|       |
 9063|      7|            symbolTable.setFunctionExtensions("minInvocationsInclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9064|      7|            symbolTable.setFunctionExtensions("maxInvocationsInclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9065|      7|            symbolTable.setFunctionExtensions("addInvocationsInclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9066|      7|            symbolTable.setFunctionExtensions("minInvocationsInclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9067|      7|            symbolTable.setFunctionExtensions("maxInvocationsInclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9068|      7|            symbolTable.setFunctionExtensions("addInvocationsInclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9069|      7|            symbolTable.setFunctionExtensions("minInvocationsExclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9070|      7|            symbolTable.setFunctionExtensions("maxInvocationsExclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9071|      7|            symbolTable.setFunctionExtensions("addInvocationsExclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9072|      7|            symbolTable.setFunctionExtensions("minInvocationsExclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9073|      7|            symbolTable.setFunctionExtensions("maxInvocationsExclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9074|      7|            symbolTable.setFunctionExtensions("addInvocationsExclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9075|      7|        }
 9076|       |
 9077|     46|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9077:13): [True: 7, False: 39]
  ------------------
 9078|      7|            symbolTable.setFunctionExtensions("min3", 1, &E_GL_AMD_shader_trinary_minmax);
 9079|      7|            symbolTable.setFunctionExtensions("max3", 1, &E_GL_AMD_shader_trinary_minmax);
 9080|      7|            symbolTable.setFunctionExtensions("mid3", 1, &E_GL_AMD_shader_trinary_minmax);
 9081|      7|        }
 9082|       |
 9083|     46|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9083:13): [True: 7, False: 39]
  ------------------
 9084|      7|            symbolTable.setVariableExtensions("gl_SIMDGroupSizeAMD", 1, &E_GL_AMD_gcn_shader);
 9085|      7|            SpecialQualifier("gl_SIMDGroupSizeAMD", EvqVaryingIn, EbvSubGroupSize, symbolTable);
 9086|       |
 9087|      7|            symbolTable.setFunctionExtensions("cubeFaceIndexAMD", 1, &E_GL_AMD_gcn_shader);
 9088|      7|            symbolTable.setFunctionExtensions("cubeFaceCoordAMD", 1, &E_GL_AMD_gcn_shader);
 9089|      7|            symbolTable.setFunctionExtensions("timeAMD",          1, &E_GL_AMD_gcn_shader);
 9090|      7|        }
 9091|       |
 9092|     46|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9092:13): [True: 7, False: 39]
  ------------------
 9093|      7|            symbolTable.setFunctionExtensions("fragmentMaskFetchAMD", 1, &E_GL_AMD_shader_fragment_mask);
 9094|      7|            symbolTable.setFunctionExtensions("fragmentFetchAMD",     1, &E_GL_AMD_shader_fragment_mask);
 9095|      7|        }
 9096|       |
 9097|     46|        symbolTable.setFunctionExtensions("countLeadingZeros",  1, &E_GL_INTEL_shader_integer_functions2);
 9098|     46|        symbolTable.setFunctionExtensions("countTrailingZeros", 1, &E_GL_INTEL_shader_integer_functions2);
 9099|     46|        symbolTable.setFunctionExtensions("absoluteDifference", 1, &E_GL_INTEL_shader_integer_functions2);
 9100|     46|        symbolTable.setFunctionExtensions("addSaturate",        1, &E_GL_INTEL_shader_integer_functions2);
 9101|     46|        symbolTable.setFunctionExtensions("subtractSaturate",   1, &E_GL_INTEL_shader_integer_functions2);
 9102|     46|        symbolTable.setFunctionExtensions("average",            1, &E_GL_INTEL_shader_integer_functions2);
 9103|     46|        symbolTable.setFunctionExtensions("averageRounded",     1, &E_GL_INTEL_shader_integer_functions2);
 9104|     46|        symbolTable.setFunctionExtensions("multiply32x16",      1, &E_GL_INTEL_shader_integer_functions2);
 9105|       |
 9106|     46|        symbolTable.setFunctionExtensions("textureFootprintNV",          1, &E_GL_NV_shader_texture_footprint);
 9107|     46|        symbolTable.setFunctionExtensions("textureFootprintClampNV",     1, &E_GL_NV_shader_texture_footprint);
 9108|     46|        symbolTable.setFunctionExtensions("textureFootprintLodNV",       1, &E_GL_NV_shader_texture_footprint);
 9109|     46|        symbolTable.setFunctionExtensions("textureFootprintGradNV",      1, &E_GL_NV_shader_texture_footprint);
 9110|     46|        symbolTable.setFunctionExtensions("textureFootprintGradClampNV", 1, &E_GL_NV_shader_texture_footprint);
 9111|       |        // Compatibility variables, vertex only
 9112|     46|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9112:13): [True: 46, False: 0]
  ------------------
 9113|     46|            BuiltInVariable("gl_Color",          EbvColor,          symbolTable);
 9114|     46|            BuiltInVariable("gl_SecondaryColor", EbvSecondaryColor, symbolTable);
 9115|     46|            BuiltInVariable("gl_Normal",         EbvNormal,         symbolTable);
 9116|     46|            BuiltInVariable("gl_Vertex",         EbvVertex,         symbolTable);
 9117|     46|            BuiltInVariable("gl_MultiTexCoord0", EbvMultiTexCoord0, symbolTable);
 9118|     46|            BuiltInVariable("gl_MultiTexCoord1", EbvMultiTexCoord1, symbolTable);
 9119|     46|            BuiltInVariable("gl_MultiTexCoord2", EbvMultiTexCoord2, symbolTable);
 9120|     46|            BuiltInVariable("gl_MultiTexCoord3", EbvMultiTexCoord3, symbolTable);
 9121|     46|            BuiltInVariable("gl_MultiTexCoord4", EbvMultiTexCoord4, symbolTable);
 9122|     46|            BuiltInVariable("gl_MultiTexCoord5", EbvMultiTexCoord5, symbolTable);
 9123|     46|            BuiltInVariable("gl_MultiTexCoord6", EbvMultiTexCoord6, symbolTable);
 9124|     46|            BuiltInVariable("gl_MultiTexCoord7", EbvMultiTexCoord7, symbolTable);
 9125|     46|            BuiltInVariable("gl_FogCoord",       EbvFogFragCoord,   symbolTable);
 9126|     46|        }
 9127|       |
 9128|     46|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9128:13): [True: 39, False: 7]
  ------------------
 9129|     39|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9129:17): [True: 39, False: 0]
  ------------------
 9130|     39|                symbolTable.setFunctionExtensions("texture2DGradEXT",     1, &E_GL_EXT_shader_texture_lod);
 9131|     39|                symbolTable.setFunctionExtensions("texture2DProjGradEXT", 1, &E_GL_EXT_shader_texture_lod);
 9132|     39|                symbolTable.setFunctionExtensions("textureCubeGradEXT",   1, &E_GL_EXT_shader_texture_lod);
 9133|     39|                if (version == 310)
  ------------------
  |  Branch (9133:21): [True: 0, False: 39]
  ------------------
 9134|      0|                    symbolTable.setFunctionExtensions("textureGatherOffsets", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9135|     39|            }
 9136|     39|            if (version == 310) {
  ------------------
  |  Branch (9136:17): [True: 0, False: 39]
  ------------------
 9137|      0|                symbolTable.setFunctionExtensions("fma", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9138|     39|            } else if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (9138:24): [True: 0, False: 39]
  |  Branch (9138:49): [True: 0, False: 0]
  ------------------
 9139|      0|                symbolTable.setFunctionExtensions("fma", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9140|      0|            }
 9141|     39|        }
 9142|       |
 9143|     46|        if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9143:13): [True: 39, False: 7]
  |  Branch (9143:38): [True: 39, False: 0]
  ------------------
 9144|     39|            symbolTable.setFunctionExtensions("imageAtomicAdd",      1, &E_GL_OES_shader_image_atomic);
 9145|     39|            symbolTable.setFunctionExtensions("imageAtomicMin",      1, &E_GL_OES_shader_image_atomic);
 9146|     39|            symbolTable.setFunctionExtensions("imageAtomicMax",      1, &E_GL_OES_shader_image_atomic);
 9147|     39|            symbolTable.setFunctionExtensions("imageAtomicAnd",      1, &E_GL_OES_shader_image_atomic);
 9148|     39|            symbolTable.setFunctionExtensions("imageAtomicOr",       1, &E_GL_OES_shader_image_atomic);
 9149|     39|            symbolTable.setFunctionExtensions("imageAtomicXor",      1, &E_GL_OES_shader_image_atomic);
 9150|     39|            symbolTable.setFunctionExtensions("imageAtomicExchange", 1, &E_GL_OES_shader_image_atomic);
 9151|     39|            symbolTable.setFunctionExtensions("imageAtomicCompSwap", 1, &E_GL_OES_shader_image_atomic);
 9152|     39|        }
 9153|       |
 9154|     46|        if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (9154:13): [True: 7, False: 39]
  ------------------
 9155|      7|            symbolTable.setVariableExtensions("gl_ViewID_OVR", Num_OVR_multiview_EXTs, OVR_multiview_EXTs);
 9156|      7|            BuiltInVariable("gl_ViewID_OVR", EbvViewIndex, symbolTable);
 9157|      7|        }
 9158|       |
 9159|     46|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9159:13): [True: 39, False: 7]
  ------------------
 9160|     39|            symbolTable.setFunctionExtensions("shadow2DEXT",        1, &E_GL_EXT_shadow_samplers);
 9161|     39|            symbolTable.setFunctionExtensions("shadow2DProjEXT",    1, &E_GL_EXT_shadow_samplers);
 9162|     39|        }
 9163|       |
 9164|       |        // E_GL_EXT_texture_array
 9165|     46|        if (profile != EEsProfile && spvVersion.spv == 0) {
  ------------------
  |  Branch (9165:13): [True: 7, False: 39]
  |  Branch (9165:38): [True: 7, False: 0]
  ------------------
 9166|      7|            symbolTable.setFunctionExtensions("texture1DArray", 1, &E_GL_EXT_texture_array);
 9167|      7|            symbolTable.setFunctionExtensions("texture2DArray", 1, &E_GL_EXT_texture_array);
 9168|      7|            symbolTable.setFunctionExtensions("shadow1DArray", 1, &E_GL_EXT_texture_array);
 9169|      7|            symbolTable.setFunctionExtensions("shadow2DArray", 1, &E_GL_EXT_texture_array);
 9170|       |
 9171|      7|            symbolTable.setFunctionExtensions("texture1DArrayLod", 1, &E_GL_EXT_texture_array);
 9172|      7|            symbolTable.setFunctionExtensions("texture2DArrayLod", 1, &E_GL_EXT_texture_array);
 9173|      7|            symbolTable.setFunctionExtensions("shadow1DArrayLod", 1, &E_GL_EXT_texture_array);
 9174|      7|        }
 9175|     46|        [[fallthrough]];
 9176|       |
 9177|     53|    case EShLangTessControl:
  ------------------
  |  Branch (9177:5): [True: 7, False: 168]
  ------------------
 9178|     53|        if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (9178:13): [True: 39, False: 14]
  |  Branch (9178:38): [True: 0, False: 39]
  ------------------
 9179|      0|            BuiltInVariable("gl_BoundingBoxEXT", EbvBoundingBox, symbolTable);
 9180|      0|            symbolTable.setVariableExtensions("gl_BoundingBoxEXT", 1,
 9181|      0|                                              &E_GL_EXT_primitive_bounding_box);
 9182|      0|            BuiltInVariable("gl_BoundingBoxOES", EbvBoundingBox, symbolTable);
 9183|      0|            symbolTable.setVariableExtensions("gl_BoundingBoxOES", 1,
 9184|      0|                                              &E_GL_OES_primitive_bounding_box);
 9185|       |
 9186|      0|            if (version >= 320) {
  ------------------
  |  Branch (9186:17): [True: 0, False: 0]
  ------------------
 9187|      0|                BuiltInVariable("gl_BoundingBox", EbvBoundingBox, symbolTable);
 9188|      0|            }
 9189|      0|        }
 9190|     53|        [[fallthrough]];
 9191|       |
 9192|     60|    case EShLangTessEvaluation:
  ------------------
  |  Branch (9192:5): [True: 7, False: 168]
  ------------------
 9193|     67|    case EShLangGeometry:
  ------------------
  |  Branch (9193:5): [True: 7, False: 168]
  ------------------
 9194|     67|        SpecialQualifier("gl_Position",   EvqPosition,   EbvPosition,   symbolTable);
 9195|     67|        SpecialQualifier("gl_PointSize",  EvqPointSize,  EbvPointSize,  symbolTable);
 9196|       |
 9197|     67|        BuiltInVariable("gl_in",  "gl_Position",     EbvPosition,     symbolTable);
 9198|     67|        BuiltInVariable("gl_in",  "gl_PointSize",    EbvPointSize,    symbolTable);
 9199|       |
 9200|     67|        BuiltInVariable("gl_out", "gl_Position",     EbvPosition,     symbolTable);
 9201|     67|        BuiltInVariable("gl_out", "gl_PointSize",    EbvPointSize,    symbolTable);
 9202|       |
 9203|     67|        SpecialQualifier("gl_ClipVertex", EvqClipVertex, EbvClipVertex, symbolTable);
 9204|       |
 9205|     67|        BuiltInVariable("gl_in",  "gl_ClipDistance", EbvClipDistance, symbolTable);
 9206|     67|        BuiltInVariable("gl_in",  "gl_CullDistance", EbvCullDistance, symbolTable);
 9207|       |
 9208|     67|        BuiltInVariable("gl_out", "gl_ClipDistance", EbvClipDistance, symbolTable);
 9209|     67|        BuiltInVariable("gl_out", "gl_CullDistance", EbvCullDistance, symbolTable);
 9210|       |
 9211|     67|        BuiltInVariable("gl_ClipDistance",    EbvClipDistance,   symbolTable);
 9212|     67|        BuiltInVariable("gl_CullDistance",    EbvCullDistance,   symbolTable);
 9213|     67|        BuiltInVariable("gl_PrimitiveIDIn",   EbvPrimitiveId,    symbolTable);
 9214|     67|        BuiltInVariable("gl_PrimitiveID",     EbvPrimitiveId,    symbolTable);
 9215|     67|        BuiltInVariable("gl_InvocationID",    EbvInvocationId,   symbolTable);
 9216|     67|        BuiltInVariable("gl_Layer",           EbvLayer,          symbolTable);
 9217|     67|        BuiltInVariable("gl_ViewportIndex",   EbvViewportIndex,  symbolTable);
 9218|       |
 9219|     67|        if (language != EShLangGeometry) {
  ------------------
  |  Branch (9219:13): [True: 60, False: 7]
  ------------------
 9220|     60|            symbolTable.setVariableExtensions("gl_Layer",         Num_viewportEXTs, viewportEXTs);
 9221|     60|            symbolTable.setVariableExtensions("gl_ViewportIndex", Num_viewportEXTs, viewportEXTs);
 9222|     60|        }
 9223|     67|        symbolTable.setVariableExtensions("gl_ViewportMask",            1, &E_GL_NV_viewport_array2);
 9224|     67|        symbolTable.setVariableExtensions("gl_SecondaryPositionNV",     1, &E_GL_NV_stereo_view_rendering);
 9225|     67|        symbolTable.setVariableExtensions("gl_SecondaryViewportMaskNV", 1, &E_GL_NV_stereo_view_rendering);
 9226|     67|        symbolTable.setVariableExtensions("gl_PositionPerViewNV",       1, &E_GL_NVX_multiview_per_view_attributes);
 9227|     67|        symbolTable.setVariableExtensions("gl_ViewportMaskPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
 9228|       |
 9229|     67|        if (profile != EEsProfile && language == EShLangGeometry && version < 400) {
  ------------------
  |  Branch (9229:13): [True: 28, False: 39]
  |  Branch (9229:38): [True: 7, False: 21]
  |  Branch (9229:69): [True: 0, False: 7]
  ------------------
 9230|      0|            symbolTable.setVariableExtensions("gl_InvocationID", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9231|      0|        }
 9232|     67|        BuiltInVariable("gl_ViewportMask",              EbvViewportMaskNV,          symbolTable);
 9233|     67|        BuiltInVariable("gl_SecondaryPositionNV",       EbvSecondaryPositionNV,     symbolTable);
 9234|     67|        BuiltInVariable("gl_SecondaryViewportMaskNV",   EbvSecondaryViewportMaskNV, symbolTable);
 9235|     67|        BuiltInVariable("gl_PositionPerViewNV",         EbvPositionPerViewNV,       symbolTable);
 9236|     67|        BuiltInVariable("gl_ViewportMaskPerViewNV",     EbvViewportMaskPerViewNV,   symbolTable);
 9237|       |
 9238|     67|        if (language == EShLangVertex || language == EShLangGeometry) {
  ------------------
  |  Branch (9238:13): [True: 46, False: 21]
  |  Branch (9238:42): [True: 7, False: 14]
  ------------------
 9239|     53|            symbolTable.setVariableExtensions("gl_in", "gl_SecondaryPositionNV", 1, &E_GL_NV_stereo_view_rendering);
 9240|     53|            symbolTable.setVariableExtensions("gl_in", "gl_PositionPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
 9241|       |
 9242|     53|            BuiltInVariable("gl_in", "gl_SecondaryPositionNV", EbvSecondaryPositionNV, symbolTable);
 9243|     53|            BuiltInVariable("gl_in", "gl_PositionPerViewNV",   EbvPositionPerViewNV,   symbolTable);
 9244|     53|        }
 9245|     67|        symbolTable.setVariableExtensions("gl_out", "gl_ViewportMask",            1, &E_GL_NV_viewport_array2);
 9246|     67|        symbolTable.setVariableExtensions("gl_out", "gl_SecondaryPositionNV",     1, &E_GL_NV_stereo_view_rendering);
 9247|     67|        symbolTable.setVariableExtensions("gl_out", "gl_SecondaryViewportMaskNV", 1, &E_GL_NV_stereo_view_rendering);
 9248|     67|        symbolTable.setVariableExtensions("gl_out", "gl_PositionPerViewNV",       1, &E_GL_NVX_multiview_per_view_attributes);
 9249|     67|        symbolTable.setVariableExtensions("gl_out", "gl_ViewportMaskPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
 9250|       |
 9251|     67|        BuiltInVariable("gl_out", "gl_ViewportMask",            EbvViewportMaskNV,          symbolTable);
 9252|     67|        BuiltInVariable("gl_out", "gl_SecondaryPositionNV",     EbvSecondaryPositionNV,     symbolTable);
 9253|     67|        BuiltInVariable("gl_out", "gl_SecondaryViewportMaskNV", EbvSecondaryViewportMaskNV, symbolTable);
 9254|     67|        BuiltInVariable("gl_out", "gl_PositionPerViewNV",       EbvPositionPerViewNV,       symbolTable);
 9255|     67|        BuiltInVariable("gl_out", "gl_ViewportMaskPerViewNV",   EbvViewportMaskPerViewNV,   symbolTable);
 9256|       |
 9257|     67|        BuiltInVariable("gl_PatchVerticesIn", EbvPatchVertices,  symbolTable);
 9258|     67|        BuiltInVariable("gl_TessLevelOuter",  EbvTessLevelOuter, symbolTable);
 9259|     67|        BuiltInVariable("gl_TessLevelInner",  EbvTessLevelInner, symbolTable);
 9260|     67|        BuiltInVariable("gl_TessCoord",       EbvTessCoord,      symbolTable);
 9261|       |
 9262|     67|        if (version < 410)
  ------------------
  |  Branch (9262:13): [True: 39, False: 28]
  ------------------
 9263|     39|            symbolTable.setVariableExtensions("gl_ViewportIndex", 1, &E_GL_ARB_viewport_array);
 9264|       |
 9265|       |        // Compatibility variables
 9266|       |
 9267|     67|        BuiltInVariable("gl_in", "gl_ClipVertex",          EbvClipVertex,          symbolTable);
 9268|     67|        BuiltInVariable("gl_in", "gl_FrontColor",          EbvFrontColor,          symbolTable);
 9269|     67|        BuiltInVariable("gl_in", "gl_BackColor",           EbvBackColor,           symbolTable);
 9270|     67|        BuiltInVariable("gl_in", "gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
 9271|     67|        BuiltInVariable("gl_in", "gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
 9272|     67|        BuiltInVariable("gl_in", "gl_TexCoord",            EbvTexCoord,            symbolTable);
 9273|     67|        BuiltInVariable("gl_in", "gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
 9274|       |
 9275|     67|        BuiltInVariable("gl_out", "gl_ClipVertex",          EbvClipVertex,          symbolTable);
 9276|     67|        BuiltInVariable("gl_out", "gl_FrontColor",          EbvFrontColor,          symbolTable);
 9277|     67|        BuiltInVariable("gl_out", "gl_BackColor",           EbvBackColor,           symbolTable);
 9278|     67|        BuiltInVariable("gl_out", "gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
 9279|     67|        BuiltInVariable("gl_out", "gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
 9280|     67|        BuiltInVariable("gl_out", "gl_TexCoord",            EbvTexCoord,            symbolTable);
 9281|     67|        BuiltInVariable("gl_out", "gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
 9282|       |
 9283|     67|        BuiltInVariable("gl_ClipVertex",          EbvClipVertex,          symbolTable);
 9284|     67|        BuiltInVariable("gl_FrontColor",          EbvFrontColor,          symbolTable);
 9285|     67|        BuiltInVariable("gl_BackColor",           EbvBackColor,           symbolTable);
 9286|     67|        BuiltInVariable("gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
 9287|     67|        BuiltInVariable("gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
 9288|     67|        BuiltInVariable("gl_TexCoord",            EbvTexCoord,            symbolTable);
 9289|     67|        BuiltInVariable("gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
 9290|       |
 9291|       |        // gl_PointSize, when it needs to be tied to an extension, is always a member of a block.
 9292|       |        // (Sometimes with an instance name, sometimes anonymous).
 9293|     67|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9293:13): [True: 39, False: 28]
  ------------------
 9294|     39|            if (language == EShLangGeometry) {
  ------------------
  |  Branch (9294:17): [True: 0, False: 39]
  ------------------
 9295|      0|                symbolTable.setVariableExtensions("gl_PointSize", Num_AEP_geometry_point_size, AEP_geometry_point_size);
 9296|      0|                symbolTable.setVariableExtensions("gl_in", "gl_PointSize", Num_AEP_geometry_point_size, AEP_geometry_point_size);
 9297|     39|            } else if (language == EShLangTessEvaluation || language == EShLangTessControl) {
  ------------------
  |  Branch (9297:24): [True: 0, False: 39]
  |  Branch (9297:61): [True: 0, False: 39]
  ------------------
 9298|       |                // gl_in tessellation settings of gl_PointSize are in the context-dependent paths
 9299|      0|                symbolTable.setVariableExtensions("gl_PointSize", Num_AEP_tessellation_point_size, AEP_tessellation_point_size);
 9300|      0|                symbolTable.setVariableExtensions("gl_out", "gl_PointSize", Num_AEP_tessellation_point_size, AEP_tessellation_point_size);
 9301|      0|            }
 9302|     39|        }
 9303|       |
 9304|     67|        if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (9304:14): [True: 28, False: 39]
  |  Branch (9304:39): [True: 28, False: 0]
  ------------------
 9305|     39|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9305:14): [True: 39, False: 0]
  |  Branch (9305:39): [True: 0, False: 39]
  ------------------
 9306|     28|            symbolTable.setVariableExtensions("gl_DeviceIndex",  1, &E_GL_EXT_device_group);
 9307|     28|            BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
 9308|     28|            symbolTable.setVariableExtensions("gl_ViewIndex", 1, &E_GL_EXT_multiview);
 9309|     28|            BuiltInVariable("gl_ViewIndex", EbvViewIndex, symbolTable);
 9310|     28|        }
 9311|       |
 9312|     67|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9312:13): [True: 28, False: 39]
  ------------------
 9313|     28|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
 9314|     28|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
 9315|     28|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
 9316|     28|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
 9317|     28|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
 9318|     28|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
 9319|       |
 9320|     28|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (9320:17): [True: 4, False: 24]
  ------------------
 9321|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
 9322|      4|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
 9323|      4|                if (language == EShLangFragment)
  ------------------
  |  Branch (9323:21): [True: 0, False: 4]
  ------------------
 9324|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
 9325|      4|            }
 9326|     24|            else
 9327|     24|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
 9328|     28|        }
 9329|       |
 9330|       |        // GL_ARB_gpu_shader5/GL_NV_gpu_shader5
 9331|     67|        if (profile != EEsProfile && version < 400 && language == EShLangGeometry) {
  ------------------
  |  Branch (9331:13): [True: 28, False: 39]
  |  Branch (9331:38): [True: 0, False: 28]
  |  Branch (9331:55): [True: 0, False: 0]
  ------------------
 9332|      0|            symbolTable.setFunctionExtensions("EmitStreamVertex", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9333|      0|            symbolTable.setFunctionExtensions("EndStreamPrimitive", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9334|      0|        }
 9335|       |        // GL_KHR_shader_subgroup
 9336|     67|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9336:14): [True: 39, False: 28]
  |  Branch (9336:39): [True: 0, False: 39]
  ------------------
 9337|     67|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (9337:14): [True: 28, False: 39]
  |  Branch (9337:39): [True: 28, False: 0]
  ------------------
 9338|     28|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
 9339|     28|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
 9340|     28|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9341|     28|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9342|     28|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9343|     28|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9344|     28|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9345|       |
 9346|     28|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
 9347|     28|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
 9348|     28|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
 9349|     28|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
 9350|     28|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
 9351|     28|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
 9352|     28|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
 9353|       |
 9354|       |            // GL_NV_shader_sm_builtins
 9355|     28|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
 9356|     28|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
 9357|     28|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
 9358|     28|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
 9359|     28|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
 9360|     28|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
 9361|     28|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
 9362|     28|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
 9363|       |
 9364|       |            // GL_ARM_shader_core_builtins
 9365|     28|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
 9366|     28|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
 9367|     28|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
 9368|     28|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
 9369|     28|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
 9370|       |
 9371|     28|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
 9372|     28|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
 9373|     28|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
 9374|     28|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
 9375|     28|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
 9376|     28|        }
 9377|       |
 9378|     67|        if (language == EShLangGeometry || language == EShLangVertex) {
  ------------------
  |  Branch (9378:13): [True: 7, False: 60]
  |  Branch (9378:44): [True: 46, False: 14]
  ------------------
 9379|     53|            if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9379:18): [True: 39, False: 14]
  |  Branch (9379:43): [True: 0, False: 39]
  ------------------
 9380|     53|                (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (9380:18): [True: 14, False: 39]
  |  Branch (9380:43): [True: 14, False: 0]
  ------------------
 9381|     14|                symbolTable.setVariableExtensions("gl_PrimitiveShadingRateEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9382|     14|                BuiltInVariable("gl_PrimitiveShadingRateEXT", EbvPrimitiveShadingRateKHR, symbolTable);
 9383|       |
 9384|     14|                symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9385|     14|                symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9386|     14|                symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9387|     14|                symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9388|     14|            }
 9389|     53|        }
 9390|     67|        break;
 9391|       |
 9392|     45|    case EShLangFragment:
  ------------------
  |  Branch (9392:5): [True: 45, False: 130]
  ------------------
 9393|     45|        SpecialQualifier("gl_FrontFacing",      EvqFace,       EbvFace,             symbolTable);
 9394|     45|        SpecialQualifier("gl_FragCoord",        EvqFragCoord,  EbvFragCoord,        symbolTable);
 9395|     45|        SpecialQualifier("gl_PointCoord",       EvqPointCoord, EbvPointCoord,       symbolTable);
 9396|     45|        if (spvVersion.spv == 0)
  ------------------
  |  Branch (9396:13): [True: 45, False: 0]
  ------------------
 9397|     45|            SpecialQualifier("gl_FragColor",    EvqFragColor,  EbvFragColor,        symbolTable);
 9398|      0|        else {
 9399|      0|            TSymbol* symbol = symbolTable.find("gl_FragColor");
 9400|      0|            if (symbol) {
  ------------------
  |  Branch (9400:17): [True: 0, False: 0]
  ------------------
 9401|      0|                symbol->getWritableType().getQualifier().storage = EvqVaryingOut;
 9402|      0|                symbol->getWritableType().getQualifier().layoutLocation = 0;
 9403|      0|            }
 9404|      0|        }
 9405|     45|        SpecialQualifier("gl_FragDepth",        EvqFragDepth,  EbvFragDepth,        symbolTable);
 9406|     45|        SpecialQualifier("gl_FragDepthEXT",     EvqFragDepth,  EbvFragDepth,        symbolTable);
 9407|     45|        SpecialQualifier("gl_FragStencilRefARB", EvqFragStencil, EbvFragStencilRef, symbolTable);
 9408|     45|        SpecialQualifier("gl_HelperInvocation", EvqVaryingIn,  EbvHelperInvocation, symbolTable);
 9409|       |
 9410|     45|        BuiltInVariable("gl_ClipDistance",    EbvClipDistance,   symbolTable);
 9411|     45|        BuiltInVariable("gl_CullDistance",    EbvCullDistance,   symbolTable);
 9412|     45|        BuiltInVariable("gl_PrimitiveID",     EbvPrimitiveId,    symbolTable);
 9413|       |
 9414|     45|        if (profile != EEsProfile && version >= 140) {
  ------------------
  |  Branch (9414:13): [True: 6, False: 39]
  |  Branch (9414:38): [True: 6, False: 0]
  ------------------
 9415|      6|            symbolTable.setVariableExtensions("gl_FragStencilRefARB", 1, &E_GL_ARB_shader_stencil_export);
 9416|      6|            BuiltInVariable("gl_FragStencilRefARB", EbvFragStencilRef, symbolTable);
 9417|      6|        }
 9418|       |
 9419|     45|        if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (9419:13): [True: 6, False: 39]
  |  Branch (9419:38): [True: 0, False: 6]
  ------------------
 9420|      0|            symbolTable.setFunctionExtensions("textureQueryLOD", 1, &E_GL_ARB_texture_query_lod);
 9421|      0|        }
 9422|       |
 9423|     45|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (9423:13): [True: 6, False: 39]
  |  Branch (9423:38): [True: 0, False: 6]
  ------------------
 9424|      0|            symbolTable.setFunctionExtensions("rayQueryInitializeEXT",                                            1, &E_GL_EXT_ray_query);
 9425|      0|            symbolTable.setFunctionExtensions("rayQueryTerminateEXT",                                             1, &E_GL_EXT_ray_query);
 9426|      0|            symbolTable.setFunctionExtensions("rayQueryGenerateIntersectionEXT",                                  1, &E_GL_EXT_ray_query);
 9427|      0|            symbolTable.setFunctionExtensions("rayQueryConfirmIntersectionEXT",                                   1, &E_GL_EXT_ray_query);
 9428|      0|            symbolTable.setFunctionExtensions("rayQueryProceedEXT",                                               1, &E_GL_EXT_ray_query);
 9429|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionTypeEXT",                                   1, &E_GL_EXT_ray_query);
 9430|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionTEXT",                                      1, &E_GL_EXT_ray_query);
 9431|      0|            symbolTable.setFunctionExtensions("rayQueryGetRayFlagsEXT",                                           1, &E_GL_EXT_ray_query);
 9432|      0|            symbolTable.setFunctionExtensions("rayQueryGetRayTMinEXT",                                            1, &E_GL_EXT_ray_query);
 9433|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionInstanceCustomIndexEXT",                    1, &E_GL_EXT_ray_query);
 9434|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionInstanceIdEXT",                             1, &E_GL_EXT_ray_query);
 9435|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetEXT", 1, &E_GL_EXT_ray_query);
 9436|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionGeometryIndexEXT",                          1, &E_GL_EXT_ray_query);
 9437|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionPrimitiveIndexEXT",                         1, &E_GL_EXT_ray_query);
 9438|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionBarycentricsEXT",                           1, &E_GL_EXT_ray_query);
 9439|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionFrontFaceEXT",                              1, &E_GL_EXT_ray_query);
 9440|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionCandidateAABBOpaqueEXT",                    1, &E_GL_EXT_ray_query);
 9441|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionObjectRayDirectionEXT",                     1, &E_GL_EXT_ray_query);
 9442|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionObjectRayOriginEXT",                        1, &E_GL_EXT_ray_query);
 9443|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionObjectToWorldEXT",                          1, &E_GL_EXT_ray_query);
 9444|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionWorldToObjectEXT",                          1, &E_GL_EXT_ray_query);
 9445|      0|            symbolTable.setFunctionExtensions("rayQueryGetWorldRayOriginEXT",                                     1, &E_GL_EXT_ray_query);
 9446|      0|            symbolTable.setFunctionExtensions("rayQueryGetWorldRayDirectionEXT",                                  1, &E_GL_EXT_ray_query);
 9447|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionTriangleVertexPositionsEXT",                1, &E_GL_EXT_ray_tracing_position_fetch);
 9448|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionClusterIdNV",                               1, &E_GL_NV_cluster_acceleration_structure);
 9449|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionSpherePositionNV",                          1, &E_GL_NV_linear_swept_spheres);
 9450|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionSphereRadiusNV",                            1, &E_GL_NV_linear_swept_spheres);
 9451|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionLSSHitValueNV",                             1, &E_GL_NV_linear_swept_spheres);
 9452|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionLSSPositionsNV",                            1, &E_GL_NV_linear_swept_spheres);
 9453|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionLSSRadiiNV",                                1, &E_GL_NV_linear_swept_spheres);
 9454|      0|            symbolTable.setFunctionExtensions("rayQueryIsSphereHitNV",                                            1, &E_GL_NV_linear_swept_spheres);
 9455|      0|            symbolTable.setFunctionExtensions("rayQueryIsLSSHitNV",                                               1, &E_GL_NV_linear_swept_spheres);
 9456|      0|            symbolTable.setVariableExtensions("gl_RayFlagsSkipAABBEXT",                         1, &E_GL_EXT_ray_flags_primitive_culling);
 9457|      0|            symbolTable.setVariableExtensions("gl_RayFlagsSkipTrianglesEXT",                    1, &E_GL_EXT_ray_flags_primitive_culling);
 9458|      0|            symbolTable.setVariableExtensions("gl_RayFlagsForceOpacityMicromap2StateEXT",                  1, &E_GL_EXT_opacity_micromap);
 9459|      0|        }
 9460|       |
 9461|     45|        if ((profile != EEsProfile && version >= 130) ||
  ------------------
  |  Branch (9461:14): [True: 6, False: 39]
  |  Branch (9461:39): [True: 6, False: 0]
  ------------------
 9462|     39|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9462:14): [True: 39, False: 0]
  |  Branch (9462:39): [True: 0, False: 39]
  ------------------
 9463|      6|            BuiltInVariable("gl_SampleID",           EbvSampleId,       symbolTable);
 9464|      6|            BuiltInVariable("gl_SamplePosition",     EbvSamplePosition, symbolTable);
 9465|      6|            BuiltInVariable("gl_SampleMask",         EbvSampleMask,     symbolTable);
 9466|       |
 9467|      6|            if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (9467:17): [True: 6, False: 0]
  |  Branch (9467:42): [True: 0, False: 6]
  ------------------
 9468|      0|                BuiltInVariable("gl_SampleMaskIn",    EbvSampleMask,     symbolTable);
 9469|      0|                symbolTable.setVariableExtensions("gl_SampleMaskIn", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9470|       |
 9471|      0|                BuiltInVariable("gl_NumSamples",     EbvSampleMask,     symbolTable);
 9472|       |
 9473|      0|                symbolTable.setVariableExtensions("gl_SampleMask",     1, &E_GL_ARB_sample_shading);
 9474|      0|                symbolTable.setVariableExtensions("gl_SampleID",       1, &E_GL_ARB_sample_shading);
 9475|      0|                symbolTable.setVariableExtensions("gl_SamplePosition", 1, &E_GL_ARB_sample_shading);
 9476|      0|                symbolTable.setVariableExtensions("gl_NumSamples",     1, &E_GL_ARB_sample_shading);
 9477|      6|            } else {
 9478|      6|                BuiltInVariable("gl_SampleMaskIn",    EbvSampleMask,     symbolTable);
 9479|       |
 9480|      6|                if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9480:21): [True: 0, False: 6]
  |  Branch (9480:46): [True: 0, False: 0]
  ------------------
 9481|      0|                    symbolTable.setVariableExtensions("gl_SampleID", 1, &E_GL_OES_sample_variables);
 9482|      0|                    symbolTable.setVariableExtensions("gl_SamplePosition", 1, &E_GL_OES_sample_variables);
 9483|      0|                    symbolTable.setVariableExtensions("gl_SampleMaskIn", 1, &E_GL_OES_sample_variables);
 9484|      0|                    symbolTable.setVariableExtensions("gl_SampleMask", 1, &E_GL_OES_sample_variables);
 9485|      0|                    symbolTable.setVariableExtensions("gl_NumSamples", 1, &E_GL_OES_sample_variables);
 9486|      0|                }
 9487|      6|            }
 9488|      6|        }
 9489|       |
 9490|     45|        BuiltInVariable("gl_Layer",           EbvLayer,          symbolTable);
 9491|     45|        BuiltInVariable("gl_ViewportIndex",   EbvViewportIndex,  symbolTable);
 9492|       |
 9493|       |        // Compatibility variables
 9494|       |
 9495|     45|        BuiltInVariable("gl_in", "gl_FogFragCoord",   EbvFogFragCoord,   symbolTable);
 9496|     45|        BuiltInVariable("gl_in", "gl_TexCoord",       EbvTexCoord,       symbolTable);
 9497|     45|        BuiltInVariable("gl_in", "gl_Color",          EbvColor,          symbolTable);
 9498|     45|        BuiltInVariable("gl_in", "gl_SecondaryColor", EbvSecondaryColor, symbolTable);
 9499|       |
 9500|     45|        BuiltInVariable("gl_FogFragCoord",   EbvFogFragCoord,   symbolTable);
 9501|     45|        BuiltInVariable("gl_TexCoord",       EbvTexCoord,       symbolTable);
 9502|     45|        BuiltInVariable("gl_Color",          EbvColor,          symbolTable);
 9503|     45|        BuiltInVariable("gl_SecondaryColor", EbvSecondaryColor, symbolTable);
 9504|       |
 9505|       |        // built-in functions
 9506|       |
 9507|     45|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9507:13): [True: 39, False: 6]
  ------------------
 9508|     39|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9508:17): [True: 39, False: 0]
  ------------------
 9509|     39|                symbolTable.setFunctionExtensions("texture2DLodEXT",      1, &E_GL_EXT_shader_texture_lod);
 9510|     39|                symbolTable.setFunctionExtensions("texture2DProjLodEXT",  1, &E_GL_EXT_shader_texture_lod);
 9511|     39|                symbolTable.setFunctionExtensions("textureCubeLodEXT",    1, &E_GL_EXT_shader_texture_lod);
 9512|     39|                symbolTable.setFunctionExtensions("texture2DGradEXT",     1, &E_GL_EXT_shader_texture_lod);
 9513|     39|                symbolTable.setFunctionExtensions("texture2DProjGradEXT", 1, &E_GL_EXT_shader_texture_lod);
 9514|     39|                symbolTable.setFunctionExtensions("textureCubeGradEXT",   1, &E_GL_EXT_shader_texture_lod);
 9515|     39|                if (version < 320)
  ------------------
  |  Branch (9515:21): [True: 39, False: 0]
  ------------------
 9516|     39|                    symbolTable.setFunctionExtensions("textureGatherOffsets", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9517|     39|            }
 9518|     39|            if (version == 100) {
  ------------------
  |  Branch (9518:17): [True: 39, False: 0]
  ------------------
 9519|     39|                symbolTable.setFunctionExtensions("dFdx",   1, &E_GL_OES_standard_derivatives);
 9520|     39|                symbolTable.setFunctionExtensions("dFdy",   1, &E_GL_OES_standard_derivatives);
 9521|     39|                symbolTable.setFunctionExtensions("fwidth", 1, &E_GL_OES_standard_derivatives);
 9522|     39|            }
 9523|     39|            if (version == 310) {
  ------------------
  |  Branch (9523:17): [True: 0, False: 39]
  ------------------
 9524|      0|                symbolTable.setFunctionExtensions("fma", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9525|      0|                symbolTable.setFunctionExtensions("interpolateAtCentroid", 1, &E_GL_OES_shader_multisample_interpolation);
 9526|      0|                symbolTable.setFunctionExtensions("interpolateAtSample",   1, &E_GL_OES_shader_multisample_interpolation);
 9527|      0|                symbolTable.setFunctionExtensions("interpolateAtOffset",   1, &E_GL_OES_shader_multisample_interpolation);
 9528|      0|            }
 9529|     39|        } else if (version < 130) {
  ------------------
  |  Branch (9529:20): [True: 0, False: 6]
  ------------------
 9530|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9530:17): [True: 0, False: 0]
  ------------------
 9531|      0|                symbolTable.setFunctionExtensions("texture1DLod",        1, &E_GL_ARB_shader_texture_lod);
 9532|      0|                symbolTable.setFunctionExtensions("texture2DLod",        1, &E_GL_ARB_shader_texture_lod);
 9533|      0|                symbolTable.setFunctionExtensions("texture3DLod",        1, &E_GL_ARB_shader_texture_lod);
 9534|      0|                symbolTable.setFunctionExtensions("textureCubeLod",      1, &E_GL_ARB_shader_texture_lod);
 9535|      0|                symbolTable.setFunctionExtensions("texture1DProjLod",    1, &E_GL_ARB_shader_texture_lod);
 9536|      0|                symbolTable.setFunctionExtensions("texture2DProjLod",    1, &E_GL_ARB_shader_texture_lod);
 9537|      0|                symbolTable.setFunctionExtensions("texture3DProjLod",    1, &E_GL_ARB_shader_texture_lod);
 9538|      0|                symbolTable.setFunctionExtensions("shadow1DLod",         1, &E_GL_ARB_shader_texture_lod);
 9539|      0|                symbolTable.setFunctionExtensions("shadow2DLod",         1, &E_GL_ARB_shader_texture_lod);
 9540|      0|                symbolTable.setFunctionExtensions("shadow1DProjLod",     1, &E_GL_ARB_shader_texture_lod);
 9541|      0|                symbolTable.setFunctionExtensions("shadow2DProjLod",     1, &E_GL_ARB_shader_texture_lod);
 9542|      0|            }
 9543|      0|        }
 9544|       |
 9545|       |        // E_GL_ARB_shader_texture_lod functions usable only with the extension enabled
 9546|     45|        if (profile != EEsProfile && spvVersion.spv == 0) {
  ------------------
  |  Branch (9546:13): [True: 6, False: 39]
  |  Branch (9546:38): [True: 6, False: 0]
  ------------------
 9547|      6|            symbolTable.setFunctionExtensions("texture1DGradARB",         1, &E_GL_ARB_shader_texture_lod);
 9548|      6|            symbolTable.setFunctionExtensions("texture1DProjGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9549|      6|            symbolTable.setFunctionExtensions("texture2DGradARB",         1, &E_GL_ARB_shader_texture_lod);
 9550|      6|            symbolTable.setFunctionExtensions("texture2DProjGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9551|      6|            symbolTable.setFunctionExtensions("texture3DGradARB",         1, &E_GL_ARB_shader_texture_lod);
 9552|      6|            symbolTable.setFunctionExtensions("texture3DProjGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9553|      6|            symbolTable.setFunctionExtensions("textureCubeGradARB",       1, &E_GL_ARB_shader_texture_lod);
 9554|      6|            symbolTable.setFunctionExtensions("shadow1DGradARB",          1, &E_GL_ARB_shader_texture_lod);
 9555|      6|            symbolTable.setFunctionExtensions("shadow1DProjGradARB",      1, &E_GL_ARB_shader_texture_lod);
 9556|      6|            symbolTable.setFunctionExtensions("shadow2DGradARB",          1, &E_GL_ARB_shader_texture_lod);
 9557|      6|            symbolTable.setFunctionExtensions("shadow2DProjGradARB",      1, &E_GL_ARB_shader_texture_lod);
 9558|      6|            symbolTable.setFunctionExtensions("texture2DRectGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9559|      6|            symbolTable.setFunctionExtensions("texture2DRectProjGradARB", 1, &E_GL_ARB_shader_texture_lod);
 9560|      6|            symbolTable.setFunctionExtensions("shadow2DRectGradARB",      1, &E_GL_ARB_shader_texture_lod);
 9561|      6|            symbolTable.setFunctionExtensions("shadow2DRectProjGradARB",  1, &E_GL_ARB_shader_texture_lod);
 9562|      6|        }
 9563|       |
 9564|       |        // E_GL_ARB_shader_image_load_store
 9565|     45|        if (profile != EEsProfile && version < 420)
  ------------------
  |  Branch (9565:13): [True: 6, False: 39]
  |  Branch (9565:38): [True: 0, False: 6]
  ------------------
 9566|      0|            symbolTable.setFunctionExtensions("memoryBarrier", 1, &E_GL_ARB_shader_image_load_store);
 9567|       |        // All the image access functions are protected by checks on the type of the first argument.
 9568|       |
 9569|       |        // E_GL_ARB_shader_atomic_counters
 9570|     45|        if (profile != EEsProfile && version < 420) {
  ------------------
  |  Branch (9570:13): [True: 6, False: 39]
  |  Branch (9570:38): [True: 0, False: 6]
  ------------------
 9571|      0|            symbolTable.setFunctionExtensions("atomicCounterIncrement", 1, &E_GL_ARB_shader_atomic_counters);
 9572|      0|            symbolTable.setFunctionExtensions("atomicCounterDecrement", 1, &E_GL_ARB_shader_atomic_counters);
 9573|      0|            symbolTable.setFunctionExtensions("atomicCounter"         , 1, &E_GL_ARB_shader_atomic_counters);
 9574|      0|        }
 9575|       |
 9576|       |        // E_GL_ARB_gpu_shader5/E_GL_NV_gpu_shader5 
 9577|     45|        if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (9577:13): [True: 6, False: 39]
  |  Branch (9577:38): [True: 0, False: 6]
  ------------------
 9578|      0|            symbolTable.setFunctionExtensions("bitfieldExtract", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9579|      0|            symbolTable.setFunctionExtensions("bitfieldInsert", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9580|      0|            symbolTable.setFunctionExtensions("bitfieldReverse", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9581|      0|            symbolTable.setFunctionExtensions("bitCount", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9582|      0|            symbolTable.setFunctionExtensions("findLSB", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9583|      0|            symbolTable.setFunctionExtensions("findMSB", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9584|      0|            symbolTable.setFunctionExtensions("uaddCarry", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9585|      0|            symbolTable.setFunctionExtensions("usubBorrow", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9586|      0|            symbolTable.setFunctionExtensions("umulExtended", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9587|      0|            symbolTable.setFunctionExtensions("imulExtended", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9588|      0|            symbolTable.setFunctionExtensions("interpolateAtCentroid", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9589|      0|            symbolTable.setFunctionExtensions("interpolateAtSample", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9590|      0|            symbolTable.setFunctionExtensions("interpolateAtOffset", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9591|      0|        }
 9592|       |
 9593|       |        // E_GL_NV_gpu_shader5
 9594|     45|        if (profile != EEsProfile && version < 450) {
  ------------------
  |  Branch (9594:13): [True: 6, False: 39]
  |  Branch (9594:38): [True: 0, False: 6]
  ------------------
 9595|      0|            symbolTable.setFunctionExtensions("packInt2x32",     1, &E_GL_NV_gpu_shader5);
 9596|      0|            symbolTable.setFunctionExtensions("packUint2x32",     1, &E_GL_NV_gpu_shader5);
 9597|      0|            symbolTable.setFunctionExtensions("unpackInt2x32",     1, &E_GL_NV_gpu_shader5);
 9598|      0|            symbolTable.setFunctionExtensions("unpackUint2x32",     1, &E_GL_NV_gpu_shader5);
 9599|      0|            symbolTable.setFunctionExtensions("packFloat2x16",     1, &E_GL_NV_gpu_shader5);
 9600|      0|            symbolTable.setFunctionExtensions("unpackFloat2x16",     1, &E_GL_NV_gpu_shader5);
 9601|      0|            symbolTable.setFunctionExtensions("doubleBitsToInt64",     1, &E_GL_NV_gpu_shader5);
 9602|      0|            symbolTable.setFunctionExtensions("doubleBitsToUint64",     1, &E_GL_NV_gpu_shader5);
 9603|      0|            symbolTable.setFunctionExtensions("int64BitsToDouble",     1, &E_GL_NV_gpu_shader5);
 9604|      0|            symbolTable.setFunctionExtensions("uint64BitsToDouble",     1, &E_GL_NV_gpu_shader5);
 9605|      0|        }
 9606|       |
 9607|       |        // E_GL_ARB_shader_atomic_counter_ops
 9608|     45|        if (profile != EEsProfile && version == 450) {
  ------------------
  |  Branch (9608:13): [True: 6, False: 39]
  |  Branch (9608:38): [True: 6, False: 0]
  ------------------
 9609|      6|            symbolTable.setFunctionExtensions("atomicCounterAddARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9610|      6|            symbolTable.setFunctionExtensions("atomicCounterSubtractARB", 1, &E_GL_ARB_shader_atomic_counter_ops);
 9611|      6|            symbolTable.setFunctionExtensions("atomicCounterMinARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9612|      6|            symbolTable.setFunctionExtensions("atomicCounterMaxARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9613|      6|            symbolTable.setFunctionExtensions("atomicCounterAndARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9614|      6|            symbolTable.setFunctionExtensions("atomicCounterOrARB"      , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9615|      6|            symbolTable.setFunctionExtensions("atomicCounterXorARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9616|      6|            symbolTable.setFunctionExtensions("atomicCounterExchangeARB", 1, &E_GL_ARB_shader_atomic_counter_ops);
 9617|      6|            symbolTable.setFunctionExtensions("atomicCounterCompSwapARB", 1, &E_GL_ARB_shader_atomic_counter_ops);
 9618|      6|        }
 9619|       |
 9620|       |        // E_GL_ARB_derivative_control
 9621|     45|        if (profile != EEsProfile && version < 450) {
  ------------------
  |  Branch (9621:13): [True: 6, False: 39]
  |  Branch (9621:38): [True: 0, False: 6]
  ------------------
 9622|      0|            symbolTable.setFunctionExtensions("dFdxFine",     1, &E_GL_ARB_derivative_control);
 9623|      0|            symbolTable.setFunctionExtensions("dFdyFine",     1, &E_GL_ARB_derivative_control);
 9624|      0|            symbolTable.setFunctionExtensions("fwidthFine",   1, &E_GL_ARB_derivative_control);
 9625|      0|            symbolTable.setFunctionExtensions("dFdxCoarse",   1, &E_GL_ARB_derivative_control);
 9626|      0|            symbolTable.setFunctionExtensions("dFdyCoarse",   1, &E_GL_ARB_derivative_control);
 9627|      0|            symbolTable.setFunctionExtensions("fwidthCoarse", 1, &E_GL_ARB_derivative_control);
 9628|      0|        }
 9629|       |
 9630|       |        // E_GL_ARB_sparse_texture2
 9631|     45|        if (profile != EEsProfile)
  ------------------
  |  Branch (9631:13): [True: 6, False: 39]
  ------------------
 9632|      6|        {
 9633|      6|            symbolTable.setFunctionExtensions("sparseTextureARB",              1, &E_GL_ARB_sparse_texture2);
 9634|      6|            symbolTable.setFunctionExtensions("sparseTextureLodARB",           1, &E_GL_ARB_sparse_texture2);
 9635|      6|            symbolTable.setFunctionExtensions("sparseTextureOffsetARB",        1, &E_GL_ARB_sparse_texture2);
 9636|      6|            symbolTable.setFunctionExtensions("sparseTexelFetchARB",           1, &E_GL_ARB_sparse_texture2);
 9637|      6|            symbolTable.setFunctionExtensions("sparseTexelFetchOffsetARB",     1, &E_GL_ARB_sparse_texture2);
 9638|      6|            symbolTable.setFunctionExtensions("sparseTextureLodOffsetARB",     1, &E_GL_ARB_sparse_texture2);
 9639|      6|            symbolTable.setFunctionExtensions("sparseTextureGradARB",          1, &E_GL_ARB_sparse_texture2);
 9640|      6|            symbolTable.setFunctionExtensions("sparseTextureGradOffsetARB",    1, &E_GL_ARB_sparse_texture2);
 9641|      6|            symbolTable.setFunctionExtensions("sparseTextureGatherARB",        1, &E_GL_ARB_sparse_texture2);
 9642|      6|            symbolTable.setFunctionExtensions("sparseTextureGatherOffsetARB",  1, &E_GL_ARB_sparse_texture2);
 9643|      6|            symbolTable.setFunctionExtensions("sparseTextureGatherOffsetsARB", 1, &E_GL_ARB_sparse_texture2);
 9644|      6|            symbolTable.setFunctionExtensions("sparseImageLoadARB",            1, &E_GL_ARB_sparse_texture2);
 9645|      6|            symbolTable.setFunctionExtensions("sparseTexelsResident",          1, &E_GL_ARB_sparse_texture2);
 9646|      6|        }
 9647|       |
 9648|       |        // E_GL_ARB_sparse_texture_clamp
 9649|     45|        if (profile != EEsProfile)
  ------------------
  |  Branch (9649:13): [True: 6, False: 39]
  ------------------
 9650|      6|        {
 9651|      6|            symbolTable.setFunctionExtensions("sparseTextureClampARB",              1, &E_GL_ARB_sparse_texture_clamp);
 9652|      6|            symbolTable.setFunctionExtensions("sparseTextureOffsetClampARB",        1, &E_GL_ARB_sparse_texture_clamp);
 9653|      6|            symbolTable.setFunctionExtensions("sparseTextureGradClampARB",          1, &E_GL_ARB_sparse_texture_clamp);
 9654|      6|            symbolTable.setFunctionExtensions("sparseTextureGradOffsetClampARB",    1, &E_GL_ARB_sparse_texture_clamp);
 9655|      6|            symbolTable.setFunctionExtensions("textureClampARB",                    1, &E_GL_ARB_sparse_texture_clamp);
 9656|      6|            symbolTable.setFunctionExtensions("textureOffsetClampARB",              1, &E_GL_ARB_sparse_texture_clamp);
 9657|      6|            symbolTable.setFunctionExtensions("textureGradClampARB",                1, &E_GL_ARB_sparse_texture_clamp);
 9658|      6|            symbolTable.setFunctionExtensions("textureGradOffsetClampARB",          1, &E_GL_ARB_sparse_texture_clamp);
 9659|      6|        }
 9660|       |
 9661|       |        // E_GL_AMD_shader_explicit_vertex_parameter
 9662|     45|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9662:13): [True: 6, False: 39]
  ------------------
 9663|      6|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspAMD",         1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9664|      6|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspCentroidAMD", 1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9665|      6|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspSampleAMD",   1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9666|      6|            symbolTable.setVariableExtensions("gl_BaryCoordSmoothAMD",          1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9667|      6|            symbolTable.setVariableExtensions("gl_BaryCoordSmoothCentroidAMD",  1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9668|      6|            symbolTable.setVariableExtensions("gl_BaryCoordSmoothSampleAMD",    1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9669|      6|            symbolTable.setVariableExtensions("gl_BaryCoordPullModelAMD",       1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9670|       |
 9671|      6|            symbolTable.setFunctionExtensions("interpolateAtVertexAMD",         1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9672|       |
 9673|      6|            BuiltInVariable("gl_BaryCoordNoPerspAMD",           EbvBaryCoordNoPersp,         symbolTable);
 9674|      6|            BuiltInVariable("gl_BaryCoordNoPerspCentroidAMD",   EbvBaryCoordNoPerspCentroid, symbolTable);
 9675|      6|            BuiltInVariable("gl_BaryCoordNoPerspSampleAMD",     EbvBaryCoordNoPerspSample,   symbolTable);
 9676|      6|            BuiltInVariable("gl_BaryCoordSmoothAMD",            EbvBaryCoordSmooth,          symbolTable);
 9677|      6|            BuiltInVariable("gl_BaryCoordSmoothCentroidAMD",    EbvBaryCoordSmoothCentroid,  symbolTable);
 9678|      6|            BuiltInVariable("gl_BaryCoordSmoothSampleAMD",      EbvBaryCoordSmoothSample,    symbolTable);
 9679|      6|            BuiltInVariable("gl_BaryCoordPullModelAMD",         EbvBaryCoordPullModel,       symbolTable);
 9680|      6|        }
 9681|       |
 9682|       |        // E_GL_AMD_texture_gather_bias_lod
 9683|     45|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9683:13): [True: 6, False: 39]
  ------------------
 9684|      6|            symbolTable.setFunctionExtensions("textureGatherLodAMD",                1, &E_GL_AMD_texture_gather_bias_lod);
 9685|      6|            symbolTable.setFunctionExtensions("textureGatherLodOffsetAMD",          1, &E_GL_AMD_texture_gather_bias_lod);
 9686|      6|            symbolTable.setFunctionExtensions("textureGatherLodOffsetsAMD",         1, &E_GL_AMD_texture_gather_bias_lod);
 9687|      6|            symbolTable.setFunctionExtensions("sparseTextureGatherLodAMD",          1, &E_GL_AMD_texture_gather_bias_lod);
 9688|      6|            symbolTable.setFunctionExtensions("sparseTextureGatherLodOffsetAMD",    1, &E_GL_AMD_texture_gather_bias_lod);
 9689|      6|            symbolTable.setFunctionExtensions("sparseTextureGatherLodOffsetsAMD",   1, &E_GL_AMD_texture_gather_bias_lod);
 9690|      6|        }
 9691|       |
 9692|       |        // E_GL_AMD_shader_image_load_store_lod
 9693|     45|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9693:13): [True: 6, False: 39]
  ------------------
 9694|      6|            symbolTable.setFunctionExtensions("imageLoadLodAMD",        1, &E_GL_AMD_shader_image_load_store_lod);
 9695|      6|            symbolTable.setFunctionExtensions("imageStoreLodAMD",       1, &E_GL_AMD_shader_image_load_store_lod);
 9696|      6|            symbolTable.setFunctionExtensions("sparseImageLoadLodAMD",  1, &E_GL_AMD_shader_image_load_store_lod);
 9697|      6|        }
 9698|     45|        if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (9698:13): [True: 6, False: 39]
  |  Branch (9698:38): [True: 6, False: 0]
  ------------------
 9699|      6|            symbolTable.setVariableExtensions("gl_FragFullyCoveredNV", 1, &E_GL_NV_conservative_raster_underestimation);
 9700|      6|            BuiltInVariable("gl_FragFullyCoveredNV", EbvFragFullyCoveredNV, symbolTable);
 9701|      6|        }
 9702|     45|        if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (9702:14): [True: 6, False: 39]
  |  Branch (9702:39): [True: 6, False: 0]
  ------------------
 9703|     39|            (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (9703:14): [True: 39, False: 0]
  |  Branch (9703:39): [True: 0, False: 39]
  ------------------
 9704|      6|            symbolTable.setVariableExtensions("gl_FragmentSizeNV",        1, &E_GL_NV_shading_rate_image);
 9705|      6|            symbolTable.setVariableExtensions("gl_InvocationsPerPixelNV", 1, &E_GL_NV_shading_rate_image);
 9706|      6|            BuiltInVariable("gl_FragmentSizeNV",        EbvFragmentSizeNV, symbolTable);
 9707|      6|            BuiltInVariable("gl_InvocationsPerPixelNV", EbvInvocationsPerPixelNV, symbolTable);
 9708|      6|            symbolTable.setVariableExtensions("gl_BaryCoordNV",        1, &E_GL_NV_fragment_shader_barycentric);
 9709|      6|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspNV", 1, &E_GL_NV_fragment_shader_barycentric);
 9710|      6|            BuiltInVariable("gl_BaryCoordNV",        EbvBaryCoordNV,        symbolTable);
 9711|      6|            BuiltInVariable("gl_BaryCoordNoPerspNV", EbvBaryCoordNoPerspNV, symbolTable);
 9712|      6|            symbolTable.setVariableExtensions("gl_BaryCoordEXT",        1, &E_GL_EXT_fragment_shader_barycentric);
 9713|      6|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspEXT", 1, &E_GL_EXT_fragment_shader_barycentric);
 9714|      6|            BuiltInVariable("gl_BaryCoordEXT",        EbvBaryCoordEXT,        symbolTable);
 9715|      6|            BuiltInVariable("gl_BaryCoordNoPerspEXT", EbvBaryCoordNoPerspEXT, symbolTable);
 9716|      6|        }
 9717|       |
 9718|     45|        if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (9718:14): [True: 6, False: 39]
  |  Branch (9718:39): [True: 6, False: 0]
  ------------------
 9719|     39|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9719:14): [True: 39, False: 0]
  |  Branch (9719:39): [True: 0, False: 39]
  ------------------
 9720|      6|            symbolTable.setVariableExtensions("gl_FragSizeEXT",            1, &E_GL_EXT_fragment_invocation_density);
 9721|      6|            symbolTable.setVariableExtensions("gl_FragInvocationCountEXT", 1, &E_GL_EXT_fragment_invocation_density);
 9722|      6|            BuiltInVariable("gl_FragSizeEXT",            EbvFragSizeEXT, symbolTable);
 9723|      6|            BuiltInVariable("gl_FragInvocationCountEXT", EbvFragInvocationCountEXT, symbolTable);
 9724|      6|        }
 9725|       |
 9726|     45|        symbolTable.setVariableExtensions("gl_FragDepthEXT", 1, &E_GL_EXT_frag_depth);
 9727|       |
 9728|     45|        symbolTable.setFunctionExtensions("clockARB",     1, &E_GL_ARB_shader_clock);
 9729|     45|        symbolTable.setFunctionExtensions("clock2x32ARB", 1, &E_GL_ARB_shader_clock);
 9730|       |
 9731|     45|        symbolTable.setFunctionExtensions("clockRealtimeEXT", 1, &E_GL_EXT_shader_realtime_clock);
 9732|     45|        symbolTable.setFunctionExtensions("clockRealtime2x32EXT", 1, &E_GL_EXT_shader_realtime_clock);
 9733|       |
 9734|     45|        if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9734:13): [True: 39, False: 6]
  |  Branch (9734:38): [True: 39, False: 0]
  ------------------
 9735|     39|            symbolTable.setVariableExtensions("gl_PrimitiveID",  Num_AEP_geometry_shader, AEP_geometry_shader);
 9736|     39|            symbolTable.setVariableExtensions("gl_Layer",        Num_AEP_geometry_shader, AEP_geometry_shader);
 9737|     39|        }
 9738|       |
 9739|     45|        if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9739:13): [True: 39, False: 6]
  |  Branch (9739:38): [True: 39, False: 0]
  ------------------
 9740|     39|            symbolTable.setFunctionExtensions("imageAtomicAdd",      1, &E_GL_OES_shader_image_atomic);
 9741|     39|            symbolTable.setFunctionExtensions("imageAtomicMin",      1, &E_GL_OES_shader_image_atomic);
 9742|     39|            symbolTable.setFunctionExtensions("imageAtomicMax",      1, &E_GL_OES_shader_image_atomic);
 9743|     39|            symbolTable.setFunctionExtensions("imageAtomicAnd",      1, &E_GL_OES_shader_image_atomic);
 9744|     39|            symbolTable.setFunctionExtensions("imageAtomicOr",       1, &E_GL_OES_shader_image_atomic);
 9745|     39|            symbolTable.setFunctionExtensions("imageAtomicXor",      1, &E_GL_OES_shader_image_atomic);
 9746|     39|            symbolTable.setFunctionExtensions("imageAtomicExchange", 1, &E_GL_OES_shader_image_atomic);
 9747|     39|            symbolTable.setFunctionExtensions("imageAtomicCompSwap", 1, &E_GL_OES_shader_image_atomic);
 9748|     39|        }
 9749|       |
 9750|     45|        if (profile != EEsProfile && version < 330 ) {
  ------------------
  |  Branch (9750:13): [True: 6, False: 39]
  |  Branch (9750:38): [True: 0, False: 6]
  ------------------
 9751|      0|            const int numBitEncodingExts = 3;
 9752|      0|            const char* bitEncodingExts[numBitEncodingExts] = { E_GL_ARB_shader_bit_encoding,
 9753|      0|                                                                E_GL_ARB_gpu_shader5,
 9754|      0|                                                                E_GL_NV_gpu_shader5};
 9755|      0|            symbolTable.setFunctionExtensions("floatBitsToInt", numBitEncodingExts, bitEncodingExts);
 9756|      0|            symbolTable.setFunctionExtensions("floatBitsToUint", numBitEncodingExts, bitEncodingExts);
 9757|      0|            symbolTable.setFunctionExtensions("intBitsToFloat", numBitEncodingExts, bitEncodingExts);
 9758|      0|            symbolTable.setFunctionExtensions("uintBitsToFloat", numBitEncodingExts, bitEncodingExts);
 9759|       |
 9760|      0|        }
 9761|       |
 9762|     45|        if (profile != EEsProfile && version < 430 ) {
  ------------------
  |  Branch (9762:13): [True: 6, False: 39]
  |  Branch (9762:38): [True: 0, False: 6]
  ------------------
 9763|      0|            symbolTable.setFunctionExtensions("imageSize", 1, &E_GL_ARB_shader_image_size);
 9764|      0|        }
 9765|       |
 9766|       |        // GL_ARB_shader_storage_buffer_object
 9767|     45|        if (profile != EEsProfile && version < 430 ) {
  ------------------
  |  Branch (9767:13): [True: 6, False: 39]
  |  Branch (9767:38): [True: 0, False: 6]
  ------------------
 9768|      0|            symbolTable.setFunctionExtensions("atomicAdd", 1, &E_GL_ARB_shader_storage_buffer_object);
 9769|      0|            symbolTable.setFunctionExtensions("atomicMin", 1, &E_GL_ARB_shader_storage_buffer_object);
 9770|      0|            symbolTable.setFunctionExtensions("atomicMax", 1, &E_GL_ARB_shader_storage_buffer_object);
 9771|      0|            symbolTable.setFunctionExtensions("atomicAnd", 1, &E_GL_ARB_shader_storage_buffer_object);
 9772|      0|            symbolTable.setFunctionExtensions("atomicOr", 1, &E_GL_ARB_shader_storage_buffer_object);
 9773|      0|            symbolTable.setFunctionExtensions("atomicXor", 1, &E_GL_ARB_shader_storage_buffer_object);
 9774|      0|            symbolTable.setFunctionExtensions("atomicExchange", 1, &E_GL_ARB_shader_storage_buffer_object);
 9775|      0|            symbolTable.setFunctionExtensions("atomicCompSwap", 1, &E_GL_ARB_shader_storage_buffer_object);
 9776|      0|        }
 9777|       |
 9778|       |        // GL_ARB_shading_language_packing
 9779|     45|        if (profile != EEsProfile && version < 400 ) {
  ------------------
  |  Branch (9779:13): [True: 6, False: 39]
  |  Branch (9779:38): [True: 0, False: 6]
  ------------------
 9780|      0|            const int numPackingExts = 3;
 9781|      0|            const char* packingExts[numPackingExts] = { E_GL_ARB_shading_language_packing,
 9782|      0|                                                                E_GL_ARB_gpu_shader5,
 9783|      0|                                                                E_GL_NV_gpu_shader5};
 9784|      0|            symbolTable.setFunctionExtensions("packUnorm2x16", numPackingExts, packingExts);
 9785|      0|            symbolTable.setFunctionExtensions("unpackUnorm2x16", numPackingExts, packingExts);
 9786|      0|            symbolTable.setFunctionExtensions("packSnorm4x8", numPackingExts, packingExts);
 9787|      0|            symbolTable.setFunctionExtensions("packUnorm4x8", numPackingExts, packingExts);
 9788|      0|            symbolTable.setFunctionExtensions("unpackSnorm4x8", numPackingExts, packingExts);
 9789|      0|            symbolTable.setFunctionExtensions("unpackUnorm4x8", numPackingExts, packingExts);
 9790|      0|        }
 9791|     45|        if (profile != EEsProfile && version < 420 ) {
  ------------------
  |  Branch (9791:13): [True: 6, False: 39]
  |  Branch (9791:38): [True: 0, False: 6]
  ------------------
 9792|      0|            symbolTable.setFunctionExtensions("packSnorm2x16", 1, &E_GL_ARB_shading_language_packing);
 9793|      0|            symbolTable.setFunctionExtensions("unpackSnorm2x16", 1, &E_GL_ARB_shading_language_packing);
 9794|      0|            symbolTable.setFunctionExtensions("unpackHalf2x16", 1, &E_GL_ARB_shading_language_packing);
 9795|      0|            symbolTable.setFunctionExtensions("packHalf2x16", 1, &E_GL_ARB_shading_language_packing);
 9796|      0|        }
 9797|       |
 9798|     45|        symbolTable.setVariableExtensions("gl_DeviceIndex",  1, &E_GL_EXT_device_group);
 9799|     45|        BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
 9800|     45|        symbolTable.setVariableExtensions("gl_ViewIndex", 1, &E_GL_EXT_multiview);
 9801|     45|        BuiltInVariable("gl_ViewIndex", EbvViewIndex, symbolTable);
 9802|     45|        if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (9802:13): [True: 6, False: 39]
  ------------------
 9803|      6|            symbolTable.setVariableExtensions("gl_ViewID_OVR", Num_OVR_multiview_EXTs, OVR_multiview_EXTs);
 9804|      6|            BuiltInVariable("gl_ViewID_OVR", EbvViewIndex, symbolTable);
 9805|      6|        }
 9806|       |
 9807|       |        // GL_ARB_shader_ballot
 9808|     45|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9808:13): [True: 6, False: 39]
  ------------------
 9809|      6|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
 9810|      6|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
 9811|      6|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
 9812|      6|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9813|      6|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9814|      6|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9815|      6|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9816|       |
 9817|      6|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
 9818|      6|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
 9819|      6|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
 9820|      6|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
 9821|      6|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
 9822|      6|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
 9823|       |
 9824|      6|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (9824:17): [True: 0, False: 6]
  ------------------
 9825|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
 9826|      0|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
 9827|      0|                if (language == EShLangFragment)
  ------------------
  |  Branch (9827:21): [True: 0, False: 0]
  ------------------
 9828|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
 9829|      0|            }
 9830|      6|            else
 9831|      6|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
 9832|      6|        }
 9833|       |
 9834|       |        // GL_EXT_expect_assume
 9835|     45|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9835:14): [True: 39, False: 6]
  |  Branch (9835:39): [True: 0, False: 39]
  ------------------
 9836|     45|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (9836:14): [True: 6, False: 39]
  |  Branch (9836:39): [True: 6, False: 0]
  ------------------
 9837|      6|            symbolTable.setFunctionExtensions("assumeEXT", 1, &E_GL_EXT_expect_assume);
 9838|      6|            symbolTable.setFunctionExtensions("expectEXT", 1, &E_GL_EXT_expect_assume);
 9839|      6|        }
 9840|       |
 9841|       |        // GL_KHR_shader_subgroup
 9842|     45|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9842:14): [True: 39, False: 6]
  |  Branch (9842:39): [True: 0, False: 39]
  ------------------
 9843|     45|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (9843:14): [True: 6, False: 39]
  |  Branch (9843:39): [True: 6, False: 0]
  ------------------
 9844|      6|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
 9845|      6|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
 9846|      6|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9847|      6|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9848|      6|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9849|      6|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9850|      6|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9851|       |
 9852|      6|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
 9853|      6|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
 9854|      6|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
 9855|      6|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
 9856|      6|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
 9857|      6|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
 9858|      6|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
 9859|       |
 9860|      6|            symbolTable.setFunctionExtensions("subgroupBarrier",                 1, &E_GL_KHR_shader_subgroup_basic);
 9861|      6|            symbolTable.setFunctionExtensions("subgroupMemoryBarrier",           1, &E_GL_KHR_shader_subgroup_basic);
 9862|      6|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierBuffer",     1, &E_GL_KHR_shader_subgroup_basic);
 9863|      6|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierImage",      1, &E_GL_KHR_shader_subgroup_basic);
 9864|      6|            symbolTable.setFunctionExtensions("subgroupElect",                   1, &E_GL_KHR_shader_subgroup_basic);
 9865|      6|            symbolTable.setFunctionExtensions("subgroupAll",                     1, &E_GL_KHR_shader_subgroup_vote);
 9866|      6|            symbolTable.setFunctionExtensions("subgroupAny",                     1, &E_GL_KHR_shader_subgroup_vote);
 9867|      6|            symbolTable.setFunctionExtensions("subgroupAllEqual",                1, &E_GL_KHR_shader_subgroup_vote);
 9868|      6|            symbolTable.setFunctionExtensions("subgroupBroadcast",               1, &E_GL_KHR_shader_subgroup_ballot);
 9869|      6|            symbolTable.setFunctionExtensions("subgroupBroadcastFirst",          1, &E_GL_KHR_shader_subgroup_ballot);
 9870|      6|            symbolTable.setFunctionExtensions("subgroupBallot",                  1, &E_GL_KHR_shader_subgroup_ballot);
 9871|      6|            symbolTable.setFunctionExtensions("subgroupInverseBallot",           1, &E_GL_KHR_shader_subgroup_ballot);
 9872|      6|            symbolTable.setFunctionExtensions("subgroupBallotBitExtract",        1, &E_GL_KHR_shader_subgroup_ballot);
 9873|      6|            symbolTable.setFunctionExtensions("subgroupBallotBitCount",          1, &E_GL_KHR_shader_subgroup_ballot);
 9874|      6|            symbolTable.setFunctionExtensions("subgroupBallotInclusiveBitCount", 1, &E_GL_KHR_shader_subgroup_ballot);
 9875|      6|            symbolTable.setFunctionExtensions("subgroupBallotExclusiveBitCount", 1, &E_GL_KHR_shader_subgroup_ballot);
 9876|      6|            symbolTable.setFunctionExtensions("subgroupBallotFindLSB",           1, &E_GL_KHR_shader_subgroup_ballot);
 9877|      6|            symbolTable.setFunctionExtensions("subgroupBallotFindMSB",           1, &E_GL_KHR_shader_subgroup_ballot);
 9878|      6|            symbolTable.setFunctionExtensions("subgroupShuffle",                 1, &E_GL_KHR_shader_subgroup_shuffle);
 9879|      6|            symbolTable.setFunctionExtensions("subgroupShuffleXor",              1, &E_GL_KHR_shader_subgroup_shuffle);
 9880|      6|            symbolTable.setFunctionExtensions("subgroupShuffleUp",               1, &E_GL_KHR_shader_subgroup_shuffle_relative);
 9881|      6|            symbolTable.setFunctionExtensions("subgroupShuffleDown",             1, &E_GL_KHR_shader_subgroup_shuffle_relative);
 9882|      6|            symbolTable.setFunctionExtensions("subgroupRotate",                  1, &E_GL_KHR_shader_subgroup_rotate);
 9883|      6|            symbolTable.setFunctionExtensions("subgroupClusteredRotate",         1, &E_GL_KHR_shader_subgroup_rotate);
 9884|      6|            symbolTable.setFunctionExtensions("subgroupAdd",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
 9885|      6|            symbolTable.setFunctionExtensions("subgroupMul",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
 9886|      6|            symbolTable.setFunctionExtensions("subgroupMin",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
 9887|      6|            symbolTable.setFunctionExtensions("subgroupMax",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
 9888|      6|            symbolTable.setFunctionExtensions("subgroupAnd",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
 9889|      6|            symbolTable.setFunctionExtensions("subgroupOr",                      1, &E_GL_KHR_shader_subgroup_arithmetic);
 9890|      6|            symbolTable.setFunctionExtensions("subgroupXor",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
 9891|      6|            symbolTable.setFunctionExtensions("subgroupInclusiveAdd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9892|      6|            symbolTable.setFunctionExtensions("subgroupInclusiveMul",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9893|      6|            symbolTable.setFunctionExtensions("subgroupInclusiveMin",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9894|      6|            symbolTable.setFunctionExtensions("subgroupInclusiveMax",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9895|      6|            symbolTable.setFunctionExtensions("subgroupInclusiveAnd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9896|      6|            symbolTable.setFunctionExtensions("subgroupInclusiveOr",             1, &E_GL_KHR_shader_subgroup_arithmetic);
 9897|      6|            symbolTable.setFunctionExtensions("subgroupInclusiveXor",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9898|      6|            symbolTable.setFunctionExtensions("subgroupExclusiveAdd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9899|      6|            symbolTable.setFunctionExtensions("subgroupExclusiveMul",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9900|      6|            symbolTable.setFunctionExtensions("subgroupExclusiveMin",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9901|      6|            symbolTable.setFunctionExtensions("subgroupExclusiveMax",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9902|      6|            symbolTable.setFunctionExtensions("subgroupExclusiveAnd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9903|      6|            symbolTable.setFunctionExtensions("subgroupExclusiveOr",             1, &E_GL_KHR_shader_subgroup_arithmetic);
 9904|      6|            symbolTable.setFunctionExtensions("subgroupExclusiveXor",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9905|      6|            symbolTable.setFunctionExtensions("subgroupClusteredAdd",            1, &E_GL_KHR_shader_subgroup_clustered);
 9906|      6|            symbolTable.setFunctionExtensions("subgroupClusteredMul",            1, &E_GL_KHR_shader_subgroup_clustered);
 9907|      6|            symbolTable.setFunctionExtensions("subgroupClusteredMin",            1, &E_GL_KHR_shader_subgroup_clustered);
 9908|      6|            symbolTable.setFunctionExtensions("subgroupClusteredMax",            1, &E_GL_KHR_shader_subgroup_clustered);
 9909|      6|            symbolTable.setFunctionExtensions("subgroupClusteredAnd",            1, &E_GL_KHR_shader_subgroup_clustered);
 9910|      6|            symbolTable.setFunctionExtensions("subgroupClusteredOr",             1, &E_GL_KHR_shader_subgroup_clustered);
 9911|      6|            symbolTable.setFunctionExtensions("subgroupClusteredXor",            1, &E_GL_KHR_shader_subgroup_clustered);
 9912|      6|            symbolTable.setFunctionExtensions("subgroupQuadBroadcast",           1, &E_GL_KHR_shader_subgroup_quad);
 9913|      6|            symbolTable.setFunctionExtensions("subgroupQuadSwapHorizontal",      1, &E_GL_KHR_shader_subgroup_quad);
 9914|      6|            symbolTable.setFunctionExtensions("subgroupQuadSwapVertical",        1, &E_GL_KHR_shader_subgroup_quad);
 9915|      6|            symbolTable.setFunctionExtensions("subgroupQuadSwapDiagonal",        1, &E_GL_KHR_shader_subgroup_quad);
 9916|      6|            symbolTable.setFunctionExtensions("subgroupPartitionNV",                          1, &E_GL_NV_shader_subgroup_partitioned);
 9917|      6|            symbolTable.setFunctionExtensions("subgroupPartitionedAddNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
 9918|      6|            symbolTable.setFunctionExtensions("subgroupPartitionedMulNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
 9919|      6|            symbolTable.setFunctionExtensions("subgroupPartitionedMinNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
 9920|      6|            symbolTable.setFunctionExtensions("subgroupPartitionedMaxNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
 9921|      6|            symbolTable.setFunctionExtensions("subgroupPartitionedAndNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
 9922|      6|            symbolTable.setFunctionExtensions("subgroupPartitionedOrNV",                      1, &E_GL_NV_shader_subgroup_partitioned);
 9923|      6|            symbolTable.setFunctionExtensions("subgroupPartitionedXorNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
 9924|      6|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveAddNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9925|      6|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveMulNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9926|      6|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveMinNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9927|      6|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveMaxNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9928|      6|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveAndNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9929|      6|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveOrNV",             1, &E_GL_NV_shader_subgroup_partitioned);
 9930|      6|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveXorNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9931|      6|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveAddNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9932|      6|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveMulNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9933|      6|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveMinNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9934|      6|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveMaxNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9935|      6|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveAndNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9936|      6|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveOrNV",             1, &E_GL_NV_shader_subgroup_partitioned);
 9937|      6|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveXorNV",            1, &E_GL_NV_shader_subgroup_partitioned);
 9938|       |
 9939|       |            // GL_NV_shader_sm_builtins
 9940|      6|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
 9941|      6|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
 9942|      6|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
 9943|      6|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
 9944|      6|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
 9945|      6|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
 9946|      6|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
 9947|      6|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
 9948|       |
 9949|       |            // GL_ARM_shader_core_builtins
 9950|      6|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
 9951|      6|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
 9952|      6|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
 9953|      6|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
 9954|      6|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
 9955|       |
 9956|      6|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
 9957|      6|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
 9958|      6|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
 9959|      6|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
 9960|      6|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
 9961|      6|        }
 9962|       |
 9963|     45|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9963:13): [True: 39, False: 6]
  ------------------
 9964|     39|            symbolTable.setFunctionExtensions("shadow2DEXT",        1, &E_GL_EXT_shadow_samplers);
 9965|     39|            symbolTable.setFunctionExtensions("shadow2DProjEXT",    1, &E_GL_EXT_shadow_samplers);
 9966|     39|        }
 9967|       |
 9968|     45|        if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (9968:13): [True: 0, False: 45]
  ------------------
 9969|      0|            symbolTable.setVariableExtensions("gl_ScopeDevice",             1, &E_GL_KHR_memory_scope_semantics);
 9970|      0|            symbolTable.setVariableExtensions("gl_ScopeWorkgroup",          1, &E_GL_KHR_memory_scope_semantics);
 9971|      0|            symbolTable.setVariableExtensions("gl_ScopeSubgroup",           1, &E_GL_KHR_memory_scope_semantics);
 9972|      0|            symbolTable.setVariableExtensions("gl_ScopeInvocation",         1, &E_GL_KHR_memory_scope_semantics);
 9973|       |
 9974|      0|            symbolTable.setVariableExtensions("gl_SemanticsRelaxed",        1, &E_GL_KHR_memory_scope_semantics);
 9975|      0|            symbolTable.setVariableExtensions("gl_SemanticsAcquire",        1, &E_GL_KHR_memory_scope_semantics);
 9976|      0|            symbolTable.setVariableExtensions("gl_SemanticsRelease",        1, &E_GL_KHR_memory_scope_semantics);
 9977|      0|            symbolTable.setVariableExtensions("gl_SemanticsAcquireRelease", 1, &E_GL_KHR_memory_scope_semantics);
 9978|      0|            symbolTable.setVariableExtensions("gl_SemanticsMakeAvailable",  1, &E_GL_KHR_memory_scope_semantics);
 9979|      0|            symbolTable.setVariableExtensions("gl_SemanticsMakeVisible",    1, &E_GL_KHR_memory_scope_semantics);
 9980|      0|            symbolTable.setVariableExtensions("gl_SemanticsVolatile",       1, &E_GL_KHR_memory_scope_semantics);
 9981|       |
 9982|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsNone",    1, &E_GL_KHR_memory_scope_semantics);
 9983|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsBuffer",  1, &E_GL_KHR_memory_scope_semantics);
 9984|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsShared",  1, &E_GL_KHR_memory_scope_semantics);
 9985|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsImage",   1, &E_GL_KHR_memory_scope_semantics);
 9986|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsOutput",  1, &E_GL_KHR_memory_scope_semantics);
 9987|      0|        }
 9988|       |
 9989|     45|        symbolTable.setFunctionExtensions("helperInvocationEXT",            1, &E_GL_EXT_demote_to_helper_invocation);
 9990|       |
 9991|     45|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9991:14): [True: 39, False: 6]
  |  Branch (9991:39): [True: 0, False: 39]
  ------------------
 9992|     45|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (9992:14): [True: 6, False: 39]
  |  Branch (9992:39): [True: 6, False: 0]
  ------------------
 9993|      6|            symbolTable.setVariableExtensions("gl_ShadingRateEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9994|      6|            BuiltInVariable("gl_ShadingRateEXT", EbvShadingRateKHR, symbolTable);
 9995|       |
 9996|      6|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9997|      6|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9998|      6|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9999|      6|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10000|      6|        }
10001|       |
10002|       |        // GL_EXT_shader_quad_control
10003|     45|        if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (10003:14): [True: 6, False: 39]
  |  Branch (10003:39): [True: 6, False: 0]
  ------------------
10004|     39|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (10004:14): [True: 39, False: 0]
  |  Branch (10004:39): [True: 0, False: 39]
  ------------------
10005|      6|            symbolTable.setFunctionExtensions("subgroupQuadAll",                     1,  &E_GL_KHR_shader_subgroup_vote);
10006|      6|            symbolTable.setFunctionExtensions("subgroupQuadAny",                     1,  &E_GL_KHR_shader_subgroup_vote);
10007|      6|        }
10008|       |
10009|       |        // GL_EXT_shader_tile_image
10010|     45|        symbolTable.setFunctionExtensions("stencilAttachmentReadEXT", 1, &E_GL_EXT_shader_tile_image);
10011|     45|        symbolTable.setFunctionExtensions("depthAttachmentReadEXT", 1, &E_GL_EXT_shader_tile_image);
10012|     45|        symbolTable.setFunctionExtensions("colorAttachmentReadEXT", 1, &E_GL_EXT_shader_tile_image);
10013|       |
10014|     45|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10014:14): [True: 39, False: 6]
  |  Branch (10014:39): [True: 0, False: 39]
  ------------------
10015|     45|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10015:14): [True: 6, False: 39]
  |  Branch (10015:39): [True: 6, False: 0]
  ------------------
10016|       |
10017|      6|            symbolTable.setFunctionExtensions("textureWeightedQCOM",      1, &E_GL_QCOM_image_processing);
10018|      6|            symbolTable.setFunctionExtensions("textureBoxFilterQCOM",     1, &E_GL_QCOM_image_processing);
10019|      6|            symbolTable.setFunctionExtensions("textureBlockMatchSADQCOM", 1, &E_GL_QCOM_image_processing);
10020|      6|            symbolTable.setFunctionExtensions("textureBlockMatchSSDQCOM", 1, &E_GL_QCOM_image_processing);
10021|       |
10022|      6|            symbolTable.setFunctionExtensions("textureBlockMatchWindowSSDQCOM", 1, &E_GL_QCOM_image_processing2);
10023|      6|            symbolTable.setFunctionExtensions("textureBlockMatchWindowSADQCOM", 1, &E_GL_QCOM_image_processing2);
10024|      6|            symbolTable.setFunctionExtensions("textureBlockMatchGatherSSDQCOM", 1, &E_GL_QCOM_image_processing2);
10025|      6|            symbolTable.setFunctionExtensions("textureBlockMatchGatherSADQCOM", 1, &E_GL_QCOM_image_processing2);
10026|      6|        }
10027|       |
10028|     45|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10028:14): [True: 39, False: 6]
  |  Branch (10028:39): [True: 0, False: 39]
  ------------------
10029|     45|            (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10029:14): [True: 6, False: 39]
  |  Branch (10029:39): [True: 0, False: 6]
  ------------------
10030|      0|            BuiltInVariable("gl_TileOffsetQCOM",    EbvTileOffsetQCOM,      symbolTable);
10031|      0|            BuiltInVariable("gl_TileDimensionQCOM", EbvTileDimensionQCOM,   symbolTable);
10032|      0|            BuiltInVariable("gl_TileApronSizeQCOM", EbvTileApronSizeQCOM,   symbolTable);
10033|       |
10034|      0|            symbolTable.setVariableExtensions("gl_TileOffsetQCOM",        1, &E_GL_QCOM_tile_shading);
10035|      0|            symbolTable.setVariableExtensions("gl_TileDimensionQCOM",     1, &E_GL_QCOM_tile_shading);
10036|      0|            symbolTable.setVariableExtensions("gl_TileApronSizeQCOM",     1, &E_GL_QCOM_tile_shading);
10037|      0|        }
10038|     45|        break;
10039|       |
10040|      7|    case EShLangCompute:
  ------------------
  |  Branch (10040:5): [True: 7, False: 168]
  ------------------
10041|      7|        BuiltInVariable("gl_NumWorkGroups",         EbvNumWorkGroups,        symbolTable);
10042|      7|        BuiltInVariable("gl_WorkGroupSize",         EbvWorkGroupSize,        symbolTable);
10043|      7|        BuiltInVariable("gl_WorkGroupID",           EbvWorkGroupId,          symbolTable);
10044|      7|        BuiltInVariable("gl_LocalInvocationID",     EbvLocalInvocationId,    symbolTable);
10045|      7|        BuiltInVariable("gl_GlobalInvocationID",    EbvGlobalInvocationId,   symbolTable);
10046|      7|        BuiltInVariable("gl_LocalInvocationIndex",  EbvLocalInvocationIndex, symbolTable);
10047|      7|        BuiltInVariable("gl_DeviceIndex",           EbvDeviceIndex,          symbolTable);
10048|      7|        BuiltInVariable("gl_ViewIndex",             EbvViewIndex,            symbolTable);
10049|       |
10050|      7|        if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (10050:14): [True: 7, False: 0]
  |  Branch (10050:39): [True: 7, False: 0]
  ------------------
10051|      7|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (10051:14): [True: 0, False: 0]
  |  Branch (10051:39): [True: 0, False: 0]
  ------------------
10052|      7|            symbolTable.setVariableExtensions("gl_DeviceIndex",  1, &E_GL_EXT_device_group);
10053|      7|            symbolTable.setVariableExtensions("gl_ViewIndex",    1, &E_GL_EXT_multiview);
10054|      7|        }
10055|       |
10056|      7|        if (profile != EEsProfile && version < 430) {
  ------------------
  |  Branch (10056:13): [True: 7, False: 0]
  |  Branch (10056:38): [True: 0, False: 7]
  ------------------
10057|      0|            symbolTable.setVariableExtensions("gl_NumWorkGroups",        1, &E_GL_ARB_compute_shader);
10058|      0|            symbolTable.setVariableExtensions("gl_WorkGroupSize",        1, &E_GL_ARB_compute_shader);
10059|      0|            symbolTable.setVariableExtensions("gl_WorkGroupID",          1, &E_GL_ARB_compute_shader);
10060|      0|            symbolTable.setVariableExtensions("gl_LocalInvocationID",    1, &E_GL_ARB_compute_shader);
10061|      0|            symbolTable.setVariableExtensions("gl_GlobalInvocationID",   1, &E_GL_ARB_compute_shader);
10062|      0|            symbolTable.setVariableExtensions("gl_LocalInvocationIndex", 1, &E_GL_ARB_compute_shader);
10063|       |
10064|      0|            symbolTable.setVariableExtensions("gl_MaxComputeWorkGroupCount",       1, &E_GL_ARB_compute_shader);
10065|      0|            symbolTable.setVariableExtensions("gl_MaxComputeWorkGroupSize",        1, &E_GL_ARB_compute_shader);
10066|      0|            symbolTable.setVariableExtensions("gl_MaxComputeUniformComponents",    1, &E_GL_ARB_compute_shader);
10067|      0|            symbolTable.setVariableExtensions("gl_MaxComputeTextureImageUnits",    1, &E_GL_ARB_compute_shader);
10068|      0|            symbolTable.setVariableExtensions("gl_MaxComputeImageUniforms",        1, &E_GL_ARB_compute_shader);
10069|      0|            symbolTable.setVariableExtensions("gl_MaxComputeAtomicCounters",       1, &E_GL_ARB_compute_shader);
10070|      0|            symbolTable.setVariableExtensions("gl_MaxComputeAtomicCounterBuffers", 1, &E_GL_ARB_compute_shader);
10071|       |
10072|      0|            symbolTable.setFunctionExtensions("barrier",                    1, &E_GL_ARB_compute_shader);
10073|      0|            symbolTable.setFunctionExtensions("memoryBarrierAtomicCounter", 1, &E_GL_ARB_compute_shader);
10074|      0|            symbolTable.setFunctionExtensions("memoryBarrierBuffer",        1, &E_GL_ARB_compute_shader);
10075|      0|            symbolTable.setFunctionExtensions("memoryBarrierImage",         1, &E_GL_ARB_compute_shader);
10076|      0|            symbolTable.setFunctionExtensions("memoryBarrierShared",        1, &E_GL_ARB_compute_shader);
10077|      0|            symbolTable.setFunctionExtensions("groupMemoryBarrier",         1, &E_GL_ARB_compute_shader);
10078|      0|        }
10079|       |
10080|       |
10081|      7|        symbolTable.setFunctionExtensions("controlBarrier",                 1, &E_GL_KHR_memory_scope_semantics);
10082|      7|        symbolTable.setFunctionExtensions("debugPrintfEXT",                 1, &E_GL_EXT_debug_printf);
10083|      7|        symbolTable.setFunctionExtensions("abortEXT",                       1, &E_GL_EXT_abort);
10084|       |
10085|       |        // GL_ARB_shader_ballot
10086|      7|        if (profile != EEsProfile) {
  ------------------
  |  Branch (10086:13): [True: 7, False: 0]
  ------------------
10087|      7|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10088|      7|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10089|      7|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10090|      7|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10091|      7|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10092|      7|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10093|      7|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10094|       |
10095|      7|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10096|      7|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10097|      7|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10098|      7|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10099|      7|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10100|      7|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10101|       |
10102|      7|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10102:17): [True: 1, False: 6]
  ------------------
10103|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10104|      1|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10105|      1|                if (language == EShLangFragment)
  ------------------
  |  Branch (10105:21): [True: 0, False: 1]
  ------------------
10106|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10107|      1|            }
10108|      6|            else
10109|      6|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10110|      7|        }
10111|       |
10112|       |        // GL_KHR_shader_subgroup
10113|      7|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10113:14): [True: 0, False: 7]
  |  Branch (10113:39): [True: 0, False: 0]
  ------------------
10114|      7|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10114:14): [True: 7, False: 0]
  |  Branch (10114:39): [True: 7, False: 0]
  ------------------
10115|      7|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10116|      7|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10117|      7|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10118|      7|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10119|      7|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10120|      7|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10121|      7|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10122|       |
10123|      7|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10124|      7|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10125|      7|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10126|      7|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10127|      7|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10128|      7|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10129|      7|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10130|       |
10131|       |            // GL_NV_shader_sm_builtins
10132|      7|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10133|      7|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10134|      7|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10135|      7|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10136|      7|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10137|      7|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10138|      7|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10139|      7|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10140|       |
10141|       |            // GL_ARM_shader_core_builtins
10142|      7|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10143|      7|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10144|      7|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10145|      7|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10146|      7|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10147|       |
10148|      7|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10149|      7|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10150|      7|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10151|      7|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10152|      7|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10153|      7|        }
10154|       |
10155|       |        // GL_KHR_shader_subgroup
10156|      7|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10156:14): [True: 0, False: 7]
  |  Branch (10156:39): [True: 0, False: 0]
  ------------------
10157|      7|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10157:14): [True: 7, False: 0]
  |  Branch (10157:39): [True: 7, False: 0]
  ------------------
10158|      7|            symbolTable.setVariableExtensions("gl_NumSubgroups", 1, &E_GL_KHR_shader_subgroup_basic);
10159|      7|            symbolTable.setVariableExtensions("gl_SubgroupID",   1, &E_GL_KHR_shader_subgroup_basic);
10160|       |
10161|      7|            BuiltInVariable("gl_NumSubgroups", EbvNumSubgroups, symbolTable);
10162|      7|            BuiltInVariable("gl_SubgroupID",   EbvSubgroupID,   symbolTable);
10163|       |
10164|      7|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierShared", 1, &E_GL_KHR_shader_subgroup_basic);
10165|      7|        }
10166|       |
10167|      7|        {
10168|      7|            const char *coopExt[2] = { E_GL_NV_cooperative_matrix, E_GL_NV_integer_cooperative_matrix };
10169|      7|            symbolTable.setFunctionExtensions("coopMatLoadNV",   2, coopExt);
10170|      7|            symbolTable.setFunctionExtensions("coopMatStoreNV",  2, coopExt);
10171|      7|            symbolTable.setFunctionExtensions("coopMatMulAddNV", 2, coopExt);
10172|      7|        }
10173|       |
10174|      7|        {
10175|      7|            auto coopMatKHRCallback = [](const char *name) -> std::vector<const char *> {
10176|      7|                std::vector<const char *> ret;
10177|      7|                if (strstr(name, "u64") != nullptr) {
10178|      7|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10179|      7|                } else {
10180|      7|                    ret.push_back(E_GL_KHR_cooperative_matrix);
10181|      7|                }
10182|      7|                return ret;
10183|      7|            };
10184|      7|            auto coopMat2NVCallback = [](const char *name) -> std::vector<const char *> {
10185|      7|                std::vector<const char *> ret;
10186|      7|                if (strstr(name, "u64") != nullptr) {
10187|      7|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10188|      7|                } else {
10189|      7|                    ret.push_back(E_GL_NV_cooperative_matrix2);
10190|      7|                }
10191|      7|                return ret;
10192|      7|            };
10193|       |
10194|      7|            symbolTable.setFunctionExtensionsCallback("coopMatLoad",   coopMatKHRCallback);
10195|      7|            symbolTable.setFunctionExtensionsCallback("coopMatStore",  coopMatKHRCallback);
10196|      7|            symbolTable.setFunctionExtensions("coopMatMulAdd", 1, &E_GL_KHR_cooperative_matrix);
10197|       |
10198|      7|            symbolTable.setFunctionExtensionsCallback("coopMatLoadTensorNV",   coopMat2NVCallback);
10199|      7|            symbolTable.setFunctionExtensionsCallback("coopMatStoreTensorNV",   coopMat2NVCallback);
10200|       |
10201|      7|            symbolTable.setFunctionExtensions("coopMatReduceNV",   1, &E_GL_NV_cooperative_matrix2);
10202|      7|            symbolTable.setFunctionExtensions("coopMatPerElementNV",  1, &E_GL_NV_cooperative_matrix2);
10203|      7|            symbolTable.setFunctionExtensions("coopMatTransposeNV",   1, &E_GL_NV_cooperative_matrix2);
10204|       |            
10205|      7|            symbolTable.setFunctionExtensions("createTensorLayoutNV",           1, &E_GL_NV_cooperative_matrix2);
10206|      7|            symbolTable.setFunctionExtensions("setTensorLayoutBlockSizeNV",     1, &E_GL_NV_cooperative_matrix2);
10207|      7|            symbolTable.setFunctionExtensions("setTensorLayoutDimensionNV",     1, &E_GL_NV_cooperative_matrix2);
10208|      7|            symbolTable.setFunctionExtensions("setTensorLayoutStrideNV",        1, &E_GL_NV_cooperative_matrix2);
10209|      7|            symbolTable.setFunctionExtensions("sliceTensorLayoutNV",            1, &E_GL_NV_cooperative_matrix2);
10210|      7|            symbolTable.setFunctionExtensions("setTensorLayoutClampValueNV",    1, &E_GL_NV_cooperative_matrix2);
10211|       |
10212|      7|            symbolTable.setFunctionExtensions("createTensorViewNV",             1, &E_GL_NV_cooperative_matrix2);
10213|      7|            symbolTable.setFunctionExtensions("setTensorViewDimensionsNV",      1, &E_GL_NV_cooperative_matrix2);
10214|      7|            symbolTable.setFunctionExtensions("setTensorViewStrideNV",          1, &E_GL_NV_cooperative_matrix2);
10215|      7|            symbolTable.setFunctionExtensions("setTensorViewClipNV",            1, &E_GL_NV_cooperative_matrix2);
10216|      7|        }
10217|       |
10218|      7|        {
10219|      7|            symbolTable.setFunctionExtensions("tensorReadARM",   1, &E_GL_ARM_tensors);
10220|      7|            symbolTable.setFunctionExtensions("tensorWriteARM",  1, &E_GL_ARM_tensors);
10221|      7|            symbolTable.setFunctionExtensions("tensorSizeARM",   1, &E_GL_ARM_tensors);
10222|      7|        }
10223|      7|        {
10224|      7|            auto coopVecCallback = [](const char *name) -> std::vector<const char *> {
10225|      7|                std::vector<const char *> ret;
10226|       |                // This looks for u64 as the last parameter (the offset)
10227|      7|                if (strstr(name, "u641;") != nullptr) {
10228|      7|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10229|      7|                } else {
10230|      7|                    ret.push_back(E_GL_NV_cooperative_vector);
10231|      7|                }
10232|      7|                return ret;
10233|      7|            };
10234|      7|            symbolTable.setFunctionExtensionsCallback("coopVecMatMulNV", coopVecCallback);
10235|      7|            symbolTable.setFunctionExtensionsCallback("coopVecMatMulAddNV", coopVecCallback);
10236|      7|            symbolTable.setFunctionExtensionsCallback("coopVecLoadNV", coopVecCallback);
10237|      7|            symbolTable.setFunctionExtensionsCallback("coopVecStoreNV", coopVecCallback);
10238|      7|            symbolTable.setFunctionExtensionsCallback("coopVecOuterProductAccumulateNV", coopVecCallback);
10239|      7|            symbolTable.setFunctionExtensionsCallback("coopVecReduceSumAccumulateNV", coopVecCallback);
10240|      7|        }
10241|       |
10242|      7|        {
10243|      7|          symbolTable.setFunctionExtensions("bitcastQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10244|      7|          symbolTable.setFunctionExtensions("extractSubArrayQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10245|      7|          symbolTable.setFunctionExtensions("vectorToCoopmatQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10246|      7|          symbolTable.setFunctionExtensions("coopmatToVectorQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10247|      7|        }
10248|       |
10249|      7|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (10249:14): [True: 7, False: 0]
  |  Branch (10249:39): [True: 7, False: 0]
  |  Branch (10249:59): [True: 0, False: 0]
  |  Branch (10249:84): [True: 0, False: 0]
  ------------------
10250|      7|            const char* const derivativeExts[] = { E_GL_NV_compute_shader_derivatives, E_GL_KHR_compute_shader_derivatives };
10251|      7|            if (language == EShLangCompute) {
  ------------------
  |  Branch (10251:17): [True: 7, False: 0]
  ------------------
10252|      7|                symbolTable.setFunctionExtensions("dFdx",                   2, derivativeExts);
10253|      7|                symbolTable.setFunctionExtensions("dFdy",                   2, derivativeExts);
10254|      7|                symbolTable.setFunctionExtensions("fwidth",                 2, derivativeExts);
10255|      7|                symbolTable.setFunctionExtensions("dFdxFine",               2, derivativeExts);
10256|      7|                symbolTable.setFunctionExtensions("dFdyFine",               2, derivativeExts);
10257|      7|                symbolTable.setFunctionExtensions("fwidthFine",             2, derivativeExts);
10258|      7|                symbolTable.setFunctionExtensions("dFdxCoarse",             2, derivativeExts);
10259|      7|                symbolTable.setFunctionExtensions("dFdyCoarse",             2, derivativeExts);
10260|      7|                symbolTable.setFunctionExtensions("fwidthCoarse",           2, derivativeExts);
10261|      7|            } else if (language == EShLangTask || language == EShLangMesh) {
  ------------------
  |  Branch (10261:24): [True: 0, False: 0]
  |  Branch (10261:51): [True: 0, False: 0]
  ------------------
10262|      0|                symbolTable.setFunctionExtensions("dFdx",                   1, &E_GL_KHR_compute_shader_derivatives);
10263|      0|                symbolTable.setFunctionExtensions("dFdy",                   1, &E_GL_KHR_compute_shader_derivatives);
10264|      0|                symbolTable.setFunctionExtensions("fwidth",                 1, &E_GL_KHR_compute_shader_derivatives);
10265|      0|                symbolTable.setFunctionExtensions("dFdxFine",               1, &E_GL_KHR_compute_shader_derivatives);
10266|      0|                symbolTable.setFunctionExtensions("dFdyFine",               1, &E_GL_KHR_compute_shader_derivatives);
10267|      0|                symbolTable.setFunctionExtensions("fwidthFine",             1, &E_GL_KHR_compute_shader_derivatives);
10268|      0|                symbolTable.setFunctionExtensions("dFdxCoarse",             1, &E_GL_KHR_compute_shader_derivatives);
10269|      0|                symbolTable.setFunctionExtensions("dFdyCoarse",             1, &E_GL_KHR_compute_shader_derivatives);
10270|      0|                symbolTable.setFunctionExtensions("fwidthCoarse",           1, &E_GL_KHR_compute_shader_derivatives);
10271|      0|            }
10272|      7|        }
10273|       |
10274|      7|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10274:14): [True: 0, False: 7]
  |  Branch (10274:39): [True: 0, False: 0]
  ------------------
10275|      7|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10275:14): [True: 7, False: 0]
  |  Branch (10275:39): [True: 7, False: 0]
  ------------------
10276|      7|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10277|      7|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10278|      7|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10279|      7|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10280|      7|        }
10281|       |
10282|      7|        if ((profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10282:14): [True: 7, False: 0]
  |  Branch (10282:39): [True: 0, False: 7]
  ------------------
10283|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexPositionNV", 1, &E_GL_NV_displacement_micromap);
10284|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexBarycentricNV", 1, &E_GL_NV_displacement_micromap);
10285|      0|        }
10286|       |
10287|       |        // GL_EXT_integer_dot_product
10288|      7|        if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (10288:14): [True: 0, False: 7]
  |  Branch (10288:39): [True: 0, False: 0]
  ------------------
10289|      7|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10289:14): [True: 7, False: 0]
  |  Branch (10289:39): [True: 7, False: 0]
  ------------------
10290|      7|            symbolTable.setFunctionExtensions("dotEXT", 1, &E_GL_EXT_integer_dot_product);
10291|      7|            symbolTable.setFunctionExtensions("dotPacked4x8EXT", 1, &E_GL_EXT_integer_dot_product);
10292|      7|            symbolTable.setFunctionExtensions("dotAccSatEXT", 1, &E_GL_EXT_integer_dot_product);
10293|      7|            symbolTable.setFunctionExtensions("dotPacked4x8AccSatEXT", 1, &E_GL_EXT_integer_dot_product);
10294|      7|        }
10295|       |
10296|      7|        {
10297|      7|            symbolTable.setFunctionExtensions("bfloat16BitsToIntEXT", 1, &E_GL_EXT_bfloat16);
10298|      7|            symbolTable.setFunctionExtensions("bfloat16BitsToUintEXT", 1, &E_GL_EXT_bfloat16);
10299|      7|            symbolTable.setFunctionExtensions("intBitsToBFloat16EXT", 1, &E_GL_EXT_bfloat16);
10300|      7|            symbolTable.setFunctionExtensions("uintBitsToBFloat16EXT", 1, &E_GL_EXT_bfloat16);
10301|       |
10302|      7|            symbolTable.setFunctionExtensions("floate5m2BitsToIntEXT", 1, &E_GL_EXT_float_e5m2);
10303|      7|            symbolTable.setFunctionExtensions("floate5m2BitsToUintEXT", 1, &E_GL_EXT_float_e5m2);
10304|      7|            symbolTable.setFunctionExtensions("intBitsToFloate5m2EXT", 1, &E_GL_EXT_float_e5m2);
10305|      7|            symbolTable.setFunctionExtensions("uintBitsToFloate5m2EXT", 1, &E_GL_EXT_float_e5m2);
10306|       |
10307|      7|            symbolTable.setFunctionExtensions("floate4m3BitsToIntEXT", 1, &E_GL_EXT_float_e4m3);
10308|      7|            symbolTable.setFunctionExtensions("floate4m3BitsToUintEXT", 1, &E_GL_EXT_float_e4m3);
10309|      7|            symbolTable.setFunctionExtensions("intBitsToFloate4m3EXT", 1, &E_GL_EXT_float_e4m3);
10310|      7|            symbolTable.setFunctionExtensions("uintBitsToFloate4m3EXT", 1, &E_GL_EXT_float_e4m3);
10311|       |
10312|      7|            const char *float8exts[] = {E_GL_EXT_float_e5m2, E_GL_EXT_float_e4m3};
10313|      7|            symbolTable.setFunctionExtensions("saturatedConvertEXT", 2, float8exts);
10314|      7|        }
10315|       |
10316|       |        // E_SPV_QCOM_tile_shading
10317|      7|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10317:14): [True: 0, False: 7]
  |  Branch (10317:39): [True: 0, False: 0]
  ------------------
10318|      7|            (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10318:14): [True: 7, False: 0]
  |  Branch (10318:39): [True: 0, False: 7]
  ------------------
10319|      0|            BuiltInVariable("gl_TileOffsetQCOM",        EbvTileOffsetQCOM,      symbolTable);
10320|      0|            BuiltInVariable("gl_TileDimensionQCOM",     EbvTileDimensionQCOM,   symbolTable);
10321|      0|            BuiltInVariable("gl_TileApronSizeQCOM",     EbvTileApronSizeQCOM,   symbolTable);
10322|       |
10323|      0|            symbolTable.setVariableExtensions("gl_TileOffsetQCOM",        1, &E_GL_QCOM_tile_shading);
10324|      0|            symbolTable.setVariableExtensions("gl_TileDimensionQCOM",     1, &E_GL_QCOM_tile_shading);
10325|      0|            symbolTable.setVariableExtensions("gl_TileApronSizeQCOM",     1, &E_GL_QCOM_tile_shading);
10326|      0|        }
10327|      7|        break;
10328|       |
10329|      7|    case EShLangRayGen:
  ------------------
  |  Branch (10329:5): [True: 7, False: 168]
  ------------------
10330|     14|    case EShLangIntersect:
  ------------------
  |  Branch (10330:5): [True: 7, False: 168]
  ------------------
10331|     21|    case EShLangAnyHit:
  ------------------
  |  Branch (10331:5): [True: 7, False: 168]
  ------------------
10332|     28|    case EShLangClosestHit:
  ------------------
  |  Branch (10332:5): [True: 7, False: 168]
  ------------------
10333|     35|    case EShLangMiss:
  ------------------
  |  Branch (10333:5): [True: 7, False: 168]
  ------------------
10334|     42|    case EShLangCallable:
  ------------------
  |  Branch (10334:5): [True: 7, False: 168]
  ------------------
10335|     42|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (10335:13): [True: 42, False: 0]
  |  Branch (10335:38): [True: 0, False: 42]
  ------------------
10336|      0|            const char *rtexts[] = { E_GL_NV_ray_tracing, E_GL_EXT_ray_tracing };
10337|      0|            symbolTable.setVariableExtensions("gl_LaunchIDNV", 1, &E_GL_NV_ray_tracing);
10338|      0|            symbolTable.setVariableExtensions("gl_LaunchIDEXT", 1, &E_GL_EXT_ray_tracing);
10339|      0|            symbolTable.setVariableExtensions("gl_LaunchSizeNV", 1, &E_GL_NV_ray_tracing);
10340|      0|            symbolTable.setVariableExtensions("gl_LaunchSizeEXT", 1, &E_GL_EXT_ray_tracing);
10341|      0|            symbolTable.setVariableExtensions("gl_PrimitiveID", 2, rtexts);
10342|      0|            symbolTable.setVariableExtensions("gl_InstanceID", 2, rtexts);
10343|      0|            symbolTable.setVariableExtensions("gl_InstanceCustomIndexNV", 1, &E_GL_NV_ray_tracing);
10344|      0|            symbolTable.setVariableExtensions("gl_InstanceCustomIndexEXT", 1, &E_GL_EXT_ray_tracing);
10345|      0|            symbolTable.setVariableExtensions("gl_GeometryIndexEXT", 1, &E_GL_EXT_ray_tracing);
10346|      0|            symbolTable.setVariableExtensions("gl_WorldRayOriginNV", 1, &E_GL_NV_ray_tracing);
10347|      0|            symbolTable.setVariableExtensions("gl_WorldRayOriginEXT", 1, &E_GL_EXT_ray_tracing);
10348|      0|            symbolTable.setVariableExtensions("gl_WorldRayDirectionNV", 1, &E_GL_NV_ray_tracing);
10349|      0|            symbolTable.setVariableExtensions("gl_WorldRayDirectionEXT", 1, &E_GL_EXT_ray_tracing);
10350|      0|            symbolTable.setVariableExtensions("gl_ObjectRayOriginNV", 1, &E_GL_NV_ray_tracing);
10351|      0|            symbolTable.setVariableExtensions("gl_ObjectRayOriginEXT", 1, &E_GL_EXT_ray_tracing);
10352|      0|            symbolTable.setVariableExtensions("gl_ObjectRayDirectionNV", 1, &E_GL_NV_ray_tracing);
10353|      0|            symbolTable.setVariableExtensions("gl_ObjectRayDirectionEXT", 1, &E_GL_EXT_ray_tracing);
10354|      0|            symbolTable.setVariableExtensions("gl_RayTminNV", 1, &E_GL_NV_ray_tracing);
10355|      0|            symbolTable.setVariableExtensions("gl_RayTminEXT", 1, &E_GL_EXT_ray_tracing);
10356|      0|            symbolTable.setVariableExtensions("gl_RayTmaxNV", 1, &E_GL_NV_ray_tracing);
10357|      0|            symbolTable.setVariableExtensions("gl_RayTmaxEXT", 1, &E_GL_EXT_ray_tracing);
10358|      0|            symbolTable.setVariableExtensions("gl_CullMaskEXT", 1, &E_GL_EXT_ray_cull_mask);
10359|      0|            symbolTable.setVariableExtensions("gl_HitTNV", 1, &E_GL_NV_ray_tracing);
10360|      0|            symbolTable.setVariableExtensions("gl_HitTEXT", 1, &E_GL_EXT_ray_tracing);
10361|      0|            symbolTable.setVariableExtensions("gl_HitKindNV", 1, &E_GL_NV_ray_tracing);
10362|      0|            symbolTable.setVariableExtensions("gl_HitKindEXT", 1, &E_GL_EXT_ray_tracing);
10363|      0|            symbolTable.setVariableExtensions("gl_ObjectToWorldNV", 1, &E_GL_NV_ray_tracing);
10364|      0|            symbolTable.setVariableExtensions("gl_ObjectToWorldEXT", 1, &E_GL_EXT_ray_tracing);
10365|      0|            symbolTable.setVariableExtensions("gl_ObjectToWorld3x4EXT", 1, &E_GL_EXT_ray_tracing);
10366|      0|            symbolTable.setVariableExtensions("gl_WorldToObjectNV", 1, &E_GL_NV_ray_tracing);
10367|      0|            symbolTable.setVariableExtensions("gl_WorldToObjectEXT", 1, &E_GL_EXT_ray_tracing);
10368|      0|            symbolTable.setVariableExtensions("gl_WorldToObject3x4EXT", 1, &E_GL_EXT_ray_tracing);
10369|      0|            symbolTable.setVariableExtensions("gl_IncomingRayFlagsNV", 1, &E_GL_NV_ray_tracing);
10370|      0|            symbolTable.setVariableExtensions("gl_IncomingRayFlagsEXT", 1, &E_GL_EXT_ray_tracing);
10371|      0|            symbolTable.setVariableExtensions("gl_CurrentRayTimeNV", 1, &E_GL_NV_ray_tracing_motion_blur);
10372|      0|            symbolTable.setVariableExtensions("gl_HitTriangleVertexPositionsEXT", 1, &E_GL_EXT_ray_tracing_position_fetch);
10373|      0|            symbolTable.setVariableExtensions("gl_HitMicroTriangleVertexPositionsNV", 1, &E_GL_NV_displacement_micromap);
10374|      0|            symbolTable.setVariableExtensions("gl_HitMicroTriangleVertexBarycentricsNV", 1, &E_GL_NV_displacement_micromap);
10375|      0|            symbolTable.setVariableExtensions("gl_ClusterIDNV", 1, &E_GL_NV_cluster_acceleration_structure);
10376|      0|            symbolTable.setVariableExtensions("gl_HitKindSphereNV", 1, &E_GL_NV_linear_swept_spheres);
10377|      0|            symbolTable.setVariableExtensions("gl_HitKindLSSNV", 1, &E_GL_NV_linear_swept_spheres);
10378|      0|            symbolTable.setVariableExtensions("gl_HitSpherePositionNV", 1, &E_GL_NV_linear_swept_spheres);
10379|      0|            symbolTable.setVariableExtensions("gl_HitSphereRadiusNV", 1, &E_GL_NV_linear_swept_spheres);
10380|      0|            symbolTable.setVariableExtensions("gl_HitLSSPositionNV", 1, &E_GL_NV_linear_swept_spheres);
10381|      0|            symbolTable.setVariableExtensions("gl_HitLSSRadiiNV", 1, &E_GL_NV_linear_swept_spheres);
10382|       |
10383|      0|            symbolTable.setVariableExtensions("gl_DeviceIndex", 1, &E_GL_EXT_device_group);
10384|       |
10385|       |
10386|      0|            symbolTable.setFunctionExtensions("traceNV", 1, &E_GL_NV_ray_tracing);
10387|      0|            symbolTable.setFunctionExtensions("traceRayMotionNV", 1, &E_GL_NV_ray_tracing_motion_blur);
10388|      0|            symbolTable.setFunctionExtensions("traceRayEXT", 1, &E_GL_EXT_ray_tracing);
10389|      0|            symbolTable.setFunctionExtensions("reportIntersectionNV", 1, &E_GL_NV_ray_tracing);
10390|      0|            symbolTable.setFunctionExtensions("reportIntersectionEXT", 1, &E_GL_EXT_ray_tracing);
10391|      0|            symbolTable.setFunctionExtensions("ignoreIntersectionNV", 1, &E_GL_NV_ray_tracing);
10392|      0|            symbolTable.setFunctionExtensions("terminateRayNV", 1, &E_GL_NV_ray_tracing);
10393|      0|            symbolTable.setFunctionExtensions("executeCallableNV", 1, &E_GL_NV_ray_tracing);
10394|      0|            symbolTable.setFunctionExtensions("executeCallableEXT", 1, &E_GL_EXT_ray_tracing);
10395|       |
10396|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayNV", 1, &E_GL_NV_shader_invocation_reorder);
10397|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10398|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitNV", 1, &E_GL_NV_shader_invocation_reorder);
10399|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10400|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitWithIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10401|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitWithIndexMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10402|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissNV", 1, &E_GL_NV_shader_invocation_reorder);
10403|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10404|      0|            symbolTable.setFunctionExtensions("hitObjectRecordEmptyNV", 1, &E_GL_NV_shader_invocation_reorder);
10405|      0|            symbolTable.setFunctionExtensions("hitObjectExecuteShaderNV", 1, &E_GL_NV_shader_invocation_reorder);
10406|      0|            symbolTable.setFunctionExtensions("hitObjectIsEmptyNV", 1, &E_GL_NV_shader_invocation_reorder);
10407|      0|            symbolTable.setFunctionExtensions("hitObjectIsMissNV", 1, &E_GL_NV_shader_invocation_reorder);
10408|      0|            symbolTable.setFunctionExtensions("hitObjectIsHitNV", 1, &E_GL_NV_shader_invocation_reorder);
10409|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMinNV", 1, &E_GL_NV_shader_invocation_reorder);
10410|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMaxNV", 1, &E_GL_NV_shader_invocation_reorder);
10411|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayOriginNV", 1, &E_GL_NV_shader_invocation_reorder);
10412|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayDirectionNV", 1, &E_GL_NV_shader_invocation_reorder);
10413|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayOriginNV", 1, &E_GL_NV_shader_invocation_reorder);
10414|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayDirectionNV", 1, &E_GL_NV_shader_invocation_reorder);
10415|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldToObjectNV", 1, &E_GL_NV_shader_invocation_reorder);
10416|      0|            symbolTable.setFunctionExtensions("hitObjectGetbjectToWorldNV", 1, &E_GL_NV_shader_invocation_reorder);
10417|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceCustomIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10418|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceIdNV", 1, &E_GL_NV_shader_invocation_reorder);
10419|      0|            symbolTable.setFunctionExtensions("hitObjectGetGeometryIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10420|      0|            symbolTable.setFunctionExtensions("hitObjectGetPrimitiveIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10421|      0|            symbolTable.setFunctionExtensions("hitObjectGetHitKindNV", 1, &E_GL_NV_shader_invocation_reorder);
10422|      0|            symbolTable.setFunctionExtensions("hitObjectGetAttributesNV", 1, &E_GL_NV_shader_invocation_reorder);
10423|      0|            symbolTable.setFunctionExtensions("hitObjectGetCurrentTimeNV", 1, &E_GL_NV_shader_invocation_reorder);
10424|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderBindingTableRecordIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10425|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderRecordBufferHandleNV", 1, &E_GL_NV_shader_invocation_reorder);
10426|      0|            symbolTable.setFunctionExtensions("hitObjectGetClusterIdNV", 1, &E_GL_NV_cluster_acceleration_structure);
10427|      0|            symbolTable.setFunctionExtensions("reorderThreadNV", 1, &E_GL_NV_shader_invocation_reorder);
10428|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexPositionNV", 1, &E_GL_NV_displacement_micromap);
10429|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexBarycentricNV", 1, &E_GL_NV_displacement_micromap);
10430|      0|            symbolTable.setFunctionExtensions("hitObjectGetSpherePositionNV", 1, &E_GL_NV_linear_swept_spheres);
10431|      0|            symbolTable.setFunctionExtensions("hitObjectGetSphereRadiusNV", 1, &E_GL_NV_linear_swept_spheres);
10432|      0|            symbolTable.setFunctionExtensions("hitObjectGetLSSPositionsNV", 1, &E_GL_NV_linear_swept_spheres);
10433|      0|            symbolTable.setFunctionExtensions("hitObjectGetLSSRadiiNV", 1, &E_GL_NV_linear_swept_spheres);
10434|      0|            symbolTable.setFunctionExtensions("hitObjectIsSphereHitNV", 1, &E_GL_NV_linear_swept_spheres);
10435|      0|            symbolTable.setFunctionExtensions("hitObjectIsLSSHitNV", 1, &E_GL_NV_linear_swept_spheres);
10436|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10437|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayMotionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10438|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10439|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissMotionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10440|      0|            symbolTable.setFunctionExtensions("hitObjectRecordEmptyEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10441|      0|            symbolTable.setFunctionExtensions("hitObjectExecuteShaderEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10442|      0|            symbolTable.setFunctionExtensions("hitObjectIsEmptyEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10443|      0|            symbolTable.setFunctionExtensions("hitObjectIsMissEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10444|      0|            symbolTable.setFunctionExtensions("hitObjectIsHitEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10445|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMinEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10446|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMaxEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10447|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayFlagsEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10448|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayOriginEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10449|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayDirectionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10450|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayOriginEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10451|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayDirectionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10452|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldToObjectEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10453|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectToWorldEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10454|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceCustomIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10455|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceIdEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10456|      0|            symbolTable.setFunctionExtensions("hitObjectGetGeometryIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10457|      0|            symbolTable.setFunctionExtensions("hitObjectGetPrimitiveIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10458|      0|            symbolTable.setFunctionExtensions("hitObjectGetHitKindEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10459|      0|            symbolTable.setFunctionExtensions("hitObjectGetAttributesEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10460|      0|            symbolTable.setFunctionExtensions("hitObjectGetCurrentTimeEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10461|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderBindingTableRecordIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10462|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderRecordBufferHandleEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10463|      0|            symbolTable.setFunctionExtensions("hitObjectSetShaderBindingTableRecordIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10464|      0|            symbolTable.setFunctionExtensions("reorderThreadEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10465|      0|            symbolTable.setFunctionExtensions("hitObjectReorderExecuteEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10466|      0|            symbolTable.setFunctionExtensions("hitObjectTraceReorderExecuteEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10467|      0|            symbolTable.setFunctionExtensions("hitObjectTraceMotionReorderExecuteEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10468|      0|            symbolTable.setFunctionExtensions("hitObjectRecordFromQueryEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10469|      0|            symbolTable.setFunctionExtensions("hitObjectGetIntersectionTriangleVertexPositionsEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10470|       |
10471|       |
10472|      0|            BuiltInVariable("gl_LaunchIDNV",             EbvLaunchId,           symbolTable);
10473|      0|            BuiltInVariable("gl_LaunchIDEXT",            EbvLaunchId,           symbolTable);
10474|      0|            BuiltInVariable("gl_LaunchSizeNV",           EbvLaunchSize,         symbolTable);
10475|      0|            BuiltInVariable("gl_LaunchSizeEXT",          EbvLaunchSize,         symbolTable);
10476|      0|            BuiltInVariable("gl_PrimitiveID",            EbvPrimitiveId,        symbolTable);
10477|      0|            BuiltInVariable("gl_InstanceID",             EbvInstanceId,         symbolTable);
10478|      0|            BuiltInVariable("gl_InstanceCustomIndexNV",  EbvInstanceCustomIndex,symbolTable);
10479|      0|            BuiltInVariable("gl_InstanceCustomIndexEXT", EbvInstanceCustomIndex,symbolTable);
10480|      0|            BuiltInVariable("gl_GeometryIndexEXT",       EbvGeometryIndex,      symbolTable);
10481|      0|            BuiltInVariable("gl_WorldRayOriginNV",       EbvWorldRayOrigin,     symbolTable);
10482|      0|            BuiltInVariable("gl_WorldRayOriginEXT",      EbvWorldRayOrigin,     symbolTable);
10483|      0|            BuiltInVariable("gl_WorldRayDirectionNV",    EbvWorldRayDirection,  symbolTable);
10484|      0|            BuiltInVariable("gl_WorldRayDirectionEXT",   EbvWorldRayDirection,  symbolTable);
10485|      0|            BuiltInVariable("gl_ObjectRayOriginNV",      EbvObjectRayOrigin,    symbolTable);
10486|      0|            BuiltInVariable("gl_ObjectRayOriginEXT",     EbvObjectRayOrigin,    symbolTable);
10487|      0|            BuiltInVariable("gl_ObjectRayDirectionNV",   EbvObjectRayDirection, symbolTable);
10488|      0|            BuiltInVariable("gl_ObjectRayDirectionEXT",  EbvObjectRayDirection, symbolTable);
10489|      0|            BuiltInVariable("gl_RayTminNV",              EbvRayTmin,            symbolTable);
10490|      0|            BuiltInVariable("gl_RayTminEXT",             EbvRayTmin,            symbolTable);
10491|      0|            BuiltInVariable("gl_RayTmaxNV",              EbvRayTmax,            symbolTable);
10492|      0|            BuiltInVariable("gl_RayTmaxEXT",             EbvRayTmax,            symbolTable);
10493|      0|            BuiltInVariable("gl_CullMaskEXT",            EbvCullMask,           symbolTable);
10494|      0|            BuiltInVariable("gl_HitKindNV",              EbvHitKind,            symbolTable);
10495|      0|            BuiltInVariable("gl_HitKindEXT",             EbvHitKind,            symbolTable);
10496|      0|            BuiltInVariable("gl_ObjectToWorldNV",        EbvObjectToWorld,      symbolTable);
10497|      0|            BuiltInVariable("gl_ObjectToWorldEXT",       EbvObjectToWorld,      symbolTable);
10498|      0|            BuiltInVariable("gl_ObjectToWorld3x4EXT",    EbvObjectToWorld3x4,   symbolTable);
10499|      0|            BuiltInVariable("gl_WorldToObjectNV",        EbvWorldToObject,      symbolTable);
10500|      0|            BuiltInVariable("gl_WorldToObjectEXT",       EbvWorldToObject,      symbolTable);
10501|      0|            BuiltInVariable("gl_WorldToObject3x4EXT",    EbvWorldToObject3x4,   symbolTable);
10502|      0|            BuiltInVariable("gl_IncomingRayFlagsNV",     EbvIncomingRayFlags,   symbolTable);
10503|      0|            BuiltInVariable("gl_IncomingRayFlagsEXT",    EbvIncomingRayFlags,   symbolTable);
10504|      0|            BuiltInVariable("gl_DeviceIndex",            EbvDeviceIndex,        symbolTable);
10505|      0|            BuiltInVariable("gl_CurrentRayTimeNV",       EbvCurrentRayTimeNV,   symbolTable);
10506|      0|            BuiltInVariable("gl_HitTriangleVertexPositionsEXT", EbvPositionFetch, symbolTable);
10507|      0|            BuiltInVariable("gl_HitMicroTriangleVertexPositionsNV", EbvMicroTrianglePositionNV, symbolTable);
10508|      0|            BuiltInVariable("gl_HitMicroTriangleVertexBarycentricsNV", EbvMicroTriangleBaryNV, symbolTable);
10509|      0|            BuiltInVariable("gl_HitKindFrontFacingMicroTriangleNV", EbvHitKindFrontFacingMicroTriangleNV, symbolTable);
10510|      0|            BuiltInVariable("gl_HitKindBackFacingMicroTriangleNV", EbvHitKindBackFacingMicroTriangleNV, symbolTable);
10511|      0|            BuiltInVariable("gl_ClusterIDNV",            EbvClusterIDNV,         symbolTable);
10512|      0|            BuiltInVariable("gl_HitIsSphereNV", EbvHitIsSphereNV, symbolTable);
10513|      0|            BuiltInVariable("gl_HitIsLSSNV", EbvHitIsLSSNV, symbolTable);
10514|      0|            BuiltInVariable("gl_HitSpherePositionNV", EbvHitSpherePositionNV, symbolTable);
10515|      0|            BuiltInVariable("gl_HitSphereRadiusNV", EbvHitSphereRadiusNV, symbolTable);
10516|      0|            BuiltInVariable("gl_HitLSSPositionsNV", EbvHitLSSPositionsNV, symbolTable);
10517|      0|            BuiltInVariable("gl_HitLSSRadiiNV", EbvHitLSSRadiiNV, symbolTable);
10518|       |
10519|       |            // gl_HitT variables are aliases of their gl_RayTmax counterparts.
10520|      0|            RetargetVariable("gl_HitTNV",                "gl_RayTmaxNV",        symbolTable);
10521|      0|            RetargetVariable("gl_HitTEXT",               "gl_RayTmaxEXT",       symbolTable);
10522|       |
10523|       |            // GL_ARB_shader_ballot
10524|      0|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10525|      0|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10526|      0|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10527|      0|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10528|      0|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10529|      0|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10530|      0|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10531|       |
10532|      0|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10533|      0|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10534|      0|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10535|      0|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10536|      0|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10537|      0|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10538|       |
10539|      0|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10539:17): [True: 0, False: 0]
  ------------------
10540|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10541|      0|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10542|      0|                if (language == EShLangFragment)
  ------------------
  |  Branch (10542:21): [True: 0, False: 0]
  ------------------
10543|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10544|      0|            }
10545|      0|            else
10546|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10547|       |
10548|       |            // GL_KHR_shader_subgroup
10549|      0|            symbolTable.setVariableExtensions("gl_NumSubgroups",         1, &E_GL_KHR_shader_subgroup_basic);
10550|      0|            symbolTable.setVariableExtensions("gl_SubgroupID",           1, &E_GL_KHR_shader_subgroup_basic);
10551|      0|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10552|      0|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10553|      0|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10554|      0|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10555|      0|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10556|      0|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10557|      0|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10558|       |
10559|      0|            BuiltInVariable("gl_NumSubgroups",         EbvNumSubgroups,        symbolTable);
10560|      0|            BuiltInVariable("gl_SubgroupID",           EbvSubgroupID,          symbolTable);
10561|      0|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10562|      0|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10563|      0|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10564|      0|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10565|      0|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10566|      0|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10567|      0|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10568|       |
10569|       |            // GL_NV_shader_sm_builtins
10570|      0|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10571|      0|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10572|      0|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10573|      0|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10574|      0|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10575|      0|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10576|      0|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10577|      0|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10578|       |
10579|       |            // GL_ARM_shader_core_builtins
10580|      0|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10581|      0|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10582|      0|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10583|      0|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10584|      0|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10585|       |
10586|      0|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10587|      0|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10588|      0|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10589|      0|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10590|      0|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10591|      0|        }
10592|     42|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10592:14): [True: 0, False: 42]
  |  Branch (10592:39): [True: 0, False: 0]
  ------------------
10593|     42|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10593:14): [True: 42, False: 0]
  |  Branch (10593:39): [True: 42, False: 0]
  ------------------
10594|     42|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10595|     42|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10596|     42|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10597|     42|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10598|     42|        }
10599|     42|        break;
10600|       |
10601|      7|    case EShLangMesh:
  ------------------
  |  Branch (10601:5): [True: 7, False: 168]
  ------------------
10602|      7|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (10602:14): [True: 7, False: 0]
  |  Branch (10602:39): [True: 7, False: 0]
  |  Branch (10602:59): [True: 0, False: 0]
  |  Branch (10602:84): [True: 0, False: 0]
  ------------------
10603|       |            // per-vertex builtins
10604|      7|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_Position",     1, &E_GL_NV_mesh_shader);
10605|      7|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_PointSize",    1, &E_GL_NV_mesh_shader);
10606|      7|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_ClipDistance", 1, &E_GL_NV_mesh_shader);
10607|      7|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_CullDistance", 1, &E_GL_NV_mesh_shader);
10608|       |
10609|      7|            BuiltInVariable("gl_MeshVerticesNV", "gl_Position",     EbvPosition,     symbolTable);
10610|      7|            BuiltInVariable("gl_MeshVerticesNV", "gl_PointSize",    EbvPointSize,    symbolTable);
10611|      7|            BuiltInVariable("gl_MeshVerticesNV", "gl_ClipDistance", EbvClipDistance, symbolTable);
10612|      7|            BuiltInVariable("gl_MeshVerticesNV", "gl_CullDistance", EbvCullDistance, symbolTable);
10613|       |
10614|      7|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_PositionPerViewNV",     1, &E_GL_NV_mesh_shader);
10615|      7|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_ClipDistancePerViewNV", 1, &E_GL_NV_mesh_shader);
10616|      7|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_CullDistancePerViewNV", 1, &E_GL_NV_mesh_shader);
10617|       |
10618|      7|            BuiltInVariable("gl_MeshVerticesNV", "gl_PositionPerViewNV",     EbvPositionPerViewNV,     symbolTable);
10619|      7|            BuiltInVariable("gl_MeshVerticesNV", "gl_ClipDistancePerViewNV", EbvClipDistancePerViewNV, symbolTable);
10620|      7|            BuiltInVariable("gl_MeshVerticesNV", "gl_CullDistancePerViewNV", EbvCullDistancePerViewNV, symbolTable);
10621|       |
10622|       |            // per-primitive builtins
10623|      7|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_PrimitiveID",   1, &E_GL_NV_mesh_shader);
10624|      7|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_Layer",         1, &E_GL_NV_mesh_shader);
10625|      7|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_ViewportIndex", 1, &E_GL_NV_mesh_shader);
10626|      7|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_ViewportMask",  1, &E_GL_NV_mesh_shader);
10627|       |
10628|      7|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_PrimitiveID",   EbvPrimitiveId,    symbolTable);
10629|      7|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_Layer",         EbvLayer,          symbolTable);
10630|      7|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_ViewportIndex", EbvViewportIndex,  symbolTable);
10631|      7|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_ViewportMask",  EbvViewportMaskNV, symbolTable);
10632|       |
10633|       |            // per-view per-primitive builtins
10634|      7|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_LayerPerViewNV",        1, &E_GL_NV_mesh_shader);
10635|      7|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_ViewportMaskPerViewNV", 1, &E_GL_NV_mesh_shader);
10636|       |
10637|      7|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_LayerPerViewNV",        EbvLayerPerViewNV,        symbolTable);
10638|      7|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_ViewportMaskPerViewNV", EbvViewportMaskPerViewNV, symbolTable);
10639|       |
10640|       |            // other builtins
10641|      7|            symbolTable.setVariableExtensions("gl_PrimitiveCountNV",     1, &E_GL_NV_mesh_shader);
10642|      7|            symbolTable.setVariableExtensions("gl_PrimitiveIndicesNV",   1, &E_GL_NV_mesh_shader);
10643|      7|            symbolTable.setVariableExtensions("gl_MeshViewCountNV",      1, &E_GL_NV_mesh_shader);
10644|      7|            symbolTable.setVariableExtensions("gl_MeshViewIndicesNV",    1, &E_GL_NV_mesh_shader);
10645|      7|            if (profile != EEsProfile) {
  ------------------
  |  Branch (10645:17): [True: 7, False: 0]
  ------------------
10646|      7|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        Num_AEP_mesh_shader, AEP_mesh_shader);
10647|      7|                symbolTable.setVariableExtensions("gl_WorkGroupID",          Num_AEP_mesh_shader, AEP_mesh_shader);
10648|      7|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    Num_AEP_mesh_shader, AEP_mesh_shader);
10649|      7|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   Num_AEP_mesh_shader, AEP_mesh_shader);
10650|      7|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", Num_AEP_mesh_shader, AEP_mesh_shader);
10651|      7|            } else {
10652|      0|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        1, &E_GL_NV_mesh_shader);
10653|      0|                symbolTable.setVariableExtensions("gl_WorkGroupID",          1, &E_GL_NV_mesh_shader);
10654|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    1, &E_GL_NV_mesh_shader);
10655|      0|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   1, &E_GL_NV_mesh_shader);
10656|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", 1, &E_GL_NV_mesh_shader);
10657|      0|            }
10658|      7|            BuiltInVariable("gl_PrimitiveCountNV",     EbvPrimitiveCountNV,     symbolTable);
10659|      7|            BuiltInVariable("gl_PrimitiveIndicesNV",   EbvPrimitiveIndicesNV,   symbolTable);
10660|      7|            BuiltInVariable("gl_MeshViewCountNV",      EbvMeshViewCountNV,      symbolTable);
10661|      7|            BuiltInVariable("gl_MeshViewIndicesNV",    EbvMeshViewIndicesNV,    symbolTable);
10662|      7|            BuiltInVariable("gl_WorkGroupSize",        EbvWorkGroupSize,        symbolTable);
10663|      7|            BuiltInVariable("gl_WorkGroupID",          EbvWorkGroupId,          symbolTable);
10664|      7|            BuiltInVariable("gl_LocalInvocationID",    EbvLocalInvocationId,    symbolTable);
10665|      7|            BuiltInVariable("gl_GlobalInvocationID",   EbvGlobalInvocationId,   symbolTable);
10666|      7|            BuiltInVariable("gl_LocalInvocationIndex", EbvLocalInvocationIndex, symbolTable);
10667|       |
10668|       |            // builtin constants
10669|      7|            symbolTable.setVariableExtensions("gl_MaxMeshOutputVerticesNV",   1, &E_GL_NV_mesh_shader);
10670|      7|            symbolTable.setVariableExtensions("gl_MaxMeshOutputPrimitivesNV", 1, &E_GL_NV_mesh_shader);
10671|      7|            symbolTable.setVariableExtensions("gl_MaxMeshWorkGroupSizeNV",    1, &E_GL_NV_mesh_shader);
10672|      7|            symbolTable.setVariableExtensions("gl_MaxMeshViewCountNV",        1, &E_GL_NV_mesh_shader);
10673|       |
10674|       |            // builtin functions
10675|      7|            if (profile != EEsProfile) {
  ------------------
  |  Branch (10675:17): [True: 7, False: 0]
  ------------------
10676|      7|                symbolTable.setFunctionExtensions("barrier",                      Num_AEP_mesh_shader, AEP_mesh_shader);
10677|      7|                symbolTable.setFunctionExtensions("memoryBarrierShared",          Num_AEP_mesh_shader, AEP_mesh_shader);
10678|      7|                symbolTable.setFunctionExtensions("groupMemoryBarrier",           Num_AEP_mesh_shader, AEP_mesh_shader);
10679|      7|            } else {
10680|      0|                symbolTable.setFunctionExtensions("barrier",                      1, &E_GL_NV_mesh_shader);
10681|      0|                symbolTable.setFunctionExtensions("memoryBarrierShared",          1, &E_GL_NV_mesh_shader);
10682|      0|                symbolTable.setFunctionExtensions("groupMemoryBarrier",           1, &E_GL_NV_mesh_shader);
10683|      0|            }
10684|      7|            symbolTable.setFunctionExtensions("writePackedPrimitiveIndices4x8NV",  1, &E_GL_NV_mesh_shader);
10685|      7|        }
10686|       |
10687|      7|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (10687:13): [True: 7, False: 0]
  |  Branch (10687:38): [True: 7, False: 0]
  ------------------
10688|       |            // GL_EXT_Mesh_shader
10689|      7|            symbolTable.setVariableExtensions("gl_PrimitivePointIndicesEXT",    1, &E_GL_EXT_mesh_shader);
10690|      7|            symbolTable.setVariableExtensions("gl_PrimitiveLineIndicesEXT",     1, &E_GL_EXT_mesh_shader);
10691|      7|            symbolTable.setVariableExtensions("gl_PrimitiveTriangleIndicesEXT", 1, &E_GL_EXT_mesh_shader);
10692|      7|            symbolTable.setVariableExtensions("gl_NumWorkGroups",               1, &E_GL_EXT_mesh_shader);
10693|       |
10694|      7|            BuiltInVariable("gl_PrimitivePointIndicesEXT",    EbvPrimitivePointIndicesEXT,    symbolTable);
10695|      7|            BuiltInVariable("gl_PrimitiveLineIndicesEXT",     EbvPrimitiveLineIndicesEXT,     symbolTable);
10696|      7|            BuiltInVariable("gl_PrimitiveTriangleIndicesEXT", EbvPrimitiveTriangleIndicesEXT, symbolTable);
10697|      7|            BuiltInVariable("gl_NumWorkGroups",        EbvNumWorkGroups,        symbolTable);
10698|       |
10699|      7|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_Position",     1, &E_GL_EXT_mesh_shader);
10700|      7|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_PointSize",    1, &E_GL_EXT_mesh_shader);
10701|      7|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_ClipDistance", 1, &E_GL_EXT_mesh_shader);
10702|      7|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_CullDistance", 1, &E_GL_EXT_mesh_shader);
10703|       |            
10704|      7|            BuiltInVariable("gl_MeshVerticesEXT", "gl_Position",     EbvPosition,     symbolTable);
10705|      7|            BuiltInVariable("gl_MeshVerticesEXT", "gl_PointSize",    EbvPointSize,    symbolTable);
10706|      7|            BuiltInVariable("gl_MeshVerticesEXT", "gl_ClipDistance", EbvClipDistance, symbolTable);
10707|      7|            BuiltInVariable("gl_MeshVerticesEXT", "gl_CullDistance", EbvCullDistance, symbolTable);
10708|       |            
10709|      7|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_PrimitiveID",             1, &E_GL_EXT_mesh_shader);
10710|      7|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_Layer",                   1, &E_GL_EXT_mesh_shader);
10711|      7|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_ViewportIndex",           1, &E_GL_EXT_mesh_shader);
10712|      7|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_CullPrimitiveEXT",        1, &E_GL_EXT_mesh_shader);
10713|       |
10714|       |            // note: technically this member requires both GL_EXT_mesh_shader and GL_EXT_fragment_shading_rate
10715|       |            // since setVariableExtensions only needs *one of* the extensions to validate, it's more useful to specify EXT_fragment_shading_rate
10716|       |            // GL_EXT_mesh_shader will be required in practice by use of other fields of gl_MeshPrimitivesEXT
10717|      7|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_PrimitiveShadingRateEXT", 1, &E_GL_EXT_fragment_shading_rate);
10718|       |
10719|      7|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_PrimitiveID",              EbvPrimitiveId,    symbolTable);
10720|      7|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_Layer",                    EbvLayer,          symbolTable);
10721|      7|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_ViewportIndex",            EbvViewportIndex,  symbolTable);
10722|      7|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_CullPrimitiveEXT",         EbvCullPrimitiveEXT, symbolTable);
10723|      7|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_PrimitiveShadingRateEXT",  EbvPrimitiveShadingRateKHR, symbolTable);
10724|       |
10725|      7|            symbolTable.setFunctionExtensions("SetMeshOutputsEXT",  1, &E_GL_EXT_mesh_shader);
10726|       |
10727|       |            // GL_EXT_device_group
10728|      7|            symbolTable.setVariableExtensions("gl_DeviceIndex", 1, &E_GL_EXT_device_group);
10729|      7|            BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
10730|       |
10731|       |            // GL_ARB_shader_draw_parameters
10732|      7|            symbolTable.setVariableExtensions("gl_DrawIDARB", 1, &E_GL_ARB_shader_draw_parameters);
10733|      7|            BuiltInVariable("gl_DrawIDARB", EbvDrawId, symbolTable);
10734|      7|            if (version >= 460) {
  ------------------
  |  Branch (10734:17): [True: 0, False: 7]
  ------------------
10735|      0|                BuiltInVariable("gl_DrawID", EbvDrawId, symbolTable);
10736|      0|            }
10737|       |            // GL_EXT_multiview
10738|      7|            BuiltInVariable("gl_ViewIndex", EbvViewIndex, symbolTable);
10739|      7|            symbolTable.setVariableExtensions("gl_ViewIndex", 1, &E_GL_EXT_multiview);
10740|       |
10741|       |            // GL_ARB_shader_ballot
10742|      7|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10743|      7|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10744|      7|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10745|      7|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10746|      7|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10747|      7|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10748|      7|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10749|       |
10750|      7|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10751|      7|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10752|      7|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10753|      7|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10754|      7|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10755|      7|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10756|       |
10757|      7|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10757:17): [True: 1, False: 6]
  ------------------
10758|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10759|      1|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10760|      1|                if (language == EShLangFragment)
  ------------------
  |  Branch (10760:21): [True: 0, False: 1]
  ------------------
10761|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10762|      1|            }
10763|      6|            else
10764|      6|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10765|      7|        }
10766|       |
10767|       |        // GL_KHR_shader_subgroup
10768|      7|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10768:14): [True: 0, False: 7]
  |  Branch (10768:39): [True: 0, False: 0]
  ------------------
10769|      7|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10769:14): [True: 7, False: 0]
  |  Branch (10769:39): [True: 7, False: 0]
  ------------------
10770|      7|            symbolTable.setVariableExtensions("gl_NumSubgroups",         1, &E_GL_KHR_shader_subgroup_basic);
10771|      7|            symbolTable.setVariableExtensions("gl_SubgroupID",           1, &E_GL_KHR_shader_subgroup_basic);
10772|      7|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10773|      7|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10774|      7|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10775|      7|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10776|      7|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10777|      7|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10778|      7|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10779|       |
10780|      7|            BuiltInVariable("gl_NumSubgroups",         EbvNumSubgroups,        symbolTable);
10781|      7|            BuiltInVariable("gl_SubgroupID",           EbvSubgroupID,          symbolTable);
10782|      7|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10783|      7|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10784|      7|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10785|      7|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10786|      7|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10787|      7|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10788|      7|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10789|       |
10790|      7|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierShared", 1, &E_GL_KHR_shader_subgroup_basic);
10791|       |
10792|       |            // GL_NV_shader_sm_builtins
10793|      7|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10794|      7|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10795|      7|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10796|      7|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10797|      7|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10798|      7|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10799|      7|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10800|      7|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10801|       |
10802|       |            // GL_ARM_shader_core_builtins
10803|      7|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10804|      7|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10805|      7|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10806|      7|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10807|      7|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10808|       |
10809|      7|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10810|      7|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10811|      7|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10812|      7|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10813|      7|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10814|      7|        }
10815|       |
10816|      7|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10816:14): [True: 0, False: 7]
  |  Branch (10816:39): [True: 0, False: 0]
  ------------------
10817|      7|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10817:14): [True: 7, False: 0]
  |  Branch (10817:39): [True: 7, False: 0]
  ------------------
10818|      7|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10819|      7|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10820|      7|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10821|      7|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10822|      7|        }
10823|       |
10824|       |        // Builtins for GL_NV_displacment_micromap
10825|      7|        if ((profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10825:14): [True: 7, False: 0]
  |  Branch (10825:39): [True: 0, False: 7]
  ------------------
10826|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexPositionNV", 1, &E_GL_NV_displacement_micromap);
10827|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexBarycentricNV", 1, &E_GL_NV_displacement_micromap);
10828|      0|        }
10829|       |
10830|      7|        break;
10831|       |
10832|      7|    case EShLangTask:
  ------------------
  |  Branch (10832:5): [True: 7, False: 168]
  ------------------
10833|      7|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (10833:14): [True: 7, False: 0]
  |  Branch (10833:39): [True: 7, False: 0]
  |  Branch (10833:59): [True: 0, False: 0]
  |  Branch (10833:84): [True: 0, False: 0]
  ------------------
10834|      7|            symbolTable.setVariableExtensions("gl_TaskCountNV",          1, &E_GL_NV_mesh_shader);
10835|      7|            symbolTable.setVariableExtensions("gl_MeshViewCountNV",      1, &E_GL_NV_mesh_shader);
10836|      7|            symbolTable.setVariableExtensions("gl_MeshViewIndicesNV",    1, &E_GL_NV_mesh_shader);
10837|      7|            if (profile != EEsProfile) {
  ------------------
  |  Branch (10837:17): [True: 7, False: 0]
  ------------------
10838|      7|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        Num_AEP_mesh_shader, AEP_mesh_shader);
10839|      7|                symbolTable.setVariableExtensions("gl_WorkGroupID",          Num_AEP_mesh_shader, AEP_mesh_shader);
10840|      7|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    Num_AEP_mesh_shader, AEP_mesh_shader);
10841|      7|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   Num_AEP_mesh_shader, AEP_mesh_shader);
10842|      7|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", Num_AEP_mesh_shader, AEP_mesh_shader);
10843|      7|            } else {
10844|      0|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        1, &E_GL_NV_mesh_shader);
10845|      0|                symbolTable.setVariableExtensions("gl_WorkGroupID",          1, &E_GL_NV_mesh_shader);
10846|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    1, &E_GL_NV_mesh_shader);
10847|      0|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   1, &E_GL_NV_mesh_shader);
10848|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", 1, &E_GL_NV_mesh_shader);
10849|      0|            }
10850|       |
10851|      7|            BuiltInVariable("gl_TaskCountNV",          EbvTaskCountNV,          symbolTable);
10852|      7|            BuiltInVariable("gl_WorkGroupSize",        EbvWorkGroupSize,        symbolTable);
10853|      7|            BuiltInVariable("gl_WorkGroupID",          EbvWorkGroupId,          symbolTable);
10854|      7|            BuiltInVariable("gl_LocalInvocationID",    EbvLocalInvocationId,    symbolTable);
10855|      7|            BuiltInVariable("gl_GlobalInvocationID",   EbvGlobalInvocationId,   symbolTable);
10856|      7|            BuiltInVariable("gl_LocalInvocationIndex", EbvLocalInvocationIndex, symbolTable);
10857|      7|            BuiltInVariable("gl_MeshViewCountNV",      EbvMeshViewCountNV,      symbolTable);
10858|      7|            BuiltInVariable("gl_MeshViewIndicesNV",    EbvMeshViewIndicesNV,    symbolTable);
10859|       |
10860|      7|            symbolTable.setVariableExtensions("gl_MaxTaskWorkGroupSizeNV", 1, &E_GL_NV_mesh_shader);
10861|      7|            symbolTable.setVariableExtensions("gl_MaxMeshViewCountNV",     1, &E_GL_NV_mesh_shader);
10862|       |
10863|      7|            if (profile != EEsProfile) {
  ------------------
  |  Branch (10863:17): [True: 7, False: 0]
  ------------------
10864|      7|                symbolTable.setFunctionExtensions("barrier",                   Num_AEP_mesh_shader, AEP_mesh_shader);
10865|      7|                symbolTable.setFunctionExtensions("memoryBarrierShared",       Num_AEP_mesh_shader, AEP_mesh_shader);
10866|      7|                symbolTable.setFunctionExtensions("groupMemoryBarrier",        Num_AEP_mesh_shader, AEP_mesh_shader);
10867|      7|            } else {
10868|      0|                symbolTable.setFunctionExtensions("barrier",                   1, &E_GL_NV_mesh_shader);
10869|      0|                symbolTable.setFunctionExtensions("memoryBarrierShared",       1, &E_GL_NV_mesh_shader);
10870|      0|                symbolTable.setFunctionExtensions("groupMemoryBarrier",        1, &E_GL_NV_mesh_shader);
10871|      0|            }
10872|      7|        }
10873|       |
10874|      7|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (10874:13): [True: 7, False: 0]
  |  Branch (10874:38): [True: 7, False: 0]
  ------------------
10875|       |            // GL_EXT_mesh_shader
10876|      7|            symbolTable.setFunctionExtensions("EmitMeshTasksEXT",          1, &E_GL_EXT_mesh_shader);
10877|      7|            symbolTable.setVariableExtensions("gl_NumWorkGroups",        1, &E_GL_EXT_mesh_shader);
10878|      7|            BuiltInVariable("gl_NumWorkGroups",        EbvNumWorkGroups,        symbolTable);
10879|       |
10880|       |            // GL_EXT_device_group
10881|      7|            symbolTable.setVariableExtensions("gl_DeviceIndex", 1, &E_GL_EXT_device_group);
10882|      7|            BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
10883|       |
10884|       |            // GL_ARB_shader_draw_parameters
10885|      7|            symbolTable.setVariableExtensions("gl_DrawIDARB", 1, &E_GL_ARB_shader_draw_parameters);
10886|      7|            BuiltInVariable("gl_DrawIDARB", EbvDrawId, symbolTable);
10887|      7|            if (version >= 460) {
  ------------------
  |  Branch (10887:17): [True: 0, False: 7]
  ------------------
10888|      0|                BuiltInVariable("gl_DrawID", EbvDrawId, symbolTable);
10889|      0|            }
10890|       |
10891|       |            // GL_ARB_shader_ballot
10892|      7|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10893|      7|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10894|      7|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10895|      7|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10896|      7|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10897|      7|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10898|      7|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10899|       |
10900|      7|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10901|      7|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10902|      7|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10903|      7|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10904|      7|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10905|      7|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10906|       |
10907|      7|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10907:17): [True: 1, False: 6]
  ------------------
10908|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10909|      1|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10910|      1|                if (language == EShLangFragment)
  ------------------
  |  Branch (10910:21): [True: 0, False: 1]
  ------------------
10911|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10912|      1|            }
10913|      6|            else
10914|      6|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10915|      7|        }
10916|       |
10917|       |        // GL_KHR_shader_subgroup
10918|      7|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10918:14): [True: 0, False: 7]
  |  Branch (10918:39): [True: 0, False: 0]
  ------------------
10919|      7|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10919:14): [True: 7, False: 0]
  |  Branch (10919:39): [True: 7, False: 0]
  ------------------
10920|      7|            symbolTable.setVariableExtensions("gl_NumSubgroups",         1, &E_GL_KHR_shader_subgroup_basic);
10921|      7|            symbolTable.setVariableExtensions("gl_SubgroupID",           1, &E_GL_KHR_shader_subgroup_basic);
10922|      7|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10923|      7|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10924|      7|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10925|      7|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10926|      7|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10927|      7|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10928|      7|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10929|       |
10930|      7|            BuiltInVariable("gl_NumSubgroups",         EbvNumSubgroups,        symbolTable);
10931|      7|            BuiltInVariable("gl_SubgroupID",           EbvSubgroupID,          symbolTable);
10932|      7|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10933|      7|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10934|      7|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10935|      7|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10936|      7|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10937|      7|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10938|      7|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10939|       |
10940|      7|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierShared", 1, &E_GL_KHR_shader_subgroup_basic);
10941|       |
10942|       |            // GL_NV_shader_sm_builtins
10943|      7|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10944|      7|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10945|      7|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10946|      7|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10947|      7|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10948|      7|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10949|      7|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10950|      7|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10951|       |
10952|       |            // GL_ARM_shader_core_builtins
10953|      7|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10954|      7|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10955|      7|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10956|      7|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10957|      7|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10958|       |
10959|      7|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10960|      7|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10961|      7|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10962|      7|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10963|      7|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10964|      7|        }
10965|      7|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10965:14): [True: 0, False: 7]
  |  Branch (10965:39): [True: 0, False: 0]
  ------------------
10966|      7|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10966:14): [True: 7, False: 0]
  |  Branch (10966:39): [True: 7, False: 0]
  ------------------
10967|      7|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10968|      7|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10969|      7|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10970|      7|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10971|      7|        }
10972|      7|        break;
10973|       |
10974|      0|    default:
  ------------------
  |  Branch (10974:5): [True: 0, False: 175]
  ------------------
10975|      0|        assert(false && "Language not supported");
10976|      0|        break;
10977|    175|    }
10978|       |
10979|       |    //
10980|       |    // Next, identify which built-ins have a mapping to an operator.
10981|       |    // If PureOperatorBuiltins is false, those that are not identified as such are
10982|       |    // expected to be resolved through a library of functions, versus as
10983|       |    // operations.
10984|       |    //
10985|       |
10986|    175|    relateTabledBuiltins(version, profile, spvVersion, language, symbolTable);
10987|       |
10988|    175|    symbolTable.relateToOperator("doubleBitsToInt64",  EOpDoubleBitsToInt64);
10989|    175|    symbolTable.relateToOperator("doubleBitsToUint64", EOpDoubleBitsToUint64);
10990|    175|    symbolTable.relateToOperator("int64BitsToDouble",  EOpInt64BitsToDouble);
10991|    175|    symbolTable.relateToOperator("uint64BitsToDouble", EOpUint64BitsToDouble);
10992|    175|    symbolTable.relateToOperator("halfBitsToInt16",  EOpFloat16BitsToInt16);
10993|    175|    symbolTable.relateToOperator("halfBitsToUint16", EOpFloat16BitsToUint16);
10994|    175|    symbolTable.relateToOperator("float16BitsToInt16",  EOpFloat16BitsToInt16);
10995|    175|    symbolTable.relateToOperator("float16BitsToUint16", EOpFloat16BitsToUint16);
10996|    175|    symbolTable.relateToOperator("int16BitsToFloat16",  EOpInt16BitsToFloat16);
10997|    175|    symbolTable.relateToOperator("uint16BitsToFloat16", EOpUint16BitsToFloat16);
10998|       |
10999|    175|    symbolTable.relateToOperator("int16BitsToHalf",  EOpInt16BitsToFloat16);
11000|    175|    symbolTable.relateToOperator("uint16BitsToHalf", EOpUint16BitsToFloat16);
11001|       |
11002|    175|    symbolTable.relateToOperator("packSnorm4x8",    EOpPackSnorm4x8);
11003|    175|    symbolTable.relateToOperator("unpackSnorm4x8",  EOpUnpackSnorm4x8);
11004|    175|    symbolTable.relateToOperator("packUnorm4x8",    EOpPackUnorm4x8);
11005|    175|    symbolTable.relateToOperator("unpackUnorm4x8",  EOpUnpackUnorm4x8);
11006|       |
11007|    175|    symbolTable.relateToOperator("packDouble2x32",    EOpPackDouble2x32);
11008|    175|    symbolTable.relateToOperator("unpackDouble2x32",  EOpUnpackDouble2x32);
11009|       |
11010|    175|    symbolTable.relateToOperator("packInt2x32",     EOpPackInt2x32);
11011|    175|    symbolTable.relateToOperator("unpackInt2x32",   EOpUnpackInt2x32);
11012|    175|    symbolTable.relateToOperator("packUint2x32",    EOpPackUint2x32);
11013|    175|    symbolTable.relateToOperator("unpackUint2x32",  EOpUnpackUint2x32);
11014|       |
11015|    175|    symbolTable.relateToOperator("packInt2x16",     EOpPackInt2x16);
11016|    175|    symbolTable.relateToOperator("unpackInt2x16",   EOpUnpackInt2x16);
11017|    175|    symbolTable.relateToOperator("packUint2x16",    EOpPackUint2x16);
11018|    175|    symbolTable.relateToOperator("unpackUint2x16",  EOpUnpackUint2x16);
11019|       |
11020|    175|    symbolTable.relateToOperator("packInt4x16",     EOpPackInt4x16);
11021|    175|    symbolTable.relateToOperator("unpackInt4x16",   EOpUnpackInt4x16);
11022|    175|    symbolTable.relateToOperator("packUint4x16",    EOpPackUint4x16);
11023|    175|    symbolTable.relateToOperator("unpackUint4x16",  EOpUnpackUint4x16);
11024|    175|    symbolTable.relateToOperator("packFloat2x16",   EOpPackFloat2x16);
11025|    175|    symbolTable.relateToOperator("unpackFloat2x16", EOpUnpackFloat2x16);
11026|       |
11027|    175|    symbolTable.relateToOperator("pack16",          EOpPack16);
11028|    175|    symbolTable.relateToOperator("pack32",          EOpPack32);
11029|    175|    symbolTable.relateToOperator("pack64",          EOpPack64);
11030|       |
11031|    175|    symbolTable.relateToOperator("unpack32",        EOpUnpack32);
11032|    175|    symbolTable.relateToOperator("unpack16",        EOpUnpack16);
11033|    175|    symbolTable.relateToOperator("unpack8",         EOpUnpack8);
11034|       |
11035|    175|    symbolTable.relateToOperator("controlBarrier",             EOpBarrier);
11036|    175|    symbolTable.relateToOperator("memoryBarrierAtomicCounter", EOpMemoryBarrierAtomicCounter);
11037|    175|    symbolTable.relateToOperator("memoryBarrierImage",         EOpMemoryBarrierImage);
11038|       |
11039|    175|    if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (11039:9): [True: 0, False: 175]
  ------------------
11040|       |        //
11041|       |        // functions signature have been replaced to take uint operations on buffer variables
11042|       |        // remap atomic counter functions to atomic operations
11043|       |        //
11044|      0|        symbolTable.relateToOperator("memoryBarrierAtomicCounter", EOpMemoryBarrierBuffer);
11045|      0|    }
11046|       |
11047|    175|    symbolTable.relateToOperator("atomicLoad",     EOpAtomicLoad);
11048|    175|    symbolTable.relateToOperator("atomicStore",    EOpAtomicStore);
11049|       |
11050|    175|    symbolTable.relateToOperator("atomicCounterIncrement", EOpAtomicCounterIncrement);
11051|    175|    symbolTable.relateToOperator("atomicCounterDecrement", EOpAtomicCounterDecrement);
11052|    175|    symbolTable.relateToOperator("atomicCounter",          EOpAtomicCounter);
11053|       |
11054|    175|    if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (11054:9): [True: 0, False: 175]
  ------------------
11055|       |        //
11056|       |        // functions signature have been replaced to take uint operations
11057|       |        // remap atomic counter functions to atomic operations
11058|       |        //
11059|       |        // these atomic counter functions do not match signatures of glsl
11060|       |        // atomic functions, so they will be remapped to semantically
11061|       |        // equivalent functions in the parser
11062|       |        //
11063|      0|        symbolTable.relateToOperator("atomicCounterIncrement", EOpNull);
11064|      0|        symbolTable.relateToOperator("atomicCounterDecrement", EOpNull);
11065|      0|        symbolTable.relateToOperator("atomicCounter", EOpNull);
11066|      0|    }
11067|       |
11068|    175|    symbolTable.relateToOperator("clockARB",     EOpReadClockSubgroupKHR);
11069|    175|    symbolTable.relateToOperator("clock2x32ARB", EOpReadClockSubgroupKHR);
11070|       |
11071|    175|    symbolTable.relateToOperator("clockRealtimeEXT",     EOpReadClockDeviceKHR);
11072|    175|    symbolTable.relateToOperator("clockRealtime2x32EXT", EOpReadClockDeviceKHR);
11073|       |
11074|    175|    if (profile != EEsProfile && version == 450) {
  ------------------
  |  Branch (11074:9): [True: 97, False: 78]
  |  Branch (11074:34): [True: 97, False: 0]
  ------------------
11075|     97|        symbolTable.relateToOperator("atomicCounterAddARB",      EOpAtomicCounterAdd);
11076|     97|        symbolTable.relateToOperator("atomicCounterSubtractARB", EOpAtomicCounterSubtract);
11077|     97|        symbolTable.relateToOperator("atomicCounterMinARB",      EOpAtomicCounterMin);
11078|     97|        symbolTable.relateToOperator("atomicCounterMaxARB",      EOpAtomicCounterMax);
11079|     97|        symbolTable.relateToOperator("atomicCounterAndARB",      EOpAtomicCounterAnd);
11080|     97|        symbolTable.relateToOperator("atomicCounterOrARB",       EOpAtomicCounterOr);
11081|     97|        symbolTable.relateToOperator("atomicCounterXorARB",      EOpAtomicCounterXor);
11082|     97|        symbolTable.relateToOperator("atomicCounterExchangeARB", EOpAtomicCounterExchange);
11083|     97|        symbolTable.relateToOperator("atomicCounterCompSwapARB", EOpAtomicCounterCompSwap);
11084|     97|    }
11085|       |
11086|    175|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11086:9): [True: 97, False: 78]
  |  Branch (11086:34): [True: 0, False: 97]
  ------------------
11087|      0|        symbolTable.relateToOperator("atomicCounterAdd",      EOpAtomicCounterAdd);
11088|      0|        symbolTable.relateToOperator("atomicCounterSubtract", EOpAtomicCounterSubtract);
11089|      0|        symbolTable.relateToOperator("atomicCounterMin",      EOpAtomicCounterMin);
11090|      0|        symbolTable.relateToOperator("atomicCounterMax",      EOpAtomicCounterMax);
11091|      0|        symbolTable.relateToOperator("atomicCounterAnd",      EOpAtomicCounterAnd);
11092|      0|        symbolTable.relateToOperator("atomicCounterOr",       EOpAtomicCounterOr);
11093|      0|        symbolTable.relateToOperator("atomicCounterXor",      EOpAtomicCounterXor);
11094|      0|        symbolTable.relateToOperator("atomicCounterExchange", EOpAtomicCounterExchange);
11095|      0|        symbolTable.relateToOperator("atomicCounterCompSwap", EOpAtomicCounterCompSwap);
11096|      0|    }
11097|       |
11098|    175|    if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (11098:9): [True: 0, False: 175]
  ------------------
11099|       |        //
11100|       |        // functions signature have been replaced to take 'uint' instead of 'atomic_uint'
11101|       |        // remap atomic counter functions to non-counter atomic ops so
11102|       |        // functions act as aliases to non-counter atomic ops
11103|       |        //
11104|      0|        symbolTable.relateToOperator("atomicCounterAdd", EOpAtomicAdd);
11105|      0|        symbolTable.relateToOperator("atomicCounterSubtract", EOpAtomicSubtract);
11106|      0|        symbolTable.relateToOperator("atomicCounterMin", EOpAtomicMin);
11107|      0|        symbolTable.relateToOperator("atomicCounterMax", EOpAtomicMax);
11108|      0|        symbolTable.relateToOperator("atomicCounterAnd", EOpAtomicAnd);
11109|      0|        symbolTable.relateToOperator("atomicCounterOr", EOpAtomicOr);
11110|      0|        symbolTable.relateToOperator("atomicCounterXor", EOpAtomicXor);
11111|      0|        symbolTable.relateToOperator("atomicCounterExchange", EOpAtomicExchange);
11112|      0|        symbolTable.relateToOperator("atomicCounterCompSwap", EOpAtomicCompSwap);
11113|      0|    }
11114|       |
11115|    175|    symbolTable.relateToOperator("fma",               EOpFma);
11116|    175|    symbolTable.relateToOperator("frexp",             EOpFrexp);
11117|    175|    symbolTable.relateToOperator("ldexp",             EOpLdexp);
11118|    175|    symbolTable.relateToOperator("uaddCarry",         EOpAddCarry);
11119|    175|    symbolTable.relateToOperator("usubBorrow",        EOpSubBorrow);
11120|    175|    symbolTable.relateToOperator("umulExtended",      EOpUMulExtended);
11121|    175|    symbolTable.relateToOperator("imulExtended",      EOpIMulExtended);
11122|    175|    symbolTable.relateToOperator("bitfieldExtract",   EOpBitfieldExtract);
11123|    175|    symbolTable.relateToOperator("bitfieldInsert",    EOpBitfieldInsert);
11124|    175|    symbolTable.relateToOperator("bitfieldReverse",   EOpBitFieldReverse);
11125|    175|    symbolTable.relateToOperator("bitCount",          EOpBitCount);
11126|    175|    symbolTable.relateToOperator("findLSB",           EOpFindLSB);
11127|    175|    symbolTable.relateToOperator("findMSB",           EOpFindMSB);
11128|       |
11129|    175|    symbolTable.relateToOperator("helperInvocationEXT",  EOpIsHelperInvocation);
11130|       |
11131|    175|    symbolTable.relateToOperator("countLeadingZeros",  EOpCountLeadingZeros);
11132|    175|    symbolTable.relateToOperator("countTrailingZeros", EOpCountTrailingZeros);
11133|    175|    symbolTable.relateToOperator("absoluteDifference", EOpAbsDifference);
11134|    175|    symbolTable.relateToOperator("addSaturate",        EOpAddSaturate);
11135|    175|    symbolTable.relateToOperator("subtractSaturate",   EOpSubSaturate);
11136|    175|    symbolTable.relateToOperator("average",            EOpAverage);
11137|    175|    symbolTable.relateToOperator("averageRounded",     EOpAverageRounded);
11138|    175|    symbolTable.relateToOperator("multiply32x16",      EOpMul32x16);
11139|    175|    symbolTable.relateToOperator("debugPrintfEXT",     EOpDebugPrintf);
11140|    175|    symbolTable.relateToOperator("assumeEXT",          EOpAssumeEXT);
11141|    175|    symbolTable.relateToOperator("expectEXT",          EOpExpectEXT);
11142|    175|    symbolTable.relateToOperator("abortEXT",           EOpAbortEXT);
11143|       |
11144|       |
11145|    175|    if (PureOperatorBuiltins) {
  ------------------
  |  Branch (11145:9): [True: 175, Folded]
  ------------------
11146|    175|        symbolTable.relateToOperator("imageSize",               EOpImageQuerySize);
11147|    175|        symbolTable.relateToOperator("imageSamples",            EOpImageQuerySamples);
11148|    175|        symbolTable.relateToOperator("imageLoad",               EOpImageLoad);
11149|    175|        symbolTable.relateToOperator("imageStore",              EOpImageStore);
11150|    175|        symbolTable.relateToOperator("imageAtomicAdd",          EOpImageAtomicAdd);
11151|    175|        symbolTable.relateToOperator("imageAtomicMin",          EOpImageAtomicMin);
11152|    175|        symbolTable.relateToOperator("imageAtomicMax",          EOpImageAtomicMax);
11153|    175|        symbolTable.relateToOperator("imageAtomicAnd",          EOpImageAtomicAnd);
11154|    175|        symbolTable.relateToOperator("imageAtomicOr",           EOpImageAtomicOr);
11155|    175|        symbolTable.relateToOperator("imageAtomicXor",          EOpImageAtomicXor);
11156|    175|        symbolTable.relateToOperator("imageAtomicExchange",     EOpImageAtomicExchange);
11157|    175|        symbolTable.relateToOperator("imageAtomicCompSwap",     EOpImageAtomicCompSwap);
11158|    175|        symbolTable.relateToOperator("imageAtomicLoad",         EOpImageAtomicLoad);
11159|    175|        symbolTable.relateToOperator("imageAtomicStore",        EOpImageAtomicStore);
11160|       |
11161|    175|        symbolTable.relateToOperator("subpassLoad",             EOpSubpassLoad);
11162|    175|        symbolTable.relateToOperator("subpassLoadMS",           EOpSubpassLoadMS);
11163|       |
11164|    175|        symbolTable.relateToOperator("textureGather",           EOpTextureGather);
11165|    175|        symbolTable.relateToOperator("textureGatherOffset",     EOpTextureGatherOffset);
11166|    175|        symbolTable.relateToOperator("textureGatherOffsets",    EOpTextureGatherOffsets);
11167|       |
11168|    175|        symbolTable.relateToOperator("noise1", EOpNoise);
11169|    175|        symbolTable.relateToOperator("noise2", EOpNoise);
11170|    175|        symbolTable.relateToOperator("noise3", EOpNoise);
11171|    175|        symbolTable.relateToOperator("noise4", EOpNoise);
11172|       |
11173|    175|        symbolTable.relateToOperator("textureFootprintNV",          EOpImageSampleFootprintNV);
11174|    175|        symbolTable.relateToOperator("textureFootprintClampNV",     EOpImageSampleFootprintClampNV);
11175|    175|        symbolTable.relateToOperator("textureFootprintLodNV",       EOpImageSampleFootprintLodNV);
11176|    175|        symbolTable.relateToOperator("textureFootprintGradNV",      EOpImageSampleFootprintGradNV);
11177|    175|        symbolTable.relateToOperator("textureFootprintGradClampNV", EOpImageSampleFootprintGradClampNV);
11178|       |
11179|    175|        if (spvVersion.spv == 0 && IncludeLegacy(version, profile, spvVersion))
  ------------------
  |  Branch (11179:13): [True: 175, False: 0]
  |  Branch (11179:36): [True: 0, False: 175]
  ------------------
11180|      0|            symbolTable.relateToOperator("ftransform", EOpFtransform);
11181|       |
11182|    175|        if (spvVersion.spv == 0 && (IncludeLegacy(version, profile, spvVersion) ||
  ------------------
  |  Branch (11182:13): [True: 175, False: 0]
  |  Branch (11182:37): [True: 0, False: 175]
  ------------------
11183|    175|            (profile == EEsProfile && version == 100))) {
  ------------------
  |  Branch (11183:14): [True: 78, False: 97]
  |  Branch (11183:39): [True: 78, False: 0]
  ------------------
11184|       |
11185|     78|            symbolTable.relateToOperator("texture1D",                EOpTexture);
11186|     78|            symbolTable.relateToOperator("texture1DGradARB",         EOpTextureGrad);
11187|     78|            symbolTable.relateToOperator("texture1DProj",            EOpTextureProj);
11188|     78|            symbolTable.relateToOperator("texture1DProjGradARB",     EOpTextureProjGrad);
11189|     78|            symbolTable.relateToOperator("texture1DLod",             EOpTextureLod);
11190|     78|            symbolTable.relateToOperator("texture1DProjLod",         EOpTextureProjLod);
11191|       |
11192|     78|            symbolTable.relateToOperator("texture2DRect",            EOpTexture);
11193|     78|            symbolTable.relateToOperator("texture2DRectProj",        EOpTextureProj);
11194|     78|            symbolTable.relateToOperator("texture2DRectGradARB",     EOpTextureGrad);
11195|     78|            symbolTable.relateToOperator("texture2DRectProjGradARB", EOpTextureProjGrad);
11196|     78|            symbolTable.relateToOperator("shadow2DRect",             EOpTexture);
11197|     78|            symbolTable.relateToOperator("shadow2DRectProj",         EOpTextureProj);
11198|     78|            symbolTable.relateToOperator("shadow2DRectGradARB",      EOpTextureGrad);
11199|     78|            symbolTable.relateToOperator("shadow2DRectProjGradARB",  EOpTextureProjGrad);
11200|       |
11201|     78|            symbolTable.relateToOperator("texture2D",                EOpTexture);
11202|     78|            symbolTable.relateToOperator("texture2DProj",            EOpTextureProj);
11203|     78|            symbolTable.relateToOperator("texture2DGradEXT",         EOpTextureGrad);
11204|     78|            symbolTable.relateToOperator("texture2DGradARB",         EOpTextureGrad);
11205|     78|            symbolTable.relateToOperator("texture2DProjGradEXT",     EOpTextureProjGrad);
11206|     78|            symbolTable.relateToOperator("texture2DProjGradARB",     EOpTextureProjGrad);
11207|     78|            symbolTable.relateToOperator("texture2DLod",             EOpTextureLod);
11208|     78|            symbolTable.relateToOperator("texture2DLodEXT",          EOpTextureLod);
11209|     78|            symbolTable.relateToOperator("texture2DProjLod",         EOpTextureProjLod);
11210|     78|            symbolTable.relateToOperator("texture2DProjLodEXT",      EOpTextureProjLod);
11211|       |
11212|     78|            symbolTable.relateToOperator("texture3D",                EOpTexture);
11213|     78|            symbolTable.relateToOperator("texture3DGradARB",         EOpTextureGrad);
11214|     78|            symbolTable.relateToOperator("texture3DProj",            EOpTextureProj);
11215|     78|            symbolTable.relateToOperator("texture3DProjGradARB",     EOpTextureProjGrad);
11216|     78|            symbolTable.relateToOperator("texture3DLod",             EOpTextureLod);
11217|     78|            symbolTable.relateToOperator("texture3DProjLod",         EOpTextureProjLod);
11218|     78|            symbolTable.relateToOperator("textureCube",              EOpTexture);
11219|     78|            symbolTable.relateToOperator("textureCubeGradEXT",       EOpTextureGrad);
11220|     78|            symbolTable.relateToOperator("textureCubeGradARB",       EOpTextureGrad);
11221|     78|            symbolTable.relateToOperator("textureCubeLod",           EOpTextureLod);
11222|     78|            symbolTable.relateToOperator("textureCubeLodEXT",        EOpTextureLod);
11223|     78|            symbolTable.relateToOperator("shadow1D",                 EOpTexture);
11224|     78|            symbolTable.relateToOperator("shadow1DGradARB",          EOpTextureGrad);
11225|     78|            symbolTable.relateToOperator("shadow2D",                 EOpTexture);
11226|     78|            symbolTable.relateToOperator("shadow2DGradARB",          EOpTextureGrad);
11227|     78|            symbolTable.relateToOperator("shadow1DProj",             EOpTextureProj);
11228|     78|            symbolTable.relateToOperator("shadow2DProj",             EOpTextureProj);
11229|     78|            symbolTable.relateToOperator("shadow1DProjGradARB",      EOpTextureProjGrad);
11230|     78|            symbolTable.relateToOperator("shadow2DProjGradARB",      EOpTextureProjGrad);
11231|     78|            symbolTable.relateToOperator("shadow1DLod",              EOpTextureLod);
11232|     78|            symbolTable.relateToOperator("shadow2DLod",              EOpTextureLod);
11233|     78|            symbolTable.relateToOperator("shadow1DProjLod",          EOpTextureProjLod);
11234|     78|            symbolTable.relateToOperator("shadow2DProjLod",          EOpTextureProjLod);
11235|     78|        }
11236|       |
11237|    175|        if (profile != EEsProfile) {
  ------------------
  |  Branch (11237:13): [True: 97, False: 78]
  ------------------
11238|     97|            symbolTable.relateToOperator("sparseTextureARB",                EOpSparseTexture);
11239|     97|            symbolTable.relateToOperator("sparseTextureLodARB",             EOpSparseTextureLod);
11240|     97|            symbolTable.relateToOperator("sparseTextureOffsetARB",          EOpSparseTextureOffset);
11241|     97|            symbolTable.relateToOperator("sparseTexelFetchARB",             EOpSparseTextureFetch);
11242|     97|            symbolTable.relateToOperator("sparseTexelFetchOffsetARB",       EOpSparseTextureFetchOffset);
11243|     97|            symbolTable.relateToOperator("sparseTextureLodOffsetARB",       EOpSparseTextureLodOffset);
11244|     97|            symbolTable.relateToOperator("sparseTextureGradARB",            EOpSparseTextureGrad);
11245|     97|            symbolTable.relateToOperator("sparseTextureGradOffsetARB",      EOpSparseTextureGradOffset);
11246|     97|            symbolTable.relateToOperator("sparseTextureGatherARB",          EOpSparseTextureGather);
11247|     97|            symbolTable.relateToOperator("sparseTextureGatherOffsetARB",    EOpSparseTextureGatherOffset);
11248|     97|            symbolTable.relateToOperator("sparseTextureGatherOffsetsARB",   EOpSparseTextureGatherOffsets);
11249|     97|            symbolTable.relateToOperator("sparseImageLoadARB",              EOpSparseImageLoad);
11250|     97|            symbolTable.relateToOperator("sparseTexelsResidentARB",         EOpSparseTexelsResident);
11251|       |
11252|     97|            symbolTable.relateToOperator("sparseTextureClampARB",           EOpSparseTextureClamp);
11253|     97|            symbolTable.relateToOperator("sparseTextureOffsetClampARB",     EOpSparseTextureOffsetClamp);
11254|     97|            symbolTable.relateToOperator("sparseTextureGradClampARB",       EOpSparseTextureGradClamp);
11255|     97|            symbolTable.relateToOperator("sparseTextureGradOffsetClampARB", EOpSparseTextureGradOffsetClamp);
11256|     97|            symbolTable.relateToOperator("textureClampARB",                 EOpTextureClamp);
11257|     97|            symbolTable.relateToOperator("textureOffsetClampARB",           EOpTextureOffsetClamp);
11258|     97|            symbolTable.relateToOperator("textureGradClampARB",             EOpTextureGradClamp);
11259|     97|            symbolTable.relateToOperator("textureGradOffsetClampARB",       EOpTextureGradOffsetClamp);
11260|       |
11261|     97|            symbolTable.relateToOperator("ballotARB",                       EOpBallot);
11262|     97|            symbolTable.relateToOperator("readInvocationARB",               EOpReadInvocation);
11263|     97|            symbolTable.relateToOperator("readFirstInvocationARB",          EOpReadFirstInvocation);
11264|       |
11265|     97|            if (version >= 430) {
  ------------------
  |  Branch (11265:17): [True: 97, False: 0]
  ------------------
11266|     97|                symbolTable.relateToOperator("anyInvocationARB",            EOpAnyInvocation);
11267|     97|                symbolTable.relateToOperator("allInvocationsARB",           EOpAllInvocations);
11268|     97|                symbolTable.relateToOperator("allInvocationsEqualARB",      EOpAllInvocationsEqual);
11269|     97|            }
11270|     97|            if (version >= 460) {
  ------------------
  |  Branch (11270:17): [True: 0, False: 97]
  ------------------
11271|      0|                symbolTable.relateToOperator("anyInvocation",               EOpAnyInvocation);
11272|      0|                symbolTable.relateToOperator("allInvocations",              EOpAllInvocations);
11273|      0|                symbolTable.relateToOperator("allInvocationsEqual",         EOpAllInvocationsEqual);
11274|      0|            }
11275|       |            // As per dependency between NV_gpu_shader5 and ARB_shader_group_vote
11276|       |            // anyInvocationARB = anyThreadNV
11277|       |            // allInvocationsARB = allThreadsNV
11278|       |            // allInvocationsEqualARB = allThreadsEqualNV
11279|       |            // Thus we reuse the Op's
11280|     97|            if (version >= 150) {
  ------------------
  |  Branch (11280:17): [True: 97, False: 0]
  ------------------
11281|     97|                symbolTable.relateToOperator("anyThreadNV",            EOpAnyInvocation);
11282|     97|                symbolTable.relateToOperator("allThreadsNV",           EOpAllInvocations);
11283|     97|                symbolTable.relateToOperator("allThreadsEqualNV",      EOpAllInvocationsEqual);
11284|     97|            }
11285|     97|            symbolTable.relateToOperator("minInvocationsAMD",                           EOpMinInvocations);
11286|     97|            symbolTable.relateToOperator("maxInvocationsAMD",                           EOpMaxInvocations);
11287|     97|            symbolTable.relateToOperator("addInvocationsAMD",                           EOpAddInvocations);
11288|     97|            symbolTable.relateToOperator("minInvocationsNonUniformAMD",                 EOpMinInvocationsNonUniform);
11289|     97|            symbolTable.relateToOperator("maxInvocationsNonUniformAMD",                 EOpMaxInvocationsNonUniform);
11290|     97|            symbolTable.relateToOperator("addInvocationsNonUniformAMD",                 EOpAddInvocationsNonUniform);
11291|     97|            symbolTable.relateToOperator("minInvocationsInclusiveScanAMD",              EOpMinInvocationsInclusiveScan);
11292|     97|            symbolTable.relateToOperator("maxInvocationsInclusiveScanAMD",              EOpMaxInvocationsInclusiveScan);
11293|     97|            symbolTable.relateToOperator("addInvocationsInclusiveScanAMD",              EOpAddInvocationsInclusiveScan);
11294|     97|            symbolTable.relateToOperator("minInvocationsInclusiveScanNonUniformAMD",    EOpMinInvocationsInclusiveScanNonUniform);
11295|     97|            symbolTable.relateToOperator("maxInvocationsInclusiveScanNonUniformAMD",    EOpMaxInvocationsInclusiveScanNonUniform);
11296|     97|            symbolTable.relateToOperator("addInvocationsInclusiveScanNonUniformAMD",    EOpAddInvocationsInclusiveScanNonUniform);
11297|     97|            symbolTable.relateToOperator("minInvocationsExclusiveScanAMD",              EOpMinInvocationsExclusiveScan);
11298|     97|            symbolTable.relateToOperator("maxInvocationsExclusiveScanAMD",              EOpMaxInvocationsExclusiveScan);
11299|     97|            symbolTable.relateToOperator("addInvocationsExclusiveScanAMD",              EOpAddInvocationsExclusiveScan);
11300|     97|            symbolTable.relateToOperator("minInvocationsExclusiveScanNonUniformAMD",    EOpMinInvocationsExclusiveScanNonUniform);
11301|     97|            symbolTable.relateToOperator("maxInvocationsExclusiveScanNonUniformAMD",    EOpMaxInvocationsExclusiveScanNonUniform);
11302|     97|            symbolTable.relateToOperator("addInvocationsExclusiveScanNonUniformAMD",    EOpAddInvocationsExclusiveScanNonUniform);
11303|     97|            symbolTable.relateToOperator("swizzleInvocationsAMD",                       EOpSwizzleInvocations);
11304|     97|            symbolTable.relateToOperator("swizzleInvocationsMaskedAMD",                 EOpSwizzleInvocationsMasked);
11305|     97|            symbolTable.relateToOperator("writeInvocationAMD",                          EOpWriteInvocation);
11306|     97|            symbolTable.relateToOperator("mbcntAMD",                                    EOpMbcnt);
11307|       |
11308|     97|            symbolTable.relateToOperator("min3",    EOpMin3);
11309|     97|            symbolTable.relateToOperator("max3",    EOpMax3);
11310|     97|            symbolTable.relateToOperator("mid3",    EOpMid3);
11311|       |
11312|     97|            symbolTable.relateToOperator("cubeFaceIndexAMD",    EOpCubeFaceIndex);
11313|     97|            symbolTable.relateToOperator("cubeFaceCoordAMD",    EOpCubeFaceCoord);
11314|     97|            symbolTable.relateToOperator("timeAMD",             EOpTime);
11315|       |
11316|     97|            symbolTable.relateToOperator("textureGatherLodAMD",                 EOpTextureGatherLod);
11317|     97|            symbolTable.relateToOperator("textureGatherLodOffsetAMD",           EOpTextureGatherLodOffset);
11318|     97|            symbolTable.relateToOperator("textureGatherLodOffsetsAMD",          EOpTextureGatherLodOffsets);
11319|     97|            symbolTable.relateToOperator("sparseTextureGatherLodAMD",           EOpSparseTextureGatherLod);
11320|     97|            symbolTable.relateToOperator("sparseTextureGatherLodOffsetAMD",     EOpSparseTextureGatherLodOffset);
11321|     97|            symbolTable.relateToOperator("sparseTextureGatherLodOffsetsAMD",    EOpSparseTextureGatherLodOffsets);
11322|       |
11323|     97|            symbolTable.relateToOperator("imageLoadLodAMD",                     EOpImageLoadLod);
11324|     97|            symbolTable.relateToOperator("imageStoreLodAMD",                    EOpImageStoreLod);
11325|     97|            symbolTable.relateToOperator("sparseImageLoadLodAMD",               EOpSparseImageLoadLod);
11326|       |
11327|     97|            symbolTable.relateToOperator("fragmentMaskFetchAMD",                EOpFragmentMaskFetch);
11328|     97|            symbolTable.relateToOperator("fragmentFetchAMD",                    EOpFragmentFetch);
11329|     97|        }
11330|       |
11331|       |        // GL_EXT_integer_dot_product
11332|    175|        if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (11332:14): [True: 78, False: 97]
  |  Branch (11332:39): [True: 0, False: 78]
  ------------------
11333|    175|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11333:14): [True: 97, False: 78]
  |  Branch (11333:39): [True: 97, False: 0]
  ------------------
11334|     97|            symbolTable.relateToOperator("dotEXT", EOpDot);
11335|     97|            symbolTable.relateToOperator("dotPacked4x8EXT", EOpDotPackedEXT);
11336|     97|            symbolTable.relateToOperator("dotAccSatEXT", EOpDotAccSatEXT);
11337|     97|            symbolTable.relateToOperator("dotPacked4x8AccSatEXT", EOpDotPackedAccSatEXT);
11338|     97|        }
11339|       |
11340|       |        // GL_EXT_bfloat16
11341|    175|        if ((profile == EEsProfile && version >= 320) ||
  ------------------
  |  Branch (11341:14): [True: 78, False: 97]
  |  Branch (11341:39): [True: 0, False: 78]
  ------------------
11342|    175|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11342:14): [True: 97, False: 78]
  |  Branch (11342:39): [True: 97, False: 0]
  ------------------
11343|     97|            symbolTable.relateToOperator("bfloat16BitsToIntEXT",  EOpFloatBitsToInt);
11344|     97|            symbolTable.relateToOperator("bfloat16BitsToUintEXT", EOpFloatBitsToUint);
11345|     97|            symbolTable.relateToOperator("intBitsToBFloat16EXT",  EOpIntBitsToFloat);
11346|     97|            symbolTable.relateToOperator("uintBitsToBFloat16EXT", EOpUintBitsToFloat);
11347|       |
11348|     97|            symbolTable.relateToOperator("floate5m2BitsToIntEXT",  EOpFloatBitsToInt);
11349|     97|            symbolTable.relateToOperator("floate5m2BitsToUintEXT", EOpFloatBitsToUint);
11350|     97|            symbolTable.relateToOperator("intBitsToFloate5m2EXT",  EOpIntBitsToFloat);
11351|     97|            symbolTable.relateToOperator("uintBitsToFloate5m2EXT", EOpUintBitsToFloat);
11352|       |
11353|     97|            symbolTable.relateToOperator("floate4m3BitsToIntEXT",  EOpFloatBitsToInt);
11354|     97|            symbolTable.relateToOperator("floate4m3BitsToUintEXT", EOpFloatBitsToUint);
11355|     97|            symbolTable.relateToOperator("intBitsToFloate4m3EXT",  EOpIntBitsToFloat);
11356|     97|            symbolTable.relateToOperator("uintBitsToFloate4m3EXT", EOpUintBitsToFloat);
11357|       |
11358|     97|            symbolTable.relateToOperator("saturatedConvertEXT", EOpConstructSaturated);
11359|     97|        }
11360|       |
11361|       |        // GL_KHR_shader_subgroup
11362|    175|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11362:14): [True: 78, False: 97]
  |  Branch (11362:39): [True: 0, False: 78]
  ------------------
11363|    175|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11363:14): [True: 97, False: 78]
  |  Branch (11363:39): [True: 97, False: 0]
  ------------------
11364|     97|            symbolTable.relateToOperator("subgroupBarrier",                 EOpSubgroupBarrier);
11365|     97|            symbolTable.relateToOperator("subgroupMemoryBarrier",           EOpSubgroupMemoryBarrier);
11366|     97|            symbolTable.relateToOperator("subgroupMemoryBarrierBuffer",     EOpSubgroupMemoryBarrierBuffer);
11367|     97|            symbolTable.relateToOperator("subgroupMemoryBarrierImage",      EOpSubgroupMemoryBarrierImage);
11368|     97|            symbolTable.relateToOperator("subgroupElect",                   EOpSubgroupElect);
11369|     97|            symbolTable.relateToOperator("subgroupAll",                     EOpSubgroupAll);
11370|     97|            symbolTable.relateToOperator("subgroupAny",                     EOpSubgroupAny);
11371|     97|            symbolTable.relateToOperator("subgroupAllEqual",                EOpSubgroupAllEqual);
11372|     97|            symbolTable.relateToOperator("subgroupBroadcast",               EOpSubgroupBroadcast);
11373|     97|            symbolTable.relateToOperator("subgroupBroadcastFirst",          EOpSubgroupBroadcastFirst);
11374|     97|            symbolTable.relateToOperator("subgroupBallot",                  EOpSubgroupBallot);
11375|     97|            symbolTable.relateToOperator("subgroupInverseBallot",           EOpSubgroupInverseBallot);
11376|     97|            symbolTable.relateToOperator("subgroupBallotBitExtract",        EOpSubgroupBallotBitExtract);
11377|     97|            symbolTable.relateToOperator("subgroupBallotBitCount",          EOpSubgroupBallotBitCount);
11378|     97|            symbolTable.relateToOperator("subgroupBallotInclusiveBitCount", EOpSubgroupBallotInclusiveBitCount);
11379|     97|            symbolTable.relateToOperator("subgroupBallotExclusiveBitCount", EOpSubgroupBallotExclusiveBitCount);
11380|     97|            symbolTable.relateToOperator("subgroupBallotFindLSB",           EOpSubgroupBallotFindLSB);
11381|     97|            symbolTable.relateToOperator("subgroupBallotFindMSB",           EOpSubgroupBallotFindMSB);
11382|     97|            symbolTable.relateToOperator("subgroupShuffle",                 EOpSubgroupShuffle);
11383|     97|            symbolTable.relateToOperator("subgroupShuffleXor",              EOpSubgroupShuffleXor);
11384|     97|            symbolTable.relateToOperator("subgroupShuffleUp",               EOpSubgroupShuffleUp);
11385|     97|            symbolTable.relateToOperator("subgroupShuffleDown",             EOpSubgroupShuffleDown);
11386|     97|            symbolTable.relateToOperator("subgroupRotate",                  EOpSubgroupRotate);
11387|     97|            symbolTable.relateToOperator("subgroupClusteredRotate",         EOpSubgroupClusteredRotate);
11388|     97|            symbolTable.relateToOperator("subgroupAdd",                     EOpSubgroupAdd);
11389|     97|            symbolTable.relateToOperator("subgroupMul",                     EOpSubgroupMul);
11390|     97|            symbolTable.relateToOperator("subgroupMin",                     EOpSubgroupMin);
11391|     97|            symbolTable.relateToOperator("subgroupMax",                     EOpSubgroupMax);
11392|     97|            symbolTable.relateToOperator("subgroupAnd",                     EOpSubgroupAnd);
11393|     97|            symbolTable.relateToOperator("subgroupOr",                      EOpSubgroupOr);
11394|     97|            symbolTable.relateToOperator("subgroupXor",                     EOpSubgroupXor);
11395|     97|            symbolTable.relateToOperator("subgroupInclusiveAdd",            EOpSubgroupInclusiveAdd);
11396|     97|            symbolTable.relateToOperator("subgroupInclusiveMul",            EOpSubgroupInclusiveMul);
11397|     97|            symbolTable.relateToOperator("subgroupInclusiveMin",            EOpSubgroupInclusiveMin);
11398|     97|            symbolTable.relateToOperator("subgroupInclusiveMax",            EOpSubgroupInclusiveMax);
11399|     97|            symbolTable.relateToOperator("subgroupInclusiveAnd",            EOpSubgroupInclusiveAnd);
11400|     97|            symbolTable.relateToOperator("subgroupInclusiveOr",             EOpSubgroupInclusiveOr);
11401|     97|            symbolTable.relateToOperator("subgroupInclusiveXor",            EOpSubgroupInclusiveXor);
11402|     97|            symbolTable.relateToOperator("subgroupExclusiveAdd",            EOpSubgroupExclusiveAdd);
11403|     97|            symbolTable.relateToOperator("subgroupExclusiveMul",            EOpSubgroupExclusiveMul);
11404|     97|            symbolTable.relateToOperator("subgroupExclusiveMin",            EOpSubgroupExclusiveMin);
11405|     97|            symbolTable.relateToOperator("subgroupExclusiveMax",            EOpSubgroupExclusiveMax);
11406|     97|            symbolTable.relateToOperator("subgroupExclusiveAnd",            EOpSubgroupExclusiveAnd);
11407|     97|            symbolTable.relateToOperator("subgroupExclusiveOr",             EOpSubgroupExclusiveOr);
11408|     97|            symbolTable.relateToOperator("subgroupExclusiveXor",            EOpSubgroupExclusiveXor);
11409|     97|            symbolTable.relateToOperator("subgroupClusteredAdd",            EOpSubgroupClusteredAdd);
11410|     97|            symbolTable.relateToOperator("subgroupClusteredMul",            EOpSubgroupClusteredMul);
11411|     97|            symbolTable.relateToOperator("subgroupClusteredMin",            EOpSubgroupClusteredMin);
11412|     97|            symbolTable.relateToOperator("subgroupClusteredMax",            EOpSubgroupClusteredMax);
11413|     97|            symbolTable.relateToOperator("subgroupClusteredAnd",            EOpSubgroupClusteredAnd);
11414|     97|            symbolTable.relateToOperator("subgroupClusteredOr",             EOpSubgroupClusteredOr);
11415|     97|            symbolTable.relateToOperator("subgroupClusteredXor",            EOpSubgroupClusteredXor);
11416|     97|            symbolTable.relateToOperator("subgroupQuadBroadcast",           EOpSubgroupQuadBroadcast);
11417|     97|            symbolTable.relateToOperator("subgroupQuadSwapHorizontal",      EOpSubgroupQuadSwapHorizontal);
11418|     97|            symbolTable.relateToOperator("subgroupQuadSwapVertical",        EOpSubgroupQuadSwapVertical);
11419|     97|            symbolTable.relateToOperator("subgroupQuadSwapDiagonal",        EOpSubgroupQuadSwapDiagonal);
11420|       |
11421|     97|            symbolTable.relateToOperator("subgroupPartitionNV",                          EOpSubgroupPartition);
11422|     97|            symbolTable.relateToOperator("subgroupPartitionedAddNV",                     EOpSubgroupPartitionedAdd);
11423|     97|            symbolTable.relateToOperator("subgroupPartitionedMulNV",                     EOpSubgroupPartitionedMul);
11424|     97|            symbolTable.relateToOperator("subgroupPartitionedMinNV",                     EOpSubgroupPartitionedMin);
11425|     97|            symbolTable.relateToOperator("subgroupPartitionedMaxNV",                     EOpSubgroupPartitionedMax);
11426|     97|            symbolTable.relateToOperator("subgroupPartitionedAndNV",                     EOpSubgroupPartitionedAnd);
11427|     97|            symbolTable.relateToOperator("subgroupPartitionedOrNV",                      EOpSubgroupPartitionedOr);
11428|     97|            symbolTable.relateToOperator("subgroupPartitionedXorNV",                     EOpSubgroupPartitionedXor);
11429|     97|            symbolTable.relateToOperator("subgroupPartitionedInclusiveAddNV",            EOpSubgroupPartitionedInclusiveAdd);
11430|     97|            symbolTable.relateToOperator("subgroupPartitionedInclusiveMulNV",            EOpSubgroupPartitionedInclusiveMul);
11431|     97|            symbolTable.relateToOperator("subgroupPartitionedInclusiveMinNV",            EOpSubgroupPartitionedInclusiveMin);
11432|     97|            symbolTable.relateToOperator("subgroupPartitionedInclusiveMaxNV",            EOpSubgroupPartitionedInclusiveMax);
11433|     97|            symbolTable.relateToOperator("subgroupPartitionedInclusiveAndNV",            EOpSubgroupPartitionedInclusiveAnd);
11434|     97|            symbolTable.relateToOperator("subgroupPartitionedInclusiveOrNV",             EOpSubgroupPartitionedInclusiveOr);
11435|     97|            symbolTable.relateToOperator("subgroupPartitionedInclusiveXorNV",            EOpSubgroupPartitionedInclusiveXor);
11436|     97|            symbolTable.relateToOperator("subgroupPartitionedExclusiveAddNV",            EOpSubgroupPartitionedExclusiveAdd);
11437|     97|            symbolTable.relateToOperator("subgroupPartitionedExclusiveMulNV",            EOpSubgroupPartitionedExclusiveMul);
11438|     97|            symbolTable.relateToOperator("subgroupPartitionedExclusiveMinNV",            EOpSubgroupPartitionedExclusiveMin);
11439|     97|            symbolTable.relateToOperator("subgroupPartitionedExclusiveMaxNV",            EOpSubgroupPartitionedExclusiveMax);
11440|     97|            symbolTable.relateToOperator("subgroupPartitionedExclusiveAndNV",            EOpSubgroupPartitionedExclusiveAnd);
11441|     97|            symbolTable.relateToOperator("subgroupPartitionedExclusiveOrNV",             EOpSubgroupPartitionedExclusiveOr);
11442|     97|            symbolTable.relateToOperator("subgroupPartitionedExclusiveXorNV",            EOpSubgroupPartitionedExclusiveXor);
11443|     97|        }
11444|       |
11445|    175|        if (profile == EEsProfile) {
  ------------------
  |  Branch (11445:13): [True: 78, False: 97]
  ------------------
11446|     78|            symbolTable.relateToOperator("shadow2DEXT",              EOpTexture);
11447|     78|            symbolTable.relateToOperator("shadow2DProjEXT",          EOpTextureProj);
11448|     78|        }
11449|       |
11450|       |        // GL_EXT_shader_quad_control
11451|    175|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11451:14): [True: 78, False: 97]
  |  Branch (11451:39): [True: 0, False: 78]
  ------------------
11452|    175|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11452:14): [True: 97, False: 78]
  |  Branch (11452:39): [True: 97, False: 0]
  ------------------
11453|     97|            symbolTable.relateToOperator("subgroupQuadAll",                     EOpSubgroupQuadAll);
11454|     97|            symbolTable.relateToOperator("subgroupQuadAny",                     EOpSubgroupQuadAny);
11455|     97|        }
11456|       |
11457|    175|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11457:14): [True: 78, False: 97]
  |  Branch (11457:39): [True: 0, False: 78]
  ------------------
11458|    175|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11458:14): [True: 97, False: 78]
  |  Branch (11458:39): [True: 97, False: 0]
  ------------------
11459|     97|            symbolTable.relateToOperator("textureWeightedQCOM",      EOpImageSampleWeightedQCOM);
11460|     97|            symbolTable.relateToOperator("textureBoxFilterQCOM",     EOpImageBoxFilterQCOM);
11461|     97|            symbolTable.relateToOperator("textureBlockMatchSADQCOM", EOpImageBlockMatchSADQCOM);
11462|     97|            symbolTable.relateToOperator("textureBlockMatchSSDQCOM", EOpImageBlockMatchSSDQCOM);
11463|       |
11464|     97|            symbolTable.relateToOperator("textureBlockMatchWindowSSDQCOM", EOpImageBlockMatchWindowSSDQCOM);
11465|     97|            symbolTable.relateToOperator("textureBlockMatchWindowSADQCOM", EOpImageBlockMatchWindowSADQCOM);
11466|     97|            symbolTable.relateToOperator("textureBlockMatchGatherSSDQCOM", EOpImageBlockMatchGatherSSDQCOM);
11467|     97|            symbolTable.relateToOperator("textureBlockMatchGatherSADQCOM", EOpImageBlockMatchGatherSADQCOM);
11468|     97|        }
11469|       |
11470|    175|        if (profile != EEsProfile && spvVersion.spv == 0) {
  ------------------
  |  Branch (11470:13): [True: 97, False: 78]
  |  Branch (11470:38): [True: 97, False: 0]
  ------------------
11471|     97|            symbolTable.relateToOperator("texture1DArray", EOpTexture);
11472|     97|            symbolTable.relateToOperator("texture2DArray", EOpTexture);
11473|     97|            symbolTable.relateToOperator("shadow1DArray", EOpTexture);
11474|     97|            symbolTable.relateToOperator("shadow2DArray", EOpTexture);
11475|       |
11476|     97|            symbolTable.relateToOperator("texture1DArrayLod", EOpTextureLod);
11477|     97|            symbolTable.relateToOperator("texture2DArrayLod", EOpTextureLod);
11478|     97|            symbolTable.relateToOperator("shadow1DArrayLod", EOpTextureLod);
11479|     97|        }
11480|       |
11481|    175|        symbolTable.relateToOperator("coopVecMatMulNV",              EOpCooperativeVectorMatMulNV);
11482|    175|        symbolTable.relateToOperator("coopVecMatMulAddNV",           EOpCooperativeVectorMatMulAddNV);
11483|    175|        symbolTable.relateToOperator("coopVecLoadNV",                EOpCooperativeVectorLoadNV);
11484|    175|        symbolTable.relateToOperator("coopVecStoreNV",               EOpCooperativeVectorStoreNV);
11485|    175|        symbolTable.relateToOperator("coopVecOuterProductAccumulateNV", EOpCooperativeVectorOuterProductAccumulateNV);
11486|    175|        symbolTable.relateToOperator("coopVecReduceSumAccumulateNV",    EOpCooperativeVectorReduceSumAccumulateNV);
11487|    175|    }
11488|       |
11489|    175|    switch(language) {
11490|     46|    case EShLangVertex:
  ------------------
  |  Branch (11490:5): [True: 46, False: 129]
  ------------------
11491|     46|        break;
11492|       |
11493|      7|    case EShLangTessControl:
  ------------------
  |  Branch (11493:5): [True: 7, False: 168]
  ------------------
11494|     14|    case EShLangTessEvaluation:
  ------------------
  |  Branch (11494:5): [True: 7, False: 168]
  ------------------
11495|     14|        break;
11496|       |
11497|      7|    case EShLangGeometry:
  ------------------
  |  Branch (11497:5): [True: 7, False: 168]
  ------------------
11498|      7|        symbolTable.relateToOperator("EmitStreamVertex",   EOpEmitStreamVertex);
11499|      7|        symbolTable.relateToOperator("EndStreamPrimitive", EOpEndStreamPrimitive);
11500|      7|        symbolTable.relateToOperator("EmitVertex",         EOpEmitVertex);
11501|      7|        symbolTable.relateToOperator("EndPrimitive",       EOpEndPrimitive);
11502|      7|        break;
11503|       |
11504|     45|    case EShLangFragment:
  ------------------
  |  Branch (11504:5): [True: 45, False: 130]
  ------------------
11505|     45|        if (profile != EEsProfile && version >= 400) {
  ------------------
  |  Branch (11505:13): [True: 6, False: 39]
  |  Branch (11505:38): [True: 6, False: 0]
  ------------------
11506|      6|            symbolTable.relateToOperator("dFdxFine",     EOpDPdxFine);
11507|      6|            symbolTable.relateToOperator("dFdyFine",     EOpDPdyFine);
11508|      6|            symbolTable.relateToOperator("fwidthFine",   EOpFwidthFine);
11509|      6|            symbolTable.relateToOperator("dFdxCoarse",   EOpDPdxCoarse);
11510|      6|            symbolTable.relateToOperator("dFdyCoarse",   EOpDPdyCoarse);
11511|      6|            symbolTable.relateToOperator("fwidthCoarse", EOpFwidthCoarse);
11512|      6|        }
11513|       |
11514|     45|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11514:13): [True: 6, False: 39]
  |  Branch (11514:38): [True: 0, False: 6]
  ------------------
11515|      0|            symbolTable.relateToOperator("rayQueryInitializeEXT",                                             EOpRayQueryInitialize);
11516|      0|            symbolTable.relateToOperator("rayQueryTerminateEXT",                                              EOpRayQueryTerminate);
11517|      0|            symbolTable.relateToOperator("rayQueryGenerateIntersectionEXT",                                   EOpRayQueryGenerateIntersection);
11518|      0|            symbolTable.relateToOperator("rayQueryConfirmIntersectionEXT",                                    EOpRayQueryConfirmIntersection);
11519|      0|            symbolTable.relateToOperator("rayQueryProceedEXT",                                                EOpRayQueryProceed);
11520|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionTypeEXT",                                    EOpRayQueryGetIntersectionType);
11521|      0|            symbolTable.relateToOperator("rayQueryGetRayTMinEXT",                                             EOpRayQueryGetRayTMin);
11522|      0|            symbolTable.relateToOperator("rayQueryGetRayFlagsEXT",                                            EOpRayQueryGetRayFlags);
11523|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionTEXT",                                       EOpRayQueryGetIntersectionT);
11524|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionInstanceCustomIndexEXT",                     EOpRayQueryGetIntersectionInstanceCustomIndex);
11525|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionInstanceIdEXT",                              EOpRayQueryGetIntersectionInstanceId);
11526|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetEXT",  EOpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffset);
11527|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionGeometryIndexEXT",                           EOpRayQueryGetIntersectionGeometryIndex);
11528|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionPrimitiveIndexEXT",                          EOpRayQueryGetIntersectionPrimitiveIndex);
11529|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionBarycentricsEXT",                            EOpRayQueryGetIntersectionBarycentrics);
11530|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionFrontFaceEXT",                               EOpRayQueryGetIntersectionFrontFace);
11531|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionCandidateAABBOpaqueEXT",                     EOpRayQueryGetIntersectionCandidateAABBOpaque);
11532|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionObjectRayDirectionEXT",                      EOpRayQueryGetIntersectionObjectRayDirection);
11533|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionObjectRayOriginEXT",                         EOpRayQueryGetIntersectionObjectRayOrigin);
11534|      0|            symbolTable.relateToOperator("rayQueryGetWorldRayDirectionEXT",                                   EOpRayQueryGetWorldRayDirection);
11535|      0|            symbolTable.relateToOperator("rayQueryGetWorldRayOriginEXT",                                      EOpRayQueryGetWorldRayOrigin);
11536|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionObjectToWorldEXT",                           EOpRayQueryGetIntersectionObjectToWorld);
11537|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionWorldToObjectEXT",                           EOpRayQueryGetIntersectionWorldToObject);
11538|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionTriangleVertexPositionsEXT",                 EOpRayQueryGetIntersectionTriangleVertexPositionsEXT);
11539|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionClusterIdNV",                                EOpRayQueryGetIntersectionClusterIdNV);
11540|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionSpherePositionNV",                           EOpRayQueryGetIntersectionSpherePositionNV);
11541|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionSphereRadiusNV",                             EOpRayQueryGetIntersectionSphereRadiusNV);
11542|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionLSSHitValueNV",                              EOpRayQueryGetIntersectionLSSHitValueNV);
11543|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionLSSPositionsNV",                             EOpRayQueryGetIntersectionLSSPositionsNV);
11544|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionLSSRadiiNV",                                 EOpRayQueryGetIntersectionLSSRadiiNV);
11545|      0|            symbolTable.relateToOperator("rayQueryIsSphereHitNV",                                             EOpRayQueryIsSphereHitNV);
11546|      0|            symbolTable.relateToOperator("rayQueryIsLSSHitNV",                                                EOpRayQueryIsLSSHitNV);
11547|      0|        }
11548|       |
11549|     45|        symbolTable.relateToOperator("interpolateAtCentroid", EOpInterpolateAtCentroid);
11550|     45|        symbolTable.relateToOperator("interpolateAtSample",   EOpInterpolateAtSample);
11551|     45|        symbolTable.relateToOperator("interpolateAtOffset",   EOpInterpolateAtOffset);
11552|       |
11553|     45|        if (profile != EEsProfile)
  ------------------
  |  Branch (11553:13): [True: 6, False: 39]
  ------------------
11554|      6|            symbolTable.relateToOperator("interpolateAtVertexAMD", EOpInterpolateAtVertex);
11555|       |
11556|     45|        symbolTable.relateToOperator("beginInvocationInterlockARB", EOpBeginInvocationInterlock);
11557|     45|        symbolTable.relateToOperator("endInvocationInterlockARB",   EOpEndInvocationInterlock);
11558|       |
11559|     45|        symbolTable.relateToOperator("stencilAttachmentReadEXT", EOpStencilAttachmentReadEXT);
11560|     45|        symbolTable.relateToOperator("depthAttachmentReadEXT",   EOpDepthAttachmentReadEXT);
11561|     45|        symbolTable.relateToOperator("colorAttachmentReadEXT",   EOpColorAttachmentReadEXT);
11562|       |
11563|     45|        break;
11564|       |
11565|      7|    case EShLangCompute:
  ------------------
  |  Branch (11565:5): [True: 7, False: 168]
  ------------------
11566|      7|        symbolTable.relateToOperator("subgroupMemoryBarrierShared", EOpSubgroupMemoryBarrierShared);
11567|      7|        if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (11567:14): [True: 7, False: 0]
  |  Branch (11567:39): [True: 7, False: 0]
  ------------------
11568|      7|            (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (11568:14): [True: 0, False: 0]
  |  Branch (11568:39): [True: 0, False: 0]
  ------------------
11569|      7|            symbolTable.relateToOperator("dFdx",        EOpDPdx);
11570|      7|            symbolTable.relateToOperator("dFdy",        EOpDPdy);
11571|      7|            symbolTable.relateToOperator("fwidth",      EOpFwidth);
11572|      7|            symbolTable.relateToOperator("dFdxFine",    EOpDPdxFine);
11573|      7|            symbolTable.relateToOperator("dFdyFine",    EOpDPdyFine);
11574|      7|            symbolTable.relateToOperator("fwidthFine",  EOpFwidthFine);
11575|      7|            symbolTable.relateToOperator("dFdxCoarse",  EOpDPdxCoarse);
11576|      7|            symbolTable.relateToOperator("dFdyCoarse",  EOpDPdyCoarse);
11577|      7|            symbolTable.relateToOperator("fwidthCoarse",EOpFwidthCoarse);
11578|      7|        }
11579|      7|        symbolTable.relateToOperator("coopMatLoadNV",              EOpCooperativeMatrixLoadNV);
11580|      7|        symbolTable.relateToOperator("coopMatStoreNV",             EOpCooperativeMatrixStoreNV);
11581|      7|        symbolTable.relateToOperator("coopMatMulAddNV",            EOpCooperativeMatrixMulAddNV);
11582|       |
11583|      7|        symbolTable.relateToOperator("coopMatLoad",                EOpCooperativeMatrixLoad);
11584|      7|        symbolTable.relateToOperator("coopMatStore",               EOpCooperativeMatrixStore);
11585|      7|        symbolTable.relateToOperator("coopMatMulAdd",              EOpCooperativeMatrixMulAdd);
11586|       |
11587|      7|        symbolTable.relateToOperator("coopMatLoadTensorNV",        EOpCooperativeMatrixLoadTensorNV);
11588|      7|        symbolTable.relateToOperator("coopMatStoreTensorNV",       EOpCooperativeMatrixStoreTensorNV);
11589|       |
11590|      7|        symbolTable.relateToOperator("coopMatReduceNV",            EOpCooperativeMatrixReduceNV);
11591|      7|        symbolTable.relateToOperator("coopMatPerElementNV",        EOpCooperativeMatrixPerElementOpNV);
11592|      7|        symbolTable.relateToOperator("coopMatTransposeNV",         EOpCooperativeMatrixTransposeNV);
11593|       |
11594|      7|        symbolTable.relateToOperator("createTensorLayoutNV",         EOpCreateTensorLayoutNV);
11595|      7|        symbolTable.relateToOperator("setTensorLayoutBlockSizeNV",   EOpTensorLayoutSetBlockSizeNV);
11596|      7|        symbolTable.relateToOperator("setTensorLayoutDimensionNV",   EOpTensorLayoutSetDimensionNV);
11597|      7|        symbolTable.relateToOperator("setTensorLayoutStrideNV",      EOpTensorLayoutSetStrideNV);
11598|      7|        symbolTable.relateToOperator("sliceTensorLayoutNV",          EOpTensorLayoutSliceNV);
11599|      7|        symbolTable.relateToOperator("setTensorLayoutClampValueNV",  EOpTensorLayoutSetClampValueNV);
11600|       |
11601|      7|        symbolTable.relateToOperator("createTensorViewNV",           EOpCreateTensorViewNV);
11602|      7|        symbolTable.relateToOperator("setTensorViewDimensionsNV",    EOpTensorViewSetDimensionNV);
11603|      7|        symbolTable.relateToOperator("setTensorViewStrideNV",        EOpTensorViewSetStrideNV);
11604|      7|        symbolTable.relateToOperator("setTensorViewClipNV",          EOpTensorViewSetClipNV);
11605|       |
11606|      7|        symbolTable.relateToOperator("tensorReadARM",                EOpTensorReadARM);
11607|      7|        symbolTable.relateToOperator("tensorWriteARM",               EOpTensorWriteARM);
11608|      7|        symbolTable.relateToOperator("tensorSizeARM",                EOpTensorSizeARM);
11609|       |
11610|      7|        symbolTable.relateToOperator("bitcastQCOM", EOpBitCastArrayQCOM);
11611|      7|        symbolTable.relateToOperator("extractSubArrayQCOM", EOpExtractSubArrayQCOM);
11612|      7|        symbolTable.relateToOperator("vectorToCoopmatQCOM", EOpCompositeConstructCoopMatQCOM);
11613|      7|        symbolTable.relateToOperator("coopmatToVectorQCOM", EOpCompositeExtractCoopMatQCOM);
11614|       |
11615|      7|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11615:13): [True: 7, False: 0]
  |  Branch (11615:38): [True: 0, False: 7]
  ------------------
11616|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexPositionNV", EOpFetchMicroTriangleVertexPositionNV);
11617|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexBarycentricNV", EOpFetchMicroTriangleVertexBarycentricNV);
11618|      0|        }
11619|      7|        break;
11620|       |
11621|      7|    case EShLangRayGen:
  ------------------
  |  Branch (11621:5): [True: 7, False: 168]
  ------------------
11622|      7|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11622:13): [True: 7, False: 0]
  |  Branch (11622:38): [True: 0, False: 7]
  ------------------
11623|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexPositionNV", EOpFetchMicroTriangleVertexPositionNV);
11624|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexBarycentricNV", EOpFetchMicroTriangleVertexBarycentricNV);
11625|      0|        }
11626|      7|        [[fallthrough]];
11627|     14|    case EShLangClosestHit:
  ------------------
  |  Branch (11627:5): [True: 7, False: 168]
  ------------------
11628|     21|    case EShLangMiss:
  ------------------
  |  Branch (11628:5): [True: 7, False: 168]
  ------------------
11629|     21|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11629:13): [True: 21, False: 0]
  |  Branch (11629:38): [True: 0, False: 21]
  ------------------
11630|      0|            symbolTable.relateToOperator("traceNV", EOpTraceNV);
11631|      0|            symbolTable.relateToOperator("traceRayMotionNV", EOpTraceRayMotionNV);
11632|      0|            symbolTable.relateToOperator("traceRayEXT", EOpTraceKHR);
11633|      0|            symbolTable.relateToOperator("executeCallableNV", EOpExecuteCallableNV);
11634|      0|            symbolTable.relateToOperator("executeCallableEXT", EOpExecuteCallableKHR);
11635|       |
11636|      0|            symbolTable.relateToOperator("hitObjectTraceRayNV", EOpHitObjectTraceRayNV);
11637|      0|            symbolTable.relateToOperator("hitObjectTraceRayMotionNV", EOpHitObjectTraceRayMotionNV);
11638|      0|            symbolTable.relateToOperator("hitObjectRecordHitNV", EOpHitObjectRecordHitNV);
11639|      0|            symbolTable.relateToOperator("hitObjectRecordHitMotionNV", EOpHitObjectRecordHitMotionNV);
11640|      0|            symbolTable.relateToOperator("hitObjectRecordHitWithIndexNV", EOpHitObjectRecordHitWithIndexNV);
11641|      0|            symbolTable.relateToOperator("hitObjectRecordHitWithIndexMotionNV", EOpHitObjectRecordHitWithIndexMotionNV);
11642|      0|            symbolTable.relateToOperator("hitObjectRecordMissNV", EOpHitObjectRecordMissNV);
11643|      0|            symbolTable.relateToOperator("hitObjectRecordMissMotionNV", EOpHitObjectRecordMissMotionNV);
11644|      0|            symbolTable.relateToOperator("hitObjectRecordEmptyNV", EOpHitObjectRecordEmptyNV);
11645|      0|            symbolTable.relateToOperator("hitObjectExecuteShaderNV", EOpHitObjectExecuteShaderNV);
11646|      0|            symbolTable.relateToOperator("hitObjectIsEmptyNV", EOpHitObjectIsEmptyNV);
11647|      0|            symbolTable.relateToOperator("hitObjectIsMissNV", EOpHitObjectIsMissNV);
11648|      0|            symbolTable.relateToOperator("hitObjectIsHitNV", EOpHitObjectIsHitNV);
11649|      0|            symbolTable.relateToOperator("hitObjectGetRayTMinNV", EOpHitObjectGetRayTMinNV);
11650|      0|            symbolTable.relateToOperator("hitObjectGetRayTMaxNV", EOpHitObjectGetRayTMaxNV);
11651|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayOriginNV", EOpHitObjectGetObjectRayOriginNV);
11652|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayDirectionNV", EOpHitObjectGetObjectRayDirectionNV);
11653|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayOriginNV", EOpHitObjectGetWorldRayOriginNV);
11654|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayDirectionNV", EOpHitObjectGetWorldRayDirectionNV);
11655|      0|            symbolTable.relateToOperator("hitObjectGetWorldToObjectNV", EOpHitObjectGetWorldToObjectNV);
11656|      0|            symbolTable.relateToOperator("hitObjectGetObjectToWorldNV", EOpHitObjectGetObjectToWorldNV);
11657|      0|            symbolTable.relateToOperator("hitObjectGetInstanceCustomIndexNV", EOpHitObjectGetInstanceCustomIndexNV);
11658|      0|            symbolTable.relateToOperator("hitObjectGetInstanceIdNV", EOpHitObjectGetInstanceIdNV);
11659|      0|            symbolTable.relateToOperator("hitObjectGetGeometryIndexNV", EOpHitObjectGetGeometryIndexNV);
11660|      0|            symbolTable.relateToOperator("hitObjectGetPrimitiveIndexNV", EOpHitObjectGetPrimitiveIndexNV);
11661|      0|            symbolTable.relateToOperator("hitObjectGetHitKindNV", EOpHitObjectGetHitKindNV);
11662|      0|            symbolTable.relateToOperator("hitObjectGetAttributesNV", EOpHitObjectGetAttributesNV);
11663|      0|            symbolTable.relateToOperator("hitObjectGetCurrentTimeNV", EOpHitObjectGetCurrentTimeNV);
11664|      0|            symbolTable.relateToOperator("hitObjectGetShaderBindingTableRecordIndexNV", EOpHitObjectGetShaderBindingTableRecordIndexNV);
11665|      0|            symbolTable.relateToOperator("hitObjectGetShaderRecordBufferHandleNV", EOpHitObjectGetShaderRecordBufferHandleNV);
11666|      0|            symbolTable.relateToOperator("hitObjectGetClusterIdNV", EOpHitObjectGetClusterIdNV);
11667|      0|            symbolTable.relateToOperator("reorderThreadNV", EOpReorderThreadNV);
11668|      0|            symbolTable.relateToOperator("hitObjectGetSpherePositionNV", EOpHitObjectGetSpherePositionNV);
11669|      0|            symbolTable.relateToOperator("hitObjectGetSphereRadiusNV", EOpHitObjectGetSphereRadiusNV);
11670|      0|            symbolTable.relateToOperator("hitObjectGetLSSPositionsNV", EOpHitObjectGetLSSPositionsNV);
11671|      0|            symbolTable.relateToOperator("hitObjectGetLSSRadiiNV", EOpHitObjectGetLSSRadiiNV);
11672|      0|            symbolTable.relateToOperator("hitObjectIsSphereHitNV", EOpHitObjectIsSphereHitNV);
11673|      0|            symbolTable.relateToOperator("hitObjectIsLSSHitNV", EOpHitObjectIsLSSHitNV);
11674|      0|            symbolTable.relateToOperator("hitObjectTraceRayEXT", EOpHitObjectTraceRayEXT);
11675|      0|            symbolTable.relateToOperator("hitObjectTraceRayMotionEXT", EOpHitObjectTraceRayMotionEXT);
11676|      0|            symbolTable.relateToOperator("hitObjectRecordMissEXT", EOpHitObjectRecordMissEXT);
11677|      0|            symbolTable.relateToOperator("hitObjectRecordMissMotionEXT", EOpHitObjectRecordMissMotionEXT);
11678|      0|            symbolTable.relateToOperator("hitObjectRecordEmptyEXT", EOpHitObjectRecordEmptyEXT);
11679|      0|            symbolTable.relateToOperator("hitObjectExecuteShaderEXT", EOpHitObjectExecuteShaderEXT);
11680|      0|            symbolTable.relateToOperator("hitObjectIsEmptyEXT", EOpHitObjectIsEmptyEXT);
11681|      0|            symbolTable.relateToOperator("hitObjectIsMissEXT", EOpHitObjectIsMissEXT);
11682|      0|            symbolTable.relateToOperator("hitObjectIsHitEXT", EOpHitObjectIsHitEXT);
11683|      0|            symbolTable.relateToOperator("hitObjectGetRayTMinEXT", EOpHitObjectGetRayTMinEXT);
11684|      0|            symbolTable.relateToOperator("hitObjectGetRayTMaxEXT", EOpHitObjectGetRayTMaxEXT);
11685|      0|            symbolTable.relateToOperator("hitObjectGetRayFlagsEXT", EOpHitObjectGetRayFlagsEXT);
11686|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayOriginEXT", EOpHitObjectGetObjectRayOriginEXT);
11687|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayDirectionEXT", EOpHitObjectGetObjectRayDirectionEXT);
11688|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayOriginEXT", EOpHitObjectGetWorldRayOriginEXT);
11689|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayDirectionEXT", EOpHitObjectGetWorldRayDirectionEXT);
11690|      0|            symbolTable.relateToOperator("hitObjectGetWorldToObjectEXT", EOpHitObjectGetWorldToObjectEXT);
11691|      0|            symbolTable.relateToOperator("hitObjectGetObjectToWorldEXT", EOpHitObjectGetObjectToWorldEXT);
11692|      0|            symbolTable.relateToOperator("hitObjectGetInstanceCustomIndexEXT", EOpHitObjectGetInstanceCustomIndexEXT);
11693|      0|            symbolTable.relateToOperator("hitObjectGetInstanceIdEXT", EOpHitObjectGetInstanceIdEXT);
11694|      0|            symbolTable.relateToOperator("hitObjectGetGeometryIndexEXT", EOpHitObjectGetGeometryIndexEXT);
11695|      0|            symbolTable.relateToOperator("hitObjectGetPrimitiveIndexEXT", EOpHitObjectGetPrimitiveIndexEXT);
11696|      0|            symbolTable.relateToOperator("hitObjectGetHitKindEXT", EOpHitObjectGetHitKindEXT);
11697|      0|            symbolTable.relateToOperator("hitObjectGetAttributesEXT", EOpHitObjectGetAttributesEXT);
11698|      0|            symbolTable.relateToOperator("hitObjectGetCurrentTimeEXT", EOpHitObjectGetCurrentTimeEXT);
11699|      0|            symbolTable.relateToOperator("hitObjectGetShaderBindingTableRecordIndexEXT", EOpHitObjectGetShaderBindingTableRecordIndexEXT);
11700|      0|            symbolTable.relateToOperator("hitObjectGetShaderRecordBufferHandleEXT", EOpHitObjectGetShaderRecordBufferHandleEXT);
11701|      0|            symbolTable.relateToOperator("hitObjectSetShaderBindingTableRecordIndexEXT", EOpHitObjectSetShaderBindingTableRecordIndexEXT);
11702|      0|            symbolTable.relateToOperator("reorderThreadEXT", EOpReorderThreadEXT);
11703|      0|            symbolTable.relateToOperator("hitObjectReorderExecuteEXT", EOpHitObjectReorderExecuteEXT);
11704|      0|            symbolTable.relateToOperator("hitObjectTraceReorderExecuteEXT", EOpHitObjectTraceReorderExecuteEXT);
11705|      0|            symbolTable.relateToOperator("hitObjectTraceMotionReorderExecuteEXT", EOpHitObjectTraceMotionReorderExecuteEXT);
11706|      0|            symbolTable.relateToOperator("hitObjectRecordFromQueryEXT", EOpHitObjectRecordFromQueryEXT);
11707|      0|            symbolTable.relateToOperator("hitObjectGetIntersectionTriangleVertexPositionsEXT", EOpHitObjectGetIntersectionTriangleVertexPositionsEXT);
11708|      0|        }
11709|     21|        break;
11710|      7|    case EShLangIntersect:
  ------------------
  |  Branch (11710:5): [True: 7, False: 168]
  ------------------
11711|      7|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11711:13): [True: 7, False: 0]
  |  Branch (11711:38): [True: 0, False: 7]
  ------------------
11712|      0|            symbolTable.relateToOperator("reportIntersectionNV", EOpReportIntersection);
11713|      0|            symbolTable.relateToOperator("reportIntersectionEXT", EOpReportIntersection);
11714|      0|        }
11715|      7|        break;
11716|      7|    case EShLangAnyHit:
  ------------------
  |  Branch (11716:5): [True: 7, False: 168]
  ------------------
11717|      7|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11717:13): [True: 7, False: 0]
  |  Branch (11717:38): [True: 0, False: 7]
  ------------------
11718|      0|            symbolTable.relateToOperator("ignoreIntersectionNV", EOpIgnoreIntersectionNV);
11719|      0|            symbolTable.relateToOperator("terminateRayNV", EOpTerminateRayNV);
11720|      0|        }
11721|      7|        break;
11722|      7|    case EShLangCallable:
  ------------------
  |  Branch (11722:5): [True: 7, False: 168]
  ------------------
11723|      7|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11723:13): [True: 7, False: 0]
  |  Branch (11723:38): [True: 0, False: 7]
  ------------------
11724|      0|            symbolTable.relateToOperator("executeCallableNV", EOpExecuteCallableNV);
11725|      0|            symbolTable.relateToOperator("executeCallableEXT", EOpExecuteCallableKHR);
11726|      0|        }
11727|      7|        break;
11728|      7|    case EShLangMesh:
  ------------------
  |  Branch (11728:5): [True: 7, False: 168]
  ------------------
11729|      7|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (11729:14): [True: 7, False: 0]
  |  Branch (11729:39): [True: 7, False: 0]
  |  Branch (11729:59): [True: 0, False: 0]
  |  Branch (11729:84): [True: 0, False: 0]
  ------------------
11730|      7|            symbolTable.relateToOperator("writePackedPrimitiveIndices4x8NV", EOpWritePackedPrimitiveIndices4x8NV);
11731|      7|            symbolTable.relateToOperator("memoryBarrierShared", EOpMemoryBarrierShared);
11732|      7|            symbolTable.relateToOperator("groupMemoryBarrier", EOpGroupMemoryBarrier);
11733|      7|            symbolTable.relateToOperator("subgroupMemoryBarrierShared", EOpSubgroupMemoryBarrierShared);
11734|      7|        }
11735|       |
11736|      7|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (11736:13): [True: 7, False: 0]
  |  Branch (11736:38): [True: 7, False: 0]
  ------------------
11737|      7|            symbolTable.relateToOperator("SetMeshOutputsEXT", EOpSetMeshOutputsEXT);
11738|      7|        }
11739|       |
11740|      7|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11740:13): [True: 7, False: 0]
  |  Branch (11740:38): [True: 0, False: 7]
  ------------------
11741|       |            // Builtins for GL_NV_displacement_micromap.
11742|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexPositionNV", EOpFetchMicroTriangleVertexPositionNV);
11743|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexBarycentricNV", EOpFetchMicroTriangleVertexBarycentricNV);
11744|      0|        }
11745|      7|        break;
11746|      7|    case EShLangTask:
  ------------------
  |  Branch (11746:5): [True: 7, False: 168]
  ------------------
11747|      7|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (11747:14): [True: 7, False: 0]
  |  Branch (11747:39): [True: 7, False: 0]
  |  Branch (11747:59): [True: 0, False: 0]
  |  Branch (11747:84): [True: 0, False: 0]
  ------------------
11748|      7|            symbolTable.relateToOperator("memoryBarrierShared", EOpMemoryBarrierShared);
11749|      7|            symbolTable.relateToOperator("groupMemoryBarrier", EOpGroupMemoryBarrier);
11750|      7|            symbolTable.relateToOperator("subgroupMemoryBarrierShared", EOpSubgroupMemoryBarrierShared);
11751|      7|        }
11752|      7|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (11752:13): [True: 7, False: 0]
  |  Branch (11752:38): [True: 7, False: 0]
  ------------------
11753|      7|            symbolTable.relateToOperator("EmitMeshTasksEXT", EOpEmitMeshTasksEXT);
11754|      7|        }
11755|      7|        break;
11756|       |
11757|      0|    default:
  ------------------
  |  Branch (11757:5): [True: 0, False: 175]
  ------------------
11758|       |        assert(false && "Language not supported");
11759|    175|    }
11760|    175|}
_ZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableERK16TBuiltInResource:
11772|     45|{
11773|     45|    if (profile != EEsProfile && version >= 430 && version < 440) {
  ------------------
  |  Branch (11773:9): [True: 6, False: 39]
  |  Branch (11773:34): [True: 6, False: 0]
  |  Branch (11773:52): [True: 0, False: 6]
  ------------------
11774|      0|        symbolTable.setVariableExtensions("gl_MaxTransformFeedbackBuffers", 1, &E_GL_ARB_enhanced_layouts);
11775|      0|        symbolTable.setVariableExtensions("gl_MaxTransformFeedbackInterleavedComponents", 1, &E_GL_ARB_enhanced_layouts);
11776|      0|    }
11777|     45|    if (profile != EEsProfile && version >= 130 && version < 420) {
  ------------------
  |  Branch (11777:9): [True: 6, False: 39]
  |  Branch (11777:34): [True: 6, False: 0]
  |  Branch (11777:52): [True: 0, False: 6]
  ------------------
11778|      0|        symbolTable.setVariableExtensions("gl_MinProgramTexelOffset", 1, &E_GL_ARB_shading_language_420pack);
11779|      0|        symbolTable.setVariableExtensions("gl_MaxProgramTexelOffset", 1, &E_GL_ARB_shading_language_420pack);
11780|      0|    }
11781|     45|    if (profile != EEsProfile && version >= 150 && version < 410)
  ------------------
  |  Branch (11781:9): [True: 6, False: 39]
  |  Branch (11781:34): [True: 6, False: 0]
  |  Branch (11781:52): [True: 0, False: 6]
  ------------------
11782|      0|        symbolTable.setVariableExtensions("gl_MaxViewports", 1, &E_GL_ARB_viewport_array);
11783|       |
11784|     45|    switch(language) {
11785|      0|    case EShLangFragment:
  ------------------
  |  Branch (11785:5): [True: 0, False: 45]
  ------------------
11786|       |        // Set up gl_FragData based on current array size.
11787|      0|        if (version == 100 || IncludeLegacy(version, profile, spvVersion) || (! ForwardCompatibility && profile != EEsProfile && version < 420)) {
  ------------------
  |  Branch (11787:13): [True: 0, False: 0]
  |  Branch (11787:31): [True: 0, False: 0]
  |  Branch (11787:79): [True: 0, Folded]
  |  Branch (11787:105): [True: 0, False: 0]
  |  Branch (11787:130): [True: 0, False: 0]
  ------------------
11788|      0|            TPrecisionQualifier pq = profile == EEsProfile ? EpqMedium : EpqNone;
  ------------------
  |  Branch (11788:38): [True: 0, False: 0]
  ------------------
11789|      0|            TType fragData(EbtFloat, EvqFragColor, pq, 4);
11790|      0|            TArraySizes* arraySizes = new TArraySizes;
11791|      0|            arraySizes->addInnerSize(resources.maxDrawBuffers);
11792|      0|            fragData.transferArraySizes(arraySizes);
11793|      0|            symbolTable.insert(*new TVariable(NewPoolTString("gl_FragData"), fragData));
11794|      0|            SpecialQualifier("gl_FragData", EvqFragColor, EbvFragData, symbolTable);
11795|      0|        }
11796|       |
11797|       |        // GL_EXT_blend_func_extended
11798|      0|        if (profile == EEsProfile && version >= 100) {
  ------------------
  |  Branch (11798:13): [True: 0, False: 0]
  |  Branch (11798:38): [True: 0, False: 0]
  ------------------
11799|      0|           symbolTable.setVariableExtensions("gl_MaxDualSourceDrawBuffersEXT",    1, &E_GL_EXT_blend_func_extended);
11800|      0|           symbolTable.setVariableExtensions("gl_SecondaryFragColorEXT",    1, &E_GL_EXT_blend_func_extended);
11801|      0|           symbolTable.setVariableExtensions("gl_SecondaryFragDataEXT",    1, &E_GL_EXT_blend_func_extended);
11802|      0|           SpecialQualifier("gl_SecondaryFragColorEXT", EvqVaryingOut, EbvSecondaryFragColorEXT, symbolTable);
11803|      0|           SpecialQualifier("gl_SecondaryFragDataEXT", EvqVaryingOut, EbvSecondaryFragDataEXT, symbolTable);
11804|      0|        }
11805|       |
11806|      0|        break;
11807|       |
11808|      0|    case EShLangTessControl:
  ------------------
  |  Branch (11808:5): [True: 0, False: 45]
  ------------------
11809|      0|    case EShLangTessEvaluation:
  ------------------
  |  Branch (11809:5): [True: 0, False: 45]
  ------------------
11810|       |        // Because of the context-dependent array size (gl_MaxPatchVertices),
11811|       |        // these variables were added later than the others and need to be mapped now.
11812|       |
11813|       |        // standard members
11814|      0|        BuiltInVariable("gl_in", "gl_Position",     EbvPosition,     symbolTable);
11815|      0|        BuiltInVariable("gl_in", "gl_PointSize",    EbvPointSize,    symbolTable);
11816|      0|        BuiltInVariable("gl_in", "gl_ClipDistance", EbvClipDistance, symbolTable);
11817|      0|        BuiltInVariable("gl_in", "gl_CullDistance", EbvCullDistance, symbolTable);
11818|       |
11819|       |        // compatibility members
11820|      0|        BuiltInVariable("gl_in", "gl_ClipVertex",          EbvClipVertex,          symbolTable);
11821|      0|        BuiltInVariable("gl_in", "gl_FrontColor",          EbvFrontColor,          symbolTable);
11822|      0|        BuiltInVariable("gl_in", "gl_BackColor",           EbvBackColor,           symbolTable);
11823|      0|        BuiltInVariable("gl_in", "gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
11824|      0|        BuiltInVariable("gl_in", "gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
11825|      0|        BuiltInVariable("gl_in", "gl_TexCoord",            EbvTexCoord,            symbolTable);
11826|      0|        BuiltInVariable("gl_in", "gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
11827|       |
11828|      0|        symbolTable.setVariableExtensions("gl_in", "gl_SecondaryPositionNV", 1, &E_GL_NV_stereo_view_rendering);
11829|      0|        symbolTable.setVariableExtensions("gl_in", "gl_PositionPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
11830|       |
11831|      0|        BuiltInVariable("gl_in", "gl_SecondaryPositionNV", EbvSecondaryPositionNV, symbolTable);
11832|      0|        BuiltInVariable("gl_in", "gl_PositionPerViewNV",   EbvPositionPerViewNV,   symbolTable);
11833|       |
11834|       |        // extension requirements
11835|      0|        if (profile == EEsProfile) {
  ------------------
  |  Branch (11835:13): [True: 0, False: 0]
  ------------------
11836|      0|            symbolTable.setVariableExtensions("gl_in", "gl_PointSize", Num_AEP_tessellation_point_size, AEP_tessellation_point_size);
11837|      0|        }
11838|       |
11839|      0|        break;
11840|       |
11841|     45|    default:
  ------------------
  |  Branch (11841:5): [True: 45, False: 0]
  ------------------
11842|     45|        break;
11843|     45|    }
11844|     45|}
Initialize.cpp:_ZZN7glslang9TBuiltIns17addTabledBuiltinsEi8EProfileRKNS_10SpvVersionEENK3$_0clERNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEERK4spanIKNS_12_GLOBAL__N_115BuiltInFunctionEE:
  510|     99|    const auto forEachFunction = [&](TString& decls, const span<const BuiltInFunction>& functions) {
  511|  3.79k|        for (const auto& fn : functions) {
  ------------------
  |  Branch (511:29): [True: 3.79k, False: 99]
  ------------------
  512|  3.79k|            if (ValidVersion(fn, version, profile, spvVersion)) {
  ------------------
  |  Branch (512:17): [True: 2.46k, False: 1.32k]
  ------------------
  513|  2.46k|                AddTabledBuiltin(decls, fn);
  514|  2.46k|                if (profile != EEsProfile) {
  ------------------
  |  Branch (514:21): [True: 595, False: 1.87k]
  ------------------
  515|    595|                    AddLongVectorBuiltin(decls, fn);
  516|    595|                }
  517|  2.46k|            }
  518|  3.79k|        }
  519|     99|    };
Initialize.cpp:_ZN7glslang12_GLOBAL__N_112ValidVersionERKNS0_15BuiltInFunctionEi8EProfileRKNS_10SpvVersionE:
  476|  3.79k|{
  477|       |    // nullptr means always valid
  478|  3.79k|    if (function.versioning.empty())
  ------------------
  |  Branch (478:9): [True: 2.22k, False: 1.56k]
  ------------------
  479|  2.22k|        return true;
  480|       |
  481|       |    // check for what is said about our current profile
  482|  3.12k|    for (const auto& v : function.versioning) {
  ------------------
  |  Branch (482:24): [True: 3.12k, False: 1.32k]
  ------------------
  483|  3.12k|        if ((v.profiles & profile) != 0) {
  ------------------
  |  Branch (483:13): [True: 1.56k, False: 1.56k]
  ------------------
  484|  1.56k|            if (v.minCoreVersion <= version || (v.numExtensions > 0 && v.minExtendedVersion <= version))
  ------------------
  |  Branch (484:17): [True: 238, False: 1.32k]
  |  Branch (484:49): [True: 0, False: 1.32k]
  |  Branch (484:72): [True: 0, False: 0]
  ------------------
  485|    238|                return true;
  486|  1.56k|        }
  487|  3.12k|    }
  488|       |
  489|  1.32k|    return false;
  490|  1.56k|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_116AddTabledBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionE:
  322|  2.46k|{
  323|  2.46k|    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|  2.46k|    const ArgClass ClassFixed = (ArgClass)(ClassLS | ClassXLS | ClassLS2 | ClassFS | ClassFS2);
  329|  5.32k|    for (int fixed = 0; fixed < ((function.classes & ClassFixed) > 0 ? 2 : 1); ++fixed) {
  ------------------
  |  Branch (329:25): [True: 2.85k, False: 2.46k]
  |  Branch (329:34): [True: 1.16k, False: 4.15k]
  ------------------
  330|       |
  331|  2.85k|        if (fixed == 0 && (function.classes & ClassXLS))
  ------------------
  |  Branch (331:13): [True: 2.46k, False: 389]
  |  Branch (331:27): [True: 46, False: 2.42k]
  ------------------
  332|     46|            continue;
  333|       |
  334|       |        // walk the type strings in TypeString[]
  335|  47.7k|        for (int type = 0; type < TypeStringCount; ++type) {
  ------------------
  |  Branch (335:28): [True: 44.9k, False: 2.81k]
  ------------------
  336|       |            // skip types not selected: go from type to row number to type bit
  337|  44.9k|            if ((function.types & (1 << (type >> TypeStringRowShift))) == 0)
  ------------------
  |  Branch (337:17): [True: 31.8k, False: 13.1k]
  ------------------
  338|  31.8k|                continue;
  339|       |
  340|       |            // if we aren't on a scalar, and should be, skip
  341|  13.1k|            if ((function.classes & ClassV1) && !isScalarType(type))
  ------------------
  |  Branch (341:17): [True: 448, False: 12.6k]
  |  Branch (341:49): [True: 336, False: 112]
  ------------------
  342|    336|                continue;
  343|       |
  344|       |            // if we aren't on a 3-vector, and should be, skip
  345|  12.7k|            if ((function.classes & ClassV3) && (type & TypeStringColumnMask) != 2)
  ------------------
  |  Branch (345:17): [True: 184, False: 12.6k]
  |  Branch (345:49): [True: 138, False: 46]
  ------------------
  346|    138|                continue;
  347|       |
  348|       |            // skip replication of all arg scalars between the varying arg set and the fixed args
  349|  12.6k|            if (fixed == 1 && type == (type & TypeStringScalarMask) && (function.classes & ClassXLS) == 0)
  ------------------
  |  Branch (349:17): [True: 1.64k, False: 11.0k]
  |  Branch (349:31): [True: 410, False: 1.23k]
  |  Branch (349:72): [True: 364, False: 46]
  ------------------
  350|    364|                continue;
  351|       |
  352|       |            // skip scalars when we are told to
  353|  12.2k|            if ((function.classes & ClassNS) && isScalarType(type))
  ------------------
  |  Branch (353:17): [True: 3.29k, False: 8.99k]
  |  Branch (353:49): [True: 824, False: 2.47k]
  ------------------
  354|    824|                continue;
  355|       |
  356|       |            // return type
  357|  11.4k|            if (function.classes & ClassB)
  ------------------
  |  Branch (357:17): [True: 2.11k, False: 9.35k]
  ------------------
  358|  2.11k|                decls.append(TypeString[type & TypeStringColumnMask]);
  359|  9.35k|            else if (function.classes & ClassRS)
  ------------------
  |  Branch (359:22): [True: 828, False: 8.52k]
  ------------------
  360|    828|                decls.append(TypeString[type & TypeStringScalarMask]);
  361|  8.52k|            else
  362|  8.52k|                decls.append(TypeString[type]);
  363|  11.4k|            decls.append(" ");
  364|  11.4k|            decls.append(function.name);
  365|  11.4k|            decls.append("(");
  366|       |
  367|       |            // arguments
  368|  30.6k|            for (int arg = 0; arg < function.numArguments; ++arg) {
  ------------------
  |  Branch (368:31): [True: 19.2k, False: 11.4k]
  ------------------
  369|  19.2k|                if (arg == function.numArguments - 1 && (function.classes & ClassLO))
  ------------------
  |  Branch (369:21): [True: 11.4k, False: 7.75k]
  |  Branch (369:57): [True: 28, False: 11.4k]
  ------------------
  370|     28|                    decls.append("out ");
  371|  19.2k|                if (arg == 0) {
  ------------------
  |  Branch (371:21): [True: 11.4k, False: 7.75k]
  ------------------
  372|  11.4k|                    if (function.classes & ClassCVN)
  ------------------
  |  Branch (372:25): [True: 112, False: 11.3k]
  ------------------
  373|    112|                        decls.append("coherent volatile nontemporal ");
  374|  11.4k|                    if (function.classes & ClassFIO)
  ------------------
  |  Branch (374:25): [True: 112, False: 11.3k]
  ------------------
  375|    112|                        decls.append("inout ");
  376|  11.4k|                    if (function.classes & ClassFO)
  ------------------
  |  Branch (376:25): [True: 0, False: 11.4k]
  ------------------
  377|      0|                        decls.append("out ");
  378|  11.4k|                }
  379|  19.2k|                if ((function.classes & ClassLB) && arg == function.numArguments - 1)
  ------------------
  |  Branch (379:21): [True: 252, False: 18.9k]
  |  Branch (379:53): [True: 84, False: 168]
  ------------------
  380|     84|                    decls.append(TypeString[type & TypeStringColumnMask]);
  381|  19.1k|                else if (fixed && ((arg == function.numArguments - 1 && (function.classes & (ClassLS | ClassXLS |
  ------------------
  |  Branch (381:26): [True: 3.19k, False: 15.9k]
  |  Branch (381:37): [True: 1.27k, False: 1.91k]
  |  Branch (381:73): [True: 1.00k, False: 276]
  ------------------
  382|  1.27k|                                                                                                       ClassLS2))) ||
  383|  2.19k|                                   (arg == function.numArguments - 2 && (function.classes & ClassLS2))             ||
  ------------------
  |  Branch (383:37): [True: 1.27k, False: 916]
  |  Branch (383:73): [True: 180, False: 1.09k]
  ------------------
  384|  2.01k|                                   (arg == 0                         && (function.classes & (ClassFS | ClassFS2))) ||
  ------------------
  |  Branch (384:37): [True: 1.27k, False: 736]
  |  Branch (384:73): [True: 276, False: 1.00k]
  ------------------
  385|  1.73k|                                   (arg == 1                         && (function.classes & ClassFS2))))
  ------------------
  |  Branch (385:37): [True: 598, False: 1.13k]
  |  Branch (385:73): [True: 138, False: 460]
  ------------------
  386|  1.59k|                    decls.append(TypeString[type & TypeStringScalarMask]);
  387|  17.5k|                else
  388|  17.5k|                    decls.append(TypeString[type]);
  389|  19.2k|                if (arg < function.numArguments - 1)
  ------------------
  |  Branch (389:21): [True: 7.75k, False: 11.4k]
  ------------------
  390|  7.75k|                    decls.append(",");
  391|  19.2k|            }
  392|  11.4k|            decls.append(");\n");
  393|  11.4k|        }
  394|  2.81k|    }
  395|  2.46k|}
Initialize.cpp:_ZZN7glslang12_GLOBAL__N_116AddTabledBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionEENK3$_0clEi:
  323|  3.74k|    const auto isScalarType = [](int type) { return (type & TypeStringColumnMask) == 0; };
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120AddLongVectorBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionE:
  401|    595|{
  402|    595|    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|    595|    const ArgClass ClassFixed = (ArgClass)(ClassLS | ClassXLS | ClassLS2 | ClassFS | ClassFS2);
  408|  1.26k|    for (int fixed = 0; fixed < ((function.classes & ClassFixed) > 0 ? 2 : 1); ++fixed) {
  ------------------
  |  Branch (408:25): [True: 672, False: 595]
  |  Branch (408:34): [True: 231, False: 1.03k]
  ------------------
  409|       |
  410|    672|        if (fixed == 0 && (function.classes & ClassXLS))
  ------------------
  |  Branch (410:13): [True: 595, False: 77]
  |  Branch (410:27): [True: 7, False: 588]
  ------------------
  411|      7|            continue;
  412|       |
  413|       |        // Iterate over the different scalar types (needed for ClassRS)
  414|  11.3k|        for (int type = 0; type < TypeStringCount; ++type) {
  ------------------
  |  Branch (414:28): [True: 10.6k, False: 665]
  ------------------
  415|  10.6k|            if (!isScalarType(type))
  ------------------
  |  Branch (415:17): [True: 7.98k, False: 2.66k]
  ------------------
  416|  7.98k|                continue;
  417|       |
  418|       |            // skip types not selected: go from type to row number to type bit
  419|  2.66k|            if ((function.types & (1 << (type >> TypeStringRowShift))) == 0)
  ------------------
  |  Branch (419:17): [True: 1.83k, False: 826]
  ------------------
  420|  1.83k|                continue;
  421|       |
  422|       |            // skip scalar-only
  423|    826|            if (function.classes & ClassV1)
  ------------------
  |  Branch (423:17): [True: 112, False: 714]
  ------------------
  424|    112|                continue;
  425|       |
  426|       |            // skip 3-vector
  427|    714|            if (function.classes & ClassV3)
  ------------------
  |  Branch (427:17): [True: 7, False: 707]
  ------------------
  428|      7|                continue;
  429|       |
  430|    707|            TString decl;
  431|       |            // return type
  432|    707|            if (function.classes & ClassB)
  ------------------
  |  Branch (432:17): [True: 154, False: 553]
  ------------------
  433|    154|                decl.append("vector");
  434|    553|            else if (function.classes & ClassRS)
  ------------------
  |  Branch (434:22): [True: 35, False: 518]
  ------------------
  435|     35|                decl.append(TypeString[type & TypeStringScalarMask]);
  436|    518|            else
  437|    518|                decl.append("vector");
  438|    707|            decl.append(" ");
  439|    707|            decl.append(function.name);
  440|    707|            decl.append("(");
  441|       |
  442|       |            // arguments
  443|  1.93k|            for (int arg = 0; arg < function.numArguments; ++arg) {
  ------------------
  |  Branch (443:31): [True: 1.22k, False: 707]
  ------------------
  444|  1.22k|                if (arg == function.numArguments - 1 && (function.classes & ClassLO))
  ------------------
  |  Branch (444:21): [True: 707, False: 518]
  |  Branch (444:57): [True: 7, False: 700]
  ------------------
  445|      7|                    decl.append("out ");
  446|  1.22k|                if (arg == 0) {
  ------------------
  |  Branch (446:21): [True: 707, False: 518]
  ------------------
  447|    707|                    if (function.classes & ClassCVN)
  ------------------
  |  Branch (447:25): [True: 0, False: 707]
  ------------------
  448|      0|                        decl.append("coherent volatile nontemporal ");
  449|    707|                    if (function.classes & ClassFIO)
  ------------------
  |  Branch (449:25): [True: 0, False: 707]
  ------------------
  450|      0|                        decl.append("inout ");
  451|    707|                    if (function.classes & ClassFO)
  ------------------
  |  Branch (451:25): [True: 0, False: 707]
  ------------------
  452|      0|                        decl.append("out ");
  453|    707|                }
  454|  1.22k|                if ((function.classes & ClassLB) && arg == function.numArguments - 1)
  ------------------
  |  Branch (454:21): [True: 63, False: 1.16k]
  |  Branch (454:53): [True: 21, False: 42]
  ------------------
  455|     21|                    decl.append("vector");
  456|  1.20k|                else if (fixed && ((arg == function.numArguments - 1 && (function.classes & (ClassLS | ClassXLS |
  ------------------
  |  Branch (456:26): [True: 238, False: 966]
  |  Branch (456:37): [True: 98, False: 140]
  |  Branch (456:73): [True: 84, False: 14]
  ------------------
  457|     98|                                                                                                       ClassLS2))) ||
  458|    154|                                   (arg == function.numArguments - 2 && (function.classes & ClassLS2))             ||
  ------------------
  |  Branch (458:37): [True: 98, False: 56]
  |  Branch (458:73): [True: 21, False: 77]
  ------------------
  459|    133|                                   (arg == 0                         && (function.classes & (ClassFS | ClassFS2))) ||
  ------------------
  |  Branch (459:37): [True: 98, False: 35]
  |  Branch (459:73): [True: 14, False: 84]
  ------------------
  460|    119|                                   (arg == 1                         && (function.classes & ClassFS2))))
  ------------------
  |  Branch (460:37): [True: 28, False: 91]
  |  Branch (460:73): [True: 7, False: 21]
  ------------------
  461|    126|                    decl.append(TypeString[type & TypeStringScalarMask]);
  462|  1.07k|                else
  463|  1.07k|                    decl.append("vector");
  464|  1.22k|                if (arg < function.numArguments - 1)
  ------------------
  |  Branch (464:21): [True: 518, False: 707]
  ------------------
  465|    518|                    decl.append(",");
  466|  1.22k|            }
  467|    707|            decl.append(");\n");
  468|       |
  469|    707|            decls.append(decl);
  470|    707|        }
  471|    665|    }
  472|    595|}
Initialize.cpp:_ZZN7glslang12_GLOBAL__N_120AddLongVectorBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionEENK3$_0clEi:
  402|  10.6k|    const auto isScalarType = [](int type) { return (type & TypeStringColumnMask) == 0; };
_ZN7glslang13IncludeLegacyEi8EProfileRKNS_10SpvVersionE:
  537|    475|{
  538|    475|    return profile != EEsProfile && (version <= 130 || (spvVersion.spv == 0 && version == 140 && ARBCompatibility) ||
  ------------------
  |  Branch (538:12): [True: 241, False: 234]
  |  Branch (538:38): [True: 0, False: 241]
  |  Branch (538:57): [True: 241, False: 0]
  |  Branch (538:80): [True: 0, False: 241]
  |  Branch (538:98): [True: 0, Folded]
  ------------------
  539|    241|           profile == ECompatibilityProfile);
  ------------------
  |  Branch (539:12): [True: 0, False: 241]
  ------------------
  540|    475|}
Initialize.cpp:_ZN7glslangL15BuiltInVariableEPKcNS_16TBuiltInVariableERNS_12TSymbolTableE:
 8934|  4.41k|{
 8935|  4.41k|    TSymbol* symbol = symbolTable.find(name);
 8936|  4.41k|    if (symbol == nullptr)
  ------------------
  |  Branch (8936:9): [True: 2.30k, False: 2.11k]
  ------------------
 8937|  2.30k|        return;
 8938|       |
 8939|  2.11k|    TQualifier& symQualifier = symbol->getWritableType().getQualifier();
 8940|  2.11k|    symQualifier.builtIn = builtIn;
 8941|  2.11k|}
Initialize.cpp:_ZN7glslangL16SpecialQualifierEPKcNS_17TStorageQualifierENS_16TBuiltInVariableERNS_12TSymbolTableE:
 8896|    665|{
 8897|    665|    TSymbol* symbol = symbolTable.find(name);
 8898|    665|    if (symbol == nullptr)
  ------------------
  |  Branch (8898:9): [True: 249, False: 416]
  ------------------
 8899|    249|        return;
 8900|       |
 8901|    416|    TQualifier& symQualifier = symbol->getWritableType().getQualifier();
 8902|    416|    symQualifier.storage = qualifier;
 8903|    416|    symQualifier.builtIn = builtIn;
 8904|    416|}
Initialize.cpp:_ZN7glslangL15BuiltInVariableEPKcS1_NS_16TBuiltInVariableERNS_12TSymbolTableE:
 8956|  2.24k|{
 8957|  2.24k|    TSymbol* symbol = symbolTable.find(blockName);
 8958|  2.24k|    if (symbol == nullptr)
  ------------------
  |  Branch (8958:9): [True: 1.89k, False: 357]
  ------------------
 8959|  1.89k|        return;
 8960|       |
 8961|    357|    TTypeList& structure = *symbol->getWritableType().getWritableStruct();
 8962|  1.81k|    for (int i = 0; i < (int)structure.size(); ++i) {
  ------------------
  |  Branch (8962:21): [True: 1.71k, False: 98]
  ------------------
 8963|  1.71k|        if (structure[i].type->getFieldName().compare(name) == 0) {
  ------------------
  |  Branch (8963:13): [True: 259, False: 1.45k]
  ------------------
 8964|    259|            structure[i].type->getQualifier().builtIn = builtIn;
 8965|    259|            return;
 8966|    259|        }
 8967|  1.71k|    }
 8968|    357|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120RelateTabledBuiltinsINSt3__15arrayINS0_15BuiltInFunctionELm79EEEEEvRKT_RNS_12TSymbolTableE:
  499|    175|{
  500|  13.8k|    for (const auto& fn : functions) {
  ------------------
  |  Branch (500:25): [True: 13.8k, False: 175]
  ------------------
  501|  13.8k|        symbolTable.relateToOperator(fn.name, fn.op);
  502|  13.8k|    }
  503|    175|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120RelateTabledBuiltinsINSt3__15arrayINS0_15BuiltInFunctionELm3EEEEEvRKT_RNS_12TSymbolTableE:
  499|    175|{
  500|    525|    for (const auto& fn : functions) {
  ------------------
  |  Branch (500:25): [True: 525, False: 175]
  ------------------
  501|    525|        symbolTable.relateToOperator(fn.name, fn.op);
  502|    525|    }
  503|    175|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120RelateTabledBuiltinsIA39_NS0_14CustomFunctionEEEvRKT_RNS_12TSymbolTableE:
  499|    175|{
  500|  6.82k|    for (const auto& fn : functions) {
  ------------------
  |  Branch (500:25): [True: 6.82k, False: 175]
  ------------------
  501|  6.82k|        symbolTable.relateToOperator(fn.name, fn.op);
  502|  6.82k|    }
  503|    175|}
Initialize.cpp:_ZZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableEENK3$_0clEPKc:
10175|  1.17k|            auto coopMatKHRCallback = [](const char *name) -> std::vector<const char *> {
10176|  1.17k|                std::vector<const char *> ret;
10177|  1.17k|                if (strstr(name, "u64") != nullptr) {
  ------------------
  |  Branch (10177:21): [True: 630, False: 546]
  ------------------
10178|    630|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10179|    630|                } else {
10180|    546|                    ret.push_back(E_GL_KHR_cooperative_matrix);
10181|    546|                }
10182|  1.17k|                return ret;
10183|  1.17k|            };
Initialize.cpp:_ZZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableEENK3$_1clEPKc:
10184|     84|            auto coopMat2NVCallback = [](const char *name) -> std::vector<const char *> {
10185|     84|                std::vector<const char *> ret;
10186|     84|                if (strstr(name, "u64") != nullptr) {
  ------------------
  |  Branch (10186:21): [True: 42, False: 42]
  ------------------
10187|     42|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10188|     42|                } else {
10189|     42|                    ret.push_back(E_GL_NV_cooperative_matrix2);
10190|     42|                }
10191|     84|                return ret;
10192|     84|            };
Initialize.cpp:_ZZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableEENK3$_2clEPKc:
10224|  3.38k|            auto coopVecCallback = [](const char *name) -> std::vector<const char *> {
10225|  3.38k|                std::vector<const char *> ret;
10226|       |                // This looks for u64 as the last parameter (the offset)
10227|  3.38k|                if (strstr(name, "u641;") != nullptr) {
  ------------------
  |  Branch (10227:21): [True: 1.69k, False: 1.69k]
  ------------------
10228|  1.69k|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10229|  1.69k|                } else {
10230|  1.69k|                    ret.push_back(E_GL_NV_cooperative_vector);
10231|  1.69k|                }
10232|  3.38k|                return ret;
10233|  3.38k|            };

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

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

_ZN7glslang13TIntermediate9addSymbolExRKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEES9_RKNS_5TTypeERKNS_16TConstUnionArrayEPNS_12TIntermTypedERKNS_10TSourceLocE:
   71|     52|{
   72|     52|    TIntermSymbol* node = new TIntermSymbol(id, name, getStage(), type, &mangledName);
   73|     52|    node->setLoc(loc);
   74|     52|    node->setConstArray(constArray);
   75|     52|    node->setConstSubtree(constSubtree);
   76|       |
   77|     52|    return node;
   78|     52|}
_ZN7glslang13TIntermediate9addSymbolERKNS_9TVariableE:
   92|     12|{
   93|     12|    glslang::TSourceLoc loc; // just a null location
   94|     12|    loc.init();
   95|       |
   96|     12|    return addSymbol(variable, loc);
   97|     12|}
_ZN7glslang13TIntermediate9addSymbolERKNS_9TVariableERKNS_10TSourceLocE:
  100|     52|{
  101|     52|    return addSymbol(variable.getUniqueId(), variable.getName(), variable.getMangledName(), variable.getType(), variable.getConstArray(), variable.getConstSubtree(), loc);
  102|     52|}
_ZN7glslang13TIntermediate13addBinaryMathENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE:
  119|      2|{
  120|       |    // No operations work on blocks
  121|      2|    if (left->getType().getBasicType() == EbtBlock || right->getType().getBasicType() == EbtBlock ||
  ------------------
  |  Branch (121:9): [True: 0, False: 2]
  |  Branch (121:55): [True: 0, False: 2]
  ------------------
  122|      2|        left->getType().getBasicType() == EbtString || right->getType().getBasicType() == EbtString)
  ------------------
  |  Branch (122:9): [True: 0, False: 2]
  |  Branch (122:56): [True: 0, False: 2]
  ------------------
  123|      0|        return nullptr;
  124|       |
  125|       |    // Convert "reference +/- int" and "reference - reference" to integer math
  126|      2|    if (op == EOpAdd || op == EOpSub) {
  ------------------
  |  Branch (126:9): [True: 1, False: 1]
  |  Branch (126:25): [True: 1, False: 0]
  ------------------
  127|       |
  128|       |        // No addressing math on struct with unsized array.
  129|      2|        if ((left->isReference() && left->getType().getReferentType()->containsUnsizedArray()) ||
  ------------------
  |  Branch (129:14): [True: 0, False: 2]
  |  Branch (129:37): [True: 0, False: 0]
  ------------------
  130|      2|            (right->isReference() && right->getType().getReferentType()->containsUnsizedArray())) {
  ------------------
  |  Branch (130:14): [True: 0, False: 2]
  |  Branch (130:38): [True: 0, False: 0]
  ------------------
  131|      0|            return nullptr;
  132|      0|        }
  133|       |
  134|      2|        if (left->isReference() && isTypeInt(right->getBasicType())) {
  ------------------
  |  Branch (134:13): [True: 0, False: 2]
  |  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|      2|    }
  147|       |
  148|      2|    if (op == EOpAdd && right->isReference() && isTypeInt(left->getBasicType())) {
  ------------------
  |  Branch (148:9): [True: 1, False: 1]
  |  Branch (148:25): [True: 0, False: 1]
  |  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|      2|    if (op == EOpSub && left->isReference() && right->isReference()) {
  ------------------
  |  Branch (162:9): [True: 1, False: 1]
  |  Branch (162:25): [True: 0, False: 1]
  |  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|      2|    if (left->isReference() || right->isReference())
  ------------------
  |  Branch (179:9): [True: 0, False: 2]
  |  Branch (179:32): [True: 0, False: 2]
  ------------------
  180|      0|        return nullptr;
  181|       |
  182|       |    // Try converting the children's base types to compatible types.
  183|      2|    auto children = addPairConversion(op, left, right);
  184|      2|    left = std::get<0>(children);
  185|      2|    right = std::get<1>(children);
  186|       |
  187|      2|    if (left == nullptr || right == nullptr)
  ------------------
  |  Branch (187:9): [True: 0, False: 2]
  |  Branch (187:28): [True: 0, False: 2]
  ------------------
  188|      0|        return nullptr;
  189|       |
  190|       |    // Convert the children's type shape to be compatible.
  191|      2|    addBiShapeConversion(op, left, right);
  192|      2|    if (left == nullptr || right == nullptr)
  ------------------
  |  Branch (192:9): [True: 0, False: 2]
  |  Branch (192:28): [True: 0, False: 2]
  ------------------
  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|      2|    TIntermBinary* node = addBinaryNode(op, left, right, loc);
  200|      2|    if (! promote(node))
  ------------------
  |  Branch (200:9): [True: 0, False: 2]
  ------------------
  201|      0|        return nullptr;
  202|       |
  203|      2|    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|      2|    TIntermConstantUnion *leftTempConstant = node->getLeft()->getAsConstantUnion();
  210|      2|    TIntermConstantUnion *rightTempConstant = node->getRight()->getAsConstantUnion();
  211|      2|    if (leftTempConstant && rightTempConstant) {
  ------------------
  |  Branch (211:9): [True: 2, False: 0]
  |  Branch (211:29): [True: 2, False: 0]
  ------------------
  212|      2|        TIntermTyped* folded = leftTempConstant->fold(node->getOp(), rightTempConstant);
  213|      2|        if (folded)
  ------------------
  |  Branch (213:13): [True: 2, False: 0]
  ------------------
  214|      2|            return folded;
  215|      2|    }
  216|       |
  217|       |    // If can propagate spec-constantness and if the operation is an allowed
  218|       |    // specialization-constant operation, make a spec-constant.
  219|      0|    if (specConstantPropagates(*node->getLeft(), *node->getRight()) && isSpecializationOperation(*node))
  ------------------
  |  Branch (219:9): [True: 0, False: 0]
  |  Branch (219:72): [True: 0, False: 0]
  ------------------
  220|      0|        node->getWritableType().getQualifier().makeSpecConstant();
  221|       |
  222|       |    // If must propagate nonuniform, make a nonuniform.
  223|      0|    if ((node->getLeft()->getQualifier().isNonUniform() || node->getRight()->getQualifier().isNonUniform()) &&
  ------------------
  |  Branch (223:10): [True: 0, False: 0]
  |  Branch (223:60): [True: 0, False: 0]
  ------------------
  224|      0|            isNonuniformPropagating(node->getOp()))
  ------------------
  |  Branch (224:13): [True: 0, False: 0]
  ------------------
  225|      0|        node->getWritableType().getQualifier().nonUniform = true;
  226|       |
  227|      0|    return node;
  228|      2|}
_ZNK7glslang13TIntermediate13addBinaryNodeENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE:
  235|      2|{
  236|       |    // build the node
  237|      2|    TIntermBinary* node = new TIntermBinary(op);
  238|      2|    node->setLoc(loc.line != 0 ? loc : left->getLoc());
  ------------------
  |  Branch (238:18): [True: 2, False: 0]
  ------------------
  239|      2|    node->setLeft(left);
  240|      2|    node->setRight(right);
  241|       |
  242|      2|    return node;
  243|      2|}
_ZNK7glslang13TIntermediate12addUnaryNodeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocE:
  260|     12|{
  261|     12|    TIntermUnary* node = new TIntermUnary(op);
  262|     12|    node->setLoc(loc.line != 0 ? loc : child->getLoc());
  ------------------
  |  Branch (262:18): [True: 12, False: 0]
  ------------------
  263|     12|    node->setOperand(child);
  264|       |
  265|     12|    return node;
  266|     12|}
_ZNK7glslang13TIntermediate12addUnaryNodeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocERKNS_5TTypeE:
  273|      1|{
  274|      1|    TIntermUnary* node = addUnaryNode(op, child, loc);
  275|      1|    node->setType(type);
  276|      1|    return node;
  277|      1|}
_ZN7glslang13TIntermediate12addUnaryMathENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocE:
  357|    148|{
  358|    148|    if (child == nullptr)
  ------------------
  |  Branch (358:9): [True: 0, False: 148]
  ------------------
  359|      0|        return nullptr;
  360|       |
  361|    148|    if (child->getType().getBasicType() == EbtBlock)
  ------------------
  |  Branch (361:9): [True: 0, False: 148]
  ------------------
  362|      0|        return nullptr;
  363|       |
  364|    148|    switch (op) {
  365|      5|    case EOpLogicalNot:
  ------------------
  |  Branch (365:5): [True: 5, False: 143]
  ------------------
  366|      5|        if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (366:13): [True: 5, False: 0]
  ------------------
  367|      5|            break; // HLSL can promote logical not
  368|      5|        }
  369|       |
  370|      0|        if (child->getType().getBasicType() != EbtBool || child->getType().isMatrix() || child->getType().isArray() || child->getType().isVector()) {
  ------------------
  |  Branch (370:13): [True: 0, False: 0]
  |  Branch (370:59): [True: 0, False: 0]
  |  Branch (370:90): [True: 0, False: 0]
  |  Branch (370:120): [True: 0, False: 0]
  ------------------
  371|      0|            return nullptr;
  372|      0|        }
  373|      0|        break;
  374|       |
  375|      0|    case EOpPostIncrement:
  ------------------
  |  Branch (375:5): [True: 0, False: 148]
  ------------------
  376|      0|    case EOpPreIncrement:
  ------------------
  |  Branch (376:5): [True: 0, False: 148]
  ------------------
  377|      0|    case EOpPostDecrement:
  ------------------
  |  Branch (377:5): [True: 0, False: 148]
  ------------------
  378|      0|    case EOpPreDecrement:
  ------------------
  |  Branch (378:5): [True: 0, False: 148]
  ------------------
  379|      6|    case EOpNegative:
  ------------------
  |  Branch (379:5): [True: 6, False: 142]
  ------------------
  380|      6|        if (child->getType().getBasicType() == EbtStruct || child->getType().isArray())
  ------------------
  |  Branch (380:13): [True: 0, False: 6]
  |  Branch (380:61): [True: 0, False: 6]
  ------------------
  381|      0|            return nullptr;
  382|      6|        break;
  383|    137|    default: break; // some compilers want this
  ------------------
  |  Branch (383:5): [True: 137, False: 11]
  ------------------
  384|    148|    }
  385|       |
  386|       |    //
  387|       |    // Do we need to promote the operand?
  388|       |    //
  389|    148|    TBasicType newType = EbtVoid;
  390|    148|    switch (op) {
  391|      0|    case EOpConstructBool:   newType = EbtBool;   break;
  ------------------
  |  Branch (391:5): [True: 0, False: 148]
  ------------------
  392|      0|    case EOpConstructFloat:  newType = EbtFloat;  break;
  ------------------
  |  Branch (392:5): [True: 0, False: 148]
  ------------------
  393|     74|    case EOpConstructInt:    newType = EbtInt;    break;
  ------------------
  |  Branch (393:5): [True: 74, False: 74]
  ------------------
  394|     63|    case EOpConstructUint:   newType = EbtUint;   break;
  ------------------
  |  Branch (394:5): [True: 63, False: 85]
  ------------------
  395|      0|    case EOpConstructInt8:   newType = EbtInt8;   break;
  ------------------
  |  Branch (395:5): [True: 0, False: 148]
  ------------------
  396|      0|    case EOpConstructUint8:  newType = EbtUint8;  break;
  ------------------
  |  Branch (396:5): [True: 0, False: 148]
  ------------------
  397|      0|    case EOpConstructInt16:  newType = EbtInt16;  break;
  ------------------
  |  Branch (397:5): [True: 0, False: 148]
  ------------------
  398|      0|    case EOpConstructUint16: newType = EbtUint16; break;
  ------------------
  |  Branch (398:5): [True: 0, False: 148]
  ------------------
  399|      0|    case EOpConstructInt64:  newType = EbtInt64;  break;
  ------------------
  |  Branch (399:5): [True: 0, False: 148]
  ------------------
  400|      0|    case EOpConstructUint64: newType = EbtUint64; break;
  ------------------
  |  Branch (400:5): [True: 0, False: 148]
  ------------------
  401|      0|    case EOpConstructDouble: newType = EbtDouble; break;
  ------------------
  |  Branch (401:5): [True: 0, False: 148]
  ------------------
  402|      0|    case EOpConstructFloat16: newType = EbtFloat16; break;
  ------------------
  |  Branch (402:5): [True: 0, False: 148]
  ------------------
  403|      0|    case EOpConstructBFloat16: newType = EbtBFloat16; break;
  ------------------
  |  Branch (403:5): [True: 0, False: 148]
  ------------------
  404|      0|    case EOpConstructFloatE4M3: newType = EbtFloatE4M3; break;
  ------------------
  |  Branch (404:5): [True: 0, False: 148]
  ------------------
  405|      0|    case EOpConstructFloatE5M2: newType = EbtFloatE5M2; break;
  ------------------
  |  Branch (405:5): [True: 0, False: 148]
  ------------------
  406|     11|    default: break; // some compilers want this
  ------------------
  |  Branch (406:5): [True: 11, False: 137]
  ------------------
  407|    148|    }
  408|       |
  409|    148|    if (newType != EbtVoid) {
  ------------------
  |  Branch (409:9): [True: 137, False: 11]
  ------------------
  410|    137|        TType newTType(newType, EvqTemporary, child->getVectorSize(), child->getMatrixCols(), child->getMatrixRows(), child->isVector());
  411|    137|        if (child->getType().isLongVector()) {
  ------------------
  |  Branch (411:13): [True: 0, False: 137]
  ------------------
  412|      0|            newTType.shallowCopy(child->getType());
  413|      0|            newTType.setBasicType(newType);
  414|      0|            newTType.makeTemporary();
  415|      0|            newTType.getQualifier().clear();
  416|      0|        }
  417|       |
  418|    137|        child = addConversion(op, newTType, child);
  419|    137|        if (child == nullptr)
  ------------------
  |  Branch (419:13): [True: 0, False: 137]
  ------------------
  420|      0|            return nullptr;
  421|    137|    }
  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|    148|    switch (op) {
  428|      0|        case EOpConstructInt8:
  ------------------
  |  Branch (428:9): [True: 0, False: 148]
  ------------------
  429|      0|        case EOpConstructUint8:
  ------------------
  |  Branch (429:9): [True: 0, False: 148]
  ------------------
  430|      0|        case EOpConstructInt16:
  ------------------
  |  Branch (430:9): [True: 0, False: 148]
  ------------------
  431|      0|        case EOpConstructUint16:
  ------------------
  |  Branch (431:9): [True: 0, False: 148]
  ------------------
  432|     74|        case EOpConstructInt:
  ------------------
  |  Branch (432:9): [True: 74, False: 74]
  ------------------
  433|    137|        case EOpConstructUint:
  ------------------
  |  Branch (433:9): [True: 63, False: 85]
  ------------------
  434|    137|        case EOpConstructInt64:
  ------------------
  |  Branch (434:9): [True: 0, False: 148]
  ------------------
  435|    137|        case EOpConstructUint64:
  ------------------
  |  Branch (435:9): [True: 0, False: 148]
  ------------------
  436|    137|        case EOpConstructBool:
  ------------------
  |  Branch (436:9): [True: 0, False: 148]
  ------------------
  437|    137|        case EOpConstructFloat:
  ------------------
  |  Branch (437:9): [True: 0, False: 148]
  ------------------
  438|    137|        case EOpConstructDouble:
  ------------------
  |  Branch (438:9): [True: 0, False: 148]
  ------------------
  439|    137|        case EOpConstructFloat16:
  ------------------
  |  Branch (439:9): [True: 0, False: 148]
  ------------------
  440|    137|        case EOpConstructBFloat16:
  ------------------
  |  Branch (440:9): [True: 0, False: 148]
  ------------------
  441|    137|        case EOpConstructFloatE5M2:
  ------------------
  |  Branch (441:9): [True: 0, False: 148]
  ------------------
  442|    137|        case EOpConstructFloatE4M3: {
  ------------------
  |  Branch (442:9): [True: 0, False: 148]
  ------------------
  443|    137|            TIntermUnary* unary_node = child->getAsUnaryNode();
  444|    137|            if (unary_node != nullptr)
  ------------------
  |  Branch (444:17): [True: 1, False: 136]
  ------------------
  445|      1|                unary_node->updatePrecision();
  446|    137|            return child;
  447|    137|        }
  448|     11|        default: break; // some compilers want this
  ------------------
  |  Branch (448:9): [True: 11, False: 137]
  ------------------
  449|    148|    }
  450|       |
  451|       |    //
  452|       |    // Make a new node for the operator.
  453|       |    //
  454|     11|    TIntermUnary* node = addUnaryNode(op, child, loc);
  455|       |
  456|     11|    if (! promote(node))
  ------------------
  |  Branch (456:9): [True: 0, False: 11]
  ------------------
  457|      0|        return nullptr;
  458|       |
  459|     11|    node->updatePrecision();
  460|       |
  461|       |    // If it's a (non-specialization) constant, it must be folded.
  462|     11|    if (node->getOperand()->getAsConstantUnion())
  ------------------
  |  Branch (462:9): [True: 11, False: 0]
  ------------------
  463|     11|        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|     11|}
_ZN7glslang13TIntermediate20setAggregateOperatorEP11TIntermNodeNS_9TOperatorERKNS_5TTypeERKNS_10TSourceLocE:
  517|     51|{
  518|     51|    TIntermAggregate* aggNode;
  519|       |
  520|       |    //
  521|       |    // Make sure we have an aggregate.  If not turn it into one.
  522|       |    //
  523|     51|    if (node != nullptr) {
  ------------------
  |  Branch (523:9): [True: 51, False: 0]
  ------------------
  524|     51|        aggNode = node->getAsAggregate();
  525|     51|        if (aggNode == nullptr || aggNode->getOp() != EOpNull) {
  ------------------
  |  Branch (525:13): [True: 2, False: 49]
  |  Branch (525:35): [True: 0, False: 49]
  ------------------
  526|       |            //
  527|       |            // Make an aggregate containing this node.
  528|       |            //
  529|      2|            aggNode = new TIntermAggregate();
  530|      2|            aggNode->getSequence().push_back(node);
  531|      2|        }
  532|     51|    } else
  533|      0|        aggNode = new TIntermAggregate();
  534|       |
  535|       |    //
  536|       |    // Set the operator.
  537|       |    //
  538|     51|    aggNode->setOperator(op);
  539|     51|    if (loc.line != 0 || node != nullptr)
  ------------------
  |  Branch (539:9): [True: 51, False: 0]
  |  Branch (539:26): [True: 0, False: 0]
  ------------------
  540|     51|        aggNode->setLoc(loc.line != 0 ? loc : node->getLoc());
  ------------------
  |  Branch (540:25): [True: 51, False: 0]
  ------------------
  541|       |
  542|     51|    aggNode->setType(type);
  543|       |
  544|     51|    return fold(aggNode);
  545|     51|}
_ZNK7glslang13TIntermediate19isConversionAllowedENS_9TOperatorEPNS_12TIntermTypedE:
  548|  1.79k|{
  549|       |    //
  550|       |    // Does the base type even allow the operation?
  551|       |    //
  552|  1.79k|    switch (node->getBasicType()) {
  553|      0|    case EbtVoid:
  ------------------
  |  Branch (553:5): [True: 0, False: 1.79k]
  ------------------
  554|      0|        return false;
  555|      0|    case EbtAtomicUint:
  ------------------
  |  Branch (555:5): [True: 0, False: 1.79k]
  ------------------
  556|      0|    case EbtSampler:
  ------------------
  |  Branch (556:5): [True: 0, False: 1.79k]
  ------------------
  557|      0|    case EbtAccStruct:
  ------------------
  |  Branch (557:5): [True: 0, False: 1.79k]
  ------------------
  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|  1.79k|    default:
  ------------------
  |  Branch (574:5): [True: 1.79k, False: 0]
  ------------------
  575|  1.79k|        break;
  576|  1.79k|    }
  577|       |
  578|  1.79k|    return true;
  579|  1.79k|}
_ZNK7glslang13TIntermediate14buildConvertOpENS_10TBasicTypeES1_RNS_9TOperatorE:
  582|      1|{
  583|       |    // (bfloat16_t,fp8) <-> bool not supported
  584|      1|    if (((src == EbtBFloat16 || src == EbtFloatE5M2 || src == EbtFloatE4M3) && dst == EbtBool) ||
  ------------------
  |  Branch (584:11): [True: 0, False: 1]
  |  Branch (584:33): [True: 0, False: 1]
  |  Branch (584:56): [True: 0, False: 1]
  |  Branch (584:80): [True: 0, False: 0]
  ------------------
  585|      1|        ((dst == EbtBFloat16 || dst == EbtFloatE5M2 || dst == EbtFloatE4M3) && src == EbtBool)) {
  ------------------
  |  Branch (585:11): [True: 0, False: 1]
  |  Branch (585:33): [True: 0, False: 1]
  |  Branch (585:56): [True: 0, False: 1]
  |  Branch (585:80): [True: 0, False: 0]
  ------------------
  586|      0|        return false;
  587|      0|    }
  588|       |
  589|      1|    if ((isTypeInt(dst) || isTypeFloat(dst) || dst == EbtBool) &&
  ------------------
  |  Branch (589:10): [True: 1, False: 0]
  |  Branch (589:28): [True: 0, False: 0]
  |  Branch (589:48): [True: 0, False: 0]
  ------------------
  590|      1|        (isTypeInt(src) || isTypeFloat(src) || src == EbtBool)) {
  ------------------
  |  Branch (590:10): [True: 1, False: 0]
  |  Branch (590:28): [True: 0, False: 0]
  |  Branch (590:48): [True: 0, False: 0]
  ------------------
  591|      1|        newOp = EOpConvNumeric;
  592|      1|        return true;
  593|      1|    }
  594|      0|    return false;
  595|      1|}
_ZNK7glslang13TIntermediate16createConversionENS_10TBasicTypeEPNS_12TIntermTypedE:
  601|      1|{
  602|       |    //
  603|       |    // Add a new newNode for the conversion.
  604|       |    //
  605|       |
  606|      1|    bool convertToIntTypes = (convertTo == EbtInt8  || convertTo == EbtUint8  ||
  ------------------
  |  Branch (606:31): [True: 0, False: 1]
  |  Branch (606:56): [True: 0, False: 1]
  ------------------
  607|      1|                              convertTo == EbtInt16 || convertTo == EbtUint16 ||
  ------------------
  |  Branch (607:31): [True: 0, False: 1]
  |  Branch (607:56): [True: 0, False: 1]
  ------------------
  608|      1|                              convertTo == EbtInt   || convertTo == EbtUint   ||
  ------------------
  |  Branch (608:31): [True: 1, 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|      1|    bool convertFromIntTypes = (node->getBasicType() == EbtInt8  || node->getBasicType() == EbtUint8  ||
  ------------------
  |  Branch (611:33): [True: 0, False: 1]
  |  Branch (611:69): [True: 0, False: 1]
  ------------------
  612|      1|                                node->getBasicType() == EbtInt16 || node->getBasicType() == EbtUint16 ||
  ------------------
  |  Branch (612:33): [True: 0, False: 1]
  |  Branch (612:69): [True: 0, False: 1]
  ------------------
  613|      1|                                node->getBasicType() == EbtInt   || node->getBasicType() == EbtUint   ||
  ------------------
  |  Branch (613:33): [True: 0, False: 1]
  |  Branch (613:69): [True: 1, 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|      1|    bool convertToFloatTypes = (convertTo == EbtFloat16 || convertTo == EbtBFloat16 || convertTo == EbtFloat || convertTo == EbtDouble ||
  ------------------
  |  Branch (616:33): [True: 0, False: 1]
  |  Branch (616:60): [True: 0, False: 1]
  |  Branch (616:88): [True: 0, False: 1]
  |  Branch (616:113): [True: 0, False: 1]
  ------------------
  617|      1|                                convertTo == EbtFloatE5M2 || convertTo == EbtFloatE4M3);
  ------------------
  |  Branch (617:33): [True: 0, False: 1]
  |  Branch (617:62): [True: 0, False: 1]
  ------------------
  618|       |
  619|      1|    bool convertFromFloatTypes = (node->getBasicType() == EbtFloat16 ||
  ------------------
  |  Branch (619:35): [True: 0, False: 1]
  ------------------
  620|      1|                                  node->getBasicType() == EbtBFloat16 ||
  ------------------
  |  Branch (620:35): [True: 0, False: 1]
  ------------------
  621|      1|                                  node->getBasicType() == EbtFloat ||
  ------------------
  |  Branch (621:35): [True: 0, False: 1]
  ------------------
  622|      1|                                  node->getBasicType() == EbtDouble ||
  ------------------
  |  Branch (622:35): [True: 0, False: 1]
  ------------------
  623|      1|                                  node->getBasicType() == EbtFloatE5M2 ||
  ------------------
  |  Branch (623:35): [True: 0, False: 1]
  ------------------
  624|      1|                                  node->getBasicType() == EbtFloatE4M3);
  ------------------
  |  Branch (624:35): [True: 0, False: 1]
  ------------------
  625|       |
  626|      1|    if (((convertTo == EbtInt8 || convertTo == EbtUint8) && ! convertFromIntTypes) ||
  ------------------
  |  Branch (626:11): [True: 0, False: 1]
  |  Branch (626:35): [True: 0, False: 1]
  |  Branch (626:61): [True: 0, False: 0]
  ------------------
  627|      1|        ((node->getBasicType() == EbtInt8 || node->getBasicType() == EbtUint8) && ! convertToIntTypes)) {
  ------------------
  |  Branch (627:11): [True: 0, False: 1]
  |  Branch (627:46): [True: 0, False: 1]
  |  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|      1|    if (((convertTo == EbtInt16 || convertTo == EbtUint16) && ! convertFromIntTypes) ||
  ------------------
  |  Branch (633:11): [True: 0, False: 1]
  |  Branch (633:36): [True: 0, False: 1]
  |  Branch (633:63): [True: 0, False: 0]
  ------------------
  634|      1|        ((node->getBasicType() == EbtInt16 || node->getBasicType() == EbtUint16) && ! convertToIntTypes)) {
  ------------------
  |  Branch (634:11): [True: 0, False: 1]
  |  Branch (634:47): [True: 0, False: 1]
  |  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|      1|    if ((convertTo == EbtFloat16 && ! convertFromFloatTypes) ||
  ------------------
  |  Branch (640:10): [True: 0, False: 1]
  |  Branch (640:37): [True: 0, False: 0]
  ------------------
  641|      1|        (node->getBasicType() == EbtFloat16 && ! convertToFloatTypes)) {
  ------------------
  |  Branch (641:10): [True: 0, False: 1]
  |  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|      1|    TIntermUnary* newNode = nullptr;
  648|      1|    TOperator newOp = EOpNull;
  649|      1|    if (!buildConvertOp(convertTo, node->getBasicType(), newOp)) {
  ------------------
  |  Branch (649:9): [True: 0, False: 1]
  ------------------
  650|      0|        return nullptr;
  651|      0|    }
  652|       |
  653|      1|    TType newType(convertTo, EvqTemporary, node->getVectorSize(), node->getMatrixCols(), node->getMatrixRows());
  654|      1|    if (node->getType().isLongVector()) {
  ------------------
  |  Branch (654:9): [True: 0, False: 1]
  ------------------
  655|      0|        newType.shallowCopy(node->getType());
  656|      0|        newType.setBasicType(convertTo);
  657|      0|        newType.makeTemporary();
  658|      0|        newType.getQualifier().clear();
  659|      0|    }
  660|      1|    newNode = addUnaryNode(newOp, node, node->getLoc(), newType);
  661|       |
  662|      1|    if (node->getAsConstantUnion()) {
  ------------------
  |  Branch (662:9): [True: 0, False: 1]
  ------------------
  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|      1|    if (node->getType().getQualifier().isSpecConstant() && isSpecializationOperation(*newNode))
  ------------------
  |  Branch (676:9): [True: 0, False: 1]
  |  Branch (676:60): [True: 0, False: 0]
  ------------------
  677|      0|        newNode->getWritableType().getQualifier().makeSpecConstant();
  678|       |
  679|      1|    return newNode;
  680|      1|}
_ZN7glslang13TIntermediate17addPairConversionENS_9TOperatorEPNS_12TIntermTypedES3_:
  701|      6|{
  702|      6|    if (!isConversionAllowed(op, node0) || !isConversionAllowed(op, node1))
  ------------------
  |  Branch (702:9): [True: 0, False: 6]
  |  Branch (702:44): [True: 0, False: 6]
  ------------------
  703|      0|        return std::make_tuple(nullptr, nullptr);
  704|       |
  705|      6|    if (node0->getType() != node1->getType()) {
  ------------------
  |  Branch (705:9): [True: 6, False: 0]
  ------------------
  706|       |        // If differing structure, then no conversions.
  707|      6|        if (node0->isStruct() || node1->isStruct())
  ------------------
  |  Branch (707:13): [True: 0, False: 6]
  |  Branch (707:34): [True: 0, False: 6]
  ------------------
  708|      0|            return std::make_tuple(nullptr, nullptr);
  709|       |
  710|       |        // If differing arrays, then no conversions.
  711|      6|        if (node0->getType().isArray() || node1->getType().isArray())
  ------------------
  |  Branch (711:13): [True: 0, False: 6]
  |  Branch (711:43): [True: 0, False: 6]
  ------------------
  712|      0|            return std::make_tuple(nullptr, nullptr);
  713|       |
  714|       |        // No implicit conversions for operations involving cooperative matrices
  715|      6|        if (node0->getType().isCoopMat() || node1->getType().isCoopMat())
  ------------------
  |  Branch (715:13): [True: 0, False: 6]
  |  Branch (715:45): [True: 0, False: 6]
  ------------------
  716|      0|            return std::make_tuple(node0, node1);
  717|      6|    }
  718|       |
  719|      6|    auto promoteTo = std::make_tuple(EbtNumTypes, EbtNumTypes);
  720|       |
  721|      6|    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|      0|    case EOpLessThan:
  ------------------
  |  Branch (726:5): [True: 0, False: 6]
  ------------------
  727|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (727:5): [True: 0, False: 6]
  ------------------
  728|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (728:5): [True: 0, False: 6]
  ------------------
  729|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (729:5): [True: 0, False: 6]
  ------------------
  730|      0|    case EOpEqual:
  ------------------
  |  Branch (730:5): [True: 0, False: 6]
  ------------------
  731|      0|    case EOpNotEqual:
  ------------------
  |  Branch (731:5): [True: 0, False: 6]
  ------------------
  732|       |
  733|      1|    case EOpAdd:
  ------------------
  |  Branch (733:5): [True: 1, False: 5]
  ------------------
  734|      2|    case EOpSub:
  ------------------
  |  Branch (734:5): [True: 1, False: 5]
  ------------------
  735|      2|    case EOpMul:
  ------------------
  |  Branch (735:5): [True: 0, False: 6]
  ------------------
  736|      2|    case EOpDiv:
  ------------------
  |  Branch (736:5): [True: 0, False: 6]
  ------------------
  737|      2|    case EOpMod:
  ------------------
  |  Branch (737:5): [True: 0, False: 6]
  ------------------
  738|       |
  739|      2|    case EOpVectorTimesScalar:
  ------------------
  |  Branch (739:5): [True: 0, False: 6]
  ------------------
  740|      2|    case EOpVectorTimesMatrix:
  ------------------
  |  Branch (740:5): [True: 0, False: 6]
  ------------------
  741|      2|    case EOpMatrixTimesVector:
  ------------------
  |  Branch (741:5): [True: 0, False: 6]
  ------------------
  742|      2|    case EOpMatrixTimesScalar:
  ------------------
  |  Branch (742:5): [True: 0, False: 6]
  ------------------
  743|       |
  744|      2|    case EOpAnd:
  ------------------
  |  Branch (744:5): [True: 0, False: 6]
  ------------------
  745|      2|    case EOpInclusiveOr:
  ------------------
  |  Branch (745:5): [True: 0, False: 6]
  ------------------
  746|      2|    case EOpExclusiveOr:
  ------------------
  |  Branch (746:5): [True: 0, False: 6]
  ------------------
  747|       |
  748|      6|    case EOpSequence:          // used by ?:
  ------------------
  |  Branch (748:5): [True: 4, False: 2]
  ------------------
  749|       |
  750|      6|        if (node0->getBasicType() == node1->getBasicType())
  ------------------
  |  Branch (750:13): [True: 0, False: 6]
  ------------------
  751|      0|            return std::make_tuple(node0, node1);
  752|       |
  753|      6|        promoteTo = getConversionDestinationType(node0->getBasicType(), node1->getBasicType(), op);
  754|      6|        if (std::get<0>(promoteTo) == EbtNumTypes || std::get<1>(promoteTo) == EbtNumTypes)
  ------------------
  |  Branch (754:13): [True: 0, False: 6]
  |  Branch (754:54): [True: 0, False: 6]
  ------------------
  755|      0|            return std::make_tuple(nullptr, nullptr);
  756|       |
  757|      6|        break;
  758|       |
  759|      6|    case EOpLogicalAnd:
  ------------------
  |  Branch (759:5): [True: 0, False: 6]
  ------------------
  760|      0|    case EOpLogicalOr:
  ------------------
  |  Branch (760:5): [True: 0, False: 6]
  ------------------
  761|      0|    case EOpLogicalXor:
  ------------------
  |  Branch (761:5): [True: 0, False: 6]
  ------------------
  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: 6]
  ------------------
  772|      0|    case EOpRightShift:
  ------------------
  |  Branch (772:5): [True: 0, False: 6]
  ------------------
  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: 6]
  ------------------
  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|      6|    }
  795|       |
  796|      6|    TIntermTyped* newNode0;
  797|      6|    TIntermTyped* newNode1;
  798|       |
  799|      6|    if (std::get<0>(promoteTo) != node0->getType().getBasicType()) {
  ------------------
  |  Branch (799:9): [True: 6, False: 0]
  ------------------
  800|      6|        if (node0->getAsConstantUnion())
  ------------------
  |  Branch (800:13): [True: 6, False: 0]
  ------------------
  801|      6|            newNode0 = promoteConstantUnion(std::get<0>(promoteTo), node0->getAsConstantUnion());
  802|      0|        else
  803|      0|            newNode0 = createConversion(std::get<0>(promoteTo), node0);
  804|      6|    } else
  805|      0|        newNode0 = node0;
  806|       |
  807|      6|    if (std::get<1>(promoteTo) != node1->getType().getBasicType()) {
  ------------------
  |  Branch (807:9): [True: 0, False: 6]
  ------------------
  808|      0|        if (node1->getAsConstantUnion())
  ------------------
  |  Branch (808:13): [True: 0, False: 0]
  ------------------
  809|      0|            newNode1 = promoteConstantUnion(std::get<1>(promoteTo), node1->getAsConstantUnion());
  810|      0|        else
  811|      0|            newNode1 = createConversion(std::get<1>(promoteTo), node1);
  812|      0|    } else
  813|      6|        newNode1 = node1;
  814|       |
  815|      6|    return std::make_tuple(newNode0, newNode1);
  816|      6|}
_ZN7glslang13TIntermediate13addConversionENS_9TOperatorERKNS_5TTypeEPNS_12TIntermTypedE:
  834|  1.78k|{
  835|  1.78k|    if (!isConversionAllowed(op, node))
  ------------------
  |  Branch (835:9): [True: 0, False: 1.78k]
  ------------------
  836|      0|        return nullptr;
  837|       |
  838|       |    // Otherwise, if types are identical, no problem
  839|  1.78k|    if (type == node->getType())
  ------------------
  |  Branch (839:9): [True: 1.71k, False: 70]
  ------------------
  840|  1.71k|        return node;
  841|       |
  842|       |    // If one's a structure, then no conversions.
  843|     70|    if (type.isStruct() || node->isStruct())
  ------------------
  |  Branch (843:9): [True: 0, False: 70]
  |  Branch (843:28): [True: 0, False: 70]
  ------------------
  844|      0|        return nullptr;
  845|       |
  846|       |    // If one's an array, then no conversions.
  847|     70|    if (type.isArray() || node->getType().isArray())
  ------------------
  |  Branch (847:9): [True: 0, False: 70]
  |  Branch (847:27): [True: 0, False: 70]
  ------------------
  848|      0|        return nullptr;
  849|       |
  850|       |    // Reject implicit conversions to cooperative matrix types
  851|     70|    if (node->getType().isCoopMat() &&
  ------------------
  |  Branch (851:9): [True: 0, False: 70]
  ------------------
  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|     70|    if (node->getType().isTensorLayoutNV() ||
  ------------------
  |  Branch (857:9): [True: 0, False: 70]
  ------------------
  858|     70|        node->getType().isTensorViewNV())
  ------------------
  |  Branch (858:9): [True: 0, False: 70]
  ------------------
  859|      0|        return nullptr;
  860|       |
  861|       |    // Reject implicit conversions to cooperative vector types
  862|     70|    if (node->getType().isCoopVecNV() &&
  ------------------
  |  Branch (862:9): [True: 0, False: 70]
  ------------------
  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|     70|    switch (op) {
  870|       |    //
  871|       |    // Explicit conversions (unary operations)
  872|       |    //
  873|      2|    case EOpConstructBool:
  ------------------
  |  Branch (873:5): [True: 2, False: 68]
  ------------------
  874|      2|    case EOpConstructFloat:
  ------------------
  |  Branch (874:5): [True: 0, False: 70]
  ------------------
  875|      3|    case EOpConstructInt:
  ------------------
  |  Branch (875:5): [True: 1, False: 69]
  ------------------
  876|     66|    case EOpConstructUint:
  ------------------
  |  Branch (876:5): [True: 63, False: 7]
  ------------------
  877|     66|    case EOpConstructDouble:
  ------------------
  |  Branch (877:5): [True: 0, False: 70]
  ------------------
  878|     66|    case EOpConstructFloat16:
  ------------------
  |  Branch (878:5): [True: 0, False: 70]
  ------------------
  879|     66|    case EOpConstructBFloat16:
  ------------------
  |  Branch (879:5): [True: 0, False: 70]
  ------------------
  880|     66|    case EOpConstructFloatE5M2:
  ------------------
  |  Branch (880:5): [True: 0, False: 70]
  ------------------
  881|     66|    case EOpConstructFloatE4M3:
  ------------------
  |  Branch (881:5): [True: 0, False: 70]
  ------------------
  882|     66|    case EOpConstructInt8:
  ------------------
  |  Branch (882:5): [True: 0, False: 70]
  ------------------
  883|     66|    case EOpConstructUint8:
  ------------------
  |  Branch (883:5): [True: 0, False: 70]
  ------------------
  884|     66|    case EOpConstructInt16:
  ------------------
  |  Branch (884:5): [True: 0, False: 70]
  ------------------
  885|     66|    case EOpConstructUint16:
  ------------------
  |  Branch (885:5): [True: 0, False: 70]
  ------------------
  886|     66|    case EOpConstructInt64:
  ------------------
  |  Branch (886:5): [True: 0, False: 70]
  ------------------
  887|     66|    case EOpConstructUint64:
  ------------------
  |  Branch (887:5): [True: 0, False: 70]
  ------------------
  888|     66|    case EOpConstructSaturated:
  ------------------
  |  Branch (888:5): [True: 0, False: 70]
  ------------------
  889|     66|        break;
  890|       |
  891|       |    //
  892|       |    // Implicit conversions
  893|       |    //
  894|      4|    case EOpLogicalNot:
  ------------------
  |  Branch (894:5): [True: 4, False: 66]
  ------------------
  895|       |
  896|      4|    case EOpFunctionCall:
  ------------------
  |  Branch (896:5): [True: 0, False: 70]
  ------------------
  897|       |
  898|      4|    case EOpReturn:
  ------------------
  |  Branch (898:5): [True: 0, False: 70]
  ------------------
  899|      4|    case EOpAssign:
  ------------------
  |  Branch (899:5): [True: 0, False: 70]
  ------------------
  900|      4|    case EOpAddAssign:
  ------------------
  |  Branch (900:5): [True: 0, False: 70]
  ------------------
  901|      4|    case EOpSubAssign:
  ------------------
  |  Branch (901:5): [True: 0, False: 70]
  ------------------
  902|      4|    case EOpMulAssign:
  ------------------
  |  Branch (902:5): [True: 0, False: 70]
  ------------------
  903|      4|    case EOpVectorTimesScalarAssign:
  ------------------
  |  Branch (903:5): [True: 0, False: 70]
  ------------------
  904|      4|    case EOpMatrixTimesScalarAssign:
  ------------------
  |  Branch (904:5): [True: 0, False: 70]
  ------------------
  905|      4|    case EOpDivAssign:
  ------------------
  |  Branch (905:5): [True: 0, False: 70]
  ------------------
  906|      4|    case EOpModAssign:
  ------------------
  |  Branch (906:5): [True: 0, False: 70]
  ------------------
  907|      4|    case EOpAndAssign:
  ------------------
  |  Branch (907:5): [True: 0, False: 70]
  ------------------
  908|      4|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (908:5): [True: 0, False: 70]
  ------------------
  909|      4|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (909:5): [True: 0, False: 70]
  ------------------
  910|       |
  911|      4|    case EOpAtan:
  ------------------
  |  Branch (911:5): [True: 0, False: 70]
  ------------------
  912|      4|    case EOpClamp:
  ------------------
  |  Branch (912:5): [True: 0, False: 70]
  ------------------
  913|      4|    case EOpCross:
  ------------------
  |  Branch (913:5): [True: 0, False: 70]
  ------------------
  914|      4|    case EOpDistance:
  ------------------
  |  Branch (914:5): [True: 0, False: 70]
  ------------------
  915|      4|    case EOpDot:
  ------------------
  |  Branch (915:5): [True: 0, False: 70]
  ------------------
  916|      4|    case EOpDst:
  ------------------
  |  Branch (916:5): [True: 0, False: 70]
  ------------------
  917|      4|    case EOpFaceForward:
  ------------------
  |  Branch (917:5): [True: 0, False: 70]
  ------------------
  918|      4|    case EOpFma:
  ------------------
  |  Branch (918:5): [True: 0, False: 70]
  ------------------
  919|      4|    case EOpFrexp:
  ------------------
  |  Branch (919:5): [True: 0, False: 70]
  ------------------
  920|      4|    case EOpLdexp:
  ------------------
  |  Branch (920:5): [True: 0, False: 70]
  ------------------
  921|      4|    case EOpMix:
  ------------------
  |  Branch (921:5): [True: 0, False: 70]
  ------------------
  922|      4|    case EOpLit:
  ------------------
  |  Branch (922:5): [True: 0, False: 70]
  ------------------
  923|      4|    case EOpMax:
  ------------------
  |  Branch (923:5): [True: 0, False: 70]
  ------------------
  924|      4|    case EOpMin:
  ------------------
  |  Branch (924:5): [True: 0, False: 70]
  ------------------
  925|      4|    case EOpMod:
  ------------------
  |  Branch (925:5): [True: 0, False: 70]
  ------------------
  926|      4|    case EOpModf:
  ------------------
  |  Branch (926:5): [True: 0, False: 70]
  ------------------
  927|      4|    case EOpPow:
  ------------------
  |  Branch (927:5): [True: 0, False: 70]
  ------------------
  928|      4|    case EOpReflect:
  ------------------
  |  Branch (928:5): [True: 0, False: 70]
  ------------------
  929|      4|    case EOpRefract:
  ------------------
  |  Branch (929:5): [True: 0, False: 70]
  ------------------
  930|      4|    case EOpSmoothStep:
  ------------------
  |  Branch (930:5): [True: 0, False: 70]
  ------------------
  931|      4|    case EOpStep:
  ------------------
  |  Branch (931:5): [True: 0, False: 70]
  ------------------
  932|       |
  933|      4|    case EOpSequence:
  ------------------
  |  Branch (933:5): [True: 0, False: 70]
  ------------------
  934|      4|    case EOpConstructStruct:
  ------------------
  |  Branch (934:5): [True: 0, False: 70]
  ------------------
  935|      4|    case EOpConstructCooperativeMatrixNV:
  ------------------
  |  Branch (935:5): [True: 0, False: 70]
  ------------------
  936|      4|    case EOpConstructCooperativeMatrixKHR:
  ------------------
  |  Branch (936:5): [True: 0, False: 70]
  ------------------
  937|      4|    case EOpConstructCooperativeVectorNV:
  ------------------
  |  Branch (937:5): [True: 0, False: 70]
  ------------------
  938|       |
  939|      4|        if (type.isReference() || node->getType().isReference()) {
  ------------------
  |  Branch (939:13): [True: 0, False: 4]
  |  Branch (939:35): [True: 0, False: 4]
  ------------------
  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|      4|        if (type.getBasicType() == node->getType().getBasicType())
  ------------------
  |  Branch (947:13): [True: 0, False: 4]
  ------------------
  948|      0|            return node;
  949|       |
  950|      4|        if (! canImplicitlyPromote(node->getBasicType(), type.getBasicType(), op))
  ------------------
  |  Branch (950:13): [True: 0, False: 4]
  ------------------
  951|      0|            return nullptr;
  952|      4|        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|      4|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (957:5): [True: 0, False: 70]
  ------------------
  958|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (958:5): [True: 0, False: 70]
  ------------------
  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: 70]
  ------------------
  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|     70|    }
  977|       |
  978|     70|    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|     70|    switch (op) {
  989|      0|    case EOpConstructBFloat16:
  ------------------
  |  Branch (989:5): [True: 0, False: 70]
  ------------------
  990|      0|    case EOpConstructFloatE5M2:
  ------------------
  |  Branch (990:5): [True: 0, False: 70]
  ------------------
  991|      0|    case EOpConstructFloatE4M3:
  ------------------
  |  Branch (991:5): [True: 0, False: 70]
  ------------------
  992|      0|        canPromoteConstant = true;
  993|      0|        break;
  994|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (994:5): [True: 0, False: 70]
  ------------------
  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: 70]
  ------------------
  999|      0|    case EOpConstructUint8:
  ------------------
  |  Branch (999:5): [True: 0, False: 70]
  ------------------
 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: 70]
  ------------------
 1004|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (1004:5): [True: 0, False: 70]
  ------------------
 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|     70|    default:
  ------------------
  |  Branch (1008:5): [True: 70, False: 0]
  ------------------
 1009|     70|        break;
 1010|     70|    }
 1011|       |
 1012|     70|    if (canPromoteConstant && node->getAsConstantUnion())
  ------------------
  |  Branch (1012:9): [True: 70, False: 0]
  |  Branch (1012:31): [True: 69, False: 1]
  ------------------
 1013|     69|        return promoteConstantUnion(type.getBasicType(), node->getAsConstantUnion());
 1014|       |
 1015|       |    //
 1016|       |    // Add a new newNode for the conversion.
 1017|       |    //
 1018|      1|    TIntermTyped* newNode = createConversion(type.getBasicType(), node);
 1019|       |
 1020|      1|    return newNode;
 1021|     70|}
_ZN7glslang13TIntermediate21addUniShapeConversionENS_9TOperatorERKNS_5TTypeEPNS_12TIntermTypedE:
 1036|      2|{
 1037|       |    // some source languages don't do this
 1038|      2|    switch (getSource()) {
 1039|      2|    case EShSourceHlsl:
  ------------------
  |  Branch (1039:5): [True: 2, False: 0]
  ------------------
 1040|      2|        break;
 1041|      0|    case EShSourceGlsl:
  ------------------
  |  Branch (1041:5): [True: 0, False: 2]
  ------------------
 1042|      0|    default:
  ------------------
  |  Branch (1042:5): [True: 0, False: 2]
  ------------------
 1043|      0|        return node;
 1044|      2|    }
 1045|       |
 1046|       |    // some operations don't do this
 1047|      2|    switch (op) {
 1048|      0|    case EOpFunctionCall:
  ------------------
  |  Branch (1048:5): [True: 0, False: 2]
  ------------------
 1049|      0|    case EOpReturn:
  ------------------
  |  Branch (1049:5): [True: 0, False: 2]
  ------------------
 1050|      0|        break;
 1051|       |
 1052|      0|    case EOpMulAssign:
  ------------------
  |  Branch (1052:5): [True: 0, False: 2]
  ------------------
 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: 2]
  ------------------
 1057|      0|    case EOpSubAssign:
  ------------------
  |  Branch (1057:5): [True: 0, False: 2]
  ------------------
 1058|      0|    case EOpDivAssign:
  ------------------
  |  Branch (1058:5): [True: 0, False: 2]
  ------------------
 1059|      0|    case EOpAndAssign:
  ------------------
  |  Branch (1059:5): [True: 0, False: 2]
  ------------------
 1060|      0|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (1060:5): [True: 0, False: 2]
  ------------------
 1061|      0|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (1061:5): [True: 0, False: 2]
  ------------------
 1062|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (1062:5): [True: 0, False: 2]
  ------------------
 1063|      0|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (1063:5): [True: 0, False: 2]
  ------------------
 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: 2]
  ------------------
 1069|      0|        break;
 1070|       |
 1071|      2|    case EOpMix:
  ------------------
  |  Branch (1071:5): [True: 2, False: 0]
  ------------------
 1072|      2|        break;
 1073|       |
 1074|      0|    default:
  ------------------
  |  Branch (1074:5): [True: 0, False: 2]
  ------------------
 1075|      0|        return node;
 1076|      2|    }
 1077|       |
 1078|      2|    return addShapeConversion(type, node);
 1079|      2|}
_ZN7glslang13TIntermediate20addBiShapeConversionENS_9TOperatorERPNS_12TIntermTypedES4_:
 1089|      5|{
 1090|       |    // some source languages don't do this
 1091|      5|    switch (getSource()) {
 1092|      5|    case EShSourceHlsl:
  ------------------
  |  Branch (1092:5): [True: 5, False: 0]
  ------------------
 1093|      5|        break;
 1094|      0|    case EShSourceGlsl:
  ------------------
  |  Branch (1094:5): [True: 0, False: 5]
  ------------------
 1095|      0|    default:
  ------------------
  |  Branch (1095:5): [True: 0, False: 5]
  ------------------
 1096|      0|        return;
 1097|      5|    }
 1098|       |
 1099|       |    // some operations don't do this
 1100|       |    // 'break' will mean attempt bidirectional conversion
 1101|      5|    switch (op) {
 1102|      0|    case EOpMulAssign:
  ------------------
  |  Branch (1102:5): [True: 0, False: 5]
  ------------------
 1103|      0|    case EOpAssign:
  ------------------
  |  Branch (1103:5): [True: 0, False: 5]
  ------------------
 1104|      0|    case EOpAddAssign:
  ------------------
  |  Branch (1104:5): [True: 0, False: 5]
  ------------------
 1105|      0|    case EOpSubAssign:
  ------------------
  |  Branch (1105:5): [True: 0, False: 5]
  ------------------
 1106|      0|    case EOpDivAssign:
  ------------------
  |  Branch (1106:5): [True: 0, False: 5]
  ------------------
 1107|      0|    case EOpAndAssign:
  ------------------
  |  Branch (1107:5): [True: 0, False: 5]
  ------------------
 1108|      0|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (1108:5): [True: 0, False: 5]
  ------------------
 1109|      0|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (1109:5): [True: 0, False: 5]
  ------------------
 1110|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (1110:5): [True: 0, False: 5]
  ------------------
 1111|      0|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (1111:5): [True: 0, False: 5]
  ------------------
 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: 5]
  ------------------
 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|      1|    case EOpAdd:
  ------------------
  |  Branch (1121:5): [True: 1, False: 4]
  ------------------
 1122|      2|    case EOpSub:
  ------------------
  |  Branch (1122:5): [True: 1, False: 4]
  ------------------
 1123|      2|    case EOpDiv:
  ------------------
  |  Branch (1123:5): [True: 0, False: 5]
  ------------------
 1124|       |        // want to support vector * scalar native ops in AST and lower, not smear, similarly for
 1125|       |        // matrix * vector, etc.
 1126|      2|        if (lhsNode->getVectorSize() == 1 || rhsNode->getVectorSize() == 1)
  ------------------
  |  Branch (1126:13): [True: 2, False: 0]
  |  Branch (1126:46): [True: 0, False: 0]
  ------------------
 1127|      2|            return;
 1128|      0|        break;
 1129|       |
 1130|      0|    case EOpRightShift:
  ------------------
  |  Branch (1130:5): [True: 0, False: 5]
  ------------------
 1131|      0|    case EOpLeftShift:
  ------------------
  |  Branch (1131:5): [True: 0, False: 5]
  ------------------
 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: 5]
  ------------------
 1139|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (1139:5): [True: 0, False: 5]
  ------------------
 1140|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (1140:5): [True: 0, False: 5]
  ------------------
 1141|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (1141:5): [True: 0, False: 5]
  ------------------
 1142|       |
 1143|      0|    case EOpEqual:
  ------------------
  |  Branch (1143:5): [True: 0, False: 5]
  ------------------
 1144|      0|    case EOpNotEqual:
  ------------------
  |  Branch (1144:5): [True: 0, False: 5]
  ------------------
 1145|       |
 1146|      0|    case EOpLogicalAnd:
  ------------------
  |  Branch (1146:5): [True: 0, False: 5]
  ------------------
 1147|      0|    case EOpLogicalOr:
  ------------------
  |  Branch (1147:5): [True: 0, False: 5]
  ------------------
 1148|      0|    case EOpLogicalXor:
  ------------------
  |  Branch (1148:5): [True: 0, False: 5]
  ------------------
 1149|       |
 1150|      0|    case EOpAnd:
  ------------------
  |  Branch (1150:5): [True: 0, False: 5]
  ------------------
 1151|      0|    case EOpInclusiveOr:
  ------------------
  |  Branch (1151:5): [True: 0, False: 5]
  ------------------
 1152|      0|    case EOpExclusiveOr:
  ------------------
  |  Branch (1152:5): [True: 0, False: 5]
  ------------------
 1153|       |
 1154|      3|    case EOpMix:
  ------------------
  |  Branch (1154:5): [True: 3, False: 2]
  ------------------
 1155|      3|        break;
 1156|       |
 1157|      0|    default:
  ------------------
  |  Branch (1157:5): [True: 0, False: 5]
  ------------------
 1158|      0|        return;
 1159|      5|    }
 1160|       |
 1161|       |    // Do bidirectional conversions
 1162|      3|    if (lhsNode->getType().isScalarOrVec1() || rhsNode->getType().isScalarOrVec1()) {
  ------------------
  |  Branch (1162:9): [True: 3, False: 0]
  |  Branch (1162:48): [True: 0, False: 0]
  ------------------
 1163|      3|        if (lhsNode->getType().isScalarOrVec1())
  ------------------
  |  Branch (1163:13): [True: 3, False: 0]
  ------------------
 1164|      3|            lhsNode = addShapeConversion(rhsNode->getType(), lhsNode);
 1165|      0|        else
 1166|      0|            rhsNode = addShapeConversion(lhsNode->getType(), rhsNode);
 1167|      3|    }
 1168|      3|    lhsNode = addShapeConversion(rhsNode->getType(), lhsNode);
 1169|      3|    rhsNode = addShapeConversion(lhsNode->getType(), rhsNode);
 1170|      3|}
_ZN7glslang13TIntermediate18addShapeConversionERKNS_5TTypeEPNS_12TIntermTypedE:
 1182|     11|{
 1183|       |    // no conversion needed
 1184|     11|    if (node->getType() == type)
  ------------------
  |  Branch (1184:9): [True: 7, False: 4]
  ------------------
 1185|      7|        return node;
 1186|       |
 1187|       |    // structures and arrays don't change shape, either to or from
 1188|      4|    if (node->getType().isStruct() || node->getType().isArray() ||
  ------------------
  |  Branch (1188:9): [True: 0, False: 4]
  |  Branch (1188:39): [True: 0, False: 4]
  ------------------
 1189|      4|        type.isStruct() || type.isArray())
  ------------------
  |  Branch (1189:9): [True: 0, False: 4]
  |  Branch (1189:28): [True: 0, False: 4]
  ------------------
 1190|      0|        return node;
 1191|       |
 1192|       |    // The new node that handles the conversion
 1193|      4|    TOperator constructorOp = mapTypeToConstructorOp(type);
 1194|       |
 1195|      4|    if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (1195:9): [True: 4, 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|      4|        const TType &sourceType = node->getType();
 1205|       |
 1206|       |        // rule 1 for scalar to matrix is special
 1207|      4|        if (sourceType.isScalarOrVec1() && type.isMatrix()) {
  ------------------
  |  Branch (1207:13): [True: 4, False: 0]
  |  Branch (1207:44): [True: 0, False: 4]
  ------------------
 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|      4|        if ((sourceType.isScalar() && !type.isScalar()) || (!sourceType.isScalar() && type.isScalar()))
  ------------------
  |  Branch (1231:14): [True: 4, False: 0]
  |  Branch (1231:39): [True: 4, False: 0]
  |  Branch (1231:61): [True: 0, False: 0]
  |  Branch (1231:87): [True: 0, False: 0]
  ------------------
 1232|      4|            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|}
_ZNK7glslang13TIntermediate20canImplicitlyPromoteENS_10TBasicTypeES1_NS_9TOperatorE:
 1441|     16|{
 1442|     16|    if ((isEsProfile() && version < 310 ) || version == 110)
  ------------------
  |  Branch (1442:10): [True: 0, False: 16]
  |  Branch (1442:27): [True: 0, False: 0]
  |  Branch (1442:46): [True: 0, False: 16]
  ------------------
 1443|      0|        return false;
 1444|       |
 1445|     16|    if (from == to)
  ------------------
  |  Branch (1445:9): [True: 0, False: 16]
  ------------------
 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|     16|    if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (1450:9): [True: 16, False: 0]
  ------------------
 1451|     16|        const bool fromConvertable = (from == EbtFloat || from == EbtDouble || from == EbtInt || from == EbtUint || from == EbtBool);
  ------------------
  |  Branch (1451:39): [True: 0, False: 16]
  |  Branch (1451:59): [True: 0, False: 16]
  |  Branch (1451:80): [True: 9, False: 7]
  |  Branch (1451:98): [True: 5, False: 2]
  |  Branch (1451:117): [True: 2, False: 0]
  ------------------
 1452|     16|        const bool toConvertable = (to == EbtFloat || to == EbtDouble || to == EbtInt || to == EbtUint || to == EbtBool);
  ------------------
  |  Branch (1452:37): [True: 0, False: 16]
  |  Branch (1452:55): [True: 0, False: 16]
  |  Branch (1452:74): [True: 5, False: 11]
  |  Branch (1452:90): [True: 5, False: 6]
  |  Branch (1452:107): [True: 6, False: 0]
  ------------------
 1453|       |
 1454|     16|        if (fromConvertable && toConvertable) {
  ------------------
  |  Branch (1454:13): [True: 16, False: 0]
  |  Branch (1454:32): [True: 16, False: 0]
  ------------------
 1455|     16|            switch (op) {
 1456|      0|            case EOpAndAssign:               // assignments can perform arbitrary conversions
  ------------------
  |  Branch (1456:13): [True: 0, False: 16]
  ------------------
 1457|      0|            case EOpInclusiveOrAssign:       // ...
  ------------------
  |  Branch (1457:13): [True: 0, False: 16]
  ------------------
 1458|      0|            case EOpExclusiveOrAssign:       // ...
  ------------------
  |  Branch (1458:13): [True: 0, False: 16]
  ------------------
 1459|      0|            case EOpAssign:                  // ...
  ------------------
  |  Branch (1459:13): [True: 0, False: 16]
  ------------------
 1460|      0|            case EOpAddAssign:               // ...
  ------------------
  |  Branch (1460:13): [True: 0, False: 16]
  ------------------
 1461|      0|            case EOpSubAssign:               // ...
  ------------------
  |  Branch (1461:13): [True: 0, False: 16]
  ------------------
 1462|      0|            case EOpMulAssign:               // ...
  ------------------
  |  Branch (1462:13): [True: 0, False: 16]
  ------------------
 1463|      0|            case EOpVectorTimesScalarAssign: // ...
  ------------------
  |  Branch (1463:13): [True: 0, False: 16]
  ------------------
 1464|      0|            case EOpMatrixTimesScalarAssign: // ...
  ------------------
  |  Branch (1464:13): [True: 0, False: 16]
  ------------------
 1465|      0|            case EOpDivAssign:               // ...
  ------------------
  |  Branch (1465:13): [True: 0, False: 16]
  ------------------
 1466|      0|            case EOpModAssign:               // ...
  ------------------
  |  Branch (1466:13): [True: 0, False: 16]
  ------------------
 1467|      0|            case EOpReturn:                  // function returns can also perform arbitrary conversions
  ------------------
  |  Branch (1467:13): [True: 0, False: 16]
  ------------------
 1468|      0|            case EOpFunctionCall:            // conversion of a calling parameter
  ------------------
  |  Branch (1468:13): [True: 0, False: 16]
  ------------------
 1469|      4|            case EOpLogicalNot:
  ------------------
  |  Branch (1469:13): [True: 4, False: 12]
  ------------------
 1470|      4|            case EOpLogicalAnd:
  ------------------
  |  Branch (1470:13): [True: 0, False: 16]
  ------------------
 1471|      4|            case EOpLogicalOr:
  ------------------
  |  Branch (1471:13): [True: 0, False: 16]
  ------------------
 1472|      4|            case EOpLogicalXor:
  ------------------
  |  Branch (1472:13): [True: 0, False: 16]
  ------------------
 1473|      4|            case EOpConstructStruct:
  ------------------
  |  Branch (1473:13): [True: 0, False: 16]
  ------------------
 1474|      4|                return true;
 1475|     12|            default:
  ------------------
  |  Branch (1475:13): [True: 12, False: 4]
  ------------------
 1476|     12|                break;
 1477|     16|            }
 1478|     16|        }
 1479|     16|    }
 1480|       |
 1481|     12|    if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (1481:9): [True: 12, False: 0]
  ------------------
 1482|       |        // HLSL
 1483|     12|        if (from == EbtBool && (to == EbtInt || to == EbtUint || to == EbtFloat))
  ------------------
  |  Branch (1483:13): [True: 2, False: 10]
  |  Branch (1483:33): [True: 1, False: 1]
  |  Branch (1483:49): [True: 1, False: 0]
  |  Branch (1483:66): [True: 0, False: 0]
  ------------------
 1484|      2|            return true;
 1485|     12|    } else {
 1486|       |        // GLSL
 1487|      0|        if (isIntegralPromotion(from, to) ||
  ------------------
  |  Branch (1487:13): [True: 0, False: 0]
  ------------------
 1488|      0|            isFPPromotion(from, to) ||
  ------------------
  |  Branch (1488:13): [True: 0, False: 0]
  ------------------
 1489|      0|            isIntegralConversion(from, to) ||
  ------------------
  |  Branch (1489:13): [True: 0, False: 0]
  ------------------
 1490|      0|            isFPConversion(from, to) ||
  ------------------
  |  Branch (1490:13): [True: 0, False: 0]
  ------------------
 1491|      0|            isFPIntegralConversion(from, to)) {
  ------------------
  |  Branch (1491:13): [True: 0, False: 0]
  ------------------
 1492|       |
 1493|      0|            if (numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1493:17): [True: 0, False: 0]
  ------------------
 1494|      0|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int8) ||
  ------------------
  |  Branch (1494:17): [True: 0, False: 0]
  ------------------
 1495|      0|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int16) ||
  ------------------
  |  Branch (1495:17): [True: 0, False: 0]
  ------------------
 1496|      0|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int32) ||
  ------------------
  |  Branch (1496:17): [True: 0, False: 0]
  ------------------
 1497|      0|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int64) ||
  ------------------
  |  Branch (1497:17): [True: 0, False: 0]
  ------------------
 1498|      0|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_float16) ||
  ------------------
  |  Branch (1498:17): [True: 0, False: 0]
  ------------------
 1499|      0|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_float32) ||
  ------------------
  |  Branch (1499:17): [True: 0, False: 0]
  ------------------
 1500|      0|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_float64)) {
  ------------------
  |  Branch (1500:17): [True: 0, False: 0]
  ------------------
 1501|      0|                return true;
 1502|      0|            }
 1503|      0|        }
 1504|      0|    }
 1505|       |
 1506|     10|    if (isEsProfile()) {
  ------------------
  |  Branch (1506:9): [True: 0, False: 10]
  ------------------
 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|     10|    } else {
 1527|     10|        switch (to) {
 1528|      0|        case EbtDouble:
  ------------------
  |  Branch (1528:9): [True: 0, False: 10]
  ------------------
 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|      0|        case EbtFloat:
  ------------------
  |  Branch (1555:9): [True: 0, False: 10]
  ------------------
 1556|      0|            switch (from) {
 1557|      0|            case EbtInt:
  ------------------
  |  Branch (1557:13): [True: 0, False: 0]
  ------------------
 1558|      0|            case EbtUint:
  ------------------
  |  Branch (1558:13): [True: 0, False: 0]
  ------------------
 1559|      0|                 return true;
 1560|      0|            case EbtBool:
  ------------------
  |  Branch (1560:13): [True: 0, False: 0]
  ------------------
 1561|      0|                 return getSource() == EShSourceHlsl;
 1562|      0|            case EbtInt16:
  ------------------
  |  Branch (1562:13): [True: 0, False: 0]
  ------------------
 1563|      0|            case EbtUint16:
  ------------------
  |  Branch (1563:13): [True: 0, False: 0]
  ------------------
 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: 0]
  ------------------
 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: 0]
  ------------------
 1571|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (1571:13): [True: 0, False: 0]
  ------------------
 1572|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (1572:13): [True: 0, False: 0]
  ------------------
 1573|      0|                return true;
 1574|      0|            case EbtInt8:
  ------------------
  |  Branch (1574:13): [True: 0, False: 0]
  ------------------
 1575|      0|            case EbtUint8:
  ------------------
  |  Branch (1575:13): [True: 0, False: 0]
  ------------------
 1576|      0|                return numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
 1577|      0|            default:
  ------------------
  |  Branch (1577:13): [True: 0, False: 0]
  ------------------
 1578|      0|                 return false;
 1579|      0|            }
 1580|      4|        case EbtUint:
  ------------------
  |  Branch (1580:9): [True: 4, False: 6]
  ------------------
 1581|      4|            switch (from) {
 1582|      4|            case EbtInt:
  ------------------
  |  Branch (1582:13): [True: 4, False: 0]
  ------------------
 1583|      4|                return version >= 400 || getSource() == EShSourceHlsl || 
  ------------------
  |  Branch (1583:24): [True: 4, 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: 4]
  ------------------
 1587|      0|                return getSource() == EShSourceHlsl;
 1588|      0|            case EbtInt16:
  ------------------
  |  Branch (1588:13): [True: 0, False: 4]
  ------------------
 1589|      0|            case EbtUint16:
  ------------------
  |  Branch (1589:13): [True: 0, False: 4]
  ------------------
 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: 4]
  ------------------
 1593|      0|            case EbtUint8:
  ------------------
  |  Branch (1593:13): [True: 0, False: 4]
  ------------------
 1594|      0|                return numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
 1595|      0|            default:
  ------------------
  |  Branch (1595:13): [True: 0, False: 4]
  ------------------
 1596|      0|                return false;
 1597|      4|            }
 1598|      4|        case EbtInt:
  ------------------
  |  Branch (1598:9): [True: 4, False: 6]
  ------------------
 1599|      4|            switch (from) {
 1600|      0|            case EbtBool:
  ------------------
  |  Branch (1600:13): [True: 0, False: 4]
  ------------------
 1601|      0|                return getSource() == EShSourceHlsl;
 1602|      0|            case EbtInt16:
  ------------------
  |  Branch (1602:13): [True: 0, False: 4]
  ------------------
 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: 4]
  ------------------
 1606|      0|                return numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
 1607|      4|            default:
  ------------------
  |  Branch (1607:13): [True: 4, False: 0]
  ------------------
 1608|      4|                return false;
 1609|      4|            }
 1610|      0|        case EbtUint64:
  ------------------
  |  Branch (1610:9): [True: 0, False: 10]
  ------------------
 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: 10]
  ------------------
 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: 10]
  ------------------
 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: 10]
  ------------------
 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: 10]
  ------------------
 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|      2|        default:
  ------------------
  |  Branch (1667:9): [True: 2, False: 8]
  ------------------
 1668|      2|            return false;
 1669|     10|        }
 1670|     10|    }
 1671|       |
 1672|      0|    return false;
 1673|     10|}
_ZNK7glslang13TIntermediate28getConversionDestinationTypeENS_10TBasicTypeES1_NS_9TOperatorE:
 1781|      6|{
 1782|      6|    TBasicType res0 = EbtNumTypes;
 1783|      6|    TBasicType res1 = EbtNumTypes;
 1784|       |
 1785|      6|    if ((isEsProfile() && 
  ------------------
  |  Branch (1785:10): [True: 0, False: 6]
  ------------------
 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|      6|        version == 110)
  ------------------
  |  Branch (1787:9): [True: 0, False: 6]
  ------------------
 1788|      0|        return std::make_tuple(res0, res1);
 1789|       |
 1790|      6|    if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (1790:9): [True: 6, False: 0]
  ------------------
 1791|      6|        if (canImplicitlyPromote(type1, type0, op)) {
  ------------------
  |  Branch (1791:13): [True: 0, False: 6]
  ------------------
 1792|      0|            res0 = type0;
 1793|      0|            res1 = type0;
 1794|      6|        } else if (canImplicitlyPromote(type0, type1, op)) {
  ------------------
  |  Branch (1794:20): [True: 6, False: 0]
  ------------------
 1795|      6|            res0 = type1;
 1796|      6|            res1 = type1;
 1797|      6|        }
 1798|      6|        return std::make_tuple(res0, res1);
 1799|      6|    }
 1800|       |
 1801|      0|    if ((type0 == EbtDouble && canImplicitlyPromote(type1, EbtDouble, op)) ||
  ------------------
  |  Branch (1801:10): [True: 0, False: 0]
  |  Branch (1801:32): [True: 0, False: 0]
  ------------------
 1802|      0|        (type1 == EbtDouble && canImplicitlyPromote(type0, EbtDouble, op)) ) {
  ------------------
  |  Branch (1802:10): [True: 0, False: 0]
  |  Branch (1802:32): [True: 0, False: 0]
  ------------------
 1803|      0|        res0 = EbtDouble;
 1804|      0|        res1 = EbtDouble;
 1805|      0|    } else if ((type0 == EbtFloat && canImplicitlyPromote(type1, EbtFloat, op)) ||
  ------------------
  |  Branch (1805:17): [True: 0, False: 0]
  |  Branch (1805:38): [True: 0, False: 0]
  ------------------
 1806|      0|               (type1 == EbtFloat && canImplicitlyPromote(type0, EbtFloat, op)) ) {
  ------------------
  |  Branch (1806:17): [True: 0, False: 0]
  |  Branch (1806:38): [True: 0, False: 0]
  ------------------
 1807|      0|        res0 = EbtFloat;
 1808|      0|        res1 = EbtFloat;
 1809|      0|    } else if ((type0 == EbtFloat16 && canImplicitlyPromote(type1, EbtFloat16, op)) ||
  ------------------
  |  Branch (1809:17): [True: 0, False: 0]
  |  Branch (1809:40): [True: 0, False: 0]
  ------------------
 1810|      0|               (type1 == EbtFloat16 && canImplicitlyPromote(type0, EbtFloat16, op)) ) {
  ------------------
  |  Branch (1810:17): [True: 0, False: 0]
  |  Branch (1810:40): [True: 0, False: 0]
  ------------------
 1811|      0|        res0 = EbtFloat16;
 1812|      0|        res1 = EbtFloat16;
 1813|      0|    } else if ((type0 == EbtBFloat16 && canImplicitlyPromote(type1, EbtBFloat16, op)) ||
  ------------------
  |  Branch (1813:17): [True: 0, False: 0]
  |  Branch (1813:41): [True: 0, False: 0]
  ------------------
 1814|      0|               (type1 == EbtBFloat16 && canImplicitlyPromote(type0, EbtBFloat16, op)) ) {
  ------------------
  |  Branch (1814:17): [True: 0, False: 0]
  |  Branch (1814:41): [True: 0, False: 0]
  ------------------
 1815|      0|        res0 = EbtBFloat16;
 1816|      0|        res1 = EbtBFloat16;
 1817|      0|    } else if (isTypeInt(type0) && isTypeInt(type1) &&
  ------------------
  |  Branch (1817:16): [True: 0, False: 0]
  |  Branch (1817:36): [True: 0, False: 0]
  ------------------
 1818|      0|               (canImplicitlyPromote(type0, type1, op) || canImplicitlyPromote(type1, type0, op))) {
  ------------------
  |  Branch (1818:17): [True: 0, False: 0]
  |  Branch (1818:59): [True: 0, False: 0]
  ------------------
 1819|      0|        if ((isTypeSignedInt(type0) && isTypeSignedInt(type1)) ||
  ------------------
  |  Branch (1819:14): [True: 0, False: 0]
  |  Branch (1819:40): [True: 0, False: 0]
  ------------------
 1820|      0|            (isTypeUnsignedInt(type0) && isTypeUnsignedInt(type1))) {
  ------------------
  |  Branch (1820:14): [True: 0, False: 0]
  |  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|      0|        } else if (isTypeUnsignedInt(type0) && (getTypeRank(type0) > getTypeRank(type1))) {
  ------------------
  |  Branch (1828:20): [True: 0, False: 0]
  |  Branch (1828:48): [True: 0, False: 0]
  ------------------
 1829|      0|            res0 = type0;
 1830|      0|            res1 = type0;
 1831|      0|        } else if (isTypeUnsignedInt(type1) && (getTypeRank(type1) > getTypeRank(type0))) {
  ------------------
  |  Branch (1831:20): [True: 0, False: 0]
  |  Branch (1831:48): [True: 0, False: 0]
  ------------------
 1832|      0|            res0 = type1;
 1833|      0|            res1 = type1;
 1834|      0|        } else if (isTypeSignedInt(type0)) {
  ------------------
  |  Branch (1834:20): [True: 0, False: 0]
  ------------------
 1835|      0|            if (canSignedIntTypeRepresentAllUnsignedValues(type0, type1)) {
  ------------------
  |  Branch (1835:17): [True: 0, False: 0]
  ------------------
 1836|      0|                res0 = type0;
 1837|      0|                res1 = type0;
 1838|      0|            } else {
 1839|      0|                res0 = getCorrespondingUnsignedType(type0);
 1840|      0|                res1 = getCorrespondingUnsignedType(type0);
 1841|      0|            }
 1842|      0|        } 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|      0|    }
 1852|       |
 1853|      0|    return std::make_tuple(res0, res1);
 1854|      6|}
_ZNK7glslang13TIntermediate22mapTypeToConstructorOpERKNS_5TTypeE:
 1860|    177|{
 1861|    177|    TOperator op = EOpNull;
 1862|       |
 1863|    177|    if (type.getQualifier().isNonUniform())
  ------------------
  |  Branch (1863:9): [True: 0, False: 177]
  ------------------
 1864|      0|        return EOpConstructNonuniform;
 1865|       |
 1866|    177|    if (type.isCoopMatNV())
  ------------------
  |  Branch (1866:9): [True: 0, False: 177]
  ------------------
 1867|      0|        return EOpConstructCooperativeMatrixNV;
 1868|       |
 1869|    177|    if (type.isCoopMatKHR())
  ------------------
  |  Branch (1869:9): [True: 0, False: 177]
  ------------------
 1870|      0|        return EOpConstructCooperativeMatrixKHR;
 1871|       |
 1872|    177|    if (type.isCoopVecOrLongVector())
  ------------------
  |  Branch (1872:9): [True: 0, False: 177]
  ------------------
 1873|      0|        return EOpConstructCooperativeVectorNV;
 1874|       |
 1875|    177|    switch (type.getBasicType()) {
 1876|      0|    case EbtStruct:
  ------------------
  |  Branch (1876:5): [True: 0, False: 177]
  ------------------
 1877|      0|        op = EOpConstructStruct;
 1878|      0|        break;
 1879|      0|    case EbtSampler:
  ------------------
  |  Branch (1879:5): [True: 0, False: 177]
  ------------------
 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: 177]
  ------------------
 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|    131|    case EbtInt:
  ------------------
  |  Branch (1922:5): [True: 131, False: 46]
  ------------------
 1923|    131|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (1923:13): [True: 0, False: 131]
  ------------------
 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|    131|        } else {
 1951|    131|            switch(type.getVectorSize()) {
 1952|     82|            case 1: op = EOpConstructInt;   break;
  ------------------
  |  Branch (1952:13): [True: 82, False: 49]
  ------------------
 1953|      1|            case 2: op = EOpConstructIVec2; break;
  ------------------
  |  Branch (1953:13): [True: 1, False: 130]
  ------------------
 1954|     48|            case 3: op = EOpConstructIVec3; break;
  ------------------
  |  Branch (1954:13): [True: 48, False: 83]
  ------------------
 1955|      0|            case 4: op = EOpConstructIVec4; break;
  ------------------
  |  Branch (1955:13): [True: 0, False: 131]
  ------------------
 1956|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (1956:13): [True: 0, False: 131]
  ------------------
 1957|    131|            }
 1958|    131|        }
 1959|    131|        break;
 1960|    131|    case EbtUint:
  ------------------
  |  Branch (1960:5): [True: 46, False: 131]
  ------------------
 1961|     46|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (1961:13): [True: 0, False: 46]
  ------------------
 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|     46|        } else {
 1989|     46|            switch(type.getVectorSize()) {
 1990|      0|            case 1: op = EOpConstructUint;  break;
  ------------------
  |  Branch (1990:13): [True: 0, False: 46]
  ------------------
 1991|      4|            case 2: op = EOpConstructUVec2; break;
  ------------------
  |  Branch (1991:13): [True: 4, False: 42]
  ------------------
 1992|     42|            case 3: op = EOpConstructUVec3; break;
  ------------------
  |  Branch (1992:13): [True: 42, False: 4]
  ------------------
 1993|      0|            case 4: op = EOpConstructUVec4; break;
  ------------------
  |  Branch (1993:13): [True: 0, False: 46]
  ------------------
 1994|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (1994:13): [True: 0, False: 46]
  ------------------
 1995|     46|            }
 1996|     46|        }
 1997|     46|        break;
 1998|     46|    case EbtBool:
  ------------------
  |  Branch (1998:5): [True: 0, False: 177]
  ------------------
 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: 177]
  ------------------
 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: 177]
  ------------------
 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: 177]
  ------------------
 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: 177]
  ------------------
 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: 177]
  ------------------
 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: 177]
  ------------------
 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: 177]
  ------------------
 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: 177]
  ------------------
 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: 177]
  ------------------
 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: 177]
  ------------------
 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: 177]
  ------------------
 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: 177]
  ------------------
 2195|      0|        op = EOpConstructReference;
 2196|      0|        break;
 2197|       |
 2198|      0|    case EbtAccStruct:
  ------------------
  |  Branch (2198:5): [True: 0, False: 177]
  ------------------
 2199|      0|        op = EOpConstructAccStruct;
 2200|      0|        break;
 2201|      0|    default:
  ------------------
  |  Branch (2201:5): [True: 0, False: 177]
  ------------------
 2202|      0|        break;
 2203|    177|    }
 2204|       |
 2205|    177|    return op;
 2206|    177|}
_ZN7glslang13TIntermediate13growAggregateEP11TIntermNodeS2_:
 2216|  5.32k|{
 2217|  5.32k|    if (left == nullptr && right == nullptr)
  ------------------
  |  Branch (2217:9): [True: 5.21k, False: 105]
  |  Branch (2217:28): [True: 5.14k, False: 71]
  ------------------
 2218|  5.14k|        return nullptr;
 2219|       |
 2220|    176|    TIntermAggregate* aggNode = nullptr;
 2221|    176|    if (left != nullptr)
  ------------------
  |  Branch (2221:9): [True: 105, False: 71]
  ------------------
 2222|    105|        aggNode = left->getAsAggregate();
 2223|    176|    if (aggNode == nullptr || aggNode->getOp() != EOpNull) {
  ------------------
  |  Branch (2223:9): [True: 116, False: 60]
  |  Branch (2223:31): [True: 0, False: 60]
  ------------------
 2224|    116|        aggNode = new TIntermAggregate;
 2225|    116|        if (left != nullptr)
  ------------------
  |  Branch (2225:13): [True: 45, False: 71]
  ------------------
 2226|     45|            aggNode->getSequence().push_back(left);
 2227|    116|    }
 2228|       |
 2229|    176|    if (right != nullptr)
  ------------------
  |  Branch (2229:9): [True: 176, False: 0]
  ------------------
 2230|    176|        aggNode->getSequence().push_back(right);
 2231|       |
 2232|    176|    return aggNode;
 2233|  5.32k|}
_ZN7glslang13TIntermediate13growAggregateEP11TIntermNodeS2_RKNS_10TSourceLocE:
 2236|  5.23k|{
 2237|  5.23k|    TIntermAggregate* aggNode = growAggregate(left, right);
 2238|  5.23k|    if (aggNode)
  ------------------
  |  Branch (2238:9): [True: 90, False: 5.14k]
  ------------------
 2239|     90|        aggNode->setLoc(loc);
 2240|       |
 2241|  5.23k|    return aggNode;
 2242|  5.23k|}
_ZN7glslang13TIntermediate13makeAggregateEP11TIntermNode:
 2284|      4|{
 2285|      4|    if (node == nullptr)
  ------------------
  |  Branch (2285:9): [True: 0, False: 4]
  ------------------
 2286|      0|        return nullptr;
 2287|       |
 2288|      4|    TIntermAggregate* aggNode = new TIntermAggregate;
 2289|      4|    aggNode->getSequence().push_back(node);
 2290|      4|    aggNode->setLoc(node->getLoc());
 2291|       |
 2292|      4|    return aggNode;
 2293|      4|}
_ZN7glslang13TIntermediate13makeAggregateERKNS_10TSourceLocE:
 2311|      1|{
 2312|      1|    TIntermAggregate* aggNode = new TIntermAggregate;
 2313|      1|    aggNode->setLoc(loc);
 2314|       |
 2315|      1|    return aggNode;
 2316|      1|}
_ZN7glslang13TIntermediate12addSelectionEPNS_12TIntermTypedES2_S2_RKNS_10TSourceLocE:
 2378|      4|{
 2379|       |    // If it's void, go to the if-then-else selection()
 2380|      4|    if (trueBlock->getBasicType() == EbtVoid && falseBlock->getBasicType() == EbtVoid) {
  ------------------
  |  Branch (2380:9): [True: 0, False: 4]
  |  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|      4|    auto children = addPairConversion(EOpSequence, trueBlock, falseBlock);
 2393|      4|    trueBlock = std::get<0>(children);
 2394|      4|    falseBlock = std::get<1>(children);
 2395|       |
 2396|      4|    if (trueBlock == nullptr || falseBlock == nullptr ||
  ------------------
  |  Branch (2396:9): [True: 0, False: 4]
  |  Branch (2396:33): [True: 0, False: 4]
  ------------------
 2397|      4|        trueBlock->getBasicType() == EbtString || falseBlock->getBasicType() == EbtString)
  ------------------
  |  Branch (2397:9): [True: 0, False: 4]
  |  Branch (2397:51): [True: 0, False: 4]
  ------------------
 2398|      0|        return nullptr;
 2399|       |
 2400|       |    // Handle a vector condition as a mix
 2401|      4|    if (!cond->getType().isScalarOrVec1()) {
  ------------------
  |  Branch (2401:9): [True: 1, False: 3]
  ------------------
 2402|      1|        TType targetVectorType(trueBlock->getType().getBasicType(), EvqTemporary,
 2403|      1|                               cond->getType().getVectorSize());
 2404|       |        // smear true/false operands as needed
 2405|      1|        trueBlock = addUniShapeConversion(EOpMix, targetVectorType, trueBlock);
 2406|      1|        falseBlock = addUniShapeConversion(EOpMix, targetVectorType, falseBlock);
 2407|       |
 2408|       |        // After conversion, types have to match.
 2409|      1|        if (falseBlock->getType() != trueBlock->getType())
  ------------------
  |  Branch (2409:13): [True: 0, False: 1]
  ------------------
 2410|      0|            return nullptr;
 2411|       |
 2412|       |        // make the mix operation
 2413|      1|        TIntermAggregate* mix = makeAggregate(loc);
 2414|      1|        mix = growAggregate(mix, falseBlock);
 2415|      1|        mix = growAggregate(mix, trueBlock);
 2416|      1|        mix = growAggregate(mix, cond);
 2417|      1|        mix->setType(targetVectorType);
 2418|      1|        mix->setOp(EOpMix);
 2419|       |
 2420|      1|        return mix;
 2421|      1|    }
 2422|       |
 2423|       |    // Now have a scalar condition...
 2424|       |
 2425|       |    // Convert true and false expressions to matching types
 2426|      3|    addBiShapeConversion(EOpMix, trueBlock, falseBlock);
 2427|       |
 2428|       |    // After conversion, types have to match.
 2429|      3|    if (falseBlock->getType() != trueBlock->getType())
  ------------------
  |  Branch (2429:9): [True: 0, False: 3]
  ------------------
 2430|      0|        return nullptr;
 2431|       |
 2432|       |    // Eliminate the selection when the condition is a scalar and all operands are constant.
 2433|      3|    if (cond->getAsConstantUnion() && trueBlock->getAsConstantUnion() && falseBlock->getAsConstantUnion()) {
  ------------------
  |  Branch (2433:9): [True: 3, False: 0]
  |  Branch (2433:39): [True: 3, False: 0]
  |  Branch (2433:74): [True: 1, False: 2]
  ------------------
 2434|      1|        if (cond->getAsConstantUnion()->getConstArray()[0].getBConst())
  ------------------
  |  Branch (2434:13): [True: 1, False: 0]
  ------------------
 2435|      1|            return trueBlock;
 2436|      0|        else
 2437|      0|            return falseBlock;
 2438|      1|    }
 2439|       |
 2440|       |    //
 2441|       |    // Make a selection node.
 2442|       |    //
 2443|      2|    TIntermSelection* node = new TIntermSelection(cond, trueBlock, falseBlock, trueBlock->getType());
 2444|      2|    node->setLoc(loc);
 2445|      2|    node->getQualifier().precision = std::max(trueBlock->getQualifier().precision, falseBlock->getQualifier().precision);
 2446|       |
 2447|      2|    if ((cond->getQualifier().isConstant() && specConstantPropagates(*trueBlock, *falseBlock)) ||
  ------------------
  |  Branch (2447:10): [True: 2, False: 0]
  |  Branch (2447:47): [True: 0, False: 2]
  ------------------
 2448|      2|        (cond->getQualifier().isSpecConstant() && trueBlock->getQualifier().isConstant() &&
  ------------------
  |  Branch (2448:10): [True: 0, False: 2]
  |  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|      2|    else
 2452|      2|        node->getQualifier().makeTemporary();
 2453|       |
 2454|      2|    if (getSource() == EShSourceHlsl)
  ------------------
  |  Branch (2454:9): [True: 2, False: 0]
  ------------------
 2455|      2|        node->setNoShortCircuit();
 2456|       |
 2457|      2|    return node;
 2458|      3|}
_ZNK7glslang13TIntermediate16addConstantUnionERKNS_16TConstUnionArrayERKNS_5TTypeERKNS_10TSourceLocEb:
 2467|  3.69k|{
 2468|  3.69k|    TIntermConstantUnion* node = new TIntermConstantUnion(unionArray, t);
 2469|  3.69k|    node->getQualifier().storage = EvqConst;
 2470|  3.69k|    node->setLoc(loc);
 2471|  3.69k|    if (literal)
  ------------------
  |  Branch (2471:9): [True: 3.56k, False: 125]
  ------------------
 2472|  3.56k|        node->setLiteral();
 2473|       |
 2474|  3.69k|    return node;
 2475|  3.69k|}
_ZNK7glslang13TIntermediate16addConstantUnionEiRKNS_10TSourceLocEb:
 2509|  3.13k|{
 2510|  3.13k|    TConstUnionArray unionArray(1);
 2511|  3.13k|    unionArray[0].setIConst(i);
 2512|       |
 2513|  3.13k|    return addConstantUnion(unionArray, TType(EbtInt, EvqConst), loc, literal);
 2514|  3.13k|}
_ZNK7glslang13TIntermediate16addConstantUnionEjRKNS_10TSourceLocEb:
 2517|    433|{
 2518|    433|    TConstUnionArray unionArray(1);
 2519|    433|    unionArray[0].setUConst(u);
 2520|       |
 2521|    433|    return addConstantUnion(unionArray, TType(EbtUint, EvqConst), loc, literal);
 2522|    433|}
_ZN7glslang13TIntermediate21addSymbolLinkageNodesERPNS_16TIntermAggregateE11EShLanguageRNS_12TSymbolTableE:
 2760|     71|{
 2761|       |    // Add top-level nodes for declarations that must be checked cross
 2762|       |    // compilation unit by a linker, yet might not have been referenced
 2763|       |    // by the AST.
 2764|       |    //
 2765|       |    // Almost entirely, translation of symbols is driven by what's present
 2766|       |    // in the AST traversal, not by translating the symbol table.
 2767|       |    //
 2768|       |    // However, there are some special cases:
 2769|       |    //  - From the specification: "Special built-in inputs gl_VertexID and
 2770|       |    //    gl_InstanceID are also considered active vertex attributes."
 2771|       |    //  - Linker-based type mismatch error reporting needs to see all
 2772|       |    //    uniforms/ins/outs variables and blocks.
 2773|       |    //  - ftransform() can make gl_Vertex and gl_ModelViewProjectionMatrix active.
 2774|       |    //
 2775|       |
 2776|       |    // if (ftransformUsed) {
 2777|       |        // TODO: 1.1 lowering functionality: track ftransform() usage
 2778|       |    //    addSymbolLinkageNode(root, symbolTable, "gl_Vertex");
 2779|       |    //    addSymbolLinkageNode(root, symbolTable, "gl_ModelViewProjectionMatrix");
 2780|       |    //}
 2781|       |
 2782|     71|    if (language == EShLangVertex) {
  ------------------
  |  Branch (2782:9): [True: 71, False: 0]
  ------------------
 2783|     71|        addSymbolLinkageNode(linkage, symbolTable, "gl_VertexID");
 2784|     71|        if ((version < 140 && requestedExtensions.find(E_GL_EXT_draw_instanced) != requestedExtensions.end()) || version >= 140)
  ------------------
  |  Branch (2784:13): [True: 32, False: 39]
  |  Branch (2784:14): [True: 39, False: 32]
  |  Branch (2784:31): [True: 0, False: 39]
  |  Branch (2784:114): [True: 32, False: 39]
  ------------------
 2785|     32|            addSymbolLinkageNode(linkage, symbolTable, "gl_InstanceID");
 2786|     71|    }
 2787|       |
 2788|       |    // Add a child to the root node for the linker objects
 2789|     71|    linkage->setOperator(EOpLinkerObjects);
 2790|     71|    treeRoot = growAggregate(treeRoot, linkage);
 2791|     71|}
_ZN7glslang13TIntermediate20addSymbolLinkageNodeERPNS_16TIntermAggregateERNS_12TSymbolTableERKNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 2799|    103|{
 2800|    103|    TSymbol* symbol = symbolTable.find(name);
 2801|    103|    if (symbol)
  ------------------
  |  Branch (2801:9): [True: 12, False: 91]
  ------------------
 2802|     12|        addSymbolLinkageNode(linkage, *symbol->getAsVariable());
 2803|    103|}
_ZN7glslang13TIntermediate20addSymbolLinkageNodeERPNS_16TIntermAggregateERKNS_7TSymbolE:
 2806|     12|{
 2807|     12|    const TVariable* variable = symbol.getAsVariable();
 2808|     12|    if (! variable) {
  ------------------
  |  Branch (2808:9): [True: 0, False: 12]
  ------------------
 2809|       |        // This must be a member of an anonymous block, and we need to add the whole block
 2810|      0|        const TAnonMember* anon = symbol.getAsAnonMember();
 2811|      0|        variable = &anon->getAnonContainer();
 2812|      0|    }
 2813|     12|    TIntermSymbol* node = addSymbol(*variable);
 2814|     12|    linkage = growAggregate(linkage, node);
 2815|     12|}
_ZNK7glslang15TIntermOperator13isConstructorEv:
 3063|    100|{
 3064|    100|    return op > EOpConstructGuardStart && op < EOpConstructGuardEnd;
  ------------------
  |  Branch (3064:12): [True: 100, False: 0]
  |  Branch (3064:43): [True: 100, False: 0]
  ------------------
 3065|    100|}
_ZN7glslang13TIntermediate7promoteEPNS_15TIntermOperatorE:
 3075|     13|{
 3076|     13|    if (node == nullptr)
  ------------------
  |  Branch (3076:9): [True: 0, False: 13]
  ------------------
 3077|      0|        return false;
 3078|       |
 3079|     13|    if (node->getAsUnaryNode())
  ------------------
  |  Branch (3079:9): [True: 11, False: 2]
  ------------------
 3080|     11|        return promoteUnary(*node->getAsUnaryNode());
 3081|       |
 3082|      2|    if (node->getAsBinaryNode())
  ------------------
  |  Branch (3082:9): [True: 2, False: 0]
  ------------------
 3083|      2|        return promoteBinary(*node->getAsBinaryNode());
 3084|       |
 3085|      0|    if (node->getAsAggregate())
  ------------------
  |  Branch (3085:9): [True: 0, False: 0]
  ------------------
 3086|      0|        return promoteAggregate(*node->getAsAggregate());
 3087|       |
 3088|      0|    return false;
 3089|      0|}
_ZN7glslang13TIntermediate12promoteUnaryERNS_12TIntermUnaryE:
 3095|     11|{
 3096|     11|    const TOperator op    = node.getOp();
 3097|     11|    TIntermTyped* operand = node.getOperand();
 3098|       |
 3099|     11|    switch (op) {
 3100|      5|    case EOpLogicalNot:
  ------------------
  |  Branch (3100:5): [True: 5, False: 6]
  ------------------
 3101|       |        // Convert operand to a boolean type
 3102|      5|        if (operand->getBasicType() != EbtBool) {
  ------------------
  |  Branch (3102:13): [True: 4, False: 1]
  ------------------
 3103|       |            // Add constructor to boolean type. If that fails, we can't do it, so return false.
 3104|      4|            TIntermTyped* converted = addConversion(op, TType(EbtBool), operand);
 3105|      4|            if (converted == nullptr)
  ------------------
  |  Branch (3105:17): [True: 0, False: 4]
  ------------------
 3106|      0|                return false;
 3107|       |
 3108|       |            // Use the result of converting the node to a bool.
 3109|      4|            node.setOperand(operand = converted); // also updates stack variable
 3110|      4|        }
 3111|      5|        break;
 3112|      5|    case EOpBitwiseNot:
  ------------------
  |  Branch (3112:5): [True: 0, False: 11]
  ------------------
 3113|      0|        if (!isTypeInt(operand->getBasicType()))
  ------------------
  |  Branch (3113:13): [True: 0, False: 0]
  ------------------
 3114|      0|            return false;
 3115|      0|        break;
 3116|      6|    case EOpNegative:
  ------------------
  |  Branch (3116:5): [True: 6, False: 5]
  ------------------
 3117|      6|    case EOpPostIncrement:
  ------------------
  |  Branch (3117:5): [True: 0, False: 11]
  ------------------
 3118|      6|    case EOpPostDecrement:
  ------------------
  |  Branch (3118:5): [True: 0, False: 11]
  ------------------
 3119|      6|    case EOpPreIncrement:
  ------------------
  |  Branch (3119:5): [True: 0, False: 11]
  ------------------
 3120|      6|    case EOpPreDecrement:
  ------------------
  |  Branch (3120:5): [True: 0, False: 11]
  ------------------
 3121|      6|        if (!isTypeInt(operand->getBasicType()) &&
  ------------------
  |  Branch (3121:13): [True: 0, False: 6]
  ------------------
 3122|      0|            operand->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (3122:13): [True: 0, False: 0]
  ------------------
 3123|      0|            operand->getBasicType() != EbtFloat16 &&
  ------------------
  |  Branch (3123:13): [True: 0, False: 0]
  ------------------
 3124|      0|            operand->getBasicType() != EbtDouble)
  ------------------
  |  Branch (3124:13): [True: 0, False: 0]
  ------------------
 3125|       |
 3126|      0|            return false;
 3127|      6|        break;
 3128|      6|    default:
  ------------------
  |  Branch (3128:5): [True: 0, False: 11]
  ------------------
 3129|       |        // HLSL uses this path for initial function signature finding for built-ins
 3130|       |        // taking a single argument, which generally don't participate in
 3131|       |        // operator-based type promotion (type conversion will occur later).
 3132|       |        // For now, scalar argument cases are relying on the setType() call below.
 3133|      0|        if (getSource() == EShSourceHlsl)
  ------------------
  |  Branch (3133:13): [True: 0, False: 0]
  ------------------
 3134|      0|            break;
 3135|       |
 3136|       |        // GLSL only allows integer arguments for the cases identified above in the
 3137|       |        // case statements.
 3138|      0|        if (operand->getBasicType() != EbtFloat)
  ------------------
  |  Branch (3138:13): [True: 0, False: 0]
  ------------------
 3139|      0|            return false;
 3140|     11|    }
 3141|       |
 3142|     11|    node.setType(operand->getType());
 3143|     11|    node.getWritableType().getQualifier().makeTemporary();
 3144|       |
 3145|     11|    return true;
 3146|     11|}
_ZN7glslang12TIntermUnary15updatePrecisionEv:
 3150|     12|{
 3151|     12|    if (getBasicType() == EbtInt || getBasicType() == EbtUint ||
  ------------------
  |  Branch (3151:9): [True: 7, False: 5]
  |  Branch (3151:37): [True: 0, False: 5]
  ------------------
 3152|      7|        getBasicType() == EbtFloat) {
  ------------------
  |  Branch (3152:9): [True: 0, False: 5]
  ------------------
 3153|      7|        if (operand->getQualifier().precision > getQualifier().precision)
  ------------------
  |  Branch (3153:13): [True: 0, False: 7]
  ------------------
 3154|      0|            getQualifier().precision = operand->getQualifier().precision;
 3155|      7|    }
 3156|     12|}
_ZN7glslang13TIntermediate13promoteBinaryERNS_13TIntermBinaryE:
 3162|      2|{
 3163|      2|    TOperator     op    = node.getOp();
 3164|      2|    TIntermTyped* left  = node.getLeft();
 3165|      2|    TIntermTyped* right = node.getRight();
 3166|       |
 3167|       |    // Arrays and structures have to be exact matches.
 3168|      2|    if ((left->isArray() || right->isArray() || left->getBasicType() == EbtStruct || right->getBasicType() == EbtStruct)
  ------------------
  |  Branch (3168:10): [True: 0, False: 2]
  |  Branch (3168:29): [True: 0, False: 2]
  |  Branch (3168:49): [True: 0, False: 2]
  |  Branch (3168:86): [True: 0, False: 2]
  ------------------
 3169|      0|        && left->getType() != right->getType())
  ------------------
  |  Branch (3169:12): [True: 0, False: 0]
  ------------------
 3170|      0|        return false;
 3171|       |
 3172|       |    // Base assumption:  just make the type the same as the left
 3173|       |    // operand.  Only deviations from this will be coded.
 3174|      2|    node.setType(left->getType());
 3175|      2|    node.getWritableType().getQualifier().clear();
 3176|       |
 3177|       |    // Composite and opaque types don't having pending operator changes, e.g.,
 3178|       |    // array, structure, and samplers.  Just establish final type and correctness.
 3179|      2|    if (left->isArray() || left->getBasicType() == EbtStruct || left->getBasicType() == EbtSampler) {
  ------------------
  |  Branch (3179:9): [True: 0, False: 2]
  |  Branch (3179:28): [True: 0, False: 2]
  |  Branch (3179:65): [True: 0, False: 2]
  ------------------
 3180|      0|        switch (op) {
 3181|      0|        case EOpEqual:
  ------------------
  |  Branch (3181:9): [True: 0, False: 0]
  ------------------
 3182|      0|        case EOpNotEqual:
  ------------------
  |  Branch (3182:9): [True: 0, False: 0]
  ------------------
 3183|      0|            if (left->getBasicType() == EbtSampler) {
  ------------------
  |  Branch (3183:17): [True: 0, False: 0]
  ------------------
 3184|       |                // can't compare samplers
 3185|      0|                return false;
 3186|      0|            } else {
 3187|       |                // Promote to conditional
 3188|      0|                node.setType(TType(EbtBool));
 3189|      0|            }
 3190|       |
 3191|      0|            return true;
 3192|       |
 3193|      0|        case EOpAssign:
  ------------------
  |  Branch (3193:9): [True: 0, False: 0]
  ------------------
 3194|       |            // Keep type from above
 3195|       |
 3196|      0|            return true;
 3197|       |
 3198|      0|        default:
  ------------------
  |  Branch (3198:9): [True: 0, False: 0]
  ------------------
 3199|      0|            return false;
 3200|      0|        }
 3201|      0|    }
 3202|       |
 3203|       |    //
 3204|       |    // We now have only scalars, vectors, and matrices to worry about.
 3205|       |    //
 3206|       |
 3207|       |    // HLSL implicitly promotes bool -> int for numeric operations.
 3208|       |    // (Implicit conversions to make the operands match each other's types were already done.)
 3209|      2|    if (getSource() == EShSourceHlsl &&
  ------------------
  |  Branch (3209:9): [True: 2, False: 0]
  ------------------
 3210|      2|        (left->getBasicType() == EbtBool || right->getBasicType() == EbtBool)) {
  ------------------
  |  Branch (3210:10): [True: 0, False: 2]
  |  Branch (3210:45): [True: 0, False: 2]
  ------------------
 3211|      0|        switch (op) {
 3212|      0|        case EOpLessThan:
  ------------------
  |  Branch (3212:9): [True: 0, False: 0]
  ------------------
 3213|      0|        case EOpGreaterThan:
  ------------------
  |  Branch (3213:9): [True: 0, False: 0]
  ------------------
 3214|      0|        case EOpLessThanEqual:
  ------------------
  |  Branch (3214:9): [True: 0, False: 0]
  ------------------
 3215|      0|        case EOpGreaterThanEqual:
  ------------------
  |  Branch (3215:9): [True: 0, False: 0]
  ------------------
 3216|       |
 3217|      0|        case EOpRightShift:
  ------------------
  |  Branch (3217:9): [True: 0, False: 0]
  ------------------
 3218|      0|        case EOpLeftShift:
  ------------------
  |  Branch (3218:9): [True: 0, False: 0]
  ------------------
 3219|       |
 3220|      0|        case EOpMod:
  ------------------
  |  Branch (3220:9): [True: 0, False: 0]
  ------------------
 3221|       |
 3222|      0|        case EOpAnd:
  ------------------
  |  Branch (3222:9): [True: 0, False: 0]
  ------------------
 3223|      0|        case EOpInclusiveOr:
  ------------------
  |  Branch (3223:9): [True: 0, False: 0]
  ------------------
 3224|      0|        case EOpExclusiveOr:
  ------------------
  |  Branch (3224:9): [True: 0, False: 0]
  ------------------
 3225|       |
 3226|      0|        case EOpAdd:
  ------------------
  |  Branch (3226:9): [True: 0, False: 0]
  ------------------
 3227|      0|        case EOpSub:
  ------------------
  |  Branch (3227:9): [True: 0, False: 0]
  ------------------
 3228|      0|        case EOpDiv:
  ------------------
  |  Branch (3228:9): [True: 0, False: 0]
  ------------------
 3229|      0|        case EOpMul:
  ------------------
  |  Branch (3229:9): [True: 0, False: 0]
  ------------------
 3230|      0|            if (left->getBasicType() == EbtBool)
  ------------------
  |  Branch (3230:17): [True: 0, False: 0]
  ------------------
 3231|      0|                left  = createConversion(EbtInt, left);
 3232|      0|            if (right->getBasicType() == EbtBool)
  ------------------
  |  Branch (3232:17): [True: 0, False: 0]
  ------------------
 3233|      0|                right = createConversion(EbtInt, right);
 3234|      0|            if (left == nullptr || right == nullptr)
  ------------------
  |  Branch (3234:17): [True: 0, False: 0]
  |  Branch (3234:36): [True: 0, False: 0]
  ------------------
 3235|      0|                return false;
 3236|      0|            node.setLeft(left);
 3237|      0|            node.setRight(right);
 3238|       |
 3239|       |            // Update the original base assumption on result type..
 3240|      0|            node.setType(left->getType());
 3241|      0|            node.getWritableType().getQualifier().clear();
 3242|       |
 3243|      0|            break;
 3244|       |
 3245|      0|        default:
  ------------------
  |  Branch (3245:9): [True: 0, False: 0]
  ------------------
 3246|      0|            break;
 3247|      0|        }
 3248|      0|    }
 3249|       |
 3250|       |    // Do general type checks against individual operands (comparing left and right is coming up, checking mixed shapes after that)
 3251|      2|    switch (op) {
 3252|      0|    case EOpLessThan:
  ------------------
  |  Branch (3252:5): [True: 0, False: 2]
  ------------------
 3253|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (3253:5): [True: 0, False: 2]
  ------------------
 3254|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (3254:5): [True: 0, False: 2]
  ------------------
 3255|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (3255:5): [True: 0, False: 2]
  ------------------
 3256|       |        // Relational comparisons need numeric types and will promote to scalar Boolean.
 3257|      0|        if (left->getBasicType() == EbtBool)
  ------------------
  |  Branch (3257:13): [True: 0, False: 0]
  ------------------
 3258|      0|            return false;
 3259|       |
 3260|      0|        node.setType(TType(EbtBool, EvqTemporary, left->getVectorSize()));
 3261|      0|        break;
 3262|       |
 3263|      0|    case EOpEqual:
  ------------------
  |  Branch (3263:5): [True: 0, False: 2]
  ------------------
 3264|      0|    case EOpNotEqual:
  ------------------
  |  Branch (3264:5): [True: 0, False: 2]
  ------------------
 3265|      0|        if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (3265:13): [True: 0, False: 0]
  ------------------
 3266|      0|            const int resultWidth = std::max(left->getVectorSize(), right->getVectorSize());
 3267|       |
 3268|       |            // In HLSL, == or != on vectors means component-wise comparison.
 3269|      0|            if (resultWidth > 1) {
  ------------------
  |  Branch (3269:17): [True: 0, False: 0]
  ------------------
 3270|      0|                op = (op == EOpEqual) ? EOpVectorEqual : EOpVectorNotEqual;
  ------------------
  |  Branch (3270:22): [True: 0, False: 0]
  ------------------
 3271|      0|                node.setOp(op);
 3272|      0|            }
 3273|       |
 3274|      0|            node.setType(TType(EbtBool, EvqTemporary, resultWidth));
 3275|      0|        } else {
 3276|       |            // All the above comparisons result in a bool (but not the vector compares)
 3277|      0|            node.setType(TType(EbtBool));
 3278|      0|        }
 3279|      0|        break;
 3280|       |
 3281|      0|    case EOpLogicalAnd:
  ------------------
  |  Branch (3281:5): [True: 0, False: 2]
  ------------------
 3282|      0|    case EOpLogicalOr:
  ------------------
  |  Branch (3282:5): [True: 0, False: 2]
  ------------------
 3283|      0|    case EOpLogicalXor:
  ------------------
  |  Branch (3283:5): [True: 0, False: 2]
  ------------------
 3284|       |        // logical ops operate only on Booleans or vectors of Booleans.
 3285|      0|        if (left->getBasicType() != EbtBool || left->isMatrix())
  ------------------
  |  Branch (3285:13): [True: 0, False: 0]
  |  Branch (3285:48): [True: 0, False: 0]
  ------------------
 3286|      0|                return false;
 3287|       |
 3288|      0|        if (getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (3288:13): [True: 0, False: 0]
  ------------------
 3289|       |            // logical ops operate only on scalar Booleans and will promote to scalar Boolean.
 3290|      0|            if (left->isVector())
  ------------------
  |  Branch (3290:17): [True: 0, False: 0]
  ------------------
 3291|      0|                return false;
 3292|      0|        }
 3293|       |
 3294|      0|        node.setType(TType(EbtBool, EvqTemporary, left->getVectorSize()));
 3295|      0|        break;
 3296|       |
 3297|      0|    case EOpRightShift:
  ------------------
  |  Branch (3297:5): [True: 0, False: 2]
  ------------------
 3298|      0|    case EOpLeftShift:
  ------------------
  |  Branch (3298:5): [True: 0, False: 2]
  ------------------
 3299|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (3299:5): [True: 0, False: 2]
  ------------------
 3300|      0|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (3300:5): [True: 0, False: 2]
  ------------------
 3301|       |
 3302|      0|    case EOpMod:
  ------------------
  |  Branch (3302:5): [True: 0, False: 2]
  ------------------
 3303|      0|    case EOpModAssign:
  ------------------
  |  Branch (3303:5): [True: 0, False: 2]
  ------------------
 3304|       |
 3305|      0|    case EOpAnd:
  ------------------
  |  Branch (3305:5): [True: 0, False: 2]
  ------------------
 3306|      0|    case EOpInclusiveOr:
  ------------------
  |  Branch (3306:5): [True: 0, False: 2]
  ------------------
 3307|      0|    case EOpExclusiveOr:
  ------------------
  |  Branch (3307:5): [True: 0, False: 2]
  ------------------
 3308|      0|    case EOpAndAssign:
  ------------------
  |  Branch (3308:5): [True: 0, False: 2]
  ------------------
 3309|      0|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (3309:5): [True: 0, False: 2]
  ------------------
 3310|      0|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (3310:5): [True: 0, False: 2]
  ------------------
 3311|      0|        if (getSource() == EShSourceHlsl)
  ------------------
  |  Branch (3311:13): [True: 0, False: 0]
  ------------------
 3312|      0|            break;
 3313|       |
 3314|       |        // Check for integer-only operands.
 3315|      0|        if (!isTypeInt(left->getBasicType()) && !isTypeInt(right->getBasicType()))
  ------------------
  |  Branch (3315:13): [True: 0, False: 0]
  |  Branch (3315:49): [True: 0, False: 0]
  ------------------
 3316|      0|            return false;
 3317|      0|        if (left->isMatrix() || right->isMatrix())
  ------------------
  |  Branch (3317:13): [True: 0, False: 0]
  |  Branch (3317:33): [True: 0, False: 0]
  ------------------
 3318|      0|            return false;
 3319|       |
 3320|      0|        break;
 3321|       |
 3322|      1|    case EOpAdd:
  ------------------
  |  Branch (3322:5): [True: 1, False: 1]
  ------------------
 3323|      2|    case EOpSub:
  ------------------
  |  Branch (3323:5): [True: 1, False: 1]
  ------------------
 3324|      2|    case EOpDiv:
  ------------------
  |  Branch (3324:5): [True: 0, False: 2]
  ------------------
 3325|      2|    case EOpMul:
  ------------------
  |  Branch (3325:5): [True: 0, False: 2]
  ------------------
 3326|      2|    case EOpAddAssign:
  ------------------
  |  Branch (3326:5): [True: 0, False: 2]
  ------------------
 3327|      2|    case EOpSubAssign:
  ------------------
  |  Branch (3327:5): [True: 0, False: 2]
  ------------------
 3328|      2|    case EOpMulAssign:
  ------------------
  |  Branch (3328:5): [True: 0, False: 2]
  ------------------
 3329|      2|    case EOpDivAssign:
  ------------------
  |  Branch (3329:5): [True: 0, False: 2]
  ------------------
 3330|       |        // check for non-Boolean operands
 3331|      2|        if (left->getBasicType() == EbtBool || right->getBasicType() == EbtBool)
  ------------------
  |  Branch (3331:13): [True: 0, False: 2]
  |  Branch (3331:48): [True: 0, False: 2]
  ------------------
 3332|      0|            return false;
 3333|      2|        break;
 3334|       |
 3335|      2|    default:
  ------------------
  |  Branch (3335:5): [True: 0, False: 2]
  ------------------
 3336|      0|        break;
 3337|      2|    }
 3338|       |
 3339|       |    // Compare left and right, and finish with the cases where the operand types must match
 3340|      2|    switch (op) {
 3341|      0|    case EOpLessThan:
  ------------------
  |  Branch (3341:5): [True: 0, False: 2]
  ------------------
 3342|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (3342:5): [True: 0, False: 2]
  ------------------
 3343|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (3343:5): [True: 0, False: 2]
  ------------------
 3344|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (3344:5): [True: 0, False: 2]
  ------------------
 3345|       |
 3346|      0|    case EOpEqual:
  ------------------
  |  Branch (3346:5): [True: 0, False: 2]
  ------------------
 3347|      0|    case EOpNotEqual:
  ------------------
  |  Branch (3347:5): [True: 0, False: 2]
  ------------------
 3348|      0|    case EOpVectorEqual:
  ------------------
  |  Branch (3348:5): [True: 0, False: 2]
  ------------------
 3349|      0|    case EOpVectorNotEqual:
  ------------------
  |  Branch (3349:5): [True: 0, False: 2]
  ------------------
 3350|       |
 3351|      0|    case EOpLogicalAnd:
  ------------------
  |  Branch (3351:5): [True: 0, False: 2]
  ------------------
 3352|      0|    case EOpLogicalOr:
  ------------------
  |  Branch (3352:5): [True: 0, False: 2]
  ------------------
 3353|      0|    case EOpLogicalXor:
  ------------------
  |  Branch (3353:5): [True: 0, False: 2]
  ------------------
 3354|      0|        return left->getType() == right->getType();
 3355|       |
 3356|      0|    case EOpMod:
  ------------------
  |  Branch (3356:5): [True: 0, False: 2]
  ------------------
 3357|      0|    case EOpModAssign:
  ------------------
  |  Branch (3357:5): [True: 0, False: 2]
  ------------------
 3358|       |
 3359|      0|    case EOpAnd:
  ------------------
  |  Branch (3359:5): [True: 0, False: 2]
  ------------------
 3360|      0|    case EOpInclusiveOr:
  ------------------
  |  Branch (3360:5): [True: 0, False: 2]
  ------------------
 3361|      0|    case EOpExclusiveOr:
  ------------------
  |  Branch (3361:5): [True: 0, False: 2]
  ------------------
 3362|      0|    case EOpAndAssign:
  ------------------
  |  Branch (3362:5): [True: 0, False: 2]
  ------------------
 3363|      0|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (3363:5): [True: 0, False: 2]
  ------------------
 3364|      0|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (3364:5): [True: 0, False: 2]
  ------------------
 3365|       |
 3366|      1|    case EOpAdd:
  ------------------
  |  Branch (3366:5): [True: 1, False: 1]
  ------------------
 3367|      2|    case EOpSub:
  ------------------
  |  Branch (3367:5): [True: 1, False: 1]
  ------------------
 3368|      2|    case EOpDiv:
  ------------------
  |  Branch (3368:5): [True: 0, False: 2]
  ------------------
 3369|       |
 3370|      2|    case EOpAddAssign:
  ------------------
  |  Branch (3370:5): [True: 0, False: 2]
  ------------------
 3371|      2|    case EOpSubAssign:
  ------------------
  |  Branch (3371:5): [True: 0, False: 2]
  ------------------
 3372|      2|    case EOpDivAssign:
  ------------------
  |  Branch (3372:5): [True: 0, False: 2]
  ------------------
 3373|       |        // Quick out in case the types do match
 3374|      2|        if (left->getType() == right->getType())
  ------------------
  |  Branch (3374:13): [True: 2, False: 0]
  ------------------
 3375|      2|            return true;
 3376|       |
 3377|      0|        [[fallthrough]];
 3378|       |
 3379|      0|    case EOpMul:
  ------------------
  |  Branch (3379:5): [True: 0, False: 2]
  ------------------
 3380|      0|    case EOpMulAssign:
  ------------------
  |  Branch (3380:5): [True: 0, False: 2]
  ------------------
 3381|       |        // At least the basic type has to match
 3382|      0|        if (left->getBasicType() != right->getBasicType())
  ------------------
  |  Branch (3382:13): [True: 0, False: 0]
  ------------------
 3383|      0|            return false;
 3384|      0|        break;
 3385|       |
 3386|      0|    default:
  ------------------
  |  Branch (3386:5): [True: 0, False: 2]
  ------------------
 3387|      0|        break;
 3388|      2|    }
 3389|       |
 3390|      0|    if (left->getType().isCoopMat() || right->getType().isCoopMat()) {
  ------------------
  |  Branch (3390:9): [True: 0, False: 0]
  |  Branch (3390:40): [True: 0, False: 0]
  ------------------
 3391|       |        // Operations on two cooperative matrices must have identical types
 3392|      0|        if (left->getType().isCoopMat() && right->getType().isCoopMat() &&
  ------------------
  |  Branch (3392:13): [True: 0, False: 0]
  |  Branch (3392:44): [True: 0, False: 0]
  ------------------
 3393|      0|            left->getType() != right->getType()) {
  ------------------
  |  Branch (3393:13): [True: 0, False: 0]
  ------------------
 3394|      0|            return false;
 3395|      0|        }
 3396|      0|        switch (op) {
 3397|      0|        case EOpMul:
  ------------------
  |  Branch (3397:9): [True: 0, False: 0]
  ------------------
 3398|      0|        case EOpMulAssign:
  ------------------
  |  Branch (3398:9): [True: 0, False: 0]
  ------------------
 3399|       |            // Mul not supported in NV_cooperative_matrix
 3400|      0|            if (left->getType().isCoopMatNV() && right->getType().isCoopMatNV()) {
  ------------------
  |  Branch (3400:17): [True: 0, False: 0]
  |  Branch (3400:50): [True: 0, False: 0]
  ------------------
 3401|      0|                return false;
 3402|      0|            }
 3403|       |            // NV_cooperative_matrix supports MulAssign is for mat*=scalar only.
 3404|       |            // KHR_cooperative_matrix supports it for mat*=mat as well.
 3405|      0|            if (op == EOpMulAssign && right->getType().isCoopMatNV()) {
  ------------------
  |  Branch (3405:17): [True: 0, False: 0]
  |  Branch (3405:39): [True: 0, False: 0]
  ------------------
 3406|      0|                return false;
 3407|      0|            }
 3408|       |            // Use MatrixTimesScalar if either operand is not a matrix. Otherwise use Mul.
 3409|      0|            if (!left->getType().isCoopMat() || !right->getType().isCoopMat()) {
  ------------------
  |  Branch (3409:17): [True: 0, False: 0]
  |  Branch (3409:49): [True: 0, False: 0]
  ------------------
 3410|      0|                node.setOp(op == EOpMulAssign ? EOpMatrixTimesScalarAssign : EOpMatrixTimesScalar);
  ------------------
  |  Branch (3410:28): [True: 0, False: 0]
  ------------------
 3411|      0|            }
 3412|       |            // In case of scalar*matrix, take the result type from the matrix.
 3413|      0|            if (right->getType().isCoopMat()) {
  ------------------
  |  Branch (3413:17): [True: 0, False: 0]
  ------------------
 3414|      0|                node.setType(right->getType());
 3415|      0|            }
 3416|      0|            return true;
 3417|      0|        case EOpAdd:
  ------------------
  |  Branch (3417:9): [True: 0, False: 0]
  ------------------
 3418|      0|        case EOpSub:
  ------------------
  |  Branch (3418:9): [True: 0, False: 0]
  ------------------
 3419|      0|        case EOpDiv:
  ------------------
  |  Branch (3419:9): [True: 0, False: 0]
  ------------------
 3420|      0|        case EOpAssign:
  ------------------
  |  Branch (3420:9): [True: 0, False: 0]
  ------------------
 3421|       |            // These require both to be cooperative matrices
 3422|      0|            if (!left->getType().isCoopMat() || !right->getType().isCoopMat()) {
  ------------------
  |  Branch (3422:17): [True: 0, False: 0]
  |  Branch (3422:49): [True: 0, False: 0]
  ------------------
 3423|      0|                return false;
 3424|      0|            }
 3425|      0|            return true;
 3426|      0|        default:
  ------------------
  |  Branch (3426:9): [True: 0, False: 0]
  ------------------
 3427|      0|            break;
 3428|      0|        }
 3429|      0|        return false;
 3430|      0|    }
 3431|       |
 3432|      0|    if (left->getType().isCoopVecNV() || right->getType().isCoopVecNV()) {
  ------------------
  |  Branch (3432:9): [True: 0, False: 0]
  |  Branch (3432:42): [True: 0, False: 0]
  ------------------
 3433|       |        // Operations on two cooperative vectors must have identical types
 3434|      0|        if (left->getType().isCoopVecNV() && right->getType().isCoopVecNV() &&
  ------------------
  |  Branch (3434:13): [True: 0, False: 0]
  |  Branch (3434:46): [True: 0, False: 0]
  ------------------
 3435|      0|            left->getType() != right->getType()) {
  ------------------
  |  Branch (3435:13): [True: 0, False: 0]
  ------------------
 3436|      0|            return false;
 3437|      0|        }
 3438|      0|        switch (op) {
 3439|      0|        case EOpMul:
  ------------------
  |  Branch (3439:9): [True: 0, False: 0]
  ------------------
 3440|      0|        case EOpMulAssign:
  ------------------
  |  Branch (3440:9): [True: 0, False: 0]
  ------------------
 3441|       |            // Use VectorTimesScalar if either operand is not a vector. Otherwise use Mul.
 3442|      0|            if (!left->getType().isCoopVecNV() || !right->getType().isCoopVecNV()) {
  ------------------
  |  Branch (3442:17): [True: 0, False: 0]
  |  Branch (3442:51): [True: 0, False: 0]
  ------------------
 3443|      0|                node.setOp(op == EOpMulAssign ? EOpVectorTimesScalarAssign : EOpVectorTimesScalar);
  ------------------
  |  Branch (3443:28): [True: 0, False: 0]
  ------------------
 3444|      0|            }
 3445|       |            // In case of scalar*vector, take the result type from the vector.
 3446|      0|            if (right->getType().isCoopVecNV()) {
  ------------------
  |  Branch (3446:17): [True: 0, False: 0]
  ------------------
 3447|      0|                node.setType(right->getType());
 3448|      0|            }
 3449|      0|            return true;
 3450|      0|        case EOpLeftShift:
  ------------------
  |  Branch (3450:9): [True: 0, False: 0]
  ------------------
 3451|      0|        case EOpLeftShiftAssign:
  ------------------
  |  Branch (3451:9): [True: 0, False: 0]
  ------------------
 3452|      0|        case EOpRightShift:
  ------------------
  |  Branch (3452:9): [True: 0, False: 0]
  ------------------
 3453|      0|        case EOpRightShiftAssign:
  ------------------
  |  Branch (3453:9): [True: 0, False: 0]
  ------------------
 3454|      0|        case EOpAdd:
  ------------------
  |  Branch (3454:9): [True: 0, False: 0]
  ------------------
 3455|      0|        case EOpSub:
  ------------------
  |  Branch (3455:9): [True: 0, False: 0]
  ------------------
 3456|      0|        case EOpDiv:
  ------------------
  |  Branch (3456:9): [True: 0, False: 0]
  ------------------
 3457|      0|        case EOpAssign:
  ------------------
  |  Branch (3457:9): [True: 0, False: 0]
  ------------------
 3458|       |            // These require both to be cooperative vectors
 3459|      0|            if (!left->getType().isCoopVecNV() || !right->getType().isCoopVecNV()) {
  ------------------
  |  Branch (3459:17): [True: 0, False: 0]
  |  Branch (3459:51): [True: 0, False: 0]
  ------------------
 3460|      0|                return false;
 3461|      0|            }
 3462|      0|            return true;
 3463|      0|        default:
  ------------------
  |  Branch (3463:9): [True: 0, False: 0]
  ------------------
 3464|      0|            break;
 3465|      0|        }
 3466|      0|        return false;
 3467|      0|    }
 3468|       |
 3469|      0|    bool vectorAndLongVectorMatch = TType::vectorAndLongVectorMatch(left->getType(), right->getType());
 3470|       |
 3471|       |    // Finish handling the case, for all ops, where both operands are scalars.
 3472|      0|    if (left->isScalar() && right->isScalar())
  ------------------
  |  Branch (3472:9): [True: 0, False: 0]
  |  Branch (3472:29): [True: 0, False: 0]
  ------------------
 3473|      0|        return true;
 3474|       |
 3475|       |    // Finish handling the case, for all ops, where there are two vectors of different sizes
 3476|      0|    if (left->isVector() && right->isVector() && left->getVectorSize() != right->getVectorSize() && right->getVectorSize() > 1)
  ------------------
  |  Branch (3476:9): [True: 0, False: 0]
  |  Branch (3476:29): [True: 0, False: 0]
  |  Branch (3476:50): [True: 0, False: 0]
  |  Branch (3476:101): [True: 0, False: 0]
  ------------------
 3477|      0|        return false;
 3478|       |
 3479|       |    // Finish handling the case, for all ops, where there are two vectors of different sizes
 3480|      0|    if (left->getType().isLongVector() && right->getType().isLongVector() && !left->getType().sameLongVectorShape(right->getType()))
  ------------------
  |  Branch (3480:9): [True: 0, False: 0]
  |  Branch (3480:43): [True: 0, False: 0]
  |  Branch (3480:78): [True: 0, False: 0]
  ------------------
 3481|      0|        return false;
 3482|       |
 3483|       |    //
 3484|       |    // We now have a mix of scalars, vectors, or matrices, for non-relational operations.
 3485|       |    //
 3486|       |
 3487|       |    // Can these two operands be combined, what is the resulting type?
 3488|      0|    TBasicType basicType = left->getBasicType();
 3489|      0|    switch (op) {
 3490|      0|    case EOpMul:
  ------------------
  |  Branch (3490:5): [True: 0, False: 0]
  ------------------
 3491|      0|        if (!left->isMatrix() && right->isMatrix()) {
  ------------------
  |  Branch (3491:13): [True: 0, False: 0]
  |  Branch (3491:34): [True: 0, False: 0]
  ------------------
 3492|      0|            if (left->isVector()) {
  ------------------
  |  Branch (3492:17): [True: 0, False: 0]
  ------------------
 3493|      0|                if (left->getVectorSize() != right->getMatrixRows())
  ------------------
  |  Branch (3493:21): [True: 0, False: 0]
  ------------------
 3494|      0|                    return false;
 3495|      0|                node.setOp(op = EOpVectorTimesMatrix);
 3496|      0|                node.setType(TType(basicType, EvqTemporary, right->getMatrixCols()));
 3497|      0|            } else {
 3498|      0|                node.setOp(op = EOpMatrixTimesScalar);
 3499|      0|                node.setType(TType(basicType, EvqTemporary, 0, right->getMatrixCols(), right->getMatrixRows()));
 3500|      0|            }
 3501|      0|        } else if (left->isMatrix() && !right->isMatrix()) {
  ------------------
  |  Branch (3501:20): [True: 0, False: 0]
  |  Branch (3501:40): [True: 0, False: 0]
  ------------------
 3502|      0|            if (right->isVector()) {
  ------------------
  |  Branch (3502:17): [True: 0, False: 0]
  ------------------
 3503|      0|                if (left->getMatrixCols() != right->getVectorSize())
  ------------------
  |  Branch (3503:21): [True: 0, False: 0]
  ------------------
 3504|      0|                    return false;
 3505|      0|                node.setOp(op = EOpMatrixTimesVector);
 3506|      0|                node.setType(TType(basicType, EvqTemporary, left->getMatrixRows()));
 3507|      0|            } else {
 3508|      0|                node.setOp(op = EOpMatrixTimesScalar);
 3509|      0|            }
 3510|      0|        } else if (left->isMatrix() && right->isMatrix()) {
  ------------------
  |  Branch (3510:20): [True: 0, False: 0]
  |  Branch (3510:40): [True: 0, False: 0]
  ------------------
 3511|      0|            if (left->getMatrixCols() != right->getMatrixRows())
  ------------------
  |  Branch (3511:17): [True: 0, False: 0]
  ------------------
 3512|      0|                return false;
 3513|      0|            node.setOp(op = EOpMatrixTimesMatrix);
 3514|      0|            node.setType(TType(basicType, EvqTemporary, 0, right->getMatrixCols(), left->getMatrixRows()));
 3515|      0|        } else if (! left->isMatrix() && ! right->isMatrix()) {
  ------------------
  |  Branch (3515:20): [True: 0, False: 0]
  |  Branch (3515:42): [True: 0, False: 0]
  ------------------
 3516|      0|            if (left->isVector() && right->isVector()) {
  ------------------
  |  Branch (3516:17): [True: 0, False: 0]
  |  Branch (3516:37): [True: 0, False: 0]
  ------------------
 3517|      0|                ; // leave as component product
 3518|      0|            } else if (left->isVector() || right->isVector()) {
  ------------------
  |  Branch (3518:24): [True: 0, False: 0]
  |  Branch (3518:44): [True: 0, False: 0]
  ------------------
 3519|      0|                node.setOp(op = EOpVectorTimesScalar);
 3520|      0|                if (right->isVector())
  ------------------
  |  Branch (3520:21): [True: 0, False: 0]
  ------------------
 3521|      0|                    node.setType(TType(basicType, EvqTemporary, right->getVectorSize()));
 3522|      0|            }
 3523|      0|        } else {
 3524|      0|            return false;
 3525|      0|        }
 3526|      0|        break;
 3527|      0|    case EOpMulAssign:
  ------------------
  |  Branch (3527:5): [True: 0, False: 0]
  ------------------
 3528|      0|        if (! left->isMatrix() && right->isMatrix()) {
  ------------------
  |  Branch (3528:13): [True: 0, False: 0]
  |  Branch (3528:35): [True: 0, False: 0]
  ------------------
 3529|      0|            if (left->isVector()) {
  ------------------
  |  Branch (3529:17): [True: 0, False: 0]
  ------------------
 3530|      0|                if (left->getVectorSize() != right->getMatrixRows() || left->getVectorSize() != right->getMatrixCols())
  ------------------
  |  Branch (3530:21): [True: 0, False: 0]
  |  Branch (3530:72): [True: 0, False: 0]
  ------------------
 3531|      0|                    return false;
 3532|      0|                node.setOp(op = EOpVectorTimesMatrixAssign);
 3533|      0|            } else {
 3534|      0|                return false;
 3535|      0|            }
 3536|      0|        } else if (left->isMatrix() && !right->isMatrix()) {
  ------------------
  |  Branch (3536:20): [True: 0, False: 0]
  |  Branch (3536:40): [True: 0, False: 0]
  ------------------
 3537|      0|            if (right->isVector()) {
  ------------------
  |  Branch (3537:17): [True: 0, False: 0]
  ------------------
 3538|      0|                return false;
 3539|      0|            } else {
 3540|      0|                node.setOp(op = EOpMatrixTimesScalarAssign);
 3541|      0|            }
 3542|      0|        } else if (left->isMatrix() && right->isMatrix()) {
  ------------------
  |  Branch (3542:20): [True: 0, False: 0]
  |  Branch (3542:40): [True: 0, False: 0]
  ------------------
 3543|      0|            if (left->getMatrixCols() != right->getMatrixCols() || left->getMatrixCols() != right->getMatrixRows())
  ------------------
  |  Branch (3543:17): [True: 0, False: 0]
  |  Branch (3543:68): [True: 0, False: 0]
  ------------------
 3544|      0|                return false;
 3545|      0|            node.setOp(op = EOpMatrixTimesMatrixAssign);
 3546|      0|        } else if (!left->isMatrix() && !right->isMatrix()) {
  ------------------
  |  Branch (3546:20): [True: 0, False: 0]
  |  Branch (3546:41): [True: 0, False: 0]
  ------------------
 3547|      0|            if (left->isVector() && right->isVector()) {
  ------------------
  |  Branch (3547:17): [True: 0, False: 0]
  |  Branch (3547:37): [True: 0, False: 0]
  ------------------
 3548|       |                // leave as component product
 3549|      0|            } else if (left->isVector() || right->isVector()) {
  ------------------
  |  Branch (3549:24): [True: 0, False: 0]
  |  Branch (3549:44): [True: 0, False: 0]
  ------------------
 3550|      0|                if (! left->isVector())
  ------------------
  |  Branch (3550:21): [True: 0, False: 0]
  ------------------
 3551|      0|                    return false;
 3552|      0|                node.setOp(op = EOpVectorTimesScalarAssign);
 3553|      0|            }
 3554|      0|        } else {
 3555|      0|            return false;
 3556|      0|        }
 3557|      0|        break;
 3558|       |
 3559|      0|    case EOpRightShift:
  ------------------
  |  Branch (3559:5): [True: 0, False: 0]
  ------------------
 3560|      0|    case EOpLeftShift:
  ------------------
  |  Branch (3560:5): [True: 0, False: 0]
  ------------------
 3561|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (3561:5): [True: 0, False: 0]
  ------------------
 3562|      0|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (3562:5): [True: 0, False: 0]
  ------------------
 3563|      0|        if (right->isVector() && (! left->isVector() || right->getVectorSize() != left->getVectorSize()))
  ------------------
  |  Branch (3563:13): [True: 0, False: 0]
  |  Branch (3563:35): [True: 0, False: 0]
  |  Branch (3563:57): [True: 0, False: 0]
  ------------------
 3564|      0|            return false;
 3565|      0|        break;
 3566|       |
 3567|      0|    case EOpAssign:
  ------------------
  |  Branch (3567:5): [True: 0, False: 0]
  ------------------
 3568|      0|        if ((left->getVectorSize() != right->getVectorSize() || left->getMatrixCols() != right->getMatrixCols() || left->getMatrixRows() != right->getMatrixRows()) &&
  ------------------
  |  Branch (3568:14): [True: 0, False: 0]
  |  Branch (3568:65): [True: 0, False: 0]
  |  Branch (3568:116): [True: 0, False: 0]
  ------------------
 3569|      0|            !vectorAndLongVectorMatch)
  ------------------
  |  Branch (3569:13): [True: 0, False: 0]
  ------------------
 3570|      0|            return false;
 3571|      0|        [[fallthrough]];
 3572|       |
 3573|      0|    case EOpAdd:
  ------------------
  |  Branch (3573:5): [True: 0, False: 0]
  ------------------
 3574|      0|    case EOpSub:
  ------------------
  |  Branch (3574:5): [True: 0, False: 0]
  ------------------
 3575|      0|    case EOpDiv:
  ------------------
  |  Branch (3575:5): [True: 0, False: 0]
  ------------------
 3576|      0|    case EOpMod:
  ------------------
  |  Branch (3576:5): [True: 0, False: 0]
  ------------------
 3577|      0|    case EOpAnd:
  ------------------
  |  Branch (3577:5): [True: 0, False: 0]
  ------------------
 3578|      0|    case EOpInclusiveOr:
  ------------------
  |  Branch (3578:5): [True: 0, False: 0]
  ------------------
 3579|      0|    case EOpExclusiveOr:
  ------------------
  |  Branch (3579:5): [True: 0, False: 0]
  ------------------
 3580|      0|    case EOpAddAssign:
  ------------------
  |  Branch (3580:5): [True: 0, False: 0]
  ------------------
 3581|      0|    case EOpSubAssign:
  ------------------
  |  Branch (3581:5): [True: 0, False: 0]
  ------------------
 3582|      0|    case EOpDivAssign:
  ------------------
  |  Branch (3582:5): [True: 0, False: 0]
  ------------------
 3583|      0|    case EOpModAssign:
  ------------------
  |  Branch (3583:5): [True: 0, False: 0]
  ------------------
 3584|      0|    case EOpAndAssign:
  ------------------
  |  Branch (3584:5): [True: 0, False: 0]
  ------------------
 3585|      0|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (3585:5): [True: 0, False: 0]
  ------------------
 3586|      0|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (3586:5): [True: 0, False: 0]
  ------------------
 3587|       |
 3588|      0|        if ((left->isMatrix() && right->isVector()) ||
  ------------------
  |  Branch (3588:14): [True: 0, False: 0]
  |  Branch (3588:34): [True: 0, False: 0]
  ------------------
 3589|      0|            (left->isVector() && right->isMatrix()) ||
  ------------------
  |  Branch (3589:14): [True: 0, False: 0]
  |  Branch (3589:34): [True: 0, False: 0]
  ------------------
 3590|      0|            left->getBasicType() != right->getBasicType())
  ------------------
  |  Branch (3590:13): [True: 0, False: 0]
  ------------------
 3591|      0|            return false;
 3592|      0|        if (left->isMatrix() && right->isMatrix() && (left->getMatrixCols() != right->getMatrixCols() || left->getMatrixRows() != right->getMatrixRows()))
  ------------------
  |  Branch (3592:13): [True: 0, False: 0]
  |  Branch (3592:33): [True: 0, False: 0]
  |  Branch (3592:55): [True: 0, False: 0]
  |  Branch (3592:106): [True: 0, False: 0]
  ------------------
 3593|      0|            return false;
 3594|      0|        if (left->isVector() && right->isVector() && left->getVectorSize() != right->getVectorSize())
  ------------------
  |  Branch (3594:13): [True: 0, False: 0]
  |  Branch (3594:33): [True: 0, False: 0]
  |  Branch (3594:54): [True: 0, False: 0]
  ------------------
 3595|      0|            return false;
 3596|      0|        if ((right->isVector() || right->isMatrix()) && !vectorAndLongVectorMatch) {
  ------------------
  |  Branch (3596:14): [True: 0, False: 0]
  |  Branch (3596:35): [True: 0, False: 0]
  |  Branch (3596:57): [True: 0, False: 0]
  ------------------
 3597|      0|            node.getWritableType().shallowCopy(right->getType());
 3598|      0|            node.getWritableType().getQualifier().makeTemporary();
 3599|      0|        }
 3600|      0|        break;
 3601|       |
 3602|      0|    default:
  ------------------
  |  Branch (3602:5): [True: 0, False: 0]
  ------------------
 3603|      0|        return false;
 3604|      0|    }
 3605|       |
 3606|       |    //
 3607|       |    // One more check for assignment.
 3608|       |    //
 3609|      0|    switch (op) {
 3610|       |    // The resulting type has to match the left operand.
 3611|      0|    case EOpAssign:
  ------------------
  |  Branch (3611:5): [True: 0, False: 0]
  ------------------
 3612|      0|    case EOpAddAssign:
  ------------------
  |  Branch (3612:5): [True: 0, False: 0]
  ------------------
 3613|      0|    case EOpSubAssign:
  ------------------
  |  Branch (3613:5): [True: 0, False: 0]
  ------------------
 3614|      0|    case EOpMulAssign:
  ------------------
  |  Branch (3614:5): [True: 0, False: 0]
  ------------------
 3615|      0|    case EOpDivAssign:
  ------------------
  |  Branch (3615:5): [True: 0, False: 0]
  ------------------
 3616|      0|    case EOpModAssign:
  ------------------
  |  Branch (3616:5): [True: 0, False: 0]
  ------------------
 3617|      0|    case EOpAndAssign:
  ------------------
  |  Branch (3617:5): [True: 0, False: 0]
  ------------------
 3618|      0|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (3618:5): [True: 0, False: 0]
  ------------------
 3619|      0|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (3619:5): [True: 0, False: 0]
  ------------------
 3620|      0|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (3620:5): [True: 0, False: 0]
  ------------------
 3621|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (3621:5): [True: 0, False: 0]
  ------------------
 3622|      0|        if (node.getType() != left->getType())
  ------------------
  |  Branch (3622:13): [True: 0, False: 0]
  ------------------
 3623|      0|            return false;
 3624|      0|        break;
 3625|      0|    default:
  ------------------
  |  Branch (3625:5): [True: 0, False: 0]
  ------------------
 3626|      0|        break;
 3627|      0|    }
 3628|       |
 3629|      0|    return true;
 3630|      0|}
_ZN7glslang13TIntermBinary15updatePrecisionEv:
 3727|      2|{
 3728|      2|     if (getBasicType() == EbtInt || getBasicType() == EbtUint ||
  ------------------
  |  Branch (3728:10): [True: 1, False: 1]
  |  Branch (3728:38): [True: 1, False: 0]
  ------------------
 3729|      2|         getBasicType() == EbtFloat) {
  ------------------
  |  Branch (3729:10): [True: 0, False: 0]
  ------------------
 3730|      2|       if (op == EOpRightShift || op == EOpLeftShift) {
  ------------------
  |  Branch (3730:12): [True: 0, False: 2]
  |  Branch (3730:35): [True: 0, False: 2]
  ------------------
 3731|       |         // For shifts get precision from left side only and thus no need to propagate
 3732|      0|         getQualifier().precision = left->getQualifier().precision;
 3733|      2|       } else {
 3734|      2|         getQualifier().precision = std::max(right->getQualifier().precision, left->getQualifier().precision);
 3735|      2|         if (getQualifier().precision != EpqNone) {
  ------------------
  |  Branch (3735:14): [True: 0, False: 2]
  ------------------
 3736|      0|           left->propagatePrecision(getQualifier().precision);
 3737|      0|           right->propagatePrecision(getQualifier().precision);
 3738|      0|         }
 3739|      2|       }
 3740|      2|    }
 3741|      2|}
_ZNK7glslang13TIntermediate20promoteConstantUnionENS_10TBasicTypeEPNS_20TIntermConstantUnionE:
 3798|     75|{
 3799|     75|    const TConstUnionArray& rightUnionArray = node->getConstArray();
 3800|     75|    int size = node->getType().computeNumComponents();
 3801|       |
 3802|     75|    TConstUnionArray leftUnionArray(size);
 3803|       |
 3804|    151|    for (int i=0; i < size; i++) {
  ------------------
  |  Branch (3804:19): [True: 76, False: 75]
  ------------------
 3805|       |
 3806|     76|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
 3807|     76|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
 3808|       |
 3809|     76|#define TO_ALL(Get)   \
 3810|     76|        switch (promoteTo) { \
 3811|     76|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
 3812|     76|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
 3813|     76|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
 3814|     76|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
 3815|     76|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
 3816|     76|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
 3817|     76|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
 3818|     76|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
 3819|     76|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
 3820|     76|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
 3821|     76|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
 3822|     76|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
 3823|     76|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
 3824|     76|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
 3825|     76|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
 3826|     76|        default: return node; \
 3827|     76|        }
 3828|       |
 3829|     76|        switch (node->getType().getBasicType()) {
 3830|      0|        case EbtFloat: TO_ALL(getDConst); break;
  ------------------
  |  | 3810|      0|        switch (promoteTo) { \
  |  | 3811|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3811:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3812|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3812:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3813|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3813:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3814|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3814:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3815|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3815:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3816|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3816:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3817|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3817:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3818|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3818:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3819|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3819:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3820|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3820:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3821|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3821:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3822|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3822:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3823|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3823:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3824|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3824:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3825|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3807|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3825:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3826|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3826:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3827|      0|        }
  ------------------
  |  Branch (3830:9): [True: 0, False: 76]
  ------------------
 3831|     74|        case EbtInt: TO_ALL(getIConst); break;
  ------------------
  |  | 3810|     74|        switch (promoteTo) { \
  |  | 3811|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3811:9): [True: 0, False: 74]
  |  |  ------------------
  |  | 3812|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3812:9): [True: 0, False: 74]
  |  |  ------------------
  |  | 3813|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3813:9): [True: 0, False: 74]
  |  |  ------------------
  |  | 3814|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3814:9): [True: 0, False: 74]
  |  |  ------------------
  |  | 3815|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3815:9): [True: 0, False: 74]
  |  |  ------------------
  |  | 3816|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3816:9): [True: 0, False: 74]
  |  |  ------------------
  |  | 3817|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3817:9): [True: 0, False: 74]
  |  |  ------------------
  |  | 3818|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3818:9): [True: 0, False: 74]
  |  |  ------------------
  |  | 3819|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3819:9): [True: 0, False: 74]
  |  |  ------------------
  |  | 3820|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3820:9): [True: 0, False: 74]
  |  |  ------------------
  |  | 3821|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3821:9): [True: 0, False: 74]
  |  |  ------------------
  |  | 3822|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3822:9): [True: 0, False: 74]
  |  |  ------------------
  |  | 3823|     67|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|     67|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3823:9): [True: 67, False: 7]
  |  |  ------------------
  |  | 3824|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3824:9): [True: 0, False: 74]
  |  |  ------------------
  |  | 3825|      7|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3807|      7|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3825:9): [True: 7, False: 67]
  |  |  ------------------
  |  | 3826|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3826:9): [True: 0, False: 74]
  |  |  ------------------
  |  | 3827|     74|        }
  ------------------
  |  Branch (3831:9): [True: 74, False: 2]
  ------------------
 3832|      0|        case EbtUint: TO_ALL(getUConst); break;
  ------------------
  |  | 3810|      0|        switch (promoteTo) { \
  |  | 3811|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3811:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3812|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3812:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3813|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3813:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3814|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3814:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3815|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3815:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3816|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3816:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3817|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3817:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3818|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3818:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3819|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3819:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3820|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3820:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3821|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3821:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3822|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3822:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3823|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3823:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3824|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3824:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3825|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3807|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3825:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3826|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3826:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3827|      0|        }
  ------------------
  |  Branch (3832:9): [True: 0, False: 76]
  ------------------
 3833|      2|        case EbtBool: TO_ALL(getBConst); break;
  ------------------
  |  | 3810|      2|        switch (promoteTo) { \
  |  | 3811|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3811:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3812|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3812:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3813|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3813:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3814|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3814:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3815|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3815:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3816|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3816:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3817|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3817:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3818|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3818:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3819|      1|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      1|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3819:9): [True: 1, False: 1]
  |  |  ------------------
  |  | 3820|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3820:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3821|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3821:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3822|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3822:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3823|      1|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      1|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3823:9): [True: 1, False: 1]
  |  |  ------------------
  |  | 3824|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3824:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3825|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3807|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3825:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3826|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3826:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3827|      2|        }
  ------------------
  |  Branch (3833:9): [True: 2, False: 74]
  ------------------
 3834|      0|        case EbtFloat16: TO_ALL(getDConst); break;
  ------------------
  |  | 3810|      0|        switch (promoteTo) { \
  |  | 3811|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3811:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3812|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3812:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3813|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3813:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3814|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3814:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3815|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3815:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3816|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3816:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3817|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3817:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3818|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3818:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3819|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3819:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3820|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3820:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3821|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3821:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3822|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3822:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3823|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3823:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3824|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3824:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3825|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3807|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3825:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3826|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3826:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3827|      0|        }
  ------------------
  |  Branch (3834:9): [True: 0, False: 76]
  ------------------
 3835|      0|        case EbtBFloat16: TO_ALL(getDConst); break;
  ------------------
  |  | 3810|      0|        switch (promoteTo) { \
  |  | 3811|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3811:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3812|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3812:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3813|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3813:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3814|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3814:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3815|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3815:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3816|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3816:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3817|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3817:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3818|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3818:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3819|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3819:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3820|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3820:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3821|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3821:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3822|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3822:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3823|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3823:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3824|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3824:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3825|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3807|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3825:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3826|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3826:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3827|      0|        }
  ------------------
  |  Branch (3835:9): [True: 0, False: 76]
  ------------------
 3836|      0|        case EbtFloatE5M2: TO_ALL(getDConst); break;
  ------------------
  |  | 3810|      0|        switch (promoteTo) { \
  |  | 3811|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3811:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3812|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3812:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3813|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3813:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3814|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3814:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3815|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3815:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3816|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3816:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3817|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3817:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3818|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3818:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3819|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3819:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3820|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3820:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3821|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3821:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3822|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3822:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3823|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3823:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3824|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3824:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3825|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3807|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3825:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3826|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3826:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3827|      0|        }
  ------------------
  |  Branch (3836:9): [True: 0, False: 76]
  ------------------
 3837|      0|        case EbtFloatE4M3: TO_ALL(getDConst); break;
  ------------------
  |  | 3810|      0|        switch (promoteTo) { \
  |  | 3811|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3811:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3812|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3812:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3813|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3813:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3814|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3814:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3815|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3815:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3816|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3816:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3817|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3817:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3818|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3818:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3819|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3819:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3820|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3820:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3821|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3821:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3822|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3822:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3823|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3823:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3824|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3824:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3825|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3807|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3825:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3826|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3826:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3827|      0|        }
  ------------------
  |  Branch (3837:9): [True: 0, False: 76]
  ------------------
 3838|      0|        case EbtDouble: TO_ALL(getDConst); break;
  ------------------
  |  | 3810|      0|        switch (promoteTo) { \
  |  | 3811|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3811:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3812|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3812:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3813|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3813:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3814|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3814:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3815|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3815:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3816|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3816:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3817|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3817:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3818|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3818:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3819|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3819:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3820|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3820:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3821|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3821:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3822|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3822:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3823|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3823:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3824|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3824:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3825|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3807|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3825:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3826|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3826:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3827|      0|        }
  ------------------
  |  Branch (3838:9): [True: 0, False: 76]
  ------------------
 3839|      0|        case EbtInt8: TO_ALL(getI8Const); break;
  ------------------
  |  | 3810|      0|        switch (promoteTo) { \
  |  | 3811|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3811:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3812|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3812:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3813|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3813:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3814|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3814:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3815|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3815:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3816|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3816:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3817|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3817:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3818|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3818:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3819|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3819:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3820|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3820:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3821|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3821:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3822|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3822:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3823|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3823:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3824|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3824:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3825|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3807|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3825:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3826|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3826:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3827|      0|        }
  ------------------
  |  Branch (3839:9): [True: 0, False: 76]
  ------------------
 3840|      0|        case EbtInt16: TO_ALL(getI16Const); break;
  ------------------
  |  | 3810|      0|        switch (promoteTo) { \
  |  | 3811|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3811:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3812|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3812:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3813|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3813:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3814|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3814:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3815|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3815:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3816|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3816:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3817|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3817:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3818|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3818:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3819|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3819:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3820|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3820:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3821|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3821:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3822|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3822:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3823|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3823:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3824|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3824:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3825|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3807|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3825:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3826|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3826:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3827|      0|        }
  ------------------
  |  Branch (3840:9): [True: 0, False: 76]
  ------------------
 3841|      0|        case EbtInt64: TO_ALL(getI64Const); break;
  ------------------
  |  | 3810|      0|        switch (promoteTo) { \
  |  | 3811|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3811:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3812|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3812:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3813|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3813:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3814|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3814:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3815|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3815:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3816|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3816:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3817|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3817:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3818|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3818:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3819|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3819:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3820|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3820:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3821|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3821:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3822|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3822:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3823|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3823:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3824|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3824:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3825|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3807|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3825:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3826|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3826:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3827|      0|        }
  ------------------
  |  Branch (3841:9): [True: 0, False: 76]
  ------------------
 3842|      0|        case EbtUint8: TO_ALL(getU8Const); break;
  ------------------
  |  | 3810|      0|        switch (promoteTo) { \
  |  | 3811|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3811:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3812|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3812:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3813|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3813:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3814|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3814:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3815|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3815:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3816|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3816:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3817|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3817:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3818|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3818:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3819|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3819:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3820|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3820:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3821|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3821:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3822|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3822:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3823|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3823:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3824|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3824:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3825|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3807|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3825:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3826|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3826:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3827|      0|        }
  ------------------
  |  Branch (3842:9): [True: 0, False: 76]
  ------------------
 3843|      0|        case EbtUint16: TO_ALL(getU16Const); break;
  ------------------
  |  | 3810|      0|        switch (promoteTo) { \
  |  | 3811|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3811:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3812|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3812:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3813|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3813:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3814|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3814:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3815|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3815:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3816|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3816:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3817|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3817:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3818|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3818:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3819|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3819:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3820|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3820:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3821|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3821:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3822|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3822:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3823|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3823:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3824|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3824:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3825|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3807|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3825:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3826|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3826:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3827|      0|        }
  ------------------
  |  Branch (3843:9): [True: 0, False: 76]
  ------------------
 3844|      0|        case EbtUint64: TO_ALL(getU64Const); break;
  ------------------
  |  | 3810|      0|        switch (promoteTo) { \
  |  | 3811|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3811:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3812|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3812:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3813|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3813:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3814|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3814:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3815|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3815:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3816|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3816:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3817|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3817:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3818|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3818:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3819|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3819:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3820|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3820:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3821|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3821:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3822|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3822:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3823|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3823:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3824|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 3806|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (3824:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3825|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 3807|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (3825:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3826|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (3826:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 3827|      0|        }
  ------------------
  |  Branch (3844:9): [True: 0, False: 76]
  ------------------
 3845|      0|        default: return node;
  ------------------
  |  Branch (3845:9): [True: 0, False: 76]
  ------------------
 3846|     76|        }
 3847|     76|    }
 3848|       |
 3849|     75|    const TType& t = node->getType();
 3850|       |
 3851|     75|    return addConstantUnion(leftUnionArray, TType(promoteTo, t.getQualifier().storage, t.getVectorSize(), t.getMatrixCols(), t.getMatrixRows()),
 3852|     75|                            node->getLoc());
 3853|     75|}
_ZN7glslang13TIntermediate22specConstantPropagatesERKNS_12TIntermTypedES3_:
 3866|      2|{
 3867|      2|    return (node1.getType().getQualifier().isSpecConstant() && node2.getType().getQualifier().isConstant()) ||
  ------------------
  |  Branch (3867:13): [True: 0, False: 2]
  |  Branch (3867:64): [True: 0, False: 0]
  ------------------
 3868|      2|           (node2.getType().getQualifier().isSpecConstant() && node1.getType().getQualifier().isConstant());
  ------------------
  |  Branch (3868:13): [True: 0, False: 2]
  |  Branch (3868:64): [True: 0, False: 0]
  ------------------
 3869|      2|}

_ZN7glslang17TParseContextBase13outputMessageERKNS_10TSourceLocEPKcS5_S5_NS_11TPrefixTypeEP13__va_list_tag:
   55|    523|{
   56|    523|    const int maxSize = MaxTokenLength + 200;
   57|    523|    char szExtraInfo[maxSize];
   58|       |
   59|    523|    safe_vsprintf(szExtraInfo, maxSize, szExtraInfoFormat, args);
   60|       |
   61|    523|    infoSink.info.prefix(prefix);
   62|    523|    infoSink.info.location(loc, messages & EShMsgAbsolutePath, messages & EShMsgDisplayErrorColumn);
   63|    523|    infoSink.info << "'" << szToken <<  "' : " << szReason << " " << szExtraInfo << "\n";
   64|       |
   65|    523|    if (prefix == EPrefixError) {
  ------------------
  |  Branch (65:9): [True: 156, False: 367]
  ------------------
   66|    156|        ++numErrors;
   67|    156|    }
   68|    523|}
_ZN7glslang17TParseContextBase5errorERKNS_10TSourceLocEPKcS5_S5_z:
   72|    305|{
   73|    305|    if (messages & EShMsgOnlyPreprocessor)
  ------------------
  |  Branch (73:9): [True: 230, False: 75]
  ------------------
   74|    230|        return;
   75|       |    // If enhanced msg readability, only print one error
   76|     75|    if (messages & EShMsgEnhanced && numErrors > 0)
  ------------------
  |  Branch (76:9): [True: 0, False: 75]
  |  Branch (76:38): [True: 0, False: 0]
  ------------------
   77|      0|        return;
   78|     75|    va_list args;
   79|     75|    va_start(args, szExtraInfoFormat);
   80|     75|    outputMessage(loc, szReason, szToken, szExtraInfoFormat, EPrefixError, args);
   81|     75|    va_end(args);
   82|       |
   83|     75|    if ((messages & EShMsgCascadingErrors) == 0)
  ------------------
  |  Branch (83:9): [True: 75, False: 0]
  ------------------
   84|     75|        currentScanner->setEndOfInput();
   85|     75|}
_ZN7glslang17TParseContextBase4warnERKNS_10TSourceLocEPKcS5_S5_z:
   89|  3.25k|{
   90|  3.25k|    if (suppressWarnings())
  ------------------
  |  Branch (90:9): [True: 2.88k, False: 367]
  ------------------
   91|  2.88k|        return;
   92|    367|    va_list args;
   93|    367|    va_start(args, szExtraInfoFormat);
   94|    367|    outputMessage(loc, szReason, szToken, szExtraInfoFormat, EPrefixWarning, args);
   95|       |    va_end(args);
   96|    367|}
_ZN7glslang17TParseContextBase7ppErrorERKNS_10TSourceLocEPKcS5_S5_z:
  100|     81|{
  101|     81|    va_list args;
  102|     81|    va_start(args, szExtraInfoFormat);
  103|     81|    outputMessage(loc, szReason, szToken, szExtraInfoFormat, EPrefixError, args);
  104|     81|    va_end(args);
  105|       |
  106|     81|    if ((messages & EShMsgCascadingErrors) == 0)
  ------------------
  |  Branch (106:9): [True: 78, False: 3]
  ------------------
  107|     78|        currentScanner->setEndOfInput();
  108|     81|}
_ZN7glslang17TParseContextBase16rValueErrorCheckERKNS_10TSourceLocEPKcPNS_12TIntermTypedE:
  232|  1.68k|{
  233|  1.68k|    if (! node)
  ------------------
  |  Branch (233:9): [True: 0, False: 1.68k]
  ------------------
  234|      0|        return;
  235|       |
  236|  1.68k|    TIntermBinary* binaryNode = node->getAsBinaryNode();
  237|  1.68k|    const TIntermSymbol* symNode = node->getAsSymbolNode();
  238|       |
  239|  1.68k|    if (node->getQualifier().isWriteOnly()) {
  ------------------
  |  Branch (239:9): [True: 0, False: 1.68k]
  ------------------
  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|  1.68k|    } else {
  255|  1.68k|        if (binaryNode) {
  ------------------
  |  Branch (255:13): [True: 0, False: 1.68k]
  ------------------
  256|      0|            switch (binaryNode->getOp()) {
  257|      0|            case EOpIndexDirect:
  ------------------
  |  Branch (257:13): [True: 0, False: 0]
  ------------------
  258|      0|            case EOpIndexIndirect:
  ------------------
  |  Branch (258:13): [True: 0, False: 0]
  ------------------
  259|      0|            case EOpIndexDirectStruct:
  ------------------
  |  Branch (259:13): [True: 0, False: 0]
  ------------------
  260|      0|            case EOpVectorSwizzle:
  ------------------
  |  Branch (260:13): [True: 0, False: 0]
  ------------------
  261|      0|            case EOpMatrixSwizzle:
  ------------------
  |  Branch (261:13): [True: 0, False: 0]
  ------------------
  262|      0|                rValueErrorCheck(loc, op, binaryNode->getLeft());
  263|      0|                break;
  264|      0|            default:
  ------------------
  |  Branch (264:13): [True: 0, False: 0]
  ------------------
  265|      0|                break;
  266|      0|            }
  267|      0|        }
  268|  1.68k|    }
  269|  1.68k|}
_ZN7glslang17TParseContextBase12trackLinkageERNS_7TSymbolE:
  278|  5.20k|{
  279|  5.20k|    if (!parsingBuiltins)
  ------------------
  |  Branch (279:9): [True: 1, False: 5.20k]
  ------------------
  280|      1|        linkageSymbols.push_back(&symbol);
  281|  5.20k|}
_ZN7glslang17TParseContextBase20parseSwizzleSelectorERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEEiRNS_17TSwizzleSelectorsIiEE:
  530|      1|{
  531|       |    // Too long?
  532|      1|    if (compString.size() > MaxSwizzleSelectors)
  ------------------
  |  Branch (532:9): [True: 0, False: 1]
  ------------------
  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|      1|    enum {
  537|      1|        exyzw,
  538|      1|        ergba,
  539|      1|        estpq,
  540|      1|    } fieldSet[MaxSwizzleSelectors];
  541|       |
  542|       |    // Decode the swizzle string.
  543|      1|    int size = std::min(MaxSwizzleSelectors, (int)compString.size());
  544|      3|    for (int i = 0; i < size; ++i) {
  ------------------
  |  Branch (544:21): [True: 2, False: 1]
  ------------------
  545|      2|        switch (compString[i])  {
  546|      0|        case 'x':
  ------------------
  |  Branch (546:9): [True: 0, False: 2]
  ------------------
  547|      0|            selector.push_back(0);
  548|      0|            fieldSet[i] = exyzw;
  549|      0|            break;
  550|      0|        case 'r':
  ------------------
  |  Branch (550:9): [True: 0, False: 2]
  ------------------
  551|      0|            selector.push_back(0);
  552|      0|            fieldSet[i] = ergba;
  553|      0|            break;
  554|      2|        case 's':
  ------------------
  |  Branch (554:9): [True: 2, False: 0]
  ------------------
  555|      2|            selector.push_back(0);
  556|      2|            fieldSet[i] = estpq;
  557|      2|            break;
  558|       |
  559|      0|        case 'y':
  ------------------
  |  Branch (559:9): [True: 0, False: 2]
  ------------------
  560|      0|            selector.push_back(1);
  561|      0|            fieldSet[i] = exyzw;
  562|      0|            break;
  563|      0|        case 'g':
  ------------------
  |  Branch (563:9): [True: 0, False: 2]
  ------------------
  564|      0|            selector.push_back(1);
  565|      0|            fieldSet[i] = ergba;
  566|      0|            break;
  567|      0|        case 't':
  ------------------
  |  Branch (567:9): [True: 0, False: 2]
  ------------------
  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: 2]
  ------------------
  573|      0|            selector.push_back(2);
  574|      0|            fieldSet[i] = exyzw;
  575|      0|            break;
  576|      0|        case 'b':
  ------------------
  |  Branch (576:9): [True: 0, False: 2]
  ------------------
  577|      0|            selector.push_back(2);
  578|      0|            fieldSet[i] = ergba;
  579|      0|            break;
  580|      0|        case 'p':
  ------------------
  |  Branch (580:9): [True: 0, False: 2]
  ------------------
  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: 2]
  ------------------
  586|      0|            selector.push_back(3);
  587|      0|            fieldSet[i] = exyzw;
  588|      0|            break;
  589|      0|        case 'a':
  ------------------
  |  Branch (589:9): [True: 0, False: 2]
  ------------------
  590|      0|            selector.push_back(3);
  591|      0|            fieldSet[i] = ergba;
  592|      0|            break;
  593|      0|        case 'q':
  ------------------
  |  Branch (593:9): [True: 0, False: 2]
  ------------------
  594|      0|            selector.push_back(3);
  595|      0|            fieldSet[i] = estpq;
  596|      0|            break;
  597|       |
  598|      0|        default:
  ------------------
  |  Branch (598:9): [True: 0, False: 2]
  ------------------
  599|      0|            error(loc, "unknown swizzle selection", compString.c_str(), "");
  600|      0|            break;
  601|      2|        }
  602|      2|    }
  603|       |
  604|       |    // Additional error checking.
  605|      3|    for (int i = 0; i < selector.size(); ++i) {
  ------------------
  |  Branch (605:21): [True: 2, False: 1]
  ------------------
  606|      2|        if (selector[i] >= vecSize) {
  ------------------
  |  Branch (606:13): [True: 0, False: 2]
  ------------------
  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|      2|        if (i > 0 && fieldSet[i] != fieldSet[i-1]) {
  ------------------
  |  Branch (612:13): [True: 1, False: 1]
  |  Branch (612:22): [True: 0, False: 1]
  ------------------
  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|      2|    }
  618|       |
  619|       |    // Ensure it is valid.
  620|      1|    if (selector.size() == 0)
  ------------------
  |  Branch (620:9): [True: 0, False: 1]
  ------------------
  621|      0|        selector.push_back(0);
  622|      1|}
_ZN7glslang17TParseContextBase6finishEv:
  742|    405|{
  743|    405|    if (parsingBuiltins)
  ------------------
  |  Branch (743:9): [True: 334, False: 71]
  ------------------
  744|    334|        return;
  745|       |
  746|     71|    for (const TString& relaxedSymbol : relaxedSymbols)
  ------------------
  |  Branch (746:39): [True: 0, False: 71]
  ------------------
  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|     71|    TIntermAggregate* linkage = new TIntermAggregate;
  766|     71|    for (auto i = linkageSymbols.begin(); i != linkageSymbols.end(); ++i)
  ------------------
  |  Branch (766:43): [True: 0, False: 71]
  ------------------
  767|      0|        intermediate.addSymbolLinkageNode(linkage, **i);
  768|     71|    intermediate.addSymbolLinkageNodes(linkage, getLanguage(), symbolTable);
  769|     71|}

_ZN7glslang13TParseContextC2ERNS_12TSymbolTableERNS_13TIntermediateEbi8EProfileRKNS_10SpvVersionE11EShLanguageR9TInfoSinkb11EShMessagesPKNSt3__112basic_stringIcNSD_11char_traitsIcEENS_14pool_allocatorIcEEEE:
   59|    351|            TParseContextBase(symbolTable, interm, parsingBuiltins, version, profile, spvVersion, language,
   60|    351|                              infoSink, forwardCompatible, messages, entryPoint),
   61|    351|            inMain(false),
   62|    351|            blockName(nullptr),
   63|    351|            limits(resources.limits),
   64|    351|            atomicUintOffsets(nullptr), anyIndexLimits(false),
   65|    351|            khrDerivativeLayoutQualifierSpecified(false)
   66|    351|{
   67|       |    // decide whether precision qualifiers should be ignored or respected
   68|    351|    if (isEsProfile() || spvVersion.vulkan > 0) {
  ------------------
  |  Branch (68:9): [True: 234, False: 117]
  |  Branch (68:26): [True: 15, False: 102]
  ------------------
   69|    249|        precisionManager.respectPrecisionQualifiers();
   70|    249|        if (! parsingBuiltins && language == EShLangFragment && !isEsProfile() && spvVersion.vulkan > 0)
  ------------------
  |  Branch (70:13): [True: 39, False: 210]
  |  Branch (70:34): [True: 0, False: 39]
  |  Branch (70:65): [True: 0, False: 0]
  |  Branch (70:83): [True: 0, False: 0]
  ------------------
   71|      0|            precisionManager.warnAboutDefaults();
   72|    249|    }
   73|       |
   74|    351|    setPrecisionDefaults();
   75|       |
   76|    351|    globalUniformDefaults.clear();
   77|    351|    globalUniformDefaults.layoutMatrix = ElmColumnMajor;
   78|    351|    globalUniformDefaults.layoutPacking = spvVersion.spv != 0 ? ElpStd140 : ElpShared;
  ------------------
  |  Branch (78:43): [True: 0, False: 351]
  ------------------
   79|       |
   80|    351|    globalBufferDefaults.clear();
   81|    351|    globalBufferDefaults.layoutMatrix = ElmColumnMajor;
   82|    351|    globalBufferDefaults.layoutPacking = spvVersion.spv != 0 ? ElpStd430 : ElpShared;
  ------------------
  |  Branch (82:42): [True: 0, False: 351]
  ------------------
   83|       |
   84|    351|    globalInputDefaults.clear();
   85|    351|    globalOutputDefaults.clear();
   86|       |
   87|    351|    globalSharedDefaults.clear();
   88|    351|    globalSharedDefaults.layoutMatrix = ElmColumnMajor;
   89|    351|    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|    351|    if (language == EShLangVertex ||
  ------------------
  |  Branch (94:9): [True: 182, False: 169]
  ------------------
   95|    169|        language == EShLangTessControl ||
  ------------------
  |  Branch (95:9): [True: 7, False: 162]
  ------------------
   96|    162|        language == EShLangTessEvaluation ||
  ------------------
  |  Branch (96:9): [True: 7, False: 155]
  ------------------
   97|    155|        language == EShLangGeometry)
  ------------------
  |  Branch (97:9): [True: 7, False: 148]
  ------------------
   98|    203|        globalOutputDefaults.layoutXfbBuffer = 0;
   99|       |
  100|    351|    if (language == EShLangGeometry)
  ------------------
  |  Branch (100:9): [True: 7, False: 344]
  ------------------
  101|      7|        globalOutputDefaults.layoutStream = 0;
  102|       |
  103|    351|    if (entryPoint != nullptr && entryPoint->size() > 0 && *entryPoint != "main")
  ------------------
  |  Branch (103:9): [True: 351, False: 0]
  |  Branch (103:34): [True: 0, False: 351]
  |  Branch (103:60): [True: 0, False: 0]
  ------------------
  104|      0|        infoSink.info.message(EPrefixError, "Source entry point must be \"main\"");
  105|    351|}
_ZN7glslang13TParseContextD2Ev:
  108|    351|{
  109|    351|    delete [] atomicUintOffsets;
  110|    351|}
_ZN7glslang13TParseContext20setPrecisionDefaultsEv:
  115|    351|{
  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|  12.2k|    for (int type = 0; type < EbtNumTypes; ++type)
  ------------------
  |  Branch (121:24): [True: 11.9k, False: 351]
  ------------------
  122|  11.9k|        defaultPrecision[type] = EpqNone;
  123|       |
  124|  3.43M|    for (int type = 0; type < maxSamplerIndex; ++type)
  ------------------
  |  Branch (124:24): [True: 3.43M, False: 351]
  ------------------
  125|  3.43M|        defaultSamplerPrecision[type] = EpqNone;
  126|       |
  127|       |    // replace with real precision defaults for those that have them
  128|    351|    if (obeyPrecisionQualifiers()) {
  ------------------
  |  Branch (128:9): [True: 249, False: 102]
  ------------------
  129|    249|        if (isEsProfile()) {
  ------------------
  |  Branch (129:13): [True: 234, False: 15]
  ------------------
  130|       |            // Most don't have defaults, a few default to lowp.
  131|    234|            TSampler sampler;
  132|    234|            sampler.set(EbtFloat, Esd2D);
  133|    234|            defaultSamplerPrecision[computeSamplerTypeIndex(sampler)] = EpqLow;
  134|    234|            sampler.set(EbtFloat, EsdCube);
  135|    234|            defaultSamplerPrecision[computeSamplerTypeIndex(sampler)] = EpqLow;
  136|    234|            sampler.set(EbtFloat, Esd2D);
  137|    234|            sampler.setExternal(true);
  138|    234|            defaultSamplerPrecision[computeSamplerTypeIndex(sampler)] = EpqLow;
  139|    234|        }
  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|    249|        if (! parsingBuiltins) {
  ------------------
  |  Branch (145:13): [True: 39, False: 210]
  ------------------
  146|     39|            if (isEsProfile() && language == EShLangFragment) {
  ------------------
  |  Branch (146:17): [True: 39, False: 0]
  |  Branch (146:34): [True: 0, False: 39]
  ------------------
  147|      0|                defaultPrecision[EbtInt] = EpqMedium;
  148|      0|                defaultPrecision[EbtUint] = EpqMedium;
  149|     39|            } else {
  150|     39|                defaultPrecision[EbtInt] = EpqHigh;
  151|     39|                defaultPrecision[EbtUint] = EpqHigh;
  152|     39|                defaultPrecision[EbtFloat] = EpqHigh;
  153|     39|            }
  154|       |
  155|     39|            if (!isEsProfile()) {
  ------------------
  |  Branch (155:17): [True: 0, False: 39]
  ------------------
  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|     39|        }
  162|       |
  163|    249|        defaultPrecision[EbtSampler] = EpqLow;
  164|    249|        defaultPrecision[EbtAtomicUint] = EpqHigh;
  165|    249|    }
  166|    351|}
_ZN7glslang13TParseContext9setLimitsERK16TBuiltInResource:
  169|     45|{
  170|     45|    resources = r;
  171|     45|    intermediate.setLimits(r);
  172|       |
  173|     45|    anyIndexLimits = ! limits.generalAttributeMatrixVectorIndexing ||
  ------------------
  |  Branch (173:22): [True: 0, False: 45]
  ------------------
  174|     45|                     ! limits.generalConstantMatrixVectorIndexing ||
  ------------------
  |  Branch (174:22): [True: 0, False: 45]
  ------------------
  175|     45|                     ! limits.generalSamplerIndexing ||
  ------------------
  |  Branch (175:22): [True: 0, False: 45]
  ------------------
  176|     45|                     ! limits.generalUniformIndexing ||
  ------------------
  |  Branch (176:22): [True: 0, False: 45]
  ------------------
  177|     45|                     ! limits.generalVariableIndexing ||
  ------------------
  |  Branch (177:22): [True: 0, False: 45]
  ------------------
  178|     45|                     ! limits.generalVaryingIndexing;
  ------------------
  |  Branch (178:22): [True: 0, False: 45]
  ------------------
  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|     45|    atomicUintOffsets = new int[resources.maxAtomicCounterBindings];
  185|     90|    for (int b = 0; b < resources.maxAtomicCounterBindings; ++b)
  ------------------
  |  Branch (185:21): [True: 45, False: 45]
  ------------------
  186|     45|        atomicUintOffsets[b] = 0;
  187|     45|}
_ZN7glslang13TParseContext18parseShaderStringsERNS_10TPpContextERNS_13TInputScannerEb:
  197|    351|{
  198|    351|    currentScanner = &input;
  199|    351|    ppContext.setInput(input, versionWillBeError);
  200|    351|    yyparse(this);
  201|       |
  202|    351|    finish();
  203|       |
  204|    351|    return numErrors == 0;
  205|    351|}
_ZN7glslang13TParseContext11parserErrorEPKc:
  212|     46|{
  213|     46|    if (! getScanner()->atEndOfInput() || numErrors == 0)
  ------------------
  |  Branch (213:9): [True: 3, False: 43]
  |  Branch (213:43): [True: 0, False: 43]
  ------------------
  214|      3|        error(getCurrentLoc(), "", "", s, "");
  215|     43|    else
  216|     43|        error(getCurrentLoc(), "compilation terminated", "", "");
  217|     46|}
_ZNK7glslang13TParseContext15isIoResizeArrayERKNS_5TTypeE:
  747|     63|{
  748|     63|    return type.isArray() &&
  ------------------
  |  Branch (748:12): [True: 42, False: 21]
  ------------------
  749|     42|           ((language == EShLangGeometry    && type.getQualifier().storage == EvqVaryingIn) ||
  ------------------
  |  Branch (749:14): [True: 7, False: 35]
  |  Branch (749:48): [True: 7, False: 0]
  ------------------
  750|     35|            (language == EShLangTessControl && type.getQualifier().storage == EvqVaryingOut &&
  ------------------
  |  Branch (750:14): [True: 7, False: 28]
  |  Branch (750:48): [True: 7, False: 0]
  ------------------
  751|      7|                ! type.getQualifier().patch) ||
  ------------------
  |  Branch (751:17): [True: 7, False: 0]
  ------------------
  752|     28|            (language == EShLangFragment && type.getQualifier().storage == EvqVaryingIn &&
  ------------------
  |  Branch (752:14): [True: 0, False: 28]
  |  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|     28|            (language == EShLangMesh && type.getQualifier().storage == EvqVaryingOut &&
  ------------------
  |  Branch (754:14): [True: 28, False: 0]
  |  Branch (754:41): [True: 28, False: 0]
  ------------------
  755|     28|                !type.getQualifier().perTaskNV));
  ------------------
  |  Branch (755:17): [True: 28, False: 0]
  ------------------
  756|     63|}
_ZN7glslang13TParseContext14fixIoArraySizeERKNS_10TSourceLocERNS_5TTypeE:
  760|     21|{
  761|     21|    if (! type.isArray() || type.getQualifier().patch || symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (761:9): [True: 21, False: 0]
  |  Branch (761:29): [True: 0, False: 0]
  |  Branch (761:58): [True: 0, False: 0]
  ------------------
  762|     21|        return;
  763|       |
  764|     21|    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|  4.98k|{
  783|  4.98k|    if (! type.isArray() && ! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (783:9): [True: 4.98k, False: 0]
  |  Branch (783:29): [True: 0, False: 4.98k]
  ------------------
  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|  4.98k|}
_ZN7glslang13TParseContext24checkIoArraysConsistencyERKNS_10TSourceLocEb:
  816|     42|{
  817|     42|    int requiredSize = 0;
  818|     42|    TString featureString;
  819|     42|    size_t listSize = ioArraySymbolResizeList.size();
  820|     42|    size_t i = 0;
  821|       |
  822|       |    // If tailOnly = true, only check the last array symbol in the list.
  823|     42|    if (tailOnly) {
  ------------------
  |  Branch (823:9): [True: 42, False: 0]
  ------------------
  824|     42|        i = listSize - 1;
  825|     42|    }
  826|     42|    for (bool firstIteration = true; i < listSize; ++i) {
  ------------------
  |  Branch (826:38): [True: 42, False: 0]
  ------------------
  827|     42|        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|     42|        if (firstIteration || (language == EShLangMesh)) {
  ------------------
  |  Branch (831:13): [True: 42, False: 0]
  |  Branch (831:31): [True: 0, False: 0]
  ------------------
  832|     42|            requiredSize = getIoArrayImplicitSize(type.getQualifier(), &featureString);
  833|     42|            if (requiredSize == 0)
  ------------------
  |  Branch (833:17): [True: 42, False: 0]
  ------------------
  834|     42|                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|     42|}
_ZNK7glslang13TParseContext22getIoArrayImplicitSizeERKNS_10TQualifierEPNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  844|     42|{
  845|     42|    int expectedSize = 0;
  846|     42|    TString str = "unknown";
  847|     42|    unsigned int maxVertices = intermediate.getVertices() != TQualifier::layoutNotSet ? intermediate.getVertices() : 0;
  ------------------
  |  Branch (847:32): [True: 0, False: 42]
  ------------------
  848|       |
  849|     42|    if (language == EShLangGeometry) {
  ------------------
  |  Branch (849:9): [True: 7, False: 35]
  ------------------
  850|      7|        expectedSize = TQualifier::mapGeometryToSize(intermediate.getInputPrimitive());
  851|      7|        str = TQualifier::getGeometryString(intermediate.getInputPrimitive());
  852|      7|    }
  853|     35|    else if (language == EShLangTessControl) {
  ------------------
  |  Branch (853:14): [True: 7, False: 28]
  ------------------
  854|      7|        expectedSize = maxVertices;
  855|      7|        str = "vertices";
  856|     28|    } else if (language == EShLangFragment) {
  ------------------
  |  Branch (856:16): [True: 0, False: 28]
  ------------------
  857|       |        // Number of vertices for Fragment shader is always three.
  858|      0|        expectedSize = 3;
  859|      0|        str = "vertices";
  860|     28|    } else if (language == EShLangMesh) {
  ------------------
  |  Branch (860:16): [True: 28, False: 0]
  ------------------
  861|     28|        unsigned int maxPrimitives =
  862|     28|            intermediate.getPrimitives() != TQualifier::layoutNotSet ? intermediate.getPrimitives() : 0;
  ------------------
  |  Branch (862:13): [True: 0, False: 28]
  ------------------
  863|     28|        if (qualifier.builtIn == EbvPrimitiveIndicesNV) {
  ------------------
  |  Branch (863:13): [True: 0, False: 28]
  ------------------
  864|      0|            expectedSize = maxPrimitives * TQualifier::mapGeometryToSize(intermediate.getOutputPrimitive());
  865|      0|            str = "max_primitives*";
  866|      0|            str += TQualifier::getGeometryString(intermediate.getOutputPrimitive());
  867|      0|        }
  868|     28|        else if (qualifier.builtIn == EbvPrimitiveTriangleIndicesEXT || qualifier.builtIn == EbvPrimitiveLineIndicesEXT ||
  ------------------
  |  Branch (868:18): [True: 0, False: 28]
  |  Branch (868:73): [True: 0, False: 28]
  ------------------
  869|     28|                 qualifier.builtIn == EbvPrimitivePointIndicesEXT) {
  ------------------
  |  Branch (869:18): [True: 0, False: 28]
  ------------------
  870|      0|            expectedSize = maxPrimitives;
  871|      0|            str = "max_primitives";
  872|      0|        }
  873|     28|        else if (qualifier.isPerPrimitive()) {
  ------------------
  |  Branch (873:18): [True: 14, False: 14]
  ------------------
  874|     14|            expectedSize = maxPrimitives;
  875|     14|            str = "max_primitives";
  876|     14|        }
  877|     14|        else {
  878|     14|            expectedSize = maxVertices;
  879|     14|            str = "max_vertices";
  880|     14|        }
  881|     28|    }
  882|     42|    if (featureString)
  ------------------
  |  Branch (882:9): [True: 42, False: 0]
  ------------------
  883|     42|        *featureString = str;
  884|     42|    return expectedSize;
  885|     42|}
_ZN7glslang13TParseContext15handleUnaryMathERKNS_10TSourceLocEPKcNS_9TOperatorEPNS_12TIntermTypedE:
  954|      6|{
  955|      6|    rValueErrorCheck(loc, str, childNode);
  956|       |
  957|      6|    bool allowed = true;
  958|      6|    if ((childNode->getType().contains16BitFloat() && !float16Arithmetic()) ||
  ------------------
  |  Branch (958:10): [True: 0, False: 6]
  |  Branch (958:55): [True: 0, False: 0]
  ------------------
  959|      6|        (childNode->getType().contains16BitInt() && !int16Arithmetic()) ||
  ------------------
  |  Branch (959:10): [True: 0, False: 6]
  |  Branch (959:53): [True: 0, False: 0]
  ------------------
  960|      6|        (childNode->getType().contains8BitInt() && !int8Arithmetic()) ||
  ------------------
  |  Branch (960:10): [True: 0, False: 6]
  |  Branch (960:52): [True: 0, False: 0]
  ------------------
  961|      6|        (childNode->getType().containsBFloat16()) ||
  ------------------
  |  Branch (961:9): [True: 0, False: 6]
  ------------------
  962|      6|        (childNode->getType().contains8BitFloat())) {
  ------------------
  |  Branch (962:9): [True: 0, False: 6]
  ------------------
  963|      0|        allowed = false;
  964|      0|    }
  965|       |
  966|      6|    TIntermTyped* result = nullptr;
  967|      6|    if (allowed)
  ------------------
  |  Branch (967:9): [True: 6, False: 0]
  ------------------
  968|      6|        result = intermediate.addUnaryMath(op, childNode, loc);
  969|       |
  970|      6|    if (result)
  ------------------
  |  Branch (970:9): [True: 6, False: 0]
  ------------------
  971|      6|        return result;
  972|      0|    else {
  973|      0|        bool enhanced = intermediate.getEnhancedMsgs();
  974|      0|        unaryOpError(loc, str, childNode->getCompleteString(enhanced));
  975|      0|    }
  976|       |
  977|      0|    return childNode;
  978|      6|}
_ZN7glslang13TParseContext24handleFunctionDeclaratorERKNS_10TSourceLocERNS_9TFunctionEb:
 1198|   104k|{
 1199|       |    // ES can't declare prototypes inside functions
 1200|   104k|    if (! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (1200:9): [True: 0, False: 104k]
  ------------------
 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|   104k|    bool builtIn;
 1216|   104k|    TSymbol* symbol = symbolTable.find(function.getMangledName(), &builtIn);
 1217|   104k|    if (symbol && symbol->getAsFunction() && builtIn)
  ------------------
  |  Branch (1217:9): [True: 802, False: 103k]
  |  Branch (1217:19): [True: 802, False: 0]
  |  Branch (1217:46): [True: 802, False: 0]
  ------------------
 1218|    802|        requireProfile(loc, ~EEsProfile, "redefinition of built-in function");
 1219|       |    // Check the validity of using spirv_literal qualifier
 1220|   393k|    for (int i = 0; i < function.getParamCount(); ++i) {
  ------------------
  |  Branch (1220:21): [True: 289k, False: 104k]
  ------------------
 1221|   289k|        if (function[i].type->getQualifier().isSpirvLiteral() && function.getBuiltInOp() != EOpSpirvInst)
  ------------------
  |  Branch (1221:13): [True: 0, False: 289k]
  |  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|   289k|    }
 1225|       |
 1226|       |    // For function declaration with SPIR-V instruction qualifier, always ignore the built-in function and
 1227|       |    // respect this redeclared one.
 1228|   104k|    if (symbol && builtIn && function.getBuiltInOp() == EOpSpirvInst)
  ------------------
  |  Branch (1228:9): [True: 802, False: 103k]
  |  Branch (1228:19): [True: 802, False: 0]
  |  Branch (1228:30): [True: 0, False: 802]
  ------------------
 1229|      0|        symbol = nullptr;
 1230|   104k|    const TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr;
  ------------------
  |  Branch (1230:32): [True: 802, False: 103k]
  ------------------
 1231|   104k|    if (prevDec) {
  ------------------
  |  Branch (1231:9): [True: 802, False: 103k]
  ------------------
 1232|    802|        if (prevDec->isPrototyped() && prototype)
  ------------------
  |  Branch (1232:13): [True: 0, False: 802]
  |  Branch (1232:40): [True: 0, False: 0]
  ------------------
 1233|      0|            profileRequires(loc, EEsProfile, 300, nullptr, "multiple prototypes for same function");
 1234|    802|        if (prevDec->getSpirvInstruction() != function.getSpirvInstruction()) {
  ------------------
  |  Branch (1234:13): [True: 0, False: 802]
  ------------------
 1235|      0|            error(loc, "overloaded functions must have the same qualifiers", function.getName().c_str(),
 1236|      0|                  "spirv_instruction");
 1237|      0|        }
 1238|    802|        bool parameterTypesDiffer = false;
 1239|  2.76k|        for (int i = 0; i < prevDec->getParamCount(); ++i) {
  ------------------
  |  Branch (1239:25): [True: 1.95k, False: 802]
  ------------------
 1240|  1.95k|            if ((*prevDec)[i].type->getQualifier().storage != function[i].type->getQualifier().storage)
  ------------------
  |  Branch (1240:17): [True: 0, False: 1.95k]
  ------------------
 1241|      0|                error(loc, "overloaded functions must have the same parameter storage qualifiers for argument", function[i].type->getStorageQualifierString(), "%d", i+1);
 1242|       |
 1243|  1.95k|            if ((*prevDec)[i].type->getQualifier().precision != function[i].type->getQualifier().precision)
  ------------------
  |  Branch (1243:17): [True: 0, False: 1.95k]
  ------------------
 1244|      0|                error(loc, "overloaded functions must have the same parameter precision qualifiers for argument", function[i].type->getPrecisionQualifierString(), "%d", i+1);
 1245|       |
 1246|  1.95k|            if (*(*prevDec)[i].type != *function[i].type)
  ------------------
  |  Branch (1246:17): [True: 0, False: 1.95k]
  ------------------
 1247|      0|                parameterTypesDiffer = true;
 1248|  1.95k|        }
 1249|    802|        if (!parameterTypesDiffer && prevDec->getType() != function.getType())
  ------------------
  |  Branch (1249:13): [True: 802, False: 0]
  |  Branch (1249:38): [True: 0, False: 802]
  ------------------
 1250|      0|            error(loc, "overloaded functions must have the same return type", function.getName().c_str(), "");
 1251|    802|    }
 1252|       |
 1253|   104k|    arrayObjectCheck(loc, function.getType(), "array in function return type");
 1254|       |
 1255|   104k|    if (prototype) {
  ------------------
  |  Branch (1255:9): [True: 104k, 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|   104k|        if (symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (1258:13): [True: 104k, False: 0]
  ------------------
 1259|   104k|            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|   104k|    }
 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|   104k|    if (! symbolTable.insert(function))
  ------------------
  |  Branch (1269:9): [True: 0, False: 104k]
  ------------------
 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|   104k|    return &function;
 1278|   104k|}
_ZN7glslang13TParseContext18handleFunctionCallERKNS_10TSourceLocEPNS_9TFunctionEP11TIntermNode:
 1383|     45|{
 1384|     45|    TIntermTyped* result = nullptr;
 1385|       |
 1386|     45|    if (spvVersion.vulkan != 0 && spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (1386:9): [True: 3, False: 42]
  |  Branch (1386:35): [True: 0, False: 3]
  ------------------
 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|     45|    if (function->getBuiltInOp() == EOpArrayLength)
  ------------------
  |  Branch (1394:9): [True: 0, False: 45]
  ------------------
 1395|      0|        result = handleLengthMethod(loc, function, arguments);
 1396|     45|    else if (function->getBuiltInOp() != EOpNull) {
  ------------------
  |  Branch (1396:14): [True: 45, False: 0]
  ------------------
 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|     45|        TType type(EbtVoid);  // use this to get the type back
 1403|     45|        if (! constructorError(loc, arguments, *function, function->getBuiltInOp(), type)) {
  ------------------
  |  Branch (1403:13): [True: 45, False: 0]
  ------------------
 1404|       |            //
 1405|       |            // It's a constructor, of type 'type'.
 1406|       |            //
 1407|     45|            result = addConstructor(loc, arguments, type);
 1408|     45|            if (result == nullptr)
  ------------------
  |  Branch (1408:17): [True: 0, False: 45]
  ------------------
 1409|      0|                error(loc, "cannot construct with these arguments", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str(), "");
 1410|     45|        }
 1411|     45|    } else {
 1412|       |        //
 1413|       |        // Find it in the symbol table.
 1414|       |        //
 1415|      0|        const TFunction* fnCandidate;
 1416|      0|        bool builtIn {false};
 1417|      0|        fnCandidate = findFunction(loc, *function, builtIn);
 1418|      0|        if (fnCandidate) {
  ------------------
  |  Branch (1418:13): [True: 0, False: 0]
  ------------------
 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|      0|    }
 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|     45|    if (result == nullptr)
  ------------------
  |  Branch (1623:9): [True: 0, False: 45]
  ------------------
 1624|      0|        result = intermediate.addConstantUnion(0.0, EbtFloat, loc);
 1625|       |
 1626|     45|    return result;
 1627|     45|}
_ZN7glslang13TParseContext21handleConstructorCallERKNS_10TSourceLocERKNS_11TPublicTypeE:
 3969|     45|{
 3970|     45|    TType type(publicType);
 3971|     45|    type.getQualifier().precision = EpqNone;
 3972|       |
 3973|     45|    if (type.isArray()) {
  ------------------
  |  Branch (3973:9): [True: 0, False: 45]
  ------------------
 3974|      0|        profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed constructor");
 3975|      0|        profileRequires(loc, EEsProfile, 300, nullptr, "arrayed constructor");
 3976|      0|    }
 3977|       |
 3978|       |    // Reuse EOpConstructTextureSampler for bindless image constructor
 3979|       |    // uvec2 imgHandle;
 3980|       |    // imageLoad(image1D(imgHandle), 0);
 3981|     45|    if (type.isImage() && extensionTurnedOn(E_GL_ARB_bindless_texture))
  ------------------
  |  Branch (3981:9): [True: 0, False: 45]
  |  Branch (3981:27): [True: 0, False: 0]
  ------------------
 3982|      0|    {
 3983|      0|        intermediate.setBindlessImageMode(currentCaller, AstRefTypeFunc);
 3984|      0|    }
 3985|       |
 3986|     45|    TOperator op = intermediate.mapTypeToConstructorOp(type);
 3987|       |
 3988|     45|    if (op == EOpNull) {
  ------------------
  |  Branch (3988:9): [True: 0, False: 45]
  ------------------
 3989|      0|      if (intermediate.getEnhancedMsgs() && type.getBasicType() == EbtSampler)
  ------------------
  |  Branch (3989:11): [True: 0, False: 0]
  |  Branch (3989:45): [True: 0, False: 0]
  ------------------
 3990|      0|            error(loc, "function not supported in this version; use texture() instead", "texture*D*", "");
 3991|      0|        else
 3992|      0|            error(loc, "cannot construct this type", type.getBasicString(), "");
 3993|      0|        op = EOpConstructFloat;
 3994|      0|        TType errorType(EbtFloat);
 3995|      0|        type.shallowCopy(errorType);
 3996|      0|    }
 3997|       |
 3998|     45|    TString empty("");
 3999|       |
 4000|     45|    return new TFunction(&empty, type, op);
 4001|     45|}
_ZN7glslang13TParseContext24handlePrecisionQualifierERKNS_10TSourceLocERNS_10TQualifierENS_19TPrecisionQualifierE:
 4005|  15.3k|{
 4006|  15.3k|    if (obeyPrecisionQualifiers())
  ------------------
  |  Branch (4006:9): [True: 2.96k, False: 12.3k]
  ------------------
 4007|  2.96k|        qualifier.precision = precision;
 4008|  15.3k|}
_ZN7glslang13TParseContext23checkPrecisionQualifierERKNS_10TSourceLocENS_19TPrecisionQualifierE:
 4013|  15.3k|{
 4014|  15.3k|    if (precisionManager.shouldWarnAboutDefaults()) {
  ------------------
  |  Branch (4014:9): [True: 0, False: 15.3k]
  ------------------
 4015|      0|        warn(loc, "all default precisions are highp; use precision statements to quiet warning, e.g.:\n"
 4016|      0|                  "         \"precision mediump int; precision highp float;\"", "", "");
 4017|      0|        precisionManager.defaultWarningGiven();
 4018|      0|    }
 4019|  15.3k|}
_ZN7glslang13TParseContext13variableCheckERPNS_12TIntermTypedE:
 4057|  3.59k|{
 4058|  3.59k|    TIntermSymbol* symbol = nodePtr->getAsSymbolNode();
 4059|  3.59k|    if (! symbol)
  ------------------
  |  Branch (4059:9): [True: 3.59k, False: 0]
  ------------------
 4060|  3.59k|        return;
 4061|       |
 4062|      0|    if (symbol->getType().getBasicType() == EbtVoid) {
  ------------------
  |  Branch (4062:9): [True: 0, False: 0]
  ------------------
 4063|      0|        const char *extraInfoFormat = "";
 4064|      0|        if (spvVersion.vulkan != 0 && symbol->getName() == "gl_VertexID") {
  ------------------
  |  Branch (4064:13): [True: 0, False: 0]
  |  Branch (4064:39): [True: 0, False: 0]
  ------------------
 4065|      0|          extraInfoFormat = "(Did you mean gl_VertexIndex?)";
 4066|      0|        } else if (spvVersion.vulkan != 0 && symbol->getName() == "gl_InstanceID") {
  ------------------
  |  Branch (4066:20): [True: 0, False: 0]
  |  Branch (4066:46): [True: 0, False: 0]
  ------------------
 4067|      0|          extraInfoFormat = "(Did you mean gl_InstanceIndex?)";
 4068|      0|        }
 4069|      0|        error(symbol->getLoc(), "undeclared identifier", symbol->getName().c_str(), extraInfoFormat);
 4070|       |
 4071|       |        // Add to symbol table to prevent future error messages on the same name
 4072|      0|        if (symbol->getName().size() > 0) {
  ------------------
  |  Branch (4072:13): [True: 0, False: 0]
  ------------------
 4073|      0|            TVariable* fakeVariable = new TVariable(&symbol->getName(), TType(EbtFloat));
 4074|      0|            symbolTable.insert(*fakeVariable);
 4075|       |
 4076|       |            // substitute a symbol node for this new variable
 4077|      0|            nodePtr = intermediate.addSymbol(*fakeVariable, symbol->getLoc());
 4078|      0|        }
 4079|      0|    } else {
 4080|      0|        switch (symbol->getQualifier().storage) {
 4081|      0|        case EvqPointCoord:
  ------------------
  |  Branch (4081:9): [True: 0, False: 0]
  ------------------
 4082|      0|            profileRequires(symbol->getLoc(), ENoProfile, 120, nullptr, "gl_PointCoord");
 4083|      0|            break;
 4084|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (4084:9): [True: 0, False: 0]
  ------------------
 4085|      0|        }
 4086|      0|    }
 4087|      0|}
_ZN7glslang13TParseContext16rValueErrorCheckERKNS_10TSourceLocEPKcPNS_12TIntermTypedE:
 4216|  1.68k|{
 4217|       |    // Let the base class check errors
 4218|  1.68k|    TParseContextBase::rValueErrorCheck(loc, op, node);
 4219|       |
 4220|  1.68k|    TIntermSymbol* symNode = node->getAsSymbolNode();
 4221|  1.68k|    if (!(symNode && symNode->getQualifier().isWriteOnly())) // base class checks
  ------------------
  |  Branch (4221:11): [True: 0, False: 1.68k]
  |  Branch (4221:22): [True: 0, False: 0]
  ------------------
 4222|  1.68k|        if (symNode && symNode->getQualifier().isExplicitInterpolation())
  ------------------
  |  Branch (4222:13): [True: 0, False: 1.68k]
  |  Branch (4222:24): [True: 0, False: 0]
  ------------------
 4223|      0|            error(loc, "can't read from explicitly-interpolated object: ", op, symNode->getName().c_str());
 4224|       |
 4225|       |    // local_size_{xyz} must be assigned or specialized before gl_WorkGroupSize can be assigned.
 4226|  1.68k|    if(node->getQualifier().builtIn == EbvWorkGroupSize &&
  ------------------
  |  Branch (4226:8): [True: 0, False: 1.68k]
  ------------------
 4227|      0|       !(intermediate.isLocalSizeSet() || intermediate.isLocalSizeSpecialized()))
  ------------------
  |  Branch (4227:10): [True: 0, False: 0]
  |  Branch (4227:43): [True: 0, False: 0]
  ------------------
 4228|      0|        error(loc, "can't read from gl_WorkGroupSize before a fixed workgroup size has been declared", op, "");
 4229|  1.68k|}
_ZN7glslang13TParseContext11globalCheckERKNS_10TSourceLocEPKc:
 4276|  16.2k|{
 4277|  16.2k|    if (! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (4277:9): [True: 0, False: 16.2k]
  ------------------
 4278|      0|        error(loc, "not allowed in nested scope", token, "");
 4279|  16.2k|}
_ZN7glslang13TParseContext18reservedErrorCheckERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 4285|  61.9k|{
 4286|       |    // "Identifiers starting with "gl_" are reserved for use by OpenGL, and may not be
 4287|       |    // declared in a shader; this results in a compile-time error."
 4288|  61.9k|    if (! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (4288:9): [True: 0, False: 61.9k]
  ------------------
 4289|       |        // The extension GL_EXT_conservative_depth allows us to declare "gl_FragDepth".
 4290|      0|        if (identifier == "gl_FragDepth" && extensionTurnedOn(E_GL_EXT_conservative_depth))
  ------------------
  |  Branch (4290:13): [True: 0, False: 0]
  |  Branch (4290:45): [True: 0, False: 0]
  ------------------
 4291|      0|            return;
 4292|       |
 4293|      0|        if (builtInName(identifier) && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics))
  ------------------
  |  Branch (4293:13): [True: 0, False: 0]
  |  Branch (4293:40): [True: 0, False: 0]
  ------------------
 4294|       |            // The extension GL_EXT_spirv_intrinsics allows us to declare identifiers starting with "gl_".
 4295|      0|            error(loc, "identifiers starting with \"gl_\" are reserved", identifier.c_str(), "");
 4296|       |
 4297|       |        // "__" are not supposed to be an error.  ES 300 (and desktop) added the clarification:
 4298|       |        // "In addition, all identifiers containing two consecutive underscores (__) are
 4299|       |        // reserved; using such a name does not itself result in an error, but may result
 4300|       |        // in undefined behavior."
 4301|       |        // however, before that, ES tests required an error.
 4302|      0|        if (identifier.find("__") != TString::npos && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics)) {
  ------------------
  |  Branch (4302:13): [True: 0, False: 0]
  |  Branch (4302:55): [True: 0, False: 0]
  ------------------
 4303|       |            // The extension GL_EXT_spirv_intrinsics allows us to declare identifiers starting with "__".
 4304|      0|            if (isEsProfile() && version < 300)
  ------------------
  |  Branch (4304:17): [True: 0, False: 0]
  |  Branch (4304:34): [True: 0, False: 0]
  ------------------
 4305|      0|                error(loc, "identifiers containing consecutive underscores (\"__\") are reserved, and an error if version < 300", identifier.c_str(), "");
 4306|      0|            else
 4307|      0|                warn(loc, "identifiers containing consecutive underscores (\"__\") are reserved", identifier.c_str(), "");
 4308|      0|        }
 4309|      0|    }
 4310|  61.9k|}
_ZN7glslang13TParseContext20reservedPpErrorCheckERKNS_10TSourceLocEPKcS5_:
 4316|      2|{
 4317|       |    // "__" are not supposed to be an error.  ES 300 (and desktop) added the clarification:
 4318|       |    // "All macro names containing two consecutive underscores ( __ ) are reserved;
 4319|       |    // defining such a name does not itself result in an error, but may result in
 4320|       |    // undefined behavior.  All macro names prefixed with "GL_" ("GL" followed by a
 4321|       |    // single underscore) are also reserved, and defining such a name results in a
 4322|       |    // compile-time error."
 4323|       |    // however, before that, ES tests required an error.
 4324|      2|    if (strncmp(identifier, "GL_", 3) == 0 && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics))
  ------------------
  |  Branch (4324:9): [True: 0, False: 2]
  |  Branch (4324:47): [True: 0, False: 0]
  ------------------
 4325|       |        // The extension GL_EXT_spirv_intrinsics allows us to declare macros prefixed with "GL_".
 4326|      0|        ppError(loc, "names beginning with \"GL_\" can't be (un)defined:", op,  identifier);
 4327|      2|    else if (strncmp(identifier, "defined", 8) == 0)
  ------------------
  |  Branch (4327:14): [True: 0, False: 2]
  ------------------
 4328|      0|        if (relaxedErrors())
  ------------------
  |  Branch (4328:13): [True: 0, False: 0]
  ------------------
 4329|      0|            ppWarn(loc, "\"defined\" is (un)defined:", op,  identifier);
 4330|      0|        else
 4331|      0|            ppError(loc, "\"defined\" can't be (un)defined:", op,  identifier);
 4332|      2|    else if (strstr(identifier, "__") != nullptr && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics)) {
  ------------------
  |  Branch (4332:14): [True: 0, False: 2]
  |  Branch (4332:53): [True: 0, False: 0]
  ------------------
 4333|       |        // The extension GL_EXT_spirv_intrinsics allows us to declare macros prefixed with "__".
 4334|      0|        if (isEsProfile() && version >= 300 &&
  ------------------
  |  Branch (4334:13): [True: 0, False: 0]
  |  Branch (4334:30): [True: 0, False: 0]
  ------------------
 4335|      0|            (strcmp(identifier, "__LINE__") == 0 ||
  ------------------
  |  Branch (4335:14): [True: 0, False: 0]
  ------------------
 4336|      0|             strcmp(identifier, "__FILE__") == 0 ||
  ------------------
  |  Branch (4336:14): [True: 0, False: 0]
  ------------------
 4337|      0|             strcmp(identifier, "__VERSION__") == 0))
  ------------------
  |  Branch (4337:14): [True: 0, False: 0]
  ------------------
 4338|      0|            ppError(loc, "predefined names can't be (un)defined:", op,  identifier);
 4339|      0|        else {
 4340|      0|            if (isEsProfile() && version < 300 && !relaxedErrors())
  ------------------
  |  Branch (4340:17): [True: 0, False: 0]
  |  Branch (4340:34): [True: 0, False: 0]
  |  Branch (4340:51): [True: 0, False: 0]
  ------------------
 4341|      0|                ppError(loc, "names containing consecutive underscores are reserved, and an error if version < 300:", op, identifier);
 4342|      0|            else
 4343|      0|                ppWarn(loc, "names containing consecutive underscores are reserved:", op, identifier);
 4344|      0|        }
 4345|      0|    }
 4346|      2|}
_ZN7glslang13TParseContext21lineContinuationCheckERKNS_10TSourceLocEb:
 4354|  3.52k|{
 4355|  3.52k|    const char* message = "line continuation";
 4356|       |
 4357|  3.52k|    bool lineContinuationAllowed = (isEsProfile() && version >= 300) ||
  ------------------
  |  Branch (4357:37): [True: 2.42k, False: 1.10k]
  |  Branch (4357:54): [True: 0, False: 2.42k]
  ------------------
 4358|  3.52k|                                   (!isEsProfile() && (version >= 420 || extensionTurnedOn(E_GL_ARB_shading_language_420pack)));
  ------------------
  |  Branch (4358:37): [True: 1.10k, False: 2.42k]
  |  Branch (4358:56): [True: 1.10k, False: 0]
  |  Branch (4358:74): [True: 0, False: 0]
  ------------------
 4359|       |
 4360|  3.52k|    if (endOfComment) {
  ------------------
  |  Branch (4360:9): [True: 3.24k, False: 286]
  ------------------
 4361|  3.24k|        if (lineContinuationAllowed)
  ------------------
  |  Branch (4361:13): [True: 855, False: 2.38k]
  ------------------
 4362|    855|            warn(loc, "used at end of comment; the following line is still part of the comment", message, "");
 4363|  2.38k|        else
 4364|  2.38k|            warn(loc, "used at end of comment, but this version does not provide line continuation", message, "");
 4365|       |
 4366|  3.24k|        return lineContinuationAllowed;
 4367|  3.24k|    }
 4368|       |
 4369|    286|    if (relaxedErrors()) {
  ------------------
  |  Branch (4369:9): [True: 56, False: 230]
  ------------------
 4370|     56|        if (! lineContinuationAllowed)
  ------------------
  |  Branch (4370:13): [True: 11, False: 45]
  ------------------
 4371|     11|            warn(loc, "not allowed in this version", message, "");
 4372|     56|        return true;
 4373|    230|    } else {
 4374|    230|        profileRequires(loc, EEsProfile, 300, nullptr, message);
 4375|    230|        profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, message);
 4376|    230|    }
 4377|       |
 4378|    230|    return lineContinuationAllowed;
 4379|    286|}
_ZN7glslang13TParseContext11builtInNameERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 4382|  5.14k|{
 4383|  5.14k|    return identifier.compare(0, 3, "gl_") == 0;
 4384|  5.14k|}
_ZN7glslang13TParseContext16constructorErrorERKNS_10TSourceLocEP11TIntermNodeRNS_9TFunctionENS_9TOperatorERNS_5TTypeE:
 4406|     45|{
 4407|       |    // See if the constructor does not establish the main type, only requalifies
 4408|       |    // it, in which case the type comes from the argument instead of from the
 4409|       |    // constructor function.
 4410|     45|    switch (op) {
 4411|      0|    case EOpConstructNonuniform:
  ------------------
  |  Branch (4411:5): [True: 0, False: 45]
  ------------------
 4412|      0|        if (node != nullptr && node->getAsTyped() != nullptr) {
  ------------------
  |  Branch (4412:13): [True: 0, False: 0]
  |  Branch (4412:32): [True: 0, False: 0]
  ------------------
 4413|      0|            type.shallowCopy(node->getAsTyped()->getType());
 4414|      0|            type.getQualifier().makeTemporary();
 4415|      0|            type.getQualifier().nonUniform = true;
 4416|      0|        }
 4417|      0|        break;
 4418|     45|    default:
  ------------------
  |  Branch (4418:5): [True: 45, False: 0]
  ------------------
 4419|     45|        type.shallowCopy(function.getType());
 4420|     45|        break;
 4421|     45|    }
 4422|       |
 4423|     45|    TString constructorString;
 4424|     45|    if (intermediate.getEnhancedMsgs())
  ------------------
  |  Branch (4424:9): [True: 0, False: 45]
  ------------------
 4425|      0|        constructorString.append(type.getCompleteString(true, false, false, true)).append(" constructor");
 4426|     45|    else
 4427|     45|        constructorString.append("constructor");
 4428|       |
 4429|       |    // See if it's a matrix
 4430|     45|    bool constructingMatrix = false;
 4431|     45|    switch (op) {
 4432|      0|    case EOpConstructTextureSampler:
  ------------------
  |  Branch (4432:5): [True: 0, False: 45]
  ------------------
 4433|      0|        return constructorTextureSamplerError(loc, function);
 4434|      0|    case EOpConstructMat2x2:
  ------------------
  |  Branch (4434:5): [True: 0, False: 45]
  ------------------
 4435|      0|    case EOpConstructMat2x3:
  ------------------
  |  Branch (4435:5): [True: 0, False: 45]
  ------------------
 4436|      0|    case EOpConstructMat2x4:
  ------------------
  |  Branch (4436:5): [True: 0, False: 45]
  ------------------
 4437|      0|    case EOpConstructMat3x2:
  ------------------
  |  Branch (4437:5): [True: 0, False: 45]
  ------------------
 4438|      0|    case EOpConstructMat3x3:
  ------------------
  |  Branch (4438:5): [True: 0, False: 45]
  ------------------
 4439|      0|    case EOpConstructMat3x4:
  ------------------
  |  Branch (4439:5): [True: 0, False: 45]
  ------------------
 4440|      0|    case EOpConstructMat4x2:
  ------------------
  |  Branch (4440:5): [True: 0, False: 45]
  ------------------
 4441|      0|    case EOpConstructMat4x3:
  ------------------
  |  Branch (4441:5): [True: 0, False: 45]
  ------------------
 4442|      0|    case EOpConstructMat4x4:
  ------------------
  |  Branch (4442:5): [True: 0, False: 45]
  ------------------
 4443|      0|    case EOpConstructDMat2x2:
  ------------------
  |  Branch (4443:5): [True: 0, False: 45]
  ------------------
 4444|      0|    case EOpConstructDMat2x3:
  ------------------
  |  Branch (4444:5): [True: 0, False: 45]
  ------------------
 4445|      0|    case EOpConstructDMat2x4:
  ------------------
  |  Branch (4445:5): [True: 0, False: 45]
  ------------------
 4446|      0|    case EOpConstructDMat3x2:
  ------------------
  |  Branch (4446:5): [True: 0, False: 45]
  ------------------
 4447|      0|    case EOpConstructDMat3x3:
  ------------------
  |  Branch (4447:5): [True: 0, False: 45]
  ------------------
 4448|      0|    case EOpConstructDMat3x4:
  ------------------
  |  Branch (4448:5): [True: 0, False: 45]
  ------------------
 4449|      0|    case EOpConstructDMat4x2:
  ------------------
  |  Branch (4449:5): [True: 0, False: 45]
  ------------------
 4450|      0|    case EOpConstructDMat4x3:
  ------------------
  |  Branch (4450:5): [True: 0, False: 45]
  ------------------
 4451|      0|    case EOpConstructDMat4x4:
  ------------------
  |  Branch (4451:5): [True: 0, False: 45]
  ------------------
 4452|      0|    case EOpConstructF16Mat2x2:
  ------------------
  |  Branch (4452:5): [True: 0, False: 45]
  ------------------
 4453|      0|    case EOpConstructF16Mat2x3:
  ------------------
  |  Branch (4453:5): [True: 0, False: 45]
  ------------------
 4454|      0|    case EOpConstructF16Mat2x4:
  ------------------
  |  Branch (4454:5): [True: 0, False: 45]
  ------------------
 4455|      0|    case EOpConstructF16Mat3x2:
  ------------------
  |  Branch (4455:5): [True: 0, False: 45]
  ------------------
 4456|      0|    case EOpConstructF16Mat3x3:
  ------------------
  |  Branch (4456:5): [True: 0, False: 45]
  ------------------
 4457|      0|    case EOpConstructF16Mat3x4:
  ------------------
  |  Branch (4457:5): [True: 0, False: 45]
  ------------------
 4458|      0|    case EOpConstructF16Mat4x2:
  ------------------
  |  Branch (4458:5): [True: 0, False: 45]
  ------------------
 4459|      0|    case EOpConstructF16Mat4x3:
  ------------------
  |  Branch (4459:5): [True: 0, False: 45]
  ------------------
 4460|      0|    case EOpConstructF16Mat4x4:
  ------------------
  |  Branch (4460:5): [True: 0, False: 45]
  ------------------
 4461|      0|        constructingMatrix = true;
 4462|      0|        break;
 4463|     45|    default:
  ------------------
  |  Branch (4463:5): [True: 45, False: 0]
  ------------------
 4464|     45|        break;
 4465|     45|    }
 4466|       |
 4467|       |    //
 4468|       |    // Walk the arguments for first-pass checks and collection of information.
 4469|       |    //
 4470|       |
 4471|     45|    int size = 0;
 4472|     45|    bool constType = true;
 4473|     45|    bool specConstType = false;   // value is only valid if constType is true
 4474|     45|    bool full = false;
 4475|     45|    bool overFull = false;
 4476|     45|    bool matrixInMatrix = false;
 4477|     45|    bool arrayArg = false;
 4478|     45|    bool floatArgument = false;
 4479|     45|    bool intArgument = false;
 4480|    180|    for (int arg = 0; arg < function.getParamCount(); ++arg) {
  ------------------
  |  Branch (4480:23): [True: 135, False: 45]
  ------------------
 4481|    135|        if (function[arg].type->isArray()) {
  ------------------
  |  Branch (4481:13): [True: 0, False: 135]
  ------------------
 4482|      0|            if (function[arg].type->isUnsizedArray()) {
  ------------------
  |  Branch (4482:17): [True: 0, False: 0]
  ------------------
 4483|       |                // Can't construct from an unsized array.
 4484|      0|                error(loc, "array argument must be sized", constructorString.c_str(), "");
 4485|      0|                return true;
 4486|      0|            }
 4487|      0|            arrayArg = true;
 4488|      0|        }
 4489|    135|        if (constructingMatrix && function[arg].type->isMatrix())
  ------------------
  |  Branch (4489:13): [True: 0, False: 135]
  |  Branch (4489:35): [True: 0, False: 0]
  ------------------
 4490|      0|            matrixInMatrix = true;
 4491|       |
 4492|       |        // 'full' will go to true when enough args have been seen.  If we loop
 4493|       |        // again, there is an extra argument.
 4494|    135|        if (full) {
  ------------------
  |  Branch (4494:13): [True: 0, False: 135]
  ------------------
 4495|       |            // For vectors and matrices, it's okay to have too many components
 4496|       |            // available, but not okay to have unused arguments.
 4497|      0|            overFull = true;
 4498|      0|        }
 4499|       |
 4500|    135|        size += function[arg].type->computeNumComponents();
 4501|    135|        if (op != EOpConstructStruct && ! type.isArray() && size >= type.computeNumComponents())
  ------------------
  |  Branch (4501:13): [True: 135, False: 0]
  |  Branch (4501:41): [True: 135, False: 0]
  |  Branch (4501:61): [True: 45, False: 90]
  ------------------
 4502|     45|            full = true;
 4503|       |
 4504|    135|        if (! function[arg].type->getQualifier().isConstant())
  ------------------
  |  Branch (4504:13): [True: 0, False: 135]
  ------------------
 4505|      0|            constType = false;
 4506|    135|        if (function[arg].type->getQualifier().isSpecConstant())
  ------------------
  |  Branch (4506:13): [True: 0, False: 135]
  ------------------
 4507|      0|            specConstType = true;
 4508|    135|        if (function[arg].type->isFloatingDomain())
  ------------------
  |  Branch (4508:13): [True: 0, False: 135]
  ------------------
 4509|      0|            floatArgument = true;
 4510|    135|        if (function[arg].type->isIntegerDomain())
  ------------------
  |  Branch (4510:13): [True: 135, False: 0]
  ------------------
 4511|    135|            intArgument = true;
 4512|    135|        if (type.isStruct()) {
  ------------------
  |  Branch (4512:13): [True: 0, False: 135]
  ------------------
 4513|      0|            if (function[arg].type->contains16BitFloat()) {
  ------------------
  |  Branch (4513:17): [True: 0, False: 0]
  ------------------
 4514|      0|                requireFloat16Arithmetic(loc, constructorString.c_str(), "can't construct structure containing 16-bit type");
 4515|      0|            }
 4516|      0|            if (function[arg].type->contains16BitInt()) {
  ------------------
  |  Branch (4516:17): [True: 0, False: 0]
  ------------------
 4517|      0|                requireInt16Arithmetic(loc, constructorString.c_str(), "can't construct structure containing 16-bit type");
 4518|      0|            }
 4519|      0|            if (function[arg].type->contains8BitInt()) {
  ------------------
  |  Branch (4519:17): [True: 0, False: 0]
  ------------------
 4520|      0|                requireInt8Arithmetic(loc, constructorString.c_str(), "can't construct structure containing 8-bit type");
 4521|      0|            }
 4522|      0|        }
 4523|    135|    }
 4524|     45|    if (op == EOpConstructNonuniform)
  ------------------
  |  Branch (4524:9): [True: 0, False: 45]
  ------------------
 4525|      0|        constType = false;
 4526|       |
 4527|     45|    switch (op) {
 4528|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (4528:5): [True: 0, False: 45]
  ------------------
 4529|      0|    case EOpConstructF16Vec2:
  ------------------
  |  Branch (4529:5): [True: 0, False: 45]
  ------------------
 4530|      0|    case EOpConstructF16Vec3:
  ------------------
  |  Branch (4530:5): [True: 0, False: 45]
  ------------------
 4531|      0|    case EOpConstructF16Vec4:
  ------------------
  |  Branch (4531:5): [True: 0, False: 45]
  ------------------
 4532|      0|        if (type.isArray())
  ------------------
  |  Branch (4532:13): [True: 0, False: 0]
  ------------------
 4533|      0|            requireFloat16Arithmetic(loc, constructorString.c_str(), "16-bit arrays not supported");
 4534|      0|        if (type.isVector() && function.getParamCount() != 1)
  ------------------
  |  Branch (4534:13): [True: 0, False: 0]
  |  Branch (4534:32): [True: 0, False: 0]
  ------------------
 4535|      0|            requireFloat16Arithmetic(loc, constructorString.c_str(), "16-bit vectors only take vector types");
 4536|      0|        break;
 4537|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (4537:5): [True: 0, False: 45]
  ------------------
 4538|      0|    case EOpConstructU16Vec2:
  ------------------
  |  Branch (4538:5): [True: 0, False: 45]
  ------------------
 4539|      0|    case EOpConstructU16Vec3:
  ------------------
  |  Branch (4539:5): [True: 0, False: 45]
  ------------------
 4540|      0|    case EOpConstructU16Vec4:
  ------------------
  |  Branch (4540:5): [True: 0, False: 45]
  ------------------
 4541|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (4541:5): [True: 0, False: 45]
  ------------------
 4542|      0|    case EOpConstructI16Vec2:
  ------------------
  |  Branch (4542:5): [True: 0, False: 45]
  ------------------
 4543|      0|    case EOpConstructI16Vec3:
  ------------------
  |  Branch (4543:5): [True: 0, False: 45]
  ------------------
 4544|      0|    case EOpConstructI16Vec4:
  ------------------
  |  Branch (4544:5): [True: 0, False: 45]
  ------------------
 4545|      0|        if (type.isArray())
  ------------------
  |  Branch (4545:13): [True: 0, False: 0]
  ------------------
 4546|      0|            requireInt16Arithmetic(loc, constructorString.c_str(), "16-bit arrays not supported");
 4547|      0|        if (type.isVector() && function.getParamCount() != 1)
  ------------------
  |  Branch (4547:13): [True: 0, False: 0]
  |  Branch (4547:32): [True: 0, False: 0]
  ------------------
 4548|      0|            requireInt16Arithmetic(loc, constructorString.c_str(), "16-bit vectors only take vector types");
 4549|      0|        break;
 4550|      0|    case EOpConstructUint8:
  ------------------
  |  Branch (4550:5): [True: 0, False: 45]
  ------------------
 4551|      0|    case EOpConstructU8Vec2:
  ------------------
  |  Branch (4551:5): [True: 0, False: 45]
  ------------------
 4552|      0|    case EOpConstructU8Vec3:
  ------------------
  |  Branch (4552:5): [True: 0, False: 45]
  ------------------
 4553|      0|    case EOpConstructU8Vec4:
  ------------------
  |  Branch (4553:5): [True: 0, False: 45]
  ------------------
 4554|      0|    case EOpConstructInt8:
  ------------------
  |  Branch (4554:5): [True: 0, False: 45]
  ------------------
 4555|      0|    case EOpConstructI8Vec2:
  ------------------
  |  Branch (4555:5): [True: 0, False: 45]
  ------------------
 4556|      0|    case EOpConstructI8Vec3:
  ------------------
  |  Branch (4556:5): [True: 0, False: 45]
  ------------------
 4557|      0|    case EOpConstructI8Vec4:
  ------------------
  |  Branch (4557:5): [True: 0, False: 45]
  ------------------
 4558|      0|        if (type.isArray())
  ------------------
  |  Branch (4558:13): [True: 0, False: 0]
  ------------------
 4559|      0|            requireInt8Arithmetic(loc, constructorString.c_str(), "8-bit arrays not supported");
 4560|      0|        if (type.isVector() && function.getParamCount() != 1)
  ------------------
  |  Branch (4560:13): [True: 0, False: 0]
  |  Branch (4560:32): [True: 0, False: 0]
  ------------------
 4561|      0|            requireInt8Arithmetic(loc, constructorString.c_str(), "8-bit vectors only take vector types");
 4562|      0|        break;
 4563|     45|    default:
  ------------------
  |  Branch (4563:5): [True: 45, False: 0]
  ------------------
 4564|     45|        break;
 4565|     45|    }
 4566|       |
 4567|       |    // inherit constness from children
 4568|     45|    if (constType) {
  ------------------
  |  Branch (4568:9): [True: 45, False: 0]
  ------------------
 4569|     45|        bool makeSpecConst;
 4570|       |        // Finish pinning down spec-const semantics
 4571|     45|        if (specConstType) {
  ------------------
  |  Branch (4571:13): [True: 0, False: 45]
  ------------------
 4572|      0|            switch (op) {
 4573|      0|            case EOpConstructInt8:
  ------------------
  |  Branch (4573:13): [True: 0, False: 0]
  ------------------
 4574|      0|            case EOpConstructInt:
  ------------------
  |  Branch (4574:13): [True: 0, False: 0]
  ------------------
 4575|      0|            case EOpConstructUint:
  ------------------
  |  Branch (4575:13): [True: 0, False: 0]
  ------------------
 4576|      0|            case EOpConstructBool:
  ------------------
  |  Branch (4576:13): [True: 0, False: 0]
  ------------------
 4577|      0|            case EOpConstructBVec2:
  ------------------
  |  Branch (4577:13): [True: 0, False: 0]
  ------------------
 4578|      0|            case EOpConstructBVec3:
  ------------------
  |  Branch (4578:13): [True: 0, False: 0]
  ------------------
 4579|      0|            case EOpConstructBVec4:
  ------------------
  |  Branch (4579:13): [True: 0, False: 0]
  ------------------
 4580|      0|            case EOpConstructIVec2:
  ------------------
  |  Branch (4580:13): [True: 0, False: 0]
  ------------------
 4581|      0|            case EOpConstructIVec3:
  ------------------
  |  Branch (4581:13): [True: 0, False: 0]
  ------------------
 4582|      0|            case EOpConstructIVec4:
  ------------------
  |  Branch (4582:13): [True: 0, False: 0]
  ------------------
 4583|      0|            case EOpConstructUVec2:
  ------------------
  |  Branch (4583:13): [True: 0, False: 0]
  ------------------
 4584|      0|            case EOpConstructUVec3:
  ------------------
  |  Branch (4584:13): [True: 0, False: 0]
  ------------------
 4585|      0|            case EOpConstructUVec4:
  ------------------
  |  Branch (4585:13): [True: 0, False: 0]
  ------------------
 4586|      0|            case EOpConstructUint8:
  ------------------
  |  Branch (4586:13): [True: 0, False: 0]
  ------------------
 4587|      0|            case EOpConstructInt16:
  ------------------
  |  Branch (4587:13): [True: 0, False: 0]
  ------------------
 4588|      0|            case EOpConstructUint16:
  ------------------
  |  Branch (4588:13): [True: 0, False: 0]
  ------------------
 4589|      0|            case EOpConstructInt64:
  ------------------
  |  Branch (4589:13): [True: 0, False: 0]
  ------------------
 4590|      0|            case EOpConstructUint64:
  ------------------
  |  Branch (4590:13): [True: 0, False: 0]
  ------------------
 4591|      0|            case EOpConstructI8Vec2:
  ------------------
  |  Branch (4591:13): [True: 0, False: 0]
  ------------------
 4592|      0|            case EOpConstructI8Vec3:
  ------------------
  |  Branch (4592:13): [True: 0, False: 0]
  ------------------
 4593|      0|            case EOpConstructI8Vec4:
  ------------------
  |  Branch (4593:13): [True: 0, False: 0]
  ------------------
 4594|      0|            case EOpConstructU8Vec2:
  ------------------
  |  Branch (4594:13): [True: 0, False: 0]
  ------------------
 4595|      0|            case EOpConstructU8Vec3:
  ------------------
  |  Branch (4595:13): [True: 0, False: 0]
  ------------------
 4596|      0|            case EOpConstructU8Vec4:
  ------------------
  |  Branch (4596:13): [True: 0, False: 0]
  ------------------
 4597|      0|            case EOpConstructI16Vec2:
  ------------------
  |  Branch (4597:13): [True: 0, False: 0]
  ------------------
 4598|      0|            case EOpConstructI16Vec3:
  ------------------
  |  Branch (4598:13): [True: 0, False: 0]
  ------------------
 4599|      0|            case EOpConstructI16Vec4:
  ------------------
  |  Branch (4599:13): [True: 0, False: 0]
  ------------------
 4600|      0|            case EOpConstructU16Vec2:
  ------------------
  |  Branch (4600:13): [True: 0, False: 0]
  ------------------
 4601|      0|            case EOpConstructU16Vec3:
  ------------------
  |  Branch (4601:13): [True: 0, False: 0]
  ------------------
 4602|      0|            case EOpConstructU16Vec4:
  ------------------
  |  Branch (4602:13): [True: 0, False: 0]
  ------------------
 4603|      0|            case EOpConstructI64Vec2:
  ------------------
  |  Branch (4603:13): [True: 0, False: 0]
  ------------------
 4604|      0|            case EOpConstructI64Vec3:
  ------------------
  |  Branch (4604:13): [True: 0, False: 0]
  ------------------
 4605|      0|            case EOpConstructI64Vec4:
  ------------------
  |  Branch (4605:13): [True: 0, False: 0]
  ------------------
 4606|      0|            case EOpConstructU64Vec2:
  ------------------
  |  Branch (4606:13): [True: 0, False: 0]
  ------------------
 4607|      0|            case EOpConstructU64Vec3:
  ------------------
  |  Branch (4607:13): [True: 0, False: 0]
  ------------------
 4608|      0|            case EOpConstructU64Vec4:
  ------------------
  |  Branch (4608:13): [True: 0, False: 0]
  ------------------
 4609|       |                // This was the list of valid ones, if they aren't converting from float
 4610|       |                // and aren't making an array.
 4611|      0|                makeSpecConst = ! floatArgument && ! type.isArray();
  ------------------
  |  Branch (4611:33): [True: 0, False: 0]
  |  Branch (4611:52): [True: 0, False: 0]
  ------------------
 4612|      0|                break;
 4613|       |
 4614|      0|            case EOpConstructVec2:
  ------------------
  |  Branch (4614:13): [True: 0, False: 0]
  ------------------
 4615|      0|            case EOpConstructVec3:
  ------------------
  |  Branch (4615:13): [True: 0, False: 0]
  ------------------
 4616|      0|            case EOpConstructVec4:
  ------------------
  |  Branch (4616:13): [True: 0, False: 0]
  ------------------
 4617|       |                // This was the list of valid ones, if they aren't converting from int
 4618|       |                // and aren't making an array.
 4619|      0|                makeSpecConst = ! intArgument && !type.isArray();
  ------------------
  |  Branch (4619:33): [True: 0, False: 0]
  |  Branch (4619:50): [True: 0, False: 0]
  ------------------
 4620|      0|                break;
 4621|       |
 4622|      0|            case EOpConstructCooperativeMatrixNV:
  ------------------
  |  Branch (4622:13): [True: 0, False: 0]
  ------------------
 4623|      0|            case EOpConstructCooperativeMatrixKHR:
  ------------------
  |  Branch (4623:13): [True: 0, False: 0]
  ------------------
 4624|      0|            case EOpConstructStruct:
  ------------------
  |  Branch (4624:13): [True: 0, False: 0]
  ------------------
 4625|      0|                {
 4626|      0|                    const char *specConstantCompositeExt[] = { E_GL_EXT_spec_constant_composites };
 4627|      0|                    if (checkExtensionsRequested(loc, 1, specConstantCompositeExt, "spec constant aggregate constructor")) {
  ------------------
  |  Branch (4627:25): [True: 0, False: 0]
  ------------------
 4628|      0|                        makeSpecConst = true;
 4629|      0|                    } else {
 4630|      0|                        makeSpecConst = false;
 4631|      0|                    }
 4632|      0|                }
 4633|      0|                break;
 4634|       |
 4635|      0|            default:
  ------------------
  |  Branch (4635:13): [True: 0, False: 0]
  ------------------
 4636|       |                // anything else wasn't white-listed in the spec as a conversion
 4637|      0|                makeSpecConst = false;
 4638|      0|                break;
 4639|      0|            }
 4640|      0|        } else
 4641|     45|            makeSpecConst = false;
 4642|       |
 4643|     45|        if (makeSpecConst)
  ------------------
  |  Branch (4643:13): [True: 0, False: 45]
  ------------------
 4644|      0|            type.getQualifier().makeSpecConstant();
 4645|     45|        else if (specConstType)
  ------------------
  |  Branch (4645:18): [True: 0, False: 45]
  ------------------
 4646|      0|            type.getQualifier().makeTemporary();
 4647|     45|        else
 4648|     45|            type.getQualifier().storage = EvqConst;
 4649|     45|    }
 4650|       |
 4651|     45|    if (type.isArray()) {
  ------------------
  |  Branch (4651:9): [True: 0, False: 45]
  ------------------
 4652|      0|        if (function.getParamCount() == 0) {
  ------------------
  |  Branch (4652:13): [True: 0, False: 0]
  ------------------
 4653|      0|            error(loc, "array constructor must have at least one argument", constructorString.c_str(), "");
 4654|      0|            return true;
 4655|      0|        }
 4656|       |
 4657|      0|        if (type.isUnsizedArray()) {
  ------------------
  |  Branch (4657:13): [True: 0, False: 0]
  ------------------
 4658|       |            // auto adapt the constructor type to the number of arguments
 4659|      0|            type.changeOuterArraySize(function.getParamCount());
 4660|      0|        } else if (type.getOuterArraySize() != function.getParamCount()) {
  ------------------
  |  Branch (4660:20): [True: 0, False: 0]
  ------------------
 4661|      0|            error(loc, "array constructor needs one argument per array element", constructorString.c_str(), "");
 4662|      0|            return true;
 4663|      0|        }
 4664|       |
 4665|      0|        if (type.isArrayOfArrays()) {
  ------------------
  |  Branch (4665:13): [True: 0, False: 0]
  ------------------
 4666|       |            // Types have to match, but we're still making the type.
 4667|       |            // Finish making the type, and the comparison is done later
 4668|       |            // when checking for conversion.
 4669|      0|            TArraySizes& arraySizes = *type.getArraySizes();
 4670|       |
 4671|       |            // At least the dimensionalities have to match.
 4672|      0|            if (! function[0].type->isArray() ||
  ------------------
  |  Branch (4672:17): [True: 0, False: 0]
  ------------------
 4673|      0|                    arraySizes.getNumDims() != function[0].type->getArraySizes()->getNumDims() + 1) {
  ------------------
  |  Branch (4673:21): [True: 0, False: 0]
  ------------------
 4674|      0|                error(loc, "array constructor argument not correct type to construct array element", constructorString.c_str(), "");
 4675|      0|                return true;
 4676|      0|            }
 4677|       |
 4678|      0|            if (arraySizes.isInnerUnsized()) {
  ------------------
  |  Branch (4678:17): [True: 0, False: 0]
  ------------------
 4679|       |                // "Arrays of arrays ..., and the size for any dimension is optional"
 4680|       |                // That means we need to adopt (from the first argument) the other array sizes into the type.
 4681|      0|                for (int d = 1; d < arraySizes.getNumDims(); ++d) {
  ------------------
  |  Branch (4681:33): [True: 0, False: 0]
  ------------------
 4682|      0|                    if (arraySizes.getDimSize(d) == UnsizedArraySize) {
  ------------------
  |  Branch (4682:25): [True: 0, False: 0]
  ------------------
 4683|      0|                        arraySizes.setDimSize(d, function[0].type->getArraySizes()->getDimSize(d - 1));
 4684|      0|                    }
 4685|      0|                }
 4686|      0|            }
 4687|      0|        }
 4688|      0|    }
 4689|       |
 4690|     45|    if (arrayArg && op != EOpConstructStruct && ! type.isArrayOfArrays()) {
  ------------------
  |  Branch (4690:9): [True: 0, False: 45]
  |  Branch (4690:21): [True: 0, False: 0]
  |  Branch (4690:49): [True: 0, False: 0]
  ------------------
 4691|      0|        error(loc, "constructing non-array constituent from array argument", constructorString.c_str(), "");
 4692|      0|        return true;
 4693|      0|    }
 4694|       |
 4695|     45|    if (matrixInMatrix && ! type.isArray()) {
  ------------------
  |  Branch (4695:9): [True: 0, False: 45]
  |  Branch (4695:27): [True: 0, False: 0]
  ------------------
 4696|      0|        profileRequires(loc, ENoProfile, 120, nullptr, "constructing matrix from matrix");
 4697|       |
 4698|       |        // "If a matrix argument is given to a matrix constructor,
 4699|       |        // it is a compile-time error to have any other arguments."
 4700|      0|        if (function.getParamCount() != 1)
  ------------------
  |  Branch (4700:13): [True: 0, False: 0]
  ------------------
 4701|      0|            error(loc, "matrix constructed from matrix can only have one argument", constructorString.c_str(), "");
 4702|      0|        return false;
 4703|      0|    }
 4704|       |
 4705|     45|    if (overFull) {
  ------------------
  |  Branch (4705:9): [True: 0, False: 45]
  ------------------
 4706|      0|        error(loc, "too many arguments", constructorString.c_str(), "");
 4707|      0|        return true;
 4708|      0|    }
 4709|       |
 4710|     45|    if (op == EOpConstructStruct && ! type.isArray() && (int)type.getStruct()->size() != function.getParamCount()) {
  ------------------
  |  Branch (4710:9): [True: 0, False: 45]
  |  Branch (4710:37): [True: 0, False: 0]
  |  Branch (4710:57): [True: 0, False: 0]
  ------------------
 4711|      0|        error(loc, "Number of constructor parameters does not match the number of structure fields", constructorString.c_str(), "");
 4712|      0|        return true;
 4713|      0|    }
 4714|       |
 4715|     45|    if (type.isLongVector() && !isValidLongVectorElseError(loc, type)) {
  ------------------
  |  Branch (4715:9): [True: 0, False: 45]
  |  Branch (4715:32): [True: 0, False: 0]
  ------------------
 4716|      0|        return true;
 4717|      0|    }
 4718|       |
 4719|     45|    if ((op != EOpConstructStruct && size != 1 && size < type.computeNumComponents()) ||
  ------------------
  |  Branch (4719:10): [True: 45, False: 0]
  |  Branch (4719:38): [True: 45, False: 0]
  |  Branch (4719:51): [True: 0, False: 45]
  ------------------
 4720|     45|        (op == EOpConstructStruct && size < type.computeNumComponents())) {
  ------------------
  |  Branch (4720:10): [True: 0, False: 45]
  |  Branch (4720:38): [True: 0, False: 0]
  ------------------
 4721|      0|        error(loc, "not enough data provided for construction", constructorString.c_str(), "");
 4722|      0|        return true;
 4723|      0|    }
 4724|       |
 4725|     45|    if (type.isCoopMat() && function.getParamCount() != 1) {
  ------------------
  |  Branch (4725:9): [True: 0, False: 45]
  |  Branch (4725:29): [True: 0, False: 0]
  ------------------
 4726|      0|        error(loc, "wrong number of arguments", constructorString.c_str(), "");
 4727|      0|        return true;
 4728|      0|    }
 4729|     45|    if (type.isCoopMat() &&
  ------------------
  |  Branch (4729:9): [True: 0, False: 45]
  ------------------
 4730|      0|        !(function[0].type->isScalar() || function[0].type->isCoopMat())) {
  ------------------
  |  Branch (4730:11): [True: 0, False: 0]
  |  Branch (4730:43): [True: 0, False: 0]
  ------------------
 4731|      0|        error(loc, "Cooperative matrix constructor argument must be scalar or cooperative matrix", constructorString.c_str(), "");
 4732|      0|        return true;
 4733|      0|    }
 4734|       |
 4735|     45|    TIntermTyped* typed = node->getAsTyped();
 4736|     45|    if (type.isCoopMat() && typed->getType().isCoopMat() &&
  ------------------
  |  Branch (4736:9): [True: 0, False: 45]
  |  Branch (4736:29): [True: 0, False: 0]
  ------------------
 4737|      0|        ((extensionTurnedOn(E_GL_NV_cooperative_matrix2) && !type.sameCoopMatShape(typed->getType())) ||
  ------------------
  |  Branch (4737:11): [True: 0, False: 0]
  |  Branch (4737:61): [True: 0, False: 0]
  ------------------
 4738|      0|         (!extensionTurnedOn(E_GL_NV_cooperative_matrix2) && !type.sameCoopMatShapeAndUse(typed->getType())))) {
  ------------------
  |  Branch (4738:11): [True: 0, False: 0]
  |  Branch (4738:62): [True: 0, False: 0]
  ------------------
 4739|      0|        error(loc, "Cooperative matrix type parameters mismatch", constructorString.c_str(), "");
 4740|      0|        return true;
 4741|      0|    }
 4742|       |
 4743|     45|    if (typed == nullptr) {
  ------------------
  |  Branch (4743:9): [True: 0, False: 45]
  ------------------
 4744|      0|        error(loc, "constructor argument does not have a type", constructorString.c_str(), "");
 4745|      0|        return true;
 4746|      0|    }
 4747|     45|    if (op != EOpConstructStruct && op != EOpConstructNonuniform && typed->getBasicType() == EbtSampler) {
  ------------------
  |  Branch (4747:9): [True: 45, False: 0]
  |  Branch (4747:37): [True: 45, False: 0]
  |  Branch (4747:69): [True: 0, False: 45]
  ------------------
 4748|      0|        if (op == EOpConstructUVec2 && extensionTurnedOn(E_GL_ARB_bindless_texture)) {
  ------------------
  |  Branch (4748:13): [True: 0, False: 0]
  |  Branch (4748:40): [True: 0, False: 0]
  ------------------
 4749|      0|            intermediate.setBindlessTextureMode(currentCaller, AstRefTypeFunc);
 4750|      0|        }
 4751|      0|        else {
 4752|      0|            error(loc, "cannot convert a sampler", constructorString.c_str(), "");
 4753|      0|            return true;
 4754|      0|        }
 4755|      0|    }
 4756|     45|    if (op != EOpConstructStruct && typed->isAtomic()) {
  ------------------
  |  Branch (4756:9): [True: 45, False: 0]
  |  Branch (4756:37): [True: 0, False: 45]
  ------------------
 4757|      0|        error(loc, "cannot convert an atomic_uint", constructorString.c_str(), "");
 4758|      0|        return true;
 4759|      0|    }
 4760|     45|    if (typed->getBasicType() == EbtVoid) {
  ------------------
  |  Branch (4760:9): [True: 0, False: 45]
  ------------------
 4761|      0|        error(loc, "cannot convert a void", constructorString.c_str(), "");
 4762|      0|        return true;
 4763|      0|    }
 4764|       |
 4765|     45|    return false;
 4766|     45|}
_ZN7glslang13TParseContext14voidErrorCheckERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEENS_10TBasicTypeE:
 4854|  5.81k|{
 4855|  5.81k|    if (basicType == EbtVoid) {
  ------------------
  |  Branch (4855:9): [True: 0, False: 5.81k]
  ------------------
 4856|      0|        error(loc, "illegal use of type 'void'", identifier.c_str(), "");
 4857|      0|        return true;
 4858|      0|    }
 4859|       |
 4860|  5.81k|    return false;
 4861|  5.81k|}
_ZN7glslang13TParseContext12samplerCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEEPNS_12TIntermTypedE:
 4878|  5.14k|{
 4879|       |    // Check that the appropriate extension is enabled if external sampler is used.
 4880|       |    // There are two extensions. The correct one must be used based on GLSL version.
 4881|  5.14k|    if (type.getBasicType() == EbtSampler && type.getSampler().isExternal()) {
  ------------------
  |  Branch (4881:9): [True: 0, False: 5.14k]
  |  Branch (4881:46): [True: 0, False: 0]
  ------------------
 4882|      0|        if (version < 300) {
  ------------------
  |  Branch (4882:13): [True: 0, False: 0]
  ------------------
 4883|      0|            requireExtensions(loc, 1, &E_GL_OES_EGL_image_external, "samplerExternalOES");
 4884|      0|        } else {
 4885|      0|            requireExtensions(loc, 1, &E_GL_OES_EGL_image_external_essl3, "samplerExternalOES");
 4886|      0|        }
 4887|      0|    }
 4888|  5.14k|    if (type.getSampler().isYuv()) {
  ------------------
  |  Branch (4888:9): [True: 0, False: 5.14k]
  ------------------
 4889|      0|        requireExtensions(loc, 1, &E_GL_EXT_YUV_target, "__samplerExternal2DY2YEXT");
 4890|      0|    }
 4891|       |
 4892|  5.14k|    if (type.getQualifier().storage == EvqUniform)
  ------------------
  |  Branch (4892:9): [True: 188, False: 4.95k]
  ------------------
 4893|    188|        return;
 4894|       |
 4895|  4.95k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtSampler)) {
  ------------------
  |  Branch (4895:9): [True: 0, False: 4.95k]
  |  Branch (4895:45): [True: 0, False: 0]
  ------------------
 4896|       |        // For bindless texture, sampler can be declared as an struct member
 4897|      0|        if (extensionTurnedOn(E_GL_ARB_bindless_texture)) {
  ------------------
  |  Branch (4897:13): [True: 0, False: 0]
  ------------------
 4898|      0|            if (type.getSampler().isImage())
  ------------------
  |  Branch (4898:17): [True: 0, False: 0]
  ------------------
 4899|      0|                intermediate.setBindlessImageMode(currentCaller, AstRefTypeVar);
 4900|      0|            else
 4901|      0|                intermediate.setBindlessTextureMode(currentCaller, AstRefTypeVar);
 4902|      0|        }
 4903|      0|        else {
 4904|      0|            error(loc, "non-uniform struct contains a sampler or image:", type.getBasicTypeString().c_str(), identifier.c_str());
 4905|      0|        }
 4906|      0|    }
 4907|  4.95k|    else if (type.getBasicType() == EbtSampler && type.getQualifier().storage != EvqUniform) {
  ------------------
  |  Branch (4907:14): [True: 0, False: 4.95k]
  |  Branch (4907:51): [True: 0, False: 0]
  ------------------
 4908|       |        // For bindless texture, sampler can be declared as an input/output/block member
 4909|      0|        if (extensionTurnedOn(E_GL_ARB_bindless_texture)) {
  ------------------
  |  Branch (4909:13): [True: 0, False: 0]
  ------------------
 4910|      0|            if (type.getSampler().isImage())
  ------------------
  |  Branch (4910:17): [True: 0, False: 0]
  ------------------
 4911|      0|                intermediate.setBindlessImageMode(currentCaller, AstRefTypeVar);
 4912|      0|            else
 4913|      0|                intermediate.setBindlessTextureMode(currentCaller, AstRefTypeVar);
 4914|      0|        }
 4915|      0|        else {
 4916|       |            // non-uniform sampler
 4917|       |            // not yet:  okay if it has an initializer
 4918|       |            // if (! initializer)
 4919|      0|            if (type.getSampler().isAttachmentEXT() && type.getQualifier().storage != EvqTileImageEXT)
  ------------------
  |  Branch (4919:17): [True: 0, False: 0]
  |  Branch (4919:56): [True: 0, False: 0]
  ------------------
 4920|      0|                 error(loc, "can only be used in tileImageEXT variables or function parameters:", type.getBasicTypeString().c_str(), identifier.c_str());
 4921|      0|            else if (type.getQualifier().storage != EvqTileImageEXT)
  ------------------
  |  Branch (4921:22): [True: 0, False: 0]
  ------------------
 4922|      0|                 error(loc, "sampler/image types can only be used in uniform variables or function parameters:", type.getBasicTypeString().c_str(), identifier.c_str());
 4923|      0|        }
 4924|      0|    }
 4925|  4.95k|    else if (type.isTensorARM() && type.getQualifier().storage != EvqUniform) {
  ------------------
  |  Branch (4925:14): [True: 0, False: 4.95k]
  |  Branch (4925:36): [True: 0, False: 0]
  ------------------
 4926|      0|        error(loc, "tensorARM types can only be used in uniform variables or function parameters:", "tensorARM", identifier.c_str());
 4927|      0|    }
 4928|  4.95k|}
_ZN7glslang13TParseContext15atomicUintCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 4931|  5.14k|{
 4932|  5.14k|    if (type.getQualifier().storage == EvqUniform)
  ------------------
  |  Branch (4932:9): [True: 188, False: 4.95k]
  ------------------
 4933|    188|        return;
 4934|       |
 4935|  4.95k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtAtomicUint))
  ------------------
  |  Branch (4935:9): [True: 0, False: 4.95k]
  |  Branch (4935:45): [True: 0, False: 0]
  ------------------
 4936|      0|        error(loc, "non-uniform struct contains an atomic_uint:", type.getBasicTypeString().c_str(), identifier.c_str());
 4937|  4.95k|    else if (type.getBasicType() == EbtAtomicUint && type.getQualifier().storage != EvqUniform)
  ------------------
  |  Branch (4937:14): [True: 0, False: 4.95k]
  |  Branch (4937:54): [True: 0, False: 0]
  ------------------
 4938|      0|        error(loc, "atomic_uints can only be used in uniform variables or function parameters:", type.getBasicTypeString().c_str(), identifier.c_str());
 4939|  4.95k|}
_ZN7glslang13TParseContext14accStructCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 4942|  5.14k|{
 4943|  5.14k|    if (type.getQualifier().storage == EvqUniform)
  ------------------
  |  Branch (4943:9): [True: 188, False: 4.95k]
  ------------------
 4944|    188|        return;
 4945|       |
 4946|  4.95k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtAccStruct))
  ------------------
  |  Branch (4946:9): [True: 0, False: 4.95k]
  |  Branch (4946:45): [True: 0, False: 0]
  ------------------
 4947|      0|        error(loc, "non-uniform struct contains an accelerationStructureNV:", type.getBasicTypeString().c_str(), identifier.c_str());
 4948|  4.95k|    else if (type.getBasicType() == EbtAccStruct && type.getQualifier().storage != EvqUniform)
  ------------------
  |  Branch (4948:14): [True: 0, False: 4.95k]
  |  Branch (4948:53): [True: 0, False: 0]
  ------------------
 4949|      0|        error(loc, "accelerationStructureNV can only be used in uniform variables or function parameters:",
 4950|      0|            type.getBasicTypeString().c_str(), identifier.c_str());
 4951|       |
 4952|  4.95k|}
_ZN7glslang13TParseContext17hitObjectEXTCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 4955|  5.14k|{
 4956|  5.14k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtHitObjectEXT)) {
  ------------------
  |  Branch (4956:9): [True: 85, False: 5.06k]
  |  Branch (4956:45): [True: 0, False: 85]
  ------------------
 4957|      0|        error(loc, "struct is not allowed to contain hitObjectEXT:", type.getTypeName().c_str(), identifier.c_str());
 4958|  5.14k|    } else if (type.getBasicType() == EbtHitObjectEXT) {
  ------------------
  |  Branch (4958:16): [True: 0, False: 5.14k]
  ------------------
 4959|      0|        TStorageQualifier qualifier = type.getQualifier().storage;
 4960|      0|        if (qualifier != EvqGlobal && qualifier != EvqTemporary) {
  ------------------
  |  Branch (4960:13): [True: 0, False: 0]
  |  Branch (4960:39): [True: 0, False: 0]
  ------------------
 4961|      0|            error(loc, "hitObjectEXT can only be declared in global or function scope with no storage qualifier:", "hitObjectEXT", identifier.c_str());
 4962|      0|        }
 4963|      0|    }
 4964|  5.14k|}
_ZN7glslang13TParseContext16hitObjectNVCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 4966|  5.14k|{
 4967|  5.14k|    if (type.getBasicType() == EbtStruct && ( containsFieldWithBasicType(type, EbtHitObjectNV))) {
  ------------------
  |  Branch (4967:9): [True: 85, False: 5.06k]
  |  Branch (4967:45): [True: 0, False: 85]
  ------------------
 4968|      0|        error(loc, "struct is not allowed to contain hitObjectNV:", type.getTypeName().c_str(), identifier.c_str());
 4969|  5.14k|    } else if ((type.getBasicType() == EbtHitObjectNV)) {
  ------------------
  |  Branch (4969:16): [True: 0, False: 5.14k]
  ------------------
 4970|      0|        TStorageQualifier qualifier = type.getQualifier().storage;
 4971|      0|        if (qualifier != EvqGlobal && qualifier != EvqTemporary) {
  ------------------
  |  Branch (4971:13): [True: 0, False: 0]
  |  Branch (4971:39): [True: 0, False: 0]
  ------------------
 4972|      0|            error(loc, "hitObjectNV can only be declared in global or function scope with no storage qualifier:", "hitObjectNV", identifier.c_str());
 4973|      0|        }
 4974|      0|    }
 4975|  5.14k|}
_ZN7glslang13TParseContext22transparentOpaqueCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 4978|  5.14k|{
 4979|  5.14k|    if (parsingBuiltins)
  ------------------
  |  Branch (4979:9): [True: 5.14k, False: 0]
  ------------------
 4980|  5.14k|        return;
 4981|       |
 4982|      0|    if (type.getQualifier().storage != EvqUniform)
  ------------------
  |  Branch (4982:9): [True: 0, False: 0]
  ------------------
 4983|      0|        return;
 4984|       |
 4985|      0|    if (type.containsNonOpaque()) {
  ------------------
  |  Branch (4985:9): [True: 0, False: 0]
  ------------------
 4986|       |        // Vulkan doesn't allow transparent uniforms outside of blocks
 4987|      0|        if (spvVersion.vulkan > 0 && !spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (4987:13): [True: 0, False: 0]
  |  Branch (4987:38): [True: 0, False: 0]
  ------------------
 4988|      0|            vulkanRemoved(loc, "non-opaque uniforms outside a block");
 4989|       |        // OpenGL wants locations on these (unless they are getting automapped)
 4990|      0|        if (spvVersion.openGl > 0 && !type.getQualifier().hasLocation() && !intermediate.getAutoMapLocations())
  ------------------
  |  Branch (4990:13): [True: 0, False: 0]
  |  Branch (4990:38): [True: 0, False: 0]
  |  Branch (4990:76): [True: 0, False: 0]
  ------------------
 4991|      0|            error(loc, "non-opaque uniform variables need a layout(location=L)", identifier.c_str(), "");
 4992|      0|    }
 4993|      0|}
_ZN7glslang13TParseContext20memberQualifierCheckERNS_11TPublicTypeE:
 4999|    269|{
 5000|    269|    globalQualifierFixCheck(publicType.loc, publicType.qualifier, true);
 5001|    269|    checkNoShaderLayouts(publicType.loc, publicType.shaderQualifiers);
 5002|    269|    if (publicType.qualifier.isNonUniform()) {
  ------------------
  |  Branch (5002:9): [True: 0, False: 269]
  ------------------
 5003|      0|        error(publicType.loc, "not allowed on block or structure members", "nonuniformEXT", "");
 5004|      0|        publicType.qualifier.nonUniform = false;
 5005|      0|    }
 5006|    269|    if (publicType.qualifier.isPatch()) {
  ------------------
  |  Branch (5006:9): [True: 0, False: 269]
  ------------------
 5007|      0|        error(publicType.loc, "not allowed on block or structure members",
 5008|      0|              "patch", "");
 5009|      0|    }
 5010|    269|}
_ZN7glslang13TParseContext23globalQualifierFixCheckERKNS_10TSourceLocERNS_10TQualifierEbPKNS_11TPublicTypeE:
 5016|  11.0k|{
 5017|  11.0k|    bool nonuniformOkay = false;
 5018|       |
 5019|       |    // move from parameter/unknown qualifiers to pipeline in/out qualifiers
 5020|  11.0k|    switch (qualifier.storage) {
 5021|  2.72k|    case EvqIn:
  ------------------
  |  Branch (5021:5): [True: 2.72k, False: 8.36k]
  ------------------
 5022|  2.72k|        profileRequires(loc, ENoProfile, 130, nullptr, "in for stage inputs");
 5023|  2.72k|        profileRequires(loc, EEsProfile, 300, nullptr, "in for stage inputs");
 5024|  2.72k|        qualifier.storage = EvqVaryingIn;
 5025|  2.72k|        nonuniformOkay = true;
 5026|  2.72k|        break;
 5027|    306|    case EvqOut:
  ------------------
  |  Branch (5027:5): [True: 306, False: 10.7k]
  ------------------
 5028|    306|        profileRequires(loc, ENoProfile, 130, nullptr, "out for stage outputs");
 5029|    306|        profileRequires(loc, EEsProfile, 300, nullptr, "out for stage outputs");
 5030|    306|        qualifier.storage = EvqVaryingOut;
 5031|    306|        if (intermediate.isInvariantAll())
  ------------------
  |  Branch (5031:13): [True: 0, False: 306]
  ------------------
 5032|      0|            qualifier.invariant = true;
 5033|    306|        break;
 5034|      0|    case EvqInOut:
  ------------------
  |  Branch (5034:5): [True: 0, False: 11.0k]
  ------------------
 5035|      0|        qualifier.storage = EvqVaryingIn;
 5036|      0|        error(loc, "cannot use 'inout' at global scope", "", "");
 5037|      0|        break;
 5038|  5.85k|    case EvqGlobal:
  ------------------
  |  Branch (5038:5): [True: 5.85k, False: 5.23k]
  ------------------
 5039|  5.89k|    case EvqTemporary:
  ------------------
  |  Branch (5039:5): [True: 35, False: 11.0k]
  ------------------
 5040|  5.89k|        nonuniformOkay = true;
 5041|  5.89k|        break;
 5042|    188|    case EvqUniform:
  ------------------
  |  Branch (5042:5): [True: 188, False: 10.9k]
  ------------------
 5043|       |        // According to GLSL spec: The std430 qualifier is supported only for shader storage blocks; a shader using
 5044|       |        // the std430 qualifier on a uniform block will fail to compile.
 5045|       |        // Only check the global declaration: layout(std430) uniform;
 5046|    188|        if (blockName == nullptr &&
  ------------------
  |  Branch (5046:13): [True: 153, False: 35]
  ------------------
 5047|    153|            qualifier.layoutPacking == ElpStd430)
  ------------------
  |  Branch (5047:13): [True: 0, False: 153]
  ------------------
 5048|      0|        {
 5049|      0|            requireExtensions(loc, 1, &E_GL_EXT_scalar_block_layout, "default std430 layout for uniform");
 5050|      0|        }
 5051|       |
 5052|    188|        if (publicType != nullptr && publicType->isImage() &&
  ------------------
  |  Branch (5052:13): [True: 188, False: 0]
  |  Branch (5052:38): [True: 0, False: 188]
  ------------------
 5053|      0|            (qualifier.layoutFormat > ElfExtSizeGuard && qualifier.layoutFormat < ElfCount))
  ------------------
  |  Branch (5053:14): [True: 0, False: 0]
  |  Branch (5053:58): [True: 0, False: 0]
  ------------------
 5054|      0|            qualifier.layoutFormat = mapLegacyLayoutFormat(qualifier.layoutFormat, publicType->sampler.getBasicType());
 5055|       |
 5056|    188|        break;
 5057|  1.97k|    default:
  ------------------
  |  Branch (5057:5): [True: 1.97k, False: 9.10k]
  ------------------
 5058|  1.97k|        break;
 5059|  11.0k|    }
 5060|       |
 5061|  11.0k|    if (!nonuniformOkay && qualifier.isNonUniform())
  ------------------
  |  Branch (5061:9): [True: 2.47k, False: 8.61k]
  |  Branch (5061:28): [True: 0, False: 2.47k]
  ------------------
 5062|      0|        error(loc, "for non-parameter, can only apply to 'in' or no storage qualifier", "nonuniformEXT", "");
 5063|       |
 5064|  11.0k|    if (qualifier.isSpirvByReference())
  ------------------
  |  Branch (5064:9): [True: 0, False: 11.0k]
  ------------------
 5065|      0|        error(loc, "can only apply to parameter", "spirv_by_reference", "");
 5066|       |
 5067|  11.0k|    if (qualifier.isSpirvLiteral())
  ------------------
  |  Branch (5067:9): [True: 0, False: 11.0k]
  ------------------
 5068|      0|        error(loc, "can only apply to parameter", "spirv_literal", "");
 5069|       |
 5070|       |    // Storage qualifier isn't ready for memberQualifierCheck, we should skip invariantCheck for it.
 5071|  11.0k|    if (!isMemberCheck || structNestingLevel > 0)
  ------------------
  |  Branch (5071:9): [True: 10.8k, False: 269]
  |  Branch (5071:27): [True: 234, False: 35]
  ------------------
 5072|  11.0k|        invariantCheck(loc, qualifier);
 5073|       |
 5074|  11.0k|    if (qualifier.isFullQuads()) {
  ------------------
  |  Branch (5074:9): [True: 0, False: 11.0k]
  ------------------
 5075|      0|        if (qualifier.storage != EvqVaryingIn)
  ------------------
  |  Branch (5075:13): [True: 0, False: 0]
  ------------------
 5076|      0|            error(loc, "can only apply to input layout", "full_quads ", "");
 5077|      0|        intermediate.setReqFullQuadsMode();
 5078|      0|    }
 5079|       |
 5080|  11.0k|    if (qualifier.isQuadDeriv()) {
  ------------------
  |  Branch (5080:9): [True: 0, False: 11.0k]
  ------------------
 5081|      0|        if (qualifier.storage != EvqVaryingIn)
  ------------------
  |  Branch (5081:13): [True: 0, False: 0]
  ------------------
 5082|      0|            error(loc, "can only apply to input layout", "quad_derivatives", "");
 5083|      0|        intermediate.setQuadDerivMode();
 5084|      0|    }
 5085|  11.0k|}
_ZN7glslang13TParseContext24globalQualifierTypeCheckERKNS_10TSourceLocERKNS_10TQualifierERKNS_11TPublicTypeE:
 5091|   109k|{
 5092|   109k|    if (! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (5092:9): [True: 0, False: 109k]
  ------------------
 5093|      0|        return;
 5094|       |
 5095|   109k|    if (!(publicType.userDef && publicType.userDef->isReference()) && !publicType.isTensorARM() && !parsingBuiltins) {
  ------------------
  |  Branch (5095:11): [True: 184, False: 109k]
  |  Branch (5095:33): [True: 0, False: 184]
  |  Branch (5095:71): [True: 109k, False: 0]
  |  Branch (5095:100): [True: 0, False: 109k]
  ------------------
 5096|      0|        if (qualifier.isMemoryQualifierImageAndSSBOOnly() && ! publicType.isImage() && publicType.qualifier.storage != EvqBuffer) {
  ------------------
  |  Branch (5096:13): [True: 0, False: 0]
  |  Branch (5096:62): [True: 0, False: 0]
  |  Branch (5096:88): [True: 0, False: 0]
  ------------------
 5097|      0|            error(loc, "memory qualifiers cannot be used on this type", "", "");
 5098|      0|        } else if (qualifier.isMemory() && (publicType.basicType != EbtSampler) && !publicType.qualifier.isUniformOrBuffer()) {
  ------------------
  |  Branch (5098:20): [True: 0, False: 0]
  |  Branch (5098:44): [True: 0, False: 0]
  |  Branch (5098:84): [True: 0, False: 0]
  ------------------
 5099|      0|            error(loc, "memory qualifiers cannot be used on this type", "", "");
 5100|      0|        }
 5101|      0|    }
 5102|       |
 5103|   109k|    if (qualifier.storage == EvqBuffer &&
  ------------------
  |  Branch (5103:9): [True: 0, False: 109k]
  ------------------
 5104|      0|        publicType.basicType != EbtBlock &&
  ------------------
  |  Branch (5104:9): [True: 0, False: 0]
  ------------------
 5105|      0|        !qualifier.hasBufferReference())
  ------------------
  |  Branch (5105:9): [True: 0, False: 0]
  ------------------
 5106|      0|        error(loc, "buffers can be declared only as blocks", "buffer", "");
 5107|       |
 5108|   109k|    if (qualifier.storage != EvqVaryingIn && publicType.basicType == EbtDouble &&
  ------------------
  |  Branch (5108:9): [True: 107k, False: 2.71k]
  |  Branch (5108:46): [True: 4.03k, False: 103k]
  ------------------
 5109|  4.03k|        extensionTurnedOn(E_GL_ARB_vertex_attrib_64bit) && language == EShLangVertex &&
  ------------------
  |  Branch (5109:9): [True: 0, False: 4.03k]
  |  Branch (5109:60): [True: 0, False: 0]
  ------------------
 5110|      0|        version < 400) {
  ------------------
  |  Branch (5110:9): [True: 0, False: 0]
  ------------------
 5111|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 410, E_GL_ARB_gpu_shader_fp64, "vertex-shader `double` type");
 5112|      0|    }
 5113|   109k|    if (qualifier.storage != EvqVaryingIn && qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (5113:9): [True: 107k, False: 2.71k]
  |  Branch (5113:46): [True: 106k, False: 250]
  ------------------
 5114|   106k|        return;
 5115|       |
 5116|  2.96k|    if (publicType.shaderQualifiers.hasBlendEquation())
  ------------------
  |  Branch (5116:9): [True: 0, False: 2.96k]
  ------------------
 5117|      0|        error(loc, "can only be applied to a standalone 'out'", "blend equation", "");
 5118|       |
 5119|       |    // now, knowing it is a shader in/out, do all the in/out semantic checks
 5120|       |
 5121|  2.96k|    if (isTypeInt(publicType.basicType) || publicType.basicType == EbtDouble) {
  ------------------
  |  Branch (5121:9): [True: 2.80k, False: 167]
  |  Branch (5121:44): [True: 0, False: 167]
  ------------------
 5122|  2.80k|        profileRequires(loc, EEsProfile, 300, nullptr, "non-float shader input/output");
 5123|  2.80k|        profileRequires(loc, ~EEsProfile, 130, nullptr, "non-float shader input/output");
 5124|  2.80k|    }
 5125|       |
 5126|  2.96k|    if (!qualifier.flat && !qualifier.isExplicitInterpolation() && !qualifier.isPervertexNV() && !qualifier.isPervertexEXT()) {
  ------------------
  |  Branch (5126:9): [True: 2.75k, False: 210]
  |  Branch (5126:28): [True: 2.75k, False: 0]
  |  Branch (5126:68): [True: 2.75k, False: 0]
  |  Branch (5126:98): [True: 2.75k, False: 0]
  ------------------
 5127|  2.75k|        if (isTypeInt(publicType.basicType) ||
  ------------------
  |  Branch (5127:13): [True: 2.59k, False: 167]
  ------------------
 5128|    167|            publicType.basicType == EbtDouble ||
  ------------------
  |  Branch (5128:13): [True: 0, False: 167]
  ------------------
 5129|    167|            (publicType.userDef && (   publicType.userDef->containsBasicType(EbtInt)
  ------------------
  |  Branch (5129:14): [True: 0, False: 167]
  |  Branch (5129:40): [True: 0, False: 0]
  ------------------
 5130|      0|                                    || publicType.userDef->containsBasicType(EbtUint)
  ------------------
  |  Branch (5130:40): [True: 0, False: 0]
  ------------------
 5131|      0|                                    || publicType.userDef->contains16BitInt()
  ------------------
  |  Branch (5131:40): [True: 0, False: 0]
  ------------------
 5132|      0|                                    || publicType.userDef->contains8BitInt()
  ------------------
  |  Branch (5132:40): [True: 0, False: 0]
  ------------------
 5133|      0|                                    || publicType.userDef->contains64BitInt()
  ------------------
  |  Branch (5133:40): [True: 0, False: 0]
  ------------------
 5134|  2.59k|                                    || publicType.userDef->containsDouble()))) {
  ------------------
  |  Branch (5134:40): [True: 0, False: 0]
  ------------------
 5135|  2.59k|            if (qualifier.storage == EvqVaryingIn && language == EShLangFragment)
  ------------------
  |  Branch (5135:17): [True: 2.39k, False: 194]
  |  Branch (5135:54): [True: 0, False: 2.39k]
  ------------------
 5136|      0|                error(loc, "must be qualified as flat", TType::getBasicString(publicType.basicType), GetStorageQualifierString(qualifier.storage));
 5137|  2.59k|            else if (qualifier.storage == EvqVaryingOut && language == EShLangVertex && version == 300)
  ------------------
  |  Branch (5137:22): [True: 194, False: 2.39k]
  |  Branch (5137:60): [True: 42, False: 152]
  |  Branch (5137:89): [True: 0, False: 42]
  ------------------
 5138|      0|                error(loc, "must be qualified as flat", TType::getBasicString(publicType.basicType), GetStorageQualifierString(qualifier.storage));
 5139|  2.59k|        }
 5140|  2.75k|    }
 5141|       |
 5142|  2.96k|    if (qualifier.isPatch() && qualifier.isInterpolation())
  ------------------
  |  Branch (5142:9): [True: 28, False: 2.93k]
  |  Branch (5142:32): [True: 0, False: 28]
  ------------------
 5143|      0|        error(loc, "cannot use interpolation qualifiers with patch", "patch", "");
 5144|       |
 5145|       |    // Only "patch in" is supported via GL_NV_gpu_shader5
 5146|  2.96k|    if (! symbolTable.atBuiltInLevel() && qualifier.isPatch() && 
  ------------------
  |  Branch (5146:9): [True: 0, False: 2.96k]
  |  Branch (5146:43): [True: 0, False: 0]
  ------------------
 5147|      0|        (language == EShLangGeometry) && qualifier.storage != EvqVaryingIn &&
  ------------------
  |  Branch (5147:9): [True: 0, False: 0]
  |  Branch (5147:42): [True: 0, False: 0]
  ------------------
 5148|      0|        extensionTurnedOn(E_GL_NV_gpu_shader5))
  ------------------
  |  Branch (5148:9): [True: 0, False: 0]
  ------------------
 5149|      0|            error(loc, "only 'patch in' is supported in this stage:", "patch", "geometry");
 5150|       |
 5151|  2.96k|    if (qualifier.isTaskPayload() && publicType.basicType == EbtBlock)
  ------------------
  |  Branch (5151:9): [True: 0, False: 2.96k]
  |  Branch (5151:38): [True: 0, False: 0]
  ------------------
 5152|      0|        error(loc, "taskPayloadSharedEXT variables should not be declared as interface blocks", "taskPayloadSharedEXT", "");
 5153|       |
 5154|  2.96k|    if (qualifier.isTaskMemory() && publicType.basicType != EbtBlock)
  ------------------
  |  Branch (5154:9): [True: 0, False: 2.96k]
  |  Branch (5154:37): [True: 0, False: 0]
  ------------------
 5155|      0|        error(loc, "taskNV variables can be declared only as blocks", "taskNV", "");
 5156|       |
 5157|  2.96k|    if (qualifier.storage == EvqVaryingIn) {
  ------------------
  |  Branch (5157:9): [True: 2.71k, False: 250]
  ------------------
 5158|  2.71k|        switch (language) {
 5159|    205|        case EShLangVertex:
  ------------------
  |  Branch (5159:9): [True: 205, False: 2.51k]
  ------------------
 5160|    205|            if (publicType.basicType == EbtStruct) {
  ------------------
  |  Branch (5160:17): [True: 0, False: 205]
  ------------------
 5161|      0|                error(loc, "cannot be a structure", GetStorageQualifierString(qualifier.storage), "");
 5162|      0|                return;
 5163|      0|            }
 5164|    205|            if (publicType.arraySizes) {
  ------------------
  |  Branch (5164:17): [True: 0, False: 205]
  ------------------
 5165|      0|                requireProfile(loc, ~EEsProfile, "vertex input arrays");
 5166|      0|                profileRequires(loc, ENoProfile, 150, nullptr, "vertex input arrays");
 5167|      0|            }
 5168|    205|            if (publicType.basicType == EbtDouble) {
  ------------------
  |  Branch (5168:17): [True: 0, False: 205]
  ------------------
 5169|      0|            	const char* const float64_attrib[] = {E_GL_NV_gpu_shader5, E_GL_ARB_vertex_attrib_64bit};
 5170|      0|                const int Num_float64_attrib = sizeof(float64_attrib) / sizeof(float64_attrib[0]);        
 5171|      0|                profileRequires(loc, ~EEsProfile, 410, Num_float64_attrib, float64_attrib, "vertex-shader `double` type input");
 5172|      0|			}
 5173|    205|            if (qualifier.isAuxiliary() || qualifier.isInterpolation() || qualifier.isMemory() || qualifier.invariant)
  ------------------
  |  Branch (5173:17): [True: 0, False: 205]
  |  Branch (5173:44): [True: 0, False: 205]
  |  Branch (5173:75): [True: 0, False: 205]
  |  Branch (5173:99): [True: 0, False: 205]
  ------------------
 5174|      0|                error(loc, "vertex input cannot be further qualified", "", "");
 5175|    205|            break;
 5176|    300|        case EShLangFragment:
  ------------------
  |  Branch (5176:9): [True: 300, False: 2.41k]
  ------------------
 5177|    300|            if (publicType.userDef) {
  ------------------
  |  Branch (5177:17): [True: 0, False: 300]
  ------------------
 5178|      0|                profileRequires(loc, EEsProfile, 300, nullptr, "fragment-shader struct input");
 5179|      0|                profileRequires(loc, ~EEsProfile, 150, nullptr, "fragment-shader struct input");
 5180|      0|                if (publicType.userDef->containsStructure())
  ------------------
  |  Branch (5180:21): [True: 0, False: 0]
  ------------------
 5181|      0|                    requireProfile(loc, ~EEsProfile, "fragment-shader struct input containing structure");
 5182|      0|                if (publicType.userDef->containsArray())
  ------------------
  |  Branch (5182:21): [True: 0, False: 0]
  ------------------
 5183|      0|                    requireProfile(loc, ~EEsProfile, "fragment-shader struct input containing an array");
 5184|      0|            }
 5185|    300|            break;
 5186|    210|       case EShLangCompute:
  ------------------
  |  Branch (5186:8): [True: 210, False: 2.50k]
  ------------------
 5187|    210|            if (! symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (5187:17): [True: 0, False: 210]
  ------------------
 5188|      0|                error(loc, "global storage input qualifier cannot be used in a compute shader", "in", "");
 5189|    210|            break;
 5190|    189|       case EShLangTessControl:
  ------------------
  |  Branch (5190:8): [True: 189, False: 2.52k]
  ------------------
 5191|    189|            if (qualifier.patch)
  ------------------
  |  Branch (5191:17): [True: 0, False: 189]
  ------------------
 5192|      0|                error(loc, "can only use on output in tessellation-control shader", "patch", "");
 5193|    189|            break;
 5194|  1.81k|        default:
  ------------------
  |  Branch (5194:9): [True: 1.81k, False: 904]
  ------------------
 5195|  1.81k|            break;
 5196|  2.71k|        }
 5197|  2.71k|    } else {
 5198|       |        // qualifier.storage == EvqVaryingOut
 5199|    250|        switch (language) {
 5200|     56|        case EShLangVertex:
  ------------------
  |  Branch (5200:9): [True: 56, False: 194]
  ------------------
 5201|     56|            if (publicType.userDef) {
  ------------------
  |  Branch (5201:17): [True: 0, False: 56]
  ------------------
 5202|      0|                profileRequires(loc, EEsProfile, 300, nullptr, "vertex-shader struct output");
 5203|      0|                profileRequires(loc, ~EEsProfile, 150, nullptr, "vertex-shader struct output");
 5204|      0|                if (publicType.userDef->containsStructure())
  ------------------
  |  Branch (5204:21): [True: 0, False: 0]
  ------------------
 5205|      0|                    requireProfile(loc, ~EEsProfile, "vertex-shader struct output containing structure");
 5206|      0|                if (publicType.userDef->containsArray())
  ------------------
  |  Branch (5206:21): [True: 0, False: 0]
  ------------------
 5207|      0|                    requireProfile(loc, ~EEsProfile, "vertex-shader struct output containing an array");
 5208|      0|            }
 5209|       |
 5210|     56|            break;
 5211|     12|        case EShLangFragment:
  ------------------
  |  Branch (5211:9): [True: 12, False: 238]
  ------------------
 5212|     12|            profileRequires(loc, EEsProfile, 300, nullptr, "fragment shader output");
 5213|     12|            if (publicType.basicType == EbtStruct) {
  ------------------
  |  Branch (5213:17): [True: 0, False: 12]
  ------------------
 5214|      0|                error(loc, "cannot be a structure", GetStorageQualifierString(qualifier.storage), "");
 5215|      0|                return;
 5216|      0|            }
 5217|     12|            if (publicType.matrixRows > 0) {
  ------------------
  |  Branch (5217:17): [True: 0, False: 12]
  ------------------
 5218|      0|                error(loc, "cannot be a matrix", GetStorageQualifierString(qualifier.storage), "");
 5219|      0|                return;
 5220|      0|            }
 5221|     12|            if (qualifier.isAuxiliary())
  ------------------
  |  Branch (5221:17): [True: 0, False: 12]
  ------------------
 5222|      0|                error(loc, "can't use auxiliary qualifier on a fragment output", "centroid/sample/patch", "");
 5223|     12|            if (qualifier.isInterpolation())
  ------------------
  |  Branch (5223:17): [True: 0, False: 12]
  ------------------
 5224|      0|                error(loc, "can't use interpolation qualifier on a fragment output", "flat/smooth/noperspective", "");
 5225|     12|            if (publicType.basicType == EbtDouble || publicType.basicType == EbtInt64 || publicType.basicType == EbtUint64)
  ------------------
  |  Branch (5225:17): [True: 0, False: 12]
  |  Branch (5225:54): [True: 0, False: 12]
  |  Branch (5225:90): [True: 0, False: 12]
  ------------------
 5226|      0|                error(loc, "cannot contain a double, int64, or uint64", GetStorageQualifierString(qualifier.storage), "");
 5227|     12|        break;
 5228|       |
 5229|      0|        case EShLangCompute:
  ------------------
  |  Branch (5229:9): [True: 0, False: 250]
  ------------------
 5230|      0|            error(loc, "global storage output qualifier cannot be used in a compute shader", "out", "");
 5231|      0|            break;
 5232|     49|        case EShLangTessEvaluation:
  ------------------
  |  Branch (5232:9): [True: 49, False: 201]
  ------------------
 5233|     49|            if (qualifier.patch)
  ------------------
  |  Branch (5233:17): [True: 0, False: 49]
  ------------------
 5234|      0|                error(loc, "can only use on input in tessellation-evaluation shader", "patch", "");
 5235|     49|            break;
 5236|    133|        default:
  ------------------
  |  Branch (5236:9): [True: 133, False: 117]
  ------------------
 5237|    133|            break;
 5238|    250|        }
 5239|    250|    }
 5240|  2.96k|}
_ZN7glslang13TParseContext15mergeQualifiersERKNS_10TSourceLocERNS_10TQualifierERKS4_b:
 5252|  46.9k|{
 5253|       |    // Multiple auxiliary qualifiers (mostly done later by 'individual qualifiers')
 5254|  46.9k|    if (src.isAuxiliary() && dst.isAuxiliary())
  ------------------
  |  Branch (5254:9): [True: 28, False: 46.9k]
  |  Branch (5254:30): [True: 0, False: 28]
  ------------------
 5255|      0|        error(loc, "can only have one auxiliary qualifier (centroid, patch, and sample)", "", "");
 5256|       |
 5257|       |    // Multiple interpolation qualifiers (mostly done later by 'individual qualifiers')
 5258|  46.9k|    if (src.isInterpolation() && dst.isInterpolation())
  ------------------
  |  Branch (5258:9): [True: 210, False: 46.7k]
  |  Branch (5258:34): [True: 0, False: 210]
  ------------------
 5259|      0|        error(loc, "can only have one interpolation qualifier (flat, smooth, noperspective, __explicitInterpAMD)", "", "");
 5260|       |
 5261|       |    // Ordering
 5262|  46.9k|    if (! force && ((!isEsProfile() && version < 420) ||
  ------------------
  |  Branch (5262:9): [True: 36.2k, False: 10.6k]
  |  Branch (5262:22): [True: 35.9k, False: 351]
  |  Branch (5262:40): [True: 0, False: 35.9k]
  ------------------
 5263|  36.2k|                    (isEsProfile() && version < 310))
  ------------------
  |  Branch (5263:22): [True: 351, False: 35.9k]
  |  Branch (5263:39): [True: 351, False: 0]
  ------------------
 5264|    351|                && ! extensionTurnedOn(E_GL_ARB_shading_language_420pack)) {
  ------------------
  |  Branch (5264:20): [True: 351, False: 0]
  ------------------
 5265|       |        // non-function parameters
 5266|    351|        if (src.isNoContraction() && (dst.invariant || dst.isInterpolation() || dst.isAuxiliary() || dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5266:13): [True: 0, False: 351]
  |  Branch (5266:39): [True: 0, False: 0]
  |  Branch (5266:56): [True: 0, False: 0]
  |  Branch (5266:81): [True: 0, False: 0]
  |  Branch (5266:102): [True: 0, False: 0]
  |  Branch (5266:133): [True: 0, False: 0]
  ------------------
 5267|      0|            error(loc, "precise qualifier must appear first", "", "");
 5268|    351|        if (src.invariant && (dst.isInterpolation() || dst.isAuxiliary() || dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5268:13): [True: 0, False: 351]
  |  Branch (5268:31): [True: 0, False: 0]
  |  Branch (5268:56): [True: 0, False: 0]
  |  Branch (5268:77): [True: 0, False: 0]
  |  Branch (5268:108): [True: 0, False: 0]
  ------------------
 5269|      0|            error(loc, "invariant qualifier must appear before interpolation, storage, and precision qualifiers ", "", "");
 5270|    351|        else if (src.isInterpolation() && (dst.isAuxiliary() || dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5270:18): [True: 0, False: 351]
  |  Branch (5270:44): [True: 0, False: 0]
  |  Branch (5270:65): [True: 0, False: 0]
  |  Branch (5270:96): [True: 0, False: 0]
  ------------------
 5271|      0|            error(loc, "interpolation qualifiers must appear before storage and precision qualifiers", "", "");
 5272|    351|        else if (src.isAuxiliary() && (dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5272:18): [True: 0, False: 351]
  |  Branch (5272:40): [True: 0, False: 0]
  |  Branch (5272:71): [True: 0, False: 0]
  ------------------
 5273|      0|            error(loc, "Auxiliary qualifiers (centroid, patch, and sample) must appear before storage and precision qualifiers", "", "");
 5274|    351|        else if (src.storage != EvqTemporary && (dst.precision != EpqNone))
  ------------------
  |  Branch (5274:18): [True: 351, False: 0]
  |  Branch (5274:49): [True: 0, False: 351]
  ------------------
 5275|      0|            error(loc, "precision qualifier must appear as last qualifier", "", "");
 5276|       |
 5277|       |        // function parameters
 5278|    351|        if (src.isNoContraction() && (dst.storage == EvqConst || dst.storage == EvqIn || dst.storage == EvqOut))
  ------------------
  |  Branch (5278:13): [True: 0, False: 351]
  |  Branch (5278:39): [True: 0, False: 0]
  |  Branch (5278:66): [True: 0, False: 0]
  |  Branch (5278:90): [True: 0, False: 0]
  ------------------
 5279|      0|            error(loc, "precise qualifier must appear first", "", "");
 5280|    351|        if (src.storage == EvqConst && (dst.storage == EvqIn || dst.storage == EvqOut))
  ------------------
  |  Branch (5280:13): [True: 0, False: 351]
  |  Branch (5280:41): [True: 0, False: 0]
  |  Branch (5280:65): [True: 0, False: 0]
  ------------------
 5281|      0|            error(loc, "in/out must appear before const", "", "");
 5282|    351|    }
 5283|       |
 5284|       |    // Storage qualification
 5285|  46.9k|    if (dst.storage == EvqTemporary || dst.storage == EvqGlobal)
  ------------------
  |  Branch (5285:9): [True: 32.8k, False: 14.1k]
  |  Branch (5285:40): [True: 10.6k, False: 3.42k]
  ------------------
 5286|  43.5k|        dst.storage = src.storage;
 5287|  3.42k|    else if ((dst.storage == EvqIn  && src.storage == EvqOut) ||
  ------------------
  |  Branch (5287:15): [True: 2.36k, False: 1.05k]
  |  Branch (5287:40): [True: 0, False: 2.36k]
  ------------------
 5288|  3.42k|             (dst.storage == EvqOut && src.storage == EvqIn))
  ------------------
  |  Branch (5288:15): [True: 252, False: 3.16k]
  |  Branch (5288:40): [True: 0, False: 252]
  ------------------
 5289|      0|        dst.storage = EvqInOut;
 5290|  3.42k|    else if ((dst.storage == EvqIn    && src.storage == EvqConst) ||
  ------------------
  |  Branch (5290:15): [True: 2.36k, False: 1.05k]
  |  Branch (5290:42): [True: 0, False: 2.36k]
  ------------------
 5291|  3.42k|             (dst.storage == EvqConst && src.storage == EvqIn))
  ------------------
  |  Branch (5291:15): [True: 772, False: 2.64k]
  |  Branch (5291:42): [True: 0, False: 772]
  ------------------
 5292|      0|        dst.storage = EvqConstReadOnly;
 5293|  3.42k|    else if (src.storage != EvqTemporary &&
  ------------------
  |  Branch (5293:14): [True: 2.86k, False: 560]
  ------------------
 5294|  2.86k|             src.storage != EvqGlobal)
  ------------------
  |  Branch (5294:14): [True: 0, False: 2.86k]
  ------------------
 5295|      0|        error(loc, "too many storage qualifiers", GetStorageQualifierString(src.storage), "");
 5296|       |
 5297|       |    // Precision qualifiers
 5298|  46.9k|    if (! force && src.precision != EpqNone && dst.precision != EpqNone)
  ------------------
  |  Branch (5298:9): [True: 36.2k, False: 10.6k]
  |  Branch (5298:20): [True: 688, False: 35.6k]
  |  Branch (5298:48): [True: 0, False: 688]
  ------------------
 5299|      0|        error(loc, "only one precision qualifier allowed", GetPrecisionQualifierString(src.precision), "");
 5300|  46.9k|    if (dst.precision == EpqNone || (force && src.precision != EpqNone))
  ------------------
  |  Branch (5300:9): [True: 46.9k, False: 45]
  |  Branch (5300:38): [True: 0, False: 45]
  |  Branch (5300:47): [True: 0, False: 0]
  ------------------
 5301|  46.9k|        dst.precision = src.precision;
 5302|       |
 5303|  46.9k|    if (!force && ((src.coherent && (dst.devicecoherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5303:9): [True: 36.2k, False: 10.6k]
  |  Branch (5303:21): [True: 13.8k, False: 22.4k]
  |  Branch (5303:38): [True: 0, False: 13.8k]
  |  Branch (5303:60): [True: 0, False: 13.8k]
  |  Branch (5303:87): [True: 0, False: 13.8k]
  |  Branch (5303:112): [True: 0, False: 13.8k]
  |  Branch (5303:136): [True: 0, False: 13.8k]
  ------------------
 5304|  36.2k|                   (src.devicecoherent && (dst.coherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5304:21): [True: 0, False: 36.2k]
  |  Branch (5304:44): [True: 0, False: 0]
  |  Branch (5304:60): [True: 0, False: 0]
  |  Branch (5304:87): [True: 0, False: 0]
  |  Branch (5304:112): [True: 0, False: 0]
  |  Branch (5304:136): [True: 0, False: 0]
  ------------------
 5305|  36.2k|                   (src.queuefamilycoherent && (dst.coherent || dst.devicecoherent || dst.workgroupcoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5305:21): [True: 0, False: 36.2k]
  |  Branch (5305:49): [True: 0, False: 0]
  |  Branch (5305:65): [True: 0, False: 0]
  |  Branch (5305:87): [True: 0, False: 0]
  |  Branch (5305:112): [True: 0, False: 0]
  |  Branch (5305:136): [True: 0, False: 0]
  ------------------
 5306|  36.2k|                   (src.workgroupcoherent && (dst.coherent || dst.devicecoherent || dst.queuefamilycoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5306:21): [True: 0, False: 36.2k]
  |  Branch (5306:47): [True: 0, False: 0]
  |  Branch (5306:63): [True: 0, False: 0]
  |  Branch (5306:85): [True: 0, False: 0]
  |  Branch (5306:112): [True: 0, False: 0]
  |  Branch (5306:136): [True: 0, False: 0]
  ------------------
 5307|  36.2k|                   (src.subgroupcoherent  && (dst.coherent || dst.devicecoherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5307:21): [True: 0, False: 36.2k]
  |  Branch (5307:47): [True: 0, False: 0]
  |  Branch (5307:63): [True: 0, False: 0]
  |  Branch (5307:85): [True: 0, False: 0]
  |  Branch (5307:112): [True: 0, False: 0]
  |  Branch (5307:137): [True: 0, False: 0]
  ------------------
 5308|  36.2k|                   (src.shadercallcoherent && (dst.coherent || dst.devicecoherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.subgroupcoherent)))) {
  ------------------
  |  Branch (5308:21): [True: 0, False: 36.2k]
  |  Branch (5308:48): [True: 0, False: 0]
  |  Branch (5308:64): [True: 0, False: 0]
  |  Branch (5308:86): [True: 0, False: 0]
  |  Branch (5308:113): [True: 0, False: 0]
  |  Branch (5308:138): [True: 0, False: 0]
  ------------------
 5309|      0|        error(loc, "only one coherent/devicecoherent/queuefamilycoherent/workgroupcoherent/subgroupcoherent/shadercallcoherent qualifier allowed",
 5310|      0|            GetPrecisionQualifierString(src.precision), "");
 5311|      0|    }
 5312|       |
 5313|       |    // Layout qualifiers
 5314|  46.9k|    mergeObjectLayoutQualifiers(dst, src, false);
 5315|       |
 5316|       |    // individual qualifiers
 5317|  46.9k|    bool repeated = false;
 5318|  46.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
 5319|  46.9k|    MERGE_SINGLETON(invariant);
  ------------------
  |  | 5318|  46.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5318:48): [True: 0, False: 46.9k]
  |  |  |  Branch (5318:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5320|  46.9k|    MERGE_SINGLETON(centroid);
  ------------------
  |  | 5318|  46.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5318:48): [True: 0, False: 46.9k]
  |  |  |  Branch (5318:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5321|  46.9k|    MERGE_SINGLETON(smooth);
  ------------------
  |  | 5318|  46.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5318:48): [True: 0, False: 46.9k]
  |  |  |  Branch (5318:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5322|  46.9k|    MERGE_SINGLETON(flat);
  ------------------
  |  | 5318|  46.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5318:48): [True: 324, False: 46.6k]
  |  |  |  Branch (5318:61): [True: 0, False: 324]
  |  |  ------------------
  ------------------
 5323|  46.9k|    MERGE_SINGLETON(specConstant);
  ------------------
  |  | 5318|  46.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5318:48): [True: 0, False: 46.9k]
  |  |  |  Branch (5318:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5324|  46.9k|    MERGE_SINGLETON(noContraction);
  ------------------
  |  | 5318|  46.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5318:48): [True: 0, False: 46.9k]
  |  |  |  Branch (5318:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5325|  46.9k|    MERGE_SINGLETON(nopersp);
  ------------------
  |  | 5318|  46.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5318:48): [True: 0, False: 46.9k]
  |  |  |  Branch (5318:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5326|  46.9k|    MERGE_SINGLETON(explicitInterp);
  ------------------
  |  | 5318|  46.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5318:48): [True: 0, False: 46.9k]
  |  |  |  Branch (5318:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5327|  46.9k|    MERGE_SINGLETON(perPrimitiveNV);
  ------------------
  |  | 5318|  46.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5318:48): [True: 14, False: 46.9k]
  |  |  |  Branch (5318:61): [True: 0, False: 14]
  |  |  ------------------
  ------------------
 5328|  46.9k|    MERGE_SINGLETON(perViewNV);
  ------------------
  |  | 5318|  46.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5318:48): [True: 0, False: 46.9k]
  |  |  |  Branch (5318:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5329|  46.9k|    MERGE_SINGLETON(perTaskNV);
  ------------------
  |  | 5318|  46.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5318:48): [True: 0, False: 46.9k]
  |  |  |  Branch (5318:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5330|  46.9k|    MERGE_SINGLETON(patch);
  ------------------
  |  | 5318|  46.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5318:48): [True: 28, False: 46.9k]
  |  |  |  Branch (5318:61): [True: 0, False: 28]
  |  |  ------------------
  ------------------
 5331|  46.9k|    MERGE_SINGLETON(sample);
  ------------------
  |  | 5318|  46.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5318:48): [True: 0, False: 46.9k]
  |  |  |  Branch (5318:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5332|  46.9k|    MERGE_SINGLETON(coherent);
  ------------------
  |  | 5318|  46.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5318:48): [True: 14.9k, False: 32.0k]
  |  |  |  Branch (5318:61): [True: 0, False: 14.9k]
  |  |  ------------------
  ------------------
 5333|  46.9k|    MERGE_SINGLETON(devicecoherent);
  ------------------
  |  | 5318|  46.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5318:48): [True: 0, False: 46.9k]
  |  |  |  Branch (5318:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5334|  46.9k|    MERGE_SINGLETON(queuefamilycoherent);
  ------------------
  |  | 5318|  46.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5318:48): [True: 0, False: 46.9k]
  |  |  |  Branch (5318:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5335|  46.9k|    MERGE_SINGLETON(workgroupcoherent);
  ------------------
  |  | 5318|  46.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5318:48): [True: 0, False: 46.9k]
  |  |  |  Branch (5318:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5336|  46.9k|    MERGE_SINGLETON(subgroupcoherent);
  ------------------
  |  | 5318|  46.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5318:48): [True: 0, False: 46.9k]
  |  |  |  Branch (5318:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5337|  46.9k|    MERGE_SINGLETON(shadercallcoherent);
  ------------------
  |  | 5318|  46.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5318:48): [True: 0, False: 46.9k]
  |  |  |  Branch (5318:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5338|  46.9k|    MERGE_SINGLETON(nonprivate);
  ------------------
  |  | 5318|  46.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5318:48): [True: 0, False: 46.9k]
  |  |  |  Branch (5318:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5339|  46.9k|    MERGE_SINGLETON(volatil);
  ------------------
  |  | 5318|  46.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5318:48): [True: 28.0k, False: 18.9k]
  |  |  |  Branch (5318:61): [True: 0, False: 28.0k]
  |  |  ------------------
  ------------------
 5340|  46.9k|    MERGE_SINGLETON(nontemporal);
  ------------------
  |  | 5318|  46.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5318:48): [True: 770, False: 46.2k]
  |  |  |  Branch (5318:61): [True: 0, False: 770]
  |  |  ------------------
  ------------------
 5341|  46.9k|    MERGE_SINGLETON(restrict);
  ------------------
  |  | 5318|  46.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5318:48): [True: 0, False: 46.9k]
  |  |  |  Branch (5318:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5342|  46.9k|    MERGE_SINGLETON(readonly);
  ------------------
  |  | 5318|  46.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5318:48): [True: 6.55k, False: 40.4k]
  |  |  |  Branch (5318:61): [True: 0, False: 6.55k]
  |  |  ------------------
  ------------------
 5343|  46.9k|    MERGE_SINGLETON(writeonly);
  ------------------
  |  | 5318|  46.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5318:48): [True: 4.36k, False: 42.6k]
  |  |  |  Branch (5318:61): [True: 0, False: 4.36k]
  |  |  ------------------
  ------------------
 5344|  46.9k|    MERGE_SINGLETON(nonUniform);
  ------------------
  |  | 5318|  46.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5318:48): [True: 0, False: 46.9k]
  |  |  |  Branch (5318:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5345|       |
 5346|       |    // SPIR-V storage class qualifier (GL_EXT_spirv_intrinsics)
 5347|  46.9k|    dst.spirvStorageClass = src.spirvStorageClass;
 5348|       |
 5349|       |    // SPIR-V decorate qualifiers (GL_EXT_spirv_intrinsics)
 5350|  46.9k|    if (src.hasSpirvDecorate()) {
  ------------------
  |  Branch (5350:9): [True: 0, False: 46.9k]
  ------------------
 5351|      0|        if (dst.hasSpirvDecorate()) {
  ------------------
  |  Branch (5351:13): [True: 0, False: 0]
  ------------------
 5352|      0|            const TSpirvDecorate& srcSpirvDecorate = src.getSpirvDecorate();
 5353|      0|            TSpirvDecorate& dstSpirvDecorate = dst.getSpirvDecorate();
 5354|      0|            for (auto& decorate : srcSpirvDecorate.decorates) {
  ------------------
  |  Branch (5354:33): [True: 0, False: 0]
  ------------------
 5355|      0|                if (dstSpirvDecorate.decorates.find(decorate.first) != dstSpirvDecorate.decorates.end())
  ------------------
  |  Branch (5355:21): [True: 0, False: 0]
  ------------------
 5356|      0|                    error(loc, "too many SPIR-V decorate qualifiers", "spirv_decorate", "(decoration=%u)", decorate.first);
 5357|      0|                else
 5358|      0|                    dstSpirvDecorate.decorates.insert(decorate);
 5359|      0|            }
 5360|       |
 5361|      0|            for (auto& decorateId : srcSpirvDecorate.decorateIds) {
  ------------------
  |  Branch (5361:35): [True: 0, False: 0]
  ------------------
 5362|      0|                if (dstSpirvDecorate.decorateIds.find(decorateId.first) != dstSpirvDecorate.decorateIds.end())
  ------------------
  |  Branch (5362:21): [True: 0, False: 0]
  ------------------
 5363|      0|                    error(loc, "too many SPIR-V decorate qualifiers", "spirv_decorate_id", "(decoration=%u)", decorateId.first);
 5364|      0|                else
 5365|      0|                    dstSpirvDecorate.decorateIds.insert(decorateId);
 5366|      0|            }
 5367|       |
 5368|      0|            for (auto& decorateString : srcSpirvDecorate.decorateStrings) {
  ------------------
  |  Branch (5368:39): [True: 0, False: 0]
  ------------------
 5369|      0|                if (dstSpirvDecorate.decorates.find(decorateString.first) != dstSpirvDecorate.decorates.end())
  ------------------
  |  Branch (5369:21): [True: 0, False: 0]
  ------------------
 5370|      0|                    error(loc, "too many SPIR-V decorate qualifiers", "spirv_decorate_string", "(decoration=%u)", decorateString.first);
 5371|      0|                else
 5372|      0|                    dstSpirvDecorate.decorateStrings.insert(decorateString);
 5373|      0|            }
 5374|      0|        } else {
 5375|      0|            dst.spirvDecorate = src.spirvDecorate;
 5376|      0|        }
 5377|      0|    }
 5378|       |
 5379|  46.9k|    if (repeated)
  ------------------
  |  Branch (5379:9): [True: 0, False: 46.9k]
  ------------------
 5380|      0|        error(loc, "replicated qualifiers", "", "");
 5381|  46.9k|}
_ZN7glslang13TParseContext23computeSamplerTypeIndexERNS_8TSamplerE:
 5419|  38.1k|{
 5420|  38.1k|    int arrayIndex    = sampler.arrayed         ? 1 : 0;
  ------------------
  |  Branch (5420:25): [True: 12.1k, False: 26.0k]
  ------------------
 5421|  38.1k|    int shadowIndex   = sampler.shadow          ? 1 : 0;
  ------------------
  |  Branch (5421:25): [True: 5.07k, False: 33.0k]
  ------------------
 5422|  38.1k|    int externalIndex = sampler.isExternal()    ? 1 : 0;
  ------------------
  |  Branch (5422:25): [True: 468, False: 37.6k]
  ------------------
 5423|  38.1k|    int imageIndex    = sampler.isImageClass()  ? 1 : 0;
  ------------------
  |  Branch (5423:25): [True: 10.9k, False: 27.2k]
  ------------------
 5424|  38.1k|    int msIndex       = sampler.isMultiSample() ? 1 : 0;
  ------------------
  |  Branch (5424:25): [True: 2.30k, False: 35.8k]
  ------------------
 5425|       |
 5426|  38.1k|    int flattened = EsdNumDims * (EbtNumTypes * (2 * (2 * (2 * (2 * arrayIndex + msIndex) + imageIndex) + shadowIndex) +
 5427|  38.1k|                                                 externalIndex) + sampler.type) + sampler.dim;
 5428|  38.1k|    assert(flattened < maxSamplerIndex);
 5429|       |
 5430|  38.1k|    return flattened;
 5431|  38.1k|}
_ZN7glslang13TParseContext19getDefaultPrecisionERNS_11TPublicTypeE:
 5434|   399k|{
 5435|   399k|    if (publicType.basicType == EbtSampler)
  ------------------
  |  Branch (5435:9): [True: 37.4k, False: 362k]
  ------------------
 5436|  37.4k|        return defaultSamplerPrecision[computeSamplerTypeIndex(publicType.sampler)];
 5437|   362k|    else
 5438|   362k|        return defaultPrecision[publicType.basicType];
 5439|   399k|}
_ZN7glslang13TParseContext23precisionQualifierCheckERKNS_10TSourceLocENS_10TBasicTypeERNS_10TQualifierEb:
 5442|   399k|{
 5443|       |    // Built-in symbols are allowed some ambiguous precisions, to be pinned down
 5444|       |    // later by context.
 5445|   399k|    if (! obeyPrecisionQualifiers() || parsingBuiltins)
  ------------------
  |  Branch (5445:9): [True: 296k, False: 103k]
  |  Branch (5445:40): [True: 103k, False: 0]
  ------------------
 5446|   399k|        return;
 5447|       |
 5448|      0|    if (baseType == EbtAtomicUint && qualifier.precision != EpqNone && qualifier.precision != EpqHigh)
  ------------------
  |  Branch (5448:9): [True: 0, False: 0]
  |  Branch (5448:38): [True: 0, False: 0]
  |  Branch (5448:72): [True: 0, False: 0]
  ------------------
 5449|      0|        error(loc, "atomic counters can only be highp", "atomic_uint", "");
 5450|       |
 5451|      0|    if (hasTypeParameter)
  ------------------
  |  Branch (5451:9): [True: 0, False: 0]
  ------------------
 5452|      0|        return;
 5453|       |
 5454|      0|    if (baseType == EbtFloat || baseType == EbtUint || baseType == EbtInt || baseType == EbtSampler || baseType == EbtAtomicUint) {
  ------------------
  |  Branch (5454:9): [True: 0, False: 0]
  |  Branch (5454:33): [True: 0, False: 0]
  |  Branch (5454:56): [True: 0, False: 0]
  |  Branch (5454:78): [True: 0, False: 0]
  |  Branch (5454:104): [True: 0, False: 0]
  ------------------
 5455|      0|        if (qualifier.precision == EpqNone) {
  ------------------
  |  Branch (5455:13): [True: 0, False: 0]
  ------------------
 5456|      0|            if (relaxedErrors())
  ------------------
  |  Branch (5456:17): [True: 0, False: 0]
  ------------------
 5457|      0|                warn(loc, "type requires declaration of default precision qualifier", TType::getBasicString(baseType), "substituting 'mediump'");
 5458|      0|            else
 5459|      0|                error(loc, "type requires declaration of default precision qualifier", TType::getBasicString(baseType), "");
 5460|      0|            qualifier.precision = EpqMedium;
 5461|      0|            defaultPrecision[baseType] = EpqMedium;
 5462|      0|        }
 5463|      0|    } else if (qualifier.precision != EpqNone)
  ------------------
  |  Branch (5463:16): [True: 0, False: 0]
  ------------------
 5464|      0|        error(loc, "type cannot have precision qualifier", TType::getBasicString(baseType), "");
 5465|      0|}
_ZN7glslang13TParseContext18parameterTypeCheckERKNS_10TSourceLocENS_17TStorageQualifierERKNS_5TTypeE:
 5468|   289k|{
 5469|   289k|    if ((qualifier == EvqOut || qualifier == EvqInOut) && type.isOpaque() && !intermediate.getBindlessMode())
  ------------------
  |  Branch (5469:10): [True: 11.9k, False: 277k]
  |  Branch (5469:33): [True: 728, False: 276k]
  |  Branch (5469:59): [True: 0, False: 12.6k]
  |  Branch (5469:78): [True: 0, False: 0]
  ------------------
 5470|      0|        error(loc, "samplers and atomic_uints cannot be output parameters", type.getBasicTypeString().c_str(), "");
 5471|   289k|    if (!parsingBuiltins && type.contains16BitFloat())
  ------------------
  |  Branch (5471:9): [True: 0, False: 289k]
  |  Branch (5471:29): [True: 0, False: 0]
  ------------------
 5472|      0|        requireFloat16Arithmetic(loc, type.getBasicTypeString().c_str(), "float16 types can only be in uniform block or buffer storage");
 5473|   289k|    if (!parsingBuiltins && type.contains16BitInt())
  ------------------
  |  Branch (5473:9): [True: 0, False: 289k]
  |  Branch (5473:29): [True: 0, False: 0]
  ------------------
 5474|      0|        requireInt16Arithmetic(loc, type.getBasicTypeString().c_str(), "(u)int16 types can only be in uniform block or buffer storage");
 5475|   289k|    if (!parsingBuiltins && type.contains8BitInt())
  ------------------
  |  Branch (5475:9): [True: 0, False: 289k]
  |  Branch (5475:29): [True: 0, False: 0]
  ------------------
 5476|      0|        requireInt8Arithmetic(loc, type.getBasicTypeString().c_str(), "(u)int8 types can only be in uniform block or buffer storage");
 5477|   289k|}
_ZN7glslang13TParseContext26containsFieldWithBasicTypeERKNS_5TTypeENS_10TBasicTypeE:
 5480|    680|{
 5481|    680|    if (type.getBasicType() == basicType)
  ------------------
  |  Branch (5481:9): [True: 0, False: 680]
  ------------------
 5482|      0|        return true;
 5483|       |
 5484|    680|    if (type.getBasicType() == EbtStruct) {
  ------------------
  |  Branch (5484:9): [True: 170, False: 510]
  ------------------
 5485|    170|        const TTypeList& structure = *type.getStruct();
 5486|    680|        for (unsigned int i = 0; i < structure.size(); ++i) {
  ------------------
  |  Branch (5486:34): [True: 510, False: 170]
  ------------------
 5487|    510|            if (containsFieldWithBasicType(*structure[i].type, basicType))
  ------------------
  |  Branch (5487:17): [True: 0, False: 510]
  ------------------
 5488|      0|                return true;
 5489|    510|        }
 5490|    170|    }
 5491|       |
 5492|    680|    return false;
 5493|    680|}
_ZN7glslang13TParseContext14arraySizeCheckERKNS_10TSourceLocEPNS_12TIntermTypedERNS_10TArraySizeEPKcb:
 5500|  1.40k|{
 5501|  1.40k|    bool isConst = false;
 5502|  1.40k|    sizePair.node = nullptr;
 5503|       |
 5504|  1.40k|    int size = 1;
 5505|       |
 5506|  1.40k|    TIntermConstantUnion* constant = expr->getAsConstantUnion();
 5507|  1.40k|    if (constant) {
  ------------------
  |  Branch (5507:9): [True: 1.40k, False: 0]
  ------------------
 5508|       |        // handle true (non-specialization) constant
 5509|  1.40k|        size = constant->getConstArray()[0].getIConst();
 5510|  1.40k|        isConst = true;
 5511|  1.40k|    } else {
 5512|       |        // see if it's a specialization constant instead
 5513|      0|        if (expr->getQualifier().isSpecConstant()) {
  ------------------
  |  Branch (5513:13): [True: 0, False: 0]
  ------------------
 5514|      0|            isConst = true;
 5515|      0|            sizePair.node = expr;
 5516|      0|            TIntermSymbol* symbol = expr->getAsSymbolNode();
 5517|      0|            if (symbol && symbol->getConstArray().size() > 0)
  ------------------
  |  Branch (5517:17): [True: 0, False: 0]
  |  Branch (5517:27): [True: 0, False: 0]
  ------------------
 5518|      0|                size = symbol->getConstArray()[0].getIConst();
 5519|      0|        } else if (expr->getAsUnaryNode() && expr->getAsUnaryNode()->getOp() == glslang::EOpArrayLength &&
  ------------------
  |  Branch (5519:20): [True: 0, False: 0]
  |  Branch (5519:46): [True: 0, False: 0]
  ------------------
 5520|      0|                   expr->getAsUnaryNode()->getOperand()->getType().isCoopMatNV()) {
  ------------------
  |  Branch (5520:20): [True: 0, False: 0]
  ------------------
 5521|      0|            isConst = true;
 5522|      0|            size = 1;
 5523|      0|            sizePair.node = expr->getAsUnaryNode();
 5524|      0|        }
 5525|      0|    }
 5526|       |
 5527|  1.40k|    sizePair.size = size;
 5528|       |
 5529|  1.40k|    if (isTypeParameter) {
  ------------------
  |  Branch (5529:9): [True: 0, False: 1.40k]
  ------------------
 5530|      0|        if (extensionTurnedOn(E_GL_NV_cooperative_matrix2)) {
  ------------------
  |  Branch (5530:13): [True: 0, False: 0]
  ------------------
 5531|      0|            if (! isConst || (expr->getBasicType() != EbtInt && expr->getBasicType() != EbtUint && expr->getBasicType() != EbtBool)) {
  ------------------
  |  Branch (5531:17): [True: 0, False: 0]
  |  Branch (5531:31): [True: 0, False: 0]
  |  Branch (5531:65): [True: 0, False: 0]
  |  Branch (5531:100): [True: 0, False: 0]
  ------------------
 5532|      0|                error(loc, sizeType, "", "must be a constant integer or boolean expression");
 5533|      0|                return;
 5534|      0|            }
 5535|      0|        } else {
 5536|      0|            if (! isConst || (expr->getBasicType() != EbtInt && expr->getBasicType() != EbtUint)) {
  ------------------
  |  Branch (5536:17): [True: 0, False: 0]
  |  Branch (5536:31): [True: 0, False: 0]
  |  Branch (5536:65): [True: 0, False: 0]
  ------------------
 5537|      0|                error(loc, sizeType, "", "must be a constant integer expression");
 5538|      0|                return;
 5539|      0|            }
 5540|      0|        }
 5541|      0|        if (size < 0) {
  ------------------
  |  Branch (5541:13): [True: 0, False: 0]
  ------------------
 5542|      0|            error(loc, sizeType, "", "must be a non-negative integer");
 5543|      0|            return;
 5544|      0|        }
 5545|  1.40k|    } else {
 5546|  1.40k|        if (! isConst || (expr->getBasicType() != EbtInt && expr->getBasicType() != EbtUint)) {
  ------------------
  |  Branch (5546:13): [True: 0, False: 1.40k]
  |  Branch (5546:27): [True: 0, False: 1.40k]
  |  Branch (5546:61): [True: 0, False: 0]
  ------------------
 5547|      0|            error(loc, sizeType, "", "must be a constant integer expression");
 5548|      0|            return;
 5549|      0|        }
 5550|  1.40k|        if (size <= 0) {
  ------------------
  |  Branch (5550:13): [True: 0, False: 1.40k]
  ------------------
 5551|      0|            error(loc, sizeType, "", "must be a positive integer");
 5552|      0|            return;
 5553|      0|        }
 5554|  1.40k|    }
 5555|  1.40k|}
_ZN7glslang13TParseContext19arrayQualifierErrorERKNS_10TSourceLocERKNS_10TQualifierE:
 5563|    178|{
 5564|    178|    if (qualifier.storage == EvqConst) {
  ------------------
  |  Branch (5564:9): [True: 0, False: 178]
  ------------------
 5565|      0|        profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, "const array");
 5566|      0|        profileRequires(loc, EEsProfile, 300, nullptr, "const array");
 5567|      0|    }
 5568|       |
 5569|    178|    if (qualifier.storage == EvqVaryingIn && language == EShLangVertex) {
  ------------------
  |  Branch (5569:9): [True: 46, False: 132]
  |  Branch (5569:46): [True: 0, False: 46]
  ------------------
 5570|      0|        requireProfile(loc, ~EEsProfile, "vertex input arrays");
 5571|      0|        profileRequires(loc, ENoProfile, 150, nullptr, "vertex input arrays");
 5572|      0|    }
 5573|       |
 5574|    178|    return false;
 5575|    178|}
_ZN7glslang13TParseContext10arrayErrorERKNS_10TSourceLocERKNS_5TTypeE:
 5584|    178|{
 5585|    178|    if (type.getQualifier().storage == EvqVaryingOut && language == EShLangVertex) {
  ------------------
  |  Branch (5585:9): [True: 132, False: 46]
  |  Branch (5585:57): [True: 28, False: 104]
  ------------------
 5586|     28|        if (type.isArrayOfArrays())
  ------------------
  |  Branch (5586:13): [True: 0, False: 28]
  ------------------
 5587|      0|            requireProfile(loc, ~EEsProfile, "vertex-shader array-of-array output");
 5588|     28|        else if (type.isStruct())
  ------------------
  |  Branch (5588:18): [True: 0, False: 28]
  ------------------
 5589|      0|            requireProfile(loc, ~EEsProfile, "vertex-shader array-of-struct output");
 5590|     28|    }
 5591|    178|    if (type.getQualifier().storage == EvqVaryingIn && language == EShLangFragment) {
  ------------------
  |  Branch (5591:9): [True: 46, False: 132]
  |  Branch (5591:56): [True: 18, False: 28]
  ------------------
 5592|     18|        if (type.isArrayOfArrays())
  ------------------
  |  Branch (5592:13): [True: 0, False: 18]
  ------------------
 5593|      0|            requireProfile(loc, ~EEsProfile, "fragment-shader array-of-array input");
 5594|     18|        else if (type.isStruct())
  ------------------
  |  Branch (5594:18): [True: 0, False: 18]
  ------------------
 5595|      0|            requireProfile(loc, ~EEsProfile, "fragment-shader array-of-struct input");
 5596|     18|    }
 5597|    178|    if (type.getQualifier().storage == EvqVaryingOut && language == EShLangFragment) {
  ------------------
  |  Branch (5597:9): [True: 132, False: 46]
  |  Branch (5597:57): [True: 6, False: 126]
  ------------------
 5598|      6|        if (type.isArrayOfArrays())
  ------------------
  |  Branch (5598:13): [True: 0, False: 6]
  ------------------
 5599|      0|            requireProfile(loc, ~EEsProfile, "fragment-shader array-of-array output");
 5600|      6|    }
 5601|       |
 5602|    178|    return false;
 5603|    178|}
_ZN7glslang13TParseContext22arraySizeRequiredCheckERKNS_10TSourceLocERKNS_11TArraySizesE:
 5609|  9.68k|{
 5610|  9.68k|    if (!parsingBuiltins && arraySizes.hasUnsized())
  ------------------
  |  Branch (5610:9): [True: 0, False: 9.68k]
  |  Branch (5610:29): [True: 0, False: 0]
  ------------------
 5611|      0|        error(loc, "array size required", "", "");
 5612|  9.68k|}
_ZN7glslang13TParseContext16structArrayCheckERKNS_10TSourceLocERKNS_5TTypeE:
 5615|     99|{
 5616|     99|    const TTypeList& structure = *type.getStruct();
 5617|    424|    for (int m = 0; m < (int)structure.size(); ++m) {
  ------------------
  |  Branch (5617:21): [True: 325, False: 99]
  ------------------
 5618|    325|        const TType& member = *structure[m].type;
 5619|    325|        if (member.isArray())
  ------------------
  |  Branch (5619:13): [True: 0, False: 325]
  ------------------
 5620|      0|            arraySizeRequiredCheck(structure[m].loc, *member.getArraySizes());
 5621|    325|    }
 5622|     99|}
_ZN7glslang13TParseContext15arraySizesCheckERKNS_10TSourceLocERKNS_10TQualifierEPNS_11TArraySizesEPKNS_12TIntermTypedEb:
 5626|    395|{
 5627|    395|    assert(arraySizes);
 5628|       |
 5629|       |    // always allow special built-in ins/outs sized to topologies
 5630|    395|    if (parsingBuiltins)
  ------------------
  |  Branch (5630:9): [True: 395, False: 0]
  ------------------
 5631|    395|        return;
 5632|       |
 5633|       |    // initializer must be a sized array, in which case
 5634|       |    // allow the initializer to set any unknown array sizes
 5635|      0|    if (initializer != nullptr) {
  ------------------
  |  Branch (5635:9): [True: 0, False: 0]
  ------------------
 5636|      0|        if (initializer->getType().isUnsizedArray())
  ------------------
  |  Branch (5636:13): [True: 0, False: 0]
  ------------------
 5637|      0|            error(loc, "array initializer must be sized", "[]", "");
 5638|      0|        return;
 5639|      0|    }
 5640|       |
 5641|       |    // No environment allows any non-outer-dimension to be implicitly sized
 5642|      0|    if (arraySizes->isInnerUnsized()) {
  ------------------
  |  Branch (5642:9): [True: 0, False: 0]
  ------------------
 5643|      0|        error(loc, "only outermost dimension of an array of arrays can be implicitly sized", "[]", "");
 5644|      0|        arraySizes->clearInnerUnsized();
 5645|      0|    }
 5646|       |
 5647|      0|    if (arraySizes->isInnerSpecialization() &&
  ------------------
  |  Branch (5647:9): [True: 0, False: 0]
  ------------------
 5648|      0|        (qualifier.storage != EvqTemporary && qualifier.storage != EvqGlobal && qualifier.storage != EvqShared && qualifier.storage != EvqConst))
  ------------------
  |  Branch (5648:10): [True: 0, False: 0]
  |  Branch (5648:47): [True: 0, False: 0]
  |  Branch (5648:81): [True: 0, False: 0]
  |  Branch (5648:115): [True: 0, False: 0]
  ------------------
 5649|      0|        error(loc, "only outermost dimension of an array of arrays can be a specialization constant", "[]", "");
 5650|       |
 5651|       |    // desktop always allows outer-dimension-unsized variable arrays,
 5652|      0|    if (!isEsProfile())
  ------------------
  |  Branch (5652:9): [True: 0, False: 0]
  ------------------
 5653|      0|        return;
 5654|       |
 5655|       |    // for ES, if size isn't coming from an initializer, it has to be explicitly declared now,
 5656|       |    // with very few exceptions
 5657|       |
 5658|       |    // implicitly-sized io exceptions:
 5659|      0|    switch (language) {
 5660|      0|    case EShLangGeometry:
  ------------------
  |  Branch (5660:5): [True: 0, False: 0]
  ------------------
 5661|      0|        if (qualifier.storage == EvqVaryingIn)
  ------------------
  |  Branch (5661:13): [True: 0, False: 0]
  ------------------
 5662|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (5662:18): [True: 0, False: 0]
  |  Branch (5662:35): [True: 0, False: 0]
  ------------------
 5663|      0|                extensionsTurnedOn(Num_AEP_geometry_shader, AEP_geometry_shader))
  ------------------
  |  Branch (5663:17): [True: 0, False: 0]
  ------------------
 5664|      0|                return;
 5665|      0|        break;
 5666|      0|    case EShLangTessControl:
  ------------------
  |  Branch (5666:5): [True: 0, False: 0]
  ------------------
 5667|      0|        if ( qualifier.storage == EvqVaryingIn ||
  ------------------
  |  Branch (5667:14): [True: 0, False: 0]
  ------------------
 5668|      0|            (qualifier.storage == EvqVaryingOut && ! qualifier.isPatch()))
  ------------------
  |  Branch (5668:14): [True: 0, False: 0]
  |  Branch (5668:52): [True: 0, False: 0]
  ------------------
 5669|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (5669:18): [True: 0, False: 0]
  |  Branch (5669:35): [True: 0, False: 0]
  ------------------
 5670|      0|                extensionsTurnedOn(Num_AEP_tessellation_shader, AEP_tessellation_shader))
  ------------------
  |  Branch (5670:17): [True: 0, False: 0]
  ------------------
 5671|      0|                return;
 5672|      0|        break;
 5673|      0|    case EShLangTessEvaluation:
  ------------------
  |  Branch (5673:5): [True: 0, False: 0]
  ------------------
 5674|      0|        if ((qualifier.storage == EvqVaryingIn && ! qualifier.isPatch()) ||
  ------------------
  |  Branch (5674:14): [True: 0, False: 0]
  |  Branch (5674:51): [True: 0, False: 0]
  ------------------
 5675|      0|             qualifier.storage == EvqVaryingOut)
  ------------------
  |  Branch (5675:14): [True: 0, False: 0]
  ------------------
 5676|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (5676:18): [True: 0, False: 0]
  |  Branch (5676:35): [True: 0, False: 0]
  ------------------
 5677|      0|                extensionsTurnedOn(Num_AEP_tessellation_shader, AEP_tessellation_shader))
  ------------------
  |  Branch (5677:17): [True: 0, False: 0]
  ------------------
 5678|      0|                return;
 5679|      0|        break;
 5680|      0|    case EShLangMesh:
  ------------------
  |  Branch (5680:5): [True: 0, False: 0]
  ------------------
 5681|      0|        if (qualifier.storage == EvqVaryingOut)
  ------------------
  |  Branch (5681:13): [True: 0, False: 0]
  ------------------
 5682|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (5682:18): [True: 0, False: 0]
  |  Branch (5682:35): [True: 0, False: 0]
  ------------------
 5683|      0|                extensionsTurnedOn(Num_AEP_mesh_shader, AEP_mesh_shader))
  ------------------
  |  Branch (5683:17): [True: 0, False: 0]
  ------------------
 5684|      0|                return;
 5685|      0|        break;
 5686|      0|    default:
  ------------------
  |  Branch (5686:5): [True: 0, False: 0]
  ------------------
 5687|      0|        break;
 5688|      0|    }
 5689|       |
 5690|       |    // last member of ssbo block exception:
 5691|      0|    if (qualifier.storage == EvqBuffer && lastMember)
  ------------------
  |  Branch (5691:9): [True: 0, False: 0]
  |  Branch (5691:43): [True: 0, False: 0]
  ------------------
 5692|      0|        return;
 5693|       |
 5694|      0|    if (qualifier.storage == EvqUniform && lastMember && extensionTurnedOn(E_GL_EXT_uniform_buffer_unsized_array))
  ------------------
  |  Branch (5694:9): [True: 0, False: 0]
  |  Branch (5694:44): [True: 0, False: 0]
  |  Branch (5694:58): [True: 0, False: 0]
  ------------------
 5695|      0|        return;
 5696|       |
 5697|      0|    arraySizeRequiredCheck(loc, *arraySizes);
 5698|      0|}
_ZN7glslang13TParseContext24arrayOfArrayVersionCheckERKNS_10TSourceLocEPKNS_11TArraySizesE:
 5701|  15.7k|{
 5702|  15.7k|    if (sizes == nullptr || sizes->getNumDims() == 1)
  ------------------
  |  Branch (5702:9): [True: 5.46k, False: 10.2k]
  |  Branch (5702:29): [True: 10.2k, False: 42]
  ------------------
 5703|  15.6k|        return;
 5704|       |
 5705|     42|    const char* feature = "arrays of arrays";
 5706|       |
 5707|     42|    requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, feature);
 5708|     42|    profileRequires(loc, EEsProfile, 310, nullptr, feature);
 5709|     42|    profileRequires(loc, ECoreProfile | ECompatibilityProfile, 430, nullptr, feature);
 5710|     42|}
_ZN7glslang13TParseContext12declareArrayERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_5TTypeERPNS_7TSymbolE:
 5717|    178|{
 5718|    178|    if (symbol == nullptr) {
  ------------------
  |  Branch (5718:9): [True: 178, False: 0]
  ------------------
 5719|    178|        bool currentScope;
 5720|    178|        symbol = symbolTable.find(identifier, nullptr, &currentScope);
 5721|       |
 5722|    178|        if (symbol && builtInName(identifier) && ! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (5722:13): [True: 0, False: 178]
  |  Branch (5722:23): [True: 0, False: 0]
  |  Branch (5722:50): [True: 0, False: 0]
  ------------------
 5723|       |            // bad shader (errors already reported) trying to redeclare a built-in name as an array
 5724|      0|            symbol = nullptr;
 5725|      0|            return;
 5726|      0|        }
 5727|    178|        if (symbol == nullptr || ! currentScope) {
  ------------------
  |  Branch (5727:13): [True: 178, False: 0]
  |  Branch (5727:34): [True: 0, False: 0]
  ------------------
 5728|       |            //
 5729|       |            // Successfully process a new definition.
 5730|       |            // (Redeclarations have to take place at the same scope; otherwise they are hiding declarations)
 5731|       |            //
 5732|    178|            symbol = new TVariable(&identifier, type);
 5733|    178|            symbolTable.insert(*symbol);
 5734|    178|            if (symbolTable.atGlobalLevel())
  ------------------
  |  Branch (5734:17): [True: 178, False: 0]
  ------------------
 5735|    178|                trackLinkage(*symbol);
 5736|       |
 5737|    178|            if (! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (5737:17): [True: 0, False: 178]
  ------------------
 5738|      0|                if (isIoResizeArray(type)) {
  ------------------
  |  Branch (5738:21): [True: 0, False: 0]
  ------------------
 5739|      0|                    ioArraySymbolResizeList.push_back(symbol);
 5740|      0|                    checkIoArraysConsistency(loc, true);
 5741|      0|                } else
 5742|      0|                    fixIoArraySize(loc, symbol->getWritableType());
 5743|      0|            }
 5744|       |
 5745|    178|            return;
 5746|    178|        }
 5747|      0|        if (symbol->getAsAnonMember()) {
  ------------------
  |  Branch (5747:13): [True: 0, False: 0]
  ------------------
 5748|      0|            error(loc, "cannot redeclare a user-block member array", identifier.c_str(), "");
 5749|      0|            symbol = nullptr;
 5750|      0|            return;
 5751|      0|        }
 5752|      0|    }
 5753|       |
 5754|       |    //
 5755|       |    // Process a redeclaration.
 5756|       |    //
 5757|       |
 5758|      0|    if (symbol == nullptr) {
  ------------------
  |  Branch (5758:9): [True: 0, False: 0]
  ------------------
 5759|      0|        error(loc, "array variable name expected", identifier.c_str(), "");
 5760|      0|        return;
 5761|      0|    }
 5762|       |
 5763|       |    // redeclareBuiltinVariable() should have already done the copyUp()
 5764|      0|    TType& existingType = symbol->getWritableType();
 5765|       |
 5766|      0|    if (! existingType.isArray()) {
  ------------------
  |  Branch (5766:9): [True: 0, False: 0]
  ------------------
 5767|      0|        error(loc, "redeclaring non-array as array", identifier.c_str(), "");
 5768|      0|        return;
 5769|      0|    }
 5770|       |
 5771|      0|    if (! existingType.sameElementType(type)) {
  ------------------
  |  Branch (5771:9): [True: 0, False: 0]
  ------------------
 5772|      0|        error(loc, "redeclaration of array with a different element type", identifier.c_str(), "");
 5773|      0|        return;
 5774|      0|    }
 5775|       |
 5776|      0|    if (! existingType.sameInnerArrayness(type)) {
  ------------------
  |  Branch (5776:9): [True: 0, False: 0]
  ------------------
 5777|      0|        error(loc, "redeclaration of array with a different array dimensions or sizes", identifier.c_str(), "");
 5778|      0|        return;
 5779|      0|    }
 5780|       |
 5781|      0|    if (existingType.isSizedArray()) {
  ------------------
  |  Branch (5781:9): [True: 0, False: 0]
  ------------------
 5782|       |        // be more leniant for input arrays to geometry shaders and tessellation control outputs, where the redeclaration is the same size
 5783|      0|        if (! (isIoResizeArray(type) && existingType.getOuterArraySize() == type.getOuterArraySize()))
  ------------------
  |  Branch (5783:16): [True: 0, False: 0]
  |  Branch (5783:41): [True: 0, False: 0]
  ------------------
 5784|      0|            error(loc, "redeclaration of array with size", identifier.c_str(), "");
 5785|      0|        return;
 5786|      0|    }
 5787|       |
 5788|      0|    arrayLimitCheck(loc, identifier, type.getOuterArraySize());
 5789|       |
 5790|      0|    existingType.updateArraySizes(type);
 5791|       |
 5792|      0|    if (isIoResizeArray(type))
  ------------------
  |  Branch (5792:9): [True: 0, False: 0]
  ------------------
 5793|      0|        checkIoArraysConsistency(loc);
 5794|      0|}
_ZN7glslang13TParseContext25checkAndResizeMeshViewDimERKNS_10TSourceLocERNS_5TTypeEb:
 5868|  5.23k|{
 5869|       |    // see if member is a per-view attribute
 5870|  5.23k|    if (!type.getQualifier().isPerView())
  ------------------
  |  Branch (5870:9): [True: 5.20k, False: 35]
  ------------------
 5871|  5.20k|        return;
 5872|       |
 5873|     35|    if ((isBlockMember && type.isArray()) || (!isBlockMember && type.isArrayOfArrays())) {
  ------------------
  |  Branch (5873:10): [True: 35, False: 0]
  |  Branch (5873:27): [True: 35, False: 0]
  |  Branch (5873:47): [True: 0, False: 0]
  |  Branch (5873:65): [True: 0, False: 0]
  ------------------
 5874|       |        // since we don't have the maxMeshViewCountNV set during parsing builtins, we hardcode the value.
 5875|     35|        int maxViewCount = parsingBuiltins ? 4 : resources.maxMeshViewCountNV;
  ------------------
  |  Branch (5875:28): [True: 35, False: 0]
  ------------------
 5876|       |        // For block members, outermost array dimension is the view dimension.
 5877|       |        // For non-block members, outermost array dimension is the vertex/primitive dimension
 5878|       |        // and 2nd outermost is the view dimension.
 5879|     35|        int viewDim = isBlockMember ? 0 : 1;
  ------------------
  |  Branch (5879:23): [True: 35, False: 0]
  ------------------
 5880|     35|        int viewDimSize = type.getArraySizes()->getDimSize(viewDim);
 5881|       |
 5882|     35|        if (viewDimSize != UnsizedArraySize && viewDimSize != maxViewCount)
  ------------------
  |  Branch (5882:13): [True: 0, False: 35]
  |  Branch (5882:48): [True: 0, False: 0]
  ------------------
 5883|      0|            error(loc, "mesh view output array size must be gl_MaxMeshViewCountNV or implicitly sized", "[]", "");
 5884|     35|        else if (viewDimSize == UnsizedArraySize)
  ------------------
  |  Branch (5884:18): [True: 35, False: 0]
  ------------------
 5885|     35|            type.getArraySizes()->setDimSize(viewDim, maxViewCount);
 5886|     35|    }
 5887|      0|    else {
 5888|      0|        error(loc, "requires a view array dimension", "perviewNV", "");
 5889|      0|    }
 5890|     35|}
_ZN7glslang13TParseContext17nonInitConstCheckERKNS_10TSourceLocERNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERNS_5TTypeE:
 5910|  3.50k|{
 5911|       |    //
 5912|       |    // Make the qualifier make sense, given that there is not an initializer.
 5913|       |    //
 5914|  3.50k|    if (type.getQualifier().storage == EvqConst ||
  ------------------
  |  Branch (5914:9): [True: 0, False: 3.50k]
  ------------------
 5915|  3.50k|        type.getQualifier().storage == EvqConstReadOnly) {
  ------------------
  |  Branch (5915:9): [True: 0, False: 3.50k]
  ------------------
 5916|      0|        type.getQualifier().makeTemporary();
 5917|      0|        error(loc, "variables with qualifier 'const' must be initialized", identifier.c_str(), "");
 5918|      0|    }
 5919|  3.50k|}
_ZN7glslang13TParseContext24redeclareBuiltinVariableERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_10TQualifierERKNS_17TShaderQualifiersE:
 5933|  5.14k|{
 5934|  5.14k|    if (! builtInName(identifier) || symbolTable.atBuiltInLevel() || ! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (5934:9): [True: 0, False: 5.14k]
  |  Branch (5934:38): [True: 5.14k, False: 0]
  |  Branch (5934:70): [True: 0, False: 0]
  ------------------
 5935|  5.14k|        return nullptr;
 5936|       |
 5937|      0|    bool nonEsRedecls = (!isEsProfile() && (version >= 130 || identifier == "gl_TexCoord"));
  ------------------
  |  Branch (5937:26): [True: 0, False: 0]
  |  Branch (5937:45): [True: 0, False: 0]
  |  Branch (5937:63): [True: 0, False: 0]
  ------------------
 5938|      0|    bool    esRedecls = (isEsProfile() &&
  ------------------
  |  Branch (5938:26): [True: 0, False: 0]
  ------------------
 5939|      0|                         (version >= 320 || extensionsTurnedOn(Num_AEP_shader_io_blocks, AEP_shader_io_blocks) ||
  ------------------
  |  Branch (5939:27): [True: 0, False: 0]
  |  Branch (5939:45): [True: 0, False: 0]
  ------------------
 5940|      0|                          (identifier == "gl_FragDepth" && extensionTurnedOn(E_GL_EXT_conservative_depth))));
  ------------------
  |  Branch (5940:28): [True: 0, False: 0]
  |  Branch (5940:60): [True: 0, False: 0]
  ------------------
 5941|      0|    if (! esRedecls && ! nonEsRedecls)
  ------------------
  |  Branch (5941:9): [True: 0, False: 0]
  |  Branch (5941:24): [True: 0, False: 0]
  ------------------
 5942|      0|        return nullptr;
 5943|       |
 5944|       |    // Special case when using GL_ARB_separate_shader_objects
 5945|      0|    bool ssoPre150 = false;  // means the only reason this variable is redeclared is due to this combination
 5946|      0|    if (!isEsProfile() && version <= 140 && extensionTurnedOn(E_GL_ARB_separate_shader_objects)) {
  ------------------
  |  Branch (5946:9): [True: 0, False: 0]
  |  Branch (5946:27): [True: 0, False: 0]
  |  Branch (5946:45): [True: 0, False: 0]
  ------------------
 5947|      0|        if (identifier == "gl_Position"     ||
  ------------------
  |  Branch (5947:13): [True: 0, False: 0]
  ------------------
 5948|      0|            identifier == "gl_PointSize"    ||
  ------------------
  |  Branch (5948:13): [True: 0, False: 0]
  ------------------
 5949|      0|            identifier == "gl_ClipVertex"   ||
  ------------------
  |  Branch (5949:13): [True: 0, False: 0]
  ------------------
 5950|      0|            identifier == "gl_FogFragCoord")
  ------------------
  |  Branch (5950:13): [True: 0, False: 0]
  ------------------
 5951|      0|            ssoPre150 = true;
 5952|      0|    }
 5953|       |
 5954|       |    // Potentially redeclaring a built-in variable...
 5955|       |
 5956|      0|    if (ssoPre150 ||
  ------------------
  |  Branch (5956:9): [True: 0, False: 0]
  ------------------
 5957|      0|        (identifier == "gl_FragDepth"           && ((nonEsRedecls && version >= 420) || esRedecls)) ||
  ------------------
  |  Branch (5957:10): [True: 0, False: 0]
  |  Branch (5957:54): [True: 0, False: 0]
  |  Branch (5957:70): [True: 0, False: 0]
  |  Branch (5957:89): [True: 0, False: 0]
  ------------------
 5958|      0|        (identifier == "gl_FragCoord"           && ((nonEsRedecls && version >= 140) || esRedecls)) ||
  ------------------
  |  Branch (5958:10): [True: 0, False: 0]
  |  Branch (5958:54): [True: 0, False: 0]
  |  Branch (5958:70): [True: 0, False: 0]
  |  Branch (5958:89): [True: 0, False: 0]
  ------------------
 5959|      0|         identifier == "gl_ClipDistance"                                                            ||
  ------------------
  |  Branch (5959:10): [True: 0, False: 0]
  ------------------
 5960|      0|         identifier == "gl_CullDistance"                                                            ||
  ------------------
  |  Branch (5960:10): [True: 0, False: 0]
  ------------------
 5961|      0|         identifier == "gl_ShadingRateEXT"                                                          ||
  ------------------
  |  Branch (5961:10): [True: 0, False: 0]
  ------------------
 5962|      0|         identifier == "gl_PrimitiveShadingRateEXT"                                                 ||
  ------------------
  |  Branch (5962:10): [True: 0, False: 0]
  ------------------
 5963|      0|         identifier == "gl_FrontColor"                                                              ||
  ------------------
  |  Branch (5963:10): [True: 0, False: 0]
  ------------------
 5964|      0|         identifier == "gl_BackColor"                                                               ||
  ------------------
  |  Branch (5964:10): [True: 0, False: 0]
  ------------------
 5965|      0|         identifier == "gl_FrontSecondaryColor"                                                     ||
  ------------------
  |  Branch (5965:10): [True: 0, False: 0]
  ------------------
 5966|      0|         identifier == "gl_BackSecondaryColor"                                                      ||
  ------------------
  |  Branch (5966:10): [True: 0, False: 0]
  ------------------
 5967|      0|         identifier == "gl_SecondaryColor"                                                          ||
  ------------------
  |  Branch (5967:10): [True: 0, False: 0]
  ------------------
 5968|      0|        (identifier == "gl_Color"               && language == EShLangFragment)                     ||
  ------------------
  |  Branch (5968:10): [True: 0, False: 0]
  |  Branch (5968:52): [True: 0, False: 0]
  ------------------
 5969|      0|        (identifier == "gl_FragStencilRefARB"   && (nonEsRedecls && version >= 140)
  ------------------
  |  Branch (5969:10): [True: 0, False: 0]
  |  Branch (5969:53): [True: 0, False: 0]
  |  Branch (5969:69): [True: 0, False: 0]
  ------------------
 5970|      0|                                                && language == EShLangFragment)                     ||
  ------------------
  |  Branch (5970:52): [True: 0, False: 0]
  ------------------
 5971|      0|         identifier == "gl_SampleMask"                                                              ||
  ------------------
  |  Branch (5971:10): [True: 0, False: 0]
  ------------------
 5972|      0|         identifier == "gl_Layer"                                                                   ||
  ------------------
  |  Branch (5972:10): [True: 0, False: 0]
  ------------------
 5973|      0|         identifier == "gl_PrimitiveIndicesNV"                                                      ||
  ------------------
  |  Branch (5973:10): [True: 0, False: 0]
  ------------------
 5974|      0|         identifier == "gl_PrimitivePointIndicesEXT"                                                ||
  ------------------
  |  Branch (5974:10): [True: 0, False: 0]
  ------------------
 5975|      0|         identifier == "gl_PrimitiveLineIndicesEXT"                                                 ||
  ------------------
  |  Branch (5975:10): [True: 0, False: 0]
  ------------------
 5976|      0|         identifier == "gl_PrimitiveTriangleIndicesEXT"                                             ||
  ------------------
  |  Branch (5976:10): [True: 0, False: 0]
  ------------------
 5977|      0|         identifier == "gl_TexCoord") {
  ------------------
  |  Branch (5977:10): [True: 0, False: 0]
  ------------------
 5978|       |
 5979|       |        // Find the existing symbol, if any.
 5980|      0|        bool builtIn;
 5981|      0|        TSymbol* symbol = symbolTable.find(identifier, &builtIn);
 5982|       |
 5983|       |        // If the symbol was not found, this must be a version/profile/stage
 5984|       |        // that doesn't have it.
 5985|      0|        if (! symbol)
  ------------------
  |  Branch (5985:13): [True: 0, False: 0]
  ------------------
 5986|      0|            return nullptr;
 5987|       |
 5988|       |        // If it wasn't at a built-in level, then it's already been redeclared;
 5989|       |        // that is, this is a redeclaration of a redeclaration; reuse that initial
 5990|       |        // redeclaration.  Otherwise, make the new one.
 5991|      0|        if (builtIn) {
  ------------------
  |  Branch (5991:13): [True: 0, False: 0]
  ------------------
 5992|      0|            makeEditable(symbol);
 5993|      0|            symbolTable.amendSymbolIdLevel(*symbol);
 5994|      0|        }
 5995|       |
 5996|       |        // Now, modify the type of the copy, as per the type of the current redeclaration.
 5997|       |
 5998|      0|        TQualifier& symbolQualifier = symbol->getWritableType().getQualifier();
 5999|      0|        if (ssoPre150) {
  ------------------
  |  Branch (5999:13): [True: 0, False: 0]
  ------------------
 6000|      0|            if (intermediate.inIoAccessed(identifier))
  ------------------
  |  Branch (6000:17): [True: 0, False: 0]
  ------------------
 6001|      0|                error(loc, "cannot redeclare after use", identifier.c_str(), "");
 6002|      0|            if (qualifier.hasLayout())
  ------------------
  |  Branch (6002:17): [True: 0, False: 0]
  ------------------
 6003|      0|                error(loc, "cannot apply layout qualifier to", "redeclaration", symbol->getName().c_str());
 6004|      0|            if (qualifier.isMemory() || qualifier.isAuxiliary() || (language == EShLangVertex   && qualifier.storage != EvqVaryingOut) ||
  ------------------
  |  Branch (6004:17): [True: 0, False: 0]
  |  Branch (6004:41): [True: 0, False: 0]
  |  Branch (6004:69): [True: 0, False: 0]
  |  Branch (6004:100): [True: 0, False: 0]
  ------------------
 6005|      0|                                                                   (language == EShLangFragment && qualifier.storage != EvqVaryingIn))
  ------------------
  |  Branch (6005:69): [True: 0, False: 0]
  |  Branch (6005:100): [True: 0, False: 0]
  ------------------
 6006|      0|                error(loc, "cannot change storage, memory, or auxiliary qualification of", "redeclaration", symbol->getName().c_str());
 6007|      0|            if (! qualifier.smooth)
  ------------------
  |  Branch (6007:17): [True: 0, False: 0]
  ------------------
 6008|      0|                error(loc, "cannot change interpolation qualification of", "redeclaration", symbol->getName().c_str());
 6009|      0|        } else if (identifier == "gl_FrontColor"          ||
  ------------------
  |  Branch (6009:20): [True: 0, False: 0]
  ------------------
 6010|      0|                   identifier == "gl_BackColor"           ||
  ------------------
  |  Branch (6010:20): [True: 0, False: 0]
  ------------------
 6011|      0|                   identifier == "gl_FrontSecondaryColor" ||
  ------------------
  |  Branch (6011:20): [True: 0, False: 0]
  ------------------
 6012|      0|                   identifier == "gl_BackSecondaryColor"  ||
  ------------------
  |  Branch (6012:20): [True: 0, False: 0]
  ------------------
 6013|      0|                   identifier == "gl_SecondaryColor"      ||
  ------------------
  |  Branch (6013:20): [True: 0, False: 0]
  ------------------
 6014|      0|                   identifier == "gl_Color") {
  ------------------
  |  Branch (6014:20): [True: 0, False: 0]
  ------------------
 6015|      0|            symbolQualifier.flat = qualifier.flat;
 6016|      0|            symbolQualifier.smooth = qualifier.smooth;
 6017|      0|            symbolQualifier.nopersp = qualifier.nopersp;
 6018|      0|            if (qualifier.hasLayout())
  ------------------
  |  Branch (6018:17): [True: 0, False: 0]
  ------------------
 6019|      0|                error(loc, "cannot apply layout qualifier to", "redeclaration", symbol->getName().c_str());
 6020|      0|            if (qualifier.isMemory() || qualifier.isAuxiliary() || symbol->getType().getQualifier().storage != qualifier.storage)
  ------------------
  |  Branch (6020:17): [True: 0, False: 0]
  |  Branch (6020:41): [True: 0, False: 0]
  |  Branch (6020:68): [True: 0, False: 0]
  ------------------
 6021|      0|                error(loc, "cannot change storage, memory, or auxiliary qualification of", "redeclaration", symbol->getName().c_str());
 6022|      0|        } else if (identifier == "gl_TexCoord"     ||
  ------------------
  |  Branch (6022:20): [True: 0, False: 0]
  ------------------
 6023|      0|                   identifier == "gl_ClipDistance" ||
  ------------------
  |  Branch (6023:20): [True: 0, False: 0]
  ------------------
 6024|      0|                   identifier == "gl_CullDistance") {
  ------------------
  |  Branch (6024:20): [True: 0, False: 0]
  ------------------
 6025|      0|            if (qualifier.hasLayout() || qualifier.isMemory() || qualifier.isAuxiliary() ||
  ------------------
  |  Branch (6025:17): [True: 0, False: 0]
  |  Branch (6025:42): [True: 0, False: 0]
  |  Branch (6025:66): [True: 0, False: 0]
  ------------------
 6026|      0|                qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6026:17): [True: 0, False: 0]
  |  Branch (6026:65): [True: 0, False: 0]
  ------------------
 6027|      0|                symbolQualifier.storage != qualifier.storage)
  ------------------
  |  Branch (6027:17): [True: 0, False: 0]
  ------------------
 6028|      0|                error(loc, "cannot change qualification of", "redeclaration", symbol->getName().c_str());
 6029|      0|        } else if (identifier == "gl_FragCoord") {
  ------------------
  |  Branch (6029:20): [True: 0, False: 0]
  ------------------
 6030|      0|            if (!intermediate.getTexCoordRedeclared() && intermediate.inIoAccessed("gl_FragCoord"))
  ------------------
  |  Branch (6030:17): [True: 0, False: 0]
  |  Branch (6030:17): [True: 0, False: 0]
  |  Branch (6030:58): [True: 0, False: 0]
  ------------------
 6031|      0|                error(loc, "cannot redeclare after use", "gl_FragCoord", "");
 6032|      0|            if (qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6032:17): [True: 0, False: 0]
  |  Branch (6032:65): [True: 0, False: 0]
  ------------------
 6033|      0|                qualifier.isMemory() || qualifier.isAuxiliary())
  ------------------
  |  Branch (6033:17): [True: 0, False: 0]
  |  Branch (6033:41): [True: 0, False: 0]
  ------------------
 6034|      0|                error(loc, "can only change layout qualification of", "redeclaration", symbol->getName().c_str());
 6035|      0|            if (qualifier.storage != EvqVaryingIn)
  ------------------
  |  Branch (6035:17): [True: 0, False: 0]
  ------------------
 6036|      0|                error(loc, "cannot change input storage qualification of", "redeclaration", symbol->getName().c_str());
 6037|      0|            if (! builtIn && (publicType.pixelCenterInteger != intermediate.getPixelCenterInteger() ||
  ------------------
  |  Branch (6037:17): [True: 0, False: 0]
  |  Branch (6037:31): [True: 0, False: 0]
  ------------------
 6038|      0|                              publicType.originUpperLeft != intermediate.getOriginUpperLeft()))
  ------------------
  |  Branch (6038:31): [True: 0, False: 0]
  ------------------
 6039|      0|                error(loc, "cannot redeclare with different qualification:", "redeclaration", symbol->getName().c_str());
 6040|       |
 6041|       |
 6042|      0|            intermediate.setTexCoordRedeclared();
 6043|      0|            if (publicType.pixelCenterInteger)
  ------------------
  |  Branch (6043:17): [True: 0, False: 0]
  ------------------
 6044|      0|                intermediate.setPixelCenterInteger();
 6045|      0|            if (publicType.originUpperLeft)
  ------------------
  |  Branch (6045:17): [True: 0, False: 0]
  ------------------
 6046|      0|                intermediate.setOriginUpperLeft();
 6047|      0|        } else if (identifier == "gl_FragDepth") {
  ------------------
  |  Branch (6047:20): [True: 0, False: 0]
  ------------------
 6048|      0|            if (qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6048:17): [True: 0, False: 0]
  |  Branch (6048:65): [True: 0, False: 0]
  ------------------
 6049|      0|                qualifier.isMemory() || qualifier.isAuxiliary())
  ------------------
  |  Branch (6049:17): [True: 0, False: 0]
  |  Branch (6049:41): [True: 0, False: 0]
  ------------------
 6050|      0|                error(loc, "can only change layout qualification of", "redeclaration", symbol->getName().c_str());
 6051|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (6051:17): [True: 0, False: 0]
  ------------------
 6052|      0|                error(loc, "cannot change output storage qualification of", "redeclaration", symbol->getName().c_str());
 6053|      0|            if (publicType.layoutDepth != EldNone) {
  ------------------
  |  Branch (6053:17): [True: 0, False: 0]
  ------------------
 6054|      0|                if (intermediate.inIoAccessed("gl_FragDepth"))
  ------------------
  |  Branch (6054:21): [True: 0, False: 0]
  ------------------
 6055|      0|                    error(loc, "cannot redeclare after use", "gl_FragDepth", "");
 6056|      0|                if (! intermediate.setDepth(publicType.layoutDepth))
  ------------------
  |  Branch (6056:21): [True: 0, False: 0]
  ------------------
 6057|      0|                    error(loc, "all redeclarations must use the same depth layout on", "redeclaration", symbol->getName().c_str());
 6058|      0|            }
 6059|      0|        } else if (identifier == "gl_FragStencilRefARB") {
  ------------------
  |  Branch (6059:20): [True: 0, False: 0]
  ------------------
 6060|      0|            if (qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6060:17): [True: 0, False: 0]
  |  Branch (6060:65): [True: 0, False: 0]
  ------------------
 6061|      0|                qualifier.isMemory() || qualifier.isAuxiliary())
  ------------------
  |  Branch (6061:17): [True: 0, False: 0]
  |  Branch (6061:41): [True: 0, False: 0]
  ------------------
 6062|      0|                error(loc, "can only change layout qualification of", "redeclaration", symbol->getName().c_str());
 6063|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (6063:17): [True: 0, False: 0]
  ------------------
 6064|      0|                error(loc, "cannot change output storage qualification of", "redeclaration", symbol->getName().c_str());
 6065|      0|            if (publicType.layoutStencil != ElsNone) {
  ------------------
  |  Branch (6065:17): [True: 0, False: 0]
  ------------------
 6066|      0|                if (intermediate.inIoAccessed("gl_FragStencilRefARB"))
  ------------------
  |  Branch (6066:21): [True: 0, False: 0]
  ------------------
 6067|      0|                    error(loc, "cannot redeclare after use", "gl_FragStencilRefARB", "");
 6068|      0|                if (!intermediate.setStencil(publicType.layoutStencil))
  ------------------
  |  Branch (6068:21): [True: 0, False: 0]
  ------------------
 6069|      0|                    error(loc, "all redeclarations must use the same stencil layout on", "redeclaration",
 6070|      0|                          symbol->getName().c_str());
 6071|      0|            }
 6072|      0|        }
 6073|      0|        else if (
 6074|      0|            identifier == "gl_PrimitiveIndicesNV") {
  ------------------
  |  Branch (6074:13): [True: 0, False: 0]
  ------------------
 6075|      0|            if (qualifier.hasLayout())
  ------------------
  |  Branch (6075:17): [True: 0, False: 0]
  ------------------
 6076|      0|                error(loc, "cannot apply layout qualifier to", "redeclaration", symbol->getName().c_str());
 6077|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (6077:17): [True: 0, False: 0]
  ------------------
 6078|      0|                error(loc, "cannot change output storage qualification of", "redeclaration", symbol->getName().c_str());
 6079|      0|        }
 6080|      0|        else if (identifier == "gl_SampleMask") {
  ------------------
  |  Branch (6080:18): [True: 0, False: 0]
  ------------------
 6081|      0|            if (!publicType.layoutOverrideCoverage) {
  ------------------
  |  Branch (6081:17): [True: 0, False: 0]
  ------------------
 6082|      0|                error(loc, "redeclaration only allowed for override_coverage layout", "redeclaration", symbol->getName().c_str());
 6083|      0|            }
 6084|      0|            intermediate.setLayoutOverrideCoverage();
 6085|      0|        }
 6086|      0|        else if (identifier == "gl_Layer") {
  ------------------
  |  Branch (6086:18): [True: 0, False: 0]
  ------------------
 6087|      0|            if (!qualifier.layoutViewportRelative && qualifier.layoutSecondaryViewportRelativeOffset == -2048)
  ------------------
  |  Branch (6087:17): [True: 0, False: 0]
  |  Branch (6087:54): [True: 0, False: 0]
  ------------------
 6088|      0|                error(loc, "redeclaration only allowed for viewport_relative or secondary_view_offset layout", "redeclaration", symbol->getName().c_str());
 6089|      0|            symbolQualifier.layoutViewportRelative = qualifier.layoutViewportRelative;
 6090|      0|            symbolQualifier.layoutSecondaryViewportRelativeOffset = qualifier.layoutSecondaryViewportRelativeOffset;
 6091|      0|        }
 6092|       |
 6093|       |        // TODO: semantics quality: separate smooth from nothing declared, then use IsInterpolation for several tests above
 6094|       |
 6095|      0|        return symbol;
 6096|      0|    }
 6097|       |
 6098|      0|    return nullptr;
 6099|      0|}
_ZN7glslang13TParseContext20paramCheckFixStorageERKNS_10TSourceLocERKNS_17TStorageQualifierERNS_5TTypeE:
 6326|   289k|{
 6327|   289k|    switch (qualifier) {
 6328|      0|    case EvqConst:
  ------------------
  |  Branch (6328:5): [True: 0, False: 289k]
  ------------------
 6329|      0|    case EvqConstReadOnly:
  ------------------
  |  Branch (6329:5): [True: 0, False: 289k]
  ------------------
 6330|      0|        type.getQualifier().storage = EvqConstReadOnly;
 6331|      0|        break;
 6332|     77|    case EvqIn:
  ------------------
  |  Branch (6332:5): [True: 77, False: 289k]
  ------------------
 6333|  11.9k|    case EvqOut:
  ------------------
  |  Branch (6333:5): [True: 11.9k, False: 277k]
  ------------------
 6334|  12.7k|    case EvqInOut:
  ------------------
  |  Branch (6334:5): [True: 728, False: 288k]
  ------------------
 6335|  12.7k|    case EvqTileImageEXT:
  ------------------
  |  Branch (6335:5): [True: 0, False: 289k]
  ------------------
 6336|  12.7k|        type.getQualifier().storage = qualifier;
 6337|  12.7k|        break;
 6338|  6.59k|    case EvqGlobal:
  ------------------
  |  Branch (6338:5): [True: 6.59k, False: 282k]
  ------------------
 6339|   276k|    case EvqTemporary:
  ------------------
  |  Branch (6339:5): [True: 269k, False: 19.3k]
  ------------------
 6340|   276k|        type.getQualifier().storage = EvqIn;
 6341|   276k|        break;
 6342|      0|    default:
  ------------------
  |  Branch (6342:5): [True: 0, False: 289k]
  ------------------
 6343|      0|        type.getQualifier().storage = EvqIn;
 6344|      0|        error(loc, "storage qualifier not allowed on function parameter", GetStorageQualifierString(qualifier), "");
 6345|      0|        break;
 6346|   289k|    }
 6347|   289k|}
_ZN7glslang13TParseContext13paramCheckFixERKNS_10TSourceLocERKNS_10TQualifierERNS_5TTypeE:
 6350|  33.6k|{
 6351|  33.6k|    if (qualifier.isMemory()) {
  ------------------
  |  Branch (6351:9): [True: 15.0k, False: 18.5k]
  ------------------
 6352|  15.0k|        type.getQualifier().volatil   = qualifier.volatil;
 6353|  15.0k|        type.getQualifier().nontemporal   = qualifier.nontemporal;
 6354|  15.0k|        type.getQualifier().coherent  = qualifier.coherent;
 6355|  15.0k|        type.getQualifier().devicecoherent  = qualifier.devicecoherent ;
 6356|  15.0k|        type.getQualifier().queuefamilycoherent  = qualifier.queuefamilycoherent;
 6357|  15.0k|        type.getQualifier().workgroupcoherent  = qualifier.workgroupcoherent;
 6358|  15.0k|        type.getQualifier().subgroupcoherent  = qualifier.subgroupcoherent;
 6359|  15.0k|        type.getQualifier().shadercallcoherent = qualifier.shadercallcoherent;
 6360|  15.0k|        type.getQualifier().nonprivate = qualifier.nonprivate;
 6361|  15.0k|        type.getQualifier().readonly  = qualifier.readonly;
 6362|  15.0k|        type.getQualifier().writeonly = qualifier.writeonly;
 6363|  15.0k|        type.getQualifier().restrict  = qualifier.restrict;
 6364|  15.0k|    }
 6365|       |
 6366|  33.6k|    if (qualifier.isAuxiliary() ||
  ------------------
  |  Branch (6366:9): [True: 0, False: 33.6k]
  ------------------
 6367|  33.6k|        qualifier.isInterpolation())
  ------------------
  |  Branch (6367:9): [True: 0, False: 33.6k]
  ------------------
 6368|      0|        error(loc, "cannot use auxiliary or interpolation qualifiers on a function parameter", "", "");
 6369|  33.6k|    if (qualifier.hasLayout())
  ------------------
  |  Branch (6369:9): [True: 0, False: 33.6k]
  ------------------
 6370|      0|        error(loc, "cannot use layout qualifiers on a function parameter", "", "");
 6371|  33.6k|    if (qualifier.invariant)
  ------------------
  |  Branch (6371:9): [True: 0, False: 33.6k]
  ------------------
 6372|      0|        error(loc, "cannot use invariant qualifier on a function parameter", "", "");
 6373|  33.6k|    if (qualifier.isNoContraction()) {
  ------------------
  |  Branch (6373:9): [True: 0, False: 33.6k]
  ------------------
 6374|      0|        if (qualifier.isParamOutput())
  ------------------
  |  Branch (6374:13): [True: 0, False: 0]
  ------------------
 6375|      0|            type.getQualifier().setNoContraction();
 6376|      0|        else
 6377|      0|            warn(loc, "qualifier has no effect on non-output parameters", "precise", "");
 6378|      0|    }
 6379|  33.6k|    if (qualifier.isNonUniform())
  ------------------
  |  Branch (6379:9): [True: 0, False: 33.6k]
  ------------------
 6380|      0|        type.getQualifier().nonUniform = qualifier.nonUniform;
 6381|  33.6k|    if (qualifier.isSpirvByReference())
  ------------------
  |  Branch (6381:9): [True: 0, False: 33.6k]
  ------------------
 6382|      0|        type.getQualifier().setSpirvByReference();
 6383|  33.6k|    if (qualifier.isSpirvLiteral()) {
  ------------------
  |  Branch (6383:9): [True: 0, False: 33.6k]
  ------------------
 6384|      0|        if (type.getBasicType() == EbtFloat || type.getBasicType() == EbtInt || type.getBasicType() == EbtUint ||
  ------------------
  |  Branch (6384:13): [True: 0, False: 0]
  |  Branch (6384:48): [True: 0, False: 0]
  |  Branch (6384:81): [True: 0, False: 0]
  ------------------
 6385|      0|            type.getBasicType() == EbtBool)
  ------------------
  |  Branch (6385:13): [True: 0, False: 0]
  ------------------
 6386|      0|            type.getQualifier().setSpirvLiteral();
 6387|      0|        else
 6388|      0|            error(loc, "cannot use spirv_literal qualifier", type.getBasicTypeString().c_str(), "");
 6389|      0|    }
 6390|       |
 6391|  33.6k|    paramCheckFixStorage(loc, qualifier.storage, type);
 6392|  33.6k|}
_ZN7glslang13TParseContext16nestedBlockCheckERKNS_10TSourceLocEb:
 6395|     63|{
 6396|     63|    if ((!allowedInnerStruct && structNestingLevel > 0) ||
  ------------------
  |  Branch (6396:10): [True: 63, False: 0]
  |  Branch (6396:33): [True: 0, False: 63]
  ------------------
 6397|     63|        (allowedInnerStruct && structNestingLevel <= 0) ||
  ------------------
  |  Branch (6397:10): [True: 0, False: 63]
  |  Branch (6397:32): [True: 0, False: 0]
  ------------------
 6398|     63|        blockNestingLevel > 0)
  ------------------
  |  Branch (6398:9): [True: 0, False: 63]
  ------------------
 6399|      0|        error(loc, "cannot nest a block definition inside a structure or block", "", "");
 6400|     63|    ++blockNestingLevel;
 6401|     63|}
_ZN7glslang13TParseContext17nestedStructCheckERKNS_10TSourceLocE:
 6404|     99|{
 6405|     99|    if (structNestingLevel > 0 || blockNestingLevel > 0)
  ------------------
  |  Branch (6405:9): [True: 0, False: 99]
  |  Branch (6405:35): [True: 0, False: 99]
  ------------------
 6406|      0|        error(loc, "cannot nest a structure definition inside a structure or block", "", "");
 6407|     99|    ++structNestingLevel;
 6408|     99|}
_ZN7glslang13TParseContext16arrayObjectCheckERKNS_10TSourceLocERKNS_5TTypeEPKc:
 6411|   106k|{
 6412|       |    // Some versions don't allow comparing arrays or structures containing arrays
 6413|   106k|    if (type.containsArray()) {
  ------------------
  |  Branch (6413:9): [True: 0, False: 106k]
  ------------------
 6414|      0|        profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, op);
 6415|      0|        profileRequires(loc, EEsProfile, 300, nullptr, op);
 6416|      0|    }
 6417|   106k|}
_ZN7glslang13TParseContext15structTypeCheckERKNS_10TSourceLocERNS_11TPublicTypeE:
 6471|     99|{
 6472|     99|    const TTypeList& typeList = *publicType.userDef->getStruct();
 6473|       |
 6474|       |    // fix and check for member storage qualifiers and types that don't belong within a structure
 6475|    424|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (6475:35): [True: 325, False: 99]
  ------------------
 6476|    325|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
 6477|    325|        const TSourceLoc& memberLoc = typeList[member].loc;
 6478|    325|        if (memberQualifier.isAuxiliary() ||
  ------------------
  |  Branch (6478:13): [True: 0, False: 325]
  ------------------
 6479|    325|            memberQualifier.isInterpolation() ||
  ------------------
  |  Branch (6479:13): [True: 0, False: 325]
  ------------------
 6480|    325|            (memberQualifier.storage != EvqTemporary && memberQualifier.storage != EvqGlobal &&
  ------------------
  |  Branch (6480:14): [True: 325, False: 0]
  |  Branch (6480:57): [True: 0, False: 325]
  ------------------
 6481|      0|             !memberQualifier.layoutDescriptorHeap && !memberQualifier.layoutDescriptorInnerBlock))
  ------------------
  |  Branch (6481:14): [True: 0, False: 0]
  |  Branch (6481:55): [True: 0, False: 0]
  ------------------
 6482|      0|            error(memberLoc, "cannot use storage or interpolation qualifiers on structure members", typeList[member].type->getFieldName().c_str(), "");
 6483|    325|        if (memberQualifier.isMemory())
  ------------------
  |  Branch (6483:13): [True: 0, False: 325]
  ------------------
 6484|      0|            error(memberLoc, "cannot use memory qualifiers on structure members", typeList[member].type->getFieldName().c_str(), "");
 6485|    325|        if (memberQualifier.hasLayout()) {
  ------------------
  |  Branch (6485:13): [True: 0, False: 325]
  ------------------
 6486|      0|            error(memberLoc, "cannot use layout qualifiers on structure members", typeList[member].type->getFieldName().c_str(), "");
 6487|      0|            memberQualifier.clearLayout();
 6488|      0|        }
 6489|    325|        if (memberQualifier.invariant)
  ------------------
  |  Branch (6489:13): [True: 0, False: 325]
  ------------------
 6490|      0|            error(memberLoc, "cannot use invariant qualifier on structure members", typeList[member].type->getFieldName().c_str(), "");
 6491|    325|    }
 6492|     99|}
_ZN7glslang13TParseContext6finishEv:
 6642|    351|{
 6643|    351|    TParseContextBase::finish();
 6644|       |
 6645|    351|    if (parsingBuiltins)
  ------------------
  |  Branch (6645:9): [True: 306, False: 45]
  ------------------
 6646|    306|        return;
 6647|       |
 6648|       |    // Forward builtin alias to AST for later use
 6649|     45|    intermediate.setBuiltinAliasLookup(symbolTable.collectBuiltinAlias());
 6650|       |
 6651|       |    // Check on array indexes for ES 2.0 (version 100) limitations.
 6652|     45|    for (size_t i = 0; i < needsIndexLimitationChecking.size(); ++i)
  ------------------
  |  Branch (6652:24): [True: 0, False: 45]
  ------------------
 6653|      0|        constantIndexExpressionCheck(needsIndexLimitationChecking[i]);
 6654|       |
 6655|       |    // Check for stages that are enabled by extension.
 6656|       |    // Can't do this at the beginning, it is chicken and egg to add a stage by
 6657|       |    // extension.
 6658|       |    // Stage-specific features were correctly tested for already, this is just
 6659|       |    // about the stage itself.
 6660|     45|    switch (language) {
 6661|      0|    case EShLangGeometry:
  ------------------
  |  Branch (6661:5): [True: 0, False: 45]
  ------------------
 6662|      0|        if (isEsProfile() && version == 310)
  ------------------
  |  Branch (6662:13): [True: 0, False: 0]
  |  Branch (6662:30): [True: 0, False: 0]
  ------------------
 6663|      0|            requireExtensions(getCurrentLoc(), Num_AEP_geometry_shader, AEP_geometry_shader, "geometry shaders");
 6664|      0|        break;
 6665|      0|    case EShLangTessControl:
  ------------------
  |  Branch (6665:5): [True: 0, False: 45]
  ------------------
 6666|      0|    case EShLangTessEvaluation:
  ------------------
  |  Branch (6666:5): [True: 0, False: 45]
  ------------------
 6667|      0|        if (isEsProfile() && version == 310)
  ------------------
  |  Branch (6667:13): [True: 0, False: 0]
  |  Branch (6667:30): [True: 0, False: 0]
  ------------------
 6668|      0|            requireExtensions(getCurrentLoc(), Num_AEP_tessellation_shader, AEP_tessellation_shader, "tessellation shaders");
 6669|      0|        else if (!isEsProfile() && version < 400)
  ------------------
  |  Branch (6669:18): [True: 0, False: 0]
  |  Branch (6669:36): [True: 0, False: 0]
  ------------------
 6670|      0|            requireExtensions(getCurrentLoc(), 1, &E_GL_ARB_tessellation_shader, "tessellation shaders");
 6671|      0|        break;
 6672|      0|    case EShLangCompute:
  ------------------
  |  Branch (6672:5): [True: 0, False: 45]
  ------------------
 6673|      0|        if (!isEsProfile() && version < 430)
  ------------------
  |  Branch (6673:13): [True: 0, False: 0]
  |  Branch (6673:31): [True: 0, False: 0]
  ------------------
 6674|      0|            requireExtensions(getCurrentLoc(), 1, &E_GL_ARB_compute_shader, "compute shaders");
 6675|      0|        break;
 6676|      0|    case EShLangTask:
  ------------------
  |  Branch (6676:5): [True: 0, False: 45]
  ------------------
 6677|      0|        requireExtensions(getCurrentLoc(), Num_AEP_mesh_shader, AEP_mesh_shader, "task shaders");
 6678|      0|        break;
 6679|      0|    case EShLangMesh:
  ------------------
  |  Branch (6679:5): [True: 0, False: 45]
  ------------------
 6680|      0|        requireExtensions(getCurrentLoc(), Num_AEP_mesh_shader, AEP_mesh_shader, "mesh shaders");
 6681|      0|        break;
 6682|     45|    default:
  ------------------
  |  Branch (6682:5): [True: 45, False: 0]
  ------------------
 6683|     45|        break;
 6684|     45|    }
 6685|       |
 6686|     45|    if (intermediate.IsRequestedExtension(E_GL_KHR_compute_shader_derivatives) &&
  ------------------
  |  Branch (6686:9): [True: 0, False: 45]
  ------------------
 6687|      0|        !khrDerivativeLayoutQualifierSpecified) {
  ------------------
  |  Branch (6687:9): [True: 0, False: 0]
  ------------------
 6688|      0|        error(getCurrentLoc(), "requires one of derivative_group_quadsKHR or derivative_group_linearKHR layout qualifiers",
 6689|      0|              E_GL_KHR_compute_shader_derivatives, "");
 6690|      0|    }
 6691|       |
 6692|     45|    if (intermediate.getLayoutDerivativeModeNone() == LayoutDerivativeGroupQuads) {
  ------------------
  |  Branch (6692:9): [True: 0, False: 45]
  ------------------
 6693|      0|        if ((intermediate.getLocalSizeSpecId(0) == TQualifier::layoutNotSet && (intermediate.getLocalSize(0) & 1)) ||
  ------------------
  |  Branch (6693:14): [True: 0, False: 0]
  |  Branch (6693:80): [True: 0, False: 0]
  ------------------
 6694|      0|            (intermediate.getLocalSizeSpecId(1) == TQualifier::layoutNotSet && (intermediate.getLocalSize(1) & 1)))
  ------------------
  |  Branch (6694:14): [True: 0, False: 0]
  |  Branch (6694:80): [True: 0, False: 0]
  ------------------
 6695|      0|            error(getCurrentLoc(), "requires local_size_x and local_size_y to be multiple of two", "derivative_group_quads", "");
 6696|     45|    } else if (intermediate.getLayoutDerivativeModeNone() == LayoutDerivativeGroupLinear) {
  ------------------
  |  Branch (6696:16): [True: 0, False: 45]
  ------------------
 6697|      0|        if (intermediate.getLocalSizeSpecId(0) == TQualifier::layoutNotSet &&
  ------------------
  |  Branch (6697:13): [True: 0, False: 0]
  ------------------
 6698|      0|            intermediate.getLocalSizeSpecId(1) == TQualifier::layoutNotSet &&
  ------------------
  |  Branch (6698:13): [True: 0, False: 0]
  ------------------
 6699|      0|            intermediate.getLocalSizeSpecId(2) == TQualifier::layoutNotSet &&
  ------------------
  |  Branch (6699:13): [True: 0, False: 0]
  ------------------
 6700|      0|            (intermediate.getLocalSize(0) *
  ------------------
  |  Branch (6700:13): [True: 0, False: 0]
  ------------------
 6701|      0|             intermediate.getLocalSize(1) *
 6702|      0|             intermediate.getLocalSize(2)) % 4 != 0)
 6703|      0|            error(getCurrentLoc(), "requires total group size to be multiple of four", "derivative_group_linear", "");
 6704|      0|    }
 6705|       |
 6706|       |    // Set default outputs for GL_NV_geometry_shader_passthrough
 6707|     45|    if (language == EShLangGeometry && extensionTurnedOn(E_SPV_NV_geometry_shader_passthrough)) {
  ------------------
  |  Branch (6707:9): [True: 0, False: 45]
  |  Branch (6707:40): [True: 0, False: 0]
  ------------------
 6708|      0|        if (intermediate.getOutputPrimitive() == ElgNone) {
  ------------------
  |  Branch (6708:13): [True: 0, False: 0]
  ------------------
 6709|      0|            switch (intermediate.getInputPrimitive()) {
 6710|      0|            case ElgPoints:      intermediate.setOutputPrimitive(ElgPoints);    break;
  ------------------
  |  Branch (6710:13): [True: 0, False: 0]
  ------------------
 6711|      0|            case ElgLines:       intermediate.setOutputPrimitive(ElgLineStrip); break;
  ------------------
  |  Branch (6711:13): [True: 0, False: 0]
  ------------------
 6712|      0|            case ElgTriangles:   intermediate.setOutputPrimitive(ElgTriangleStrip); break;
  ------------------
  |  Branch (6712:13): [True: 0, False: 0]
  ------------------
 6713|      0|            default: break;
  ------------------
  |  Branch (6713:13): [True: 0, False: 0]
  ------------------
 6714|      0|            }
 6715|      0|        }
 6716|      0|        if (intermediate.getVertices() == TQualifier::layoutNotSet) {
  ------------------
  |  Branch (6716:13): [True: 0, False: 0]
  ------------------
 6717|      0|            switch (intermediate.getInputPrimitive()) {
 6718|      0|            case ElgPoints:      intermediate.setVertices(1); break;
  ------------------
  |  Branch (6718:13): [True: 0, False: 0]
  ------------------
 6719|      0|            case ElgLines:       intermediate.setVertices(2); break;
  ------------------
  |  Branch (6719:13): [True: 0, False: 0]
  ------------------
 6720|      0|            case ElgTriangles:   intermediate.setVertices(3); break;
  ------------------
  |  Branch (6720:13): [True: 0, False: 0]
  ------------------
 6721|      0|            default: break;
  ------------------
  |  Branch (6721:13): [True: 0, False: 0]
  ------------------
 6722|      0|            }
 6723|      0|        }
 6724|      0|    }
 6725|     45|}
_ZN7glslang13TParseContext27mergeObjectLayoutQualifiersERNS_10TQualifierERKS1_b:
 7574|  47.1k|{
 7575|  47.1k|    if (src.hasMatrix())
  ------------------
  |  Branch (7575:9): [True: 0, False: 47.1k]
  ------------------
 7576|      0|        dst.layoutMatrix = src.layoutMatrix;
 7577|  47.1k|    if (src.hasPacking())
  ------------------
  |  Branch (7577:9): [True: 0, False: 47.1k]
  ------------------
 7578|      0|        dst.layoutPacking = src.layoutPacking;
 7579|       |
 7580|  47.1k|    if (src.hasStream())
  ------------------
  |  Branch (7580:9): [True: 7, False: 47.0k]
  ------------------
 7581|      7|        dst.layoutStream = src.layoutStream;
 7582|  47.1k|    if (src.hasFormat())
  ------------------
  |  Branch (7582:9): [True: 0, False: 47.1k]
  ------------------
 7583|      0|        dst.layoutFormat = src.layoutFormat;
 7584|  47.1k|    if (src.hasXfbBuffer())
  ------------------
  |  Branch (7584:9): [True: 28, False: 47.0k]
  ------------------
 7585|     28|        dst.layoutXfbBuffer = src.layoutXfbBuffer;
 7586|  47.1k|    if (src.hasBufferReferenceAlign())
  ------------------
  |  Branch (7586:9): [True: 0, False: 47.1k]
  ------------------
 7587|      0|        dst.layoutBufferReferenceAlign = src.layoutBufferReferenceAlign;
 7588|       |
 7589|  47.1k|    if (src.hasAlign())
  ------------------
  |  Branch (7589:9): [True: 0, False: 47.1k]
  ------------------
 7590|      0|        dst.layoutAlign = src.layoutAlign;
 7591|       |
 7592|  47.1k|    if (! inheritOnly) {
  ------------------
  |  Branch (7592:9): [True: 46.9k, False: 126]
  ------------------
 7593|  46.9k|        if (src.hasLocation())
  ------------------
  |  Branch (7593:13): [True: 0, False: 46.9k]
  ------------------
 7594|      0|            dst.layoutLocation = src.layoutLocation;
 7595|  46.9k|        if (src.hasOffset())
  ------------------
  |  Branch (7595:13): [True: 0, False: 46.9k]
  ------------------
 7596|      0|            dst.layoutOffset = src.layoutOffset;
 7597|  46.9k|        if (src.hasSet())
  ------------------
  |  Branch (7597:13): [True: 0, False: 46.9k]
  ------------------
 7598|      0|            dst.layoutSet = src.layoutSet;
 7599|  46.9k|        if (src.layoutBinding != TQualifier::layoutBindingEnd)
  ------------------
  |  Branch (7599:13): [True: 0, False: 46.9k]
  ------------------
 7600|      0|            dst.layoutBinding = src.layoutBinding;
 7601|       |
 7602|  46.9k|        if (src.hasSpecConstantId())
  ------------------
  |  Branch (7602:13): [True: 0, False: 46.9k]
  ------------------
 7603|      0|            dst.layoutSpecConstantId = src.layoutSpecConstantId;
 7604|       |
 7605|  46.9k|        if (src.hasComponent())
  ------------------
  |  Branch (7605:13): [True: 0, False: 46.9k]
  ------------------
 7606|      0|            dst.layoutComponent = src.layoutComponent;
 7607|  46.9k|        if (src.hasIndex())
  ------------------
  |  Branch (7607:13): [True: 0, False: 46.9k]
  ------------------
 7608|      0|            dst.layoutIndex = src.layoutIndex;
 7609|  46.9k|        if (src.hasXfbStride())
  ------------------
  |  Branch (7609:13): [True: 0, False: 46.9k]
  ------------------
 7610|      0|            dst.layoutXfbStride = src.layoutXfbStride;
 7611|  46.9k|        if (src.hasXfbOffset())
  ------------------
  |  Branch (7611:13): [True: 0, False: 46.9k]
  ------------------
 7612|      0|            dst.layoutXfbOffset = src.layoutXfbOffset;
 7613|  46.9k|        if (src.hasAttachment())
  ------------------
  |  Branch (7613:13): [True: 0, False: 46.9k]
  ------------------
 7614|      0|            dst.layoutAttachment = src.layoutAttachment;
 7615|  46.9k|        if (src.layoutDescriptorHeap)
  ------------------
  |  Branch (7615:13): [True: 0, False: 46.9k]
  ------------------
 7616|      0|            dst.layoutDescriptorHeap = true;
 7617|  46.9k|        if (src.layoutDescriptorInnerBlock)
  ------------------
  |  Branch (7617:13): [True: 0, False: 46.9k]
  ------------------
 7618|      0|            dst.layoutDescriptorInnerBlock = true;
 7619|  46.9k|        if (src.layoutDescriptorStride != TQualifier::layoutDescriptorStrideEnd)
  ------------------
  |  Branch (7619:13): [True: 0, False: 46.9k]
  ------------------
 7620|      0|            dst.layoutDescriptorStride = src.layoutDescriptorStride;
 7621|  46.9k|        if (src.layoutHeapOffset != 0)
  ------------------
  |  Branch (7621:13): [True: 0, False: 46.9k]
  ------------------
 7622|      0|            dst.layoutHeapOffset = src.layoutHeapOffset;
 7623|  46.9k|        if (src.layoutPushConstant)
  ------------------
  |  Branch (7623:13): [True: 0, False: 46.9k]
  ------------------
 7624|      0|            dst.layoutPushConstant = true;
 7625|       |
 7626|  46.9k|        if (src.layoutBufferReference)
  ------------------
  |  Branch (7626:13): [True: 0, False: 46.9k]
  ------------------
 7627|      0|            dst.layoutBufferReference = true;
 7628|       |
 7629|  46.9k|        if (src.layoutPassthrough)
  ------------------
  |  Branch (7629:13): [True: 0, False: 46.9k]
  ------------------
 7630|      0|            dst.layoutPassthrough = true;
 7631|  46.9k|        if (src.layoutViewportRelative)
  ------------------
  |  Branch (7631:13): [True: 0, False: 46.9k]
  ------------------
 7632|      0|            dst.layoutViewportRelative = true;
 7633|  46.9k|        if (src.layoutSecondaryViewportRelativeOffset != -2048)
  ------------------
  |  Branch (7633:13): [True: 0, False: 46.9k]
  ------------------
 7634|      0|            dst.layoutSecondaryViewportRelativeOffset = src.layoutSecondaryViewportRelativeOffset;
 7635|  46.9k|        if (src.layoutShaderRecord)
  ------------------
  |  Branch (7635:13): [True: 0, False: 46.9k]
  ------------------
 7636|      0|            dst.layoutShaderRecord = true;
 7637|  46.9k|        if (src.layoutFullQuads)
  ------------------
  |  Branch (7637:13): [True: 0, False: 46.9k]
  ------------------
 7638|      0|            dst.layoutFullQuads = true;
 7639|  46.9k|        if (src.layoutQuadDeriv)
  ------------------
  |  Branch (7639:13): [True: 0, False: 46.9k]
  ------------------
 7640|      0|            dst.layoutQuadDeriv = true;
 7641|  46.9k|        if (src.layoutBindlessSampler)
  ------------------
  |  Branch (7641:13): [True: 0, False: 46.9k]
  ------------------
 7642|      0|            dst.layoutBindlessSampler = true;
 7643|  46.9k|        if (src.layoutBindlessImage)
  ------------------
  |  Branch (7643:13): [True: 0, False: 46.9k]
  ------------------
 7644|      0|            dst.layoutBindlessImage = true;
 7645|  46.9k|        if (src.pervertexNV)
  ------------------
  |  Branch (7645:13): [True: 0, False: 46.9k]
  ------------------
 7646|      0|            dst.pervertexNV = true;
 7647|  46.9k|        if (src.pervertexEXT)
  ------------------
  |  Branch (7647:13): [True: 0, False: 46.9k]
  ------------------
 7648|      0|            dst.pervertexEXT = true;
 7649|  46.9k|        if (src.layoutHitObjectShaderRecordNV)
  ------------------
  |  Branch (7649:13): [True: 0, False: 46.9k]
  ------------------
 7650|      0|            dst.layoutHitObjectShaderRecordNV = true;
 7651|  46.9k|        dst.layoutTileAttachmentQCOM |= src.layoutTileAttachmentQCOM;
 7652|  46.9k|        if (src.layoutHitObjectShaderRecordEXT)
  ------------------
  |  Branch (7652:13): [True: 0, False: 46.9k]
  ------------------
 7653|      0|            dst.layoutHitObjectShaderRecordEXT = true;
 7654|  46.9k|        if (src.hasBank())
  ------------------
  |  Branch (7654:13): [True: 0, False: 46.9k]
  ------------------
 7655|      0|            dst.layoutBank = src.layoutBank;
 7656|  46.9k|        if (src.hasMemberOffset())
  ------------------
  |  Branch (7656:13): [True: 0, False: 46.9k]
  ------------------
 7657|      0|            dst.layoutMemberOffset = src.layoutMemberOffset;
 7658|  46.9k|    }
 7659|  47.1k|}
_ZN7glslang13TParseContext17layoutObjectCheckERKNS_10TSourceLocERKNS_7TSymbolE:
 7663|  5.20k|{
 7664|  5.20k|    const TType& type = symbol.getType();
 7665|  5.20k|    const TQualifier& qualifier = type.getQualifier();
 7666|       |
 7667|       |    // first, cross check WRT to just the type
 7668|  5.20k|    layoutTypeCheck(loc, type);
 7669|       |
 7670|       |    // now, any remaining error checking based on the object itself
 7671|       |
 7672|  5.20k|    if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (7672:9): [True: 0, False: 5.20k]
  ------------------
 7673|      0|        switch (qualifier.storage) {
 7674|      0|        case EvqUniform:
  ------------------
  |  Branch (7674:9): [True: 0, False: 0]
  ------------------
 7675|      0|        case EvqBuffer:
  ------------------
  |  Branch (7675:9): [True: 0, False: 0]
  ------------------
 7676|      0|            if (symbol.getAsVariable() == nullptr)
  ------------------
  |  Branch (7676:17): [True: 0, False: 0]
  ------------------
 7677|      0|                error(loc, "can only be used on variable declaration", "location", "");
 7678|      0|            break;
 7679|      0|        default:
  ------------------
  |  Branch (7679:9): [True: 0, False: 0]
  ------------------
 7680|      0|            break;
 7681|      0|        }
 7682|      0|    }
 7683|       |
 7684|       |    // user-variable location check, which are required for SPIR-V in/out:
 7685|       |    //  - variables have it directly,
 7686|       |    //  - blocks have it on each member (already enforced), so check first one
 7687|  5.20k|    if (spvVersion.spv > 0 && !parsingBuiltins && qualifier.builtIn == EbvNone &&
  ------------------
  |  Branch (7687:9): [True: 0, False: 5.20k]
  |  Branch (7687:31): [True: 0, False: 0]
  |  Branch (7687:51): [True: 0, False: 0]
  ------------------
 7688|      0|        !qualifier.hasLocation() && !intermediate.getAutoMapLocations()) {
  ------------------
  |  Branch (7688:9): [True: 0, False: 0]
  |  Branch (7688:37): [True: 0, False: 0]
  ------------------
 7689|       |
 7690|      0|        switch (qualifier.storage) {
 7691|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (7691:9): [True: 0, False: 0]
  ------------------
 7692|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (7692:9): [True: 0, False: 0]
  ------------------
 7693|      0|            if (!type.getQualifier().isTaskMemory() && !type.getQualifier().hasSpirvDecorate() &&
  ------------------
  |  Branch (7693:17): [True: 0, False: 0]
  |  Branch (7693:56): [True: 0, False: 0]
  ------------------
 7694|      0|                (type.getBasicType() != EbtBlock ||
  ------------------
  |  Branch (7694:18): [True: 0, False: 0]
  ------------------
 7695|      0|                 (!(*type.getStruct())[0].type->getQualifier().hasLocation() &&
  ------------------
  |  Branch (7695:19): [True: 0, False: 0]
  ------------------
 7696|      0|                   (*type.getStruct())[0].type->getQualifier().builtIn == EbvNone)))
  ------------------
  |  Branch (7696:20): [True: 0, False: 0]
  ------------------
 7697|      0|                error(loc, "SPIR-V requires location for user input/output", "location", "");
 7698|      0|            break;
 7699|      0|        default:
  ------------------
  |  Branch (7699:9): [True: 0, False: 0]
  ------------------
 7700|      0|            break;
 7701|      0|        }
 7702|      0|    }
 7703|       |
 7704|       |    // Check packing and matrix
 7705|  5.20k|    if (qualifier.hasUniformLayout()) {
  ------------------
  |  Branch (7705:9): [True: 0, False: 5.20k]
  ------------------
 7706|      0|        switch (qualifier.storage) {
 7707|      0|        case EvqUniform:
  ------------------
  |  Branch (7707:9): [True: 0, False: 0]
  ------------------
 7708|      0|        case EvqBuffer:
  ------------------
  |  Branch (7708:9): [True: 0, False: 0]
  ------------------
 7709|      0|            if (type.getBasicType() != EbtBlock) {
  ------------------
  |  Branch (7709:17): [True: 0, False: 0]
  ------------------
 7710|      0|                if (qualifier.hasMatrix())
  ------------------
  |  Branch (7710:21): [True: 0, False: 0]
  ------------------
 7711|      0|                    error(loc, "cannot specify matrix layout on a variable declaration", "layout", "");
 7712|      0|                if (qualifier.hasPacking())
  ------------------
  |  Branch (7712:21): [True: 0, False: 0]
  ------------------
 7713|      0|                    error(loc, "cannot specify packing on a variable declaration", "layout", "");
 7714|       |                // "The offset qualifier can only be used on block members of blocks..."
 7715|      0|                if (qualifier.hasOffset() && !type.isAtomic())
  ------------------
  |  Branch (7715:21): [True: 0, False: 0]
  |  Branch (7715:46): [True: 0, False: 0]
  ------------------
 7716|      0|                    error(loc, "cannot specify on a variable declaration", "offset", "");
 7717|       |                // "The align qualifier can only be used on blocks or block members..."
 7718|      0|                if (qualifier.hasAlign())
  ------------------
  |  Branch (7718:21): [True: 0, False: 0]
  ------------------
 7719|      0|                    error(loc, "cannot specify on a variable declaration", "align", "");
 7720|      0|                if (qualifier.isPushConstant())
  ------------------
  |  Branch (7720:21): [True: 0, False: 0]
  ------------------
 7721|      0|                    error(loc, "can only specify on a uniform block", "push_constant", "");
 7722|      0|                if (qualifier.isShaderRecord())
  ------------------
  |  Branch (7722:21): [True: 0, False: 0]
  ------------------
 7723|      0|                    error(loc, "can only specify on a buffer block", "shaderRecordNV", "");
 7724|      0|                if (qualifier.hasLocation() && type.isAtomic())
  ------------------
  |  Branch (7724:21): [True: 0, False: 0]
  |  Branch (7724:48): [True: 0, False: 0]
  ------------------
 7725|      0|                    error(loc, "cannot specify on atomic counter", "location", "");
 7726|      0|            }
 7727|      0|            break;
 7728|      0|        default:
  ------------------
  |  Branch (7728:9): [True: 0, False: 0]
  ------------------
 7729|       |            // these were already filtered by layoutTypeCheck() (or its callees)
 7730|      0|            break;
 7731|      0|        }
 7732|      0|    }
 7733|       |
 7734|       |    // Check that an in/out variable or block doesn't contain a boolean member
 7735|       |    // Don't enforce if redeclaring a builtin, which are allowed to contain bool
 7736|  5.20k|    if (!parsingBuiltins && type.containsBasicType(EbtBool) && !builtInName(symbol.getName())) {
  ------------------
  |  Branch (7736:9): [True: 0, False: 5.20k]
  |  Branch (7736:29): [True: 0, False: 0]
  |  Branch (7736:64): [True: 0, False: 0]
  ------------------
 7737|      0|        switch(qualifier.storage) {
 7738|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (7738:9): [True: 0, False: 0]
  ------------------
 7739|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (7739:9): [True: 0, False: 0]
  ------------------
 7740|      0|        {
 7741|      0|            const char *reason = type.getBasicType() == EbtBool ? "cannot be bool" : "cannot contain bool";
  ------------------
  |  Branch (7741:34): [True: 0, False: 0]
  ------------------
 7742|      0|            error(loc, reason, GetStorageQualifierString(qualifier.storage), "");
 7743|      0|            break;
 7744|      0|        }
 7745|      0|        default:
  ------------------
  |  Branch (7745:9): [True: 0, False: 0]
  ------------------
 7746|      0|            break;
 7747|      0|        }
 7748|      0|    }
 7749|  5.20k|}
_ZN7glslang13TParseContext30layoutMemberLocationArrayCheckERKNS_10TSourceLocEbPNS_11TArraySizesE:
 7760|     63|{
 7761|     63|    if (memberWithLocation && arraySizes != nullptr) {
  ------------------
  |  Branch (7761:9): [True: 0, False: 63]
  |  Branch (7761:31): [True: 0, False: 0]
  ------------------
 7762|      0|        if (arraySizes->getNumDims() > (currentBlockQualifier.isArrayedIo(language) ? 1 : 0))
  ------------------
  |  Branch (7762:13): [True: 0, False: 0]
  |  Branch (7762:41): [True: 0, False: 0]
  ------------------
 7763|      0|            error(loc, "cannot use in a block array where new locations are needed for each block element",
 7764|      0|                       "location", "");
 7765|      0|    }
 7766|     63|}
_ZN7glslang13TParseContext15layoutTypeCheckERKNS_10TSourceLocERKNS_5TTypeE:
 7770|  5.55k|{
 7771|  5.55k|    const TQualifier& qualifier = type.getQualifier();
 7772|       |
 7773|       |    // first, intra-layout qualifier-only error checking
 7774|  5.55k|    layoutQualifierCheck(loc, qualifier);
 7775|       |
 7776|       |    // now, error checking combining type and qualifier
 7777|       |
 7778|  5.55k|    if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (7778:9): [True: 0, False: 5.55k]
  ------------------
 7779|      0|        if (qualifier.hasLocation()) {
  ------------------
  |  Branch (7779:13): [True: 0, False: 0]
  ------------------
 7780|      0|            if (qualifier.storage == EvqVaryingOut && language == EShLangFragment) {
  ------------------
  |  Branch (7780:17): [True: 0, False: 0]
  |  Branch (7780:55): [True: 0, False: 0]
  ------------------
 7781|      0|                if (qualifier.layoutLocation >= (unsigned int)resources.maxDrawBuffers)
  ------------------
  |  Branch (7781:21): [True: 0, False: 0]
  ------------------
 7782|      0|                    error(loc, "too large for fragment output", "location", "");
 7783|      0|            }
 7784|      0|        }
 7785|      0|        if (qualifier.hasComponent()) {
  ------------------
  |  Branch (7785:13): [True: 0, False: 0]
  ------------------
 7786|       |            // "It is a compile-time error if this sequence of components gets larger than 3."
 7787|      0|            if (qualifier.layoutComponent + type.getVectorSize() * (type.getBasicType() == EbtDouble ? 2 : 1) > 4)
  ------------------
  |  Branch (7787:17): [True: 0, False: 0]
  |  Branch (7787:69): [True: 0, False: 0]
  ------------------
 7788|      0|                error(loc, "type overflows the available 4 components", "component", "");
 7789|       |
 7790|       |            // "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."
 7791|      0|            if (type.isMatrix() || type.getBasicType() == EbtBlock || type.getBasicType() == EbtStruct)
  ------------------
  |  Branch (7791:17): [True: 0, False: 0]
  |  Branch (7791:36): [True: 0, False: 0]
  |  Branch (7791:71): [True: 0, False: 0]
  ------------------
 7792|      0|                error(loc, "cannot apply to a matrix, structure, or block", "component", "");
 7793|       |
 7794|       |            // " It is a compile-time error to use component 1 or 3 as the beginning of a double or dvec2."
 7795|      0|            if (type.getBasicType() == EbtDouble)
  ------------------
  |  Branch (7795:17): [True: 0, False: 0]
  ------------------
 7796|      0|                if (qualifier.layoutComponent & 1)
  ------------------
  |  Branch (7796:21): [True: 0, False: 0]
  ------------------
 7797|      0|                    error(loc, "doubles cannot start on an odd-numbered component", "component", "");
 7798|      0|        }
 7799|       |
 7800|      0|        switch (qualifier.storage) {
 7801|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (7801:9): [True: 0, False: 0]
  ------------------
 7802|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (7802:9): [True: 0, False: 0]
  ------------------
 7803|      0|            if (type.getBasicType() == EbtBlock)
  ------------------
  |  Branch (7803:17): [True: 0, False: 0]
  ------------------
 7804|      0|                profileRequires(loc, ECoreProfile | ECompatibilityProfile, 440, E_GL_ARB_enhanced_layouts, "location qualifier on in/out block");
 7805|      0|            if (type.getQualifier().isTaskMemory())
  ------------------
  |  Branch (7805:17): [True: 0, False: 0]
  ------------------
 7806|      0|                error(loc, "cannot apply to taskNV in/out blocks", "location", "");
 7807|      0|            break;
 7808|      0|        case EvqUniform:
  ------------------
  |  Branch (7808:9): [True: 0, False: 0]
  ------------------
 7809|      0|        case EvqBuffer:
  ------------------
  |  Branch (7809:9): [True: 0, False: 0]
  ------------------
 7810|      0|            if (type.getBasicType() == EbtBlock)
  ------------------
  |  Branch (7810:17): [True: 0, False: 0]
  ------------------
 7811|      0|                error(loc, "cannot apply to uniform or buffer block", "location", "");
 7812|      0|            else if (type.getBasicType() == EbtSampler && type.getSampler().isAttachmentEXT())
  ------------------
  |  Branch (7812:22): [True: 0, False: 0]
  |  Branch (7812:59): [True: 0, False: 0]
  ------------------
 7813|      0|                error(loc, "only applies to", "location", "%s with storage tileImageEXT", type.getBasicTypeString().c_str());
 7814|      0|            break;
 7815|      0|        case EvqtaskPayloadSharedEXT:
  ------------------
  |  Branch (7815:9): [True: 0, False: 0]
  ------------------
 7816|      0|            error(loc, "cannot apply to taskPayloadSharedEXT", "location", "");
 7817|      0|            break;
 7818|      0|        case EvqPayload:
  ------------------
  |  Branch (7818:9): [True: 0, False: 0]
  ------------------
 7819|      0|        case EvqPayloadIn:
  ------------------
  |  Branch (7819:9): [True: 0, False: 0]
  ------------------
 7820|      0|        case EvqHitAttr:
  ------------------
  |  Branch (7820:9): [True: 0, False: 0]
  ------------------
 7821|      0|        case EvqCallableData:
  ------------------
  |  Branch (7821:9): [True: 0, False: 0]
  ------------------
 7822|      0|        case EvqCallableDataIn:
  ------------------
  |  Branch (7822:9): [True: 0, False: 0]
  ------------------
 7823|      0|        case EvqHitObjectAttrNV:
  ------------------
  |  Branch (7823:9): [True: 0, False: 0]
  ------------------
 7824|      0|        case EvqHitObjectAttrEXT:
  ------------------
  |  Branch (7824:9): [True: 0, False: 0]
  ------------------
 7825|      0|        case EvqSpirvStorageClass:
  ------------------
  |  Branch (7825:9): [True: 0, False: 0]
  ------------------
 7826|      0|            break;
 7827|      0|        case EvqTileImageEXT:
  ------------------
  |  Branch (7827:9): [True: 0, False: 0]
  ------------------
 7828|      0|            break;
 7829|      0|        default:
  ------------------
  |  Branch (7829:9): [True: 0, False: 0]
  ------------------
 7830|      0|            error(loc, "can only apply to uniform, buffer, in, or out storage qualifiers", "location", "");
 7831|      0|            break;
 7832|      0|        }
 7833|       |
 7834|      0|        bool typeCollision;
 7835|      0|        int repeated = intermediate.addUsedLocation(qualifier, type, typeCollision);
 7836|      0|        if (repeated >= 0 && ! typeCollision)
  ------------------
  |  Branch (7836:13): [True: 0, False: 0]
  |  Branch (7836:30): [True: 0, False: 0]
  ------------------
 7837|      0|            error(loc, "overlapping use of location", "location", "%d", repeated);
 7838|       |        // When location aliasing, the aliases sharing the location must have the same underlying numerical type and bit width(
 7839|       |        // floating - point or integer, 32 - bit versus 64 - bit,etc.)
 7840|      0|        if (typeCollision && (qualifier.isPipeInput() || qualifier.isPipeOutput() || qualifier.storage == EvqTileImageEXT))
  ------------------
  |  Branch (7840:13): [True: 0, False: 0]
  |  Branch (7840:31): [True: 0, False: 0]
  |  Branch (7840:58): [True: 0, False: 0]
  |  Branch (7840:86): [True: 0, False: 0]
  ------------------
 7841|      0|            error(loc, "the aliases sharing the location", "location", "%d must be the same basic type and interpolation qualification", repeated);
 7842|      0|    }
 7843|       |
 7844|  5.55k|    if (qualifier.hasXfbOffset() && qualifier.hasXfbBuffer()) {
  ------------------
  |  Branch (7844:9): [True: 0, False: 5.55k]
  |  Branch (7844:37): [True: 0, False: 0]
  ------------------
 7845|      0|        if (type.isUnsizedArray()) {
  ------------------
  |  Branch (7845:13): [True: 0, False: 0]
  ------------------
 7846|      0|            error(loc, "unsized array", "xfb_offset", "in buffer %d", qualifier.layoutXfbBuffer);
 7847|      0|        } else {
 7848|      0|            int repeated = intermediate.addXfbBufferOffset(type);
 7849|      0|            if (repeated >= 0)
  ------------------
  |  Branch (7849:17): [True: 0, False: 0]
  ------------------
 7850|      0|                error(loc, "overlapping offsets at", "xfb_offset", "offset %d in buffer %d", repeated, qualifier.layoutXfbBuffer);
 7851|      0|        }
 7852|       |
 7853|       |        // "The offset must be a multiple of the size of the first component of the first
 7854|       |        // qualified variable or block member, or a compile-time error results. Further, if applied to an aggregate
 7855|       |        // containing a double or 64-bit integer, the offset must also be a multiple of 8..."
 7856|      0|        if ((type.containsBasicType(EbtDouble) || type.containsBasicType(EbtInt64) || type.containsBasicType(EbtUint64)) &&
  ------------------
  |  Branch (7856:14): [True: 0, False: 0]
  |  Branch (7856:51): [True: 0, False: 0]
  |  Branch (7856:87): [True: 0, False: 0]
  ------------------
 7857|      0|            ! IsMultipleOfPow2(qualifier.layoutXfbOffset, 8))
  ------------------
  |  Branch (7857:13): [True: 0, False: 0]
  ------------------
 7858|      0|            error(loc, "type contains double or 64-bit integer; xfb_offset must be a multiple of 8", "xfb_offset", "");
 7859|      0|        else if ((type.containsBasicType(EbtBool) || type.containsBasicType(EbtFloat) ||
  ------------------
  |  Branch (7859:19): [True: 0, False: 0]
  |  Branch (7859:54): [True: 0, False: 0]
  ------------------
 7860|      0|                  type.containsBasicType(EbtInt) || type.containsBasicType(EbtUint)) &&
  ------------------
  |  Branch (7860:19): [True: 0, False: 0]
  |  Branch (7860:53): [True: 0, False: 0]
  ------------------
 7861|      0|                 ! IsMultipleOfPow2(qualifier.layoutXfbOffset, 4))
  ------------------
  |  Branch (7861:18): [True: 0, False: 0]
  ------------------
 7862|      0|            error(loc, "must be a multiple of size of first component", "xfb_offset", "");
 7863|       |        // ..., if applied to an aggregate containing a half float or 16-bit integer, the offset must also be a multiple of 2..."
 7864|      0|        else if ((type.contains16BitFloat() || type.containsBasicType(EbtInt16) || type.containsBasicType(EbtUint16)) &&
  ------------------
  |  Branch (7864:19): [True: 0, False: 0]
  |  Branch (7864:48): [True: 0, False: 0]
  |  Branch (7864:84): [True: 0, False: 0]
  ------------------
 7865|      0|                 !IsMultipleOfPow2(qualifier.layoutXfbOffset, 2))
  ------------------
  |  Branch (7865:18): [True: 0, False: 0]
  ------------------
 7866|      0|            error(loc, "type contains half float or 16-bit integer; xfb_offset must be a multiple of 2", "xfb_offset", "");
 7867|      0|    }
 7868|  5.55k|    if (qualifier.hasXfbStride() && qualifier.hasXfbBuffer()) {
  ------------------
  |  Branch (7868:9): [True: 0, False: 5.55k]
  |  Branch (7868:37): [True: 0, False: 0]
  ------------------
 7869|      0|        if (! intermediate.setXfbBufferStride(qualifier.layoutXfbBuffer, qualifier.layoutXfbStride))
  ------------------
  |  Branch (7869:13): [True: 0, False: 0]
  ------------------
 7870|      0|            error(loc, "all stride settings must match for xfb buffer", "xfb_stride", "%d", qualifier.layoutXfbBuffer);
 7871|      0|    }
 7872|       |
 7873|  5.55k|    if (qualifier.hasBinding()) {
  ------------------
  |  Branch (7873:9): [True: 0, False: 5.55k]
  ------------------
 7874|       |        // Binding checking, from the spec:
 7875|       |        //
 7876|       |        // "If the binding point for any uniform or shader storage block instance is less than zero, or greater than or
 7877|       |        // equal to the implementation-dependent maximum number of uniform buffer bindings, a compile-time
 7878|       |        // error will occur. When the binding identifier is used with a uniform or shader storage block instanced as
 7879|       |        // an array of size N, all elements of the array from binding through binding + N - 1 must be within this
 7880|       |        // range."
 7881|       |        //
 7882|      0|        if (!type.isOpaque() && type.getBasicType() != EbtBlock && type.getBasicType() != EbtSpirvType)
  ------------------
  |  Branch (7882:13): [True: 0, False: 0]
  |  Branch (7882:33): [True: 0, False: 0]
  |  Branch (7882:68): [True: 0, False: 0]
  ------------------
 7883|      0|            error(loc, "requires block, or sampler/image, or atomic-counter type", "binding", "");
 7884|      0|        if (type.getBasicType() == EbtSampler) {
  ------------------
  |  Branch (7884:13): [True: 0, False: 0]
  ------------------
 7885|      0|            int lastBinding = qualifier.layoutBinding;
 7886|      0|            if (type.isArray()) {
  ------------------
  |  Branch (7886:17): [True: 0, False: 0]
  ------------------
 7887|      0|                if (spvVersion.vulkan == 0) {
  ------------------
  |  Branch (7887:21): [True: 0, False: 0]
  ------------------
 7888|      0|                    if (type.isSizedArray())
  ------------------
  |  Branch (7888:25): [True: 0, False: 0]
  ------------------
 7889|      0|                        lastBinding += (type.getCumulativeArraySize() - 1);
 7890|      0|                    else {
 7891|      0|                        warn(loc, "assuming binding count of one for compile-time checking of binding numbers for unsized array", "[]", "");
 7892|      0|                    }
 7893|      0|                }
 7894|      0|            }
 7895|      0|            if (spvVersion.vulkan == 0 && lastBinding >= resources.maxCombinedTextureImageUnits)
  ------------------
  |  Branch (7895:17): [True: 0, False: 0]
  |  Branch (7895:43): [True: 0, False: 0]
  ------------------
 7896|      0|                error(loc, "sampler binding not less than gl_MaxCombinedTextureImageUnits", "binding", type.isArray() ? "(using array)" : "");
  ------------------
  |  Branch (7896:104): [True: 0, False: 0]
  ------------------
 7897|      0|        }
 7898|      0|        if (type.isAtomic() && !spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (7898:13): [True: 0, False: 0]
  |  Branch (7898:32): [True: 0, False: 0]
  ------------------
 7899|      0|            if (qualifier.layoutBinding >= (unsigned int)resources.maxAtomicCounterBindings) {
  ------------------
  |  Branch (7899:17): [True: 0, False: 0]
  ------------------
 7900|      0|                error(loc, "atomic_uint binding is too large; see gl_MaxAtomicCounterBindings", "binding", "");
 7901|      0|                return;
 7902|      0|            }
 7903|      0|        }
 7904|  5.55k|    } else if (!intermediate.getAutoMapBindings()) {
  ------------------
  |  Branch (7904:16): [True: 5.55k, False: 0]
  ------------------
 7905|       |        // some types require bindings
 7906|       |
 7907|       |        // atomic_uint
 7908|  5.55k|        if (type.isAtomic())
  ------------------
  |  Branch (7908:13): [True: 0, False: 5.55k]
  ------------------
 7909|      0|            error(loc, "layout(binding=X) is required", "atomic_uint", "");
 7910|       |
 7911|       |        // SPIR-V
 7912|  5.55k|        if (spvVersion.spv > 0) {
  ------------------
  |  Branch (7912:13): [True: 0, False: 5.55k]
  ------------------
 7913|      0|            if (qualifier.isUniformOrBuffer() && !intermediate.IsRequestedExtension(E_GL_EXT_descriptor_heap)) {
  ------------------
  |  Branch (7913:17): [True: 0, False: 0]
  |  Branch (7913:50): [True: 0, False: 0]
  ------------------
 7914|      0|                if (type.getBasicType() == EbtBlock && !qualifier.isPushConstant() &&
  ------------------
  |  Branch (7914:21): [True: 0, False: 0]
  |  Branch (7914:56): [True: 0, False: 0]
  ------------------
 7915|      0|                       !qualifier.isShaderRecord() &&
  ------------------
  |  Branch (7915:24): [True: 0, False: 0]
  ------------------
 7916|      0|                       !qualifier.hasAttachment() &&
  ------------------
  |  Branch (7916:24): [True: 0, False: 0]
  ------------------
 7917|      0|                       !qualifier.hasBufferReference())
  ------------------
  |  Branch (7917:24): [True: 0, False: 0]
  ------------------
 7918|      0|                    error(loc, "uniform/buffer blocks require layout(binding=X)", "binding", "");
 7919|      0|                else if (spvVersion.vulkan > 0 && type.getBasicType() == EbtSampler && !type.getSampler().isAttachmentEXT())
  ------------------
  |  Branch (7919:26): [True: 0, False: 0]
  |  Branch (7919:51): [True: 0, False: 0]
  |  Branch (7919:88): [True: 0, False: 0]
  ------------------
 7920|      0|                    error(loc, "sampler/texture/image requires layout(binding=X)", "binding", "");
 7921|      0|            }
 7922|      0|        }
 7923|  5.55k|    }
 7924|       |
 7925|       |    // some things can't have arrays of arrays
 7926|  5.55k|    if (type.isArrayOfArrays()) {
  ------------------
  |  Branch (7926:9): [True: 21, False: 5.53k]
  ------------------
 7927|     21|        if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (7927:13): [True: 3, False: 18]
  ------------------
 7928|      3|            if (type.isOpaque() || (type.getQualifier().isUniformOrBuffer() && type.getBasicType() == EbtBlock))
  ------------------
  |  Branch (7928:17): [True: 0, False: 3]
  |  Branch (7928:37): [True: 0, False: 3]
  |  Branch (7928:80): [True: 0, False: 0]
  ------------------
 7929|      0|                warn(loc, "Generating SPIR-V array-of-arrays, but Vulkan only supports single array level for this resource", "[][]", "");
 7930|      3|        }
 7931|     21|    }
 7932|       |
 7933|       |    // "The offset qualifier can only be used on block members of blocks..."
 7934|  5.55k|    if (qualifier.hasOffset()) {
  ------------------
  |  Branch (7934:9): [True: 0, False: 5.55k]
  ------------------
 7935|      0|        if (type.getBasicType() == EbtBlock)
  ------------------
  |  Branch (7935:13): [True: 0, False: 0]
  ------------------
 7936|      0|            error(loc, "only applies to block members, not blocks", "offset", "");
 7937|      0|    }
 7938|       |
 7939|       |    // Image format
 7940|  5.55k|    if (qualifier.hasFormat()) {
  ------------------
  |  Branch (7940:9): [True: 0, False: 5.55k]
  ------------------
 7941|      0|        if (! type.isImage() && !intermediate.getBindlessImageMode())
  ------------------
  |  Branch (7941:13): [True: 0, False: 0]
  |  Branch (7941:33): [True: 0, False: 0]
  ------------------
 7942|      0|            error(loc, "only apply to images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 7943|      0|        else {
 7944|      0|            if (type.getSampler().type == EbtFloat && qualifier.getFormat() > ElfFloatGuard)
  ------------------
  |  Branch (7944:17): [True: 0, False: 0]
  |  Branch (7944:55): [True: 0, False: 0]
  ------------------
 7945|      0|                error(loc, "does not apply to floating point images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 7946|      0|            if (type.getSampler().type == EbtInt && (qualifier.getFormat() < ElfFloatGuard || qualifier.getFormat() > ElfIntGuard))
  ------------------
  |  Branch (7946:17): [True: 0, False: 0]
  |  Branch (7946:54): [True: 0, False: 0]
  |  Branch (7946:95): [True: 0, False: 0]
  ------------------
 7947|      0|                error(loc, "does not apply to signed integer images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 7948|      0|            if (type.getSampler().type == EbtUint && qualifier.getFormat() < ElfIntGuard)
  ------------------
  |  Branch (7948:17): [True: 0, False: 0]
  |  Branch (7948:54): [True: 0, False: 0]
  ------------------
 7949|      0|                error(loc, "does not apply to unsigned integer images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 7950|       |
 7951|      0|            if (isEsProfile()) {
  ------------------
  |  Branch (7951:17): [True: 0, False: 0]
  ------------------
 7952|       |                // "Except for image variables qualified with the format qualifiers r32f, r32i, and r32ui, image variables must
 7953|       |                // specify either memory qualifier readonly or the memory qualifier writeonly."
 7954|      0|                if (! (qualifier.getFormat() == ElfR32f || qualifier.getFormat() == ElfR32i || qualifier.getFormat() == ElfR32ui)) {
  ------------------
  |  Branch (7954:24): [True: 0, False: 0]
  |  Branch (7954:60): [True: 0, False: 0]
  |  Branch (7954:96): [True: 0, False: 0]
  ------------------
 7955|      0|                    if (! qualifier.isReadOnly() && ! qualifier.isWriteOnly())
  ------------------
  |  Branch (7955:25): [True: 0, False: 0]
  |  Branch (7955:53): [True: 0, False: 0]
  ------------------
 7956|      0|                        error(loc, "format requires readonly or writeonly memory qualifier", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 7957|      0|                }
 7958|      0|            }
 7959|      0|        }
 7960|  5.55k|    } else if (type.isImage() && ! qualifier.isWriteOnly() && !intermediate.getBindlessImageMode()) {
  ------------------
  |  Branch (7960:16): [True: 0, False: 5.55k]
  |  Branch (7960:34): [True: 0, False: 0]
  |  Branch (7960:63): [True: 0, False: 0]
  ------------------
 7961|      0|        const char *explanation = "image variables not declared 'writeonly' and without a format layout qualifier";
 7962|      0|        requireProfile(loc, ECoreProfile | ECompatibilityProfile, explanation);
 7963|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 0, E_GL_EXT_shader_image_load_formatted, explanation);
 7964|      0|    }
 7965|       |
 7966|  5.55k|    if (qualifier.isPushConstant()) {
  ------------------
  |  Branch (7966:9): [True: 0, False: 5.55k]
  ------------------
 7967|      0|        if (type.getBasicType() != EbtBlock)
  ------------------
  |  Branch (7967:13): [True: 0, False: 0]
  ------------------
 7968|      0|            error(loc, "can only be used with a block", "push_constant", "");
 7969|      0|        if (type.isArray())
  ------------------
  |  Branch (7969:13): [True: 0, False: 0]
  ------------------
 7970|      0|            error(loc, "Push constants blocks can't be an array", "push_constant", "");
 7971|      0|    }
 7972|       |
 7973|  5.55k|    if (type.getBasicType() == EbtReference) {
  ------------------
  |  Branch (7973:9): [True: 0, False: 5.55k]
  ------------------
 7974|      0|        if (qualifier.isPipeInput())
  ------------------
  |  Branch (7974:13): [True: 0, False: 0]
  ------------------
 7975|      0|            error(loc, "cannot contain any structs with buffer_reference.", "in",
 7976|      0|                  "If you want to interface shader stages with a buffer_reference cast to a uint64 or uvec2 instead.");
 7977|      0|        if (qualifier.isPipeOutput())
  ------------------
  |  Branch (7977:13): [True: 0, False: 0]
  ------------------
 7978|      0|            error(loc, "cannot contain any structs with buffer_reference.", "out",
 7979|      0|                  "If you want to interface shader stages with a buffer_reference cast to a uint64 or uvec2 instead.");
 7980|      0|    }
 7981|       |
 7982|  5.55k|    if (qualifier.hasBufferReference() && type.getBasicType() != EbtBlock)
  ------------------
  |  Branch (7982:9): [True: 0, False: 5.55k]
  |  Branch (7982:43): [True: 0, False: 0]
  ------------------
 7983|      0|        error(loc, "can only be used with a block", "buffer_reference", "");
 7984|       |
 7985|  5.55k|    if (qualifier.isShaderRecord() && type.getBasicType() != EbtBlock)
  ------------------
  |  Branch (7985:9): [True: 0, False: 5.55k]
  |  Branch (7985:39): [True: 0, False: 0]
  ------------------
 7986|      0|        error(loc, "can only be used with a block", "shaderRecordNV", "");
 7987|       |
 7988|       |    // input attachment
 7989|  5.55k|    if (type.isSubpass()) {
  ------------------
  |  Branch (7989:9): [True: 0, False: 5.55k]
  ------------------
 7990|      0|        if (extensionTurnedOn(E_GL_EXT_shader_tile_image))
  ------------------
  |  Branch (7990:13): [True: 0, False: 0]
  ------------------
 7991|      0|            error(loc, "cannot be used with GL_EXT_shader_tile_image enabled", type.getSampler().getString().c_str(),
 7992|      0|                  "");
 7993|      0|        if (! qualifier.hasAttachment())
  ------------------
  |  Branch (7993:13): [True: 0, False: 0]
  ------------------
 7994|      0|            error(loc, "requires an input_attachment_index layout qualifier", "subpass", "");
 7995|  5.55k|    } else {
 7996|  5.55k|        if (qualifier.hasAttachment())
  ------------------
  |  Branch (7996:13): [True: 0, False: 5.55k]
  ------------------
 7997|      0|            error(loc, "can only be used with a subpass", "input_attachment_index", "");
 7998|  5.55k|    }
 7999|       |
 8000|       |    // specialization-constant id
 8001|  5.55k|    if (qualifier.hasSpecConstantId()) {
  ------------------
  |  Branch (8001:9): [True: 0, False: 5.55k]
  ------------------
 8002|      0|        if (type.getQualifier().storage != EvqConst)
  ------------------
  |  Branch (8002:13): [True: 0, False: 0]
  ------------------
 8003|      0|            error(loc, "can only be applied to 'const'-qualified scalar", "constant_id", "");
 8004|      0|        if (! type.isScalar())
  ------------------
  |  Branch (8004:13): [True: 0, False: 0]
  ------------------
 8005|      0|            error(loc, "can only be applied to a scalar", "constant_id", "");
 8006|      0|        switch (type.getBasicType())
 8007|      0|        {
 8008|      0|        case EbtInt8:
  ------------------
  |  Branch (8008:9): [True: 0, False: 0]
  ------------------
 8009|      0|        case EbtUint8:
  ------------------
  |  Branch (8009:9): [True: 0, False: 0]
  ------------------
 8010|      0|        case EbtInt16:
  ------------------
  |  Branch (8010:9): [True: 0, False: 0]
  ------------------
 8011|      0|        case EbtUint16:
  ------------------
  |  Branch (8011:9): [True: 0, False: 0]
  ------------------
 8012|      0|        case EbtInt:
  ------------------
  |  Branch (8012:9): [True: 0, False: 0]
  ------------------
 8013|      0|        case EbtUint:
  ------------------
  |  Branch (8013:9): [True: 0, False: 0]
  ------------------
 8014|      0|        case EbtInt64:
  ------------------
  |  Branch (8014:9): [True: 0, False: 0]
  ------------------
 8015|      0|        case EbtUint64:
  ------------------
  |  Branch (8015:9): [True: 0, False: 0]
  ------------------
 8016|      0|        case EbtBool:
  ------------------
  |  Branch (8016:9): [True: 0, False: 0]
  ------------------
 8017|      0|        case EbtFloat:
  ------------------
  |  Branch (8017:9): [True: 0, False: 0]
  ------------------
 8018|      0|        case EbtDouble:
  ------------------
  |  Branch (8018:9): [True: 0, False: 0]
  ------------------
 8019|      0|        case EbtFloat16:
  ------------------
  |  Branch (8019:9): [True: 0, False: 0]
  ------------------
 8020|      0|        case EbtBFloat16:
  ------------------
  |  Branch (8020:9): [True: 0, False: 0]
  ------------------
 8021|      0|        case EbtFloatE5M2:
  ------------------
  |  Branch (8021:9): [True: 0, False: 0]
  ------------------
 8022|      0|        case EbtFloatE4M3:
  ------------------
  |  Branch (8022:9): [True: 0, False: 0]
  ------------------
 8023|      0|            break;
 8024|      0|        default:
  ------------------
  |  Branch (8024:9): [True: 0, False: 0]
  ------------------
 8025|      0|            error(loc, "cannot be applied to this type", "constant_id", "");
 8026|      0|            break;
 8027|      0|        }
 8028|      0|    }
 8029|  5.55k|}
_ZN7glslang13TParseContext20layoutQualifierCheckERKNS_10TSourceLocERKNS_10TQualifierE:
 8048|  5.55k|{
 8049|  5.55k|    if (qualifier.storage == EvqShared && qualifier.hasLayout()) {
  ------------------
  |  Branch (8049:9): [True: 0, False: 5.55k]
  |  Branch (8049:43): [True: 0, False: 0]
  ------------------
 8050|      0|        if (spvVersion.spv > 0 && spvVersion.spv < EShTargetSpv_1_4) {
  ------------------
  |  Branch (8050:13): [True: 0, False: 0]
  |  Branch (8050:35): [True: 0, False: 0]
  ------------------
 8051|      0|            error(loc, "shared block requires at least SPIR-V 1.4", "shared block", "");
 8052|      0|        }
 8053|      0|        profileRequires(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, 0, E_GL_EXT_shared_memory_block, "shared block");
 8054|      0|    }
 8055|       |
 8056|       |    // "It is a compile-time error to use *component* without also specifying the location qualifier (order does not matter)."
 8057|  5.55k|    if (qualifier.hasComponent() && ! qualifier.hasLocation())
  ------------------
  |  Branch (8057:9): [True: 0, False: 5.55k]
  |  Branch (8057:37): [True: 0, False: 0]
  ------------------
 8058|      0|        error(loc, "must specify 'location' to use 'component'", "component", "");
 8059|       |
 8060|  5.55k|    if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (8060:9): [True: 0, False: 5.55k]
  ------------------
 8061|       |
 8062|       |        // "As with input layout qualifiers, all shaders except compute shaders
 8063|       |        // allow *location* layout qualifiers on output variable declarations,
 8064|       |        // output block declarations, and output block member declarations."
 8065|       |
 8066|      0|        switch (qualifier.storage) {
 8067|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (8067:9): [True: 0, False: 0]
  ------------------
 8068|      0|        {
 8069|      0|            const char* feature = "location qualifier on input";
 8070|      0|            if (isEsProfile() && version < 310)
  ------------------
  |  Branch (8070:17): [True: 0, False: 0]
  |  Branch (8070:34): [True: 0, False: 0]
  ------------------
 8071|      0|                requireStage(loc, EShLangVertex, feature);
 8072|      0|            else
 8073|      0|                requireStage(loc, (EShLanguageMask)~EShLangComputeMask, feature);
 8074|      0|            if (language == EShLangVertex) {
  ------------------
  |  Branch (8074:17): [True: 0, False: 0]
  ------------------
 8075|      0|                const char* exts[2] = { E_GL_ARB_separate_shader_objects, E_GL_ARB_explicit_attrib_location };
 8076|      0|                profileRequires(loc, ~EEsProfile, 330, 2, exts, feature);
 8077|      0|                profileRequires(loc, EEsProfile, 300, nullptr, feature);
 8078|      0|            } else {
 8079|      0|                profileRequires(loc, ~EEsProfile, 410, E_GL_ARB_separate_shader_objects, feature);
 8080|      0|                profileRequires(loc, EEsProfile, 310, nullptr, feature);
 8081|      0|            }
 8082|      0|            break;
 8083|      0|        }
 8084|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (8084:9): [True: 0, False: 0]
  ------------------
 8085|      0|        {
 8086|      0|            const char* feature = "location qualifier on output";
 8087|      0|            if (isEsProfile() && version < 310)
  ------------------
  |  Branch (8087:17): [True: 0, False: 0]
  |  Branch (8087:34): [True: 0, False: 0]
  ------------------
 8088|      0|                requireStage(loc, EShLangFragment, feature);
 8089|      0|            else
 8090|      0|                requireStage(loc, (EShLanguageMask)~EShLangComputeMask, feature);
 8091|      0|            if (language == EShLangFragment) {
  ------------------
  |  Branch (8091:17): [True: 0, False: 0]
  ------------------
 8092|      0|                const char* exts[2] = { E_GL_ARB_separate_shader_objects, E_GL_ARB_explicit_attrib_location };
 8093|      0|                profileRequires(loc, ~EEsProfile, 330, 2, exts, feature);
 8094|      0|                profileRequires(loc, EEsProfile, 300, nullptr, feature);
 8095|      0|            } else {
 8096|      0|                profileRequires(loc, ~EEsProfile, 410, E_GL_ARB_separate_shader_objects, feature);
 8097|      0|                profileRequires(loc, EEsProfile, 310, nullptr, feature);
 8098|      0|            }
 8099|      0|            break;
 8100|      0|        }
 8101|      0|        case EvqUniform:
  ------------------
  |  Branch (8101:9): [True: 0, False: 0]
  ------------------
 8102|      0|        case EvqBuffer:
  ------------------
  |  Branch (8102:9): [True: 0, False: 0]
  ------------------
 8103|      0|        {
 8104|      0|            const char* feature = "location qualifier on uniform or buffer";
 8105|      0|            requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile | ENoProfile, feature);
 8106|      0|            profileRequires(loc, ~EEsProfile, 330, E_GL_ARB_explicit_attrib_location, feature);
 8107|      0|            profileRequires(loc, ~EEsProfile, 430, E_GL_ARB_explicit_uniform_location, feature);
 8108|      0|            profileRequires(loc, EEsProfile, 310, nullptr, feature);
 8109|      0|            break;
 8110|      0|        }
 8111|      0|        default:
  ------------------
  |  Branch (8111:9): [True: 0, False: 0]
  ------------------
 8112|      0|            break;
 8113|      0|        }
 8114|      0|        if (qualifier.hasIndex()) {
  ------------------
  |  Branch (8114:13): [True: 0, False: 0]
  ------------------
 8115|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (8115:17): [True: 0, False: 0]
  ------------------
 8116|      0|                error(loc, "can only be used on an output", "index", "");
 8117|      0|            if (! qualifier.hasLocation())
  ------------------
  |  Branch (8117:17): [True: 0, False: 0]
  ------------------
 8118|      0|                error(loc, "can only be used with an explicit location", "index", "");
 8119|      0|        }
 8120|      0|    }
 8121|       |
 8122|  5.55k|    if (qualifier.hasBinding()) {
  ------------------
  |  Branch (8122:9): [True: 0, False: 5.55k]
  ------------------
 8123|      0|        if (! qualifier.isUniformOrBuffer() && !qualifier.isTaskMemory() && !qualifier.isTileAttachmentQCOM())
  ------------------
  |  Branch (8123:13): [True: 0, False: 0]
  |  Branch (8123:48): [True: 0, False: 0]
  |  Branch (8123:77): [True: 0, False: 0]
  ------------------
 8124|      0|            error(loc, "requires uniform or buffer or tile image storage qualifier", "binding", "");
 8125|      0|    }
 8126|  5.55k|    if (qualifier.hasStream()) {
  ------------------
  |  Branch (8126:9): [True: 98, False: 5.45k]
  ------------------
 8127|     98|        if (!qualifier.isPipeOutput())
  ------------------
  |  Branch (8127:13): [True: 0, False: 98]
  ------------------
 8128|      0|            error(loc, "can only be used on an output", "stream", "");
 8129|     98|    }
 8130|  5.55k|    if (qualifier.hasXfb()) {
  ------------------
  |  Branch (8130:9): [True: 371, False: 5.18k]
  ------------------
 8131|    371|        if (!qualifier.isPipeOutput())
  ------------------
  |  Branch (8131:13): [True: 0, False: 371]
  ------------------
 8132|      0|            error(loc, "can only be used on an output", "xfb layout qualifier", "");
 8133|    371|    }
 8134|  5.55k|    if (qualifier.hasUniformLayout()) {
  ------------------
  |  Branch (8134:9): [True: 0, False: 5.55k]
  ------------------
 8135|      0|        if (!storageCanHaveLayoutInBlock(qualifier.storage) && !qualifier.isTaskMemory()) {
  ------------------
  |  Branch (8135:13): [True: 0, False: 0]
  |  Branch (8135:64): [True: 0, False: 0]
  ------------------
 8136|      0|            if (qualifier.hasMatrix() || qualifier.hasPacking())
  ------------------
  |  Branch (8136:17): [True: 0, False: 0]
  |  Branch (8136:42): [True: 0, False: 0]
  ------------------
 8137|      0|                error(loc, "matrix or packing qualifiers can only be used on a uniform or buffer", "layout", "");
 8138|      0|            if (qualifier.hasOffset() || qualifier.hasAlign())
  ------------------
  |  Branch (8138:17): [True: 0, False: 0]
  |  Branch (8138:42): [True: 0, False: 0]
  ------------------
 8139|      0|                error(loc, "offset/align can only be used on a uniform or buffer", "layout", "");
 8140|      0|        }
 8141|      0|    }
 8142|  5.55k|    if (qualifier.isPushConstant()) {
  ------------------
  |  Branch (8142:9): [True: 0, False: 5.55k]
  ------------------
 8143|      0|        if (qualifier.storage != EvqUniform)
  ------------------
  |  Branch (8143:13): [True: 0, False: 0]
  ------------------
 8144|      0|            error(loc, "can only be used with a uniform", "push_constant", "");
 8145|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (8145:13): [True: 0, False: 0]
  ------------------
 8146|      0|            error(loc, "cannot be used with push_constant", "set", "");
 8147|      0|        if (qualifier.hasBinding())
  ------------------
  |  Branch (8147:13): [True: 0, False: 0]
  ------------------
 8148|      0|            error(loc, "cannot be used with push_constant", "binding", "");
 8149|      0|    }
 8150|  5.55k|    if (qualifier.hasBufferReference()) {
  ------------------
  |  Branch (8150:9): [True: 0, False: 5.55k]
  ------------------
 8151|      0|        if (qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (8151:13): [True: 0, False: 0]
  ------------------
 8152|      0|            error(loc, "can only be used with buffer", "buffer_reference", "");
 8153|      0|    }
 8154|  5.55k|    if (qualifier.isShaderRecord()) {
  ------------------
  |  Branch (8154:9): [True: 0, False: 5.55k]
  ------------------
 8155|      0|        if (qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (8155:13): [True: 0, False: 0]
  ------------------
 8156|      0|            error(loc, "can only be used with a buffer", "shaderRecordNV", "");
 8157|      0|        if (qualifier.hasBinding())
  ------------------
  |  Branch (8157:13): [True: 0, False: 0]
  ------------------
 8158|      0|            error(loc, "cannot be used with shaderRecordNV", "binding", "");
 8159|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (8159:13): [True: 0, False: 0]
  ------------------
 8160|      0|            error(loc, "cannot be used with shaderRecordNV", "set", "");
 8161|       |
 8162|      0|    }
 8163|       |
 8164|  5.55k|    if (qualifier.storage == EvqTileImageEXT) {
  ------------------
  |  Branch (8164:9): [True: 0, False: 5.55k]
  ------------------
 8165|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (8165:13): [True: 0, False: 0]
  ------------------
 8166|      0|            error(loc, "cannot be used with tileImageEXT", "set", "");
 8167|      0|        if (!qualifier.hasLocation())
  ------------------
  |  Branch (8167:13): [True: 0, False: 0]
  ------------------
 8168|      0|            error(loc, "can only be used with an explicit location", "tileImageEXT", "");
 8169|      0|    }
 8170|       |
 8171|  5.55k|    if (qualifier.storage == EvqHitAttr && qualifier.hasLayout()) {
  ------------------
  |  Branch (8171:9): [True: 0, False: 5.55k]
  |  Branch (8171:44): [True: 0, False: 0]
  ------------------
 8172|      0|        error(loc, "cannot apply layout qualifiers to hitAttributeNV variable", "hitAttributeNV", "");
 8173|      0|    }
 8174|  5.55k|    if (qualifier.hasBank()) {
  ------------------
  |  Branch (8174:9): [True: 0, False: 5.55k]
  ------------------
 8175|      0|        if (!qualifier.isPushConstant())
  ------------------
  |  Branch (8175:13): [True: 0, False: 0]
  ------------------
 8176|      0|            error(loc, "can only be used with push_constant", "bank", "");
 8177|      0|    }
 8178|  5.55k|    if (qualifier.hasMemberOffset()) {
  ------------------
  |  Branch (8178:9): [True: 0, False: 5.55k]
  ------------------
 8179|      0|        if (!qualifier.isPushConstant())
  ------------------
  |  Branch (8179:13): [True: 0, False: 0]
  ------------------
 8180|      0|            error(loc, "can only be used with push_constant", "member_offset", "");
 8181|      0|    }
 8182|       |
 8183|  5.55k|    if (qualifier.layoutDescriptorStride != TQualifier::layoutDescriptorStrideEnd &&
  ------------------
  |  Branch (8183:9): [True: 0, False: 5.55k]
  ------------------
 8184|      0|        !qualifier.layoutDescriptorHeap)
  ------------------
  |  Branch (8184:9): [True: 0, False: 0]
  ------------------
 8185|      0|        error(loc, "must specify 'descriptor_heap' to use 'descriptor_stride'", "descriptor_stride", "");
 8186|  5.55k|    if (qualifier.layoutHeapOffset != 0 && !qualifier.layoutDescriptorHeap &&
  ------------------
  |  Branch (8186:9): [True: 0, False: 5.55k]
  |  Branch (8186:44): [True: 0, False: 0]
  ------------------
 8187|      0|        qualifier.storage != EvqSamplerHeap && qualifier.storage != EvqResourceHeap)
  ------------------
  |  Branch (8187:9): [True: 0, False: 0]
  |  Branch (8187:48): [True: 0, False: 0]
  ------------------
 8188|      0|        error(loc, "must specify 'descriptor_heap' to use 'heap_offset'", "heap_offset", "");
 8189|  5.55k|}
_ZN7glslang13TParseContext20checkNoShaderLayoutsERKNS_10TSourceLocERKNS_17TShaderQualifiersE:
 8193|  44.3k|{
 8194|  44.3k|    const char* message = "can only apply to a standalone qualifier";
 8195|       |
 8196|  44.3k|    if (shaderQualifiers.geometry != ElgNone)
  ------------------
  |  Branch (8196:9): [True: 0, False: 44.3k]
  ------------------
 8197|      0|        error(loc, message, TQualifier::getGeometryString(shaderQualifiers.geometry), "");
 8198|  44.3k|    if (shaderQualifiers.spacing != EvsNone)
  ------------------
  |  Branch (8198:9): [True: 0, False: 44.3k]
  ------------------
 8199|      0|        error(loc, message, TQualifier::getVertexSpacingString(shaderQualifiers.spacing), "");
 8200|  44.3k|    if (shaderQualifiers.order != EvoNone)
  ------------------
  |  Branch (8200:9): [True: 0, False: 44.3k]
  ------------------
 8201|      0|        error(loc, message, TQualifier::getVertexOrderString(shaderQualifiers.order), "");
 8202|  44.3k|    if (shaderQualifiers.pointMode)
  ------------------
  |  Branch (8202:9): [True: 0, False: 44.3k]
  ------------------
 8203|      0|        error(loc, message, "point_mode", "");
 8204|  44.3k|    if (shaderQualifiers.invocations != TQualifier::layoutNotSet)
  ------------------
  |  Branch (8204:9): [True: 0, False: 44.3k]
  ------------------
 8205|      0|        error(loc, message, "invocations", "");
 8206|   177k|    for (int i = 0; i < 3; ++i) {
  ------------------
  |  Branch (8206:21): [True: 133k, False: 44.3k]
  ------------------
 8207|   133k|        if (shaderQualifiers.localSize[i] > 1)
  ------------------
  |  Branch (8207:13): [True: 0, False: 133k]
  ------------------
 8208|      0|            error(loc, message, "local_size", "");
 8209|   133k|        if (shaderQualifiers.localSizeSpecId[i] != TQualifier::layoutNotSet)
  ------------------
  |  Branch (8209:13): [True: 0, False: 133k]
  ------------------
 8210|      0|            error(loc, message, "local_size id", "");
 8211|   133k|    }
 8212|  44.3k|    if (shaderQualifiers.vertices != TQualifier::layoutNotSet) {
  ------------------
  |  Branch (8212:9): [True: 0, False: 44.3k]
  ------------------
 8213|      0|        if (language == EShLangGeometry || language == EShLangMesh)
  ------------------
  |  Branch (8213:13): [True: 0, False: 0]
  |  Branch (8213:44): [True: 0, False: 0]
  ------------------
 8214|      0|            error(loc, message, "max_vertices", "");
 8215|      0|        else if (language == EShLangTessControl)
  ------------------
  |  Branch (8215:18): [True: 0, False: 0]
  ------------------
 8216|      0|            error(loc, message, "vertices", "");
 8217|      0|        else
 8218|      0|            assert(0);
 8219|      0|    }
 8220|  44.3k|    if (shaderQualifiers.earlyFragmentTests)
  ------------------
  |  Branch (8220:9): [True: 0, False: 44.3k]
  ------------------
 8221|      0|        error(loc, message, "early_fragment_tests", "");
 8222|  44.3k|    if (shaderQualifiers.postDepthCoverage)
  ------------------
  |  Branch (8222:9): [True: 0, False: 44.3k]
  ------------------
 8223|      0|        error(loc, message, "post_depth_coverage", "");
 8224|  44.3k|    if (shaderQualifiers.nonCoherentColorAttachmentReadEXT)
  ------------------
  |  Branch (8224:9): [True: 0, False: 44.3k]
  ------------------
 8225|      0|        error(loc, message, "non_coherent_color_attachment_readEXT", "");
 8226|  44.3k|    if (shaderQualifiers.nonCoherentDepthAttachmentReadEXT)
  ------------------
  |  Branch (8226:9): [True: 0, False: 44.3k]
  ------------------
 8227|      0|        error(loc, message, "non_coherent_depth_attachment_readEXT", "");
 8228|  44.3k|    if (shaderQualifiers.nonCoherentStencilAttachmentReadEXT)
  ------------------
  |  Branch (8228:9): [True: 0, False: 44.3k]
  ------------------
 8229|      0|        error(loc, message, "non_coherent_stencil_attachment_readEXT", "");
 8230|  44.3k|    if (shaderQualifiers.primitives != TQualifier::layoutNotSet) {
  ------------------
  |  Branch (8230:9): [True: 0, False: 44.3k]
  ------------------
 8231|      0|        if (language == EShLangMesh)
  ------------------
  |  Branch (8231:13): [True: 0, False: 0]
  ------------------
 8232|      0|            error(loc, message, "max_primitives", "");
 8233|      0|        else
 8234|      0|            assert(0);
 8235|      0|    }
 8236|  44.3k|    if (shaderQualifiers.hasBlendEquation())
  ------------------
  |  Branch (8236:9): [True: 0, False: 44.3k]
  ------------------
 8237|      0|        error(loc, message, "blend equation", "");
 8238|  44.3k|    if (shaderQualifiers.numViews != TQualifier::layoutNotSet)
  ------------------
  |  Branch (8238:9): [True: 0, False: 44.3k]
  ------------------
 8239|      0|        error(loc, message, "num_views", "");
 8240|  44.3k|    if (shaderQualifiers.interlockOrdering != EioNone)
  ------------------
  |  Branch (8240:9): [True: 0, False: 44.3k]
  ------------------
 8241|      0|        error(loc, message, TQualifier::getInterlockOrderingString(shaderQualifiers.interlockOrdering), "");
 8242|  44.3k|    if (shaderQualifiers.layoutPrimitiveCulling)
  ------------------
  |  Branch (8242:9): [True: 0, False: 44.3k]
  ------------------
 8243|      0|        error(loc, "can only be applied as standalone", "primitive_culling", "");
 8244|       |
 8245|  44.3k|    if (shaderQualifiers.layoutNonCoherentTileAttachmentReadQCOM)
  ------------------
  |  Branch (8245:9): [True: 0, False: 44.3k]
  ------------------
 8246|      0|        error(loc, message, "non_coherent_attachment_readQCOM", "");
 8247|  44.3k|    if (shaderQualifiers.layoutTileShadingRateQCOM[0] >= 1)
  ------------------
  |  Branch (8247:9): [True: 0, False: 44.3k]
  ------------------
 8248|      0|        error(loc, message, "shading_rate_xQCOM", "");
 8249|  44.3k|    if (shaderQualifiers.layoutTileShadingRateQCOM[1] >= 1)
  ------------------
  |  Branch (8249:9): [True: 0, False: 44.3k]
  ------------------
 8250|      0|        error(loc, message, "shading_rate_yQCOM", "");
 8251|  44.3k|    if (shaderQualifiers.layoutTileShadingRateQCOM[2] >= 1)
  ------------------
  |  Branch (8251:9): [True: 0, False: 44.3k]
  ------------------
 8252|      0|        error(loc, message, "shading_rate_zQCOM", "");
 8253|  44.3k|}
_ZN7glslang13TParseContext9fixOffsetERKNS_10TSourceLocERNS_7TSymbolE:
 8257|  5.14k|{
 8258|  5.14k|    const TQualifier& qualifier = symbol.getType().getQualifier();
 8259|  5.14k|    if (symbol.getType().isAtomic()) {
  ------------------
  |  Branch (8259:9): [True: 0, False: 5.14k]
  ------------------
 8260|      0|        if (qualifier.hasBinding() && (int)qualifier.layoutBinding < resources.maxAtomicCounterBindings) {
  ------------------
  |  Branch (8260:13): [True: 0, False: 0]
  |  Branch (8260:39): [True: 0, False: 0]
  ------------------
 8261|       |
 8262|       |            // Set the offset
 8263|      0|            int offset;
 8264|      0|            if (qualifier.hasOffset())
  ------------------
  |  Branch (8264:17): [True: 0, False: 0]
  ------------------
 8265|      0|                offset = qualifier.layoutOffset;
 8266|      0|            else
 8267|      0|                offset = atomicUintOffsets[qualifier.layoutBinding];
 8268|       |
 8269|      0|            if (offset % 4 != 0)
  ------------------
  |  Branch (8269:17): [True: 0, False: 0]
  ------------------
 8270|      0|                error(loc, "atomic counters offset should align based on 4:", "offset", "%d", offset);
 8271|       |
 8272|      0|            symbol.getWritableType().getQualifier().layoutOffset = offset;
 8273|       |
 8274|       |            // Check for overlap
 8275|      0|            int numOffsets = 4;
 8276|      0|            if (symbol.getType().isArray()) {
  ------------------
  |  Branch (8276:17): [True: 0, False: 0]
  ------------------
 8277|      0|                if (symbol.getType().isSizedArray() && !symbol.getType().getArraySizes()->isInnerUnsized())
  ------------------
  |  Branch (8277:21): [True: 0, False: 0]
  |  Branch (8277:56): [True: 0, False: 0]
  ------------------
 8278|      0|                    numOffsets *= symbol.getType().getCumulativeArraySize();
 8279|      0|                else {
 8280|       |                    // "It is a compile-time error to declare an unsized array of atomic_uint."
 8281|      0|                    error(loc, "array must be explicitly sized", "atomic_uint", "");
 8282|      0|                }
 8283|      0|            }
 8284|      0|            int repeated = intermediate.addUsedOffsets(qualifier.layoutBinding, offset, numOffsets);
 8285|      0|            if (repeated >= 0)
  ------------------
  |  Branch (8285:17): [True: 0, False: 0]
  ------------------
 8286|      0|                error(loc, "atomic counters sharing the same offset:", "offset", "%d", repeated);
 8287|       |
 8288|       |            // Bump the default offset
 8289|      0|            atomicUintOffsets[qualifier.layoutBinding] = offset + numOffsets;
 8290|      0|        }
 8291|      0|    }
 8292|  5.14k|}
_ZN7glslang13TParseContext19declareTypeDefaultsERKNS_10TSourceLocERKNS_11TPublicTypeE:
 8776|    100|{
 8777|    100|    if (publicType.basicType == EbtAtomicUint && publicType.qualifier.hasBinding()) {
  ------------------
  |  Branch (8777:9): [True: 0, False: 100]
  |  Branch (8777:50): [True: 0, False: 0]
  ------------------
 8778|      0|        if (publicType.qualifier.layoutBinding >= (unsigned int)resources.maxAtomicCounterBindings) {
  ------------------
  |  Branch (8778:13): [True: 0, False: 0]
  ------------------
 8779|      0|            error(loc, "atomic_uint binding is too large", "binding", "");
 8780|      0|            return;
 8781|      0|        }
 8782|      0|        if (publicType.qualifier.hasOffset())
  ------------------
  |  Branch (8782:13): [True: 0, False: 0]
  ------------------
 8783|      0|            atomicUintOffsets[publicType.qualifier.layoutBinding] = publicType.qualifier.layoutOffset;
 8784|      0|        return;
 8785|      0|    }
 8786|       |
 8787|    100|    if (publicType.arraySizes) {
  ------------------
  |  Branch (8787:9): [True: 0, False: 100]
  ------------------
 8788|      0|        error(loc, "expect an array name", "", "");
 8789|      0|    }
 8790|       |
 8791|    100|    if (publicType.qualifier.hasLayout() && !publicType.qualifier.hasBufferReference())
  ------------------
  |  Branch (8791:9): [True: 0, False: 100]
  |  Branch (8791:45): [True: 0, False: 0]
  ------------------
 8792|      0|        warn(loc, "useless application of layout qualifier", "layout", "");
 8793|    100|}
_ZN7glslang13TParseContext19typeParametersCheckERKNS_10TSourceLocERKNS_11TPublicTypeE:
 8796|   399k|{
 8797|   399k|    if (parsingBuiltins)
  ------------------
  |  Branch (8797:9): [True: 399k, False: 0]
  ------------------
 8798|   399k|        return;
 8799|      0|    if (publicType.isCoopmatKHR()) {
  ------------------
  |  Branch (8799:9): [True: 0, False: 0]
  ------------------
 8800|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (8800:13): [True: 0, False: 0]
  ------------------
 8801|      0|            error(loc, "coopmat missing type parameters", "", "");
 8802|      0|            return;
 8803|      0|        }
 8804|      0|        switch (publicType.typeParameters->basicType) {
 8805|      0|        case EbtFloat:
  ------------------
  |  Branch (8805:9): [True: 0, False: 0]
  ------------------
 8806|      0|        case EbtFloat16:
  ------------------
  |  Branch (8806:9): [True: 0, False: 0]
  ------------------
 8807|      0|        case EbtBFloat16:
  ------------------
  |  Branch (8807:9): [True: 0, False: 0]
  ------------------
 8808|      0|        case EbtFloatE5M2:
  ------------------
  |  Branch (8808:9): [True: 0, False: 0]
  ------------------
 8809|      0|        case EbtFloatE4M3:
  ------------------
  |  Branch (8809:9): [True: 0, False: 0]
  ------------------
 8810|      0|        case EbtInt:
  ------------------
  |  Branch (8810:9): [True: 0, False: 0]
  ------------------
 8811|      0|        case EbtInt8:
  ------------------
  |  Branch (8811:9): [True: 0, False: 0]
  ------------------
 8812|      0|        case EbtInt16:
  ------------------
  |  Branch (8812:9): [True: 0, False: 0]
  ------------------
 8813|      0|        case EbtUint:
  ------------------
  |  Branch (8813:9): [True: 0, False: 0]
  ------------------
 8814|      0|        case EbtUint8:
  ------------------
  |  Branch (8814:9): [True: 0, False: 0]
  ------------------
 8815|      0|        case EbtUint16:
  ------------------
  |  Branch (8815:9): [True: 0, False: 0]
  ------------------
 8816|      0|        case EbtSpirvType:
  ------------------
  |  Branch (8816:9): [True: 0, False: 0]
  ------------------
 8817|      0|            break;
 8818|      0|        default:
  ------------------
  |  Branch (8818:9): [True: 0, False: 0]
  ------------------
 8819|      0|            error(loc, "coopmat invalid basic type", TType::getBasicString(publicType.typeParameters->basicType), "");
 8820|      0|            break;
 8821|      0|        }
 8822|      0|        if (publicType.typeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (8822:13): [True: 0, False: 0]
  ------------------
 8823|      0|            error(loc, "coopmat incorrect number of type parameters", "", "");
 8824|      0|            return;
 8825|      0|        }
 8826|      0|        int use = publicType.typeParameters->arraySizes->getDimSize(3);
 8827|      0|        if (use < 0 || use > 2) {
  ------------------
  |  Branch (8827:13): [True: 0, False: 0]
  |  Branch (8827:24): [True: 0, False: 0]
  ------------------
 8828|      0|            error(loc, "coopmat invalid matrix Use", "", "");
 8829|      0|            return;
 8830|      0|        }
 8831|      0|    }
 8832|      0|    if (publicType.isTensorLayoutNV()) {
  ------------------
  |  Branch (8832:9): [True: 0, False: 0]
  ------------------
 8833|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (8833:13): [True: 0, False: 0]
  ------------------
 8834|      0|            error(loc, "tensorLayout missing type parameters", "", "");
 8835|      0|            return;
 8836|      0|        }
 8837|      0|        if (publicType.typeParameters->arraySizes->getNumDims() > 2) {
  ------------------
  |  Branch (8837:13): [True: 0, False: 0]
  ------------------
 8838|      0|            error(loc, "tensorLayout incorrect number of type parameters", "", "");
 8839|      0|            return;
 8840|      0|        }
 8841|      0|        if (publicType.typeParameters && publicType.typeParameters->arraySizes->getNumDims() < 2) {
  ------------------
  |  Branch (8841:13): [True: 0, False: 0]
  |  Branch (8841:42): [True: 0, False: 0]
  ------------------
 8842|      0|            while (publicType.typeParameters->arraySizes->getNumDims() < 2) {
  ------------------
  |  Branch (8842:20): [True: 0, False: 0]
  ------------------
 8843|      0|                publicType.typeParameters->arraySizes->addInnerSize(0);
 8844|      0|            }
 8845|      0|        }
 8846|      0|    }
 8847|      0|    if (publicType.isTensorViewNV()) {
  ------------------
  |  Branch (8847:9): [True: 0, False: 0]
  ------------------
 8848|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (8848:13): [True: 0, False: 0]
  ------------------
 8849|      0|            error(loc, "tensorView missing type parameters", "", "");
 8850|      0|            return;
 8851|      0|        }
 8852|      0|        if (publicType.typeParameters->arraySizes->getNumDims() < 1 ||
  ------------------
  |  Branch (8852:13): [True: 0, False: 0]
  ------------------
 8853|      0|            publicType.typeParameters->arraySizes->getNumDims() > 7) {
  ------------------
  |  Branch (8853:13): [True: 0, False: 0]
  ------------------
 8854|      0|            error(loc, "tensorView incorrect number of type parameters", "", "");
 8855|      0|            return;
 8856|      0|        }
 8857|      0|        if (publicType.typeParameters && publicType.typeParameters->arraySizes->getNumDims() < 7) {
  ------------------
  |  Branch (8857:13): [True: 0, False: 0]
  |  Branch (8857:42): [True: 0, False: 0]
  ------------------
 8858|      0|            uint32_t numDims = publicType.typeParameters->arraySizes->getNumDims();
 8859|      0|            while (numDims < 7) {
  ------------------
  |  Branch (8859:20): [True: 0, False: 0]
  ------------------
 8860|      0|                uint32_t dim = (numDims == 1) ? 0 : (numDims - 2);
  ------------------
  |  Branch (8860:32): [True: 0, False: 0]
  ------------------
 8861|      0|                publicType.typeParameters->arraySizes->addInnerSize(dim);
 8862|      0|                numDims++;
 8863|      0|            }
 8864|      0|        }
 8865|      0|    }
 8866|      0|    if (publicType.isTensorARM()) {
  ------------------
  |  Branch (8866:9): [True: 0, False: 0]
  ------------------
 8867|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (8867:13): [True: 0, False: 0]
  ------------------
 8868|      0|            error(loc, "tensor type is missing type parameters", "", "");
 8869|      0|            return;
 8870|      0|        }
 8871|      0|        if (publicType.typeParameters->arraySizes == nullptr) {
  ------------------
  |  Branch (8871:13): [True: 0, False: 0]
  ------------------
 8872|      0|            error(loc, "tensor type is missing rank information", "", "");
 8873|      0|            return;
 8874|      0|        }
 8875|      0|        if (publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (8875:13): [True: 0, False: 0]
  ------------------
 8876|      0|            error(loc, "tensor type requires exactly 1 rank specifier", "", "");
 8877|      0|            return;
 8878|      0|        }
 8879|      0|        if (publicType.typeParameters->arraySizes->getDimSize(0) < 1) {
  ------------------
  |  Branch (8879:13): [True: 0, False: 0]
  ------------------
 8880|      0|            error(loc, "tensor rank must be greater than or equal to 1", "", "");
 8881|      0|            return;
 8882|      0|        }
 8883|      0|    }
 8884|      0|    if (publicType.isLongVector() && !isValidLongVectorElseError(loc, publicType)) {
  ------------------
  |  Branch (8884:9): [True: 0, False: 0]
  |  Branch (8884:38): [True: 0, False: 0]
  ------------------
 8885|      0|        return;
 8886|      0|    }
 8887|      0|}
_ZN7glslang13TParseContext15declareVariableERKNS_10TSourceLocERNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_11TPublicTypeEPNS_11TArraySizesEPNS_12TIntermTypedE:
 9255|  5.14k|{
 9256|       |    // Make a fresh type that combines the characteristics from the individual
 9257|       |    // identifier syntax and the declaration-type syntax.
 9258|  5.14k|    TType type(publicType);
 9259|  5.14k|    type.transferArraySizes(arraySizes);
 9260|  5.14k|    type.copyArrayInnerSizes(publicType.arraySizes);
 9261|  5.14k|    arrayOfArrayVersionCheck(loc, type.getArraySizes());
 9262|       |
 9263|  5.14k|    if (initializer) {
  ------------------
  |  Branch (9263:9): [True: 1.63k, False: 3.50k]
  ------------------
 9264|  1.63k|        if (type.getBasicType() == EbtRayQuery) {
  ------------------
  |  Branch (9264:13): [True: 0, False: 1.63k]
  ------------------
 9265|      0|            error(loc, "ray queries can only be initialized by using the rayQueryInitializeEXT intrinsic:", "=", identifier.c_str());
 9266|  1.63k|        } else if ((type.getBasicType() == EbtHitObjectNV) || (type.getBasicType() == EbtHitObjectEXT)) {
  ------------------
  |  Branch (9266:20): [True: 0, False: 1.63k]
  |  Branch (9266:63): [True: 0, False: 1.63k]
  ------------------
 9267|      0|            error(loc, "hit objects cannot be initialized using initializers", "=", identifier.c_str());
 9268|      0|        }
 9269|       |
 9270|  1.63k|    }
 9271|       |
 9272|  5.14k|    if (type.isCoopMatKHR()) {
  ------------------
  |  Branch (9272:9): [True: 0, False: 5.14k]
  ------------------
 9273|      0|        intermediate.setUseVulkanMemoryModel();
 9274|      0|        intermediate.setUseStorageBuffer();
 9275|       |
 9276|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes ||
  ------------------
  |  Branch (9276:13): [True: 0, False: 0]
  |  Branch (9276:43): [True: 0, False: 0]
  ------------------
 9277|      0|            publicType.typeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (9277:13): [True: 0, False: 0]
  ------------------
 9278|      0|            error(loc, "unexpected number type parameters", identifier.c_str(), "");
 9279|      0|        }
 9280|      0|        if (publicType.typeParameters) {
  ------------------
  |  Branch (9280:13): [True: 0, False: 0]
  ------------------
 9281|      0|            if (!isTypeFloat(publicType.typeParameters->basicType) &&
  ------------------
  |  Branch (9281:17): [True: 0, False: 0]
  ------------------
 9282|      0|                !isTypeInt(publicType.typeParameters->basicType) && publicType.typeParameters->basicType != EbtSpirvType) {
  ------------------
  |  Branch (9282:17): [True: 0, False: 0]
  |  Branch (9282:69): [True: 0, False: 0]
  ------------------
 9283|      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(), "");
 9284|      0|            }
 9285|      0|        }
 9286|      0|    }
 9287|  5.14k|    else if (type.isCoopMatNV()) {
  ------------------
  |  Branch (9287:14): [True: 0, False: 5.14k]
  ------------------
 9288|      0|        intermediate.setUseVulkanMemoryModel();
 9289|      0|        intermediate.setUseStorageBuffer();
 9290|       |
 9291|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes || publicType.typeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (9291:13): [True: 0, False: 0]
  |  Branch (9291:43): [True: 0, False: 0]
  |  Branch (9291:85): [True: 0, False: 0]
  ------------------
 9292|      0|            error(loc, "expected four type parameters", identifier.c_str(), "");
 9293|      0|        } else {
 9294|      0|            if (isTypeFloat(publicType.basicType) &&
  ------------------
  |  Branch (9294:17): [True: 0, False: 0]
  ------------------
 9295|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 16 &&
  ------------------
  |  Branch (9295:17): [True: 0, False: 0]
  ------------------
 9296|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 32 &&
  ------------------
  |  Branch (9296:17): [True: 0, False: 0]
  ------------------
 9297|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 64) {
  ------------------
  |  Branch (9297:17): [True: 0, False: 0]
  ------------------
 9298|      0|                error(loc, "expected 16, 32, or 64 bits for first type parameter", identifier.c_str(), "");
 9299|      0|            }
 9300|      0|            if (isTypeInt(publicType.basicType) &&
  ------------------
  |  Branch (9300:17): [True: 0, False: 0]
  ------------------
 9301|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 8 &&
  ------------------
  |  Branch (9301:17): [True: 0, False: 0]
  ------------------
 9302|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 16 &&
  ------------------
  |  Branch (9302:17): [True: 0, False: 0]
  ------------------
 9303|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 32) {
  ------------------
  |  Branch (9303:17): [True: 0, False: 0]
  ------------------
 9304|      0|                error(loc, "expected 8, 16, or 32 bits for first type parameter", identifier.c_str(), "");
 9305|      0|            }
 9306|      0|        }
 9307|  5.14k|    } else if (type.isTensorLayoutNV()) {
  ------------------
  |  Branch (9307:16): [True: 0, False: 5.14k]
  ------------------
 9308|      0|        if (!publicType.typeParameters || publicType.typeParameters->arraySizes->getNumDims() > 2) {
  ------------------
  |  Branch (9308:13): [True: 0, False: 0]
  |  Branch (9308:43): [True: 0, False: 0]
  ------------------
 9309|      0|            error(loc, "expected 1-2 type parameters", identifier.c_str(), "");
 9310|      0|        }
 9311|  5.14k|    } else if (type.isTensorViewNV()) {
  ------------------
  |  Branch (9311:16): [True: 0, False: 5.14k]
  ------------------
 9312|      0|        if (!publicType.typeParameters || publicType.typeParameters->arraySizes->getNumDims() > 7) {
  ------------------
  |  Branch (9312:13): [True: 0, False: 0]
  |  Branch (9312:43): [True: 0, False: 0]
  ------------------
 9313|      0|            error(loc, "expected 1-7 type parameters", identifier.c_str(), "");
 9314|      0|        }
 9315|  5.14k|    } else if (type.isCoopVecNV()) {
  ------------------
  |  Branch (9315:16): [True: 0, False: 5.14k]
  ------------------
 9316|      0|        intermediate.setUseVulkanMemoryModel();
 9317|      0|        intermediate.setUseStorageBuffer();
 9318|       |
 9319|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes || publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9319:13): [True: 0, False: 0]
  |  Branch (9319:43): [True: 0, False: 0]
  |  Branch (9319:85): [True: 0, False: 0]
  ------------------
 9320|      0|            error(loc, "expected two type parameters", identifier.c_str(), "");
 9321|      0|        } else if (publicType.typeParameters->arraySizes->getDimNode(0) == nullptr && publicType.typeParameters->arraySizes->getDimSize(0) <= 0) {
  ------------------
  |  Branch (9321:20): [True: 0, False: 0]
  |  Branch (9321:87): [True: 0, False: 0]
  ------------------
 9322|      0|            error(loc, "expected positive number of components", identifier.c_str(), "");
 9323|      0|        }
 9324|  5.14k|    } else if (type.isLongVector()) {
  ------------------
  |  Branch (9324:16): [True: 0, False: 5.14k]
  ------------------
 9325|      0|        intermediate.setUseStorageBuffer();
 9326|       |
 9327|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes || publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9327:13): [True: 0, False: 0]
  |  Branch (9327:43): [True: 0, False: 0]
  |  Branch (9327:85): [True: 0, False: 0]
  ------------------
 9328|      0|            error(loc, "expected two type parameters", identifier.c_str(), "");
 9329|      0|        } else if (publicType.typeParameters->arraySizes->getDimNode(0) == nullptr && publicType.typeParameters->arraySizes->getDimSize(0) <= 0) {
  ------------------
  |  Branch (9329:20): [True: 0, False: 0]
  |  Branch (9329:87): [True: 0, False: 0]
  ------------------
 9330|      0|            error(loc, "expected positive number of components", identifier.c_str(), "");
 9331|      0|        }
 9332|  5.14k|    } else if (type.isTensorARM()) {
  ------------------
  |  Branch (9332:16): [True: 0, False: 5.14k]
  ------------------
 9333|      0|        intermediate.setUseStorageBuffer();
 9334|       |
 9335|      0|        if (!publicType.typeParameters || publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9335:13): [True: 0, False: 0]
  |  Branch (9335:43): [True: 0, False: 0]
  ------------------
 9336|      0|            error(loc, "expected two type parameters", identifier.c_str(), "");
 9337|      0|        }
 9338|      0|        if (publicType.typeParameters) {
  ------------------
  |  Branch (9338:13): [True: 0, False: 0]
  ------------------
 9339|      0|            if (publicType.typeParameters->basicType != EbtBool &&
  ------------------
  |  Branch (9339:17): [True: 0, False: 0]
  ------------------
 9340|      0|                publicType.typeParameters->basicType != EbtInt8 &&
  ------------------
  |  Branch (9340:17): [True: 0, False: 0]
  ------------------
 9341|      0|                publicType.typeParameters->basicType != EbtInt16 &&
  ------------------
  |  Branch (9341:17): [True: 0, False: 0]
  ------------------
 9342|      0|                publicType.typeParameters->basicType != EbtInt &&
  ------------------
  |  Branch (9342:17): [True: 0, False: 0]
  ------------------
 9343|      0|                publicType.typeParameters->basicType != EbtInt64 &&
  ------------------
  |  Branch (9343:17): [True: 0, False: 0]
  ------------------
 9344|      0|                publicType.typeParameters->basicType != EbtUint8 &&
  ------------------
  |  Branch (9344:17): [True: 0, False: 0]
  ------------------
 9345|      0|                publicType.typeParameters->basicType != EbtUint16 &&
  ------------------
  |  Branch (9345:17): [True: 0, False: 0]
  ------------------
 9346|      0|                publicType.typeParameters->basicType != EbtUint &&
  ------------------
  |  Branch (9346:17): [True: 0, False: 0]
  ------------------
 9347|      0|                publicType.typeParameters->basicType != EbtUint64 &&
  ------------------
  |  Branch (9347:17): [True: 0, False: 0]
  ------------------
 9348|      0|                publicType.typeParameters->basicType != EbtFloat16 &&
  ------------------
  |  Branch (9348:17): [True: 0, False: 0]
  ------------------
 9349|      0|                publicType.typeParameters->basicType != EbtFloat &&
  ------------------
  |  Branch (9349:17): [True: 0, False: 0]
  ------------------
 9350|      0|                publicType.typeParameters->basicType != EbtDouble &&
  ------------------
  |  Branch (9350:17): [True: 0, False: 0]
  ------------------
 9351|      0|                publicType.typeParameters->basicType != EbtBFloat16 &&
  ------------------
  |  Branch (9351:17): [True: 0, False: 0]
  ------------------
 9352|      0|                publicType.typeParameters->basicType != EbtFloatE5M2 &&
  ------------------
  |  Branch (9352:17): [True: 0, False: 0]
  ------------------
 9353|      0|                publicType.typeParameters->basicType != EbtFloatE4M3) {
  ------------------
  |  Branch (9353:17): [True: 0, False: 0]
  ------------------
 9354|      0|                error(loc, "expected bool, integer or floating point type parameter", identifier.c_str(), "");
 9355|      0|            }
 9356|       |
 9357|      0|            if (publicType.typeParameters->basicType == EbtBFloat16) {
  ------------------
  |  Branch (9357:17): [True: 0, False: 0]
  ------------------
 9358|      0|                requireExtensions(loc, 1, &E_GL_ARM_tensors_bfloat16, "tensor with bfloat16_t type");
 9359|      0|            }
 9360|       |
 9361|      0|            if (publicType.typeParameters->basicType == EbtFloatE5M2) {
  ------------------
  |  Branch (9361:17): [True: 0, False: 0]
  ------------------
 9362|      0|                requireExtensions(loc, 1, &E_GL_ARM_tensors_float_e5m2, "tensor with floate5m2_t type");
 9363|      0|            }
 9364|       |
 9365|      0|            if (publicType.typeParameters->basicType == EbtFloatE4M3) {
  ------------------
  |  Branch (9365:17): [True: 0, False: 0]
  ------------------
 9366|      0|                requireExtensions(loc, 1, &E_GL_ARM_tensors_float_e4m3, "tensor with floate4m3_t type");
 9367|      0|            }
 9368|      0|        }
 9369|  5.14k|    } else {
 9370|  5.14k|        if (publicType.typeParameters && publicType.typeParameters->arraySizes->getNumDims() != 0) {
  ------------------
  |  Branch (9370:13): [True: 0, False: 5.14k]
  |  Branch (9370:42): [True: 0, False: 0]
  ------------------
 9371|      0|            error(loc, "unexpected type parameters", identifier.c_str(), "");
 9372|      0|        }
 9373|  5.14k|    }
 9374|       |
 9375|  5.14k|    if (voidErrorCheck(loc, identifier, type.getBasicType()))
  ------------------
  |  Branch (9375:9): [True: 0, False: 5.14k]
  ------------------
 9376|      0|        return nullptr;
 9377|       |
 9378|  5.14k|    if (initializer)
  ------------------
  |  Branch (9378:9): [True: 1.63k, False: 3.50k]
  ------------------
 9379|  1.63k|        rValueErrorCheck(loc, "initializer", initializer);
 9380|  3.50k|    else
 9381|  3.50k|        nonInitConstCheck(loc, identifier, type);
 9382|       |
 9383|  5.14k|    samplerCheck(loc, type, identifier, initializer);
 9384|  5.14k|    transparentOpaqueCheck(loc, type, identifier);
 9385|  5.14k|    atomicUintCheck(loc, type, identifier);
 9386|  5.14k|    accStructCheck(loc, type, identifier);
 9387|  5.14k|    hitObjectNVCheck(loc, type, identifier);
 9388|  5.14k|    hitObjectEXTCheck(loc, type, identifier);
 9389|  5.14k|    checkAndResizeMeshViewDim(loc, type, /*isBlockMember*/ false);
 9390|  5.14k|    if (type.getQualifier().storage == EvqConst && type.containsReference()) {
  ------------------
  |  Branch (9390:9): [True: 1.63k, False: 3.50k]
  |  Branch (9390:52): [True: 0, False: 1.63k]
  ------------------
 9391|      0|        error(loc, "variables with reference type can't have qualifier 'const'", "qualifier", "");
 9392|      0|    }
 9393|       |
 9394|  5.14k|    if (type.getQualifier().storage != EvqUniform && type.getQualifier().storage != EvqBuffer) {
  ------------------
  |  Branch (9394:9): [True: 4.95k, False: 188]
  |  Branch (9394:54): [True: 4.95k, False: 0]
  ------------------
 9395|  4.95k|        if (type.contains16BitFloat())
  ------------------
  |  Branch (9395:13): [True: 0, False: 4.95k]
  ------------------
 9396|      0|            requireFloat16Arithmetic(loc, "qualifier", "float16 types can only be in uniform block or buffer storage");
 9397|  4.95k|        if (type.contains16BitInt())
  ------------------
  |  Branch (9397:13): [True: 0, False: 4.95k]
  ------------------
 9398|      0|            requireInt16Arithmetic(loc, "qualifier", "(u)int16 types can only be in uniform block or buffer storage");
 9399|  4.95k|        if (type.contains8BitInt())
  ------------------
  |  Branch (9399:13): [True: 0, False: 4.95k]
  ------------------
 9400|      0|            requireInt8Arithmetic(loc, "qualifier", "(u)int8 types can only be in uniform block or buffer storage");
 9401|  4.95k|    }
 9402|  5.14k|    if (type.getBasicType() == EbtBFloat16 &&
  ------------------
  |  Branch (9402:9): [True: 0, False: 5.14k]
  ------------------
 9403|      0|        (type.getQualifier().storage == EvqVaryingIn || type.getQualifier().storage == EvqVaryingOut))
  ------------------
  |  Branch (9403:10): [True: 0, False: 0]
  |  Branch (9403:57): [True: 0, False: 0]
  ------------------
 9404|      0|        error(loc, "qualifier", "bfloat16 types not allowed as input/output", "");
 9405|       |
 9406|  5.14k|    if ((type.getBasicType() == EbtFloatE5M2 || type.getBasicType() == EbtFloatE4M3) &&
  ------------------
  |  Branch (9406:10): [True: 0, False: 5.14k]
  |  Branch (9406:49): [True: 0, False: 5.14k]
  ------------------
 9407|      0|        (type.getQualifier().storage == EvqVaryingIn || type.getQualifier().storage == EvqVaryingOut))
  ------------------
  |  Branch (9407:10): [True: 0, False: 0]
  |  Branch (9407:57): [True: 0, False: 0]
  ------------------
 9408|      0|        error(loc, "qualifier", "fp8 types not allowed as input/output", "");
 9409|       |
 9410|  5.14k|    if (type.getQualifier().storage == EvqtaskPayloadSharedEXT)
  ------------------
  |  Branch (9410:9): [True: 0, False: 5.14k]
  ------------------
 9411|      0|        intermediate.addTaskPayloadEXTCount();
 9412|  5.14k|    if (type.getQualifier().storage == EvqShared && type.containsCoopMat())
  ------------------
  |  Branch (9412:9): [True: 0, False: 5.14k]
  |  Branch (9412:53): [True: 0, False: 0]
  ------------------
 9413|      0|        error(loc, "qualifier", "Cooperative matrix types must not be used in shared memory", "");
 9414|       |
 9415|  5.14k|    if (profile == EEsProfile) {
  ------------------
  |  Branch (9415:9): [True: 741, False: 4.40k]
  ------------------
 9416|    741|        if (type.getQualifier().isPipeInput() && type.getBasicType() == EbtStruct) {
  ------------------
  |  Branch (9416:13): [True: 0, False: 741]
  |  Branch (9416:50): [True: 0, False: 0]
  ------------------
 9417|      0|            if (type.getQualifier().isArrayedIo(language)) {
  ------------------
  |  Branch (9417:17): [True: 0, False: 0]
  ------------------
 9418|      0|                TType perVertexType(type, 0);
 9419|      0|                if (perVertexType.containsArray() && perVertexType.containsBuiltIn() == false) {
  ------------------
  |  Branch (9419:21): [True: 0, False: 0]
  |  Branch (9419:54): [True: 0, False: 0]
  ------------------
 9420|      0|                    error(loc, "A per vertex structure containing an array is not allowed as input in ES", type.getTypeName().c_str(), "");
 9421|      0|                }
 9422|      0|            }
 9423|      0|            else if (type.containsArray() && type.containsBuiltIn() == false) {
  ------------------
  |  Branch (9423:22): [True: 0, False: 0]
  |  Branch (9423:46): [True: 0, False: 0]
  ------------------
 9424|      0|                error(loc, "A structure containing an array is not allowed as input in ES", type.getTypeName().c_str(), "");
 9425|      0|            }
 9426|      0|            if (type.containsStructure())
  ------------------
  |  Branch (9426:17): [True: 0, False: 0]
  ------------------
 9427|      0|                error(loc, "A structure containing an struct is not allowed as input in ES", type.getTypeName().c_str(), "");
 9428|      0|        }
 9429|    741|    }
 9430|       |
 9431|  5.14k|    if (identifier != "gl_FragCoord" && (publicType.shaderQualifiers.originUpperLeft || publicType.shaderQualifiers.pixelCenterInteger))
  ------------------
  |  Branch (9431:9): [True: 5.10k, False: 45]
  |  Branch (9431:42): [True: 0, False: 5.10k]
  |  Branch (9431:89): [True: 0, False: 5.10k]
  ------------------
 9432|      0|        error(loc, "can only apply origin_upper_left and pixel_center_origin to gl_FragCoord", "layout qualifier", "");
 9433|  5.14k|    if (identifier != "gl_FragDepth" && publicType.shaderQualifiers.getDepth() != EldNone)
  ------------------
  |  Branch (9433:9): [True: 5.13k, False: 6]
  |  Branch (9433:41): [True: 0, False: 5.13k]
  ------------------
 9434|      0|        error(loc, "can only apply depth layout to gl_FragDepth", "layout qualifier", "");
 9435|  5.14k|    if (identifier != "gl_FragStencilRefARB" && publicType.shaderQualifiers.getStencil() != ElsNone)
  ------------------
  |  Branch (9435:9): [True: 5.13k, False: 6]
  |  Branch (9435:49): [True: 0, False: 5.13k]
  ------------------
 9436|      0|        error(loc, "can only apply depth layout to gl_FragStencilRefARB", "layout qualifier", "");
 9437|       |
 9438|       |    // Check for redeclaration of built-ins and/or attempting to declare a reserved name
 9439|  5.14k|    TSymbol* symbol = redeclareBuiltinVariable(loc, identifier, type.getQualifier(), publicType.shaderQualifiers);
 9440|  5.14k|    if (symbol == nullptr)
  ------------------
  |  Branch (9440:9): [True: 5.14k, False: 0]
  ------------------
 9441|  5.14k|        reservedErrorCheck(loc, identifier);
 9442|       |
 9443|  5.14k|    if (symbol == nullptr && spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (9443:9): [True: 5.14k, False: 0]
  |  Branch (9443:30): [True: 504, False: 4.64k]
  |  Branch (9443:55): [True: 0, False: 504]
  ------------------
 9444|      0|        bool remapped = vkRelaxedRemapUniformVariable(loc, identifier, publicType, arraySizes, initializer, type);
 9445|       |
 9446|      0|        if (remapped) {
  ------------------
  |  Branch (9446:13): [True: 0, False: 0]
  ------------------
 9447|      0|            return nullptr;
 9448|      0|        }
 9449|      0|    }
 9450|       |
 9451|  5.14k|    inheritGlobalDefaults(type.getQualifier());
 9452|       |
 9453|       |    // Declare the variable
 9454|  5.14k|    if (type.isArray()) {
  ------------------
  |  Branch (9454:9): [True: 178, False: 4.96k]
  ------------------
 9455|       |        // Check that implicit sizing is only where allowed.
 9456|    178|        arraySizesCheck(loc, type.getQualifier(), type.getArraySizes(), initializer, false);
 9457|       |
 9458|    178|        if (! arrayQualifierError(loc, type.getQualifier()) && ! arrayError(loc, type))
  ------------------
  |  Branch (9458:13): [True: 178, False: 0]
  |  Branch (9458:64): [True: 178, False: 0]
  ------------------
 9459|    178|            declareArray(loc, identifier, type, symbol);
 9460|       |
 9461|    178|        if (initializer) {
  ------------------
  |  Branch (9461:13): [True: 0, False: 178]
  ------------------
 9462|      0|            profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, "initializer");
 9463|      0|            profileRequires(loc, EEsProfile, 300, nullptr, "initializer");
 9464|      0|        }
 9465|  4.96k|    } else {
 9466|       |        // non-array case
 9467|  4.96k|        if (symbol == nullptr)
  ------------------
  |  Branch (9467:13): [True: 4.96k, False: 0]
  ------------------
 9468|  4.96k|            symbol = declareNonArray(loc, identifier, type);
 9469|      0|        else if (type != symbol->getType())
  ------------------
  |  Branch (9469:18): [True: 0, False: 0]
  ------------------
 9470|      0|            error(loc, "cannot change the type of", "redeclaration", symbol->getName().c_str());
 9471|  4.96k|    }
 9472|       |
 9473|  5.14k|    if (symbol == nullptr)
  ------------------
  |  Branch (9473:9): [True: 0, False: 5.14k]
  ------------------
 9474|      0|        return nullptr;
 9475|       |
 9476|       |    // Deal with initializer
 9477|  5.14k|    TIntermNode* initNode = nullptr;
 9478|  5.14k|    if (symbol != nullptr && initializer) {
  ------------------
  |  Branch (9478:9): [True: 5.14k, False: 0]
  |  Branch (9478:30): [True: 1.63k, False: 3.50k]
  ------------------
 9479|  1.63k|        TVariable* variable = symbol->getAsVariable();
 9480|  1.63k|        if (! variable) {
  ------------------
  |  Branch (9480:13): [True: 0, False: 1.63k]
  ------------------
 9481|      0|            error(loc, "initializer requires a variable, not a member", identifier.c_str(), "");
 9482|      0|            return nullptr;
 9483|      0|        }
 9484|  1.63k|        initNode = executeInitializer(loc, initializer, variable);
 9485|  1.63k|    }
 9486|       |
 9487|       |    // EXT_descriptor_heap
 9488|  5.14k|    if (!untypedHeapCheck(symbol, type, loc, identifier.c_str())) {
  ------------------
  |  Branch (9488:9): [True: 0, False: 5.14k]
  ------------------
 9489|      0|        return nullptr;
 9490|      0|    }
 9491|       |
 9492|       |    // look for errors in layout qualifier use
 9493|  5.14k|    layoutObjectCheck(loc, *symbol);
 9494|       |
 9495|       |    // fix up
 9496|  5.14k|    fixOffset(loc, *symbol);
 9497|       |
 9498|       |    // TODO: The decl AST is turned on based on debug info right now. We should expose it as an explicit option.
 9499|  5.14k|    if (intermediate.getDebugInfo()) {
  ------------------
  |  Branch (9499:9): [True: 0, False: 5.14k]
  ------------------
 9500|      0|        TVariable* variable = symbol->getAsVariable();
 9501|      0|        if (variable) {
  ------------------
  |  Branch (9501:13): [True: 0, False: 0]
  ------------------
 9502|      0|            auto decl = new TIntermVariableDecl(intermediate.addSymbol(*variable, loc), initNode);
 9503|      0|            decl->setLoc(loc);
 9504|      0|            return decl;
 9505|      0|        }
 9506|      0|        else {
 9507|       |            // We ignore builtins redeclarations
 9508|      0|            return nullptr;
 9509|      0|        }
 9510|      0|    }
 9511|  5.14k|    else {
 9512|  5.14k|        return initNode;
 9513|  5.14k|    }
 9514|  5.14k|}
_ZNK7glslang13TParseContext21inheritGlobalDefaultsERNS_10TQualifierE:
 9518|  5.14k|{
 9519|  5.14k|    if (dst.storage == EvqVaryingOut) {
  ------------------
  |  Branch (9519:9): [True: 250, False: 4.89k]
  ------------------
 9520|    250|        if (! dst.hasStream() && language == EShLangGeometry)
  ------------------
  |  Branch (9520:13): [True: 250, False: 0]
  |  Branch (9520:34): [True: 63, False: 187]
  ------------------
 9521|     63|            dst.layoutStream = globalOutputDefaults.layoutStream;
 9522|    250|        if (! dst.hasXfbBuffer())
  ------------------
  |  Branch (9522:13): [True: 250, False: 0]
  ------------------
 9523|    250|            dst.layoutXfbBuffer = globalOutputDefaults.layoutXfbBuffer;
 9524|    250|    }
 9525|  5.14k|}
_ZN7glslang13TParseContext15declareNonArrayERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_5TTypeE:
 9549|  4.96k|{
 9550|       |    // make a new variable
 9551|  4.96k|    TVariable* variable = new TVariable(&identifier, type);
 9552|       |
 9553|  4.96k|    ioArrayCheck(loc, type, identifier);
 9554|       |
 9555|       |    // add variable to symbol table
 9556|  4.96k|    if (symbolTable.insert(*variable)) {
  ------------------
  |  Branch (9556:9): [True: 4.96k, False: 0]
  ------------------
 9557|  4.96k|        if (symbolTable.atGlobalLevel())
  ------------------
  |  Branch (9557:13): [True: 4.96k, False: 0]
  ------------------
 9558|  4.96k|            trackLinkage(*variable);
 9559|  4.96k|        return variable;
 9560|  4.96k|    }
 9561|       |
 9562|      0|    error(loc, "redefinition", variable->getName().c_str(), "");
 9563|      0|    return nullptr;
 9564|  4.96k|}
_ZN7glslang13TParseContext18executeInitializerERKNS_10TSourceLocEPNS_12TIntermTypedEPNS_9TVariableE:
 9573|  1.63k|{
 9574|       |    // A null initializer is an aggregate that hasn't had an op assigned yet
 9575|       |    // (still EOpNull, no relation to nullInit), and has no children.
 9576|  1.63k|    bool nullInit = initializer->getAsAggregate() && initializer->getAsAggregate()->getOp() == EOpNull &&
  ------------------
  |  Branch (9576:21): [True: 0, False: 1.63k]
  |  Branch (9576:54): [True: 0, False: 0]
  ------------------
 9577|      0|        initializer->getAsAggregate()->getSequence().size() == 0;
  ------------------
  |  Branch (9577:9): [True: 0, False: 0]
  ------------------
 9578|       |
 9579|       |    //
 9580|       |    // Identifier must be of type constant, a global, or a temporary, and
 9581|       |    // starting at version 120, desktop allows uniforms to have initializers.
 9582|       |    //
 9583|  1.63k|    TStorageQualifier qualifier = variable->getType().getQualifier().storage;
 9584|  1.63k|    if (! (qualifier == EvqTemporary || qualifier == EvqGlobal || qualifier == EvqConst ||
  ------------------
  |  Branch (9584:12): [True: 0, False: 1.63k]
  |  Branch (9584:41): [True: 0, False: 1.63k]
  |  Branch (9584:67): [True: 1.63k, False: 0]
  ------------------
 9585|      0|           (qualifier == EvqUniform && !isEsProfile() && version >= 120))) {
  ------------------
  |  Branch (9585:13): [True: 0, False: 0]
  |  Branch (9585:40): [True: 0, False: 0]
  |  Branch (9585:58): [True: 0, False: 0]
  ------------------
 9586|      0|        if (qualifier == EvqShared) {
  ------------------
  |  Branch (9586:13): [True: 0, False: 0]
  ------------------
 9587|       |            // GL_EXT_null_initializer allows this for shared, if it's a null initializer
 9588|      0|            if (nullInit) {
  ------------------
  |  Branch (9588:17): [True: 0, False: 0]
  ------------------
 9589|      0|                const char* feature = "initialization with shared qualifier";
 9590|      0|                profileRequires(loc, EEsProfile, 0, E_GL_EXT_null_initializer, feature);
 9591|      0|                profileRequires(loc, ~EEsProfile, 0, E_GL_EXT_null_initializer, feature);
 9592|      0|            } else {
 9593|      0|                error(loc, "initializer can only be a null initializer ('{}')", "shared", "");
 9594|      0|            }
 9595|      0|        } else {
 9596|      0|            error(loc, " cannot initialize this type of qualifier ",
 9597|      0|                  variable->getType().getStorageQualifierString(), "");
 9598|      0|            return nullptr;
 9599|      0|        }
 9600|      0|    }
 9601|       |
 9602|  1.63k|    if (nullInit) {
  ------------------
  |  Branch (9602:9): [True: 0, False: 1.63k]
  ------------------
 9603|       |        // only some types can be null initialized
 9604|      0|        if (variable->getType().containsUnsizedArray()) {
  ------------------
  |  Branch (9604:13): [True: 0, False: 0]
  ------------------
 9605|      0|            error(loc, "null initializers can't size unsized arrays", "{}", "");
 9606|      0|            return nullptr;
 9607|      0|        }
 9608|      0|        if (variable->getType().containsOpaque()) {
  ------------------
  |  Branch (9608:13): [True: 0, False: 0]
  ------------------
 9609|      0|            error(loc, "null initializers can't be used on opaque values", "{}", "");
 9610|      0|            return nullptr;
 9611|      0|        }
 9612|      0|        variable->getWritableType().getQualifier().setNullInit();
 9613|      0|        return nullptr;
 9614|      0|    }
 9615|       |
 9616|  1.63k|    arrayObjectCheck(loc, variable->getType(), "array initializer");
 9617|       |
 9618|       |    //
 9619|       |    // If the initializer was from braces { ... }, we convert the whole subtree to a
 9620|       |    // constructor-style subtree, allowing the rest of the code to operate
 9621|       |    // identically for both kinds of initializers.
 9622|       |    //
 9623|       |    // Type can't be deduced from the initializer list, so a skeletal type to
 9624|       |    // follow has to be passed in.  Constness and specialization-constness
 9625|       |    // should be deduced bottom up, not dictated by the skeletal type.
 9626|       |    //
 9627|  1.63k|    TType skeletalType;
 9628|  1.63k|    skeletalType.shallowCopy(variable->getType());
 9629|  1.63k|    skeletalType.getQualifier().makeTemporary();
 9630|  1.63k|    initializer = convertInitializerList(loc, skeletalType, initializer);
 9631|  1.63k|    if (! initializer) {
  ------------------
  |  Branch (9631:9): [True: 0, False: 1.63k]
  ------------------
 9632|       |        // error recovery; don't leave const without constant values
 9633|      0|        if (qualifier == EvqConst)
  ------------------
  |  Branch (9633:13): [True: 0, False: 0]
  ------------------
 9634|      0|            variable->getWritableType().getQualifier().makeTemporary();
 9635|      0|        return nullptr;
 9636|      0|    }
 9637|       |
 9638|       |    // Fix outer arrayness if variable is unsized, getting size from the initializer
 9639|  1.63k|    if (initializer->getType().isSizedArray() && variable->getType().isUnsizedArray())
  ------------------
  |  Branch (9639:9): [True: 0, False: 1.63k]
  |  Branch (9639:50): [True: 0, False: 0]
  ------------------
 9640|      0|        variable->getWritableType().changeOuterArraySize(initializer->getType().getOuterArraySize());
 9641|       |
 9642|       |    // Inner arrayness can also get set by an initializer
 9643|  1.63k|    if (initializer->getType().isArrayOfArrays() && variable->getType().isArrayOfArrays() &&
  ------------------
  |  Branch (9643:9): [True: 0, False: 1.63k]
  |  Branch (9643:53): [True: 0, False: 0]
  ------------------
 9644|      0|        initializer->getType().getArraySizes()->getNumDims() ==
  ------------------
  |  Branch (9644:9): [True: 0, False: 0]
  ------------------
 9645|      0|           variable->getType().getArraySizes()->getNumDims()) {
 9646|       |        // adopt unsized sizes from the initializer's sizes
 9647|      0|        for (int d = 1; d < variable->getType().getArraySizes()->getNumDims(); ++d) {
  ------------------
  |  Branch (9647:25): [True: 0, False: 0]
  ------------------
 9648|      0|            if (variable->getType().getArraySizes()->getDimSize(d) == UnsizedArraySize) {
  ------------------
  |  Branch (9648:17): [True: 0, False: 0]
  ------------------
 9649|      0|                variable->getWritableType().getArraySizes()->setDimSize(d,
 9650|      0|                    initializer->getType().getArraySizes()->getDimSize(d));
 9651|      0|            }
 9652|      0|        }
 9653|      0|    }
 9654|       |
 9655|       |    // Uniforms require a compile-time constant initializer
 9656|  1.63k|    if (qualifier == EvqUniform && ! initializer->getType().getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (9656:9): [True: 0, False: 1.63k]
  |  Branch (9656:36): [True: 0, False: 0]
  ------------------
 9657|      0|        error(loc, "uniform initializers must be constant", "=", "'%s'",
 9658|      0|              variable->getType().getCompleteString(intermediate.getEnhancedMsgs()).c_str());
 9659|      0|        variable->getWritableType().getQualifier().makeTemporary();
 9660|      0|        return nullptr;
 9661|      0|    }
 9662|       |    // Global consts require a constant initializer (specialization constant is okay)
 9663|  1.63k|    if (qualifier == EvqConst && symbolTable.atGlobalLevel() && ! initializer->getType().getQualifier().isConstant()) {
  ------------------
  |  Branch (9663:9): [True: 1.63k, False: 0]
  |  Branch (9663:34): [True: 1.63k, False: 0]
  |  Branch (9663:65): [True: 0, False: 1.63k]
  ------------------
 9664|      0|        error(loc, "global const initializers must be constant", "=", "'%s'",
 9665|      0|              variable->getType().getCompleteString(intermediate.getEnhancedMsgs()).c_str());
 9666|      0|        variable->getWritableType().getQualifier().makeTemporary();
 9667|      0|        return nullptr;
 9668|      0|    }
 9669|       |
 9670|       |    // Const variables require a constant initializer, depending on version
 9671|  1.63k|    if (qualifier == EvqConst) {
  ------------------
  |  Branch (9671:9): [True: 1.63k, False: 0]
  ------------------
 9672|  1.63k|        if (! initializer->getType().getQualifier().isConstant()) {
  ------------------
  |  Branch (9672:13): [True: 0, False: 1.63k]
  ------------------
 9673|      0|            const char* initFeature = "non-constant initializer";
 9674|      0|            requireProfile(loc, ~EEsProfile, initFeature);
 9675|      0|            profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, initFeature);
 9676|      0|            variable->getWritableType().getQualifier().storage = EvqConstReadOnly;
 9677|      0|            qualifier = EvqConstReadOnly;
 9678|      0|        }
 9679|  1.63k|    } else {
 9680|       |        // Non-const global variables in ES need a const initializer.
 9681|       |        //
 9682|       |        // "In declarations of global variables with no storage qualifier or with a const
 9683|       |        // qualifier any initializer must be a constant expression."
 9684|      0|        if (symbolTable.atGlobalLevel() && ! initializer->getType().getQualifier().isConstant()) {
  ------------------
  |  Branch (9684:13): [True: 0, False: 0]
  |  Branch (9684:44): [True: 0, False: 0]
  ------------------
 9685|      0|            const char* initFeature =
 9686|      0|                "non-constant global initializer (needs GL_EXT_shader_non_constant_global_initializers)";
 9687|      0|            if (isEsProfile()) {
  ------------------
  |  Branch (9687:17): [True: 0, False: 0]
  ------------------
 9688|      0|                if (relaxedErrors() && ! extensionTurnedOn(E_GL_EXT_shader_non_constant_global_initializers))
  ------------------
  |  Branch (9688:21): [True: 0, False: 0]
  |  Branch (9688:40): [True: 0, False: 0]
  ------------------
 9689|      0|                    warn(loc, "not allowed in this version", initFeature, "");
 9690|      0|                else
 9691|      0|                    profileRequires(loc, EEsProfile, 0, E_GL_EXT_shader_non_constant_global_initializers, initFeature);
 9692|      0|            }
 9693|      0|        }
 9694|      0|    }
 9695|       |
 9696|  1.63k|    if (qualifier == EvqConst || qualifier == EvqUniform) {
  ------------------
  |  Branch (9696:9): [True: 1.63k, False: 0]
  |  Branch (9696:34): [True: 0, False: 0]
  ------------------
 9697|       |        // Compile-time tagging of the variable with its constant value...
 9698|       |
 9699|  1.63k|        initializer = intermediate.addConversion(EOpAssign, variable->getType(), initializer);
 9700|  1.63k|        if (! initializer || ! initializer->getType().getQualifier().isConstant() ||
  ------------------
  |  Branch (9700:13): [True: 0, False: 1.63k]
  |  Branch (9700:30): [True: 0, False: 1.63k]
  ------------------
 9701|  1.63k|            variable->getType() != initializer->getType()) {
  ------------------
  |  Branch (9701:13): [True: 0, False: 1.63k]
  ------------------
 9702|      0|            error(loc, "non-matching or non-convertible constant type for const initializer",
 9703|      0|                  variable->getType().getStorageQualifierString(), "");
 9704|      0|            variable->getWritableType().getQualifier().makeTemporary();
 9705|      0|            return nullptr;
 9706|      0|        }
 9707|       |
 9708|       |        // We either have a folded constant in getAsConstantUnion, or we have to use
 9709|       |        // the initializer's subtree in the AST to represent the computation of a
 9710|       |        // specialization constant.
 9711|  1.63k|        assert(initializer->getAsConstantUnion() || initializer->getType().getQualifier().isSpecConstant());
 9712|  1.63k|        if (initializer->getAsConstantUnion())
  ------------------
  |  Branch (9712:13): [True: 1.63k, False: 0]
  ------------------
 9713|  1.63k|            variable->setConstArray(initializer->getAsConstantUnion()->getConstArray());
 9714|      0|        else {
 9715|       |            // It's a specialization constant.
 9716|      0|            variable->getWritableType().getQualifier().makeSpecConstant();
 9717|       |
 9718|       |            // Keep the subtree that computes the specialization constant with the variable.
 9719|       |            // Later, a symbol node will adopt the subtree from the variable.
 9720|      0|            variable->setConstSubtree(initializer);
 9721|      0|        }
 9722|  1.63k|    } else {
 9723|       |        // normal assigning of a value to a variable...
 9724|      0|        specializationCheck(loc, initializer->getType(), "initializer");
 9725|      0|        TIntermSymbol* intermSymbol = intermediate.addSymbol(*variable, loc);
 9726|      0|        TIntermTyped* initNode = intermediate.addAssign(EOpAssign, intermSymbol, initializer, loc);
 9727|      0|        if (! initNode)
  ------------------
  |  Branch (9727:13): [True: 0, False: 0]
  ------------------
 9728|      0|            assignError(loc, "=", intermSymbol->getCompleteString(intermediate.getEnhancedMsgs()), initializer->getCompleteString(intermediate.getEnhancedMsgs()));
 9729|       |
 9730|      0|        return initNode;
 9731|      0|    }
 9732|       |
 9733|  1.63k|    return nullptr;
 9734|  1.63k|}
_ZN7glslang13TParseContext22convertInitializerListERKNS_10TSourceLocERKNS_5TTypeEPNS_12TIntermTypedE:
 9747|  1.63k|{
 9748|       |    // Will operate recursively.  Once a subtree is found that is constructor style,
 9749|       |    // everything below it is already good: Only the "top part" of the initializer
 9750|       |    // can be an initializer list, where "top part" can extend for several (or all) levels.
 9751|       |
 9752|       |    // see if we have bottomed out in the tree within the initializer-list part
 9753|  1.63k|    TIntermAggregate* initList = initializer->getAsAggregate();
 9754|  1.63k|    if (! initList || initList->getOp() != EOpNull)
  ------------------
  |  Branch (9754:9): [True: 1.63k, False: 0]
  |  Branch (9754:23): [True: 0, False: 0]
  ------------------
 9755|  1.63k|        return initializer;
 9756|       |
 9757|       |    // Of the initializer-list set of nodes, need to process bottom up,
 9758|       |    // so recurse deep, then process on the way up.
 9759|       |
 9760|       |    // Go down the tree here...
 9761|      0|    if (type.isArray()) {
  ------------------
  |  Branch (9761:9): [True: 0, False: 0]
  ------------------
 9762|       |        // The type's array might be unsized, which could be okay, so base sizes on the size of the aggregate.
 9763|       |        // Later on, initializer execution code will deal with array size logic.
 9764|      0|        TType arrayType;
 9765|      0|        arrayType.shallowCopy(type);                     // sharing struct stuff is fine
 9766|      0|        arrayType.copyArraySizes(*type.getArraySizes());  // but get a fresh copy of the array information, to edit below
 9767|       |
 9768|       |        // edit array sizes to fill in unsized dimensions
 9769|      0|        arrayType.changeOuterArraySize((int)initList->getSequence().size());
 9770|      0|        TIntermTyped* firstInit = initList->getSequence()[0]->getAsTyped();
 9771|      0|        if (arrayType.isArrayOfArrays() && firstInit->getType().isArray() &&
  ------------------
  |  Branch (9771:13): [True: 0, False: 0]
  |  Branch (9771:44): [True: 0, False: 0]
  ------------------
 9772|      0|            arrayType.getArraySizes()->getNumDims() == firstInit->getType().getArraySizes()->getNumDims() + 1) {
  ------------------
  |  Branch (9772:13): [True: 0, False: 0]
  ------------------
 9773|      0|            for (int d = 1; d < arrayType.getArraySizes()->getNumDims(); ++d) {
  ------------------
  |  Branch (9773:29): [True: 0, False: 0]
  ------------------
 9774|      0|                if (arrayType.getArraySizes()->getDimSize(d) == UnsizedArraySize)
  ------------------
  |  Branch (9774:21): [True: 0, False: 0]
  ------------------
 9775|      0|                    arrayType.getArraySizes()->setDimSize(d, firstInit->getType().getArraySizes()->getDimSize(d - 1));
 9776|      0|            }
 9777|      0|        }
 9778|       |
 9779|      0|        TType elementType(arrayType, 0); // dereferenced type
 9780|      0|        for (size_t i = 0; i < initList->getSequence().size(); ++i) {
  ------------------
  |  Branch (9780:28): [True: 0, False: 0]
  ------------------
 9781|      0|            initList->getSequence()[i] = convertInitializerList(loc, elementType, initList->getSequence()[i]->getAsTyped());
 9782|      0|            if (initList->getSequence()[i] == nullptr)
  ------------------
  |  Branch (9782:17): [True: 0, False: 0]
  ------------------
 9783|      0|                return nullptr;
 9784|      0|        }
 9785|       |
 9786|      0|        return addConstructor(loc, initList, arrayType);
 9787|      0|    } else if (type.isStruct()) {
  ------------------
  |  Branch (9787:16): [True: 0, False: 0]
  ------------------
 9788|      0|        if (type.getStruct()->size() != initList->getSequence().size()) {
  ------------------
  |  Branch (9788:13): [True: 0, False: 0]
  ------------------
 9789|      0|            error(loc, "wrong number of structure members", "initializer list", "");
 9790|      0|            return nullptr;
 9791|      0|        }
 9792|      0|        for (size_t i = 0; i < type.getStruct()->size(); ++i) {
  ------------------
  |  Branch (9792:28): [True: 0, False: 0]
  ------------------
 9793|      0|            initList->getSequence()[i] = convertInitializerList(loc, *(*type.getStruct())[i].type, initList->getSequence()[i]->getAsTyped());
 9794|      0|            if (initList->getSequence()[i] == nullptr)
  ------------------
  |  Branch (9794:17): [True: 0, False: 0]
  ------------------
 9795|      0|                return nullptr;
 9796|      0|        }
 9797|      0|    } else if (type.isMatrix()) {
  ------------------
  |  Branch (9797:16): [True: 0, False: 0]
  ------------------
 9798|      0|        if (type.getMatrixCols() != (int)initList->getSequence().size()) {
  ------------------
  |  Branch (9798:13): [True: 0, False: 0]
  ------------------
 9799|      0|            error(loc, "wrong number of matrix columns:", "initializer list", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
 9800|      0|            return nullptr;
 9801|      0|        }
 9802|      0|        TType vectorType(type, 0); // dereferenced type
 9803|      0|        for (int i = 0; i < type.getMatrixCols(); ++i) {
  ------------------
  |  Branch (9803:25): [True: 0, False: 0]
  ------------------
 9804|      0|            initList->getSequence()[i] = convertInitializerList(loc, vectorType, initList->getSequence()[i]->getAsTyped());
 9805|      0|            if (initList->getSequence()[i] == nullptr)
  ------------------
  |  Branch (9805:17): [True: 0, False: 0]
  ------------------
 9806|      0|                return nullptr;
 9807|      0|        }
 9808|      0|    } else if (type.isVector()) {
  ------------------
  |  Branch (9808:16): [True: 0, False: 0]
  ------------------
 9809|      0|        if (type.getVectorSize() != (int)initList->getSequence().size()) {
  ------------------
  |  Branch (9809:13): [True: 0, False: 0]
  ------------------
 9810|      0|            error(loc, "wrong vector size (or rows in a matrix column):", "initializer list", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
 9811|      0|            return nullptr;
 9812|      0|        }
 9813|      0|        TBasicType destType = type.getBasicType();
 9814|      0|        for (int i = 0; i < type.getVectorSize(); ++i) {
  ------------------
  |  Branch (9814:25): [True: 0, False: 0]
  ------------------
 9815|      0|            TBasicType initType = initList->getSequence()[i]->getAsTyped()->getBasicType();
 9816|      0|            if (destType != initType && !intermediate.canImplicitlyPromote(initType, destType)) {
  ------------------
  |  Branch (9816:17): [True: 0, False: 0]
  |  Branch (9816:41): [True: 0, False: 0]
  ------------------
 9817|      0|                error(loc, "type mismatch in initializer list", "initializer list", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
 9818|      0|                return nullptr;
 9819|      0|            }
 9820|       |
 9821|      0|        }
 9822|      0|    } else {
 9823|      0|        error(loc, "unexpected initializer-list type:", "initializer list", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
 9824|      0|        return nullptr;
 9825|      0|    }
 9826|       |
 9827|       |    // Now that the subtree is processed, process this node as if the
 9828|       |    // initializer list is a set of arguments to a constructor.
 9829|      0|    TIntermNode* emulatedConstructorArguments;
 9830|      0|    if (initList->getSequence().size() == 1)
  ------------------
  |  Branch (9830:9): [True: 0, False: 0]
  ------------------
 9831|      0|        emulatedConstructorArguments = initList->getSequence()[0];
 9832|      0|    else
 9833|      0|        emulatedConstructorArguments = initList;
 9834|      0|    return addConstructor(loc, emulatedConstructorArguments, type);
 9835|      0|}
_ZN7glslang13TParseContext14addConstructorERKNS_10TSourceLocEP11TIntermNodeRKNS_5TTypeE:
 9847|     45|{
 9848|     45|    if (node == nullptr || node->getAsTyped() == nullptr)
  ------------------
  |  Branch (9848:9): [True: 0, False: 45]
  |  Branch (9848:28): [True: 0, False: 45]
  ------------------
 9849|      0|        return nullptr;
 9850|     45|    rValueErrorCheck(loc, "constructor", node->getAsTyped());
 9851|       |
 9852|     45|    TIntermAggregate* aggrNode = node->getAsAggregate();
 9853|     45|    TOperator op = intermediate.mapTypeToConstructorOp(type);
 9854|       |
 9855|       |    // Combined texture-sampler constructors are completely semantic checked
 9856|       |    // in constructorTextureSamplerError()
 9857|     45|    if (op == EOpConstructTextureSampler) {
  ------------------
  |  Branch (9857:9): [True: 0, False: 45]
  ------------------
 9858|      0|        if (aggrNode != nullptr) {
  ------------------
  |  Branch (9858:13): [True: 0, False: 0]
  ------------------
 9859|      0|            if (aggrNode->getSequence()[1]->getAsTyped()->getType().getSampler().shadow) {
  ------------------
  |  Branch (9859:17): [True: 0, False: 0]
  ------------------
 9860|       |                // Transfer depth into the texture (SPIR-V image) type, as a hint
 9861|       |                // for tools to know this texture/image is a depth image.
 9862|      0|                aggrNode->getSequence()[0]->getAsTyped()->getWritableType().getSampler().shadow = true;
 9863|      0|            }
 9864|      0|            return intermediate.setAggregateOperator(aggrNode, op, type, loc);
 9865|      0|        }
 9866|      0|    }
 9867|       |
 9868|     45|    TTypeList::const_iterator memberTypes;
 9869|     45|    if (op == EOpConstructStruct)
  ------------------
  |  Branch (9869:9): [True: 0, False: 45]
  ------------------
 9870|      0|        memberTypes = type.getStruct()->begin();
 9871|       |
 9872|     45|    TType elementType;
 9873|     45|    if (type.isArray()) {
  ------------------
  |  Branch (9873:9): [True: 0, False: 45]
  ------------------
 9874|      0|        TType dereferenced(type, 0);
 9875|      0|        elementType.shallowCopy(dereferenced);
 9876|      0|    } else
 9877|     45|        elementType.shallowCopy(type);
 9878|       |
 9879|     45|    bool singleArg;
 9880|     45|    if (aggrNode) {
  ------------------
  |  Branch (9880:9): [True: 45, False: 0]
  ------------------
 9881|     45|        if (aggrNode->getOp() != EOpNull)
  ------------------
  |  Branch (9881:13): [True: 0, False: 45]
  ------------------
 9882|      0|            singleArg = true;
 9883|     45|        else
 9884|     45|            singleArg = false;
 9885|     45|    } else
 9886|      0|        singleArg = true;
 9887|       |
 9888|     45|    TIntermTyped *newNode;
 9889|     45|    if (singleArg) {
  ------------------
  |  Branch (9889:9): [True: 0, False: 45]
  ------------------
 9890|       |        // If structure constructor or array constructor is being called
 9891|       |        // for only one parameter inside the structure, we need to call constructAggregate function once.
 9892|      0|        if (type.isArray())
  ------------------
  |  Branch (9892:13): [True: 0, False: 0]
  ------------------
 9893|      0|            newNode = constructAggregate(node, elementType, 1, node->getLoc());
 9894|      0|        else if (op == EOpConstructStruct)
  ------------------
  |  Branch (9894:18): [True: 0, False: 0]
  ------------------
 9895|      0|            newNode = constructAggregate(node, *(*memberTypes).type, 1, node->getLoc());
 9896|      0|        else
 9897|      0|            newNode = constructBuiltIn(type, op, node->getAsTyped(), node->getLoc(), false);
 9898|       |
 9899|      0|        if (newNode && (type.isArray() || op == EOpConstructStruct))
  ------------------
  |  Branch (9899:13): [True: 0, False: 0]
  |  Branch (9899:25): [True: 0, False: 0]
  |  Branch (9899:43): [True: 0, False: 0]
  ------------------
 9900|      0|            newNode = intermediate.setAggregateOperator(newNode, EOpConstructStruct, type, loc);
 9901|       |
 9902|      0|        return newNode;
 9903|      0|    }
 9904|       |
 9905|       |    //
 9906|       |    // Handle list of arguments.
 9907|       |    //
 9908|     45|    TIntermSequence &sequenceVector = aggrNode->getSequence();    // Stores the information about the parameter to the constructor
 9909|       |    // if the structure constructor contains more than one parameter, then construct
 9910|       |    // each parameter
 9911|       |
 9912|     45|    int paramCount = 0;  // keeps track of the constructor parameter number being checked
 9913|       |
 9914|       |    // We don't know "top down" whether type is a specialization constant,
 9915|       |    // but a const becomes a specialization constant if any of its children are.
 9916|     45|    bool hasSpecConst = false;
 9917|     45|    bool isConstConstructor = true;
 9918|       |
 9919|       |    // for each parameter to the constructor call, check to see if the right type is passed or convert them
 9920|       |    // to the right type if possible (and allowed).
 9921|       |    // for structure constructors, just check if the right type is passed, no conversion is allowed.
 9922|     45|    for (TIntermSequence::iterator p = sequenceVector.begin();
 9923|    180|                                   p != sequenceVector.end(); p++, paramCount++) {
  ------------------
  |  Branch (9923:36): [True: 135, False: 45]
  ------------------
 9924|    135|        if (type.isArray())
  ------------------
  |  Branch (9924:13): [True: 0, False: 135]
  ------------------
 9925|      0|            newNode = constructAggregate(*p, elementType, paramCount+1, node->getLoc());
 9926|    135|        else if (op == EOpConstructStruct)
  ------------------
  |  Branch (9926:18): [True: 0, False: 135]
  ------------------
 9927|      0|            newNode = constructAggregate(*p, *(memberTypes[paramCount]).type, paramCount+1, node->getLoc());
 9928|    135|        else
 9929|    135|            newNode = constructBuiltIn(type, op, (*p)->getAsTyped(), node->getLoc(), true);
 9930|       |
 9931|    135|        if (newNode) {
  ------------------
  |  Branch (9931:13): [True: 135, False: 0]
  ------------------
 9932|    135|            *p = newNode;
 9933|    135|            if (!newNode->getType().getQualifier().isConstant())
  ------------------
  |  Branch (9933:17): [True: 0, False: 135]
  ------------------
 9934|      0|                isConstConstructor = false;
 9935|    135|            if (newNode->getType().getQualifier().isSpecConstant())
  ------------------
  |  Branch (9935:17): [True: 0, False: 135]
  ------------------
 9936|      0|                hasSpecConst = true;
 9937|    135|        } else
 9938|      0|            return nullptr;
 9939|    135|    }
 9940|       |
 9941|     45|    TIntermTyped* ret_node = intermediate.setAggregateOperator(aggrNode, op, type, loc);
 9942|       |
 9943|     45|    const char *specConstantCompositeExt[] = { E_GL_EXT_spec_constant_composites };
 9944|     45|    if (checkExtensionsRequested(loc, 1, specConstantCompositeExt, "spec constant aggregate constructor")) {
  ------------------
  |  Branch (9944:9): [True: 0, False: 45]
  ------------------
 9945|      0|        if (isConstConstructor && hasSpecConst) {
  ------------------
  |  Branch (9945:13): [True: 0, False: 0]
  |  Branch (9945:35): [True: 0, False: 0]
  ------------------
 9946|      0|            ret_node->getWritableType().getQualifier().makeSpecConstant();
 9947|      0|        }
 9948|      0|    }
 9949|       |
 9950|     45|    TIntermAggregate *agg_node = ret_node->getAsAggregate();
 9951|     45|    if (agg_node && (agg_node->isVector() || agg_node->isArray() || agg_node->isMatrix()))
  ------------------
  |  Branch (9951:9): [True: 0, False: 45]
  |  Branch (9951:22): [True: 0, False: 0]
  |  Branch (9951:46): [True: 0, False: 0]
  |  Branch (9951:69): [True: 0, False: 0]
  ------------------
 9952|      0|        agg_node->updatePrecision();
 9953|       |
 9954|     45|    return ret_node;
 9955|     45|}
_ZN7glslang13TParseContext16constructBuiltInERKNS_5TTypeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocEb:
 9966|    135|{
 9967|       |    // If we are changing a matrix in both domain of basic type and to a non matrix,
 9968|       |    // do the shape change first (by default, below, basic type is changed before shape).
 9969|       |    // This avoids requesting a matrix of a new type that is going to be discarded anyway.
 9970|       |    // TODO: This could be generalized to more type combinations, but that would require
 9971|       |    // more extensive testing and full algorithm rework. For now, the need to do two changes makes
 9972|       |    // the recursive call work, and avoids the most egregious case of creating integer matrices.
 9973|    135|    if (node->getType().isMatrix() && (type.isScalar() || type.isVector()) &&
  ------------------
  |  Branch (9973:9): [True: 0, False: 135]
  |  Branch (9973:40): [True: 0, False: 0]
  |  Branch (9973:59): [True: 0, False: 0]
  ------------------
 9974|      0|            type.isFloatingDomain() != node->getType().isFloatingDomain()) {
  ------------------
  |  Branch (9974:13): [True: 0, False: 0]
  ------------------
 9975|      0|        TType transitionType(node->getBasicType(), glslang::EvqTemporary, type.getVectorSize(), 0, 0, node->isVector());
 9976|      0|        TOperator transitionOp = intermediate.mapTypeToConstructorOp(transitionType);
 9977|      0|        node = constructBuiltIn(transitionType, transitionOp, node, loc, false);
 9978|      0|    }
 9979|       |
 9980|    135|    TIntermTyped* newNode;
 9981|    135|    TOperator basicOp;
 9982|       |
 9983|       |    //
 9984|       |    // First, convert types as needed.
 9985|       |    //
 9986|    135|    switch (op) {
 9987|      0|    case EOpConstructVec2:
  ------------------
  |  Branch (9987:5): [True: 0, False: 135]
  ------------------
 9988|      0|    case EOpConstructVec3:
  ------------------
  |  Branch (9988:5): [True: 0, False: 135]
  ------------------
 9989|      0|    case EOpConstructVec4:
  ------------------
  |  Branch (9989:5): [True: 0, False: 135]
  ------------------
 9990|      0|    case EOpConstructMat2x2:
  ------------------
  |  Branch (9990:5): [True: 0, False: 135]
  ------------------
 9991|      0|    case EOpConstructMat2x3:
  ------------------
  |  Branch (9991:5): [True: 0, False: 135]
  ------------------
 9992|      0|    case EOpConstructMat2x4:
  ------------------
  |  Branch (9992:5): [True: 0, False: 135]
  ------------------
 9993|      0|    case EOpConstructMat3x2:
  ------------------
  |  Branch (9993:5): [True: 0, False: 135]
  ------------------
 9994|      0|    case EOpConstructMat3x3:
  ------------------
  |  Branch (9994:5): [True: 0, False: 135]
  ------------------
 9995|      0|    case EOpConstructMat3x4:
  ------------------
  |  Branch (9995:5): [True: 0, False: 135]
  ------------------
 9996|      0|    case EOpConstructMat4x2:
  ------------------
  |  Branch (9996:5): [True: 0, False: 135]
  ------------------
 9997|      0|    case EOpConstructMat4x3:
  ------------------
  |  Branch (9997:5): [True: 0, False: 135]
  ------------------
 9998|      0|    case EOpConstructMat4x4:
  ------------------
  |  Branch (9998:5): [True: 0, False: 135]
  ------------------
 9999|      0|    case EOpConstructFloat:
  ------------------
  |  Branch (9999:5): [True: 0, False: 135]
  ------------------
10000|      0|        basicOp = EOpConstructFloat;
10001|      0|        break;
10002|       |
10003|      0|    case EOpConstructIVec2:
  ------------------
  |  Branch (10003:5): [True: 0, False: 135]
  ------------------
10004|     72|    case EOpConstructIVec3:
  ------------------
  |  Branch (10004:5): [True: 72, False: 63]
  ------------------
10005|     72|    case EOpConstructIVec4:
  ------------------
  |  Branch (10005:5): [True: 0, False: 135]
  ------------------
10006|     72|    case EOpConstructInt:
  ------------------
  |  Branch (10006:5): [True: 0, False: 135]
  ------------------
10007|     72|        basicOp = EOpConstructInt;
10008|     72|        break;
10009|       |
10010|      0|    case EOpConstructUVec2:
  ------------------
  |  Branch (10010:5): [True: 0, False: 135]
  ------------------
10011|      0|        if (node->getType().getBasicType() == EbtReference) {
  ------------------
  |  Branch (10011:13): [True: 0, False: 0]
  ------------------
10012|      0|            requireExtensions(loc, 1, &E_GL_EXT_buffer_reference_uvec2, "reference conversion to uvec2");
10013|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvPtrToUvec2, true, node,
10014|      0|                type);
10015|      0|            return newNode;
10016|      0|        } else if (node->getType().getBasicType() == EbtSampler) {
  ------------------
  |  Branch (10016:20): [True: 0, False: 0]
  ------------------
10017|      0|            requireExtensions(loc, 1, &E_GL_ARB_bindless_texture, "sampler conversion to uvec2");
10018|       |            // force the basic type of the constructor param to uvec2, otherwise spv builder will
10019|       |            // report some errors
10020|      0|            TIntermTyped* newSrcNode = intermediate.createConversion(EbtUint, node);
10021|      0|            newSrcNode->getAsTyped()->getWritableType().setVectorSize(2);
10022|       |
10023|      0|            TIntermTyped* newNode =
10024|      0|                intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConstructUVec2, false, newSrcNode, type);
10025|      0|            return newNode;
10026|      0|        }
10027|      0|        [[fallthrough]];
10028|     63|    case EOpConstructUVec3:
  ------------------
  |  Branch (10028:5): [True: 63, False: 72]
  ------------------
10029|     63|    case EOpConstructUVec4:
  ------------------
  |  Branch (10029:5): [True: 0, False: 135]
  ------------------
10030|     63|    case EOpConstructUint:
  ------------------
  |  Branch (10030:5): [True: 0, False: 135]
  ------------------
10031|     63|        basicOp = EOpConstructUint;
10032|     63|        break;
10033|       |
10034|      0|    case EOpConstructBVec2:
  ------------------
  |  Branch (10034:5): [True: 0, False: 135]
  ------------------
10035|      0|    case EOpConstructBVec3:
  ------------------
  |  Branch (10035:5): [True: 0, False: 135]
  ------------------
10036|      0|    case EOpConstructBVec4:
  ------------------
  |  Branch (10036:5): [True: 0, False: 135]
  ------------------
10037|      0|    case EOpConstructBool:
  ------------------
  |  Branch (10037:5): [True: 0, False: 135]
  ------------------
10038|      0|        basicOp = EOpConstructBool;
10039|      0|        break;
10040|      0|    case EOpConstructTextureSampler:
  ------------------
  |  Branch (10040:5): [True: 0, False: 135]
  ------------------
10041|      0|        if ((node->getType().getBasicType() == EbtUint || node->getType().getBasicType() == EbtInt) &&
  ------------------
  |  Branch (10041:14): [True: 0, False: 0]
  |  Branch (10041:59): [True: 0, False: 0]
  ------------------
10042|      0|            node->getType().getVectorSize() == 2) {
  ------------------
  |  Branch (10042:13): [True: 0, False: 0]
  ------------------
10043|      0|            requireExtensions(loc, 1, &E_GL_ARB_bindless_texture, "ivec2/uvec2 convert to texture handle");
10044|       |            // No matter ivec2 or uvec2, Set EOpPackUint2x32 just to generate an opBitcast op code
10045|      0|            TIntermTyped* newNode =
10046|      0|                intermediate.addBuiltInFunctionCall(node->getLoc(), EOpPackUint2x32, true, node, type);
10047|      0|            return newNode;
10048|      0|        }
10049|      0|        [[fallthrough]];
10050|      0|    case EOpConstructDVec2:
  ------------------
  |  Branch (10050:5): [True: 0, False: 135]
  ------------------
10051|      0|    case EOpConstructDVec3:
  ------------------
  |  Branch (10051:5): [True: 0, False: 135]
  ------------------
10052|      0|    case EOpConstructDVec4:
  ------------------
  |  Branch (10052:5): [True: 0, False: 135]
  ------------------
10053|      0|    case EOpConstructDMat2x2:
  ------------------
  |  Branch (10053:5): [True: 0, False: 135]
  ------------------
10054|      0|    case EOpConstructDMat2x3:
  ------------------
  |  Branch (10054:5): [True: 0, False: 135]
  ------------------
10055|      0|    case EOpConstructDMat2x4:
  ------------------
  |  Branch (10055:5): [True: 0, False: 135]
  ------------------
10056|      0|    case EOpConstructDMat3x2:
  ------------------
  |  Branch (10056:5): [True: 0, False: 135]
  ------------------
10057|      0|    case EOpConstructDMat3x3:
  ------------------
  |  Branch (10057:5): [True: 0, False: 135]
  ------------------
10058|      0|    case EOpConstructDMat3x4:
  ------------------
  |  Branch (10058:5): [True: 0, False: 135]
  ------------------
10059|      0|    case EOpConstructDMat4x2:
  ------------------
  |  Branch (10059:5): [True: 0, False: 135]
  ------------------
10060|      0|    case EOpConstructDMat4x3:
  ------------------
  |  Branch (10060:5): [True: 0, False: 135]
  ------------------
10061|      0|    case EOpConstructDMat4x4:
  ------------------
  |  Branch (10061:5): [True: 0, False: 135]
  ------------------
10062|      0|    case EOpConstructDouble:
  ------------------
  |  Branch (10062:5): [True: 0, False: 135]
  ------------------
10063|      0|        basicOp = EOpConstructDouble;
10064|      0|        break;
10065|       |
10066|      0|    case EOpConstructF16Vec2:
  ------------------
  |  Branch (10066:5): [True: 0, False: 135]
  ------------------
10067|      0|    case EOpConstructF16Vec3:
  ------------------
  |  Branch (10067:5): [True: 0, False: 135]
  ------------------
10068|      0|    case EOpConstructF16Vec4:
  ------------------
  |  Branch (10068:5): [True: 0, False: 135]
  ------------------
10069|      0|    case EOpConstructF16Mat2x2:
  ------------------
  |  Branch (10069:5): [True: 0, False: 135]
  ------------------
10070|      0|    case EOpConstructF16Mat2x3:
  ------------------
  |  Branch (10070:5): [True: 0, False: 135]
  ------------------
10071|      0|    case EOpConstructF16Mat2x4:
  ------------------
  |  Branch (10071:5): [True: 0, False: 135]
  ------------------
10072|      0|    case EOpConstructF16Mat3x2:
  ------------------
  |  Branch (10072:5): [True: 0, False: 135]
  ------------------
10073|      0|    case EOpConstructF16Mat3x3:
  ------------------
  |  Branch (10073:5): [True: 0, False: 135]
  ------------------
10074|      0|    case EOpConstructF16Mat3x4:
  ------------------
  |  Branch (10074:5): [True: 0, False: 135]
  ------------------
10075|      0|    case EOpConstructF16Mat4x2:
  ------------------
  |  Branch (10075:5): [True: 0, False: 135]
  ------------------
10076|      0|    case EOpConstructF16Mat4x3:
  ------------------
  |  Branch (10076:5): [True: 0, False: 135]
  ------------------
10077|      0|    case EOpConstructF16Mat4x4:
  ------------------
  |  Branch (10077:5): [True: 0, False: 135]
  ------------------
10078|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (10078:5): [True: 0, False: 135]
  ------------------
10079|      0|        basicOp = EOpConstructFloat16;
10080|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10081|       |        // so construct a 32-bit type and convert
10082|       |        // and do not generate any conversion if it is an identity conversion, i.e. float16_t(<float16_t> var)
10083|      0|        if (!intermediate.getArithemeticFloat16Enabled() && (node->getBasicType() != EbtFloat16)) {
  ------------------
  |  Branch (10083:13): [True: 0, False: 0]
  |  Branch (10083:61): [True: 0, False: 0]
  ------------------
10084|      0|            TType tempType(EbtFloat, EvqTemporary, type.getVectorSize());
10085|      0|            newNode = node;
10086|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10086:17): [True: 0, False: 0]
  ------------------
10087|      0|                TOperator aggregateOp;
10088|      0|                if (op == EOpConstructFloat16)
  ------------------
  |  Branch (10088:21): [True: 0, False: 0]
  ------------------
10089|      0|                    aggregateOp = EOpConstructFloat;
10090|      0|                else
10091|      0|                    aggregateOp = (TOperator)(EOpConstructVec2 + op - EOpConstructF16Vec2);
10092|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10093|      0|            }
10094|      0|            newNode = intermediate.addConversion(EbtFloat16, newNode);
10095|      0|            return newNode;
10096|      0|        }
10097|      0|        break;
10098|       |
10099|      0|    case EOpConstructBF16Vec2:
  ------------------
  |  Branch (10099:5): [True: 0, False: 135]
  ------------------
10100|      0|    case EOpConstructBF16Vec3:
  ------------------
  |  Branch (10100:5): [True: 0, False: 135]
  ------------------
10101|      0|    case EOpConstructBF16Vec4:
  ------------------
  |  Branch (10101:5): [True: 0, False: 135]
  ------------------
10102|      0|    case EOpConstructBFloat16:
  ------------------
  |  Branch (10102:5): [True: 0, False: 135]
  ------------------
10103|      0|        basicOp = EOpConstructBFloat16;
10104|      0|        break;
10105|       |
10106|      0|    case EOpConstructFloatE5M2Vec2:
  ------------------
  |  Branch (10106:5): [True: 0, False: 135]
  ------------------
10107|      0|    case EOpConstructFloatE5M2Vec3:
  ------------------
  |  Branch (10107:5): [True: 0, False: 135]
  ------------------
10108|      0|    case EOpConstructFloatE5M2Vec4:
  ------------------
  |  Branch (10108:5): [True: 0, False: 135]
  ------------------
10109|      0|    case EOpConstructFloatE5M2:
  ------------------
  |  Branch (10109:5): [True: 0, False: 135]
  ------------------
10110|      0|        basicOp = EOpConstructFloatE5M2;
10111|      0|        break;
10112|       |
10113|      0|    case EOpConstructFloatE4M3Vec2:
  ------------------
  |  Branch (10113:5): [True: 0, False: 135]
  ------------------
10114|      0|    case EOpConstructFloatE4M3Vec3:
  ------------------
  |  Branch (10114:5): [True: 0, False: 135]
  ------------------
10115|      0|    case EOpConstructFloatE4M3Vec4:
  ------------------
  |  Branch (10115:5): [True: 0, False: 135]
  ------------------
10116|      0|    case EOpConstructFloatE4M3:
  ------------------
  |  Branch (10116:5): [True: 0, False: 135]
  ------------------
10117|      0|        basicOp = EOpConstructFloatE4M3;
10118|      0|        break;
10119|       |
10120|      0|    case EOpConstructI8Vec2:
  ------------------
  |  Branch (10120:5): [True: 0, False: 135]
  ------------------
10121|      0|    case EOpConstructI8Vec3:
  ------------------
  |  Branch (10121:5): [True: 0, False: 135]
  ------------------
10122|      0|    case EOpConstructI8Vec4:
  ------------------
  |  Branch (10122:5): [True: 0, False: 135]
  ------------------
10123|      0|    case EOpConstructInt8:
  ------------------
  |  Branch (10123:5): [True: 0, False: 135]
  ------------------
10124|      0|        basicOp = EOpConstructInt8;
10125|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10126|       |        // so construct a 32-bit type and convert
10127|       |        // and do not generate any conversion if it is an identity conversion, i.e. int8_t(<int8_t> var)
10128|      0|        if (!intermediate.getArithemeticInt8Enabled() && (node->getBasicType() != EbtInt8)) {
  ------------------
  |  Branch (10128:13): [True: 0, False: 0]
  |  Branch (10128:58): [True: 0, False: 0]
  ------------------
10129|      0|            TType tempType(EbtInt, EvqTemporary, type.getVectorSize());
10130|      0|            newNode = node;
10131|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10131:17): [True: 0, False: 0]
  ------------------
10132|      0|                TOperator aggregateOp;
10133|      0|                if (op == EOpConstructInt8)
  ------------------
  |  Branch (10133:21): [True: 0, False: 0]
  ------------------
10134|      0|                    aggregateOp = EOpConstructInt;
10135|      0|                else
10136|      0|                    aggregateOp = (TOperator)(EOpConstructIVec2 + op - EOpConstructI8Vec2);
10137|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10138|      0|            }
10139|      0|            newNode = intermediate.addConversion(EbtInt8, newNode);
10140|      0|            return newNode;
10141|      0|        }
10142|      0|        break;
10143|       |
10144|      0|    case EOpConstructU8Vec2:
  ------------------
  |  Branch (10144:5): [True: 0, False: 135]
  ------------------
10145|      0|    case EOpConstructU8Vec3:
  ------------------
  |  Branch (10145:5): [True: 0, False: 135]
  ------------------
10146|      0|    case EOpConstructU8Vec4:
  ------------------
  |  Branch (10146:5): [True: 0, False: 135]
  ------------------
10147|      0|    case EOpConstructUint8:
  ------------------
  |  Branch (10147:5): [True: 0, False: 135]
  ------------------
10148|      0|        basicOp = EOpConstructUint8;
10149|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10150|       |        // so construct a 32-bit type and convert
10151|       |        // and do not generate any conversion if it is an identity conversion, i.e. uint8_t(<uint8_t> var)
10152|      0|        if (!intermediate.getArithemeticInt8Enabled() && (node->getBasicType() != EbtUint8)) {
  ------------------
  |  Branch (10152:13): [True: 0, False: 0]
  |  Branch (10152:58): [True: 0, False: 0]
  ------------------
10153|      0|            TType tempType(EbtUint, EvqTemporary, type.getVectorSize());
10154|      0|            newNode = node;
10155|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10155:17): [True: 0, False: 0]
  ------------------
10156|      0|                TOperator aggregateOp;
10157|      0|                if (op == EOpConstructUint8)
  ------------------
  |  Branch (10157:21): [True: 0, False: 0]
  ------------------
10158|      0|                    aggregateOp = EOpConstructUint;
10159|      0|                else
10160|      0|                    aggregateOp = (TOperator)(EOpConstructUVec2 + op - EOpConstructU8Vec2);
10161|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10162|      0|            }
10163|      0|            newNode = intermediate.addConversion(EbtUint8, newNode);
10164|      0|            return newNode;
10165|      0|        }
10166|      0|        break;
10167|       |
10168|      0|    case EOpConstructI16Vec2:
  ------------------
  |  Branch (10168:5): [True: 0, False: 135]
  ------------------
10169|      0|    case EOpConstructI16Vec3:
  ------------------
  |  Branch (10169:5): [True: 0, False: 135]
  ------------------
10170|      0|    case EOpConstructI16Vec4:
  ------------------
  |  Branch (10170:5): [True: 0, False: 135]
  ------------------
10171|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (10171:5): [True: 0, False: 135]
  ------------------
10172|      0|        basicOp = EOpConstructInt16;
10173|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10174|       |        // so construct a 32-bit type and convert
10175|       |        // and do not generate any conversion if it is an identity conversion, i.e. int16_t(<int16_t> var)
10176|      0|        if (!intermediate.getArithemeticInt16Enabled() && (node->getBasicType() != EbtInt16)) {
  ------------------
  |  Branch (10176:13): [True: 0, False: 0]
  |  Branch (10176:59): [True: 0, False: 0]
  ------------------
10177|      0|            TType tempType(EbtInt, EvqTemporary, type.getVectorSize());
10178|      0|            newNode = node;
10179|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10179:17): [True: 0, False: 0]
  ------------------
10180|      0|                TOperator aggregateOp;
10181|      0|                if (op == EOpConstructInt16)
  ------------------
  |  Branch (10181:21): [True: 0, False: 0]
  ------------------
10182|      0|                    aggregateOp = EOpConstructInt;
10183|      0|                else
10184|      0|                    aggregateOp = (TOperator)(EOpConstructIVec2 + op - EOpConstructI16Vec2);
10185|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10186|      0|            }
10187|      0|            newNode = intermediate.addConversion(EbtInt16, newNode);
10188|      0|            return newNode;
10189|      0|        }
10190|      0|        break;
10191|       |
10192|      0|    case EOpConstructU16Vec2:
  ------------------
  |  Branch (10192:5): [True: 0, False: 135]
  ------------------
10193|      0|    case EOpConstructU16Vec3:
  ------------------
  |  Branch (10193:5): [True: 0, False: 135]
  ------------------
10194|      0|    case EOpConstructU16Vec4:
  ------------------
  |  Branch (10194:5): [True: 0, False: 135]
  ------------------
10195|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (10195:5): [True: 0, False: 135]
  ------------------
10196|      0|        basicOp = EOpConstructUint16;
10197|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10198|       |        // so construct a 32-bit type and convert
10199|       |        // and do not generate any conversion if it is an identity conversion, i.e. uint16_t(<uint16_t> var)
10200|      0|        if (!intermediate.getArithemeticInt16Enabled() && (node->getBasicType() != EbtUint16)) {
  ------------------
  |  Branch (10200:13): [True: 0, False: 0]
  |  Branch (10200:59): [True: 0, False: 0]
  ------------------
10201|      0|            TType tempType(EbtUint, EvqTemporary, type.getVectorSize());
10202|      0|            newNode = node;
10203|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10203:17): [True: 0, False: 0]
  ------------------
10204|      0|                TOperator aggregateOp;
10205|      0|                if (op == EOpConstructUint16)
  ------------------
  |  Branch (10205:21): [True: 0, False: 0]
  ------------------
10206|      0|                    aggregateOp = EOpConstructUint;
10207|      0|                else
10208|      0|                    aggregateOp = (TOperator)(EOpConstructUVec2 + op - EOpConstructU16Vec2);
10209|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10210|      0|            }
10211|      0|            newNode = intermediate.addConversion(EbtUint16, newNode);
10212|      0|            return newNode;
10213|      0|        }
10214|      0|        break;
10215|       |
10216|      0|    case EOpConstructI64Vec2:
  ------------------
  |  Branch (10216:5): [True: 0, False: 135]
  ------------------
10217|      0|    case EOpConstructI64Vec3:
  ------------------
  |  Branch (10217:5): [True: 0, False: 135]
  ------------------
10218|      0|    case EOpConstructI64Vec4:
  ------------------
  |  Branch (10218:5): [True: 0, False: 135]
  ------------------
10219|      0|    case EOpConstructInt64:
  ------------------
  |  Branch (10219:5): [True: 0, False: 135]
  ------------------
10220|      0|        basicOp = EOpConstructInt64;
10221|      0|        break;
10222|       |
10223|      0|    case EOpConstructUint64:
  ------------------
  |  Branch (10223:5): [True: 0, False: 135]
  ------------------
10224|      0|        if (type.isScalar() && node->getType().isReference()) {
  ------------------
  |  Branch (10224:13): [True: 0, False: 0]
  |  Branch (10224:32): [True: 0, False: 0]
  ------------------
10225|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvPtrToUint64, true, node, type);
10226|      0|            return newNode;
10227|      0|        }
10228|      0|        [[fallthrough]];
10229|      0|    case EOpConstructU64Vec2:
  ------------------
  |  Branch (10229:5): [True: 0, False: 135]
  ------------------
10230|      0|    case EOpConstructU64Vec3:
  ------------------
  |  Branch (10230:5): [True: 0, False: 135]
  ------------------
10231|      0|    case EOpConstructU64Vec4:
  ------------------
  |  Branch (10231:5): [True: 0, False: 135]
  ------------------
10232|      0|        basicOp = EOpConstructUint64;
10233|      0|        break;
10234|       |
10235|      0|    case EOpConstructNonuniform:
  ------------------
  |  Branch (10235:5): [True: 0, False: 135]
  ------------------
10236|       |        // Make a nonuniform copy of node
10237|      0|        newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpCopyObject, true, node, type);
10238|      0|        return newNode;
10239|       |
10240|      0|    case EOpConstructReference:
  ------------------
  |  Branch (10240:5): [True: 0, False: 135]
  ------------------
10241|       |        // construct reference from reference
10242|      0|        if (node->getType().isReference()) {
  ------------------
  |  Branch (10242:13): [True: 0, False: 0]
  ------------------
10243|      0|            newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConstructReference, true, node, type);
10244|      0|            return newNode;
10245|       |        // construct reference from uint64
10246|      0|        } else if (node->getType().isScalar() && node->getType().getBasicType() == EbtUint64) {
  ------------------
  |  Branch (10246:20): [True: 0, False: 0]
  |  Branch (10246:50): [True: 0, False: 0]
  ------------------
10247|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUint64ToPtr, true, node,
10248|      0|                type);
10249|      0|            return newNode;
10250|       |        // construct reference from uvec2
10251|      0|        } else if (node->getType().isVector() && node->getType().getBasicType() == EbtUint &&
  ------------------
  |  Branch (10251:20): [True: 0, False: 0]
  |  Branch (10251:50): [True: 0, False: 0]
  ------------------
10252|      0|                   node->getVectorSize() == 2) {
  ------------------
  |  Branch (10252:20): [True: 0, False: 0]
  ------------------
10253|      0|            requireExtensions(loc, 1, &E_GL_EXT_buffer_reference_uvec2, "uvec2 conversion to reference");
10254|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUvec2ToPtr, true, node,
10255|      0|                type);
10256|      0|            return newNode;
10257|      0|        } else {
10258|      0|            return nullptr;
10259|      0|        }
10260|       |
10261|      0|    case EOpConstructCooperativeVectorNV:
  ------------------
  |  Branch (10261:5): [True: 0, False: 135]
  ------------------
10262|      0|        if (!node->getType().isCoopVecNV()) {
  ------------------
  |  Branch (10262:13): [True: 0, False: 0]
  ------------------
10263|      0|            if (type.getBasicType() != node->getType().getBasicType()) {
  ------------------
  |  Branch (10263:17): [True: 0, False: 0]
  ------------------
10264|      0|                node = intermediate.addConversion(type.getBasicType(), node);
10265|      0|                if (node == nullptr)
  ------------------
  |  Branch (10265:21): [True: 0, False: 0]
  ------------------
10266|      0|                    return nullptr;
10267|      0|            }
10268|      0|        }
10269|      0|        if (type.getBasicType() != node->getType().getBasicType()) {
  ------------------
  |  Branch (10269:13): [True: 0, False: 0]
  ------------------
10270|      0|            intermediate.buildConvertOp(type.getBasicType(), node->getType().getBasicType(), op);
10271|      0|            node = intermediate.addUnaryNode(op, node, node->getLoc(), type);
10272|      0|            return node;
10273|      0|        }
10274|      0|        if (subset) {
  ------------------
  |  Branch (10274:13): [True: 0, False: 0]
  ------------------
10275|      0|            return node;
10276|      0|        }
10277|       |
10278|      0|        node = intermediate.setAggregateOperator(node, op, type, node->getLoc());
10279|       |
10280|      0|        return node;
10281|       |
10282|      0|    case EOpConstructCooperativeMatrixNV:
  ------------------
  |  Branch (10282:5): [True: 0, False: 135]
  ------------------
10283|      0|    case EOpConstructCooperativeMatrixKHR:
  ------------------
  |  Branch (10283:5): [True: 0, False: 135]
  ------------------
10284|      0|        if (node->getType() == type) {
  ------------------
  |  Branch (10284:13): [True: 0, False: 0]
  ------------------
10285|      0|            return node;
10286|      0|        }
10287|      0|        if (!node->getType().isCoopMat()) {
  ------------------
  |  Branch (10287:13): [True: 0, False: 0]
  ------------------
10288|      0|            if (type.getBasicType() != node->getType().getBasicType()) {
  ------------------
  |  Branch (10288:17): [True: 0, False: 0]
  ------------------
10289|      0|                node = intermediate.addConversion(type.getBasicType(), node);
10290|      0|                if (node == nullptr)
  ------------------
  |  Branch (10290:21): [True: 0, False: 0]
  ------------------
10291|      0|                    return nullptr;
10292|      0|            }
10293|      0|            node = intermediate.setAggregateOperator(node, op, type, node->getLoc());
10294|      0|        } else if (type.sameCoopMatShape(node->getType()) && !type.sameCoopMatUse(node->getType()) &&
  ------------------
  |  Branch (10294:20): [True: 0, False: 0]
  |  Branch (10294:62): [True: 0, False: 0]
  ------------------
10295|      0|                   type.getBasicType() == node->getType().getBasicType()) {
  ------------------
  |  Branch (10295:20): [True: 0, False: 0]
  ------------------
10296|      0|            node = intermediate.setAggregateOperator(node, op, type, node->getLoc());
10297|      0|        } else {
10298|      0|            TOperator op = EOpConvNumeric;
10299|       |
10300|      0|            node = intermediate.addUnaryNode(op, node, node->getLoc(), type);
10301|       |            // If it's a (non-specialization) constant, it must be folded.
10302|      0|            if (node->getAsUnaryNode()->getOperand()->getAsConstantUnion())
  ------------------
  |  Branch (10302:17): [True: 0, False: 0]
  ------------------
10303|      0|                return node->getAsUnaryNode()->getOperand()->getAsConstantUnion()->fold(op, node->getType());
10304|      0|        }
10305|       |
10306|      0|        return node;
10307|       |
10308|      0|    case EOpConstructAccStruct:
  ------------------
  |  Branch (10308:5): [True: 0, False: 135]
  ------------------
10309|      0|        if ((node->getType().isScalar() && node->getType().getBasicType() == EbtUint64)) {
  ------------------
  |  Branch (10309:14): [True: 0, False: 0]
  |  Branch (10309:44): [True: 0, False: 0]
  ------------------
10310|       |            // construct acceleration structure from uint64
10311|      0|            requireExtensions(loc, Num_ray_tracing_EXTs, ray_tracing_EXTs, "uint64_t conversion to acclerationStructureEXT");
10312|      0|            return intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUint64ToAccStruct, true, node,
10313|      0|                type);
10314|      0|        } else if (node->getType().isVector() && node->getType().getBasicType() == EbtUint && node->getVectorSize() == 2) {
  ------------------
  |  Branch (10314:20): [True: 0, False: 0]
  |  Branch (10314:50): [True: 0, False: 0]
  |  Branch (10314:95): [True: 0, False: 0]
  ------------------
10315|       |            // construct acceleration structure from uint64
10316|      0|            requireExtensions(loc, Num_ray_tracing_EXTs, ray_tracing_EXTs, "uvec2 conversion to accelerationStructureEXT");
10317|      0|            return intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUvec2ToAccStruct, true, node,
10318|      0|                type);
10319|      0|        } else
10320|      0|            return nullptr;
10321|       |
10322|      0|    default:
  ------------------
  |  Branch (10322:5): [True: 0, False: 135]
  ------------------
10323|      0|        error(loc, "unsupported construction", "", "");
10324|       |
10325|      0|        return nullptr;
10326|    135|    }
10327|    135|    newNode = intermediate.addUnaryMath(basicOp, node, node->getLoc());
10328|    135|    if (newNode == nullptr) {
  ------------------
  |  Branch (10328:9): [True: 0, False: 135]
  ------------------
10329|      0|        error(loc, "can't convert", "constructor", "");
10330|      0|        return nullptr;
10331|      0|    }
10332|       |
10333|       |    //
10334|       |    // Now, if there still isn't an operation to do the construction, and we need one, add one.
10335|       |    //
10336|       |
10337|       |    // Otherwise, skip out early.
10338|    135|    if (subset || (newNode != node && newNode->getType() == type))
  ------------------
  |  Branch (10338:9): [True: 135, False: 0]
  |  Branch (10338:20): [True: 0, False: 0]
  |  Branch (10338:39): [True: 0, False: 0]
  ------------------
10339|    135|        return newNode;
10340|       |
10341|       |    // setAggregateOperator will insert a new node for the constructor, as needed.
10342|      0|    return intermediate.setAggregateOperator(newNode, op, type, loc);
10343|    135|}
_ZN7glslang13TParseContext12makeVariadicEPNS_9TFunctionERKNS_10TSourceLocE:
10345|    420|void TParseContext::makeVariadic(TFunction *F, const TSourceLoc &loc) {
10346|    420|    if (parsingBuiltins) {
  ------------------
  |  Branch (10346:9): [True: 420, False: 0]
  ------------------
10347|    420|        F->setVariadic();
10348|    420|    } else {
10349|      0|        error(loc, "variadic argument specifier is only available for builtins", "...", "");
10350|      0|    }
10351|    420|}
_ZN7glslang13TParseContext19getParamWithDefaultERKNS_11TPublicTypeEPNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEEPNS_12TIntermTypedERKNS_10TSourceLocE:
10355|    420|{
10356|    420|    if (!parsingBuiltins) {
  ------------------
  |  Branch (10356:9): [True: 0, False: 420]
  ------------------
10357|      0|        error(loc, "default argument values are only available for builtins", "=", "");
10358|      0|        initializer = nullptr;
10359|      0|    }
10360|    420|    if (ty.arraySizes) {
  ------------------
  |  Branch (10360:9): [True: 0, False: 420]
  ------------------
10361|      0|        error(loc, "array arguments cannot be default-initialized", identifier->c_str(), "");
10362|      0|        initializer = nullptr;
10363|      0|    }
10364|    420|    if (ty.basicType == EbtVoid) {
  ------------------
  |  Branch (10364:9): [True: 0, False: 420]
  ------------------
10365|      0|        error(loc, "illegal use of type 'void'", identifier->c_str(), "");
10366|      0|        initializer = nullptr;
10367|      0|    }
10368|    420|    reservedErrorCheck(loc, *identifier);
10369|    420|    TParameter param = {identifier, new TType(ty), initializer};
10370|    420|    return param;
10371|    420|}
_ZN7glslang13TParseContext23inheritMemoryQualifiersERKNS_10TQualifierERS1_:
10394|    343|{
10395|    343|    if (from.isReadOnly())
  ------------------
  |  Branch (10395:9): [True: 0, False: 343]
  ------------------
10396|      0|        to.readonly = from.readonly;
10397|    343|    if (from.isWriteOnly())
  ------------------
  |  Branch (10397:9): [True: 0, False: 343]
  ------------------
10398|      0|        to.writeonly = from.writeonly;
10399|    343|    if (from.coherent)
  ------------------
  |  Branch (10399:9): [True: 0, False: 343]
  ------------------
10400|      0|        to.coherent = from.coherent;
10401|    343|    if (from.volatil)
  ------------------
  |  Branch (10401:9): [True: 0, False: 343]
  ------------------
10402|      0|        to.volatil = from.volatil;
10403|    343|    if (from.nontemporal)
  ------------------
  |  Branch (10403:9): [True: 0, False: 343]
  ------------------
10404|      0|        to.nontemporal = from.nontemporal;
10405|    343|    if (from.restrict)
  ------------------
  |  Branch (10405:9): [True: 0, False: 343]
  ------------------
10406|      0|        to.restrict = from.restrict;
10407|    343|}
_ZN7glslang13TParseContext16untypedHeapCheckEPNS_7TSymbolERKNS_5TTypeERKNS_10TSourceLocEPKc:
10457|  5.20k|{
10458|       |    // EXT_descriptor_heap
10459|  5.20k|    bool isHeapStruct =
10460|  5.20k|        (type.getQualifier().storage == EvqSamplerHeap || type.getQualifier().storage == EvqResourceHeap);
  ------------------
  |  Branch (10460:10): [True: 0, False: 5.20k]
  |  Branch (10460:59): [True: 0, False: 5.20k]
  ------------------
10461|       |
10462|  5.20k|    if (intermediate.IsRequestedExtension(E_GL_EXT_descriptor_heap) && spvVersion.vulkan > 0 &&
  ------------------
  |  Branch (10462:9): [True: 0, False: 5.20k]
  |  Branch (10462:72): [True: 0, False: 0]
  ------------------
10463|      0|        !type.getQualifier().hasSet() && !type.getQualifier().hasBinding()) {
  ------------------
  |  Branch (10463:9): [True: 0, False: 0]
  |  Branch (10463:42): [True: 0, False: 0]
  ------------------
10464|      0|        if (type.getQualifier().layoutDescriptorHeap || isHeapStruct) {
  ------------------
  |  Branch (10464:13): [True: 0, False: 0]
  |  Branch (10464:57): [True: 0, False: 0]
  ------------------
10465|      0|            if ((intermediate.isEsProfile() && intermediate.getVersion() < 310) ||
  ------------------
  |  Branch (10465:18): [True: 0, False: 0]
  |  Branch (10465:48): [True: 0, False: 0]
  ------------------
10466|      0|                (!intermediate.isEsProfile() && intermediate.getVersion() < 420)) {
  ------------------
  |  Branch (10466:18): [True: 0, False: 0]
  |  Branch (10466:49): [True: 0, False: 0]
  ------------------
10467|      0|                TString warnMsg = "layout(descriptor_heap) is turned on beyond version/profile limits.";
10468|      0|                infoSink.info.message(EPrefixWarning, warnMsg.c_str());
10469|      0|            }
10470|      0|            if (IsAnonymous(symbol->getName()) &&
  ------------------
  |  Branch (10470:17): [True: 0, False: 0]
  ------------------
10471|      0|                (type.getQualifier().isUniformOrBuffer() || type.getBasicType() == EbtBlock)) {
  ------------------
  |  Branch (10471:18): [True: 0, False: 0]
  |  Branch (10471:61): [True: 0, False: 0]
  ------------------
10472|      0|                error(loc, "layout(descriptor_heap) decorated block should be explicitly "
10473|      0|                    "declared with a run-time sized array type.", name, "");
10474|      0|                return false;
10475|      0|            }
10476|      0|            if (!type.containsHeapArray()) {
  ------------------
  |  Branch (10476:17): [True: 0, False: 0]
  ------------------
10477|      0|                error(loc, "layout(descriptor_heap) decorated variable could only be declared as an array.",
10478|      0|                      name, "");
10479|      0|                return false;
10480|      0|            }
10481|      0|            descHeapBuiltinRemap(&symbol->getWritableType(), isHeapStruct);
10482|      0|        }
10483|      0|    }
10484|  5.20k|    return true;
10485|  5.20k|}
_ZN7glslang13TParseContext12declareBlockERKNS_10TSourceLocERNS_7TVectorINS_8TTypeLocEEEPKNSt3__112basic_stringIcNS8_11char_traitsIcEENS_14pool_allocatorIcEEEEPNS_11TArraySizesE:
10492|     63|{
10493|     63|    if (spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (10493:9): [True: 9, False: 54]
  |  Branch (10493:34): [True: 0, False: 9]
  ------------------
10494|      0|        blockStorageRemap(loc, blockName, currentBlockQualifier);
10495|     63|    blockStageIoCheck(loc, currentBlockQualifier);
10496|     63|    blockQualifierCheck(loc, currentBlockQualifier, instanceName != nullptr);
10497|     63|    if (arraySizes != nullptr) {
  ------------------
  |  Branch (10497:9): [True: 42, False: 21]
  ------------------
10498|     42|        arraySizesCheck(loc, currentBlockQualifier, arraySizes, nullptr, false);
10499|     42|        arrayOfArrayVersionCheck(loc, arraySizes);
10500|     42|        if (arraySizes->getNumDims() > 1)
  ------------------
  |  Branch (10500:13): [True: 0, False: 42]
  ------------------
10501|      0|            requireProfile(loc, ~EEsProfile, "array-of-array of block");
10502|     42|    }
10503|       |
10504|       |    // Inherit and check member storage qualifiers WRT to the block-level qualifier.
10505|    406|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (10505:35): [True: 343, False: 63]
  ------------------
10506|    343|        TType& memberType = *typeList[member].type;
10507|    343|        TQualifier& memberQualifier = memberType.getQualifier();
10508|    343|        const TSourceLoc& memberLoc = typeList[member].loc;
10509|    343|        if (memberQualifier.storage != EvqTemporary && memberQualifier.storage != EvqGlobal && memberQualifier.storage != currentBlockQualifier.storage)
  ------------------
  |  Branch (10509:13): [True: 308, False: 35]
  |  Branch (10509:56): [True: 0, False: 308]
  |  Branch (10509:96): [True: 0, False: 0]
  ------------------
10510|      0|            error(memberLoc, "member storage qualifier cannot contradict block storage qualifier", memberType.getFieldName().c_str(), "");
10511|    343|        memberQualifier.storage = currentBlockQualifier.storage;
10512|    343|        globalQualifierFixCheck(memberLoc, memberQualifier);
10513|    343|        inheritMemoryQualifiers(currentBlockQualifier, memberQualifier);
10514|    343|        if (currentBlockQualifier.perPrimitiveNV)
  ------------------
  |  Branch (10514:13): [True: 77, False: 266]
  ------------------
10515|     77|            memberQualifier.perPrimitiveNV = currentBlockQualifier.perPrimitiveNV;
10516|    343|        if (currentBlockQualifier.perViewNV)
  ------------------
  |  Branch (10516:13): [True: 0, False: 343]
  ------------------
10517|      0|            memberQualifier.perViewNV = currentBlockQualifier.perViewNV;
10518|    343|        if (currentBlockQualifier.perTaskNV)
  ------------------
  |  Branch (10518:13): [True: 0, False: 343]
  ------------------
10519|      0|            memberQualifier.perTaskNV = currentBlockQualifier.perTaskNV;
10520|    343|        if (currentBlockQualifier.storage == EvqtaskPayloadSharedEXT)
  ------------------
  |  Branch (10520:13): [True: 0, False: 343]
  ------------------
10521|      0|            memberQualifier.storage = EvqtaskPayloadSharedEXT;
10522|    343|        if (memberQualifier.storage == EvqSpirvStorageClass)
  ------------------
  |  Branch (10522:13): [True: 0, False: 343]
  ------------------
10523|      0|            error(memberLoc, "member cannot have a spirv_storage_class qualifier", memberType.getFieldName().c_str(), "");
10524|    343|        if (memberQualifier.hasSpirvDecorate() && !memberQualifier.getSpirvDecorate().decorateIds.empty())
  ------------------
  |  Branch (10524:13): [True: 0, False: 343]
  |  Branch (10524:51): [True: 0, False: 0]
  ------------------
10525|      0|            error(memberLoc, "member cannot have a spirv_decorate_id qualifier", memberType.getFieldName().c_str(), "");
10526|    343|        if ((currentBlockQualifier.storage == EvqUniform || currentBlockQualifier.storage == EvqBuffer) && (memberQualifier.isInterpolation() || memberQualifier.isAuxiliary()))
  ------------------
  |  Branch (10526:14): [True: 0, False: 343]
  |  Branch (10526:61): [True: 0, False: 343]
  |  Branch (10526:109): [True: 0, False: 0]
  |  Branch (10526:146): [True: 0, False: 0]
  ------------------
10527|      0|            error(memberLoc, "member of uniform or buffer block cannot have an auxiliary or interpolation qualifier", memberType.getFieldName().c_str(), "");
10528|    343|        if (memberType.isArray())
  ------------------
  |  Branch (10528:13): [True: 175, False: 168]
  ------------------
10529|    175|            arraySizesCheck(memberLoc, currentBlockQualifier, memberType.getArraySizes(), nullptr, member == typeList.size() - 1);
10530|    343|        if (memberQualifier.hasOffset()) {
  ------------------
  |  Branch (10530:13): [True: 0, False: 343]
  ------------------
10531|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (10531:17): [True: 0, False: 0]
  ------------------
10532|      0|                profileRequires(memberLoc, ~EEsProfile, 440, E_GL_ARB_enhanced_layouts, "\"offset\" on block member");
10533|      0|                profileRequires(memberLoc, EEsProfile, 300, E_GL_ARB_enhanced_layouts, "\"offset\" on block member");
10534|      0|            }
10535|      0|        }
10536|       |
10537|       |        // For bindless texture, sampler can be declared as uniform/storage block member,
10538|    343|        if (memberType.containsOpaque() && !extensionTurnedOn(E_GL_EXT_structured_descriptor_heap)) {
  ------------------
  |  Branch (10538:13): [True: 0, False: 343]
  |  Branch (10538:44): [True: 0, False: 0]
  ------------------
10539|      0|            if (memberType.containsSampler() && extensionTurnedOn(E_GL_ARB_bindless_texture))
  ------------------
  |  Branch (10539:17): [True: 0, False: 0]
  |  Branch (10539:49): [True: 0, False: 0]
  ------------------
10540|      0|                updateBindlessQualifier(memberType);
10541|      0|            else
10542|      0|                error(memberLoc, "member of block cannot be or contain a sampler, image, or atomic_uint type", typeList[member].type->getFieldName().c_str(), "");
10543|      0|        }
10544|       |
10545|    343|        if (memberType.containsCoopMat())
  ------------------
  |  Branch (10545:13): [True: 0, False: 343]
  ------------------
10546|      0|            error(memberLoc, "member of block cannot be or contain a cooperative matrix type", typeList[member].type->getFieldName().c_str(), "");
10547|       |
10548|    343|        if (memberType.containsCoopVec())
  ------------------
  |  Branch (10548:13): [True: 0, False: 343]
  ------------------
10549|      0|            error(memberLoc, "member of block cannot be or contain a cooperative vector type", typeList[member].type->getFieldName().c_str(), "");
10550|    343|    }
10551|       |
10552|       |    // This might be a redeclaration of a built-in block.  If so, redeclareBuiltinBlock() will
10553|       |    // do all the rest.
10554|     63|    if (! symbolTable.atBuiltInLevel() && builtInName(*blockName)) {
  ------------------
  |  Branch (10554:9): [True: 0, False: 63]
  |  Branch (10554:43): [True: 0, False: 0]
  ------------------
10555|      0|        redeclareBuiltinBlock(loc, typeList, *blockName, instanceName, arraySizes);
10556|      0|        return nullptr;
10557|      0|    }
10558|       |
10559|       |    // Not a redeclaration of a built-in; check that all names are user names.
10560|     63|    reservedErrorCheck(loc, *blockName);
10561|     63|    if (instanceName)
  ------------------
  |  Branch (10561:9): [True: 42, False: 21]
  ------------------
10562|     42|        reservedErrorCheck(loc, *instanceName);
10563|    406|    for (unsigned int member = 0; member < typeList.size(); ++member)
  ------------------
  |  Branch (10563:35): [True: 343, False: 63]
  ------------------
10564|    343|        reservedErrorCheck(typeList[member].loc, typeList[member].type->getFieldName());
10565|       |
10566|       |    // Make default block qualification, and adjust the member qualifications
10567|       |
10568|     63|    TQualifier defaultQualification;
10569|     63|    switch (currentBlockQualifier.storage) {
10570|      0|    case EvqUniform:    defaultQualification = globalUniformDefaults;    break;
  ------------------
  |  Branch (10570:5): [True: 0, False: 63]
  ------------------
10571|      0|    case EvqBuffer:     defaultQualification = globalBufferDefaults;     break;
  ------------------
  |  Branch (10571:5): [True: 0, False: 63]
  ------------------
10572|      7|    case EvqVaryingIn:  defaultQualification = globalInputDefaults;      break;
  ------------------
  |  Branch (10572:5): [True: 7, False: 56]
  ------------------
10573|     56|    case EvqVaryingOut: defaultQualification = globalOutputDefaults;     break;
  ------------------
  |  Branch (10573:5): [True: 56, False: 7]
  ------------------
10574|      0|    case EvqShared:     defaultQualification = globalSharedDefaults;     break;
  ------------------
  |  Branch (10574:5): [True: 0, False: 63]
  ------------------
10575|      0|    default:            defaultQualification.clear();                    break;
  ------------------
  |  Branch (10575:5): [True: 0, False: 63]
  ------------------
10576|     63|    }
10577|       |
10578|       |    // Special case for "push_constant uniform", which has a default of std430,
10579|       |    // contrary to normal uniform defaults, and can't have a default tracked for it.
10580|     63|    if ((currentBlockQualifier.isPushConstant() && !currentBlockQualifier.hasPacking()) ||
  ------------------
  |  Branch (10580:10): [True: 0, False: 63]
  |  Branch (10580:52): [True: 0, False: 0]
  ------------------
10581|     63|        (currentBlockQualifier.isShaderRecord() && !currentBlockQualifier.hasPacking()))
  ------------------
  |  Branch (10581:10): [True: 0, False: 63]
  |  Branch (10581:52): [True: 0, False: 0]
  ------------------
10582|      0|        currentBlockQualifier.layoutPacking = ElpStd430;
10583|       |
10584|       |    // Special case for "taskNV in/out", which has a default of std430,
10585|     63|    if (currentBlockQualifier.isTaskMemory() && !currentBlockQualifier.hasPacking())
  ------------------
  |  Branch (10585:9): [True: 0, False: 63]
  |  Branch (10585:49): [True: 0, False: 0]
  ------------------
10586|      0|        currentBlockQualifier.layoutPacking = ElpStd430;
10587|       |
10588|       |    // fix and check for member layout qualifiers
10589|       |
10590|     63|    mergeObjectLayoutQualifiers(defaultQualification, currentBlockQualifier, true);
10591|       |
10592|       |    // "The align qualifier can only be used on blocks or block members, and only for blocks declared with std140 or std430 layouts."
10593|     63|    if (currentBlockQualifier.hasAlign()) {
  ------------------
  |  Branch (10593:9): [True: 0, False: 63]
  ------------------
10594|      0|        if (defaultQualification.layoutPacking != ElpStd140 &&
  ------------------
  |  Branch (10594:13): [True: 0, False: 0]
  ------------------
10595|      0|            defaultQualification.layoutPacking != ElpStd430 &&
  ------------------
  |  Branch (10595:13): [True: 0, False: 0]
  ------------------
10596|      0|            defaultQualification.layoutPacking != ElpScalar) {
  ------------------
  |  Branch (10596:13): [True: 0, False: 0]
  ------------------
10597|      0|            error(loc, "can only be used with std140, std430, or scalar layout packing", "align", "");
10598|      0|            defaultQualification.layoutAlign = -1;
10599|      0|        }
10600|      0|    }
10601|       |
10602|     63|    bool memberWithLocation = false;
10603|     63|    bool memberWithoutLocation = false;
10604|     63|    bool memberWithPerViewQualifier = false;
10605|    406|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (10605:35): [True: 343, False: 63]
  ------------------
10606|    343|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
10607|    343|        const TSourceLoc& memberLoc = typeList[member].loc;
10608|    343|        if (memberQualifier.hasStream()) {
  ------------------
  |  Branch (10608:13): [True: 0, False: 343]
  ------------------
10609|      0|            if (defaultQualification.layoutStream != memberQualifier.layoutStream)
  ------------------
  |  Branch (10609:17): [True: 0, False: 0]
  ------------------
10610|      0|                error(memberLoc, "member cannot contradict block", "stream", "");
10611|      0|        }
10612|       |
10613|       |        // "This includes a block's inheritance of the
10614|       |        // current global default buffer, a block member's inheritance of the block's
10615|       |        // buffer, and the requirement that any *xfb_buffer* declared on a block
10616|       |        // member must match the buffer inherited from the block."
10617|    343|        if (memberQualifier.hasXfbBuffer()) {
  ------------------
  |  Branch (10617:13): [True: 0, False: 343]
  ------------------
10618|      0|            if (defaultQualification.layoutXfbBuffer != memberQualifier.layoutXfbBuffer)
  ------------------
  |  Branch (10618:17): [True: 0, False: 0]
  ------------------
10619|      0|                error(memberLoc, "member cannot contradict block (or what block inherited from global)", "xfb_buffer", "");
10620|      0|        }
10621|       |
10622|    343|        if (memberQualifier.hasPacking())
  ------------------
  |  Branch (10622:13): [True: 0, False: 343]
  ------------------
10623|      0|            error(memberLoc, "member of block cannot have a packing layout qualifier", typeList[member].type->getFieldName().c_str(), "");
10624|    343|        if (memberQualifier.hasLocation()) {
  ------------------
  |  Branch (10624:13): [True: 0, False: 343]
  ------------------
10625|      0|            const char* feature = "location on block member";
10626|      0|            switch (currentBlockQualifier.storage) {
10627|      0|            case EvqVaryingIn:
  ------------------
  |  Branch (10627:13): [True: 0, False: 0]
  ------------------
10628|      0|            case EvqVaryingOut:
  ------------------
  |  Branch (10628:13): [True: 0, False: 0]
  ------------------
10629|      0|                requireProfile(memberLoc, ECoreProfile | ECompatibilityProfile | EEsProfile, feature);
10630|      0|                profileRequires(memberLoc, ECoreProfile | ECompatibilityProfile, 440, E_GL_ARB_enhanced_layouts, feature);
10631|      0|                profileRequires(memberLoc, EEsProfile, 320, Num_AEP_shader_io_blocks, AEP_shader_io_blocks, feature);
10632|      0|                memberWithLocation = true;
10633|      0|                break;
10634|      0|            default:
  ------------------
  |  Branch (10634:13): [True: 0, False: 0]
  ------------------
10635|      0|                error(memberLoc, "can only use in an in/out block", feature, "");
10636|      0|                break;
10637|      0|            }
10638|      0|        } else
10639|    343|            memberWithoutLocation = true;
10640|       |
10641|       |        // "The offset qualifier can only be used on block members of blocks declared with std140 or std430 layouts."
10642|       |        // "The align qualifier can only be used on blocks or block members, and only for blocks declared with std140 or std430 layouts."
10643|    343|        if (memberQualifier.hasAlign() || memberQualifier.hasOffset()) {
  ------------------
  |  Branch (10643:13): [True: 0, False: 343]
  |  Branch (10643:43): [True: 0, False: 343]
  ------------------
10644|      0|            if (defaultQualification.layoutPacking != ElpStd140 &&
  ------------------
  |  Branch (10644:17): [True: 0, False: 0]
  ------------------
10645|      0|                defaultQualification.layoutPacking != ElpStd430 &&
  ------------------
  |  Branch (10645:17): [True: 0, False: 0]
  ------------------
10646|      0|                defaultQualification.layoutPacking != ElpScalar)
  ------------------
  |  Branch (10646:17): [True: 0, False: 0]
  ------------------
10647|      0|                error(memberLoc, "can only be used with std140, std430, or scalar layout packing", "offset/align", "");
10648|      0|        }
10649|       |
10650|    343|        if (memberQualifier.isPerView()) {
  ------------------
  |  Branch (10650:13): [True: 35, False: 308]
  ------------------
10651|     35|            memberWithPerViewQualifier = true;
10652|     35|        }
10653|       |
10654|    343|        TQualifier newMemberQualification = defaultQualification;
10655|    343|        mergeQualifiers(memberLoc, newMemberQualification, memberQualifier, false);
10656|    343|        memberQualifier = newMemberQualification;
10657|    343|    }
10658|       |
10659|     63|    layoutMemberLocationArrayCheck(loc, memberWithLocation, arraySizes);
10660|       |
10661|       |    // Ensure that the block has an XfbBuffer assigned. This is needed
10662|       |    // because if the block has a XfbOffset assigned, then it is
10663|       |    // assumed that it has implicitly assigned the current global
10664|       |    // XfbBuffer, and because it's members need to be assigned a
10665|       |    // XfbOffset if they lack it.
10666|     63|    if (currentBlockQualifier.storage == EvqVaryingOut && globalOutputDefaults.hasXfbBuffer()) {
  ------------------
  |  Branch (10666:9): [True: 56, False: 7]
  |  Branch (10666:59): [True: 28, False: 28]
  ------------------
10667|     28|       if (!currentBlockQualifier.hasXfbBuffer() && currentBlockQualifier.hasXfbOffset())
  ------------------
  |  Branch (10667:12): [True: 28, False: 0]
  |  Branch (10667:53): [True: 0, False: 28]
  ------------------
10668|      0|          currentBlockQualifier.layoutXfbBuffer = globalOutputDefaults.layoutXfbBuffer;
10669|     28|    }
10670|       |
10671|       |    // Process the members
10672|     63|    fixBlockLocations(loc, currentBlockQualifier, typeList, memberWithLocation, memberWithoutLocation);
10673|     63|    fixXfbOffsets(currentBlockQualifier, typeList);
10674|     63|    fixBlockUniformOffsets(currentBlockQualifier, typeList);
10675|     63|    fixBlockUniformLayoutMatrix(currentBlockQualifier, &typeList, nullptr);
10676|     63|    fixBlockUniformLayoutPacking(currentBlockQualifier, &typeList, nullptr);
10677|    406|    for (unsigned int member = 0; member < typeList.size(); ++member)
  ------------------
  |  Branch (10677:35): [True: 343, False: 63]
  ------------------
10678|    343|        layoutTypeCheck(typeList[member].loc, *typeList[member].type);
10679|       |
10680|     63|    if (memberWithPerViewQualifier) {
  ------------------
  |  Branch (10680:9): [True: 14, False: 49]
  ------------------
10681|    105|        for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (10681:39): [True: 91, False: 14]
  ------------------
10682|     91|            checkAndResizeMeshViewDim(typeList[member].loc, *typeList[member].type, /*isBlockMember*/ true);
10683|     91|        }
10684|     14|    }
10685|       |
10686|       |    // reverse merge, so that currentBlockQualifier now has all layout information
10687|       |    // (can't use defaultQualification directly, it's missing other non-layout-default-class qualifiers)
10688|     63|    mergeObjectLayoutQualifiers(currentBlockQualifier, defaultQualification, true);
10689|       |
10690|       |    //
10691|       |    // Build and add the interface block as a new type named 'blockName'
10692|       |    //
10693|       |
10694|     63|    TType blockType(&typeList, *blockName, currentBlockQualifier);
10695|     63|    if (arraySizes != nullptr)
  ------------------
  |  Branch (10695:9): [True: 42, False: 21]
  ------------------
10696|     42|        blockType.transferArraySizes(arraySizes);
10697|       |
10698|     63|    if (arraySizes == nullptr)
  ------------------
  |  Branch (10698:9): [True: 21, False: 42]
  ------------------
10699|     21|        ioArrayCheck(loc, blockType, instanceName ? *instanceName : *blockName);
  ------------------
  |  Branch (10699:38): [True: 0, False: 21]
  ------------------
10700|     63|    if (currentBlockQualifier.hasBufferReference()) {
  ------------------
  |  Branch (10700:9): [True: 0, False: 63]
  ------------------
10701|       |
10702|      0|        if (currentBlockQualifier.storage != EvqBuffer)
  ------------------
  |  Branch (10702:13): [True: 0, False: 0]
  ------------------
10703|      0|            error(loc, "can only be used with buffer", "buffer_reference", "");
10704|       |
10705|       |        // Create the block reference type. If it was forward-declared, detect that
10706|       |        // as a referent struct type with no members. Replace the referent type with
10707|       |        // blockType.
10708|      0|        TType blockNameType(EbtReference, blockType, *blockName);
10709|      0|        TVariable* blockNameVar = new TVariable(blockName, blockNameType, true);
10710|      0|        if (! symbolTable.insert(*blockNameVar)) {
  ------------------
  |  Branch (10710:13): [True: 0, False: 0]
  ------------------
10711|      0|            TSymbol* existingName = symbolTable.find(*blockName);
10712|      0|            if (existingName->getType().isReference() &&
  ------------------
  |  Branch (10712:17): [True: 0, False: 0]
  ------------------
10713|      0|                existingName->getType().getReferentType()->getStruct() &&
  ------------------
  |  Branch (10713:17): [True: 0, False: 0]
  ------------------
10714|      0|                existingName->getType().getReferentType()->getStruct()->size() == 0 &&
  ------------------
  |  Branch (10714:17): [True: 0, False: 0]
  ------------------
10715|      0|                existingName->getType().getQualifier().storage == blockType.getQualifier().storage) {
  ------------------
  |  Branch (10715:17): [True: 0, False: 0]
  ------------------
10716|      0|                existingName->getType().getReferentType()->deepCopy(blockType);
10717|      0|            } else {
10718|      0|                error(loc, "block name cannot be redefined", blockName->c_str(), "");
10719|      0|            }
10720|      0|        }
10721|      0|        if (!instanceName) {
  ------------------
  |  Branch (10721:13): [True: 0, False: 0]
  ------------------
10722|      0|            return nullptr;
10723|      0|        }
10724|     63|    } else {
10725|       |        //
10726|       |        // Don't make a user-defined type out of block name; that will cause an error
10727|       |        // if the same block name gets reused in a different interface.
10728|       |        //
10729|       |        // "Block names have no other use within a shader
10730|       |        // beyond interface matching; it is a compile-time error to use a block name at global scope for anything
10731|       |        // other than as a block name (e.g., use of a block name for a global variable name or function name is
10732|       |        // currently reserved)."
10733|       |        //
10734|       |        // Use the symbol table to prevent normal reuse of the block's name, as a variable entry,
10735|       |        // whose type is EbtBlock, but without all the structure; that will come from the type
10736|       |        // the instances point to.
10737|       |        //
10738|     63|        TType blockNameType(EbtBlock, blockType.getQualifier().storage);
10739|     63|        TVariable* blockNameVar = new TVariable(blockName, blockNameType);
10740|     63|        if (! symbolTable.insert(*blockNameVar)) {
  ------------------
  |  Branch (10740:13): [True: 7, False: 56]
  ------------------
10741|      7|            TSymbol* existingName = symbolTable.find(*blockName);
10742|      7|            if (existingName->getType().getBasicType() == EbtBlock) {
  ------------------
  |  Branch (10742:17): [True: 7, False: 0]
  ------------------
10743|      7|                if (existingName->getType().getQualifier().storage == blockType.getQualifier().storage) {
  ------------------
  |  Branch (10743:21): [True: 0, False: 7]
  ------------------
10744|      0|                    error(loc, "Cannot reuse block name within the same interface:", blockName->c_str(), blockType.getStorageQualifierString());
10745|      0|                    return nullptr;
10746|      0|                }
10747|      7|            } else {
10748|      0|                error(loc, "block name cannot redefine a non-block name", blockName->c_str(), "");
10749|      0|                return nullptr;
10750|      0|            }
10751|      7|        }
10752|     63|    }
10753|       |
10754|       |    // Add the variable, as anonymous or named instanceName.
10755|       |    // Make an anonymous variable if no name was provided.
10756|     63|    if (! instanceName)
  ------------------
  |  Branch (10756:9): [True: 21, False: 42]
  ------------------
10757|     21|        instanceName = NewPoolTString("");
10758|       |
10759|     63|    TVariable& variable = *new TVariable(instanceName, blockType);
10760|     63|    if (! symbolTable.insert(variable)) {
  ------------------
  |  Branch (10760:9): [True: 0, False: 63]
  ------------------
10761|      0|        if (*instanceName == "")
  ------------------
  |  Branch (10761:13): [True: 0, False: 0]
  ------------------
10762|      0|            error(loc, "nameless block contains a member that already has a name at global scope", blockName->c_str(), "");
10763|      0|        else
10764|      0|            error(loc, "block instance name redefinition", variable.getName().c_str(), "");
10765|       |
10766|      0|        return nullptr;
10767|      0|    }
10768|       |
10769|       |    // EXT_descriptor_heap
10770|     63|    if (!untypedHeapCheck(&variable, blockType, loc, blockName->c_str())) {
  ------------------
  |  Branch (10770:9): [True: 0, False: 63]
  ------------------
10771|      0|        return nullptr;
10772|      0|    }
10773|       |
10774|       |    // Check for general layout qualifier errors
10775|     63|    layoutObjectCheck(loc, variable);
10776|       |
10777|       |    // fix up
10778|     63|    if (isIoResizeArray(blockType)) {
  ------------------
  |  Branch (10778:9): [True: 42, False: 21]
  ------------------
10779|     42|        ioArraySymbolResizeList.push_back(&variable);
10780|     42|        checkIoArraysConsistency(loc, true);
10781|     42|    } else
10782|     21|        fixIoArraySize(loc, variable.getWritableType());
10783|       |
10784|       |    // Save it in the AST for linker use.
10785|     63|    trackLinkage(variable);
10786|       |
10787|     63|    TIntermAggregate* declNode = nullptr;
10788|     63|    if (intermediate.getDebugInfo()) {
  ------------------
  |  Branch (10788:9): [True: 0, False: 63]
  ------------------
10789|      0|        auto blockDeclNode = new TIntermVariableDecl(intermediate.addSymbol(variable, loc), nullptr);
10790|      0|        blockDeclNode->setLoc(loc);
10791|       |
10792|       |        // We have to wrap the declaration with a sequence to fit the same processing logic with variables.
10793|      0|        declNode = new TIntermAggregate(EOpSequence);
10794|      0|        declNode->getSequence().push_back(blockDeclNode);
10795|      0|    }
10796|     63|    return declNode;
10797|     63|}
_ZN7glslang13TParseContext17blockStageIoCheckERKNS_10TSourceLocERKNS_10TQualifierE:
10813|     63|{
10814|     63|    const char *extsrt[2] = { E_GL_NV_ray_tracing, E_GL_EXT_ray_tracing };
10815|     63|    switch (qualifier.storage) {
10816|      0|    case EvqUniform:
  ------------------
  |  Branch (10816:5): [True: 0, False: 63]
  ------------------
10817|      0|        profileRequires(loc, EEsProfile, 300, nullptr, "uniform block");
10818|      0|        profileRequires(loc, ENoProfile, 140, E_GL_ARB_uniform_buffer_object, "uniform block");
10819|      0|        if (currentBlockQualifier.layoutPacking == ElpStd430 && ! currentBlockQualifier.isPushConstant())
  ------------------
  |  Branch (10819:13): [True: 0, False: 0]
  |  Branch (10819:65): [True: 0, False: 0]
  ------------------
10820|      0|            requireExtensions(loc, 1, &E_GL_EXT_scalar_block_layout, "std430 requires the buffer storage qualifier");
10821|      0|        break;
10822|      0|    case EvqBuffer:
  ------------------
  |  Branch (10822:5): [True: 0, False: 63]
  ------------------
10823|      0|        requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, "buffer block");
10824|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 430, E_GL_ARB_shader_storage_buffer_object, "buffer block");
10825|      0|        profileRequires(loc, EEsProfile, 310, nullptr, "buffer block");
10826|      0|        break;
10827|      7|    case EvqVaryingIn:
  ------------------
  |  Branch (10827:5): [True: 7, False: 56]
  ------------------
10828|      7|        profileRequires(loc, ~EEsProfile, 150, E_GL_ARB_separate_shader_objects, "input block");
10829|       |        // It is a compile-time error to have an input block in a vertex shader or an output block in a fragment shader
10830|       |        // "Compute shaders do not permit user-defined input variables..."
10831|      7|        requireStage(loc, (EShLanguageMask)(EShLangTessControlMask|EShLangTessEvaluationMask|EShLangGeometryMask|
10832|      7|            EShLangFragmentMask|EShLangMeshMask), "input block");
10833|      7|        if (language == EShLangFragment) {
  ------------------
  |  Branch (10833:13): [True: 0, False: 7]
  ------------------
10834|      0|            profileRequires(loc, EEsProfile, 320, Num_AEP_shader_io_blocks, AEP_shader_io_blocks, "fragment input block");
10835|      7|        } else if (language == EShLangMesh && ! qualifier.isTaskMemory()) {
  ------------------
  |  Branch (10835:20): [True: 0, False: 7]
  |  Branch (10835:47): [True: 0, False: 0]
  ------------------
10836|      0|            error(loc, "input blocks cannot be used in a mesh shader", "out", "");
10837|      0|        }
10838|      7|        break;
10839|     56|    case EvqVaryingOut:
  ------------------
  |  Branch (10839:5): [True: 56, False: 7]
  ------------------
10840|     56|        profileRequires(loc, ~EEsProfile, 150, E_GL_ARB_separate_shader_objects, "output block");
10841|     56|        requireStage(loc, (EShLanguageMask)(EShLangVertexMask|EShLangTessControlMask|EShLangTessEvaluationMask|
10842|     56|            EShLangGeometryMask|EShLangMeshMask|EShLangTaskMask), "output block");
10843|       |        // ES 310 can have a block before shader_io is turned on, so skip this test for built-ins
10844|     56|        if (language == EShLangVertex && ! parsingBuiltins) {
  ------------------
  |  Branch (10844:13): [True: 7, False: 49]
  |  Branch (10844:42): [True: 0, False: 7]
  ------------------
10845|      0|            profileRequires(loc, EEsProfile, 320, Num_AEP_shader_io_blocks, AEP_shader_io_blocks, "vertex output block");
10846|     56|        } else if (language == EShLangMesh && qualifier.isTaskMemory()) {
  ------------------
  |  Branch (10846:20): [True: 28, False: 28]
  |  Branch (10846:47): [True: 0, False: 28]
  ------------------
10847|      0|            error(loc, "can only use on input blocks in mesh shader", "taskNV", "");
10848|     56|        } else if (language == EShLangTask && ! qualifier.isTaskMemory()) {
  ------------------
  |  Branch (10848:20): [True: 0, False: 56]
  |  Branch (10848:47): [True: 0, False: 0]
  ------------------
10849|      0|            error(loc, "output blocks cannot be used in a task shader", "out", "");
10850|      0|        }
10851|     56|        break;
10852|      0|    case EvqShared:
  ------------------
  |  Branch (10852:5): [True: 0, False: 63]
  ------------------
10853|      0|        if (spvVersion.spv > 0 && spvVersion.spv < EShTargetSpv_1_4) {
  ------------------
  |  Branch (10853:13): [True: 0, False: 0]
  |  Branch (10853:35): [True: 0, False: 0]
  ------------------
10854|      0|            error(loc, "shared block requires at least SPIR-V 1.4", "shared block", "");
10855|      0|        }
10856|      0|        profileRequires(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, 0, E_GL_EXT_shared_memory_block, "shared block");
10857|      0|        break;
10858|      0|    case EvqPayload:
  ------------------
  |  Branch (10858:5): [True: 0, False: 63]
  ------------------
10859|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "rayPayloadNV block");
10860|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangAnyHitMask | EShLangClosestHitMask | EShLangMissMask),
10861|      0|            "rayPayloadNV block");
10862|      0|        break;
10863|      0|    case EvqPayloadIn:
  ------------------
  |  Branch (10863:5): [True: 0, False: 63]
  ------------------
10864|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "rayPayloadInNV block");
10865|      0|        requireStage(loc, (EShLanguageMask)(EShLangAnyHitMask | EShLangClosestHitMask | EShLangMissMask),
10866|      0|            "rayPayloadInNV block");
10867|      0|        break;
10868|      0|    case EvqHitAttr:
  ------------------
  |  Branch (10868:5): [True: 0, False: 63]
  ------------------
10869|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "hitAttributeNV block");
10870|      0|        requireStage(loc, (EShLanguageMask)(EShLangIntersectMask | EShLangAnyHitMask | EShLangClosestHitMask), "hitAttributeNV block");
10871|      0|        break;
10872|      0|    case EvqCallableData:
  ------------------
  |  Branch (10872:5): [True: 0, False: 63]
  ------------------
10873|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "callableDataNV block");
10874|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask | EShLangMissMask | EShLangCallableMask),
10875|      0|            "callableDataNV block");
10876|      0|        break;
10877|      0|    case EvqCallableDataIn:
  ------------------
  |  Branch (10877:5): [True: 0, False: 63]
  ------------------
10878|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "callableDataInNV block");
10879|      0|        requireStage(loc, (EShLanguageMask)(EShLangCallableMask), "callableDataInNV block");
10880|      0|        break;
10881|      0|    case EvqHitObjectAttrNV:
  ------------------
  |  Branch (10881:5): [True: 0, False: 63]
  ------------------
10882|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_NV_shader_invocation_reorder, "hitObjectAttributeNV block");
10883|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask | EShLangMissMask), "hitObjectAttributeNV block");
10884|      0|        break;
10885|      0|    case EvqHitObjectAttrEXT:
  ------------------
  |  Branch (10885:5): [True: 0, False: 63]
  ------------------
10886|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_shader_invocation_reorder, "hitObjectAttributeEXT block");
10887|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask | EShLangMissMask), "hitObjectAttributeEXT block");
10888|      0|        break;
10889|      0|    case EvqResourceHeap:
  ------------------
  |  Branch (10889:5): [True: 0, False: 63]
  ------------------
10890|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_structured_descriptor_heap, "resourceheap block");
10891|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_descriptor_heap, "resourceheap block");
10892|      0|        break;
10893|      0|    case EvqSamplerHeap:
  ------------------
  |  Branch (10893:5): [True: 0, False: 63]
  ------------------
10894|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_structured_descriptor_heap, "samplerheap block");
10895|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_descriptor_heap, "samplerheap block");
10896|      0|        break;
10897|      0|    default:
  ------------------
  |  Branch (10897:5): [True: 0, False: 63]
  ------------------
10898|      0|        error(loc, "only uniform, buffer, in, or out blocks are supported", blockName->c_str(), "");
10899|      0|        break;
10900|     63|    }
10901|     63|}
_ZN7glslang13TParseContext19blockQualifierCheckERKNS_10TSourceLocERKNS_10TQualifierEb:
10905|     63|{
10906|       |    // The 4.5 specification says:
10907|       |    //
10908|       |    // interface-block :
10909|       |    //    layout-qualifieropt interface-qualifier  block-name { member-list } instance-nameopt ;
10910|       |    //
10911|       |    // interface-qualifier :
10912|       |    //    in
10913|       |    //    out
10914|       |    //    patch in
10915|       |    //    patch out
10916|       |    //    uniform
10917|       |    //    buffer
10918|       |    //
10919|       |    // Note however memory qualifiers aren't included, yet the specification also says
10920|       |    //
10921|       |    // "...memory qualifiers may also be used in the declaration of shader storage blocks..."
10922|       |
10923|     63|    if (qualifier.isInterpolation())
  ------------------
  |  Branch (10923:9): [True: 0, False: 63]
  ------------------
10924|      0|        error(loc, "cannot use interpolation qualifiers on an interface block", "flat/smooth/noperspective", "");
10925|     63|    if (qualifier.centroid)
  ------------------
  |  Branch (10925:9): [True: 0, False: 63]
  ------------------
10926|      0|        error(loc, "cannot use centroid qualifier on an interface block", "centroid", "");
10927|     63|    if (qualifier.isSample())
  ------------------
  |  Branch (10927:9): [True: 0, False: 63]
  ------------------
10928|      0|        error(loc, "cannot use sample qualifier on an interface block", "sample", "");
10929|     63|    if (qualifier.invariant)
  ------------------
  |  Branch (10929:9): [True: 0, False: 63]
  ------------------
10930|      0|        error(loc, "cannot use invariant qualifier on an interface block", "invariant", "");
10931|     63|    if (qualifier.isPushConstant())
  ------------------
  |  Branch (10931:9): [True: 0, False: 63]
  ------------------
10932|      0|        intermediate.addPushConstantCount();
10933|     63|    if (qualifier.isShaderRecord())
  ------------------
  |  Branch (10933:9): [True: 0, False: 63]
  ------------------
10934|      0|        intermediate.addShaderRecordCount();
10935|     63|    if (qualifier.isTaskMemory())
  ------------------
  |  Branch (10935:9): [True: 0, False: 63]
  ------------------
10936|      0|        intermediate.addTaskNVCount();
10937|     63|}
_ZN7glslang13TParseContext17fixBlockLocationsERKNS_10TSourceLocERNS_10TQualifierERNS_7TVectorINS_8TTypeLocEEEbb:
10947|     63|{
10948|       |    // "If a block has no block-level location layout qualifier, it is required that either all or none of its members
10949|       |    // have a location layout qualifier, or a compile-time error results."
10950|     63|    if (! qualifier.hasLocation() && memberWithLocation && memberWithoutLocation)
  ------------------
  |  Branch (10950:9): [True: 63, False: 0]
  |  Branch (10950:38): [True: 0, False: 63]
  |  Branch (10950:60): [True: 0, False: 0]
  ------------------
10951|      0|        error(loc, "either the block needs a location, or all members need a location, or no members have a location", "location", "");
10952|     63|    else {
10953|     63|        if (memberWithLocation) {
  ------------------
  |  Branch (10953:13): [True: 0, False: 63]
  ------------------
10954|       |            // remove any block-level location and make it per *every* member
10955|      0|            int nextLocation = 0;  // by the rule above, initial value is not relevant
10956|      0|            if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (10956:17): [True: 0, False: 0]
  ------------------
10957|      0|                nextLocation = qualifier.layoutLocation;
10958|      0|                qualifier.layoutLocation = TQualifier::layoutLocationEnd;
10959|      0|                if (qualifier.hasComponent()) {
  ------------------
  |  Branch (10959:21): [True: 0, False: 0]
  ------------------
10960|       |                    // "It is a compile-time error to apply the *component* qualifier to a ... block"
10961|      0|                    error(loc, "cannot apply to a block", "component", "");
10962|      0|                }
10963|      0|                if (qualifier.hasIndex()) {
  ------------------
  |  Branch (10963:21): [True: 0, False: 0]
  ------------------
10964|      0|                    error(loc, "cannot apply to a block", "index", "");
10965|      0|                }
10966|      0|            }
10967|      0|            for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (10967:43): [True: 0, False: 0]
  ------------------
10968|      0|                TQualifier& memberQualifier = typeList[member].type->getQualifier();
10969|      0|                const TSourceLoc& memberLoc = typeList[member].loc;
10970|      0|                if (! memberQualifier.hasLocation()) {
  ------------------
  |  Branch (10970:21): [True: 0, False: 0]
  ------------------
10971|      0|                    if (nextLocation >= (int)TQualifier::layoutLocationEnd)
  ------------------
  |  Branch (10971:25): [True: 0, False: 0]
  ------------------
10972|      0|                        error(memberLoc, "location is too large", "location", "");
10973|      0|                    memberQualifier.layoutLocation = nextLocation;
10974|      0|                    memberQualifier.layoutComponent = TQualifier::layoutComponentEnd;
10975|      0|                }
10976|      0|                nextLocation = memberQualifier.layoutLocation + intermediate.computeTypeLocationSize(
10977|      0|                                    *typeList[member].type, language);
10978|      0|            }
10979|      0|        }
10980|     63|    }
10981|     63|}
_ZN7glslang13TParseContext13fixXfbOffsetsERNS_10TQualifierERNS_7TVectorINS_8TTypeLocEEE:
10984|     63|{
10985|       |    // "If a block is qualified with xfb_offset, all its
10986|       |    // members are assigned transform feedback buffer offsets. If a block is not qualified with xfb_offset, any
10987|       |    // members of that block not qualified with an xfb_offset will not be assigned transform feedback buffer
10988|       |    // offsets."
10989|       |
10990|     63|    if (! qualifier.hasXfbBuffer() || ! qualifier.hasXfbOffset())
  ------------------
  |  Branch (10990:9): [True: 63, False: 0]
  |  Branch (10990:39): [True: 0, False: 0]
  ------------------
10991|     63|        return;
10992|       |
10993|      0|    int nextOffset = qualifier.layoutXfbOffset;
10994|      0|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (10994:35): [True: 0, False: 0]
  ------------------
10995|      0|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
10996|      0|        bool contains64BitType = false;
10997|      0|        bool contains32BitType = false;
10998|      0|        bool contains16BitType = false;
10999|      0|        int memberSize = intermediate.computeTypeXfbSize(*typeList[member].type, contains64BitType, contains32BitType, contains16BitType);
11000|       |        // see if we need to auto-assign an offset to this member
11001|      0|        if (! memberQualifier.hasXfbOffset()) {
  ------------------
  |  Branch (11001:13): [True: 0, False: 0]
  ------------------
11002|       |            // "if applied to an aggregate containing a double or 64-bit integer, the offset must also be a multiple of 8"
11003|      0|            if (contains64BitType)
  ------------------
  |  Branch (11003:17): [True: 0, False: 0]
  ------------------
11004|      0|                RoundToPow2(nextOffset, 8);
11005|      0|            else if (contains32BitType)
  ------------------
  |  Branch (11005:22): [True: 0, False: 0]
  ------------------
11006|      0|                RoundToPow2(nextOffset, 4);
11007|      0|            else if (contains16BitType)
  ------------------
  |  Branch (11007:22): [True: 0, False: 0]
  ------------------
11008|      0|                RoundToPow2(nextOffset, 2);
11009|      0|            memberQualifier.layoutXfbOffset = nextOffset;
11010|      0|        } else
11011|      0|            nextOffset = memberQualifier.layoutXfbOffset;
11012|      0|        nextOffset += memberSize;
11013|      0|    }
11014|       |
11015|       |    // The above gave all block members an offset, so we can take it off the block now,
11016|       |    // which will avoid double counting the offset usage.
11017|      0|    qualifier.layoutXfbOffset = TQualifier::layoutXfbOffsetEnd;
11018|      0|}
_ZN7glslang13TParseContext22fixBlockUniformOffsetsERNS_10TQualifierERNS_7TVectorINS_8TTypeLocEEE:
11027|     63|{
11028|     63|    if (!storageCanHaveLayoutInBlock(qualifier.storage) && !qualifier.isTaskMemory())
  ------------------
  |  Branch (11028:9): [True: 63, False: 0]
  |  Branch (11028:60): [True: 63, False: 0]
  ------------------
11029|     63|        return;
11030|      0|    if (qualifier.layoutPacking != ElpStd140 && qualifier.layoutPacking != ElpStd430 && qualifier.layoutPacking != ElpScalar)
  ------------------
  |  Branch (11030:9): [True: 0, False: 0]
  |  Branch (11030:49): [True: 0, False: 0]
  |  Branch (11030:89): [True: 0, False: 0]
  ------------------
11031|      0|        return;
11032|       |
11033|      0|    int offset = 0;
11034|      0|    int memberSize;
11035|      0|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11035:35): [True: 0, False: 0]
  ------------------
11036|      0|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
11037|      0|        const TSourceLoc& memberLoc = typeList[member].loc;
11038|       |
11039|       |        // "When align is applied to an array, it effects only the start of the array, not the array's internal stride."
11040|       |
11041|       |        // modify just the children's view of matrix layout, if there is one for this member
11042|      0|        TLayoutMatrix subMatrixLayout = typeList[member].type->getQualifier().layoutMatrix;
11043|      0|        int dummyStride;
11044|      0|        int memberAlignment = intermediate.getMemberAlignment(*typeList[member].type, memberSize, dummyStride, qualifier.layoutPacking,
11045|      0|                                                              subMatrixLayout != ElmNone ? subMatrixLayout == ElmRowMajor : qualifier.layoutMatrix == ElmRowMajor);
  ------------------
  |  Branch (11045:63): [True: 0, False: 0]
  ------------------
11046|      0|        if (memberQualifier.hasOffset()) {
  ------------------
  |  Branch (11046:13): [True: 0, False: 0]
  ------------------
11047|       |            // "The specified offset must be a multiple
11048|       |            // of the base alignment of the type of the block member it qualifies, or a compile-time error results."
11049|      0|            if (! IsMultipleOfPow2(memberQualifier.layoutOffset, memberAlignment))
  ------------------
  |  Branch (11049:17): [True: 0, False: 0]
  ------------------
11050|      0|                error(memberLoc, "must be a multiple of the member's alignment", "offset",
11051|      0|                    "(layout offset = %d | member alignment = %d)", memberQualifier.layoutOffset, memberAlignment);
11052|       |
11053|       |            // GLSL: "It is a compile-time error to specify an offset that is smaller than the offset of the previous
11054|       |            // member in the block or that lies within the previous member of the block"
11055|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (11055:17): [True: 0, False: 0]
  ------------------
11056|      0|                if (memberQualifier.layoutOffset < offset)
  ------------------
  |  Branch (11056:21): [True: 0, False: 0]
  ------------------
11057|      0|                    error(memberLoc, "cannot lie in previous members", "offset", "");
11058|       |
11059|       |                // "The offset qualifier forces the qualified member to start at or after the specified
11060|       |                // integral-constant expression, which will be its byte offset from the beginning of the buffer.
11061|       |                // "The actual offset of a member is computed as
11062|       |                // follows: If offset was declared, start with that offset, otherwise start with the next available offset."
11063|      0|                offset = std::max(offset, memberQualifier.layoutOffset);
11064|      0|            } else {
11065|       |                // TODO: Vulkan: "It is a compile-time error to have any offset, explicit or assigned,
11066|       |                // that lies within another member of the block."
11067|       |
11068|      0|                offset = memberQualifier.layoutOffset;
11069|      0|            }
11070|      0|        }
11071|       |
11072|       |        // "The actual alignment of a member will be the greater of the specified align alignment and the standard
11073|       |        // (e.g., std140) base alignment for the member's type."
11074|      0|        if (memberQualifier.hasAlign())
  ------------------
  |  Branch (11074:13): [True: 0, False: 0]
  ------------------
11075|      0|            memberAlignment = std::max(memberAlignment, memberQualifier.layoutAlign);
11076|       |
11077|       |        // "If the resulting offset is not a multiple of the actual alignment,
11078|       |        // increase it to the first offset that is a multiple of
11079|       |        // the actual alignment."
11080|      0|        RoundToPow2(offset, memberAlignment);
11081|      0|        typeList[member].type->getQualifier().layoutOffset = offset;
11082|      0|        offset += memberSize;
11083|      0|    }
11084|      0|}
_ZN7glslang13TParseContext27fixBlockUniformLayoutMatrixERNS_10TQualifierEPNS_7TVectorINS_8TTypeLocEEES6_:
11092|     63|{
11093|     63|    assert(tmpTypeList == nullptr || originTypeList->size() == tmpTypeList->size());
11094|    406|    for (unsigned int member = 0; member < originTypeList->size(); ++member) {
  ------------------
  |  Branch (11094:35): [True: 343, False: 63]
  ------------------
11095|    343|        if (qualifier.layoutPacking != ElpNone) {
  ------------------
  |  Branch (11095:13): [True: 0, False: 343]
  ------------------
11096|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11096:17): [True: 0, False: 0]
  ------------------
11097|      0|                if (((*originTypeList)[member].type->isMatrix() ||
  ------------------
  |  Branch (11097:22): [True: 0, False: 0]
  ------------------
11098|      0|                     (*originTypeList)[member].type->getBasicType() == EbtStruct) &&
  ------------------
  |  Branch (11098:22): [True: 0, False: 0]
  ------------------
11099|      0|                    (*originTypeList)[member].type->getQualifier().layoutMatrix == ElmNone) {
  ------------------
  |  Branch (11099:21): [True: 0, False: 0]
  ------------------
11100|      0|                    (*originTypeList)[member].type->getQualifier().layoutMatrix = qualifier.layoutMatrix;
11101|      0|                }
11102|      0|            } else {
11103|      0|                if (((*tmpTypeList)[member].type->isMatrix() ||
  ------------------
  |  Branch (11103:22): [True: 0, False: 0]
  ------------------
11104|      0|                     (*tmpTypeList)[member].type->getBasicType() == EbtStruct) &&
  ------------------
  |  Branch (11104:22): [True: 0, False: 0]
  ------------------
11105|      0|                    (*tmpTypeList)[member].type->getQualifier().layoutMatrix == ElmNone) {
  ------------------
  |  Branch (11105:21): [True: 0, False: 0]
  ------------------
11106|      0|                    (*tmpTypeList)[member].type->getQualifier().layoutMatrix = qualifier.layoutMatrix;
11107|      0|                }
11108|      0|            }
11109|      0|        }
11110|       |
11111|    343|        if ((*originTypeList)[member].type->getBasicType() == EbtStruct) {
  ------------------
  |  Branch (11111:13): [True: 0, False: 343]
  ------------------
11112|      0|            TQualifier* memberQualifier = nullptr;
11113|       |            // block member can be declare a matrix style, so it should be update to the member's style
11114|      0|            if ((*originTypeList)[member].type->getQualifier().layoutMatrix == ElmNone) {
  ------------------
  |  Branch (11114:17): [True: 0, False: 0]
  ------------------
11115|      0|                memberQualifier = &qualifier;
11116|      0|            } else {
11117|      0|                memberQualifier = &((*originTypeList)[member].type->getQualifier());
11118|      0|            }
11119|       |
11120|      0|            const TType* tmpType = tmpTypeList == nullptr ?
  ------------------
  |  Branch (11120:36): [True: 0, False: 0]
  ------------------
11121|      0|                (*originTypeList)[member].type->clone() : (*tmpTypeList)[member].type;
11122|       |
11123|      0|            fixBlockUniformLayoutMatrix(*memberQualifier, (*originTypeList)[member].type->getWritableStruct(),
11124|      0|                                        tmpType->getWritableStruct());
11125|       |
11126|      0|            const TTypeList* structure = recordStructCopy(matrixFixRecord, (*originTypeList)[member].type, tmpType);
11127|       |
11128|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11128:17): [True: 0, False: 0]
  ------------------
11129|      0|                (*originTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11130|      0|            }
11131|      0|            if (tmpTypeList != nullptr) {
  ------------------
  |  Branch (11131:17): [True: 0, False: 0]
  ------------------
11132|      0|                (*tmpTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11133|      0|            }
11134|      0|        }
11135|    343|    }
11136|     63|}
_ZN7glslang13TParseContext28fixBlockUniformLayoutPackingERNS_10TQualifierEPNS_7TVectorINS_8TTypeLocEEES6_:
11144|     63|{
11145|     63|    assert(tmpTypeList == nullptr || originTypeList->size() == tmpTypeList->size());
11146|    406|    for (unsigned int member = 0; member < originTypeList->size(); ++member) {
  ------------------
  |  Branch (11146:35): [True: 343, False: 63]
  ------------------
11147|    343|        if (qualifier.layoutPacking != ElpNone) {
  ------------------
  |  Branch (11147:13): [True: 0, False: 343]
  ------------------
11148|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11148:17): [True: 0, False: 0]
  ------------------
11149|      0|                if ((*originTypeList)[member].type->getQualifier().layoutPacking == ElpNone &&
  ------------------
  |  Branch (11149:21): [True: 0, False: 0]
  ------------------
11150|      0|                    !(*originTypeList)[member].type->isScalarOrVector()) {
  ------------------
  |  Branch (11150:21): [True: 0, False: 0]
  ------------------
11151|      0|                    (*originTypeList)[member].type->getQualifier().layoutPacking = qualifier.layoutPacking;
11152|      0|                }
11153|      0|            } else {
11154|      0|                if ((*tmpTypeList)[member].type->getQualifier().layoutPacking == ElpNone &&
  ------------------
  |  Branch (11154:21): [True: 0, False: 0]
  ------------------
11155|      0|                    !(*tmpTypeList)[member].type->isScalarOrVector()) {
  ------------------
  |  Branch (11155:21): [True: 0, False: 0]
  ------------------
11156|      0|                    (*tmpTypeList)[member].type->getQualifier().layoutPacking = qualifier.layoutPacking;
11157|      0|                }
11158|      0|            }
11159|      0|        }
11160|       |
11161|    343|        if ((*originTypeList)[member].type->getBasicType() == EbtStruct) {
  ------------------
  |  Branch (11161:13): [True: 0, False: 343]
  ------------------
11162|       |            // Deep copy the type in pool.
11163|       |            // Because, struct use in different block may have different layout qualifier.
11164|       |            // We have to new a object to distinguish between them.
11165|      0|            const TType* tmpType = tmpTypeList == nullptr ?
  ------------------
  |  Branch (11165:36): [True: 0, False: 0]
  ------------------
11166|      0|                (*originTypeList)[member].type->clone() : (*tmpTypeList)[member].type;
11167|       |
11168|      0|            fixBlockUniformLayoutPacking(qualifier, (*originTypeList)[member].type->getWritableStruct(),
11169|      0|                                         tmpType->getWritableStruct());
11170|       |
11171|      0|            const TTypeList* structure = recordStructCopy(packingFixRecord, (*originTypeList)[member].type, tmpType);
11172|       |
11173|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11173:17): [True: 0, False: 0]
  ------------------
11174|      0|                (*originTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11175|      0|            }
11176|      0|            if (tmpTypeList != nullptr) {
  ------------------
  |  Branch (11176:17): [True: 0, False: 0]
  ------------------
11177|      0|                (*tmpTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11178|      0|            }
11179|      0|        }
11180|    343|    }
11181|     63|}
_ZN7glslang13TParseContext14invariantCheckERKNS_10TSourceLocERKNS_10TQualifierE:
11261|  11.0k|{
11262|  11.0k|    if (! qualifier.invariant)
  ------------------
  |  Branch (11262:9): [True: 11.0k, False: 0]
  ------------------
11263|  11.0k|        return;
11264|       |
11265|      0|    bool pipeOut = qualifier.isPipeOutput();
11266|      0|    bool pipeIn = qualifier.isPipeInput();
11267|      0|    if ((version >= 300 && isEsProfile()) || (!isEsProfile() && version >= 420)) {
  ------------------
  |  Branch (11267:10): [True: 0, False: 0]
  |  Branch (11267:28): [True: 0, False: 0]
  |  Branch (11267:47): [True: 0, False: 0]
  |  Branch (11267:65): [True: 0, False: 0]
  ------------------
11268|      0|        if (! pipeOut)
  ------------------
  |  Branch (11268:13): [True: 0, False: 0]
  ------------------
11269|      0|            error(loc, "can only apply to an output", "invariant", "");
11270|      0|    } else {
11271|      0|        if ((language == EShLangVertex && pipeIn) || (! pipeOut && ! pipeIn))
  ------------------
  |  Branch (11271:14): [True: 0, False: 0]
  |  Branch (11271:43): [True: 0, False: 0]
  |  Branch (11271:55): [True: 0, False: 0]
  |  Branch (11271:68): [True: 0, False: 0]
  ------------------
11272|      0|            error(loc, "can only apply to an output, or to an input in a non-vertex stage\n", "invariant", "");
11273|      0|    }
11274|      0|}
ParseHelper.cpp:_ZN7glslangL27storageCanHaveLayoutInBlockENS_17TStorageQualifierE:
 8032|     63|{
 8033|     63|    switch (storage) {
 8034|      0|    case EvqUniform:
  ------------------
  |  Branch (8034:5): [True: 0, False: 63]
  ------------------
 8035|      0|    case EvqBuffer:
  ------------------
  |  Branch (8035:5): [True: 0, False: 63]
  ------------------
 8036|      0|    case EvqShared:
  ------------------
  |  Branch (8036:5): [True: 0, False: 63]
  ------------------
 8037|      0|    case EvqSamplerHeap:
  ------------------
  |  Branch (8037:5): [True: 0, False: 63]
  ------------------
 8038|      0|    case EvqResourceHeap:
  ------------------
  |  Branch (8038:5): [True: 0, False: 63]
  ------------------
 8039|      0|        return true;
 8040|     63|    default:
  ------------------
  |  Branch (8040:5): [True: 63, False: 0]
  ------------------
 8041|     63|        return false;
 8042|     63|    }
 8043|     63|}

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

_ZN7glslang13TInputScanner17consumeWhiteSpaceERb:
   67|  1.00M|{
   68|  1.00M|    int c = peek();  // don't accidentally consume anything other than whitespace
   69|  1.14M|    while (c == ' ' || c == '\t' || c == '\r' || c == '\n') {
  ------------------
  |  Branch (69:12): [True: 126k, False: 1.01M]
  |  Branch (69:24): [True: 6.12k, False: 1.01M]
  |  Branch (69:37): [True: 1.24k, False: 1.01M]
  |  Branch (69:50): [True: 4.10k, False: 1.00M]
  ------------------
   70|   138k|        if (c == '\r' || c == '\n')
  ------------------
  |  Branch (70:13): [True: 1.24k, False: 137k]
  |  Branch (70:26): [True: 4.10k, False: 132k]
  ------------------
   71|  5.35k|            foundNonSpaceTab = true;
   72|   138k|        get();
   73|   138k|        c = peek();
   74|   138k|    }
   75|  1.00M|}
_ZN7glslang13TInputScanner14consumeCommentEv:
   79|   654k|{
   80|   654k|    if (peek() != '/')
  ------------------
  |  Branch (80:9): [True: 0, False: 654k]
  ------------------
   81|      0|        return false;
   82|       |
   83|   654k|    get();  // consume the '/'
   84|   654k|    int c = peek();
   85|   654k|    if (c == '/') {
  ------------------
  |  Branch (85:9): [True: 51.5k, False: 602k]
  ------------------
   86|       |
   87|       |        // a '//' style comment
   88|  51.5k|        get();  // consume the second '/'
   89|  51.5k|        c = get();
   90|  78.5k|        do {
   91|   825k|            while (c != EndOfInput && c != '\\' && c != '\r' && c != '\n')
  ------------------
  |  Branch (91:20): [True: 825k, False: 7]
  |  Branch (91:39): [True: 798k, False: 27.0k]
  |  Branch (91:52): [True: 781k, False: 17.0k]
  |  Branch (91:65): [True: 747k, False: 34.4k]
  ------------------
   92|   747k|                c = get();
   93|       |
   94|  78.5k|            if (c == EndOfInput || c == '\r' || c == '\n') {
  ------------------
  |  Branch (94:17): [True: 7, False: 78.5k]
  |  Branch (94:36): [True: 17.0k, False: 61.4k]
  |  Branch (94:49): [True: 34.4k, False: 27.0k]
  ------------------
   95|   117k|                while (c == '\r' || c == '\n')
  ------------------
  |  Branch (95:24): [True: 17.2k, False: 100k]
  |  Branch (95:37): [True: 49.1k, False: 51.5k]
  ------------------
   96|  66.3k|                    c = get();
   97|       |
   98|       |                // we reached the end of the comment
   99|  51.5k|                break;
  100|  51.5k|            } else {
  101|       |                // it's a '\', so we need to keep going, after skipping what's escaped
  102|       |
  103|       |                // read the skipped character
  104|  27.0k|                c = get();
  105|       |
  106|       |                // if it's a two-character newline, skip both characters
  107|  27.0k|                if (c == '\r' && peek() == '\n')
  ------------------
  |  Branch (107:21): [True: 16.2k, False: 10.7k]
  |  Branch (107:34): [True: 510, False: 15.7k]
  ------------------
  108|    510|                    get();
  109|  27.0k|                c = get();
  110|  27.0k|            }
  111|  78.5k|        } while (true);
  ------------------
  |  Branch (111:18): [True: 27.0k, Folded]
  ------------------
  112|       |
  113|       |        // put back the last non-comment character
  114|  51.5k|        if (c != EndOfInput)
  ------------------
  |  Branch (114:13): [True: 51.4k, False: 7]
  ------------------
  115|  51.4k|            unget();
  116|       |
  117|  51.5k|        return true;
  118|   602k|    } else if (c == '*') {
  ------------------
  |  Branch (118:16): [True: 3.64k, False: 598k]
  ------------------
  119|       |
  120|       |        // a '/*' style comment
  121|  3.64k|        get();  // consume the '*'
  122|  3.64k|        c = get();
  123|  8.32k|        do {
  124|  1.52M|            while (c != EndOfInput && c != '*')
  ------------------
  |  Branch (124:20): [True: 1.52M, False: 3]
  |  Branch (124:39): [True: 1.51M, False: 8.32k]
  ------------------
  125|  1.51M|                c = get();
  126|  8.32k|            if (c == '*') {
  ------------------
  |  Branch (126:17): [True: 8.32k, False: 3]
  ------------------
  127|  8.32k|                c = get();
  128|  8.32k|                if (c == '/')
  ------------------
  |  Branch (128:21): [True: 3.63k, False: 4.68k]
  ------------------
  129|  3.63k|                    break;  // end of comment
  130|       |                // not end of comment
  131|  8.32k|            } else // end of input
  132|      3|                break;
  133|  8.32k|        } while (true);
  ------------------
  |  Branch (133:18): [True: 4.68k, Folded]
  ------------------
  134|       |
  135|  3.64k|        return true;
  136|   598k|    } else {
  137|       |        // it's not a comment, put the '/' back
  138|   598k|        unget();
  139|       |
  140|   598k|        return false;
  141|   598k|    }
  142|   654k|}
_ZN7glslang13TInputScanner24consumeWhitespaceCommentERb:
  146|   951k|{
  147|  1.00M|    do {
  148|  1.00M|        consumeWhiteSpace(foundNonSpaceTab);
  149|       |
  150|       |        // if not starting a comment now, then done
  151|  1.00M|        int c = peek();
  152|  1.00M|        if (c != '/' || c == EndOfInput)
  ------------------
  |  Branch (152:13): [True: 352k, False: 654k]
  |  Branch (152:25): [True: 0, False: 654k]
  ------------------
  153|   352k|            return;
  154|       |
  155|       |        // skip potential comment
  156|   654k|        foundNonSpaceTab = true;
  157|   654k|        if (! consumeComment())
  ------------------
  |  Branch (157:13): [True: 598k, False: 55.1k]
  ------------------
  158|   598k|            return;
  159|       |
  160|   654k|    } while (true);
  ------------------
  |  Branch (160:14): [True: 55.1k, Folded]
  ------------------
  161|   951k|}
_ZN7glslang13TInputScanner11scanVersionERiR8EProfileRb:
  175|     46|{
  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|     46|    bool versionNotFirst = false;  // means not first WRT comments and white space, nothing more
  181|     46|    notFirstToken = false;         // means not first WRT to real tokens
  182|     46|    version = 0;                   // means not found
  183|     46|    profile = ENoProfile;
  184|       |
  185|     46|    bool foundNonSpaceTab = false;
  186|     46|    bool lookingInMiddle = false;
  187|     46|    int c;
  188|   951k|    do {
  189|   951k|        if (lookingInMiddle) {
  ------------------
  |  Branch (189:13): [True: 951k, False: 46]
  ------------------
  190|   951k|            notFirstToken = true;
  191|       |            // make forward progress by finishing off the current line plus extra new lines
  192|   951k|            if (peek() != '\n' && peek() != '\r') {
  ------------------
  |  Branch (192:17): [True: 860k, False: 90.8k]
  |  Branch (192:35): [True: 257k, False: 603k]
  ------------------
  193|  5.78M|                do {
  194|  5.78M|                    c = get();
  195|  5.78M|                } while (c != EndOfInput && c != '\n' && c != '\r');
  ------------------
  |  Branch (195:26): [True: 5.78M, False: 38]
  |  Branch (195:45): [True: 5.60M, False: 182k]
  |  Branch (195:58): [True: 5.52M, False: 75.0k]
  ------------------
  196|   257k|            }
  197|  1.74M|            while (peek() == '\n' || peek() == '\r')
  ------------------
  |  Branch (197:20): [True: 157k, False: 1.58M]
  |  Branch (197:38): [True: 635k, False: 951k]
  ------------------
  198|   793k|                get();
  199|   951k|            if (peek() == EndOfInput)
  ------------------
  |  Branch (199:17): [True: 41, False: 951k]
  ------------------
  200|     41|                return true;
  201|   951k|        }
  202|   951k|        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|   951k|        consumeWhitespaceComment(foundNonSpaceTab);
  207|   951k|        if (foundNonSpaceTab)
  ------------------
  |  Branch (207:13): [True: 921k, False: 29.7k]
  ------------------
  208|   921k|            versionNotFirst = true;
  209|       |
  210|       |        // "#"
  211|   951k|        if (get() != '#') {
  ------------------
  |  Branch (211:13): [True: 786k, False: 164k]
  ------------------
  212|   786k|            versionNotFirst = true;
  213|   786k|            continue;
  214|   786k|        }
  215|       |
  216|       |        // whitespace
  217|   169k|        do {
  218|   169k|            c = get();
  219|   169k|        } while (c == ' ' || c == '\t');
  ------------------
  |  Branch (219:18): [True: 3.36k, False: 166k]
  |  Branch (219:30): [True: 1.74k, False: 164k]
  ------------------
  220|       |
  221|       |        // "version"
  222|   164k|        if (    c != 'v' ||
  ------------------
  |  Branch (222:17): [True: 43.5k, False: 120k]
  ------------------
  223|   120k|            get() != 'e' ||
  ------------------
  |  Branch (223:13): [True: 60.2k, False: 60.5k]
  ------------------
  224|  60.5k|            get() != 'r' ||
  ------------------
  |  Branch (224:13): [True: 5.21k, False: 55.3k]
  ------------------
  225|  55.3k|            get() != 's' ||
  ------------------
  |  Branch (225:13): [True: 11.1k, False: 44.2k]
  ------------------
  226|  44.2k|            get() != 'i' ||
  ------------------
  |  Branch (226:13): [True: 30.2k, False: 13.9k]
  ------------------
  227|  13.9k|            get() != 'o' ||
  ------------------
  |  Branch (227:13): [True: 1.46k, False: 12.5k]
  ------------------
  228|   154k|            get() != 'n') {
  ------------------
  |  Branch (228:13): [True: 2.60k, False: 9.90k]
  ------------------
  229|   154k|            versionNotFirst = true;
  230|   154k|            continue;
  231|   154k|        }
  232|       |
  233|       |        // whitespace
  234|  19.3k|        do {
  235|  19.3k|            c = get();
  236|  19.3k|        } while (c == ' ' || c == '\t');
  ------------------
  |  Branch (236:18): [True: 9.41k, False: 9.90k]
  |  Branch (236:30): [True: 0, False: 9.90k]
  ------------------
  237|       |
  238|       |        // version number
  239|  9.97k|        while (c >= '0' && c <= '9') {
  ------------------
  |  Branch (239:16): [True: 321, False: 9.65k]
  |  Branch (239:28): [True: 69, False: 252]
  ------------------
  240|     69|            version = 10 * version + (c - '0');
  241|     69|            c = get();
  242|     69|        }
  243|  9.90k|        if (version == 0) {
  ------------------
  |  Branch (243:13): [True: 9.86k, False: 44]
  ------------------
  244|  9.86k|            versionNotFirst = true;
  245|  9.86k|            continue;
  246|  9.86k|        }
  247|       |
  248|       |        // whitespace
  249|    105|        while (c == ' ' || c == '\t')
  ------------------
  |  Branch (249:16): [True: 61, False: 44]
  |  Branch (249:28): [True: 0, False: 44]
  ------------------
  250|     61|            c = get();
  251|       |
  252|       |        // profile
  253|     44|        const int maxProfileLength = 13;  // not including any 0
  254|     44|        char profileString[maxProfileLength];
  255|     44|        int profileLength;
  256|    554|        for (profileLength = 0; profileLength < maxProfileLength; ++profileLength) {
  ------------------
  |  Branch (256:33): [True: 515, False: 39]
  ------------------
  257|    515|            if (c == EndOfInput || c == ' ' || c == '\t' || c == '\n' || c == '\r')
  ------------------
  |  Branch (257:17): [True: 0, False: 515]
  |  Branch (257:36): [True: 0, False: 515]
  |  Branch (257:48): [True: 0, False: 515]
  |  Branch (257:61): [True: 4, False: 511]
  |  Branch (257:74): [True: 1, False: 510]
  ------------------
  258|      5|                break;
  259|    510|            profileString[profileLength] = (char)c;
  260|    510|            c = get();
  261|    510|        }
  262|     44|        if (c != EndOfInput && c != ' ' && c != '\t' && c != '\n' && c != '\r') {
  ------------------
  |  Branch (262:13): [True: 44, False: 0]
  |  Branch (262:32): [True: 44, False: 0]
  |  Branch (262:44): [True: 44, False: 0]
  |  Branch (262:57): [True: 40, False: 4]
  |  Branch (262:70): [True: 39, False: 1]
  ------------------
  263|     39|            versionNotFirst = true;
  264|     39|            continue;
  265|     39|        }
  266|       |
  267|      5|        if (profileLength == 2 && strncmp(profileString, "es", profileLength) == 0)
  ------------------
  |  Branch (267:13): [True: 0, False: 5]
  |  Branch (267:35): [True: 0, False: 0]
  ------------------
  268|      0|            profile = EEsProfile;
  269|      5|        else if (profileLength == 4 && strncmp(profileString, "core", profileLength) == 0)
  ------------------
  |  Branch (269:18): [True: 0, False: 5]
  |  Branch (269:40): [True: 0, False: 0]
  ------------------
  270|      0|            profile = ECoreProfile;
  271|      5|        else if (profileLength == 13 && strncmp(profileString, "compatibility", profileLength) == 0)
  ------------------
  |  Branch (271:18): [True: 0, False: 5]
  |  Branch (271:41): [True: 0, False: 0]
  ------------------
  272|      0|            profile = ECompatibilityProfile;
  273|       |
  274|      5|        return versionNotFirst;
  275|   951k|    } while (true);
  ------------------
  |  Branch (275:14): [True: 951k, Folded]
  ------------------
  276|     46|}
_Z5yylexP7YYSTYPERN7glslang13TParseContextE:
  293|  1.18M|{
  294|  1.18M|    glslang::TParserToken token(*glslangTokenDesc);
  295|       |
  296|  1.18M|    return parseContext.getScanContext()->tokenize(parseContext.getPpContext(), token);
  297|  1.18M|}
_ZN7glslang12TScanContext8tokenizeEPNS_10TPpContextERNS_12TParserTokenE:
  833|  1.18M|{
  834|  1.18M|    do {
  835|  1.18M|        parserToken = &token;
  836|  1.18M|        TPpToken ppToken;
  837|  1.18M|        int token = pp->tokenize(ppToken);
  838|  1.18M|        if (token == EndOfInput)
  ------------------
  |  Branch (838:13): [True: 348, False: 1.18M]
  ------------------
  839|    348|            return 0;
  840|       |
  841|  1.18M|        tokenText = ppToken.name;
  842|  1.18M|        loc = ppToken.loc;
  843|  1.18M|        parserToken->sType.lex.loc = loc;
  844|  1.18M|        switch (token) {
  845|   110k|        case ';':  afterType = false; afterBuffer = false; inDeclaratorList = false; afterDeclarator = false; angleBracketDepth = 0; squareBracketDepth = 0; parenDepth = 0; return SEMICOLON;
  ------------------
  |  Branch (845:9): [True: 110k, False: 1.06M]
  ------------------
  846|   185k|        case ',':
  ------------------
  |  Branch (846:9): [True: 185k, False: 994k]
  ------------------
  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|   185k|            if (afterDeclarator) {
  ------------------
  |  Branch (851:17): [True: 0, False: 185k]
  ------------------
  852|      0|                inDeclaratorList = true;
  853|      0|            }
  854|   185k|            afterType = false;
  855|   185k|            afterDeclarator = false;
  856|   185k|            return COMMA;
  857|      0|        case ':':                       return COLON;
  ------------------
  |  Branch (857:9): [True: 0, False: 1.18M]
  ------------------
  858|  2.05k|        case '=':  afterType = false; inDeclaratorList = false; afterDeclarator = false; return EQUAL;
  ------------------
  |  Branch (858:9): [True: 2.05k, False: 1.17M]
  ------------------
  859|   104k|        case '(':  afterType = false; inDeclaratorList = false; afterDeclarator = false; parenDepth++; return LEFT_PAREN;
  ------------------
  |  Branch (859:9): [True: 104k, False: 1.07M]
  ------------------
  860|   104k|        case ')':  afterType = false; inDeclaratorList = false; afterDeclarator = false; if (parenDepth > 0) parenDepth--; return RIGHT_PAREN;
  ------------------
  |  Branch (860:9): [True: 104k, False: 1.07M]
  |  Branch (860:94): [True: 104k, False: 0]
  ------------------
  861|  1.26k|        case '.':  field = true;        return DOT;
  ------------------
  |  Branch (861:9): [True: 1.26k, False: 1.17M]
  ------------------
  862|      0|        case '!':                       return BANG;
  ------------------
  |  Branch (862:9): [True: 0, False: 1.18M]
  ------------------
  863|      6|        case '-':                       return DASH;
  ------------------
  |  Branch (863:9): [True: 6, False: 1.18M]
  ------------------
  864|      0|        case '~':                       return TILDE;
  ------------------
  |  Branch (864:9): [True: 0, False: 1.18M]
  ------------------
  865|      0|        case '+':                       return PLUS;
  ------------------
  |  Branch (865:9): [True: 0, False: 1.18M]
  ------------------
  866|      0|        case '*':                       return STAR;
  ------------------
  |  Branch (866:9): [True: 0, False: 1.18M]
  ------------------
  867|      1|        case '/':                       return SLASH;
  ------------------
  |  Branch (867:9): [True: 1, False: 1.18M]
  ------------------
  868|      0|        case '%':                       return PERCENT;
  ------------------
  |  Branch (868:9): [True: 0, False: 1.18M]
  ------------------
  869|      0|        case '<':                       angleBracketDepth++; return LEFT_ANGLE;
  ------------------
  |  Branch (869:9): [True: 0, False: 1.18M]
  ------------------
  870|      0|        case '>':                       if (angleBracketDepth > 0) angleBracketDepth--; return RIGHT_ANGLE;
  ------------------
  |  Branch (870:9): [True: 0, False: 1.18M]
  |  Branch (870:45): [True: 0, False: 0]
  ------------------
  871|      0|        case '|':                       return VERTICAL_BAR;
  ------------------
  |  Branch (871:9): [True: 0, False: 1.18M]
  ------------------
  872|      0|        case '^':                       return CARET;
  ------------------
  |  Branch (872:9): [True: 0, False: 1.18M]
  ------------------
  873|      0|        case '&':                       return AMPERSAND;
  ------------------
  |  Branch (873:9): [True: 0, False: 1.18M]
  ------------------
  874|      0|        case '?':                       return QUESTION;
  ------------------
  |  Branch (874:9): [True: 0, False: 1.18M]
  ------------------
  875|  10.1k|        case '[':                       squareBracketDepth++; return LEFT_BRACKET;
  ------------------
  |  Branch (875:9): [True: 10.1k, False: 1.17M]
  ------------------
  876|  10.1k|        case ']':                       if (squareBracketDepth > 0) squareBracketDepth--; return RIGHT_BRACKET;
  ------------------
  |  Branch (876:9): [True: 10.1k, False: 1.17M]
  |  Branch (876:45): [True: 10.1k, False: 0]
  ------------------
  877|    162|        case '{':  afterStruct = false; afterBuffer = false; inDeclaratorList = false; afterDeclarator = false; angleBracketDepth = 0; squareBracketDepth = 0; parenDepth = 0; return LEFT_BRACE;
  ------------------
  |  Branch (877:9): [True: 162, False: 1.18M]
  ------------------
  878|    162|        case '}':  inDeclaratorList = false; afterDeclarator = false; angleBracketDepth = 0; squareBracketDepth = 0; parenDepth = 0; return RIGHT_BRACE;
  ------------------
  |  Branch (878:9): [True: 162, False: 1.18M]
  ------------------
  879|      0|        case '\\':
  ------------------
  |  Branch (879:9): [True: 0, False: 1.18M]
  ------------------
  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: 1.18M]
  ------------------
  884|      0|        case PPAtomSubAssign:          return SUB_ASSIGN;
  ------------------
  |  Branch (884:9): [True: 0, False: 1.18M]
  ------------------
  885|      0|        case PPAtomMulAssign:          return MUL_ASSIGN;
  ------------------
  |  Branch (885:9): [True: 0, False: 1.18M]
  ------------------
  886|      0|        case PPAtomDivAssign:          return DIV_ASSIGN;
  ------------------
  |  Branch (886:9): [True: 0, False: 1.18M]
  ------------------
  887|      0|        case PPAtomModAssign:          return MOD_ASSIGN;
  ------------------
  |  Branch (887:9): [True: 0, False: 1.18M]
  ------------------
  888|       |
  889|      0|        case PpAtomRight:              return RIGHT_OP;
  ------------------
  |  Branch (889:9): [True: 0, False: 1.18M]
  ------------------
  890|      0|        case PpAtomLeft:               return LEFT_OP;
  ------------------
  |  Branch (890:9): [True: 0, False: 1.18M]
  ------------------
  891|       |
  892|      0|        case PpAtomRightAssign:        return RIGHT_ASSIGN;
  ------------------
  |  Branch (892:9): [True: 0, False: 1.18M]
  ------------------
  893|      0|        case PpAtomLeftAssign:         return LEFT_ASSIGN;
  ------------------
  |  Branch (893:9): [True: 0, False: 1.18M]
  ------------------
  894|      0|        case PpAtomAndAssign:          return AND_ASSIGN;
  ------------------
  |  Branch (894:9): [True: 0, False: 1.18M]
  ------------------
  895|      0|        case PpAtomOrAssign:           return OR_ASSIGN;
  ------------------
  |  Branch (895:9): [True: 0, False: 1.18M]
  ------------------
  896|      0|        case PpAtomXorAssign:          return XOR_ASSIGN;
  ------------------
  |  Branch (896:9): [True: 0, False: 1.18M]
  ------------------
  897|       |
  898|      0|        case PpAtomAnd:                return AND_OP;
  ------------------
  |  Branch (898:9): [True: 0, False: 1.18M]
  ------------------
  899|      0|        case PpAtomOr:                 return OR_OP;
  ------------------
  |  Branch (899:9): [True: 0, False: 1.18M]
  ------------------
  900|      0|        case PpAtomXor:                return XOR_OP;
  ------------------
  |  Branch (900:9): [True: 0, False: 1.18M]
  ------------------
  901|       |
  902|      0|        case PpAtomEQ:                 return EQ_OP;
  ------------------
  |  Branch (902:9): [True: 0, False: 1.18M]
  ------------------
  903|      0|        case PpAtomGE:                 return GE_OP;
  ------------------
  |  Branch (903:9): [True: 0, False: 1.18M]
  ------------------
  904|      0|        case PpAtomNE:                 return NE_OP;
  ------------------
  |  Branch (904:9): [True: 0, False: 1.18M]
  ------------------
  905|      0|        case PpAtomLE:                 return LE_OP;
  ------------------
  |  Branch (905:9): [True: 0, False: 1.18M]
  ------------------
  906|       |
  907|      0|        case PpAtomDecrement:          return DEC_OP;
  ------------------
  |  Branch (907:9): [True: 0, False: 1.18M]
  ------------------
  908|      0|        case PpAtomIncrement:          return INC_OP;
  ------------------
  |  Branch (908:9): [True: 0, False: 1.18M]
  ------------------
  909|       |
  910|      0|        case PpAtomColonColon:
  ------------------
  |  Branch (910:9): [True: 0, False: 1.18M]
  ------------------
  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: 1.18M]
  ------------------
  915|  3.12k|        case PpAtomConstInt:           parserToken->sType.lex.i    = ppToken.ival;       return INTCONSTANT;
  ------------------
  |  Branch (915:9): [True: 3.12k, False: 1.17M]
  ------------------
  916|    432|        case PpAtomConstUint:          parserToken->sType.lex.i    = ppToken.ival;       return UINTCONSTANT;
  ------------------
  |  Branch (916:9): [True: 432, False: 1.17M]
  ------------------
  917|      0|        case PpAtomConstFloat:         parserToken->sType.lex.d    = ppToken.dval;       return FLOATCONSTANT;
  ------------------
  |  Branch (917:9): [True: 0, False: 1.18M]
  ------------------
  918|      0|        case PpAtomConstInt16:         parserToken->sType.lex.i    = ppToken.ival;       return INT16CONSTANT;
  ------------------
  |  Branch (918:9): [True: 0, False: 1.18M]
  ------------------
  919|      0|        case PpAtomConstUint16:        parserToken->sType.lex.i    = ppToken.ival;       return UINT16CONSTANT;
  ------------------
  |  Branch (919:9): [True: 0, False: 1.18M]
  ------------------
  920|      0|        case PpAtomConstInt64:         parserToken->sType.lex.i64  = ppToken.i64val;     return INT64CONSTANT;
  ------------------
  |  Branch (920:9): [True: 0, False: 1.18M]
  ------------------
  921|      0|        case PpAtomConstUint64:        parserToken->sType.lex.i64  = ppToken.i64val;     return UINT64CONSTANT;
  ------------------
  |  Branch (921:9): [True: 0, False: 1.18M]
  ------------------
  922|      0|        case PpAtomConstDouble:        parserToken->sType.lex.d    = ppToken.dval;       return DOUBLECONSTANT;
  ------------------
  |  Branch (922:9): [True: 0, False: 1.18M]
  ------------------
  923|      0|        case PpAtomConstFloat16:       parserToken->sType.lex.d    = ppToken.dval;       return FLOAT16CONSTANT;
  ------------------
  |  Branch (923:9): [True: 0, False: 1.18M]
  ------------------
  924|   647k|        case PpAtomIdentifier:
  ------------------
  |  Branch (924:9): [True: 647k, False: 533k]
  ------------------
  925|   647k|        {
  926|   647k|            int token = tokenizeIdentifier();
  927|   647k|            field = false;
  928|   647k|            return token;
  929|      0|        }
  930|       |
  931|      0|        case EndOfInput:               return 0;
  ------------------
  |  Branch (931:9): [True: 0, False: 1.18M]
  ------------------
  932|       |
  933|      0|        default:
  ------------------
  |  Branch (933:9): [True: 0, False: 1.18M]
  ------------------
  934|      0|            char buf[2];
  935|      0|            buf[0] = (char)token;
  936|      0|            buf[1] = 0;
  937|      0|            parseContext.error(loc, "unexpected token", buf, "");
  938|      0|            break;
  939|  1.18M|        }
  940|  1.18M|    } while (true);
  ------------------
  |  Branch (940:14): [True: 0, Folded]
  ------------------
  941|  1.18M|}
_ZN7glslang12TScanContext18tokenizeIdentifierEv:
  944|   647k|{
  945|   647k|    if (ReservedSet.find(tokenText) != ReservedSet.end())
  ------------------
  |  Branch (945:9): [True: 0, False: 647k]
  ------------------
  946|      0|        return reservedWord();
  947|       |
  948|   647k|    auto it = KeywordMap.find(tokenText);
  949|   647k|    if (it == KeywordMap.end()) {
  ------------------
  |  Branch (949:9): [True: 166k, False: 480k]
  ------------------
  950|       |        // Should have an identifier of some sort
  951|   166k|        return identifierOrType();
  952|   166k|    }
  953|   480k|    keyword = it->second;
  954|       |
  955|   480k|    switch (keyword) {
  956|  1.63k|    case CONST:
  ------------------
  |  Branch (956:5): [True: 1.63k, False: 478k]
  ------------------
  957|  1.82k|    case UNIFORM:
  ------------------
  |  Branch (957:5): [True: 188, False: 480k]
  ------------------
  958|  1.82k|    case TILEIMAGEEXT:
  ------------------
  |  Branch (958:5): [True: 0, False: 480k]
  ------------------
  959|  4.62k|    case IN:
  ------------------
  |  Branch (959:5): [True: 2.80k, False: 477k]
  ------------------
  960|  16.8k|    case OUT:
  ------------------
  |  Branch (960:5): [True: 12.2k, False: 468k]
  ------------------
  961|  17.5k|    case INOUT:
  ------------------
  |  Branch (961:5): [True: 728, False: 479k]
  ------------------
  962|  17.5k|    case BREAK:
  ------------------
  |  Branch (962:5): [True: 0, False: 480k]
  ------------------
  963|  17.5k|    case CONTINUE:
  ------------------
  |  Branch (963:5): [True: 0, False: 480k]
  ------------------
  964|  17.5k|    case DO:
  ------------------
  |  Branch (964:5): [True: 0, False: 480k]
  ------------------
  965|  17.5k|    case FOR:
  ------------------
  |  Branch (965:5): [True: 0, False: 480k]
  ------------------
  966|  17.5k|    case WHILE:
  ------------------
  |  Branch (966:5): [True: 0, False: 480k]
  ------------------
  967|  17.5k|    case IF:
  ------------------
  |  Branch (967:5): [True: 0, False: 480k]
  ------------------
  968|  17.5k|    case ELSE:
  ------------------
  |  Branch (968:5): [True: 0, False: 480k]
  ------------------
  969|  17.5k|    case DISCARD:
  ------------------
  |  Branch (969:5): [True: 0, False: 480k]
  ------------------
  970|  17.5k|    case RETURN:
  ------------------
  |  Branch (970:5): [True: 0, False: 480k]
  ------------------
  971|  17.5k|    case CASE:
  ------------------
  |  Branch (971:5): [True: 0, False: 480k]
  ------------------
  972|  17.5k|        return keyword;
  973|       |
  974|      0|    case TERMINATE_INVOCATION:
  ------------------
  |  Branch (974:5): [True: 0, False: 480k]
  ------------------
  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: 480k]
  ------------------
  980|      0|    case IGNORE_INTERSECTION:
  ------------------
  |  Branch (980:5): [True: 0, False: 480k]
  ------------------
  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: 480k]
  ------------------
  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|     99|    case STRUCT:
  ------------------
  |  Branch (993:5): [True: 99, False: 480k]
  ------------------
  994|     99|        afterStruct = true;
  995|     99|        return keyword;
  996|       |
  997|      0|    case SWITCH:
  ------------------
  |  Branch (997:5): [True: 0, False: 480k]
  ------------------
  998|      0|    case DEFAULT:
  ------------------
  |  Branch (998:5): [True: 0, False: 480k]
  ------------------
  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|  8.11k|    case VOID:
  ------------------
  |  Branch (1004:5): [True: 8.11k, False: 472k]
  ------------------
 1005|  12.4k|    case BOOL:
  ------------------
  |  Branch (1005:5): [True: 4.35k, False: 476k]
  ------------------
 1006|  46.8k|    case FLOAT:
  ------------------
  |  Branch (1006:5): [True: 34.3k, False: 446k]
  ------------------
 1007|  99.1k|    case INT:
  ------------------
  |  Branch (1007:5): [True: 52.3k, False: 428k]
  ------------------
 1008|   102k|    case BVEC2:
  ------------------
  |  Branch (1008:5): [True: 2.89k, False: 477k]
  ------------------
 1009|   104k|    case BVEC3:
  ------------------
  |  Branch (1009:5): [True: 2.89k, False: 477k]
  ------------------
 1010|   107k|    case BVEC4:
  ------------------
  |  Branch (1010:5): [True: 2.89k, False: 477k]
  ------------------
 1011|   131k|    case VEC2:
  ------------------
  |  Branch (1011:5): [True: 23.6k, False: 456k]
  ------------------
 1012|   153k|    case VEC3:
  ------------------
  |  Branch (1012:5): [True: 21.8k, False: 458k]
  ------------------
 1013|   175k|    case VEC4:
  ------------------
  |  Branch (1013:5): [True: 22.1k, False: 458k]
  ------------------
 1014|   190k|    case IVEC2:
  ------------------
  |  Branch (1014:5): [True: 14.6k, False: 465k]
  ------------------
 1015|   200k|    case IVEC3:
  ------------------
  |  Branch (1015:5): [True: 10.1k, False: 470k]
  ------------------
 1016|   207k|    case IVEC4:
  ------------------
  |  Branch (1016:5): [True: 6.70k, False: 473k]
  ------------------
 1017|   207k|    case MAT2:
  ------------------
  |  Branch (1017:5): [True: 297, False: 480k]
  ------------------
 1018|   207k|    case MAT3:
  ------------------
  |  Branch (1018:5): [True: 297, False: 480k]
  ------------------
 1019|   207k|    case MAT4:
  ------------------
  |  Branch (1019:5): [True: 297, False: 480k]
  ------------------
 1020|   209k|    case SAMPLER2D:
  ------------------
  |  Branch (1020:5): [True: 1.89k, False: 478k]
  ------------------
 1021|   210k|    case SAMPLERCUBE:
  ------------------
  |  Branch (1021:5): [True: 591, False: 480k]
  ------------------
 1022|   210k|        afterType = true;
 1023|   210k|        return keyword;
 1024|       |
 1025|      0|    case BOOLCONSTANT:
  ------------------
  |  Branch (1025:5): [True: 0, False: 480k]
  ------------------
 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: 480k]
  ------------------
 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|    210|    case FLAT:
  ------------------
  |  Branch (1037:5): [True: 210, False: 480k]
  ------------------
 1038|    210|        if (parseContext.isEsProfile() && parseContext.version < 300)
  ------------------
  |  Branch (1038:13): [True: 0, False: 210]
  |  Branch (1038:43): [True: 0, False: 0]
  ------------------
 1039|      0|            reservedWord();
 1040|    210|        else if (!parseContext.isEsProfile() && parseContext.version < 130)
  ------------------
  |  Branch (1040:18): [True: 210, False: 0]
  |  Branch (1040:49): [True: 0, False: 210]
  ------------------
 1041|      0|            return identifierOrType();
 1042|    210|        return keyword;
 1043|      0|    case CENTROID:
  ------------------
  |  Branch (1043:5): [True: 0, False: 480k]
  ------------------
 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: 480k]
  ------------------
 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: 480k]
  ------------------
 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: 480k]
  ------------------
 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: 480k]
  ------------------
 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: 480k]
  ------------------
 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: 480k]
  ------------------
 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|      0|    case ATTRIBUTE:
  ------------------
  |  Branch (1079:5): [True: 0, False: 480k]
  ------------------
 1080|      0|    case VARYING:
  ------------------
  |  Branch (1080:5): [True: 0, False: 480k]
  ------------------
 1081|      0|        if (parseContext.isEsProfile() && parseContext.version >= 300)
  ------------------
  |  Branch (1081:13): [True: 0, False: 0]
  |  Branch (1081:43): [True: 0, False: 0]
  ------------------
 1082|      0|            reservedWord();
 1083|      0|        return keyword;
 1084|      0|    case PAYLOADNV:
  ------------------
  |  Branch (1084:5): [True: 0, False: 480k]
  ------------------
 1085|      0|    case PAYLOADINNV:
  ------------------
  |  Branch (1085:5): [True: 0, False: 480k]
  ------------------
 1086|      0|    case HITATTRNV:
  ------------------
  |  Branch (1086:5): [True: 0, False: 480k]
  ------------------
 1087|      0|    case CALLDATANV:
  ------------------
  |  Branch (1087:5): [True: 0, False: 480k]
  ------------------
 1088|      0|    case CALLDATAINNV:
  ------------------
  |  Branch (1088:5): [True: 0, False: 480k]
  ------------------
 1089|      0|    case ACCSTRUCTNV:
  ------------------
  |  Branch (1089:5): [True: 0, False: 480k]
  ------------------
 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: 480k]
  ------------------
 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: 480k]
  ------------------
 1102|      0|    case PAYLOADINEXT:
  ------------------
  |  Branch (1102:5): [True: 0, False: 480k]
  ------------------
 1103|      0|    case HITATTREXT:
  ------------------
  |  Branch (1103:5): [True: 0, False: 480k]
  ------------------
 1104|      0|    case CALLDATAEXT:
  ------------------
  |  Branch (1104:5): [True: 0, False: 480k]
  ------------------
 1105|      0|    case CALLDATAINEXT:
  ------------------
  |  Branch (1105:5): [True: 0, False: 480k]
  ------------------
 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: 480k]
  ------------------
 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|     72|    case ATOMIC_UINT:
  ------------------
  |  Branch (1117:5): [True: 72, False: 480k]
  ------------------
 1118|     72|        if ((parseContext.isEsProfile() && parseContext.version >= 310) ||
  ------------------
  |  Branch (1118:14): [True: 0, False: 72]
  |  Branch (1118:44): [True: 0, False: 0]
  ------------------
 1119|     72|            parseContext.extensionTurnedOn(E_GL_ARB_shader_atomic_counters))
  ------------------
  |  Branch (1119:13): [True: 0, False: 72]
  ------------------
 1120|      0|            return keyword;
 1121|     72|        return es30ReservedFromGLSL(420);
 1122|       |
 1123|  14.6k|    case COHERENT:
  ------------------
  |  Branch (1123:5): [True: 14.6k, False: 465k]
  ------------------
 1124|  14.6k|    case DEVICECOHERENT:
  ------------------
  |  Branch (1124:5): [True: 0, False: 480k]
  ------------------
 1125|  14.6k|    case QUEUEFAMILYCOHERENT:
  ------------------
  |  Branch (1125:5): [True: 0, False: 480k]
  ------------------
 1126|  14.6k|    case WORKGROUPCOHERENT:
  ------------------
  |  Branch (1126:5): [True: 0, False: 480k]
  ------------------
 1127|  14.6k|    case SUBGROUPCOHERENT:
  ------------------
  |  Branch (1127:5): [True: 0, False: 480k]
  ------------------
 1128|  14.6k|    case SHADERCALLCOHERENT:
  ------------------
  |  Branch (1128:5): [True: 0, False: 480k]
  ------------------
 1129|  14.6k|    case NONPRIVATE:
  ------------------
  |  Branch (1129:5): [True: 0, False: 480k]
  ------------------
 1130|  14.6k|    case RESTRICT:
  ------------------
  |  Branch (1130:5): [True: 0, False: 480k]
  ------------------
 1131|  16.8k|    case READONLY:
  ------------------
  |  Branch (1131:5): [True: 2.21k, False: 478k]
  ------------------
 1132|  18.5k|    case WRITEONLY:
  ------------------
  |  Branch (1132:5): [True: 1.67k, False: 478k]
  ------------------
 1133|  18.5k|        if (parseContext.isEsProfile() && parseContext.version >= 310)
  ------------------
  |  Branch (1133:13): [True: 0, False: 18.5k]
  |  Branch (1133:43): [True: 0, False: 0]
  ------------------
 1134|      0|            return keyword;
 1135|  18.5k|        return es30ReservedFromGLSL(parseContext.extensionTurnedOn(E_GL_ARB_shader_image_load_store) ? 130 : 420);
  ------------------
  |  Branch (1135:37): [True: 0, False: 18.5k]
  ------------------
 1136|  15.1k|    case VOLATILE:
  ------------------
  |  Branch (1136:5): [True: 15.1k, False: 465k]
  ------------------
 1137|  15.1k|        if (parseContext.isEsProfile() && parseContext.version >= 310)
  ------------------
  |  Branch (1137:13): [True: 0, False: 15.1k]
  |  Branch (1137:43): [True: 0, False: 0]
  ------------------
 1138|      0|            return keyword;
 1139|  15.1k|        if (! parseContext.symbolTable.atBuiltInLevel() && (parseContext.isEsProfile() ||
  ------------------
  |  Branch (1139:13): [True: 0, False: 15.1k]
  |  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|  15.1k|        return keyword;
 1143|  13.4k|    case NONTEMPORAL:
  ------------------
  |  Branch (1143:5): [True: 13.4k, False: 467k]
  ------------------
 1144|  13.4k|        if (parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (1144:13): [True: 13.4k, False: 0]
  ------------------
 1145|  13.4k|            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|     28|    case PATCH:
  ------------------
  |  Branch (1152:5): [True: 28, False: 480k]
  ------------------
 1153|     28|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1153:13): [True: 28, 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|     28|            return keyword;
 1159|       |
 1160|      0|        return es30ReservedFromGLSL(400);
 1161|       |
 1162|      0|    case SAMPLE: 
  ------------------
  |  Branch (1162:5): [True: 0, False: 480k]
  ------------------
 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: 480k]
  ------------------
 1173|      0|        return es30ReservedFromGLSL(400);
 1174|       |
 1175|      0|    case SHARED:
  ------------------
  |  Branch (1175:5): [True: 0, False: 480k]
  ------------------
 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: 480k]
  ------------------
 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|  14.5k|    case HIGH_PRECISION:
  ------------------
  |  Branch (1192:5): [True: 14.5k, False: 466k]
  ------------------
 1193|  15.2k|    case MEDIUM_PRECISION:
  ------------------
  |  Branch (1193:5): [True: 713, False: 479k]
  ------------------
 1194|  15.3k|    case LOW_PRECISION:
  ------------------
  |  Branch (1194:5): [True: 70, False: 480k]
  ------------------
 1195|  15.3k|    case PRECISION:
  ------------------
  |  Branch (1195:5): [True: 0, False: 480k]
  ------------------
 1196|  15.3k|        return precisionKeyword();
 1197|       |
 1198|      0|    case MAT2X2:
  ------------------
  |  Branch (1198:5): [True: 0, False: 480k]
  ------------------
 1199|     42|    case MAT2X3:
  ------------------
  |  Branch (1199:5): [True: 42, False: 480k]
  ------------------
 1200|     84|    case MAT2X4:
  ------------------
  |  Branch (1200:5): [True: 42, False: 480k]
  ------------------
 1201|    126|    case MAT3X2:
  ------------------
  |  Branch (1201:5): [True: 42, False: 480k]
  ------------------
 1202|    126|    case MAT3X3:
  ------------------
  |  Branch (1202:5): [True: 0, False: 480k]
  ------------------
 1203|    168|    case MAT3X4:
  ------------------
  |  Branch (1203:5): [True: 42, False: 480k]
  ------------------
 1204|    210|    case MAT4X2:
  ------------------
  |  Branch (1204:5): [True: 42, False: 480k]
  ------------------
 1205|    252|    case MAT4X3:
  ------------------
  |  Branch (1205:5): [True: 42, False: 480k]
  ------------------
 1206|    252|    case MAT4X4:
  ------------------
  |  Branch (1206:5): [True: 0, False: 480k]
  ------------------
 1207|    252|        return matNxM();
 1208|       |
 1209|     63|    case DMAT2:
  ------------------
  |  Branch (1209:5): [True: 63, False: 480k]
  ------------------
 1210|    126|    case DMAT3:
  ------------------
  |  Branch (1210:5): [True: 63, False: 480k]
  ------------------
 1211|    189|    case DMAT4:
  ------------------
  |  Branch (1211:5): [True: 63, False: 480k]
  ------------------
 1212|    189|    case DMAT2X2:
  ------------------
  |  Branch (1212:5): [True: 0, False: 480k]
  ------------------
 1213|    231|    case DMAT2X3:
  ------------------
  |  Branch (1213:5): [True: 42, False: 480k]
  ------------------
 1214|    273|    case DMAT2X4:
  ------------------
  |  Branch (1214:5): [True: 42, False: 480k]
  ------------------
 1215|    315|    case DMAT3X2:
  ------------------
  |  Branch (1215:5): [True: 42, False: 480k]
  ------------------
 1216|    315|    case DMAT3X3:
  ------------------
  |  Branch (1216:5): [True: 0, False: 480k]
  ------------------
 1217|    357|    case DMAT3X4:
  ------------------
  |  Branch (1217:5): [True: 42, False: 480k]
  ------------------
 1218|    399|    case DMAT4X2:
  ------------------
  |  Branch (1218:5): [True: 42, False: 480k]
  ------------------
 1219|    441|    case DMAT4X3:
  ------------------
  |  Branch (1219:5): [True: 42, False: 480k]
  ------------------
 1220|    441|    case DMAT4X4:
  ------------------
  |  Branch (1220:5): [True: 0, False: 480k]
  ------------------
 1221|    441|        return dMat();
 1222|       |
 1223|    161|    case IMAGE1D:
  ------------------
  |  Branch (1223:5): [True: 161, False: 480k]
  ------------------
 1224|    322|    case IIMAGE1D:
  ------------------
  |  Branch (1224:5): [True: 161, False: 480k]
  ------------------
 1225|    483|    case UIMAGE1D:
  ------------------
  |  Branch (1225:5): [True: 161, False: 480k]
  ------------------
 1226|    644|    case IMAGE1DARRAY:
  ------------------
  |  Branch (1226:5): [True: 161, False: 480k]
  ------------------
 1227|    805|    case IIMAGE1DARRAY:
  ------------------
  |  Branch (1227:5): [True: 161, False: 480k]
  ------------------
 1228|    966|    case UIMAGE1DARRAY:
  ------------------
  |  Branch (1228:5): [True: 161, False: 480k]
  ------------------
 1229|  1.12k|    case IMAGE2DRECT:
  ------------------
  |  Branch (1229:5): [True: 154, False: 480k]
  ------------------
 1230|  1.27k|    case IIMAGE2DRECT:
  ------------------
  |  Branch (1230:5): [True: 154, False: 480k]
  ------------------
 1231|  1.42k|    case UIMAGE2DRECT:
  ------------------
  |  Branch (1231:5): [True: 154, False: 480k]
  ------------------
 1232|  1.42k|        afterType = true;
 1233|  1.42k|        return firstGenerationImage(false);
 1234|       |
 1235|    161|    case I64IMAGE1D:
  ------------------
  |  Branch (1235:5): [True: 161, False: 480k]
  ------------------
 1236|    322|    case U64IMAGE1D:
  ------------------
  |  Branch (1236:5): [True: 161, False: 480k]
  ------------------
 1237|    483|    case I64IMAGE1DARRAY:
  ------------------
  |  Branch (1237:5): [True: 161, False: 480k]
  ------------------
 1238|    644|    case U64IMAGE1DARRAY:
  ------------------
  |  Branch (1238:5): [True: 161, False: 480k]
  ------------------
 1239|    798|    case I64IMAGE2DRECT:
  ------------------
  |  Branch (1239:5): [True: 154, False: 480k]
  ------------------
 1240|    952|    case U64IMAGE2DRECT:
  ------------------
  |  Branch (1240:5): [True: 154, False: 480k]
  ------------------
 1241|    952|        afterType = true;
 1242|    952|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1242:13): [True: 952, False: 0]
  ------------------
 1243|    952|            parseContext.extensionTurnedOn(E_GL_EXT_shader_image_int64)) {
  ------------------
  |  Branch (1243:13): [True: 0, False: 0]
  ------------------
 1244|    952|            return firstGenerationImage(false);
 1245|    952|        }
 1246|      0|        return identifierOrType();
 1247|       |
 1248|    147|    case IMAGEBUFFER:
  ------------------
  |  Branch (1248:5): [True: 147, False: 480k]
  ------------------
 1249|    294|    case IIMAGEBUFFER:
  ------------------
  |  Branch (1249:5): [True: 147, False: 480k]
  ------------------
 1250|    441|    case UIMAGEBUFFER:
  ------------------
  |  Branch (1250:5): [True: 147, False: 480k]
  ------------------
 1251|    441|        afterType = true;
 1252|    441|        if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1252:14): [True: 0, False: 441]
  |  Branch (1252:44): [True: 0, False: 0]
  ------------------
 1253|    441|            parseContext.extensionsTurnedOn(Num_AEP_texture_buffer, AEP_texture_buffer))
  ------------------
  |  Branch (1253:13): [True: 0, False: 441]
  ------------------
 1254|      0|            return keyword;
 1255|    441|        return firstGenerationImage(false);
 1256|       |        
 1257|    147|    case I64IMAGEBUFFER:
  ------------------
  |  Branch (1257:5): [True: 147, False: 480k]
  ------------------
 1258|    294|    case U64IMAGEBUFFER:
  ------------------
  |  Branch (1258:5): [True: 147, False: 480k]
  ------------------
 1259|    294|        afterType = true;        
 1260|    294|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1260:13): [True: 294, False: 0]
  ------------------
 1261|    294|            parseContext.extensionTurnedOn(E_GL_EXT_shader_image_int64)) {
  ------------------
  |  Branch (1261:13): [True: 0, False: 0]
  ------------------
 1262|    294|            if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1262:18): [True: 0, False: 294]
  |  Branch (1262:48): [True: 0, False: 0]
  ------------------
 1263|    294|                parseContext.extensionsTurnedOn(Num_AEP_texture_buffer, AEP_texture_buffer))
  ------------------
  |  Branch (1263:17): [True: 0, False: 294]
  ------------------
 1264|      0|                return keyword;
 1265|    294|            return firstGenerationImage(false);
 1266|    294|        }
 1267|      0|        return identifierOrType();
 1268|       |
 1269|    175|    case IMAGE2D:
  ------------------
  |  Branch (1269:5): [True: 175, False: 480k]
  ------------------
 1270|    350|    case IIMAGE2D:
  ------------------
  |  Branch (1270:5): [True: 175, False: 480k]
  ------------------
 1271|    525|    case UIMAGE2D:
  ------------------
  |  Branch (1271:5): [True: 175, False: 480k]
  ------------------
 1272|    700|    case IMAGE3D:
  ------------------
  |  Branch (1272:5): [True: 175, False: 480k]
  ------------------
 1273|    875|    case IIMAGE3D:
  ------------------
  |  Branch (1273:5): [True: 175, False: 480k]
  ------------------
 1274|  1.05k|    case UIMAGE3D:
  ------------------
  |  Branch (1274:5): [True: 175, False: 480k]
  ------------------
 1275|  1.22k|    case IMAGECUBE:
  ------------------
  |  Branch (1275:5): [True: 175, False: 480k]
  ------------------
 1276|  1.40k|    case IIMAGECUBE:
  ------------------
  |  Branch (1276:5): [True: 175, False: 480k]
  ------------------
 1277|  1.57k|    case UIMAGECUBE:
  ------------------
  |  Branch (1277:5): [True: 175, False: 480k]
  ------------------
 1278|  1.75k|    case IMAGE2DARRAY:
  ------------------
  |  Branch (1278:5): [True: 175, False: 480k]
  ------------------
 1279|  1.92k|    case IIMAGE2DARRAY:
  ------------------
  |  Branch (1279:5): [True: 175, False: 480k]
  ------------------
 1280|  2.10k|    case UIMAGE2DARRAY:
  ------------------
  |  Branch (1280:5): [True: 175, False: 480k]
  ------------------
 1281|  2.10k|        afterType = true;
 1282|  2.10k|        return firstGenerationImage(true);
 1283|       |
 1284|    175|    case I64IMAGE2D:
  ------------------
  |  Branch (1284:5): [True: 175, False: 480k]
  ------------------
 1285|    350|    case U64IMAGE2D:
  ------------------
  |  Branch (1285:5): [True: 175, False: 480k]
  ------------------
 1286|    525|    case I64IMAGE3D:
  ------------------
  |  Branch (1286:5): [True: 175, False: 480k]
  ------------------
 1287|    700|    case U64IMAGE3D:
  ------------------
  |  Branch (1287:5): [True: 175, False: 480k]
  ------------------
 1288|    875|    case I64IMAGECUBE:
  ------------------
  |  Branch (1288:5): [True: 175, False: 480k]
  ------------------
 1289|  1.05k|    case U64IMAGECUBE:
  ------------------
  |  Branch (1289:5): [True: 175, False: 480k]
  ------------------
 1290|  1.22k|    case I64IMAGE2DARRAY:
  ------------------
  |  Branch (1290:5): [True: 175, False: 480k]
  ------------------
 1291|  1.40k|    case U64IMAGE2DARRAY:
  ------------------
  |  Branch (1291:5): [True: 175, False: 480k]
  ------------------
 1292|  1.40k|        afterType = true;
 1293|  1.40k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1293:13): [True: 1.40k, False: 0]
  ------------------
 1294|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_image_int64))
  ------------------
  |  Branch (1294:13): [True: 0, False: 0]
  ------------------
 1295|  1.40k|            return firstGenerationImage(true);
 1296|      0|        return identifierOrType();
 1297|       |        
 1298|    175|    case IMAGECUBEARRAY:
  ------------------
  |  Branch (1298:5): [True: 175, False: 480k]
  ------------------
 1299|    350|    case IIMAGECUBEARRAY:
  ------------------
  |  Branch (1299:5): [True: 175, False: 480k]
  ------------------
 1300|    525|    case UIMAGECUBEARRAY:
  ------------------
  |  Branch (1300:5): [True: 175, False: 480k]
  ------------------
 1301|    525|        afterType = true;
 1302|    525|        if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1302:14): [True: 0, False: 525]
  |  Branch (1302:44): [True: 0, False: 0]
  ------------------
 1303|    525|            parseContext.extensionsTurnedOn(Num_AEP_texture_cube_map_array, AEP_texture_cube_map_array))
  ------------------
  |  Branch (1303:13): [True: 0, False: 525]
  ------------------
 1304|      0|            return keyword;
 1305|    525|        return secondGenerationImage();
 1306|       |        
 1307|    175|    case I64IMAGECUBEARRAY:
  ------------------
  |  Branch (1307:5): [True: 175, False: 480k]
  ------------------
 1308|    350|    case U64IMAGECUBEARRAY:
  ------------------
  |  Branch (1308:5): [True: 175, False: 480k]
  ------------------
 1309|    350|        afterType = true;
 1310|    350|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1310:13): [True: 350, False: 0]
  ------------------
 1311|    350|            parseContext.extensionTurnedOn(E_GL_EXT_shader_image_int64)) {
  ------------------
  |  Branch (1311:13): [True: 0, False: 0]
  ------------------
 1312|    350|            if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1312:18): [True: 0, False: 350]
  |  Branch (1312:48): [True: 0, False: 0]
  ------------------
 1313|    350|                parseContext.extensionsTurnedOn(Num_AEP_texture_cube_map_array, AEP_texture_cube_map_array))
  ------------------
  |  Branch (1313:17): [True: 0, False: 350]
  ------------------
 1314|      0|                return keyword;
 1315|    350|            return secondGenerationImage();
 1316|    350|        }
 1317|      0|        return identifierOrType();
 1318|       |
 1319|    161|    case IMAGE2DMS:
  ------------------
  |  Branch (1319:5): [True: 161, False: 480k]
  ------------------
 1320|    322|    case IIMAGE2DMS:
  ------------------
  |  Branch (1320:5): [True: 161, False: 480k]
  ------------------
 1321|    483|    case UIMAGE2DMS:
  ------------------
  |  Branch (1321:5): [True: 161, False: 480k]
  ------------------
 1322|    644|    case IMAGE2DMSARRAY:
  ------------------
  |  Branch (1322:5): [True: 161, False: 480k]
  ------------------
 1323|    805|    case IIMAGE2DMSARRAY:
  ------------------
  |  Branch (1323:5): [True: 161, False: 480k]
  ------------------
 1324|    966|    case UIMAGE2DMSARRAY:
  ------------------
  |  Branch (1324:5): [True: 161, False: 480k]
  ------------------
 1325|    966|        afterType = true;
 1326|    966|        return secondGenerationImage();
 1327|       |        
 1328|    161|    case I64IMAGE2DMS:
  ------------------
  |  Branch (1328:5): [True: 161, False: 480k]
  ------------------
 1329|    322|    case U64IMAGE2DMS:
  ------------------
  |  Branch (1329:5): [True: 161, False: 480k]
  ------------------
 1330|    483|    case I64IMAGE2DMSARRAY:
  ------------------
  |  Branch (1330:5): [True: 161, False: 480k]
  ------------------
 1331|    644|    case U64IMAGE2DMSARRAY:
  ------------------
  |  Branch (1331:5): [True: 161, False: 480k]
  ------------------
 1332|    644|        afterType = true;
 1333|    644|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1333:13): [True: 644, False: 0]
  ------------------
 1334|    644|            parseContext.extensionTurnedOn(E_GL_EXT_shader_image_int64)) {
  ------------------
  |  Branch (1334:13): [True: 0, False: 0]
  ------------------
 1335|    644|            return secondGenerationImage();
 1336|    644|        }
 1337|      0|        return identifierOrType();
 1338|       |
 1339|  1.99k|    case DOUBLE:
  ------------------
  |  Branch (1339:5): [True: 1.99k, False: 478k]
  ------------------
 1340|  3.61k|    case DVEC2:
  ------------------
  |  Branch (1340:5): [True: 1.62k, False: 478k]
  ------------------
 1341|  5.23k|    case DVEC3:
  ------------------
  |  Branch (1341:5): [True: 1.61k, False: 478k]
  ------------------
 1342|  6.86k|    case DVEC4:
  ------------------
  |  Branch (1342:5): [True: 1.62k, False: 478k]
  ------------------
 1343|  6.86k|        afterType = true;
 1344|  6.86k|        if (parseContext.isEsProfile() || parseContext.version < 150 ||
  ------------------
  |  Branch (1344:13): [True: 0, False: 6.86k]
  |  Branch (1344:43): [True: 0, False: 6.86k]
  ------------------
 1345|  6.86k|            (!parseContext.symbolTable.atBuiltInLevel() &&
  ------------------
  |  Branch (1345:14): [True: 0, False: 6.86k]
  ------------------
 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|  6.86k|        return keyword;
 1350|       |
 1351|  5.41k|    case INT64_T:
  ------------------
  |  Branch (1351:5): [True: 5.41k, False: 475k]
  ------------------
 1352|  14.3k|    case UINT64_T:
  ------------------
  |  Branch (1352:5): [True: 8.93k, False: 471k]
  ------------------
 1353|  16.0k|    case I64VEC2:
  ------------------
  |  Branch (1353:5): [True: 1.67k, False: 478k]
  ------------------
 1354|  17.6k|    case I64VEC3:
  ------------------
  |  Branch (1354:5): [True: 1.64k, False: 478k]
  ------------------
 1355|  19.6k|    case I64VEC4:
  ------------------
  |  Branch (1355:5): [True: 2.01k, False: 478k]
  ------------------
 1356|  21.2k|    case U64VEC2:
  ------------------
  |  Branch (1356:5): [True: 1.61k, False: 478k]
  ------------------
 1357|  22.8k|    case U64VEC3:
  ------------------
  |  Branch (1357:5): [True: 1.58k, False: 479k]
  ------------------
 1358|  24.8k|    case U64VEC4:
  ------------------
  |  Branch (1358:5): [True: 1.96k, False: 478k]
  ------------------
 1359|  24.8k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1359:13): [True: 24.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|  24.8k|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int64)) {
  ------------------
  |  Branch (1363:13): [True: 0, False: 0]
  ------------------
 1364|  24.8k|            afterType = true;
 1365|  24.8k|            return keyword;
 1366|  24.8k|        }
 1367|      0|        return identifierOrType();
 1368|       |
 1369|  1.96k|    case INT8_T:
  ------------------
  |  Branch (1369:5): [True: 1.96k, False: 478k]
  ------------------
 1370|  3.73k|    case UINT8_T:
  ------------------
  |  Branch (1370:5): [True: 1.77k, False: 478k]
  ------------------
 1371|  5.13k|    case I8VEC2:
  ------------------
  |  Branch (1371:5): [True: 1.40k, False: 479k]
  ------------------
 1372|  6.49k|    case I8VEC3:
  ------------------
  |  Branch (1372:5): [True: 1.35k, False: 479k]
  ------------------
 1373|  7.89k|    case I8VEC4:
  ------------------
  |  Branch (1373:5): [True: 1.40k, False: 479k]
  ------------------
 1374|  9.22k|    case U8VEC2:
  ------------------
  |  Branch (1374:5): [True: 1.33k, False: 479k]
  ------------------
 1375|  10.5k|    case U8VEC3:
  ------------------
  |  Branch (1375:5): [True: 1.28k, False: 479k]
  ------------------
 1376|  11.8k|    case U8VEC4:
  ------------------
  |  Branch (1376:5): [True: 1.33k, False: 479k]
  ------------------
 1377|  11.8k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1377:13): [True: 11.8k, 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|  11.8k|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int8)) {
  ------------------
  |  Branch (1381:13): [True: 0, False: 0]
  ------------------
 1382|  11.8k|            afterType = true;
 1383|  11.8k|            return keyword;
 1384|  11.8k|        }
 1385|      0|        return identifierOrType();
 1386|       |
 1387|  2.42k|    case INT16_T:
  ------------------
  |  Branch (1387:5): [True: 2.42k, False: 478k]
  ------------------
 1388|  4.57k|    case UINT16_T:
  ------------------
  |  Branch (1388:5): [True: 2.14k, False: 478k]
  ------------------
 1389|  6.45k|    case I16VEC2:
  ------------------
  |  Branch (1389:5): [True: 1.87k, False: 478k]
  ------------------
 1390|  8.27k|    case I16VEC3:
  ------------------
  |  Branch (1390:5): [True: 1.82k, False: 478k]
  ------------------
 1391|  10.1k|    case I16VEC4:
  ------------------
  |  Branch (1391:5): [True: 1.87k, False: 478k]
  ------------------
 1392|  11.9k|    case U16VEC2:
  ------------------
  |  Branch (1392:5): [True: 1.80k, False: 478k]
  ------------------
 1393|  13.7k|    case U16VEC3:
  ------------------
  |  Branch (1393:5): [True: 1.75k, False: 478k]
  ------------------
 1394|  15.5k|    case U16VEC4:
  ------------------
  |  Branch (1394:5): [True: 1.80k, False: 478k]
  ------------------
 1395|  15.5k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1395:13): [True: 15.5k, 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|  15.5k|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int16)) {
  ------------------
  |  Branch (1400:13): [True: 0, False: 0]
  ------------------
 1401|  15.5k|            afterType = true;
 1402|  15.5k|            return keyword;
 1403|  15.5k|        }
 1404|      0|        return identifierOrType();
 1405|    560|    case INT32_T:
  ------------------
  |  Branch (1405:5): [True: 560, False: 480k]
  ------------------
 1406|  1.12k|    case UINT32_T:
  ------------------
  |  Branch (1406:5): [True: 560, False: 480k]
  ------------------
 1407|  1.16k|    case I32VEC2:
  ------------------
  |  Branch (1407:5): [True: 42, False: 480k]
  ------------------
 1408|  1.19k|    case I32VEC3:
  ------------------
  |  Branch (1408:5): [True: 28, False: 480k]
  ------------------
 1409|  1.21k|    case I32VEC4:
  ------------------
  |  Branch (1409:5): [True: 28, False: 480k]
  ------------------
 1410|  1.26k|    case U32VEC2:
  ------------------
  |  Branch (1410:5): [True: 42, False: 480k]
  ------------------
 1411|  1.28k|    case U32VEC3:
  ------------------
  |  Branch (1411:5): [True: 28, False: 480k]
  ------------------
 1412|  1.31k|    case U32VEC4:
  ------------------
  |  Branch (1412:5): [True: 28, False: 480k]
  ------------------
 1413|  1.31k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1413:13): [True: 1.31k, 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|  1.31k|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int32)) {
  ------------------
  |  Branch (1416:13): [True: 0, False: 0]
  ------------------
 1417|  1.31k|            afterType = true;
 1418|  1.31k|            return keyword;
 1419|  1.31k|        }
 1420|      0|        return identifierOrType();
 1421|    532|    case FLOAT32_T:
  ------------------
  |  Branch (1421:5): [True: 532, False: 480k]
  ------------------
 1422|    560|    case F32VEC2:
  ------------------
  |  Branch (1422:5): [True: 28, False: 480k]
  ------------------
 1423|    588|    case F32VEC3:
  ------------------
  |  Branch (1423:5): [True: 28, False: 480k]
  ------------------
 1424|    616|    case F32VEC4:
  ------------------
  |  Branch (1424:5): [True: 28, False: 480k]
  ------------------
 1425|    616|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1425:13): [True: 616, 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|    616|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float32)) {
  ------------------
  |  Branch (1428:13): [True: 0, False: 0]
  ------------------
 1429|    616|            afterType = true;
 1430|    616|            return keyword;
 1431|    616|        }
 1432|      0|        return identifierOrType();
 1433|      0|    case F32MAT2:
  ------------------
  |  Branch (1433:5): [True: 0, False: 480k]
  ------------------
 1434|      0|    case F32MAT3:
  ------------------
  |  Branch (1434:5): [True: 0, False: 480k]
  ------------------
 1435|      0|    case F32MAT4:
  ------------------
  |  Branch (1435:5): [True: 0, False: 480k]
  ------------------
 1436|      0|    case F32MAT2X2:
  ------------------
  |  Branch (1436:5): [True: 0, False: 480k]
  ------------------
 1437|      0|    case F32MAT2X3:
  ------------------
  |  Branch (1437:5): [True: 0, False: 480k]
  ------------------
 1438|      0|    case F32MAT2X4:
  ------------------
  |  Branch (1438:5): [True: 0, False: 480k]
  ------------------
 1439|      0|    case F32MAT3X2:
  ------------------
  |  Branch (1439:5): [True: 0, False: 480k]
  ------------------
 1440|      0|    case F32MAT3X3:
  ------------------
  |  Branch (1440:5): [True: 0, False: 480k]
  ------------------
 1441|      0|    case F32MAT3X4:
  ------------------
  |  Branch (1441:5): [True: 0, False: 480k]
  ------------------
 1442|      0|    case F32MAT4X2:
  ------------------
  |  Branch (1442:5): [True: 0, False: 480k]
  ------------------
 1443|      0|    case F32MAT4X3:
  ------------------
  |  Branch (1443:5): [True: 0, False: 480k]
  ------------------
 1444|      0|    case F32MAT4X4:
  ------------------
  |  Branch (1444:5): [True: 0, False: 480k]
  ------------------
 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|    987|    case FLOAT64_T:
  ------------------
  |  Branch (1453:5): [True: 987, False: 479k]
  ------------------
 1454|  1.61k|    case F64VEC2:
  ------------------
  |  Branch (1454:5): [True: 630, False: 479k]
  ------------------
 1455|  2.21k|    case F64VEC3:
  ------------------
  |  Branch (1455:5): [True: 602, False: 480k]
  ------------------
 1456|  2.82k|    case F64VEC4:
  ------------------
  |  Branch (1456:5): [True: 602, False: 480k]
  ------------------
 1457|  2.82k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1457:13): [True: 2.82k, 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|  2.82k|             parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float64)) {
  ------------------
  |  Branch (1461:14): [True: 0, False: 0]
  ------------------
 1462|  2.82k|            afterType = true;
 1463|  2.82k|            return keyword;
 1464|  2.82k|        }
 1465|      0|        return identifierOrType();
 1466|      0|    case F64MAT2:
  ------------------
  |  Branch (1466:5): [True: 0, False: 480k]
  ------------------
 1467|      0|    case F64MAT3:
  ------------------
  |  Branch (1467:5): [True: 0, False: 480k]
  ------------------
 1468|      0|    case F64MAT4:
  ------------------
  |  Branch (1468:5): [True: 0, False: 480k]
  ------------------
 1469|      0|    case F64MAT2X2:
  ------------------
  |  Branch (1469:5): [True: 0, False: 480k]
  ------------------
 1470|      0|    case F64MAT2X3:
  ------------------
  |  Branch (1470:5): [True: 0, False: 480k]
  ------------------
 1471|      0|    case F64MAT2X4:
  ------------------
  |  Branch (1471:5): [True: 0, False: 480k]
  ------------------
 1472|      0|    case F64MAT3X2:
  ------------------
  |  Branch (1472:5): [True: 0, False: 480k]
  ------------------
 1473|      0|    case F64MAT3X3:
  ------------------
  |  Branch (1473:5): [True: 0, False: 480k]
  ------------------
 1474|      0|    case F64MAT3X4:
  ------------------
  |  Branch (1474:5): [True: 0, False: 480k]
  ------------------
 1475|      0|    case F64MAT4X2:
  ------------------
  |  Branch (1475:5): [True: 0, False: 480k]
  ------------------
 1476|      0|    case F64MAT4X3:
  ------------------
  |  Branch (1476:5): [True: 0, False: 480k]
  ------------------
 1477|      0|    case F64MAT4X4:
  ------------------
  |  Branch (1477:5): [True: 0, False: 480k]
  ------------------
 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|  9.59k|    case FLOAT16_T:
  ------------------
  |  Branch (1486:5): [True: 9.59k, False: 471k]
  ------------------
 1487|  16.4k|    case F16VEC2:
  ------------------
  |  Branch (1487:5): [True: 6.89k, False: 473k]
  ------------------
 1488|  21.3k|    case F16VEC3:
  ------------------
  |  Branch (1488:5): [True: 4.81k, False: 475k]
  ------------------
 1489|  33.1k|    case F16VEC4:
  ------------------
  |  Branch (1489:5): [True: 11.8k, False: 468k]
  ------------------
 1490|  33.1k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1490:13): [True: 33.1k, 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|  33.1k|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float16)) {
  ------------------
  |  Branch (1495:13): [True: 0, False: 0]
  ------------------
 1496|  33.1k|            afterType = true;
 1497|  33.1k|            return keyword;
 1498|  33.1k|        }
 1499|      0|        return identifierOrType();
 1500|       |
 1501|     63|    case F16MAT2:
  ------------------
  |  Branch (1501:5): [True: 63, False: 480k]
  ------------------
 1502|    126|    case F16MAT3:
  ------------------
  |  Branch (1502:5): [True: 63, False: 480k]
  ------------------
 1503|    189|    case F16MAT4:
  ------------------
  |  Branch (1503:5): [True: 63, False: 480k]
  ------------------
 1504|    189|    case F16MAT2X2:
  ------------------
  |  Branch (1504:5): [True: 0, False: 480k]
  ------------------
 1505|    231|    case F16MAT2X3:
  ------------------
  |  Branch (1505:5): [True: 42, False: 480k]
  ------------------
 1506|    273|    case F16MAT2X4:
  ------------------
  |  Branch (1506:5): [True: 42, False: 480k]
  ------------------
 1507|    315|    case F16MAT3X2:
  ------------------
  |  Branch (1507:5): [True: 42, False: 480k]
  ------------------
 1508|    315|    case F16MAT3X3:
  ------------------
  |  Branch (1508:5): [True: 0, False: 480k]
  ------------------
 1509|    357|    case F16MAT3X4:
  ------------------
  |  Branch (1509:5): [True: 42, False: 480k]
  ------------------
 1510|    399|    case F16MAT4X2:
  ------------------
  |  Branch (1510:5): [True: 42, False: 480k]
  ------------------
 1511|    441|    case F16MAT4X3:
  ------------------
  |  Branch (1511:5): [True: 42, False: 480k]
  ------------------
 1512|    441|    case F16MAT4X4:
  ------------------
  |  Branch (1512:5): [True: 0, False: 480k]
  ------------------
 1513|    441|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1513:13): [True: 441, 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|    441|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float16)) {
  ------------------
  |  Branch (1516:13): [True: 0, False: 0]
  ------------------
 1517|    441|            afterType = true;
 1518|    441|            return keyword;
 1519|    441|        }
 1520|       |
 1521|      0|        return identifierOrType();
 1522|       |
 1523|    126|    case BFLOAT16_T:
  ------------------
  |  Branch (1523:5): [True: 126, False: 480k]
  ------------------
 1524|    196|    case BF16VEC2:
  ------------------
  |  Branch (1524:5): [True: 70, False: 480k]
  ------------------
 1525|    238|    case BF16VEC3:
  ------------------
  |  Branch (1525:5): [True: 42, False: 480k]
  ------------------
 1526|    308|    case BF16VEC4:
  ------------------
  |  Branch (1526:5): [True: 70, False: 480k]
  ------------------
 1527|    308|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1527:13): [True: 308, False: 0]
  ------------------
 1528|    308|            parseContext.extensionTurnedOn(E_GL_EXT_bfloat16)) {
  ------------------
  |  Branch (1528:13): [True: 0, False: 0]
  ------------------
 1529|    308|            afterType = true;
 1530|    308|            return keyword;
 1531|    308|        }
 1532|       |
 1533|      0|        return identifierOrType();
 1534|       |
 1535|     84|    case FLOATE5M2_T:
  ------------------
  |  Branch (1535:5): [True: 84, False: 480k]
  ------------------
 1536|    140|    case FE5M2VEC2:
  ------------------
  |  Branch (1536:5): [True: 56, False: 480k]
  ------------------
 1537|    168|    case FE5M2VEC3:
  ------------------
  |  Branch (1537:5): [True: 28, False: 480k]
  ------------------
 1538|    224|    case FE5M2VEC4:
  ------------------
  |  Branch (1538:5): [True: 56, False: 480k]
  ------------------
 1539|    224|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1539:13): [True: 224, False: 0]
  ------------------
 1540|    224|            parseContext.extensionTurnedOn(E_GL_EXT_float_e5m2)) {
  ------------------
  |  Branch (1540:13): [True: 0, False: 0]
  ------------------
 1541|    224|            afterType = true;
 1542|    224|            return keyword;
 1543|    224|        }
 1544|       |
 1545|      0|        return identifierOrType();
 1546|       |
 1547|     84|    case FLOATE4M3_T:
  ------------------
  |  Branch (1547:5): [True: 84, False: 480k]
  ------------------
 1548|    140|    case FE4M3VEC2:
  ------------------
  |  Branch (1548:5): [True: 56, False: 480k]
  ------------------
 1549|    168|    case FE4M3VEC3:
  ------------------
  |  Branch (1549:5): [True: 28, False: 480k]
  ------------------
 1550|    224|    case FE4M3VEC4:
  ------------------
  |  Branch (1550:5): [True: 56, False: 480k]
  ------------------
 1551|    224|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1551:13): [True: 224, False: 0]
  ------------------
 1552|    224|            parseContext.extensionTurnedOn(E_GL_EXT_float_e4m3)) {
  ------------------
  |  Branch (1552:13): [True: 0, False: 0]
  ------------------
 1553|    224|            afterType = true;
 1554|    224|            return keyword;
 1555|    224|        }
 1556|       |
 1557|      0|        return identifierOrType();
 1558|       |
 1559|    312|    case SAMPLERCUBEARRAY:
  ------------------
  |  Branch (1559:5): [True: 312, False: 480k]
  ------------------
 1560|    476|    case SAMPLERCUBEARRAYSHADOW:
  ------------------
  |  Branch (1560:5): [True: 164, False: 480k]
  ------------------
 1561|    788|    case ISAMPLERCUBEARRAY:
  ------------------
  |  Branch (1561:5): [True: 312, False: 480k]
  ------------------
 1562|  1.10k|    case USAMPLERCUBEARRAY:
  ------------------
  |  Branch (1562:5): [True: 312, False: 480k]
  ------------------
 1563|  1.10k|        afterType = true;
 1564|  1.10k|        if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1564:14): [True: 0, False: 1.10k]
  |  Branch (1564:44): [True: 0, False: 0]
  ------------------
 1565|  1.10k|            parseContext.extensionsTurnedOn(Num_AEP_texture_cube_map_array, AEP_texture_cube_map_array))
  ------------------
  |  Branch (1565:13): [True: 0, False: 1.10k]
  ------------------
 1566|      0|            return keyword;
 1567|  1.10k|        if (parseContext.isEsProfile() || (parseContext.version < 400 &&
  ------------------
  |  Branch (1567:13): [True: 0, False: 1.10k]
  |  Branch (1567:44): [True: 0, False: 1.10k]
  ------------------
 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|  1.10k|        return keyword;
 1572|       |
 1573|      2|    case TEXTURECUBEARRAY:
  ------------------
  |  Branch (1573:5): [True: 2, False: 480k]
  ------------------
 1574|      4|    case ITEXTURECUBEARRAY:
  ------------------
  |  Branch (1574:5): [True: 2, False: 480k]
  ------------------
 1575|      6|    case UTEXTURECUBEARRAY:
  ------------------
  |  Branch (1575:5): [True: 2, False: 480k]
  ------------------
 1576|      6|        if (parseContext.spvVersion.vulkan > 0)
  ------------------
  |  Branch (1576:13): [True: 6, False: 0]
  ------------------
 1577|      6|            return keyword;
 1578|      0|        else
 1579|      0|            return identifierOrType();
 1580|       |
 1581|  25.4k|    case UINT:
  ------------------
  |  Branch (1581:5): [True: 25.4k, False: 455k]
  ------------------
 1582|  27.6k|    case UVEC2:
  ------------------
  |  Branch (1582:5): [True: 2.18k, False: 478k]
  ------------------
 1583|  29.8k|    case UVEC3:
  ------------------
  |  Branch (1583:5): [True: 2.14k, False: 478k]
  ------------------
 1584|  42.5k|    case UVEC4:
  ------------------
  |  Branch (1584:5): [True: 12.7k, False: 467k]
  ------------------
 1585|  42.7k|    case SAMPLERCUBESHADOW:
  ------------------
  |  Branch (1585:5): [True: 209, False: 480k]
  ------------------
 1586|  43.5k|    case SAMPLER2DARRAY:
  ------------------
  |  Branch (1586:5): [True: 729, False: 479k]
  ------------------
 1587|  43.7k|    case SAMPLER2DARRAYSHADOW:
  ------------------
  |  Branch (1587:5): [True: 274, False: 480k]
  ------------------
 1588|  44.6k|    case ISAMPLER2D:
  ------------------
  |  Branch (1588:5): [True: 900, False: 479k]
  ------------------
 1589|  45.1k|    case ISAMPLER3D:
  ------------------
  |  Branch (1589:5): [True: 481, False: 480k]
  ------------------
 1590|  45.4k|    case ISAMPLERCUBE:
  ------------------
  |  Branch (1590:5): [True: 312, False: 480k]
  ------------------
 1591|  46.2k|    case ISAMPLER2DARRAY:
  ------------------
  |  Branch (1591:5): [True: 722, False: 479k]
  ------------------
 1592|  47.1k|    case USAMPLER2D:
  ------------------
  |  Branch (1592:5): [True: 900, False: 479k]
  ------------------
 1593|  47.5k|    case USAMPLER3D:
  ------------------
  |  Branch (1593:5): [True: 481, False: 480k]
  ------------------
 1594|  47.8k|    case USAMPLERCUBE:
  ------------------
  |  Branch (1594:5): [True: 312, False: 480k]
  ------------------
 1595|  48.6k|    case USAMPLER2DARRAY:
  ------------------
  |  Branch (1595:5): [True: 722, False: 479k]
  ------------------
 1596|  48.6k|        afterType = true;
 1597|  48.6k|        if (keyword == SAMPLER2DARRAY || keyword == SAMPLER2DARRAYSHADOW) {
  ------------------
  |  Branch (1597:13): [True: 729, False: 47.8k]
  |  Branch (1597:42): [True: 274, False: 47.6k]
  ------------------
 1598|  1.00k|            if (!parseContext.isEsProfile() &&
  ------------------
  |  Branch (1598:17): [True: 1.00k, False: 0]
  ------------------
 1599|  1.00k|                (parseContext.extensionTurnedOn(E_GL_EXT_texture_array) || parseContext.symbolTable.atBuiltInLevel())) {
  ------------------
  |  Branch (1599:18): [True: 0, False: 1.00k]
  |  Branch (1599:76): [True: 1.00k, False: 0]
  ------------------
 1600|  1.00k|                return keyword;
 1601|  1.00k|            }
 1602|  1.00k|        }
 1603|  47.6k|        return nonreservedKeyword(300, 130);
 1604|       |
 1605|    840|    case SAMPLER3D:
  ------------------
  |  Branch (1605:5): [True: 840, False: 479k]
  ------------------
 1606|    840|        afterType = true;
 1607|    840|        if (parseContext.isEsProfile() && parseContext.version < 300) {
  ------------------
  |  Branch (1607:13): [True: 312, False: 528]
  |  Branch (1607:43): [True: 312, False: 0]
  ------------------
 1608|    312|            if (!parseContext.extensionTurnedOn(E_GL_OES_texture_3D))
  ------------------
  |  Branch (1608:17): [True: 312, False: 0]
  ------------------
 1609|    312|                reservedWord();
 1610|    312|        }
 1611|    840|        return keyword;
 1612|       |
 1613|    614|    case SAMPLER2DSHADOW:
  ------------------
  |  Branch (1613:5): [True: 614, False: 479k]
  ------------------
 1614|    614|        afterType = true;
 1615|    614|        if (parseContext.isEsProfile() && parseContext.version < 300) {
  ------------------
  |  Branch (1615:13): [True: 156, False: 458]
  |  Branch (1615:43): [True: 156, False: 0]
  ------------------
 1616|    156|            if (!parseContext.extensionTurnedOn(E_GL_EXT_shadow_samplers))
  ------------------
  |  Branch (1616:17): [True: 156, False: 0]
  ------------------
 1617|    156|                reservedWord();
 1618|    156|        }
 1619|    614|        return keyword;
 1620|       |
 1621|    208|    case TEXTURE2D:
  ------------------
  |  Branch (1621:5): [True: 208, False: 480k]
  ------------------
 1622|    333|    case TEXTURECUBE:
  ------------------
  |  Branch (1622:5): [True: 125, False: 480k]
  ------------------
 1623|    339|    case TEXTURE2DARRAY:
  ------------------
  |  Branch (1623:5): [True: 6, False: 480k]
  ------------------
 1624|    345|    case ITEXTURE2D:
  ------------------
  |  Branch (1624:5): [True: 6, False: 480k]
  ------------------
 1625|    351|    case ITEXTURE3D:
  ------------------
  |  Branch (1625:5): [True: 6, False: 480k]
  ------------------
 1626|    353|    case ITEXTURECUBE:
  ------------------
  |  Branch (1626:5): [True: 2, False: 480k]
  ------------------
 1627|    359|    case ITEXTURE2DARRAY:
  ------------------
  |  Branch (1627:5): [True: 6, False: 480k]
  ------------------
 1628|    365|    case UTEXTURE2D:
  ------------------
  |  Branch (1628:5): [True: 6, False: 480k]
  ------------------
 1629|    371|    case UTEXTURE3D:
  ------------------
  |  Branch (1629:5): [True: 6, False: 480k]
  ------------------
 1630|    373|    case UTEXTURECUBE:
  ------------------
  |  Branch (1630:5): [True: 2, False: 480k]
  ------------------
 1631|    379|    case UTEXTURE2DARRAY:
  ------------------
  |  Branch (1631:5): [True: 6, False: 480k]
  ------------------
 1632|    508|    case TEXTURE3D:
  ------------------
  |  Branch (1632:5): [True: 129, False: 480k]
  ------------------
 1633|    586|    case SAMPLER:
  ------------------
  |  Branch (1633:5): [True: 78, False: 480k]
  ------------------
 1634|    586|    case SAMPLERSHADOW:
  ------------------
  |  Branch (1634:5): [True: 0, False: 480k]
  ------------------
 1635|    586|        if (parseContext.spvVersion.vulkan > 0)
  ------------------
  |  Branch (1635:13): [True: 61, False: 525]
  ------------------
 1636|     61|            return keyword;
 1637|    525|        else
 1638|    525|            return identifierOrType();
 1639|       |
 1640|    408|    case ISAMPLER1D:
  ------------------
  |  Branch (1640:5): [True: 408, False: 480k]
  ------------------
 1641|    638|    case ISAMPLER1DARRAY:
  ------------------
  |  Branch (1641:5): [True: 230, False: 480k]
  ------------------
 1642|    840|    case SAMPLER1DARRAYSHADOW:
  ------------------
  |  Branch (1642:5): [True: 202, False: 480k]
  ------------------
 1643|  1.24k|    case USAMPLER1D:
  ------------------
  |  Branch (1643:5): [True: 408, False: 480k]
  ------------------
 1644|  1.47k|    case USAMPLER1DARRAY:
  ------------------
  |  Branch (1644:5): [True: 230, False: 480k]
  ------------------
 1645|  1.47k|        afterType = true;
 1646|  1.47k|        if (keyword == SAMPLER1DARRAYSHADOW) {
  ------------------
  |  Branch (1646:13): [True: 202, False: 1.27k]
  ------------------
 1647|    202|            if (!parseContext.isEsProfile() &&
  ------------------
  |  Branch (1647:17): [True: 202, False: 0]
  ------------------
 1648|    202|                (parseContext.extensionTurnedOn(E_GL_EXT_texture_array) || parseContext.symbolTable.atBuiltInLevel())) {
  ------------------
  |  Branch (1648:18): [True: 0, False: 202]
  |  Branch (1648:76): [True: 202, False: 0]
  ------------------
 1649|    202|                return keyword;
 1650|    202|            }
 1651|    202|        }
 1652|  1.27k|        return es30ReservedFromGLSL(130);
 1653|    381|    case ISAMPLER2DRECT:
  ------------------
  |  Branch (1653:5): [True: 381, False: 480k]
  ------------------
 1654|    762|    case USAMPLER2DRECT:
  ------------------
  |  Branch (1654:5): [True: 381, False: 480k]
  ------------------
 1655|    762|        afterType = true;
 1656|    762|        return es30ReservedFromGLSL(140);
 1657|       |
 1658|     14|    case SAMPLERBUFFER:
  ------------------
  |  Branch (1658:5): [True: 14, False: 480k]
  ------------------
 1659|     14|        afterType = true;
 1660|     14|        if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1660:14): [True: 0, False: 14]
  |  Branch (1660:44): [True: 0, False: 0]
  ------------------
 1661|     14|            parseContext.extensionsTurnedOn(Num_AEP_texture_buffer, AEP_texture_buffer))
  ------------------
  |  Branch (1661:13): [True: 0, False: 14]
  ------------------
 1662|      0|            return keyword;
 1663|     14|        return es30ReservedFromGLSL(130);
 1664|       |
 1665|     14|    case ISAMPLERBUFFER:
  ------------------
  |  Branch (1665:5): [True: 14, False: 480k]
  ------------------
 1666|     28|    case USAMPLERBUFFER:
  ------------------
  |  Branch (1666:5): [True: 14, False: 480k]
  ------------------
 1667|     28|        afterType = true;
 1668|     28|        if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1668:14): [True: 0, False: 28]
  |  Branch (1668:44): [True: 0, False: 0]
  ------------------
 1669|     28|            parseContext.extensionsTurnedOn(Num_AEP_texture_buffer, AEP_texture_buffer))
  ------------------
  |  Branch (1669:13): [True: 0, False: 28]
  ------------------
 1670|      0|            return keyword;
 1671|     28|        return es30ReservedFromGLSL(140);
 1672|       |
 1673|     42|    case SAMPLER2DMS:
  ------------------
  |  Branch (1673:5): [True: 42, False: 480k]
  ------------------
 1674|     84|    case ISAMPLER2DMS:
  ------------------
  |  Branch (1674:5): [True: 42, False: 480k]
  ------------------
 1675|    126|    case USAMPLER2DMS:
  ------------------
  |  Branch (1675:5): [True: 42, False: 480k]
  ------------------
 1676|    126|        afterType = true;
 1677|    126|        if (parseContext.isEsProfile() && parseContext.version >= 310)
  ------------------
  |  Branch (1677:13): [True: 0, False: 126]
  |  Branch (1677:43): [True: 0, False: 0]
  ------------------
 1678|      0|            return keyword;
 1679|    126|        if (!parseContext.isEsProfile() && (parseContext.version > 140 ||
  ------------------
  |  Branch (1679:13): [True: 126, False: 0]
  |  Branch (1679:45): [True: 126, 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|    126|            return keyword;
 1682|      0|        return es30ReservedFromGLSL(150);
 1683|       |
 1684|     42|    case SAMPLER2DMSARRAY:
  ------------------
  |  Branch (1684:5): [True: 42, False: 480k]
  ------------------
 1685|     84|    case ISAMPLER2DMSARRAY:
  ------------------
  |  Branch (1685:5): [True: 42, False: 480k]
  ------------------
 1686|    126|    case USAMPLER2DMSARRAY:
  ------------------
  |  Branch (1686:5): [True: 42, False: 480k]
  ------------------
 1687|    126|        afterType = true;
 1688|    126|        if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1688:14): [True: 0, False: 126]
  |  Branch (1688:44): [True: 0, False: 0]
  ------------------
 1689|    126|            parseContext.extensionsTurnedOn(1, &E_GL_OES_texture_storage_multisample_2d_array))
  ------------------
  |  Branch (1689:13): [True: 0, False: 126]
  ------------------
 1690|      0|            return keyword;
 1691|    126|        if (!parseContext.isEsProfile() && (parseContext.version > 140 ||
  ------------------
  |  Branch (1691:13): [True: 126, False: 0]
  |  Branch (1691:45): [True: 126, 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|    126|            return keyword;
 1694|      0|        return es30ReservedFromGLSL(150);
 1695|       |
 1696|    426|    case SAMPLER1D:
  ------------------
  |  Branch (1696:5): [True: 426, False: 480k]
  ------------------
 1697|    708|    case SAMPLER1DSHADOW:
  ------------------
  |  Branch (1697:5): [True: 282, False: 480k]
  ------------------
 1698|    708|        afterType = true;
 1699|    708|        if (parseContext.isEsProfile())
  ------------------
  |  Branch (1699:13): [True: 0, False: 708]
  ------------------
 1700|      0|            reservedWord();
 1701|    708|        return keyword;
 1702|       |
 1703|    381|    case SAMPLER2DRECT:
  ------------------
  |  Branch (1703:5): [True: 381, False: 480k]
  ------------------
 1704|    594|    case SAMPLER2DRECTSHADOW:
  ------------------
  |  Branch (1704:5): [True: 213, False: 480k]
  ------------------
 1705|    594|        afterType = true;
 1706|    594|        if (parseContext.isEsProfile())
  ------------------
  |  Branch (1706:13): [True: 0, False: 594]
  ------------------
 1707|      0|            reservedWord();
 1708|    594|        else if (parseContext.version < 140 && ! parseContext.symbolTable.atBuiltInLevel() && ! parseContext.extensionTurnedOn(E_GL_ARB_texture_rectangle)) {
  ------------------
  |  Branch (1708:18): [True: 0, False: 594]
  |  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|    594|        return keyword;
 1715|       |
 1716|    237|    case SAMPLER1DARRAY:
  ------------------
  |  Branch (1716:5): [True: 237, False: 480k]
  ------------------
 1717|    237|        afterType = true;
 1718|    237|        if (parseContext.isEsProfile() && parseContext.version == 300)
  ------------------
  |  Branch (1718:13): [True: 0, False: 237]
  |  Branch (1718:43): [True: 0, False: 0]
  ------------------
 1719|      0|            reservedWord();
 1720|    237|        else if ((parseContext.isEsProfile() && parseContext.version < 300) ||
  ------------------
  |  Branch (1720:19): [True: 0, False: 237]
  |  Branch (1720:49): [True: 0, False: 0]
  ------------------
 1721|    237|                 ((!parseContext.isEsProfile() && parseContext.version < 130) &&
  ------------------
  |  Branch (1721:20): [True: 237, False: 0]
  |  Branch (1721:51): [True: 0, False: 237]
  ------------------
 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|    237|        return keyword;
 1726|       |
 1727|    234|    case SAMPLEREXTERNALOES:
  ------------------
  |  Branch (1727:5): [True: 234, False: 480k]
  ------------------
 1728|    234|        afterType = true;
 1729|    234|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1729:13): [True: 234, 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|    234|            return keyword;
 1733|      0|        return identifierOrType();
 1734|       |
 1735|    624|    case SAMPLEREXTERNAL2DY2YEXT:
  ------------------
  |  Branch (1735:5): [True: 624, False: 479k]
  ------------------
 1736|    624|        afterType = true;
 1737|    624|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1737:13): [True: 624, False: 0]
  ------------------
 1738|      0|            parseContext.extensionTurnedOn(E_GL_EXT_YUV_target))
  ------------------
  |  Branch (1738:13): [True: 0, False: 0]
  ------------------
 1739|    624|            return keyword;
 1740|      0|        return identifierOrType();
 1741|       |
 1742|      4|    case ITEXTURE1DARRAY:
  ------------------
  |  Branch (1742:5): [True: 4, False: 480k]
  ------------------
 1743|      8|    case UTEXTURE1D:
  ------------------
  |  Branch (1743:5): [True: 4, False: 480k]
  ------------------
 1744|     12|    case ITEXTURE1D:
  ------------------
  |  Branch (1744:5): [True: 4, False: 480k]
  ------------------
 1745|     16|    case UTEXTURE1DARRAY:
  ------------------
  |  Branch (1745:5): [True: 4, False: 480k]
  ------------------
 1746|     18|    case TEXTUREBUFFER:
  ------------------
  |  Branch (1746:5): [True: 2, False: 480k]
  ------------------
 1747|     23|    case ITEXTURE2DRECT:
  ------------------
  |  Branch (1747:5): [True: 5, False: 480k]
  ------------------
 1748|     28|    case UTEXTURE2DRECT:
  ------------------
  |  Branch (1748:5): [True: 5, False: 480k]
  ------------------
 1749|     30|    case ITEXTUREBUFFER:
  ------------------
  |  Branch (1749:5): [True: 2, False: 480k]
  ------------------
 1750|     32|    case UTEXTUREBUFFER:
  ------------------
  |  Branch (1750:5): [True: 2, False: 480k]
  ------------------
 1751|     36|    case TEXTURE2DMS:
  ------------------
  |  Branch (1751:5): [True: 4, False: 480k]
  ------------------
 1752|     40|    case ITEXTURE2DMS:
  ------------------
  |  Branch (1752:5): [True: 4, False: 480k]
  ------------------
 1753|     44|    case UTEXTURE2DMS:
  ------------------
  |  Branch (1753:5): [True: 4, False: 480k]
  ------------------
 1754|     48|    case TEXTURE2DMSARRAY:
  ------------------
  |  Branch (1754:5): [True: 4, False: 480k]
  ------------------
 1755|     52|    case ITEXTURE2DMSARRAY:
  ------------------
  |  Branch (1755:5): [True: 4, False: 480k]
  ------------------
 1756|     56|    case UTEXTURE2DMSARRAY:
  ------------------
  |  Branch (1756:5): [True: 4, False: 480k]
  ------------------
 1757|     66|    case TEXTURE1D:
  ------------------
  |  Branch (1757:5): [True: 10, False: 480k]
  ------------------
 1758|     71|    case TEXTURE2DRECT:
  ------------------
  |  Branch (1758:5): [True: 5, False: 480k]
  ------------------
 1759|     75|    case TEXTURE1DARRAY:
  ------------------
  |  Branch (1759:5): [True: 4, False: 480k]
  ------------------
 1760|     75|        if (parseContext.spvVersion.vulkan > 0)
  ------------------
  |  Branch (1760:13): [True: 69, False: 6]
  ------------------
 1761|     69|            return keyword;
 1762|      6|        else
 1763|      6|            return identifierOrType();
 1764|       |
 1765|      0|    case SUBPASSINPUT:
  ------------------
  |  Branch (1765:5): [True: 0, False: 480k]
  ------------------
 1766|      0|    case SUBPASSINPUTMS:
  ------------------
  |  Branch (1766:5): [True: 0, False: 480k]
  ------------------
 1767|      0|    case ISUBPASSINPUT:
  ------------------
  |  Branch (1767:5): [True: 0, False: 480k]
  ------------------
 1768|      0|    case ISUBPASSINPUTMS:
  ------------------
  |  Branch (1768:5): [True: 0, False: 480k]
  ------------------
 1769|      0|    case USUBPASSINPUT:
  ------------------
  |  Branch (1769:5): [True: 0, False: 480k]
  ------------------
 1770|      0|    case USUBPASSINPUTMS:
  ------------------
  |  Branch (1770:5): [True: 0, False: 480k]
  ------------------
 1771|      0|    case ATTACHMENTEXT:
  ------------------
  |  Branch (1771:5): [True: 0, False: 480k]
  ------------------
 1772|      0|    case IATTACHMENTEXT:
  ------------------
  |  Branch (1772:5): [True: 0, False: 480k]
  ------------------
 1773|      0|    case UATTACHMENTEXT:
  ------------------
  |  Branch (1773:5): [True: 0, False: 480k]
  ------------------
 1774|      0|        if (parseContext.spvVersion.vulkan > 0)
  ------------------
  |  Branch (1774:13): [True: 0, False: 0]
  ------------------
 1775|      0|            return keyword;
 1776|      0|        else
 1777|      0|            return identifierOrType();
 1778|       |
 1779|    760|    case F16SAMPLER1D:
  ------------------
  |  Branch (1779:5): [True: 760, False: 479k]
  ------------------
 1780|  2.50k|    case F16SAMPLER2D:
  ------------------
  |  Branch (1780:5): [True: 1.74k, False: 478k]
  ------------------
 1781|  3.41k|    case F16SAMPLER3D:
  ------------------
  |  Branch (1781:5): [True: 906, False: 479k]
  ------------------
 1782|  4.16k|    case F16SAMPLER2DRECT:
  ------------------
  |  Branch (1782:5): [True: 755, False: 479k]
  ------------------
 1783|  4.73k|    case F16SAMPLERCUBE:
  ------------------
  |  Branch (1783:5): [True: 568, False: 480k]
  ------------------
 1784|  5.13k|    case F16SAMPLER1DARRAY:
  ------------------
  |  Branch (1784:5): [True: 404, False: 480k]
  ------------------
 1785|  6.52k|    case F16SAMPLER2DARRAY:
  ------------------
  |  Branch (1785:5): [True: 1.38k, False: 479k]
  ------------------
 1786|  7.09k|    case F16SAMPLERCUBEARRAY:
  ------------------
  |  Branch (1786:5): [True: 568, False: 480k]
  ------------------
 1787|  7.11k|    case F16SAMPLERBUFFER:
  ------------------
  |  Branch (1787:5): [True: 21, False: 480k]
  ------------------
 1788|  7.15k|    case F16SAMPLER2DMS:
  ------------------
  |  Branch (1788:5): [True: 42, False: 480k]
  ------------------
 1789|  7.19k|    case F16SAMPLER2DMSARRAY:
  ------------------
  |  Branch (1789:5): [True: 42, False: 480k]
  ------------------
 1790|  7.68k|    case F16SAMPLER1DSHADOW:
  ------------------
  |  Branch (1790:5): [True: 484, False: 480k]
  ------------------
 1791|  8.51k|    case F16SAMPLER2DSHADOW:
  ------------------
  |  Branch (1791:5): [True: 836, False: 479k]
  ------------------
 1792|  8.86k|    case F16SAMPLER1DARRAYSHADOW:
  ------------------
  |  Branch (1792:5): [True: 348, False: 480k]
  ------------------
 1793|  9.30k|    case F16SAMPLER2DARRAYSHADOW:
  ------------------
  |  Branch (1793:5): [True: 436, False: 480k]
  ------------------
 1794|  9.72k|    case F16SAMPLER2DRECTSHADOW:
  ------------------
  |  Branch (1794:5): [True: 419, False: 480k]
  ------------------
 1795|  10.0k|    case F16SAMPLERCUBESHADOW:
  ------------------
  |  Branch (1795:5): [True: 348, False: 480k]
  ------------------
 1796|  10.3k|    case F16SAMPLERCUBEARRAYSHADOW:
  ------------------
  |  Branch (1796:5): [True: 244, False: 480k]
  ------------------
 1797|       |
 1798|  10.4k|    case F16IMAGE1D:
  ------------------
  |  Branch (1798:5): [True: 161, False: 480k]
  ------------------
 1799|  10.6k|    case F16IMAGE2D:
  ------------------
  |  Branch (1799:5): [True: 175, False: 480k]
  ------------------
 1800|  10.8k|    case F16IMAGE3D:
  ------------------
  |  Branch (1800:5): [True: 175, False: 480k]
  ------------------
 1801|  10.9k|    case F16IMAGE2DRECT:
  ------------------
  |  Branch (1801:5): [True: 154, False: 480k]
  ------------------
 1802|  11.1k|    case F16IMAGECUBE:
  ------------------
  |  Branch (1802:5): [True: 175, False: 480k]
  ------------------
 1803|  11.3k|    case F16IMAGE1DARRAY:
  ------------------
  |  Branch (1803:5): [True: 161, False: 480k]
  ------------------
 1804|  11.4k|    case F16IMAGE2DARRAY:
  ------------------
  |  Branch (1804:5): [True: 175, False: 480k]
  ------------------
 1805|  11.6k|    case F16IMAGECUBEARRAY:
  ------------------
  |  Branch (1805:5): [True: 175, False: 480k]
  ------------------
 1806|  11.8k|    case F16IMAGEBUFFER:
  ------------------
  |  Branch (1806:5): [True: 147, False: 480k]
  ------------------
 1807|  11.9k|    case F16IMAGE2DMS:
  ------------------
  |  Branch (1807:5): [True: 161, False: 480k]
  ------------------
 1808|  12.1k|    case F16IMAGE2DMSARRAY:
  ------------------
  |  Branch (1808:5): [True: 161, False: 480k]
  ------------------
 1809|       |
 1810|  12.1k|    case F16TEXTURE1D:
  ------------------
  |  Branch (1810:5): [True: 6, False: 480k]
  ------------------
 1811|  12.1k|    case F16TEXTURE2D:
  ------------------
  |  Branch (1811:5): [True: 10, False: 480k]
  ------------------
 1812|  12.1k|    case F16TEXTURE3D:
  ------------------
  |  Branch (1812:5): [True: 10, False: 480k]
  ------------------
 1813|  12.1k|    case F16TEXTURE2DRECT:
  ------------------
  |  Branch (1813:5): [True: 9, False: 480k]
  ------------------
 1814|  12.1k|    case F16TEXTURECUBE:
  ------------------
  |  Branch (1814:5): [True: 2, False: 480k]
  ------------------
 1815|  12.1k|    case F16TEXTURE1DARRAY:
  ------------------
  |  Branch (1815:5): [True: 6, False: 480k]
  ------------------
 1816|  12.1k|    case F16TEXTURE2DARRAY:
  ------------------
  |  Branch (1816:5): [True: 10, False: 480k]
  ------------------
 1817|  12.1k|    case F16TEXTURECUBEARRAY:
  ------------------
  |  Branch (1817:5): [True: 2, False: 480k]
  ------------------
 1818|  12.1k|    case F16TEXTUREBUFFER:
  ------------------
  |  Branch (1818:5): [True: 3, False: 480k]
  ------------------
 1819|  12.1k|    case F16TEXTURE2DMS:
  ------------------
  |  Branch (1819:5): [True: 6, False: 480k]
  ------------------
 1820|  12.2k|    case F16TEXTURE2DMSARRAY:
  ------------------
  |  Branch (1820:5): [True: 6, False: 480k]
  ------------------
 1821|       |
 1822|  12.2k|    case F16SUBPASSINPUT:
  ------------------
  |  Branch (1822:5): [True: 0, False: 480k]
  ------------------
 1823|  12.2k|    case F16SUBPASSINPUTMS:
  ------------------
  |  Branch (1823:5): [True: 0, False: 480k]
  ------------------
 1824|  12.2k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1824:13): [True: 12.2k, False: 0]
  ------------------
 1825|  12.2k|            parseContext.extensionTurnedOn(E_GL_AMD_gpu_shader_half_float_fetch)) {
  ------------------
  |  Branch (1825:13): [True: 0, False: 0]
  ------------------
 1826|  12.2k|            afterType = true;
 1827|  12.2k|            return keyword;
 1828|  12.2k|        }
 1829|      0|        return identifierOrType();
 1830|       |
 1831|      0|    case EXPLICITINTERPAMD:
  ------------------
  |  Branch (1831:5): [True: 0, False: 480k]
  ------------------
 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: 480k]
  ------------------
 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: 480k]
  ------------------
 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: 480k]
  ------------------
 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|      7|    case PERPRIMITIVENV:
  ------------------
  |  Branch (1861:5): [True: 7, False: 480k]
  ------------------
 1862|     42|    case PERVIEWNV:
  ------------------
  |  Branch (1862:5): [True: 35, False: 480k]
  ------------------
 1863|     42|    case PERTASKNV:
  ------------------
  |  Branch (1863:5): [True: 0, False: 480k]
  ------------------
 1864|     42|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1864:13): [True: 42, False: 0]
  ------------------
 1865|      0|            parseContext.extensionTurnedOn(E_GL_NV_mesh_shader))
  ------------------
  |  Branch (1865:13): [True: 0, False: 0]
  ------------------
 1866|     42|            return keyword;
 1867|      0|        return identifierOrType();
 1868|       |
 1869|      7|    case PERPRIMITIVEEXT:
  ------------------
  |  Branch (1869:5): [True: 7, False: 480k]
  ------------------
 1870|      7|    case TASKPAYLOADWORKGROUPEXT:
  ------------------
  |  Branch (1870:5): [True: 0, False: 480k]
  ------------------
 1871|      7|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1871:13): [True: 7, False: 0]
  ------------------
 1872|      0|            parseContext.extensionTurnedOn(E_GL_EXT_mesh_shader))
  ------------------
  |  Branch (1872:13): [True: 0, False: 0]
  ------------------
 1873|      7|            return keyword;
 1874|      0|        return identifierOrType();
 1875|       |
 1876|    147|    case FCOOPMATNV:
  ------------------
  |  Branch (1876:5): [True: 147, False: 480k]
  ------------------
 1877|    147|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1877:13): [True: 147, False: 0]
  ------------------
 1878|    147|            parseContext.extensionTurnedOn(E_GL_NV_cooperative_matrix)) {
  ------------------
  |  Branch (1878:13): [True: 0, False: 0]
  ------------------
 1879|    147|            afterType = true;
 1880|    147|            return keyword;
 1881|    147|        }
 1882|      0|        return identifierOrType();
 1883|       |
 1884|    196|    case UCOOPMATNV:
  ------------------
  |  Branch (1884:5): [True: 196, False: 480k]
  ------------------
 1885|    392|    case ICOOPMATNV:
  ------------------
  |  Branch (1885:5): [True: 196, False: 480k]
  ------------------
 1886|    392|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1886:13): [True: 392, False: 0]
  ------------------
 1887|    392|            parseContext.extensionTurnedOn(E_GL_NV_integer_cooperative_matrix)) {
  ------------------
  |  Branch (1887:13): [True: 0, False: 0]
  ------------------
 1888|    392|            afterType = true;
 1889|    392|            return keyword;
 1890|    392|        }
 1891|      0|        return identifierOrType();
 1892|    427|    case TENSORARM:
  ------------------
  |  Branch (1892:5): [True: 427, False: 480k]
  ------------------
 1893|    427|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1893:13): [True: 427, False: 0]
  ------------------
 1894|    427|            parseContext.extensionTurnedOn(E_GL_ARM_tensors)) {
  ------------------
  |  Branch (1894:13): [True: 0, False: 0]
  ------------------
 1895|    427|            afterType = true;
 1896|    427|            return keyword;
 1897|    427|        }
 1898|      0|        return identifierOrType();
 1899|       |
 1900|  1.45k|    case COOPMAT:
  ------------------
  |  Branch (1900:5): [True: 1.45k, False: 479k]
  ------------------
 1901|  1.45k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1901:13): [True: 1.45k, False: 0]
  ------------------
 1902|  1.45k|            parseContext.extensionTurnedOn(E_GL_KHR_cooperative_matrix)) {
  ------------------
  |  Branch (1902:13): [True: 0, False: 0]
  ------------------
 1903|  1.45k|            afterType = true;
 1904|  1.45k|            return keyword;
 1905|  1.45k|        }
 1906|      0|        return identifierOrType();
 1907|       |
 1908|  5.56k|    case COOPVECNV:
  ------------------
  |  Branch (1908:5): [True: 5.56k, False: 475k]
  ------------------
 1909|  5.56k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1909:13): [True: 5.56k, False: 0]
  ------------------
 1910|  5.56k|            parseContext.extensionTurnedOn(E_GL_NV_cooperative_vector)) {
  ------------------
  |  Branch (1910:13): [True: 0, False: 0]
  ------------------
 1911|  5.56k|            afterType = true;
 1912|  5.56k|            return keyword;
 1913|  5.56k|        }
 1914|      0|        return identifierOrType();
 1915|       |
 1916|  4.12k|    case VECTOR:
  ------------------
  |  Branch (1916:5): [True: 4.12k, False: 476k]
  ------------------
 1917|  4.12k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1917:13): [True: 4.12k, False: 0]
  ------------------
 1918|  4.12k|            parseContext.extensionTurnedOn(E_GL_EXT_long_vector)) {
  ------------------
  |  Branch (1918:13): [True: 0, False: 0]
  ------------------
 1919|  4.12k|            afterType = true;
 1920|  4.12k|            return keyword;
 1921|  4.12k|        }
 1922|      0|        return identifierOrType();
 1923|       |
 1924|      0|    case DEMOTE:
  ------------------
  |  Branch (1924:5): [True: 0, False: 480k]
  ------------------
 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: 480k]
  ------------------
 1931|      0|    case SPIRV_EXECUTION_MODE:
  ------------------
  |  Branch (1931:5): [True: 0, False: 480k]
  ------------------
 1932|      0|    case SPIRV_EXECUTION_MODE_ID:
  ------------------
  |  Branch (1932:5): [True: 0, False: 480k]
  ------------------
 1933|      0|    case SPIRV_DECORATE:
  ------------------
  |  Branch (1933:5): [True: 0, False: 480k]
  ------------------
 1934|      0|    case SPIRV_DECORATE_ID:
  ------------------
  |  Branch (1934:5): [True: 0, False: 480k]
  ------------------
 1935|      0|    case SPIRV_DECORATE_STRING:
  ------------------
  |  Branch (1935:5): [True: 0, False: 480k]
  ------------------
 1936|      0|    case SPIRV_TYPE:
  ------------------
  |  Branch (1936:5): [True: 0, False: 480k]
  ------------------
 1937|      0|    case SPIRV_STORAGE_CLASS:
  ------------------
  |  Branch (1937:5): [True: 0, False: 480k]
  ------------------
 1938|      0|    case SPIRV_BY_REFERENCE:
  ------------------
  |  Branch (1938:5): [True: 0, False: 480k]
  ------------------
 1939|      0|    case SPIRV_LITERAL:
  ------------------
  |  Branch (1939:5): [True: 0, False: 480k]
  ------------------
 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: 480k]
  ------------------
 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: 480k]
  ------------------
 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: 480k]
  ------------------
 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: 480k]
  ------------------
 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|     35|    case FUNCTION:
  ------------------
  |  Branch (1973:5): [True: 35, False: 480k]
  ------------------
 1974|    427|    case TENSORLAYOUTNV:
  ------------------
  |  Branch (1974:5): [True: 392, False: 480k]
  ------------------
 1975|    672|    case TENSORVIEWNV:
  ------------------
  |  Branch (1975:5): [True: 245, False: 480k]
  ------------------
 1976|    672|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1976:13): [True: 672, False: 0]
  ------------------
 1977|    672|            parseContext.extensionTurnedOn(E_GL_NV_cooperative_matrix2)) {
  ------------------
  |  Branch (1977:13): [True: 0, False: 0]
  ------------------
 1978|    672|            afterType = true;
 1979|    672|            return keyword;
 1980|    672|        }
 1981|      0|        return identifierOrType();
 1982|       |
 1983|      0|    case RESOURCEHEAP:
  ------------------
  |  Branch (1983:5): [True: 0, False: 480k]
  ------------------
 1984|      0|    case SAMPLERHEAP:
  ------------------
  |  Branch (1984:5): [True: 0, False: 480k]
  ------------------
 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: 480k]
  ------------------
 1991|      0|        parseContext.infoSink.info.message(EPrefixInternalError, "Unknown glslang keyword", loc);
 1992|      0|        return 0;
 1993|   480k|    }
 1994|   480k|}
_ZN7glslang12TScanContext16identifierOrTypeEv:
 1997|   167k|{
 1998|   167k|    parserToken->sType.lex.string = NewPoolTString(tokenText);
 1999|   167k|    if (field)
  ------------------
  |  Branch (1999:9): [True: 0, False: 167k]
  ------------------
 2000|      0|        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|   167k|    if (afterType && angleBracketDepth == 0 && squareBracketDepth == 0 && parenDepth == 0) {
  ------------------
  |  Branch (2005:9): [True: 166k, False: 374]
  |  Branch (2005:22): [True: 166k, False: 0]
  |  Branch (2005:48): [True: 166k, False: 0]
  |  Branch (2005:75): [True: 110k, False: 56.3k]
  ------------------
 2006|   110k|        afterDeclarator = true;
 2007|   110k|        afterType = false;
 2008|   110k|        return IDENTIFIER;
 2009|   110k|    }
 2010|       |
 2011|  56.6k|    parserToken->sType.lex.symbol = parseContext.symbolTable.find(*parserToken->sType.lex.string);
 2012|  56.6k|    if ((afterType == false && afterStruct == false) && parserToken->sType.lex.symbol != nullptr) {
  ------------------
  |  Branch (2012:10): [True: 374, False: 56.3k]
  |  Branch (2012:32): [True: 275, False: 99]
  |  Branch (2012:57): [True: 176, False: 99]
  ------------------
 2013|    176|        if (const TVariable* variable = parserToken->sType.lex.symbol->getAsVariable()) {
  ------------------
  |  Branch (2013:30): [True: 176, False: 0]
  ------------------
 2014|    176|            if (variable->isUserType() &&
  ------------------
  |  Branch (2014:17): [True: 169, False: 7]
  ------------------
 2015|       |                // treat redeclaration of forward-declared buffer/uniform reference as an identifier
 2016|    169|                !(variable->getType().isReference() && afterBuffer)) {
  ------------------
  |  Branch (2016:19): [True: 0, False: 169]
  |  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|    169|                if (inDeclaratorList) {
  ------------------
  |  Branch (2020:21): [True: 0, False: 169]
  ------------------
 2021|      0|                    return IDENTIFIER;
 2022|      0|                }
 2023|       |                
 2024|    169|                afterType = true;
 2025|    169|                return TYPE_NAME;
 2026|    169|            }
 2027|    176|        }
 2028|    176|    }
 2029|       |
 2030|  56.5k|    return IDENTIFIER;
 2031|  56.6k|}
_ZN7glslang12TScanContext12reservedWordEv:
 2037|    468|{
 2038|    468|    if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (2038:9): [True: 0, False: 468]
  ------------------
 2039|      0|        parseContext.error(loc, "Reserved word.", tokenText, "", "");
 2040|       |
 2041|    468|    return 0;
 2042|    468|}
_ZN7glslang12TScanContext20es30ReservedFromGLSLEi:
 2061|  20.6k|{
 2062|  20.6k|    if (parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (2062:9): [True: 20.6k, False: 0]
  ------------------
 2063|  20.6k|        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|  47.6k|{
 2081|  47.6k|    if ((parseContext.isEsProfile() && parseContext.version < esVersion) ||
  ------------------
  |  Branch (2081:10): [True: 0, False: 47.6k]
  |  Branch (2081:40): [True: 0, False: 0]
  ------------------
 2082|  47.6k|        (!parseContext.isEsProfile() && parseContext.version < nonEsVersion)) {
  ------------------
  |  Branch (2082:10): [True: 47.6k, False: 0]
  |  Branch (2082:41): [True: 0, False: 47.6k]
  ------------------
 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|  47.6k|    return keyword;
 2090|  47.6k|}
_ZN7glslang12TScanContext16precisionKeywordEv:
 2093|  15.3k|{
 2094|  15.3k|    if (parseContext.isEsProfile() || parseContext.version >= 130)
  ------------------
  |  Branch (2094:9): [True: 936, False: 14.3k]
  |  Branch (2094:39): [True: 14.3k, False: 0]
  ------------------
 2095|  15.3k|        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|  15.3k|}
_ZN7glslang12TScanContext6matNxMEv:
 2104|    252|{
 2105|    252|    afterType = true;
 2106|       |
 2107|    252|    if (parseContext.version > 110)
  ------------------
  |  Branch (2107:9): [True: 252, False: 0]
  ------------------
 2108|    252|        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|    252|}
_ZN7glslang12TScanContext4dMatEv:
 2117|    441|{
 2118|    441|    afterType = true;
 2119|       |
 2120|    441|    if (parseContext.isEsProfile() && parseContext.version >= 300) {
  ------------------
  |  Branch (2120:9): [True: 0, False: 441]
  |  Branch (2120:39): [True: 0, False: 0]
  ------------------
 2121|      0|        reservedWord();
 2122|       |
 2123|      0|        return keyword;
 2124|      0|    }
 2125|       |
 2126|    441|    if (!parseContext.isEsProfile() && (parseContext.version >= 400 ||
  ------------------
  |  Branch (2126:9): [True: 441, False: 0]
  |  Branch (2126:41): [True: 441, False: 0]
  ------------------
 2127|      0|        parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (2127:9): [True: 0, 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|    441|        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|    441|}
_ZN7glslang12TScanContext20firstGenerationImageEb:
 2140|  6.61k|{
 2141|  6.61k|    if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (2141:9): [True: 6.61k, 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|  6.61k|        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|  2.48k|{
 2162|  2.48k|    if (parseContext.isEsProfile() && parseContext.version >= 310) {
  ------------------
  |  Branch (2162:9): [True: 0, False: 2.48k]
  |  Branch (2162:39): [True: 0, False: 0]
  ------------------
 2163|      0|        reservedWord();
 2164|      0|        return keyword;
 2165|      0|    }
 2166|       |
 2167|  2.48k|    if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (2167:9): [True: 2.48k, 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|  2.48k|        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|  2.48k|}
_ZN7glslang12TParserTokenC2ER7YYSTYPE:
  281|  1.18M|    explicit TParserToken(YYSTYPE& b) : sType(b) { }
Scan.cpp:_ZNK12_GLOBAL__N_18str_hashclEPKc:
  312|  1.29M|    {
  313|       |        // djb2
  314|  1.29M|        unsigned long hash = 5381;
  315|  1.29M|        int c;
  316|       |
  317|  11.2M|        while ((c = *str++) != 0)
  ------------------
  |  Branch (317:16): [True: 9.97M, False: 1.29M]
  ------------------
  318|  9.97M|            hash = ((hash << 5) + hash) + c;
  319|       |
  320|  1.29M|        return hash;
  321|  1.29M|    }
Scan.cpp:_ZNK12_GLOBAL__N_16str_eqclEPKcS2_:
  304|   480k|    {
  305|   480k|        return strcmp(lhs, rhs) == 0;
  306|   480k|    }

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

_ZNK7glslang5TType16buildMangledNameERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
   57|   541k|{
   58|   541k|    if (isTensorARM())
  ------------------
  |  Branch (58:9): [True: 427, False: 541k]
  ------------------
   59|    427|        mangledName += 'T';
   60|   541k|    else if (isMatrix())
  ------------------
  |  Branch (60:14): [True: 106k, False: 434k]
  ------------------
   61|   106k|        mangledName += 'm';
   62|   434k|    else if (isVector())
  ------------------
  |  Branch (62:14): [True: 189k, False: 245k]
  ------------------
   63|   189k|        mangledName += 'v';
   64|       |
   65|   541k|    if (isCoopVecNV())
  ------------------
  |  Branch (65:9): [True: 5.50k, False: 536k]
  ------------------
   66|  5.50k|        mangledName += "coopvec";
   67|       |
   68|   541k|    switch (basicType) {
   69|   170k|    case EbtFloat:              mangledName += 'f';      break;
  ------------------
  |  Branch (69:5): [True: 170k, False: 370k]
  ------------------
   70|   126k|    case EbtInt:                mangledName += 'i';      break;
  ------------------
  |  Branch (70:5): [True: 126k, False: 415k]
  ------------------
   71|  81.3k|    case EbtUint:               mangledName += 'u';      break;
  ------------------
  |  Branch (71:5): [True: 81.3k, False: 460k]
  ------------------
   72|  8.05k|    case EbtBool:               mangledName += 'b';      break;
  ------------------
  |  Branch (72:5): [True: 8.05k, False: 533k]
  ------------------
   73|  12.3k|    case EbtDouble:             mangledName += 'd';      break;
  ------------------
  |  Branch (73:5): [True: 12.3k, False: 529k]
  ------------------
   74|  21.4k|    case EbtFloat16:            mangledName += "f16";    break;
  ------------------
  |  Branch (74:5): [True: 21.4k, False: 520k]
  ------------------
   75|    224|    case EbtBFloat16:           mangledName += "bf16";   break;
  ------------------
  |  Branch (75:5): [True: 224, False: 541k]
  ------------------
   76|    168|    case EbtFloatE5M2:          mangledName += "fe5m2";  break;
  ------------------
  |  Branch (76:5): [True: 168, False: 541k]
  ------------------
   77|    168|    case EbtFloatE4M3:          mangledName += "fe4m3";  break;
  ------------------
  |  Branch (77:5): [True: 168, False: 541k]
  ------------------
   78|  3.83k|    case EbtInt8:               mangledName += "i8";     break;
  ------------------
  |  Branch (78:5): [True: 3.83k, False: 537k]
  ------------------
   79|  3.65k|    case EbtUint8:              mangledName += "u8";     break;
  ------------------
  |  Branch (79:5): [True: 3.65k, False: 537k]
  ------------------
   80|  4.96k|    case EbtInt16:              mangledName += "i16";    break;
  ------------------
  |  Branch (80:5): [True: 4.96k, False: 536k]
  ------------------
   81|  4.64k|    case EbtUint16:             mangledName += "u16";    break;
  ------------------
  |  Branch (81:5): [True: 4.64k, False: 536k]
  ------------------
   82|  6.25k|    case EbtInt64:              mangledName += "i64";    break;
  ------------------
  |  Branch (82:5): [True: 6.25k, False: 535k]
  ------------------
   83|  9.35k|    case EbtUint64:             mangledName += "u64";    break;
  ------------------
  |  Branch (83:5): [True: 9.35k, False: 532k]
  ------------------
   84|     72|    case EbtAtomicUint:         mangledName += "au";     break;
  ------------------
  |  Branch (84:5): [True: 72, False: 541k]
  ------------------
   85|      0|    case EbtAccStruct:          mangledName += "as";     break;
  ------------------
  |  Branch (85:5): [True: 0, False: 541k]
  ------------------
   86|      0|    case EbtRayQuery:           mangledName += "rq";     break;
  ------------------
  |  Branch (86:5): [True: 0, False: 541k]
  ------------------
   87|      0|    case EbtSpirvType:          mangledName += "spv-t";  break;
  ------------------
  |  Branch (87:5): [True: 0, False: 541k]
  ------------------
   88|      0|    case EbtHitObjectNV:        mangledName += "ho";     break;
  ------------------
  |  Branch (88:5): [True: 0, False: 541k]
  ------------------
   89|      0|    case EbtHitObjectEXT:       mangledName += "ho";     break;
  ------------------
  |  Branch (89:5): [True: 0, False: 541k]
  ------------------
   90|    231|    case EbtTensorLayoutNV:     mangledName += "tl";     break;
  ------------------
  |  Branch (90:5): [True: 231, False: 541k]
  ------------------
   91|    119|    case EbtTensorViewNV:       mangledName += "tv";     break;
  ------------------
  |  Branch (91:5): [True: 119, False: 541k]
  ------------------
   92|  77.6k|    case EbtSampler:
  ------------------
  |  Branch (92:5): [True: 77.6k, False: 463k]
  ------------------
   93|  77.6k|        switch (sampler.type) {
   94|  12.2k|        case EbtFloat16: mangledName += "f16"; break;
  ------------------
  |  Branch (94:9): [True: 12.2k, False: 65.4k]
  ------------------
   95|  13.2k|        case EbtInt:   mangledName += "i"; break;
  ------------------
  |  Branch (95:9): [True: 13.2k, False: 64.3k]
  ------------------
   96|  13.2k|        case EbtUint:  mangledName += "u"; break;
  ------------------
  |  Branch (96:9): [True: 13.2k, False: 64.3k]
  ------------------
   97|  1.82k|        case EbtInt64:   mangledName += "i64"; break;
  ------------------
  |  Branch (97:9): [True: 1.82k, False: 75.8k]
  ------------------
   98|  1.82k|        case EbtUint64:  mangledName += "u64"; break;
  ------------------
  |  Branch (98:9): [True: 1.82k, False: 75.8k]
  ------------------
   99|  35.2k|        default: break; // some compilers want this
  ------------------
  |  Branch (99:9): [True: 35.2k, False: 42.4k]
  ------------------
  100|  77.6k|        }
  101|  77.6k|        if (sampler.isImageClass())
  ------------------
  |  Branch (101:13): [True: 13.1k, False: 64.5k]
  ------------------
  102|  13.1k|            mangledName += "I";  // a normal image or subpass
  103|  64.5k|        else if (sampler.isPureSampler())
  ------------------
  |  Branch (103:18): [True: 17.4k, False: 47.1k]
  ------------------
  104|  17.4k|            mangledName += "p";  // a "pure" sampler
  105|  47.1k|        else if (!sampler.isCombined())
  ------------------
  |  Branch (105:18): [True: 20.7k, False: 26.3k]
  ------------------
  106|  20.7k|            mangledName += "t";  // a "pure" texture
  107|  26.3k|        else
  108|  26.3k|            mangledName += "s";  // traditional combined sampler
  109|  77.6k|        if (sampler.isArrayed())
  ------------------
  |  Branch (109:13): [True: 22.1k, False: 55.4k]
  ------------------
  110|  22.1k|            mangledName += "A";
  111|  77.6k|        if (sampler.isShadow())
  ------------------
  |  Branch (111:13): [True: 11.7k, False: 65.8k]
  ------------------
  112|  11.7k|            mangledName += "S";
  113|  77.6k|        if (sampler.isExternal())
  ------------------
  |  Branch (113:13): [True: 234, False: 77.4k]
  ------------------
  114|    234|            mangledName += "E";
  115|  77.6k|        if (sampler.isYuv())
  ------------------
  |  Branch (115:13): [True: 624, False: 77.0k]
  ------------------
  116|    624|            mangledName += "Y";
  117|  77.6k|        switch (sampler.dim) {
  118|  29.0k|        case Esd2D:       mangledName += "2";  break;
  ------------------
  |  Branch (118:9): [True: 29.0k, False: 48.6k]
  ------------------
  119|  5.38k|        case Esd3D:       mangledName += "3";  break;
  ------------------
  |  Branch (119:9): [True: 5.38k, False: 72.3k]
  ------------------
  120|  10.0k|        case EsdCube:     mangledName += "C";  break;
  ------------------
  |  Branch (120:9): [True: 10.0k, False: 67.6k]
  ------------------
  121|  10.2k|        case Esd1D:       mangledName += "1";  break;
  ------------------
  |  Branch (121:9): [True: 10.2k, False: 67.4k]
  ------------------
  122|  3.47k|        case EsdRect:     mangledName += "R2"; break;
  ------------------
  |  Branch (122:9): [True: 3.47k, False: 74.2k]
  ------------------
  123|  1.29k|        case EsdBuffer:   mangledName += "B";  break;
  ------------------
  |  Branch (123:9): [True: 1.29k, False: 76.3k]
  ------------------
  124|    672|        case EsdSubpass:  mangledName += "P";  break;
  ------------------
  |  Branch (124:9): [True: 672, False: 77.0k]
  ------------------
  125|  17.4k|        default: break; // some compilers want this
  ------------------
  |  Branch (125:9): [True: 17.4k, False: 60.2k]
  ------------------
  126|  77.6k|        }
  127|       |
  128|  77.6k|#ifdef ENABLE_HLSL
  129|  77.6k|        if (sampler.hasReturnStruct()) {
  ------------------
  |  Branch (129:13): [True: 0, False: 77.6k]
  ------------------
  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|  77.6k|        } else {
  137|  77.6k|            switch (sampler.getVectorSize()) {
  ------------------
  |  Branch (137:21): [True: 77.6k, False: 0]
  ------------------
  138|  4.36k|            case 1: mangledName += "1"; break;
  ------------------
  |  Branch (138:13): [True: 4.36k, False: 73.3k]
  ------------------
  139|  12.7k|            case 2: mangledName += "2"; break;
  ------------------
  |  Branch (139:13): [True: 12.7k, False: 64.9k]
  ------------------
  140|  1.76k|            case 3: mangledName += "3"; break;
  ------------------
  |  Branch (140:13): [True: 1.76k, False: 75.9k]
  ------------------
  141|  58.7k|            case 4: break; // default to prior name mangle behavior
  ------------------
  |  Branch (141:13): [True: 58.7k, False: 18.9k]
  ------------------
  142|  77.6k|            }
  143|  77.6k|        }
  144|  77.6k|#endif
  145|       |
  146|  77.6k|        if (sampler.isMultiSample())
  ------------------
  |  Branch (146:13): [True: 3.48k, False: 74.2k]
  ------------------
  147|  3.48k|            mangledName += "M";
  148|  77.6k|        break;
  149|     84|    case EbtStruct:
  ------------------
  |  Branch (149:5): [True: 84, False: 541k]
  ------------------
  150|     84|    case EbtBlock:
  ------------------
  |  Branch (150:5): [True: 0, False: 541k]
  ------------------
  151|     84|        if (basicType == EbtStruct)
  ------------------
  |  Branch (151:13): [True: 84, False: 0]
  ------------------
  152|     84|            mangledName += "struct-";
  153|      0|        else
  154|      0|            mangledName += "block-";
  155|     84|        if (typeName)
  ------------------
  |  Branch (155:13): [True: 84, False: 0]
  ------------------
  156|     84|            mangledName += *typeName;
  157|    504|        for (unsigned int i = 0; i < structure->size(); ++i) {
  ------------------
  |  Branch (157:34): [True: 420, False: 84]
  ------------------
  158|    420|            if ((*structure)[i].type->getBasicType() == EbtVoid)
  ------------------
  |  Branch (158:17): [True: 0, False: 420]
  ------------------
  159|      0|                continue;
  160|    420|            mangledName += '-';
  161|    420|            (*structure)[i].type->buildMangledName(mangledName);
  162|    420|        }
  163|     84|        break;
  164|  9.78k|    default:
  ------------------
  |  Branch (164:5): [True: 9.78k, False: 531k]
  ------------------
  165|  9.78k|        break;
  166|   541k|    }
  167|       |
  168|   541k|    if (getVectorSize() > 0)
  ------------------
  |  Branch (168:9): [True: 435k, False: 106k]
  ------------------
  169|   435k|        mangledName += static_cast<char>('0' + getVectorSize());
  170|   106k|    else {
  171|   106k|        mangledName += static_cast<char>('0' + getMatrixCols());
  172|   106k|        mangledName += static_cast<char>('0' + getMatrixRows());
  173|   106k|    }
  174|       |
  175|   541k|    if (typeParameters) {
  ------------------
  |  Branch (175:9): [True: 0, False: 541k]
  ------------------
  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|   541k|    if (arraySizes) {
  ------------------
  |  Branch (192:9): [True: 9.68k, False: 531k]
  ------------------
  193|  9.68k|        const int maxSize = 11;
  194|  9.68k|        char buf[maxSize];
  195|  19.3k|        for (int i = 0; i < arraySizes->getNumDims(); ++i) {
  ------------------
  |  Branch (195:25): [True: 9.68k, False: 9.68k]
  ------------------
  196|  9.68k|            if (arraySizes->getDimNode(i)) {
  ------------------
  |  Branch (196:17): [True: 0, False: 9.68k]
  ------------------
  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|  9.68k|                snprintf(buf, maxSize, "%d", arraySizes->getDimSize(i));
  203|  9.68k|            mangledName += '[';
  204|  9.68k|            mangledName += buf;
  205|  9.68k|            mangledName += ']';
  206|  9.68k|        }
  207|  9.68k|    }
  208|   541k|}
_ZN7glslang9TFunctionD2Ev:
  292|   419k|{
  293|  1.45M|    for (TParamList::iterator i = parameters.begin(); i != parameters.end(); ++i)
  ------------------
  |  Branch (293:55): [True: 1.04M, False: 419k]
  ------------------
  294|  1.04M|        delete (*i).type;
  295|   419k|}
_ZN7glslang17TSymbolTableLevelD2Ev:
  301|  1.49k|{
  302|   430k|    for (tLevel::iterator it = level.begin(); it != level.end(); ++it) {
  ------------------
  |  Branch (302:47): [True: 428k, False: 1.49k]
  ------------------
  303|   428k|        const TString& name = it->first;
  304|   428k|        auto retargetIter = std::find_if(retargetedSymbols.begin(), retargetedSymbols.end(),
  305|   428k|                                      [&name](const std::pair<TString, TString>& i) { return i.first == name; });
  306|   428k|        if (retargetIter == retargetedSymbols.end())
  ------------------
  |  Branch (306:13): [True: 428k, False: 0]
  ------------------
  307|   428k|            delete (*it).second;
  308|   428k|    }
  309|       |
  310|       |
  311|  1.49k|    delete [] defaultPrecision;
  312|  1.49k|}
_ZN7glslang17TSymbolTableLevel16relateToOperatorEPKcNS_9TOperatorE:
  319|   273k|{
  320|   273k|    tLevel::const_iterator candidate = level.lower_bound(name);
  321|  2.84M|    while (candidate != level.end()) {
  ------------------
  |  Branch (321:12): [True: 2.74M, False: 101k]
  ------------------
  322|  2.74M|        const TString& candidateName = (*candidate).first;
  323|  2.74M|        TString::size_type parenAt = candidateName.find_first_of('(');
  324|  2.74M|        if (parenAt != candidateName.npos && candidateName.compare(0, parenAt, name) == 0) {
  ------------------
  |  Branch (324:13): [True: 2.73M, False: 11.3k]
  |  Branch (324:46): [True: 2.57M, False: 160k]
  ------------------
  325|  2.57M|            TFunction* function = (*candidate).second->getAsFunction();
  326|  2.57M|            function->relateToOperator(op);
  327|  2.57M|        } else
  328|   171k|            break;
  329|  2.57M|        ++candidate;
  330|  2.57M|    }
  331|   273k|}
_ZN7glslang17TSymbolTableLevel21setFunctionExtensionsEPKciPKS2_:
  336|  7.78k|{
  337|  7.78k|    tLevel::const_iterator candidate = level.lower_bound(name);
  338|  43.5k|    while (candidate != level.end()) {
  ------------------
  |  Branch (338:12): [True: 43.0k, False: 580]
  ------------------
  339|  43.0k|        const TString& candidateName = (*candidate).first;
  340|  43.0k|        TString::size_type parenAt = candidateName.find_first_of('(');
  341|  43.0k|        if (parenAt != candidateName.npos && candidateName.compare(0, parenAt, name) == 0) {
  ------------------
  |  Branch (341:13): [True: 42.5k, False: 501]
  |  Branch (341:46): [True: 35.8k, False: 6.70k]
  ------------------
  342|  35.8k|            TSymbol* symbol = candidate->second;
  343|  35.8k|            symbol->setExtensions(num, extensions);
  344|  35.8k|        } else
  345|  7.20k|            break;
  346|  35.8k|        ++candidate;
  347|  35.8k|    }
  348|  7.78k|}
_ZN7glslang17TSymbolTableLevel29setFunctionExtensionsCallbackEPKcRKNSt3__18functionIFNS3_6vectorIS2_NS3_9allocatorIS2_EEEES2_EEE:
  352|    140|{
  353|    140|    tLevel::const_iterator candidate = level.lower_bound(name);
  354|  4.78k|    while (candidate != level.end()) {
  ------------------
  |  Branch (354:12): [True: 4.78k, False: 0]
  ------------------
  355|  4.78k|        const TString& candidateName = (*candidate).first;
  356|  4.78k|        TString::size_type parenAt = candidateName.find_first_of('(');
  357|  4.78k|        if (parenAt != candidateName.npos && candidateName.compare(0, parenAt, name) == 0) {
  ------------------
  |  Branch (357:13): [True: 4.78k, False: 0]
  |  Branch (357:46): [True: 4.64k, False: 140]
  ------------------
  358|  4.64k|            TSymbol* symbol = candidate->second;
  359|       |
  360|  4.64k|            auto exts = func(candidateName.c_str());
  361|  4.64k|            symbol->setExtensions(exts.size(), exts.data());
  362|  4.64k|        } else
  363|    140|            break;
  364|  4.64k|        ++candidate;
  365|  4.64k|    }
  366|    140|}
_ZN7glslang17TSymbolTableLevel8readOnlyEv:
  382|  1.22k|{
  383|  2.61M|    for (tLevel::iterator it = level.begin(); it != level.end(); ++it)
  ------------------
  |  Branch (383:47): [True: 2.61M, False: 1.22k]
  ------------------
  384|  2.61M|        (*it).second->makeReadOnly();
  385|  1.22k|}
_ZN7glslang7TSymbolC2ERKS0_:
  391|   207k|{
  392|   207k|    name = NewPoolTString(copyOf.name->c_str());
  393|   207k|    mangledName = NewPoolTString(copyOf.mangledName->c_str());
  394|   207k|    uniqueId = copyOf.uniqueId;
  395|   207k|    writable = true;
  396|   207k|}
_ZN7glslang9TVariableC2ERKS0_:
  398|  3.99k|TVariable::TVariable(const TVariable& copyOf) : TSymbol(copyOf)
  399|  3.99k|{
  400|  3.99k|    type.deepCopy(copyOf.type);
  401|  3.99k|    userType = copyOf.userType;
  402|       |
  403|       |    // we don't support specialization-constant subtrees in cloned tables, only extensions
  404|  3.99k|    constSubtree = nullptr;
  405|  3.99k|    extensions = nullptr;
  406|  3.99k|    memberExtensions = nullptr;
  407|  3.99k|    if (copyOf.getNumExtensions() > 0)
  ------------------
  |  Branch (407:9): [True: 1.89k, False: 2.10k]
  ------------------
  408|  1.89k|        setExtensions(copyOf.getNumExtensions(), copyOf.getExtensions());
  409|  3.99k|    if (copyOf.hasMemberExtensions()) {
  ------------------
  |  Branch (409:9): [True: 36, False: 3.95k]
  ------------------
  410|    258|        for (int m = 0; m < (int)copyOf.type.getStruct()->size(); ++m) {
  ------------------
  |  Branch (410:25): [True: 222, False: 36]
  ------------------
  411|    222|            if (copyOf.getNumMemberExtensions(m) > 0)
  ------------------
  |  Branch (411:17): [True: 174, False: 48]
  ------------------
  412|    174|                setMemberExtensions(m, copyOf.getNumMemberExtensions(m), copyOf.getMemberExtensions(m));
  413|    222|        }
  414|     36|    }
  415|       |
  416|  3.99k|    if (! copyOf.constArray.empty()) {
  ------------------
  |  Branch (416:9): [True: 678, False: 3.31k]
  ------------------
  417|       |        assert(! copyOf.type.isStruct());
  418|    678|        TConstUnionArray newArray(copyOf.constArray, 0, copyOf.constArray.size());
  419|    678|        constArray = newArray;
  420|    678|    }
  421|  3.99k|}
_ZNK7glslang9TVariable5cloneEv:
  424|  3.99k|{
  425|  3.99k|    TVariable *variable = new TVariable(*this);
  426|       |
  427|  3.99k|    return variable;
  428|  3.99k|}
_ZN7glslang9TFunctionC2ERKS0_:
  430|   203k|TFunction::TFunction(const TFunction& copyOf) : TSymbol(copyOf)
  431|   203k|{
  432|   707k|    for (unsigned int i = 0; i < copyOf.parameters.size(); ++i) {
  ------------------
  |  Branch (432:30): [True: 503k, False: 203k]
  ------------------
  433|   503k|        TParameter param{};
  434|   503k|        parameters.push_back(param);
  435|   503k|        (void)parameters.back().copyParam(copyOf.parameters[i]);
  436|   503k|    }
  437|       |
  438|   203k|    extensions = nullptr;
  439|   203k|    if (copyOf.getNumExtensions() > 0)
  ------------------
  |  Branch (439:9): [True: 38.3k, False: 165k]
  ------------------
  440|  38.3k|        setExtensions(copyOf.getNumExtensions(), copyOf.getExtensions());
  441|   203k|    returnType.deepCopy(copyOf.returnType);
  442|   203k|    mangledName = copyOf.mangledName;
  443|   203k|    op = copyOf.op;
  444|   203k|    defined = copyOf.defined;
  445|   203k|    prototyped = copyOf.prototyped;
  446|   203k|    implicitThis = copyOf.implicitThis;
  447|   203k|    variadic = copyOf.variadic;
  448|   203k|    illegalImplicitThis = copyOf.illegalImplicitThis;
  449|   203k|    defaultParamCount = copyOf.defaultParamCount;
  450|   203k|    spirvInst = copyOf.spirvInst;
  451|   203k|}
_ZNK7glslang9TFunction5cloneEv:
  454|   203k|{
  455|   203k|    TFunction *function = new TFunction(*this);
  456|       |
  457|   203k|    return function;
  458|   203k|}
_ZNK7glslang17TSymbolTableLevel5cloneEv:
  471|    666|{
  472|    666|    TSymbolTableLevel *symTableLevel = new TSymbolTableLevel();
  473|    666|    symTableLevel->anonId = anonId;
  474|    666|    symTableLevel->thisLevel = thisLevel;
  475|    666|    symTableLevel->retargetedSymbols.clear();
  476|    666|    for (auto &s : retargetedSymbols) {
  ------------------
  |  Branch (476:18): [True: 0, False: 666]
  ------------------
  477|      0|        symTableLevel->retargetedSymbols.push_back({s.first, s.second});
  478|      0|    }
  479|    666|    std::vector<bool> containerCopied(anonId, false);
  480|    666|    tLevel::const_iterator iter;
  481|   208k|    for (iter = level.begin(); iter != level.end(); ++iter) {
  ------------------
  |  Branch (481:32): [True: 207k, False: 666]
  ------------------
  482|   207k|        const TAnonMember* anon = iter->second->getAsAnonMember();
  483|   207k|        if (anon) {
  ------------------
  |  Branch (483:13): [True: 72, False: 207k]
  ------------------
  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|     72|            if (! containerCopied[anon->getAnonId()]) {
  ------------------
  |  Branch (487:17): [True: 18, False: 54]
  ------------------
  488|     18|                TVariable* container = anon->getAnonContainer().clone();
  489|     18|                container->changeName(NewPoolTString(""));
  490|       |                // insert the container and all its members
  491|     18|                symTableLevel->insert(*container, false);
  492|     18|                containerCopied[anon->getAnonId()] = true;
  493|     18|            }
  494|   207k|        } else {
  495|   207k|            const TString& name = iter->first;
  496|   207k|            auto retargetIter = std::find_if(retargetedSymbols.begin(), retargetedSymbols.end(),
  497|   207k|                                          [&name](const std::pair<TString, TString>& i) { return i.first == name; });
  498|   207k|            if (retargetIter != retargetedSymbols.end())
  ------------------
  |  Branch (498:17): [True: 0, False: 207k]
  ------------------
  499|      0|                continue;
  500|   207k|            symTableLevel->insert(*iter->second->clone(), false);
  501|   207k|        }
  502|   207k|    }
  503|       |    // Now point retargeted symbols to the newly created versions of them
  504|    666|    for (auto &s : retargetedSymbols) {
  ------------------
  |  Branch (504:18): [True: 0, False: 666]
  ------------------
  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|    666|    return symTableLevel;
  512|    666|}
_ZN7glslang12TSymbolTable9copyTableERKS0_:
  515|    666|{
  516|    666|    assert(adoptedLevels == copyOf.adoptedLevels);
  517|       |
  518|    666|    uniqueId = copyOf.uniqueId;
  519|    666|    noBuiltInRedeclarations = copyOf.noBuiltInRedeclarations;
  520|    666|    separateNameSpaces = copyOf.separateNameSpaces;
  521|  1.33k|    for (unsigned int i = copyOf.adoptedLevels; i < copyOf.table.size(); ++i)
  ------------------
  |  Branch (521:49): [True: 666, False: 666]
  ------------------
  522|    666|        table.push_back(copyOf.table[i]->clone());
  523|    666|}

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

_Z7yyparsePN7glslang13TParseContextE:
 5229|    351|{
 5230|       |/* Lookahead token kind.  */
 5231|    351|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|    351|YY_INITIAL_VALUE (static YYSTYPE yyval_default;)
  ------------------
  |  |  931|    351|# define YY_INITIAL_VALUE(Value) Value
  ------------------
 5238|    351|YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default);
  ------------------
  |  |  931|    351|# define YY_INITIAL_VALUE(Value) Value
  ------------------
 5239|       |
 5240|       |    /* Number of syntax errors so far.  */
 5241|    351|    int yynerrs = 0;
 5242|       |
 5243|    351|    yy_state_fast_t yystate = 0;
 5244|       |    /* Number of tokens to shift before error messages enabled.  */
 5245|    351|    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|    351|    YYPTRDIFF_T yystacksize = YYINITDEPTH;
  ------------------
  |  |  838|    351|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
                  YYPTRDIFF_T yystacksize = YYINITDEPTH;
  ------------------
  |  | 4913|    351|# define YYINITDEPTH 200
  ------------------
 5252|       |
 5253|       |    /* The state stack: array, bottom, top.  */
 5254|    351|    yy_state_t yyssa[YYINITDEPTH];
 5255|    351|    yy_state_t *yyss = yyssa;
 5256|    351|    yy_state_t *yyssp = yyss;
 5257|       |
 5258|       |    /* The semantic value stack: array, bottom, top.  */
 5259|    351|    YYSTYPE yyvsa[YYINITDEPTH];
 5260|    351|    YYSTYPE *yyvs = yyvsa;
 5261|    351|    YYSTYPE *yyvsp = yyvs;
 5262|       |
 5263|    351|  int yyn;
 5264|       |  /* The return value of yyparse.  */
 5265|    351|  int yyresult;
 5266|       |  /* Lookahead symbol kind.  */
 5267|    351|  yysymbol_kind_t yytoken = YYSYMBOL_YYEMPTY;
 5268|       |  /* The variables used to return semantic value and location from the
 5269|       |     action routines.  */
 5270|    351|  YYSTYPE yyval;
 5271|       |
 5272|       |  /* Buffer for error messages, and its allocated size.  */
 5273|    351|  char yymsgbuf[128];
 5274|    351|  char *yymsg = yymsgbuf;
 5275|    351|  YYPTRDIFF_T yymsg_alloc = sizeof yymsgbuf;
  ------------------
  |  |  838|    351|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5276|       |
 5277|    351|#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|    351|  int yylen = 0;
 5282|       |
 5283|    351|  YYDPRINTF ((stderr, "Starting parse\n"));
  ------------------
  |  | 4791|    351|# define YYDPRINTF(Args)                        \
  |  | 4792|    351|do {                                            \
  |  | 4793|    351|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (4793:7): [True: 0, False: 351]
  |  |  ------------------
  |  | 4794|    351|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4795|    351|} while (0)
  |  |  ------------------
  |  |  |  Branch (4795:10): [Folded, False: 351]
  |  |  ------------------
  ------------------
 5284|       |
 5285|    351|  yychar = YYEMPTY; /* Cause a token to be read.  */
 5286|       |
 5287|    351|  goto yysetstate;
 5288|       |
 5289|       |
 5290|       |/*------------------------------------------------------------.
 5291|       || yynewstate -- push a new state, which is found in yystate.  |
 5292|       |`------------------------------------------------------------*/
 5293|  4.32M|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|  4.32M|  yyssp++;
 5297|       |
 5298|       |
 5299|       |/*--------------------------------------------------------------------.
 5300|       || yysetstate -- set current state (the top of the stack) to yystate.  |
 5301|       |`--------------------------------------------------------------------*/
 5302|  4.32M|yysetstate:
 5303|  4.32M|  YYDPRINTF ((stderr, "Entering state %d\n", yystate));
  ------------------
  |  | 4791|  4.32M|# define YYDPRINTF(Args)                        \
  |  | 4792|  4.32M|do {                                            \
  |  | 4793|  4.32M|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (4793:7): [True: 0, False: 4.32M]
  |  |  ------------------
  |  | 4794|  4.32M|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4795|  4.32M|} while (0)
  |  |  ------------------
  |  |  |  Branch (4795:10): [Folded, False: 4.32M]
  |  |  ------------------
  ------------------
 5304|  4.32M|  YY_ASSERT (0 <= yystate && yystate < YYNSTATES);
  ------------------
  |  |  954|  4.32M|#define YY_ASSERT(E) ((void) (0 && (E)))
  |  |  ------------------
  |  |  |  Branch (954:31): [Folded, False: 4.32M]
  |  |  |  Branch (954:37): [True: 0, False: 0]
  |  |  |  Branch (954:37): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5305|  4.32M|  YY_IGNORE_USELESS_CAST_BEGIN
 5306|  4.32M|  *yyssp = YY_CAST (yy_state_t, yystate);
  ------------------
  |  |  100|  4.32M|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
 5307|  4.32M|  YY_IGNORE_USELESS_CAST_END
 5308|  4.32M|  YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 4863|  4.32M|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 4864|  4.32M|do {                                                            \
  |  | 4865|  4.32M|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (4865:7): [True: 0, False: 4.32M]
  |  |  ------------------
  |  | 4866|  4.32M|    yy_stack_print ((Bottom), (Top));                           \
  |  | 4867|  4.32M|} while (0)
  |  |  ------------------
  |  |  |  Branch (4867:10): [Folded, False: 4.32M]
  |  |  ------------------
  ------------------
 5309|       |
 5310|  4.32M|  if (yyss + yystacksize - 1 <= yyssp)
  ------------------
  |  Branch (5310:7): [True: 0, False: 4.32M]
  ------------------
 5311|       |#if !defined yyoverflow && !defined YYSTACK_RELOCATE
 5312|       |    YYNOMEM;
 5313|       |#else
 5314|      0|    {
 5315|       |      /* Get the current used size of the three stacks, in elements.  */
 5316|      0|      YYPTRDIFF_T yysize = yyssp - yyss + 1;
  ------------------
  |  |  838|      0|#  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|      0|      if (YYMAXDEPTH <= yystacksize)
  ------------------
  |  | 4924|      0|# define YYMAXDEPTH 10000
  ------------------
  |  Branch (5339:11): [True: 0, False: 0]
  ------------------
 5340|      0|        YYNOMEM;
  ------------------
  |  | 4756|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
 5341|      0|      yystacksize *= 2;
 5342|      0|      if (YYMAXDEPTH < yystacksize)
  ------------------
  |  | 4924|      0|# define YYMAXDEPTH 10000
  ------------------
  |  Branch (5342:11): [True: 0, False: 0]
  ------------------
 5343|      0|        yystacksize = YYMAXDEPTH;
  ------------------
  |  | 4924|      0|# define YYMAXDEPTH 10000
  ------------------
 5344|       |
 5345|      0|      {
 5346|      0|        yy_state_t *yyss1 = yyss;
 5347|      0|        union yyalloc *yyptr =
 5348|      0|          YY_CAST (union yyalloc *,
  ------------------
  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
 5349|      0|                   YYSTACK_ALLOC (YY_CAST (YYSIZE_T, YYSTACK_BYTES (yystacksize))));
 5350|      0|        if (! yyptr)
  ------------------
  |  Branch (5350:13): [True: 0, False: 0]
  ------------------
 5351|      0|          YYNOMEM;
  ------------------
  |  | 4756|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
 5352|      0|        YYSTACK_RELOCATE (yyss_alloc, yyss);
  ------------------
  |  | 1051|      0|    do                                                                  \
  |  | 1052|      0|      {                                                                 \
  |  | 1053|      0|        YYPTRDIFF_T yynewbytes;                                         \
  |  |  ------------------
  |  |  |  |  838|      0|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  |  |  ------------------
  |  | 1054|      0|        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
  |  |  ------------------
  |  |  |  | 1069|      0|      __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1055|      0|        Stack = &yyptr->Stack_alloc;                                    \
  |  | 1056|      0|        yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  871|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  | 1035|      0|# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  871|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1057|      0|        yyptr += yynewbytes / YYSIZEOF (*yyptr);                        \
  |  |  ------------------
  |  |  |  |  871|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1058|      0|      }                                                                 \
  |  | 1059|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (1059:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5353|      0|        YYSTACK_RELOCATE (yyvs_alloc, yyvs);
  ------------------
  |  | 1051|      0|    do                                                                  \
  |  | 1052|      0|      {                                                                 \
  |  | 1053|      0|        YYPTRDIFF_T yynewbytes;                                         \
  |  |  ------------------
  |  |  |  |  838|      0|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  |  |  ------------------
  |  | 1054|      0|        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
  |  |  ------------------
  |  |  |  | 1069|      0|      __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1055|      0|        Stack = &yyptr->Stack_alloc;                                    \
  |  | 1056|      0|        yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  871|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  | 1035|      0|# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  871|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1057|      0|        yyptr += yynewbytes / YYSIZEOF (*yyptr);                        \
  |  |  ------------------
  |  |  |  |  871|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1058|      0|      }                                                                 \
  |  | 1059|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (1059:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5354|      0|#  undef YYSTACK_RELOCATE
 5355|      0|        if (yyss1 != yyssa)
  ------------------
  |  Branch (5355:13): [True: 0, False: 0]
  ------------------
 5356|      0|          YYSTACK_FREE (yyss1);
  ------------------
  |  |  996|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1015|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
 5357|      0|      }
 5358|      0|# endif
 5359|       |
 5360|      0|      yyssp = yyss + yysize - 1;
 5361|      0|      yyvsp = yyvs + yysize - 1;
 5362|       |
 5363|      0|      YY_IGNORE_USELESS_CAST_BEGIN
 5364|      0|      YYDPRINTF ((stderr, "Stack size increased to %ld\n",
  ------------------
  |  | 4791|      0|# define YYDPRINTF(Args)                        \
  |  | 4792|      0|do {                                            \
  |  | 4793|      0|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (4793:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 4794|      0|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4795|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (4795:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5365|      0|                  YY_CAST (long, yystacksize)));
 5366|      0|      YY_IGNORE_USELESS_CAST_END
 5367|       |
 5368|      0|      if (yyss + yystacksize - 1 <= yyssp)
  ------------------
  |  Branch (5368:11): [True: 0, False: 0]
  ------------------
 5369|      0|        YYABORT;
  ------------------
  |  | 4754|      0|#define YYABORT         goto yyabortlab
  ------------------
 5370|      0|    }
 5371|  4.32M|#endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */
 5372|       |
 5373|       |
 5374|  4.32M|  if (yystate == YYFINAL)
  ------------------
  |  | 1084|  4.32M|#define YYFINAL  476
  ------------------
  |  Branch (5374:7): [True: 305, False: 4.32M]
  ------------------
 5375|    305|    YYACCEPT;
  ------------------
  |  | 4753|    305|#define YYACCEPT        goto yyacceptlab
  ------------------
 5376|       |
 5377|  4.32M|  goto yybackup;
 5378|       |
 5379|       |
 5380|       |/*-----------.
 5381|       || yybackup.  |
 5382|       |`-----------*/
 5383|  4.32M|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|  4.32M|  yyn = yypact[yystate];
 5389|  4.32M|  if (yypact_value_is_default (yyn))
  ------------------
  |  | 1451|  4.32M|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1448|  4.32M|#define YYPACT_NINF (-849)
  |  |  ------------------
  |  |  |  Branch (1451:3): [True: 1.79M, False: 2.52M]
  |  |  ------------------
  ------------------
 5390|  1.79M|    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|  2.52M|  if (yychar == YYEMPTY)
  ------------------
  |  Branch (5395:7): [True: 1.18M, False: 1.34M]
  ------------------
 5396|  1.18M|    {
 5397|  1.18M|      YYDPRINTF ((stderr, "Reading a token\n"));
  ------------------
  |  | 4791|  1.18M|# define YYDPRINTF(Args)                        \
  |  | 4792|  1.18M|do {                                            \
  |  | 4793|  1.18M|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (4793:7): [True: 0, False: 1.18M]
  |  |  ------------------
  |  | 4794|  1.18M|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4795|  1.18M|} while (0)
  |  |  ------------------
  |  |  |  Branch (4795:10): [Folded, False: 1.18M]
  |  |  ------------------
  ------------------
 5398|  1.18M|      yychar = yylex (&yylval, parseContext);
  ------------------
  |  |  756|  1.18M|#define parseContext (*pParseContext)
  ------------------
 5399|  1.18M|    }
 5400|       |
 5401|  2.52M|  if (yychar <= YYEOF)
  ------------------
  |  Branch (5401:7): [True: 348, False: 2.52M]
  ------------------
 5402|    348|    {
 5403|    348|      yychar = YYEOF;
 5404|    348|      yytoken = YYSYMBOL_YYEOF;
 5405|    348|      YYDPRINTF ((stderr, "Now at end of input.\n"));
  ------------------
  |  | 4791|    348|# define YYDPRINTF(Args)                        \
  |  | 4792|    348|do {                                            \
  |  | 4793|    348|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (4793:7): [True: 0, False: 348]
  |  |  ------------------
  |  | 4794|    348|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 4788|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 4795|    348|} while (0)
  |  |  ------------------
  |  |  |  Branch (4795:10): [Folded, False: 348]
  |  |  ------------------
  ------------------
 5406|    348|    }
 5407|  2.52M|  else if (yychar == YYerror)
  ------------------
  |  Branch (5407:12): [True: 0, False: 2.52M]
  ------------------
 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|  2.52M|  else
 5418|  2.52M|    {
 5419|  2.52M|      yytoken = YYTRANSLATE (yychar);
  ------------------
  |  | 1104|  2.52M|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1098|  2.52M|#define YYMAXUTOK   742
  |  |  ------------------
  |  |  |  Branch (1104:4): [True: 2.52M, False: 0]
  |  |  |  Branch (1104:18): [True: 2.52M, False: 0]
  |  |  ------------------
  |  | 1105|  2.52M|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  100|  2.52M|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  |  | 1106|  2.52M|   : YYSYMBOL_YYUNDEF)
  ------------------
 5420|  2.52M|      YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
  ------------------
  |  | 4800|  2.52M|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 4801|  2.52M|do {                                                                      \
  |  | 4802|  2.52M|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (4802:7): [True: 0, False: 2.52M]
  |  |  ------------------
  |  | 4803|  2.52M|    {                                                                     \
  |  | 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|  2.52M|} while (0)
  |  |  ------------------
  |  |  |  Branch (4809:10): [Folded, False: 2.52M]
  |  |  ------------------
  ------------------
 5421|  2.52M|    }
 5422|       |
 5423|       |  /* If the proper action on seeing token YYTOKEN is to reduce or to
 5424|       |     detect an error, take that action.  */
 5425|  2.52M|  yyn += yytoken;
 5426|  2.52M|  if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
  ------------------
  |  | 1086|  2.52M|#define YYLAST   13823
  ------------------
  |  Branch (5426:7): [True: 3, False: 2.52M]
  |  Branch (5426:18): [True: 0, False: 2.52M]
  |  Branch (5426:34): [True: 1.34M, False: 1.18M]
  ------------------
 5427|  1.34M|    goto yydefault;
 5428|  1.18M|  yyn = yytable[yyn];
 5429|  1.18M|  if (yyn <= 0)
  ------------------
  |  Branch (5429:7): [True: 0, False: 1.18M]
  ------------------
 5430|      0|    {
 5431|      0|      if (yytable_value_is_error (yyn))
  ------------------
  |  | 1456|      0|  0
  |  |  ------------------
  |  |  |  Branch (1456:3): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5432|      0|        goto yyerrlab;
 5433|      0|      yyn = -yyn;
 5434|      0|      goto yyreduce;
 5435|      0|    }
 5436|       |
 5437|       |  /* Count tokens shifted since error; after three, turn off error
 5438|       |     status.  */
 5439|  1.18M|  if (yyerrstatus)
  ------------------
  |  Branch (5439:7): [True: 0, False: 1.18M]
  ------------------
 5440|      0|    yyerrstatus--;
 5441|       |
 5442|       |  /* Shift the lookahead token.  */
 5443|  1.18M|  YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
  ------------------
  |  | 4800|  1.18M|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 4801|  1.18M|do {                                                                      \
  |  | 4802|  1.18M|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (4802:7): [True: 0, False: 1.18M]
  |  |  ------------------
  |  | 4803|  1.18M|    {                                                                     \
  |  | 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|  1.18M|} while (0)
  |  |  ------------------
  |  |  |  Branch (4809:10): [Folded, False: 1.18M]
  |  |  ------------------
  ------------------
 5444|  1.18M|  yystate = yyn;
 5445|  1.18M|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 5446|  1.18M|  *++yyvsp = yylval;
 5447|  1.18M|  YY_IGNORE_MAYBE_UNINITIALIZED_END
 5448|       |
 5449|       |  /* Discard the shifted token.  */
 5450|  1.18M|  yychar = YYEMPTY;
 5451|  1.18M|  goto yynewstate;
 5452|       |
 5453|       |
 5454|       |/*-----------------------------------------------------------.
 5455|       || yydefault -- do the default action for the current state.  |
 5456|       |`-----------------------------------------------------------*/
 5457|  3.14M|yydefault:
 5458|  3.14M|  yyn = yydefact[yystate];
 5459|  3.14M|  if (yyn == 0)
  ------------------
  |  Branch (5459:7): [True: 46, False: 3.14M]
  ------------------
 5460|     46|    goto yyerrlab;
 5461|  3.14M|  goto yyreduce;
 5462|       |
 5463|       |
 5464|       |/*-----------------------------.
 5465|       || yyreduce -- do a reduction.  |
 5466|       |`-----------------------------*/
 5467|  3.14M|yyreduce:
 5468|       |  /* yyn is the number of a rule to reduce with.  */
 5469|  3.14M|  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|  3.14M|  yyval = yyvsp[1-yylen];
 5480|       |
 5481|       |
 5482|  3.14M|  YY_REDUCE_PRINT (yyn);
  ------------------
  |  | 4894|  3.14M|# define YY_REDUCE_PRINT(Rule)          \
  |  | 4895|  3.14M|do {                                    \
  |  | 4896|  3.14M|  if (yydebug)                          \
  |  |  ------------------
  |  |  |  Branch (4896:7): [True: 0, False: 3.14M]
  |  |  ------------------
  |  | 4897|  3.14M|    yy_reduce_print (yyssp, yyvsp, Rule, pParseContext); \
  |  | 4898|  3.14M|} while (0)
  |  |  ------------------
  |  |  |  Branch (4898:10): [Folded, False: 3.14M]
  |  |  ------------------
  ------------------
 5483|  3.14M|  switch (yyn)
 5484|  3.14M|    {
 5485|      0|  case 2: /* variable_identifier: IDENTIFIER  */
  ------------------
  |  Branch (5485:3): [True: 0, False: 3.14M]
  ------------------
 5486|      0|#line 365 "MachineIndependent/glslang.y"
 5487|      0|                 {
 5488|      0|        (yyval.interm.intermTypedNode) = parseContext.handleVariable((yyvsp[0].lex).loc, (yyvsp[0].lex).symbol, (yyvsp[0].lex).string);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5489|      0|    }
 5490|      0|#line 5491 "MachineIndependent/glslang_tab.cpp"
 5491|      0|    break;
 5492|       |
 5493|      0|  case 3: /* primary_expression: variable_identifier  */
  ------------------
  |  Branch (5493:3): [True: 0, False: 3.14M]
  ------------------
 5494|      0|#line 371 "MachineIndependent/glslang.y"
 5495|      0|                          {
 5496|      0|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 5497|      0|    }
 5498|      0|#line 5499 "MachineIndependent/glslang_tab.cpp"
 5499|      0|    break;
 5500|       |
 5501|      0|  case 4: /* primary_expression: LEFT_PAREN expression RIGHT_PAREN  */
  ------------------
  |  Branch (5501:3): [True: 0, False: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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|  3.12k|  case 6: /* primary_expression: INTCONSTANT  */
  ------------------
  |  Branch (5519:3): [True: 3.12k, False: 3.14M]
  ------------------
 5520|  3.12k|#line 382 "MachineIndependent/glslang.y"
 5521|  3.12k|                  {
 5522|  3.12k|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|  3.12k|#define parseContext (*pParseContext)
  ------------------
 5523|  3.12k|    }
 5524|  3.12k|#line 5525 "MachineIndependent/glslang_tab.cpp"
 5525|  3.12k|    break;
 5526|       |
 5527|    432|  case 7: /* primary_expression: UINTCONSTANT  */
  ------------------
  |  Branch (5527:3): [True: 432, False: 3.14M]
  ------------------
 5528|    432|#line 385 "MachineIndependent/glslang.y"
 5529|    432|                   {
 5530|    432|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned literal");
  ------------------
  |  |  756|    432|#define parseContext (*pParseContext)
  ------------------
 5531|    432|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  756|    432|#define parseContext (*pParseContext)
  ------------------
 5532|    432|    }
 5533|    432|#line 5534 "MachineIndependent/glslang_tab.cpp"
 5534|    432|    break;
 5535|       |
 5536|      0|  case 8: /* primary_expression: BOOLCONSTANT  */
  ------------------
  |  Branch (5536:3): [True: 0, False: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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|  3.55k|  case 18: /* postfix_expression: primary_expression  */
  ------------------
  |  Branch (5626:3): [True: 3.55k, False: 3.14M]
  ------------------
 5627|  3.55k|#line 432 "MachineIndependent/glslang.y"
 5628|  3.55k|                         {
 5629|  3.55k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 5630|  3.55k|    }
 5631|  3.55k|#line 5632 "MachineIndependent/glslang_tab.cpp"
 5632|  3.55k|    break;
 5633|       |
 5634|      0|  case 19: /* postfix_expression: postfix_expression LEFT_BRACKET integer_expression RIGHT_BRACKET  */
  ------------------
  |  Branch (5634:3): [True: 0, False: 3.14M]
  ------------------
 5635|      0|#line 435 "MachineIndependent/glslang.y"
 5636|      0|                                                                       {
 5637|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBracketDereference((yyvsp[-2].lex).loc, (yyvsp[-3].interm.intermTypedNode), (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5638|      0|    }
 5639|      0|#line 5640 "MachineIndependent/glslang_tab.cpp"
 5640|      0|    break;
 5641|       |
 5642|     45|  case 20: /* postfix_expression: function_call  */
  ------------------
  |  Branch (5642:3): [True: 45, False: 3.14M]
  ------------------
 5643|     45|#line 438 "MachineIndependent/glslang.y"
 5644|     45|                    {
 5645|     45|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 5646|     45|    }
 5647|     45|#line 5648 "MachineIndependent/glslang_tab.cpp"
 5648|     45|    break;
 5649|       |
 5650|      0|  case 21: /* postfix_expression: postfix_expression DOT IDENTIFIER  */
  ------------------
  |  Branch (5650:3): [True: 0, False: 3.14M]
  ------------------
 5651|      0|#line 441 "MachineIndependent/glslang.y"
 5652|      0|                                        {
 5653|      0|        (yyval.interm.intermTypedNode) = parseContext.handleDotDereference((yyvsp[0].lex).loc, (yyvsp[-2].interm.intermTypedNode), *(yyvsp[0].lex).string);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5654|      0|    }
 5655|      0|#line 5656 "MachineIndependent/glslang_tab.cpp"
 5656|      0|    break;
 5657|       |
 5658|      0|  case 22: /* postfix_expression: postfix_expression INC_OP  */
  ------------------
  |  Branch (5658:3): [True: 0, False: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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|      0|  case 24: /* integer_expression: expression  */
  ------------------
  |  Branch (5678:3): [True: 0, False: 3.14M]
  ------------------
 5679|      0|#line 457 "MachineIndependent/glslang.y"
 5680|      0|                 {
 5681|      0|        parseContext.arrayIndexCheck((yyvsp[0].interm.intermTypedNode), "[]");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5682|      0|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 5683|      0|    }
 5684|      0|#line 5685 "MachineIndependent/glslang_tab.cpp"
 5685|      0|    break;
 5686|       |
 5687|     45|  case 25: /* function_call: function_call_or_method  */
  ------------------
  |  Branch (5687:3): [True: 45, False: 3.14M]
  ------------------
 5688|     45|#line 464 "MachineIndependent/glslang.y"
 5689|     45|                              {
 5690|     45|        (yyval.interm.intermTypedNode) = parseContext.handleFunctionCall((yyvsp[0].interm).loc, (yyvsp[0].interm).function, (yyvsp[0].interm).intermNode);
  ------------------
  |  |  756|     45|#define parseContext (*pParseContext)
  ------------------
 5691|     45|        delete (yyvsp[0].interm).function;
 5692|     45|    }
 5693|     45|#line 5694 "MachineIndependent/glslang_tab.cpp"
 5694|     45|    break;
 5695|       |
 5696|     45|  case 26: /* function_call_or_method: function_call_generic  */
  ------------------
  |  Branch (5696:3): [True: 45, False: 3.14M]
  ------------------
 5697|     45|#line 471 "MachineIndependent/glslang.y"
 5698|     45|                            {
 5699|     45|        (yyval.interm) = (yyvsp[0].interm);
 5700|     45|    }
 5701|     45|#line 5702 "MachineIndependent/glslang_tab.cpp"
 5702|     45|    break;
 5703|       |
 5704|     45|  case 27: /* function_call_generic: function_call_header_with_parameters RIGHT_PAREN  */
  ------------------
  |  Branch (5704:3): [True: 45, False: 3.14M]
  ------------------
 5705|     45|#line 477 "MachineIndependent/glslang.y"
 5706|     45|                                                       {
 5707|     45|        (yyval.interm) = (yyvsp[-1].interm);
 5708|     45|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 5709|     45|    }
 5710|     45|#line 5711 "MachineIndependent/glslang_tab.cpp"
 5711|     45|    break;
 5712|       |
 5713|      0|  case 28: /* function_call_generic: function_call_header_no_parameters RIGHT_PAREN  */
  ------------------
  |  Branch (5713:3): [True: 0, False: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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|     45|  case 31: /* function_call_header_with_parameters: function_call_header assignment_expression  */
  ------------------
  |  Branch (5738:3): [True: 45, False: 3.14M]
  ------------------
 5739|     45|#line 497 "MachineIndependent/glslang.y"
 5740|     45|                                                 {
 5741|     45|        if (parseContext.spvVersion.vulkan > 0
  ------------------
  |  |  756|     45|#define parseContext (*pParseContext)
  ------------------
  |  Branch (5741:13): [True: 3, False: 42]
  ------------------
 5742|      3|            && parseContext.spvVersion.vulkanRelaxed
  ------------------
  |  |  756|      3|#define parseContext (*pParseContext)
  ------------------
  |  Branch (5742:16): [True: 0, False: 3]
  ------------------
 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|     45|        else
 5749|     45|        {
 5750|     45|            TParameter param = { 0, new TType, {} };
 5751|     45|            param.type->shallowCopy((yyvsp[0].interm.intermTypedNode)->getType());
 5752|       |
 5753|     45|            (yyvsp[-1].interm).function->addParameter(param);
 5754|     45|            (yyval.interm).function = (yyvsp[-1].interm).function;
 5755|     45|            (yyval.interm).intermNode = (yyvsp[0].interm.intermTypedNode);
 5756|     45|        }
 5757|     45|    }
 5758|     45|#line 5759 "MachineIndependent/glslang_tab.cpp"
 5759|     45|    break;
 5760|       |
 5761|     90|  case 32: /* function_call_header_with_parameters: function_call_header_with_parameters COMMA assignment_expression  */
  ------------------
  |  Branch (5761:3): [True: 90, False: 3.14M]
  ------------------
 5762|     90|#line 515 "MachineIndependent/glslang.y"
 5763|     90|                                                                       {
 5764|     90|        if (parseContext.spvVersion.vulkan > 0
  ------------------
  |  |  756|     90|#define parseContext (*pParseContext)
  ------------------
  |  Branch (5764:13): [True: 6, False: 84]
  ------------------
 5765|      6|            && parseContext.spvVersion.vulkanRelaxed
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
  |  Branch (5765:16): [True: 0, False: 6]
  ------------------
 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|     90|        else
 5776|     90|        {
 5777|     90|            TParameter param = { 0, new TType, {} };
 5778|     90|            param.type->shallowCopy((yyvsp[0].interm.intermTypedNode)->getType());
 5779|       |
 5780|     90|            (yyvsp[-2].interm).function->addParameter(param);
 5781|     90|            (yyval.interm).function = (yyvsp[-2].interm).function;
 5782|     90|            (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|     90|#define parseContext (*pParseContext)
  ------------------
 5783|     90|        }
 5784|     90|    }
 5785|     90|#line 5786 "MachineIndependent/glslang_tab.cpp"
 5786|     90|    break;
 5787|       |
 5788|     45|  case 33: /* function_call_header: function_identifier LEFT_PAREN  */
  ------------------
  |  Branch (5788:3): [True: 45, False: 3.14M]
  ------------------
 5789|     45|#line 540 "MachineIndependent/glslang.y"
 5790|     45|                                     {
 5791|     45|        (yyval.interm) = (yyvsp[-1].interm);
 5792|     45|    }
 5793|     45|#line 5794 "MachineIndependent/glslang_tab.cpp"
 5794|     45|    break;
 5795|       |
 5796|     45|  case 34: /* function_identifier: type_specifier  */
  ------------------
  |  Branch (5796:3): [True: 45, False: 3.14M]
  ------------------
 5797|     45|#line 548 "MachineIndependent/glslang.y"
 5798|     45|                     {
 5799|       |        // Constructor
 5800|     45|        (yyval.interm).intermNode = 0;
 5801|     45|        (yyval.interm).function = parseContext.handleConstructorCall((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type));
  ------------------
  |  |  756|     45|#define parseContext (*pParseContext)
  ------------------
 5802|     45|    }
 5803|     45|#line 5804 "MachineIndependent/glslang_tab.cpp"
 5804|     45|    break;
 5805|       |
 5806|      0|  case 35: /* function_identifier: postfix_expression  */
  ------------------
  |  Branch (5806:3): [True: 0, False: 3.14M]
  ------------------
 5807|      0|#line 553 "MachineIndependent/glslang.y"
 5808|      0|                         {
 5809|       |        //
 5810|       |        // Should be a method or subroutine call, but we haven't recognized the arguments yet.
 5811|       |        //
 5812|      0|        (yyval.interm).function = 0;
 5813|      0|        (yyval.interm).intermNode = 0;
 5814|       |
 5815|      0|        TIntermMethod* method = (yyvsp[0].interm.intermTypedNode)->getAsMethodNode();
 5816|      0|        if (method) {
  ------------------
  |  Branch (5816:13): [True: 0, False: 0]
  ------------------
 5817|      0|            (yyval.interm).function = new TFunction(&method->getMethodName(), method->getType(), EOpArrayLength);
 5818|      0|            (yyval.interm).intermNode = method->getObject();
 5819|      0|        } else {
 5820|      0|            TIntermSymbol* symbol = (yyvsp[0].interm.intermTypedNode)->getAsSymbolNode();
 5821|      0|            if (symbol) {
  ------------------
  |  Branch (5821:17): [True: 0, False: 0]
  ------------------
 5822|      0|                parseContext.reservedErrorCheck(symbol->getLoc(), symbol->getName());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5823|      0|                TFunction *function = new TFunction(&symbol->getName(), TType(EbtVoid));
 5824|      0|                (yyval.interm).function = function;
 5825|      0|            } else
 5826|      0|                parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "function call, method, or subroutine call expected", "", "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5827|      0|        }
 5828|       |
 5829|      0|        if ((yyval.interm).function == 0) {
  ------------------
  |  Branch (5829:13): [True: 0, False: 0]
  ------------------
 5830|       |            // error recover
 5831|      0|            TString* empty = NewPoolTString("");
 5832|      0|            (yyval.interm).function = new TFunction(empty, TType(EbtVoid), EOpNull);
 5833|      0|        }
 5834|      0|    }
 5835|      0|#line 5836 "MachineIndependent/glslang_tab.cpp"
 5836|      0|    break;
 5837|       |
 5838|      0|  case 36: /* function_identifier: non_uniform_qualifier  */
  ------------------
  |  Branch (5838:3): [True: 0, False: 3.14M]
  ------------------
 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|  3.59k|  case 37: /* unary_expression: postfix_expression  */
  ------------------
  |  Branch (5848:3): [True: 3.59k, False: 3.14M]
  ------------------
 5849|  3.59k|#line 588 "MachineIndependent/glslang.y"
 5850|  3.59k|                         {
 5851|  3.59k|        parseContext.variableCheck((yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|  3.59k|#define parseContext (*pParseContext)
  ------------------
 5852|  3.59k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 5853|  3.59k|        if (TIntermMethod* method = (yyvsp[0].interm.intermTypedNode)->getAsMethodNode())
  ------------------
  |  Branch (5853:28): [True: 0, False: 3.59k]
  ------------------
 5854|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "incomplete method syntax", method->getMethodName().c_str(), "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5855|  3.59k|    }
 5856|  3.59k|#line 5857 "MachineIndependent/glslang_tab.cpp"
 5857|  3.59k|    break;
 5858|       |
 5859|      0|  case 38: /* unary_expression: INC_OP unary_expression  */
  ------------------
  |  Branch (5859:3): [True: 0, False: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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|      6|  case 40: /* unary_expression: unary_operator unary_expression  */
  ------------------
  |  Branch (5877:3): [True: 6, False: 3.14M]
  ------------------
 5878|      6|#line 602 "MachineIndependent/glslang.y"
 5879|      6|                                      {
 5880|      6|        if ((yyvsp[-1].interm).op != EOpNull) {
  ------------------
  |  Branch (5880:13): [True: 6, False: 0]
  ------------------
 5881|      6|            char errorOp[2] = {0, 0};
 5882|      6|            switch((yyvsp[-1].interm).op) {
 5883|      6|            case EOpNegative:   errorOp[0] = '-'; break;
  ------------------
  |  Branch (5883:13): [True: 6, False: 0]
  ------------------
 5884|      0|            case EOpLogicalNot: errorOp[0] = '!'; break;
  ------------------
  |  Branch (5884:13): [True: 0, False: 6]
  ------------------
 5885|      0|            case EOpBitwiseNot: errorOp[0] = '~'; break;
  ------------------
  |  Branch (5885:13): [True: 0, False: 6]
  ------------------
 5886|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (5886:13): [True: 0, False: 6]
  ------------------
 5887|      6|            }
 5888|      6|            (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[-1].interm).loc, errorOp, (yyvsp[-1].interm).op, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
 5889|      6|        } else {
 5890|      0|            (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 5891|      0|            if ((yyval.interm.intermTypedNode)->getAsConstantUnion())
  ------------------
  |  Branch (5891:17): [True: 0, False: 0]
  ------------------
 5892|      0|                (yyval.interm.intermTypedNode)->getAsConstantUnion()->setExpression();
 5893|      0|        }
 5894|      6|    }
 5895|      6|#line 5896 "MachineIndependent/glslang_tab.cpp"
 5896|      6|    break;
 5897|       |
 5898|      6|  case 41: /* unary_expression: LEFT_PAREN type_specifier_nonarray RIGHT_PAREN unary_expression  */
  ------------------
  |  Branch (5898:3): [True: 0, False: 3.14M]
  ------------------
 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|      0|  case 42: /* unary_operator: PLUS  */
  ------------------
  |  Branch (5906:3): [True: 0, False: 3.14M]
  ------------------
 5907|      0|#line 625 "MachineIndependent/glslang.y"
 5908|      0|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpNull; }
 5909|      0|#line 5910 "MachineIndependent/glslang_tab.cpp"
 5910|      0|    break;
 5911|       |
 5912|      6|  case 43: /* unary_operator: DASH  */
  ------------------
  |  Branch (5912:3): [True: 6, False: 3.14M]
  ------------------
 5913|      6|#line 626 "MachineIndependent/glslang.y"
 5914|      6|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpNegative; }
 5915|      6|#line 5916 "MachineIndependent/glslang_tab.cpp"
 5916|      6|    break;
 5917|       |
 5918|      0|  case 44: /* unary_operator: BANG  */
  ------------------
  |  Branch (5918:3): [True: 0, False: 3.14M]
  ------------------
 5919|      0|#line 627 "MachineIndependent/glslang.y"
 5920|      0|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpLogicalNot; }
 5921|      0|#line 5922 "MachineIndependent/glslang_tab.cpp"
 5922|      0|    break;
 5923|       |
 5924|      0|  case 45: /* unary_operator: TILDE  */
  ------------------
  |  Branch (5924:3): [True: 0, False: 3.14M]
  ------------------
 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|  3.59k|  case 46: /* multiplicative_expression: unary_expression  */
  ------------------
  |  Branch (5931:3): [True: 3.59k, False: 3.14M]
  ------------------
 5932|  3.59k|#line 634 "MachineIndependent/glslang.y"
 5933|  3.59k|                       { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 5934|  3.59k|#line 5935 "MachineIndependent/glslang_tab.cpp"
 5935|  3.59k|    break;
 5936|       |
 5937|      0|  case 47: /* multiplicative_expression: multiplicative_expression STAR unary_expression  */
  ------------------
  |  Branch (5937:3): [True: 0, False: 3.14M]
  ------------------
 5938|      0|#line 635 "MachineIndependent/glslang.y"
 5939|      0|                                                      {
 5940|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "*", EOpMul, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5941|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (5941:13): [True: 0, False: 0]
  ------------------
 5942|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 5943|      0|    }
 5944|      0|#line 5945 "MachineIndependent/glslang_tab.cpp"
 5945|      0|    break;
 5946|       |
 5947|      0|  case 48: /* multiplicative_expression: multiplicative_expression SLASH unary_expression  */
  ------------------
  |  Branch (5947:3): [True: 0, False: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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|  3.59k|  case 50: /* additive_expression: multiplicative_expression  */
  ------------------
  |  Branch (5968:3): [True: 3.59k, False: 3.14M]
  ------------------
 5969|  3.59k|#line 654 "MachineIndependent/glslang.y"
 5970|  3.59k|                                { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 5971|  3.59k|#line 5972 "MachineIndependent/glslang_tab.cpp"
 5972|  3.59k|    break;
 5973|       |
 5974|      0|  case 51: /* additive_expression: additive_expression PLUS multiplicative_expression  */
  ------------------
  |  Branch (5974:3): [True: 0, False: 3.14M]
  ------------------
 5975|      0|#line 655 "MachineIndependent/glslang.y"
 5976|      0|                                                         {
 5977|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "+", EOpAdd, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5978|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (5978:13): [True: 0, False: 0]
  ------------------
 5979|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 5980|      0|    }
 5981|      0|#line 5982 "MachineIndependent/glslang_tab.cpp"
 5982|      0|    break;
 5983|       |
 5984|      0|  case 52: /* additive_expression: additive_expression DASH multiplicative_expression  */
  ------------------
  |  Branch (5984:3): [True: 0, False: 3.14M]
  ------------------
 5985|      0|#line 660 "MachineIndependent/glslang.y"
 5986|      0|                                                         {
 5987|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "-", EOpSub, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 5988|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (5988:13): [True: 0, False: 0]
  ------------------
 5989|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 5990|      0|    }
 5991|      0|#line 5992 "MachineIndependent/glslang_tab.cpp"
 5992|      0|    break;
 5993|       |
 5994|  3.59k|  case 53: /* shift_expression: additive_expression  */
  ------------------
  |  Branch (5994:3): [True: 3.59k, False: 3.14M]
  ------------------
 5995|  3.59k|#line 668 "MachineIndependent/glslang.y"
 5996|  3.59k|                          { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 5997|  3.59k|#line 5998 "MachineIndependent/glslang_tab.cpp"
 5998|  3.59k|    break;
 5999|       |
 6000|      0|  case 54: /* shift_expression: shift_expression LEFT_OP additive_expression  */
  ------------------
  |  Branch (6000:3): [True: 0, False: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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|  3.59k|  case 56: /* relational_expression: shift_expression  */
  ------------------
  |  Branch (6022:3): [True: 3.59k, False: 3.14M]
  ------------------
 6023|  3.59k|#line 684 "MachineIndependent/glslang.y"
 6024|  3.59k|                       { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6025|  3.59k|#line 6026 "MachineIndependent/glslang_tab.cpp"
 6026|  3.59k|    break;
 6027|       |
 6028|      0|  case 57: /* relational_expression: relational_expression LEFT_ANGLE shift_expression  */
  ------------------
  |  Branch (6028:3): [True: 0, False: 3.14M]
  ------------------
 6029|      0|#line 685 "MachineIndependent/glslang.y"
 6030|      0|                                                        {
 6031|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "<", EOpLessThan, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6032|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6032:13): [True: 0, False: 0]
  ------------------
 6033|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6034|      0|    }
 6035|      0|#line 6036 "MachineIndependent/glslang_tab.cpp"
 6036|      0|    break;
 6037|       |
 6038|      0|  case 58: /* relational_expression: relational_expression RIGHT_ANGLE shift_expression  */
  ------------------
  |  Branch (6038:3): [True: 0, False: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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|  3.59k|  case 61: /* equality_expression: relational_expression  */
  ------------------
  |  Branch (6068:3): [True: 3.59k, False: 3.14M]
  ------------------
 6069|  3.59k|#line 708 "MachineIndependent/glslang.y"
 6070|  3.59k|                            { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6071|  3.59k|#line 6072 "MachineIndependent/glslang_tab.cpp"
 6072|  3.59k|    break;
 6073|       |
 6074|      0|  case 62: /* equality_expression: equality_expression EQ_OP relational_expression  */
  ------------------
  |  Branch (6074:3): [True: 0, False: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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|  3.59k|  case 64: /* and_expression: equality_expression  */
  ------------------
  |  Branch (6102:3): [True: 3.59k, False: 3.14M]
  ------------------
 6103|  3.59k|#line 730 "MachineIndependent/glslang.y"
 6104|  3.59k|                          { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6105|  3.59k|#line 6106 "MachineIndependent/glslang_tab.cpp"
 6106|  3.59k|    break;
 6107|       |
 6108|      0|  case 65: /* and_expression: and_expression AMPERSAND equality_expression  */
  ------------------
  |  Branch (6108:3): [True: 0, False: 3.14M]
  ------------------
 6109|      0|#line 731 "MachineIndependent/glslang.y"
 6110|      0|                                                   {
 6111|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bitwise and");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6112|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "&", EOpAnd, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6113|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6113:13): [True: 0, False: 0]
  ------------------
 6114|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6115|      0|    }
 6116|      0|#line 6117 "MachineIndependent/glslang_tab.cpp"
 6117|      0|    break;
 6118|       |
 6119|  3.59k|  case 66: /* exclusive_or_expression: and_expression  */
  ------------------
  |  Branch (6119:3): [True: 3.59k, False: 3.14M]
  ------------------
 6120|  3.59k|#line 740 "MachineIndependent/glslang.y"
 6121|  3.59k|                     { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6122|  3.59k|#line 6123 "MachineIndependent/glslang_tab.cpp"
 6123|  3.59k|    break;
 6124|       |
 6125|      0|  case 67: /* exclusive_or_expression: exclusive_or_expression CARET and_expression  */
  ------------------
  |  Branch (6125:3): [True: 0, False: 3.14M]
  ------------------
 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|  3.59k|  case 68: /* inclusive_or_expression: exclusive_or_expression  */
  ------------------
  |  Branch (6136:3): [True: 3.59k, False: 3.14M]
  ------------------
 6137|  3.59k|#line 750 "MachineIndependent/glslang.y"
 6138|  3.59k|                              { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6139|  3.59k|#line 6140 "MachineIndependent/glslang_tab.cpp"
 6140|  3.59k|    break;
 6141|       |
 6142|      0|  case 69: /* inclusive_or_expression: inclusive_or_expression VERTICAL_BAR exclusive_or_expression  */
  ------------------
  |  Branch (6142:3): [True: 0, False: 3.14M]
  ------------------
 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|  3.59k|  case 70: /* logical_and_expression: inclusive_or_expression  */
  ------------------
  |  Branch (6153:3): [True: 3.59k, False: 3.14M]
  ------------------
 6154|  3.59k|#line 760 "MachineIndependent/glslang.y"
 6155|  3.59k|                              { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6156|  3.59k|#line 6157 "MachineIndependent/glslang_tab.cpp"
 6157|  3.59k|    break;
 6158|       |
 6159|      0|  case 71: /* logical_and_expression: logical_and_expression AND_OP inclusive_or_expression  */
  ------------------
  |  Branch (6159:3): [True: 0, False: 3.14M]
  ------------------
 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|  3.59k|  case 72: /* logical_xor_expression: logical_and_expression  */
  ------------------
  |  Branch (6169:3): [True: 3.59k, False: 3.14M]
  ------------------
 6170|  3.59k|#line 769 "MachineIndependent/glslang.y"
 6171|  3.59k|                             { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6172|  3.59k|#line 6173 "MachineIndependent/glslang_tab.cpp"
 6173|  3.59k|    break;
 6174|       |
 6175|      0|  case 73: /* logical_xor_expression: logical_xor_expression XOR_OP logical_and_expression  */
  ------------------
  |  Branch (6175:3): [True: 0, False: 3.14M]
  ------------------
 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|  3.59k|  case 74: /* logical_or_expression: logical_xor_expression  */
  ------------------
  |  Branch (6185:3): [True: 3.59k, False: 3.14M]
  ------------------
 6186|  3.59k|#line 778 "MachineIndependent/glslang.y"
 6187|  3.59k|                             { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6188|  3.59k|#line 6189 "MachineIndependent/glslang_tab.cpp"
 6189|  3.59k|    break;
 6190|       |
 6191|      0|  case 75: /* logical_or_expression: logical_or_expression OR_OP logical_xor_expression  */
  ------------------
  |  Branch (6191:3): [True: 0, False: 3.14M]
  ------------------
 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|  3.59k|  case 76: /* conditional_expression: logical_or_expression  */
  ------------------
  |  Branch (6201:3): [True: 3.59k, False: 3.14M]
  ------------------
 6202|  3.59k|#line 787 "MachineIndependent/glslang.y"
 6203|  3.59k|                            { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6204|  3.59k|#line 6205 "MachineIndependent/glslang_tab.cpp"
 6205|  3.59k|    break;
 6206|       |
 6207|      0|  case 77: /* $@1: %empty  */
  ------------------
  |  Branch (6207:3): [True: 0, False: 3.14M]
  ------------------
 6208|      0|#line 788 "MachineIndependent/glslang.y"
 6209|      0|                                     {
 6210|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6211|      0|    }
 6212|      0|#line 6213 "MachineIndependent/glslang_tab.cpp"
 6213|      0|    break;
 6214|       |
 6215|      0|  case 78: /* conditional_expression: logical_or_expression QUESTION $@1 expression COLON assignment_expression  */
  ------------------
  |  Branch (6215:3): [True: 0, False: 3.14M]
  ------------------
 6216|      0|#line 791 "MachineIndependent/glslang.y"
 6217|      0|                                             {
 6218|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6219|      0|        parseContext.boolCheck((yyvsp[-4].lex).loc, (yyvsp[-5].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6220|      0|        parseContext.rValueErrorCheck((yyvsp[-4].lex).loc, "?", (yyvsp[-5].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6221|      0|        parseContext.rValueErrorCheck((yyvsp[-1].lex).loc, ":", (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6222|      0|        parseContext.rValueErrorCheck((yyvsp[-1].lex).loc, ":", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6223|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addSelection((yyvsp[-5].interm.intermTypedNode), (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode), (yyvsp[-4].lex).loc);
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6224|      0|        if ((yyval.interm.intermTypedNode) == 0) {
  ------------------
  |  Branch (6224:13): [True: 0, False: 0]
  ------------------
 6225|      0|            parseContext.binaryOpError((yyvsp[-4].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[-4].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[-4].lex).loc, ":", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 6226|      0|            (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6227|      0|        }
 6228|      0|    }
 6229|      0|#line 6230 "MachineIndependent/glslang_tab.cpp"
 6230|      0|    break;
 6231|       |
 6232|  2.19k|  case 79: /* assignment_expression: conditional_expression  */
  ------------------
  |  Branch (6232:3): [True: 2.19k, False: 3.14M]
  ------------------
 6233|  2.19k|#line 806 "MachineIndependent/glslang.y"
 6234|  2.19k|                             { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6235|  2.19k|#line 6236 "MachineIndependent/glslang_tab.cpp"
 6236|  2.19k|    break;
 6237|       |
 6238|      0|  case 80: /* assignment_expression: unary_expression assignment_operator assignment_expression  */
  ------------------
  |  Branch (6238:3): [True: 0, False: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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|      0|  case 92: /* expression: assignment_expression  */
  ------------------
  |  Branch (6356:3): [True: 0, False: 3.14M]
  ------------------
 6357|      0|#line 871 "MachineIndependent/glslang.y"
 6358|      0|                            {
 6359|      0|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6360|      0|    }
 6361|      0|#line 6362 "MachineIndependent/glslang_tab.cpp"
 6362|      0|    break;
 6363|       |
 6364|      0|  case 93: /* expression: expression COMMA assignment_expression  */
  ------------------
  |  Branch (6364:3): [True: 0, False: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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|   104k|  case 95: /* declaration: function_prototype SEMICOLON  */
  ------------------
  |  Branch (6386:3): [True: 104k, False: 3.04M]
  ------------------
 6387|   104k|#line 892 "MachineIndependent/glslang.y"
 6388|   104k|                                   {
 6389|   104k|        parseContext.handleFunctionDeclarator((yyvsp[-1].interm).loc, *(yyvsp[-1].interm).function, true /* prototype */);
  ------------------
  |  |  756|   104k|#define parseContext (*pParseContext)
  ------------------
 6390|   104k|        (yyval.interm.intermNode) = 0;
 6391|       |        // TODO: 4.0 functionality: subroutines: make the identifier a user type for this signature
 6392|   104k|    }
 6393|   104k|#line 6394 "MachineIndependent/glslang_tab.cpp"
 6394|   104k|    break;
 6395|       |
 6396|      0|  case 96: /* declaration: spirv_instruction_qualifier function_prototype SEMICOLON  */
  ------------------
  |  Branch (6396:3): [True: 0, False: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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|  5.24k|  case 98: /* declaration: init_declarator_list SEMICOLON  */
  ------------------
  |  Branch (6418:3): [True: 5.24k, False: 3.13M]
  ------------------
 6419|  5.24k|#line 909 "MachineIndependent/glslang.y"
 6420|  5.24k|                                     {
 6421|  5.24k|        if ((yyvsp[-1].interm).intermNode && (yyvsp[-1].interm).intermNode->getAsAggregate())
  ------------------
  |  Branch (6421:13): [True: 0, False: 5.24k]
  |  Branch (6421:46): [True: 0, False: 0]
  ------------------
 6422|      0|            (yyvsp[-1].interm).intermNode->getAsAggregate()->setOperator(EOpSequence);
 6423|  5.24k|        (yyval.interm.intermNode) = (yyvsp[-1].interm).intermNode;
 6424|  5.24k|    }
 6425|  5.24k|#line 6426 "MachineIndependent/glslang_tab.cpp"
 6426|  5.24k|    break;
 6427|       |
 6428|      0|  case 99: /* declaration: PRECISION precision_qualifier type_specifier SEMICOLON  */
  ------------------
  |  Branch (6428:3): [True: 0, False: 3.14M]
  ------------------
 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|     21|  case 100: /* declaration: block_structure SEMICOLON  */
  ------------------
  |  Branch (6440:3): [True: 21, False: 3.14M]
  ------------------
 6441|     21|#line 921 "MachineIndependent/glslang.y"
 6442|     21|                                {
 6443|     21|        (yyval.interm.intermNode) = parseContext.declareBlock((yyvsp[-1].interm).loc, *(yyvsp[-1].interm).typeList);
  ------------------
  |  |  756|     21|#define parseContext (*pParseContext)
  ------------------
 6444|     21|    }
 6445|     21|#line 6446 "MachineIndependent/glslang_tab.cpp"
 6446|     21|    break;
 6447|       |
 6448|      0|  case 101: /* declaration: block_structure IDENTIFIER SEMICOLON  */
  ------------------
  |  Branch (6448:3): [True: 0, False: 3.14M]
  ------------------
 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|     42|  case 102: /* declaration: block_structure IDENTIFIER array_specifier SEMICOLON  */
  ------------------
  |  Branch (6456:3): [True: 42, False: 3.14M]
  ------------------
 6457|     42|#line 927 "MachineIndependent/glslang.y"
 6458|     42|                                                           {
 6459|     42|        (yyval.interm.intermNode) = parseContext.declareBlock((yyvsp[-3].interm).loc, *(yyvsp[-3].interm).typeList, (yyvsp[-2].lex).string, (yyvsp[-1].interm).arraySizes);
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 6460|     42|    }
 6461|     42|#line 6462 "MachineIndependent/glslang_tab.cpp"
 6462|     42|    break;
 6463|       |
 6464|      0|  case 103: /* declaration: type_qualifier SEMICOLON  */
  ------------------
  |  Branch (6464:3): [True: 0, False: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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|     63|  case 105: /* $@2: %empty  */
  ------------------
  |  Branch (6484:3): [True: 63, False: 3.14M]
  ------------------
 6485|     63|#line 943 "MachineIndependent/glslang.y"
 6486|     63|                                           { parseContext.nestedBlockCheck((yyvsp[-2].interm.type).loc); }
  ------------------
  |  |  756|     63|#define parseContext (*pParseContext)
  ------------------
 6487|     63|#line 6488 "MachineIndependent/glslang_tab.cpp"
 6488|     63|    break;
 6489|       |
 6490|     63|  case 106: /* block_structure: type_qualifier IDENTIFIER LEFT_BRACE $@2 struct_declaration_without_heap RIGHT_BRACE  */
  ------------------
  |  Branch (6490:3): [True: 63, False: 3.14M]
  ------------------
 6491|     63|#line 943 "MachineIndependent/glslang.y"
 6492|     63|                                                                                                                                  {
 6493|     63|        --parseContext.blockNestingLevel;
  ------------------
  |  |  756|     63|#define parseContext (*pParseContext)
  ------------------
 6494|     63|        parseContext.blockName = (yyvsp[-4].lex).string;
  ------------------
  |  |  756|     63|#define parseContext (*pParseContext)
  ------------------
 6495|     63|        parseContext.globalQualifierFixCheck((yyvsp[-5].interm.type).loc, (yyvsp[-5].interm.type).qualifier);
  ------------------
  |  |  756|     63|#define parseContext (*pParseContext)
  ------------------
 6496|     63|        parseContext.checkNoShaderLayouts((yyvsp[-5].interm.type).loc, (yyvsp[-5].interm.type).shaderQualifiers);
  ------------------
  |  |  756|     63|#define parseContext (*pParseContext)
  ------------------
 6497|     63|        parseContext.currentBlockQualifier = (yyvsp[-5].interm.type).qualifier;
  ------------------
  |  |  756|    126|#define parseContext (*pParseContext)
  ------------------
 6498|     63|        (yyval.interm).loc = (yyvsp[-5].interm.type).loc;
 6499|     63|        (yyval.interm).typeList = (yyvsp[-1].interm.typeList);
 6500|     63|    }
 6501|     63|#line 6502 "MachineIndependent/glslang_tab.cpp"
 6502|     63|    break;
 6503|       |
 6504|      0|  case 107: /* identifier_list: IDENTIFIER  */
  ------------------
  |  Branch (6504:3): [True: 0, False: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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|   104k|  case 109: /* function_prototype: function_declarator RIGHT_PAREN  */
  ------------------
  |  Branch (6522:3): [True: 104k, False: 3.04M]
  ------------------
 6523|   104k|#line 966 "MachineIndependent/glslang.y"
 6524|   104k|                                       {
 6525|   104k|        (yyval.interm).function = (yyvsp[-1].interm.function);
 6526|   104k|        if (parseContext.compileOnly) (yyval.interm).function->setExport();
  ------------------
  |  |  756|   104k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6526:13): [True: 0, False: 104k]
  ------------------
 6527|   104k|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6528|   104k|    }
 6529|   104k|#line 6530 "MachineIndependent/glslang_tab.cpp"
 6530|   104k|    break;
 6531|       |
 6532|      0|  case 110: /* function_prototype: function_declarator RIGHT_PAREN attribute  */
  ------------------
  |  Branch (6532:3): [True: 0, False: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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|    431|  case 113: /* function_declarator: function_header  */
  ------------------
  |  Branch (6572:3): [True: 431, False: 3.14M]
  ------------------
 6573|    431|#line 999 "MachineIndependent/glslang.y"
 6574|    431|                      {
 6575|    431|        (yyval.interm.function) = (yyvsp[0].interm.function);
 6576|    431|    }
 6577|    431|#line 6578 "MachineIndependent/glslang_tab.cpp"
 6578|    431|    break;
 6579|       |
 6580|   104k|  case 114: /* function_declarator: function_header_with_parameters  */
  ------------------
  |  Branch (6580:3): [True: 104k, False: 3.04M]
  ------------------
 6581|   104k|#line 1002 "MachineIndependent/glslang.y"
 6582|   104k|                                      {
 6583|   104k|        (yyval.interm.function) = (yyvsp[0].interm.function);
 6584|   104k|    }
 6585|   104k|#line 6586 "MachineIndependent/glslang_tab.cpp"
 6586|   104k|    break;
 6587|       |
 6588|   104k|  case 115: /* function_header_with_parameters: function_header parameter_declaration  */
  ------------------
  |  Branch (6588:3): [True: 104k, False: 3.04M]
  ------------------
 6589|   104k|#line 1009 "MachineIndependent/glslang.y"
 6590|   104k|                                            {
 6591|       |        // Add the parameter
 6592|   104k|        (yyval.interm.function) = (yyvsp[-1].interm.function);
 6593|   104k|        if ((yyvsp[0].interm).param.type->getBasicType() != EbtVoid)
  ------------------
  |  Branch (6593:13): [True: 104k, False: 90]
  ------------------
 6594|   104k|        {
 6595|   104k|            if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  756|   104k|#define parseContext (*pParseContext)
  ------------------
                          if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  756|  11.5k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6595:19): [True: 11.5k, False: 92.6k]
  |  Branch (6595:57): [True: 0, False: 11.5k]
  ------------------
 6596|   104k|                (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|   104k|        }
 6600|     90|        else
 6601|     90|            delete (yyvsp[0].interm).param.type;
 6602|   104k|    }
 6603|   104k|#line 6604 "MachineIndependent/glslang_tab.cpp"
 6604|   104k|    break;
 6605|       |
 6606|   185k|  case 116: /* function_header_with_parameters: function_header_with_parameters COMMA parameter_declaration  */
  ------------------
  |  Branch (6606:3): [True: 185k, False: 2.96M]
  ------------------
 6607|   185k|#line 1022 "MachineIndependent/glslang.y"
 6608|   185k|                                                                  {
 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|   185k|        if ((yyvsp[0].interm).param.type->getBasicType() == EbtVoid) {
  ------------------
  |  Branch (6613:13): [True: 0, False: 185k]
  ------------------
 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|   185k|        } else {
 6620|       |            // Add the parameter
 6621|   185k|            (yyval.interm.function) = (yyvsp[-2].interm.function);
 6622|   185k|            if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  756|   185k|#define parseContext (*pParseContext)
  ------------------
                          if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  756|  22.6k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6622:19): [True: 22.6k, False: 162k]
  |  Branch (6622:57): [True: 0, False: 22.6k]
  ------------------
 6623|   185k|                (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|   185k|        }
 6627|   185k|    }
 6628|   185k|#line 6629 "MachineIndependent/glslang_tab.cpp"
 6629|   185k|    break;
 6630|       |
 6631|    420|  case 117: /* function_header_with_parameters: function_header_with_parameters COMMA DOT DOT DOT  */
  ------------------
  |  Branch (6631:3): [True: 420, False: 3.14M]
  ------------------
 6632|    420|#line 1042 "MachineIndependent/glslang.y"
 6633|    420|                                                        {
 6634|    420|        (yyval.interm.function) = (yyvsp[-4].interm.function);
 6635|    420|        parseContext.makeVariadic((yyvsp[-4].interm.function), (yyvsp[-2].lex).loc);
  ------------------
  |  |  756|    420|#define parseContext (*pParseContext)
  ------------------
 6636|    420|    }
 6637|    420|#line 6638 "MachineIndependent/glslang_tab.cpp"
 6638|    420|    break;
 6639|       |
 6640|   104k|  case 118: /* function_header: fully_specified_type IDENTIFIER LEFT_PAREN  */
  ------------------
  |  Branch (6640:3): [True: 104k, False: 3.04M]
  ------------------
 6641|   104k|#line 1049 "MachineIndependent/glslang.y"
 6642|   104k|                                                 {
 6643|   104k|        if ((yyvsp[-2].interm.type).qualifier.storage != EvqGlobal && (yyvsp[-2].interm.type).qualifier.storage != EvqTemporary) {
  ------------------
  |  Branch (6643:13): [True: 0, False: 104k]
  |  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|   104k|        if ((yyvsp[-2].interm.type).arraySizes)
  ------------------
  |  Branch (6647:13): [True: 0, False: 104k]
  ------------------
 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|   104k|        TFunction *function;
 6652|   104k|        TType type((yyvsp[-2].interm.type));
 6653|       |
 6654|       |        // Potentially rename shader entry point function.  No-op most of the time.
 6655|   104k|        parseContext.renameShaderFunction((yyvsp[-1].lex).string);
  ------------------
  |  |  756|   104k|#define parseContext (*pParseContext)
  ------------------
 6656|       |
 6657|       |        // Make the function
 6658|   104k|        function = new TFunction((yyvsp[-1].lex).string, type);
 6659|   104k|        (yyval.interm.function) = function;
 6660|   104k|    }
 6661|   104k|#line 6662 "MachineIndependent/glslang_tab.cpp"
 6662|   104k|    break;
 6663|       |
 6664|  54.3k|  case 119: /* parameter_declarator: type_specifier IDENTIFIER  */
  ------------------
  |  Branch (6664:3): [True: 54.3k, False: 3.09M]
  ------------------
 6665|  54.3k|#line 1072 "MachineIndependent/glslang.y"
 6666|  54.3k|                                {
 6667|  54.3k|        if ((yyvsp[-1].interm.type).arraySizes) {
  ------------------
  |  Branch (6667:13): [True: 6.79k, False: 47.5k]
  ------------------
 6668|  6.79k|            parseContext.profileRequires((yyvsp[-1].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  756|  6.79k|#define parseContext (*pParseContext)
  ------------------
 6669|  6.79k|            parseContext.profileRequires((yyvsp[-1].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  756|  6.79k|#define parseContext (*pParseContext)
  ------------------
 6670|  6.79k|            parseContext.arraySizeRequiredCheck((yyvsp[-1].interm.type).loc, *(yyvsp[-1].interm.type).arraySizes);
  ------------------
  |  |  756|  6.79k|#define parseContext (*pParseContext)
  ------------------
 6671|  6.79k|        }
 6672|  54.3k|        if ((yyvsp[-1].interm.type).basicType == EbtVoid) {
  ------------------
  |  Branch (6672:13): [True: 0, False: 54.3k]
  ------------------
 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|  54.3k|        parseContext.reservedErrorCheck((yyvsp[0].lex).loc, *(yyvsp[0].lex).string);
  ------------------
  |  |  756|  54.3k|#define parseContext (*pParseContext)
  ------------------
 6676|       |
 6677|  54.3k|        TParameter param = {(yyvsp[0].lex).string, new TType((yyvsp[-1].interm.type)), {}};
 6678|  54.3k|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6679|  54.3k|        (yyval.interm).param = param;
 6680|  54.3k|    }
 6681|  54.3k|#line 6682 "MachineIndependent/glslang_tab.cpp"
 6682|  54.3k|    break;
 6683|       |
 6684|  1.52k|  case 120: /* parameter_declarator: type_specifier IDENTIFIER array_specifier  */
  ------------------
  |  Branch (6684:3): [True: 1.52k, False: 3.14M]
  ------------------
 6685|  1.52k|#line 1087 "MachineIndependent/glslang.y"
 6686|  1.52k|                                                {
 6687|  1.52k|        if ((yyvsp[-2].interm.type).arraySizes) {
  ------------------
  |  Branch (6687:13): [True: 0, False: 1.52k]
  ------------------
 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|  1.52k|        TType* type = new TType((yyvsp[-2].interm.type));
 6693|  1.52k|        type->transferArraySizes((yyvsp[0].interm).arraySizes);
 6694|  1.52k|        type->copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
 6695|       |
 6696|  1.52k|        parseContext.arrayOfArrayVersionCheck((yyvsp[-1].lex).loc, type->getArraySizes());
  ------------------
  |  |  756|  1.52k|#define parseContext (*pParseContext)
  ------------------
 6697|  1.52k|        parseContext.arraySizeRequiredCheck((yyvsp[0].interm).loc, *(yyvsp[0].interm).arraySizes);
  ------------------
  |  |  756|  1.52k|#define parseContext (*pParseContext)
  ------------------
 6698|  1.52k|        parseContext.reservedErrorCheck((yyvsp[-1].lex).loc, *(yyvsp[-1].lex).string);
  ------------------
  |  |  756|  1.52k|#define parseContext (*pParseContext)
  ------------------
 6699|       |
 6700|  1.52k|        TParameter param = { (yyvsp[-1].lex).string, type, {} };
 6701|       |
 6702|  1.52k|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 6703|  1.52k|        (yyval.interm).param = param;
 6704|  1.52k|    }
 6705|  1.52k|#line 6706 "MachineIndependent/glslang_tab.cpp"
 6706|  1.52k|    break;
 6707|       |
 6708|    420|  case 121: /* parameter_declarator: type_specifier IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (6708:3): [True: 420, False: 3.14M]
  ------------------
 6709|    420|#line 1106 "MachineIndependent/glslang.y"
 6710|    420|                                                  {
 6711|    420|        TParameter param = parseContext.getParamWithDefault((yyvsp[-3].interm.type), (yyvsp[-2].lex).string, (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|    420|#define parseContext (*pParseContext)
  ------------------
 6712|    420|        (yyval.interm).loc = (yyvsp[-2].lex).loc;
 6713|    420|        (yyval.interm).param = param;
 6714|    420|    }
 6715|    420|#line 6716 "MachineIndependent/glslang_tab.cpp"
 6716|    420|    break;
 6717|       |
 6718|  7.04k|  case 122: /* parameter_declaration: type_qualifier parameter_declarator  */
  ------------------
  |  Branch (6718:3): [True: 7.04k, False: 3.13M]
  ------------------
 6719|  7.04k|#line 1117 "MachineIndependent/glslang.y"
 6720|  7.04k|                                          {
 6721|  7.04k|        (yyval.interm) = (yyvsp[0].interm);
 6722|  7.04k|        if ((yyvsp[-1].interm.type).qualifier.precision != EpqNone)
  ------------------
  |  Branch (6722:13): [True: 34, False: 7.01k]
  ------------------
 6723|     34|            (yyval.interm).param.type->getQualifier().precision = (yyvsp[-1].interm.type).qualifier.precision;
 6724|  7.04k|        parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  756|  7.04k|#define parseContext (*pParseContext)
  ------------------
 6725|       |
 6726|  7.04k|        parseContext.checkNoShaderLayouts((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
  ------------------
  |  |  756|  7.04k|#define parseContext (*pParseContext)
  ------------------
 6727|  7.04k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, (yyvsp[-1].interm.type).qualifier.storage, *(yyval.interm).param.type);
  ------------------
  |  |  756|  7.04k|#define parseContext (*pParseContext)
  ------------------
 6728|  7.04k|        parseContext.paramCheckFix((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, *(yyval.interm).param.type);
  ------------------
  |  |  756|  7.04k|#define parseContext (*pParseContext)
  ------------------
 6729|       |
 6730|  7.04k|    }
 6731|  7.04k|#line 6732 "MachineIndependent/glslang_tab.cpp"
 6732|  7.04k|    break;
 6733|       |
 6734|  49.2k|  case 123: /* parameter_declaration: parameter_declarator  */
  ------------------
  |  Branch (6734:3): [True: 49.2k, False: 3.09M]
  ------------------
 6735|  49.2k|#line 1128 "MachineIndependent/glslang.y"
 6736|  49.2k|                           {
 6737|  49.2k|        (yyval.interm) = (yyvsp[0].interm);
 6738|       |
 6739|  49.2k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, EvqIn, *(yyvsp[0].interm).param.type);
  ------------------
  |  |  756|  49.2k|#define parseContext (*pParseContext)
  ------------------
 6740|  49.2k|        parseContext.paramCheckFixStorage((yyvsp[0].interm).loc, EvqTemporary, *(yyval.interm).param.type);
  ------------------
  |  |  756|  49.2k|#define parseContext (*pParseContext)
  ------------------
 6741|  49.2k|        parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  756|  49.2k|#define parseContext (*pParseContext)
  ------------------
 6742|  49.2k|    }
 6743|  49.2k|#line 6744 "MachineIndependent/glslang_tab.cpp"
 6744|  49.2k|    break;
 6745|       |
 6746|  26.5k|  case 124: /* parameter_declaration: type_qualifier parameter_type_specifier  */
  ------------------
  |  Branch (6746:3): [True: 26.5k, False: 3.11M]
  ------------------
 6747|  26.5k|#line 1138 "MachineIndependent/glslang.y"
 6748|  26.5k|                                              {
 6749|  26.5k|        (yyval.interm) = (yyvsp[0].interm);
 6750|  26.5k|        if ((yyvsp[-1].interm.type).qualifier.precision != EpqNone)
  ------------------
  |  Branch (6750:13): [True: 942, False: 25.6k]
  ------------------
 6751|    942|            (yyval.interm).param.type->getQualifier().precision = (yyvsp[-1].interm.type).qualifier.precision;
 6752|  26.5k|        parseContext.precisionQualifierCheck((yyvsp[-1].interm.type).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  756|  26.5k|#define parseContext (*pParseContext)
  ------------------
 6753|       |
 6754|  26.5k|        parseContext.checkNoShaderLayouts((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
  ------------------
  |  |  756|  26.5k|#define parseContext (*pParseContext)
  ------------------
 6755|  26.5k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, (yyvsp[-1].interm.type).qualifier.storage, *(yyval.interm).param.type);
  ------------------
  |  |  756|  26.5k|#define parseContext (*pParseContext)
  ------------------
 6756|  26.5k|        parseContext.paramCheckFix((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, *(yyval.interm).param.type);
  ------------------
  |  |  756|  26.5k|#define parseContext (*pParseContext)
  ------------------
 6757|  26.5k|    }
 6758|  26.5k|#line 6759 "MachineIndependent/glslang_tab.cpp"
 6759|  26.5k|    break;
 6760|       |
 6761|   206k|  case 125: /* parameter_declaration: parameter_type_specifier  */
  ------------------
  |  Branch (6761:3): [True: 206k, False: 2.93M]
  ------------------
 6762|   206k|#line 1148 "MachineIndependent/glslang.y"
 6763|   206k|                               {
 6764|   206k|        (yyval.interm) = (yyvsp[0].interm);
 6765|       |
 6766|   206k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, EvqIn, *(yyvsp[0].interm).param.type);
  ------------------
  |  |  756|   206k|#define parseContext (*pParseContext)
  ------------------
 6767|   206k|        parseContext.paramCheckFixStorage((yyvsp[0].interm).loc, EvqTemporary, *(yyval.interm).param.type);
  ------------------
  |  |  756|   206k|#define parseContext (*pParseContext)
  ------------------
 6768|   206k|        parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  756|   206k|#define parseContext (*pParseContext)
  ------------------
 6769|   206k|    }
 6770|   206k|#line 6771 "MachineIndependent/glslang_tab.cpp"
 6771|   206k|    break;
 6772|       |
 6773|   232k|  case 126: /* parameter_type_specifier: type_specifier  */
  ------------------
  |  Branch (6773:3): [True: 232k, False: 2.91M]
  ------------------
 6774|   232k|#line 1158 "MachineIndependent/glslang.y"
 6775|   232k|                     {
 6776|   232k|        TParameter param = { 0, new TType((yyvsp[0].interm.type)), {} };
 6777|   232k|        (yyval.interm).param = param;
 6778|   232k|        if ((yyvsp[0].interm.type).arraySizes)
  ------------------
  |  Branch (6778:13): [True: 1.36k, False: 231k]
  ------------------
 6779|  1.36k|            parseContext.arraySizeRequiredCheck((yyvsp[0].interm.type).loc, *(yyvsp[0].interm.type).arraySizes);
  ------------------
  |  |  756|  1.36k|#define parseContext (*pParseContext)
  ------------------
 6780|   232k|    }
 6781|   232k|#line 6782 "MachineIndependent/glslang_tab.cpp"
 6782|   232k|    break;
 6783|       |
 6784|  5.24k|  case 127: /* init_declarator_list: single_declaration  */
  ------------------
  |  Branch (6784:3): [True: 5.24k, False: 3.13M]
  ------------------
 6785|  5.24k|#line 1167 "MachineIndependent/glslang.y"
 6786|  5.24k|                         {
 6787|  5.24k|        (yyval.interm) = (yyvsp[0].interm);
 6788|  5.24k|    }
 6789|  5.24k|#line 6790 "MachineIndependent/glslang_tab.cpp"
 6790|  5.24k|    break;
 6791|       |
 6792|      0|  case 128: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER  */
  ------------------
  |  Branch (6792:3): [True: 0, False: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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|    100|  case 132: /* single_declaration: fully_specified_type  */
  ------------------
  |  Branch (6832:3): [True: 100, False: 3.14M]
  ------------------
 6833|    100|#line 1193 "MachineIndependent/glslang.y"
 6834|    100|                           {
 6835|    100|        (yyval.interm).type = (yyvsp[0].interm.type);
 6836|    100|        (yyval.interm).intermNode = 0;
 6837|    100|        parseContext.declareTypeDefaults((yyval.interm).loc, (yyval.interm).type);
  ------------------
  |  |  756|    100|#define parseContext (*pParseContext)
  ------------------
 6838|    100|    }
 6839|    100|#line 6840 "MachineIndependent/glslang_tab.cpp"
 6840|    100|    break;
 6841|       |
 6842|  3.33k|  case 133: /* single_declaration: fully_specified_type IDENTIFIER  */
  ------------------
  |  Branch (6842:3): [True: 3.33k, False: 3.14M]
  ------------------
 6843|  3.33k|#line 1198 "MachineIndependent/glslang.y"
 6844|  3.33k|                                      {
 6845|  3.33k|        (yyval.interm).type = (yyvsp[-1].interm.type);
 6846|  3.33k|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[0].lex).loc, *(yyvsp[0].lex).string, (yyvsp[-1].interm.type));
  ------------------
  |  |  756|  3.33k|#define parseContext (*pParseContext)
  ------------------
 6847|  3.33k|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[0].lex).loc);
  ------------------
  |  |  756|  3.33k|#define parseContext (*pParseContext)
  ------------------
 6848|       |
 6849|  3.33k|    }
 6850|  3.33k|#line 6851 "MachineIndependent/glslang_tab.cpp"
 6851|  3.33k|    break;
 6852|       |
 6853|    178|  case 134: /* single_declaration: fully_specified_type IDENTIFIER array_specifier  */
  ------------------
  |  Branch (6853:3): [True: 178, False: 3.14M]
  ------------------
 6854|    178|#line 1204 "MachineIndependent/glslang.y"
 6855|    178|                                                      {
 6856|    178|        (yyval.interm).type = (yyvsp[-2].interm.type);
 6857|    178|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-1].lex).loc, *(yyvsp[-1].lex).string, (yyvsp[-2].interm.type), (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  756|    178|#define parseContext (*pParseContext)
  ------------------
 6858|    178|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  756|    178|#define parseContext (*pParseContext)
  ------------------
 6859|    178|    }
 6860|    178|#line 6861 "MachineIndependent/glslang_tab.cpp"
 6861|    178|    break;
 6862|       |
 6863|      0|  case 135: /* single_declaration: fully_specified_type IDENTIFIER array_specifier EQUAL initializer  */
  ------------------
  |  Branch (6863:3): [True: 0, False: 3.14M]
  ------------------
 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|  1.63k|  case 136: /* single_declaration: fully_specified_type IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (6873:3): [True: 1.63k, False: 3.14M]
  ------------------
 6874|  1.63k|#line 1214 "MachineIndependent/glslang.y"
 6875|  1.63k|                                                        {
 6876|  1.63k|        (yyval.interm).type = (yyvsp[-3].interm.type);
 6877|  1.63k|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[-3].interm.type), 0, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  756|  1.63k|#define parseContext (*pParseContext)
  ------------------
 6878|  1.63k|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[-2].lex).loc);
  ------------------
  |  |  756|  1.63k|#define parseContext (*pParseContext)
  ------------------
 6879|  1.63k|    }
 6880|  1.63k|#line 6881 "MachineIndependent/glslang_tab.cpp"
 6881|  1.63k|    break;
 6882|       |
 6883|  99.5k|  case 137: /* fully_specified_type: type_specifier  */
  ------------------
  |  Branch (6883:3): [True: 99.5k, False: 3.04M]
  ------------------
 6884|  99.5k|#line 1223 "MachineIndependent/glslang.y"
 6885|  99.5k|                     {
 6886|  99.5k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 6887|       |
 6888|  99.5k|        parseContext.globalQualifierTypeCheck((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier, (yyval.interm.type));
  ------------------
  |  |  756|  99.5k|#define parseContext (*pParseContext)
  ------------------
 6889|  99.5k|        if ((yyvsp[0].interm.type).arraySizes) {
  ------------------
  |  Branch (6889:13): [True: 0, False: 99.5k]
  ------------------
 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|  99.5k|        parseContext.precisionQualifierCheck((yyval.interm.type).loc, (yyval.interm.type).basicType, (yyval.interm.type).qualifier, (yyval.interm.type).hasTypeParameter());
  ------------------
  |  |  756|  99.5k|#define parseContext (*pParseContext)
  ------------------
 6894|  99.5k|    }
 6895|  99.5k|#line 6896 "MachineIndependent/glslang_tab.cpp"
 6896|  99.5k|    break;
 6897|       |
 6898|  10.4k|  case 138: /* fully_specified_type: type_qualifier type_specifier  */
  ------------------
  |  Branch (6898:3): [True: 10.4k, False: 3.13M]
  ------------------
 6899|  10.4k|#line 1233 "MachineIndependent/glslang.y"
 6900|  10.4k|                                     {
 6901|  10.4k|        parseContext.globalQualifierFixCheck((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, false, &(yyvsp[0].interm.type));
  ------------------
  |  |  756|  10.4k|#define parseContext (*pParseContext)
  ------------------
 6902|  10.4k|        parseContext.globalQualifierTypeCheck((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, (yyvsp[0].interm.type));
  ------------------
  |  |  756|  10.4k|#define parseContext (*pParseContext)
  ------------------
 6903|       |
 6904|  10.4k|        if ((yyvsp[0].interm.type).arraySizes) {
  ------------------
  |  Branch (6904:13): [True: 0, False: 10.4k]
  ------------------
 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|  10.4k|        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: 10.4k]
  |  Branch (6909:50): [True: 0, False: 0]
  ------------------
 6910|      0|            (yyvsp[0].interm.type).arraySizes = nullptr;
 6911|       |
 6912|  10.4k|        parseContext.checkNoShaderLayouts((yyvsp[0].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
  ------------------
  |  |  756|  10.4k|#define parseContext (*pParseContext)
  ------------------
 6913|  10.4k|        (yyvsp[0].interm.type).shaderQualifiers.merge((yyvsp[-1].interm.type).shaderQualifiers);
 6914|  10.4k|        parseContext.mergeQualifiers((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier, (yyvsp[-1].interm.type).qualifier, true);
  ------------------
  |  |  756|  10.4k|#define parseContext (*pParseContext)
  ------------------
 6915|  10.4k|        parseContext.precisionQualifierCheck((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).basicType, (yyvsp[0].interm.type).qualifier, (yyvsp[0].interm.type).hasTypeParameter());
  ------------------
  |  |  756|  10.4k|#define parseContext (*pParseContext)
  ------------------
 6916|       |
 6917|  10.4k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 6918|       |
 6919|  10.4k|        if (! (yyval.interm.type).qualifier.isInterpolation() &&
  ------------------
  |  Branch (6919:13): [True: 10.2k, False: 210]
  ------------------
 6920|  10.2k|            ((parseContext.language == EShLangVertex   && (yyval.interm.type).qualifier.storage == EvqVaryingOut) ||
  ------------------
  |  |  756|  10.2k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6920:15): [True: 6.99k, False: 3.20k]
  |  Branch (6920:59): [True: 56, False: 6.94k]
  ------------------
 6921|  10.1k|             (parseContext.language == EShLangFragment && (yyval.interm.type).qualifier.storage == EvqVaryingIn)))
  ------------------
  |  |  756|  10.1k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6921:15): [True: 372, False: 9.77k]
  |  Branch (6921:59): [True: 90, False: 282]
  ------------------
 6922|    146|            (yyval.interm.type).qualifier.smooth = true;
 6923|  10.4k|    }
 6924|  10.4k|#line 6925 "MachineIndependent/glslang_tab.cpp"
 6925|  10.4k|    break;
 6926|       |
 6927|      0|  case 139: /* invariant_qualifier: INVARIANT  */
  ------------------
  |  Branch (6927:3): [True: 0, False: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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|    210|  case 141: /* interpolation_qualifier: FLAT  */
  ------------------
  |  Branch (6950:3): [True: 210, False: 3.14M]
  ------------------
 6951|    210|#line 1276 "MachineIndependent/glslang.y"
 6952|    210|           {
 6953|    210|        parseContext.globalCheck((yyvsp[0].lex).loc, "flat");
  ------------------
  |  |  756|    210|#define parseContext (*pParseContext)
  ------------------
 6954|    210|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "flat");
  ------------------
  |  |  756|    210|#define parseContext (*pParseContext)
  ------------------
 6955|    210|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "flat");
  ------------------
  |  |  756|    210|#define parseContext (*pParseContext)
  ------------------
 6956|    210|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 6957|    210|        (yyval.interm.type).qualifier.flat = true;
 6958|    210|    }
 6959|    210|#line 6960 "MachineIndependent/glslang_tab.cpp"
 6960|    210|    break;
 6961|       |
 6962|      0|  case 142: /* interpolation_qualifier: NOPERSPECTIVE  */
  ------------------
  |  Branch (6962:3): [True: 0, False: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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|      7|  case 146: /* interpolation_qualifier: PERPRIMITIVENV  */
  ------------------
  |  Branch (7012:3): [True: 7, False: 3.14M]
  ------------------
 7013|      7|#line 1313 "MachineIndependent/glslang.y"
 7014|      7|                     {
 7015|       |        // No need for profile version or extension check. Shader stage already checks both.
 7016|      7|        parseContext.globalCheck((yyvsp[0].lex).loc, "perprimitiveNV");
  ------------------
  |  |  756|      7|#define parseContext (*pParseContext)
  ------------------
 7017|      7|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangFragmentMask | EShLangMeshMask), "perprimitiveNV");
  ------------------
  |  |  756|      7|#define parseContext (*pParseContext)
  ------------------
 7018|       |        // Fragment shader stage doesn't check for extension. So we explicitly add below extension check.
 7019|      7|        if (parseContext.language == EShLangFragment)
  ------------------
  |  |  756|      7|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7019:13): [True: 0, False: 7]
  ------------------
 7020|      0|            parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_NV_mesh_shader, "perprimitiveNV");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7021|      7|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7022|      7|        (yyval.interm.type).qualifier.perPrimitiveNV = true;
 7023|      7|    }
 7024|      7|#line 7025 "MachineIndependent/glslang_tab.cpp"
 7025|      7|    break;
 7026|       |
 7027|      7|  case 147: /* interpolation_qualifier: PERPRIMITIVEEXT  */
  ------------------
  |  Branch (7027:3): [True: 7, False: 3.14M]
  ------------------
 7028|      7|#line 1323 "MachineIndependent/glslang.y"
 7029|      7|                      {
 7030|       |        // No need for profile version or extension check. Shader stage already checks both.
 7031|      7|        parseContext.globalCheck((yyvsp[0].lex).loc, "perprimitiveEXT");
  ------------------
  |  |  756|      7|#define parseContext (*pParseContext)
  ------------------
 7032|      7|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangFragmentMask | EShLangMeshMask), "perprimitiveEXT");
  ------------------
  |  |  756|      7|#define parseContext (*pParseContext)
  ------------------
 7033|       |        // Fragment shader stage doesn't check for extension. So we explicitly add below extension check.
 7034|      7|        if (parseContext.language == EShLangFragment)
  ------------------
  |  |  756|      7|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7034:13): [True: 0, False: 7]
  ------------------
 7035|      0|            parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_mesh_shader, "perprimitiveEXT");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7036|      7|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7037|      7|        (yyval.interm.type).qualifier.perPrimitiveNV = true;
 7038|      7|    }
 7039|      7|#line 7040 "MachineIndependent/glslang_tab.cpp"
 7040|      7|    break;
 7041|       |
 7042|     35|  case 148: /* interpolation_qualifier: PERVIEWNV  */
  ------------------
  |  Branch (7042:3): [True: 35, False: 3.14M]
  ------------------
 7043|     35|#line 1333 "MachineIndependent/glslang.y"
 7044|     35|                {
 7045|       |        // No need for profile version or extension check. Shader stage already checks both.
 7046|     35|        parseContext.globalCheck((yyvsp[0].lex).loc, "perviewNV");
  ------------------
  |  |  756|     35|#define parseContext (*pParseContext)
  ------------------
 7047|     35|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangMesh, "perviewNV");
  ------------------
  |  |  756|     35|#define parseContext (*pParseContext)
  ------------------
 7048|     35|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7049|     35|        (yyval.interm.type).qualifier.perViewNV = true;
 7050|     35|    }
 7051|     35|#line 7052 "MachineIndependent/glslang_tab.cpp"
 7052|     35|    break;
 7053|       |
 7054|      0|  case 149: /* interpolation_qualifier: PERTASKNV  */
  ------------------
  |  Branch (7054:3): [True: 0, False: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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|  44.3k|  case 157: /* type_qualifier: single_type_qualifier  */
  ------------------
  |  Branch (7131:3): [True: 44.3k, False: 3.10M]
  ------------------
 7132|  44.3k|#line 1391 "MachineIndependent/glslang.y"
 7133|  44.3k|                            {
 7134|  44.3k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7135|  44.3k|    }
 7136|  44.3k|#line 7137 "MachineIndependent/glslang_tab.cpp"
 7137|  44.3k|    break;
 7138|       |
 7139|  35.9k|  case 158: /* type_qualifier: type_qualifier single_type_qualifier  */
  ------------------
  |  Branch (7139:3): [True: 35.9k, False: 3.10M]
  ------------------
 7140|  35.9k|#line 1394 "MachineIndependent/glslang.y"
 7141|  35.9k|                                           {
 7142|  35.9k|        (yyval.interm.type) = (yyvsp[-1].interm.type);
 7143|  35.9k|        if ((yyval.interm.type).basicType == EbtVoid)
  ------------------
  |  Branch (7143:13): [True: 35.9k, False: 0]
  ------------------
 7144|  35.9k|            (yyval.interm.type).basicType = (yyvsp[0].interm.type).basicType;
 7145|       |
 7146|  35.9k|        (yyval.interm.type).shaderQualifiers.merge((yyvsp[0].interm.type).shaderQualifiers);
 7147|  35.9k|        parseContext.mergeQualifiers((yyval.interm.type).loc, (yyval.interm.type).qualifier, (yyvsp[0].interm.type).qualifier, false);
  ------------------
  |  |  756|  35.9k|#define parseContext (*pParseContext)
  ------------------
 7148|  35.9k|    }
 7149|  35.9k|#line 7150 "MachineIndependent/glslang_tab.cpp"
 7150|  35.9k|    break;
 7151|       |
 7152|  64.7k|  case 159: /* single_type_qualifier: storage_qualifier  */
  ------------------
  |  Branch (7152:3): [True: 64.7k, False: 3.08M]
  ------------------
 7153|  64.7k|#line 1405 "MachineIndependent/glslang.y"
 7154|  64.7k|                        {
 7155|  64.7k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7156|  64.7k|    }
 7157|  64.7k|#line 7158 "MachineIndependent/glslang_tab.cpp"
 7158|  64.7k|    break;
 7159|       |
 7160|      0|  case 160: /* single_type_qualifier: layout_qualifier  */
  ------------------
  |  Branch (7160:3): [True: 0, False: 3.14M]
  ------------------
 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|  15.3k|  case 161: /* single_type_qualifier: precision_qualifier  */
  ------------------
  |  Branch (7168:3): [True: 15.3k, False: 3.12M]
  ------------------
 7169|  15.3k|#line 1411 "MachineIndependent/glslang.y"
 7170|  15.3k|                          {
 7171|  15.3k|        parseContext.checkPrecisionQualifier((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier.precision);
  ------------------
  |  |  756|  15.3k|#define parseContext (*pParseContext)
  ------------------
 7172|  15.3k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7173|  15.3k|    }
 7174|  15.3k|#line 7175 "MachineIndependent/glslang_tab.cpp"
 7175|  15.3k|    break;
 7176|       |
 7177|    259|  case 162: /* single_type_qualifier: interpolation_qualifier  */
  ------------------
  |  Branch (7177:3): [True: 259, False: 3.14M]
  ------------------
 7178|    259|#line 1415 "MachineIndependent/glslang.y"
 7179|    259|                              {
 7180|       |        // allow inheritance of storage qualifier from block declaration
 7181|    259|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7182|    259|    }
 7183|    259|#line 7184 "MachineIndependent/glslang_tab.cpp"
 7184|    259|    break;
 7185|       |
 7186|      0|  case 163: /* single_type_qualifier: invariant_qualifier  */
  ------------------
  |  Branch (7186:3): [True: 0, False: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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|  1.63k|  case 170: /* storage_qualifier: CONST  */
  ------------------
  |  Branch (7251:3): [True: 1.63k, False: 3.14M]
  ------------------
 7252|  1.63k|#line 1452 "MachineIndependent/glslang.y"
 7253|  1.63k|            {
 7254|  1.63k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7255|  1.63k|        (yyval.interm.type).qualifier.storage = EvqConst;  // will later turn into EvqConstReadOnly, if the initializer is not constant
 7256|  1.63k|    }
 7257|  1.63k|#line 7258 "MachineIndependent/glslang_tab.cpp"
 7258|  1.63k|    break;
 7259|       |
 7260|    728|  case 171: /* storage_qualifier: INOUT  */
  ------------------
  |  Branch (7260:3): [True: 728, False: 3.14M]
  ------------------
 7261|    728|#line 1456 "MachineIndependent/glslang.y"
 7262|    728|            {
 7263|    728|        parseContext.globalCheck((yyvsp[0].lex).loc, "inout");
  ------------------
  |  |  756|    728|#define parseContext (*pParseContext)
  ------------------
 7264|    728|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7265|    728|        (yyval.interm.type).qualifier.storage = EvqInOut;
 7266|    728|    }
 7267|    728|#line 7268 "MachineIndependent/glslang_tab.cpp"
 7268|    728|    break;
 7269|       |
 7270|  2.80k|  case 172: /* storage_qualifier: IN  */
  ------------------
  |  Branch (7270:3): [True: 2.80k, False: 3.14M]
  ------------------
 7271|  2.80k|#line 1461 "MachineIndependent/glslang.y"
 7272|  2.80k|         {
 7273|  2.80k|        parseContext.globalCheck((yyvsp[0].lex).loc, "in");
  ------------------
  |  |  756|  2.80k|#define parseContext (*pParseContext)
  ------------------
 7274|  2.80k|        (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|  2.80k|        (yyval.interm.type).qualifier.storage = EvqIn;
 7277|  2.80k|    }
 7278|  2.80k|#line 7279 "MachineIndependent/glslang_tab.cpp"
 7279|  2.80k|    break;
 7280|       |
 7281|  12.2k|  case 173: /* storage_qualifier: OUT  */
  ------------------
  |  Branch (7281:3): [True: 12.2k, False: 3.13M]
  ------------------
 7282|  12.2k|#line 1467 "MachineIndependent/glslang.y"
 7283|  12.2k|          {
 7284|  12.2k|        parseContext.globalCheck((yyvsp[0].lex).loc, "out");
  ------------------
  |  |  756|  12.2k|#define parseContext (*pParseContext)
  ------------------
 7285|  12.2k|        (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|  12.2k|        (yyval.interm.type).qualifier.storage = EvqOut;
 7288|  12.2k|    }
 7289|  12.2k|#line 7290 "MachineIndependent/glslang_tab.cpp"
 7290|  12.2k|    break;
 7291|       |
 7292|      0|  case 174: /* storage_qualifier: CENTROID  */
  ------------------
  |  Branch (7292:3): [True: 0, False: 3.14M]
  ------------------
 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|    188|  case 175: /* storage_qualifier: UNIFORM  */
  ------------------
  |  Branch (7304:3): [True: 188, False: 3.14M]
  ------------------
 7305|    188|#line 1480 "MachineIndependent/glslang.y"
 7306|    188|              {
 7307|    188|        parseContext.globalCheck((yyvsp[0].lex).loc, "uniform");
  ------------------
  |  |  756|    188|#define parseContext (*pParseContext)
  ------------------
 7308|    188|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7309|    188|        (yyval.interm.type).qualifier.storage = EvqUniform;
 7310|    188|    }
 7311|    188|#line 7312 "MachineIndependent/glslang_tab.cpp"
 7312|    188|    break;
 7313|       |
 7314|      0|  case 176: /* storage_qualifier: TILEIMAGEEXT  */
  ------------------
  |  Branch (7314:3): [True: 0, False: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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|      0|  case 179: /* storage_qualifier: ATTRIBUTE  */
  ------------------
  |  Branch (7347:3): [True: 0, False: 3.14M]
  ------------------
 7348|      0|#line 1503 "MachineIndependent/glslang.y"
 7349|      0|                {
 7350|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangVertex, "attribute");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7351|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ECoreProfile, 130, "attribute");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7352|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ENoProfile, 130, "attribute");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7353|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, ECoreProfile, 420, "attribute");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7354|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, EEsProfile, 300, "attribute");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7355|       |
 7356|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "attribute");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7357|       |
 7358|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7359|      0|        (yyval.interm.type).qualifier.storage = EvqVaryingIn;
 7360|      0|    }
 7361|      0|#line 7362 "MachineIndependent/glslang_tab.cpp"
 7362|      0|    break;
 7363|       |
 7364|      0|  case 180: /* storage_qualifier: VARYING  */
  ------------------
  |  Branch (7364:3): [True: 0, False: 3.14M]
  ------------------
 7365|      0|#line 1515 "MachineIndependent/glslang.y"
 7366|      0|              {
 7367|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ENoProfile, 130, "varying");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7368|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ECoreProfile, 130, "varying");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7369|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, ECoreProfile, 420, "varying");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7370|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, EEsProfile, 300, "varying");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7371|       |
 7372|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "varying");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 7373|       |
 7374|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7375|      0|        if (parseContext.language == EShLangVertex)
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7375:13): [True: 0, False: 0]
  ------------------
 7376|      0|            (yyval.interm.type).qualifier.storage = EvqVaryingOut;
 7377|      0|        else
 7378|      0|            (yyval.interm.type).qualifier.storage = EvqVaryingIn;
 7379|      0|    }
 7380|      0|#line 7381 "MachineIndependent/glslang_tab.cpp"
 7381|      0|    break;
 7382|       |
 7383|     28|  case 181: /* storage_qualifier: PATCH  */
  ------------------
  |  Branch (7383:3): [True: 28, False: 3.14M]
  ------------------
 7384|     28|#line 1529 "MachineIndependent/glslang.y"
 7385|     28|            {
 7386|     28|        parseContext.globalCheck((yyvsp[0].lex).loc, "patch");
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
 7387|     28|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangTessControlMask | EShLangTessEvaluationMask), "patch");
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
 7388|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7389|     28|        (yyval.interm.type).qualifier.patch = true;
 7390|     28|    }
 7391|     28|#line 7392 "MachineIndependent/glslang_tab.cpp"
 7392|     28|    break;
 7393|       |
 7394|      0|  case 182: /* storage_qualifier: SAMPLE  */
  ------------------
  |  Branch (7394:3): [True: 0, False: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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|  14.6k|  case 197: /* storage_qualifier: COHERENT  */
  ------------------
  |  Branch (7578:3): [True: 14.6k, False: 3.13M]
  ------------------
 7579|  14.6k|#line 1644 "MachineIndependent/glslang.y"
 7580|  14.6k|               {
 7581|  14.6k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7582|  14.6k|        (yyval.interm.type).qualifier.coherent = true;
 7583|  14.6k|    }
 7584|  14.6k|#line 7585 "MachineIndependent/glslang_tab.cpp"
 7585|  14.6k|    break;
 7586|       |
 7587|      0|  case 198: /* storage_qualifier: DEVICECOHERENT  */
  ------------------
  |  Branch (7587:3): [True: 0, False: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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|  15.1k|  case 204: /* storage_qualifier: VOLATILE  */
  ------------------
  |  Branch (7647:3): [True: 15.1k, False: 3.13M]
  ------------------
 7648|  15.1k|#line 1678 "MachineIndependent/glslang.y"
 7649|  15.1k|               {
 7650|  15.1k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7651|  15.1k|        (yyval.interm.type).qualifier.volatil = true;
 7652|  15.1k|    }
 7653|  15.1k|#line 7654 "MachineIndependent/glslang_tab.cpp"
 7654|  15.1k|    break;
 7655|       |
 7656|      0|  case 205: /* storage_qualifier: RESTRICT  */
  ------------------
  |  Branch (7656:3): [True: 0, False: 3.14M]
  ------------------
 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|  2.21k|  case 206: /* storage_qualifier: READONLY  */
  ------------------
  |  Branch (7665:3): [True: 2.21k, False: 3.14M]
  ------------------
 7666|  2.21k|#line 1686 "MachineIndependent/glslang.y"
 7667|  2.21k|               {
 7668|  2.21k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7669|  2.21k|        (yyval.interm.type).qualifier.readonly = true;
 7670|  2.21k|    }
 7671|  2.21k|#line 7672 "MachineIndependent/glslang_tab.cpp"
 7672|  2.21k|    break;
 7673|       |
 7674|  1.67k|  case 207: /* storage_qualifier: WRITEONLY  */
  ------------------
  |  Branch (7674:3): [True: 1.67k, False: 3.14M]
  ------------------
 7675|  1.67k|#line 1690 "MachineIndependent/glslang.y"
 7676|  1.67k|                {
 7677|  1.67k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7678|  1.67k|        (yyval.interm.type).qualifier.writeonly = true;
 7679|  1.67k|    }
 7680|  1.67k|#line 7681 "MachineIndependent/glslang_tab.cpp"
 7681|  1.67k|    break;
 7682|       |
 7683|  13.4k|  case 208: /* storage_qualifier: NONTEMPORAL  */
  ------------------
  |  Branch (7683:3): [True: 13.4k, False: 3.13M]
  ------------------
 7684|  13.4k|#line 1694 "MachineIndependent/glslang.y"
 7685|  13.4k|                  {
 7686|  13.4k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7687|  13.4k|        (yyval.interm.type).qualifier.nontemporal  = true;
 7688|  13.4k|    }
 7689|  13.4k|#line 7690 "MachineIndependent/glslang_tab.cpp"
 7690|  13.4k|    break;
 7691|       |
 7692|      0|  case 209: /* storage_qualifier: SUBROUTINE  */
  ------------------
  |  Branch (7692:3): [True: 0, False: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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|   391k|  case 215: /* type_specifier: type_specifier_nonarray type_parameter_specifier_opt  */
  ------------------
  |  Branch (7753:3): [True: 391k, False: 2.75M]
  ------------------
 7754|   391k|#line 1738 "MachineIndependent/glslang.y"
 7755|   391k|                                                           {
 7756|   391k|        (yyval.interm.type) = (yyvsp[-1].interm.type);
 7757|   391k|        (yyval.interm.type).qualifier.precision = parseContext.getDefaultPrecision((yyval.interm.type));
  ------------------
  |  |  756|   391k|#define parseContext (*pParseContext)
  ------------------
 7758|   391k|        (yyval.interm.type).typeParameters = (yyvsp[0].interm.typeParameters);
 7759|   391k|        parseContext.typeParametersCheck((yyvsp[-1].interm.type).loc, (yyval.interm.type));
  ------------------
  |  |  756|   391k|#define parseContext (*pParseContext)
  ------------------
 7760|       |
 7761|   391k|    }
 7762|   391k|#line 7763 "MachineIndependent/glslang_tab.cpp"
 7763|   391k|    break;
 7764|       |
 7765|  8.16k|  case 216: /* type_specifier: type_specifier_nonarray type_parameter_specifier_opt array_specifier  */
  ------------------
  |  Branch (7765:3): [True: 8.16k, False: 3.13M]
  ------------------
 7766|  8.16k|#line 1745 "MachineIndependent/glslang.y"
 7767|  8.16k|                                                                           {
 7768|  8.16k|        parseContext.arrayOfArrayVersionCheck((yyvsp[0].interm).loc, (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  756|  8.16k|#define parseContext (*pParseContext)
  ------------------
 7769|  8.16k|        (yyval.interm.type) = (yyvsp[-2].interm.type);
 7770|  8.16k|        (yyval.interm.type).qualifier.precision = parseContext.getDefaultPrecision((yyval.interm.type));
  ------------------
  |  |  756|  8.16k|#define parseContext (*pParseContext)
  ------------------
 7771|  8.16k|        (yyval.interm.type).typeParameters = (yyvsp[-1].interm.typeParameters);
 7772|  8.16k|        (yyval.interm.type).arraySizes = (yyvsp[0].interm).arraySizes;
 7773|  8.16k|        parseContext.typeParametersCheck((yyvsp[-2].interm.type).loc, (yyval.interm.type));
  ------------------
  |  |  756|  8.16k|#define parseContext (*pParseContext)
  ------------------
 7774|  8.16k|    }
 7775|  8.16k|#line 7776 "MachineIndependent/glslang_tab.cpp"
 7776|  8.16k|    break;
 7777|       |
 7778|  8.67k|  case 217: /* array_specifier: LEFT_BRACKET RIGHT_BRACKET  */
  ------------------
  |  Branch (7778:3): [True: 8.67k, False: 3.13M]
  ------------------
 7779|  8.67k|#line 1756 "MachineIndependent/glslang.y"
 7780|  8.67k|                                 {
 7781|  8.67k|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 7782|  8.67k|        (yyval.interm).arraySizes = new TArraySizes;
 7783|  8.67k|        (yyval.interm).arraySizes->addInnerSize();
 7784|  8.67k|    }
 7785|  8.67k|#line 7786 "MachineIndependent/glslang_tab.cpp"
 7786|  8.67k|    break;
 7787|       |
 7788|  1.40k|  case 218: /* array_specifier: LEFT_BRACKET conditional_expression RIGHT_BRACKET  */
  ------------------
  |  Branch (7788:3): [True: 1.40k, False: 3.14M]
  ------------------
 7789|  1.40k|#line 1761 "MachineIndependent/glslang.y"
 7790|  1.40k|                                                        {
 7791|  1.40k|        (yyval.interm).loc = (yyvsp[-2].lex).loc;
 7792|  1.40k|        (yyval.interm).arraySizes = new TArraySizes;
 7793|       |
 7794|  1.40k|        TArraySize size;
 7795|  1.40k|        parseContext.arraySizeCheck((yyvsp[-1].interm.intermTypedNode)->getLoc(), (yyvsp[-1].interm.intermTypedNode), size, "array size");
  ------------------
  |  |  756|  1.40k|#define parseContext (*pParseContext)
  ------------------
 7796|  1.40k|        (yyval.interm).arraySizes->addInnerSize(size);
 7797|  1.40k|    }
 7798|  1.40k|#line 7799 "MachineIndependent/glslang_tab.cpp"
 7799|  1.40k|    break;
 7800|       |
 7801|     21|  case 219: /* array_specifier: array_specifier LEFT_BRACKET RIGHT_BRACKET  */
  ------------------
  |  Branch (7801:3): [True: 21, False: 3.14M]
  ------------------
 7802|     21|#line 1769 "MachineIndependent/glslang.y"
 7803|     21|                                                 {
 7804|     21|        (yyval.interm) = (yyvsp[-2].interm);
 7805|     21|        (yyval.interm).arraySizes->addInnerSize();
 7806|     21|    }
 7807|     21|#line 7808 "MachineIndependent/glslang_tab.cpp"
 7808|     21|    break;
 7809|       |
 7810|      0|  case 220: /* array_specifier: array_specifier LEFT_BRACKET conditional_expression RIGHT_BRACKET  */
  ------------------
  |  Branch (7810:3): [True: 0, False: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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|   399k|  case 222: /* type_parameter_specifier_opt: %empty  */
  ------------------
  |  Branch (7830:3): [True: 399k, False: 2.74M]
  ------------------
 7831|   399k|#line 1786 "MachineIndependent/glslang.y"
 7832|   399k|                        {
 7833|   399k|        (yyval.interm.typeParameters) = 0;
 7834|   399k|    }
 7835|   399k|#line 7836 "MachineIndependent/glslang_tab.cpp"
 7836|   399k|    break;
 7837|       |
 7838|      0|  case 223: /* type_parameter_specifier: LEFT_ANGLE type_parameter_specifier_list RIGHT_ANGLE  */
  ------------------
  |  Branch (7838:3): [True: 0, False: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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|  8.11k|  case 227: /* type_specifier_nonarray: VOID  */
  ------------------
  |  Branch (7882:3): [True: 8.11k, False: 3.13M]
  ------------------
 7883|  8.11k|#line 1822 "MachineIndependent/glslang.y"
 7884|  8.11k|           {
 7885|  8.11k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  8.11k|#define parseContext (*pParseContext)
  ------------------
 7886|  8.11k|        (yyval.interm.type).basicType = EbtVoid;
 7887|  8.11k|    }
 7888|  8.11k|#line 7889 "MachineIndependent/glslang_tab.cpp"
 7889|  8.11k|    break;
 7890|       |
 7891|  34.3k|  case 228: /* type_specifier_nonarray: FLOAT  */
  ------------------
  |  Branch (7891:3): [True: 34.3k, False: 3.11M]
  ------------------
 7892|  34.3k|#line 1826 "MachineIndependent/glslang.y"
 7893|  34.3k|            {
 7894|  34.3k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  34.3k|#define parseContext (*pParseContext)
  ------------------
 7895|  34.3k|        (yyval.interm.type).basicType = EbtFloat;
 7896|  34.3k|    }
 7897|  34.3k|#line 7898 "MachineIndependent/glslang_tab.cpp"
 7898|  34.3k|    break;
 7899|       |
 7900|  52.3k|  case 229: /* type_specifier_nonarray: INT  */
  ------------------
  |  Branch (7900:3): [True: 52.3k, False: 3.09M]
  ------------------
 7901|  52.3k|#line 1830 "MachineIndependent/glslang.y"
 7902|  52.3k|          {
 7903|  52.3k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  52.3k|#define parseContext (*pParseContext)
  ------------------
 7904|  52.3k|        (yyval.interm.type).basicType = EbtInt;
 7905|  52.3k|    }
 7906|  52.3k|#line 7907 "MachineIndependent/glslang_tab.cpp"
 7907|  52.3k|    break;
 7908|       |
 7909|  25.4k|  case 230: /* type_specifier_nonarray: UINT  */
  ------------------
  |  Branch (7909:3): [True: 25.4k, False: 3.11M]
  ------------------
 7910|  25.4k|#line 1834 "MachineIndependent/glslang.y"
 7911|  25.4k|           {
 7912|  25.4k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer");
  ------------------
  |  |  756|  25.4k|#define parseContext (*pParseContext)
  ------------------
 7913|  25.4k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  25.4k|#define parseContext (*pParseContext)
  ------------------
 7914|  25.4k|        (yyval.interm.type).basicType = EbtUint;
 7915|  25.4k|    }
 7916|  25.4k|#line 7917 "MachineIndependent/glslang_tab.cpp"
 7917|  25.4k|    break;
 7918|       |
 7919|  4.35k|  case 231: /* type_specifier_nonarray: BOOL  */
  ------------------
  |  Branch (7919:3): [True: 4.35k, False: 3.14M]
  ------------------
 7920|  4.35k|#line 1839 "MachineIndependent/glslang.y"
 7921|  4.35k|           {
 7922|  4.35k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  4.35k|#define parseContext (*pParseContext)
  ------------------
 7923|  4.35k|        (yyval.interm.type).basicType = EbtBool;
 7924|  4.35k|    }
 7925|  4.35k|#line 7926 "MachineIndependent/glslang_tab.cpp"
 7926|  4.35k|    break;
 7927|       |
 7928|  23.6k|  case 232: /* type_specifier_nonarray: VEC2  */
  ------------------
  |  Branch (7928:3): [True: 23.6k, False: 3.12M]
  ------------------
 7929|  23.6k|#line 1843 "MachineIndependent/glslang.y"
 7930|  23.6k|           {
 7931|  23.6k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  23.6k|#define parseContext (*pParseContext)
  ------------------
 7932|  23.6k|        (yyval.interm.type).basicType = EbtFloat;
 7933|  23.6k|        (yyval.interm.type).setVector(2);
 7934|  23.6k|    }
 7935|  23.6k|#line 7936 "MachineIndependent/glslang_tab.cpp"
 7936|  23.6k|    break;
 7937|       |
 7938|  21.8k|  case 233: /* type_specifier_nonarray: VEC3  */
  ------------------
  |  Branch (7938:3): [True: 21.8k, False: 3.12M]
  ------------------
 7939|  21.8k|#line 1848 "MachineIndependent/glslang.y"
 7940|  21.8k|           {
 7941|  21.8k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  21.8k|#define parseContext (*pParseContext)
  ------------------
 7942|  21.8k|        (yyval.interm.type).basicType = EbtFloat;
 7943|  21.8k|        (yyval.interm.type).setVector(3);
 7944|  21.8k|    }
 7945|  21.8k|#line 7946 "MachineIndependent/glslang_tab.cpp"
 7946|  21.8k|    break;
 7947|       |
 7948|  22.1k|  case 234: /* type_specifier_nonarray: VEC4  */
  ------------------
  |  Branch (7948:3): [True: 22.1k, False: 3.12M]
  ------------------
 7949|  22.1k|#line 1853 "MachineIndependent/glslang.y"
 7950|  22.1k|           {
 7951|  22.1k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  22.1k|#define parseContext (*pParseContext)
  ------------------
 7952|  22.1k|        (yyval.interm.type).basicType = EbtFloat;
 7953|  22.1k|        (yyval.interm.type).setVector(4);
 7954|  22.1k|    }
 7955|  22.1k|#line 7956 "MachineIndependent/glslang_tab.cpp"
 7956|  22.1k|    break;
 7957|       |
 7958|  2.89k|  case 235: /* type_specifier_nonarray: BVEC2  */
  ------------------
  |  Branch (7958:3): [True: 2.89k, False: 3.14M]
  ------------------
 7959|  2.89k|#line 1858 "MachineIndependent/glslang.y"
 7960|  2.89k|            {
 7961|  2.89k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  2.89k|#define parseContext (*pParseContext)
  ------------------
 7962|  2.89k|        (yyval.interm.type).basicType = EbtBool;
 7963|  2.89k|        (yyval.interm.type).setVector(2);
 7964|  2.89k|    }
 7965|  2.89k|#line 7966 "MachineIndependent/glslang_tab.cpp"
 7966|  2.89k|    break;
 7967|       |
 7968|  2.89k|  case 236: /* type_specifier_nonarray: BVEC3  */
  ------------------
  |  Branch (7968:3): [True: 2.89k, False: 3.14M]
  ------------------
 7969|  2.89k|#line 1863 "MachineIndependent/glslang.y"
 7970|  2.89k|            {
 7971|  2.89k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  2.89k|#define parseContext (*pParseContext)
  ------------------
 7972|  2.89k|        (yyval.interm.type).basicType = EbtBool;
 7973|  2.89k|        (yyval.interm.type).setVector(3);
 7974|  2.89k|    }
 7975|  2.89k|#line 7976 "MachineIndependent/glslang_tab.cpp"
 7976|  2.89k|    break;
 7977|       |
 7978|  2.89k|  case 237: /* type_specifier_nonarray: BVEC4  */
  ------------------
  |  Branch (7978:3): [True: 2.89k, False: 3.14M]
  ------------------
 7979|  2.89k|#line 1868 "MachineIndependent/glslang.y"
 7980|  2.89k|            {
 7981|  2.89k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  2.89k|#define parseContext (*pParseContext)
  ------------------
 7982|  2.89k|        (yyval.interm.type).basicType = EbtBool;
 7983|  2.89k|        (yyval.interm.type).setVector(4);
 7984|  2.89k|    }
 7985|  2.89k|#line 7986 "MachineIndependent/glslang_tab.cpp"
 7986|  2.89k|    break;
 7987|       |
 7988|  14.6k|  case 238: /* type_specifier_nonarray: IVEC2  */
  ------------------
  |  Branch (7988:3): [True: 14.6k, False: 3.13M]
  ------------------
 7989|  14.6k|#line 1873 "MachineIndependent/glslang.y"
 7990|  14.6k|            {
 7991|  14.6k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  14.6k|#define parseContext (*pParseContext)
  ------------------
 7992|  14.6k|        (yyval.interm.type).basicType = EbtInt;
 7993|  14.6k|        (yyval.interm.type).setVector(2);
 7994|  14.6k|    }
 7995|  14.6k|#line 7996 "MachineIndependent/glslang_tab.cpp"
 7996|  14.6k|    break;
 7997|       |
 7998|  10.1k|  case 239: /* type_specifier_nonarray: IVEC3  */
  ------------------
  |  Branch (7998:3): [True: 10.1k, False: 3.13M]
  ------------------
 7999|  10.1k|#line 1878 "MachineIndependent/glslang.y"
 8000|  10.1k|            {
 8001|  10.1k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  10.1k|#define parseContext (*pParseContext)
  ------------------
 8002|  10.1k|        (yyval.interm.type).basicType = EbtInt;
 8003|  10.1k|        (yyval.interm.type).setVector(3);
 8004|  10.1k|    }
 8005|  10.1k|#line 8006 "MachineIndependent/glslang_tab.cpp"
 8006|  10.1k|    break;
 8007|       |
 8008|  6.70k|  case 240: /* type_specifier_nonarray: IVEC4  */
  ------------------
  |  Branch (8008:3): [True: 6.70k, False: 3.13M]
  ------------------
 8009|  6.70k|#line 1883 "MachineIndependent/glslang.y"
 8010|  6.70k|            {
 8011|  6.70k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  6.70k|#define parseContext (*pParseContext)
  ------------------
 8012|  6.70k|        (yyval.interm.type).basicType = EbtInt;
 8013|  6.70k|        (yyval.interm.type).setVector(4);
 8014|  6.70k|    }
 8015|  6.70k|#line 8016 "MachineIndependent/glslang_tab.cpp"
 8016|  6.70k|    break;
 8017|       |
 8018|  2.18k|  case 241: /* type_specifier_nonarray: UVEC2  */
  ------------------
  |  Branch (8018:3): [True: 2.18k, False: 3.14M]
  ------------------
 8019|  2.18k|#line 1888 "MachineIndependent/glslang.y"
 8020|  2.18k|            {
 8021|  2.18k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
  ------------------
  |  |  756|  2.18k|#define parseContext (*pParseContext)
  ------------------
 8022|  2.18k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  2.18k|#define parseContext (*pParseContext)
  ------------------
 8023|  2.18k|        (yyval.interm.type).basicType = EbtUint;
 8024|  2.18k|        (yyval.interm.type).setVector(2);
 8025|  2.18k|    }
 8026|  2.18k|#line 8027 "MachineIndependent/glslang_tab.cpp"
 8027|  2.18k|    break;
 8028|       |
 8029|  2.14k|  case 242: /* type_specifier_nonarray: UVEC3  */
  ------------------
  |  Branch (8029:3): [True: 2.14k, False: 3.14M]
  ------------------
 8030|  2.14k|#line 1894 "MachineIndependent/glslang.y"
 8031|  2.14k|            {
 8032|  2.14k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
  ------------------
  |  |  756|  2.14k|#define parseContext (*pParseContext)
  ------------------
 8033|  2.14k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  2.14k|#define parseContext (*pParseContext)
  ------------------
 8034|  2.14k|        (yyval.interm.type).basicType = EbtUint;
 8035|  2.14k|        (yyval.interm.type).setVector(3);
 8036|  2.14k|    }
 8037|  2.14k|#line 8038 "MachineIndependent/glslang_tab.cpp"
 8038|  2.14k|    break;
 8039|       |
 8040|  12.7k|  case 243: /* type_specifier_nonarray: UVEC4  */
  ------------------
  |  Branch (8040:3): [True: 12.7k, False: 3.13M]
  ------------------
 8041|  12.7k|#line 1900 "MachineIndependent/glslang.y"
 8042|  12.7k|            {
 8043|  12.7k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
  ------------------
  |  |  756|  12.7k|#define parseContext (*pParseContext)
  ------------------
 8044|  12.7k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  12.7k|#define parseContext (*pParseContext)
  ------------------
 8045|  12.7k|        (yyval.interm.type).basicType = EbtUint;
 8046|  12.7k|        (yyval.interm.type).setVector(4);
 8047|  12.7k|    }
 8048|  12.7k|#line 8049 "MachineIndependent/glslang_tab.cpp"
 8049|  12.7k|    break;
 8050|       |
 8051|    297|  case 244: /* type_specifier_nonarray: MAT2  */
  ------------------
  |  Branch (8051:3): [True: 297, False: 3.14M]
  ------------------
 8052|    297|#line 1906 "MachineIndependent/glslang.y"
 8053|    297|           {
 8054|    297|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    297|#define parseContext (*pParseContext)
  ------------------
 8055|    297|        (yyval.interm.type).basicType = EbtFloat;
 8056|    297|        (yyval.interm.type).setMatrix(2, 2);
 8057|    297|    }
 8058|    297|#line 8059 "MachineIndependent/glslang_tab.cpp"
 8059|    297|    break;
 8060|       |
 8061|    297|  case 245: /* type_specifier_nonarray: MAT3  */
  ------------------
  |  Branch (8061:3): [True: 297, False: 3.14M]
  ------------------
 8062|    297|#line 1911 "MachineIndependent/glslang.y"
 8063|    297|           {
 8064|    297|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    297|#define parseContext (*pParseContext)
  ------------------
 8065|    297|        (yyval.interm.type).basicType = EbtFloat;
 8066|    297|        (yyval.interm.type).setMatrix(3, 3);
 8067|    297|    }
 8068|    297|#line 8069 "MachineIndependent/glslang_tab.cpp"
 8069|    297|    break;
 8070|       |
 8071|    297|  case 246: /* type_specifier_nonarray: MAT4  */
  ------------------
  |  Branch (8071:3): [True: 297, False: 3.14M]
  ------------------
 8072|    297|#line 1916 "MachineIndependent/glslang.y"
 8073|    297|           {
 8074|    297|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    297|#define parseContext (*pParseContext)
  ------------------
 8075|    297|        (yyval.interm.type).basicType = EbtFloat;
 8076|    297|        (yyval.interm.type).setMatrix(4, 4);
 8077|    297|    }
 8078|    297|#line 8079 "MachineIndependent/glslang_tab.cpp"
 8079|    297|    break;
 8080|       |
 8081|      0|  case 247: /* type_specifier_nonarray: MAT2X2  */
  ------------------
  |  Branch (8081:3): [True: 0, False: 3.14M]
  ------------------
 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|     42|  case 248: /* type_specifier_nonarray: MAT2X3  */
  ------------------
  |  Branch (8091:3): [True: 42, False: 3.14M]
  ------------------
 8092|     42|#line 1926 "MachineIndependent/glslang.y"
 8093|     42|             {
 8094|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 8095|     42|        (yyval.interm.type).basicType = EbtFloat;
 8096|     42|        (yyval.interm.type).setMatrix(2, 3);
 8097|     42|    }
 8098|     42|#line 8099 "MachineIndependent/glslang_tab.cpp"
 8099|     42|    break;
 8100|       |
 8101|     42|  case 249: /* type_specifier_nonarray: MAT2X4  */
  ------------------
  |  Branch (8101:3): [True: 42, False: 3.14M]
  ------------------
 8102|     42|#line 1931 "MachineIndependent/glslang.y"
 8103|     42|             {
 8104|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 8105|     42|        (yyval.interm.type).basicType = EbtFloat;
 8106|     42|        (yyval.interm.type).setMatrix(2, 4);
 8107|     42|    }
 8108|     42|#line 8109 "MachineIndependent/glslang_tab.cpp"
 8109|     42|    break;
 8110|       |
 8111|     42|  case 250: /* type_specifier_nonarray: MAT3X2  */
  ------------------
  |  Branch (8111:3): [True: 42, False: 3.14M]
  ------------------
 8112|     42|#line 1936 "MachineIndependent/glslang.y"
 8113|     42|             {
 8114|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 8115|     42|        (yyval.interm.type).basicType = EbtFloat;
 8116|     42|        (yyval.interm.type).setMatrix(3, 2);
 8117|     42|    }
 8118|     42|#line 8119 "MachineIndependent/glslang_tab.cpp"
 8119|     42|    break;
 8120|       |
 8121|      0|  case 251: /* type_specifier_nonarray: MAT3X3  */
  ------------------
  |  Branch (8121:3): [True: 0, False: 3.14M]
  ------------------
 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|     42|  case 252: /* type_specifier_nonarray: MAT3X4  */
  ------------------
  |  Branch (8131:3): [True: 42, False: 3.14M]
  ------------------
 8132|     42|#line 1946 "MachineIndependent/glslang.y"
 8133|     42|             {
 8134|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 8135|     42|        (yyval.interm.type).basicType = EbtFloat;
 8136|     42|        (yyval.interm.type).setMatrix(3, 4);
 8137|     42|    }
 8138|     42|#line 8139 "MachineIndependent/glslang_tab.cpp"
 8139|     42|    break;
 8140|       |
 8141|     42|  case 253: /* type_specifier_nonarray: MAT4X2  */
  ------------------
  |  Branch (8141:3): [True: 42, False: 3.14M]
  ------------------
 8142|     42|#line 1951 "MachineIndependent/glslang.y"
 8143|     42|             {
 8144|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 8145|     42|        (yyval.interm.type).basicType = EbtFloat;
 8146|     42|        (yyval.interm.type).setMatrix(4, 2);
 8147|     42|    }
 8148|     42|#line 8149 "MachineIndependent/glslang_tab.cpp"
 8149|     42|    break;
 8150|       |
 8151|     42|  case 254: /* type_specifier_nonarray: MAT4X3  */
  ------------------
  |  Branch (8151:3): [True: 42, False: 3.14M]
  ------------------
 8152|     42|#line 1956 "MachineIndependent/glslang.y"
 8153|     42|             {
 8154|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 8155|     42|        (yyval.interm.type).basicType = EbtFloat;
 8156|     42|        (yyval.interm.type).setMatrix(4, 3);
 8157|     42|    }
 8158|     42|#line 8159 "MachineIndependent/glslang_tab.cpp"
 8159|     42|    break;
 8160|       |
 8161|      0|  case 255: /* type_specifier_nonarray: MAT4X4  */
  ------------------
  |  Branch (8161:3): [True: 0, False: 3.14M]
  ------------------
 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|  1.99k|  case 256: /* type_specifier_nonarray: DOUBLE  */
  ------------------
  |  Branch (8171:3): [True: 1.99k, False: 3.14M]
  ------------------
 8172|  1.99k|#line 1966 "MachineIndependent/glslang.y"
 8173|  1.99k|             {
 8174|  1.99k|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double");
  ------------------
  |  |  756|  1.99k|#define parseContext (*pParseContext)
  ------------------
 8175|  1.99k|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|  1.99k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8175:13): [True: 0, False: 1.99k]
  ------------------
 8176|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8177|  1.99k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.99k|#define parseContext (*pParseContext)
  ------------------
 8178|  1.99k|        (yyval.interm.type).basicType = EbtDouble;
 8179|  1.99k|    }
 8180|  1.99k|#line 8181 "MachineIndependent/glslang_tab.cpp"
 8181|  1.99k|    break;
 8182|       |
 8183|    126|  case 257: /* type_specifier_nonarray: BFLOAT16_T  */
  ------------------
  |  Branch (8183:3): [True: 126, False: 3.14M]
  ------------------
 8184|    126|#line 1973 "MachineIndependent/glslang.y"
 8185|    126|                 {
 8186|    126|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "bfloat16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    126|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "bfloat16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    126|#define parseContext (*pParseContext)
  ------------------
 8187|    126|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    126|#define parseContext (*pParseContext)
  ------------------
 8188|    126|        (yyval.interm.type).basicType = EbtBFloat16;
 8189|    126|    }
 8190|    126|#line 8191 "MachineIndependent/glslang_tab.cpp"
 8191|    126|    break;
 8192|       |
 8193|     84|  case 258: /* type_specifier_nonarray: FLOATE5M2_T  */
  ------------------
  |  Branch (8193:3): [True: 84, False: 3.14M]
  ------------------
 8194|     84|#line 1978 "MachineIndependent/glslang.y"
 8195|     84|                  {
 8196|     84|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate5m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     84|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate5m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     84|#define parseContext (*pParseContext)
  ------------------
 8197|     84|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     84|#define parseContext (*pParseContext)
  ------------------
 8198|     84|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8199|     84|    }
 8200|     84|#line 8201 "MachineIndependent/glslang_tab.cpp"
 8201|     84|    break;
 8202|       |
 8203|     84|  case 259: /* type_specifier_nonarray: FLOATE4M3_T  */
  ------------------
  |  Branch (8203:3): [True: 84, False: 3.14M]
  ------------------
 8204|     84|#line 1983 "MachineIndependent/glslang.y"
 8205|     84|                  {
 8206|     84|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate4m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     84|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate4m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     84|#define parseContext (*pParseContext)
  ------------------
 8207|     84|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     84|#define parseContext (*pParseContext)
  ------------------
 8208|     84|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8209|     84|    }
 8210|     84|#line 8211 "MachineIndependent/glslang_tab.cpp"
 8211|     84|    break;
 8212|       |
 8213|  9.59k|  case 260: /* type_specifier_nonarray: FLOAT16_T  */
  ------------------
  |  Branch (8213:3): [True: 9.59k, False: 3.13M]
  ------------------
 8214|  9.59k|#line 1988 "MachineIndependent/glslang.y"
 8215|  9.59k|                {
 8216|  9.59k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "float16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  9.59k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "float16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  9.59k|#define parseContext (*pParseContext)
  ------------------
 8217|  9.59k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  9.59k|#define parseContext (*pParseContext)
  ------------------
 8218|  9.59k|        (yyval.interm.type).basicType = EbtFloat16;
 8219|  9.59k|    }
 8220|  9.59k|#line 8221 "MachineIndependent/glslang_tab.cpp"
 8221|  9.59k|    break;
 8222|       |
 8223|    532|  case 261: /* type_specifier_nonarray: FLOAT32_T  */
  ------------------
  |  Branch (8223:3): [True: 532, False: 3.14M]
  ------------------
 8224|    532|#line 1993 "MachineIndependent/glslang.y"
 8225|    532|                {
 8226|    532|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    532|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    532|#define parseContext (*pParseContext)
  ------------------
 8227|    532|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    532|#define parseContext (*pParseContext)
  ------------------
 8228|    532|        (yyval.interm.type).basicType = EbtFloat;
 8229|    532|    }
 8230|    532|#line 8231 "MachineIndependent/glslang_tab.cpp"
 8231|    532|    break;
 8232|       |
 8233|    987|  case 262: /* type_specifier_nonarray: FLOAT64_T  */
  ------------------
  |  Branch (8233:3): [True: 987, False: 3.14M]
  ------------------
 8234|    987|#line 1998 "MachineIndependent/glslang.y"
 8235|    987|                {
 8236|    987|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    987|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    987|#define parseContext (*pParseContext)
  ------------------
 8237|    987|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    987|#define parseContext (*pParseContext)
  ------------------
 8238|    987|        (yyval.interm.type).basicType = EbtDouble;
 8239|    987|    }
 8240|    987|#line 8241 "MachineIndependent/glslang_tab.cpp"
 8241|    987|    break;
 8242|       |
 8243|  1.96k|  case 263: /* type_specifier_nonarray: INT8_T  */
  ------------------
  |  Branch (8243:3): [True: 1.96k, False: 3.14M]
  ------------------
 8244|  1.96k|#line 2003 "MachineIndependent/glslang.y"
 8245|  1.96k|             {
 8246|  1.96k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.96k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.96k|#define parseContext (*pParseContext)
  ------------------
 8247|  1.96k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.96k|#define parseContext (*pParseContext)
  ------------------
 8248|  1.96k|        (yyval.interm.type).basicType = EbtInt8;
 8249|  1.96k|    }
 8250|  1.96k|#line 8251 "MachineIndependent/glslang_tab.cpp"
 8251|  1.96k|    break;
 8252|       |
 8253|  1.77k|  case 264: /* type_specifier_nonarray: UINT8_T  */
  ------------------
  |  Branch (8253:3): [True: 1.77k, False: 3.14M]
  ------------------
 8254|  1.77k|#line 2008 "MachineIndependent/glslang.y"
 8255|  1.77k|              {
 8256|  1.77k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.77k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.77k|#define parseContext (*pParseContext)
  ------------------
 8257|  1.77k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.77k|#define parseContext (*pParseContext)
  ------------------
 8258|  1.77k|        (yyval.interm.type).basicType = EbtUint8;
 8259|  1.77k|    }
 8260|  1.77k|#line 8261 "MachineIndependent/glslang_tab.cpp"
 8261|  1.77k|    break;
 8262|       |
 8263|  2.42k|  case 265: /* type_specifier_nonarray: INT16_T  */
  ------------------
  |  Branch (8263:3): [True: 2.42k, False: 3.14M]
  ------------------
 8264|  2.42k|#line 2013 "MachineIndependent/glslang.y"
 8265|  2.42k|              {
 8266|  2.42k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  2.42k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  2.42k|#define parseContext (*pParseContext)
  ------------------
 8267|  2.42k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  2.42k|#define parseContext (*pParseContext)
  ------------------
 8268|  2.42k|        (yyval.interm.type).basicType = EbtInt16;
 8269|  2.42k|    }
 8270|  2.42k|#line 8271 "MachineIndependent/glslang_tab.cpp"
 8271|  2.42k|    break;
 8272|       |
 8273|  2.14k|  case 266: /* type_specifier_nonarray: UINT16_T  */
  ------------------
  |  Branch (8273:3): [True: 2.14k, False: 3.14M]
  ------------------
 8274|  2.14k|#line 2018 "MachineIndependent/glslang.y"
 8275|  2.14k|               {
 8276|  2.14k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  2.14k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  2.14k|#define parseContext (*pParseContext)
  ------------------
 8277|  2.14k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  2.14k|#define parseContext (*pParseContext)
  ------------------
 8278|  2.14k|        (yyval.interm.type).basicType = EbtUint16;
 8279|  2.14k|    }
 8280|  2.14k|#line 8281 "MachineIndependent/glslang_tab.cpp"
 8281|  2.14k|    break;
 8282|       |
 8283|    560|  case 267: /* type_specifier_nonarray: INT32_T  */
  ------------------
  |  Branch (8283:3): [True: 560, False: 3.14M]
  ------------------
 8284|    560|#line 2023 "MachineIndependent/glslang.y"
 8285|    560|              {
 8286|    560|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    560|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    560|#define parseContext (*pParseContext)
  ------------------
 8287|    560|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    560|#define parseContext (*pParseContext)
  ------------------
 8288|    560|        (yyval.interm.type).basicType = EbtInt;
 8289|    560|    }
 8290|    560|#line 8291 "MachineIndependent/glslang_tab.cpp"
 8291|    560|    break;
 8292|       |
 8293|    560|  case 268: /* type_specifier_nonarray: UINT32_T  */
  ------------------
  |  Branch (8293:3): [True: 560, False: 3.14M]
  ------------------
 8294|    560|#line 2028 "MachineIndependent/glslang.y"
 8295|    560|               {
 8296|    560|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    560|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    560|#define parseContext (*pParseContext)
  ------------------
 8297|    560|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    560|#define parseContext (*pParseContext)
  ------------------
 8298|    560|        (yyval.interm.type).basicType = EbtUint;
 8299|    560|    }
 8300|    560|#line 8301 "MachineIndependent/glslang_tab.cpp"
 8301|    560|    break;
 8302|       |
 8303|  5.41k|  case 269: /* type_specifier_nonarray: INT64_T  */
  ------------------
  |  Branch (8303:3): [True: 5.41k, False: 3.13M]
  ------------------
 8304|  5.41k|#line 2033 "MachineIndependent/glslang.y"
 8305|  5.41k|              {
 8306|  5.41k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  5.41k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  5.41k|#define parseContext (*pParseContext)
  ------------------
 8307|  5.41k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  5.41k|#define parseContext (*pParseContext)
  ------------------
 8308|  5.41k|        (yyval.interm.type).basicType = EbtInt64;
 8309|  5.41k|    }
 8310|  5.41k|#line 8311 "MachineIndependent/glslang_tab.cpp"
 8311|  5.41k|    break;
 8312|       |
 8313|  8.93k|  case 270: /* type_specifier_nonarray: UINT64_T  */
  ------------------
  |  Branch (8313:3): [True: 8.93k, False: 3.13M]
  ------------------
 8314|  8.93k|#line 2038 "MachineIndependent/glslang.y"
 8315|  8.93k|               {
 8316|  8.93k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  8.93k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  8.93k|#define parseContext (*pParseContext)
  ------------------
 8317|  8.93k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  8.93k|#define parseContext (*pParseContext)
  ------------------
 8318|  8.93k|        (yyval.interm.type).basicType = EbtUint64;
 8319|  8.93k|    }
 8320|  8.93k|#line 8321 "MachineIndependent/glslang_tab.cpp"
 8321|  8.93k|    break;
 8322|       |
 8323|  1.62k|  case 271: /* type_specifier_nonarray: DVEC2  */
  ------------------
  |  Branch (8323:3): [True: 1.62k, False: 3.14M]
  ------------------
 8324|  1.62k|#line 2043 "MachineIndependent/glslang.y"
 8325|  1.62k|            {
 8326|  1.62k|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
  ------------------
  |  |  756|  1.62k|#define parseContext (*pParseContext)
  ------------------
 8327|  1.62k|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|  1.62k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8327:13): [True: 0, False: 1.62k]
  ------------------
 8328|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8329|  1.62k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.62k|#define parseContext (*pParseContext)
  ------------------
 8330|  1.62k|        (yyval.interm.type).basicType = EbtDouble;
 8331|  1.62k|        (yyval.interm.type).setVector(2);
 8332|  1.62k|    }
 8333|  1.62k|#line 8334 "MachineIndependent/glslang_tab.cpp"
 8334|  1.62k|    break;
 8335|       |
 8336|  1.61k|  case 272: /* type_specifier_nonarray: DVEC3  */
  ------------------
  |  Branch (8336:3): [True: 1.61k, False: 3.14M]
  ------------------
 8337|  1.61k|#line 2051 "MachineIndependent/glslang.y"
 8338|  1.61k|            {
 8339|  1.61k|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
  ------------------
  |  |  756|  1.61k|#define parseContext (*pParseContext)
  ------------------
 8340|  1.61k|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|  1.61k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8340:13): [True: 0, False: 1.61k]
  ------------------
 8341|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8342|  1.61k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.61k|#define parseContext (*pParseContext)
  ------------------
 8343|  1.61k|        (yyval.interm.type).basicType = EbtDouble;
 8344|  1.61k|        (yyval.interm.type).setVector(3);
 8345|  1.61k|    }
 8346|  1.61k|#line 8347 "MachineIndependent/glslang_tab.cpp"
 8347|  1.61k|    break;
 8348|       |
 8349|  1.62k|  case 273: /* type_specifier_nonarray: DVEC4  */
  ------------------
  |  Branch (8349:3): [True: 1.62k, False: 3.14M]
  ------------------
 8350|  1.62k|#line 2059 "MachineIndependent/glslang.y"
 8351|  1.62k|            {
 8352|  1.62k|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
  ------------------
  |  |  756|  1.62k|#define parseContext (*pParseContext)
  ------------------
 8353|  1.62k|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|  1.62k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8353:13): [True: 0, False: 1.62k]
  ------------------
 8354|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8355|  1.62k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.62k|#define parseContext (*pParseContext)
  ------------------
 8356|  1.62k|        (yyval.interm.type).basicType = EbtDouble;
 8357|  1.62k|        (yyval.interm.type).setVector(4);
 8358|  1.62k|    }
 8359|  1.62k|#line 8360 "MachineIndependent/glslang_tab.cpp"
 8360|  1.62k|    break;
 8361|       |
 8362|     70|  case 274: /* type_specifier_nonarray: BF16VEC2  */
  ------------------
  |  Branch (8362:3): [True: 70, False: 3.14M]
  ------------------
 8363|     70|#line 2067 "MachineIndependent/glslang.y"
 8364|     70|               {
 8365|     70|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     70|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     70|#define parseContext (*pParseContext)
  ------------------
 8366|     70|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     70|#define parseContext (*pParseContext)
  ------------------
 8367|     70|        (yyval.interm.type).basicType = EbtBFloat16;
 8368|     70|        (yyval.interm.type).setVector(2);
 8369|     70|    }
 8370|     70|#line 8371 "MachineIndependent/glslang_tab.cpp"
 8371|     70|    break;
 8372|       |
 8373|     42|  case 275: /* type_specifier_nonarray: BF16VEC3  */
  ------------------
  |  Branch (8373:3): [True: 42, False: 3.14M]
  ------------------
 8374|     42|#line 2073 "MachineIndependent/glslang.y"
 8375|     42|               {
 8376|     42|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 8377|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 8378|     42|        (yyval.interm.type).basicType = EbtBFloat16;
 8379|     42|        (yyval.interm.type).setVector(3);
 8380|     42|    }
 8381|     42|#line 8382 "MachineIndependent/glslang_tab.cpp"
 8382|     42|    break;
 8383|       |
 8384|     70|  case 276: /* type_specifier_nonarray: BF16VEC4  */
  ------------------
  |  Branch (8384:3): [True: 70, False: 3.14M]
  ------------------
 8385|     70|#line 2079 "MachineIndependent/glslang.y"
 8386|     70|               {
 8387|     70|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     70|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     70|#define parseContext (*pParseContext)
  ------------------
 8388|     70|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     70|#define parseContext (*pParseContext)
  ------------------
 8389|     70|        (yyval.interm.type).basicType = EbtBFloat16;
 8390|     70|        (yyval.interm.type).setVector(4);
 8391|     70|    }
 8392|     70|#line 8393 "MachineIndependent/glslang_tab.cpp"
 8393|     70|    break;
 8394|       |
 8395|     56|  case 277: /* type_specifier_nonarray: FE5M2VEC2  */
  ------------------
  |  Branch (8395:3): [True: 56, False: 3.14M]
  ------------------
 8396|     56|#line 2085 "MachineIndependent/glslang.y"
 8397|     56|                {
 8398|     56|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     56|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     56|#define parseContext (*pParseContext)
  ------------------
 8399|     56|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     56|#define parseContext (*pParseContext)
  ------------------
 8400|     56|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8401|     56|        (yyval.interm.type).setVector(2);
 8402|     56|    }
 8403|     56|#line 8404 "MachineIndependent/glslang_tab.cpp"
 8404|     56|    break;
 8405|       |
 8406|     28|  case 278: /* type_specifier_nonarray: FE5M2VEC3  */
  ------------------
  |  Branch (8406:3): [True: 28, False: 3.14M]
  ------------------
 8407|     28|#line 2091 "MachineIndependent/glslang.y"
 8408|     28|                {
 8409|     28|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
 8410|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
 8411|     28|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8412|     28|        (yyval.interm.type).setVector(3);
 8413|     28|    }
 8414|     28|#line 8415 "MachineIndependent/glslang_tab.cpp"
 8415|     28|    break;
 8416|       |
 8417|     56|  case 279: /* type_specifier_nonarray: FE5M2VEC4  */
  ------------------
  |  Branch (8417:3): [True: 56, False: 3.14M]
  ------------------
 8418|     56|#line 2097 "MachineIndependent/glslang.y"
 8419|     56|                {
 8420|     56|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     56|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     56|#define parseContext (*pParseContext)
  ------------------
 8421|     56|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     56|#define parseContext (*pParseContext)
  ------------------
 8422|     56|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8423|     56|        (yyval.interm.type).setVector(4);
 8424|     56|    }
 8425|     56|#line 8426 "MachineIndependent/glslang_tab.cpp"
 8426|     56|    break;
 8427|       |
 8428|     56|  case 280: /* type_specifier_nonarray: FE4M3VEC2  */
  ------------------
  |  Branch (8428:3): [True: 56, False: 3.14M]
  ------------------
 8429|     56|#line 2103 "MachineIndependent/glslang.y"
 8430|     56|                {
 8431|     56|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     56|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     56|#define parseContext (*pParseContext)
  ------------------
 8432|     56|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     56|#define parseContext (*pParseContext)
  ------------------
 8433|     56|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8434|     56|        (yyval.interm.type).setVector(2);
 8435|     56|    }
 8436|     56|#line 8437 "MachineIndependent/glslang_tab.cpp"
 8437|     56|    break;
 8438|       |
 8439|     28|  case 281: /* type_specifier_nonarray: FE4M3VEC3  */
  ------------------
  |  Branch (8439:3): [True: 28, False: 3.14M]
  ------------------
 8440|     28|#line 2109 "MachineIndependent/glslang.y"
 8441|     28|                {
 8442|     28|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
 8443|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
 8444|     28|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8445|     28|        (yyval.interm.type).setVector(3);
 8446|     28|    }
 8447|     28|#line 8448 "MachineIndependent/glslang_tab.cpp"
 8448|     28|    break;
 8449|       |
 8450|     56|  case 282: /* type_specifier_nonarray: FE4M3VEC4  */
  ------------------
  |  Branch (8450:3): [True: 56, False: 3.14M]
  ------------------
 8451|     56|#line 2115 "MachineIndependent/glslang.y"
 8452|     56|                {
 8453|     56|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     56|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     56|#define parseContext (*pParseContext)
  ------------------
 8454|     56|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     56|#define parseContext (*pParseContext)
  ------------------
 8455|     56|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8456|     56|        (yyval.interm.type).setVector(4);
 8457|     56|    }
 8458|     56|#line 8459 "MachineIndependent/glslang_tab.cpp"
 8459|     56|    break;
 8460|       |
 8461|  6.89k|  case 283: /* type_specifier_nonarray: F16VEC2  */
  ------------------
  |  Branch (8461:3): [True: 6.89k, False: 3.13M]
  ------------------
 8462|  6.89k|#line 2121 "MachineIndependent/glslang.y"
 8463|  6.89k|              {
 8464|  6.89k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  6.89k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  6.89k|#define parseContext (*pParseContext)
  ------------------
 8465|  6.89k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  6.89k|#define parseContext (*pParseContext)
  ------------------
 8466|  6.89k|        (yyval.interm.type).basicType = EbtFloat16;
 8467|  6.89k|        (yyval.interm.type).setVector(2);
 8468|  6.89k|    }
 8469|  6.89k|#line 8470 "MachineIndependent/glslang_tab.cpp"
 8470|  6.89k|    break;
 8471|       |
 8472|  4.81k|  case 284: /* type_specifier_nonarray: F16VEC3  */
  ------------------
  |  Branch (8472:3): [True: 4.81k, False: 3.14M]
  ------------------
 8473|  4.81k|#line 2127 "MachineIndependent/glslang.y"
 8474|  4.81k|              {
 8475|  4.81k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  4.81k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  4.81k|#define parseContext (*pParseContext)
  ------------------
 8476|  4.81k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  4.81k|#define parseContext (*pParseContext)
  ------------------
 8477|  4.81k|        (yyval.interm.type).basicType = EbtFloat16;
 8478|  4.81k|        (yyval.interm.type).setVector(3);
 8479|  4.81k|    }
 8480|  4.81k|#line 8481 "MachineIndependent/glslang_tab.cpp"
 8481|  4.81k|    break;
 8482|       |
 8483|  11.8k|  case 285: /* type_specifier_nonarray: F16VEC4  */
  ------------------
  |  Branch (8483:3): [True: 11.8k, False: 3.13M]
  ------------------
 8484|  11.8k|#line 2133 "MachineIndependent/glslang.y"
 8485|  11.8k|              {
 8486|  11.8k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  11.8k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  11.8k|#define parseContext (*pParseContext)
  ------------------
 8487|  11.8k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  11.8k|#define parseContext (*pParseContext)
  ------------------
 8488|  11.8k|        (yyval.interm.type).basicType = EbtFloat16;
 8489|  11.8k|        (yyval.interm.type).setVector(4);
 8490|  11.8k|    }
 8491|  11.8k|#line 8492 "MachineIndependent/glslang_tab.cpp"
 8492|  11.8k|    break;
 8493|       |
 8494|     28|  case 286: /* type_specifier_nonarray: F32VEC2  */
  ------------------
  |  Branch (8494:3): [True: 28, False: 3.14M]
  ------------------
 8495|     28|#line 2139 "MachineIndependent/glslang.y"
 8496|     28|              {
 8497|     28|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
 8498|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
 8499|     28|        (yyval.interm.type).basicType = EbtFloat;
 8500|     28|        (yyval.interm.type).setVector(2);
 8501|     28|    }
 8502|     28|#line 8503 "MachineIndependent/glslang_tab.cpp"
 8503|     28|    break;
 8504|       |
 8505|     28|  case 287: /* type_specifier_nonarray: F32VEC3  */
  ------------------
  |  Branch (8505:3): [True: 28, False: 3.14M]
  ------------------
 8506|     28|#line 2145 "MachineIndependent/glslang.y"
 8507|     28|              {
 8508|     28|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
 8509|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
 8510|     28|        (yyval.interm.type).basicType = EbtFloat;
 8511|     28|        (yyval.interm.type).setVector(3);
 8512|     28|    }
 8513|     28|#line 8514 "MachineIndependent/glslang_tab.cpp"
 8514|     28|    break;
 8515|       |
 8516|     28|  case 288: /* type_specifier_nonarray: F32VEC4  */
  ------------------
  |  Branch (8516:3): [True: 28, False: 3.14M]
  ------------------
 8517|     28|#line 2151 "MachineIndependent/glslang.y"
 8518|     28|              {
 8519|     28|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
 8520|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
 8521|     28|        (yyval.interm.type).basicType = EbtFloat;
 8522|     28|        (yyval.interm.type).setVector(4);
 8523|     28|    }
 8524|     28|#line 8525 "MachineIndependent/glslang_tab.cpp"
 8525|     28|    break;
 8526|       |
 8527|    630|  case 289: /* type_specifier_nonarray: F64VEC2  */
  ------------------
  |  Branch (8527:3): [True: 630, False: 3.14M]
  ------------------
 8528|    630|#line 2157 "MachineIndependent/glslang.y"
 8529|    630|              {
 8530|    630|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    630|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    630|#define parseContext (*pParseContext)
  ------------------
 8531|    630|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    630|#define parseContext (*pParseContext)
  ------------------
 8532|    630|        (yyval.interm.type).basicType = EbtDouble;
 8533|    630|        (yyval.interm.type).setVector(2);
 8534|    630|    }
 8535|    630|#line 8536 "MachineIndependent/glslang_tab.cpp"
 8536|    630|    break;
 8537|       |
 8538|    602|  case 290: /* type_specifier_nonarray: F64VEC3  */
  ------------------
  |  Branch (8538:3): [True: 602, False: 3.14M]
  ------------------
 8539|    602|#line 2163 "MachineIndependent/glslang.y"
 8540|    602|              {
 8541|    602|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    602|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    602|#define parseContext (*pParseContext)
  ------------------
 8542|    602|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    602|#define parseContext (*pParseContext)
  ------------------
 8543|    602|        (yyval.interm.type).basicType = EbtDouble;
 8544|    602|        (yyval.interm.type).setVector(3);
 8545|    602|    }
 8546|    602|#line 8547 "MachineIndependent/glslang_tab.cpp"
 8547|    602|    break;
 8548|       |
 8549|    602|  case 291: /* type_specifier_nonarray: F64VEC4  */
  ------------------
  |  Branch (8549:3): [True: 602, False: 3.14M]
  ------------------
 8550|    602|#line 2169 "MachineIndependent/glslang.y"
 8551|    602|              {
 8552|    602|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    602|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    602|#define parseContext (*pParseContext)
  ------------------
 8553|    602|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    602|#define parseContext (*pParseContext)
  ------------------
 8554|    602|        (yyval.interm.type).basicType = EbtDouble;
 8555|    602|        (yyval.interm.type).setVector(4);
 8556|    602|    }
 8557|    602|#line 8558 "MachineIndependent/glslang_tab.cpp"
 8558|    602|    break;
 8559|       |
 8560|  1.40k|  case 292: /* type_specifier_nonarray: I8VEC2  */
  ------------------
  |  Branch (8560:3): [True: 1.40k, False: 3.14M]
  ------------------
 8561|  1.40k|#line 2175 "MachineIndependent/glslang.y"
 8562|  1.40k|             {
 8563|  1.40k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.40k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.40k|#define parseContext (*pParseContext)
  ------------------
 8564|  1.40k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.40k|#define parseContext (*pParseContext)
  ------------------
 8565|  1.40k|        (yyval.interm.type).basicType = EbtInt8;
 8566|  1.40k|        (yyval.interm.type).setVector(2);
 8567|  1.40k|    }
 8568|  1.40k|#line 8569 "MachineIndependent/glslang_tab.cpp"
 8569|  1.40k|    break;
 8570|       |
 8571|  1.35k|  case 293: /* type_specifier_nonarray: I8VEC3  */
  ------------------
  |  Branch (8571:3): [True: 1.35k, False: 3.14M]
  ------------------
 8572|  1.35k|#line 2181 "MachineIndependent/glslang.y"
 8573|  1.35k|             {
 8574|  1.35k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.35k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.35k|#define parseContext (*pParseContext)
  ------------------
 8575|  1.35k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.35k|#define parseContext (*pParseContext)
  ------------------
 8576|  1.35k|        (yyval.interm.type).basicType = EbtInt8;
 8577|  1.35k|        (yyval.interm.type).setVector(3);
 8578|  1.35k|    }
 8579|  1.35k|#line 8580 "MachineIndependent/glslang_tab.cpp"
 8580|  1.35k|    break;
 8581|       |
 8582|  1.40k|  case 294: /* type_specifier_nonarray: I8VEC4  */
  ------------------
  |  Branch (8582:3): [True: 1.40k, False: 3.14M]
  ------------------
 8583|  1.40k|#line 2187 "MachineIndependent/glslang.y"
 8584|  1.40k|             {
 8585|  1.40k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.40k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.40k|#define parseContext (*pParseContext)
  ------------------
 8586|  1.40k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.40k|#define parseContext (*pParseContext)
  ------------------
 8587|  1.40k|        (yyval.interm.type).basicType = EbtInt8;
 8588|  1.40k|        (yyval.interm.type).setVector(4);
 8589|  1.40k|    }
 8590|  1.40k|#line 8591 "MachineIndependent/glslang_tab.cpp"
 8591|  1.40k|    break;
 8592|       |
 8593|  1.87k|  case 295: /* type_specifier_nonarray: I16VEC2  */
  ------------------
  |  Branch (8593:3): [True: 1.87k, False: 3.14M]
  ------------------
 8594|  1.87k|#line 2193 "MachineIndependent/glslang.y"
 8595|  1.87k|              {
 8596|  1.87k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.87k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.87k|#define parseContext (*pParseContext)
  ------------------
 8597|  1.87k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.87k|#define parseContext (*pParseContext)
  ------------------
 8598|  1.87k|        (yyval.interm.type).basicType = EbtInt16;
 8599|  1.87k|        (yyval.interm.type).setVector(2);
 8600|  1.87k|    }
 8601|  1.87k|#line 8602 "MachineIndependent/glslang_tab.cpp"
 8602|  1.87k|    break;
 8603|       |
 8604|  1.82k|  case 296: /* type_specifier_nonarray: I16VEC3  */
  ------------------
  |  Branch (8604:3): [True: 1.82k, False: 3.14M]
  ------------------
 8605|  1.82k|#line 2199 "MachineIndependent/glslang.y"
 8606|  1.82k|              {
 8607|  1.82k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.82k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.82k|#define parseContext (*pParseContext)
  ------------------
 8608|  1.82k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.82k|#define parseContext (*pParseContext)
  ------------------
 8609|  1.82k|        (yyval.interm.type).basicType = EbtInt16;
 8610|  1.82k|        (yyval.interm.type).setVector(3);
 8611|  1.82k|    }
 8612|  1.82k|#line 8613 "MachineIndependent/glslang_tab.cpp"
 8613|  1.82k|    break;
 8614|       |
 8615|  1.87k|  case 297: /* type_specifier_nonarray: I16VEC4  */
  ------------------
  |  Branch (8615:3): [True: 1.87k, False: 3.14M]
  ------------------
 8616|  1.87k|#line 2205 "MachineIndependent/glslang.y"
 8617|  1.87k|              {
 8618|  1.87k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.87k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.87k|#define parseContext (*pParseContext)
  ------------------
 8619|  1.87k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.87k|#define parseContext (*pParseContext)
  ------------------
 8620|  1.87k|        (yyval.interm.type).basicType = EbtInt16;
 8621|  1.87k|        (yyval.interm.type).setVector(4);
 8622|  1.87k|    }
 8623|  1.87k|#line 8624 "MachineIndependent/glslang_tab.cpp"
 8624|  1.87k|    break;
 8625|       |
 8626|     42|  case 298: /* type_specifier_nonarray: I32VEC2  */
  ------------------
  |  Branch (8626:3): [True: 42, False: 3.14M]
  ------------------
 8627|     42|#line 2211 "MachineIndependent/glslang.y"
 8628|     42|              {
 8629|     42|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 8630|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 8631|     42|        (yyval.interm.type).basicType = EbtInt;
 8632|     42|        (yyval.interm.type).setVector(2);
 8633|     42|    }
 8634|     42|#line 8635 "MachineIndependent/glslang_tab.cpp"
 8635|     42|    break;
 8636|       |
 8637|     28|  case 299: /* type_specifier_nonarray: I32VEC3  */
  ------------------
  |  Branch (8637:3): [True: 28, False: 3.14M]
  ------------------
 8638|     28|#line 2217 "MachineIndependent/glslang.y"
 8639|     28|              {
 8640|     28|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
 8641|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
 8642|     28|        (yyval.interm.type).basicType = EbtInt;
 8643|     28|        (yyval.interm.type).setVector(3);
 8644|     28|    }
 8645|     28|#line 8646 "MachineIndependent/glslang_tab.cpp"
 8646|     28|    break;
 8647|       |
 8648|     28|  case 300: /* type_specifier_nonarray: I32VEC4  */
  ------------------
  |  Branch (8648:3): [True: 28, False: 3.14M]
  ------------------
 8649|     28|#line 2223 "MachineIndependent/glslang.y"
 8650|     28|              {
 8651|     28|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
 8652|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
 8653|     28|        (yyval.interm.type).basicType = EbtInt;
 8654|     28|        (yyval.interm.type).setVector(4);
 8655|     28|    }
 8656|     28|#line 8657 "MachineIndependent/glslang_tab.cpp"
 8657|     28|    break;
 8658|       |
 8659|  1.67k|  case 301: /* type_specifier_nonarray: I64VEC2  */
  ------------------
  |  Branch (8659:3): [True: 1.67k, False: 3.14M]
  ------------------
 8660|  1.67k|#line 2229 "MachineIndependent/glslang.y"
 8661|  1.67k|              {
 8662|  1.67k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.67k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.67k|#define parseContext (*pParseContext)
  ------------------
 8663|  1.67k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.67k|#define parseContext (*pParseContext)
  ------------------
 8664|  1.67k|        (yyval.interm.type).basicType = EbtInt64;
 8665|  1.67k|        (yyval.interm.type).setVector(2);
 8666|  1.67k|    }
 8667|  1.67k|#line 8668 "MachineIndependent/glslang_tab.cpp"
 8668|  1.67k|    break;
 8669|       |
 8670|  1.64k|  case 302: /* type_specifier_nonarray: I64VEC3  */
  ------------------
  |  Branch (8670:3): [True: 1.64k, False: 3.14M]
  ------------------
 8671|  1.64k|#line 2235 "MachineIndependent/glslang.y"
 8672|  1.64k|              {
 8673|  1.64k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.64k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.64k|#define parseContext (*pParseContext)
  ------------------
 8674|  1.64k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.64k|#define parseContext (*pParseContext)
  ------------------
 8675|  1.64k|        (yyval.interm.type).basicType = EbtInt64;
 8676|  1.64k|        (yyval.interm.type).setVector(3);
 8677|  1.64k|    }
 8678|  1.64k|#line 8679 "MachineIndependent/glslang_tab.cpp"
 8679|  1.64k|    break;
 8680|       |
 8681|  2.01k|  case 303: /* type_specifier_nonarray: I64VEC4  */
  ------------------
  |  Branch (8681:3): [True: 2.01k, False: 3.14M]
  ------------------
 8682|  2.01k|#line 2241 "MachineIndependent/glslang.y"
 8683|  2.01k|              {
 8684|  2.01k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  2.01k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  2.01k|#define parseContext (*pParseContext)
  ------------------
 8685|  2.01k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  2.01k|#define parseContext (*pParseContext)
  ------------------
 8686|  2.01k|        (yyval.interm.type).basicType = EbtInt64;
 8687|  2.01k|        (yyval.interm.type).setVector(4);
 8688|  2.01k|    }
 8689|  2.01k|#line 8690 "MachineIndependent/glslang_tab.cpp"
 8690|  2.01k|    break;
 8691|       |
 8692|  1.33k|  case 304: /* type_specifier_nonarray: U8VEC2  */
  ------------------
  |  Branch (8692:3): [True: 1.33k, False: 3.14M]
  ------------------
 8693|  1.33k|#line 2247 "MachineIndependent/glslang.y"
 8694|  1.33k|             {
 8695|  1.33k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.33k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.33k|#define parseContext (*pParseContext)
  ------------------
 8696|  1.33k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.33k|#define parseContext (*pParseContext)
  ------------------
 8697|  1.33k|        (yyval.interm.type).basicType = EbtUint8;
 8698|  1.33k|        (yyval.interm.type).setVector(2);
 8699|  1.33k|    }
 8700|  1.33k|#line 8701 "MachineIndependent/glslang_tab.cpp"
 8701|  1.33k|    break;
 8702|       |
 8703|  1.28k|  case 305: /* type_specifier_nonarray: U8VEC3  */
  ------------------
  |  Branch (8703:3): [True: 1.28k, False: 3.14M]
  ------------------
 8704|  1.28k|#line 2253 "MachineIndependent/glslang.y"
 8705|  1.28k|             {
 8706|  1.28k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.28k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.28k|#define parseContext (*pParseContext)
  ------------------
 8707|  1.28k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.28k|#define parseContext (*pParseContext)
  ------------------
 8708|  1.28k|        (yyval.interm.type).basicType = EbtUint8;
 8709|  1.28k|        (yyval.interm.type).setVector(3);
 8710|  1.28k|    }
 8711|  1.28k|#line 8712 "MachineIndependent/glslang_tab.cpp"
 8712|  1.28k|    break;
 8713|       |
 8714|  1.33k|  case 306: /* type_specifier_nonarray: U8VEC4  */
  ------------------
  |  Branch (8714:3): [True: 1.33k, False: 3.14M]
  ------------------
 8715|  1.33k|#line 2259 "MachineIndependent/glslang.y"
 8716|  1.33k|             {
 8717|  1.33k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.33k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.33k|#define parseContext (*pParseContext)
  ------------------
 8718|  1.33k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.33k|#define parseContext (*pParseContext)
  ------------------
 8719|  1.33k|        (yyval.interm.type).basicType = EbtUint8;
 8720|  1.33k|        (yyval.interm.type).setVector(4);
 8721|  1.33k|    }
 8722|  1.33k|#line 8723 "MachineIndependent/glslang_tab.cpp"
 8723|  1.33k|    break;
 8724|       |
 8725|  1.80k|  case 307: /* type_specifier_nonarray: U16VEC2  */
  ------------------
  |  Branch (8725:3): [True: 1.80k, False: 3.14M]
  ------------------
 8726|  1.80k|#line 2265 "MachineIndependent/glslang.y"
 8727|  1.80k|              {
 8728|  1.80k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.80k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.80k|#define parseContext (*pParseContext)
  ------------------
 8729|  1.80k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.80k|#define parseContext (*pParseContext)
  ------------------
 8730|  1.80k|        (yyval.interm.type).basicType = EbtUint16;
 8731|  1.80k|        (yyval.interm.type).setVector(2);
 8732|  1.80k|    }
 8733|  1.80k|#line 8734 "MachineIndependent/glslang_tab.cpp"
 8734|  1.80k|    break;
 8735|       |
 8736|  1.75k|  case 308: /* type_specifier_nonarray: U16VEC3  */
  ------------------
  |  Branch (8736:3): [True: 1.75k, False: 3.14M]
  ------------------
 8737|  1.75k|#line 2271 "MachineIndependent/glslang.y"
 8738|  1.75k|              {
 8739|  1.75k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.75k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.75k|#define parseContext (*pParseContext)
  ------------------
 8740|  1.75k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.75k|#define parseContext (*pParseContext)
  ------------------
 8741|  1.75k|        (yyval.interm.type).basicType = EbtUint16;
 8742|  1.75k|        (yyval.interm.type).setVector(3);
 8743|  1.75k|    }
 8744|  1.75k|#line 8745 "MachineIndependent/glslang_tab.cpp"
 8745|  1.75k|    break;
 8746|       |
 8747|  1.80k|  case 309: /* type_specifier_nonarray: U16VEC4  */
  ------------------
  |  Branch (8747:3): [True: 1.80k, False: 3.14M]
  ------------------
 8748|  1.80k|#line 2277 "MachineIndependent/glslang.y"
 8749|  1.80k|              {
 8750|  1.80k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.80k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.80k|#define parseContext (*pParseContext)
  ------------------
 8751|  1.80k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.80k|#define parseContext (*pParseContext)
  ------------------
 8752|  1.80k|        (yyval.interm.type).basicType = EbtUint16;
 8753|  1.80k|        (yyval.interm.type).setVector(4);
 8754|  1.80k|    }
 8755|  1.80k|#line 8756 "MachineIndependent/glslang_tab.cpp"
 8756|  1.80k|    break;
 8757|       |
 8758|     42|  case 310: /* type_specifier_nonarray: U32VEC2  */
  ------------------
  |  Branch (8758:3): [True: 42, False: 3.14M]
  ------------------
 8759|     42|#line 2283 "MachineIndependent/glslang.y"
 8760|     42|              {
 8761|     42|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 8762|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 8763|     42|        (yyval.interm.type).basicType = EbtUint;
 8764|     42|        (yyval.interm.type).setVector(2);
 8765|     42|    }
 8766|     42|#line 8767 "MachineIndependent/glslang_tab.cpp"
 8767|     42|    break;
 8768|       |
 8769|     28|  case 311: /* type_specifier_nonarray: U32VEC3  */
  ------------------
  |  Branch (8769:3): [True: 28, False: 3.14M]
  ------------------
 8770|     28|#line 2289 "MachineIndependent/glslang.y"
 8771|     28|              {
 8772|     28|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
 8773|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
 8774|     28|        (yyval.interm.type).basicType = EbtUint;
 8775|     28|        (yyval.interm.type).setVector(3);
 8776|     28|    }
 8777|     28|#line 8778 "MachineIndependent/glslang_tab.cpp"
 8778|     28|    break;
 8779|       |
 8780|     28|  case 312: /* type_specifier_nonarray: U32VEC4  */
  ------------------
  |  Branch (8780:3): [True: 28, False: 3.14M]
  ------------------
 8781|     28|#line 2295 "MachineIndependent/glslang.y"
 8782|     28|              {
 8783|     28|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
 8784|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     28|#define parseContext (*pParseContext)
  ------------------
 8785|     28|        (yyval.interm.type).basicType = EbtUint;
 8786|     28|        (yyval.interm.type).setVector(4);
 8787|     28|    }
 8788|     28|#line 8789 "MachineIndependent/glslang_tab.cpp"
 8789|     28|    break;
 8790|       |
 8791|  1.61k|  case 313: /* type_specifier_nonarray: U64VEC2  */
  ------------------
  |  Branch (8791:3): [True: 1.61k, False: 3.14M]
  ------------------
 8792|  1.61k|#line 2301 "MachineIndependent/glslang.y"
 8793|  1.61k|              {
 8794|  1.61k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.61k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.61k|#define parseContext (*pParseContext)
  ------------------
 8795|  1.61k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.61k|#define parseContext (*pParseContext)
  ------------------
 8796|  1.61k|        (yyval.interm.type).basicType = EbtUint64;
 8797|  1.61k|        (yyval.interm.type).setVector(2);
 8798|  1.61k|    }
 8799|  1.61k|#line 8800 "MachineIndependent/glslang_tab.cpp"
 8800|  1.61k|    break;
 8801|       |
 8802|  1.58k|  case 314: /* type_specifier_nonarray: U64VEC3  */
  ------------------
  |  Branch (8802:3): [True: 1.58k, False: 3.14M]
  ------------------
 8803|  1.58k|#line 2307 "MachineIndependent/glslang.y"
 8804|  1.58k|              {
 8805|  1.58k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.58k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.58k|#define parseContext (*pParseContext)
  ------------------
 8806|  1.58k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.58k|#define parseContext (*pParseContext)
  ------------------
 8807|  1.58k|        (yyval.interm.type).basicType = EbtUint64;
 8808|  1.58k|        (yyval.interm.type).setVector(3);
 8809|  1.58k|    }
 8810|  1.58k|#line 8811 "MachineIndependent/glslang_tab.cpp"
 8811|  1.58k|    break;
 8812|       |
 8813|  1.96k|  case 315: /* type_specifier_nonarray: U64VEC4  */
  ------------------
  |  Branch (8813:3): [True: 1.96k, False: 3.14M]
  ------------------
 8814|  1.96k|#line 2313 "MachineIndependent/glslang.y"
 8815|  1.96k|              {
 8816|  1.96k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.96k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.96k|#define parseContext (*pParseContext)
  ------------------
 8817|  1.96k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.96k|#define parseContext (*pParseContext)
  ------------------
 8818|  1.96k|        (yyval.interm.type).basicType = EbtUint64;
 8819|  1.96k|        (yyval.interm.type).setVector(4);
 8820|  1.96k|    }
 8821|  1.96k|#line 8822 "MachineIndependent/glslang_tab.cpp"
 8822|  1.96k|    break;
 8823|       |
 8824|     63|  case 316: /* type_specifier_nonarray: DMAT2  */
  ------------------
  |  Branch (8824:3): [True: 63, False: 3.14M]
  ------------------
 8825|     63|#line 2319 "MachineIndependent/glslang.y"
 8826|     63|            {
 8827|     63|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|     63|#define parseContext (*pParseContext)
  ------------------
 8828|     63|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|     63|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8828:13): [True: 0, False: 63]
  ------------------
 8829|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8830|     63|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     63|#define parseContext (*pParseContext)
  ------------------
 8831|     63|        (yyval.interm.type).basicType = EbtDouble;
 8832|     63|        (yyval.interm.type).setMatrix(2, 2);
 8833|     63|    }
 8834|     63|#line 8835 "MachineIndependent/glslang_tab.cpp"
 8835|     63|    break;
 8836|       |
 8837|     63|  case 317: /* type_specifier_nonarray: DMAT3  */
  ------------------
  |  Branch (8837:3): [True: 63, False: 3.14M]
  ------------------
 8838|     63|#line 2327 "MachineIndependent/glslang.y"
 8839|     63|            {
 8840|     63|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|     63|#define parseContext (*pParseContext)
  ------------------
 8841|     63|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|     63|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8841:13): [True: 0, False: 63]
  ------------------
 8842|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8843|     63|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     63|#define parseContext (*pParseContext)
  ------------------
 8844|     63|        (yyval.interm.type).basicType = EbtDouble;
 8845|     63|        (yyval.interm.type).setMatrix(3, 3);
 8846|     63|    }
 8847|     63|#line 8848 "MachineIndependent/glslang_tab.cpp"
 8848|     63|    break;
 8849|       |
 8850|     63|  case 318: /* type_specifier_nonarray: DMAT4  */
  ------------------
  |  Branch (8850:3): [True: 63, False: 3.14M]
  ------------------
 8851|     63|#line 2335 "MachineIndependent/glslang.y"
 8852|     63|            {
 8853|     63|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|     63|#define parseContext (*pParseContext)
  ------------------
 8854|     63|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|     63|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8854:13): [True: 0, False: 63]
  ------------------
 8855|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8856|     63|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     63|#define parseContext (*pParseContext)
  ------------------
 8857|     63|        (yyval.interm.type).basicType = EbtDouble;
 8858|     63|        (yyval.interm.type).setMatrix(4, 4);
 8859|     63|    }
 8860|     63|#line 8861 "MachineIndependent/glslang_tab.cpp"
 8861|     63|    break;
 8862|       |
 8863|      0|  case 319: /* type_specifier_nonarray: DMAT2X2  */
  ------------------
  |  Branch (8863:3): [True: 0, False: 3.14M]
  ------------------
 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|     42|  case 320: /* type_specifier_nonarray: DMAT2X3  */
  ------------------
  |  Branch (8876:3): [True: 42, False: 3.14M]
  ------------------
 8877|     42|#line 2351 "MachineIndependent/glslang.y"
 8878|     42|              {
 8879|     42|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 8880|     42|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8880:13): [True: 0, False: 42]
  ------------------
 8881|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8882|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 8883|     42|        (yyval.interm.type).basicType = EbtDouble;
 8884|     42|        (yyval.interm.type).setMatrix(2, 3);
 8885|     42|    }
 8886|     42|#line 8887 "MachineIndependent/glslang_tab.cpp"
 8887|     42|    break;
 8888|       |
 8889|     42|  case 321: /* type_specifier_nonarray: DMAT2X4  */
  ------------------
  |  Branch (8889:3): [True: 42, False: 3.14M]
  ------------------
 8890|     42|#line 2359 "MachineIndependent/glslang.y"
 8891|     42|              {
 8892|     42|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 8893|     42|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8893:13): [True: 0, False: 42]
  ------------------
 8894|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8895|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 8896|     42|        (yyval.interm.type).basicType = EbtDouble;
 8897|     42|        (yyval.interm.type).setMatrix(2, 4);
 8898|     42|    }
 8899|     42|#line 8900 "MachineIndependent/glslang_tab.cpp"
 8900|     42|    break;
 8901|       |
 8902|     42|  case 322: /* type_specifier_nonarray: DMAT3X2  */
  ------------------
  |  Branch (8902:3): [True: 42, False: 3.14M]
  ------------------
 8903|     42|#line 2367 "MachineIndependent/glslang.y"
 8904|     42|              {
 8905|     42|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 8906|     42|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8906:13): [True: 0, False: 42]
  ------------------
 8907|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8908|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 8909|     42|        (yyval.interm.type).basicType = EbtDouble;
 8910|     42|        (yyval.interm.type).setMatrix(3, 2);
 8911|     42|    }
 8912|     42|#line 8913 "MachineIndependent/glslang_tab.cpp"
 8913|     42|    break;
 8914|       |
 8915|      0|  case 323: /* type_specifier_nonarray: DMAT3X3  */
  ------------------
  |  Branch (8915:3): [True: 0, False: 3.14M]
  ------------------
 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|     42|  case 324: /* type_specifier_nonarray: DMAT3X4  */
  ------------------
  |  Branch (8928:3): [True: 42, False: 3.14M]
  ------------------
 8929|     42|#line 2383 "MachineIndependent/glslang.y"
 8930|     42|              {
 8931|     42|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 8932|     42|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8932:13): [True: 0, False: 42]
  ------------------
 8933|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8934|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 8935|     42|        (yyval.interm.type).basicType = EbtDouble;
 8936|     42|        (yyval.interm.type).setMatrix(3, 4);
 8937|     42|    }
 8938|     42|#line 8939 "MachineIndependent/glslang_tab.cpp"
 8939|     42|    break;
 8940|       |
 8941|     42|  case 325: /* type_specifier_nonarray: DMAT4X2  */
  ------------------
  |  Branch (8941:3): [True: 42, False: 3.14M]
  ------------------
 8942|     42|#line 2391 "MachineIndependent/glslang.y"
 8943|     42|              {
 8944|     42|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 8945|     42|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8945:13): [True: 0, False: 42]
  ------------------
 8946|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8947|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 8948|     42|        (yyval.interm.type).basicType = EbtDouble;
 8949|     42|        (yyval.interm.type).setMatrix(4, 2);
 8950|     42|    }
 8951|     42|#line 8952 "MachineIndependent/glslang_tab.cpp"
 8952|     42|    break;
 8953|       |
 8954|     42|  case 326: /* type_specifier_nonarray: DMAT4X3  */
  ------------------
  |  Branch (8954:3): [True: 42, False: 3.14M]
  ------------------
 8955|     42|#line 2399 "MachineIndependent/glslang.y"
 8956|     42|              {
 8957|     42|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 8958|     42|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8958:13): [True: 0, False: 42]
  ------------------
 8959|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
 8960|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 8961|     42|        (yyval.interm.type).basicType = EbtDouble;
 8962|     42|        (yyval.interm.type).setMatrix(4, 3);
 8963|     42|    }
 8964|     42|#line 8965 "MachineIndependent/glslang_tab.cpp"
 8965|     42|    break;
 8966|       |
 8967|      0|  case 327: /* type_specifier_nonarray: DMAT4X4  */
  ------------------
  |  Branch (8967:3): [True: 0, False: 3.14M]
  ------------------
 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|     63|  case 328: /* type_specifier_nonarray: F16MAT2  */
  ------------------
  |  Branch (8980:3): [True: 63, False: 3.14M]
  ------------------
 8981|     63|#line 2415 "MachineIndependent/glslang.y"
 8982|     63|              {
 8983|     63|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     63|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     63|#define parseContext (*pParseContext)
  ------------------
 8984|     63|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     63|#define parseContext (*pParseContext)
  ------------------
 8985|     63|        (yyval.interm.type).basicType = EbtFloat16;
 8986|     63|        (yyval.interm.type).setMatrix(2, 2);
 8987|     63|    }
 8988|     63|#line 8989 "MachineIndependent/glslang_tab.cpp"
 8989|     63|    break;
 8990|       |
 8991|     63|  case 329: /* type_specifier_nonarray: F16MAT3  */
  ------------------
  |  Branch (8991:3): [True: 63, False: 3.14M]
  ------------------
 8992|     63|#line 2421 "MachineIndependent/glslang.y"
 8993|     63|              {
 8994|     63|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     63|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     63|#define parseContext (*pParseContext)
  ------------------
 8995|     63|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     63|#define parseContext (*pParseContext)
  ------------------
 8996|     63|        (yyval.interm.type).basicType = EbtFloat16;
 8997|     63|        (yyval.interm.type).setMatrix(3, 3);
 8998|     63|    }
 8999|     63|#line 9000 "MachineIndependent/glslang_tab.cpp"
 9000|     63|    break;
 9001|       |
 9002|     63|  case 330: /* type_specifier_nonarray: F16MAT4  */
  ------------------
  |  Branch (9002:3): [True: 63, False: 3.14M]
  ------------------
 9003|     63|#line 2427 "MachineIndependent/glslang.y"
 9004|     63|              {
 9005|     63|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     63|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     63|#define parseContext (*pParseContext)
  ------------------
 9006|     63|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     63|#define parseContext (*pParseContext)
  ------------------
 9007|     63|        (yyval.interm.type).basicType = EbtFloat16;
 9008|     63|        (yyval.interm.type).setMatrix(4, 4);
 9009|     63|    }
 9010|     63|#line 9011 "MachineIndependent/glslang_tab.cpp"
 9011|     63|    break;
 9012|       |
 9013|      0|  case 331: /* type_specifier_nonarray: F16MAT2X2  */
  ------------------
  |  Branch (9013:3): [True: 0, False: 3.14M]
  ------------------
 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|     42|  case 332: /* type_specifier_nonarray: F16MAT2X3  */
  ------------------
  |  Branch (9024:3): [True: 42, False: 3.14M]
  ------------------
 9025|     42|#line 2439 "MachineIndependent/glslang.y"
 9026|     42|                {
 9027|     42|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 9028|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 9029|     42|        (yyval.interm.type).basicType = EbtFloat16;
 9030|     42|        (yyval.interm.type).setMatrix(2, 3);
 9031|     42|    }
 9032|     42|#line 9033 "MachineIndependent/glslang_tab.cpp"
 9033|     42|    break;
 9034|       |
 9035|     42|  case 333: /* type_specifier_nonarray: F16MAT2X4  */
  ------------------
  |  Branch (9035:3): [True: 42, False: 3.14M]
  ------------------
 9036|     42|#line 2445 "MachineIndependent/glslang.y"
 9037|     42|                {
 9038|     42|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 9039|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 9040|     42|        (yyval.interm.type).basicType = EbtFloat16;
 9041|     42|        (yyval.interm.type).setMatrix(2, 4);
 9042|     42|    }
 9043|     42|#line 9044 "MachineIndependent/glslang_tab.cpp"
 9044|     42|    break;
 9045|       |
 9046|     42|  case 334: /* type_specifier_nonarray: F16MAT3X2  */
  ------------------
  |  Branch (9046:3): [True: 42, False: 3.14M]
  ------------------
 9047|     42|#line 2451 "MachineIndependent/glslang.y"
 9048|     42|                {
 9049|     42|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 9050|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 9051|     42|        (yyval.interm.type).basicType = EbtFloat16;
 9052|     42|        (yyval.interm.type).setMatrix(3, 2);
 9053|     42|    }
 9054|     42|#line 9055 "MachineIndependent/glslang_tab.cpp"
 9055|     42|    break;
 9056|       |
 9057|      0|  case 335: /* type_specifier_nonarray: F16MAT3X3  */
  ------------------
  |  Branch (9057:3): [True: 0, False: 3.14M]
  ------------------
 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|     42|  case 336: /* type_specifier_nonarray: F16MAT3X4  */
  ------------------
  |  Branch (9068:3): [True: 42, False: 3.14M]
  ------------------
 9069|     42|#line 2463 "MachineIndependent/glslang.y"
 9070|     42|                {
 9071|     42|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 9072|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 9073|     42|        (yyval.interm.type).basicType = EbtFloat16;
 9074|     42|        (yyval.interm.type).setMatrix(3, 4);
 9075|     42|    }
 9076|     42|#line 9077 "MachineIndependent/glslang_tab.cpp"
 9077|     42|    break;
 9078|       |
 9079|     42|  case 337: /* type_specifier_nonarray: F16MAT4X2  */
  ------------------
  |  Branch (9079:3): [True: 42, False: 3.14M]
  ------------------
 9080|     42|#line 2469 "MachineIndependent/glslang.y"
 9081|     42|                {
 9082|     42|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 9083|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 9084|     42|        (yyval.interm.type).basicType = EbtFloat16;
 9085|     42|        (yyval.interm.type).setMatrix(4, 2);
 9086|     42|    }
 9087|     42|#line 9088 "MachineIndependent/glslang_tab.cpp"
 9088|     42|    break;
 9089|       |
 9090|     42|  case 338: /* type_specifier_nonarray: F16MAT4X3  */
  ------------------
  |  Branch (9090:3): [True: 42, False: 3.14M]
  ------------------
 9091|     42|#line 2475 "MachineIndependent/glslang.y"
 9092|     42|                {
 9093|     42|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 9094|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
 9095|     42|        (yyval.interm.type).basicType = EbtFloat16;
 9096|     42|        (yyval.interm.type).setMatrix(4, 3);
 9097|     42|    }
 9098|     42|#line 9099 "MachineIndependent/glslang_tab.cpp"
 9099|     42|    break;
 9100|       |
 9101|      0|  case 339: /* type_specifier_nonarray: F16MAT4X4  */
  ------------------
  |  Branch (9101:3): [True: 0, False: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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|     72|  case 367: /* type_specifier_nonarray: ATOMIC_UINT  */
  ------------------
  |  Branch (9403:3): [True: 72, False: 3.14M]
  ------------------
 9404|     72|#line 2643 "MachineIndependent/glslang.y"
 9405|     72|                  {
 9406|     72|        parseContext.vulkanRemoved((yyvsp[0].lex).loc, "atomic counter types");
  ------------------
  |  |  756|     72|#define parseContext (*pParseContext)
  ------------------
 9407|     72|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     72|#define parseContext (*pParseContext)
  ------------------
 9408|     72|        (yyval.interm.type).basicType = EbtAtomicUint;
 9409|     72|    }
 9410|     72|#line 9411 "MachineIndependent/glslang_tab.cpp"
 9411|     72|    break;
 9412|       |
 9413|    426|  case 368: /* type_specifier_nonarray: SAMPLER1D  */
  ------------------
  |  Branch (9413:3): [True: 426, False: 3.14M]
  ------------------
 9414|    426|#line 2648 "MachineIndependent/glslang.y"
 9415|    426|                {
 9416|    426|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    426|#define parseContext (*pParseContext)
  ------------------
 9417|    426|        (yyval.interm.type).basicType = EbtSampler;
 9418|    426|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D);
 9419|    426|    }
 9420|    426|#line 9421 "MachineIndependent/glslang_tab.cpp"
 9421|    426|    break;
 9422|       |
 9423|  1.89k|  case 369: /* type_specifier_nonarray: SAMPLER2D  */
  ------------------
  |  Branch (9423:3): [True: 1.89k, False: 3.14M]
  ------------------
 9424|  1.89k|#line 2653 "MachineIndependent/glslang.y"
 9425|  1.89k|                {
 9426|  1.89k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.89k|#define parseContext (*pParseContext)
  ------------------
 9427|  1.89k|        (yyval.interm.type).basicType = EbtSampler;
 9428|  1.89k|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D);
 9429|  1.89k|    }
 9430|  1.89k|#line 9431 "MachineIndependent/glslang_tab.cpp"
 9431|  1.89k|    break;
 9432|       |
 9433|    840|  case 370: /* type_specifier_nonarray: SAMPLER3D  */
  ------------------
  |  Branch (9433:3): [True: 840, False: 3.14M]
  ------------------
 9434|    840|#line 2658 "MachineIndependent/glslang.y"
 9435|    840|                {
 9436|    840|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    840|#define parseContext (*pParseContext)
  ------------------
 9437|    840|        (yyval.interm.type).basicType = EbtSampler;
 9438|    840|        (yyval.interm.type).sampler.set(EbtFloat, Esd3D);
 9439|    840|    }
 9440|    840|#line 9441 "MachineIndependent/glslang_tab.cpp"
 9441|    840|    break;
 9442|       |
 9443|    591|  case 371: /* type_specifier_nonarray: SAMPLERCUBE  */
  ------------------
  |  Branch (9443:3): [True: 591, False: 3.14M]
  ------------------
 9444|    591|#line 2663 "MachineIndependent/glslang.y"
 9445|    591|                  {
 9446|    591|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    591|#define parseContext (*pParseContext)
  ------------------
 9447|    591|        (yyval.interm.type).basicType = EbtSampler;
 9448|    591|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube);
 9449|    591|    }
 9450|    591|#line 9451 "MachineIndependent/glslang_tab.cpp"
 9451|    591|    break;
 9452|       |
 9453|    614|  case 372: /* type_specifier_nonarray: SAMPLER2DSHADOW  */
  ------------------
  |  Branch (9453:3): [True: 614, False: 3.14M]
  ------------------
 9454|    614|#line 2668 "MachineIndependent/glslang.y"
 9455|    614|                      {
 9456|    614|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    614|#define parseContext (*pParseContext)
  ------------------
 9457|    614|        (yyval.interm.type).basicType = EbtSampler;
 9458|    614|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, false, true);
 9459|    614|    }
 9460|    614|#line 9461 "MachineIndependent/glslang_tab.cpp"
 9461|    614|    break;
 9462|       |
 9463|    209|  case 373: /* type_specifier_nonarray: SAMPLERCUBESHADOW  */
  ------------------
  |  Branch (9463:3): [True: 209, False: 3.14M]
  ------------------
 9464|    209|#line 2673 "MachineIndependent/glslang.y"
 9465|    209|                        {
 9466|    209|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    209|#define parseContext (*pParseContext)
  ------------------
 9467|    209|        (yyval.interm.type).basicType = EbtSampler;
 9468|    209|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube, false, true);
 9469|    209|    }
 9470|    209|#line 9471 "MachineIndependent/glslang_tab.cpp"
 9471|    209|    break;
 9472|       |
 9473|    729|  case 374: /* type_specifier_nonarray: SAMPLER2DARRAY  */
  ------------------
  |  Branch (9473:3): [True: 729, False: 3.14M]
  ------------------
 9474|    729|#line 2678 "MachineIndependent/glslang.y"
 9475|    729|                     {
 9476|    729|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    729|#define parseContext (*pParseContext)
  ------------------
 9477|    729|        (yyval.interm.type).basicType = EbtSampler;
 9478|    729|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, true);
 9479|    729|    }
 9480|    729|#line 9481 "MachineIndependent/glslang_tab.cpp"
 9481|    729|    break;
 9482|       |
 9483|    274|  case 375: /* type_specifier_nonarray: SAMPLER2DARRAYSHADOW  */
  ------------------
  |  Branch (9483:3): [True: 274, False: 3.14M]
  ------------------
 9484|    274|#line 2683 "MachineIndependent/glslang.y"
 9485|    274|                           {
 9486|    274|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    274|#define parseContext (*pParseContext)
  ------------------
 9487|    274|        (yyval.interm.type).basicType = EbtSampler;
 9488|    274|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, true, true);
 9489|    274|    }
 9490|    274|#line 9491 "MachineIndependent/glslang_tab.cpp"
 9491|    274|    break;
 9492|       |
 9493|    282|  case 376: /* type_specifier_nonarray: SAMPLER1DSHADOW  */
  ------------------
  |  Branch (9493:3): [True: 282, False: 3.14M]
  ------------------
 9494|    282|#line 2688 "MachineIndependent/glslang.y"
 9495|    282|                      {
 9496|    282|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    282|#define parseContext (*pParseContext)
  ------------------
 9497|    282|        (yyval.interm.type).basicType = EbtSampler;
 9498|    282|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D, false, true);
 9499|    282|    }
 9500|    282|#line 9501 "MachineIndependent/glslang_tab.cpp"
 9501|    282|    break;
 9502|       |
 9503|    237|  case 377: /* type_specifier_nonarray: SAMPLER1DARRAY  */
  ------------------
  |  Branch (9503:3): [True: 237, False: 3.14M]
  ------------------
 9504|    237|#line 2693 "MachineIndependent/glslang.y"
 9505|    237|                     {
 9506|    237|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    237|#define parseContext (*pParseContext)
  ------------------
 9507|    237|        (yyval.interm.type).basicType = EbtSampler;
 9508|    237|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D, true);
 9509|    237|    }
 9510|    237|#line 9511 "MachineIndependent/glslang_tab.cpp"
 9511|    237|    break;
 9512|       |
 9513|    202|  case 378: /* type_specifier_nonarray: SAMPLER1DARRAYSHADOW  */
  ------------------
  |  Branch (9513:3): [True: 202, False: 3.14M]
  ------------------
 9514|    202|#line 2698 "MachineIndependent/glslang.y"
 9515|    202|                           {
 9516|    202|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    202|#define parseContext (*pParseContext)
  ------------------
 9517|    202|        (yyval.interm.type).basicType = EbtSampler;
 9518|    202|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D, true, true);
 9519|    202|    }
 9520|    202|#line 9521 "MachineIndependent/glslang_tab.cpp"
 9521|    202|    break;
 9522|       |
 9523|    312|  case 379: /* type_specifier_nonarray: SAMPLERCUBEARRAY  */
  ------------------
  |  Branch (9523:3): [True: 312, False: 3.14M]
  ------------------
 9524|    312|#line 2703 "MachineIndependent/glslang.y"
 9525|    312|                       {
 9526|    312|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    312|#define parseContext (*pParseContext)
  ------------------
 9527|    312|        (yyval.interm.type).basicType = EbtSampler;
 9528|    312|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube, true);
 9529|    312|    }
 9530|    312|#line 9531 "MachineIndependent/glslang_tab.cpp"
 9531|    312|    break;
 9532|       |
 9533|    164|  case 380: /* type_specifier_nonarray: SAMPLERCUBEARRAYSHADOW  */
  ------------------
  |  Branch (9533:3): [True: 164, False: 3.14M]
  ------------------
 9534|    164|#line 2708 "MachineIndependent/glslang.y"
 9535|    164|                             {
 9536|    164|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    164|#define parseContext (*pParseContext)
  ------------------
 9537|    164|        (yyval.interm.type).basicType = EbtSampler;
 9538|    164|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube, true, true);
 9539|    164|    }
 9540|    164|#line 9541 "MachineIndependent/glslang_tab.cpp"
 9541|    164|    break;
 9542|       |
 9543|    760|  case 381: /* type_specifier_nonarray: F16SAMPLER1D  */
  ------------------
  |  Branch (9543:3): [True: 760, False: 3.14M]
  ------------------
 9544|    760|#line 2713 "MachineIndependent/glslang.y"
 9545|    760|                   {
 9546|    760|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    760|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    760|#define parseContext (*pParseContext)
  ------------------
 9547|    760|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    760|#define parseContext (*pParseContext)
  ------------------
 9548|    760|        (yyval.interm.type).basicType = EbtSampler;
 9549|    760|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D);
 9550|    760|    }
 9551|    760|#line 9552 "MachineIndependent/glslang_tab.cpp"
 9552|    760|    break;
 9553|       |
 9554|  1.74k|  case 382: /* type_specifier_nonarray: F16SAMPLER2D  */
  ------------------
  |  Branch (9554:3): [True: 1.74k, False: 3.14M]
  ------------------
 9555|  1.74k|#line 2719 "MachineIndependent/glslang.y"
 9556|  1.74k|                   {
 9557|  1.74k|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.74k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.74k|#define parseContext (*pParseContext)
  ------------------
 9558|  1.74k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.74k|#define parseContext (*pParseContext)
  ------------------
 9559|  1.74k|        (yyval.interm.type).basicType = EbtSampler;
 9560|  1.74k|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D);
 9561|  1.74k|    }
 9562|  1.74k|#line 9563 "MachineIndependent/glslang_tab.cpp"
 9563|  1.74k|    break;
 9564|       |
 9565|    906|  case 383: /* type_specifier_nonarray: F16SAMPLER3D  */
  ------------------
  |  Branch (9565:3): [True: 906, False: 3.14M]
  ------------------
 9566|    906|#line 2725 "MachineIndependent/glslang.y"
 9567|    906|                   {
 9568|    906|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    906|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    906|#define parseContext (*pParseContext)
  ------------------
 9569|    906|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    906|#define parseContext (*pParseContext)
  ------------------
 9570|    906|        (yyval.interm.type).basicType = EbtSampler;
 9571|    906|        (yyval.interm.type).sampler.set(EbtFloat16, Esd3D);
 9572|    906|    }
 9573|    906|#line 9574 "MachineIndependent/glslang_tab.cpp"
 9574|    906|    break;
 9575|       |
 9576|    568|  case 384: /* type_specifier_nonarray: F16SAMPLERCUBE  */
  ------------------
  |  Branch (9576:3): [True: 568, False: 3.14M]
  ------------------
 9577|    568|#line 2731 "MachineIndependent/glslang.y"
 9578|    568|                     {
 9579|    568|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    568|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    568|#define parseContext (*pParseContext)
  ------------------
 9580|    568|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    568|#define parseContext (*pParseContext)
  ------------------
 9581|    568|        (yyval.interm.type).basicType = EbtSampler;
 9582|    568|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube);
 9583|    568|    }
 9584|    568|#line 9585 "MachineIndependent/glslang_tab.cpp"
 9585|    568|    break;
 9586|       |
 9587|    484|  case 385: /* type_specifier_nonarray: F16SAMPLER1DSHADOW  */
  ------------------
  |  Branch (9587:3): [True: 484, False: 3.14M]
  ------------------
 9588|    484|#line 2737 "MachineIndependent/glslang.y"
 9589|    484|                         {
 9590|    484|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    484|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    484|#define parseContext (*pParseContext)
  ------------------
 9591|    484|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    484|#define parseContext (*pParseContext)
  ------------------
 9592|    484|        (yyval.interm.type).basicType = EbtSampler;
 9593|    484|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D, false, true);
 9594|    484|    }
 9595|    484|#line 9596 "MachineIndependent/glslang_tab.cpp"
 9596|    484|    break;
 9597|       |
 9598|    836|  case 386: /* type_specifier_nonarray: F16SAMPLER2DSHADOW  */
  ------------------
  |  Branch (9598:3): [True: 836, False: 3.14M]
  ------------------
 9599|    836|#line 2743 "MachineIndependent/glslang.y"
 9600|    836|                         {
 9601|    836|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    836|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    836|#define parseContext (*pParseContext)
  ------------------
 9602|    836|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    836|#define parseContext (*pParseContext)
  ------------------
 9603|    836|        (yyval.interm.type).basicType = EbtSampler;
 9604|    836|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, false, true);
 9605|    836|    }
 9606|    836|#line 9607 "MachineIndependent/glslang_tab.cpp"
 9607|    836|    break;
 9608|       |
 9609|    348|  case 387: /* type_specifier_nonarray: F16SAMPLERCUBESHADOW  */
  ------------------
  |  Branch (9609:3): [True: 348, False: 3.14M]
  ------------------
 9610|    348|#line 2749 "MachineIndependent/glslang.y"
 9611|    348|                           {
 9612|    348|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    348|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    348|#define parseContext (*pParseContext)
  ------------------
 9613|    348|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    348|#define parseContext (*pParseContext)
  ------------------
 9614|    348|        (yyval.interm.type).basicType = EbtSampler;
 9615|    348|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube, false, true);
 9616|    348|    }
 9617|    348|#line 9618 "MachineIndependent/glslang_tab.cpp"
 9618|    348|    break;
 9619|       |
 9620|    404|  case 388: /* type_specifier_nonarray: F16SAMPLER1DARRAY  */
  ------------------
  |  Branch (9620:3): [True: 404, False: 3.14M]
  ------------------
 9621|    404|#line 2755 "MachineIndependent/glslang.y"
 9622|    404|                        {
 9623|    404|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    404|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    404|#define parseContext (*pParseContext)
  ------------------
 9624|    404|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    404|#define parseContext (*pParseContext)
  ------------------
 9625|    404|        (yyval.interm.type).basicType = EbtSampler;
 9626|    404|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D, true);
 9627|    404|    }
 9628|    404|#line 9629 "MachineIndependent/glslang_tab.cpp"
 9629|    404|    break;
 9630|       |
 9631|  1.38k|  case 389: /* type_specifier_nonarray: F16SAMPLER2DARRAY  */
  ------------------
  |  Branch (9631:3): [True: 1.38k, False: 3.14M]
  ------------------
 9632|  1.38k|#line 2761 "MachineIndependent/glslang.y"
 9633|  1.38k|                        {
 9634|  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)
  ------------------
 9635|  1.38k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.38k|#define parseContext (*pParseContext)
  ------------------
 9636|  1.38k|        (yyval.interm.type).basicType = EbtSampler;
 9637|  1.38k|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true);
 9638|  1.38k|    }
 9639|  1.38k|#line 9640 "MachineIndependent/glslang_tab.cpp"
 9640|  1.38k|    break;
 9641|       |
 9642|    348|  case 390: /* type_specifier_nonarray: F16SAMPLER1DARRAYSHADOW  */
  ------------------
  |  Branch (9642:3): [True: 348, False: 3.14M]
  ------------------
 9643|    348|#line 2767 "MachineIndependent/glslang.y"
 9644|    348|                              {
 9645|    348|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    348|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    348|#define parseContext (*pParseContext)
  ------------------
 9646|    348|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    348|#define parseContext (*pParseContext)
  ------------------
 9647|    348|        (yyval.interm.type).basicType = EbtSampler;
 9648|    348|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D, true, true);
 9649|    348|    }
 9650|    348|#line 9651 "MachineIndependent/glslang_tab.cpp"
 9651|    348|    break;
 9652|       |
 9653|    436|  case 391: /* type_specifier_nonarray: F16SAMPLER2DARRAYSHADOW  */
  ------------------
  |  Branch (9653:3): [True: 436, False: 3.14M]
  ------------------
 9654|    436|#line 2773 "MachineIndependent/glslang.y"
 9655|    436|                              {
 9656|    436|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    436|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    436|#define parseContext (*pParseContext)
  ------------------
 9657|    436|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    436|#define parseContext (*pParseContext)
  ------------------
 9658|    436|        (yyval.interm.type).basicType = EbtSampler;
 9659|    436|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true, true);
 9660|    436|    }
 9661|    436|#line 9662 "MachineIndependent/glslang_tab.cpp"
 9662|    436|    break;
 9663|       |
 9664|    568|  case 392: /* type_specifier_nonarray: F16SAMPLERCUBEARRAY  */
  ------------------
  |  Branch (9664:3): [True: 568, False: 3.14M]
  ------------------
 9665|    568|#line 2779 "MachineIndependent/glslang.y"
 9666|    568|                          {
 9667|    568|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    568|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    568|#define parseContext (*pParseContext)
  ------------------
 9668|    568|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    568|#define parseContext (*pParseContext)
  ------------------
 9669|    568|        (yyval.interm.type).basicType = EbtSampler;
 9670|    568|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube, true);
 9671|    568|    }
 9672|    568|#line 9673 "MachineIndependent/glslang_tab.cpp"
 9673|    568|    break;
 9674|       |
 9675|    244|  case 393: /* type_specifier_nonarray: F16SAMPLERCUBEARRAYSHADOW  */
  ------------------
  |  Branch (9675:3): [True: 244, False: 3.14M]
  ------------------
 9676|    244|#line 2785 "MachineIndependent/glslang.y"
 9677|    244|                                {
 9678|    244|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    244|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    244|#define parseContext (*pParseContext)
  ------------------
 9679|    244|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    244|#define parseContext (*pParseContext)
  ------------------
 9680|    244|        (yyval.interm.type).basicType = EbtSampler;
 9681|    244|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube, true, true);
 9682|    244|    }
 9683|    244|#line 9684 "MachineIndependent/glslang_tab.cpp"
 9684|    244|    break;
 9685|       |
 9686|    408|  case 394: /* type_specifier_nonarray: ISAMPLER1D  */
  ------------------
  |  Branch (9686:3): [True: 408, False: 3.14M]
  ------------------
 9687|    408|#line 2791 "MachineIndependent/glslang.y"
 9688|    408|                 {
 9689|    408|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    408|#define parseContext (*pParseContext)
  ------------------
 9690|    408|        (yyval.interm.type).basicType = EbtSampler;
 9691|    408|        (yyval.interm.type).sampler.set(EbtInt, Esd1D);
 9692|    408|    }
 9693|    408|#line 9694 "MachineIndependent/glslang_tab.cpp"
 9694|    408|    break;
 9695|       |
 9696|    900|  case 395: /* type_specifier_nonarray: ISAMPLER2D  */
  ------------------
  |  Branch (9696:3): [True: 900, False: 3.14M]
  ------------------
 9697|    900|#line 2796 "MachineIndependent/glslang.y"
 9698|    900|                 {
 9699|    900|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    900|#define parseContext (*pParseContext)
  ------------------
 9700|    900|        (yyval.interm.type).basicType = EbtSampler;
 9701|    900|        (yyval.interm.type).sampler.set(EbtInt, Esd2D);
 9702|    900|    }
 9703|    900|#line 9704 "MachineIndependent/glslang_tab.cpp"
 9704|    900|    break;
 9705|       |
 9706|    481|  case 396: /* type_specifier_nonarray: ISAMPLER3D  */
  ------------------
  |  Branch (9706:3): [True: 481, False: 3.14M]
  ------------------
 9707|    481|#line 2801 "MachineIndependent/glslang.y"
 9708|    481|                 {
 9709|    481|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    481|#define parseContext (*pParseContext)
  ------------------
 9710|    481|        (yyval.interm.type).basicType = EbtSampler;
 9711|    481|        (yyval.interm.type).sampler.set(EbtInt, Esd3D);
 9712|    481|    }
 9713|    481|#line 9714 "MachineIndependent/glslang_tab.cpp"
 9714|    481|    break;
 9715|       |
 9716|    312|  case 397: /* type_specifier_nonarray: ISAMPLERCUBE  */
  ------------------
  |  Branch (9716:3): [True: 312, False: 3.14M]
  ------------------
 9717|    312|#line 2806 "MachineIndependent/glslang.y"
 9718|    312|                   {
 9719|    312|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    312|#define parseContext (*pParseContext)
  ------------------
 9720|    312|        (yyval.interm.type).basicType = EbtSampler;
 9721|    312|        (yyval.interm.type).sampler.set(EbtInt, EsdCube);
 9722|    312|    }
 9723|    312|#line 9724 "MachineIndependent/glslang_tab.cpp"
 9724|    312|    break;
 9725|       |
 9726|    722|  case 398: /* type_specifier_nonarray: ISAMPLER2DARRAY  */
  ------------------
  |  Branch (9726:3): [True: 722, False: 3.14M]
  ------------------
 9727|    722|#line 2811 "MachineIndependent/glslang.y"
 9728|    722|                      {
 9729|    722|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    722|#define parseContext (*pParseContext)
  ------------------
 9730|    722|        (yyval.interm.type).basicType = EbtSampler;
 9731|    722|        (yyval.interm.type).sampler.set(EbtInt, Esd2D, true);
 9732|    722|    }
 9733|    722|#line 9734 "MachineIndependent/glslang_tab.cpp"
 9734|    722|    break;
 9735|       |
 9736|    900|  case 399: /* type_specifier_nonarray: USAMPLER2D  */
  ------------------
  |  Branch (9736:3): [True: 900, False: 3.14M]
  ------------------
 9737|    900|#line 2816 "MachineIndependent/glslang.y"
 9738|    900|                 {
 9739|    900|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    900|#define parseContext (*pParseContext)
  ------------------
 9740|    900|        (yyval.interm.type).basicType = EbtSampler;
 9741|    900|        (yyval.interm.type).sampler.set(EbtUint, Esd2D);
 9742|    900|    }
 9743|    900|#line 9744 "MachineIndependent/glslang_tab.cpp"
 9744|    900|    break;
 9745|       |
 9746|    481|  case 400: /* type_specifier_nonarray: USAMPLER3D  */
  ------------------
  |  Branch (9746:3): [True: 481, False: 3.14M]
  ------------------
 9747|    481|#line 2821 "MachineIndependent/glslang.y"
 9748|    481|                 {
 9749|    481|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    481|#define parseContext (*pParseContext)
  ------------------
 9750|    481|        (yyval.interm.type).basicType = EbtSampler;
 9751|    481|        (yyval.interm.type).sampler.set(EbtUint, Esd3D);
 9752|    481|    }
 9753|    481|#line 9754 "MachineIndependent/glslang_tab.cpp"
 9754|    481|    break;
 9755|       |
 9756|    312|  case 401: /* type_specifier_nonarray: USAMPLERCUBE  */
  ------------------
  |  Branch (9756:3): [True: 312, False: 3.14M]
  ------------------
 9757|    312|#line 2826 "MachineIndependent/glslang.y"
 9758|    312|                   {
 9759|    312|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    312|#define parseContext (*pParseContext)
  ------------------
 9760|    312|        (yyval.interm.type).basicType = EbtSampler;
 9761|    312|        (yyval.interm.type).sampler.set(EbtUint, EsdCube);
 9762|    312|    }
 9763|    312|#line 9764 "MachineIndependent/glslang_tab.cpp"
 9764|    312|    break;
 9765|       |
 9766|    230|  case 402: /* type_specifier_nonarray: ISAMPLER1DARRAY  */
  ------------------
  |  Branch (9766:3): [True: 230, False: 3.14M]
  ------------------
 9767|    230|#line 2831 "MachineIndependent/glslang.y"
 9768|    230|                      {
 9769|    230|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    230|#define parseContext (*pParseContext)
  ------------------
 9770|    230|        (yyval.interm.type).basicType = EbtSampler;
 9771|    230|        (yyval.interm.type).sampler.set(EbtInt, Esd1D, true);
 9772|    230|    }
 9773|    230|#line 9774 "MachineIndependent/glslang_tab.cpp"
 9774|    230|    break;
 9775|       |
 9776|    312|  case 403: /* type_specifier_nonarray: ISAMPLERCUBEARRAY  */
  ------------------
  |  Branch (9776:3): [True: 312, False: 3.14M]
  ------------------
 9777|    312|#line 2836 "MachineIndependent/glslang.y"
 9778|    312|                        {
 9779|    312|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    312|#define parseContext (*pParseContext)
  ------------------
 9780|    312|        (yyval.interm.type).basicType = EbtSampler;
 9781|    312|        (yyval.interm.type).sampler.set(EbtInt, EsdCube, true);
 9782|    312|    }
 9783|    312|#line 9784 "MachineIndependent/glslang_tab.cpp"
 9784|    312|    break;
 9785|       |
 9786|    408|  case 404: /* type_specifier_nonarray: USAMPLER1D  */
  ------------------
  |  Branch (9786:3): [True: 408, False: 3.14M]
  ------------------
 9787|    408|#line 2841 "MachineIndependent/glslang.y"
 9788|    408|                 {
 9789|    408|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    408|#define parseContext (*pParseContext)
  ------------------
 9790|    408|        (yyval.interm.type).basicType = EbtSampler;
 9791|    408|        (yyval.interm.type).sampler.set(EbtUint, Esd1D);
 9792|    408|    }
 9793|    408|#line 9794 "MachineIndependent/glslang_tab.cpp"
 9794|    408|    break;
 9795|       |
 9796|    230|  case 405: /* type_specifier_nonarray: USAMPLER1DARRAY  */
  ------------------
  |  Branch (9796:3): [True: 230, False: 3.14M]
  ------------------
 9797|    230|#line 2846 "MachineIndependent/glslang.y"
 9798|    230|                      {
 9799|    230|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    230|#define parseContext (*pParseContext)
  ------------------
 9800|    230|        (yyval.interm.type).basicType = EbtSampler;
 9801|    230|        (yyval.interm.type).sampler.set(EbtUint, Esd1D, true);
 9802|    230|    }
 9803|    230|#line 9804 "MachineIndependent/glslang_tab.cpp"
 9804|    230|    break;
 9805|       |
 9806|    312|  case 406: /* type_specifier_nonarray: USAMPLERCUBEARRAY  */
  ------------------
  |  Branch (9806:3): [True: 312, False: 3.14M]
  ------------------
 9807|    312|#line 2851 "MachineIndependent/glslang.y"
 9808|    312|                        {
 9809|    312|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    312|#define parseContext (*pParseContext)
  ------------------
 9810|    312|        (yyval.interm.type).basicType = EbtSampler;
 9811|    312|        (yyval.interm.type).sampler.set(EbtUint, EsdCube, true);
 9812|    312|    }
 9813|    312|#line 9814 "MachineIndependent/glslang_tab.cpp"
 9814|    312|    break;
 9815|       |
 9816|      2|  case 407: /* type_specifier_nonarray: TEXTURECUBEARRAY  */
  ------------------
  |  Branch (9816:3): [True: 2, False: 3.14M]
  ------------------
 9817|      2|#line 2856 "MachineIndependent/glslang.y"
 9818|      2|                       {
 9819|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      2|#define parseContext (*pParseContext)
  ------------------
 9820|      2|        (yyval.interm.type).basicType = EbtSampler;
 9821|      2|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdCube, true);
 9822|      2|    }
 9823|      2|#line 9824 "MachineIndependent/glslang_tab.cpp"
 9824|      2|    break;
 9825|       |
 9826|      2|  case 408: /* type_specifier_nonarray: ITEXTURECUBEARRAY  */
  ------------------
  |  Branch (9826:3): [True: 2, False: 3.14M]
  ------------------
 9827|      2|#line 2861 "MachineIndependent/glslang.y"
 9828|      2|                        {
 9829|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      2|#define parseContext (*pParseContext)
  ------------------
 9830|      2|        (yyval.interm.type).basicType = EbtSampler;
 9831|      2|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdCube, true);
 9832|      2|    }
 9833|      2|#line 9834 "MachineIndependent/glslang_tab.cpp"
 9834|      2|    break;
 9835|       |
 9836|      2|  case 409: /* type_specifier_nonarray: UTEXTURECUBEARRAY  */
  ------------------
  |  Branch (9836:3): [True: 2, False: 3.14M]
  ------------------
 9837|      2|#line 2866 "MachineIndependent/glslang.y"
 9838|      2|                        {
 9839|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      2|#define parseContext (*pParseContext)
  ------------------
 9840|      2|        (yyval.interm.type).basicType = EbtSampler;
 9841|      2|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdCube, true);
 9842|      2|    }
 9843|      2|#line 9844 "MachineIndependent/glslang_tab.cpp"
 9844|      2|    break;
 9845|       |
 9846|    722|  case 410: /* type_specifier_nonarray: USAMPLER2DARRAY  */
  ------------------
  |  Branch (9846:3): [True: 722, False: 3.14M]
  ------------------
 9847|    722|#line 2871 "MachineIndependent/glslang.y"
 9848|    722|                      {
 9849|    722|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    722|#define parseContext (*pParseContext)
  ------------------
 9850|    722|        (yyval.interm.type).basicType = EbtSampler;
 9851|    722|        (yyval.interm.type).sampler.set(EbtUint, Esd2D, true);
 9852|    722|    }
 9853|    722|#line 9854 "MachineIndependent/glslang_tab.cpp"
 9854|    722|    break;
 9855|       |
 9856|      6|  case 411: /* type_specifier_nonarray: TEXTURE2D  */
  ------------------
  |  Branch (9856:3): [True: 6, False: 3.14M]
  ------------------
 9857|      6|#line 2876 "MachineIndependent/glslang.y"
 9858|      6|                {
 9859|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
 9860|      6|        (yyval.interm.type).basicType = EbtSampler;
 9861|      6|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D);
 9862|      6|    }
 9863|      6|#line 9864 "MachineIndependent/glslang_tab.cpp"
 9864|      6|    break;
 9865|       |
 9866|      6|  case 412: /* type_specifier_nonarray: TEXTURE3D  */
  ------------------
  |  Branch (9866:3): [True: 6, False: 3.14M]
  ------------------
 9867|      6|#line 2881 "MachineIndependent/glslang.y"
 9868|      6|                {
 9869|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
 9870|      6|        (yyval.interm.type).basicType = EbtSampler;
 9871|      6|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd3D);
 9872|      6|    }
 9873|      6|#line 9874 "MachineIndependent/glslang_tab.cpp"
 9874|      6|    break;
 9875|       |
 9876|      6|  case 413: /* type_specifier_nonarray: TEXTURE2DARRAY  */
  ------------------
  |  Branch (9876:3): [True: 6, False: 3.14M]
  ------------------
 9877|      6|#line 2886 "MachineIndependent/glslang.y"
 9878|      6|                     {
 9879|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
 9880|      6|        (yyval.interm.type).basicType = EbtSampler;
 9881|      6|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, true);
 9882|      6|    }
 9883|      6|#line 9884 "MachineIndependent/glslang_tab.cpp"
 9884|      6|    break;
 9885|       |
 9886|      2|  case 414: /* type_specifier_nonarray: TEXTURECUBE  */
  ------------------
  |  Branch (9886:3): [True: 2, False: 3.14M]
  ------------------
 9887|      2|#line 2891 "MachineIndependent/glslang.y"
 9888|      2|                  {
 9889|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      2|#define parseContext (*pParseContext)
  ------------------
 9890|      2|        (yyval.interm.type).basicType = EbtSampler;
 9891|      2|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdCube);
 9892|      2|    }
 9893|      2|#line 9894 "MachineIndependent/glslang_tab.cpp"
 9894|      2|    break;
 9895|       |
 9896|      6|  case 415: /* type_specifier_nonarray: ITEXTURE2D  */
  ------------------
  |  Branch (9896:3): [True: 6, False: 3.14M]
  ------------------
 9897|      6|#line 2896 "MachineIndependent/glslang.y"
 9898|      6|                 {
 9899|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
 9900|      6|        (yyval.interm.type).basicType = EbtSampler;
 9901|      6|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D);
 9902|      6|    }
 9903|      6|#line 9904 "MachineIndependent/glslang_tab.cpp"
 9904|      6|    break;
 9905|       |
 9906|      6|  case 416: /* type_specifier_nonarray: ITEXTURE3D  */
  ------------------
  |  Branch (9906:3): [True: 6, False: 3.14M]
  ------------------
 9907|      6|#line 2901 "MachineIndependent/glslang.y"
 9908|      6|                 {
 9909|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
 9910|      6|        (yyval.interm.type).basicType = EbtSampler;
 9911|      6|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd3D);
 9912|      6|    }
 9913|      6|#line 9914 "MachineIndependent/glslang_tab.cpp"
 9914|      6|    break;
 9915|       |
 9916|      2|  case 417: /* type_specifier_nonarray: ITEXTURECUBE  */
  ------------------
  |  Branch (9916:3): [True: 2, False: 3.14M]
  ------------------
 9917|      2|#line 2906 "MachineIndependent/glslang.y"
 9918|      2|                   {
 9919|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      2|#define parseContext (*pParseContext)
  ------------------
 9920|      2|        (yyval.interm.type).basicType = EbtSampler;
 9921|      2|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdCube);
 9922|      2|    }
 9923|      2|#line 9924 "MachineIndependent/glslang_tab.cpp"
 9924|      2|    break;
 9925|       |
 9926|      6|  case 418: /* type_specifier_nonarray: ITEXTURE2DARRAY  */
  ------------------
  |  Branch (9926:3): [True: 6, False: 3.14M]
  ------------------
 9927|      6|#line 2911 "MachineIndependent/glslang.y"
 9928|      6|                      {
 9929|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
 9930|      6|        (yyval.interm.type).basicType = EbtSampler;
 9931|      6|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, true);
 9932|      6|    }
 9933|      6|#line 9934 "MachineIndependent/glslang_tab.cpp"
 9934|      6|    break;
 9935|       |
 9936|      6|  case 419: /* type_specifier_nonarray: UTEXTURE2D  */
  ------------------
  |  Branch (9936:3): [True: 6, False: 3.14M]
  ------------------
 9937|      6|#line 2916 "MachineIndependent/glslang.y"
 9938|      6|                 {
 9939|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
 9940|      6|        (yyval.interm.type).basicType = EbtSampler;
 9941|      6|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D);
 9942|      6|    }
 9943|      6|#line 9944 "MachineIndependent/glslang_tab.cpp"
 9944|      6|    break;
 9945|       |
 9946|      6|  case 420: /* type_specifier_nonarray: UTEXTURE3D  */
  ------------------
  |  Branch (9946:3): [True: 6, False: 3.14M]
  ------------------
 9947|      6|#line 2921 "MachineIndependent/glslang.y"
 9948|      6|                 {
 9949|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
 9950|      6|        (yyval.interm.type).basicType = EbtSampler;
 9951|      6|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd3D);
 9952|      6|    }
 9953|      6|#line 9954 "MachineIndependent/glslang_tab.cpp"
 9954|      6|    break;
 9955|       |
 9956|      2|  case 421: /* type_specifier_nonarray: UTEXTURECUBE  */
  ------------------
  |  Branch (9956:3): [True: 2, False: 3.14M]
  ------------------
 9957|      2|#line 2926 "MachineIndependent/glslang.y"
 9958|      2|                   {
 9959|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      2|#define parseContext (*pParseContext)
  ------------------
 9960|      2|        (yyval.interm.type).basicType = EbtSampler;
 9961|      2|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdCube);
 9962|      2|    }
 9963|      2|#line 9964 "MachineIndependent/glslang_tab.cpp"
 9964|      2|    break;
 9965|       |
 9966|      6|  case 422: /* type_specifier_nonarray: UTEXTURE2DARRAY  */
  ------------------
  |  Branch (9966:3): [True: 6, False: 3.14M]
  ------------------
 9967|      6|#line 2931 "MachineIndependent/glslang.y"
 9968|      6|                      {
 9969|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
 9970|      6|        (yyval.interm.type).basicType = EbtSampler;
 9971|      6|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, true);
 9972|      6|    }
 9973|      6|#line 9974 "MachineIndependent/glslang_tab.cpp"
 9974|      6|    break;
 9975|       |
 9976|      0|  case 423: /* type_specifier_nonarray: SAMPLER  */
  ------------------
  |  Branch (9976:3): [True: 0, False: 3.14M]
  ------------------
 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: 3.14M]
  ------------------
 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|    381|  case 425: /* type_specifier_nonarray: SAMPLER2DRECT  */
  ------------------
  |  Branch (9996:3): [True: 381, False: 3.14M]
  ------------------
 9997|    381|#line 2946 "MachineIndependent/glslang.y"
 9998|    381|                    {
 9999|    381|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    381|#define parseContext (*pParseContext)
  ------------------
10000|    381|        (yyval.interm.type).basicType = EbtSampler;
10001|    381|        (yyval.interm.type).sampler.set(EbtFloat, EsdRect);
10002|    381|    }
10003|    381|#line 10004 "MachineIndependent/glslang_tab.cpp"
10004|    381|    break;
10005|       |
10006|    213|  case 426: /* type_specifier_nonarray: SAMPLER2DRECTSHADOW  */
  ------------------
  |  Branch (10006:3): [True: 213, False: 3.14M]
  ------------------
10007|    213|#line 2951 "MachineIndependent/glslang.y"
10008|    213|                          {
10009|    213|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    213|#define parseContext (*pParseContext)
  ------------------
10010|    213|        (yyval.interm.type).basicType = EbtSampler;
10011|    213|        (yyval.interm.type).sampler.set(EbtFloat, EsdRect, false, true);
10012|    213|    }
10013|    213|#line 10014 "MachineIndependent/glslang_tab.cpp"
10014|    213|    break;
10015|       |
10016|    755|  case 427: /* type_specifier_nonarray: F16SAMPLER2DRECT  */
  ------------------
  |  Branch (10016:3): [True: 755, False: 3.14M]
  ------------------
10017|    755|#line 2956 "MachineIndependent/glslang.y"
10018|    755|                       {
10019|    755|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    755|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    755|#define parseContext (*pParseContext)
  ------------------
10020|    755|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    755|#define parseContext (*pParseContext)
  ------------------
10021|    755|        (yyval.interm.type).basicType = EbtSampler;
10022|    755|        (yyval.interm.type).sampler.set(EbtFloat16, EsdRect);
10023|    755|    }
10024|    755|#line 10025 "MachineIndependent/glslang_tab.cpp"
10025|    755|    break;
10026|       |
10027|    419|  case 428: /* type_specifier_nonarray: F16SAMPLER2DRECTSHADOW  */
  ------------------
  |  Branch (10027:3): [True: 419, False: 3.14M]
  ------------------
10028|    419|#line 2962 "MachineIndependent/glslang.y"
10029|    419|                             {
10030|    419|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    419|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    419|#define parseContext (*pParseContext)
  ------------------
10031|    419|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    419|#define parseContext (*pParseContext)
  ------------------
10032|    419|        (yyval.interm.type).basicType = EbtSampler;
10033|    419|        (yyval.interm.type).sampler.set(EbtFloat16, EsdRect, false, true);
10034|    419|    }
10035|    419|#line 10036 "MachineIndependent/glslang_tab.cpp"
10036|    419|    break;
10037|       |
10038|    381|  case 429: /* type_specifier_nonarray: ISAMPLER2DRECT  */
  ------------------
  |  Branch (10038:3): [True: 381, False: 3.14M]
  ------------------
10039|    381|#line 2968 "MachineIndependent/glslang.y"
10040|    381|                     {
10041|    381|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    381|#define parseContext (*pParseContext)
  ------------------
10042|    381|        (yyval.interm.type).basicType = EbtSampler;
10043|    381|        (yyval.interm.type).sampler.set(EbtInt, EsdRect);
10044|    381|    }
10045|    381|#line 10046 "MachineIndependent/glslang_tab.cpp"
10046|    381|    break;
10047|       |
10048|    381|  case 430: /* type_specifier_nonarray: USAMPLER2DRECT  */
  ------------------
  |  Branch (10048:3): [True: 381, False: 3.14M]
  ------------------
10049|    381|#line 2973 "MachineIndependent/glslang.y"
10050|    381|                     {
10051|    381|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    381|#define parseContext (*pParseContext)
  ------------------
10052|    381|        (yyval.interm.type).basicType = EbtSampler;
10053|    381|        (yyval.interm.type).sampler.set(EbtUint, EsdRect);
10054|    381|    }
10055|    381|#line 10056 "MachineIndependent/glslang_tab.cpp"
10056|    381|    break;
10057|       |
10058|     14|  case 431: /* type_specifier_nonarray: SAMPLERBUFFER  */
  ------------------
  |  Branch (10058:3): [True: 14, False: 3.14M]
  ------------------
10059|     14|#line 2978 "MachineIndependent/glslang.y"
10060|     14|                    {
10061|     14|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     14|#define parseContext (*pParseContext)
  ------------------
10062|     14|        (yyval.interm.type).basicType = EbtSampler;
10063|     14|        (yyval.interm.type).sampler.set(EbtFloat, EsdBuffer);
10064|     14|    }
10065|     14|#line 10066 "MachineIndependent/glslang_tab.cpp"
10066|     14|    break;
10067|       |
10068|     21|  case 432: /* type_specifier_nonarray: F16SAMPLERBUFFER  */
  ------------------
  |  Branch (10068:3): [True: 21, False: 3.14M]
  ------------------
10069|     21|#line 2983 "MachineIndependent/glslang.y"
10070|     21|                       {
10071|     21|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     21|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     21|#define parseContext (*pParseContext)
  ------------------
10072|     21|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     21|#define parseContext (*pParseContext)
  ------------------
10073|     21|        (yyval.interm.type).basicType = EbtSampler;
10074|     21|        (yyval.interm.type).sampler.set(EbtFloat16, EsdBuffer);
10075|     21|    }
10076|     21|#line 10077 "MachineIndependent/glslang_tab.cpp"
10077|     21|    break;
10078|       |
10079|     14|  case 433: /* type_specifier_nonarray: ISAMPLERBUFFER  */
  ------------------
  |  Branch (10079:3): [True: 14, False: 3.14M]
  ------------------
10080|     14|#line 2989 "MachineIndependent/glslang.y"
10081|     14|                     {
10082|     14|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     14|#define parseContext (*pParseContext)
  ------------------
10083|     14|        (yyval.interm.type).basicType = EbtSampler;
10084|     14|        (yyval.interm.type).sampler.set(EbtInt, EsdBuffer);
10085|     14|    }
10086|     14|#line 10087 "MachineIndependent/glslang_tab.cpp"
10087|     14|    break;
10088|       |
10089|     14|  case 434: /* type_specifier_nonarray: USAMPLERBUFFER  */
  ------------------
  |  Branch (10089:3): [True: 14, False: 3.14M]
  ------------------
10090|     14|#line 2994 "MachineIndependent/glslang.y"
10091|     14|                     {
10092|     14|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     14|#define parseContext (*pParseContext)
  ------------------
10093|     14|        (yyval.interm.type).basicType = EbtSampler;
10094|     14|        (yyval.interm.type).sampler.set(EbtUint, EsdBuffer);
10095|     14|    }
10096|     14|#line 10097 "MachineIndependent/glslang_tab.cpp"
10097|     14|    break;
10098|       |
10099|     42|  case 435: /* type_specifier_nonarray: SAMPLER2DMS  */
  ------------------
  |  Branch (10099:3): [True: 42, False: 3.14M]
  ------------------
10100|     42|#line 2999 "MachineIndependent/glslang.y"
10101|     42|                  {
10102|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
10103|     42|        (yyval.interm.type).basicType = EbtSampler;
10104|     42|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, false, false, true);
10105|     42|    }
10106|     42|#line 10107 "MachineIndependent/glslang_tab.cpp"
10107|     42|    break;
10108|       |
10109|     42|  case 436: /* type_specifier_nonarray: F16SAMPLER2DMS  */
  ------------------
  |  Branch (10109:3): [True: 42, False: 3.14M]
  ------------------
10110|     42|#line 3004 "MachineIndependent/glslang.y"
10111|     42|                     {
10112|     42|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
10113|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
10114|     42|        (yyval.interm.type).basicType = EbtSampler;
10115|     42|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, false, false, true);
10116|     42|    }
10117|     42|#line 10118 "MachineIndependent/glslang_tab.cpp"
10118|     42|    break;
10119|       |
10120|     42|  case 437: /* type_specifier_nonarray: ISAMPLER2DMS  */
  ------------------
  |  Branch (10120:3): [True: 42, False: 3.14M]
  ------------------
10121|     42|#line 3010 "MachineIndependent/glslang.y"
10122|     42|                   {
10123|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
10124|     42|        (yyval.interm.type).basicType = EbtSampler;
10125|     42|        (yyval.interm.type).sampler.set(EbtInt, Esd2D, false, false, true);
10126|     42|    }
10127|     42|#line 10128 "MachineIndependent/glslang_tab.cpp"
10128|     42|    break;
10129|       |
10130|     42|  case 438: /* type_specifier_nonarray: USAMPLER2DMS  */
  ------------------
  |  Branch (10130:3): [True: 42, False: 3.14M]
  ------------------
10131|     42|#line 3015 "MachineIndependent/glslang.y"
10132|     42|                   {
10133|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
10134|     42|        (yyval.interm.type).basicType = EbtSampler;
10135|     42|        (yyval.interm.type).sampler.set(EbtUint, Esd2D, false, false, true);
10136|     42|    }
10137|     42|#line 10138 "MachineIndependent/glslang_tab.cpp"
10138|     42|    break;
10139|       |
10140|     42|  case 439: /* type_specifier_nonarray: SAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10140:3): [True: 42, False: 3.14M]
  ------------------
10141|     42|#line 3020 "MachineIndependent/glslang.y"
10142|     42|                       {
10143|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
10144|     42|        (yyval.interm.type).basicType = EbtSampler;
10145|     42|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, true, false, true);
10146|     42|    }
10147|     42|#line 10148 "MachineIndependent/glslang_tab.cpp"
10148|     42|    break;
10149|       |
10150|     42|  case 440: /* type_specifier_nonarray: F16SAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10150:3): [True: 42, False: 3.14M]
  ------------------
10151|     42|#line 3025 "MachineIndependent/glslang.y"
10152|     42|                          {
10153|     42|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
10154|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
10155|     42|        (yyval.interm.type).basicType = EbtSampler;
10156|     42|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true, false, true);
10157|     42|    }
10158|     42|#line 10159 "MachineIndependent/glslang_tab.cpp"
10159|     42|    break;
10160|       |
10161|     42|  case 441: /* type_specifier_nonarray: ISAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10161:3): [True: 42, False: 3.14M]
  ------------------
10162|     42|#line 3031 "MachineIndependent/glslang.y"
10163|     42|                        {
10164|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
10165|     42|        (yyval.interm.type).basicType = EbtSampler;
10166|     42|        (yyval.interm.type).sampler.set(EbtInt, Esd2D, true, false, true);
10167|     42|    }
10168|     42|#line 10169 "MachineIndependent/glslang_tab.cpp"
10169|     42|    break;
10170|       |
10171|     42|  case 442: /* type_specifier_nonarray: USAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10171:3): [True: 42, False: 3.14M]
  ------------------
10172|     42|#line 3036 "MachineIndependent/glslang.y"
10173|     42|                        {
10174|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     42|#define parseContext (*pParseContext)
  ------------------
10175|     42|        (yyval.interm.type).basicType = EbtSampler;
10176|     42|        (yyval.interm.type).sampler.set(EbtUint, Esd2D, true, false, true);
10177|     42|    }
10178|     42|#line 10179 "MachineIndependent/glslang_tab.cpp"
10179|     42|    break;
10180|       |
10181|      4|  case 443: /* type_specifier_nonarray: TEXTURE1D  */
  ------------------
  |  Branch (10181:3): [True: 4, False: 3.14M]
  ------------------
10182|      4|#line 3041 "MachineIndependent/glslang.y"
10183|      4|                {
10184|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
10185|      4|        (yyval.interm.type).basicType = EbtSampler;
10186|      4|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd1D);
10187|      4|    }
10188|      4|#line 10189 "MachineIndependent/glslang_tab.cpp"
10189|      4|    break;
10190|       |
10191|      6|  case 444: /* type_specifier_nonarray: F16TEXTURE1D  */
  ------------------
  |  Branch (10191:3): [True: 6, False: 3.14M]
  ------------------
10192|      6|#line 3046 "MachineIndependent/glslang.y"
10193|      6|                   {
10194|      6|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
10195|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
10196|      6|        (yyval.interm.type).basicType = EbtSampler;
10197|      6|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd1D);
10198|      6|    }
10199|      6|#line 10200 "MachineIndependent/glslang_tab.cpp"
10200|      6|    break;
10201|       |
10202|     10|  case 445: /* type_specifier_nonarray: F16TEXTURE2D  */
  ------------------
  |  Branch (10202:3): [True: 10, False: 3.14M]
  ------------------
10203|     10|#line 3052 "MachineIndependent/glslang.y"
10204|     10|                   {
10205|     10|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     10|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     10|#define parseContext (*pParseContext)
  ------------------
10206|     10|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     10|#define parseContext (*pParseContext)
  ------------------
10207|     10|        (yyval.interm.type).basicType = EbtSampler;
10208|     10|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D);
10209|     10|    }
10210|     10|#line 10211 "MachineIndependent/glslang_tab.cpp"
10211|     10|    break;
10212|       |
10213|     10|  case 446: /* type_specifier_nonarray: F16TEXTURE3D  */
  ------------------
  |  Branch (10213:3): [True: 10, False: 3.14M]
  ------------------
10214|     10|#line 3058 "MachineIndependent/glslang.y"
10215|     10|                   {
10216|     10|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     10|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     10|#define parseContext (*pParseContext)
  ------------------
10217|     10|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     10|#define parseContext (*pParseContext)
  ------------------
10218|     10|        (yyval.interm.type).basicType = EbtSampler;
10219|     10|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd3D);
10220|     10|    }
10221|     10|#line 10222 "MachineIndependent/glslang_tab.cpp"
10222|     10|    break;
10223|       |
10224|      2|  case 447: /* type_specifier_nonarray: F16TEXTURECUBE  */
  ------------------
  |  Branch (10224:3): [True: 2, False: 3.14M]
  ------------------
10225|      2|#line 3064 "MachineIndependent/glslang.y"
10226|      2|                     {
10227|      2|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      2|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      2|#define parseContext (*pParseContext)
  ------------------
10228|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      2|#define parseContext (*pParseContext)
  ------------------
10229|      2|        (yyval.interm.type).basicType = EbtSampler;
10230|      2|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdCube);
10231|      2|    }
10232|      2|#line 10233 "MachineIndependent/glslang_tab.cpp"
10233|      2|    break;
10234|       |
10235|      4|  case 448: /* type_specifier_nonarray: TEXTURE1DARRAY  */
  ------------------
  |  Branch (10235:3): [True: 4, False: 3.14M]
  ------------------
10236|      4|#line 3070 "MachineIndependent/glslang.y"
10237|      4|                     {
10238|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
10239|      4|        (yyval.interm.type).basicType = EbtSampler;
10240|      4|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd1D, true);
10241|      4|    }
10242|      4|#line 10243 "MachineIndependent/glslang_tab.cpp"
10243|      4|    break;
10244|       |
10245|      6|  case 449: /* type_specifier_nonarray: F16TEXTURE1DARRAY  */
  ------------------
  |  Branch (10245:3): [True: 6, False: 3.14M]
  ------------------
10246|      6|#line 3075 "MachineIndependent/glslang.y"
10247|      6|                        {
10248|      6|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
10249|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
10250|      6|        (yyval.interm.type).basicType = EbtSampler;
10251|      6|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd1D, true);
10252|      6|    }
10253|      6|#line 10254 "MachineIndependent/glslang_tab.cpp"
10254|      6|    break;
10255|       |
10256|     10|  case 450: /* type_specifier_nonarray: F16TEXTURE2DARRAY  */
  ------------------
  |  Branch (10256:3): [True: 10, False: 3.14M]
  ------------------
10257|     10|#line 3081 "MachineIndependent/glslang.y"
10258|     10|                        {
10259|     10|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     10|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|     10|#define parseContext (*pParseContext)
  ------------------
10260|     10|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     10|#define parseContext (*pParseContext)
  ------------------
10261|     10|        (yyval.interm.type).basicType = EbtSampler;
10262|     10|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, true);
10263|     10|    }
10264|     10|#line 10265 "MachineIndependent/glslang_tab.cpp"
10265|     10|    break;
10266|       |
10267|      2|  case 451: /* type_specifier_nonarray: F16TEXTURECUBEARRAY  */
  ------------------
  |  Branch (10267:3): [True: 2, False: 3.14M]
  ------------------
10268|      2|#line 3087 "MachineIndependent/glslang.y"
10269|      2|                          {
10270|      2|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      2|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      2|#define parseContext (*pParseContext)
  ------------------
10271|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      2|#define parseContext (*pParseContext)
  ------------------
10272|      2|        (yyval.interm.type).basicType = EbtSampler;
10273|      2|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdCube, true);
10274|      2|    }
10275|      2|#line 10276 "MachineIndependent/glslang_tab.cpp"
10276|      2|    break;
10277|       |
10278|      4|  case 452: /* type_specifier_nonarray: ITEXTURE1D  */
  ------------------
  |  Branch (10278:3): [True: 4, False: 3.14M]
  ------------------
10279|      4|#line 3093 "MachineIndependent/glslang.y"
10280|      4|                 {
10281|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
10282|      4|        (yyval.interm.type).basicType = EbtSampler;
10283|      4|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd1D);
10284|      4|    }
10285|      4|#line 10286 "MachineIndependent/glslang_tab.cpp"
10286|      4|    break;
10287|       |
10288|      4|  case 453: /* type_specifier_nonarray: ITEXTURE1DARRAY  */
  ------------------
  |  Branch (10288:3): [True: 4, False: 3.14M]
  ------------------
10289|      4|#line 3098 "MachineIndependent/glslang.y"
10290|      4|                      {
10291|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
10292|      4|        (yyval.interm.type).basicType = EbtSampler;
10293|      4|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd1D, true);
10294|      4|    }
10295|      4|#line 10296 "MachineIndependent/glslang_tab.cpp"
10296|      4|    break;
10297|       |
10298|      4|  case 454: /* type_specifier_nonarray: UTEXTURE1D  */
  ------------------
  |  Branch (10298:3): [True: 4, False: 3.14M]
  ------------------
10299|      4|#line 3103 "MachineIndependent/glslang.y"
10300|      4|                 {
10301|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
10302|      4|        (yyval.interm.type).basicType = EbtSampler;
10303|      4|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd1D);
10304|      4|    }
10305|      4|#line 10306 "MachineIndependent/glslang_tab.cpp"
10306|      4|    break;
10307|       |
10308|      4|  case 455: /* type_specifier_nonarray: UTEXTURE1DARRAY  */
  ------------------
  |  Branch (10308:3): [True: 4, False: 3.14M]
  ------------------
10309|      4|#line 3108 "MachineIndependent/glslang.y"
10310|      4|                      {
10311|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
10312|      4|        (yyval.interm.type).basicType = EbtSampler;
10313|      4|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd1D, true);
10314|      4|    }
10315|      4|#line 10316 "MachineIndependent/glslang_tab.cpp"
10316|      4|    break;
10317|       |
10318|      5|  case 456: /* type_specifier_nonarray: TEXTURE2DRECT  */
  ------------------
  |  Branch (10318:3): [True: 5, False: 3.14M]
  ------------------
10319|      5|#line 3113 "MachineIndependent/glslang.y"
10320|      5|                    {
10321|      5|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      5|#define parseContext (*pParseContext)
  ------------------
10322|      5|        (yyval.interm.type).basicType = EbtSampler;
10323|      5|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdRect);
10324|      5|    }
10325|      5|#line 10326 "MachineIndependent/glslang_tab.cpp"
10326|      5|    break;
10327|       |
10328|      9|  case 457: /* type_specifier_nonarray: F16TEXTURE2DRECT  */
  ------------------
  |  Branch (10328:3): [True: 9, False: 3.14M]
  ------------------
10329|      9|#line 3118 "MachineIndependent/glslang.y"
10330|      9|                       {
10331|      9|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      9|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      9|#define parseContext (*pParseContext)
  ------------------
10332|      9|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      9|#define parseContext (*pParseContext)
  ------------------
10333|      9|        (yyval.interm.type).basicType = EbtSampler;
10334|      9|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdRect);
10335|      9|    }
10336|      9|#line 10337 "MachineIndependent/glslang_tab.cpp"
10337|      9|    break;
10338|       |
10339|      5|  case 458: /* type_specifier_nonarray: ITEXTURE2DRECT  */
  ------------------
  |  Branch (10339:3): [True: 5, False: 3.14M]
  ------------------
10340|      5|#line 3124 "MachineIndependent/glslang.y"
10341|      5|                     {
10342|      5|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      5|#define parseContext (*pParseContext)
  ------------------
10343|      5|        (yyval.interm.type).basicType = EbtSampler;
10344|      5|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdRect);
10345|      5|    }
10346|      5|#line 10347 "MachineIndependent/glslang_tab.cpp"
10347|      5|    break;
10348|       |
10349|      5|  case 459: /* type_specifier_nonarray: UTEXTURE2DRECT  */
  ------------------
  |  Branch (10349:3): [True: 5, False: 3.14M]
  ------------------
10350|      5|#line 3129 "MachineIndependent/glslang.y"
10351|      5|                     {
10352|      5|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      5|#define parseContext (*pParseContext)
  ------------------
10353|      5|        (yyval.interm.type).basicType = EbtSampler;
10354|      5|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdRect);
10355|      5|    }
10356|      5|#line 10357 "MachineIndependent/glslang_tab.cpp"
10357|      5|    break;
10358|       |
10359|      2|  case 460: /* type_specifier_nonarray: TEXTUREBUFFER  */
  ------------------
  |  Branch (10359:3): [True: 2, False: 3.14M]
  ------------------
10360|      2|#line 3134 "MachineIndependent/glslang.y"
10361|      2|                    {
10362|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      2|#define parseContext (*pParseContext)
  ------------------
10363|      2|        (yyval.interm.type).basicType = EbtSampler;
10364|      2|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdBuffer);
10365|      2|    }
10366|      2|#line 10367 "MachineIndependent/glslang_tab.cpp"
10367|      2|    break;
10368|       |
10369|      3|  case 461: /* type_specifier_nonarray: F16TEXTUREBUFFER  */
  ------------------
  |  Branch (10369:3): [True: 3, False: 3.14M]
  ------------------
10370|      3|#line 3139 "MachineIndependent/glslang.y"
10371|      3|                       {
10372|      3|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      3|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      3|#define parseContext (*pParseContext)
  ------------------
10373|      3|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      3|#define parseContext (*pParseContext)
  ------------------
10374|      3|        (yyval.interm.type).basicType = EbtSampler;
10375|      3|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdBuffer);
10376|      3|    }
10377|      3|#line 10378 "MachineIndependent/glslang_tab.cpp"
10378|      3|    break;
10379|       |
10380|      2|  case 462: /* type_specifier_nonarray: ITEXTUREBUFFER  */
  ------------------
  |  Branch (10380:3): [True: 2, False: 3.14M]
  ------------------
10381|      2|#line 3145 "MachineIndependent/glslang.y"
10382|      2|                     {
10383|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      2|#define parseContext (*pParseContext)
  ------------------
10384|      2|        (yyval.interm.type).basicType = EbtSampler;
10385|      2|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdBuffer);
10386|      2|    }
10387|      2|#line 10388 "MachineIndependent/glslang_tab.cpp"
10388|      2|    break;
10389|       |
10390|      2|  case 463: /* type_specifier_nonarray: UTEXTUREBUFFER  */
  ------------------
  |  Branch (10390:3): [True: 2, False: 3.14M]
  ------------------
10391|      2|#line 3150 "MachineIndependent/glslang.y"
10392|      2|                     {
10393|      2|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      2|#define parseContext (*pParseContext)
  ------------------
10394|      2|        (yyval.interm.type).basicType = EbtSampler;
10395|      2|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdBuffer);
10396|      2|    }
10397|      2|#line 10398 "MachineIndependent/glslang_tab.cpp"
10398|      2|    break;
10399|       |
10400|      4|  case 464: /* type_specifier_nonarray: TEXTURE2DMS  */
  ------------------
  |  Branch (10400:3): [True: 4, False: 3.14M]
  ------------------
10401|      4|#line 3155 "MachineIndependent/glslang.y"
10402|      4|                  {
10403|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
10404|      4|        (yyval.interm.type).basicType = EbtSampler;
10405|      4|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, false, false, true);
10406|      4|    }
10407|      4|#line 10408 "MachineIndependent/glslang_tab.cpp"
10408|      4|    break;
10409|       |
10410|      6|  case 465: /* type_specifier_nonarray: F16TEXTURE2DMS  */
  ------------------
  |  Branch (10410:3): [True: 6, False: 3.14M]
  ------------------
10411|      6|#line 3160 "MachineIndependent/glslang.y"
10412|      6|                     {
10413|      6|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
10414|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
10415|      6|        (yyval.interm.type).basicType = EbtSampler;
10416|      6|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, false, false, true);
10417|      6|    }
10418|      6|#line 10419 "MachineIndependent/glslang_tab.cpp"
10419|      6|    break;
10420|       |
10421|      4|  case 466: /* type_specifier_nonarray: ITEXTURE2DMS  */
  ------------------
  |  Branch (10421:3): [True: 4, False: 3.14M]
  ------------------
10422|      4|#line 3166 "MachineIndependent/glslang.y"
10423|      4|                   {
10424|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
10425|      4|        (yyval.interm.type).basicType = EbtSampler;
10426|      4|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, false, false, true);
10427|      4|    }
10428|      4|#line 10429 "MachineIndependent/glslang_tab.cpp"
10429|      4|    break;
10430|       |
10431|      4|  case 467: /* type_specifier_nonarray: UTEXTURE2DMS  */
  ------------------
  |  Branch (10431:3): [True: 4, False: 3.14M]
  ------------------
10432|      4|#line 3171 "MachineIndependent/glslang.y"
10433|      4|                   {
10434|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
10435|      4|        (yyval.interm.type).basicType = EbtSampler;
10436|      4|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, false, false, true);
10437|      4|    }
10438|      4|#line 10439 "MachineIndependent/glslang_tab.cpp"
10439|      4|    break;
10440|       |
10441|      4|  case 468: /* type_specifier_nonarray: TEXTURE2DMSARRAY  */
  ------------------
  |  Branch (10441:3): [True: 4, False: 3.14M]
  ------------------
10442|      4|#line 3176 "MachineIndependent/glslang.y"
10443|      4|                       {
10444|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
10445|      4|        (yyval.interm.type).basicType = EbtSampler;
10446|      4|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, true, false, true);
10447|      4|    }
10448|      4|#line 10449 "MachineIndependent/glslang_tab.cpp"
10449|      4|    break;
10450|       |
10451|      6|  case 469: /* type_specifier_nonarray: F16TEXTURE2DMSARRAY  */
  ------------------
  |  Branch (10451:3): [True: 6, False: 3.14M]
  ------------------
10452|      6|#line 3181 "MachineIndependent/glslang.y"
10453|      6|                          {
10454|      6|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
10455|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      6|#define parseContext (*pParseContext)
  ------------------
10456|      6|        (yyval.interm.type).basicType = EbtSampler;
10457|      6|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, true, false, true);
10458|      6|    }
10459|      6|#line 10460 "MachineIndependent/glslang_tab.cpp"
10460|      6|    break;
10461|       |
10462|      4|  case 470: /* type_specifier_nonarray: ITEXTURE2DMSARRAY  */
  ------------------
  |  Branch (10462:3): [True: 4, False: 3.14M]
  ------------------
10463|      4|#line 3187 "MachineIndependent/glslang.y"
10464|      4|                        {
10465|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
10466|      4|        (yyval.interm.type).basicType = EbtSampler;
10467|      4|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, true, false, true);
10468|      4|    }
10469|      4|#line 10470 "MachineIndependent/glslang_tab.cpp"
10470|      4|    break;
10471|       |
10472|      4|  case 471: /* type_specifier_nonarray: UTEXTURE2DMSARRAY  */
  ------------------
  |  Branch (10472:3): [True: 4, False: 3.14M]
  ------------------
10473|      4|#line 3192 "MachineIndependent/glslang.y"
10474|      4|                        {
10475|      4|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      4|#define parseContext (*pParseContext)
  ------------------
10476|      4|        (yyval.interm.type).basicType = EbtSampler;
10477|      4|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, true, false, true);
10478|      4|    }
10479|      4|#line 10480 "MachineIndependent/glslang_tab.cpp"
10480|      4|    break;
10481|       |
10482|    161|  case 472: /* type_specifier_nonarray: IMAGE1D  */
  ------------------
  |  Branch (10482:3): [True: 161, False: 3.14M]
  ------------------
10483|    161|#line 3197 "MachineIndependent/glslang.y"
10484|    161|              {
10485|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
10486|    161|        (yyval.interm.type).basicType = EbtSampler;
10487|    161|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd1D);
10488|    161|    }
10489|    161|#line 10490 "MachineIndependent/glslang_tab.cpp"
10490|    161|    break;
10491|       |
10492|    161|  case 473: /* type_specifier_nonarray: F16IMAGE1D  */
  ------------------
  |  Branch (10492:3): [True: 161, False: 3.14M]
  ------------------
10493|    161|#line 3202 "MachineIndependent/glslang.y"
10494|    161|                 {
10495|    161|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
10496|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
10497|    161|        (yyval.interm.type).basicType = EbtSampler;
10498|    161|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd1D);
10499|    161|    }
10500|    161|#line 10501 "MachineIndependent/glslang_tab.cpp"
10501|    161|    break;
10502|       |
10503|    161|  case 474: /* type_specifier_nonarray: IIMAGE1D  */
  ------------------
  |  Branch (10503:3): [True: 161, False: 3.14M]
  ------------------
10504|    161|#line 3208 "MachineIndependent/glslang.y"
10505|    161|               {
10506|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
10507|    161|        (yyval.interm.type).basicType = EbtSampler;
10508|    161|        (yyval.interm.type).sampler.setImage(EbtInt, Esd1D);
10509|    161|    }
10510|    161|#line 10511 "MachineIndependent/glslang_tab.cpp"
10511|    161|    break;
10512|       |
10513|    161|  case 475: /* type_specifier_nonarray: UIMAGE1D  */
  ------------------
  |  Branch (10513:3): [True: 161, False: 3.14M]
  ------------------
10514|    161|#line 3213 "MachineIndependent/glslang.y"
10515|    161|               {
10516|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
10517|    161|        (yyval.interm.type).basicType = EbtSampler;
10518|    161|        (yyval.interm.type).sampler.setImage(EbtUint, Esd1D);
10519|    161|    }
10520|    161|#line 10521 "MachineIndependent/glslang_tab.cpp"
10521|    161|    break;
10522|       |
10523|    175|  case 476: /* type_specifier_nonarray: IMAGE2D  */
  ------------------
  |  Branch (10523:3): [True: 175, False: 3.14M]
  ------------------
10524|    175|#line 3218 "MachineIndependent/glslang.y"
10525|    175|              {
10526|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10527|    175|        (yyval.interm.type).basicType = EbtSampler;
10528|    175|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D);
10529|    175|    }
10530|    175|#line 10531 "MachineIndependent/glslang_tab.cpp"
10531|    175|    break;
10532|       |
10533|    175|  case 477: /* type_specifier_nonarray: F16IMAGE2D  */
  ------------------
  |  Branch (10533:3): [True: 175, False: 3.14M]
  ------------------
10534|    175|#line 3223 "MachineIndependent/glslang.y"
10535|    175|                 {
10536|    175|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10537|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10538|    175|        (yyval.interm.type).basicType = EbtSampler;
10539|    175|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D);
10540|    175|    }
10541|    175|#line 10542 "MachineIndependent/glslang_tab.cpp"
10542|    175|    break;
10543|       |
10544|    175|  case 478: /* type_specifier_nonarray: IIMAGE2D  */
  ------------------
  |  Branch (10544:3): [True: 175, False: 3.14M]
  ------------------
10545|    175|#line 3229 "MachineIndependent/glslang.y"
10546|    175|               {
10547|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10548|    175|        (yyval.interm.type).basicType = EbtSampler;
10549|    175|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D);
10550|    175|    }
10551|    175|#line 10552 "MachineIndependent/glslang_tab.cpp"
10552|    175|    break;
10553|       |
10554|    175|  case 479: /* type_specifier_nonarray: UIMAGE2D  */
  ------------------
  |  Branch (10554:3): [True: 175, False: 3.14M]
  ------------------
10555|    175|#line 3234 "MachineIndependent/glslang.y"
10556|    175|               {
10557|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10558|    175|        (yyval.interm.type).basicType = EbtSampler;
10559|    175|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D);
10560|    175|    }
10561|    175|#line 10562 "MachineIndependent/glslang_tab.cpp"
10562|    175|    break;
10563|       |
10564|    175|  case 480: /* type_specifier_nonarray: IMAGE3D  */
  ------------------
  |  Branch (10564:3): [True: 175, False: 3.14M]
  ------------------
10565|    175|#line 3239 "MachineIndependent/glslang.y"
10566|    175|              {
10567|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10568|    175|        (yyval.interm.type).basicType = EbtSampler;
10569|    175|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd3D);
10570|    175|    }
10571|    175|#line 10572 "MachineIndependent/glslang_tab.cpp"
10572|    175|    break;
10573|       |
10574|    175|  case 481: /* type_specifier_nonarray: F16IMAGE3D  */
  ------------------
  |  Branch (10574:3): [True: 175, False: 3.14M]
  ------------------
10575|    175|#line 3244 "MachineIndependent/glslang.y"
10576|    175|                 {
10577|    175|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10578|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10579|    175|        (yyval.interm.type).basicType = EbtSampler;
10580|    175|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd3D);
10581|    175|    }
10582|    175|#line 10583 "MachineIndependent/glslang_tab.cpp"
10583|    175|    break;
10584|       |
10585|    175|  case 482: /* type_specifier_nonarray: IIMAGE3D  */
  ------------------
  |  Branch (10585:3): [True: 175, False: 3.14M]
  ------------------
10586|    175|#line 3250 "MachineIndependent/glslang.y"
10587|    175|               {
10588|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10589|    175|        (yyval.interm.type).basicType = EbtSampler;
10590|    175|        (yyval.interm.type).sampler.setImage(EbtInt, Esd3D);
10591|    175|    }
10592|    175|#line 10593 "MachineIndependent/glslang_tab.cpp"
10593|    175|    break;
10594|       |
10595|    175|  case 483: /* type_specifier_nonarray: UIMAGE3D  */
  ------------------
  |  Branch (10595:3): [True: 175, False: 3.14M]
  ------------------
10596|    175|#line 3255 "MachineIndependent/glslang.y"
10597|    175|               {
10598|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10599|    175|        (yyval.interm.type).basicType = EbtSampler;
10600|    175|        (yyval.interm.type).sampler.setImage(EbtUint, Esd3D);
10601|    175|    }
10602|    175|#line 10603 "MachineIndependent/glslang_tab.cpp"
10603|    175|    break;
10604|       |
10605|    154|  case 484: /* type_specifier_nonarray: IMAGE2DRECT  */
  ------------------
  |  Branch (10605:3): [True: 154, False: 3.14M]
  ------------------
10606|    154|#line 3260 "MachineIndependent/glslang.y"
10607|    154|                  {
10608|    154|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    154|#define parseContext (*pParseContext)
  ------------------
10609|    154|        (yyval.interm.type).basicType = EbtSampler;
10610|    154|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdRect);
10611|    154|    }
10612|    154|#line 10613 "MachineIndependent/glslang_tab.cpp"
10613|    154|    break;
10614|       |
10615|    154|  case 485: /* type_specifier_nonarray: F16IMAGE2DRECT  */
  ------------------
  |  Branch (10615:3): [True: 154, False: 3.14M]
  ------------------
10616|    154|#line 3265 "MachineIndependent/glslang.y"
10617|    154|                     {
10618|    154|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    154|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    154|#define parseContext (*pParseContext)
  ------------------
10619|    154|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    154|#define parseContext (*pParseContext)
  ------------------
10620|    154|        (yyval.interm.type).basicType = EbtSampler;
10621|    154|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdRect);
10622|    154|    }
10623|    154|#line 10624 "MachineIndependent/glslang_tab.cpp"
10624|    154|    break;
10625|       |
10626|    154|  case 486: /* type_specifier_nonarray: IIMAGE2DRECT  */
  ------------------
  |  Branch (10626:3): [True: 154, False: 3.14M]
  ------------------
10627|    154|#line 3271 "MachineIndependent/glslang.y"
10628|    154|                   {
10629|    154|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    154|#define parseContext (*pParseContext)
  ------------------
10630|    154|        (yyval.interm.type).basicType = EbtSampler;
10631|    154|        (yyval.interm.type).sampler.setImage(EbtInt, EsdRect);
10632|    154|    }
10633|    154|#line 10634 "MachineIndependent/glslang_tab.cpp"
10634|    154|    break;
10635|       |
10636|    154|  case 487: /* type_specifier_nonarray: UIMAGE2DRECT  */
  ------------------
  |  Branch (10636:3): [True: 154, False: 3.14M]
  ------------------
10637|    154|#line 3276 "MachineIndependent/glslang.y"
10638|    154|                   {
10639|    154|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    154|#define parseContext (*pParseContext)
  ------------------
10640|    154|        (yyval.interm.type).basicType = EbtSampler;
10641|    154|        (yyval.interm.type).sampler.setImage(EbtUint, EsdRect);
10642|    154|    }
10643|    154|#line 10644 "MachineIndependent/glslang_tab.cpp"
10644|    154|    break;
10645|       |
10646|    175|  case 488: /* type_specifier_nonarray: IMAGECUBE  */
  ------------------
  |  Branch (10646:3): [True: 175, False: 3.14M]
  ------------------
10647|    175|#line 3281 "MachineIndependent/glslang.y"
10648|    175|                {
10649|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10650|    175|        (yyval.interm.type).basicType = EbtSampler;
10651|    175|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdCube);
10652|    175|    }
10653|    175|#line 10654 "MachineIndependent/glslang_tab.cpp"
10654|    175|    break;
10655|       |
10656|    175|  case 489: /* type_specifier_nonarray: F16IMAGECUBE  */
  ------------------
  |  Branch (10656:3): [True: 175, False: 3.14M]
  ------------------
10657|    175|#line 3286 "MachineIndependent/glslang.y"
10658|    175|                   {
10659|    175|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10660|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10661|    175|        (yyval.interm.type).basicType = EbtSampler;
10662|    175|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdCube);
10663|    175|    }
10664|    175|#line 10665 "MachineIndependent/glslang_tab.cpp"
10665|    175|    break;
10666|       |
10667|    175|  case 490: /* type_specifier_nonarray: IIMAGECUBE  */
  ------------------
  |  Branch (10667:3): [True: 175, False: 3.14M]
  ------------------
10668|    175|#line 3292 "MachineIndependent/glslang.y"
10669|    175|                 {
10670|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10671|    175|        (yyval.interm.type).basicType = EbtSampler;
10672|    175|        (yyval.interm.type).sampler.setImage(EbtInt, EsdCube);
10673|    175|    }
10674|    175|#line 10675 "MachineIndependent/glslang_tab.cpp"
10675|    175|    break;
10676|       |
10677|    175|  case 491: /* type_specifier_nonarray: UIMAGECUBE  */
  ------------------
  |  Branch (10677:3): [True: 175, False: 3.14M]
  ------------------
10678|    175|#line 3297 "MachineIndependent/glslang.y"
10679|    175|                 {
10680|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10681|    175|        (yyval.interm.type).basicType = EbtSampler;
10682|    175|        (yyval.interm.type).sampler.setImage(EbtUint, EsdCube);
10683|    175|    }
10684|    175|#line 10685 "MachineIndependent/glslang_tab.cpp"
10685|    175|    break;
10686|       |
10687|    147|  case 492: /* type_specifier_nonarray: IMAGEBUFFER  */
  ------------------
  |  Branch (10687:3): [True: 147, False: 3.14M]
  ------------------
10688|    147|#line 3302 "MachineIndependent/glslang.y"
10689|    147|                  {
10690|    147|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    147|#define parseContext (*pParseContext)
  ------------------
10691|    147|        (yyval.interm.type).basicType = EbtSampler;
10692|    147|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdBuffer);
10693|    147|    }
10694|    147|#line 10695 "MachineIndependent/glslang_tab.cpp"
10695|    147|    break;
10696|       |
10697|    147|  case 493: /* type_specifier_nonarray: F16IMAGEBUFFER  */
  ------------------
  |  Branch (10697:3): [True: 147, False: 3.14M]
  ------------------
10698|    147|#line 3307 "MachineIndependent/glslang.y"
10699|    147|                     {
10700|    147|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    147|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    147|#define parseContext (*pParseContext)
  ------------------
10701|    147|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    147|#define parseContext (*pParseContext)
  ------------------
10702|    147|        (yyval.interm.type).basicType = EbtSampler;
10703|    147|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdBuffer);
10704|    147|    }
10705|    147|#line 10706 "MachineIndependent/glslang_tab.cpp"
10706|    147|    break;
10707|       |
10708|    147|  case 494: /* type_specifier_nonarray: IIMAGEBUFFER  */
  ------------------
  |  Branch (10708:3): [True: 147, False: 3.14M]
  ------------------
10709|    147|#line 3313 "MachineIndependent/glslang.y"
10710|    147|                   {
10711|    147|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    147|#define parseContext (*pParseContext)
  ------------------
10712|    147|        (yyval.interm.type).basicType = EbtSampler;
10713|    147|        (yyval.interm.type).sampler.setImage(EbtInt, EsdBuffer);
10714|    147|    }
10715|    147|#line 10716 "MachineIndependent/glslang_tab.cpp"
10716|    147|    break;
10717|       |
10718|    147|  case 495: /* type_specifier_nonarray: UIMAGEBUFFER  */
  ------------------
  |  Branch (10718:3): [True: 147, False: 3.14M]
  ------------------
10719|    147|#line 3318 "MachineIndependent/glslang.y"
10720|    147|                   {
10721|    147|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    147|#define parseContext (*pParseContext)
  ------------------
10722|    147|        (yyval.interm.type).basicType = EbtSampler;
10723|    147|        (yyval.interm.type).sampler.setImage(EbtUint, EsdBuffer);
10724|    147|    }
10725|    147|#line 10726 "MachineIndependent/glslang_tab.cpp"
10726|    147|    break;
10727|       |
10728|    161|  case 496: /* type_specifier_nonarray: IMAGE1DARRAY  */
  ------------------
  |  Branch (10728:3): [True: 161, False: 3.14M]
  ------------------
10729|    161|#line 3323 "MachineIndependent/glslang.y"
10730|    161|                   {
10731|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
10732|    161|        (yyval.interm.type).basicType = EbtSampler;
10733|    161|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd1D, true);
10734|    161|    }
10735|    161|#line 10736 "MachineIndependent/glslang_tab.cpp"
10736|    161|    break;
10737|       |
10738|    161|  case 497: /* type_specifier_nonarray: F16IMAGE1DARRAY  */
  ------------------
  |  Branch (10738:3): [True: 161, False: 3.14M]
  ------------------
10739|    161|#line 3328 "MachineIndependent/glslang.y"
10740|    161|                      {
10741|    161|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
10742|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
10743|    161|        (yyval.interm.type).basicType = EbtSampler;
10744|    161|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd1D, true);
10745|    161|    }
10746|    161|#line 10747 "MachineIndependent/glslang_tab.cpp"
10747|    161|    break;
10748|       |
10749|    161|  case 498: /* type_specifier_nonarray: IIMAGE1DARRAY  */
  ------------------
  |  Branch (10749:3): [True: 161, False: 3.14M]
  ------------------
10750|    161|#line 3334 "MachineIndependent/glslang.y"
10751|    161|                    {
10752|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
10753|    161|        (yyval.interm.type).basicType = EbtSampler;
10754|    161|        (yyval.interm.type).sampler.setImage(EbtInt, Esd1D, true);
10755|    161|    }
10756|    161|#line 10757 "MachineIndependent/glslang_tab.cpp"
10757|    161|    break;
10758|       |
10759|    161|  case 499: /* type_specifier_nonarray: UIMAGE1DARRAY  */
  ------------------
  |  Branch (10759:3): [True: 161, False: 3.14M]
  ------------------
10760|    161|#line 3339 "MachineIndependent/glslang.y"
10761|    161|                    {
10762|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
10763|    161|        (yyval.interm.type).basicType = EbtSampler;
10764|    161|        (yyval.interm.type).sampler.setImage(EbtUint, Esd1D, true);
10765|    161|    }
10766|    161|#line 10767 "MachineIndependent/glslang_tab.cpp"
10767|    161|    break;
10768|       |
10769|    175|  case 500: /* type_specifier_nonarray: IMAGE2DARRAY  */
  ------------------
  |  Branch (10769:3): [True: 175, False: 3.14M]
  ------------------
10770|    175|#line 3344 "MachineIndependent/glslang.y"
10771|    175|                   {
10772|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10773|    175|        (yyval.interm.type).basicType = EbtSampler;
10774|    175|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, true);
10775|    175|    }
10776|    175|#line 10777 "MachineIndependent/glslang_tab.cpp"
10777|    175|    break;
10778|       |
10779|    175|  case 501: /* type_specifier_nonarray: F16IMAGE2DARRAY  */
  ------------------
  |  Branch (10779:3): [True: 175, False: 3.14M]
  ------------------
10780|    175|#line 3349 "MachineIndependent/glslang.y"
10781|    175|                      {
10782|    175|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10783|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10784|    175|        (yyval.interm.type).basicType = EbtSampler;
10785|    175|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, true);
10786|    175|    }
10787|    175|#line 10788 "MachineIndependent/glslang_tab.cpp"
10788|    175|    break;
10789|       |
10790|    175|  case 502: /* type_specifier_nonarray: IIMAGE2DARRAY  */
  ------------------
  |  Branch (10790:3): [True: 175, False: 3.14M]
  ------------------
10791|    175|#line 3355 "MachineIndependent/glslang.y"
10792|    175|                    {
10793|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10794|    175|        (yyval.interm.type).basicType = EbtSampler;
10795|    175|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D, true);
10796|    175|    }
10797|    175|#line 10798 "MachineIndependent/glslang_tab.cpp"
10798|    175|    break;
10799|       |
10800|    175|  case 503: /* type_specifier_nonarray: UIMAGE2DARRAY  */
  ------------------
  |  Branch (10800:3): [True: 175, False: 3.14M]
  ------------------
10801|    175|#line 3360 "MachineIndependent/glslang.y"
10802|    175|                    {
10803|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10804|    175|        (yyval.interm.type).basicType = EbtSampler;
10805|    175|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D, true);
10806|    175|    }
10807|    175|#line 10808 "MachineIndependent/glslang_tab.cpp"
10808|    175|    break;
10809|       |
10810|    175|  case 504: /* type_specifier_nonarray: IMAGECUBEARRAY  */
  ------------------
  |  Branch (10810:3): [True: 175, False: 3.14M]
  ------------------
10811|    175|#line 3365 "MachineIndependent/glslang.y"
10812|    175|                     {
10813|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10814|    175|        (yyval.interm.type).basicType = EbtSampler;
10815|    175|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdCube, true);
10816|    175|    }
10817|    175|#line 10818 "MachineIndependent/glslang_tab.cpp"
10818|    175|    break;
10819|       |
10820|    175|  case 505: /* type_specifier_nonarray: F16IMAGECUBEARRAY  */
  ------------------
  |  Branch (10820:3): [True: 175, False: 3.14M]
  ------------------
10821|    175|#line 3370 "MachineIndependent/glslang.y"
10822|    175|                        {
10823|    175|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10824|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10825|    175|        (yyval.interm.type).basicType = EbtSampler;
10826|    175|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdCube, true);
10827|    175|    }
10828|    175|#line 10829 "MachineIndependent/glslang_tab.cpp"
10829|    175|    break;
10830|       |
10831|    175|  case 506: /* type_specifier_nonarray: IIMAGECUBEARRAY  */
  ------------------
  |  Branch (10831:3): [True: 175, False: 3.14M]
  ------------------
10832|    175|#line 3376 "MachineIndependent/glslang.y"
10833|    175|                      {
10834|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10835|    175|        (yyval.interm.type).basicType = EbtSampler;
10836|    175|        (yyval.interm.type).sampler.setImage(EbtInt, EsdCube, true);
10837|    175|    }
10838|    175|#line 10839 "MachineIndependent/glslang_tab.cpp"
10839|    175|    break;
10840|       |
10841|    175|  case 507: /* type_specifier_nonarray: UIMAGECUBEARRAY  */
  ------------------
  |  Branch (10841:3): [True: 175, False: 3.14M]
  ------------------
10842|    175|#line 3381 "MachineIndependent/glslang.y"
10843|    175|                      {
10844|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10845|    175|        (yyval.interm.type).basicType = EbtSampler;
10846|    175|        (yyval.interm.type).sampler.setImage(EbtUint, EsdCube, true);
10847|    175|    }
10848|    175|#line 10849 "MachineIndependent/glslang_tab.cpp"
10849|    175|    break;
10850|       |
10851|    161|  case 508: /* type_specifier_nonarray: IMAGE2DMS  */
  ------------------
  |  Branch (10851:3): [True: 161, False: 3.14M]
  ------------------
10852|    161|#line 3386 "MachineIndependent/glslang.y"
10853|    161|                {
10854|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
10855|    161|        (yyval.interm.type).basicType = EbtSampler;
10856|    161|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, false, false, true);
10857|    161|    }
10858|    161|#line 10859 "MachineIndependent/glslang_tab.cpp"
10859|    161|    break;
10860|       |
10861|    161|  case 509: /* type_specifier_nonarray: F16IMAGE2DMS  */
  ------------------
  |  Branch (10861:3): [True: 161, False: 3.14M]
  ------------------
10862|    161|#line 3391 "MachineIndependent/glslang.y"
10863|    161|                   {
10864|    161|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
10865|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
10866|    161|        (yyval.interm.type).basicType = EbtSampler;
10867|    161|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, false, false, true);
10868|    161|    }
10869|    161|#line 10870 "MachineIndependent/glslang_tab.cpp"
10870|    161|    break;
10871|       |
10872|    161|  case 510: /* type_specifier_nonarray: IIMAGE2DMS  */
  ------------------
  |  Branch (10872:3): [True: 161, False: 3.14M]
  ------------------
10873|    161|#line 3397 "MachineIndependent/glslang.y"
10874|    161|                 {
10875|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
10876|    161|        (yyval.interm.type).basicType = EbtSampler;
10877|    161|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D, false, false, true);
10878|    161|    }
10879|    161|#line 10880 "MachineIndependent/glslang_tab.cpp"
10880|    161|    break;
10881|       |
10882|    161|  case 511: /* type_specifier_nonarray: UIMAGE2DMS  */
  ------------------
  |  Branch (10882:3): [True: 161, False: 3.14M]
  ------------------
10883|    161|#line 3402 "MachineIndependent/glslang.y"
10884|    161|                 {
10885|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
10886|    161|        (yyval.interm.type).basicType = EbtSampler;
10887|    161|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D, false, false, true);
10888|    161|    }
10889|    161|#line 10890 "MachineIndependent/glslang_tab.cpp"
10890|    161|    break;
10891|       |
10892|    161|  case 512: /* type_specifier_nonarray: IMAGE2DMSARRAY  */
  ------------------
  |  Branch (10892:3): [True: 161, False: 3.14M]
  ------------------
10893|    161|#line 3407 "MachineIndependent/glslang.y"
10894|    161|                     {
10895|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
10896|    161|        (yyval.interm.type).basicType = EbtSampler;
10897|    161|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, true, false, true);
10898|    161|    }
10899|    161|#line 10900 "MachineIndependent/glslang_tab.cpp"
10900|    161|    break;
10901|       |
10902|    161|  case 513: /* type_specifier_nonarray: F16IMAGE2DMSARRAY  */
  ------------------
  |  Branch (10902:3): [True: 161, False: 3.14M]
  ------------------
10903|    161|#line 3412 "MachineIndependent/glslang.y"
10904|    161|                        {
10905|    161|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
10906|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
10907|    161|        (yyval.interm.type).basicType = EbtSampler;
10908|    161|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, true, false, true);
10909|    161|    }
10910|    161|#line 10911 "MachineIndependent/glslang_tab.cpp"
10911|    161|    break;
10912|       |
10913|    161|  case 514: /* type_specifier_nonarray: IIMAGE2DMSARRAY  */
  ------------------
  |  Branch (10913:3): [True: 161, False: 3.14M]
  ------------------
10914|    161|#line 3418 "MachineIndependent/glslang.y"
10915|    161|                      {
10916|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
10917|    161|        (yyval.interm.type).basicType = EbtSampler;
10918|    161|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D, true, false, true);
10919|    161|    }
10920|    161|#line 10921 "MachineIndependent/glslang_tab.cpp"
10921|    161|    break;
10922|       |
10923|    161|  case 515: /* type_specifier_nonarray: UIMAGE2DMSARRAY  */
  ------------------
  |  Branch (10923:3): [True: 161, False: 3.14M]
  ------------------
10924|    161|#line 3423 "MachineIndependent/glslang.y"
10925|    161|                      {
10926|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
10927|    161|        (yyval.interm.type).basicType = EbtSampler;
10928|    161|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D, true, false, true);
10929|    161|    }
10930|    161|#line 10931 "MachineIndependent/glslang_tab.cpp"
10931|    161|    break;
10932|       |
10933|    161|  case 516: /* type_specifier_nonarray: I64IMAGE1D  */
  ------------------
  |  Branch (10933:3): [True: 161, False: 3.14M]
  ------------------
10934|    161|#line 3428 "MachineIndependent/glslang.y"
10935|    161|                 {
10936|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
10937|    161|        (yyval.interm.type).basicType = EbtSampler;
10938|    161|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd1D);
10939|    161|    }
10940|    161|#line 10941 "MachineIndependent/glslang_tab.cpp"
10941|    161|    break;
10942|       |
10943|    161|  case 517: /* type_specifier_nonarray: U64IMAGE1D  */
  ------------------
  |  Branch (10943:3): [True: 161, False: 3.14M]
  ------------------
10944|    161|#line 3433 "MachineIndependent/glslang.y"
10945|    161|                 {
10946|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
10947|    161|        (yyval.interm.type).basicType = EbtSampler;
10948|    161|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd1D);
10949|    161|    }
10950|    161|#line 10951 "MachineIndependent/glslang_tab.cpp"
10951|    161|    break;
10952|       |
10953|    175|  case 518: /* type_specifier_nonarray: I64IMAGE2D  */
  ------------------
  |  Branch (10953:3): [True: 175, False: 3.14M]
  ------------------
10954|    175|#line 3438 "MachineIndependent/glslang.y"
10955|    175|                 {
10956|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10957|    175|        (yyval.interm.type).basicType = EbtSampler;
10958|    175|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D);
10959|    175|    }
10960|    175|#line 10961 "MachineIndependent/glslang_tab.cpp"
10961|    175|    break;
10962|       |
10963|    175|  case 519: /* type_specifier_nonarray: U64IMAGE2D  */
  ------------------
  |  Branch (10963:3): [True: 175, False: 3.14M]
  ------------------
10964|    175|#line 3443 "MachineIndependent/glslang.y"
10965|    175|                 {
10966|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10967|    175|        (yyval.interm.type).basicType = EbtSampler;
10968|    175|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D);
10969|    175|    }
10970|    175|#line 10971 "MachineIndependent/glslang_tab.cpp"
10971|    175|    break;
10972|       |
10973|    175|  case 520: /* type_specifier_nonarray: I64IMAGE3D  */
  ------------------
  |  Branch (10973:3): [True: 175, False: 3.14M]
  ------------------
10974|    175|#line 3448 "MachineIndependent/glslang.y"
10975|    175|                 {
10976|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10977|    175|        (yyval.interm.type).basicType = EbtSampler;
10978|    175|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd3D);
10979|    175|    }
10980|    175|#line 10981 "MachineIndependent/glslang_tab.cpp"
10981|    175|    break;
10982|       |
10983|    175|  case 521: /* type_specifier_nonarray: U64IMAGE3D  */
  ------------------
  |  Branch (10983:3): [True: 175, False: 3.14M]
  ------------------
10984|    175|#line 3453 "MachineIndependent/glslang.y"
10985|    175|                 {
10986|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
10987|    175|        (yyval.interm.type).basicType = EbtSampler;
10988|    175|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd3D);
10989|    175|    }
10990|    175|#line 10991 "MachineIndependent/glslang_tab.cpp"
10991|    175|    break;
10992|       |
10993|    154|  case 522: /* type_specifier_nonarray: I64IMAGE2DRECT  */
  ------------------
  |  Branch (10993:3): [True: 154, False: 3.14M]
  ------------------
10994|    154|#line 3458 "MachineIndependent/glslang.y"
10995|    154|                     {
10996|    154|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    154|#define parseContext (*pParseContext)
  ------------------
10997|    154|        (yyval.interm.type).basicType = EbtSampler;
10998|    154|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdRect);
10999|    154|    }
11000|    154|#line 11001 "MachineIndependent/glslang_tab.cpp"
11001|    154|    break;
11002|       |
11003|    154|  case 523: /* type_specifier_nonarray: U64IMAGE2DRECT  */
  ------------------
  |  Branch (11003:3): [True: 154, False: 3.14M]
  ------------------
11004|    154|#line 3463 "MachineIndependent/glslang.y"
11005|    154|                     {
11006|    154|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    154|#define parseContext (*pParseContext)
  ------------------
11007|    154|        (yyval.interm.type).basicType = EbtSampler;
11008|    154|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdRect);
11009|    154|    }
11010|    154|#line 11011 "MachineIndependent/glslang_tab.cpp"
11011|    154|    break;
11012|       |
11013|    175|  case 524: /* type_specifier_nonarray: I64IMAGECUBE  */
  ------------------
  |  Branch (11013:3): [True: 175, False: 3.14M]
  ------------------
11014|    175|#line 3468 "MachineIndependent/glslang.y"
11015|    175|                   {
11016|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
11017|    175|        (yyval.interm.type).basicType = EbtSampler;
11018|    175|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdCube);
11019|    175|    }
11020|    175|#line 11021 "MachineIndependent/glslang_tab.cpp"
11021|    175|    break;
11022|       |
11023|    175|  case 525: /* type_specifier_nonarray: U64IMAGECUBE  */
  ------------------
  |  Branch (11023:3): [True: 175, False: 3.14M]
  ------------------
11024|    175|#line 3473 "MachineIndependent/glslang.y"
11025|    175|                   {
11026|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
11027|    175|        (yyval.interm.type).basicType = EbtSampler;
11028|    175|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdCube);
11029|    175|    }
11030|    175|#line 11031 "MachineIndependent/glslang_tab.cpp"
11031|    175|    break;
11032|       |
11033|    147|  case 526: /* type_specifier_nonarray: I64IMAGEBUFFER  */
  ------------------
  |  Branch (11033:3): [True: 147, False: 3.14M]
  ------------------
11034|    147|#line 3478 "MachineIndependent/glslang.y"
11035|    147|                     {
11036|    147|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    147|#define parseContext (*pParseContext)
  ------------------
11037|    147|        (yyval.interm.type).basicType = EbtSampler;
11038|    147|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdBuffer);
11039|    147|    }
11040|    147|#line 11041 "MachineIndependent/glslang_tab.cpp"
11041|    147|    break;
11042|       |
11043|    147|  case 527: /* type_specifier_nonarray: U64IMAGEBUFFER  */
  ------------------
  |  Branch (11043:3): [True: 147, False: 3.14M]
  ------------------
11044|    147|#line 3483 "MachineIndependent/glslang.y"
11045|    147|                     {
11046|    147|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    147|#define parseContext (*pParseContext)
  ------------------
11047|    147|        (yyval.interm.type).basicType = EbtSampler;
11048|    147|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdBuffer);
11049|    147|    }
11050|    147|#line 11051 "MachineIndependent/glslang_tab.cpp"
11051|    147|    break;
11052|       |
11053|    161|  case 528: /* type_specifier_nonarray: I64IMAGE1DARRAY  */
  ------------------
  |  Branch (11053:3): [True: 161, False: 3.14M]
  ------------------
11054|    161|#line 3488 "MachineIndependent/glslang.y"
11055|    161|                      {
11056|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
11057|    161|        (yyval.interm.type).basicType = EbtSampler;
11058|    161|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd1D, true);
11059|    161|    }
11060|    161|#line 11061 "MachineIndependent/glslang_tab.cpp"
11061|    161|    break;
11062|       |
11063|    161|  case 529: /* type_specifier_nonarray: U64IMAGE1DARRAY  */
  ------------------
  |  Branch (11063:3): [True: 161, False: 3.14M]
  ------------------
11064|    161|#line 3493 "MachineIndependent/glslang.y"
11065|    161|                      {
11066|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
11067|    161|        (yyval.interm.type).basicType = EbtSampler;
11068|    161|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd1D, true);
11069|    161|    }
11070|    161|#line 11071 "MachineIndependent/glslang_tab.cpp"
11071|    161|    break;
11072|       |
11073|    175|  case 530: /* type_specifier_nonarray: I64IMAGE2DARRAY  */
  ------------------
  |  Branch (11073:3): [True: 175, False: 3.14M]
  ------------------
11074|    175|#line 3498 "MachineIndependent/glslang.y"
11075|    175|                      {
11076|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
11077|    175|        (yyval.interm.type).basicType = EbtSampler;
11078|    175|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, true);
11079|    175|    }
11080|    175|#line 11081 "MachineIndependent/glslang_tab.cpp"
11081|    175|    break;
11082|       |
11083|    175|  case 531: /* type_specifier_nonarray: U64IMAGE2DARRAY  */
  ------------------
  |  Branch (11083:3): [True: 175, False: 3.14M]
  ------------------
11084|    175|#line 3503 "MachineIndependent/glslang.y"
11085|    175|                      {
11086|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
11087|    175|        (yyval.interm.type).basicType = EbtSampler;
11088|    175|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, true);
11089|    175|    }
11090|    175|#line 11091 "MachineIndependent/glslang_tab.cpp"
11091|    175|    break;
11092|       |
11093|    175|  case 532: /* type_specifier_nonarray: I64IMAGECUBEARRAY  */
  ------------------
  |  Branch (11093:3): [True: 175, False: 3.14M]
  ------------------
11094|    175|#line 3508 "MachineIndependent/glslang.y"
11095|    175|                        {
11096|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
11097|    175|        (yyval.interm.type).basicType = EbtSampler;
11098|    175|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdCube, true);
11099|    175|    }
11100|    175|#line 11101 "MachineIndependent/glslang_tab.cpp"
11101|    175|    break;
11102|       |
11103|    175|  case 533: /* type_specifier_nonarray: U64IMAGECUBEARRAY  */
  ------------------
  |  Branch (11103:3): [True: 175, False: 3.14M]
  ------------------
11104|    175|#line 3513 "MachineIndependent/glslang.y"
11105|    175|                        {
11106|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
11107|    175|        (yyval.interm.type).basicType = EbtSampler;
11108|    175|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdCube, true);
11109|    175|    }
11110|    175|#line 11111 "MachineIndependent/glslang_tab.cpp"
11111|    175|    break;
11112|       |
11113|    161|  case 534: /* type_specifier_nonarray: I64IMAGE2DMS  */
  ------------------
  |  Branch (11113:3): [True: 161, False: 3.14M]
  ------------------
11114|    161|#line 3518 "MachineIndependent/glslang.y"
11115|    161|                   {
11116|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
11117|    161|        (yyval.interm.type).basicType = EbtSampler;
11118|    161|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, false, false, true);
11119|    161|    }
11120|    161|#line 11121 "MachineIndependent/glslang_tab.cpp"
11121|    161|    break;
11122|       |
11123|    161|  case 535: /* type_specifier_nonarray: U64IMAGE2DMS  */
  ------------------
  |  Branch (11123:3): [True: 161, False: 3.14M]
  ------------------
11124|    161|#line 3523 "MachineIndependent/glslang.y"
11125|    161|                   {
11126|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
11127|    161|        (yyval.interm.type).basicType = EbtSampler;
11128|    161|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, false, false, true);
11129|    161|    }
11130|    161|#line 11131 "MachineIndependent/glslang_tab.cpp"
11131|    161|    break;
11132|       |
11133|    161|  case 536: /* type_specifier_nonarray: I64IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11133:3): [True: 161, False: 3.14M]
  ------------------
11134|    161|#line 3528 "MachineIndependent/glslang.y"
11135|    161|                        {
11136|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
11137|    161|        (yyval.interm.type).basicType = EbtSampler;
11138|    161|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, true, false, true);
11139|    161|    }
11140|    161|#line 11141 "MachineIndependent/glslang_tab.cpp"
11141|    161|    break;
11142|       |
11143|    161|  case 537: /* type_specifier_nonarray: U64IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11143:3): [True: 161, False: 3.14M]
  ------------------
11144|    161|#line 3533 "MachineIndependent/glslang.y"
11145|    161|                        {
11146|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    161|#define parseContext (*pParseContext)
  ------------------
11147|    161|        (yyval.interm.type).basicType = EbtSampler;
11148|    161|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, true, false, true);
11149|    161|    }
11150|    161|#line 11151 "MachineIndependent/glslang_tab.cpp"
11151|    161|    break;
11152|       |
11153|    234|  case 538: /* type_specifier_nonarray: SAMPLEREXTERNALOES  */
  ------------------
  |  Branch (11153:3): [True: 234, False: 3.14M]
  ------------------
11154|    234|#line 3538 "MachineIndependent/glslang.y"
11155|    234|                         {  // GL_OES_EGL_image_external
11156|    234|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    234|#define parseContext (*pParseContext)
  ------------------
11157|    234|        (yyval.interm.type).basicType = EbtSampler;
11158|    234|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D);
11159|    234|        (yyval.interm.type).sampler.external = true;
11160|    234|    }
11161|    234|#line 11162 "MachineIndependent/glslang_tab.cpp"
11162|    234|    break;
11163|       |
11164|    624|  case 539: /* type_specifier_nonarray: SAMPLEREXTERNAL2DY2YEXT  */
  ------------------
  |  Branch (11164:3): [True: 624, False: 3.14M]
  ------------------
11165|    624|#line 3544 "MachineIndependent/glslang.y"
11166|    624|                              { // GL_EXT_YUV_target
11167|    624|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    624|#define parseContext (*pParseContext)
  ------------------
11168|    624|        (yyval.interm.type).basicType = EbtSampler;
11169|    624|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D);
11170|    624|        (yyval.interm.type).sampler.yuv = true;
11171|    624|    }
11172|    624|#line 11173 "MachineIndependent/glslang_tab.cpp"
11173|    624|    break;
11174|       |
11175|      0|  case 540: /* type_specifier_nonarray: ATTACHMENTEXT  */
  ------------------
  |  Branch (11175:3): [True: 0, False: 3.14M]
  ------------------
11176|      0|#line 3550 "MachineIndependent/glslang.y"
11177|      0|                    {
11178|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "attachmentEXT input");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11179|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11180|      0|        (yyval.interm.type).basicType = EbtSampler;
11181|      0|        (yyval.interm.type).sampler.setAttachmentEXT(EbtFloat);
11182|      0|    }
11183|      0|#line 11184 "MachineIndependent/glslang_tab.cpp"
11184|      0|    break;
11185|       |
11186|      0|  case 541: /* type_specifier_nonarray: IATTACHMENTEXT  */
  ------------------
  |  Branch (11186:3): [True: 0, False: 3.14M]
  ------------------
11187|      0|#line 3556 "MachineIndependent/glslang.y"
11188|      0|                     {
11189|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "attachmentEXT input");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11190|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11191|      0|        (yyval.interm.type).basicType = EbtSampler;
11192|      0|        (yyval.interm.type).sampler.setAttachmentEXT(EbtInt);
11193|      0|    }
11194|      0|#line 11195 "MachineIndependent/glslang_tab.cpp"
11195|      0|    break;
11196|       |
11197|      0|  case 542: /* type_specifier_nonarray: UATTACHMENTEXT  */
  ------------------
  |  Branch (11197:3): [True: 0, False: 3.14M]
  ------------------
11198|      0|#line 3562 "MachineIndependent/glslang.y"
11199|      0|                     {
11200|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "attachmentEXT input");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11201|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11202|      0|        (yyval.interm.type).basicType = EbtSampler;
11203|      0|        (yyval.interm.type).sampler.setAttachmentEXT(EbtUint);
11204|      0|    }
11205|      0|#line 11206 "MachineIndependent/glslang_tab.cpp"
11206|      0|    break;
11207|       |
11208|      0|  case 543: /* type_specifier_nonarray: SUBPASSINPUT  */
  ------------------
  |  Branch (11208:3): [True: 0, False: 3.14M]
  ------------------
11209|      0|#line 3568 "MachineIndependent/glslang.y"
11210|      0|                   {
11211|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11212|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11213|      0|        (yyval.interm.type).basicType = EbtSampler;
11214|      0|        (yyval.interm.type).sampler.setSubpass(EbtFloat);
11215|      0|    }
11216|      0|#line 11217 "MachineIndependent/glslang_tab.cpp"
11217|      0|    break;
11218|       |
11219|      0|  case 544: /* type_specifier_nonarray: SUBPASSINPUTMS  */
  ------------------
  |  Branch (11219:3): [True: 0, False: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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|      0|  case 547: /* type_specifier_nonarray: ISUBPASSINPUT  */
  ------------------
  |  Branch (11254:3): [True: 0, False: 3.14M]
  ------------------
11255|      0|#line 3594 "MachineIndependent/glslang.y"
11256|      0|                    {
11257|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11258|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11259|      0|        (yyval.interm.type).basicType = EbtSampler;
11260|      0|        (yyval.interm.type).sampler.setSubpass(EbtInt);
11261|      0|    }
11262|      0|#line 11263 "MachineIndependent/glslang_tab.cpp"
11263|      0|    break;
11264|       |
11265|      0|  case 548: /* type_specifier_nonarray: ISUBPASSINPUTMS  */
  ------------------
  |  Branch (11265:3): [True: 0, False: 3.14M]
  ------------------
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|      0|  case 549: /* type_specifier_nonarray: USUBPASSINPUT  */
  ------------------
  |  Branch (11276:3): [True: 0, False: 3.14M]
  ------------------
11277|      0|#line 3606 "MachineIndependent/glslang.y"
11278|      0|                    {
11279|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11280|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11281|      0|        (yyval.interm.type).basicType = EbtSampler;
11282|      0|        (yyval.interm.type).sampler.setSubpass(EbtUint);
11283|      0|    }
11284|      0|#line 11285 "MachineIndependent/glslang_tab.cpp"
11285|      0|    break;
11286|       |
11287|      0|  case 550: /* type_specifier_nonarray: USUBPASSINPUTMS  */
  ------------------
  |  Branch (11287:3): [True: 0, False: 3.14M]
  ------------------
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|    147|  case 551: /* type_specifier_nonarray: FCOOPMATNV  */
  ------------------
  |  Branch (11298:3): [True: 147, False: 3.14M]
  ------------------
11299|    147|#line 3618 "MachineIndependent/glslang.y"
11300|    147|                 {
11301|    147|        parseContext.fcoopmatCheckNV((yyvsp[0].lex).loc, "fcoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    147|#define parseContext (*pParseContext)
  ------------------
                      parseContext.fcoopmatCheckNV((yyvsp[0].lex).loc, "fcoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    147|#define parseContext (*pParseContext)
  ------------------
11302|    147|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    147|#define parseContext (*pParseContext)
  ------------------
11303|    147|        (yyval.interm.type).basicType = EbtFloat;
11304|    147|        (yyval.interm.type).coopmatNV = true;
11305|    147|        (yyval.interm.type).coopmatKHR = false;
11306|    147|    }
11307|    147|#line 11308 "MachineIndependent/glslang_tab.cpp"
11308|    147|    break;
11309|       |
11310|    196|  case 552: /* type_specifier_nonarray: ICOOPMATNV  */
  ------------------
  |  Branch (11310:3): [True: 196, False: 3.14M]
  ------------------
11311|    196|#line 3625 "MachineIndependent/glslang.y"
11312|    196|                 {
11313|    196|        parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "icoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    196|#define parseContext (*pParseContext)
  ------------------
                      parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "icoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    196|#define parseContext (*pParseContext)
  ------------------
11314|    196|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    196|#define parseContext (*pParseContext)
  ------------------
11315|    196|        (yyval.interm.type).basicType = EbtInt;
11316|    196|        (yyval.interm.type).coopmatNV = true;
11317|    196|        (yyval.interm.type).coopmatKHR = false;
11318|    196|    }
11319|    196|#line 11320 "MachineIndependent/glslang_tab.cpp"
11320|    196|    break;
11321|       |
11322|    196|  case 553: /* type_specifier_nonarray: UCOOPMATNV  */
  ------------------
  |  Branch (11322:3): [True: 196, False: 3.14M]
  ------------------
11323|    196|#line 3632 "MachineIndependent/glslang.y"
11324|    196|                 {
11325|    196|        parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "ucoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    196|#define parseContext (*pParseContext)
  ------------------
                      parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "ucoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    196|#define parseContext (*pParseContext)
  ------------------
11326|    196|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    196|#define parseContext (*pParseContext)
  ------------------
11327|    196|        (yyval.interm.type).basicType = EbtUint;
11328|    196|        (yyval.interm.type).coopmatNV = true;
11329|    196|        (yyval.interm.type).coopmatKHR = false;
11330|    196|    }
11331|    196|#line 11332 "MachineIndependent/glslang_tab.cpp"
11332|    196|    break;
11333|       |
11334|  1.45k|  case 554: /* type_specifier_nonarray: COOPMAT  */
  ------------------
  |  Branch (11334:3): [True: 1.45k, False: 3.14M]
  ------------------
11335|  1.45k|#line 3639 "MachineIndependent/glslang.y"
11336|  1.45k|              {
11337|  1.45k|        parseContext.coopmatCheck((yyvsp[0].lex).loc, "coopmat", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.45k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.coopmatCheck((yyvsp[0].lex).loc, "coopmat", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  1.45k|#define parseContext (*pParseContext)
  ------------------
11338|  1.45k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  1.45k|#define parseContext (*pParseContext)
  ------------------
11339|  1.45k|        (yyval.interm.type).basicType = EbtCoopmat;
11340|  1.45k|        (yyval.interm.type).coopmatNV = false;
11341|  1.45k|        (yyval.interm.type).coopmatKHR = true;
11342|  1.45k|    }
11343|  1.45k|#line 11344 "MachineIndependent/glslang_tab.cpp"
11344|  1.45k|    break;
11345|       |
11346|    392|  case 555: /* type_specifier_nonarray: TENSORLAYOUTNV  */
  ------------------
  |  Branch (11346:3): [True: 392, False: 3.14M]
  ------------------
11347|    392|#line 3646 "MachineIndependent/glslang.y"
11348|    392|                     {
11349|    392|        parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorLayoutNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    392|#define parseContext (*pParseContext)
  ------------------
                      parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorLayoutNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    392|#define parseContext (*pParseContext)
  ------------------
11350|    392|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    392|#define parseContext (*pParseContext)
  ------------------
11351|    392|        (yyval.interm.type).basicType = EbtTensorLayoutNV;
11352|    392|    }
11353|    392|#line 11354 "MachineIndependent/glslang_tab.cpp"
11354|    392|    break;
11355|       |
11356|    245|  case 556: /* type_specifier_nonarray: TENSORVIEWNV  */
  ------------------
  |  Branch (11356:3): [True: 245, False: 3.14M]
  ------------------
11357|    245|#line 3651 "MachineIndependent/glslang.y"
11358|    245|                   {
11359|    245|        parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorViewNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    245|#define parseContext (*pParseContext)
  ------------------
                      parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorViewNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    245|#define parseContext (*pParseContext)
  ------------------
11360|    245|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    245|#define parseContext (*pParseContext)
  ------------------
11361|    245|        (yyval.interm.type).basicType = EbtTensorViewNV;
11362|    245|    }
11363|    245|#line 11364 "MachineIndependent/glslang_tab.cpp"
11364|    245|    break;
11365|       |
11366|     35|  case 557: /* type_specifier_nonarray: FUNCTION  */
  ------------------
  |  Branch (11366:3): [True: 35, False: 3.14M]
  ------------------
11367|     35|#line 3656 "MachineIndependent/glslang.y"
11368|     35|               {
11369|     35|        (yyval.interm.type).init((yyvsp[0].lex).loc);
11370|     35|        (yyval.interm.type).basicType = EbtFunction;
11371|     35|    }
11372|     35|#line 11373 "MachineIndependent/glslang_tab.cpp"
11373|     35|    break;
11374|       |
11375|  5.56k|  case 558: /* type_specifier_nonarray: COOPVECNV  */
  ------------------
  |  Branch (11375:3): [True: 5.56k, False: 3.13M]
  ------------------
11376|  5.56k|#line 3660 "MachineIndependent/glslang.y"
11377|  5.56k|                {
11378|  5.56k|        parseContext.coopvecCheck((yyvsp[0].lex).loc, "coopvecNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  5.56k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.coopvecCheck((yyvsp[0].lex).loc, "coopvecNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  5.56k|#define parseContext (*pParseContext)
  ------------------
11379|  5.56k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  5.56k|#define parseContext (*pParseContext)
  ------------------
11380|  5.56k|        (yyval.interm.type).basicType = EbtCoopvecNV;
11381|  5.56k|        (yyval.interm.type).coopvecNV = true;
11382|  5.56k|    }
11383|  5.56k|#line 11384 "MachineIndependent/glslang_tab.cpp"
11384|  5.56k|    break;
11385|       |
11386|    427|  case 559: /* type_specifier_nonarray: TENSORARM  */
  ------------------
  |  Branch (11386:3): [True: 427, False: 3.14M]
  ------------------
11387|    427|#line 3666 "MachineIndependent/glslang.y"
11388|    427|                {
11389|    427|        parseContext.tensorCheckARM((yyvsp[0].lex).loc, "tensorARM", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    427|#define parseContext (*pParseContext)
  ------------------
                      parseContext.tensorCheckARM((yyvsp[0].lex).loc, "tensorARM", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|    427|#define parseContext (*pParseContext)
  ------------------
11390|    427|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    427|#define parseContext (*pParseContext)
  ------------------
11391|    427|        (yyval.interm.type).tensorRankARM = 1; // placeholder value
11392|    427|        (yyval.interm.type).basicType = EbtTensorARM;
11393|    427|    }
11394|    427|#line 11395 "MachineIndependent/glslang_tab.cpp"
11395|    427|    break;
11396|       |
11397|  4.12k|  case 560: /* type_specifier_nonarray: VECTOR  */
  ------------------
  |  Branch (11397:3): [True: 4.12k, False: 3.14M]
  ------------------
11398|  4.12k|#line 3672 "MachineIndependent/glslang.y"
11399|  4.12k|             {
11400|  4.12k|        parseContext.longVectorCheck((yyvsp[0].lex).loc, "vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  4.12k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.longVectorCheck((yyvsp[0].lex).loc, "vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  756|  4.12k|#define parseContext (*pParseContext)
  ------------------
11401|  4.12k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  4.12k|#define parseContext (*pParseContext)
  ------------------
11402|  4.12k|        (yyval.interm.type).basicType = EbtLongVector;
11403|  4.12k|        (yyval.interm.type).longVector = true;
11404|  4.12k|    }
11405|  4.12k|#line 11406 "MachineIndependent/glslang_tab.cpp"
11406|  4.12k|    break;
11407|       |
11408|      0|  case 561: /* type_specifier_nonarray: spirv_type_specifier  */
  ------------------
  |  Branch (11408:3): [True: 0, False: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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|     99|  case 564: /* type_specifier_nonarray: struct_specifier  */
  ------------------
  |  Branch (11435:3): [True: 99, False: 3.14M]
  ------------------
11436|     99|#line 3690 "MachineIndependent/glslang.y"
11437|     99|                       {
11438|     99|        (yyval.interm.type) = (yyvsp[0].interm.type);
11439|     99|        (yyval.interm.type).qualifier.storage = parseContext.symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary;
  ------------------
  |  |  756|     99|#define parseContext (*pParseContext)
  ------------------
  |  Branch (11439:49): [True: 99, False: 0]
  ------------------
11440|     99|        parseContext.structTypeCheck((yyval.interm.type).loc, (yyval.interm.type));
  ------------------
  |  |  756|     99|#define parseContext (*pParseContext)
  ------------------
11441|     99|    }
11442|     99|#line 11443 "MachineIndependent/glslang_tab.cpp"
11443|     99|    break;
11444|       |
11445|    169|  case 565: /* type_specifier_nonarray: TYPE_NAME  */
  ------------------
  |  Branch (11445:3): [True: 169, False: 3.14M]
  ------------------
11446|    169|#line 3695 "MachineIndependent/glslang.y"
11447|    169|                {
11448|       |        //
11449|       |        // This is for user defined type names.  The lexical phase looked up the
11450|       |        // type.
11451|       |        //
11452|    169|        if (const TVariable* variable = ((yyvsp[0].lex).symbol)->getAsVariable()) {
  ------------------
  |  Branch (11452:30): [True: 169, False: 0]
  ------------------
11453|    169|            const TType& structure = variable->getType();
11454|    169|            (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    169|#define parseContext (*pParseContext)
  ------------------
11455|    169|            (yyval.interm.type).basicType = EbtStruct;
11456|    169|            (yyval.interm.type).userDef = &structure;
11457|    169|        } else
11458|      0|            parseContext.error((yyvsp[0].lex).loc, "expected type name", (yyvsp[0].lex).string->c_str(), "");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11459|    169|    }
11460|    169|#line 11461 "MachineIndependent/glslang_tab.cpp"
11461|    169|    break;
11462|       |
11463|  14.5k|  case 566: /* precision_qualifier: HIGH_PRECISION  */
  ------------------
  |  Branch (11463:3): [True: 14.5k, False: 3.13M]
  ------------------
11464|  14.5k|#line 3711 "MachineIndependent/glslang.y"
11465|  14.5k|                     {
11466|  14.5k|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "highp precision qualifier");
  ------------------
  |  |  756|  14.5k|#define parseContext (*pParseContext)
  ------------------
11467|  14.5k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|  14.5k|#define parseContext (*pParseContext)
  ------------------
11468|  14.5k|        parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqHigh);
  ------------------
  |  |  756|  14.5k|#define parseContext (*pParseContext)
  ------------------
11469|  14.5k|    }
11470|  14.5k|#line 11471 "MachineIndependent/glslang_tab.cpp"
11471|  14.5k|    break;
11472|       |
11473|    713|  case 567: /* precision_qualifier: MEDIUM_PRECISION  */
  ------------------
  |  Branch (11473:3): [True: 713, False: 3.14M]
  ------------------
11474|    713|#line 3716 "MachineIndependent/glslang.y"
11475|    713|                       {
11476|    713|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "mediump precision qualifier");
  ------------------
  |  |  756|    713|#define parseContext (*pParseContext)
  ------------------
11477|    713|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|    713|#define parseContext (*pParseContext)
  ------------------
11478|    713|        parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqMedium);
  ------------------
  |  |  756|    713|#define parseContext (*pParseContext)
  ------------------
11479|    713|    }
11480|    713|#line 11481 "MachineIndependent/glslang_tab.cpp"
11481|    713|    break;
11482|       |
11483|     70|  case 568: /* precision_qualifier: LOW_PRECISION  */
  ------------------
  |  Branch (11483:3): [True: 70, False: 3.14M]
  ------------------
11484|     70|#line 3721 "MachineIndependent/glslang.y"
11485|     70|                    {
11486|     70|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "lowp precision qualifier");
  ------------------
  |  |  756|     70|#define parseContext (*pParseContext)
  ------------------
11487|     70|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  756|     70|#define parseContext (*pParseContext)
  ------------------
11488|     70|        parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqLow);
  ------------------
  |  |  756|     70|#define parseContext (*pParseContext)
  ------------------
11489|     70|    }
11490|     70|#line 11491 "MachineIndependent/glslang_tab.cpp"
11491|     70|    break;
11492|       |
11493|     99|  case 569: /* $@3: %empty  */
  ------------------
  |  Branch (11493:3): [True: 99, False: 3.14M]
  ------------------
11494|     99|#line 3729 "MachineIndependent/glslang.y"
11495|     99|                                   { parseContext.nestedStructCheck((yyvsp[-2].lex).loc); }
  ------------------
  |  |  756|     99|#define parseContext (*pParseContext)
  ------------------
11496|     99|#line 11497 "MachineIndependent/glslang_tab.cpp"
11497|     99|    break;
11498|       |
11499|     99|  case 570: /* struct_specifier: STRUCT IDENTIFIER LEFT_BRACE $@3 struct_declaration_list RIGHT_BRACE  */
  ------------------
  |  Branch (11499:3): [True: 99, False: 3.14M]
  ------------------
11500|     99|#line 3729 "MachineIndependent/glslang.y"
11501|     99|                                                                                                                   {
11502|     99|        TType* structure = new TType((yyvsp[-1].interm.typeList), *(yyvsp[-4].lex).string);
11503|     99|        parseContext.structArrayCheck((yyvsp[-4].lex).loc, *structure);
  ------------------
  |  |  756|     99|#define parseContext (*pParseContext)
  ------------------
11504|       |
11505|     99|        TVariable* userTypeDef = new TVariable((yyvsp[-4].lex).string, *structure, true);
11506|     99|        if (! parseContext.symbolTable.insert(*userTypeDef))
  ------------------
  |  |  756|     99|#define parseContext (*pParseContext)
  ------------------
  |  Branch (11506:13): [True: 0, False: 99]
  ------------------
11507|      0|            parseContext.error((yyvsp[-4].lex).loc, "redefinition", (yyvsp[-4].lex).string->c_str(), "struct");
  ------------------
  |  |  756|      0|#define parseContext (*pParseContext)
  ------------------
11508|     99|        else if (parseContext.spvVersion.vulkanRelaxed
  ------------------
  |  |  756|     99|#define parseContext (*pParseContext)
  ------------------
  |  Branch (11508:18): [True: 0, False: 99]
  ------------------
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|     99|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
11513|     99|        (yyval.interm.type).basicType = EbtStruct;
11514|     99|        (yyval.interm.type).userDef = structure;
11515|     99|        --parseContext.structNestingLevel;
  ------------------
  |  |  756|     99|#define parseContext (*pParseContext)
  ------------------
11516|     99|    }
11517|     99|#line 11518 "MachineIndependent/glslang_tab.cpp"
11518|     99|    break;
11519|       |
11520|      0|  case 571: /* $@4: %empty  */
  ------------------
  |  Branch (11520:3): [True: 0, False: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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|     99|  case 573: /* struct_declaration_list: struct_declaration_without_heap  */
  ------------------
  |  Branch (11538:3): [True: 99, False: 3.14M]
  ------------------
11539|     99|#line 3755 "MachineIndependent/glslang.y"
11540|     99|                                      {
11541|     99|        (yyval.interm.typeList) = (yyvsp[0].interm.typeList);
11542|     99|    }
11543|     99|#line 11544 "MachineIndependent/glslang_tab.cpp"
11544|     99|    break;
11545|       |
11546|      0|  case 574: /* struct_declaration_list: struct_declaration_with_heap  */
  ------------------
  |  Branch (11546:3): [True: 0, False: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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|    162|  case 580: /* struct_declaration_without_heap: struct_declaration  */
  ------------------
  |  Branch (11626:3): [True: 162, False: 3.14M]
  ------------------
11627|    162|#line 3816 "MachineIndependent/glslang.y"
11628|    162|                         {
11629|    162|        (yyval.interm.typeList) = (yyvsp[0].interm.typeList);
11630|    162|    }
11631|    162|#line 11632 "MachineIndependent/glslang_tab.cpp"
11632|    162|    break;
11633|       |
11634|    506|  case 581: /* struct_declaration_without_heap: struct_declaration_without_heap struct_declaration  */
  ------------------
  |  Branch (11634:3): [True: 506, False: 3.14M]
  ------------------
11635|    506|#line 3819 "MachineIndependent/glslang.y"
11636|    506|                                                         {
11637|    506|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
11638|  1.01k|        for (unsigned int i = 0; i < (yyvsp[0].interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (11638:34): [True: 506, False: 506]
  ------------------
11639|  1.74k|            for (unsigned int j = 0; j < (yyval.interm.typeList)->size(); ++j) {
  ------------------
  |  Branch (11639:38): [True: 1.24k, False: 506]
  ------------------
11640|  1.24k|                if ((*(yyval.interm.typeList))[j].type->getFieldName() == (*(yyvsp[0].interm.typeList))[i].type->getFieldName())
  ------------------
  |  Branch (11640:21): [True: 0, False: 1.24k]
  ------------------
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|  1.24k|            }
11643|    506|            (yyval.interm.typeList)->push_back((*(yyvsp[0].interm.typeList))[i]);
11644|    506|        }
11645|    506|    }
11646|    506|#line 11647 "MachineIndependent/glslang_tab.cpp"
11647|    506|    break;
11648|       |
11649|    399|  case 582: /* struct_declaration: type_specifier struct_declarator_list SEMICOLON  */
  ------------------
  |  Branch (11649:3): [True: 399, False: 3.14M]
  ------------------
11650|    399|#line 3832 "MachineIndependent/glslang.y"
11651|    399|                                                      {
11652|    399|        if ((yyvsp[-2].interm.type).arraySizes) {
  ------------------
  |  Branch (11652:13): [True: 0, False: 399]
  ------------------
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|    399|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
11660|       |
11661|    399|        parseContext.voidErrorCheck((yyvsp[-2].interm.type).loc, (*(yyvsp[-1].interm.typeList))[0].type->getFieldName(), (yyvsp[-2].interm.type).basicType);
  ------------------
  |  |  756|    399|#define parseContext (*pParseContext)
  ------------------
11662|    399|        parseContext.precisionQualifierCheck((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).basicType, (yyvsp[-2].interm.type).qualifier, (yyvsp[-2].interm.type).hasTypeParameter());
  ------------------
  |  |  756|    399|#define parseContext (*pParseContext)
  ------------------
11663|       |
11664|    798|        for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (11664:34): [True: 399, False: 399]
  ------------------
11665|    399|            TType type((yyvsp[-2].interm.type));
11666|    399|            type.setFieldName((*(yyval.interm.typeList))[i].type->getFieldName());
11667|    399|            type.transferArraySizes((*(yyval.interm.typeList))[i].type->getArraySizes());
11668|    399|            type.copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
11669|    399|            parseContext.arrayOfArrayVersionCheck((*(yyval.interm.typeList))[i].loc, type.getArraySizes());
  ------------------
  |  |  756|    399|#define parseContext (*pParseContext)
  ------------------
11670|    399|            (*(yyval.interm.typeList))[i].type->shallowCopy(type);
11671|    399|        }
11672|    399|    }
11673|    399|#line 11674 "MachineIndependent/glslang_tab.cpp"
11674|    399|    break;
11675|       |
11676|    269|  case 583: /* struct_declaration: type_qualifier type_specifier struct_declarator_list SEMICOLON  */
  ------------------
  |  Branch (11676:3): [True: 269, False: 3.14M]
  ------------------
11677|    269|#line 3854 "MachineIndependent/glslang.y"
11678|    269|                                                                     {
11679|    269|        if ((yyvsp[-2].interm.type).arraySizes) {
  ------------------
  |  Branch (11679:13): [True: 0, False: 269]
  ------------------
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|    269|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
11687|       |
11688|    269|        parseContext.memberQualifierCheck((yyvsp[-3].interm.type));
  ------------------
  |  |  756|    269|#define parseContext (*pParseContext)
  ------------------
11689|    269|        parseContext.voidErrorCheck((yyvsp[-2].interm.type).loc, (*(yyvsp[-1].interm.typeList))[0].type->getFieldName(), (yyvsp[-2].interm.type).basicType);
  ------------------
  |  |  756|    269|#define parseContext (*pParseContext)
  ------------------
11690|    269|        parseContext.mergeQualifiers((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).qualifier, (yyvsp[-3].interm.type).qualifier, true);
  ------------------
  |  |  756|    269|#define parseContext (*pParseContext)
  ------------------
11691|    269|        parseContext.precisionQualifierCheck((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).basicType, (yyvsp[-2].interm.type).qualifier, (yyvsp[-2].interm.type).hasTypeParameter());
  ------------------
  |  |  756|    269|#define parseContext (*pParseContext)
  ------------------
11692|       |
11693|    538|        for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (11693:34): [True: 269, False: 269]
  ------------------
11694|    269|            TType type((yyvsp[-2].interm.type));
11695|    269|            type.setFieldName((*(yyval.interm.typeList))[i].type->getFieldName());
11696|    269|            type.transferArraySizes((*(yyval.interm.typeList))[i].type->getArraySizes());
11697|    269|            type.copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
11698|    269|            parseContext.arrayOfArrayVersionCheck((*(yyval.interm.typeList))[i].loc, type.getArraySizes());
  ------------------
  |  |  756|    269|#define parseContext (*pParseContext)
  ------------------
11699|    269|            (*(yyval.interm.typeList))[i].type->shallowCopy(type);
11700|    269|        }
11701|    269|    }
11702|    269|#line 11703 "MachineIndependent/glslang_tab.cpp"
11703|    269|    break;
11704|       |
11705|    668|  case 584: /* struct_declarator_list: struct_declarator  */
  ------------------
  |  Branch (11705:3): [True: 668, False: 3.14M]
  ------------------
11706|    668|#line 3881 "MachineIndependent/glslang.y"
11707|    668|                        {
11708|    668|        (yyval.interm.typeList) = new TTypeList;
11709|    668|        (yyval.interm.typeList)->push_back((yyvsp[0].interm.typeLine));
11710|    668|    }
11711|    668|#line 11712 "MachineIndependent/glslang_tab.cpp"
11712|    668|    break;
11713|       |
11714|      0|  case 585: /* struct_declarator_list: struct_declarator_list COMMA struct_declarator  */
  ------------------
  |  Branch (11714:3): [True: 0, False: 3.14M]
  ------------------
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|    493|  case 586: /* struct_declarator: IDENTIFIER  */
  ------------------
  |  Branch (11722:3): [True: 493, False: 3.14M]
  ------------------
11723|    493|#line 3891 "MachineIndependent/glslang.y"
11724|    493|                 {
11725|    493|        (yyval.interm.typeLine).type = new TType(EbtVoid);
11726|    493|        (yyval.interm.typeLine).loc = (yyvsp[0].lex).loc;
11727|    493|        (yyval.interm.typeLine).type->setFieldName(*(yyvsp[0].lex).string);
11728|    493|    }
11729|    493|#line 11730 "MachineIndependent/glslang_tab.cpp"
11730|    493|    break;
11731|       |
11732|    175|  case 587: /* struct_declarator: IDENTIFIER array_specifier  */
  ------------------
  |  Branch (11732:3): [True: 175, False: 3.14M]
  ------------------
11733|    175|#line 3896 "MachineIndependent/glslang.y"
11734|    175|                                 {
11735|    175|        parseContext.arrayOfArrayVersionCheck((yyvsp[-1].lex).loc, (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  756|    175|#define parseContext (*pParseContext)
  ------------------
11736|       |
11737|    175|        (yyval.interm.typeLine).type = new TType(EbtVoid);
11738|    175|        (yyval.interm.typeLine).loc = (yyvsp[-1].lex).loc;
11739|    175|        (yyval.interm.typeLine).type->setFieldName(*(yyvsp[-1].lex).string);
11740|    175|        (yyval.interm.typeLine).type->transferArraySizes((yyvsp[0].interm).arraySizes);
11741|    175|    }
11742|    175|#line 11743 "MachineIndependent/glslang_tab.cpp"
11743|    175|    break;
11744|       |
11745|  2.05k|  case 588: /* initializer: assignment_expression  */
  ------------------
  |  Branch (11745:3): [True: 2.05k, False: 3.14M]
  ------------------
11746|  2.05k|#line 3907 "MachineIndependent/glslang.y"
11747|  2.05k|                            {
11748|  2.05k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
11749|  2.05k|    }
11750|  2.05k|#line 11751 "MachineIndependent/glslang_tab.cpp"
11751|  2.05k|    break;
11752|       |
11753|      0|  case 589: /* initializer: LEFT_BRACE initializer_list RIGHT_BRACE  */
  ------------------
  |  Branch (11753:3): [True: 0, False: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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|    306|  case 659: /* translation_unit: external_declaration  */
  ------------------
  |  Branch (12413:3): [True: 306, False: 3.14M]
  ------------------
12414|    306|#line 4300 "MachineIndependent/glslang.y"
12415|    306|                           {
12416|    306|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12417|    306|        parseContext.intermediate.setTreeRoot((yyval.interm.intermNode));
  ------------------
  |  |  756|    306|#define parseContext (*pParseContext)
  ------------------
12418|    306|    }
12419|    306|#line 12420 "MachineIndependent/glslang_tab.cpp"
12420|    306|    break;
12421|       |
12422|   109k|  case 660: /* translation_unit: translation_unit external_declaration  */
  ------------------
  |  Branch (12422:3): [True: 109k, False: 3.03M]
  ------------------
12423|   109k|#line 4304 "MachineIndependent/glslang.y"
12424|   109k|                                            {
12425|   109k|        if ((yyvsp[0].interm.intermNode) != nullptr) {
  ------------------
  |  Branch (12425:13): [True: 0, False: 109k]
  ------------------
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|   109k|    }
12430|   109k|#line 12431 "MachineIndependent/glslang_tab.cpp"
12431|   109k|    break;
12432|       |
12433|      0|  case 661: /* external_declaration: function_definition  */
  ------------------
  |  Branch (12433:3): [True: 0, False: 3.14M]
  ------------------
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|   109k|  case 662: /* external_declaration: declaration  */
  ------------------
  |  Branch (12441:3): [True: 109k, False: 3.03M]
  ------------------
12442|   109k|#line 4316 "MachineIndependent/glslang.y"
12443|   109k|                  {
12444|   109k|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12445|   109k|    }
12446|   109k|#line 12447 "MachineIndependent/glslang_tab.cpp"
12447|   109k|    break;
12448|       |
12449|      0|  case 663: /* external_declaration: SEMICOLON  */
  ------------------
  |  Branch (12449:3): [True: 0, False: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
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: 3.14M]
  ------------------
13097|  3.14M|    }
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|  3.14M|  YY_SYMBOL_PRINT ("-> $$ =", YY_CAST (yysymbol_kind_t, yyr1[yyn]), &yyval, &yyloc);
  ------------------
  |  | 4800|  3.14M|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 4801|  3.14M|do {                                                                      \
  |  | 4802|  3.14M|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (4802:7): [True: 0, False: 3.14M]
  |  |  ------------------
  |  | 4803|  3.14M|    {                                                                     \
  |  | 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|  3.14M|} while (0)
  |  |  ------------------
  |  |  |  Branch (4809:10): [Folded, False: 3.14M]
  |  |  ------------------
  ------------------
13110|       |
13111|  3.14M|  YYPOPSTACK (yylen);
  ------------------
  |  | 5277|  3.14M|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13112|  3.14M|  yylen = 0;
13113|       |
13114|  3.14M|  *++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|  3.14M|  {
13120|  3.14M|    const int yylhs = yyr1[yyn] - YYNTOKENS;
  ------------------
  |  | 1089|  3.14M|#define YYNTOKENS  488
  ------------------
13121|  3.14M|    const int yyi = yypgoto[yylhs] + *yyssp;
13122|  3.14M|    yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp
  ------------------
  |  | 1086|  4.88M|#define YYLAST   13823
  ------------------
  |  Branch (13122:16): [True: 1.73M, False: 1.41M]
  |  Branch (13122:28): [True: 1.73M, False: 0]
  |  Branch (13122:45): [True: 1.06M, False: 672k]
  ------------------
13123|  3.14M|               ? yytable[yyi]
13124|  3.14M|               : yydefgoto[yylhs]);
13125|  3.14M|  }
13126|       |
13127|  3.14M|  goto yynewstate;
13128|       |
13129|       |
13130|       |/*--------------------------------------.
13131|       || yyerrlab -- here on detecting error.  |
13132|       |`--------------------------------------*/
13133|     46|yyerrlab:
13134|       |  /* Make sure we have latest lookahead translation.  See comments at
13135|       |     user semantic actions for why this is necessary.  */
13136|     46|  yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar);
  ------------------
  |  | 1104|     92|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1098|     46|#define YYMAXUTOK   742
  |  |  ------------------
  |  |  |  Branch (1104:4): [True: 46, False: 0]
  |  |  |  Branch (1104:18): [True: 46, False: 0]
  |  |  ------------------
  |  | 1105|     92|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  100|     46|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  |  | 1106|     92|   : YYSYMBOL_YYUNDEF)
  ------------------
  |  Branch (13136:13): [True: 0, False: 46]
  ------------------
13137|       |  /* If not already recovering from an error, report this error.  */
13138|     46|  if (!yyerrstatus)
  ------------------
  |  Branch (13138:7): [True: 46, False: 0]
  ------------------
13139|     46|    {
13140|     46|      ++yynerrs;
13141|     46|      {
13142|     46|        yypcontext_t yyctx
13143|     46|          = {yyssp, yytoken};
13144|     46|        char const *yymsgp = YY_("syntax error");
  ------------------
  |  |  888|     46|#  define YY_(Msgid) Msgid
  ------------------
13145|     46|        int yysyntax_error_status;
13146|     46|        yysyntax_error_status = yysyntax_error (&yymsg_alloc, &yymsg, &yyctx);
13147|     46|        if (yysyntax_error_status == 0)
  ------------------
  |  Branch (13147:13): [True: 46, False: 0]
  ------------------
13148|     46|          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|     46|        yyerror (pParseContext, yymsgp);
  ------------------
  |  |  757|     46|#define yyerror(context, msg) context->parserError(msg)
  ------------------
13169|     46|        if (yysyntax_error_status == YYENOMEM)
  ------------------
  |  Branch (13169:13): [True: 0, False: 46]
  ------------------
13170|      0|          YYNOMEM;
  ------------------
  |  | 4756|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
13171|     46|      }
13172|     46|    }
13173|       |
13174|     46|  if (yyerrstatus == 3)
  ------------------
  |  Branch (13174:7): [True: 0, False: 46]
  ------------------
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|     46|  goto yyerrlab1;
13196|       |
13197|       |
13198|       |/*---------------------------------------------------.
13199|       || yyerrorlab -- error raised explicitly by YYERROR.  |
13200|       |`---------------------------------------------------*/
13201|     46|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|     46|yyerrlab1:
13221|     46|  yyerrstatus = 3;      /* Each real token shifted decrements this.  */
13222|       |
13223|       |  /* Pop stack until we find a state that shifts the error token.  */
13224|     46|  for (;;)
13225|     48|    {
13226|     48|      yyn = yypact[yystate];
13227|     48|      if (!yypact_value_is_default (yyn))
  ------------------
  |  | 1451|     48|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1448|     48|#define YYPACT_NINF (-849)
  |  |  ------------------
  ------------------
  |  Branch (13227:11): [True: 48, False: 0]
  ------------------
13228|     48|        {
13229|     48|          yyn += YYSYMBOL_YYerror;
13230|     48|          if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror)
  ------------------
  |  | 1086|     95|#define YYLAST   13823
  ------------------
  |  Branch (13230:15): [True: 47, False: 1]
  |  Branch (13230:27): [True: 47, False: 0]
  |  Branch (13230:44): [True: 0, False: 47]
  ------------------
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|     48|        }
13237|       |
13238|       |      /* Pop the current state because it cannot handle the error token.  */
13239|     48|      if (yyssp == yyss)
  ------------------
  |  Branch (13239:11): [True: 46, False: 2]
  ------------------
13240|     46|        YYABORT;
  ------------------
  |  | 4754|     46|#define YYABORT         goto yyabortlab
  ------------------
13241|       |
13242|       |
13243|      2|      yydestruct ("Error: popping",
13244|      2|                  YY_ACCESSING_SYMBOL (yystate), yyvsp, pParseContext);
  ------------------
  |  | 1271|      2|#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
  |  |  ------------------
  |  |  |  |  100|      2|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
13245|      2|      YYPOPSTACK (1);
  ------------------
  |  | 5277|      2|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13246|      2|      yystate = *yyssp;
13247|      2|      YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 4863|      2|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 4864|      2|do {                                                            \
  |  | 4865|      2|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (4865:7): [True: 0, False: 2]
  |  |  ------------------
  |  | 4866|      2|    yy_stack_print ((Bottom), (Top));                           \
  |  | 4867|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4867:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
13248|      2|    }
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|    305|yyacceptlab:
13266|    305|  yyresult = 0;
13267|    305|  goto yyreturnlab;
13268|       |
13269|       |
13270|       |/*-----------------------------------.
13271|       || yyabortlab -- YYABORT comes here.  |
13272|       |`-----------------------------------*/
13273|     46|yyabortlab:
13274|     46|  yyresult = 1;
13275|     46|  goto yyreturnlab;
13276|       |
13277|       |
13278|       |/*-----------------------------------------------------------.
13279|       || yyexhaustedlab -- YYNOMEM (memory exhaustion) comes here.  |
13280|       |`-----------------------------------------------------------*/
13281|      0|yyexhaustedlab:
13282|      0|  yyerror (pParseContext, YY_("memory exhausted"));
  ------------------
  |  |  757|      0|#define yyerror(context, msg) context->parserError(msg)
  ------------------
13283|      0|  yyresult = 2;
13284|      0|  goto yyreturnlab;
13285|       |
13286|       |
13287|       |/*----------------------------------------------------------.
13288|       || yyreturnlab -- parsing is finished, clean up and return.  |
13289|       |`----------------------------------------------------------*/
13290|    351|yyreturnlab:
13291|    351|  if (yychar != YYEMPTY)
  ------------------
  |  Branch (13291:7): [True: 46, False: 305]
  ------------------
13292|     46|    {
13293|       |      /* Make sure we have latest lookahead translation.  See comments at
13294|       |         user semantic actions for why this is necessary.  */
13295|     46|      yytoken = YYTRANSLATE (yychar);
  ------------------
  |  | 1104|     46|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1098|     46|#define YYMAXUTOK   742
  |  |  ------------------
  |  |  |  Branch (1104:4): [True: 46, False: 0]
  |  |  |  Branch (1104:18): [True: 46, False: 0]
  |  |  ------------------
  |  | 1105|     46|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  100|     46|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  |  | 1106|     46|   : YYSYMBOL_YYUNDEF)
  ------------------
13296|     46|      yydestruct ("Cleanup: discarding lookahead",
13297|     46|                  yytoken, &yylval, pParseContext);
13298|     46|    }
13299|       |  /* Do not reclaim the symbols of the rule whose action triggered
13300|       |     this YYABORT or YYACCEPT.  */
13301|    351|  YYPOPSTACK (yylen);
  ------------------
  |  | 5277|    351|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13302|    351|  YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 4863|    351|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 4864|    351|do {                                                            \
  |  | 4865|    351|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (4865:7): [True: 0, False: 351]
  |  |  ------------------
  |  | 4866|    351|    yy_stack_print ((Bottom), (Top));                           \
  |  | 4867|    351|} while (0)
  |  |  ------------------
  |  |  |  Branch (4867:10): [Folded, False: 351]
  |  |  ------------------
  ------------------
13303|    961|  while (yyssp != yyss)
  ------------------
  |  Branch (13303:10): [True: 610, False: 351]
  ------------------
13304|    610|    {
13305|    610|      yydestruct ("Cleanup: popping",
13306|    610|                  YY_ACCESSING_SYMBOL (+*yyssp), yyvsp, pParseContext);
  ------------------
  |  | 1271|    610|#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
  |  |  ------------------
  |  |  |  |  100|    610|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
13307|    610|      YYPOPSTACK (1);
  ------------------
  |  | 5277|    610|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13308|    610|    }
13309|    351|#ifndef yyoverflow
13310|    351|  if (yyss != yyssa)
  ------------------
  |  Branch (13310:7): [True: 0, False: 351]
  ------------------
13311|      0|    YYSTACK_FREE (yyss);
  ------------------
  |  |  996|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1015|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
13312|    351|#endif
13313|    351|  if (yymsg != yymsgbuf)
  ------------------
  |  Branch (13313:7): [True: 0, False: 351]
  ------------------
13314|      0|    YYSTACK_FREE (yymsg);
  ------------------
  |  |  996|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1015|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
13315|    351|  return yyresult;
13316|     46|}
glslang_tab.cpp:_ZL14yysyntax_errorPlPPcPK12yypcontext_t:
 5121|     46|{
 5122|     46|  enum { YYARGS_MAX = 5 };
 5123|       |  /* Internationalized format string. */
 5124|     46|  const char *yyformat = YY_NULLPTR;
  ------------------
  |  |  110|     46|#    define YY_NULLPTR nullptr
  ------------------
 5125|       |  /* Arguments of yyformat: reported tokens (one for the "unexpected",
 5126|       |     one per "expected"). */
 5127|     46|  yysymbol_kind_t yyarg[YYARGS_MAX];
 5128|       |  /* Cumulated lengths of YYARG.  */
 5129|     46|  YYPTRDIFF_T yysize = 0;
  ------------------
  |  |  838|     46|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5130|       |
 5131|       |  /* Actual size of YYARG. */
 5132|     46|  int yycount = yy_syntax_error_arguments (yyctx, yyarg, YYARGS_MAX);
 5133|     46|  if (yycount == YYENOMEM)
  ------------------
  |  Branch (5133:7): [True: 0, False: 46]
  ------------------
 5134|      0|    return YYENOMEM;
 5135|       |
 5136|     46|  switch (yycount)
 5137|     46|    {
 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: 46]
  ------------------
 5143|      0|      YYCASE_(0, YY_("syntax error"));
  ------------------
  |  | 5139|      0|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5139:7): [True: 0, False: 46]
  |  |  ------------------
  |  | 5140|      0|        yyformat = S;                       \
  |  | 5141|      0|        break
  ------------------
 5144|     45|      YYCASE_(1, YY_("syntax error, unexpected %s"));
  ------------------
  |  | 5139|     45|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5139:7): [True: 45, False: 1]
  |  |  ------------------
  |  | 5140|     45|        yyformat = S;                       \
  |  | 5141|     45|        break
  ------------------
 5145|      0|      YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s"));
  ------------------
  |  | 5139|      0|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5139:7): [True: 0, False: 46]
  |  |  ------------------
  |  | 5140|      0|        yyformat = S;                       \
  |  | 5141|      0|        break
  ------------------
 5146|      1|      YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s"));
  ------------------
  |  | 5139|      1|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5139:7): [True: 1, False: 45]
  |  |  ------------------
  |  | 5140|      1|        yyformat = S;                       \
  |  | 5141|      1|        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: 46]
  |  |  ------------------
  |  | 5140|      0|        yyformat = S;                       \
  |  | 5141|      0|        break
  ------------------
 5148|     46|      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: 46]
  |  |  ------------------
  |  | 5140|      0|        yyformat = S;                       \
  |  | 5141|      0|        break
  ------------------
 5149|     46|#undef YYCASE_
 5150|     46|    }
 5151|       |
 5152|       |  /* Compute error message size.  Don't count the "%s"s, but reserve
 5153|       |     room for the terminator.  */
 5154|     46|  yysize = yystrlen (yyformat) - 2 * yycount + 1;
  ------------------
  |  | 4980|     46|#  define yystrlen(S) (YY_CAST (YYPTRDIFF_T, strlen (S)))
  |  |  ------------------
  |  |  |  |  100|     46|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
 5155|     46|  {
 5156|     46|    int yyi;
 5157|     94|    for (yyi = 0; yyi < yycount; ++yyi)
  ------------------
  |  Branch (5157:19): [True: 48, False: 46]
  ------------------
 5158|     48|      {
 5159|     48|        YYPTRDIFF_T yysize1
  ------------------
  |  |  838|     48|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5160|     48|          = yysize + yytnamerr (YY_NULLPTR, yytname[yyarg[yyi]]);
  ------------------
  |  |  110|     48|#    define YY_NULLPTR nullptr
  ------------------
 5161|     48|        if (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)
  ------------------
  |  |  998|     48|#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
  |  |  ------------------
  |  |  |  |  866|     48|  YY_CAST (YYPTRDIFF_T,                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|     96|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (100:50): [True: 48, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5161:13): [True: 48, False: 0]
  |  Branch (5161:34): [True: 48, False: 0]
  ------------------
 5162|     48|          yysize = yysize1;
 5163|      0|        else
 5164|      0|          return YYENOMEM;
 5165|     48|      }
 5166|     46|  }
 5167|       |
 5168|     46|  if (*yymsg_alloc < yysize)
  ------------------
  |  Branch (5168:7): [True: 0, False: 46]
  ------------------
 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|     46|  {
 5181|     46|    char *yyp = *yymsg;
 5182|     46|    int yyi = 0;
 5183|  1.26k|    while ((*yyp = *yyformat) != '\0')
  ------------------
  |  Branch (5183:12): [True: 1.21k, False: 46]
  ------------------
 5184|  1.21k|      if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount)
  ------------------
  |  Branch (5184:11): [True: 48, False: 1.16k]
  |  Branch (5184:26): [True: 48, False: 0]
  |  Branch (5184:48): [True: 48, False: 0]
  ------------------
 5185|     48|        {
 5186|     48|          yyp += yytnamerr (yyp, yytname[yyarg[yyi++]]);
 5187|     48|          yyformat += 2;
 5188|     48|        }
 5189|  1.16k|      else
 5190|  1.16k|        {
 5191|  1.16k|          ++yyp;
 5192|  1.16k|          ++yyformat;
 5193|  1.16k|        }
 5194|     46|  }
 5195|     46|  return 0;
 5196|     46|}
glslang_tab.cpp:_ZL25yy_syntax_error_argumentsPK12yypcontext_tP15yysymbol_kind_ti:
 5068|     46|{
 5069|       |  /* Actual size of YYARG. */
 5070|     46|  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|     46|  if (yyctx->yytoken != YYSYMBOL_YYEMPTY)
  ------------------
  |  Branch (5094:7): [True: 46, False: 0]
  ------------------
 5095|     46|    {
 5096|     46|      int yyn;
 5097|     46|      if (yyarg)
  ------------------
  |  Branch (5097:11): [True: 46, False: 0]
  ------------------
 5098|     46|        yyarg[yycount] = yyctx->yytoken;
 5099|     46|      ++yycount;
 5100|     46|      yyn = yypcontext_expected_tokens (yyctx,
 5101|     46|                                        yyarg ? yyarg + 1 : yyarg, yyargn - 1);
  ------------------
  |  Branch (5101:41): [True: 46, False: 0]
  ------------------
 5102|     46|      if (yyn == YYENOMEM)
  ------------------
  |  Branch (5102:11): [True: 0, False: 46]
  ------------------
 5103|      0|        return YYENOMEM;
 5104|     46|      else
 5105|     46|        yycount += yyn;
 5106|     46|    }
 5107|     46|  return yycount;
 5108|     46|}
glslang_tab.cpp:_ZL26yypcontext_expected_tokensPK12yypcontext_tP15yysymbol_kind_ti:
 4944|     46|{
 4945|       |  /* Actual size of YYARG. */
 4946|     46|  int yycount = 0;
 4947|     46|  int yyn = yypact[+*yyctx->yyssp];
 4948|     46|  if (!yypact_value_is_default (yyn))
  ------------------
  |  | 1451|     46|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1448|     46|#define YYPACT_NINF (-849)
  |  |  ------------------
  ------------------
  |  Branch (4948:7): [True: 46, False: 0]
  ------------------
 4949|     46|    {
 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|     46|      int yyxbegin = yyn < 0 ? -yyn : 0;
  ------------------
  |  Branch (4953:22): [True: 1, False: 45]
  ------------------
 4954|       |      /* Stay within bounds of both yycheck and yytname.  */
 4955|     46|      int yychecklim = YYLAST - yyn + 1;
  ------------------
  |  | 1086|     46|#define YYLAST   13823
  ------------------
 4956|     46|      int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
  ------------------
  |  | 1089|     46|#define YYNTOKENS  488
  ------------------
                    int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
  ------------------
  |  | 1089|     46|#define YYNTOKENS  488
  ------------------
  |  Branch (4956:20): [True: 0, False: 46]
  ------------------
 4957|     46|      int yyx;
 4958|    539|      for (yyx = yyxbegin; yyx < yyxend; ++yyx)
  ------------------
  |  Branch (4958:28): [True: 538, False: 1]
  ------------------
 4959|    538|        if (yycheck[yyx + yyn] == yyx && yyx != YYSYMBOL_YYerror
  ------------------
  |  Branch (4959:13): [True: 227, False: 311]
  |  Branch (4959:42): [True: 227, False: 0]
  ------------------
 4960|      0|            && !yytable_value_is_error (yytable[yyx + yyn]))
  ------------------
  |  | 1456|      0|  0
  ------------------
  |  Branch (4960:16): [True: 0, Folded]
  ------------------
 4961|    227|          {
 4962|    227|            if (!yyarg)
  ------------------
  |  Branch (4962:17): [True: 0, False: 227]
  ------------------
 4963|      0|              ++yycount;
 4964|    227|            else if (yycount == yyargn)
  ------------------
  |  Branch (4964:22): [True: 45, False: 182]
  ------------------
 4965|     45|              return 0;
 4966|    182|            else
 4967|    182|              yyarg[yycount++] = YY_CAST (yysymbol_kind_t, yyx);
  ------------------
  |  |  100|    182|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
 4968|    227|          }
 4969|     46|    }
 4970|      1|  if (yyarg && yycount == 0 && 0 < yyargn)
  ------------------
  |  Branch (4970:7): [True: 1, False: 0]
  |  Branch (4970:16): [True: 0, False: 1]
  |  Branch (4970:32): [True: 0, False: 0]
  ------------------
 4971|      0|    yyarg[0] = YYSYMBOL_YYEMPTY;
 4972|      1|  return yycount;
 4973|     46|}
glslang_tab.cpp:_ZL9yytnamerrPcPKc:
 5024|     96|{
 5025|     96|  if (*yystr == '"')
  ------------------
  |  Branch (5025:7): [True: 86, False: 10]
  ------------------
 5026|     86|    {
 5027|     86|      YYPTRDIFF_T yyn = 0;
  ------------------
  |  |  838|     86|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5028|     86|      char const *yyp = yystr;
 5029|     86|      for (;;)
 5030|  1.03k|        switch (*++yyp)
 5031|  1.03k|          {
 5032|      0|          case '\'':
  ------------------
  |  Branch (5032:11): [True: 0, False: 1.03k]
  ------------------
 5033|      0|          case ',':
  ------------------
  |  Branch (5033:11): [True: 0, False: 1.03k]
  ------------------
 5034|      0|            goto do_not_strip_quotes;
 5035|       |
 5036|      0|          case '\\':
  ------------------
  |  Branch (5036:11): [True: 0, False: 1.03k]
  ------------------
 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|    946|          default:
  ------------------
  |  Branch (5043:11): [True: 946, False: 86]
  ------------------
 5044|    946|            if (yyres)
  ------------------
  |  Branch (5044:17): [True: 473, False: 473]
  ------------------
 5045|    473|              yyres[yyn] = *yyp;
 5046|    946|            yyn++;
 5047|    946|            break;
 5048|       |
 5049|     86|          case '"':
  ------------------
  |  Branch (5049:11): [True: 86, False: 946]
  ------------------
 5050|     86|            if (yyres)
  ------------------
  |  Branch (5050:17): [True: 43, False: 43]
  ------------------
 5051|     43|              yyres[yyn] = '\0';
 5052|     86|            return yyn;
 5053|  1.03k|          }
 5054|      0|    do_not_strip_quotes: ;
 5055|      0|    }
 5056|       |
 5057|     10|  if (yyres)
  ------------------
  |  Branch (5057:7): [True: 5, False: 5]
  ------------------
 5058|      5|    return yystpcpy (yyres, yystr) - yyres;
  ------------------
  |  | 4996|      5|#  define yystpcpy stpcpy
  ------------------
 5059|      5|  else
 5060|      5|    return yystrlen (yystr);
  ------------------
  |  | 4980|      5|#  define yystrlen(S) (YY_CAST (YYPTRDIFF_T, strlen (S)))
  |  |  ------------------
  |  |  |  |  100|      5|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
 5061|     10|}
glslang_tab.cpp:_ZL10yydestructPKc15yysymbol_kind_tP7YYSTYPEPN7glslang13TParseContextE:
 5206|    658|{
 5207|    658|  YY_USE (yyvaluep);
  ------------------
  |  |  911|    658|# define YY_USE(E) ((void) (E))
  ------------------
 5208|    658|  YY_USE (pParseContext);
  ------------------
  |  |  911|    658|# define YY_USE(E) ((void) (E))
  ------------------
 5209|    658|  if (!yymsg)
  ------------------
  |  Branch (5209:7): [True: 0, False: 658]
  ------------------
 5210|      0|    yymsg = "Deleting";
 5211|    658|  YY_SYMBOL_PRINT (yymsg, yykind, yyvaluep, yylocationp);
  ------------------
  |  | 4800|    658|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 4801|    658|do {                                                                      \
  |  | 4802|    658|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (4802:7): [True: 0, False: 658]
  |  |  ------------------
  |  | 4803|    658|    {                                                                     \
  |  | 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|    658|} while (0)
  |  |  ------------------
  |  |  |  Branch (4809:10): [Folded, False: 658]
  |  |  ------------------
  ------------------
 5212|       |
 5213|    658|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 5214|    658|  YY_USE (yykind);
  ------------------
  |  |  911|    658|# define YY_USE(E) ((void) (E))
  ------------------
 5215|    658|  YY_IGNORE_MAYBE_UNINITIALIZED_END
 5216|    658|}

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

_ZN7glslang10TPpContext9CPPdefineEPNS_8TPpTokenE:
   96|  7.33k|{
   97|  7.33k|    MacroSymbol mac;
   98|       |
   99|       |    // get the macro name
  100|  7.33k|    int token = scanToken(ppToken);
  101|  7.33k|    if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (101:9): [True: 0, False: 7.33k]
  ------------------
  102|      0|        parseContext.ppError(ppToken->loc, "must be followed by macro name", "#define", "");
  103|      0|        return token;
  104|      0|    }
  105|  7.33k|    if (ppToken->loc.string >= 0) {
  ------------------
  |  Branch (105:9): [True: 6, False: 7.33k]
  ------------------
  106|       |        // We are in user code; check for reserved name use:
  107|      6|        parseContext.reservedPpErrorCheck(ppToken->loc, ppToken->name, "#define");
  108|      6|    }
  109|       |
  110|       |    // save the macro name
  111|  7.33k|    const int defAtom = atomStrings.getAddAtom(ppToken->name);
  112|  7.33k|    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|  7.33k|    token = scanToken(ppToken);
  116|  7.33k|    if (token == '(' && !ppToken->space) {
  ------------------
  |  Branch (116:9): [True: 1, False: 7.33k]
  |  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|  7.33k|    } else if (token != '\n' && token != EndOfInput && !ppToken->space) {
  ------------------
  |  Branch (149:16): [True: 7.33k, False: 3]
  |  Branch (149:33): [True: 7.33k, False: 0]
  |  Branch (149:56): [True: 0, False: 7.33k]
  ------------------
  150|      0|        parseContext.ppWarn(ppToken->loc, "missing space after macro name", "#define", "");
  151|       |
  152|      0|        return token;
  153|      0|    }
  154|       |
  155|  7.33k|    int pendingPoundSymbols = 0;
  156|  7.33k|    TPpToken savePound;
  157|       |    // record the definition of the macro
  158|  32.5k|    while (token != '\n' && token != EndOfInput) {
  ------------------
  |  Branch (158:12): [True: 25.1k, False: 7.33k]
  |  Branch (158:29): [True: 25.1k, False: 1]
  ------------------
  159|  25.1k|        if (token == '#') {
  ------------------
  |  Branch (159:13): [True: 4, False: 25.1k]
  ------------------
  160|      4|            pendingPoundSymbols++;
  161|      4|            if (pendingPoundSymbols == 0) {
  ------------------
  |  Branch (161:17): [True: 0, False: 4]
  ------------------
  162|      0|                savePound = *ppToken;
  163|      0|            }
  164|  25.1k|        } else if (pendingPoundSymbols == 0) {
  ------------------
  |  Branch (164:20): [True: 25.1k, False: 2]
  ------------------
  165|  25.1k|            mac.body.putToken(token, ppToken);
  166|  25.1k|        } else if (pendingPoundSymbols == 1) {
  ------------------
  |  Branch (166:20): [True: 0, False: 2]
  ------------------
  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|      2|        } else if (pendingPoundSymbols % 2 == 0) {
  ------------------
  |  Branch (187:20): [True: 2, False: 0]
  ------------------
  188|       |            // Any number of pastes '##' in a row: idempotent, just becomes one paste
  189|      2|            parseContext.requireProfile(ppToken->loc, ~EEsProfile, "token pasting (##)");
  190|      2|            parseContext.profileRequires(ppToken->loc, ~EEsProfile, 130, nullptr, "token pasting (##)");
  191|      4|            for (int i = 0; i < pendingPoundSymbols / 2; i++) {
  ------------------
  |  Branch (191:29): [True: 2, False: 2]
  ------------------
  192|      2|                mac.body.putToken(PpAtomPaste, &savePound);
  193|      2|            }
  194|      2|            mac.body.putToken(token, ppToken);
  195|      2|            pendingPoundSymbols = 0;
  196|      2|        } 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|  25.1k|        token = scanToken(ppToken);
  203|  25.1k|    }
  204|  7.33k|    if (pendingPoundSymbols != 0) {
  ------------------
  |  Branch (204:9): [True: 0, False: 7.33k]
  ------------------
  205|      0|        parseContext.ppError(ppToken->loc, "Macro ended with incomplete '#' paste/stringify operators", "#", "");
  206|      0|    }
  207|       |
  208|       |    // check for duplicate definition
  209|  7.33k|    MacroSymbol* existing = lookupMacroDef(defAtom);
  210|  7.33k|    if (existing != nullptr) {
  ------------------
  |  Branch (210:9): [True: 0, False: 7.33k]
  ------------------
  211|      0|        if (! existing->undef) {
  ------------------
  |  Branch (211:13): [True: 0, False: 0]
  ------------------
  212|       |            // Already defined -- need to make sure they are identical:
  213|       |            // "Two replacement lists are identical if and only if the
  214|       |            // preprocessing tokens in both have the same number,
  215|       |            // ordering, spelling, and white-space separation, where all
  216|       |            // white-space separations are considered identical."
  217|      0|            if (existing->functionLike != mac.functionLike) {
  ------------------
  |  Branch (217:17): [True: 0, False: 0]
  ------------------
  218|      0|                parseContext.ppError(defineLoc, "Macro redefined; function-like versus object-like:", "#define",
  219|      0|                    atomStrings.getString(defAtom));
  220|      0|            } else if (existing->args.size() != mac.args.size()) {
  ------------------
  |  Branch (220:24): [True: 0, False: 0]
  ------------------
  221|      0|                parseContext.ppError(defineLoc, "Macro redefined; different number of arguments:", "#define",
  222|      0|                    atomStrings.getString(defAtom));
  223|      0|            } else {
  224|      0|                if (existing->args != mac.args) {
  ------------------
  |  Branch (224:21): [True: 0, False: 0]
  ------------------
  225|      0|                    parseContext.ppError(defineLoc, "Macro redefined; different argument names:", "#define",
  226|      0|                       atomStrings.getString(defAtom));
  227|      0|                }
  228|       |                // set up to compare the two
  229|      0|                existing->body.reset();
  230|      0|                mac.body.reset();
  231|      0|                int newToken;
  232|      0|                bool firstToken = true;
  233|      0|                do {
  234|      0|                    int oldToken;
  235|      0|                    TPpToken oldPpToken;
  236|      0|                    TPpToken newPpToken;
  237|      0|                    oldToken = existing->body.getToken(parseContext, &oldPpToken);
  238|      0|                    newToken = mac.body.getToken(parseContext, &newPpToken);
  239|       |                    // for the first token, preceding spaces don't matter
  240|      0|                    if (firstToken) {
  ------------------
  |  Branch (240:25): [True: 0, False: 0]
  ------------------
  241|      0|                        newPpToken.space = oldPpToken.space;
  242|      0|                        firstToken = false;
  243|      0|                    }
  244|      0|                    if (oldToken != newToken || oldPpToken != newPpToken) {
  ------------------
  |  Branch (244:25): [True: 0, False: 0]
  |  Branch (244:49): [True: 0, False: 0]
  ------------------
  245|      0|                        parseContext.ppError(defineLoc, "Macro redefined; different substitutions:", "#define",
  246|      0|                            atomStrings.getString(defAtom));
  247|      0|                        break;
  248|      0|                    }
  249|      0|                } while (newToken != EndOfInput);
  ------------------
  |  Branch (249:26): [True: 0, False: 0]
  ------------------
  250|      0|            }
  251|      0|        }
  252|      0|        *existing = mac;
  253|      0|    } else
  254|  7.33k|        addMacroDef(defAtom, mac);
  255|       |
  256|  7.33k|    return '\n';
  257|  7.33k|}
_ZN7glslang10TPpContext7CPPelseEiPNS_8TPpTokenE:
  287|     74|{
  288|     74|    inElseSkip = true;
  289|     74|    int depth = 0;
  290|     74|    int token = scanToken(ppToken);
  291|       |
  292|   387k|    while (token != EndOfInput) {
  ------------------
  |  Branch (292:12): [True: 387k, False: 9]
  ------------------
  293|   387k|        if (token != '#') {
  ------------------
  |  Branch (293:13): [True: 343k, False: 44.2k]
  ------------------
  294|  1.19M|            while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (294:20): [True: 852k, False: 343k]
  |  Branch (294:37): [True: 852k, False: 56]
  ------------------
  295|   852k|                token = scanToken(ppToken);
  296|       |
  297|   343k|            if (token == EndOfInput)
  ------------------
  |  Branch (297:17): [True: 56, False: 343k]
  ------------------
  298|     56|                return token;
  299|       |
  300|   343k|            token = scanToken(ppToken);
  301|   343k|            continue;
  302|   343k|        }
  303|       |
  304|  44.2k|        if ((token = scanToken(ppToken)) != PpAtomIdentifier)
  ------------------
  |  Branch (304:13): [True: 4.79k, False: 39.4k]
  ------------------
  305|  4.79k|            continue;
  306|       |
  307|  39.4k|        int nextAtom = atomStrings.getAtom(ppToken->name);
  308|  39.4k|        if (nextAtom == PpAtomIf || nextAtom == PpAtomIfdef || nextAtom == PpAtomIfndef) {
  ------------------
  |  Branch (308:13): [True: 134, False: 39.3k]
  |  Branch (308:37): [True: 19, False: 39.3k]
  |  Branch (308:64): [True: 0, False: 39.3k]
  ------------------
  309|    153|            depth++;
  310|    153|            if (ifdepth >= maxIfNesting || elsetracker >= maxIfNesting) {
  ------------------
  |  Branch (310:17): [True: 0, False: 153]
  |  Branch (310:44): [True: 0, False: 153]
  ------------------
  311|      0|                parseContext.ppError(ppToken->loc, "maximum nesting depth exceeded", "#if/#ifdef/#ifndef", "");
  312|      0|                return EndOfInput;
  313|    153|            } else {
  314|    153|                ifdepth++;
  315|    153|                elsetracker++;
  316|    153|            }
  317|  39.3k|        } else if (nextAtom == PpAtomEndif) {
  ------------------
  |  Branch (317:20): [True: 43, False: 39.2k]
  ------------------
  318|     43|            token = extraTokenCheck(nextAtom, ppToken, scanToken(ppToken));
  319|     43|            elseSeen[elsetracker] = false;
  320|     43|            --elsetracker;
  321|     43|            if (depth == 0) {
  ------------------
  |  Branch (321:17): [True: 5, False: 38]
  ------------------
  322|       |                // found the #endif we are looking for
  323|      5|                if (ifdepth > 0)
  ------------------
  |  Branch (323:21): [True: 5, False: 0]
  ------------------
  324|      5|                    --ifdepth;
  325|      5|                break;
  326|      5|            }
  327|     38|            --depth;
  328|     38|            --ifdepth;
  329|  39.2k|        } else if (matchelse && depth == 0) {
  ------------------
  |  Branch (329:20): [True: 39.2k, False: 0]
  |  Branch (329:33): [True: 19.8k, False: 19.4k]
  ------------------
  330|  19.8k|            if (nextAtom == PpAtomElse) {
  ------------------
  |  Branch (330:17): [True: 0, False: 19.8k]
  ------------------
  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|  19.8k|            } else if (nextAtom == PpAtomElif) {
  ------------------
  |  Branch (335:24): [True: 4, False: 19.8k]
  ------------------
  336|      4|                if (elseSeen[elsetracker])
  ------------------
  |  Branch (336:21): [True: 0, False: 4]
  ------------------
  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|      4|                if (ifdepth > 0) {
  ------------------
  |  Branch (340:21): [True: 4, False: 0]
  ------------------
  341|      4|                    --ifdepth;
  342|      4|                    elseSeen[elsetracker] = false;
  343|      4|                    --elsetracker;
  344|      4|                }
  345|      4|                inElseSkip = false;
  346|      4|                return CPPif(ppToken);
  347|      4|            }
  348|  19.8k|        } else if (nextAtom == PpAtomElse) {
  ------------------
  |  Branch (348:20): [True: 1, False: 19.4k]
  ------------------
  349|      1|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (349:17): [True: 0, False: 1]
  ------------------
  350|      0|                parseContext.ppError(ppToken->loc, "#else after #else", "#else", "");
  351|      1|            else
  352|      1|                elseSeen[elsetracker] = true;
  353|      1|            token = extraTokenCheck(nextAtom, ppToken, scanToken(ppToken));
  354|  19.4k|        } else if (nextAtom == PpAtomElif) {
  ------------------
  |  Branch (354:20): [True: 24, False: 19.3k]
  ------------------
  355|     24|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (355:17): [True: 0, False: 24]
  ------------------
  356|      0|                parseContext.ppError(ppToken->loc, "#elif after #else", "#elif", "");
  357|     24|        }
  358|  39.4k|    }
  359|       |    
  360|     14|    inElseSkip = false;
  361|     14|    return token;
  362|     74|}
_ZN7glslang10TPpContext15extraTokenCheckEiPNS_8TPpTokenEi:
  366|    125|{
  367|    125|    if (token != '\n' && token != EndOfInput) {
  ------------------
  |  Branch (367:9): [True: 1, False: 124]
  |  Branch (367:26): [True: 0, False: 1]
  ------------------
  368|      0|        static const char* message = "unexpected tokens following directive";
  369|       |
  370|      0|        const char* label;
  371|      0|        if (contextAtom == PpAtomElse)
  ------------------
  |  Branch (371:13): [True: 0, False: 0]
  ------------------
  372|      0|            label = "#else";
  373|      0|        else if (contextAtom == PpAtomElif)
  ------------------
  |  Branch (373:18): [True: 0, False: 0]
  ------------------
  374|      0|            label = "#elif";
  375|      0|        else if (contextAtom == PpAtomEndif)
  ------------------
  |  Branch (375:18): [True: 0, False: 0]
  ------------------
  376|      0|            label = "#endif";
  377|      0|        else if (contextAtom == PpAtomIf)
  ------------------
  |  Branch (377:18): [True: 0, False: 0]
  ------------------
  378|      0|            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|      0|        if (parseContext.relaxedErrors())
  ------------------
  |  Branch (384:13): [True: 0, False: 0]
  ------------------
  385|      0|            parseContext.ppWarn(ppToken->loc, message, label, "");
  386|      0|        else
  387|      0|            parseContext.ppError(ppToken->loc, message, label, "");
  388|       |
  389|      0|        while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (389:16): [True: 0, False: 0]
  |  Branch (389:33): [True: 0, False: 0]
  ------------------
  390|      0|            token = scanToken(ppToken);
  391|      0|    }
  392|       |
  393|    125|    return token;
  394|    125|}
_ZN7glslang10TPpContext4evalEiibRiRbPNS_8TPpTokenE:
  464|  17.5k|{
  465|  17.5k|    TSourceLoc loc = ppToken->loc;  // because we sometimes read the newline before reporting the error
  466|  17.5k|    if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (466:9): [True: 12, False: 17.5k]
  ------------------
  467|     12|        if (strcmp("defined", ppToken->name) == 0) {
  ------------------
  |  Branch (467:13): [True: 6, False: 6]
  ------------------
  468|      6|            if (! parseContext.isReadingHLSL() && isMacroInput()) {
  ------------------
  |  Branch (468:17): [True: 2, False: 4]
  |  Branch (468:51): [True: 0, False: 2]
  ------------------
  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|      6|            bool needclose = 0;
  477|      6|            token = scanToken(ppToken);
  478|      6|            if (token == '(') {
  ------------------
  |  Branch (478:17): [True: 6, False: 0]
  ------------------
  479|      6|                needclose = true;
  480|      6|                token = scanToken(ppToken);
  481|      6|            }
  482|      6|            if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (482:17): [True: 0, False: 6]
  ------------------
  483|      0|                parseContext.ppError(loc, "incorrect directive, expected identifier", "preprocessor evaluation", "");
  484|      0|                err = true;
  485|      0|                res = 0;
  486|       |
  487|      0|                return token;
  488|      0|            }
  489|       |
  490|      6|            MacroSymbol* macro = lookupMacroDef(atomStrings.getAtom(ppToken->name));
  491|      6|            res = macro != nullptr ? !macro->undef : 0;
  ------------------
  |  Branch (491:19): [True: 0, False: 6]
  ------------------
  492|      6|            token = scanToken(ppToken);
  493|      6|            if (needclose) {
  ------------------
  |  Branch (493:17): [True: 6, False: 0]
  ------------------
  494|      6|                if (token != ')') {
  ------------------
  |  Branch (494:21): [True: 0, False: 6]
  ------------------
  495|      0|                    parseContext.ppError(loc, "expected ')'", "preprocessor evaluation", "");
  496|      0|                    err = true;
  497|      0|                    res = 0;
  498|       |
  499|      0|                    return token;
  500|      0|                }
  501|      6|                token = scanToken(ppToken);
  502|      6|            }
  503|      6|        } else {
  504|      6|            token = tokenPaste(token, *ppToken);
  505|      6|            token = evalToToken(token, shortCircuit, res, err, ppToken);
  506|      6|            return eval(token, precedence, shortCircuit, res, err, ppToken);
  507|      6|        }
  508|  17.5k|    } else if (token == PpAtomConstInt) {
  ------------------
  |  Branch (508:16): [True: 77, False: 17.4k]
  ------------------
  509|     77|        res = ppToken->ival;
  510|     77|        token = scanToken(ppToken);
  511|  17.4k|    } else if (token == '(') {
  ------------------
  |  Branch (511:16): [True: 17.3k, False: 150]
  ------------------
  512|  17.3k|        token = scanToken(ppToken);
  513|  17.3k|        token = eval(token, MIN_PRECEDENCE, shortCircuit, res, err, ppToken);
  514|  17.3k|        if (! err) {
  ------------------
  |  Branch (514:13): [True: 0, False: 17.3k]
  ------------------
  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|  17.3k|    } else {
  525|    150|        int op = NUM_ELEMENTS(unop) - 1;
  ------------------
  |  |  461|    150|#define NUM_ELEMENTS(A) (sizeof(A) / sizeof(A[0]))
  ------------------
  526|    438|        for (; op >= 0; op--) {
  ------------------
  |  Branch (526:16): [True: 437, False: 1]
  ------------------
  527|    437|            if (unop[op].token == token)
  ------------------
  |  Branch (527:17): [True: 149, False: 288]
  ------------------
  528|    149|                break;
  529|    437|        }
  530|    150|        if (op >= 0) {
  ------------------
  |  Branch (530:13): [True: 149, False: 1]
  ------------------
  531|    149|            token = scanToken(ppToken);
  532|    149|            token = eval(token, UNARY, shortCircuit, res, err, ppToken);
  533|    149|            res = unop[op].op(res);
  534|    149|        } else {
  535|      1|            parseContext.ppError(loc, "bad expression", "preprocessor evaluation", "");
  536|      1|            err = true;
  537|      1|            res = 0;
  538|       |
  539|      1|            return token;
  540|      1|        }
  541|    150|    }
  542|       |
  543|  17.5k|    token = evalToToken(token, shortCircuit, res, err, ppToken);
  544|       |
  545|       |    // Perform evaluation of binary operation, if there is one, otherwise we are done.
  546|  17.5k|    while (! err) {
  ------------------
  |  Branch (546:12): [True: 238, False: 17.3k]
  ------------------
  547|    238|        if (token == ')' || token == '\n')
  ------------------
  |  Branch (547:13): [True: 0, False: 238]
  |  Branch (547:29): [True: 209, False: 29]
  ------------------
  548|    209|            break;
  549|     29|        int op;
  550|    506|        for (op = NUM_ELEMENTS(binop) - 1; op >= 0; op--) {
  ------------------
  |  |  461|     29|#define NUM_ELEMENTS(A) (sizeof(A) / sizeof(A[0]))
  ------------------
  |  Branch (550:44): [True: 486, False: 20]
  ------------------
  551|    486|            if (binop[op].token == token)
  ------------------
  |  Branch (551:17): [True: 9, False: 477]
  ------------------
  552|      9|                break;
  553|    486|        }
  554|     29|        if (op < 0 || binop[op].precedence <= precedence)
  ------------------
  |  Branch (554:13): [True: 20, False: 9]
  |  Branch (554:23): [True: 3, False: 6]
  ------------------
  555|     23|            break;
  556|      6|        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|      6|        if (! shortCircuit) {
  ------------------
  |  Branch (560:13): [True: 6, False: 0]
  ------------------
  561|      6|            if ((token == PpAtomOr  && leftSide == 1) ||
  ------------------
  |  Branch (561:18): [True: 0, False: 6]
  |  Branch (561:40): [True: 0, False: 0]
  ------------------
  562|      6|                (token == PpAtomAnd && leftSide == 0))
  ------------------
  |  Branch (562:18): [True: 0, False: 6]
  |  Branch (562:40): [True: 0, False: 0]
  ------------------
  563|      0|                shortCircuit = true;
  564|      6|        }
  565|       |
  566|      6|        token = scanToken(ppToken);
  567|      6|        token = eval(token, binop[op].precedence, shortCircuit, res, err, ppToken);
  568|       |
  569|      6|        if (binop[op].op == op_div || binop[op].op == op_mod) {
  ------------------
  |  Branch (569:13): [True: 0, False: 6]
  |  Branch (569:39): [True: 0, False: 6]
  ------------------
  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|      6|        res = binop[op].op(leftSide, res);
  576|      6|    }
  577|       |
  578|  17.5k|    return token;
  579|  17.5k|}
_ZN7glslang10TPpContext11evalToTokenEibRiRbPNS_8TPpTokenE:
  583|  17.5k|{
  584|  17.5k|    while (token == PpAtomIdentifier && strcmp("defined", ppToken->name) != 0) {
  ------------------
  |  Branch (584:12): [True: 6, False: 17.5k]
  |  Branch (584:41): [True: 6, False: 0]
  ------------------
  585|      6|        switch (MacroExpand(ppToken, true, false)) {
  ------------------
  |  Branch (585:17): [True: 6, False: 0]
  ------------------
  586|      0|        case MacroExpandNotStarted:
  ------------------
  |  Branch (586:9): [True: 0, False: 6]
  ------------------
  587|      0|        case MacroExpandError:
  ------------------
  |  Branch (587:9): [True: 0, False: 6]
  ------------------
  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: 6]
  ------------------
  593|      0|            break;
  594|      6|        case MacroExpandUndef:
  ------------------
  |  Branch (594:9): [True: 6, False: 0]
  ------------------
  595|      6|            if (! shortCircuit && parseContext.isEsProfile()) {
  ------------------
  |  Branch (595:17): [True: 6, False: 0]
  |  Branch (595:35): [True: 1, False: 5]
  ------------------
  596|      1|                const char* message = "undefined macro in expression not allowed in es profile";
  597|      1|                if (parseContext.relaxedErrors())
  ------------------
  |  Branch (597:21): [True: 0, False: 1]
  ------------------
  598|      0|                    parseContext.ppWarn(ppToken->loc, message, "preprocessor evaluation", ppToken->name);
  599|      1|                else
  600|      1|                    parseContext.ppError(ppToken->loc, message, "preprocessor evaluation", ppToken->name);
  601|      1|            }
  602|      6|            break;
  603|      6|        }
  604|      6|        token = scanToken(ppToken);
  605|      6|        if (err)
  ------------------
  |  Branch (605:13): [True: 0, False: 6]
  ------------------
  606|      0|            break;
  607|      6|    }
  608|       |
  609|  17.5k|    return token;
  610|  17.5k|}
_ZN7glslang10TPpContext5CPPifEPNS_8TPpTokenE:
  614|     78|{
  615|     78|    int token = scanToken(ppToken);
  616|     78|    if (ifdepth >= maxIfNesting || elsetracker >= maxIfNesting) {
  ------------------
  |  Branch (616:9): [True: 0, False: 78]
  |  Branch (616:36): [True: 0, False: 78]
  ------------------
  617|      0|        parseContext.ppError(ppToken->loc, "maximum nesting depth exceeded", "#if", "");
  618|      0|        return EndOfInput;
  619|     78|    } else {
  620|     78|        elsetracker++;
  621|     78|        ifdepth++;
  622|     78|    }
  623|     78|    int res = 0;
  624|     78|    bool err = false;
  625|     78|    token = eval(token, MIN_PRECEDENCE, false, res, err, ppToken);
  626|     78|    token = extraTokenCheck(PpAtomIf, ppToken, token);
  627|     78|    if (!res && !err)
  ------------------
  |  Branch (627:9): [True: 72, False: 6]
  |  Branch (627:17): [True: 71, False: 1]
  ------------------
  628|     71|        token = CPPelse(1, ppToken);
  629|       |
  630|     78|    return token;
  631|     78|}
_ZN7glslang10TPpContext8CPPifdefEiPNS_8TPpTokenE:
  635|      3|{
  636|      3|    int token = scanToken(ppToken);
  637|      3|    if (ifdepth > maxIfNesting || elsetracker > maxIfNesting) {
  ------------------
  |  Branch (637:9): [True: 0, False: 3]
  |  Branch (637:35): [True: 0, False: 3]
  ------------------
  638|      0|        parseContext.ppError(ppToken->loc, "maximum nesting depth exceeded", "#ifdef", "");
  639|      0|        return EndOfInput;
  640|      3|    } else {
  641|      3|        elsetracker++;
  642|      3|        ifdepth++;
  643|      3|    }
  644|       |
  645|      3|    if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (645:9): [True: 0, False: 3]
  ------------------
  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|      3|    } else {
  651|      3|        MacroSymbol* macro = lookupMacroDef(atomStrings.getAtom(ppToken->name));
  652|      3|        token = scanToken(ppToken);
  653|      3|        if (token != '\n') {
  ------------------
  |  Branch (653:13): [True: 1, False: 2]
  ------------------
  654|      1|            parseContext.ppError(ppToken->loc, "unexpected tokens following #ifdef directive - expected a newline", "#ifdef", "");
  655|      2|            while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (655:20): [True: 2, False: 0]
  |  Branch (655:37): [True: 1, False: 1]
  ------------------
  656|      1|                token = scanToken(ppToken);
  657|      1|        }
  658|      3|        if (((macro != nullptr && !macro->undef) ? 1 : 0) != defined)
  ------------------
  |  Branch (658:13): [True: 3, False: 0]
  |  Branch (658:15): [True: 0, False: 3]
  |  Branch (658:35): [True: 0, False: 0]
  ------------------
  659|      3|            token = CPPelse(1, ppToken);
  660|      3|    }
  661|       |
  662|      3|    return token;
  663|      3|}
_ZN7glslang10TPpContext11readCPPlineEPNS_8TPpTokenE:
  969|  7.41k|{
  970|  7.41k|    int token = scanToken(ppToken);
  971|       |
  972|  7.41k|    if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (972:9): [True: 7.41k, False: 0]
  ------------------
  973|  7.41k|        switch (atomStrings.getAtom(ppToken->name)) {
  974|  7.33k|        case PpAtomDefine:
  ------------------
  |  Branch (974:9): [True: 7.33k, False: 80]
  ------------------
  975|  7.33k|            token = CPPdefine(ppToken);
  976|  7.33k|            break;
  977|      0|        case PpAtomElse:
  ------------------
  |  Branch (977:9): [True: 0, False: 7.41k]
  ------------------
  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: 7.41k]
  ------------------
  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|      3|        case PpAtomEndif:
  ------------------
  |  Branch (997:9): [True: 3, False: 7.41k]
  ------------------
  998|      3|            if (ifdepth == 0)
  ------------------
  |  Branch (998:17): [True: 0, False: 3]
  ------------------
  999|      0|                parseContext.ppError(ppToken->loc, "mismatched statements", "#endif", "");
 1000|      3|            else {
 1001|      3|                elseSeen[elsetracker] = false;
 1002|      3|                --elsetracker;
 1003|      3|                --ifdepth;
 1004|      3|            }
 1005|      3|            token = extraTokenCheck(PpAtomEndif, ppToken, scanToken(ppToken));
 1006|      3|            break;
 1007|     74|        case PpAtomIf:
  ------------------
  |  Branch (1007:9): [True: 74, False: 7.34k]
  ------------------
 1008|     74|            token = CPPif(ppToken);
 1009|     74|            break;
 1010|      3|        case PpAtomIfdef:
  ------------------
  |  Branch (1010:9): [True: 3, False: 7.41k]
  ------------------
 1011|      3|            token = CPPifdef(1, ppToken);
 1012|      3|            break;
 1013|      0|        case PpAtomIfndef:
  ------------------
  |  Branch (1013:9): [True: 0, False: 7.41k]
  ------------------
 1014|      0|            token = CPPifdef(0, ppToken);
 1015|      0|            break;
 1016|      0|        case PpAtomLine:
  ------------------
  |  Branch (1016:9): [True: 0, False: 7.41k]
  ------------------
 1017|      0|            token = CPPline(ppToken);
 1018|      0|            break;
 1019|      0|        case PpAtomInclude:
  ------------------
  |  Branch (1019:9): [True: 0, False: 7.41k]
  ------------------
 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|      0|        case PpAtomPragma:
  ------------------
  |  Branch (1026:9): [True: 0, False: 7.41k]
  ------------------
 1027|      0|            token = CPPpragma(ppToken);
 1028|      0|            break;
 1029|      0|        case PpAtomUndef:
  ------------------
  |  Branch (1029:9): [True: 0, False: 7.41k]
  ------------------
 1030|      0|            token = CPPundef(ppToken);
 1031|      0|            break;
 1032|      0|        case PpAtomError:
  ------------------
  |  Branch (1032:9): [True: 0, False: 7.41k]
  ------------------
 1033|      0|            token = CPPerror(ppToken);
 1034|      0|            break;
 1035|      0|        case PpAtomVersion:
  ------------------
  |  Branch (1035:9): [True: 0, False: 7.41k]
  ------------------
 1036|      0|            token = CPPversion(ppToken);
 1037|      0|            break;
 1038|      0|        case PpAtomExtension:
  ------------------
  |  Branch (1038:9): [True: 0, False: 7.41k]
  ------------------
 1039|      0|            token = CPPextension(ppToken);
 1040|      0|            break;
 1041|      0|        default:
  ------------------
  |  Branch (1041:9): [True: 0, False: 7.41k]
  ------------------
 1042|      0|            parseContext.ppError(ppToken->loc, "invalid directive:", "#", ppToken->name);
 1043|      0|            break;
 1044|  7.41k|        }
 1045|  7.41k|    } 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|  7.41k|    while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (1048:12): [True: 66, False: 7.35k]
  |  Branch (1048:29): [True: 0, False: 66]
  ------------------
 1049|      0|        token = scanToken(ppToken);
 1050|       |
 1051|  7.41k|    return token;
 1052|  7.41k|}
_ZN7glslang10TPpContext11tMacroInput4scanEPNS_8TPpTokenE:
 1131|    432|{
 1132|    432|    int token;
 1133|    432|    do {
 1134|    432|        token = mac->body.getToken(pp->parseContext, ppToken);
 1135|    432|    } while (token == ' ');  // handle white space in macro
  ------------------
  |  Branch (1135:14): [True: 0, False: 432]
  ------------------
 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|    432|    bool pasting = false;
 1151|    432|    if (postpaste) {
  ------------------
  |  Branch (1151:9): [True: 0, False: 432]
  ------------------
 1152|       |        // don't expand next token
 1153|      0|        pasting = true;
 1154|      0|        postpaste = false;
 1155|      0|    }
 1156|       |
 1157|    432|    if (prepaste) {
  ------------------
  |  Branch (1157:9): [True: 0, False: 432]
  ------------------
 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|    432|    if (mac->body.peekTokenizedPasting(false)) {
  ------------------
  |  Branch (1165:9): [True: 0, False: 432]
  ------------------
 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|    432|    if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (1172:9): [True: 132, False: 300]
  ------------------
 1173|    132|        int i;
 1174|    132|        for (i = (int)mac->args.size() - 1; i >= 0; i--)
  ------------------
  |  Branch (1174:45): [True: 0, False: 132]
  ------------------
 1175|      0|            if (strcmp(pp->atomStrings.getString(mac->args[i]), ppToken->name) == 0)
  ------------------
  |  Branch (1175:17): [True: 0, False: 0]
  ------------------
 1176|      0|                break;
 1177|    132|        if (i >= 0) {
  ------------------
  |  Branch (1177:13): [True: 0, False: 132]
  ------------------
 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|    132|    }
 1189|       |
 1190|    432|    if (token == EndOfInput)
  ------------------
  |  Branch (1190:9): [True: 0, False: 432]
  ------------------
 1191|      0|        mac->busy = 0;
 1192|       |
 1193|    432|    return token;
 1194|    432|}
_ZN7glslang10TPpContext10tZeroInput4scanEPNS_8TPpTokenE:
 1198|     12|{
 1199|     12|    if (done)
  ------------------
  |  Branch (1199:9): [True: 6, False: 6]
  ------------------
 1200|      6|        return EndOfInput;
 1201|       |
 1202|      6|    ppToken->name[0] = '0';
 1203|      6|    ppToken->name[1] = 0;
 1204|      6|    ppToken->ival = 0;
 1205|      6|    ppToken->space = false;
 1206|      6|    done = true;
 1207|       |
 1208|      6|    return PpAtomConstInt;
 1209|     12|}
_ZN7glslang10TPpContext11MacroExpandEPNS_8TPpTokenEbb:
 1224|  1.17M|{
 1225|  1.17M|    ppToken->space = false;
 1226|  1.17M|    int macroAtom = atomStrings.getAtom(ppToken->name);
 1227|  1.17M|    if (ppToken->fullyExpanded)
  ------------------
  |  Branch (1227:9): [True: 0, False: 1.17M]
  ------------------
 1228|      0|        return MacroExpandNotStarted;
 1229|       |
 1230|  1.17M|    switch (macroAtom) {
 1231|      0|    case PpAtomLineMacro:
  ------------------
  |  Branch (1231:5): [True: 0, False: 1.17M]
  ------------------
 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: 1.17M]
  ------------------
 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: 1.17M]
  ------------------
 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|  1.17M|    default:
  ------------------
  |  Branch (1254:5): [True: 1.17M, False: 0]
  ------------------
 1255|  1.17M|        break;
 1256|  1.17M|    }
 1257|       |
 1258|  1.17M|    MacroSymbol* macro = macroAtom == 0 ? nullptr : lookupMacroDef(macroAtom);
  ------------------
  |  Branch (1258:26): [True: 1.17M, False: 83]
  ------------------
 1259|       |
 1260|       |    // no recursive expansions
 1261|  1.17M|    if (macro != nullptr && macro->busy) {
  ------------------
  |  Branch (1261:9): [True: 83, False: 1.17M]
  |  Branch (1261:29): [True: 81, False: 2]
  ------------------
 1262|     81|        ppToken->fullyExpanded = true;
 1263|     81|        return MacroExpandNotStarted;
 1264|     81|    }
 1265|       |
 1266|       |    // not expanding undefined macros
 1267|  1.17M|    if ((macro == nullptr || macro->undef) && ! expandUndef)
  ------------------
  |  Branch (1267:10): [True: 1.17M, False: 2]
  |  Branch (1267:30): [True: 0, False: 2]
  |  Branch (1267:47): [True: 1.17M, False: 6]
  ------------------
 1268|  1.17M|        return MacroExpandNotStarted;
 1269|       |
 1270|       |    // 0 is the value of an undefined macro
 1271|      8|    if ((macro == nullptr || macro->undef) && expandUndef) {
  ------------------
  |  Branch (1271:10): [True: 6, False: 2]
  |  Branch (1271:30): [True: 0, False: 2]
  |  Branch (1271:47): [True: 6, False: 0]
  ------------------
 1272|      6|        pushInput(new tZeroInput(this));
 1273|      6|        return MacroExpandUndef;
 1274|      6|    }
 1275|       |
 1276|      2|    tMacroInput *in = new tMacroInput(this);
 1277|       |
 1278|      2|    TSourceLoc loc = ppToken->loc;  // in case we go to the next line before discovering the error
 1279|      2|    in->mac = macro;
 1280|      2|    if (macro->functionLike) {
  ------------------
  |  Branch (1280:9): [True: 1, False: 1]
  ------------------
 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|    461|            while (true) {
  ------------------
  |  Branch (1307:20): [True: 461, Folded]
  ------------------
 1308|    461|                token = scanToken(ppToken);
 1309|    461|                if (token == EndOfInput || token == tMarkerInput::marker) {
  ------------------
  |  Branch (1309:21): [True: 0, False: 461]
  |  Branch (1309:44): [True: 0, False: 461]
  ------------------
 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|    461|                if (token == '\n') {
  ------------------
  |  Branch (1314:21): [True: 44, False: 417]
  ------------------
 1315|     44|                    if (! newLineOkay) {
  ------------------
  |  Branch (1315:25): [True: 0, False: 44]
  ------------------
 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|     44|                    continue;
 1321|     44|                }
 1322|    417|                if (token == '#') {
  ------------------
  |  Branch (1322:21): [True: 1, False: 416]
  ------------------
 1323|      1|                    parseContext.ppError(ppToken->loc, "unexpected '#'", "macro expansion", atomStrings.getString(macroAtom));
 1324|      1|                    delete in;
 1325|      1|                    return MacroExpandError;
 1326|      1|                }
 1327|    416|                if (in->mac->args.size() == 0 && token != ')')
  ------------------
  |  Branch (1327:21): [True: 0, False: 416]
  |  Branch (1327:50): [True: 0, False: 0]
  ------------------
 1328|      0|                    break;
 1329|    416|                if (nestStack.size() == 0 && (token == ',' || token == ')'))
  ------------------
  |  Branch (1329:21): [True: 11, False: 405]
  |  Branch (1329:47): [True: 0, False: 11]
  |  Branch (1329:63): [True: 0, False: 11]
  ------------------
 1330|      0|                    break;
 1331|    416|                if (token == '(')
  ------------------
  |  Branch (1331:21): [True: 38, False: 378]
  ------------------
 1332|     38|                    nestStack.push_back(')');
 1333|    378|                else if (token == '{' && parseContext.isReadingHLSL())
  ------------------
  |  Branch (1333:26): [True: 0, False: 378]
  |  Branch (1333:42): [True: 0, False: 0]
  ------------------
 1334|      0|                    nestStack.push_back('}');
 1335|    378|                else if (nestStack.size() > 0 && token == nestStack.back())
  ------------------
  |  Branch (1335:26): [True: 370, False: 8]
  |  Branch (1335:50): [True: 33, False: 337]
  ------------------
 1336|     33|                    nestStack.pop_back();
 1337|       |
 1338|       |                //Macro replacement list is expanded in the last stage.
 1339|    416|                if (atomStrings.getAtom(ppToken->name) == PpAtomLineMacro)
  ------------------
  |  Branch (1339:21): [True: 0, False: 416]
  ------------------
 1340|      0|                    ppToken->ival = parseContext.getCurrentLoc().line;
 1341|       |
 1342|    416|                in->args[arg]->putToken(token, ppToken);
 1343|    416|                tokenRecorded = true;
 1344|    416|            }
 1345|       |            // end of single argument scan
 1346|       |
 1347|      0|            if (token == ')') {
  ------------------
  |  Branch (1347:17): [True: 0, False: 0]
  ------------------
 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|      0|            arg++;
 1355|      0|        } while (arg < in->mac->args.size());
  ------------------
  |  Branch (1355:18): [True: 0, False: 0]
  ------------------
 1356|       |        // end of all arguments scan
 1357|       |
 1358|      0|        if (arg < in->mac->args.size())
  ------------------
  |  Branch (1358:13): [True: 0, False: 0]
  ------------------
 1359|      0|            parseContext.ppError(loc, "Too few args in Macro", "macro expansion", atomStrings.getString(macroAtom));
 1360|      0|        else if (token != ')') {
  ------------------
  |  Branch (1360:18): [True: 0, False: 0]
  ------------------
 1361|       |            // Error recover code; find end of call, if possible
 1362|      0|            int depth = 0;
 1363|      0|            while (token != EndOfInput && (depth > 0 || token != ')')) {
  ------------------
  |  Branch (1363:20): [True: 0, False: 0]
  |  Branch (1363:44): [True: 0, False: 0]
  |  Branch (1363:57): [True: 0, False: 0]
  ------------------
 1364|      0|                if (token == ')' || token == '}')
  ------------------
  |  Branch (1364:21): [True: 0, False: 0]
  |  Branch (1364:37): [True: 0, False: 0]
  ------------------
 1365|      0|                    depth--;
 1366|      0|                token = scanToken(ppToken);
 1367|      0|                if (token == '(' || token == '{')
  ------------------
  |  Branch (1367:21): [True: 0, False: 0]
  |  Branch (1367:37): [True: 0, False: 0]
  ------------------
 1368|      0|                    depth++;
 1369|      0|            }
 1370|       |
 1371|      0|            if (token == EndOfInput) {
  ------------------
  |  Branch (1371:17): [True: 0, False: 0]
  ------------------
 1372|      0|                parseContext.ppError(loc, "End of input in macro", "macro expansion", atomStrings.getString(macroAtom));
 1373|      0|                delete in;
 1374|      0|                return MacroExpandError;
 1375|      0|            }
 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|      1|    pushInput(in);
 1386|      1|    macro->busy = 1;
 1387|      1|    macro->body.reset();
 1388|       |
 1389|      1|    return MacroExpandStarted;
 1390|      2|}
Pp.cpp:_ZN7glslang12_GLOBAL__N_16op_posEi:
  422|     68|    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|     76|    int op_cmpl(int a) { return ~a; }
Pp.cpp:_ZN7glslang12_GLOBAL__N_16op_notEi:
  425|      3|    int op_not(int a) { return !a; }
Pp.cpp:_ZN7glslang12_GLOBAL__N_16op_andEii:
  408|      6|    int op_and(int a, int b) { return a & b; }

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

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

_ZN7glslang8TPpTokenC2Ev:
   93|  4.46M|    TPpToken() { clear(); }
_ZN7glslang8TPpToken5clearEv:
   95|  8.19M|    {
   96|  8.19M|        space = false;
   97|  8.19M|        i64val = 0;
   98|  8.19M|        loc.init();
   99|  8.19M|        name[0] = 0;
  100|  8.19M|        fullyExpanded = false;
  101|  8.19M|    }
_ZNK7glslang14TStringAtomMap7getAtomEPKc:
  141|  1.22M|    {
  142|  1.22M|        auto it = atomMap.find(s);
  143|  1.22M|        return it == atomMap.end() ? 0 : it->second;
  ------------------
  |  Branch (143:16): [True: 1.21M, False: 10.4k]
  ------------------
  144|  1.22M|    }
_ZN7glslang14TStringAtomMap10getAddAtomEPKc:
  148|  7.33k|    {
  149|  7.33k|        int atom = getAtom(s);
  150|  7.33k|        if (atom == 0) {
  ------------------
  |  Branch (150:13): [True: 7.33k, False: 1]
  ------------------
  151|  7.33k|            atom = nextAtom++;
  152|  7.33k|            addAtomFixed(s, atom);
  153|  7.33k|        }
  154|  7.33k|        return atom;
  155|  7.33k|    }
_ZNK7glslang14TStringAtomMap9getStringEi:
  158|  1.05M|    const char* getString(int atom) const { return stringMap[atom]->c_str(); }
_ZN7glslang14TStringAtomMap12addAtomFixedEPKci:
  176|  63.5k|    {
  177|  63.5k|        auto it = atomMap.insert(std::pair<TString, int>(s, atom)).first;
  178|  63.5k|        if (stringMap.size() < (size_t)atom + 1)
  ------------------
  |  Branch (178:13): [True: 934, False: 62.6k]
  ------------------
  179|    934|            stringMap.resize(atom + 100, &badToken);
  180|  63.5k|        stringMap[atom] = &it->first;
  181|  63.5k|    }
_ZN7glslang10TPpContext6tInputC2EPS0_:
  208|    415|        tInput(TPpContext* p) : done(false), pp(p) { }
_ZN7glslang10TPpContext6tInputD2Ev:
  209|    415|        virtual ~tInput() { }
_ZN7glslang10TPpContext6tInput11peekPastingEv:
  214|  2.42M|        virtual bool peekPasting() { return false; }             // true when about to see ##
_ZN7glslang10TPpContext6tInput12isMacroInputEv:
  217|      2|        virtual bool isMacroInput() { return false; }
_ZN7glslang10TPpContext6tInput13isStringInputEv:
  218|    438|        virtual bool isStringInput() { return false; }
_ZN7glslang10TPpContext6tInput15notifyActivatedEv:
  221|    414|        virtual void notifyActivated() {}
_ZN7glslang10TPpContext6tInput13notifyDeletedEv:
  223|    414|        virtual void notifyDeleted() {}
_ZN7glslang10TPpContext9pushInputEPNS0_6tInputE:
  232|    414|    {
  233|    414|        inputStack.push_back(in);
  234|    414|        in->notifyActivated();
  235|    414|    }
_ZN7glslang10TPpContext8popInputEv:
  237|    414|    {
  238|    414|        inputStack.back()->notifyDeleted();
  239|    414|        delete inputStack.back();
  240|    414|        inputStack.pop_back();
  241|    414|    }
_ZN7glslang10TPpContext11TokenStream5TokenC2EiRKNS_8TPpTokenE:
  255|  25.5k|                atom(atom),
  256|  25.5k|                space(ppToken.space),
  257|  25.5k|                i64val(ppToken.i64val),
  258|  25.5k|                name(ppToken.name) { }
_ZN7glslang10TPpContext11TokenStream5Token3getERNS_8TPpTokenE:
  260|    432|            {
  261|    432|                ppToken.clear();
  262|    432|                ppToken.space = space;
  263|    432|                ppToken.i64val = i64val;
  264|    432|                snprintf(ppToken.name, sizeof(ppToken.name), "%s", name.c_str());
  265|    432|                return atom;
  266|    432|            }
_ZNK7glslang10TPpContext11TokenStream5Token6isAtomEi:
  267|    864|            bool isAtom(int a) const { return atom == a; }
_ZN7glslang10TPpContext11TokenStreamC2Ev:
  278|  14.6k|        TokenStream() : currentPos(0) { }
_ZN7glslang10TPpContext11TokenStream9peekTokenEi:
  281|    864|        bool peekToken(int atom) { return !atEnd() && stream[currentPos].isAtom(atom); }
  ------------------
  |  Branch (281:43): [True: 864, False: 0]
  |  Branch (281:55): [True: 0, False: 864]
  ------------------
_ZN7glslang10TPpContext11TokenStream5atEndEv:
  312|  1.29k|        bool atEnd() { return currentPos >= stream.size(); }
_ZN7glslang10TPpContext11TokenStream5resetEv:
  314|      1|        void reset() { currentPos = 0; }
_ZN7glslang10TPpContext11MacroSymbolC2Ev:
  326|  14.6k|        MacroSymbol() : functionLike(0), busy(0), undef(0) { }
_ZN7glslang10TPpContext14lookupMacroDefEi:
  337|  7.42k|    {
  338|  7.42k|        auto existingMacroIt = macroDefs.find(atom);
  339|  7.42k|        return (existingMacroIt == macroDefs.end()) ? nullptr : &(existingMacroIt->second);
  ------------------
  |  Branch (339:16): [True: 7.34k, False: 83]
  ------------------
  340|  7.42k|    }
_ZN7glslang10TPpContext11addMacroDefEiRNS0_11MacroSymbolE:
  341|  7.33k|    void addMacroDef(int atom, MacroSymbol& macroDef) { macroDefs[atom] = macroDef; }
_ZN7glslang10TPpContext9scanTokenEPNS_8TPpTokenE:
  364|  3.73M|    {
  365|  3.73M|        int token = EndOfInput;
  366|       |
  367|  3.73M|        while (! inputStack.empty()) {
  ------------------
  |  Branch (367:16): [True: 3.73M, False: 403]
  ------------------
  368|  3.73M|            token = inputStack.back()->scan(ppToken);
  369|  3.73M|            if (token != EndOfInput || inputStack.empty())
  ------------------
  |  Branch (369:17): [True: 3.73M, False: 407]
  |  Branch (369:40): [True: 0, False: 407]
  ------------------
  370|  3.73M|                break;
  371|    407|            popInput();
  372|    407|        }
  373|  3.73M|        if (!inputStack.empty() && inputStack.back()->isStringInput() && !inElseSkip) {
  ------------------
  |  Branch (373:13): [True: 3.73M, False: 403]
  |  Branch (373:36): [True: 3.73M, False: 438]
  |  Branch (373:74): [True: 2.49M, False: 1.24M]
  ------------------
  374|  2.49M|            if (token == '\n') {
  ------------------
  |  Branch (374:17): [True: 201k, False: 2.29M]
  ------------------
  375|   201k|                lastLineTokens.clear();
  376|   201k|                lastLineTokenLocs.clear();
  377|  2.29M|            } else {
  378|  2.29M|                lastLineTokens.push_back(token);
  379|  2.29M|                lastLineTokenLocs.push_back(ppToken->loc);
  380|  2.29M|            }
  381|  2.49M|        }
  382|  3.73M|        return token;
  383|  3.73M|    }
_ZN7glslang10TPpContext7getCharEv:
  384|  8.51k|    int  getChar() { return inputStack.back()->getch(); }
_ZN7glslang10TPpContext9ungetCharEv:
  385|  2.47k|    void ungetChar() { inputStack.back()->ungetch(); }
_ZN7glslang10TPpContext11peekPastingEv:
  386|  2.42M|    bool peekPasting() { return !inputStack.empty() && inputStack.back()->peekPasting(); }
  ------------------
  |  Branch (386:33): [True: 2.42M, False: 335]
  |  Branch (386:56): [True: 0, False: 2.42M]
  ------------------
_ZN7glslang10TPpContext12isMacroInputEv:
  392|      2|    bool isMacroInput() { return inputStack.size() > 0 && inputStack.back()->isMacroInput(); }
  ------------------
  |  Branch (392:34): [True: 2, False: 0]
  |  Branch (392:59): [True: 0, False: 2]
  ------------------
_ZN7glslang10TPpContext11tMacroInputC2EPS0_:
  402|      2|        tMacroInput(TPpContext* pp) : tInput(pp), prepaste(false), postpaste(false) { }
_ZN7glslang10TPpContext11tMacroInputD2Ev:
  404|      2|        {
  405|      3|            for (size_t i = 0; i < args.size(); ++i)
  ------------------
  |  Branch (405:32): [True: 1, False: 2]
  ------------------
  406|      1|                delete args[i];
  407|      3|            for (size_t i = 0; i < expandedArgs.size(); ++i)
  ------------------
  |  Branch (407:32): [True: 1, False: 2]
  ------------------
  408|      1|                delete expandedArgs[i];
  409|      2|        }
_ZN7glslang10TPpContext11tMacroInput11peekPastingEv:
  414|    432|        bool peekPasting() override { return prepaste; }
_ZN7glslang10TPpContext10tZeroInputC2EPS0_:
  478|      6|        tZeroInput(TPpContext* pp) : tInput(pp) { }
_ZN7glslang10TPpContext12tStringInputC2EPS0_RNS_13TInputScannerE:
  564|    407|        tStringInput(TPpContext* pp, TInputScanner& i) : tInput(pp), input(&i) { }
_ZN7glslang10TPpContext12tStringInput13isStringInputEv:
  566|  3.73M|        bool isStringInput() override { return true; }
_ZN7glslang10TPpContext12tStringInput5getchEv:
  571|  15.1M|        {
  572|  15.1M|            int ch = input->get();
  573|       |
  574|  15.1M|            if (ch == '\\') {
  ------------------
  |  Branch (574:17): [True: 12.0k, False: 15.1M]
  ------------------
  575|       |                // Move past escaped newlines, as many as sequentially exist
  576|  12.0k|                do {
  577|  12.0k|                    if (input->peek() == '\r' || input->peek() == '\n') {
  ------------------
  |  Branch (577:25): [True: 6.61k, False: 5.47k]
  |  Branch (577:50): [True: 81, False: 5.39k]
  ------------------
  578|  6.69k|                        bool allowed = pp->parseContext.lineContinuationCheck(input->getSourceLoc(), pp->inComment);
  579|  6.69k|                        if (! allowed && pp->inComment)
  ------------------
  |  Branch (579:29): [True: 2.41k, False: 4.27k]
  |  Branch (579:42): [True: 2.38k, False: 27]
  ------------------
  580|  2.38k|                            return '\\';
  581|       |
  582|       |                        // escape one newline now
  583|  4.30k|                        ch = input->get();
  584|  4.30k|                        int nextch = input->get();
  585|  4.30k|                        if (ch == '\r' && nextch == '\n')
  ------------------
  |  Branch (585:29): [True: 4.20k, False: 104]
  |  Branch (585:43): [True: 93, False: 4.10k]
  ------------------
  586|     93|                            ch = input->get();
  587|  4.21k|                        else
  588|  4.21k|                            ch = nextch;
  589|  4.30k|                    } else
  590|  5.39k|                        return '\\';
  591|  12.0k|                } while (ch == '\\');
  ------------------
  |  Branch (591:26): [True: 64, False: 4.24k]
  ------------------
  592|  12.0k|            }
  593|       |
  594|       |            // handle any non-escaped newline
  595|  15.1M|            if (ch == '\r' || ch == '\n') {
  ------------------
  |  Branch (595:17): [True: 496k, False: 14.6M]
  |  Branch (595:31): [True: 360k, False: 14.2M]
  ------------------
  596|   856k|                if (ch == '\r' && input->peek() == '\n')
  ------------------
  |  Branch (596:21): [True: 496k, False: 360k]
  |  Branch (596:35): [True: 1.82k, False: 495k]
  ------------------
  597|  1.82k|                    input->get();
  598|   856k|                return '\n';
  599|   856k|            }
  600|       |
  601|  14.2M|            return ch;
  602|  15.1M|        }
_ZN7glslang10TPpContext12tStringInput7ungetchEv:
  609|  1.67M|        {
  610|  1.67M|            input->unget();
  611|       |
  612|  1.67M|            do {
  613|  1.67M|                int ch = input->peek();
  614|  1.67M|                if (ch == '\r' || ch == '\n') {
  ------------------
  |  Branch (614:21): [True: 220k, False: 1.45M]
  |  Branch (614:35): [True: 56.2k, False: 1.39M]
  ------------------
  615|   276k|                    if (ch == '\n') {
  ------------------
  |  Branch (615:25): [True: 56.2k, False: 220k]
  ------------------
  616|       |                        // correct for two-character newline
  617|  56.2k|                        input->unget();
  618|  56.2k|                        if (input->peek() != '\r')
  ------------------
  |  Branch (618:29): [True: 56.1k, False: 74]
  ------------------
  619|  56.1k|                            input->get();
  620|  56.2k|                    }
  621|       |                    // now in front of a complete newline, move past an escape character
  622|   276k|                    input->unget();
  623|   276k|                    if (input->peek() == '\\')
  ------------------
  |  Branch (623:25): [True: 1, False: 276k]
  ------------------
  624|      1|                        input->unget();
  625|   276k|                    else {
  626|   276k|                        input->get();
  627|   276k|                        break;
  628|   276k|                    }
  629|   276k|                } else
  630|  1.39M|                    break;
  631|  1.67M|            } while (true);
  ------------------
  |  Branch (631:22): [True: 1, Folded]
  ------------------
  632|  1.67M|        }

_ZN7glslang10TPpContext11lFloatConstEiiPNS_8TPpTokenE:
  113|  3.72k|{
  114|  3.72k|    const auto saveName = [&](int ch) {
  115|  3.72k|        if (len <= MaxTokenLength)
  116|  3.72k|            ppToken->name[len++] = static_cast<char>(ch);
  117|  3.72k|    };
  118|       |
  119|       |    // find the range of non-zero digits before the decimal point
  120|  3.72k|    int startNonZero = 0;
  121|  14.0k|    while (startNonZero < len && ppToken->name[startNonZero] == '0')
  ------------------
  |  Branch (121:12): [True: 12.1k, False: 1.90k]
  |  Branch (121:34): [True: 10.3k, False: 1.81k]
  ------------------
  122|  10.3k|        ++startNonZero;
  123|  3.72k|    int endNonZero = len;
  124|  3.77k|    while (endNonZero > startNonZero && ppToken->name[endNonZero-1] == '0')
  ------------------
  |  Branch (124:12): [True: 1.86k, False: 1.90k]
  |  Branch (124:41): [True: 50, False: 1.81k]
  ------------------
  125|     50|        --endNonZero;
  126|  3.72k|    int numWholeNumberDigits = endNonZero - startNonZero;
  127|       |
  128|       |    // accumulate the range's value
  129|  3.72k|    bool fastPath = numWholeNumberDigits <= 15;  // when the number gets too complex, set to false
  130|  3.72k|    unsigned long long wholeNumber = 0;
  131|  3.72k|    if (fastPath) {
  ------------------
  |  Branch (131:9): [True: 3.39k, False: 329]
  ------------------
  132|  6.44k|        for (int i = startNonZero; i < endNonZero; ++i)
  ------------------
  |  Branch (132:36): [True: 3.05k, False: 3.39k]
  ------------------
  133|  3.05k|            wholeNumber = wholeNumber * 10 + (ppToken->name[i] - '0');
  134|  3.39k|    }
  135|  3.72k|    int decimalShift = len - endNonZero;
  136|       |
  137|       |    // Decimal point:
  138|  3.72k|    bool hasDecimalOrExponent = false;
  139|  3.72k|    if (ch == '.') {
  ------------------
  |  Branch (139:9): [True: 1.02k, False: 2.69k]
  ------------------
  140|  1.02k|        hasDecimalOrExponent = true;
  141|  1.02k|        saveName(ch);
  142|  1.02k|        ch = getChar();
  143|  1.02k|        int firstDecimal = len;
  144|       |
  145|  1.02k|#ifdef ENABLE_HLSL
  146|       |        // 1.#INF or -1.#INF
  147|  1.02k|        if (ch == '#' && (ifdepth > 0 || parseContext.intermediate.getSource() == EShSourceHlsl)) {
  ------------------
  |  Branch (147:13): [True: 0, False: 1.02k]
  |  Branch (147:27): [True: 0, False: 0]
  |  Branch (147:42): [True: 0, False: 0]
  ------------------
  148|      0|            if ((len <  2) ||
  ------------------
  |  Branch (148:17): [True: 0, False: 0]
  ------------------
  149|      0|                (len == 2 && ppToken->name[0] != '1') ||
  ------------------
  |  Branch (149:18): [True: 0, False: 0]
  |  Branch (149:30): [True: 0, False: 0]
  ------------------
  150|      0|                (len == 3 && ppToken->name[1] != '1' && !(ppToken->name[0] == '-' || ppToken->name[0] == '+')) ||
  ------------------
  |  Branch (150:18): [True: 0, False: 0]
  |  Branch (150:30): [True: 0, False: 0]
  |  Branch (150:59): [True: 0, False: 0]
  |  Branch (150:86): [True: 0, False: 0]
  ------------------
  151|      0|                (len >  3))
  ------------------
  |  Branch (151:17): [True: 0, False: 0]
  ------------------
  152|      0|                parseContext.ppError(ppToken->loc, "unexpected use of", "#", "");
  153|      0|            else {
  154|       |                // we have 1.# or -1.# or +1.#, check for 'INF'
  155|      0|                if ((ch = getChar()) != 'I' ||
  ------------------
  |  Branch (155:21): [True: 0, False: 0]
  ------------------
  156|      0|                    (ch = getChar()) != 'N' ||
  ------------------
  |  Branch (156:21): [True: 0, False: 0]
  ------------------
  157|      0|                    (ch = getChar()) != 'F')
  ------------------
  |  Branch (157:21): [True: 0, False: 0]
  ------------------
  158|      0|                    parseContext.ppError(ppToken->loc, "expected 'INF'", "#", "");
  159|      0|                else {
  160|       |                    // we have [+-].#INF, and we are targeting IEEE 754, so wrap it up:
  161|      0|                    saveName('I');
  162|      0|                    saveName('N');
  163|      0|                    saveName('F');
  164|      0|                    ppToken->name[len] = '\0';
  165|      0|                    if (ppToken->name[0] == '-')
  ------------------
  |  Branch (165:25): [True: 0, False: 0]
  ------------------
  166|      0|                        ppToken->i64val = 0xfff0000000000000; // -Infinity
  167|      0|                    else
  168|      0|                        ppToken->i64val = 0x7ff0000000000000; // +Infinity
  169|      0|                    return PpAtomConstFloat;
  170|      0|                }
  171|      0|            }
  172|      0|        }
  173|  1.02k|#endif
  174|       |
  175|       |        // Consume leading-zero digits after the decimal point
  176|  1.62k|        while (ch == '0') {
  ------------------
  |  Branch (176:16): [True: 602, False: 1.02k]
  ------------------
  177|    602|            saveName(ch);
  178|    602|            ch = getChar();
  179|    602|        }
  180|  1.02k|        int startNonZeroDecimal = len;
  181|  1.02k|        int endNonZeroDecimal = len;
  182|       |
  183|       |        // Consume remaining digits, up to the exponent
  184|  1.84k|        while (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (184:16): [True: 1.59k, False: 251]
  |  Branch (184:29): [True: 827, False: 771]
  ------------------
  185|    827|            saveName(ch);
  186|    827|            if (ch != '0')
  ------------------
  |  Branch (186:17): [True: 736, False: 91]
  ------------------
  187|    736|                endNonZeroDecimal = len;
  188|    827|            ch = getChar();
  189|    827|        }
  190|       |
  191|       |        // Compute accumulation up to the last non-zero digit
  192|  1.02k|        if (endNonZeroDecimal > startNonZeroDecimal) {
  ------------------
  |  Branch (192:13): [True: 376, False: 646]
  ------------------
  193|    376|            numWholeNumberDigits += endNonZeroDecimal - endNonZero - 1; // don't include the "."
  194|    376|            if (numWholeNumberDigits > 15)
  ------------------
  |  Branch (194:17): [True: 0, False: 376]
  ------------------
  195|      0|                fastPath = false;
  196|    376|            if (fastPath) {
  ------------------
  |  Branch (196:17): [True: 376, False: 0]
  ------------------
  197|  1.52k|                for (int i = endNonZero; i < endNonZeroDecimal; ++i) {
  ------------------
  |  Branch (197:42): [True: 1.14k, False: 376]
  ------------------
  198|  1.14k|                    if (ppToken->name[i] != '.')
  ------------------
  |  Branch (198:25): [True: 771, False: 376]
  ------------------
  199|    771|                        wholeNumber = wholeNumber * 10 + (ppToken->name[i] - '0');
  200|  1.14k|                }
  201|    376|            }
  202|    376|            decimalShift = firstDecimal - endNonZeroDecimal;
  203|    376|        }
  204|  1.02k|    }
  205|       |
  206|       |    // Exponent:
  207|  3.72k|    bool negativeExponent = false;
  208|  3.72k|    double exponentValue = 0.0;
  209|  3.72k|    int exponent = 0;
  210|  3.72k|    {
  211|  3.72k|        if (ch == 'e' || ch == 'E') {
  ------------------
  |  Branch (211:13): [True: 1.21k, False: 2.50k]
  |  Branch (211:26): [True: 423, False: 2.08k]
  ------------------
  212|  1.63k|            hasDecimalOrExponent = true;
  213|  1.63k|            saveName(ch);
  214|  1.63k|            ch = getChar();
  215|  1.63k|            if (ch == '+' || ch == '-') {
  ------------------
  |  Branch (215:17): [True: 0, False: 1.63k]
  |  Branch (215:30): [True: 49, False: 1.58k]
  ------------------
  216|     49|                negativeExponent = ch == '-';
  217|     49|                saveName(ch);
  218|     49|                ch = getChar();
  219|     49|            }
  220|  1.63k|            if (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (220:17): [True: 1.63k, False: 0]
  |  Branch (220:30): [True: 1.63k, False: 0]
  ------------------
  221|  5.82k|                while (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (221:24): [True: 5.61k, False: 205]
  |  Branch (221:37): [True: 4.18k, False: 1.43k]
  ------------------
  222|  4.18k|                    if (exponent < 500) {
  ------------------
  |  Branch (222:25): [True: 3.21k, False: 972]
  ------------------
  223|  3.21k|                        exponent = exponent * 10 + (ch - '0');
  224|  3.21k|                    }
  225|  4.18k|                    saveName(ch);
  226|  4.18k|                    ch = getChar();
  227|  4.18k|                }
  228|  1.63k|            } else {
  229|      0|                parseContext.ppError(ppToken->loc, "bad character in float exponent", "", "");
  230|      0|            }
  231|  1.63k|        }
  232|       |
  233|       |        // Compensate for location of decimal
  234|  3.72k|        if (negativeExponent)
  ------------------
  |  Branch (234:13): [True: 49, False: 3.67k]
  ------------------
  235|     49|            exponent -= decimalShift;
  236|  3.67k|        else {
  237|  3.67k|            exponent += decimalShift;
  238|  3.67k|            if (exponent < 0) {
  ------------------
  |  Branch (238:17): [True: 376, False: 3.29k]
  ------------------
  239|    376|                negativeExponent = true;
  240|    376|                exponent = -exponent;
  241|    376|            }
  242|  3.67k|        }
  243|  3.72k|        if (exponent > 22)
  ------------------
  |  Branch (243:13): [True: 1.29k, False: 2.42k]
  ------------------
  244|  1.29k|            fastPath = false;
  245|       |
  246|  3.72k|        if (fastPath) {
  ------------------
  |  Branch (246:13): [True: 2.09k, False: 1.62k]
  ------------------
  247|       |            // Compute the floating-point value of the exponent
  248|  2.09k|            exponentValue = 1.0;
  249|  2.09k|            if (exponent > 0) {
  ------------------
  |  Branch (249:17): [True: 714, False: 1.37k]
  ------------------
  250|    714|                double expFactor = 10;
  251|  2.27k|                while (exponent > 0) {
  ------------------
  |  Branch (251:24): [True: 1.56k, False: 714]
  ------------------
  252|  1.56k|                    if (exponent & 0x1)
  ------------------
  |  Branch (252:25): [True: 1.03k, False: 531]
  ------------------
  253|  1.03k|                        exponentValue *= expFactor;
  254|  1.56k|                    expFactor *= expFactor;
  255|  1.56k|                    exponent >>= 1;
  256|  1.56k|                }
  257|    714|            }
  258|  2.09k|        }
  259|  3.72k|    }
  260|       |
  261|       |    // Suffix:
  262|  3.72k|    bool isDouble = false;
  263|  3.72k|    bool isFloat16 = false;
  264|  3.72k|    if (ch == 'l' || ch == 'L') {
  ------------------
  |  Branch (264:9): [True: 2, False: 3.71k]
  |  Branch (264:22): [True: 138, False: 3.58k]
  ------------------
  265|    140|        if (ifdepth == 0 && parseContext.intermediate.getSource() == EShSourceGlsl)
  ------------------
  |  Branch (265:13): [True: 0, False: 140]
  |  Branch (265:29): [True: 0, False: 0]
  ------------------
  266|      0|            parseContext.doubleCheck(ppToken->loc, "double floating-point suffix");
  267|    140|        if (ifdepth == 0 && !hasDecimalOrExponent)
  ------------------
  |  Branch (267:13): [True: 0, False: 140]
  |  Branch (267:29): [True: 0, False: 0]
  ------------------
  268|      0|            parseContext.ppError(ppToken->loc, "float literal needs a decimal point or exponent", "", "");
  269|    140|        if (parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (269:13): [True: 28, False: 112]
  ------------------
  270|     28|            int ch2 = getChar();
  271|     28|            if (ch2 != 'f' && ch2 != 'F') {
  ------------------
  |  Branch (271:17): [True: 28, False: 0]
  |  Branch (271:31): [True: 28, False: 0]
  ------------------
  272|     28|                ungetChar();
  273|     28|                ungetChar();
  274|     28|            } else {
  275|      0|                saveName(ch);
  276|      0|                saveName(ch2);
  277|      0|                isDouble = true;
  278|      0|            }
  279|    112|        } else if (parseContext.intermediate.getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (279:20): [True: 112, False: 0]
  ------------------
  280|    112|            saveName(ch);
  281|    112|            isDouble = true;
  282|    112|        }
  283|  3.58k|    } else if (ch == 'h' || ch == 'H') {
  ------------------
  |  Branch (283:16): [True: 287, False: 3.29k]
  |  Branch (283:29): [True: 154, False: 3.14k]
  ------------------
  284|    441|        if (ifdepth == 0 && parseContext.intermediate.getSource() == EShSourceGlsl)
  ------------------
  |  Branch (284:13): [True: 0, False: 441]
  |  Branch (284:29): [True: 0, False: 0]
  ------------------
  285|      0|            parseContext.float16Check(ppToken->loc, "half floating-point suffix");
  286|    441|        if (ifdepth == 0 && !hasDecimalOrExponent)
  ------------------
  |  Branch (286:13): [True: 0, False: 441]
  |  Branch (286:29): [True: 0, False: 0]
  ------------------
  287|      0|            parseContext.ppError(ppToken->loc, "float literal needs a decimal point or exponent", "", "");
  288|    441|        if (parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (288:13): [True: 159, False: 282]
  ------------------
  289|    159|            int ch2 = getChar();
  290|    159|            if (ch2 != 'f' && ch2 != 'F') {
  ------------------
  |  Branch (290:17): [True: 145, False: 14]
  |  Branch (290:31): [True: 145, False: 0]
  ------------------
  291|    145|                ungetChar();
  292|    145|                ungetChar();
  293|    145|            } else {
  294|     14|                saveName(ch);
  295|     14|                saveName(ch2);
  296|     14|                isFloat16 = true;
  297|     14|            }
  298|    282|        } else if (parseContext.intermediate.getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (298:20): [True: 282, False: 0]
  ------------------
  299|    282|            saveName(ch);
  300|    282|            isFloat16 = true;
  301|    282|        }
  302|    441|    } else
  303|  3.14k|    if (ch == 'f' || ch == 'F') {
  ------------------
  |  Branch (303:9): [True: 545, False: 2.59k]
  |  Branch (303:22): [True: 463, False: 2.13k]
  ------------------
  304|  1.00k|        if (ifdepth == 0)
  ------------------
  |  Branch (304:13): [True: 0, False: 1.00k]
  ------------------
  305|      0|            parseContext.profileRequires(ppToken->loc,  EEsProfile, 300, nullptr, "floating-point suffix");
  306|  1.00k|        if (ifdepth == 0 && !parseContext.relaxedErrors())
  ------------------
  |  Branch (306:13): [True: 0, False: 1.00k]
  |  Branch (306:29): [True: 0, False: 0]
  ------------------
  307|      0|            parseContext.profileRequires(ppToken->loc, ~EEsProfile, 120, nullptr, "floating-point suffix");
  308|  1.00k|        if (ifdepth == 0 && !hasDecimalOrExponent)
  ------------------
  |  Branch (308:13): [True: 0, False: 1.00k]
  |  Branch (308:29): [True: 0, False: 0]
  ------------------
  309|      0|            parseContext.ppError(ppToken->loc, "float literal needs a decimal point or exponent", "", "");
  310|  1.00k|        saveName(ch);
  311|  1.00k|    } else
  312|  2.13k|        ungetChar();
  313|       |
  314|       |    // Patch up the name and length for overflow
  315|       |
  316|  3.72k|    if (len > MaxTokenLength) {
  ------------------
  |  Branch (316:9): [True: 0, False: 3.72k]
  ------------------
  317|      0|        len = MaxTokenLength;
  318|      0|        parseContext.ppError(ppToken->loc, "float literal too long", "", "");
  319|      0|    }
  320|  3.72k|    ppToken->name[len] = '\0';
  321|       |
  322|       |    // Compute the numerical value
  323|  3.72k|    if (fastPath) {
  ------------------
  |  Branch (323:9): [True: 2.09k, False: 1.62k]
  ------------------
  324|       |        // compute the floating-point value of the exponent
  325|  2.09k|        if (exponentValue == 0.0)
  ------------------
  |  Branch (325:13): [True: 0, False: 2.09k]
  ------------------
  326|      0|            ppToken->dval = (double)wholeNumber;
  327|  2.09k|        else if (negativeExponent)
  ------------------
  |  Branch (327:18): [True: 376, False: 1.71k]
  ------------------
  328|    376|            ppToken->dval = (double)wholeNumber / exponentValue;
  329|  1.71k|        else
  330|  1.71k|            ppToken->dval = (double)wholeNumber * exponentValue;
  331|  2.09k|    } else {
  332|       |        // slow path
  333|  1.62k|        ppToken->dval = 0.0;
  334|       |
  335|       |        // remove suffix
  336|  1.62k|        TString numstr(ppToken->name);
  337|  1.62k|        if (numstr.back() == 'f' || numstr.back() == 'F')
  ------------------
  |  Branch (337:13): [True: 279, False: 1.34k]
  |  Branch (337:37): [True: 222, False: 1.12k]
  ------------------
  338|    501|            numstr.pop_back();
  339|  1.62k|        if (numstr.back() == 'h' || numstr.back() == 'H')
  ------------------
  |  Branch (339:13): [True: 12, False: 1.61k]
  |  Branch (339:37): [True: 0, False: 1.61k]
  ------------------
  340|     12|            numstr.pop_back();
  341|  1.62k|        if (numstr.back() == 'l' || numstr.back() == 'L')
  ------------------
  |  Branch (341:13): [True: 0, False: 1.62k]
  |  Branch (341:37): [True: 0, False: 1.62k]
  ------------------
  342|      0|            numstr.pop_back();
  343|       |
  344|       |        // use platform library
  345|  1.62k|        strtodStream.clear();
  346|  1.62k|        strtodStream.str(numstr.c_str());
  347|  1.62k|        strtodStream >> ppToken->dval;
  348|  1.62k|        if (strtodStream.fail()) {
  ------------------
  |  Branch (348:13): [True: 139, False: 1.48k]
  ------------------
  349|       |            // Assume failure combined with a large exponent was overflow, in
  350|       |            // an attempt to set INF.
  351|    139|            if (!negativeExponent && exponent + numWholeNumberDigits > 300)
  ------------------
  |  Branch (351:17): [True: 139, False: 0]
  |  Branch (351:38): [True: 139, False: 0]
  ------------------
  352|    139|                ppToken->i64val = 0x7ff0000000000000; // +Infinity
  353|       |            // Assume failure combined with a small exponent was overflow.
  354|    139|            if (negativeExponent && exponent + numWholeNumberDigits > 300)
  ------------------
  |  Branch (354:17): [True: 0, False: 139]
  |  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|    139|        }
  360|  1.62k|    }
  361|       |
  362|       |    // Return the right token type
  363|  3.72k|    if (isDouble)
  ------------------
  |  Branch (363:9): [True: 112, False: 3.60k]
  ------------------
  364|    112|        return PpAtomConstDouble;
  365|  3.60k|    else if (isFloat16)
  ------------------
  |  Branch (365:14): [True: 296, False: 3.31k]
  ------------------
  366|    296|        return PpAtomConstFloat16;
  367|  3.31k|    else
  368|  3.31k|        return PpAtomConstFloat;
  369|  3.72k|}
_ZN7glslang10TPpContext16characterLiteralEPNS_8TPpTokenE:
  378|      9|{
  379|      9|    ppToken->name[0] = 0;
  380|      9|    ppToken->ival = 0;
  381|       |
  382|      9|    if (parseContext.intermediate.getSource() != EShSourceHlsl) {
  ------------------
  |  Branch (382:9): [True: 9, False: 0]
  ------------------
  383|       |        // illegal, except in macro definition, for which case we report the character
  384|      9|        return '\'';
  385|      9|    }
  386|       |
  387|      0|    int ch = getChar();
  388|      0|    switch (ch) {
  389|      0|    case '\'':
  ------------------
  |  Branch (389:5): [True: 0, False: 0]
  ------------------
  390|       |        // As empty sequence:  ''
  391|      0|        parseContext.ppError(ppToken->loc, "unexpected", "\'", "");
  392|      0|        return PpAtomConstInt;
  393|      0|    case '\\':
  ------------------
  |  Branch (393:5): [True: 0, False: 0]
  ------------------
  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|      0|    default:
  ------------------
  |  Branch (429:5): [True: 0, False: 0]
  ------------------
  430|      0|        ppToken->ival = ch;
  431|      0|        break;
  432|      0|    }
  433|      0|    ppToken->name[0] = (char)ppToken->ival;
  434|      0|    ppToken->name[1] = '\0';
  435|      0|    ch = getChar();
  436|      0|    if (ch != '\'') {
  ------------------
  |  Branch (436:9): [True: 0, False: 0]
  ------------------
  437|      0|        parseContext.ppError(ppToken->loc, "expected", "\'", "");
  438|       |        // Look ahead for a closing '
  439|      0|        do {
  440|      0|            ch = getChar();
  441|      0|        } while (ch != '\'' && ch != EndOfInput && ch != '\n');
  ------------------
  |  Branch (441:18): [True: 0, False: 0]
  |  Branch (441:32): [True: 0, False: 0]
  |  Branch (441:52): [True: 0, False: 0]
  ------------------
  442|      0|    }
  443|       |
  444|      0|    return PpAtomConstInt;
  445|      0|}
_ZN7glslang10TPpContext12tStringInput4scanEPNS_8TPpTokenE:
  459|  3.73M|{
  460|  3.73M|    int AlreadyComplained = 0;
  461|  3.73M|    int len = 0;
  462|  3.73M|    int ch = 0;
  463|  3.73M|    int ii = 0;
  464|  3.73M|    unsigned long long ival = 0;
  465|  3.73M|    const auto floatingPointChar = [&](int ch) { return ch == '.' || ch == 'e' || ch == 'E' ||
  466|  3.73M|                                                                     ch == 'f' || ch == 'F' ||
  467|  3.73M|                                                                     ch == 'h' || ch == 'H'; };
  468|       |
  469|  3.73M|    static const char* const Int64_Extensions[] = {
  470|  3.73M|        E_GL_ARB_gpu_shader_int64,
  471|  3.73M|        E_GL_EXT_shader_explicit_arithmetic_types,
  472|  3.73M|        E_GL_NV_gpu_shader5,
  473|  3.73M|        E_GL_EXT_shader_explicit_arithmetic_types_int64 };
  474|  3.73M|    static const int Num_Int64_Extensions = sizeof(Int64_Extensions) / sizeof(Int64_Extensions[0]);
  475|       |
  476|  3.73M|    static const char* const Int16_Extensions[] = {
  477|  3.73M|        E_GL_AMD_gpu_shader_int16,
  478|  3.73M|        E_GL_EXT_shader_explicit_arithmetic_types,
  479|  3.73M|        E_GL_EXT_shader_explicit_arithmetic_types_int16 };
  480|  3.73M|    static const int Num_Int16_Extensions = sizeof(Int16_Extensions) / sizeof(Int16_Extensions[0]);
  481|       |
  482|  3.73M|    ppToken->clear();
  483|  3.73M|    ch = getch();
  484|  3.73M|    for (;;) {
  485|  4.58M|        while (ch == ' ' || ch == '\t') {
  ------------------
  |  Branch (485:16): [True: 839k, False: 3.74M]
  |  Branch (485:29): [True: 5.02k, False: 3.73M]
  ------------------
  486|   844k|            ppToken->space = true;
  487|   844k|            ch = getch();
  488|   844k|        }
  489|       |
  490|  3.73M|        ppToken->loc = pp->parseContext.getCurrentLoc();
  491|  3.73M|        len = 0;
  492|  3.73M|        switch (ch) {
  493|  2.02M|        default:
  ------------------
  |  Branch (493:9): [True: 2.02M, False: 1.70M]
  ------------------
  494|       |            // Single character token, including EndOfInput, '#' and '\' (escaped newlines are handled at a lower level, so this is just a '\' token)
  495|  2.02M|            if (ch > PpAtomMaxSingle)
  ------------------
  |  Branch (495:17): [True: 187k, False: 1.83M]
  ------------------
  496|   187k|                ch = PpAtomBadToken;
  497|  2.02M|            return ch;
  498|       |
  499|  6.43k|        case 'A': case 'B': case 'C': case 'D': case 'E':
  ------------------
  |  Branch (499:9): [True: 1.17k, False: 3.73M]
  |  Branch (499:19): [True: 465, False: 3.73M]
  |  Branch (499:29): [True: 531, False: 3.73M]
  |  Branch (499:39): [True: 1.73k, False: 3.73M]
  |  Branch (499:49): [True: 2.52k, False: 3.73M]
  ------------------
  500|  35.8k|        case 'F': case 'G': case 'H': case 'I': case 'J':
  ------------------
  |  Branch (500:9): [True: 735, False: 3.73M]
  |  Branch (500:19): [True: 9.08k, False: 3.72M]
  |  Branch (500:29): [True: 97, False: 3.73M]
  |  Branch (500:39): [True: 19.3k, False: 3.71M]
  |  Branch (500:49): [True: 138, False: 3.73M]
  ------------------
  501|  42.7k|        case 'K': case 'L': case 'M': case 'N': case 'O':
  ------------------
  |  Branch (501:9): [True: 2.68k, False: 3.73M]
  |  Branch (501:19): [True: 584, False: 3.73M]
  |  Branch (501:29): [True: 3.03k, False: 3.73M]
  |  Branch (501:39): [True: 104, False: 3.73M]
  |  Branch (501:49): [True: 476, False: 3.73M]
  ------------------
  502|  77.1k|        case 'P': case 'Q': case 'R': case 'S': case 'T':
  ------------------
  |  Branch (502:9): [True: 1.46k, False: 3.73M]
  |  Branch (502:19): [True: 1.80k, False: 3.73M]
  |  Branch (502:29): [True: 1.60k, False: 3.73M]
  |  Branch (502:39): [True: 8.13k, False: 3.72M]
  |  Branch (502:49): [True: 21.4k, False: 3.71M]
  ------------------
  503|  85.7k|        case 'U': case 'V': case 'W': case 'X': case 'Y':
  ------------------
  |  Branch (503:9): [True: 1.82k, False: 3.73M]
  |  Branch (503:19): [True: 104, False: 3.73M]
  |  Branch (503:29): [True: 5.98k, False: 3.73M]
  |  Branch (503:39): [True: 392, False: 3.73M]
  |  Branch (503:49): [True: 272, False: 3.73M]
  ------------------
  504|   111k|        case 'Z': case '_':
  ------------------
  |  Branch (504:9): [True: 26, False: 3.73M]
  |  Branch (504:19): [True: 25.9k, False: 3.71M]
  ------------------
  505|   271k|        case 'a': case 'b': case 'c': case 'd': case 'e':
  ------------------
  |  Branch (505:9): [True: 22.7k, False: 3.71M]
  |  Branch (505:19): [True: 44.8k, False: 3.69M]
  |  Branch (505:29): [True: 43.9k, False: 3.69M]
  |  Branch (505:39): [True: 39.8k, False: 3.69M]
  |  Branch (505:49): [True: 8.62k, False: 3.72M]
  ------------------
  506|   778k|        case 'f': case 'g': case 'h': case 'i': case 'j':
  ------------------
  |  Branch (506:9): [True: 246k, False: 3.48M]
  |  Branch (506:19): [True: 10.5k, False: 3.72M]
  |  Branch (506:29): [True: 16.3k, False: 3.71M]
  |  Branch (506:39): [True: 233k, False: 3.50M]
  |  Branch (506:49): [True: 221, False: 3.73M]
  ------------------
  507|   883k|        case 'k': case 'l': case 'm': case 'n': case 'o':
  ------------------
  |  Branch (507:9): [True: 191, False: 3.73M]
  |  Branch (507:19): [True: 11.5k, False: 3.72M]
  |  Branch (507:29): [True: 37.5k, False: 3.69M]
  |  Branch (507:39): [True: 16.3k, False: 3.71M]
  |  Branch (507:49): [True: 39.4k, False: 3.69M]
  ------------------
  508|   996k|        case 'p': case 'q': case 'r': case 's': case 't':
  ------------------
  |  Branch (508:9): [True: 2.60k, False: 3.73M]
  |  Branch (508:19): [True: 334, False: 3.73M]
  |  Branch (508:29): [True: 12.4k, False: 3.72M]
  |  Branch (508:39): [True: 62.1k, False: 3.67M]
  |  Branch (508:49): [True: 35.6k, False: 3.70M]
  ------------------
  509|  1.31M|        case 'u': case 'v': case 'w': case 'x': case 'y':
  ------------------
  |  Branch (509:9): [True: 150k, False: 3.58M]
  |  Branch (509:19): [True: 167k, False: 3.56M]
  |  Branch (509:29): [True: 2.29k, False: 3.73M]
  |  Branch (509:39): [True: 1.72k, False: 3.73M]
  |  Branch (509:49): [True: 752, False: 3.73M]
  ------------------
  510|  1.31M|        case 'z':
  ------------------
  |  Branch (510:9): [True: 27, False: 3.73M]
  ------------------
  511|  9.59M|            do {
  512|  9.59M|                if (len < MaxTokenLength) {
  ------------------
  |  Branch (512:21): [True: 9.59M, False: 0]
  ------------------
  513|  9.59M|                    ppToken->name[len++] = (char)ch;
  514|  9.59M|                    ch = getch();
  515|  9.59M|                } 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|  9.59M|            } while ((ch >= 'a' && ch <= 'z') ||
  ------------------
  |  Branch (522:23): [True: 6.51M, False: 3.08M]
  |  Branch (522:36): [True: 6.49M, False: 16.5k]
  ------------------
  523|  3.09M|                     (ch >= 'A' && ch <= 'Z') ||
  ------------------
  |  Branch (523:23): [True: 851k, False: 2.24M]
  |  Branch (523:36): [True: 689k, False: 162k]
  ------------------
  524|  2.40M|                     (ch >= '0' && ch <= '9') ||
  ------------------
  |  Branch (524:23): [True: 1.17M, False: 1.23M]
  |  Branch (524:36): [True: 954k, False: 217k]
  ------------------
  525|  1.45M|                     ch == '_');
  ------------------
  |  Branch (525:22): [True: 134k, False: 1.31M]
  ------------------
  526|       |
  527|       |            // line continuation with no token before or after makes len == 0, and need to start over skipping white space, etc.
  528|  1.31M|            if (len == 0)
  ------------------
  |  Branch (528:17): [True: 0, False: 1.31M]
  ------------------
  529|      0|                continue;
  530|       |
  531|  1.31M|            ppToken->name[len] = '\0';
  532|  1.31M|            ungetch();
  533|  1.31M|            return PpAtomIdentifier;
  534|  10.8k|        case '0':
  ------------------
  |  Branch (534:9): [True: 10.8k, False: 3.72M]
  ------------------
  535|  10.8k|            ppToken->name[len++] = (char)ch;
  536|  10.8k|            ch = getch();
  537|  10.8k|            if (ch == 'x' || ch == 'X') {
  ------------------
  |  Branch (537:17): [True: 858, False: 9.95k]
  |  Branch (537:30): [True: 36, False: 9.92k]
  ------------------
  538|       |                // must be hexadecimal
  539|       |
  540|    894|                bool isUnsigned = false;
  541|    894|                bool isInt64 = false;
  542|    894|                bool isInt16 = false;
  543|    894|                ppToken->name[len++] = (char)ch;
  544|    894|                ch = getch();
  545|    894|                if ((ch >= '0' && ch <= '9') ||
  ------------------
  |  Branch (545:22): [True: 892, False: 2]
  |  Branch (545:35): [True: 193, False: 699]
  ------------------
  546|    701|                    (ch >= 'A' && ch <= 'F') ||
  ------------------
  |  Branch (546:22): [True: 699, False: 2]
  |  Branch (546:35): [True: 699, False: 0]
  ------------------
  547|    892|                    (ch >= 'a' && ch <= 'f')) {
  ------------------
  |  Branch (547:22): [True: 0, False: 2]
  |  Branch (547:35): [True: 0, False: 0]
  ------------------
  548|       |
  549|    892|                    ival = 0;
  550|  1.25k|                    do {
  551|  1.25k|                        if (len < MaxTokenLength && ival <= 0x7fffffffffffffffull) {
  ------------------
  |  Branch (551:29): [True: 1.25k, False: 0]
  |  Branch (551:53): [True: 1.25k, False: 0]
  ------------------
  552|  1.25k|                            ppToken->name[len++] = (char)ch;
  553|  1.25k|                            if (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (553:33): [True: 1.25k, False: 0]
  |  Branch (553:46): [True: 514, False: 739]
  ------------------
  554|    514|                                ii = ch - '0';
  555|    739|                            } else if (ch >= 'A' && ch <= 'F') {
  ------------------
  |  Branch (555:40): [True: 739, False: 0]
  |  Branch (555:53): [True: 733, False: 6]
  ------------------
  556|    733|                                ii = ch - 'A' + 10;
  557|    733|                            } else if (ch >= 'a' && ch <= 'f') {
  ------------------
  |  Branch (557:40): [True: 6, False: 0]
  |  Branch (557:53): [True: 6, False: 0]
  ------------------
  558|      6|                                ii = ch - 'a' + 10;
  559|      6|                            } else
  560|      0|                                pp->parseContext.ppError(ppToken->loc, "bad digit in hexadecimal literal", "", "");
  561|  1.25k|                            ival = (ival << 4) | ii;
  562|  1.25k|                        } 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|  1.25k|                        ch = getch();
  573|  1.25k|                    } while ((ch >= '0' && ch <= '9') ||
  ------------------
  |  Branch (573:31): [True: 1.22k, False: 27]
  |  Branch (573:44): [True: 321, False: 905]
  ------------------
  574|    932|                             (ch >= 'A' && ch <= 'F') ||
  ------------------
  |  Branch (574:31): [True: 751, False: 181]
  |  Branch (574:44): [True: 34, False: 717]
  ------------------
  575|    898|                             (ch >= 'a' && ch <= 'f'));
  ------------------
  |  Branch (575:31): [True: 34, False: 864]
  |  Branch (575:44): [True: 6, False: 28]
  ------------------
  576|    892|                } else {
  577|      2|                    pp->parseContext.ppError(ppToken->loc, "bad digit in hexadecimal literal", "", "");
  578|      2|                }
  579|    894|                if (ch == 'u' || ch == 'U') {
  ------------------
  |  Branch (579:21): [True: 0, False: 894]
  |  Branch (579:34): [True: 18, False: 876]
  ------------------
  580|     18|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (580:25): [True: 18, False: 0]
  ------------------
  581|     18|                        ppToken->name[len++] = (char)ch;
  582|     18|                    isUnsigned = true;
  583|       |
  584|     18|                    int nextCh = getch();
  585|     18|                    if (nextCh == 'l' || nextCh == 'L') {
  ------------------
  |  Branch (585:25): [True: 0, False: 18]
  |  Branch (585:42): [True: 0, False: 18]
  ------------------
  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|     18|                        ungetch();
  591|       |
  592|     18|                    nextCh = getch();
  593|     18|                    if ((nextCh == 's' || nextCh == 'S') &&
  ------------------
  |  Branch (593:26): [True: 0, False: 18]
  |  Branch (593:43): [True: 0, False: 18]
  ------------------
  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|     18|                        ungetch();
  600|    876|                } else if (ch == 'l' || ch == 'L') {
  ------------------
  |  Branch (600:28): [True: 10, False: 866]
  |  Branch (600:41): [True: 0, False: 866]
  ------------------
  601|     10|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (601:25): [True: 10, False: 0]
  ------------------
  602|     10|                        ppToken->name[len++] = (char)ch;
  603|     10|                    isInt64 = true;
  604|    866|                } else if ((ch == 's' || ch == 'S') &&
  ------------------
  |  Branch (604:29): [True: 0, False: 866]
  |  Branch (604:42): [True: 399, False: 467]
  ------------------
  605|    399|                           pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (605:28): [True: 281, False: 118]
  ------------------
  606|    281|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (606:25): [True: 281, False: 0]
  ------------------
  607|    281|                        ppToken->name[len++] = (char)ch;
  608|    281|                    isInt16 = true;
  609|    281|                } else
  610|    585|                    ungetch();
  611|    894|                ppToken->name[len] = '\0';
  612|       |
  613|    894|                if (isInt64 && pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (613:21): [True: 10, False: 884]
  |  Branch (613:32): [True: 6, False: 4]
  ------------------
  614|      6|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (614:25): [True: 0, False: 6]
  ------------------
  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|      6|                    ppToken->i64val = ival;
  621|      6|                    return isUnsigned ? PpAtomConstUint64 : PpAtomConstInt64;
  ------------------
  |  Branch (621:28): [True: 0, False: 6]
  ------------------
  622|    888|                } else if (isInt16) {
  ------------------
  |  Branch (622:28): [True: 281, False: 607]
  ------------------
  623|    281|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (623:25): [True: 0, False: 281]
  ------------------
  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|    281|                    ppToken->ival = (int)ival;
  632|    281|                    return isUnsigned ? PpAtomConstUint16 : PpAtomConstInt16;
  ------------------
  |  Branch (632:28): [True: 0, False: 281]
  ------------------
  633|    607|                } else {
  634|    607|                    if (ival > 0xffffffffu && !AlreadyComplained)
  ------------------
  |  Branch (634:25): [True: 0, False: 607]
  |  Branch (634:47): [True: 0, False: 0]
  ------------------
  635|      0|                        pp->parseContext.ppError(ppToken->loc, "hexadecimal literal too big", "", "");
  636|    607|                    ppToken->ival = (int)ival;
  637|    607|                    return isUnsigned ? PpAtomConstUint : PpAtomConstInt;
  ------------------
  |  Branch (637:28): [True: 18, False: 589]
  ------------------
  638|    607|                }
  639|  9.92k|            } else if ((ch == 'b' || ch == 'B') && pp->parseContext.intermediate.getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (639:25): [True: 0, False: 9.92k]
  |  Branch (639:38): [True: 0, False: 9.92k]
  |  Branch (639:52): [True: 0, False: 0]
  ------------------
  640|       |                // must be binary
  641|      0|                bool isUnsigned = false;
  642|      0|                bool isInt64 = false;
  643|      0|                bool isInt16 = false;
  644|      0|                ppToken->name[len++] = (char)ch;
  645|      0|                ch = getch();
  646|       |
  647|       |                // Check value
  648|      0|                if ((ch == '0' || ch == '1'))
  ------------------
  |  Branch (648:22): [True: 0, False: 0]
  |  Branch (648:35): [True: 0, False: 0]
  ------------------
  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|      0|                else
  676|      0|                {
  677|      0|                   pp->parseContext.ppError(ppToken->loc, "bad digit in binary literal", "", "");
  678|      0|                }
  679|       |
  680|       |                // check type
  681|      0|                if (ch == 'u' || ch == 'U') {
  ------------------
  |  Branch (681:21): [True: 0, False: 0]
  |  Branch (681:34): [True: 0, False: 0]
  ------------------
  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|      0|                } else if (ch == 'l' || ch == 'L') {
  ------------------
  |  Branch (702:28): [True: 0, False: 0]
  |  Branch (702:41): [True: 0, False: 0]
  ------------------
  703|      0|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (703:25): [True: 0, False: 0]
  ------------------
  704|      0|                        ppToken->name[len++] = (char)ch;
  705|      0|                    isInt64 = true;
  706|      0|                } else if ((ch == 's' || ch == 'S') &&
  ------------------
  |  Branch (706:29): [True: 0, False: 0]
  |  Branch (706:42): [True: 0, False: 0]
  ------------------
  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|      0|                } else {
  712|      0|                    ungetch();
  713|      0|                }
  714|      0|                ppToken->name[len] = '\0';
  715|       |
  716|       |                // Assign value
  717|      0|                if (isInt64 && pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (717:21): [True: 0, False: 0]
  |  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|      0|                } else if (isInt16) {
  ------------------
  |  Branch (726:28): [True: 0, False: 0]
  ------------------
  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|      0|                } else {
  738|      0|                    ppToken->ival = (int)ival;
  739|      0|                    return isUnsigned ? PpAtomConstUint : PpAtomConstInt;
  ------------------
  |  Branch (739:28): [True: 0, False: 0]
  ------------------
  740|      0|                }
  741|  9.92k|            } else {
  742|       |                // could be octal integer or floating point, speculative pursue octal until it must be floating point
  743|       |
  744|  9.92k|                bool isUnsigned = false;
  745|  9.92k|                bool isInt64 = false;
  746|  9.92k|                bool isInt16 = false;
  747|  9.92k|                bool octalOverflow = false;
  748|  9.92k|                bool nonOctal = false;
  749|  9.92k|                ival = 0;
  750|       |
  751|       |                // see how much octal-like stuff we can read
  752|  23.2k|                while (ch >= '0' && ch <= '7') {
  ------------------
  |  Branch (752:24): [True: 18.0k, False: 5.20k]
  |  Branch (752:37): [True: 13.3k, False: 4.71k]
  ------------------
  753|  13.3k|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (753:25): [True: 13.3k, False: 0]
  ------------------
  754|  13.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|  13.3k|                    if (ival <= 0x1fffffffffffffffull) {
  ------------------
  |  Branch (759:25): [True: 13.3k, False: 0]
  ------------------
  760|  13.3k|                        ii = ch - '0';
  761|  13.3k|                        ival = (ival << 3) | ii;
  762|  13.3k|                    } else
  763|      0|                        octalOverflow = true;
  764|  13.3k|                    ch = getch();
  765|  13.3k|                }
  766|       |
  767|       |                // could be part of a float...
  768|  9.92k|                if (ch == '8' || ch == '9') {
  ------------------
  |  Branch (768:21): [True: 304, False: 9.61k]
  |  Branch (768:34): [True: 12, False: 9.60k]
  ------------------
  769|    316|                    nonOctal = true;
  770|  4.97k|                    do {
  771|  4.97k|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (771:29): [True: 4.97k, False: 0]
  ------------------
  772|  4.97k|                            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|  4.97k|                        ch = getch();
  778|  4.97k|                    } while (ch >= '0' && ch <= '9');
  ------------------
  |  Branch (778:30): [True: 4.97k, False: 0]
  |  Branch (778:43): [True: 4.66k, False: 316]
  ------------------
  779|    316|                }
  780|  9.92k|                if (floatingPointChar(ch))
  ------------------
  |  Branch (780:21): [True: 1.32k, False: 8.59k]
  ------------------
  781|  1.32k|                    return pp->lFloatConst(len, ch, ppToken);
  782|       |
  783|       |                // wasn't a float, so must be octal...
  784|  8.59k|                if (nonOctal)
  ------------------
  |  Branch (784:21): [True: 0, False: 8.59k]
  ------------------
  785|      0|                    pp->parseContext.ppError(ppToken->loc, "octal literal digit too large", "", "");
  786|       |
  787|  8.59k|                if (ch == 'u' || ch == 'U') {
  ------------------
  |  Branch (787:21): [True: 189, False: 8.40k]
  |  Branch (787:34): [True: 973, False: 7.43k]
  ------------------
  788|  1.16k|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (788:25): [True: 1.16k, False: 0]
  ------------------
  789|  1.16k|                        ppToken->name[len++] = (char)ch;
  790|  1.16k|                    isUnsigned = true;
  791|       |
  792|  1.16k|                    int nextCh = getch();
  793|  1.16k|                    if (nextCh == 'l' || nextCh == 'L') {
  ------------------
  |  Branch (793:25): [True: 0, False: 1.16k]
  |  Branch (793:42): [True: 14, False: 1.14k]
  ------------------
  794|     14|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (794:29): [True: 14, False: 0]
  ------------------
  795|     14|                            ppToken->name[len++] = (char)nextCh;
  796|     14|                        isInt64 = true;
  797|     14|                    } else
  798|  1.14k|                        ungetch();
  799|       |
  800|  1.16k|                    nextCh = getch();
  801|  1.16k|                    if ((nextCh == 's' || nextCh == 'S') && 
  ------------------
  |  Branch (801:26): [True: 18, False: 1.14k]
  |  Branch (801:43): [True: 118, False: 1.02k]
  ------------------
  802|    136|                                pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (802:33): [True: 111, False: 25]
  ------------------
  803|    111|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (803:29): [True: 111, False: 0]
  ------------------
  804|    111|                            ppToken->name[len++] = (char)nextCh;
  805|    111|                        isInt16 = true;
  806|    111|                    } else
  807|  1.05k|                        ungetch();
  808|  7.43k|                } else if (ch == 'l' || ch == 'L') {
  ------------------
  |  Branch (808:28): [True: 143, False: 7.28k]
  |  Branch (808:41): [True: 458, False: 6.83k]
  ------------------
  809|    601|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (809:25): [True: 601, False: 0]
  ------------------
  810|    601|                        ppToken->name[len++] = (char)ch;
  811|    601|                    isInt64 = true;
  812|  6.83k|                } else if ((ch == 's' || ch == 'S') && 
  ------------------
  |  Branch (812:29): [True: 32, False: 6.79k]
  |  Branch (812:42): [True: 0, False: 6.79k]
  ------------------
  813|     32|                                pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (813:33): [True: 17, False: 15]
  ------------------
  814|     17|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (814:25): [True: 17, False: 0]
  ------------------
  815|     17|                        ppToken->name[len++] = (char)ch;
  816|     17|                    isInt16 = true;
  817|     17|                } else
  818|  6.81k|                    ungetch();
  819|  8.59k|                ppToken->name[len] = '\0';
  820|       |
  821|  8.59k|                if (!isInt64 && ival > 0xffffffffu)
  ------------------
  |  Branch (821:21): [True: 7.97k, False: 615]
  |  Branch (821:33): [True: 0, False: 7.97k]
  ------------------
  822|      0|                    octalOverflow = true;
  823|       |
  824|  8.59k|                if (octalOverflow)
  ------------------
  |  Branch (824:21): [True: 0, False: 8.59k]
  ------------------
  825|      0|                    pp->parseContext.ppError(ppToken->loc, "octal literal too big", "", "");
  826|       |
  827|  8.59k|                if (isInt64 && pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (827:21): [True: 615, False: 7.97k]
  |  Branch (827:32): [True: 206, False: 409]
  ------------------
  828|    206|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (828:25): [True: 1, False: 205]
  ------------------
  829|      1|                        pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile,
  830|      1|                                                        "64-bit octal literal");
  831|      1|                        pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0,
  832|      1|                            Num_Int64_Extensions, Int64_Extensions, "64-bit octal literal");
  833|      1|                    }
  834|    206|                    ppToken->i64val = ival;
  835|    206|                    return isUnsigned ? PpAtomConstUint64 : PpAtomConstInt64;
  ------------------
  |  Branch (835:28): [True: 13, False: 193]
  ------------------
  836|  8.38k|                } else if (isInt16) {
  ------------------
  |  Branch (836:28): [True: 128, False: 8.26k]
  ------------------
  837|    128|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (837:25): [True: 0, False: 128]
  ------------------
  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|    128|                    ppToken->ival = (int)ival;
  846|    128|                    return isUnsigned ? PpAtomConstUint16 : PpAtomConstInt16;
  ------------------
  |  Branch (846:28): [True: 111, False: 17]
  ------------------
  847|  8.26k|                } else {
  848|  8.26k|                    ppToken->ival = (int)ival;
  849|  8.26k|                    return isUnsigned ? PpAtomConstUint : PpAtomConstInt;
  ------------------
  |  Branch (849:28): [True: 1.03k, False: 7.22k]
  ------------------
  850|  8.26k|                }
  851|  8.59k|            }
  852|      0|            break;
  853|  28.6k|        case '1': case '2': case '3': case '4':
  ------------------
  |  Branch (853:9): [True: 17.4k, False: 3.71M]
  |  Branch (853:19): [True: 6.02k, False: 3.73M]
  |  Branch (853:29): [True: 2.53k, False: 3.73M]
  |  Branch (853:39): [True: 2.63k, False: 3.73M]
  ------------------
  854|  37.0k|        case '5': case '6': case '7': case '8': case '9':
  ------------------
  |  Branch (854:9): [True: 2.36k, False: 3.73M]
  |  Branch (854:19): [True: 1.91k, False: 3.73M]
  |  Branch (854:29): [True: 1.59k, False: 3.73M]
  |  Branch (854:39): [True: 1.61k, False: 3.73M]
  |  Branch (854:49): [True: 940, False: 3.73M]
  ------------------
  855|       |            // can't be hexadecimal or octal, is either decimal or floating point
  856|       |
  857|  55.1k|            do {
  858|  55.1k|                if (len < MaxTokenLength)
  ------------------
  |  Branch (858:21): [True: 55.1k, False: 0]
  ------------------
  859|  55.1k|                    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|  55.1k|                ch = getch();
  865|  55.1k|            } while (ch >= '0' && ch <= '9');
  ------------------
  |  Branch (865:22): [True: 39.3k, False: 15.7k]
  |  Branch (865:35): [True: 18.0k, False: 21.3k]
  ------------------
  866|  37.0k|            if (floatingPointChar(ch))
  ------------------
  |  Branch (866:17): [True: 1.42k, False: 35.6k]
  ------------------
  867|  1.42k|                return pp->lFloatConst(len, ch, ppToken);
  868|  35.6k|            else {
  869|       |                // Finish handling signed and unsigned integers
  870|  35.6k|                int numericLen = len;
  871|  35.6k|                bool isUnsigned = false;
  872|  35.6k|                bool isInt64 = false;
  873|  35.6k|                bool isInt16 = false;
  874|  35.6k|                if (ch == 'u' || ch == 'U') {
  ------------------
  |  Branch (874:21): [True: 618, False: 35.0k]
  |  Branch (874:34): [True: 611, False: 34.4k]
  ------------------
  875|  1.22k|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (875:25): [True: 1.22k, False: 0]
  ------------------
  876|  1.22k|                        ppToken->name[len++] = (char)ch;
  877|  1.22k|                    isUnsigned = true;
  878|       |
  879|  1.22k|                    int nextCh = getch();
  880|  1.22k|                    if (nextCh == 'l' || nextCh == 'L') {
  ------------------
  |  Branch (880:25): [True: 267, False: 962]
  |  Branch (880:42): [True: 330, False: 632]
  ------------------
  881|    597|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (881:29): [True: 597, False: 0]
  ------------------
  882|    597|                            ppToken->name[len++] = (char)nextCh;
  883|    597|                        isInt64 = true;
  884|    597|                    } else
  885|    632|                        ungetch();
  886|       |
  887|  1.22k|                    nextCh = getch();
  888|  1.22k|                    if ((nextCh == 's' || nextCh == 'S') &&
  ------------------
  |  Branch (888:26): [True: 245, False: 984]
  |  Branch (888:43): [True: 6, False: 978]
  ------------------
  889|    251|                                pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (889:33): [True: 158, False: 93]
  ------------------
  890|    158|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (890:29): [True: 158, False: 0]
  ------------------
  891|    158|                            ppToken->name[len++] = (char)nextCh;
  892|    158|                        isInt16 = true;
  893|    158|                    } else
  894|  1.07k|                        ungetch();
  895|  34.4k|                } else if (ch == 'l' || ch == 'L') {
  ------------------
  |  Branch (895:28): [True: 8, False: 34.3k]
  |  Branch (895:41): [True: 56, False: 34.3k]
  ------------------
  896|     64|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (896:25): [True: 64, False: 0]
  ------------------
  897|     64|                        ppToken->name[len++] = (char)ch;
  898|     64|                    isInt64 = true;
  899|  34.3k|                } else if ((ch == 's' || ch == 'S') &&
  ------------------
  |  Branch (899:29): [True: 1.38k, False: 32.9k]
  |  Branch (899:42): [True: 222, False: 32.7k]
  ------------------
  900|  1.60k|                                pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (900:33): [True: 1.04k, False: 561]
  ------------------
  901|  1.04k|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (901:25): [True: 1.04k, False: 0]
  ------------------
  902|  1.04k|                        ppToken->name[len++] = (char)ch;
  903|  1.04k|                    isInt16 = true;
  904|  1.04k|                } else
  905|  33.2k|                    ungetch();
  906|       |
  907|  35.6k|                ppToken->name[len] = '\0';
  908|  35.6k|                ival = 0;
  909|  35.6k|                const unsigned oneTenthMaxInt  = 0xFFFFFFFFu / 10;
  910|  35.6k|                const unsigned remainderMaxInt = 0xFFFFFFFFu - 10 * oneTenthMaxInt;
  911|  35.6k|                const unsigned long long oneTenthMaxInt64  = 0xFFFFFFFFFFFFFFFFull / 10;
  912|  35.6k|                const unsigned long long remainderMaxInt64 = 0xFFFFFFFFFFFFFFFFull - 10 * oneTenthMaxInt64;
  913|  35.6k|                const unsigned short oneTenthMaxInt16  = 0xFFFFu / 10;
  914|  35.6k|                const unsigned short remainderMaxInt16 = 0xFFFFu - 10 * oneTenthMaxInt16;
  915|  85.9k|                for (int i = 0; i < numericLen; i++) {
  ------------------
  |  Branch (915:33): [True: 50.3k, False: 35.6k]
  ------------------
  916|  50.3k|                    ch = ppToken->name[i] - '0';
  917|  50.3k|                    bool overflow = false;
  918|  50.3k|                    if (isInt64)
  ------------------
  |  Branch (918:25): [True: 688, False: 49.6k]
  ------------------
  919|    688|                        overflow = (ival > oneTenthMaxInt64 || (ival == oneTenthMaxInt64 && (unsigned long long)ch > remainderMaxInt64));
  ------------------
  |  Branch (919:37): [True: 0, False: 688]
  |  Branch (919:65): [True: 0, False: 688]
  |  Branch (919:93): [True: 0, False: 0]
  ------------------
  920|  49.6k|                    else if (isInt16)
  ------------------
  |  Branch (920:30): [True: 2.81k, False: 46.8k]
  ------------------
  921|  2.81k|                        overflow = (ival > oneTenthMaxInt16 || (ival == oneTenthMaxInt16 && (unsigned short)ch > remainderMaxInt16));
  ------------------
  |  Branch (921:37): [True: 0, False: 2.81k]
  |  Branch (921:65): [True: 0, False: 2.81k]
  |  Branch (921:93): [True: 0, False: 0]
  ------------------
  922|  46.8k|                    else
  923|  46.8k|                        overflow = (ival > oneTenthMaxInt || (ival == oneTenthMaxInt && (unsigned)ch > remainderMaxInt));
  ------------------
  |  Branch (923:37): [True: 2, False: 46.8k]
  |  Branch (923:63): [True: 116, False: 46.7k]
  |  Branch (923:89): [True: 0, False: 116]
  ------------------
  924|  50.3k|                    if (overflow) {
  ------------------
  |  Branch (924:25): [True: 2, False: 50.3k]
  ------------------
  925|      2|                        pp->parseContext.ppError(ppToken->loc, "numeric literal too big", "", "");
  926|      2|                        ival = 0xFFFFFFFFFFFFFFFFull;
  927|      2|                        break;
  928|      2|                    } else
  929|  50.3k|                        ival = ival * 10 + ch;
  930|  50.3k|                }
  931|       |
  932|  35.6k|                if (isInt64 && pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (932:21): [True: 661, False: 34.9k]
  |  Branch (932:32): [True: 158, False: 503]
  ------------------
  933|    158|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (933:25): [True: 0, False: 158]
  ------------------
  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|    158|                    ppToken->i64val = ival;
  940|    158|                    return isUnsigned ? PpAtomConstUint64 : PpAtomConstInt64;
  ------------------
  |  Branch (940:28): [True: 136, False: 22]
  ------------------
  941|  35.4k|                } else if (isInt16) {
  ------------------
  |  Branch (941:28): [True: 1.20k, False: 34.2k]
  ------------------
  942|  1.20k|                    if (pp->ifdepth == 0 && pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (942:25): [True: 0, False: 1.20k]
  |  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.20k|                    ppToken->ival = (int)ival;
  949|  1.20k|                    return isUnsigned ? PpAtomConstUint16 : PpAtomConstInt16;
  ------------------
  |  Branch (949:28): [True: 158, False: 1.04k]
  ------------------
  950|  34.2k|                } else {
  951|  34.2k|                    ppToken->ival = (int)ival;
  952|  34.2k|                    return isUnsigned ? PpAtomConstUint : PpAtomConstInt;
  ------------------
  |  Branch (952:28): [True: 935, False: 33.3k]
  ------------------
  953|  34.2k|                }
  954|  35.6k|            }
  955|      0|            break;
  956|  4.26k|        case '-':
  ------------------
  |  Branch (956:9): [True: 4.26k, False: 3.73M]
  ------------------
  957|  4.26k|            ch = getch();
  958|  4.26k|            if (ch == '-') {
  ------------------
  |  Branch (958:17): [True: 160, False: 4.10k]
  ------------------
  959|    160|                return PpAtomDecrement;
  960|  4.10k|            } else if (ch == '=') {
  ------------------
  |  Branch (960:24): [True: 0, False: 4.10k]
  ------------------
  961|      0|                return PPAtomSubAssign;
  962|  4.10k|            } else {
  963|  4.10k|                ungetch();
  964|  4.10k|                return '-';
  965|  4.10k|            }
  966|  16.6k|        case '+':
  ------------------
  |  Branch (966:9): [True: 16.6k, False: 3.71M]
  ------------------
  967|  16.6k|            ch = getch();
  968|  16.6k|            if (ch == '+') {
  ------------------
  |  Branch (968:17): [True: 10.4k, False: 6.17k]
  ------------------
  969|  10.4k|                return PpAtomIncrement;
  970|  10.4k|            } else if (ch == '=') {
  ------------------
  |  Branch (970:24): [True: 40, False: 6.13k]
  ------------------
  971|     40|                return PPAtomAddAssign;
  972|  6.13k|            } else {
  973|  6.13k|                ungetch();
  974|  6.13k|                return '+';
  975|  6.13k|            }
  976|  2.02k|        case '*':
  ------------------
  |  Branch (976:9): [True: 2.02k, False: 3.73M]
  ------------------
  977|  2.02k|            ch = getch();
  978|  2.02k|            if (ch == '=') {
  ------------------
  |  Branch (978:17): [True: 0, False: 2.02k]
  ------------------
  979|      0|                return PPAtomMulAssign;
  980|  2.02k|            } else {
  981|  2.02k|                ungetch();
  982|  2.02k|                return '*';
  983|  2.02k|            }
  984|  1.76k|        case '%':
  ------------------
  |  Branch (984:9): [True: 1.76k, False: 3.73M]
  ------------------
  985|  1.76k|            ch = getch();
  986|  1.76k|            if (ch == '=') {
  ------------------
  |  Branch (986:17): [True: 0, False: 1.76k]
  ------------------
  987|      0|                return PPAtomModAssign;
  988|  1.76k|            } else {
  989|  1.76k|                ungetch();
  990|  1.76k|                return '%';
  991|  1.76k|            }
  992|    400|        case '^':
  ------------------
  |  Branch (992:9): [True: 400, False: 3.73M]
  ------------------
  993|    400|            ch = getch();
  994|    400|            if (ch == '^') {
  ------------------
  |  Branch (994:17): [True: 127, False: 273]
  ------------------
  995|    127|                return PpAtomXor;
  996|    273|            } else {
  997|    273|                if (ch == '=')
  ------------------
  |  Branch (997:21): [True: 0, False: 273]
  ------------------
  998|      0|                    return PpAtomXorAssign;
  999|    273|                else{
 1000|    273|                    ungetch();
 1001|    273|                    return '^';
 1002|    273|                }
 1003|    273|            }
 1004|       |
 1005|  8.59k|        case '=':
  ------------------
  |  Branch (1005:9): [True: 8.59k, False: 3.72M]
  ------------------
 1006|  8.59k|            ch = getch();
 1007|  8.59k|            if (ch == '=') {
  ------------------
  |  Branch (1007:17): [True: 2.49k, False: 6.09k]
  ------------------
 1008|  2.49k|                return PpAtomEQ;
 1009|  6.09k|            } else {
 1010|  6.09k|                ungetch();
 1011|  6.09k|                return '=';
 1012|  6.09k|            }
 1013|  1.76k|        case '!':
  ------------------
  |  Branch (1013:9): [True: 1.76k, False: 3.73M]
  ------------------
 1014|  1.76k|            ch = getch();
 1015|  1.76k|            if (ch == '=') {
  ------------------
  |  Branch (1015:17): [True: 2, False: 1.76k]
  ------------------
 1016|      2|                return PpAtomNE;
 1017|  1.76k|            } else {
 1018|  1.76k|                ungetch();
 1019|  1.76k|                return '!';
 1020|  1.76k|            }
 1021|  3.00k|        case '|':
  ------------------
  |  Branch (1021:9): [True: 3.00k, False: 3.73M]
  ------------------
 1022|  3.00k|            ch = getch();
 1023|  3.00k|            if (ch == '|') {
  ------------------
  |  Branch (1023:17): [True: 54, False: 2.95k]
  ------------------
 1024|     54|                return PpAtomOr;
 1025|  2.95k|            } else if (ch == '=') {
  ------------------
  |  Branch (1025:24): [True: 0, False: 2.95k]
  ------------------
 1026|      0|                return PpAtomOrAssign;
 1027|  2.95k|            } else {
 1028|  2.95k|                ungetch();
 1029|  2.95k|                return '|';
 1030|  2.95k|            }
 1031|    138|        case '&':
  ------------------
  |  Branch (1031:9): [True: 138, False: 3.73M]
  ------------------
 1032|    138|            ch = getch();
 1033|    138|            if (ch == '&') {
  ------------------
  |  Branch (1033:17): [True: 0, False: 138]
  ------------------
 1034|      0|                return PpAtomAnd;
 1035|    138|            } else if (ch == '=') {
  ------------------
  |  Branch (1035:24): [True: 0, False: 138]
  ------------------
 1036|      0|                return PpAtomAndAssign;
 1037|    138|            } else {
 1038|    138|                ungetch();
 1039|    138|                return '&';
 1040|    138|            }
 1041|  23.8k|        case '<':
  ------------------
  |  Branch (1041:9): [True: 23.8k, False: 3.71M]
  ------------------
 1042|  23.8k|            ch = getch();
 1043|  23.8k|            if (ch == '<') {
  ------------------
  |  Branch (1043:17): [True: 231, False: 23.6k]
  ------------------
 1044|    231|                ch = getch();
 1045|    231|                if (ch == '=')
  ------------------
  |  Branch (1045:21): [True: 0, False: 231]
  ------------------
 1046|      0|                    return PpAtomLeftAssign;
 1047|    231|                else {
 1048|    231|                    ungetch();
 1049|    231|                    return PpAtomLeft;
 1050|    231|                }
 1051|  23.6k|            } else if (ch == '=') {
  ------------------
  |  Branch (1051:24): [True: 4, False: 23.6k]
  ------------------
 1052|      4|                return PpAtomLE;
 1053|  23.6k|            } else {
 1054|  23.6k|                ungetch();
 1055|  23.6k|                return '<';
 1056|  23.6k|            }
 1057|  22.9k|        case '>':
  ------------------
  |  Branch (1057:9): [True: 22.9k, False: 3.71M]
  ------------------
 1058|  22.9k|            ch = getch();
 1059|  22.9k|            if (ch == '>') {
  ------------------
  |  Branch (1059:17): [True: 27, False: 22.9k]
  ------------------
 1060|     27|                ch = getch();
 1061|     27|                if (ch == '=')
  ------------------
  |  Branch (1061:21): [True: 0, False: 27]
  ------------------
 1062|      0|                    return PpAtomRightAssign;
 1063|     27|                else {
 1064|     27|                    ungetch();
 1065|     27|                    return PpAtomRight;
 1066|     27|                }
 1067|  22.9k|            } else if (ch == '=') {
  ------------------
  |  Branch (1067:24): [True: 7, False: 22.9k]
  ------------------
 1068|      7|                return PpAtomGE;
 1069|  22.9k|            } else {
 1070|  22.9k|                ungetch();
 1071|  22.9k|                return '>';
 1072|  22.9k|            }
 1073|  9.70k|        case '.':
  ------------------
  |  Branch (1073:9): [True: 9.70k, False: 3.72M]
  ------------------
 1074|  9.70k|            ch = getch();
 1075|  9.70k|            if (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (1075:17): [True: 1.92k, False: 7.78k]
  |  Branch (1075:30): [True: 975, False: 950]
  ------------------
 1076|    975|                ungetch();
 1077|    975|                return pp->lFloatConst(0, '.', ppToken);
 1078|  8.73k|            } else {
 1079|  8.73k|                ungetch();
 1080|  8.73k|                return '.';
 1081|  8.73k|            }
 1082|   242k|        case '/':
  ------------------
  |  Branch (1082:9): [True: 242k, False: 3.49M]
  ------------------
 1083|   242k|            ch = getch();
 1084|   242k|            if (ch == '/') {
  ------------------
  |  Branch (1084:17): [True: 19.1k, False: 222k]
  ------------------
 1085|  19.1k|                pp->inComment = true;
 1086|   232k|                do {
 1087|   232k|                    ch = getch();
 1088|   232k|                } while (ch != '\n' && ch != EndOfInput);
  ------------------
  |  Branch (1088:26): [True: 212k, False: 19.1k]
  |  Branch (1088:40): [True: 212k, False: 0]
  ------------------
 1089|  19.1k|                ppToken->space = true;
 1090|  19.1k|                pp->inComment = false;
 1091|       |
 1092|  19.1k|                return ch;
 1093|   222k|            } else if (ch == '*') {
  ------------------
  |  Branch (1093:24): [True: 1.08k, False: 221k]
  ------------------
 1094|  1.08k|                ch = getch();
 1095|  2.17k|                do {
 1096|   267k|                    while (ch != '*') {
  ------------------
  |  Branch (1096:28): [True: 265k, False: 2.17k]
  ------------------
 1097|   265k|                        if (ch == EndOfInput) {
  ------------------
  |  Branch (1097:29): [True: 4, False: 265k]
  ------------------
 1098|      4|                            pp->parseContext.ppError(ppToken->loc, "End of input in comment", "comment", "");
 1099|      4|                            return ch;
 1100|      4|                        }
 1101|   265k|                        ch = getch();
 1102|   265k|                    }
 1103|  2.17k|                    ch = getch();
 1104|  2.17k|                    if (ch == EndOfInput) {
  ------------------
  |  Branch (1104:25): [True: 0, False: 2.17k]
  ------------------
 1105|      0|                        pp->parseContext.ppError(ppToken->loc, "End of input in comment", "comment", "");
 1106|      0|                        return ch;
 1107|      0|                    }
 1108|  2.17k|                } while (ch != '/');
  ------------------
  |  Branch (1108:26): [True: 1.08k, False: 1.08k]
  ------------------
 1109|  1.08k|                ppToken->space = true;
 1110|       |                // loop again to get the next token...
 1111|  1.08k|                break;
 1112|   221k|            } else if (ch == '=') {
  ------------------
  |  Branch (1112:24): [True: 0, False: 221k]
  ------------------
 1113|      0|                return PPAtomDivAssign;
 1114|   221k|            } else {
 1115|   221k|                ungetch();
 1116|   221k|                return '/';
 1117|   221k|            }
 1118|      0|            break;
 1119|      9|        case '\'':
  ------------------
  |  Branch (1119:9): [True: 9, False: 3.73M]
  ------------------
 1120|      9|            return pp->characterLiteral(ppToken);
 1121|     27|        case '"':
  ------------------
  |  Branch (1121:9): [True: 27, False: 3.73M]
  ------------------
 1122|       |            // #include uses scanHeaderName() to ignore these escape sequences.
 1123|     27|            ch = getch();
 1124|    414|            while (ch != '"' && ch != '\n' && ch != EndOfInput) {
  ------------------
  |  Branch (1124:20): [True: 389, False: 25]
  |  Branch (1124:33): [True: 387, False: 2]
  |  Branch (1124:47): [True: 387, False: 0]
  ------------------
 1125|    387|                if (len < MaxTokenLength) {
  ------------------
  |  Branch (1125:21): [True: 387, False: 0]
  ------------------
 1126|    387|                    if (ch == '\\' && !pp->disableEscapeSequences) {
  ------------------
  |  Branch (1126:25): [True: 0, False: 387]
  |  Branch (1126:39): [True: 0, False: 0]
  ------------------
 1127|      0|                        int nextCh = getch();
 1128|      0|                        switch (nextCh) {
 1129|      0|                        case '\'': ch = 0x27; break;
  ------------------
  |  Branch (1129:25): [True: 0, False: 0]
  ------------------
 1130|      0|                        case '"':  ch = 0x22; break;
  ------------------
  |  Branch (1130:25): [True: 0, False: 0]
  ------------------
 1131|      0|                        case '?':  ch = 0x3f; break;
  ------------------
  |  Branch (1131:25): [True: 0, False: 0]
  ------------------
 1132|      0|                        case '\\': ch = 0x5c; break;
  ------------------
  |  Branch (1132:25): [True: 0, False: 0]
  ------------------
 1133|      0|                        case 'a':  ch = 0x07; break;
  ------------------
  |  Branch (1133:25): [True: 0, False: 0]
  ------------------
 1134|      0|                        case 'b':  ch = 0x08; break;
  ------------------
  |  Branch (1134:25): [True: 0, False: 0]
  ------------------
 1135|      0|                        case 'f':  ch = 0x0c; break;
  ------------------
  |  Branch (1135:25): [True: 0, False: 0]
  ------------------
 1136|      0|                        case 'n':  ch = 0x0a; break;
  ------------------
  |  Branch (1136:25): [True: 0, False: 0]
  ------------------
 1137|      0|                        case 'r':  ch = 0x0d; break;
  ------------------
  |  Branch (1137:25): [True: 0, False: 0]
  ------------------
 1138|      0|                        case 't':  ch = 0x09; break;
  ------------------
  |  Branch (1138:25): [True: 0, False: 0]
  ------------------
 1139|      0|                        case 'v':  ch = 0x0b; break;
  ------------------
  |  Branch (1139:25): [True: 0, False: 0]
  ------------------
 1140|      0|                        case 'x': 
  ------------------
  |  Branch (1140:25): [True: 0, False: 0]
  ------------------
 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: 0]
  ------------------
 1167|      0|                        case '1':
  ------------------
  |  Branch (1167:25): [True: 0, False: 0]
  ------------------
 1168|      0|                        case '2':
  ------------------
  |  Branch (1168:25): [True: 0, False: 0]
  ------------------
 1169|      0|                        case '3':
  ------------------
  |  Branch (1169:25): [True: 0, False: 0]
  ------------------
 1170|      0|                        case '4':
  ------------------
  |  Branch (1170:25): [True: 0, False: 0]
  ------------------
 1171|      0|                        case '5':
  ------------------
  |  Branch (1171:25): [True: 0, False: 0]
  ------------------
 1172|      0|                        case '6':
  ------------------
  |  Branch (1172:25): [True: 0, False: 0]
  ------------------
 1173|      0|                        case '7':
  ------------------
  |  Branch (1173:25): [True: 0, False: 0]
  ------------------
 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|      0|                        default:
  ------------------
  |  Branch (1191:25): [True: 0, False: 0]
  ------------------
 1192|      0|                            pp->parseContext.ppError(ppToken->loc, "Invalid escape sequence", "string", "");
 1193|      0|                            break;
 1194|      0|                        }
 1195|      0|                    }
 1196|    387|                    ppToken->name[len] = (char)ch;
 1197|    387|                    len++;
 1198|    387|                    ch = getch();
 1199|    387|                } else
 1200|      0|                    break;
 1201|    387|            };
 1202|     27|            ppToken->name[len] = '\0';
 1203|     27|            if (ch != '"') {
  ------------------
  |  Branch (1203:17): [True: 2, False: 25]
  ------------------
 1204|      2|                ungetch();
 1205|      2|                pp->parseContext.ppError(ppToken->loc, "End of line in string", "string", "");
 1206|      2|            }
 1207|     27|            return PpAtomConstString;
 1208|  5.32k|        case ':':
  ------------------
  |  Branch (1208:9): [True: 5.32k, False: 3.73M]
  ------------------
 1209|  5.32k|            ch = getch();
 1210|  5.32k|            if (ch == ':')
  ------------------
  |  Branch (1210:17): [True: 163, False: 5.16k]
  ------------------
 1211|    163|                return PpAtomColonColon;
 1212|  5.16k|            ungetch();
 1213|  5.16k|            return ':';
 1214|  3.73M|        }
 1215|       |
 1216|  1.08k|        ch = getch();
 1217|  1.08k|    }
 1218|  3.73M|}
_ZN7glslang10TPpContext8tokenizeERNS_8TPpTokenE:
 1227|  2.22M|{
 1228|  2.22M|    int stringifyDepth = 0;
 1229|  2.22M|    TPpToken stringifiedToken; // Tokens are appended to this as they come in
 1230|  2.42M|    for (;;) {
 1231|  2.42M|        int token = scanToken(&ppToken);
 1232|       |
 1233|       |        // Handle token-pasting logic
 1234|  2.42M|        token = tokenPaste(token, ppToken);
 1235|       |
 1236|  2.42M|        if (token == EndOfInput) {
  ------------------
  |  Branch (1236:13): [True: 335, False: 2.42M]
  ------------------
 1237|    335|            missingEndifCheck();
 1238|    335|            return EndOfInput;
 1239|    335|        }
 1240|  2.42M|        if (token == '#') {
  ------------------
  |  Branch (1240:13): [True: 7.41k, False: 2.42M]
  ------------------
 1241|  7.41k|            if (previous_token == '\n') {
  ------------------
  |  Branch (1241:17): [True: 7.41k, False: 0]
  ------------------
 1242|  7.41k|                token = readCPPline(&ppToken);
 1243|  7.41k|                if (token == EndOfInput) {
  ------------------
  |  Branch (1243:21): [True: 66, False: 7.35k]
  ------------------
 1244|     66|                    missingEndifCheck();
 1245|     66|                    return EndOfInput;
 1246|     66|                }
 1247|  7.35k|                continue;
 1248|  7.41k|            } else {
 1249|      0|                parseContext.ppError(ppToken.loc, "preprocessor directive cannot be preceded by another token", "#", "");
 1250|      0|                return EndOfInput;
 1251|      0|            }
 1252|  7.41k|        }
 1253|  2.42M|        previous_token = token;
 1254|       |
 1255|  2.42M|        if (token == '\n')
  ------------------
  |  Branch (1255:13): [True: 194k, False: 2.22M]
  ------------------
 1256|   194k|            continue;
 1257|       |
 1258|  2.22M|        if (token == tStringifyLevelInput::PUSH) {
  ------------------
  |  Branch (1258:13): [True: 0, False: 2.22M]
  ------------------
 1259|      0|            stringifyDepth++;
 1260|      0|            continue;
 1261|      0|        }
 1262|  2.22M|        if (token == tStringifyLevelInput::POP) {
  ------------------
  |  Branch (1262:13): [True: 0, False: 2.22M]
  ------------------
 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|  2.22M|        if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (1273:13): [True: 1.17M, False: 1.05M]
  ------------------
 1274|  1.17M|            switch (MacroExpand(&ppToken, false, true)) {
  ------------------
  |  Branch (1274:21): [True: 1.17M, False: 0]
  ------------------
 1275|  1.17M|            case MacroExpandNotStarted:
  ------------------
  |  Branch (1275:13): [True: 1.17M, False: 2]
  ------------------
 1276|  1.17M|                break;
 1277|      1|            case MacroExpandError:
  ------------------
  |  Branch (1277:13): [True: 1, False: 1.17M]
  ------------------
 1278|      1|                return EndOfInput;
 1279|      1|            case MacroExpandStarted:
  ------------------
  |  Branch (1279:13): [True: 1, False: 1.17M]
  ------------------
 1280|      1|            case MacroExpandUndef:
  ------------------
  |  Branch (1280:13): [True: 0, False: 1.17M]
  ------------------
 1281|      1|                continue;
 1282|  1.17M|            }
 1283|  1.17M|        }
 1284|       |
 1285|  2.22M|        bool needStringSupport = ifdepth == 0 && (token == PpAtomConstString || stringifyDepth > 0);
  ------------------
  |  Branch (1285:34): [True: 2.22M, False: 2]
  |  Branch (1285:51): [True: 0, False: 2.22M]
  |  Branch (1285:81): [True: 0, False: 2.22M]
  ------------------
 1286|  2.22M|        if (needStringSupport && parseContext.intermediate.getSource() != EShSourceHlsl) {
  ------------------
  |  Branch (1286:13): [True: 0, False: 2.22M]
  |  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|  2.22M|        switch (token) {
 1299|      0|        case PpAtomConstString:
  ------------------
  |  Branch (1299:9): [True: 0, False: 2.22M]
  ------------------
 1300|      0|            break;
 1301|  1.17M|        case PpAtomIdentifier:
  ------------------
  |  Branch (1301:9): [True: 1.17M, False: 1.05M]
  ------------------
 1302|  1.17M|        case PpAtomConstInt:
  ------------------
  |  Branch (1302:9): [True: 3.13k, False: 2.22M]
  ------------------
 1303|  1.17M|        case PpAtomConstUint:
  ------------------
  |  Branch (1303:9): [True: 433, False: 2.22M]
  ------------------
 1304|  1.17M|        case PpAtomConstFloat:
  ------------------
  |  Branch (1304:9): [True: 0, False: 2.22M]
  ------------------
 1305|  1.17M|        case PpAtomConstInt64:
  ------------------
  |  Branch (1305:9): [True: 0, False: 2.22M]
  ------------------
 1306|  1.17M|        case PpAtomConstUint64:
  ------------------
  |  Branch (1306:9): [True: 0, False: 2.22M]
  ------------------
 1307|  1.17M|        case PpAtomConstInt16:
  ------------------
  |  Branch (1307:9): [True: 0, False: 2.22M]
  ------------------
 1308|  1.17M|        case PpAtomConstUint16:
  ------------------
  |  Branch (1308:9): [True: 0, False: 2.22M]
  ------------------
 1309|  1.17M|        case PpAtomConstDouble:
  ------------------
  |  Branch (1309:9): [True: 0, False: 2.22M]
  ------------------
 1310|  1.17M|        case PpAtomConstFloat16:
  ------------------
  |  Branch (1310:9): [True: 0, False: 2.22M]
  ------------------
 1311|  1.17M|            if (ppToken.name[0] == '\0')
  ------------------
  |  Branch (1311:17): [True: 0, False: 1.17M]
  ------------------
 1312|      0|                continue;
 1313|  1.17M|            break;
 1314|  1.17M|        case '\'':
  ------------------
  |  Branch (1314:9): [True: 0, False: 2.22M]
  ------------------
 1315|      0|            parseContext.ppError(ppToken.loc, "character literals not supported", "\'", "");
 1316|      0|            continue;
 1317|  1.05M|        default:
  ------------------
  |  Branch (1317:9): [True: 1.05M, False: 1.17M]
  ------------------
 1318|  1.05M|            snprintf(ppToken.name, sizeof(ppToken.name), "%s", atomStrings.getString(token));
 1319|  1.05M|            break;
 1320|  2.22M|        }
 1321|  2.22M|        if (stringifyDepth > 0) {
  ------------------
  |  Branch (1321:13): [True: 0, False: 2.22M]
  ------------------
 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|  2.22M|        return token;
 1334|  2.22M|    }
 1335|  2.22M|}
_ZN7glslang10TPpContext10tokenPasteEiRNS_8TPpTokenE:
 1343|  2.42M|{
 1344|       |    // starting with ## is illegal, skip to next token
 1345|  2.42M|    if (token == PpAtomPaste) {
  ------------------
  |  Branch (1345:9): [True: 0, False: 2.42M]
  ------------------
 1346|      0|        parseContext.ppError(ppToken.loc, "unexpected location", "##", "");
 1347|      0|        return scanToken(&ppToken);
 1348|      0|    }
 1349|       |
 1350|  2.42M|    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|  2.42M|    while (peekPasting()) {
  ------------------
  |  Branch (1353:12): [True: 0, False: 2.42M]
  ------------------
 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|  2.42M|    return resultToken;
 1433|  2.42M|}
_ZN7glslang10TPpContext17missingEndifCheckEv:
 1437|    401|{
 1438|    401|    if (ifdepth > 0)
  ------------------
  |  Branch (1438:9): [True: 67, False: 334]
  ------------------
 1439|     67|        parseContext.ppError(parseContext.getCurrentLoc(), "missing #endif", "", "");
 1440|    401|}
PpScanner.cpp:_ZZN7glslang10TPpContext11lFloatConstEiiPNS_8TPpTokenEENK3$_0clEi:
  114|  9.75k|    const auto saveName = [&](int ch) {
  115|  9.75k|        if (len <= MaxTokenLength)
  ------------------
  |  Branch (115:13): [True: 9.75k, False: 0]
  ------------------
  116|  9.75k|            ppToken->name[len++] = static_cast<char>(ch);
  117|  9.75k|    };
PpScanner.cpp:_ZZN7glslang10TPpContext12tStringInput4scanEPNS_8TPpTokenEENK3$_0clEi:
  465|  46.9k|    const auto floatingPointChar = [&](int ch) { return ch == '.' || ch == 'e' || ch == 'E' ||
  ------------------
  |  Branch (465:57): [True: 47, False: 46.9k]
  |  Branch (465:70): [True: 1.21k, False: 45.7k]
  |  Branch (465:83): [True: 423, False: 45.2k]
  ------------------
  466|  45.2k|                                                                     ch == 'f' || ch == 'F' ||
  ------------------
  |  Branch (466:70): [True: 545, False: 44.7k]
  |  Branch (466:83): [True: 243, False: 44.5k]
  ------------------
  467|  44.5k|                                                                     ch == 'h' || ch == 'H'; };
  ------------------
  |  Branch (467:70): [True: 231, False: 44.2k]
  |  Branch (467:83): [True: 43, False: 44.2k]
  ------------------

_ZN7glslang10TPpContext11TokenStream8putTokenEiPNS_8TPpTokenE:
  102|  25.5k|{
  103|  25.5k|    TokenStream::Token streamToken(atom, *ppToken);
  104|  25.5k|    stream.push_back(streamToken);
  105|  25.5k|}
_ZN7glslang10TPpContext11TokenStream8getTokenERNS_17TParseContextBaseEPNS_8TPpTokenE:
  109|    432|{
  110|    432|    if (atEnd())
  ------------------
  |  Branch (110:9): [True: 0, False: 432]
  ------------------
  111|      0|        return EndOfInput;
  112|       |
  113|    432|    int atom = stream[currentPos++].get(*ppToken);
  114|    432|    ppToken->loc = parseContext.getCurrentLoc();
  115|       |
  116|    432|    return atom;
  117|    432|}
_ZN7glslang10TPpContext11TokenStream20peekTokenizedPastingEb:
  125|    432|{
  126|       |    // 1. preceding ##?
  127|       |
  128|    432|    size_t savePos = currentPos;
  129|       |    // skip white space
  130|    432|    while (peekToken(' '))
  ------------------
  |  Branch (130:12): [True: 0, False: 432]
  ------------------
  131|      0|        ++currentPos;
  132|    432|    if (peekToken(PpAtomPaste)) {
  ------------------
  |  Branch (132:9): [True: 0, False: 432]
  ------------------
  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|    432|    if (! lastTokenPastes) {
  ------------------
  |  Branch (139:9): [True: 432, False: 0]
  ------------------
  140|    432|        currentPos = savePos;
  141|    432|        return false;
  142|    432|    }
  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|    432|}

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

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

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

